diff --git a/404.html b/404.html index cb629dd..886a092 100644 --- a/404.html +++ b/404.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/001-intro/index.html b/core-react/001-intro/index.html index cb629dd..886a092 100644 --- a/core-react/001-intro/index.html +++ b/core-react/001-intro/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/002-quick-start/index.html b/core-react/002-quick-start/index.html index cb629dd..886a092 100644 --- a/core-react/002-quick-start/index.html +++ b/core-react/002-quick-start/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/003-schema/index.html b/core-react/003-schema/index.html index cb629dd..886a092 100644 --- a/core-react/003-schema/index.html +++ b/core-react/003-schema/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/100-layout/index.html b/core-react/100-layout/index.html index cb629dd..886a092 100644 --- a/core-react/100-layout/index.html +++ b/core-react/100-layout/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/101-item-layout/index.html b/core-react/101-item-layout/index.html index cb629dd..886a092 100644 --- a/core-react/101-item-layout/index.html +++ b/core-react/101-item-layout/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/102-prefix-cls/index.html b/core-react/102-prefix-cls/index.html index cb629dd..886a092 100644 --- a/core-react/102-prefix-cls/index.html +++ b/core-react/102-prefix-cls/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/200-change-event/index.html b/core-react/200-change-event/index.html index cb629dd..886a092 100644 --- a/core-react/200-change-event/index.html +++ b/core-react/200-change-event/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/210-relation/index.html b/core-react/210-relation/index.html index cb629dd..886a092 100644 --- a/core-react/210-relation/index.html +++ b/core-react/210-relation/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/220-renderer/index.html b/core-react/220-renderer/index.html index cb629dd..886a092 100644 --- a/core-react/220-renderer/index.html +++ b/core-react/220-renderer/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/221-renderer-object/index.html b/core-react/221-renderer-object/index.html index cb629dd..886a092 100644 --- a/core-react/221-renderer-object/index.html +++ b/core-react/221-renderer-object/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/222-renderer-array/index.html b/core-react/222-renderer-array/index.html index cb629dd..886a092 100644 --- a/core-react/222-renderer-array/index.html +++ b/core-react/222-renderer-array/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/223-validator/index.html b/core-react/223-validator/index.html index cb629dd..886a092 100644 --- a/core-react/223-validator/index.html +++ b/core-react/223-validator/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/230-global-status/index.html b/core-react/230-global-status/index.html index cb629dd..886a092 100644 --- a/core-react/230-global-status/index.html +++ b/core-react/230-global-status/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/250-scroll/index.html b/core-react/250-scroll/index.html index cb629dd..886a092 100644 --- a/core-react/250-scroll/index.html +++ b/core-react/250-scroll/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/280-open-api/index.html b/core-react/280-open-api/index.html index cb629dd..886a092 100644 --- a/core-react/280-open-api/index.html +++ b/core-react/280-open-api/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/300-default-value/index.html b/core-react/300-default-value/index.html index cb629dd..886a092 100644 --- a/core-react/300-default-value/index.html +++ b/core-react/300-default-value/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/600-catch-error-tips/index.html b/core-react/600-catch-error-tips/index.html index cb629dd..886a092 100644 --- a/core-react/600-catch-error-tips/index.html +++ b/core-react/600-catch-error-tips/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/700-locale/index.html b/core-react/700-locale/index.html index cb629dd..886a092 100644 --- a/core-react/700-locale/index.html +++ b/core-react/700-locale/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/800-api-reference/index.html b/core-react/800-api-reference/index.html index cb629dd..886a092 100644 --- a/core-react/800-api-reference/index.html +++ b/core-react/800-api-reference/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/890-benchmark/index.html b/core-react/890-benchmark/index.html index cb629dd..886a092 100644 --- a/core-react/890-benchmark/index.html +++ b/core-react/890-benchmark/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/900-dev-tool/index.html b/core-react/900-dev-tool/index.html index cb629dd..886a092 100644 --- a/core-react/900-dev-tool/index.html +++ b/core-react/900-dev-tool/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/910-playground/index.html b/core-react/910-playground/index.html index cb629dd..886a092 100644 --- a/core-react/910-playground/index.html +++ b/core-react/910-playground/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/930-traverse-schema/index.html b/core-react/930-traverse-schema/index.html index cb629dd..886a092 100644 --- a/core-react/930-traverse-schema/index.html +++ b/core-react/930-traverse-schema/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/931-schema-transform/index.html b/core-react/931-schema-transform/index.html index cb629dd..886a092 100644 --- a/core-react/931-schema-transform/index.html +++ b/core-react/931-schema-transform/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/950-async/index.html b/core-react/950-async/index.html index cb629dd..886a092 100644 --- a/core-react/950-async/index.html +++ b/core-react/950-async/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/951-controllable/index.html b/core-react/951-controllable/index.html index cb629dd..886a092 100644 --- a/core-react/951-controllable/index.html +++ b/core-react/951-controllable/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/952-multi-renderer-on-change/index.html b/core-react/952-multi-renderer-on-change/index.html index cb629dd..886a092 100644 --- a/core-react/952-multi-renderer-on-change/index.html +++ b/core-react/952-multi-renderer-on-change/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/core-react/953-disabled-component/index.html b/core-react/953-disabled-component/index.html index cb629dd..886a092 100644 --- a/core-react/953-disabled-component/index.html +++ b/core-react/953-disabled-component/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/001-intro/index.html b/form-render-react/001-intro/index.html index cb629dd..886a092 100644 --- a/form-render-react/001-intro/index.html +++ b/form-render-react/001-intro/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/100-item-layout/index.html b/form-render-react/100-item-layout/index.html index cb629dd..886a092 100644 --- a/form-render-react/100-item-layout/index.html +++ b/form-render-react/100-item-layout/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/200-label/index.html b/form-render-react/200-label/index.html index cb629dd..886a092 100644 --- a/form-render-react/200-label/index.html +++ b/form-render-react/200-label/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/300-actions/index.html b/form-render-react/300-actions/index.html index cb629dd..886a092 100644 --- a/form-render-react/300-actions/index.html +++ b/form-render-react/300-actions/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/500-builtin-renderers/index.html b/form-render-react/500-builtin-renderers/index.html index cb629dd..886a092 100644 --- a/form-render-react/500-builtin-renderers/index.html +++ b/form-render-react/500-builtin-renderers/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/700-locale/index.html b/form-render-react/700-locale/index.html index cb629dd..886a092 100644 --- a/form-render-react/700-locale/index.html +++ b/form-render-react/700-locale/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/800-api-reference/index.html b/form-render-react/800-api-reference/index.html index cb629dd..886a092 100644 --- a/form-render-react/800-api-reference/index.html +++ b/form-render-react/800-api-reference/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/850-position/index.html b/form-render-react/850-position/index.html index cb629dd..886a092 100644 --- a/form-render-react/850-position/index.html +++ b/form-render-react/850-position/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/851-steps/index.html b/form-render-react/851-steps/index.html index cb629dd..886a092 100644 --- a/form-render-react/851-steps/index.html +++ b/form-render-react/851-steps/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/880-relation-checkbox/index.html b/form-render-react/880-relation-checkbox/index.html index cb629dd..886a092 100644 --- a/form-render-react/880-relation-checkbox/index.html +++ b/form-render-react/880-relation-checkbox/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/881-relation-select-multiple/index.html b/form-render-react/881-relation-select-multiple/index.html index cb629dd..886a092 100644 --- a/form-render-react/881-relation-select-multiple/index.html +++ b/form-render-react/881-relation-select-multiple/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/890-benchmark/index.html b/form-render-react/890-benchmark/index.html index cb629dd..886a092 100644 --- a/form-render-react/890-benchmark/index.html +++ b/form-render-react/890-benchmark/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/900-renderers-warning/index.html b/form-render-react/900-renderers-warning/index.html index cb629dd..886a092 100644 --- a/form-render-react/900-renderers-warning/index.html +++ b/form-render-react/900-renderers-warning/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/form-render-react/901-label-vertical/index.html b/form-render-react/901-label-vertical/index.html index cb629dd..886a092 100644 --- a/form-render-react/901-label-vertical/index.html +++ b/form-render-react/901-label-vertical/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/index.html b/index.html index cb629dd..886a092 100644 --- a/index.html +++ b/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-react/001-intro/index.html b/search-react/001-intro/index.html index cb629dd..886a092 100644 --- a/search-react/001-intro/index.html +++ b/search-react/001-intro/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-react/300-actions/index.html b/search-react/300-actions/index.html index cb629dd..886a092 100644 --- a/search-react/300-actions/index.html +++ b/search-react/300-actions/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-react/700-locale/index.html b/search-react/700-locale/index.html index cb629dd..886a092 100644 --- a/search-react/700-locale/index.html +++ b/search-react/700-locale/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-react/800-api-reference/index.html b/search-react/800-api-reference/index.html index cb629dd..886a092 100644 --- a/search-react/800-api-reference/index.html +++ b/search-react/800-api-reference/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-react/850-category-title/index.html b/search-react/850-category-title/index.html index cb629dd..886a092 100644 --- a/search-react/850-category-title/index.html +++ b/search-react/850-category-title/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-table-react/001-intro/index.html b/search-table-react/001-intro/index.html index cb629dd..886a092 100644 --- a/search-table-react/001-intro/index.html +++ b/search-table-react/001-intro/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-table-react/010-table-actions/index.html b/search-table-react/010-table-actions/index.html index cb629dd..886a092 100644 --- a/search-table-react/010-table-actions/index.html +++ b/search-table-react/010-table-actions/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-table-react/020-table-height/index.html b/search-table-react/020-table-height/index.html index cb629dd..886a092 100644 --- a/search-table-react/020-table-height/index.html +++ b/search-table-react/020-table-height/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-table-react/030-table-summay/index.html b/search-table-react/030-table-summay/index.html index cb629dd..886a092 100644 --- a/search-table-react/030-table-summay/index.html +++ b/search-table-react/030-table-summay/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-table-react/040-table-sort/index.html b/search-table-react/040-table-sort/index.html index cb629dd..886a092 100644 --- a/search-table-react/040-table-sort/index.html +++ b/search-table-react/040-table-sort/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-table-react/050-tabs/index.html b/search-table-react/050-tabs/index.html index cb629dd..886a092 100644 --- a/search-table-react/050-tabs/index.html +++ b/search-table-react/050-tabs/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-table-react/060-value-type/index.html b/search-table-react/060-value-type/index.html index cb629dd..886a092 100644 --- a/search-table-react/060-value-type/index.html +++ b/search-table-react/060-value-type/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-table-react/100-columns-setting/index.html b/search-table-react/100-columns-setting/index.html index cb629dd..886a092 100644 --- a/search-table-react/100-columns-setting/index.html +++ b/search-table-react/100-columns-setting/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-table-react/800-api-reference/index.html b/search-table-react/800-api-reference/index.html index cb629dd..886a092 100644 --- a/search-table-react/800-api-reference/index.html +++ b/search-table-react/800-api-reference/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-table-react/801-open-api/index.html b/search-table-react/801-open-api/index.html index cb629dd..886a092 100644 --- a/search-table-react/801-open-api/index.html +++ b/search-table-react/801-open-api/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-table-react/900-table-editable/index.html b/search-table-react/900-table-editable/index.html index cb629dd..886a092 100644 --- a/search-table-react/900-table-editable/index.html +++ b/search-table-react/900-table-editable/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/search-table-react/910-no-search/index.html b/search-table-react/910-no-search/index.html index cb629dd..886a092 100644 --- a/search-table-react/910-no-search/index.html +++ b/search-table-react/910-no-search/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/umi.4fd7d961.js b/umi.c5101275.js similarity index 99% rename from umi.4fd7d961.js rename to umi.c5101275.js index 8acab34..7ef65fd 100644 --- a/umi.4fd7d961.js +++ b/umi.c5101275.js @@ -102,7 +102,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}}}}},p={title:"\u8054\u52A8 - SelectMultiple \u9009\u4E2D\u503C",toc:"content",filename:"examples/form-render-react/881-relation-select-multiple.md",lastUpdated:1720589953e3,group:{title:"\u6848\u4F8B\u96C6\u9526",order:881},description:"\u4E0E Checkbox \u6E32\u67D3\u5668\u4E00\u6837\uFF0C\u4E0D\u8FC7\u5B57\u6BB5\u540D\u662F selectedOptions\u3002"},v=[{id:"\u8054\u52A8---selectmultiple-\u9009\u4E2D\u503C",depth:1,title:"\u8054\u52A8 - SelectMultiple \u9009\u4E2D\u503C"},{id:"schema-\u65B9\u5F0F\u5B9E\u73B0",depth:2,title:"Schema \u65B9\u5F0F\u5B9E\u73B0"}],y=[{value:"\u4E0E Checkbox \u6E32\u67D3\u5668\u4E00\u6837\uFF0C\u4E0D\u8FC7\u5B57\u6BB5\u540D\u662F ",paraId:0,tocIndex:0},{value:"selectedOptions",paraId:0,tocIndex:0},{value:"\u3002",paraId:0,tocIndex:0},{value:"\u3010\u53EF\u9009\u57CE\u5E02\u3011\u4F9D\u8D56\u3010\u53EF\u9009\u57CE\u5E02\u8303\u56F4\u3011\u7684\u6570\u636E",paraId:1,tocIndex:1}],I={"examples-form-render-react-500-builtin-renderers-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=W.sent,ne=J.useState,oe=J.useMemo,W.next=7,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 7:return X=W.sent,k=X.Button,W.next=11,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 11:return _=W.sent,te=_.default,W.next=15,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 15:return Y=W.sent,Ie=Y.default,W.next=19,Promise.all([e.e(8104),e.e(7981)]).then(e.bind(e,57981));case 19:return D=W.sent,W.next=22,e.e(2095).then(e.bind(e,72095));case 22:return ee=W.sent,V=ee.default,ce=function(){var le=ne(!1),q=o()(le,2),xe=q[0],Ae=q[1],Se=ne(!1),ke=o()(Se,2),et=ke[0],dt=ke[1],gt=ne({Description:"\u7EAF\u5C55\u793A\u7684\u5185\u5BB9\u5427\u5566\u5427\u5566"}),Ut=o()(gt,2),Mt=Ut[0],Wt=Ut[1],ln=oe(function(){return{disable:function(){return r.createElement(k,{type:"dashed",onClick:function(){return Ae(!xe)}},xe?"\u53D6\u6D88":"\u8BBE\u4E3A"," disabled \u72B6\u6001")},readonly:function(){return r.createElement(k,{type:"dashed",onClick:function(){return dt(!et)}},et?"\u53D6\u6D88":"\u8BBE\u4E3A"," readonly \u72B6\u6001")}}},[et,xe]);return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(Ie,{rootClassName:D.builtinRenderers,labelWidth:230,schema:V,value:Mt,onChange:Wt,actions:["submit","reset","disable","readonly"],registerActions:ln,disabled:xe,readonly:et,readonlyPlaceholder:r.createElement("span",{style:{color:"#666",fontSize:14}},"-")}),r.createElement(te,{value:Mt}))},W.abrupt("return",{default:ce});case 26:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-500-builtin-renderers-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useMemo } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}}}}},p={title:"\u8054\u52A8 - SelectMultiple \u9009\u4E2D\u503C",toc:"content",filename:"examples/form-render-react/881-relation-select-multiple.md",lastUpdated:1720589953e3,group:{title:"\u6848\u4F8B\u96C6\u9526",order:881},description:"\u4E0E Checkbox \u6E32\u67D3\u5668\u4E00\u6837\uFF0C\u4E0D\u8FC7\u5B57\u6BB5\u540D\u662F selectedOptions\u3002"},v=[{id:"\u8054\u52A8---selectmultiple-\u9009\u4E2D\u503C",depth:1,title:"\u8054\u52A8 - SelectMultiple \u9009\u4E2D\u503C"},{id:"schema-\u65B9\u5F0F\u5B9E\u73B0",depth:2,title:"Schema \u65B9\u5F0F\u5B9E\u73B0"}],y=[{value:"\u4E0E Checkbox \u6E32\u67D3\u5668\u4E00\u6837\uFF0C\u4E0D\u8FC7\u5B57\u6BB5\u540D\u662F ",paraId:0,tocIndex:0},{value:"selectedOptions",paraId:0,tocIndex:0},{value:"\u3002",paraId:0,tocIndex:0},{value:"\u3010\u53EF\u9009\u57CE\u5E02\u3011\u4F9D\u8D56\u3010\u53EF\u9009\u57CE\u5E02\u8303\u56F4\u3011\u7684\u6570\u636E",paraId:1,tocIndex:1}],I={"examples-form-render-react-500-builtin-renderers-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=W.sent,ne=J.useState,oe=J.useMemo,W.next=7,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 7:return X=W.sent,k=X.Button,W.next=11,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 11:return _=W.sent,te=_.default,W.next=15,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 15:return Y=W.sent,Ie=Y.default,W.next=19,Promise.all([e.e(8104),e.e(7981)]).then(e.bind(e,57981));case 19:return D=W.sent,W.next=22,e.e(2095).then(e.bind(e,72095));case 22:return ee=W.sent,V=ee.default,ce=function(){var le=ne(!1),q=o()(le,2),xe=q[0],Ae=q[1],Se=ne(!1),ke=o()(Se,2),et=ke[0],dt=ke[1],gt=ne({Description:"\u7EAF\u5C55\u793A\u7684\u5185\u5BB9\u5427\u5566\u5427\u5566"}),Ut=o()(gt,2),Mt=Ut[0],Wt=Ut[1],ln=oe(function(){return{disable:function(){return r.createElement(k,{type:"dashed",onClick:function(){return Ae(!xe)}},xe?"\u53D6\u6D88":"\u8BBE\u4E3A"," disabled \u72B6\u6001")},readonly:function(){return r.createElement(k,{type:"dashed",onClick:function(){return dt(!et)}},et?"\u53D6\u6D88":"\u8BBE\u4E3A"," readonly \u72B6\u6001")}}},[et,xe]);return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(Ie,{rootClassName:D.builtinRenderers,labelWidth:230,schema:V,value:Mt,onChange:Wt,actions:["submit","reset","disable","readonly"],registerActions:ln,disabled:xe,readonly:et,readonlyPlaceholder:r.createElement("span",{style:{color:"#666",fontSize:14}},"-")}),r.createElement(te,{value:Mt}))},W.abrupt("return",{default:ce});case 26:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-500-builtin-renderers-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useMemo } from 'react' import { Button } from 'antd' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import FormRender from '@schema-render/form-render-react' @@ -155,7 +155,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"},"schemas/all.ts":{type:"FILE",value:e(1267).Z},"styles/index.ts":{type:"FILE",value:e(26199).Z}}}}},x={title:"\u5185\u7F6E\u6E32\u67D3\u5668 renderers",toc:"content",filename:"examples/form-render-react/500-builtin-renderers.md",lastUpdated:1706845892e3,order:500,description:"FormRender \u5185\u7F6E\u4E86\u5E38\u7528\u7684\u8868\u5355\u6E32\u67D3\u5668\u96C6\u5408"},S=[{id:"\u5185\u7F6E\u6E32\u67D3\u5668-renderers",depth:1,title:"\u5185\u7F6E\u6E32\u67D3\u5668 renderers"},{id:"\u516C\u5171\u533A",depth:2,title:"\u516C\u5171\u533A"},{id:"description",depth:2,title:"Description"},{id:"switchbox",depth:2,title:"SwitchBox"},{id:"checkbox",depth:2,title:"Checkbox"},{id:"selectmultiple",depth:2,title:"SelectMultiple"},{id:"datepicker",depth:2,title:"DatePicker"},{id:"daterangepicker",depth:2,title:"DateRangePicker"},{id:"object",depth:2,title:"Object"},{id:"objectnull",depth:2,title:"ObjectNull"}],T=[{value:"FormRender",paraId:0,tocIndex:0},{value:" \u5185\u7F6E\u4E86\u5E38\u7528\u7684\u8868\u5355\u6E32\u67D3\u5668\u96C6\u5408",paraId:0,tocIndex:0},{value:"\u5982\u65E0\u7279\u522B\u8BF4\u660E\uFF0C\u5185\u7F6E\u6E32\u67D3\u5668\u7684\u53C2\u6570\u53EF\u4EE5\u901A\u8FC7 ",paraId:1},{value:"schema.renderOptions",paraId:1},{value:" \u4F20\u9012\uFF0C\u5BF9\u5E94 ",paraId:1},{value:"Antd",paraId:1},{value:" \u7EC4\u4EF6\u7684\u53C2\u6570\u3002",paraId:1},{value:"\u53EA\u8BFB\u6001\u65F6\uFF0C\u591A\u9879\u9009\u62E9\u5668\u7684\u5185\u5BB9\u662F\u901A\u8FC7",paraId:2,tocIndex:1},{value:"\u9017\u53F7",paraId:2,tocIndex:1},{value:"\u62FC\u63A5\u5728\u4E00\u8D77\u7684\uFF0C\u53C2\u8003 ",paraId:2,tocIndex:1},{value:"locale",paraId:2,tocIndex:1},{value:" \u7684 ",paraId:2,tocIndex:1},{value:"FormRender.comma",paraId:2,tocIndex:1},{value:"\u3002",paraId:2,tocIndex:1},{value:"\u975E Antd Descriptions \u7EC4\u4EF6\uFF0C\u65E0\u5165\u53C2\uFF0C\u4EC5\u4F5C\u7EAF\u6570\u636E\u5C55\u793A\u3002",paraId:3,tocIndex:2},{value:"v1.4.0",paraId:4,tocIndex:2},{value:"FormRender v1.4.0 \u5F00\u59CB\u652F\u6301 SwitchBox \u6E32\u67D3\u5668\uFF0C\u901A\u8FC7 ",paraId:5,tocIndex:3},{value:"renderOptions.text",paraId:5,tocIndex:3},{value:" \u5B9A\u4E49\u63CF\u8FF0\u6587\u6848\u3002",paraId:5,tocIndex:3},{value:"onChange \u4E8B\u4EF6\u652F\u6301 ",paraId:6,tocIndex:4},{value:"extra.checkedOptions",paraId:6,tocIndex:4},{value:" \u53C2\u6570\uFF0C\u8868\u793A\u5F53\u524D\u9009\u4E2D\u7684 ",paraId:6,tocIndex:4},{value:"options",paraId:6,tocIndex:4},{value:" \u6570\u636E\u3002\u6848\u4F8B\u89C1",paraId:6,tocIndex:4},{value:"Checkbox \u9009\u4E2D\u503C\u8054\u52A8",paraId:7,tocIndex:4},{value:"\u3002",paraId:6,tocIndex:4},{value:"v1.4.0",paraId:8,tocIndex:4},{value:"onChange \u4E8B\u4EF6\u652F\u6301 ",paraId:9,tocIndex:5},{value:"extra.selectedOptions",paraId:9,tocIndex:5},{value:" \u53C2\u6570\uFF0C\u8868\u793A\u5F53\u524D\u9009\u4E2D\u7684 ",paraId:9,tocIndex:5},{value:"options",paraId:9,tocIndex:5},{value:" \u6570\u636E\u3002",paraId:9,tocIndex:5},{value:"v1.4.0",paraId:10,tocIndex:5},{value:"\u8FD4\u56DE ",paraId:11,tocIndex:6},{value:"ISOString",paraId:11,tocIndex:6},{value:" \u683C\u5F0F\u7684\u65E5\u671F\u503C\uFF0C\u8BE5\u503C\u53EF\u4EE5\u66F4\u597D\u7684\u652F\u6301\u8DE8\u65F6\u533A\u7684\u9700\u8981\u3002",paraId:11,tocIndex:6},{value:"\u8FD4\u56DE ISOString \u683C\u5F0F\u7684\u65E5\u671F\u503C\u3002",paraId:12,tocIndex:7},{value:"\u53EA\u8BFB\u6001\u65F6\uFF0C\u6587\u6848\u5C55\u793A\u53EF\u4EE5\u901A\u8FC7\u914D\u7F6E ",paraId:13,tocIndex:7},{value:"locale",paraId:13,tocIndex:7},{value:" \u7684 ",paraId:13,tocIndex:7},{value:"FormRender.displayDateRange",paraId:13,tocIndex:7},{value:" \u6765\u81EA\u5B9A\u4E49\u3002",paraId:13,tocIndex:7},{value:"renderOptions.headerOptions",paraId:14,tocIndex:8},{value:" \u53EF\u4EE5\u914D\u7F6E\u5BF9\u8C61\u5BB9\u5668\u5934\u90E8\u7684\u53C2\u6570\uFF0C\u5BF9\u5E94 Antd ",paraId:14,tocIndex:8},{value:"Collapse",paraId:14,tocIndex:8},{value:" \u7EC4\u4EF6\u53C2\u6570\u3002",paraId:14,tocIndex:8},{value:"renderOptions.panelOptions",paraId:14,tocIndex:8},{value:" \u53EF\u4EE5\u914D\u7F6E\u5BF9\u8C61\u5BB9\u5668\u5185\u5BB9\u9762\u677F\u7684\u53C2\u6570\uFF0C\u5BF9\u5E94 Antd ",paraId:14,tocIndex:8},{value:"Collapse.Panel",paraId:14,tocIndex:8},{value:" \u7EC4\u4EF6\u53C2\u6570\u3002",paraId:14,tocIndex:8},{value:"\u53EA\u6E32\u67D3\u5B50\u8282\u70B9\u7684\u5BF9\u8C61\u5BB9\u5668\uFF0C\u5E94\u7528\u573A\u666F\uFF1A\u6B65\u9AA4\u8868\u5355\u3002",paraId:15,tocIndex:9},{value:"\u63A5\u53D7 ",paraId:16,tocIndex:9},{value:"className",paraId:16,tocIndex:9},{value:" \u548C ",paraId:16,tocIndex:9},{value:"style",paraId:16,tocIndex:9},{value:" \u5C5E\u6027\u3002",paraId:16,tocIndex:9}],O=e(57213),C=e.n(O),$={"examples-form-render-react-880-relation-checkbox-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useState,oe=J.useRef,L.next=7,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 7:return X=L.sent,k=X.default,L.next=11,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 11:return _=L.sent,te=_.default,L.next=15,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 15:return Y=L.sent,Ie=Y.Select,D={component:function(B){var le,q=B.schema,xe=B.value,Ae=B.disabled,Se=B.validator,ke=B.onChange,et=B.userCtx,dt=et.cityList||((le=q.renderOptions)===null||le===void 0?void 0:le.options);return r.createElement(Ie,C()(C()({allowClear:!0,style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9".concat(q.title)},q.renderOptions),{},{options:dt,status:Se.status,mode:void 0,value:xe,onChange:function(Ut){return ke(Ut)},disabled:Ae}))}},ee={renderType:"Root",properties:{cities:{title:"\u8BBE\u7F6E\u53EF\u9009\u57CE\u5E02\u8303\u56F4",renderType:"Checkbox",renderOptions:{options:[{label:"\u6210\u90FD",value:"chengdu"},{label:"\u676D\u5DDE",value:"hangzhou"},{label:"\u6DF1\u5733",value:"shenzhen"},{label:"\u5317\u4EAC",value:"beijing"}]}},available_cities:{title:"\u8BBE\u7F6E\u53EF\u9009\u57CE\u5E02",renderType:"AvailableCities"}}},V=function(){var B=ne({}),le=o()(B,2),q=le[0],xe=le[1],Ae=oe({});return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(te,{labelWidth:180,actions:[],schema:ee,value:q,onChange:xe,renderers:{AvailableCities:D},watch:{cities:function(ke,et){Ae.current.cityList=et.extra.checkedOptions,et.value.includes(ke.available_cities)||(ke.available_cities=void 0)}},userCtx:Ae.current}),r.createElement(k,{value:q}))},L.abrupt("return",{default:V});case 21:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-880-relation-checkbox-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"},"schemas/all.ts":{type:"FILE",value:e(1267).Z},"styles/index.ts":{type:"FILE",value:e(26199).Z}}}}},x={title:"\u5185\u7F6E\u6E32\u67D3\u5668 renderers",toc:"content",filename:"examples/form-render-react/500-builtin-renderers.md",lastUpdated:1706845892e3,order:500,description:"FormRender \u5185\u7F6E\u4E86\u5E38\u7528\u7684\u8868\u5355\u6E32\u67D3\u5668\u96C6\u5408"},S=[{id:"\u5185\u7F6E\u6E32\u67D3\u5668-renderers",depth:1,title:"\u5185\u7F6E\u6E32\u67D3\u5668 renderers"},{id:"\u516C\u5171\u533A",depth:2,title:"\u516C\u5171\u533A"},{id:"description",depth:2,title:"Description"},{id:"switchbox",depth:2,title:"SwitchBox"},{id:"checkbox",depth:2,title:"Checkbox"},{id:"selectmultiple",depth:2,title:"SelectMultiple"},{id:"datepicker",depth:2,title:"DatePicker"},{id:"daterangepicker",depth:2,title:"DateRangePicker"},{id:"object",depth:2,title:"Object"},{id:"objectnull",depth:2,title:"ObjectNull"}],T=[{value:"FormRender",paraId:0,tocIndex:0},{value:" \u5185\u7F6E\u4E86\u5E38\u7528\u7684\u8868\u5355\u6E32\u67D3\u5668\u96C6\u5408",paraId:0,tocIndex:0},{value:"\u5982\u65E0\u7279\u522B\u8BF4\u660E\uFF0C\u5185\u7F6E\u6E32\u67D3\u5668\u7684\u53C2\u6570\u53EF\u4EE5\u901A\u8FC7 ",paraId:1},{value:"schema.renderOptions",paraId:1},{value:" \u4F20\u9012\uFF0C\u5BF9\u5E94 ",paraId:1},{value:"Antd",paraId:1},{value:" \u7EC4\u4EF6\u7684\u53C2\u6570\u3002",paraId:1},{value:"\u53EA\u8BFB\u6001\u65F6\uFF0C\u591A\u9879\u9009\u62E9\u5668\u7684\u5185\u5BB9\u662F\u901A\u8FC7",paraId:2,tocIndex:1},{value:"\u9017\u53F7",paraId:2,tocIndex:1},{value:"\u62FC\u63A5\u5728\u4E00\u8D77\u7684\uFF0C\u53C2\u8003 ",paraId:2,tocIndex:1},{value:"locale",paraId:2,tocIndex:1},{value:" \u7684 ",paraId:2,tocIndex:1},{value:"FormRender.comma",paraId:2,tocIndex:1},{value:"\u3002",paraId:2,tocIndex:1},{value:"\u975E Antd Descriptions \u7EC4\u4EF6\uFF0C\u65E0\u5165\u53C2\uFF0C\u4EC5\u4F5C\u7EAF\u6570\u636E\u5C55\u793A\u3002",paraId:3,tocIndex:2},{value:"v1.4.0",paraId:4,tocIndex:2},{value:"FormRender v1.4.0 \u5F00\u59CB\u652F\u6301 SwitchBox \u6E32\u67D3\u5668\uFF0C\u901A\u8FC7 ",paraId:5,tocIndex:3},{value:"renderOptions.text",paraId:5,tocIndex:3},{value:" \u5B9A\u4E49\u63CF\u8FF0\u6587\u6848\u3002",paraId:5,tocIndex:3},{value:"onChange \u4E8B\u4EF6\u652F\u6301 ",paraId:6,tocIndex:4},{value:"extra.checkedOptions",paraId:6,tocIndex:4},{value:" \u53C2\u6570\uFF0C\u8868\u793A\u5F53\u524D\u9009\u4E2D\u7684 ",paraId:6,tocIndex:4},{value:"options",paraId:6,tocIndex:4},{value:" \u6570\u636E\u3002\u6848\u4F8B\u89C1",paraId:6,tocIndex:4},{value:"Checkbox \u9009\u4E2D\u503C\u8054\u52A8",paraId:7,tocIndex:4},{value:"\u3002",paraId:6,tocIndex:4},{value:"v1.4.0",paraId:8,tocIndex:4},{value:"onChange \u4E8B\u4EF6\u652F\u6301 ",paraId:9,tocIndex:5},{value:"extra.selectedOptions",paraId:9,tocIndex:5},{value:" \u53C2\u6570\uFF0C\u8868\u793A\u5F53\u524D\u9009\u4E2D\u7684 ",paraId:9,tocIndex:5},{value:"options",paraId:9,tocIndex:5},{value:" \u6570\u636E\u3002",paraId:9,tocIndex:5},{value:"v1.4.0",paraId:10,tocIndex:5},{value:"\u8FD4\u56DE ",paraId:11,tocIndex:6},{value:"ISOString",paraId:11,tocIndex:6},{value:" \u683C\u5F0F\u7684\u65E5\u671F\u503C\uFF0C\u8BE5\u503C\u53EF\u4EE5\u66F4\u597D\u7684\u652F\u6301\u8DE8\u65F6\u533A\u7684\u9700\u8981\u3002",paraId:11,tocIndex:6},{value:"\u8FD4\u56DE ISOString \u683C\u5F0F\u7684\u65E5\u671F\u503C\u3002",paraId:12,tocIndex:7},{value:"\u53EA\u8BFB\u6001\u65F6\uFF0C\u6587\u6848\u5C55\u793A\u53EF\u4EE5\u901A\u8FC7\u914D\u7F6E ",paraId:13,tocIndex:7},{value:"locale",paraId:13,tocIndex:7},{value:" \u7684 ",paraId:13,tocIndex:7},{value:"FormRender.displayDateRange",paraId:13,tocIndex:7},{value:" \u6765\u81EA\u5B9A\u4E49\u3002",paraId:13,tocIndex:7},{value:"renderOptions.headerOptions",paraId:14,tocIndex:8},{value:" \u53EF\u4EE5\u914D\u7F6E\u5BF9\u8C61\u5BB9\u5668\u5934\u90E8\u7684\u53C2\u6570\uFF0C\u5BF9\u5E94 Antd ",paraId:14,tocIndex:8},{value:"Collapse",paraId:14,tocIndex:8},{value:" \u7EC4\u4EF6\u53C2\u6570\u3002",paraId:14,tocIndex:8},{value:"renderOptions.panelOptions",paraId:14,tocIndex:8},{value:" \u53EF\u4EE5\u914D\u7F6E\u5BF9\u8C61\u5BB9\u5668\u5185\u5BB9\u9762\u677F\u7684\u53C2\u6570\uFF0C\u5BF9\u5E94 Antd ",paraId:14,tocIndex:8},{value:"Collapse.Panel",paraId:14,tocIndex:8},{value:" \u7EC4\u4EF6\u53C2\u6570\u3002",paraId:14,tocIndex:8},{value:"\u53EA\u6E32\u67D3\u5B50\u8282\u70B9\u7684\u5BF9\u8C61\u5BB9\u5668\uFF0C\u5E94\u7528\u573A\u666F\uFF1A\u6B65\u9AA4\u8868\u5355\u3002",paraId:15,tocIndex:9},{value:"\u63A5\u53D7 ",paraId:16,tocIndex:9},{value:"className",paraId:16,tocIndex:9},{value:" \u548C ",paraId:16,tocIndex:9},{value:"style",paraId:16,tocIndex:9},{value:" \u5C5E\u6027\u3002",paraId:16,tocIndex:9}],O=e(57213),C=e.n(O),$={"examples-form-render-react-880-relation-checkbox-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useState,oe=J.useRef,L.next=7,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 7:return X=L.sent,k=X.default,L.next=11,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 11:return _=L.sent,te=_.default,L.next=15,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 15:return Y=L.sent,Ie=Y.Select,D={component:function(B){var le,q=B.schema,xe=B.value,Ae=B.disabled,Se=B.validator,ke=B.onChange,et=B.userCtx,dt=et.cityList||((le=q.renderOptions)===null||le===void 0?void 0:le.options);return r.createElement(Ie,C()(C()({allowClear:!0,style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9".concat(q.title)},q.renderOptions),{},{options:dt,status:Se.status,mode:void 0,value:xe,onChange:function(Ut){return ke(Ut)},disabled:Ae}))}},ee={renderType:"Root",properties:{cities:{title:"\u8BBE\u7F6E\u53EF\u9009\u57CE\u5E02\u8303\u56F4",renderType:"Checkbox",renderOptions:{options:[{label:"\u6210\u90FD",value:"chengdu"},{label:"\u676D\u5DDE",value:"hangzhou"},{label:"\u6DF1\u5733",value:"shenzhen"},{label:"\u5317\u4EAC",value:"beijing"}]}},available_cities:{title:"\u8BBE\u7F6E\u53EF\u9009\u57CE\u5E02",renderType:"AvailableCities"}}},V=function(){var B=ne({}),le=o()(B,2),q=le[0],xe=le[1],Ae=oe({});return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(te,{labelWidth:180,actions:[],schema:ee,value:q,onChange:xe,renderers:{AvailableCities:D},watch:{cities:function(ke,et){Ae.current.cityList=et.extra.checkedOptions,et.value.includes(ke.available_cities)||(ke.available_cities=void 0)}},userCtx:Ae.current}),r.createElement(k,{value:q}))},L.abrupt("return",{default:V});case 21:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-880-relation-checkbox-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import FormRender from '@schema-render/form-render-react' import { Select } from 'antd' @@ -240,7 +240,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"},antd:{type:"NPM",value:"5.9.0"}}}},"examples-form-render-react-880-relation-checkbox-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=D.sent,ne=J.useState,D.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{cities:{title:"\u8BBE\u7F6E\u53EF\u9009\u57CE\u5E02\u8303\u56F4",renderType:"Checkbox",renderOptions:{options:[{label:"\u6210\u90FD",value:"chengdu"},{label:"\u676D\u5DDE",value:"hangzhou"},{label:"\u6DF1\u5733",value:"shenzhen"},{label:"\u5317\u4EAC",value:"beijing"}]}},available_cities:{title:"\u8BBE\u7F6E\u53EF\u9009\u57CE\u5E02",renderType:"Select",renderOptions:{}}}},Y=function(){var V=ne({}),ce=o()(V,2),L=ce[0],W=ce[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{labelWidth:180,actions:[],schema:te,value:L,onChange:W,watch:{cities:function(le,q){te.properties.available_cities.renderOptions.options=q.extra.checkedOptions,q.value.includes(le.available_cities)||(le.available_cities=void 0)}}}),r.createElement(X,{value:L}))},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-880-relation-checkbox-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"},antd:{type:"NPM",value:"5.9.0"}}}},"examples-form-render-react-880-relation-checkbox-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=D.sent,ne=J.useState,D.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{cities:{title:"\u8BBE\u7F6E\u53EF\u9009\u57CE\u5E02\u8303\u56F4",renderType:"Checkbox",renderOptions:{options:[{label:"\u6210\u90FD",value:"chengdu"},{label:"\u676D\u5DDE",value:"hangzhou"},{label:"\u6DF1\u5733",value:"shenzhen"},{label:"\u5317\u4EAC",value:"beijing"}]}},available_cities:{title:"\u8BBE\u7F6E\u53EF\u9009\u57CE\u5E02",renderType:"Select",renderOptions:{}}}},Y=function(){var V=ne({}),ce=o()(V,2),L=ce[0],W=ce[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{labelWidth:180,actions:[],schema:te,value:L,onChange:W,watch:{cities:function(le,q){te.properties.available_cities.renderOptions.options=q.extra.checkedOptions,q.value.includes(le.available_cities)||(le.available_cities=void 0)}}}),r.createElement(X,{value:L}))},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-880-relation-checkbox-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import FormRender from '@schema-render/form-render-react' @@ -296,7 +296,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}}}}},M={title:"\u8054\u52A8 - Checkbox \u9009\u4E2D\u503C",toc:"content",filename:"examples/form-render-react/880-relation-checkbox.md",lastUpdated:1720589953e3,group:{title:"\u6848\u4F8B\u96C6\u9526",order:880},description:"\u67D0\u4E2A\u8868\u5355\u9879\u9009\u4E2D\u540E\u7684\u503C\u8054\u52A8\u5230\u5176\u4ED6\u8868\u5355\u9879\u4F7F\u7528\uFF0C\u6709\u4E24\u79CD\u65B9\u5F0F"},z=[{id:"\u8054\u52A8---checkbox-\u9009\u4E2D\u503C",depth:1,title:"\u8054\u52A8 - Checkbox \u9009\u4E2D\u503C"},{id:"\u81EA\u5B9A\u4E49\u6E32\u67D3\u5668\u5B9E\u73B0",depth:2,title:"\u81EA\u5B9A\u4E49\u6E32\u67D3\u5668\u5B9E\u73B0"},{id:"schema-\u65B9\u5F0F\u5B9E\u73B0",depth:2,title:"Schema \u65B9\u5F0F\u5B9E\u73B0"}],R=[{value:"\u67D0\u4E2A\u8868\u5355\u9879\u9009\u4E2D\u540E\u7684\u503C\u8054\u52A8\u5230\u5176\u4ED6\u8868\u5355\u9879\u4F7F\u7528\uFF0C\u6709\u4E24\u79CD\u65B9\u5F0F",paraId:0,tocIndex:0},{value:"\u901A\u8FC7 ",paraId:1,tocIndex:0},{value:"\u81EA\u5B9A\u4E49\u6E32\u67D3\u5668",paraId:1,tocIndex:0},{value:" + ",paraId:1,tocIndex:0},{value:"userCtx",paraId:1,tocIndex:0},{value:" \u5B9E\u73B0",paraId:1,tocIndex:0},{value:"\u901A\u8FC7\u4FEE\u6539 ",paraId:1,tocIndex:0},{value:"Schema",paraId:1,tocIndex:0},{value:" \u7684 ",paraId:1,tocIndex:0},{value:"renderOptions",paraId:1,tocIndex:0},{value:" \u5C5E\u6027\u5B9E\u73B0",paraId:1,tocIndex:0},{value:"\u3010\u53EF\u9009\u57CE\u5E02\u3011\u4F9D\u8D56\u3010\u53EF\u9009\u57CE\u5E02\u8303\u56F4\u3011\u7684\u6570\u636E",paraId:2,tocIndex:1},{value:"\u3010\u53EF\u9009\u57CE\u5E02\u3011\u4F9D\u8D56\u3010\u53EF\u9009\u57CE\u5E02\u8303\u56F4\u3011\u7684\u6570\u636E",paraId:3,tocIndex:2}],F={"examples-form-render-react-900-renderers-warning-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=D.sent,ne=J.useState,D.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},Y=function(){var V=ne({}),ce=o()(V,2),L=ce[0],W=ce[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{schema:te,value:L,onChange:W}),r.createElement(X,{value:L}))},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-900-renderers-warning-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}}}}},M={title:"\u8054\u52A8 - Checkbox \u9009\u4E2D\u503C",toc:"content",filename:"examples/form-render-react/880-relation-checkbox.md",lastUpdated:1720589953e3,group:{title:"\u6848\u4F8B\u96C6\u9526",order:880},description:"\u67D0\u4E2A\u8868\u5355\u9879\u9009\u4E2D\u540E\u7684\u503C\u8054\u52A8\u5230\u5176\u4ED6\u8868\u5355\u9879\u4F7F\u7528\uFF0C\u6709\u4E24\u79CD\u65B9\u5F0F"},z=[{id:"\u8054\u52A8---checkbox-\u9009\u4E2D\u503C",depth:1,title:"\u8054\u52A8 - Checkbox \u9009\u4E2D\u503C"},{id:"\u81EA\u5B9A\u4E49\u6E32\u67D3\u5668\u5B9E\u73B0",depth:2,title:"\u81EA\u5B9A\u4E49\u6E32\u67D3\u5668\u5B9E\u73B0"},{id:"schema-\u65B9\u5F0F\u5B9E\u73B0",depth:2,title:"Schema \u65B9\u5F0F\u5B9E\u73B0"}],R=[{value:"\u67D0\u4E2A\u8868\u5355\u9879\u9009\u4E2D\u540E\u7684\u503C\u8054\u52A8\u5230\u5176\u4ED6\u8868\u5355\u9879\u4F7F\u7528\uFF0C\u6709\u4E24\u79CD\u65B9\u5F0F",paraId:0,tocIndex:0},{value:"\u901A\u8FC7 ",paraId:1,tocIndex:0},{value:"\u81EA\u5B9A\u4E49\u6E32\u67D3\u5668",paraId:1,tocIndex:0},{value:" + ",paraId:1,tocIndex:0},{value:"userCtx",paraId:1,tocIndex:0},{value:" \u5B9E\u73B0",paraId:1,tocIndex:0},{value:"\u901A\u8FC7\u4FEE\u6539 ",paraId:1,tocIndex:0},{value:"Schema",paraId:1,tocIndex:0},{value:" \u7684 ",paraId:1,tocIndex:0},{value:"renderOptions",paraId:1,tocIndex:0},{value:" \u5C5E\u6027\u5B9E\u73B0",paraId:1,tocIndex:0},{value:"\u3010\u53EF\u9009\u57CE\u5E02\u3011\u4F9D\u8D56\u3010\u53EF\u9009\u57CE\u5E02\u8303\u56F4\u3011\u7684\u6570\u636E",paraId:2,tocIndex:1},{value:"\u3010\u53EF\u9009\u57CE\u5E02\u3011\u4F9D\u8D56\u3010\u53EF\u9009\u57CE\u5E02\u8303\u56F4\u3011\u7684\u6570\u636E",paraId:3,tocIndex:2}],F={"examples-form-render-react-900-renderers-warning-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=D.sent,ne=J.useState,D.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},Y=function(){var V=ne({}),ce=o()(V,2),L=ce[0],W=ce[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{schema:te,value:L,onChange:W}),r.createElement(X,{value:L}))},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-900-renderers-warning-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import FormRender from '@schema-render/form-render-react' @@ -327,7 +327,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}}}}},K={title:"\u6E32\u67D3\u5668\u6821\u9A8C\u72B6\u6001\u6837\u5F0F",toc:"content",filename:"examples/form-render-react/900-renderers-warning.md",lastUpdated:1704082387e3,group:{title:"\u4EC5\u5F00\u53D1\u8C03\u8BD5",order:900},debug:!0},ge=[{id:"\u6E32\u67D3\u5668\u6821\u9A8C\u72B6\u6001\u6837\u5F0F",depth:1,title:"\u6E32\u67D3\u5668\u6821\u9A8C\u72B6\u6001\u6837\u5F0F"}],de=[],me={"examples-core-react-952-multi-renderer-on-change-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=B.sent,ne=J.default,B.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=B.sent,X=oe.default,B.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=B.sent,_=k.default,B.next=14,Promise.resolve().then(e.t.bind(e,50959,19));case 14:return te=B.sent,Y=te.useState,Ie=te.useEffect,B.next=19,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 19:return D=B.sent,ee=D.Input,V={InputOrg:{component:function(q){var xe,Ae=q.schema,Se=q.value,ke=q.rootValue,et=q.onChange;return console.log("==== InputOrg ===="),console.log("value:",Se),console.log("rootValue:",ke),Ie(function(){et("\u673A\u6784 A")},[]),r.createElement(ee,{placeholder:"\u8BF7\u8F93\u5165".concat((xe=Ae.title)!==null&&xe!==void 0?xe:""),value:Se!=null?Se:"",onChange:function(gt){return et(gt.target.value)}})}},InputSupplier:{component:function(q){var xe,Ae=q.schema,Se=q.value,ke=q.rootValue,et=q.onChange;return console.log("==== InputSupplier ===="),console.log("value:",Se),console.log("rootValue:",ke),Ie(function(){et("\u4F9B\u5E94\u5546 A")},[]),r.createElement(ee,{placeholder:"\u8BF7\u8F93\u5165".concat((xe=Ae.title)!==null&&xe!==void 0?xe:""),value:Se!=null?Se:"",onChange:function(gt){return et(gt.target.value)}})}},InputBill:{component:function(q){var xe,Ae=q.schema,Se=q.value,ke=q.rootValue,et=q.onChange;return console.log("==== InputBill ===="),console.log("value:",Se),console.log("rootValue:",ke),Ie(function(){setTimeout(function(){et("\u5355\u53F7 A")},10)},[]),r.createElement(ee,{placeholder:"\u8BF7\u8F93\u5165".concat((xe=Ae.title)!==null&&xe!==void 0?xe:""),value:Se!=null?Se:"",onChange:function(gt){return et(gt.target.value)}})}}},ce={renderType:"Root",properties:{org:{title:"\u673A\u6784\u540D\u79F0",renderType:"InputOrg"},supplier:{title:"\u4F9B\u5E94\u5546\u540D\u79F0",renderType:"InputSupplier"},bill_no:{title:"\u5355\u636E\u7F16\u53F7",renderType:"InputBill"}}},L=function(){var q=Y({}),xe=o()(q,2),Ae=xe[0],Se=xe[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ce,itemLayout:_,renderers:V,value:Ae,onChange:function(et,dt){console.log("***** updateBy ".concat(dt.sPath," *****")),console.log("value:",et),console.log("e:",dt),Se(et)}}),r.createElement(ne,{value:Ae}))},B.abrupt("return",{default:L});case 25:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-952-multi-renderer-on-change-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}}}}},K={title:"\u6E32\u67D3\u5668\u6821\u9A8C\u72B6\u6001\u6837\u5F0F",toc:"content",filename:"examples/form-render-react/900-renderers-warning.md",lastUpdated:1704082387e3,group:{title:"\u4EC5\u5F00\u53D1\u8C03\u8BD5",order:900},debug:!0},ge=[{id:"\u6E32\u67D3\u5668\u6821\u9A8C\u72B6\u6001\u6837\u5F0F",depth:1,title:"\u6E32\u67D3\u5668\u6821\u9A8C\u72B6\u6001\u6837\u5F0F"}],de=[],me={"examples-core-react-952-multi-renderer-on-change-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=B.sent,ne=J.default,B.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=B.sent,X=oe.default,B.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=B.sent,_=k.default,B.next=14,Promise.resolve().then(e.t.bind(e,50959,19));case 14:return te=B.sent,Y=te.useState,Ie=te.useEffect,B.next=19,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 19:return D=B.sent,ee=D.Input,V={InputOrg:{component:function(q){var xe,Ae=q.schema,Se=q.value,ke=q.rootValue,et=q.onChange;return console.log("==== InputOrg ===="),console.log("value:",Se),console.log("rootValue:",ke),Ie(function(){et("\u673A\u6784 A")},[]),r.createElement(ee,{placeholder:"\u8BF7\u8F93\u5165".concat((xe=Ae.title)!==null&&xe!==void 0?xe:""),value:Se!=null?Se:"",onChange:function(gt){return et(gt.target.value)}})}},InputSupplier:{component:function(q){var xe,Ae=q.schema,Se=q.value,ke=q.rootValue,et=q.onChange;return console.log("==== InputSupplier ===="),console.log("value:",Se),console.log("rootValue:",ke),Ie(function(){et("\u4F9B\u5E94\u5546 A")},[]),r.createElement(ee,{placeholder:"\u8BF7\u8F93\u5165".concat((xe=Ae.title)!==null&&xe!==void 0?xe:""),value:Se!=null?Se:"",onChange:function(gt){return et(gt.target.value)}})}},InputBill:{component:function(q){var xe,Ae=q.schema,Se=q.value,ke=q.rootValue,et=q.onChange;return console.log("==== InputBill ===="),console.log("value:",Se),console.log("rootValue:",ke),Ie(function(){setTimeout(function(){et("\u5355\u53F7 A")},10)},[]),r.createElement(ee,{placeholder:"\u8BF7\u8F93\u5165".concat((xe=Ae.title)!==null&&xe!==void 0?xe:""),value:Se!=null?Se:"",onChange:function(gt){return et(gt.target.value)}})}}},ce={renderType:"Root",properties:{org:{title:"\u673A\u6784\u540D\u79F0",renderType:"InputOrg"},supplier:{title:"\u4F9B\u5E94\u5546\u540D\u79F0",renderType:"InputSupplier"},bill_no:{title:"\u5355\u636E\u7F16\u53F7",renderType:"InputBill"}}},L=function(){var q=Y({}),xe=o()(q,2),Ae=xe[0],Se=xe[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ce,itemLayout:_,renderers:V,value:Ae,onChange:function(et,dt){console.log("***** updateBy ".concat(dt.sPath," *****")),console.log("value:",et),console.log("e:",dt),Se(et)}}),r.createElement(ne,{value:Ae}))},B.abrupt("return",{default:L});case 25:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-952-multi-renderer-on-change-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import Core from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import { useState, useEffect } from 'react' @@ -437,7 +437,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},De={title:"\u591A\u6E32\u67D3\u5668\u5185\u90E8 onChange \u521D\u59CB\u5316\u503C",toc:"content",filename:"examples/core-react/952-multi-renderer-onChange.md",lastUpdated:1704082387e3,group:{title:"\u4EC5\u5F00\u53D1\u8C03\u8BD5"},debug:!0,description:"\u591A\u4E2A\u6E32\u67D3\u5668\u5185\u90E8\u540C\u65F6\u5728 useEffect \u5185\u8C03\u7528 onChange \u65B9\u6CD5\u66F4\u65B0\uFF08\u521D\u59CB\u5316\uFF09\u6570\u636E\uFF0Cvalue \u503C\u9700\u8981\u662F\u6700\u65B0\u7684"},Ze=[{id:"\u591A\u6E32\u67D3\u5668\u5185\u90E8-onchange-\u521D\u59CB\u5316\u503C",depth:1,title:"\u591A\u6E32\u67D3\u5668\u5185\u90E8 onChange \u521D\u59CB\u5316\u503C"}],We=[{value:"\u591A\u4E2A\u6E32\u67D3\u5668\u5185\u90E8\u540C\u65F6\u5728 ",paraId:0,tocIndex:0},{value:"useEffect",paraId:0,tocIndex:0},{value:" \u5185\u8C03\u7528 ",paraId:0,tocIndex:0},{value:"onChange",paraId:0,tocIndex:0},{value:" \u65B9\u6CD5\u66F4\u65B0\uFF08\u521D\u59CB\u5316\uFF09\u6570\u636E\uFF0Cvalue \u503C\u9700\u8981\u662F\u6700\u65B0\u7684",paraId:0,tocIndex:0}],be={"examples-search-table-react-100-columns-setting-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee;return a()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=ce.sent,ne=J.sleep,ce.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=ce.sent,X=oe.default,ce.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=ce.sent,_=k.default,ce.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=ce.sent,Y=te.default,ce.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=ce.sent,D=Ie.default,ee=function(){return r.createElement(D,{search:{schema:X},title:{showSetting:!0},table:{columns:_,showRowNumber:!0,actionItems:function(){return[{text:"\u7F16\u8F91"},{text:"\u8BE6\u60C5"}]}},request:function(){var W=c()(a()().mark(function le(q){var xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,ne();case 2:return xe=Y(q.pageSize),Se.abrupt("return",{data:xe,total:100});case 4:case"end":return Se.stop()}},le)}));function B(le){return W.apply(this,arguments)}return B}()})},ce.abrupt("return",{default:ee});case 22:case"end":return ce.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-100-columns-setting-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' +export default Demo`},root:{type:"NPM"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},De={title:"\u591A\u6E32\u67D3\u5668\u5185\u90E8 onChange \u521D\u59CB\u5316\u503C",toc:"content",filename:"examples/core-react/952-multi-renderer-onChange.md",lastUpdated:1704082387e3,group:{title:"\u4EC5\u5F00\u53D1\u8C03\u8BD5"},debug:!0,description:"\u591A\u4E2A\u6E32\u67D3\u5668\u5185\u90E8\u540C\u65F6\u5728 useEffect \u5185\u8C03\u7528 onChange \u65B9\u6CD5\u66F4\u65B0\uFF08\u521D\u59CB\u5316\uFF09\u6570\u636E\uFF0Cvalue \u503C\u9700\u8981\u662F\u6700\u65B0\u7684"},Ze=[{id:"\u591A\u6E32\u67D3\u5668\u5185\u90E8-onchange-\u521D\u59CB\u5316\u503C",depth:1,title:"\u591A\u6E32\u67D3\u5668\u5185\u90E8 onChange \u521D\u59CB\u5316\u503C"}],We=[{value:"\u591A\u4E2A\u6E32\u67D3\u5668\u5185\u90E8\u540C\u65F6\u5728 ",paraId:0,tocIndex:0},{value:"useEffect",paraId:0,tocIndex:0},{value:" \u5185\u8C03\u7528 ",paraId:0,tocIndex:0},{value:"onChange",paraId:0,tocIndex:0},{value:" \u65B9\u6CD5\u66F4\u65B0\uFF08\u521D\u59CB\u5316\uFF09\u6570\u636E\uFF0Cvalue \u503C\u9700\u8981\u662F\u6700\u65B0\u7684",paraId:0,tocIndex:0}],be={"examples-search-table-react-100-columns-setting-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee;return a()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=ce.sent,ne=J.sleep,ce.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=ce.sent,X=oe.default,ce.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=ce.sent,_=k.default,ce.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=ce.sent,Y=te.default,ce.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=ce.sent,D=Ie.default,ee=function(){return r.createElement(D,{search:{schema:X},title:{showSetting:!0},table:{columns:_,showRowNumber:!0,actionItems:function(){return[{text:"\u7F16\u8F91"},{text:"\u8BE6\u60C5"}]}},request:function(){var W=c()(a()().mark(function le(q){var xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,ne();case 2:return xe=Y(q.pageSize),Se.abrupt("return",{data:xe,total:100});case 4:case"end":return Se.stop()}},le)}));function B(le){return W.apply(this,arguments)}return B}()})},ce.abrupt("return",{default:ee});case 22:case"end":return ce.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-100-columns-setting-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' import createDataSource from './helpers/createDataSource' @@ -465,7 +465,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-100-columns-setting-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=L.sent,ne=J.sleep,L.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=L.sent,X=oe.default,L.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=L.sent,_=k.default,L.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=L.sent,D=Ie.default,ee=_.map(function(W,B){var le=C()({},W);return B===0?le.fixed="left":B===_.length-1&&(le.fixed="right"),le}),V=function(){return r.createElement(D,{search:{schema:X},title:{showSetting:!0},table:{columns:ee,showRowNumber:!0,actionItems:function(){return[{text:"\u7F16\u8F91"},{text:"\u8BE6\u60C5"}]}},request:function(){var B=c()(a()().mark(function q(xe){var Ae;return a()().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ke.next=2,ne();case 2:return Ae=Y(xe.pageSize),ke.abrupt("return",{data:Ae,total:100});case 4:case"end":return ke.stop()}},q)}));function le(q){return B.apply(this,arguments)}return le}()})},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-100-columns-setting-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' +export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-100-columns-setting-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=L.sent,ne=J.sleep,L.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=L.sent,X=oe.default,L.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=L.sent,_=k.default,L.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=L.sent,D=Ie.default,ee=_.map(function(W,B){var le=C()({},W);return B===0?le.fixed="left":B===_.length-1&&(le.fixed="right"),le}),V=function(){return r.createElement(D,{search:{schema:X},title:{showSetting:!0},table:{columns:ee,showRowNumber:!0,actionItems:function(){return[{text:"\u7F16\u8F91"},{text:"\u8BE6\u60C5"}]}},request:function(){var B=c()(a()().mark(function q(xe){var Ae;return a()().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ke.next=2,ne();case 2:return Ae=Y(xe.pageSize),ke.abrupt("return",{data:Ae,total:100});case 4:case"end":return ke.stop()}},q)}));function le(q){return B.apply(this,arguments)}return le}()})},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-100-columns-setting-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' import createDataSource from './helpers/createDataSource' @@ -506,7 +506,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z}}}},"examples-search-table-react-100-columns-setting-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q;return a()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=Ae.sent,ne=J.useState,Ae.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=Ae.sent,X=oe.sleep,Ae.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=Ae.sent,_=k.default,Ae.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=Ae.sent,Y=te.default,Ae.next=18,e.e(9762).then(e.bind(e,39762));case 18:return Ie=Ae.sent,D=Ie.default,Ae.next=22,e.e(184).then(e.bind(e,60184));case 22:return ee=Ae.sent,V=ee.default,Ae.next=26,e.e(5016).then(e.bind(e,35016));case 26:return ce=Ae.sent,L=ce.default,Ae.next=30,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 30:return W=Ae.sent,B=W.default,le=[{key:"1",label:"\u5206\u7C7B\u4E00"},{key:"2",label:"\u5206\u7C7B\u4E8C"}],q=function(){var ke=ne("1"),et=o()(ke,2),dt=et[0],gt=et[1];return r.createElement(B,{search:{schema:_},title:{showSetting:!0,tabs:{activeKey:dt,items:le,onChange:gt}},table:{columns:dt==="1"?Y:D,showRowNumber:!0,actionItems:function(){return[{text:"\u7F16\u8F91"},{text:"\u8BE6\u60C5"}]}},request:function(){var Ut=c()(a()().mark(function Wt(ln){var un,nn;return a()().wrap(function(Un){for(;;)switch(Un.prev=Un.next){case 0:return Un.next=2,X();case 2:return un=dt==="1"?V:L,nn=un(ln.pageSize),Un.abrupt("return",{data:nn,total:100});case 5:case"end":return Un.stop()}},Wt)}));function Mt(Wt){return Ut.apply(this,arguments)}return Mt}()})},Ae.abrupt("return",{default:q});case 35:case"end":return Ae.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-100-columns-setting-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-100-columns-setting-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q;return a()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=Ae.sent,ne=J.useState,Ae.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=Ae.sent,X=oe.sleep,Ae.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=Ae.sent,_=k.default,Ae.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=Ae.sent,Y=te.default,Ae.next=18,e.e(9762).then(e.bind(e,39762));case 18:return Ie=Ae.sent,D=Ie.default,Ae.next=22,e.e(184).then(e.bind(e,60184));case 22:return ee=Ae.sent,V=ee.default,Ae.next=26,e.e(5016).then(e.bind(e,35016));case 26:return ce=Ae.sent,L=ce.default,Ae.next=30,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 30:return W=Ae.sent,B=W.default,le=[{key:"1",label:"\u5206\u7C7B\u4E00"},{key:"2",label:"\u5206\u7C7B\u4E8C"}],q=function(){var ke=ne("1"),et=o()(ke,2),dt=et[0],gt=et[1];return r.createElement(B,{search:{schema:_},title:{showSetting:!0,tabs:{activeKey:dt,items:le,onChange:gt}},table:{columns:dt==="1"?Y:D,showRowNumber:!0,actionItems:function(){return[{text:"\u7F16\u8F91"},{text:"\u8BE6\u60C5"}]}},request:function(){var Ut=c()(a()().mark(function Wt(ln){var un,nn;return a()().wrap(function(Un){for(;;)switch(Un.prev=Un.next){case 0:return Un.next=2,X();case 2:return un=dt==="1"?V:L,nn=un(ln.pageSize),Un.abrupt("return",{data:nn,total:100});case 5:case"end":return Un.stop()}},Wt)}));function Mt(Wt){return Ut.apply(this,arguments)}return Mt}()})},Ae.abrupt("return",{default:q});case 35:case"end":return Ae.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-100-columns-setting-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' @@ -550,7 +550,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/createDataSource-vt.ts":{type:"FILE",value:e(26423).Z},"helpers/columns-value-type.ts":{type:"FILE",value:e(53846).Z},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-100-columns-setting-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W;return a()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=le.sent,ne=J.useRef,le.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=le.sent,X=oe.sleep,le.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=le.sent,_=k.default,le.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=le.sent,Y=te.default,le.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=le.sent,D=Ie.default,le.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=le.sent,V=ee.default,le.next=26,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 26:return ce=le.sent,L=ce.Button,W=function(){var xe=ne(null),Ae=function(){var ke;(ke=xe.current)===null||ke===void 0||ke.openSortModal()};return r.createElement(V,{ref:xe,search:{schema:_},titleTop:function(){return r.createElement(L,{type:"primary",onClick:Ae},"\u6253\u5F00\u5217\u8BBE\u7F6E")},table:{columns:Y,showRowNumber:!0,actionItems:function(){return[{text:"\u7F16\u8F91"},{text:"\u8BE6\u60C5"}]}},request:function(){var Se=c()(a()().mark(function et(dt){var gt;return a()().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return Mt.next=2,X();case 2:return gt=D(dt.pageSize),Mt.abrupt("return",{data:gt,total:100});case 4:case"end":return Mt.stop()}},et)}));function ke(et){return Se.apply(this,arguments)}return ke}()})},le.abrupt("return",{default:W});case 30:case"end":return le.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-100-columns-setting-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useRef } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/createDataSource-vt.ts":{type:"FILE",value:e(26423).Z},"helpers/columns-value-type.ts":{type:"FILE",value:e(53846).Z},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-100-columns-setting-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W;return a()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=le.sent,ne=J.useRef,le.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=le.sent,X=oe.sleep,le.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=le.sent,_=k.default,le.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=le.sent,Y=te.default,le.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=le.sent,D=Ie.default,le.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=le.sent,V=ee.default,le.next=26,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 26:return ce=le.sent,L=ce.Button,W=function(){var xe=ne(null),Ae=function(){var ke;(ke=xe.current)===null||ke===void 0||ke.openSortModal()};return r.createElement(V,{ref:xe,search:{schema:_},titleTop:function(){return r.createElement(L,{type:"primary",onClick:Ae},"\u6253\u5F00\u5217\u8BBE\u7F6E")},table:{columns:Y,showRowNumber:!0,actionItems:function(){return[{text:"\u7F16\u8F91"},{text:"\u8BE6\u60C5"}]}},request:function(){var Se=c()(a()().mark(function et(dt){var gt;return a()().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return Mt.next=2,X();case 2:return gt=D(dt.pageSize),Mt.abrupt("return",{data:gt,total:100});case 4:case"end":return Mt.stop()}},et)}));function ke(et){return Se.apply(this,arguments)}return ke}()})},le.abrupt("return",{default:W});case 30:case"end":return le.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-100-columns-setting-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useRef } from 'react' import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' @@ -590,7 +590,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},antd:{type:"NPM",value:"5.9.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}}},ue={title:"\u5217\u914D\u7F6E Columns Setting",toc:"content",filename:"examples/search-table-react/100-columns-setting.md",lastUpdated:1720589953e3,order:100,description:"\u6253\u5F00 showSetting \u5C5E\u6027\u5C06\u5F00\u542F\u5217\u8BBE\u7F6E\uFF0C\u9ED8\u8BA4\u89E6\u53D1\u6309\u94AE\u5728\u6807\u9898\u680F\u6700\u53F3\u4FA7\u3002"},se=[{id:"\u5217\u914D\u7F6E-columns-setting",depth:1,title:"\u5217\u914D\u7F6E Columns Setting"},{id:"\u57FA\u7840",depth:2,title:"\u57FA\u7840"},{id:"\u56FA\u5B9A\u5217",depth:2,title:"\u56FA\u5B9A\u5217"},{id:"\u6807\u7B7E\u9875\u573A\u666F",depth:2,title:"\u6807\u7B7E\u9875\u573A\u666F"},{id:"\u81EA\u5B9A\u4E49\u89E6\u53D1\u6309\u94AE",depth:2,title:"\u81EA\u5B9A\u4E49\u89E6\u53D1\u6309\u94AE"}],H=[{value:"\u6253\u5F00 ",paraId:0,tocIndex:1},{value:"showSetting",paraId:0,tocIndex:1},{value:" \u5C5E\u6027\u5C06\u5F00\u542F\u5217\u8BBE\u7F6E\uFF0C\u9ED8\u8BA4\u89E6\u53D1\u6309\u94AE\u5728\u6807\u9898\u680F\u6700\u53F3\u4FA7\u3002",paraId:0,tocIndex:1},{value:"\u56FA\u5B9A\u5217\u6392\u5E8F",paraId:1,tocIndex:2}],Q={"examples-search-table-react-900-table-editable-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q,xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=Se.sent,ne=J.useRef,Se.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=Se.sent,X=oe.sleep,Se.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=Se.sent,_=k.default,Se.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=Se.sent,Y=te.default,Se.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=Se.sent,D=Ie.default,Se.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 22:return ee=Se.sent,V=ee.ConfigProvider,Se.next=26,e.e(5471).then(e.bind(e,75471));case 26:return ce=Se.sent,L=ce.default,Se.next=30,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 30:return W=Se.sent,B=W.InputNumber,le=W.Button,q=W.message,xe=function(){var et=ne(null),dt=[{title:"\u5355\u636E\u7F16\u53F7",dataIndex:"bill_no",width:130},{title:"\u5355\u636E\u65E5\u671F",dataIndex:"bill_date",width:120},{title:"\u5355\u636E\u72B6\u6001",dataIndex:"bill_status"},{title:"\u5546\u54C1\u540D\u79F0",dataIndex:"goods_name",width:130},{title:"\u5546\u54C1\u4EF7\u683C(\u5143)",dataIndex:"goods_price",render:function(Mt,Wt){return r.createElement(B,{value:Mt,onChange:function(un){var nn;Wt.goods_price=un,(nn=et.current)===null||nn===void 0||nn.rerender()}})}},{title:"\u5546\u54C1\u7F16\u7801",dataIndex:"goods_code",width:130},{title:"\u5546\u54C1\u5206\u7C7B",dataIndex:"goods_category"},{title:"\u5546\u54C1\u65E5\u671F",dataIndex:"goods_date",width:120}],gt=function(){var Mt;console.log("dataSource:",(Mt=et.current)===null||Mt===void 0?void 0:Mt.getDataSource()),q.success("\u8BF7\u5728\u63A7\u5236\u53F0\u67E5\u770B\u4FEE\u6539\u540E\u7684\u6700\u65B0\u6570\u636E")};return r.createElement(V,{locale:L},r.createElement(D,{ref:et,search:{schema:_},table:{columns:dt},request:function(){var Ut=c()(a()().mark(function Wt(ln){var un;return a()().wrap(function(or){for(;;)switch(or.prev=or.next){case 0:return or.next=2,X();case 2:return un=Y(ln.pageSize),or.abrupt("return",{data:un,total:100});case 4:case"end":return or.stop()}},Wt)}));function Mt(Wt){return Ut.apply(this,arguments)}return Mt}()}),r.createElement(le,{type:"primary",onClick:gt},"\u63D0\u4EA4"))},Se.abrupt("return",{default:xe});case 36:case"end":return Se.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-900-table-editable-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useRef } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},antd:{type:"NPM",value:"5.9.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}}},ue={title:"\u5217\u914D\u7F6E Columns Setting",toc:"content",filename:"examples/search-table-react/100-columns-setting.md",lastUpdated:1720589953e3,order:100,description:"\u6253\u5F00 showSetting \u5C5E\u6027\u5C06\u5F00\u542F\u5217\u8BBE\u7F6E\uFF0C\u9ED8\u8BA4\u89E6\u53D1\u6309\u94AE\u5728\u6807\u9898\u680F\u6700\u53F3\u4FA7\u3002"},se=[{id:"\u5217\u914D\u7F6E-columns-setting",depth:1,title:"\u5217\u914D\u7F6E Columns Setting"},{id:"\u57FA\u7840",depth:2,title:"\u57FA\u7840"},{id:"\u56FA\u5B9A\u5217",depth:2,title:"\u56FA\u5B9A\u5217"},{id:"\u6807\u7B7E\u9875\u573A\u666F",depth:2,title:"\u6807\u7B7E\u9875\u573A\u666F"},{id:"\u81EA\u5B9A\u4E49\u89E6\u53D1\u6309\u94AE",depth:2,title:"\u81EA\u5B9A\u4E49\u89E6\u53D1\u6309\u94AE"}],H=[{value:"\u6253\u5F00 ",paraId:0,tocIndex:1},{value:"showSetting",paraId:0,tocIndex:1},{value:" \u5C5E\u6027\u5C06\u5F00\u542F\u5217\u8BBE\u7F6E\uFF0C\u9ED8\u8BA4\u89E6\u53D1\u6309\u94AE\u5728\u6807\u9898\u680F\u6700\u53F3\u4FA7\u3002",paraId:0,tocIndex:1},{value:"\u56FA\u5B9A\u5217\u6392\u5E8F",paraId:1,tocIndex:2}],Q={"examples-search-table-react-900-table-editable-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q,xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=Se.sent,ne=J.useRef,Se.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=Se.sent,X=oe.sleep,Se.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=Se.sent,_=k.default,Se.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=Se.sent,Y=te.default,Se.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=Se.sent,D=Ie.default,Se.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 22:return ee=Se.sent,V=ee.ConfigProvider,Se.next=26,e.e(5471).then(e.bind(e,75471));case 26:return ce=Se.sent,L=ce.default,Se.next=30,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 30:return W=Se.sent,B=W.InputNumber,le=W.Button,q=W.message,xe=function(){var et=ne(null),dt=[{title:"\u5355\u636E\u7F16\u53F7",dataIndex:"bill_no",width:130},{title:"\u5355\u636E\u65E5\u671F",dataIndex:"bill_date",width:120},{title:"\u5355\u636E\u72B6\u6001",dataIndex:"bill_status"},{title:"\u5546\u54C1\u540D\u79F0",dataIndex:"goods_name",width:130},{title:"\u5546\u54C1\u4EF7\u683C(\u5143)",dataIndex:"goods_price",render:function(Mt,Wt){return r.createElement(B,{value:Mt,onChange:function(un){var nn;Wt.goods_price=un,(nn=et.current)===null||nn===void 0||nn.rerender()}})}},{title:"\u5546\u54C1\u7F16\u7801",dataIndex:"goods_code",width:130},{title:"\u5546\u54C1\u5206\u7C7B",dataIndex:"goods_category"},{title:"\u5546\u54C1\u65E5\u671F",dataIndex:"goods_date",width:120}],gt=function(){var Mt;console.log("dataSource:",(Mt=et.current)===null||Mt===void 0?void 0:Mt.getDataSource()),q.success("\u8BF7\u5728\u63A7\u5236\u53F0\u67E5\u770B\u4FEE\u6539\u540E\u7684\u6700\u65B0\u6570\u636E")};return r.createElement(V,{locale:L},r.createElement(D,{ref:et,search:{schema:_},table:{columns:dt},request:function(){var Ut=c()(a()().mark(function Wt(ln){var un;return a()().wrap(function(or){for(;;)switch(or.prev=or.next){case 0:return or.next=2,X();case 2:return un=Y(ln.pageSize),or.abrupt("return",{data:un,total:100});case 4:case"end":return or.stop()}},Wt)}));function Mt(Wt){return Ut.apply(this,arguments)}return Mt}()}),r.createElement(le,{type:"primary",onClick:gt},"\u63D0\u4EA4"))},Se.abrupt("return",{default:xe});case 36:case"end":return Se.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-900-table-editable-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useRef } from 'react' import { sleep } from '@examples/utils' import schema from './helpers/schema' import createDataSource from './helpers/createDataSource' @@ -679,7 +679,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},antd:{type:"NPM",value:"5.9.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z}}}}},Ee={title:"\u8868\u683C\u5185\u5BB9\u7F16\u8F91",toc:"content",filename:"examples/search-table-react/900-table-editable.md",lastUpdated:1720589953e3,group:{title:"\u6848\u4F8B\u96C6\u9526",order:900}},P=[{id:"\u8868\u683C\u5185\u5BB9\u7F16\u8F91",depth:1,title:"\u8868\u683C\u5185\u5BB9\u7F16\u8F91"}],j=[],he={"examples-form-render-react-901-label-vertical-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=D.sent,ne=J.useState,D.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0},gender:{title:"\u6027\u522B",renderType:"Radio",renderOptions:{options:[{label:"\u7537",value:"male"},{label:"\u5973",value:"female"}]}}}},Y=function(){var V=ne({}),ce=o()(V,2),L=ce[0],W=ce[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{itemLayout:"vertical",labelColon:"\uFF1A",schema:te,value:L,onChange:W}),r.createElement(X,{value:L}))},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-901-label-vertical-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},antd:{type:"NPM",value:"5.9.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z}}}}},Ee={title:"\u8868\u683C\u5185\u5BB9\u7F16\u8F91",toc:"content",filename:"examples/search-table-react/900-table-editable.md",lastUpdated:1720589953e3,group:{title:"\u6848\u4F8B\u96C6\u9526",order:900}},P=[{id:"\u8868\u683C\u5185\u5BB9\u7F16\u8F91",depth:1,title:"\u8868\u683C\u5185\u5BB9\u7F16\u8F91"}],j=[],he={"examples-form-render-react-901-label-vertical-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=D.sent,ne=J.useState,D.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0},gender:{title:"\u6027\u522B",renderType:"Radio",renderOptions:{options:[{label:"\u7537",value:"male"},{label:"\u5973",value:"female"}]}}}},Y=function(){var V=ne({}),ce=o()(V,2),L=ce[0],W=ce[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{itemLayout:"vertical",labelColon:"\uFF1A",schema:te,value:L,onChange:W}),r.createElement(X,{value:L}))},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-901-label-vertical-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import FormRender from '@schema-render/form-render-react' @@ -726,7 +726,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}}}},"examples-form-render-react-901-label-vertical-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=W.sent,ne=J.useState,W.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=W.sent,X=oe.default,W.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=W.sent,_=k.default,W.next=14,Promise.all([e.e(1548),e.e(9752),e.e(1791)]).then(e.bind(e,1791));case 14:return te=W.sent,Y=te.QuestionCircleOutlined,W.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 18:return Ie=W.sent,D=Ie.Popover,ee={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0},gender:{title:"\u6027\u522B",renderType:"Radio",renderOptions:{options:[{label:"\u7537",value:"male"},{label:"\u5973",value:"female"}]}}}},V=function(le){var q=le.schema,xe=le.required,Ae=le.prefixClassNames;return r.createElement("div",null,q.title,!!q.titleDescription&&r.createElement(D,{placement:"top",trigger:"hover",content:q.titleDescription},r.createElement(Y,{className:Ae("item-title-tooltip"),style:{marginLeft:4}})),!xe&&" (\u53EF\u9009)")},ce=function(){var le=ne({}),q=o()(le,2),xe=q[0],Ae=q[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{itemLayout:"vertical",labelWidth:150,labelRender:V,schema:ee,value:xe,onChange:Ae}),r.createElement(X,{value:xe}))},W.abrupt("return",{default:ce});case 24:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-901-label-vertical-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}}}},"examples-form-render-react-901-label-vertical-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=W.sent,ne=J.useState,W.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=W.sent,X=oe.default,W.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=W.sent,_=k.default,W.next=14,Promise.all([e.e(1548),e.e(9752),e.e(1791)]).then(e.bind(e,1791));case 14:return te=W.sent,Y=te.QuestionCircleOutlined,W.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 18:return Ie=W.sent,D=Ie.Popover,ee={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0},gender:{title:"\u6027\u522B",renderType:"Radio",renderOptions:{options:[{label:"\u7537",value:"male"},{label:"\u5973",value:"female"}]}}}},V=function(le){var q=le.schema,xe=le.required,Ae=le.prefixClassNames;return r.createElement("div",null,q.title,!!q.titleDescription&&r.createElement(D,{placement:"top",trigger:"hover",content:q.titleDescription},r.createElement(Y,{className:Ae("item-title-tooltip"),style:{marginLeft:4}})),!xe&&" (\u53EF\u9009)")},ce=function(){var le=ne({}),q=o()(le,2),xe=q[0],Ae=q[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{itemLayout:"vertical",labelWidth:150,labelRender:V,schema:ee,value:xe,onChange:Ae}),r.createElement(X,{value:xe}))},W.abrupt("return",{default:ce});case 24:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-901-label-vertical-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import FormRender, { ILabelRender } from '@schema-render/form-render-react' import { QuestionCircleOutlined } from '@ant-design/icons' @@ -798,7 +798,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"},"@ant-design/icons":{type:"NPM",value:"5.0.1"},antd:{type:"NPM",value:"5.9.0"}}}}},Le={title:"\u6807\u9898\u8BBE\u7F6E label in Vertical",toc:"content",filename:"examples/form-render-react/901-label-vertical.md",lastUpdated:1704082387e3,group:{title:"\u4EC5\u5F00\u53D1\u8C03\u8BD5",order:901},debug:!0,description:"\u5192\u53F7\u8BBE\u7F6E"},ve=[{id:"\u6807\u9898\u8BBE\u7F6E-label-in-vertical",depth:1,title:"\u6807\u9898\u8BBE\u7F6E label in Vertical"},{id:"\u5192\u53F7\u8BBE\u7F6E",depth:2,title:"\u5192\u53F7\u8BBE\u7F6E"},{id:"\u81EA\u5B9A\u4E49\u6E32\u67D3",depth:2,title:"\u81EA\u5B9A\u4E49\u6E32\u67D3"}],b=[{value:"\u5192\u53F7\u8BBE\u7F6E",paraId:0,tocIndex:1}],G={"examples-search-table-react-010-table-actions-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee;return a()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=ce.sent,ne=J.sleep,ce.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=ce.sent,X=oe.default,ce.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=ce.sent,_=k.default,ce.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=ce.sent,Y=te.default,ce.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=ce.sent,D=Ie.default,ee=function(){return r.createElement(D,{search:{schema:X},table:{columns:_,showRowNumber:!0},request:function(){var W=c()(a()().mark(function le(q){var xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,ne();case 2:return xe=Y(q.pageSize),Se.abrupt("return",{data:xe,total:100});case 4:case"end":return Se.stop()}},le)}));function B(le){return W.apply(this,arguments)}return B}()})},ce.abrupt("return",{default:ee});case 22:case"end":return ce.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-010-table-actions-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"},"@ant-design/icons":{type:"NPM",value:"5.0.1"},antd:{type:"NPM",value:"5.9.0"}}}}},Le={title:"\u6807\u9898\u8BBE\u7F6E label in Vertical",toc:"content",filename:"examples/form-render-react/901-label-vertical.md",lastUpdated:1704082387e3,group:{title:"\u4EC5\u5F00\u53D1\u8C03\u8BD5",order:901},debug:!0,description:"\u5192\u53F7\u8BBE\u7F6E"},ve=[{id:"\u6807\u9898\u8BBE\u7F6E-label-in-vertical",depth:1,title:"\u6807\u9898\u8BBE\u7F6E label in Vertical"},{id:"\u5192\u53F7\u8BBE\u7F6E",depth:2,title:"\u5192\u53F7\u8BBE\u7F6E"},{id:"\u81EA\u5B9A\u4E49\u6E32\u67D3",depth:2,title:"\u81EA\u5B9A\u4E49\u6E32\u67D3"}],b=[{value:"\u5192\u53F7\u8BBE\u7F6E",paraId:0,tocIndex:1}],G={"examples-search-table-react-010-table-actions-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee;return a()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=ce.sent,ne=J.sleep,ce.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=ce.sent,X=oe.default,ce.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=ce.sent,_=k.default,ce.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=ce.sent,Y=te.default,ce.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=ce.sent,D=Ie.default,ee=function(){return r.createElement(D,{search:{schema:X},table:{columns:_,showRowNumber:!0},request:function(){var W=c()(a()().mark(function le(q){var xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,ne();case 2:return xe=Y(q.pageSize),Se.abrupt("return",{data:xe,total:100});case 4:case"end":return Se.stop()}},le)}));function B(le){return W.apply(this,arguments)}return B}()})},ce.abrupt("return",{default:ee});case 22:case"end":return ce.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-010-table-actions-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' import createDataSource from './helpers/createDataSource' @@ -825,7 +825,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-010-table-actions-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=L.sent,ne=J.sleep,L.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=L.sent,X=oe.default,L.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=L.sent,_=k.default,L.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=L.sent,D=Ie.default,ee=function(B,le,q){return r.createElement("div",{style:{width:20,height:20,borderRadius:"50%",background:"black",color:"white",display:"inline-flex",justifyContent:"center",alignItems:"center"}},q+1)},V=function(){return r.createElement(D,{search:{schema:X},table:{columns:_,showRowNumber:!0,rowNumberColumnData:{width:80,render:ee}},request:function(){var B=c()(a()().mark(function q(xe){var Ae;return a()().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ke.next=2,ne();case 2:return Ae=Y(xe.pageSize),ke.abrupt("return",{data:Ae,total:100});case 4:case"end":return ke.stop()}},q)}));function le(q){return B.apply(this,arguments)}return le}()})},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-010-table-actions-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' +export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-010-table-actions-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=L.sent,ne=J.sleep,L.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=L.sent,X=oe.default,L.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=L.sent,_=k.default,L.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=L.sent,D=Ie.default,ee=function(B,le,q){return r.createElement("div",{style:{width:20,height:20,borderRadius:"50%",background:"black",color:"white",display:"inline-flex",justifyContent:"center",alignItems:"center"}},q+1)},V=function(){return r.createElement(D,{search:{schema:X},table:{columns:_,showRowNumber:!0,rowNumberColumnData:{width:80,render:ee}},request:function(){var B=c()(a()().mark(function q(xe){var Ae;return a()().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ke.next=2,ne();case 2:return Ae=Y(xe.pageSize),ke.abrupt("return",{data:Ae,total:100});case 4:case"end":return ke.stop()}},q)}));function le(q){return B.apply(this,arguments)}return le}()})},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-010-table-actions-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' import createDataSource from './helpers/createDataSource' @@ -879,7 +879,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-010-table-actions-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B;return a()().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=q.sent,ne=J.sleep,q.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=q.sent,X=oe.default,q.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=q.sent,_=k.default,q.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=q.sent,Y=te.default,q.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=q.sent,D=Ie.default,q.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 22:return ee=q.sent,V=ee.ConfigProvider,ce=ee.message,q.next=27,e.e(5471).then(e.bind(e,75471));case 27:return L=q.sent,W=L.default,B=function(){var Ae=function(ke,et){return[{text:"\u7F16\u8F91",onClick:function(){ce.success("\u70B9\u51FB\u4E86\u7B2C ".concat(et," \u4E2A\u7F16\u8F91"))}},{text:"\u8BE6\u60C5",href:"https://schema-render.js.org/",target:"_blank"}]};return r.createElement(V,{locale:W},r.createElement(D,{search:{schema:X},table:{columns:_,actionItems:Ae},request:function(){var Se=c()(a()().mark(function et(dt){var gt;return a()().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return Mt.next=2,ne();case 2:return gt=Y(dt.pageSize),Mt.abrupt("return",{data:gt,total:100});case 4:case"end":return Mt.stop()}},et)}));function ke(et){return Se.apply(this,arguments)}return ke}()}))},q.abrupt("return",{default:B});case 31:case"end":return q.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-010-table-actions-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' +export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-010-table-actions-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B;return a()().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=q.sent,ne=J.sleep,q.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=q.sent,X=oe.default,q.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=q.sent,_=k.default,q.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=q.sent,Y=te.default,q.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=q.sent,D=Ie.default,q.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 22:return ee=q.sent,V=ee.ConfigProvider,ce=ee.message,q.next=27,e.e(5471).then(e.bind(e,75471));case 27:return L=q.sent,W=L.default,B=function(){var Ae=function(ke,et){return[{text:"\u7F16\u8F91",onClick:function(){ce.success("\u70B9\u51FB\u4E86\u7B2C ".concat(et," \u4E2A\u7F16\u8F91"))}},{text:"\u8BE6\u60C5",href:"https://schema-render.js.org/",target:"_blank"}]};return r.createElement(V,{locale:W},r.createElement(D,{search:{schema:X},table:{columns:_,actionItems:Ae},request:function(){var Se=c()(a()().mark(function et(dt){var gt;return a()().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return Mt.next=2,ne();case 2:return gt=Y(dt.pageSize),Mt.abrupt("return",{data:gt,total:100});case 4:case"end":return Mt.stop()}},et)}));function ke(et){return Se.apply(this,arguments)}return ke}()}))},q.abrupt("return",{default:B});case 31:case"end":return q.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-010-table-actions-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' import createDataSource from './helpers/createDataSource' @@ -926,7 +926,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},antd:{type:"NPM",value:"5.9.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-010-table-actions-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q,xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=Se.sent,ne=J.useRef,Se.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=Se.sent,X=oe.sleep,Se.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=Se.sent,_=k.default,Se.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=Se.sent,Y=te.default,Se.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=Se.sent,D=Ie.default,Se.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=Se.sent,V=ee.default,Se.next=26,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 26:return ce=Se.sent,L=ce.ConfigProvider,W=ce.message,Se.next=31,e.e(5471).then(e.bind(e,75471));case 31:return B=Se.sent,le=B.default,q=function(et){return X()},xe=function(){var et=ne(null),dt=function(Ut,Mt){return[{text:"\u7F16\u8F91",onClick:function(){W.success("\u70B9\u51FB\u7B2C ".concat(Mt," \u7F16\u8F91\u4E86"))}},{text:"\u8BE6\u60C5",href:"https://schema-render.js.org/",target:"_blank"},{text:"\u5220\u9664",danger:!0,confirmAgain:!0,onClick:function(){var Wt=c()(a()().mark(function un(){var nn;return a()().wrap(function(Un){for(;;)switch(Un.prev=Un.next){case 0:return Un.next=2,q(Ut.id);case 2:(nn=et.current)===null||nn===void 0||nn.refresh();case 3:case"end":return Un.stop()}},un)}));function ln(){return Wt.apply(this,arguments)}return ln}()}]};return r.createElement(L,{locale:le},r.createElement(V,{ref:et,search:{schema:_},table:{columns:Y,actionItems:dt,actionItemsDropdownProps:{overlayClassName:"my-dropdown-class-name"}},request:function(){var gt=c()(a()().mark(function Mt(Wt){var ln;return a()().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:return nn.next=2,X();case 2:return ln=D(Wt.pageSize),nn.abrupt("return",{data:ln,total:100});case 4:case"end":return nn.stop()}},Mt)}));function Ut(Mt){return gt.apply(this,arguments)}return Ut}()}))},Se.abrupt("return",{default:xe});case 36:case"end":return Se.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-010-table-actions-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useRef } from 'react' +export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},antd:{type:"NPM",value:"5.9.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-010-table-actions-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q,xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=Se.sent,ne=J.useRef,Se.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=Se.sent,X=oe.sleep,Se.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=Se.sent,_=k.default,Se.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=Se.sent,Y=te.default,Se.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=Se.sent,D=Ie.default,Se.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=Se.sent,V=ee.default,Se.next=26,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 26:return ce=Se.sent,L=ce.ConfigProvider,W=ce.message,Se.next=31,e.e(5471).then(e.bind(e,75471));case 31:return B=Se.sent,le=B.default,q=function(et){return X()},xe=function(){var et=ne(null),dt=function(Ut,Mt){return[{text:"\u7F16\u8F91",onClick:function(){W.success("\u70B9\u51FB\u7B2C ".concat(Mt," \u7F16\u8F91\u4E86"))}},{text:"\u8BE6\u60C5",href:"https://schema-render.js.org/",target:"_blank"},{text:"\u5220\u9664",danger:!0,confirmAgain:!0,onClick:function(){var Wt=c()(a()().mark(function un(){var nn;return a()().wrap(function(Un){for(;;)switch(Un.prev=Un.next){case 0:return Un.next=2,q(Ut.id);case 2:(nn=et.current)===null||nn===void 0||nn.refresh();case 3:case"end":return Un.stop()}},un)}));function ln(){return Wt.apply(this,arguments)}return ln}()}]};return r.createElement(L,{locale:le},r.createElement(V,{ref:et,search:{schema:_},table:{columns:Y,actionItems:dt,actionItemsDropdownProps:{overlayClassName:"my-dropdown-class-name"}},request:function(){var gt=c()(a()().mark(function Mt(Wt){var ln;return a()().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:return nn.next=2,X();case 2:return ln=D(Wt.pageSize),nn.abrupt("return",{data:ln,total:100});case 4:case"end":return nn.stop()}},Mt)}));function Ut(Mt){return gt.apply(this,arguments)}return Ut}()}))},Se.abrupt("return",{default:xe});case 36:case"end":return Se.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-010-table-actions-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useRef } from 'react' import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' @@ -997,7 +997,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},antd:{type:"NPM",value:"5.9.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-010-table-actions-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q,xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=Se.sent,ne=J.useRef,Se.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=Se.sent,X=oe.sleep,Se.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=Se.sent,_=k.default,Se.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=Se.sent,Y=te.default,Se.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=Se.sent,D=Ie.default,Se.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=Se.sent,V=ee.default,Se.next=26,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 26:return ce=Se.sent,L=ce.ConfigProvider,W=ce.message,Se.next=31,e.e(5471).then(e.bind(e,75471));case 31:return B=Se.sent,le=B.default,q=function(et){return X()},xe=function(){var et=ne(null),dt=function(Ut,Mt){return[{text:"\u7F16\u8F91",onClick:function(){return W.success("\u70B9\u51FB\u7B2C ".concat(Mt," \u7F16\u8F91\u4E86"))}},{text:"\u8BE6\u60C5",href:"https://schema-render.js.org/",target:"_blank"},{text:"\u5220\u9664",danger:!0,confirmAgain:!0,confirmProps:{title:"\u6E29\u99A8\u63D0\u793A",description:"\u60A8\u786E\u5B9A\u8981\u5220\u9664\u3010".concat(Ut.supplier_code,"\u3011\u4F9B\u5E94\u5546\u5417\uFF1F")},onClick:function(){var Wt=c()(a()().mark(function un(){var nn;return a()().wrap(function(Un){for(;;)switch(Un.prev=Un.next){case 0:return Un.next=2,q(Ut.id);case 2:(nn=et.current)===null||nn===void 0||nn.refresh();case 3:case"end":return Un.stop()}},un)}));function ln(){return Wt.apply(this,arguments)}return ln}()}]};return r.createElement(L,{locale:le},r.createElement(V,{ref:et,search:{schema:_},table:{columns:Y,actionItems:dt,actionItemsCount:3,actionItemsColumnData:{width:180}},request:function(){var gt=c()(a()().mark(function Mt(Wt){var ln;return a()().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:return nn.next=2,X();case 2:return ln=D(Wt.pageSize),nn.abrupt("return",{data:ln,total:100});case 4:case"end":return nn.stop()}},Mt)}));function Ut(Mt){return gt.apply(this,arguments)}return Ut}()}))},Se.abrupt("return",{default:xe});case 36:case"end":return Se.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-010-table-actions-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useRef } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},antd:{type:"NPM",value:"5.9.0"},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-010-table-actions-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q,xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=Se.sent,ne=J.useRef,Se.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=Se.sent,X=oe.sleep,Se.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=Se.sent,_=k.default,Se.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=Se.sent,Y=te.default,Se.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=Se.sent,D=Ie.default,Se.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=Se.sent,V=ee.default,Se.next=26,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 26:return ce=Se.sent,L=ce.ConfigProvider,W=ce.message,Se.next=31,e.e(5471).then(e.bind(e,75471));case 31:return B=Se.sent,le=B.default,q=function(et){return X()},xe=function(){var et=ne(null),dt=function(Ut,Mt){return[{text:"\u7F16\u8F91",onClick:function(){return W.success("\u70B9\u51FB\u7B2C ".concat(Mt," \u7F16\u8F91\u4E86"))}},{text:"\u8BE6\u60C5",href:"https://schema-render.js.org/",target:"_blank"},{text:"\u5220\u9664",danger:!0,confirmAgain:!0,confirmProps:{title:"\u6E29\u99A8\u63D0\u793A",description:"\u60A8\u786E\u5B9A\u8981\u5220\u9664\u3010".concat(Ut.supplier_code,"\u3011\u4F9B\u5E94\u5546\u5417\uFF1F")},onClick:function(){var Wt=c()(a()().mark(function un(){var nn;return a()().wrap(function(Un){for(;;)switch(Un.prev=Un.next){case 0:return Un.next=2,q(Ut.id);case 2:(nn=et.current)===null||nn===void 0||nn.refresh();case 3:case"end":return Un.stop()}},un)}));function ln(){return Wt.apply(this,arguments)}return ln}()}]};return r.createElement(L,{locale:le},r.createElement(V,{ref:et,search:{schema:_},table:{columns:Y,actionItems:dt,actionItemsCount:3,actionItemsColumnData:{width:180}},request:function(){var gt=c()(a()().mark(function Mt(Wt){var ln;return a()().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:return nn.next=2,X();case 2:return ln=D(Wt.pageSize),nn.abrupt("return",{data:ln,total:100});case 4:case"end":return nn.stop()}},Mt)}));function Ut(Mt){return gt.apply(this,arguments)}return Ut}()}))},Se.abrupt("return",{default:xe});case 36:case"end":return Se.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-010-table-actions-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useRef } from 'react' import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' @@ -1069,7 +1069,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},antd:{type:"NPM",value:"5.9.0"},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}}},w={title:"\u5E8F\u53F7\u4E0E\u64CD\u4F5C\u5217",toc:"content",filename:"examples/search-table-react/010-table-actions.md",lastUpdated:1720589953e3,order:10,description:"\u901A\u8FC7\u6DFB\u52A0 showRowNumber \u5C5E\u6027\uFF0C\u53EF\u81EA\u52A8\u6DFB\u52A0\u5E8F\u53F7\u5217\u3002"},ye=[{id:"\u5E8F\u53F7\u4E0E\u64CD\u4F5C\u5217",depth:1,title:"\u5E8F\u53F7\u4E0E\u64CD\u4F5C\u5217"},{id:"\u5E8F\u53F7\u5217-row-number",depth:2,title:"\u5E8F\u53F7\u5217 row-number"},{id:"\u5E8F\u53F7\u5217---\u81EA\u5B9A\u4E49",depth:2,title:"\u5E8F\u53F7\u5217 - \u81EA\u5B9A\u4E49"},{id:"\u64CD\u4F5C\u5217-action-items",depth:2,title:"\u64CD\u4F5C\u5217 action-items"},{id:"\u64CD\u4F5C\u5217---\u4E0B\u62C9\u83DC\u5355",depth:2,title:"\u64CD\u4F5C\u5217 - \u4E0B\u62C9\u83DC\u5355"},{id:"\u64CD\u4F5C\u5217---\u81EA\u5B9A\u4E49",depth:2,title:"\u64CD\u4F5C\u5217 - \u81EA\u5B9A\u4E49"},{id:"actionitems-\u53C2\u6570\u8BE6\u89E3",depth:2,title:"actionItems \u53C2\u6570\u8BE6\u89E3"},{id:"\u51FD\u6570\u53C2\u6570",depth:3,title:"\u51FD\u6570\u53C2\u6570"},{id:"\u51FD\u6570\u8FD4\u56DE\u503C",depth:3,title:"\u51FD\u6570\u8FD4\u56DE\u503C"}],Te=[{value:"\u901A\u8FC7\u6DFB\u52A0 ",paraId:0,tocIndex:1},{value:"showRowNumber",paraId:0,tocIndex:1},{value:" \u5C5E\u6027\uFF0C\u53EF\u81EA\u52A8\u6DFB\u52A0\u5E8F\u53F7\u5217\u3002",paraId:0,tocIndex:1},{value:"\u901A\u8FC7 ",paraId:1,tocIndex:2},{value:"rowNumberColumnData",paraId:1,tocIndex:2},{value:" \u53EF\u4EE5\u914D\u7F6E\u5E8F\u53F7\u5217\u5C5E\u6027\uFF0C\u5BF9\u5E94 ",paraId:1,tocIndex:2},{value:"Antd Table columns",paraId:1,tocIndex:2},{value:" \u5C5E\u6027\u3002",paraId:1,tocIndex:2},{value:"\u58F0\u660E ",paraId:2,tocIndex:3},{value:"actionItems",paraId:2,tocIndex:3},{value:" \u5C5E\u6027\uFF0C\u5C06\u6DFB\u52A0\u64CD\u4F5C\u5217\uFF0C\u53C2\u6570\u8BE6\u89E3\u89C1\u6587\u5E95\u3010actionItems \u53C2\u6570\u8BE6\u89E3\u3011\u3002",paraId:2,tocIndex:3},{value:"\u6309\u94AE\u6570\u91CF\u8D85\u8FC7\u9608\u503C\uFF0C\u5C06\u4EE5",paraId:3,tocIndex:4},{value:"\u201C\u66F4\u591A\u201D",paraId:3,tocIndex:4},{value:"\u5F62\u5F0F\u4EA4\u4E92\uFF0C\u9ED8\u8BA4\u9608\u503C\u4E3A ",paraId:3,tocIndex:4},{value:"2",paraId:3,tocIndex:4},{value:"\uFF0C\u53EF\u901A\u8FC7 ",paraId:3,tocIndex:4},{value:"actionItemsCount",paraId:3,tocIndex:4},{value:" \u4FEE\u6539\u9608\u503C\u3002",paraId:3,tocIndex:4},{value:"\u4E0B\u62C9\u6846\u5C5E\u6027\u53EF\u901A\u8FC7 ",paraId:4,tocIndex:4},{value:"actionItemsDropdownProps",paraId:4,tocIndex:4},{value:" \u914D\u7F6E\uFF0C\u5BF9\u5E94 Antd ",paraId:4,tocIndex:4},{value:"Dropdown",paraId:4,tocIndex:4},{value:" \u5C5E\u6027\u3002",paraId:4,tocIndex:4},{value:"\u901A\u8FC7 ",paraId:5,tocIndex:5},{value:"actionItemsColumnData",paraId:5,tocIndex:5},{value:" \u53EF\u4EE5\u914D\u7F6E\u64CD\u4F5C\u5217\u5C5E\u6027\uFF0C\u540C\u6837\u5BF9\u5E94 Antd Table columns \u503C\u3002",paraId:5,tocIndex:5},{value:"\u53C2\u6570",paraId:6,tocIndex:7},{value:"\u8BF4\u660E",paraId:6,tocIndex:7},{value:"\u7C7B\u578B",paraId:6,tocIndex:7},{value:"record",paraId:6,tocIndex:7},{value:"\u5F53\u524D\u884C\u6570\u636E",paraId:6,tocIndex:7},{value:"Record",paraId:6,tocIndex:7},{value:"index",paraId:6,tocIndex:7},{value:"\u5F53\u524D\u884C\u7D22\u5F15",paraId:6,tocIndex:7},{value:"number",paraId:6,tocIndex:7},{value:"\u9664\u4E86 Antd ",paraId:7,tocIndex:8},{value:"Button",paraId:7,tocIndex:8},{value:" \u5C5E\u6027\u5916\uFF0C\u8FD8\u652F\u6301\u5982\u4E0B\u53C2\u6570\u3002",paraId:7,tocIndex:8},{value:"\u53C2\u6570",paraId:8,tocIndex:8},{value:"\u8BF4\u660E",paraId:8,tocIndex:8},{value:"\u7C7B\u578B",paraId:8,tocIndex:8},{value:"text",paraId:8,tocIndex:8},{value:"\u64CD\u4F5C\u6587\u6848",paraId:8,tocIndex:8},{value:"string | ReactNode",paraId:8,tocIndex:8},{value:"isShow",paraId:8,tocIndex:8},{value:"\u662F\u5426\u5C55\u793A",paraId:8,tocIndex:8},{value:"boolean",paraId:8,tocIndex:8},{value:"confirmAgain",paraId:8,tocIndex:8},{value:"\u662F\u5426\u589E\u52A0\u300C\u4E8C\u6B21\u786E\u8BA4\u300D",paraId:8,tocIndex:8},{value:"boolean",paraId:8,tocIndex:8},{value:"confirmProps",paraId:8,tocIndex:8},{value:"\u4E8C\u6B21\u786E\u8BA4\u5C5E\u6027\uFF0C\u5BF9\u5E94 Antd ",paraId:8,tocIndex:8},{value:"Popconfirm",paraId:8,tocIndex:8},{value:" \u5C5E\u6027",paraId:8,tocIndex:8},{value:"object",paraId:8,tocIndex:8},{value:"onClick",paraId:8,tocIndex:8},{value:"\u70B9\u51FB\u4E8B\u4EF6\uFF0C\u8FD4\u56DE Promise \u5C06\u6DFB\u52A0 loading \u6548\u679C",paraId:8,tocIndex:8},{value:"(event: React.MouseEvent) => void",paraId:8,tocIndex:8}],Qe={},ot={title:"API Reference",toc:"content",filename:"examples/search-table-react/800-api-reference.md",lastUpdated:1720589953e3,group:{title:"API \u624B\u518C",order:800},description:"\u9664 Antd Table \u5C5E\u6027\u5916\uFF0C\u8FD8\u6269\u5C55\u4E86\u4EE5\u4E0B\u5C5E\u6027\u3002"},Ct=[{id:"api-reference",depth:1,title:"API Reference"},{id:"\u9876\u5C42-api",depth:2,title:"\u9876\u5C42 API"},{id:"title",depth:2,title:"title"},{id:"table",depth:2,title:"table"},{id:"table-column",depth:2,title:"table column"},{id:"table-action",depth:2,title:"table action"}],mt=[{value:"\u53C2\u6570",paraId:0,tocIndex:1},{value:"\u63CF\u8FF0",paraId:0,tocIndex:1},{value:"\u7C7B\u578B",paraId:0,tocIndex:1},{value:"\u9ED8\u8BA4\u503C",paraId:0,tocIndex:1},{value:"className",paraId:0,tocIndex:1},{value:"\u6839\u8282\u70B9\u6837\u5F0F\u540D",paraId:0,tocIndex:1},{value:"string",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"style",paraId:0,tocIndex:1},{value:"\u6839\u8282\u70B9\u6837\u5F0F",paraId:0,tocIndex:1},{value:"CSSProperties",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"request",paraId:0,tocIndex:1},{value:"\u6570\u636E\u8BF7\u6C42\u51FD\u6570",paraId:0,tocIndex:1},{value:"((params: IObjectAny, extraParams: IRequestExtraParams) => Promise)",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"requestOnMounted",paraId:0,tocIndex:1},{value:"\u6302\u8F7D\u5B8C\u6210\u662F\u5426\u7ACB\u5373\u53D1\u9001\u4E00\u6B21 request \u8BF7\u6C42\u5EA6",paraId:0,tocIndex:1},{value:"boolean",paraId:0,tocIndex:1},{value:"true",paraId:0,tocIndex:1},{value:"header",paraId:0,tocIndex:1},{value:"\u5934\u90E8\u680F\u5185\u5BB9\u6E32\u67D3",paraId:0,tocIndex:1},{value:"(p: IRenderParams) => ReactNode",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"search",paraId:0,tocIndex:1},{value:"\u641C\u7D22\u680F\uFF0C\u89C1",paraId:0,tocIndex:1},{value:"Search API",paraId:1,tocIndex:1},{value:"ISearchProps | false",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"titleTop",paraId:0,tocIndex:1},{value:"\u6807\u9898\u680F\u9876\u90E8\u533A\u57DF",paraId:0,tocIndex:1},{value:"(p: IRenderParams) => ReactNode",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"title",paraId:0,tocIndex:1},{value:"\u6807\u9898\u680F\uFF0C\u89C1\u4E0B\u65B9 title \u63CF\u8FF0",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"titleBottom",paraId:0,tocIndex:1},{value:"\u6807\u9898\u680F\u5E95\u90E8\u533A\u57DF",paraId:0,tocIndex:1},{value:"(p: IRenderParams) => ReactNode",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"table",paraId:0,tocIndex:1},{value:"\u8868\u683C\u680F\uFF0C\u89C1\u4E0B\u65B9 table \u63CF\u8FF0",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"footer",paraId:0,tocIndex:1},{value:"\u5E95\u90E8\u680F",paraId:0,tocIndex:1},{value:"(p: IRenderParams) => ReactNode",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"\u53C2\u6570",paraId:2,tocIndex:2},{value:"\u63CF\u8FF0",paraId:2,tocIndex:2},{value:"\u7C7B\u578B",paraId:2,tocIndex:2},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:2},{value:"className",paraId:2,tocIndex:2},{value:"\u6807\u9898\u680F\u7C7B\u540D",paraId:2,tocIndex:2},{value:"string",paraId:2,tocIndex:2},{value:"-",paraId:2,tocIndex:2},{value:"style",paraId:2,tocIndex:2},{value:"\u6807\u9898\u680F\u6837\u5F0F",paraId:2,tocIndex:2},{value:"CSSProperties",paraId:2,tocIndex:2},{value:"-",paraId:2,tocIndex:2},{value:"tabs",paraId:2,tocIndex:2},{value:"\u6807\u7B7E\u9875\u5C5E\u6027\uFF0C\u89C1",paraId:2,tocIndex:2},{value:"Antd Tabs",paraId:2,tocIndex:2},{value:"TabsProps",paraId:2,tocIndex:2},{value:"-",paraId:2,tocIndex:2},{value:"showSetting",paraId:2,tocIndex:2},{value:"\u662F\u5426\u5C55\u793A\u201C\u5217\u8BBE\u7F6E\u201D\u6309\u94AE",paraId:2,tocIndex:2},{value:"boolean",paraId:2,tocIndex:2},{value:"-",paraId:2,tocIndex:2},{value:"\u9664 Antd Table \u5C5E\u6027\u5916\uFF0C\u8FD8\u6269\u5C55\u4E86\u4EE5\u4E0B\u5C5E\u6027\u3002",paraId:3,tocIndex:3},{value:"\u53C2\u6570",paraId:4,tocIndex:3},{value:"\u63CF\u8FF0",paraId:4,tocIndex:3},{value:"\u7C7B\u578B",paraId:4,tocIndex:3},{value:"\u9ED8\u8BA4\u503C",paraId:4,tocIndex:3},{value:"showRowNumber",paraId:4,tocIndex:3},{value:"\u662F\u5426\u5C55\u793A\u5E8F\u53F7\u5217",paraId:4,tocIndex:3},{value:"boolean",paraId:4,tocIndex:3},{value:"-",paraId:4,tocIndex:3},{value:"rowNumberColumnData",paraId:4,tocIndex:3},{value:"\u5E8F\u53F7\u5217 Antd \u914D\u7F6E\u6570\u636E",paraId:4,tocIndex:3},{value:"ColumnType",paraId:4,tocIndex:3},{value:"-",paraId:4,tocIndex:3},{value:"actionItems",paraId:4,tocIndex:3},{value:"\u64CD\u4F5C\u5217\u6309\u94AE\u5185\u5BB9\uFF0C\u4E0D\u5B58\u5728\u5219\u4E0D\u5C55\u793A\u64CD\u4F5C\u5217\uFF0C\u6570\u91CF\u8D85\u8FC7\u8BBE\u5B9A\u9608\u503C\u5219\u4E0B\u62C9\u4EA4\u4E92",paraId:4,tocIndex:3},{value:"(record: IObjectAny, index: number) => IActionItem[]",paraId:4,tocIndex:3},{value:"-",paraId:4,tocIndex:3},{value:"actionItemsColumnData",paraId:4,tocIndex:3},{value:"\u64CD\u4F5C\u5217 Antd \u914D\u7F6E\u6570\u636E\uFF0C\u53EF\u914D\u7F6E\u64CD\u4F5C\u5217\u5BBD\u5EA6\u7B49",paraId:4,tocIndex:3},{value:"ColumnType",paraId:4,tocIndex:3},{value:"-",paraId:4,tocIndex:3},{value:"actionItemsCount",paraId:4,tocIndex:3},{value:"\u64CD\u4F5C\u5217\u6309\u94AE\u4E0B\u62C9\u4EA4\u4E92\u9608\u503C\uFF0C\u9ED8\u8BA4\u4E3A 2",paraId:4,tocIndex:3},{value:"number",paraId:4,tocIndex:3},{value:"2",paraId:4,tocIndex:3},{value:"actionItemsDropdownProps",paraId:4,tocIndex:3},{value:"\u64CD\u4F5C\u6309\u94AE\u4E0B\u62C9\u83DC\u5355\u5C5E\u6027\uFF0C\u89C1 Antd Dropdown \u7EC4\u4EF6",paraId:4,tocIndex:3},{value:"DropDownProps",paraId:4,tocIndex:3},{value:"-",paraId:4,tocIndex:3},{value:"sortMode",paraId:4,tocIndex:3},{value:"\u6392\u5E8F\u65B9\u6848\uFF0C\u524D\u7AEF\u6392\u5E8F\u6216\u540E\u7AEF\u6392\u5E8F",paraId:4,tocIndex:3},{value:"'local' | 'local-all' | 'service' | 'service-all'",paraId:4,tocIndex:3},{value:"-",paraId:4,tocIndex:3},{value:"sortStringValueTransform",paraId:4,tocIndex:3},{value:"\u6392\u5E8F\u5B57\u7B26\u4E32\u6570\u636E\u8F6C\u6362\u65B9\u6848",paraId:4,tocIndex:3},{value:"(value: string) => string",paraId:4,tocIndex:3},{value:"-",paraId:4,tocIndex:3},{value:"autoScrollY",paraId:4,tocIndex:3},{value:"\u662F\u5426\u81EA\u52A8\u8BA1\u7B97\u8868\u683C scrollY \u5C5E\u6027\uFF0C\u8FBE\u5230\u9002\u914D\u5C4F\u5E55\u9AD8\u5EA6\uFF0C\u201D\u4E00\u5C4F\u663E\u793A\u201C\u6548\u679C",paraId:4,tocIndex:3},{value:"boolean",paraId:4,tocIndex:3},{value:"false",paraId:4,tocIndex:3},{value:"summaryText",paraId:4,tocIndex:3},{value:"\u5408\u8BA1\u680F\u6587\u6848",paraId:4,tocIndex:3},{value:"ReactNode",paraId:4,tocIndex:3},{value:"\u5408\u8BA1",paraId:4,tocIndex:3},{value:"registerValueType",paraId:4,tocIndex:3},{value:"\u6CE8\u518C valueType, \u540C\u540D\u5C06\u8986\u76D6",paraId:4,tocIndex:3},{value:"{ [type: string]: (p: { value: any; record: IObjectAny; options: IObjectAny; index: number }) => ReactNode }",paraId:4,tocIndex:3},{value:"-",paraId:4,tocIndex:3},{value:"\u9664 Antd Table Column \u5C5E\u6027\u5916\uFF0C\u8FD8\u6269\u5C55\u4E86\u4EE5\u4E0B\u5C5E\u6027\u3002",paraId:5,tocIndex:4},{value:"\u53C2\u6570",paraId:6,tocIndex:4},{value:"\u63CF\u8FF0",paraId:6,tocIndex:4},{value:"\u7C7B\u578B",paraId:6,tocIndex:4},{value:"\u9ED8\u8BA4\u503C",paraId:6,tocIndex:4},{value:"sortType",paraId:6,tocIndex:4},{value:"\u6392\u5E8F\u7C7B\u578B",paraId:6,tocIndex:4},{value:"'string' | 'number' | 'date'",paraId:6,tocIndex:4},{value:"-",paraId:6,tocIndex:4},{value:"sortDataExtractor",paraId:6,tocIndex:4},{value:"\u6392\u5E8F\u6570\u636E\u53D6\u503C\u51FD\u6570\uFF0C\u590D\u6742\u6570\u636E\u63D0\u53D6\u7528",paraId:6,tocIndex:4},{value:"(record: IObjectAny) => string | number",paraId:6,tocIndex:4},{value:"-",paraId:6,tocIndex:4},{value:"valueType",paraId:6,tocIndex:4},{value:"\u6570\u636E\u663E\u793A\u7C7B\u522B",paraId:6,tocIndex:4},{value:"IValueType | ((record: IObjectAny) => { type: IValueType, [props: string]: any })",paraId:6,tocIndex:4},{value:"-",paraId:6,tocIndex:4},{value:"\u5373 ",paraId:7,tocIndex:5},{value:"IActionItem",paraId:7,tocIndex:5},{value:", \u7EE7\u627F Antd Button \u7EC4\u4EF6\u53C2\u6570\uFF0C\u4EE5\u53CA\u4E0B\u9762\u6269\u5C55\u53C2\u6570\u3002",paraId:7,tocIndex:5},{value:"\u53C2\u6570",paraId:8,tocIndex:5},{value:"\u63CF\u8FF0",paraId:8,tocIndex:5},{value:"\u7C7B\u578B",paraId:8,tocIndex:5},{value:"\u9ED8\u8BA4\u503C",paraId:8,tocIndex:5},{value:"text",paraId:8,tocIndex:5},{value:"\u6309\u94AE\u6587\u6848",paraId:8,tocIndex:5},{value:"ReactNode",paraId:8,tocIndex:5},{value:"-",paraId:8,tocIndex:5},{value:"isShow",paraId:8,tocIndex:5},{value:"\u662F\u5426\u663E\u793A",paraId:8,tocIndex:5},{value:"boolean",paraId:8,tocIndex:5},{value:"-",paraId:8,tocIndex:5},{value:"confirmAgain",paraId:8,tocIndex:5},{value:"\u662F\u5426\u589E\u52A0\u300C\u4E8C\u6B21\u786E\u8BA4\u300D",paraId:8,tocIndex:5},{value:"boolean",paraId:8,tocIndex:5},{value:"-",paraId:8,tocIndex:5},{value:"confirmProps",paraId:8,tocIndex:5},{value:"\u4E8C\u6B21\u786E\u8BA4 Antd Popconfirm \u7EC4\u4EF6\u53C2\u6570",paraId:8,tocIndex:5},{value:"Omit",paraId:8,tocIndex:5},{value:"-",paraId:8,tocIndex:5},{value:"onClick",paraId:8,tocIndex:5},{value:"\u70B9\u51FB\u4E8B\u4EF6\uFF0C\u8FD4\u56DE ",paraId:8,tocIndex:5},{value:"Promise",paraId:8,tocIndex:5},{value:"\uFF0C\u5219\u589E\u52A0 ",paraId:8,tocIndex:5},{value:"loading",paraId:8,tocIndex:5},{value:" \u6548\u679C",paraId:8,tocIndex:5},{value:"(event: MouseEvent) => void | Promise",paraId:8,tocIndex:5},{value:"-",paraId:8,tocIndex:5}],ct={},Rt={title:"API Reference",toc:"content",filename:"examples/form-render-react/800-api-reference.md",lastUpdated:1704422786e3,group:{title:"API \u624B\u518C",order:800},description:"FormRender \u9664\u4E86\u652F\u6301 Core \u7684 API \u5916\uFF0C\u8FD8\u652F\u6301\u4EE5\u4E0B API\u3002"},Pe=[{id:"api-reference",depth:1,title:"API Reference"}],re=[{value:"FormRender",paraId:0,tocIndex:0},{value:" \u9664\u4E86\u652F\u6301 ",paraId:0,tocIndex:0},{value:"Core",paraId:0,tocIndex:0},{value:" \u7684 API \u5916\uFF0C\u8FD8\u652F\u6301\u4EE5\u4E0B API\u3002",paraId:0,tocIndex:0},{value:"\u53C2\u6570",paraId:1,tocIndex:0},{value:"\u63CF\u8FF0",paraId:1,tocIndex:0},{value:"\u7C7B\u578B",paraId:1,tocIndex:0},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:0},{value:"rootClassName",paraId:1,tocIndex:0},{value:"\u6839\u8282\u70B9\u6837\u5F0F\u540D",paraId:1,tocIndex:0},{value:"string",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"rootStyle",paraId:1,tocIndex:0},{value:"\u6839\u8282\u70B9\u6837\u5F0F",paraId:1,tocIndex:0},{value:"string",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"itemLayout",paraId:1,tocIndex:0},{value:"\u8868\u5355\u9879\u5E03\u5C40\u7ED3\u6784",paraId:1,tocIndex:0},{value:"horizontal",paraId:1,tocIndex:0},{value:" | ",paraId:1,tocIndex:0},{value:"vertical",paraId:1,tocIndex:0},{value:" | ",paraId:1,tocIndex:0},{value:"React.ComponentType",paraId:2,tocIndex:0},{value:"horizontal",paraId:1,tocIndex:0},{value:"readonlyPlaceholder",paraId:1,tocIndex:0},{value:"\u53EA\u8BFB\u72B6\u6001\u6CA1\u6709\u6570\u636E\u65F6\u7684\u5360\u4F4D\u7B26\uFF0C",paraId:1,tocIndex:0},{value:"null",paraId:1,tocIndex:0},{value:"\u3001",paraId:1,tocIndex:0},{value:"undefined",paraId:1,tocIndex:0},{value:"\u3001",paraId:1,tocIndex:0},{value:"\u7A7A\u5B57\u7B26\u4E32",paraId:1,tocIndex:0},{value:" \u4F1A\u88AB\u5224\u5B9A\u4E3A\u7A7A\u6570\u636E",paraId:1,tocIndex:0},{value:"ReactNode",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"labelWidth",paraId:1,tocIndex:0},{value:"\u6807\u7B7E\uFF08\u6807\u9898\u5757\uFF09\u5BBD\u5EA6",paraId:1,tocIndex:0},{value:"number",paraId:1,tocIndex:0},{value:" | ",paraId:1,tocIndex:0},{value:"string",paraId:1,tocIndex:0},{value:"100",paraId:1,tocIndex:0},{value:"labelColon",paraId:1,tocIndex:0},{value:"\u6807\u7B7E\u5192\u53F7",paraId:1,tocIndex:0},{value:"ReactNode",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"labelGap",paraId:1,tocIndex:0},{value:"\u6807\u7B7E\u4E0E\u53F3\u4FA7\u5185\u5BB9\u7684\u95F4\u8DDD",paraId:1,tocIndex:0},{value:"number",paraId:1,tocIndex:0},{value:"15",paraId:1,tocIndex:0},{value:"labelRender",paraId:1,tocIndex:0},{value:"\u81EA\u5B9A\u4E49 label \u6E32\u67D3",paraId:1,tocIndex:0},{value:"(params) => ReactNode",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"locale",paraId:1,tocIndex:0},{value:"\u56FD\u9645\u5316\u8BED\u8A00\u6570\u636E",paraId:1,tocIndex:0},{value:"object",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"actions",paraId:1,tocIndex:0},{value:"\u914D\u7F6E\u64CD\u4F5C\u6309\u94AE\u5C55\u793A\u9879\u53CA\u5176\u987A\u5E8F",paraId:1,tocIndex:0},{value:"string[]",paraId:1,tocIndex:0},{value:'["submit", "reset"]',paraId:1,tocIndex:0},{value:"registerActions",paraId:1,tocIndex:0},{value:"\u6CE8\u518C\u64CD\u4F5C\u884C\u4E3A\uFF0C\u5982\u679C\u662F submit\u3001reset \u5C06\u8986\u76D6\u539F\u6709\u884C\u4E3A",paraId:1,tocIndex:0},{value:"IRegisterActions",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"disableFormOnActionLoading",paraId:1,tocIndex:0},{value:"\u5F53\u64CD\u4F5C\u884C\u4E3A\u6309\u94AE\u5904\u4E8E loading \u72B6\u6001\u65F6\uFF0C\u662F\u5426\u7981\u7528\u8868\u5355",paraId:1,tocIndex:0},{value:"boolean",paraId:1,tocIndex:0},{value:"true",paraId:1,tocIndex:0},{value:"validateFormOnSubmit",paraId:1,tocIndex:0},{value:"\u89E6\u53D1 onSubmit \u4E8B\u4EF6\u524D\u662F\u5426\u6267\u884C\u8868\u5355\u6821\u9A8C\uFF0C\u9ED8\u8BA4\u4E3A true\uFF0C\u6821\u9A8C\u4E0D\u901A\u8FC7\u5C06\u4E0D\u4F1A\u89E6\u53D1 onSubmit \u4E8B\u4EF6",paraId:1,tocIndex:0},{value:"boolean",paraId:1,tocIndex:0},{value:"true",paraId:1,tocIndex:0},{value:"onSubmit",paraId:1,tocIndex:0},{value:"\u63D0\u4EA4\u4E8B\u4EF6",paraId:1,tocIndex:0},{value:"(value: IObjectAny) => IMaybePromise",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"onBeforeReset",paraId:1,tocIndex:0},{value:"\u91CD\u7F6E\u524D\u7F6E\u4E8B\u4EF6\uFF0C\u5982\u679C\u8FD4\u56DE\u6570\u636E\uFF0C\u5219\u4F5C\u4E3A\u65B0\u6570\u636E\u586B\u5165\u8868\u5355",paraId:1,tocIndex:0},{value:"(value: IObjectAny) => IMaybePromise",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"onReset",paraId:1,tocIndex:0},{value:"\u91CD\u7F6E\u4E8B\u4EF6",paraId:1,tocIndex:0},{value:"(value: IObjectAny) => IMaybePromise",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0}],Oe={"examples-search-table-react-020-table-height-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee;return a()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=ce.sent,ne=J.sleep,ce.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=ce.sent,X=oe.default,ce.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=ce.sent,_=k.default,ce.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=ce.sent,Y=te.default,ce.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=ce.sent,D=Ie.default,ee=function(){return r.createElement(D,{style:{height:500,overflow:"hidden"},search:{schema:X},table:{columns:_,autoScrollY:!0},request:function(){var W=c()(a()().mark(function le(q){var xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,ne();case 2:return xe=Y(q.pageSize),Se.abrupt("return",{data:xe,total:100});case 4:case"end":return Se.stop()}},le)}));function B(le){return W.apply(this,arguments)}return B}()})},ce.abrupt("return",{default:ee});case 22:case"end":return ce.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-020-table-height-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},antd:{type:"NPM",value:"5.9.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}}},w={title:"\u5E8F\u53F7\u4E0E\u64CD\u4F5C\u5217",toc:"content",filename:"examples/search-table-react/010-table-actions.md",lastUpdated:1720589953e3,order:10,description:"\u901A\u8FC7\u6DFB\u52A0 showRowNumber \u5C5E\u6027\uFF0C\u53EF\u81EA\u52A8\u6DFB\u52A0\u5E8F\u53F7\u5217\u3002"},ye=[{id:"\u5E8F\u53F7\u4E0E\u64CD\u4F5C\u5217",depth:1,title:"\u5E8F\u53F7\u4E0E\u64CD\u4F5C\u5217"},{id:"\u5E8F\u53F7\u5217-row-number",depth:2,title:"\u5E8F\u53F7\u5217 row-number"},{id:"\u5E8F\u53F7\u5217---\u81EA\u5B9A\u4E49",depth:2,title:"\u5E8F\u53F7\u5217 - \u81EA\u5B9A\u4E49"},{id:"\u64CD\u4F5C\u5217-action-items",depth:2,title:"\u64CD\u4F5C\u5217 action-items"},{id:"\u64CD\u4F5C\u5217---\u4E0B\u62C9\u83DC\u5355",depth:2,title:"\u64CD\u4F5C\u5217 - \u4E0B\u62C9\u83DC\u5355"},{id:"\u64CD\u4F5C\u5217---\u81EA\u5B9A\u4E49",depth:2,title:"\u64CD\u4F5C\u5217 - \u81EA\u5B9A\u4E49"},{id:"actionitems-\u53C2\u6570\u8BE6\u89E3",depth:2,title:"actionItems \u53C2\u6570\u8BE6\u89E3"},{id:"\u51FD\u6570\u53C2\u6570",depth:3,title:"\u51FD\u6570\u53C2\u6570"},{id:"\u51FD\u6570\u8FD4\u56DE\u503C",depth:3,title:"\u51FD\u6570\u8FD4\u56DE\u503C"}],Te=[{value:"\u901A\u8FC7\u6DFB\u52A0 ",paraId:0,tocIndex:1},{value:"showRowNumber",paraId:0,tocIndex:1},{value:" \u5C5E\u6027\uFF0C\u53EF\u81EA\u52A8\u6DFB\u52A0\u5E8F\u53F7\u5217\u3002",paraId:0,tocIndex:1},{value:"\u901A\u8FC7 ",paraId:1,tocIndex:2},{value:"rowNumberColumnData",paraId:1,tocIndex:2},{value:" \u53EF\u4EE5\u914D\u7F6E\u5E8F\u53F7\u5217\u5C5E\u6027\uFF0C\u5BF9\u5E94 ",paraId:1,tocIndex:2},{value:"Antd Table columns",paraId:1,tocIndex:2},{value:" \u5C5E\u6027\u3002",paraId:1,tocIndex:2},{value:"\u58F0\u660E ",paraId:2,tocIndex:3},{value:"actionItems",paraId:2,tocIndex:3},{value:" \u5C5E\u6027\uFF0C\u5C06\u6DFB\u52A0\u64CD\u4F5C\u5217\uFF0C\u53C2\u6570\u8BE6\u89E3\u89C1\u6587\u5E95\u3010actionItems \u53C2\u6570\u8BE6\u89E3\u3011\u3002",paraId:2,tocIndex:3},{value:"\u6309\u94AE\u6570\u91CF\u8D85\u8FC7\u9608\u503C\uFF0C\u5C06\u4EE5",paraId:3,tocIndex:4},{value:"\u201C\u66F4\u591A\u201D",paraId:3,tocIndex:4},{value:"\u5F62\u5F0F\u4EA4\u4E92\uFF0C\u9ED8\u8BA4\u9608\u503C\u4E3A ",paraId:3,tocIndex:4},{value:"2",paraId:3,tocIndex:4},{value:"\uFF0C\u53EF\u901A\u8FC7 ",paraId:3,tocIndex:4},{value:"actionItemsCount",paraId:3,tocIndex:4},{value:" \u4FEE\u6539\u9608\u503C\u3002",paraId:3,tocIndex:4},{value:"\u4E0B\u62C9\u6846\u5C5E\u6027\u53EF\u901A\u8FC7 ",paraId:4,tocIndex:4},{value:"actionItemsDropdownProps",paraId:4,tocIndex:4},{value:" \u914D\u7F6E\uFF0C\u5BF9\u5E94 Antd ",paraId:4,tocIndex:4},{value:"Dropdown",paraId:4,tocIndex:4},{value:" \u5C5E\u6027\u3002",paraId:4,tocIndex:4},{value:"\u901A\u8FC7 ",paraId:5,tocIndex:5},{value:"actionItemsColumnData",paraId:5,tocIndex:5},{value:" \u53EF\u4EE5\u914D\u7F6E\u64CD\u4F5C\u5217\u5C5E\u6027\uFF0C\u540C\u6837\u5BF9\u5E94 Antd Table columns \u503C\u3002",paraId:5,tocIndex:5},{value:"\u53C2\u6570",paraId:6,tocIndex:7},{value:"\u8BF4\u660E",paraId:6,tocIndex:7},{value:"\u7C7B\u578B",paraId:6,tocIndex:7},{value:"record",paraId:6,tocIndex:7},{value:"\u5F53\u524D\u884C\u6570\u636E",paraId:6,tocIndex:7},{value:"Record",paraId:6,tocIndex:7},{value:"index",paraId:6,tocIndex:7},{value:"\u5F53\u524D\u884C\u7D22\u5F15",paraId:6,tocIndex:7},{value:"number",paraId:6,tocIndex:7},{value:"\u9664\u4E86 Antd ",paraId:7,tocIndex:8},{value:"Button",paraId:7,tocIndex:8},{value:" \u5C5E\u6027\u5916\uFF0C\u8FD8\u652F\u6301\u5982\u4E0B\u53C2\u6570\u3002",paraId:7,tocIndex:8},{value:"\u53C2\u6570",paraId:8,tocIndex:8},{value:"\u8BF4\u660E",paraId:8,tocIndex:8},{value:"\u7C7B\u578B",paraId:8,tocIndex:8},{value:"text",paraId:8,tocIndex:8},{value:"\u64CD\u4F5C\u6587\u6848",paraId:8,tocIndex:8},{value:"string | ReactNode",paraId:8,tocIndex:8},{value:"isShow",paraId:8,tocIndex:8},{value:"\u662F\u5426\u5C55\u793A",paraId:8,tocIndex:8},{value:"boolean",paraId:8,tocIndex:8},{value:"confirmAgain",paraId:8,tocIndex:8},{value:"\u662F\u5426\u589E\u52A0\u300C\u4E8C\u6B21\u786E\u8BA4\u300D",paraId:8,tocIndex:8},{value:"boolean",paraId:8,tocIndex:8},{value:"confirmProps",paraId:8,tocIndex:8},{value:"\u4E8C\u6B21\u786E\u8BA4\u5C5E\u6027\uFF0C\u5BF9\u5E94 Antd ",paraId:8,tocIndex:8},{value:"Popconfirm",paraId:8,tocIndex:8},{value:" \u5C5E\u6027",paraId:8,tocIndex:8},{value:"object",paraId:8,tocIndex:8},{value:"onClick",paraId:8,tocIndex:8},{value:"\u70B9\u51FB\u4E8B\u4EF6\uFF0C\u8FD4\u56DE Promise \u5C06\u6DFB\u52A0 loading \u6548\u679C",paraId:8,tocIndex:8},{value:"(event: React.MouseEvent) => void",paraId:8,tocIndex:8}],Qe={},ot={title:"API Reference",toc:"content",filename:"examples/search-table-react/800-api-reference.md",lastUpdated:1720589953e3,group:{title:"API \u624B\u518C",order:800},description:"\u9664 Antd Table \u5C5E\u6027\u5916\uFF0C\u8FD8\u6269\u5C55\u4E86\u4EE5\u4E0B\u5C5E\u6027\u3002"},Ct=[{id:"api-reference",depth:1,title:"API Reference"},{id:"\u9876\u5C42-api",depth:2,title:"\u9876\u5C42 API"},{id:"title",depth:2,title:"title"},{id:"table",depth:2,title:"table"},{id:"table-column",depth:2,title:"table column"},{id:"table-action",depth:2,title:"table action"}],mt=[{value:"\u53C2\u6570",paraId:0,tocIndex:1},{value:"\u63CF\u8FF0",paraId:0,tocIndex:1},{value:"\u7C7B\u578B",paraId:0,tocIndex:1},{value:"\u9ED8\u8BA4\u503C",paraId:0,tocIndex:1},{value:"className",paraId:0,tocIndex:1},{value:"\u6839\u8282\u70B9\u6837\u5F0F\u540D",paraId:0,tocIndex:1},{value:"string",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"style",paraId:0,tocIndex:1},{value:"\u6839\u8282\u70B9\u6837\u5F0F",paraId:0,tocIndex:1},{value:"CSSProperties",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"request",paraId:0,tocIndex:1},{value:"\u6570\u636E\u8BF7\u6C42\u51FD\u6570",paraId:0,tocIndex:1},{value:"((params: IObjectAny, extraParams: IRequestExtraParams) => Promise)",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"requestOnMounted",paraId:0,tocIndex:1},{value:"\u6302\u8F7D\u5B8C\u6210\u662F\u5426\u7ACB\u5373\u53D1\u9001\u4E00\u6B21 request \u8BF7\u6C42\u5EA6",paraId:0,tocIndex:1},{value:"boolean",paraId:0,tocIndex:1},{value:"true",paraId:0,tocIndex:1},{value:"header",paraId:0,tocIndex:1},{value:"\u5934\u90E8\u680F\u5185\u5BB9\u6E32\u67D3",paraId:0,tocIndex:1},{value:"(p: IRenderParams) => ReactNode",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"search",paraId:0,tocIndex:1},{value:"\u641C\u7D22\u680F\uFF0C\u89C1",paraId:0,tocIndex:1},{value:"Search API",paraId:1,tocIndex:1},{value:"ISearchProps | false",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"titleTop",paraId:0,tocIndex:1},{value:"\u6807\u9898\u680F\u9876\u90E8\u533A\u57DF",paraId:0,tocIndex:1},{value:"(p: IRenderParams) => ReactNode",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"title",paraId:0,tocIndex:1},{value:"\u6807\u9898\u680F\uFF0C\u89C1\u4E0B\u65B9 title \u63CF\u8FF0",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"titleBottom",paraId:0,tocIndex:1},{value:"\u6807\u9898\u680F\u5E95\u90E8\u533A\u57DF",paraId:0,tocIndex:1},{value:"(p: IRenderParams) => ReactNode",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"table",paraId:0,tocIndex:1},{value:"\u8868\u683C\u680F\uFF0C\u89C1\u4E0B\u65B9 table \u63CF\u8FF0",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"footer",paraId:0,tocIndex:1},{value:"\u5E95\u90E8\u680F",paraId:0,tocIndex:1},{value:"(p: IRenderParams) => ReactNode",paraId:0,tocIndex:1},{value:"-",paraId:0,tocIndex:1},{value:"\u53C2\u6570",paraId:2,tocIndex:2},{value:"\u63CF\u8FF0",paraId:2,tocIndex:2},{value:"\u7C7B\u578B",paraId:2,tocIndex:2},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:2},{value:"className",paraId:2,tocIndex:2},{value:"\u6807\u9898\u680F\u7C7B\u540D",paraId:2,tocIndex:2},{value:"string",paraId:2,tocIndex:2},{value:"-",paraId:2,tocIndex:2},{value:"style",paraId:2,tocIndex:2},{value:"\u6807\u9898\u680F\u6837\u5F0F",paraId:2,tocIndex:2},{value:"CSSProperties",paraId:2,tocIndex:2},{value:"-",paraId:2,tocIndex:2},{value:"tabs",paraId:2,tocIndex:2},{value:"\u6807\u7B7E\u9875\u5C5E\u6027\uFF0C\u89C1",paraId:2,tocIndex:2},{value:"Antd Tabs",paraId:2,tocIndex:2},{value:"TabsProps",paraId:2,tocIndex:2},{value:"-",paraId:2,tocIndex:2},{value:"showSetting",paraId:2,tocIndex:2},{value:"\u662F\u5426\u5C55\u793A\u201C\u5217\u8BBE\u7F6E\u201D\u6309\u94AE",paraId:2,tocIndex:2},{value:"boolean",paraId:2,tocIndex:2},{value:"-",paraId:2,tocIndex:2},{value:"\u9664 Antd Table \u5C5E\u6027\u5916\uFF0C\u8FD8\u6269\u5C55\u4E86\u4EE5\u4E0B\u5C5E\u6027\u3002",paraId:3,tocIndex:3},{value:"\u53C2\u6570",paraId:4,tocIndex:3},{value:"\u63CF\u8FF0",paraId:4,tocIndex:3},{value:"\u7C7B\u578B",paraId:4,tocIndex:3},{value:"\u9ED8\u8BA4\u503C",paraId:4,tocIndex:3},{value:"showRowNumber",paraId:4,tocIndex:3},{value:"\u662F\u5426\u5C55\u793A\u5E8F\u53F7\u5217",paraId:4,tocIndex:3},{value:"boolean",paraId:4,tocIndex:3},{value:"-",paraId:4,tocIndex:3},{value:"rowNumberColumnData",paraId:4,tocIndex:3},{value:"\u5E8F\u53F7\u5217 Antd \u914D\u7F6E\u6570\u636E",paraId:4,tocIndex:3},{value:"ColumnType",paraId:4,tocIndex:3},{value:"-",paraId:4,tocIndex:3},{value:"actionItems",paraId:4,tocIndex:3},{value:"\u64CD\u4F5C\u5217\u6309\u94AE\u5185\u5BB9\uFF0C\u4E0D\u5B58\u5728\u5219\u4E0D\u5C55\u793A\u64CD\u4F5C\u5217\uFF0C\u6570\u91CF\u8D85\u8FC7\u8BBE\u5B9A\u9608\u503C\u5219\u4E0B\u62C9\u4EA4\u4E92",paraId:4,tocIndex:3},{value:"(record: IObjectAny, index: number) => IActionItem[]",paraId:4,tocIndex:3},{value:"-",paraId:4,tocIndex:3},{value:"actionItemsColumnData",paraId:4,tocIndex:3},{value:"\u64CD\u4F5C\u5217 Antd \u914D\u7F6E\u6570\u636E\uFF0C\u53EF\u914D\u7F6E\u64CD\u4F5C\u5217\u5BBD\u5EA6\u7B49",paraId:4,tocIndex:3},{value:"ColumnType",paraId:4,tocIndex:3},{value:"-",paraId:4,tocIndex:3},{value:"actionItemsCount",paraId:4,tocIndex:3},{value:"\u64CD\u4F5C\u5217\u6309\u94AE\u4E0B\u62C9\u4EA4\u4E92\u9608\u503C\uFF0C\u9ED8\u8BA4\u4E3A 2",paraId:4,tocIndex:3},{value:"number",paraId:4,tocIndex:3},{value:"2",paraId:4,tocIndex:3},{value:"actionItemsDropdownProps",paraId:4,tocIndex:3},{value:"\u64CD\u4F5C\u6309\u94AE\u4E0B\u62C9\u83DC\u5355\u5C5E\u6027\uFF0C\u89C1 Antd Dropdown \u7EC4\u4EF6",paraId:4,tocIndex:3},{value:"DropDownProps",paraId:4,tocIndex:3},{value:"-",paraId:4,tocIndex:3},{value:"sortMode",paraId:4,tocIndex:3},{value:"\u6392\u5E8F\u65B9\u6848\uFF0C\u524D\u7AEF\u6392\u5E8F\u6216\u540E\u7AEF\u6392\u5E8F",paraId:4,tocIndex:3},{value:"'local' | 'local-all' | 'service' | 'service-all'",paraId:4,tocIndex:3},{value:"-",paraId:4,tocIndex:3},{value:"sortStringValueTransform",paraId:4,tocIndex:3},{value:"\u6392\u5E8F\u5B57\u7B26\u4E32\u6570\u636E\u8F6C\u6362\u65B9\u6848",paraId:4,tocIndex:3},{value:"(value: string) => string",paraId:4,tocIndex:3},{value:"-",paraId:4,tocIndex:3},{value:"autoScrollY",paraId:4,tocIndex:3},{value:"\u662F\u5426\u81EA\u52A8\u8BA1\u7B97\u8868\u683C scrollY \u5C5E\u6027\uFF0C\u8FBE\u5230\u9002\u914D\u5C4F\u5E55\u9AD8\u5EA6\uFF0C\u201D\u4E00\u5C4F\u663E\u793A\u201C\u6548\u679C",paraId:4,tocIndex:3},{value:"boolean",paraId:4,tocIndex:3},{value:"false",paraId:4,tocIndex:3},{value:"summaryText",paraId:4,tocIndex:3},{value:"\u5408\u8BA1\u680F\u6587\u6848",paraId:4,tocIndex:3},{value:"ReactNode",paraId:4,tocIndex:3},{value:"\u5408\u8BA1",paraId:4,tocIndex:3},{value:"registerValueType",paraId:4,tocIndex:3},{value:"\u6CE8\u518C valueType, \u540C\u540D\u5C06\u8986\u76D6",paraId:4,tocIndex:3},{value:"{ [type: string]: (p: { value: any; record: IObjectAny; options: IObjectAny; index: number }) => ReactNode }",paraId:4,tocIndex:3},{value:"-",paraId:4,tocIndex:3},{value:"\u9664 Antd Table Column \u5C5E\u6027\u5916\uFF0C\u8FD8\u6269\u5C55\u4E86\u4EE5\u4E0B\u5C5E\u6027\u3002",paraId:5,tocIndex:4},{value:"\u53C2\u6570",paraId:6,tocIndex:4},{value:"\u63CF\u8FF0",paraId:6,tocIndex:4},{value:"\u7C7B\u578B",paraId:6,tocIndex:4},{value:"\u9ED8\u8BA4\u503C",paraId:6,tocIndex:4},{value:"sortType",paraId:6,tocIndex:4},{value:"\u6392\u5E8F\u7C7B\u578B",paraId:6,tocIndex:4},{value:"'string' | 'number' | 'date'",paraId:6,tocIndex:4},{value:"-",paraId:6,tocIndex:4},{value:"sortDataExtractor",paraId:6,tocIndex:4},{value:"\u6392\u5E8F\u6570\u636E\u53D6\u503C\u51FD\u6570\uFF0C\u590D\u6742\u6570\u636E\u63D0\u53D6\u7528",paraId:6,tocIndex:4},{value:"(record: IObjectAny) => string | number",paraId:6,tocIndex:4},{value:"-",paraId:6,tocIndex:4},{value:"valueType",paraId:6,tocIndex:4},{value:"\u6570\u636E\u663E\u793A\u7C7B\u522B",paraId:6,tocIndex:4},{value:"IValueType | ((record: IObjectAny) => { type: IValueType, [props: string]: any })",paraId:6,tocIndex:4},{value:"-",paraId:6,tocIndex:4},{value:"\u5373 ",paraId:7,tocIndex:5},{value:"IActionItem",paraId:7,tocIndex:5},{value:", \u7EE7\u627F Antd Button \u7EC4\u4EF6\u53C2\u6570\uFF0C\u4EE5\u53CA\u4E0B\u9762\u6269\u5C55\u53C2\u6570\u3002",paraId:7,tocIndex:5},{value:"\u53C2\u6570",paraId:8,tocIndex:5},{value:"\u63CF\u8FF0",paraId:8,tocIndex:5},{value:"\u7C7B\u578B",paraId:8,tocIndex:5},{value:"\u9ED8\u8BA4\u503C",paraId:8,tocIndex:5},{value:"text",paraId:8,tocIndex:5},{value:"\u6309\u94AE\u6587\u6848",paraId:8,tocIndex:5},{value:"ReactNode",paraId:8,tocIndex:5},{value:"-",paraId:8,tocIndex:5},{value:"isShow",paraId:8,tocIndex:5},{value:"\u662F\u5426\u663E\u793A",paraId:8,tocIndex:5},{value:"boolean",paraId:8,tocIndex:5},{value:"-",paraId:8,tocIndex:5},{value:"confirmAgain",paraId:8,tocIndex:5},{value:"\u662F\u5426\u589E\u52A0\u300C\u4E8C\u6B21\u786E\u8BA4\u300D",paraId:8,tocIndex:5},{value:"boolean",paraId:8,tocIndex:5},{value:"-",paraId:8,tocIndex:5},{value:"confirmProps",paraId:8,tocIndex:5},{value:"\u4E8C\u6B21\u786E\u8BA4 Antd Popconfirm \u7EC4\u4EF6\u53C2\u6570",paraId:8,tocIndex:5},{value:"Omit",paraId:8,tocIndex:5},{value:"-",paraId:8,tocIndex:5},{value:"onClick",paraId:8,tocIndex:5},{value:"\u70B9\u51FB\u4E8B\u4EF6\uFF0C\u8FD4\u56DE ",paraId:8,tocIndex:5},{value:"Promise",paraId:8,tocIndex:5},{value:"\uFF0C\u5219\u589E\u52A0 ",paraId:8,tocIndex:5},{value:"loading",paraId:8,tocIndex:5},{value:" \u6548\u679C",paraId:8,tocIndex:5},{value:"(event: MouseEvent) => void | Promise",paraId:8,tocIndex:5},{value:"-",paraId:8,tocIndex:5}],ct={},Rt={title:"API Reference",toc:"content",filename:"examples/form-render-react/800-api-reference.md",lastUpdated:1704422786e3,group:{title:"API \u624B\u518C",order:800},description:"FormRender \u9664\u4E86\u652F\u6301 Core \u7684 API \u5916\uFF0C\u8FD8\u652F\u6301\u4EE5\u4E0B API\u3002"},Pe=[{id:"api-reference",depth:1,title:"API Reference"}],re=[{value:"FormRender",paraId:0,tocIndex:0},{value:" \u9664\u4E86\u652F\u6301 ",paraId:0,tocIndex:0},{value:"Core",paraId:0,tocIndex:0},{value:" \u7684 API \u5916\uFF0C\u8FD8\u652F\u6301\u4EE5\u4E0B API\u3002",paraId:0,tocIndex:0},{value:"\u53C2\u6570",paraId:1,tocIndex:0},{value:"\u63CF\u8FF0",paraId:1,tocIndex:0},{value:"\u7C7B\u578B",paraId:1,tocIndex:0},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:0},{value:"rootClassName",paraId:1,tocIndex:0},{value:"\u6839\u8282\u70B9\u6837\u5F0F\u540D",paraId:1,tocIndex:0},{value:"string",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"rootStyle",paraId:1,tocIndex:0},{value:"\u6839\u8282\u70B9\u6837\u5F0F",paraId:1,tocIndex:0},{value:"string",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"itemLayout",paraId:1,tocIndex:0},{value:"\u8868\u5355\u9879\u5E03\u5C40\u7ED3\u6784",paraId:1,tocIndex:0},{value:"horizontal",paraId:1,tocIndex:0},{value:" | ",paraId:1,tocIndex:0},{value:"vertical",paraId:1,tocIndex:0},{value:" | ",paraId:1,tocIndex:0},{value:"React.ComponentType",paraId:2,tocIndex:0},{value:"horizontal",paraId:1,tocIndex:0},{value:"readonlyPlaceholder",paraId:1,tocIndex:0},{value:"\u53EA\u8BFB\u72B6\u6001\u6CA1\u6709\u6570\u636E\u65F6\u7684\u5360\u4F4D\u7B26\uFF0C",paraId:1,tocIndex:0},{value:"null",paraId:1,tocIndex:0},{value:"\u3001",paraId:1,tocIndex:0},{value:"undefined",paraId:1,tocIndex:0},{value:"\u3001",paraId:1,tocIndex:0},{value:"\u7A7A\u5B57\u7B26\u4E32",paraId:1,tocIndex:0},{value:" \u4F1A\u88AB\u5224\u5B9A\u4E3A\u7A7A\u6570\u636E",paraId:1,tocIndex:0},{value:"ReactNode",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"labelWidth",paraId:1,tocIndex:0},{value:"\u6807\u7B7E\uFF08\u6807\u9898\u5757\uFF09\u5BBD\u5EA6",paraId:1,tocIndex:0},{value:"number",paraId:1,tocIndex:0},{value:" | ",paraId:1,tocIndex:0},{value:"string",paraId:1,tocIndex:0},{value:"100",paraId:1,tocIndex:0},{value:"labelColon",paraId:1,tocIndex:0},{value:"\u6807\u7B7E\u5192\u53F7",paraId:1,tocIndex:0},{value:"ReactNode",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"labelGap",paraId:1,tocIndex:0},{value:"\u6807\u7B7E\u4E0E\u53F3\u4FA7\u5185\u5BB9\u7684\u95F4\u8DDD",paraId:1,tocIndex:0},{value:"number",paraId:1,tocIndex:0},{value:"15",paraId:1,tocIndex:0},{value:"labelRender",paraId:1,tocIndex:0},{value:"\u81EA\u5B9A\u4E49 label \u6E32\u67D3",paraId:1,tocIndex:0},{value:"(params) => ReactNode",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"locale",paraId:1,tocIndex:0},{value:"\u56FD\u9645\u5316\u8BED\u8A00\u6570\u636E",paraId:1,tocIndex:0},{value:"object",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"actions",paraId:1,tocIndex:0},{value:"\u914D\u7F6E\u64CD\u4F5C\u6309\u94AE\u5C55\u793A\u9879\u53CA\u5176\u987A\u5E8F",paraId:1,tocIndex:0},{value:"string[]",paraId:1,tocIndex:0},{value:'["submit", "reset"]',paraId:1,tocIndex:0},{value:"registerActions",paraId:1,tocIndex:0},{value:"\u6CE8\u518C\u64CD\u4F5C\u884C\u4E3A\uFF0C\u5982\u679C\u662F submit\u3001reset \u5C06\u8986\u76D6\u539F\u6709\u884C\u4E3A",paraId:1,tocIndex:0},{value:"IRegisterActions",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"disableFormOnActionLoading",paraId:1,tocIndex:0},{value:"\u5F53\u64CD\u4F5C\u884C\u4E3A\u6309\u94AE\u5904\u4E8E loading \u72B6\u6001\u65F6\uFF0C\u662F\u5426\u7981\u7528\u8868\u5355",paraId:1,tocIndex:0},{value:"boolean",paraId:1,tocIndex:0},{value:"true",paraId:1,tocIndex:0},{value:"validateFormOnSubmit",paraId:1,tocIndex:0},{value:"\u89E6\u53D1 onSubmit \u4E8B\u4EF6\u524D\u662F\u5426\u6267\u884C\u8868\u5355\u6821\u9A8C\uFF0C\u9ED8\u8BA4\u4E3A true\uFF0C\u6821\u9A8C\u4E0D\u901A\u8FC7\u5C06\u4E0D\u4F1A\u89E6\u53D1 onSubmit \u4E8B\u4EF6",paraId:1,tocIndex:0},{value:"boolean",paraId:1,tocIndex:0},{value:"true",paraId:1,tocIndex:0},{value:"onSubmit",paraId:1,tocIndex:0},{value:"\u63D0\u4EA4\u4E8B\u4EF6",paraId:1,tocIndex:0},{value:"(value: IObjectAny) => IMaybePromise",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"onBeforeReset",paraId:1,tocIndex:0},{value:"\u91CD\u7F6E\u524D\u7F6E\u4E8B\u4EF6\uFF0C\u5982\u679C\u8FD4\u56DE\u6570\u636E\uFF0C\u5219\u4F5C\u4E3A\u65B0\u6570\u636E\u586B\u5165\u8868\u5355",paraId:1,tocIndex:0},{value:"(value: IObjectAny) => IMaybePromise",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"onReset",paraId:1,tocIndex:0},{value:"\u91CD\u7F6E\u4E8B\u4EF6",paraId:1,tocIndex:0},{value:"(value: IObjectAny) => IMaybePromise",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0}],Oe={"examples-search-table-react-020-table-height-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee;return a()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=ce.sent,ne=J.sleep,ce.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=ce.sent,X=oe.default,ce.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=ce.sent,_=k.default,ce.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=ce.sent,Y=te.default,ce.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=ce.sent,D=Ie.default,ee=function(){return r.createElement(D,{style:{height:500,overflow:"hidden"},search:{schema:X},table:{columns:_,autoScrollY:!0},request:function(){var W=c()(a()().mark(function le(q){var xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,ne();case 2:return xe=Y(q.pageSize),Se.abrupt("return",{data:xe,total:100});case 4:case"end":return Se.stop()}},le)}));function B(le){return W.apply(this,arguments)}return B}()})},ce.abrupt("return",{default:ee});case 22:case"end":return ce.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-020-table-height-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' import createDataSource from './helpers/createDataSource' @@ -1098,7 +1098,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-020-table-height-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=L.sent,ne=J.sleep,L.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=L.sent,X=oe.default,L.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=L.sent,_=k.default,L.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=L.sent,D=Ie.default,ee={height:50,lineHeight:"50px",marginTop:16,borderRadius:10,textAlign:"center",background:"lightskyblue"},V=function(){return r.createElement(D,{style:{height:700,overflow:"hidden"},search:{schema:X},table:{columns:_,autoScrollY:!0},request:function(){var B=c()(a()().mark(function q(xe){var Ae;return a()().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ke.next=2,ne();case 2:return Ae=Y(xe.pageSize),ke.abrupt("return",{data:Ae,total:100});case 4:case"end":return ke.stop()}},q)}));function le(q){return B.apply(this,arguments)}return le}(),header:function(){return r.createElement("div",{style:C()(C()({},ee),{},{margin:"0 0 16px 0"})},"Header")},titleTop:function(){return r.createElement("div",{style:ee},"Title Top")},titleBottom:function(){return r.createElement("div",{style:ee},"Title Bottom")},footer:function(){return r.createElement("div",{style:ee},"Footer")}})},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-020-table-height-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' +export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-020-table-height-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=L.sent,ne=J.sleep,L.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=L.sent,X=oe.default,L.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=L.sent,_=k.default,L.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=L.sent,D=Ie.default,ee={height:50,lineHeight:"50px",marginTop:16,borderRadius:10,textAlign:"center",background:"lightskyblue"},V=function(){return r.createElement(D,{style:{height:700,overflow:"hidden"},search:{schema:X},table:{columns:_,autoScrollY:!0},request:function(){var B=c()(a()().mark(function q(xe){var Ae;return a()().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ke.next=2,ne();case 2:return Ae=Y(xe.pageSize),ke.abrupt("return",{data:Ae,total:100});case 4:case"end":return ke.stop()}},q)}));function le(q){return B.apply(this,arguments)}return le}(),header:function(){return r.createElement("div",{style:C()(C()({},ee),{},{margin:"0 0 16px 0"})},"Header")},titleTop:function(){return r.createElement("div",{style:ee},"Title Top")},titleBottom:function(){return r.createElement("div",{style:ee},"Title Bottom")},footer:function(){return r.createElement("div",{style:ee},"Footer")}})},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-020-table-height-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' import createDataSource from './helpers/createDataSource' @@ -1140,7 +1140,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}}},pe={title:"\u9AD8\u5EA6\u81EA\u9002\u5E94 AutoScrollY",toc:"content",filename:"examples/search-table-react/020-table-height.md",lastUpdated:1720589953e3,order:20,description:"\u8868\u683C\u7684 autoScrollY \u5C5E\u6027\u53EF\u4EE5\u63A7\u5236\u5176\u9AD8\u5EA6\u81EA\u9002\u5E94\uFF0C\u4EE5\u5B9E\u73B0\u201C\u4E00\u5C4F\u201D\u663E\u793A\u6548\u679C\uFF0C\u800C\u4E0D\u51FA\u73B0\u9875\u9762\u7EA7\u6EDA\u52A8\u6761\u3002"},je=[{id:"\u9AD8\u5EA6\u81EA\u9002\u5E94-autoscrolly",depth:1,title:"\u9AD8\u5EA6\u81EA\u9002\u5E94 AutoScrollY"},{id:"\u57FA\u7840\u793A\u4F8B",depth:2,title:"\u57FA\u7840\u793A\u4F8B"},{id:"\u6DFB\u52A0\u5B50\u8282\u70B9\u793A\u4F8B",depth:2,title:"\u6DFB\u52A0\u5B50\u8282\u70B9\u793A\u4F8B"}],Ce=[{value:"\u8868\u683C\u7684 ",paraId:0,tocIndex:1},{value:"autoScrollY",paraId:0,tocIndex:1},{value:" \u5C5E\u6027\u53EF\u4EE5\u63A7\u5236\u5176\u9AD8\u5EA6\u81EA\u9002\u5E94\uFF0C\u4EE5\u5B9E\u73B0\u201C\u4E00\u5C4F\u201D\u663E\u793A\u6548\u679C\uFF0C\u800C\u4E0D\u51FA\u73B0\u9875\u9762\u7EA7\u6EDA\u52A8\u6761\u3002",paraId:0,tocIndex:1},{value:"\u5F00\u542F ",paraId:1,tocIndex:1},{value:"autoScrollY",paraId:1,tocIndex:1},{value:" \u5C5E\u6027\u540E\uFF0CAntd Table \u7684 ",paraId:1,tocIndex:1},{value:"scroll.y",paraId:1,tocIndex:1},{value:" \u5C5E\u6027\u4F1A\u81EA\u52A8\u8BA1\u7B97\uFF0C\u53EA\u9700\u8981\u4FDD\u8BC1 ",paraId:1,tocIndex:1},{value:"SearchTable",paraId:1,tocIndex:1},{value:" \u6839\u8282\u70B9\u5143\u7D20\u5B58\u5728\u56FA\u5B9A\u9AD8\u5EA6\u5373\u53EF\u3002",paraId:1,tocIndex:1},{value:"\u6DFB\u52A0 ",paraId:2,tocIndex:2},{value:"header",paraId:2,tocIndex:2},{value:"\u3001",paraId:2,tocIndex:2},{value:"footer",paraId:2,tocIndex:2},{value:"\u3001",paraId:2,tocIndex:2},{value:"titleTop",paraId:2,tocIndex:2},{value:"\u3001",paraId:2,tocIndex:2},{value:"titleBottom",paraId:2,tocIndex:2},{value:" \u5B50\u8282\u70B9\u6548\u679C\u3002",paraId:2,tocIndex:2}],Ne={"examples-search-table-react-030-table-summay-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=W.sent,ne=J.Tag,W.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=W.sent,X=oe.sleep,W.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=W.sent,_=k.default,W.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=W.sent,Y=te.default,W.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=W.sent,D=Ie.default,W.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=W.sent,V=ee.default,ce=function(){return r.createElement(V,{search:{schema:_},table:{columns:Y,scroll:{y:300}},request:function(){var le=c()(a()().mark(function xe(Ae){var Se,ke;return a()().wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:return dt.next=2,X();case 2:return Se=D(Ae.pageSize),ke=Se.reduce(function(gt,Ut){return gt+Ut.goods_price},0).toFixed(2),dt.abrupt("return",{data:Se,total:100,summaryData:{supplier_code:r.createElement(ne,{color:"blue"},"\u81EA\u5B9A\u4E49\u5185\u5BB9"),goods_price:ke}});case 5:case"end":return dt.stop()}},xe)}));function q(xe){return le.apply(this,arguments)}return q}()})},W.abrupt("return",{default:ce});case 26:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-030-table-summay-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Tag } from 'antd' +export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}}},pe={title:"\u9AD8\u5EA6\u81EA\u9002\u5E94 AutoScrollY",toc:"content",filename:"examples/search-table-react/020-table-height.md",lastUpdated:1720589953e3,order:20,description:"\u8868\u683C\u7684 autoScrollY \u5C5E\u6027\u53EF\u4EE5\u63A7\u5236\u5176\u9AD8\u5EA6\u81EA\u9002\u5E94\uFF0C\u4EE5\u5B9E\u73B0\u201C\u4E00\u5C4F\u201D\u663E\u793A\u6548\u679C\uFF0C\u800C\u4E0D\u51FA\u73B0\u9875\u9762\u7EA7\u6EDA\u52A8\u6761\u3002"},je=[{id:"\u9AD8\u5EA6\u81EA\u9002\u5E94-autoscrolly",depth:1,title:"\u9AD8\u5EA6\u81EA\u9002\u5E94 AutoScrollY"},{id:"\u57FA\u7840\u793A\u4F8B",depth:2,title:"\u57FA\u7840\u793A\u4F8B"},{id:"\u6DFB\u52A0\u5B50\u8282\u70B9\u793A\u4F8B",depth:2,title:"\u6DFB\u52A0\u5B50\u8282\u70B9\u793A\u4F8B"}],Ce=[{value:"\u8868\u683C\u7684 ",paraId:0,tocIndex:1},{value:"autoScrollY",paraId:0,tocIndex:1},{value:" \u5C5E\u6027\u53EF\u4EE5\u63A7\u5236\u5176\u9AD8\u5EA6\u81EA\u9002\u5E94\uFF0C\u4EE5\u5B9E\u73B0\u201C\u4E00\u5C4F\u201D\u663E\u793A\u6548\u679C\uFF0C\u800C\u4E0D\u51FA\u73B0\u9875\u9762\u7EA7\u6EDA\u52A8\u6761\u3002",paraId:0,tocIndex:1},{value:"\u5F00\u542F ",paraId:1,tocIndex:1},{value:"autoScrollY",paraId:1,tocIndex:1},{value:" \u5C5E\u6027\u540E\uFF0CAntd Table \u7684 ",paraId:1,tocIndex:1},{value:"scroll.y",paraId:1,tocIndex:1},{value:" \u5C5E\u6027\u4F1A\u81EA\u52A8\u8BA1\u7B97\uFF0C\u53EA\u9700\u8981\u4FDD\u8BC1 ",paraId:1,tocIndex:1},{value:"SearchTable",paraId:1,tocIndex:1},{value:" \u6839\u8282\u70B9\u5143\u7D20\u5B58\u5728\u56FA\u5B9A\u9AD8\u5EA6\u5373\u53EF\u3002",paraId:1,tocIndex:1},{value:"\u6DFB\u52A0 ",paraId:2,tocIndex:2},{value:"header",paraId:2,tocIndex:2},{value:"\u3001",paraId:2,tocIndex:2},{value:"footer",paraId:2,tocIndex:2},{value:"\u3001",paraId:2,tocIndex:2},{value:"titleTop",paraId:2,tocIndex:2},{value:"\u3001",paraId:2,tocIndex:2},{value:"titleBottom",paraId:2,tocIndex:2},{value:" \u5B50\u8282\u70B9\u6548\u679C\u3002",paraId:2,tocIndex:2}],Ne={"examples-search-table-react-030-table-summay-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=W.sent,ne=J.Tag,W.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=W.sent,X=oe.sleep,W.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=W.sent,_=k.default,W.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=W.sent,Y=te.default,W.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=W.sent,D=Ie.default,W.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=W.sent,V=ee.default,ce=function(){return r.createElement(V,{search:{schema:_},table:{columns:Y,scroll:{y:300}},request:function(){var le=c()(a()().mark(function xe(Ae){var Se,ke;return a()().wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:return dt.next=2,X();case 2:return Se=D(Ae.pageSize),ke=Se.reduce(function(gt,Ut){return gt+Ut.goods_price},0).toFixed(2),dt.abrupt("return",{data:Se,total:100,summaryData:{supplier_code:r.createElement(ne,{color:"blue"},"\u81EA\u5B9A\u4E49\u5185\u5BB9"),goods_price:ke}});case 5:case"end":return dt.stop()}},xe)}));function q(xe){return le.apply(this,arguments)}return q}()})},W.abrupt("return",{default:ce});case 26:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-030-table-summay-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Tag } from 'antd' import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' @@ -1180,7 +1180,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-030-table-summay-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=W.sent,ne=J.Tag,W.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=W.sent,X=oe.sleep,W.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=W.sent,_=k.default,W.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=W.sent,Y=te.default,W.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=W.sent,D=Ie.default,W.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=W.sent,V=ee.default,ce=function(){var le=function(){return[{text:"\u7F16\u8F91"},{text:"\u5220\u9664"}]},q=r.createElement("div",{style:{color:"red",fontWeight:"bold"}},"\u5408\u8BA1");return r.createElement(V,{search:{schema:_},table:{columns:Y,scroll:{y:300},showRowNumber:!0,summaryText:q,actionItems:le},request:function(){var xe=c()(a()().mark(function Se(ke){var et,dt;return a()().wrap(function(Ut){for(;;)switch(Ut.prev=Ut.next){case 0:return Ut.next=2,X();case 2:return et=D(ke.pageSize),dt=et.reduce(function(Mt,Wt){return Mt+Wt.goods_price},0).toFixed(2),Ut.abrupt("return",{data:et,total:100,summaryData:{supplier_code:r.createElement(ne,{color:"blue"},"\u81EA\u5B9A\u4E49\u5185\u5BB9"),goods_price:dt}});case 5:case"end":return Ut.stop()}},Se)}));function Ae(Se){return xe.apply(this,arguments)}return Ae}()})},W.abrupt("return",{default:ce});case 26:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-030-table-summay-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Tag } from 'antd' +export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-030-table-summay-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=W.sent,ne=J.Tag,W.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=W.sent,X=oe.sleep,W.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=W.sent,_=k.default,W.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=W.sent,Y=te.default,W.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=W.sent,D=Ie.default,W.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=W.sent,V=ee.default,ce=function(){var le=function(){return[{text:"\u7F16\u8F91"},{text:"\u5220\u9664"}]},q=r.createElement("div",{style:{color:"red",fontWeight:"bold"}},"\u5408\u8BA1");return r.createElement(V,{search:{schema:_},table:{columns:Y,scroll:{y:300},showRowNumber:!0,summaryText:q,actionItems:le},request:function(){var xe=c()(a()().mark(function Se(ke){var et,dt;return a()().wrap(function(Ut){for(;;)switch(Ut.prev=Ut.next){case 0:return Ut.next=2,X();case 2:return et=D(ke.pageSize),dt=et.reduce(function(Mt,Wt){return Mt+Wt.goods_price},0).toFixed(2),Ut.abrupt("return",{data:et,total:100,summaryData:{supplier_code:r.createElement(ne,{color:"blue"},"\u81EA\u5B9A\u4E49\u5185\u5BB9"),goods_price:dt}});case 5:case"end":return Ut.stop()}},Se)}));function Ae(Se){return xe.apply(this,arguments)}return Ae}()})},W.abrupt("return",{default:ce});case 26:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-030-table-summay-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Tag } from 'antd' import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' @@ -1226,7 +1226,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-030-table-summay-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=W.sent,ne=J.Tag,W.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=W.sent,X=oe.sleep,W.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=W.sent,_=k.default,W.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=W.sent,Y=te.default,W.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=W.sent,D=Ie.default,W.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=W.sent,V=ee.default,ce=function(){var le=function(){return[{text:"\u7F16\u8F91"},{text:"\u5220\u9664"}]};return r.createElement(V,{search:{schema:_},table:{columns:Y,scroll:{y:300},actionItems:le,rowSelection:{columnWidth:60,fixed:!0,type:"checkbox"}},request:function(){var q=c()(a()().mark(function Ae(Se){var ke,et;return a()().wrap(function(gt){for(;;)switch(gt.prev=gt.next){case 0:return gt.next=2,X();case 2:return ke=D(Se.pageSize),et=ke.reduce(function(Ut,Mt){return Ut+Mt.goods_price},0).toFixed(2),gt.abrupt("return",{data:ke,total:100,summaryData:{supplier_code:r.createElement(ne,{color:"blue"},"\u81EA\u5B9A\u4E49\u5185\u5BB9"),goods_price:et}});case 5:case"end":return gt.stop()}},Ae)}));function xe(Ae){return q.apply(this,arguments)}return xe}()})},W.abrupt("return",{default:ce});case 26:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-030-table-summay-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Tag } from 'antd' +export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-030-table-summay-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=W.sent,ne=J.Tag,W.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=W.sent,X=oe.sleep,W.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=W.sent,_=k.default,W.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=W.sent,Y=te.default,W.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=W.sent,D=Ie.default,W.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=W.sent,V=ee.default,ce=function(){var le=function(){return[{text:"\u7F16\u8F91"},{text:"\u5220\u9664"}]};return r.createElement(V,{search:{schema:_},table:{columns:Y,scroll:{y:300},actionItems:le,rowSelection:{columnWidth:60,fixed:!0,type:"checkbox"}},request:function(){var q=c()(a()().mark(function Ae(Se){var ke,et;return a()().wrap(function(gt){for(;;)switch(gt.prev=gt.next){case 0:return gt.next=2,X();case 2:return ke=D(Se.pageSize),et=ke.reduce(function(Ut,Mt){return Ut+Mt.goods_price},0).toFixed(2),gt.abrupt("return",{data:ke,total:100,summaryData:{supplier_code:r.createElement(ne,{color:"blue"},"\u81EA\u5B9A\u4E49\u5185\u5BB9"),goods_price:et}});case 5:case"end":return gt.stop()}},Ae)}));function xe(Ae){return q.apply(this,arguments)}return xe}()})},W.abrupt("return",{default:ce});case 26:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-030-table-summay-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Tag } from 'antd' import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' @@ -1274,7 +1274,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-030-table-summay-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=W.sent,ne=J.Tag,W.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=W.sent,X=oe.sleep,W.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=W.sent,_=k.default,W.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=W.sent,Y=te.default,W.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=W.sent,D=Ie.default,W.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=W.sent,V=ee.default,ce=function(){var le=function(){return[{text:"\u7F16\u8F91"},{text:"\u5220\u9664"}]};return r.createElement(V,{search:{schema:_},table:{columns:Y,scroll:{y:300},showRowNumber:!0,actionItems:le,rowSelection:{type:"checkbox"}},request:function(){var q=c()(a()().mark(function Ae(Se){var ke,et;return a()().wrap(function(gt){for(;;)switch(gt.prev=gt.next){case 0:return gt.next=2,X();case 2:return ke=D(Se.pageSize),et=ke.reduce(function(Ut,Mt){return Ut+Mt.goods_price},0).toFixed(2),gt.abrupt("return",{data:ke,total:100,summaryData:{supplier_code:r.createElement(ne,{color:"blue"},"\u81EA\u5B9A\u4E49\u5185\u5BB9"),goods_price:et}});case 5:case"end":return gt.stop()}},Ae)}));function xe(Ae){return q.apply(this,arguments)}return xe}()})},W.abrupt("return",{default:ce});case 26:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-030-table-summay-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Tag } from 'antd' +export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-030-table-summay-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=W.sent,ne=J.Tag,W.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=W.sent,X=oe.sleep,W.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=W.sent,_=k.default,W.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=W.sent,Y=te.default,W.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=W.sent,D=Ie.default,W.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=W.sent,V=ee.default,ce=function(){var le=function(){return[{text:"\u7F16\u8F91"},{text:"\u5220\u9664"}]};return r.createElement(V,{search:{schema:_},table:{columns:Y,scroll:{y:300},showRowNumber:!0,actionItems:le,rowSelection:{type:"checkbox"}},request:function(){var q=c()(a()().mark(function Ae(Se){var ke,et;return a()().wrap(function(gt){for(;;)switch(gt.prev=gt.next){case 0:return gt.next=2,X();case 2:return ke=D(Se.pageSize),et=ke.reduce(function(Ut,Mt){return Ut+Mt.goods_price},0).toFixed(2),gt.abrupt("return",{data:ke,total:100,summaryData:{supplier_code:r.createElement(ne,{color:"blue"},"\u81EA\u5B9A\u4E49\u5185\u5BB9"),goods_price:et}});case 5:case"end":return gt.stop()}},Ae)}));function xe(Ae){return q.apply(this,arguments)}return xe}()})},W.abrupt("return",{default:ce});case 26:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-030-table-summay-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Tag } from 'antd' import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' @@ -1321,7 +1321,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-030-table-summay-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=B.sent,ne=J.Tag,B.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=B.sent,X=oe.sleep,B.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=B.sent,_=k.default,B.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=B.sent,Y=te.default,B.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=B.sent,D=Ie.default,B.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=B.sent,V=ee.default,ce={width:116,height:"100%",background:"white",position:"absolute",left:-48,top:0,display:"flex",alignItems:"center",justifyContent:"center"},L=function(){var q=function(){return[{text:"\u7F16\u8F91"},{text:"\u5220\u9664"}]},xe=r.createElement("div",{style:ce},"\u5408\u8BA1");return r.createElement(V,{search:{schema:_},table:{columns:Y,scroll:{y:300},showRowNumber:!0,bordered:!0,summaryText:xe,actionItems:q,rowSelection:{type:"checkbox"}},request:function(){var Ae=c()(a()().mark(function ke(et){var dt,gt;return a()().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return Mt.next=2,X();case 2:return dt=D(et.pageSize),gt=dt.reduce(function(Wt,ln){return Wt+ln.goods_price},0).toFixed(2),Mt.abrupt("return",{data:dt,total:100,summaryData:{supplier_code:r.createElement(ne,{color:"blue"},"\u81EA\u5B9A\u4E49\u5185\u5BB9"),goods_price:gt}});case 5:case"end":return Mt.stop()}},ke)}));function Se(ke){return Ae.apply(this,arguments)}return Se}()})},B.abrupt("return",{default:L});case 27:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-030-table-summay-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Tag } from 'antd' +export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-030-table-summay-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=B.sent,ne=J.Tag,B.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=B.sent,X=oe.sleep,B.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=B.sent,_=k.default,B.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=B.sent,Y=te.default,B.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=B.sent,D=Ie.default,B.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=B.sent,V=ee.default,ce={width:116,height:"100%",background:"white",position:"absolute",left:-48,top:0,display:"flex",alignItems:"center",justifyContent:"center"},L=function(){var q=function(){return[{text:"\u7F16\u8F91"},{text:"\u5220\u9664"}]},xe=r.createElement("div",{style:ce},"\u5408\u8BA1");return r.createElement(V,{search:{schema:_},table:{columns:Y,scroll:{y:300},showRowNumber:!0,bordered:!0,summaryText:xe,actionItems:q,rowSelection:{type:"checkbox"}},request:function(){var Ae=c()(a()().mark(function ke(et){var dt,gt;return a()().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return Mt.next=2,X();case 2:return dt=D(et.pageSize),gt=dt.reduce(function(Wt,ln){return Wt+ln.goods_price},0).toFixed(2),Mt.abrupt("return",{data:dt,total:100,summaryData:{supplier_code:r.createElement(ne,{color:"blue"},"\u81EA\u5B9A\u4E49\u5185\u5BB9"),goods_price:gt}});case 5:case"end":return Mt.stop()}},ke)}));function Se(ke){return Ae.apply(this,arguments)}return Se}()})},B.abrupt("return",{default:L});case 27:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-030-table-summay-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Tag } from 'antd' import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' @@ -1385,7 +1385,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-030-table-summay-demo-5":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=W.sent,ne=J.Tag,W.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=W.sent,X=oe.sleep,W.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=W.sent,_=k.default,W.next=14,e.e(3102).then(e.bind(e,83102));case 14:return te=W.sent,Y=te.default,W.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=W.sent,D=Ie.default,W.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=W.sent,V=ee.default,ce=function(){var le=function(){return[{text:"\u7F16\u8F91"},{text:"\u5220\u9664"}]};return r.createElement(V,{search:{schema:_},table:{columns:Y,scroll:{y:300},showRowNumber:!0,bordered:!0,actionItems:le},request:function(){var q=c()(a()().mark(function Ae(Se){var ke,et;return a()().wrap(function(gt){for(;;)switch(gt.prev=gt.next){case 0:return gt.next=2,X();case 2:return ke=D(Se.pageSize),et=ke.reduce(function(Ut,Mt){return Ut+Mt.goods_price},0).toFixed(2),gt.abrupt("return",{data:ke,total:100,summaryData:{supplier_code:r.createElement(ne,{color:"blue"},"\u81EA\u5B9A\u4E49\u5185\u5BB9"),goods_price:et}});case 5:case"end":return gt.stop()}},Ae)}));function xe(Ae){return q.apply(this,arguments)}return xe}()})},W.abrupt("return",{default:ce});case 26:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-030-table-summay-demo-5",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Tag } from 'antd' +export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-030-table-summay-demo-5":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=W.sent,ne=J.Tag,W.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=W.sent,X=oe.sleep,W.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=W.sent,_=k.default,W.next=14,e.e(3102).then(e.bind(e,83102));case 14:return te=W.sent,Y=te.default,W.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=W.sent,D=Ie.default,W.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=W.sent,V=ee.default,ce=function(){var le=function(){return[{text:"\u7F16\u8F91"},{text:"\u5220\u9664"}]};return r.createElement(V,{search:{schema:_},table:{columns:Y,scroll:{y:300},showRowNumber:!0,bordered:!0,actionItems:le},request:function(){var q=c()(a()().mark(function Ae(Se){var ke,et;return a()().wrap(function(gt){for(;;)switch(gt.prev=gt.next){case 0:return gt.next=2,X();case 2:return ke=D(Se.pageSize),et=ke.reduce(function(Ut,Mt){return Ut+Mt.goods_price},0).toFixed(2),gt.abrupt("return",{data:ke,total:100,summaryData:{supplier_code:r.createElement(ne,{color:"blue"},"\u81EA\u5B9A\u4E49\u5185\u5BB9"),goods_price:et}});case 5:case"end":return gt.stop()}},Ae)}));function xe(Ae){return q.apply(this,arguments)}return xe}()})},W.abrupt("return",{default:ce});case 26:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-030-table-summay-demo-5",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Tag } from 'antd' import { sleep } from '@examples/utils' import schema from './helpers/schema' import treeColumns from './helpers/columns-tree' @@ -1431,7 +1431,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns-tree.ts":{type:"FILE",value:e(69710).Z}}}}},Fe={title:"\u5408\u8BA1\u680F Summary",toc:"content",filename:"examples/search-table-react/030-table-summay.md",lastUpdated:1720589953e3,order:30,description:"\u5185\u7F6E\u201C\u5408\u8BA1\u201D\u6570\u636E\u663E\u793A\u529F\u80FD\uFF0C\u53EA\u9700\u5728 request \u91CC\u8FD4\u56DE summaryData \u6570\u636E\u5373\u53EF\uFF0C\u6570\u636E\u5B57\u6BB5\u5BF9\u5E94\u8868\u683C\u5217\u7684 dataIndex \u5B57\u6BB5\uFF0C\u5408\u8BA1\u6570\u636E\u7684\u4F4D\u7F6E\u5C06\u6839\u636E\u6B64\u5BF9\u5E94\u5173\u7CFB\u81EA\u52A8\u8BA1\u7B97\u3002"},Xe=[{id:"\u5408\u8BA1\u680F-summary",depth:1,title:"\u5408\u8BA1\u680F Summary"},{id:"\u57FA\u7840\u529F\u80FD",depth:2,title:"\u57FA\u7840\u529F\u80FD"},{id:"\u81EA\u5B9A\u4E49\u5408\u8BA1\u6587\u6848",depth:2,title:"\u81EA\u5B9A\u4E49\u5408\u8BA1\u6587\u6848"},{id:"\u9009\u4E2D\u680F\u6548\u679C",depth:2,title:"\u9009\u4E2D\u680F\u6548\u679C"},{id:"\u5D4C\u5957\u8868\u5934",depth:2,title:"\u5D4C\u5957\u8868\u5934"}],lt=[{value:"\u5185\u7F6E\u201C\u5408\u8BA1\u201D\u6570\u636E\u663E\u793A\u529F\u80FD\uFF0C\u53EA\u9700\u5728 ",paraId:0,tocIndex:1},{value:"request",paraId:0,tocIndex:1},{value:" \u91CC\u8FD4\u56DE ",paraId:0,tocIndex:1},{value:"summaryData",paraId:0,tocIndex:1},{value:" \u6570\u636E\u5373\u53EF\uFF0C\u6570\u636E\u5B57\u6BB5\u5BF9\u5E94\u8868\u683C\u5217\u7684 ",paraId:0,tocIndex:1},{value:"dataIndex",paraId:0,tocIndex:1},{value:" \u5B57\u6BB5\uFF0C\u5408\u8BA1\u6570\u636E\u7684\u4F4D\u7F6E\u5C06\u6839\u636E\u6B64\u5BF9\u5E94\u5173\u7CFB\u81EA\u52A8\u8BA1\u7B97\u3002",paraId:0,tocIndex:1},{value:"\u901A\u8FC7 ",paraId:1,tocIndex:2},{value:"summaryText",paraId:1,tocIndex:2},{value:" \u53EF\u5B9A\u4E49 ",paraId:1,tocIndex:2},{value:"\u5408\u8BA1",paraId:1,tocIndex:2},{value:" \u6587\u6848\uFF0C\u4F1A\u5728\u5E8F\u53F7\u680F\u663E\u793A\u3002",paraId:1,tocIndex:2},{value:"\u53EA\u6709",paraId:2,tocIndex:3},{value:"\u9009\u4E2D\u680F",paraId:2,tocIndex:3},{value:"\u3002",paraId:2,tocIndex:3},{value:"\u9009\u4E2D\u680F",paraId:3},{value:" \u4E0E ",paraId:3},{value:"\u5E8F\u53F7\u680F",paraId:3},{value:" \u540C\u65F6\u5B58\u5728\u3002",paraId:3},{value:"\u540C\u65F6\u5B58\u5728\u65F6\uFF0C\u201C\u5408\u8BA1\u201D \u6587\u6848\u5360\u636E\u4E24\u4E2A\u5355\u5143\u683C\u3002",paraId:4}],Ft={"examples-core-react-953-disabled-component-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useState,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 14:return te=L.sent,Y=te.Button,Ie=te.Input,D={InputText:{component:function(B){var le,q=B.schema,xe=B.value,Ae=B.disabled,Se=B.readonly,ke=B.onChange;return r.createElement(Ie,C()(C()({allowClear:!0,placeholder:"\u8BF7\u8F93\u5165".concat((le=q.title)!==null&&le!==void 0?le:"")},q.renderOptions),{},{value:xe!=null?xe:"",disabled:Ae,onChange:function(dt){return ke(dt.target.value)}}))},readonlyComponent:function(B){var le=B.value;return r.createElement(r.Fragment,null,le)},disabledComponent:function(B){var le=B.value;return r.createElement(r.Fragment,null,"Disabled: ",le)}},TextArea:{component:function(B){var le,q=B.schema,xe=B.value,Ae=B.disabled,Se=B.onChange;return r.createElement(Ie.TextArea,C()(C()({rows:3,placeholder:"\u8BF7\u8F93\u5165".concat((le=q.title)!==null&&le!==void 0?le:"")},q.renderOptions),{},{value:xe!=null?xe:"",onChange:function(et){return Se(et.target.value)},disabled:Ae}))},readonlyComponent:function(B){var le=B.value;return r.createElement("div",null,le)}}},ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"TextArea"}}},V=function(){var B=ne(!1),le=o()(B,2),q=le[0],xe=le[1],Ae=ne(!1),Se=o()(Ae,2),ke=Se[0],et=Se[1],dt=ne({title:"SchemaRender \u662F\u4EC0\u4E48",content:"SchemaRender \u662F\u4E00\u5957\u66F4\u597D\u7528\u7684\u8868\u5355\u6E32\u67D3\u89E3\u51B3\u65B9\u6848"}),gt=o()(dt,2),Ut=gt[0],Mt=gt[1];return r.createElement("div",{style:{maxWidth:500}},r.createElement(X,{schema:ee,itemLayout:_,renderers:D,value:Ut,onChange:Mt,readonly:q,disabled:ke}),r.createElement(Y,{style:{margin:"20px 0 0 115px"},type:"primary",onClick:function(){return et(!ke)}},ke?"\u53D6\u6D88":"\u5207\u6362\u5230"," disabled \u72B6\u6001"),r.createElement(Y,{style:{margin:"20px 0 0 115px"},onClick:function(){return xe(!q)}},q?"\u53D6\u6D88":"\u5207\u6362\u5230"," readonly \u72B6\u6001"))},L.abrupt("return",{default:V});case 21:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-953-disabled-component-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns-tree.ts":{type:"FILE",value:e(69710).Z}}}}},Fe={title:"\u5408\u8BA1\u680F Summary",toc:"content",filename:"examples/search-table-react/030-table-summay.md",lastUpdated:1720589953e3,order:30,description:"\u5185\u7F6E\u201C\u5408\u8BA1\u201D\u6570\u636E\u663E\u793A\u529F\u80FD\uFF0C\u53EA\u9700\u5728 request \u91CC\u8FD4\u56DE summaryData \u6570\u636E\u5373\u53EF\uFF0C\u6570\u636E\u5B57\u6BB5\u5BF9\u5E94\u8868\u683C\u5217\u7684 dataIndex \u5B57\u6BB5\uFF0C\u5408\u8BA1\u6570\u636E\u7684\u4F4D\u7F6E\u5C06\u6839\u636E\u6B64\u5BF9\u5E94\u5173\u7CFB\u81EA\u52A8\u8BA1\u7B97\u3002"},Xe=[{id:"\u5408\u8BA1\u680F-summary",depth:1,title:"\u5408\u8BA1\u680F Summary"},{id:"\u57FA\u7840\u529F\u80FD",depth:2,title:"\u57FA\u7840\u529F\u80FD"},{id:"\u81EA\u5B9A\u4E49\u5408\u8BA1\u6587\u6848",depth:2,title:"\u81EA\u5B9A\u4E49\u5408\u8BA1\u6587\u6848"},{id:"\u9009\u4E2D\u680F\u6548\u679C",depth:2,title:"\u9009\u4E2D\u680F\u6548\u679C"},{id:"\u5D4C\u5957\u8868\u5934",depth:2,title:"\u5D4C\u5957\u8868\u5934"}],lt=[{value:"\u5185\u7F6E\u201C\u5408\u8BA1\u201D\u6570\u636E\u663E\u793A\u529F\u80FD\uFF0C\u53EA\u9700\u5728 ",paraId:0,tocIndex:1},{value:"request",paraId:0,tocIndex:1},{value:" \u91CC\u8FD4\u56DE ",paraId:0,tocIndex:1},{value:"summaryData",paraId:0,tocIndex:1},{value:" \u6570\u636E\u5373\u53EF\uFF0C\u6570\u636E\u5B57\u6BB5\u5BF9\u5E94\u8868\u683C\u5217\u7684 ",paraId:0,tocIndex:1},{value:"dataIndex",paraId:0,tocIndex:1},{value:" \u5B57\u6BB5\uFF0C\u5408\u8BA1\u6570\u636E\u7684\u4F4D\u7F6E\u5C06\u6839\u636E\u6B64\u5BF9\u5E94\u5173\u7CFB\u81EA\u52A8\u8BA1\u7B97\u3002",paraId:0,tocIndex:1},{value:"\u901A\u8FC7 ",paraId:1,tocIndex:2},{value:"summaryText",paraId:1,tocIndex:2},{value:" \u53EF\u5B9A\u4E49 ",paraId:1,tocIndex:2},{value:"\u5408\u8BA1",paraId:1,tocIndex:2},{value:" \u6587\u6848\uFF0C\u4F1A\u5728\u5E8F\u53F7\u680F\u663E\u793A\u3002",paraId:1,tocIndex:2},{value:"\u53EA\u6709",paraId:2,tocIndex:3},{value:"\u9009\u4E2D\u680F",paraId:2,tocIndex:3},{value:"\u3002",paraId:2,tocIndex:3},{value:"\u9009\u4E2D\u680F",paraId:3},{value:" \u4E0E ",paraId:3},{value:"\u5E8F\u53F7\u680F",paraId:3},{value:" \u540C\u65F6\u5B58\u5728\u3002",paraId:3},{value:"\u540C\u65F6\u5B58\u5728\u65F6\uFF0C\u201C\u5408\u8BA1\u201D \u6587\u6848\u5360\u636E\u4E24\u4E2A\u5355\u5143\u683C\u3002",paraId:4}],Ft={"examples-core-react-953-disabled-component-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useState,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 14:return te=L.sent,Y=te.Button,Ie=te.Input,D={InputText:{component:function(B){var le,q=B.schema,xe=B.value,Ae=B.disabled,Se=B.readonly,ke=B.onChange;return r.createElement(Ie,C()(C()({allowClear:!0,placeholder:"\u8BF7\u8F93\u5165".concat((le=q.title)!==null&&le!==void 0?le:"")},q.renderOptions),{},{value:xe!=null?xe:"",disabled:Ae,onChange:function(dt){return ke(dt.target.value)}}))},readonlyComponent:function(B){var le=B.value;return r.createElement(r.Fragment,null,le)},disabledComponent:function(B){var le=B.value;return r.createElement(r.Fragment,null,"Disabled: ",le)}},TextArea:{component:function(B){var le,q=B.schema,xe=B.value,Ae=B.disabled,Se=B.onChange;return r.createElement(Ie.TextArea,C()(C()({rows:3,placeholder:"\u8BF7\u8F93\u5165".concat((le=q.title)!==null&&le!==void 0?le:"")},q.renderOptions),{},{value:xe!=null?xe:"",onChange:function(et){return Se(et.target.value)},disabled:Ae}))},readonlyComponent:function(B){var le=B.value;return r.createElement("div",null,le)}}},ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"TextArea"}}},V=function(){var B=ne(!1),le=o()(B,2),q=le[0],xe=le[1],Ae=ne(!1),Se=o()(Ae,2),ke=Se[0],et=Se[1],dt=ne({title:"SchemaRender \u662F\u4EC0\u4E48",content:"SchemaRender \u662F\u4E00\u5957\u66F4\u597D\u7528\u7684\u8868\u5355\u6E32\u67D3\u89E3\u51B3\u65B9\u6848"}),gt=o()(dt,2),Ut=gt[0],Mt=gt[1];return r.createElement("div",{style:{maxWidth:500}},r.createElement(X,{schema:ee,itemLayout:_,renderers:D,value:Ut,onChange:Mt,readonly:q,disabled:ke}),r.createElement(Y,{style:{margin:"20px 0 0 115px"},type:"primary",onClick:function(){return et(!ke)}},ke?"\u53D6\u6D88":"\u5207\u6362\u5230"," disabled \u72B6\u6001"),r.createElement(Y,{style:{margin:"20px 0 0 115px"},onClick:function(){return xe(!q)}},q?"\u53D6\u6D88":"\u5207\u6362\u5230"," readonly \u72B6\u6001"))},L.abrupt("return",{default:V});case 21:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-953-disabled-component-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import Core from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import { Button, Input } from 'antd' @@ -1522,7 +1522,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},antd:{type:"NPM",value:"5.9.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Ot={title:"disabledComponent",toc:"content",filename:"examples/core-react/953-disabled-component.md",lastUpdated:1705648672e3,group:{title:"\u4EC5\u5F00\u53D1\u8C03\u8BD5"},debug:!0,description:"disabledComponent \u4E0E disabledFormItem \u9A8C\u8BC1"},At=[{id:"disabledcomponent",depth:1,title:"disabledComponent"}],Zt=[{value:"disabledComponent",paraId:0,tocIndex:0},{value:" \u4E0E ",paraId:0,tocIndex:0},{value:"disabledFormItem",paraId:0,tocIndex:0},{value:" \u9A8C\u8BC1",paraId:0,tocIndex:0}],Ge={"examples-form-render-react-100-item-layout-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=D.sent,ne=J.useState,D.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},Y=function(){var V=ne({}),ce=o()(V,2),L=ce[0],W=ce[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{itemLayout:"vertical",schema:te,value:L,onChange:W}),r.createElement(X,{value:L}))},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-100-item-layout-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},antd:{type:"NPM",value:"5.9.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Ot={title:"disabledComponent",toc:"content",filename:"examples/core-react/953-disabled-component.md",lastUpdated:1705648672e3,group:{title:"\u4EC5\u5F00\u53D1\u8C03\u8BD5"},debug:!0,description:"disabledComponent \u4E0E disabledFormItem \u9A8C\u8BC1"},At=[{id:"disabledcomponent",depth:1,title:"disabledComponent"}],Zt=[{value:"disabledComponent",paraId:0,tocIndex:0},{value:" \u4E0E ",paraId:0,tocIndex:0},{value:"disabledFormItem",paraId:0,tocIndex:0},{value:" \u9A8C\u8BC1",paraId:0,tocIndex:0}],Ge={"examples-form-render-react-100-item-layout-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=D.sent,ne=J.useState,D.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},Y=function(){var V=ne({}),ce=o()(V,2),L=ce[0],W=ce[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{itemLayout:"vertical",schema:te,value:L,onChange:W}),r.createElement(X,{value:L}))},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-100-item-layout-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import FormRender from '@schema-render/form-render-react' import type { IRootSchema } from '@schema-render/core-react' @@ -1560,7 +1560,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}}}},"examples-form-render-react-100-item-layout-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=D.sent,ne=J.useState,D.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},Y=function(){var V=ne({}),ce=o()(V,2),L=ce[0],W=ce[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{itemLayout:"horizontal",schema:te,value:L,onChange:W}),r.createElement(X,{value:L}))},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-100-item-layout-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}}}},"examples-form-render-react-100-item-layout-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=D.sent,ne=J.useState,D.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},Y=function(){var V=ne({}),ce=o()(V,2),L=ce[0],W=ce[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{itemLayout:"horizontal",schema:te,value:L,onChange:W}),r.createElement(X,{value:L}))},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-100-item-layout-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import FormRender from '@schema-render/form-render-react' import type { IRootSchema } from '@schema-render/core-react' @@ -1598,7 +1598,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}}}}},Je={title:"\u5E03\u5C40\u7ED3\u6784 itemLayout",toc:"content",filename:"examples/form-render-react/100-item-layout.md",lastUpdated:1704082387e3,order:100,description:"FormRender \u5185\u7F6E\u4E86\u7EB5\u5411\u4E0E\u6A2A\u5411\u7684\u5E03\u5C40\u7ED3\u6784\uFF0C\u540C\u65F6\u4E5F\u652F\u6301\u5B9A\u5236\u3002"},at=[{id:"\u5E03\u5C40\u7ED3\u6784-itemlayout",depth:1,title:"\u5E03\u5C40\u7ED3\u6784 itemLayout"},{id:"\u7EB5\u5411\u5E03\u5C40-vertical",depth:2,title:"\u7EB5\u5411\u5E03\u5C40 vertical"},{id:"\u6A2A\u5411\u5E03\u5C40-horizontal",depth:2,title:"\u6A2A\u5411\u5E03\u5C40 horizontal"},{id:"\u5B9A\u5236\u5E03\u5C40",depth:2,title:"\u5B9A\u5236\u5E03\u5C40"}],g=[{value:"FormRender",paraId:0,tocIndex:0},{value:" \u5185\u7F6E\u4E86\u7EB5\u5411\u4E0E\u6A2A\u5411\u7684\u5E03\u5C40\u7ED3\u6784\uFF0C\u540C\u65F6\u4E5F\u652F\u6301\u5B9A\u5236\u3002",paraId:0,tocIndex:0},{value:"\u7EB5\u5411\u5E03\u5C40\u53EA\u9700\u8981\u5728 ",paraId:1,tocIndex:1},{value:"itemLayout",paraId:1,tocIndex:1},{value:" \u5C5E\u6027\u4E0A\u58F0\u660E\u4E3A ",paraId:1,tocIndex:1},{value:"vertical",paraId:1,tocIndex:1},{value:" \u5373\u53EF\u3002",paraId:1,tocIndex:1},{value:"\u6A2A\u5411\u5E03\u5C40\u53EA\u9700\u8981\u5728 ",paraId:2,tocIndex:2},{value:"itemLayout",paraId:2,tocIndex:2},{value:" \u5C5E\u6027\u4E0A\u58F0\u660E\u4E3A ",paraId:2,tocIndex:2},{value:"horizontal",paraId:2,tocIndex:2},{value:" \u5373\u53EF\u3002",paraId:2,tocIndex:2},{value:"\u5B9A\u5236\u5E03\u5C40\u8BF7\u67E5\u770B ",paraId:3,tocIndex:3},{value:"Core \u6587\u6863",paraId:4,tocIndex:3},{value:"\u3002",paraId:3,tocIndex:3}],ae={"examples-search-table-react-040-table-sort-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=B.sent,ne=J.ConfigProvider,B.next=6,e.e(5471).then(e.bind(e,75471));case 6:return oe=B.sent,X=oe.default,B.next=10,e.e(7693).then(e.bind(e,7693));case 10:return k=B.sent,_=k.sleep,B.next=14,e.e(5554).then(e.bind(e,45554));case 14:return te=B.sent,Y=te.default,B.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=B.sent,D=Ie.default,B.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=B.sent,V=ee.default,ce=[{title:"\u4F9B\u5E94\u5546\u540D\u79F0",dataIndex:"supplier_name",width:130},{title:"\u4F9B\u5E94\u5546\u7F16\u7801",dataIndex:"supplier_code"},{title:"\u5355\u636E\u7F16\u53F7",dataIndex:"bill_no",width:130,sortType:"string"},{title:"\u5355\u636E\u7C7B\u578B",dataIndex:"bill_type",sortType:"string",sortDataExtractor:function(q){return q.bill_type}},{title:"\u5236\u5355\u4EBA",dataIndex:"operator"},{title:"\u5546\u54C1\u540D\u79F0",dataIndex:"goods_name",width:130},{title:"\u5546\u54C1\u4EF7\u683C(\u5143)",dataIndex:"goods_price",sortType:"number"},{title:"\u5546\u54C1\u7F16\u7801",dataIndex:"goods_code",width:130},{title:"\u5546\u54C1\u5206\u7C7B",dataIndex:"goods_category"},{title:"\u5546\u54C1\u65E5\u671F",dataIndex:"goods_date",width:120}],L=function(){return r.createElement(ne,{locale:X},r.createElement(V,{search:{schema:Y},table:{columns:ce},request:function(){var q=c()(a()().mark(function Ae(Se){var ke;return a()().wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:return dt.next=2,_();case 2:return ke=D(Se.pageSize),dt.abrupt("return",{data:ke,total:100});case 4:case"end":return dt.stop()}},Ae)}));function xe(Ae){return q.apply(this,arguments)}return xe}()}))},B.abrupt("return",{default:L});case 27:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-040-table-sort-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { ConfigProvider } from 'antd' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}}}}},Je={title:"\u5E03\u5C40\u7ED3\u6784 itemLayout",toc:"content",filename:"examples/form-render-react/100-item-layout.md",lastUpdated:1704082387e3,order:100,description:"FormRender \u5185\u7F6E\u4E86\u7EB5\u5411\u4E0E\u6A2A\u5411\u7684\u5E03\u5C40\u7ED3\u6784\uFF0C\u540C\u65F6\u4E5F\u652F\u6301\u5B9A\u5236\u3002"},at=[{id:"\u5E03\u5C40\u7ED3\u6784-itemlayout",depth:1,title:"\u5E03\u5C40\u7ED3\u6784 itemLayout"},{id:"\u7EB5\u5411\u5E03\u5C40-vertical",depth:2,title:"\u7EB5\u5411\u5E03\u5C40 vertical"},{id:"\u6A2A\u5411\u5E03\u5C40-horizontal",depth:2,title:"\u6A2A\u5411\u5E03\u5C40 horizontal"},{id:"\u5B9A\u5236\u5E03\u5C40",depth:2,title:"\u5B9A\u5236\u5E03\u5C40"}],g=[{value:"FormRender",paraId:0,tocIndex:0},{value:" \u5185\u7F6E\u4E86\u7EB5\u5411\u4E0E\u6A2A\u5411\u7684\u5E03\u5C40\u7ED3\u6784\uFF0C\u540C\u65F6\u4E5F\u652F\u6301\u5B9A\u5236\u3002",paraId:0,tocIndex:0},{value:"\u7EB5\u5411\u5E03\u5C40\u53EA\u9700\u8981\u5728 ",paraId:1,tocIndex:1},{value:"itemLayout",paraId:1,tocIndex:1},{value:" \u5C5E\u6027\u4E0A\u58F0\u660E\u4E3A ",paraId:1,tocIndex:1},{value:"vertical",paraId:1,tocIndex:1},{value:" \u5373\u53EF\u3002",paraId:1,tocIndex:1},{value:"\u6A2A\u5411\u5E03\u5C40\u53EA\u9700\u8981\u5728 ",paraId:2,tocIndex:2},{value:"itemLayout",paraId:2,tocIndex:2},{value:" \u5C5E\u6027\u4E0A\u58F0\u660E\u4E3A ",paraId:2,tocIndex:2},{value:"horizontal",paraId:2,tocIndex:2},{value:" \u5373\u53EF\u3002",paraId:2,tocIndex:2},{value:"\u5B9A\u5236\u5E03\u5C40\u8BF7\u67E5\u770B ",paraId:3,tocIndex:3},{value:"Core \u6587\u6863",paraId:4,tocIndex:3},{value:"\u3002",paraId:3,tocIndex:3}],ae={"examples-search-table-react-040-table-sort-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=B.sent,ne=J.ConfigProvider,B.next=6,e.e(5471).then(e.bind(e,75471));case 6:return oe=B.sent,X=oe.default,B.next=10,e.e(7693).then(e.bind(e,7693));case 10:return k=B.sent,_=k.sleep,B.next=14,e.e(5554).then(e.bind(e,45554));case 14:return te=B.sent,Y=te.default,B.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=B.sent,D=Ie.default,B.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=B.sent,V=ee.default,ce=[{title:"\u4F9B\u5E94\u5546\u540D\u79F0",dataIndex:"supplier_name",width:130},{title:"\u4F9B\u5E94\u5546\u7F16\u7801",dataIndex:"supplier_code"},{title:"\u5355\u636E\u7F16\u53F7",dataIndex:"bill_no",width:130,sortType:"string"},{title:"\u5355\u636E\u7C7B\u578B",dataIndex:"bill_type",sortType:"string",sortDataExtractor:function(q){return q.bill_type}},{title:"\u5236\u5355\u4EBA",dataIndex:"operator"},{title:"\u5546\u54C1\u540D\u79F0",dataIndex:"goods_name",width:130},{title:"\u5546\u54C1\u4EF7\u683C(\u5143)",dataIndex:"goods_price",sortType:"number"},{title:"\u5546\u54C1\u7F16\u7801",dataIndex:"goods_code",width:130},{title:"\u5546\u54C1\u5206\u7C7B",dataIndex:"goods_category"},{title:"\u5546\u54C1\u65E5\u671F",dataIndex:"goods_date",width:120}],L=function(){return r.createElement(ne,{locale:X},r.createElement(V,{search:{schema:Y},table:{columns:ce},request:function(){var q=c()(a()().mark(function Ae(Se){var ke;return a()().wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:return dt.next=2,_();case 2:return ke=D(Se.pageSize),dt.abrupt("return",{data:ke,total:100});case 4:case"end":return dt.stop()}},Ae)}));function xe(Ae){return q.apply(this,arguments)}return xe}()}))},B.abrupt("return",{default:L});case 27:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-040-table-sort-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { ConfigProvider } from 'antd' import zhCN from 'antd/locale/zh_CN' import { sleep } from '@examples/utils' import schema from './helpers/schema' @@ -1679,7 +1679,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z}}}},"examples-search-table-react-040-table-sort-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W;return a()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=le.sent,ne=J.ConfigProvider,le.next=6,e.e(5471).then(e.bind(e,75471));case 6:return oe=le.sent,X=oe.default,le.next=10,e.e(7693).then(e.bind(e,7693));case 10:return k=le.sent,_=k.sleep,le.next=14,e.e(5554).then(e.bind(e,45554));case 14:return te=le.sent,Y=te.default,le.next=18,e.e(2498).then(e.bind(e,22498));case 18:return Ie=le.sent,D=Ie.default,le.next=22,e.e(184).then(e.bind(e,60184));case 22:return ee=le.sent,V=ee.default,le.next=26,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 26:return ce=le.sent,L=ce.default,W=function(){return r.createElement(ne,{locale:X},r.createElement(L,{search:{schema:Y},table:{columns:D,sortMode:"local-all"},request:function(){var xe=c()(a()().mark(function Se(ke){var et;return a()().wrap(function(gt){for(;;)switch(gt.prev=gt.next){case 0:return gt.next=2,_();case 2:return et=V(ke.pageSize),gt.abrupt("return",{data:et,total:100});case 4:case"end":return gt.stop()}},Se)}));function Ae(Se){return xe.apply(this,arguments)}return Ae}()}))},le.abrupt("return",{default:W});case 30:case"end":return le.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-040-table-sort-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { ConfigProvider } from 'antd' +export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z}}}},"examples-search-table-react-040-table-sort-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W;return a()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=le.sent,ne=J.ConfigProvider,le.next=6,e.e(5471).then(e.bind(e,75471));case 6:return oe=le.sent,X=oe.default,le.next=10,e.e(7693).then(e.bind(e,7693));case 10:return k=le.sent,_=k.sleep,le.next=14,e.e(5554).then(e.bind(e,45554));case 14:return te=le.sent,Y=te.default,le.next=18,e.e(2498).then(e.bind(e,22498));case 18:return Ie=le.sent,D=Ie.default,le.next=22,e.e(184).then(e.bind(e,60184));case 22:return ee=le.sent,V=ee.default,le.next=26,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 26:return ce=le.sent,L=ce.default,W=function(){return r.createElement(ne,{locale:X},r.createElement(L,{search:{schema:Y},table:{columns:D,sortMode:"local-all"},request:function(){var xe=c()(a()().mark(function Se(ke){var et;return a()().wrap(function(gt){for(;;)switch(gt.prev=gt.next){case 0:return gt.next=2,_();case 2:return et=V(ke.pageSize),gt.abrupt("return",{data:et,total:100});case 4:case"end":return gt.stop()}},Se)}));function Ae(Se){return xe.apply(this,arguments)}return Ae}()}))},le.abrupt("return",{default:W});case 30:case"end":return le.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-040-table-sort-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { ConfigProvider } from 'antd' import zhCN from 'antd/locale/zh_CN' import { sleep } from '@examples/utils' import schema from './helpers/schema' @@ -1708,7 +1708,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-040-table-sort-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W;return a()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=le.sent,ne=J.ConfigProvider,le.next=6,e.e(5471).then(e.bind(e,75471));case 6:return oe=le.sent,X=oe.default,le.next=10,e.e(7693).then(e.bind(e,7693));case 10:return k=le.sent,_=k.sleep,le.next=14,e.e(5554).then(e.bind(e,45554));case 14:return te=le.sent,Y=te.default,le.next=18,e.e(3102).then(e.bind(e,83102));case 18:return Ie=le.sent,D=Ie.default,le.next=22,e.e(184).then(e.bind(e,60184));case 22:return ee=le.sent,V=ee.default,le.next=26,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 26:return ce=le.sent,L=ce.default,W=function(){return r.createElement(ne,{locale:X},r.createElement(L,{search:{schema:Y},table:{columns:D,bordered:!0,sortMode:"local-all"},request:function(){var xe=c()(a()().mark(function Se(ke){var et;return a()().wrap(function(gt){for(;;)switch(gt.prev=gt.next){case 0:return gt.next=2,_();case 2:return et=V(ke.pageSize),gt.abrupt("return",{data:et,total:100});case 4:case"end":return gt.stop()}},Se)}));function Ae(Se){return xe.apply(this,arguments)}return Ae}()}))},le.abrupt("return",{default:W});case 30:case"end":return le.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-040-table-sort-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { ConfigProvider } from 'antd' +export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-040-table-sort-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W;return a()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=le.sent,ne=J.ConfigProvider,le.next=6,e.e(5471).then(e.bind(e,75471));case 6:return oe=le.sent,X=oe.default,le.next=10,e.e(7693).then(e.bind(e,7693));case 10:return k=le.sent,_=k.sleep,le.next=14,e.e(5554).then(e.bind(e,45554));case 14:return te=le.sent,Y=te.default,le.next=18,e.e(3102).then(e.bind(e,83102));case 18:return Ie=le.sent,D=Ie.default,le.next=22,e.e(184).then(e.bind(e,60184));case 22:return ee=le.sent,V=ee.default,le.next=26,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 26:return ce=le.sent,L=ce.default,W=function(){return r.createElement(ne,{locale:X},r.createElement(L,{search:{schema:Y},table:{columns:D,bordered:!0,sortMode:"local-all"},request:function(){var xe=c()(a()().mark(function Se(ke){var et;return a()().wrap(function(gt){for(;;)switch(gt.prev=gt.next){case 0:return gt.next=2,_();case 2:return et=V(ke.pageSize),gt.abrupt("return",{data:et,total:100});case 4:case"end":return gt.stop()}},Se)}));function Ae(Se){return xe.apply(this,arguments)}return Ae}()}))},le.abrupt("return",{default:W});case 30:case"end":return le.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-040-table-sort-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { ConfigProvider } from 'antd' import zhCN from 'antd/locale/zh_CN' import { sleep } from '@examples/utils' import schema from './helpers/schema' @@ -1738,7 +1738,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/columns-tree.ts":{type:"FILE",value:e(69710).Z}}}},"examples-search-table-react-040-table-sort-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q;return a()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=Ae.sent,ne=J.ConfigProvider,Ae.next=6,e.e(5471).then(e.bind(e,75471));case 6:return oe=Ae.sent,X=oe.default,Ae.next=10,e.e(7693).then(e.bind(e,7693));case 10:return k=Ae.sent,_=k.sleep,Ae.next=14,e.e(5554).then(e.bind(e,45554));case 14:return te=Ae.sent,Y=te.default,Ae.next=18,e.e(2498).then(e.bind(e,22498));case 18:return Ie=Ae.sent,D=Ie.default,Ae.next=22,e.e(184).then(e.bind(e,60184));case 22:return ee=Ae.sent,V=ee.default,Ae.next=26,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 26:return ce=Ae.sent,L=ce.default,Ae.next=30,e.e(6754).then(e.bind(e,16754));case 30:return W=Ae.sent,B=W.pinyin,le=/[\u4e00-\u9fa5]/,q=function(){return r.createElement(ne,{locale:X},r.createElement(L,{search:{schema:Y},table:{columns:D,sortMode:"local-all",sortStringValueTransform:function(et){return le.test(et)?B(et,{toneType:"none"}):et}},request:function(){var ke=c()(a()().mark(function dt(gt){var Ut;return a()().wrap(function(Wt){for(;;)switch(Wt.prev=Wt.next){case 0:return Wt.next=2,_();case 2:return Ut=V(gt.pageSize),Wt.abrupt("return",{data:Ut,total:100});case 4:case"end":return Wt.stop()}},dt)}));function et(dt){return ke.apply(this,arguments)}return et}()}))},Ae.abrupt("return",{default:q});case 35:case"end":return Ae.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-040-table-sort-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { ConfigProvider } from 'antd' +export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns-tree.ts":{type:"FILE",value:e(69710).Z}}}},"examples-search-table-react-040-table-sort-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q;return a()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=Ae.sent,ne=J.ConfigProvider,Ae.next=6,e.e(5471).then(e.bind(e,75471));case 6:return oe=Ae.sent,X=oe.default,Ae.next=10,e.e(7693).then(e.bind(e,7693));case 10:return k=Ae.sent,_=k.sleep,Ae.next=14,e.e(5554).then(e.bind(e,45554));case 14:return te=Ae.sent,Y=te.default,Ae.next=18,e.e(2498).then(e.bind(e,22498));case 18:return Ie=Ae.sent,D=Ie.default,Ae.next=22,e.e(184).then(e.bind(e,60184));case 22:return ee=Ae.sent,V=ee.default,Ae.next=26,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 26:return ce=Ae.sent,L=ce.default,Ae.next=30,e.e(6754).then(e.bind(e,16754));case 30:return W=Ae.sent,B=W.pinyin,le=/[\u4e00-\u9fa5]/,q=function(){return r.createElement(ne,{locale:X},r.createElement(L,{search:{schema:Y},table:{columns:D,sortMode:"local-all",sortStringValueTransform:function(et){return le.test(et)?B(et,{toneType:"none"}):et}},request:function(){var ke=c()(a()().mark(function dt(gt){var Ut;return a()().wrap(function(Wt){for(;;)switch(Wt.prev=Wt.next){case 0:return Wt.next=2,_();case 2:return Ut=V(gt.pageSize),Wt.abrupt("return",{data:Ut,total:100});case 4:case"end":return Wt.stop()}},dt)}));function et(dt){return ke.apply(this,arguments)}return et}()}))},Ae.abrupt("return",{default:q});case 35:case"end":return Ae.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-040-table-sort-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { ConfigProvider } from 'antd' import zhCN from 'antd/locale/zh_CN' import { sleep } from '@examples/utils' import schema from './helpers/schema' @@ -1774,7 +1774,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-040-table-sort-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=B.sent,ne=J.ConfigProvider,B.next=6,e.e(5471).then(e.bind(e,75471));case 6:return oe=B.sent,X=oe.default,B.next=10,e.e(7693).then(e.bind(e,7693));case 10:return k=B.sent,_=k.sleep,B.next=14,e.e(5554).then(e.bind(e,45554));case 14:return te=B.sent,Y=te.default,B.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=B.sent,D=Ie.default,B.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=B.sent,V=ee.default,ce=[{title:"\u4F9B\u5E94\u5546\u540D\u79F0",dataIndex:"supplier_name",width:130},{title:"\u4F9B\u5E94\u5546\u7F16\u7801",dataIndex:"supplier_code",sorter:!0},{title:"\u5355\u636E\u7F16\u53F7",dataIndex:"bill_no",width:130,sorter:!0},{title:"\u5355\u636E\u7C7B\u578B",dataIndex:"bill_type",sortType:"string"},{title:"\u5236\u5355\u4EBA",dataIndex:"operator"},{title:"\u5546\u54C1\u540D\u79F0",dataIndex:"goods_name",width:130},{title:"\u5546\u54C1\u4EF7\u683C(\u5143)",dataIndex:"goods_price",sorter:!0},{title:"\u5546\u54C1\u7F16\u7801",dataIndex:"goods_code",width:130},{title:"\u5546\u54C1\u5206\u7C7B",dataIndex:"goods_category",sorter:!0},{title:"\u5546\u54C1\u65E5\u671F",dataIndex:"goods_date",width:120,sorter:!0}],L=function(){return r.createElement(ne,{locale:X},r.createElement(V,{search:{schema:Y},table:{columns:ce,sortMode:"service"},request:function(){var q=c()(a()().mark(function Ae(Se,ke){var et,dt,gt;return a()().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return et=ke.sorter,dt=et,Mt.next=4,_();case 4:return gt=D(Se.pageSize,{sort_field:dt==null?void 0:dt.field,sort_order:dt==null?void 0:dt.order}),Mt.abrupt("return",{data:gt,total:100});case 6:case"end":return Mt.stop()}},Ae)}));function xe(Ae,Se){return q.apply(this,arguments)}return xe}()}))},B.abrupt("return",{default:L});case 27:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-040-table-sort-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { ConfigProvider } from 'antd' +export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-040-table-sort-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=B.sent,ne=J.ConfigProvider,B.next=6,e.e(5471).then(e.bind(e,75471));case 6:return oe=B.sent,X=oe.default,B.next=10,e.e(7693).then(e.bind(e,7693));case 10:return k=B.sent,_=k.sleep,B.next=14,e.e(5554).then(e.bind(e,45554));case 14:return te=B.sent,Y=te.default,B.next=18,e.e(184).then(e.bind(e,60184));case 18:return Ie=B.sent,D=Ie.default,B.next=22,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 22:return ee=B.sent,V=ee.default,ce=[{title:"\u4F9B\u5E94\u5546\u540D\u79F0",dataIndex:"supplier_name",width:130},{title:"\u4F9B\u5E94\u5546\u7F16\u7801",dataIndex:"supplier_code",sorter:!0},{title:"\u5355\u636E\u7F16\u53F7",dataIndex:"bill_no",width:130,sorter:!0},{title:"\u5355\u636E\u7C7B\u578B",dataIndex:"bill_type",sortType:"string"},{title:"\u5236\u5355\u4EBA",dataIndex:"operator"},{title:"\u5546\u54C1\u540D\u79F0",dataIndex:"goods_name",width:130},{title:"\u5546\u54C1\u4EF7\u683C(\u5143)",dataIndex:"goods_price",sorter:!0},{title:"\u5546\u54C1\u7F16\u7801",dataIndex:"goods_code",width:130},{title:"\u5546\u54C1\u5206\u7C7B",dataIndex:"goods_category",sorter:!0},{title:"\u5546\u54C1\u65E5\u671F",dataIndex:"goods_date",width:120,sorter:!0}],L=function(){return r.createElement(ne,{locale:X},r.createElement(V,{search:{schema:Y},table:{columns:ce,sortMode:"service"},request:function(){var q=c()(a()().mark(function Ae(Se,ke){var et,dt,gt;return a()().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:return et=ke.sorter,dt=et,Mt.next=4,_();case 4:return gt=D(Se.pageSize,{sort_field:dt==null?void 0:dt.field,sort_order:dt==null?void 0:dt.order}),Mt.abrupt("return",{data:gt,total:100});case 6:case"end":return Mt.stop()}},Ae)}));function xe(Ae,Se){return q.apply(this,arguments)}return xe}()}))},B.abrupt("return",{default:L});case 27:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-040-table-sort-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { ConfigProvider } from 'antd' import zhCN from 'antd/locale/zh_CN' import { sleep } from '@examples/utils' import schema from './helpers/schema' @@ -1863,7 +1863,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z}}}}},Be={title:"\u6392\u5E8F Sort",toc:"content",filename:"examples/search-table-react/040-table-sort.md",lastUpdated:1720589953e3,order:40,description:"sortMode \u5C5E\u6027\u63A7\u5236\u662F\u524D\u7AEF\u6392\u5E8F\u8FD8\u662F\u540E\u7AEF\u6392\u5E8F\uFF0C\u53D6\u503C\u6709\u56DB\u79CD\uFF1A"},He=[{id:"\u6392\u5E8F-sort",depth:1,title:"\u6392\u5E8F Sort"},{id:"\u524D\u7AEF\u6392\u5E8F",depth:2,title:"\u524D\u7AEF\u6392\u5E8F"},{id:"\u6392\u5E8F\u6240\u6709\u5B57\u6BB5",depth:3,title:"\u6392\u5E8F\u6240\u6709\u5B57\u6BB5"},{id:"\u6392\u5E8F\u5D4C\u5957\u8868\u5934",depth:3,title:"\u6392\u5E8F\u5D4C\u5957\u8868\u5934"},{id:"\u62FC\u97F3\u6392\u5E8F",depth:3,title:"\u62FC\u97F3\u6392\u5E8F"},{id:"\u540E\u7AEF\u6392\u5E8F",depth:2,title:"\u540E\u7AEF\u6392\u5E8F"}],we=[{value:"sortMode",paraId:0,tocIndex:0},{value:" \u5C5E\u6027\u63A7\u5236\u662F",paraId:0,tocIndex:0},{value:"\u524D\u7AEF\u6392\u5E8F",paraId:0,tocIndex:0},{value:"\u8FD8\u662F",paraId:0,tocIndex:0},{value:"\u540E\u7AEF\u6392\u5E8F",paraId:0,tocIndex:0},{value:"\uFF0C\u53D6\u503C\u6709\u56DB\u79CD\uFF1A",paraId:0,tocIndex:0},{value:"local",paraId:1,tocIndex:0},{value:": \u524D\u7AEF\u6392\u5E8F",paraId:1,tocIndex:0},{value:"local-all",paraId:1,tocIndex:0},{value:": \u524D\u7AEF\u6392\u5E8F\uFF0C\u6392\u5E8F\u6240\u6709\u5B57\u6BB5\uFF0C\u4E14\u6309\u6570\u636E\u7C7B\u578B\u81EA\u52A8\u5E94\u7528\u6392\u5E8F\u65B9\u6848",paraId:1,tocIndex:0},{value:"service",paraId:1,tocIndex:0},{value:": \u540E\u7AEF\u6392\u5E8F",paraId:1,tocIndex:0},{value:"service-all",paraId:1,tocIndex:0},{value:": \u540E\u7AEF\u6392\u5E8F\uFF0C\u6392\u5E8F\u6240\u6709\u5B57\u6BB5",paraId:1,tocIndex:0},{value:"\u5728\u5217\u4E0A\u58F0\u660E ",paraId:2,tocIndex:1},{value:"sortType",paraId:2,tocIndex:1},{value:" \u5C5E\u6027\u5C31\u4F1A\u6DFB\u52A0\u6392\u5E8F\u529F\u80FD\uFF1B",paraId:2,tocIndex:1},{value:"sortType",paraId:2,tocIndex:1},{value:" \u53D6\u503C\u6709\u5982\u4E0B\u51E0\u79CD\uFF1A",paraId:2,tocIndex:1},{value:"string",paraId:3,tocIndex:1},{value:": \u8BA9\u6570\u636E\u4EE5\u5B57\u7B26\u4E32\u987A\u5E8F\u8FDB\u884C\u6392\u5E8F",paraId:3,tocIndex:1},{value:"number",paraId:3,tocIndex:1},{value:": \u8BA9\u6570\u636E\u4EE5\u6570\u503C\u5927\u5C0F\u8FDB\u884C\u6392\u5E8F",paraId:3,tocIndex:1},{value:"date",paraId:3,tocIndex:1},{value:": \u8BA9\u6570\u636E\u4EE5\u65E5\u671F\u5927\u5C0F\u8FDB\u884C\u6392\u5E8F",paraId:3,tocIndex:1},{value:"\u9ED8\u8BA4\u6392\u5E8F\u6570\u636E\u503C\u662F\u901A\u8FC7\u5217\u7684 ",paraId:4,tocIndex:1},{value:"dataIndex",paraId:4,tocIndex:1},{value:" \u83B7\u53D6\uFF0C\u5982\u679C\u6570\u636E\u590D\u6742\uFF0C\u5219\u9700\u8981\u901A\u8FC7 ",paraId:4,tocIndex:1},{value:"sortDataExtractor",paraId:4,tocIndex:1},{value:" \u5C5E\u6027\u83B7\u53D6\u3002",paraId:4,tocIndex:1},{value:"\u7C7B\u578B\uFF1A",paraId:5,tocIndex:1},{value:"sortDataExtractor: (record: IObjectAny) => string | number | void",paraId:5,tocIndex:1},{value:"\u4E3A\u4E86\u63D0\u9AD8\u6548\u7387\uFF0C\u53EF\u4EE5\u8BBE\u7F6E ",paraId:6,tocIndex:2},{value:"sortMode",paraId:6,tocIndex:2},{value:" \u5C5E\u6027\u4E3A ",paraId:6,tocIndex:2},{value:"local-all",paraId:6,tocIndex:2},{value:"\uFF0C\u8FD9\u6837\u6240\u6709\u7684\u5217\u5B57\u6BB5\u90FD\u5C06\u8FDB\u884C\u6392\u5E8F\uFF08\u6392\u9664\u5E8F\u53F7\u3001\u64CD\u4F5C\u7B49\u65E0\u5173\u5217\uFF09\u3002",paraId:6,tocIndex:2},{value:"\u6392\u5E8F\u7684\u65B9\u5F0F\u5C06\u4EE5\u6570\u636E\u7684\u7C7B\u578B\u8FDB\u884C\u81EA\u52A8\u5224\u65AD\uFF0C\u5F53\u7136\u5224\u65AD\u9519\u8BEF\u65F6\uFF0C\u5219\u9700\u8981\u624B\u52A8\u8BBE\u7F6E\u6392\u5E8F\u7C7B\u578B ",paraId:7,tocIndex:2},{value:"sortType",paraId:7,tocIndex:2},{value:" \u503C\u3002",paraId:7,tocIndex:2},{value:"\u652F\u6301\u5D4C\u5957\u8868\u5934\u6392\u5E8F\u3002",paraId:8,tocIndex:3},{value:"\u8981\u5B9E\u73B0\u6309\u62FC\u97F3\u6392\u5E8F\uFF0C\u53EF\u4EE5\u4F7F\u7528\u4E2D\u6587\u8F6C\u62FC\u97F3\u7684\u89E3\u6790\u5E93\uFF0C\u5982 ",paraId:9,tocIndex:4},{value:"pinyin-pro",paraId:9,tocIndex:4},{value:"\u3002",paraId:9,tocIndex:4},{value:"\u518D\u901A\u8FC7 ",paraId:10,tocIndex:4},{value:"sortStringValueTransform",paraId:10,tocIndex:4},{value:" \u5C5E\u6027\u5C06\u5B57\u7B26\u4E32\u6570\u636E\u8FDB\u884C\u8F6C\u6362\u5C31\u53EF\u4EE5\u5B9E\u73B0\u6309\u62FC\u97F3\u6392\u5E8F\u4E86\u3002",paraId:10,tocIndex:4},{value:"\u8BBE\u7F6E ",paraId:11,tocIndex:5},{value:"sortMode",paraId:11,tocIndex:5},{value:" \u5C5E\u6027\u4E3A ",paraId:11,tocIndex:5},{value:"service",paraId:11,tocIndex:5},{value:"\uFF0C\u5219\u8868\u793A\u540E\u7AEF\u63A5\u53E3\u6392\u5E8F\uFF0C\u5C06\u8C03\u7528 ",paraId:11,tocIndex:5},{value:"request",paraId:11,tocIndex:5},{value:" \u8BF7\u6C42\u3002",paraId:11,tocIndex:5}],Pt={"examples-search-table-react-060-value-type-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W;return a()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=le.sent,ne=J.ConfigProvider,le.next=6,e.e(5471).then(e.bind(e,75471));case 6:return oe=le.sent,X=oe.default,le.next=10,e.e(7693).then(e.bind(e,7693));case 10:return k=le.sent,_=k.sleep,le.next=14,e.e(5554).then(e.bind(e,45554));case 14:return te=le.sent,Y=te.default,le.next=18,e.e(9762).then(e.bind(e,39762));case 18:return Ie=le.sent,D=Ie.default,le.next=22,e.e(5016).then(e.bind(e,35016));case 22:return ee=le.sent,V=ee.default,le.next=26,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 26:return ce=le.sent,L=ce.default,W=function(){return r.createElement(ne,{locale:X},r.createElement(L,{search:{schema:Y},table:{columns:D,showRowNumber:!0,sortMode:"local-all"},request:function(){var xe=c()(a()().mark(function Se(ke){var et;return a()().wrap(function(gt){for(;;)switch(gt.prev=gt.next){case 0:return gt.next=2,_();case 2:return et=V(ke.pageSize),gt.abrupt("return",{data:et,total:100});case 4:case"end":return gt.stop()}},Se)}));function Ae(Se){return xe.apply(this,arguments)}return Ae}()}))},le.abrupt("return",{default:W});case 30:case"end":return le.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-060-value-type-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { ConfigProvider } from 'antd' +export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z}}}}},Be={title:"\u6392\u5E8F Sort",toc:"content",filename:"examples/search-table-react/040-table-sort.md",lastUpdated:1720589953e3,order:40,description:"sortMode \u5C5E\u6027\u63A7\u5236\u662F\u524D\u7AEF\u6392\u5E8F\u8FD8\u662F\u540E\u7AEF\u6392\u5E8F\uFF0C\u53D6\u503C\u6709\u56DB\u79CD\uFF1A"},He=[{id:"\u6392\u5E8F-sort",depth:1,title:"\u6392\u5E8F Sort"},{id:"\u524D\u7AEF\u6392\u5E8F",depth:2,title:"\u524D\u7AEF\u6392\u5E8F"},{id:"\u6392\u5E8F\u6240\u6709\u5B57\u6BB5",depth:3,title:"\u6392\u5E8F\u6240\u6709\u5B57\u6BB5"},{id:"\u6392\u5E8F\u5D4C\u5957\u8868\u5934",depth:3,title:"\u6392\u5E8F\u5D4C\u5957\u8868\u5934"},{id:"\u62FC\u97F3\u6392\u5E8F",depth:3,title:"\u62FC\u97F3\u6392\u5E8F"},{id:"\u540E\u7AEF\u6392\u5E8F",depth:2,title:"\u540E\u7AEF\u6392\u5E8F"}],we=[{value:"sortMode",paraId:0,tocIndex:0},{value:" \u5C5E\u6027\u63A7\u5236\u662F",paraId:0,tocIndex:0},{value:"\u524D\u7AEF\u6392\u5E8F",paraId:0,tocIndex:0},{value:"\u8FD8\u662F",paraId:0,tocIndex:0},{value:"\u540E\u7AEF\u6392\u5E8F",paraId:0,tocIndex:0},{value:"\uFF0C\u53D6\u503C\u6709\u56DB\u79CD\uFF1A",paraId:0,tocIndex:0},{value:"local",paraId:1,tocIndex:0},{value:": \u524D\u7AEF\u6392\u5E8F",paraId:1,tocIndex:0},{value:"local-all",paraId:1,tocIndex:0},{value:": \u524D\u7AEF\u6392\u5E8F\uFF0C\u6392\u5E8F\u6240\u6709\u5B57\u6BB5\uFF0C\u4E14\u6309\u6570\u636E\u7C7B\u578B\u81EA\u52A8\u5E94\u7528\u6392\u5E8F\u65B9\u6848",paraId:1,tocIndex:0},{value:"service",paraId:1,tocIndex:0},{value:": \u540E\u7AEF\u6392\u5E8F",paraId:1,tocIndex:0},{value:"service-all",paraId:1,tocIndex:0},{value:": \u540E\u7AEF\u6392\u5E8F\uFF0C\u6392\u5E8F\u6240\u6709\u5B57\u6BB5",paraId:1,tocIndex:0},{value:"\u5728\u5217\u4E0A\u58F0\u660E ",paraId:2,tocIndex:1},{value:"sortType",paraId:2,tocIndex:1},{value:" \u5C5E\u6027\u5C31\u4F1A\u6DFB\u52A0\u6392\u5E8F\u529F\u80FD\uFF1B",paraId:2,tocIndex:1},{value:"sortType",paraId:2,tocIndex:1},{value:" \u53D6\u503C\u6709\u5982\u4E0B\u51E0\u79CD\uFF1A",paraId:2,tocIndex:1},{value:"string",paraId:3,tocIndex:1},{value:": \u8BA9\u6570\u636E\u4EE5\u5B57\u7B26\u4E32\u987A\u5E8F\u8FDB\u884C\u6392\u5E8F",paraId:3,tocIndex:1},{value:"number",paraId:3,tocIndex:1},{value:": \u8BA9\u6570\u636E\u4EE5\u6570\u503C\u5927\u5C0F\u8FDB\u884C\u6392\u5E8F",paraId:3,tocIndex:1},{value:"date",paraId:3,tocIndex:1},{value:": \u8BA9\u6570\u636E\u4EE5\u65E5\u671F\u5927\u5C0F\u8FDB\u884C\u6392\u5E8F",paraId:3,tocIndex:1},{value:"\u9ED8\u8BA4\u6392\u5E8F\u6570\u636E\u503C\u662F\u901A\u8FC7\u5217\u7684 ",paraId:4,tocIndex:1},{value:"dataIndex",paraId:4,tocIndex:1},{value:" \u83B7\u53D6\uFF0C\u5982\u679C\u6570\u636E\u590D\u6742\uFF0C\u5219\u9700\u8981\u901A\u8FC7 ",paraId:4,tocIndex:1},{value:"sortDataExtractor",paraId:4,tocIndex:1},{value:" \u5C5E\u6027\u83B7\u53D6\u3002",paraId:4,tocIndex:1},{value:"\u7C7B\u578B\uFF1A",paraId:5,tocIndex:1},{value:"sortDataExtractor: (record: IObjectAny) => string | number | void",paraId:5,tocIndex:1},{value:"\u4E3A\u4E86\u63D0\u9AD8\u6548\u7387\uFF0C\u53EF\u4EE5\u8BBE\u7F6E ",paraId:6,tocIndex:2},{value:"sortMode",paraId:6,tocIndex:2},{value:" \u5C5E\u6027\u4E3A ",paraId:6,tocIndex:2},{value:"local-all",paraId:6,tocIndex:2},{value:"\uFF0C\u8FD9\u6837\u6240\u6709\u7684\u5217\u5B57\u6BB5\u90FD\u5C06\u8FDB\u884C\u6392\u5E8F\uFF08\u6392\u9664\u5E8F\u53F7\u3001\u64CD\u4F5C\u7B49\u65E0\u5173\u5217\uFF09\u3002",paraId:6,tocIndex:2},{value:"\u6392\u5E8F\u7684\u65B9\u5F0F\u5C06\u4EE5\u6570\u636E\u7684\u7C7B\u578B\u8FDB\u884C\u81EA\u52A8\u5224\u65AD\uFF0C\u5F53\u7136\u5224\u65AD\u9519\u8BEF\u65F6\uFF0C\u5219\u9700\u8981\u624B\u52A8\u8BBE\u7F6E\u6392\u5E8F\u7C7B\u578B ",paraId:7,tocIndex:2},{value:"sortType",paraId:7,tocIndex:2},{value:" \u503C\u3002",paraId:7,tocIndex:2},{value:"\u652F\u6301\u5D4C\u5957\u8868\u5934\u6392\u5E8F\u3002",paraId:8,tocIndex:3},{value:"\u8981\u5B9E\u73B0\u6309\u62FC\u97F3\u6392\u5E8F\uFF0C\u53EF\u4EE5\u4F7F\u7528\u4E2D\u6587\u8F6C\u62FC\u97F3\u7684\u89E3\u6790\u5E93\uFF0C\u5982 ",paraId:9,tocIndex:4},{value:"pinyin-pro",paraId:9,tocIndex:4},{value:"\u3002",paraId:9,tocIndex:4},{value:"\u518D\u901A\u8FC7 ",paraId:10,tocIndex:4},{value:"sortStringValueTransform",paraId:10,tocIndex:4},{value:" \u5C5E\u6027\u5C06\u5B57\u7B26\u4E32\u6570\u636E\u8FDB\u884C\u8F6C\u6362\u5C31\u53EF\u4EE5\u5B9E\u73B0\u6309\u62FC\u97F3\u6392\u5E8F\u4E86\u3002",paraId:10,tocIndex:4},{value:"\u8BBE\u7F6E ",paraId:11,tocIndex:5},{value:"sortMode",paraId:11,tocIndex:5},{value:" \u5C5E\u6027\u4E3A ",paraId:11,tocIndex:5},{value:"service",paraId:11,tocIndex:5},{value:"\uFF0C\u5219\u8868\u793A\u540E\u7AEF\u63A5\u53E3\u6392\u5E8F\uFF0C\u5C06\u8C03\u7528 ",paraId:11,tocIndex:5},{value:"request",paraId:11,tocIndex:5},{value:" \u8BF7\u6C42\u3002",paraId:11,tocIndex:5}],Pt={"examples-search-table-react-060-value-type-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W;return a()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=le.sent,ne=J.ConfigProvider,le.next=6,e.e(5471).then(e.bind(e,75471));case 6:return oe=le.sent,X=oe.default,le.next=10,e.e(7693).then(e.bind(e,7693));case 10:return k=le.sent,_=k.sleep,le.next=14,e.e(5554).then(e.bind(e,45554));case 14:return te=le.sent,Y=te.default,le.next=18,e.e(9762).then(e.bind(e,39762));case 18:return Ie=le.sent,D=Ie.default,le.next=22,e.e(5016).then(e.bind(e,35016));case 22:return ee=le.sent,V=ee.default,le.next=26,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 26:return ce=le.sent,L=ce.default,W=function(){return r.createElement(ne,{locale:X},r.createElement(L,{search:{schema:Y},table:{columns:D,showRowNumber:!0,sortMode:"local-all"},request:function(){var xe=c()(a()().mark(function Se(ke){var et;return a()().wrap(function(gt){for(;;)switch(gt.prev=gt.next){case 0:return gt.next=2,_();case 2:return et=V(ke.pageSize),gt.abrupt("return",{data:et,total:100});case 4:case"end":return gt.stop()}},Se)}));function Ae(Se){return xe.apply(this,arguments)}return Ae}()}))},le.abrupt("return",{default:W});case 30:case"end":return le.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-060-value-type-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { ConfigProvider } from 'antd' import zhCN from 'antd/locale/zh_CN' import { sleep } from '@examples/utils' import schema from './helpers/schema' @@ -1892,7 +1892,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource-vt.ts":{type:"FILE",value:e(26423).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns-value-type.ts":{type:"FILE",value:e(53846).Z}}}},"examples-search-table-react-060-value-type-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=V.sent,ne=J.sleep,V.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=V.sent,X=oe.default,V.next=10,e.e(5016).then(e.bind(e,35016));case 10:return k=V.sent,_=k.default,V.next=14,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 14:return te=V.sent,Y=te.default,Ie=[{title:"\u5E38\u89C4\u6807\u9898",dataIndex:"title"},{title:"\u5F69\u8272\u6807\u7B7E",dataIndex:"tags",valueType:function(L){return{type:"tags",color:Array.isArray(L.tags)?"blue":"green"}}}],D=function(){return r.createElement(Y,{search:{schema:X},table:{columns:Ie,sortMode:"local-all"},request:function(){var L=c()(a()().mark(function B(le){var q;return a()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,ne();case 2:return q=_(le.pageSize),Ae.abrupt("return",{data:q,total:100});case 4:case"end":return Ae.stop()}},B)}));function W(B){return L.apply(this,arguments)}return W}()})},V.abrupt("return",{default:D});case 19:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-060-value-type-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' +export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource-vt.ts":{type:"FILE",value:e(26423).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns-value-type.ts":{type:"FILE",value:e(53846).Z}}}},"examples-search-table-react-060-value-type-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=V.sent,ne=J.sleep,V.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=V.sent,X=oe.default,V.next=10,e.e(5016).then(e.bind(e,35016));case 10:return k=V.sent,_=k.default,V.next=14,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 14:return te=V.sent,Y=te.default,Ie=[{title:"\u5E38\u89C4\u6807\u9898",dataIndex:"title"},{title:"\u5F69\u8272\u6807\u7B7E",dataIndex:"tags",valueType:function(L){return{type:"tags",color:Array.isArray(L.tags)?"blue":"green"}}}],D=function(){return r.createElement(Y,{search:{schema:X},table:{columns:Ie,sortMode:"local-all"},request:function(){var L=c()(a()().mark(function B(le){var q;return a()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,ne();case 2:return q=_(le.pageSize),Ae.abrupt("return",{data:q,total:100});case 4:case"end":return Ae.stop()}},B)}));function W(B){return L.apply(this,arguments)}return W}()})},V.abrupt("return",{default:D});case 19:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-060-value-type-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' import schema from './helpers/schema' import createDataSource from './helpers/createDataSource-vt' import SearchTable from '@schema-render/search-table-react' @@ -1936,7 +1936,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource-vt.ts":{type:"FILE",value:e(26423).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z}}}},"examples-search-table-react-060-value-type-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q,xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=Se.sent,ne=J.default,Se.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=Se.sent,X=oe.ConfigProvider,k=oe.Tag,Se.next=11,e.e(5471).then(e.bind(e,75471));case 11:return _=Se.sent,te=_.default,Se.next=15,e.e(7693).then(e.bind(e,7693));case 15:return Y=Se.sent,Ie=Y.sleep,Se.next=19,e.e(5554).then(e.bind(e,45554));case 19:return D=Se.sent,ee=D.default,Se.next=23,e.e(5016).then(e.bind(e,35016));case 23:return V=Se.sent,ce=V.default,Se.next=27,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 27:return L=Se.sent,W=L.default,B=[{title:"\u5E38\u89C4\u6807\u9898",dataIndex:"title"},{title:"\u4EE3\u7801\u5757",dataIndex:"code",valueType:"code"},{title:"\u90E8\u7F72\u72B6\u6001",dataIndex:"deploy_status",valueType:"deploy-status"},{title:"\u90E8\u7F72\u72B6\u6001(Tag)",dataIndex:"deploy_status_tag",valueType:"deploy-status-tag"}],le={0:{text:"\u5F02\u5E38",style:{background:"red"},color:"red"},1:{text:"\u8FDB\u884C\u4E2D",style:{background:"blue"},color:"blue"},2:{text:"\u6210\u529F",style:{background:"green"},color:"green"}},q={code:function(et){var dt=et.value;return r.createElement(ne,{value:dt,language:"js"})},"deploy-status":function(et){var dt=et.value,gt=le[dt];return r.createElement("div",null,r.createElement("span",{style:C()({display:"inline-block",width:8,height:8,borderRadius:"50%",marginRight:6},gt.style)}),gt.text)},"deploy-status-tag":function(et){var dt=et.record,gt=dt.deploy_status,Ut=le[gt];return r.createElement(k,{color:Ut.color},Ut.text)}},xe=function(){return r.createElement(X,{locale:te},r.createElement(W,{search:{schema:ee},table:{columns:B,showRowNumber:!0,sortMode:"local-all",registerValueType:q},request:function(){var et=c()(a()().mark(function gt(Ut){var Mt;return a()().wrap(function(ln){for(;;)switch(ln.prev=ln.next){case 0:return ln.next=2,Ie();case 2:return Mt=ce(Ut.pageSize),ln.abrupt("return",{data:Mt,total:100});case 4:case"end":return ln.stop()}},gt)}));function dt(gt){return et.apply(this,arguments)}return dt}()}))},Se.abrupt("return",{default:xe});case 34:case"end":return Se.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-060-value-type-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' +export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource-vt.ts":{type:"FILE",value:e(26423).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z}}}},"examples-search-table-react-060-value-type-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q,xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=Se.sent,ne=J.default,Se.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=Se.sent,X=oe.ConfigProvider,k=oe.Tag,Se.next=11,e.e(5471).then(e.bind(e,75471));case 11:return _=Se.sent,te=_.default,Se.next=15,e.e(7693).then(e.bind(e,7693));case 15:return Y=Se.sent,Ie=Y.sleep,Se.next=19,e.e(5554).then(e.bind(e,45554));case 19:return D=Se.sent,ee=D.default,Se.next=23,e.e(5016).then(e.bind(e,35016));case 23:return V=Se.sent,ce=V.default,Se.next=27,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 27:return L=Se.sent,W=L.default,B=[{title:"\u5E38\u89C4\u6807\u9898",dataIndex:"title"},{title:"\u4EE3\u7801\u5757",dataIndex:"code",valueType:"code"},{title:"\u90E8\u7F72\u72B6\u6001",dataIndex:"deploy_status",valueType:"deploy-status"},{title:"\u90E8\u7F72\u72B6\u6001(Tag)",dataIndex:"deploy_status_tag",valueType:"deploy-status-tag"}],le={0:{text:"\u5F02\u5E38",style:{background:"red"},color:"red"},1:{text:"\u8FDB\u884C\u4E2D",style:{background:"blue"},color:"blue"},2:{text:"\u6210\u529F",style:{background:"green"},color:"green"}},q={code:function(et){var dt=et.value;return r.createElement(ne,{value:dt,language:"js"})},"deploy-status":function(et){var dt=et.value,gt=le[dt];return r.createElement("div",null,r.createElement("span",{style:C()({display:"inline-block",width:8,height:8,borderRadius:"50%",marginRight:6},gt.style)}),gt.text)},"deploy-status-tag":function(et){var dt=et.record,gt=dt.deploy_status,Ut=le[gt];return r.createElement(k,{color:Ut.color},Ut.text)}},xe=function(){return r.createElement(X,{locale:te},r.createElement(W,{search:{schema:ee},table:{columns:B,showRowNumber:!0,sortMode:"local-all",registerValueType:q},request:function(){var et=c()(a()().mark(function gt(Ut){var Mt;return a()().wrap(function(ln){for(;;)switch(ln.prev=ln.next){case 0:return ln.next=2,Ie();case 2:return Mt=ce(Ut.pageSize),ln.abrupt("return",{data:Mt,total:100});case 4:case"end":return ln.stop()}},gt)}));function dt(gt){return et.apply(this,arguments)}return dt}()}))},Se.abrupt("return",{default:xe});case 34:case"end":return Se.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-060-value-type-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import { ConfigProvider, Tag } from 'antd' import zhCN from 'antd/locale/zh_CN' import { sleep } from '@examples/utils' @@ -2045,7 +2045,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource-vt.ts":{type:"FILE",value:e(26423).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z}}}}},Ye={title:"\u6570\u636E\u663E\u793A Value Type",toc:"content",filename:"examples/search-table-react/060-value-type.md",lastUpdated:1720589953e3,order:60,description:"\u4E3A\u4E86\u63D0\u5347\u4E00\u4E9B\u5E38\u89C4\u6570\u636E\u5185\u5BB9\u7684\u6E32\u67D3\u7814\u53D1\u6548\u7387\uFF0C\u5982\u6570\u5B57\u91D1\u989D\u5343\u5206\u4F4D\u5904\u7406\u3001\u56FE\u7247\u663E\u793A\u3001\u4EE3\u7801\u5757\u663E\u793A\u7B49\uFF0CSearchTable \u6269\u5C55\u4E86 Antd Table \u7EC4\u4EF6\u7684 column \u5C5E\u6027\uFF0C\u589E\u52A0\u4E86 valueType \u5C5E\u6027\uFF0C\u6570\u5B57\u5343\u5206\u4F4D\u5904\u7406\u53EA\u9700\u58F0\u660E valueType \u4E3A comma-number\uFF0C\u6570\u636E\u7684\u663E\u793A\u5C31\u4F1A\u81EA\u52A8\u505A\u5343\u5206\u4F4D\u5904\u7406\u3002"},ft=[{id:"\u6570\u636E\u663E\u793A-value-type",depth:1,title:"\u6570\u636E\u663E\u793A Value Type"},{id:"\u5185\u7F6E\u6570\u636E\u663E\u793A\u7C7B\u578B\u5168\u89C8",depth:2,title:"\u5185\u7F6E\u6570\u636E\u663E\u793A\u7C7B\u578B\u5168\u89C8"},{id:"\u5185\u7F6E\u6570\u636E\u663E\u793A\u7C7B\u578B\u53C2\u6570\u8BE6\u89E3",depth:2,title:"\u5185\u7F6E\u6570\u636E\u663E\u793A\u7C7B\u578B\u53C2\u6570\u8BE6\u89E3"},{id:"\u6CE8\u518C\u6570\u636E\u663E\u793A\u7C7B\u578B",depth:2,title:"\u6CE8\u518C\u6570\u636E\u663E\u793A\u7C7B\u578B"}],St=[{value:"\u4E3A\u4E86\u63D0\u5347\u4E00\u4E9B\u5E38\u89C4\u6570\u636E\u5185\u5BB9\u7684\u6E32\u67D3\u7814\u53D1\u6548\u7387\uFF0C\u5982\u6570\u5B57\u91D1\u989D\u5343\u5206\u4F4D\u5904\u7406\u3001\u56FE\u7247\u663E\u793A\u3001\u4EE3\u7801\u5757\u663E\u793A\u7B49\uFF0CSearchTable \u6269\u5C55\u4E86 Antd Table \u7EC4\u4EF6\u7684 ",paraId:0,tocIndex:0},{value:"column",paraId:0,tocIndex:0},{value:" \u5C5E\u6027\uFF0C\u589E\u52A0\u4E86 ",paraId:0,tocIndex:0},{value:"valueType",paraId:0,tocIndex:0},{value:" \u5C5E\u6027\uFF0C\u6570\u5B57\u5343\u5206\u4F4D\u5904\u7406\u53EA\u9700\u58F0\u660E ",paraId:0,tocIndex:0},{value:"valueType",paraId:0,tocIndex:0},{value:" \u4E3A ",paraId:0,tocIndex:0},{value:"comma-number",paraId:0,tocIndex:0},{value:"\uFF0C\u6570\u636E\u7684\u663E\u793A\u5C31\u4F1A\u81EA\u52A8\u505A\u5343\u5206\u4F4D\u5904\u7406\u3002",paraId:0,tocIndex:0},{value:"\u51FD\u6570\u65B9\u5F0F\uFF0C\u53EF\u4EE5\u7528\u6765\u4F20\u9012\u53C2\u6570\uFF0C\u5982\u4E0B\u793A\u4F8B\uFF0C\u5F69\u8272\u6807\u7B7E\u3002",paraId:1},{value:"\u53C2\u6570",paraId:2,tocIndex:2},{value:"\u63CF\u8FF0",paraId:2,tocIndex:2},{value:"\u6570\u636E\u503C\u7C7B\u578B",paraId:2,tocIndex:2},{value:"code",paraId:2,tocIndex:2},{value:"\u4EE3\u7801\u5757\u5F62\u5F0F\u663E\u793A",paraId:2,tocIndex:2},{value:"string",paraId:2,tocIndex:2},{value:"rate",paraId:2,tocIndex:2},{value:"\u8BC4\u5206\u5F62\u5F0F\u663E\u793A",paraId:2,tocIndex:2},{value:"number",paraId:2,tocIndex:2},{value:"switch",paraId:2,tocIndex:2},{value:"\u5F00\u5173\u5F62\u5F0F\u663E\u793A",paraId:2,tocIndex:2},{value:"boolean | 1 | 0",paraId:2,tocIndex:2},{value:"images",paraId:2,tocIndex:2},{value:"\u56FE\u7247\u9884\u89C8\u5F62\u5F0F\u663E\u793A",paraId:2,tocIndex:2},{value:"string | string[]",paraId:2,tocIndex:2},{value:"tags",paraId:2,tocIndex:2},{value:"\u6807\u7B7E\u5F62\u5F0F",paraId:2,tocIndex:2},{value:"string | string[]",paraId:2,tocIndex:2},{value:"comma-number",paraId:2,tocIndex:2},{value:"\u6570\u5B57\u5343\u5206\u4F4D\u5904\u7406\u663E\u793A",paraId:2,tocIndex:2},{value:"number | string",paraId:2,tocIndex:2},{value:"percent",paraId:2,tocIndex:2},{value:"\u6570\u5B57\u52A0\u767E\u5206\u53F7\u663E\u793A",paraId:2,tocIndex:2},{value:"number | string",paraId:2,tocIndex:2},{value:"\u901A\u8FC7 ",paraId:3,tocIndex:3},{value:"registerValueType",paraId:3,tocIndex:3},{value:" \u5C5E\u6027\u53EF\u4EE5\u6CE8\u518C\u81EA\u5B9A\u4E49\u7684\u6570\u636E\u663E\u793A\u7C7B\u578B\uFF0C\u540C\u540D\u5C06\u8986\u76D6\u3002",paraId:3,tocIndex:3}],Et={"examples-search-table-react-910-no-search-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie;return a()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=ee.sent,ne=J.sleep,ee.next=6,e.e(2498).then(e.bind(e,22498));case 6:return oe=ee.sent,X=oe.default,ee.next=10,e.e(184).then(e.bind(e,60184));case 10:return k=ee.sent,_=k.default,ee.next=14,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 14:return te=ee.sent,Y=te.default,Ie=function(){return r.createElement(Y,{search:!1,table:{columns:X},request:function(){var ce=c()(a()().mark(function W(){var B;return a()().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.next=2,ne();case 2:return B=_(),q.abrupt("return",{data:B,total:100});case 4:case"end":return q.stop()}},W)}));function L(){return ce.apply(this,arguments)}return L}()})},ee.abrupt("return",{default:Ie});case 18:case"end":return ee.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-910-no-search-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' +export default Demo`},root:{type:"NPM"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/createDataSource-vt.ts":{type:"FILE",value:e(26423).Z}}}}},Ye={title:"\u6570\u636E\u663E\u793A Value Type",toc:"content",filename:"examples/search-table-react/060-value-type.md",lastUpdated:1720589953e3,order:60,description:"\u4E3A\u4E86\u63D0\u5347\u4E00\u4E9B\u5E38\u89C4\u6570\u636E\u5185\u5BB9\u7684\u6E32\u67D3\u7814\u53D1\u6548\u7387\uFF0C\u5982\u6570\u5B57\u91D1\u989D\u5343\u5206\u4F4D\u5904\u7406\u3001\u56FE\u7247\u663E\u793A\u3001\u4EE3\u7801\u5757\u663E\u793A\u7B49\uFF0CSearchTable \u6269\u5C55\u4E86 Antd Table \u7EC4\u4EF6\u7684 column \u5C5E\u6027\uFF0C\u589E\u52A0\u4E86 valueType \u5C5E\u6027\uFF0C\u6570\u5B57\u5343\u5206\u4F4D\u5904\u7406\u53EA\u9700\u58F0\u660E valueType \u4E3A comma-number\uFF0C\u6570\u636E\u7684\u663E\u793A\u5C31\u4F1A\u81EA\u52A8\u505A\u5343\u5206\u4F4D\u5904\u7406\u3002"},ft=[{id:"\u6570\u636E\u663E\u793A-value-type",depth:1,title:"\u6570\u636E\u663E\u793A Value Type"},{id:"\u5185\u7F6E\u6570\u636E\u663E\u793A\u7C7B\u578B\u5168\u89C8",depth:2,title:"\u5185\u7F6E\u6570\u636E\u663E\u793A\u7C7B\u578B\u5168\u89C8"},{id:"\u5185\u7F6E\u6570\u636E\u663E\u793A\u7C7B\u578B\u53C2\u6570\u8BE6\u89E3",depth:2,title:"\u5185\u7F6E\u6570\u636E\u663E\u793A\u7C7B\u578B\u53C2\u6570\u8BE6\u89E3"},{id:"\u6CE8\u518C\u6570\u636E\u663E\u793A\u7C7B\u578B",depth:2,title:"\u6CE8\u518C\u6570\u636E\u663E\u793A\u7C7B\u578B"}],St=[{value:"\u4E3A\u4E86\u63D0\u5347\u4E00\u4E9B\u5E38\u89C4\u6570\u636E\u5185\u5BB9\u7684\u6E32\u67D3\u7814\u53D1\u6548\u7387\uFF0C\u5982\u6570\u5B57\u91D1\u989D\u5343\u5206\u4F4D\u5904\u7406\u3001\u56FE\u7247\u663E\u793A\u3001\u4EE3\u7801\u5757\u663E\u793A\u7B49\uFF0CSearchTable \u6269\u5C55\u4E86 Antd Table \u7EC4\u4EF6\u7684 ",paraId:0,tocIndex:0},{value:"column",paraId:0,tocIndex:0},{value:" \u5C5E\u6027\uFF0C\u589E\u52A0\u4E86 ",paraId:0,tocIndex:0},{value:"valueType",paraId:0,tocIndex:0},{value:" \u5C5E\u6027\uFF0C\u6570\u5B57\u5343\u5206\u4F4D\u5904\u7406\u53EA\u9700\u58F0\u660E ",paraId:0,tocIndex:0},{value:"valueType",paraId:0,tocIndex:0},{value:" \u4E3A ",paraId:0,tocIndex:0},{value:"comma-number",paraId:0,tocIndex:0},{value:"\uFF0C\u6570\u636E\u7684\u663E\u793A\u5C31\u4F1A\u81EA\u52A8\u505A\u5343\u5206\u4F4D\u5904\u7406\u3002",paraId:0,tocIndex:0},{value:"\u51FD\u6570\u65B9\u5F0F\uFF0C\u53EF\u4EE5\u7528\u6765\u4F20\u9012\u53C2\u6570\uFF0C\u5982\u4E0B\u793A\u4F8B\uFF0C\u5F69\u8272\u6807\u7B7E\u3002",paraId:1},{value:"\u53C2\u6570",paraId:2,tocIndex:2},{value:"\u63CF\u8FF0",paraId:2,tocIndex:2},{value:"\u6570\u636E\u503C\u7C7B\u578B",paraId:2,tocIndex:2},{value:"code",paraId:2,tocIndex:2},{value:"\u4EE3\u7801\u5757\u5F62\u5F0F\u663E\u793A",paraId:2,tocIndex:2},{value:"string",paraId:2,tocIndex:2},{value:"rate",paraId:2,tocIndex:2},{value:"\u8BC4\u5206\u5F62\u5F0F\u663E\u793A",paraId:2,tocIndex:2},{value:"number",paraId:2,tocIndex:2},{value:"switch",paraId:2,tocIndex:2},{value:"\u5F00\u5173\u5F62\u5F0F\u663E\u793A",paraId:2,tocIndex:2},{value:"boolean | 1 | 0",paraId:2,tocIndex:2},{value:"images",paraId:2,tocIndex:2},{value:"\u56FE\u7247\u9884\u89C8\u5F62\u5F0F\u663E\u793A",paraId:2,tocIndex:2},{value:"string | string[]",paraId:2,tocIndex:2},{value:"tags",paraId:2,tocIndex:2},{value:"\u6807\u7B7E\u5F62\u5F0F",paraId:2,tocIndex:2},{value:"string | string[]",paraId:2,tocIndex:2},{value:"comma-number",paraId:2,tocIndex:2},{value:"\u6570\u5B57\u5343\u5206\u4F4D\u5904\u7406\u663E\u793A",paraId:2,tocIndex:2},{value:"number | string",paraId:2,tocIndex:2},{value:"percent",paraId:2,tocIndex:2},{value:"\u6570\u5B57\u52A0\u767E\u5206\u53F7\u663E\u793A",paraId:2,tocIndex:2},{value:"number | string",paraId:2,tocIndex:2},{value:"\u901A\u8FC7 ",paraId:3,tocIndex:3},{value:"registerValueType",paraId:3,tocIndex:3},{value:" \u5C5E\u6027\u53EF\u4EE5\u6CE8\u518C\u81EA\u5B9A\u4E49\u7684\u6570\u636E\u663E\u793A\u7C7B\u578B\uFF0C\u540C\u540D\u5C06\u8986\u76D6\u3002",paraId:3,tocIndex:3}],Et={"examples-search-table-react-910-no-search-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie;return a()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=ee.sent,ne=J.sleep,ee.next=6,e.e(2498).then(e.bind(e,22498));case 6:return oe=ee.sent,X=oe.default,ee.next=10,e.e(184).then(e.bind(e,60184));case 10:return k=ee.sent,_=k.default,ee.next=14,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 14:return te=ee.sent,Y=te.default,Ie=function(){return r.createElement(Y,{search:!1,table:{columns:X},request:function(){var ce=c()(a()().mark(function W(){var B;return a()().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.next=2,ne();case 2:return B=_(),q.abrupt("return",{data:B,total:100});case 4:case"end":return q.stop()}},W)}));function L(){return ce.apply(this,arguments)}return L}()})},ee.abrupt("return",{default:Ie});case 18:case"end":return ee.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-910-no-search-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' import columns from './helpers/columns' import createDataSource from './helpers/createDataSource' import SearchTable from '@schema-render/search-table-react' @@ -2065,7 +2065,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/columns.ts":{type:"FILE",value:e(90966).Z},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z}}}}},Bt={title:"\u9690\u85CF\u641C\u7D22\u533A\u57DF",toc:"content",filename:"examples/search-table-react/910-no-search.md",lastUpdated:1720589953e3,group:{title:"\u6848\u4F8B\u96C6\u9526",order:910},description:"\u8BBE\u7F6E search: false \u53EF\u9690\u85CF\u641C\u7D22\u533A\u57DF"},Ve=[{id:"\u9690\u85CF\u641C\u7D22\u533A\u57DF",depth:1,title:"\u9690\u85CF\u641C\u7D22\u533A\u57DF"}],tt=[{value:"\u8BBE\u7F6E ",paraId:0,tocIndex:0},{value:"search: false",paraId:0,tocIndex:0},{value:" \u53EF\u9690\u85CF\u641C\u7D22\u533A\u57DF",paraId:0,tocIndex:0}],st={"examples-core-react-600-catch-error-tips-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie;return a()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=ee.sent,ne=J.default,ee.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=ee.sent,X=oe.Input,ee.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=ee.sent,_=k.default,te={InputText:{component:function(){throw Error("\u53D1\u751F\u9519\u8BEF\u4E86")}},TextArea:{component:function(ce){var L,W=ce.schema,B=ce.value,le=ce.disabled,q=ce.onChange;return r.createElement(X.TextArea,C()(C()({rows:3,placeholder:"\u8BF7\u8F93\u5165".concat((L=W.title)!==null&&L!==void 0?L:"")},W.renderOptions),{},{value:B,onChange:function(Ae){return q(Ae.target.value)},disabled:le}))}}},Y={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",renderOptions:{maxLength:10,placeholder:"\u8BF7\u8F93\u5165\u6807\u9898\uFF0C\u6700\u591A10\u4E2A\u5B57\u7B26"}},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},Ie=function(){return r.createElement(ne,{schema:Y,itemLayout:_,renderers:te})},ee.abrupt("return",{default:Ie});case 16:case"end":return ee.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-600-catch-error-tips-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}}},Bt={title:"\u9690\u85CF\u641C\u7D22\u533A\u57DF",toc:"content",filename:"examples/search-table-react/910-no-search.md",lastUpdated:1720589953e3,group:{title:"\u6848\u4F8B\u96C6\u9526",order:910},description:"\u8BBE\u7F6E search: false \u53EF\u9690\u85CF\u641C\u7D22\u533A\u57DF"},Ve=[{id:"\u9690\u85CF\u641C\u7D22\u533A\u57DF",depth:1,title:"\u9690\u85CF\u641C\u7D22\u533A\u57DF"}],tt=[{value:"\u8BBE\u7F6E ",paraId:0,tocIndex:0},{value:"search: false",paraId:0,tocIndex:0},{value:" \u53EF\u9690\u85CF\u641C\u7D22\u533A\u57DF",paraId:0,tocIndex:0}],st={"examples-core-react-600-catch-error-tips-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie;return a()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=ee.sent,ne=J.default,ee.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=ee.sent,X=oe.Input,ee.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=ee.sent,_=k.default,te={InputText:{component:function(){throw Error("\u53D1\u751F\u9519\u8BEF\u4E86")}},TextArea:{component:function(ce){var L,W=ce.schema,B=ce.value,le=ce.disabled,q=ce.onChange;return r.createElement(X.TextArea,C()(C()({rows:3,placeholder:"\u8BF7\u8F93\u5165".concat((L=W.title)!==null&&L!==void 0?L:"")},W.renderOptions),{},{value:B,onChange:function(Ae){return q(Ae.target.value)},disabled:le}))}}},Y={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",renderOptions:{maxLength:10,placeholder:"\u8BF7\u8F93\u5165\u6807\u9898\uFF0C\u6700\u591A10\u4E2A\u5B57\u7B26"}},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},Ie=function(){return r.createElement(ne,{schema:Y,itemLayout:_,renderers:te})},ee.abrupt("return",{default:Ie});case 16:case"end":return ee.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-600-catch-error-tips-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import { Input } from 'antd' import Horizontal from './item-layout/Horizontal' import type { IRenderers } from '@schema-render/core-react' @@ -2115,7 +2115,7 @@ const Demo = () => { return } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},antd:{type:"NPM",value:"5.9.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-600-catch-error-tips-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie;return a()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=ee.sent,ne=J.default,ee.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=ee.sent,X=oe.Input,ee.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=ee.sent,_=k.default,te={InputText:{component:function(){throw Error("\u53D1\u751F\u9519\u8BEF\u4E86")}},TextArea:{component:function(ce){var L,W=ce.schema,B=ce.value,le=ce.disabled,q=ce.onChange;return r.createElement(X.TextArea,C()(C()({rows:3,placeholder:"\u8BF7\u8F93\u5165".concat((L=W.title)!==null&&L!==void 0?L:"")},W.renderOptions),{},{value:B,onChange:function(Ae){return q(Ae.target.value)},disabled:le}))}}},Y={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",renderOptions:{maxLength:10,placeholder:"\u8BF7\u8F93\u5165\u6807\u9898\uFF0C\u6700\u591A10\u4E2A\u5B57\u7B26"}},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},Ie=function(){return r.createElement(ne,{catchErrorTips:"silent",schema:Y,itemLayout:_,renderers:te})},ee.abrupt("return",{default:Ie});case 16:case"end":return ee.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-600-catch-error-tips-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},antd:{type:"NPM",value:"5.9.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-600-catch-error-tips-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie;return a()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=ee.sent,ne=J.default,ee.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=ee.sent,X=oe.Input,ee.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=ee.sent,_=k.default,te={InputText:{component:function(){throw Error("\u53D1\u751F\u9519\u8BEF\u4E86")}},TextArea:{component:function(ce){var L,W=ce.schema,B=ce.value,le=ce.disabled,q=ce.onChange;return r.createElement(X.TextArea,C()(C()({rows:3,placeholder:"\u8BF7\u8F93\u5165".concat((L=W.title)!==null&&L!==void 0?L:"")},W.renderOptions),{},{value:B,onChange:function(Ae){return q(Ae.target.value)},disabled:le}))}}},Y={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",renderOptions:{maxLength:10,placeholder:"\u8BF7\u8F93\u5165\u6807\u9898\uFF0C\u6700\u591A10\u4E2A\u5B57\u7B26"}},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},Ie=function(){return r.createElement(ne,{catchErrorTips:"silent",schema:Y,itemLayout:_,renderers:te})},ee.abrupt("return",{default:Ie});case 16:case"end":return ee.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-600-catch-error-tips-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import { Input } from 'antd' import Horizontal from './item-layout/Horizontal' import type { IRenderers } from '@schema-render/core-react' @@ -2172,7 +2172,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},antd:{type:"NPM",value:"5.9.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-600-catch-error-tips-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie;return a()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=ee.sent,ne=J.default,ee.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=ee.sent,X=oe.Input,ee.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=ee.sent,_=k.default,te={InputText:{component:function(){throw Error("\u53D1\u751F\u9519\u8BEF\u4E86")}},TextArea:{component:function(ce){var L,W=ce.schema,B=ce.value,le=ce.disabled,q=ce.onChange;return r.createElement(X.TextArea,C()(C()({rows:3,placeholder:"\u8BF7\u8F93\u5165".concat((L=W.title)!==null&&L!==void 0?L:"")},W.renderOptions),{},{value:B,onChange:function(Ae){return q(Ae.target.value)},disabled:le}))}}},Y={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",renderOptions:{maxLength:10,placeholder:"\u8BF7\u8F93\u5165\u6807\u9898\uFF0C\u6700\u591A10\u4E2A\u5B57\u7B26"}},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},Ie=function(){return r.createElement(ne,{catchErrorTips:function(){return r.createElement("div",{style:{color:"yellow",background:"black"}},"\u81EA\u5B9A\u4E49\u7684\u9519\u8BEF\u4FE1\u606F")},schema:Y,itemLayout:_,renderers:te})},ee.abrupt("return",{default:Ie});case 16:case"end":return ee.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-600-catch-error-tips-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},antd:{type:"NPM",value:"5.9.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-600-catch-error-tips-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie;return a()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=ee.sent,ne=J.default,ee.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=ee.sent,X=oe.Input,ee.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=ee.sent,_=k.default,te={InputText:{component:function(){throw Error("\u53D1\u751F\u9519\u8BEF\u4E86")}},TextArea:{component:function(ce){var L,W=ce.schema,B=ce.value,le=ce.disabled,q=ce.onChange;return r.createElement(X.TextArea,C()(C()({rows:3,placeholder:"\u8BF7\u8F93\u5165".concat((L=W.title)!==null&&L!==void 0?L:"")},W.renderOptions),{},{value:B,onChange:function(Ae){return q(Ae.target.value)},disabled:le}))}}},Y={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",renderOptions:{maxLength:10,placeholder:"\u8BF7\u8F93\u5165\u6807\u9898\uFF0C\u6700\u591A10\u4E2A\u5B57\u7B26"}},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},Ie=function(){return r.createElement(ne,{catchErrorTips:function(){return r.createElement("div",{style:{color:"yellow",background:"black"}},"\u81EA\u5B9A\u4E49\u7684\u9519\u8BEF\u4FE1\u606F")},schema:Y,itemLayout:_,renderers:te})},ee.abrupt("return",{default:Ie});case 16:case"end":return ee.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-600-catch-error-tips-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import { Input } from 'antd' import Horizontal from './item-layout/Horizontal' import type { IRenderers } from '@schema-render/core-react' @@ -2233,7 +2233,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},antd:{type:"NPM",value:"5.9.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},_e={title:"\u9519\u8BEF\u63D0\u793A\u4FE1\u606F",toc:"content",filename:"examples/core-react/600-catch-error-tips.md",lastUpdated:1704082387e3,group:"\u529F\u80FD\u8BE6\u89E3",order:600,description:"\u9ED8\u8BA4\u60C5\u51B5\uFF0C\u5F53\u6355\u83B7\u5230\u9519\u8BEF\u7684\u65F6\u5019\u4F1A\u6807\u7EA2\u5C55\u793A\u9519\u8BEF\u63D0\u793A\u4FE1\u606F\uFF0C\u4EA6\u53EF\u914D\u7F6E\u5982\u4E0B 2 \u4E2A\u53C2\u6570\u81EA\u5B9A\u4E49\u6216\u9690\u85CF\u9519\u8BEF\u63D0\u793A"},It=[{id:"\u9519\u8BEF\u63D0\u793A\u4FE1\u606F",depth:1,title:"\u9519\u8BEF\u63D0\u793A\u4FE1\u606F"},{id:"\u9ED8\u8BA4\u6807\u7EA2\u63D0\u793A",depth:2,title:"\u9ED8\u8BA4\u6807\u7EA2\u63D0\u793A"},{id:"silent-\u7981\u7528\u63D0\u793A",depth:2,title:"silent \u7981\u7528\u63D0\u793A"},{id:"\u81EA\u5B9A\u4E49\u63D0\u793A",depth:2,title:"\u81EA\u5B9A\u4E49\u63D0\u793A"}],Tt=[{value:"\u9ED8\u8BA4\u60C5\u51B5\uFF0C\u5F53\u6355\u83B7\u5230\u9519\u8BEF\u7684\u65F6\u5019\u4F1A\u6807\u7EA2\u5C55\u793A\u9519\u8BEF\u63D0\u793A\u4FE1\u606F\uFF0C\u4EA6\u53EF\u914D\u7F6E\u5982\u4E0B 2 \u4E2A\u53C2\u6570\u81EA\u5B9A\u4E49\u6216\u9690\u85CF\u9519\u8BEF\u63D0\u793A",paraId:0,tocIndex:0},{value:"\u4F20\u5165 ",paraId:1,tocIndex:0},{value:"\u51FD\u6570",paraId:1,tocIndex:0},{value:" \u5219\u81EA\u5B9A\u4E49\u9519\u8BEF\u4FE1\u606F",paraId:1,tocIndex:0},{value:"\u4F20\u5165 ",paraId:1,tocIndex:0},{value:"silent",paraId:1,tocIndex:0},{value:" \u5219\u4E0D\u63D0\u793A\u9519\u8BEF",paraId:1,tocIndex:0}],Kt={},Ht={title:"Schema \u534F\u8BAE\u8F6C\u6362\uFF08\u4ECE\u5176\u4ED6 JSON Schema \u8FC1\u79FB\uFF09",toc:"content",filename:"examples/core-react/931-schema-transform.md",lastUpdated:1704082387e3,group:"\u8F85\u52A9\u5DE5\u5177",order:931,debug:!0},an=[{id:"schema-\u534F\u8BAE\u8F6C\u6362\u4ECE\u5176\u4ED6-json-schema-\u8FC1\u79FB",depth:1,title:"Schema \u534F\u8BAE\u8F6C\u6362\uFF08\u4ECE\u5176\u4ED6 JSON Schema \u8FC1\u79FB\uFF09"}],cn=[],dn=e(93525),Nn=e.n(dn),Kn={"examples-form-render-react-890-benchmark-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie;return a()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.next=2,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 2:return J=ee.sent,ne=J.default,ee.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return oe=ee.sent,X=oe.useState,k=100,_={renderType:"Root",properties:{}},te=Nn()(Array(k).keys()),te.forEach(function(V){var ce="field_".concat(V);_.properties[ce]={title:ce,renderType:"InputText",required:!0}}),Y=["200px","1fr"],Ie=function(){var ce=X({}),L=o()(ce,2),W=L[0],B=L[1],le=function(xe,Ae){var Se=parseInt(Ae.sPath.slice(6)),ke=Se-1,et=Se+1,dt="field_".concat(et>=k?ke:et);xe[dt]=Ae.value,B(xe)};return r.createElement(ne,{layout:"autoFill",layoutMinMax:Y,itemLayout:"vertical",schema:_,value:W,onChange:le})},ee.abrupt("return",{default:Ie});case 15:case"end":return ee.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-890-benchmark-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import FormRender from '@schema-render/form-render-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},antd:{type:"NPM",value:"5.9.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},_e={title:"\u9519\u8BEF\u63D0\u793A\u4FE1\u606F",toc:"content",filename:"examples/core-react/600-catch-error-tips.md",lastUpdated:1704082387e3,group:"\u529F\u80FD\u8BE6\u89E3",order:600,description:"\u9ED8\u8BA4\u60C5\u51B5\uFF0C\u5F53\u6355\u83B7\u5230\u9519\u8BEF\u7684\u65F6\u5019\u4F1A\u6807\u7EA2\u5C55\u793A\u9519\u8BEF\u63D0\u793A\u4FE1\u606F\uFF0C\u4EA6\u53EF\u914D\u7F6E\u5982\u4E0B 2 \u4E2A\u53C2\u6570\u81EA\u5B9A\u4E49\u6216\u9690\u85CF\u9519\u8BEF\u63D0\u793A"},It=[{id:"\u9519\u8BEF\u63D0\u793A\u4FE1\u606F",depth:1,title:"\u9519\u8BEF\u63D0\u793A\u4FE1\u606F"},{id:"\u9ED8\u8BA4\u6807\u7EA2\u63D0\u793A",depth:2,title:"\u9ED8\u8BA4\u6807\u7EA2\u63D0\u793A"},{id:"silent-\u7981\u7528\u63D0\u793A",depth:2,title:"silent \u7981\u7528\u63D0\u793A"},{id:"\u81EA\u5B9A\u4E49\u63D0\u793A",depth:2,title:"\u81EA\u5B9A\u4E49\u63D0\u793A"}],Tt=[{value:"\u9ED8\u8BA4\u60C5\u51B5\uFF0C\u5F53\u6355\u83B7\u5230\u9519\u8BEF\u7684\u65F6\u5019\u4F1A\u6807\u7EA2\u5C55\u793A\u9519\u8BEF\u63D0\u793A\u4FE1\u606F\uFF0C\u4EA6\u53EF\u914D\u7F6E\u5982\u4E0B 2 \u4E2A\u53C2\u6570\u81EA\u5B9A\u4E49\u6216\u9690\u85CF\u9519\u8BEF\u63D0\u793A",paraId:0,tocIndex:0},{value:"\u4F20\u5165 ",paraId:1,tocIndex:0},{value:"\u51FD\u6570",paraId:1,tocIndex:0},{value:" \u5219\u81EA\u5B9A\u4E49\u9519\u8BEF\u4FE1\u606F",paraId:1,tocIndex:0},{value:"\u4F20\u5165 ",paraId:1,tocIndex:0},{value:"silent",paraId:1,tocIndex:0},{value:" \u5219\u4E0D\u63D0\u793A\u9519\u8BEF",paraId:1,tocIndex:0}],Kt={},Ht={title:"Schema \u534F\u8BAE\u8F6C\u6362\uFF08\u4ECE\u5176\u4ED6 JSON Schema \u8FC1\u79FB\uFF09",toc:"content",filename:"examples/core-react/931-schema-transform.md",lastUpdated:1704082387e3,group:"\u8F85\u52A9\u5DE5\u5177",order:931,debug:!0},an=[{id:"schema-\u534F\u8BAE\u8F6C\u6362\u4ECE\u5176\u4ED6-json-schema-\u8FC1\u79FB",depth:1,title:"Schema \u534F\u8BAE\u8F6C\u6362\uFF08\u4ECE\u5176\u4ED6 JSON Schema \u8FC1\u79FB\uFF09"}],cn=[],dn=e(93525),Nn=e.n(dn),Kn={"examples-form-render-react-890-benchmark-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie;return a()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.next=2,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 2:return J=ee.sent,ne=J.default,ee.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return oe=ee.sent,X=oe.useState,k=100,_={renderType:"Root",properties:{}},te=Nn()(Array(k).keys()),te.forEach(function(V){var ce="field_".concat(V);_.properties[ce]={title:ce,renderType:"InputText",required:!0}}),Y=["200px","1fr"],Ie=function(){var ce=X({}),L=o()(ce,2),W=L[0],B=L[1],le=function(xe,Ae){var Se=parseInt(Ae.sPath.slice(6)),ke=Se-1,et=Se+1,dt="field_".concat(et>=k?ke:et);xe[dt]=Ae.value,B(xe)};return r.createElement(ne,{layout:"autoFill",layoutMinMax:Y,itemLayout:"vertical",schema:_,value:W,onChange:le})},ee.abrupt("return",{default:Ie});case 15:case"end":return ee.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-890-benchmark-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import FormRender from '@schema-render/form-render-react' import { useState } from 'react' /** @@ -2279,7 +2279,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"},react:{type:"NPM",value:"18.2.0"}}}},"examples-form-render-react-890-benchmark-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie;return a()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.next=2,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 2:return J=ee.sent,ne=J.default,ee.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return oe=ee.sent,X=oe.useState,k=300,_={renderType:"Root",properties:{}},te=Nn()(Array(k).keys()),te.forEach(function(V){var ce="field_".concat(V);_.properties[ce]={title:ce,renderType:"InputText",required:!0}}),Y=["200px","1fr"],Ie=function(){var ce=X({}),L=o()(ce,2),W=L[0],B=L[1],le=function(xe,Ae){var Se=parseInt(Ae.sPath.slice(6)),ke=Se-1,et=Se+1,dt="field_".concat(et>=k?ke:et);xe[dt]=Ae.value,B(xe)};return r.createElement(ne,{layout:"autoFill",layoutMinMax:Y,itemLayout:"vertical",schema:_,value:W,onChange:le})},ee.abrupt("return",{default:Ie});case 15:case"end":return ee.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-890-benchmark-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import FormRender from '@schema-render/form-render-react' +export default Demo`},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"},react:{type:"NPM",value:"18.2.0"}}}},"examples-form-render-react-890-benchmark-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie;return a()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.next=2,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 2:return J=ee.sent,ne=J.default,ee.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return oe=ee.sent,X=oe.useState,k=300,_={renderType:"Root",properties:{}},te=Nn()(Array(k).keys()),te.forEach(function(V){var ce="field_".concat(V);_.properties[ce]={title:ce,renderType:"InputText",required:!0}}),Y=["200px","1fr"],Ie=function(){var ce=X({}),L=o()(ce,2),W=L[0],B=L[1],le=function(xe,Ae){var Se=parseInt(Ae.sPath.slice(6)),ke=Se-1,et=Se+1,dt="field_".concat(et>=k?ke:et);xe[dt]=Ae.value,B(xe)};return r.createElement(ne,{layout:"autoFill",layoutMinMax:Y,itemLayout:"vertical",schema:_,value:W,onChange:le})},ee.abrupt("return",{default:Ie});case 15:case"end":return ee.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-890-benchmark-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import FormRender from '@schema-render/form-render-react' import { useState } from 'react' /** @@ -2325,7 +2325,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"},react:{type:"NPM",value:"18.2.0"}}}}},gr={title:"\u6027\u80FD\u6D4B\u8BD5",toc:"content",filename:"examples/form-render-react/890-benchmark.md",lastUpdated:1706161917e3,group:{title:"\u6027\u80FD\u6D4B\u8BD5",order:890},description:"100 \u4E2A\u8868\u5355\u9879\u8054\u52A8\u6027\u80FD\u6D4B\u8BD5\uFF0C\u4E1D\u6ED1\u6D41\u7545"},Qt=[{id:"\u6027\u80FD\u6D4B\u8BD5",depth:1,title:"\u6027\u80FD\u6D4B\u8BD5"},{id:"100",depth:2,title:"100"},{id:"300",depth:2,title:"300"}],Lt=[{value:"100 \u4E2A\u8868\u5355\u9879\u8054\u52A8\u6027\u80FD\u6D4B\u8BD5\uFF0C\u4E1D\u6ED1\u6D41\u7545",paraId:0,tocIndex:1},{value:"300 \u4E2A\u8868\u5355\u9879\u8054\u52A8\u6027\u80FD\u6D4B\u8BD5\uFF0C\u8F83\u4E3A\u6D41\u7545",paraId:1,tocIndex:2}],Nt={"examples-search-react-850-category-title-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(2712)]).then(e.bind(e,41670));case 2:return J=L.sent,ne=J.default,L.next=6,e.e(4815).then(e.bind(e,94815));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(5892),e.e(4012)]).then(e.bind(e,21510));case 10:return k=L.sent,_=k.default,te={BankSelect:X,ObjectSectionTitle:_},Y={renderType:"Root",properties:{basic:{title:"\u57FA\u7840\u4FE1\u606F",renderType:"ObjectSectionTitle",properties:{supplier_name:{title:"\u4F9B\u5E94\u5546\u540D\u79F0",renderType:"InputText"},supplier_code:{title:"\u4F9B\u5E94\u5546\u7F16\u7801",renderType:"InputText"},bill_no:{title:"\u5355\u636E\u7F16\u53F7",renderType:"InputText"},bill_date:{title:"\u5355\u636E\u65E5\u671F",renderType:"DateRangePicker"},goods_name:{title:"\u5546\u54C1\u540D\u79F0",renderType:"InputText"},goods_code:{title:"\u5546\u54C1\u7F16\u7801",renderType:"InputText"}}},payment:{title:"\u4ED8\u6B3E\u4FE1\u606F",renderType:"ObjectSectionTitle",properties:{bank_name:{title:"\u5F00\u6237\u94F6\u884C\u540D\u79F0",renderType:"BankSelect"},bank_branch_name:{title:"\u5F00\u6237\u652F\u884C\u540D\u79F0",renderType:"BankSelect"},bank_account:{title:"\u5F00\u6237\u94F6\u884C\u8D26\u53F7",renderType:"BankSelect"}}},collection:{title:"\u6536\u6B3E\u4FE1\u606F",renderType:"ObjectSectionTitle",properties:{bank_name:{title:"\u5F00\u6237\u94F6\u884C\u540D\u79F0",renderType:"BankSelect"},bank_branch_name:{title:"\u5F00\u6237\u652F\u884C\u540D\u79F0",renderType:"BankSelect"},bank_account:{title:"\u5F00\u6237\u94F6\u884C\u8D26\u53F7",renderType:"BankSelect"}}}}},Ie=function(B){var le=function(xe,Ae){xe[B].bank_id=Ae.extra.bank_id,xe[B].bank_account=Ae.extra.bank_account,xe[B].bank_name=Ae.extra.bank_name,xe[B].bank_branch_name=Ae.extra.bank_branch_name};return le},D=Ie("payment"),ee=Ie("collection"),V=function(){return r.createElement(ne,{defaultCollapsed:!1,style:{gridTemplateColumns:"auto"},schema:Y,renderers:te,actions:["collapse"],watch:{"payment.bank_account":D,"payment.bank_name":D,"payment.bank_branch_name":D,"collection.bank_account":ee,"collection.bank_name":ee,"collection.bank_branch_name":ee}})},L.abrupt("return",{default:V});case 19:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-react-850-category-title-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Search from '@schema-render/search-react' +export default Demo`},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"},react:{type:"NPM",value:"18.2.0"}}}}},gr={title:"\u6027\u80FD\u6D4B\u8BD5",toc:"content",filename:"examples/form-render-react/890-benchmark.md",lastUpdated:1706161917e3,group:{title:"\u6027\u80FD\u6D4B\u8BD5",order:890},description:"100 \u4E2A\u8868\u5355\u9879\u8054\u52A8\u6027\u80FD\u6D4B\u8BD5\uFF0C\u4E1D\u6ED1\u6D41\u7545"},Qt=[{id:"\u6027\u80FD\u6D4B\u8BD5",depth:1,title:"\u6027\u80FD\u6D4B\u8BD5"},{id:"100",depth:2,title:"100"},{id:"300",depth:2,title:"300"}],Lt=[{value:"100 \u4E2A\u8868\u5355\u9879\u8054\u52A8\u6027\u80FD\u6D4B\u8BD5\uFF0C\u4E1D\u6ED1\u6D41\u7545",paraId:0,tocIndex:1},{value:"300 \u4E2A\u8868\u5355\u9879\u8054\u52A8\u6027\u80FD\u6D4B\u8BD5\uFF0C\u8F83\u4E3A\u6D41\u7545",paraId:1,tocIndex:2}],Nt={"examples-search-react-850-category-title-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(2712)]).then(e.bind(e,41670));case 2:return J=L.sent,ne=J.default,L.next=6,e.e(4815).then(e.bind(e,94815));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(5892),e.e(4012)]).then(e.bind(e,21510));case 10:return k=L.sent,_=k.default,te={BankSelect:X,ObjectSectionTitle:_},Y={renderType:"Root",properties:{basic:{title:"\u57FA\u7840\u4FE1\u606F",renderType:"ObjectSectionTitle",properties:{supplier_name:{title:"\u4F9B\u5E94\u5546\u540D\u79F0",renderType:"InputText"},supplier_code:{title:"\u4F9B\u5E94\u5546\u7F16\u7801",renderType:"InputText"},bill_no:{title:"\u5355\u636E\u7F16\u53F7",renderType:"InputText"},bill_date:{title:"\u5355\u636E\u65E5\u671F",renderType:"DateRangePicker"},goods_name:{title:"\u5546\u54C1\u540D\u79F0",renderType:"InputText"},goods_code:{title:"\u5546\u54C1\u7F16\u7801",renderType:"InputText"}}},payment:{title:"\u4ED8\u6B3E\u4FE1\u606F",renderType:"ObjectSectionTitle",properties:{bank_name:{title:"\u5F00\u6237\u94F6\u884C\u540D\u79F0",renderType:"BankSelect"},bank_branch_name:{title:"\u5F00\u6237\u652F\u884C\u540D\u79F0",renderType:"BankSelect"},bank_account:{title:"\u5F00\u6237\u94F6\u884C\u8D26\u53F7",renderType:"BankSelect"}}},collection:{title:"\u6536\u6B3E\u4FE1\u606F",renderType:"ObjectSectionTitle",properties:{bank_name:{title:"\u5F00\u6237\u94F6\u884C\u540D\u79F0",renderType:"BankSelect"},bank_branch_name:{title:"\u5F00\u6237\u652F\u884C\u540D\u79F0",renderType:"BankSelect"},bank_account:{title:"\u5F00\u6237\u94F6\u884C\u8D26\u53F7",renderType:"BankSelect"}}}}},Ie=function(B){var le=function(xe,Ae){xe[B].bank_id=Ae.extra.bank_id,xe[B].bank_account=Ae.extra.bank_account,xe[B].bank_name=Ae.extra.bank_name,xe[B].bank_branch_name=Ae.extra.bank_branch_name};return le},D=Ie("payment"),ee=Ie("collection"),V=function(){return r.createElement(ne,{defaultCollapsed:!1,style:{gridTemplateColumns:"auto"},schema:Y,renderers:te,actions:["collapse"],watch:{"payment.bank_account":D,"payment.bank_name":D,"payment.bank_branch_name":D,"collection.bank_account":ee,"collection.bank_name":ee,"collection.bank_branch_name":ee}})},L.abrupt("return",{default:V});case 19:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-react-850-category-title-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Search from '@schema-render/search-react' import type { ISearchProps } from '@schema-render/search-react' import type { IFormRenderRootSchema } from '@schema-render/form-render-react' import BankSelect from './renderers/BankSelect' @@ -2444,7 +2444,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/search-react":{type:"NPM",value:"1.5.0"},"renderers/ObjectSectionTitle.tsx":{type:"FILE",value:e(55257).Z},"renderers/BankSelect.tsx":{type:"FILE",value:e(96243).Z}}}},"examples-search-react-850-category-title-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(2712)]).then(e.bind(e,41670));case 2:return J=W.sent,ne=J.default,W.next=6,e.e(4815).then(e.bind(e,94815));case 6:return oe=W.sent,X=oe.default,W.next=10,e.e(103).then(e.bind(e,30103));case 10:return k=W.sent,_=k.default,te={BankSelect:X,SectionTitle:_},Y={renderType:"Root",properties:{_section_title_x1:{title:"\u57FA\u7840\u4FE1\u606F",renderType:"SectionTitle"},supplier_name:{title:"\u4F9B\u5E94\u5546\u540D\u79F0",renderType:"InputText",spanStart:1},supplier_code:{title:"\u4F9B\u5E94\u5546\u7F16\u7801",renderType:"InputText"},bill_no:{title:"\u5355\u636E\u7F16\u53F7",renderType:"InputText"},bill_date:{title:"\u5355\u636E\u65E5\u671F",renderType:"DateRangePicker"},goods_name:{title:"\u5546\u54C1\u540D\u79F0",renderType:"InputText"},goods_code:{title:"\u5546\u54C1\u7F16\u7801",renderType:"InputText"},_section_title_x2:{title:"\u4ED8\u6B3E\u4FE1\u606F",renderType:"SectionTitle",spanStart:1},payment_bank_name:{title:"\u5F00\u6237\u94F6\u884C\u540D\u79F0",renderType:"BankSelect",spanStart:1},payment_bank_branch_name:{title:"\u5F00\u6237\u652F\u884C\u540D\u79F0",renderType:"BankSelect"},payment_bank_account:{title:"\u5F00\u6237\u94F6\u884C\u8D26\u53F7",renderType:"BankSelect"},_section_title_x3:{title:"\u6536\u6B3E\u4FE1\u606F",renderType:"SectionTitle",spanStart:1},collection_bank_name:{title:"\u5F00\u6237\u94F6\u884C\u540D\u79F0",renderType:"BankSelect",spanStart:1},collection_bank_branch_name:{title:"\u5F00\u6237\u652F\u884C\u540D\u79F0",renderType:"BankSelect"},collection_bank_account:{title:"\u5F00\u6237\u94F6\u884C\u8D26\u53F7",renderType:"BankSelect"},_section_title_x4:{title:"\u5176\u4ED6\u4FE1\u606F",renderType:"SectionTitle",spanStart:1},reason:{title:"\u4E8B\u7531",renderType:"InputText",spanStart:1,style:{width:"calc(100vw - 635px)"}},remark:{title:"\u5907\u6CE8",renderType:"TextArea",renderOptions:{rows:1},style:{gridColumn:"1/3"}}}},Ie=function(le){var q=function(Ae,Se){Ae["".concat(le,"_bank_id")]=Se.extra.bank_id,Ae["".concat(le,"_bank_account")]=Se.extra.bank_account,Ae["".concat(le,"_bank_name")]=Se.extra.bank_name,Ae["".concat(le,"_bank_branch_name")]=Se.extra.bank_branch_name};return q},D=Ie("payment"),ee=Ie("collection"),V=function(le){var q,xe;if(!le)return 5;var Ae=le.clientWidth,Se=((q=le.querySelector(".schema-render-form-item:nth-of-type(2)"))===null||q===void 0||(xe=q.getBoundingClientRect())===null||xe===void 0?void 0:xe.width)||320;return Math.floor(Ae/Se)*2},ce=function(){return r.createElement(ne,{defaultCollapsed:!1,schema:Y,renderers:te,actions:["collapse"],watch:{payment_bank_account:D,payment_bank_name:D,payment_bank_branch_name:D,collection_bank_account:ee,collection_bank_name:ee,collection_bank_branch_name:ee},calcCollapsedNumber:V})},W.abrupt("return",{default:ce});case 20:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-react-850-category-title-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Search from '@schema-render/search-react' +export default Demo`},"@schema-render/search-react":{type:"NPM",value:"1.5.1"},"renderers/ObjectSectionTitle.tsx":{type:"FILE",value:e(55257).Z},"renderers/BankSelect.tsx":{type:"FILE",value:e(96243).Z}}}},"examples-search-react-850-category-title-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(2712)]).then(e.bind(e,41670));case 2:return J=W.sent,ne=J.default,W.next=6,e.e(4815).then(e.bind(e,94815));case 6:return oe=W.sent,X=oe.default,W.next=10,e.e(103).then(e.bind(e,30103));case 10:return k=W.sent,_=k.default,te={BankSelect:X,SectionTitle:_},Y={renderType:"Root",properties:{_section_title_x1:{title:"\u57FA\u7840\u4FE1\u606F",renderType:"SectionTitle"},supplier_name:{title:"\u4F9B\u5E94\u5546\u540D\u79F0",renderType:"InputText",spanStart:1},supplier_code:{title:"\u4F9B\u5E94\u5546\u7F16\u7801",renderType:"InputText"},bill_no:{title:"\u5355\u636E\u7F16\u53F7",renderType:"InputText"},bill_date:{title:"\u5355\u636E\u65E5\u671F",renderType:"DateRangePicker"},goods_name:{title:"\u5546\u54C1\u540D\u79F0",renderType:"InputText"},goods_code:{title:"\u5546\u54C1\u7F16\u7801",renderType:"InputText"},_section_title_x2:{title:"\u4ED8\u6B3E\u4FE1\u606F",renderType:"SectionTitle",spanStart:1},payment_bank_name:{title:"\u5F00\u6237\u94F6\u884C\u540D\u79F0",renderType:"BankSelect",spanStart:1},payment_bank_branch_name:{title:"\u5F00\u6237\u652F\u884C\u540D\u79F0",renderType:"BankSelect"},payment_bank_account:{title:"\u5F00\u6237\u94F6\u884C\u8D26\u53F7",renderType:"BankSelect"},_section_title_x3:{title:"\u6536\u6B3E\u4FE1\u606F",renderType:"SectionTitle",spanStart:1},collection_bank_name:{title:"\u5F00\u6237\u94F6\u884C\u540D\u79F0",renderType:"BankSelect",spanStart:1},collection_bank_branch_name:{title:"\u5F00\u6237\u652F\u884C\u540D\u79F0",renderType:"BankSelect"},collection_bank_account:{title:"\u5F00\u6237\u94F6\u884C\u8D26\u53F7",renderType:"BankSelect"},_section_title_x4:{title:"\u5176\u4ED6\u4FE1\u606F",renderType:"SectionTitle",spanStart:1},reason:{title:"\u4E8B\u7531",renderType:"InputText",spanStart:1,style:{width:"calc(100vw - 635px)"}},remark:{title:"\u5907\u6CE8",renderType:"TextArea",renderOptions:{rows:1},style:{gridColumn:"1/3"}}}},Ie=function(le){var q=function(Ae,Se){Ae["".concat(le,"_bank_id")]=Se.extra.bank_id,Ae["".concat(le,"_bank_account")]=Se.extra.bank_account,Ae["".concat(le,"_bank_name")]=Se.extra.bank_name,Ae["".concat(le,"_bank_branch_name")]=Se.extra.bank_branch_name};return q},D=Ie("payment"),ee=Ie("collection"),V=function(le){var q,xe;if(!le)return 5;var Ae=le.clientWidth,Se=((q=le.querySelector(".schema-render-form-item:nth-of-type(2)"))===null||q===void 0||(xe=q.getBoundingClientRect())===null||xe===void 0?void 0:xe.width)||320;return Math.floor(Ae/Se)*2},ce=function(){return r.createElement(ne,{defaultCollapsed:!1,schema:Y,renderers:te,actions:["collapse"],watch:{payment_bank_account:D,payment_bank_name:D,payment_bank_branch_name:D,collection_bank_account:ee,collection_bank_name:ee,collection_bank_branch_name:ee},calcCollapsedNumber:V})},W.abrupt("return",{default:ce});case 20:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-react-850-category-title-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Search from '@schema-render/search-react' import type { ISearchProps } from '@schema-render/search-react' import type { IFormRenderRootSchema } from '@schema-render/form-render-react' import BankSelect from './renderers/BankSelect' @@ -2606,7 +2606,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/search-react":{type:"NPM",value:"1.5.0"},"renderers/SectionTitle.tsx":{type:"FILE",value:e(78497).Z},"renderers/BankSelect.tsx":{type:"FILE",value:e(96243).Z}}}}},Gt={title:"\u5206\u7C7B\u6807\u9898",toc:"content",filename:"examples/search-react/850-category-title.md",lastUpdated:1705222876e3,group:{title:"\u6848\u4F8B\u96C6\u9526",order:850},description:"\u5206\u7C7B\u6807\u9898\u5B9E\u73B0\u65B9\u5F0F\u6709\u4E24\u79CD\uFF1A"},kt=[{id:"\u5206\u7C7B\u6807\u9898",depth:1,title:"\u5206\u7C7B\u6807\u9898"},{id:"object-\u5BF9\u8C61\u6E32\u67D3\u5668\u5B9E\u73B0",depth:2,title:"Object \u5BF9\u8C61\u6E32\u67D3\u5668\u5B9E\u73B0"},{id:"\u8868\u5355\u9879\u5360\u6EE1\u4E00\u884C\u5B9E\u73B0",depth:2,title:"\u8868\u5355\u9879\u5360\u6EE1\u4E00\u884C\u5B9E\u73B0"}],on=[{value:"\u5206\u7C7B\u6807\u9898\u5B9E\u73B0\u65B9\u5F0F\u6709\u4E24\u79CD\uFF1A",paraId:0,tocIndex:0},{value:"\u901A\u8FC7 Object \u5BF9\u8C61\u6E32\u67D3\u5668\uFF0C\u4F1A\u6539\u53D8\u8868\u5355\u6570\u636E\u7ED3\u6784",paraId:1,tocIndex:0},{value:"\u8BBE\u7F6E\u5206\u7C7B\u6807\u9898\u8868\u5355\u9879\u5360\u6EE1\u4E00\u884C\uFF0C\u4E0D\u6539\u53D8\u8868\u5355\u6570\u636E\u7ED3\u6784",paraId:1,tocIndex:0}],Qn={},Jn={title:"Ref API",toc:"content",filename:"examples/search-table-react/801-open-api.md",lastUpdated:1720589953e3,group:{title:"API \u624B\u518C",order:801},description:"\u5185\u6838\u901A\u8FC7 ref \u5C5E\u6027\u5F00\u653E\u7684 API \u65B9\u6CD5\u5982\u4E0B\uFF1A"},kn=[{id:"ref-api",depth:1,title:"Ref API"},{id:"\u603B\u89C8",depth:2,title:"\u603B\u89C8"},{id:"refresh",depth:2,title:"refresh"},{id:"\u5165\u53C2",depth:3,title:"\u5165\u53C2"}],_n=[{value:"\u5185\u6838\u901A\u8FC7 ",paraId:0,tocIndex:1},{value:"ref",paraId:0,tocIndex:1},{value:" \u5C5E\u6027\u5F00\u653E\u7684 API \u65B9\u6CD5\u5982\u4E0B\uFF1A",paraId:0,tocIndex:1},{value:"refresh",paraId:1,tocIndex:1},{value:": \u5237\u65B0\u8868\u683C\u5185\u5BB9\uFF0C\u5C06\u8C03\u7528 ",paraId:1,tocIndex:1},{value:"request",paraId:1,tocIndex:1},{value:" \u91CD\u65B0\u62C9\u53D6\u6570\u636E\u3002",paraId:1,tocIndex:1},{value:"getRootElement",paraId:1,tocIndex:1},{value:": \u83B7\u53D6\u6839\u8282\u70B9 DOM \u5143\u7D20\u3002",paraId:1,tocIndex:1},{value:"getSearchRef",paraId:1,tocIndex:1},{value:": \u83B7\u53D6\u641C\u7D22\u680F\u5B9E\u4F8B\u3002",paraId:1,tocIndex:1},{value:"getDataSource",paraId:1,tocIndex:1},{value:": \u83B7\u53D6\u8868\u683C\u5217\u8868\u6570\u636E\u3002",paraId:1,tocIndex:1},{value:"setDataSource",paraId:1,tocIndex:1},{value:": \u8BBE\u7F6E\u8868\u683C\u5217\u8868\u6570\u636E\u3002",paraId:1,tocIndex:1},{value:"setSummaryData",paraId:1,tocIndex:1},{value:": \u8BBE\u7F6E\u5408\u8BA1\u680F\u6570\u636E\u3002",paraId:1,tocIndex:1},{value:"getSearchValue",paraId:1,tocIndex:1},{value:": \u83B7\u53D6\u641C\u7D22\u53C2\u6570\u3002",paraId:1,tocIndex:1},{value:"setSearchValue",paraId:1,tocIndex:1},{value:": \u8BBE\u7F6E\u641C\u7D22\u6570\u636E\u3002",paraId:1,tocIndex:1},{value:"clearSearchValue",paraId:1,tocIndex:1},{value:": \u6E05\u9664\u641C\u7D22\u6570\u636E\u3002",paraId:1,tocIndex:1},{value:"getRequestParams",paraId:1,tocIndex:1},{value:": \u83B7\u53D6\u8BF7\u6C42\u7684\u53C2\u6570\uFF0C\u201C\u5BFC\u51FA\u201D\u65F6\u5E38\u7528\u3002",paraId:1,tocIndex:1},{value:"getRequestExtraParams",paraId:1,tocIndex:1},{value:": \u83B7\u53D6\u8BF7\u6C42\u989D\u5916\u53C2\u6570\uFF0C\u5982\u6392\u5E8F\u53C2\u6570\u7B49\u3002",paraId:1,tocIndex:1},{value:"updateScrollY",paraId:1,tocIndex:1},{value:": \u66F4\u65B0\u8868\u683C\u9AD8\u5EA6\u4EE5\u8FBE\u5230\u201C\u4E00\u5C4F\u663E\u793A\u201D\u6548\u679C\u3002",paraId:1,tocIndex:1},{value:"openSortModal",paraId:1,tocIndex:1},{value:": \u6253\u5F00\u5217\u8BBE\u7F6E\u5F39\u7A97\u3002",paraId:1,tocIndex:1},{value:"\u5237\u65B0\u8868\u683C\u5185\u5BB9\uFF0C\u5C06\u8C03\u7528 ",paraId:2,tocIndex:2},{value:"request",paraId:2,tocIndex:2},{value:" \u91CD\u65B0\u62C9\u53D6\u6570\u636E\u3002",paraId:2,tocIndex:2},{value:"\u7C7B\u578B\uFF1A",paraId:3,tocIndex:2},{value:"(params?: IRequestParams, options?: IRequestOptions) => Promise",paraId:3,tocIndex:2},{value:"\u540D\u79F0",paraId:4,tocIndex:3},{value:"\u63CF\u8FF0",paraId:4,tocIndex:3},{value:"\u7C7B\u578B",paraId:4,tocIndex:3},{value:"params",paraId:4,tocIndex:3},{value:"\u641C\u7D22\u53CA\u5206\u9875\u53C2\u6570",paraId:4,tocIndex:3},{value:"IRequestParams",paraId:4,tocIndex:3},{value:"options",paraId:4,tocIndex:3},{value:"\u5237\u65B0\u9009\u9879\uFF0C\u63A7\u5236\u5237\u65B0\u884C\u4E3A",paraId:4,tocIndex:3},{value:"IRequestOptions",paraId:4,tocIndex:3},{value:"IRequestOptions",paraId:5,tocIndex:3},{value:"\u540D\u79F0",paraId:6,tocIndex:3},{value:"\u63CF\u8FF0",paraId:6,tocIndex:3},{value:"\u7C7B\u578B",paraId:6,tocIndex:3},{value:"overwrite",paraId:6,tocIndex:3},{value:"\u662F\u5426\u8986\u76D6\u53C2\u6570\u65B9\u5F0F\u5237\u65B0\uFF0C\u9ED8\u8BA4 ",paraId:6,tocIndex:3},{value:"false",paraId:6,tocIndex:3},{value:" \u5373\u5408\u5E76\u5165\u53C2",paraId:6,tocIndex:3},{value:"boolean",paraId:6,tocIndex:3}],rr={"examples-core-react-221-renderer-object-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=B.sent,ne=J.Input,B.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=B.sent,X=oe.default,B.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=B.sent,_=k.default,B.next=14,e.e(3477).then(e.bind(e,73477));case 14:return te=B.sent,Y=te.default,B.next=18,Promise.all([e.e(1548),e.e(7647),e.e(6421),e.e(9752),e.e(8187),e.e(5892),e.e(3105)]).then(e.bind(e,7053));case 18:return Ie=B.sent,D=Ie.default,B.next=22,Promise.all([e.e(1548),e.e(7647),e.e(6421),e.e(9752),e.e(5892),e.e(2594)]).then(e.bind(e,3962));case 22:return ee=B.sent,V=ee.default,ce={Object:V,ObjectCollapse:D,InputText:{component:function(q){var xe,Ae=q.schema,Se=q.value,ke=q.disabled,et=q.onChange;return r.createElement(ne,C()(C()({placeholder:"\u8BF7\u8F93\u5165".concat((xe=Ae.title)!==null&&xe!==void 0?xe:"")},Ae.renderOptions),{},{value:Se,disabled:ke,onChange:function(gt){return et(gt.target.value)}}))}}},L=function(){return r.createElement(X,{schema:Y,itemLayout:_,renderers:ce})},B.abrupt("return",{default:L});case 27:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-221-renderer-object-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Input } from 'antd' +export default Demo`},"@schema-render/search-react":{type:"NPM",value:"1.5.1"},"renderers/SectionTitle.tsx":{type:"FILE",value:e(78497).Z},"renderers/BankSelect.tsx":{type:"FILE",value:e(96243).Z}}}}},Gt={title:"\u5206\u7C7B\u6807\u9898",toc:"content",filename:"examples/search-react/850-category-title.md",lastUpdated:1705222876e3,group:{title:"\u6848\u4F8B\u96C6\u9526",order:850},description:"\u5206\u7C7B\u6807\u9898\u5B9E\u73B0\u65B9\u5F0F\u6709\u4E24\u79CD\uFF1A"},kt=[{id:"\u5206\u7C7B\u6807\u9898",depth:1,title:"\u5206\u7C7B\u6807\u9898"},{id:"object-\u5BF9\u8C61\u6E32\u67D3\u5668\u5B9E\u73B0",depth:2,title:"Object \u5BF9\u8C61\u6E32\u67D3\u5668\u5B9E\u73B0"},{id:"\u8868\u5355\u9879\u5360\u6EE1\u4E00\u884C\u5B9E\u73B0",depth:2,title:"\u8868\u5355\u9879\u5360\u6EE1\u4E00\u884C\u5B9E\u73B0"}],on=[{value:"\u5206\u7C7B\u6807\u9898\u5B9E\u73B0\u65B9\u5F0F\u6709\u4E24\u79CD\uFF1A",paraId:0,tocIndex:0},{value:"\u901A\u8FC7 Object \u5BF9\u8C61\u6E32\u67D3\u5668\uFF0C\u4F1A\u6539\u53D8\u8868\u5355\u6570\u636E\u7ED3\u6784",paraId:1,tocIndex:0},{value:"\u8BBE\u7F6E\u5206\u7C7B\u6807\u9898\u8868\u5355\u9879\u5360\u6EE1\u4E00\u884C\uFF0C\u4E0D\u6539\u53D8\u8868\u5355\u6570\u636E\u7ED3\u6784",paraId:1,tocIndex:0}],Qn={},Jn={title:"Ref API",toc:"content",filename:"examples/search-table-react/801-open-api.md",lastUpdated:1720589953e3,group:{title:"API \u624B\u518C",order:801},description:"\u5185\u6838\u901A\u8FC7 ref \u5C5E\u6027\u5F00\u653E\u7684 API \u65B9\u6CD5\u5982\u4E0B\uFF1A"},kn=[{id:"ref-api",depth:1,title:"Ref API"},{id:"\u603B\u89C8",depth:2,title:"\u603B\u89C8"},{id:"refresh",depth:2,title:"refresh"},{id:"\u5165\u53C2",depth:3,title:"\u5165\u53C2"}],_n=[{value:"\u5185\u6838\u901A\u8FC7 ",paraId:0,tocIndex:1},{value:"ref",paraId:0,tocIndex:1},{value:" \u5C5E\u6027\u5F00\u653E\u7684 API \u65B9\u6CD5\u5982\u4E0B\uFF1A",paraId:0,tocIndex:1},{value:"refresh",paraId:1,tocIndex:1},{value:": \u5237\u65B0\u8868\u683C\u5185\u5BB9\uFF0C\u5C06\u8C03\u7528 ",paraId:1,tocIndex:1},{value:"request",paraId:1,tocIndex:1},{value:" \u91CD\u65B0\u62C9\u53D6\u6570\u636E\u3002",paraId:1,tocIndex:1},{value:"getRootElement",paraId:1,tocIndex:1},{value:": \u83B7\u53D6\u6839\u8282\u70B9 DOM \u5143\u7D20\u3002",paraId:1,tocIndex:1},{value:"getSearchRef",paraId:1,tocIndex:1},{value:": \u83B7\u53D6\u641C\u7D22\u680F\u5B9E\u4F8B\u3002",paraId:1,tocIndex:1},{value:"getDataSource",paraId:1,tocIndex:1},{value:": \u83B7\u53D6\u8868\u683C\u5217\u8868\u6570\u636E\u3002",paraId:1,tocIndex:1},{value:"setDataSource",paraId:1,tocIndex:1},{value:": \u8BBE\u7F6E\u8868\u683C\u5217\u8868\u6570\u636E\u3002",paraId:1,tocIndex:1},{value:"setSummaryData",paraId:1,tocIndex:1},{value:": \u8BBE\u7F6E\u5408\u8BA1\u680F\u6570\u636E\u3002",paraId:1,tocIndex:1},{value:"getSearchValue",paraId:1,tocIndex:1},{value:": \u83B7\u53D6\u641C\u7D22\u53C2\u6570\u3002",paraId:1,tocIndex:1},{value:"setSearchValue",paraId:1,tocIndex:1},{value:": \u8BBE\u7F6E\u641C\u7D22\u6570\u636E\u3002",paraId:1,tocIndex:1},{value:"clearSearchValue",paraId:1,tocIndex:1},{value:": \u6E05\u9664\u641C\u7D22\u6570\u636E\u3002",paraId:1,tocIndex:1},{value:"getRequestParams",paraId:1,tocIndex:1},{value:": \u83B7\u53D6\u8BF7\u6C42\u7684\u53C2\u6570\uFF0C\u201C\u5BFC\u51FA\u201D\u65F6\u5E38\u7528\u3002",paraId:1,tocIndex:1},{value:"getRequestExtraParams",paraId:1,tocIndex:1},{value:": \u83B7\u53D6\u8BF7\u6C42\u989D\u5916\u53C2\u6570\uFF0C\u5982\u6392\u5E8F\u53C2\u6570\u7B49\u3002",paraId:1,tocIndex:1},{value:"updateScrollY",paraId:1,tocIndex:1},{value:": \u66F4\u65B0\u8868\u683C\u9AD8\u5EA6\u4EE5\u8FBE\u5230\u201C\u4E00\u5C4F\u663E\u793A\u201D\u6548\u679C\u3002",paraId:1,tocIndex:1},{value:"openSortModal",paraId:1,tocIndex:1},{value:": \u6253\u5F00\u5217\u8BBE\u7F6E\u5F39\u7A97\u3002",paraId:1,tocIndex:1},{value:"\u5237\u65B0\u8868\u683C\u5185\u5BB9\uFF0C\u5C06\u8C03\u7528 ",paraId:2,tocIndex:2},{value:"request",paraId:2,tocIndex:2},{value:" \u91CD\u65B0\u62C9\u53D6\u6570\u636E\u3002",paraId:2,tocIndex:2},{value:"\u7C7B\u578B\uFF1A",paraId:3,tocIndex:2},{value:"(params?: IRequestParams, options?: IRequestOptions) => Promise",paraId:3,tocIndex:2},{value:"\u540D\u79F0",paraId:4,tocIndex:3},{value:"\u63CF\u8FF0",paraId:4,tocIndex:3},{value:"\u7C7B\u578B",paraId:4,tocIndex:3},{value:"params",paraId:4,tocIndex:3},{value:"\u641C\u7D22\u53CA\u5206\u9875\u53C2\u6570",paraId:4,tocIndex:3},{value:"IRequestParams",paraId:4,tocIndex:3},{value:"options",paraId:4,tocIndex:3},{value:"\u5237\u65B0\u9009\u9879\uFF0C\u63A7\u5236\u5237\u65B0\u884C\u4E3A",paraId:4,tocIndex:3},{value:"IRequestOptions",paraId:4,tocIndex:3},{value:"IRequestOptions",paraId:5,tocIndex:3},{value:"\u540D\u79F0",paraId:6,tocIndex:3},{value:"\u63CF\u8FF0",paraId:6,tocIndex:3},{value:"\u7C7B\u578B",paraId:6,tocIndex:3},{value:"overwrite",paraId:6,tocIndex:3},{value:"\u662F\u5426\u8986\u76D6\u53C2\u6570\u65B9\u5F0F\u5237\u65B0\uFF0C\u9ED8\u8BA4 ",paraId:6,tocIndex:3},{value:"false",paraId:6,tocIndex:3},{value:" \u5373\u5408\u5E76\u5165\u53C2",paraId:6,tocIndex:3},{value:"boolean",paraId:6,tocIndex:3}],rr={"examples-core-react-221-renderer-object-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=B.sent,ne=J.Input,B.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=B.sent,X=oe.default,B.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=B.sent,_=k.default,B.next=14,e.e(3477).then(e.bind(e,73477));case 14:return te=B.sent,Y=te.default,B.next=18,Promise.all([e.e(1548),e.e(7647),e.e(6421),e.e(9752),e.e(8187),e.e(5892),e.e(3105)]).then(e.bind(e,7053));case 18:return Ie=B.sent,D=Ie.default,B.next=22,Promise.all([e.e(1548),e.e(7647),e.e(6421),e.e(9752),e.e(5892),e.e(2594)]).then(e.bind(e,3962));case 22:return ee=B.sent,V=ee.default,ce={Object:V,ObjectCollapse:D,InputText:{component:function(q){var xe,Ae=q.schema,Se=q.value,ke=q.disabled,et=q.onChange;return r.createElement(ne,C()(C()({placeholder:"\u8BF7\u8F93\u5165".concat((xe=Ae.title)!==null&&xe!==void 0?xe:"")},Ae.renderOptions),{},{value:Se,disabled:ke,onChange:function(gt){return et(gt.target.value)}}))}}},L=function(){return r.createElement(X,{schema:Y,itemLayout:_,renderers:ce})},B.abrupt("return",{default:L});case 27:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-221-renderer-object-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Input } from 'antd' import Core from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import schema from './schemas/object' @@ -2640,7 +2640,7 @@ const Demo = () => { return } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/object/ObjectNormal.tsx":{type:"FILE",value:e(51038).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"schemas/object.ts":{type:"FILE",value:e(84839).Z},"renderers/object/ObjectCollapse.tsx":{type:"FILE",value:e(4854).Z}}}},"examples-core-react-221-renderer-object-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q,xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=Se.sent,ne=J.Input,Se.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return oe=Se.sent,X=oe.useRef,Se.next=10,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 10:return k=Se.sent,_=k.default,Se.next=14,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 14:return te=Se.sent,Y=te.Button,Ie=te.message,Se.next=19,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 19:return D=Se.sent,ee=D.default,Se.next=23,e.e(3477).then(e.bind(e,73477));case 23:return V=Se.sent,ce=V.default,Se.next=27,Promise.all([e.e(1548),e.e(7647),e.e(6421),e.e(9752),e.e(8187),e.e(5892),e.e(3105)]).then(e.bind(e,7053));case 27:return L=Se.sent,W=L.default,Se.next=31,Promise.all([e.e(1548),e.e(7647),e.e(6421),e.e(9752),e.e(5892),e.e(2594)]).then(e.bind(e,3962));case 31:return B=Se.sent,le=B.default,q={Object:le,ObjectCollapse:W,InputText:{component:function(et){var dt,gt=et.schema,Ut=et.value,Mt=et.disabled,Wt=et.onChange;return r.createElement(ne,C()(C()({placeholder:"\u8BF7\u8F93\u5165".concat((dt=gt.title)!==null&&dt!==void 0?dt:"")},gt.renderOptions),{},{value:Ut,disabled:Mt,onChange:function(un){return Wt(un.target.value)}}))}}},xe=function(){var et=X(null),dt=function(){var gt=c()(a()().mark(function Ut(){var Mt,Wt,ln;return a()().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:return nn.next=2,(Mt=et.current)===null||Mt===void 0?void 0:Mt.validate();case 2:Wt=nn.sent,ln=Wt.hasError,ln||Ie.success("\u63D0\u4EA4\u6210\u529F");case 5:case"end":return nn.stop()}},Ut)}));return function(){return gt.apply(this,arguments)}}();return r.createElement("div",null,r.createElement(_,{ref:et,schema:ce,itemLayout:ee,renderers:q}),r.createElement(Y,{type:"primary",onClick:dt,style:{marginTop:15}},"\u63D0\u4EA4"))},Se.abrupt("return",{default:xe});case 36:case"end":return Se.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-221-renderer-object-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Input } from 'antd' +export default Demo`},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/object/ObjectNormal.tsx":{type:"FILE",value:e(51038).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"schemas/object.ts":{type:"FILE",value:e(84839).Z},"renderers/object/ObjectCollapse.tsx":{type:"FILE",value:e(4854).Z}}}},"examples-core-react-221-renderer-object-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q,xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=Se.sent,ne=J.Input,Se.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return oe=Se.sent,X=oe.useRef,Se.next=10,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 10:return k=Se.sent,_=k.default,Se.next=14,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 14:return te=Se.sent,Y=te.Button,Ie=te.message,Se.next=19,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 19:return D=Se.sent,ee=D.default,Se.next=23,e.e(3477).then(e.bind(e,73477));case 23:return V=Se.sent,ce=V.default,Se.next=27,Promise.all([e.e(1548),e.e(7647),e.e(6421),e.e(9752),e.e(8187),e.e(5892),e.e(3105)]).then(e.bind(e,7053));case 27:return L=Se.sent,W=L.default,Se.next=31,Promise.all([e.e(1548),e.e(7647),e.e(6421),e.e(9752),e.e(5892),e.e(2594)]).then(e.bind(e,3962));case 31:return B=Se.sent,le=B.default,q={Object:le,ObjectCollapse:W,InputText:{component:function(et){var dt,gt=et.schema,Ut=et.value,Mt=et.disabled,Wt=et.onChange;return r.createElement(ne,C()(C()({placeholder:"\u8BF7\u8F93\u5165".concat((dt=gt.title)!==null&&dt!==void 0?dt:"")},gt.renderOptions),{},{value:Ut,disabled:Mt,onChange:function(un){return Wt(un.target.value)}}))}}},xe=function(){var et=X(null),dt=function(){var gt=c()(a()().mark(function Ut(){var Mt,Wt,ln;return a()().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:return nn.next=2,(Mt=et.current)===null||Mt===void 0?void 0:Mt.validate();case 2:Wt=nn.sent,ln=Wt.hasError,ln||Ie.success("\u63D0\u4EA4\u6210\u529F");case 5:case"end":return nn.stop()}},Ut)}));return function(){return gt.apply(this,arguments)}}();return r.createElement("div",null,r.createElement(_,{ref:et,schema:ce,itemLayout:ee,renderers:q}),r.createElement(Y,{type:"primary",onClick:dt,style:{marginTop:15}},"\u63D0\u4EA4"))},Se.abrupt("return",{default:xe});case 36:case"end":return Se.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-221-renderer-object-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Input } from 'antd' import { useRef } from 'react' import Core from '@schema-render/core-react' import { Button, message } from 'antd' @@ -2695,7 +2695,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/object/ObjectNormal.tsx":{type:"FILE",value:e(51038).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"schemas/object.ts":{type:"FILE",value:e(84839).Z},"renderers/object/ObjectCollapse.tsx":{type:"FILE",value:e(4854).Z}}}}},sr={title:"\u7ED3\u6784\u6E32\u67D3\u5668-\u5BF9\u8C61 Object",toc:"content",filename:"examples/core-react/221-renderer-object.md",lastUpdated:1704082387e3,group:"\u529F\u80FD\u8BE6\u89E3",order:221,description:"\u901A\u8FC7\u521B\u5EFA\u4EE5 Object \u5F00\u5934\u7684\u6E32\u67D3\u5668\u53EF\u4EE5\u5236\u4F5C\u5D4C\u5957\u7684\u7ED3\u6784\u8868\u5355\uFF0C\u652F\u6301\u591A\u79CD\u4E0D\u540C\u529F\u80FD\u7684 Object \u6E32\u67D3\u5668\u540C\u65F6\u5B58\u5728\u3002"},er=[{id:"\u7ED3\u6784\u6E32\u67D3\u5668-\u5BF9\u8C61-object",depth:1,title:"\u7ED3\u6784\u6E32\u67D3\u5668-\u5BF9\u8C61 Object"},{id:"\u793A\u4F8B",depth:2,title:"\u793A\u4F8B"},{id:"\u81EA\u52A8\u6821\u9A8C",depth:2,title:"\u81EA\u52A8\u6821\u9A8C"}],$r=[{value:"\u901A\u8FC7\u521B\u5EFA\u4EE5 ",paraId:0,tocIndex:0},{value:"Object",paraId:0,tocIndex:0},{value:" \u5F00\u5934\u7684\u6E32\u67D3\u5668\u53EF\u4EE5\u5236\u4F5C\u5D4C\u5957\u7684\u7ED3\u6784\u8868\u5355\uFF0C\u652F\u6301\u591A\u79CD\u4E0D\u540C\u529F\u80FD\u7684 ",paraId:0,tocIndex:0},{value:"Object",paraId:0,tocIndex:0},{value:" \u6E32\u67D3\u5668\u540C\u65F6\u5B58\u5728\u3002",paraId:0,tocIndex:0},{value:"\u5212\u91CD\u70B9\uFF1A",paraId:1,tocIndex:0},{value:"Schema \u534F\u8BAE\u6A21\u578B\u7684\u5B50\u8282\u70B9\u901A\u8FC7\u8C03\u7528 ",paraId:2,tocIndex:0},{value:"RendererIterator",paraId:2,tocIndex:0},{value:" \u6E32\u67D3\u5668\u8FED\u4EE3\u5668\u6765\u6E32\u67D3\u3002",paraId:2,tocIndex:0},{value:"\u5BB9\u5668\u5143\u7D20\u9700\u8981\u6DFB\u52A0 ",paraId:2,tocIndex:0},{value:"objectStyle",paraId:2,tocIndex:0},{value:" \u6837\u5F0F\uFF0C\u4EE5\u7EE7\u627F\u5185\u6838\u4E00\u81F4\u7684\u6805\u683C\u5E03\u5C40\u3002",paraId:2,tocIndex:0},{value:`
+export default Demo`},antd:{type:"NPM",value:"5.9.0"},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/object/ObjectNormal.tsx":{type:"FILE",value:e(51038).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"schemas/object.ts":{type:"FILE",value:e(84839).Z},"renderers/object/ObjectCollapse.tsx":{type:"FILE",value:e(4854).Z}}}}},sr={title:"\u7ED3\u6784\u6E32\u67D3\u5668-\u5BF9\u8C61 Object",toc:"content",filename:"examples/core-react/221-renderer-object.md",lastUpdated:1704082387e3,group:"\u529F\u80FD\u8BE6\u89E3",order:221,description:"\u901A\u8FC7\u521B\u5EFA\u4EE5 Object \u5F00\u5934\u7684\u6E32\u67D3\u5668\u53EF\u4EE5\u5236\u4F5C\u5D4C\u5957\u7684\u7ED3\u6784\u8868\u5355\uFF0C\u652F\u6301\u591A\u79CD\u4E0D\u540C\u529F\u80FD\u7684 Object \u6E32\u67D3\u5668\u540C\u65F6\u5B58\u5728\u3002"},er=[{id:"\u7ED3\u6784\u6E32\u67D3\u5668-\u5BF9\u8C61-object",depth:1,title:"\u7ED3\u6784\u6E32\u67D3\u5668-\u5BF9\u8C61 Object"},{id:"\u793A\u4F8B",depth:2,title:"\u793A\u4F8B"},{id:"\u81EA\u52A8\u6821\u9A8C",depth:2,title:"\u81EA\u52A8\u6821\u9A8C"}],$r=[{value:"\u901A\u8FC7\u521B\u5EFA\u4EE5 ",paraId:0,tocIndex:0},{value:"Object",paraId:0,tocIndex:0},{value:" \u5F00\u5934\u7684\u6E32\u67D3\u5668\u53EF\u4EE5\u5236\u4F5C\u5D4C\u5957\u7684\u7ED3\u6784\u8868\u5355\uFF0C\u652F\u6301\u591A\u79CD\u4E0D\u540C\u529F\u80FD\u7684 ",paraId:0,tocIndex:0},{value:"Object",paraId:0,tocIndex:0},{value:" \u6E32\u67D3\u5668\u540C\u65F6\u5B58\u5728\u3002",paraId:0,tocIndex:0},{value:"\u5212\u91CD\u70B9\uFF1A",paraId:1,tocIndex:0},{value:"Schema \u534F\u8BAE\u6A21\u578B\u7684\u5B50\u8282\u70B9\u901A\u8FC7\u8C03\u7528 ",paraId:2,tocIndex:0},{value:"RendererIterator",paraId:2,tocIndex:0},{value:" \u6E32\u67D3\u5668\u8FED\u4EE3\u5668\u6765\u6E32\u67D3\u3002",paraId:2,tocIndex:0},{value:"\u5BB9\u5668\u5143\u7D20\u9700\u8981\u6DFB\u52A0 ",paraId:2,tocIndex:0},{value:"objectStyle",paraId:2,tocIndex:0},{value:" \u6837\u5F0F\uFF0C\u4EE5\u7EE7\u627F\u5185\u6838\u4E00\u81F4\u7684\u6805\u683C\u5E03\u5C40\u3002",paraId:2,tocIndex:0},{value:`
`,paraId:3,tocIndex:0},{value:"\u6309\u89C4\u8303\u7F16\u5199\u7684\u5BF9\u8C61\u7ED3\u6784 Schema \u662F\u652F\u6301\u5185\u7F6E\u81EA\u52A8\u6821\u9A8C\u7684\uFF0C\u6821\u9A8C\u529F\u80FD\u8BE6\u89C1 ",paraId:4,tocIndex:2},{value:"\u6821\u9A8C\u5668 Validator",paraId:5,tocIndex:2},{value:" \u7AE0\u8282\u3002",paraId:4,tocIndex:2}],Pn={},ia={title:"Schema \u904D\u5386\u5DE5\u5177",toc:"content",filename:"examples/core-react/930-traverse-schema.md",lastUpdated:1704082387e3,group:"\u8F85\u52A9\u5DE5\u5177",order:930,debug:!0,description:"\u89C1: Schema Transform"},Er=[{id:"schema-\u904D\u5386\u5DE5\u5177",depth:1,title:"Schema \u904D\u5386\u5DE5\u5177"},{id:"schema-\u534F\u8BAE\u8F6C\u6362",depth:2,title:"Schema \u534F\u8BAE\u8F6C\u6362"}],ea=[{value:"\u89C1: ",paraId:0,tocIndex:1},{value:"Schema Transform",paraId:1,tocIndex:1}],Nr={"examples-form-render-react-850-position-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te;return a()().wrap(function(Ie){for(;;)switch(Ie.prev=Ie.next){case 0:return Ie.next=2,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 2:return J=Ie.sent,ne=J.default,Ie.next=6,e.e(3941).then(e.bind(e,23941));case 6:return oe=Ie.sent,X=oe.default,k={renderType:"Root",properties:{settlement_mode:{title:"\u7ED3\u7B97\u5468\u671F\u540D\u79F0",renderType:"InputText",description:"\u652F\u6301\u4E2D\u6587\u3001\u5B57\u6BCD\u3001\u6570\u5B57\u3001\u4E0B\u5212\u7EBF(_)\uFF0C\u4E0D\u80FD\u5305\u542B\u7A7A\u683C",span:16},supplier_name:{title:"\u4F9B\u5E94\u5546\u540D\u79F0",renderType:"InputText",span:8,spanStart:1},supplier_code:{title:"\u4F9B\u5E94\u5546\u7F16\u7801",renderType:"InputText",span:8},bank_name:{title:"\u5F00\u6237\u94F6\u884C\u540D\u79F0",renderType:"BankSelect",span:8,spanStart:1},bank_branch_name:{title:"\u5F00\u6237\u652F\u884C\u540D\u79F0",renderType:"BankSelect",span:8},bank_account:{title:"\u5F00\u6237\u94F6\u884C\u8D26\u53F7",renderType:"BankSelect",span:8},cooperation:{title:"\u5408\u4F5C\u65B9\u5F0F",renderType:"Radio",renderOptions:{options:[{label:"\u8D2D\u9500",value:1},{label:"\u4EE3\u9500",value:2}]}},payment:{title:"\u4ED8\u6B3E\u65B9\u5F0F",renderType:"Radio",renderOptions:{options:[{label:"\u7EBF\u4E0A\u652F\u4ED8",value:1},{label:"\u7EBF\u4E0B\u652F\u4ED8",value:2}]}}}},_=function(ee,V){ee.bank_id=V.extra.bank_id,ee.bank_account=V.extra.bank_account,ee.bank_name=V.extra.bank_name,ee.bank_branch_name=V.extra.bank_branch_name},te=function(){return r.createElement(ne,{schema:k,renderers:X,watch:{bank_account:_,bank_name:_,bank_branch_name:_}})},Ie.abrupt("return",{default:te});case 12:case"end":return Ie.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-850-position-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import FormRender from '@schema-render/form-render-react' @@ -2791,7 +2791,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"},"renderers/index.tsx":{type:"FILE",value:e(60883).Z}}}}},Zr={title:"\u81EA\u7531\u4F4D\u7F6E\u5E03\u5C40",toc:"menu",filename:"examples/form-render-react/850-position.md",lastUpdated:170520402e4,group:{title:"\u6848\u4F8B\u96C6\u9526",order:850},description:"\u901A\u8FC7\u5728 Schema \u4E0A\u6307\u5B9A span \u548C spanStart \u53EF\u4EE5\u63A7\u5236\u8868\u5355\u9879\u7279\u5B9A\u7684\u5BBD\u5EA6\u548C\u4F4D\u7F6E\uFF0C\u8BE6\u60C5\u89C1\u6805\u683C\u5E03\u5C40-\u81EA\u5B9A\u4E49\u5BBD\u5EA6\u3002"},ta=[{id:"\u81EA\u7531\u4F4D\u7F6E\u5E03\u5C40",depth:1,title:"\u81EA\u7531\u4F4D\u7F6E\u5E03\u5C40"}],xr=[{value:"\u901A\u8FC7\u5728 ",paraId:0,tocIndex:0},{value:"Schema",paraId:0,tocIndex:0},{value:" \u4E0A\u6307\u5B9A ",paraId:0,tocIndex:0},{value:"span",paraId:0,tocIndex:0},{value:" \u548C ",paraId:0,tocIndex:0},{value:"spanStart",paraId:0,tocIndex:0},{value:" \u53EF\u4EE5\u63A7\u5236\u8868\u5355\u9879\u7279\u5B9A\u7684",paraId:0,tocIndex:0},{value:"\u5BBD\u5EA6",paraId:0,tocIndex:0},{value:"\u548C",paraId:0,tocIndex:0},{value:"\u4F4D\u7F6E",paraId:0,tocIndex:0},{value:"\uFF0C\u8BE6\u60C5\u89C1",paraId:0,tocIndex:0},{value:"\u6805\u683C\u5E03\u5C40-\u81EA\u5B9A\u4E49\u5BBD\u5EA6",paraId:1,tocIndex:0},{value:"\u3002",paraId:0,tocIndex:0}],Kr={},ya={title:"API Reference",toc:"content",filename:"examples/search-react/800-api-reference.md",lastUpdated:1704082387e3,group:{title:"API \u624B\u518C",order:800},description:"Search \u9664\u4E86\u652F\u6301 FormRender \u7684 API \u5916\uFF0C\u8FD8\u652F\u6301\u4EE5\u4E0B API\u3002"},dr=[{id:"api-reference",depth:1,title:"API Reference"}],In=[{value:"Search",paraId:0,tocIndex:0},{value:" \u9664\u4E86\u652F\u6301 ",paraId:0,tocIndex:0},{value:"FormRender",paraId:0,tocIndex:0},{value:" \u7684 API \u5916\uFF0C\u8FD8\u652F\u6301\u4EE5\u4E0B API\u3002",paraId:0,tocIndex:0},{value:"\u53C2\u6570",paraId:1,tocIndex:0},{value:"\u63CF\u8FF0",paraId:1,tocIndex:0},{value:"\u7C7B\u578B",paraId:1,tocIndex:0},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:0},{value:"locale",paraId:1,tocIndex:0},{value:"\u56FD\u9645\u5316\u8BED\u8A00\u6570\u636E",paraId:1,tocIndex:0},{value:"object",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"actions",paraId:1,tocIndex:0},{value:"\u914D\u7F6E\u64CD\u4F5C\u6309\u94AE\u5C55\u793A\u9879\u53CA\u5176\u987A\u5E8F",paraId:1,tocIndex:0},{value:"string[]",paraId:1,tocIndex:0},{value:'["reset", "submit", "collapse"]',paraId:1,tocIndex:0},{value:"defaultCollapsed",paraId:1,tocIndex:0},{value:"\u662F\u5426\u9ED8\u8BA4\u6298\u53E0",paraId:1,tocIndex:0},{value:"boolean",paraId:1,tocIndex:0},{value:"true",paraId:1,tocIndex:0},{value:"collapsedRows",paraId:1,tocIndex:0},{value:"\u6298\u53E0\u884C\u6570",paraId:1,tocIndex:0},{value:"number",paraId:1,tocIndex:0},{value:"2",paraId:1,tocIndex:0},{value:"calcCollapsedNumber",paraId:1,tocIndex:0},{value:"\u8BA1\u7B97\u6298\u53E0\u65F6\u5C55\u793A\u7684\u8868\u5355\u9879\u4E2A\u6570\u7684\u7B97\u6CD5\uFF0C",paraId:1,tocIndex:0},{value:"container",paraId:1,tocIndex:0},{value:" \u662F\u6839\u8282\u70B9\u5143\u7D20",paraId:1,tocIndex:0},{value:"(container?: HTMLElement) => number",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"onToggleCollapsed",paraId:1,tocIndex:0},{value:"\u300C\u6298\u53E0/\u5C55\u5F00\u300D\u5207\u6362\u4E8B\u4EF6",paraId:1,tocIndex:0},{value:"(isCollapsed: boolean) => void",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0}],Xn={},pr={title:"\u7ED3\u6784\u6E32\u67D3\u5668-\u6570\u7EC4 Array",toc:"content",filename:"examples/core-react/222-renderer-array.md",lastUpdated:1704082387e3,group:"\u529F\u80FD\u8BE6\u89E3",order:222,description:"\u8FD8\u5728\u8BBE\u8BA1\u4E2D"},Tr=[{id:"\u7ED3\u6784\u6E32\u67D3\u5668-\u6570\u7EC4-array",depth:1,title:"\u7ED3\u6784\u6E32\u67D3\u5668-\u6570\u7EC4 Array"}],wr=[{value:"\u8FD8\u5728\u8BBE\u8BA1\u4E2D",paraId:0}],ga={"examples-form-render-react-300-actions-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=W.sent,ne=J.useState,oe=J.useRef,W.next=7,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 7:return X=W.sent,k=X.message,W.next=11,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 11:return _=W.sent,te=_.default,W.next=15,e.e(7693).then(e.bind(e,7693));case 15:return Y=W.sent,Ie=Y.sleep,W.next=19,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 19:return D=W.sent,ee=D.default,V={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},ce=function(){var le=ne({}),q=o()(le,2),xe=q[0],Ae=q[1],Se=oe(null),ke=function(){var et=c()(a()().mark(function dt(){var gt,Ut;return a()().wrap(function(Wt){for(;;)switch(Wt.prev=Wt.next){case 0:return Wt.next=2,Se.current.validate();case 2:if(gt=Wt.sent,Ut=gt.hasError,!Ut){Wt.next=7;break}return k.error("\u8868\u5355\u5B58\u5728\u9519\u8BEF\uFF0C\u8BF7\u586B\u5199\u6B63\u786E\u540E\u518D\u63D0\u4EA4"),Wt.abrupt("return");case 7:return Wt.next=9,Ie();case 9:k.success("\u6CE8\u518C\u6210\u529F");case 10:case"end":return Wt.stop()}},dt)}));return function(){return et.apply(this,arguments)}}();return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(ee,{ref:Se,schema:V,value:xe,onChange:Ae,onSubmit:ke}),r.createElement(te,{value:xe}))},W.abrupt("return",{default:ce});case 24:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-300-actions-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' +export default Demo`},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"},"renderers/index.tsx":{type:"FILE",value:e(60883).Z}}}}},Zr={title:"\u81EA\u7531\u4F4D\u7F6E\u5E03\u5C40",toc:"menu",filename:"examples/form-render-react/850-position.md",lastUpdated:170520402e4,group:{title:"\u6848\u4F8B\u96C6\u9526",order:850},description:"\u901A\u8FC7\u5728 Schema \u4E0A\u6307\u5B9A span \u548C spanStart \u53EF\u4EE5\u63A7\u5236\u8868\u5355\u9879\u7279\u5B9A\u7684\u5BBD\u5EA6\u548C\u4F4D\u7F6E\uFF0C\u8BE6\u60C5\u89C1\u6805\u683C\u5E03\u5C40-\u81EA\u5B9A\u4E49\u5BBD\u5EA6\u3002"},ta=[{id:"\u81EA\u7531\u4F4D\u7F6E\u5E03\u5C40",depth:1,title:"\u81EA\u7531\u4F4D\u7F6E\u5E03\u5C40"}],xr=[{value:"\u901A\u8FC7\u5728 ",paraId:0,tocIndex:0},{value:"Schema",paraId:0,tocIndex:0},{value:" \u4E0A\u6307\u5B9A ",paraId:0,tocIndex:0},{value:"span",paraId:0,tocIndex:0},{value:" \u548C ",paraId:0,tocIndex:0},{value:"spanStart",paraId:0,tocIndex:0},{value:" \u53EF\u4EE5\u63A7\u5236\u8868\u5355\u9879\u7279\u5B9A\u7684",paraId:0,tocIndex:0},{value:"\u5BBD\u5EA6",paraId:0,tocIndex:0},{value:"\u548C",paraId:0,tocIndex:0},{value:"\u4F4D\u7F6E",paraId:0,tocIndex:0},{value:"\uFF0C\u8BE6\u60C5\u89C1",paraId:0,tocIndex:0},{value:"\u6805\u683C\u5E03\u5C40-\u81EA\u5B9A\u4E49\u5BBD\u5EA6",paraId:1,tocIndex:0},{value:"\u3002",paraId:0,tocIndex:0}],Kr={},ya={title:"API Reference",toc:"content",filename:"examples/search-react/800-api-reference.md",lastUpdated:1704082387e3,group:{title:"API \u624B\u518C",order:800},description:"Search \u9664\u4E86\u652F\u6301 FormRender \u7684 API \u5916\uFF0C\u8FD8\u652F\u6301\u4EE5\u4E0B API\u3002"},dr=[{id:"api-reference",depth:1,title:"API Reference"}],In=[{value:"Search",paraId:0,tocIndex:0},{value:" \u9664\u4E86\u652F\u6301 ",paraId:0,tocIndex:0},{value:"FormRender",paraId:0,tocIndex:0},{value:" \u7684 API \u5916\uFF0C\u8FD8\u652F\u6301\u4EE5\u4E0B API\u3002",paraId:0,tocIndex:0},{value:"\u53C2\u6570",paraId:1,tocIndex:0},{value:"\u63CF\u8FF0",paraId:1,tocIndex:0},{value:"\u7C7B\u578B",paraId:1,tocIndex:0},{value:"\u9ED8\u8BA4\u503C",paraId:1,tocIndex:0},{value:"locale",paraId:1,tocIndex:0},{value:"\u56FD\u9645\u5316\u8BED\u8A00\u6570\u636E",paraId:1,tocIndex:0},{value:"object",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"actions",paraId:1,tocIndex:0},{value:"\u914D\u7F6E\u64CD\u4F5C\u6309\u94AE\u5C55\u793A\u9879\u53CA\u5176\u987A\u5E8F",paraId:1,tocIndex:0},{value:"string[]",paraId:1,tocIndex:0},{value:'["reset", "submit", "collapse"]',paraId:1,tocIndex:0},{value:"defaultCollapsed",paraId:1,tocIndex:0},{value:"\u662F\u5426\u9ED8\u8BA4\u6298\u53E0",paraId:1,tocIndex:0},{value:"boolean",paraId:1,tocIndex:0},{value:"true",paraId:1,tocIndex:0},{value:"collapsedRows",paraId:1,tocIndex:0},{value:"\u6298\u53E0\u884C\u6570",paraId:1,tocIndex:0},{value:"number",paraId:1,tocIndex:0},{value:"2",paraId:1,tocIndex:0},{value:"calcCollapsedNumber",paraId:1,tocIndex:0},{value:"\u8BA1\u7B97\u6298\u53E0\u65F6\u5C55\u793A\u7684\u8868\u5355\u9879\u4E2A\u6570\u7684\u7B97\u6CD5\uFF0C",paraId:1,tocIndex:0},{value:"container",paraId:1,tocIndex:0},{value:" \u662F\u6839\u8282\u70B9\u5143\u7D20",paraId:1,tocIndex:0},{value:"(container?: HTMLElement) => number",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0},{value:"onToggleCollapsed",paraId:1,tocIndex:0},{value:"\u300C\u6298\u53E0/\u5C55\u5F00\u300D\u5207\u6362\u4E8B\u4EF6",paraId:1,tocIndex:0},{value:"(isCollapsed: boolean) => void",paraId:1,tocIndex:0},{value:"-",paraId:1,tocIndex:0}],Xn={},pr={title:"\u7ED3\u6784\u6E32\u67D3\u5668-\u6570\u7EC4 Array",toc:"content",filename:"examples/core-react/222-renderer-array.md",lastUpdated:1704082387e3,group:"\u529F\u80FD\u8BE6\u89E3",order:222,description:"\u8FD8\u5728\u8BBE\u8BA1\u4E2D"},Tr=[{id:"\u7ED3\u6784\u6E32\u67D3\u5668-\u6570\u7EC4-array",depth:1,title:"\u7ED3\u6784\u6E32\u67D3\u5668-\u6570\u7EC4 Array"}],wr=[{value:"\u8FD8\u5728\u8BBE\u8BA1\u4E2D",paraId:0}],ga={"examples-form-render-react-300-actions-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=W.sent,ne=J.useState,oe=J.useRef,W.next=7,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 7:return X=W.sent,k=X.message,W.next=11,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 11:return _=W.sent,te=_.default,W.next=15,e.e(7693).then(e.bind(e,7693));case 15:return Y=W.sent,Ie=Y.sleep,W.next=19,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 19:return D=W.sent,ee=D.default,V={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},ce=function(){var le=ne({}),q=o()(le,2),xe=q[0],Ae=q[1],Se=oe(null),ke=function(){var et=c()(a()().mark(function dt(){var gt,Ut;return a()().wrap(function(Wt){for(;;)switch(Wt.prev=Wt.next){case 0:return Wt.next=2,Se.current.validate();case 2:if(gt=Wt.sent,Ut=gt.hasError,!Ut){Wt.next=7;break}return k.error("\u8868\u5355\u5B58\u5728\u9519\u8BEF\uFF0C\u8BF7\u586B\u5199\u6B63\u786E\u540E\u518D\u63D0\u4EA4"),Wt.abrupt("return");case 7:return Wt.next=9,Ie();case 9:k.success("\u6CE8\u518C\u6210\u529F");case 10:case"end":return Wt.stop()}},dt)}));return function(){return et.apply(this,arguments)}}();return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(ee,{ref:Se,schema:V,value:xe,onChange:Ae,onSubmit:ke}),r.createElement(te,{value:xe}))},W.abrupt("return",{default:ce});case 24:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-300-actions-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' import { message } from 'antd' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import { sleep } from '@examples/utils' @@ -2845,7 +2845,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}}}},"examples-form-render-react-300-actions-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=V.sent,ne=J.useState,V.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=V.sent,X=oe.message,V.next=10,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 10:return k=V.sent,_=k.default,V.next=14,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 14:return te=V.sent,Y=te.default,Ie={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},D=function(){var L=ne({}),W=o()(L,2),B=W[0],le=W[1],q=function(){X.success("\u91CD\u7F6E\u5B8C\u6210")};return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(Y,{schema:Ie,value:B,onChange:le,onReset:q}),r.createElement(_,{value:B}))},V.abrupt("return",{default:D});case 19:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-300-actions-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}}}},"examples-form-render-react-300-actions-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=V.sent,ne=J.useState,V.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=V.sent,X=oe.message,V.next=10,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 10:return k=V.sent,_=k.default,V.next=14,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 14:return te=V.sent,Y=te.default,Ie={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},D=function(){var L=ne({}),W=o()(L,2),B=W[0],le=W[1],q=function(){X.success("\u91CD\u7F6E\u5B8C\u6210")};return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(Y,{schema:Ie,value:B,onChange:le,onReset:q}),r.createElement(_,{value:B}))},V.abrupt("return",{default:D});case 19:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-300-actions-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import { message } from 'antd' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import FormRender from '@schema-render/form-render-react' @@ -2886,7 +2886,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}}}},"examples-form-render-react-300-actions-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useState,L.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=L.sent,X=oe.message,L.next=10,e.e(7693).then(e.bind(e,7693));case 10:return k=L.sent,_=k.sleep,L.next=14,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 18:return Ie=L.sent,D=Ie.default,ee={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},V=function(){var B=ne({}),le=o()(B,2),q=le[0],xe=le[1],Ae=function(){var Se=c()(a()().mark(function ke(){return a()().wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:return dt.next=2,_();case 2:X.success("\u91CD\u7F6E\u5B8C\u6210");case 3:case"end":return dt.stop()}},ke)}));return function(){return Se.apply(this,arguments)}}();return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(D,{schema:ee,value:q,onChange:xe,onReset:Ae}),r.createElement(Y,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-300-actions-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}}}},"examples-form-render-react-300-actions-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useState,L.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=L.sent,X=oe.message,L.next=10,e.e(7693).then(e.bind(e,7693));case 10:return k=L.sent,_=k.sleep,L.next=14,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 18:return Ie=L.sent,D=Ie.default,ee={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},V=function(){var B=ne({}),le=o()(B,2),q=le[0],xe=le[1],Ae=function(){var Se=c()(a()().mark(function ke(){return a()().wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:return dt.next=2,_();case 2:X.success("\u91CD\u7F6E\u5B8C\u6210");case 3:case"end":return dt.stop()}},ke)}));return function(){return Se.apply(this,arguments)}}();return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(D,{schema:ee,value:q,onChange:xe,onReset:Ae}),r.createElement(Y,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-300-actions-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import { message } from 'antd' import { sleep } from '@examples/utils' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' @@ -2929,7 +2929,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}}}},"examples-form-render-react-300-actions-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=V.sent,ne=J.useState,V.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=V.sent,X=oe.sleep,V.next=10,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 10:return k=V.sent,_=k.default,V.next=14,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 14:return te=V.sent,Y=te.default,Ie={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},D=function(){var L=ne({}),W=o()(L,2),B=W[0],le=W[1],q=function(){var xe=c()(a()().mark(function Ae(){return a()().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ke.next=2,X();case 2:return ke.abrupt("return",{account:"\u5F20\u4E09".concat(Date.now())});case 3:case"end":return ke.stop()}},Ae)}));return function(){return xe.apply(this,arguments)}}();return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(Y,{schema:Ie,value:B,onChange:le,onBeforeReset:q,onReset:function(Ae){console.log("formData:",Ae)}}),r.createElement(_,{value:B}))},V.abrupt("return",{default:D});case 19:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-300-actions-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}}}},"examples-form-render-react-300-actions-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=V.sent,ne=J.useState,V.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=V.sent,X=oe.sleep,V.next=10,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 10:return k=V.sent,_=k.default,V.next=14,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 14:return te=V.sent,Y=te.default,Ie={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},D=function(){var L=ne({}),W=o()(L,2),B=W[0],le=W[1],q=function(){var xe=c()(a()().mark(function Ae(){return a()().wrap(function(ke){for(;;)switch(ke.prev=ke.next){case 0:return ke.next=2,X();case 2:return ke.abrupt("return",{account:"\u5F20\u4E09".concat(Date.now())});case 3:case"end":return ke.stop()}},Ae)}));return function(){return xe.apply(this,arguments)}}();return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(Y,{schema:Ie,value:B,onChange:le,onBeforeReset:q,onReset:function(Ae){console.log("formData:",Ae)}}),r.createElement(_,{value:B}))},V.abrupt("return",{default:D});case 19:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-300-actions-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import { sleep } from '@examples/utils' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import FormRender from '@schema-render/form-render-react' @@ -2976,7 +2976,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}}}},"examples-form-render-react-300-actions-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=D.sent,ne=J.useState,D.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},Y=function(){var V=ne({}),ce=o()(V,2),L=ce[0],W=ce[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{schema:te,value:L,onChange:W,actions:["reset","submit"]}),r.createElement(X,{value:L}))},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-300-actions-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}}}},"examples-form-render-react-300-actions-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=D.sent,ne=J.useState,D.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},Y=function(){var V=ne({}),ce=o()(V,2),L=ce[0],W=ce[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{schema:te,value:L,onChange:W,actions:["reset","submit"]}),r.createElement(X,{value:L}))},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-300-actions-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import FormRender from '@schema-render/form-render-react' @@ -3012,7 +3012,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}},description:"\u914D\u7F6E actions \u4E3A ['reset', 'submit'] \u8C03\u6362\u6309\u94AE\u4F4D\u7F6E",title:"\u914D\u7F6E\u987A\u5E8F"}},"examples-form-render-react-300-actions-demo-5":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=W.sent,ne=J.useState,W.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=W.sent,X=oe.message,k=oe.Button,W.next=11,e.e(7693).then(e.bind(e,7693));case 11:return _=W.sent,te=_.sleep,W.next=15,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 15:return Y=W.sent,Ie=Y.default,W.next=19,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 19:return D=W.sent,ee=D.default,V={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},ce=function(){var le=ne({}),q=o()(le,2),xe=q[0],Ae=q[1],Se=function(){var et=c()(a()().mark(function dt(){return a()().wrap(function(Ut){for(;;)switch(Ut.prev=Ut.next){case 0:return Ut.next=2,te();case 2:X.success("\u63D0\u4EA4\u6210\u529F");case 3:case"end":return Ut.stop()}},dt)}));return function(){return et.apply(this,arguments)}}(),ke=function(){X.success("\u5BFC\u51FA\u6210\u529F")};return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(ee,{schema:V,value:xe,onChange:Ae,onSubmit:Se,actions:["submit","reset","export"],registerActions:{export:function(dt){var gt=dt.loading;return r.createElement(k,{type:"primary",disabled:gt.submit||gt.reset,onClick:ke},"\u5BFC\u51FA")}}}),r.createElement(Ie,{value:xe}))},W.abrupt("return",{default:ce});case 24:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-300-actions-demo-5",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}},description:"\u914D\u7F6E actions \u4E3A ['reset', 'submit'] \u8C03\u6362\u6309\u94AE\u4F4D\u7F6E",title:"\u914D\u7F6E\u987A\u5E8F"}},"examples-form-render-react-300-actions-demo-5":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=W.sent,ne=J.useState,W.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=W.sent,X=oe.message,k=oe.Button,W.next=11,e.e(7693).then(e.bind(e,7693));case 11:return _=W.sent,te=_.sleep,W.next=15,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 15:return Y=W.sent,Ie=Y.default,W.next=19,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 19:return D=W.sent,ee=D.default,V={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},ce=function(){var le=ne({}),q=o()(le,2),xe=q[0],Ae=q[1],Se=function(){var et=c()(a()().mark(function dt(){return a()().wrap(function(Ut){for(;;)switch(Ut.prev=Ut.next){case 0:return Ut.next=2,te();case 2:X.success("\u63D0\u4EA4\u6210\u529F");case 3:case"end":return Ut.stop()}},dt)}));return function(){return et.apply(this,arguments)}}(),ke=function(){X.success("\u5BFC\u51FA\u6210\u529F")};return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(ee,{schema:V,value:xe,onChange:Ae,onSubmit:Se,actions:["submit","reset","export"],registerActions:{export:function(dt){var gt=dt.loading;return r.createElement(k,{type:"primary",disabled:gt.submit||gt.reset,onClick:ke},"\u5BFC\u51FA")}}}),r.createElement(Ie,{value:xe}))},W.abrupt("return",{default:ce});case 24:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-300-actions-demo-5",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import { message, Button } from 'antd' import { sleep } from '@examples/utils' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' @@ -3077,7 +3077,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}}}},"examples-form-render-react-300-actions-demo-6":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B;return a()().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=q.sent,ne=J.useState,oe=J.useRef,q.next=7,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 7:return X=q.sent,k=X.message,_=X.Button,te=X.Popconfirm,q.next=13,e.e(7693).then(e.bind(e,7693));case 13:return Y=q.sent,Ie=Y.sleep,q.next=17,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 17:return D=q.sent,ee=D.default,q.next=21,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 21:return V=q.sent,ce=V.default,L={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},W={submit:function(Ae){var Se=Ae.handleSubmit,ke=Ae.loading;return r.createElement(te,{title:"\u6E29\u99A8\u63D0\u793A",description:"\u786E\u5B9A\u8981\u63D0\u4EA4\u5417\uFF1F",onConfirm:Se},r.createElement(_,{loading:ke.submit,htmlType:"submit",type:"primary"},"\u63D0\u4EA4"))}},B=function(){var Ae=ne({}),Se=o()(Ae,2),ke=Se[0],et=Se[1],dt=oe(null),gt=function(){var Ut=c()(a()().mark(function Mt(){var Wt,ln;return a()().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:return nn.next=2,dt.current.validate();case 2:if(Wt=nn.sent,ln=Wt.hasError,!ln){nn.next=7;break}return k.error("\u8868\u5355\u5B58\u5728\u9519\u8BEF\uFF0C\u8BF7\u586B\u5199\u6B63\u786E\u540E\u518D\u63D0\u4EA4"),nn.abrupt("return");case 7:return nn.next=9,Ie();case 9:k.success("\u6CE8\u518C\u6210\u529F");case 10:case"end":return nn.stop()}},Mt)}));return function(){return Ut.apply(this,arguments)}}();return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(ce,{ref:dt,schema:L,value:ke,onChange:et,onSubmit:gt,registerActions:W}),r.createElement(ee,{value:ke}))},q.abrupt("return",{default:B});case 27:case"end":return q.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-300-actions-demo-6",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}}}},"examples-form-render-react-300-actions-demo-6":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B;return a()().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=q.sent,ne=J.useState,oe=J.useRef,q.next=7,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 7:return X=q.sent,k=X.message,_=X.Button,te=X.Popconfirm,q.next=13,e.e(7693).then(e.bind(e,7693));case 13:return Y=q.sent,Ie=Y.sleep,q.next=17,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 17:return D=q.sent,ee=D.default,q.next=21,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 21:return V=q.sent,ce=V.default,L={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},W={submit:function(Ae){var Se=Ae.handleSubmit,ke=Ae.loading;return r.createElement(te,{title:"\u6E29\u99A8\u63D0\u793A",description:"\u786E\u5B9A\u8981\u63D0\u4EA4\u5417\uFF1F",onConfirm:Se},r.createElement(_,{loading:ke.submit,htmlType:"submit",type:"primary"},"\u63D0\u4EA4"))}},B=function(){var Ae=ne({}),Se=o()(Ae,2),ke=Se[0],et=Se[1],dt=oe(null),gt=function(){var Ut=c()(a()().mark(function Mt(){var Wt,ln;return a()().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:return nn.next=2,dt.current.validate();case 2:if(Wt=nn.sent,ln=Wt.hasError,!ln){nn.next=7;break}return k.error("\u8868\u5355\u5B58\u5728\u9519\u8BEF\uFF0C\u8BF7\u586B\u5199\u6B63\u786E\u540E\u518D\u63D0\u4EA4"),nn.abrupt("return");case 7:return nn.next=9,Ie();case 9:k.success("\u6CE8\u518C\u6210\u529F");case 10:case"end":return nn.stop()}},Mt)}));return function(){return Ut.apply(this,arguments)}}();return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(ce,{ref:dt,schema:L,value:ke,onChange:et,onSubmit:gt,registerActions:W}),r.createElement(ee,{value:ke}))},q.abrupt("return",{default:B});case 27:case"end":return q.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-300-actions-demo-6",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' import { message, Button, Popconfirm } from 'antd' import { sleep } from '@examples/utils' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' @@ -3146,7 +3146,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}}}}},Fr={title:"\u884C\u4E3A\u64CD\u4F5C actions",toc:"content",filename:"examples/form-render-react/300-actions.md",lastUpdated:1704082387e3,order:300,description:"FormRender \u5185\u7F6E\u4E86\u63D0\u4EA4\u4E0E\u91CD\u7F6E\u64CD\u4F5C\uFF0C\u76F8\u5173 API \u5982\u4E0B\u6587\u6240\u8FF0\u3002"},Wr=[{id:"\u884C\u4E3A\u64CD\u4F5C-actions",depth:1,title:"\u884C\u4E3A\u64CD\u4F5C actions"},{id:"onsubmit-\u63D0\u4EA4\u4E8B\u4EF6",depth:2,title:"onSubmit \u63D0\u4EA4\u4E8B\u4EF6"},{id:"onreset-\u91CD\u7F6E\u4E8B\u4EF6",depth:2,title:"onReset \u91CD\u7F6E\u4E8B\u4EF6"},{id:"onbeforereset-\u91CD\u7F6E\u524D\u7F6E\u4E8B\u4EF6",depth:2,title:"onBeforeReset \u91CD\u7F6E\u524D\u7F6E\u4E8B\u4EF6"},{id:"actions-\u914D\u7F6E\u64CD\u4F5C",depth:2,title:"actions \u914D\u7F6E\u64CD\u4F5C"},{id:"examples-form-render-react-300-actions-demo-4",depth:3,title:"\u914D\u7F6E\u987A\u5E8F"},{id:"registeractions-\u6CE8\u518C\u64CD\u4F5C",depth:2,title:"registerActions \u6CE8\u518C\u64CD\u4F5C"},{id:"\u6CE8\u518C\u81EA\u5B9A\u4E49\u64CD\u4F5C",depth:3,title:"\u6CE8\u518C\u81EA\u5B9A\u4E49\u64CD\u4F5C"},{id:"\u8986\u76D6\u9ED8\u8BA4\u64CD\u4F5C",depth:3,title:"\u8986\u76D6\u9ED8\u8BA4\u64CD\u4F5C"},{id:"\u53C2\u6570\u8BE6\u89E3",depth:3,title:"\u53C2\u6570\u8BE6\u89E3"},{id:"\u5176\u4ED6\u76F8\u5173-api-\u8BE6\u89E3",depth:2,title:"\u5176\u4ED6\u76F8\u5173 API \u8BE6\u89E3"}],Oo=[{value:"FormRender",paraId:0,tocIndex:0},{value:" \u5185\u7F6E\u4E86",paraId:0,tocIndex:0},{value:"\u63D0\u4EA4",paraId:0,tocIndex:0},{value:"\u4E0E",paraId:0,tocIndex:0},{value:"\u91CD\u7F6E",paraId:0,tocIndex:0},{value:"\u64CD\u4F5C\uFF0C\u76F8\u5173 API \u5982\u4E0B\u6587\u6240\u8FF0\u3002",paraId:0,tocIndex:0},{value:"\u63D0\u4EA4\u4E8B\u4EF6\u4F1A\u5728\u70B9\u51FB\u300C\u63D0\u4EA4\u300D\u6309\u94AE\uFF0C\u6216\u5728\u8868\u5355\u5185\u6309\u4E0B\u56DE\u8F66\u952E\u89E6\u53D1\u3002",paraId:1,tocIndex:1},{value:"\u7C7B\u578B\uFF1A",paraId:2,tocIndex:1},{value:"(value: IObjectAny) => IMaybePromise",paraId:2,tocIndex:1},{value:"value",paraId:2,tocIndex:1},{value:": \u8868\u5355\u6570\u636E",paraId:2,tocIndex:1},{value:"\u70B9\u51FB\u91CD\u7F6E\u6309\u94AE\u7684\u65F6\u5019\u89E6\u53D1\u91CD\u7F6E\u4E8B\u4EF6",paraId:3,tocIndex:2},{value:"\u7C7B\u578B\uFF1A",paraId:4,tocIndex:2},{value:"(value: IObjectAny) => IMaybePromise",paraId:4,tocIndex:2},{value:"value",paraId:4,tocIndex:2},{value:": \u91CD\u7F6E\u540E\u7684\u8868\u5355\u6570\u636E",paraId:4,tocIndex:2},{value:"\u91CD\u7F6E\u4E8B\u4EF6\u652F\u6301\u5F02\u6B65\uFF0C\u6B64\u65F6\u6309\u94AE\u4F1A\u589E\u52A0 loading \u6548\u679C\u3002",paraId:5},{value:"\u91CD\u7F6E\u524D\u7F6E\u4E8B\u4EF6\u4F1A\u5728 ",paraId:6,tocIndex:3},{value:"onReset",paraId:6,tocIndex:3},{value:" \u4E4B\u524D\u89E6\u53D1\uFF0C\u5982\u679C\u8FD4\u56DE\u5BF9\u8C61\u6570\u636E\uFF0C\u5219\u4F1A\u4F5C\u4E3A\u91CD\u7F6E\u540E\u7684\u8868\u5355\u6570\u636E\u3002",paraId:6,tocIndex:3},{value:"\u7C7B\u578B\uFF1A",paraId:7,tocIndex:3},{value:"(value: IObjectAny) => IMaybePromise",paraId:7,tocIndex:3},{value:"value",paraId:7,tocIndex:3},{value:": \u5F53\u524D\u8868\u5355\u6570\u636E",paraId:7,tocIndex:3},{value:"actions",paraId:8,tocIndex:4},{value:" \u5C5E\u6027\u53EF\u4EE5\u914D\u7F6E\u64CD\u4F5C\u6309\u94AE\u662F\u5426\u5C55\u793A\u53CA\u5176\u987A\u5E8F\uFF0C\u9ED8\u8BA4 ",paraId:8,tocIndex:4},{value:"actions",paraId:8,tocIndex:4},{value:" \u7B49\u4E8E ",paraId:8,tocIndex:4},{value:"['submit', 'reset']",paraId:8,tocIndex:4},{value:"\u3002",paraId:8,tocIndex:4},{value:"\u652F\u6301\u5217\u8868\u5982\u4E0B\uFF1A",paraId:9,tocIndex:4},{value:"submit",paraId:10,tocIndex:4},{value:": \u63D0\u4EA4",paraId:10,tocIndex:4},{value:"reset",paraId:10,tocIndex:4},{value:": \u91CD\u7F6E",paraId:10,tocIndex:4},{value:"\u901A\u8FC7 ",paraId:11,tocIndex:7},{value:"registerActions",paraId:11,tocIndex:7},{value:" \u53EF\u4EE5\u6CE8\u518C\u81EA\u5B9A\u4E49\u64CD\u4F5C",paraId:11,tocIndex:7},{value:"\u5982\u679C\u64CD\u4F5C\u540D\u79F0\u662F ",paraId:12,tocIndex:8},{value:"submit",paraId:12,tocIndex:8},{value:"\u3001",paraId:12,tocIndex:8},{value:"reset",paraId:12,tocIndex:8},{value:"\uFF0C\u5C06\u8986\u76D6\u539F\u6709\u884C\u4E3A\uFF0C\u5982\u8986\u76D6\u63D0\u4EA4\u6309\u94AE\uFF0C\u589E\u52A0\u3010\u4E8C\u6B21\u786E\u8BA4\u3011\u7684\u64CD\u4F5C\u3002",paraId:12,tocIndex:8},{value:"registerActions",paraId:13,tocIndex:9},{value:" \u6CE8\u518C\u9879\u7684\u7C7B\u578B\u4E3A\uFF1A",paraId:13,tocIndex:9},{value:"(p: IRegisterActionsFnParams) => ReactNode",paraId:13,tocIndex:9},{value:"IRegisterActionsFnParams",paraId:14,tocIndex:9},{value:" \u53C2\u6570\u8BE6\u89E3\u5982\u4E0B\u8868\u683C",paraId:14,tocIndex:9},{value:"\u53C2\u6570",paraId:15,tocIndex:9},{value:"\u63CF\u8FF0",paraId:15,tocIndex:9},{value:"\u7C7B\u578B",paraId:15,tocIndex:9},{value:"handleSubmit",paraId:15,tocIndex:9},{value:"\u5F53\u64CD\u4F5C\u540D\u79F0\u4E3A ",paraId:15,tocIndex:9},{value:"submit",paraId:15,tocIndex:9},{value:" \u65F6\uFF0C\u5B58\u5728\u8BE5\u4E8B\u4EF6",paraId:15,tocIndex:9},{value:"() => void",paraId:15,tocIndex:9},{value:"handleReset",paraId:15,tocIndex:9},{value:"\u5F53\u64CD\u4F5C\u540D\u79F0\u4E3A ",paraId:15,tocIndex:9},{value:"reset",paraId:15,tocIndex:9},{value:" \u65F6\uFF0C\u5B58\u5728\u8BE5\u4E8B\u4EF6",paraId:15,tocIndex:9},{value:"() => void",paraId:15,tocIndex:9},{value:"loading",paraId:15,tocIndex:9},{value:"\u63D0\u4EA4\u4E0E\u91CD\u7F6E\u4E8B\u4EF6\u7684 ",paraId:15,tocIndex:9},{value:"loading",paraId:15,tocIndex:9},{value:" \u72B6\u6001",paraId:15,tocIndex:9},{value:"{ submit: boolean; reset: boolean; }",paraId:15,tocIndex:9},{value:"disabled",paraId:15,tocIndex:9},{value:"\u5168\u5C40\u7981\u7528\u72B6\u6001",paraId:15,tocIndex:9},{value:"boolean",paraId:15,tocIndex:9},{value:"locale",paraId:15,tocIndex:9},{value:"\u5F53\u524D\u8BED\u8A00\u6570\u636E",paraId:15,tocIndex:9},{value:"object",paraId:15,tocIndex:9},{value:"\u53C2\u6570",paraId:16,tocIndex:10},{value:"\u63CF\u8FF0",paraId:16,tocIndex:10},{value:"\u7C7B\u578B",paraId:16,tocIndex:10},{value:"\u9ED8\u8BA4\u503C",paraId:16,tocIndex:10},{value:"disableFormOnActionLoading",paraId:16,tocIndex:10},{value:"\u5F53\u64CD\u4F5C\u884C\u4E3A\u6309\u94AE\u5904\u4E8E loading \u72B6\u6001\u65F6\uFF0C\u662F\u5426\u7981\u7528\u8868\u5355",paraId:16,tocIndex:10},{value:"boolean",paraId:16,tocIndex:10},{value:"true",paraId:16,tocIndex:10},{value:"validateFormOnSubmit",paraId:16,tocIndex:10},{value:"\u89E6\u53D1 onSubmit \u4E8B\u4EF6\u524D\u662F\u5426\u6267\u884C\u8868\u5355\u6821\u9A8C\uFF0C\u9ED8\u8BA4\u4E3A true\uFF0C\u6821\u9A8C\u4E0D\u901A\u8FC7\u5C06\u4E0D\u4F1A\u89E6\u53D1 onSubmit \u4E8B\u4EF6",paraId:16,tocIndex:10},{value:"boolean",paraId:16,tocIndex:10},{value:"true",paraId:16,tocIndex:10}],qr={"examples-core-react-230-global-status-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",renderOptions:{maxLength:10,placeholder:"\u8BF7\u8F93\u5165\u6807\u9898\uFF0C\u6700\u591A10\u4E2A\u5B57\u7B26"}},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},Y=function(){return r.createElement(ne,{disabled:!0,schema:te,itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-230-global-status-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}}}}},Fr={title:"\u884C\u4E3A\u64CD\u4F5C actions",toc:"content",filename:"examples/form-render-react/300-actions.md",lastUpdated:1704082387e3,order:300,description:"FormRender \u5185\u7F6E\u4E86\u63D0\u4EA4\u4E0E\u91CD\u7F6E\u64CD\u4F5C\uFF0C\u76F8\u5173 API \u5982\u4E0B\u6587\u6240\u8FF0\u3002"},Wr=[{id:"\u884C\u4E3A\u64CD\u4F5C-actions",depth:1,title:"\u884C\u4E3A\u64CD\u4F5C actions"},{id:"onsubmit-\u63D0\u4EA4\u4E8B\u4EF6",depth:2,title:"onSubmit \u63D0\u4EA4\u4E8B\u4EF6"},{id:"onreset-\u91CD\u7F6E\u4E8B\u4EF6",depth:2,title:"onReset \u91CD\u7F6E\u4E8B\u4EF6"},{id:"onbeforereset-\u91CD\u7F6E\u524D\u7F6E\u4E8B\u4EF6",depth:2,title:"onBeforeReset \u91CD\u7F6E\u524D\u7F6E\u4E8B\u4EF6"},{id:"actions-\u914D\u7F6E\u64CD\u4F5C",depth:2,title:"actions \u914D\u7F6E\u64CD\u4F5C"},{id:"examples-form-render-react-300-actions-demo-4",depth:3,title:"\u914D\u7F6E\u987A\u5E8F"},{id:"registeractions-\u6CE8\u518C\u64CD\u4F5C",depth:2,title:"registerActions \u6CE8\u518C\u64CD\u4F5C"},{id:"\u6CE8\u518C\u81EA\u5B9A\u4E49\u64CD\u4F5C",depth:3,title:"\u6CE8\u518C\u81EA\u5B9A\u4E49\u64CD\u4F5C"},{id:"\u8986\u76D6\u9ED8\u8BA4\u64CD\u4F5C",depth:3,title:"\u8986\u76D6\u9ED8\u8BA4\u64CD\u4F5C"},{id:"\u53C2\u6570\u8BE6\u89E3",depth:3,title:"\u53C2\u6570\u8BE6\u89E3"},{id:"\u5176\u4ED6\u76F8\u5173-api-\u8BE6\u89E3",depth:2,title:"\u5176\u4ED6\u76F8\u5173 API \u8BE6\u89E3"}],Oo=[{value:"FormRender",paraId:0,tocIndex:0},{value:" \u5185\u7F6E\u4E86",paraId:0,tocIndex:0},{value:"\u63D0\u4EA4",paraId:0,tocIndex:0},{value:"\u4E0E",paraId:0,tocIndex:0},{value:"\u91CD\u7F6E",paraId:0,tocIndex:0},{value:"\u64CD\u4F5C\uFF0C\u76F8\u5173 API \u5982\u4E0B\u6587\u6240\u8FF0\u3002",paraId:0,tocIndex:0},{value:"\u63D0\u4EA4\u4E8B\u4EF6\u4F1A\u5728\u70B9\u51FB\u300C\u63D0\u4EA4\u300D\u6309\u94AE\uFF0C\u6216\u5728\u8868\u5355\u5185\u6309\u4E0B\u56DE\u8F66\u952E\u89E6\u53D1\u3002",paraId:1,tocIndex:1},{value:"\u7C7B\u578B\uFF1A",paraId:2,tocIndex:1},{value:"(value: IObjectAny) => IMaybePromise",paraId:2,tocIndex:1},{value:"value",paraId:2,tocIndex:1},{value:": \u8868\u5355\u6570\u636E",paraId:2,tocIndex:1},{value:"\u70B9\u51FB\u91CD\u7F6E\u6309\u94AE\u7684\u65F6\u5019\u89E6\u53D1\u91CD\u7F6E\u4E8B\u4EF6",paraId:3,tocIndex:2},{value:"\u7C7B\u578B\uFF1A",paraId:4,tocIndex:2},{value:"(value: IObjectAny) => IMaybePromise",paraId:4,tocIndex:2},{value:"value",paraId:4,tocIndex:2},{value:": \u91CD\u7F6E\u540E\u7684\u8868\u5355\u6570\u636E",paraId:4,tocIndex:2},{value:"\u91CD\u7F6E\u4E8B\u4EF6\u652F\u6301\u5F02\u6B65\uFF0C\u6B64\u65F6\u6309\u94AE\u4F1A\u589E\u52A0 loading \u6548\u679C\u3002",paraId:5},{value:"\u91CD\u7F6E\u524D\u7F6E\u4E8B\u4EF6\u4F1A\u5728 ",paraId:6,tocIndex:3},{value:"onReset",paraId:6,tocIndex:3},{value:" \u4E4B\u524D\u89E6\u53D1\uFF0C\u5982\u679C\u8FD4\u56DE\u5BF9\u8C61\u6570\u636E\uFF0C\u5219\u4F1A\u4F5C\u4E3A\u91CD\u7F6E\u540E\u7684\u8868\u5355\u6570\u636E\u3002",paraId:6,tocIndex:3},{value:"\u7C7B\u578B\uFF1A",paraId:7,tocIndex:3},{value:"(value: IObjectAny) => IMaybePromise",paraId:7,tocIndex:3},{value:"value",paraId:7,tocIndex:3},{value:": \u5F53\u524D\u8868\u5355\u6570\u636E",paraId:7,tocIndex:3},{value:"actions",paraId:8,tocIndex:4},{value:" \u5C5E\u6027\u53EF\u4EE5\u914D\u7F6E\u64CD\u4F5C\u6309\u94AE\u662F\u5426\u5C55\u793A\u53CA\u5176\u987A\u5E8F\uFF0C\u9ED8\u8BA4 ",paraId:8,tocIndex:4},{value:"actions",paraId:8,tocIndex:4},{value:" \u7B49\u4E8E ",paraId:8,tocIndex:4},{value:"['submit', 'reset']",paraId:8,tocIndex:4},{value:"\u3002",paraId:8,tocIndex:4},{value:"\u652F\u6301\u5217\u8868\u5982\u4E0B\uFF1A",paraId:9,tocIndex:4},{value:"submit",paraId:10,tocIndex:4},{value:": \u63D0\u4EA4",paraId:10,tocIndex:4},{value:"reset",paraId:10,tocIndex:4},{value:": \u91CD\u7F6E",paraId:10,tocIndex:4},{value:"\u901A\u8FC7 ",paraId:11,tocIndex:7},{value:"registerActions",paraId:11,tocIndex:7},{value:" \u53EF\u4EE5\u6CE8\u518C\u81EA\u5B9A\u4E49\u64CD\u4F5C",paraId:11,tocIndex:7},{value:"\u5982\u679C\u64CD\u4F5C\u540D\u79F0\u662F ",paraId:12,tocIndex:8},{value:"submit",paraId:12,tocIndex:8},{value:"\u3001",paraId:12,tocIndex:8},{value:"reset",paraId:12,tocIndex:8},{value:"\uFF0C\u5C06\u8986\u76D6\u539F\u6709\u884C\u4E3A\uFF0C\u5982\u8986\u76D6\u63D0\u4EA4\u6309\u94AE\uFF0C\u589E\u52A0\u3010\u4E8C\u6B21\u786E\u8BA4\u3011\u7684\u64CD\u4F5C\u3002",paraId:12,tocIndex:8},{value:"registerActions",paraId:13,tocIndex:9},{value:" \u6CE8\u518C\u9879\u7684\u7C7B\u578B\u4E3A\uFF1A",paraId:13,tocIndex:9},{value:"(p: IRegisterActionsFnParams) => ReactNode",paraId:13,tocIndex:9},{value:"IRegisterActionsFnParams",paraId:14,tocIndex:9},{value:" \u53C2\u6570\u8BE6\u89E3\u5982\u4E0B\u8868\u683C",paraId:14,tocIndex:9},{value:"\u53C2\u6570",paraId:15,tocIndex:9},{value:"\u63CF\u8FF0",paraId:15,tocIndex:9},{value:"\u7C7B\u578B",paraId:15,tocIndex:9},{value:"handleSubmit",paraId:15,tocIndex:9},{value:"\u5F53\u64CD\u4F5C\u540D\u79F0\u4E3A ",paraId:15,tocIndex:9},{value:"submit",paraId:15,tocIndex:9},{value:" \u65F6\uFF0C\u5B58\u5728\u8BE5\u4E8B\u4EF6",paraId:15,tocIndex:9},{value:"() => void",paraId:15,tocIndex:9},{value:"handleReset",paraId:15,tocIndex:9},{value:"\u5F53\u64CD\u4F5C\u540D\u79F0\u4E3A ",paraId:15,tocIndex:9},{value:"reset",paraId:15,tocIndex:9},{value:" \u65F6\uFF0C\u5B58\u5728\u8BE5\u4E8B\u4EF6",paraId:15,tocIndex:9},{value:"() => void",paraId:15,tocIndex:9},{value:"loading",paraId:15,tocIndex:9},{value:"\u63D0\u4EA4\u4E0E\u91CD\u7F6E\u4E8B\u4EF6\u7684 ",paraId:15,tocIndex:9},{value:"loading",paraId:15,tocIndex:9},{value:" \u72B6\u6001",paraId:15,tocIndex:9},{value:"{ submit: boolean; reset: boolean; }",paraId:15,tocIndex:9},{value:"disabled",paraId:15,tocIndex:9},{value:"\u5168\u5C40\u7981\u7528\u72B6\u6001",paraId:15,tocIndex:9},{value:"boolean",paraId:15,tocIndex:9},{value:"locale",paraId:15,tocIndex:9},{value:"\u5F53\u524D\u8BED\u8A00\u6570\u636E",paraId:15,tocIndex:9},{value:"object",paraId:15,tocIndex:9},{value:"\u53C2\u6570",paraId:16,tocIndex:10},{value:"\u63CF\u8FF0",paraId:16,tocIndex:10},{value:"\u7C7B\u578B",paraId:16,tocIndex:10},{value:"\u9ED8\u8BA4\u503C",paraId:16,tocIndex:10},{value:"disableFormOnActionLoading",paraId:16,tocIndex:10},{value:"\u5F53\u64CD\u4F5C\u884C\u4E3A\u6309\u94AE\u5904\u4E8E loading \u72B6\u6001\u65F6\uFF0C\u662F\u5426\u7981\u7528\u8868\u5355",paraId:16,tocIndex:10},{value:"boolean",paraId:16,tocIndex:10},{value:"true",paraId:16,tocIndex:10},{value:"validateFormOnSubmit",paraId:16,tocIndex:10},{value:"\u89E6\u53D1 onSubmit \u4E8B\u4EF6\u524D\u662F\u5426\u6267\u884C\u8868\u5355\u6821\u9A8C\uFF0C\u9ED8\u8BA4\u4E3A true\uFF0C\u6821\u9A8C\u4E0D\u901A\u8FC7\u5C06\u4E0D\u4F1A\u89E6\u53D1 onSubmit \u4E8B\u4EF6",paraId:16,tocIndex:10},{value:"boolean",paraId:16,tocIndex:10},{value:"true",paraId:16,tocIndex:10}],qr={"examples-core-react-230-global-status-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",renderOptions:{maxLength:10,placeholder:"\u8BF7\u8F93\u5165\u6807\u9898\uFF0C\u6700\u591A10\u4E2A\u5B57\u7B26"}},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},Y=function(){return r.createElement(ne,{disabled:!0,schema:te,itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-230-global-status-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -3180,7 +3180,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},zr={title:"\u5168\u5C40\u72B6\u6001\u63A7\u5236",toc:"content",filename:"examples/core-react/230-global-status.md",lastUpdated:1704082387e3,group:"\u529F\u80FD\u8BE6\u89E3",order:230,description:"\u5168\u5C40\u72B6\u6001\u63A7\u5236\u7684\u51FA\u73B0\u662F\u4E3A\u4E86\u5728\u6700\u9876\u5C42\u76F4\u63A5\u63A7\u5236\u8868\u5355\u7684\u72B6\u6001\uFF0C\u4EE5\u964D\u4F4E\u534F\u8BAE\u63A7\u5236\u7F16\u7801\u6210\u672C\u3002"},Cr=[{id:"\u5168\u5C40\u72B6\u6001\u63A7\u5236",depth:1,title:"\u5168\u5C40\u72B6\u6001\u63A7\u5236"},{id:"\u5168\u5C40\u7981\u7528\u6001\u793A\u4F8B",depth:2,title:"\u5168\u5C40\u7981\u7528\u6001\u793A\u4F8B"}],vr=[{value:"\u5168\u5C40\u72B6\u6001\u63A7\u5236\u7684\u51FA\u73B0\u662F\u4E3A\u4E86\u5728\u6700\u9876\u5C42\u76F4\u63A5\u63A7\u5236\u8868\u5355\u7684\u72B6\u6001\uFF0C\u4EE5\u964D\u4F4E\u534F\u8BAE\u63A7\u5236\u7F16\u7801\u6210\u672C\u3002",paraId:0,tocIndex:0},{value:"\u5168\u5C40\u72B6\u6001\u63A7\u5236\u7684\u6743\u91CD\u5927\u4E8E Schema \u534F\u8BAE\u7684\u72B6\u6001\u63A7\u5236\u3002",paraId:1,tocIndex:0},{value:"\u4EE5\u4E0B\u662F\u5168\u5C40\u72B6\u6001\u63A7\u5236\u53EF\u7528\u7684\u53C2\u6570",paraId:2,tocIndex:0},{value:"disabled",paraId:3,tocIndex:0},{value:": boolean \u7C7B\u578B\uFF0C\u63A7\u5236\u8868\u5355\u9879\u662F\u5426",paraId:3,tocIndex:0},{value:"\u7981\u7528",paraId:3,tocIndex:0},{value:"\uFF0C\u7981\u7528\u65F6\u4F1A\u5728\u6839\u8282\u70B9\u589E\u52A0 ",paraId:3,tocIndex:0},{value:"is-disabled",paraId:3,tocIndex:0},{value:" \u7C7B\u540D\u3002",paraId:3,tocIndex:0},{value:"readonly",paraId:3,tocIndex:0},{value:": boolean \u7C7B\u578B\uFF0C\u63A7\u5236\u8868\u5355\u9879\u662F\u5426",paraId:3,tocIndex:0},{value:"\u53EA\u8BFB",paraId:3,tocIndex:0},{value:"\uFF0C\u53EA\u8BFB\u65F6\u4F1A\u5728\u6839\u8282\u70B9\u589E\u52A0 ",paraId:3,tocIndex:0},{value:"is-readonly",paraId:3,tocIndex:0},{value:" \u7C7B\u540D\u3002",paraId:3,tocIndex:0}],Sr={"examples-core-react-300-default-value-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},Y=function(){return r.createElement(ne,{schema:te,defaultValue:{title:"\u6211\u662F\u6807\u9898"},itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-300-default-value-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},zr={title:"\u5168\u5C40\u72B6\u6001\u63A7\u5236",toc:"content",filename:"examples/core-react/230-global-status.md",lastUpdated:1704082387e3,group:"\u529F\u80FD\u8BE6\u89E3",order:230,description:"\u5168\u5C40\u72B6\u6001\u63A7\u5236\u7684\u51FA\u73B0\u662F\u4E3A\u4E86\u5728\u6700\u9876\u5C42\u76F4\u63A5\u63A7\u5236\u8868\u5355\u7684\u72B6\u6001\uFF0C\u4EE5\u964D\u4F4E\u534F\u8BAE\u63A7\u5236\u7F16\u7801\u6210\u672C\u3002"},Cr=[{id:"\u5168\u5C40\u72B6\u6001\u63A7\u5236",depth:1,title:"\u5168\u5C40\u72B6\u6001\u63A7\u5236"},{id:"\u5168\u5C40\u7981\u7528\u6001\u793A\u4F8B",depth:2,title:"\u5168\u5C40\u7981\u7528\u6001\u793A\u4F8B"}],vr=[{value:"\u5168\u5C40\u72B6\u6001\u63A7\u5236\u7684\u51FA\u73B0\u662F\u4E3A\u4E86\u5728\u6700\u9876\u5C42\u76F4\u63A5\u63A7\u5236\u8868\u5355\u7684\u72B6\u6001\uFF0C\u4EE5\u964D\u4F4E\u534F\u8BAE\u63A7\u5236\u7F16\u7801\u6210\u672C\u3002",paraId:0,tocIndex:0},{value:"\u5168\u5C40\u72B6\u6001\u63A7\u5236\u7684\u6743\u91CD\u5927\u4E8E Schema \u534F\u8BAE\u7684\u72B6\u6001\u63A7\u5236\u3002",paraId:1,tocIndex:0},{value:"\u4EE5\u4E0B\u662F\u5168\u5C40\u72B6\u6001\u63A7\u5236\u53EF\u7528\u7684\u53C2\u6570",paraId:2,tocIndex:0},{value:"disabled",paraId:3,tocIndex:0},{value:": boolean \u7C7B\u578B\uFF0C\u63A7\u5236\u8868\u5355\u9879\u662F\u5426",paraId:3,tocIndex:0},{value:"\u7981\u7528",paraId:3,tocIndex:0},{value:"\uFF0C\u7981\u7528\u65F6\u4F1A\u5728\u6839\u8282\u70B9\u589E\u52A0 ",paraId:3,tocIndex:0},{value:"is-disabled",paraId:3,tocIndex:0},{value:" \u7C7B\u540D\u3002",paraId:3,tocIndex:0},{value:"readonly",paraId:3,tocIndex:0},{value:": boolean \u7C7B\u578B\uFF0C\u63A7\u5236\u8868\u5355\u9879\u662F\u5426",paraId:3,tocIndex:0},{value:"\u53EA\u8BFB",paraId:3,tocIndex:0},{value:"\uFF0C\u53EA\u8BFB\u65F6\u4F1A\u5728\u6839\u8282\u70B9\u589E\u52A0 ",paraId:3,tocIndex:0},{value:"is-readonly",paraId:3,tocIndex:0},{value:" \u7C7B\u540D\u3002",paraId:3,tocIndex:0}],Sr={"examples-core-react-300-default-value-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},Y=function(){return r.createElement(ne,{schema:te,defaultValue:{title:"\u6211\u662F\u6807\u9898"},itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-300-default-value-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -3211,7 +3211,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},ur={title:"\u9ED8\u8BA4\u503C DefaultValue",toc:"content",filename:"examples/core-react/300-default-value.md",lastUpdated:1704082387e3,group:"\u529F\u80FD\u8BE6\u89E3",order:300,debug:!0,description:"\u8FD8\u5728\u8BBE\u8BA1\u4E2D"},xn=[{id:"\u9ED8\u8BA4\u503C-defaultvalue",depth:1,title:"\u9ED8\u8BA4\u503C DefaultValue"},{id:"core-\u9ED8\u8BA4\u503C",depth:2,title:"Core \u9ED8\u8BA4\u503C"},{id:"schema-\u534F\u8BAE\u9ED8\u8BA4\u503C",depth:2,title:"Schema \u534F\u8BAE\u9ED8\u8BA4\u503C"}],Aa=[{value:"\u8FD8\u5728\u8BBE\u8BA1\u4E2D",paraId:0}],na={},$a={title:"API Reference",toc:"content",filename:"examples/core-react/800-api-reference.md",lastUpdated:1704082387e3,group:{title:"API \u624B\u518C",order:800},description:"\u53C2\u89C1\u9519\u8BEF\u63D0\u793A\u4FE1\u606F\u3002"},Ao=[{id:"api-reference",depth:1,title:"API Reference"},{id:"catcherrortips",depth:2,title:"catchErrorTips"},{id:"classname",depth:2,title:"className"},{id:"defaultvalue",depth:2,title:"defaultValue"},{id:"disabled",depth:2,title:"disabled"},{id:"itemlayout",depth:2,title:"itemLayout"},{id:"layout",depth:2,title:"layout"},{id:"layoutcolumngap",depth:2,title:"layoutColumnGap"},{id:"layoutminmax",depth:2,title:"layoutMinMax"},{id:"layoutrowgap",depth:2,title:"layoutRowGap"},{id:"locale",depth:2,title:"locale"},{id:"onchange",depth:2,title:"onChange"},{id:"onitemchange",depth:2,title:"onItemChange"},{id:"prefixcls",depth:2,title:"prefixCls"},{id:"readonly",depth:2,title:"readonly"},{id:"renderers",depth:2,title:"renderers"},{id:"schema",depth:2,title:"schema"},{id:"style",depth:2,title:"style"},{id:"userctx",depth:2,title:"userCtx"},{id:"validators",depth:2,title:"validators"},{id:"value",depth:2,title:"value"},{id:"watch",depth:2,title:"watch"}],Za=[{value:"\u53C2\u89C1",paraId:0,tocIndex:1},{value:"\u9519\u8BEF\u63D0\u793A\u4FE1\u606F",paraId:1,tocIndex:1},{value:"\u3002",paraId:0,tocIndex:1},{value:"\u6839\u8282\u70B9\u7C7B\u540D\u3002",paraId:2,tocIndex:2},{value:"\u8868\u5355\u9ED8\u8BA4\u503C\u3002",paraId:3,tocIndex:3},{value:"\u662F\u5426\u5168\u5C40\u7981\u7528\u8868\u5355\uFF0C\u8BE6\u60C5\u89C1",paraId:4,tocIndex:4},{value:"\u5168\u5C40\u72B6\u6001\u63A7\u5236",paraId:5,tocIndex:4},{value:"\u3002",paraId:4,tocIndex:4},{value:"\u8868\u5355\u9879\u5E03\u5C40\u7ED3\u6784\uFF0C\u8BE6\u60C5\u89C1",paraId:6,tocIndex:5},{value:"\u5E03\u5C40\u7ED3\u6784 itemLayout",paraId:7,tocIndex:5},{value:"\u3002",paraId:6,tocIndex:5},{value:"\u8868\u5355\u5E03\u5C40\u7ED3\u6784\uFF0C\u8BE6\u60C5\u89C1",paraId:8,tocIndex:6},{value:"\u5E03\u5C40\u7ED3\u6784 layout",paraId:9,tocIndex:6},{value:"\u3002",paraId:8,tocIndex:6},{value:"\u8868\u5355\u9879\u4E4B\u95F4\u7684\u5217\u95F4\u8DDD\uFF0C\u8BE6\u60C5\u89C1",paraId:10,tocIndex:7},{value:"\u5E03\u5C40\u7ED3\u6784 layout",paraId:11,tocIndex:7},{value:"\u3002",paraId:10,tocIndex:7},{value:"\u5B9A\u4E49\u8868\u5355\u9879\u6700\u5C0F\u5BBD\u5EA6\u4E0E\u6700\u5927\u5BBD\u5EA6\uFF0C\u5F53 layout \u4E3A autoFill\u3001autoFit \u65F6\u751F\u6548\uFF0C\u8BE6\u60C5\u89C1",paraId:12,tocIndex:8},{value:"\u5E03\u5C40\u7ED3\u6784 layout",paraId:13,tocIndex:8},{value:"\u3002",paraId:12,tocIndex:8},{value:"\u8868\u5355\u9879\u4E4B\u95F4\u7684\u884C\u95F4\u8DDD\uFF0C\u8BE6\u60C5\u89C1",paraId:14,tocIndex:9},{value:"\u5E03\u5C40\u7ED3\u6784 layout",paraId:15,tocIndex:9},{value:"\u3002",paraId:14,tocIndex:9},{value:"\u56FD\u9645\u5316\uFF0C\u8BE6\u60C5\u89C1",paraId:16,tocIndex:10},{value:"\u56FD\u9645\u5316 Locale",paraId:17,tocIndex:10},{value:"\u3002",paraId:16,tocIndex:10},{value:"\u6570\u636E\u53D8\u5316\u4E8B\u4EF6\uFF0C\u8BE6\u60C5\u89C1",paraId:18,tocIndex:11},{value:"onChange \u4E8B\u4EF6",paraId:19,tocIndex:11},{value:"\u3002",paraId:18,tocIndex:11},{value:"\u6570\u636E\u53D8\u5316\u4E8B\u4EF6\uFF0C\u8BE6\u60C5\u89C1",paraId:20,tocIndex:12},{value:"onItemChange \u4E8B\u4EF6",paraId:21,tocIndex:12},{value:"\u3002",paraId:20,tocIndex:12},{value:"\u6837\u5F0F\u7C7B\u540D\u524D\u7F00\uFF0C\u9ED8\u8BA4\u4E3A schema-render\u3002",paraId:22,tocIndex:13},{value:"\u662F\u5426\u5168\u5C40\u53EA\u8BFB\u8868\u5355\uFF0C\u8BE6\u60C5\u89C1",paraId:23,tocIndex:14},{value:"\u5168\u5C40\u72B6\u6001\u63A7\u5236",paraId:24,tocIndex:14},{value:"\u3002",paraId:23,tocIndex:14},{value:"\u6CE8\u518C\u6E32\u67D3\u5668\u96C6\u5408\uFF0C\u8BE6\u60C5\u89C1",paraId:25,tocIndex:15},{value:"\u6E32\u67D3\u5668 Renderer",paraId:26,tocIndex:15},{value:"\u3002",paraId:25,tocIndex:15},{value:"Schema \u63CF\u8FF0\u534F\u8BAE\u3002",paraId:27,tocIndex:16},{value:"\u6839\u8282\u70B9\u6837\u5F0F\u3002",paraId:28,tocIndex:17},{value:"\u7528\u6237\u5168\u5C40\u4E0A\u4E0B\u6587\u6570\u636E\u3002",paraId:29,tocIndex:18},{value:"\u5168\u5C40\u6821\u9A8C\u5668\u96C6\u5408\uFF0C\u8BE6\u60C5\u89C1",paraId:30,tocIndex:19},{value:"Global Validators",paraId:31,tocIndex:19},{value:"\u3002",paraId:30,tocIndex:19},{value:"\u8868\u5355\u6570\u636E\u3002",paraId:32,tocIndex:20},{value:"\u76D1\u542C\u6570\u636E\u53D8\u5316\u5904\u7406\u8054\u52A8\u903B\u8F91\uFF0C\u8BE6\u60C5\u89C1",paraId:33,tocIndex:21},{value:"\u6570\u636E\u8054\u52A8 watch \u65B9\u5F0F",paraId:34,tocIndex:21},{value:"\u3002",paraId:33,tocIndex:21}],Do={"examples-form-render-react-700-locale-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_;return a()().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return Y.next=2,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 2:return J=Y.sent,ne=J.default,Y.next=6,e.e(1647).then(e.bind(e,81647));case 6:return oe=Y.sent,X=oe.default,k={renderType:"Root",properties:{username:{title:"username",renderType:"InputText",required:!0},password:{title:"password",renderType:"Password",required:!0}}},_=function(){return r.createElement(ne,{rootStyle:{maxWidth:500},schema:k,locale:X})},Y.abrupt("return",{default:_});case 11:case"end":return Y.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-700-locale-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import FormRender from '@schema-render/form-render-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},ur={title:"\u9ED8\u8BA4\u503C DefaultValue",toc:"content",filename:"examples/core-react/300-default-value.md",lastUpdated:1704082387e3,group:"\u529F\u80FD\u8BE6\u89E3",order:300,debug:!0,description:"\u8FD8\u5728\u8BBE\u8BA1\u4E2D"},xn=[{id:"\u9ED8\u8BA4\u503C-defaultvalue",depth:1,title:"\u9ED8\u8BA4\u503C DefaultValue"},{id:"core-\u9ED8\u8BA4\u503C",depth:2,title:"Core \u9ED8\u8BA4\u503C"},{id:"schema-\u534F\u8BAE\u9ED8\u8BA4\u503C",depth:2,title:"Schema \u534F\u8BAE\u9ED8\u8BA4\u503C"}],Aa=[{value:"\u8FD8\u5728\u8BBE\u8BA1\u4E2D",paraId:0}],na={},$a={title:"API Reference",toc:"content",filename:"examples/core-react/800-api-reference.md",lastUpdated:1704082387e3,group:{title:"API \u624B\u518C",order:800},description:"\u53C2\u89C1\u9519\u8BEF\u63D0\u793A\u4FE1\u606F\u3002"},Ao=[{id:"api-reference",depth:1,title:"API Reference"},{id:"catcherrortips",depth:2,title:"catchErrorTips"},{id:"classname",depth:2,title:"className"},{id:"defaultvalue",depth:2,title:"defaultValue"},{id:"disabled",depth:2,title:"disabled"},{id:"itemlayout",depth:2,title:"itemLayout"},{id:"layout",depth:2,title:"layout"},{id:"layoutcolumngap",depth:2,title:"layoutColumnGap"},{id:"layoutminmax",depth:2,title:"layoutMinMax"},{id:"layoutrowgap",depth:2,title:"layoutRowGap"},{id:"locale",depth:2,title:"locale"},{id:"onchange",depth:2,title:"onChange"},{id:"onitemchange",depth:2,title:"onItemChange"},{id:"prefixcls",depth:2,title:"prefixCls"},{id:"readonly",depth:2,title:"readonly"},{id:"renderers",depth:2,title:"renderers"},{id:"schema",depth:2,title:"schema"},{id:"style",depth:2,title:"style"},{id:"userctx",depth:2,title:"userCtx"},{id:"validators",depth:2,title:"validators"},{id:"value",depth:2,title:"value"},{id:"watch",depth:2,title:"watch"}],Za=[{value:"\u53C2\u89C1",paraId:0,tocIndex:1},{value:"\u9519\u8BEF\u63D0\u793A\u4FE1\u606F",paraId:1,tocIndex:1},{value:"\u3002",paraId:0,tocIndex:1},{value:"\u6839\u8282\u70B9\u7C7B\u540D\u3002",paraId:2,tocIndex:2},{value:"\u8868\u5355\u9ED8\u8BA4\u503C\u3002",paraId:3,tocIndex:3},{value:"\u662F\u5426\u5168\u5C40\u7981\u7528\u8868\u5355\uFF0C\u8BE6\u60C5\u89C1",paraId:4,tocIndex:4},{value:"\u5168\u5C40\u72B6\u6001\u63A7\u5236",paraId:5,tocIndex:4},{value:"\u3002",paraId:4,tocIndex:4},{value:"\u8868\u5355\u9879\u5E03\u5C40\u7ED3\u6784\uFF0C\u8BE6\u60C5\u89C1",paraId:6,tocIndex:5},{value:"\u5E03\u5C40\u7ED3\u6784 itemLayout",paraId:7,tocIndex:5},{value:"\u3002",paraId:6,tocIndex:5},{value:"\u8868\u5355\u5E03\u5C40\u7ED3\u6784\uFF0C\u8BE6\u60C5\u89C1",paraId:8,tocIndex:6},{value:"\u5E03\u5C40\u7ED3\u6784 layout",paraId:9,tocIndex:6},{value:"\u3002",paraId:8,tocIndex:6},{value:"\u8868\u5355\u9879\u4E4B\u95F4\u7684\u5217\u95F4\u8DDD\uFF0C\u8BE6\u60C5\u89C1",paraId:10,tocIndex:7},{value:"\u5E03\u5C40\u7ED3\u6784 layout",paraId:11,tocIndex:7},{value:"\u3002",paraId:10,tocIndex:7},{value:"\u5B9A\u4E49\u8868\u5355\u9879\u6700\u5C0F\u5BBD\u5EA6\u4E0E\u6700\u5927\u5BBD\u5EA6\uFF0C\u5F53 layout \u4E3A autoFill\u3001autoFit \u65F6\u751F\u6548\uFF0C\u8BE6\u60C5\u89C1",paraId:12,tocIndex:8},{value:"\u5E03\u5C40\u7ED3\u6784 layout",paraId:13,tocIndex:8},{value:"\u3002",paraId:12,tocIndex:8},{value:"\u8868\u5355\u9879\u4E4B\u95F4\u7684\u884C\u95F4\u8DDD\uFF0C\u8BE6\u60C5\u89C1",paraId:14,tocIndex:9},{value:"\u5E03\u5C40\u7ED3\u6784 layout",paraId:15,tocIndex:9},{value:"\u3002",paraId:14,tocIndex:9},{value:"\u56FD\u9645\u5316\uFF0C\u8BE6\u60C5\u89C1",paraId:16,tocIndex:10},{value:"\u56FD\u9645\u5316 Locale",paraId:17,tocIndex:10},{value:"\u3002",paraId:16,tocIndex:10},{value:"\u6570\u636E\u53D8\u5316\u4E8B\u4EF6\uFF0C\u8BE6\u60C5\u89C1",paraId:18,tocIndex:11},{value:"onChange \u4E8B\u4EF6",paraId:19,tocIndex:11},{value:"\u3002",paraId:18,tocIndex:11},{value:"\u6570\u636E\u53D8\u5316\u4E8B\u4EF6\uFF0C\u8BE6\u60C5\u89C1",paraId:20,tocIndex:12},{value:"onItemChange \u4E8B\u4EF6",paraId:21,tocIndex:12},{value:"\u3002",paraId:20,tocIndex:12},{value:"\u6837\u5F0F\u7C7B\u540D\u524D\u7F00\uFF0C\u9ED8\u8BA4\u4E3A schema-render\u3002",paraId:22,tocIndex:13},{value:"\u662F\u5426\u5168\u5C40\u53EA\u8BFB\u8868\u5355\uFF0C\u8BE6\u60C5\u89C1",paraId:23,tocIndex:14},{value:"\u5168\u5C40\u72B6\u6001\u63A7\u5236",paraId:24,tocIndex:14},{value:"\u3002",paraId:23,tocIndex:14},{value:"\u6CE8\u518C\u6E32\u67D3\u5668\u96C6\u5408\uFF0C\u8BE6\u60C5\u89C1",paraId:25,tocIndex:15},{value:"\u6E32\u67D3\u5668 Renderer",paraId:26,tocIndex:15},{value:"\u3002",paraId:25,tocIndex:15},{value:"Schema \u63CF\u8FF0\u534F\u8BAE\u3002",paraId:27,tocIndex:16},{value:"\u6839\u8282\u70B9\u6837\u5F0F\u3002",paraId:28,tocIndex:17},{value:"\u7528\u6237\u5168\u5C40\u4E0A\u4E0B\u6587\u6570\u636E\u3002",paraId:29,tocIndex:18},{value:"\u5168\u5C40\u6821\u9A8C\u5668\u96C6\u5408\uFF0C\u8BE6\u60C5\u89C1",paraId:30,tocIndex:19},{value:"Global Validators",paraId:31,tocIndex:19},{value:"\u3002",paraId:30,tocIndex:19},{value:"\u8868\u5355\u6570\u636E\u3002",paraId:32,tocIndex:20},{value:"\u76D1\u542C\u6570\u636E\u53D8\u5316\u5904\u7406\u8054\u52A8\u903B\u8F91\uFF0C\u8BE6\u60C5\u89C1",paraId:33,tocIndex:21},{value:"\u6570\u636E\u8054\u52A8 watch \u65B9\u5F0F",paraId:34,tocIndex:21},{value:"\u3002",paraId:33,tocIndex:21}],Do={"examples-form-render-react-700-locale-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_;return a()().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return Y.next=2,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 2:return J=Y.sent,ne=J.default,Y.next=6,e.e(1647).then(e.bind(e,81647));case 6:return oe=Y.sent,X=oe.default,k={renderType:"Root",properties:{username:{title:"username",renderType:"InputText",required:!0},password:{title:"password",renderType:"Password",required:!0}}},_=function(){return r.createElement(ne,{rootStyle:{maxWidth:500},schema:k,locale:X})},Y.abrupt("return",{default:_});case 11:case"end":return Y.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-700-locale-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import FormRender from '@schema-render/form-render-react' import type { IFormRenderRootSchema } from '@schema-render/form-render-react' // \u5F15\u5165\u82F1\u6587\u8BED\u8A00\u5305 @@ -3244,7 +3244,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}}}}},Mr={title:"\u56FD\u9645\u5316 locale",toc:"content",filename:"examples/form-render-react/700-locale.md",lastUpdated:1704082387e3,order:700,description:"FormRender \u9ED8\u8BA4\u6587\u6848\u662F\u4E2D\u6587\uFF0C\u5982\u679C\u9700\u8981\u4F7F\u7528\u5176\u4ED6\u8BED\u8A00\uFF0C\u53EA\u9700\u914D\u7F6E locale \u8986\u76D6\u9ED8\u8BA4\u7684\u8BED\u8A00\uFF0C\u793A\u4F8B\u5982\u4E0B\u3002"},po=[{id:"\u56FD\u9645\u5316-locale",depth:1,title:"\u56FD\u9645\u5316 locale"}],Ia=[{value:"FormRender",paraId:0,tocIndex:0},{value:" \u9ED8\u8BA4\u6587\u6848\u662F\u4E2D\u6587\uFF0C\u5982\u679C\u9700\u8981\u4F7F\u7528\u5176\u4ED6\u8BED\u8A00\uFF0C\u53EA\u9700\u914D\u7F6E ",paraId:0,tocIndex:0},{value:"locale",paraId:0,tocIndex:0},{value:" \u8986\u76D6\u9ED8\u8BA4\u7684\u8BED\u8A00\uFF0C\u793A\u4F8B\u5982\u4E0B\u3002",paraId:0,tocIndex:0},{value:"\u76EE\u524D\u652F\u6301\u4EE5\u4E0B\u8BED\u8A00\uFF1A",paraId:1},{value:"\u8BED\u8A00",paraId:2},{value:"\u6587\u4EF6\u540D",paraId:2},{value:"\u4E2D\u6587",paraId:2},{value:"zh_CN",paraId:2},{value:"\u82F1\u6587",paraId:2},{value:"en_US",paraId:2},{value:"\u5982\u679C\u627E\u4E0D\u5230\u4F60\u9700\u8981\u7684\u8BED\u8A00\u5305\uFF0C\u6B22\u8FCE\u53C2\u8003 ",paraId:3},{value:"\u4E2D\u6587\u8BED\u8A00\u5305",paraId:3},{value:" \u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u8BED\u8A00\u5305\uFF0C\u5E76\u7ED9\u6211\u4EEC\u53D1\u4E00\u4E2A Pull Request\u3002",paraId:3},{value:"\u6216\u8005\u914D\u7F6E\u76F8\u540C\u7684\u8BED\u8A00\u5305\u6570\u636E\u683C\u5F0F\u4F20\u503C\u7ED9 ",paraId:3},{value:"locale",paraId:3},{value:" \u5C5E\u6027\u3002",paraId:3}],ra={"examples-search-table-react-001-intro-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee;return a()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=ce.sent,ne=J.sleep,ce.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=ce.sent,X=oe.default,ce.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=ce.sent,_=k.default,ce.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=ce.sent,Y=te.default,ce.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=ce.sent,D=Ie.default,ee=function(){return r.createElement(D,{search:{schema:X},table:{columns:_},request:function(){var W=c()(a()().mark(function le(q){var xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return console.log("searchParams:",q),Se.next=3,ne();case 3:return xe=Y(q.pageSize),Se.abrupt("return",{data:xe,total:100});case 5:case"end":return Se.stop()}},le)}));function B(le){return W.apply(this,arguments)}return B}()})},ce.abrupt("return",{default:ee});case 22:case"end":return ce.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-001-intro-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' +export default Demo`},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}}}}},Mr={title:"\u56FD\u9645\u5316 locale",toc:"content",filename:"examples/form-render-react/700-locale.md",lastUpdated:1704082387e3,order:700,description:"FormRender \u9ED8\u8BA4\u6587\u6848\u662F\u4E2D\u6587\uFF0C\u5982\u679C\u9700\u8981\u4F7F\u7528\u5176\u4ED6\u8BED\u8A00\uFF0C\u53EA\u9700\u914D\u7F6E locale \u8986\u76D6\u9ED8\u8BA4\u7684\u8BED\u8A00\uFF0C\u793A\u4F8B\u5982\u4E0B\u3002"},po=[{id:"\u56FD\u9645\u5316-locale",depth:1,title:"\u56FD\u9645\u5316 locale"}],Ia=[{value:"FormRender",paraId:0,tocIndex:0},{value:" \u9ED8\u8BA4\u6587\u6848\u662F\u4E2D\u6587\uFF0C\u5982\u679C\u9700\u8981\u4F7F\u7528\u5176\u4ED6\u8BED\u8A00\uFF0C\u53EA\u9700\u914D\u7F6E ",paraId:0,tocIndex:0},{value:"locale",paraId:0,tocIndex:0},{value:" \u8986\u76D6\u9ED8\u8BA4\u7684\u8BED\u8A00\uFF0C\u793A\u4F8B\u5982\u4E0B\u3002",paraId:0,tocIndex:0},{value:"\u76EE\u524D\u652F\u6301\u4EE5\u4E0B\u8BED\u8A00\uFF1A",paraId:1},{value:"\u8BED\u8A00",paraId:2},{value:"\u6587\u4EF6\u540D",paraId:2},{value:"\u4E2D\u6587",paraId:2},{value:"zh_CN",paraId:2},{value:"\u82F1\u6587",paraId:2},{value:"en_US",paraId:2},{value:"\u5982\u679C\u627E\u4E0D\u5230\u4F60\u9700\u8981\u7684\u8BED\u8A00\u5305\uFF0C\u6B22\u8FCE\u53C2\u8003 ",paraId:3},{value:"\u4E2D\u6587\u8BED\u8A00\u5305",paraId:3},{value:" \u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u8BED\u8A00\u5305\uFF0C\u5E76\u7ED9\u6211\u4EEC\u53D1\u4E00\u4E2A Pull Request\u3002",paraId:3},{value:"\u6216\u8005\u914D\u7F6E\u76F8\u540C\u7684\u8BED\u8A00\u5305\u6570\u636E\u683C\u5F0F\u4F20\u503C\u7ED9 ",paraId:3},{value:"locale",paraId:3},{value:" \u5C5E\u6027\u3002",paraId:3}],ra={"examples-search-table-react-001-intro-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee;return a()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=ce.sent,ne=J.sleep,ce.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=ce.sent,X=oe.default,ce.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=ce.sent,_=k.default,ce.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=ce.sent,Y=te.default,ce.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=ce.sent,D=Ie.default,ee=function(){return r.createElement(D,{search:{schema:X},table:{columns:_},request:function(){var W=c()(a()().mark(function le(q){var xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return console.log("searchParams:",q),Se.next=3,ne();case 3:return xe=Y(q.pageSize),Se.abrupt("return",{data:xe,total:100});case 5:case"end":return Se.stop()}},le)}));function B(le){return W.apply(this,arguments)}return B}()})},ce.abrupt("return",{default:ee});case 22:case"end":return ce.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-001-intro-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' import createDataSource from './helpers/createDataSource' @@ -3277,7 +3277,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z}}}},"examples-search-table-react-001-intro-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q,xe,Ae,Se,ke,et,dt,gt,Ut,Mt;return a()().wrap(function(ln){for(;;)switch(ln.prev=ln.next){case 0:return ln.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=ln.sent,ne=J.sleep,ln.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=ln.sent,X=oe.default,ln.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=ln.sent,_=k.default,ln.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=ln.sent,Y=te.default,ln.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=ln.sent,D=Ie.default,ln.next=22,Promise.resolve().then(e.t.bind(e,50959,19));case 22:return ee=ln.sent,V=ee.useState,ce=ee.useRef,ln.next=27,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 27:return L=ln.sent,W=L.ConfigProvider,B=L.message,le=L.Button,q=L.Tag,ln.next=34,e.e(5471).then(e.bind(e,75471));case 34:return xe=ln.sent,Ae=xe.default,ln.next=38,e.e(6754).then(e.bind(e,16754));case 38:return Se=ln.sent,ke=Se.pinyin,et=/[\u4e00-\u9fa5]/,dt=[{key:"1",label:"\u5DF2\u63D0\u4EA4"},{key:"2",label:"\u5F85\u63D0\u4EA4"},{key:"3",label:"\u5F85\u5BA1\u6838"}],gt=_.map(function(un,nn){var or=C()({},un);return nn===0?or.fixed="left":nn===_.length-1&&(or.fixed="right"),or}),Ut=function(nn){return ne()},Mt=function(){var nn=V("1"),or=o()(nn,2),Un=or[0],fa=or[1],Uo=ce(null),oo=function(lo,Ra){return[{text:"\u7F16\u8F91",onClick:function(){B.success("\u70B9\u51FB\u4E86\u7B2C ".concat(Ra," \u4E2A\u7F16\u8F91"))}},{text:"\u8BE6\u60C5",href:"https://schema-render.js.org/",target:"_blank"},{text:"\u5220\u9664",danger:!0,confirmAgain:!0,onClick:function(){var _o=c()(a()().mark(function Gr(){var so;return a()().wrap(function(jo){for(;;)switch(jo.prev=jo.next){case 0:return jo.next=2,Ut(lo.id);case 2:(so=Uo.current)===null||so===void 0||so.refresh();case 3:case"end":return jo.stop()}},Gr)}));function xa(){return _o.apply(this,arguments)}return xa}()}]},To={left:r.createElement(le,{style:{marginRight:16}},"\u81EA\u5B9A\u4E49\u5DE6\u4FA7\u5185\u5BB9"),right:r.createElement(le,null,"\u81EA\u5B9A\u4E49\u53F3\u4FA7\u5185\u5BB9")};return r.createElement(W,{locale:Ae},r.createElement(D,{ref:Uo,search:{schema:X,labelWidth:80},title:{showSetting:!0,tabs:{activeKey:Un,items:dt,onChange:fa,tabBarExtraContent:To}},table:{columns:gt,showRowNumber:!0,actionItems:oo,actionItemsCount:3,actionItemsColumnData:{width:180},sortMode:"local-all",sortStringValueTransform:function(lo){return et.test(lo)?ke(lo,{toneType:"none"}):lo}},request:function(){var Xa=c()(a()().mark(function Ra(_o){var xa,Gr;return a()().wrap(function(Sa){for(;;)switch(Sa.prev=Sa.next){case 0:return Sa.next=2,ne();case 2:return xa=Y(_o.pageSize),Gr=xa.reduce(function(jo,hr){return jo+hr.goods_price},0).toFixed(2),Sa.abrupt("return",{data:xa,total:100,summaryData:{supplier_code:r.createElement(q,{color:"blue"},"\u81EA\u5B9A\u4E49\u5185\u5BB9"),goods_price:Gr}});case 5:case"end":return Sa.stop()}},Ra)}));function lo(Ra){return Xa.apply(this,arguments)}return lo}()}))},ln.abrupt("return",{default:Mt});case 46:case"end":return ln.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-001-intro-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' +export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-001-intro-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q,xe,Ae,Se,ke,et,dt,gt,Ut,Mt;return a()().wrap(function(ln){for(;;)switch(ln.prev=ln.next){case 0:return ln.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=ln.sent,ne=J.sleep,ln.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=ln.sent,X=oe.default,ln.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=ln.sent,_=k.default,ln.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=ln.sent,Y=te.default,ln.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=ln.sent,D=Ie.default,ln.next=22,Promise.resolve().then(e.t.bind(e,50959,19));case 22:return ee=ln.sent,V=ee.useState,ce=ee.useRef,ln.next=27,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 27:return L=ln.sent,W=L.ConfigProvider,B=L.message,le=L.Button,q=L.Tag,ln.next=34,e.e(5471).then(e.bind(e,75471));case 34:return xe=ln.sent,Ae=xe.default,ln.next=38,e.e(6754).then(e.bind(e,16754));case 38:return Se=ln.sent,ke=Se.pinyin,et=/[\u4e00-\u9fa5]/,dt=[{key:"1",label:"\u5DF2\u63D0\u4EA4"},{key:"2",label:"\u5F85\u63D0\u4EA4"},{key:"3",label:"\u5F85\u5BA1\u6838"}],gt=_.map(function(un,nn){var or=C()({},un);return nn===0?or.fixed="left":nn===_.length-1&&(or.fixed="right"),or}),Ut=function(nn){return ne()},Mt=function(){var nn=V("1"),or=o()(nn,2),Un=or[0],fa=or[1],Uo=ce(null),oo=function(lo,Ra){return[{text:"\u7F16\u8F91",onClick:function(){B.success("\u70B9\u51FB\u4E86\u7B2C ".concat(Ra," \u4E2A\u7F16\u8F91"))}},{text:"\u8BE6\u60C5",href:"https://schema-render.js.org/",target:"_blank"},{text:"\u5220\u9664",danger:!0,confirmAgain:!0,onClick:function(){var _o=c()(a()().mark(function Gr(){var so;return a()().wrap(function(jo){for(;;)switch(jo.prev=jo.next){case 0:return jo.next=2,Ut(lo.id);case 2:(so=Uo.current)===null||so===void 0||so.refresh();case 3:case"end":return jo.stop()}},Gr)}));function xa(){return _o.apply(this,arguments)}return xa}()}]},To={left:r.createElement(le,{style:{marginRight:16}},"\u81EA\u5B9A\u4E49\u5DE6\u4FA7\u5185\u5BB9"),right:r.createElement(le,null,"\u81EA\u5B9A\u4E49\u53F3\u4FA7\u5185\u5BB9")};return r.createElement(W,{locale:Ae},r.createElement(D,{ref:Uo,search:{schema:X,labelWidth:80},title:{showSetting:!0,tabs:{activeKey:Un,items:dt,onChange:fa,tabBarExtraContent:To}},table:{columns:gt,showRowNumber:!0,actionItems:oo,actionItemsCount:3,actionItemsColumnData:{width:180},sortMode:"local-all",sortStringValueTransform:function(lo){return et.test(lo)?ke(lo,{toneType:"none"}):lo}},request:function(){var Xa=c()(a()().mark(function Ra(_o){var xa,Gr;return a()().wrap(function(Sa){for(;;)switch(Sa.prev=Sa.next){case 0:return Sa.next=2,ne();case 2:return xa=Y(_o.pageSize),Gr=xa.reduce(function(jo,hr){return jo+hr.goods_price},0).toFixed(2),Sa.abrupt("return",{data:xa,total:100,summaryData:{supplier_code:r.createElement(q,{color:"blue"},"\u81EA\u5B9A\u4E49\u5185\u5BB9"),goods_price:Gr}});case 5:case"end":return Sa.stop()}},Ra)}));function lo(Ra){return Xa.apply(this,arguments)}return lo}()}))},ln.abrupt("return",{default:Mt});case 46:case"end":return ln.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-001-intro-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' import createDataSource from './helpers/createDataSource' @@ -3410,7 +3410,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}}},ua={title:"\u4ECB\u7ECD",toc:"content",filename:"examples/search-table-react/001-intro.md",lastUpdated:1720589953e3,order:1,description:"SearchTable \u662F\u57FA\u4E8E Search + Antd Table \u5C01\u88C5\u7684\u6761\u4EF6\u641C\u7D22\u8868\u683C\u7EC4\u4EF6\uFF1B\u5E38\u7528\u4E8E\u540E\u53F0\u7BA1\u7406\u7CFB\u7EDF\u6570\u636E\u68C0\u7D22\u3001\u663E\u793A\u4E0E\u64CD\u4F5C\u3002"},eo=[{id:"\u4ECB\u7ECD",depth:1,title:"\u4ECB\u7ECD"},{id:"\u5B89\u88C5",depth:2,title:"\u5B89\u88C5"},{id:"\u4F7F\u7528",depth:2,title:"\u4F7F\u7528"},{id:"\u5168\u529F\u80FD\u6982\u89C8",depth:2,title:"\u5168\u529F\u80FD\u6982\u89C8"}],fr=[{value:"SearchTable",paraId:0,tocIndex:0},{value:" \u662F\u57FA\u4E8E Search + Antd Table \u5C01\u88C5\u7684\u6761\u4EF6\u641C\u7D22\u8868\u683C\u7EC4\u4EF6\uFF1B\u5E38\u7528\u4E8E\u540E\u53F0\u7BA1\u7406\u7CFB\u7EDF\u6570\u636E\u68C0\u7D22\u3001\u663E\u793A\u4E0E\u64CD\u4F5C\u3002",paraId:0,tocIndex:0},{value:"\u4E3B\u8981\u7279\u6027\u6709\uFF1A",paraId:1,tocIndex:0},{value:"\u9ED8\u8BA4\u7B80\u5355\u3001\u5F00\u7BB1\u5373\u7528",paraId:2,tocIndex:0},{value:"\u9ED8\u8BA4\u7A7A\u6570\u636E\u5360\u4F4D\u7B26\u5904\u7406",paraId:2,tocIndex:0},{value:"\u9ED8\u8BA4\u5217\u5BBD\u5EA6\u5904\u7406",paraId:2,tocIndex:0},{value:"\u652F\u6301\u8868\u683C\u9AD8\u5EA6\u81EA\u9002\u5E94\uFF08\u4E00\u5C4F\u5C55\u793A\uFF09",paraId:2,tocIndex:0},{value:"\u652F\u6301\u81EA\u52A8\u6DFB\u52A0\u5E8F\u53F7",paraId:2,tocIndex:0},{value:"\u652F\u6301\u914D\u7F6E\u5F0F\u64CD\u4F5C\u680F",paraId:2,tocIndex:0},{value:"\u652F\u6301\u524D\u7AEF\u6392\u5E8F\uFF1A\u6309\u62FC\u97F3\u3001\u6570\u5B57\u3001\u65E5\u671F\u683C\u5F0F\u6392\u5E8F",paraId:2,tocIndex:0},{value:"\u652F\u6301\u201C\u5408\u8BA1\u680F\u201D\uFF0C\u901A\u8FC7\u6570\u636E\u81EA\u52A8\u5339\u914D",paraId:2,tocIndex:0},{value:"\u652F\u6301\u8868\u683C\u5217\u9690\u85CF\u663E\u793A\u3001\u6392\u5E8F\u3001\u5BBD\u5EA6\u8BBE\u7F6E",paraId:2,tocIndex:0},{value:"[WIP]\u652F\u6301\u8868\u683C\u5217\u914D\u7F6E\u6301\u4E45\u5316\u5B58\u50A8\u4E0E\u5408\u5E76\u7B97\u6CD5",paraId:2,tocIndex:0},{value:"[WIP]\u652F\u6301\u672C\u5730\u641C\u7D22\uFF08\u7CBE\u51C6\u67E5\u8BE2\u3001\u6A21\u7CCA\u67E5\u8BE2\uFF09",paraId:2,tocIndex:0},{value:`npm install @schema-render/search-table-react --save +export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}}},ua={title:"\u4ECB\u7ECD",toc:"content",filename:"examples/search-table-react/001-intro.md",lastUpdated:1720589953e3,order:1,description:"SearchTable \u662F\u57FA\u4E8E Search + Antd Table \u5C01\u88C5\u7684\u6761\u4EF6\u641C\u7D22\u8868\u683C\u7EC4\u4EF6\uFF1B\u5E38\u7528\u4E8E\u540E\u53F0\u7BA1\u7406\u7CFB\u7EDF\u6570\u636E\u68C0\u7D22\u3001\u663E\u793A\u4E0E\u64CD\u4F5C\u3002"},eo=[{id:"\u4ECB\u7ECD",depth:1,title:"\u4ECB\u7ECD"},{id:"\u5B89\u88C5",depth:2,title:"\u5B89\u88C5"},{id:"\u4F7F\u7528",depth:2,title:"\u4F7F\u7528"},{id:"\u5168\u529F\u80FD\u6982\u89C8",depth:2,title:"\u5168\u529F\u80FD\u6982\u89C8"}],fr=[{value:"SearchTable",paraId:0,tocIndex:0},{value:" \u662F\u57FA\u4E8E Search + Antd Table \u5C01\u88C5\u7684\u6761\u4EF6\u641C\u7D22\u8868\u683C\u7EC4\u4EF6\uFF1B\u5E38\u7528\u4E8E\u540E\u53F0\u7BA1\u7406\u7CFB\u7EDF\u6570\u636E\u68C0\u7D22\u3001\u663E\u793A\u4E0E\u64CD\u4F5C\u3002",paraId:0,tocIndex:0},{value:"\u4E3B\u8981\u7279\u6027\u6709\uFF1A",paraId:1,tocIndex:0},{value:"\u9ED8\u8BA4\u7B80\u5355\u3001\u5F00\u7BB1\u5373\u7528",paraId:2,tocIndex:0},{value:"\u9ED8\u8BA4\u7A7A\u6570\u636E\u5360\u4F4D\u7B26\u5904\u7406",paraId:2,tocIndex:0},{value:"\u9ED8\u8BA4\u5217\u5BBD\u5EA6\u5904\u7406",paraId:2,tocIndex:0},{value:"\u652F\u6301\u8868\u683C\u9AD8\u5EA6\u81EA\u9002\u5E94\uFF08\u4E00\u5C4F\u5C55\u793A\uFF09",paraId:2,tocIndex:0},{value:"\u652F\u6301\u81EA\u52A8\u6DFB\u52A0\u5E8F\u53F7",paraId:2,tocIndex:0},{value:"\u652F\u6301\u914D\u7F6E\u5F0F\u64CD\u4F5C\u680F",paraId:2,tocIndex:0},{value:"\u652F\u6301\u524D\u7AEF\u6392\u5E8F\uFF1A\u6309\u62FC\u97F3\u3001\u6570\u5B57\u3001\u65E5\u671F\u683C\u5F0F\u6392\u5E8F",paraId:2,tocIndex:0},{value:"\u652F\u6301\u201C\u5408\u8BA1\u680F\u201D\uFF0C\u901A\u8FC7\u6570\u636E\u81EA\u52A8\u5339\u914D",paraId:2,tocIndex:0},{value:"\u652F\u6301\u8868\u683C\u5217\u9690\u85CF\u663E\u793A\u3001\u6392\u5E8F\u3001\u5BBD\u5EA6\u8BBE\u7F6E",paraId:2,tocIndex:0},{value:"[WIP]\u652F\u6301\u8868\u683C\u5217\u914D\u7F6E\u6301\u4E45\u5316\u5B58\u50A8\u4E0E\u5408\u5E76\u7B97\u6CD5",paraId:2,tocIndex:0},{value:"[WIP]\u652F\u6301\u672C\u5730\u641C\u7D22\uFF08\u7CBE\u51C6\u67E5\u8BE2\u3001\u6A21\u7CCA\u67E5\u8BE2\uFF09",paraId:2,tocIndex:0},{value:`npm install @schema-render/search-table-react --save `,paraId:3,tocIndex:1},{value:"\u5982\u679C\u6CA1\u6709\u5B89\u88C5 antd\uFF0C\u8FD8\u9700\u5B89\u88C5\u5B83",paraId:4,tocIndex:1},{value:`npm install antd --save `,paraId:5,tocIndex:1},{value:"\u57FA\u672C\u7528\u6CD5\uFF0C\u53EA\u9700\u8981\u914D\u7F6E\u4E09\u4E2A\u5C5E\u6027",paraId:6,tocIndex:2},{value:"schema",paraId:7,tocIndex:2},{value:": \u641C\u7D22\u7684\u6761\u4EF6\uFF0C\u8BE6\u89E3 ",paraId:7,tocIndex:2},{value:"Search",paraId:8,tocIndex:2},{value:" \u7EC4\u4EF6\u3002",paraId:7,tocIndex:2},{value:"columns",paraId:7,tocIndex:2},{value:": \u8868\u683C\u5217\u5C5E\u6027\uFF0C\u9664 ",paraId:7,tocIndex:2},{value:"Antd Table columns",paraId:7,tocIndex:2},{value:` \u5C5E\u6027\u5916\uFF0C\u6269\u5C55\u7684\u5C5E\u6027\u89C1 API Reference\u3002 `,paraId:7,tocIndex:2},{value:"\u6CE8\uFF1A",paraId:9,tocIndex:2},{value:"dataIndex",paraId:9,tocIndex:2},{value:" \u5B57\u6BB5\u9700\u4FDD\u6301\u552F\u4E00\u6027\uFF0C",paraId:9,tocIndex:2},{value:"key",paraId:9,tocIndex:2},{value:" \u5B57\u6BB5\u53EF\u7701\u7565\u3002",paraId:9,tocIndex:2},{value:"request",paraId:7,tocIndex:2},{value:`: \u8BF7\u6C42\u6570\u636E\u7684\u51FD\u6570\uFF0C\u7528\u6765\u8BF7\u6C42\u540E\u7AEF\u6570\u636E\u63A5\u53E3\uFF0C\u5E76\u6309\u683C\u5F0F\u8FD4\u56DE\u3002 @@ -3457,7 +3457,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-200-change-event-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useState,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 18:return Ie=L.sent,D=Ie.default,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"TextArea"}}},V=function(){var B=ne({}),le=o()(B,2),q=le[0],xe=le[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ee,itemLayout:D,renderers:Y,onChange:function(Se,ke){return xe(ke)}}),r.createElement(_,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-200-change-event-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-200-change-event-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useState,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 18:return Ie=L.sent,D=Ie.default,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"TextArea"}}},V=function(){var B=ne({}),le=o()(B,2),q=le[0],xe=le[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ee,itemLayout:D,renderers:Y,onChange:function(Se,ke){return xe(ke)}}),r.createElement(_,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-200-change-event-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import Core from '@schema-render/core-react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import renderers from './renderers/common' @@ -3496,7 +3496,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-200-change-event-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useState,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 18:return Ie=L.sent,D=Ie.default,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"TextArea"}}},V=function(){var B=ne({}),le=o()(B,2),q=le[0],xe=le[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ee,itemLayout:D,renderers:Y,onItemChange:function(Se){return xe(Se)}}),r.createElement(_,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-200-change-event-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-200-change-event-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useState,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 18:return Ie=L.sent,D=Ie.default,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"TextArea"}}},V=function(){var B=ne({}),le=o()(B,2),q=le[0],xe=le[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ee,itemLayout:D,renderers:Y,onItemChange:function(Se){return xe(Se)}}),r.createElement(_,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-200-change-event-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import Core from '@schema-render/core-react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import renderers from './renderers/common' @@ -3535,7 +3535,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-200-change-event-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B;return a()().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=q.sent,ne=J.useState,q.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=q.sent,X=oe.Input,q.next=10,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 10:return k=q.sent,_=k.default,q.next=14,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 14:return te=q.sent,Y=te.default,q.next=18,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 18:return Ie=q.sent,D=Ie.default,q.next=22,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 22:return ee=q.sent,V=ee.default,ce={component:function(Ae){var Se,ke=Ae.schema,et=Ae.value,dt=Ae.disabled,gt=Ae.onChange;return r.createElement(X,C()(C()({placeholder:"\u8BF7\u8F93\u5165".concat((Se=ke.title)!==null&&Se!==void 0?Se:"")},ke.renderOptions),{},{value:et,disabled:dt,onChange:function(Mt){gt(Mt.target.value,{extra:Math.random()})}}))}},L=C()({InputTextWithExtra:ce},D),W={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputTextWithExtra"},content:{title:"\u5185\u5BB9",renderType:"TextArea"}}},B=function(){var Ae=ne({}),Se=o()(Ae,2),ke=Se[0],et=Se[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{schema:W,itemLayout:V,renderers:L,onItemChange:function(gt){return et(gt)}}),r.createElement(Y,{value:ke}))},q.abrupt("return",{default:B});case 29:case"end":return q.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-200-change-event-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-200-change-event-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B;return a()().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=q.sent,ne=J.useState,q.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=q.sent,X=oe.Input,q.next=10,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 10:return k=q.sent,_=k.default,q.next=14,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 14:return te=q.sent,Y=te.default,q.next=18,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 18:return Ie=q.sent,D=Ie.default,q.next=22,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 22:return ee=q.sent,V=ee.default,ce={component:function(Ae){var Se,ke=Ae.schema,et=Ae.value,dt=Ae.disabled,gt=Ae.onChange;return r.createElement(X,C()(C()({placeholder:"\u8BF7\u8F93\u5165".concat((Se=ke.title)!==null&&Se!==void 0?Se:"")},ke.renderOptions),{},{value:et,disabled:dt,onChange:function(Mt){gt(Mt.target.value,{extra:Math.random()})}}))}},L=C()({InputTextWithExtra:ce},D),W={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputTextWithExtra"},content:{title:"\u5185\u5BB9",renderType:"TextArea"}}},B=function(){var Ae=ne({}),Se=o()(Ae,2),ke=Se[0],et=Se[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{schema:W,itemLayout:V,renderers:L,onItemChange:function(gt){return et(gt)}}),r.createElement(Y,{value:ke}))},q.abrupt("return",{default:B});case 29:case"end":return q.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-200-change-event-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import { Input } from 'antd' import Core, { IRenderer } from '@schema-render/core-react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' @@ -3598,7 +3598,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}}},to={title:"\u6570\u636E\u4E8B\u4EF6 ChangeEvent",toc:"content",filename:"examples/core-react/200-change-event.md",lastUpdated:1704082387e3,group:{title:"\u529F\u80FD\u8BE6\u89E3",order:200},description:"\u5F53\u8868\u5355\u9879\u6570\u636E\u53D8\u5316\u65F6\uFF0C\u4F1A\u89E6\u53D1 onChange \u4E8B\u4EF6\uFF0C\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E3A\u8868\u5355\u5168\u91CF\u6570\u636E\u3002"},No=[{id:"\u6570\u636E\u4E8B\u4EF6-changeevent",depth:1,title:"\u6570\u636E\u4E8B\u4EF6 ChangeEvent"},{id:"onchange-\u4E8B\u4EF6",depth:2,title:"onChange \u4E8B\u4EF6"},{id:"onitemchange-\u4E8B\u4EF6",depth:2,title:"onItemChange \u4E8B\u4EF6"},{id:"extra-\u989D\u5916\u4FE1\u606F",depth:2,title:"Extra \u989D\u5916\u4FE1\u606F"}],Fa=[{value:"\u5F53\u8868\u5355\u9879\u6570\u636E\u53D8\u5316\u65F6\uFF0C\u4F1A\u89E6\u53D1 ",paraId:0,tocIndex:1},{value:"onChange",paraId:0,tocIndex:1},{value:" \u4E8B\u4EF6\uFF0C\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E3A\u8868\u5355\u5168\u91CF\u6570\u636E\u3002",paraId:0,tocIndex:1},{value:"onChange",paraId:1},{value:" \u7B2C\u4E8C\u4E2A\u53C2\u6570\u662F\u89E6\u53D1\u4E8B\u4EF6\u7684\u5143\u4FE1\u606F\uFF0C\u5305\u542B\u5982\u4E0B\u6570\u636E\uFF1A",paraId:1},{value:"path",paraId:2},{value:": \u89E6\u53D1\u4E8B\u4EF6\u7684\u8868\u5355\u9879\u7684\u5B8C\u6574\u8DEF\u5F84\uFF0C",paraId:2},{value:"array",paraId:2},{value:" \u683C\u5F0F\u3002",paraId:2},{value:"sPath",paraId:2},{value:": \u5B8C\u6574\u8DEF\u5F84\u7684\u5B57\u7B26\u4E32\u5316\u8868\u793A\uFF0C",paraId:2},{value:"string",paraId:2},{value:" \u683C\u5F0F\u3002",paraId:2},{value:"value",paraId:2},{value:": \u89E6\u53D1\u4E8B\u4EF6\u56DE\u8C03\u7684\u6570\u636E\u503C\u3002",paraId:2},{value:"extra",paraId:2},{value:": \u643A\u5E26\u7684\u989D\u5916\u4FE1\u606F\uFF0C\u4EFB\u610F\u6570\u636E\u683C\u5F0F\u3002",paraId:2},{value:"onItemChange",paraId:3,tocIndex:2},{value:" \u4E0E ",paraId:3,tocIndex:2},{value:"onChange",paraId:3,tocIndex:2},{value:" \u8C03\u7528\u65F6\u673A\u4E00\u81F4\uFF0C\u53EA\u662F ",paraId:3,tocIndex:2},{value:"onItemChange",paraId:3,tocIndex:2},{value:" \u4EC5\u5305\u542B\u89E6\u53D1\u4E8B\u4EF6\u7684\u5143\u4FE1\u606F\u3002",paraId:3,tocIndex:2},{value:"\u9002\u7528\u4E8E\u4E0D\u9700\u8981\u63A5\u7BA1\u6574\u4E2A\u8868\u5355\u6570\u636E\uFF08value\uFF09\uFF0C\u53C8\u9700\u8981\u76D1\u542C\u67D0\u4E2A\u8868\u5355\u9879\u53D8\u5316\u800C\u540E\u5904\u7406\u4E00\u4E9B\u4E8B\u60C5\u7684\u573A\u666F\u3002",paraId:4,tocIndex:2},{value:"\u989D\u5916\u4FE1\u606F\u662F\u6E32\u67D3\u5668\u5728\u53D1\u751F ",paraId:5,tocIndex:3},{value:"change",paraId:5,tocIndex:3},{value:" \u4E8B\u4EF6\u65F6\u544A\u77E5\u7ED9\u5916\u9762\u7684\u6570\u636E\uFF0C\u53EF\u7528\u4E8E\u5904\u7406\u7279\u6B8A\u573A\u666F\u7684\u9700\u6C42\u3002",paraId:5,tocIndex:3}],vo={"examples-core-react-951-controllable-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=L.sent,ne=J.default,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.resolve().then(e.t.bind(e,50959,19));case 18:return Ie=L.sent,D=Ie.useState,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},V=function(){var B=D({}),le=o()(B,2),q=le[0],xe=le[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ee,itemLayout:_,renderers:Y,value:q,onChange:function(Se){return xe(Se)}}),r.createElement(ne,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-951-controllable-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}}},to={title:"\u6570\u636E\u4E8B\u4EF6 ChangeEvent",toc:"content",filename:"examples/core-react/200-change-event.md",lastUpdated:1704082387e3,group:{title:"\u529F\u80FD\u8BE6\u89E3",order:200},description:"\u5F53\u8868\u5355\u9879\u6570\u636E\u53D8\u5316\u65F6\uFF0C\u4F1A\u89E6\u53D1 onChange \u4E8B\u4EF6\uFF0C\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E3A\u8868\u5355\u5168\u91CF\u6570\u636E\u3002"},No=[{id:"\u6570\u636E\u4E8B\u4EF6-changeevent",depth:1,title:"\u6570\u636E\u4E8B\u4EF6 ChangeEvent"},{id:"onchange-\u4E8B\u4EF6",depth:2,title:"onChange \u4E8B\u4EF6"},{id:"onitemchange-\u4E8B\u4EF6",depth:2,title:"onItemChange \u4E8B\u4EF6"},{id:"extra-\u989D\u5916\u4FE1\u606F",depth:2,title:"Extra \u989D\u5916\u4FE1\u606F"}],Fa=[{value:"\u5F53\u8868\u5355\u9879\u6570\u636E\u53D8\u5316\u65F6\uFF0C\u4F1A\u89E6\u53D1 ",paraId:0,tocIndex:1},{value:"onChange",paraId:0,tocIndex:1},{value:" \u4E8B\u4EF6\uFF0C\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E3A\u8868\u5355\u5168\u91CF\u6570\u636E\u3002",paraId:0,tocIndex:1},{value:"onChange",paraId:1},{value:" \u7B2C\u4E8C\u4E2A\u53C2\u6570\u662F\u89E6\u53D1\u4E8B\u4EF6\u7684\u5143\u4FE1\u606F\uFF0C\u5305\u542B\u5982\u4E0B\u6570\u636E\uFF1A",paraId:1},{value:"path",paraId:2},{value:": \u89E6\u53D1\u4E8B\u4EF6\u7684\u8868\u5355\u9879\u7684\u5B8C\u6574\u8DEF\u5F84\uFF0C",paraId:2},{value:"array",paraId:2},{value:" \u683C\u5F0F\u3002",paraId:2},{value:"sPath",paraId:2},{value:": \u5B8C\u6574\u8DEF\u5F84\u7684\u5B57\u7B26\u4E32\u5316\u8868\u793A\uFF0C",paraId:2},{value:"string",paraId:2},{value:" \u683C\u5F0F\u3002",paraId:2},{value:"value",paraId:2},{value:": \u89E6\u53D1\u4E8B\u4EF6\u56DE\u8C03\u7684\u6570\u636E\u503C\u3002",paraId:2},{value:"extra",paraId:2},{value:": \u643A\u5E26\u7684\u989D\u5916\u4FE1\u606F\uFF0C\u4EFB\u610F\u6570\u636E\u683C\u5F0F\u3002",paraId:2},{value:"onItemChange",paraId:3,tocIndex:2},{value:" \u4E0E ",paraId:3,tocIndex:2},{value:"onChange",paraId:3,tocIndex:2},{value:" \u8C03\u7528\u65F6\u673A\u4E00\u81F4\uFF0C\u53EA\u662F ",paraId:3,tocIndex:2},{value:"onItemChange",paraId:3,tocIndex:2},{value:" \u4EC5\u5305\u542B\u89E6\u53D1\u4E8B\u4EF6\u7684\u5143\u4FE1\u606F\u3002",paraId:3,tocIndex:2},{value:"\u9002\u7528\u4E8E\u4E0D\u9700\u8981\u63A5\u7BA1\u6574\u4E2A\u8868\u5355\u6570\u636E\uFF08value\uFF09\uFF0C\u53C8\u9700\u8981\u76D1\u542C\u67D0\u4E2A\u8868\u5355\u9879\u53D8\u5316\u800C\u540E\u5904\u7406\u4E00\u4E9B\u4E8B\u60C5\u7684\u573A\u666F\u3002",paraId:4,tocIndex:2},{value:"\u989D\u5916\u4FE1\u606F\u662F\u6E32\u67D3\u5668\u5728\u53D1\u751F ",paraId:5,tocIndex:3},{value:"change",paraId:5,tocIndex:3},{value:" \u4E8B\u4EF6\u65F6\u544A\u77E5\u7ED9\u5916\u9762\u7684\u6570\u636E\uFF0C\u53EF\u7528\u4E8E\u5904\u7406\u7279\u6B8A\u573A\u666F\u7684\u9700\u6C42\u3002",paraId:5,tocIndex:3}],vo={"examples-core-react-951-controllable-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=L.sent,ne=J.default,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.resolve().then(e.t.bind(e,50959,19));case 18:return Ie=L.sent,D=Ie.useState,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},V=function(){var B=D({}),le=o()(B,2),q=le[0],xe=le[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ee,itemLayout:_,renderers:Y,value:q,onChange:function(Se){return xe(Se)}}),r.createElement(ne,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-951-controllable-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import Core from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -3636,7 +3636,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},react:{type:"NPM",value:"18.2.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-951-controllable-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=L.sent,ne=J.default,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.resolve().then(e.t.bind(e,50959,19));case 18:return Ie=L.sent,D=Ie.useState,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},V=function(){var B=D({title:"\u6211\u662F\u56FA\u5B9A\u7684\u6807\u9898"}),le=o()(B,1),q=le[0];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ee,itemLayout:_,renderers:Y,value:q}),r.createElement(ne,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-951-controllable-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' +export default Demo`},root:{type:"NPM"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},react:{type:"NPM",value:"18.2.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-951-controllable-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=L.sent,ne=J.default,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.resolve().then(e.t.bind(e,50959,19));case 18:return Ie=L.sent,D=Ie.useState,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},V=function(){var B=D({title:"\u6211\u662F\u56FA\u5B9A\u7684\u6807\u9898"}),le=o()(B,1),q=le[0];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ee,itemLayout:_,renderers:Y,value:q}),r.createElement(ne,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-951-controllable-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import Core from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -3670,7 +3670,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},react:{type:"NPM",value:"18.2.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-951-controllable-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=L.sent,ne=J.default,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.resolve().then(e.t.bind(e,50959,19));case 18:return Ie=L.sent,D=Ie.useState,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},V=function(){var B=D({title:"\u6211\u662F\u56FA\u5B9A\u7684\u6807\u9898"}),le=o()(B,1),q=le[0],xe=D(1),Ae=o()(xe,2),Se=Ae[0],ke=Ae[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ee,itemLayout:_,renderers:Y,value:q,onChange:function(){ke(function(dt){return dt+1})}}),r.createElement(ne,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-951-controllable-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' +export default Demo`},root:{type:"NPM"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},react:{type:"NPM",value:"18.2.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-951-controllable-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=L.sent,ne=J.default,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.resolve().then(e.t.bind(e,50959,19));case 18:return Ie=L.sent,D=Ie.useState,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},V=function(){var B=D({title:"\u6211\u662F\u56FA\u5B9A\u7684\u6807\u9898"}),le=o()(B,1),q=le[0],xe=D(1),Ae=o()(xe,2),Se=Ae[0],ke=Ae[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ee,itemLayout:_,renderers:Y,value:q,onChange:function(){ke(function(dt){return dt+1})}}),r.createElement(ne,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-951-controllable-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import Core from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -3715,7 +3715,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},react:{type:"NPM",value:"18.2.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-951-controllable-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},Y=function(){return r.createElement(ne,{schema:te,itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-951-controllable-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},root:{type:"NPM"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},react:{type:"NPM",value:"18.2.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-951-controllable-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},Y=function(){return r.createElement(ne,{schema:te,itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-951-controllable-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -3737,7 +3737,7 @@ const Demo = () => { return } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-951-controllable-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=L.sent,ne=J.default,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.resolve().then(e.t.bind(e,50959,19));case 18:return Ie=L.sent,D=Ie.useState,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},V=function(){var B=D({}),le=o()(B,2),q=le[0],xe=le[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ee,itemLayout:_,renderers:Y,onChange:function(Se){return xe(Se)}}),r.createElement(ne,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-951-controllable-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-951-controllable-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=L.sent,ne=J.default,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.resolve().then(e.t.bind(e,50959,19));case 18:return Ie=L.sent,D=Ie.useState,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},V=function(){var B=D({}),le=o()(B,2),q=le[0],xe=le[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ee,itemLayout:_,renderers:Y,onChange:function(Se){return xe(Se)}}),r.createElement(ne,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-951-controllable-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import Core from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -3774,7 +3774,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},react:{type:"NPM",value:"18.2.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Ka={title:"\u53D7\u63A7\u4E0E\u975E\u53D7\u63A7\u652F\u6301",toc:"content",filename:"examples/core-react/951-controllable.md",lastUpdated:1704082387e3,group:{title:"\u4EC5\u5F00\u53D1\u8C03\u8BD5"},debug:!0,description:"\u6709 value\uFF0C\u6709 onChange \u573A\u666F"},ca=[{id:"\u53D7\u63A7\u4E0E\u975E\u53D7\u63A7\u652F\u6301",depth:1,title:"\u53D7\u63A7\u4E0E\u975E\u53D7\u63A7\u652F\u6301"},{id:"\u53D7\u63A7\u6A21\u5F0Fcontrolled",depth:2,title:"\u53D7\u63A7\u6A21\u5F0F\uFF08controlled\uFF09"},{id:"\u53D7\u63A7\u6A21\u5F0F---\u4EC5\u6709-value",depth:2,title:"\u53D7\u63A7\u6A21\u5F0F - \u4EC5\u6709 value"},{id:"\u53D7\u63A7\u6A21\u5F0F---onchange-\u4E0D\u66F4\u65B0\u503C",depth:2,title:"\u53D7\u63A7\u6A21\u5F0F - onChange \u4E0D\u66F4\u65B0\u503C"},{id:"\u975E\u53D7\u63A7\u6A21\u5F0Funcontrolled",depth:2,title:"\u975E\u53D7\u63A7\u6A21\u5F0F\uFF08uncontrolled\uFF09"},{id:"\u975E\u53D7\u63A7\u6A21\u5F0F---\u4EC5\u6709-onchange",depth:2,title:"\u975E\u53D7\u63A7\u6A21\u5F0F - \u4EC5\u6709 onChange"}],Ho=[{value:"\u6709 ",paraId:0,tocIndex:1},{value:"value",paraId:0,tocIndex:1},{value:"\uFF0C\u6709 ",paraId:0,tocIndex:1},{value:"onChange",paraId:0,tocIndex:1},{value:" \u573A\u666F",paraId:0,tocIndex:1},{value:"\u6709 ",paraId:1,tocIndex:2},{value:"value",paraId:1,tocIndex:2},{value:"\uFF0C\u65E0 ",paraId:1,tocIndex:2},{value:"onChange",paraId:1,tocIndex:2},{value:" \u573A\u666F",paraId:1,tocIndex:2},{value:"\u6709 ",paraId:2,tocIndex:3},{value:"value",paraId:2,tocIndex:3},{value:"\uFF0C\u6709 ",paraId:2,tocIndex:3},{value:"onChange",paraId:2,tocIndex:3},{value:"\uFF0C\u4F46 ",paraId:2,tocIndex:3},{value:"onChange",paraId:2,tocIndex:3},{value:" \u4E0D\u66F4\u65B0\u503C\uFF0C\u975E\u6B63\u5E38\u573A\u666F",paraId:2,tocIndex:3},{value:"\u65E0 ",paraId:3,tocIndex:4},{value:"value",paraId:3,tocIndex:4},{value:"\uFF0C\u65E0 ",paraId:3,tocIndex:4},{value:"onChange",paraId:3,tocIndex:4},{value:" \u573A\u666F",paraId:3,tocIndex:4},{value:"\u65E0 ",paraId:4,tocIndex:5},{value:"value",paraId:4,tocIndex:5},{value:"\uFF0C\u6709 ",paraId:4,tocIndex:5},{value:"onChange",paraId:4,tocIndex:5},{value:" \u573A\u666F",paraId:4,tocIndex:5}],Yr={"examples-form-render-react-001-intro-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=V.sent,ne=J.default,V.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return oe=V.sent,X=oe.useState,V.next=10,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 10:return k=V.sent,_=k.message,V.next=14,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 14:return te=V.sent,Y=te.default,Ie={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",description:"\u7528\u6237\u540D\u6700\u591A20\u4E2A\u5B57\u7B26",renderOptions:{maxLength:20},required:!0},password:{title:"\u5BC6\u7801",description:"\u8BF7\u8F93\u51656~10\u4E2A\u5B57\u7B26\uFF0C\u53EA\u80FD\u8F93\u5165\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57",renderType:"Password",renderOptions:{minLength:6,maxLength:20},required:!0,rules:[{min:6,message:"\u8BF7\u8F93\u5165\u81F3\u5C11 6 \u4E2A\u5B57\u7B26"},{max:20,message:"\u6700\u591A\u53EA\u80FD 20 \u4E2A\u5B57\u7B26"},{pattern:"^[A-Za-z0-9]+$",message:"\u53EA\u80FD\u8F93\u5165\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57"}]}}},D=function(){var L=X({}),W=o()(L,2),B=W[0],le=W[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(Y,{schema:Ie,value:B,onChange:le,onSubmit:function(){_.success("\u63D0\u4EA4\u6210\u529F")}}),r.createElement(ne,{value:B}))},V.abrupt("return",{default:D});case 19:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-001-intro-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' +export default Demo`},root:{type:"NPM"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},react:{type:"NPM",value:"18.2.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Ka={title:"\u53D7\u63A7\u4E0E\u975E\u53D7\u63A7\u652F\u6301",toc:"content",filename:"examples/core-react/951-controllable.md",lastUpdated:1704082387e3,group:{title:"\u4EC5\u5F00\u53D1\u8C03\u8BD5"},debug:!0,description:"\u6709 value\uFF0C\u6709 onChange \u573A\u666F"},ca=[{id:"\u53D7\u63A7\u4E0E\u975E\u53D7\u63A7\u652F\u6301",depth:1,title:"\u53D7\u63A7\u4E0E\u975E\u53D7\u63A7\u652F\u6301"},{id:"\u53D7\u63A7\u6A21\u5F0Fcontrolled",depth:2,title:"\u53D7\u63A7\u6A21\u5F0F\uFF08controlled\uFF09"},{id:"\u53D7\u63A7\u6A21\u5F0F---\u4EC5\u6709-value",depth:2,title:"\u53D7\u63A7\u6A21\u5F0F - \u4EC5\u6709 value"},{id:"\u53D7\u63A7\u6A21\u5F0F---onchange-\u4E0D\u66F4\u65B0\u503C",depth:2,title:"\u53D7\u63A7\u6A21\u5F0F - onChange \u4E0D\u66F4\u65B0\u503C"},{id:"\u975E\u53D7\u63A7\u6A21\u5F0Funcontrolled",depth:2,title:"\u975E\u53D7\u63A7\u6A21\u5F0F\uFF08uncontrolled\uFF09"},{id:"\u975E\u53D7\u63A7\u6A21\u5F0F---\u4EC5\u6709-onchange",depth:2,title:"\u975E\u53D7\u63A7\u6A21\u5F0F - \u4EC5\u6709 onChange"}],Ho=[{value:"\u6709 ",paraId:0,tocIndex:1},{value:"value",paraId:0,tocIndex:1},{value:"\uFF0C\u6709 ",paraId:0,tocIndex:1},{value:"onChange",paraId:0,tocIndex:1},{value:" \u573A\u666F",paraId:0,tocIndex:1},{value:"\u6709 ",paraId:1,tocIndex:2},{value:"value",paraId:1,tocIndex:2},{value:"\uFF0C\u65E0 ",paraId:1,tocIndex:2},{value:"onChange",paraId:1,tocIndex:2},{value:" \u573A\u666F",paraId:1,tocIndex:2},{value:"\u6709 ",paraId:2,tocIndex:3},{value:"value",paraId:2,tocIndex:3},{value:"\uFF0C\u6709 ",paraId:2,tocIndex:3},{value:"onChange",paraId:2,tocIndex:3},{value:"\uFF0C\u4F46 ",paraId:2,tocIndex:3},{value:"onChange",paraId:2,tocIndex:3},{value:" \u4E0D\u66F4\u65B0\u503C\uFF0C\u975E\u6B63\u5E38\u573A\u666F",paraId:2,tocIndex:3},{value:"\u65E0 ",paraId:3,tocIndex:4},{value:"value",paraId:3,tocIndex:4},{value:"\uFF0C\u65E0 ",paraId:3,tocIndex:4},{value:"onChange",paraId:3,tocIndex:4},{value:" \u573A\u666F",paraId:3,tocIndex:4},{value:"\u65E0 ",paraId:4,tocIndex:5},{value:"value",paraId:4,tocIndex:5},{value:"\uFF0C\u6709 ",paraId:4,tocIndex:5},{value:"onChange",paraId:4,tocIndex:5},{value:" \u573A\u666F",paraId:4,tocIndex:5}],Yr={"examples-form-render-react-001-intro-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=V.sent,ne=J.default,V.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return oe=V.sent,X=oe.useState,V.next=10,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 10:return k=V.sent,_=k.message,V.next=14,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 14:return te=V.sent,Y=te.default,Ie={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",description:"\u7528\u6237\u540D\u6700\u591A20\u4E2A\u5B57\u7B26",renderOptions:{maxLength:20},required:!0},password:{title:"\u5BC6\u7801",description:"\u8BF7\u8F93\u51656~10\u4E2A\u5B57\u7B26\uFF0C\u53EA\u80FD\u8F93\u5165\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57",renderType:"Password",renderOptions:{minLength:6,maxLength:20},required:!0,rules:[{min:6,message:"\u8BF7\u8F93\u5165\u81F3\u5C11 6 \u4E2A\u5B57\u7B26"},{max:20,message:"\u6700\u591A\u53EA\u80FD 20 \u4E2A\u5B57\u7B26"},{pattern:"^[A-Za-z0-9]+$",message:"\u53EA\u80FD\u8F93\u5165\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57"}]}}},D=function(){var L=X({}),W=o()(L,2),B=W[0],le=W[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(Y,{schema:Ie,value:B,onChange:le,onSubmit:function(){_.success("\u63D0\u4EA4\u6210\u529F")}}),r.createElement(ne,{value:B}))},V.abrupt("return",{default:D});case 19:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-001-intro-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import { useState } from 'react' import { message } from 'antd' @@ -3831,7 +3831,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}}}}},no={title:"\u4ECB\u7ECD",toc:"content",filename:"examples/form-render-react/001-intro.md",lastUpdated:1706161766e3,order:1,description:"FormRender \u662F\u57FA\u4E8E Core + Antd \u5C01\u88C5\u7684\u8868\u5355\u6E32\u67D3\u5E93\uFF0C\u5185\u7F6E\u4E86\u5E03\u5C40\u7ED3\u6784\u4EE5\u53CA\u5E38\u7528\u7684\u8868\u5355\u6E32\u67D3\u5668\u96C6\u5408\uFF0C\u4EE5\u8FBE\u5230 \u5F00\u7BB1\u5373\u7528 \u3002"},ja=[{id:"\u4ECB\u7ECD",depth:1,title:"\u4ECB\u7ECD"},{id:"\u5B89\u88C5",depth:2,title:"\u5B89\u88C5"},{id:"\u4F7F\u7528",depth:2,title:"\u4F7F\u7528"}],Wa=[{value:"FormRender",paraId:0,tocIndex:0},{value:" \u662F\u57FA\u4E8E Core + Antd \u5C01\u88C5\u7684\u8868\u5355\u6E32\u67D3\u5E93\uFF0C\u5185\u7F6E\u4E86\u5E03\u5C40\u7ED3\u6784\u4EE5\u53CA\u5E38\u7528\u7684\u8868\u5355\u6E32\u67D3\u5668\u96C6\u5408\uFF0C\u4EE5\u8FBE\u5230 ",paraId:0,tocIndex:0},{value:"\u5F00\u7BB1\u5373\u7528",paraId:0,tocIndex:0},{value:" \u3002",paraId:0,tocIndex:0},{value:"\u7279\u6027\u5982\u4E0B\uFF1A",paraId:1,tocIndex:0},{value:"\u7EB5\u5411\u4E0E\u6A2A\u5411\u5E03\u5C40\u7ED3\u6784\uFF0C\u8BE6\u89C1",paraId:2,tocIndex:0},{value:"\u5E03\u5C40\u7ED3\u6784 itemLayout",paraId:3,tocIndex:0},{value:"\u5E03\u5C40\u7ED3\u6784\u53EF\u914D\u7F6E label \u5BBD\u5EA6\u7B49\u5185\u5BB9\uFF0C\u8BE6\u89C1",paraId:2,tocIndex:0},{value:"\u6807\u9898\u8BBE\u7F6E label",paraId:4,tocIndex:0},{value:"\u884C\u4E3A\u64CD\u4F5C\u7279\u6027\uFF0C\u5982\u63D0\u4EA4\u3001\u91CD\u7F6E\uFF0C\u8BE6\u89C1",paraId:2,tocIndex:0},{value:"\u884C\u4E3A\u64CD\u4F5C actions",paraId:5,tocIndex:0},{value:"\u5E38\u7528\u7684\u8868\u5355\u6E32\u67D3\u5668\u96C6\u5408\uFF0C\u8BE6\u89C1",paraId:2,tocIndex:0},{value:"\u5185\u7F6E\u6E32\u67D3\u5668 renderers",paraId:6,tocIndex:0},{value:`npm install @schema-render/form-render-react --save +export default Demo`},root:{type:"NPM"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}}}}},no={title:"\u4ECB\u7ECD",toc:"content",filename:"examples/form-render-react/001-intro.md",lastUpdated:1706161766e3,order:1,description:"FormRender \u662F\u57FA\u4E8E Core + Antd \u5C01\u88C5\u7684\u8868\u5355\u6E32\u67D3\u5E93\uFF0C\u5185\u7F6E\u4E86\u5E03\u5C40\u7ED3\u6784\u4EE5\u53CA\u5E38\u7528\u7684\u8868\u5355\u6E32\u67D3\u5668\u96C6\u5408\uFF0C\u4EE5\u8FBE\u5230 \u5F00\u7BB1\u5373\u7528 \u3002"},ja=[{id:"\u4ECB\u7ECD",depth:1,title:"\u4ECB\u7ECD"},{id:"\u5B89\u88C5",depth:2,title:"\u5B89\u88C5"},{id:"\u4F7F\u7528",depth:2,title:"\u4F7F\u7528"}],Wa=[{value:"FormRender",paraId:0,tocIndex:0},{value:" \u662F\u57FA\u4E8E Core + Antd \u5C01\u88C5\u7684\u8868\u5355\u6E32\u67D3\u5E93\uFF0C\u5185\u7F6E\u4E86\u5E03\u5C40\u7ED3\u6784\u4EE5\u53CA\u5E38\u7528\u7684\u8868\u5355\u6E32\u67D3\u5668\u96C6\u5408\uFF0C\u4EE5\u8FBE\u5230 ",paraId:0,tocIndex:0},{value:"\u5F00\u7BB1\u5373\u7528",paraId:0,tocIndex:0},{value:" \u3002",paraId:0,tocIndex:0},{value:"\u7279\u6027\u5982\u4E0B\uFF1A",paraId:1,tocIndex:0},{value:"\u7EB5\u5411\u4E0E\u6A2A\u5411\u5E03\u5C40\u7ED3\u6784\uFF0C\u8BE6\u89C1",paraId:2,tocIndex:0},{value:"\u5E03\u5C40\u7ED3\u6784 itemLayout",paraId:3,tocIndex:0},{value:"\u5E03\u5C40\u7ED3\u6784\u53EF\u914D\u7F6E label \u5BBD\u5EA6\u7B49\u5185\u5BB9\uFF0C\u8BE6\u89C1",paraId:2,tocIndex:0},{value:"\u6807\u9898\u8BBE\u7F6E label",paraId:4,tocIndex:0},{value:"\u884C\u4E3A\u64CD\u4F5C\u7279\u6027\uFF0C\u5982\u63D0\u4EA4\u3001\u91CD\u7F6E\uFF0C\u8BE6\u89C1",paraId:2,tocIndex:0},{value:"\u884C\u4E3A\u64CD\u4F5C actions",paraId:5,tocIndex:0},{value:"\u5E38\u7528\u7684\u8868\u5355\u6E32\u67D3\u5668\u96C6\u5408\uFF0C\u8BE6\u89C1",paraId:2,tocIndex:0},{value:"\u5185\u7F6E\u6E32\u67D3\u5668 renderers",paraId:6,tocIndex:0},{value:`npm install @schema-render/form-render-react --save `,paraId:7,tocIndex:1},{value:"\u5982\u679C\u6CA1\u6709\u5B89\u88C5 antd\uFF0C\u8FD8\u9700\u5B89\u88C5\u5B83",paraId:8,tocIndex:1},{value:`npm install antd --save `,paraId:9,tocIndex:1}],ho={"examples-form-render-react-200-label-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=D.sent,ne=J.useState,D.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},Y=function(){var V=ne({}),ce=o()(V,2),L=ce[0],W=ce[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{labelWidth:100,schema:te,value:L,onChange:W}),r.createElement(X,{value:L}))},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-200-label-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' @@ -3870,7 +3870,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}},description:"number \u7C7B\u578B\u7528\u4E8E\u8BBE\u7F6E\u56FA\u5B9A\u6570\u503C",title:"number \u7C7B\u578B"}},"examples-form-render-react-200-label-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=D.sent,ne=J.useState,D.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},Y=function(){var V=ne({}),ce=o()(V,2),L=ce[0],W=ce[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{labelWidth:"max-content",schema:te,value:L,onChange:W}),r.createElement(X,{value:L}))},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-200-label-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}},description:"number \u7C7B\u578B\u7528\u4E8E\u8BBE\u7F6E\u56FA\u5B9A\u6570\u503C",title:"number \u7C7B\u578B"}},"examples-form-render-react-200-label-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=D.sent,ne=J.useState,D.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},Y=function(){var V=ne({}),ce=o()(V,2),L=ce[0],W=ce[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{labelWidth:"max-content",schema:te,value:L,onChange:W}),r.createElement(X,{value:L}))},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-200-label-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import FormRender from '@schema-render/form-render-react' @@ -3907,7 +3907,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}},description:"string \u7C7B\u578B\uFF0C\u901A\u5E38\u662F CSS \u5C5E\u6027\uFF0C\u5982 max-content",title:"string \u7C7B\u578B"}},"examples-form-render-react-200-label-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=D.sent,ne=J.useState,D.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},Y=function(){var V=ne({}),ce=o()(V,2),L=ce[0],W=ce[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{labelWidth:100,labelGap:0,labelColon:"\uFF1A",schema:te,value:L,onChange:W}),r.createElement(X,{value:L}))},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-200-label-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}},description:"string \u7C7B\u578B\uFF0C\u901A\u5E38\u662F CSS \u5C5E\u6027\uFF0C\u5982 max-content",title:"string \u7C7B\u578B"}},"examples-form-render-react-200-label-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=D.sent,ne=J.useState,D.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},Y=function(){var V=ne({}),ce=o()(V,2),L=ce[0],W=ce[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{labelWidth:100,labelGap:0,labelColon:"\uFF1A",schema:te,value:L,onChange:W}),r.createElement(X,{value:L}))},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-200-label-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import FormRender from '@schema-render/form-render-react' @@ -3946,7 +3946,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}}}},"examples-form-render-react-200-label-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=W.sent,ne=J.useState,W.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=W.sent,X=oe.default,W.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=W.sent,_=k.default,W.next=14,Promise.all([e.e(1548),e.e(9752),e.e(1791)]).then(e.bind(e,1791));case 14:return te=W.sent,Y=te.QuestionCircleOutlined,W.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 18:return Ie=W.sent,D=Ie.Popover,ee={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0},gender:{title:"\u6027\u522B",renderType:"Radio",renderOptions:{options:[{label:"\u7537",value:"male"},{label:"\u5973",value:"female"}]}}}},V=function(le){var q=le.schema,xe=le.required,Ae=le.prefixClassNames;return r.createElement("div",null,q.title,!!q.titleDescription&&r.createElement(D,{placement:"top",trigger:"hover",content:q.titleDescription},r.createElement(Y,{className:Ae("item-title-tooltip"),style:{marginLeft:4}})),!xe&&" (\u53EF\u9009)")},ce=function(){var le=ne({}),q=o()(le,2),xe=q[0],Ae=q[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{labelWidth:100,labelRender:V,schema:ee,value:xe,onChange:Ae}),r.createElement(X,{value:xe}))},W.abrupt("return",{default:ce});case 24:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-200-label-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}}}},"examples-form-render-react-200-label-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=W.sent,ne=J.useState,W.next=6,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 6:return oe=W.sent,X=oe.default,W.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 10:return k=W.sent,_=k.default,W.next=14,Promise.all([e.e(1548),e.e(9752),e.e(1791)]).then(e.bind(e,1791));case 14:return te=W.sent,Y=te.QuestionCircleOutlined,W.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 18:return Ie=W.sent,D=Ie.Popover,ee={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0},gender:{title:"\u6027\u522B",renderType:"Radio",renderOptions:{options:[{label:"\u7537",value:"male"},{label:"\u5973",value:"female"}]}}}},V=function(le){var q=le.schema,xe=le.required,Ae=le.prefixClassNames;return r.createElement("div",null,q.title,!!q.titleDescription&&r.createElement(D,{placement:"top",trigger:"hover",content:q.titleDescription},r.createElement(Y,{className:Ae("item-title-tooltip"),style:{marginLeft:4}})),!xe&&" (\u53EF\u9009)")},ce=function(){var le=ne({}),q=o()(le,2),xe=q[0],Ae=q[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{labelWidth:100,labelRender:V,schema:ee,value:xe,onChange:Ae}),r.createElement(X,{value:xe}))},W.abrupt("return",{default:ce});case 24:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-200-label-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import FormRender from '@schema-render/form-render-react' @@ -4020,7 +4020,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"},"@ant-design/icons":{type:"NPM",value:"5.0.1"},antd:{type:"NPM",value:"5.9.0"}}}}},yo={title:"\u6807\u9898\u8BBE\u7F6E label",toc:"content",filename:"examples/form-render-react/200-label.md",lastUpdated:1704082387e3,order:200,description:"label \u76F8\u5173\u7684\u914D\u7F6E\u4E3B\u8981\u9488\u5BF9\u4E8E itemLayout \u4E3A horizontal \u7684\u573A\u666F\u3002"},Mo=[{id:"\u6807\u9898\u8BBE\u7F6E-label",depth:1,title:"\u6807\u9898\u8BBE\u7F6E label"},{id:"\u5BBD\u5EA6\u8BBE\u7F6E",depth:2,title:"\u5BBD\u5EA6\u8BBE\u7F6E"},{id:"examples-form-render-react-200-label-demo-0",depth:3,title:"number \u7C7B\u578B"},{id:"examples-form-render-react-200-label-demo-1",depth:3,title:"string \u7C7B\u578B"},{id:"\u5192\u53F7\u8BBE\u7F6E",depth:2,title:"\u5192\u53F7\u8BBE\u7F6E"},{id:"\u81EA\u5B9A\u4E49\u6E32\u67D3",depth:2,title:"\u81EA\u5B9A\u4E49\u6E32\u67D3"},{id:"\u53C2\u6570\u8BE6\u89E3",depth:2,title:"\u53C2\u6570\u8BE6\u89E3"},{id:"labelrender-\u53C2\u6570\u8BE6\u89E3",depth:3,title:"labelRender \u53C2\u6570\u8BE6\u89E3"}],Lo=[{value:"label",paraId:0,tocIndex:0},{value:" \u76F8\u5173\u7684\u914D\u7F6E\u4E3B\u8981\u9488\u5BF9\u4E8E ",paraId:0,tocIndex:0},{value:"itemLayout",paraId:0,tocIndex:0},{value:" \u4E3A ",paraId:0,tocIndex:0},{value:"horizontal",paraId:0,tocIndex:0},{value:" \u7684\u573A\u666F\u3002",paraId:0,tocIndex:0},{value:"\u53EF\u4EE5\u914D\u7F6E\u5BBD\u5EA6\u3001\u95F4\u8DDD\u3001\u5192\u53F7\u3001\u4EE5\u53CA\u81EA\u5B9A\u4E49\u6E32\u67D3\u3002",paraId:1,tocIndex:0},{value:"labelWidth",paraId:2,tocIndex:1},{value:" \u5C5E\u6027\u53EF\u4EE5\u8BBE\u7F6E \u201C\u6807\u9898\u5757\u201D \u7684\u5BBD\u5EA6\uFF0C\u652F\u6301 ",paraId:2,tocIndex:1},{value:"number",paraId:2,tocIndex:1},{value:" \u4E0E ",paraId:2,tocIndex:1},{value:"string",paraId:2,tocIndex:1},{value:" \u7C7B\u578B\u3002",paraId:2,tocIndex:1},{value:"labelColon",paraId:3,tocIndex:4},{value:" \u5C5E\u6027\u63A7\u5236\u5192\u53F7\u7B26\u53F7\uFF0C\u9ED8\u8BA4\u65E0\u3002",paraId:3,tocIndex:4},{value:"labelRender",paraId:4,tocIndex:5},{value:" \u53EF\u4EE5\u81EA\u5B9A\u4E49\u201C\u6807\u9898\u5757\u201D\u7684\u6E32\u67D3\u5185\u5BB9\uFF0C\u5982\u5FC5\u586B ",paraId:4,tocIndex:5},{value:"*",paraId:4,tocIndex:5},{value:" \u53F7\u6807\u8BB0\u8C03\u6574\u4E3A ",paraId:4,tocIndex:5},{value:"(\u53EF\u9009)",paraId:4,tocIndex:5},{value:" \u8FD9\u6837\u7684\u5F62\u5F0F\u3002",paraId:4,tocIndex:5},{value:"\u540D\u79F0",paraId:5,tocIndex:6},{value:"\u8BF4\u660E",paraId:5,tocIndex:6},{value:"\u7C7B\u578B",paraId:5,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:5,tocIndex:6},{value:"labelWidth",paraId:5,tocIndex:6},{value:"\u8BBE\u7F6E label \u7684\u5BBD\u5EA6\uFF0C\u4EC5 ",paraId:5,tocIndex:6},{value:"itemLayout",paraId:5,tocIndex:6},{value:" \u4E3A ",paraId:5,tocIndex:6},{value:"horizontal",paraId:5,tocIndex:6},{value:" \u6709\u6548",paraId:5,tocIndex:6},{value:"number | string",paraId:5,tocIndex:6},{value:"100",paraId:5,tocIndex:6},{value:"labelGap",paraId:5,tocIndex:6},{value:"\u8BBE\u7F6E label \u4E0E\u53F3\u4FA7\u5185\u5BB9\u7684\u95F4\u8DDD\uFF0C\u4EC5 ",paraId:5,tocIndex:6},{value:"itemLayout",paraId:5,tocIndex:6},{value:" \u4E3A ",paraId:5,tocIndex:6},{value:"horizontal",paraId:5,tocIndex:6},{value:" \u6709\u6548",paraId:5,tocIndex:6},{value:"number",paraId:5,tocIndex:6},{value:"15",paraId:5,tocIndex:6},{value:"labelColon",paraId:5,tocIndex:6},{value:"\u5B9A\u4E49 label \u5192\u53F7",paraId:5,tocIndex:6},{value:"ReactNode",paraId:5,tocIndex:6},{value:"-",paraId:5,tocIndex:6},{value:"labelRender",paraId:5,tocIndex:6},{value:"\u81EA\u5B9A\u4E49 label \u6E32\u67D3",paraId:5,tocIndex:6},{value:"(params) => ReactNode",paraId:5,tocIndex:6},{value:"-",paraId:5,tocIndex:6},{value:"\u9664\u4E86\u62E5\u6709 ",paraId:6,tocIndex:7},{value:"labelWidth",paraId:6,tocIndex:7},{value:"\u3001",paraId:6,tocIndex:7},{value:"labelGap",paraId:6,tocIndex:7},{value:"\u3001",paraId:6,tocIndex:7},{value:"labelColon",paraId:6,tocIndex:7},{value:" \u5916\uFF0C\u8FD8\u62E5\u6709\u4EE5\u4E0B\u53C2\u6570\u3002",paraId:6,tocIndex:7},{value:"\u53C2\u6570",paraId:7,tocIndex:7},{value:"\u8BF4\u660E",paraId:7,tocIndex:7},{value:"\u7C7B\u578B",paraId:7,tocIndex:7},{value:"schema",paraId:7,tocIndex:7},{value:"Schema \u534F\u8BAE\u63CF\u8FF0\u5BF9\u8C61",paraId:7,tocIndex:7},{value:"ISchema",paraId:7,tocIndex:7},{value:"required",paraId:7,tocIndex:7},{value:"\u662F\u5426\u5FC5\u586B\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:7,tocIndex:7},{value:"boolean",paraId:7,tocIndex:7},{value:"disabled",paraId:7,tocIndex:7},{value:"\u662F\u5426\u7981\u7528\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:7,tocIndex:7},{value:"boolean",paraId:7,tocIndex:7},{value:"readonly",paraId:7,tocIndex:7},{value:"\u662F\u5426\u53EA\u8BFB\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:7,tocIndex:7},{value:"boolean",paraId:7,tocIndex:7},{value:"locale",paraId:7,tocIndex:7},{value:"\u5F53\u524D\u8BED\u8A00\u6570\u636E",paraId:7,tocIndex:7},{value:"object",paraId:7,tocIndex:7},{value:"userCtx",paraId:7,tocIndex:7},{value:"\u7528\u6237\u5168\u5C40\u4E0A\u4E0B\u6587\u6570\u636E",paraId:7,tocIndex:7},{value:"object",paraId:7,tocIndex:7},{value:"prefixClassNames",paraId:7,tocIndex:7},{value:"\u5BF9 ",paraId:7,tocIndex:7},{value:"classnames",paraId:7,tocIndex:7},{value:" \u5BFC\u51FA\u65B9\u6CD5\u7684\u5305\u88C5\uFF0C\u5E26\u6709 prefixCls \u524D\u7F00\u7684\u7C7B\u540D\u65B9\u6CD5",paraId:7,tocIndex:7},{value:"(...args: classNames.ArgumentArray) => string",paraId:7,tocIndex:7}],Ta=e(52510),Va=e.n(Ta),go={"examples-form-render-react-851-steps-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=W.sent,ne=J.useState,oe=J.useMemo,X=J.useRef,W.next=8,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 8:return k=W.sent,_=k.default,W.next=12,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 12:return te=W.sent,Y=te.Steps,Ie=te.Button,W.next=17,e.e(2646).then(e.bind(e,62646));case 17:return D=W.sent,ee=D.useMemoizedFn,V={renderType:"Root",properties:{step1:{title:"\u6B65\u9AA4\u4E00",renderType:"ObjectNull",hidden:"$userCtx.step !== 0",properties:{title:{title:"\u6B65\u9AA4\u4E00\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u6B65\u9AA4\u4E00\u5185\u5BB9",renderType:"InputText",required:!0}}},step2:{title:"\u6B65\u9AA4\u4E8C",renderType:"ObjectNull",hidden:"$userCtx.step !== 1",properties:{title:{title:"\u6B65\u9AA4\u4E8C\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u6B65\u9AA4\u4E8C\u5185\u5BB9",renderType:"InputText",required:!0}}},step3:{title:"\u6B65\u9AA4\u4E09",renderType:"ObjectNull",hidden:"$userCtx.step !== 2",properties:{title:{title:"\u6B65\u9AA4\u4E09\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u6B65\u9AA4\u4E09\u5185\u5BB9",renderType:"InputText",required:!0}}}}},ce=function(){var le=ne(0),q=o()(le,2),xe=q[0],Ae=q[1],Se=ne({}),ke=o()(Se,2),et=ke[0],dt=ke[1],gt=X(null),Ut=function(){Ae(function(or){return or-1})},Mt=ee(c()(a()().mark(function nn(){var or,Un,fa,Uo;return a()().wrap(function(To){for(;;)switch(To.prev=To.next){case 0:return To.next=2,(or=gt.current)===null||or===void 0?void 0:or.validate();case 2:if(Un=To.sent,!(Un!=null&&Un.hasError||Un!=null&&Un.hasWarning)){To.next=8;break}if(fa="step".concat(xe+1),Uo=Un.errorList.some(function(Xa){return Xa.path[0]===fa}),!Uo){To.next=8;break}return To.abrupt("return");case 8:Ae(xe+1);case 9:case"end":return To.stop()}},nn)}))),Wt=ee(function(){var nn;dt(C()(C()({},et),{},Va()({},"step".concat(xe+1),{}))),(nn=gt.current)===null||nn===void 0||nn.resetError()}),ln=oe(function(){return{prev:function(){return r.createElement(Ie,{onClick:Ut},"\u4E0A\u4E00\u6B65")},next:function(){return r.createElement(Ie,{type:"primary",onClick:Mt},"\u4E0B\u4E00\u6B65")},reset:function(){return r.createElement(Ie,{onClick:Wt},"\u91CD\u7F6E")}}},[]),un=function(){var nn=c()(a()().mark(function or(){var Un,fa;return a()().wrap(function(oo){for(;;)switch(oo.prev=oo.next){case 0:return oo.next=2,(Un=gt.current)===null||Un===void 0?void 0:Un.validate();case 2:if(fa=oo.sent,!(fa!=null&&fa.hasError||fa!=null&&fa.hasWarning)){oo.next=5;break}return oo.abrupt("return");case 5:case"end":return oo.stop()}},or)}));return function(){return nn.apply(this,arguments)}}();return r.createElement("div",{style:{maxWidth:800}},r.createElement(Y,{size:"small",current:xe,onChange:Ae,items:[{title:"\u6B65\u9AA4\u4E00",disabled:!0},{title:"\u6B65\u9AA4\u4E8C",disabled:!0},{title:"\u6B65\u9AA4\u4E09",disabled:!0}],style:{marginBottom:20}}),r.createElement(_,{ref:gt,schema:V,value:et,onChange:dt,userCtx:{step:xe},actions:xe===0?["next","reset"]:xe===2?["submit","prev","reset"]:["next","prev","reset"],registerActions:ln,onSubmit:un}))},W.abrupt("return",{default:ce});case 22:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-851-steps-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useMemo, useRef } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"},"@ant-design/icons":{type:"NPM",value:"5.0.1"},antd:{type:"NPM",value:"5.9.0"}}}}},yo={title:"\u6807\u9898\u8BBE\u7F6E label",toc:"content",filename:"examples/form-render-react/200-label.md",lastUpdated:1704082387e3,order:200,description:"label \u76F8\u5173\u7684\u914D\u7F6E\u4E3B\u8981\u9488\u5BF9\u4E8E itemLayout \u4E3A horizontal \u7684\u573A\u666F\u3002"},Mo=[{id:"\u6807\u9898\u8BBE\u7F6E-label",depth:1,title:"\u6807\u9898\u8BBE\u7F6E label"},{id:"\u5BBD\u5EA6\u8BBE\u7F6E",depth:2,title:"\u5BBD\u5EA6\u8BBE\u7F6E"},{id:"examples-form-render-react-200-label-demo-0",depth:3,title:"number \u7C7B\u578B"},{id:"examples-form-render-react-200-label-demo-1",depth:3,title:"string \u7C7B\u578B"},{id:"\u5192\u53F7\u8BBE\u7F6E",depth:2,title:"\u5192\u53F7\u8BBE\u7F6E"},{id:"\u81EA\u5B9A\u4E49\u6E32\u67D3",depth:2,title:"\u81EA\u5B9A\u4E49\u6E32\u67D3"},{id:"\u53C2\u6570\u8BE6\u89E3",depth:2,title:"\u53C2\u6570\u8BE6\u89E3"},{id:"labelrender-\u53C2\u6570\u8BE6\u89E3",depth:3,title:"labelRender \u53C2\u6570\u8BE6\u89E3"}],Lo=[{value:"label",paraId:0,tocIndex:0},{value:" \u76F8\u5173\u7684\u914D\u7F6E\u4E3B\u8981\u9488\u5BF9\u4E8E ",paraId:0,tocIndex:0},{value:"itemLayout",paraId:0,tocIndex:0},{value:" \u4E3A ",paraId:0,tocIndex:0},{value:"horizontal",paraId:0,tocIndex:0},{value:" \u7684\u573A\u666F\u3002",paraId:0,tocIndex:0},{value:"\u53EF\u4EE5\u914D\u7F6E\u5BBD\u5EA6\u3001\u95F4\u8DDD\u3001\u5192\u53F7\u3001\u4EE5\u53CA\u81EA\u5B9A\u4E49\u6E32\u67D3\u3002",paraId:1,tocIndex:0},{value:"labelWidth",paraId:2,tocIndex:1},{value:" \u5C5E\u6027\u53EF\u4EE5\u8BBE\u7F6E \u201C\u6807\u9898\u5757\u201D \u7684\u5BBD\u5EA6\uFF0C\u652F\u6301 ",paraId:2,tocIndex:1},{value:"number",paraId:2,tocIndex:1},{value:" \u4E0E ",paraId:2,tocIndex:1},{value:"string",paraId:2,tocIndex:1},{value:" \u7C7B\u578B\u3002",paraId:2,tocIndex:1},{value:"labelColon",paraId:3,tocIndex:4},{value:" \u5C5E\u6027\u63A7\u5236\u5192\u53F7\u7B26\u53F7\uFF0C\u9ED8\u8BA4\u65E0\u3002",paraId:3,tocIndex:4},{value:"labelRender",paraId:4,tocIndex:5},{value:" \u53EF\u4EE5\u81EA\u5B9A\u4E49\u201C\u6807\u9898\u5757\u201D\u7684\u6E32\u67D3\u5185\u5BB9\uFF0C\u5982\u5FC5\u586B ",paraId:4,tocIndex:5},{value:"*",paraId:4,tocIndex:5},{value:" \u53F7\u6807\u8BB0\u8C03\u6574\u4E3A ",paraId:4,tocIndex:5},{value:"(\u53EF\u9009)",paraId:4,tocIndex:5},{value:" \u8FD9\u6837\u7684\u5F62\u5F0F\u3002",paraId:4,tocIndex:5},{value:"\u540D\u79F0",paraId:5,tocIndex:6},{value:"\u8BF4\u660E",paraId:5,tocIndex:6},{value:"\u7C7B\u578B",paraId:5,tocIndex:6},{value:"\u9ED8\u8BA4\u503C",paraId:5,tocIndex:6},{value:"labelWidth",paraId:5,tocIndex:6},{value:"\u8BBE\u7F6E label \u7684\u5BBD\u5EA6\uFF0C\u4EC5 ",paraId:5,tocIndex:6},{value:"itemLayout",paraId:5,tocIndex:6},{value:" \u4E3A ",paraId:5,tocIndex:6},{value:"horizontal",paraId:5,tocIndex:6},{value:" \u6709\u6548",paraId:5,tocIndex:6},{value:"number | string",paraId:5,tocIndex:6},{value:"100",paraId:5,tocIndex:6},{value:"labelGap",paraId:5,tocIndex:6},{value:"\u8BBE\u7F6E label \u4E0E\u53F3\u4FA7\u5185\u5BB9\u7684\u95F4\u8DDD\uFF0C\u4EC5 ",paraId:5,tocIndex:6},{value:"itemLayout",paraId:5,tocIndex:6},{value:" \u4E3A ",paraId:5,tocIndex:6},{value:"horizontal",paraId:5,tocIndex:6},{value:" \u6709\u6548",paraId:5,tocIndex:6},{value:"number",paraId:5,tocIndex:6},{value:"15",paraId:5,tocIndex:6},{value:"labelColon",paraId:5,tocIndex:6},{value:"\u5B9A\u4E49 label \u5192\u53F7",paraId:5,tocIndex:6},{value:"ReactNode",paraId:5,tocIndex:6},{value:"-",paraId:5,tocIndex:6},{value:"labelRender",paraId:5,tocIndex:6},{value:"\u81EA\u5B9A\u4E49 label \u6E32\u67D3",paraId:5,tocIndex:6},{value:"(params) => ReactNode",paraId:5,tocIndex:6},{value:"-",paraId:5,tocIndex:6},{value:"\u9664\u4E86\u62E5\u6709 ",paraId:6,tocIndex:7},{value:"labelWidth",paraId:6,tocIndex:7},{value:"\u3001",paraId:6,tocIndex:7},{value:"labelGap",paraId:6,tocIndex:7},{value:"\u3001",paraId:6,tocIndex:7},{value:"labelColon",paraId:6,tocIndex:7},{value:" \u5916\uFF0C\u8FD8\u62E5\u6709\u4EE5\u4E0B\u53C2\u6570\u3002",paraId:6,tocIndex:7},{value:"\u53C2\u6570",paraId:7,tocIndex:7},{value:"\u8BF4\u660E",paraId:7,tocIndex:7},{value:"\u7C7B\u578B",paraId:7,tocIndex:7},{value:"schema",paraId:7,tocIndex:7},{value:"Schema \u534F\u8BAE\u63CF\u8FF0\u5BF9\u8C61",paraId:7,tocIndex:7},{value:"ISchema",paraId:7,tocIndex:7},{value:"required",paraId:7,tocIndex:7},{value:"\u662F\u5426\u5FC5\u586B\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:7,tocIndex:7},{value:"boolean",paraId:7,tocIndex:7},{value:"disabled",paraId:7,tocIndex:7},{value:"\u662F\u5426\u7981\u7528\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:7,tocIndex:7},{value:"boolean",paraId:7,tocIndex:7},{value:"readonly",paraId:7,tocIndex:7},{value:"\u662F\u5426\u53EA\u8BFB\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:7,tocIndex:7},{value:"boolean",paraId:7,tocIndex:7},{value:"locale",paraId:7,tocIndex:7},{value:"\u5F53\u524D\u8BED\u8A00\u6570\u636E",paraId:7,tocIndex:7},{value:"object",paraId:7,tocIndex:7},{value:"userCtx",paraId:7,tocIndex:7},{value:"\u7528\u6237\u5168\u5C40\u4E0A\u4E0B\u6587\u6570\u636E",paraId:7,tocIndex:7},{value:"object",paraId:7,tocIndex:7},{value:"prefixClassNames",paraId:7,tocIndex:7},{value:"\u5BF9 ",paraId:7,tocIndex:7},{value:"classnames",paraId:7,tocIndex:7},{value:" \u5BFC\u51FA\u65B9\u6CD5\u7684\u5305\u88C5\uFF0C\u5E26\u6709 prefixCls \u524D\u7F00\u7684\u7C7B\u540D\u65B9\u6CD5",paraId:7,tocIndex:7},{value:"(...args: classNames.ArgumentArray) => string",paraId:7,tocIndex:7}],Ta=e(52510),Va=e.n(Ta),go={"examples-form-render-react-851-steps-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=W.sent,ne=J.useState,oe=J.useMemo,X=J.useRef,W.next=8,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 8:return k=W.sent,_=k.default,W.next=12,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 12:return te=W.sent,Y=te.Steps,Ie=te.Button,W.next=17,e.e(2646).then(e.bind(e,62646));case 17:return D=W.sent,ee=D.useMemoizedFn,V={renderType:"Root",properties:{step1:{title:"\u6B65\u9AA4\u4E00",renderType:"ObjectNull",hidden:"$userCtx.step !== 0",properties:{title:{title:"\u6B65\u9AA4\u4E00\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u6B65\u9AA4\u4E00\u5185\u5BB9",renderType:"InputText",required:!0}}},step2:{title:"\u6B65\u9AA4\u4E8C",renderType:"ObjectNull",hidden:"$userCtx.step !== 1",properties:{title:{title:"\u6B65\u9AA4\u4E8C\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u6B65\u9AA4\u4E8C\u5185\u5BB9",renderType:"InputText",required:!0}}},step3:{title:"\u6B65\u9AA4\u4E09",renderType:"ObjectNull",hidden:"$userCtx.step !== 2",properties:{title:{title:"\u6B65\u9AA4\u4E09\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u6B65\u9AA4\u4E09\u5185\u5BB9",renderType:"InputText",required:!0}}}}},ce=function(){var le=ne(0),q=o()(le,2),xe=q[0],Ae=q[1],Se=ne({}),ke=o()(Se,2),et=ke[0],dt=ke[1],gt=X(null),Ut=function(){Ae(function(or){return or-1})},Mt=ee(c()(a()().mark(function nn(){var or,Un,fa,Uo;return a()().wrap(function(To){for(;;)switch(To.prev=To.next){case 0:return To.next=2,(or=gt.current)===null||or===void 0?void 0:or.validate();case 2:if(Un=To.sent,!(Un!=null&&Un.hasError||Un!=null&&Un.hasWarning)){To.next=8;break}if(fa="step".concat(xe+1),Uo=Un.errorList.some(function(Xa){return Xa.path[0]===fa}),!Uo){To.next=8;break}return To.abrupt("return");case 8:Ae(xe+1);case 9:case"end":return To.stop()}},nn)}))),Wt=ee(function(){var nn;dt(C()(C()({},et),{},Va()({},"step".concat(xe+1),{}))),(nn=gt.current)===null||nn===void 0||nn.resetError()}),ln=oe(function(){return{prev:function(){return r.createElement(Ie,{onClick:Ut},"\u4E0A\u4E00\u6B65")},next:function(){return r.createElement(Ie,{type:"primary",onClick:Mt},"\u4E0B\u4E00\u6B65")},reset:function(){return r.createElement(Ie,{onClick:Wt},"\u91CD\u7F6E")}}},[]),un=function(){var nn=c()(a()().mark(function or(){var Un,fa;return a()().wrap(function(oo){for(;;)switch(oo.prev=oo.next){case 0:return oo.next=2,(Un=gt.current)===null||Un===void 0?void 0:Un.validate();case 2:if(fa=oo.sent,!(fa!=null&&fa.hasError||fa!=null&&fa.hasWarning)){oo.next=5;break}return oo.abrupt("return");case 5:case"end":return oo.stop()}},or)}));return function(){return nn.apply(this,arguments)}}();return r.createElement("div",{style:{maxWidth:800}},r.createElement(Y,{size:"small",current:xe,onChange:Ae,items:[{title:"\u6B65\u9AA4\u4E00",disabled:!0},{title:"\u6B65\u9AA4\u4E8C",disabled:!0},{title:"\u6B65\u9AA4\u4E09",disabled:!0}],style:{marginBottom:20}}),r.createElement(_,{ref:gt,schema:V,value:et,onChange:dt,userCtx:{step:xe},actions:xe===0?["next","reset"]:xe===2?["submit","prev","reset"]:["next","prev","reset"],registerActions:ln,onSubmit:un}))},W.abrupt("return",{default:ce});case 22:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-form-render-react-851-steps-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useMemo, useRef } from 'react' import FormRender from '@schema-render/form-render-react' import type { IFormRenderRootSchema, @@ -4185,7 +4185,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"},antd:{type:"NPM",value:"5.9.0"},ahooks:{type:"NPM",value:"3.7.8"}}}}},Ar={title:"Steps \u6B65\u9AA4\u8868\u5355",toc:"menu",filename:"examples/form-render-react/851-steps.md",lastUpdated:1705222876e3,group:{title:"\u6848\u4F8B\u96C6\u9526",order:850},description:"\u6B65\u9AA4\u8868\u5355\u5B9E\u73B0\u65B9\u5F0F\u6709\u4E24\u79CD\uFF1A"},da=[{id:"steps-\u6B65\u9AA4\u8868\u5355",depth:1,title:"Steps \u6B65\u9AA4\u8868\u5355"}],Ga=[{value:"\u6B65\u9AA4\u8868\u5355\u5B9E\u73B0\u65B9\u5F0F\u6709\u4E24\u79CD\uFF1A",paraId:0,tocIndex:0},{value:"\u8868\u5355\u9879\u90FD\u7531 FormRender \u6E32\u67D3\uFF0C\u901A\u8FC7 hidden \u5C5E\u6027\u63A7\u5236\u663E\u793A\u4E0E\u9690\u85CF",paraId:1,tocIndex:0},{value:"\u4F18\u52BF\uFF1A\u6570\u636E\u5728\u4E00\u4E2A FormRender \u5B9E\u4F8B\u91CC\uFF0C\u6821\u9A8C\u65B9\u6CD5\u53EA\u8C03\u7528\u4E00\u4E2A",paraId:2,tocIndex:0},{value:"\u52A3\u52BF\uFF1A\u8868\u5355\u6570\u636E\u5C42\u7EA7\u6709\u53D8\u5316\uFF0C\u9700\u8981\u5C06\u8868\u5355\u9879\u653E\u5728 Object \u5BF9\u8C61\u91CC",paraId:2,tocIndex:0},{value:"\u6E32\u67D3\u591A\u4E2A FormRender \u5B9E\u4F8B",paraId:1,tocIndex:0},{value:"\u4F18\u52BF\uFF1A\u8868\u5355\u6570\u636E\u5C42\u7EA7\u65E0\u53D8\u5316",paraId:3,tocIndex:0},{value:"\u52A3\u52BF\uFF1A\u6821\u9A8C\u65B9\u6CD5\u9700\u8981\u8C03\u7528\u591A\u4E2A\uFF0C\u6700\u7EC8\u7684\u6570\u636E\u9700\u8981\u5408\u5E76\u5728\u4E00\u8D77",paraId:3,tocIndex:0},{value:"\u4E0B\u9762\u793A\u4F8B\u7B2C\u4E00\u79CD\u65B9\u6848",paraId:4,tocIndex:0}],Io={"examples-search-table-react-050-tabs-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=B.sent,ne=J.sleep,B.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=B.sent,X=oe.default,B.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=B.sent,_=k.default,B.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=B.sent,Y=te.default,B.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=B.sent,D=Ie.default,B.next=22,Promise.resolve().then(e.t.bind(e,50959,19));case 22:return ee=B.sent,V=ee.useState,ce=[{key:"1",label:"\u5DF2\u63D0\u4EA4"},{key:"2",label:"\u5F85\u63D0\u4EA4"},{key:"3",label:"\u5F85\u5BA1\u6838"}],L=function(){var q=V("1"),xe=o()(q,2),Ae=xe[0],Se=xe[1];return r.createElement(D,{search:{schema:X,labelWidth:80},title:{tabs:{activeKey:Ae,items:ce,onChange:Se}},table:{columns:_},request:function(){var ke=c()(a()().mark(function dt(gt){var Ut;return a()().wrap(function(Wt){for(;;)switch(Wt.prev=Wt.next){case 0:return console.log("activeKey:",Ae),Wt.next=3,ne();case 3:return Ut=Y(gt.pageSize),Wt.abrupt("return",{data:Ut,total:100});case 5:case"end":return Wt.stop()}},dt)}));function et(dt){return ke.apply(this,arguments)}return et}()})},B.abrupt("return",{default:L});case 27:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-050-tabs-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' +export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"},antd:{type:"NPM",value:"5.9.0"},ahooks:{type:"NPM",value:"3.7.8"}}}}},Ar={title:"Steps \u6B65\u9AA4\u8868\u5355",toc:"menu",filename:"examples/form-render-react/851-steps.md",lastUpdated:1705222876e3,group:{title:"\u6848\u4F8B\u96C6\u9526",order:850},description:"\u6B65\u9AA4\u8868\u5355\u5B9E\u73B0\u65B9\u5F0F\u6709\u4E24\u79CD\uFF1A"},da=[{id:"steps-\u6B65\u9AA4\u8868\u5355",depth:1,title:"Steps \u6B65\u9AA4\u8868\u5355"}],Ga=[{value:"\u6B65\u9AA4\u8868\u5355\u5B9E\u73B0\u65B9\u5F0F\u6709\u4E24\u79CD\uFF1A",paraId:0,tocIndex:0},{value:"\u8868\u5355\u9879\u90FD\u7531 FormRender \u6E32\u67D3\uFF0C\u901A\u8FC7 hidden \u5C5E\u6027\u63A7\u5236\u663E\u793A\u4E0E\u9690\u85CF",paraId:1,tocIndex:0},{value:"\u4F18\u52BF\uFF1A\u6570\u636E\u5728\u4E00\u4E2A FormRender \u5B9E\u4F8B\u91CC\uFF0C\u6821\u9A8C\u65B9\u6CD5\u53EA\u8C03\u7528\u4E00\u4E2A",paraId:2,tocIndex:0},{value:"\u52A3\u52BF\uFF1A\u8868\u5355\u6570\u636E\u5C42\u7EA7\u6709\u53D8\u5316\uFF0C\u9700\u8981\u5C06\u8868\u5355\u9879\u653E\u5728 Object \u5BF9\u8C61\u91CC",paraId:2,tocIndex:0},{value:"\u6E32\u67D3\u591A\u4E2A FormRender \u5B9E\u4F8B",paraId:1,tocIndex:0},{value:"\u4F18\u52BF\uFF1A\u8868\u5355\u6570\u636E\u5C42\u7EA7\u65E0\u53D8\u5316",paraId:3,tocIndex:0},{value:"\u52A3\u52BF\uFF1A\u6821\u9A8C\u65B9\u6CD5\u9700\u8981\u8C03\u7528\u591A\u4E2A\uFF0C\u6700\u7EC8\u7684\u6570\u636E\u9700\u8981\u5408\u5E76\u5728\u4E00\u8D77",paraId:3,tocIndex:0},{value:"\u4E0B\u9762\u793A\u4F8B\u7B2C\u4E00\u79CD\u65B9\u6848",paraId:4,tocIndex:0}],Io={"examples-search-table-react-050-tabs-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=B.sent,ne=J.sleep,B.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=B.sent,X=oe.default,B.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=B.sent,_=k.default,B.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=B.sent,Y=te.default,B.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=B.sent,D=Ie.default,B.next=22,Promise.resolve().then(e.t.bind(e,50959,19));case 22:return ee=B.sent,V=ee.useState,ce=[{key:"1",label:"\u5DF2\u63D0\u4EA4"},{key:"2",label:"\u5F85\u63D0\u4EA4"},{key:"3",label:"\u5F85\u5BA1\u6838"}],L=function(){var q=V("1"),xe=o()(q,2),Ae=xe[0],Se=xe[1];return r.createElement(D,{search:{schema:X,labelWidth:80},title:{tabs:{activeKey:Ae,items:ce,onChange:Se}},table:{columns:_},request:function(){var ke=c()(a()().mark(function dt(gt){var Ut;return a()().wrap(function(Wt){for(;;)switch(Wt.prev=Wt.next){case 0:return console.log("activeKey:",Ae),Wt.next=3,ne();case 3:return Ut=Y(gt.pageSize),Wt.abrupt("return",{data:Ut,total:100});case 5:case"end":return Wt.stop()}},dt)}));function et(dt){return ke.apply(this,arguments)}return et}()})},B.abrupt("return",{default:L});case 27:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-050-tabs-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' import createDataSource from './helpers/createDataSource' @@ -4225,7 +4225,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},react:{type:"NPM",value:"18.2.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-050-tabs-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q;return a()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=Ae.sent,ne=J.useState,Ae.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=Ae.sent,X=oe.sleep,Ae.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=Ae.sent,_=k.default,Ae.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=Ae.sent,Y=te.default,Ae.next=18,e.e(9762).then(e.bind(e,39762));case 18:return Ie=Ae.sent,D=Ie.default,Ae.next=22,e.e(184).then(e.bind(e,60184));case 22:return ee=Ae.sent,V=ee.default,Ae.next=26,e.e(5016).then(e.bind(e,35016));case 26:return ce=Ae.sent,L=ce.default,Ae.next=30,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 30:return W=Ae.sent,B=W.default,le=[{key:"1",label:"\u5206\u7C7B\u4E00"},{key:"2",label:"\u5206\u7C7B\u4E8C"}],q=function(){var ke=ne("1"),et=o()(ke,2),dt=et[0],gt=et[1];return r.createElement(B,{search:{schema:_},title:{showSetting:!0,tabs:{activeKey:dt,items:le,onChange:gt}},table:{columns:dt==="1"?Y:D,showRowNumber:!0,actionItems:function(){return[{text:"\u7F16\u8F91"},{text:"\u8BE6\u60C5"}]}},request:function(){var Ut=c()(a()().mark(function Wt(ln){var un,nn;return a()().wrap(function(Un){for(;;)switch(Un.prev=Un.next){case 0:return Un.next=2,X();case 2:if(un=dt==="1"?V:L,nn=un(ln.pageSize),!(Math.random()>.7)){Un.next=6;break}throw new Error("\u629B\u51FA\u4E00\u4E2A\u9519\u8BEF");case 6:return Un.abrupt("return",{data:nn,total:100});case 7:case"end":return Un.stop()}},Wt)}));function Mt(Wt){return Ut.apply(this,arguments)}return Mt}()})},Ae.abrupt("return",{default:q});case 35:case"end":return Ae.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-050-tabs-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},react:{type:"NPM",value:"18.2.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-050-tabs-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le,q;return a()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=Ae.sent,ne=J.useState,Ae.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=Ae.sent,X=oe.sleep,Ae.next=10,e.e(5554).then(e.bind(e,45554));case 10:return k=Ae.sent,_=k.default,Ae.next=14,e.e(2498).then(e.bind(e,22498));case 14:return te=Ae.sent,Y=te.default,Ae.next=18,e.e(9762).then(e.bind(e,39762));case 18:return Ie=Ae.sent,D=Ie.default,Ae.next=22,e.e(184).then(e.bind(e,60184));case 22:return ee=Ae.sent,V=ee.default,Ae.next=26,e.e(5016).then(e.bind(e,35016));case 26:return ce=Ae.sent,L=ce.default,Ae.next=30,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 30:return W=Ae.sent,B=W.default,le=[{key:"1",label:"\u5206\u7C7B\u4E00"},{key:"2",label:"\u5206\u7C7B\u4E8C"}],q=function(){var ke=ne("1"),et=o()(ke,2),dt=et[0],gt=et[1];return r.createElement(B,{search:{schema:_},title:{showSetting:!0,tabs:{activeKey:dt,items:le,onChange:gt}},table:{columns:dt==="1"?Y:D,showRowNumber:!0,actionItems:function(){return[{text:"\u7F16\u8F91"},{text:"\u8BE6\u60C5"}]}},request:function(){var Ut=c()(a()().mark(function Wt(ln){var un,nn;return a()().wrap(function(Un){for(;;)switch(Un.prev=Un.next){case 0:return Un.next=2,X();case 2:if(un=dt==="1"?V:L,nn=un(ln.pageSize),!(Math.random()>.7)){Un.next=6;break}throw new Error("\u629B\u51FA\u4E00\u4E2A\u9519\u8BEF");case 6:return Un.abrupt("return",{data:nn,total:100});case 7:case"end":return Un.stop()}},Wt)}));function Mt(Wt){return Ut.apply(this,arguments)}return Mt}()})},Ae.abrupt("return",{default:q});case 35:case"end":return Ae.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-050-tabs-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' @@ -4273,7 +4273,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource-vt.ts":{type:"FILE",value:e(26423).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z},"helpers/columns-value-type.ts":{type:"FILE",value:e(53846).Z},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z}}}},"examples-search-table-react-050-tabs-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=B.sent,ne=J.sleep,B.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=B.sent,X=oe.default,B.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=B.sent,_=k.default,B.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=B.sent,Y=te.default,B.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=B.sent,D=Ie.default,B.next=22,Promise.resolve().then(e.t.bind(e,50959,19));case 22:return ee=B.sent,V=ee.useState,ce=[{key:"1",label:"\u5DF2\u63D0\u4EA4"},{key:"2",label:"\u5F85\u63D0\u4EA4"},{key:"3",label:"\u5F85\u5BA1\u6838"}],L=function(){var q=V("1"),xe=o()(q,2),Ae=xe[0],Se=xe[1];return r.createElement(D,{search:{schema:X,labelWidth:80},title:{showSetting:!0,tabs:{activeKey:Ae,items:ce,onChange:Se}},table:{columns:_},request:function(){var ke=c()(a()().mark(function dt(gt){var Ut;return a()().wrap(function(Wt){for(;;)switch(Wt.prev=Wt.next){case 0:return console.log("activeKey:",Ae),Wt.next=3,ne();case 3:return Ut=Y(gt.pageSize),Wt.abrupt("return",{data:Ut,total:100});case 5:case"end":return Wt.stop()}},dt)}));function et(dt){return ke.apply(this,arguments)}return et}()})},B.abrupt("return",{default:L});case 27:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-050-tabs-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' +export default Demo`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource-vt.ts":{type:"FILE",value:e(26423).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z},"helpers/columns-value-type.ts":{type:"FILE",value:e(53846).Z},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z}}}},"examples-search-table-react-050-tabs-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=B.sent,ne=J.sleep,B.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=B.sent,X=oe.default,B.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=B.sent,_=k.default,B.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=B.sent,Y=te.default,B.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=B.sent,D=Ie.default,B.next=22,Promise.resolve().then(e.t.bind(e,50959,19));case 22:return ee=B.sent,V=ee.useState,ce=[{key:"1",label:"\u5DF2\u63D0\u4EA4"},{key:"2",label:"\u5F85\u63D0\u4EA4"},{key:"3",label:"\u5F85\u5BA1\u6838"}],L=function(){var q=V("1"),xe=o()(q,2),Ae=xe[0],Se=xe[1];return r.createElement(D,{search:{schema:X,labelWidth:80},title:{showSetting:!0,tabs:{activeKey:Ae,items:ce,onChange:Se}},table:{columns:_},request:function(){var ke=c()(a()().mark(function dt(gt){var Ut;return a()().wrap(function(Wt){for(;;)switch(Wt.prev=Wt.next){case 0:return console.log("activeKey:",Ae),Wt.next=3,ne();case 3:return Ut=Y(gt.pageSize),Wt.abrupt("return",{data:Ut,total:100});case 5:case"end":return Wt.stop()}},dt)}));function et(dt){return ke.apply(this,arguments)}return et}()})},B.abrupt("return",{default:L});case 27:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-050-tabs-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' import createDataSource from './helpers/createDataSource' @@ -4314,7 +4314,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},react:{type:"NPM",value:"18.2.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-050-tabs-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee;return a()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=ce.sent,ne=J.sleep,ce.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=ce.sent,X=oe.default,ce.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=ce.sent,_=k.default,ce.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=ce.sent,Y=te.default,ce.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=ce.sent,D=Ie.default,ee=function(){return r.createElement(D,{search:{schema:X,labelWidth:80},title:{showSetting:!0},table:{columns:_},request:function(){var W=c()(a()().mark(function le(q){var xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,ne();case 2:return xe=Y(q.pageSize),Se.abrupt("return",{data:xe,total:100});case 4:case"end":return Se.stop()}},le)}));function B(le){return W.apply(this,arguments)}return B}()})},ce.abrupt("return",{default:ee});case 22:case"end":return ce.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-050-tabs-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' +export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},react:{type:"NPM",value:"18.2.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-050-tabs-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee;return a()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=ce.sent,ne=J.sleep,ce.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=ce.sent,X=oe.default,ce.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=ce.sent,_=k.default,ce.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=ce.sent,Y=te.default,ce.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=ce.sent,D=Ie.default,ee=function(){return r.createElement(D,{search:{schema:X,labelWidth:80},title:{showSetting:!0},table:{columns:_},request:function(){var W=c()(a()().mark(function le(q){var xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return Se.next=2,ne();case 2:return xe=Y(q.pageSize),Se.abrupt("return",{data:xe,total:100});case 4:case"end":return Se.stop()}},le)}));function B(le){return W.apply(this,arguments)}return B}()})},ce.abrupt("return",{default:ee});case 22:case"end":return ce.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-050-tabs-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' import createDataSource from './helpers/createDataSource' @@ -4338,7 +4338,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-050-tabs-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B;return a()().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=q.sent,ne=J.sleep,q.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=q.sent,X=oe.default,q.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=q.sent,_=k.default,q.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=q.sent,Y=te.default,q.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=q.sent,D=Ie.default,q.next=22,Promise.resolve().then(e.t.bind(e,50959,19));case 22:return ee=q.sent,V=ee.useState,q.next=26,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 26:return ce=q.sent,L=ce.Button,W=[{key:"1",label:"\u5DF2\u63D0\u4EA4"},{key:"2",label:"\u5F85\u63D0\u4EA4"},{key:"3",label:"\u5F85\u5BA1\u6838"}],B=function(){var Ae=V("1"),Se=o()(Ae,2),ke=Se[0],et=Se[1],dt={left:r.createElement(L,{style:{marginRight:16}},"\u5DE6\u4FA7\u5185\u5BB9"),right:r.createElement(L,null,"\u53F3\u4FA7\u5185\u5BB9")};return r.createElement(D,{search:{schema:X,labelWidth:80},title:{showSetting:!0,tabs:{activeKey:ke,items:W,onChange:et,tabBarExtraContent:dt}},table:{columns:_},request:function(){var gt=c()(a()().mark(function Mt(Wt){var ln;return a()().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:return console.log("activeKey:",ke),nn.next=3,ne();case 3:return ln=Y(Wt.pageSize),nn.abrupt("return",{data:ln,total:100});case 5:case"end":return nn.stop()}},Mt)}));function Ut(Mt){return gt.apply(this,arguments)}return Ut}()})},q.abrupt("return",{default:B});case 31:case"end":return q.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-050-tabs-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' +export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}},"examples-search-table-react-050-tabs-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B;return a()().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=q.sent,ne=J.sleep,q.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=q.sent,X=oe.default,q.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=q.sent,_=k.default,q.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=q.sent,Y=te.default,q.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=q.sent,D=Ie.default,q.next=22,Promise.resolve().then(e.t.bind(e,50959,19));case 22:return ee=q.sent,V=ee.useState,q.next=26,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 26:return ce=q.sent,L=ce.Button,W=[{key:"1",label:"\u5DF2\u63D0\u4EA4"},{key:"2",label:"\u5F85\u63D0\u4EA4"},{key:"3",label:"\u5F85\u5BA1\u6838"}],B=function(){var Ae=V("1"),Se=o()(Ae,2),ke=Se[0],et=Se[1],dt={left:r.createElement(L,{style:{marginRight:16}},"\u5DE6\u4FA7\u5185\u5BB9"),right:r.createElement(L,null,"\u53F3\u4FA7\u5185\u5BB9")};return r.createElement(D,{search:{schema:X,labelWidth:80},title:{showSetting:!0,tabs:{activeKey:ke,items:W,onChange:et,tabBarExtraContent:dt}},table:{columns:_},request:function(){var gt=c()(a()().mark(function Mt(Wt){var ln;return a()().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:return console.log("activeKey:",ke),nn.next=3,ne();case 3:return ln=Y(Wt.pageSize),nn.abrupt("return",{data:ln,total:100});case 5:case"end":return nn.stop()}},Mt)}));function Ut(Mt){return gt.apply(this,arguments)}return Ut}()})},q.abrupt("return",{default:B});case 31:case"end":return q.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-table-react-050-tabs-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' import schema from './helpers/schema' import columns from './helpers/columns' import createDataSource from './helpers/createDataSource' @@ -4386,7 +4386,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}}},_r={title:"\u6807\u7B7E\u9875 Tabs",toc:"content",filename:"examples/search-table-react/050-tabs.md",lastUpdated:1720589953e3,order:50,description:"title.tabs \u5C5E\u6027\u53EF\u5B9A\u4E49\u6807\u7B7E\u9875\u5207\u6362\u529F\u80FD\uFF0C\u5207\u6362\u540E\u4F1A\u518D\u6B21\u8C03\u7528 request \u51FD\u6570\u3002API \u4E0E Antd Tabs \u7EC4\u4EF6\u4E00\u81F4\u3002"},xo=[{id:"\u6807\u7B7E\u9875-tabs",depth:1,title:"\u6807\u7B7E\u9875 Tabs"},{id:"\u57FA\u7840\u7528\u6CD5",depth:2,title:"\u57FA\u7840\u7528\u6CD5"},{id:"\u5206\u7C7B\u4E0D\u540C\u5217\u6570\u636E",depth:2,title:"\u5206\u7C7B\u4E0D\u540C\u5217\u6570\u636E"},{id:"\u5F00\u542F\u5217\u8BBE\u7F6E",depth:2,title:"\u5F00\u542F\u5217\u8BBE\u7F6E"},{id:"\u5355\u5F00\u5217\u8BBE\u7F6E",depth:2,title:"\u5355\u5F00\u5217\u8BBE\u7F6E"},{id:"\u81EA\u5B9A\u4E49\u4E24\u4FA7\u5185\u5BB9",depth:2,title:"\u81EA\u5B9A\u4E49\u4E24\u4FA7\u5185\u5BB9"}],wa=[{value:"title.tabs",paraId:0,tocIndex:1},{value:" \u5C5E\u6027\u53EF\u5B9A\u4E49\u6807\u7B7E\u9875\u5207\u6362\u529F\u80FD\uFF0C\u5207\u6362\u540E\u4F1A\u518D\u6B21\u8C03\u7528 ",paraId:0,tocIndex:1},{value:"request",paraId:0,tocIndex:1},{value:" \u51FD\u6570\u3002API \u4E0E Antd ",paraId:0,tocIndex:1},{value:"Tabs",paraId:0,tocIndex:1},{value:" \u7EC4\u4EF6\u4E00\u81F4\u3002",paraId:0,tocIndex:1},{value:"\u8BBE\u7F6E ",paraId:1,tocIndex:3},{value:"showSetting",paraId:1,tocIndex:3},{value:" \u5C5E\u6027\u4E3A ",paraId:1,tocIndex:3},{value:"true",paraId:1,tocIndex:3},{value:" \u53EF\u4EE5\u5F00\u542F\u5217\u8BBE\u7F6E\u529F\u80FD\u3002",paraId:1,tocIndex:3},{value:"\u4EC5\u5F00\u542F\u5217\u8BBE\u7F6E\u529F\u80FD\u65F6\uFF0C\u6807\u9898\u680F DOM \u7ED3\u6784\u6709\u53D8\u5316\uFF0C\u4E0D\u5B58\u5728 Tabs \u7EC4\u4EF6 DOM \u7ED3\u6784\u3002",paraId:2,tocIndex:4},{value:"\u4F7F\u7528 Antd Tabs \u81EA\u5E26\u7684 ",paraId:3,tocIndex:5},{value:"tabBarExtraContent",paraId:3,tocIndex:5},{value:" \u5C5E\u6027\u5B9E\u73B0\u3002",paraId:3,tocIndex:5}],jr={"examples-core-react-002-quick-start-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=D.sent,X=oe.Input,k=function(V){var ce=V.schema,L=V.body;return r.createElement("div",null,r.createElement("h3",null,ce.title),r.createElement("div",null,L))},_={InputText:{component:function(V){var ce=V.schema,L=V.value,W=V.onChange;return r.createElement(X,C()(C()({},ce.renderOptions),{},{value:L,onChange:function(le){return W(le.target.value)}}))}},Textarea:{component:function(V){var ce=V.schema,L=V.value,W=V.onChange;return r.createElement(X.TextArea,C()(C()({placeholder:"\u8BF7\u8F93\u5165".concat(ce.title)},ce.renderOptions),{},{value:L,onChange:function(le){return W(le.target.value)}}))}}},te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",renderOptions:{maxLength:10,placeholder:"\u8BF7\u8F93\u5165\u6807\u9898\uFF0C\u6700\u591A10\u4E2A\u5B57\u7B26"}},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},Y=function(){return r.createElement(ne,{itemLayout:k,renderers:_,schema:te})},D.abrupt("return",{default:Y});case 13:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-002-quick-start-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"helpers/schema.ts":{type:"FILE",value:e(53750).Z},"helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}}},_r={title:"\u6807\u7B7E\u9875 Tabs",toc:"content",filename:"examples/search-table-react/050-tabs.md",lastUpdated:1720589953e3,order:50,description:"title.tabs \u5C5E\u6027\u53EF\u5B9A\u4E49\u6807\u7B7E\u9875\u5207\u6362\u529F\u80FD\uFF0C\u5207\u6362\u540E\u4F1A\u518D\u6B21\u8C03\u7528 request \u51FD\u6570\u3002API \u4E0E Antd Tabs \u7EC4\u4EF6\u4E00\u81F4\u3002"},xo=[{id:"\u6807\u7B7E\u9875-tabs",depth:1,title:"\u6807\u7B7E\u9875 Tabs"},{id:"\u57FA\u7840\u7528\u6CD5",depth:2,title:"\u57FA\u7840\u7528\u6CD5"},{id:"\u5206\u7C7B\u4E0D\u540C\u5217\u6570\u636E",depth:2,title:"\u5206\u7C7B\u4E0D\u540C\u5217\u6570\u636E"},{id:"\u5F00\u542F\u5217\u8BBE\u7F6E",depth:2,title:"\u5F00\u542F\u5217\u8BBE\u7F6E"},{id:"\u5355\u5F00\u5217\u8BBE\u7F6E",depth:2,title:"\u5355\u5F00\u5217\u8BBE\u7F6E"},{id:"\u81EA\u5B9A\u4E49\u4E24\u4FA7\u5185\u5BB9",depth:2,title:"\u81EA\u5B9A\u4E49\u4E24\u4FA7\u5185\u5BB9"}],wa=[{value:"title.tabs",paraId:0,tocIndex:1},{value:" \u5C5E\u6027\u53EF\u5B9A\u4E49\u6807\u7B7E\u9875\u5207\u6362\u529F\u80FD\uFF0C\u5207\u6362\u540E\u4F1A\u518D\u6B21\u8C03\u7528 ",paraId:0,tocIndex:1},{value:"request",paraId:0,tocIndex:1},{value:" \u51FD\u6570\u3002API \u4E0E Antd ",paraId:0,tocIndex:1},{value:"Tabs",paraId:0,tocIndex:1},{value:" \u7EC4\u4EF6\u4E00\u81F4\u3002",paraId:0,tocIndex:1},{value:"\u8BBE\u7F6E ",paraId:1,tocIndex:3},{value:"showSetting",paraId:1,tocIndex:3},{value:" \u5C5E\u6027\u4E3A ",paraId:1,tocIndex:3},{value:"true",paraId:1,tocIndex:3},{value:" \u53EF\u4EE5\u5F00\u542F\u5217\u8BBE\u7F6E\u529F\u80FD\u3002",paraId:1,tocIndex:3},{value:"\u4EC5\u5F00\u542F\u5217\u8BBE\u7F6E\u529F\u80FD\u65F6\uFF0C\u6807\u9898\u680F DOM \u7ED3\u6784\u6709\u53D8\u5316\uFF0C\u4E0D\u5B58\u5728 Tabs \u7EC4\u4EF6 DOM \u7ED3\u6784\u3002",paraId:2,tocIndex:4},{value:"\u4F7F\u7528 Antd Tabs \u81EA\u5E26\u7684 ",paraId:3,tocIndex:5},{value:"tabBarExtraContent",paraId:3,tocIndex:5},{value:" \u5C5E\u6027\u5B9E\u73B0\u3002",paraId:3,tocIndex:5}],jr={"examples-core-react-002-quick-start-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=D.sent,X=oe.Input,k=function(V){var ce=V.schema,L=V.body;return r.createElement("div",null,r.createElement("h3",null,ce.title),r.createElement("div",null,L))},_={InputText:{component:function(V){var ce=V.schema,L=V.value,W=V.onChange;return r.createElement(X,C()(C()({},ce.renderOptions),{},{value:L,onChange:function(le){return W(le.target.value)}}))}},Textarea:{component:function(V){var ce=V.schema,L=V.value,W=V.onChange;return r.createElement(X.TextArea,C()(C()({placeholder:"\u8BF7\u8F93\u5165".concat(ce.title)},ce.renderOptions),{},{value:L,onChange:function(le){return W(le.target.value)}}))}}},te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",renderOptions:{maxLength:10,placeholder:"\u8BF7\u8F93\u5165\u6807\u9898\uFF0C\u6700\u591A10\u4E2A\u5B57\u7B26"}},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},Y=function(){return r.createElement(ne,{itemLayout:k,renderers:_,schema:te})},D.abrupt("return",{default:Y});case 13:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-002-quick-start-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import { Input } from 'antd' /** @@ -4485,7 +4485,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},antd:{type:"NPM",value:"5.9.0"}}}},"examples-core-react-002-quick-start-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=V.sent,ne=J.default,V.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=V.sent,X=oe.Input,V.next=10,Promise.resolve().then(e.t.bind(e,50959,19));case 10:return k=V.sent,_=k.useState,te=function(L){var W=L.schema,B=L.body;return r.createElement("div",null,r.createElement("h3",null,W.title),r.createElement("div",null,B))},Y={InputText:{component:function(L){var W=L.schema,B=L.value,le=L.onChange;return r.createElement(X,C()(C()({},W.renderOptions),{},{value:B,onChange:function(xe){return le(xe.target.value)}}))}},Textarea:{component:function(L){var W=L.schema,B=L.value,le=L.onChange;return r.createElement(X.TextArea,C()(C()({placeholder:"\u8BF7\u8F93\u5165".concat(W.title)},W.renderOptions),{},{value:B,onChange:function(xe){return le(xe.target.value)}}))}}},Ie={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",renderOptions:{maxLength:10,placeholder:"\u8BF7\u8F93\u5165\u6807\u9898\uFF0C\u6700\u591A10\u4E2A\u5B57\u7B26"}},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},D=function(){var L=_({}),W=o()(L,2),B=W[0],le=W[1];return r.createElement("div",null,r.createElement(ne,{itemLayout:te,renderers:Y,schema:Ie,onChange:le}),r.createElement("h4",null,"\u6253\u5370\u8868\u5355\u6570\u636E\uFF1A"),r.createElement("pre",{style:{padding:"1em",background:"#f6f6f6"}},JSON.stringify(B,null,2)))},V.abrupt("return",{default:D});case 17:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-002-quick-start-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},antd:{type:"NPM",value:"5.9.0"}}}},"examples-core-react-002-quick-start-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=V.sent,ne=J.default,V.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=V.sent,X=oe.Input,V.next=10,Promise.resolve().then(e.t.bind(e,50959,19));case 10:return k=V.sent,_=k.useState,te=function(L){var W=L.schema,B=L.body;return r.createElement("div",null,r.createElement("h3",null,W.title),r.createElement("div",null,B))},Y={InputText:{component:function(L){var W=L.schema,B=L.value,le=L.onChange;return r.createElement(X,C()(C()({},W.renderOptions),{},{value:B,onChange:function(xe){return le(xe.target.value)}}))}},Textarea:{component:function(L){var W=L.schema,B=L.value,le=L.onChange;return r.createElement(X.TextArea,C()(C()({placeholder:"\u8BF7\u8F93\u5165".concat(W.title)},W.renderOptions),{},{value:B,onChange:function(xe){return le(xe.target.value)}}))}}},Ie={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",renderOptions:{maxLength:10,placeholder:"\u8BF7\u8F93\u5165\u6807\u9898\uFF0C\u6700\u591A10\u4E2A\u5B57\u7B26"}},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},D=function(){var L=_({}),W=o()(L,2),B=W[0],le=W[1];return r.createElement("div",null,r.createElement(ne,{itemLayout:te,renderers:Y,schema:Ie,onChange:le}),r.createElement("h4",null,"\u6253\u5370\u8868\u5355\u6570\u636E\uFF1A"),r.createElement("pre",{style:{padding:"1em",background:"#f6f6f6"}},JSON.stringify(B,null,2)))},V.abrupt("return",{default:D});case 17:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-002-quick-start-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import { Input } from 'antd' import { useState } from 'react' @@ -4565,7 +4565,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},antd:{type:"NPM",value:"5.9.0"},react:{type:"NPM",value:"18.2.0"}}}}},Ya={title:"\u5FEB\u901F\u4E0A\u624B",toc:"content",filename:"examples/core-react/002-quick-start.md",lastUpdated:1704082387e3,group:"\u4ECB\u7ECD",description:"\u6B65\u9AA4\u4E00\uFF1A \u9700\u8981\u5148\u7EC4\u88C5\u5FC5\u987B\u7684\u90E8\u4EF6 itemLayout\uFF08\u8868\u5355\u9879\u5E03\u5C40\uFF09\u3001Renderers\uFF08\u6E32\u67D3\u5668\u96C6\u5408\uFF09\u4F7F Core \u8FD0\u884C\u5B8C\u6574\u3002"},ro=[{id:"\u5FEB\u901F\u4E0A\u624B",depth:1,title:"\u5FEB\u901F\u4E0A\u624B"},{id:"\u5B89\u88C5",depth:2,title:"\u5B89\u88C5"},{id:"\u4F7F\u7528",depth:2,title:"\u4F7F\u7528"},{id:"\u793A\u4F8B\u4E00",depth:3,title:"\u793A\u4F8B\u4E00"},{id:"\u793A\u4F8B\u4E8C",depth:3,title:"\u793A\u4F8B\u4E8C"}],Ca=[{value:`npm install @schema-render/core-react --save +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},antd:{type:"NPM",value:"5.9.0"},react:{type:"NPM",value:"18.2.0"}}}}},Ya={title:"\u5FEB\u901F\u4E0A\u624B",toc:"content",filename:"examples/core-react/002-quick-start.md",lastUpdated:1704082387e3,group:"\u4ECB\u7ECD",description:"\u6B65\u9AA4\u4E00\uFF1A \u9700\u8981\u5148\u7EC4\u88C5\u5FC5\u987B\u7684\u90E8\u4EF6 itemLayout\uFF08\u8868\u5355\u9879\u5E03\u5C40\uFF09\u3001Renderers\uFF08\u6E32\u67D3\u5668\u96C6\u5408\uFF09\u4F7F Core \u8FD0\u884C\u5B8C\u6574\u3002"},ro=[{id:"\u5FEB\u901F\u4E0A\u624B",depth:1,title:"\u5FEB\u901F\u4E0A\u624B"},{id:"\u5B89\u88C5",depth:2,title:"\u5B89\u88C5"},{id:"\u4F7F\u7528",depth:2,title:"\u4F7F\u7528"},{id:"\u793A\u4F8B\u4E00",depth:3,title:"\u793A\u4F8B\u4E00"},{id:"\u793A\u4F8B\u4E8C",depth:3,title:"\u793A\u4F8B\u4E8C"}],Ca=[{value:`npm install @schema-render/core-react --save `,paraId:0,tocIndex:1},{value:"\u6B65\u9AA4\u4E00\uFF1A",paraId:1,tocIndex:2},{value:" \u9700\u8981\u5148\u7EC4\u88C5\u5FC5\u987B\u7684\u90E8\u4EF6 ",paraId:1,tocIndex:2},{value:"itemLayout",paraId:1,tocIndex:2},{value:"\uFF08\u8868\u5355\u9879\u5E03\u5C40\uFF09\u3001",paraId:1,tocIndex:2},{value:"Renderers",paraId:1,tocIndex:2},{value:"\uFF08\u6E32\u67D3\u5668\u96C6\u5408\uFF09\u4F7F Core \u8FD0\u884C\u5B8C\u6574\u3002",paraId:1,tocIndex:2},{value:"itemLayout",paraId:2,tocIndex:2},{value:": \u5B9A\u4E49\u8868\u5355\u9879\u7684\u5E03\u5C40\u7ED3\u6784\uFF0C\u8BE6\u60C5\u8BF7\u53C2\u89C1 ",paraId:2,tocIndex:2},{value:"\u5E03\u5C40\u7ED3\u6784 itemLayout",paraId:3,tocIndex:2},{value:"Renderers",paraId:2,tocIndex:2},{value:": \u6CE8\u518C\u6E32\u67D3\u5668\uFF0C\u6E32\u67D3\u8868\u5355\u9879\u7684\u4E3B\u4F53\u5185\u5BB9\uFF0C",paraId:2,tocIndex:2},{value:"schema \u534F\u8BAE",paraId:2,tocIndex:2},{value:" \u7684 ",paraId:2,tocIndex:2},{value:"renderType",paraId:2,tocIndex:2},{value:" \u5B57\u6BB5\u6307\u5411\u5176\u540D\u79F0\uFF0C\u8BE6\u60C5\u8BF7\u53C2\u89C1 ",paraId:2,tocIndex:2},{value:"\u6E32\u67D3\u5668 Renderer",paraId:4,tocIndex:2},{value:"\u6B65\u9AA4\u4E8C\uFF1A",paraId:5,tocIndex:2},{value:" \u7136\u540E\u901A\u8FC7\u58F0\u660E ",paraId:5,tocIndex:2},{value:"Schema \u534F\u8BAE",paraId:5,tocIndex:2},{value:" \u6765\u63CF\u8FF0\u9700\u8981\u6E32\u67D3\u4EC0\u4E48\u6837\u7684\u8868\u5355\u3002",paraId:5,tocIndex:2},{value:"\u534F\u8BAE\u8BE6\u60C5\u8BF7\u53C2\u89C1 ",paraId:6,tocIndex:2},{value:"\u534F\u8BAE\u4ECB\u7ECD Schema",paraId:7,tocIndex:2},{value:"\u6B65\u9AA4\u4E09\uFF1A",paraId:8,tocIndex:2},{value:" \u53EF\u9009\u6B65\u9AA4\uFF0C\u901A\u8FC7 ",paraId:8,tocIndex:2},{value:"onChange",paraId:8,tocIndex:2},{value:" \u4E8B\u4EF6\u83B7\u53D6\u8868\u5355\u7684\u6574\u4F53\u6570\u636E\u3002",paraId:8,tocIndex:2},{value:"\u4E8B\u4EF6\u8BE6\u60C5\u8BF7\u53C2\u89C1 ",paraId:9,tocIndex:2},{value:"\u6570\u636E\u56DE\u8C03 ChangeEvent",paraId:10,tocIndex:2},{value:"\u6B65\u9AA4\u56DB\uFF1A",paraId:11,tocIndex:2},{value:" \u53EF\u9009\u6B65\u9AA4\uFF0C\u901A\u8FC7 ",paraId:11,tocIndex:2},{value:"value",paraId:11,tocIndex:2},{value:" \u53C2\u6570\u5B9E\u73B0\u8868\u5355\u6570\u636E\u81EA\u5DF1\u63A7\u5236\u3002",paraId:11,tocIndex:2},{value:"\u53C2\u8003\u9605\u8BFB\uFF1A",paraId:12,tocIndex:2},{value:"\u72B6\u6001\u53D7\u63A7\u4E0E\u975E\u53D7\u63A7",paraId:12,tocIndex:2},{value:"\u6B65\u9AA4\u4E00\u52A0\u6B65\u9AA4\u4E8C",paraId:13,tocIndex:3},{value:"\u589E\u52A0\u6B65\u9AA4\u4E09",paraId:14,tocIndex:4}],Da={"examples-core-react-101-item-layout-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=B.sent,ne=J.default,B.next=6,Promise.all([e.e(1548),e.e(9752),e.e(1791)]).then(e.bind(e,1791));case 6:return oe=B.sent,X=oe.QuestionCircleOutlined,B.next=10,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 10:return k=B.sent,_=k.Popover,B.next=14,Promise.resolve().then(e.t.bind(e,84875,23));case 14:return te=B.sent,Y=te.default,B.next=18,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 18:return Ie=B.sent,D=Ie.default,B.next=22,Promise.all([e.e(8104),e.e(5168)]).then(e.bind(e,5168));case 22:return ee=B.sent,V=function(q){var xe=q.body,Ae=q.schema,Se=q.validator,ke=q.required,et=q.prefixClassNames;return r.createElement("div",{className:et("item-layout-vertical")},r.createElement("div",{className:Y(et("item-header"),ee.header)},ke&&r.createElement("span",{className:Y(et("item-mark"),ee.mark)},"*"),r.createElement("span",{className:Y(et("item-title"),ee.title)},Ae.title),!!Ae.titleDescription&&r.createElement(_,{placement:"top",trigger:"hover",content:Ae.titleDescription},r.createElement(X,{className:Y(et("item-title-tooltip"),ee.titleTooltip)}))),r.createElement("div",{className:et("item-body")},xe),r.createElement("div",{className:Y(et("item-footer"),ee.footer)},Se.status==="error"&&!!Se.message&&r.createElement("div",{className:Y(et("item-error-msg"),ee.errorMsg)},Se.message),!!Ae.description&&r.createElement("div",{className:Y(et("item-desc"),ee.desc)},Ae.description)))},ce={renderType:"Root",properties:{title:{title:"\u6807\u9898",titleDescription:"\u6807\u9898\u7684\u4E00\u4E9B\u63CF\u8FF0",description:"\u8868\u5355\u9879\u7684\u4E00\u4E9B\u63CF\u8FF0",required:!0,renderType:"InputText",renderOptions:{maxLength:10,placeholder:"\u8BF7\u8F93\u5165\u6807\u9898\uFF0C\u6700\u591A10\u4E2A\u5B57\u7B26"}},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0}}},L=function(){return r.createElement(ne,{schema:ce,itemLayout:V,renderers:D})},B.abrupt("return",{default:L});case 27:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-101-item-layout-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core, { IOpenItemLayoutParams } from '@schema-render/core-react' import { QuestionCircleOutlined } from '@ant-design/icons' import { Popover } from 'antd' @@ -4661,7 +4661,7 @@ const Demo = () => { return } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"@ant-design/icons":{type:"NPM",value:"5.0.1"},antd:{type:"NPM",value:"5.9.0"},classnames:{type:"NPM",value:"2.3.2"},"item-layout/Vertical/styles.ts":{type:"FILE",value:e(83280).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-101-item-layout-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=B.sent,ne=J.default,B.next=6,Promise.all([e.e(1548),e.e(9752),e.e(1791)]).then(e.bind(e,1791));case 6:return oe=B.sent,X=oe.QuestionCircleOutlined,B.next=10,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 10:return k=B.sent,_=k.Popover,B.next=14,Promise.resolve().then(e.t.bind(e,84875,23));case 14:return te=B.sent,Y=te.default,B.next=18,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 18:return Ie=B.sent,D=Ie.default,B.next=22,Promise.all([e.e(8104),e.e(2633)]).then(e.bind(e,72633));case 22:return ee=B.sent,V=function(q){var xe=q.body,Ae=q.schema,Se=q.validator,ke=q.required,et=q.prefixClassNames;return r.createElement("div",{className:Y(et("item-layout-horizontal"),ee.horizontal)},r.createElement("div",{className:Y(et("item-main"),ee.main)},r.createElement("div",{className:Y(et("item-header"),ee.header)},ke&&r.createElement("span",{className:Y(et("item-mark"),ee.mark)},"*"),r.createElement("span",{className:Y(et("item-title"),ee.title)},Ae.title),!!Ae.titleDescription&&r.createElement(_,{placement:"top",trigger:"hover",content:Ae.titleDescription},r.createElement(X,{className:Y(et("item-title-tooltip"),ee.titleTooltip)}))),r.createElement("div",{className:Y(et("item-body"),ee.body)},xe)),r.createElement("div",{className:Y(et("item-footer"),ee.footer)},Se.status==="error"&&!!Se.message&&r.createElement("div",{className:Y(et("item-error-msg"),ee.errorMsg)},Se.message),!!Ae.description&&r.createElement("div",{className:Y(et("item-desc"),ee.desc)},Ae.description)))},ce={renderType:"Root",properties:{title:{title:"\u6807\u9898",titleDescription:"\u6807\u9898\u7684\u4E00\u4E9B\u63CF\u8FF0",description:"\u8868\u5355\u9879\u7684\u4E00\u4E9B\u63CF\u8FF0",required:!0,renderType:"InputText",renderOptions:{maxLength:10,placeholder:"\u8BF7\u8F93\u5165\u6807\u9898\uFF0C\u6700\u591A10\u4E2A\u5B57\u7B26"}},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0}}},L=function(){return r.createElement(ne,{schema:ce,itemLayout:V,renderers:D})},B.abrupt("return",{default:L});case 27:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-101-item-layout-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core, { IOpenItemLayoutParams } from '@schema-render/core-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"@ant-design/icons":{type:"NPM",value:"5.0.1"},antd:{type:"NPM",value:"5.9.0"},classnames:{type:"NPM",value:"2.3.2"},"item-layout/Vertical/styles.ts":{type:"FILE",value:e(83280).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-101-item-layout-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=B.sent,ne=J.default,B.next=6,Promise.all([e.e(1548),e.e(9752),e.e(1791)]).then(e.bind(e,1791));case 6:return oe=B.sent,X=oe.QuestionCircleOutlined,B.next=10,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 10:return k=B.sent,_=k.Popover,B.next=14,Promise.resolve().then(e.t.bind(e,84875,23));case 14:return te=B.sent,Y=te.default,B.next=18,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 18:return Ie=B.sent,D=Ie.default,B.next=22,Promise.all([e.e(8104),e.e(2633)]).then(e.bind(e,72633));case 22:return ee=B.sent,V=function(q){var xe=q.body,Ae=q.schema,Se=q.validator,ke=q.required,et=q.prefixClassNames;return r.createElement("div",{className:Y(et("item-layout-horizontal"),ee.horizontal)},r.createElement("div",{className:Y(et("item-main"),ee.main)},r.createElement("div",{className:Y(et("item-header"),ee.header)},ke&&r.createElement("span",{className:Y(et("item-mark"),ee.mark)},"*"),r.createElement("span",{className:Y(et("item-title"),ee.title)},Ae.title),!!Ae.titleDescription&&r.createElement(_,{placement:"top",trigger:"hover",content:Ae.titleDescription},r.createElement(X,{className:Y(et("item-title-tooltip"),ee.titleTooltip)}))),r.createElement("div",{className:Y(et("item-body"),ee.body)},xe)),r.createElement("div",{className:Y(et("item-footer"),ee.footer)},Se.status==="error"&&!!Se.message&&r.createElement("div",{className:Y(et("item-error-msg"),ee.errorMsg)},Se.message),!!Ae.description&&r.createElement("div",{className:Y(et("item-desc"),ee.desc)},Ae.description)))},ce={renderType:"Root",properties:{title:{title:"\u6807\u9898",titleDescription:"\u6807\u9898\u7684\u4E00\u4E9B\u63CF\u8FF0",description:"\u8868\u5355\u9879\u7684\u4E00\u4E9B\u63CF\u8FF0",required:!0,renderType:"InputText",renderOptions:{maxLength:10,placeholder:"\u8BF7\u8F93\u5165\u6807\u9898\uFF0C\u6700\u591A10\u4E2A\u5B57\u7B26"}},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0}}},L=function(){return r.createElement(ne,{schema:ce,itemLayout:V,renderers:D})},B.abrupt("return",{default:L});case 27:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-101-item-layout-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core, { IOpenItemLayoutParams } from '@schema-render/core-react' import { QuestionCircleOutlined } from '@ant-design/icons' import { Popover } from 'antd' import classNames from 'classnames' @@ -4765,7 +4765,7 @@ const Demo = () => { return } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"@ant-design/icons":{type:"NPM",value:"5.0.1"},antd:{type:"NPM",value:"5.9.0"},classnames:{type:"NPM",value:"2.3.2"},"item-layout/Horizontal/styles.ts":{type:"FILE",value:e(47596).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}}},$o={title:"\u5E03\u5C40\u7ED3\u6784 itemLayout",toc:"content",filename:"examples/core-react/101-item-layout.md",lastUpdated:1704082387e3,group:"\u6837\u5F0F\u5B9A\u5236",order:101,description:"itemLayout \u7528\u4E8E\u5B9A\u4E49 \u8868\u5355\u9879\u5185\u90E8 \u7684\u5E03\u5C40\u7ED3\u6784\u3002"},So=[{id:"\u5E03\u5C40\u7ED3\u6784-itemlayout",depth:1,title:"\u5E03\u5C40\u7ED3\u6784 itemLayout"},{id:"\u7EB5\u5411\u5E03\u5C40-vertical",depth:2,title:"\u7EB5\u5411\u5E03\u5C40 Vertical"},{id:"\u6A2A\u5411\u5E03\u5C40-horizontal",depth:2,title:"\u6A2A\u5411\u5E03\u5C40 Horizontal"},{id:"\u53C2\u6570\u8BE6\u89E3",depth:2,title:"\u53C2\u6570\u8BE6\u89E3"}],ao=[{value:"itemLayout",paraId:0,tocIndex:0},{value:" \u7528\u4E8E\u5B9A\u4E49 ",paraId:0,tocIndex:0},{value:"\u8868\u5355\u9879\u5185\u90E8",paraId:0,tocIndex:0},{value:" \u7684\u5E03\u5C40\u7ED3\u6784\u3002",paraId:0,tocIndex:0},{value:"\u5E38\u89C1\u7684\u5E03\u5C40\u7ED3\u6784\u6709 2 \u79CD\uFF1A\u7EB5\u5411\u5E03\u5C40\uFF08Vertical\uFF09\u548C\u6A2A\u5411\u5E03\u5C40\uFF08Horizontal\uFF09\uFF0C\u4E0B\u9762\u7684\u7AE0\u8282\u5C06\u4E3E\u4F8B\u5B9E\u73B0\u8FD9\u4E24\u79CD\u5E03\u5C40\u3002",paraId:1,tocIndex:0},{value:"\u5982\u679C\u662F TypeScript \u9879\u76EE\uFF0C\u53EF\u4EE5\u901A\u8FC7 ",paraId:2,tocIndex:3},{value:"IOpenItemLayoutParams",paraId:2,tocIndex:3},{value:" \u7C7B\u578B\u4E86\u89E3\u6240\u6709\u7684\u53C2\u6570\u53CA\u5176\u6CE8\u89E3\u3002",paraId:2,tocIndex:3},{value:"\u53C2\u6570",paraId:3,tocIndex:3},{value:"\u8BF4\u660E",paraId:3,tocIndex:3},{value:"\u7C7B\u578B",paraId:3,tocIndex:3},{value:"schema",paraId:3,tocIndex:3},{value:"Schema \u534F\u8BAE\u63CF\u8FF0\u5BF9\u8C61",paraId:3,tocIndex:3},{value:"ISchema",paraId:3,tocIndex:3},{value:"required",paraId:3,tocIndex:3},{value:"\u662F\u5426\u5FC5\u586B\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:3,tocIndex:3},{value:"boolean",paraId:3,tocIndex:3},{value:"disabled",paraId:3,tocIndex:3},{value:"\u662F\u5426\u7981\u7528\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:3,tocIndex:3},{value:"boolean",paraId:3,tocIndex:3},{value:"readonly",paraId:3,tocIndex:3},{value:"\u662F\u5426\u53EA\u8BFB\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:3,tocIndex:3},{value:"boolean",paraId:3,tocIndex:3},{value:"validator",paraId:3,tocIndex:3},{value:"\u6821\u9A8C\u7ED3\u679C\u4FE1\u606F\uFF0C\u5305\u542B ",paraId:3,tocIndex:3},{value:"status(\u72B6\u6001)",paraId:3,tocIndex:3},{value:"\u3001",paraId:3,tocIndex:3},{value:"message(\u63D0\u793A\u4FE1\u606F)",paraId:3,tocIndex:3},{value:"\u3001",paraId:3,tocIndex:3},{value:"extra(\u989D\u5916\u6570\u636E)",paraId:3,tocIndex:3},{value:"object",paraId:3,tocIndex:3},{value:"locale",paraId:3,tocIndex:3},{value:"\u5F53\u524D\u8BED\u8A00\u6570\u636E",paraId:3,tocIndex:3},{value:"object",paraId:3,tocIndex:3},{value:"userCtx",paraId:3,tocIndex:3},{value:"\u7528\u6237\u5168\u5C40\u4E0A\u4E0B\u6587\u6570\u636E",paraId:3,tocIndex:3},{value:"object",paraId:3,tocIndex:3},{value:"body",paraId:3,tocIndex:3},{value:"\u6E32\u67D3\u5668\u7EC4\u4EF6",paraId:3,tocIndex:3},{value:"ReactNode",paraId:3,tocIndex:3},{value:"prefixClassNames",paraId:3,tocIndex:3},{value:"\u5BF9 ",paraId:3,tocIndex:3},{value:"classnames",paraId:3,tocIndex:3},{value:" \u5BFC\u51FA\u65B9\u6CD5\u7684\u5305\u88C5\uFF0C\u5E26\u6709 prefixCls \u524D\u7F00\u7684\u7C7B\u540D\u65B9\u6CD5",paraId:3,tocIndex:3},{value:"(...args: classNames.ArgumentArray) => string",paraId:3,tocIndex:3}],Eo={"examples-core-react-102-prefix-cls-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{width:{title:"\u5BBD\u5EA6",renderType:"InputNumber"},height:{title:"\u9AD8\u5EA6",renderType:"InputNumber"},left:{title:"\u6C34\u5E73\u4F4D\u7F6E",renderType:"InputNumber"},top:{title:"\u5782\u76F4\u4F4D\u7F6E",renderType:"InputNumber"}}},Y=function(){return r.createElement(ne,{schema:te,itemLayout:X,renderers:_,prefixCls:"my-cls"})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-102-prefix-cls-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"@ant-design/icons":{type:"NPM",value:"5.0.1"},antd:{type:"NPM",value:"5.9.0"},classnames:{type:"NPM",value:"2.3.2"},"item-layout/Horizontal/styles.ts":{type:"FILE",value:e(47596).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}}},$o={title:"\u5E03\u5C40\u7ED3\u6784 itemLayout",toc:"content",filename:"examples/core-react/101-item-layout.md",lastUpdated:1704082387e3,group:"\u6837\u5F0F\u5B9A\u5236",order:101,description:"itemLayout \u7528\u4E8E\u5B9A\u4E49 \u8868\u5355\u9879\u5185\u90E8 \u7684\u5E03\u5C40\u7ED3\u6784\u3002"},So=[{id:"\u5E03\u5C40\u7ED3\u6784-itemlayout",depth:1,title:"\u5E03\u5C40\u7ED3\u6784 itemLayout"},{id:"\u7EB5\u5411\u5E03\u5C40-vertical",depth:2,title:"\u7EB5\u5411\u5E03\u5C40 Vertical"},{id:"\u6A2A\u5411\u5E03\u5C40-horizontal",depth:2,title:"\u6A2A\u5411\u5E03\u5C40 Horizontal"},{id:"\u53C2\u6570\u8BE6\u89E3",depth:2,title:"\u53C2\u6570\u8BE6\u89E3"}],ao=[{value:"itemLayout",paraId:0,tocIndex:0},{value:" \u7528\u4E8E\u5B9A\u4E49 ",paraId:0,tocIndex:0},{value:"\u8868\u5355\u9879\u5185\u90E8",paraId:0,tocIndex:0},{value:" \u7684\u5E03\u5C40\u7ED3\u6784\u3002",paraId:0,tocIndex:0},{value:"\u5E38\u89C1\u7684\u5E03\u5C40\u7ED3\u6784\u6709 2 \u79CD\uFF1A\u7EB5\u5411\u5E03\u5C40\uFF08Vertical\uFF09\u548C\u6A2A\u5411\u5E03\u5C40\uFF08Horizontal\uFF09\uFF0C\u4E0B\u9762\u7684\u7AE0\u8282\u5C06\u4E3E\u4F8B\u5B9E\u73B0\u8FD9\u4E24\u79CD\u5E03\u5C40\u3002",paraId:1,tocIndex:0},{value:"\u5982\u679C\u662F TypeScript \u9879\u76EE\uFF0C\u53EF\u4EE5\u901A\u8FC7 ",paraId:2,tocIndex:3},{value:"IOpenItemLayoutParams",paraId:2,tocIndex:3},{value:" \u7C7B\u578B\u4E86\u89E3\u6240\u6709\u7684\u53C2\u6570\u53CA\u5176\u6CE8\u89E3\u3002",paraId:2,tocIndex:3},{value:"\u53C2\u6570",paraId:3,tocIndex:3},{value:"\u8BF4\u660E",paraId:3,tocIndex:3},{value:"\u7C7B\u578B",paraId:3,tocIndex:3},{value:"schema",paraId:3,tocIndex:3},{value:"Schema \u534F\u8BAE\u63CF\u8FF0\u5BF9\u8C61",paraId:3,tocIndex:3},{value:"ISchema",paraId:3,tocIndex:3},{value:"required",paraId:3,tocIndex:3},{value:"\u662F\u5426\u5FC5\u586B\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:3,tocIndex:3},{value:"boolean",paraId:3,tocIndex:3},{value:"disabled",paraId:3,tocIndex:3},{value:"\u662F\u5426\u7981\u7528\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:3,tocIndex:3},{value:"boolean",paraId:3,tocIndex:3},{value:"readonly",paraId:3,tocIndex:3},{value:"\u662F\u5426\u53EA\u8BFB\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:3,tocIndex:3},{value:"boolean",paraId:3,tocIndex:3},{value:"validator",paraId:3,tocIndex:3},{value:"\u6821\u9A8C\u7ED3\u679C\u4FE1\u606F\uFF0C\u5305\u542B ",paraId:3,tocIndex:3},{value:"status(\u72B6\u6001)",paraId:3,tocIndex:3},{value:"\u3001",paraId:3,tocIndex:3},{value:"message(\u63D0\u793A\u4FE1\u606F)",paraId:3,tocIndex:3},{value:"\u3001",paraId:3,tocIndex:3},{value:"extra(\u989D\u5916\u6570\u636E)",paraId:3,tocIndex:3},{value:"object",paraId:3,tocIndex:3},{value:"locale",paraId:3,tocIndex:3},{value:"\u5F53\u524D\u8BED\u8A00\u6570\u636E",paraId:3,tocIndex:3},{value:"object",paraId:3,tocIndex:3},{value:"userCtx",paraId:3,tocIndex:3},{value:"\u7528\u6237\u5168\u5C40\u4E0A\u4E0B\u6587\u6570\u636E",paraId:3,tocIndex:3},{value:"object",paraId:3,tocIndex:3},{value:"body",paraId:3,tocIndex:3},{value:"\u6E32\u67D3\u5668\u7EC4\u4EF6",paraId:3,tocIndex:3},{value:"ReactNode",paraId:3,tocIndex:3},{value:"prefixClassNames",paraId:3,tocIndex:3},{value:"\u5BF9 ",paraId:3,tocIndex:3},{value:"classnames",paraId:3,tocIndex:3},{value:" \u5BFC\u51FA\u65B9\u6CD5\u7684\u5305\u88C5\uFF0C\u5E26\u6709 prefixCls \u524D\u7F00\u7684\u7C7B\u540D\u65B9\u6CD5",paraId:3,tocIndex:3},{value:"(...args: classNames.ArgumentArray) => string",paraId:3,tocIndex:3}],Eo={"examples-core-react-102-prefix-cls-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{width:{title:"\u5BBD\u5EA6",renderType:"InputNumber"},height:{title:"\u9AD8\u5EA6",renderType:"InputNumber"},left:{title:"\u6C34\u5E73\u4F4D\u7F6E",renderType:"InputNumber"},top:{title:"\u5782\u76F4\u4F4D\u7F6E",renderType:"InputNumber"}}},Y=function(){return r.createElement(ne,{schema:te,itemLayout:X,renderers:_,prefixCls:"my-cls"})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-102-prefix-cls-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -4802,7 +4802,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},wo={title:"\u7C7B\u540D\u5B9A\u5236 prefixCls",toc:"content",filename:"examples/core-react/102-prefix-cls.md",lastUpdated:1704082387e3,group:"\u6837\u5F0F\u5B9A\u5236",order:102,description:"\u901A\u8FC7 prefixCls \u5B9A\u5236\u6837\u5F0F\u7C7B\u540D\u524D\u7F00"},Fo=[{id:"\u7C7B\u540D\u5B9A\u5236-prefixcls",depth:1,title:"\u7C7B\u540D\u5B9A\u5236 prefixCls"}],Yo=[{value:"\u901A\u8FC7 ",paraId:0,tocIndex:0},{value:"prefixCls",paraId:0,tocIndex:0},{value:" \u5B9A\u5236\u6837\u5F0F\u7C7B\u540D\u524D\u7F00",paraId:0,tocIndex:0},{value:"\u6253\u5F00 DevTools \u9762\u677F\u67E5\u770B DOM \u5143\u7D20\u7C7B\u540D",paraId:1}],Qo={},oa={title:"Playground",toc:"menu",filename:"examples/core-react/910-playground.md",lastUpdated:1704082387e3,group:"\u8F85\u52A9\u5DE5\u5177",order:910,debug:!0},Xo=[{id:"playground",depth:1,title:"Playground"}],Qa=[],Ba={"examples-core-react-223-validator-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0,rules:[{max:10,message:"\u6807\u9898\u4E0D\u80FD\u8D85\u8FC7 10 \u4E2A\u5B57\u7B26"},{pattern:"^[a-zA-Z\\d]+$",message:"\u6807\u9898\u4EC5\u80FD\u5305\u542B\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57"}]},content:{title:"\u5185\u5BB9",renderType:"TextArea",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5185\u5BB9"}]}}},Y=function(){return r.createElement(ne,{schema:te,itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-223-validator-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},wo={title:"\u7C7B\u540D\u5B9A\u5236 prefixCls",toc:"content",filename:"examples/core-react/102-prefix-cls.md",lastUpdated:1704082387e3,group:"\u6837\u5F0F\u5B9A\u5236",order:102,description:"\u901A\u8FC7 prefixCls \u5B9A\u5236\u6837\u5F0F\u7C7B\u540D\u524D\u7F00"},Fo=[{id:"\u7C7B\u540D\u5B9A\u5236-prefixcls",depth:1,title:"\u7C7B\u540D\u5B9A\u5236 prefixCls"}],Yo=[{value:"\u901A\u8FC7 ",paraId:0,tocIndex:0},{value:"prefixCls",paraId:0,tocIndex:0},{value:" \u5B9A\u5236\u6837\u5F0F\u7C7B\u540D\u524D\u7F00",paraId:0,tocIndex:0},{value:"\u6253\u5F00 DevTools \u9762\u677F\u67E5\u770B DOM \u5143\u7D20\u7C7B\u540D",paraId:1}],Qo={},oa={title:"Playground",toc:"menu",filename:"examples/core-react/910-playground.md",lastUpdated:1704082387e3,group:"\u8F85\u52A9\u5DE5\u5177",order:910,debug:!0},Xo=[{id:"playground",depth:1,title:"Playground"}],Qa=[],Ba={"examples-core-react-223-validator-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0,rules:[{max:10,message:"\u6807\u9898\u4E0D\u80FD\u8D85\u8FC7 10 \u4E2A\u5B57\u7B26"},{pattern:"^[a-zA-Z\\d]+$",message:"\u6807\u9898\u4EC5\u80FD\u5305\u542B\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57"}]},content:{title:"\u5185\u5BB9",renderType:"TextArea",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5185\u5BB9"}]}}},Y=function(){return r.createElement(ne,{schema:te,itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-223-validator-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -4832,7 +4832,7 @@ const Demo = () => { return } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-223-validator-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=V.sent,ne=J.default,V.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=V.sent,X=oe.default,V.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=V.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0,rules:[{max:10,message:"\u6807\u9898\u4E0D\u80FD\u8D85\u8FC7 10 \u4E2A\u5B57\u7B26"},{validator:"detectSensitiveWord"}]},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0,rules:[{validator:"detectSensitiveWord",message:"TIPS: \u5185\u5BB9\u5305\u542B\u654F\u611F\u8BCD\u54E6"}]}}},Y=function(){var ce=c()(a()().mark(function L(W){return a()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.abrupt("return",new Promise(function(q){setTimeout(function(){return q({ok:!1})},200)}));case 1:case"end":return le.stop()}},L)}));return function(W){return ce.apply(this,arguments)}}(),Ie={detectSensitiveWord:function(){var ce=c()(a()().mark(function W(B){var le,q;return a()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return le=B.value,Ae.next=3,Y(le);case 3:if(q=Ae.sent,q.ok){Ae.next=6;break}return Ae.abrupt("return",{status:"error",message:"\u5185\u5BB9\u5305\u542B\u654F\u611F\u8BCD"});case 6:case"end":return Ae.stop()}},W)}));function L(W){return ce.apply(this,arguments)}return L}()},D=function(){return r.createElement(ne,{schema:te,itemLayout:X,renderers:_,validators:Ie})},V.abrupt("return",{default:D});case 17:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-223-validator-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-223-validator-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=V.sent,ne=J.default,V.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=V.sent,X=oe.default,V.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=V.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0,rules:[{max:10,message:"\u6807\u9898\u4E0D\u80FD\u8D85\u8FC7 10 \u4E2A\u5B57\u7B26"},{validator:"detectSensitiveWord"}]},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0,rules:[{validator:"detectSensitiveWord",message:"TIPS: \u5185\u5BB9\u5305\u542B\u654F\u611F\u8BCD\u54E6"}]}}},Y=function(){var ce=c()(a()().mark(function L(W){return a()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.abrupt("return",new Promise(function(q){setTimeout(function(){return q({ok:!1})},200)}));case 1:case"end":return le.stop()}},L)}));return function(W){return ce.apply(this,arguments)}}(),Ie={detectSensitiveWord:function(){var ce=c()(a()().mark(function W(B){var le,q;return a()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return le=B.value,Ae.next=3,Y(le);case 3:if(q=Ae.sent,q.ok){Ae.next=6;break}return Ae.abrupt("return",{status:"error",message:"\u5185\u5BB9\u5305\u542B\u654F\u611F\u8BCD"});case 6:case"end":return Ae.stop()}},W)}));function L(W){return ce.apply(this,arguments)}return L}()},D=function(){return r.createElement(ne,{schema:te,itemLayout:X,renderers:_,validators:Ie})},V.abrupt("return",{default:D});case 17:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-223-validator-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import type { IValidators, IRootSchema } from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -4894,7 +4894,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-223-validator-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=L.sent,ne=J.Rate,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,Ie={component:function(B){var le=B.schema,q=B.value,xe=B.disabled,Ae=B.onChange;return r.createElement(ne,C()(C()({},le.renderOptions),{},{value:q,disabled:xe,onChange:function(ke){return Ae(ke)}}))},validator:function(B){var le=B.value;return le===0?{status:"error",message:"\u8BF7\u9009\u62E9\u8BC4\u5206"}:le<=3?{status:"error",message:"\u4EB2\uFF0C\u8BC4\u5206\u53EF\u4EE5\u6253\u9AD8\u4E00\u70B9\u54E6\u{1F62F}"}:{status:"error",message:"\u54C7\uFF0Cnice~"}}},D={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"TextArea"},rate:{renderType:"Rate",title:"\u8BC4\u5206",required:!0}}},ee=C()(C()({},Y),{},{Rate:Ie}),V=function(){return r.createElement(X,{schema:D,itemLayout:_,renderers:ee})},L.abrupt("return",{default:V});case 21:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-223-validator-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Rate } from 'antd' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-223-validator-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=L.sent,ne=J.Rate,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,Ie={component:function(B){var le=B.schema,q=B.value,xe=B.disabled,Ae=B.onChange;return r.createElement(ne,C()(C()({},le.renderOptions),{},{value:q,disabled:xe,onChange:function(ke){return Ae(ke)}}))},validator:function(B){var le=B.value;return le===0?{status:"error",message:"\u8BF7\u9009\u62E9\u8BC4\u5206"}:le<=3?{status:"error",message:"\u4EB2\uFF0C\u8BC4\u5206\u53EF\u4EE5\u6253\u9AD8\u4E00\u70B9\u54E6\u{1F62F}"}:{status:"error",message:"\u54C7\uFF0Cnice~"}}},D={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"TextArea"},rate:{renderType:"Rate",title:"\u8BC4\u5206",required:!0}}},ee=C()(C()({},Y),{},{Rate:Ie}),V=function(){return r.createElement(X,{schema:D,itemLayout:_,renderers:ee})},L.abrupt("return",{default:V});case 21:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-223-validator-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Rate } from 'antd' import Core from '@schema-render/core-react' import type { IRenderer, IRootSchema } from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' @@ -4962,7 +4962,7 @@ const Demo = () => { return } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-223-validator-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=B.sent,ne=J.useState,oe=J.useRef,B.next=7,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 7:return X=B.sent,k=X.Button,_=X.message,B.next=12,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 12:return te=B.sent,Y=te.default,B.next=16,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 16:return Ie=B.sent,D=Ie.default,B.next=20,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 20:return ee=B.sent,V=ee.default,ce={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0,rules:[{max:10,message:"\u6807\u9898\u4E0D\u80FD\u8D85\u8FC7 10 \u4E2A\u5B57\u7B26"},{pattern:"^[a-zA-Z\\d]+$",message:"\u6807\u9898\u4EC5\u80FD\u5305\u542B\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57"}]},content:{title:"\u5185\u5BB9",renderType:"TextArea",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5185\u5BB9"}]}}},L=function(){var q=ne({}),xe=o()(q,2),Ae=xe[0],Se=xe[1],ke=oe(null);function et(){return dt.apply(this,arguments)}function dt(){return dt=c()(a()().mark(function gt(){var Ut,Mt,Wt;return a()().wrap(function(un){for(;;)switch(un.prev=un.next){case 0:return un.next=2,ke.current.validate();case 2:if(Ut=un.sent,Mt=Ut.hasError,Wt=Ut.errorList,console.log("[validate] hasError: ",Mt),console.log("[validate] errorList: ",Wt),!Mt){un.next=9;break}return un.abrupt("return",_.error("\u9A8C\u8BC1\u9519\u8BEF"));case 9:_.success("\u9A8C\u8BC1\u6210\u529F");case 10:case"end":return un.stop()}},gt)})),dt.apply(this,arguments)}return r.createElement("div",null,r.createElement(Y,{ref:ke,schema:ce,value:Ae,onChange:Se,itemLayout:V,renderers:D}),r.createElement(k,{type:"primary",style:{margin:"24px 0 0 115px"},onClick:et},"\u63D0\u4EA4"))},B.abrupt("return",{default:L});case 25:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-223-validator-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' +export default Demo`},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-223-validator-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=B.sent,ne=J.useState,oe=J.useRef,B.next=7,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 7:return X=B.sent,k=X.Button,_=X.message,B.next=12,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 12:return te=B.sent,Y=te.default,B.next=16,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 16:return Ie=B.sent,D=Ie.default,B.next=20,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 20:return ee=B.sent,V=ee.default,ce={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0,rules:[{max:10,message:"\u6807\u9898\u4E0D\u80FD\u8D85\u8FC7 10 \u4E2A\u5B57\u7B26"},{pattern:"^[a-zA-Z\\d]+$",message:"\u6807\u9898\u4EC5\u80FD\u5305\u542B\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57"}]},content:{title:"\u5185\u5BB9",renderType:"TextArea",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5185\u5BB9"}]}}},L=function(){var q=ne({}),xe=o()(q,2),Ae=xe[0],Se=xe[1],ke=oe(null);function et(){return dt.apply(this,arguments)}function dt(){return dt=c()(a()().mark(function gt(){var Ut,Mt,Wt;return a()().wrap(function(un){for(;;)switch(un.prev=un.next){case 0:return un.next=2,ke.current.validate();case 2:if(Ut=un.sent,Mt=Ut.hasError,Wt=Ut.errorList,console.log("[validate] hasError: ",Mt),console.log("[validate] errorList: ",Wt),!Mt){un.next=9;break}return un.abrupt("return",_.error("\u9A8C\u8BC1\u9519\u8BEF"));case 9:_.success("\u9A8C\u8BC1\u6210\u529F");case 10:case"end":return un.stop()}},gt)})),dt.apply(this,arguments)}return r.createElement("div",null,r.createElement(Y,{ref:ke,schema:ce,value:Ae,onChange:Se,itemLayout:V,renderers:D}),r.createElement(k,{type:"primary",style:{margin:"24px 0 0 115px"},onClick:et},"\u63D0\u4EA4"))},B.abrupt("return",{default:L});case 25:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-223-validator-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' import { Button, message } from 'antd' import Core from '@schema-render/core-react' import type { ICoreRef, IRootSchema } from '@schema-render/core-react' @@ -5026,7 +5026,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}}},za={title:"\u6821\u9A8C\u5668 Validator",toc:"content",filename:"examples/core-react/223-validator.md",lastUpdated:1704082387e3,group:"\u529F\u80FD\u8BE6\u89E3",order:223,description:"\u6821\u9A8C\u529F\u80FD\u6709\u5982\u4E0B\u4E09\u79CD\u65B9\u5F0F\u5B9A\u4E49\uFF1A"},N=[{id:"\u6821\u9A8C\u5668-validator",depth:1,title:"\u6821\u9A8C\u5668 Validator"},{id:"schema-rules",depth:2,title:"Schema Rules"},{id:"global-validators",depth:2,title:"Global Validators"},{id:"renderer-validator",depth:2,title:"Renderer Validator"},{id:"\u63D0\u4EA4\u6821\u9A8C",depth:2,title:"\u63D0\u4EA4\u6821\u9A8C"},{id:"api-\u8BE6\u89E3",depth:2,title:"API \u8BE6\u89E3"}],Z=[{value:"\u6821\u9A8C\u529F\u80FD\u6709\u5982\u4E0B\u4E09\u79CD\u65B9\u5F0F\u5B9A\u4E49\uFF1A",paraId:0,tocIndex:0},{value:"Schema Rules",paraId:1,tocIndex:0},{value:": Schema \u534F\u8BAE ",paraId:1,tocIndex:0},{value:"rules",paraId:1,tocIndex:0},{value:" \u5C5E\u6027\u5B9A\u4E49\u6821\u9A8C\u89C4\u5219\u3002",paraId:1,tocIndex:0},{value:"Global Validators",paraId:1,tocIndex:0},{value:": \u5168\u5C40 ",paraId:1,tocIndex:0},{value:"validators",paraId:1,tocIndex:0},{value:" \u5C5E\u6027\u5B9A\u4E49\u6821\u9A8C\u89C4\u5219\u3002",paraId:1,tocIndex:0},{value:"Renderer Validator",paraId:1,tocIndex:0},{value:": \u6E32\u67D3\u5668 ",paraId:1,tocIndex:0},{value:"validator",paraId:1,tocIndex:0},{value:" \u5C5E\u6027\u5B9A\u4E49\u6821\u9A8C\u89C4\u5219\u3002",paraId:1,tocIndex:0},{value:"Schema Rules \u89C4\u5219\u901A\u8FC7\u5728 Schema \u534F\u8BAE\u58F0\u660E ",paraId:2,tocIndex:1},{value:"rules",paraId:2,tocIndex:1},{value:" \u5C5E\u6027\u6765\u5B9A\u4E49\uFF0C",paraId:2,tocIndex:1},{value:"rules",paraId:2,tocIndex:1},{value:" \u89C4\u5219\u662F\u501F\u9274 ",paraId:2,tocIndex:1},{value:"async-validator",paraId:2,tocIndex:1},{value:" API \u5185\u90E8\u5B9E\u73B0\u7684\u4E00\u5957\u6821\u9A8C\u80FD\u529B\u5B50\u96C6\uFF0C\u4EE5\u4FDD\u6301 JSON Schema \u53EF\u5E8F\u5217\u5316\uFF0C\u4EE5\u53CA\u6838\u5FC3\u5E93\u7684\u8F7B\u91CF\u597D\u7528\u3002",paraId:2,tocIndex:1},{value:"\u652F\u6301\u89C4\u5219\u5982\u4E0B\u5217\u8868\uFF0C\u90FD\u662F\u53EF\u9009\u9879\uFF0C\u540C\u65F6\u89C4\u5219\u53EF\u4EE5\u4E0D\u58F0\u660E ",paraId:3,tocIndex:1},{value:"type",paraId:3,tocIndex:1},{value:" \u5B57\u6BB5\uFF0C\u5185\u6838\u4F1A\u81EA\u52A8\u63A8\u65AD\uFF0C\u58F0\u660E\u5219\u5177\u6709\u66F4\u9AD8\u4F18\u5148\u7EA7\u3002",paraId:3,tocIndex:1},{value:"\u540D\u79F0",paraId:4,tocIndex:1},{value:"\u8BF4\u660E",paraId:4,tocIndex:1},{value:"\u7C7B\u578B",paraId:4,tocIndex:1},{value:"type",paraId:4,tocIndex:1},{value:"\u5B9A\u4E49\u6570\u636E\u7684 JavaScript \u6570\u636E\u7C7B\u578B\uFF0C\u7B26\u5408\u5B9A\u4E49\u624D\u80FD\u6821\u9A8C\u901A\u8FC7\uFF0C\u4E0D\u586B\u5219\u81EA\u52A8\u63A8\u65AD",paraId:4,tocIndex:1},{value:"string",paraId:4,tocIndex:1},{value:"required",paraId:4,tocIndex:1},{value:"\u662F\u5426\u5FC5\u586B",paraId:4,tocIndex:1},{value:"boolean",paraId:4,tocIndex:1},{value:"min",paraId:4,tocIndex:1},{value:"string \u7C7B\u578B\u4E3A\u5B57\u7B26\u4E32\u6700\u5C0F\u957F\u5EA6\uFF1Bnumber \u7C7B\u578B\u65F6\u4E3A\u6700\u5C0F\u503C\uFF1Barray \u7C7B\u578B\u65F6\u4E3A\u6570\u7EC4\u6700\u5C0F\u957F\u5EA6",paraId:4,tocIndex:1},{value:"number",paraId:4,tocIndex:1},{value:"max",paraId:4,tocIndex:1},{value:"string \u7C7B\u578B\u4E3A\u5B57\u7B26\u4E32\u6700\u5927\u957F\u5EA6\uFF1Bnumber \u7C7B\u578B\u65F6\u4E3A\u6700\u5927\u503C\uFF1Barray \u7C7B\u578B\u65F6\u4E3A\u6570\u7EC4\u6700\u5927\u957F\u5EA6",paraId:4,tocIndex:1},{value:"number",paraId:4,tocIndex:1},{value:"len",paraId:4,tocIndex:1},{value:"string \u7C7B\u578B\u65F6\u4E3A\u5B57\u7B26\u4E32\u957F\u5EA6\uFF1Bnumber \u7C7B\u578B\u65F6\u4E3A\u786E\u5B9A\u6570\u5B57\uFF1B array \u7C7B\u578B\u65F6\u4E3A\u6570\u7EC4\u957F\u5EA6",paraId:4,tocIndex:1},{value:"number",paraId:4,tocIndex:1},{value:"pattern",paraId:4,tocIndex:1},{value:"\u6B63\u5219\u5339\u914D\uFF0C\u4EC5 string \u7C7B\u578B\u751F\u6548",paraId:4,tocIndex:1},{value:"string",paraId:4,tocIndex:1},{value:"validator",paraId:4,tocIndex:1},{value:"\u5168\u5C40\u6821\u9A8C\u5668\u540D\u79F0",paraId:4,tocIndex:1},{value:"string",paraId:4,tocIndex:1},{value:"message",paraId:4,tocIndex:1},{value:"\u9519\u8BEF\u63D0\u793A\u4FE1\u606F",paraId:4,tocIndex:1},{value:"string",paraId:4,tocIndex:1},{value:"\u89E6\u53D1\u65F6\u673A\uFF1A\u6BCF\u6B21\u6E32\u67D3\u5668\u7EC4\u4EF6 ",paraId:5,tocIndex:1},{value:"onChange",paraId:5,tocIndex:1},{value:" \u7684\u65F6\u5019\u4F1A\u89E6\u53D1\u6821\u9A8C\u673A\u5236\uFF0C\u5E76\u63D0\u793A\u9519\u8BEF\u4FE1\u606F\u3002",paraId:5,tocIndex:1},{value:"\u5982\u679C\u5E0C\u671B ",paraId:6},{value:"onChange",paraId:6},{value:" \u65F6\u4E0D\u89E6\u53D1\u6821\u9A8C\uFF0C\u53EF\u4EE5\u8BBE\u7F6E\u7B2C\u4E8C\u4E2A\u53C2\u6570\u7684 ",paraId:6},{value:"triggerValidator",paraId:6},{value:" \u4E3A ",paraId:6},{value:"false",paraId:6},{value:" \u5B9E\u73B0\uFF0C\u793A\u4F8B\uFF1A",paraId:6},{value:"onChange('xxx', { triggerValidator: false })",paraId:6},{value:"\u3002",paraId:6},{value:"1\u3001Schema Rules \u89C4\u5219\u91CC\u7684 validator \u5B57\u6BB5\u4E0E async-validator API \u4E0D\u5BF9\u5E94\u3002",paraId:7},{value:` +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}}},za={title:"\u6821\u9A8C\u5668 Validator",toc:"content",filename:"examples/core-react/223-validator.md",lastUpdated:1704082387e3,group:"\u529F\u80FD\u8BE6\u89E3",order:223,description:"\u6821\u9A8C\u529F\u80FD\u6709\u5982\u4E0B\u4E09\u79CD\u65B9\u5F0F\u5B9A\u4E49\uFF1A"},N=[{id:"\u6821\u9A8C\u5668-validator",depth:1,title:"\u6821\u9A8C\u5668 Validator"},{id:"schema-rules",depth:2,title:"Schema Rules"},{id:"global-validators",depth:2,title:"Global Validators"},{id:"renderer-validator",depth:2,title:"Renderer Validator"},{id:"\u63D0\u4EA4\u6821\u9A8C",depth:2,title:"\u63D0\u4EA4\u6821\u9A8C"},{id:"api-\u8BE6\u89E3",depth:2,title:"API \u8BE6\u89E3"}],Z=[{value:"\u6821\u9A8C\u529F\u80FD\u6709\u5982\u4E0B\u4E09\u79CD\u65B9\u5F0F\u5B9A\u4E49\uFF1A",paraId:0,tocIndex:0},{value:"Schema Rules",paraId:1,tocIndex:0},{value:": Schema \u534F\u8BAE ",paraId:1,tocIndex:0},{value:"rules",paraId:1,tocIndex:0},{value:" \u5C5E\u6027\u5B9A\u4E49\u6821\u9A8C\u89C4\u5219\u3002",paraId:1,tocIndex:0},{value:"Global Validators",paraId:1,tocIndex:0},{value:": \u5168\u5C40 ",paraId:1,tocIndex:0},{value:"validators",paraId:1,tocIndex:0},{value:" \u5C5E\u6027\u5B9A\u4E49\u6821\u9A8C\u89C4\u5219\u3002",paraId:1,tocIndex:0},{value:"Renderer Validator",paraId:1,tocIndex:0},{value:": \u6E32\u67D3\u5668 ",paraId:1,tocIndex:0},{value:"validator",paraId:1,tocIndex:0},{value:" \u5C5E\u6027\u5B9A\u4E49\u6821\u9A8C\u89C4\u5219\u3002",paraId:1,tocIndex:0},{value:"Schema Rules \u89C4\u5219\u901A\u8FC7\u5728 Schema \u534F\u8BAE\u58F0\u660E ",paraId:2,tocIndex:1},{value:"rules",paraId:2,tocIndex:1},{value:" \u5C5E\u6027\u6765\u5B9A\u4E49\uFF0C",paraId:2,tocIndex:1},{value:"rules",paraId:2,tocIndex:1},{value:" \u89C4\u5219\u662F\u501F\u9274 ",paraId:2,tocIndex:1},{value:"async-validator",paraId:2,tocIndex:1},{value:" API \u5185\u90E8\u5B9E\u73B0\u7684\u4E00\u5957\u6821\u9A8C\u80FD\u529B\u5B50\u96C6\uFF0C\u4EE5\u4FDD\u6301 JSON Schema \u53EF\u5E8F\u5217\u5316\uFF0C\u4EE5\u53CA\u6838\u5FC3\u5E93\u7684\u8F7B\u91CF\u597D\u7528\u3002",paraId:2,tocIndex:1},{value:"\u652F\u6301\u89C4\u5219\u5982\u4E0B\u5217\u8868\uFF0C\u90FD\u662F\u53EF\u9009\u9879\uFF0C\u540C\u65F6\u89C4\u5219\u53EF\u4EE5\u4E0D\u58F0\u660E ",paraId:3,tocIndex:1},{value:"type",paraId:3,tocIndex:1},{value:" \u5B57\u6BB5\uFF0C\u5185\u6838\u4F1A\u81EA\u52A8\u63A8\u65AD\uFF0C\u58F0\u660E\u5219\u5177\u6709\u66F4\u9AD8\u4F18\u5148\u7EA7\u3002",paraId:3,tocIndex:1},{value:"\u540D\u79F0",paraId:4,tocIndex:1},{value:"\u8BF4\u660E",paraId:4,tocIndex:1},{value:"\u7C7B\u578B",paraId:4,tocIndex:1},{value:"type",paraId:4,tocIndex:1},{value:"\u5B9A\u4E49\u6570\u636E\u7684 JavaScript \u6570\u636E\u7C7B\u578B\uFF0C\u7B26\u5408\u5B9A\u4E49\u624D\u80FD\u6821\u9A8C\u901A\u8FC7\uFF0C\u4E0D\u586B\u5219\u81EA\u52A8\u63A8\u65AD",paraId:4,tocIndex:1},{value:"string",paraId:4,tocIndex:1},{value:"required",paraId:4,tocIndex:1},{value:"\u662F\u5426\u5FC5\u586B",paraId:4,tocIndex:1},{value:"boolean",paraId:4,tocIndex:1},{value:"min",paraId:4,tocIndex:1},{value:"string \u7C7B\u578B\u4E3A\u5B57\u7B26\u4E32\u6700\u5C0F\u957F\u5EA6\uFF1Bnumber \u7C7B\u578B\u65F6\u4E3A\u6700\u5C0F\u503C\uFF1Barray \u7C7B\u578B\u65F6\u4E3A\u6570\u7EC4\u6700\u5C0F\u957F\u5EA6",paraId:4,tocIndex:1},{value:"number",paraId:4,tocIndex:1},{value:"max",paraId:4,tocIndex:1},{value:"string \u7C7B\u578B\u4E3A\u5B57\u7B26\u4E32\u6700\u5927\u957F\u5EA6\uFF1Bnumber \u7C7B\u578B\u65F6\u4E3A\u6700\u5927\u503C\uFF1Barray \u7C7B\u578B\u65F6\u4E3A\u6570\u7EC4\u6700\u5927\u957F\u5EA6",paraId:4,tocIndex:1},{value:"number",paraId:4,tocIndex:1},{value:"len",paraId:4,tocIndex:1},{value:"string \u7C7B\u578B\u65F6\u4E3A\u5B57\u7B26\u4E32\u957F\u5EA6\uFF1Bnumber \u7C7B\u578B\u65F6\u4E3A\u786E\u5B9A\u6570\u5B57\uFF1B array \u7C7B\u578B\u65F6\u4E3A\u6570\u7EC4\u957F\u5EA6",paraId:4,tocIndex:1},{value:"number",paraId:4,tocIndex:1},{value:"pattern",paraId:4,tocIndex:1},{value:"\u6B63\u5219\u5339\u914D\uFF0C\u4EC5 string \u7C7B\u578B\u751F\u6548",paraId:4,tocIndex:1},{value:"string",paraId:4,tocIndex:1},{value:"validator",paraId:4,tocIndex:1},{value:"\u5168\u5C40\u6821\u9A8C\u5668\u540D\u79F0",paraId:4,tocIndex:1},{value:"string",paraId:4,tocIndex:1},{value:"message",paraId:4,tocIndex:1},{value:"\u9519\u8BEF\u63D0\u793A\u4FE1\u606F",paraId:4,tocIndex:1},{value:"string",paraId:4,tocIndex:1},{value:"\u89E6\u53D1\u65F6\u673A\uFF1A\u6BCF\u6B21\u6E32\u67D3\u5668\u7EC4\u4EF6 ",paraId:5,tocIndex:1},{value:"onChange",paraId:5,tocIndex:1},{value:" \u7684\u65F6\u5019\u4F1A\u89E6\u53D1\u6821\u9A8C\u673A\u5236\uFF0C\u5E76\u63D0\u793A\u9519\u8BEF\u4FE1\u606F\u3002",paraId:5,tocIndex:1},{value:"\u5982\u679C\u5E0C\u671B ",paraId:6},{value:"onChange",paraId:6},{value:" \u65F6\u4E0D\u89E6\u53D1\u6821\u9A8C\uFF0C\u53EF\u4EE5\u8BBE\u7F6E\u7B2C\u4E8C\u4E2A\u53C2\u6570\u7684 ",paraId:6},{value:"triggerValidator",paraId:6},{value:" \u4E3A ",paraId:6},{value:"false",paraId:6},{value:" \u5B9E\u73B0\uFF0C\u793A\u4F8B\uFF1A",paraId:6},{value:"onChange('xxx', { triggerValidator: false })",paraId:6},{value:"\u3002",paraId:6},{value:"1\u3001Schema Rules \u89C4\u5219\u91CC\u7684 validator \u5B57\u6BB5\u4E0E async-validator API \u4E0D\u5BF9\u5E94\u3002",paraId:7},{value:` 2\u3001Schema Rules \u548C Global Validators \u89C4\u5219\u91CC\u7684 validator \u5C5E\u6027\u4E0D\u5141\u8BB8\u518D\u6B21\u58F0\u660E `,paraId:7},{value:"validator",paraId:7},{value:" \u5C5E\u6027\uFF08\u5185\u90E8\u4F1A\u5FFD\u7565\uFF09\uFF0C\u907F\u514D\u9677\u5165\u5FAA\u73AF\u8C03\u7528\u3002",paraId:7},{value:"\u793A\u4F8B",paraId:8},{value:"Global Validators \u662F\u5168\u5C40\u6821\u9A8C\u5668\uFF0C\u4E3A\u4E86\u4FBF\u4E8E\u590D\u7528\u901A\u7528\u7684\u6821\u9A8C\u80FD\u529B\uFF0C\u53EF\u4EE5\u5C06\u8FD9\u4E9B\u6821\u9A8C\u5668\u6CE8\u518C\u5728\u5168\u5C40 ",paraId:9,tocIndex:2},{value:"validators",paraId:9,tocIndex:2},{value:" \u91CC\uFF0C\u7136\u540E\u5728 schema \u91CC\u901A\u8FC7 ",paraId:9,tocIndex:2},{value:"rules: [{ validator: 'name' }]",paraId:9,tocIndex:2},{value:" \u6765\u4F7F\u7528\u3002",paraId:9,tocIndex:2},{value:"\u901A\u8FC7\u6E32\u67D3\u5668\u7684 ",paraId:10,tocIndex:3},{value:"validator",paraId:10,tocIndex:3},{value:" \u5C5E\u6027\u53EF\u4EE5\u5B9A\u4E49\u4E0E\u6E32\u67D3\u5668\u6346\u7ED1\u5728\u4E00\u8D77\u7684\u6821\u9A8C\u89C4\u5219\u3002",paraId:10,tocIndex:3},{value:"\u63D0\u4EA4\u8868\u5355\u65F6\u5148\u6821\u9A8C\u8F93\u5165\u5185\u5BB9\u662F\u5426\u7B26\u5408\u89C4\u5219\uFF0C\u6821\u9A8C\u901A\u8FC7\u624D\u5141\u8BB8\u63D0\u4EA4\u6570\u636E\u3002",paraId:11,tocIndex:4},{value:"Global Validators \u548C Renderer Validator \u7684\u5B9A\u4E49\u662F\u4E00\u6837\u7684\uFF0C\u652F\u6301\u5982\u4E0B\u4E24\u79CD\u65B9\u5F0F\uFF1A",paraId:12,tocIndex:5},{value:"\u5B9A\u4E49\u4E3A\u4E0E ",paraId:13,tocIndex:5},{value:"Schema Rules",paraId:13,tocIndex:5},{value:" \u4E00\u6837\u7684\u89C4\u5219\uFF0C\u5982 ",paraId:13,tocIndex:5},{value:"validator: [{ min: 10, message: '\u8BF7\u8F93\u5165\u6700\u5C1110\u4E2A\u5B57\u7B26' }]",paraId:13,tocIndex:5},{value:"\u3002",paraId:13,tocIndex:5},{value:"\u5B9A\u4E49\u4E3A\u51FD\u6570\u6821\u9A8C\uFF0C\u51FD\u6570\u53C2\u6570\u5982\u4E0B\u5217\u8868\uFF0C\u7686\u4E3A\u53EA\u8BFB\u5C5E\u6027\u3002",paraId:13,tocIndex:5},{value:"\u5982\u679C\u662F TypeScript \u9879\u76EE\uFF0C\u53EF\u4EE5\u901A\u8FC7 ",paraId:14,tocIndex:5},{value:"IOpenValidatorParams",paraId:14,tocIndex:5},{value:" \u7C7B\u578B\u4E86\u89E3\u6240\u6709\u7684\u53C2\u6570\u53CA\u5176\u6CE8\u89E3\u3002",paraId:14,tocIndex:5},{value:"\u53C2\u6570",paraId:15,tocIndex:5},{value:"\u8BF4\u660E",paraId:15,tocIndex:5},{value:"\u7C7B\u578B",paraId:15,tocIndex:5},{value:"schema",paraId:15,tocIndex:5},{value:"Schema \u534F\u8BAE\u63CF\u8FF0\u5BF9\u8C61",paraId:15,tocIndex:5},{value:"ISchema",paraId:15,tocIndex:5},{value:"value",paraId:15,tocIndex:5},{value:"\u5F53\u524D\u8868\u5355\u9879\u7684\u503C",paraId:15,tocIndex:5},{value:"any",paraId:15,tocIndex:5},{value:"rootValue",paraId:15,tocIndex:5},{value:"\u8868\u5355\u6574\u4F53\u6570\u636E",paraId:15,tocIndex:5},{value:"object",paraId:15,tocIndex:5},{value:"path",paraId:15,tocIndex:5},{value:"\u5F53\u524D\u8868\u5355\u9879\u7684\u8DEF\u5F84",paraId:15,tocIndex:5},{value:"array",paraId:15,tocIndex:5},{value:"sPath",paraId:15,tocIndex:5},{value:"\u5F53\u524D\u8868\u5355\u9879\u7684\u8DEF\u5F84\u5B57\u7B26\u4E32\u683C\u5F0F\u8868\u793A",paraId:15,tocIndex:5},{value:"string",paraId:15,tocIndex:5},{value:"required",paraId:15,tocIndex:5},{value:"\u662F\u5426\u5FC5\u586B\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:15,tocIndex:5},{value:"boolean",paraId:15,tocIndex:5},{value:"disabled",paraId:15,tocIndex:5},{value:"\u662F\u5426\u7981\u7528\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:15,tocIndex:5},{value:"boolean",paraId:15,tocIndex:5},{value:"readonly",paraId:15,tocIndex:5},{value:"\u662F\u5426\u53EA\u8BFB\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:15,tocIndex:5},{value:"boolean",paraId:15,tocIndex:5},{value:"locale",paraId:15,tocIndex:5},{value:"\u56FD\u9645\u5316\u8BED\u8A00\u6570\u636E",paraId:15,tocIndex:5},{value:"object",paraId:15,tocIndex:5},{value:"userCtx",paraId:15,tocIndex:5},{value:"\u7528\u6237\u5168\u5C40\u4E0A\u4E0B\u6587\u6570\u636E",paraId:15,tocIndex:5},{value:"object",paraId:15,tocIndex:5},{value:"\u51FD\u6570\u8FD4\u56DE\u503C\u6709\u4E09\u79CD\u8FD4\u56DE\u5F62\u6001\uFF1A",paraId:16,tocIndex:5},{value:"\u8FD4\u56DE ",paraId:17,tocIndex:5},{value:"undefined",paraId:17,tocIndex:5},{value:"\uFF0C\u8868\u793A\u6821\u9A8C\u6210\u529F\u3002",paraId:17,tocIndex:5},{value:"\u8FD4\u56DE\u4E0E ",paraId:17,tocIndex:5},{value:"Schema Rules",paraId:17,tocIndex:5},{value:" \u4E00\u6837\u7684\u89C4\u5219\uFF0C\u5982 ",paraId:17,tocIndex:5},{value:"return [{ min: 10, message: '\u8BF7\u8F93\u5165\u6700\u5C1110\u4E2A\u5B57\u7B26' }]",paraId:17,tocIndex:5},{value:"\u8FD4\u56DE\u6807\u51C6\u72B6\u6001\u7ED3\u6784\uFF0C\u5982\u4E0B\u63CF\u8FF0",paraId:17,tocIndex:5},{value:"\u53C2\u6570",paraId:18,tocIndex:5},{value:"\u8BF4\u660E",paraId:18,tocIndex:5},{value:"\u7C7B\u578B",paraId:18,tocIndex:5},{value:"status",paraId:18,tocIndex:5},{value:"\u6821\u9A8C\u72B6\u6001\uFF0C",paraId:18,tocIndex:5},{value:"error",paraId:18,tocIndex:5},{value:" \u9519\u8BEF\uFF0C",paraId:18,tocIndex:5},{value:"warning",paraId:18,tocIndex:5},{value:" \u8B66\u544A\uFF0C",paraId:18,tocIndex:5},{value:"success",paraId:18,tocIndex:5},{value:" \u6210\u529F",paraId:18,tocIndex:5},{value:"error",paraId:18,tocIndex:5},{value:" | ",paraId:18,tocIndex:5},{value:"warning",paraId:18,tocIndex:5},{value:" | ",paraId:18,tocIndex:5},{value:"success",paraId:18,tocIndex:5},{value:"message",paraId:18,tocIndex:5},{value:"\u9519\u8BEF\u6216\u8B66\u544A\u72B6\u6001\u65F6\u7684\u63D0\u793A\u4FE1\u606F",paraId:18,tocIndex:5},{value:"string",paraId:18,tocIndex:5},{value:"extra",paraId:18,tocIndex:5},{value:"\u989D\u5916\u6570\u636E",paraId:18,tocIndex:5},{value:"any",paraId:18,tocIndex:5}],U={"examples-core-react-890-benchmark-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=W.sent,ne=J.default,W.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return oe=W.sent,X=oe.useState,k=oe.Profiler,_=function(le){var q=le.schema,xe=le.body;return r.createElement(r.Fragment,null,r.createElement("h4",null,q.title),r.createElement("div",null,xe))},te={border:"1px solid #ccc",borderRadius:6,padding:8,width:"100%",boxSize:"border-box"},Y={InputText:{component:function(le){var q=le.schema,xe=le.value,Ae=le.onChange;return r.createElement("div",{style:{display:"flex"}},r.createElement("input",{style:te,placeholder:"\u8BF7\u8F93\u5165".concat(q.title),value:xe||"",onChange:function(ke){return Ae(ke.target.value)}}))}}},Ie=600,D={renderType:"Root",properties:{}},ee=Nn()(Array(Ie).keys()),ee.forEach(function(B){var le="field_".concat(B);D.properties[le]={title:le,renderType:"InputText"}}),V=["100px","1fr"],ce=function(){var le=X({}),q=o()(le,2),xe=q[0],Ae=q[1],Se=X(""),ke=o()(Se,2),et=ke[0],dt=ke[1],gt=function(Mt,Wt){var ln=parseInt(Wt.sPath.slice(6)),un=ln-1,nn=ln+1,or="field_".concat(nn>=Ie?un:nn);Mt[or]=Wt.value,Ae(Mt)};return r.createElement(k,{id:"sr",onRender:function(Mt,Wt,ln,un,nn,or){var Un="\u64CD\u4F5C: ".concat(Wt,", \u6E32\u67D3\u8017\u65F6: ").concat(ln," (\u5B9E\u9645\u751F\u4EA7\u73AF\u5883\u4E2D\u6027\u80FD\u4F1A\u597D\u90A3\u4E48\u4E00\u70B9\uFF0C\u56E0\u4E3A\u6CA1\u6709\u4F7F\u7528 Profiler \u6027\u80FD\u5206\u6790)"),fa=document.getElementById("profile");fa&&(fa.innerHTML=Un),console.log("===> ".concat(Un)),console.log("phase: ".concat(Wt,", actualDuration: ").concat(ln,", baseDuration: ").concat(un,", startTime: ").concat(nn,", commitTime: ").concat(or))}},r.createElement("h3",{id:"profile"},et),r.createElement(ne,{layout:"autoFill",layoutMinMax:V,schema:D,itemLayout:_,renderers:Y,value:xe,onChange:gt}))},W.abrupt("return",{default:ce});case 19:case"end":return W.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-890-benchmark-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import { useState, Profiler } from 'react' @@ -5124,7 +5124,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},react:{type:"NPM",value:"18.2.0"}}}},"examples-core-react-890-benchmark-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=L.sent,ne=J.default,L.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return oe=L.sent,X=oe.useState,k=function(B){var le=B.schema,q=B.body;return r.createElement(r.Fragment,null,r.createElement("h4",null,le.title),r.createElement("div",null,q))},_={border:"1px solid #ccc",borderRadius:6,padding:8,width:"100%",boxSize:"border-box"},te={InputText:{component:function(B){var le=B.schema,q=B.value,xe=B.onChange;return r.createElement("div",{style:{display:"flex"}},r.createElement("input",{style:_,placeholder:"\u8BF7\u8F93\u5165".concat(le.title),value:q||"",onChange:function(Se){return xe(Se.target.value)}}))}}},Y=1800,Ie={renderType:"Root",properties:{}},D=Nn()(Array(Y).keys()),D.forEach(function(W){var B="field_".concat(W);Ie.properties[B]={title:B,renderType:"InputText"}}),ee=["100px","1fr"],V=function(){var B=X({}),le=o()(B,2),q=le[0],xe=le[1],Ae=function(ke,et){var dt=parseInt(et.sPath.slice(6)),gt=dt-1,Ut=dt+1,Mt="field_".concat(Ut>=Y?gt:Ut);ke[Mt]=et.value,xe(ke)};return r.createElement(ne,{layout:"autoFill",layoutMinMax:ee,schema:Ie,itemLayout:k,renderers:te,value:q,onChange:Ae})},L.abrupt("return",{default:V});case 18:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-890-benchmark-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},react:{type:"NPM",value:"18.2.0"}}}},"examples-core-react-890-benchmark-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=L.sent,ne=J.default,L.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return oe=L.sent,X=oe.useState,k=function(B){var le=B.schema,q=B.body;return r.createElement(r.Fragment,null,r.createElement("h4",null,le.title),r.createElement("div",null,q))},_={border:"1px solid #ccc",borderRadius:6,padding:8,width:"100%",boxSize:"border-box"},te={InputText:{component:function(B){var le=B.schema,q=B.value,xe=B.onChange;return r.createElement("div",{style:{display:"flex"}},r.createElement("input",{style:_,placeholder:"\u8BF7\u8F93\u5165".concat(le.title),value:q||"",onChange:function(Se){return xe(Se.target.value)}}))}}},Y=1800,Ie={renderType:"Root",properties:{}},D=Nn()(Array(Y).keys()),D.forEach(function(W){var B="field_".concat(W);Ie.properties[B]={title:B,renderType:"InputText"}}),ee=["100px","1fr"],V=function(){var B=X({}),le=o()(B,2),q=le[0],xe=le[1],Ae=function(ke,et){var dt=parseInt(et.sPath.slice(6)),gt=dt-1,Ut=dt+1,Mt="field_".concat(Ut>=Y?gt:Ut);ke[Mt]=et.value,xe(ke)};return r.createElement(ne,{layout:"autoFill",layoutMinMax:ee,schema:Ie,itemLayout:k,renderers:te,value:q,onChange:Ae})},L.abrupt("return",{default:V});case 18:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-890-benchmark-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import { useState, Profiler } from 'react' const VerticalItemLayout = ({ schema, body }) => { @@ -5204,7 +5204,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},react:{type:"NPM",value:"18.2.0"}}}}},ze={title:"\u6027\u80FD\u6D4B\u8BD5",toc:"content",filename:"examples/core-react/890-benchmark.md",lastUpdated:1706161917e3,group:{title:"\u6027\u80FD\u6D4B\u8BD5",order:890},description:"600 \u4E2A\u8868\u5355\u9879\u8054\u52A8\u6027\u80FD\u6D4B\u8BD5\uFF0C\u4E1D\u6ED1\u6D41\u7545"},pt=[{id:"\u6027\u80FD\u6D4B\u8BD5",depth:1,title:"\u6027\u80FD\u6D4B\u8BD5"},{id:"600",depth:2,title:"600"},{id:"1800",depth:2,title:"1800"}],jt=[{value:"600 \u4E2A\u8868\u5355\u9879\u8054\u52A8\u6027\u80FD\u6D4B\u8BD5\uFF0C\u4E1D\u6ED1\u6D41\u7545",paraId:0,tocIndex:1},{value:"1800 \u4E2A\u8868\u5355\u9879\u8054\u52A8\u6027\u80FD\u6D4B\u8BD5\uFF0C\u8F83\u4E3A\u6D41\u7545",paraId:1,tocIndex:2}],Dt={"examples-search-react-300-actions-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=V.sent,ne=J.ConfigProvider,V.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=V.sent,X=oe.sleep,V.next=10,e.e(5471).then(e.bind(e,75471));case 10:return k=V.sent,_=k.default,V.next=14,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(2712)]).then(e.bind(e,41670));case 14:return te=V.sent,Y=te.default,Ie={renderType:"Root",properties:{supplier_name:{title:"\u4F9B\u5E94\u5546\u540D\u79F0",renderType:"InputText"},supplier_code:{title:"\u4F9B\u5E94\u5546\u7F16\u7801",renderType:"InputText"},bill_no:{title:"\u5355\u636E\u7F16\u53F7",renderType:"InputText"},bill_type:{title:"\u5355\u636E\u7C7B\u578B",renderType:"Select",renderOptions:{options:[{label:"\u91C7\u8D2D\u5355",value:1},{label:"\u5165\u5E93\u5355",value:2},{label:"\u9000\u8D27\u5355",value:3}]}},bill_date:{title:"\u5355\u636E\u65E5\u671F",renderType:"DateRangePicker"},bill_status:{title:"\u5355\u636E\u72B6\u6001",renderType:"Select",renderOptions:{options:[{label:"\u5DF2\u63D0\u4EA4",value:1},{label:"\u5F85\u63D0\u4EA4",value:2},{label:"\u5F85\u5BA1\u6279",value:3}]}},operator:{title:"\u5236\u5355\u4EBA",renderType:"InputText"},goods_name:{title:"\u5546\u54C1\u540D\u79F0",renderType:"InputText"},goods_code:{title:"\u5546\u54C1\u7F16\u7801",renderType:"InputText"},goods_category:{title:"\u5546\u54C1\u5206\u7C7B",renderType:"Select",renderOptions:{options:[{label:"\u6C34\u679C\u9C9C\u82B1",value:1},{label:"\u6D77\u9C9C\u6C34\u4EA7",value:2},{label:"\u7CAE\u6CB9\u8C03\u5473",value:3}]}}}},D=function(){var L=function(){var B=c()(a()().mark(function le(q){return a()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return console.log("searchParams:",q),Ae.next=3,X();case 3:case"end":return Ae.stop()}},le)}));return function(q){return B.apply(this,arguments)}}(),W=function(le){console.log("isCollapsed:",le)};return r.createElement(ne,{locale:_},r.createElement(Y,{schema:Ie,onSubmit:L,onReset:L,onToggleCollapsed:W}))},V.abrupt("return",{default:D});case 19:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-react-300-actions-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { ConfigProvider } from 'antd' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},react:{type:"NPM",value:"18.2.0"}}}}},ze={title:"\u6027\u80FD\u6D4B\u8BD5",toc:"content",filename:"examples/core-react/890-benchmark.md",lastUpdated:1706161917e3,group:{title:"\u6027\u80FD\u6D4B\u8BD5",order:890},description:"600 \u4E2A\u8868\u5355\u9879\u8054\u52A8\u6027\u80FD\u6D4B\u8BD5\uFF0C\u4E1D\u6ED1\u6D41\u7545"},pt=[{id:"\u6027\u80FD\u6D4B\u8BD5",depth:1,title:"\u6027\u80FD\u6D4B\u8BD5"},{id:"600",depth:2,title:"600"},{id:"1800",depth:2,title:"1800"}],jt=[{value:"600 \u4E2A\u8868\u5355\u9879\u8054\u52A8\u6027\u80FD\u6D4B\u8BD5\uFF0C\u4E1D\u6ED1\u6D41\u7545",paraId:0,tocIndex:1},{value:"1800 \u4E2A\u8868\u5355\u9879\u8054\u52A8\u6027\u80FD\u6D4B\u8BD5\uFF0C\u8F83\u4E3A\u6D41\u7545",paraId:1,tocIndex:2}],Dt={"examples-search-react-300-actions-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=V.sent,ne=J.ConfigProvider,V.next=6,e.e(7693).then(e.bind(e,7693));case 6:return oe=V.sent,X=oe.sleep,V.next=10,e.e(5471).then(e.bind(e,75471));case 10:return k=V.sent,_=k.default,V.next=14,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(2712)]).then(e.bind(e,41670));case 14:return te=V.sent,Y=te.default,Ie={renderType:"Root",properties:{supplier_name:{title:"\u4F9B\u5E94\u5546\u540D\u79F0",renderType:"InputText"},supplier_code:{title:"\u4F9B\u5E94\u5546\u7F16\u7801",renderType:"InputText"},bill_no:{title:"\u5355\u636E\u7F16\u53F7",renderType:"InputText"},bill_type:{title:"\u5355\u636E\u7C7B\u578B",renderType:"Select",renderOptions:{options:[{label:"\u91C7\u8D2D\u5355",value:1},{label:"\u5165\u5E93\u5355",value:2},{label:"\u9000\u8D27\u5355",value:3}]}},bill_date:{title:"\u5355\u636E\u65E5\u671F",renderType:"DateRangePicker"},bill_status:{title:"\u5355\u636E\u72B6\u6001",renderType:"Select",renderOptions:{options:[{label:"\u5DF2\u63D0\u4EA4",value:1},{label:"\u5F85\u63D0\u4EA4",value:2},{label:"\u5F85\u5BA1\u6279",value:3}]}},operator:{title:"\u5236\u5355\u4EBA",renderType:"InputText"},goods_name:{title:"\u5546\u54C1\u540D\u79F0",renderType:"InputText"},goods_code:{title:"\u5546\u54C1\u7F16\u7801",renderType:"InputText"},goods_category:{title:"\u5546\u54C1\u5206\u7C7B",renderType:"Select",renderOptions:{options:[{label:"\u6C34\u679C\u9C9C\u82B1",value:1},{label:"\u6D77\u9C9C\u6C34\u4EA7",value:2},{label:"\u7CAE\u6CB9\u8C03\u5473",value:3}]}}}},D=function(){var L=function(){var B=c()(a()().mark(function le(q){return a()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return console.log("searchParams:",q),Ae.next=3,X();case 3:case"end":return Ae.stop()}},le)}));return function(q){return B.apply(this,arguments)}}(),W=function(le){console.log("isCollapsed:",le)};return r.createElement(ne,{locale:_},r.createElement(Y,{schema:Ie,onSubmit:L,onReset:L,onToggleCollapsed:W}))},V.abrupt("return",{default:D});case 19:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-react-300-actions-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { ConfigProvider } from 'antd' import { sleep } from '@examples/utils' import zhCN from 'antd/locale/zh_CN' import type { IFormRenderRootSchema } from '@schema-render/form-render-react' @@ -5309,7 +5309,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-react":{type:"NPM",value:"1.5.0"}}}}},zt={title:"\u884C\u4E3A\u64CD\u4F5C actions",toc:"content",filename:"examples/search-react/300-actions.md",lastUpdated:1704082387e3,order:300,description:"Search \u9664\u4E86\u652F\u6301 FormRender \u7684\u63D0\u4EA4\u4E0E\u91CD\u7F6E\u7B49\u76F8\u5173 API \u5916\uFF0C\u8FD8\u589E\u52A0\u4E86\u6298\u53E0\u4E0E\u5C55\u5F00\u64CD\u4F5C\u884C\u4E3A\u3002"},it=[{id:"\u884C\u4E3A\u64CD\u4F5C-actions",depth:1,title:"\u884C\u4E3A\u64CD\u4F5C actions"},{id:"\u6298\u53E0\u4E0E\u5C55\u5F00",depth:2,title:"\u6298\u53E0\u4E0E\u5C55\u5F00"},{id:"api-\u8BE6\u89E3",depth:2,title:"API \u8BE6\u89E3"}],ht=[{value:"Search",paraId:0,tocIndex:0},{value:" \u9664\u4E86\u652F\u6301 ",paraId:0,tocIndex:0},{value:"FormRender",paraId:0,tocIndex:0},{value:" \u7684\u63D0\u4EA4\u4E0E\u91CD\u7F6E\u7B49\u76F8\u5173 API \u5916\uFF0C\u8FD8\u589E\u52A0\u4E86\u6298\u53E0\u4E0E\u5C55\u5F00\u64CD\u4F5C\u884C\u4E3A\u3002",paraId:0,tocIndex:0},{value:"\u9ED8\u8BA4\u60C5\u51B5\u4E0B\u8868\u5355\u9879\u8D85\u8FC7 ",paraId:1,tocIndex:1},{value:"2",paraId:1,tocIndex:1},{value:" \u884C\u5C31\u4F1A\u6298\u53E0\uFF0C",paraId:1,tocIndex:1},{value:"onToggleCollapsed",paraId:1,tocIndex:1},{value:" \u662F\u6298\u53E0\u5C55\u5F00\u4E8B\u4EF6\u3002",paraId:1,tocIndex:1},{value:"\u53C2\u6570",paraId:2,tocIndex:2},{value:"\u63CF\u8FF0",paraId:2,tocIndex:2},{value:"\u7C7B\u578B",paraId:2,tocIndex:2},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:2},{value:"actions",paraId:2,tocIndex:2},{value:"\u914D\u7F6E\u64CD\u4F5C\u6309\u94AE\u5C55\u793A\u9879\u53CA\u5176\u987A\u5E8F",paraId:2,tocIndex:2},{value:"string[]",paraId:2,tocIndex:2},{value:'["reset", "submit", "collapse"]',paraId:2,tocIndex:2},{value:"defaultCollapsed",paraId:2,tocIndex:2},{value:"\u662F\u5426\u9ED8\u8BA4\u6298\u53E0",paraId:2,tocIndex:2},{value:"boolean",paraId:2,tocIndex:2},{value:"true",paraId:2,tocIndex:2},{value:"collapsedRows",paraId:2,tocIndex:2},{value:"\u6298\u53E0\u884C\u6570",paraId:2,tocIndex:2},{value:"number",paraId:2,tocIndex:2},{value:"2",paraId:2,tocIndex:2},{value:"calcCollapsedNumber",paraId:2,tocIndex:2},{value:"\u8BA1\u7B97\u6298\u53E0\u65F6\u5C55\u793A\u7684\u8868\u5355\u9879\u4E2A\u6570\u7684\u7B97\u6CD5\uFF0C",paraId:2,tocIndex:2},{value:"container",paraId:2,tocIndex:2},{value:" \u662F\u6839\u8282\u70B9\u5143\u7D20",paraId:2,tocIndex:2},{value:"(container?: HTMLElement) => number",paraId:2,tocIndex:2},{value:"-",paraId:2,tocIndex:2},{value:"onToggleCollapsed",paraId:2,tocIndex:2},{value:"\u300C\u6298\u53E0/\u5C55\u5F00\u300D\u5207\u6362\u4E8B\u4EF6",paraId:2,tocIndex:2},{value:"(isCollapsed: boolean) => void",paraId:2,tocIndex:2},{value:"-",paraId:2,tocIndex:2}],Yt={"examples-core-react-210-relation-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useState,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 18:return Ie=L.sent,D=Ie.default,ee={renderType:"Root",properties:{width:{title:"\u5BBD\u5EA6",renderType:"InputNumber"},height:{title:"\u9AD8\u5EA6",renderType:"InputNumber"},x:{title:"\u6A2A\u5750\u6807",renderType:"InputNumber"},y:{title:"\u7EB5\u5750\u6807",renderType:"InputNumber"}}},V=function(){var B=ne({}),le=o()(B,2),q=le[0],xe=le[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ee,itemLayout:D,renderers:Y,value:q,onChange:function(Se,ke){(ke.sPath==="width"||ke.sPath==="height")&&(Se.width=ke.value,Se.height=ke.value),xe(Se)}}),r.createElement(_,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-210-relation-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-react":{type:"NPM",value:"1.5.1"}}}}},zt={title:"\u884C\u4E3A\u64CD\u4F5C actions",toc:"content",filename:"examples/search-react/300-actions.md",lastUpdated:1704082387e3,order:300,description:"Search \u9664\u4E86\u652F\u6301 FormRender \u7684\u63D0\u4EA4\u4E0E\u91CD\u7F6E\u7B49\u76F8\u5173 API \u5916\uFF0C\u8FD8\u589E\u52A0\u4E86\u6298\u53E0\u4E0E\u5C55\u5F00\u64CD\u4F5C\u884C\u4E3A\u3002"},it=[{id:"\u884C\u4E3A\u64CD\u4F5C-actions",depth:1,title:"\u884C\u4E3A\u64CD\u4F5C actions"},{id:"\u6298\u53E0\u4E0E\u5C55\u5F00",depth:2,title:"\u6298\u53E0\u4E0E\u5C55\u5F00"},{id:"api-\u8BE6\u89E3",depth:2,title:"API \u8BE6\u89E3"}],ht=[{value:"Search",paraId:0,tocIndex:0},{value:" \u9664\u4E86\u652F\u6301 ",paraId:0,tocIndex:0},{value:"FormRender",paraId:0,tocIndex:0},{value:" \u7684\u63D0\u4EA4\u4E0E\u91CD\u7F6E\u7B49\u76F8\u5173 API \u5916\uFF0C\u8FD8\u589E\u52A0\u4E86\u6298\u53E0\u4E0E\u5C55\u5F00\u64CD\u4F5C\u884C\u4E3A\u3002",paraId:0,tocIndex:0},{value:"\u9ED8\u8BA4\u60C5\u51B5\u4E0B\u8868\u5355\u9879\u8D85\u8FC7 ",paraId:1,tocIndex:1},{value:"2",paraId:1,tocIndex:1},{value:" \u884C\u5C31\u4F1A\u6298\u53E0\uFF0C",paraId:1,tocIndex:1},{value:"onToggleCollapsed",paraId:1,tocIndex:1},{value:" \u662F\u6298\u53E0\u5C55\u5F00\u4E8B\u4EF6\u3002",paraId:1,tocIndex:1},{value:"\u53C2\u6570",paraId:2,tocIndex:2},{value:"\u63CF\u8FF0",paraId:2,tocIndex:2},{value:"\u7C7B\u578B",paraId:2,tocIndex:2},{value:"\u9ED8\u8BA4\u503C",paraId:2,tocIndex:2},{value:"actions",paraId:2,tocIndex:2},{value:"\u914D\u7F6E\u64CD\u4F5C\u6309\u94AE\u5C55\u793A\u9879\u53CA\u5176\u987A\u5E8F",paraId:2,tocIndex:2},{value:"string[]",paraId:2,tocIndex:2},{value:'["reset", "submit", "collapse"]',paraId:2,tocIndex:2},{value:"defaultCollapsed",paraId:2,tocIndex:2},{value:"\u662F\u5426\u9ED8\u8BA4\u6298\u53E0",paraId:2,tocIndex:2},{value:"boolean",paraId:2,tocIndex:2},{value:"true",paraId:2,tocIndex:2},{value:"collapsedRows",paraId:2,tocIndex:2},{value:"\u6298\u53E0\u884C\u6570",paraId:2,tocIndex:2},{value:"number",paraId:2,tocIndex:2},{value:"2",paraId:2,tocIndex:2},{value:"calcCollapsedNumber",paraId:2,tocIndex:2},{value:"\u8BA1\u7B97\u6298\u53E0\u65F6\u5C55\u793A\u7684\u8868\u5355\u9879\u4E2A\u6570\u7684\u7B97\u6CD5\uFF0C",paraId:2,tocIndex:2},{value:"container",paraId:2,tocIndex:2},{value:" \u662F\u6839\u8282\u70B9\u5143\u7D20",paraId:2,tocIndex:2},{value:"(container?: HTMLElement) => number",paraId:2,tocIndex:2},{value:"-",paraId:2,tocIndex:2},{value:"onToggleCollapsed",paraId:2,tocIndex:2},{value:"\u300C\u6298\u53E0/\u5C55\u5F00\u300D\u5207\u6362\u4E8B\u4EF6",paraId:2,tocIndex:2},{value:"(isCollapsed: boolean) => void",paraId:2,tocIndex:2},{value:"-",paraId:2,tocIndex:2}],Yt={"examples-core-react-210-relation-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useState,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 18:return Ie=L.sent,D=Ie.default,ee={renderType:"Root",properties:{width:{title:"\u5BBD\u5EA6",renderType:"InputNumber"},height:{title:"\u9AD8\u5EA6",renderType:"InputNumber"},x:{title:"\u6A2A\u5750\u6807",renderType:"InputNumber"},y:{title:"\u7EB5\u5750\u6807",renderType:"InputNumber"}}},V=function(){var B=ne({}),le=o()(B,2),q=le[0],xe=le[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ee,itemLayout:D,renderers:Y,value:q,onChange:function(Se,ke){(ke.sPath==="width"||ke.sPath==="height")&&(Se.width=ke.value,Se.height=ke.value),xe(Se)}}),r.createElement(_,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-210-relation-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import Core from '@schema-render/core-react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import renderers from './renderers/common' @@ -5367,7 +5367,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-210-relation-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useState,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 18:return Ie=L.sent,D=Ie.default,ee={renderType:"Root",properties:{width:{title:"\u5BBD\u5EA6",renderType:"InputNumber"},height:{title:"\u9AD8\u5EA6",renderType:"InputNumber"},x:{title:"\u6A2A\u5750\u6807",renderType:"InputNumber"},y:{title:"\u7EB5\u5750\u6807",renderType:"InputNumber"}}},V=function(){var B=ne({}),le=o()(B,2),q=le[0],xe=le[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ee,itemLayout:D,renderers:Y,watch:{width:function(Se){Se.height=Se.width},height:function(Se){Se.width=Se.height}},value:q,onChange:xe}),r.createElement(_,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-210-relation-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-210-relation-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useState,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 18:return Ie=L.sent,D=Ie.default,ee={renderType:"Root",properties:{width:{title:"\u5BBD\u5EA6",renderType:"InputNumber"},height:{title:"\u9AD8\u5EA6",renderType:"InputNumber"},x:{title:"\u6A2A\u5750\u6807",renderType:"InputNumber"},y:{title:"\u7EB5\u5750\u6807",renderType:"InputNumber"}}},V=function(){var B=ne({}),le=o()(B,2),q=le[0],xe=le[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(X,{schema:ee,itemLayout:D,renderers:Y,watch:{width:function(Se){Se.height=Se.width},height:function(Se){Se.width=Se.height}},value:q,onChange:xe}),r.createElement(_,{value:q}))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-210-relation-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import Core from '@schema-render/core-react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import renderers from './renderers/common' @@ -5425,7 +5425,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-210-relation-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=B.sent,ne=J.useState,B.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=B.sent,X=oe.Button,B.next=10,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 10:return k=B.sent,_=k.default,B.next=14,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 14:return te=B.sent,Y=te.default,B.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 18:return Ie=B.sent,D=Ie.default,ee={BankSelect:{component:function(q){var xe=q.value,Ae=q.sPath,Se=q.onChange,ke=function(){var gt=String(Math.random()).slice(2,6),Ut={bank_id:"id_".concat(gt),bank_account:"111222333".concat(gt),bank_name:"\u62DB\u8D22\u732B\u94F6\u884C".concat(gt),bank_branch_name:"\u62DB\u8D22\u732B\u6210\u90FD".concat(gt,"\u652F\u884C")};Se(Ut[Ae],{extra:Ut})},et={display:"flex",width:160,padding:"4px 10px",marginRight:10,border:"1px solid #ececec",borderRadius:6};return r.createElement("div",{style:{display:"flex"}},r.createElement("div",{style:et},xe),r.createElement(X,{onClick:ke},"\u9009\u62E9\u8D26\u6237"))}}},V={renderType:"Root",properties:{bank_account:{title:"\u94F6\u884C\u8D26\u53F7",renderType:"BankSelect"},bank_name:{title:"\u5F00\u6237\u94F6\u884C",renderType:"BankSelect"},bank_branch_name:{title:"\u5F00\u6237\u652F\u884C",renderType:"BankSelect"}}},ce=function(q,xe){q.bank_id=xe.extra.bank_id,q.bank_account=xe.extra.bank_account,q.bank_name=xe.extra.bank_name,q.bank_branch_name=xe.extra.bank_branch_name},L=function(){var q=ne({}),xe=o()(q,2),Ae=xe[0],Se=xe[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{schema:V,itemLayout:D,renderers:ee,watch:{bank_account:ce,bank_name:ce,bank_branch_name:ce},value:Ae,onChange:Se}),r.createElement(Y,{value:Ae}))},B.abrupt("return",{default:L});case 25:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-210-relation-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-210-relation-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=B.sent,ne=J.useState,B.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=B.sent,X=oe.Button,B.next=10,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 10:return k=B.sent,_=k.default,B.next=14,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 14:return te=B.sent,Y=te.default,B.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 18:return Ie=B.sent,D=Ie.default,ee={BankSelect:{component:function(q){var xe=q.value,Ae=q.sPath,Se=q.onChange,ke=function(){var gt=String(Math.random()).slice(2,6),Ut={bank_id:"id_".concat(gt),bank_account:"111222333".concat(gt),bank_name:"\u62DB\u8D22\u732B\u94F6\u884C".concat(gt),bank_branch_name:"\u62DB\u8D22\u732B\u6210\u90FD".concat(gt,"\u652F\u884C")};Se(Ut[Ae],{extra:Ut})},et={display:"flex",width:160,padding:"4px 10px",marginRight:10,border:"1px solid #ececec",borderRadius:6};return r.createElement("div",{style:{display:"flex"}},r.createElement("div",{style:et},xe),r.createElement(X,{onClick:ke},"\u9009\u62E9\u8D26\u6237"))}}},V={renderType:"Root",properties:{bank_account:{title:"\u94F6\u884C\u8D26\u53F7",renderType:"BankSelect"},bank_name:{title:"\u5F00\u6237\u94F6\u884C",renderType:"BankSelect"},bank_branch_name:{title:"\u5F00\u6237\u652F\u884C",renderType:"BankSelect"}}},ce=function(q,xe){q.bank_id=xe.extra.bank_id,q.bank_account=xe.extra.bank_account,q.bank_name=xe.extra.bank_name,q.bank_branch_name=xe.extra.bank_branch_name},L=function(){var q=ne({}),xe=o()(q,2),Ae=xe[0],Se=xe[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(_,{schema:V,itemLayout:D,renderers:ee,watch:{bank_account:ce,bank_name:ce,bank_branch_name:ce},value:Ae,onChange:Se}),r.createElement(Y,{value:Ae}))},B.abrupt("return",{default:L});case 25:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-210-relation-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import { Button } from 'antd' import Core from '@schema-render/core-react' import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' @@ -5519,7 +5519,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},fn={title:"\u6570\u636E\u8054\u52A8 Relation",toc:"content",filename:"examples/core-react/210-relation.md",lastUpdated:1704082387e3,group:"\u529F\u80FD\u8BE6\u89E3",order:210,description:"\u6570\u636E\u8054\u52A8\u6709\u4E24\u79CD\u65B9\u5F0F\u5B9E\u73B0\uFF0C\u5206\u522B\u662F onChange \u548C watch \u4E24\u79CD\u65B9\u5F0F\u3002"},en=[{id:"\u6570\u636E\u8054\u52A8-relation",depth:1,title:"\u6570\u636E\u8054\u52A8 Relation"},{id:"onchange-\u65B9\u5F0F",depth:2,title:"onChange \u65B9\u5F0F"},{id:"watch-\u65B9\u5F0F",depth:2,title:"watch \u65B9\u5F0F"},{id:"\u5B9E\u8DF5\u6848\u4F8B\u94F6\u884C\u8D26\u6237\u8054\u52A8",depth:2,title:"\u5B9E\u8DF5\u6848\u4F8B\uFF1A\u94F6\u884C\u8D26\u6237\u8054\u52A8"}],mn=[{value:"\u6570\u636E\u8054\u52A8\u6709\u4E24\u79CD\u65B9\u5F0F\u5B9E\u73B0\uFF0C\u5206\u522B\u662F ",paraId:0,tocIndex:0},{value:"onChange",paraId:0,tocIndex:0},{value:" \u548C ",paraId:0,tocIndex:0},{value:"watch",paraId:0,tocIndex:0},{value:" \u4E24\u79CD\u65B9\u5F0F\u3002",paraId:0,tocIndex:0},{value:"\u5728\u89E6\u53D1 ",paraId:1,tocIndex:1},{value:"onChange",paraId:1,tocIndex:1},{value:" \u4E8B\u4EF6\u65F6\uFF0C\u901A\u8FC7\u6539\u53D8\u6570\u636E\u5B9E\u73B0\u3002",paraId:1,tocIndex:1},{value:"watch",paraId:2,tocIndex:2},{value:" \u65B9\u5F0F\u662F ",paraId:2,tocIndex:2},{value:"onChange",paraId:2,tocIndex:2},{value:" \u65B9\u5F0F\u7684\u4E00\u79CD\u4FBF\u6377\u5199\u6CD5\uFF0C\u907F\u514D\u5927\u91CF ",paraId:2,tocIndex:2},{value:"if",paraId:2,tocIndex:2},{value:" \u8BED\u53E5\uFF0C\u4ECE\u800C\u63D0\u9AD8\u4EE3\u7801\u6E05\u6670\u5EA6\u4EE5\u53CA\u7814\u53D1\u6548\u7387\u3002",paraId:2,tocIndex:2},{value:"watch",paraId:3,tocIndex:2},{value:" \u5339\u914D\u7684\u662F ",paraId:3,tocIndex:2},{value:"sPath",paraId:3,tocIndex:2},{value:" \u8DEF\u5F84\u503C\uFF0C\u5982\u679C\u662F\u5D4C\u5957\u8DEF\u5F84\u503C\uFF0C\u5219\u4F7F\u7528\u70B9 ",paraId:3,tocIndex:2},{value:".",paraId:3,tocIndex:2},{value:" \u62FC\u63A5\u8868\u793A\uFF0C\u5982 ",paraId:3,tocIndex:2},{value:"objectX.width",paraId:3,tocIndex:2},{value:"\u3002",paraId:3,tocIndex:2},{value:"\u8054\u52A8\u5BF9\u8C61\u6570\u636E\u53EF\u4EE5\u901A\u8FC7 ",paraId:4,tocIndex:3},{value:"extra",paraId:4,tocIndex:3},{value:" \u5C5E\u6027\u6765\u5904\u7406\u3002",paraId:4,tocIndex:3}],fe={"examples-core-react-220-renderer-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie;return a()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=ee.sent,ne=J.Rate,ee.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=ee.sent,X=oe.default,ee.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=ee.sent,_=k.default,te={MyRate:{component:function(ce){var L=ce.disabled,W=ce.value,B=ce.onChange;return r.createElement(ne,{disabled:L,value:W,onChange:B})}}},Y={renderType:"Root",properties:{rate:{title:"\u8BC4\u5206",renderType:"MyRate"}}},Ie=function(){return r.createElement(X,{schema:Y,itemLayout:_,renderers:te})},ee.abrupt("return",{default:Ie});case 16:case"end":return ee.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-220-renderer-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Rate } from 'antd' +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},fn={title:"\u6570\u636E\u8054\u52A8 Relation",toc:"content",filename:"examples/core-react/210-relation.md",lastUpdated:1704082387e3,group:"\u529F\u80FD\u8BE6\u89E3",order:210,description:"\u6570\u636E\u8054\u52A8\u6709\u4E24\u79CD\u65B9\u5F0F\u5B9E\u73B0\uFF0C\u5206\u522B\u662F onChange \u548C watch \u4E24\u79CD\u65B9\u5F0F\u3002"},en=[{id:"\u6570\u636E\u8054\u52A8-relation",depth:1,title:"\u6570\u636E\u8054\u52A8 Relation"},{id:"onchange-\u65B9\u5F0F",depth:2,title:"onChange \u65B9\u5F0F"},{id:"watch-\u65B9\u5F0F",depth:2,title:"watch \u65B9\u5F0F"},{id:"\u5B9E\u8DF5\u6848\u4F8B\u94F6\u884C\u8D26\u6237\u8054\u52A8",depth:2,title:"\u5B9E\u8DF5\u6848\u4F8B\uFF1A\u94F6\u884C\u8D26\u6237\u8054\u52A8"}],mn=[{value:"\u6570\u636E\u8054\u52A8\u6709\u4E24\u79CD\u65B9\u5F0F\u5B9E\u73B0\uFF0C\u5206\u522B\u662F ",paraId:0,tocIndex:0},{value:"onChange",paraId:0,tocIndex:0},{value:" \u548C ",paraId:0,tocIndex:0},{value:"watch",paraId:0,tocIndex:0},{value:" \u4E24\u79CD\u65B9\u5F0F\u3002",paraId:0,tocIndex:0},{value:"\u5728\u89E6\u53D1 ",paraId:1,tocIndex:1},{value:"onChange",paraId:1,tocIndex:1},{value:" \u4E8B\u4EF6\u65F6\uFF0C\u901A\u8FC7\u6539\u53D8\u6570\u636E\u5B9E\u73B0\u3002",paraId:1,tocIndex:1},{value:"watch",paraId:2,tocIndex:2},{value:" \u65B9\u5F0F\u662F ",paraId:2,tocIndex:2},{value:"onChange",paraId:2,tocIndex:2},{value:" \u65B9\u5F0F\u7684\u4E00\u79CD\u4FBF\u6377\u5199\u6CD5\uFF0C\u907F\u514D\u5927\u91CF ",paraId:2,tocIndex:2},{value:"if",paraId:2,tocIndex:2},{value:" \u8BED\u53E5\uFF0C\u4ECE\u800C\u63D0\u9AD8\u4EE3\u7801\u6E05\u6670\u5EA6\u4EE5\u53CA\u7814\u53D1\u6548\u7387\u3002",paraId:2,tocIndex:2},{value:"watch",paraId:3,tocIndex:2},{value:" \u5339\u914D\u7684\u662F ",paraId:3,tocIndex:2},{value:"sPath",paraId:3,tocIndex:2},{value:" \u8DEF\u5F84\u503C\uFF0C\u5982\u679C\u662F\u5D4C\u5957\u8DEF\u5F84\u503C\uFF0C\u5219\u4F7F\u7528\u70B9 ",paraId:3,tocIndex:2},{value:".",paraId:3,tocIndex:2},{value:" \u62FC\u63A5\u8868\u793A\uFF0C\u5982 ",paraId:3,tocIndex:2},{value:"objectX.width",paraId:3,tocIndex:2},{value:"\u3002",paraId:3,tocIndex:2},{value:"\u8054\u52A8\u5BF9\u8C61\u6570\u636E\u53EF\u4EE5\u901A\u8FC7 ",paraId:4,tocIndex:3},{value:"extra",paraId:4,tocIndex:3},{value:" \u5C5E\u6027\u6765\u5904\u7406\u3002",paraId:4,tocIndex:3}],fe={"examples-core-react-220-renderer-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie;return a()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=ee.sent,ne=J.Rate,ee.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=ee.sent,X=oe.default,ee.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=ee.sent,_=k.default,te={MyRate:{component:function(ce){var L=ce.disabled,W=ce.value,B=ce.onChange;return r.createElement(ne,{disabled:L,value:W,onChange:B})}}},Y={renderType:"Root",properties:{rate:{title:"\u8BC4\u5206",renderType:"MyRate"}}},Ie=function(){return r.createElement(X,{schema:Y,itemLayout:_,renderers:te})},ee.abrupt("return",{default:Ie});case 16:case"end":return ee.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-220-renderer-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Rate } from 'antd' import Core from '@schema-render/core-react' import type { IRenderers, IRootSchema } from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' @@ -5556,7 +5556,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-220-renderer-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie;return a()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=ee.sent,ne=J.Rate,ee.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=ee.sent,X=oe.default,ee.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=ee.sent,_=k.default,te={MyRate:{formItem:function(ce){var L=ce.schema,W=ce.disabled,B=ce.value,le=ce.onChange;return r.createElement("div",null,r.createElement("strong",{style:{color:"red",marginRight:10}},"\u3010",L.title,"\u3011"),r.createElement(ne,{disabled:W,value:B,onChange:le}))}}},Y={renderType:"Root",properties:{rate:{title:"\u8BC4\u5206",renderType:"MyRate"}}},Ie=function(){return r.createElement(X,{schema:Y,itemLayout:_,renderers:te})},ee.abrupt("return",{default:Ie});case 16:case"end":return ee.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-220-renderer-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Rate } from 'antd' +export default Demo`},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-220-renderer-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie;return a()().wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ee.next=2,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 2:return J=ee.sent,ne=J.Rate,ee.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=ee.sent,X=oe.default,ee.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=ee.sent,_=k.default,te={MyRate:{formItem:function(ce){var L=ce.schema,W=ce.disabled,B=ce.value,le=ce.onChange;return r.createElement("div",null,r.createElement("strong",{style:{color:"red",marginRight:10}},"\u3010",L.title,"\u3011"),r.createElement(ne,{disabled:W,value:B,onChange:le}))}}},Y={renderType:"Root",properties:{rate:{title:"\u8BC4\u5206",renderType:"MyRate"}}},Ie=function(){return r.createElement(X,{schema:Y,itemLayout:_,renderers:te})},ee.abrupt("return",{default:Ie});case 16:case"end":return ee.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-220-renderer-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { Rate } from 'antd' import Core from '@schema-render/core-react' import type { IRenderers, IRootSchema } from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' @@ -5598,7 +5598,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-220-renderer-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useState,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 14:return te=L.sent,Y=te.Button,Ie=te.Input,D={InputText:{component:function(B){var le,q=B.schema,xe=B.value,Ae=B.disabled,Se=B.readonly,ke=B.onChange;return Se?r.createElement("div",null,xe):r.createElement(Ie,C()(C()({allowClear:!0,placeholder:"\u8BF7\u8F93\u5165".concat((le=q.title)!==null&&le!==void 0?le:"")},q.renderOptions),{},{value:xe!=null?xe:"",disabled:Ae,onChange:function(dt){return ke(dt.target.value)}}))}},TextArea:{component:function(B){var le,q=B.schema,xe=B.value,Ae=B.disabled,Se=B.onChange;return r.createElement(Ie.TextArea,C()(C()({rows:3,placeholder:"\u8BF7\u8F93\u5165".concat((le=q.title)!==null&&le!==void 0?le:"")},q.renderOptions),{},{value:xe!=null?xe:"",onChange:function(et){return Se(et.target.value)},disabled:Ae}))},readonlyComponent:function(B){var le=B.value;return r.createElement("div",null,le)}}},ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"TextArea"}}},V=function(){var B=ne(!1),le=o()(B,2),q=le[0],xe=le[1],Ae=ne({title:"SchemaRender \u662F\u4EC0\u4E48",content:"SchemaRender \u662F\u4E00\u5957\u66F4\u597D\u7528\u7684\u8868\u5355\u6E32\u67D3\u89E3\u51B3\u65B9\u6848"}),Se=o()(Ae,2),ke=Se[0],et=Se[1];return r.createElement("div",{style:{maxWidth:500}},r.createElement(X,{schema:ee,itemLayout:_,renderers:D,value:ke,onChange:et,readonly:q}),r.createElement(Y,{style:{margin:"20px 0 0 115px"},type:"primary",onClick:function(){return xe(!q)}},q?"\u53D6\u6D88":"\u5207\u6362\u5230"," readonly \u72B6\u6001"))},L.abrupt("return",{default:V});case 21:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-220-renderer-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-220-renderer-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useState,L.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=L.sent,X=oe.default,L.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 14:return te=L.sent,Y=te.Button,Ie=te.Input,D={InputText:{component:function(B){var le,q=B.schema,xe=B.value,Ae=B.disabled,Se=B.readonly,ke=B.onChange;return Se?r.createElement("div",null,xe):r.createElement(Ie,C()(C()({allowClear:!0,placeholder:"\u8BF7\u8F93\u5165".concat((le=q.title)!==null&&le!==void 0?le:"")},q.renderOptions),{},{value:xe!=null?xe:"",disabled:Ae,onChange:function(dt){return ke(dt.target.value)}}))}},TextArea:{component:function(B){var le,q=B.schema,xe=B.value,Ae=B.disabled,Se=B.onChange;return r.createElement(Ie.TextArea,C()(C()({rows:3,placeholder:"\u8BF7\u8F93\u5165".concat((le=q.title)!==null&&le!==void 0?le:"")},q.renderOptions),{},{value:xe!=null?xe:"",onChange:function(et){return Se(et.target.value)},disabled:Ae}))},readonlyComponent:function(B){var le=B.value;return r.createElement("div",null,le)}}},ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"TextArea"}}},V=function(){var B=ne(!1),le=o()(B,2),q=le[0],xe=le[1],Ae=ne({title:"SchemaRender \u662F\u4EC0\u4E48",content:"SchemaRender \u662F\u4E00\u5957\u66F4\u597D\u7528\u7684\u8868\u5355\u6E32\u67D3\u89E3\u51B3\u65B9\u6848"}),Se=o()(Ae,2),ke=Se[0],et=Se[1];return r.createElement("div",{style:{maxWidth:500}},r.createElement(X,{schema:ee,itemLayout:_,renderers:D,value:ke,onChange:et,readonly:q}),r.createElement(Y,{style:{margin:"20px 0 0 115px"},type:"primary",onClick:function(){return xe(!q)}},q?"\u53D6\u6D88":"\u5207\u6362\u5230"," readonly \u72B6\u6001"))},L.abrupt("return",{default:V});case 21:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-220-renderer-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import Core from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import { Button, Input } from 'antd' @@ -5685,7 +5685,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},antd:{type:"NPM",value:"5.9.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Re={title:"\u6E32\u67D3\u5668 Renderer",toc:"content",filename:"examples/core-react/220-renderer.md",lastUpdated:1705629018e3,group:"\u529F\u80FD\u8BE6\u89E3",order:220,description:"\u6E32\u67D3\u5668\u662F\u4E3B\u8981\u5185\u5BB9\u5B9A\u4E49\u7684\u5730\u65B9\uFF0C\u5C5E\u6027\u5982\u4E0B\uFF1A"},Ue=[{id:"\u6E32\u67D3\u5668-renderer",depth:1,title:"\u6E32\u67D3\u5668 Renderer"},{id:"component",depth:2,title:"component"},{id:"component-\u53C2\u6570\u8BE6\u89E3",depth:3,title:"component \u53C2\u6570\u8BE6\u89E3"},{id:"onchange-\u4E8B\u4EF6\u8BE6\u89E3",depth:3,title:"onChange \u4E8B\u4EF6\u8BE6\u89E3"},{id:"formitem",depth:2,title:"formItem"},{id:"formitem-\u53C2\u6570\u8BE6\u89E3",depth:3,title:"formItem \u53C2\u6570\u8BE6\u89E3"},{id:"readonlycomponent",depth:2,title:"readonlyComponent"},{id:"readonlyformitem",depth:2,title:"readonlyFormItem"},{id:"validator",depth:2,title:"validator"}],rt=[{value:"\u6E32\u67D3\u5668\u662F\u4E3B\u8981\u5185\u5BB9\u5B9A\u4E49\u7684\u5730\u65B9\uFF0C\u5C5E\u6027\u5982\u4E0B\uFF1A",paraId:0,tocIndex:0},{value:"component",paraId:1,tocIndex:0},{value:": \u6CE8\u518C\u6E32\u67D3\u5668\u7EC4\u4EF6\uFF0C\u6E32\u67D3\u4E3B\u8981\u5185\u5BB9\uFF0C",paraId:1,tocIndex:0},{value:"ReactNode",paraId:1,tocIndex:0},{value:" \u7C7B\u578B\u3002",paraId:1,tocIndex:0},{value:"formItem",paraId:1,tocIndex:0},{value:": \u6CE8\u518C\u6E32\u67D3\u5668\u7EC4\u4EF6\uFF0C\u6E32\u67D3\u4E3B\u8981\u5185\u5BB9\uFF0C\u53EF\u72EC\u7ACB\u5B9A\u4E49\u5E03\u5C40\u7ED3\u6784\uFF08\u4E0D\u53D7\u9650\u4E8E itemLayout \u5E03\u5C40\uFF09\uFF0C",paraId:1,tocIndex:0},{value:"ReactNode",paraId:1,tocIndex:0},{value:" \u7C7B\u578B\u3002",paraId:1,tocIndex:0},{value:"readonlyComponent",paraId:1,tocIndex:0},{value:": \u53EA\u8BFB\u6001\u65F6\uFF0C",paraId:1,tocIndex:0},{value:"component",paraId:1,tocIndex:0},{value:" \u6A21\u5F0F\u7684\u53EF\u9009\u66FF\u4EE3\u65B9\u6848\u3002",paraId:1,tocIndex:0},{value:"readonlyFormItem",paraId:1,tocIndex:0},{value:": \u53EA\u8BFB\u6001\u65F6\uFF0C",paraId:1,tocIndex:0},{value:"formItem",paraId:1,tocIndex:0},{value:" \u6A21\u5F0F\u7684\u53EF\u9009\u66FF\u4EE3\u65B9\u6848\u3002",paraId:1,tocIndex:0},{value:"validator",paraId:1,tocIndex:0},{value:": \u6E32\u67D3\u5668\u5185\u7F6E\u6821\u9A8C\u5668\uFF0C\u5B9A\u4E49\u4E0E\u6E32\u67D3\u5668\u7ED1\u5B9A\u7684\u6821\u9A8C\u89C4\u5219\u3002",paraId:1,tocIndex:0},{value:"\u6E32\u67D3\u5668\u7EC4\u4EF6\u6CE8\u518C\u6D41\u7A0B\u5982\u4E0B\uFF1A",paraId:2,tocIndex:0},{value:"component",paraId:3,tocIndex:1},{value:" \u6A21\u5F0F\u662F\u5E38\u7528\u7684\u5B9A\u4E49\u6E32\u67D3\u5668\u7EC4\u4EF6\u7684\u65B9\u5F0F\uFF0C\u56E0\u4E3A\u4E0D\u9700\u8981\u7F16\u5199\u6807\u9898\u4E0E\u5185\u5BB9\u7684\u5E03\u5C40\u7ED3\u6784\uFF0C\u7531 ",paraId:3,tocIndex:1},{value:"itemLayout",paraId:3,tocIndex:1},{value:" \u7EDF\u4E00\u7BA1\u7406\u3002",paraId:3,tocIndex:1},{value:"\u4E0B\u9762\u901A\u8FC7 ",paraId:4,tocIndex:1},{value:"component",paraId:4,tocIndex:1},{value:" \u6A21\u5F0F\u5B9E\u73B0\u4E00\u4E2A\u81EA\u5B9A\u4E49\u8BC4\u5206\u6E32\u67D3\u5668\u3002",paraId:4,tocIndex:1},{value:"\u5982\u679C\u662F TypeScript \u9879\u76EE\uFF0C\u53EF\u4EE5\u901A\u8FC7 ",paraId:5,tocIndex:2},{value:"IOpenComponentParams",paraId:5,tocIndex:2},{value:" \u7C7B\u578B\u4E86\u89E3\u6240\u6709\u7684\u53C2\u6570\u53CA\u5176\u6CE8\u89E3\u3002",paraId:5,tocIndex:2},{value:"\u53C2\u6570",paraId:6,tocIndex:2},{value:"\u8BF4\u660E",paraId:6,tocIndex:2},{value:"\u7C7B\u578B",paraId:6,tocIndex:2},{value:"schema",paraId:6,tocIndex:2},{value:"Schema \u534F\u8BAE\u63CF\u8FF0\u5BF9\u8C61",paraId:6,tocIndex:2},{value:"ISchema",paraId:6,tocIndex:2},{value:"value",paraId:6,tocIndex:2},{value:"\u5F53\u524D\u8868\u5355\u9879\u7684\u503C",paraId:6,tocIndex:2},{value:"any",paraId:6,tocIndex:2},{value:"rootValue",paraId:6,tocIndex:2},{value:"\u8868\u5355\u6574\u4F53\u6570\u636E",paraId:6,tocIndex:2},{value:"object",paraId:6,tocIndex:2},{value:"path",paraId:6,tocIndex:2},{value:"\u5F53\u524D\u8868\u5355\u9879\u7684\u8DEF\u5F84",paraId:6,tocIndex:2},{value:"array",paraId:6,tocIndex:2},{value:"sPath",paraId:6,tocIndex:2},{value:"\u5F53\u524D\u8868\u5355\u9879\u7684\u8DEF\u5F84\u5B57\u7B26\u4E32\u683C\u5F0F\u8868\u793A",paraId:6,tocIndex:2},{value:"string",paraId:6,tocIndex:2},{value:"required",paraId:6,tocIndex:2},{value:"\u662F\u5426\u5FC5\u586B\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:6,tocIndex:2},{value:"boolean",paraId:6,tocIndex:2},{value:"disabled",paraId:6,tocIndex:2},{value:"\u662F\u5426\u7981\u7528\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:6,tocIndex:2},{value:"boolean",paraId:6,tocIndex:2},{value:"readonly",paraId:6,tocIndex:2},{value:"\u662F\u5426\u53EA\u8BFB\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:6,tocIndex:2},{value:"boolean",paraId:6,tocIndex:2},{value:"locale",paraId:6,tocIndex:2},{value:"\u56FD\u9645\u5316\u8BED\u8A00\u6570\u636E",paraId:6,tocIndex:2},{value:"object",paraId:6,tocIndex:2},{value:"userCtx",paraId:6,tocIndex:2},{value:"\u7528\u6237\u5168\u5C40\u4E0A\u4E0B\u6587\u6570\u636E",paraId:6,tocIndex:2},{value:"object",paraId:6,tocIndex:2},{value:"objectStyle",paraId:6,tocIndex:2},{value:"\u5BF9\u8C61\u7C7B\u578B\u6837\u5F0F",paraId:6,tocIndex:2},{value:"object",paraId:6,tocIndex:2},{value:"validator",paraId:6,tocIndex:2},{value:"\u6821\u9A8C\u5668\u4FE1\u606F\uFF0C\u5305\u542B\u6821\u9A8C\u72B6\u6001\u3001\u63D0\u793A\u6D88\u606F\u4E0E\u9644\u52A0\u6570\u636E",paraId:6,tocIndex:2},{value:"object",paraId:6,tocIndex:2},{value:"onChange",paraId:6,tocIndex:2},{value:"\u8868\u5355\u9879\u503C\u56DE\u8C03\u4E8B\u4EF6",paraId:6,tocIndex:2},{value:"Function",paraId:6,tocIndex:2},{value:"\u51FD\u6570\u7C7B\u578B\uFF1A",paraId:7,tocIndex:3},{value:"(value: any, options?: IOpenChangeOptions) => void",paraId:7,tocIndex:3},{value:"options",paraId:7,tocIndex:3},{value:` \u53EF\u9009\u53C2\u6570\u5982\u4E0B\uFF1A +export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},antd:{type:"NPM",value:"5.9.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Re={title:"\u6E32\u67D3\u5668 Renderer",toc:"content",filename:"examples/core-react/220-renderer.md",lastUpdated:1705629018e3,group:"\u529F\u80FD\u8BE6\u89E3",order:220,description:"\u6E32\u67D3\u5668\u662F\u4E3B\u8981\u5185\u5BB9\u5B9A\u4E49\u7684\u5730\u65B9\uFF0C\u5C5E\u6027\u5982\u4E0B\uFF1A"},Ue=[{id:"\u6E32\u67D3\u5668-renderer",depth:1,title:"\u6E32\u67D3\u5668 Renderer"},{id:"component",depth:2,title:"component"},{id:"component-\u53C2\u6570\u8BE6\u89E3",depth:3,title:"component \u53C2\u6570\u8BE6\u89E3"},{id:"onchange-\u4E8B\u4EF6\u8BE6\u89E3",depth:3,title:"onChange \u4E8B\u4EF6\u8BE6\u89E3"},{id:"formitem",depth:2,title:"formItem"},{id:"formitem-\u53C2\u6570\u8BE6\u89E3",depth:3,title:"formItem \u53C2\u6570\u8BE6\u89E3"},{id:"readonlycomponent",depth:2,title:"readonlyComponent"},{id:"readonlyformitem",depth:2,title:"readonlyFormItem"},{id:"validator",depth:2,title:"validator"}],rt=[{value:"\u6E32\u67D3\u5668\u662F\u4E3B\u8981\u5185\u5BB9\u5B9A\u4E49\u7684\u5730\u65B9\uFF0C\u5C5E\u6027\u5982\u4E0B\uFF1A",paraId:0,tocIndex:0},{value:"component",paraId:1,tocIndex:0},{value:": \u6CE8\u518C\u6E32\u67D3\u5668\u7EC4\u4EF6\uFF0C\u6E32\u67D3\u4E3B\u8981\u5185\u5BB9\uFF0C",paraId:1,tocIndex:0},{value:"ReactNode",paraId:1,tocIndex:0},{value:" \u7C7B\u578B\u3002",paraId:1,tocIndex:0},{value:"formItem",paraId:1,tocIndex:0},{value:": \u6CE8\u518C\u6E32\u67D3\u5668\u7EC4\u4EF6\uFF0C\u6E32\u67D3\u4E3B\u8981\u5185\u5BB9\uFF0C\u53EF\u72EC\u7ACB\u5B9A\u4E49\u5E03\u5C40\u7ED3\u6784\uFF08\u4E0D\u53D7\u9650\u4E8E itemLayout \u5E03\u5C40\uFF09\uFF0C",paraId:1,tocIndex:0},{value:"ReactNode",paraId:1,tocIndex:0},{value:" \u7C7B\u578B\u3002",paraId:1,tocIndex:0},{value:"readonlyComponent",paraId:1,tocIndex:0},{value:": \u53EA\u8BFB\u6001\u65F6\uFF0C",paraId:1,tocIndex:0},{value:"component",paraId:1,tocIndex:0},{value:" \u6A21\u5F0F\u7684\u53EF\u9009\u66FF\u4EE3\u65B9\u6848\u3002",paraId:1,tocIndex:0},{value:"readonlyFormItem",paraId:1,tocIndex:0},{value:": \u53EA\u8BFB\u6001\u65F6\uFF0C",paraId:1,tocIndex:0},{value:"formItem",paraId:1,tocIndex:0},{value:" \u6A21\u5F0F\u7684\u53EF\u9009\u66FF\u4EE3\u65B9\u6848\u3002",paraId:1,tocIndex:0},{value:"validator",paraId:1,tocIndex:0},{value:": \u6E32\u67D3\u5668\u5185\u7F6E\u6821\u9A8C\u5668\uFF0C\u5B9A\u4E49\u4E0E\u6E32\u67D3\u5668\u7ED1\u5B9A\u7684\u6821\u9A8C\u89C4\u5219\u3002",paraId:1,tocIndex:0},{value:"\u6E32\u67D3\u5668\u7EC4\u4EF6\u6CE8\u518C\u6D41\u7A0B\u5982\u4E0B\uFF1A",paraId:2,tocIndex:0},{value:"component",paraId:3,tocIndex:1},{value:" \u6A21\u5F0F\u662F\u5E38\u7528\u7684\u5B9A\u4E49\u6E32\u67D3\u5668\u7EC4\u4EF6\u7684\u65B9\u5F0F\uFF0C\u56E0\u4E3A\u4E0D\u9700\u8981\u7F16\u5199\u6807\u9898\u4E0E\u5185\u5BB9\u7684\u5E03\u5C40\u7ED3\u6784\uFF0C\u7531 ",paraId:3,tocIndex:1},{value:"itemLayout",paraId:3,tocIndex:1},{value:" \u7EDF\u4E00\u7BA1\u7406\u3002",paraId:3,tocIndex:1},{value:"\u4E0B\u9762\u901A\u8FC7 ",paraId:4,tocIndex:1},{value:"component",paraId:4,tocIndex:1},{value:" \u6A21\u5F0F\u5B9E\u73B0\u4E00\u4E2A\u81EA\u5B9A\u4E49\u8BC4\u5206\u6E32\u67D3\u5668\u3002",paraId:4,tocIndex:1},{value:"\u5982\u679C\u662F TypeScript \u9879\u76EE\uFF0C\u53EF\u4EE5\u901A\u8FC7 ",paraId:5,tocIndex:2},{value:"IOpenComponentParams",paraId:5,tocIndex:2},{value:" \u7C7B\u578B\u4E86\u89E3\u6240\u6709\u7684\u53C2\u6570\u53CA\u5176\u6CE8\u89E3\u3002",paraId:5,tocIndex:2},{value:"\u53C2\u6570",paraId:6,tocIndex:2},{value:"\u8BF4\u660E",paraId:6,tocIndex:2},{value:"\u7C7B\u578B",paraId:6,tocIndex:2},{value:"schema",paraId:6,tocIndex:2},{value:"Schema \u534F\u8BAE\u63CF\u8FF0\u5BF9\u8C61",paraId:6,tocIndex:2},{value:"ISchema",paraId:6,tocIndex:2},{value:"value",paraId:6,tocIndex:2},{value:"\u5F53\u524D\u8868\u5355\u9879\u7684\u503C",paraId:6,tocIndex:2},{value:"any",paraId:6,tocIndex:2},{value:"rootValue",paraId:6,tocIndex:2},{value:"\u8868\u5355\u6574\u4F53\u6570\u636E",paraId:6,tocIndex:2},{value:"object",paraId:6,tocIndex:2},{value:"path",paraId:6,tocIndex:2},{value:"\u5F53\u524D\u8868\u5355\u9879\u7684\u8DEF\u5F84",paraId:6,tocIndex:2},{value:"array",paraId:6,tocIndex:2},{value:"sPath",paraId:6,tocIndex:2},{value:"\u5F53\u524D\u8868\u5355\u9879\u7684\u8DEF\u5F84\u5B57\u7B26\u4E32\u683C\u5F0F\u8868\u793A",paraId:6,tocIndex:2},{value:"string",paraId:6,tocIndex:2},{value:"required",paraId:6,tocIndex:2},{value:"\u662F\u5426\u5FC5\u586B\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:6,tocIndex:2},{value:"boolean",paraId:6,tocIndex:2},{value:"disabled",paraId:6,tocIndex:2},{value:"\u662F\u5426\u7981\u7528\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:6,tocIndex:2},{value:"boolean",paraId:6,tocIndex:2},{value:"readonly",paraId:6,tocIndex:2},{value:"\u662F\u5426\u53EA\u8BFB\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:6,tocIndex:2},{value:"boolean",paraId:6,tocIndex:2},{value:"locale",paraId:6,tocIndex:2},{value:"\u56FD\u9645\u5316\u8BED\u8A00\u6570\u636E",paraId:6,tocIndex:2},{value:"object",paraId:6,tocIndex:2},{value:"userCtx",paraId:6,tocIndex:2},{value:"\u7528\u6237\u5168\u5C40\u4E0A\u4E0B\u6587\u6570\u636E",paraId:6,tocIndex:2},{value:"object",paraId:6,tocIndex:2},{value:"objectStyle",paraId:6,tocIndex:2},{value:"\u5BF9\u8C61\u7C7B\u578B\u6837\u5F0F",paraId:6,tocIndex:2},{value:"object",paraId:6,tocIndex:2},{value:"validator",paraId:6,tocIndex:2},{value:"\u6821\u9A8C\u5668\u4FE1\u606F\uFF0C\u5305\u542B\u6821\u9A8C\u72B6\u6001\u3001\u63D0\u793A\u6D88\u606F\u4E0E\u9644\u52A0\u6570\u636E",paraId:6,tocIndex:2},{value:"object",paraId:6,tocIndex:2},{value:"onChange",paraId:6,tocIndex:2},{value:"\u8868\u5355\u9879\u503C\u56DE\u8C03\u4E8B\u4EF6",paraId:6,tocIndex:2},{value:"Function",paraId:6,tocIndex:2},{value:"\u51FD\u6570\u7C7B\u578B\uFF1A",paraId:7,tocIndex:3},{value:"(value: any, options?: IOpenChangeOptions) => void",paraId:7,tocIndex:3},{value:"options",paraId:7,tocIndex:3},{value:` \u53EF\u9009\u53C2\u6570\u5982\u4E0B\uFF1A `,paraId:7,tocIndex:3},{value:"triggerValidator",paraId:8,tocIndex:3},{value:": \u662F\u5426\u89E6\u53D1\u6821\u9A8C\u5668\uFF0C",paraId:8,tocIndex:3},{value:"boolean",paraId:8,tocIndex:3},{value:" \u7C7B\u578B\u3002",paraId:8,tocIndex:3},{value:"extra",paraId:8,tocIndex:3},{value:": \u643A\u5E26\u7684\u989D\u5916\u6570\u636E\uFF0C\u4EFB\u610F\u7C7B\u578B\u3002",paraId:8,tocIndex:3},{value:"formItem",paraId:9,tocIndex:4},{value:" \u6A21\u5F0F\u9002\u7528\u4E8E\u9700\u8981\u7A81\u7834 ",paraId:9,tocIndex:4},{value:"itemLayout",paraId:9,tocIndex:4},{value:" \u7684\u9650\u5236\uFF0C\u72EC\u81EA\u5B9A\u4E49\u8868\u5355\u9879\u7684\u5E03\u5C40\u7684\u573A\u666F\u3002",paraId:9,tocIndex:4},{value:"\u540C\u6837\u4EE5\u8BC4\u5206\u6E32\u67D3\u5668\u4E3A\u4F8B\uFF0C\u5C06\u8868\u5355\u9879\u7684\u6807\u9898\u52A0\u7C97\u52A0\u7EA2\u6765\u5C55\u793A\u3002",paraId:10,tocIndex:4},{value:"\u5982\u679C\u662F TypeScript \u9879\u76EE\uFF0C\u53EF\u4EE5\u901A\u8FC7 ",paraId:11,tocIndex:5},{value:"IOpenFormItemParams",paraId:11,tocIndex:5},{value:" \u7C7B\u578B\u4E86\u89E3\u6240\u6709\u7684\u53C2\u6570\u53CA\u5176\u6CE8\u89E3\u3002",paraId:11,tocIndex:5},{value:"\u76EE\u524D ",paraId:12,tocIndex:5},{value:"formItem",paraId:12,tocIndex:5},{value:" \u53C2\u6570\u4E0E ",paraId:12,tocIndex:5},{value:"component",paraId:12,tocIndex:5},{value:" \u53C2\u6570\u4E00\u81F4\u3002",paraId:12,tocIndex:5},{value:"\u7F16\u5199\u53EA\u8BFB\u6001\u903B\u8F91\u6709 2 \u79CD\u65B9\u5F0F\uFF1A",paraId:13,tocIndex:6},{value:"\u7B2C\u4E00\u79CD\uFF0C\u5728 ",paraId:14,tocIndex:6},{value:"component",paraId:14,tocIndex:6},{value:" \u7EC4\u4EF6\u91CC\u901A\u8FC7 ",paraId:14,tocIndex:6},{value:"readonly",paraId:14,tocIndex:6},{value:" \u72B6\u6001\u533A\u5206\uFF0C\u8FD9\u79CD\u65B9\u5F0F\u4F1A\u5B58\u5728 ",paraId:14,tocIndex:6},{value:"if",paraId:14,tocIndex:6},{value:" \u8BED\u53E5\uFF0C\u5E76\u4E14\u5728\u590D\u6742\u7EC4\u4EF6\u91CC\u4F1A\u5BFC\u81F4\u4E0D\u5FC5\u8981\u7684\u72B6\u6001\u5B9A\u4E49\u7B49\u903B\u8F91\u3002",paraId:14,tocIndex:6},{value:"\u7B2C\u4E8C\u79CD\uFF0C\u901A\u8FC7 ",paraId:14,tocIndex:6},{value:"readonlyComponent",paraId:14,tocIndex:6},{value:" \u58F0\u660E\uFF0C\u53EF\u4EE5\u51CF\u5C11 ",paraId:14,tocIndex:6},{value:"if",paraId:14,tocIndex:6},{value:" \u8BED\u53E5\u4F7F\u5F97\u67B6\u6784\u66F4\u6E05\u6670\uFF0C\u5BF9\u4E8E\u590D\u6742\u7684\u7EC4\u4EF6\u907F\u514D\u89E6\u53D1\u4E0D\u5FC5\u8981\u7684\u72B6\u6001\u5B9A\u4E49\u7B49\u903B\u8F91\u3002",paraId:14,tocIndex:6},{value:"readonlyComponent",paraId:15,tocIndex:6},{value:" \u53C2\u6570\u4E0E ",paraId:15,tocIndex:6},{value:"component",paraId:15,tocIndex:6},{value:" \u4E00\u81F4\u3002",paraId:15,tocIndex:6},{value:"readonlyFormItem",paraId:16,tocIndex:7},{value:" \u4E0E ",paraId:16,tocIndex:7},{value:"readonlyComponent",paraId:16,tocIndex:7},{value:" \u6A21\u5F0F\u4E00\u81F4\uFF0C\u53C2\u6570\u4E0E ",paraId:16,tocIndex:7},{value:"formItem",paraId:16,tocIndex:7},{value:" \u4E00\u81F4\u3002",paraId:16,tocIndex:7},{value:"\u6E32\u67D3\u5668\u5185\u7F6E\u6821\u9A8C\u5668\uFF0C\u5B9A\u4E49\u4E0E\u6E32\u67D3\u5668\u7ED1\u5B9A\u7684\u6821\u9A8C\u89C4\u5219\uFF1B\u8BE6\u60C5\u89C1 ",paraId:17,tocIndex:8},{value:"Renderer Validator",paraId:18,tocIndex:8},{value:"\u3002",paraId:17,tocIndex:8}],Me={"examples-core-react-280-open-api-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=B.sent,ne=J.useState,oe=J.useRef,B.next=7,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 7:return X=B.sent,k=X.Button,_=X.message,B.next=12,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 12:return te=B.sent,Y=te.default,B.next=16,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 16:return Ie=B.sent,D=Ie.default,B.next=20,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 20:return ee=B.sent,V=ee.default,ce={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0,rules:[{min:5,message:"\u6807\u9898\u6700\u5C11 5 \u4E2A\u5B57\u7B26"},{max:10,message:"\u6807\u9898\u4E0D\u80FD\u8D85\u8FC7 10 \u4E2A\u5B57\u7B26"}]},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0}}},L=function(){var q=ne({}),xe=o()(q,2),Ae=xe[0],Se=xe[1],ke=oe(null);function et(){return dt.apply(this,arguments)}function dt(){return dt=c()(a()().mark(function gt(){var Ut,Mt,Wt;return a()().wrap(function(un){for(;;)switch(un.prev=un.next){case 0:return un.next=2,ke.current.validate();case 2:if(Ut=un.sent,Mt=Ut.hasError,Wt=Ut.errorList,console.log("[validate] hasError: ",Mt),console.log("[validate] errorList: ",Wt),!Mt){un.next=9;break}return un.abrupt("return",_.error("\u9A8C\u8BC1\u9519\u8BEF"));case 9:_.success("\u9A8C\u8BC1\u6210\u529F");case 10:case"end":return un.stop()}},gt)})),dt.apply(this,arguments)}return r.createElement("div",null,r.createElement(Y,{ref:ke,schema:ce,value:Ae,onChange:Se,itemLayout:V,renderers:D}),r.createElement(k,{type:"primary",style:{margin:"24px 0 0 115px"},onClick:et},"\u63D0\u4EA4"))},B.abrupt("return",{default:L});case 25:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-280-open-api-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' import { Button, message } from 'antd' import Core from '@schema-render/core-react' @@ -5750,7 +5750,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-280-open-api-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=B.sent,ne=J.useState,oe=J.useRef,B.next=7,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 7:return X=B.sent,k=X.Button,_=X.message,B.next=12,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 12:return te=B.sent,Y=te.default,B.next=16,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 16:return Ie=B.sent,D=Ie.default,B.next=20,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 20:return ee=B.sent,V=ee.default,ce={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0,rules:[{min:5,message:"\u6807\u9898\u6700\u5C11 5 \u4E2A\u5B57\u7B26"},{max:10,message:"\u6807\u9898\u4E0D\u80FD\u8D85\u8FC7 10 \u4E2A\u5B57\u7B26"}]},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0}}},L=function(){var q=ne({}),xe=o()(q,2),Ae=xe[0],Se=xe[1],ke=oe(null);function et(){return dt.apply(this,arguments)}function dt(){return dt=c()(a()().mark(function Ut(){var Mt,Wt;return a()().wrap(function(un){for(;;)switch(un.prev=un.next){case 0:return un.next=2,ke.current.validate();case 2:if(Mt=un.sent,Wt=Mt.hasError,!Wt){un.next=6;break}return un.abrupt("return",_.error("\u9A8C\u8BC1\u9519\u8BEF"));case 6:_.success("\u9A8C\u8BC1\u6210\u529F");case 7:case"end":return un.stop()}},Ut)})),dt.apply(this,arguments)}var gt=function(){ke.current.resetError()};return r.createElement("div",null,r.createElement(Y,{ref:ke,schema:ce,value:Ae,onChange:Se,itemLayout:V,renderers:D}),r.createElement(k,{type:"primary",style:{margin:"24px 15px 0 115px"},onClick:et},"\u63D0\u4EA4"),r.createElement(k,{onClick:gt},"\u91CD\u7F6E\u9519\u8BEF\u63D0\u793A"))},B.abrupt("return",{default:L});case 25:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-280-open-api-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-280-open-api-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L;return a()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=B.sent,ne=J.useState,oe=J.useRef,B.next=7,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 7:return X=B.sent,k=X.Button,_=X.message,B.next=12,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 12:return te=B.sent,Y=te.default,B.next=16,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 16:return Ie=B.sent,D=Ie.default,B.next=20,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 20:return ee=B.sent,V=ee.default,ce={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0,rules:[{min:5,message:"\u6807\u9898\u6700\u5C11 5 \u4E2A\u5B57\u7B26"},{max:10,message:"\u6807\u9898\u4E0D\u80FD\u8D85\u8FC7 10 \u4E2A\u5B57\u7B26"}]},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0}}},L=function(){var q=ne({}),xe=o()(q,2),Ae=xe[0],Se=xe[1],ke=oe(null);function et(){return dt.apply(this,arguments)}function dt(){return dt=c()(a()().mark(function Ut(){var Mt,Wt;return a()().wrap(function(un){for(;;)switch(un.prev=un.next){case 0:return un.next=2,ke.current.validate();case 2:if(Mt=un.sent,Wt=Mt.hasError,!Wt){un.next=6;break}return un.abrupt("return",_.error("\u9A8C\u8BC1\u9519\u8BEF"));case 6:_.success("\u9A8C\u8BC1\u6210\u529F");case 7:case"end":return un.stop()}},Ut)})),dt.apply(this,arguments)}var gt=function(){ke.current.resetError()};return r.createElement("div",null,r.createElement(Y,{ref:ke,schema:ce,value:Ae,onChange:Se,itemLayout:V,renderers:D}),r.createElement(k,{type:"primary",style:{margin:"24px 15px 0 115px"},onClick:et},"\u63D0\u4EA4"),r.createElement(k,{onClick:gt},"\u91CD\u7F6E\u9519\u8BEF\u63D0\u793A"))},B.abrupt("return",{default:L});case 25:case"end":return B.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-280-open-api-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' import { Button, message } from 'antd' import Core from '@schema-render/core-react' import type { ICoreRef, IRootSchema } from '@schema-render/core-react' @@ -5819,7 +5819,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-280-open-api-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useRef,L.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=L.sent,X=oe.Button,L.next=10,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 18:return Ie=L.sent,D=Ie.default,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0}}},V=function(){var B=ne(null),le=function(){B.current.resetValue()};return r.createElement("div",null,r.createElement(_,{ref:B,schema:ee,itemLayout:D,renderers:Y}),r.createElement(X,{style:{margin:"24px 15px 0 115px"},onClick:le},"\u91CD\u7F6E"))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-280-open-api-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useRef } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-280-open-api-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useRef,L.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=L.sent,X=oe.Button,L.next=10,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 18:return Ie=L.sent,D=Ie.default,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0}}},V=function(){var B=ne(null),le=function(){B.current.resetValue()};return r.createElement("div",null,r.createElement(_,{ref:B,schema:ee,itemLayout:D,renderers:Y}),r.createElement(X,{style:{margin:"24px 15px 0 115px"},onClick:le},"\u91CD\u7F6E"))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-280-open-api-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useRef } from 'react' import { Button } from 'antd' import Core from '@schema-render/core-react' import type { ICoreRef, IRootSchema } from '@schema-render/core-react' @@ -5860,7 +5860,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-280-open-api-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useRef,L.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=L.sent,X=oe.Button,L.next=10,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 18:return Ie=L.sent,D=Ie.default,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0}}},V=function(){var B=ne(null);return r.createElement("div",null,r.createElement(_,{ref:B,schema:ee,itemLayout:D,renderers:Y}),r.createElement(X,{style:{margin:"24px 15px 0 115px"},type:"primary",onClick:function(){var q,xe=(q=B.current)===null||q===void 0?void 0:q.getRootElement();console.log("rootElement:",xe)}},"\u83B7\u53D6\u6839\u8282\u70B9 DOM \u5143\u7D20\uFF0C\u8BF7\u5728\u63A7\u5236\u53F0\u67E5\u770B"))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-280-open-api-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useRef } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-280-open-api-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useRef,L.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=L.sent,X=oe.Button,L.next=10,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 18:return Ie=L.sent,D=Ie.default,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0}}},V=function(){var B=ne(null);return r.createElement("div",null,r.createElement(_,{ref:B,schema:ee,itemLayout:D,renderers:Y}),r.createElement(X,{style:{margin:"24px 15px 0 115px"},type:"primary",onClick:function(){var q,xe=(q=B.current)===null||q===void 0?void 0:q.getRootElement();console.log("rootElement:",xe)}},"\u83B7\u53D6\u6839\u8282\u70B9 DOM \u5143\u7D20\uFF0C\u8BF7\u5728\u63A7\u5236\u53F0\u67E5\u770B"))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-280-open-api-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useRef } from 'react' import { Button } from 'antd' import Core from '@schema-render/core-react' import type { ICoreRef, IRootSchema } from '@schema-render/core-react' @@ -5903,7 +5903,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-280-open-api-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useRef,L.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=L.sent,X=oe.Button,L.next=10,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 18:return Ie=L.sent,D=Ie.default,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0}}},V=function(){var B=ne(null);return r.createElement("div",null,r.createElement(_,{ref:B,schema:ee,itemLayout:D,renderers:Y}),r.createElement(X,{style:{margin:"24px 15px 0 115px"},type:"primary",onClick:function(){var q,xe,Ae=(q=B.current)===null||q===void 0||(xe=q.findItem("title"))===null||xe===void 0?void 0:xe.getRootElement();console.log("formItemRootElement:",Ae)}},"\u83B7\u53D6\u3010\u6807\u9898\u3011\u6839\u8282\u70B9 DOM \u5143\u7D20\uFF0C\u8BF7\u5728\u63A7\u5236\u53F0\u67E5\u770B"))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-280-open-api-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useRef } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-280-open-api-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V;return a()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=L.sent,ne=J.useRef,L.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=L.sent,X=oe.Button,L.next=10,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 10:return k=L.sent,_=k.default,L.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=L.sent,Y=te.default,L.next=18,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 18:return Ie=L.sent,D=Ie.default,ee={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0}}},V=function(){var B=ne(null);return r.createElement("div",null,r.createElement(_,{ref:B,schema:ee,itemLayout:D,renderers:Y}),r.createElement(X,{style:{margin:"24px 15px 0 115px"},type:"primary",onClick:function(){var q,xe,Ae=(q=B.current)===null||q===void 0||(xe=q.findItem("title"))===null||xe===void 0?void 0:xe.getRootElement();console.log("formItemRootElement:",Ae)}},"\u83B7\u53D6\u3010\u6807\u9898\u3011\u6839\u8282\u70B9 DOM \u5143\u7D20\uFF0C\u8BF7\u5728\u63A7\u5236\u53F0\u67E5\u770B"))},L.abrupt("return",{default:V});case 23:case"end":return L.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-280-open-api-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useRef } from 'react' import { Button } from 'antd' import Core from '@schema-render/core-react' import type { ICoreRef, IRootSchema } from '@schema-render/core-react' @@ -5946,7 +5946,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}}},ut={title:"\u5F00\u653E Ref API",toc:"content",filename:"examples/core-react/280-open-api.md",lastUpdated:1705547293e3,group:"\u529F\u80FD\u8BE6\u89E3",order:280,description:"\u5185\u6838\u901A\u8FC7 ref \u5C5E\u6027\u5F00\u653E\u7684 API \u65B9\u6CD5\u5982\u4E0B\uFF1A"},yt=[{id:"\u5F00\u653E-ref-api",depth:1,title:"\u5F00\u653E Ref API"},{id:"validate",depth:2,title:"validate"},{id:"\u5165\u53C2",depth:3,title:"\u5165\u53C2"},{id:"\u51FA\u53C2",depth:3,title:"\u51FA\u53C2"},{id:"\u793A\u4F8B",depth:3,title:"\u793A\u4F8B"},{id:"reseterror",depth:2,title:"resetError"},{id:"\u5165\u53C2-1",depth:3,title:"\u5165\u53C2"},{id:"\u51FA\u53C2-1",depth:3,title:"\u51FA\u53C2"},{id:"\u793A\u4F8B-1",depth:3,title:"\u793A\u4F8B"},{id:"resetvalue",depth:2,title:"resetValue"},{id:"\u5165\u53C2-2",depth:3,title:"\u5165\u53C2"},{id:"\u51FA\u53C2-2",depth:3,title:"\u51FA\u53C2"},{id:"\u793A\u4F8B-2",depth:3,title:"\u793A\u4F8B"},{id:"getrootelement",depth:2,title:"getRootElement"},{id:"\u5165\u53C2-3",depth:3,title:"\u5165\u53C2"},{id:"\u51FA\u53C2-3",depth:3,title:"\u51FA\u53C2"},{id:"\u793A\u4F8B-3",depth:3,title:"\u793A\u4F8B"},{id:"finditem",depth:2,title:"findItem"},{id:"\u5165\u53C2-4",depth:3,title:"\u5165\u53C2"},{id:"\u51FA\u53C2-4",depth:3,title:"\u51FA\u53C2"},{id:"getrootelement-\u793A\u4F8B",depth:3,title:"getRootElement \u793A\u4F8B"}],$t=[{value:"\u5185\u6838\u901A\u8FC7 ",paraId:0,tocIndex:0},{value:"ref",paraId:0,tocIndex:0},{value:" \u5C5E\u6027\u5F00\u653E\u7684 API \u65B9\u6CD5\u5982\u4E0B\uFF1A",paraId:0,tocIndex:0},{value:"validate",paraId:1,tocIndex:0},{value:": \u6821\u9A8C\u8868\u5355\u6570\u636E\u3002",paraId:1,tocIndex:0},{value:"resetError",paraId:1,tocIndex:0},{value:": \u91CD\u7F6E\u6821\u9A8C\u9519\u8BEF\u4FE1\u606F\uFF08\u542B\u8B66\u544A\u4FE1\u606F\uFF09\u3002",paraId:1,tocIndex:0},{value:"resetValue",paraId:1,tocIndex:0},{value:": \u91CD\u7F6E\u8868\u5355\u6570\u636E\u3002",paraId:1,tocIndex:0},{value:"setValue",paraId:1,tocIndex:0},{value:": \u8BBE\u7F6E\u8868\u5355\u6570\u636E\uFF0C\u53EF\u7528\u4E8E\u901A\u7528\u5E93\u5C01\u88C5\uFF0C\u4E1A\u52A1\u4E0D\u5EFA\u8BAE\u4F7F\u7528\u8FD9\u4E2A API\u3002",paraId:1,tocIndex:0},{value:"getValue",paraId:1,tocIndex:0},{value:": \u83B7\u53D6\u8868\u5355\u6570\u636E\uFF0C\u53EF\u7528\u4E8E\u901A\u7528\u5E93\u5C01\u88C5\uFF0C\u4E1A\u52A1\u4E0D\u5EFA\u8BAE\u4F7F\u7528\u8FD9\u4E2A API\u3002",paraId:1,tocIndex:0},{value:"getRootElement",paraId:1,tocIndex:0},{value:": \u83B7\u53D6\u6839\u8282\u70B9 DOM \u5143\u7D20\u3002",paraId:1,tocIndex:0},{value:"findItem",paraId:1,tocIndex:0},{value:`: \u67E5\u627E\u6307\u5B9A\u8868\u5355\u9879\uFF0C\u8FD4\u56DE\u6307\u5B9A\u8868\u5355\u9879\u5B9E\u4F8B\uFF0C\u5B9E\u4F8B\u65B9\u6CD5\u5982\u4E0B\u3002 +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}}},ut={title:"\u5F00\u653E Ref API",toc:"content",filename:"examples/core-react/280-open-api.md",lastUpdated:1705547293e3,group:"\u529F\u80FD\u8BE6\u89E3",order:280,description:"\u5185\u6838\u901A\u8FC7 ref \u5C5E\u6027\u5F00\u653E\u7684 API \u65B9\u6CD5\u5982\u4E0B\uFF1A"},yt=[{id:"\u5F00\u653E-ref-api",depth:1,title:"\u5F00\u653E Ref API"},{id:"validate",depth:2,title:"validate"},{id:"\u5165\u53C2",depth:3,title:"\u5165\u53C2"},{id:"\u51FA\u53C2",depth:3,title:"\u51FA\u53C2"},{id:"\u793A\u4F8B",depth:3,title:"\u793A\u4F8B"},{id:"reseterror",depth:2,title:"resetError"},{id:"\u5165\u53C2-1",depth:3,title:"\u5165\u53C2"},{id:"\u51FA\u53C2-1",depth:3,title:"\u51FA\u53C2"},{id:"\u793A\u4F8B-1",depth:3,title:"\u793A\u4F8B"},{id:"resetvalue",depth:2,title:"resetValue"},{id:"\u5165\u53C2-2",depth:3,title:"\u5165\u53C2"},{id:"\u51FA\u53C2-2",depth:3,title:"\u51FA\u53C2"},{id:"\u793A\u4F8B-2",depth:3,title:"\u793A\u4F8B"},{id:"getrootelement",depth:2,title:"getRootElement"},{id:"\u5165\u53C2-3",depth:3,title:"\u5165\u53C2"},{id:"\u51FA\u53C2-3",depth:3,title:"\u51FA\u53C2"},{id:"\u793A\u4F8B-3",depth:3,title:"\u793A\u4F8B"},{id:"finditem",depth:2,title:"findItem"},{id:"\u5165\u53C2-4",depth:3,title:"\u5165\u53C2"},{id:"\u51FA\u53C2-4",depth:3,title:"\u51FA\u53C2"},{id:"getrootelement-\u793A\u4F8B",depth:3,title:"getRootElement \u793A\u4F8B"}],$t=[{value:"\u5185\u6838\u901A\u8FC7 ",paraId:0,tocIndex:0},{value:"ref",paraId:0,tocIndex:0},{value:" \u5C5E\u6027\u5F00\u653E\u7684 API \u65B9\u6CD5\u5982\u4E0B\uFF1A",paraId:0,tocIndex:0},{value:"validate",paraId:1,tocIndex:0},{value:": \u6821\u9A8C\u8868\u5355\u6570\u636E\u3002",paraId:1,tocIndex:0},{value:"resetError",paraId:1,tocIndex:0},{value:": \u91CD\u7F6E\u6821\u9A8C\u9519\u8BEF\u4FE1\u606F\uFF08\u542B\u8B66\u544A\u4FE1\u606F\uFF09\u3002",paraId:1,tocIndex:0},{value:"resetValue",paraId:1,tocIndex:0},{value:": \u91CD\u7F6E\u8868\u5355\u6570\u636E\u3002",paraId:1,tocIndex:0},{value:"setValue",paraId:1,tocIndex:0},{value:": \u8BBE\u7F6E\u8868\u5355\u6570\u636E\uFF0C\u53EF\u7528\u4E8E\u901A\u7528\u5E93\u5C01\u88C5\uFF0C\u4E1A\u52A1\u4E0D\u5EFA\u8BAE\u4F7F\u7528\u8FD9\u4E2A API\u3002",paraId:1,tocIndex:0},{value:"getValue",paraId:1,tocIndex:0},{value:": \u83B7\u53D6\u8868\u5355\u6570\u636E\uFF0C\u53EF\u7528\u4E8E\u901A\u7528\u5E93\u5C01\u88C5\uFF0C\u4E1A\u52A1\u4E0D\u5EFA\u8BAE\u4F7F\u7528\u8FD9\u4E2A API\u3002",paraId:1,tocIndex:0},{value:"getRootElement",paraId:1,tocIndex:0},{value:": \u83B7\u53D6\u6839\u8282\u70B9 DOM \u5143\u7D20\u3002",paraId:1,tocIndex:0},{value:"findItem",paraId:1,tocIndex:0},{value:`: \u67E5\u627E\u6307\u5B9A\u8868\u5355\u9879\uFF0C\u8FD4\u56DE\u6307\u5B9A\u8868\u5355\u9879\u5B9E\u4F8B\uFF0C\u5B9E\u4F8B\u65B9\u6CD5\u5982\u4E0B\u3002 `,paraId:1,tocIndex:0},{value:"getRootElement",paraId:2,tocIndex:0},{value:": \u83B7\u53D6\u6307\u5B9A\u8868\u5355\u9879\u7684\u6839\u8282\u70B9 DOM \u5143\u7D20\u3002",paraId:2,tocIndex:0},{value:"scrollTo",paraId:1,tocIndex:0},{value:": \u6EDA\u52A8\u5230\u6307\u5B9A\u4F4D\u7F6E\uFF0C\u8BE6\u89C1",paraId:1,tocIndex:0},{value:"\u6EDA\u52A8\u5230\u6307\u5B9A\u4F4D\u7F6E ScrollTo",paraId:3,tocIndex:0},{value:"\u3002",paraId:1,tocIndex:0},{value:"\u6821\u9A8C\u8868\u5355\u6570\u636E\uFF0C\u5982\u6839\u636E\u6821\u9A8C\u7ED3\u679C\u5224\u65AD\u662F\u5426\u63D0\u4EA4\u6570\u636E\u3002",paraId:4,tocIndex:1},{value:"\u7C7B\u578B\uFF1A",paraId:5,tocIndex:1},{value:"() => Promise",paraId:5,tocIndex:1},{value:"\u65E0",paraId:6,tocIndex:2},{value:"\u540D\u79F0",paraId:7,tocIndex:3},{value:"\u63CF\u8FF0",paraId:7,tocIndex:3},{value:"\u7C7B\u578B",paraId:7,tocIndex:3},{value:"hasError",paraId:7,tocIndex:3},{value:"\u662F\u5426\u5B58\u5728\u9519\u8BEF",paraId:7,tocIndex:3},{value:"boolean",paraId:7,tocIndex:3},{value:"hasWarning",paraId:7,tocIndex:3},{value:"\u662F\u5426\u5B58\u5728\u8B66\u544A",paraId:7,tocIndex:3},{value:"boolean",paraId:7,tocIndex:3},{value:"errorList",paraId:7,tocIndex:3},{value:"\u9519\u8BEF\u8868\u5355\u9879\u6570\u636E",paraId:7,tocIndex:3},{value:"array",paraId:7,tocIndex:3},{value:"warningList",paraId:7,tocIndex:3},{value:"\u8B66\u544A\u8868\u5355\u9879\u6570\u636E",paraId:7,tocIndex:3},{value:"array",paraId:7,tocIndex:3},{value:"\u91CD\u7F6E\u6821\u9A8C\u9519\u8BEF\u4FE1\u606F\uFF08\u542B\u8B66\u544A\u4FE1\u606F\uFF09\uFF0C\u5982\u6570\u636E\u56DE\u586B\u65F6\uFF0C\u53EF\u7528\u6B64\u65B9\u6CD5\u91CD\u7F6E\u9519\u8BEF\u4FE1\u606F",paraId:8,tocIndex:5},{value:"\u7C7B\u578B\uFF1A",paraId:9,tocIndex:5},{value:"(paths?: string | string[]) => void",paraId:9,tocIndex:5},{value:"\u540D\u79F0",paraId:10,tocIndex:6},{value:"\u63CF\u8FF0",paraId:10,tocIndex:6},{value:"\u7C7B\u578B",paraId:10,tocIndex:6},{value:"paths",paraId:10,tocIndex:6},{value:"\u91CD\u7F6E\u6307\u5B9A\u8DEF\u5F84\u7684\u8868\u5355\u9879\u9519\u8BEF\u63D0\u793A\uFF0C\u6CA1\u6709\u6307\u5B9A\u8DEF\u5F84\u5219\u91CD\u7F6E\u6240\u6709\u8868\u5355\u9879",paraId:10,tocIndex:6},{value:"string",paraId:10,tocIndex:6},{value:" | ",paraId:10,tocIndex:6},{value:"string[]",paraId:10,tocIndex:6},{value:"\u65E0",paraId:11,tocIndex:7},{value:"\u91CD\u7F6E\u8868\u5355\u6570\u636E\u3002",paraId:12,tocIndex:9},{value:"\u65E0",paraId:13,tocIndex:10},{value:"\u65E0",paraId:14,tocIndex:11},{value:"\u83B7\u53D6\u6839\u8282\u70B9 DOM \u5143\u7D20\u3002",paraId:15,tocIndex:13},{value:"\u7C7B\u578B\uFF1A",paraId:16,tocIndex:13},{value:"() => HTMLDivElement | null",paraId:16,tocIndex:13},{value:"\u65E0",paraId:17,tocIndex:14},{value:"\u6839\u8282\u70B9 DOM \u5143\u7D20\u6216\u7A7A",paraId:18,tocIndex:15},{value:"\u67E5\u627E\u6307\u5B9A\u8868\u5355\u9879\uFF0C\u8FD4\u56DE\u6307\u5B9A\u8868\u5355\u9879\u5B9E\u4F8B\uFF0C\u5B9E\u4F8B\u4F1A\u63D0\u4F9B\u4E00\u4E9B API \u65B9\u6CD5\u3002",paraId:19,tocIndex:17},{value:"\u7C7B\u578B\uFF1A",paraId:20,tocIndex:17},{value:"(paths?: string | string[]) => IRendererInstance | undefined",paraId:20,tocIndex:17},{value:"\u540D\u79F0",paraId:21,tocIndex:18},{value:"\u63CF\u8FF0",paraId:21,tocIndex:18},{value:"\u7C7B\u578B",paraId:21,tocIndex:18},{value:"paths",paraId:21,tocIndex:18},{value:"\u8868\u5355\u9879\u8DEF\u5F84",paraId:21,tocIndex:18},{value:"string",paraId:21,tocIndex:18},{value:" | ",paraId:21,tocIndex:18},{value:"string[]",paraId:21,tocIndex:18},{value:"\u8868\u5355\u9879\u5B9E\u4F8B\uFF0C\u5F00\u653E API \u5982\u4E0B",paraId:22,tocIndex:19},{value:"\u540D\u79F0",paraId:23,tocIndex:19},{value:"\u63CF\u8FF0",paraId:23,tocIndex:19},{value:"\u7C7B\u578B",paraId:23,tocIndex:19},{value:"getRootElement",paraId:23,tocIndex:19},{value:"\u83B7\u53D6\u6307\u5B9A\u8868\u5355\u9879\u7684\u6839\u8282\u70B9 DOM \u5143\u7D20",paraId:23,tocIndex:19},{value:"() => HTMLElement | null",paraId:23,tocIndex:19}],Jt={},tn={title:"\u9519\u8BEF\u6392\u67E5\u5DE5\u5177 Dev Tool",toc:"content",filename:"examples/core-react/900-dev-tool.md",lastUpdated:1704082387e3,group:{title:"\u8F85\u52A9\u5DE5\u5177",order:900,hide:!0},debug:!0},hn=[{id:"\u9519\u8BEF\u6392\u67E5\u5DE5\u5177-dev-tool",depth:1,title:"\u9519\u8BEF\u6392\u67E5\u5DE5\u5177 Dev Tool"}],sn=[],pn={"examples-search-react-700-locale-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_;return a()().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return Y.next=2,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(2712)]).then(e.bind(e,41670));case 2:return J=Y.sent,ne=J.default,Y.next=6,e.e(7290).then(e.bind(e,37290));case 6:return oe=Y.sent,X=oe.default,k={renderType:"Root",properties:{supplier_name:{title:"Supplier Name",renderType:"InputText"},supplier_code:{title:"Supplier Code",renderType:"InputText"},bill_no:{title:"Bill No",renderType:"InputText"},bill_date:{title:"Bill Date",renderType:"DateRangePicker"},bill_status:{title:"Bill Status",renderType:"Select",renderOptions:{options:[{label:"submitted",value:1},{label:"pending submit",value:2},{label:"pending approval",value:3}]}},operator:{title:"Operator",renderType:"InputText"},goods_name:{title:"Goods Name",renderType:"InputText"},goods_code:{title:"Goods Code",renderType:"InputText"}}},_=function(){return r.createElement(ne,{schema:k,labelWidth:120,locale:X})},Y.abrupt("return",{default:_});case 11:case"end":return Y.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-react-700-locale-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Search from '@schema-render/search-react' import type { IFormRenderRootSchema } from '@schema-render/form-render-react' @@ -6009,7 +6009,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/search-react":{type:"NPM",value:"1.5.0"}}}}},jn={title:"\u56FD\u9645\u5316 locale",toc:"content",filename:"examples/search-react/700-locale.md",lastUpdated:1704082387e3,order:700,description:"Search \u9ED8\u8BA4\u6587\u6848\u662F\u4E2D\u6587\uFF0C\u5982\u679C\u9700\u8981\u4F7F\u7528\u5176\u4ED6\u8BED\u8A00\uFF0C\u53EA\u9700\u914D\u7F6E locale \u8986\u76D6\u9ED8\u8BA4\u7684\u8BED\u8A00\uFF0C\u793A\u4F8B\u5982\u4E0B\u3002"},Sn=[{id:"\u56FD\u9645\u5316-locale",depth:1,title:"\u56FD\u9645\u5316 locale"}],On=[{value:"Search",paraId:0,tocIndex:0},{value:" \u9ED8\u8BA4\u6587\u6848\u662F\u4E2D\u6587\uFF0C\u5982\u679C\u9700\u8981\u4F7F\u7528\u5176\u4ED6\u8BED\u8A00\uFF0C\u53EA\u9700\u914D\u7F6E ",paraId:0,tocIndex:0},{value:"locale",paraId:0,tocIndex:0},{value:" \u8986\u76D6\u9ED8\u8BA4\u7684\u8BED\u8A00\uFF0C\u793A\u4F8B\u5982\u4E0B\u3002",paraId:0,tocIndex:0},{value:"\u76EE\u524D\u652F\u6301\u4EE5\u4E0B\u8BED\u8A00\uFF1A",paraId:1},{value:"\u8BED\u8A00",paraId:2},{value:"\u6587\u4EF6\u540D",paraId:2},{value:"\u4E2D\u6587",paraId:2},{value:"zh_CN",paraId:2},{value:"\u82F1\u6587",paraId:2},{value:"en_US",paraId:2},{value:"\u5982\u679C\u627E\u4E0D\u5230\u4F60\u9700\u8981\u7684\u8BED\u8A00\u5305\uFF0C\u6B22\u8FCE\u53C2\u8003 ",paraId:3},{value:"\u4E2D\u6587\u8BED\u8A00\u5305",paraId:3},{value:" \u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u8BED\u8A00\u5305\uFF0C\u5E76\u7ED9\u6211\u4EEC\u53D1\u4E00\u4E2A Pull Request\u3002",paraId:3},{value:"\u6216\u8005\u914D\u7F6E\u76F8\u540C\u7684\u8BED\u8A00\u5305\u6570\u636E\u683C\u5F0F\u4F20\u503C\u7ED9 ",paraId:3},{value:"locale",paraId:3},{value:" \u5C5E\u6027\u3002",paraId:3}],Zn={"examples-search-react-001-intro-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le;return a()().wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return xe.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=xe.sent,ne=J.useState,xe.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=xe.sent,X=oe.ConfigProvider,k=oe.Table,xe.next=11,e.e(7693).then(e.bind(e,7693));case 11:return _=xe.sent,te=_.sleep,xe.next=15,e.e(5471).then(e.bind(e,75471));case 15:return Y=xe.sent,Ie=Y.default,xe.next=19,e.e(8415).then(e.bind(e,28415));case 19:return D=xe.sent,ee=D.default,xe.next=23,e.e(4348).then(e.bind(e,14348));case 23:return V=xe.sent,ce=V.default,xe.next=27,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(2712)]).then(e.bind(e,41670));case 27:return L=xe.sent,W=L.default,B={renderType:"Root",properties:{supplier_name:{title:"\u4F9B\u5E94\u5546\u540D\u79F0",renderType:"InputText"},supplier_code:{title:"\u4F9B\u5E94\u5546\u7F16\u7801",renderType:"InputText"},bill_no:{title:"\u5355\u636E\u7F16\u53F7",renderType:"InputText"},bill_type:{title:"\u5355\u636E\u7C7B\u578B",renderType:"Select",renderOptions:{options:[{label:"\u91C7\u8D2D\u5355",value:1},{label:"\u5165\u5E93\u5355",value:2},{label:"\u9000\u8D27\u5355",value:3}]}},bill_date:{title:"\u5355\u636E\u65E5\u671F",renderType:"DateRangePicker"},bill_status:{title:"\u5355\u636E\u72B6\u6001",renderType:"Select",renderOptions:{options:[{label:"\u5DF2\u63D0\u4EA4",value:1},{label:"\u5F85\u63D0\u4EA4",value:2},{label:"\u5F85\u5BA1\u6279",value:3}]}},operator:{title:"\u5236\u5355\u4EBA",renderType:"InputText"},goods_name:{title:"\u5546\u54C1\u540D\u79F0",renderType:"InputText"},goods_code:{title:"\u5546\u54C1\u7F16\u7801",renderType:"InputText"},goods_category:{title:"\u5546\u54C1\u5206\u7C7B",renderType:"Select",renderOptions:{options:[{label:"\u6C34\u679C\u9C9C\u82B1",value:1},{label:"\u6D77\u9C9C\u6C34\u4EA7",value:2},{label:"\u7CAE\u6CB9\u8C03\u5473",value:3}]}}}},le=function(){var Se=ne(function(){return ce()}),ke=o()(Se,2),et=ke[0],dt=ke[1],gt=function(){var Ut=c()(a()().mark(function Mt(Wt){return a()().wrap(function(un){for(;;)switch(un.prev=un.next){case 0:return console.log("searchParams:",Wt),un.next=3,te();case 3:dt(ce());case 4:case"end":return un.stop()}},Mt)}));return function(Wt){return Ut.apply(this,arguments)}}();return r.createElement(X,{locale:Ie},r.createElement(W,{schema:B,onSubmit:gt,onReset:gt}),r.createElement(k,{style:{marginTop:20},columns:ee,dataSource:et,scroll:{x:1500}}))},xe.abrupt("return",{default:le});case 32:case"end":return xe.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-react-001-intro-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},"@schema-render/search-react":{type:"NPM",value:"1.5.1"}}}}},jn={title:"\u56FD\u9645\u5316 locale",toc:"content",filename:"examples/search-react/700-locale.md",lastUpdated:1704082387e3,order:700,description:"Search \u9ED8\u8BA4\u6587\u6848\u662F\u4E2D\u6587\uFF0C\u5982\u679C\u9700\u8981\u4F7F\u7528\u5176\u4ED6\u8BED\u8A00\uFF0C\u53EA\u9700\u914D\u7F6E locale \u8986\u76D6\u9ED8\u8BA4\u7684\u8BED\u8A00\uFF0C\u793A\u4F8B\u5982\u4E0B\u3002"},Sn=[{id:"\u56FD\u9645\u5316-locale",depth:1,title:"\u56FD\u9645\u5316 locale"}],On=[{value:"Search",paraId:0,tocIndex:0},{value:" \u9ED8\u8BA4\u6587\u6848\u662F\u4E2D\u6587\uFF0C\u5982\u679C\u9700\u8981\u4F7F\u7528\u5176\u4ED6\u8BED\u8A00\uFF0C\u53EA\u9700\u914D\u7F6E ",paraId:0,tocIndex:0},{value:"locale",paraId:0,tocIndex:0},{value:" \u8986\u76D6\u9ED8\u8BA4\u7684\u8BED\u8A00\uFF0C\u793A\u4F8B\u5982\u4E0B\u3002",paraId:0,tocIndex:0},{value:"\u76EE\u524D\u652F\u6301\u4EE5\u4E0B\u8BED\u8A00\uFF1A",paraId:1},{value:"\u8BED\u8A00",paraId:2},{value:"\u6587\u4EF6\u540D",paraId:2},{value:"\u4E2D\u6587",paraId:2},{value:"zh_CN",paraId:2},{value:"\u82F1\u6587",paraId:2},{value:"en_US",paraId:2},{value:"\u5982\u679C\u627E\u4E0D\u5230\u4F60\u9700\u8981\u7684\u8BED\u8A00\u5305\uFF0C\u6B22\u8FCE\u53C2\u8003 ",paraId:3},{value:"\u4E2D\u6587\u8BED\u8A00\u5305",paraId:3},{value:" \u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u8BED\u8A00\u5305\uFF0C\u5E76\u7ED9\u6211\u4EEC\u53D1\u4E00\u4E2A Pull Request\u3002",paraId:3},{value:"\u6216\u8005\u914D\u7F6E\u76F8\u540C\u7684\u8BED\u8A00\u5305\u6570\u636E\u683C\u5F0F\u4F20\u503C\u7ED9 ",paraId:3},{value:"locale",paraId:3},{value:" \u5C5E\u6027\u3002",paraId:3}],Zn={"examples-search-react-001-intro-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le;return a()().wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return xe.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=xe.sent,ne=J.useState,xe.next=6,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 6:return oe=xe.sent,X=oe.ConfigProvider,k=oe.Table,xe.next=11,e.e(7693).then(e.bind(e,7693));case 11:return _=xe.sent,te=_.sleep,xe.next=15,e.e(5471).then(e.bind(e,75471));case 15:return Y=xe.sent,Ie=Y.default,xe.next=19,e.e(8415).then(e.bind(e,28415));case 19:return D=xe.sent,ee=D.default,xe.next=23,e.e(4348).then(e.bind(e,14348));case 23:return V=xe.sent,ce=V.default,xe.next=27,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(2712)]).then(e.bind(e,41670));case 27:return L=xe.sent,W=L.default,B={renderType:"Root",properties:{supplier_name:{title:"\u4F9B\u5E94\u5546\u540D\u79F0",renderType:"InputText"},supplier_code:{title:"\u4F9B\u5E94\u5546\u7F16\u7801",renderType:"InputText"},bill_no:{title:"\u5355\u636E\u7F16\u53F7",renderType:"InputText"},bill_type:{title:"\u5355\u636E\u7C7B\u578B",renderType:"Select",renderOptions:{options:[{label:"\u91C7\u8D2D\u5355",value:1},{label:"\u5165\u5E93\u5355",value:2},{label:"\u9000\u8D27\u5355",value:3}]}},bill_date:{title:"\u5355\u636E\u65E5\u671F",renderType:"DateRangePicker"},bill_status:{title:"\u5355\u636E\u72B6\u6001",renderType:"Select",renderOptions:{options:[{label:"\u5DF2\u63D0\u4EA4",value:1},{label:"\u5F85\u63D0\u4EA4",value:2},{label:"\u5F85\u5BA1\u6279",value:3}]}},operator:{title:"\u5236\u5355\u4EBA",renderType:"InputText"},goods_name:{title:"\u5546\u54C1\u540D\u79F0",renderType:"InputText"},goods_code:{title:"\u5546\u54C1\u7F16\u7801",renderType:"InputText"},goods_category:{title:"\u5546\u54C1\u5206\u7C7B",renderType:"Select",renderOptions:{options:[{label:"\u6C34\u679C\u9C9C\u82B1",value:1},{label:"\u6D77\u9C9C\u6C34\u4EA7",value:2},{label:"\u7CAE\u6CB9\u8C03\u5473",value:3}]}}}},le=function(){var Se=ne(function(){return ce()}),ke=o()(Se,2),et=ke[0],dt=ke[1],gt=function(){var Ut=c()(a()().mark(function Mt(Wt){return a()().wrap(function(un){for(;;)switch(un.prev=un.next){case 0:return console.log("searchParams:",Wt),un.next=3,te();case 3:dt(ce());case 4:case"end":return un.stop()}},Mt)}));return function(Wt){return Ut.apply(this,arguments)}}();return r.createElement(X,{locale:Ie},r.createElement(W,{schema:B,onSubmit:gt,onReset:gt}),r.createElement(k,{style:{marginTop:20},columns:ee,dataSource:et,scroll:{x:1500}}))},xe.abrupt("return",{default:le});case 32:case"end":return xe.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-search-react-001-intro-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import { ConfigProvider, Table } from 'antd' import { sleep } from '@examples/utils' import zhCN from 'antd/locale/zh_CN' @@ -6116,7 +6116,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-react":{type:"NPM",value:"1.5.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(3495).Z},"helpers/columns.ts":{type:"FILE",value:e(9617).Z}}}}},Ln={title:"\u4ECB\u7ECD",toc:"content",filename:"examples/search-react/001-intro.md",lastUpdated:1706161766e3,order:1,description:"Search \u662F\u57FA\u4E8E FormRender \u5C01\u88C5\u7684\u5F00\u7BB1\u5373\u7528\u7684\u6761\u4EF6\u641C\u7D22\u7EC4\u4EF6\u3002"},yn=[{id:"\u4ECB\u7ECD",depth:1,title:"\u4ECB\u7ECD"},{id:"\u5B89\u88C5",depth:2,title:"\u5B89\u88C5"},{id:"\u4F7F\u7528",depth:2,title:"\u4F7F\u7528"}],Tn=[{value:"Search",paraId:0,tocIndex:0},{value:" \u662F\u57FA\u4E8E FormRender \u5C01\u88C5\u7684\u5F00\u7BB1\u5373\u7528\u7684\u6761\u4EF6\u641C\u7D22\u7EC4\u4EF6\u3002",paraId:0,tocIndex:0},{value:"\u7279\u6027\u5982\u4E0B\uFF1A",paraId:1,tocIndex:0},{value:"\u9ED8\u8BA4 ",paraId:2,tocIndex:0},{value:"layout",paraId:2,tocIndex:0},{value:" \u4E3A ",paraId:2,tocIndex:0},{value:"autoFill",paraId:2,tocIndex:0},{value:" \u5E03\u5C40",paraId:2,tocIndex:0},{value:"\u589E\u52A0\u6298\u53E0\u5C55\u5F00\u529F\u80FD\uFF0C\u8BE6\u89C1",paraId:2,tocIndex:0},{value:"\u884C\u4E3A\u64CD\u4F5C actions",paraId:3,tocIndex:0},{value:`npm install @schema-render/search-react --save +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},root:{type:"NPM"},"@schema-render/search-react":{type:"NPM",value:"1.5.1"},"helpers/createDataSource.ts":{type:"FILE",value:e(3495).Z},"helpers/columns.ts":{type:"FILE",value:e(9617).Z}}}}},Ln={title:"\u4ECB\u7ECD",toc:"content",filename:"examples/search-react/001-intro.md",lastUpdated:1706161766e3,order:1,description:"Search \u662F\u57FA\u4E8E FormRender \u5C01\u88C5\u7684\u5F00\u7BB1\u5373\u7528\u7684\u6761\u4EF6\u641C\u7D22\u7EC4\u4EF6\u3002"},yn=[{id:"\u4ECB\u7ECD",depth:1,title:"\u4ECB\u7ECD"},{id:"\u5B89\u88C5",depth:2,title:"\u5B89\u88C5"},{id:"\u4F7F\u7528",depth:2,title:"\u4F7F\u7528"}],Tn=[{value:"Search",paraId:0,tocIndex:0},{value:" \u662F\u57FA\u4E8E FormRender \u5C01\u88C5\u7684\u5F00\u7BB1\u5373\u7528\u7684\u6761\u4EF6\u641C\u7D22\u7EC4\u4EF6\u3002",paraId:0,tocIndex:0},{value:"\u7279\u6027\u5982\u4E0B\uFF1A",paraId:1,tocIndex:0},{value:"\u9ED8\u8BA4 ",paraId:2,tocIndex:0},{value:"layout",paraId:2,tocIndex:0},{value:" \u4E3A ",paraId:2,tocIndex:0},{value:"autoFill",paraId:2,tocIndex:0},{value:" \u5E03\u5C40",paraId:2,tocIndex:0},{value:"\u589E\u52A0\u6298\u53E0\u5C55\u5F00\u529F\u80FD\uFF0C\u8BE6\u89C1",paraId:2,tocIndex:0},{value:"\u884C\u4E3A\u64CD\u4F5C actions",paraId:3,tocIndex:0},{value:`npm install @schema-render/search-react --save `,paraId:4,tocIndex:1},{value:"\u5982\u679C\u6CA1\u6709\u5B89\u88C5 antd\uFF0C\u8FD8\u9700\u5B89\u88C5\u5B83",paraId:5,tocIndex:1},{value:`npm install antd --save `,paraId:6,tocIndex:1},{value:"\u5E38\u4E0E\u8868\u683C\u914D\u5408\u7528\u4E8E\u540E\u53F0\u7BA1\u7406\u7CFB\u7EDF\u6570\u636E\u68C0\u7D22\u4E0E\u5C55\u793A\u64CD\u4F5C\u3002",paraId:7,tocIndex:2}],Mn={"examples-core-react-003-schema-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",renderOptions:{placeholder:"\u8FD9\u662F\u81EA\u5B9A\u4E49\u7684 placeholder"}},fruit:{title:"\u6C34\u679C",renderType:"Select",renderOptions:{placeholder:"\u8BF7\u9009\u62E9\u4E00\u4E2A\u751C\u751C\u7684\u6C34\u679C",options:[{label:"\u82F9\u679C",value:"apple"},{label:"\u9999\u8549",value:"banana"},{label:"\u897F\u74DC",value:"watermelon"}]}}}},Y=function(){return r.createElement(ne,{schema:te,itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-003-schema-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import type { IRootSchema } from '@schema-render/core-react' @@ -6154,7 +6154,7 @@ const Demo = () => { return } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-003-schema-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0},open:{renderType:"Switch",title:"\u5F00\u542F\u6C34\u679C\u5FC5\u586B"},fruit:{title:"\u6C34\u679C",renderType:"Select",required:"$.open",renderOptions:{options:[{label:"\u82F9\u679C",value:"apple"},{label:"\u9999\u8549",value:"banana"},{label:"\u897F\u74DC",value:"watermelon"}]}}}},Y=function(){return r.createElement(ne,{schema:te,itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-003-schema-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-003-schema-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0},open:{renderType:"Switch",title:"\u5F00\u542F\u6C34\u679C\u5FC5\u586B"},fruit:{title:"\u6C34\u679C",renderType:"Select",required:"$.open",renderOptions:{options:[{label:"\u82F9\u679C",value:"apple"},{label:"\u9999\u8549",value:"banana"},{label:"\u897F\u74DC",value:"watermelon"}]}}}},Y=function(){return r.createElement(ne,{schema:te,itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-003-schema-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import type { IRootSchema } from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -6197,7 +6197,7 @@ const Demo = () => { return } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-003-schema-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",disabled:!0},open:{renderType:"Switch",title:"\u5F00\u542F\u6C34\u679C\u7981\u7528"},fruit:{title:"\u6C34\u679C",renderType:"Select",disabled:"$.open === true",renderOptions:{options:[{label:"\u82F9\u679C",value:"apple"},{label:"\u9999\u8549",value:"banana"},{label:"\u897F\u74DC",value:"watermelon"}]}}}},Y=function(){return r.createElement(ne,{schema:te,itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-003-schema-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-003-schema-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",disabled:!0},open:{renderType:"Switch",title:"\u5F00\u542F\u6C34\u679C\u7981\u7528"},fruit:{title:"\u6C34\u679C",renderType:"Select",disabled:"$.open === true",renderOptions:{options:[{label:"\u82F9\u679C",value:"apple"},{label:"\u9999\u8549",value:"banana"},{label:"\u897F\u74DC",value:"watermelon"}]}}}},Y=function(){return r.createElement(ne,{schema:te,itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-003-schema-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import type { IRootSchema } from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -6233,7 +6233,7 @@ const Demo = () => { return } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-003-schema-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=V.sent,ne=J.useState,V.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=V.sent,X=oe.default,V.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=V.sent,_=k.default,V.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=V.sent,Y=te.default,Ie={renderType:"Root",properties:{title:{title:"\u63D0\u95EE",renderType:"InputText",readonly:!0},fruit:{title:"\u7B54\u6848",renderType:"Select",readonly:"$.open === true",renderOptions:{options:[{label:"\u82F9\u679C",value:"apple"},{label:"\u9999\u8549",value:"banana"},{label:"\u897F\u74DC",value:"watermelon"}]}},open:{renderType:"Switch",title:"\u5207\u6362\u5230\u53EA\u8BFB\u6001"}}},D=function(){var L=ne({title:"\u54EA\u4E00\u79CD\u6C34\u679C\u6700\u751C\u5462",fruit:"watermelon"}),W=o()(L,2),B=W[0],le=W[1];return r.createElement(X,{value:B,schema:Ie,onChange:le,itemLayout:_,renderers:Y})},V.abrupt("return",{default:D});case 19:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-003-schema-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-003-schema-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=V.sent,ne=J.useState,V.next=6,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 6:return oe=V.sent,X=oe.default,V.next=10,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 10:return k=V.sent,_=k.default,V.next=14,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 14:return te=V.sent,Y=te.default,Ie={renderType:"Root",properties:{title:{title:"\u63D0\u95EE",renderType:"InputText",readonly:!0},fruit:{title:"\u7B54\u6848",renderType:"Select",readonly:"$.open === true",renderOptions:{options:[{label:"\u82F9\u679C",value:"apple"},{label:"\u9999\u8549",value:"banana"},{label:"\u897F\u74DC",value:"watermelon"}]}},open:{renderType:"Switch",title:"\u5207\u6362\u5230\u53EA\u8BFB\u6001"}}},D=function(){var L=ne({title:"\u54EA\u4E00\u79CD\u6C34\u679C\u6700\u751C\u5462",fruit:"watermelon"}),W=o()(L,2),B=W[0],le=W[1];return r.createElement(X,{value:B,schema:Ie,onChange:le,itemLayout:_,renderers:Y})},V.abrupt("return",{default:D});case 19:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-003-schema-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' import Core from '@schema-render/core-react' import type { IRootSchema } from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' @@ -6283,7 +6283,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-003-schema-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",hidden:!0},open:{renderType:"Switch",title:"\u9690\u85CF\u6C34\u679C\u9009\u62E9"},fruit:{title:"\u6C34\u679C",renderType:"Select",hidden:"$.open === true",renderOptions:{options:[{label:"\u82F9\u679C",value:"apple"},{label:"\u9999\u8549",value:"banana"},{label:"\u897F\u74DC",value:"watermelon"}]}}}},Y=function(){return r.createElement(ne,{schema:te,itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-003-schema-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-003-schema-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",hidden:!0},open:{renderType:"Switch",title:"\u9690\u85CF\u6C34\u679C\u9009\u62E9"},fruit:{title:"\u6C34\u679C",renderType:"Select",hidden:"$.open === true",renderOptions:{options:[{label:"\u82F9\u679C",value:"apple"},{label:"\u9999\u8549",value:"banana"},{label:"\u897F\u74DC",value:"watermelon"}]}}}},Y=function(){return r.createElement(ne,{schema:te,itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-003-schema-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import type { IRootSchema } from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -6319,7 +6319,7 @@ const Demo = () => { return } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-003-schema-demo-5":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0,rules:[{max:10,message:"\u6807\u9898\u4E0D\u80FD\u8D85\u8FC7 10 \u4E2A\u5B57\u7B26"},{pattern:"^[a-zA-Z\\d]+$",message:"\u6807\u9898\u4EC5\u80FD\u5305\u542B\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57"}]},fruit:{title:"\u6C34\u679C",renderType:"Select",renderOptions:{options:[{label:"\u82F9\u679C",value:"apple"},{label:"\u9999\u8549",value:"banana"},{label:"\u897F\u74DC",value:"watermelon"}]},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6C34\u679C"}]}}},Y=function(){return r.createElement(ne,{schema:te,itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-003-schema-demo-5",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-003-schema-demo-5":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0,rules:[{max:10,message:"\u6807\u9898\u4E0D\u80FD\u8D85\u8FC7 10 \u4E2A\u5B57\u7B26"},{pattern:"^[a-zA-Z\\d]+$",message:"\u6807\u9898\u4EC5\u80FD\u5305\u542B\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57"}]},fruit:{title:"\u6C34\u679C",renderType:"Select",renderOptions:{options:[{label:"\u82F9\u679C",value:"apple"},{label:"\u9999\u8549",value:"banana"},{label:"\u897F\u74DC",value:"watermelon"}]},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6C34\u679C"}]}}},Y=function(){return r.createElement(ne,{schema:te,itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-003-schema-demo-5",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import type { IRootSchema } from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -6357,7 +6357,7 @@ const Demo = () => { return } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Bn={title:"\u534F\u8BAE\u4ECB\u7ECD Schema",toc:"content",filename:"examples/core-react/003-schema.md",lastUpdated:1704082387e3,group:"\u4ECB\u7ECD",description:"\u57FA\u7840\u534F\u8BAE\u7528\u4E8E\u63CF\u8FF0\u8868\u5355\u9879\u7684\u57FA\u7840\u529F\u80FD\u3002"},$n=[{id:"\u534F\u8BAE\u4ECB\u7ECD-schema",depth:1,title:"\u534F\u8BAE\u4ECB\u7ECD Schema"},{id:"\u534F\u8BAE\u5927\u56FE",depth:2,title:"\u534F\u8BAE\u5927\u56FE"},{id:"\u57FA\u7840\u534F\u8BAE",depth:2,title:"\u57FA\u7840\u534F\u8BAE"},{id:"title",depth:3,title:"title"},{id:"titledescription",depth:3,title:"titleDescription"},{id:"description",depth:3,title:"description"},{id:"rendertype",depth:3,title:"renderType"},{id:"renderoptions",depth:3,title:"renderOptions"},{id:"\u7ED3\u6784\u534F\u8BAE",depth:2,title:"\u7ED3\u6784\u534F\u8BAE"},{id:"\u5BF9\u8C61\u7ED3\u6784-object",depth:3,title:"\u5BF9\u8C61\u7ED3\u6784 Object"},{id:"\u6570\u7EC4\u7ED3\u6784-array",depth:3,title:"\u6570\u7EC4\u7ED3\u6784 Array"},{id:"\u72B6\u6001\u534F\u8BAE",depth:2,title:"\u72B6\u6001\u534F\u8BAE"},{id:"required",depth:3,title:"required"},{id:"disabled",depth:3,title:"disabled"},{id:"readonly",depth:3,title:"readonly"},{id:"hidden",depth:3,title:"hidden"},{id:"\u6837\u5F0F\u63A7\u5236\u534F\u8BAE",depth:2,title:"\u6837\u5F0F\u63A7\u5236\u534F\u8BAE"},{id:"classname",depth:3,title:"className"},{id:"style",depth:3,title:"style"},{id:"span",depth:3,title:"span"},{id:"spanstart",depth:3,title:"spanStart"},{id:"\u6570\u636E\u6821\u9A8C\u534F\u8BAE",depth:2,title:"\u6570\u636E\u6821\u9A8C\u534F\u8BAE"},{id:"\u534F\u8BAE\u4FDD\u7559\u5B57",depth:2,title:"\u534F\u8BAE\u4FDD\u7559\u5B57"}],qn=[{value:"\u57FA\u7840\u534F\u8BAE\u7528\u4E8E\u63CF\u8FF0\u8868\u5355\u9879\u7684\u57FA\u7840\u529F\u80FD\u3002",paraId:0,tocIndex:2},{value:"\u5B9A\u4E49\u8868\u5355\u9879\u7684\u6807\u9898\uFF0C\u5982\u5927\u56FE\u6240\u793A\u3002",paraId:1,tocIndex:3},{value:"\u5B9A\u4E49\u8868\u5355\u9879\u7684\u6807\u9898\u7684\u63CF\u8FF0\uFF0C\u5982\u5927\u56FE\u6240\u793A\u3002",paraId:2,tocIndex:4},{value:"\u5B9A\u4E49\u8868\u5355\u9879\u7684\u63CF\u8FF0\uFF0C\u5982\u5927\u56FE\u6240\u793A\u3002",paraId:3,tocIndex:5},{value:`\u5B9A\u4E49\u8868\u5355\u9879\u7684\u6E32\u67D3\u4E3B\u4F53\u5185\u5BB9\uFF0C\u5982\u5927\u56FE\u6240\u793A\u3002 +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Bn={title:"\u534F\u8BAE\u4ECB\u7ECD Schema",toc:"content",filename:"examples/core-react/003-schema.md",lastUpdated:1704082387e3,group:"\u4ECB\u7ECD",description:"\u57FA\u7840\u534F\u8BAE\u7528\u4E8E\u63CF\u8FF0\u8868\u5355\u9879\u7684\u57FA\u7840\u529F\u80FD\u3002"},$n=[{id:"\u534F\u8BAE\u4ECB\u7ECD-schema",depth:1,title:"\u534F\u8BAE\u4ECB\u7ECD Schema"},{id:"\u534F\u8BAE\u5927\u56FE",depth:2,title:"\u534F\u8BAE\u5927\u56FE"},{id:"\u57FA\u7840\u534F\u8BAE",depth:2,title:"\u57FA\u7840\u534F\u8BAE"},{id:"title",depth:3,title:"title"},{id:"titledescription",depth:3,title:"titleDescription"},{id:"description",depth:3,title:"description"},{id:"rendertype",depth:3,title:"renderType"},{id:"renderoptions",depth:3,title:"renderOptions"},{id:"\u7ED3\u6784\u534F\u8BAE",depth:2,title:"\u7ED3\u6784\u534F\u8BAE"},{id:"\u5BF9\u8C61\u7ED3\u6784-object",depth:3,title:"\u5BF9\u8C61\u7ED3\u6784 Object"},{id:"\u6570\u7EC4\u7ED3\u6784-array",depth:3,title:"\u6570\u7EC4\u7ED3\u6784 Array"},{id:"\u72B6\u6001\u534F\u8BAE",depth:2,title:"\u72B6\u6001\u534F\u8BAE"},{id:"required",depth:3,title:"required"},{id:"disabled",depth:3,title:"disabled"},{id:"readonly",depth:3,title:"readonly"},{id:"hidden",depth:3,title:"hidden"},{id:"\u6837\u5F0F\u63A7\u5236\u534F\u8BAE",depth:2,title:"\u6837\u5F0F\u63A7\u5236\u534F\u8BAE"},{id:"classname",depth:3,title:"className"},{id:"style",depth:3,title:"style"},{id:"span",depth:3,title:"span"},{id:"spanstart",depth:3,title:"spanStart"},{id:"\u6570\u636E\u6821\u9A8C\u534F\u8BAE",depth:2,title:"\u6570\u636E\u6821\u9A8C\u534F\u8BAE"},{id:"\u534F\u8BAE\u4FDD\u7559\u5B57",depth:2,title:"\u534F\u8BAE\u4FDD\u7559\u5B57"}],qn=[{value:"\u57FA\u7840\u534F\u8BAE\u7528\u4E8E\u63CF\u8FF0\u8868\u5355\u9879\u7684\u57FA\u7840\u529F\u80FD\u3002",paraId:0,tocIndex:2},{value:"\u5B9A\u4E49\u8868\u5355\u9879\u7684\u6807\u9898\uFF0C\u5982\u5927\u56FE\u6240\u793A\u3002",paraId:1,tocIndex:3},{value:"\u5B9A\u4E49\u8868\u5355\u9879\u7684\u6807\u9898\u7684\u63CF\u8FF0\uFF0C\u5982\u5927\u56FE\u6240\u793A\u3002",paraId:2,tocIndex:4},{value:"\u5B9A\u4E49\u8868\u5355\u9879\u7684\u63CF\u8FF0\uFF0C\u5982\u5927\u56FE\u6240\u793A\u3002",paraId:3,tocIndex:5},{value:`\u5B9A\u4E49\u8868\u5355\u9879\u7684\u6E32\u67D3\u4E3B\u4F53\u5185\u5BB9\uFF0C\u5982\u5927\u56FE\u6240\u793A\u3002 `,paraId:4,tocIndex:6},{value:"renderType",paraId:4,tocIndex:6},{value:" \u53EF\u4EE5\u79F0\u4E3A\u300C\u6E32\u67D3\u7C7B\u578B\u300D\u6216\u300C\u6E32\u67D3\u5668\u540D\u79F0\u300D\uFF0C\u5176\u503C\u5BF9\u5E94\u6CE8\u518C\u5728\u300C\u6E32\u67D3\u5668\u5217\u8868\u300D\u7684\u6E32\u67D3\u5668\u3002",paraId:4,tocIndex:6},{value:"\u8BE6\u60C5\u8BF7\u79FB\u6B65\u81F3 ",paraId:5,tocIndex:6},{value:"\u6E32\u67D3\u5668 Renderer",paraId:6,tocIndex:6},{value:"\u5B9A\u4E49\u4F20\u9012\u7ED9\u6E32\u67D3\u5668\u7EC4\u4EF6\u7684\u53C2\u6570\uFF0C",paraId:7,tocIndex:7},{value:"object",paraId:7,tocIndex:7},{value:" \u7C7B\u578B\u3002",paraId:7,tocIndex:7},{value:"\u4EE5\u4E0B\u901A\u8FC7\u81EA\u5B9A\u4E49 ",paraId:8,tocIndex:7},{value:"placeholder",paraId:8,tocIndex:7},{value:" \u548C Select ",paraId:8,tocIndex:7},{value:"\u679A\u4E3E\u503C",paraId:8,tocIndex:7},{value:" \u505A\u4E2A\u793A\u4F8B\u3002",paraId:8,tocIndex:7},{value:"\u7ED3\u6784\u534F\u8BAE\u53EF\u4EE5\u521B\u5EFA\u5D4C\u5957\u7684 Schema \u5185\u5BB9\uFF0C\u76EE\u524D\u652F\u6301 Object \u548C Array \u7ED3\u6784\u7C7B\u578B\u3002",paraId:9,tocIndex:8},{value:"\u5BF9\u8C61\u7ED3\u6784\u53EF\u4EE5\u58F0\u660E\u5D4C\u5957\u7684\u5BF9\u8C61\u7C7B\u578B Schema \u7ED3\u6784\uFF0C",paraId:10,tocIndex:9},{value:"renderType",paraId:10,tocIndex:9},{value:" \u4EE5 ",paraId:10,tocIndex:9},{value:"Object",paraId:10,tocIndex:9},{value:" \u5F00\u5934\uFF0C\u540C\u65F6\u9700\u8981\u6CE8\u518C\u5BF9\u5E94\u7684\u5BF9\u8C61\u6E32\u67D3\u5668\u3002",paraId:10,tocIndex:9},{value:"\u8BE6\u60C5\u8BF7\u79FB\u6B65\u81F3 ",paraId:11,tocIndex:9},{value:"\u7ED3\u6784\u6E32\u67D3\u5668-\u5BF9\u8C61 Object",paraId:12,tocIndex:9},{value:"\u6570\u7EC4\u7ED3\u6784\u53EF\u4EE5\u58F0\u660E\u5D4C\u5957\u7684\u6570\u7EC4\u7C7B\u578B Schema \u7ED3\u6784\uFF0C",paraId:13,tocIndex:10},{value:"renderType",paraId:13,tocIndex:10},{value:" \u4EE5 ",paraId:13,tocIndex:10},{value:"Array",paraId:13,tocIndex:10},{value:" \u5F00\u5934\uFF0C\u540C\u65F6\u9700\u8981\u6CE8\u518C\u5BF9\u5E94\u7684\u6570\u7EC4\u6E32\u67D3\u5668\u3002",paraId:13,tocIndex:10},{value:"\u8BE6\u60C5\u8BF7\u79FB\u6B65\u81F3 ",paraId:14,tocIndex:10},{value:"\u7ED3\u6784\u6E32\u67D3\u5668-\u6570\u7EC4 Array",paraId:15,tocIndex:10},{value:"\u987E\u540D\u601D\u4E49\uFF0C\u63A7\u5236\u8868\u5355\u9879\u72B6\u6001\u7684\u534F\u8BAE\uFF0C\u901A\u8FC7\u58F0\u660E ",paraId:16,tocIndex:11},{value:"Boolean",paraId:16,tocIndex:11},{value:" \u503C\u6216\u8005",paraId:16,tocIndex:11},{value:"\u8868\u8FBE\u5F0F",paraId:16,tocIndex:11},{value:"\u6765\u63A7\u5236\u8868\u5355\u9879\u7684\u72B6\u6001\uFF0C\u5982\u5FC5\u586B\u3001\u9690\u85CF\u3001\u7981\u7528\u3001\u53EA\u8BFB\u3002",paraId:16,tocIndex:11},{value:"Boolean",paraId:17,tocIndex:11},{value:": \u9002\u7528\u4E8E\u9759\u6001\u72B6\u6001\u63A7\u5236\uFF0C\u76F4\u63A5\u58F0\u660E",paraId:17,tocIndex:11},{value:"\u8868\u8FBE\u5F0F",paraId:17,tocIndex:11},{value:": \u9002\u7528\u4E8E\u52A8\u6001\u72B6\u6001\u63A7\u5236",paraId:17,tocIndex:11},{value:"\u6B64\u7C7B\u534F\u8BAE\u7684\u8868\u8FBE\u5F0F\u53D8\u91CF\u5305\u542B\u5982\u4E0B",paraId:18,tocIndex:11},{value:"$",paraId:19,tocIndex:11},{value:": \u8868\u793A\u5F53\u524D\u5C42\u7EA7\u7684\u5BF9\u8C61\u6570\u636E",paraId:19,tocIndex:11},{value:"$root",paraId:19,tocIndex:11},{value:": \u8868\u793A\u8868\u5355\u7684\u6570\u636E",paraId:19,tocIndex:11},{value:"$userCtx",paraId:19,tocIndex:11},{value:": \u8868\u793A ",paraId:19,tocIndex:11},{value:"userCtx",paraId:19,tocIndex:11},{value:" \u7684\u6570\u636E",paraId:19,tocIndex:11},{value:"\u63A7\u5236\u8868\u5355\u9879\u662F\u5426",paraId:20,tocIndex:12},{value:"\u5FC5\u586B",paraId:20,tocIndex:12},{value:"\uFF0C\u5FC5\u586B\u65F6\u8868\u5355\u9879\u4F1A\u589E\u52A0 ",paraId:20,tocIndex:12},{value:"is-required",paraId:20,tocIndex:12},{value:" \u7C7B\u540D\u3002",paraId:20,tocIndex:12},{value:"\u4EE5\u4E0B\u662F\u76F4\u63A5\u58F0\u660E ",paraId:21,tocIndex:12},{value:"Boolean",paraId:21,tocIndex:12},{value:" \u503C\u548C",paraId:21,tocIndex:12},{value:"\u8868\u8FBE\u5F0F",paraId:21,tocIndex:12},{value:"\u52A8\u6001\u63A7\u5236\u4E24\u79CD\u4F7F\u7528\u65B9\u5F0F\u7684\u793A\u4F8B\u3002",paraId:21,tocIndex:12},{value:"\u63A7\u5236\u8868\u5355\u9879\u662F\u5426",paraId:22,tocIndex:13},{value:"\u7981\u7528",paraId:22,tocIndex:13},{value:"\uFF0C\u7981\u7528\u65F6\u8868\u5355\u9879\u4F1A\u589E\u52A0 ",paraId:22,tocIndex:13},{value:"is-disabled",paraId:22,tocIndex:13},{value:" \u7C7B\u540D\u3002",paraId:22,tocIndex:13},{value:"\u63A7\u5236\u8868\u5355\u9879\u662F\u5426",paraId:23,tocIndex:14},{value:"\u53EA\u8BFB",paraId:23,tocIndex:14},{value:"\uFF0C\u53EA\u8BFB\u65F6\u8868\u5355\u9879\u4F1A\u589E\u52A0 ",paraId:23,tocIndex:14},{value:"is-readonly",paraId:23,tocIndex:14},{value:" \u7C7B\u540D\u3002",paraId:23,tocIndex:14},{value:"\u5E38\u5E94\u7528\u4E8E\u8868\u5355\u8BE6\u60C5\u9875\u7684\u6570\u636E\u5C55\u793A\u3002",paraId:24,tocIndex:14},{value:"\u63A7\u5236\u8868\u5355\u9879\u662F\u5426",paraId:25,tocIndex:15},{value:"\u9690\u85CF",paraId:25,tocIndex:15},{value:"\uFF0C\u9690\u85CF\u7684\u8868\u5355\u9879\u6570\u636E\u4ECD\u7136\u5B58\u5728\u3002",paraId:25,tocIndex:15},{value:"\u7ED9\u8868\u5355\u9879\u8BBE\u7F6E\u7C7B\u540D\u3002",paraId:26,tocIndex:17},{value:`const schema = { renderType: 'Root', properties: { @@ -6400,7 +6400,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-100-layout-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{width:{title:"\u5BBD\u5EA6",renderType:"InputNumber",span:12},height:{title:"\u9AD8\u5EA6",renderType:"InputNumber",span:12},left:{title:"\u6C34\u5E73\u4F4D\u7F6E",renderType:"InputNumber",span:12,spanStart:1},top:{title:"\u5782\u76F4\u4F4D\u7F6E",renderType:"InputNumber",span:12},rotate:{title:"\u65CB\u8F6C\u89D2\u5EA6",renderType:"InputNumber"}}},Y=function(){return r.createElement(ne,{layout:"normal",schema:te,itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-100-layout-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-100-layout-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{width:{title:"\u5BBD\u5EA6",renderType:"InputNumber",span:12},height:{title:"\u9AD8\u5EA6",renderType:"InputNumber",span:12},left:{title:"\u6C34\u5E73\u4F4D\u7F6E",renderType:"InputNumber",span:12,spanStart:1},top:{title:"\u5782\u76F4\u4F4D\u7F6E",renderType:"InputNumber",span:12},rotate:{title:"\u65CB\u8F6C\u89D2\u5EA6",renderType:"InputNumber"}}},Y=function(){return r.createElement(ne,{layout:"normal",schema:te,itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-100-layout-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -6446,7 +6446,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-100-layout-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{width:{title:"\u5BBD\u5EA6",renderType:"InputNumber"},height:{title:"\u9AD8\u5EA6",renderType:"InputNumber"},left:{title:"\u6C34\u5E73\u4F4D\u7F6E",renderType:"InputNumber"},top:{title:"\u5782\u76F4\u4F4D\u7F6E",renderType:"InputNumber"}}},Y=function(){return r.createElement(ne,{schema:te,layout:"autoFill",itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-100-layout-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-100-layout-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{width:{title:"\u5BBD\u5EA6",renderType:"InputNumber"},height:{title:"\u9AD8\u5EA6",renderType:"InputNumber"},left:{title:"\u6C34\u5E73\u4F4D\u7F6E",renderType:"InputNumber"},top:{title:"\u5782\u76F4\u4F4D\u7F6E",renderType:"InputNumber"}}},Y=function(){return r.createElement(ne,{schema:te,layout:"autoFill",itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-100-layout-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -6483,7 +6483,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-100-layout-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{width:{title:"\u5BBD\u5EA6",renderType:"InputNumber"},height:{title:"\u9AD8\u5EA6",renderType:"InputNumber"},left:{title:"\u6C34\u5E73\u4F4D\u7F6E",renderType:"InputNumber"},top:{title:"\u5782\u76F4\u4F4D\u7F6E",renderType:"InputNumber"}}},Y=function(){return r.createElement(ne,{schema:te,layout:"autoFit",itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-100-layout-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-100-layout-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{width:{title:"\u5BBD\u5EA6",renderType:"InputNumber"},height:{title:"\u9AD8\u5EA6",renderType:"InputNumber"},left:{title:"\u6C34\u5E73\u4F4D\u7F6E",renderType:"InputNumber"},top:{title:"\u5782\u76F4\u4F4D\u7F6E",renderType:"InputNumber"}}},Y=function(){return r.createElement(ne,{schema:te,layout:"autoFit",itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-100-layout-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -6520,7 +6520,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-100-layout-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{width:{title:"\u5BBD\u5EA6",renderType:"InputNumber"},height:{title:"\u9AD8\u5EA6",renderType:"InputNumber"},left:{title:"\u6C34\u5E73\u4F4D\u7F6E",renderType:"InputNumber"},top:{title:"\u5782\u76F4\u4F4D\u7F6E",renderType:"InputNumber"}}},Y=function(){return r.createElement(ne,{schema:te,layout:"autoFill",layoutMinMax:[230,230],itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-100-layout-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-100-layout-demo-4":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y;return a()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=D.sent,ne=J.default,D.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=D.sent,X=oe.default,D.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=D.sent,_=k.default,te={renderType:"Root",properties:{width:{title:"\u5BBD\u5EA6",renderType:"InputNumber"},height:{title:"\u9AD8\u5EA6",renderType:"InputNumber"},left:{title:"\u6C34\u5E73\u4F4D\u7F6E",renderType:"InputNumber"},top:{title:"\u5782\u76F4\u4F4D\u7F6E",renderType:"InputNumber"}}},Y=function(){return r.createElement(ne,{schema:te,layout:"autoFill",layoutMinMax:[230,230],itemLayout:X,renderers:_})},D.abrupt("return",{default:Y});case 15:case"end":return D.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-100-layout-demo-4",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -6558,7 +6558,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Hn={title:"\u5E03\u5C40\u7ED3\u6784 layout",toc:"content",filename:"examples/core-react/100-layout.md",lastUpdated:1705201615e3,group:{title:"\u6837\u5F0F\u5B9A\u5236",order:100},description:"layout \u5B9A\u4E49 \u8868\u5355\u9879\u4E4B\u95F4 \u7684\u5E03\u5C40\u7ED3\u6784\uFF0C\u6709\u4EE5\u4E0B\u4E09\u79CD\u6A21\u5F0F\u3002"},bn=[{id:"\u5E03\u5C40\u7ED3\u6784-layout",depth:1,title:"\u5E03\u5C40\u7ED3\u6784 layout"},{id:"\u6805\u683C\u5E03\u5C40-normal",depth:2,title:"\u6805\u683C\u5E03\u5C40 normal"},{id:"\u6805\u683C\u5E03\u5C40-\u81EA\u5B9A\u4E49\u5BBD\u5EA6",depth:2,title:"\u6805\u683C\u5E03\u5C40 \u81EA\u5B9A\u4E49\u5BBD\u5EA6"},{id:"\u81EA\u9002\u5E94\u5E03\u5C40-autofill",depth:2,title:"\u81EA\u9002\u5E94\u5E03\u5C40 autoFill"},{id:"\u81EA\u9002\u5E94\u5E03\u5C40-autofit",depth:2,title:"\u81EA\u9002\u5E94\u5E03\u5C40 autoFit"},{id:"\u81EA\u9002\u5E94\u5E03\u5C40-layoutminmax",depth:2,title:"\u81EA\u9002\u5E94\u5E03\u5C40 layoutMinMax"}],Fn=[{value:"layout",paraId:0,tocIndex:0},{value:" \u5B9A\u4E49 ",paraId:0,tocIndex:0},{value:"\u8868\u5355\u9879\u4E4B\u95F4",paraId:0,tocIndex:0},{value:" \u7684\u5E03\u5C40\u7ED3\u6784\uFF0C\u6709\u4EE5\u4E0B\u4E09\u79CD\u6A21\u5F0F\u3002",paraId:0,tocIndex:0},{value:"normal",paraId:1,tocIndex:0},{value:": \u9ED8\u8BA4\u6A21\u5F0F\uFF0C\u6807\u51C6\u6805\u683C\u5E03\u5C40\uFF0C\u5C06\u5BB9\u5668\u5747\u5206\u4E3A ",paraId:1,tocIndex:0},{value:"24",paraId:1,tocIndex:0},{value:" \u4EFD\uFF0C\u6BCF\u4E2A\u8868\u5355\u9879\u9ED8\u8BA4\u5360\u6EE1\u4E00\u884C\uFF08\u5373 24 \u4EFD\uFF09\uFF1B\u5F53\u7136\u53EF\u4EE5\u5728 Schema \u91CC\u901A\u8FC7 ",paraId:1,tocIndex:0},{value:"span",paraId:1,tocIndex:0},{value:" \u5B57\u6BB5\u8BBE\u7F6E\u7279\u5B9A\u7684\u4EFD\u6570\uFF08\u5BBD\u5EA6\uFF09\u3002",paraId:1,tocIndex:0},{value:"autoFill",paraId:1,tocIndex:0},{value:": \u6307\u5B9A\u8868\u5355\u9879\u6700\u5C0F\u6700\u5927\u5BBD\u5EA6\u7684\u81EA\u9002\u5E94\u5E03\u5C40\uFF0C",paraId:1,tocIndex:0},{value:"CSS Grid",paraId:1,tocIndex:0},{value:" autoFill \u6A21\u5F0F\u3002",paraId:1,tocIndex:0},{value:"autoFit",paraId:1,tocIndex:0},{value:": \u6307\u5B9A\u8868\u5355\u9879\u6700\u5C0F\u6700\u5927\u5BBD\u5EA6\u7684\u81EA\u9002\u5E94\u5E03\u5C40\uFF0CCSS Grid autoFit \u6A21\u5F0F\u3002",paraId:1,tocIndex:0},{value:"\u6BCF\u4E2A\u8868\u5355\u9879\u9ED8\u8BA4\u5360\u6EE1\u4E00\u884C\u3002",paraId:2,tocIndex:1},{value:"\u901A\u8FC7\u5728 ",paraId:3,tocIndex:2},{value:"Schema",paraId:3,tocIndex:2},{value:" \u4E0A\u6307\u5B9A ",paraId:3,tocIndex:2},{value:"span",paraId:3,tocIndex:2},{value:" \u548C ",paraId:3,tocIndex:2},{value:"spanStart",paraId:3,tocIndex:2},{value:" \u53EF\u4EE5\u63A7\u5236\u8868\u5355\u9879\u7279\u5B9A\u7684",paraId:3,tocIndex:2},{value:"\u5BBD\u5EA6",paraId:3,tocIndex:2},{value:"\u548C",paraId:3,tocIndex:2},{value:"\u4F4D\u7F6E",paraId:3,tocIndex:2},{value:"\u3002",paraId:3,tocIndex:2},{value:"span",paraId:4,tocIndex:2},{value:": \u6307\u5B9A\u8868\u5355\u9879\u5BBD\u5EA6\uFF0C\u4EE5\u4EFD\u8BA1\u7B97\u3002",paraId:4,tocIndex:2},{value:"spanStart",paraId:4,tocIndex:2},{value:": \u6307\u5B9A\u8868\u5355\u9879\u4ECE\u7B2C\u51E0\u4E2A\u6805\u683C\u5F00\u59CB\uFF0C\u901A\u5E38\u5728\u9700\u8981\u6362\u884C\u7684\u65F6\u5019\u4F7F\u7528\u3002",paraId:4,tocIndex:2},{value:"\u5F53 ",paraId:4,tocIndex:2},{value:"span",paraId:4,tocIndex:2},{value:" \u548C ",paraId:4,tocIndex:2},{value:"spanStart",paraId:4,tocIndex:2},{value:" \u90FD\u672A\u5B9A\u4E49\u65F6\uFF0C\u81EA\u52A8\u6062\u590D\u5E38\u89C4\u6A21\u5F0F\uFF08\u5360\u6EE1\u4E00\u884C\uFF09",paraId:4,tocIndex:2},{value:"\u6839\u636E\u8BBE\u7F6E\u7684 ",paraId:5,tocIndex:3},{value:"layoutMinMax",paraId:5,tocIndex:3},{value:"\uFF08\u5373 ",paraId:5,tocIndex:3},{value:"Grid minmax",paraId:5,tocIndex:3},{value:"\uFF09\u4E0E",paraId:5,tocIndex:3},{value:"\u8868\u5355\u6839\u5143\u7D20",paraId:5,tocIndex:3},{value:"\u5BBD\u5EA6\u52A8\u6001\u8BA1\u7B97\u5E03\u5C40\u5BBD\u5EA6\uFF0C\u52A8\u6001\u6392\u5217\u4E0E\u6362\u884C\u3002",paraId:5,tocIndex:3},{value:"autoFit",paraId:6,tocIndex:4},{value:" \u4E0E ",paraId:6,tocIndex:4},{value:"autoFill",paraId:6,tocIndex:4},{value:" \u96F7\u540C\uFF0C\u7EC6\u5FAE\u7684\u5DEE\u522B\u8BF7\u67E5\u770B ",paraId:6,tocIndex:4},{value:"\u8FD9\u7BC7\u6587\u7AE0\u7684\u5BF9\u6BD4",paraId:6,tocIndex:4},{value:"\u3002",paraId:6,tocIndex:4},{value:"\u4E0D\u7BA1\u662F ",paraId:7,tocIndex:5},{value:"autoFill",paraId:7,tocIndex:5},{value:" \u8FD8\u662F ",paraId:7,tocIndex:5},{value:"autoFit",paraId:7,tocIndex:5},{value:" \u90FD\u53EF\u4EE5\u901A\u8FC7 ",paraId:7,tocIndex:5},{value:"layoutMinMax",paraId:7,tocIndex:5},{value:" \u8BBE\u7F6E\u8868\u5355\u9879\u5BBD\u5EA6\u7684\u6700\u5C0F\u6700\u5927\u503C\uFF0C\u9ED8\u8BA4\u503C\u4E3A ",paraId:7,tocIndex:5},{value:"['320px', '1fr']",paraId:7,tocIndex:5},{value:"\u3002",paraId:7,tocIndex:5},{value:"\u4EE5\u4E0B\u793A\u4F8B\u8BBE\u7F6E\u6700\u5C0F\u6700\u5927\u90FD\u4E3A ",paraId:8,tocIndex:5},{value:"230px",paraId:8,tocIndex:5},{value:" \u7684\u5E03\u5C40\u3002",paraId:8,tocIndex:5},{value:"layoutMinMax",paraId:9},{value:" \u5185\u7684\u503C\u53EF\u4EE5\u662F ",paraId:9},{value:"string",paraId:9},{value:" \u7C7B\u578B\uFF0C\u4E5F\u53EF\u4EE5\u662F ",paraId:9},{value:"number",paraId:9},{value:" \u7C7B\u578B\uFF0C",paraId:9},{value:"number",paraId:9},{value:" \u7C7B\u578B\u4F1A\u88AB\u81EA\u52A8\u8F6C\u6210\u4EE5 ",paraId:9},{value:"px",paraId:9},{value:" \u4E3A\u5355\u4F4D\u7684 ",paraId:9},{value:"string",paraId:9},{value:" \u7C7B\u578B\u503C\u3002",paraId:9}],ar={"examples-core-react-250-scroll-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le;return a()().wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return xe.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=xe.sent,ne=J.useState,oe=J.useRef,xe.next=7,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 7:return X=xe.sent,k=X.Button,_=X.Space,xe.next=12,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 12:return te=xe.sent,Y=te.default,xe.next=16,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 16:return Ie=xe.sent,D=Ie.default,xe.next=20,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 20:return ee=xe.sent,V=ee.default,xe.next=24,Promise.all([e.e(1548),e.e(7647),e.e(6421),e.e(9752),e.e(5892),e.e(2594)]).then(e.bind(e,3962));case 24:return ce=xe.sent,L=ce.default,W=C()(C()({},D),{},{Object:L}),B={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}},object_basic:{title:"\u57FA\u7840\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u57FA\u7840\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u57FA\u7840\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_spec:{title:"\u89C4\u683C\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u89C4\u683C\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u89C4\u683C\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_service:{title:"\u670D\u52A1\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u670D\u52A1\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u670D\u52A1\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_other:{title:"\u5176\u4ED6\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u5176\u4ED6\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5176\u4ED6\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}}}},le=function(){var Se=ne({}),ke=o()(Se,2),et=ke[0],dt=ke[1],gt=oe(null);return r.createElement("div",{style:{display:"flex",columnGap:20}},r.createElement(Y,{style:{maxWidth:500,flexGrow:1,height:500,padding:"10px 5px",border:"1px solid #ccc",overflow:"auto"},ref:gt,schema:B,value:et,onChange:dt,itemLayout:V,renderers:W}),r.createElement(_,{direction:"vertical"},r.createElement(k,{onClick:function(){var Mt;return(Mt=gt.current)===null||Mt===void 0?void 0:Mt.scrollTo("object_basic")}},"\u79FB\u52A8\u5230\u3010\u57FA\u7840\u4FE1\u606F\u3011"),r.createElement(k,{onClick:function(){var Mt;(Mt=gt.current)===null||Mt===void 0||Mt.scrollTo(["object_spec","title"],{gap:-20})}},"\u79FB\u52A8\u5230\u3010\u89C4\u683C\u4FE1\u606F-\u89C4\u683C\u6807\u9898-\u589E\u52A020px\u8DDD\u79BB\u3011"),r.createElement(k,{onClick:function(){var Mt;(Mt=gt.current)===null||Mt===void 0||Mt.scrollTo("object_other.content",{xAxis:!1})}},"\u79FB\u52A8\u5230\u3010\u5176\u4ED6\u4FE1\u606F-\u5176\u4ED6\u5185\u5BB9\u3011")))},xe.abrupt("return",{default:le});case 30:case"end":return xe.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-250-scroll-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Hn={title:"\u5E03\u5C40\u7ED3\u6784 layout",toc:"content",filename:"examples/core-react/100-layout.md",lastUpdated:1705201615e3,group:{title:"\u6837\u5F0F\u5B9A\u5236",order:100},description:"layout \u5B9A\u4E49 \u8868\u5355\u9879\u4E4B\u95F4 \u7684\u5E03\u5C40\u7ED3\u6784\uFF0C\u6709\u4EE5\u4E0B\u4E09\u79CD\u6A21\u5F0F\u3002"},bn=[{id:"\u5E03\u5C40\u7ED3\u6784-layout",depth:1,title:"\u5E03\u5C40\u7ED3\u6784 layout"},{id:"\u6805\u683C\u5E03\u5C40-normal",depth:2,title:"\u6805\u683C\u5E03\u5C40 normal"},{id:"\u6805\u683C\u5E03\u5C40-\u81EA\u5B9A\u4E49\u5BBD\u5EA6",depth:2,title:"\u6805\u683C\u5E03\u5C40 \u81EA\u5B9A\u4E49\u5BBD\u5EA6"},{id:"\u81EA\u9002\u5E94\u5E03\u5C40-autofill",depth:2,title:"\u81EA\u9002\u5E94\u5E03\u5C40 autoFill"},{id:"\u81EA\u9002\u5E94\u5E03\u5C40-autofit",depth:2,title:"\u81EA\u9002\u5E94\u5E03\u5C40 autoFit"},{id:"\u81EA\u9002\u5E94\u5E03\u5C40-layoutminmax",depth:2,title:"\u81EA\u9002\u5E94\u5E03\u5C40 layoutMinMax"}],Fn=[{value:"layout",paraId:0,tocIndex:0},{value:" \u5B9A\u4E49 ",paraId:0,tocIndex:0},{value:"\u8868\u5355\u9879\u4E4B\u95F4",paraId:0,tocIndex:0},{value:" \u7684\u5E03\u5C40\u7ED3\u6784\uFF0C\u6709\u4EE5\u4E0B\u4E09\u79CD\u6A21\u5F0F\u3002",paraId:0,tocIndex:0},{value:"normal",paraId:1,tocIndex:0},{value:": \u9ED8\u8BA4\u6A21\u5F0F\uFF0C\u6807\u51C6\u6805\u683C\u5E03\u5C40\uFF0C\u5C06\u5BB9\u5668\u5747\u5206\u4E3A ",paraId:1,tocIndex:0},{value:"24",paraId:1,tocIndex:0},{value:" \u4EFD\uFF0C\u6BCF\u4E2A\u8868\u5355\u9879\u9ED8\u8BA4\u5360\u6EE1\u4E00\u884C\uFF08\u5373 24 \u4EFD\uFF09\uFF1B\u5F53\u7136\u53EF\u4EE5\u5728 Schema \u91CC\u901A\u8FC7 ",paraId:1,tocIndex:0},{value:"span",paraId:1,tocIndex:0},{value:" \u5B57\u6BB5\u8BBE\u7F6E\u7279\u5B9A\u7684\u4EFD\u6570\uFF08\u5BBD\u5EA6\uFF09\u3002",paraId:1,tocIndex:0},{value:"autoFill",paraId:1,tocIndex:0},{value:": \u6307\u5B9A\u8868\u5355\u9879\u6700\u5C0F\u6700\u5927\u5BBD\u5EA6\u7684\u81EA\u9002\u5E94\u5E03\u5C40\uFF0C",paraId:1,tocIndex:0},{value:"CSS Grid",paraId:1,tocIndex:0},{value:" autoFill \u6A21\u5F0F\u3002",paraId:1,tocIndex:0},{value:"autoFit",paraId:1,tocIndex:0},{value:": \u6307\u5B9A\u8868\u5355\u9879\u6700\u5C0F\u6700\u5927\u5BBD\u5EA6\u7684\u81EA\u9002\u5E94\u5E03\u5C40\uFF0CCSS Grid autoFit \u6A21\u5F0F\u3002",paraId:1,tocIndex:0},{value:"\u6BCF\u4E2A\u8868\u5355\u9879\u9ED8\u8BA4\u5360\u6EE1\u4E00\u884C\u3002",paraId:2,tocIndex:1},{value:"\u901A\u8FC7\u5728 ",paraId:3,tocIndex:2},{value:"Schema",paraId:3,tocIndex:2},{value:" \u4E0A\u6307\u5B9A ",paraId:3,tocIndex:2},{value:"span",paraId:3,tocIndex:2},{value:" \u548C ",paraId:3,tocIndex:2},{value:"spanStart",paraId:3,tocIndex:2},{value:" \u53EF\u4EE5\u63A7\u5236\u8868\u5355\u9879\u7279\u5B9A\u7684",paraId:3,tocIndex:2},{value:"\u5BBD\u5EA6",paraId:3,tocIndex:2},{value:"\u548C",paraId:3,tocIndex:2},{value:"\u4F4D\u7F6E",paraId:3,tocIndex:2},{value:"\u3002",paraId:3,tocIndex:2},{value:"span",paraId:4,tocIndex:2},{value:": \u6307\u5B9A\u8868\u5355\u9879\u5BBD\u5EA6\uFF0C\u4EE5\u4EFD\u8BA1\u7B97\u3002",paraId:4,tocIndex:2},{value:"spanStart",paraId:4,tocIndex:2},{value:": \u6307\u5B9A\u8868\u5355\u9879\u4ECE\u7B2C\u51E0\u4E2A\u6805\u683C\u5F00\u59CB\uFF0C\u901A\u5E38\u5728\u9700\u8981\u6362\u884C\u7684\u65F6\u5019\u4F7F\u7528\u3002",paraId:4,tocIndex:2},{value:"\u5F53 ",paraId:4,tocIndex:2},{value:"span",paraId:4,tocIndex:2},{value:" \u548C ",paraId:4,tocIndex:2},{value:"spanStart",paraId:4,tocIndex:2},{value:" \u90FD\u672A\u5B9A\u4E49\u65F6\uFF0C\u81EA\u52A8\u6062\u590D\u5E38\u89C4\u6A21\u5F0F\uFF08\u5360\u6EE1\u4E00\u884C\uFF09",paraId:4,tocIndex:2},{value:"\u6839\u636E\u8BBE\u7F6E\u7684 ",paraId:5,tocIndex:3},{value:"layoutMinMax",paraId:5,tocIndex:3},{value:"\uFF08\u5373 ",paraId:5,tocIndex:3},{value:"Grid minmax",paraId:5,tocIndex:3},{value:"\uFF09\u4E0E",paraId:5,tocIndex:3},{value:"\u8868\u5355\u6839\u5143\u7D20",paraId:5,tocIndex:3},{value:"\u5BBD\u5EA6\u52A8\u6001\u8BA1\u7B97\u5E03\u5C40\u5BBD\u5EA6\uFF0C\u52A8\u6001\u6392\u5217\u4E0E\u6362\u884C\u3002",paraId:5,tocIndex:3},{value:"autoFit",paraId:6,tocIndex:4},{value:" \u4E0E ",paraId:6,tocIndex:4},{value:"autoFill",paraId:6,tocIndex:4},{value:" \u96F7\u540C\uFF0C\u7EC6\u5FAE\u7684\u5DEE\u522B\u8BF7\u67E5\u770B ",paraId:6,tocIndex:4},{value:"\u8FD9\u7BC7\u6587\u7AE0\u7684\u5BF9\u6BD4",paraId:6,tocIndex:4},{value:"\u3002",paraId:6,tocIndex:4},{value:"\u4E0D\u7BA1\u662F ",paraId:7,tocIndex:5},{value:"autoFill",paraId:7,tocIndex:5},{value:" \u8FD8\u662F ",paraId:7,tocIndex:5},{value:"autoFit",paraId:7,tocIndex:5},{value:" \u90FD\u53EF\u4EE5\u901A\u8FC7 ",paraId:7,tocIndex:5},{value:"layoutMinMax",paraId:7,tocIndex:5},{value:" \u8BBE\u7F6E\u8868\u5355\u9879\u5BBD\u5EA6\u7684\u6700\u5C0F\u6700\u5927\u503C\uFF0C\u9ED8\u8BA4\u503C\u4E3A ",paraId:7,tocIndex:5},{value:"['320px', '1fr']",paraId:7,tocIndex:5},{value:"\u3002",paraId:7,tocIndex:5},{value:"\u4EE5\u4E0B\u793A\u4F8B\u8BBE\u7F6E\u6700\u5C0F\u6700\u5927\u90FD\u4E3A ",paraId:8,tocIndex:5},{value:"230px",paraId:8,tocIndex:5},{value:" \u7684\u5E03\u5C40\u3002",paraId:8,tocIndex:5},{value:"layoutMinMax",paraId:9},{value:" \u5185\u7684\u503C\u53EF\u4EE5\u662F ",paraId:9},{value:"string",paraId:9},{value:" \u7C7B\u578B\uFF0C\u4E5F\u53EF\u4EE5\u662F ",paraId:9},{value:"number",paraId:9},{value:" \u7C7B\u578B\uFF0C",paraId:9},{value:"number",paraId:9},{value:" \u7C7B\u578B\u4F1A\u88AB\u81EA\u52A8\u8F6C\u6210\u4EE5 ",paraId:9},{value:"px",paraId:9},{value:" \u4E3A\u5355\u4F4D\u7684 ",paraId:9},{value:"string",paraId:9},{value:" \u7C7B\u578B\u503C\u3002",paraId:9}],ar={"examples-core-react-250-scroll-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le;return a()().wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return xe.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=xe.sent,ne=J.useState,oe=J.useRef,xe.next=7,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 7:return X=xe.sent,k=X.Button,_=X.Space,xe.next=12,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 12:return te=xe.sent,Y=te.default,xe.next=16,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 16:return Ie=xe.sent,D=Ie.default,xe.next=20,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 20:return ee=xe.sent,V=ee.default,xe.next=24,Promise.all([e.e(1548),e.e(7647),e.e(6421),e.e(9752),e.e(5892),e.e(2594)]).then(e.bind(e,3962));case 24:return ce=xe.sent,L=ce.default,W=C()(C()({},D),{},{Object:L}),B={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}},object_basic:{title:"\u57FA\u7840\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u57FA\u7840\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u57FA\u7840\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_spec:{title:"\u89C4\u683C\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u89C4\u683C\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u89C4\u683C\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_service:{title:"\u670D\u52A1\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u670D\u52A1\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u670D\u52A1\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_other:{title:"\u5176\u4ED6\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u5176\u4ED6\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5176\u4ED6\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}}}},le=function(){var Se=ne({}),ke=o()(Se,2),et=ke[0],dt=ke[1],gt=oe(null);return r.createElement("div",{style:{display:"flex",columnGap:20}},r.createElement(Y,{style:{maxWidth:500,flexGrow:1,height:500,padding:"10px 5px",border:"1px solid #ccc",overflow:"auto"},ref:gt,schema:B,value:et,onChange:dt,itemLayout:V,renderers:W}),r.createElement(_,{direction:"vertical"},r.createElement(k,{onClick:function(){var Mt;return(Mt=gt.current)===null||Mt===void 0?void 0:Mt.scrollTo("object_basic")}},"\u79FB\u52A8\u5230\u3010\u57FA\u7840\u4FE1\u606F\u3011"),r.createElement(k,{onClick:function(){var Mt;(Mt=gt.current)===null||Mt===void 0||Mt.scrollTo(["object_spec","title"],{gap:-20})}},"\u79FB\u52A8\u5230\u3010\u89C4\u683C\u4FE1\u606F-\u89C4\u683C\u6807\u9898-\u589E\u52A020px\u8DDD\u79BB\u3011"),r.createElement(k,{onClick:function(){var Mt;(Mt=gt.current)===null||Mt===void 0||Mt.scrollTo("object_other.content",{xAxis:!1})}},"\u79FB\u52A8\u5230\u3010\u5176\u4ED6\u4FE1\u606F-\u5176\u4ED6\u5185\u5BB9\u3011")))},xe.abrupt("return",{default:le});case 30:case"end":return xe.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-250-scroll-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' import { Button, Space } from 'antd' import Core from '@schema-render/core-react' import type { ICoreRef, IRootSchema } from '@schema-render/core-react' @@ -6707,7 +6707,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/object/ObjectNormal.tsx":{type:"FILE",value:e(51038).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-250-scroll-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le;return a()().wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return xe.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=xe.sent,ne=J.useState,oe=J.useRef,xe.next=7,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 7:return X=xe.sent,k=X.Button,_=X.Space,xe.next=12,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 12:return te=xe.sent,Y=te.default,xe.next=16,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 16:return Ie=xe.sent,D=Ie.default,xe.next=20,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 20:return ee=xe.sent,V=ee.default,xe.next=24,Promise.all([e.e(1548),e.e(7647),e.e(6421),e.e(9752),e.e(5892),e.e(2594)]).then(e.bind(e,3962));case 24:return ce=xe.sent,L=ce.default,W=C()(C()({},D),{},{Object:L}),B={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}},object_basic:{title:"\u57FA\u7840\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u57FA\u7840\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u57FA\u7840\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_spec:{title:"\u89C4\u683C\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u89C4\u683C\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u89C4\u683C\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_service:{title:"\u670D\u52A1\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u670D\u52A1\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u670D\u52A1\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_other:{title:"\u5176\u4ED6\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u5176\u4ED6\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5176\u4ED6\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}}}},le=function(){var Se=ne({}),ke=o()(Se,2),et=ke[0],dt=ke[1],gt=oe(null),Ut=oe(null);return r.createElement("div",{ref:Ut,style:{display:"flex",columnGap:20,height:500,padding:10,border:"1px solid #ccc",overflow:"auto",position:"relative"}},r.createElement(Y,{style:{maxWidth:500,flexGrow:1},ref:gt,schema:B,value:et,onChange:dt,itemLayout:V,renderers:W}),r.createElement("div",{style:{position:"sticky",top:0}},r.createElement(_,{direction:"vertical"},r.createElement(k,{onClick:function(){var Wt;(Wt=gt.current)===null||Wt===void 0||Wt.scrollTo("object_basic",{positionedElement:Ut.current})}},"\u79FB\u52A8\u5230\u3010\u57FA\u7840\u4FE1\u606F\u3011"),r.createElement(k,{onClick:function(){var Wt;(Wt=gt.current)===null||Wt===void 0||Wt.scrollTo(["object_spec","title"],{positionedElement:Ut.current,gap:-20})}},"\u79FB\u52A8\u5230\u3010\u89C4\u683C\u4FE1\u606F-\u89C4\u683C\u6807\u9898-\u589E\u52A020px\u8DDD\u79BB\u3011"),r.createElement(k,{onClick:function(){var Wt;(Wt=gt.current)===null||Wt===void 0||Wt.scrollTo("object_other.content",{positionedElement:Ut.current})}},"\u79FB\u52A8\u5230\u3010\u5176\u4ED6\u4FE1\u606F-\u5176\u4ED6\u5185\u5BB9\u3011"))))},xe.abrupt("return",{default:le});case 30:case"end":return xe.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-250-scroll-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/object/ObjectNormal.tsx":{type:"FILE",value:e(51038).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-250-scroll-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le;return a()().wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return xe.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=xe.sent,ne=J.useState,oe=J.useRef,xe.next=7,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 7:return X=xe.sent,k=X.Button,_=X.Space,xe.next=12,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 12:return te=xe.sent,Y=te.default,xe.next=16,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 16:return Ie=xe.sent,D=Ie.default,xe.next=20,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 20:return ee=xe.sent,V=ee.default,xe.next=24,Promise.all([e.e(1548),e.e(7647),e.e(6421),e.e(9752),e.e(5892),e.e(2594)]).then(e.bind(e,3962));case 24:return ce=xe.sent,L=ce.default,W=C()(C()({},D),{},{Object:L}),B={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}},object_basic:{title:"\u57FA\u7840\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u57FA\u7840\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u57FA\u7840\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_spec:{title:"\u89C4\u683C\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u89C4\u683C\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u89C4\u683C\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_service:{title:"\u670D\u52A1\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u670D\u52A1\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u670D\u52A1\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_other:{title:"\u5176\u4ED6\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u5176\u4ED6\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5176\u4ED6\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}}}},le=function(){var Se=ne({}),ke=o()(Se,2),et=ke[0],dt=ke[1],gt=oe(null),Ut=oe(null);return r.createElement("div",{ref:Ut,style:{display:"flex",columnGap:20,height:500,padding:10,border:"1px solid #ccc",overflow:"auto",position:"relative"}},r.createElement(Y,{style:{maxWidth:500,flexGrow:1},ref:gt,schema:B,value:et,onChange:dt,itemLayout:V,renderers:W}),r.createElement("div",{style:{position:"sticky",top:0}},r.createElement(_,{direction:"vertical"},r.createElement(k,{onClick:function(){var Wt;(Wt=gt.current)===null||Wt===void 0||Wt.scrollTo("object_basic",{positionedElement:Ut.current})}},"\u79FB\u52A8\u5230\u3010\u57FA\u7840\u4FE1\u606F\u3011"),r.createElement(k,{onClick:function(){var Wt;(Wt=gt.current)===null||Wt===void 0||Wt.scrollTo(["object_spec","title"],{positionedElement:Ut.current,gap:-20})}},"\u79FB\u52A8\u5230\u3010\u89C4\u683C\u4FE1\u606F-\u89C4\u683C\u6807\u9898-\u589E\u52A020px\u8DDD\u79BB\u3011"),r.createElement(k,{onClick:function(){var Wt;(Wt=gt.current)===null||Wt===void 0||Wt.scrollTo("object_other.content",{positionedElement:Ut.current})}},"\u79FB\u52A8\u5230\u3010\u5176\u4ED6\u4FE1\u606F-\u5176\u4ED6\u5185\u5BB9\u3011"))))},xe.abrupt("return",{default:le});case 30:case"end":return xe.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-250-scroll-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' import { Button, Space } from 'antd' import Core from '@schema-render/core-react' import type { ICoreRef, IRootSchema } from '@schema-render/core-react' @@ -6879,7 +6879,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/object/ObjectNormal.tsx":{type:"FILE",value:e(51038).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-250-scroll-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le;return a()().wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return xe.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=xe.sent,ne=J.useState,oe=J.useRef,xe.next=7,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 7:return X=xe.sent,k=X.Button,_=X.Space,xe.next=12,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 12:return te=xe.sent,Y=te.default,xe.next=16,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 16:return Ie=xe.sent,D=Ie.default,xe.next=20,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 20:return ee=xe.sent,V=ee.default,xe.next=24,Promise.all([e.e(1548),e.e(7647),e.e(6421),e.e(9752),e.e(5892),e.e(2594)]).then(e.bind(e,3962));case 24:return ce=xe.sent,L=ce.default,W=C()(C()({},D),{},{Object:L}),B={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}},object_basic:{title:"\u57FA\u7840\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u57FA\u7840\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u57FA\u7840\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_spec:{title:"\u89C4\u683C\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u89C4\u683C\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u89C4\u683C\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_service:{title:"\u670D\u52A1\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u670D\u52A1\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u670D\u52A1\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_other:{title:"\u5176\u4ED6\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u5176\u4ED6\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5176\u4ED6\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}}}},le=function(){var Se=ne({}),ke=o()(Se,2),et=ke[0],dt=ke[1],gt=oe(null),Ut=function(Wt){var ln,un,nn,or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;(ln=gt.current)===null||ln===void 0||ln.scrollTo(Wt,{positionedElement:window,gap:-76+or,behavior:"instant"});var Un=(un=gt.current)===null||un===void 0||(nn=un.findItem(Wt))===null||nn===void 0?void 0:nn.getRootElement();Un==null||Un.classList.add("focus-out"),setTimeout(function(){Un==null||Un.classList.remove("focus-out")},1e3)};return r.createElement("div",{style:{display:"flex",columnGap:20}},r.createElement(Y,{style:{maxWidth:500,flexGrow:1},ref:gt,schema:B,value:et,onChange:dt,itemLayout:V,renderers:W}),r.createElement("div",null,r.createElement(_,{direction:"vertical"},r.createElement(k,{onClick:function(){return Ut("object_basic")}},"\u79FB\u52A8\u5230\u3010\u57FA\u7840\u4FE1\u606F\u3011"),r.createElement(k,{onClick:function(){return Ut(["object_spec","title"],-20)}},"\u79FB\u52A8\u5230\u3010\u89C4\u683C\u4FE1\u606F-\u89C4\u683C\u6807\u9898-\u589E\u52A020px\u8DDD\u79BB\u3011"),r.createElement(k,{onClick:function(){return Ut("object_other.content")}},"\u79FB\u52A8\u5230\u3010\u5176\u4ED6\u4FE1\u606F-\u5176\u4ED6\u5185\u5BB9\u3011"))))},xe.abrupt("return",{default:le});case 30:case"end":return xe.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-250-scroll-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/object/ObjectNormal.tsx":{type:"FILE",value:e(51038).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-core-react-250-scroll-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B,le;return a()().wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return xe.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return J=xe.sent,ne=J.useState,oe=J.useRef,xe.next=7,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 7:return X=xe.sent,k=X.Button,_=X.Space,xe.next=12,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 12:return te=xe.sent,Y=te.default,xe.next=16,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 16:return Ie=xe.sent,D=Ie.default,xe.next=20,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 20:return ee=xe.sent,V=ee.default,xe.next=24,Promise.all([e.e(1548),e.e(7647),e.e(6421),e.e(9752),e.e(5892),e.e(2594)]).then(e.bind(e,3962));case 24:return ce=xe.sent,L=ce.default,W=C()(C()({},D),{},{Object:L}),B={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}},object_basic:{title:"\u57FA\u7840\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u57FA\u7840\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u57FA\u7840\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_spec:{title:"\u89C4\u683C\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u89C4\u683C\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u89C4\u683C\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_service:{title:"\u670D\u52A1\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u670D\u52A1\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u670D\u52A1\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}},object_other:{title:"\u5176\u4ED6\u4FE1\u606F",renderType:"Object",properties:{title:{title:"\u5176\u4ED6\u6807\u9898",renderType:"InputText",required:!0},content:{title:"\u5176\u4ED6\u5185\u5BB9",renderType:"TextArea",required:!0,renderOptions:{rows:10}}}}}},le=function(){var Se=ne({}),ke=o()(Se,2),et=ke[0],dt=ke[1],gt=oe(null),Ut=function(Wt){var ln,un,nn,or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;(ln=gt.current)===null||ln===void 0||ln.scrollTo(Wt,{positionedElement:window,gap:-76+or,behavior:"instant"});var Un=(un=gt.current)===null||un===void 0||(nn=un.findItem(Wt))===null||nn===void 0?void 0:nn.getRootElement();Un==null||Un.classList.add("focus-out"),setTimeout(function(){Un==null||Un.classList.remove("focus-out")},1e3)};return r.createElement("div",{style:{display:"flex",columnGap:20}},r.createElement(Y,{style:{maxWidth:500,flexGrow:1},ref:gt,schema:B,value:et,onChange:dt,itemLayout:V,renderers:W}),r.createElement("div",null,r.createElement(_,{direction:"vertical"},r.createElement(k,{onClick:function(){return Ut("object_basic")}},"\u79FB\u52A8\u5230\u3010\u57FA\u7840\u4FE1\u606F\u3011"),r.createElement(k,{onClick:function(){return Ut(["object_spec","title"],-20)}},"\u79FB\u52A8\u5230\u3010\u89C4\u683C\u4FE1\u606F-\u89C4\u683C\u6807\u9898-\u589E\u52A020px\u8DDD\u79BB\u3011"),r.createElement(k,{onClick:function(){return Ut("object_other.content")}},"\u79FB\u52A8\u5230\u3010\u5176\u4ED6\u4FE1\u606F-\u5176\u4ED6\u5185\u5BB9\u3011"))))},xe.abrupt("return",{default:le});case 30:case"end":return xe.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-250-scroll-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' import { Button, Space } from 'antd' import Core from '@schema-render/core-react' import type { ICoreRef, IRootSchema } from '@schema-render/core-react' @@ -7040,7 +7040,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/object/ObjectNormal.tsx":{type:"FILE",value:e(51038).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Wn={title:"\u6EDA\u52A8\u5230\u6307\u5B9A\u4F4D\u7F6E ScrollTo",toc:"content",filename:"examples/core-react/250-scroll.md",lastUpdated:1705652612e3,group:"\u529F\u80FD\u8BE6\u89E3",order:250,description:"\u5F53\u8868\u5355\u6BD4\u8F83\u957F\u7684\u65F6\u5019\uFF0C\u6EDA\u52A8\u5230\u6307\u5B9A\u8868\u5355\u9879\u7684\u4F4D\u7F6E\u3002"},tr=[{id:"\u6EDA\u52A8\u5230\u6307\u5B9A\u4F4D\u7F6E-scrollto",depth:1,title:"\u6EDA\u52A8\u5230\u6307\u5B9A\u4F4D\u7F6E ScrollTo"},{id:"\u5165\u53C2",depth:3,title:"\u5165\u53C2"},{id:"options",depth:4,title:"options"},{id:"\u51FA\u53C2",depth:3,title:"\u51FA\u53C2"},{id:"\u793A\u4F8B\u4E00--\u5185\u90E8\u6EDA\u52A8",depth:3,title:"\u793A\u4F8B\u4E00 \xB7 \u5185\u90E8\u6EDA\u52A8"},{id:"\u793A\u4F8B\u4E8C--\u5916\u90E8\u6EDA\u52A8",depth:3,title:"\u793A\u4F8B\u4E8C \xB7 \u5916\u90E8\u6EDA\u52A8"},{id:"\u793A\u4F8B\u4E09--\u7A97\u53E3\u6EDA\u52A8",depth:3,title:"\u793A\u4F8B\u4E09 \xB7 \u7A97\u53E3\u6EDA\u52A8"}],mr=[{value:"\u5F53\u8868\u5355\u6BD4\u8F83\u957F\u7684\u65F6\u5019\uFF0C\u6EDA\u52A8\u5230\u6307\u5B9A\u8868\u5355\u9879\u7684\u4F4D\u7F6E\u3002",paraId:0,tocIndex:0},{value:"\u7C7B\u578B\uFF1A",paraId:1,tocIndex:0},{value:"scrollTo: (paths?: string | string[], options?: IScrollToOptions) => void",paraId:1,tocIndex:0},{value:"\u540D\u79F0",paraId:2,tocIndex:1},{value:"\u63CF\u8FF0",paraId:2,tocIndex:1},{value:"\u7C7B\u578B",paraId:2,tocIndex:1},{value:"paths",paraId:2,tocIndex:1},{value:"\u8868\u5355\u9879\u8DEF\u5F84",paraId:2,tocIndex:1},{value:"string",paraId:2,tocIndex:1},{value:" | ",paraId:2,tocIndex:1},{value:"string[]",paraId:2,tocIndex:1},{value:"options",paraId:2,tocIndex:1},{value:"\u9009\u9879\u53C2\u6570\uFF0C\u5982\u4E0B\u8868\u683C",paraId:2,tocIndex:1},{value:"IScrollToOptions",paraId:2,tocIndex:1},{value:"\u540D\u79F0",paraId:3,tocIndex:2},{value:"\u63CF\u8FF0",paraId:3,tocIndex:2},{value:"\u7C7B\u578B",paraId:3,tocIndex:2},{value:"xAxis",paraId:3,tocIndex:2},{value:"\u662F\u5426\u89E6\u53D1 x \u8F74\u79FB\u52A8\uFF0C\u9ED8\u8BA4 true",paraId:3,tocIndex:2},{value:"boolean",paraId:3,tocIndex:2},{value:"yAxis",paraId:3,tocIndex:2},{value:"\u662F\u5426\u89E6\u53D1 y \u8F74\u79FB\u52A8\uFF0C\u9ED8\u8BA4 true",paraId:3,tocIndex:2},{value:"boolean",paraId:3,tocIndex:2},{value:"behavior",paraId:3,tocIndex:2},{value:"\u6EDA\u52A8\u8FC7\u6E21\u884C\u4E3A",paraId:3,tocIndex:2},{value:"\uFF0C\u9ED8\u8BA4 ",paraId:3,tocIndex:2},{value:"smooth",paraId:3,tocIndex:2},{value:"smooth",paraId:3,tocIndex:2},{value:" | ",paraId:3,tocIndex:2},{value:"instant",paraId:3,tocIndex:2},{value:" | ",paraId:3,tocIndex:2},{value:"auto",paraId:3,tocIndex:2},{value:"gap",paraId:3,tocIndex:2},{value:"\u79FB\u52A8\u5230\u6307\u5B9A\u4F4D\u7F6E\u7684\u5DEE\u503C\uFF0C\u53EF\u4EE5\u662F\u6B63\u8D1F\u503C\uFF0C\u9ED8\u8BA4\u4E3A 0",paraId:3,tocIndex:2},{value:"number",paraId:3,tocIndex:2},{value:"positionedElement",paraId:3,tocIndex:2},{value:"\u6EDA\u52A8\u5BB9\u5668\u5143\u7D20 (\u9700\u8981\u5E26\u5B9A\u4F4D\u5C5E\u6027 position)\uFF0C\u9002\u7528\u4E8E\u975E Core \u6839\u8282\u70B9\u6EDA\u52A8",paraId:3,tocIndex:2},{value:"HTMLElement",paraId:3,tocIndex:2},{value:" | ",paraId:3,tocIndex:2},{value:"Window",paraId:3,tocIndex:2},{value:"\u65E0",paraId:4,tocIndex:3},{value:"\u5982\u679C\u6EDA\u52A8\u5BB9\u5668\u5143\u7D20\u662F ",paraId:5,tocIndex:4},{value:"Core",paraId:5,tocIndex:4},{value:" \u6839\u8282\u70B9\u5143\u7D20\uFF0C\u90A3\u4E48\u53EF\u4EE5\u76F4\u63A5\u4F7F\u7528 ",paraId:5,tocIndex:4},{value:"scrollTo",paraId:5,tocIndex:4},{value:" \u65B9\u6CD5\u6EDA\u52A8\u5230\u6307\u5B9A\u8868\u5355\u9879\u4F4D\u7F6E\u3002",paraId:5,tocIndex:4},{value:"\u5982\u679C\u6EDA\u52A8\u5BB9\u5668\u5143\u7D20\u8D85\u8FC7 Core \u6839\u8282\u70B9\u5143\u7D20\uFF0C\u90A3\u4E48\u53EA\u9700\u5728 ",paraId:6,tocIndex:5},{value:"scrollTo",paraId:6,tocIndex:5},{value:" \u65B9\u6CD5\u6307\u5B9A ",paraId:6,tocIndex:5},{value:"positionedElement",paraId:6,tocIndex:5},{value:" \u53C2\u6570\u4E3A\u6EDA\u52A8\u5BB9\u5668\u5143\u7D20\u5373\u53EF\u3002",paraId:6,tocIndex:5},{value:"\u524D\u7F6E\u6761\u4EF6\uFF1A",paraId:7,tocIndex:5},{value:"\u6EDA\u52A8\u5BB9\u5668\u5143\u7D20\u9700\u8981\u662F\u201C\u5B9A\u4F4D\u5143\u7D20\u201D\uFF0C\u5982\u58F0\u660E ",paraId:8,tocIndex:5},{value:"position",paraId:8,tocIndex:5},{value:" \u4E3A\u975E ",paraId:8,tocIndex:5},{value:"static",paraId:8,tocIndex:5},{value:" \u5C5E\u6027\uFF0C\u8FD9\u6837\u6307\u5B9A\u7684\u8868\u5355\u9879\u624D\u80FD\u67E5\u627E\u5230\u8BE5\u6EDA\u52A8\u7956\u5148\u5143\u7D20\uFF0C\u624D\u80FD\u83B7\u53D6\u5230\u6B63\u786E\u7684\u8DDD\u79BB\u3002",paraId:8,tocIndex:5},{value:"\u5B9A\u4F4D\u5143\u7D20\uFF1A",paraId:8,tocIndex:5},{value:"https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent",paraId:8,tocIndex:5},{value:"\u5982\u679C\u8981\u8BA9\u7A97\u53E3\u6EDA\u52A8\uFF0C\u540C\u6837\u7684\u65B9\u5F0F\uFF0C\u53EA\u9700\u5728 ",paraId:9,tocIndex:6},{value:"scrollTo",paraId:9,tocIndex:6},{value:" \u65B9\u6CD5\u6307\u5B9A ",paraId:9,tocIndex:6},{value:"positionedElement",paraId:9,tocIndex:6},{value:" \u53C2\u6570\u4E3A ",paraId:9,tocIndex:6},{value:"window",paraId:9,tocIndex:6},{value:" \u5373\u53EF\uFF0C\u4E0D\u8FC7\u5185\u90E8\u7684\u6EDA\u52A8\u8DDD\u79BB\u662F\u53EA\u8BA1\u7B97\u5230 ",paraId:9,tocIndex:6},{value:"body",paraId:9,tocIndex:6},{value:" \u5143\u7D20\uFF0C\u56E0\u4E3A ",paraId:9,tocIndex:6},{value:"offsetParent",paraId:9,tocIndex:6},{value:" \u6700\u7EC8\u53EA\u80FD\u5B9A\u4F4D\u5230 ",paraId:9,tocIndex:6},{value:"body",paraId:9,tocIndex:6},{value:" \u5143\u7D20\uFF0C\u6240\u4EE5\uFF08\u4E5F\u662F\u5E38\u7406\u60C5\u51B5\u4E0B\uFF09body \u548C html \u5143\u7D20\u4E0D\u5E94\u8BE5\u5B58\u5728 margin \u548C padding \u503C\u3002",paraId:9,tocIndex:6}],Vr={"examples-core-react-700-locale-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=V.sent,ne=J.default,V.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=V.sent,X=oe.default,V.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=V.sent,_=k.default,V.next=14,e.e(8903).then(e.bind(e,18903));case 14:return te=V.sent,Y=te.default,Ie={renderType:"Root",properties:{title:{title:"Title",renderType:"InputText",renderOptions:{maxLength:10,placeholder:"Please enter a title with a maximum of 10 characters"},required:!0},content:{title:"Content",renderType:"TextArea",renderOptions:{placeholder:"Please enter content"},required:!0}}},D=function(){return r.createElement(ne,{style:{maxWidth:600},schema:Ie,itemLayout:X,renderers:_,locale:Y})},V.abrupt("return",{default:D});case 19:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-700-locale-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core, { IRootSchema } from '@schema-render/core-react' +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/object/ObjectNormal.tsx":{type:"FILE",value:e(51038).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Wn={title:"\u6EDA\u52A8\u5230\u6307\u5B9A\u4F4D\u7F6E ScrollTo",toc:"content",filename:"examples/core-react/250-scroll.md",lastUpdated:1705652612e3,group:"\u529F\u80FD\u8BE6\u89E3",order:250,description:"\u5F53\u8868\u5355\u6BD4\u8F83\u957F\u7684\u65F6\u5019\uFF0C\u6EDA\u52A8\u5230\u6307\u5B9A\u8868\u5355\u9879\u7684\u4F4D\u7F6E\u3002"},tr=[{id:"\u6EDA\u52A8\u5230\u6307\u5B9A\u4F4D\u7F6E-scrollto",depth:1,title:"\u6EDA\u52A8\u5230\u6307\u5B9A\u4F4D\u7F6E ScrollTo"},{id:"\u5165\u53C2",depth:3,title:"\u5165\u53C2"},{id:"options",depth:4,title:"options"},{id:"\u51FA\u53C2",depth:3,title:"\u51FA\u53C2"},{id:"\u793A\u4F8B\u4E00--\u5185\u90E8\u6EDA\u52A8",depth:3,title:"\u793A\u4F8B\u4E00 \xB7 \u5185\u90E8\u6EDA\u52A8"},{id:"\u793A\u4F8B\u4E8C--\u5916\u90E8\u6EDA\u52A8",depth:3,title:"\u793A\u4F8B\u4E8C \xB7 \u5916\u90E8\u6EDA\u52A8"},{id:"\u793A\u4F8B\u4E09--\u7A97\u53E3\u6EDA\u52A8",depth:3,title:"\u793A\u4F8B\u4E09 \xB7 \u7A97\u53E3\u6EDA\u52A8"}],mr=[{value:"\u5F53\u8868\u5355\u6BD4\u8F83\u957F\u7684\u65F6\u5019\uFF0C\u6EDA\u52A8\u5230\u6307\u5B9A\u8868\u5355\u9879\u7684\u4F4D\u7F6E\u3002",paraId:0,tocIndex:0},{value:"\u7C7B\u578B\uFF1A",paraId:1,tocIndex:0},{value:"scrollTo: (paths?: string | string[], options?: IScrollToOptions) => void",paraId:1,tocIndex:0},{value:"\u540D\u79F0",paraId:2,tocIndex:1},{value:"\u63CF\u8FF0",paraId:2,tocIndex:1},{value:"\u7C7B\u578B",paraId:2,tocIndex:1},{value:"paths",paraId:2,tocIndex:1},{value:"\u8868\u5355\u9879\u8DEF\u5F84",paraId:2,tocIndex:1},{value:"string",paraId:2,tocIndex:1},{value:" | ",paraId:2,tocIndex:1},{value:"string[]",paraId:2,tocIndex:1},{value:"options",paraId:2,tocIndex:1},{value:"\u9009\u9879\u53C2\u6570\uFF0C\u5982\u4E0B\u8868\u683C",paraId:2,tocIndex:1},{value:"IScrollToOptions",paraId:2,tocIndex:1},{value:"\u540D\u79F0",paraId:3,tocIndex:2},{value:"\u63CF\u8FF0",paraId:3,tocIndex:2},{value:"\u7C7B\u578B",paraId:3,tocIndex:2},{value:"xAxis",paraId:3,tocIndex:2},{value:"\u662F\u5426\u89E6\u53D1 x \u8F74\u79FB\u52A8\uFF0C\u9ED8\u8BA4 true",paraId:3,tocIndex:2},{value:"boolean",paraId:3,tocIndex:2},{value:"yAxis",paraId:3,tocIndex:2},{value:"\u662F\u5426\u89E6\u53D1 y \u8F74\u79FB\u52A8\uFF0C\u9ED8\u8BA4 true",paraId:3,tocIndex:2},{value:"boolean",paraId:3,tocIndex:2},{value:"behavior",paraId:3,tocIndex:2},{value:"\u6EDA\u52A8\u8FC7\u6E21\u884C\u4E3A",paraId:3,tocIndex:2},{value:"\uFF0C\u9ED8\u8BA4 ",paraId:3,tocIndex:2},{value:"smooth",paraId:3,tocIndex:2},{value:"smooth",paraId:3,tocIndex:2},{value:" | ",paraId:3,tocIndex:2},{value:"instant",paraId:3,tocIndex:2},{value:" | ",paraId:3,tocIndex:2},{value:"auto",paraId:3,tocIndex:2},{value:"gap",paraId:3,tocIndex:2},{value:"\u79FB\u52A8\u5230\u6307\u5B9A\u4F4D\u7F6E\u7684\u5DEE\u503C\uFF0C\u53EF\u4EE5\u662F\u6B63\u8D1F\u503C\uFF0C\u9ED8\u8BA4\u4E3A 0",paraId:3,tocIndex:2},{value:"number",paraId:3,tocIndex:2},{value:"positionedElement",paraId:3,tocIndex:2},{value:"\u6EDA\u52A8\u5BB9\u5668\u5143\u7D20 (\u9700\u8981\u5E26\u5B9A\u4F4D\u5C5E\u6027 position)\uFF0C\u9002\u7528\u4E8E\u975E Core \u6839\u8282\u70B9\u6EDA\u52A8",paraId:3,tocIndex:2},{value:"HTMLElement",paraId:3,tocIndex:2},{value:" | ",paraId:3,tocIndex:2},{value:"Window",paraId:3,tocIndex:2},{value:"\u65E0",paraId:4,tocIndex:3},{value:"\u5982\u679C\u6EDA\u52A8\u5BB9\u5668\u5143\u7D20\u662F ",paraId:5,tocIndex:4},{value:"Core",paraId:5,tocIndex:4},{value:" \u6839\u8282\u70B9\u5143\u7D20\uFF0C\u90A3\u4E48\u53EF\u4EE5\u76F4\u63A5\u4F7F\u7528 ",paraId:5,tocIndex:4},{value:"scrollTo",paraId:5,tocIndex:4},{value:" \u65B9\u6CD5\u6EDA\u52A8\u5230\u6307\u5B9A\u8868\u5355\u9879\u4F4D\u7F6E\u3002",paraId:5,tocIndex:4},{value:"\u5982\u679C\u6EDA\u52A8\u5BB9\u5668\u5143\u7D20\u8D85\u8FC7 Core \u6839\u8282\u70B9\u5143\u7D20\uFF0C\u90A3\u4E48\u53EA\u9700\u5728 ",paraId:6,tocIndex:5},{value:"scrollTo",paraId:6,tocIndex:5},{value:" \u65B9\u6CD5\u6307\u5B9A ",paraId:6,tocIndex:5},{value:"positionedElement",paraId:6,tocIndex:5},{value:" \u53C2\u6570\u4E3A\u6EDA\u52A8\u5BB9\u5668\u5143\u7D20\u5373\u53EF\u3002",paraId:6,tocIndex:5},{value:"\u524D\u7F6E\u6761\u4EF6\uFF1A",paraId:7,tocIndex:5},{value:"\u6EDA\u52A8\u5BB9\u5668\u5143\u7D20\u9700\u8981\u662F\u201C\u5B9A\u4F4D\u5143\u7D20\u201D\uFF0C\u5982\u58F0\u660E ",paraId:8,tocIndex:5},{value:"position",paraId:8,tocIndex:5},{value:" \u4E3A\u975E ",paraId:8,tocIndex:5},{value:"static",paraId:8,tocIndex:5},{value:" \u5C5E\u6027\uFF0C\u8FD9\u6837\u6307\u5B9A\u7684\u8868\u5355\u9879\u624D\u80FD\u67E5\u627E\u5230\u8BE5\u6EDA\u52A8\u7956\u5148\u5143\u7D20\uFF0C\u624D\u80FD\u83B7\u53D6\u5230\u6B63\u786E\u7684\u8DDD\u79BB\u3002",paraId:8,tocIndex:5},{value:"\u5B9A\u4F4D\u5143\u7D20\uFF1A",paraId:8,tocIndex:5},{value:"https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent",paraId:8,tocIndex:5},{value:"\u5982\u679C\u8981\u8BA9\u7A97\u53E3\u6EDA\u52A8\uFF0C\u540C\u6837\u7684\u65B9\u5F0F\uFF0C\u53EA\u9700\u5728 ",paraId:9,tocIndex:6},{value:"scrollTo",paraId:9,tocIndex:6},{value:" \u65B9\u6CD5\u6307\u5B9A ",paraId:9,tocIndex:6},{value:"positionedElement",paraId:9,tocIndex:6},{value:" \u53C2\u6570\u4E3A ",paraId:9,tocIndex:6},{value:"window",paraId:9,tocIndex:6},{value:" \u5373\u53EF\uFF0C\u4E0D\u8FC7\u5185\u90E8\u7684\u6EDA\u52A8\u8DDD\u79BB\u662F\u53EA\u8BA1\u7B97\u5230 ",paraId:9,tocIndex:6},{value:"body",paraId:9,tocIndex:6},{value:" \u5143\u7D20\uFF0C\u56E0\u4E3A ",paraId:9,tocIndex:6},{value:"offsetParent",paraId:9,tocIndex:6},{value:" \u6700\u7EC8\u53EA\u80FD\u5B9A\u4F4D\u5230 ",paraId:9,tocIndex:6},{value:"body",paraId:9,tocIndex:6},{value:" \u5143\u7D20\uFF0C\u6240\u4EE5\uFF08\u4E5F\u662F\u5E38\u7406\u60C5\u51B5\u4E0B\uFF09body \u548C html \u5143\u7D20\u4E0D\u5E94\u8BE5\u5B58\u5728 margin \u548C padding \u503C\u3002",paraId:9,tocIndex:6}],Vr={"examples-core-react-700-locale-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 2:return J=V.sent,ne=J.default,V.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 6:return oe=V.sent,X=oe.default,V.next=10,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 10:return k=V.sent,_=k.default,V.next=14,e.e(8903).then(e.bind(e,18903));case 14:return te=V.sent,Y=te.default,Ie={renderType:"Root",properties:{title:{title:"Title",renderType:"InputText",renderOptions:{maxLength:10,placeholder:"Please enter a title with a maximum of 10 characters"},required:!0},content:{title:"Content",renderType:"TextArea",renderOptions:{placeholder:"Please enter content"},required:!0}}},D=function(){return r.createElement(ne,{style:{maxWidth:600},schema:Ie,itemLayout:X,renderers:_,locale:Y})},V.abrupt("return",{default:D});case 19:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-core-react-700-locale-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import Core, { IRootSchema } from '@schema-render/core-react' import Horizontal from './item-layout/Horizontal' import renderers from './renderers/common' @@ -7083,7 +7083,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Ir={title:"\u56FD\u9645\u5316 Locale",toc:"menu",filename:"examples/core-react/700-locale.md",lastUpdated:1704082387e3,group:"\u529F\u80FD\u8BE6\u89E3",order:700,description:"Core \u9ED8\u8BA4\u6587\u6848\u662F\u4E2D\u6587\uFF0C\u5982\u679C\u9700\u8981\u4F7F\u7528\u5176\u4ED6\u8BED\u8A00\uFF0C\u53EA\u9700\u914D\u7F6E locale \u8986\u76D6\u9ED8\u8BA4\u7684\u8BED\u8A00\uFF0C\u793A\u4F8B\u5982\u4E0B\u3002"},cr=[{id:"\u56FD\u9645\u5316-locale",depth:1,title:"\u56FD\u9645\u5316 Locale"}],Qr=[{value:"Core",paraId:0,tocIndex:0},{value:" \u9ED8\u8BA4\u6587\u6848\u662F\u4E2D\u6587\uFF0C\u5982\u679C\u9700\u8981\u4F7F\u7528\u5176\u4ED6\u8BED\u8A00\uFF0C\u53EA\u9700\u914D\u7F6E ",paraId:0,tocIndex:0},{value:"locale",paraId:0,tocIndex:0},{value:" \u8986\u76D6\u9ED8\u8BA4\u7684\u8BED\u8A00\uFF0C\u793A\u4F8B\u5982\u4E0B\u3002",paraId:0,tocIndex:0},{value:"\u76EE\u524D\u652F\u6301\u4EE5\u4E0B\u8BED\u8A00\uFF1A",paraId:1},{value:"\u8BED\u8A00",paraId:2},{value:"\u6587\u4EF6\u540D",paraId:2},{value:"\u4E2D\u6587",paraId:2},{value:"zh_CN",paraId:2},{value:"\u82F1\u6587",paraId:2},{value:"en_US",paraId:2},{value:"\u5982\u679C\u627E\u4E0D\u5230\u4F60\u9700\u8981\u7684\u8BED\u8A00\u5305\uFF0C\u6B22\u8FCE\u53C2\u8003 ",paraId:3},{value:"\u4E2D\u6587\u8BED\u8A00\u5305",paraId:3},{value:" \u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u8BED\u8A00\u5305\uFF0C\u5E76\u7ED9\u6211\u4EEC\u53D1\u4E00\u4E2A Pull Request\u3002",paraId:3},{value:"\u6216\u8005\u914D\u7F6E\u76F8\u540C\u7684\u8BED\u8A00\u5305\u6570\u636E\u683C\u5F0F\u4F20\u503C\u7ED9 ",paraId:3},{value:"locale",paraId:3},{value:" \u5C5E\u6027\u3002",paraId:3}],Pa={},la={title:"\u7B80\u4ECB",toc:!1,filename:"examples/core-react/001-intro.md",lastUpdated:1705055036e3,group:{title:"\u4ECB\u7ECD",order:0},description:"SchemaRender \u662F\u4E00\u5957 \u9ED8\u8BA4\u7B80\u5355\uFF0C\u4F46\u53C8\u8FFD\u6C42 \u7075\u6D3B\u3001\u53EF\u9AD8\u5B9A\u3001\u597D\u7528\u7684 \u8868\u5355\u6E32\u67D3\u89E3\u51B3\u65B9\u6848\uFF0C\u65E8\u5728\u6C89\u6DC0\u89E3\u51B3\u5E38\u89C1\u8868\u5355\u6848\u4F8B\u7684\u6E32\u67D3\u5E93\uFF0C\u4E0E\u76F8\u5173\u7684\u901A\u7528\u7EC4\u4EF6\uFF0C\u4EE5\u63D0\u5347\u7814\u53D1\u6548\u7387\u3002"},wt=[{id:"\u7B80\u4ECB",depth:1,title:"\u7B80\u4ECB"},{id:"schemarender",depth:2,title:"SchemaRender"},{id:"core",depth:2,title:"Core"}],Vt=[{value:"SchemaRender",paraId:0,tocIndex:1},{value:" \u662F\u4E00\u5957 ",paraId:0,tocIndex:1},{value:"\u9ED8\u8BA4\u7B80\u5355",paraId:0,tocIndex:1},{value:"\uFF0C\u4F46\u53C8\u8FFD\u6C42 ",paraId:0,tocIndex:1},{value:"\u7075\u6D3B",paraId:0,tocIndex:1},{value:"\u3001",paraId:0,tocIndex:1},{value:"\u53EF\u9AD8\u5B9A",paraId:0,tocIndex:1},{value:"\u3001",paraId:0,tocIndex:1},{value:"\u597D\u7528\u7684",paraId:0,tocIndex:1},{value:" \u8868\u5355\u6E32\u67D3\u89E3\u51B3\u65B9\u6848\uFF0C\u65E8\u5728\u6C89\u6DC0\u89E3\u51B3\u5E38\u89C1\u8868\u5355\u6848\u4F8B\u7684\u6E32\u67D3\u5E93\uFF0C\u4E0E\u76F8\u5173\u7684\u901A\u7528\u7EC4\u4EF6\uFF0C\u4EE5\u63D0\u5347\u7814\u53D1\u6548\u7387\u3002",paraId:0,tocIndex:1},{value:"\u5185\u5BB9\u76EE\u5F55\uFF1A",paraId:1,tocIndex:1},{value:"Core",paraId:2,tocIndex:1},{value:": \u8868\u5355\u6E32\u67D3\u5E93\u5185\u6838\uFF0C\u901A\u8FC7\u4E00\u5957\u7B80\u6613\u7684 ",paraId:2,tocIndex:1},{value:"JSON Schema",paraId:3,tocIndex:1},{value:" \u6784\u5EFA\u51FA\u4E00\u5957\u8868\u5355\uFF0C\u5185\u6838\u4E3B\u8981\u5904\u7406 Schema \u534F\u8BAE\u3001\u6E32\u67D3\u5668\u7F16\u6392\u3001\u903B\u8F91\u8054\u52A8\u3001\u6821\u9A8C\u80FD\u529B\u7B49\uFF0C\u652F\u6301 SSR(Server-Side Rendering)\u3002",paraId:2,tocIndex:1},{value:"FormRender",paraId:2,tocIndex:1},{value:": \u57FA\u4E8E Core + ",paraId:2,tocIndex:1},{value:"Antd",paraId:2,tocIndex:1},{value:" \u5C01\u88C5\u7684\u5F00\u7BB1\u5373\u7528\u7684\u8868\u5355\u6E32\u67D3\u5E93\u3002",paraId:2,tocIndex:1},{value:"Search",paraId:2,tocIndex:1},{value:"\uFF1A\u57FA\u4E8E FormRender \u5C01\u88C5\u7684\u5F00\u7BB1\u5373\u7528\u7684\u6761\u4EF6\u641C\u7D22\u7EC4\u4EF6\u3002",paraId:2,tocIndex:1},{value:"SearchTable",paraId:2,tocIndex:1},{value:"\uFF1A\u57FA\u4E8E Search + Antd Table \u5C01\u88C5\u7684\u6761\u4EF6\u641C\u7D22\u8868\u683C\uFF08\u5EFA\u8BBE\u4E2D\uFF09\u3002",paraId:2,tocIndex:1},{value:"\u76EE\u524D\u9879\u76EE\u662F\u57FA\u4E8E React \u6280\u672F\u6808\u5B9E\u73B0\u7684\uFF0C\u6240\u4EE5\u540E\u7F00\u90FD\u52A0\u4E86 ",paraId:4},{value:"-react",paraId:4},{value:" \u5B57\u773C\uFF0C\u540E\u7EED\u53EF\u80FD\u4F1A\u5C06 Core \u62BD\u79BB\u6210\u4E0D\u4F9D\u8D56\u4E8E\u6280\u672F\u6808\u7684\u7EAF JavaScript \u9879\u76EE\uFF0C\u4EE5\u4FBF\u652F\u6301\u4EFB\u4F55\u6280\u672F\u6846\u67B6\u3002",paraId:4},{value:"FormRender\u3001Search \u6CA1\u6709\u5F88\u597D\u7684\u652F\u6301 SSR\uFF0C\u5982\u679C\u662F Next.js \u9879\u76EE\uFF0C\u53EF\u4EE5\u52A8\u6001\u5BFC\u5165\u5E76\u914D\u7F6E ssr \u4E3A\u4E0D\u542F\u7528\uFF0C\u5982\u4E0B\u793A\u4F8B\u3002",paraId:5},{value:`import dynamic from 'next/dynamic' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Ir={title:"\u56FD\u9645\u5316 Locale",toc:"menu",filename:"examples/core-react/700-locale.md",lastUpdated:1704082387e3,group:"\u529F\u80FD\u8BE6\u89E3",order:700,description:"Core \u9ED8\u8BA4\u6587\u6848\u662F\u4E2D\u6587\uFF0C\u5982\u679C\u9700\u8981\u4F7F\u7528\u5176\u4ED6\u8BED\u8A00\uFF0C\u53EA\u9700\u914D\u7F6E locale \u8986\u76D6\u9ED8\u8BA4\u7684\u8BED\u8A00\uFF0C\u793A\u4F8B\u5982\u4E0B\u3002"},cr=[{id:"\u56FD\u9645\u5316-locale",depth:1,title:"\u56FD\u9645\u5316 Locale"}],Qr=[{value:"Core",paraId:0,tocIndex:0},{value:" \u9ED8\u8BA4\u6587\u6848\u662F\u4E2D\u6587\uFF0C\u5982\u679C\u9700\u8981\u4F7F\u7528\u5176\u4ED6\u8BED\u8A00\uFF0C\u53EA\u9700\u914D\u7F6E ",paraId:0,tocIndex:0},{value:"locale",paraId:0,tocIndex:0},{value:" \u8986\u76D6\u9ED8\u8BA4\u7684\u8BED\u8A00\uFF0C\u793A\u4F8B\u5982\u4E0B\u3002",paraId:0,tocIndex:0},{value:"\u76EE\u524D\u652F\u6301\u4EE5\u4E0B\u8BED\u8A00\uFF1A",paraId:1},{value:"\u8BED\u8A00",paraId:2},{value:"\u6587\u4EF6\u540D",paraId:2},{value:"\u4E2D\u6587",paraId:2},{value:"zh_CN",paraId:2},{value:"\u82F1\u6587",paraId:2},{value:"en_US",paraId:2},{value:"\u5982\u679C\u627E\u4E0D\u5230\u4F60\u9700\u8981\u7684\u8BED\u8A00\u5305\uFF0C\u6B22\u8FCE\u53C2\u8003 ",paraId:3},{value:"\u4E2D\u6587\u8BED\u8A00\u5305",paraId:3},{value:" \u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u8BED\u8A00\u5305\uFF0C\u5E76\u7ED9\u6211\u4EEC\u53D1\u4E00\u4E2A Pull Request\u3002",paraId:3},{value:"\u6216\u8005\u914D\u7F6E\u76F8\u540C\u7684\u8BED\u8A00\u5305\u6570\u636E\u683C\u5F0F\u4F20\u503C\u7ED9 ",paraId:3},{value:"locale",paraId:3},{value:" \u5C5E\u6027\u3002",paraId:3}],Pa={},la={title:"\u7B80\u4ECB",toc:!1,filename:"examples/core-react/001-intro.md",lastUpdated:1705055036e3,group:{title:"\u4ECB\u7ECD",order:0},description:"SchemaRender \u662F\u4E00\u5957 \u9ED8\u8BA4\u7B80\u5355\uFF0C\u4F46\u53C8\u8FFD\u6C42 \u7075\u6D3B\u3001\u53EF\u9AD8\u5B9A\u3001\u597D\u7528\u7684 \u8868\u5355\u6E32\u67D3\u89E3\u51B3\u65B9\u6848\uFF0C\u65E8\u5728\u6C89\u6DC0\u89E3\u51B3\u5E38\u89C1\u8868\u5355\u6848\u4F8B\u7684\u6E32\u67D3\u5E93\uFF0C\u4E0E\u76F8\u5173\u7684\u901A\u7528\u7EC4\u4EF6\uFF0C\u4EE5\u63D0\u5347\u7814\u53D1\u6548\u7387\u3002"},wt=[{id:"\u7B80\u4ECB",depth:1,title:"\u7B80\u4ECB"},{id:"schemarender",depth:2,title:"SchemaRender"},{id:"core",depth:2,title:"Core"}],Vt=[{value:"SchemaRender",paraId:0,tocIndex:1},{value:" \u662F\u4E00\u5957 ",paraId:0,tocIndex:1},{value:"\u9ED8\u8BA4\u7B80\u5355",paraId:0,tocIndex:1},{value:"\uFF0C\u4F46\u53C8\u8FFD\u6C42 ",paraId:0,tocIndex:1},{value:"\u7075\u6D3B",paraId:0,tocIndex:1},{value:"\u3001",paraId:0,tocIndex:1},{value:"\u53EF\u9AD8\u5B9A",paraId:0,tocIndex:1},{value:"\u3001",paraId:0,tocIndex:1},{value:"\u597D\u7528\u7684",paraId:0,tocIndex:1},{value:" \u8868\u5355\u6E32\u67D3\u89E3\u51B3\u65B9\u6848\uFF0C\u65E8\u5728\u6C89\u6DC0\u89E3\u51B3\u5E38\u89C1\u8868\u5355\u6848\u4F8B\u7684\u6E32\u67D3\u5E93\uFF0C\u4E0E\u76F8\u5173\u7684\u901A\u7528\u7EC4\u4EF6\uFF0C\u4EE5\u63D0\u5347\u7814\u53D1\u6548\u7387\u3002",paraId:0,tocIndex:1},{value:"\u5185\u5BB9\u76EE\u5F55\uFF1A",paraId:1,tocIndex:1},{value:"Core",paraId:2,tocIndex:1},{value:": \u8868\u5355\u6E32\u67D3\u5E93\u5185\u6838\uFF0C\u901A\u8FC7\u4E00\u5957\u7B80\u6613\u7684 ",paraId:2,tocIndex:1},{value:"JSON Schema",paraId:3,tocIndex:1},{value:" \u6784\u5EFA\u51FA\u4E00\u5957\u8868\u5355\uFF0C\u5185\u6838\u4E3B\u8981\u5904\u7406 Schema \u534F\u8BAE\u3001\u6E32\u67D3\u5668\u7F16\u6392\u3001\u903B\u8F91\u8054\u52A8\u3001\u6821\u9A8C\u80FD\u529B\u7B49\uFF0C\u652F\u6301 SSR(Server-Side Rendering)\u3002",paraId:2,tocIndex:1},{value:"FormRender",paraId:2,tocIndex:1},{value:": \u57FA\u4E8E Core + ",paraId:2,tocIndex:1},{value:"Antd",paraId:2,tocIndex:1},{value:" \u5C01\u88C5\u7684\u5F00\u7BB1\u5373\u7528\u7684\u8868\u5355\u6E32\u67D3\u5E93\u3002",paraId:2,tocIndex:1},{value:"Search",paraId:2,tocIndex:1},{value:"\uFF1A\u57FA\u4E8E FormRender \u5C01\u88C5\u7684\u5F00\u7BB1\u5373\u7528\u7684\u6761\u4EF6\u641C\u7D22\u7EC4\u4EF6\u3002",paraId:2,tocIndex:1},{value:"SearchTable",paraId:2,tocIndex:1},{value:"\uFF1A\u57FA\u4E8E Search + Antd Table \u5C01\u88C5\u7684\u6761\u4EF6\u641C\u7D22\u8868\u683C\uFF08\u5EFA\u8BBE\u4E2D\uFF09\u3002",paraId:2,tocIndex:1},{value:"\u76EE\u524D\u9879\u76EE\u662F\u57FA\u4E8E React \u6280\u672F\u6808\u5B9E\u73B0\u7684\uFF0C\u6240\u4EE5\u540E\u7F00\u90FD\u52A0\u4E86 ",paraId:4},{value:"-react",paraId:4},{value:" \u5B57\u773C\uFF0C\u540E\u7EED\u53EF\u80FD\u4F1A\u5C06 Core \u62BD\u79BB\u6210\u4E0D\u4F9D\u8D56\u4E8E\u6280\u672F\u6808\u7684\u7EAF JavaScript \u9879\u76EE\uFF0C\u4EE5\u4FBF\u652F\u6301\u4EFB\u4F55\u6280\u672F\u6846\u67B6\u3002",paraId:4},{value:"FormRender\u3001Search \u6CA1\u6709\u5F88\u597D\u7684\u652F\u6301 SSR\uFF0C\u5982\u679C\u662F Next.js \u9879\u76EE\uFF0C\u53EF\u4EE5\u52A8\u6001\u5BFC\u5165\u5E76\u914D\u7F6E ssr \u4E3A\u4E0D\u542F\u7528\uFF0C\u5982\u4E0B\u793A\u4F8B\u3002",paraId:5},{value:`import dynamic from 'next/dynamic' const FormRender = dynamic(() => import('@schema-render/form-render-react'), { ssr: false, @@ -7142,7 +7142,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Vn={title:"\u5F02\u6B65\u6570\u636E async",toc:"content",filename:"examples/core-react/950-async.md",lastUpdated:1704082387e3,group:{title:"\u4EC5\u5F00\u53D1\u8C03\u8BD5",order:950},debug:!0},An=[{id:"\u5F02\u6B65\u6570\u636E-async",depth:1,title:"\u5F02\u6B65\u6570\u636E async"}],Gn=[],lr={"examples-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B;return a()().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=q.sent,ne=J.default,q.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return oe=q.sent,X=oe.useState,k=oe.useRef,q.next=11,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 11:return _=q.sent,te=_.Button,Y=_.message,q.next=16,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 16:return Ie=q.sent,D=Ie.default,q.next=20,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 20:return ee=q.sent,V=ee.default,q.next=24,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 24:return ce=q.sent,L=ce.default,W={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",renderOptions:{maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D\uFF0C\u6700\u591A20\u4E2A\u5B57\u7B26"},required:!0},password:{title:"\u5BC6\u7801",description:"\u8BF7\u8F93\u51656~10\u4E2A\u5B57\u7B26\uFF0C\u53EA\u80FD\u8F93\u5165\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57",renderType:"Password",renderOptions:{minLength:6,maxLength:20},required:!0,rules:[{min:6,message:"\u8BF7\u8F93\u5165\u81F3\u5C11 6 \u4E2A\u5B57\u7B26"},{max:20,message:"\u6700\u591A\u53EA\u80FD 20 \u4E2A\u5B57\u7B26"},{pattern:"^[A-Za-z0-9]+$",message:"\u53EA\u80FD\u8F93\u5165\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57"}]},auto_login:{title:"\u81EA\u52A8\u767B\u5F55",titleDescription:"\u5F00\u542F\u540E\u4E24\u5468\u5185\u81EA\u52A8\u518D\u6B21\u767B\u5F55",renderType:"Switch"}}},B=function(){var Ae=X({}),Se=o()(Ae,2),ke=Se[0],et=Se[1],dt=k(),gt=function(){var Ut=c()(a()().mark(function Mt(){var Wt;return a()().wrap(function(un){for(;;)switch(un.prev=un.next){case 0:return un.next=2,dt.current.validate();case 2:Wt=un.sent,Wt.hasError||Y.success("\u63D0\u4EA4\u6210\u529F");case 4:case"end":return un.stop()}},Mt)}));return function(){return Ut.apply(this,arguments)}}();return r.createElement("div",{className:"example-layout-cols-2"},r.createElement("div",null,r.createElement(D,{ref:dt,schema:W,value:ke,onChange:et,itemLayout:V,renderers:L}),r.createElement(te,{type:"primary",style:{margin:"20px 0 0 115px"},onClick:gt},"\u63D0\u4EA4")),r.createElement(ne,{value:ke}))},q.abrupt("return",{default:B});case 29:case"end":return q.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Vn={title:"\u5F02\u6B65\u6570\u636E async",toc:"content",filename:"examples/core-react/950-async.md",lastUpdated:1704082387e3,group:{title:"\u4EC5\u5F00\u53D1\u8C03\u8BD5",order:950},debug:!0},An=[{id:"\u5F02\u6B65\u6570\u636E-async",depth:1,title:"\u5F02\u6B65\u6570\u636E async"}],Gn=[],lr={"examples-demo-0":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee,V,ce,L,W,B;return a()().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=q.sent,ne=J.default,q.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return oe=q.sent,X=oe.useState,k=oe.useRef,q.next=11,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 11:return _=q.sent,te=_.Button,Y=_.message,q.next=16,Promise.all([e.e(5892),e.e(1286)]).then(e.bind(e,91135));case 16:return Ie=q.sent,D=Ie.default,q.next=20,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(7771)]).then(e.bind(e,27771));case 20:return ee=q.sent,V=ee.default,q.next=24,Promise.all([e.e(1548),e.e(7647),e.e(700),e.e(7455)]).then(e.bind(e,75695));case 24:return ce=q.sent,L=ce.default,W={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",renderOptions:{maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D\uFF0C\u6700\u591A20\u4E2A\u5B57\u7B26"},required:!0},password:{title:"\u5BC6\u7801",description:"\u8BF7\u8F93\u51656~10\u4E2A\u5B57\u7B26\uFF0C\u53EA\u80FD\u8F93\u5165\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57",renderType:"Password",renderOptions:{minLength:6,maxLength:20},required:!0,rules:[{min:6,message:"\u8BF7\u8F93\u5165\u81F3\u5C11 6 \u4E2A\u5B57\u7B26"},{max:20,message:"\u6700\u591A\u53EA\u80FD 20 \u4E2A\u5B57\u7B26"},{pattern:"^[A-Za-z0-9]+$",message:"\u53EA\u80FD\u8F93\u5165\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57"}]},auto_login:{title:"\u81EA\u52A8\u767B\u5F55",titleDescription:"\u5F00\u542F\u540E\u4E24\u5468\u5185\u81EA\u52A8\u518D\u6B21\u767B\u5F55",renderType:"Switch"}}},B=function(){var Ae=X({}),Se=o()(Ae,2),ke=Se[0],et=Se[1],dt=k(),gt=function(){var Ut=c()(a()().mark(function Mt(){var Wt;return a()().wrap(function(un){for(;;)switch(un.prev=un.next){case 0:return un.next=2,dt.current.validate();case 2:Wt=un.sent,Wt.hasError||Y.success("\u63D0\u4EA4\u6210\u529F");case 4:case"end":return un.stop()}},Mt)}));return function(){return Ut.apply(this,arguments)}}();return r.createElement("div",{className:"example-layout-cols-2"},r.createElement("div",null,r.createElement(D,{ref:dt,schema:W,value:ke,onChange:et,itemLayout:V,renderers:L}),r.createElement(te,{type:"primary",style:{margin:"20px 0 0 115px"},onClick:gt},"\u63D0\u4EA4")),r.createElement(ne,{value:ke}))},q.abrupt("return",{default:B});case 29:case"end":return q.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import { useState, useRef } from 'react' import { Button, message } from 'antd' @@ -7221,7 +7221,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.0"},"core-react/renderers/common.tsx":{type:"FILE",value:e(88782).Z},"core-react/item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=V.sent,ne=J.default,V.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return oe=V.sent,X=oe.useState,V.next=10,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 10:return k=V.sent,_=k.message,V.next=14,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 14:return te=V.sent,Y=te.default,Ie={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",renderOptions:{maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D\uFF0C\u6700\u591A20\u4E2A\u5B57\u7B26"},required:!0},password:{title:"\u5BC6\u7801",description:"\u8BF7\u8F93\u51656~10\u4E2A\u5B57\u7B26\uFF0C\u53EA\u80FD\u8F93\u5165\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57",renderType:"Password",renderOptions:{minLength:6,maxLength:20},required:!0,rules:[{min:6,message:"\u8BF7\u8F93\u5165\u81F3\u5C11 6 \u4E2A\u5B57\u7B26"},{max:20,message:"\u6700\u591A\u53EA\u80FD 20 \u4E2A\u5B57\u7B26"},{pattern:"^[A-Za-z0-9]+$",message:"\u53EA\u80FD\u8F93\u5165\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57"}]},auto_login:{title:"\u81EA\u52A8\u767B\u5F55",titleDescription:"\u5F00\u542F\u540E\u4E24\u5468\u5185\u81EA\u52A8\u518D\u6B21\u767B\u5F55",renderType:"Switch"}}},D=function(){var L=X({}),W=o()(L,2),B=W[0],le=W[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(Y,{schema:Ie,value:B,onChange:le,onSubmit:function(){return _.success("\u63D0\u4EA4\u6210\u529F")}}),r.createElement(ne,{value:B}))},V.abrupt("return",{default:D});case 19:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' +export default Demo`},root:{type:"NPM"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/core-react":{type:"NPM",value:"1.5.1"},"core-react/renderers/common.tsx":{type:"FILE",value:e(88782).Z},"core-react/item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}},"examples-demo-1":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D;return a()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,Promise.all([e.e(2661),e.e(5318)]).then(e.bind(e,85318));case 2:return J=V.sent,ne=J.default,V.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return oe=V.sent,X=oe.useState,V.next=10,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(6421),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3465)]).then(e.bind(e,53465));case 10:return k=V.sent,_=k.message,V.next=14,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(9343)]).then(e.bind(e,43190));case 14:return te=V.sent,Y=te.default,Ie={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",renderOptions:{maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D\uFF0C\u6700\u591A20\u4E2A\u5B57\u7B26"},required:!0},password:{title:"\u5BC6\u7801",description:"\u8BF7\u8F93\u51656~10\u4E2A\u5B57\u7B26\uFF0C\u53EA\u80FD\u8F93\u5165\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57",renderType:"Password",renderOptions:{minLength:6,maxLength:20},required:!0,rules:[{min:6,message:"\u8BF7\u8F93\u5165\u81F3\u5C11 6 \u4E2A\u5B57\u7B26"},{max:20,message:"\u6700\u591A\u53EA\u80FD 20 \u4E2A\u5B57\u7B26"},{pattern:"^[A-Za-z0-9]+$",message:"\u53EA\u80FD\u8F93\u5165\u82F1\u6587\u5B57\u6BCD\u548C\u6570\u5B57"}]},auto_login:{title:"\u81EA\u52A8\u767B\u5F55",titleDescription:"\u5F00\u542F\u540E\u4E24\u5468\u5185\u81EA\u52A8\u518D\u6B21\u767B\u5F55",renderType:"Switch"}}},D=function(){var L=X({}),W=o()(L,2),B=W[0],le=W[1];return r.createElement("div",{className:"example-layout-cols-2"},r.createElement(Y,{schema:Ie,value:B,onChange:le,onSubmit:function(){return _.success("\u63D0\u4EA4\u6210\u529F")}}),r.createElement(ne,{value:B}))},V.abrupt("return",{default:D});case 19:case"end":return V.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-demo-1",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import SyntaxHighlighter from '@examples/components/SyntaxHighlighter' import { useState } from 'react' import { message } from 'antd' @@ -7279,7 +7279,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.0"}}}},"examples-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_;return a()().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return Y.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=Y.sent,ne=J.sleep,Y.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(2712)]).then(e.bind(e,41670));case 6:return oe=Y.sent,X=oe.default,k={renderType:"Root",properties:{supplier_name:{title:"\u4F9B\u5E94\u5546\u540D\u79F0",renderType:"InputText"},supplier_code:{title:"\u4F9B\u5E94\u5546\u7F16\u7801",renderType:"InputText"},bill_no:{title:"\u5355\u636E\u7F16\u53F7",renderType:"InputText"},bill_type:{title:"\u5355\u636E\u7C7B\u578B",renderType:"Select",renderOptions:{options:[{label:"\u91C7\u8D2D\u5355",value:1},{label:"\u5165\u5E93\u5355",value:2},{label:"\u9000\u8D27\u5355",value:3}]}},bill_date:{title:"\u5355\u636E\u65E5\u671F",renderType:"DateRangePicker"},bill_status:{title:"\u5355\u636E\u72B6\u6001",renderType:"Select",renderOptions:{options:[{label:"\u5DF2\u63D0\u4EA4",value:1},{label:"\u5F85\u63D0\u4EA4",value:2},{label:"\u5F85\u5BA1\u6279",value:3}]}},operator:{title:"\u5236\u5355\u4EBA",renderType:"InputText"},goods_name:{title:"\u5546\u54C1\u540D\u79F0",renderType:"InputText"},goods_code:{title:"\u5546\u54C1\u7F16\u7801",renderType:"InputText"},goods_category:{title:"\u5546\u54C1\u5206\u7C7B",renderType:"Select",renderOptions:{options:[{label:"\u6C34\u679C\u9C9C\u82B1",value:1},{label:"\u6D77\u9C9C\u6C34\u4EA7",value:2},{label:"\u7CAE\u6CB9\u8C03\u5473",value:3}]}}}},_=function(){var D=function(){var ee=c()(a()().mark(function V(ce){return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return console.log("searchParams:",ce),W.next=3,ne();case 3:case"end":return W.stop()}},V)}));return function(ce){return ee.apply(this,arguments)}}();return r.createElement(X,{schema:k,onSubmit:D,onReset:D})},Y.abrupt("return",{default:_});case 11:case"end":return Y.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' +export default Demo`},root:{type:"NPM"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.9.0"},"@schema-render/form-render-react":{type:"NPM",value:"1.5.1"}}}},"examples-demo-2":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_;return a()().wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return Y.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=Y.sent,ne=J.sleep,Y.next=6,Promise.all([e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(5892),e.e(3190),e.e(2712)]).then(e.bind(e,41670));case 6:return oe=Y.sent,X=oe.default,k={renderType:"Root",properties:{supplier_name:{title:"\u4F9B\u5E94\u5546\u540D\u79F0",renderType:"InputText"},supplier_code:{title:"\u4F9B\u5E94\u5546\u7F16\u7801",renderType:"InputText"},bill_no:{title:"\u5355\u636E\u7F16\u53F7",renderType:"InputText"},bill_type:{title:"\u5355\u636E\u7C7B\u578B",renderType:"Select",renderOptions:{options:[{label:"\u91C7\u8D2D\u5355",value:1},{label:"\u5165\u5E93\u5355",value:2},{label:"\u9000\u8D27\u5355",value:3}]}},bill_date:{title:"\u5355\u636E\u65E5\u671F",renderType:"DateRangePicker"},bill_status:{title:"\u5355\u636E\u72B6\u6001",renderType:"Select",renderOptions:{options:[{label:"\u5DF2\u63D0\u4EA4",value:1},{label:"\u5F85\u63D0\u4EA4",value:2},{label:"\u5F85\u5BA1\u6279",value:3}]}},operator:{title:"\u5236\u5355\u4EBA",renderType:"InputText"},goods_name:{title:"\u5546\u54C1\u540D\u79F0",renderType:"InputText"},goods_code:{title:"\u5546\u54C1\u7F16\u7801",renderType:"InputText"},goods_category:{title:"\u5546\u54C1\u5206\u7C7B",renderType:"Select",renderOptions:{options:[{label:"\u6C34\u679C\u9C9C\u82B1",value:1},{label:"\u6D77\u9C9C\u6C34\u4EA7",value:2},{label:"\u7CAE\u6CB9\u8C03\u5473",value:3}]}}}},_=function(){var D=function(){var ee=c()(a()().mark(function V(ce){return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return console.log("searchParams:",ce),W.next=3,ne();case 3:case"end":return W.stop()}},V)}));return function(ce){return ee.apply(this,arguments)}}();return r.createElement(X,{schema:k,onSubmit:D,onReset:D})},Y.abrupt("return",{default:_});case 11:case"end":return Y.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-demo-2",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' // \u5F15\u5165 Search import Search from '@schema-render/search-react' @@ -7365,7 +7365,7 @@ const Demo = () => { return } -export default Demo`},root:{type:"NPM"},"@schema-render/search-react":{type:"NPM",value:"1.5.0"}}}},"examples-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee;return a()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=ce.sent,ne=J.sleep,ce.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=ce.sent,X=oe.default,ce.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=ce.sent,_=k.default,ce.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=ce.sent,Y=te.default,ce.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=ce.sent,D=Ie.default,ee=function(){return r.createElement(D,{search:{schema:X},table:{columns:_,showRowNumber:!0},request:function(){var W=c()(a()().mark(function le(q){var xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return console.log("searchParams:",q),Se.next=3,ne();case 3:return xe=Y(),Se.abrupt("return",{data:xe,total:100});case 5:case"end":return Se.stop()}},le)}));function B(le){return W.apply(this,arguments)}return B}()})},ce.abrupt("return",{default:ee});case 22:case"end":return ce.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' +export default Demo`},root:{type:"NPM"},"@schema-render/search-react":{type:"NPM",value:"1.5.1"}}}},"examples-demo-3":{component:r.memo(r.lazy(c()(a()().mark(function $e(){var J,ne,oe,X,k,_,te,Y,Ie,D,ee;return a()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,e.e(7693).then(e.bind(e,7693));case 2:return J=ce.sent,ne=J.sleep,ce.next=6,e.e(5554).then(e.bind(e,45554));case 6:return oe=ce.sent,X=oe.default,ce.next=10,e.e(2498).then(e.bind(e,22498));case 10:return k=ce.sent,_=k.default,ce.next=14,e.e(184).then(e.bind(e,60184));case 14:return te=ce.sent,Y=te.default,ce.next=18,Promise.all([e.e(9870),e.e(1548),e.e(7647),e.e(8104),e.e(6421),e.e(9752),e.e(700),e.e(8187),e.e(3591),e.e(331),e.e(3381),e.e(5892),e.e(3190),e.e(1980)]).then(e.bind(e,61980));case 18:return Ie=ce.sent,D=Ie.default,ee=function(){return r.createElement(D,{search:{schema:X},table:{columns:_,showRowNumber:!0},request:function(){var W=c()(a()().mark(function le(q){var xe;return a()().wrap(function(Se){for(;;)switch(Se.prev=Se.next){case 0:return console.log("searchParams:",q),Se.next=3,ne();case 3:return xe=Y(),Se.abrupt("return",{data:xe,total:100});case 5:case"end":return Se.stop()}},le)}));function B(le){return W.apply(this,arguments)}return B}()})},ce.abrupt("return",{default:ee});case 22:case"end":return ce.stop()}},$e)})))),asset:{type:"BLOCK",id:"examples-demo-3",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { sleep } from '@examples/utils' import schema from './search-table-react/helpers/schema' import columns from './search-table-react/helpers/columns' import createDataSource from './search-table-react/helpers/createDataSource' @@ -7401,7 +7401,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.0"},"search-table-react/helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"search-table-react/helpers/schema.ts":{type:"FILE",value:e(53750).Z},"search-table-react/helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}}},ir={title:"SchemaRender",toc:"menu",filename:"examples/index.md",lastUpdated:1720589953e3,description:"\u4E00\u5957\u66F4\u597D\u7528\u7684\u8868\u5355\u6E32\u67D3\u89E3\u51B3\u65B9\u6848\uFF0C\u534F\u8BAE\u9A71\u52A8\u3001\u7B80\u6D01\u6613\u7528\u3001\u9AD8\u53EF\u5B9A\u5236\u3001\u8F7B\u91CF\u7EA7",keywords:["SchemaRender","Form Render"],hero:{title:"SchemaRender",description:"\u4E00\u5957\u66F4\u597D\u7528\u7684\u8868\u5355\u6E32\u67D3\u89E3\u51B3\u65B9\u6848\uFF0C\u63D0\u5347\u7814\u53D1\u6548\u7387",actions:[{text:"\u7ACB\u5373\u4E0A\u624B",link:"/core-react/001-intro"},{text:"GitHub",link:"https://github.com/Barrior/schema-render"}]},features:[{title:"Core",emoji:"\u{1F48E}",description:"\u6E32\u67D3\u5185\u6838\uFF1A\u534F\u8BAE\u9A71\u52A8\u3001\u7B80\u6D01\u6613\u7528\u3001\u9AD8\u53EF\u5B9A\u5236\u3001\u8F7B\u91CF\u7EA7\uFF0817.6k, gzip 6.5k\uFF09",link:"/core-react/001-intro"},{title:"FormRender",emoji:"\u{1F680}",description:"\u57FA\u4E8E Core + Antd \u5C01\u88C5\u7684\u5F00\u7BB1\u5373\u7528\u7684\u8868\u5355\u6E32\u67D3\u5E93",link:"/form-render-react/001-intro"},{title:"Search",emoji:"\u26F5\uFE0F",description:"\u57FA\u4E8E FormRender \u5C01\u88C5\u7684\u6761\u4EF6\u641C\u7D22\u7EC4\u4EF6",link:"/search-react/001-intro"},{title:"SearchTable",emoji:"\u{1F6F3}",description:"\u57FA\u4E8E Search + Antd Table \u5C01\u88C5\u7684\u6761\u4EF6\u641C\u7D20\u8868\u683C\u7EC4\u4EF6",link:"/search-table-react/001-intro"}]},br=[{id:"core-\u6837\u4F8B",depth:3,title:"Core \u6837\u4F8B"},{id:"fromrender-\u6837\u4F8B",depth:3,title:"FromRender \u6837\u4F8B"},{id:"search-\u6837\u4F8B",depth:3,title:"Search \u6837\u4F8B"},{id:"searchtable-\u6837\u4F8B",depth:3,title:"SearchTable \u6837\u4F8B"}],Lr=[{value:"\u5185\u6838\u7075\u6D3B\u3001\u9AD8\u53EF\u5B9A\u5236\uFF0C\u4F46\u9700\u8981\u7EC4\u88C5\u5FC5\u8981\u90E8\u4EF6 ",paraId:0,tocIndex:0},{value:"itemLayout",paraId:0,tocIndex:0},{value:"\uFF08\u8868\u5355\u9879\u5E03\u5C40\u7ED3\u6784\uFF09\u3001",paraId:0,tocIndex:0},{value:"renderers",paraId:0,tocIndex:0},{value:`\uFF08\u6E32\u67D3\u5668\u96C6\u5408\uFF09\uFF0C +export default Demo`},root:{type:"NPM"},"@schema-render/search-table-react":{type:"NPM",value:"1.5.1"},"search-table-react/helpers/createDataSource.ts":{type:"FILE",value:e(46225).Z},"search-table-react/helpers/schema.ts":{type:"FILE",value:e(53750).Z},"search-table-react/helpers/columns.ts":{type:"FILE",value:e(90966).Z}}}}},ir={title:"SchemaRender",toc:"menu",filename:"examples/index.md",lastUpdated:1720589953e3,description:"\u4E00\u5957\u66F4\u597D\u7528\u7684\u8868\u5355\u6E32\u67D3\u89E3\u51B3\u65B9\u6848\uFF0C\u534F\u8BAE\u9A71\u52A8\u3001\u7B80\u6D01\u6613\u7528\u3001\u9AD8\u53EF\u5B9A\u5236\u3001\u8F7B\u91CF\u7EA7",keywords:["SchemaRender","Form Render"],hero:{title:"SchemaRender",description:"\u4E00\u5957\u66F4\u597D\u7528\u7684\u8868\u5355\u6E32\u67D3\u89E3\u51B3\u65B9\u6848\uFF0C\u63D0\u5347\u7814\u53D1\u6548\u7387",actions:[{text:"\u7ACB\u5373\u4E0A\u624B",link:"/core-react/001-intro"},{text:"GitHub",link:"https://github.com/Barrior/schema-render"}]},features:[{title:"Core",emoji:"\u{1F48E}",description:"\u6E32\u67D3\u5185\u6838\uFF1A\u534F\u8BAE\u9A71\u52A8\u3001\u7B80\u6D01\u6613\u7528\u3001\u9AD8\u53EF\u5B9A\u5236\u3001\u8F7B\u91CF\u7EA7\uFF0817.6k, gzip 6.5k\uFF09",link:"/core-react/001-intro"},{title:"FormRender",emoji:"\u{1F680}",description:"\u57FA\u4E8E Core + Antd \u5C01\u88C5\u7684\u5F00\u7BB1\u5373\u7528\u7684\u8868\u5355\u6E32\u67D3\u5E93",link:"/form-render-react/001-intro"},{title:"Search",emoji:"\u26F5\uFE0F",description:"\u57FA\u4E8E FormRender \u5C01\u88C5\u7684\u6761\u4EF6\u641C\u7D22\u7EC4\u4EF6",link:"/search-react/001-intro"},{title:"SearchTable",emoji:"\u{1F6F3}",description:"\u57FA\u4E8E Search + Antd Table \u5C01\u88C5\u7684\u6761\u4EF6\u641C\u7D20\u8868\u683C\u7EC4\u4EF6",link:"/search-table-react/001-intro"}]},br=[{id:"core-\u6837\u4F8B",depth:3,title:"Core \u6837\u4F8B"},{id:"fromrender-\u6837\u4F8B",depth:3,title:"FromRender \u6837\u4F8B"},{id:"search-\u6837\u4F8B",depth:3,title:"Search \u6837\u4F8B"},{id:"searchtable-\u6837\u4F8B",depth:3,title:"SearchTable \u6837\u4F8B"}],Lr=[{value:"\u5185\u6838\u7075\u6D3B\u3001\u9AD8\u53EF\u5B9A\u5236\uFF0C\u4F46\u9700\u8981\u7EC4\u88C5\u5FC5\u8981\u90E8\u4EF6 ",paraId:0,tocIndex:0},{value:"itemLayout",paraId:0,tocIndex:0},{value:"\uFF08\u8868\u5355\u9879\u5E03\u5C40\u7ED3\u6784\uFF09\u3001",paraId:0,tocIndex:0},{value:"renderers",paraId:0,tocIndex:0},{value:`\uFF08\u6E32\u67D3\u5668\u96C6\u5408\uFF09\uFF0C \u7136\u540E\u901A\u8FC7\u4E00\u5957 Schema \u63CF\u8FF0\u9700\u8981\u6E32\u67D3\u7684\u8868\u5355\u3002`,paraId:0,tocIndex:0},{value:"FormRender",paraId:1,tocIndex:1},{value:" \u662F\u57FA\u4E8E Core + Antd \u5C01\u88C5\u7684\u8868\u5355\u6E32\u67D3\u5E93\uFF0C\u5185\u7F6E\u4E86 ",paraId:1,tocIndex:1},{value:"itemLayout",paraId:1,tocIndex:1},{value:"\uFF08\u8868\u5355\u9879\u5E03\u5C40\u7ED3\u6784\uFF09\u3001",paraId:1,tocIndex:1},{value:"renderers",paraId:1,tocIndex:1},{value:"\uFF08\u5E38\u7528\u8868\u5355\u7C7B\u6E32\u67D3\u5668\u96C6\u5408\uFF09\u4EE5\u53CA\u63D0\u4EA4\u91CD\u7F6E\u64CD\u4F5C\uFF0C\u4EE5\u8FBE\u5230",paraId:1,tocIndex:1},{value:"\u5F00\u7BB1\u5373\u7528",paraId:1,tocIndex:1},{value:"\u3002",paraId:1,tocIndex:1},{value:"Search",paraId:2,tocIndex:2},{value:" \u662F\u57FA\u4E8E FormRender \u5C01\u88C5\u7684\u5F00\u7BB1\u5373\u7528\u7684\u6761\u4EF6\u641C\u7D22\u7EC4\u4EF6\uFF0C\u5E38\u4E0E\u8868\u683C\u914D\u5408\u7528\u4E8E\u540E\u53F0\u7BA1\u7406\u7CFB\u7EDF\u6570\u636E\u68C0\u7D22\u4E0E\u5C55\u793A\u64CD\u4F5C\u3002",paraId:2,tocIndex:2}],Rr=null,Xr={},Na={"examples/form-render-react/881-relation-select-multiple":{frontmatter:p,toc:v,texts:y,demos:h},"examples/form-render-react/500-builtin-renderers":{frontmatter:x,toc:S,texts:T,demos:I},"examples/form-render-react/880-relation-checkbox":{frontmatter:M,toc:z,texts:R,demos:$},"examples/form-render-react/900-renderers-warning":{frontmatter:K,toc:ge,texts:de,demos:F},"examples/core-react/952-multi-renderer-onChange":{frontmatter:De,toc:Ze,texts:We,demos:me},"examples/search-table-react/100-columns-setting":{frontmatter:ue,toc:se,texts:H,demos:be},"examples/search-table-react/900-table-editable":{frontmatter:Ee,toc:P,texts:j,demos:Q},"examples/form-render-react/901-label-vertical":{frontmatter:Le,toc:ve,texts:b,demos:he},"examples/search-table-react/010-table-actions":{frontmatter:w,toc:ye,texts:Te,demos:G},"examples/search-table-react/800-api-reference":{frontmatter:ot,toc:Ct,texts:mt,demos:Qe},"examples/form-render-react/800-api-reference":{frontmatter:Rt,toc:Pe,texts:re,demos:ct},"examples/search-table-react/020-table-height":{frontmatter:pe,toc:je,texts:Ce,demos:Oe},"examples/search-table-react/030-table-summay":{frontmatter:Fe,toc:Xe,texts:lt,demos:Ne},"examples/core-react/953-disabled-component":{frontmatter:Ot,toc:At,texts:Zt,demos:Ft},"examples/form-render-react/100-item-layout":{frontmatter:Je,toc:at,texts:g,demos:Ge},"examples/search-table-react/040-table-sort":{frontmatter:Be,toc:He,texts:we,demos:ae},"examples/search-table-react/060-value-type":{frontmatter:Ye,toc:ft,texts:St,demos:Pt},"examples/search-table-react/910-no-search":{frontmatter:Bt,toc:Ve,texts:tt,demos:Et},"examples/core-react/600-catch-error-tips":{frontmatter:_e,toc:It,texts:Tt,demos:st},"examples/core-react/931-schema-transform":{frontmatter:Ht,toc:an,texts:cn,demos:Kt},"examples/form-render-react/890-benchmark":{frontmatter:gr,toc:Qt,texts:Lt,demos:Kn},"examples/search-react/850-category-title":{frontmatter:Gt,toc:kt,texts:on,demos:Nt},"examples/search-table-react/801-open-api":{frontmatter:Jn,toc:kn,texts:_n,demos:Qn},"examples/core-react/221-renderer-object":{frontmatter:sr,toc:er,texts:$r,demos:rr},"examples/core-react/930-traverse-schema":{frontmatter:ia,toc:Er,texts:ea,demos:Pn},"examples/form-render-react/850-position":{frontmatter:Zr,toc:ta,texts:xr,demos:Nr},"examples/search-react/800-api-reference":{frontmatter:ya,toc:dr,texts:In,demos:Kr},"examples/core-react/222-renderer-array":{frontmatter:pr,toc:Tr,texts:wr,demos:Xn},"examples/form-render-react/300-actions":{frontmatter:Fr,toc:Wr,texts:Oo,demos:ga},"examples/core-react/230-global-status":{frontmatter:zr,toc:Cr,texts:vr,demos:qr},"examples/core-react/300-default-value":{frontmatter:ur,toc:xn,texts:Aa,demos:Sr},"examples/core-react/800-api-reference":{frontmatter:$a,toc:Ao,texts:Za,demos:na},"examples/form-render-react/700-locale":{frontmatter:Mr,toc:po,texts:Ia,demos:Do},"examples/search-table-react/001-intro":{frontmatter:ua,toc:eo,texts:fr,demos:ra},"examples/core-react/200-change-event":{frontmatter:to,toc:No,texts:Fa,demos:aa},"examples/core-react/951-controllable":{frontmatter:Ka,toc:ca,texts:Ho,demos:vo},"examples/form-render-react/001-intro":{frontmatter:no,toc:ja,texts:Wa,demos:Yr},"examples/form-render-react/200-label":{frontmatter:yo,toc:Mo,texts:Lo,demos:ho},"examples/form-render-react/851-steps":{frontmatter:Ar,toc:da,texts:Ga,demos:go},"examples/search-table-react/050-tabs":{frontmatter:_r,toc:xo,texts:wa,demos:Io},"examples/core-react/002-quick-start":{frontmatter:Ya,toc:ro,texts:Ca,demos:jr},"examples/core-react/101-item-layout":{frontmatter:$o,toc:So,texts:ao,demos:Da},"examples/core-react/102-prefix-cls":{frontmatter:wo,toc:Fo,texts:Yo,demos:Eo},"examples/core-react/910-playground":{frontmatter:oa,toc:Xo,texts:Qa,demos:Qo},"examples/core-react/223-validator":{frontmatter:za,toc:N,texts:Z,demos:Ba},"examples/core-react/890-benchmark":{frontmatter:ze,toc:pt,texts:jt,demos:U},"examples/search-react/300-actions":{frontmatter:zt,toc:it,texts:ht,demos:Dt},"examples/core-react/210-relation":{frontmatter:fn,toc:en,texts:mn,demos:Yt},"examples/core-react/220-renderer":{frontmatter:Re,toc:Ue,texts:rt,demos:fe},"examples/core-react/280-open-api":{frontmatter:ut,toc:yt,texts:$t,demos:Me},"examples/core-react/900-dev-tool":{frontmatter:tn,toc:hn,texts:sn,demos:Jt},"examples/search-react/700-locale":{frontmatter:jn,toc:Sn,texts:On,demos:pn},"examples/search-react/001-intro":{frontmatter:Ln,toc:yn,texts:Tn,demos:Zn},"examples/core-react/003-schema":{frontmatter:Bn,toc:$n,texts:qn,demos:Mn},"examples/core-react/100-layout":{frontmatter:Hn,toc:bn,texts:Fn,demos:zn},"examples/core-react/250-scroll":{frontmatter:Wn,toc:tr,texts:mr,demos:ar},"examples/core-react/700-locale":{frontmatter:Ir,toc:cr,texts:Qr,demos:Vr},"examples/core-react/001-intro":{frontmatter:la,toc:wt,texts:Vt,demos:Pa},"examples/core-react/950-async":{frontmatter:Vn,toc:An,texts:Gn,demos:gn},"examples/index":{frontmatter:ir,toc:br,texts:Lr,demos:lr}},ba=Object.entries(Na).reduce(function($e,J){var ne=o()(J,2),oe=ne[0],X=ne[1];return Object.values(X.demos).forEach(function(k){k.routeId=oe}),Object.assign($e,X.demos),delete X.demos,$e},{})},31715:function(d,f,e){"use strict";e.d(f,{Ac:function(){return ye},ql:function(){return K.ql},rU:function(){return F},OL:function(){return S},Q$:function(){return Te},p6:function(){return At},m8:function(){return Qe.m},fp:function(){return o.fp},Ov:function(){return z.Ov},TH:function(){return o.TH},pC:function(){return o.pC},UO:function(){return o.UO},Qt:function(){return ge.Q},lr:function(){return O}});var s=e(50959),o=e(44492),l=e(18280);function a(){return a=Object.assign||function(Ge){for(var Je=1;Je=0)&&(at[ae]=Ge[ae]);return at}const c=["onClick","reloadDocument","replace","state","target","to"],r=["aria-current","caseSensitive","className","end","style","to","children"];function h(Ge,Je){if(!Ge){typeof console!="undefined"&&console.warn(Je);try{throw new Error(Je)}catch(at){}}}function p(Ge){let{basename:Je,children:at,window:g}=Ge,ae=useRef();ae.current==null&&(ae.current=createBrowserHistory({window:g}));let Be=ae.current,[He,we]=useState({action:Be.action,location:Be.location});return useLayoutEffect(()=>Be.listen(we),[Be]),createElement(Router,{basename:Je,children:at,location:He.location,navigationType:He.action,navigator:Be})}function v(Ge){let{basename:Je,children:at,window:g}=Ge,ae=useRef();ae.current==null&&(ae.current=createHashHistory({window:g}));let Be=ae.current,[He,we]=useState({action:Be.action,location:Be.location});return useLayoutEffect(()=>Be.listen(we),[Be]),createElement(Router,{basename:Je,children:at,location:He.location,navigationType:He.action,navigator:Be})}function y(Ge){let{basename:Je,children:at,history:g}=Ge;const[ae,Be]=useState({action:g.action,location:g.location});return useLayoutEffect(()=>g.listen(Be),[g]),createElement(Router,{basename:Je,children:at,location:ae.location,navigationType:ae.action,navigator:g})}function I(Ge){return!!(Ge.metaKey||Ge.altKey||Ge.ctrlKey||Ge.shiftKey)}const x=(0,s.forwardRef)(function(Je,at){let{onClick:g,reloadDocument:ae,replace:Be=!1,state:He,target:we,to:Pt}=Je,Ye=u(Je,c),ft=(0,o.oQ)(Pt),St=T(Pt,{replace:Be,state:He,target:we});function Et(Bt){g&&g(Bt),!Bt.defaultPrevented&&!ae&&St(Bt)}return(0,s.createElement)("a",a({},Ye,{href:ft,onClick:Et,ref:at,target:we}))}),S=(0,s.forwardRef)(function(Je,at){let{"aria-current":g="page",caseSensitive:ae=!1,className:Be="",end:He=!1,style:we,to:Pt,children:Ye}=Je,ft=u(Je,r),St=(0,o.TH)(),Et=(0,o.WU)(Pt),Bt=St.pathname,Ve=Et.pathname;ae||(Bt=Bt.toLowerCase(),Ve=Ve.toLowerCase());let tt=Bt===Ve||!He&&Bt.startsWith(Ve)&&Bt.charAt(Ve.length)==="/",st=tt?g:void 0,_e;typeof Be=="function"?_e=Be({isActive:tt}):_e=[Be,tt?"active":null].filter(Boolean).join(" ");let It=typeof we=="function"?we({isActive:tt}):we;return(0,s.createElement)(x,a({},ft,{"aria-current":st,className:_e,ref:at,style:It,to:Pt}),typeof Ye=="function"?Ye({isActive:tt}):Ye)});function T(Ge,Je){let{target:at,replace:g,state:ae}=Je===void 0?{}:Je,Be=(0,o.s0)(),He=(0,o.TH)(),we=(0,o.WU)(Ge);return(0,s.useCallback)(Pt=>{if(Pt.button===0&&(!at||at==="_self")&&!I(Pt)){Pt.preventDefault();let Ye=!!g||(0,l.Ep)(He)===(0,l.Ep)(we);Be(Ge,{replace:Ye,state:ae})}},[He,Be,we,g,ae,at,Ge])}function O(Ge){let Je=(0,s.useRef)(C(Ge)),at=(0,o.TH)(),g=(0,s.useMemo)(()=>{let He=C(at.search);for(let we of Je.current.keys())He.has(we)||Je.current.getAll(we).forEach(Pt=>{He.append(we,Pt)});return He},[at.search]),ae=(0,o.s0)(),Be=(0,s.useCallback)((He,we)=>{ae("?"+C(He),we)},[ae]);return[g,Be]}function C(Ge){return Ge===void 0&&(Ge=""),new URLSearchParams(typeof Ge=="string"||Array.isArray(Ge)||Ge instanceof URLSearchParams?Ge:Object.keys(Ge).reduce((Je,at)=>{let g=Ge[at];return Je.concat(Array.isArray(g)?g.map(ae=>[at,ae]):[[at,g]])},[]))}var $=e(51163),M=e(58733),z=e(86659),R=["prefetch"];function F(Ge){var Je,at=Ge.prefetch,g=(0,M.Z)(Ge,R),ae=(0,z.Ov)(),Be=typeof Ge.to=="string"?Ge.to:(Je=Ge.to)===null||Je===void 0?void 0:Je.pathname;return Be?s.createElement(x,(0,$.Z)({onMouseEnter:function(){var we;return at&&Be&&((we=ae.preloadRoute)===null||we===void 0?void 0:we.call(ae,Be))}},g),Ge.children):null}var K=e(62363),ge=e(61693),de=e(26143);function me(){"use strict";me=function(){return Ge};var Ge={},Je=Object.prototype,at=Je.hasOwnProperty,g=Object.defineProperty||function(Qt,Lt,Nt){Qt[Lt]=Nt.value},ae=typeof Symbol=="function"?Symbol:{},Be=ae.iterator||"@@iterator",He=ae.asyncIterator||"@@asyncIterator",we=ae.toStringTag||"@@toStringTag";function Pt(Qt,Lt,Nt){return Object.defineProperty(Qt,Lt,{value:Nt,enumerable:!0,configurable:!0,writable:!0}),Qt[Lt]}try{Pt({},"")}catch(Qt){Pt=function(Nt,Gt,kt){return Nt[Gt]=kt}}function Ye(Qt,Lt,Nt,Gt){var kt=Lt&&Lt.prototype instanceof Et?Lt:Et,on=Object.create(kt.prototype),Qn=new Nn(Gt||[]);return g(on,"_invoke",{value:Ht(Qt,Nt,Qn)}),on}function ft(Qt,Lt,Nt){try{return{type:"normal",arg:Qt.call(Lt,Nt)}}catch(Gt){return{type:"throw",arg:Gt}}}Ge.wrap=Ye;var St={};function Et(){}function Bt(){}function Ve(){}var tt={};Pt(tt,Be,function(){return this});var st=Object.getPrototypeOf,_e=st&&st(st(Kn([])));_e&&_e!==Je&&at.call(_e,Be)&&(tt=_e);var It=Ve.prototype=Et.prototype=Object.create(tt);function Tt(Qt){["next","throw","return"].forEach(function(Lt){Pt(Qt,Lt,function(Nt){return this._invoke(Lt,Nt)})})}function Kt(Qt,Lt){function Nt(kt,on,Qn,Jn){var kn=ft(Qt[kt],Qt,on);if(kn.type!=="throw"){var _n=kn.arg,rr=_n.value;return rr&&(0,de.Z)(rr)=="object"&&at.call(rr,"__await")?Lt.resolve(rr.__await).then(function(sr){Nt("next",sr,Qn,Jn)},function(sr){Nt("throw",sr,Qn,Jn)}):Lt.resolve(rr).then(function(sr){_n.value=sr,Qn(_n)},function(sr){return Nt("throw",sr,Qn,Jn)})}Jn(kn.arg)}var Gt;g(this,"_invoke",{value:function(on,Qn){function Jn(){return new Lt(function(kn,_n){Nt(on,Qn,kn,_n)})}return Gt=Gt?Gt.then(Jn,Jn):Jn()}})}function Ht(Qt,Lt,Nt){var Gt="suspendedStart";return function(kt,on){if(Gt==="executing")throw new Error("Generator is already running");if(Gt==="completed"){if(kt==="throw")throw on;return gr()}for(Nt.method=kt,Nt.arg=on;;){var Qn=Nt.delegate;if(Qn){var Jn=an(Qn,Nt);if(Jn){if(Jn===St)continue;return Jn}}if(Nt.method==="next")Nt.sent=Nt._sent=Nt.arg;else if(Nt.method==="throw"){if(Gt==="suspendedStart")throw Gt="completed",Nt.arg;Nt.dispatchException(Nt.arg)}else Nt.method==="return"&&Nt.abrupt("return",Nt.arg);Gt="executing";var kn=ft(Qt,Lt,Nt);if(kn.type==="normal"){if(Gt=Nt.done?"completed":"suspendedYield",kn.arg===St)continue;return{value:kn.arg,done:Nt.done}}kn.type==="throw"&&(Gt="completed",Nt.method="throw",Nt.arg=kn.arg)}}}function an(Qt,Lt){var Nt=Lt.method,Gt=Qt.iterator[Nt];if(Gt===void 0)return Lt.delegate=null,Nt==="throw"&&Qt.iterator.return&&(Lt.method="return",Lt.arg=void 0,an(Qt,Lt),Lt.method==="throw")||Nt!=="return"&&(Lt.method="throw",Lt.arg=new TypeError("The iterator does not provide a '"+Nt+"' method")),St;var kt=ft(Gt,Qt.iterator,Lt.arg);if(kt.type==="throw")return Lt.method="throw",Lt.arg=kt.arg,Lt.delegate=null,St;var on=kt.arg;return on?on.done?(Lt[Qt.resultName]=on.value,Lt.next=Qt.nextLoc,Lt.method!=="return"&&(Lt.method="next",Lt.arg=void 0),Lt.delegate=null,St):on:(Lt.method="throw",Lt.arg=new TypeError("iterator result is not an object"),Lt.delegate=null,St)}function cn(Qt){var Lt={tryLoc:Qt[0]};1 in Qt&&(Lt.catchLoc=Qt[1]),2 in Qt&&(Lt.finallyLoc=Qt[2],Lt.afterLoc=Qt[3]),this.tryEntries.push(Lt)}function dn(Qt){var Lt=Qt.completion||{};Lt.type="normal",delete Lt.arg,Qt.completion=Lt}function Nn(Qt){this.tryEntries=[{tryLoc:"root"}],Qt.forEach(cn,this),this.reset(!0)}function Kn(Qt){if(Qt){var Lt=Qt[Be];if(Lt)return Lt.call(Qt);if(typeof Qt.next=="function")return Qt;if(!isNaN(Qt.length)){var Nt=-1,Gt=function kt(){for(;++Nt=0;--kt){var on=this.tryEntries[kt],Qn=on.completion;if(on.tryLoc==="root")return Gt("end");if(on.tryLoc<=this.prev){var Jn=at.call(on,"catchLoc"),kn=at.call(on,"finallyLoc");if(Jn&&kn){if(this.prev=0;--Gt){var kt=this.tryEntries[Gt];if(kt.tryLoc<=this.prev&&at.call(kt,"finallyLoc")&&this.prev=0;--Nt){var Gt=this.tryEntries[Nt];if(Gt.finallyLoc===Lt)return this.complete(Gt.completion,Gt.afterLoc),dn(Gt),St}},catch:function(Lt){for(var Nt=this.tryEntries.length-1;Nt>=0;--Nt){var Gt=this.tryEntries[Nt];if(Gt.tryLoc===Lt){var kt=Gt.completion;if(kt.type==="throw"){var on=kt.arg;dn(Gt)}return on}}throw new Error("illegal catch attempt")},delegateYield:function(Lt,Nt,Gt){return this.delegate={iterator:Kn(Lt),resultName:Nt,nextLoc:Gt},this.method==="next"&&(this.arg=void 0),St}},Ge}var De=e(75782);function Ze(Ge,Je,at,g,ae,Be,He){try{var we=Ge[Be](He),Pt=we.value}catch(Ye){at(Ye);return}we.done?Je(Pt):Promise.resolve(Pt).then(g,ae)}function We(Ge){return function(){var Je=this,at=arguments;return new Promise(function(g,ae){var Be=Ge.apply(Je,at);function He(Pt){Ze(Be,g,ae,He,we,"next",Pt)}function we(Pt){Ze(Be,g,ae,He,we,"throw",Pt)}He(void 0)})}}var be=e(64002);function ue(Ge,Je){var at=typeof Symbol!="undefined"&&Ge[Symbol.iterator]||Ge["@@iterator"];if(!at){if(Array.isArray(Ge)||(at=(0,be.Z)(Ge))||Je&&Ge&&typeof Ge.length=="number"){at&&(Ge=at);var g=0,ae=function(){};return{s:ae,n:function(){return g>=Ge.length?{done:!0}:{done:!1,value:Ge[g++]}},e:function(Ye){throw Ye},f:ae}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Be=!0,He=!1,we;return{s:function(){at=at.call(Ge)},n:function(){var Ye=at.next();return Be=Ye.done,Ye},e:function(Ye){He=!0,we=Ye},f:function(){try{!Be&&at.return!=null&&at.return()}finally{if(He)throw we}}}}var se=e(20533);function H(Ge){if(typeof Symbol!="undefined"&&Ge[Symbol.iterator]!=null||Ge["@@iterator"]!=null)return Array.from(Ge)}var Q=e(71885);function Ee(Ge){return(0,se.Z)(Ge)||H(Ge)||(0,be.Z)(Ge)||(0,Q.Z)()}function P(Ge,Je){if(!(Ge instanceof Je))throw new TypeError("Cannot call a class as a function")}var j=e(1536);function he(Ge,Je){for(var at=0;at-1,"register failed, invalid key ".concat(ae," ").concat(at.path?"from plugin ".concat(at.path):"",".")),g.hooks[ae]=(g.hooks[ae]||[]).concat(at.apply[ae])})}},{key:"getHooks",value:function(at){var g=at.split("."),ae=Ee(g),Be=ae[0],He=ae.slice(1),we=this.hooks[Be]||[];return He.length&&(we=we.map(function(Pt){try{var Ye=Pt,ft=ue(He),St;try{for(ft.s();!(St=ft.n()).done;){var Et=St.value;Ye=Ye[Et]}}catch(Bt){ft.e(Bt)}finally{ft.f()}return Ye}catch(Bt){return null}}).filter(Boolean)),we}},{key:"applyPlugins",value:function(at){var g=at.key,ae=at.type,Be=at.initialValue,He=at.args,we=at.async,Pt=this.getHooks(g)||[];switch(He&&b((0,de.Z)(He)==="object","applyPlugins failed, args must be plain object."),we&&b(ae===ye.modify||ae===ye.event,"async only works with modify and event type."),ae){case ye.modify:return we?Pt.reduce(function(){var Ye=We(me().mark(function ft(St,Et){var Bt;return me().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:if(b(typeof Et=="function"||(0,de.Z)(Et)==="object"||w(Et),"applyPlugins failed, all hooks for key ".concat(g," must be function, plain object or Promise.")),!w(St)){tt.next=5;break}return tt.next=4,St;case 4:St=tt.sent;case 5:if(typeof Et!="function"){tt.next=16;break}if(Bt=Et(St,He),!w(Bt)){tt.next=13;break}return tt.next=10,Bt;case 10:return tt.abrupt("return",tt.sent);case 13:return tt.abrupt("return",Bt);case 14:tt.next=21;break;case 16:if(!w(Et)){tt.next=20;break}return tt.next=19,Et;case 19:Et=tt.sent;case 20:return tt.abrupt("return",(0,De.Z)((0,De.Z)({},St),Et));case 21:case"end":return tt.stop()}},ft)}));return function(ft,St){return Ye.apply(this,arguments)}}(),w(Be)?Be:Promise.resolve(Be)):Pt.reduce(function(Ye,ft){return b(typeof ft=="function"||(0,de.Z)(ft)==="object","applyPlugins failed, all hooks for key ".concat(g," must be function or plain object.")),typeof ft=="function"?ft(Ye,He):(0,De.Z)((0,De.Z)({},Ye),ft)},Be);case ye.event:return We(me().mark(function Ye(){var ft,St,Et,Bt;return me().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:ft=ue(Pt),tt.prev=1,ft.s();case 3:if((St=ft.n()).done){tt.next=12;break}if(Et=St.value,b(typeof Et=="function","applyPlugins failed, all hooks for key ".concat(g," must be function.")),Bt=Et(He),!(we&&w(Bt))){tt.next=10;break}return tt.next=10,Bt;case 10:tt.next=3;break;case 12:tt.next=17;break;case 14:tt.prev=14,tt.t0=tt.catch(1),ft.e(tt.t0);case 17:return tt.prev=17,ft.f(),tt.finish(17);case 20:case"end":return tt.stop()}},Ye,null,[[1,14,17,20]])}))();case ye.compose:return function(){return G({fns:Pt.concat(Be),args:He})()}}}}],[{key:"create",value:function(at){var g=new Ge({validKeys:at.validKeys});return at.plugins.forEach(function(ae){g.register(ae)}),g}}]),Ge}(),Qe=e(3480),ot=e(37635),Ct=e.n(ot),mt=0,ct=0;function Rt(Ge,Je){if(!1)var at}function Pe(Ge){return JSON.stringify(Ge,null,2)}function re(Ge){var Je=Ge.length>1?Ge.map(Oe).join(" "):Ge[0];return Ct()(Je)==="object"?"".concat(Pe(Je)):Je.toString()}function Oe(Ge){return Ct()(Ge)==="object"?"".concat(JSON.stringify(Ge)):Ge.toString()}var pe={log:function(){for(var Je=arguments.length,at=new Array(Je),g=0;gd.length)&&(f=d.length);for(var e=0,s=new Array(f);e
- + \ No newline at end of file diff --git a/~demos/examples-core-react-002-quick-start-demo-0/index.html b/~demos/examples-core-react-002-quick-start-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-002-quick-start-demo-0/index.html +++ b/~demos/examples-core-react-002-quick-start-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-002-quick-start-demo-1/index.html b/~demos/examples-core-react-002-quick-start-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-002-quick-start-demo-1/index.html +++ b/~demos/examples-core-react-002-quick-start-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-003-schema-demo-0/index.html b/~demos/examples-core-react-003-schema-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-003-schema-demo-0/index.html +++ b/~demos/examples-core-react-003-schema-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-003-schema-demo-1/index.html b/~demos/examples-core-react-003-schema-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-003-schema-demo-1/index.html +++ b/~demos/examples-core-react-003-schema-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-003-schema-demo-2/index.html b/~demos/examples-core-react-003-schema-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-003-schema-demo-2/index.html +++ b/~demos/examples-core-react-003-schema-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-003-schema-demo-3/index.html b/~demos/examples-core-react-003-schema-demo-3/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-003-schema-demo-3/index.html +++ b/~demos/examples-core-react-003-schema-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-003-schema-demo-4/index.html b/~demos/examples-core-react-003-schema-demo-4/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-003-schema-demo-4/index.html +++ b/~demos/examples-core-react-003-schema-demo-4/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-003-schema-demo-5/index.html b/~demos/examples-core-react-003-schema-demo-5/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-003-schema-demo-5/index.html +++ b/~demos/examples-core-react-003-schema-demo-5/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-100-layout-demo-0/index.html b/~demos/examples-core-react-100-layout-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-100-layout-demo-0/index.html +++ b/~demos/examples-core-react-100-layout-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-100-layout-demo-1/index.html b/~demos/examples-core-react-100-layout-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-100-layout-demo-1/index.html +++ b/~demos/examples-core-react-100-layout-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-100-layout-demo-2/index.html b/~demos/examples-core-react-100-layout-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-100-layout-demo-2/index.html +++ b/~demos/examples-core-react-100-layout-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-100-layout-demo-3/index.html b/~demos/examples-core-react-100-layout-demo-3/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-100-layout-demo-3/index.html +++ b/~demos/examples-core-react-100-layout-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-100-layout-demo-4/index.html b/~demos/examples-core-react-100-layout-demo-4/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-100-layout-demo-4/index.html +++ b/~demos/examples-core-react-100-layout-demo-4/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-101-item-layout-demo-0/index.html b/~demos/examples-core-react-101-item-layout-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-101-item-layout-demo-0/index.html +++ b/~demos/examples-core-react-101-item-layout-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-101-item-layout-demo-1/index.html b/~demos/examples-core-react-101-item-layout-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-101-item-layout-demo-1/index.html +++ b/~demos/examples-core-react-101-item-layout-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-102-prefix-cls-demo-0/index.html b/~demos/examples-core-react-102-prefix-cls-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-102-prefix-cls-demo-0/index.html +++ b/~demos/examples-core-react-102-prefix-cls-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-200-change-event-demo-0/index.html b/~demos/examples-core-react-200-change-event-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-200-change-event-demo-0/index.html +++ b/~demos/examples-core-react-200-change-event-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-200-change-event-demo-1/index.html b/~demos/examples-core-react-200-change-event-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-200-change-event-demo-1/index.html +++ b/~demos/examples-core-react-200-change-event-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-200-change-event-demo-2/index.html b/~demos/examples-core-react-200-change-event-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-200-change-event-demo-2/index.html +++ b/~demos/examples-core-react-200-change-event-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-200-change-event-demo-3/index.html b/~demos/examples-core-react-200-change-event-demo-3/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-200-change-event-demo-3/index.html +++ b/~demos/examples-core-react-200-change-event-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-210-relation-demo-0/index.html b/~demos/examples-core-react-210-relation-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-210-relation-demo-0/index.html +++ b/~demos/examples-core-react-210-relation-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-210-relation-demo-1/index.html b/~demos/examples-core-react-210-relation-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-210-relation-demo-1/index.html +++ b/~demos/examples-core-react-210-relation-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-210-relation-demo-2/index.html b/~demos/examples-core-react-210-relation-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-210-relation-demo-2/index.html +++ b/~demos/examples-core-react-210-relation-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-220-renderer-demo-0/index.html b/~demos/examples-core-react-220-renderer-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-220-renderer-demo-0/index.html +++ b/~demos/examples-core-react-220-renderer-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-220-renderer-demo-1/index.html b/~demos/examples-core-react-220-renderer-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-220-renderer-demo-1/index.html +++ b/~demos/examples-core-react-220-renderer-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-220-renderer-demo-2/index.html b/~demos/examples-core-react-220-renderer-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-220-renderer-demo-2/index.html +++ b/~demos/examples-core-react-220-renderer-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-221-renderer-object-demo-0/index.html b/~demos/examples-core-react-221-renderer-object-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-221-renderer-object-demo-0/index.html +++ b/~demos/examples-core-react-221-renderer-object-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-221-renderer-object-demo-1/index.html b/~demos/examples-core-react-221-renderer-object-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-221-renderer-object-demo-1/index.html +++ b/~demos/examples-core-react-221-renderer-object-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-223-validator-demo-0/index.html b/~demos/examples-core-react-223-validator-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-223-validator-demo-0/index.html +++ b/~demos/examples-core-react-223-validator-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-223-validator-demo-1/index.html b/~demos/examples-core-react-223-validator-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-223-validator-demo-1/index.html +++ b/~demos/examples-core-react-223-validator-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-223-validator-demo-2/index.html b/~demos/examples-core-react-223-validator-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-223-validator-demo-2/index.html +++ b/~demos/examples-core-react-223-validator-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-223-validator-demo-3/index.html b/~demos/examples-core-react-223-validator-demo-3/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-223-validator-demo-3/index.html +++ b/~demos/examples-core-react-223-validator-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-230-global-status-demo-0/index.html b/~demos/examples-core-react-230-global-status-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-230-global-status-demo-0/index.html +++ b/~demos/examples-core-react-230-global-status-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-250-scroll-demo-0/index.html b/~demos/examples-core-react-250-scroll-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-250-scroll-demo-0/index.html +++ b/~demos/examples-core-react-250-scroll-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-250-scroll-demo-1/index.html b/~demos/examples-core-react-250-scroll-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-250-scroll-demo-1/index.html +++ b/~demos/examples-core-react-250-scroll-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-250-scroll-demo-2/index.html b/~demos/examples-core-react-250-scroll-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-250-scroll-demo-2/index.html +++ b/~demos/examples-core-react-250-scroll-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-280-open-api-demo-0/index.html b/~demos/examples-core-react-280-open-api-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-280-open-api-demo-0/index.html +++ b/~demos/examples-core-react-280-open-api-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-280-open-api-demo-1/index.html b/~demos/examples-core-react-280-open-api-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-280-open-api-demo-1/index.html +++ b/~demos/examples-core-react-280-open-api-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-280-open-api-demo-2/index.html b/~demos/examples-core-react-280-open-api-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-280-open-api-demo-2/index.html +++ b/~demos/examples-core-react-280-open-api-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-280-open-api-demo-3/index.html b/~demos/examples-core-react-280-open-api-demo-3/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-280-open-api-demo-3/index.html +++ b/~demos/examples-core-react-280-open-api-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-280-open-api-demo-4/index.html b/~demos/examples-core-react-280-open-api-demo-4/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-280-open-api-demo-4/index.html +++ b/~demos/examples-core-react-280-open-api-demo-4/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-300-default-value-demo-0/index.html b/~demos/examples-core-react-300-default-value-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-300-default-value-demo-0/index.html +++ b/~demos/examples-core-react-300-default-value-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-600-catch-error-tips-demo-0/index.html b/~demos/examples-core-react-600-catch-error-tips-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-600-catch-error-tips-demo-0/index.html +++ b/~demos/examples-core-react-600-catch-error-tips-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-600-catch-error-tips-demo-1/index.html b/~demos/examples-core-react-600-catch-error-tips-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-600-catch-error-tips-demo-1/index.html +++ b/~demos/examples-core-react-600-catch-error-tips-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-600-catch-error-tips-demo-2/index.html b/~demos/examples-core-react-600-catch-error-tips-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-600-catch-error-tips-demo-2/index.html +++ b/~demos/examples-core-react-600-catch-error-tips-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-700-locale-demo-0/index.html b/~demos/examples-core-react-700-locale-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-700-locale-demo-0/index.html +++ b/~demos/examples-core-react-700-locale-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-890-benchmark-demo-0/index.html b/~demos/examples-core-react-890-benchmark-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-890-benchmark-demo-0/index.html +++ b/~demos/examples-core-react-890-benchmark-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-890-benchmark-demo-1/index.html b/~demos/examples-core-react-890-benchmark-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-890-benchmark-demo-1/index.html +++ b/~demos/examples-core-react-890-benchmark-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-950-async-demo-0/index.html b/~demos/examples-core-react-950-async-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-950-async-demo-0/index.html +++ b/~demos/examples-core-react-950-async-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-951-controllable-demo-0/index.html b/~demos/examples-core-react-951-controllable-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-951-controllable-demo-0/index.html +++ b/~demos/examples-core-react-951-controllable-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-951-controllable-demo-1/index.html b/~demos/examples-core-react-951-controllable-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-951-controllable-demo-1/index.html +++ b/~demos/examples-core-react-951-controllable-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-951-controllable-demo-2/index.html b/~demos/examples-core-react-951-controllable-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-951-controllable-demo-2/index.html +++ b/~demos/examples-core-react-951-controllable-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-951-controllable-demo-3/index.html b/~demos/examples-core-react-951-controllable-demo-3/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-951-controllable-demo-3/index.html +++ b/~demos/examples-core-react-951-controllable-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-951-controllable-demo-4/index.html b/~demos/examples-core-react-951-controllable-demo-4/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-951-controllable-demo-4/index.html +++ b/~demos/examples-core-react-951-controllable-demo-4/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-952-multi-renderer-on-change-demo-0/index.html b/~demos/examples-core-react-952-multi-renderer-on-change-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-952-multi-renderer-on-change-demo-0/index.html +++ b/~demos/examples-core-react-952-multi-renderer-on-change-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-core-react-953-disabled-component-demo-0/index.html b/~demos/examples-core-react-953-disabled-component-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-core-react-953-disabled-component-demo-0/index.html +++ b/~demos/examples-core-react-953-disabled-component-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-demo-0/index.html b/~demos/examples-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-demo-0/index.html +++ b/~demos/examples-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-demo-1/index.html b/~demos/examples-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-demo-1/index.html +++ b/~demos/examples-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-demo-2/index.html b/~demos/examples-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-demo-2/index.html +++ b/~demos/examples-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-demo-3/index.html b/~demos/examples-demo-3/index.html index cb629dd..886a092 100644 --- a/~demos/examples-demo-3/index.html +++ b/~demos/examples-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-001-intro-demo-0/index.html b/~demos/examples-form-render-react-001-intro-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-001-intro-demo-0/index.html +++ b/~demos/examples-form-render-react-001-intro-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-100-item-layout-demo-0/index.html b/~demos/examples-form-render-react-100-item-layout-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-100-item-layout-demo-0/index.html +++ b/~demos/examples-form-render-react-100-item-layout-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-100-item-layout-demo-1/index.html b/~demos/examples-form-render-react-100-item-layout-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-100-item-layout-demo-1/index.html +++ b/~demos/examples-form-render-react-100-item-layout-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-200-label-demo-0/index.html b/~demos/examples-form-render-react-200-label-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-200-label-demo-0/index.html +++ b/~demos/examples-form-render-react-200-label-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-200-label-demo-1/index.html b/~demos/examples-form-render-react-200-label-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-200-label-demo-1/index.html +++ b/~demos/examples-form-render-react-200-label-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-200-label-demo-2/index.html b/~demos/examples-form-render-react-200-label-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-200-label-demo-2/index.html +++ b/~demos/examples-form-render-react-200-label-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-200-label-demo-3/index.html b/~demos/examples-form-render-react-200-label-demo-3/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-200-label-demo-3/index.html +++ b/~demos/examples-form-render-react-200-label-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-300-actions-demo-0/index.html b/~demos/examples-form-render-react-300-actions-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-300-actions-demo-0/index.html +++ b/~demos/examples-form-render-react-300-actions-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-300-actions-demo-1/index.html b/~demos/examples-form-render-react-300-actions-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-300-actions-demo-1/index.html +++ b/~demos/examples-form-render-react-300-actions-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-300-actions-demo-2/index.html b/~demos/examples-form-render-react-300-actions-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-300-actions-demo-2/index.html +++ b/~demos/examples-form-render-react-300-actions-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-300-actions-demo-3/index.html b/~demos/examples-form-render-react-300-actions-demo-3/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-300-actions-demo-3/index.html +++ b/~demos/examples-form-render-react-300-actions-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-300-actions-demo-4/index.html b/~demos/examples-form-render-react-300-actions-demo-4/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-300-actions-demo-4/index.html +++ b/~demos/examples-form-render-react-300-actions-demo-4/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-300-actions-demo-5/index.html b/~demos/examples-form-render-react-300-actions-demo-5/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-300-actions-demo-5/index.html +++ b/~demos/examples-form-render-react-300-actions-demo-5/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-300-actions-demo-6/index.html b/~demos/examples-form-render-react-300-actions-demo-6/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-300-actions-demo-6/index.html +++ b/~demos/examples-form-render-react-300-actions-demo-6/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-500-builtin-renderers-demo-0/index.html b/~demos/examples-form-render-react-500-builtin-renderers-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-500-builtin-renderers-demo-0/index.html +++ b/~demos/examples-form-render-react-500-builtin-renderers-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-700-locale-demo-0/index.html b/~demos/examples-form-render-react-700-locale-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-700-locale-demo-0/index.html +++ b/~demos/examples-form-render-react-700-locale-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-850-position-demo-0/index.html b/~demos/examples-form-render-react-850-position-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-850-position-demo-0/index.html +++ b/~demos/examples-form-render-react-850-position-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-851-steps-demo-0/index.html b/~demos/examples-form-render-react-851-steps-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-851-steps-demo-0/index.html +++ b/~demos/examples-form-render-react-851-steps-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-880-relation-checkbox-demo-0/index.html b/~demos/examples-form-render-react-880-relation-checkbox-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-880-relation-checkbox-demo-0/index.html +++ b/~demos/examples-form-render-react-880-relation-checkbox-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-880-relation-checkbox-demo-1/index.html b/~demos/examples-form-render-react-880-relation-checkbox-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-880-relation-checkbox-demo-1/index.html +++ b/~demos/examples-form-render-react-880-relation-checkbox-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-881-relation-select-multiple-demo-0/index.html b/~demos/examples-form-render-react-881-relation-select-multiple-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-881-relation-select-multiple-demo-0/index.html +++ b/~demos/examples-form-render-react-881-relation-select-multiple-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-890-benchmark-demo-0/index.html b/~demos/examples-form-render-react-890-benchmark-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-890-benchmark-demo-0/index.html +++ b/~demos/examples-form-render-react-890-benchmark-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-890-benchmark-demo-1/index.html b/~demos/examples-form-render-react-890-benchmark-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-890-benchmark-demo-1/index.html +++ b/~demos/examples-form-render-react-890-benchmark-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-900-renderers-warning-demo-0/index.html b/~demos/examples-form-render-react-900-renderers-warning-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-900-renderers-warning-demo-0/index.html +++ b/~demos/examples-form-render-react-900-renderers-warning-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-901-label-vertical-demo-0/index.html b/~demos/examples-form-render-react-901-label-vertical-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-901-label-vertical-demo-0/index.html +++ b/~demos/examples-form-render-react-901-label-vertical-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-form-render-react-901-label-vertical-demo-1/index.html b/~demos/examples-form-render-react-901-label-vertical-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-form-render-react-901-label-vertical-demo-1/index.html +++ b/~demos/examples-form-render-react-901-label-vertical-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-react-001-intro-demo-0/index.html b/~demos/examples-search-react-001-intro-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-react-001-intro-demo-0/index.html +++ b/~demos/examples-search-react-001-intro-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-react-300-actions-demo-0/index.html b/~demos/examples-search-react-300-actions-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-react-300-actions-demo-0/index.html +++ b/~demos/examples-search-react-300-actions-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-react-700-locale-demo-0/index.html b/~demos/examples-search-react-700-locale-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-react-700-locale-demo-0/index.html +++ b/~demos/examples-search-react-700-locale-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-react-850-category-title-demo-0/index.html b/~demos/examples-search-react-850-category-title-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-react-850-category-title-demo-0/index.html +++ b/~demos/examples-search-react-850-category-title-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-react-850-category-title-demo-1/index.html b/~demos/examples-search-react-850-category-title-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-react-850-category-title-demo-1/index.html +++ b/~demos/examples-search-react-850-category-title-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-001-intro-demo-0/index.html b/~demos/examples-search-table-react-001-intro-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-001-intro-demo-0/index.html +++ b/~demos/examples-search-table-react-001-intro-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-001-intro-demo-1/index.html b/~demos/examples-search-table-react-001-intro-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-001-intro-demo-1/index.html +++ b/~demos/examples-search-table-react-001-intro-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-010-table-actions-demo-0/index.html b/~demos/examples-search-table-react-010-table-actions-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-010-table-actions-demo-0/index.html +++ b/~demos/examples-search-table-react-010-table-actions-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-010-table-actions-demo-1/index.html b/~demos/examples-search-table-react-010-table-actions-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-010-table-actions-demo-1/index.html +++ b/~demos/examples-search-table-react-010-table-actions-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-010-table-actions-demo-2/index.html b/~demos/examples-search-table-react-010-table-actions-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-010-table-actions-demo-2/index.html +++ b/~demos/examples-search-table-react-010-table-actions-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-010-table-actions-demo-3/index.html b/~demos/examples-search-table-react-010-table-actions-demo-3/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-010-table-actions-demo-3/index.html +++ b/~demos/examples-search-table-react-010-table-actions-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-010-table-actions-demo-4/index.html b/~demos/examples-search-table-react-010-table-actions-demo-4/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-010-table-actions-demo-4/index.html +++ b/~demos/examples-search-table-react-010-table-actions-demo-4/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-020-table-height-demo-0/index.html b/~demos/examples-search-table-react-020-table-height-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-020-table-height-demo-0/index.html +++ b/~demos/examples-search-table-react-020-table-height-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-020-table-height-demo-1/index.html b/~demos/examples-search-table-react-020-table-height-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-020-table-height-demo-1/index.html +++ b/~demos/examples-search-table-react-020-table-height-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-030-table-summay-demo-0/index.html b/~demos/examples-search-table-react-030-table-summay-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-030-table-summay-demo-0/index.html +++ b/~demos/examples-search-table-react-030-table-summay-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-030-table-summay-demo-1/index.html b/~demos/examples-search-table-react-030-table-summay-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-030-table-summay-demo-1/index.html +++ b/~demos/examples-search-table-react-030-table-summay-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-030-table-summay-demo-2/index.html b/~demos/examples-search-table-react-030-table-summay-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-030-table-summay-demo-2/index.html +++ b/~demos/examples-search-table-react-030-table-summay-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-030-table-summay-demo-3/index.html b/~demos/examples-search-table-react-030-table-summay-demo-3/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-030-table-summay-demo-3/index.html +++ b/~demos/examples-search-table-react-030-table-summay-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-030-table-summay-demo-4/index.html b/~demos/examples-search-table-react-030-table-summay-demo-4/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-030-table-summay-demo-4/index.html +++ b/~demos/examples-search-table-react-030-table-summay-demo-4/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-030-table-summay-demo-5/index.html b/~demos/examples-search-table-react-030-table-summay-demo-5/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-030-table-summay-demo-5/index.html +++ b/~demos/examples-search-table-react-030-table-summay-demo-5/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-040-table-sort-demo-0/index.html b/~demos/examples-search-table-react-040-table-sort-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-040-table-sort-demo-0/index.html +++ b/~demos/examples-search-table-react-040-table-sort-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-040-table-sort-demo-1/index.html b/~demos/examples-search-table-react-040-table-sort-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-040-table-sort-demo-1/index.html +++ b/~demos/examples-search-table-react-040-table-sort-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-040-table-sort-demo-2/index.html b/~demos/examples-search-table-react-040-table-sort-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-040-table-sort-demo-2/index.html +++ b/~demos/examples-search-table-react-040-table-sort-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-040-table-sort-demo-3/index.html b/~demos/examples-search-table-react-040-table-sort-demo-3/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-040-table-sort-demo-3/index.html +++ b/~demos/examples-search-table-react-040-table-sort-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-040-table-sort-demo-4/index.html b/~demos/examples-search-table-react-040-table-sort-demo-4/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-040-table-sort-demo-4/index.html +++ b/~demos/examples-search-table-react-040-table-sort-demo-4/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-050-tabs-demo-0/index.html b/~demos/examples-search-table-react-050-tabs-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-050-tabs-demo-0/index.html +++ b/~demos/examples-search-table-react-050-tabs-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-050-tabs-demo-1/index.html b/~demos/examples-search-table-react-050-tabs-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-050-tabs-demo-1/index.html +++ b/~demos/examples-search-table-react-050-tabs-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-050-tabs-demo-2/index.html b/~demos/examples-search-table-react-050-tabs-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-050-tabs-demo-2/index.html +++ b/~demos/examples-search-table-react-050-tabs-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-050-tabs-demo-3/index.html b/~demos/examples-search-table-react-050-tabs-demo-3/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-050-tabs-demo-3/index.html +++ b/~demos/examples-search-table-react-050-tabs-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-050-tabs-demo-4/index.html b/~demos/examples-search-table-react-050-tabs-demo-4/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-050-tabs-demo-4/index.html +++ b/~demos/examples-search-table-react-050-tabs-demo-4/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-060-value-type-demo-0/index.html b/~demos/examples-search-table-react-060-value-type-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-060-value-type-demo-0/index.html +++ b/~demos/examples-search-table-react-060-value-type-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-060-value-type-demo-1/index.html b/~demos/examples-search-table-react-060-value-type-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-060-value-type-demo-1/index.html +++ b/~demos/examples-search-table-react-060-value-type-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-060-value-type-demo-2/index.html b/~demos/examples-search-table-react-060-value-type-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-060-value-type-demo-2/index.html +++ b/~demos/examples-search-table-react-060-value-type-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-100-columns-setting-demo-0/index.html b/~demos/examples-search-table-react-100-columns-setting-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-100-columns-setting-demo-0/index.html +++ b/~demos/examples-search-table-react-100-columns-setting-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-100-columns-setting-demo-1/index.html b/~demos/examples-search-table-react-100-columns-setting-demo-1/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-100-columns-setting-demo-1/index.html +++ b/~demos/examples-search-table-react-100-columns-setting-demo-1/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-100-columns-setting-demo-2/index.html b/~demos/examples-search-table-react-100-columns-setting-demo-2/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-100-columns-setting-demo-2/index.html +++ b/~demos/examples-search-table-react-100-columns-setting-demo-2/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-100-columns-setting-demo-3/index.html b/~demos/examples-search-table-react-100-columns-setting-demo-3/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-100-columns-setting-demo-3/index.html +++ b/~demos/examples-search-table-react-100-columns-setting-demo-3/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-900-table-editable-demo-0/index.html b/~demos/examples-search-table-react-900-table-editable-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-900-table-editable-demo-0/index.html +++ b/~demos/examples-search-table-react-900-table-editable-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file diff --git a/~demos/examples-search-table-react-910-no-search-demo-0/index.html b/~demos/examples-search-table-react-910-no-search-demo-0/index.html index cb629dd..886a092 100644 --- a/~demos/examples-search-table-react-910-no-search-demo-0/index.html +++ b/~demos/examples-search-table-react-910-no-search-demo-0/index.html @@ -167,6 +167,6 @@
- + \ No newline at end of file