From 0bda3aad73570772b047ac458ef379dbbde76d32 Mon Sep 17 00:00:00 2001 From: Barrior Date: Sat, 6 Jan 2024 02:32:09 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Barrior/?= =?UTF-8?q?schema-render@950ee4a2be9b1f04522019cacebd44070810e67c=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 11 +++- core-react/001-intro/index.html | 11 +++- core-react/002-quick-start/index.html | 11 +++- core-react/003-schema/index.html | 11 +++- core-react/100-layout/index.html | 11 +++- core-react/101-item-layout/index.html | 11 +++- core-react/102-prefix-cls/index.html | 11 +++- core-react/200-change-event/index.html | 11 +++- core-react/210-relation/index.html | 11 +++- core-react/220-renderer/index.html | 11 +++- core-react/221-renderer-object/index.html | 11 +++- core-react/222-renderer-array/index.html | 11 +++- core-react/223-validator/index.html | 11 +++- core-react/230-global-status/index.html | 11 +++- core-react/280-open-api/index.html | 11 +++- core-react/300-default-value/index.html | 11 +++- core-react/600-catch-error-tips/index.html | 11 +++- core-react/700-locale/index.html | 11 +++- core-react/800-api-reference/index.html | 11 +++- core-react/900-dev-tool/index.html | 11 +++- core-react/910-playground/index.html | 11 +++- core-react/930-traverse-schema/index.html | 11 +++- core-react/931-schema-transform/index.html | 11 +++- core-react/950-async/index.html | 11 +++- core-react/951-controllable/index.html | 11 +++- .../952-multi-renderer-on-change/index.html | 11 +++- form-render-react/001-intro/index.html | 11 +++- form-render-react/100-item-layout/index.html | 11 +++- form-render-react/200-label/index.html | 11 +++- form-render-react/300-actions/index.html | 11 +++- .../500-builtin-renderers/index.html | 11 +++- form-render-react/700-locale/index.html | 11 +++- .../800-api-reference/index.html | 11 +++- .../900-renderers-warning/index.html | 11 +++- .../901-label-vertical/index.html | 11 +++- index.html | 11 +++- search-react/001-intro/index.html | 11 +++- search-react/300-actions/index.html | 11 +++- search-react/700-locale/index.html | 11 +++- search-react/800-api-reference/index.html | 11 +++- search-table-react/001-intro/index.html | 11 +++- umi.b80e3701.js => umi.ac865985.js | 64 +++++++++---------- ~demos/:id/index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- ~demos/examples-demo-0/index.html | 11 +++- ~demos/examples-demo-1/index.html | 11 +++- ~demos/examples-demo-2/index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- .../index.html | 11 +++- 116 files changed, 1182 insertions(+), 147 deletions(-) rename umi.b80e3701.js => umi.ac865985.js (99%) diff --git a/404.html b/404.html index 32fdeba..83ebd6c 100644 --- a/404.html +++ b/404.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/core-react/001-intro/index.html b/core-react/001-intro/index.html index 32fdeba..83ebd6c 100644 --- a/core-react/001-intro/index.html +++ b/core-react/001-intro/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/core-react/002-quick-start/index.html +++ b/core-react/002-quick-start/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/core-react/003-schema/index.html b/core-react/003-schema/index.html index 32fdeba..83ebd6c 100644 --- a/core-react/003-schema/index.html +++ b/core-react/003-schema/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/core-react/100-layout/index.html b/core-react/100-layout/index.html index 32fdeba..83ebd6c 100644 --- a/core-react/100-layout/index.html +++ b/core-react/100-layout/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/core-react/101-item-layout/index.html +++ b/core-react/101-item-layout/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/core-react/102-prefix-cls/index.html +++ b/core-react/102-prefix-cls/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/core-react/200-change-event/index.html +++ b/core-react/200-change-event/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/core-react/210-relation/index.html b/core-react/210-relation/index.html index 32fdeba..83ebd6c 100644 --- a/core-react/210-relation/index.html +++ b/core-react/210-relation/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/core-react/220-renderer/index.html b/core-react/220-renderer/index.html index 32fdeba..83ebd6c 100644 --- a/core-react/220-renderer/index.html +++ b/core-react/220-renderer/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/core-react/221-renderer-object/index.html +++ b/core-react/221-renderer-object/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/core-react/222-renderer-array/index.html +++ b/core-react/222-renderer-array/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/core-react/223-validator/index.html b/core-react/223-validator/index.html index 32fdeba..83ebd6c 100644 --- a/core-react/223-validator/index.html +++ b/core-react/223-validator/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/core-react/230-global-status/index.html +++ b/core-react/230-global-status/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/core-react/280-open-api/index.html +++ b/core-react/280-open-api/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/core-react/300-default-value/index.html +++ b/core-react/300-default-value/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/core-react/600-catch-error-tips/index.html +++ b/core-react/600-catch-error-tips/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/core-react/700-locale/index.html b/core-react/700-locale/index.html index 32fdeba..83ebd6c 100644 --- a/core-react/700-locale/index.html +++ b/core-react/700-locale/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/core-react/800-api-reference/index.html +++ b/core-react/800-api-reference/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/core-react/900-dev-tool/index.html +++ b/core-react/900-dev-tool/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/core-react/910-playground/index.html b/core-react/910-playground/index.html index 32fdeba..83ebd6c 100644 --- a/core-react/910-playground/index.html +++ b/core-react/910-playground/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/core-react/930-traverse-schema/index.html +++ b/core-react/930-traverse-schema/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/core-react/931-schema-transform/index.html +++ b/core-react/931-schema-transform/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/core-react/950-async/index.html b/core-react/950-async/index.html index 32fdeba..83ebd6c 100644 --- a/core-react/950-async/index.html +++ b/core-react/950-async/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/core-react/951-controllable/index.html b/core-react/951-controllable/index.html index 32fdeba..83ebd6c 100644 --- a/core-react/951-controllable/index.html +++ b/core-react/951-controllable/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/core-react/952-multi-renderer-on-change/index.html +++ b/core-react/952-multi-renderer-on-change/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/form-render-react/001-intro/index.html +++ b/form-render-react/001-intro/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/form-render-react/100-item-layout/index.html +++ b/form-render-react/100-item-layout/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/form-render-react/200-label/index.html +++ b/form-render-react/200-label/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/form-render-react/300-actions/index.html +++ b/form-render-react/300-actions/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/form-render-react/500-builtin-renderers/index.html +++ b/form-render-react/500-builtin-renderers/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/form-render-react/700-locale/index.html +++ b/form-render-react/700-locale/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/form-render-react/800-api-reference/index.html +++ b/form-render-react/800-api-reference/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/form-render-react/900-renderers-warning/index.html +++ b/form-render-react/900-renderers-warning/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/form-render-react/901-label-vertical/index.html +++ b/form-render-react/901-label-vertical/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/index.html b/index.html index 32fdeba..83ebd6c 100644 --- a/index.html +++ b/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/search-react/001-intro/index.html b/search-react/001-intro/index.html index 32fdeba..83ebd6c 100644 --- a/search-react/001-intro/index.html +++ b/search-react/001-intro/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/search-react/300-actions/index.html b/search-react/300-actions/index.html index 32fdeba..83ebd6c 100644 --- a/search-react/300-actions/index.html +++ b/search-react/300-actions/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/search-react/700-locale/index.html b/search-react/700-locale/index.html index 32fdeba..83ebd6c 100644 --- a/search-react/700-locale/index.html +++ b/search-react/700-locale/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/search-react/800-api-reference/index.html +++ b/search-react/800-api-reference/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/search-table-react/001-intro/index.html +++ b/search-table-react/001-intro/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/umi.b80e3701.js b/umi.ac865985.js similarity index 99% rename from umi.b80e3701.js rename to umi.ac865985.js index 2f379ca..8cc4603 100644 --- a/umi.b80e3701.js +++ b/umi.ac865985.js @@ -94,7 +94,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.1.7"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.1.0"},"schemas/all.ts":{type:"FILE",value:e(1267).Z},"styles/index.ts":{type:"FILE",value:e(26199).Z}}}}},m={title:"\u5185\u7F6E\u6E32\u67D3\u5668 renderers",toc:"content",filename:"examples/form-render-react/500-builtin-renderers.md",lastUpdated:1704440107e3,order:500,description:"FormRender \u5185\u7F6E\u4E86\u5E38\u7528\u7684\u8868\u5355\u6E32\u67D3\u5668\u96C6\u5408"},h=[{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:"datepicker",depth:2,title:"DatePicker"},{id:"daterangepicker",depth:2,title:"DateRangePicker"},{id:"object",depth:2,title:"Object"}],y=[{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:"\u8FD4\u56DE ",paraId:4,tocIndex:3},{value:"ISOString",paraId:4,tocIndex:3},{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:4,tocIndex:3},{value:"\u8FD4\u56DE ISOString \u683C\u5F0F\u7684\u65E5\u671F\u503C\u3002",paraId:5,tocIndex:4},{value:"\u53EA\u8BFB\u6001\u65F6\uFF0C\u6587\u6848\u5C55\u793A\u53EF\u4EE5\u901A\u8FC7\u914D\u7F6E ",paraId:6,tocIndex:4},{value:"locale",paraId:6,tocIndex:4},{value:" \u7684 ",paraId:6,tocIndex:4},{value:"FormRender.displayDateRange",paraId:6,tocIndex:4},{value:" \u6765\u81EA\u5B9A\u4E49\u3002",paraId:6,tocIndex:4},{value:"renderOptions.headerOptions",paraId:7,tocIndex:5},{value:" \u53EF\u4EE5\u914D\u7F6E\u5BF9\u8C61\u5BB9\u5668\u5934\u90E8\u7684\u53C2\u6570\uFF0C\u5BF9\u5E94 Antd ",paraId:7,tocIndex:5},{value:"Collapse",paraId:7,tocIndex:5},{value:" \u7EC4\u4EF6\u53C2\u6570\u3002",paraId:7,tocIndex:5},{value:"renderOptions.panelOptions",paraId:7,tocIndex:5},{value:" \u53EF\u4EE5\u914D\u7F6E\u5BF9\u8C61\u5BB9\u5668\u5185\u5BB9\u9762\u677F\u7684\u53C2\u6570\uFF0C\u5BF9\u5E94 Antd ",paraId:7,tocIndex:5},{value:"Collapse.Panel",paraId:7,tocIndex:5},{value:" \u7EC4\u4EF6\u53C2\u6570\u3002",paraId:7,tocIndex:5}],I={"examples-form-render-react-900-renderers-warning-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().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 be=W.sent,Ce=be.useState,W.next=6,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070)]).then(e.bind(e,39070));case 10:return Oe=W.sent,Ne=Oe.default,we={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},he=function(){var ye=Ce({}),ut=a()(ye,2),le=ut[0],We=ut[1];return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(Ne,{schema:we,value:le,onChange:We}),s.createElement(Ee,{value:le}))},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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"},antd:{type:"NPM",value:"5.1.7"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.1.0"},"schemas/all.ts":{type:"FILE",value:e(1267).Z},"styles/index.ts":{type:"FILE",value:e(26199).Z}}}}},m={title:"\u5185\u7F6E\u6E32\u67D3\u5668 renderers",toc:"content",filename:"examples/form-render-react/500-builtin-renderers.md",lastUpdated:1704426896e3,order:500,description:"FormRender \u5185\u7F6E\u4E86\u5E38\u7528\u7684\u8868\u5355\u6E32\u67D3\u5668\u96C6\u5408"},h=[{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:"datepicker",depth:2,title:"DatePicker"},{id:"daterangepicker",depth:2,title:"DateRangePicker"},{id:"object",depth:2,title:"Object"}],y=[{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:"\u8FD4\u56DE ",paraId:4,tocIndex:3},{value:"ISOString",paraId:4,tocIndex:3},{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:4,tocIndex:3},{value:"\u8FD4\u56DE ISOString \u683C\u5F0F\u7684\u65E5\u671F\u503C\u3002",paraId:5,tocIndex:4},{value:"\u53EA\u8BFB\u6001\u65F6\uFF0C\u6587\u6848\u5C55\u793A\u53EF\u4EE5\u901A\u8FC7\u914D\u7F6E ",paraId:6,tocIndex:4},{value:"locale",paraId:6,tocIndex:4},{value:" \u7684 ",paraId:6,tocIndex:4},{value:"FormRender.displayDateRange",paraId:6,tocIndex:4},{value:" \u6765\u81EA\u5B9A\u4E49\u3002",paraId:6,tocIndex:4},{value:"renderOptions.headerOptions",paraId:7,tocIndex:5},{value:" \u53EF\u4EE5\u914D\u7F6E\u5BF9\u8C61\u5BB9\u5668\u5934\u90E8\u7684\u53C2\u6570\uFF0C\u5BF9\u5E94 Antd ",paraId:7,tocIndex:5},{value:"Collapse",paraId:7,tocIndex:5},{value:" \u7EC4\u4EF6\u53C2\u6570\u3002",paraId:7,tocIndex:5},{value:"renderOptions.panelOptions",paraId:7,tocIndex:5},{value:" \u53EF\u4EE5\u914D\u7F6E\u5BF9\u8C61\u5BB9\u5668\u5185\u5BB9\u9762\u677F\u7684\u53C2\u6570\uFF0C\u5BF9\u5E94 Antd ",paraId:7,tocIndex:5},{value:"Collapse.Panel",paraId:7,tocIndex:5},{value:" \u7EC4\u4EF6\u53C2\u6570\u3002",paraId:7,tocIndex:5}],I={"examples-form-render-react-900-renderers-warning-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().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 be=W.sent,Ce=be.useState,W.next=6,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070)]).then(e.bind(e,39070));case 10:return Oe=W.sent,Ne=Oe.default,we={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},he=function(){var ye=Ce({}),ut=a()(ye,2),le=ut[0],We=ut[1];return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(Ne,{schema:we,value:le,onChange:We}),s.createElement(Ee,{value:le}))},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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' @@ -125,7 +125,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.1.0"}}}}},S={title:"\u6E32\u67D3\u5668\u6821\u9A8C\u72B6\u6001\u6837\u5F0F",toc:"content",filename:"examples/form-render-react/900-renderers-warning.md",lastUpdated:1704440107e3,group:{title:"\u4EC5\u5F00\u53D1\u8C03\u8BD5",order:900},debug:!0},T=[{id:"\u6E32\u67D3\u5668\u6821\u9A8C\u72B6\u6001\u6837\u5F0F",depth:1,title:"\u6E32\u67D3\u5668\u6821\u9A8C\u72B6\u6001\u6837\u5F0F"}],b=[],R={"examples-core-react-952-multi-renderer-on-change-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye,ut,le;return l()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 2:return be=Ae.sent,Ce=be.default,Ae.next=6,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 6:return Re=Ae.sent,Ee=Re.default,Ae.next=10,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 10:return Oe=Ae.sent,Ne=Oe.default,Ae.next=14,Promise.resolve().then(e.t.bind(e,50959,19));case 14:return we=Ae.sent,he=we.useState,tt=we.useEffect,Ae.next=19,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 19:return W=Ae.sent,He=W.Input,ye={InputOrg:{component:function(x){var A,M=x.schema,Y=x.value,Me=x.rootValue,ze=x.onChange;return console.log("==== InputOrg ===="),console.log("value:",Y),console.log("rootValue:",Me),tt(function(){ze("\u673A\u6784 A")},[]),s.createElement(He,{placeholder:"\u8BF7\u8F93\u5165".concat((A=M.title)!==null&&A!==void 0?A:""),value:Y!=null?Y:"",onChange:function(ot){return ze(ot.target.value)}})}},InputSupplier:{component:function(x){var A,M=x.schema,Y=x.value,Me=x.rootValue,ze=x.onChange;return console.log("==== InputSupplier ===="),console.log("value:",Y),console.log("rootValue:",Me),tt(function(){ze("\u4F9B\u5E94\u5546 A")},[]),s.createElement(He,{placeholder:"\u8BF7\u8F93\u5165".concat((A=M.title)!==null&&A!==void 0?A:""),value:Y!=null?Y:"",onChange:function(ot){return ze(ot.target.value)}})}},InputBill:{component:function(x){var A,M=x.schema,Y=x.value,Me=x.rootValue,ze=x.onChange;return console.log("==== InputBill ===="),console.log("value:",Y),console.log("rootValue:",Me),tt(function(){setTimeout(function(){ze("\u5355\u53F7 A")},10)},[]),s.createElement(He,{placeholder:"\u8BF7\u8F93\u5165".concat((A=M.title)!==null&&A!==void 0?A:""),value:Y!=null?Y:"",onChange:function(ot){return ze(ot.target.value)}})}}},ut={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"}}},le=function(){var x=he({}),A=a()(x,2),M=A[0],Y=A[1];return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(Ee,{schema:ut,itemLayout:Ne,renderers:ye,value:M,onChange:function(ze,Ye){console.log("***** updateBy ".concat(Ye.sPath," *****")),console.log("value:",ze),console.log("e:",Ye),Y(ze)}}),s.createElement(Ce,{value:M}))},Ae.abrupt("return",{default:le});case 25:case"end":return Ae.stop()}},nt)})))),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.1.0"}}}}},S={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},T=[{id:"\u6E32\u67D3\u5668\u6821\u9A8C\u72B6\u6001\u6837\u5F0F",depth:1,title:"\u6E32\u67D3\u5668\u6821\u9A8C\u72B6\u6001\u6837\u5F0F"}],b=[],R={"examples-core-react-952-multi-renderer-on-change-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye,ut,le;return l()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 2:return be=Ae.sent,Ce=be.default,Ae.next=6,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 6:return Re=Ae.sent,Ee=Re.default,Ae.next=10,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 10:return Oe=Ae.sent,Ne=Oe.default,Ae.next=14,Promise.resolve().then(e.t.bind(e,50959,19));case 14:return we=Ae.sent,he=we.useState,tt=we.useEffect,Ae.next=19,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 19:return W=Ae.sent,He=W.Input,ye={InputOrg:{component:function(x){var A,M=x.schema,Y=x.value,Me=x.rootValue,ze=x.onChange;return console.log("==== InputOrg ===="),console.log("value:",Y),console.log("rootValue:",Me),tt(function(){ze("\u673A\u6784 A")},[]),s.createElement(He,{placeholder:"\u8BF7\u8F93\u5165".concat((A=M.title)!==null&&A!==void 0?A:""),value:Y!=null?Y:"",onChange:function(ot){return ze(ot.target.value)}})}},InputSupplier:{component:function(x){var A,M=x.schema,Y=x.value,Me=x.rootValue,ze=x.onChange;return console.log("==== InputSupplier ===="),console.log("value:",Y),console.log("rootValue:",Me),tt(function(){ze("\u4F9B\u5E94\u5546 A")},[]),s.createElement(He,{placeholder:"\u8BF7\u8F93\u5165".concat((A=M.title)!==null&&A!==void 0?A:""),value:Y!=null?Y:"",onChange:function(ot){return ze(ot.target.value)}})}},InputBill:{component:function(x){var A,M=x.schema,Y=x.value,Me=x.rootValue,ze=x.onChange;return console.log("==== InputBill ===="),console.log("value:",Y),console.log("rootValue:",Me),tt(function(){setTimeout(function(){ze("\u5355\u53F7 A")},10)},[]),s.createElement(He,{placeholder:"\u8BF7\u8F93\u5165".concat((A=M.title)!==null&&A!==void 0?A:""),value:Y!=null?Y:"",onChange:function(ot){return ze(ot.target.value)}})}}},ut={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"}}},le=function(){var x=he({}),A=a()(x,2),M=A[0],Y=A[1];return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(Ee,{schema:ut,itemLayout:Ne,renderers:ye,value:M,onChange:function(ze,Ye){console.log("***** updateBy ".concat(Ye.sPath," *****")),console.log("value:",ze),console.log("e:",Ye),Y(ze)}}),s.createElement(Ce,{value:M}))},Ae.abrupt("return",{default:le});case 25:case"end":return Ae.stop()}},nt)})))),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' @@ -235,7 +235,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.1.7"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},L={title:"\u591A\u6E32\u67D3\u5668\u5185\u90E8 onChange \u521D\u59CB\u5316\u503C",toc:"content",filename:"examples/core-react/952-multi-renderer-onChange.md",lastUpdated:1704440107e3,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"},w=[{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"}],D=[{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}],B={"examples-form-render-react-901-label-vertical-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().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 be=W.sent,Ce=be.useState,W.next=6,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070)]).then(e.bind(e,39070));case 10:return Oe=W.sent,Ne=Oe.default,we={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"}]}}}},he=function(){var ye=Ce({}),ut=a()(ye,2),le=ut[0],We=ut[1];return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(Ne,{itemLayout:"vertical",labelColon:"\uFF1A",schema:we,value:le,onChange:We}),s.createElement(Ee,{value:le}))},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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`},root:{type:"NPM"},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.1.7"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},L={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"},w=[{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"}],D=[{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}],B={"examples-form-render-react-901-label-vertical-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().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 be=W.sent,Ce=be.useState,W.next=6,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070)]).then(e.bind(e,39070));case 10:return Oe=W.sent,Ne=Oe.default,we={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"}]}}}},he=function(){var ye=Ce({}),ut=a()(ye,2),le=ut[0],We=ut[1];return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(Ne,{itemLayout:"vertical",labelColon:"\uFF1A",schema:we,value:le,onChange:We}),s.createElement(Ee,{value:le}))},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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' @@ -354,7 +354,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.1.0"},"@ant-design/icons":{type:"NPM",value:"5.0.1"},antd:{type:"NPM",value:"5.1.7"}}}}},P={title:"\u6807\u9898\u8BBE\u7F6E label in Vertical",toc:"content",filename:"examples/form-render-react/901-label-vertical.md",lastUpdated:1704440107e3,group:{title:"\u4EC5\u5F00\u53D1\u8C03\u8BD5",order:901},debug:!0,description:"\u5192\u53F7\u8BBE\u7F6E"},j=[{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"}],H=[{value:"\u5192\u53F7\u8BBE\u7F6E",paraId:0,tocIndex:1}],ne={},re={title:"API Reference",toc:"content",filename:"examples/form-render-react/800-api-reference.md",lastUpdated:1704440107e3,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"},ee=[{id:"api-reference",depth:1,title:"API Reference"}],fe=[{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}],Le={"examples-form-render-react-100-item-layout-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().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 be=W.sent,Ce=be.useState,W.next=6,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070)]).then(e.bind(e,39070));case 10:return Oe=W.sent,Ne=Oe.default,we={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},he=function(){var ye=Ce({}),ut=a()(ye,2),le=ut[0],We=ut[1];return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(Ne,{itemLayout:"vertical",schema:we,value:le,onChange:We}),s.createElement(Ee,{value:le}))},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.1.0"},"@ant-design/icons":{type:"NPM",value:"5.0.1"},antd:{type:"NPM",value:"5.1.7"}}}}},P={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"},j=[{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"}],H=[{value:"\u5192\u53F7\u8BBE\u7F6E",paraId:0,tocIndex:1}],ne={},re={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"},ee=[{id:"api-reference",depth:1,title:"API Reference"}],fe=[{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}],Le={"examples-form-render-react-100-item-layout-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().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 be=W.sent,Ce=be.useState,W.next=6,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070)]).then(e.bind(e,39070));case 10:return Oe=W.sent,Ne=Oe.default,we={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},he=function(){var ye=Ce({}),ut=a()(ye,2),le=ut[0],We=ut[1];return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(Ne,{itemLayout:"vertical",schema:we,value:le,onChange:We}),s.createElement(Ee,{value:le}))},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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' @@ -430,7 +430,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.1.0"}}}}},De={title:"\u5E03\u5C40\u7ED3\u6784 itemLayout",toc:"content",filename:"examples/form-render-react/100-item-layout.md",lastUpdated:1704440107e3,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"},se=[{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"}],q=[{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}],Q=e(57213),$=e.n(Q),V={"examples-core-react-600-catch-error-tips-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt;return l()().wrap(function(He){for(;;)switch(He.prev=He.next){case 0:return He.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=He.sent,Ce=be.default,He.next=6,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 6:return Re=He.sent,Ee=Re.Input,He.next=10,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 10:return Oe=He.sent,Ne=Oe.default,we={InputText:{component:function(){throw Error("\u53D1\u751F\u9519\u8BEF\u4E86")}},TextArea:{component:function(ut){var le,We=ut.schema,Ae=ut.value,Tt=ut.disabled,x=ut.onChange;return s.createElement(Ee.TextArea,$()($()({rows:3,placeholder:"\u8BF7\u8F93\u5165".concat((le=We.title)!==null&&le!==void 0?le:"")},We.renderOptions),{},{value:Ae,onChange:function(M){return x(M.target.value)},disabled:Tt}))}}},he={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"}}},tt=function(){return s.createElement(Ce,{schema:he,itemLayout:Ne,renderers:we})},He.abrupt("return",{default:tt});case 16:case"end":return He.stop()}},nt)})))),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`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.1.0"}}}}},De={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"},se=[{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"}],q=[{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}],Q=e(57213),$=e.n(Q),V={"examples-core-react-600-catch-error-tips-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt;return l()().wrap(function(He){for(;;)switch(He.prev=He.next){case 0:return He.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=He.sent,Ce=be.default,He.next=6,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 6:return Re=He.sent,Ee=Re.Input,He.next=10,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 10:return Oe=He.sent,Ne=Oe.default,we={InputText:{component:function(){throw Error("\u53D1\u751F\u9519\u8BEF\u4E86")}},TextArea:{component:function(ut){var le,We=ut.schema,Ae=ut.value,Tt=ut.disabled,x=ut.onChange;return s.createElement(Ee.TextArea,$()($()({rows:3,placeholder:"\u8BF7\u8F93\u5165".concat((le=We.title)!==null&&le!==void 0?le:"")},We.renderOptions),{},{value:Ae,onChange:function(M){return x(M.target.value)},disabled:Tt}))}}},he={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"}}},tt=function(){return s.createElement(Ce,{schema:he,itemLayout:Ne,renderers:we})},He.abrupt("return",{default:tt});case 16:case"end":return He.stop()}},nt)})))),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' @@ -598,7 +598,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},antd:{type:"NPM",value:"5.1.7"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},ae={title:"\u9519\u8BEF\u63D0\u793A\u4FE1\u606F",toc:"content",filename:"examples/core-react/600-catch-error-tips.md",lastUpdated:1704440107e3,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"},C=[{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"}],F=[{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}],G={},ce={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:1704440107e3,group:"\u8F85\u52A9\u5DE5\u5177",order:931,debug:!0},k=[{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"}],O=[],U={"examples-core-react-221-renderer-object-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye,ut,le;return l()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 2:return be=Ae.sent,Ce=be.Input,Ae.next=6,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 6:return Re=Ae.sent,Ee=Re.default,Ae.next=10,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 10:return Oe=Ae.sent,Ne=Oe.default,Ae.next=14,e.e(3477).then(e.bind(e,73477));case 14:return we=Ae.sent,he=we.default,Ae.next=18,Promise.all([e.e(1875),e.e(9061),e.e(9435),e.e(6513),e.e(5892),e.e(7053)]).then(e.bind(e,7053));case 18:return tt=Ae.sent,W=tt.default,Ae.next=22,Promise.all([e.e(1875),e.e(9061),e.e(9435),e.e(5892),e.e(3962)]).then(e.bind(e,3962));case 22:return He=Ae.sent,ye=He.default,ut={Object:ye,ObjectCollapse:W,InputText:{component:function(x){var A,M=x.schema,Y=x.value,Me=x.disabled,ze=x.onChange;return s.createElement(Ce,$()($()({placeholder:"\u8BF7\u8F93\u5165".concat((A=M.title)!==null&&A!==void 0?A:"")},M.renderOptions),{},{value:Y,disabled:Me,onChange:function(ot){return ze(ot.target.value)}}))}}},le=function(){return s.createElement(Ee,{schema:he,itemLayout:Ne,renderers:ut})},Ae.abrupt("return",{default:le});case 27:case"end":return Ae.stop()}},nt)})))),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/core-react":{type:"NPM",value:"1.1.0"},antd:{type:"NPM",value:"5.1.7"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},ae={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"},C=[{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"}],F=[{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}],G={},ce={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},k=[{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"}],O=[],U={"examples-core-react-221-renderer-object-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye,ut,le;return l()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 2:return be=Ae.sent,Ce=be.Input,Ae.next=6,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 6:return Re=Ae.sent,Ee=Re.default,Ae.next=10,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 10:return Oe=Ae.sent,Ne=Oe.default,Ae.next=14,e.e(3477).then(e.bind(e,73477));case 14:return we=Ae.sent,he=we.default,Ae.next=18,Promise.all([e.e(1875),e.e(9061),e.e(9435),e.e(6513),e.e(5892),e.e(7053)]).then(e.bind(e,7053));case 18:return tt=Ae.sent,W=tt.default,Ae.next=22,Promise.all([e.e(1875),e.e(9061),e.e(9435),e.e(5892),e.e(3962)]).then(e.bind(e,3962));case 22:return He=Ae.sent,ye=He.default,ut={Object:ye,ObjectCollapse:W,InputText:{component:function(x){var A,M=x.schema,Y=x.value,Me=x.disabled,ze=x.onChange;return s.createElement(Ce,$()($()({placeholder:"\u8BF7\u8F93\u5165".concat((A=M.title)!==null&&A!==void 0?A:"")},M.renderOptions),{},{value:Y,disabled:Me,onChange:function(ot){return ze(ot.target.value)}}))}}},le=function(){return s.createElement(Ee,{schema:he,itemLayout:Ne,renderers:ut})},Ae.abrupt("return",{default:le});case 27:case"end":return Ae.stop()}},nt)})))),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' @@ -687,10 +687,10 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.1.7"},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},"renderers/object/ObjectNormal.tsx":{type:"FILE",value:e(51038).Z},"schemas/object.ts":{type:"FILE",value:e(84839).Z},"renderers/object/ObjectCollapse.tsx":{type:"FILE",value:e(4854).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Z={title:"\u7ED3\u6784\u6E32\u67D3\u5668-\u5BF9\u8C61 Object",toc:"content",filename:"examples/core-react/221-renderer-object.md",lastUpdated:1704440107e3,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"},_=[{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"}],oe=[{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.1.7"},react:{type:"NPM",value:"18.2.0"},"@schema-render/core-react":{type:"NPM",value:"1.1.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}}}}},Z={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"},_=[{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"}],oe=[{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}],$e={},qe={title:"Schema \u904D\u5386\u5DE5\u5177",toc:"content",filename:"examples/core-react/930-traverse-schema.md",lastUpdated:1704440107e3,group:"\u8F85\u52A9\u5DE5\u5177",order:930,debug:!0,description:"\u89C1: Schema Transform"},gt=[{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"}],st=[{value:"\u89C1: ",paraId:0,tocIndex:1},{value:"Schema Transform",paraId:1,tocIndex:1}],rt={},vt={title:"API Reference",toc:"content",filename:"examples/search-react/800-api-reference.md",lastUpdated:1704440107e3,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"},ie=[{id:"api-reference",depth:1,title:"API Reference"}],de=[{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}],ve={},ge={title:"\u7ED3\u6784\u6E32\u67D3\u5668-\u6570\u7EC4 Array",toc:"content",filename:"examples/core-react/222-renderer-array.md",lastUpdated:1704440107e3,group:"\u529F\u80FD\u8BE6\u89E3",order:222,description:"\u8FD8\u5728\u8BBE\u8BA1\u4E2D"},Fe=[{id:"\u7ED3\u6784\u6E32\u67D3\u5668-\u6570\u7EC4-array",depth:1,title:"\u7ED3\u6784\u6E32\u67D3\u5668-\u6570\u7EC4 Array"}],ue=[{value:"\u8FD8\u5728\u8BBE\u8BA1\u4E2D",paraId:0}],pe={"examples-form-render-react-300-actions-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye,ut;return l()().wrap(function(We){for(;;)switch(We.prev=We.next){case 0:return We.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return be=We.sent,Ce=be.useState,Re=be.useRef,We.next=7,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 7:return Ee=We.sent,Oe=Ee.message,We.next=11,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 11:return Ne=We.sent,we=Ne.default,We.next=15,e.e(7693).then(e.bind(e,7693));case 15:return he=We.sent,tt=he.sleep,We.next=19,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070)]).then(e.bind(e,39070));case 19:return W=We.sent,He=W.default,ye={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},ut=function(){var Tt=Ce({}),x=a()(Tt,2),A=x[0],M=x[1],Y=Re(null),Me=function(){var ze=c()(l()().mark(function Ye(){var ot,pt;return l()().wrap(function(Lt){for(;;)switch(Lt.prev=Lt.next){case 0:return Lt.next=2,Y.current.validate();case 2:if(ot=Lt.sent,pt=ot.hasError,!pt){Lt.next=7;break}return Oe.error("\u8868\u5355\u5B58\u5728\u9519\u8BEF\uFF0C\u8BF7\u586B\u5199\u6B63\u786E\u540E\u518D\u63D0\u4EA4"),Lt.abrupt("return");case 7:return Lt.next=9,tt();case 9:Oe.success("\u6CE8\u518C\u6210\u529F");case 10:case"end":return Lt.stop()}},Ye)}));return function(){return ze.apply(this,arguments)}}();return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(He,{ref:Y,schema:ye,value:A,onChange:M,onSubmit:Me}),s.createElement(we,{value:A}))},We.abrupt("return",{default:ut});case 24:case"end":return We.stop()}},nt)})))),asset:{type:"BLOCK",id:"examples-form-render-react-300-actions-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState, useRef } from 'react' +`,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}],$e={},qe={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"},gt=[{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"}],st=[{value:"\u89C1: ",paraId:0,tocIndex:1},{value:"Schema Transform",paraId:1,tocIndex:1}],rt={},vt={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"},ie=[{id:"api-reference",depth:1,title:"API Reference"}],de=[{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}],ve={},ge={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"},Fe=[{id:"\u7ED3\u6784\u6E32\u67D3\u5668-\u6570\u7EC4-array",depth:1,title:"\u7ED3\u6784\u6E32\u67D3\u5668-\u6570\u7EC4 Array"}],ue=[{value:"\u8FD8\u5728\u8BBE\u8BA1\u4E2D",paraId:0}],pe={"examples-form-render-react-300-actions-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye,ut;return l()().wrap(function(We){for(;;)switch(We.prev=We.next){case 0:return We.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return be=We.sent,Ce=be.useState,Re=be.useRef,We.next=7,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 7:return Ee=We.sent,Oe=Ee.message,We.next=11,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 11:return Ne=We.sent,we=Ne.default,We.next=15,e.e(7693).then(e.bind(e,7693));case 15:return he=We.sent,tt=he.sleep,We.next=19,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070)]).then(e.bind(e,39070));case 19:return W=We.sent,He=W.default,ye={renderType:"Root",properties:{account:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},ut=function(){var Tt=Ce({}),x=a()(Tt,2),A=x[0],M=x[1],Y=Re(null),Me=function(){var ze=c()(l()().mark(function Ye(){var ot,pt;return l()().wrap(function(Lt){for(;;)switch(Lt.prev=Lt.next){case 0:return Lt.next=2,Y.current.validate();case 2:if(ot=Lt.sent,pt=ot.hasError,!pt){Lt.next=7;break}return Oe.error("\u8868\u5355\u5B58\u5728\u9519\u8BEF\uFF0C\u8BF7\u586B\u5199\u6B63\u786E\u540E\u518D\u63D0\u4EA4"),Lt.abrupt("return");case 7:return Lt.next=9,tt();case 9:Oe.success("\u6CE8\u518C\u6210\u529F");case 10:case"end":return Lt.stop()}},Ye)}));return function(){return ze.apply(this,arguments)}}();return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(He,{ref:Y,schema:ye,value:A,onChange:M,onSubmit:Me}),s.createElement(we,{value:A}))},We.abrupt("return",{default:ut});case 24:case"end":return We.stop()}},nt)})))),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' @@ -1045,7 +1045,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.1.7"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.1.0"}}}}},Ie={title:"\u884C\u4E3A\u64CD\u4F5C actions",toc:"content",filename:"examples/form-render-react/300-actions.md",lastUpdated:1704440107e3,order:300,description:"FormRender \u5185\u7F6E\u4E86\u63D0\u4EA4\u4E0E\u91CD\u7F6E\u64CD\u4F5C\uFF0C\u76F8\u5173 API \u5982\u4E0B\u6587\u6240\u8FF0\u3002"},ke=[{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"}],ft=[{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}],Dt={"examples-core-react-230-global-status-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=W.sent,Ce=be.default,W.next=6,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 10:return Oe=W.sent,Ne=Oe.default,we={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"}}},he=function(){return s.createElement(Ce,{disabled:!0,schema:we,itemLayout:Ee,renderers:Ne})},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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.1.7"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.1.0"}}}}},Ie={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"},ke=[{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"}],ft=[{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}],Dt={"examples-core-react-230-global-status-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=W.sent,Ce=be.default,W.next=6,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 10:return Oe=W.sent,Ne=Oe.default,we={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"}}},he=function(){return s.createElement(Ce,{disabled:!0,schema:we,itemLayout:Ee,renderers:Ne})},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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' @@ -1079,7 +1079,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Pt={title:"\u5168\u5C40\u72B6\u6001\u63A7\u5236",toc:"content",filename:"examples/core-react/230-global-status.md",lastUpdated:1704440107e3,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"},Nt=[{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"}],Ht=[{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}],Ue={"examples-core-react-300-default-value-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=W.sent,Ce=be.default,W.next=6,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 10:return Oe=W.sent,Ne=Oe.default,we={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},he=function(){return s.createElement(Ce,{schema:we,defaultValue:{title:"\u6211\u662F\u6807\u9898"},itemLayout:Ee,renderers:Ne})},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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.1.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Pt={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"},Nt=[{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"}],Ht=[{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}],Ue={"examples-core-react-300-default-value-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=W.sent,Ce=be.default,W.next=6,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 10:return Oe=W.sent,Ne=Oe.default,we={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},he=function(){return s.createElement(Ce,{schema:we,defaultValue:{title:"\u6211\u662F\u6807\u9898"},itemLayout:Ee,renderers:Ne})},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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' @@ -1110,7 +1110,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},_e={title:"\u9ED8\u8BA4\u503C DefaultValue",toc:"content",filename:"examples/core-react/300-default-value.md",lastUpdated:1704440107e3,group:"\u529F\u80FD\u8BE6\u89E3",order:300,debug:!0,description:"\u8FD8\u5728\u8BBE\u8BA1\u4E2D"},lt=[{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"}],g=[{value:"\u8FD8\u5728\u8BBE\u8BA1\u4E2D",paraId:0}],X={},me={title:"API Reference",toc:"content",filename:"examples/core-react/800-api-reference.md",lastUpdated:1704440107e3,group:{title:"API \u624B\u518C",order:800},description:"\u53C2\u89C1\u9519\u8BEF\u63D0\u793A\u4FE1\u606F\u3002"},Pe=[{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"}],Je=[{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}],Qe={"examples-form-render-react-700-locale-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne;return l()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.next=2,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070)]).then(e.bind(e,39070));case 2:return be=he.sent,Ce=be.default,he.next=6,e.e(1647).then(e.bind(e,81647));case 6:return Re=he.sent,Ee=Re.default,Oe={renderType:"Root",properties:{username:{title:"username",renderType:"InputText",required:!0},password:{title:"password",renderType:"Password",required:!0}}},Ne=function(){return s.createElement(Ce,{rootStyle:{maxWidth:500},schema:Oe,locale:Ee})},he.abrupt("return",{default:Ne});case 11:case"end":return he.stop()}},nt)})))),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.1.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},_e={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"},lt=[{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"}],g=[{value:"\u8FD8\u5728\u8BBE\u8BA1\u4E2D",paraId:0}],X={},me={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"},Pe=[{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"}],Je=[{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}],Qe={"examples-form-render-react-700-locale-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne;return l()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.next=2,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070)]).then(e.bind(e,39070));case 2:return be=he.sent,Ce=be.default,he.next=6,e.e(1647).then(e.bind(e,81647));case 6:return Re=he.sent,Ee=Re.default,Oe={renderType:"Root",properties:{username:{title:"username",renderType:"InputText",required:!0},password:{title:"password",renderType:"Password",required:!0}}},Ne=function(){return s.createElement(Ce,{rootStyle:{maxWidth:500},schema:Oe,locale:Ee})},he.abrupt("return",{default:Ne});case 11:case"end":return he.stop()}},nt)})))),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 @@ -1143,7 +1143,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/form-render-react":{type:"NPM",value:"1.1.0"}}}}},Be={title:"\u56FD\u9645\u5316 locale",toc:"content",filename:"examples/form-render-react/700-locale.md",lastUpdated:1704440107e3,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"},mt=[{id:"\u56FD\u9645\u5316-locale",depth:1,title:"\u56FD\u9645\u5316 locale"}],It=[{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}],xt={},wt={title:"\u4ECB\u7ECD",toc:"menu",filename:"examples/search-table-react/001-intro.md",lastUpdated:1704440107e3,description:"\u6B63\u5728\u5EFA\u8BBE\u4E2D"},Te=[{id:"\u4ECB\u7ECD",depth:1,title:"\u4ECB\u7ECD"}],et=[{value:"\u6B63\u5728\u5EFA\u8BBE\u4E2D",paraId:0}],at={"examples-core-react-200-change-event-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye;return l()().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 be=le.sent,Ce=be.useState,le.next=6,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 6:return Re=le.sent,Ee=Re.default,le.next=10,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 10:return Oe=le.sent,Ne=Oe.default,le.next=14,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 14:return we=le.sent,he=we.default,le.next=18,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 18:return tt=le.sent,W=tt.default,He={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"TextArea"}}},ye=function(){var Ae=Ce({}),Tt=a()(Ae,2),x=Tt[0],A=Tt[1];return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(Ee,{schema:He,itemLayout:W,renderers:he,value:x,onChange:function(Y){return A(Y)}}),s.createElement(Ne,{value:x}))},le.abrupt("return",{default:ye});case 23:case"end":return le.stop()}},nt)})))),asset:{type:"BLOCK",id:"examples-core-react-200-change-event-demo-0",refAtomIds:[],dependencies:{"index.tsx":{type:"FILE",value:`import { useState } from 'react' +export default Demo`},"@schema-render/form-render-react":{type:"NPM",value:"1.1.0"}}}}},Be={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"},mt=[{id:"\u56FD\u9645\u5316-locale",depth:1,title:"\u56FD\u9645\u5316 locale"}],It=[{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}],xt={},wt={title:"\u4ECB\u7ECD",toc:"menu",filename:"examples/search-table-react/001-intro.md",lastUpdated:1704082387e3,description:"\u6B63\u5728\u5EFA\u8BBE\u4E2D"},Te=[{id:"\u4ECB\u7ECD",depth:1,title:"\u4ECB\u7ECD"}],et=[{value:"\u6B63\u5728\u5EFA\u8BBE\u4E2D",paraId:0}],at={"examples-core-react-200-change-event-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye;return l()().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 be=le.sent,Ce=be.useState,le.next=6,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 6:return Re=le.sent,Ee=Re.default,le.next=10,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 10:return Oe=le.sent,Ne=Oe.default,le.next=14,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 14:return we=le.sent,he=we.default,le.next=18,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 18:return tt=le.sent,W=tt.default,He={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"TextArea"}}},ye=function(){var Ae=Ce({}),Tt=a()(Ae,2),x=Tt[0],A=Tt[1];return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(Ee,{schema:He,itemLayout:W,renderers:he,value:x,onChange:function(Y){return A(Y)}}),s.createElement(Ne,{value:x}))},le.abrupt("return",{default:ye});case 23:case"end":return le.stop()}},nt)})))),asset:{type:"BLOCK",id:"examples-core-react-200-change-event-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' @@ -1325,7 +1325,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.1.7"},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}}},Ve={title:"\u6570\u636E\u4E8B\u4EF6 ChangeEvent",toc:"content",filename:"examples/core-react/200-change-event.md",lastUpdated:1704440107e3,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"},St=[{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"}],Ot=[{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}],zt={"examples-core-react-951-controllable-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye;return l()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 2:return be=le.sent,Ce=be.default,le.next=6,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 6:return Re=le.sent,Ee=Re.default,le.next=10,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 10:return Oe=le.sent,Ne=Oe.default,le.next=14,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 14:return we=le.sent,he=we.default,le.next=18,Promise.resolve().then(e.t.bind(e,50959,19));case 18:return tt=le.sent,W=tt.useState,He={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},ye=function(){var Ae=W({}),Tt=a()(Ae,2),x=Tt[0],A=Tt[1];return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(Ee,{schema:He,itemLayout:Ne,renderers:he,value:x,onChange:function(Y){return A(Y)}}),s.createElement(Ce,{value:x}))},le.abrupt("return",{default:ye});case 23:case"end":return le.stop()}},nt)})))),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.1.7"},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}}},Ve={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"},St=[{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"}],Ot=[{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}],zt={"examples-core-react-951-controllable-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye;return l()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 2:return be=le.sent,Ce=be.default,le.next=6,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 6:return Re=le.sent,Ee=Re.default,le.next=10,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 10:return Oe=le.sent,Ne=Oe.default,le.next=14,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 14:return we=le.sent,he=we.default,le.next=18,Promise.resolve().then(e.t.bind(e,50959,19));case 18:return tt=le.sent,W=tt.useState,He={renderType:"Root",properties:{title:{title:"\u6807\u9898",renderType:"InputText"},content:{title:"\u5185\u5BB9",renderType:"Textarea"}}},ye=function(){var Ae=W({}),Tt=a()(Ae,2),x=Tt[0],A=Tt[1];return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(Ee,{schema:He,itemLayout:Ne,renderers:he,value:x,onChange:function(Y){return A(Y)}}),s.createElement(Ce,{value:x}))},le.abrupt("return",{default:ye});case 23:case"end":return le.stop()}},nt)})))),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' @@ -1501,7 +1501,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},"@schema-render/core-react":{type:"NPM",value:"1.1.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}}}}},Qt={title:"\u53D7\u63A7\u4E0E\u975E\u53D7\u63A7\u652F\u6301",toc:"content",filename:"examples/core-react/951-controllable.md",lastUpdated:1704440107e3,group:{title:"\u4EC5\u5F00\u53D1\u8C03\u8BD5"},debug:!0,description:"\u6709 value\uFF0C\u6709 onChange \u573A\u666F"},ln=[{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"}],jn=[{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}],yn={"examples-form-render-react-001-intro-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W;return l()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.next=2,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 2:return be=ye.sent,Ce=be.default,ye.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return Re=ye.sent,Ee=Re.useState,ye.next=10,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 10:return Oe=ye.sent,Ne=Oe.message,ye.next=14,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070)]).then(e.bind(e,39070));case 14:return we=ye.sent,he=we.default,tt={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"}]}}},W=function(){var le=Ee({}),We=a()(le,2),Ae=We[0],Tt=We[1];return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(he,{schema:tt,value:Ae,onChange:Tt,onSubmit:function(){Ne.success("\u63D0\u4EA4\u6210\u529F")}}),s.createElement(Ce,{value:Ae}))},ye.abrupt("return",{default:W});case 19:case"end":return ye.stop()}},nt)})))),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.1.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}}}}},Qt={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"},ln=[{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"}],jn=[{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}],yn={"examples-form-render-react-001-intro-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W;return l()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.next=2,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 2:return be=ye.sent,Ce=be.default,ye.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return Re=ye.sent,Ee=Re.useState,ye.next=10,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 10:return Oe=ye.sent,Ne=Oe.message,ye.next=14,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070)]).then(e.bind(e,39070));case 14:return we=ye.sent,he=we.default,tt={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"}]}}},W=function(){var le=Ee({}),We=a()(le,2),Ae=We[0],Tt=We[1];return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(he,{schema:tt,value:Ae,onChange:Tt,onSubmit:function(){Ne.success("\u63D0\u4EA4\u6210\u529F")}}),s.createElement(Ce,{value:Ae}))},ye.abrupt("return",{default:W});case 19:case"end":return ye.stop()}},nt)})))),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' @@ -1558,7 +1558,7 @@ const Demo = () => { ) } -export default Demo`},root:{type:"NPM"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.1.7"},"@schema-render/form-render-react":{type:"NPM",value:"1.1.0"}}}}},Fn={title:"\u4ECB\u7ECD",toc:"content",filename:"examples/form-render-react/001-intro.md",lastUpdated:1704440107e3,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"},Vn=[{id:"\u4ECB\u7ECD",depth:1,title:"\u4ECB\u7ECD"},{id:"\u5B89\u88C5",depth:2,title:"\u5B89\u88C5"},{id:"\u4F7F\u7528",depth:2,title:"\u4F7F\u7528"}],jr=[{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.1.7"},"@schema-render/form-render-react":{type:"NPM",value:"1.1.0"}}}}},Fn={title:"\u4ECB\u7ECD",toc:"content",filename:"examples/form-render-react/001-intro.md",lastUpdated:1704082387e3,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"},Vn=[{id:"\u4ECB\u7ECD",depth:1,title:"\u4ECB\u7ECD"},{id:"\u5B89\u88C5",depth:2,title:"\u5B89\u88C5"},{id:"\u4F7F\u7528",depth:2,title:"\u4F7F\u7528"}],jr=[{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}],Vt={"examples-form-render-react-200-label-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().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 be=W.sent,Ce=be.useState,W.next=6,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070)]).then(e.bind(e,39070));case 10:return Oe=W.sent,Ne=Oe.default,we={renderType:"Root",properties:{username:{title:"\u7528\u6237\u540D",renderType:"InputText",required:!0},password:{title:"\u5BC6\u7801",renderType:"Password",required:!0}}},he=function(){var ye=Ce({}),ut=a()(ye,2),le=ut[0],We=ut[1];return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(Ne,{labelWidth:100,schema:we,value:le,onChange:We}),s.createElement(Ee,{value:le}))},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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' import FormRender from '@schema-render/form-render-react' @@ -1746,7 +1746,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.1.0"},"@ant-design/icons":{type:"NPM",value:"5.0.1"},antd:{type:"NPM",value:"5.1.7"}}}}},bt={title:"\u6807\u9898\u8BBE\u7F6E label",toc:"content",filename:"examples/form-render-react/200-label.md",lastUpdated:1704440107e3,order:200,description:"label \u76F8\u5173\u7684\u914D\u7F6E\u4E3B\u8981\u9488\u5BF9\u4E8E itemLayout \u4E3A horizontal \u7684\u573A\u666F\u3002"},Mt=[{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"}],Yt=[{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}],qt={"examples-core-react-002-quick-start-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=W.sent,Ce=be.default,W.next=6,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 6:return Re=W.sent,Ee=Re.Input,Oe=function(ye){var ut=ye.schema,le=ye.body;return s.createElement("div",null,s.createElement("h3",null,ut.title),s.createElement("div",null,le))},Ne={InputText:{component:function(ye){var ut=ye.schema,le=ye.value,We=ye.onChange;return s.createElement(Ee,$()($()({},ut.renderOptions),{},{value:le,onChange:function(Tt){return We(Tt.target.value)}}))}},Textarea:{component:function(ye){var ut=ye.schema,le=ye.value,We=ye.onChange;return s.createElement(Ee.TextArea,$()($()({placeholder:"\u8BF7\u8F93\u5165".concat(ut.title)},ut.renderOptions),{},{value:le,onChange:function(Tt){return We(Tt.target.value)}}))}}},we={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"}}},he=function(){return s.createElement(Ce,{itemLayout:Oe,renderers:Ne,schema:we})},W.abrupt("return",{default:he});case 13:case"end":return W.stop()}},nt)})))),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`},react:{type:"NPM",value:"18.2.0"},root:{type:"NPM"},"@schema-render/form-render-react":{type:"NPM",value:"1.1.0"},"@ant-design/icons":{type:"NPM",value:"5.0.1"},antd:{type:"NPM",value:"5.1.7"}}}}},bt={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"},Mt=[{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"}],Yt=[{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}],qt={"examples-core-react-002-quick-start-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=W.sent,Ce=be.default,W.next=6,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 6:return Re=W.sent,Ee=Re.Input,Oe=function(ye){var ut=ye.schema,le=ye.body;return s.createElement("div",null,s.createElement("h3",null,ut.title),s.createElement("div",null,le))},Ne={InputText:{component:function(ye){var ut=ye.schema,le=ye.value,We=ye.onChange;return s.createElement(Ee,$()($()({},ut.renderOptions),{},{value:le,onChange:function(Tt){return We(Tt.target.value)}}))}},Textarea:{component:function(ye){var ut=ye.schema,le=ye.value,We=ye.onChange;return s.createElement(Ee.TextArea,$()($()({placeholder:"\u8BF7\u8F93\u5165".concat(ut.title)},ut.renderOptions),{},{value:le,onChange:function(Tt){return We(Tt.target.value)}}))}}},we={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"}}},he=function(){return s.createElement(Ce,{itemLayout:Oe,renderers:Ne,schema:we})},W.abrupt("return",{default:he});case 13:case"end":return W.stop()}},nt)})))),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' /** @@ -1925,7 +1925,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},antd:{type:"NPM",value:"5.1.7"},react:{type:"NPM",value:"18.2.0"}}}}},fn={title:"\u5FEB\u901F\u4E0A\u624B",toc:"content",filename:"examples/core-react/002-quick-start.md",lastUpdated:1704440107e3,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"},_n=[{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"}],Kn=[{value:`npm install @schema-render/core-react --save +export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},antd:{type:"NPM",value:"5.1.7"},react:{type:"NPM",value:"18.2.0"}}}}},fn={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"},_n=[{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"}],Kn=[{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}],ir={"examples-core-react-101-item-layout-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye,ut,le;return l()().wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=Ae.sent,Ce=be.default,Ae.next=6,Promise.all([e.e(1875),e.e(3825),e.e(415)]).then(e.bind(e,60415));case 6:return Re=Ae.sent,Ee=Re.QuestionCircleOutlined,Ae.next=10,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 10:return Oe=Ae.sent,Ne=Oe.Popover,Ae.next=14,Promise.resolve().then(e.t.bind(e,84875,23));case 14:return we=Ae.sent,he=we.default,Ae.next=18,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 18:return tt=Ae.sent,W=tt.default,Ae.next=22,Promise.all([e.e(8104),e.e(5168)]).then(e.bind(e,5168));case 22:return He=Ae.sent,ye=function(x){var A=x.body,M=x.schema,Y=x.validator,Me=x.required,ze=x.prefixClassNames;return s.createElement("div",{className:ze("item-layout-vertical")},s.createElement("div",{className:he(ze("item-header"),He.header)},Me&&s.createElement("span",{className:he(ze("item-mark"),He.mark)},"*"),s.createElement("span",{className:he(ze("item-title"),He.title)},M.title),!!M.titleDescription&&s.createElement(Ne,{placement:"top",trigger:"hover",content:M.titleDescription},s.createElement(Ee,{className:he(ze("item-title-tooltip"),He.titleTooltip)}))),s.createElement("div",{className:ze("item-body")},A),s.createElement("div",{className:he(ze("item-footer"),He.footer)},Y.status==="error"&&!!Y.message&&s.createElement("div",{className:he(ze("item-error-msg"),He.errorMsg)},Y.message),!!M.description&&s.createElement("div",{className:he(ze("item-desc"),He.desc)},M.description)))},ut={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}}},le=function(){return s.createElement(Ce,{schema:ut,itemLayout:ye,renderers:W})},Ae.abrupt("return",{default:le});case 27:case"end":return Ae.stop()}},nt)})))),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' @@ -2125,7 +2125,7 @@ const Demo = () => { return } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},"@ant-design/icons":{type:"NPM",value:"5.0.1"},antd:{type:"NPM",value:"5.1.7"},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}}}}},lr={title:"\u5E03\u5C40\u7ED3\u6784 itemLayout",toc:"content",filename:"examples/core-react/101-item-layout.md",lastUpdated:1704440107e3,group:"\u6837\u5F0F\u5B9A\u5236",order:101,description:"itemLayout \u7528\u4E8E\u5B9A\u4E49 \u8868\u5355\u9879\u5185\u90E8 \u7684\u5E03\u5C40\u7ED3\u6784\u3002"},Vr=[{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"}],Qn=[{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}],ba={"examples-core-react-102-prefix-cls-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=W.sent,Ce=be.default,W.next=6,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 10:return Oe=W.sent,Ne=Oe.default,we={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"}}},he=function(){return s.createElement(Ce,{schema:we,itemLayout:Ee,renderers:Ne,prefixCls:"my-cls"})},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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.1.0"},"@ant-design/icons":{type:"NPM",value:"5.0.1"},antd:{type:"NPM",value:"5.1.7"},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}}}}},lr={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"},Vr=[{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"}],Qn=[{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}],ba={"examples-core-react-102-prefix-cls-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=W.sent,Ce=be.default,W.next=6,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 10:return Oe=W.sent,Ne=Oe.default,we={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"}}},he=function(){return s.createElement(Ce,{schema:we,itemLayout:Ee,renderers:Ne,prefixCls:"my-cls"})},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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' @@ -2162,7 +2162,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}}},po={title:"\u7C7B\u540D\u5B9A\u5236 prefixCls",toc:"content",filename:"examples/core-react/102-prefix-cls.md",lastUpdated:1704440107e3,group:"\u6837\u5F0F\u5B9A\u5236",order:102,description:"\u901A\u8FC7 prefixCls \u5B9A\u5236\u6837\u5F0F\u7C7B\u540D\u524D\u7F00"},vr=[{id:"\u7C7B\u540D\u5B9A\u5236-prefixcls",depth:1,title:"\u7C7B\u540D\u5B9A\u5236 prefixCls"}],$o=[{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}],$a={},Va={title:"Playground",toc:"menu",filename:"examples/core-react/910-playground.md",lastUpdated:1704440107e3,group:"\u8F85\u52A9\u5DE5\u5177",order:910,debug:!0},Ca=[{id:"playground",depth:1,title:"Playground"}],za=[],vo={"examples-core-react-223-validator-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=W.sent,Ce=be.default,W.next=6,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 10:return Oe=W.sent,Ne=Oe.default,we={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"}]}}},he=function(){return s.createElement(Ce,{schema:we,itemLayout:Ee,renderers:Ne})},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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.1.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},po={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"},vr=[{id:"\u7C7B\u540D\u5B9A\u5236-prefixcls",depth:1,title:"\u7C7B\u540D\u5B9A\u5236 prefixCls"}],$o=[{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}],$a={},Va={title:"Playground",toc:"menu",filename:"examples/core-react/910-playground.md",lastUpdated:1704082387e3,group:"\u8F85\u52A9\u5DE5\u5177",order:910,debug:!0},Ca=[{id:"playground",depth:1,title:"Playground"}],za=[],vo={"examples-core-react-223-validator-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=W.sent,Ce=be.default,W.next=6,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 10:return Oe=W.sent,Ne=Oe.default,we={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"}]}}},he=function(){return s.createElement(Ce,{schema:we,itemLayout:Ee,renderers:Ne})},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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' @@ -2386,7 +2386,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.1.7"},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}}},ar={title:"\u6821\u9A8C\u5668 Validator",toc:"content",filename:"examples/core-react/223-validator.md",lastUpdated:1704440107e3,group:"\u529F\u80FD\u8BE6\u89E3",order:223,description:"\u6821\u9A8C\u529F\u80FD\u6709\u5982\u4E0B\u4E09\u79CD\u65B9\u5F0F\u5B9A\u4E49\uFF1A"},va=[{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"}],zo=[{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.1.7"},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}}},ar={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"},va=[{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"}],zo=[{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}],ia={"examples-search-react-300-actions-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W;return l()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.next=2,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 2:return be=ye.sent,Ce=be.ConfigProvider,ye.next=6,e.e(7693).then(e.bind(e,7693));case 6:return Re=ye.sent,Ee=Re.sleep,ye.next=10,e.e(6441).then(e.bind(e,96441));case 10:return Oe=ye.sent,Ne=Oe.default,ye.next=14,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070),e.e(1670)]).then(e.bind(e,41670));case 14:return we=ye.sent,he=we.default,tt={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}]}}}},W=function(){var le=function(){var Ae=c()(l()().mark(function Tt(x){return l()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return console.log("searchParams:",x),M.next=3,Ee();case 3:case"end":return M.stop()}},Tt)}));return function(x){return Ae.apply(this,arguments)}}(),We=function(Tt){console.log("isCollapsed:",Tt)};return s.createElement(Ce,{locale:Ne},s.createElement(he,{schema:tt,onSubmit:le,onReset:le,onToggleCollapsed:We}))},ye.abrupt("return",{default:W});case 19:case"end":return ye.stop()}},nt)})))),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' @@ -2492,7 +2492,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.1.7"},root:{type:"NPM"},"@schema-render/search-react":{type:"NPM",value:"1.1.0"}}}}},Bn={title:"\u884C\u4E3A\u64CD\u4F5C actions",toc:"content",filename:"examples/search-react/300-actions.md",lastUpdated:1704440107e3,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"},er=[{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"}],or=[{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}],Ur={"examples-core-react-210-relation-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye;return l()().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 be=le.sent,Ce=be.useState,le.next=6,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 6:return Re=le.sent,Ee=Re.default,le.next=10,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 10:return Oe=le.sent,Ne=Oe.default,le.next=14,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 14:return we=le.sent,he=we.default,le.next=18,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 18:return tt=le.sent,W=tt.default,He={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"}}},ye=function(){var Ae=Ce({}),Tt=a()(Ae,2),x=Tt[0],A=Tt[1];return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(Ee,{schema:He,itemLayout:W,renderers:he,value:x,onChange:function(Y,Me){(Me.sPath==="width"||Me.sPath==="height")&&(Y.width=Me.value,Y.height=Me.value),A(Y)}}),s.createElement(Ne,{value:x}))},le.abrupt("return",{default:ye});case 23:case"end":return le.stop()}},nt)})))),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.1.7"},root:{type:"NPM"},"@schema-render/search-react":{type:"NPM",value:"1.1.0"}}}}},Bn={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"},er=[{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"}],or=[{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}],Ur={"examples-core-react-210-relation-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye;return l()().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 be=le.sent,Ce=be.useState,le.next=6,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 6:return Re=le.sent,Ee=Re.default,le.next=10,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 10:return Oe=le.sent,Ne=Oe.default,le.next=14,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 14:return we=le.sent,he=we.default,le.next=18,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 18:return tt=le.sent,W=tt.default,He={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"}}},ye=function(){var Ae=Ce({}),Tt=a()(Ae,2),x=Tt[0],A=Tt[1];return s.createElement("div",{className:"example-layout-cols-2"},s.createElement(Ee,{schema:He,itemLayout:W,renderers:he,value:x,onChange:function(Y,Me){(Me.sPath==="width"||Me.sPath==="height")&&(Y.width=Me.value,Y.height=Me.value),A(Y)}}),s.createElement(Ne,{value:x}))},le.abrupt("return",{default:ye});case 23:case"end":return le.stop()}},nt)})))),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' @@ -2702,7 +2702,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.1.7"},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},ma={title:"\u6570\u636E\u8054\u52A8 Relation",toc:"content",filename:"examples/core-react/210-relation.md",lastUpdated:1704440107e3,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"},Ho=[{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"}],Na=[{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}],gi={"examples-core-react-220-renderer-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt;return l()().wrap(function(He){for(;;)switch(He.prev=He.next){case 0:return He.next=2,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 2:return be=He.sent,Ce=be.Rate,He.next=6,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 6:return Re=He.sent,Ee=Re.default,He.next=10,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 10:return Oe=He.sent,Ne=Oe.default,we={MyRate:{component:function(ut){var le=ut.disabled,We=ut.value,Ae=ut.onChange;return s.createElement(Ce,{disabled:le,value:We,onChange:Ae})}}},he={renderType:"Root",properties:{rate:{title:"\u8BC4\u5206",renderType:"MyRate"}}},tt=function(){return s.createElement(Ee,{schema:he,itemLayout:Ne,renderers:we})},He.abrupt("return",{default:tt});case 16:case"end":return He.stop()}},nt)})))),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.1.7"},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},root:{type:"NPM"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},ma={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"},Ho=[{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"}],Na=[{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}],gi={"examples-core-react-220-renderer-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt;return l()().wrap(function(He){for(;;)switch(He.prev=He.next){case 0:return He.next=2,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 2:return be=He.sent,Ce=be.Rate,He.next=6,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 6:return Re=He.sent,Ee=Re.default,He.next=10,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 10:return Oe=He.sent,Ne=Oe.default,we={MyRate:{component:function(ut){var le=ut.disabled,We=ut.value,Ae=ut.onChange;return s.createElement(Ce,{disabled:le,value:We,onChange:Ae})}}},he={renderType:"Root",properties:{rate:{title:"\u8BC4\u5206",renderType:"MyRate"}}},tt=function(){return s.createElement(Ee,{schema:he,itemLayout:Ne,renderers:we})},He.abrupt("return",{default:tt});case 16:case"end":return He.stop()}},nt)})))),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' @@ -2781,7 +2781,7 @@ const Demo = () => { ) } -export default Demo`},antd:{type:"NPM",value:"5.1.7"},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Ii={title:"\u6E32\u67D3\u5668 Renderer",toc:"content",filename:"examples/core-react/220-renderer.md",lastUpdated:1704440107e3,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"},Uo=[{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:"validator",depth:2,title:"validator"}],Kr=[{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:"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:"component",paraId:2,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:2,tocIndex:1},{value:"itemLayout",paraId:2,tocIndex:1},{value:" \u7EDF\u4E00\u7BA1\u7406\u3002",paraId:2,tocIndex:1},{value:"\u4E0B\u9762\u901A\u8FC7 ",paraId:3,tocIndex:1},{value:"component",paraId:3,tocIndex:1},{value:" \u6A21\u5F0F\u5B9E\u73B0\u4E00\u4E2A\u81EA\u5B9A\u4E49\u8BC4\u5206\u6E32\u67D3\u5668\u3002",paraId:3,tocIndex:1},{value:"\u5982\u679C\u662F TypeScript \u9879\u76EE\uFF0C\u53EF\u4EE5\u901A\u8FC7 ",paraId:4,tocIndex:2},{value:"IOpenComponentParams",paraId:4,tocIndex:2},{value:" \u7C7B\u578B\u4E86\u89E3\u6240\u6709\u7684\u53C2\u6570\u53CA\u5176\u6CE8\u89E3\u3002",paraId:4,tocIndex:2},{value:"\u53C2\u6570",paraId:5,tocIndex:2},{value:"\u8BF4\u660E",paraId:5,tocIndex:2},{value:"\u7C7B\u578B",paraId:5,tocIndex:2},{value:"schema",paraId:5,tocIndex:2},{value:"Schema \u534F\u8BAE\u63CF\u8FF0\u5BF9\u8C61",paraId:5,tocIndex:2},{value:"ISchema",paraId:5,tocIndex:2},{value:"value",paraId:5,tocIndex:2},{value:"\u5F53\u524D\u8868\u5355\u9879\u7684\u503C",paraId:5,tocIndex:2},{value:"any",paraId:5,tocIndex:2},{value:"rootValue",paraId:5,tocIndex:2},{value:"\u8868\u5355\u6574\u4F53\u6570\u636E",paraId:5,tocIndex:2},{value:"object",paraId:5,tocIndex:2},{value:"path",paraId:5,tocIndex:2},{value:"\u5F53\u524D\u8868\u5355\u9879\u7684\u8DEF\u5F84",paraId:5,tocIndex:2},{value:"array",paraId:5,tocIndex:2},{value:"sPath",paraId:5,tocIndex:2},{value:"\u5F53\u524D\u8868\u5355\u9879\u7684\u8DEF\u5F84\u5B57\u7B26\u4E32\u683C\u5F0F\u8868\u793A",paraId:5,tocIndex:2},{value:"string",paraId:5,tocIndex:2},{value:"required",paraId:5,tocIndex:2},{value:"\u662F\u5426\u5FC5\u586B\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:5,tocIndex:2},{value:"boolean",paraId:5,tocIndex:2},{value:"disabled",paraId:5,tocIndex:2},{value:"\u662F\u5426\u7981\u7528\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:5,tocIndex:2},{value:"boolean",paraId:5,tocIndex:2},{value:"readonly",paraId:5,tocIndex:2},{value:"\u662F\u5426\u53EA\u8BFB\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:5,tocIndex:2},{value:"boolean",paraId:5,tocIndex:2},{value:"locale",paraId:5,tocIndex:2},{value:"\u56FD\u9645\u5316\u8BED\u8A00\u6570\u636E",paraId:5,tocIndex:2},{value:"object",paraId:5,tocIndex:2},{value:"userCtx",paraId:5,tocIndex:2},{value:"\u7528\u6237\u5168\u5C40\u4E0A\u4E0B\u6587\u6570\u636E",paraId:5,tocIndex:2},{value:"object",paraId:5,tocIndex:2},{value:"objectStyle",paraId:5,tocIndex:2},{value:"\u5BF9\u8C61\u7C7B\u578B\u6837\u5F0F",paraId:5,tocIndex:2},{value:"object",paraId:5,tocIndex:2},{value:"validator",paraId:5,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:5,tocIndex:2},{value:"object",paraId:5,tocIndex:2},{value:"onChange",paraId:5,tocIndex:2},{value:"\u8868\u5355\u9879\u503C\u56DE\u8C03\u4E8B\u4EF6",paraId:5,tocIndex:2},{value:"Function",paraId:5,tocIndex:2},{value:"\u51FD\u6570\u7C7B\u578B\uFF1A",paraId:6,tocIndex:3},{value:"(value: any, options?: IOpenChangeOptions) => void",paraId:6,tocIndex:3},{value:"options",paraId:6,tocIndex:3},{value:` \u53EF\u9009\u53C2\u6570\u5982\u4E0B\uFF1A +export default Demo`},antd:{type:"NPM",value:"5.1.7"},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Ii={title:"\u6E32\u67D3\u5668 Renderer",toc:"content",filename:"examples/core-react/220-renderer.md",lastUpdated:1704082387e3,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"},Uo=[{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:"validator",depth:2,title:"validator"}],Kr=[{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:"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:"component",paraId:2,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:2,tocIndex:1},{value:"itemLayout",paraId:2,tocIndex:1},{value:" \u7EDF\u4E00\u7BA1\u7406\u3002",paraId:2,tocIndex:1},{value:"\u4E0B\u9762\u901A\u8FC7 ",paraId:3,tocIndex:1},{value:"component",paraId:3,tocIndex:1},{value:" \u6A21\u5F0F\u5B9E\u73B0\u4E00\u4E2A\u81EA\u5B9A\u4E49\u8BC4\u5206\u6E32\u67D3\u5668\u3002",paraId:3,tocIndex:1},{value:"\u5982\u679C\u662F TypeScript \u9879\u76EE\uFF0C\u53EF\u4EE5\u901A\u8FC7 ",paraId:4,tocIndex:2},{value:"IOpenComponentParams",paraId:4,tocIndex:2},{value:" \u7C7B\u578B\u4E86\u89E3\u6240\u6709\u7684\u53C2\u6570\u53CA\u5176\u6CE8\u89E3\u3002",paraId:4,tocIndex:2},{value:"\u53C2\u6570",paraId:5,tocIndex:2},{value:"\u8BF4\u660E",paraId:5,tocIndex:2},{value:"\u7C7B\u578B",paraId:5,tocIndex:2},{value:"schema",paraId:5,tocIndex:2},{value:"Schema \u534F\u8BAE\u63CF\u8FF0\u5BF9\u8C61",paraId:5,tocIndex:2},{value:"ISchema",paraId:5,tocIndex:2},{value:"value",paraId:5,tocIndex:2},{value:"\u5F53\u524D\u8868\u5355\u9879\u7684\u503C",paraId:5,tocIndex:2},{value:"any",paraId:5,tocIndex:2},{value:"rootValue",paraId:5,tocIndex:2},{value:"\u8868\u5355\u6574\u4F53\u6570\u636E",paraId:5,tocIndex:2},{value:"object",paraId:5,tocIndex:2},{value:"path",paraId:5,tocIndex:2},{value:"\u5F53\u524D\u8868\u5355\u9879\u7684\u8DEF\u5F84",paraId:5,tocIndex:2},{value:"array",paraId:5,tocIndex:2},{value:"sPath",paraId:5,tocIndex:2},{value:"\u5F53\u524D\u8868\u5355\u9879\u7684\u8DEF\u5F84\u5B57\u7B26\u4E32\u683C\u5F0F\u8868\u793A",paraId:5,tocIndex:2},{value:"string",paraId:5,tocIndex:2},{value:"required",paraId:5,tocIndex:2},{value:"\u662F\u5426\u5FC5\u586B\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:5,tocIndex:2},{value:"boolean",paraId:5,tocIndex:2},{value:"disabled",paraId:5,tocIndex:2},{value:"\u662F\u5426\u7981\u7528\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:5,tocIndex:2},{value:"boolean",paraId:5,tocIndex:2},{value:"readonly",paraId:5,tocIndex:2},{value:"\u662F\u5426\u53EA\u8BFB\u6001\uFF0C\u503C\u4E3A\u8BA1\u7B97\u540E\u7684\u7ED3\u679C",paraId:5,tocIndex:2},{value:"boolean",paraId:5,tocIndex:2},{value:"locale",paraId:5,tocIndex:2},{value:"\u56FD\u9645\u5316\u8BED\u8A00\u6570\u636E",paraId:5,tocIndex:2},{value:"object",paraId:5,tocIndex:2},{value:"userCtx",paraId:5,tocIndex:2},{value:"\u7528\u6237\u5168\u5C40\u4E0A\u4E0B\u6587\u6570\u636E",paraId:5,tocIndex:2},{value:"object",paraId:5,tocIndex:2},{value:"objectStyle",paraId:5,tocIndex:2},{value:"\u5BF9\u8C61\u7C7B\u578B\u6837\u5F0F",paraId:5,tocIndex:2},{value:"object",paraId:5,tocIndex:2},{value:"validator",paraId:5,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:5,tocIndex:2},{value:"object",paraId:5,tocIndex:2},{value:"onChange",paraId:5,tocIndex:2},{value:"\u8868\u5355\u9879\u503C\u56DE\u8C03\u4E8B\u4EF6",paraId:5,tocIndex:2},{value:"Function",paraId:5,tocIndex:2},{value:"\u51FD\u6570\u7C7B\u578B\uFF1A",paraId:6,tocIndex:3},{value:"(value: any, options?: IOpenChangeOptions) => void",paraId:6,tocIndex:3},{value:"options",paraId:6,tocIndex:3},{value:` \u53EF\u9009\u53C2\u6570\u5982\u4E0B\uFF1A `,paraId:6,tocIndex:3},{value:"triggerValidator",paraId:7,tocIndex:3},{value:": \u662F\u5426\u89E6\u53D1\u6821\u9A8C\u5668\uFF0C",paraId:7,tocIndex:3},{value:"boolean",paraId:7,tocIndex:3},{value:" \u7C7B\u578B\u3002",paraId:7,tocIndex:3},{value:"extra",paraId:7,tocIndex:3},{value:": \u643A\u5E26\u7684\u989D\u5916\u6570\u636E\uFF0C\u4EFB\u610F\u7C7B\u578B\u3002",paraId:7,tocIndex:3},{value:"formItem",paraId:8,tocIndex:4},{value:" \u6A21\u5F0F\u9002\u7528\u4E8E\u9700\u8981\u7A81\u7834 ",paraId:8,tocIndex:4},{value:"itemLayout",paraId:8,tocIndex:4},{value:" \u7684\u9650\u5236\uFF0C\u72EC\u81EA\u5B9A\u4E49\u8868\u5355\u9879\u7684\u5E03\u5C40\u7684\u573A\u666F\u3002",paraId:8,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:9,tocIndex:4},{value:"\u5982\u679C\u662F TypeScript \u9879\u76EE\uFF0C\u53EF\u4EE5\u901A\u8FC7 ",paraId:10,tocIndex:5},{value:"IOpenFormItemParams",paraId:10,tocIndex:5},{value:" \u7C7B\u578B\u4E86\u89E3\u6240\u6709\u7684\u53C2\u6570\u53CA\u5176\u6CE8\u89E3\u3002",paraId:10,tocIndex:5},{value:"\u76EE\u524D ",paraId:11,tocIndex:5},{value:"formItem",paraId:11,tocIndex:5},{value:" \u53C2\u6570\u4E0E ",paraId:11,tocIndex:5},{value:"component",paraId:11,tocIndex:5},{value:" \u53C2\u6570\u4E00\u81F4\u3002",paraId:11,tocIndex:5},{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:12,tocIndex:6},{value:"Renderer Validator",paraId:13,tocIndex:6},{value:"\u3002",paraId:12,tocIndex:6}],Zr={"examples-core-react-280-open-api-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye,ut,le;return l()().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 be=Ae.sent,Ce=be.useState,Re=be.useRef,Ae.next=7,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 7:return Ee=Ae.sent,Oe=Ee.Button,Ne=Ee.message,Ae.next=12,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 12:return we=Ae.sent,he=we.default,Ae.next=16,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 16:return tt=Ae.sent,W=tt.default,Ae.next=20,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 20:return He=Ae.sent,ye=He.default,ut={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}}},le=function(){var x=Ce({}),A=a()(x,2),M=A[0],Y=A[1],Me=Re(null);function ze(){return Ye.apply(this,arguments)}function Ye(){return Ye=c()(l()().mark(function ot(){var pt,ht,Lt;return l()().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return jt.next=2,Me.current.validate();case 2:if(pt=jt.sent,ht=pt.hasError,Lt=pt.errorList,console.log("[validate] hasError: ",ht),console.log("[validate] errorList: ",Lt),!ht){jt.next=9;break}return jt.abrupt("return",Ne.error("\u9A8C\u8BC1\u9519\u8BEF"));case 9:Ne.success("\u9A8C\u8BC1\u6210\u529F");case 10:case"end":return jt.stop()}},ot)})),Ye.apply(this,arguments)}return s.createElement("div",null,s.createElement(he,{ref:Me,schema:ut,value:M,onChange:Y,itemLayout:ye,renderers:W}),s.createElement(Oe,{type:"primary",style:{margin:"24px 0 0 115px"},onClick:ze},"\u63D0\u4EA4"))},Ae.abrupt("return",{default:le});case 25:case"end":return Ae.stop()}},nt)})))),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' @@ -2999,7 +2999,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.1.7"},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}}},Rr={title:"\u5F00\u653E Ref API",toc:"content",filename:"examples/core-react/280-open-api.md",lastUpdated:1704440107e3,group:"\u529F\u80FD\u8BE6\u89E3",order:280,description:"\u5185\u6838\u901A\u8FC7 ref \u5C5E\u6027\u5F00\u653E\u7684 API \u65B9\u6CD5\u5982\u4E0B\uFF1A"},ha=[{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"}],Ka=[{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:"\u6821\u9A8C\u8868\u5355\u6570\u636E\uFF0C\u5982\u6839\u636E\u6821\u9A8C\u7ED3\u679C\u5224\u65AD\u662F\u5426\u63D0\u4EA4\u6570\u636E\u3002",paraId:2,tocIndex:1},{value:"\u7C7B\u578B\uFF1A",paraId:3,tocIndex:1},{value:"() => Promise",paraId:3,tocIndex:1},{value:"\u65E0",paraId:4,tocIndex:2},{value:"\u540D\u79F0",paraId:5,tocIndex:3},{value:"\u63CF\u8FF0",paraId:5,tocIndex:3},{value:"\u7C7B\u578B",paraId:5,tocIndex:3},{value:"hasError",paraId:5,tocIndex:3},{value:"\u662F\u5426\u5B58\u5728\u9519\u8BEF",paraId:5,tocIndex:3},{value:"boolean",paraId:5,tocIndex:3},{value:"hasWarning",paraId:5,tocIndex:3},{value:"\u662F\u5426\u5B58\u5728\u8B66\u544A",paraId:5,tocIndex:3},{value:"boolean",paraId:5,tocIndex:3},{value:"errorList",paraId:5,tocIndex:3},{value:"\u9519\u8BEF\u8868\u5355\u9879\u6570\u636E",paraId:5,tocIndex:3},{value:"array",paraId:5,tocIndex:3},{value:"warningList",paraId:5,tocIndex:3},{value:"\u8B66\u544A\u8868\u5355\u9879\u6570\u636E",paraId:5,tocIndex:3},{value:"array",paraId:5,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:6,tocIndex:5},{value:"\u7C7B\u578B\uFF1A",paraId:7,tocIndex:5},{value:"resetError: (paths?: string | string[]) => void",paraId:7,tocIndex:5},{value:"\u540D\u79F0",paraId:8,tocIndex:6},{value:"\u63CF\u8FF0",paraId:8,tocIndex:6},{value:"\u7C7B\u578B",paraId:8,tocIndex:6},{value:"paths",paraId:8,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:8,tocIndex:6},{value:"string",paraId:8,tocIndex:6},{value:" | ",paraId:8,tocIndex:6},{value:"string[]",paraId:8,tocIndex:6},{value:"\u65E0",paraId:9,tocIndex:7},{value:"\u91CD\u7F6E\u8868\u5355\u6570\u636E\u3002",paraId:10,tocIndex:9},{value:"\u65E0",paraId:11,tocIndex:10},{value:"\u65E0",paraId:12,tocIndex:11},{value:"\u83B7\u53D6\u6839\u8282\u70B9 DOM \u5143\u7D20\u3002",paraId:13,tocIndex:13},{value:"\u7C7B\u578B\uFF1A",paraId:14,tocIndex:13},{value:"getRootElement: () => HTMLDivElement | null",paraId:14,tocIndex:13},{value:"\u65E0",paraId:15,tocIndex:14},{value:"\u6839\u8282\u70B9 DOM \u5143\u7D20\u6216\u7A7A",paraId:16,tocIndex:15}],fr={},tl={title:"\u9519\u8BEF\u6392\u67E5\u5DE5\u5177 Dev Tool",toc:"content",filename:"examples/core-react/900-dev-tool.md",lastUpdated:1704440107e3,group:{title:"\u8F85\u52A9\u5DE5\u5177",order:900,hide:!0},debug:!0},_o=[{id:"\u9519\u8BEF\u6392\u67E5\u5DE5\u5177-dev-tool",depth:1,title:"\u9519\u8BEF\u6392\u67E5\u5DE5\u5177 Dev Tool"}],Ma=[],nl={"examples-search-react-700-locale-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne;return l()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.next=2,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070),e.e(1670)]).then(e.bind(e,41670));case 2:return be=he.sent,Ce=be.default,he.next=6,e.e(7290).then(e.bind(e,37290));case 6:return Re=he.sent,Ee=Re.default,Oe={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"}}},Ne=function(){return s.createElement(Ce,{schema:Oe,labelWidth:120,locale:Ee})},he.abrupt("return",{default:Ne});case 11:case"end":return he.stop()}},nt)})))),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' +export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.1.7"},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}}},Rr={title:"\u5F00\u653E Ref API",toc:"content",filename:"examples/core-react/280-open-api.md",lastUpdated:1704082387e3,group:"\u529F\u80FD\u8BE6\u89E3",order:280,description:"\u5185\u6838\u901A\u8FC7 ref \u5C5E\u6027\u5F00\u653E\u7684 API \u65B9\u6CD5\u5982\u4E0B\uFF1A"},ha=[{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"}],Ka=[{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:"\u6821\u9A8C\u8868\u5355\u6570\u636E\uFF0C\u5982\u6839\u636E\u6821\u9A8C\u7ED3\u679C\u5224\u65AD\u662F\u5426\u63D0\u4EA4\u6570\u636E\u3002",paraId:2,tocIndex:1},{value:"\u7C7B\u578B\uFF1A",paraId:3,tocIndex:1},{value:"() => Promise",paraId:3,tocIndex:1},{value:"\u65E0",paraId:4,tocIndex:2},{value:"\u540D\u79F0",paraId:5,tocIndex:3},{value:"\u63CF\u8FF0",paraId:5,tocIndex:3},{value:"\u7C7B\u578B",paraId:5,tocIndex:3},{value:"hasError",paraId:5,tocIndex:3},{value:"\u662F\u5426\u5B58\u5728\u9519\u8BEF",paraId:5,tocIndex:3},{value:"boolean",paraId:5,tocIndex:3},{value:"hasWarning",paraId:5,tocIndex:3},{value:"\u662F\u5426\u5B58\u5728\u8B66\u544A",paraId:5,tocIndex:3},{value:"boolean",paraId:5,tocIndex:3},{value:"errorList",paraId:5,tocIndex:3},{value:"\u9519\u8BEF\u8868\u5355\u9879\u6570\u636E",paraId:5,tocIndex:3},{value:"array",paraId:5,tocIndex:3},{value:"warningList",paraId:5,tocIndex:3},{value:"\u8B66\u544A\u8868\u5355\u9879\u6570\u636E",paraId:5,tocIndex:3},{value:"array",paraId:5,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:6,tocIndex:5},{value:"\u7C7B\u578B\uFF1A",paraId:7,tocIndex:5},{value:"resetError: (paths?: string | string[]) => void",paraId:7,tocIndex:5},{value:"\u540D\u79F0",paraId:8,tocIndex:6},{value:"\u63CF\u8FF0",paraId:8,tocIndex:6},{value:"\u7C7B\u578B",paraId:8,tocIndex:6},{value:"paths",paraId:8,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:8,tocIndex:6},{value:"string",paraId:8,tocIndex:6},{value:" | ",paraId:8,tocIndex:6},{value:"string[]",paraId:8,tocIndex:6},{value:"\u65E0",paraId:9,tocIndex:7},{value:"\u91CD\u7F6E\u8868\u5355\u6570\u636E\u3002",paraId:10,tocIndex:9},{value:"\u65E0",paraId:11,tocIndex:10},{value:"\u65E0",paraId:12,tocIndex:11},{value:"\u83B7\u53D6\u6839\u8282\u70B9 DOM \u5143\u7D20\u3002",paraId:13,tocIndex:13},{value:"\u7C7B\u578B\uFF1A",paraId:14,tocIndex:13},{value:"getRootElement: () => HTMLDivElement | null",paraId:14,tocIndex:13},{value:"\u65E0",paraId:15,tocIndex:14},{value:"\u6839\u8282\u70B9 DOM \u5143\u7D20\u6216\u7A7A",paraId:16,tocIndex:15}],fr={},tl={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},_o=[{id:"\u9519\u8BEF\u6392\u67E5\u5DE5\u5177-dev-tool",depth:1,title:"\u9519\u8BEF\u6392\u67E5\u5DE5\u5177 Dev Tool"}],Ma=[],nl={"examples-search-react-700-locale-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne;return l()().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.next=2,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070),e.e(1670)]).then(e.bind(e,41670));case 2:return be=he.sent,Ce=be.default,he.next=6,e.e(7290).then(e.bind(e,37290));case 6:return Re=he.sent,Ee=Re.default,Oe={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"}}},Ne=function(){return s.createElement(Ce,{schema:Oe,labelWidth:120,locale:Ee})},he.abrupt("return",{default:Ne});case 11:case"end":return he.stop()}},nt)})))),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' // \u5F15\u5165\u82F1\u6587\u8BED\u8A00\u5305 @@ -3061,7 +3061,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/search-react":{type:"NPM",value:"1.1.0"}}}}},ei={title:"\u56FD\u9645\u5316 locale",toc:"content",filename:"examples/search-react/700-locale.md",lastUpdated:1704440107e3,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"},rl=[{id:"\u56FD\u9645\u5316-locale",depth:1,title:"\u56FD\u9645\u5316 locale"}],mo=[{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}],Zo={"examples-search-react-001-intro-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye,ut,le,We,Ae,Tt;return l()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return be=A.sent,Ce=be.useState,A.next=6,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 6:return Re=A.sent,Ee=Re.ConfigProvider,Oe=Re.Table,A.next=11,e.e(7693).then(e.bind(e,7693));case 11:return Ne=A.sent,we=Ne.sleep,A.next=15,e.e(6441).then(e.bind(e,96441));case 15:return he=A.sent,tt=he.default,A.next=19,e.e(8415).then(e.bind(e,28415));case 19:return W=A.sent,He=W.default,A.next=23,e.e(4348).then(e.bind(e,14348));case 23:return ye=A.sent,ut=ye.default,A.next=27,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070),e.e(1670)]).then(e.bind(e,41670));case 27:return le=A.sent,We=le.default,Ae={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}]}}}},Tt=function(){var Y=Ce(function(){return ut()}),Me=a()(Y,2),ze=Me[0],Ye=Me[1],ot=function(){var pt=c()(l()().mark(function ht(Lt){return l()().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return console.log("searchParams:",Lt),jt.next=3,we();case 3:Ye(ut());case 4:case"end":return jt.stop()}},ht)}));return function(Lt){return pt.apply(this,arguments)}}();return s.createElement(Ee,{locale:tt},s.createElement(We,{schema:Ae,onSubmit:ot,onReset:ot}),s.createElement(Oe,{style:{marginTop:20},columns:He,dataSource:ze,scroll:{x:1500}}))},A.abrupt("return",{default:Tt});case 32:case"end":return A.stop()}},nt)})))),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.1.0"}}}}},ei={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"},rl=[{id:"\u56FD\u9645\u5316-locale",depth:1,title:"\u56FD\u9645\u5316 locale"}],mo=[{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}],Zo={"examples-search-react-001-intro-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye,ut,le,We,Ae,Tt;return l()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,Promise.resolve().then(e.t.bind(e,50959,19));case 2:return be=A.sent,Ce=be.useState,A.next=6,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 6:return Re=A.sent,Ee=Re.ConfigProvider,Oe=Re.Table,A.next=11,e.e(7693).then(e.bind(e,7693));case 11:return Ne=A.sent,we=Ne.sleep,A.next=15,e.e(6441).then(e.bind(e,96441));case 15:return he=A.sent,tt=he.default,A.next=19,e.e(8415).then(e.bind(e,28415));case 19:return W=A.sent,He=W.default,A.next=23,e.e(4348).then(e.bind(e,14348));case 23:return ye=A.sent,ut=ye.default,A.next=27,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(5892),e.e(9070),e.e(1670)]).then(e.bind(e,41670));case 27:return le=A.sent,We=le.default,Ae={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}]}}}},Tt=function(){var Y=Ce(function(){return ut()}),Me=a()(Y,2),ze=Me[0],Ye=Me[1],ot=function(){var pt=c()(l()().mark(function ht(Lt){return l()().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return console.log("searchParams:",Lt),jt.next=3,we();case 3:Ye(ut());case 4:case"end":return jt.stop()}},ht)}));return function(Lt){return pt.apply(this,arguments)}}();return s.createElement(Ee,{locale:tt},s.createElement(We,{schema:Ae,onSubmit:ot,onReset:ot}),s.createElement(Oe,{style:{marginTop:20},columns:He,dataSource:ze,scroll:{x:1500}}))},A.abrupt("return",{default:Tt});case 32:case"end":return A.stop()}},nt)})))),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' @@ -3168,7 +3168,7 @@ const Demo = () => { ) } -export default Demo`},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.1.7"},root:{type:"NPM"},"@schema-render/search-react":{type:"NPM",value:"1.1.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(3495).Z},"helpers/columns.ts":{type:"FILE",value:e(9617).Z}}}}},ao={title:"\u4ECB\u7ECD",toc:"content",filename:"examples/search-react/001-intro.md",lastUpdated:1704440107e3,order:1,description:"Search \u662F\u57FA\u4E8E FormRender \u5C01\u88C5\u7684\u5F00\u7BB1\u5373\u7528\u7684\u6761\u4EF6\u641C\u7D22\u7EC4\u4EF6\u3002"},La=[{id:"\u4ECB\u7ECD",depth:1,title:"\u4ECB\u7ECD"},{id:"\u5B89\u88C5",depth:2,title:"\u5B89\u88C5"},{id:"\u4F7F\u7528",depth:2,title:"\u4F7F\u7528"}],ho=[{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.1.7"},root:{type:"NPM"},"@schema-render/search-react":{type:"NPM",value:"1.1.0"},"helpers/createDataSource.ts":{type:"FILE",value:e(3495).Z},"helpers/columns.ts":{type:"FILE",value:e(9617).Z}}}}},ao={title:"\u4ECB\u7ECD",toc:"content",filename:"examples/search-react/001-intro.md",lastUpdated:1704082387e3,order:1,description:"Search \u662F\u57FA\u4E8E FormRender \u5C01\u88C5\u7684\u5F00\u7BB1\u5373\u7528\u7684\u6761\u4EF6\u641C\u7D22\u7EC4\u4EF6\u3002"},La=[{id:"\u4ECB\u7ECD",depth:1,title:"\u4ECB\u7ECD"},{id:"\u5B89\u88C5",depth:2,title:"\u5B89\u88C5"},{id:"\u4F7F\u7528",depth:2,title:"\u4F7F\u7528"}],ho=[{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:"\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:5,tocIndex:2}],xi={"examples-core-react-003-schema-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=W.sent,Ce=be.default,W.next=6,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 10:return Oe=W.sent,Ne=Oe.default,we={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"}]}}}},he=function(){return s.createElement(Ce,{schema:we,itemLayout:Ee,renderers:Ne})},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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' import Horizontal from './item-layout/Horizontal' @@ -3205,7 +3205,7 @@ const Demo = () => { return } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.1.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:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=W.sent,Ce=be.default,W.next=6,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 10:return Oe=W.sent,Ne=Oe.default,we={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"}]}}}},he=function(){return s.createElement(Ce,{schema:we,itemLayout:Ee,renderers:Ne})},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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.1.0"},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z},"renderers/common.tsx":{type:"FILE",value:e(88782).Z}}}},"examples-core-react-003-schema-demo-1":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he;return l()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=W.sent,Ce=be.default,W.next=6,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 6:return Re=W.sent,Ee=Re.default,W.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 10:return Oe=W.sent,Ne=Oe.default,we={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"}]}}}},he=function(){return s.createElement(Ce,{schema:we,itemLayout:Ee,renderers:Ne})},W.abrupt("return",{default:he});case 15:case"end":return W.stop()}},nt)})))),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' @@ -3408,7 +3408,7 @@ const Demo = () => { return } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Ro={title:"\u534F\u8BAE\u4ECB\u7ECD Schema",toc:"content",filename:"examples/core-react/003-schema.md",lastUpdated:1704440107e3,group:"\u4ECB\u7ECD",description:"\u57FA\u7840\u534F\u8BAE\u7528\u4E8E\u63CF\u8FF0\u8868\u5355\u9879\u7684\u57FA\u7840\u529F\u80FD\u3002"},Ao=[{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"}],Ui=[{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.1.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Ro={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"},Ao=[{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"}],Ui=[{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: { @@ -3604,7 +3604,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Wo={title:"\u5E03\u5C40\u7ED3\u6784 layout",toc:"content",filename:"examples/core-react/100-layout.md",lastUpdated:1704440107e3,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"},ti=[{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"}],ni=[{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:"\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}],yo={"examples-core-react-700-locale-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W;return l()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=ye.sent,Ce=be.default,ye.next=6,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 6:return Re=ye.sent,Ee=Re.default,ye.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 10:return Oe=ye.sent,Ne=Oe.default,ye.next=14,e.e(8903).then(e.bind(e,18903));case 14:return we=ye.sent,he=we.default,tt={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}}},W=function(){return s.createElement(Ce,{style:{maxWidth:600},schema:tt,itemLayout:Ee,renderers:Ne,locale:he})},ye.abrupt("return",{default:W});case 19:case"end":return ye.stop()}},nt)})))),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`},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Wo={title:"\u5E03\u5C40\u7ED3\u6784 layout",toc:"content",filename:"examples/core-react/100-layout.md",lastUpdated:1704082387e3,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"},ti=[{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"}],ni=[{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:"\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}],yo={"examples-core-react-700-locale-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W;return l()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.next=2,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 2:return be=ye.sent,Ce=be.default,ye.next=6,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 6:return Re=ye.sent,Ee=Re.default,ye.next=10,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 10:return Oe=ye.sent,Ne=Oe.default,ye.next=14,e.e(8903).then(e.bind(e,18903));case 14:return we=ye.sent,he=we.default,tt={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}}},W=function(){return s.createElement(Ce,{style:{maxWidth:600},schema:tt,itemLayout:Ee,renderers:Ne,locale:he})},ye.abrupt("return",{default:W});case 19:case"end":return ye.stop()}},nt)})))),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' @@ -3647,7 +3647,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Vo={title:"\u56FD\u9645\u5316 Locale",toc:"menu",filename:"examples/core-react/700-locale.md",lastUpdated:1704440107e3,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"},Si=[{id:"\u56FD\u9645\u5316-locale",depth:1,title:"\u56FD\u9645\u5316 Locale"}],ri=[{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}],ai={},oi={title:"\u7B80\u4ECB",toc:!1,filename:"examples/core-react/001-intro.md",lastUpdated:1704440107e3,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"},Mi=[{id:"\u7B80\u4ECB",depth:1,title:"\u7B80\u4ECB"},{id:"schemarender",depth:2,title:"SchemaRender"},{id:"core",depth:2,title:"Core"}],al=[{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.1.0"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Vo={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"},Si=[{id:"\u56FD\u9645\u5316-locale",depth:1,title:"\u56FD\u9645\u5316 Locale"}],ri=[{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}],ai={},oi={title:"\u7B80\u4ECB",toc:!1,filename:"examples/core-react/001-intro.md",lastUpdated:1704350972e3,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"},Mi=[{id:"\u7B80\u4ECB",depth:1,title:"\u7B80\u4ECB"},{id:"schemarender",depth:2,title:"SchemaRender"},{id:"core",depth:2,title:"Core"}],al=[{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, @@ -3706,7 +3706,7 @@ const Demo = () => { ) } -export default Demo`},"@schema-render/core-react":{type:"NPM",value:"1.1.0"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.1.7"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Wi={title:"\u5F02\u6B65\u6570\u636E async",toc:"content",filename:"examples/core-react/950-async.md",lastUpdated:1704440107e3,group:{title:"\u4EC5\u5F00\u53D1\u8C03\u8BD5",order:950},debug:!0},ii=[{id:"\u5F02\u6B65\u6570\u636E-async",depth:1,title:"\u5F02\u6B65\u6570\u636E async"}],li=[],Vi={"examples-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye,ut,le,We,Ae;return l()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 2:return be=x.sent,Ce=be.default,x.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return Re=x.sent,Ee=Re.useState,Oe=Re.useRef,x.next=11,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 11:return Ne=x.sent,we=Ne.Button,he=Ne.message,x.next=16,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 16:return tt=x.sent,W=tt.default,x.next=20,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 20:return He=x.sent,ye=He.default,x.next=24,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 24:return ut=x.sent,le=ut.default,We={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"}}},Ae=function(){var M=Ee({}),Y=a()(M,2),Me=Y[0],ze=Y[1],Ye=Oe(),ot=function(){var pt=c()(l()().mark(function ht(){var Lt;return l()().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return jt.next=2,Ye.current.validate();case 2:Lt=jt.sent,Lt.hasError||he.success("\u63D0\u4EA4\u6210\u529F");case 4:case"end":return jt.stop()}},ht)}));return function(){return pt.apply(this,arguments)}}();return s.createElement("div",{className:"example-layout-cols-2"},s.createElement("div",null,s.createElement(W,{ref:Ye,schema:We,value:Me,onChange:ze,itemLayout:ye,renderers:le}),s.createElement(we,{type:"primary",style:{margin:"20px 0 0 115px"},onClick:ot},"\u63D0\u4EA4")),s.createElement(Ce,{value:Me}))},x.abrupt("return",{default:Ae});case 29:case"end":return x.stop()}},nt)})))),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.1.0"},react:{type:"NPM",value:"18.2.0"},antd:{type:"NPM",value:"5.1.7"},"renderers/common.tsx":{type:"FILE",value:e(88782).Z},"item-layout/Horizontal/index.tsx":{type:"FILE",value:e(44137).Z}}}}},Wi={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},ii=[{id:"\u5F02\u6B65\u6570\u636E-async",depth:1,title:"\u5F02\u6B65\u6570\u636E async"}],li=[],Vi={"examples-demo-0":{component:s.memo(s.lazy(c()(l()().mark(function nt(){var be,Ce,Re,Ee,Oe,Ne,we,he,tt,W,He,ye,ut,le,We,Ae;return l()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,Promise.all([e.e(6481),e.e(5318)]).then(e.bind(e,85318));case 2:return be=x.sent,Ce=be.default,x.next=6,Promise.resolve().then(e.t.bind(e,50959,19));case 6:return Re=x.sent,Ee=Re.useState,Oe=Re.useRef,x.next=11,Promise.all([e.e(3136),e.e(2317),e.e(1875),e.e(9061),e.e(9435),e.e(4739),e.e(6513),e.e(1792),e.e(3825),e.e(8009)]).then(e.bind(e,68009));case 11:return Ne=x.sent,we=Ne.Button,he=Ne.message,x.next=16,Promise.all([e.e(5892),e.e(8386)]).then(e.bind(e,38386));case 16:return tt=x.sent,W=tt.default,x.next=20,Promise.all([e.e(1875),e.e(9061),e.e(8104),e.e(9435),e.e(7771)]).then(e.bind(e,27771));case 20:return He=x.sent,ye=He.default,x.next=24,Promise.all([e.e(3136),e.e(1875),e.e(9061),e.e(4739),e.e(5695)]).then(e.bind(e,75695));case 24:return ut=x.sent,le=ut.default,We={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"}}},Ae=function(){var M=Ee({}),Y=a()(M,2),Me=Y[0],ze=Y[1],Ye=Oe(),ot=function(){var pt=c()(l()().mark(function ht(){var Lt;return l()().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:return jt.next=2,Ye.current.validate();case 2:Lt=jt.sent,Lt.hasError||he.success("\u63D0\u4EA4\u6210\u529F");case 4:case"end":return jt.stop()}},ht)}));return function(){return pt.apply(this,arguments)}}();return s.createElement("div",{className:"example-layout-cols-2"},s.createElement("div",null,s.createElement(W,{ref:Ye,schema:We,value:Me,onChange:ze,itemLayout:ye,renderers:le}),s.createElement(we,{type:"primary",style:{margin:"20px 0 0 115px"},onClick:ot},"\u63D0\u4EA4")),s.createElement(Ce,{value:Me}))},x.abrupt("return",{default:Ae});case 29:case"end":return x.stop()}},nt)})))),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' @@ -3929,7 +3929,7 @@ const Demo = () => { return } -export default Demo`},root:{type:"NPM"},"@schema-render/search-react":{type:"NPM",value:"1.1.0"}}}}},Da={title:"Examples",toc:"menu",filename:"examples/index.md",lastUpdated:1704440107e3,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\u96F6\u4F9D\u8D56\uFF0818.8k, gzip 6.9k\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\uFF08\u540E\u53F0\u7CFB\u7EDF\u5E38\u7528\uFF0C\u5EFA\u8BBE\u4E2D\uFF09"}],description:`\u5185\u6838\u7075\u6D3B\u3001\u9AD8\u53EF\u5B9A\u5236\uFF0C\u4F46\u9700\u8981\u7EC4\u88C5\u5FC5\u8981\u90E8\u4EF6 itemLayout\uFF08\u8868\u5355\u9879\u5E03\u5C40\u7ED3\u6784\uFF09\u3001renderers\uFF08\u6E32\u67D3\u5668\u96C6\u5408\uFF09\uFF0C +export default Demo`},root:{type:"NPM"},"@schema-render/search-react":{type:"NPM",value:"1.1.0"}}}}},Da={title:"Examples",toc:"menu",filename:"examples/index.md",lastUpdated:1704350972e3,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\u96F6\u4F9D\u8D56\uFF0818.8k, gzip 6.9k\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\uFF08\u540E\u53F0\u7CFB\u7EDF\u5E38\u7528\uFF0C\u5EFA\u8BBE\u4E2D\uFF09"}],description:`\u5185\u6838\u7075\u6D3B\u3001\u9AD8\u53EF\u5B9A\u5236\uFF0C\u4F46\u9700\u8981\u7EC4\u88C5\u5FC5\u8981\u90E8\u4EF6 itemLayout\uFF08\u8868\u5355\u9879\u5E03\u5C40\u7ED3\u6784\uFF09\u3001renderers\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`},Ei=[{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"}],Li=[{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}],si=null,Di={},ui={"examples/form-render-react/500-builtin-renderers":{frontmatter:m,toc:h,texts:y,demos:v},"examples/form-render-react/900-renderers-warning":{frontmatter:S,toc:T,texts:b,demos:I},"examples/core-react/952-multi-renderer-onChange":{frontmatter:L,toc:w,texts:D,demos:R},"examples/form-render-react/901-label-vertical":{frontmatter:P,toc:j,texts:H,demos:B},"examples/form-render-react/800-api-reference":{frontmatter:re,toc:ee,texts:fe,demos:ne},"examples/form-render-react/100-item-layout":{frontmatter:De,toc:se,texts:q,demos:Le},"examples/core-react/600-catch-error-tips":{frontmatter:ae,toc:C,texts:F,demos:V},"examples/core-react/931-schema-transform":{frontmatter:ce,toc:k,texts:O,demos:G},"examples/core-react/221-renderer-object":{frontmatter:Z,toc:_,texts:oe,demos:U},"examples/core-react/930-traverse-schema":{frontmatter:qe,toc:gt,texts:st,demos:$e},"examples/search-react/800-api-reference":{frontmatter:vt,toc:ie,texts:de,demos:rt},"examples/core-react/222-renderer-array":{frontmatter:ge,toc:Fe,texts:ue,demos:ve},"examples/form-render-react/300-actions":{frontmatter:Ie,toc:ke,texts:ft,demos:pe},"examples/core-react/230-global-status":{frontmatter:Pt,toc:Nt,texts:Ht,demos:Dt},"examples/core-react/300-default-value":{frontmatter:_e,toc:lt,texts:g,demos:Ue},"examples/core-react/800-api-reference":{frontmatter:me,toc:Pe,texts:Je,demos:X},"examples/form-render-react/700-locale":{frontmatter:Be,toc:mt,texts:It,demos:Qe},"examples/search-table-react/001-intro":{frontmatter:wt,toc:Te,texts:et,demos:xt},"examples/core-react/200-change-event":{frontmatter:Ve,toc:St,texts:Ot,demos:at},"examples/core-react/951-controllable":{frontmatter:Qt,toc:ln,texts:jn,demos:zt},"examples/form-render-react/001-intro":{frontmatter:Fn,toc:Vn,texts:jr,demos:yn},"examples/form-render-react/200-label":{frontmatter:bt,toc:Mt,texts:Yt,demos:Vt},"examples/core-react/002-quick-start":{frontmatter:fn,toc:_n,texts:Kn,demos:qt},"examples/core-react/101-item-layout":{frontmatter:lr,toc:Vr,texts:Qn,demos:ir},"examples/core-react/102-prefix-cls":{frontmatter:po,toc:vr,texts:$o,demos:ba},"examples/core-react/910-playground":{frontmatter:Va,toc:Ca,texts:za,demos:$a},"examples/core-react/223-validator":{frontmatter:ar,toc:va,texts:zo,demos:vo},"examples/search-react/300-actions":{frontmatter:Bn,toc:er,texts:or,demos:ia},"examples/core-react/210-relation":{frontmatter:ma,toc:Ho,texts:Na,demos:Ur},"examples/core-react/220-renderer":{frontmatter:Ii,toc:Uo,texts:Kr,demos:gi},"examples/core-react/280-open-api":{frontmatter:Rr,toc:ha,texts:Ka,demos:Zr},"examples/core-react/900-dev-tool":{frontmatter:tl,toc:_o,texts:Ma,demos:fr},"examples/search-react/700-locale":{frontmatter:ei,toc:rl,texts:mo,demos:nl},"examples/search-react/001-intro":{frontmatter:ao,toc:La,texts:ho,demos:Zo},"examples/core-react/003-schema":{frontmatter:Ro,toc:Ao,texts:Ui,demos:xi},"examples/core-react/100-layout":{frontmatter:Wo,toc:ti,texts:ni,demos:Ni},"examples/core-react/700-locale":{frontmatter:Vo,toc:Si,texts:ri,demos:yo},"examples/core-react/001-intro":{frontmatter:oi,toc:Mi,texts:al,demos:ai},"examples/core-react/950-async":{frontmatter:Wi,toc:ii,texts:li,demos:Zi},"examples/index":{frontmatter:Da,toc:Ei,texts:Li,demos:Vi}},Ki=Object.entries(ui).reduce(function(nt,be){var Ce=a()(be,2),Re=Ce[0],Ee=Ce[1];return Object.values(Ee.demos).forEach(function(Oe){Oe.routeId=Re}),Object.assign(nt,Ee.demos),delete Ee.demos,nt},{})},31715:function(d,p,e){"use strict";e.d(p,{Ac:function(){return _},ql:function(){return H.ql},rU:function(){return j},OL:function(){return T},Q$:function(){return oe},p6:function(){return Nt},m8:function(){return $e.m},fp:function(){return a.fp},Ov:function(){return B.Ov},TH:function(){return a.TH},pC:function(){return a.pC},UO:function(){return a.UO},Qt:function(){return ne.Q},lr:function(){return R}});var o=e(50959),a=e(44492),r=e(18280);function l(){return l=Object.assign||function(Ue){for(var _e=1;_e=0)&&(lt[X]=Ue[X]);return lt}const c=["onClick","reloadDocument","replace","state","target","to"],s=["aria-current","caseSensitive","className","end","style","to","children"];function v(Ue,_e){if(!Ue){typeof console!="undefined"&&console.warn(_e);try{throw new Error(_e)}catch(lt){}}}function m(Ue){let{basename:_e,children:lt,window:g}=Ue,X=useRef();X.current==null&&(X.current=createBrowserHistory({window:g}));let me=X.current,[Pe,Je]=useState({action:me.action,location:me.location});return useLayoutEffect(()=>me.listen(Je),[me]),createElement(Router,{basename:_e,children:lt,location:Pe.location,navigationType:Pe.action,navigator:me})}function h(Ue){let{basename:_e,children:lt,window:g}=Ue,X=useRef();X.current==null&&(X.current=createHashHistory({window:g}));let me=X.current,[Pe,Je]=useState({action:me.action,location:me.location});return useLayoutEffect(()=>me.listen(Je),[me]),createElement(Router,{basename:_e,children:lt,location:Pe.location,navigationType:Pe.action,navigator:me})}function y(Ue){let{basename:_e,children:lt,history:g}=Ue;const[X,me]=useState({action:g.action,location:g.location});return useLayoutEffect(()=>g.listen(me),[g]),createElement(Router,{basename:_e,children:lt,location:X.location,navigationType:X.action,navigator:g})}function I(Ue){return!!(Ue.metaKey||Ue.altKey||Ue.ctrlKey||Ue.shiftKey)}const S=(0,o.forwardRef)(function(_e,lt){let{onClick:g,reloadDocument:X,replace:me=!1,state:Pe,target:Je,to:Qe}=_e,Be=i(_e,c),mt=(0,a.oQ)(Qe),It=b(Qe,{replace:me,state:Pe,target:Je});function xt(wt){g&&g(wt),!wt.defaultPrevented&&!X&&It(wt)}return(0,o.createElement)("a",l({},Be,{href:mt,onClick:xt,ref:lt,target:Je}))}),T=(0,o.forwardRef)(function(_e,lt){let{"aria-current":g="page",caseSensitive:X=!1,className:me="",end:Pe=!1,style:Je,to:Qe,children:Be}=_e,mt=i(_e,s),It=(0,a.TH)(),xt=(0,a.WU)(Qe),wt=It.pathname,Te=xt.pathname;X||(wt=wt.toLowerCase(),Te=Te.toLowerCase());let et=wt===Te||!Pe&&wt.startsWith(Te)&&wt.charAt(Te.length)==="/",at=et?g:void 0,Ve;typeof me=="function"?Ve=me({isActive:et}):Ve=[me,et?"active":null].filter(Boolean).join(" ");let St=typeof Je=="function"?Je({isActive:et}):Je;return(0,o.createElement)(S,l({},mt,{"aria-current":at,className:Ve,ref:lt,style:St,to:Qe}),typeof Be=="function"?Be({isActive:et}):Be)});function b(Ue,_e){let{target:lt,replace:g,state:X}=_e===void 0?{}:_e,me=(0,a.s0)(),Pe=(0,a.TH)(),Je=(0,a.WU)(Ue);return(0,o.useCallback)(Qe=>{if(Qe.button===0&&(!lt||lt==="_self")&&!I(Qe)){Qe.preventDefault();let Be=!!g||(0,r.Ep)(Pe)===(0,r.Ep)(Je);me(Ue,{replace:Be,state:X})}},[Pe,me,Je,g,X,lt,Ue])}function R(Ue){let _e=(0,o.useRef)(L(Ue)),lt=(0,a.TH)(),g=(0,o.useMemo)(()=>{let Pe=L(lt.search);for(let Je of _e.current.keys())Pe.has(Je)||_e.current.getAll(Je).forEach(Qe=>{Pe.append(Je,Qe)});return Pe},[lt.search]),X=(0,a.s0)(),me=(0,o.useCallback)((Pe,Je)=>{X("?"+L(Pe),Je)},[X]);return[g,me]}function L(Ue){return Ue===void 0&&(Ue=""),new URLSearchParams(typeof Ue=="string"||Array.isArray(Ue)||Ue instanceof URLSearchParams?Ue:Object.keys(Ue).reduce((_e,lt)=>{let g=Ue[lt];return _e.concat(Array.isArray(g)?g.map(X=>[lt,X]):[[lt,g]])},[]))}var w=e(51163),D=e(58733),B=e(86659),P=["prefetch"];function j(Ue){var _e,lt=Ue.prefetch,g=(0,D.Z)(Ue,P),X=(0,B.Ov)(),me=typeof Ue.to=="string"?Ue.to:(_e=Ue.to)===null||_e===void 0?void 0:_e.pathname;return me?o.createElement(S,(0,w.Z)({onMouseEnter:function(){var Je;return lt&&me&&((Je=X.preloadRoute)===null||Je===void 0?void 0:Je.call(X,me))}},g),Ue.children):null}var H=e(62363),ne=e(61693),re=e(26143);function ee(){"use strict";ee=function(){return Ue};var Ue={},_e=Object.prototype,lt=_e.hasOwnProperty,g=Object.defineProperty||function(Vt,bt,Mt){Vt[bt]=Mt.value},X=typeof Symbol=="function"?Symbol:{},me=X.iterator||"@@iterator",Pe=X.asyncIterator||"@@asyncIterator",Je=X.toStringTag||"@@toStringTag";function Qe(Vt,bt,Mt){return Object.defineProperty(Vt,bt,{value:Mt,enumerable:!0,configurable:!0,writable:!0}),Vt[bt]}try{Qe({},"")}catch(Vt){Qe=function(Mt,Yt,qt){return Mt[Yt]=qt}}function Be(Vt,bt,Mt,Yt){var qt=bt&&bt.prototype instanceof xt?bt:xt,fn=Object.create(qt.prototype),_n=new Fn(Yt||[]);return g(fn,"_invoke",{value:Qt(Vt,Mt,_n)}),fn}function mt(Vt,bt,Mt){try{return{type:"normal",arg:Vt.call(bt,Mt)}}catch(Yt){return{type:"throw",arg:Yt}}}Ue.wrap=Be;var It={};function xt(){}function wt(){}function Te(){}var et={};Qe(et,me,function(){return this});var at=Object.getPrototypeOf,Ve=at&&at(at(Vn([])));Ve&&Ve!==_e&<.call(Ve,me)&&(et=Ve);var St=Te.prototype=xt.prototype=Object.create(et);function Ot(Vt){["next","throw","return"].forEach(function(bt){Qe(Vt,bt,function(Mt){return this._invoke(bt,Mt)})})}function zt(Vt,bt){function Mt(qt,fn,_n,Kn){var ir=mt(Vt[qt],Vt,fn);if(ir.type!=="throw"){var lr=ir.arg,Vr=lr.value;return Vr&&(0,re.Z)(Vr)=="object"&<.call(Vr,"__await")?bt.resolve(Vr.__await).then(function(Qn){Mt("next",Qn,_n,Kn)},function(Qn){Mt("throw",Qn,_n,Kn)}):bt.resolve(Vr).then(function(Qn){lr.value=Qn,_n(lr)},function(Qn){return Mt("throw",Qn,_n,Kn)})}Kn(ir.arg)}var Yt;g(this,"_invoke",{value:function(fn,_n){function Kn(){return new bt(function(ir,lr){Mt(fn,_n,ir,lr)})}return Yt=Yt?Yt.then(Kn,Kn):Kn()}})}function Qt(Vt,bt,Mt){var Yt="suspendedStart";return function(qt,fn){if(Yt==="executing")throw new Error("Generator is already running");if(Yt==="completed"){if(qt==="throw")throw fn;return jr()}for(Mt.method=qt,Mt.arg=fn;;){var _n=Mt.delegate;if(_n){var Kn=ln(_n,Mt);if(Kn){if(Kn===It)continue;return Kn}}if(Mt.method==="next")Mt.sent=Mt._sent=Mt.arg;else if(Mt.method==="throw"){if(Yt==="suspendedStart")throw Yt="completed",Mt.arg;Mt.dispatchException(Mt.arg)}else Mt.method==="return"&&Mt.abrupt("return",Mt.arg);Yt="executing";var ir=mt(Vt,bt,Mt);if(ir.type==="normal"){if(Yt=Mt.done?"completed":"suspendedYield",ir.arg===It)continue;return{value:ir.arg,done:Mt.done}}ir.type==="throw"&&(Yt="completed",Mt.method="throw",Mt.arg=ir.arg)}}}function ln(Vt,bt){var Mt=bt.method,Yt=Vt.iterator[Mt];if(Yt===void 0)return bt.delegate=null,Mt==="throw"&&Vt.iterator.return&&(bt.method="return",bt.arg=void 0,ln(Vt,bt),bt.method==="throw")||Mt!=="return"&&(bt.method="throw",bt.arg=new TypeError("The iterator does not provide a '"+Mt+"' method")),It;var qt=mt(Yt,Vt.iterator,bt.arg);if(qt.type==="throw")return bt.method="throw",bt.arg=qt.arg,bt.delegate=null,It;var fn=qt.arg;return fn?fn.done?(bt[Vt.resultName]=fn.value,bt.next=Vt.nextLoc,bt.method!=="return"&&(bt.method="next",bt.arg=void 0),bt.delegate=null,It):fn:(bt.method="throw",bt.arg=new TypeError("iterator result is not an object"),bt.delegate=null,It)}function jn(Vt){var bt={tryLoc:Vt[0]};1 in Vt&&(bt.catchLoc=Vt[1]),2 in Vt&&(bt.finallyLoc=Vt[2],bt.afterLoc=Vt[3]),this.tryEntries.push(bt)}function yn(Vt){var bt=Vt.completion||{};bt.type="normal",delete bt.arg,Vt.completion=bt}function Fn(Vt){this.tryEntries=[{tryLoc:"root"}],Vt.forEach(jn,this),this.reset(!0)}function Vn(Vt){if(Vt){var bt=Vt[me];if(bt)return bt.call(Vt);if(typeof Vt.next=="function")return Vt;if(!isNaN(Vt.length)){var Mt=-1,Yt=function qt(){for(;++Mt=0;--qt){var fn=this.tryEntries[qt],_n=fn.completion;if(fn.tryLoc==="root")return Yt("end");if(fn.tryLoc<=this.prev){var Kn=lt.call(fn,"catchLoc"),ir=lt.call(fn,"finallyLoc");if(Kn&&ir){if(this.prev=0;--Yt){var qt=this.tryEntries[Yt];if(qt.tryLoc<=this.prev&<.call(qt,"finallyLoc")&&this.prev=0;--Mt){var Yt=this.tryEntries[Mt];if(Yt.finallyLoc===bt)return this.complete(Yt.completion,Yt.afterLoc),yn(Yt),It}},catch:function(bt){for(var Mt=this.tryEntries.length-1;Mt>=0;--Mt){var Yt=this.tryEntries[Mt];if(Yt.tryLoc===bt){var qt=Yt.completion;if(qt.type==="throw"){var fn=qt.arg;yn(Yt)}return fn}}throw new Error("illegal catch attempt")},delegateYield:function(bt,Mt,Yt){return this.delegate={iterator:Vn(bt),resultName:Mt,nextLoc:Yt},this.method==="next"&&(this.arg=void 0),It}},Ue}var fe=e(75782);function Le(Ue,_e,lt,g,X,me,Pe){try{var Je=Ue[me](Pe),Qe=Je.value}catch(Be){lt(Be);return}Je.done?_e(Qe):Promise.resolve(Qe).then(g,X)}function De(Ue){return function(){var _e=this,lt=arguments;return new Promise(function(g,X){var me=Ue.apply(_e,lt);function Pe(Qe){Le(me,g,X,Pe,Je,"next",Qe)}function Je(Qe){Le(me,g,X,Pe,Je,"throw",Qe)}Pe(void 0)})}}var se=e(64002);function q(Ue,_e){var lt=typeof Symbol!="undefined"&&Ue[Symbol.iterator]||Ue["@@iterator"];if(!lt){if(Array.isArray(Ue)||(lt=(0,se.Z)(Ue))||_e&&Ue&&typeof Ue.length=="number"){lt&&(Ue=lt);var g=0,X=function(){};return{s:X,n:function(){return g>=Ue.length?{done:!0}:{done:!1,value:Ue[g++]}},e:function(Be){throw Be},f:X}}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 me=!0,Pe=!1,Je;return{s:function(){lt=lt.call(Ue)},n:function(){var Be=lt.next();return me=Be.done,Be},e:function(Be){Pe=!0,Je=Be},f:function(){try{!me&<.return!=null&<.return()}finally{if(Pe)throw Je}}}}var Q=e(20533);function $(Ue){if(typeof Symbol!="undefined"&&Ue[Symbol.iterator]!=null||Ue["@@iterator"]!=null)return Array.from(Ue)}var V=e(71885);function ae(Ue){return(0,Q.Z)(Ue)||$(Ue)||(0,se.Z)(Ue)||(0,V.Z)()}function C(Ue,_e){if(!(Ue instanceof _e))throw new TypeError("Cannot call a class as a function")}var F=e(1536);function G(Ue,_e){for(var lt=0;lt<_e.length;lt++){var g=_e[lt];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(Ue,(0,F.Z)(g.key),g)}}function ce(Ue,_e,lt){return _e&&G(Ue.prototype,_e),lt&&G(Ue,lt),Object.defineProperty(Ue,"prototype",{writable:!1}),Ue}var k=e(24572);function O(Ue,_e){if(!Ue)throw new Error(_e)}function U(Ue){var _e=Ue.fns,lt=Ue.args;if(_e.length===1)return _e[0];var g=_e.pop();return _e.reduce(function(X,me){return function(){return me(X,lt)}},g)}function Z(Ue){return!!Ue&&(0,re.Z)(Ue)==="object"&&typeof Ue.then=="function"}var _;(function(Ue){Ue.compose="compose",Ue.modify="modify",Ue.event="event"})(_||(_={}));var oe=function(){function Ue(_e){C(this,Ue),(0,k.Z)(this,"opts",void 0),(0,k.Z)(this,"hooks",{}),this.opts=_e}return ce(Ue,[{key:"register",value:function(lt){var g=this;O(lt.apply,"plugin register failed, apply must supplied"),Object.keys(lt.apply).forEach(function(X){O(g.opts.validKeys.indexOf(X)>-1,"register failed, invalid key ".concat(X," ").concat(lt.path?"from plugin ".concat(lt.path):"",".")),g.hooks[X]=(g.hooks[X]||[]).concat(lt.apply[X])})}},{key:"getHooks",value:function(lt){var g=lt.split("."),X=ae(g),me=X[0],Pe=X.slice(1),Je=this.hooks[me]||[];return Pe.length&&(Je=Je.map(function(Qe){try{var Be=Qe,mt=q(Pe),It;try{for(mt.s();!(It=mt.n()).done;){var xt=It.value;Be=Be[xt]}}catch(wt){mt.e(wt)}finally{mt.f()}return Be}catch(wt){return null}}).filter(Boolean)),Je}},{key:"applyPlugins",value:function(lt){var g=lt.key,X=lt.type,me=lt.initialValue,Pe=lt.args,Je=lt.async,Qe=this.getHooks(g)||[];switch(Pe&&O((0,re.Z)(Pe)==="object","applyPlugins failed, args must be plain object."),Je&&O(X===_.modify||X===_.event,"async only works with modify and event type."),X){case _.modify:return Je?Qe.reduce(function(){var Be=De(ee().mark(function mt(It,xt){var wt;return ee().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:if(O(typeof xt=="function"||(0,re.Z)(xt)==="object"||Z(xt),"applyPlugins failed, all hooks for key ".concat(g," must be function, plain object or Promise.")),!Z(It)){et.next=5;break}return et.next=4,It;case 4:It=et.sent;case 5:if(typeof xt!="function"){et.next=16;break}if(wt=xt(It,Pe),!Z(wt)){et.next=13;break}return et.next=10,wt;case 10:return et.abrupt("return",et.sent);case 13:return et.abrupt("return",wt);case 14:et.next=21;break;case 16:if(!Z(xt)){et.next=20;break}return et.next=19,xt;case 19:xt=et.sent;case 20:return et.abrupt("return",(0,fe.Z)((0,fe.Z)({},It),xt));case 21:case"end":return et.stop()}},mt)}));return function(mt,It){return Be.apply(this,arguments)}}(),Z(me)?me:Promise.resolve(me)):Qe.reduce(function(Be,mt){return O(typeof mt=="function"||(0,re.Z)(mt)==="object","applyPlugins failed, all hooks for key ".concat(g," must be function or plain object.")),typeof mt=="function"?mt(Be,Pe):(0,fe.Z)((0,fe.Z)({},Be),mt)},me);case _.event:return De(ee().mark(function Be(){var mt,It,xt,wt;return ee().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:mt=q(Qe),et.prev=1,mt.s();case 3:if((It=mt.n()).done){et.next=12;break}if(xt=It.value,O(typeof xt=="function","applyPlugins failed, all hooks for key ".concat(g," must be function.")),wt=xt(Pe),!(Je&&Z(wt))){et.next=10;break}return et.next=10,wt;case 10:et.next=3;break;case 12:et.next=17;break;case 14:et.prev=14,et.t0=et.catch(1),mt.e(et.t0);case 17:return et.prev=17,mt.f(),et.finish(17);case 20:case"end":return et.stop()}},Be,null,[[1,14,17,20]])}))();case _.compose:return function(){return U({fns:Qe.concat(me),args:Pe})()}}}}],[{key:"create",value:function(lt){var g=new Ue({validKeys:lt.validKeys});return lt.plugins.forEach(function(X){g.register(X)}),g}}]),Ue}(),$e=e(3480),qe=e(37635),gt=e.n(qe),st=0,rt=0;function vt(Ue,_e){if(!1)var lt}function ie(Ue){return JSON.stringify(Ue,null,2)}function de(Ue){var _e=Ue.length>1?Ue.map(ve).join(" "):Ue[0];return gt()(_e)==="object"?"".concat(ie(_e)):_e.toString()}function ve(Ue){return gt()(Ue)==="object"?"".concat(JSON.stringify(Ue)):Ue.toString()}var ge={log:function(){for(var _e=arguments.length,lt=new Array(_e),g=0;g<_e;g++)lt[g]=arguments[g];vt("log",de(lt))},info:function(){for(var _e=arguments.length,lt=new Array(_e),g=0;g<_e;g++)lt[g]=arguments[g];vt("info",de(lt))},warn:function(){for(var _e=arguments.length,lt=new Array(_e),g=0;g<_e;g++)lt[g]=arguments[g];vt("warn",de(lt))},error:function(){for(var _e=arguments.length,lt=new Array(_e),g=0;g<_e;g++)lt[g]=arguments[g];vt("error",de(lt))},group:function(){rt++},groupCollapsed:function(){rt++},groupEnd:function(){rt&&--rt},clear:function(){vt("clear")},trace:function(){var _e;(_e=console).trace.apply(_e,arguments)},profile:function(){var _e;(_e=console).profile.apply(_e,arguments)},profileEnd:function(){var _e;(_e=console).profileEnd.apply(_e,arguments)}},Fe=e(25359),ue=e(49811),pe=e(7196),Ie=e(14273),ke=typeof window!="undefined"?window.html2sketch:null;function ft(Ue,_e){return Dt.apply(this,arguments)}function Dt(){return Dt=_asyncToGenerator(_regeneratorRuntime().mark(function Ue(_e,lt){return _regeneratorRuntime().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:if(lt.type!=="group"){X.next=6;break}return X.next=3,ke.nodeToGroup(_e);case 3:X.t0=X.sent.toSketchJSON(),X.next=9;break;case 6:return X.next=8,ke.nodeToSymbol(_e);case 8:X.t0=X.sent.toSketchJSON();case 9:return X.abrupt("return",X.t0);case 10:case"end":return X.stop()}},Ue)})),Dt.apply(this,arguments)}function Pt(Ue,_e){return getPluginManager().applyPlugins({key:"toSketchJSON",type:ApplyPluginsType.modify,initialValue:null,args:{target:Ue,opts:_e},async:!0})}var Nt=null,Ht=function(){}},101:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var dumi__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7196),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(50959);function ownKeys(d,p){var e=Object.keys(d);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(d);p&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(d,a).enumerable})),e.push.apply(e,o)}return e}function _objectSpread(d){for(var p=1;p + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-003-schema-demo-0/index.html +++ b/~demos/examples-core-react-003-schema-demo-0/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-003-schema-demo-1/index.html +++ b/~demos/examples-core-react-003-schema-demo-1/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-003-schema-demo-2/index.html +++ b/~demos/examples-core-react-003-schema-demo-2/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-003-schema-demo-3/index.html +++ b/~demos/examples-core-react-003-schema-demo-3/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-003-schema-demo-4/index.html +++ b/~demos/examples-core-react-003-schema-demo-4/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-003-schema-demo-5/index.html +++ b/~demos/examples-core-react-003-schema-demo-5/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-100-layout-demo-0/index.html +++ b/~demos/examples-core-react-100-layout-demo-0/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-100-layout-demo-1/index.html +++ b/~demos/examples-core-react-100-layout-demo-1/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-100-layout-demo-2/index.html +++ b/~demos/examples-core-react-100-layout-demo-2/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-100-layout-demo-3/index.html +++ b/~demos/examples-core-react-100-layout-demo-3/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-100-layout-demo-4/index.html +++ b/~demos/examples-core-react-100-layout-demo-4/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-210-relation-demo-0/index.html +++ b/~demos/examples-core-react-210-relation-demo-0/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-210-relation-demo-1/index.html +++ b/~demos/examples-core-react-210-relation-demo-1/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-210-relation-demo-2/index.html +++ b/~demos/examples-core-react-210-relation-demo-2/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-220-renderer-demo-0/index.html +++ b/~demos/examples-core-react-220-renderer-demo-0/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-220-renderer-demo-1/index.html +++ b/~demos/examples-core-react-220-renderer-demo-1/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-223-validator-demo-0/index.html +++ b/~demos/examples-core-react-223-validator-demo-0/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-223-validator-demo-1/index.html +++ b/~demos/examples-core-react-223-validator-demo-1/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-223-validator-demo-2/index.html +++ b/~demos/examples-core-react-223-validator-demo-2/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-223-validator-demo-3/index.html +++ b/~demos/examples-core-react-223-validator-demo-3/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-700-locale-demo-0/index.html +++ b/~demos/examples-core-react-700-locale-demo-0/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-950-async-demo-0/index.html +++ b/~demos/examples-core-react-950-async-demo-0/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-951-controllable-demo-0/index.html +++ b/~demos/examples-core-react-951-controllable-demo-0/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-951-controllable-demo-1/index.html +++ b/~demos/examples-core-react-951-controllable-demo-1/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-951-controllable-demo-2/index.html +++ b/~demos/examples-core-react-951-controllable-demo-2/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-951-controllable-demo-3/index.html +++ b/~demos/examples-core-react-951-controllable-demo-3/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-core-react-951-controllable-demo-4/index.html +++ b/~demos/examples-core-react-951-controllable-demo-4/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/~demos/examples-demo-0/index.html b/~demos/examples-demo-0/index.html index 32fdeba..83ebd6c 100644 --- a/~demos/examples-demo-0/index.html +++ b/~demos/examples-demo-0/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/~demos/examples-demo-1/index.html b/~demos/examples-demo-1/index.html index 32fdeba..83ebd6c 100644 --- a/~demos/examples-demo-1/index.html +++ b/~demos/examples-demo-1/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file diff --git a/~demos/examples-demo-2/index.html b/~demos/examples-demo-2/index.html index 32fdeba..83ebd6c 100644 --- a/~demos/examples-demo-2/index.html +++ b/~demos/examples-demo-2/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 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 @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-search-react-001-intro-demo-0/index.html +++ b/~demos/examples-search-react-001-intro-demo-0/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-search-react-300-actions-demo-0/index.html +++ b/~demos/examples-search-react-300-actions-demo-0/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ 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 32fdeba..83ebd6c 100644 --- a/~demos/examples-search-react-700-locale-demo-0/index.html +++ b/~demos/examples-search-react-700-locale-demo-0/index.html @@ -122,9 +122,18 @@ width: 150px; } + +
- + \ No newline at end of file