From 5235277064a44c8c65649baa1719a4d7ecd7f630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E5=9D=A4?= Date: Thu, 14 Nov 2024 16:39:30 +0800 Subject: [PATCH] Deploy to gh-pages - 16:39:28 --- 404.html | 2 +- changelog-cn-cn.html | 2 +- changelog-cn.html | 2 +- changelog.html | 2 +- components/modal/index.en-US.md.23459d.js | 1 + components/modal/index.en-US.md.b6bc0c.js | 1 - components/modal/index.zh-CN.md.2da2b7.js | 1 + components/modal/index.zh-CN.md.c4dd98.js | 1 - docs/blog/what-is-styles-cn.html | 2 +- docs/blog/what-is-styles.html | 2 +- docs/react/introduce-cn.html | 2 +- docs/react/introduce.html | 2 +- docs/react/support-cn.html | 2 +- docs/react/support.html | 2 +- docs/react/upgrade-notes-cn.html | 2 +- docs/react/upgrade-notes.html | 2 +- index-17280c30.js => index-104f35f7.js | 4 ++-- index-cn.html | 2 +- index.html | 2 +- 19 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 components/modal/index.en-US.md.23459d.js delete mode 100644 components/modal/index.en-US.md.b6bc0c.js create mode 100644 components/modal/index.zh-CN.md.2da2b7.js delete mode 100644 components/modal/index.zh-CN.md.c4dd98.js rename index-17280c30.js => index-104f35f7.js (99%) diff --git a/404.html b/404.html index 8e3b933a..b7deaf6b 100644 --- a/404.html +++ b/404.html @@ -113,7 +113,7 @@
- + diff --git a/changelog-cn-cn.html b/changelog-cn-cn.html index 8e3b933a..b7deaf6b 100644 --- a/changelog-cn-cn.html +++ b/changelog-cn-cn.html @@ -113,7 +113,7 @@
- + diff --git a/changelog-cn.html b/changelog-cn.html index 8e3b933a..b7deaf6b 100644 --- a/changelog-cn.html +++ b/changelog-cn.html @@ -113,7 +113,7 @@
- + diff --git a/changelog.html b/changelog.html index 8e3b933a..b7deaf6b 100644 --- a/changelog.html +++ b/changelog.html @@ -113,7 +113,7 @@
- + diff --git a/components/modal/index.en-US.md.23459d.js b/components/modal/index.en-US.md.23459d.js new file mode 100644 index 00000000..b465b393 --- /dev/null +++ b/components/modal/index.en-US.md.23459d.js @@ -0,0 +1 @@ +(self.webpackChunk_ant_design_react_native=self.webpackChunk_ant_design_react_native||[]).push([[9436],{93132:n=>{n.exports={content:["article",["p","Use to show important information for the system, and ask for user feedback. eg: When deleting an important content, pop up a Modal for secondary confirmation."],["h3","Rules"],["ul",["li",["p","Use as few as possible. Modal will interrupt user operation, only use it at important situation."]],["li",["p","Title should be concise, do not exceed 1 line; description should be concise and complete, generally no more than 2 lines."]],["li",["p","Operation buttons are up to 3(vertical), generally 1-2(horizontal); ",["a",{title:null,href:"/components/action-sheet"},"ActionSheet"]," is preferred when there are more than 3 actions."]],["li",["p","Generally put the most likely clicked button on the right side. In addition, the cancel button should always be on the left."]]],["h2","API"],["h3","Modal"],["table",["thead",["tr",["th","Properties"],["th","Descrition"],["th","Type"],["th","Default"],["th","Version"]]],["tbody",["tr",["td","visible"],["td","Determine whether a modal dialog is visible or not"],["td","Boolean"],["td","false"],["td"]],["tr",["td","closable"],["td","Determine whether a close (x) button is visible or not"],["td","Boolean"],["td","false"],["td"]],["tr",["td","maskClosable"],["td","Determine whether to close the modal dialog when clicked mask of it"],["td","Boolean"],["td","true"],["td"]],["tr",["td","onClose"],["td","Callback for clicking close icon x or mask"],["td","(): void"],["td","-"],["td"]],["tr",["td","transparent"],["td","transparent mode or full screen mode"],["td","Boolean"],["td","false"],["td"]],["tr",["td","popup"],["td","popup mode"],["td","Boolean"],["td","false"],["td"]],["tr",["td","animationDuration"],["td","Animation duration, in ms"],["td","Number"],["td","300"],["td",["code","5.3.0"]]],["tr",["td","animationType"],["td","Options: 'fade' / 'slide'"],["td","String"],["td"],["td","fade"]],["tr",["td","modalType"],["td","The type of the popup. ",["br"],"When it is ",["code","'portal'"],", it is inserted from the ",["code",""]," root node (default). ",["br"],"When it is ",["code","'modal'"],", it is the same as ",["a",{title:null,href:"https://reactnative.dev/docs/modal"},["code","react-native/Modal"]]," (used to get the current context). ",["br"],"When it is ",["code","'view'"],", it is the same as ",["code","react-native/View"]," (used to nest popups in popups)."],["td",["code","'portal'"],"|"," ",["code","'modal'"]," ","|"," ",["code","'view'"]],["td",["code","'portal'"]],["td",["code","5.3.0"]]],["tr",["td","title"],["td","title"],["td","React.Element"],["td","-"],["td"]],["tr",["td","footer"],["td","footer content"],["td","Array ",["span","{text, onPress}"]],["td","[]"],["td"]],["tr",["td","onRequestClose"],["td","The ",["code","onRequestClose"]," callback is called when the user taps the hardware back button on Android or the menu button on Apple TV. Returns ",["code","true"]," to prevent ",["code","BackHandler"]," events when modal is open."],["td","(): boolean"],["td","false"],["td"]],["tr",["td","style"],["td","style same as ",["code","styles.innerContainer"]],["td",["code","ViewStyle"]],["td","-"],["td"]],["tr",["td","styles"],["td","Semantic DOM style"],["td",["a",{title:null,href:"#modalstyle-interface"},"ModalStyle"]],["td","-"],["td"]]]],["h3","ModalStyle interface"],["pre",{lang:"typescript",highlighted:'interface ModalStyle {\n container: ViewStyle // Set `z-index`\n wrap: ViewStyle // Set modal flex layout: `{justifyContent: \'center\',alignItems: \'center\'}`\n innerContainer: ViewStyle // modal content view, default: `{ widh:286 }`\n \n // modal content fields\n footer: ViewStyle\n header: TextStyle\n body: ViewStyle\n closeWrap: ViewStyle\n close: TextStyle\n buttonGroupH: ViewStyle\n buttonGroupV: ViewStyle\n buttonWrapH: ViewStyle\n buttonWrapV: ViewStyle\n buttonText: TextStyle\n\n // popup\n popupContainer: ViewStyle\n popupSlideUp: ViewStyle\n popupSlideDown: ViewStyle\n // operation\n operationContainer: ViewStyle\n operationBody: ViewStyle\n buttonTextOperation: TextStyle\n}'},["code","interface ModalStyle {\n container: ViewStyle // Set `z-index`\n wrap: ViewStyle // Set modal flex layout: `{justifyContent: 'center',alignItems: 'center'}`\n innerContainer: ViewStyle // modal content view, default: `{ widh:286 }`\n \n // modal content fields\n footer: ViewStyle\n header: TextStyle\n body: ViewStyle\n closeWrap: ViewStyle\n close: TextStyle\n buttonGroupH: ViewStyle\n buttonGroupV: ViewStyle\n buttonWrapH: ViewStyle\n buttonWrapV: ViewStyle\n buttonText: TextStyle\n\n // popup\n popupContainer: ViewStyle\n popupSlideUp: ViewStyle\n popupSlideDown: ViewStyle\n // operation\n operationContainer: ViewStyle\n operationBody: ViewStyle\n buttonTextOperation: TextStyle\n}"]],["h3","Modal.useModal()"],["p","When you need using Context, you can use ",["code","contextHolder"]," which created by ",["code","Modal.useModal"]," to insert into children. Modal created by hooks will get all the context where ",["code","contextHolder"]," are. Created ",["code","modal"]," has the same creating function with ",["a",{title:null,href:"#static-method"},["code","Modal.method"]],"(Static method)."],["pre",{lang:"jsx",highlighted:'const [modal, contextHolder] = Modal.useModal();\n\nReact.useEffect(() => {\n modal.alert(\n // ...\n );\n}, []);\n\nreturn <View>{contextHolder}</View>;'},["code","const [modal, contextHolder] = Modal.useModal();\n\nReact.useEffect(() => {\n modal.alert(\n // ...\n );\n}, []);\n\nreturn {contextHolder};"]],["h2","Static method"],["h3","Modal.alert(title, message, actions?)"],["table",["thead",["tr",["th","Properties"],["th","Descrition"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","title"],["td","title"],["td","String or React.Element"],["td","-"]],["tr",["td","message"],["td","message"],["td","String or React.Element"],["td","-"]],["tr",["td","actions"],["td","button group, ",["span","{text, onPress, style}"]],["td","Array"],["td","-"]],["tr",["td","onBackHandler"],["td","Callback of the back key (not required), returns true to close modal, false to prevent modal from closing"],["td","(): boolean"],["td","无"]]]],["h3","Modal.prompt(title, message, callbackOrActions, type?, defaultValue?)"],["table",["thead",["tr",["th","Properties"],["th","Descrition"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","title"],["td","title"],["td","String or React.Element"],["td","-"]],["tr",["td","message"],["td","message"],["td","String or React.Element"],["td","-"]],["tr",["td","callbackOrActions"],["td","button group ",["span","{text, onPress}"]," or callback"],["td","Array or Function"],["td","-"]],["tr",["td","type"],["td","prompt style"],["td","String (",["code","default"],", ",["code","secure-text"],", ",["code","login-password"],")"],["td",["code","default"]]],["tr",["td","defaultValue"],["td","Default(input whick type is password is not supported)"],["td","String"],["td","-"]],["tr",["td","placeholders"],["td",["span","'', ''"]],["td","String[]"],["td","-"]],["tr",["td","onBackHandler"],["td","Callback of the back key (not required), returns true to close modal, false to prevent modal from closing"],["td","(): boolean"],["td","无"]]]],["h3","Modal.operation(actions?, onBackHandler?)"],["table",["thead",["tr",["th","Properties"],["th","Descrition"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","actions"],["td","button group, ",["span","{text, onPress, style}"]],["td","Array"],["td","-"]],["tr",["td","onBackHandler"],["td","Callback of the back key (not required), returns true to close modal, false to prevent modal from closing"],["td","(): boolean"],["td","无"]]]],["h2","FAQ"],["h3","How to close the static Modal.method()?"],["p","You need to use ",["code","Portal.remove(key)"]," method; Take ",["code","Modal.alert"]," as an example"],["pre",{lang:"jsx",highlighted:'import { Modal, Portal } from \'@ant-design/react-native\'\nimport { useRef } from \'react\'\n\nfunction App() {\n const key = useRef()\n\n const onOpen = () => {\n key.current = Modal.alert({})\n }\n\n const onClose = () => {\n // close the Modal.alert\n Portal.remove(key)\n }\n}'},["code","import { Modal, Portal } from '@ant-design/react-native'\nimport { useRef } from 'react'\n\nfunction App() {\n const key = useRef()\n\n const onOpen = () => {\n key.current = Modal.alert({})\n }\n\n const onClose = () => {\n // close the Modal.alert\n Portal.remove(key)\n }\n}"]],["p","When using ",["code","Modal.useModal"],", use the ",["code","modal.remove(key)"]," method:"],["pre",{lang:"jsx",highlighted:'import { Modal, Portal } from \'@ant-design/react-native\'\nimport { useRef } from \'react\'\n\nfunction App() {\n const [modal, contextHolder] = Modal.useModal();\n const key = useRef()\n\n const onOpen = () => {\n key.current = modal.alert({})\n }\n\n const onClose = () => {\n // close the modal.alert\n modal.remove(key)\n }\n\n return (\n <>\n ...\n {contextHolder}\n </>\n )\n}'},["code","import { Modal, Portal } from '@ant-design/react-native'\nimport { useRef } from 'react'\n\nfunction App() {\n const [modal, contextHolder] = Modal.useModal();\n const key = useRef()\n\n const onOpen = () => {\n key.current = modal.alert({})\n }\n\n const onClose = () => {\n // close the modal.alert\n modal.remove(key)\n }\n\n return (\n <>\n ...\n {contextHolder}\n \n )\n}"]],["h3","Why I can not access context,redux,useRouter in ",["code",""]," or ",["code","Modal.xxx"],"?"],["p","Rendering ",["code",""]," or calling Modal methods directly is dynamically inserted into the ",["code",""]," root node through ",["code","Portal.add"]," by default. At this time, its context is different from the context of the current code, so the context information cannot be obtained."],["p","When you need context info, ",["br"],"\n",["strong","1."]," you can use ",["code","Modal.useModal"]," to get ",["code","modal"]," instance and ",["code","contextHolder"]," node. And put it in your children:"],["pre",{lang:"tsx",highlighted:'const [modal, contextHolder] = Modal.useModal();\n\n// then call modal.confirm instead of Modal.confirm\n\nreturn (\n <Context1.Provider value="Ant">\n {/* contextHolder is in Context1, which means modal will get context of Context1 */}\n {contextHolder}\n <Context2.Provider value="Design">\n {/* contextHolder is out of Context2, which means modal will not get context of Context2 */}\n </Context2.Provider>\n </Context1.Provider>\n);'},["code",'const [modal, contextHolder] = Modal.useModal();\n\n// then call modal.confirm instead of Modal.confirm\n\nreturn (\n \n {/* contextHolder is in Context1, which means modal will get context of Context1 */}\n {contextHolder}\n \n {/* contextHolder is out of Context2, which means modal will not get context of Context2 */}\n \n \n);']],["p",["strong","Note"],": You must insert ",["code","contextHolder"]," into your children with hooks. You can use origin method if you do not need context connection."],["p",["strong","2."]," When using ",["code",""],", by setting ",["code","modalType='modal'"],", the ",["strong","native Modal component"]," will be used internally to maintain the context:"],["pre",{lang:"tsx",highlighted:'<Modal modelType="modal" ...>\n ...\n</Modal>'},["code",'\n ...\n']]],meta:{category:"Components",type:"Feedback",title:"Modal",filename:"components/modal/index.en-US.md"}}}}]); \ No newline at end of file diff --git a/components/modal/index.en-US.md.b6bc0c.js b/components/modal/index.en-US.md.b6bc0c.js deleted file mode 100644 index ed91968b..00000000 --- a/components/modal/index.en-US.md.b6bc0c.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_ant_design_react_native=self.webpackChunk_ant_design_react_native||[]).push([[9436],{93132:n=>{n.exports={content:["article",["p","Use to show important information for the system, and ask for user feedback. eg: When deleting an important content, pop up a Modal for secondary confirmation."],["h3","Rules"],["ul",["li",["p","Use as few as possible. Modal will interrupt user operation, only use it at important situation."]],["li",["p","Title should be concise, do not exceed 1 line; description should be concise and complete, generally no more than 2 lines."]],["li",["p","Operation buttons are up to 3(vertical), generally 1-2(horizontal); ",["a",{title:null,href:"/components/action-sheet"},"ActionSheet"]," is preferred when there are more than 3 actions."]],["li",["p","Generally put the most likely clicked button on the right side. In addition, the cancel button should always be on the left."]]],["h2","API"],["h3","Modal"],["table",["thead",["tr",["th","Properties"],["th","Descrition"],["th","Type"],["th","Default"],["th","Version"]]],["tbody",["tr",["td","visible"],["td","Determine whether a modal dialog is visible or not"],["td","Boolean"],["td","false"],["td"]],["tr",["td","closable"],["td","Determine whether a close (x) button is visible or not"],["td","Boolean"],["td","false"],["td"]],["tr",["td","maskClosable"],["td","Determine whether to close the modal dialog when clicked mask of it"],["td","Boolean"],["td","true"],["td"]],["tr",["td","onClose"],["td","Callback for clicking close icon x or mask"],["td","(): void"],["td","-"],["td"]],["tr",["td","transparent"],["td","transparent mode or full screen mode"],["td","Boolean"],["td","false"],["td"]],["tr",["td","popup"],["td","popup mode"],["td","Boolean"],["td","false"],["td"]],["tr",["td","animationDuration"],["td","Animation duration, in ms"],["td","Number"],["td","300"],["td",["code","5.3.0"]]],["tr",["td","animationType"],["td","Options: 'fade' / 'slide'"],["td","String"],["td"],["td","fade"]],["tr",["td","modalType"],["td","The type of the popup. ",["br"],"When it is ",["code","'portal'"],", it is inserted from the ",["code",""]," root node (default). ",["br"],"When it is ",["code","'modal'"],", it is the same as ",["a",{title:null,href:"https://reactnative.dev/docs/modal"},["code","react-native/Modal"]]," (used to get the current context). ",["br"],"When it is ",["code","'view'"],", it is the same as ",["code","react-native/View"]," (used to nest popups in popups)."],["td",["code","'portal'"]],["td",["code","'modal'"]],["td",["code","'view'"]],["td",["code","'portal'"]],["td",["code","5.3.0"]]],["tr",["td","title"],["td","title"],["td","React.Element"],["td","-"],["td"]],["tr",["td","footer"],["td","footer content"],["td","Array ",["span","{text, onPress}"]],["td","[]"],["td"]],["tr",["td","onRequestClose"],["td","The ",["code","onRequestClose"]," callback is called when the user taps the hardware back button on Android or the menu button on Apple TV. Returns ",["code","true"]," to prevent ",["code","BackHandler"]," events when modal is open."],["td","(): boolean"],["td","false"],["td"]],["tr",["td","style"],["td","style same as ",["code","styles.innerContainer"]],["td",["code","ViewStyle"]],["td","-"],["td"]],["tr",["td","styles"],["td","Semantic DOM style"],["td",["a",{title:null,href:"#modalstyle-interface"},"ModalStyle"]],["td","-"],["td"]]]],["h3","ModalStyle interface"],["pre",{lang:"typescript",highlighted:'interface ModalStyle {\n container: ViewStyle // Set `z-index`\n wrap: ViewStyle // Set modal flex layout: `{justifyContent: \'center\',alignItems: \'center\'}`\n innerContainer: ViewStyle // modal content view, default: `{ widh:286 }`\n \n // modal content fields\n footer: ViewStyle\n header: TextStyle\n body: ViewStyle\n closeWrap: ViewStyle\n close: TextStyle\n buttonGroupH: ViewStyle\n buttonGroupV: ViewStyle\n buttonWrapH: ViewStyle\n buttonWrapV: ViewStyle\n buttonText: TextStyle\n\n // popup\n popupContainer: ViewStyle\n popupSlideUp: ViewStyle\n popupSlideDown: ViewStyle\n // operation\n operationContainer: ViewStyle\n operationBody: ViewStyle\n buttonTextOperation: TextStyle\n}'},["code","interface ModalStyle {\n container: ViewStyle // Set `z-index`\n wrap: ViewStyle // Set modal flex layout: `{justifyContent: 'center',alignItems: 'center'}`\n innerContainer: ViewStyle // modal content view, default: `{ widh:286 }`\n \n // modal content fields\n footer: ViewStyle\n header: TextStyle\n body: ViewStyle\n closeWrap: ViewStyle\n close: TextStyle\n buttonGroupH: ViewStyle\n buttonGroupV: ViewStyle\n buttonWrapH: ViewStyle\n buttonWrapV: ViewStyle\n buttonText: TextStyle\n\n // popup\n popupContainer: ViewStyle\n popupSlideUp: ViewStyle\n popupSlideDown: ViewStyle\n // operation\n operationContainer: ViewStyle\n operationBody: ViewStyle\n buttonTextOperation: TextStyle\n}"]],["h3","Modal.useModal()"],["p","When you need using Context, you can use ",["code","contextHolder"]," which created by ",["code","Modal.useModal"]," to insert into children. Modal created by hooks will get all the context where ",["code","contextHolder"]," are. Created ",["code","modal"]," has the same creating function with ",["a",{title:null,href:"#static-method"},["code","Modal.method"]],"(Static method)."],["pre",{lang:"jsx",highlighted:'const [modal, contextHolder] = Modal.useModal();\n\nReact.useEffect(() => {\n modal.alert(\n // ...\n );\n}, []);\n\nreturn <View>{contextHolder}</View>;'},["code","const [modal, contextHolder] = Modal.useModal();\n\nReact.useEffect(() => {\n modal.alert(\n // ...\n );\n}, []);\n\nreturn {contextHolder};"]],["h2","Static method"],["h3","Modal.alert(title, message, actions?)"],["table",["thead",["tr",["th","Properties"],["th","Descrition"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","title"],["td","title"],["td","String or React.Element"],["td","-"]],["tr",["td","message"],["td","message"],["td","String or React.Element"],["td","-"]],["tr",["td","actions"],["td","button group, ",["span","{text, onPress, style}"]],["td","Array"],["td","-"]],["tr",["td","onBackHandler"],["td","Callback of the back key (not required), returns true to close modal, false to prevent modal from closing"],["td","(): boolean"],["td","无"]]]],["h3","Modal.prompt(title, message, callbackOrActions, type?, defaultValue?)"],["table",["thead",["tr",["th","Properties"],["th","Descrition"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","title"],["td","title"],["td","String or React.Element"],["td","-"]],["tr",["td","message"],["td","message"],["td","String or React.Element"],["td","-"]],["tr",["td","callbackOrActions"],["td","button group ",["span","{text, onPress}"]," or callback"],["td","Array or Function"],["td","-"]],["tr",["td","type"],["td","prompt style"],["td","String (",["code","default"],", ",["code","secure-text"],", ",["code","login-password"],")"],["td",["code","default"]]],["tr",["td","defaultValue"],["td","Default(input whick type is password is not supported)"],["td","String"],["td","-"]],["tr",["td","placeholders"],["td",["span","'', ''"]],["td","String[]"],["td","-"]],["tr",["td","onBackHandler"],["td","Callback of the back key (not required), returns true to close modal, false to prevent modal from closing"],["td","(): boolean"],["td","无"]]]],["h3","Modal.operation(actions?, onBackHandler?)"],["table",["thead",["tr",["th","Properties"],["th","Descrition"],["th","Type"],["th","Default"]]],["tbody",["tr",["td","actions"],["td","button group, ",["span","{text, onPress, style}"]],["td","Array"],["td","-"]],["tr",["td","onBackHandler"],["td","Callback of the back key (not required), returns true to close modal, false to prevent modal from closing"],["td","(): boolean"],["td","无"]]]],["h2","FAQ"],["h3","How to close the static Modal.method()?"],["p","You need to use ",["code","Portal.remove(key)"]," method; Take ",["code","Modal.alert"]," as an example"],["pre",{lang:"jsx",highlighted:'import { Modal, Portal } from \'@ant-design/react-native\'\nimport { useRef } from \'react\'\n\nfunction App() {\n const key = useRef()\n\n const onOpen = () => {\n key.current = Modal.alert({})\n }\n\n const onClose = () => {\n // close the Modal.alert\n Portal.remove(key)\n }\n}'},["code","import { Modal, Portal } from '@ant-design/react-native'\nimport { useRef } from 'react'\n\nfunction App() {\n const key = useRef()\n\n const onOpen = () => {\n key.current = Modal.alert({})\n }\n\n const onClose = () => {\n // close the Modal.alert\n Portal.remove(key)\n }\n}"]],["p","When using ",["code","Modal.useModal"],", use the ",["code","modal.remove(key)"]," method:"],["pre",{lang:"jsx",highlighted:'import { Modal, Portal } from \'@ant-design/react-native\'\nimport { useRef } from \'react\'\n\nfunction App() {\n const [modal, contextHolder] = Modal.useModal();\n const key = useRef()\n\n const onOpen = () => {\n key.current = modal.alert({})\n }\n\n const onClose = () => {\n // close the modal.alert\n modal.remove(key)\n }\n\n return (\n <>\n ...\n {contextHolder}\n </>\n )\n}'},["code","import { Modal, Portal } from '@ant-design/react-native'\nimport { useRef } from 'react'\n\nfunction App() {\n const [modal, contextHolder] = Modal.useModal();\n const key = useRef()\n\n const onOpen = () => {\n key.current = modal.alert({})\n }\n\n const onClose = () => {\n // close the modal.alert\n modal.remove(key)\n }\n\n return (\n <>\n ...\n {contextHolder}\n \n )\n}"]],["h3","Why I can not access context,redux,useRouter in ",["code",""]," or ",["code","Modal.xxx"],"?"],["p","Rendering ",["code",""]," or calling Modal methods directly is dynamically inserted into the ",["code",""]," root node through ",["code","Portal.add"]," by default. At this time, its context is different from the context of the current code, so the context information cannot be obtained."],["p","When you need context info, ",["br"],"\n",["strong","1."]," you can use ",["code","Modal.useModal"]," to get ",["code","modal"]," instance and ",["code","contextHolder"]," node. And put it in your children:"],["pre",{lang:"tsx",highlighted:'const [modal, contextHolder] = Modal.useModal();\n\n// then call modal.confirm instead of Modal.confirm\n\nreturn (\n <Context1.Provider value="Ant">\n {/* contextHolder is in Context1, which means modal will get context of Context1 */}\n {contextHolder}\n <Context2.Provider value="Design">\n {/* contextHolder is out of Context2, which means modal will not get context of Context2 */}\n </Context2.Provider>\n </Context1.Provider>\n);'},["code",'const [modal, contextHolder] = Modal.useModal();\n\n// then call modal.confirm instead of Modal.confirm\n\nreturn (\n \n {/* contextHolder is in Context1, which means modal will get context of Context1 */}\n {contextHolder}\n \n {/* contextHolder is out of Context2, which means modal will not get context of Context2 */}\n \n \n);']],["p",["strong","Note"],": You must insert ",["code","contextHolder"]," into your children with hooks. You can use origin method if you do not need context connection."],["p",["strong","2."]," When using ",["code",""],", by setting ",["code","modalType='modal'"],", the ",["strong","native Modal component"]," will be used internally to maintain the context:"],["pre",{lang:"tsx",highlighted:'<Modal modelType="modal" ...>\n ...\n</Modal>'},["code",'\n ...\n']]],meta:{category:"Components",type:"Feedback",title:"Modal",filename:"components/modal/index.en-US.md"}}}}]); \ No newline at end of file diff --git a/components/modal/index.zh-CN.md.2da2b7.js b/components/modal/index.zh-CN.md.2da2b7.js new file mode 100644 index 00000000..2e86f1f9 --- /dev/null +++ b/components/modal/index.zh-CN.md.2da2b7.js @@ -0,0 +1 @@ +(self.webpackChunk_ant_design_react_native=self.webpackChunk_ant_design_react_native||[]).push([[2364],{81710:n=>{n.exports={content:["article",["p","用作显示系统的重要信息,并请求用户进行操作反馈,eg:删除某个重要内容时,弹出 Modal 进行二次确认。"],["h3","规则"],["ul",["li",["p","尽可能少用。Modal 会打断用户操作,只用在重要的时候。"]],["li",["p","标题应该简明,不能超过 1 行;描述内容应该简明、完整,一般不多于 2 行。"]],["li",["p","操作按钮最多到 3 个(竖排),一般为 1-2 个(横排);3 个以上建议使用组件 ActionSheet 来完成。"]],["li",["p","一般将用户最可能点击的按钮,放在右侧。另外,取消按钮应当始终放在左侧。"]]],["h2","API"],["h3","Modal"],["table",["thead",["tr",["th","属性"],["th","说明"],["th","类型"],["th","默认值"],["th","版本"]]],["tbody",["tr",["td","visible"],["td","对话框是否可见"],["td","Boolean"],["td","false"],["td"]],["tr",["td","closable"],["td","是否显示关闭按钮"],["td","Boolean"],["td","false"],["td"]],["tr",["td","maskClosable"],["td","点击蒙层是否允许关闭"],["td","Boolean"],["td","true"],["td"]],["tr",["td","onClose"],["td","点击 x 或 mask 回调"],["td","(): void"],["td","无"],["td"]],["tr",["td","transparent"],["td","是否背景透明"],["td","Boolean"],["td","false"],["td"]],["tr",["td","popup"],["td","是否弹窗模式"],["td","Boolean"],["td","false"],["td"]],["tr",["td","animationDuration"],["td","动画持续时间,单位ms"],["td","Number"],["td","300"],["td",["code","5.3.0"]]],["tr",["td","animationType"],["td","可选: 'fade' / 'slide'"],["td","String"],["td","fade"],["td"]],["tr",["td","modalType"],["td","弹窗的类型,",["br"],"为",["code","'portal'"],"时则从",["code",""],"根节点插入(默认),",["br"],"为",["code","'modal'"],"时则同",["a",{title:null,href:"https://reactnative.dev/docs/modal"},["code","react-native/Modal"]],"(用于获取当前context),",["br"],"为",["code","'view'"],"时则同",["code","react-native/View"],"(用于弹窗中嵌套弹窗)"],["td",["code","'portal'"],"|"," ",["code","'modal'"]," ","|"," ",["code","'view'"]],["td",["code","'portal'"]],["td",["code","5.3.0"]]],["tr",["td","title"],["td","标题"],["td","React.Element"],["td","无"],["td"]],["tr",["td","footer"],["td","底部内容"],["td","Array ",["span","{text, onPress}"]],["td","[]"],["td"]],["tr",["td","onRequestClose"],["td",["code","onRequestClose"],"回调会在用户按下 Android 设备上的后退按键或是 Apple TV 上的菜单键时触发。返回true时会在 modal 处于开启状态时阻止",["code","BackHandler"],"事件。"],["td","(): boolean"],["td","false"],["td"]],["tr",["td","style"],["td","样式,同",["code","styles.innerContainer"]],["td",["code","ViewStyle"]],["td","-"],["td"]],["tr",["td","styles"],["td","语义化结构 style"],["td",["a",{title:null,href:"#modalstyle-语义化样式"},"ModalStyle"]],["td","-"],["td"]]]],["h3","ModalStyle 语义化样式"],["pre",{lang:"typescript",highlighted:'interface ModalStyle {\n container: ViewStyle // 设置了`z-index`\n wrap: ViewStyle // 设置了modal的flex布局,默认: `{justifyContent: \'center\',alignItems: \'center\'}`\n innerContainer: ViewStyle // modal主要内容区域, 默认:`{ width:286 }`\n\n // modal内容组成的各个元素样式\n footer: ViewStyle\n header: TextStyle\n body: ViewStyle\n closeWrap: ViewStyle\n close: TextStyle\n buttonGroupH: ViewStyle\n buttonGroupV: ViewStyle\n buttonWrapH: ViewStyle\n buttonWrapV: ViewStyle\n buttonText: TextStyle\n\n // popup\n popupContainer: ViewStyle\n popupSlideUp: ViewStyle\n popupSlideDown: ViewStyle\n\n // operation\n operationContainer: ViewStyle\n operationBody: ViewStyle\n buttonTextOperation: TextStyle\n}'},["code","interface ModalStyle {\n container: ViewStyle // 设置了`z-index`\n wrap: ViewStyle // 设置了modal的flex布局,默认: `{justifyContent: 'center',alignItems: 'center'}`\n innerContainer: ViewStyle // modal主要内容区域, 默认:`{ width:286 }`\n\n // modal内容组成的各个元素样式\n footer: ViewStyle\n header: TextStyle\n body: ViewStyle\n closeWrap: ViewStyle\n close: TextStyle\n buttonGroupH: ViewStyle\n buttonGroupV: ViewStyle\n buttonWrapH: ViewStyle\n buttonWrapV: ViewStyle\n buttonText: TextStyle\n\n // popup\n popupContainer: ViewStyle\n popupSlideUp: ViewStyle\n popupSlideDown: ViewStyle\n\n // operation\n operationContainer: ViewStyle\n operationBody: ViewStyle\n buttonTextOperation: TextStyle\n}"]],["h3","Modal.useModal()"],["p",["code","5.3.0"],"新增。当你需要使用 Context 时,可以通过 ",["code","Modal.useModal"]," 创建一个 ",["code","contextHolder"]," 插入子节点中。通过 hooks 创建的临时 Modal 将会得到 ",["code","contextHolder"]," 所在位置的所有上下文。创建的 ",["code","modal"]," 对象拥有与 ",["a",{title:null,href:"#静态方法"},["code","Modal.method"]]," 静态方法相同的创建通知方法。"],["pre",{lang:"jsx",highlighted:'const [modal, contextHolder] = Modal.useModal();\n\nReact.useEffect(() => {\n modal.confirm(\n // ...\n );\n}, []);\n\nreturn <View>{contextHolder}</View>;'},["code","const [modal, contextHolder] = Modal.useModal();\n\nReact.useEffect(() => {\n modal.confirm(\n // ...\n );\n}, []);\n\nreturn {contextHolder};"]],["h2","静态方法"],["h3","Modal.alert(title, message, actions?, platform?)"],["table",["thead",["tr",["th","属性"],["th","说明"],["th","类型"],["th","默认值"]]],["tbody",["tr",["td","title"],["td","标题"],["td","String 或 React.Element"],["td","无"]],["tr",["td","message"],["td","提示信息"],["td","String 或 React.Element"],["td","无"]],["tr",["td","actions"],["td","按钮组, ",["span","{text, onPress, style}"]],["td","Array"],["td","无"]],["tr",["td","onBackHandler"],["td","返回键的回调(非必须),返回true则关闭modal,false阻止modal关闭"],["td","(): boolean"],["td","无"]]]],["h3","Modal.prompt(title, message, callbackOrActions, type?, defaultValue?, placeholders?, platform?)"],["table",["thead",["tr",["th","属性"],["th","说明"],["th","类型"],["th","默认值"]]],["tbody",["tr",["td","title"],["td","标题"],["td","String 或 React.Element"],["td","无"]],["tr",["td","message"],["td","提示信息"],["td","String 或 React.Element"],["td","无"]],["tr",["td","callbackOrActions"],["td","按钮组 ",["span","{text, onPress}"]," 或回调函数"],["td","Array or Function"],["td","无"]],["tr",["td","type"],["td","prompt 的样式"],["td","String (",["code","default"],", ",["code","secure-text"],", ",["code","login-password"],")"],["td",["code","default"]]],["tr",["td","defaultValue"],["td","默认值(input 为 password 类型不支持)"],["td","String"],["td","-"]],["tr",["td","placeholders"],["td",["span","'', ''"]],["td","String[]"],["td","-"]],["tr",["td","onBackHandler"],["td","返回键的回调(非必须),返回true则关闭modal,false阻止modal关闭"],["td","(): boolean"],["td","无"]]]],["h3","Modal.operation(actions?, onBackHandler?)"],["table",["thead",["tr",["th","属性"],["th","说明"],["th","类型"],["th","默认值"]]],["tbody",["tr",["td","actions"],["td","按钮组, ",["span","{text, onPress, style}"]],["td","Array"],["td","无"]],["tr",["td","onBackHandler"],["td","返回键的回调(非必须),返回true则关闭modal,false阻止modal关闭"],["td","(): boolean"],["td","无"]]]],["h2","FAQ"],["h3","静态方法Modal如何关闭?"],["p","需要借助",["code","Portal.remove(key)"],"方法; 以下 ",["code","Modal.alert"]," 为例"],["pre",{lang:"jsx",highlighted:'import { Modal, Portal } from \'@ant-design/react-native\'\nimport { useRef } from \'react\'\n\nfunction App() {\n const key = useRef()\n\n const onOpen = () => {\n key.current = Modal.alert({})\n }\n\n const onClose = () => {\n // 关闭Modal.alert\n Portal.remove(key)\n }\n}'},["code","import { Modal, Portal } from '@ant-design/react-native'\nimport { useRef } from 'react'\n\nfunction App() {\n const key = useRef()\n\n const onOpen = () => {\n key.current = Modal.alert({})\n }\n\n const onClose = () => {\n // 关闭Modal.alert\n Portal.remove(key)\n }\n}"]],["p","使用 ",["code","Modal.useModal"]," 时则借助 ",["code","modal.remove(key)"]," 方法:"],["pre",{lang:"jsx",highlighted:'import { Modal, Portal } from \'@ant-design/react-native\'\nimport { useRef } from \'react\'\n\nfunction App() {\n const [modal, contextHolder] = Modal.useModal();\n const key = useRef()\n\n const onOpen = () => {\n key.current = modal.alert({})\n }\n\n const onClose = () => {\n // 关闭modal.alert\n modal.remove(key)\n }\n}'},["code","import { Modal, Portal } from '@ant-design/react-native'\nimport { useRef } from 'react'\n\nfunction App() {\n const [modal, contextHolder] = Modal.useModal();\n const key = useRef()\n\n const onOpen = () => {\n key.current = modal.alert({})\n }\n\n const onClose = () => {\n // 关闭modal.alert\n modal.remove(key)\n }\n}"]],["h3","为什么 Modal 不能获取当前 context、redux、useRouter 的内容?"],["p","渲染 ",["code",""]," 或直接调用 Modal 方法,默认是通过 ",["code","Portal.add"]," 动态插入到 ",["code",""]," 根节点的,此时其 context 与当前代码所在 context 并不相同,因而无法获取 context 信息。"],["p","当你需要 context 信息时,",["br"],"\n1.通过 ",["code","Modal.useModal"]," 方法会返回 ",["code","modal"]," 实体以及 ",["code","contextHolder"]," 节点。将其插入到你需要获取 context 位置即可:"],["pre",{lang:"tsx",highlighted:'const [modal, contextHolder] = Modal.useModal();\n\nreturn (\n <Context1.Provider value="Ant">\n {/* contextHolder 在 Context1 内,它可以获得 Context1 的 context */}\n {contextHolder}\n <Context2.Provider value="Design">\n {/* contextHolder 在 Context2 外,因而不会获得 Context2 的 context */}\n </Context2.Provider>\n </Context1.Provider>\n);'},["code",'const [modal, contextHolder] = Modal.useModal();\n\nreturn (\n \n {/* contextHolder 在 Context1 内,它可以获得 Context1 的 context */}\n {contextHolder}\n \n {/* contextHolder 在 Context2 外,因而不会获得 Context2 的 context */}\n \n \n);']],["p",["strong","异同"],":通过 hooks 创建的 ",["code","contextHolder"]," 必须插入到子元素节点中才会生效,当你不需要上下文信息时请直接调用。"],["p","2.使用",["code",""],"时,则通过设置 ",["code","modalType='modal'"]," 内部会改为使用 ",["strong","原生Modal组件"]," 来保持 context :"],["pre",{lang:"tsx",highlighted:'<Modal modelType="modal" ...>\n ...\n</Modal>'},["code",'\n ...\n']]],meta:{category:"Components",type:"Feedback",title:"Modal",subtitle:"对话框",filename:"components/modal/index.zh-CN.md"}}}}]); \ No newline at end of file diff --git a/components/modal/index.zh-CN.md.c4dd98.js b/components/modal/index.zh-CN.md.c4dd98.js deleted file mode 100644 index 442160ab..00000000 --- a/components/modal/index.zh-CN.md.c4dd98.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_ant_design_react_native=self.webpackChunk_ant_design_react_native||[]).push([[2364],{81710:n=>{n.exports={content:["article",["p","用作显示系统的重要信息,并请求用户进行操作反馈,eg:删除某个重要内容时,弹出 Modal 进行二次确认。"],["h3","规则"],["ul",["li",["p","尽可能少用。Modal 会打断用户操作,只用在重要的时候。"]],["li",["p","标题应该简明,不能超过 1 行;描述内容应该简明、完整,一般不多于 2 行。"]],["li",["p","操作按钮最多到 3 个(竖排),一般为 1-2 个(横排);3 个以上建议使用组件 ActionSheet 来完成。"]],["li",["p","一般将用户最可能点击的按钮,放在右侧。另外,取消按钮应当始终放在左侧。"]]],["h2","API"],["h3","Modal"],["table",["thead",["tr",["th","属性"],["th","说明"],["th","类型"],["th","默认值"],["th","版本"]]],["tbody",["tr",["td","visible"],["td","对话框是否可见"],["td","Boolean"],["td","false"],["td"]],["tr",["td","closable"],["td","是否显示关闭按钮"],["td","Boolean"],["td","false"],["td"]],["tr",["td","maskClosable"],["td","点击蒙层是否允许关闭"],["td","Boolean"],["td","true"],["td"]],["tr",["td","onClose"],["td","点击 x 或 mask 回调"],["td","(): void"],["td","无"],["td"]],["tr",["td","transparent"],["td","是否背景透明"],["td","Boolean"],["td","false"],["td"]],["tr",["td","popup"],["td","是否弹窗模式"],["td","Boolean"],["td","false"],["td"]],["tr",["td","animationDuration"],["td","动画持续时间,单位ms"],["td","Number"],["td","300"],["td",["code","5.3.0"]]],["tr",["td","animationType"],["td","可选: 'fade' / 'slide'"],["td","String"],["td","fade"],["td"]],["tr",["td","modalType"],["td","弹窗的类型,",["br"],"为",["code","'portal'"],"时则从",["code",""],"根节点插入(默认),",["br"],"为",["code","'modal'"],"时则同",["a",{title:null,href:"https://reactnative.dev/docs/modal"},["code","react-native/Modal"]],"(用于获取当前context),",["br"],"为",["code","'view'"],"时则同",["code","react-native/View"],"(用于弹窗中嵌套弹窗)"],["td",["code","'portal'"]],["td",["code","'modal'"]],["td",["code","'view'"]],["td",["code","'portal'"]],["td",["code","5.3.0"]]],["tr",["td","title"],["td","标题"],["td","React.Element"],["td","无"],["td"]],["tr",["td","footer"],["td","底部内容"],["td","Array ",["span","{text, onPress}"]],["td","[]"],["td"]],["tr",["td","onRequestClose"],["td",["code","onRequestClose"],"回调会在用户按下 Android 设备上的后退按键或是 Apple TV 上的菜单键时触发。返回true时会在 modal 处于开启状态时阻止",["code","BackHandler"],"事件。"],["td","(): boolean"],["td","false"],["td"]],["tr",["td","style"],["td","样式,同",["code","styles.innerContainer"]],["td",["code","ViewStyle"]],["td","-"],["td"]],["tr",["td","styles"],["td","语义化结构 style"],["td",["a",{title:null,href:"#modalstyle-语义化样式"},"ModalStyle"]],["td","-"],["td"]]]],["h3","ModalStyle 语义化样式"],["pre",{lang:"typescript",highlighted:'interface ModalStyle {\n container: ViewStyle // 设置了`z-index`\n wrap: ViewStyle // 设置了modal的flex布局,默认: `{justifyContent: \'center\',alignItems: \'center\'}`\n innerContainer: ViewStyle // modal主要内容区域, 默认:`{ width:286 }`\n\n // modal内容组成的各个元素样式\n footer: ViewStyle\n header: TextStyle\n body: ViewStyle\n closeWrap: ViewStyle\n close: TextStyle\n buttonGroupH: ViewStyle\n buttonGroupV: ViewStyle\n buttonWrapH: ViewStyle\n buttonWrapV: ViewStyle\n buttonText: TextStyle\n\n // popup\n popupContainer: ViewStyle\n popupSlideUp: ViewStyle\n popupSlideDown: ViewStyle\n\n // operation\n operationContainer: ViewStyle\n operationBody: ViewStyle\n buttonTextOperation: TextStyle\n}'},["code","interface ModalStyle {\n container: ViewStyle // 设置了`z-index`\n wrap: ViewStyle // 设置了modal的flex布局,默认: `{justifyContent: 'center',alignItems: 'center'}`\n innerContainer: ViewStyle // modal主要内容区域, 默认:`{ width:286 }`\n\n // modal内容组成的各个元素样式\n footer: ViewStyle\n header: TextStyle\n body: ViewStyle\n closeWrap: ViewStyle\n close: TextStyle\n buttonGroupH: ViewStyle\n buttonGroupV: ViewStyle\n buttonWrapH: ViewStyle\n buttonWrapV: ViewStyle\n buttonText: TextStyle\n\n // popup\n popupContainer: ViewStyle\n popupSlideUp: ViewStyle\n popupSlideDown: ViewStyle\n\n // operation\n operationContainer: ViewStyle\n operationBody: ViewStyle\n buttonTextOperation: TextStyle\n}"]],["h3","Modal.useModal()"],["p",["code","5.3.0"],"新增。当你需要使用 Context 时,可以通过 ",["code","Modal.useModal"]," 创建一个 ",["code","contextHolder"]," 插入子节点中。通过 hooks 创建的临时 Modal 将会得到 ",["code","contextHolder"]," 所在位置的所有上下文。创建的 ",["code","modal"]," 对象拥有与 ",["a",{title:null,href:"#静态方法"},["code","Modal.method"]]," 静态方法相同的创建通知方法。"],["pre",{lang:"jsx",highlighted:'const [modal, contextHolder] = Modal.useModal();\n\nReact.useEffect(() => {\n modal.confirm(\n // ...\n );\n}, []);\n\nreturn <View>{contextHolder}</View>;'},["code","const [modal, contextHolder] = Modal.useModal();\n\nReact.useEffect(() => {\n modal.confirm(\n // ...\n );\n}, []);\n\nreturn {contextHolder};"]],["h2","静态方法"],["h3","Modal.alert(title, message, actions?, platform?)"],["table",["thead",["tr",["th","属性"],["th","说明"],["th","类型"],["th","默认值"]]],["tbody",["tr",["td","title"],["td","标题"],["td","String 或 React.Element"],["td","无"]],["tr",["td","message"],["td","提示信息"],["td","String 或 React.Element"],["td","无"]],["tr",["td","actions"],["td","按钮组, ",["span","{text, onPress, style}"]],["td","Array"],["td","无"]],["tr",["td","onBackHandler"],["td","返回键的回调(非必须),返回true则关闭modal,false阻止modal关闭"],["td","(): boolean"],["td","无"]]]],["h3","Modal.prompt(title, message, callbackOrActions, type?, defaultValue?, placeholders?, platform?)"],["table",["thead",["tr",["th","属性"],["th","说明"],["th","类型"],["th","默认值"]]],["tbody",["tr",["td","title"],["td","标题"],["td","String 或 React.Element"],["td","无"]],["tr",["td","message"],["td","提示信息"],["td","String 或 React.Element"],["td","无"]],["tr",["td","callbackOrActions"],["td","按钮组 ",["span","{text, onPress}"]," 或回调函数"],["td","Array or Function"],["td","无"]],["tr",["td","type"],["td","prompt 的样式"],["td","String (",["code","default"],", ",["code","secure-text"],", ",["code","login-password"],")"],["td",["code","default"]]],["tr",["td","defaultValue"],["td","默认值(input 为 password 类型不支持)"],["td","String"],["td","-"]],["tr",["td","placeholders"],["td",["span","'', ''"]],["td","String[]"],["td","-"]],["tr",["td","onBackHandler"],["td","返回键的回调(非必须),返回true则关闭modal,false阻止modal关闭"],["td","(): boolean"],["td","无"]]]],["h3","Modal.operation(actions?, onBackHandler?)"],["table",["thead",["tr",["th","属性"],["th","说明"],["th","类型"],["th","默认值"]]],["tbody",["tr",["td","actions"],["td","按钮组, ",["span","{text, onPress, style}"]],["td","Array"],["td","无"]],["tr",["td","onBackHandler"],["td","返回键的回调(非必须),返回true则关闭modal,false阻止modal关闭"],["td","(): boolean"],["td","无"]]]],["h2","FAQ"],["h3","静态方法Modal如何关闭?"],["p","需要借助",["code","Portal.remove(key)"],"方法; 以下 ",["code","Modal.alert"]," 为例"],["pre",{lang:"jsx",highlighted:'import { Modal, Portal } from \'@ant-design/react-native\'\nimport { useRef } from \'react\'\n\nfunction App() {\n const key = useRef()\n\n const onOpen = () => {\n key.current = Modal.alert({})\n }\n\n const onClose = () => {\n // 关闭Modal.alert\n Portal.remove(key)\n }\n}'},["code","import { Modal, Portal } from '@ant-design/react-native'\nimport { useRef } from 'react'\n\nfunction App() {\n const key = useRef()\n\n const onOpen = () => {\n key.current = Modal.alert({})\n }\n\n const onClose = () => {\n // 关闭Modal.alert\n Portal.remove(key)\n }\n}"]],["p","使用 ",["code","Modal.useModal"]," 时则借助 ",["code","modal.remove(key)"]," 方法:"],["pre",{lang:"jsx",highlighted:'import { Modal, Portal } from \'@ant-design/react-native\'\nimport { useRef } from \'react\'\n\nfunction App() {\n const [modal, contextHolder] = Modal.useModal();\n const key = useRef()\n\n const onOpen = () => {\n key.current = modal.alert({})\n }\n\n const onClose = () => {\n // 关闭modal.alert\n modal.remove(key)\n }\n}'},["code","import { Modal, Portal } from '@ant-design/react-native'\nimport { useRef } from 'react'\n\nfunction App() {\n const [modal, contextHolder] = Modal.useModal();\n const key = useRef()\n\n const onOpen = () => {\n key.current = modal.alert({})\n }\n\n const onClose = () => {\n // 关闭modal.alert\n modal.remove(key)\n }\n}"]],["h3","为什么 Modal 不能获取当前 context、redux、useRouter 的内容?"],["p","渲染 ",["code",""]," 或直接调用 Modal 方法,默认是通过 ",["code","Portal.add"]," 动态插入到 ",["code",""]," 根节点的,此时其 context 与当前代码所在 context 并不相同,因而无法获取 context 信息。"],["p","当你需要 context 信息时,",["br"],"\n1.通过 ",["code","Modal.useModal"]," 方法会返回 ",["code","modal"]," 实体以及 ",["code","contextHolder"]," 节点。将其插入到你需要获取 context 位置即可:"],["pre",{lang:"tsx",highlighted:'const [modal, contextHolder] = Modal.useModal();\n\nreturn (\n <Context1.Provider value="Ant">\n {/* contextHolder 在 Context1 内,它可以获得 Context1 的 context */}\n {contextHolder}\n <Context2.Provider value="Design">\n {/* contextHolder 在 Context2 外,因而不会获得 Context2 的 context */}\n </Context2.Provider>\n </Context1.Provider>\n);'},["code",'const [modal, contextHolder] = Modal.useModal();\n\nreturn (\n \n {/* contextHolder 在 Context1 内,它可以获得 Context1 的 context */}\n {contextHolder}\n \n {/* contextHolder 在 Context2 外,因而不会获得 Context2 的 context */}\n \n \n);']],["p",["strong","异同"],":通过 hooks 创建的 ",["code","contextHolder"]," 必须插入到子元素节点中才会生效,当你不需要上下文信息时请直接调用。"],["p","2.使用",["code",""],"时,则通过设置 ",["code","modalType='modal'"]," 内部会改为使用 ",["strong","原生Modal组件"]," 来保持 context :"],["pre",{lang:"tsx",highlighted:'<Modal modelType="modal" ...>\n ...\n</Modal>'},["code",'\n ...\n']]],meta:{category:"Components",type:"Feedback",title:"Modal",subtitle:"对话框",filename:"components/modal/index.zh-CN.md"}}}}]); \ No newline at end of file diff --git a/docs/blog/what-is-styles-cn.html b/docs/blog/what-is-styles-cn.html index 8e3b933a..b7deaf6b 100644 --- a/docs/blog/what-is-styles-cn.html +++ b/docs/blog/what-is-styles-cn.html @@ -113,7 +113,7 @@
- + diff --git a/docs/blog/what-is-styles.html b/docs/blog/what-is-styles.html index 8e3b933a..b7deaf6b 100644 --- a/docs/blog/what-is-styles.html +++ b/docs/blog/what-is-styles.html @@ -113,7 +113,7 @@
- + diff --git a/docs/react/introduce-cn.html b/docs/react/introduce-cn.html index 8e3b933a..b7deaf6b 100644 --- a/docs/react/introduce-cn.html +++ b/docs/react/introduce-cn.html @@ -113,7 +113,7 @@
- + diff --git a/docs/react/introduce.html b/docs/react/introduce.html index 8e3b933a..b7deaf6b 100644 --- a/docs/react/introduce.html +++ b/docs/react/introduce.html @@ -113,7 +113,7 @@
- + diff --git a/docs/react/support-cn.html b/docs/react/support-cn.html index 8e3b933a..b7deaf6b 100644 --- a/docs/react/support-cn.html +++ b/docs/react/support-cn.html @@ -113,7 +113,7 @@
- + diff --git a/docs/react/support.html b/docs/react/support.html index 8e3b933a..b7deaf6b 100644 --- a/docs/react/support.html +++ b/docs/react/support.html @@ -113,7 +113,7 @@
- + diff --git a/docs/react/upgrade-notes-cn.html b/docs/react/upgrade-notes-cn.html index 8e3b933a..b7deaf6b 100644 --- a/docs/react/upgrade-notes-cn.html +++ b/docs/react/upgrade-notes-cn.html @@ -113,7 +113,7 @@
- + diff --git a/docs/react/upgrade-notes.html b/docs/react/upgrade-notes.html index 8e3b933a..b7deaf6b 100644 --- a/docs/react/upgrade-notes.html +++ b/docs/react/upgrade-notes.html @@ -113,7 +113,7 @@
- + diff --git a/index-17280c30.js b/index-104f35f7.js similarity index 99% rename from index-17280c30.js rename to index-104f35f7.js index f27c3dca..a0ddfb01 100644 --- a/index-17280c30.js +++ b/index-104f35f7.js @@ -3,7 +3,7 @@ Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t{var r=n(96774);var o={shouldComponentUpdate:function(e,t){return function(e,t,n){return!r(e.props,t)||!r(e.state,n)}(this,e,t)}};e.exports=o},67071:function(e){e.exports=function(){"use strict";return function(e,t,n){(n=n||{}).childrenKeyName=n.childrenKeyName||"children";var r=e||[],o=[],i=0;do{var a=r.filter((function(e){return t(e,i)}))[0];if(!a)break;o.push(a),r=a[n.childrenKeyName]||[],i+=1}while(r.length>0);return o}}()},16906:(e,t,n)=>{"use strict";var r,o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},l=e,s=n,f=r;if("function"==typeof s&&(f=s,s={}),!this.rules||0===Object.keys(this.rules).length)return f&&f(),Promise.resolve();function p(e){var t,n,r=void 0,o=[],i={};for(r=0;r0&&void 0!==arguments[0]?arguments[0]:[],c=i;if(Array.isArray(c)||(c=[c]),!s.suppressWarning&&c.length&&u.warning("async-validator:",c),c.length&&n.message&&(c=[].concat(n.message)),c=c.map((0,a.complementError)(n)),s.first&&c.length)return g[n.field]=1,t(c);if(r){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map((0,a.complementError)(n)):s.error?[s.error(n,(0,a.format)(s.messages.required,n.field))]:[],t(c);var f={};if(n.defaultField)for(var p in e.value)e.value.hasOwnProperty(p)&&(f[p]=n.defaultField);for(var d in f=o({},f,e.rule.fields))if(f.hasOwnProperty(d)){var h=Array.isArray(f[d])?f[d]:[f[d]];f[d]=h.map(l.bind(null,d))}var v=new u(f);v.messages(s.messages),e.rule.options&&(e.rule.options.messages=s.messages,e.rule.options.error=s.error),v.validate(e.value,e.rule.options||s,(function(e){var n=[];c&&c.length&&n.push.apply(n,c),e&&e.length&&n.push.apply(n,e),t(n.length?n:null)}))}else t(c)}r=r&&(n.required||!n.required&&e.value),n.field=e.field;var f=void 0;n.asyncValidator?f=n.asyncValidator(n,e.value,c,e.source,s):n.validator&&(!0===(f=n.validator(n,e.value,c,e.source,s))?c():!1===f?c(n.message||n.field+" fails"):f instanceof Array?c(f):f instanceof Error&&c(f.message)),f&&f.then&&f.then((function(){return c()}),(function(e){return c(e)}))}),(function(e){p(e)}))},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!s.default.hasOwnProperty(e.type))throw new Error((0,a.format)("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?s.default.required:s.default[this.getType(e)]||!1}},u.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");s.default[e]=t},u.warning=a.warning,u.messages=c.messages,t.Z=u},51337:(e,t)=>{"use strict";function n(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}Object.defineProperty(t,"__esModule",{value:!0}),t.newMessages=n;t.messages=n()},58888:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(96755));t.default=function(e,t,n,o,i){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(r.format(i.messages.enum,e.fullField,e.enum.join(", ")))}},22718:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n(18860)),o=c(n(76694)),i=c(n(45092)),a=c(n(90334)),l=c(n(58888)),s=c(n(38112));function c(e){return e&&e.__esModule?e:{default:e}}t.default={required:r.default,whitespace:o.default,type:i.default,range:a.default,enum:l.default,pattern:s.default}},38112:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(96755));t.default=function(e,t,n,o,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(r.format(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(r.format(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},90334:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(96755));t.default=function(e,t,n,o,i){var a="number"==typeof e.len,l="number"==typeof e.min,s="number"==typeof e.max,c=t,u=null,f="number"==typeof t,p="string"==typeof t,d=Array.isArray(t);if(f?u="number":p?u="string":d&&(u="array"),!u)return!1;d&&(c=t.length),p&&(c=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?c!==e.len&&o.push(r.format(i.messages[u].len,e.fullField,e.len)):l&&!s&&ce.max?o.push(r.format(i.messages[u].max,e.fullField,e.max)):l&&s&&(ce.max)&&o.push(r.format(i.messages[u].range,e.fullField,e.min,e.max))}},18860:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(96755));t.default=function(e,t,n,o,i,a){!e.required||n.hasOwnProperty(e.field)&&!r.isEmptyValue(t,a||e.type)||o.push(r.format(i.messages.required,e.fullField))}},45092:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(96755)),a=n(18860),l=(r=a)&&r.__esModule?r:{default:r};var s={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},c={integer:function(e){return c.number(e)&&parseInt(e,10)===e},float:function(e){return c.number(e)&&!c.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(void 0===e?"undefined":o(e))&&!c.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(s.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(s.url)},hex:function(e){return"string"==typeof e&&!!e.match(s.hex)}};t.default=function(e,t,n,r,a){if(e.required&&void 0===t)(0,l.default)(e,t,n,r,a);else{var s=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(s)>-1?c[s](t)||r.push(i.format(a.messages.types[s],e.fullField,e.type)):s&&(void 0===t?"undefined":o(t))!==e.type&&r.push(i.format(a.messages.types[s],e.fullField,e.type))}}},76694:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(96755));t.default=function(e,t,n,o,i){(/^\s+$/.test(t)||""===t)&&o.push(r.format(i.messages.whitespace,e.fullField))}},96755:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t=a)return e;switch(e){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(e){return"[Circular]"}break;default:return e}})),s=t[r];r{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t,"array")&&!e.required)return n();i.default.required(e,t,r,l,o,"array"),(0,a.isEmptyValue)(t,"array")||(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o))}n(l)}},33419:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(96755),i=n(22718),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,i){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,i),void 0!==t&&a.default.type(e,t,r,l,i)}n(l)}},23098:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();if(i.default.required(e,t,r,l,o),!(0,a.isEmptyValue)(t)){var s=void 0;s="number"==typeof t?new Date(t):t,i.default.type(e,s,r,l,o),s&&i.default.range(e,s.getTime(),r,l,o)}}n(l)}},32370:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),t&&i.default.enum(e,t,r,l,o)}n(l)}},49711:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o))}n(l)}},24755:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n(82957)),o=y(n(38205)),i=y(n(7886)),a=y(n(33419)),l=y(n(82255)),s=y(n(96930)),c=y(n(49711)),u=y(n(47864)),f=y(n(22446)),p=y(n(32370)),d=y(n(43236)),h=y(n(23098)),v=y(n(27629)),m=y(n(50280));function y(e){return e&&e.__esModule?e:{default:e}}t.default={string:r.default,method:o.default,number:i.default,boolean:a.default,regexp:l.default,integer:s.default,float:c.default,array:u.default,object:f.default,enum:p.default,pattern:d.default,date:h.default,url:m.default,hex:m.default,email:m.default,required:v.default}},96930:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o))}n(l)}},38205:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&i.default.type(e,t,r,l,o)}n(l)}},7886:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),(0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o))}n(l)}},22446:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&i.default.type(e,t,r,l,o)}n(l)}},43236:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t,"string")&&!e.required)return n();i.default.required(e,t,r,l,o),(0,a.isEmptyValue)(t,"string")||i.default.pattern(e,t,r,l,o)}n(l)}},82255:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),(0,a.isEmptyValue)(t)||i.default.type(e,t,r,l,o)}n(l)}},27629:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(22718),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,i){var l=[],s=Array.isArray(t)?"array":void 0===t?"undefined":o(t);a.default.required(e,t,r,l,i,s),n(l)}},82957:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t,"string")&&!e.required)return n();i.default.required(e,t,r,l,o,"string"),(0,a.isEmptyValue)(t,"string")||(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o),i.default.pattern(e,t,r,l,o),!0===e.whitespace&&i.default.whitespace(e,t,r,l,o))}n(l)}},50280:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=e.type,s=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t,l)&&!e.required)return n();i.default.required(e,t,r,s,o,l),(0,a.isEmptyValue)(t,l)||i.default.type(e,t,r,s,o)}n(s)}},24043:(e,t,n)=>{e.exports={default:n(47185),__esModule:!0}},26378:(e,t,n)=>{e.exports={default:n(3597),__esModule:!0}},40863:(e,t,n)=>{e.exports={default:n(21035),__esModule:!0}},52945:(e,t,n)=>{e.exports={default:n(56981),__esModule:!0}},85861:(e,t,n)=>{e.exports={default:n(45627),__esModule:!0}},32242:(e,t,n)=>{e.exports={default:n(33391),__esModule:!0}},8177:(e,t,n)=>{e.exports={default:n(67036),__esModule:!0}},85105:(e,t,n)=>{e.exports={default:n(44926),__esModule:!0}},85345:(e,t,n)=>{e.exports={default:n(70433),__esModule:!0}},93516:(e,t,n)=>{e.exports={default:n(80025),__esModule:!0}},64275:(e,t,n)=>{e.exports={default:n(52392),__esModule:!0}},99663:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},22600:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=n(32242),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(){function e(e,t){for(var n=0;n{"use strict";t.__esModule=!0;var r,o=n(32242),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},88239:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=n(52945),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default||function(e){for(var t=1;t{"use strict";var r=i(n(85105)),o=i(n(8177));function i(e){return e&&e.__esModule?e:{default:e}}t.Z=function e(t,n,i){null===t&&(t=Function.prototype);var a=(0,o.default)(t,n);if(void 0===a){var l=(0,r.default)(t);return null===l?void 0:e(l,n,i)}if("value"in a)return a.value;var s=a.get;return void 0!==s?s.call(i):void 0}},93196:(e,t,n)=>{"use strict";t.__esModule=!0;var r=a(n(85345)),o=a(n(85861)),i=a(n(72444));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},42723:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},49135:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=n(72444),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},12424:(e,t,n)=>{"use strict";var r=i(n(40863)),o=i(n(26378));function i(e){return e&&e.__esModule?e:{default:e}}t.Z=function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var l,s=(0,o.default)(e);!(r=(l=s.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},85315:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=n(24043),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t{"use strict";t.__esModule=!0;var r=a(n(64275)),o=a(n(93516)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},5783:e=>{"use strict";e.exports=function(e){return function(t){return t.collector=e,t}}},55627:(e,t,n)=>{"use strict";var r=n(67294),o=n(26826);e.exports=function(){return{converters:[[function(e){return o.isElement(e)&&"pre"===o.getTagName(e)},function(e,t){var n=o.getAttributes(e);return r.createElement("pre",{key:t,className:"language-".concat(n.lang)},r.createElement("code",{dangerouslySetInnerHTML:{__html:n.highlighted}}))}]]}}},32049:(e,t,n)=>{e.exports={markdown:{components:{accordion:{demo:function(){return new Promise((function(e){n.e(4583).then(function(t){e(n(9592))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(4054).then(function(t){e(n(20192))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(2688).then(function(t){e(n(62633))}.bind(null,n)).catch(n.oe)}))}}},"action-sheet":{demo:function(){return new Promise((function(e){n.e(6293).then(function(t){e(n(58474))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(525).then(function(t){e(n(1234))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(708).then(function(t){e(n(40331))}.bind(null,n)).catch(n.oe)}))}}},"activity-indicator":{demo:function(){return new Promise((function(e){n.e(8652).then(function(t){e(n(84146))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(282).then(function(t){e(n(67693))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(1697).then(function(t){e(n(55879))}.bind(null,n)).catch(n.oe)}))}}},badge:{demo:function(){return new Promise((function(e){n.e(8277).then(function(t){e(n(63579))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9892).then(function(t){e(n(27998))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(9438).then(function(t){e(n(31738))}.bind(null,n)).catch(n.oe)}))}}},button:{demo:function(){return new Promise((function(e){n.e(3540).then(function(t){e(n(61182))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(3137).then(function(t){e(n(76350))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(7208).then(function(t){e(n(89300))}.bind(null,n)).catch(n.oe)}))}}},card:{demo:function(){return new Promise((function(e){n.e(7438).then(function(t){e(n(56960))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9787).then(function(t){e(n(89894))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(279).then(function(t){e(n(27048))}.bind(null,n)).catch(n.oe)}))}}},carousel:{demo:function(){return new Promise((function(e){n.e(1171).then(function(t){e(n(29497))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(1567).then(function(t){e(n(92832))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(4846).then(function(t){e(n(74262))}.bind(null,n)).catch(n.oe)}))}}},checkbox:{demo:function(){return new Promise((function(e){n.e(5466).then(function(t){e(n(3404))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(2694).then(function(t){e(n(88649))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(8054).then(function(t){e(n(68392))}.bind(null,n)).catch(n.oe)}))}}},collapse:{demo:function(){return new Promise((function(e){n.e(4639).then(function(t){e(n(79166))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(7012).then(function(t){e(n(59390))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(1504).then(function(t){e(n(3526))}.bind(null,n)).catch(n.oe)}))}}},"date-picker":{demo:function(){return new Promise((function(e){n.e(8470).then(function(t){e(n(13454))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9290).then(function(t){e(n(65345))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(353).then(function(t){e(n(83603))}.bind(null,n)).catch(n.oe)}))}}},"date-picker-view":{demo:function(){return new Promise((function(e){n.e(2925).then(function(t){e(n(89978))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(6009).then(function(t){e(n(18662))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(3208).then(function(t){e(n(75103))}.bind(null,n)).catch(n.oe)}))}}},drawer:{demo:function(){return new Promise((function(e){n.e(4958).then(function(t){e(n(76403))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(5701).then(function(t){e(n(43987))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(1869).then(function(t){e(n(27897))}.bind(null,n)).catch(n.oe)}))}}},flex:{demo:function(){return new Promise((function(e){n.e(2611).then(function(t){e(n(84424))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(7934).then(function(t){e(n(14391))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(8755).then(function(t){e(n(89100))}.bind(null,n)).catch(n.oe)}))}}},form:{demo:function(){return new Promise((function(e){n.e(8873).then(function(t){e(n(67328))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(4613).then(function(t){e(n(62847))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(1827).then(function(t){e(n(1192))}.bind(null,n)).catch(n.oe)}))}}},grid:{demo:function(){return new Promise((function(e){n.e(5903).then(function(t){e(n(96492))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(3852).then(function(t){e(n(79186))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(7046).then(function(t){e(n(75996))}.bind(null,n)).catch(n.oe)}))}}},icon:{demo:function(){return new Promise((function(e){n.e(3115).then(function(t){e(n(33222))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(464).then(function(t){e(n(6680))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(9418).then(function(t){e(n(12267))}.bind(null,n)).catch(n.oe)}))}}},"image-picker":{index:{"en-US":function(){return new Promise((function(e){n.e(6610).then(function(t){e(n(7122))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(2246).then(function(t){e(n(26874))}.bind(null,n)).catch(n.oe)}))}}},input:{demo:function(){return new Promise((function(e){n.e(5528).then(function(t){e(n(45714))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9354).then(function(t){e(n(73832))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(6953).then(function(t){e(n(60768))}.bind(null,n)).catch(n.oe)}))}}},"input-item":{demo:function(){return new Promise((function(e){n.e(7630).then(function(t){e(n(54628))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(2943).then(function(t){e(n(90611))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(1270).then(function(t){e(n(70298))}.bind(null,n)).catch(n.oe)}))}}},list:{demo:function(){return new Promise((function(e){n.e(3749).then(function(t){e(n(21963))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(2810).then(function(t){e(n(36893))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(4063).then(function(t){e(n(10261))}.bind(null,n)).catch(n.oe)}))}}},"list-view":{demo:function(){return new Promise((function(e){n.e(9277).then(function(t){e(n(35699))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9375).then(function(t){e(n(6997))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(6651).then(function(t){e(n(29358))}.bind(null,n)).catch(n.oe)}))}}},modal:{demo:function(){return new Promise((function(e){n.e(6425).then(function(t){e(n(55534))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9436).then(function(t){e(n(93132))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(2364).then(function(t){e(n(81710))}.bind(null,n)).catch(n.oe)}))}}},"notice-bar":{demo:function(){return new Promise((function(e){n.e(5175).then(function(t){e(n(10687))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(558).then(function(t){e(n(1462))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(4122).then(function(t){e(n(56619))}.bind(null,n)).catch(n.oe)}))}}},pagination:{demo:function(){return new Promise((function(e){n.e(9341).then(function(t){e(n(2204))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9097).then(function(t){e(n(7778))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(4238).then(function(t){e(n(86138))}.bind(null,n)).catch(n.oe)}))}}},picker:{demo:function(){return new Promise((function(e){n.e(3825).then(function(t){e(n(58414))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(3675).then(function(t){e(n(5967))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(2583).then(function(t){e(n(68215))}.bind(null,n)).catch(n.oe)}))}}},"picker-view":{demo:function(){return new Promise((function(e){n.e(3769).then(function(t){e(n(63664))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9586).then(function(t){e(n(39025))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(7592).then(function(t){e(n(95378))}.bind(null,n)).catch(n.oe)}))}}},popover:{demo:function(){return new Promise((function(e){n.e(7297).then(function(t){e(n(85877))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(3478).then(function(t){e(n(90289))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(9966).then(function(t){e(n(32925))}.bind(null,n)).catch(n.oe)}))}}},portal:{README:function(){return new Promise((function(e){n.e(1905).then(function(t){e(n(13343))}.bind(null,n)).catch(n.oe)}))}},progress:{demo:function(){return new Promise((function(e){n.e(4785).then(function(t){e(n(26863))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(6735).then(function(t){e(n(49094))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(6930).then(function(t){e(n(57517))}.bind(null,n)).catch(n.oe)}))}}},provider:{demo:function(){return new Promise((function(e){n.e(712).then(function(t){e(n(81489))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(2813).then(function(t){e(n(32185))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(2808).then(function(t){e(n(25383))}.bind(null,n)).catch(n.oe)}))}}},radio:{demo:function(){return new Promise((function(e){n.e(8006).then(function(t){e(n(89911))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(6239).then(function(t){e(n(4433))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(9685).then(function(t){e(n(24240))}.bind(null,n)).catch(n.oe)}))}}},result:{demo:function(){return new Promise((function(e){n.e(7873).then(function(t){e(n(97423))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9307).then(function(t){e(n(61053))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(7896).then(function(t){e(n(26712))}.bind(null,n)).catch(n.oe)}))}}},"search-bar":{demo:function(){return new Promise((function(e){n.e(8779).then(function(t){e(n(16092))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(3639).then(function(t){e(n(86736))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(5260).then(function(t){e(n(30086))}.bind(null,n)).catch(n.oe)}))}}},"segmented-control":{index:{"en-US":function(){return new Promise((function(e){n.e(5219).then(function(t){e(n(4981))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(820).then(function(t){e(n(13206))}.bind(null,n)).catch(n.oe)}))}}},slider:{demo:function(){return new Promise((function(e){n.e(7940).then(function(t){e(n(71346))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(6218).then(function(t){e(n(54027))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(3031).then(function(t){e(n(29969))}.bind(null,n)).catch(n.oe)}))}}},stepper:{demo:function(){return new Promise((function(e){n.e(6646).then(function(t){e(n(93094))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(2757).then(function(t){e(n(63019))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(1498).then(function(t){e(n(90308))}.bind(null,n)).catch(n.oe)}))}}},steps:{demo:function(){return new Promise((function(e){n.e(5417).then(function(t){e(n(58400))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(8777).then(function(t){e(n(13380))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(5006).then(function(t){e(n(24453))}.bind(null,n)).catch(n.oe)}))}}},"swipe-action":{demo:function(){return new Promise((function(e){n.e(8518).then(function(t){e(n(75906))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(6271).then(function(t){e(n(44585))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(9931).then(function(t){e(n(86030))}.bind(null,n)).catch(n.oe)}))}}},switch:{demo:function(){return new Promise((function(e){n.e(4764).then(function(t){e(n(99055))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(8110).then(function(t){e(n(96999))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(3515).then(function(t){e(n(87992))}.bind(null,n)).catch(n.oe)}))}}},"tab-bar":{demo:function(){return new Promise((function(e){n.e(9420).then(function(t){e(n(7903))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(1321).then(function(t){e(n(18700))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(55).then(function(t){e(n(63198))}.bind(null,n)).catch(n.oe)}))}}},tabs:{demo:function(){return new Promise((function(e){n.e(965).then(function(t){e(n(64482))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9360).then(function(t){e(n(5388))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(4656).then(function(t){e(n(68054))}.bind(null,n)).catch(n.oe)}))}}},tag:{demo:function(){return new Promise((function(e){n.e(1067).then(function(t){e(n(20567))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(4643).then(function(t){e(n(82601))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(8394).then(function(t){e(n(2536))}.bind(null,n)).catch(n.oe)}))}}},"textarea-item":{demo:function(){return new Promise((function(e){n.e(7492).then(function(t){e(n(32901))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(4936).then(function(t){e(n(99341))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(3661).then(function(t){e(n(31856))}.bind(null,n)).catch(n.oe)}))}}},toast:{demo:function(){return new Promise((function(e){n.e(4104).then(function(t){e(n(25732))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(7351).then(function(t){e(n(9640))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(9667).then(function(t){e(n(103))}.bind(null,n)).catch(n.oe)}))}}},tooltip:{demo:function(){return new Promise((function(e){n.e(342).then(function(t){e(n(192))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(440).then(function(t){e(n(68569))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(1221).then(function(t){e(n(28034))}.bind(null,n)).catch(n.oe)}))}}},view:{demo:function(){return new Promise((function(e){n.e(8665).then(function(t){e(n(78710))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(851).then(function(t){e(n(11278))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(4833).then(function(t){e(n(15179))}.bind(null,n)).catch(n.oe)}))}}},"white-space":{demo:function(){return new Promise((function(e){n.e(6481).then(function(t){e(n(37823))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9635).then(function(t){e(n(96656))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(2635).then(function(t){e(n(61799))}.bind(null,n)).catch(n.oe)}))}}},"wing-blank":{demo:function(){return new Promise((function(e){n.e(5680).then(function(t){e(n(79065))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(8007).then(function(t){e(n(1185))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(8540).then(function(t){e(n(64749))}.bind(null,n)).catch(n.oe)}))}}}},docs:{blog:{"what-is-styles":{"en-US":function(){return new Promise((function(e){n.e(7420).then(function(t){e(n(38447))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(7065).then(function(t){e(n(79446))}.bind(null,n)).catch(n.oe)}))}}},react:{introduce:{"en-US":function(){return new Promise((function(e){n.e(3062).then(function(t){e(n(68618))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(1973).then(function(t){e(n(79553))}.bind(null,n)).catch(n.oe)}))}},support:{"en-US":function(){return new Promise((function(e){n.e(4194).then(function(t){e(n(97298))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(4917).then(function(t){e(n(75713))}.bind(null,n)).catch(n.oe)}))}},"upgrade-notes":{"en-US":function(){return new Promise((function(e){n.e(4098).then(function(t){e(n(13763))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(3410).then(function(t){e(n(16420))}.bind(null,n)).catch(n.oe)}))}}}},changelog:{CHANGELOG:{"zh-CN":function(){return new Promise((function(e){n.e(4385).then(function(t){e(n(143))}.bind(null,n)).catch(n.oe)}))},"en-US":function(){return new Promise((function(e){n.e(8600).then(function(t){e(n(77282))}.bind(null,n)).catch(n.oe)}))}}}},picked:{components:[{meta:{category:"Components",type:"Data Display",title:"Accordion",subtitle:"手风琴(归档)",filename:"components/accordion/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"Accordion",subtitle:"(archived)",filename:"components/accordion/index.en-US.md"}},{meta:{category:"Components",type:"Feedback",title:"ActionSheet",filename:"components/action-sheet/index.en-US.md"}},{meta:{category:"Components",type:"Feedback",title:"ActionSheet",subtitle:"动作面板",filename:"components/action-sheet/index.zh-CN.md"}},{meta:{category:"Components",type:"Layout",title:"WingBlank",subtitle:"两翼留白",filename:"components/wing-blank/index.zh-CN.md"}},{meta:{category:"Components",type:"Layout",title:"WingBlank",filename:"components/wing-blank/index.en-US.md"}},{meta:{category:"Components",type:"Layout",title:"WhiteSpace",subtitle:"上下留白",filename:"components/white-space/index.zh-CN.md"}},{meta:{category:"Components",type:"Layout",title:"WhiteSpace",filename:"components/white-space/index.en-US.md"}},{meta:{category:"Components",type:"Layout",title:"View",subtitle:"基础组件",filename:"components/view/index.zh-CN.md"}},{meta:{category:"Components",type:"Layout",title:"View",filename:"components/view/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"TextareaItem",subtitle:"多行输入(归档)",filename:"components/textarea-item/index.zh-CN.md"}},{meta:{category:"Components",type:"Navigation",title:"Tooltip",subtitle:"气泡",version:"5.2.1",filename:"components/tooltip/index.zh-CN.md"}},{meta:{category:"Components",type:"Feedback",title:"Toast",subtitle:"轻提示",version:"update",filename:"components/toast/index.zh-CN.md"}},{meta:{category:"Components",type:"Feedback",title:"Toast",version:"update",filename:"components/toast/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Tag",subtitle:"标签",filename:"components/tag/index.zh-CN.md"}},{meta:{category:"Components",type:"Navigation",title:"Tooltip",version:"5.2.1",filename:"components/tooltip/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"TextareaItem",subtitle:"(archived)",filename:"components/textarea-item/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Tag",filename:"components/tag/index.en-US.md"}},{meta:{category:"Components",type:"Navigation",title:"Tabs",filename:"components/tabs/index.en-US.md"}},{meta:{category:"Components",type:"Navigation",title:"TabBar",subtitle:"标签栏",filename:"components/tab-bar/index.zh-CN.md"}},{meta:{category:"Components",type:"Navigation",title:"Tabs",subtitle:"标签页",filename:"components/tabs/index.zh-CN.md"}},{meta:{category:"Components",type:"Navigation",title:"TabBar",filename:"components/tab-bar/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Switch",subtitle:"滑动开关",filename:"components/switch/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"Switch",filename:"components/switch/index.en-US.md"}},{meta:{category:"Components",type:"Gesture",title:"SwipeAction",subtitle:"滑动操作",version:"update",filename:"components/swipe-action/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"Steps",subtitle:"步骤条",filename:"components/steps/index.zh-CN.md"}},{meta:{category:"Components",type:"Gesture",title:"SwipeAction",version:"update",filename:"components/swipe-action/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",cols:1,title:"Steps",filename:"components/steps/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Stepper",subtitle:"步进器",version:"update",filename:"components/stepper/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"Stepper",version:"update",filename:"components/stepper/index.en-US.md"}},{meta:{category:"Components",type:"Navigation",title:"SegmentedControl",subtitle:"分段器(已弃用)",filename:"components/segmented-control/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"Slider",subtitle:"滑动输入条",version:"update",filename:"components/slider/index.zh-CN.md"}},{meta:{category:"Components",type:"Navigation",title:"SegmentedControl",subtitle:"(deprecated)",filename:"components/segmented-control/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Slider",version:"update",filename:"components/slider/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"SearchBar",subtitle:"搜索栏",filename:"components/search-bar/index.zh-CN.md"}},{meta:{category:"Components",type:"Combination",title:"Result",subtitle:"结果页",filename:"components/result/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"SearchBar",filename:"components/search-bar/index.en-US.md"}},{meta:{category:"Components",type:"Combination",title:"Result",filename:"components/result/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Radio",subtitle:"单选框",filename:"components/radio/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"Radio",filename:"components/radio/index.en-US.md"}},{meta:{category:"Components",type:"Feedback",title:"Progress",subtitle:"进度条",filename:"components/progress/index.zh-CN.md"}},{meta:{category:"Components",type:"Feedback",title:"Progress",filename:"components/progress/index.en-US.md"}},{meta:{filename:"components/portal/README.md"}},{meta:{category:"Components",title:"Provider",type:"Other",version:"update",filename:"components/provider/index.en-US.md"}},{meta:{category:"Components",title:"Provider",subtitle:"全局化配置",type:"Other",version:"update",filename:"components/provider/index.zh-CN.md"}},{meta:{category:"Components",type:"Navigation",title:"Popover",subtitle:"(archived)",filename:"components/popover/index.en-US.md"}},{meta:{category:"Components",type:"Navigation",title:"Popover",subtitle:"气泡(归档)",filename:"components/popover/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"PickerView",subtitle:"选择器",filename:"components/picker-view/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"PickerView",filename:"components/picker-view/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Picker",filename:"components/picker/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Picker",subtitle:"选择器",filename:"components/picker/index.zh-CN.md"}},{meta:{category:"Components",type:"Navigation",title:"Pagination",filename:"components/pagination/index.en-US.md"}},{meta:{category:"Components",type:"Navigation",title:"Pagination",subtitle:"分页器",filename:"components/pagination/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"NoticeBar",version:"update",filename:"components/notice-bar/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"ListView",subtitle:"列表",filename:"components/list-view/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"ListView",filename:"components/list-view/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"NoticeBar",subtitle:"通告栏",version:"update",filename:"components/notice-bar/index.zh-CN.md"}},{meta:{category:"Components",type:"Feedback",title:"Modal",subtitle:"对话框",filename:"components/modal/index.zh-CN.md"}},{meta:{category:"Components",type:"Feedback",title:"Modal",filename:"components/modal/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"List",subtitle:"列表",filename:"components/list/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"List",filename:"components/list/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"InputItem",subtitle:"文本输入(归档)",filename:"components/input-item/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"InputItem",subtitle:"(archived)",filename:"components/input-item/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"ImagePicker",subtitle:"图片选择器(已弃用)",filename:"components/image-picker/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"ImagePicker",subtitle:"(deprecated)",filename:"components/image-picker/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Input",subtitle:"文本输入",version:"5.2.1",filename:"components/input/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"Input",version:"5.2.1",filename:"components/input/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Grid",subtitle:"宫格",filename:"components/grid/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"Icon",filename:"components/icon/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Icon",subtitle:"图标",filename:"components/icon/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"Grid",filename:"components/grid/index.en-US.md"}},{meta:{category:"Components",type:"Layout",title:"Flex",subtitle:"Flex布局",filename:"components/flex/index.zh-CN.md"}},{meta:{category:"Components",type:"Layout",title:"Flex",filename:"components/flex/index.en-US.md"}},{meta:{category:"Components",type:"Navigation",title:"Drawer",subtitle:"抽屉",filename:"components/drawer/index.zh-CN.md"}},{meta:{category:"Components",type:"Navigation",title:"Drawer",filename:"components/drawer/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"DatePickerView",subtitle:"日期选择器",filename:"components/date-picker-view/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"DatePickerView",filename:"components/date-picker-view/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"DatePicker",subtitle:"日期选择",filename:"components/date-picker/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"DatePicker",filename:"components/date-picker/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Collapse",subtitle:"折叠面板",version:"5.2.1",filename:"components/collapse/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"Checkbox",subtitle:"复选框",filename:"components/checkbox/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"Collapse",version:"5.2.1",filename:"components/collapse/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Checkbox",filename:"components/checkbox/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Form",version:"5.2.1",filename:"components/form/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Form",subtitle:"表单",version:"5.2.1",filename:"components/form/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"Carousel",subtitle:"走马灯",filename:"components/carousel/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"Card",subtitle:"卡片",filename:"components/card/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"Carousel",filename:"components/carousel/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Card",filename:"components/card/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Button",subtitle:"按钮",filename:"components/button/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"Button",filename:"components/button/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Badge",filename:"components/badge/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Badge",subtitle:"徽标数",filename:"components/badge/index.zh-CN.md"}},{meta:{category:"Components",type:"Feedback",title:"ActivityIndicator",subtitle:"活动指示器",filename:"components/activity-indicator/index.zh-CN.md"}},{meta:{category:"Components",type:"Feedback",title:"ActivityIndicator",filename:"components/activity-indicator/index.en-US.md"}}],changelog:[{meta:{order:2,title:"Change Log",toc:!1,filename:"CHANGELOG.en-US.md"}},{meta:{order:2,title:"更新日志",toc:!1,filename:"CHANGELOG.zh-CN.md"}}],"docs/react":[{meta:{order:5,title:"Support us",filename:"docs/react/support.en-US.md"}},{meta:{order:5,title:"支持我们",filename:"docs/react/support.zh-CN.md"}},{meta:{order:4,title:"升级指南",filename:"docs/react/upgrade-notes.zh-CN.md"}},{meta:{order:4,title:"Upgrade",filename:"docs/react/upgrade-notes.en-US.md"}},{meta:{order:0,title:"Ant Design Mobile RN of React",filename:"docs/react/introduce.zh-CN.md"}},{meta:{order:0,title:"Ant Design Mobile RN of React",filename:"docs/react/introduce.en-US.md"}}],"docs/blog":[{meta:{category:"Blog",title:"styles是什么?",author:"1uokun",date:"2024-08-08T00:00:00.000Z",filename:"docs/blog/what-is-styles.zh-CN.md"}},{meta:{category:"Blog",title:"What is styles?",author:"1uokun",date:"2024-08-08T00:00:00.000Z",filename:"docs/blog/what-is-styles.en-US.md"}}]},plugins:[[n(55627),{}]]}},76031:(e,t,n)=>{"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t{var r=n(6467);e.exports={locale:"en-US",data:r,messages:{"app.header.search":"Search...","app.header.menu.home":"Home","app.header.menu.components":"Components","app.header.menu.support":"Support us","app.header.menu.design":"Specification","app.header.menu.web":"Web Components","app.header.menu.pc":"Desktop","app.header.lang":"中文","app.home.slogan":"Mobile Design Specification","app.home.epitomize":"A UI component library based on React Native","app.home.centerStart":"Start Exploring","app.home.qrtip":"Scan QR Code","app.home.s2_title":"Understand what you need","app.home.s2_des1":"Rich Components | Full Featured","app.home.s2_des10":"Provides 40+ basic components, covering all kinds of scenarios, component features rich to meet the needs of various functional Requirements.","app.home.s2_des2":"One Step To Get Start | Loaded on demand","app.home.s2_des20":"Simple enough to get started, you can load all the code at a time or only load some of the components used in the code to avoid redundancy.","app.home.s2_des3":"Small Size | Outstanding Performance","app.home.s2_des30":"On the basis of not losing the features, as far as possible to ensure a single component of the smallest, best performance.","app.home.s2_des4":"Easy To Customize | Many Styles","app.home.s2_des40":"Support flexible style customization, easy to generate a variety of styles to meet the needs of personalized products.","app.home.s3_title":"Sketch UI Kit","app.home.s3_des":"We provide you with a rich resource of Sketch symbolized components, which you can use to quickly design your application.","app.home.s3_btn":"Download Immediately","app.home.s4_title":"Who's using","app.footer.links":"Links","app.footer.motion":"Motion Solution","app.footer.antux":"Sitemap Template","app.footer.antd-library":"Axure library","app.footer.community":"Community","app.footer.discuss":"Chat Room","app.footer.bug-report":"Bug Report","app.footer.more-product":"Ant AFX","app.footer.ant-design":"UI Design Language","app.footer.data-vis":"Data Visualization","app.footer.eggjs":"Enterprise Node Framework","app.footer.privacy":"Privacy Policy","app.footer.commitment":"Our Commitment to Customer Protection","app.footer.company":"Ant Financial","app.footer.author":"Created by Ant UED","app.ComponentDoc.codeTitle":"Code Example","app.ComponentDoc.codeQrcode":"Scan QR code to view the Demo","app.ComponentDoc.codeExpand":"show all code","app.ComponentDoc.Modal.return":"Close","app.demo.copy":"Copy","app.demo.copied":"Copied!","app.demo.codepen":"Open in CodePen","app.demo.riddle":"Open in Riddle"}}},15581:(e,t,n)=>{n(81021),n(4960),n(22973),n(82275),n(2209),n(88468),n(65630),n(45449),n(72874),n(133),n(56420),n(17038),n(99837),n(66659),n(17874),n(27467),n(34461),n(90594),n(52027)},22909:(e,t,n)=>{var r=n(95318),o=n(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(34575)),a=r(n(93913)),l=r(n(81506)),s=r(n(2205)),c=r(n(78585)),u=r(n(29754)),f=r(n(59713)),p=b(n(67294)),d=r(n(49611)),h=n(26826),v=r(n(37656)),m=r(n(1350)),y=b(n(72850));function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var o=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}var C=m.default.TabPane,S=function(e){(0,s.default)(n,e);var t=w(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),a=0;ar})),i=t.slice(0,n),a=t.slice(n,r);a.splice(0,1);var l=t.slice(r,o);l.splice(0,1);var s=t.slice(o,t.length),c=p.default.createElement(m.default,{defaultActiveKey:"1",key:"tabs"},p.default.createElement(C,{tab:t[n].props.id.replace(/-/g," "),key:"1",className:"markdown"},a),p.default.createElement(C,{tab:t[r].props.id.replace(/-/g," "),key:"2",className:"markdown"},l));return i.push(c),i.push(s),e=p.default.cloneElement(e,{},i)})),(0,f.default)((0,l.default)(e),"getArticle",(function(t){if(t=e.tryToRenderIntroducePageTab(t),!e.props.content.meta.timeline)return t;var n=[],r=[];return p.Children.forEach(t.props.children,(function(e,t){"h2"===e.type&&r.length>0&&(n.push(p.default.createElement(v.default.Item,{key:t},r)),r=[]),r.push(e)})),(0,p.cloneElement)(t,{children:p.default.createElement(v.default,null,n)})})),e}return(0,a.default)(n,[{key:"componentDidMount",value:function(){var e=this;this.componentDidUpdate(),setTimeout((function(){var t=e.props.location.hash.replace("#","");t&&document.getElementById(t).scrollIntoView()}),500)}},{key:"componentDidUpdate",value:function(){var e=document.querySelectorAll(".outside-link.internal");if(0!==e.length){y.ping("http://alipay-rmsdeploy-dev-image.oss-cn-hangzhou-zmf.aliyuncs.com/rmsportal/JdVaTbZzPxEldUi.png",(function(t){"responded"===t&&e.forEach((function(e){return e.style.display="block"}))}))}}},{key:"render",value:function(){var e=this.props,t=e.content,n=t.meta,r=t.description,o=n.title,i=n.subtitle,a=n.chinese,l=n.english;return p.default.createElement(d.default,{title:"".concat(o||a||l," - Ant Design")},p.default.createElement("article",{className:"markdown"},p.default.createElement("h1",null,o||l,i||a?p.default.createElement("span",{className:"subtitle"},i||a):null),r?e.utils.toReactComponent(["section",{className:"markdown"}].concat((0,h.getChildren)(r))):null,!t.toc||t.toc.length<=1||!1===n.toc?null:p.default.createElement("section",{className:"toc"},e.utils.toReactComponent(t.toc)),this.getArticle(e.utils.toReactComponent(["section",{className:"markdown"}].concat((0,h.getChildren)(t.content))))))}}]),n}(p.default.Component);t.default=S},72764:(e,t,n)=>{var r=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(67154)),i=r(n(34575)),a=r(n(93913)),l=r(n(81506)),s=r(n(2205)),c=r(n(78585)),u=r(n(29754)),f=r(n(59713)),p=r(n(46006)),d=r(n(94184)),h=n(26826),v=r(n(45697)),m=r(n(67294)),y=r(n(49611)),g=n(37101),b=r(n(73351));function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C(e){for(var t=1;t=2;r.props.demos!==e.demos&&r.setState({currentIndex:0,inMultiDemoMode:t,inFixedDemoMode:!1})})),(0,f.default)((0,l.default)(r),"togglePreview",(function(e){r.setState({currentIndex:e.index})})),r.state={currentIndex:r.getIndex(e),inMultiDemoMode:E(e).length>=2,inFixedDemoMode:!1},r.handleScroll=(0,p.default)(r.doScroll),r}return(0,a.default)(n,[{key:"getIndex",value:function(e){var t=e.location.hash.replace("#",""),n=Object.keys(e.demos).map((function(t){return e.demos[t]})).filter((function(e){return!e.meta.hidden})),r=n.sort((function(e,t){return parseInt(e.meta.order,10)-parseInt(t.meta.order,10)}));n.map((function(e,t){e.index=t}));var o=r.filter((function(e){return e.meta.id===t}))[0];return t&&o?o.index:0}},{key:"componentDidMount",value:function(){var e=this;setTimeout((function(){var t=e.props.location.hash.replace("#","");t&&document.getElementById(t).scrollIntoView()}),500)}},{key:"render",value:function(){var e=this,t=this.props,n=t.doc,r=t.location,i=n.content,a=n.meta,l=Object.keys(t.demos).map((function(e){return C(C({},t.demos[e]),{},{content:t.demos[e].content.filter((function(e){return Array.isArray(e)&&"pre"!==e[0]})),highlightedCode:t.demos[e].content[2]})})).filter((function(e){return!e.meta.hidden})),s=[],c=this.state.currentIndex;l.sort((function(e,t){return e.meta.order-t.meta.order})).forEach((function(i,a){s.push(m.default.createElement(b.default,(0,o.default)({togglePreview:e.togglePreview},i,{doc:n,className:c===a?"code-box-target":"",key:a,index:a,currentIndex:c,utils:t.utils,pathname:r.pathname})))}));var u=a.title,f=a.subtitle,p=a.chinese,v=a.english,w=(0,d.default)("clearfix demo-code-container",{"demo-code-container-mutli":this.state.inMultiDemoMode,"demo-code-container-fixed":this.state.inFixedDemoMode}),S=i.findIndex((function(e){return"h2,API"===String(e)}));return m.default.createElement(y.default,{title:"".concat(f||p||""," ").concat(u||v," - Ant Design")},m.default.createElement("article",null,m.default.createElement("section",{className:"markdown"},m.default.createElement("h1",{className:"section-title"},a.title||a.english," ",a.subtitle||a.chinese),t.utils.toReactComponent(["section",{className:"markdown"}].concat((0,h.getChildren)(i.slice(0,S)))),m.default.createElement("section",{id:"demoTitle",className:"demo-title-wrapper"},m.default.createElement("h2",{id:"demoTitle",className:"demo-title"},m.default.createElement(g.FormattedMessage,{id:"app.ComponentDoc.codeTitle"}),m.default.createElement("a",{href:"https://1uokun.github.io/ant-design-mobile-rn/index.html",target:"_blank"},m.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"-10 0 100 100",width:"20",height:"20"},m.default.createElement("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),m.default.createElement("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"}))))),m.default.createElement("div",{id:"demo-code",className:w},m.default.createElement("div",{style:{width:"100%",float:"left"}},s)),t.utils.toReactComponent(["section",{className:"markdown"}].concat((0,h.getChildren)(i.filter((function(e,t){return 0===t||t>=S})))))),t.utils.toReactComponent(["section",{id:"api",className:"markdown api-container"}].concat((0,h.getChildren)(n.api||["placeholder"])))))}}]),n}(m.default.Component);t.default=_,(0,f.default)(_,"contextTypes",{intl:v.default.object})},73351:(e,t,n)=>{var r=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(34575)),i=r(n(93913)),a=r(n(81506)),l=r(n(2205)),s=r(n(78585)),c=r(n(29754)),u=r(n(59713)),f=n(60306),p=n(78802),d=r(n(94184)),h=r(n(45697)),v=r(n(67294)),m=r(n(74855)),y=n(37101),g=n(72850);function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var o=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}var w=function(e){(0,l.default)(n,e);var t=b(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),l=0;l{var r=n(95318),o=n(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(67154)),a=r(n(34575)),l=r(n(93913)),s=r(n(81506)),c=r(n(2205)),u=r(n(78585)),f=r(n(29754)),p=r(n(59713)),d=r(n(319)),h=r(n(5789)),v=r(n(12386)),m=r(n(55673)),y=r(n(59361)),g=n(50168),b=r(n(45697)),w=r(n(67294)),C=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(72850)),S=r(n(22909)),E=r(n(72764));function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var o=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}var O=v.default.SubMenu;var k=function(e){(0,c.default)(n,e);var t=x(n);function n(e){var r;return(0,a.default)(this,n),r=t.call(this,e),(0,p.default)((0,s.default)(r),"handleMenuOpenChange",(function(e){r.setState({openKeys:e})})),r.state={openKeys:r.getSideBarOpenKeys(e)||[]},r}return(0,l.default)(n,[{key:"getSideBarOpenKeys",value:function(e){var t=e.location.pathname,n=this.currentModule;this.currentModule=t.replace(/^\//).split("/")[1]||"components","react"===this.currentModule&&(this.currentModule="components");var r=C.isZhCN(t)?"zh-CN":"en-US";if(n!==this.currentModule){var o=function(e){var t=e.location.pathname,n=/^\/?components/.test(t)?"components":t.split("/").filter((function(e){return e})).slice(0,2).join("/"),r="components"===n||"docs/react"===n||"docs/blog"===n||"changelog"===n||"changelog-cn"===n?[].concat((0,d.default)(e.picked["docs/blog"]),(0,d.default)(e.picked.components),(0,d.default)(e.picked["docs/react"]),(0,d.default)(e.picked.changelog)):e.picked[n],o=C.isZhCN(e.location.pathname)?"en-US.md":"zh-CN.md";return r.filter((function(e){return!e.meta.filename.endsWith(o)}))}(e);return Object.keys(C.getMenuItems(o,r))}return""}},{key:"fileNameToPath",value:function(e){var t=e.replace(/(\/index)?((\.zh-CN)|(\.en-US))?\.md$/i,"").split("/");return t[t.length-1]}},{key:"generateMenuItem",value:function(e,t){var n,r=this.fileNameToPath(t.filename);n=e?t.title||t.chinese||t.english:[w.default.createElement("span",{style:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center"}},w.default.createElement("span",{style:{flex:1}},w.default.createElement("span",{key:"english"},t.title||t.english),w.default.createElement("span",{className:"chinese",key:"chinese"},t.subtitle||t.chinese)),t.version&&w.default.createElement(y.default,{color:"green"},t.version))];var o=t.filename.replace(/(\/index)?((\.zh-CN)|(\.en-US))?\.md$/i,"").toLowerCase();t.filename.includes("zh-CN")&&(o="".concat(o,"-cn"));var i=t.link?w.default.createElement("a",{href:t.link,target:"_blank",rel:"noopener noreferrer"},n,w.default.createElement(y.default,null,"5.1.1")):w.default.createElement(g.Link,{to:/^components/.test(o)?"".concat(o,"/"):o},n);return w.default.createElement(v.default.Item,{key:r.toLowerCase()},i)}},{key:"isNotTopLevel",value:function(e){return"topLevel"!==e}},{key:"generateSubMenuItems",value:function(e){var t=this,n=(e.topLevel||[]).map(this.generateMenuItem.bind(this,!0)),r=Object.keys(e).filter(this.isNotTopLevel).sort((function(e,n){return t.props.themeConfig.categoryOrder.indexOf(e)-t.props.themeConfig.categoryOrder.indexOf(n)})).map((function(n,r){var o=e[n].sort((function(e,t){return(e.title||e.english).charCodeAt(0)-(t.title||t.english).charCodeAt(0)})).map(t.generateMenuItem.bind(t,!1));return w.default.createElement(v.default.ItemGroup,{title:n,key:r},o)}));return[].concat((0,d.default)(n),(0,d.default)(r))}},{key:"getModuleData",value:function(){var e=this,t=this.props,n=t.location.pathname,r=/^components/.test(n)?"components":n.split("/").slice(0,2).join("/");return"components"===r||r.includes("changelog")||"docs/react"===r||"docs/blog"===r?[].concat((0,d.default)(t.picked["docs/blog"]),(0,d.default)(t.picked.components),(0,d.default)(t.picked["docs/react"]),(0,d.default)(t.picked.changelog)).filter((function(t){return t.meta.filename.includes(e.context.intl.locale)})):t.picked[r]}},{key:"getMenuItems",value:function(){var e=this,t=this.getModuleData(),n=C.getMenuItems(t),r=this.generateSubMenuItems(n.topLevel),o=Object.keys(n).filter(this.isNotTopLevel).sort((function(t,n){return e.props.themeConfig.categoryOrder.indexOf(t)-e.props.themeConfig.categoryOrder.indexOf(n)})).map((function(t){var r=e.generateSubMenuItems(n[t]);return w.default.createElement(O,{title:w.default.createElement("h4",null,t),key:t},r)}));return[].concat((0,d.default)(r),(0,d.default)(o))}},{key:"flattenMenu",value:function(e){var t=this;return e.type===v.default.Item?e:Array.isArray(e)?e.reduce((function(e,n){return e.concat(t.flattenMenu(n))}),[]):this.flattenMenu(e.props.children)}},{key:"getFooterNav",value:function(e,t){var n=this.flattenMenu(e),r=-1;return n.forEach((function(e,n){e&&e.key===t&&(r=n)})),{prev:n[r-1],next:n[r+1]}}},{key:"componentWillReceiveProps",value:function(e){var t=this.getSideBarOpenKeys(e);t&&t!==this.state.openKeys&&this.setState({openKeys:t})}},{key:"render",value:function(){var e=this.props,t=function(e){var t=e.params.children;return t&&t.replace("-cn","")||e.location.pathname.replace(/(^\/|-cn$)/g,"")}(e),n=this.getMenuItems(),r=this.getFooterNav(n,t),o=r.prev,a=r.next,l=C.isZhCN(e.location.pathname)?"zh-CN":"en-US",s=e.localizedPageData,c=e.demos,u=c?w.default.createElement(E.default,(0,i.default)({},e,{doc:s,demos:c})):w.default.createElement(S.default,(0,i.default)({},e,{content:s}));return w.default.createElement("div",{className:"main-wrapper"},w.default.createElement(m.default,null,w.default.createElement(h.default,{lg:5,md:6,sm:24,xs:24},w.default.createElement(v.default,{inlineIndent:"40",className:"aside-container menu-site",mode:"inline",openKeys:this.state.openKeys,selectedKeys:[t],onOpenChange:this.handleMenuOpenChange},n)),w.default.createElement(h.default,{lg:19,md:18,sm:24,xs:24,className:"main-container"},u,w.default.createElement("br",null),"zh-CN"===l?w.default.createElement(w.default.Fragment,null,"不满足业务? 需要定制,",w.default.createElement("a",{href:"mailto:luokun199503@qq.com"},"联系我,"),"低至 $99 /天"):w.default.createElement(w.default.Fragment,null,"If you need customization, please",w.default.createElement("a",{href:"mailto:luokun199503@gmail.com"}," contact me"),", as low as $99/day")," ",w.default.createElement("a",{href:"https://github.com/1uokun"},"@1uokun"))),w.default.createElement(m.default,null,w.default.createElement(h.default,{lg:{span:19,offset:5},md:{span:18,offset:6},sm:24,xs:24},w.default.createElement("section",{className:"prev-next-nav"},o?w.default.cloneElement(o.props.children,{className:"prev-page"}):null,a?w.default.cloneElement(a.props.children,{className:"next-page"}):null))))}}]),n}(w.default.Component);t.default=k,(0,p.default)(k,"contextTypes",{intl:b.default.object.isRequired})},19907:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e,t){return{files:{"public/index.html":{content:'\n\n\n\n \n \n \n \n \x3c!--\n manifest.json provides metadata used when your web app is added to the\n homescreen on Android. See https://developers.google.com/web/fundamentals/web-app-manifest/\n --\x3e\n \n \x3c!--\n Notice the use of %PUBLIC_URL% in the tags above.\n It will be replaced with the URL of the public folder during the build.\n Only files inside the public folder can be referenced from the HTML.\n\n Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will\n work correctly both with client-side routing and a non-root public URL.\n Learn how to configure a non-root public URL by running npm run build.\n --\x3e\n React App\n \n\n\n \n
\n\n\n'},"src/index.js":{content:'\n\nimport { AppRegistry } from "react-native";\nimport App from "./App";\n\nAppRegistry.registerComponent("App", () => App);\n\nAppRegistry.runApplication("App", {\nrootTag: document.getElementById("root")\n});\n'},"src/App.js":{content:e},"package.json":{content:{version:"0.2.0",scripts:{test:"react-scripts test",start:"react-scripts start",eject:"react-scripts eject",build:"react-scripts build"},private:!0,name:"".concat(t.meta.title),eslintConfig:{extends:"react-app"},dependencies:{"@ant-design/react-native":"5.0.0","antd-mobile-rn-scripts":"latest",react:"17.0.2","react-art":"17.0.2","react-dom":"17.0.2","react-native-web":"^0.17.6","antd-mobile-demo-data":"^0.2.0","@bang88/china-city-data":"^1.0.0"},browserslist:[">0.2%","not dead","not ie <= 11","not op_mini all"]}}}}}},55310:(e,t,n)=>{var r=n(95318),o=n(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(87757)),a=r(n(63038)),l=r(n(319)),s=r(n(48926)),c=r(n(5783)),u=r(n(73407)),f=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(72850));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function d(e){return e.indexOf("changelog")>=0}var h,v=(0,c.default)((h=(0,s.default)(i.default.mark((function e(t){var n,r,o,s,c,u,p,h,v,m;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.location.pathname,r=n.replace("-cn","").split("/"),o=d(n)?t.data.changelog.CHANGELOG:t.utils.get(t.data,r)){e.next=5;break}throw 404;case 5:if(s=f.isZhCN(n)?"zh-CN":"en-US",c="function"==typeof o?o():(o[s]||o.index[s]||o.index)(),!(u=t.utils.get(t.data,[].concat((0,l.default)(r),["demo"])))){e.next=16;break}return e.next=11,Promise.all([c,u()]);case 11:return p=e.sent,h=(0,a.default)(p,2),v=h[0],m=h[1],e.abrupt("return",{localizedPageData:v,demos:m});case 16:return e.next=18,c;case 18:return e.t0=e.sent,e.abrupt("return",{localizedPageData:e.t0});case 20:case"end":return e.stop()}}),e)}))),function(e){return h.apply(this,arguments)}))(u.default);t.default=v},71224:(e,t,n)=>{var r=n(95318),o=n(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(34575)),a=r(n(93913)),l=r(n(2205)),s=r(n(78585)),c=r(n(29754));n(58760);var u=r(n(67294)),f=r(n(49611)),p=n(50168),d=r(n(86038)),h=n(37101),v=n(78802),m=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(72850));function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var o=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}var b=function(e){(0,l.default)(n,e);var t=g(n);function n(e){var r;(0,i.default)(this,n),r=t.call(this,e);var o=e.location.pathname,a=m.isZhCN(o);return r.state={isZhCN:a},r}return(0,a.default)(n,[{key:"render",value:function(){var e=this.state.isZhCN,t=function(e){var t=e.split("|");return[t[0],u.default.createElement("span",{key:"divider",className:"divider"}),t[1]]};return u.default.createElement(f.default,{title:"Ant Design Mobile - ".concat(this.props.intl.formatMessage({id:"app.home.slogan"}))},u.default.createElement("div",{className:"main-wrapper"},u.default.createElement("section",{className:"home-s1"},u.default.createElement("div",{className:"banner-wrapper"},u.default.createElement("div",{className:"banner-text-wrapper"},u.default.createElement("h2",{key:"h2"},"Ant Design Mobile RN"),u.default.createElement("p",null,this.props.intl.formatMessage({id:"app.home.epitomize"})),u.default.createElement("div",{key:"button1",className:"start-button"},u.default.createElement(p.Link,{to:"/docs/react/introduce".concat(e?"-cn":"")},u.default.createElement(v.Button,{type:"primary",size:"large"},this.props.intl.formatMessage({id:"app.home.centerStart"}))),u.default.createElement(d.default,{key:"github-button",type:"stargazers",namespace:"ant-design",repo:"ant-design-mobile-rn"}))))),u.default.createElement("section",{className:"home-s2"},u.default.createElement("div",{className:"wrapper"},u.default.createElement("h3",null,this.props.intl.formatMessage({id:"app.home.s2_title"})),u.default.createElement(v.Row,{gutter:72,style:{marginBottom:80}},u.default.createElement(v.Col,{span:12},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/KUmyjoMxFFbjEdjiIWOw.png",alt:""}),u.default.createElement("div",{className:"des"},u.default.createElement("div",null,t(this.props.intl.formatMessage({id:"app.home.s2_des1"}))),u.default.createElement("p",null,this.props.intl.formatMessage({id:"app.home.s2_des10"})))),u.default.createElement(v.Col,{span:12},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/hfFgCpcxpGjeAlXFFgyT.png",alt:""}),u.default.createElement("div",{className:"des"},u.default.createElement("div",null,t(this.props.intl.formatMessage({id:"app.home.s2_des2"}))),u.default.createElement("p",null,this.props.intl.formatMessage({id:"app.home.s2_des20"}))))),u.default.createElement(v.Row,{gutter:48},u.default.createElement(v.Col,{span:12},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/nlUNcWIVLKoarLnWNaWS.png",alt:""}),u.default.createElement("div",{className:"des"},u.default.createElement("div",null,t(this.props.intl.formatMessage({id:"app.home.s2_des3"}))),u.default.createElement("p",null,this.props.intl.formatMessage({id:"app.home.s2_des30"})))),u.default.createElement(v.Col,{span:12},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/JjNULDGGwgOZmsZAqvjH.png",alt:""}),u.default.createElement("div",{className:"des"},u.default.createElement("div",null,t(this.props.intl.formatMessage({id:"app.home.s2_des4"}))),u.default.createElement("p",null,this.props.intl.formatMessage({id:"app.home.s2_des40"}))))))),u.default.createElement("section",{className:"home-s3"},u.default.createElement("div",{className:"wrapper"},u.default.createElement("h3",null,u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/EzhXjBHtavGDkTbewrvp.png",alt:""}),this.props.intl.formatMessage({id:"app.home.s3_title"})),u.default.createElement("p",null,this.props.intl.formatMessage({id:"app.home.s3_des"})),u.default.createElement("a",{href:"http://p.tb.cn/rmsportal_3436_AntDesignMobile_20Template_20V1.0.sketch"},u.default.createElement(v.Button,{size:"large",ghost:!0},this.props.intl.formatMessage({id:"app.home.s3_btn"}))))),u.default.createElement("section",{className:"home-s4"},u.default.createElement("div",{className:"wrapper"},u.default.createElement("h3",null,this.props.intl.formatMessage({id:"app.home.s4_title"})),u.default.createElement(v.Row,{style:{marginBottom:48}},u.default.createElement(v.Col,{span:8},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/BGcxWbIWmgBlIChNOpqp.png",alt:""})),u.default.createElement(v.Col,{span:8},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/qTKmDWNtAZMaYarVLIZT.png",alt:""})),u.default.createElement(v.Col,{span:8},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/ARwKOjaDethbuHOfMWOW.png",alt:""}))),u.default.createElement(v.Row,null,u.default.createElement(v.Col,{span:8},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/HinWzLTHESDKjWqvqChF.png",alt:""})),u.default.createElement(v.Col,{span:8},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/MHkXUADpUDavOJfLrMpy.png",alt:""})),u.default.createElement(v.Col,{span:8},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/YEiMaxUWGRExNqYAwQhy.png",alt:""}))))),u.default.createElement("style",{dangerouslySetInnerHTML:{__html:"\n .main-wrapper {\n padding: 0;\n }\n #header {\n box-shadow: none;\n width: 100%;\n }\n #header,\n #header .ant-select-selection,\n #header .ant-menu {\n background: transparent;\n }\n "}})))}}]),n}(u.default.Component),w=(0,h.injectIntl)(b);t.default=w},46719:(e,t,n)=>{var r=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(67294)),i=n(37101),a=n(78802),l=(0,i.injectIntl)((function(){return o.default.createElement("footer",{id:"footer",className:"dark"},o.default.createElement("div",{className:"footer-wrap"},o.default.createElement(a.Row,null,o.default.createElement(a.Col,{lg:6,sm:24,xs:24},o.default.createElement("div",{className:"footer-center"},o.default.createElement("h2",null,"Ant Design"),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank ",rel:"noopener noreferrer",href:"https://github.com/ant-design/ant-design-mobile-rn"},"Ant Design Mobile RN GitHub")),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank ",rel:"noopener noreferrer",href:"https://github.com/ant-design/ant-design-mobile"},"Ant Design Mobile GitHub")),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank ",rel:"noopener noreferrer",href:"https://ant.design"},"Ant Design")),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://pro.ant.design"},"Ant Design Pro")),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/react-component"},"React Component GitHub")))),o.default.createElement(a.Col,{lg:6,sm:24,xs:24},o.default.createElement("div",{className:"footer-center"},o.default.createElement("h2",null,o.default.createElement(i.FormattedMessage,{id:"app.footer.links"})),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"http://motion.ant.design"},"Ant Motion"),o.default.createElement("span",null," - "),o.default.createElement(i.FormattedMessage,{id:"app.footer.motion"})),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"http://ux.ant.design"},"Ant UX"),o.default.createElement("span",null," - "),o.default.createElement(i.FormattedMessage,{id:"app.footer.antux"})),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"http://library.ant.design/"},"AntD Library"),o.default.createElement("span",null," - "),o.default.createElement(i.FormattedMessage,{id:"app.footer.antd-library"})))),o.default.createElement(a.Col,{lg:6,sm:24,xs:24},o.default.createElement("div",{className:"footer-center"},o.default.createElement("h2",null,o.default.createElement(i.FormattedMessage,{id:"app.footer.community"})),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://gitter.im/ant-design/ant-design"},o.default.createElement(i.FormattedMessage,{id:"app.footer.discuss"}))),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"http://github.com/ant-design/ant-design-mobile/issues"},o.default.createElement(i.FormattedMessage,{id:"app.footer.bug-report"}))))),o.default.createElement(a.Col,{lg:6,sm:24,xs:24},o.default.createElement("div",{className:"footer-center"},o.default.createElement("h2",null,o.default.createElement("img",{className:"title-icon",src:"https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg",alt:""}),o.default.createElement(i.FormattedMessage,{id:"app.footer.more-product"})),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank ",rel:"noopener noreferrer",href:"https://ant.design"},"Ant Design"),o.default.createElement("span",null," - "),o.default.createElement(i.FormattedMessage,{id:"app.footer.ant-design"})),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://antv.alipay.com/"},"AntV"),o.default.createElement("span",null," - "),o.default.createElement(i.FormattedMessage,{id:"app.footer.data-vis"})),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://eggjs.org/"},"Egg"),o.default.createElement("span",null," - "),o.default.createElement(i.FormattedMessage,{id:"app.footer.eggjs"})))))),o.default.createElement(a.Row,{className:"bottom-bar"},o.default.createElement(a.Col,{lg:4,sm:24}),o.default.createElement(a.Col,{lg:20,sm:24},o.default.createElement("span",{style:{lineHeight:"16px",paddingRight:12,marginRight:11,borderRight:"1px solid rgba(255, 255, 255, 0.55)"}},o.default.createElement("a",{href:"https://docs.alipay.com/policies/privacy/antfin",rel:"noopener noreferrer",target:"_blank"},o.default.createElement(i.FormattedMessage,{id:"app.footer.privacy"}))),o.default.createElement("span",{style:{marginRight:24}},o.default.createElement("a",{href:"https://render.alipay.com/p/f/fd-izto3cem/index.html",rel:"noopener noreferrer",target:"_blank"},o.default.createElement(i.FormattedMessage,{id:"app.footer.commitment"}))),o.default.createElement("span",{style:{marginRight:12}},"ICP 证浙 B2-2-100257"),o.default.createElement("span",{style:{marginRight:12}},"Copyright © ",o.default.createElement(i.FormattedMessage,{id:"app.footer.company"})))))}));t.default=l},35647:(e,t,n)=>{var r=n(95318),o=n(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(34575)),a=r(n(93913)),l=r(n(81506)),s=r(n(2205)),c=r(n(78585)),u=r(n(29754)),f=r(n(59713)),p=n(60306),d=n(78802),h=n(50168),v=r(n(94184)),m=r(n(45697)),y=r(n(67294)),g=n(37101),b=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=w(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(72850));function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t-1})),(0,f.default)((0,l.default)(e),"handleLangChange",(function(){var t=e.props.location.pathname,n="".concat(window.location.protocol,"//"),r=window.location.href.substr(n.length);b.isLocalStorageNameSupported()&&localStorage.setItem("locale",b.isZhCN(t)?"en-US":"zh-CN"),window.location.href=n+r.replace(window.location.pathname,b.getLocalizedPathname(t,!b.isZhCN(t)))})),(0,f.default)((0,l.default)(e),"handleVersionChange",(function(e){var t=window.location.href,n=window.location.pathname;window.location.href=t.replace(window.location.origin,e).replace(n,b.getLocalizedPathname(n))})),e}return(0,a.default)(r,[{key:"componentDidMount",value:function(){var e=this,t=this.searchInput;n(24974).register("only screen and (min-width: 0) and (max-width: 992px)",{match:function(){e.setState({menuMode:"inline"})},unmatch:function(){e.setState({menuMode:"horizontal"})}}),document.addEventListener("keyup",(function(e){83===e.keyCode&&e.target===document.body&&t.focus()}))}},{key:"render",value:function(){var e=this,t=this.state,n=t.inputValue,r=t.menuMode,o=t.menuVisible,i=this.props,a=i.location,l=i.picked,s=i.isFirstScreen,c=i.themeConfig,u=S(S({},c.docVersions),{},(0,f.default)({},p.version,p.version)),m=Object.keys(u).map((function(e){return y.default.createElement(_,{value:u[e],key:e},e)})),w=l.components,C=a.pathname.replace(/(^\/|\/$)/g,"").split("/").slice(0,-1).join("/")||"home";"components"!==C&&"changelog"!==a.pathname||(C="docs/react");var E=this.context.intl.locale,x="zh-CN"===E,O=x?"en-US.md":"zh-CN.md",k=w.filter((function(e){return!e.meta.filename.endsWith(O)})).map((function(e){var t=e.meta,n=t.filename.split("/")[1],r="/components/".concat(n),o=t.subtitle;return y.default.createElement(_,{value:r,key:r,"data-label":"".concat((t.title||t.english||"").toLowerCase()," ").concat(t.subtitle||t.chinese)},y.default.createElement("strong",null,t.title||t.english),o&&y.default.createElement("span",{className:"ant-component-decs"},t.subtitle||t.chinese))}));k.push(y.default.createElement(_,{key:"searchEngine",value:"Google","data-label":"Google"},y.default.createElement(g.FormattedMessage,{id:"app.header.search"})));var M=(0,v.default)({clearfix:!0,"home-nav-white":!s,"home-page-header":"home"===C}),N=[y.default.createElement(d.Button,{ghost:!0,size:"small",onClick:this.handleLangChange,className:"header-lang-button",key:"lang-button"},y.default.createElement(g.FormattedMessage,{id:"app.header.lang"})),y.default.createElement(d.Select,{key:"version",className:"version",size:"small",dropdownMatchSelectWidth:!1,defaultValue:p.version,onChange:this.handleVersionChange,getPopupContainer:function(e){return e.parentNode}},m),y.default.createElement(d.Menu,{className:"menu-site",mode:r,selectedKeys:[C],id:"nav",key:"nav"},y.default.createElement(d.Menu.Item,{key:"home"},y.default.createElement(h.Link,{to:b.getLocalizedPathname("/",x)},y.default.createElement(g.FormattedMessage,{id:"app.header.menu.home"}))),y.default.createElement(d.Menu.Item,{key:"docs/react"},y.default.createElement(h.Link,{to:b.getLocalizedPathname("/docs/react/introduce",x)},y.default.createElement(g.FormattedMessage,{id:"app.header.menu.components"}))),y.default.createElement(d.Menu.Item,{key:"web"},y.default.createElement("a",{href:"//mobile.ant.design"},y.default.createElement(g.FormattedMessage,{id:"app.header.menu.web"}))),y.default.createElement(d.Menu.Item,{key:"docs/react/support"},y.default.createElement(h.Link,{to:b.getLocalizedPathname("/docs/react/support",x)},y.default.createElement(g.FormattedMessage,{id:"app.header.menu.support"}))),y.default.createElement(d.Menu.Item,{key:"pc"},y.default.createElement("a",{href:"https://github.com/ant-design/ant-design-mobile-rn"},"github")))],T="zh-CN"===E?"搜索组件...":"Search Components...";return y.default.createElement("header",{id:"header",className:M},"inline"===r?y.default.createElement(d.Popover,{overlayClassName:"popover-menu",placement:"bottomRight",content:N,trigger:"click",visible:o,arrowPointAtCenter:!0,onVisibleChange:this.onMenuVisibleChange},y.default.createElement(d.Icon,{className:"nav-phone-icon",type:"menu",onClick:this.handleShowMenu})):null,y.default.createElement(d.Row,null,y.default.createElement(d.Col,{xxl:4,xl:5,lg:5,md:8,sm:24,xs:24},y.default.createElement(h.Link,{to:b.getLocalizedPathname("/",x),id:"logo"},y.default.createElement("img",{alt:"logo",src:"https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"}),y.default.createElement("span",null,c.siteTitle))),y.default.createElement(d.Col,{xxl:20,xl:19,lg:19,md:16,sm:0,xs:0},y.default.createElement("div",{id:"search-box"},y.default.createElement(d.Icon,{type:"search"}),y.default.createElement(d.AutoComplete,{dataSource:k,value:n,dropdownClassName:"component-select",placeholder:T,optionLabelProp:"data-label",filterOption:this.handleSelectFilter,onSelect:this.handleSearch,onSearch:this.handleInputChange,getPopupContainer:function(e){return e.parentNode}},y.default.createElement(d.Input,{ref:function(t){return e.searchInput=t}}))),"horizontal"===r?N:null)))}}]),r}(y.default.Component);t.default=O,(0,f.default)(O,"contextTypes",{router:m.default.object.isRequired,intl:m.default.object.isRequired})},64611:(e,t,n)=>{var r=n(95318),o=n(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(67154)),a=r(n(6479)),l=r(n(34575)),s=r(n(93913)),c=r(n(81506)),u=r(n(2205)),f=r(n(78585)),p=r(n(29754)),d=r(n(59713)),h=x(n(67294)),v=r(n(45697)),m=r(n(73935)),y=n(37101),g=r(n(35647)),b=r(n(46719)),w=r(n(86131)),C=r(n(40261)),S=x(n(72850)),E=["children"];function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,p.default)(e);if(t){var o=(0,p.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,f.default)(this,n)}}"undefined"!=typeof window&&(n(15581),window.react=h.default,window["react-dom"]=m.default);var k=function(e){(0,u.default)(n,e);var t=O(n);function n(e){var r;(0,l.default)(this,n),r=t.call(this,e),(0,d.default)((0,c.default)(r),"onEnterChange",(function(e){r.setState({isFirstScreen:"enter"===e})}));var o=e.location.pathname,i=S.isZhCN(o)?C.default:w.default;return(0,y.addLocaleData)(i.data),r.state={isFirstScreen:!0,appLocale:i},r}return(0,s.default)(n,[{key:"componentDidMount",value:function(){void 0!==window.ga&&this.context.router.listen((function(e){window.ga("send","pageview",e.pathname+e.search)}));var e=document.getElementById("nprogress-style");e&&(this.timer=setTimeout((function(){e.parentNode.removeChild(e)}),0))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timer)}},{key:"render",value:function(){var e=this.props,t=e.children,n=(0,a.default)(e,E),r=this.state,o=r.appLocale,l=r.isFirstScreen;return h.default.createElement(y.IntlProvider,{locale:o.locale,messages:o.messages},h.default.createElement("div",{className:"page-wrapper"},h.default.createElement(g.default,(0,i.default)({},n,{isFirstScreen:l})),(0,h.cloneElement)(t,{isFirstScreen:l,onEnterChange:this.onEnterChange}),h.default.createElement(b.default,n)))}}]),n}(h.default.Component);t.default=k,(0,d.default)(k,"contextTypes",{router:v.default.object.isRequired})},17674:(e,t,n)=>{var r=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return o.default.createElement("div",{id:"page-404"},o.default.createElement("section",null,o.default.createElement("h1",null,"404"),o.default.createElement("p",null,"你要找的页面不存在 ",o.default.createElement(i.Link,{to:"/"},"返回首页"))),o.default.createElement("style",{dangerouslySetInnerHTML:{__html:"#react-content { height: 100%; background-color: #fff }"}}))};var o=r(n(67294)),i=n(50168)},40261:(e,t,n)=>{var r=n(13655);e.exports={locale:"zh-CN",data:r,messages:{"app.header.search":"全文本搜索...","app.header.menu.home":"首页","app.header.menu.components":"组件","app.header.menu.support":"支持我们","app.header.menu.design":"规范","app.header.menu.web":"Web 组件","app.header.menu.pc":"桌面版","app.header.lang":"EN","app.home.slogan":"移动端设计规范","app.home.epitomize":"一个基于 React Native 的 UI 组件库","app.home.centerStart":"开始探索","app.home.qrtip":"扫描演示","app.home.s2_title":"懂你所需","app.home.s2_des1":"组件丰富 | 功能全面","app.home.s2_des10":"提供了 40+ 基础组件、覆盖各类场景,组件特性丰富、满足各种功能需求。","app.home.s2_des2":"一步上手 | 按需加载","app.home.s2_des20":"上手足够简单,既可以一次加载所有代码、也可以只加载用到的某几个组件的代码、避免冗余。","app.home.s2_des3":"体积小巧 | 性能出众","app.home.s2_des30":"在不损失功能的基础上,尽量保证了单个组件的体积最小、性能最优。","app.home.s2_des4":"简易定制 | 多种风格","app.home.s2_des40":"支持灵活的样式定制,简易生成多种风格,满足个性化产品需求。","app.home.s3_title":"Sketch UI Kit","app.home.s3_des":"我们为您提供丰富的 Sketch symbol 化的组件资源库,你可以使用资源库快速设计应用程序。","app.home.s3_btn":"立即下载","app.home.s4_title":"谁在使用","app.footer.links":"相关站点","app.footer.motion":"设计动效","app.footer.antux":"页面逻辑素材","app.footer.antd-library":"Axure library","app.footer.community":"社区","app.footer.discuss":"在线讨论","app.footer.bug-report":"报告 Bug","app.footer.more-product":"蚂蚁体验云","app.footer.ant-design":"蚂蚁 UI 体系","app.footer.data-vis":"数据可视化","app.footer.eggjs":"企业级 Node 开发框架","app.footer.privacy":"隐私权政策","app.footer.commitment":"权益保障承诺书","app.footer.company":"蚂蚁金融服务集团","app.footer.author":"蚂蚁金服体验技术部 & 口碑终端技术部出品","app.ComponentDoc.codeTitle":"代码演示","app.ComponentDoc.codeQrcode":"扫二维码查看演示效果","app.ComponentDoc.codeExpand":"展开全部代码","app.ComponentDoc.Modal.return":"返 回","app.demo.copy":"复制代码","app.demo.copied":"复制成功","app.demo.codepen":"在 CodePen 中打开","app.demo.riddle":"在 Riddle 中打开"}}},72850:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getMenuItems=function(e,t){var n=e.map((function(e){return e.meta})),r={};return n.sort((function(e,t){return(e.order||0)-(t.order||0)})).forEach((function(e){var n=e.category&&e.category[t]||e.category||"topLevel";r[n]||(r[n]={});var o=e.type||"topLevel";r[n][o]||(r[n][o]=[]),r[n][o].push(e)})),r},t.isZhCN=function(e){return/-cn\/?$/.test(e)},t.getLocalizedPathname=function(e,t){var n=e.startsWith("/")?e:"/".concat(e);if(!t)return/\/?index-cn/.test(n)?"/":n.replace("-cn","");if("/"===n)return"/index-cn";if(n.endsWith("/"))return n.replace(/\/$/,"-cn/");return"".concat(n,"-cn")},t.ping=function(e){var t,n=new Image,r=function(r){t||(t=!0,n.src="",e(r))};return n.onload=function(){return r("responded")},n.onerror=function(){return r("error")},n.src="https://private-alipayobjects.alipay.com/alipay-rmsdeploy-image/rmsportal/RKuAiriJqrUhyqW.png",setTimeout((function(){return r("timeout")}),1500)},t.isLocalStorageNameSupported=function(){var e=window.localStorage;try{return e.setItem("test","1"),e.removeItem("test"),!0}catch(e){return!1}},t.collectDocs=function(e){var t=window.localStorage&&"en-US"!==localStorage.getItem("locale")?"zh-CN":"en-US";return Object.keys(e).map((function(t){return e[t]})).map((function(e){return"function"!=typeof e?e[t]||e.index[t]||e.index:e})).map((function(e){return e()}))},t.getQuery=function(e){var t=window.location.search.replace(/^\?/,"").split("&").filter((function(e){return e})).map((function(e){return e.split("=")})).find((function(t){return t[0]&&t[0]===e}));return t&&t[1]},t.injectPreactDevtool=function(){0}},27467:(e,t,n)=>{"use strict";n.r(t)},4960:(e,t,n)=>{"use strict";n.r(t)},17874:(e,t,n)=>{"use strict";n.r(t)},99837:(e,t,n)=>{"use strict";n.r(t)},82275:(e,t,n)=>{"use strict";n.r(t)},22973:(e,t,n)=>{"use strict";n.r(t)},66659:(e,t,n)=>{"use strict";n.r(t)},2209:(e,t,n)=>{"use strict";n.r(t)},65630:(e,t,n)=>{"use strict";n.r(t)},90594:(e,t,n)=>{"use strict";n.r(t)},34461:(e,t,n)=>{"use strict";n.r(t)},17038:(e,t,n)=>{"use strict";n.r(t)},52027:(e,t,n)=>{"use strict";n.r(t)},88468:(e,t,n)=>{"use strict";n.r(t)},133:(e,t,n)=>{"use strict";n.r(t)},45449:(e,t,n)=>{"use strict";n.r(t)},72874:(e,t,n)=>{"use strict";n.r(t)},56420:(e,t,n)=>{"use strict";n.r(t)},81021:(e,t,n)=>{"use strict";n.r(t)},77936:(e,t,n)=>{"use strict";n.r(t)},58760:(e,t,n)=>{"use strict";n.r(t)},50168:(e,t,n)=>{"use strict";var r=n(61409);e.exports=r},43764:(e,t,n)=>{"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",i=n(8533)("./template".concat(t.replace(/^\.\/template/,"")));return function(t,n){var a=h(r,t.params),l=u.get(e.markdown,a.replace(/^\//,"").split("/")),s=v(e,t),c=(i.default||i).collector||m,f=t.location.pathname,y=o(o({},t),{},{themeConfig:d,data:e.markdown,picked:e.picked,pageData:l,utils:s});c(y).then((function(e){try{var t=i.default||i;t[f]=o(o({},y),e),n(null,t)}catch(e){console.error(e)}})).catch((function(e){var t=p.default||p;t[f]=y,n(404===e?null:e,t)}))}}var r=JSON.parse('{"path":"/","component":"./template/Layout/index","indexRoute":{"component":"./template/Home/index"},"childRoutes":[{"path":"index-cn","component":"./template/Home/index"},{"path":"/docs/practice/:children","component":"./template/Content/index"},{"path":"/docs/pattern/:children","component":"./template/Content/index"},{"path":"/docs/react/:children","component":"./template/Content/index"},{"path":"/docs/blog/:children","component":"./template/Content/index"},{"path":"changelog","component":"./template/Content/index"},{"path":"changelog-cn","component":"./template/Content/index"},{"path":"/components/:children","component":"./template/Content/index"}]}');var i=function e(n){return Array.isArray(n)?n.map(e):Object.assign({},n,{onEnter:function(){"undefined"!=typeof document&&f.start()},component:void 0,getComponent:t(n.component,n.dataPath||n.path),indexRoute:n.indexRoute&&Object.assign({},n.indexRoute,{component:void 0,getComponent:t(n.indexRoute.component,n.indexRoute.dataPath||n.indexRoute.path)}),childRoutes:n.childRoutes&&n.childRoutes.map(e)})}(Array.isArray(r)?r:[r]);return i.push({path:"*",getComponents:t("./template/NotFound")}),i}},94184:(e,t)=>{var n; +*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t{var r=n(96774);var o={shouldComponentUpdate:function(e,t){return function(e,t,n){return!r(e.props,t)||!r(e.state,n)}(this,e,t)}};e.exports=o},67071:function(e){e.exports=function(){"use strict";return function(e,t,n){(n=n||{}).childrenKeyName=n.childrenKeyName||"children";var r=e||[],o=[],i=0;do{var a=r.filter((function(e){return t(e,i)}))[0];if(!a)break;o.push(a),r=a[n.childrenKeyName]||[],i+=1}while(r.length>0);return o}}()},16906:(e,t,n)=>{"use strict";var r,o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},l=e,s=n,f=r;if("function"==typeof s&&(f=s,s={}),!this.rules||0===Object.keys(this.rules).length)return f&&f(),Promise.resolve();function p(e){var t,n,r=void 0,o=[],i={};for(r=0;r0&&void 0!==arguments[0]?arguments[0]:[],c=i;if(Array.isArray(c)||(c=[c]),!s.suppressWarning&&c.length&&u.warning("async-validator:",c),c.length&&n.message&&(c=[].concat(n.message)),c=c.map((0,a.complementError)(n)),s.first&&c.length)return g[n.field]=1,t(c);if(r){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map((0,a.complementError)(n)):s.error?[s.error(n,(0,a.format)(s.messages.required,n.field))]:[],t(c);var f={};if(n.defaultField)for(var p in e.value)e.value.hasOwnProperty(p)&&(f[p]=n.defaultField);for(var d in f=o({},f,e.rule.fields))if(f.hasOwnProperty(d)){var h=Array.isArray(f[d])?f[d]:[f[d]];f[d]=h.map(l.bind(null,d))}var v=new u(f);v.messages(s.messages),e.rule.options&&(e.rule.options.messages=s.messages,e.rule.options.error=s.error),v.validate(e.value,e.rule.options||s,(function(e){var n=[];c&&c.length&&n.push.apply(n,c),e&&e.length&&n.push.apply(n,e),t(n.length?n:null)}))}else t(c)}r=r&&(n.required||!n.required&&e.value),n.field=e.field;var f=void 0;n.asyncValidator?f=n.asyncValidator(n,e.value,c,e.source,s):n.validator&&(!0===(f=n.validator(n,e.value,c,e.source,s))?c():!1===f?c(n.message||n.field+" fails"):f instanceof Array?c(f):f instanceof Error&&c(f.message)),f&&f.then&&f.then((function(){return c()}),(function(e){return c(e)}))}),(function(e){p(e)}))},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!s.default.hasOwnProperty(e.type))throw new Error((0,a.format)("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?s.default.required:s.default[this.getType(e)]||!1}},u.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");s.default[e]=t},u.warning=a.warning,u.messages=c.messages,t.Z=u},51337:(e,t)=>{"use strict";function n(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}Object.defineProperty(t,"__esModule",{value:!0}),t.newMessages=n;t.messages=n()},58888:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(96755));t.default=function(e,t,n,o,i){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(r.format(i.messages.enum,e.fullField,e.enum.join(", ")))}},22718:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n(18860)),o=c(n(76694)),i=c(n(45092)),a=c(n(90334)),l=c(n(58888)),s=c(n(38112));function c(e){return e&&e.__esModule?e:{default:e}}t.default={required:r.default,whitespace:o.default,type:i.default,range:a.default,enum:l.default,pattern:s.default}},38112:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(96755));t.default=function(e,t,n,o,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(r.format(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(r.format(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},90334:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(96755));t.default=function(e,t,n,o,i){var a="number"==typeof e.len,l="number"==typeof e.min,s="number"==typeof e.max,c=t,u=null,f="number"==typeof t,p="string"==typeof t,d=Array.isArray(t);if(f?u="number":p?u="string":d&&(u="array"),!u)return!1;d&&(c=t.length),p&&(c=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?c!==e.len&&o.push(r.format(i.messages[u].len,e.fullField,e.len)):l&&!s&&ce.max?o.push(r.format(i.messages[u].max,e.fullField,e.max)):l&&s&&(ce.max)&&o.push(r.format(i.messages[u].range,e.fullField,e.min,e.max))}},18860:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(96755));t.default=function(e,t,n,o,i,a){!e.required||n.hasOwnProperty(e.field)&&!r.isEmptyValue(t,a||e.type)||o.push(r.format(i.messages.required,e.fullField))}},45092:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(96755)),a=n(18860),l=(r=a)&&r.__esModule?r:{default:r};var s={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},c={integer:function(e){return c.number(e)&&parseInt(e,10)===e},float:function(e){return c.number(e)&&!c.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(void 0===e?"undefined":o(e))&&!c.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(s.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(s.url)},hex:function(e){return"string"==typeof e&&!!e.match(s.hex)}};t.default=function(e,t,n,r,a){if(e.required&&void 0===t)(0,l.default)(e,t,n,r,a);else{var s=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(s)>-1?c[s](t)||r.push(i.format(a.messages.types[s],e.fullField,e.type)):s&&(void 0===t?"undefined":o(t))!==e.type&&r.push(i.format(a.messages.types[s],e.fullField,e.type))}}},76694:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(96755));t.default=function(e,t,n,o,i){(/^\s+$/.test(t)||""===t)&&o.push(r.format(i.messages.whitespace,e.fullField))}},96755:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t=a)return e;switch(e){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(e){return"[Circular]"}break;default:return e}})),s=t[r];r{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t,"array")&&!e.required)return n();i.default.required(e,t,r,l,o,"array"),(0,a.isEmptyValue)(t,"array")||(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o))}n(l)}},33419:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(96755),i=n(22718),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,i){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,i),void 0!==t&&a.default.type(e,t,r,l,i)}n(l)}},23098:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();if(i.default.required(e,t,r,l,o),!(0,a.isEmptyValue)(t)){var s=void 0;s="number"==typeof t?new Date(t):t,i.default.type(e,s,r,l,o),s&&i.default.range(e,s.getTime(),r,l,o)}}n(l)}},32370:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),t&&i.default.enum(e,t,r,l,o)}n(l)}},49711:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o))}n(l)}},24755:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n(82957)),o=y(n(38205)),i=y(n(7886)),a=y(n(33419)),l=y(n(82255)),s=y(n(96930)),c=y(n(49711)),u=y(n(47864)),f=y(n(22446)),p=y(n(32370)),d=y(n(43236)),h=y(n(23098)),v=y(n(27629)),m=y(n(50280));function y(e){return e&&e.__esModule?e:{default:e}}t.default={string:r.default,method:o.default,number:i.default,boolean:a.default,regexp:l.default,integer:s.default,float:c.default,array:u.default,object:f.default,enum:p.default,pattern:d.default,date:h.default,url:m.default,hex:m.default,email:m.default,required:v.default}},96930:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o))}n(l)}},38205:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&i.default.type(e,t,r,l,o)}n(l)}},7886:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),(0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o))}n(l)}},22446:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),void 0!==t&&i.default.type(e,t,r,l,o)}n(l)}},43236:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t,"string")&&!e.required)return n();i.default.required(e,t,r,l,o),(0,a.isEmptyValue)(t,"string")||i.default.pattern(e,t,r,l,o)}n(l)}},82255:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,o),(0,a.isEmptyValue)(t)||i.default.type(e,t,r,l,o)}n(l)}},27629:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(22718),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,i){var l=[],s=Array.isArray(t)?"array":void 0===t?"undefined":o(t);a.default.required(e,t,r,l,i,s),n(l)}},82957:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t,"string")&&!e.required)return n();i.default.required(e,t,r,l,o,"string"),(0,a.isEmptyValue)(t,"string")||(i.default.type(e,t,r,l,o),i.default.range(e,t,r,l,o),i.default.pattern(e,t,r,l,o),!0===e.whitespace&&i.default.whitespace(e,t,r,l,o))}n(l)}},50280:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22718),i=(r=o)&&r.__esModule?r:{default:r},a=n(96755);t.default=function(e,t,n,r,o){var l=e.type,s=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,a.isEmptyValue)(t,l)&&!e.required)return n();i.default.required(e,t,r,s,o,l),(0,a.isEmptyValue)(t,l)||i.default.type(e,t,r,s,o)}n(s)}},24043:(e,t,n)=>{e.exports={default:n(47185),__esModule:!0}},26378:(e,t,n)=>{e.exports={default:n(3597),__esModule:!0}},40863:(e,t,n)=>{e.exports={default:n(21035),__esModule:!0}},52945:(e,t,n)=>{e.exports={default:n(56981),__esModule:!0}},85861:(e,t,n)=>{e.exports={default:n(45627),__esModule:!0}},32242:(e,t,n)=>{e.exports={default:n(33391),__esModule:!0}},8177:(e,t,n)=>{e.exports={default:n(67036),__esModule:!0}},85105:(e,t,n)=>{e.exports={default:n(44926),__esModule:!0}},85345:(e,t,n)=>{e.exports={default:n(70433),__esModule:!0}},93516:(e,t,n)=>{e.exports={default:n(80025),__esModule:!0}},64275:(e,t,n)=>{e.exports={default:n(52392),__esModule:!0}},99663:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},22600:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=n(32242),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(){function e(e,t){for(var n=0;n{"use strict";t.__esModule=!0;var r,o=n(32242),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},88239:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=n(52945),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default||function(e){for(var t=1;t{"use strict";var r=i(n(85105)),o=i(n(8177));function i(e){return e&&e.__esModule?e:{default:e}}t.Z=function e(t,n,i){null===t&&(t=Function.prototype);var a=(0,o.default)(t,n);if(void 0===a){var l=(0,r.default)(t);return null===l?void 0:e(l,n,i)}if("value"in a)return a.value;var s=a.get;return void 0!==s?s.call(i):void 0}},93196:(e,t,n)=>{"use strict";t.__esModule=!0;var r=a(n(85345)),o=a(n(85861)),i=a(n(72444));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},42723:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},49135:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=n(72444),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},12424:(e,t,n)=>{"use strict";var r=i(n(40863)),o=i(n(26378));function i(e){return e&&e.__esModule?e:{default:e}}t.Z=function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var l,s=(0,o.default)(e);!(r=(l=s.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},85315:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=n(24043),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t{"use strict";t.__esModule=!0;var r=a(n(64275)),o=a(n(93516)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},5783:e=>{"use strict";e.exports=function(e){return function(t){return t.collector=e,t}}},55627:(e,t,n)=>{"use strict";var r=n(67294),o=n(26826);e.exports=function(){return{converters:[[function(e){return o.isElement(e)&&"pre"===o.getTagName(e)},function(e,t){var n=o.getAttributes(e);return r.createElement("pre",{key:t,className:"language-".concat(n.lang)},r.createElement("code",{dangerouslySetInnerHTML:{__html:n.highlighted}}))}]]}}},32049:(e,t,n)=>{e.exports={markdown:{components:{accordion:{demo:function(){return new Promise((function(e){n.e(4583).then(function(t){e(n(9592))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(4054).then(function(t){e(n(20192))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(2688).then(function(t){e(n(62633))}.bind(null,n)).catch(n.oe)}))}}},"action-sheet":{demo:function(){return new Promise((function(e){n.e(6293).then(function(t){e(n(58474))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(525).then(function(t){e(n(1234))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(708).then(function(t){e(n(40331))}.bind(null,n)).catch(n.oe)}))}}},"activity-indicator":{demo:function(){return new Promise((function(e){n.e(8652).then(function(t){e(n(84146))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(282).then(function(t){e(n(67693))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(1697).then(function(t){e(n(55879))}.bind(null,n)).catch(n.oe)}))}}},badge:{demo:function(){return new Promise((function(e){n.e(8277).then(function(t){e(n(63579))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9892).then(function(t){e(n(27998))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(9438).then(function(t){e(n(31738))}.bind(null,n)).catch(n.oe)}))}}},button:{demo:function(){return new Promise((function(e){n.e(3540).then(function(t){e(n(61182))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(3137).then(function(t){e(n(76350))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(7208).then(function(t){e(n(89300))}.bind(null,n)).catch(n.oe)}))}}},card:{demo:function(){return new Promise((function(e){n.e(7438).then(function(t){e(n(56960))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9787).then(function(t){e(n(89894))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(279).then(function(t){e(n(27048))}.bind(null,n)).catch(n.oe)}))}}},carousel:{demo:function(){return new Promise((function(e){n.e(1171).then(function(t){e(n(29497))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(1567).then(function(t){e(n(92832))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(4846).then(function(t){e(n(74262))}.bind(null,n)).catch(n.oe)}))}}},checkbox:{demo:function(){return new Promise((function(e){n.e(5466).then(function(t){e(n(3404))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(2694).then(function(t){e(n(88649))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(8054).then(function(t){e(n(68392))}.bind(null,n)).catch(n.oe)}))}}},collapse:{demo:function(){return new Promise((function(e){n.e(4639).then(function(t){e(n(79166))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(7012).then(function(t){e(n(59390))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(1504).then(function(t){e(n(3526))}.bind(null,n)).catch(n.oe)}))}}},"date-picker":{demo:function(){return new Promise((function(e){n.e(8470).then(function(t){e(n(13454))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9290).then(function(t){e(n(65345))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(353).then(function(t){e(n(83603))}.bind(null,n)).catch(n.oe)}))}}},"date-picker-view":{demo:function(){return new Promise((function(e){n.e(2925).then(function(t){e(n(89978))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(6009).then(function(t){e(n(18662))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(3208).then(function(t){e(n(75103))}.bind(null,n)).catch(n.oe)}))}}},drawer:{demo:function(){return new Promise((function(e){n.e(4958).then(function(t){e(n(76403))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(5701).then(function(t){e(n(43987))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(1869).then(function(t){e(n(27897))}.bind(null,n)).catch(n.oe)}))}}},flex:{demo:function(){return new Promise((function(e){n.e(2611).then(function(t){e(n(84424))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(7934).then(function(t){e(n(14391))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(8755).then(function(t){e(n(89100))}.bind(null,n)).catch(n.oe)}))}}},form:{demo:function(){return new Promise((function(e){n.e(8873).then(function(t){e(n(67328))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(4613).then(function(t){e(n(62847))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(1827).then(function(t){e(n(1192))}.bind(null,n)).catch(n.oe)}))}}},grid:{demo:function(){return new Promise((function(e){n.e(5903).then(function(t){e(n(96492))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(3852).then(function(t){e(n(79186))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(7046).then(function(t){e(n(75996))}.bind(null,n)).catch(n.oe)}))}}},icon:{demo:function(){return new Promise((function(e){n.e(3115).then(function(t){e(n(33222))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(464).then(function(t){e(n(6680))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(9418).then(function(t){e(n(12267))}.bind(null,n)).catch(n.oe)}))}}},"image-picker":{index:{"en-US":function(){return new Promise((function(e){n.e(6610).then(function(t){e(n(7122))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(2246).then(function(t){e(n(26874))}.bind(null,n)).catch(n.oe)}))}}},input:{demo:function(){return new Promise((function(e){n.e(5528).then(function(t){e(n(45714))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9354).then(function(t){e(n(73832))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(6953).then(function(t){e(n(60768))}.bind(null,n)).catch(n.oe)}))}}},"input-item":{demo:function(){return new Promise((function(e){n.e(7630).then(function(t){e(n(54628))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(2943).then(function(t){e(n(90611))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(1270).then(function(t){e(n(70298))}.bind(null,n)).catch(n.oe)}))}}},list:{demo:function(){return new Promise((function(e){n.e(3749).then(function(t){e(n(21963))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(2810).then(function(t){e(n(36893))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(4063).then(function(t){e(n(10261))}.bind(null,n)).catch(n.oe)}))}}},"list-view":{demo:function(){return new Promise((function(e){n.e(9277).then(function(t){e(n(35699))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9375).then(function(t){e(n(6997))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(6651).then(function(t){e(n(29358))}.bind(null,n)).catch(n.oe)}))}}},modal:{demo:function(){return new Promise((function(e){n.e(6425).then(function(t){e(n(55534))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9436).then(function(t){e(n(93132))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(2364).then(function(t){e(n(81710))}.bind(null,n)).catch(n.oe)}))}}},"notice-bar":{demo:function(){return new Promise((function(e){n.e(5175).then(function(t){e(n(10687))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(558).then(function(t){e(n(1462))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(4122).then(function(t){e(n(56619))}.bind(null,n)).catch(n.oe)}))}}},pagination:{demo:function(){return new Promise((function(e){n.e(9341).then(function(t){e(n(2204))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9097).then(function(t){e(n(7778))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(4238).then(function(t){e(n(86138))}.bind(null,n)).catch(n.oe)}))}}},picker:{demo:function(){return new Promise((function(e){n.e(3825).then(function(t){e(n(58414))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(3675).then(function(t){e(n(5967))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(2583).then(function(t){e(n(68215))}.bind(null,n)).catch(n.oe)}))}}},"picker-view":{demo:function(){return new Promise((function(e){n.e(3769).then(function(t){e(n(63664))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9586).then(function(t){e(n(39025))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(7592).then(function(t){e(n(95378))}.bind(null,n)).catch(n.oe)}))}}},popover:{demo:function(){return new Promise((function(e){n.e(7297).then(function(t){e(n(85877))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(3478).then(function(t){e(n(90289))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(9966).then(function(t){e(n(32925))}.bind(null,n)).catch(n.oe)}))}}},portal:{README:function(){return new Promise((function(e){n.e(1905).then(function(t){e(n(13343))}.bind(null,n)).catch(n.oe)}))}},progress:{demo:function(){return new Promise((function(e){n.e(4785).then(function(t){e(n(26863))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(6735).then(function(t){e(n(49094))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(6930).then(function(t){e(n(57517))}.bind(null,n)).catch(n.oe)}))}}},provider:{demo:function(){return new Promise((function(e){n.e(712).then(function(t){e(n(81489))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(2813).then(function(t){e(n(32185))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(2808).then(function(t){e(n(25383))}.bind(null,n)).catch(n.oe)}))}}},radio:{demo:function(){return new Promise((function(e){n.e(8006).then(function(t){e(n(89911))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(6239).then(function(t){e(n(4433))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(9685).then(function(t){e(n(24240))}.bind(null,n)).catch(n.oe)}))}}},result:{demo:function(){return new Promise((function(e){n.e(7873).then(function(t){e(n(97423))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9307).then(function(t){e(n(61053))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(7896).then(function(t){e(n(26712))}.bind(null,n)).catch(n.oe)}))}}},"search-bar":{demo:function(){return new Promise((function(e){n.e(8779).then(function(t){e(n(16092))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(3639).then(function(t){e(n(86736))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(5260).then(function(t){e(n(30086))}.bind(null,n)).catch(n.oe)}))}}},"segmented-control":{index:{"en-US":function(){return new Promise((function(e){n.e(5219).then(function(t){e(n(4981))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(820).then(function(t){e(n(13206))}.bind(null,n)).catch(n.oe)}))}}},slider:{demo:function(){return new Promise((function(e){n.e(7940).then(function(t){e(n(71346))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(6218).then(function(t){e(n(54027))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(3031).then(function(t){e(n(29969))}.bind(null,n)).catch(n.oe)}))}}},stepper:{demo:function(){return new Promise((function(e){n.e(6646).then(function(t){e(n(93094))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(2757).then(function(t){e(n(63019))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(1498).then(function(t){e(n(90308))}.bind(null,n)).catch(n.oe)}))}}},steps:{demo:function(){return new Promise((function(e){n.e(5417).then(function(t){e(n(58400))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(8777).then(function(t){e(n(13380))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(5006).then(function(t){e(n(24453))}.bind(null,n)).catch(n.oe)}))}}},"swipe-action":{demo:function(){return new Promise((function(e){n.e(8518).then(function(t){e(n(75906))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(6271).then(function(t){e(n(44585))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(9931).then(function(t){e(n(86030))}.bind(null,n)).catch(n.oe)}))}}},switch:{demo:function(){return new Promise((function(e){n.e(4764).then(function(t){e(n(99055))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(8110).then(function(t){e(n(96999))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(3515).then(function(t){e(n(87992))}.bind(null,n)).catch(n.oe)}))}}},"tab-bar":{demo:function(){return new Promise((function(e){n.e(9420).then(function(t){e(n(7903))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(1321).then(function(t){e(n(18700))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(55).then(function(t){e(n(63198))}.bind(null,n)).catch(n.oe)}))}}},tabs:{demo:function(){return new Promise((function(e){n.e(965).then(function(t){e(n(64482))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9360).then(function(t){e(n(5388))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(4656).then(function(t){e(n(68054))}.bind(null,n)).catch(n.oe)}))}}},tag:{demo:function(){return new Promise((function(e){n.e(1067).then(function(t){e(n(20567))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(4643).then(function(t){e(n(82601))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(8394).then(function(t){e(n(2536))}.bind(null,n)).catch(n.oe)}))}}},"textarea-item":{demo:function(){return new Promise((function(e){n.e(7492).then(function(t){e(n(32901))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(4936).then(function(t){e(n(99341))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(3661).then(function(t){e(n(31856))}.bind(null,n)).catch(n.oe)}))}}},toast:{demo:function(){return new Promise((function(e){n.e(4104).then(function(t){e(n(25732))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(7351).then(function(t){e(n(9640))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(9667).then(function(t){e(n(103))}.bind(null,n)).catch(n.oe)}))}}},tooltip:{demo:function(){return new Promise((function(e){n.e(342).then(function(t){e(n(192))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(440).then(function(t){e(n(68569))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(1221).then(function(t){e(n(28034))}.bind(null,n)).catch(n.oe)}))}}},view:{demo:function(){return new Promise((function(e){n.e(8665).then(function(t){e(n(78710))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(851).then(function(t){e(n(11278))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(4833).then(function(t){e(n(15179))}.bind(null,n)).catch(n.oe)}))}}},"white-space":{demo:function(){return new Promise((function(e){n.e(6481).then(function(t){e(n(37823))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(9635).then(function(t){e(n(96656))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(2635).then(function(t){e(n(61799))}.bind(null,n)).catch(n.oe)}))}}},"wing-blank":{demo:function(){return new Promise((function(e){n.e(5680).then(function(t){e(n(79065))}.bind(null,n)).catch(n.oe)}))},index:{"en-US":function(){return new Promise((function(e){n.e(8007).then(function(t){e(n(1185))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(8540).then(function(t){e(n(64749))}.bind(null,n)).catch(n.oe)}))}}}},docs:{blog:{"what-is-styles":{"en-US":function(){return new Promise((function(e){n.e(7420).then(function(t){e(n(38447))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(7065).then(function(t){e(n(79446))}.bind(null,n)).catch(n.oe)}))}}},react:{introduce:{"en-US":function(){return new Promise((function(e){n.e(3062).then(function(t){e(n(68618))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(1973).then(function(t){e(n(79553))}.bind(null,n)).catch(n.oe)}))}},support:{"en-US":function(){return new Promise((function(e){n.e(4194).then(function(t){e(n(97298))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(4917).then(function(t){e(n(75713))}.bind(null,n)).catch(n.oe)}))}},"upgrade-notes":{"en-US":function(){return new Promise((function(e){n.e(4098).then(function(t){e(n(13763))}.bind(null,n)).catch(n.oe)}))},"zh-CN":function(){return new Promise((function(e){n.e(3410).then(function(t){e(n(16420))}.bind(null,n)).catch(n.oe)}))}}}},changelog:{CHANGELOG:{"zh-CN":function(){return new Promise((function(e){n.e(4385).then(function(t){e(n(143))}.bind(null,n)).catch(n.oe)}))},"en-US":function(){return new Promise((function(e){n.e(8600).then(function(t){e(n(77282))}.bind(null,n)).catch(n.oe)}))}}}},picked:{components:[{meta:{category:"Components",type:"Feedback",title:"ActionSheet",subtitle:"动作面板",filename:"components/action-sheet/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"Accordion",subtitle:"手风琴(归档)",filename:"components/accordion/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"Accordion",subtitle:"(archived)",filename:"components/accordion/index.en-US.md"}},{meta:{category:"Components",type:"Feedback",title:"ActionSheet",filename:"components/action-sheet/index.en-US.md"}},{meta:{category:"Components",type:"Layout",title:"WingBlank",subtitle:"两翼留白",filename:"components/wing-blank/index.zh-CN.md"}},{meta:{category:"Components",type:"Layout",title:"WhiteSpace",subtitle:"上下留白",filename:"components/white-space/index.zh-CN.md"}},{meta:{category:"Components",type:"Layout",title:"WhiteSpace",filename:"components/white-space/index.en-US.md"}},{meta:{category:"Components",type:"Layout",title:"WingBlank",filename:"components/wing-blank/index.en-US.md"}},{meta:{category:"Components",type:"Layout",title:"View",filename:"components/view/index.en-US.md"}},{meta:{category:"Components",type:"Layout",title:"View",subtitle:"基础组件",filename:"components/view/index.zh-CN.md"}},{meta:{category:"Components",type:"Feedback",title:"Toast",version:"update",filename:"components/toast/index.en-US.md"}},{meta:{category:"Components",type:"Navigation",title:"Tooltip",subtitle:"气泡",version:"5.2.1",filename:"components/tooltip/index.zh-CN.md"}},{meta:{category:"Components",type:"Feedback",title:"Toast",subtitle:"轻提示",version:"update",filename:"components/toast/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"TextareaItem",subtitle:"多行输入(归档)",filename:"components/textarea-item/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"Tag",filename:"components/tag/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Tag",subtitle:"标签",filename:"components/tag/index.zh-CN.md"}},{meta:{category:"Components",type:"Navigation",title:"Tooltip",version:"5.2.1",filename:"components/tooltip/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"TextareaItem",subtitle:"(archived)",filename:"components/textarea-item/index.en-US.md"}},{meta:{category:"Components",type:"Navigation",title:"TabBar",subtitle:"标签栏",filename:"components/tab-bar/index.zh-CN.md"}},{meta:{category:"Components",type:"Navigation",title:"TabBar",filename:"components/tab-bar/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Switch",subtitle:"滑动开关",filename:"components/switch/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"Switch",filename:"components/switch/index.en-US.md"}},{meta:{category:"Components",type:"Navigation",title:"Tabs",filename:"components/tabs/index.en-US.md"}},{meta:{category:"Components",type:"Navigation",title:"Tabs",subtitle:"标签页",filename:"components/tabs/index.zh-CN.md"}},{meta:{category:"Components",type:"Gesture",title:"SwipeAction",version:"update",filename:"components/swipe-action/index.en-US.md"}},{meta:{category:"Components",type:"Gesture",title:"SwipeAction",subtitle:"滑动操作",version:"update",filename:"components/swipe-action/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",cols:1,title:"Steps",filename:"components/steps/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Steps",subtitle:"步骤条",filename:"components/steps/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"Stepper",version:"update",filename:"components/stepper/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Stepper",subtitle:"步进器",version:"update",filename:"components/stepper/index.zh-CN.md"}},{meta:{category:"Components",type:"Navigation",title:"SegmentedControl",subtitle:"分段器(已弃用)",filename:"components/segmented-control/index.zh-CN.md"}},{meta:{category:"Components",type:"Navigation",title:"SegmentedControl",subtitle:"(deprecated)",filename:"components/segmented-control/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Slider",version:"update",filename:"components/slider/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Slider",subtitle:"滑动输入条",version:"update",filename:"components/slider/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"SearchBar",subtitle:"搜索栏",filename:"components/search-bar/index.zh-CN.md"}},{meta:{category:"Components",type:"Combination",title:"Result",subtitle:"结果页",filename:"components/result/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"SearchBar",filename:"components/search-bar/index.en-US.md"}},{meta:{category:"Components",type:"Combination",title:"Result",filename:"components/result/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Radio",subtitle:"单选框",filename:"components/radio/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"Radio",filename:"components/radio/index.en-US.md"}},{meta:{category:"Components",title:"Provider",subtitle:"全局化配置",type:"Other",version:"update",filename:"components/provider/index.zh-CN.md"}},{meta:{category:"Components",type:"Feedback",title:"Progress",filename:"components/progress/index.en-US.md"}},{meta:{category:"Components",type:"Feedback",title:"Progress",subtitle:"进度条",filename:"components/progress/index.zh-CN.md"}},{meta:{filename:"components/portal/README.md"}},{meta:{category:"Components",type:"Navigation",title:"Popover",subtitle:"气泡(归档)",filename:"components/popover/index.zh-CN.md"}},{meta:{category:"Components",title:"Provider",type:"Other",version:"update",filename:"components/provider/index.en-US.md"}},{meta:{category:"Components",type:"Navigation",title:"Popover",subtitle:"(archived)",filename:"components/popover/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"PickerView",subtitle:"选择器",filename:"components/picker-view/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"PickerView",filename:"components/picker-view/index.en-US.md"}},{meta:{category:"Components",type:"Navigation",title:"Pagination",subtitle:"分页器",filename:"components/pagination/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"Picker",subtitle:"选择器",filename:"components/picker/index.zh-CN.md"}},{meta:{category:"Components",type:"Navigation",title:"Pagination",filename:"components/pagination/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Picker",filename:"components/picker/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"NoticeBar",subtitle:"通告栏",version:"update",filename:"components/notice-bar/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"NoticeBar",version:"update",filename:"components/notice-bar/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"ListView",filename:"components/list-view/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"ListView",subtitle:"列表",filename:"components/list-view/index.zh-CN.md"}},{meta:{category:"Components",type:"Feedback",title:"Modal",subtitle:"对话框",filename:"components/modal/index.zh-CN.md"}},{meta:{category:"Components",type:"Feedback",title:"Modal",filename:"components/modal/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"List",subtitle:"列表",filename:"components/list/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"List",filename:"components/list/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"InputItem",subtitle:"文本输入(归档)",filename:"components/input-item/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"Input",subtitle:"文本输入",version:"5.2.1",filename:"components/input/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"ImagePicker",subtitle:"图片选择器(已弃用)",filename:"components/image-picker/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"InputItem",subtitle:"(archived)",filename:"components/input-item/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"ImagePicker",subtitle:"(deprecated)",filename:"components/image-picker/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Input",version:"5.2.1",filename:"components/input/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Grid",subtitle:"宫格",filename:"components/grid/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"Icon",filename:"components/icon/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Grid",filename:"components/grid/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Icon",subtitle:"图标",filename:"components/icon/index.zh-CN.md"}},{meta:{category:"Components",type:"Layout",title:"Flex",subtitle:"Flex布局",filename:"components/flex/index.zh-CN.md"}},{meta:{category:"Components",type:"Layout",title:"Flex",filename:"components/flex/index.en-US.md"}},{meta:{category:"Components",type:"Navigation",title:"Drawer",subtitle:"抽屉",filename:"components/drawer/index.zh-CN.md"}},{meta:{category:"Components",type:"Navigation",title:"Drawer",filename:"components/drawer/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"DatePickerView",subtitle:"日期选择器",filename:"components/date-picker-view/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"DatePicker",subtitle:"日期选择",filename:"components/date-picker/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"DatePickerView",filename:"components/date-picker-view/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"DatePicker",filename:"components/date-picker/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Collapse",subtitle:"折叠面板",version:"5.2.1",filename:"components/collapse/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"Collapse",version:"5.2.1",filename:"components/collapse/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Checkbox",subtitle:"复选框",filename:"components/checkbox/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"Checkbox",filename:"components/checkbox/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Form",subtitle:"表单",version:"5.2.1",filename:"components/form/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"Form",version:"5.2.1",filename:"components/form/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Carousel",subtitle:"走马灯",filename:"components/carousel/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"Carousel",filename:"components/carousel/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Card",filename:"components/card/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Card",subtitle:"卡片",filename:"components/card/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Entry",title:"Button",filename:"components/button/index.en-US.md"}},{meta:{category:"Components",type:"Data Entry",title:"Button",subtitle:"按钮",filename:"components/button/index.zh-CN.md"}},{meta:{category:"Components",type:"Data Display",title:"Badge",subtitle:"徽标数",filename:"components/badge/index.zh-CN.md"}},{meta:{category:"Components",type:"Feedback",title:"ActivityIndicator",filename:"components/activity-indicator/index.en-US.md"}},{meta:{category:"Components",type:"Data Display",title:"Badge",filename:"components/badge/index.en-US.md"}},{meta:{category:"Components",type:"Feedback",title:"ActivityIndicator",subtitle:"活动指示器",filename:"components/activity-indicator/index.zh-CN.md"}}],changelog:[{meta:{order:2,title:"Change Log",toc:!1,filename:"CHANGELOG.en-US.md"}},{meta:{order:2,title:"更新日志",toc:!1,filename:"CHANGELOG.zh-CN.md"}}],"docs/react":[{meta:{order:5,title:"支持我们",filename:"docs/react/support.zh-CN.md"}},{meta:{order:5,title:"Support us",filename:"docs/react/support.en-US.md"}},{meta:{order:4,title:"Upgrade",filename:"docs/react/upgrade-notes.en-US.md"}},{meta:{order:4,title:"升级指南",filename:"docs/react/upgrade-notes.zh-CN.md"}},{meta:{order:0,title:"Ant Design Mobile RN of React",filename:"docs/react/introduce.en-US.md"}},{meta:{order:0,title:"Ant Design Mobile RN of React",filename:"docs/react/introduce.zh-CN.md"}}],"docs/blog":[{meta:{category:"Blog",title:"styles是什么?",author:"1uokun",date:"2024-08-08T00:00:00.000Z",filename:"docs/blog/what-is-styles.zh-CN.md"}},{meta:{category:"Blog",title:"What is styles?",author:"1uokun",date:"2024-08-08T00:00:00.000Z",filename:"docs/blog/what-is-styles.en-US.md"}}]},plugins:[[n(55627),{}]]}},76031:(e,t,n)=>{"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t{var r=n(6467);e.exports={locale:"en-US",data:r,messages:{"app.header.search":"Search...","app.header.menu.home":"Home","app.header.menu.components":"Components","app.header.menu.support":"Support us","app.header.menu.design":"Specification","app.header.menu.web":"Web Components","app.header.menu.pc":"Desktop","app.header.lang":"中文","app.home.slogan":"Mobile Design Specification","app.home.epitomize":"A UI component library based on React Native","app.home.centerStart":"Start Exploring","app.home.qrtip":"Scan QR Code","app.home.s2_title":"Understand what you need","app.home.s2_des1":"Rich Components | Full Featured","app.home.s2_des10":"Provides 40+ basic components, covering all kinds of scenarios, component features rich to meet the needs of various functional Requirements.","app.home.s2_des2":"One Step To Get Start | Loaded on demand","app.home.s2_des20":"Simple enough to get started, you can load all the code at a time or only load some of the components used in the code to avoid redundancy.","app.home.s2_des3":"Small Size | Outstanding Performance","app.home.s2_des30":"On the basis of not losing the features, as far as possible to ensure a single component of the smallest, best performance.","app.home.s2_des4":"Easy To Customize | Many Styles","app.home.s2_des40":"Support flexible style customization, easy to generate a variety of styles to meet the needs of personalized products.","app.home.s3_title":"Sketch UI Kit","app.home.s3_des":"We provide you with a rich resource of Sketch symbolized components, which you can use to quickly design your application.","app.home.s3_btn":"Download Immediately","app.home.s4_title":"Who's using","app.footer.links":"Links","app.footer.motion":"Motion Solution","app.footer.antux":"Sitemap Template","app.footer.antd-library":"Axure library","app.footer.community":"Community","app.footer.discuss":"Chat Room","app.footer.bug-report":"Bug Report","app.footer.more-product":"Ant AFX","app.footer.ant-design":"UI Design Language","app.footer.data-vis":"Data Visualization","app.footer.eggjs":"Enterprise Node Framework","app.footer.privacy":"Privacy Policy","app.footer.commitment":"Our Commitment to Customer Protection","app.footer.company":"Ant Financial","app.footer.author":"Created by Ant UED","app.ComponentDoc.codeTitle":"Code Example","app.ComponentDoc.codeQrcode":"Scan QR code to view the Demo","app.ComponentDoc.codeExpand":"show all code","app.ComponentDoc.Modal.return":"Close","app.demo.copy":"Copy","app.demo.copied":"Copied!","app.demo.codepen":"Open in CodePen","app.demo.riddle":"Open in Riddle"}}},15581:(e,t,n)=>{n(81021),n(4960),n(22973),n(82275),n(2209),n(88468),n(65630),n(45449),n(72874),n(133),n(56420),n(17038),n(99837),n(66659),n(17874),n(27467),n(34461),n(90594),n(52027)},22909:(e,t,n)=>{var r=n(95318),o=n(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(34575)),a=r(n(93913)),l=r(n(81506)),s=r(n(2205)),c=r(n(78585)),u=r(n(29754)),f=r(n(59713)),p=b(n(67294)),d=r(n(49611)),h=n(26826),v=r(n(37656)),m=r(n(1350)),y=b(n(72850));function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var o=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}var C=m.default.TabPane,S=function(e){(0,s.default)(n,e);var t=w(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),a=0;ar})),i=t.slice(0,n),a=t.slice(n,r);a.splice(0,1);var l=t.slice(r,o);l.splice(0,1);var s=t.slice(o,t.length),c=p.default.createElement(m.default,{defaultActiveKey:"1",key:"tabs"},p.default.createElement(C,{tab:t[n].props.id.replace(/-/g," "),key:"1",className:"markdown"},a),p.default.createElement(C,{tab:t[r].props.id.replace(/-/g," "),key:"2",className:"markdown"},l));return i.push(c),i.push(s),e=p.default.cloneElement(e,{},i)})),(0,f.default)((0,l.default)(e),"getArticle",(function(t){if(t=e.tryToRenderIntroducePageTab(t),!e.props.content.meta.timeline)return t;var n=[],r=[];return p.Children.forEach(t.props.children,(function(e,t){"h2"===e.type&&r.length>0&&(n.push(p.default.createElement(v.default.Item,{key:t},r)),r=[]),r.push(e)})),(0,p.cloneElement)(t,{children:p.default.createElement(v.default,null,n)})})),e}return(0,a.default)(n,[{key:"componentDidMount",value:function(){var e=this;this.componentDidUpdate(),setTimeout((function(){var t=e.props.location.hash.replace("#","");t&&document.getElementById(t).scrollIntoView()}),500)}},{key:"componentDidUpdate",value:function(){var e=document.querySelectorAll(".outside-link.internal");if(0!==e.length){y.ping("http://alipay-rmsdeploy-dev-image.oss-cn-hangzhou-zmf.aliyuncs.com/rmsportal/JdVaTbZzPxEldUi.png",(function(t){"responded"===t&&e.forEach((function(e){return e.style.display="block"}))}))}}},{key:"render",value:function(){var e=this.props,t=e.content,n=t.meta,r=t.description,o=n.title,i=n.subtitle,a=n.chinese,l=n.english;return p.default.createElement(d.default,{title:"".concat(o||a||l," - Ant Design")},p.default.createElement("article",{className:"markdown"},p.default.createElement("h1",null,o||l,i||a?p.default.createElement("span",{className:"subtitle"},i||a):null),r?e.utils.toReactComponent(["section",{className:"markdown"}].concat((0,h.getChildren)(r))):null,!t.toc||t.toc.length<=1||!1===n.toc?null:p.default.createElement("section",{className:"toc"},e.utils.toReactComponent(t.toc)),this.getArticle(e.utils.toReactComponent(["section",{className:"markdown"}].concat((0,h.getChildren)(t.content))))))}}]),n}(p.default.Component);t.default=S},72764:(e,t,n)=>{var r=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(67154)),i=r(n(34575)),a=r(n(93913)),l=r(n(81506)),s=r(n(2205)),c=r(n(78585)),u=r(n(29754)),f=r(n(59713)),p=r(n(46006)),d=r(n(94184)),h=n(26826),v=r(n(45697)),m=r(n(67294)),y=r(n(49611)),g=n(37101),b=r(n(73351));function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C(e){for(var t=1;t=2;r.props.demos!==e.demos&&r.setState({currentIndex:0,inMultiDemoMode:t,inFixedDemoMode:!1})})),(0,f.default)((0,l.default)(r),"togglePreview",(function(e){r.setState({currentIndex:e.index})})),r.state={currentIndex:r.getIndex(e),inMultiDemoMode:E(e).length>=2,inFixedDemoMode:!1},r.handleScroll=(0,p.default)(r.doScroll),r}return(0,a.default)(n,[{key:"getIndex",value:function(e){var t=e.location.hash.replace("#",""),n=Object.keys(e.demos).map((function(t){return e.demos[t]})).filter((function(e){return!e.meta.hidden})),r=n.sort((function(e,t){return parseInt(e.meta.order,10)-parseInt(t.meta.order,10)}));n.map((function(e,t){e.index=t}));var o=r.filter((function(e){return e.meta.id===t}))[0];return t&&o?o.index:0}},{key:"componentDidMount",value:function(){var e=this;setTimeout((function(){var t=e.props.location.hash.replace("#","");t&&document.getElementById(t).scrollIntoView()}),500)}},{key:"render",value:function(){var e=this,t=this.props,n=t.doc,r=t.location,i=n.content,a=n.meta,l=Object.keys(t.demos).map((function(e){return C(C({},t.demos[e]),{},{content:t.demos[e].content.filter((function(e){return Array.isArray(e)&&"pre"!==e[0]})),highlightedCode:t.demos[e].content[2]})})).filter((function(e){return!e.meta.hidden})),s=[],c=this.state.currentIndex;l.sort((function(e,t){return e.meta.order-t.meta.order})).forEach((function(i,a){s.push(m.default.createElement(b.default,(0,o.default)({togglePreview:e.togglePreview},i,{doc:n,className:c===a?"code-box-target":"",key:a,index:a,currentIndex:c,utils:t.utils,pathname:r.pathname})))}));var u=a.title,f=a.subtitle,p=a.chinese,v=a.english,w=(0,d.default)("clearfix demo-code-container",{"demo-code-container-mutli":this.state.inMultiDemoMode,"demo-code-container-fixed":this.state.inFixedDemoMode}),S=i.findIndex((function(e){return"h2,API"===String(e)}));return m.default.createElement(y.default,{title:"".concat(f||p||""," ").concat(u||v," - Ant Design")},m.default.createElement("article",null,m.default.createElement("section",{className:"markdown"},m.default.createElement("h1",{className:"section-title"},a.title||a.english," ",a.subtitle||a.chinese),t.utils.toReactComponent(["section",{className:"markdown"}].concat((0,h.getChildren)(i.slice(0,S)))),m.default.createElement("section",{id:"demoTitle",className:"demo-title-wrapper"},m.default.createElement("h2",{id:"demoTitle",className:"demo-title"},m.default.createElement(g.FormattedMessage,{id:"app.ComponentDoc.codeTitle"}),m.default.createElement("a",{href:"https://1uokun.github.io/ant-design-mobile-rn/index.html",target:"_blank"},m.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"-10 0 100 100",width:"20",height:"20"},m.default.createElement("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),m.default.createElement("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"}))))),m.default.createElement("div",{id:"demo-code",className:w},m.default.createElement("div",{style:{width:"100%",float:"left"}},s)),t.utils.toReactComponent(["section",{className:"markdown"}].concat((0,h.getChildren)(i.filter((function(e,t){return 0===t||t>=S})))))),t.utils.toReactComponent(["section",{id:"api",className:"markdown api-container"}].concat((0,h.getChildren)(n.api||["placeholder"])))))}}]),n}(m.default.Component);t.default=_,(0,f.default)(_,"contextTypes",{intl:v.default.object})},73351:(e,t,n)=>{var r=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(34575)),i=r(n(93913)),a=r(n(81506)),l=r(n(2205)),s=r(n(78585)),c=r(n(29754)),u=r(n(59713)),f=n(60306),p=n(78802),d=r(n(94184)),h=r(n(45697)),v=r(n(67294)),m=r(n(74855)),y=n(37101),g=n(72850);function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var o=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}var w=function(e){(0,l.default)(n,e);var t=b(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),l=0;l{var r=n(95318),o=n(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(67154)),a=r(n(34575)),l=r(n(93913)),s=r(n(81506)),c=r(n(2205)),u=r(n(78585)),f=r(n(29754)),p=r(n(59713)),d=r(n(319)),h=r(n(5789)),v=r(n(12386)),m=r(n(55673)),y=r(n(59361)),g=n(50168),b=r(n(45697)),w=r(n(67294)),C=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(72850)),S=r(n(22909)),E=r(n(72764));function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var o=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}var O=v.default.SubMenu;var k=function(e){(0,c.default)(n,e);var t=x(n);function n(e){var r;return(0,a.default)(this,n),r=t.call(this,e),(0,p.default)((0,s.default)(r),"handleMenuOpenChange",(function(e){r.setState({openKeys:e})})),r.state={openKeys:r.getSideBarOpenKeys(e)||[]},r}return(0,l.default)(n,[{key:"getSideBarOpenKeys",value:function(e){var t=e.location.pathname,n=this.currentModule;this.currentModule=t.replace(/^\//).split("/")[1]||"components","react"===this.currentModule&&(this.currentModule="components");var r=C.isZhCN(t)?"zh-CN":"en-US";if(n!==this.currentModule){var o=function(e){var t=e.location.pathname,n=/^\/?components/.test(t)?"components":t.split("/").filter((function(e){return e})).slice(0,2).join("/"),r="components"===n||"docs/react"===n||"docs/blog"===n||"changelog"===n||"changelog-cn"===n?[].concat((0,d.default)(e.picked["docs/blog"]),(0,d.default)(e.picked.components),(0,d.default)(e.picked["docs/react"]),(0,d.default)(e.picked.changelog)):e.picked[n],o=C.isZhCN(e.location.pathname)?"en-US.md":"zh-CN.md";return r.filter((function(e){return!e.meta.filename.endsWith(o)}))}(e);return Object.keys(C.getMenuItems(o,r))}return""}},{key:"fileNameToPath",value:function(e){var t=e.replace(/(\/index)?((\.zh-CN)|(\.en-US))?\.md$/i,"").split("/");return t[t.length-1]}},{key:"generateMenuItem",value:function(e,t){var n,r=this.fileNameToPath(t.filename);n=e?t.title||t.chinese||t.english:[w.default.createElement("span",{style:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center"}},w.default.createElement("span",{style:{flex:1}},w.default.createElement("span",{key:"english"},t.title||t.english),w.default.createElement("span",{className:"chinese",key:"chinese"},t.subtitle||t.chinese)),t.version&&w.default.createElement(y.default,{color:"green"},t.version))];var o=t.filename.replace(/(\/index)?((\.zh-CN)|(\.en-US))?\.md$/i,"").toLowerCase();t.filename.includes("zh-CN")&&(o="".concat(o,"-cn"));var i=t.link?w.default.createElement("a",{href:t.link,target:"_blank",rel:"noopener noreferrer"},n,w.default.createElement(y.default,null,"5.1.1")):w.default.createElement(g.Link,{to:/^components/.test(o)?"".concat(o,"/"):o},n);return w.default.createElement(v.default.Item,{key:r.toLowerCase()},i)}},{key:"isNotTopLevel",value:function(e){return"topLevel"!==e}},{key:"generateSubMenuItems",value:function(e){var t=this,n=(e.topLevel||[]).map(this.generateMenuItem.bind(this,!0)),r=Object.keys(e).filter(this.isNotTopLevel).sort((function(e,n){return t.props.themeConfig.categoryOrder.indexOf(e)-t.props.themeConfig.categoryOrder.indexOf(n)})).map((function(n,r){var o=e[n].sort((function(e,t){return(e.title||e.english).charCodeAt(0)-(t.title||t.english).charCodeAt(0)})).map(t.generateMenuItem.bind(t,!1));return w.default.createElement(v.default.ItemGroup,{title:n,key:r},o)}));return[].concat((0,d.default)(n),(0,d.default)(r))}},{key:"getModuleData",value:function(){var e=this,t=this.props,n=t.location.pathname,r=/^components/.test(n)?"components":n.split("/").slice(0,2).join("/");return"components"===r||r.includes("changelog")||"docs/react"===r||"docs/blog"===r?[].concat((0,d.default)(t.picked["docs/blog"]),(0,d.default)(t.picked.components),(0,d.default)(t.picked["docs/react"]),(0,d.default)(t.picked.changelog)).filter((function(t){return t.meta.filename.includes(e.context.intl.locale)})):t.picked[r]}},{key:"getMenuItems",value:function(){var e=this,t=this.getModuleData(),n=C.getMenuItems(t),r=this.generateSubMenuItems(n.topLevel),o=Object.keys(n).filter(this.isNotTopLevel).sort((function(t,n){return e.props.themeConfig.categoryOrder.indexOf(t)-e.props.themeConfig.categoryOrder.indexOf(n)})).map((function(t){var r=e.generateSubMenuItems(n[t]);return w.default.createElement(O,{title:w.default.createElement("h4",null,t),key:t},r)}));return[].concat((0,d.default)(r),(0,d.default)(o))}},{key:"flattenMenu",value:function(e){var t=this;return e.type===v.default.Item?e:Array.isArray(e)?e.reduce((function(e,n){return e.concat(t.flattenMenu(n))}),[]):this.flattenMenu(e.props.children)}},{key:"getFooterNav",value:function(e,t){var n=this.flattenMenu(e),r=-1;return n.forEach((function(e,n){e&&e.key===t&&(r=n)})),{prev:n[r-1],next:n[r+1]}}},{key:"componentWillReceiveProps",value:function(e){var t=this.getSideBarOpenKeys(e);t&&t!==this.state.openKeys&&this.setState({openKeys:t})}},{key:"render",value:function(){var e=this.props,t=function(e){var t=e.params.children;return t&&t.replace("-cn","")||e.location.pathname.replace(/(^\/|-cn$)/g,"")}(e),n=this.getMenuItems(),r=this.getFooterNav(n,t),o=r.prev,a=r.next,l=C.isZhCN(e.location.pathname)?"zh-CN":"en-US",s=e.localizedPageData,c=e.demos,u=c?w.default.createElement(E.default,(0,i.default)({},e,{doc:s,demos:c})):w.default.createElement(S.default,(0,i.default)({},e,{content:s}));return w.default.createElement("div",{className:"main-wrapper"},w.default.createElement(m.default,null,w.default.createElement(h.default,{lg:5,md:6,sm:24,xs:24},w.default.createElement(v.default,{inlineIndent:"40",className:"aside-container menu-site",mode:"inline",openKeys:this.state.openKeys,selectedKeys:[t],onOpenChange:this.handleMenuOpenChange},n)),w.default.createElement(h.default,{lg:19,md:18,sm:24,xs:24,className:"main-container"},u,w.default.createElement("br",null),"zh-CN"===l?w.default.createElement(w.default.Fragment,null,"不满足业务? 需要定制,",w.default.createElement("a",{href:"mailto:luokun199503@qq.com"},"联系我,"),"低至 $99 /天"):w.default.createElement(w.default.Fragment,null,"If you need customization, please",w.default.createElement("a",{href:"mailto:luokun199503@gmail.com"}," contact me"),", as low as $99/day")," ",w.default.createElement("a",{href:"https://github.com/1uokun"},"@1uokun"))),w.default.createElement(m.default,null,w.default.createElement(h.default,{lg:{span:19,offset:5},md:{span:18,offset:6},sm:24,xs:24},w.default.createElement("section",{className:"prev-next-nav"},o?w.default.cloneElement(o.props.children,{className:"prev-page"}):null,a?w.default.cloneElement(a.props.children,{className:"next-page"}):null))))}}]),n}(w.default.Component);t.default=k,(0,p.default)(k,"contextTypes",{intl:b.default.object.isRequired})},19907:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e,t){return{files:{"public/index.html":{content:'\n\n\n\n \n \n \n \n \x3c!--\n manifest.json provides metadata used when your web app is added to the\n homescreen on Android. See https://developers.google.com/web/fundamentals/web-app-manifest/\n --\x3e\n \n \x3c!--\n Notice the use of %PUBLIC_URL% in the tags above.\n It will be replaced with the URL of the public folder during the build.\n Only files inside the public folder can be referenced from the HTML.\n\n Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will\n work correctly both with client-side routing and a non-root public URL.\n Learn how to configure a non-root public URL by running npm run build.\n --\x3e\n React App\n \n\n\n \n
\n\n\n'},"src/index.js":{content:'\n\nimport { AppRegistry } from "react-native";\nimport App from "./App";\n\nAppRegistry.registerComponent("App", () => App);\n\nAppRegistry.runApplication("App", {\nrootTag: document.getElementById("root")\n});\n'},"src/App.js":{content:e},"package.json":{content:{version:"0.2.0",scripts:{test:"react-scripts test",start:"react-scripts start",eject:"react-scripts eject",build:"react-scripts build"},private:!0,name:"".concat(t.meta.title),eslintConfig:{extends:"react-app"},dependencies:{"@ant-design/react-native":"5.0.0","antd-mobile-rn-scripts":"latest",react:"17.0.2","react-art":"17.0.2","react-dom":"17.0.2","react-native-web":"^0.17.6","antd-mobile-demo-data":"^0.2.0","@bang88/china-city-data":"^1.0.0"},browserslist:[">0.2%","not dead","not ie <= 11","not op_mini all"]}}}}}},55310:(e,t,n)=>{var r=n(95318),o=n(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(87757)),a=r(n(63038)),l=r(n(319)),s=r(n(48926)),c=r(n(5783)),u=r(n(73407)),f=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(72850));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function d(e){return e.indexOf("changelog")>=0}var h,v=(0,c.default)((h=(0,s.default)(i.default.mark((function e(t){var n,r,o,s,c,u,p,h,v,m;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.location.pathname,r=n.replace("-cn","").split("/"),o=d(n)?t.data.changelog.CHANGELOG:t.utils.get(t.data,r)){e.next=5;break}throw 404;case 5:if(s=f.isZhCN(n)?"zh-CN":"en-US",c="function"==typeof o?o():(o[s]||o.index[s]||o.index)(),!(u=t.utils.get(t.data,[].concat((0,l.default)(r),["demo"])))){e.next=16;break}return e.next=11,Promise.all([c,u()]);case 11:return p=e.sent,h=(0,a.default)(p,2),v=h[0],m=h[1],e.abrupt("return",{localizedPageData:v,demos:m});case 16:return e.next=18,c;case 18:return e.t0=e.sent,e.abrupt("return",{localizedPageData:e.t0});case 20:case"end":return e.stop()}}),e)}))),function(e){return h.apply(this,arguments)}))(u.default);t.default=v},71224:(e,t,n)=>{var r=n(95318),o=n(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(34575)),a=r(n(93913)),l=r(n(2205)),s=r(n(78585)),c=r(n(29754));n(58760);var u=r(n(67294)),f=r(n(49611)),p=n(50168),d=r(n(86038)),h=n(37101),v=n(78802),m=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(72850));function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var o=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}var b=function(e){(0,l.default)(n,e);var t=g(n);function n(e){var r;(0,i.default)(this,n),r=t.call(this,e);var o=e.location.pathname,a=m.isZhCN(o);return r.state={isZhCN:a},r}return(0,a.default)(n,[{key:"render",value:function(){var e=this.state.isZhCN,t=function(e){var t=e.split("|");return[t[0],u.default.createElement("span",{key:"divider",className:"divider"}),t[1]]};return u.default.createElement(f.default,{title:"Ant Design Mobile - ".concat(this.props.intl.formatMessage({id:"app.home.slogan"}))},u.default.createElement("div",{className:"main-wrapper"},u.default.createElement("section",{className:"home-s1"},u.default.createElement("div",{className:"banner-wrapper"},u.default.createElement("div",{className:"banner-text-wrapper"},u.default.createElement("h2",{key:"h2"},"Ant Design Mobile RN"),u.default.createElement("p",null,this.props.intl.formatMessage({id:"app.home.epitomize"})),u.default.createElement("div",{key:"button1",className:"start-button"},u.default.createElement(p.Link,{to:"/docs/react/introduce".concat(e?"-cn":"")},u.default.createElement(v.Button,{type:"primary",size:"large"},this.props.intl.formatMessage({id:"app.home.centerStart"}))),u.default.createElement(d.default,{key:"github-button",type:"stargazers",namespace:"ant-design",repo:"ant-design-mobile-rn"}))))),u.default.createElement("section",{className:"home-s2"},u.default.createElement("div",{className:"wrapper"},u.default.createElement("h3",null,this.props.intl.formatMessage({id:"app.home.s2_title"})),u.default.createElement(v.Row,{gutter:72,style:{marginBottom:80}},u.default.createElement(v.Col,{span:12},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/KUmyjoMxFFbjEdjiIWOw.png",alt:""}),u.default.createElement("div",{className:"des"},u.default.createElement("div",null,t(this.props.intl.formatMessage({id:"app.home.s2_des1"}))),u.default.createElement("p",null,this.props.intl.formatMessage({id:"app.home.s2_des10"})))),u.default.createElement(v.Col,{span:12},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/hfFgCpcxpGjeAlXFFgyT.png",alt:""}),u.default.createElement("div",{className:"des"},u.default.createElement("div",null,t(this.props.intl.formatMessage({id:"app.home.s2_des2"}))),u.default.createElement("p",null,this.props.intl.formatMessage({id:"app.home.s2_des20"}))))),u.default.createElement(v.Row,{gutter:48},u.default.createElement(v.Col,{span:12},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/nlUNcWIVLKoarLnWNaWS.png",alt:""}),u.default.createElement("div",{className:"des"},u.default.createElement("div",null,t(this.props.intl.formatMessage({id:"app.home.s2_des3"}))),u.default.createElement("p",null,this.props.intl.formatMessage({id:"app.home.s2_des30"})))),u.default.createElement(v.Col,{span:12},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/JjNULDGGwgOZmsZAqvjH.png",alt:""}),u.default.createElement("div",{className:"des"},u.default.createElement("div",null,t(this.props.intl.formatMessage({id:"app.home.s2_des4"}))),u.default.createElement("p",null,this.props.intl.formatMessage({id:"app.home.s2_des40"}))))))),u.default.createElement("section",{className:"home-s3"},u.default.createElement("div",{className:"wrapper"},u.default.createElement("h3",null,u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/EzhXjBHtavGDkTbewrvp.png",alt:""}),this.props.intl.formatMessage({id:"app.home.s3_title"})),u.default.createElement("p",null,this.props.intl.formatMessage({id:"app.home.s3_des"})),u.default.createElement("a",{href:"http://p.tb.cn/rmsportal_3436_AntDesignMobile_20Template_20V1.0.sketch"},u.default.createElement(v.Button,{size:"large",ghost:!0},this.props.intl.formatMessage({id:"app.home.s3_btn"}))))),u.default.createElement("section",{className:"home-s4"},u.default.createElement("div",{className:"wrapper"},u.default.createElement("h3",null,this.props.intl.formatMessage({id:"app.home.s4_title"})),u.default.createElement(v.Row,{style:{marginBottom:48}},u.default.createElement(v.Col,{span:8},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/BGcxWbIWmgBlIChNOpqp.png",alt:""})),u.default.createElement(v.Col,{span:8},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/qTKmDWNtAZMaYarVLIZT.png",alt:""})),u.default.createElement(v.Col,{span:8},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/ARwKOjaDethbuHOfMWOW.png",alt:""}))),u.default.createElement(v.Row,null,u.default.createElement(v.Col,{span:8},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/HinWzLTHESDKjWqvqChF.png",alt:""})),u.default.createElement(v.Col,{span:8},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/MHkXUADpUDavOJfLrMpy.png",alt:""})),u.default.createElement(v.Col,{span:8},u.default.createElement("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/YEiMaxUWGRExNqYAwQhy.png",alt:""}))))),u.default.createElement("style",{dangerouslySetInnerHTML:{__html:"\n .main-wrapper {\n padding: 0;\n }\n #header {\n box-shadow: none;\n width: 100%;\n }\n #header,\n #header .ant-select-selection,\n #header .ant-menu {\n background: transparent;\n }\n "}})))}}]),n}(u.default.Component),w=(0,h.injectIntl)(b);t.default=w},46719:(e,t,n)=>{var r=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(67294)),i=n(37101),a=n(78802),l=(0,i.injectIntl)((function(){return o.default.createElement("footer",{id:"footer",className:"dark"},o.default.createElement("div",{className:"footer-wrap"},o.default.createElement(a.Row,null,o.default.createElement(a.Col,{lg:6,sm:24,xs:24},o.default.createElement("div",{className:"footer-center"},o.default.createElement("h2",null,"Ant Design"),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank ",rel:"noopener noreferrer",href:"https://github.com/ant-design/ant-design-mobile-rn"},"Ant Design Mobile RN GitHub")),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank ",rel:"noopener noreferrer",href:"https://github.com/ant-design/ant-design-mobile"},"Ant Design Mobile GitHub")),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank ",rel:"noopener noreferrer",href:"https://ant.design"},"Ant Design")),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://pro.ant.design"},"Ant Design Pro")),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://github.com/react-component"},"React Component GitHub")))),o.default.createElement(a.Col,{lg:6,sm:24,xs:24},o.default.createElement("div",{className:"footer-center"},o.default.createElement("h2",null,o.default.createElement(i.FormattedMessage,{id:"app.footer.links"})),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"http://motion.ant.design"},"Ant Motion"),o.default.createElement("span",null," - "),o.default.createElement(i.FormattedMessage,{id:"app.footer.motion"})),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"http://ux.ant.design"},"Ant UX"),o.default.createElement("span",null," - "),o.default.createElement(i.FormattedMessage,{id:"app.footer.antux"})),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"http://library.ant.design/"},"AntD Library"),o.default.createElement("span",null," - "),o.default.createElement(i.FormattedMessage,{id:"app.footer.antd-library"})))),o.default.createElement(a.Col,{lg:6,sm:24,xs:24},o.default.createElement("div",{className:"footer-center"},o.default.createElement("h2",null,o.default.createElement(i.FormattedMessage,{id:"app.footer.community"})),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://gitter.im/ant-design/ant-design"},o.default.createElement(i.FormattedMessage,{id:"app.footer.discuss"}))),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"http://github.com/ant-design/ant-design-mobile/issues"},o.default.createElement(i.FormattedMessage,{id:"app.footer.bug-report"}))))),o.default.createElement(a.Col,{lg:6,sm:24,xs:24},o.default.createElement("div",{className:"footer-center"},o.default.createElement("h2",null,o.default.createElement("img",{className:"title-icon",src:"https://gw.alipayobjects.com/zos/rmsportal/nBVXkrFdWHxbZlmMbsaH.svg",alt:""}),o.default.createElement(i.FormattedMessage,{id:"app.footer.more-product"})),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank ",rel:"noopener noreferrer",href:"https://ant.design"},"Ant Design"),o.default.createElement("span",null," - "),o.default.createElement(i.FormattedMessage,{id:"app.footer.ant-design"})),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://antv.alipay.com/"},"AntV"),o.default.createElement("span",null," - "),o.default.createElement(i.FormattedMessage,{id:"app.footer.data-vis"})),o.default.createElement("div",null,o.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:"https://eggjs.org/"},"Egg"),o.default.createElement("span",null," - "),o.default.createElement(i.FormattedMessage,{id:"app.footer.eggjs"})))))),o.default.createElement(a.Row,{className:"bottom-bar"},o.default.createElement(a.Col,{lg:4,sm:24}),o.default.createElement(a.Col,{lg:20,sm:24},o.default.createElement("span",{style:{lineHeight:"16px",paddingRight:12,marginRight:11,borderRight:"1px solid rgba(255, 255, 255, 0.55)"}},o.default.createElement("a",{href:"https://docs.alipay.com/policies/privacy/antfin",rel:"noopener noreferrer",target:"_blank"},o.default.createElement(i.FormattedMessage,{id:"app.footer.privacy"}))),o.default.createElement("span",{style:{marginRight:24}},o.default.createElement("a",{href:"https://render.alipay.com/p/f/fd-izto3cem/index.html",rel:"noopener noreferrer",target:"_blank"},o.default.createElement(i.FormattedMessage,{id:"app.footer.commitment"}))),o.default.createElement("span",{style:{marginRight:12}},"ICP 证浙 B2-2-100257"),o.default.createElement("span",{style:{marginRight:12}},"Copyright © ",o.default.createElement(i.FormattedMessage,{id:"app.footer.company"})))))}));t.default=l},35647:(e,t,n)=>{var r=n(95318),o=n(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(34575)),a=r(n(93913)),l=r(n(81506)),s=r(n(2205)),c=r(n(78585)),u=r(n(29754)),f=r(n(59713)),p=n(60306),d=n(78802),h=n(50168),v=r(n(94184)),m=r(n(45697)),y=r(n(67294)),g=n(37101),b=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=w(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(72850));function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t-1})),(0,f.default)((0,l.default)(e),"handleLangChange",(function(){var t=e.props.location.pathname,n="".concat(window.location.protocol,"//"),r=window.location.href.substr(n.length);b.isLocalStorageNameSupported()&&localStorage.setItem("locale",b.isZhCN(t)?"en-US":"zh-CN"),window.location.href=n+r.replace(window.location.pathname,b.getLocalizedPathname(t,!b.isZhCN(t)))})),(0,f.default)((0,l.default)(e),"handleVersionChange",(function(e){var t=window.location.href,n=window.location.pathname;window.location.href=t.replace(window.location.origin,e).replace(n,b.getLocalizedPathname(n))})),e}return(0,a.default)(r,[{key:"componentDidMount",value:function(){var e=this,t=this.searchInput;n(24974).register("only screen and (min-width: 0) and (max-width: 992px)",{match:function(){e.setState({menuMode:"inline"})},unmatch:function(){e.setState({menuMode:"horizontal"})}}),document.addEventListener("keyup",(function(e){83===e.keyCode&&e.target===document.body&&t.focus()}))}},{key:"render",value:function(){var e=this,t=this.state,n=t.inputValue,r=t.menuMode,o=t.menuVisible,i=this.props,a=i.location,l=i.picked,s=i.isFirstScreen,c=i.themeConfig,u=S(S({},c.docVersions),{},(0,f.default)({},p.version,p.version)),m=Object.keys(u).map((function(e){return y.default.createElement(_,{value:u[e],key:e},e)})),w=l.components,C=a.pathname.replace(/(^\/|\/$)/g,"").split("/").slice(0,-1).join("/")||"home";"components"!==C&&"changelog"!==a.pathname||(C="docs/react");var E=this.context.intl.locale,x="zh-CN"===E,O=x?"en-US.md":"zh-CN.md",k=w.filter((function(e){return!e.meta.filename.endsWith(O)})).map((function(e){var t=e.meta,n=t.filename.split("/")[1],r="/components/".concat(n),o=t.subtitle;return y.default.createElement(_,{value:r,key:r,"data-label":"".concat((t.title||t.english||"").toLowerCase()," ").concat(t.subtitle||t.chinese)},y.default.createElement("strong",null,t.title||t.english),o&&y.default.createElement("span",{className:"ant-component-decs"},t.subtitle||t.chinese))}));k.push(y.default.createElement(_,{key:"searchEngine",value:"Google","data-label":"Google"},y.default.createElement(g.FormattedMessage,{id:"app.header.search"})));var M=(0,v.default)({clearfix:!0,"home-nav-white":!s,"home-page-header":"home"===C}),N=[y.default.createElement(d.Button,{ghost:!0,size:"small",onClick:this.handleLangChange,className:"header-lang-button",key:"lang-button"},y.default.createElement(g.FormattedMessage,{id:"app.header.lang"})),y.default.createElement(d.Select,{key:"version",className:"version",size:"small",dropdownMatchSelectWidth:!1,defaultValue:p.version,onChange:this.handleVersionChange,getPopupContainer:function(e){return e.parentNode}},m),y.default.createElement(d.Menu,{className:"menu-site",mode:r,selectedKeys:[C],id:"nav",key:"nav"},y.default.createElement(d.Menu.Item,{key:"home"},y.default.createElement(h.Link,{to:b.getLocalizedPathname("/",x)},y.default.createElement(g.FormattedMessage,{id:"app.header.menu.home"}))),y.default.createElement(d.Menu.Item,{key:"docs/react"},y.default.createElement(h.Link,{to:b.getLocalizedPathname("/docs/react/introduce",x)},y.default.createElement(g.FormattedMessage,{id:"app.header.menu.components"}))),y.default.createElement(d.Menu.Item,{key:"web"},y.default.createElement("a",{href:"//mobile.ant.design"},y.default.createElement(g.FormattedMessage,{id:"app.header.menu.web"}))),y.default.createElement(d.Menu.Item,{key:"docs/react/support"},y.default.createElement(h.Link,{to:b.getLocalizedPathname("/docs/react/support",x)},y.default.createElement(g.FormattedMessage,{id:"app.header.menu.support"}))),y.default.createElement(d.Menu.Item,{key:"pc"},y.default.createElement("a",{href:"https://github.com/ant-design/ant-design-mobile-rn"},"github")))],T="zh-CN"===E?"搜索组件...":"Search Components...";return y.default.createElement("header",{id:"header",className:M},"inline"===r?y.default.createElement(d.Popover,{overlayClassName:"popover-menu",placement:"bottomRight",content:N,trigger:"click",visible:o,arrowPointAtCenter:!0,onVisibleChange:this.onMenuVisibleChange},y.default.createElement(d.Icon,{className:"nav-phone-icon",type:"menu",onClick:this.handleShowMenu})):null,y.default.createElement(d.Row,null,y.default.createElement(d.Col,{xxl:4,xl:5,lg:5,md:8,sm:24,xs:24},y.default.createElement(h.Link,{to:b.getLocalizedPathname("/",x),id:"logo"},y.default.createElement("img",{alt:"logo",src:"https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"}),y.default.createElement("span",null,c.siteTitle))),y.default.createElement(d.Col,{xxl:20,xl:19,lg:19,md:16,sm:0,xs:0},y.default.createElement("div",{id:"search-box"},y.default.createElement(d.Icon,{type:"search"}),y.default.createElement(d.AutoComplete,{dataSource:k,value:n,dropdownClassName:"component-select",placeholder:T,optionLabelProp:"data-label",filterOption:this.handleSelectFilter,onSelect:this.handleSearch,onSearch:this.handleInputChange,getPopupContainer:function(e){return e.parentNode}},y.default.createElement(d.Input,{ref:function(t){return e.searchInput=t}}))),"horizontal"===r?N:null)))}}]),r}(y.default.Component);t.default=O,(0,f.default)(O,"contextTypes",{router:m.default.object.isRequired,intl:m.default.object.isRequired})},64611:(e,t,n)=>{var r=n(95318),o=n(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(67154)),a=r(n(6479)),l=r(n(34575)),s=r(n(93913)),c=r(n(81506)),u=r(n(2205)),f=r(n(78585)),p=r(n(29754)),d=r(n(59713)),h=x(n(67294)),v=r(n(45697)),m=r(n(73935)),y=n(37101),g=r(n(35647)),b=r(n(46719)),w=r(n(86131)),C=r(n(40261)),S=x(n(72850)),E=["children"];function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,p.default)(e);if(t){var o=(0,p.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,f.default)(this,n)}}"undefined"!=typeof window&&(n(15581),window.react=h.default,window["react-dom"]=m.default);var k=function(e){(0,u.default)(n,e);var t=O(n);function n(e){var r;(0,l.default)(this,n),r=t.call(this,e),(0,d.default)((0,c.default)(r),"onEnterChange",(function(e){r.setState({isFirstScreen:"enter"===e})}));var o=e.location.pathname,i=S.isZhCN(o)?C.default:w.default;return(0,y.addLocaleData)(i.data),r.state={isFirstScreen:!0,appLocale:i},r}return(0,s.default)(n,[{key:"componentDidMount",value:function(){void 0!==window.ga&&this.context.router.listen((function(e){window.ga("send","pageview",e.pathname+e.search)}));var e=document.getElementById("nprogress-style");e&&(this.timer=setTimeout((function(){e.parentNode.removeChild(e)}),0))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timer)}},{key:"render",value:function(){var e=this.props,t=e.children,n=(0,a.default)(e,E),r=this.state,o=r.appLocale,l=r.isFirstScreen;return h.default.createElement(y.IntlProvider,{locale:o.locale,messages:o.messages},h.default.createElement("div",{className:"page-wrapper"},h.default.createElement(g.default,(0,i.default)({},n,{isFirstScreen:l})),(0,h.cloneElement)(t,{isFirstScreen:l,onEnterChange:this.onEnterChange}),h.default.createElement(b.default,n)))}}]),n}(h.default.Component);t.default=k,(0,d.default)(k,"contextTypes",{router:v.default.object.isRequired})},17674:(e,t,n)=>{var r=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return o.default.createElement("div",{id:"page-404"},o.default.createElement("section",null,o.default.createElement("h1",null,"404"),o.default.createElement("p",null,"你要找的页面不存在 ",o.default.createElement(i.Link,{to:"/"},"返回首页"))),o.default.createElement("style",{dangerouslySetInnerHTML:{__html:"#react-content { height: 100%; background-color: #fff }"}}))};var o=r(n(67294)),i=n(50168)},40261:(e,t,n)=>{var r=n(13655);e.exports={locale:"zh-CN",data:r,messages:{"app.header.search":"全文本搜索...","app.header.menu.home":"首页","app.header.menu.components":"组件","app.header.menu.support":"支持我们","app.header.menu.design":"规范","app.header.menu.web":"Web 组件","app.header.menu.pc":"桌面版","app.header.lang":"EN","app.home.slogan":"移动端设计规范","app.home.epitomize":"一个基于 React Native 的 UI 组件库","app.home.centerStart":"开始探索","app.home.qrtip":"扫描演示","app.home.s2_title":"懂你所需","app.home.s2_des1":"组件丰富 | 功能全面","app.home.s2_des10":"提供了 40+ 基础组件、覆盖各类场景,组件特性丰富、满足各种功能需求。","app.home.s2_des2":"一步上手 | 按需加载","app.home.s2_des20":"上手足够简单,既可以一次加载所有代码、也可以只加载用到的某几个组件的代码、避免冗余。","app.home.s2_des3":"体积小巧 | 性能出众","app.home.s2_des30":"在不损失功能的基础上,尽量保证了单个组件的体积最小、性能最优。","app.home.s2_des4":"简易定制 | 多种风格","app.home.s2_des40":"支持灵活的样式定制,简易生成多种风格,满足个性化产品需求。","app.home.s3_title":"Sketch UI Kit","app.home.s3_des":"我们为您提供丰富的 Sketch symbol 化的组件资源库,你可以使用资源库快速设计应用程序。","app.home.s3_btn":"立即下载","app.home.s4_title":"谁在使用","app.footer.links":"相关站点","app.footer.motion":"设计动效","app.footer.antux":"页面逻辑素材","app.footer.antd-library":"Axure library","app.footer.community":"社区","app.footer.discuss":"在线讨论","app.footer.bug-report":"报告 Bug","app.footer.more-product":"蚂蚁体验云","app.footer.ant-design":"蚂蚁 UI 体系","app.footer.data-vis":"数据可视化","app.footer.eggjs":"企业级 Node 开发框架","app.footer.privacy":"隐私权政策","app.footer.commitment":"权益保障承诺书","app.footer.company":"蚂蚁金融服务集团","app.footer.author":"蚂蚁金服体验技术部 & 口碑终端技术部出品","app.ComponentDoc.codeTitle":"代码演示","app.ComponentDoc.codeQrcode":"扫二维码查看演示效果","app.ComponentDoc.codeExpand":"展开全部代码","app.ComponentDoc.Modal.return":"返 回","app.demo.copy":"复制代码","app.demo.copied":"复制成功","app.demo.codepen":"在 CodePen 中打开","app.demo.riddle":"在 Riddle 中打开"}}},72850:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getMenuItems=function(e,t){var n=e.map((function(e){return e.meta})),r={};return n.sort((function(e,t){return(e.order||0)-(t.order||0)})).forEach((function(e){var n=e.category&&e.category[t]||e.category||"topLevel";r[n]||(r[n]={});var o=e.type||"topLevel";r[n][o]||(r[n][o]=[]),r[n][o].push(e)})),r},t.isZhCN=function(e){return/-cn\/?$/.test(e)},t.getLocalizedPathname=function(e,t){var n=e.startsWith("/")?e:"/".concat(e);if(!t)return/\/?index-cn/.test(n)?"/":n.replace("-cn","");if("/"===n)return"/index-cn";if(n.endsWith("/"))return n.replace(/\/$/,"-cn/");return"".concat(n,"-cn")},t.ping=function(e){var t,n=new Image,r=function(r){t||(t=!0,n.src="",e(r))};return n.onload=function(){return r("responded")},n.onerror=function(){return r("error")},n.src="https://private-alipayobjects.alipay.com/alipay-rmsdeploy-image/rmsportal/RKuAiriJqrUhyqW.png",setTimeout((function(){return r("timeout")}),1500)},t.isLocalStorageNameSupported=function(){var e=window.localStorage;try{return e.setItem("test","1"),e.removeItem("test"),!0}catch(e){return!1}},t.collectDocs=function(e){var t=window.localStorage&&"en-US"!==localStorage.getItem("locale")?"zh-CN":"en-US";return Object.keys(e).map((function(t){return e[t]})).map((function(e){return"function"!=typeof e?e[t]||e.index[t]||e.index:e})).map((function(e){return e()}))},t.getQuery=function(e){var t=window.location.search.replace(/^\?/,"").split("&").filter((function(e){return e})).map((function(e){return e.split("=")})).find((function(t){return t[0]&&t[0]===e}));return t&&t[1]},t.injectPreactDevtool=function(){0}},27467:(e,t,n)=>{"use strict";n.r(t)},4960:(e,t,n)=>{"use strict";n.r(t)},17874:(e,t,n)=>{"use strict";n.r(t)},99837:(e,t,n)=>{"use strict";n.r(t)},82275:(e,t,n)=>{"use strict";n.r(t)},22973:(e,t,n)=>{"use strict";n.r(t)},66659:(e,t,n)=>{"use strict";n.r(t)},2209:(e,t,n)=>{"use strict";n.r(t)},65630:(e,t,n)=>{"use strict";n.r(t)},90594:(e,t,n)=>{"use strict";n.r(t)},34461:(e,t,n)=>{"use strict";n.r(t)},17038:(e,t,n)=>{"use strict";n.r(t)},52027:(e,t,n)=>{"use strict";n.r(t)},88468:(e,t,n)=>{"use strict";n.r(t)},133:(e,t,n)=>{"use strict";n.r(t)},45449:(e,t,n)=>{"use strict";n.r(t)},72874:(e,t,n)=>{"use strict";n.r(t)},56420:(e,t,n)=>{"use strict";n.r(t)},81021:(e,t,n)=>{"use strict";n.r(t)},77936:(e,t,n)=>{"use strict";n.r(t)},58760:(e,t,n)=>{"use strict";n.r(t)},50168:(e,t,n)=>{"use strict";var r=n(61409);e.exports=r},43764:(e,t,n)=>{"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",i=n(8533)("./template".concat(t.replace(/^\.\/template/,"")));return function(t,n){var a=h(r,t.params),l=u.get(e.markdown,a.replace(/^\//,"").split("/")),s=v(e,t),c=(i.default||i).collector||m,f=t.location.pathname,y=o(o({},t),{},{themeConfig:d,data:e.markdown,picked:e.picked,pageData:l,utils:s});c(y).then((function(e){try{var t=i.default||i;t[f]=o(o({},y),e),n(null,t)}catch(e){console.error(e)}})).catch((function(e){var t=p.default||p;t[f]=y,n(404===e?null:e,t)}))}}var r=JSON.parse('{"path":"/","component":"./template/Layout/index","indexRoute":{"component":"./template/Home/index"},"childRoutes":[{"path":"index-cn","component":"./template/Home/index"},{"path":"/docs/practice/:children","component":"./template/Content/index"},{"path":"/docs/pattern/:children","component":"./template/Content/index"},{"path":"/docs/react/:children","component":"./template/Content/index"},{"path":"/docs/blog/:children","component":"./template/Content/index"},{"path":"changelog","component":"./template/Content/index"},{"path":"changelog-cn","component":"./template/Content/index"},{"path":"/components/:children","component":"./template/Content/index"}]}');var i=function e(n){return Array.isArray(n)?n.map(e):Object.assign({},n,{onEnter:function(){"undefined"!=typeof document&&f.start()},component:void 0,getComponent:t(n.component,n.dataPath||n.path),indexRoute:n.indexRoute&&Object.assign({},n.indexRoute,{component:void 0,getComponent:t(n.indexRoute.component,n.indexRoute.dataPath||n.indexRoute.path)}),childRoutes:n.childRoutes&&n.childRoutes.map(e)})}(Array.isArray(r)?r:[r]);return i.push({path:"*",getComponents:t("./template/NotFound")}),i}},94184:(e,t)=>{var n; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see @@ -57,4 +57,4 @@ object-assign * * Copyright © 2012-2021 Faisal Salman * Licensed under MIT License - */!function(o,i){"use strict";var a="model",l="name",s="type",c="vendor",u="version",f="mobile",p="tablet",d="smarttv",h={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(e,t){return e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),void 0===t?e:e.substring(0,255)}},v={rgx:function(e,t){for(var n,r,o,i,a,l,s=0;s0?2==i.length?"function"==typeof i[1]?this[i[0]]=i[1].call(this,l):this[i[0]]=i[1]:3==i.length?"function"!=typeof i[1]||i[1].exec&&i[1].test?this[i[0]]=l?l.replace(i[1],i[2]):void 0:this[i[0]]=l?i[1].call(this,l,i[2]):void 0:4==i.length&&(this[i[0]]=l?i[3].call(this,l.replace(i[1],i[2])):void 0):this[i]=l||void 0;s+=2}},str:function(e,t){for(var n in t)if("object"==typeof t[n]&&t[n].length>0){for(var r=0;r255?h.trim(e,255):e,this},this.setUA(n),this};g.VERSION="0.7.28",g.BROWSER={NAME:l,MAJOR:"major",VERSION:u},g.CPU={ARCHITECTURE:"architecture"},g.DEVICE={MODEL:a,VENDOR:c,TYPE:s,CONSOLE:"console",MOBILE:f,SMARTTV:d,TABLET:p,WEARABLE:"wearable",EMBEDDED:"embedded"},g.ENGINE={NAME:l,VERSION:u},g.OS={NAME:l,VERSION:u},void 0!==t?(e.exports&&(t=e.exports=g),t.UAParser=g):void 0===(r=function(){return g}.call(t,n,t,e))||(e.exports=r);var b=void 0!==o&&(o.jQuery||o.Zepto);if(b&&!b.ua){var w=new g;b.ua=w.getResult(),b.ua.get=function(){return w.getUA()},b.ua.set=function(e){w.setUA(e);var t=w.getResult();for(var n in t)b.ua[n]=t[n]}}}("object"==typeof window?window:this)},42473:e=>{"use strict";var t=function(){};e.exports=t},60306:e=>{"use strict";e.exports=JSON.parse('{"name":"@ant-design/react-native","version":"5.3.0","description":"基于蚂蚁金服移动设计规范的 React Native 组件库","keywords":["ant","design","react","react-component","component","components","ui","framework","frontend","mobile","react native"],"repository":{"type":"git","url":"http://github.com/ant-design/ant-design-mobile-rn"},"bugs":{"url":"http://github.com/ant-design/ant-design-mobile-rn/issues"},"files":["lib","es"],"license":"MIT","main":"lib/index.js","module":"es/index.js","dependencies":{"@bang88/react-native-ultimate-listview":"^4.1.1","@floating-ui/react-native":"^0.10.6","@rc-component/mini-decimal":"^1.1.0","babel-runtime":"^6.x","classnames":"^2.2.1","dayjs":"^1.11.7","lodash.assignwith":"^4.2.0","normalize-css-color":"^1.0.2","rc-field-form":"^2.0.0","rc-util":"^5.39.1","react-native-codegen":"^0.0.7","react-native-collapsible":"^1.6.0","react-native-modal-popover":"^2.0.1","utility-types":"^3.10.0"},"devDependencies":{"@ant-design/icons-react-native":"2.3.2","@ant-design/tools":"^17.3.0","@babel/core":"^7.12.9","@babel/runtime":"^7.12.5","@react-native-community/eslint-config":"^2.0.0","@react-navigation/native":"^6.1.1","@react-navigation/stack":"^6.3.10","@testing-library/jest-native":"^4.0.1","@testing-library/react-native":"^7.2.0","@types/jest":"^26.0.23","@types/lodash.mergewith":"^4.6.9","@types/prop-types":"^15.7.3","@types/react":"^17.0.9","@types/react-native":"^0.64.10","@typescript-eslint/parser":"^4.26.1","ant-design-palettes":"^1.1.3","antd":"3.11.1","antd-mobile-demo-data":"^0.2.0","babel-eslint":"^10.1.0","babel-jest":"^26.6.3","bisheng":"^3.1.0-beta.4","concurrently":"^4.0.1","cross-env":"^7.0.3","enquire.js":"^2.1.1","eslint":"^7.28.0","glob":"^7.1.1","jest":"^26.6.3","jsonml.js":"^0.1.0","lint-staged":"^8.0.4","lodash.mergewith":"^4.6.2","metro-react-native-babel-preset":"^0.66.0","mockdate":"^2.0.1","pre-commit":"1.x","react":"17.0.2","react-copy-to-clipboard":"^5.0.0","react-document-title":"^2.0.1","react-dom":"17.0.2","react-github-button":"^0.1.9","react-intl":"^2.2.3","react-native":"0.64.2","react-native-gesture-handler":"~2.14.0","react-native-mocker":"^0.0.12","react-native-reanimated":"~3.10.1","react-native-safe-area-context":"4.2.4","react-native-screens":"^3.14.1","react-native-web":"^0.17.6","react-test-renderer":"17.0.2","shell-utils":"^1.0.10","ts-jest":"26.5.6","tslint":"^6.1.3","typescript":"~5.6.2"},"peerDependencies":{"@ant-design/icons-react-native":">= 2.3.2","react":">=17.0.1","react-native":">=0.64.1","react-native-gesture-handler":">=2.14.0","react-native-reanimated":">=3.10.1"},"scripts":{"lint":"npm run tslint && npm run srclint && npm run applint","srclint":"eslint site scripts --ext \'.js,.jsx\' --fix","tslint":"eslint components --fix && npm run compile && rm -rf lib","applint":"eslint rn-kitchen-sink --ext \'.js\' --fix","pre-publish":"npm run test:all","prepublish":"antd-tools run guard","prepare":"antd-tools run guard","prepublishOnly":"antd-tools run guard","test":"jest --config .jest.config.js","test:all":"./scripts/test-all.sh","compile":"cross-env BABEL_ENV=dist antd-tools run compile","watch-tsc":"tsc --watch","clean":"antd-tools run clean","start":"cross-env NODE_ENV=development cross-env DEMO_ENV=react bisheng start -c ./site/bisheng.desktop.config.js","site":"cross-env NODE_ENV=production cross-env DEMO_ENV=react bisheng build -c ./site/bisheng.desktop.config.js && cp CNAME _site","deploy":"npm run clean && npm run site && bisheng gh-pages --push-only","pub":"cross-env BABEL_ENV=dist antd-tools run pub","rn-start":"node scripts/start.js","ios":"concurrently \\"npm run watch-tsc\\" \\"npm run _ios\\"","android":"concurrently \\"npm run watch-tsc\\" \\"npm run _android\\"","_ios":"npx react-native run-ios --project-path rn-kitchen-sink/ios --scheme KitchenSink","_android":"react-native run-android","lint-staged":"lint-staged","lint-staged:ts":"npm run tsc && eslint components/**/*.tsx","lint-staged:es":"eslint ./.eslintrc.js","tsc":"antd-tools run tsc"},"lint-staged":{"components/**/*.tsx":["npm run lint-staged:ts"],"{tests,site,scripts,components}/**/*.{js,jsx}":["npm run lint-staged:es"]},"typings":"lib/index.d.ts","pre-commit":["lint-staged"],"resolutions":{"graceful-fs":"^4.2.4"}}')},8533:(e,t,n)=>{var r={"./template/Content":55310,"./template/Content/":55310,"./template/Content/Article":22909,"./template/Content/Article.jsx":22909,"./template/Content/ComponentDoc":72764,"./template/Content/ComponentDoc.jsx":72764,"./template/Content/Demo":73351,"./template/Content/Demo.jsx":73351,"./template/Content/MainContent":73407,"./template/Content/MainContent.jsx":73407,"./template/Content/Sandbox":19907,"./template/Content/Sandbox.jsx":19907,"./template/Content/index":55310,"./template/Content/index.jsx":55310,"./template/Home":71224,"./template/Home/":71224,"./template/Home/index":71224,"./template/Home/index.jsx":71224,"./template/Layout":64611,"./template/Layout/":64611,"./template/Layout/Footer":46719,"./template/Layout/Footer.jsx":46719,"./template/Layout/Header":35647,"./template/Layout/Header.jsx":35647,"./template/Layout/index":64611,"./template/Layout/index.jsx":64611,"./template/NotFound":17674,"./template/NotFound.jsx":17674};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=8533},98374:()=>{},25353:()=>{},7116:()=>{}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,loaded:!1,exports:{}};return r[e].call(n.exports,n,n.exports,i),n.loaded=!0,n.exports}i.m=r,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);i.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var l=2&r&&n;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach(e=>a[e]=()=>n[e]);return a.default=()=>n,i.d(o,a),o},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce((t,n)=>(i.f[n](e,t),t),[])),i.u=e=>({55:"components/tab-bar/index.zh-CN.md",279:"components/card/index.zh-CN.md",282:"components/activity-indicator/index.en-US.md",342:"components/tooltip/demo",353:"components/date-picker/index.zh-CN.md",440:"components/tooltip/index.en-US.md",464:"components/icon/index.en-US.md",525:"components/action-sheet/index.en-US.md",558:"components/notice-bar/index.en-US.md",708:"components/action-sheet/index.zh-CN.md",712:"components/provider/demo",820:"components/segmented-control/index.zh-CN.md",851:"components/view/index.en-US.md",965:"components/tabs/demo",1067:"components/tag/demo",1171:"components/carousel/demo",1221:"components/tooltip/index.zh-CN.md",1270:"components/input-item/index.zh-CN.md",1321:"components/tab-bar/index.en-US.md",1498:"components/stepper/index.zh-CN.md",1504:"components/collapse/index.zh-CN.md",1567:"components/carousel/index.en-US.md",1697:"components/activity-indicator/index.zh-CN.md",1827:"components/form/index.zh-CN.md",1869:"components/drawer/index.zh-CN.md",1905:"components/portal/README.md",1973:"docs/react/introduce.zh-CN.md",2246:"components/image-picker/index.zh-CN.md",2364:"components/modal/index.zh-CN.md",2583:"components/picker/index.zh-CN.md",2611:"components/flex/demo",2635:"components/white-space/index.zh-CN.md",2688:"components/accordion/index.zh-CN.md",2694:"components/checkbox/index.en-US.md",2757:"components/stepper/index.en-US.md",2808:"components/provider/index.zh-CN.md",2810:"components/list/index.en-US.md",2813:"components/provider/index.en-US.md",2925:"components/date-picker-view/demo",2943:"components/input-item/index.en-US.md",3031:"components/slider/index.zh-CN.md",3062:"docs/react/introduce.en-US.md",3115:"components/icon/demo",3137:"components/button/index.en-US.md",3208:"components/date-picker-view/index.zh-CN.md",3410:"docs/react/upgrade-notes.zh-CN.md",3478:"components/popover/index.en-US.md",3515:"components/switch/index.zh-CN.md",3540:"components/button/demo",3639:"components/search-bar/index.en-US.md",3661:"components/textarea-item/index.zh-CN.md",3675:"components/picker/index.en-US.md",3749:"components/list/demo",3769:"components/picker-view/demo",3825:"components/picker/demo",3852:"components/grid/index.en-US.md",4054:"components/accordion/index.en-US.md",4063:"components/list/index.zh-CN.md",4098:"docs/react/upgrade-notes.en-US.md",4104:"components/toast/demo",4122:"components/notice-bar/index.zh-CN.md",4194:"docs/react/support.en-US.md",4238:"components/pagination/index.zh-CN.md",4385:"CHANGELOG.zh-CN.md",4583:"components/accordion/demo",4613:"components/form/index.en-US.md",4639:"components/collapse/demo",4643:"components/tag/index.en-US.md",4656:"components/tabs/index.zh-CN.md",4764:"components/switch/demo",4785:"components/progress/demo",4833:"components/view/index.zh-CN.md",4846:"components/carousel/index.zh-CN.md",4917:"docs/react/support.zh-CN.md",4936:"components/textarea-item/index.en-US.md",4958:"components/drawer/demo",5006:"components/steps/index.zh-CN.md",5175:"components/notice-bar/demo",5219:"components/segmented-control/index.en-US.md",5260:"components/search-bar/index.zh-CN.md",5417:"components/steps/demo",5466:"components/checkbox/demo",5528:"components/input/demo",5680:"components/wing-blank/demo",5701:"components/drawer/index.en-US.md",5903:"components/grid/demo",6009:"components/date-picker-view/index.en-US.md",6218:"components/slider/index.en-US.md",6239:"components/radio/index.en-US.md",6271:"components/swipe-action/index.en-US.md",6293:"components/action-sheet/demo",6425:"components/modal/demo",6481:"components/white-space/demo",6610:"components/image-picker/index.en-US.md",6646:"components/stepper/demo",6651:"components/list-view/index.zh-CN.md",6735:"components/progress/index.en-US.md",6930:"components/progress/index.zh-CN.md",6953:"components/input/index.zh-CN.md",7012:"components/collapse/index.en-US.md",7046:"components/grid/index.zh-CN.md",7065:"docs/blog/what-is-styles.zh-CN.md",7208:"components/button/index.zh-CN.md",7297:"components/popover/demo",7351:"components/toast/index.en-US.md",7420:"docs/blog/what-is-styles.en-US.md",7438:"components/card/demo",7492:"components/textarea-item/demo",7592:"components/picker-view/index.zh-CN.md",7630:"components/input-item/demo",7873:"components/result/demo",7896:"components/result/index.zh-CN.md",7934:"components/flex/index.en-US.md",7940:"components/slider/demo",8006:"components/radio/demo",8007:"components/wing-blank/index.en-US.md",8054:"components/checkbox/index.zh-CN.md",8110:"components/switch/index.en-US.md",8277:"components/badge/demo",8394:"components/tag/index.zh-CN.md",8470:"components/date-picker/demo",8518:"components/swipe-action/demo",8540:"components/wing-blank/index.zh-CN.md",8600:"CHANGELOG.en-US.md",8652:"components/activity-indicator/demo",8665:"components/view/demo",8755:"components/flex/index.zh-CN.md",8777:"components/steps/index.en-US.md",8779:"components/search-bar/demo",8873:"components/form/demo",9097:"components/pagination/index.en-US.md",9277:"components/list-view/demo",9290:"components/date-picker/index.en-US.md",9307:"components/result/index.en-US.md",9341:"components/pagination/demo",9354:"components/input/index.en-US.md",9360:"components/tabs/index.en-US.md",9375:"components/list-view/index.en-US.md",9418:"components/icon/index.zh-CN.md",9420:"components/tab-bar/demo",9436:"components/modal/index.en-US.md",9438:"components/badge/index.zh-CN.md",9586:"components/picker-view/index.en-US.md",9635:"components/white-space/index.en-US.md",9667:"components/toast/index.zh-CN.md",9685:"components/radio/index.zh-CN.md",9787:"components/card/index.en-US.md",9892:"components/badge/index.en-US.md",9931:"components/swipe-action/index.zh-CN.md",9966:"components/popover/index.zh-CN.md"}[e]+"."+{55:"9fae62",279:"a43ef8",282:"604124",342:"8684be",353:"3068cc",440:"36731c",464:"5bd3d3",525:"b5d8de",558:"f5b03c",708:"f30516",712:"296a8e",820:"13f287",851:"cef23d",965:"1f00df",1067:"8ddf4b",1171:"552739",1221:"cc7ea0",1270:"8f99b8",1321:"10e0ba",1498:"3c9061",1504:"22ef02",1567:"e0b01c",1697:"8cb07a",1827:"987a42",1869:"9fd524",1905:"61ebea",1973:"5bd830",2246:"6a8857",2364:"c4dd98",2583:"ba12fd",2611:"aca392",2635:"500a6d",2688:"3b219d",2694:"f60577",2757:"6d26be",2808:"aeb274",2810:"855614",2813:"ae3024",2925:"056fea",2943:"3b3af8",3031:"173920",3062:"0fcfca",3115:"edde19",3137:"dc81ae",3208:"73fe28",3410:"92e0ee",3478:"f3c347",3515:"b3575d",3540:"ff1d00",3639:"73d916",3661:"22d12b",3675:"ccfc76",3749:"1633a5",3769:"eef0a6",3825:"0686e9",3852:"f8b93d",4054:"d2efc4",4063:"fdb645",4098:"1cb6f9",4104:"752163",4122:"5b351e",4194:"217514",4238:"ee40da",4385:"e45b79",4583:"61457c",4613:"ffd5ee",4639:"5bc81d",4643:"97d01e",4656:"e4b4a7",4764:"d2f487",4785:"fe6785",4833:"7ec3e5",4846:"a31df5",4917:"5ee079",4936:"27b7b2",4958:"c3bb62",5006:"c03bed",5175:"cf0e1f",5219:"142444",5260:"f73958",5417:"2d74f1",5466:"04db8a",5528:"3fce1d",5680:"6b8580",5701:"06727d",5903:"448886",6009:"2176f9",6218:"a18581",6239:"b02bf5",6271:"b36ada",6293:"88412b",6425:"9b7b18",6481:"fc45bd",6610:"2f1c88",6646:"8c1e39",6651:"eb9183",6735:"257327",6930:"f3fc19",6953:"1d28f0",7012:"677acc",7046:"93813b",7065:"b8eaa0",7208:"67a29e",7297:"964789",7351:"4b3961",7420:"360856",7438:"0fc4f4",7492:"8f1aa8",7592:"5efa6c",7630:"33a584",7873:"f9c6b3",7896:"cfd707",7934:"76cf35",7940:"a32ddd",8006:"5229c7",8007:"8e234b",8054:"7c2344",8110:"a23502",8277:"1150ee",8394:"dba83f",8470:"ef9db9",8518:"703881",8540:"488b7d",8600:"6edf2e",8652:"8e5eba",8665:"67cd5e",8755:"35b848",8777:"4da26f",8779:"5afc76",8873:"6467cc",9097:"ce5601",9277:"9a0cca",9290:"c2e4cb",9307:"fbff8a",9341:"cbf5b5",9354:"30792d",9360:"dd01ee",9375:"c5f4d4",9418:"1d2496",9420:"b6611c",9436:"b6bc0c",9438:"392cce",9586:"020cd4",9635:"19ffb5",9667:"346adb",9685:"7717e6",9787:"231525",9892:"71285d",9931:"85415c",9966:"ad7d7d"}[e]+".js"),i.miniCssF=e=>{},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},i.l=(e,t,r,o)=>{if(n[e])n[e].push(t);else{var a,l;if(void 0!==r)for(var s=document.getElementsByTagName("script"),c=0;c{a.onerror=a.onload=null,clearTimeout(p);var o=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(e=>e(r)),t)return t(r)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),l&&document.head.appendChild(a)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.p="/",(()=>{var e={4826:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((n,o)=>r=e[t]=[n,o]);n.push(r[2]=o);var a=i.p+i.u(t),l=new Error;i.l(a,n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;l.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",l.name="ChunkLoadError",l.type=o,l.request=a,r[1](l)}},"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[a,l,s]=n,c=0;for(r in l)i.o(l,r)&&(i.m[r]=l[r]);if(s)s(i);for(t&&t(n);c{"use strict";i(26981),i(77936);var e=i(67294),t=i(73935),n=i(61409),r=i(1488),o=i(32049),a=i(76031),l=i(43764)(o),s=window.location,c=s.pathname,u=s.search,f=s.hash,p="".concat(c).concat(u).concat(f);n.match({routes:l,location:p,basename:"/"},(function(){var o=e.createElement(n.Router,{history:n.useRouterHistory(r.createHistory)({basename:"/"}),routes:l,createElement:a});t.render(o,document.getElementById("react-content"))}))})()})(); \ No newline at end of file + */!function(o,i){"use strict";var a="model",l="name",s="type",c="vendor",u="version",f="mobile",p="tablet",d="smarttv",h={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(e,t){return e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),void 0===t?e:e.substring(0,255)}},v={rgx:function(e,t){for(var n,r,o,i,a,l,s=0;s0?2==i.length?"function"==typeof i[1]?this[i[0]]=i[1].call(this,l):this[i[0]]=i[1]:3==i.length?"function"!=typeof i[1]||i[1].exec&&i[1].test?this[i[0]]=l?l.replace(i[1],i[2]):void 0:this[i[0]]=l?i[1].call(this,l,i[2]):void 0:4==i.length&&(this[i[0]]=l?i[3].call(this,l.replace(i[1],i[2])):void 0):this[i]=l||void 0;s+=2}},str:function(e,t){for(var n in t)if("object"==typeof t[n]&&t[n].length>0){for(var r=0;r255?h.trim(e,255):e,this},this.setUA(n),this};g.VERSION="0.7.28",g.BROWSER={NAME:l,MAJOR:"major",VERSION:u},g.CPU={ARCHITECTURE:"architecture"},g.DEVICE={MODEL:a,VENDOR:c,TYPE:s,CONSOLE:"console",MOBILE:f,SMARTTV:d,TABLET:p,WEARABLE:"wearable",EMBEDDED:"embedded"},g.ENGINE={NAME:l,VERSION:u},g.OS={NAME:l,VERSION:u},void 0!==t?(e.exports&&(t=e.exports=g),t.UAParser=g):void 0===(r=function(){return g}.call(t,n,t,e))||(e.exports=r);var b=void 0!==o&&(o.jQuery||o.Zepto);if(b&&!b.ua){var w=new g;b.ua=w.getResult(),b.ua.get=function(){return w.getUA()},b.ua.set=function(e){w.setUA(e);var t=w.getResult();for(var n in t)b.ua[n]=t[n]}}}("object"==typeof window?window:this)},42473:e=>{"use strict";var t=function(){};e.exports=t},60306:e=>{"use strict";e.exports=JSON.parse('{"name":"@ant-design/react-native","version":"5.3.0","description":"基于蚂蚁金服移动设计规范的 React Native 组件库","keywords":["ant","design","react","react-component","component","components","ui","framework","frontend","mobile","react native"],"repository":{"type":"git","url":"http://github.com/ant-design/ant-design-mobile-rn"},"bugs":{"url":"http://github.com/ant-design/ant-design-mobile-rn/issues"},"files":["lib","es"],"license":"MIT","main":"lib/index.js","module":"es/index.js","dependencies":{"@bang88/react-native-ultimate-listview":"^4.1.1","@floating-ui/react-native":"^0.10.6","@rc-component/mini-decimal":"^1.1.0","babel-runtime":"^6.x","classnames":"^2.2.1","dayjs":"^1.11.7","lodash.assignwith":"^4.2.0","normalize-css-color":"^1.0.2","rc-field-form":"^2.0.0","rc-util":"^5.39.1","react-native-codegen":"^0.0.7","react-native-collapsible":"^1.6.0","react-native-modal-popover":"^2.0.1","utility-types":"^3.10.0"},"devDependencies":{"@ant-design/icons-react-native":"2.3.2","@ant-design/tools":"^17.3.0","@babel/core":"^7.12.9","@babel/runtime":"^7.12.5","@react-native-community/eslint-config":"^2.0.0","@react-navigation/native":"^6.1.1","@react-navigation/stack":"^6.3.10","@testing-library/jest-native":"^4.0.1","@testing-library/react-native":"^7.2.0","@types/jest":"^26.0.23","@types/lodash.mergewith":"^4.6.9","@types/prop-types":"^15.7.3","@types/react":"^17.0.9","@types/react-native":"^0.64.10","@typescript-eslint/parser":"^4.26.1","ant-design-palettes":"^1.1.3","antd":"3.11.1","antd-mobile-demo-data":"^0.2.0","babel-eslint":"^10.1.0","babel-jest":"^26.6.3","bisheng":"^3.1.0-beta.4","concurrently":"^4.0.1","cross-env":"^7.0.3","enquire.js":"^2.1.1","eslint":"^7.28.0","glob":"^7.1.1","jest":"^26.6.3","jsonml.js":"^0.1.0","lint-staged":"^8.0.4","lodash.mergewith":"^4.6.2","metro-react-native-babel-preset":"^0.66.0","mockdate":"^2.0.1","pre-commit":"1.x","react":"17.0.2","react-copy-to-clipboard":"^5.0.0","react-document-title":"^2.0.1","react-dom":"17.0.2","react-github-button":"^0.1.9","react-intl":"^2.2.3","react-native":"0.64.2","react-native-gesture-handler":"~2.14.0","react-native-mocker":"^0.0.12","react-native-reanimated":"~3.10.1","react-native-safe-area-context":"4.2.4","react-native-screens":"^3.14.1","react-native-web":"^0.17.6","react-test-renderer":"17.0.2","shell-utils":"^1.0.10","ts-jest":"26.5.6","tslint":"^6.1.3","typescript":"~5.6.2"},"peerDependencies":{"@ant-design/icons-react-native":">= 2.3.2","react":">=17.0.1","react-native":">=0.64.1","react-native-gesture-handler":">=2.14.0","react-native-reanimated":">=3.10.1"},"scripts":{"lint":"npm run tslint && npm run srclint && npm run applint","srclint":"eslint site scripts --ext \'.js,.jsx\' --fix","tslint":"eslint components --fix && npm run compile && rm -rf lib","applint":"eslint rn-kitchen-sink --ext \'.js\' --fix","pre-publish":"npm run test:all","prepublish":"antd-tools run guard","prepare":"antd-tools run guard","prepublishOnly":"antd-tools run guard","test":"jest --config .jest.config.js","test:all":"./scripts/test-all.sh","compile":"cross-env BABEL_ENV=dist antd-tools run compile","watch-tsc":"tsc --watch","clean":"antd-tools run clean","start":"cross-env NODE_ENV=development cross-env DEMO_ENV=react bisheng start -c ./site/bisheng.desktop.config.js","site":"cross-env NODE_ENV=production cross-env DEMO_ENV=react bisheng build -c ./site/bisheng.desktop.config.js && cp CNAME _site","deploy":"npm run clean && npm run site && bisheng gh-pages --push-only","pub":"cross-env BABEL_ENV=dist antd-tools run pub","rn-start":"node scripts/start.js","ios":"concurrently \\"npm run watch-tsc\\" \\"npm run _ios\\"","android":"concurrently \\"npm run watch-tsc\\" \\"npm run _android\\"","_ios":"npx react-native run-ios --project-path rn-kitchen-sink/ios --scheme KitchenSink","_android":"react-native run-android","lint-staged":"lint-staged","lint-staged:ts":"npm run tsc && eslint components/**/*.tsx","lint-staged:es":"eslint ./.eslintrc.js","tsc":"antd-tools run tsc"},"lint-staged":{"components/**/*.tsx":["npm run lint-staged:ts"],"{tests,site,scripts,components}/**/*.{js,jsx}":["npm run lint-staged:es"]},"typings":"lib/index.d.ts","pre-commit":["lint-staged"],"resolutions":{"graceful-fs":"^4.2.4"}}')},8533:(e,t,n)=>{var r={"./template/Content":55310,"./template/Content/":55310,"./template/Content/Article":22909,"./template/Content/Article.jsx":22909,"./template/Content/ComponentDoc":72764,"./template/Content/ComponentDoc.jsx":72764,"./template/Content/Demo":73351,"./template/Content/Demo.jsx":73351,"./template/Content/MainContent":73407,"./template/Content/MainContent.jsx":73407,"./template/Content/Sandbox":19907,"./template/Content/Sandbox.jsx":19907,"./template/Content/index":55310,"./template/Content/index.jsx":55310,"./template/Home":71224,"./template/Home/":71224,"./template/Home/index":71224,"./template/Home/index.jsx":71224,"./template/Layout":64611,"./template/Layout/":64611,"./template/Layout/Footer":46719,"./template/Layout/Footer.jsx":46719,"./template/Layout/Header":35647,"./template/Layout/Header.jsx":35647,"./template/Layout/index":64611,"./template/Layout/index.jsx":64611,"./template/NotFound":17674,"./template/NotFound.jsx":17674};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=8533},98374:()=>{},25353:()=>{},7116:()=>{}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,loaded:!1,exports:{}};return r[e].call(n.exports,n,n.exports,i),n.loaded=!0,n.exports}i.m=r,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);i.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var l=2&r&&n;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach(e=>a[e]=()=>n[e]);return a.default=()=>n,i.d(o,a),o},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce((t,n)=>(i.f[n](e,t),t),[])),i.u=e=>({55:"components/tab-bar/index.zh-CN.md",279:"components/card/index.zh-CN.md",282:"components/activity-indicator/index.en-US.md",342:"components/tooltip/demo",353:"components/date-picker/index.zh-CN.md",440:"components/tooltip/index.en-US.md",464:"components/icon/index.en-US.md",525:"components/action-sheet/index.en-US.md",558:"components/notice-bar/index.en-US.md",708:"components/action-sheet/index.zh-CN.md",712:"components/provider/demo",820:"components/segmented-control/index.zh-CN.md",851:"components/view/index.en-US.md",965:"components/tabs/demo",1067:"components/tag/demo",1171:"components/carousel/demo",1221:"components/tooltip/index.zh-CN.md",1270:"components/input-item/index.zh-CN.md",1321:"components/tab-bar/index.en-US.md",1498:"components/stepper/index.zh-CN.md",1504:"components/collapse/index.zh-CN.md",1567:"components/carousel/index.en-US.md",1697:"components/activity-indicator/index.zh-CN.md",1827:"components/form/index.zh-CN.md",1869:"components/drawer/index.zh-CN.md",1905:"components/portal/README.md",1973:"docs/react/introduce.zh-CN.md",2246:"components/image-picker/index.zh-CN.md",2364:"components/modal/index.zh-CN.md",2583:"components/picker/index.zh-CN.md",2611:"components/flex/demo",2635:"components/white-space/index.zh-CN.md",2688:"components/accordion/index.zh-CN.md",2694:"components/checkbox/index.en-US.md",2757:"components/stepper/index.en-US.md",2808:"components/provider/index.zh-CN.md",2810:"components/list/index.en-US.md",2813:"components/provider/index.en-US.md",2925:"components/date-picker-view/demo",2943:"components/input-item/index.en-US.md",3031:"components/slider/index.zh-CN.md",3062:"docs/react/introduce.en-US.md",3115:"components/icon/demo",3137:"components/button/index.en-US.md",3208:"components/date-picker-view/index.zh-CN.md",3410:"docs/react/upgrade-notes.zh-CN.md",3478:"components/popover/index.en-US.md",3515:"components/switch/index.zh-CN.md",3540:"components/button/demo",3639:"components/search-bar/index.en-US.md",3661:"components/textarea-item/index.zh-CN.md",3675:"components/picker/index.en-US.md",3749:"components/list/demo",3769:"components/picker-view/demo",3825:"components/picker/demo",3852:"components/grid/index.en-US.md",4054:"components/accordion/index.en-US.md",4063:"components/list/index.zh-CN.md",4098:"docs/react/upgrade-notes.en-US.md",4104:"components/toast/demo",4122:"components/notice-bar/index.zh-CN.md",4194:"docs/react/support.en-US.md",4238:"components/pagination/index.zh-CN.md",4385:"CHANGELOG.zh-CN.md",4583:"components/accordion/demo",4613:"components/form/index.en-US.md",4639:"components/collapse/demo",4643:"components/tag/index.en-US.md",4656:"components/tabs/index.zh-CN.md",4764:"components/switch/demo",4785:"components/progress/demo",4833:"components/view/index.zh-CN.md",4846:"components/carousel/index.zh-CN.md",4917:"docs/react/support.zh-CN.md",4936:"components/textarea-item/index.en-US.md",4958:"components/drawer/demo",5006:"components/steps/index.zh-CN.md",5175:"components/notice-bar/demo",5219:"components/segmented-control/index.en-US.md",5260:"components/search-bar/index.zh-CN.md",5417:"components/steps/demo",5466:"components/checkbox/demo",5528:"components/input/demo",5680:"components/wing-blank/demo",5701:"components/drawer/index.en-US.md",5903:"components/grid/demo",6009:"components/date-picker-view/index.en-US.md",6218:"components/slider/index.en-US.md",6239:"components/radio/index.en-US.md",6271:"components/swipe-action/index.en-US.md",6293:"components/action-sheet/demo",6425:"components/modal/demo",6481:"components/white-space/demo",6610:"components/image-picker/index.en-US.md",6646:"components/stepper/demo",6651:"components/list-view/index.zh-CN.md",6735:"components/progress/index.en-US.md",6930:"components/progress/index.zh-CN.md",6953:"components/input/index.zh-CN.md",7012:"components/collapse/index.en-US.md",7046:"components/grid/index.zh-CN.md",7065:"docs/blog/what-is-styles.zh-CN.md",7208:"components/button/index.zh-CN.md",7297:"components/popover/demo",7351:"components/toast/index.en-US.md",7420:"docs/blog/what-is-styles.en-US.md",7438:"components/card/demo",7492:"components/textarea-item/demo",7592:"components/picker-view/index.zh-CN.md",7630:"components/input-item/demo",7873:"components/result/demo",7896:"components/result/index.zh-CN.md",7934:"components/flex/index.en-US.md",7940:"components/slider/demo",8006:"components/radio/demo",8007:"components/wing-blank/index.en-US.md",8054:"components/checkbox/index.zh-CN.md",8110:"components/switch/index.en-US.md",8277:"components/badge/demo",8394:"components/tag/index.zh-CN.md",8470:"components/date-picker/demo",8518:"components/swipe-action/demo",8540:"components/wing-blank/index.zh-CN.md",8600:"CHANGELOG.en-US.md",8652:"components/activity-indicator/demo",8665:"components/view/demo",8755:"components/flex/index.zh-CN.md",8777:"components/steps/index.en-US.md",8779:"components/search-bar/demo",8873:"components/form/demo",9097:"components/pagination/index.en-US.md",9277:"components/list-view/demo",9290:"components/date-picker/index.en-US.md",9307:"components/result/index.en-US.md",9341:"components/pagination/demo",9354:"components/input/index.en-US.md",9360:"components/tabs/index.en-US.md",9375:"components/list-view/index.en-US.md",9418:"components/icon/index.zh-CN.md",9420:"components/tab-bar/demo",9436:"components/modal/index.en-US.md",9438:"components/badge/index.zh-CN.md",9586:"components/picker-view/index.en-US.md",9635:"components/white-space/index.en-US.md",9667:"components/toast/index.zh-CN.md",9685:"components/radio/index.zh-CN.md",9787:"components/card/index.en-US.md",9892:"components/badge/index.en-US.md",9931:"components/swipe-action/index.zh-CN.md",9966:"components/popover/index.zh-CN.md"}[e]+"."+{55:"9fae62",279:"a43ef8",282:"604124",342:"8684be",353:"3068cc",440:"36731c",464:"5bd3d3",525:"b5d8de",558:"f5b03c",708:"f30516",712:"296a8e",820:"13f287",851:"cef23d",965:"1f00df",1067:"8ddf4b",1171:"552739",1221:"cc7ea0",1270:"8f99b8",1321:"10e0ba",1498:"3c9061",1504:"22ef02",1567:"e0b01c",1697:"8cb07a",1827:"987a42",1869:"9fd524",1905:"61ebea",1973:"5bd830",2246:"6a8857",2364:"2da2b7",2583:"ba12fd",2611:"aca392",2635:"500a6d",2688:"3b219d",2694:"f60577",2757:"6d26be",2808:"aeb274",2810:"855614",2813:"ae3024",2925:"056fea",2943:"3b3af8",3031:"173920",3062:"0fcfca",3115:"edde19",3137:"dc81ae",3208:"73fe28",3410:"92e0ee",3478:"f3c347",3515:"b3575d",3540:"ff1d00",3639:"73d916",3661:"22d12b",3675:"ccfc76",3749:"1633a5",3769:"eef0a6",3825:"0686e9",3852:"f8b93d",4054:"d2efc4",4063:"fdb645",4098:"1cb6f9",4104:"752163",4122:"5b351e",4194:"217514",4238:"ee40da",4385:"e45b79",4583:"61457c",4613:"ffd5ee",4639:"5bc81d",4643:"97d01e",4656:"e4b4a7",4764:"d2f487",4785:"fe6785",4833:"7ec3e5",4846:"a31df5",4917:"5ee079",4936:"27b7b2",4958:"c3bb62",5006:"c03bed",5175:"cf0e1f",5219:"142444",5260:"f73958",5417:"2d74f1",5466:"04db8a",5528:"3fce1d",5680:"6b8580",5701:"06727d",5903:"448886",6009:"2176f9",6218:"a18581",6239:"b02bf5",6271:"b36ada",6293:"88412b",6425:"9b7b18",6481:"fc45bd",6610:"2f1c88",6646:"8c1e39",6651:"eb9183",6735:"257327",6930:"f3fc19",6953:"1d28f0",7012:"677acc",7046:"93813b",7065:"b8eaa0",7208:"67a29e",7297:"964789",7351:"4b3961",7420:"360856",7438:"0fc4f4",7492:"8f1aa8",7592:"5efa6c",7630:"33a584",7873:"f9c6b3",7896:"cfd707",7934:"76cf35",7940:"a32ddd",8006:"5229c7",8007:"8e234b",8054:"7c2344",8110:"a23502",8277:"1150ee",8394:"dba83f",8470:"ef9db9",8518:"703881",8540:"488b7d",8600:"6edf2e",8652:"8e5eba",8665:"67cd5e",8755:"35b848",8777:"4da26f",8779:"5afc76",8873:"6467cc",9097:"ce5601",9277:"9a0cca",9290:"c2e4cb",9307:"fbff8a",9341:"cbf5b5",9354:"30792d",9360:"dd01ee",9375:"c5f4d4",9418:"1d2496",9420:"b6611c",9436:"23459d",9438:"392cce",9586:"020cd4",9635:"19ffb5",9667:"346adb",9685:"7717e6",9787:"231525",9892:"71285d",9931:"85415c",9966:"ad7d7d"}[e]+".js"),i.miniCssF=e=>{},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},i.l=(e,t,r,o)=>{if(n[e])n[e].push(t);else{var a,l;if(void 0!==r)for(var s=document.getElementsByTagName("script"),c=0;c{a.onerror=a.onload=null,clearTimeout(p);var o=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(e=>e(r)),t)return t(r)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),l&&document.head.appendChild(a)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.p="/",(()=>{var e={4826:0};i.f.j=(t,n)=>{var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((n,o)=>r=e[t]=[n,o]);n.push(r[2]=o);var a=i.p+i.u(t),l=new Error;i.l(a,n=>{if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;l.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",l.name="ChunkLoadError",l.type=o,l.request=a,r[1](l)}},"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[a,l,s]=n,c=0;for(r in l)i.o(l,r)&&(i.m[r]=l[r]);if(s)s(i);for(t&&t(n);c{"use strict";i(26981),i(77936);var e=i(67294),t=i(73935),n=i(61409),r=i(1488),o=i(32049),a=i(76031),l=i(43764)(o),s=window.location,c=s.pathname,u=s.search,f=s.hash,p="".concat(c).concat(u).concat(f);n.match({routes:l,location:p,basename:"/"},(function(){var o=e.createElement(n.Router,{history:n.useRouterHistory(r.createHistory)({basename:"/"}),routes:l,createElement:a});t.render(o,document.getElementById("react-content"))}))})()})(); \ No newline at end of file diff --git a/index-cn.html b/index-cn.html index 8e3b933a..b7deaf6b 100644 --- a/index-cn.html +++ b/index-cn.html @@ -113,7 +113,7 @@
- + diff --git a/index.html b/index.html index 8e3b933a..b7deaf6b 100644 --- a/index.html +++ b/index.html @@ -113,7 +113,7 @@
- +