@cniot/android-pda-components 0.2.57 → 0.2.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ .pda-button{display:block;box-sizing:border-box;padding-right:0;text-align:center;font-size:40px;height:90px;line-height:40px;color:#fff;background-color:#f3f4f8;border-radius:10px;width:100%;border-width:0;word-break:keep-all}.pda-button.pda-button-default{color:#000}.pda-button:active{background-color:#979797}.pda-button.pda-button-primary{background-color:#0091ea}.pda-button.pda-button-primary:active{background-color:#0074bb}.pda-button.pda-button-dark{background-color:#282828}.pda-button.pda-button-dark:active{background-color:#979797}.pda-button.pda-button-cutout{color:#0091ea;border-width:4px;border-color:#0091ea}.button-group{display:flex;flex-direction:row;padding:20px 24px;width:100%}.button-group .pda-button:not(:last-child){margin-right:16px}.pda-header{background-color:#000;display:flex;flex-direction:row;align-items:center;color:#fff;height:84px;padding-right:12px}.pda-header .header-click-area{height:100%;display:flex;align-items:center;flex-direction:row}.pda-header .pda-goback{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01O46CYm1Gc4yvZtk7A_!!6000000000642-2-tps-36-64.png);width:18px;height:32px;background-size:100%;margin-left:28px;margin-right:8px}.pda-header .pda-header-icon{height:36px;width:36px;margin-left:16px;background-size:100%;background-repeat:no-repeat;background-position:center}.pda-header .pda-header-icon-scan{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN017UD9RM1vCKxsjxsrE_!!6000000006136-2-tps-68-68.png)}.pda-header .pda-header-icon-select{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN0170QXc91udWriUp19S_!!6000000006060-2-tps-74-72.png)}.pda-header .pda-header-icon-read{background-image:url(https://img.alicdn.com/imgextra/i2/O1CN01EMphgH1ylYGXImCZn_!!6000000006619-2-tps-70-70.png)}.pda-header .pda-title-text{margin-left:16px;font-size:40px;flex:1}.pda-header .pda-header-more{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01dTdXds1p9gz4wKAve_!!6000000005318-2-tps-70-26.png)}.pda-header .pda-header-config{background-image:url(https://img.alicdn.com/imgextra/i3/O1CN01SKQH1k1p7rQYTBXdn_!!6000000005314-2-tps-56-60.png)}.pda-header .pda-menus{background-color:#fff;border-radius:8px 8px 0 0;width:100%;padding:24px;display:flex;flex-direction:column}.pda-header .pda-menus>*{margin-bottom:12px}.pda-info-card{border-radius:16px;padding:16px;background-color:#fff;word-break:break-word}.pda-info-card .divda-info-card-title{font-size:32px;line-height:32px}.pda-info-card .pda-info-card-title-section{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.pda-info-card .pda-info-card-title-section .pda-info-card-title{font-size:32px;color:#666}.pda-info-card .pda-info-card-title-section .pda-info-card-tag{display:flex;align-items:center;justify-content:center;height:36px;padding:0 8px;background-color:#fc0;border-radius:8px}.pda-info-card .pda-info-card-highlight-section{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start}.pda-info-card .pda-info-card-highlight-section .pda-info-card-title{font-size:32px;color:#666;margin-top:20px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight{font-size:80px;line-height:64px;color:#0091ea;font-weight:700;padding-top:12px;display:flex;flex-direction:row;align-items:flex-end;flex-wrap:wrap}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight1CN{font-size:64px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight2{font-size:50px;line-height:40px}.pda-info-card .pda-info-card-highlight-section .pda-info-card-highlight .pda-info-card-highlight2CN{font-size:40px;line-height:40px}.pda-info-card .pda-info-card-bold{font-weight:700;font-size:40px;line-height:48px;color:#000;margin-top:16px}.pda-info-card .pda-info-card-list{margin-top:12px;color:#4a4a4a;font-size:32px;line-height:32px;word-break:break-all}.pda-info-card-progress{background-color:#f3f4f8;height:12px;border-radius:6px;margin-top:16px}.pda-info-card-progress .pda-info-card-progress-inside{background-color:#0091ea;height:12px;border-radius:6px}.pda-info-card.pda-info-card-dark{background-color:#000}.pda-info-card.pda-info-card-dark .pda-info-card-title{color:#999}.pda-info-card.pda-info-card-dark .pda-info-card-highlight,.pda-info-card.pda-info-card-dark .pda-info-card-bold{color:#fff}.pda-info-card.pda-info-card-dark .pda-info-card-list{color:#999}.pda-step-card{display:flex;flex-direction:row}.pda-step-card .pda-step-indictor{display:flex;flex-direction:column;align-items:center;margin-right:16px}.pda-step-card .pda-step-indictor .pda-step-indictor-top{width:1px;background-color:#bec0c6;flex:1}.pda-step-card .pda-step-indictor .pda-step-indictor-top-hidden{background-color:#fff0}.pda-step-card .pda-step-indictor .pda-step-indictor-center{height:24px;width:24px;border-radius:12px;background-color:#bec0c6}.pda-step-card .pda-step-indictor .pda-step-indictor-center-active{background-color:#0091ea}.pda-step-card .pda-step-indictor .pda-step-indictor-bottom{flex:1;width:1px;background-color:#bec0c6}.pda-step-card .pda-step-indictor .pda-step-indictor-bottom-hidden{background-color:#fff0}.pda-step{border-radius:16px;padding:24px 16px;background-color:#fff;margin-bottom:16px}.pda-step p{margin:0}.pda-step .pda-step-title{font-size:60px;color:#0091ea}.pda-step .pda-step-list{margin-top:8px;color:#4a4a4a;font-size:32px;line-height:32px}.pda-step.pda-step-dark{background-color:#000}.pda-step.pda-step-dark .pda-step-title{color:#fff}.pda-step.pda-step-dark .pda-step-list{color:#bec0c6}.pda-list-item{padding:24px 16px;border-radius:16px;position:relative}.pda-list-item div{margin:0}.pda-list-item>div{margin-bottom:12px}.pda-list-item>div:last-child{margin-bottom:0}.pda-list-item .pda-listitem-highlight{width:100%;font-size:40px;line-height:40px;font-weight:700;color:#fff;display:flex;flex-direction:row;justify-content:space-between}.pda-list-item .pda-listitem-highlight div:first-child{flex:1;word-break:normal;white-space:normal;word-break:break-word}.pda-list-item .pda-listitem-header,.pda-list-item .pda-listitem-state-text,.pda-list-item .pda-listitem-subinfo{font-size:32px;line-height:32px;color:#999;word-break:break-all}.pda-list-item .pda-listitem-state-block{display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:0}.pda-list-item .pda-listitem-state-block>div{padding:6px 10px;border-radius:4px;background-color:#0091ea;margin-bottom:12px;margin-right:12px;font-size:24px;line-height:24px}.pda-list-item .pda-listitem-state-block>div.success{background-color:#0f0}.pda-list-item .pda-listitem-state-block>div.warning{background-color:#fc0}.pda-list-item .pda-listitem-state-block>div.error{background-color:red}.pda-list-item .pda-listitem-icon{position:absolute;top:0;right:0;width:60px;height:60px;background-color:#0091ea;border-radius:0 16px;display:flex;justify-content:center;align-items:center;opacity:.85}.pda-list-item .listitem-icon-container{background-size:100%;background-repeat:no-repeat;width:16px;height:24px}.pda-list-item .listitem-icon-next{background-image:url(https://img.alicdn.com/imgextra/i4/O1CN01FkZisA1tCg1sj3b6U_!!6000000005866-2-tps-40-58.png)}.confirm-wrap{background:#ffffff;border-radius:6px 6px 0 0;padding-top:24px;width:100%}.confirm-wrap .confirm-content{padding:0 24px}.confirm-wrap .confirm-title{font-size:2.4rem;font-weight:700}.confirm-wrap .confirm-message,.confirm-wrap .confirm-sub-message{font-size:2.2rem;margin-bottom:1rem}.confirm-wrap .confirm-sub-block{display:flex;flex-direction:row}.confirm-wrap .confirm-sub-block .confirm-sub-label{white-space:nowrap}.confirm-wrap .confirm-sub-block .confirm-sub-content{margin-left:12px;word-wrap:break-word;word-break:break-all}.confirm-wrap .confirm-btns>*:not(:first-child){padding-top:0}.confirm-wrap.confirm-warning{background-color:red}.confirm-wrap.confirm-warning .pda-button{background-color:transparent;color:#000;border:2px solid black;border-radius:40px}.toast-wrap{background:#00FF00;border-radius:6px;padding:10px 15px;width:100%;box-sizing:border-box}.toast-wrap.warning{background-color:#ffcb00}.toast-wrap.error{background-color:red}.toast-wrap .toast-title{font-size:50px;font-weight:700}.toast-wrap .toast-message{font-size:32px}.loading-box{background-color:#fff;border-radius:5%;display:flex;flex-direction:column;align-items:center;padding:10px 20px;margin-top:-10%}.loading-box svg{width:50px;height:50px;animation:rotate 1.5s linear infinite;margin:10px}.pda-tag{display:inline-block;padding:6px 10px;border-radius:4px;background-color:#0091ea;margin-bottom:12px;margin-right:12px;font-size:24px;line-height:24px;word-break:keep-all}.pda-tag.pda-tag-success{background-color:#0f0}.pda-tag.pda-tag-warning{background-color:#fc0}.pda-tag.pda-tag-error{background-color:red}.simple-card{display:inline-block;padding:12px 0 12px 18px;border-radius:12px}.simple-card .simple-card-title{font-weight:700;font-size:56px;line-height:40px;margin-top:12px}.simple-card .simple-card-content{font-size:28px;line-height:40px;margin-top:12px}.simple-card.simple-card-default{background-color:#f3f4f9}.simple-card.simple-card-default .simple-card-title{color:#0091ea}.simple-card.simple-card-default .simple-card-content{color:#000}.simple-card.simple-card-error{background-color:red}.simple-card.simple-card-error .simple-card-title{color:#fff}.simple-card.simple-card-error .simple-card-content{color:#ffafb1}.simple-card.simple-card-dark{background-color:#282828}.simple-card.simple-card-dark .simple-card-title{color:#fff}.simple-card.simple-card-dark .simple-card-content{color:#999}.simple-card-block{background-color:#fff;padding:24px 12px;border-radius:12px}.simple-card-block .simple-card-block-header{display:flex;justify-content:space-between}.simple-card-block .simple-card-block-title{color:#666;font-size:32px;line-height:32px}.simple-card-block .simple-card-block-content{display:flex;flex-wrap:wrap}.simple-card-block .simple-card-block-content>div{min-width:190px;margin-right:12px;margin-top:12px}.select-card{padding-top:12px}.select-card p{color:#999;font-size:32px;line-height:40px;margin-bottom:12px;padding-left:16px}.select-card .select-card-content{background-color:#282828;padding:24px 24px 24px 16px;border-radius:16px;display:flex;flex-direction:row;justify-content:space-between;color:#fff;font-size:40px;line-height:40px}.select-card .select-icon{background-image:url(https://img.alicdn.com/imgextra/i1/O1CN01WnYl6Z1qBM3uInOvw_!!6000000005457-2-tps-40-68.png);background-size:100%;background-repeat:no-repeat;background-position:center;width:20px}.v-mask{position:fixed;top:0;left:0;z-index:1000;display:block;width:100%;height:100%;background:rgba(0,0,0,.75);opacity:1;display:unset}.v-mask .image-viewer-content{width:100vw;height:100vh;max-height:-webkit-fill-available;touch-action:none}.v-mask .image-viewer-slides{height:100%;position:relative;z-index:1;cursor:grab;touch-action:none}.v-mask .image-viewer-indicator{position:absolute;z-index:2;left:50%;top:12px;transform:translate(-50%);color:#e6e6e6;font-size:14px}.v-mask .viewer-image-close{position:absolute;right:6px}.v-mask .viewer-image-close svg{fill:#fff;background:rgba(0,0,0,.3);box-sizing:content-box;height:24px;padding:12px;width:24px}.v-mask .image-viewer-slides-inner{height:100%;white-space:nowrap}.v-mask .image-viewer-image-wrapper{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.v-mask .image-viewer-image-wrapper img{display:block;max-width:100%;max-height:100%}.v-mask .viewer-image-arrow{position:absolute;top:calc(50% - 10px);z-index:999}.v-mask .viewer-image-arrow svg{fill:#fff;background:rgba(0,0,0,.3);box-sizing:content-box;height:24px;padding:18px;width:24px}.v-mask .viewer-prev{left:0}.v-mask .viewer-next{right:0}.v-mask .image-viewer-loading{display:flex;justify-content:center;align-items:center;position:fixed;left:0;top:0;width:100%;height:100%;background-color:#0000009d;z-index:998}.v-mask .image-viewer-loading .image-viewer-loading-reactor{animation:PhotoView__delayShow .4s linear both}.v-mask .image-viewer-loading .image-viewer-loading-reactor svg{animation:PhotoView__rotate .6s linear infinite}.image-uploader-wrap{display:inline-flex;flex-wrap:wrap;margin-bottom:8px}.image-space-item{margin-right:8px;padding-bottom:8px}.image-space-item .image-uploader-cell{position:relative;width:80px;height:80px;border-radius:4px;overflow:hidden}.image-space-item .image-uploader-cell-image{width:80px;height:80px}.image-space-item .image-uploader-cell-delete{position:absolute;top:0;right:0;width:14px;height:14px;background-color:#000000b3;border-radius:0 0 0 12px;font-size:8px;color:#fff;cursor:pointer}.image-space-item .image-uploader-cell-delete .uploader-delete-icon{position:absolute;right:2px;top:2px;display:inline-block;object-fit:cover;width:8px;height:8px}.image-space-item .image-uploader-img{object-fit:cover;display:block;width:100%;height:100%}.image-space-item .image-uploader-upload-button-wrap{position:relative}.image-space-item .image-uploader-upload-button-wrap .image-uploader-upload-button{display:flex;justify-content:center;align-items:center;background-color:#a2a2a2;cursor:pointer}.image-space-item .image-uploader-upload-button-wrap .uploader-add-icon{display:inline-block;object-fit:cover;width:32px;height:32px}.image-uploader-loading{display:flex;justify-content:center;align-items:center;position:fixed;left:0;top:0;width:100%;height:100%;background-color:#0000009d}.image-uploader-loading .image-uploader-loading-reactor{animation:PhotoView__delayShow .4s linear both}.image-uploader-loading .image-uploader-loading-reactor svg{animation:PhotoView__rotate .6s linear infinite}@keyframes PhotoView__rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes PhotoView__delayShow{0%,50%{opacity:0}to{opacity:1}}.presentation-card{margin:12px;background-color:#fff;border-radius:6px;text-align:center;padding:20px 6px}.presentation-card img{width:70%;height:auto}.presentation-card.transparent{background-color:transparent;color:#fff;margin-top:80px}.presentation-card .text{margin-top:12px;font-weight:700;font-size:32px}.presentation-card .sub-text{margin-top:6px;font-weight:700;font-size:24px;line-height:24px;color:#999}.android-pda-list .default-item{background-color:#282828;font-size:36px;padding:10px;border-radius:6px;color:#fff;display:flex;justify-content:space-between;align-items:center;cursor:pointer;margin-bottom:10px}.android-pda-list .default-item:hover,.android-pda-list .default-item:active,.android-pda-list .default-item:focus{background-color:#0061a1}.android-pda-list .default-item .text{flex:1}.android-pda-list .default-item .sub-text{font-size:80%;opacity:.7;line-height:1em}.android-pda-list .default-item .sub-tags{display:flex;margin-top:10px}.android-pda-list .default-item .sub-tags .sub-tag-item{background-color:#008fed;padding:.3em;font-size:40%;margin-right:5px;border-radius:6px;color:#fff;line-height:1em}.android-pda-list .default-item .sub-tags .sub-tag-item:first-child{margin-left:0}.android-pda-list .default-item .extra{font-size:80%;opacity:.7}.wakekeyborard .wakekeyborard-icon{width:80px;height:80px;background-image:url(https://img.alicdn.com/imgextra/i3/O1CN01kxYh3U25Xzr9nAcYp_!!6000000007537-2-tps-240-240.png);background-size:100%;position:fixed;right:24px;bottom:24px}.wakekeyborard-overlay{position:fixed;top:0;right:0;left:0;bottom:0;background-color:#dedede33}.wakekeyborard-inputbox{width:100%;display:flex;flex-direction:row;height:85px;position:absolute;bottom:0;left:0;right:0}.wakekeyborard-inputbox input{width:100%;border-radius:16px 0 0;border:0;font-size:42px;background-color:#fff;padding-left:20px}.wakekeyborard-inputbox input:focus{outline:none}.wakekeyborard-inputbox input::-webkit-input-placeholder{color:#d1d1d6;font-size:32px}.wakekeyborard-inputbox button{width:150px;border:0;border-radius:0 16px 0 0;background-color:#fff}.android-sub-card{background:#282828;border-radius:16px;padding:10px;color:#fff}.android-sub-card .android-sub-card-title-section{display:flex;justify-content:space-between}.android-sub-card .android-sub-card-title-section .android-sub-card-title{opacity:.6;font-size:21.312px}.android-sub-card .android-sub-card-title-section .android-sub-card-tag{margin-bottom:0}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div{padding:6px 10px;border-radius:4px;background-color:#0091ea;color:#fff;font-size:15.984px;line-height:15.984px}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.success{background-color:#0f0}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.warning{background-color:#fc0;color:#000}.android-sub-card .android-sub-card-title-section .android-sub-card-tag>div.error{background-color:red}.android-sub-card .android-sub-card-context{font-size:60px;line-height:60px;font-weight:700;word-break:break-all;word-wrap:break-word;margin-top:16px}.android-sub-card .android-sub-card-name{font-size:40px;line-height:40px;font-weight:700;margin-top:16px;margin-bottom:12px}.android-sub-card .android-sub-card-attrs{font-size:32px;line-height:32px;color:#999}.android-sub-card .android-sub-card-attrs>div{margin-top:12px}.pda-finish-card-top{display:flex;flex-direction:column;align-items:center;color:#fff}.pda-finish-card-top .pda-finish-card-img{width:100%;margin:50px auto 0}.pda-finish-card-top .pda-finish-card-title{font-size:50px;line-height:50px;color:#fff;font-weight:500;margin-bottom:16px;text-align:center}.pda-finish-card-top .pda-finish-card-list{margin-top:12px;color:#999;font-size:32px;line-height:30px;text-align:center}.baselayout-wrapper{height:100%;min-height:100%;display:flex;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;background-color:#000}.baselayout-wrapper .baselayout-container{padding:0 24px 16px;overflow-x:auto;flex:1}.baselayout-wrapper .baselayout-container>*{margin-top:16px}.baselayout-wrapper .baselayout-footer{padding:16px 0}.baselayout-wrapper .loading{position:absolute;top:0;left:0;right:0;bottom:0;color:#fff;background-color:#0006;background-image:url(https://img.alicdn.com/imgextra/i2/O1CN01PRSptR1YO1wOlBHCr_!!6000000003048-1-tps-240-240.gif);background-repeat:no-repeat;background-position:center;background-size:120px 120px}.pda-distance-card{border-radius:16px;padding:36px 16px;background-color:#fff}.pda-distance-card p{margin:0;font-size:28px;color:#738399}.pda-distance-card .pda-distance-card-highlight{font-size:60px;line-height:64px;color:#0091ea}.pda-distance-card .pda-distance-indictor{margin-top:36px;display:flex}.pda-distance-card .pda-distance-card-progress{background-color:#ebecf2;height:34px;border-radius:6px;border:4px solid #D9D9D9;margin-top:8px;position:relative}.pda-distance-card .pda-distance-card-progress .pda-distance-card-progress-indictor{position:absolute;bottom:0;left:5px}.pda-distance-card .pda-distance-card-progress .pda-distance-card-progress-inside{background-color:#0091ea;height:26px;border-radius:6px 0 0 6px}.pda-distance-card .pda-distance-label{display:flex;justify-content:space-between}.pda-infinite-scroll{margin-top:10px}.pda-infinite-scroll span{color:#999}.pda-infinite-scroll .pda-infinite-scroll-view{display:flex;align-items:center;justify-content:center}*{margin:0;padding:0}div{box-sizing:border-box}.op-overlay{top:0;left:0;position:fixed;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background-color:#0006;z-index:100}.op-overlay.center{align-items:center;justify-content:center}.op-overlay.top{align-items:flex-start;justify-content:center}.op-overlay.bottom{align-items:flex-end;justify-content:center}.prompt-dialog{background:#ffffff;border-radius:6px 6px 0 0;padding:10px;width:80%}.prompt-dialog .prompt-title{font-size:30px;margin:10px 0}.prompt-dialog .prompt-input{transition:all .1s linear;border:1px solid #dcdfe6;background-color:#fff;outline:0;margin:0;font-weight:400;vertical-align:middle;background-color:#0000;color:#1f2633;font-size:24px;box-sizing:border-box;width:100%;padding:.5em;border-radius:4px}.prompt-dialog .prompt-input:hover,.prompt-dialog .prompt-input:active,.prompt-dialog .prompt-input:focus{border-color:#03c1fd}.prompt-dialog .prompt-btns{display:flex;margin-top:10px}.prompt-dialog .prompt-btns .pda-button{margin-left:10px}.prompt-dialog .prompt-btns .pda-button:first-child{margin-left:0}.mini-app-start-page{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100vh}.mini-app-start-page button{padding:.3em 3em;border-radius:6px;border:none;font-size:36px;background-color:#00bdff;color:#fff;margin-top:20px}.mini-app-start-page button:active{transform:scale(.95)}.mini-app-start-page .desc{opacity:.3}.loading-wrap{position:fixed;z-index:1000;left:0;top:0;background-color:#00000080;height:100vh;width:100vw;display:flex;align-items:center;justify-content:center}.loading-wrap .loading-box{background-color:#fff;border-radius:5%;display:flex;flex-direction:column;align-items:center;padding:10px 20px;margin-top:-10%}.loading-wrap .loading-box svg{width:50px;height:50px;animation:rotate 1.5s linear infinite;margin:10px}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.pda-app-list .pda-app-group{margin:25px}.pda-app-list .pda-app-group .group-name{line-height:1em;margin:0;font-size:32px;color:#fff;font-weight:400;opacity:.6}.pda-app-list .pda-app-group .group-apps{display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:25px}.pda-app-list .pda-app-group .group-apps .app-item{display:flex;flex-direction:column;justify-content:center;align-items:center;background-image:linear-gradient(138deg,#0091EA 0%,#095FFF 100%);border-radius:12px;font-size:32px;color:#fff;min-height:126px;flex:1;min-width:48%;max-width:48%;margin-bottom:25px;cursor:pointer}.pda-app-list .pda-app-group .group-apps .app-item:hover,.pda-app-list .pda-app-group .group-apps .app-item:active,.pda-app-list .pda-app-group .group-apps .app-item:focus{background-image:linear-gradient(45deg,#0091EA 0%,#095FFF 100%);box-shadow:0 0 1px 2px #fff}.pda-app-list .pda-app-group .group-apps .app-item .app-name{text-align:center}.pda-app-list .pda-app-group .group-apps .app-item .app-subname{font-size:50%}.action-sheet{position:fixed;z-index:1000;width:100%;height:100%;background-color:#00000059;top:0;left:0;display:none}.action-sheet .action-sheet-container{position:absolute;background-color:#fff;z-index:1010;width:100%;bottom:0;left:0;max-height:80%;border-radius:9.9px 9.9px 0 0;padding-bottom:10.56px;display:flex;flex-direction:column}.action-sheet .action-sheet-container .action-sheet-body{flex:1;overflow-y:auto}.action-sheet .action-sheet-container .action-sheet-sticky-bottom{border-top:2px solid #F2F2F2}.action-sheet .action-sheet-container .action-sheet-item{margin:10.56px 15.84px 0;background-color:#f3f4f8;height:54px;display:flex;align-items:center;justify-content:center;font-size:24px;border-radius:9.9px}.action-sheet .action-sheet-container .action-sheet-sticky-bottom-row{display:flex}.action-sheet.show{display:block}.action-sheet.show .action-sheet-container{animation:slide-in .3s ease-out}@keyframes slide-in{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.lattice-mouth .lattice-mouth-row{display:flex}.lattice-mouth .lattice-mouth-row .lattice-mouth-item{--font-size: 14px;--color: #ffffff;--background-color: #BFBFBF;color:var(--color);background-color:var(--background-color);font-size:var(--font-size);flex:1;flex-direction:column;display:flex;margin:1%;border-radius:4px;overflow:hidden}.lattice-mouth .lattice-mouth-row .lattice-mouth-item.highlight{--color: #ffffff;--background-color: #008FED}.lattice-mouth .lattice-mouth-row .lattice-mouth-item.active{--color: #ffffff;--background-color: #282828}.lattice-mouth .lattice-mouth-row .lattice-mouth-item.default{--color: #ffffff;--background-color: #BFBFBF}.lattice-mouth .lattice-mouth-row .lattice-mouth-item.complete{--color: #000000;--background-color: #00FF00}.lattice-mouth .lattice-mouth-row .lattice-mouth-item.error{--color: #ffffff;--background-color: #f30f30}.lattice-mouth .lattice-mouth-row .lattice-mouth-item .lattice-mouth-value{text-align:center;flex:1;font-size:150%;min-height:2em;display:flex;justify-content:center;align-items:center}.lattice-mouth .lattice-mouth-row .lattice-mouth-item .lattice-mouth-label{background-color:#0000004d;text-align:center;min-height:1em}.android-op-card{--base-font-size: 20px;--background-color: #FFFFFF;--color: #000000;--main-color: #008FED;--border-radius: 6px;--progress-background-color: rgba(160, 160, 160, .5);--progress-foreground-color: #008FED;--tag-background-color: #008FED;--tag-color: #ffffff;background-color:var(--background-color);font-size:var(--base-font-size);color:var(--color);border-radius:var(--border-radius);padding:2%;position:relative}.android-op-card .card-h1{color:var(--color);opacity:.7;font-weight:700}.android-op-card .card-content{font-size:calc(var(--base-font-size) * 2.5);color:var(--main-color);font-weight:700;display:flex;align-items:baseline;line-height:1.1em}.android-op-card .card-content small{font-size:50%}.android-op-card .card-progress{background-color:var(--progress-background-color);border-radius:1em;overflow:hidden;height:1em;font-size:calc(var(--base-font-size) * .6);margin-bottom:1em}.android-op-card .card-progress .card-progress-bar{background-color:var(--progress-foreground-color);height:1em;opacity:1.5}.android-op-card .card-main-title{font-size:calc(var(--base-font-size) * 1.6);line-height:1.5em;margin-bottom:.2em}.android-op-card .card-info-list{color:var(--color);opacity:.6}.android-op-card .card-tags{display:flex;margin-top:.5em}.android-op-card .card-tags.top{position:absolute;top:4%;right:1%}.android-op-card .card-tags .card-tags-item{font-size:calc(var(--base-font-size) * .8);color:var(--tag-color);border-radius:.3em;background-color:var(--tag-background-color);padding:.2em .3em;margin-right:.5em}.components-container{display:flex}.components-example{flex-direction:column;border-right:1px solid #d8d8d8;min-height:100vh;padding-right:10px}.components-example h1{margin-top:20px}.components-example h2{color:#00000073;font-size:14px;margin-top:20px;border-bottom:1px solid #d8d8d8;padding-bottom:5px}.components-example .components-item{color:#000000d9;font-size:16px;padding:10px 0;margin-left:20px;align-items:center;cursor:pointer}.components-example .components-item:hover,.components-example .components-item.active{color:#4f10fd73}.components-example .components-item>small{margin-left:1em}.show-case{display:flex;flex-direction:column;padding:50px;flex:1}.show-case h2{margin:20px 0}.show-case .code{white-space:pre;border:1px solid #e8e8e8;border-radius:4px;background-color:#f9f9f9;padding:5px 10px;display:block;margin:20px 0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.pure-table{border-collapse:collapse;border-spacing:0;empty-cells:show;border:1px solid #cbcbcb}.pure-table caption{color:#000;font:italic 85%/1 arial,sans-serif;padding:1em 0;text-align:center}.pure-table td,.pure-table th{border-left:1px solid #cbcbcb;border-width:0 0 0 1px;font-size:inherit;margin:0;overflow:visible;padding:.5em 1em}.pure-table thead{background-color:#e0e0e0;color:#000;text-align:left;vertical-align:bottom}.pure-table td{background-color:transparent}.pure-table-bordered td{border-bottom:1px solid #cbcbcb}.pure-table-bordered tbody>tr:last-child>td{border-bottom-width:0}.demo-box{display:block;margin:5px 0;padding:15px;border:1px solid #e9e9e9;border-radius:6px;flex-direction:column}.demo-box:not(:last-child){margin-bottom:20px}.version{font-size:12px;margin-left:10px}.dark-block{background-color:#000;padding:24px}.light-block{background-color:#ddd;padding:24px}.light-block.pda{width:50%}.light-block-overlay{position:relative;height:300px}.light-block-overlay .op-overlay{position:absolute;width:100%;height:100%}
@@ -1,4 +1,4 @@
1
- var Ae=Object.defineProperty,ve=Object.defineProperties;var ye=Object.getOwnPropertyDescriptors;var I=Object.getOwnPropertySymbols;var Q=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var R=(u,t,l)=>t in u?Ae(u,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):u[t]=l,g=(u,t)=>{for(var l in t||(t={}))Q.call(t,l)&&R(u,l,t[l]);if(I)for(var l of I(t))ee.call(t,l)&&R(u,l,t[l]);return u},L=(u,t)=>ve(u,ye(t));var x=(u,t)=>{var l={};for(var n in u)Q.call(u,n)&&t.indexOf(n)<0&&(l[n]=u[n]);if(u!=null&&I)for(var n of I(u))t.indexOf(n)<0&&ee.call(u,n)&&(l[n]=u[n]);return l};var f=(u,t,l)=>(R(u,typeof t!="symbol"?t+"":t,l),l);import{R as e,r as p,k as De,c as C,a as H,u as xe,b as Ne}from"./vendor.999402d8.js";const Se=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const r of a)if(r.type==="childList")for(const c of r.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&n(c)}).observe(document,{childList:!0,subtree:!0});function l(a){const r={};return a.integrity&&(r.integrity=a.integrity),a.referrerpolicy&&(r.referrerPolicy=a.referrerpolicy),a.crossorigin==="use-credentials"?r.credentials="include":a.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(a){if(a.ep)return;a.ep=!0;const r=l(a);fetch(a.href,r)}};Se();function we(){return e.createElement("div",null,e.createElement("h1",null,"\u5FEB\u901F\u5F00\u59CB"),e.createElement("code",{className:"code"},`
1
+ var ke=Object.defineProperty,ve=Object.defineProperties;var ye=Object.getOwnPropertyDescriptors;var I=Object.getOwnPropertySymbols;var Q=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var R=(u,t,l)=>t in u?ke(u,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):u[t]=l,g=(u,t)=>{for(var l in t||(t={}))Q.call(t,l)&&R(u,l,t[l]);if(I)for(var l of I(t))ee.call(t,l)&&R(u,l,t[l]);return u},L=(u,t)=>ve(u,ye(t));var x=(u,t)=>{var l={};for(var n in u)Q.call(u,n)&&t.indexOf(n)<0&&(l[n]=u[n]);if(u!=null&&I)for(var n of I(u))t.indexOf(n)<0&&ee.call(u,n)&&(l[n]=u[n]);return l};var f=(u,t,l)=>(R(u,typeof t!="symbol"?t+"":t,l),l);import{R as e,_ as p,k as De,c as C,a as H,u as xe,b as Ne}from"./vendor.5080796b.js";const Se=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const r of a)if(r.type==="childList")for(const c of r.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&n(c)}).observe(document,{childList:!0,subtree:!0});function l(a){const r={};return a.integrity&&(r.integrity=a.integrity),a.referrerpolicy&&(r.referrerPolicy=a.referrerpolicy),a.crossorigin==="use-credentials"?r.credentials="include":a.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(a){if(a.ep)return;a.ep=!0;const r=l(a);fetch(a.href,r)}};Se();function we(){return e.createElement("div",null,e.createElement("h1",null,"\u5FEB\u901F\u5F00\u59CB"),e.createElement("code",{className:"code"},`
2
2
 
3
3
  tnpm install @cniot/android-pda-components --save
4
4
 
@@ -52,7 +52,7 @@ WindVane.call('WindvanePlugin', 'invoke', "{'domain': 'keyboard', 'method': 'dis
52
52
  <Button type="cutout">\u9542\u7A7A</Button>
53
53
  <Button>\u6309\u94AE</Button>
54
54
  </Button.Group>
55
- `),e.createElement("h2",null,"\u53C2\u6570"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"type"),e.createElement("td",null,"\u7C7B\u578B"),e.createElement("td",null,"string: primary | dark | cutout"),e.createElement("td",null,"default")),e.createElement("tr",null,e.createElement("td",null,"onClick"),e.createElement("td",null,"\u70B9\u51FB\u4E8B\u4EF6"),e.createElement("td",null,"function"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"dataClick"),e.createElement("td",null,"arms \u76D1\u63A7\u4F7F\u7528"),e.createElement("td",null,"string"),e.createElement("td",null)))))}class A extends e.Component{constructor(t){super(t)}render(){const{className:t="",title:l,highlightInfo:n,subTitle:a,subHighlightInfo:r,subHighlightSubInfo:c,infoImage:i,tagText:o,highlightInfoCN:s,highlightSubInfo:E,percentage:m,highlightSubInfoCN:h,boldInfo:F,infoList:B=[],style:D={},theme:be="light"}=this.props;return e.createElement("div",{className:C({[t]:!0,"pda-info-card":!0,"pda-info-card-dark":be==="dark"}),style:D},e.createElement("div",{className:"pda-info-card-title-section"},e.createElement("div",{className:"pda-info-card-title"},l),o?e.createElement("div",{className:"pda-info-card-tag"},e.createElement("div",{className:"pda-info-card-tag-text"},o)):null),e.createElement("div",{className:"pda-info-card-highlight-section"},e.createElement("div",null,e.createElement("div",{className:"pda-info-card-highlight"},e.createElement("span",{className:"pda-info-card-highlight1"},n),e.createElement("span",{className:"pda-info-card-highlight1CN"},s),e.createElement("span",{className:"pda-info-card-highlight2"},E),e.createElement("span",{className:"pda-info-card-highlight2CN"},h)),a?e.createElement("div",{className:"pda-info-card-title"},a):null,r?e.createElement("div",{className:"pda-info-card-highlight"},e.createElement("span",{className:"pda-info-card-highlight1"},r),e.createElement("span",{className:"pda-info-card-highlight2"},c)):null),i?e.createElement("img",{src:i,width:150,height:150}):null),m!==void 0?e.createElement("div",{className:"pda-info-card-progress"},e.createElement("div",{className:"pda-info-card-progress-inside",style:{width:`${m*100}%`}})):null,e.createElement("div",{className:"pda-info-card-bold"},F),B.map((Z,ke)=>e.createElement("div",{key:ke,className:"pda-info-card-list"},e.createElement("span",null,Z.label||""),"\xA0\xA0",e.createElement("span",null,Z.content||""))))}}A.IMAGE_1="https://img.alicdn.com/imgextra/i2/O1CN01qYuxip1ME9zhdL9XG_!!6000000001402-2-tps-150-150.png";function We(){return e.createElement("div",null,e.createElement("h1",null,"InfoCard"),e.createElement("p",null,"InfoCard"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"light-block",style:{width:480,display:"block"}},e.createElement(A,{title:"\u5F85\u62E3\u4EF6\u6570",highlightInfo:"800",highlightInfoCN:"\u4EF6",highlightSubInfo:"/800",highlightSubInfoCN:"\u4EF6",percentage:.64,boldInfo:"\u52A0\u7C97\u663E\u793A\uFF1A512/\u4E94\u5382\u7EFC\u5305\u4E00\u697C,\u8FD9\u662F\u52A0\u7C97\u663E\u793A\u7684\u8D27\u54C1\u540D\u79F0\u53EF\u80FD\u6709\u591A\u884C",infoList:[{label:"\u5546\u54C1\u6761\u7801",content:"623126388798"},{label:"\u622A\u6B62\u65E5\u671F",content:"2022-07-25"},{label:"\u4EA7\u54C1\u540D\u79F0",content:"\u5546\u54C1\u7684\u540D\u79F0"},{label:"\u54C1\u53F7",content:"12398765423"}]}),e.createElement(A,{title:"\u5F85\u62E3\u4EF6\u6570",highlightInfo:"800",highlightInfoCN:"\u4EF6",highlightSubInfo:"/800",highlightSubInfoCN:"\u4EF6",percentage:.64,boldInfo:"\u52A0\u7C97\u663E\u793A\uFF1A512/\u4E94\u5382\u7EFC\u5305\u4E00\u697C,\u8FD9\u662F\u52A0\u7C97\u663E\u793A\u7684\u8D27\u54C1\u540D\u79F0\u53EF\u80FD\u6709\u591A\u884C",theme:"dark",infoList:[{label:"\u5546\u54C1\u6761\u7801",content:"623126388798"},{label:"\u622A\u6B62\u65E5\u671F",content:"2022-07-25"},{label:"\u4EA7\u54C1\u540D\u79F0",content:"\u5546\u54C1\u7684\u540D\u79F0"},{label:"\u54C1\u53F7",content:"12398765423"}]})),e.createElement("code",{className:"code"},`
55
+ `),e.createElement("h2",null,"\u53C2\u6570"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"type"),e.createElement("td",null,"\u7C7B\u578B"),e.createElement("td",null,"string: primary | dark | cutout"),e.createElement("td",null,"default")),e.createElement("tr",null,e.createElement("td",null,"onClick"),e.createElement("td",null,"\u70B9\u51FB\u4E8B\u4EF6"),e.createElement("td",null,"function"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"dataClick"),e.createElement("td",null,"arms \u76D1\u63A7\u4F7F\u7528"),e.createElement("td",null,"string"),e.createElement("td",null)))))}class k extends e.Component{constructor(t){super(t)}render(){const{className:t="",title:l,highlightInfo:n,subTitle:a,subHighlightInfo:r,subHighlightSubInfo:c,infoImage:i,tagText:o,highlightInfoCN:s,highlightSubInfo:E,percentage:m,highlightSubInfoCN:h,boldInfo:F,infoList:B=[],style:D={},theme:be="light"}=this.props;return e.createElement("div",{className:C({[t]:!0,"pda-info-card":!0,"pda-info-card-dark":be==="dark"}),style:D},e.createElement("div",{className:"pda-info-card-title-section"},e.createElement("div",{className:"pda-info-card-title"},l),o?e.createElement("div",{className:"pda-info-card-tag"},e.createElement("div",{className:"pda-info-card-tag-text"},o)):null),e.createElement("div",{className:"pda-info-card-highlight-section"},e.createElement("div",null,e.createElement("div",{className:"pda-info-card-highlight"},e.createElement("span",{className:"pda-info-card-highlight1"},n),e.createElement("span",{className:"pda-info-card-highlight1CN"},s),e.createElement("span",{className:"pda-info-card-highlight2"},E),e.createElement("span",{className:"pda-info-card-highlight2CN"},h)),a?e.createElement("div",{className:"pda-info-card-title"},a):null,r?e.createElement("div",{className:"pda-info-card-highlight"},e.createElement("span",{className:"pda-info-card-highlight1"},r),e.createElement("span",{className:"pda-info-card-highlight2"},c)):null),i?e.createElement("img",{src:i,width:150,height:150}):null),m!==void 0?e.createElement("div",{className:"pda-info-card-progress"},e.createElement("div",{className:"pda-info-card-progress-inside",style:{width:`${m*100}%`}})):null,e.createElement("div",{className:"pda-info-card-bold"},F),B.map((Z,Ae)=>e.createElement("div",{key:Ae,className:"pda-info-card-list"},e.createElement("span",null,Z.label||""),"\xA0\xA0",e.createElement("span",null,Z.content||""))))}}k.IMAGE_1="https://img.alicdn.com/imgextra/i2/O1CN01qYuxip1ME9zhdL9XG_!!6000000001402-2-tps-150-150.png";function We(){return e.createElement("div",null,e.createElement("h1",null,"InfoCard"),e.createElement("p",null,"InfoCard"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"light-block",style:{width:480,display:"block"}},e.createElement(k,{title:"\u5F85\u62E3\u4EF6\u6570",highlightInfo:"800",highlightInfoCN:"\u4EF6",highlightSubInfo:"/800",highlightSubInfoCN:"\u4EF6",percentage:.64,boldInfo:"\u52A0\u7C97\u663E\u793A\uFF1A512/\u4E94\u5382\u7EFC\u5305\u4E00\u697C,\u8FD9\u662F\u52A0\u7C97\u663E\u793A\u7684\u8D27\u54C1\u540D\u79F0\u53EF\u80FD\u6709\u591A\u884C",infoList:[{label:"\u5546\u54C1\u6761\u7801",content:"623126388798"},{label:"\u622A\u6B62\u65E5\u671F",content:"2022-07-25"},{label:"\u4EA7\u54C1\u540D\u79F0",content:"\u5546\u54C1\u7684\u540D\u79F0"},{label:"\u54C1\u53F7",content:"12398765423"}]}),e.createElement(k,{title:"\u5F85\u62E3\u4EF6\u6570",highlightInfo:"800",highlightInfoCN:"\u4EF6",highlightSubInfo:"/800",highlightSubInfoCN:"\u4EF6",percentage:.64,boldInfo:"\u52A0\u7C97\u663E\u793A\uFF1A512/\u4E94\u5382\u7EFC\u5305\u4E00\u697C,\u8FD9\u662F\u52A0\u7C97\u663E\u793A\u7684\u8D27\u54C1\u540D\u79F0\u53EF\u80FD\u6709\u591A\u884C",theme:"dark",infoList:[{label:"\u5546\u54C1\u6761\u7801",content:"623126388798"},{label:"\u622A\u6B62\u65E5\u671F",content:"2022-07-25"},{label:"\u4EA7\u54C1\u540D\u79F0",content:"\u5546\u54C1\u7684\u540D\u79F0"},{label:"\u54C1\u53F7",content:"12398765423"}]})),e.createElement("code",{className:"code"},`
56
56
  <InfoCard
57
57
  title="\u5F85\u62E3\u4EF6\u6570"
58
58
  highlightInfo="800"
@@ -69,7 +69,7 @@ WindVane.call('WindvanePlugin', 'invoke', "{'domain': 'keyboard', 'method': 'dis
69
69
  {label: '\u54C1\u53F7', content: '12398765423'},
70
70
  ]
71
71
  }
72
- />`),e.createElement("div",{className:"light-block",style:{width:480,display:"block"}},e.createElement(A,{title:"\u5F85\u62E3\u4EF6\u6570",highlightInfo:"800",highlightInfoCN:"\u4EF6",highlightSubInfo:"/800",highlightSubInfoCN:"\u4EF6",tagText:"\u5C11\u8D272",boldInfo:"\u52A0\u7C97\u663E\u793A\uFF1A512/\u4E94\u5382\u7EFC\u5305\u4E00\u697C,\u8FD9\u662F\u52A0\u7C97\u663E\u793A\u7684\u8D27\u54C1\u540D\u79F0\u53EF\u80FD\u6709\u591A\u884C",theme:"dark",infoList:[{label:"\u5546\u54C1\u6761\u7801",content:"623126388798"},{label:"\u622A\u6B62\u65E5\u671F",content:"2022-07-25"},{label:"\u4EA7\u54C1\u540D\u79F0",content:"\u5546\u54C1\u7684\u540D\u79F0"},{label:"\u54C1\u53F7",content:"12398765423"}]})),e.createElement("code",{className:"code"},`
72
+ />`),e.createElement("div",{className:"light-block",style:{width:480,display:"block"}},e.createElement(k,{title:"\u5F85\u62E3\u4EF6\u6570",highlightInfo:"800",highlightInfoCN:"\u4EF6",highlightSubInfo:"/800",highlightSubInfoCN:"\u4EF6",tagText:"\u5C11\u8D272",boldInfo:"\u52A0\u7C97\u663E\u793A\uFF1A512/\u4E94\u5382\u7EFC\u5305\u4E00\u697C,\u8FD9\u662F\u52A0\u7C97\u663E\u793A\u7684\u8D27\u54C1\u540D\u79F0\u53EF\u80FD\u6709\u591A\u884C",theme:"dark",infoList:[{label:"\u5546\u54C1\u6761\u7801",content:"623126388798"},{label:"\u622A\u6B62\u65E5\u671F",content:"2022-07-25"},{label:"\u4EA7\u54C1\u540D\u79F0",content:"\u5546\u54C1\u7684\u540D\u79F0"},{label:"\u54C1\u53F7",content:"12398765423"}]})),e.createElement("code",{className:"code"},`
73
73
  <InfoCard
74
74
  title="\u5F85\u62E3\u4EF6\u6570"
75
75
  highlightInfo="800"
@@ -87,13 +87,13 @@ infoList={
87
87
  {label: '\u54C1\u53F7', content: '12398765423'},
88
88
  ]
89
89
  }
90
- />`),e.createElement("div",{className:"light-block",style:{width:440,display:"block"}},e.createElement(A,{title:"\u6F0F\u626B\u7BB1\u6570/\u8BC6\u522B\u603B\u7BB1\u6570",highlightInfo:"400",highlightSubInfo:"/612",infoImage:A.IMAGE_1})),e.createElement("div",{className:"light-block",style:{width:440,display:"block"}},e.createElement(A,{title:"\u6F0F\u626B\u7BB1\u6570/\u8BC6\u522B\u603B\u7BB1\u6570",highlightInfo:"40",highlightSubInfo:"/612",infoImage:A.IMAGE_1})),e.createElement("code",{className:"code"},`
90
+ />`),e.createElement("div",{className:"light-block",style:{width:440,display:"block"}},e.createElement(k,{title:"\u6F0F\u626B\u7BB1\u6570/\u8BC6\u522B\u603B\u7BB1\u6570",highlightInfo:"400",highlightSubInfo:"/612",infoImage:k.IMAGE_1})),e.createElement("div",{className:"light-block",style:{width:440,display:"block"}},e.createElement(k,{title:"\u6F0F\u626B\u7BB1\u6570/\u8BC6\u522B\u603B\u7BB1\u6570",highlightInfo:"40",highlightSubInfo:"/612",infoImage:k.IMAGE_1})),e.createElement("code",{className:"code"},`
91
91
  <InfoCard
92
92
  title="\u6F0F\u626B\u7BB1\u6570/\u8BC6\u522B\u603B\u7BB1\u6570"
93
93
  highlightInfo="0"
94
94
  highlightSubInfo="/40"
95
95
  infoImage={InfoCard.IMAGE_1}
96
- />`),e.createElement("div",{className:"light-block",style:{width:440,display:"block"}},e.createElement(A,{title:"\u8BC6\u522B\u7BB1\u6570(CS)",highlightInfo:"10",highlightSubInfo:"/50",subTitle:"\u8BC6\u522B\u4E2A\u6570(EA)",subHighlightInfo:"400",subHighlightSubInfo:"/500",infoImage:A.IMAGE_1})),e.createElement("code",{className:"code"},`
96
+ />`),e.createElement("div",{className:"light-block",style:{width:440,display:"block"}},e.createElement(k,{title:"\u8BC6\u522B\u7BB1\u6570(CS)",highlightInfo:"10",highlightSubInfo:"/50",subTitle:"\u8BC6\u522B\u4E2A\u6570(EA)",subHighlightInfo:"400",subHighlightSubInfo:"/500",infoImage:k.IMAGE_1})),e.createElement("code",{className:"code"},`
97
97
  <InfoCard
98
98
  title="\u8BC6\u522B\u7BB1\u6570(CS)"
99
99
  highlightInfo="0"
@@ -167,7 +167,7 @@ infoImage={InfoCard.IMAGE_1}
167
167
  console.log("isConfirm", isConfirm);
168
168
  }}
169
169
  ></Confirm>
170
- `),e.createElement("h2",null,"\u53C2\u6570"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"title"),e.createElement("td",null,"\u6807\u9898"),e.createElement("td",null,"string"),e.createElement("td",null,"\u6807\u9898\u6587\u6848")),e.createElement("tr",null,e.createElement("td",null,"message"),e.createElement("td",null,"\u6D88\u606F\u5185\u5BB9"),e.createElement("td",null,"string"),e.createElement("td",null,"\u6D88\u606F\u5185\u5BB9")),e.createElement("tr",null,e.createElement("td",null,"okText"),e.createElement("td",null,"\u786E\u8BA4\u6309\u94AE\u6587\u672C"),e.createElement("td",null,"string"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"cancelText"),e.createElement("td",null,"\u53D6\u6D88\u6309\u94AE\u6587\u672C"),e.createElement("td",null,"string"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"onClick"),e.createElement("td",null,"\u6309\u94AE\u70B9\u51FB\u56DE\u8C03"),e.createElement("td",null,"(isConfirm)=>"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"type"),e.createElement("td",null,"\u7C7B\u578B"),e.createElement("td",null,"string: primary | warning"),e.createElement("td",null,"primary")),e.createElement("tr",null,e.createElement("td",null,"subMessage"),e.createElement("td",null,"\u63CF\u8FF0"),e.createElement("td",null,JSON.stringify([{label:"\u7BB1\u7801"},{content:"abcdefghijklmnopqrstuvwxyz"}])),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"okDataClick"),e.createElement("td",null,"ok \u6309\u94AE arms \u76D1\u63A7"),e.createElement("td",null,"string"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"cancelDataClick"),e.createElement("td",null,"cancel \u6309\u94AE arms \u76D1\u63A7"),e.createElement("td",null,"string"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"insertButtons"),e.createElement("td",null,"\u63D2\u5165\u5728\u9ED8\u8BA4\u6309\u94AE\u4E0A\u9762"),e.createElement("td",null,JSON.stringify([{label:"\u67E5\u770B\u8BE6\u60C5111",value:"hello",dataClick:"\u67E5\u770B\u8BE6\u60C51234"}])),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"appendButtons"),e.createElement("td",null,"\u8FFD\u52A0\u5230\u9ED8\u8BA4\u6309\u94AE\u4E0B\u9762"),e.createElement("td",null,JSON.stringify([{label:"\u67E5\u770B\u8BE6\u60C5222",value:"hello",dataClick:"\u67E5\u770B\u8BE6\u60C51234"}])),e.createElement("td",null)))))}function ae(u){const t={domain:"logger",method:"deviceLog",params:u};WindVane.call("WindvanePlugin","invoke",JSON.stringify(t),function(l){},function(l){})}function Ve(u){return(typeof u=="function"?u():u)||document.body}function Ke(u){return u===void 0}function re(...u){function t(n,a){return Ke(a)?n:a}let l=Object.assign({},u[0]);for(let n=1;n<u.length;n++)l=Object.assign(l,u[n],t);return l}function S(u){if(window.WindVane){var t={domain:"audio",method:"playSound",params:{sound:u}};WindVane.call("WindvanePlugin","invoke",JSON.stringify(t))}}function Ue(u){return{success:"toast-wrap success",warning:"toast-wrap warning",error:"toast-wrap error"}[u]||"toast-wrap"}function b(u){const{title:t="title",message:l="message",type:n="success",duration:a=null}=u,[r,c]=p.exports.useState(!1);return p.exports.useEffect(()=>{window.WindVane&&(n==="warning"?(S("error1"),window.WindVane.call("WVMotion","vibrate",{duration:400})):n==="error"&&(S("error2"),window.WindVane.call("WVMotion","vibrate",{duration:200}),setTimeout(()=>{window.WindVane.call("WVMotion","vibrate",{duration:300})},250)))},[]),a&&setTimeout(()=>{c(!0)},a),r?null:e.createElement("div",{className:Ue(n)},e.createElement("div",{className:"toast-title"},t),e.createElement("div",{className:"toast-message"},l))}const je={maskClickable:!0,stopPropagation:["click"]},ze=u=>{const t=re(je,u),{maskClickable:l,content:n,icon:a,position:r="bottom",closable:c=!0,title:i,message:o,type:s,visible:E,renderContent:m}=t;return e.createElement(v,{visible:E,verticalPosition:r,closable:c},m?m():e.createElement(b,{title:i,message:o,type:s}))},ce=[];function oe(u){H.unmountComponentAtNode(u)&&u.parentNode&&u.parentNode.removeChild(u)}const qe={duration:2e3};function G(u){const t=re(qe,u);let l=0;const{getContainer:n=()=>document.body}=t,a=document.createElement("div");Ve(n).appendChild(a),ce.push(a);const c=p.exports.forwardRef((o,s)=>{const[E,m]=p.exports.useState(!0);return p.exports.useEffect(()=>()=>{t.afterClose&&t.afterClose()},[]),p.exports.useEffect(()=>{if(t.duration!==0)return l=window.setTimeout(()=>{m(!1)},t.duration),()=>{window.clearTimeout(l)}},[]),p.exports.useImperativeHandle(s,()=>({close:()=>m(!1)})),e.createElement(ze,L(g({},t),{getContainer:()=>a,visible:E,afterClose:()=>{oe(a)}}))}),i=p.exports.createRef();return H.render(e.createElement(c,{ref:i}),a),{close:()=>{var o;(o=i.current)==null||o.close()}}}function Ye(){for(;;){const u=ce.pop();if(!u)break;oe(u)}}function Je(u={}){const{duration:t=1e4}=u;return G({duration:t,position:"center",closable:!1,renderContent:function(){return e.createElement("div",{className:"loading-box"},e.createElement("svg",{t:"1647243772165",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2178"},e.createElement("path",{d:"M512 64c247.2 0 448 200.8 448 448h-64c0-212-172-384-384-384V64z m0 832c-212 0-384-172-384-384H64c0 247.2 200.8 448 448 448v-64z","p-id":"2179"})),e.createElement("div",null,"LOADING..."))}})}function Ze(u={}){const n=u,{duration:t=0}=n,l=x(n,["duration"]);return G({duration:t,position:"bottom",closable:!0,renderContent:function(){return e.createElement(N,g({},l))}})}b.show=G;b.loading=Je;b.confirm=Ze;b.clear=Ye;function Qe(){return e.createElement("div",null,e.createElement("h1",null,"Toast"),e.createElement("p",null,"\u5F39\u7A97\u7EC4\u4EF6\uFF0C\u5982\u679C\u8981\u60AC\u6D6E\u5728\u9875\u9762\u4E0A\uFF0C\u8BF7\u914D\u5408 Overlay \u4F7F\u7528"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"light-block"},e.createElement(d.Group,null,e.createElement(d,{onClick:u=>{let t=b.show({type:"success",title:"hello title222",message:"\u4E24\u79D2\u540E\u901A\u8FC7 handle.close() \u5173\u95ED",duration:8e3});setTimeout(()=>{t.close()},2e3)}},"\u70B9\u51FB toast"),e.createElement(d,{onClick:u=>{b.loading({duration:4e3}),setTimeout(()=>{},2e3)}},"\u70B9\u51FB loading"),e.createElement(d,{onClick:u=>{b.confirm({type:"warning",title:"this is title",message:"22222",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onClick:t=>{console.log("isConfirm",t)}})}},"\u70B9\u51FB confirm"),e.createElement(d,{onClick:u=>{b.show({renderContent:function(){return e.createElement("p",{style:{fontSize:30}},"\u81EA\u5B9A\u4E49\u6E32\u67D3")}})}},"\u81EA\u5B9A\u4E49\u6E32\u67D3")),e.createElement(b,{title:"111111",message:"22222",type:"success"}),e.createElement("br",null),e.createElement(b,{title:"111111",message:"22222",type:"warning"}),e.createElement("br",null),e.createElement(b,{title:"\u5EF6\u65F6\u5173\u95ED",message:"duration={3000}",type:"error",duration:3e3}),e.createElement("br",null)),e.createElement("code",{className:"code"},`
170
+ `),e.createElement("h2",null,"\u53C2\u6570"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"title"),e.createElement("td",null,"\u6807\u9898"),e.createElement("td",null,"string"),e.createElement("td",null,"\u6807\u9898\u6587\u6848")),e.createElement("tr",null,e.createElement("td",null,"message"),e.createElement("td",null,"\u6D88\u606F\u5185\u5BB9"),e.createElement("td",null,"string"),e.createElement("td",null,"\u6D88\u606F\u5185\u5BB9")),e.createElement("tr",null,e.createElement("td",null,"okText"),e.createElement("td",null,"\u786E\u8BA4\u6309\u94AE\u6587\u672C"),e.createElement("td",null,"string"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"cancelText"),e.createElement("td",null,"\u53D6\u6D88\u6309\u94AE\u6587\u672C"),e.createElement("td",null,"string"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"onClick"),e.createElement("td",null,"\u6309\u94AE\u70B9\u51FB\u56DE\u8C03"),e.createElement("td",null,"(isConfirm)=>"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"type"),e.createElement("td",null,"\u7C7B\u578B"),e.createElement("td",null,"string: primary | warning"),e.createElement("td",null,"primary")),e.createElement("tr",null,e.createElement("td",null,"subMessage"),e.createElement("td",null,"\u63CF\u8FF0"),e.createElement("td",null,JSON.stringify([{label:"\u7BB1\u7801"},{content:"abcdefghijklmnopqrstuvwxyz"}])),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"okDataClick"),e.createElement("td",null,"ok \u6309\u94AE arms \u76D1\u63A7"),e.createElement("td",null,"string"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"cancelDataClick"),e.createElement("td",null,"cancel \u6309\u94AE arms \u76D1\u63A7"),e.createElement("td",null,"string"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"insertButtons"),e.createElement("td",null,"\u63D2\u5165\u5728\u9ED8\u8BA4\u6309\u94AE\u4E0A\u9762"),e.createElement("td",null,JSON.stringify([{label:"\u67E5\u770B\u8BE6\u60C5111",value:"hello",dataClick:"\u67E5\u770B\u8BE6\u60C51234"}])),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"appendButtons"),e.createElement("td",null,"\u8FFD\u52A0\u5230\u9ED8\u8BA4\u6309\u94AE\u4E0B\u9762"),e.createElement("td",null,JSON.stringify([{label:"\u67E5\u770B\u8BE6\u60C5222",value:"hello",dataClick:"\u67E5\u770B\u8BE6\u60C51234"}])),e.createElement("td",null)))))}function ae(u){const t={domain:"logger",method:"deviceLog",params:u};WindVane.call("WindvanePlugin","invoke",JSON.stringify(t),function(l){},function(l){})}function Ve(u){return(typeof u=="function"?u():u)||document.body}function Ke(u){return u===void 0}function re(...u){function t(n,a){return Ke(a)?n:a}let l=Object.assign({},u[0]);for(let n=1;n<u.length;n++)l=Object.assign(l,u[n],t);return l}function S(u){if(window.WindVane){var t={domain:"audio",method:"playSound",params:{sound:u}};WindVane.call("WindvanePlugin","invoke",JSON.stringify(t))}}function Ue(u){return{success:"toast-wrap success",warning:"toast-wrap warning",error:"toast-wrap error"}[u]||"toast-wrap"}function b(u){const{title:t="title",message:l="message",type:n="success",duration:a=null,hasVoice:r=!0}=u,[c,i]=p.exports.useState(!1);return p.exports.useEffect(()=>{window.WindVane&&r&&(n==="warning"?(S("error1"),window.WindVane.call("WVMotion","vibrate",{duration:400})):n==="error"&&(S("error2"),window.WindVane.call("WVMotion","vibrate",{duration:200}),setTimeout(()=>{window.WindVane.call("WVMotion","vibrate",{duration:300})},250)))},[]),a&&setTimeout(()=>{i(!0)},a),c?null:e.createElement("div",{className:Ue(n)},e.createElement("div",{className:"toast-title"},t),e.createElement("div",{className:"toast-message"},l))}const je={maskClickable:!0,stopPropagation:["click"]},ze=u=>{const t=re(je,u),{maskClickable:l,content:n,icon:a,position:r="bottom",closable:c=!0,title:i,message:o,type:s,visible:E,renderContent:m}=t;return e.createElement(v,{visible:E,verticalPosition:r,closable:c},m?m():e.createElement(b,{title:i,message:o,type:s}))},ce=[];function oe(u){H.unmountComponentAtNode(u)&&u.parentNode&&u.parentNode.removeChild(u)}const qe={duration:2e3};function G(u){const t=re(qe,u);let l=0;const{getContainer:n=()=>document.body}=t,a=document.createElement("div");Ve(n).appendChild(a),ce.push(a);const c=p.exports.forwardRef((o,s)=>{const[E,m]=p.exports.useState(!0);return p.exports.useEffect(()=>()=>{t.afterClose&&t.afterClose()},[]),p.exports.useEffect(()=>{if(t.duration!==0)return l=window.setTimeout(()=>{m(!1)},t.duration),()=>{window.clearTimeout(l)}},[]),p.exports.useImperativeHandle(s,()=>({close:()=>m(!1)})),e.createElement(ze,L(g({},t),{getContainer:()=>a,visible:E,afterClose:()=>{oe(a)}}))}),i=p.exports.createRef();return H.render(e.createElement(c,{ref:i}),a),{close:()=>{var o;(o=i.current)==null||o.close()}}}function Ye(){for(;;){const u=ce.pop();if(!u)break;oe(u)}}function Je(u={}){const{duration:t=1e4}=u;return G({duration:t,position:"center",closable:!1,renderContent:function(){return e.createElement("div",{className:"loading-box"},e.createElement("svg",{t:"1647243772165",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2178"},e.createElement("path",{d:"M512 64c247.2 0 448 200.8 448 448h-64c0-212-172-384-384-384V64z m0 832c-212 0-384-172-384-384H64c0 247.2 200.8 448 448 448v-64z","p-id":"2179"})),e.createElement("div",null,"LOADING..."))}})}function Ze(u={}){const n=u,{duration:t=0}=n,l=x(n,["duration"]);return G({duration:t,position:"bottom",closable:!0,renderContent:function(){return e.createElement(N,g({},l))}})}b.show=G;b.loading=Je;b.confirm=Ze;b.clear=Ye;function Qe(){return e.createElement("div",null,e.createElement("h1",null,"Toast"),e.createElement("p",null,"\u5F39\u7A97\u7EC4\u4EF6\uFF0C\u5982\u679C\u8981\u60AC\u6D6E\u5728\u9875\u9762\u4E0A\uFF0C\u8BF7\u914D\u5408 Overlay \u4F7F\u7528"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"light-block"},e.createElement(d.Group,null,e.createElement(d,{onClick:u=>{let t=b.show({type:"success",title:"hello title222",message:"\u4E24\u79D2\u540E\u901A\u8FC7 handle.close() \u5173\u95ED",duration:8e3});setTimeout(()=>{t.close()},2e3)}},"\u70B9\u51FB toast"),e.createElement(d,{onClick:u=>{b.loading({duration:4e3}),setTimeout(()=>{},2e3)}},"\u70B9\u51FB loading"),e.createElement(d,{onClick:u=>{b.confirm({type:"warning",title:"this is title",message:"22222",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onClick:t=>{console.log("isConfirm",t)}})}},"\u70B9\u51FB confirm"),e.createElement(d,{onClick:u=>{b.show({renderContent:function(){return e.createElement("p",{style:{fontSize:30}},"\u81EA\u5B9A\u4E49\u6E32\u67D3")}})}},"\u81EA\u5B9A\u4E49\u6E32\u67D3")),e.createElement(b,{title:"111111",message:"22222",type:"success"}),e.createElement("br",null),e.createElement(b,{title:"111111",message:"22222",type:"warning"}),e.createElement("br",null),e.createElement(b,{title:"\u5EF6\u65F6\u5173\u95ED",message:"duration={3000}",type:"error",duration:3e3}),e.createElement("br",null)),e.createElement("code",{className:"code"},`
171
171
  let handle = Toast.show({
172
172
  type: 'success',
173
173
  title: 'hello title222',
@@ -250,7 +250,7 @@ infoImage={InfoCard.IMAGE_1}
250
250
  `),e.createElement("h2",null,"\u53C2\u6570"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"label"),e.createElement("td",null,"label"),e.createElement("td",null,"string"),e.createElement("td",null,"label")),e.createElement("tr",null,e.createElement("td",null,"type"),e.createElement("td",null,"\u7C7B\u578B"),e.createElement("td",null,"success | warning | error"),e.createElement("td",null,"success")))))}function M(u){const{className:t="",title:l="",content:n="",type:a="default",onClick:r=()=>{}}=u;return l||n?e.createElement("div",{className:C({[t]:!0,"simple-card":!0,["simple-card-"+a]:!0}),onClick:r},e.createElement("p",{className:"simple-card-title"},l),e.createElement("p",{className:"simple-card-content"},n)):null}function lt(){return e.createElement("div",null,e.createElement("h1",null,"SimpleCard"),e.createElement("p",null,"\u7B80\u5355 Card"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"light-block"},e.createElement(M,{title:"\u6807\u9898",content:"\u5185\u5BB9",type:"error",onClick:u=>{console.log(u)}}),e.createElement(M,{title:"500",content:"\u88C5\u8F66\u5B8C\u6210",onClick:u=>{console.log(u)}}),e.createElement(M,{title:"500",content:"\u88C5\u8F66\u5B8C\u6210",type:"dark",onClick:u=>{console.log(u)}})),e.createElement("code",{className:"code"},`
251
251
  <SimpleCard title="\u6807\u9898" content="\u5185\u5BB9" type='error' onClick={e=>{console.log(e);}}/>
252
252
  <SimpleCard title="500" content="\u88C5\u8F66\u5B8C\u6210" onClick={e=>{console.log(e);}}/>
253
- `),e.createElement("h2",null,"\u53C2\u6570"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"title"),e.createElement("td",null,"\u6807\u9898"),e.createElement("td",null,"string"),e.createElement("td",null,"title")),e.createElement("tr",null,e.createElement("td",null,"content"),e.createElement("td",null,"\u5185\u5BB9"),e.createElement("td",null,"string"),e.createElement("td",null,"content")),e.createElement("tr",null,e.createElement("td",null,"onClick"),e.createElement("td",null,"\u70B9\u51FB\u4E8B\u4EF6"),e.createElement("td",null,"function"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"type"),e.createElement("td",null,"\u7C7B\u578B"),e.createElement("td",null,"default | error"),e.createElement("td",null,"default")))))}function ut(u){const{className:t=void 0,dataSource:l=[],title:n="",tag:a}=u;return e.createElement("div",{className:C({[t]:!0,"simple-card-block":!0})},e.createElement("div",{className:"simple-card-block-header"},e.createElement("p",{className:"simple-card-block-title"},n),a?e.createElement("div",{style:{marginLeft:12}},e.createElement(V,g({},a))):null),l.length>0?e.createElement("div",{className:"simple-card-block-content"},l.map((r,c)=>e.createElement(M,g({key:c},r))),e.createElement("div",{style:{display:"inline-block",padding:"12px 18px"}}),e.createElement("div",{style:{display:"inline-block",padding:"0 18px",margin:0}})):null)}function nt(){return e.createElement("div",null,e.createElement("h1",null,"SimpleCardBlock"),e.createElement("p",null,"\u5361\u7247\u5757"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"light-block"},e.createElement(ut,{title:"\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F",tag:{label:"\u6CE8\u610F\u5566",type:"warning"},dataSource:[{title:"500",content:"\u88C5\u8F66\u5B8C\u6210"},{title:"\u6807\u9898",content:"\u5185\u5BB9",type:"error",onClick:u=>console.log(u)},{title:"500",content:"\u88C5\u8F66\u5B8C\u6210"},{title:"\u6807\u9898",content:"\u5185\u5BB9",type:"error",onClick:u=>console.log(u)},{title:"500",content:"\u88C5\u8F66\u5B8C\u6210"}]})),e.createElement("code",{className:"code"},`
253
+ `),e.createElement("h2",null,"\u53C2\u6570"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"title"),e.createElement("td",null,"\u6807\u9898"),e.createElement("td",null,"string"),e.createElement("td",null,"title")),e.createElement("tr",null,e.createElement("td",null,"content"),e.createElement("td",null,"\u5185\u5BB9"),e.createElement("td",null,"string"),e.createElement("td",null,"content")),e.createElement("tr",null,e.createElement("td",null,"onClick"),e.createElement("td",null,"\u70B9\u51FB\u4E8B\u4EF6"),e.createElement("td",null,"function"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"type"),e.createElement("td",null,"\u7C7B\u578B"),e.createElement("td",null,"default | error"),e.createElement("td",null,"default")))))}function ut(u){const{className:t=void 0,dataSource:l=[],title:n="",tag:a}=u;return e.createElement("div",{className:C({[t]:!0,"simple-card-block":!0})},e.createElement("div",{className:"simple-card-block-header"},e.createElement("p",{className:"simple-card-block-title"},n),a?e.createElement("div",{style:{marginLeft:12}},e.createElement(V,g({},a))):null),l.length>0?e.createElement("div",{className:"simple-card-block-content"},l.map((r,c)=>e.createElement(M,g({key:c},r)))):null)}function nt(){return e.createElement("div",null,e.createElement("h1",null,"SimpleCardBlock"),e.createElement("p",null,"\u5361\u7247\u5757"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"light-block"},e.createElement(ut,{title:"\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F",tag:{label:"\u6CE8\u610F\u5566",type:"warning"},dataSource:[{title:"500",content:"\u88C5\u8F66\u5B8C\u6210"},{title:"\u6807\u9898",content:"\u5185\u5BB9",type:"error",onClick:u=>console.log(u)},{title:"500",content:"\u88C5\u8F66\u5B8C\u6210"},{title:"\u6807\u9898",content:"\u5185\u5BB9",type:"error",onClick:u=>console.log(u)},{title:"500",content:"\u88C5\u8F66\u5B8C\u6210"}]})),e.createElement("code",{className:"code"},`
254
254
  <SimpleCardBlock
255
255
  title="\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F\u51FA\u5E93\u4FE1\u606F"
256
256
  tag={
@@ -311,7 +311,7 @@ infoImage={InfoCard.IMAGE_1}
311
311
  images={images}
312
312
  />
313
313
  <button onClick={() => imgRef && imgRef.onShow()}> \u9884\u89C8 </button>
314
- `),e.createElement("h2",null,"\u53C2\u6570"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"images"),e.createElement("td",null,"\u56FE\u7247\u6570\u636E"),e.createElement("td",null,"Array"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"defaultVisible"),e.createElement("td",null,"\u9ED8\u8BA4\u9884\u89C8\u72B6\u6001"),e.createElement("td",null,"Boolean"),e.createElement("td",null,"false")),e.createElement("tr",null,e.createElement("td",null,"onShow"),e.createElement("td",null,"\u663E\u793A\u4E8B\u4EF6"),e.createElement("td",null,"Function"),e.createElement("td",null,"-")),e.createElement("tr",null,e.createElement("td",null,"onHide"),e.createElement("td",null,"\u9690\u85CF\u4E8B\u4EF6"),e.createElement("td",null,"Function"),e.createElement("td",null,"-")),e.createElement("tr",null,e.createElement("td",null,"onClose"),e.createElement("td",null,"\u5173\u95ED\u540E\u56DE\u8C03"),e.createElement("td",null,"Function"),e.createElement("td",null,"-")))))}function k(u){const{image:t=k.IMAGE_1,text:l="",subText:n="",transparent:a}=u;return e.createElement("div",{className:a?"presentation-card transparent":"presentation-card"},e.createElement("img",{src:t}),l?e.createElement("div",{className:"text"},l):null,n?e.createElement("div",{className:"sub-text"},n):null)}k.IMAGE_1="https://img.alicdn.com/imgextra/i3/O1CN019Ivkor1ksy3pMGDsz_!!6000000004740-2-tps-280-322.png";k.IMAGE_2="https://img.alicdn.com/imgextra/i1/O1CN01lhSunu1X4VPw1Mlas_!!6000000002870-2-tps-352-158.png";k.IMAGE_3="https://img.alicdn.com/imgextra/i1/O1CN01mreYXo1XfbUsQ7hip_!!6000000002951-2-tps-322-144.png";k.IMAGE_4="https://img.alicdn.com/imgextra/i3/O1CN017gNM8F1Fmmcfti7Dg_!!6000000000530-1-tps-414-286.gif";function mt(){return e.createElement("div",null,e.createElement("h1",null,"Presentation"),e.createElement("p",null,"\u56FE\u793A\u7EC4\u4EF6\uFF0C\u901A\u5E38\u5305\u542B\u4E00\u4E2A\u56FE\u7247+\u4E00\u884C\u6587\u5B57"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"light-block pda"},e.createElement(k,{text:"\u8BF7\u9760\u8FD1\u62A5\u5E9F\u7EB8\u7BB1",subText:"\u5F00\u59CB\u8BC6\u522B"})),e.createElement("br",null),e.createElement("div",{className:"light-block pda",style:{backgroundColor:"#000000"}},e.createElement(k,{image:k.IMAGE_4,text:"\u8BF7\u9760\u8FD1\u7EB8\u7BB1",subText:"\u5F00\u59CB\u8BC6\u522B",transparent:!0})),e.createElement("br",null),e.createElement("div",{className:"light-block pda",imageWidth:300,imageHeight:500,style:{backgroundColor:"#000000"}},e.createElement(k,{image:k.IMAGE_2,imageStyle:{width:"500px"},text:"\u8BF7\u9760\u8FD1\u62A5\u5E9F\u7EB8\u7BB1",subText:"\u5F00\u59CB\u8BC6\u522B",transparent:!0})),e.createElement("br",null),e.createElement("div",{className:"light-block pda",style:{backgroundColor:"#000000"}},e.createElement(k,{image:k.IMAGE_3,text:"\u8BF7\u9760\u8FD1\u7BB1\u7801\u8FDB\u884C\u8BC6\u522B"})),e.createElement("br",null),e.createElement("code",{className:"code"},`
314
+ `),e.createElement("h2",null,"\u53C2\u6570"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"images"),e.createElement("td",null,"\u56FE\u7247\u6570\u636E"),e.createElement("td",null,"Array"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"defaultVisible"),e.createElement("td",null,"\u9ED8\u8BA4\u9884\u89C8\u72B6\u6001"),e.createElement("td",null,"Boolean"),e.createElement("td",null,"false")),e.createElement("tr",null,e.createElement("td",null,"onShow"),e.createElement("td",null,"\u663E\u793A\u4E8B\u4EF6"),e.createElement("td",null,"Function"),e.createElement("td",null,"-")),e.createElement("tr",null,e.createElement("td",null,"onHide"),e.createElement("td",null,"\u9690\u85CF\u4E8B\u4EF6"),e.createElement("td",null,"Function"),e.createElement("td",null,"-")),e.createElement("tr",null,e.createElement("td",null,"onClose"),e.createElement("td",null,"\u5173\u95ED\u540E\u56DE\u8C03"),e.createElement("td",null,"Function"),e.createElement("td",null,"-")))))}function A(u){const{image:t=A.IMAGE_1,text:l="",subText:n="",transparent:a}=u;return e.createElement("div",{className:a?"presentation-card transparent":"presentation-card"},e.createElement("img",{src:t}),l?e.createElement("div",{className:"text"},l):null,n?e.createElement("div",{className:"sub-text"},n):null)}A.IMAGE_1="https://img.alicdn.com/imgextra/i3/O1CN019Ivkor1ksy3pMGDsz_!!6000000004740-2-tps-280-322.png";A.IMAGE_2="https://img.alicdn.com/imgextra/i1/O1CN01lhSunu1X4VPw1Mlas_!!6000000002870-2-tps-352-158.png";A.IMAGE_3="https://img.alicdn.com/imgextra/i1/O1CN01mreYXo1XfbUsQ7hip_!!6000000002951-2-tps-322-144.png";A.IMAGE_4="https://img.alicdn.com/imgextra/i3/O1CN017gNM8F1Fmmcfti7Dg_!!6000000000530-1-tps-414-286.gif";function mt(){return e.createElement("div",null,e.createElement("h1",null,"Presentation"),e.createElement("p",null,"\u56FE\u793A\u7EC4\u4EF6\uFF0C\u901A\u5E38\u5305\u542B\u4E00\u4E2A\u56FE\u7247+\u4E00\u884C\u6587\u5B57"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"light-block pda"},e.createElement(A,{text:"\u8BF7\u9760\u8FD1\u62A5\u5E9F\u7EB8\u7BB1",subText:"\u5F00\u59CB\u8BC6\u522B"})),e.createElement("br",null),e.createElement("div",{className:"light-block pda",style:{backgroundColor:"#000000"}},e.createElement(A,{image:A.IMAGE_4,text:"\u8BF7\u9760\u8FD1\u7EB8\u7BB1",subText:"\u5F00\u59CB\u8BC6\u522B",transparent:!0})),e.createElement("br",null),e.createElement("div",{className:"light-block pda",imageWidth:300,imageHeight:500,style:{backgroundColor:"#000000"}},e.createElement(A,{image:A.IMAGE_2,imageStyle:{width:"500px"},text:"\u8BF7\u9760\u8FD1\u62A5\u5E9F\u7EB8\u7BB1",subText:"\u5F00\u59CB\u8BC6\u522B",transparent:!0})),e.createElement("br",null),e.createElement("div",{className:"light-block pda",style:{backgroundColor:"#000000"}},e.createElement(A,{image:A.IMAGE_3,text:"\u8BF7\u9760\u8FD1\u7BB1\u7801\u8FDB\u884C\u8BC6\u522B"})),e.createElement("br",null),e.createElement("code",{className:"code"},`
315
315
  <Presentation text="\u8BF7\u9760\u8FD1\u62A5\u5E9F\u7EB8\u7BB1" subText="\u5F00\u59CB\u8BC6\u522B"></Presentation>
316
316
  <Presentation image={Presentation.IMAGE_4} text="\u8BF7\u9760\u8FD1\u7EB8\u7BB1" subText="\u5F00\u59CB\u8BC6\u522B" transparent={true}></Presentation>
317
317
  <Presentation image={Presentation.IMAGE_2} imageStyle={{width: "500px"}} text="\u8BF7\u9760\u8FD1\u62A5\u5E9F\u7EB8\u7BB1" subText="\u5F00\u59CB\u8BC6\u522B" transparent={true} ></Presentation>
@@ -346,7 +346,7 @@ infoImage={InfoCard.IMAGE_1}
346
346
  dataSource={dataSource}
347
347
  >
348
348
  </List>
349
- `),e.createElement("h2",null,"List"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"onClickItem"),e.createElement("td",null,"Item \u70B9\u51FB\u56DE\u8C03\uFF0C\u53C2\u6570 dataSource[i]"),e.createElement("td",null,"Function"),e.createElement("td",null,"-")),e.createElement("tr",null,e.createElement("td",null,"dataSource"),e.createElement("td",null,"Array({title, subTitle, extra, tags})"),e.createElement("td",null,"Array"),e.createElement("td",null,"-")))))}const U=()=>{};function j(u){const{label:t="\u67E5\u8BE2",onWakeKeyboard:l=U,onClick:n=U,onHidden:a=U,type:r="tel",placeholder:c="\u8BF7\u8F93\u5165",autoClose:i=!0}=u,o=p.exports.useRef(null),[s,E]=p.exports.useState(!0);return p.exports.useEffect(()=>{const m=h=>{const{code:F,keyCode:B,key:D}=h;if(F==="Enter"){h.preventDefault(),n(o.current.value,h),a(!0),E(!1);return}};return requestAnimationFrame(()=>{o.current.focus(),l()}),document.addEventListener("keyup",m),()=>{document.removeEventListener("keyup",m)}},[]),s?e.createElement("div",{className:"wakekeyborard-overlay",onClick:m=>{m.target.className&&m.target.className.includes("wakekeyborard-overlay")&&i&&(a(!1),E(!1))}},e.createElement("div",{className:"wakekeyborard-inputbox"},e.createElement("input",{ref:o,type:r,placeholder:c}),e.createElement(d,{type:"cutout",onClick:m=>{n(o.current.value,m),i&&(a(!0),E(!1))}},t))):null}const de=()=>{};function he(u){const[t,l]=p.exports.useState(u.autoWakeup||!1),c=u,{onClick:n=de,onHidden:a=de}=c,r=x(c,["onClick","onHidden"]);return e.createElement("div",{className:"wakekeyborard"},t?e.createElement(j,g({onClick:(i,o)=>{n(i),l(!t)},onHidden:i=>{l(!1),a(i)}},r)):null,t?null:e.createElement("div",{className:"wakekeyborard-icon",onClick:i=>{l(!t)}}))}he.Keyborard=j;function pt(){const[u,t]=p.exports.useState(!1);return e.createElement("div",null,e.createElement("h1",null,"WakeKeyborard"),e.createElement("p",null,"WakeKeyborard"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"light-block"},e.createElement("p",null,"\u70B9\u51FB\u53F3\u4E0B\u89D2\u952E\u76D8"),e.createElement(he,{autoWakeup:!0,label:"\u641C\u7D22",onWakeKeyboard:()=>{console.log("wake keyboard")},onHidden:()=>{console.log("keyboard hidden")},onClick:l=>{console.log("v is ",l)},type:"text"}),e.createElement("p",null,"\u70B9\u51FB\u4E0B\u9762\u6309\u94AE\u5524\u8D77"),e.createElement(d,{onClick:l=>{t(!u)}},"\u8F93\u5165"),u?e.createElement(j,{onWakeKeyboard:l=>{console.log("keyborard from button")},onClick:l=>{console.log("value: ",l)},onHidden:l=>{console.log("keyborard hidden from button"),t(!1)}}):null),e.createElement("code",{className:"code"},`
349
+ `),e.createElement("h2",null,"List"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"onClickItem"),e.createElement("td",null,"Item \u70B9\u51FB\u56DE\u8C03\uFF0C\u53C2\u6570 dataSource[i]"),e.createElement("td",null,"Function"),e.createElement("td",null,"-")),e.createElement("tr",null,e.createElement("td",null,"dataSource"),e.createElement("td",null,"Array({title, subTitle, extra, tags})"),e.createElement("td",null,"Array"),e.createElement("td",null,"-")))))}const U=()=>{};function j(u){const{label:t="\u67E5\u8BE2",onWakeKeyboard:l=U,onClick:n=U,onHidden:a=U,type:r="tel",placeholder:c="\u8BF7\u8F93\u5165",autoClose:i=!0}=u,o=p.exports.useRef(null),[s,E]=p.exports.useState(!0);return p.exports.useEffect(()=>{const m=h=>{const{code:F,keyCode:B,key:D}=h;if(F==="Enter"){h.preventDefault(),n(o.current.value,h),a(!0),E(!1);return}};return requestAnimationFrame(()=>{o.current.focus(),l()}),document.addEventListener("keyup",m),()=>{document.removeEventListener("keyup",m)}},[]),s?e.createElement("div",{className:"wakekeyborard-overlay",onClick:m=>{m.target.className&&m.target.className.includes("wakekeyborard-overlay")&&(a(!1),i&&E(!1))}},e.createElement("div",{className:"wakekeyborard-inputbox"},e.createElement("input",{ref:o,type:r,placeholder:c}),e.createElement(d,{type:"cutout",onClick:m=>{n(o.current.value,m),a(!0),i&&E(!1)}},t))):null}const de=()=>{};function he(u){const[t,l]=p.exports.useState(u.autoWakeup||!1),c=u,{onClick:n=de,onHidden:a=de}=c,r=x(c,["onClick","onHidden"]);return e.createElement("div",{className:"wakekeyborard"},t?e.createElement(j,g({onClick:(i,o)=>{n(i),l(!t)},onHidden:i=>{l(!1),a(i)}},r)):null,t?null:e.createElement("div",{className:"wakekeyborard-icon",onClick:i=>{l(!t)}}))}he.Keyborard=j;function pt(){const[u,t]=p.exports.useState(!1);return e.createElement("div",null,e.createElement("h1",null,"WakeKeyborard"),e.createElement("p",null,"WakeKeyborard"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"light-block"},e.createElement("p",null,"\u70B9\u51FB\u53F3\u4E0B\u89D2\u952E\u76D8"),e.createElement(he,{autoWakeup:!0,label:"\u641C\u7D22",onWakeKeyboard:()=>{console.log("wake keyboard")},onHidden:()=>{console.log("keyboard hidden")},onClick:l=>{console.log("v is ",l)},type:"text"}),e.createElement("p",null,"\u70B9\u51FB\u4E0B\u9762\u6309\u94AE\u5524\u8D77"),e.createElement(d,{onClick:l=>{t(!u)}},"\u8F93\u5165"),u?e.createElement(j,{onWakeKeyboard:l=>{console.log("keyborard from button")},onClick:l=>{console.log("value: ",l)},onHidden:l=>{console.log("keyborard hidden from button"),t(!1)}}):null),e.createElement("code",{className:"code"},`
350
350
  <WakeKeyborard
351
351
  autoWakeup={true}
352
352
  label='\u641C\u7D22'
@@ -390,7 +390,7 @@ input ? (
390
390
  `),e.createElement("h2",null,"WakeKeyborard \u53C2\u6570"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"autoWakeup"),e.createElement("td",null,"\u81EA\u52A8\u5524\u8D77"),e.createElement("td",null,"boolean"),e.createElement("td",null,"false")))),e.createElement("p",null,"\u5176\u4ED6\u53C2\u6570\u540C\u4E0B\u9762 Keyboard \u53C2\u6570"),e.createElement("h2",null,"Keyborard \u53C2\u6570"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"label"),e.createElement("td",null,"\u786E\u8BA4\u6309\u952E\u6587\u6848"),e.createElement("td",null,"string"),e.createElement("td",null,"\u67E5\u8BE2")),e.createElement("tr",null,e.createElement("td",null,"onWakeKeyboard"),e.createElement("td",null,"\u5524\u8D77\u952E\u76D8\u56DE\u8C03"),e.createElement("td",null,"function"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"onClick"),e.createElement("td",null,"\u70B9\u51FB\u67E5\u8BE2\u56DE\u8C03"),e.createElement("td",null,"function: (value) => "),e.createElement("td",null,"(value) => ")),e.createElement("tr",null,e.createElement("td",null,"onHidden"),e.createElement("td",null,"\u952E\u76D8\u9690\u85CF\u65F6\u56DE\u8C03"),e.createElement("td",null,"function: (value) => "),e.createElement("td",null,"(value) => ")),e.createElement("tr",null,e.createElement("td",null,"type"),e.createElement("td",null,"\u952E\u76D8 type"),e.createElement("td",null,"string"),e.createElement("td",null,"tel")),e.createElement("tr",null,e.createElement("td",null,"placeholder"),e.createElement("td",null,"\u8F93\u5165\u6846 placeholder"),e.createElement("td",null,"string"),e.createElement("td",null,"\u8BF7\u8F93\u5165")))))}function z(u){const{title:t,context:l,name:n,tag:a,attrs:r=[],style:c}=u;return e.createElement("div",{className:"android-sub-card",style:c},e.createElement("div",{className:"android-sub-card-title-section"},e.createElement("div",{className:"android-sub-card-title"},t),a?e.createElement("div",{className:"android-sub-card-tag"},e.createElement("div",{className:a.type},a.label||"")):null),e.createElement("div",{className:"android-sub-card-context"},l),n?e.createElement("div",{className:"android-sub-card-name"},n):null,e.createElement("div",{className:"android-sub-card-attrs"},r.map(i=>e.createElement("div",{key:i},i))))}function Ft(){return e.createElement("div",null,e.createElement("h1",null,"SubCard"),e.createElement("p",null,"\u9644\u5361\u7247"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"dark-block",style:{display:"flex"}},e.createElement(z,{style:{marginRight:"20px",width:400},tag:{label:"\u6563\u7BB1",type:"default"},title:"\u54C1\u53F7",context:"50827834508278345082783450827834",attrs:["\u6279\u6B21\uFF1A23842839","\u6570\u91CF\uFF1A234"]}),e.createElement(z,{style:{marginRight:"20px",width:400},title:"\u54C1\u53F7",tag:{label:"\u5C11\u8D27",type:"warning"},context:"5082 7834",name:"\u5F90\u798F\u8BB0\u62B9\u8336\u51E4\u68A8\u916517g",attrs:["\u6279\u6B21\uFF1A23842839","\u6570\u91CF\uFF1A234"]}),e.createElement(z,{title:"\u54C1\u53F7",tag:{label:"\u5C11\u8D27",type:"warning"},name:"\u5F90\u798F\u8BB0\u62B9\u8336\u51E4\u68A8\u916517g"})),e.createElement("code",{className:"code"},`
391
391
  <SubCard tag={{label: "\u6563\u7BB1", type: "default"}} title="\u54C1\u53F7" context="5082 7834" attrs={["\u6279\u6B21\uFF1A23842839", "\u6570\u91CF\uFF1A234"]} ></SubCard>
392
392
  <SubCard title="\u54C1\u53F7" tag={{label: "\u5C11\u8D27", type: "warning"}} context="5082 7834" name="\u5F90\u798F\u8BB0\u62B9\u8336\u51E4\u68A8\u916517g" attrs={["\u6279\u6B21\uFF1A23842839", "\u6570\u91CF\uFF1A234"]} ></SubCard>
393
- `),e.createElement("h2",null,"\u53C2\u6570"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"title"),e.createElement("td",null,"\u6807\u9898"),e.createElement("td",null,"string"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"context"),e.createElement("td",null,"\u5185\u5BB9"),e.createElement("td",null,"string"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"name"),e.createElement("td",null,"\u54C1\u540D"),e.createElement("td",null,"string"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"tag"),e.createElement("td",null,"\u6807\u7B7E\u540D"),e.createElement("td",null,"object"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"attrs"),e.createElement("td",null,"Array"),e.createElement("td",null),e.createElement("td",null)))))}const W=()=>{};class $ extends e.Component{constructor(t){super(t);this.state={showLoading:!1},this._handleKeyUp=l=>{const{onScan:n=W,onEnter:a=W,onEsc:r=W,onDelete:c=W,scanMode:i=null}=this.props,{code:o,keyCode:s,key:E}=l;if(o==="Enter"){l.preventDefault(),a(l);return}if(o==="Delete"){l.preventDefault(),c(l);return}if(o==="Esc"){l.preventDefault(),r(l);return}},this._handleBeforeUnload=l=>(l.returnValue="\u786E\u5B9A\u79BB\u5F00\u5F53\u524D\u9875\u9762\u5417\uFF1F",!0),this._handleUnload=l=>{WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'stopRfidScan', 'params':null}",function(a){},function(a){});const n={tag:"stopRfid",level:"d",message:"stop rfid scan!!!"};ae(n),ae(n)}}componentDidMount(){window.onunload=this._handleUnload,document.addEventListener("keyup",this._handleKeyUp)}componentWillUnmount(){window.onbeforeunload=null,window.onunload=null,document.removeEventListener("keyup",this._handleKeyUp)}shouldComponentUpdate(t,l){return t.loading&&!this.props.loading&&(this.setState({showLoading:!0}),t.loadingTimeout&&setTimeout(()=>{this.setState({showLoading:!1})},t.loadingTimeout)),!t.loading&&this.state.showLoading&&this.setState({showLoading:!1}),!0}render(){const t=this.props,{style:l={},header:n,footer:a,loading:r}=this.props;return e.createElement("div",{className:C({"baselayout-wrapper":!0}),style:l},n&&e.createElement("div",{className:C({"baselayout-header":!0})},n),e.createElement("div",{className:C({"baselayout-container":!0})},t.children),a&&e.createElement("div",{className:C({"baselayout-footer":!0})},a),this.state.showLoading?e.createElement("div",{className:"loading"}):null)}}const Ct=()=>{};class gt extends e.Component{constructor(t){super(t);this._rfidBeginScan=!1,this._handleRfidScan=l=>{const{onRfidOnce:n,onRfidBoxOnce:a,onRfidPalletOnce:r}=this.props,c=l.param,i=c.rfidData.startsWith("0F006"),o=c.rfidData.startsWith("0F011");if(S("single_recog"),o){let s=c.rfidData;c.originData=s,c.rfidData=s.substr(5,12)}a&&i?(this._stopWork(),a(c)):r&&o&&(this._stopWork(),r(c)),n&&(this._stopWork(),n(c))},this._startWork=l=>{document.addEventListener("ContinuousRfidScan",this._handleRfidScan),WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'startScan', 'params': null}",function(n){},function(n){}),this._rfidBeginScan=!0},this._stopWork=l=>{document.removeEventListener("ContinuousRfidScan",this._handleRfidScan),WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'stopRfidScan', 'params':null}",function(n){},function(n){})},this._handleKeyDown=l=>{const{code:n,keyCode:a,key:r}=l;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._rfidBeginScan||this._startWork())},this._handleKeyUp=l=>{const{code:n,keyCode:a,key:r}=l;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._stopWork(),this._rfidBeginScan=!1)}}componentDidMount(){document.addEventListener("keydown",this._handleKeyDown),document.addEventListener("keyup",this._handleKeyUp),WindVane.call("WindvanePlugin","invoke","{'domain': 'keyboard', 'method': 'changeScanMode', 'params': {'scanMode': 'RFID'}}",function(t){},function(t){})}componentWillUnmount(){document.removeEventListener("keydown",this._handleKeyDown),document.removeEventListener("keyup",this._handleKeyUp),this._stopWork()}render(){const a=this.props,{onRfidOnce:l=Ct}=a,n=x(a,["onRfidOnce"]);return e.createElement($,g({},n))}}const ft=()=>{};class pe extends e.Component{constructor(t){super(t);this._rfidBeginScan=!1,this._handleRfidScan=l=>{const{onRfidScan:n,onRfidBoxScan:a,onRfidPalletScan:r}=this.props,c=l.param,i=c.rfidData.startsWith("0F006"),o=c.rfidData.startsWith("0F011");if(o){let s=c.rfidData;c.originData=s,c.rfidData=s.substr(5,12)}i&&a?a(c):o&&r&&r(c),n&&n(c)},this._startWork=l=>{document.addEventListener("ContinuousRfidScan",this._handleRfidScan),WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'startScan', 'params': null}",function(n){},function(n){}),this._rfidBeginScan=!0},this._stopWork=l=>{document.removeEventListener("ContinuousRfidScan",this._handleRfidScan),WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'stopRfidScan', 'params':null}",function(n){},function(n){})},this._handleKeyDown=l=>{const{code:n,keyCode:a,key:r}=l;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._rfidBeginScan||this._startWork())},this._handleKeyUp=l=>{const{code:n,keyCode:a,key:r}=l;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._stopWork(),this._rfidBeginScan=!1)}}componentDidMount(){const{autoRfidScan:t=!1,rfidReaderSleep:l}=this.props;WindVane.call("WindvanePlugin","invoke","{'domain': 'keyboard', 'method': 'changeScanMode', 'params': {'scanMode': 'RFID'}}",function(n){},function(n){}),t?l||this._startWork():(document.addEventListener("keydown",this._handleKeyDown),document.addEventListener("keyup",this._handleKeyUp))}componentWillUnmount(){document.removeEventListener("keydown",this._handleKeyDown),document.removeEventListener("keyup",this._handleKeyUp),this._stopWork()}shouldComponentUpdate(t,l){return this.props.autoRfidScan&&this.props.rfidReaderSleep!==t.rfidReaderSleep&&(t.rfidReaderSleep?this._stopWork():this._startWork()),!0}render(){const r=this.props,{onRfidScan:l=ft,autoRfidScan:n}=r,a=x(r,["onRfidScan","autoRfidScan"]);return e.createElement($,g({},a))}}f(pe,"defaultProps",{rfidReaderSleep:!1});const Bt=()=>{};class bt extends e.Component{constructor(t){super(t);this._barcodeBeginScan=!1,this._handleBarcodeScan=l=>{const{onBarcodeScan:n}=this.props;this._stopWork(),S("scan"),n&&n(l.param)},this._startWork=l=>{document.addEventListener("BarcodeScan",this._handleBarcodeScan),this._barcodeBeginScan=!0},this._stopWork=l=>{document.removeEventListener("BarcodeScan",this._handleBarcodeScan)},this._handleKeyDown=l=>{const{code:n,keyCode:a,key:r}=l;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._barcodeBeginScan||this._startWork())},this._handleKeyUp=l=>{const{code:n,keyCode:a,key:r}=l;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._stopWork(),this._barcodeBeginScan=!1)},this.onScanBarcode=this.onScanBarcode.bind(this)}onScanBarcode(t){this.props.onScanBarcode&&this.props.onScanBarcode(t.param)}componentDidMount(){const{onBarcodeScan:t}=this.props;t&&(document.addEventListener("keydown",this._handleKeyDown),document.addEventListener("keyup",this._handleKeyUp)),document.addEventListener("BarcodeScan",this.onScanBarcode),WindVane.call("WindvanePlugin","invoke","{'domain': 'keyboard', 'method': 'changeScanMode', 'params': {'scanMode': 'barcode'}}",function(l){},function(l){})}componentWillUnmount(){const{onBarcodeScan:t}=this.props;t&&(document.removeEventListener("keydown",this._handleKeyDown),document.removeEventListener("keyup",this._handleKeyUp)),document.removeEventListener("BarcodeScan",this.onScanBarcode)}render(){const a=this.props,{onBarcodeScan:l=Bt}=a,n=x(a,["onBarcodeScan"]);return e.createElement($,g({},n))}}class q extends e.Component{constructor(t){super(t)}render(){const t=this.props,{onBarcodeScan:l,onScanBarcode:n,onRfidOnce:a,onRfidBoxOnce:r,onRfidPalletOnce:c,onRfidScan:i,onRfidBoxScan:o,onRfidPalletScan:s}=t;return a||r||c?e.createElement(gt,g({},t)):i||o||s?e.createElement(pe,g({},t)):l||n?e.createElement(bt,g({},t)):e.createElement($,g({},t))}}class y extends e.Component{constructor(t){super(t)}componentDidMount(){this.props.isError?S("success3"):S("success2")}render(){const{className:t,title:l,infoList:n=[],isError:a=!1,buttonMultiLines:r=!1,style:c={},onClick:i=()=>{},okText:o="\u8FD4\u56DE\u9996\u9875",cancelText:s=null}=this.props,E=e.createElement(d.Group,null,s?e.createElement(d,{style:r?{height:"auto",lineHeight:"50px"}:{},type:"dark",onClick:()=>i(!1)},s):null,e.createElement(d,{type:"primary",style:r?{height:"auto",lineHeight:"normal"}:{},onClick:()=>i(!0)},o));return e.createElement(q,{footer:E},e.createElement("div",{className:"pda-finish-card-top"},e.createElement("img",{className:"pda-finish-card-img",src:a?y.ERROR_SUCCESS:y.SUCCESS}),e.createElement("p",{className:"pda-finish-card-title"},l),n.map((m,h)=>e.createElement("p",{key:h,className:"pda-finish-card-list"},e.createElement("span",null,m.label||""),e.createElement("span",null,m.content||"")))))}}y.SUCCESS="https://img.alicdn.com/imgextra/i3/O1CN01OL2UYg24792knbTtC_!!6000000007343-1-tps-506-415.gif";y.ERROR_SUCCESS="https://img.alicdn.com/imgextra/i3/O1CN01p5Oc5t1VMFWtBomQc_!!6000000002638-1-tps-600-456.gif";function kt(){return e.createElement("div",null,e.createElement("h1",null,"FinishCard"),e.createElement("p",null," \u5B8C\u6210\u7EC4\u4EF6"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"dark-block",style:{display:"flex",flexDirection:"row",position:"relative",width:480,height:800}},e.createElement(y,{title:"\u66F4\u6362\u6808\u677F\u7801\u5B8C\u6210",isError:!0,infoList:[{label:"\u65B0\u6808\u677F\u7801\uFF1A",content:"234982093"},{label:"\u65B0\u6808\u677F\u7801\uFF1A",content:"23498209323498209123"},{label:"\u539F\u6808\u677F\u7801\uFF1A",content:"234982093"}],okText:"\u8FD4\u56DE\u9996\u9875",onClick:u=>{console.log("isConfirm",u)}})),e.createElement("div",{className:"dark-block",style:{display:"flex",flexDirection:"row",position:"relative",width:480,height:800}},e.createElement(y,{title:"\u66F4\u6362\u6808\u677F\u7801\u5B8C\u6210\u66F4\u6362\u6808\u677F\u7801\u5B8C\u6210\u66F4\u6362\u6808\u677F\u7801\u5B8C\u6210",infoList:[{label:"\u65B0\u6808\u677F\u7801\uFF1A",content:"234982093"},{label:"\u539F\u6808\u677F\u7801\uFF1A",content:"234982093"}],buttonMultiLines:!0,okText:"\u8FD4\u56DE\u9996\u9875",cancelText:e.createElement("span",null,"\u8FD4\u56DE",e.createElement("br",null),"\u6682\u5B58\u4EFB\u52A1"),onClick:u=>{console.log("isConfirm",u)}})),e.createElement("code",{className:"code"},`
393
+ `),e.createElement("h2",null,"\u53C2\u6570"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"title"),e.createElement("td",null,"\u6807\u9898"),e.createElement("td",null,"string"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"context"),e.createElement("td",null,"\u5185\u5BB9"),e.createElement("td",null,"string"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"name"),e.createElement("td",null,"\u54C1\u540D"),e.createElement("td",null,"string"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"tag"),e.createElement("td",null,"\u6807\u7B7E\u540D"),e.createElement("td",null,"object"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"attrs"),e.createElement("td",null,"Array"),e.createElement("td",null),e.createElement("td",null)))))}const W=()=>{};class $ extends e.Component{constructor(t){super(t);this.state={showLoading:!1},this._handleKeyUp=l=>{const{onScan:n=W,onEnter:a=W,onEsc:r=W,onDelete:c=W,scanMode:i=null}=this.props,{code:o,keyCode:s,key:E}=l;if(o==="Enter"){l.preventDefault(),a(l);return}if(o==="Delete"){l.preventDefault(),c(l);return}if(o==="Esc"){l.preventDefault(),r(l);return}},this._handleBeforeUnload=l=>(l.returnValue="\u786E\u5B9A\u79BB\u5F00\u5F53\u524D\u9875\u9762\u5417\uFF1F",!0),this._handleUnload=l=>{WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'stopRfidScan', 'params':null}",function(a){},function(a){});const n={tag:"stopRfid",level:"d",message:"stop rfid scan!!!"};ae(n),ae(n)}}componentDidMount(){window.onunload=this._handleUnload,document.addEventListener("keyup",this._handleKeyUp)}componentWillUnmount(){window.onbeforeunload=null,window.onunload=null,document.removeEventListener("keyup",this._handleKeyUp)}shouldComponentUpdate(t,l){return t.loading&&!this.props.loading&&(this.setState({showLoading:!0}),t.loadingTimeout&&setTimeout(()=>{this.setState({showLoading:!1})},t.loadingTimeout)),!t.loading&&this.state.showLoading&&this.setState({showLoading:!1}),!0}render(){const t=this.props,{style:l={},header:n,footer:a,loading:r}=this.props;return e.createElement("div",{className:C({"baselayout-wrapper":!0}),style:l},n&&e.createElement("div",{className:C({"baselayout-header":!0})},n),e.createElement("div",{className:C({"baselayout-container":!0})},t.children),a&&e.createElement("div",{className:C({"baselayout-footer":!0})},a),this.state.showLoading?e.createElement("div",{className:"loading"}):null)}}const Ct=()=>{};class gt extends e.Component{constructor(t){super(t);this._rfidBeginScan=!1,this._handleRfidScan=l=>{const{onRfidOnce:n,onRfidBoxOnce:a,onRfidPalletOnce:r}=this.props,c=l.param,i=c.rfidData.startsWith("0F006"),o=c.rfidData.startsWith("0F011");if(S("single_recog"),o){let s=c.rfidData;c.originData=s,c.rfidData=s.substr(5,12)}a&&i?(this._stopWork(),a(c)):r&&o&&(this._stopWork(),r(c)),n&&(this._stopWork(),n(c))},this._startWork=l=>{document.addEventListener("ContinuousRfidScan",this._handleRfidScan),WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'startScan', 'params': null}",function(n){},function(n){}),this._rfidBeginScan=!0},this._stopWork=l=>{document.removeEventListener("ContinuousRfidScan",this._handleRfidScan),WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'stopRfidScan', 'params':null}",function(n){},function(n){})},this._handleKeyDown=l=>{const{code:n,keyCode:a,key:r}=l;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._rfidBeginScan||this._startWork())},this._handleKeyUp=l=>{const{code:n,keyCode:a,key:r}=l;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._stopWork(),this._rfidBeginScan=!1)}}componentDidMount(){document.addEventListener("keydown",this._handleKeyDown),document.addEventListener("keyup",this._handleKeyUp),WindVane.call("WindvanePlugin","invoke","{'domain': 'keyboard', 'method': 'changeScanMode', 'params': {'scanMode': 'RFID'}}",function(t){},function(t){})}componentWillUnmount(){document.removeEventListener("keydown",this._handleKeyDown),document.removeEventListener("keyup",this._handleKeyUp),this._stopWork()}render(){const a=this.props,{onRfidOnce:l=Ct}=a,n=x(a,["onRfidOnce"]);return e.createElement($,g({},n))}}const ft=()=>{};class pe extends e.Component{constructor(t){super(t);this._rfidBeginScan=!1,this._handleRfidScan=l=>{const{onRfidScan:n,onRfidBoxScan:a,onRfidPalletScan:r}=this.props,c=l.param,i=c.rfidData.startsWith("0F006"),o=c.rfidData.startsWith("0F011");if(o){let s=c.rfidData;c.originData=s,c.rfidData=s.substr(5,12)}i&&a?a(c):o&&r&&r(c),n&&n(c)},this._startWork=l=>{document.addEventListener("ContinuousRfidScan",this._handleRfidScan),WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'startScan', 'params': null}",function(n){},function(n){}),this._rfidBeginScan=!0},this._stopWork=l=>{document.removeEventListener("ContinuousRfidScan",this._handleRfidScan),WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'stopRfidScan', 'params':null}",function(n){},function(n){})},this._handleKeyDown=l=>{const{code:n,keyCode:a,key:r}=l;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._rfidBeginScan||this._startWork())},this._handleKeyUp=l=>{const{code:n,keyCode:a,key:r}=l;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._stopWork(),this._rfidBeginScan=!1)}}componentDidMount(){const{autoRfidScan:t=!1,rfidReaderSleep:l}=this.props;WindVane.call("WindvanePlugin","invoke","{'domain': 'keyboard', 'method': 'changeScanMode', 'params': {'scanMode': 'RFID'}}",function(n){},function(n){}),t?l||this._startWork():(document.addEventListener("keydown",this._handleKeyDown),document.addEventListener("keyup",this._handleKeyUp))}componentWillUnmount(){document.removeEventListener("keydown",this._handleKeyDown),document.removeEventListener("keyup",this._handleKeyUp),this._stopWork()}shouldComponentUpdate(t,l){return this.props.autoRfidScan&&this.props.rfidReaderSleep!==t.rfidReaderSleep&&(t.rfidReaderSleep?this._stopWork():this._startWork()),!0}render(){const r=this.props,{onRfidScan:l=ft,autoRfidScan:n}=r,a=x(r,["onRfidScan","autoRfidScan"]);return e.createElement($,g({},a))}}f(pe,"defaultProps",{rfidReaderSleep:!1});const Bt=()=>{};class bt extends e.Component{constructor(t){super(t);this._barcodeBeginScan=!1,this._handleBarcodeScan=l=>{const{onBarcodeScan:n}=this.props;this._stopWork(),S("scan"),n&&n(l.param)},this._startWork=l=>{document.addEventListener("BarcodeScan",this._handleBarcodeScan),this._barcodeBeginScan=!0},this._stopWork=l=>{document.removeEventListener("BarcodeScan",this._handleBarcodeScan)},this._handleKeyDown=l=>{const{code:n,keyCode:a,key:r}=l;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._barcodeBeginScan||this._startWork())},this._handleKeyUp=l=>{const{code:n,keyCode:a,key:r}=l;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._stopWork(),this._barcodeBeginScan=!1)},this.onScanBarcode=this.onScanBarcode.bind(this)}onScanBarcode(t){this.props.onScanBarcode&&this.props.onScanBarcode(t.param)}componentDidMount(){const{onBarcodeScan:t}=this.props;t&&(document.addEventListener("keydown",this._handleKeyDown),document.addEventListener("keyup",this._handleKeyUp)),document.addEventListener("BarcodeScan",this.onScanBarcode),WindVane.call("WindvanePlugin","invoke","{'domain': 'keyboard', 'method': 'changeScanMode', 'params': {'scanMode': 'barcode'}}",function(l){},function(l){})}componentWillUnmount(){const{onBarcodeScan:t}=this.props;t&&(document.removeEventListener("keydown",this._handleKeyDown),document.removeEventListener("keyup",this._handleKeyUp)),document.removeEventListener("BarcodeScan",this.onScanBarcode)}render(){const a=this.props,{onBarcodeScan:l=Bt}=a,n=x(a,["onBarcodeScan"]);return e.createElement($,g({},n))}}class q extends e.Component{constructor(t){super(t)}render(){const t=this.props,{onBarcodeScan:l,onScanBarcode:n,onRfidOnce:a,onRfidBoxOnce:r,onRfidPalletOnce:c,onRfidScan:i,onRfidBoxScan:o,onRfidPalletScan:s}=t;return a||r||c?e.createElement(gt,g({},t)):i||o||s?e.createElement(pe,g({},t)):l||n?e.createElement(bt,g({},t)):e.createElement($,g({},t))}}class y extends e.Component{constructor(t){super(t)}componentDidMount(){this.props.isError?S("success3"):S("success2")}render(){const{className:t,title:l,infoList:n=[],isError:a=!1,buttonMultiLines:r=!1,style:c={},onClick:i=()=>{},okText:o="\u8FD4\u56DE\u9996\u9875",cancelText:s=null}=this.props,E=e.createElement(d.Group,null,s?e.createElement(d,{style:r?{height:"auto",lineHeight:"50px"}:{},type:"dark",onClick:()=>i(!1)},s):null,e.createElement(d,{type:"primary",style:r?{height:"auto",lineHeight:"normal"}:{},onClick:()=>i(!0)},o));return e.createElement(q,{footer:E},e.createElement("div",{className:"pda-finish-card-top"},e.createElement("img",{className:"pda-finish-card-img",src:a?y.ERROR_SUCCESS:y.SUCCESS}),e.createElement("p",{className:"pda-finish-card-title"},l),n.map((m,h)=>e.createElement("p",{key:h,className:"pda-finish-card-list"},e.createElement("span",null,m.label||""),e.createElement("span",null,m.content||"")))))}}y.SUCCESS="https://img.alicdn.com/imgextra/i3/O1CN01OL2UYg24792knbTtC_!!6000000007343-1-tps-506-415.gif";y.ERROR_SUCCESS="https://img.alicdn.com/imgextra/i3/O1CN01p5Oc5t1VMFWtBomQc_!!6000000002638-1-tps-600-456.gif";function At(){return e.createElement("div",null,e.createElement("h1",null,"FinishCard"),e.createElement("p",null," \u5B8C\u6210\u7EC4\u4EF6"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"dark-block",style:{display:"flex",flexDirection:"row",position:"relative",width:480,height:800}},e.createElement(y,{title:"\u66F4\u6362\u6808\u677F\u7801\u5B8C\u6210",isError:!0,infoList:[{label:"\u65B0\u6808\u677F\u7801\uFF1A",content:"234982093"},{label:"\u65B0\u6808\u677F\u7801\uFF1A",content:"23498209323498209123"},{label:"\u539F\u6808\u677F\u7801\uFF1A",content:"234982093"}],okText:"\u8FD4\u56DE\u9996\u9875",onClick:u=>{console.log("isConfirm",u)}})),e.createElement("div",{className:"dark-block",style:{display:"flex",flexDirection:"row",position:"relative",width:480,height:800}},e.createElement(y,{title:"\u66F4\u6362\u6808\u677F\u7801\u5B8C\u6210\u66F4\u6362\u6808\u677F\u7801\u5B8C\u6210\u66F4\u6362\u6808\u677F\u7801\u5B8C\u6210",infoList:[{label:"\u65B0\u6808\u677F\u7801\uFF1A",content:"234982093"},{label:"\u539F\u6808\u677F\u7801\uFF1A",content:"234982093"}],buttonMultiLines:!0,okText:"\u8FD4\u56DE\u9996\u9875",cancelText:e.createElement("span",null,"\u8FD4\u56DE",e.createElement("br",null),"\u6682\u5B58\u4EFB\u52A1"),onClick:u=>{console.log("isConfirm",u)}})),e.createElement("code",{className:"code"},`
394
394
  <FinishCard
395
395
  title="\u66F4\u6362\u6808\u677F\u7801\u5B8C\u6210"
396
396
  infoList={
@@ -406,7 +406,7 @@ input ? (
406
406
  console.log("isConfirm", isConfirm);
407
407
  }}
408
408
  />
409
- `),e.createElement("h2",null,"\u53C2\u6570"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"title"),e.createElement("td",null,"\u6807\u9898"),e.createElement("td",null,"string"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"isError"),e.createElement("td",null,"\u662F\u5426\u5F02\u5E38\u5B8C\u6210"),e.createElement("td",null,"Boolean"),e.createElement("td",null,"false")),e.createElement("tr",null,e.createElement("td",null,"infoList"),e.createElement("td",null,"\u66F4\u591A\u4FE1\u606F"),e.createElement("td",null,"object[]"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"okText"),e.createElement("td",null,"\u786E\u8BA4\u6309\u94AE\u6587\u672C"),e.createElement("td",null,"string"),e.createElement("td",null,"\u8FD4\u56DE\u9996\u9875")),e.createElement("tr",null,e.createElement("td",null,"buttonMultiLines"),e.createElement("td",null,"\u6309\u94AE\u662F\u5426\u591A\u884C"),e.createElement("td",null,"boolean"),e.createElement("td",null,"false")),e.createElement("tr",null,e.createElement("td",null,"onClick"),e.createElement("td",null,"\u6309\u94AE\u70B9\u51FB\u56DE\u8C03"),e.createElement("td",null,"(isConfirm) => "),e.createElement("td",null)))))}class At extends e.Component{constructor(t){super(t)}render(){const{className:t,title:l,infoText:n,percentage:a=0,style:r={}}=this.props,c="https://img.alicdn.com/imgextra/i3/O1CN01EFksWL1DBZCu0H1JH_!!6000000000178-2-tps-21-30.png",i="https://img.alicdn.com/imgextra/i1/O1CN01YEhCSg1aObe8UZq7K_!!6000000003320-2-tps-379-17.png";return e.createElement("div",{className:C({[t]:!0,"pda-distance-card":!0}),style:r},e.createElement("p",{className:"pda-distance-card-highlight"},e.createElement("span",{className:"pda-distance-card-highlight1"},l)),e.createElement("div",{className:"pda-distance-indictor"},e.createElement("img",{src:c,width:20,height:29}),e.createElement("p",null,n)),e.createElement("div",{className:"pda-distance-card-progress"},e.createElement("div",{className:"pda-distance-card-progress-inside",style:{width:`${a*100}%`}}),e.createElement("img",{className:"pda-distance-card-progress-indictor",src:i})),e.createElement("div",{className:"pda-distance-label"},e.createElement("p",null,"\u8FDC"),e.createElement("p",null,"\u8FD1")))}}function vt(){return e.createElement("div",null,e.createElement("h1",null,"DistanceCard"),e.createElement("p",null,"\u8DDD\u79BB\u7EC4\u4EF6"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"light-block",style:{display:"flex",flexDirection:"row"}},e.createElement(At,{title:"\u8D27\u7269\u5728\u9644\u8FD1..",infoText:"\u79BB\u76EE\u6807\u8D27\u8DDD\u79BB",style:{width:"400px"},percentage:.56})),e.createElement("code",{className:"code"},`
409
+ `),e.createElement("h2",null,"\u53C2\u6570"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"title"),e.createElement("td",null,"\u6807\u9898"),e.createElement("td",null,"string"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"isError"),e.createElement("td",null,"\u662F\u5426\u5F02\u5E38\u5B8C\u6210"),e.createElement("td",null,"Boolean"),e.createElement("td",null,"false")),e.createElement("tr",null,e.createElement("td",null,"infoList"),e.createElement("td",null,"\u66F4\u591A\u4FE1\u606F"),e.createElement("td",null,"object[]"),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"okText"),e.createElement("td",null,"\u786E\u8BA4\u6309\u94AE\u6587\u672C"),e.createElement("td",null,"string"),e.createElement("td",null,"\u8FD4\u56DE\u9996\u9875")),e.createElement("tr",null,e.createElement("td",null,"buttonMultiLines"),e.createElement("td",null,"\u6309\u94AE\u662F\u5426\u591A\u884C"),e.createElement("td",null,"boolean"),e.createElement("td",null,"false")),e.createElement("tr",null,e.createElement("td",null,"onClick"),e.createElement("td",null,"\u6309\u94AE\u70B9\u51FB\u56DE\u8C03"),e.createElement("td",null,"(isConfirm) => "),e.createElement("td",null)))))}class kt extends e.Component{constructor(t){super(t)}render(){const{className:t,title:l,infoText:n,percentage:a=0,style:r={}}=this.props,c="https://img.alicdn.com/imgextra/i3/O1CN01EFksWL1DBZCu0H1JH_!!6000000000178-2-tps-21-30.png",i="https://img.alicdn.com/imgextra/i1/O1CN01YEhCSg1aObe8UZq7K_!!6000000003320-2-tps-379-17.png";return e.createElement("div",{className:C({[t]:!0,"pda-distance-card":!0}),style:r},e.createElement("p",{className:"pda-distance-card-highlight"},e.createElement("span",{className:"pda-distance-card-highlight1"},l)),e.createElement("div",{className:"pda-distance-indictor"},e.createElement("img",{src:c,width:20,height:29}),e.createElement("p",null,n)),e.createElement("div",{className:"pda-distance-card-progress"},e.createElement("div",{className:"pda-distance-card-progress-inside",style:{width:`${a*100}%`}}),e.createElement("img",{className:"pda-distance-card-progress-indictor",src:i})),e.createElement("div",{className:"pda-distance-label"},e.createElement("p",null,"\u8FDC"),e.createElement("p",null,"\u8FD1")))}}function vt(){return e.createElement("div",null,e.createElement("h1",null,"DistanceCard"),e.createElement("p",null,"\u8DDD\u79BB\u7EC4\u4EF6"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"light-block",style:{display:"flex",flexDirection:"row"}},e.createElement(kt,{title:"\u8D27\u7269\u5728\u9644\u8FD1..",infoText:"\u79BB\u76EE\u6807\u8D27\u8DDD\u79BB",style:{width:"400px"},percentage:.56})),e.createElement("code",{className:"code"},`
410
410
  <DistanceCard
411
411
  title="\u8D27\u7269\u5728\u9644\u8FD1.."
412
412
  infoText="\u79BB\u76EE\u6807\u8D27\u8DDD\u79BB"
@@ -614,7 +614,7 @@ const dataSource = [
614
614
  theme={"dark"}
615
615
  ></Card>
616
616
 
617
- `),e.createElement("h2",null,"\u53C2\u6570\u8BF4\u660E"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"title"),e.createElement("td",null,"\u6807\u9898"),e.createElement("td",null,"String"),e.createElement("td",null,"-")),e.createElement("tr",null,e.createElement("td",null,"content"),e.createElement("td",null,"\u5185\u5BB9,\u5982\u679C\u5185\u5BB9\u5185\u6709/\u4F1A\u6309\u7167\u659C\u6760\u62C6\u5206\u663E\u793A"),e.createElement("td",null,"String"),e.createElement("td",null,"-")),e.createElement("tr",null,e.createElement("td",null,"subContent"),e.createElement("td",null,"\u6B21\u8981\u5185\u5BB9"),e.createElement("td",null,"String"),e.createElement("td",null,"-")),e.createElement("tr",null,e.createElement("td",null,"hasProgress"),e.createElement("td",null,"\u662F\u5426\u663E\u793A\u8FDB\u5EA6\u6761"),e.createElement("td",null,"Boolean"),e.createElement("td",null,"true")),e.createElement("tr",null,e.createElement("td",null,"progress"),e.createElement("td",null,"\u8FDB\u5EA6(1-100)"),e.createElement("td",null,"Number"),e.createElement("td",null,"100")),e.createElement("tr",null,e.createElement("td",null,"infoList"),e.createElement("td",null,"\u5C5E\u6027\u5217\u8868"),e.createElement("td",null,"Array<String>"),e.createElement("td",null,"[]")),e.createElement("tr",null,e.createElement("td",null,"tags"),e.createElement("td",null,"\u6807\u7B7E\u5217\u8868\uFF0C\u4F20\u7A7A\u6570\u7EC4\u4E0D\u663E\u793A\u6807\u7B7E"),e.createElement("td",null,"Array<String>"),e.createElement("td",null,"[]")),e.createElement("tr",null,e.createElement("td",null,"tagPosition"),e.createElement("td",null,"\u6807\u7B7E\u4F4D\u7F6E\uFF0C\u53EF\u9009bottom, top"),e.createElement("td",null,"String"),e.createElement("td",null,"bottom")),e.createElement("tr",null,e.createElement("td",null,"theme"),e.createElement("td",null,"\u6837\u5F0F light|dark"),e.createElement("td",null,"String"),e.createElement("td",null,"light")),e.createElement("tr",null,e.createElement("td",null,"onClick"),e.createElement("td",null,"Item \u70B9\u51FB\u56DE\u8C03\uFF08\u642D\u5EFA\u4E2D\u53C2\u6570\u4E3A\u6807\u7B7E\u6807\u8BC6\uFF09"),e.createElement("td",null,"Function"),e.createElement("td",null,"-")),e.createElement("tr",null,e.createElement("td",null,"style"),e.createElement("td",null,"CSS \u53D8\u91CF\uFF0C\u8BF7\u53C2\u8003\u540E\u9762\u7684\u6587\u6863"),e.createElement("td",null,"Object"),e.createElement("td",null,"-")))),e.createElement("h2",null,"CSS \u53D8\u91CF"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"--base-font-size"),e.createElement("td",null,"\u57FA\u7840\u5B57\u4F53\u5927\u5C0F\uFF0C\u5176\u4ED6\u6587\u5B57\u5C06\u4F1A\u53C2\u7167\u4E2A\u57FA\u7840\u5927\u5C0F\u6BD4\u4F8B\u7F29\u5C0F\u6216\u653E\u5927"),e.createElement("td",null,"String"),e.createElement("td",null,"14px")),e.createElement("tr",null,e.createElement("td",null,"--background-color"),e.createElement("td",null,"\u5361\u7247\u80CC\u666F\u989C\u8272"),e.createElement("td",null,"String"),e.createElement("td",null,"#FFFFFF")),e.createElement("tr",null,e.createElement("td",null,"--color"),e.createElement("td",null,"\u5361\u7247\u6587\u5B57\u989C\u8272\uFF0C\u9664\u4E3B\u8981\u7684\u6587\u5B57\u4EE5\u5916\uFF0C\u5176\u4ED6\u6587\u5B57\u90FD\u6309\u7167\u8FD9\u4E2A\u989C\u8272\u5904\u7406"),e.createElement("td",null,"String"),e.createElement("td",null,"#000000")),e.createElement("tr",null,e.createElement("td",null,"--main-color"),e.createElement("td",null,"\u4E3B\u8981\u6587\u5B57\u989C\u8272"),e.createElement("td",null,"String"),e.createElement("td",null,"#008FED")),e.createElement("tr",null,e.createElement("td",null,"--border-radius"),e.createElement("td",null,"\u5706\u89D2\u5927\u5C0F"),e.createElement("td",null,"String"),e.createElement("td",null,"6px")),e.createElement("tr",null,e.createElement("td",null,"--progress-background-color"),e.createElement("td",null,"\u8FDB\u5EA6\u6761\u80CC\u666F\u989C\u8272"),e.createElement("td",null,"String"),e.createElement("td",null,"rgba(160, 160, 160, 0.5)")),e.createElement("tr",null,e.createElement("td",null,"--progress-foreground-color"),e.createElement("td",null,"\u8FDB\u5EA6\u6761\u524D\u666F\u989C\u8272"),e.createElement("td",null,"String"),e.createElement("td",null,"#008FED")),e.createElement("tr",null,e.createElement("td",null,"--tag-background-color"),e.createElement("td",null,"\u6807\u7B7E\u80CC\u666F\u989C\u8272"),e.createElement("td",null,"String"),e.createElement("td",null,"#008FED")),e.createElement("tr",null,e.createElement("td",null,"--tag-color"),e.createElement("td",null,"\u6807\u7B7E\u6587\u5B57\u989C\u8272"),e.createElement("td",null,"String"),e.createElement("td",null,"#ffffff")))))}const el="@cniot/android-pda-components",tl="0.2.57",ll="",ul="./es/index.cjs.js",nl="./es/index.es.js",al={dev:"vite",build:"vite build --config vite.config.doc.js && vite build --config vite.config.js",doc:"vite -config vite.doc.js"},rl="module",cl="",ol="ISC",il={ahooks:"^2.10.11",classnames:"^2.3.1",keycode:"^2.2.1",react:"^17.0.2","react-dom":"^17.0.2"},sl={"@originjs/vite-plugin-require-context":"^1.0.5","markdown-it":"^12.1.0","markdown-to-jsx":"^7.1.3",vite:"^2.4.2","vite-plugin-plain-text":"^1.1.4",less:"^4.1.1",history:"^5.0.1"};var ml={name:el,version:tl,description:ll,main:ul,module:nl,scripts:al,type:rl,author:cl,license:ol,dependencies:il,devDependencies:sl},El={onNext(u){console.log("onnext",u)}};function dl(){return e.createElement("div",null,e.createElement("h1",null,"/system/alert"),e.createElement("p",null,"\u5F39\u51FA\u4E00\u4E2A\u8B66\u544A\u7A97\uFF0C\u7528\u6237\u5FC5\u987B\u70B9\u51FB\u786E\u8BA4\u624D\u80FD\u7EE7\u7EED"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("code",{className:"code"},`
617
+ `),e.createElement("h2",null,"\u53C2\u6570\u8BF4\u660E"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"title"),e.createElement("td",null,"\u6807\u9898"),e.createElement("td",null,"String"),e.createElement("td",null,"-")),e.createElement("tr",null,e.createElement("td",null,"content"),e.createElement("td",null,"\u5185\u5BB9,\u5982\u679C\u5185\u5BB9\u5185\u6709/\u4F1A\u6309\u7167\u659C\u6760\u62C6\u5206\u663E\u793A"),e.createElement("td",null,"String"),e.createElement("td",null,"-")),e.createElement("tr",null,e.createElement("td",null,"subContent"),e.createElement("td",null,"\u6B21\u8981\u5185\u5BB9"),e.createElement("td",null,"String"),e.createElement("td",null,"-")),e.createElement("tr",null,e.createElement("td",null,"hasProgress"),e.createElement("td",null,"\u662F\u5426\u663E\u793A\u8FDB\u5EA6\u6761"),e.createElement("td",null,"Boolean"),e.createElement("td",null,"true")),e.createElement("tr",null,e.createElement("td",null,"progress"),e.createElement("td",null,"\u8FDB\u5EA6(1-100)"),e.createElement("td",null,"Number"),e.createElement("td",null,"100")),e.createElement("tr",null,e.createElement("td",null,"infoList"),e.createElement("td",null,"\u5C5E\u6027\u5217\u8868"),e.createElement("td",null,"Array<String>"),e.createElement("td",null,"[]")),e.createElement("tr",null,e.createElement("td",null,"tags"),e.createElement("td",null,"\u6807\u7B7E\u5217\u8868\uFF0C\u4F20\u7A7A\u6570\u7EC4\u4E0D\u663E\u793A\u6807\u7B7E"),e.createElement("td",null,"Array<String>"),e.createElement("td",null,"[]")),e.createElement("tr",null,e.createElement("td",null,"tagPosition"),e.createElement("td",null,"\u6807\u7B7E\u4F4D\u7F6E\uFF0C\u53EF\u9009bottom, top"),e.createElement("td",null,"String"),e.createElement("td",null,"bottom")),e.createElement("tr",null,e.createElement("td",null,"theme"),e.createElement("td",null,"\u6837\u5F0F light|dark"),e.createElement("td",null,"String"),e.createElement("td",null,"light")),e.createElement("tr",null,e.createElement("td",null,"onClick"),e.createElement("td",null,"Item \u70B9\u51FB\u56DE\u8C03\uFF08\u642D\u5EFA\u4E2D\u53C2\u6570\u4E3A\u6807\u7B7E\u6807\u8BC6\uFF09"),e.createElement("td",null,"Function"),e.createElement("td",null,"-")),e.createElement("tr",null,e.createElement("td",null,"style"),e.createElement("td",null,"CSS \u53D8\u91CF\uFF0C\u8BF7\u53C2\u8003\u540E\u9762\u7684\u6587\u6863"),e.createElement("td",null,"Object"),e.createElement("td",null,"-")))),e.createElement("h2",null,"CSS \u53D8\u91CF"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"--base-font-size"),e.createElement("td",null,"\u57FA\u7840\u5B57\u4F53\u5927\u5C0F\uFF0C\u5176\u4ED6\u6587\u5B57\u5C06\u4F1A\u53C2\u7167\u4E2A\u57FA\u7840\u5927\u5C0F\u6BD4\u4F8B\u7F29\u5C0F\u6216\u653E\u5927"),e.createElement("td",null,"String"),e.createElement("td",null,"14px")),e.createElement("tr",null,e.createElement("td",null,"--background-color"),e.createElement("td",null,"\u5361\u7247\u80CC\u666F\u989C\u8272"),e.createElement("td",null,"String"),e.createElement("td",null,"#FFFFFF")),e.createElement("tr",null,e.createElement("td",null,"--color"),e.createElement("td",null,"\u5361\u7247\u6587\u5B57\u989C\u8272\uFF0C\u9664\u4E3B\u8981\u7684\u6587\u5B57\u4EE5\u5916\uFF0C\u5176\u4ED6\u6587\u5B57\u90FD\u6309\u7167\u8FD9\u4E2A\u989C\u8272\u5904\u7406"),e.createElement("td",null,"String"),e.createElement("td",null,"#000000")),e.createElement("tr",null,e.createElement("td",null,"--main-color"),e.createElement("td",null,"\u4E3B\u8981\u6587\u5B57\u989C\u8272"),e.createElement("td",null,"String"),e.createElement("td",null,"#008FED")),e.createElement("tr",null,e.createElement("td",null,"--border-radius"),e.createElement("td",null,"\u5706\u89D2\u5927\u5C0F"),e.createElement("td",null,"String"),e.createElement("td",null,"6px")),e.createElement("tr",null,e.createElement("td",null,"--progress-background-color"),e.createElement("td",null,"\u8FDB\u5EA6\u6761\u80CC\u666F\u989C\u8272"),e.createElement("td",null,"String"),e.createElement("td",null,"rgba(160, 160, 160, 0.5)")),e.createElement("tr",null,e.createElement("td",null,"--progress-foreground-color"),e.createElement("td",null,"\u8FDB\u5EA6\u6761\u524D\u666F\u989C\u8272"),e.createElement("td",null,"String"),e.createElement("td",null,"#008FED")),e.createElement("tr",null,e.createElement("td",null,"--tag-background-color"),e.createElement("td",null,"\u6807\u7B7E\u80CC\u666F\u989C\u8272"),e.createElement("td",null,"String"),e.createElement("td",null,"#008FED")),e.createElement("tr",null,e.createElement("td",null,"--tag-color"),e.createElement("td",null,"\u6807\u7B7E\u6587\u5B57\u989C\u8272"),e.createElement("td",null,"String"),e.createElement("td",null,"#ffffff")))))}const el="@cniot/android-pda-components",tl="0.2.60",ll="",ul="./es/index.cjs.js",nl="./es/index.es.js",al={dev:"vite",build:"vite build --config vite.config.doc.js && vite build --config vite.config.js",doc:"vite -config vite.doc.js"},rl="module",cl="",ol="ISC",il={ahooks:"^2.10.11",classnames:"^2.3.1",keycode:"^2.2.1",react:"^17.0.2","react-dom":"^17.0.2"},sl={"@originjs/vite-plugin-require-context":"^1.0.5","markdown-it":"^12.1.0","markdown-to-jsx":"^7.1.3",vite:"^2.4.2","vite-plugin-plain-text":"^1.1.4",less:"^4.1.1",history:"^5.0.1"};var ml={name:el,version:tl,description:ll,main:ul,module:nl,scripts:al,type:rl,author:cl,license:ol,dependencies:il,devDependencies:sl},El={onNext(u){console.log("onnext",u)}};function dl(){return e.createElement("div",null,e.createElement("h1",null,"/system/alert"),e.createElement("p",null,"\u5F39\u51FA\u4E00\u4E2A\u8B66\u544A\u7A97\uFF0C\u7528\u6237\u5FC5\u987B\u70B9\u51FB\u786E\u8BA4\u624D\u80FD\u7EE7\u7EED"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("code",{className:"code"},`
618
618
  // gs \u4EE3\u7801\u5982\u4E0B
619
619
  pageFlow.alert({
620
620
  title: '111',
@@ -661,7 +661,7 @@ const dataSource = [
661
661
  // \u5168\u5C40 LOADING
662
662
  // \u901A\u5E38\u811A\u624B\u67B6\u5DF2\u6CE8\u518C\u8FD9\u4E2A\u754C\u9762
663
663
  app.registerAction("GLOBAL_LOADING", PageFlowSystemPages.Loading);
664
- `),e.createElement("h2",null,"\u9875\u9762\u6548\u679C"),e.createElement("div",{className:"light-block light-block-overlay"},e.createElement("button",{onClick:()=>{t(!0),setTimeout(()=>{t(!1)},1e4)}},"\u70B9\u51FB\u663E\u793A"),u?e.createElement(Pt,{data:{a:1},onNext:console.log,visible:!0}):null),e.createElement("h2",null,"Loading"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null)))}function gl(){const[u,t]=p.exports.useState(!1),l=e.createElement(St,null),n=e.createElement(d.Group,null,e.createElement(d,{type:"cutout",onClick:r=>{console.log("cancle"),t(!0),u||setTimeout(()=>{t(!1)},2e3)}},"\u53D6\u6D88"),e.createElement(d,{type:"primary"},"\u786E\u8BA4")),a=[{},{},{}];return e.createElement("div",null,e.createElement("h1",null,"Scan"),e.createElement("p",null,"\u626B\u7801\u7EC4\u4EF6"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"light-block",style:{display:"flex"}},e.createElement("div",{style:{width:480,height:800,position:"relative"}},e.createElement(q,{style:{backgroundColor:"black",marginRight:20},header:l,footer:n,loading:u},e.createElement(k,{text:"\u8BF7\u9760\u8FD1\u7BB1\u7801\u8FDB\u884C\u8BC6\u522B"}))),e.createElement("div",{style:{width:480,height:800,position:"relative"}},e.createElement(q,{style:{backgroundColor:"black"},header:l,footer:n},a.map((r,c)=>e.createElement(A,{key:c,title:"\u5F85\u62E3\u4EF6\u6570",highlightInfo:"800",highlightInfoCN:"\u4EF6",highlightSubInfo:"/800",highlightSubInfoCN:"\u4EF6",boldInfo:"\u52A0\u7C97\u663E\u793A\uFF1A512/\u4E94\u5382\u7EFC\u5305\u4E00\u697C,\u8FD9\u662F\u52A0\u7C97\u663E\u793A\u7684\u8D27\u54C1\u540D\u79F0\u53EF\u80FD\u6709\u591A\u884C",style:{width:"400px",backgroundColor:"black"},theme:"dark",infoList:[{label:"\u5546\u54C1\u6761\u7801",content:"623126388798"},{label:"\u622A\u6B62\u65E5\u671F",content:"2022-07-25"},{label:"\u4EA7\u54C1\u540D\u79F0",content:"\u5546\u54C1\u7684\u540D\u79F0"},{label:"\u54C1\u53F7",content:"12398765423"}]}))))),e.createElement("code",{className:"code"},`
664
+ `),e.createElement("h2",null,"\u9875\u9762\u6548\u679C"),e.createElement("div",{className:"light-block light-block-overlay"},e.createElement("button",{onClick:()=>{t(!0),setTimeout(()=>{t(!1)},1e4)}},"\u70B9\u51FB\u663E\u793A"),u?e.createElement(Pt,{data:{a:1},onNext:console.log,visible:!0}):null),e.createElement("h2",null,"Loading"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null)))}function gl(){const[u,t]=p.exports.useState(!1),l=e.createElement(St,null),n=e.createElement(d.Group,null,e.createElement(d,{type:"cutout",onClick:r=>{console.log("cancle"),t(!0),u||setTimeout(()=>{t(!1)},2e3)}},"\u53D6\u6D88"),e.createElement(d,{type:"primary"},"\u786E\u8BA4")),a=[{},{},{}];return e.createElement("div",null,e.createElement("h1",null,"Scan"),e.createElement("p",null,"\u626B\u7801\u7EC4\u4EF6"),e.createElement("h2",null,"\u793A\u4F8B"),e.createElement("div",{className:"light-block",style:{display:"flex"}},e.createElement("div",{style:{width:480,height:800,position:"relative"}},e.createElement(q,{style:{backgroundColor:"black",marginRight:20},header:l,footer:n,loading:u},e.createElement(A,{text:"\u8BF7\u9760\u8FD1\u7BB1\u7801\u8FDB\u884C\u8BC6\u522B"}))),e.createElement("div",{style:{width:480,height:800,position:"relative"}},e.createElement(q,{style:{backgroundColor:"black"},header:l,footer:n},a.map((r,c)=>e.createElement(k,{key:c,title:"\u5F85\u62E3\u4EF6\u6570",highlightInfo:"800",highlightInfoCN:"\u4EF6",highlightSubInfo:"/800",highlightSubInfoCN:"\u4EF6",boldInfo:"\u52A0\u7C97\u663E\u793A\uFF1A512/\u4E94\u5382\u7EFC\u5305\u4E00\u697C,\u8FD9\u662F\u52A0\u7C97\u663E\u793A\u7684\u8D27\u54C1\u540D\u79F0\u53EF\u80FD\u6709\u591A\u884C",style:{width:"400px",backgroundColor:"black"},theme:"dark",infoList:[{label:"\u5546\u54C1\u6761\u7801",content:"623126388798"},{label:"\u622A\u6B62\u65E5\u671F",content:"2022-07-25"},{label:"\u4EA7\u54C1\u540D\u79F0",content:"\u5546\u54C1\u7684\u540D\u79F0"},{label:"\u54C1\u53F7",content:"12398765423"}]}))))),e.createElement("code",{className:"code"},`
665
665
  const header = <Title></Title>;
666
666
  const footer = (
667
667
  <Button.Group>
@@ -676,4 +676,4 @@ const dataSource = [
676
676
  >
677
677
  <Presentation text="\u8BF7\u9760\u8FD1\u7BB1\u7801\u8FDB\u884C\u8BC6\u522B" ></Presentation>
678
678
  </BaseLayout>
679
- `),e.createElement("h2",null,"\u53C2\u6570"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"header"),e.createElement("td",null,"\u5438\u9876\u7EC4\u4EF6"),e.createElement("td",null),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"footer"),e.createElement("td",null,"\u5438\u5E95\u7EC4\u4EF6"),e.createElement("td",null),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"onBarcodeScan"),e.createElement("td",null,"\u6CE8\u518C\u626B\u63CF\u4E8C\u7EF4\u7801/\u6761\u5F62\u7801[\u5F90\u798F\u8BB0\u9879\u76EE\u4E13\u7528]"),e.createElement("td",null,"Function"),e.createElement("td",null,"data => data.scanData")),e.createElement("tr",null,e.createElement("td",null,"onScanBarcode"),e.createElement("td",null,"\u6CE8\u518C\u626B\u63CF\u4E8C\u7EF4\u7801/\u6761\u5F62\u7801[\u63A8\u8350\u4F7F\u7528]"),e.createElement("td",null,"Function"),e.createElement("td",null,"data => data.scanData")),e.createElement("tr",null,e.createElement("td",null,"onRfidOnce"),e.createElement("td",null,"\u6309\u952E\u6309\u4E0B/\u62AC\u8D77\uFF0C\u53EA\u89E6\u53D1\u7B2C\u4E00\u4E2Arfid\u7801"),e.createElement("td",null,"Function"),e.createElement("td",null,"data => ")),e.createElement("tr",null,e.createElement("td",null,"onRfidBoxOnce"),e.createElement("td",null,"\u6309\u952E\u6309\u4E0B/\u62AC\u8D77\uFF0C\u53EA\u89E6\u53D1\u7B2C\u4E00\u4E2A rfid \u7BB1\u7801"),e.createElement("td",null,"Function"),e.createElement("td",null,"data => ")),e.createElement("tr",null,e.createElement("td",null,"onRfidPalletOnce"),e.createElement("td",null,"\u6309\u952E\u6309\u4E0B/\u62AC\u8D77\uFF0C\u53EA\u89E6\u53D1\u7B2C\u4E00\u4E2A rfid \u6808\u677F\u7801"),e.createElement("td",null,"Function"),e.createElement("td",null,"data => ")),e.createElement("tr",null,e.createElement("td",null,"onRfidScan"),e.createElement("td",null,"\u6309\u952E\u6309\u4E0B/\u62AC\u8D77\u89E6\u53D1 rfid \u8FDE\u7EED\u626B\u63CF"),e.createElement("td",null,"Function"),e.createElement("td",null,"data => ")),e.createElement("tr",null,e.createElement("td",null,"onRfidBoxScan"),e.createElement("td",null,"\u6309\u952E\u6309\u4E0B/\u62AC\u8D77\u89E6\u53D1 rfid \u7BB1\u7801\u8FDE\u7EED\u626B\u63CF"),e.createElement("td",null,"Function"),e.createElement("td",null,"data => ")),e.createElement("tr",null,e.createElement("td",null,"onRfidPalletScan"),e.createElement("td",null,"\u6309\u952E\u6309\u4E0B/\u62AC\u8D77\u89E6\u53D1 rfid \u6808\u677F\u7801\u8FDE\u7EED\u626B\u63CF"),e.createElement("td",null,"Function"),e.createElement("td",null,"data => ")))))}const J=[{title:"\u7EC4\u4EF6\u5217\u8868",pages:[{key:"First",title:"\u5FEB\u901F\u5F00\u59CB",doc:we},{key:"Header",title:"Header",doc:_e},{key:"Button",title:"Button",doc:Pe},{key:"InfoCard",title:"InfoCard",doc:We},{key:"Steps",title:"Steps",doc:Re},{key:"ImageUploader",title:"ImageUploader",doc:it},{key:"ImageViewer",title:"ImageViewer",doc:st},{key:"ListItem",title:"ListItem",doc:He},{key:"Confirm",title:"Confirm",doc:Ge},{key:"Toast",title:"Toast",doc:Qe},{key:"Overlay",title:"Overlay",doc:et},{key:"Tag",title:"Tag",doc:tt},{key:"SimpleCard",title:"SimpleCard",doc:lt},{key:"SimpleCardBlock",title:"SimpleCardBlock",doc:nt},{key:"SelectCard",title:"SelectCard",doc:at},{key:"Presentation",title:"Presentation",doc:mt},{key:"List",title:"List",doc:ht},{key:"WakeKeyborard",title:"WakeKeyborard",doc:pt},{key:"SubCard",title:"SubCard",doc:Ft},{key:"FinishCard",title:"FinishCard",doc:kt},{key:"DistanceCard",title:"DistanceCard",doc:vt},{key:"InfiniteScroll",title:"InfiniteScroll",doc:jt},{key:"ActionSheet",title:"ActionSheet",doc:zt},{key:"AppList",title:"AppList",doc:Yt},{key:"LatticeMouth",title:"LatticeMouth",doc:Zt},{key:"Card",title:"Card",doc:Qt}]},{title:"\u5185\u7F6E\u754C\u9762\u9884\u89C8",pages:[{key:"/system/alert",title:"/system/alert",doc:dl},{key:"/system/confirm",title:"/system/confirm",doc:hl},{key:"/system/toast",title:"/system/toast",doc:pl},{key:"/system/prompt",title:"/system/prompt",doc:Fl},{key:"/system/loading",title:"/system/loading",doc:Cl}]},{title:"\u5E03\u5C40\u5BB9\u5668",pages:[{key:"BaseLayout",title:"BaseLayout",doc:gl}]}];function fl(u){return J.map(t=>t.pages.filter(function(l){return l.key===u})[0]).filter(t=>t)[0]}function Be(){return location.hash.replace("#","")||J[0].pages[0].key}function Bl(){const[u,t]=e.useState(Be),l=e.useCallback(function(a){location.hash=a});e.useEffect(function(){window.addEventListener("hashchange",function(){t(Be())})},[]);const n=fl(u);return e.createElement("div",{className:"components-container"},e.createElement("div",{className:"components-example"},e.createElement("h1",{title:"@cniot/android-pda-components",style:{lineHeight:"0.5em"}},e.createElement("span",null,"Components"),e.createElement("br",null),e.createElement("sub",{style:{fontSize:12}}," version: [",ml.version,"]")),J.map(function(a,r){return e.createElement(e.Fragment,{key:r},e.createElement("h2",null,a.title),a.pages.map(function(c){return e.createElement("div",{className:u===c.key?"components-item active":"components-item",onClick:l.bind(null,c.key),"data-index":c.key,key:c.key},e.createElement("span",null,c.title))}))})),e.createElement("div",{className:"show-case"},n?e.createElement(n.doc,{}):null))}H.render(e.createElement(Bl,null),document.getElementById("root"));
679
+ `),e.createElement("h2",null,"\u53C2\u6570"),e.createElement("table",{className:"pure-table pure-table-bordered"},e.createElement("thead",null,e.createElement("tr",null,e.createElement("th",null,"\u5C5E\u6027"),e.createElement("th",null,"\u8BF4\u660E"),e.createElement("th",null,"\u7C7B\u578B"),e.createElement("th",null,"\u9ED8\u8BA4\u503C"))),e.createElement("tbody",null,e.createElement("tr",null,e.createElement("td",null,"header"),e.createElement("td",null,"\u5438\u9876\u7EC4\u4EF6"),e.createElement("td",null),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"footer"),e.createElement("td",null,"\u5438\u5E95\u7EC4\u4EF6"),e.createElement("td",null),e.createElement("td",null)),e.createElement("tr",null,e.createElement("td",null,"onBarcodeScan"),e.createElement("td",null,"\u6CE8\u518C\u626B\u63CF\u4E8C\u7EF4\u7801/\u6761\u5F62\u7801[\u5F90\u798F\u8BB0\u9879\u76EE\u4E13\u7528]"),e.createElement("td",null,"Function"),e.createElement("td",null,"data => data.scanData")),e.createElement("tr",null,e.createElement("td",null,"onScanBarcode"),e.createElement("td",null,"\u6CE8\u518C\u626B\u63CF\u4E8C\u7EF4\u7801/\u6761\u5F62\u7801[\u63A8\u8350\u4F7F\u7528]"),e.createElement("td",null,"Function"),e.createElement("td",null,"data => data.scanData")),e.createElement("tr",null,e.createElement("td",null,"onRfidOnce"),e.createElement("td",null,"\u6309\u952E\u6309\u4E0B/\u62AC\u8D77\uFF0C\u53EA\u89E6\u53D1\u7B2C\u4E00\u4E2Arfid\u7801"),e.createElement("td",null,"Function"),e.createElement("td",null,"data => ")),e.createElement("tr",null,e.createElement("td",null,"onRfidBoxOnce"),e.createElement("td",null,"\u6309\u952E\u6309\u4E0B/\u62AC\u8D77\uFF0C\u53EA\u89E6\u53D1\u7B2C\u4E00\u4E2A rfid \u7BB1\u7801"),e.createElement("td",null,"Function"),e.createElement("td",null,"data => ")),e.createElement("tr",null,e.createElement("td",null,"onRfidPalletOnce"),e.createElement("td",null,"\u6309\u952E\u6309\u4E0B/\u62AC\u8D77\uFF0C\u53EA\u89E6\u53D1\u7B2C\u4E00\u4E2A rfid \u6808\u677F\u7801"),e.createElement("td",null,"Function"),e.createElement("td",null,"data => ")),e.createElement("tr",null,e.createElement("td",null,"onRfidScan"),e.createElement("td",null,"\u6309\u952E\u6309\u4E0B/\u62AC\u8D77\u89E6\u53D1 rfid \u8FDE\u7EED\u626B\u63CF"),e.createElement("td",null,"Function"),e.createElement("td",null,"data => ")),e.createElement("tr",null,e.createElement("td",null,"onRfidBoxScan"),e.createElement("td",null,"\u6309\u952E\u6309\u4E0B/\u62AC\u8D77\u89E6\u53D1 rfid \u7BB1\u7801\u8FDE\u7EED\u626B\u63CF"),e.createElement("td",null,"Function"),e.createElement("td",null,"data => ")),e.createElement("tr",null,e.createElement("td",null,"onRfidPalletScan"),e.createElement("td",null,"\u6309\u952E\u6309\u4E0B/\u62AC\u8D77\u89E6\u53D1 rfid \u6808\u677F\u7801\u8FDE\u7EED\u626B\u63CF"),e.createElement("td",null,"Function"),e.createElement("td",null,"data => ")))))}const J=[{title:"\u7EC4\u4EF6\u5217\u8868",pages:[{key:"First",title:"\u5FEB\u901F\u5F00\u59CB",doc:we},{key:"Header",title:"Header",doc:_e},{key:"Button",title:"Button",doc:Pe},{key:"InfoCard",title:"InfoCard",doc:We},{key:"Steps",title:"Steps",doc:Re},{key:"ImageUploader",title:"ImageUploader",doc:it},{key:"ImageViewer",title:"ImageViewer",doc:st},{key:"ListItem",title:"ListItem",doc:He},{key:"Confirm",title:"Confirm",doc:Ge},{key:"Toast",title:"Toast",doc:Qe},{key:"Overlay",title:"Overlay",doc:et},{key:"Tag",title:"Tag",doc:tt},{key:"SimpleCard",title:"SimpleCard",doc:lt},{key:"SimpleCardBlock",title:"SimpleCardBlock",doc:nt},{key:"SelectCard",title:"SelectCard",doc:at},{key:"Presentation",title:"Presentation",doc:mt},{key:"List",title:"List",doc:ht},{key:"WakeKeyborard",title:"WakeKeyborard",doc:pt},{key:"SubCard",title:"SubCard",doc:Ft},{key:"FinishCard",title:"FinishCard",doc:At},{key:"DistanceCard",title:"DistanceCard",doc:vt},{key:"InfiniteScroll",title:"InfiniteScroll",doc:jt},{key:"ActionSheet",title:"ActionSheet",doc:zt},{key:"AppList",title:"AppList",doc:Yt},{key:"LatticeMouth",title:"LatticeMouth",doc:Zt},{key:"Card",title:"Card",doc:Qt}]},{title:"\u5185\u7F6E\u754C\u9762\u9884\u89C8",pages:[{key:"/system/alert",title:"/system/alert",doc:dl},{key:"/system/confirm",title:"/system/confirm",doc:hl},{key:"/system/toast",title:"/system/toast",doc:pl},{key:"/system/prompt",title:"/system/prompt",doc:Fl},{key:"/system/loading",title:"/system/loading",doc:Cl}]},{title:"\u5E03\u5C40\u5BB9\u5668",pages:[{key:"BaseLayout",title:"BaseLayout",doc:gl}]}];function fl(u){return J.map(t=>t.pages.filter(function(l){return l.key===u})[0]).filter(t=>t)[0]}function Be(){return location.hash.replace("#","")||J[0].pages[0].key}function Bl(){const[u,t]=e.useState(Be),l=e.useCallback(function(a){location.hash=a});e.useEffect(function(){window.addEventListener("hashchange",function(){t(Be())})},[]);const n=fl(u);return e.createElement("div",{className:"components-container"},e.createElement("div",{className:"components-example"},e.createElement("h1",{title:"@cniot/android-pda-components",style:{lineHeight:"0.5em"}},e.createElement("span",null,"Components"),e.createElement("br",null),e.createElement("sub",{style:{fontSize:12}}," version: [",ml.version,"]")),J.map(function(a,r){return e.createElement(e.Fragment,{key:r},e.createElement("h2",null,a.title),a.pages.map(function(c){return e.createElement("div",{className:u===c.key?"components-item active":"components-item",onClick:l.bind(null,c.key),"data-index":c.key,key:c.key},e.createElement("span",null,c.title))}))})),e.createElement("div",{className:"show-case"},n?e.createElement(n.doc,{}):null))}H.render(e.createElement(Bl,null),document.getElementById("root"));