@cniot/android-pda-components 0.2.58 → 0.2.59

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:bold;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:bold;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{color:#fff}.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:bold;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{font-size:2.2rem;margin-bottom:1rem}.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:bold}.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:bold;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:bold;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:bold;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,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"},`
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"
@@ -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>
@@ -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"
@@ -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"));
package/build/index.html CHANGED
@@ -9,9 +9,9 @@
9
9
 
10
10
  <script src="https://g.alicdn.com/code/lib/react/17.0.2/umd/react.production.min.js"></script>
11
11
  <script src="https://g.alicdn.com/code/lib/react-dom/17.0.2/umd/react-dom.production.min.js"></script>
12
- <script type="module" crossorigin src="./assets/index.43768a4f.js"></script>
12
+ <script type="module" crossorigin src="./assets/index.60e10d39.js"></script>
13
13
  <link rel="modulepreload" href="./assets/vendor.999402d8.js">
14
- <link rel="stylesheet" href="./assets/index.1fe10a10.css">
14
+ <link rel="stylesheet" href="./assets/index.3bb48944.css">
15
15
  </head>
16
16
 
17
17
  <body>
package/es/index.cjs.js CHANGED
@@ -4,4 +4,4 @@
4
4
  http://jedwatson.github.io/classnames
5
5
  */(function(l){(function(){var t={}.hasOwnProperty;function a(){for(var n=[],s=0;s<arguments.length;s++){var r=arguments[s];if(!!r){var i=typeof r;if(i==="string"||i==="number")n.push(r);else if(Array.isArray(r)){if(r.length){var c=a.apply(null,r);c&&n.push(c)}}else if(i==="object")if(r.toString===Object.prototype.toString)for(var o in r)t.call(r,o)&&r[o]&&n.push(o);else n.push(r.toString())}}return n.join(" ")}l.exports?(a.default=a,l.exports=a):window.classNames=a})()})(j);var v=j.exports;function Ce(l){return{center:"op-overlay center",top:"op-overlay top",bottom:"op-overlay bottom"}[l]||"op-overlay"}function b(l){const{verticalPosition:t="center",visible:a=!0,closable:n=!1,onClosed:s=()=>{}}=l,[r,i]=p.useState(!a);p.useEffect(()=>{i(!a)},[a]);const c={};return n&&(c.onClick=o=>{i(!0),s()}),p.useEffect(()=>{i(!a)},[a]),r?null:e.default.createElement("div",g({className:Ce(t)},c),l.children)}const z=()=>{};class we extends e.default.Component{constructor(t){super(t);E(this,"state",{showMenu:!1})}render(){const{className:t,goBack:a=!0,goBackHandle:n=z,icon:s="scan",title:r="\u4EFB\u52A1",menuList:i=null}=this.props,{showMenu:c}=this.state;return e.default.createElement("div",{className:v({[t]:!0,"pda-header":!0})},e.default.createElement("div",{className:"header-click-area",onClick:a?n:z},a&&e.default.createElement("div",{className:"pda-goback"}),s&&e.default.createElement("div",{className:v({"pda-header-icon":!0,["pda-header-icon-"+s]:!0})})),e.default.createElement("p",{className:v({"pda-title-text":!0})},r),i?e.default.createElement("div",{className:"pda-header-more",onClick:o=>{this.setState({showMenu:!0})}}):null,e.default.createElement(b,{visible:c,verticalPosition:"bottom",closable:!0,onClosed:o=>this.setState({showMenu:!1})},e.default.createElement("div",{className:"pda-menus"},i)))}}var M={exports:{}};(function(l,t){function a(o){if(o&&typeof o=="object"){var d=o.which||o.keyCode||o.charCode;d&&(o=d)}if(typeof o=="number")return i[o];var u=String(o),m=n[u.toLowerCase()];if(m)return m;var m=s[u.toLowerCase()];if(m)return m;if(u.length===1)return u.charCodeAt(0)}a.isEventKey=function(d,u){if(d&&typeof d=="object"){var m=d.which||d.keyCode||d.charCode;if(m==null)return!1;if(typeof u=="string"){var f=n[u.toLowerCase()];if(f)return f===m;var f=s[u.toLowerCase()];if(f)return f===m}else if(typeof u=="number")return u===m;return!1}},t=l.exports=a;var n=t.code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},s=t.aliases={windows:91,"\u21E7":16,"\u2325":18,"\u2303":17,"\u2318":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};/*!
6
6
  * Programatically add the following
7
- */for(r=97;r<123;r++)n[String.fromCharCode(r)]=r-32;for(var r=48;r<58;r++)n[r-48]=r;for(r=1;r<13;r++)n["f"+r]=r+111;for(r=0;r<10;r++)n["numpad "+r]=r+96;var i=t.names=t.title={};for(r in n)i[n[r]]=r;for(var c in s)n[c]=s[c]})(M,M.exports);var Se=M.exports;function y(l){const{type:t="default",onClick:a,className:n="",tabIndex:s=1,dataClick:r=""}=l;let i={};return r&&(i["data-click"]=r),e.default.createElement("button",g({className:`pda-button pda-button-${t} ${n}`,onClick:a,tabIndex:s},i),l.children)}function xe(l){return e.default.createElement("div",{className:"button-group"},l.children)}y.Group=xe;const Y=["fn"],Fe=()=>{};function _e(l){const{onBack:t,icon:a,title:n,menus:s=[],onClickMenuItem:r=Fe,onScanBarcode:i,cancelMenuText:c,configIconClick:o=null,menuShortcutKey:d,backShortcutKey:u}=l,[m,f]=e.default.useState(!1);return e.default.useEffect(function(){if(d)return J(q(d),function(){f(!0)})},[d]),e.default.useEffect(function(){if(u&&t)return J(q(u),function(){t("back")})},[u,t]),e.default.useEffect(()=>Le(function(){t&&t("back")}),[]),e.default.useEffect(()=>Be(document,"BarcodeScan",function(h){i&&i(h.param.scanData)}),[i]),e.default.createElement("div",{className:"pda-header"},e.default.createElement("div",{className:"header-click-area",onClick:()=>{t&&t("back")}},t?e.default.createElement("div",{className:"pda-goback"}):null,a&&e.default.createElement("div",{className:`pda-header-icon pda-header-icon-${a}`})),e.default.createElement("div",{className:"pda-title-text"},n),s&&s.length?e.default.createElement("div",{className:"pda-header-icon pda-header-more",onClick:()=>f(!0)}):null,o?e.default.createElement("div",{className:"pda-header-icon pda-header-config",onClick:o}):null,e.default.createElement(b,{visible:m,verticalPosition:"bottom",closable:!1,onClosed:()=>f(!1)},e.default.createElement("div",{className:"pda-menus"},s.map((h,k)=>e.default.createElement(y,{onClick:()=>{f(!1),r(h),h.action&&h.action(h)},key:h.key||k},h.label)),c?e.default.createElement("div",{style:{marginTop:20}},e.default.createElement(y,{onClick:()=>f(!1)},c)):null)))}function q(l){return(l.indexOf(",")>-1?l.split(","):[l]).map(a=>{if(Y.indexOf(a.toLowerCase())>-1)return a.toLowerCase();const n=Se(a);return n===void 0&&console.warn("OPButton.shortcutKey error key value by:",a),n}).filter(a=>a!==void 0)}function J(l,t){function a(n){const s=n.key.toLowerCase(),r=Y.indexOf(s)>-1?s:n.keyCode;l.indexOf(r)>-1&&t&&t(n)}return document.addEventListener("keyup",a),function(){document.removeEventListener("keyup",a)}}function Le(l){function t(a){a.param.originValue=="back"&&l&&l()}return document.addEventListener("keyPressed",t,!1),function(){document.removeEventListener("keyPressed",t)}}function Be(l,t,a){return l.addEventListener(t,a,!1),function(){l.removeEventListener(t,a)}}class X extends e.default.Component{constructor(t){super(t)}render(){const{className:t="",title:a,highlightInfo:n,subTitle:s,subHighlightInfo:r,subHighlightSubInfo:i,infoImage:c,tagText:o,highlightInfoCN:d,highlightSubInfo:u,percentage:m,highlightSubInfoCN:f,boldInfo:h,infoList:k=[],style:C={},theme:ge="light"}=this.props;return e.default.createElement("div",{className:v({[t]:!0,"pda-info-card":!0,"pda-info-card-dark":ge==="dark"}),style:C},e.default.createElement("div",{className:"pda-info-card-title-section"},e.default.createElement("div",{className:"pda-info-card-title"},a),o?e.default.createElement("div",{className:"pda-info-card-tag"},e.default.createElement("div",{className:"pda-info-card-tag-text"},o)):null),e.default.createElement("div",{className:"pda-info-card-highlight-section"},e.default.createElement("div",null,e.default.createElement("div",{className:"pda-info-card-highlight"},e.default.createElement("span",{className:"pda-info-card-highlight1"},n),e.default.createElement("span",{className:"pda-info-card-highlight1CN"},d),e.default.createElement("span",{className:"pda-info-card-highlight2"},u),e.default.createElement("span",{className:"pda-info-card-highlight2CN"},f)),s?e.default.createElement("div",{className:"pda-info-card-title"},s):null,r?e.default.createElement("div",{className:"pda-info-card-highlight"},e.default.createElement("span",{className:"pda-info-card-highlight1"},r),e.default.createElement("span",{className:"pda-info-card-highlight2"},i)):null),c?e.default.createElement("img",{src:c,width:150,height:150}):null),m!==void 0?e.default.createElement("div",{className:"pda-info-card-progress"},e.default.createElement("div",{className:"pda-info-card-progress-inside",style:{width:`${m*100}%`}})):null,e.default.createElement("div",{className:"pda-info-card-bold"},h),k.map((O,Ee)=>e.default.createElement("div",{key:Ee,className:"pda-info-card-list"},e.default.createElement("span",null,O.label||""),"\xA0\xA0",e.default.createElement("span",null,O.content||""))))}}X.IMAGE_1="https://img.alicdn.com/imgextra/i2/O1CN01qYuxip1ME9zhdL9XG_!!6000000001402-2-tps-150-150.png";class Z extends e.default.Component{constructor(t){super(t)}render(){const{className:t,header:a,onClick:n=()=>{},onHeightLightClick:s=()=>{},onIconClick:r=()=>{},highlightText:i,highlightSubText:c,stateTextList:o=[],stateList:d=[],subInfoList:u=[],style:m={},icon:f}=this.props;return e.default.createElement("div",{className:v({[t]:!0,"pda-list-item":!0}),style:m,onClick:n},a?e.default.createElement("div",{className:"pda-listitem-header"},a):null,e.default.createElement("div",{onClick:s,className:v({"pda-listitem-highlight":!0})},e.default.createElement("div",null,i),e.default.createElement("div",null,c)),e.default.createElement("div",{className:"pda-listitem-state-text"},o.map((h,k)=>e.default.createElement("span",{key:k},h.label||"","\uFF5C"))),e.default.createElement("div",{className:"pda-listitem-state-block"},d.map((h,k)=>{const C=h&&h.type?h.type:"default";return e.default.createElement("div",{key:k,className:C},h.label||"")})),f?e.default.createElement("div",{onClick:r,className:"pda-listitem-icon"},e.default.createElement("div",{className:v({"listitem-icon-container":!0,["listitem-icon-"+f]:!0})})):null,u.map((h,k)=>e.default.createElement("div",{key:k,className:"pda-listitem-subinfo"},e.default.createElement("span",null,h.label||""),"\xA0\xA0",e.default.createElement("span",null,h.content||""))))}}function Re(){}function B(l){const{title:t="title",message:a=null,subMessage:n=[],okText:s="okText",cancelText:r=null,okDataClick:i=null,cancelDataClick:c=null,onClick:o=Re,type:d="primary",insertButtons:u=[],appendButtons:m=[]}=l;return e.default.createElement("div",{className:v({"confirm-wrap":!0,["confirm-"+d]:!0})},e.default.createElement("div",{className:"confirm-content"},e.default.createElement("div",{className:"confirm-title"},t),a?e.default.createElement("div",{className:"confirm-message"},a):null,n.length?e.default.createElement("div",{className:"confirm-sub-message"},n.map((f,h)=>{const{label:k,content:C}=f;return e.default.createElement("div",{className:"confirm-sub-block",key:k||h},e.default.createElement("p",{className:"confirm-sub-label"},k?k+" : ":""),e.default.createElement("p",{className:"confirm-sub-content"},C||""))})):null),e.default.createElement("div",{className:"confirm-btns"},u.length>0?e.default.createElement(y.Group,null,u.map((f,h)=>e.default.createElement(y,{key:h,onClick:()=>o(f.value),dataClick:f.dataClick},f.label))):null,e.default.createElement(y.Group,null,r?e.default.createElement(y,{className:"confirm-cancel-button",onClick:()=>o(!1),dataClick:c},r):null,e.default.createElement(y,{type:"primary",onClick:()=>o(!0),dataClick:i},s)),m.length>0?e.default.createElement(y.Group,null,m.map((f,h)=>e.default.createElement(y,{key:h,onClick:()=>o(f.value),dataClick:f.dataClick},f.label))):null))}function Q(l){const t={domain:"logger",method:"deviceLog",params:l};WindVane.call("WindvanePlugin","invoke",JSON.stringify(t),function(a){},function(a){})}function $e(l){return(typeof l=="function"?l():l)||document.body}function De(l){return l===void 0}function ee(...l){function t(n,s){return De(s)?n:s}let a=Object.assign({},l[0]);for(let n=1;n<l.length;n++)a=Object.assign(a,l[n],t);return a}function S(l){if(window.WindVane){var t={domain:"audio",method:"playSound",params:{sound:l}};WindVane.call("WindvanePlugin","invoke",JSON.stringify(t))}}function We(l){return{success:"toast-wrap success",warning:"toast-wrap warning",error:"toast-wrap error"}[l]||"toast-wrap"}function N(l){const{title:t="title",message:a="message",type:n="success",duration:s=null}=l,[r,i]=p.useState(!1);return p.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)))},[]),s&&setTimeout(()=>{i(!0)},s),r?null:e.default.createElement("div",{className:We(n)},e.default.createElement("div",{className:"toast-title"},t),e.default.createElement("div",{className:"toast-message"},a))}const Pe={maskClickable:!0,stopPropagation:["click"]},Ie=l=>{const t=ee(Pe,l),{maskClickable:a,content:n,icon:s,position:r="bottom",closable:i=!0,title:c,message:o,type:d,visible:u,renderContent:m}=t;return e.default.createElement(b,{visible:u,verticalPosition:r,closable:i},m?m():e.default.createElement(N,{title:c,message:o,type:d}))},te=[];function ae(l){G.default.unmountComponentAtNode(l)&&l.parentNode&&l.parentNode.removeChild(l)}const Me={duration:2e3};function A(l){const t=ee(Me,l);let a=0;const{getContainer:n=()=>document.body}=t,s=document.createElement("div");$e(n).appendChild(s),te.push(s);const i=p.forwardRef((o,d)=>{const[u,m]=p.useState(!0);return p.useEffect(()=>()=>{t.afterClose&&t.afterClose()},[]),p.useEffect(()=>{if(t.duration!==0)return a=window.setTimeout(()=>{m(!1)},t.duration),()=>{window.clearTimeout(a)}},[]),p.useImperativeHandle(d,()=>({close:()=>m(!1)})),e.default.createElement(Ie,L(g({},t),{getContainer:()=>s,visible:u,afterClose:()=>{ae(s)}}))}),c=p.createRef();return G.default.render(e.default.createElement(i,{ref:c}),s),{close:()=>{var o;(o=c.current)==null||o.close()}}}function Ae(){for(;;){const l=te.pop();if(!l)break;ae(l)}}function Te(l={}){const{duration:t=1e4}=l;return A({duration:t,position:"center",closable:!1,renderContent:function(){return e.default.createElement("div",{className:"loading-box"},e.default.createElement("svg",{t:"1647243772165",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2178"},e.default.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.default.createElement("div",null,"LOADING..."))}})}function Ue(l={}){const n=l,{duration:t=0}=n,a=w(n,["duration"]);return A({duration:t,position:"bottom",closable:!0,renderContent:function(){return e.default.createElement(B,g({},a))}})}N.show=A;N.loading=Te;N.confirm=Ue;N.clear=Ae;function Oe(l){const{data:t={},onNext:a}=l;return e.default.createElement(b,{verticalPosition:"bottom"},e.default.createElement(B,L(g({},t),{onClick:()=>a(!0)})))}function Ve(l){const{action:t,appManager:a,service:n}=l,s=e.default.useCallback(function(){n.onStart(a.config.appId)});return e.default.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",height:"100vh"}},e.default.createElement(y,{type:"primary",onClick:s},"\u5F00\u59CB\u4F5C\u4E1A"),e.default.createElement("br",null),e.default.createElement("div",null,a.config.appId),e.default.createElement("div",null,a.config.groupId))}function Ke(l){const{service:t,data:a={},onNext:n}=l;return e.default.createElement(b,{verticalPosition:"bottom"},e.default.createElement(B,L(g({},a),{onClick:n})))}function He(l){return{center:"op-overlay center",top:"op-overlay top",bottom:"op-overlay bottom"}[l]||"op-overlay"}function Ge(l){const{verticalPosition:t="center",visible:a=!0,closable:n=!1,onClosed:s=()=>{}}=l,[r,i]=p.useState(!a);p.useEffect(()=>{i(!a)},[a]);const c={};return n&&(c.onClick=o=>{i(!0),s()}),p.useEffect(()=>{i(!a)},[a]),r?null:e.default.createElement("div",g({className:He(t)},c),l.children)}function je(l){const t=e.default.useRef(),{data:a={},onNext:n}=l,{placeholder:s,defaultValue:r,title:i="\u8BF7\u8F93\u5165",type:c="text",okText:o="\u786E\u8BA4",cancelText:d="\u53D6\u6D88"}=a;return e.default.createElement(Ge,{verticalPosition:"center",closable:!1},e.default.createElement("div",{className:"prompt-dialog"},e.default.createElement("div",null,e.default.createElement("h1",{className:"prompt-title"},i),e.default.createElement("input",{className:"prompt-input",autoFocus:!0,ref:t,placeholder:s,type:c,defaultValue:r,onKeyUp:u=>{u.keyCode===13&&n(ne(t.current))}}),e.default.createElement("div",{className:"prompt-btns"},d?e.default.createElement(y,{onClick:()=>n("back")},d):null,e.default.createElement(y,{type:"primary",onClick:()=>{n(ne(t.current))}},o)))))}function ne(l){const t=l.value||"";return String(t).trim()}function ze(l){const{data:t={},onNext:a}=l,{title:n,level:s,message:r,duration:i=null}=t,[c,o]=p.useState(!1);return e.default.useEffect(()=>{t.hasNext===void 0&&a("");let d=null;return i&&(d=setTimeout(()=>{o(!0)},i)),()=>{clearTimeout(d)}},[t]),c?null:e.default.createElement(b,{verticalPosition:"bottom"},e.default.createElement("div",{style:{width:"90%"}},e.default.createElement(N,{type:s,title:n,message:Ye(r)})))}function Ye(l){var t=String(l).split("by Error:");return t[1]||t[0]}function qe(l){return e.default.createElement("div",{style:{padding:"20%"}},e.default.createElement("h1",null,"404 ",e.default.createElement("small",{style:{fontSize:"60%"}},"Not found")),e.default.createElement("div",null,l.action.getPage()))}function Je(l){const[t,a]=e.default.useState(l.visible),n=l.edgeService;return e.default.useEffect(function(){let s=!1;const r=function(i){s=i,i?setTimeout(function(){s===i&&a(!0)},350):setTimeout(function(){s===i&&a(!1)},100)};return n?(n.on("IO_STATUS",r),function(){n.off("IO_STATUS",r)}):()=>{}},[n]),t?e.default.createElement("div",{className:"loading-wrap"},e.default.createElement("div",{className:"loading-box"},e.default.createElement("svg",{t:"1647243772165",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2178"},e.default.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.default.createElement("div",null,"LOADING..."))):null}function Xe({data:l,service:t,action:a}){const{sound:n}=l;if(window.WindVane){var s={domain:"audio",method:"playSound",params:{sound:n}};WindVane.call("WindvanePlugin","invoke",JSON.stringify(s))}return t.onNext({}),null}function Ze(){return console.warn('Please stop using "Debug" Components'),null}var Qe={Alert:Oe,Start:Ve,Toast:ze,Confirm:Ke,NotFound:qe,Debug:Ze,Prompt:je,Loading:Je,PlaySound:Xe};function x(l){const{image:t=x.IMAGE_1,text:a="",subText:n="",transparent:s}=l;return e.default.createElement("div",{className:s?"presentation-card transparent":"presentation-card"},e.default.createElement("img",{src:t}),a?e.default.createElement("div",{className:"text"},a):null,n?e.default.createElement("div",{className:"sub-text"},n):null)}x.IMAGE_1="https://img.alicdn.com/imgextra/i3/O1CN019Ivkor1ksy3pMGDsz_!!6000000004740-2-tps-280-322.png";x.IMAGE_2="https://img.alicdn.com/imgextra/i1/O1CN01lhSunu1X4VPw1Mlas_!!6000000002870-2-tps-352-158.png";x.IMAGE_3="https://img.alicdn.com/imgextra/i1/O1CN01mreYXo1XfbUsQ7hip_!!6000000002951-2-tps-322-144.png";x.IMAGE_4="https://img.alicdn.com/imgextra/i3/O1CN017gNM8F1Fmmcfti7Dg_!!6000000000530-1-tps-414-286.gif";function et(){}function le(l){const{dataSource:t=[],onClickItem:a,onItemClick:n=et}=l;return e.default.createElement("div",{className:"android-pda-list"},t.map((s,r)=>e.default.createElement(re,{key:s.key||r,dataSource:s,onClick:a||n})),l.children)}function re(l){const t=l.dataSource||{title:l.title,subTitle:l.subTitle,extra:l.extra,tags:l.tags},{title:a,subTitle:n,extra:s,tags:r=[],tabIndex:i}=t,{onClick:c}=l;return e.default.createElement("div",{className:"default-item",onClick:()=>{c(l.dataSource)},tabIndex:i},e.default.createElement("div",{className:"text"},e.default.createElement("div",null,a),n?e.default.createElement("div",{className:"sub-text"},n):null,r&&r.length?e.default.createElement("div",{className:"sub-tags"},r.map(o=>e.default.createElement("div",{className:"sub-tag-item",key:o},o))):null),e.default.createElement("div",{className:"extra"},s))}le.Item=re;const R=()=>{};class $ extends e.default.Component{constructor(t){super(t);this.state={showLoading:!1},this._handleKeyUp=a=>{const{onScan:n=R,onEnter:s=R,onEsc:r=R,onDelete:i=R,scanMode:c=null}=this.props,{code:o,keyCode:d,key:u}=a;if(o==="Enter"){a.preventDefault(),s(a);return}if(o==="Delete"){a.preventDefault(),i(a);return}if(o==="Esc"){a.preventDefault(),r(a);return}},this._handleBeforeUnload=a=>(a.returnValue="\u786E\u5B9A\u79BB\u5F00\u5F53\u524D\u9875\u9762\u5417\uFF1F",!0),this._handleUnload=a=>{WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'stopRfidScan', 'params':null}",function(s){},function(s){});const n={tag:"stopRfid",level:"d",message:"stop rfid scan!!!"};Q(n),Q(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,a){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:a={},header:n,footer:s,loading:r}=this.props;return e.default.createElement("div",{className:v({"baselayout-wrapper":!0}),style:a},n&&e.default.createElement("div",{className:v({"baselayout-header":!0})},n),e.default.createElement("div",{className:v({"baselayout-container":!0})},t.children),s&&e.default.createElement("div",{className:v({"baselayout-footer":!0})},s),this.state.showLoading?e.default.createElement("div",{className:"loading"}):null)}}const tt=()=>{};class at extends e.default.Component{constructor(t){super(t);this._rfidBeginScan=!1,this._handleRfidScan=a=>{const{onRfidOnce:n,onRfidBoxOnce:s,onRfidPalletOnce:r}=this.props,i=a.param,c=i.rfidData.startsWith("0F006"),o=i.rfidData.startsWith("0F011");if(S("single_recog"),o){let d=i.rfidData;i.originData=d,i.rfidData=d.substr(5,12)}s&&c?(this._stopWork(),s(i)):r&&o&&(this._stopWork(),r(i)),n&&(this._stopWork(),n(i))},this._startWork=a=>{document.addEventListener("ContinuousRfidScan",this._handleRfidScan),WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'startScan', 'params': null}",function(n){},function(n){}),this._rfidBeginScan=!0},this._stopWork=a=>{document.removeEventListener("ContinuousRfidScan",this._handleRfidScan),WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'stopRfidScan', 'params':null}",function(n){},function(n){})},this._handleKeyDown=a=>{const{code:n,keyCode:s,key:r}=a;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._rfidBeginScan||this._startWork())},this._handleKeyUp=a=>{const{code:n,keyCode:s,key:r}=a;(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 s=this.props,{onRfidOnce:a=tt}=s,n=w(s,["onRfidOnce"]);return e.default.createElement($,g({},n))}}const nt=()=>{};class se extends e.default.Component{constructor(t){super(t);this._rfidBeginScan=!1,this._handleRfidScan=a=>{const{onRfidScan:n,onRfidBoxScan:s,onRfidPalletScan:r}=this.props,i=a.param,c=i.rfidData.startsWith("0F006"),o=i.rfidData.startsWith("0F011");if(o){let d=i.rfidData;i.originData=d,i.rfidData=d.substr(5,12)}c&&s?s(i):o&&r&&r(i),n&&n(i)},this._startWork=a=>{document.addEventListener("ContinuousRfidScan",this._handleRfidScan),WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'startScan', 'params': null}",function(n){},function(n){}),this._rfidBeginScan=!0},this._stopWork=a=>{document.removeEventListener("ContinuousRfidScan",this._handleRfidScan),WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'stopRfidScan', 'params':null}",function(n){},function(n){})},this._handleKeyDown=a=>{const{code:n,keyCode:s,key:r}=a;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._rfidBeginScan||this._startWork())},this._handleKeyUp=a=>{const{code:n,keyCode:s,key:r}=a;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._stopWork(),this._rfidBeginScan=!1)}}componentDidMount(){const{autoRfidScan:t=!1,rfidReaderSleep:a}=this.props;WindVane.call("WindvanePlugin","invoke","{'domain': 'keyboard', 'method': 'changeScanMode', 'params': {'scanMode': 'RFID'}}",function(n){},function(n){}),t?a||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,a){return this.props.autoRfidScan&&this.props.rfidReaderSleep!==t.rfidReaderSleep&&(t.rfidReaderSleep?this._stopWork():this._startWork()),!0}render(){const r=this.props,{onRfidScan:a=nt,autoRfidScan:n}=r,s=w(r,["onRfidScan","autoRfidScan"]);return e.default.createElement($,g({},s))}}E(se,"defaultProps",{rfidReaderSleep:!1});const lt=()=>{};class rt extends e.default.Component{constructor(t){super(t);this._barcodeBeginScan=!1,this._handleBarcodeScan=a=>{const{onBarcodeScan:n}=this.props;this._stopWork(),S("scan"),n&&n(a.param)},this._startWork=a=>{document.addEventListener("BarcodeScan",this._handleBarcodeScan),this._barcodeBeginScan=!0},this._stopWork=a=>{document.removeEventListener("BarcodeScan",this._handleBarcodeScan)},this._handleKeyDown=a=>{const{code:n,keyCode:s,key:r}=a;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._barcodeBeginScan||this._startWork())},this._handleKeyUp=a=>{const{code:n,keyCode:s,key:r}=a;(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(a){},function(a){})}componentWillUnmount(){const{onBarcodeScan:t}=this.props;t&&(document.removeEventListener("keydown",this._handleKeyDown),document.removeEventListener("keyup",this._handleKeyUp)),document.removeEventListener("BarcodeScan",this.onScanBarcode)}render(){const s=this.props,{onBarcodeScan:a=lt}=s,n=w(s,["onBarcodeScan"]);return e.default.createElement($,g({},n))}}class ie extends e.default.Component{constructor(t){super(t)}render(){const t=this.props,{onBarcodeScan:a,onScanBarcode:n,onRfidOnce:s,onRfidBoxOnce:r,onRfidPalletOnce:i,onRfidScan:c,onRfidBoxScan:o,onRfidPalletScan:d}=t;return s||r||i?e.default.createElement(at,g({},t)):c||o||d?e.default.createElement(se,g({},t)):a||n?e.default.createElement(rt,g({},t)):e.default.createElement($,g({},t))}}const T=()=>{};function U(l){const{label:t="\u67E5\u8BE2",onWakeKeyboard:a=T,onClick:n=T,onHidden:s=T,type:r="tel",placeholder:i="\u8BF7\u8F93\u5165",autoClose:c=!0}=l,o=p.useRef(null),[d,u]=p.useState(!0);return p.useEffect(()=>{const m=f=>{const{code:h,keyCode:k,key:C}=f;if(h==="Enter"){f.preventDefault(),n(o.current.value,f),s(!0),u(!1);return}};return requestAnimationFrame(()=>{o.current.focus(),a()}),document.addEventListener("keyup",m),()=>{document.removeEventListener("keyup",m)}},[]),d?e.default.createElement("div",{className:"wakekeyborard-overlay",onClick:m=>{m.target.className&&m.target.className.includes("wakekeyborard-overlay")&&(s(!1),c&&u(!1))}},e.default.createElement("div",{className:"wakekeyborard-inputbox"},e.default.createElement("input",{ref:o,type:r,placeholder:i}),e.default.createElement(y,{type:"cutout",onClick:m=>{n(o.current.value,m),s(!0),c&&u(!1)}},t))):null}const oe=()=>{};function ce(l){const[t,a]=p.useState(l.autoWakeup||!1),i=l,{onClick:n=oe,onHidden:s=oe}=i,r=w(i,["onClick","onHidden"]);return e.default.createElement("div",{className:"wakekeyborard"},t?e.default.createElement(U,g({onClick:(c,o)=>{n(c),a(!t)},onHidden:c=>{a(!1),s(c)}},r)):null,t?null:e.default.createElement("div",{className:"wakekeyborard-icon",onClick:c=>{a(!t)}}))}ce.Keyborard=U;const D="image-uploader";class st extends p.Component{constructor(t){super(t);this.state={}}renderDelete(){return e.default.createElement("span",{className:`${D}-cell-delete`,onClick:this.props.onDelete},e.default.createElement("img",{className:"uploader-delete-icon",alt:"close",src:"https://img.alicdn.com/imgextra/i2/O1CN01MInPNX1FWIOjjrlea_!!6000000000494-2-tps-32-32.png"}))}render(){const{src:t,deletable:a,onView:n,box:s}=this.props;return e.default.createElement("div",{className:"image-space-item"},e.default.createElement("div",{className:`${D}-cell`,style:{width:s,height:s}},e.default.createElement("div",{className:`${D}-cell-image`,style:{width:s,height:s}},e.default.createElement("img",{className:`${D}-img`,src:t,fit:"cover",onClick:n})),a&&this.renderDelete()))}}const de="image-uploader";class it extends p.Component{constructor(t){super(t);this.state={}}render(){const{box:t}=this.props;return e.default.createElement("div",{className:"image-space-item"},e.default.createElement("div",{className:`${de}-upload-button-wrap`,onClick:this.props.onUpload},e.default.createElement("span",{className:`${de}-upload-button image-uploader-cell`,style:{width:t,height:t}},e.default.createElement("img",{className:"uploader-add-icon",alt:"add",src:"https://img.alicdn.com/imgextra/i1/O1CN01RipHZ11yVyprbUP5B_!!6000000006585-2-tps-32-32.png"}))))}}const W="image-viewer";class ue extends p.Component{constructor(t){super(t);E(this,"onShow",(t=0)=>{const{props:a}=this;let n=0;typeof t!="number"?n=0:n=t>a.images.length-1?0:t,this.setState({visible:!0,currentIndex:n,loading:!0})});E(this,"onHide",()=>{this.setState({visible:!1})});E(this,"handleImageLoaded",t=>{this.setState({loading:!1})});E(this,"onClickMask",t=>{if(t.target.getAttribute("class")!=="image-viewer-image-wrapper"&&t.target.getAttribute("class")!=="image-viewer-loading")return;const{afterClose:a}=this.props;this.setState({visible:!1},()=>{a&&a()})});E(this,"onClose",()=>{const{onClose:t,images:a}=this.props,{currentIndex:n}=this.state;a.length===0?this.setState({visible:!1},()=>{t&&t(a[n],n)}):this.setState({currentIndex:0,visible:!1},()=>{t&&t(a[n],n)})});E(this,"onPrev",t=>{t.stopPropagation();const{currentIndex:a}=this.state;this.setState({currentIndex:a-1,loading:!0})});E(this,"onNext",t=>{t.stopPropagation();const{currentIndex:a}=this.state;this.setState({currentIndex:a+1,loading:!0})});this.state={visible:t.defaultVisible||!1,currentIndex:0,loading:!1}}render(){const{currentIndex:t,visible:a,loading:n}=this.state,{images:s}=this.props;return e.default.createElement("div",null,a?e.default.createElement("div",{className:"v-mask",onClick:this.onClickMask},e.default.createElement("div",{className:"v-mask-content"},e.default.createElement("div",{className:`${W}-content`},e.default.createElement("div",{className:`${W}-slides`},e.default.createElement("div",{className:"image-viewer-indicator"},t+1," / ",s.length),e.default.createElement("div",{className:"viewer-image-close",onClick:this.onClose},e.default.createElement("svg",{width:"44",height:"44",viewBox:"0 0 768 768"},e.default.createElement("path",{fill:"#FFF",d:"M607.5 205.5l-178.5 178.5 178.5 178.5-45 45-178.5-178.5-178.5 178.5-45-45 178.5-178.5-178.5-178.5 45-45 178.5 178.5 178.5-178.5z"}))),e.default.createElement("div",{className:"image-viewer-slides-inner"},e.default.createElement("div",{className:"image-viewer-image-wrapper"},e.default.createElement("img",{src:this.props.images[t].url,style:{width:n?1:"auto"},onLoad:this.handleImageLoaded}))),s.length>1?e.default.createElement(e.default.Fragment,null,t===0?null:e.default.createElement("div",{className:"viewer-image-arrow viewer-prev",onClick:this.onPrev},e.default.createElement("svg",{width:"44",height:"44",viewBox:"0 0 768 768"},e.default.createElement("path",{d:"M640.5 352.5v63h-390l178.5 180-45 45-256.5-256.5 256.5-256.5 45 45-178.5 180h390z"}))),t===s.length-1?null:e.default.createElement("div",{className:"viewer-image-arrow viewer-next",onClick:this.onNext},e.default.createElement("svg",{width:"44",height:"44",viewBox:"0 0 768 768"},e.default.createElement("path",{d:"M384 127.5l256.5 256.5-256.5 256.5-45-45 178.5-180h-390v-63h390l-178.5-180z"})))):null))),n?e.default.createElement("div",{className:`${W}-loading`,onClick:this.onClose},e.default.createElement("div",{className:`${W}-loading-reactor`},e.default.createElement("svg",{viewBox:"0 0 32 32",width:"36",height:"36",fill:"white"},e.default.createElement("path",{opacity:".25",d:"M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"}),e.default.createElement("path",{d:"M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z"})))):null):null)}}const P="image-uploader";class ot extends p.Component{constructor(t){super(t);E(this,"onViewImage",t=>{this.imgRef.onShow(t)});E(this,"onClickAdd",()=>{const{capture:t}=this.props,a=this,s={type:"0",mode:t&&t==="camera"?"camera":"photo"};navigator.userAgent.toLowerCase().match(/android/)?a.handlerUpload(s):a.handlerUploadNavigator()});E(this,"handlerUploadNavigator",()=>{const{beforeUpload:t,onBeforeUpload:a}=this.props,n=document.querySelector("#inputFile");n.click(),n.onchange=s=>{let r=s.target.files[0];const i=new FileReader;i.readAsDataURL(r),i.onload=m=>{const f=m.target.result;t&&t({data:f}),a&&a({data:f})};const o=(window.URL||window.webkitURL).createObjectURL(r),{images:d}=this.state,u=(Math.random()*1e4).toFixed(0);this.setState({images:[...d,{id:u,url:o}]})}});E(this,"handlerUpload",t=>{const{beforeUpload:a,onBeforeUpload:n}=this.props;window.WindVane.call("WVCamera","takePhoto",t,function(s){const r={domain:"camera",method:"getBase64",params:{filePath:s.localPath}};window.WindVane.call("WindvanePlugin","invoke",JSON.stringify(r),function(i){a&&a(i.data),n&&n(i.data)},function(i){console.log("failure "+JSON.stringify(i))})},function(s){console.log("takePhoto failure: "+JSON.stringify(s))})});E(this,"onDelete",(t,a)=>{const{onDelete:n}=this.props;n&&n(t,a)});E(this,"_showLoading",()=>{this.setState({loading:!0})});E(this,"_hideLoading",()=>{setTimeout(()=>{this.setState({loading:!1})},10*1e3)});this.state={images:[],loading:!1}}static getDerivedStateFromProps(t,a){return t.value!==a.images?{images:t.value}:null}componentDidMount(){this.setState({images:this.props.value})}render(){const{value:t,loading:a=!1}=this.props,{maxCount:n=1,deletable:s=!1,capture:r="camera",box:i=80}=this.props,{images:c}=this.state;return e.default.createElement(e.default.Fragment,null,e.default.createElement("div",{className:`${P}`},e.default.createElement("input",{type:"file",name:"file",accept:"image/*",id:"inputFile",style:{display:"none"}}),e.default.createElement("div",{className:`${P}-wrap`},c&&c.map((o,d)=>e.default.createElement(st,{src:o.url,key:o.url,box:i,deletable:s,onDelete:()=>this.onDelete(o,d),onView:()=>this.onViewImage(d)})),c&&c.length<n?e.default.createElement(it,{box:i,onUpload:this.onClickAdd}):null)),a?e.default.createElement("div",{className:`${P}-loading`},e.default.createElement("div",{className:`${P}-loading-reactor`},e.default.createElement("svg",{viewBox:"0 0 32 32",width:"36",height:"36",fill:"white"},e.default.createElement("path",{opacity:".25",d:"M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"}),e.default.createElement("path",{d:"M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z"})))):null,e.default.createElement(ue,{ref:o=>this.imgRef=o,images:t}))}}class ct extends e.default.Component{constructor(t){super(t)}render(){const{className:t,title:a,isActive:n,infoList:s=[],style:r={},index:i,isLast:c}=this.props;return e.default.createElement("div",{className:v({[t]:!0,"pda-step-card":!0}),style:r},e.default.createElement("div",{className:"pda-step-indictor"},e.default.createElement("div",{className:v({"pda-step-indictor-top":!0,"pda-step-indictor-top-hidden":i===0})}),e.default.createElement("div",{className:v({"pda-step-indictor-center":!0,"pda-step-indictor-center-active":n})}),e.default.createElement("div",{className:v({"pda-step-indictor-bottom":!0,"pda-step-indictor-bottom-hidden":c})})),e.default.createElement("div",{className:v({"pda-step":!0,"pda-step-dark":!n})},e.default.createElement("div",{className:"pda-step-title"},a),s.map((o,d)=>e.default.createElement("div",{key:d,className:"pda-step-list"},e.default.createElement("span",null,o.label||""),"\xA0\xA0",e.default.createElement("span",null,o.content||"")))))}}class me extends e.default.Component{constructor(t){super(t)}render(){const{className:t,style:a={},theme:n="light",current:s=0,children:r}=this.props;return e.default.createElement("div",{className:v({[t]:!0}),style:a},(r||[]).map((i,c)=>{const o=g({index:c,isLast:c===(r||[]).length-1},i.props);return c===s?o.isActive=!0:o.isActive=!1,p.cloneElement(i,o)}))}}E(me,"Step",ct);class F extends e.default.Component{constructor(t){super(t)}componentDidMount(){this.props.isError?S("success3"):S("success2")}render(){const{className:t,title:a,infoList:n=[],isError:s=!1,buttonMultiLines:r=!1,style:i={},onClick:c=()=>{},okText:o="\u8FD4\u56DE\u9996\u9875",cancelText:d=null}=this.props,u=e.default.createElement(y.Group,null,d?e.default.createElement(y,{style:r?{height:"auto",lineHeight:"50px"}:{},type:"dark",onClick:()=>c(!1)},d):null,e.default.createElement(y,{type:"primary",style:r?{height:"auto",lineHeight:"normal"}:{},onClick:()=>c(!0)},o));return e.default.createElement(ie,{footer:u},e.default.createElement("div",{className:"pda-finish-card-top"},e.default.createElement("img",{className:"pda-finish-card-img",src:s?F.ERROR_SUCCESS:F.SUCCESS}),e.default.createElement("p",{className:"pda-finish-card-title"},a),n.map((m,f)=>e.default.createElement("p",{key:f,className:"pda-finish-card-list"},e.default.createElement("span",null,m.label||""),e.default.createElement("span",null,m.content||"")))))}}F.SUCCESS="https://img.alicdn.com/imgextra/i3/O1CN01OL2UYg24792knbTtC_!!6000000007343-1-tps-506-415.gif";F.ERROR_SUCCESS="https://img.alicdn.com/imgextra/i3/O1CN01p5Oc5t1VMFWtBomQc_!!6000000002638-1-tps-600-456.gif";class dt extends e.default.Component{constructor(t){super(t)}render(){const{className:t,title:a,infoText:n,percentage:s=0,style:r={}}=this.props,i="https://img.alicdn.com/imgextra/i3/O1CN01EFksWL1DBZCu0H1JH_!!6000000000178-2-tps-21-30.png",c="https://img.alicdn.com/imgextra/i1/O1CN01YEhCSg1aObe8UZq7K_!!6000000003320-2-tps-379-17.png";return e.default.createElement("div",{className:v({[t]:!0,"pda-distance-card":!0}),style:r},e.default.createElement("p",{className:"pda-distance-card-highlight"},e.default.createElement("span",{className:"pda-distance-card-highlight1"},a)),e.default.createElement("div",{className:"pda-distance-indictor"},e.default.createElement("img",{src:i,width:20,height:29}),e.default.createElement("p",null,n)),e.default.createElement("div",{className:"pda-distance-card-progress"},e.default.createElement("div",{className:"pda-distance-card-progress-inside",style:{width:`${s*100}%`}}),e.default.createElement("img",{className:"pda-distance-card-progress-indictor",src:c})),e.default.createElement("div",{className:"pda-distance-label"},e.default.createElement("p",null,"\u8FDC"),e.default.createElement("p",null,"\u8FD1")))}}function ut(l){const{title:t,context:a,name:n,tag:s,attrs:r=[],style:i}=l;return e.default.createElement("div",{className:"android-sub-card",style:i},e.default.createElement("div",{className:"android-sub-card-title-section"},e.default.createElement("div",{className:"android-sub-card-title"},t),s?e.default.createElement("div",{className:"android-sub-card-tag"},e.default.createElement("div",{className:s.type},s.label||"")):null),e.default.createElement("div",{className:"android-sub-card-context"},a),n?e.default.createElement("div",{className:"android-sub-card-name"},n):null,e.default.createElement("div",{className:"android-sub-card-attrs"},r.map(c=>e.default.createElement("div",{key:c},c))))}function mt(l){const{title:t,label:a,select:n=!0,onClick:s=r=>{}}=l;return e.default.createElement("div",{className:"select-card"},t?e.default.createElement("p",null,t):null,e.default.createElement("div",{className:"select-card-content",onClick:s},a," ",n?e.default.createElement("span",{className:"select-icon"}):null," "))}function ft(){}function pt(l){const{dataSource:t=[],onClickItem:a=ft}=l;let n=1;return e.default.createElement("div",{className:"pda-app-list"},t.map(s=>e.default.createElement("div",{className:"pda-app-group",key:s.groupName},e.default.createElement("h2",{className:"group-name"},s.groupName),e.default.createElement("div",{className:"group-apps"},s.list.map(r=>e.default.createElement("div",{className:"app-item",key:r.name,autoFocus:n===1,tabIndex:n++,onClick:()=>a(r)},e.default.createElement("span",{className:"app-name"},r.name),e.default.createElement("span",{className:"app-subname"},r.subname)))))))}function ht(l){var t=p.useRef(l);t.current=l;var a=p.useRef();return a.current||(a.current=function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];return t.current.apply(this,n)}),a.current}var vt=function(l,t,a,n){function s(r){return r instanceof a?r:new a(function(i){i(r)})}return new(a||(a=Promise))(function(r,i){function c(u){try{d(n.next(u))}catch(m){i(m)}}function o(u){try{d(n.throw(u))}catch(m){i(m)}}function d(u){u.done?r(u.value):s(u.value).then(c,o)}d((n=n.apply(l,t||[])).next())})},gt=function(l,t){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,s,r,i;return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(d){return function(u){return o([d,u])}}function o(d){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,s&&(r=d[0]&2?s.return:d[0]?s.throw||((r=s.return)&&r.call(s),0):s.next)&&!(r=r.call(s,d[1])).done)return r;switch(s=0,r&&(d=[d[0]&2,r.value]),d[0]){case 0:case 1:r=d;break;case 4:return a.label++,{value:d[1],done:!1};case 5:a.label++,s=d[1],d=[0];continue;case 7:d=a.ops.pop(),a.trys.pop();continue;default:if(r=a.trys,!(r=r.length>0&&r[r.length-1])&&(d[0]===6||d[0]===2)){a=0;continue}if(d[0]===3&&(!r||d[1]>r[0]&&d[1]<r[3])){a.label=d[1];break}if(d[0]===6&&a.label<r[1]){a.label=r[1],r=d;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(d);break}r[2]&&a.ops.pop(),a.trys.pop();continue}d=t.call(l,a)}catch(u){d=[6,u],s=0}finally{n=r=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},Et=function(l,t){var a=typeof Symbol=="function"&&l[Symbol.iterator];if(!a)return l;var n=a.call(l),s,r=[],i;try{for(;(t===void 0||t-- >0)&&!(s=n.next()).done;)r.push(s.value)}catch(c){i={error:c}}finally{try{s&&!s.done&&(a=n.return)&&a.call(n)}finally{if(i)throw i.error}}return r},yt=function(){for(var l=[],t=0;t<arguments.length;t++)l=l.concat(Et(arguments[t]));return l};function kt(l){var t=this,a=p.useRef(!1);return p.useCallback(function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];return vt(t,void 0,void 0,function(){var r,i;return gt(this,function(c){switch(c.label){case 0:if(a.current)return[2];a.current=!0,c.label=1;case 1:return c.trys.push([1,3,,4]),[4,l.apply(void 0,yt(n))];case 2:return r=c.sent(),a.current=!1,[2,r];case 3:throw i=c.sent(),a.current=!1,i;case 4:return[2]}})})},[l])}const bt=/scroll|auto/i;function Nt(l){const t=1;return l.tagName!=="HTML"&&l.tagName!=="BODY"&&l.nodeType===t}function fe(l,t){let a=l;for(;a&&a!==t&&Nt(a);){const{overflowY:n}=window.getComputedStyle(a);if(bt.test(n))return a;a=a.parentNode}return t}function Ct(l){return e.default.createElement("div",{style:{color:l.color||"#999"}},e.default.createElement("svg",{height:"1em",viewBox:"0 0 100 40",style:{verticalAlign:"-0.125em"}},e.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},e.default.createElement("g",{transform:"translate(-100.000000, -71.000000)"},e.default.createElement("g",{transform:"translate(95.000000, 71.000000)"},e.default.createElement("g",{transform:"translate(5.000000, 0.000000)"},[0,1,2].map(t=>e.default.createElement("rect",{key:t,fill:"currentColor",x:20+t*26,y:"16",width:"8",height:"8",rx:"2"},e.default.createElement("animate",{attributeName:"y",from:"16",to:"16",dur:"2s",begin:`${t*.2}s`,repeatCount:"indefinite",values:"16; 6; 26; 16; 16",keyTimes:"0; 0.1; 0.3; 0.4; 1",id:"circ-anim"})))))))))}function wt(l){return l===window}function pe(l){const{className:t,hasMore:a,loadMore:n,threshold:s=0,style:r}=l,i=kt(async()=>{await n()}),c=p.useRef(null),o=ht(()=>{if(!a)return;const d=c.current;if(!d)return;const u=fe(d);if(!u)return;const m=d.getBoundingClientRect().top;(wt(u)?window.innerHeight:u.getBoundingClientRect().bottom)>=m-s&&i()});return p.useEffect(()=>{o()}),p.useEffect(()=>{const d=c.current;if(!d)return;const u=fe(d);if(!u)return;function m(){o()}return u.addEventListener("scroll",m),()=>{u.removeEventListener("scroll",m)}},[]),e.default.createElement("div",{className:v({[t]:!0,"pda-infinite-scroll":!0}),style:r,ref:c},a?e.default.createElement("div",{className:"pda-infinite-scroll-view"},e.default.createElement("span",null,"\u52A0\u8F7D\u4E2D"),e.default.createElement(Ct,null)):e.default.createElement("div",{className:"pda-infinite-scroll-view"},e.default.createElement("span",null,"\u6CA1\u6709\u66F4\u591A\u4E86~")))}function St(l){const{className:t="",visible:a,onClickItem:n,actions:s=[],stickyToBottomActions:r=[],stickyToBottomDirection:i="column",infiniteScroll:c=null}=l;return e.default.createElement("div",{className:v({[t]:!0,"action-sheet":!0,show:a})},e.default.createElement("div",{className:"action-sheet-container"},e.default.createElement("div",{className:"action-sheet-body"},s.map((o,d)=>e.default.createElement("div",{onClick:()=>{n&&n(o),o.onClick&&o.onClick(o.key)},className:"action-sheet-item",key:d},o.title)),c?e.default.createElement(pe,g({},c)):null),r.length>0?e.default.createElement("div",{className:v({"action-sheet-sticky-bottom":!0,["action-sheet-sticky-bottom-"+i]:!0})},r.map((o,d)=>e.default.createElement("div",{onClick:()=>{n&&n(o),o.onClick&&o.onClick(o.key)},className:"action-sheet-item",key:d},o.title))):null))}function he(l){const{className:t=void 0,label:a="label",type:n="success"}=l;return e.default.createElement("div",{className:v({[t]:!0,"pda-tag":!0,["pda-tag-"+n]:!0})},a)}function ve(l){const{className:t="",title:a="",content:n="",type:s="default",onClick:r=()=>{}}=l;return a||n?e.default.createElement("div",{className:v({[t]:!0,"simple-card":!0,["simple-card-"+s]:!0}),onClick:r},e.default.createElement("p",{className:"simple-card-title"},a),e.default.createElement("p",{className:"simple-card-content"},n)):null}function xt(l){const{className:t=void 0,dataSource:a=[],title:n="",tag:s}=l;return e.default.createElement("div",{className:v({[t]:!0,"simple-card-block":!0})},e.default.createElement("div",{className:"simple-card-block-header"},e.default.createElement("p",{className:"simple-card-block-title"},n),s?e.default.createElement("div",{style:{marginLeft:12}},e.default.createElement(he,g({},s))):null),a.length>0?e.default.createElement("div",{className:"simple-card-block-content"},a.map((r,i)=>e.default.createElement(ve,g({key:i},r))),e.default.createElement("div",{style:{display:"inline-block",padding:"12px 18px"}}),e.default.createElement("div",{style:{display:"inline-block",padding:"0 18px",margin:0}})):null)}function Ft(l){const{row:t=3,col:a=3,dataSource:n=[]}=l;return e.default.createElement("div",{className:"lattice-mouth"},Array.from(Array(t)).map(function(s,r){return e.default.createElement("div",{className:"lattice-mouth-row",key:r},Array.from(Array(a)).map((i,c)=>_t(n,r,c,a)))}))}function _t(l,t,a,n){const{color:s="",value:r,label:i,style:c={}}=Lt(l,t,a,n)||{};return e.default.createElement("div",{className:`lattice-mouth-item ${s}`,style:c,key:a},e.default.createElement("div",{className:"lattice-mouth-value"},r),e.default.createElement("div",{className:"lattice-mouth-label"},i))}function Lt(l,t,a,n){return l[t*n+a]}const Bt={"--base-font-size":"20px","--background-color":"#000000","--color":"#FFFFFF","--main-color":"#FFFFFF","--border-radius":"6px","--progress-background-color":"rgba(255, 255, 255, 0.5)","--progress-foreground-color":"#FFFFFF","--tag-background-color":"#008FED","--tag-color":"#FFFFFF"};function Rt(l){const{title:t,content:a,subContent:n,hasProgress:s,progress:r,infoList:i=[],tags:c=[],tagPosition:o="top",style:d={},theme:u="light"}=l;return e.default.createElement("div",{className:"android-op-card",style:Object.assign({},u==="dark"?Bt:{},d)},e.default.createElement("div",{className:"card-h1"},t),e.default.createElement("div",{className:"card-content"},e.default.createElement($t,{label:a})),s?e.default.createElement("div",{className:"card-progress"},e.default.createElement("div",{className:"card-progress-bar",style:{width:r+"%"}})):null,e.default.createElement("div",{className:"card-main-title"},n),e.default.createElement("div",{className:"card-info-list"},i&&i.map((m,f)=>e.default.createElement("div",{className:"card-info-item",key:f},m))),e.default.createElement("div",{className:`card-tags ${o}`},c&&c.map(m=>e.default.createElement("div",{className:"card-tags-item",key:m},m))))}function $t(l){const{label:t}=l,a=String(t).split("/");return a.length>1?e.default.createElement("div",{className:"card-content"},e.default.createElement("span",null,a[0])," ",e.default.createElement("small",null,"/",a[1])):e.default.createElement("div",{className:"card-content"},a[0])}const Dt=Z;exports.ActionSheet=St;exports.AppList=pt;exports.BaseLayout=ie;exports.Button=y;exports.Card=Rt;exports.Confirm=B;exports.DistanceCard=dt;exports.FinishCard=F;exports.Header=_e;exports.ImageUploader=ot;exports.ImageViewer=ue;exports.InfiniteScroll=pe;exports.InfoCard=X;exports.Keyborard=U;exports.LatticeMouth=Ft;exports.List=le;exports.ListItem=Dt;exports.Overlay=b;exports.PageFlowSystemPages=Qe;exports.Presentation=x;exports.SelectCard=mt;exports.SimpleCard=ve;exports.SimpleCardBlock=xt;exports.Steps=me;exports.SubCard=ut;exports.Tag=he;exports.TaskCard=Z;exports.Title=we;exports.Toast=N;exports.WakeKeyborard=ce;
7
+ */for(r=97;r<123;r++)n[String.fromCharCode(r)]=r-32;for(var r=48;r<58;r++)n[r-48]=r;for(r=1;r<13;r++)n["f"+r]=r+111;for(r=0;r<10;r++)n["numpad "+r]=r+96;var i=t.names=t.title={};for(r in n)i[n[r]]=r;for(var c in s)n[c]=s[c]})(M,M.exports);var Se=M.exports;function y(l){const{type:t="default",onClick:a,className:n="",tabIndex:s=1,dataClick:r=""}=l;let i={};return r&&(i["data-click"]=r),e.default.createElement("button",g({className:`pda-button pda-button-${t} ${n}`,onClick:a,tabIndex:s},i),l.children)}function xe(l){return e.default.createElement("div",{className:"button-group"},l.children)}y.Group=xe;const Y=["fn"],Fe=()=>{};function _e(l){const{onBack:t,icon:a,title:n,menus:s=[],onClickMenuItem:r=Fe,onScanBarcode:i,cancelMenuText:c,configIconClick:o=null,menuShortcutKey:d,backShortcutKey:u}=l,[m,f]=e.default.useState(!1);return e.default.useEffect(function(){if(d)return J(q(d),function(){f(!0)})},[d]),e.default.useEffect(function(){if(u&&t)return J(q(u),function(){t("back")})},[u,t]),e.default.useEffect(()=>Le(function(){t&&t("back")}),[]),e.default.useEffect(()=>Be(document,"BarcodeScan",function(h){i&&i(h.param.scanData)}),[i]),e.default.createElement("div",{className:"pda-header"},e.default.createElement("div",{className:"header-click-area",onClick:()=>{t&&t("back")}},t?e.default.createElement("div",{className:"pda-goback"}):null,a&&e.default.createElement("div",{className:`pda-header-icon pda-header-icon-${a}`})),e.default.createElement("div",{className:"pda-title-text"},n),s&&s.length?e.default.createElement("div",{className:"pda-header-icon pda-header-more",onClick:()=>f(!0)}):null,o?e.default.createElement("div",{className:"pda-header-icon pda-header-config",onClick:o}):null,e.default.createElement(b,{visible:m,verticalPosition:"bottom",closable:!1,onClosed:()=>f(!1)},e.default.createElement("div",{className:"pda-menus"},s.map((h,k)=>e.default.createElement(y,{onClick:()=>{f(!1),r(h),h.action&&h.action(h)},key:h.key||k},h.label)),c?e.default.createElement("div",{style:{marginTop:20}},e.default.createElement(y,{onClick:()=>f(!1)},c)):null)))}function q(l){return(l.indexOf(",")>-1?l.split(","):[l]).map(a=>{if(Y.indexOf(a.toLowerCase())>-1)return a.toLowerCase();const n=Se(a);return n===void 0&&console.warn("OPButton.shortcutKey error key value by:",a),n}).filter(a=>a!==void 0)}function J(l,t){function a(n){const s=n.key.toLowerCase(),r=Y.indexOf(s)>-1?s:n.keyCode;l.indexOf(r)>-1&&t&&t(n)}return document.addEventListener("keyup",a),function(){document.removeEventListener("keyup",a)}}function Le(l){function t(a){a.param.originValue=="back"&&l&&l()}return document.addEventListener("keyPressed",t,!1),function(){document.removeEventListener("keyPressed",t)}}function Be(l,t,a){return l.addEventListener(t,a,!1),function(){l.removeEventListener(t,a)}}class X extends e.default.Component{constructor(t){super(t)}render(){const{className:t="",title:a,highlightInfo:n,subTitle:s,subHighlightInfo:r,subHighlightSubInfo:i,infoImage:c,tagText:o,highlightInfoCN:d,highlightSubInfo:u,percentage:m,highlightSubInfoCN:f,boldInfo:h,infoList:k=[],style:C={},theme:ge="light"}=this.props;return e.default.createElement("div",{className:v({[t]:!0,"pda-info-card":!0,"pda-info-card-dark":ge==="dark"}),style:C},e.default.createElement("div",{className:"pda-info-card-title-section"},e.default.createElement("div",{className:"pda-info-card-title"},a),o?e.default.createElement("div",{className:"pda-info-card-tag"},e.default.createElement("div",{className:"pda-info-card-tag-text"},o)):null),e.default.createElement("div",{className:"pda-info-card-highlight-section"},e.default.createElement("div",null,e.default.createElement("div",{className:"pda-info-card-highlight"},e.default.createElement("span",{className:"pda-info-card-highlight1"},n),e.default.createElement("span",{className:"pda-info-card-highlight1CN"},d),e.default.createElement("span",{className:"pda-info-card-highlight2"},u),e.default.createElement("span",{className:"pda-info-card-highlight2CN"},f)),s?e.default.createElement("div",{className:"pda-info-card-title"},s):null,r?e.default.createElement("div",{className:"pda-info-card-highlight"},e.default.createElement("span",{className:"pda-info-card-highlight1"},r),e.default.createElement("span",{className:"pda-info-card-highlight2"},i)):null),c?e.default.createElement("img",{src:c,width:150,height:150}):null),m!==void 0?e.default.createElement("div",{className:"pda-info-card-progress"},e.default.createElement("div",{className:"pda-info-card-progress-inside",style:{width:`${m*100}%`}})):null,e.default.createElement("div",{className:"pda-info-card-bold"},h),k.map((O,Ee)=>e.default.createElement("div",{key:Ee,className:"pda-info-card-list"},e.default.createElement("span",null,O.label||""),"\xA0\xA0",e.default.createElement("span",null,O.content||""))))}}X.IMAGE_1="https://img.alicdn.com/imgextra/i2/O1CN01qYuxip1ME9zhdL9XG_!!6000000001402-2-tps-150-150.png";class Z extends e.default.Component{constructor(t){super(t)}render(){const{className:t,header:a,onClick:n=()=>{},onHeightLightClick:s=()=>{},onIconClick:r=()=>{},highlightText:i,highlightSubText:c,stateTextList:o=[],stateList:d=[],subInfoList:u=[],style:m={},icon:f}=this.props;return e.default.createElement("div",{className:v({[t]:!0,"pda-list-item":!0}),style:m,onClick:n},a?e.default.createElement("div",{className:"pda-listitem-header"},a):null,e.default.createElement("div",{onClick:s,className:v({"pda-listitem-highlight":!0})},e.default.createElement("div",null,i),e.default.createElement("div",null,c)),e.default.createElement("div",{className:"pda-listitem-state-text"},o.map((h,k)=>e.default.createElement("span",{key:k},h.label||"","\uFF5C"))),e.default.createElement("div",{className:"pda-listitem-state-block"},d.map((h,k)=>{const C=h&&h.type?h.type:"default";return e.default.createElement("div",{key:k,className:C},h.label||"")})),f?e.default.createElement("div",{onClick:r,className:"pda-listitem-icon"},e.default.createElement("div",{className:v({"listitem-icon-container":!0,["listitem-icon-"+f]:!0})})):null,u.map((h,k)=>e.default.createElement("div",{key:k,className:"pda-listitem-subinfo"},e.default.createElement("span",null,h.label||""),"\xA0\xA0",e.default.createElement("span",null,h.content||""))))}}function Re(){}function B(l){const{title:t="title",message:a=null,subMessage:n=[],okText:s="okText",cancelText:r=null,okDataClick:i=null,cancelDataClick:c=null,onClick:o=Re,type:d="primary",insertButtons:u=[],appendButtons:m=[]}=l;return e.default.createElement("div",{className:v({"confirm-wrap":!0,["confirm-"+d]:!0})},e.default.createElement("div",{className:"confirm-content"},e.default.createElement("div",{className:"confirm-title"},t),a?e.default.createElement("div",{className:"confirm-message"},a):null,n.length?e.default.createElement("div",{className:"confirm-sub-message"},n.map((f,h)=>{const{label:k,content:C}=f;return e.default.createElement("div",{className:"confirm-sub-block",key:k||h},e.default.createElement("p",{className:"confirm-sub-label"},k?k+" : ":""),e.default.createElement("p",{className:"confirm-sub-content"},C||""))})):null),e.default.createElement("div",{className:"confirm-btns"},u.length>0?e.default.createElement(y.Group,null,u.map((f,h)=>e.default.createElement(y,{key:h,onClick:()=>o(f.value),dataClick:f.dataClick},f.label))):null,e.default.createElement(y.Group,null,r?e.default.createElement(y,{className:"confirm-cancel-button",onClick:()=>o(!1),dataClick:c},r):null,e.default.createElement(y,{type:"primary",onClick:()=>o(!0),dataClick:i},s)),m.length>0?e.default.createElement(y.Group,null,m.map((f,h)=>e.default.createElement(y,{key:h,onClick:()=>o(f.value),dataClick:f.dataClick},f.label))):null))}function Q(l){const t={domain:"logger",method:"deviceLog",params:l};WindVane.call("WindvanePlugin","invoke",JSON.stringify(t),function(a){},function(a){})}function $e(l){return(typeof l=="function"?l():l)||document.body}function De(l){return l===void 0}function ee(...l){function t(n,s){return De(s)?n:s}let a=Object.assign({},l[0]);for(let n=1;n<l.length;n++)a=Object.assign(a,l[n],t);return a}function S(l){if(window.WindVane){var t={domain:"audio",method:"playSound",params:{sound:l}};WindVane.call("WindvanePlugin","invoke",JSON.stringify(t))}}function We(l){return{success:"toast-wrap success",warning:"toast-wrap warning",error:"toast-wrap error"}[l]||"toast-wrap"}function N(l){const{title:t="title",message:a="message",type:n="success",duration:s=null}=l,[r,i]=p.useState(!1);return p.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)))},[]),s&&setTimeout(()=>{i(!0)},s),r?null:e.default.createElement("div",{className:We(n)},e.default.createElement("div",{className:"toast-title"},t),e.default.createElement("div",{className:"toast-message"},a))}const Pe={maskClickable:!0,stopPropagation:["click"]},Ie=l=>{const t=ee(Pe,l),{maskClickable:a,content:n,icon:s,position:r="bottom",closable:i=!0,title:c,message:o,type:d,visible:u,renderContent:m}=t;return e.default.createElement(b,{visible:u,verticalPosition:r,closable:i},m?m():e.default.createElement(N,{title:c,message:o,type:d}))},te=[];function ae(l){G.default.unmountComponentAtNode(l)&&l.parentNode&&l.parentNode.removeChild(l)}const Me={duration:2e3};function A(l){const t=ee(Me,l);let a=0;const{getContainer:n=()=>document.body}=t,s=document.createElement("div");$e(n).appendChild(s),te.push(s);const i=p.forwardRef((o,d)=>{const[u,m]=p.useState(!0);return p.useEffect(()=>()=>{t.afterClose&&t.afterClose()},[]),p.useEffect(()=>{if(t.duration!==0)return a=window.setTimeout(()=>{m(!1)},t.duration),()=>{window.clearTimeout(a)}},[]),p.useImperativeHandle(d,()=>({close:()=>m(!1)})),e.default.createElement(Ie,L(g({},t),{getContainer:()=>s,visible:u,afterClose:()=>{ae(s)}}))}),c=p.createRef();return G.default.render(e.default.createElement(i,{ref:c}),s),{close:()=>{var o;(o=c.current)==null||o.close()}}}function Ae(){for(;;){const l=te.pop();if(!l)break;ae(l)}}function Te(l={}){const{duration:t=1e4}=l;return A({duration:t,position:"center",closable:!1,renderContent:function(){return e.default.createElement("div",{className:"loading-box"},e.default.createElement("svg",{t:"1647243772165",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2178"},e.default.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.default.createElement("div",null,"LOADING..."))}})}function Ue(l={}){const n=l,{duration:t=0}=n,a=w(n,["duration"]);return A({duration:t,position:"bottom",closable:!0,renderContent:function(){return e.default.createElement(B,g({},a))}})}N.show=A;N.loading=Te;N.confirm=Ue;N.clear=Ae;function Oe(l){const{data:t={},onNext:a}=l;return e.default.createElement(b,{verticalPosition:"bottom"},e.default.createElement(B,L(g({},t),{onClick:()=>a(!0)})))}function Ve(l){const{action:t,appManager:a,service:n}=l,s=e.default.useCallback(function(){n.onStart(a.config.appId)});return e.default.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",height:"100vh"}},e.default.createElement(y,{type:"primary",onClick:s},"\u5F00\u59CB\u4F5C\u4E1A"),e.default.createElement("br",null),e.default.createElement("div",null,a.config.appId),e.default.createElement("div",null,a.config.groupId))}function Ke(l){const{service:t,data:a={},onNext:n}=l;return e.default.createElement(b,{verticalPosition:"bottom"},e.default.createElement(B,L(g({},a),{onClick:n})))}function He(l){return{center:"op-overlay center",top:"op-overlay top",bottom:"op-overlay bottom"}[l]||"op-overlay"}function Ge(l){const{verticalPosition:t="center",visible:a=!0,closable:n=!1,onClosed:s=()=>{}}=l,[r,i]=p.useState(!a);p.useEffect(()=>{i(!a)},[a]);const c={};return n&&(c.onClick=o=>{i(!0),s()}),p.useEffect(()=>{i(!a)},[a]),r?null:e.default.createElement("div",g({className:He(t)},c),l.children)}function je(l){const t=e.default.useRef(),{data:a={},onNext:n}=l,{placeholder:s,defaultValue:r,title:i="\u8BF7\u8F93\u5165",type:c="text",okText:o="\u786E\u8BA4",cancelText:d="\u53D6\u6D88"}=a;return e.default.createElement(Ge,{verticalPosition:"center",closable:!1},e.default.createElement("div",{className:"prompt-dialog"},e.default.createElement("div",null,e.default.createElement("h1",{className:"prompt-title"},i),e.default.createElement("input",{className:"prompt-input",autoFocus:!0,ref:t,placeholder:s,type:c,defaultValue:r,onKeyUp:u=>{u.keyCode===13&&n(ne(t.current))}}),e.default.createElement("div",{className:"prompt-btns"},d?e.default.createElement(y,{onClick:()=>n("back")},d):null,e.default.createElement(y,{type:"primary",onClick:()=>{n(ne(t.current))}},o)))))}function ne(l){const t=l.value||"";return String(t).trim()}function ze(l){const{data:t={},onNext:a}=l,{title:n,level:s,message:r,duration:i=null}=t,[c,o]=p.useState(!1);return e.default.useEffect(()=>{t.hasNext===void 0&&a("");let d=null;return i&&(d=setTimeout(()=>{o(!0)},i)),()=>{clearTimeout(d)}},[t]),c?null:e.default.createElement(b,{verticalPosition:"bottom"},e.default.createElement("div",{style:{width:"90%"}},e.default.createElement(N,{type:s,title:n,message:Ye(r)})))}function Ye(l){var t=String(l).split("by Error:");return t[1]||t[0]}function qe(l){return e.default.createElement("div",{style:{padding:"20%"}},e.default.createElement("h1",null,"404 ",e.default.createElement("small",{style:{fontSize:"60%"}},"Not found")),e.default.createElement("div",null,l.action.getPage()))}function Je(l){const[t,a]=e.default.useState(l.visible),n=l.edgeService;return e.default.useEffect(function(){let s=!1;const r=function(i){s=i,i?setTimeout(function(){s===i&&a(!0)},350):setTimeout(function(){s===i&&a(!1)},100)};return n?(n.on("IO_STATUS",r),function(){n.off("IO_STATUS",r)}):()=>{}},[n]),t?e.default.createElement("div",{className:"loading-wrap"},e.default.createElement("div",{className:"loading-box"},e.default.createElement("svg",{t:"1647243772165",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2178"},e.default.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.default.createElement("div",null,"LOADING..."))):null}function Xe({data:l,service:t,action:a}){const{sound:n}=l;if(window.WindVane){var s={domain:"audio",method:"playSound",params:{sound:n}};WindVane.call("WindvanePlugin","invoke",JSON.stringify(s))}return t.onNext({}),null}function Ze(){return console.warn('Please stop using "Debug" Components'),null}var Qe={Alert:Oe,Start:Ve,Toast:ze,Confirm:Ke,NotFound:qe,Debug:Ze,Prompt:je,Loading:Je,PlaySound:Xe};function x(l){const{image:t=x.IMAGE_1,text:a="",subText:n="",transparent:s}=l;return e.default.createElement("div",{className:s?"presentation-card transparent":"presentation-card"},e.default.createElement("img",{src:t}),a?e.default.createElement("div",{className:"text"},a):null,n?e.default.createElement("div",{className:"sub-text"},n):null)}x.IMAGE_1="https://img.alicdn.com/imgextra/i3/O1CN019Ivkor1ksy3pMGDsz_!!6000000004740-2-tps-280-322.png";x.IMAGE_2="https://img.alicdn.com/imgextra/i1/O1CN01lhSunu1X4VPw1Mlas_!!6000000002870-2-tps-352-158.png";x.IMAGE_3="https://img.alicdn.com/imgextra/i1/O1CN01mreYXo1XfbUsQ7hip_!!6000000002951-2-tps-322-144.png";x.IMAGE_4="https://img.alicdn.com/imgextra/i3/O1CN017gNM8F1Fmmcfti7Dg_!!6000000000530-1-tps-414-286.gif";function et(){}function le(l){const{dataSource:t=[],onClickItem:a,onItemClick:n=et}=l;return e.default.createElement("div",{className:"android-pda-list"},t.map((s,r)=>e.default.createElement(re,{key:s.key||r,dataSource:s,onClick:a||n})),l.children)}function re(l){const t=l.dataSource||{title:l.title,subTitle:l.subTitle,extra:l.extra,tags:l.tags},{title:a,subTitle:n,extra:s,tags:r=[],tabIndex:i}=t,{onClick:c}=l;return e.default.createElement("div",{className:"default-item",onClick:()=>{c(l.dataSource)},tabIndex:i},e.default.createElement("div",{className:"text"},e.default.createElement("div",null,a),n?e.default.createElement("div",{className:"sub-text"},n):null,r&&r.length?e.default.createElement("div",{className:"sub-tags"},r.map(o=>e.default.createElement("div",{className:"sub-tag-item",key:o},o))):null),e.default.createElement("div",{className:"extra"},s))}le.Item=re;const R=()=>{};class $ extends e.default.Component{constructor(t){super(t);this.state={showLoading:!1},this._handleKeyUp=a=>{const{onScan:n=R,onEnter:s=R,onEsc:r=R,onDelete:i=R,scanMode:c=null}=this.props,{code:o,keyCode:d,key:u}=a;if(o==="Enter"){a.preventDefault(),s(a);return}if(o==="Delete"){a.preventDefault(),i(a);return}if(o==="Esc"){a.preventDefault(),r(a);return}},this._handleBeforeUnload=a=>(a.returnValue="\u786E\u5B9A\u79BB\u5F00\u5F53\u524D\u9875\u9762\u5417\uFF1F",!0),this._handleUnload=a=>{WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'stopRfidScan', 'params':null}",function(s){},function(s){});const n={tag:"stopRfid",level:"d",message:"stop rfid scan!!!"};Q(n),Q(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,a){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:a={},header:n,footer:s,loading:r}=this.props;return e.default.createElement("div",{className:v({"baselayout-wrapper":!0}),style:a},n&&e.default.createElement("div",{className:v({"baselayout-header":!0})},n),e.default.createElement("div",{className:v({"baselayout-container":!0})},t.children),s&&e.default.createElement("div",{className:v({"baselayout-footer":!0})},s),this.state.showLoading?e.default.createElement("div",{className:"loading"}):null)}}const tt=()=>{};class at extends e.default.Component{constructor(t){super(t);this._rfidBeginScan=!1,this._handleRfidScan=a=>{const{onRfidOnce:n,onRfidBoxOnce:s,onRfidPalletOnce:r}=this.props,i=a.param,c=i.rfidData.startsWith("0F006"),o=i.rfidData.startsWith("0F011");if(S("single_recog"),o){let d=i.rfidData;i.originData=d,i.rfidData=d.substr(5,12)}s&&c?(this._stopWork(),s(i)):r&&o&&(this._stopWork(),r(i)),n&&(this._stopWork(),n(i))},this._startWork=a=>{document.addEventListener("ContinuousRfidScan",this._handleRfidScan),WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'startScan', 'params': null}",function(n){},function(n){}),this._rfidBeginScan=!0},this._stopWork=a=>{document.removeEventListener("ContinuousRfidScan",this._handleRfidScan),WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'stopRfidScan', 'params':null}",function(n){},function(n){})},this._handleKeyDown=a=>{const{code:n,keyCode:s,key:r}=a;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._rfidBeginScan||this._startWork())},this._handleKeyUp=a=>{const{code:n,keyCode:s,key:r}=a;(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 s=this.props,{onRfidOnce:a=tt}=s,n=w(s,["onRfidOnce"]);return e.default.createElement($,g({},n))}}const nt=()=>{};class se extends e.default.Component{constructor(t){super(t);this._rfidBeginScan=!1,this._handleRfidScan=a=>{const{onRfidScan:n,onRfidBoxScan:s,onRfidPalletScan:r}=this.props,i=a.param,c=i.rfidData.startsWith("0F006"),o=i.rfidData.startsWith("0F011");if(o){let d=i.rfidData;i.originData=d,i.rfidData=d.substr(5,12)}c&&s?s(i):o&&r&&r(i),n&&n(i)},this._startWork=a=>{document.addEventListener("ContinuousRfidScan",this._handleRfidScan),WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'startScan', 'params': null}",function(n){},function(n){}),this._rfidBeginScan=!0},this._stopWork=a=>{document.removeEventListener("ContinuousRfidScan",this._handleRfidScan),WindVane.call("WindvanePlugin","invoke","{'domain': 'rfid', 'method': 'stopRfidScan', 'params':null}",function(n){},function(n){})},this._handleKeyDown=a=>{const{code:n,keyCode:s,key:r}=a;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._rfidBeginScan||this._startWork())},this._handleKeyUp=a=>{const{code:n,keyCode:s,key:r}=a;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._stopWork(),this._rfidBeginScan=!1)}}componentDidMount(){const{autoRfidScan:t=!1,rfidReaderSleep:a}=this.props;WindVane.call("WindvanePlugin","invoke","{'domain': 'keyboard', 'method': 'changeScanMode', 'params': {'scanMode': 'RFID'}}",function(n){},function(n){}),t?a||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,a){return this.props.autoRfidScan&&this.props.rfidReaderSleep!==t.rfidReaderSleep&&(t.rfidReaderSleep?this._stopWork():this._startWork()),!0}render(){const r=this.props,{onRfidScan:a=nt,autoRfidScan:n}=r,s=w(r,["onRfidScan","autoRfidScan"]);return e.default.createElement($,g({},s))}}E(se,"defaultProps",{rfidReaderSleep:!1});const lt=()=>{};class rt extends e.default.Component{constructor(t){super(t);this._barcodeBeginScan=!1,this._handleBarcodeScan=a=>{const{onBarcodeScan:n}=this.props;this._stopWork(),S("scan"),n&&n(a.param)},this._startWork=a=>{document.addEventListener("BarcodeScan",this._handleBarcodeScan),this._barcodeBeginScan=!0},this._stopWork=a=>{document.removeEventListener("BarcodeScan",this._handleBarcodeScan)},this._handleKeyDown=a=>{const{code:n,keyCode:s,key:r}=a;(n==="F22"||n==="F23"||n==="F24"||n==="F9"||n==="F16")&&(this._barcodeBeginScan||this._startWork())},this._handleKeyUp=a=>{const{code:n,keyCode:s,key:r}=a;(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(a){},function(a){})}componentWillUnmount(){const{onBarcodeScan:t}=this.props;t&&(document.removeEventListener("keydown",this._handleKeyDown),document.removeEventListener("keyup",this._handleKeyUp)),document.removeEventListener("BarcodeScan",this.onScanBarcode)}render(){const s=this.props,{onBarcodeScan:a=lt}=s,n=w(s,["onBarcodeScan"]);return e.default.createElement($,g({},n))}}class ie extends e.default.Component{constructor(t){super(t)}render(){const t=this.props,{onBarcodeScan:a,onScanBarcode:n,onRfidOnce:s,onRfidBoxOnce:r,onRfidPalletOnce:i,onRfidScan:c,onRfidBoxScan:o,onRfidPalletScan:d}=t;return s||r||i?e.default.createElement(at,g({},t)):c||o||d?e.default.createElement(se,g({},t)):a||n?e.default.createElement(rt,g({},t)):e.default.createElement($,g({},t))}}const T=()=>{};function U(l){const{label:t="\u67E5\u8BE2",onWakeKeyboard:a=T,onClick:n=T,onHidden:s=T,type:r="tel",placeholder:i="\u8BF7\u8F93\u5165",autoClose:c=!0}=l,o=p.useRef(null),[d,u]=p.useState(!0);return p.useEffect(()=>{const m=f=>{const{code:h,keyCode:k,key:C}=f;if(h==="Enter"){f.preventDefault(),n(o.current.value,f),s(!0),u(!1);return}};return requestAnimationFrame(()=>{o.current.focus(),a()}),document.addEventListener("keyup",m),()=>{document.removeEventListener("keyup",m)}},[]),d?e.default.createElement("div",{className:"wakekeyborard-overlay",onClick:m=>{m.target.className&&m.target.className.includes("wakekeyborard-overlay")&&(s(!1),c&&u(!1))}},e.default.createElement("div",{className:"wakekeyborard-inputbox"},e.default.createElement("input",{ref:o,type:r,placeholder:i}),e.default.createElement(y,{type:"cutout",onClick:m=>{n(o.current.value,m),s(!0),c&&u(!1)}},t))):null}const oe=()=>{};function ce(l){const[t,a]=p.useState(l.autoWakeup||!1),i=l,{onClick:n=oe,onHidden:s=oe}=i,r=w(i,["onClick","onHidden"]);return e.default.createElement("div",{className:"wakekeyborard"},t?e.default.createElement(U,g({onClick:(c,o)=>{n(c),a(!t)},onHidden:c=>{a(!1),s(c)}},r)):null,t?null:e.default.createElement("div",{className:"wakekeyborard-icon",onClick:c=>{a(!t)}}))}ce.Keyborard=U;const D="image-uploader";class st extends p.Component{constructor(t){super(t);this.state={}}renderDelete(){return e.default.createElement("span",{className:`${D}-cell-delete`,onClick:this.props.onDelete},e.default.createElement("img",{className:"uploader-delete-icon",alt:"close",src:"https://img.alicdn.com/imgextra/i2/O1CN01MInPNX1FWIOjjrlea_!!6000000000494-2-tps-32-32.png"}))}render(){const{src:t,deletable:a,onView:n,box:s}=this.props;return e.default.createElement("div",{className:"image-space-item"},e.default.createElement("div",{className:`${D}-cell`,style:{width:s,height:s}},e.default.createElement("div",{className:`${D}-cell-image`,style:{width:s,height:s}},e.default.createElement("img",{className:`${D}-img`,src:t,fit:"cover",onClick:n})),a&&this.renderDelete()))}}const de="image-uploader";class it extends p.Component{constructor(t){super(t);this.state={}}render(){const{box:t}=this.props;return e.default.createElement("div",{className:"image-space-item"},e.default.createElement("div",{className:`${de}-upload-button-wrap`,onClick:this.props.onUpload},e.default.createElement("span",{className:`${de}-upload-button image-uploader-cell`,style:{width:t,height:t}},e.default.createElement("img",{className:"uploader-add-icon",alt:"add",src:"https://img.alicdn.com/imgextra/i1/O1CN01RipHZ11yVyprbUP5B_!!6000000006585-2-tps-32-32.png"}))))}}const W="image-viewer";class ue extends p.Component{constructor(t){super(t);E(this,"onShow",(t=0)=>{const{props:a}=this;let n=0;typeof t!="number"?n=0:n=t>a.images.length-1?0:t,this.setState({visible:!0,currentIndex:n,loading:!0})});E(this,"onHide",()=>{this.setState({visible:!1})});E(this,"handleImageLoaded",t=>{this.setState({loading:!1})});E(this,"onClickMask",t=>{if(t.target.getAttribute("class")!=="image-viewer-image-wrapper"&&t.target.getAttribute("class")!=="image-viewer-loading")return;const{afterClose:a}=this.props;this.setState({visible:!1},()=>{a&&a()})});E(this,"onClose",()=>{const{onClose:t,images:a}=this.props,{currentIndex:n}=this.state;a.length===0?this.setState({visible:!1},()=>{t&&t(a[n],n)}):this.setState({currentIndex:0,visible:!1},()=>{t&&t(a[n],n)})});E(this,"onPrev",t=>{t.stopPropagation();const{currentIndex:a}=this.state;this.setState({currentIndex:a-1,loading:!0})});E(this,"onNext",t=>{t.stopPropagation();const{currentIndex:a}=this.state;this.setState({currentIndex:a+1,loading:!0})});this.state={visible:t.defaultVisible||!1,currentIndex:0,loading:!1}}render(){const{currentIndex:t,visible:a,loading:n}=this.state,{images:s}=this.props;return e.default.createElement("div",null,a?e.default.createElement("div",{className:"v-mask",onClick:this.onClickMask},e.default.createElement("div",{className:"v-mask-content"},e.default.createElement("div",{className:`${W}-content`},e.default.createElement("div",{className:`${W}-slides`},e.default.createElement("div",{className:"image-viewer-indicator"},t+1," / ",s.length),e.default.createElement("div",{className:"viewer-image-close",onClick:this.onClose},e.default.createElement("svg",{width:"44",height:"44",viewBox:"0 0 768 768"},e.default.createElement("path",{fill:"#FFF",d:"M607.5 205.5l-178.5 178.5 178.5 178.5-45 45-178.5-178.5-178.5 178.5-45-45 178.5-178.5-178.5-178.5 45-45 178.5 178.5 178.5-178.5z"}))),e.default.createElement("div",{className:"image-viewer-slides-inner"},e.default.createElement("div",{className:"image-viewer-image-wrapper"},e.default.createElement("img",{src:this.props.images[t].url,style:{width:n?1:"auto"},onLoad:this.handleImageLoaded}))),s.length>1?e.default.createElement(e.default.Fragment,null,t===0?null:e.default.createElement("div",{className:"viewer-image-arrow viewer-prev",onClick:this.onPrev},e.default.createElement("svg",{width:"44",height:"44",viewBox:"0 0 768 768"},e.default.createElement("path",{d:"M640.5 352.5v63h-390l178.5 180-45 45-256.5-256.5 256.5-256.5 45 45-178.5 180h390z"}))),t===s.length-1?null:e.default.createElement("div",{className:"viewer-image-arrow viewer-next",onClick:this.onNext},e.default.createElement("svg",{width:"44",height:"44",viewBox:"0 0 768 768"},e.default.createElement("path",{d:"M384 127.5l256.5 256.5-256.5 256.5-45-45 178.5-180h-390v-63h390l-178.5-180z"})))):null))),n?e.default.createElement("div",{className:`${W}-loading`,onClick:this.onClose},e.default.createElement("div",{className:`${W}-loading-reactor`},e.default.createElement("svg",{viewBox:"0 0 32 32",width:"36",height:"36",fill:"white"},e.default.createElement("path",{opacity:".25",d:"M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"}),e.default.createElement("path",{d:"M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z"})))):null):null)}}const P="image-uploader";class ot extends p.Component{constructor(t){super(t);E(this,"onViewImage",t=>{this.imgRef.onShow(t)});E(this,"onClickAdd",()=>{const{capture:t}=this.props,a=this,s={type:"0",mode:t&&t==="camera"?"camera":"photo"};navigator.userAgent.toLowerCase().match(/android/)?a.handlerUpload(s):a.handlerUploadNavigator()});E(this,"handlerUploadNavigator",()=>{const{beforeUpload:t,onBeforeUpload:a}=this.props,n=document.querySelector("#inputFile");n.click(),n.onchange=s=>{let r=s.target.files[0];const i=new FileReader;i.readAsDataURL(r),i.onload=m=>{const f=m.target.result;t&&t({data:f}),a&&a({data:f})};const o=(window.URL||window.webkitURL).createObjectURL(r),{images:d}=this.state,u=(Math.random()*1e4).toFixed(0);this.setState({images:[...d,{id:u,url:o}]})}});E(this,"handlerUpload",t=>{const{beforeUpload:a,onBeforeUpload:n}=this.props;window.WindVane.call("WVCamera","takePhoto",t,function(s){const r={domain:"camera",method:"getBase64",params:{filePath:s.localPath}};window.WindVane.call("WindvanePlugin","invoke",JSON.stringify(r),function(i){a&&a(i.data),n&&n(i.data)},function(i){console.log("failure "+JSON.stringify(i))})},function(s){console.log("takePhoto failure: "+JSON.stringify(s))})});E(this,"onDelete",(t,a)=>{const{onDelete:n}=this.props;n&&n(t,a)});E(this,"_showLoading",()=>{this.setState({loading:!0})});E(this,"_hideLoading",()=>{setTimeout(()=>{this.setState({loading:!1})},10*1e3)});this.state={images:[],loading:!1}}static getDerivedStateFromProps(t,a){return t.value!==a.images?{images:t.value}:null}componentDidMount(){this.setState({images:this.props.value})}render(){const{value:t,loading:a=!1}=this.props,{maxCount:n=1,deletable:s=!1,capture:r="camera",box:i=80}=this.props,{images:c}=this.state;return e.default.createElement(e.default.Fragment,null,e.default.createElement("div",{className:`${P}`},e.default.createElement("input",{type:"file",name:"file",accept:"image/*",id:"inputFile",style:{display:"none"}}),e.default.createElement("div",{className:`${P}-wrap`},c&&c.map((o,d)=>e.default.createElement(st,{src:o.url,key:o.url,box:i,deletable:s,onDelete:()=>this.onDelete(o,d),onView:()=>this.onViewImage(d)})),c&&c.length<n?e.default.createElement(it,{box:i,onUpload:this.onClickAdd}):null)),a?e.default.createElement("div",{className:`${P}-loading`},e.default.createElement("div",{className:`${P}-loading-reactor`},e.default.createElement("svg",{viewBox:"0 0 32 32",width:"36",height:"36",fill:"white"},e.default.createElement("path",{opacity:".25",d:"M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"}),e.default.createElement("path",{d:"M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z"})))):null,e.default.createElement(ue,{ref:o=>this.imgRef=o,images:t}))}}class ct extends e.default.Component{constructor(t){super(t)}render(){const{className:t,title:a,isActive:n,infoList:s=[],style:r={},index:i,isLast:c}=this.props;return e.default.createElement("div",{className:v({[t]:!0,"pda-step-card":!0}),style:r},e.default.createElement("div",{className:"pda-step-indictor"},e.default.createElement("div",{className:v({"pda-step-indictor-top":!0,"pda-step-indictor-top-hidden":i===0})}),e.default.createElement("div",{className:v({"pda-step-indictor-center":!0,"pda-step-indictor-center-active":n})}),e.default.createElement("div",{className:v({"pda-step-indictor-bottom":!0,"pda-step-indictor-bottom-hidden":c})})),e.default.createElement("div",{className:v({"pda-step":!0,"pda-step-dark":!n})},e.default.createElement("div",{className:"pda-step-title"},a),s.map((o,d)=>e.default.createElement("div",{key:d,className:"pda-step-list"},e.default.createElement("span",null,o.label||""),"\xA0\xA0",e.default.createElement("span",null,o.content||"")))))}}class me extends e.default.Component{constructor(t){super(t)}render(){const{className:t,style:a={},theme:n="light",current:s=0,children:r}=this.props;return e.default.createElement("div",{className:v({[t]:!0}),style:a},(r||[]).map((i,c)=>{const o=g({index:c,isLast:c===(r||[]).length-1},i.props);return c===s?o.isActive=!0:o.isActive=!1,p.cloneElement(i,o)}))}}E(me,"Step",ct);class F extends e.default.Component{constructor(t){super(t)}componentDidMount(){this.props.isError?S("success3"):S("success2")}render(){const{className:t,title:a,infoList:n=[],isError:s=!1,buttonMultiLines:r=!1,style:i={},onClick:c=()=>{},okText:o="\u8FD4\u56DE\u9996\u9875",cancelText:d=null}=this.props,u=e.default.createElement(y.Group,null,d?e.default.createElement(y,{style:r?{height:"auto",lineHeight:"50px"}:{},type:"dark",onClick:()=>c(!1)},d):null,e.default.createElement(y,{type:"primary",style:r?{height:"auto",lineHeight:"normal"}:{},onClick:()=>c(!0)},o));return e.default.createElement(ie,{footer:u},e.default.createElement("div",{className:"pda-finish-card-top"},e.default.createElement("img",{className:"pda-finish-card-img",src:s?F.ERROR_SUCCESS:F.SUCCESS}),e.default.createElement("p",{className:"pda-finish-card-title"},a),n.map((m,f)=>e.default.createElement("p",{key:f,className:"pda-finish-card-list"},e.default.createElement("span",null,m.label||""),e.default.createElement("span",null,m.content||"")))))}}F.SUCCESS="https://img.alicdn.com/imgextra/i3/O1CN01OL2UYg24792knbTtC_!!6000000007343-1-tps-506-415.gif";F.ERROR_SUCCESS="https://img.alicdn.com/imgextra/i3/O1CN01p5Oc5t1VMFWtBomQc_!!6000000002638-1-tps-600-456.gif";class dt extends e.default.Component{constructor(t){super(t)}render(){const{className:t,title:a,infoText:n,percentage:s=0,style:r={}}=this.props,i="https://img.alicdn.com/imgextra/i3/O1CN01EFksWL1DBZCu0H1JH_!!6000000000178-2-tps-21-30.png",c="https://img.alicdn.com/imgextra/i1/O1CN01YEhCSg1aObe8UZq7K_!!6000000003320-2-tps-379-17.png";return e.default.createElement("div",{className:v({[t]:!0,"pda-distance-card":!0}),style:r},e.default.createElement("p",{className:"pda-distance-card-highlight"},e.default.createElement("span",{className:"pda-distance-card-highlight1"},a)),e.default.createElement("div",{className:"pda-distance-indictor"},e.default.createElement("img",{src:i,width:20,height:29}),e.default.createElement("p",null,n)),e.default.createElement("div",{className:"pda-distance-card-progress"},e.default.createElement("div",{className:"pda-distance-card-progress-inside",style:{width:`${s*100}%`}}),e.default.createElement("img",{className:"pda-distance-card-progress-indictor",src:c})),e.default.createElement("div",{className:"pda-distance-label"},e.default.createElement("p",null,"\u8FDC"),e.default.createElement("p",null,"\u8FD1")))}}function ut(l){const{title:t,context:a,name:n,tag:s,attrs:r=[],style:i}=l;return e.default.createElement("div",{className:"android-sub-card",style:i},e.default.createElement("div",{className:"android-sub-card-title-section"},e.default.createElement("div",{className:"android-sub-card-title"},t),s?e.default.createElement("div",{className:"android-sub-card-tag"},e.default.createElement("div",{className:s.type},s.label||"")):null),e.default.createElement("div",{className:"android-sub-card-context"},a),n?e.default.createElement("div",{className:"android-sub-card-name"},n):null,e.default.createElement("div",{className:"android-sub-card-attrs"},r.map(c=>e.default.createElement("div",{key:c},c))))}function mt(l){const{title:t,label:a,select:n=!0,onClick:s=r=>{}}=l;return e.default.createElement("div",{className:"select-card"},t?e.default.createElement("p",null,t):null,e.default.createElement("div",{className:"select-card-content",onClick:s},a," ",n?e.default.createElement("span",{className:"select-icon"}):null," "))}function ft(){}function pt(l){const{dataSource:t=[],onClickItem:a=ft}=l;let n=1;return e.default.createElement("div",{className:"pda-app-list"},t.map(s=>e.default.createElement("div",{className:"pda-app-group",key:s.groupName},e.default.createElement("h2",{className:"group-name"},s.groupName),e.default.createElement("div",{className:"group-apps"},s.list.map(r=>e.default.createElement("div",{className:"app-item",key:r.name,autoFocus:n===1,tabIndex:n++,onClick:()=>a(r)},e.default.createElement("span",{className:"app-name"},r.name),e.default.createElement("span",{className:"app-subname"},r.subname)))))))}function ht(l){var t=p.useRef(l);t.current=l;var a=p.useRef();return a.current||(a.current=function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];return t.current.apply(this,n)}),a.current}var vt=function(l,t,a,n){function s(r){return r instanceof a?r:new a(function(i){i(r)})}return new(a||(a=Promise))(function(r,i){function c(u){try{d(n.next(u))}catch(m){i(m)}}function o(u){try{d(n.throw(u))}catch(m){i(m)}}function d(u){u.done?r(u.value):s(u.value).then(c,o)}d((n=n.apply(l,t||[])).next())})},gt=function(l,t){var a={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,s,r,i;return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(d){return function(u){return o([d,u])}}function o(d){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,s&&(r=d[0]&2?s.return:d[0]?s.throw||((r=s.return)&&r.call(s),0):s.next)&&!(r=r.call(s,d[1])).done)return r;switch(s=0,r&&(d=[d[0]&2,r.value]),d[0]){case 0:case 1:r=d;break;case 4:return a.label++,{value:d[1],done:!1};case 5:a.label++,s=d[1],d=[0];continue;case 7:d=a.ops.pop(),a.trys.pop();continue;default:if(r=a.trys,!(r=r.length>0&&r[r.length-1])&&(d[0]===6||d[0]===2)){a=0;continue}if(d[0]===3&&(!r||d[1]>r[0]&&d[1]<r[3])){a.label=d[1];break}if(d[0]===6&&a.label<r[1]){a.label=r[1],r=d;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(d);break}r[2]&&a.ops.pop(),a.trys.pop();continue}d=t.call(l,a)}catch(u){d=[6,u],s=0}finally{n=r=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},Et=function(l,t){var a=typeof Symbol=="function"&&l[Symbol.iterator];if(!a)return l;var n=a.call(l),s,r=[],i;try{for(;(t===void 0||t-- >0)&&!(s=n.next()).done;)r.push(s.value)}catch(c){i={error:c}}finally{try{s&&!s.done&&(a=n.return)&&a.call(n)}finally{if(i)throw i.error}}return r},yt=function(){for(var l=[],t=0;t<arguments.length;t++)l=l.concat(Et(arguments[t]));return l};function kt(l){var t=this,a=p.useRef(!1);return p.useCallback(function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];return vt(t,void 0,void 0,function(){var r,i;return gt(this,function(c){switch(c.label){case 0:if(a.current)return[2];a.current=!0,c.label=1;case 1:return c.trys.push([1,3,,4]),[4,l.apply(void 0,yt(n))];case 2:return r=c.sent(),a.current=!1,[2,r];case 3:throw i=c.sent(),a.current=!1,i;case 4:return[2]}})})},[l])}const bt=/scroll|auto/i;function Nt(l){const t=1;return l.tagName!=="HTML"&&l.tagName!=="BODY"&&l.nodeType===t}function fe(l,t){let a=l;for(;a&&a!==t&&Nt(a);){const{overflowY:n}=window.getComputedStyle(a);if(bt.test(n))return a;a=a.parentNode}return t}function Ct(l){return e.default.createElement("div",{style:{color:l.color||"#999"}},e.default.createElement("svg",{height:"1em",viewBox:"0 0 100 40",style:{verticalAlign:"-0.125em"}},e.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},e.default.createElement("g",{transform:"translate(-100.000000, -71.000000)"},e.default.createElement("g",{transform:"translate(95.000000, 71.000000)"},e.default.createElement("g",{transform:"translate(5.000000, 0.000000)"},[0,1,2].map(t=>e.default.createElement("rect",{key:t,fill:"currentColor",x:20+t*26,y:"16",width:"8",height:"8",rx:"2"},e.default.createElement("animate",{attributeName:"y",from:"16",to:"16",dur:"2s",begin:`${t*.2}s`,repeatCount:"indefinite",values:"16; 6; 26; 16; 16",keyTimes:"0; 0.1; 0.3; 0.4; 1",id:"circ-anim"})))))))))}function wt(l){return l===window}function pe(l){const{className:t,hasMore:a,loadMore:n,threshold:s=0,style:r}=l,i=kt(async()=>{await n()}),c=p.useRef(null),o=ht(()=>{if(!a)return;const d=c.current;if(!d)return;const u=fe(d);if(!u)return;const m=d.getBoundingClientRect().top;(wt(u)?window.innerHeight:u.getBoundingClientRect().bottom)>=m-s&&i()});return p.useEffect(()=>{o()}),p.useEffect(()=>{const d=c.current;if(!d)return;const u=fe(d);if(!u)return;function m(){o()}return u.addEventListener("scroll",m),()=>{u.removeEventListener("scroll",m)}},[]),e.default.createElement("div",{className:v({[t]:!0,"pda-infinite-scroll":!0}),style:r,ref:c},a?e.default.createElement("div",{className:"pda-infinite-scroll-view"},e.default.createElement("span",null,"\u52A0\u8F7D\u4E2D"),e.default.createElement(Ct,null)):e.default.createElement("div",{className:"pda-infinite-scroll-view"},e.default.createElement("span",null,"\u6CA1\u6709\u66F4\u591A\u4E86~")))}function St(l){const{className:t="",visible:a,onClickItem:n,actions:s=[],stickyToBottomActions:r=[],stickyToBottomDirection:i="column",infiniteScroll:c=null}=l;return e.default.createElement("div",{className:v({[t]:!0,"action-sheet":!0,show:a})},e.default.createElement("div",{className:"action-sheet-container"},e.default.createElement("div",{className:"action-sheet-body"},s.map((o,d)=>e.default.createElement("div",{onClick:()=>{n&&n(o),o.onClick&&o.onClick(o.key)},className:"action-sheet-item",key:d},o.title)),c?e.default.createElement(pe,g({},c)):null),r.length>0?e.default.createElement("div",{className:v({"action-sheet-sticky-bottom":!0,["action-sheet-sticky-bottom-"+i]:!0})},r.map((o,d)=>e.default.createElement("div",{onClick:()=>{n&&n(o),o.onClick&&o.onClick(o.key)},className:"action-sheet-item",key:d},o.title))):null))}function he(l){const{className:t=void 0,label:a="label",type:n="success"}=l;return e.default.createElement("div",{className:v({[t]:!0,"pda-tag":!0,["pda-tag-"+n]:!0})},a)}function ve(l){const{className:t="",title:a="",content:n="",type:s="default",onClick:r=()=>{}}=l;return a||n?e.default.createElement("div",{className:v({[t]:!0,"simple-card":!0,["simple-card-"+s]:!0}),onClick:r},e.default.createElement("p",{className:"simple-card-title"},a),e.default.createElement("p",{className:"simple-card-content"},n)):null}function xt(l){const{className:t=void 0,dataSource:a=[],title:n="",tag:s}=l;return e.default.createElement("div",{className:v({[t]:!0,"simple-card-block":!0})},e.default.createElement("div",{className:"simple-card-block-header"},e.default.createElement("p",{className:"simple-card-block-title"},n),s?e.default.createElement("div",{style:{marginLeft:12}},e.default.createElement(he,g({},s))):null),a.length>0?e.default.createElement("div",{className:"simple-card-block-content"},a.map((r,i)=>e.default.createElement(ve,g({key:i},r)))):null)}function Ft(l){const{row:t=3,col:a=3,dataSource:n=[]}=l;return e.default.createElement("div",{className:"lattice-mouth"},Array.from(Array(t)).map(function(s,r){return e.default.createElement("div",{className:"lattice-mouth-row",key:r},Array.from(Array(a)).map((i,c)=>_t(n,r,c,a)))}))}function _t(l,t,a,n){const{color:s="",value:r,label:i,style:c={}}=Lt(l,t,a,n)||{};return e.default.createElement("div",{className:`lattice-mouth-item ${s}`,style:c,key:a},e.default.createElement("div",{className:"lattice-mouth-value"},r),e.default.createElement("div",{className:"lattice-mouth-label"},i))}function Lt(l,t,a,n){return l[t*n+a]}const Bt={"--base-font-size":"20px","--background-color":"#000000","--color":"#FFFFFF","--main-color":"#FFFFFF","--border-radius":"6px","--progress-background-color":"rgba(255, 255, 255, 0.5)","--progress-foreground-color":"#FFFFFF","--tag-background-color":"#008FED","--tag-color":"#FFFFFF"};function Rt(l){const{title:t,content:a,subContent:n,hasProgress:s,progress:r,infoList:i=[],tags:c=[],tagPosition:o="top",style:d={},theme:u="light"}=l;return e.default.createElement("div",{className:"android-op-card",style:Object.assign({},u==="dark"?Bt:{},d)},e.default.createElement("div",{className:"card-h1"},t),e.default.createElement("div",{className:"card-content"},e.default.createElement($t,{label:a})),s?e.default.createElement("div",{className:"card-progress"},e.default.createElement("div",{className:"card-progress-bar",style:{width:r+"%"}})):null,e.default.createElement("div",{className:"card-main-title"},n),e.default.createElement("div",{className:"card-info-list"},i&&i.map((m,f)=>e.default.createElement("div",{className:"card-info-item",key:f},m))),e.default.createElement("div",{className:`card-tags ${o}`},c&&c.map(m=>e.default.createElement("div",{className:"card-tags-item",key:m},m))))}function $t(l){const{label:t}=l,a=String(t).split("/");return a.length>1?e.default.createElement("div",{className:"card-content"},e.default.createElement("span",null,a[0])," ",e.default.createElement("small",null,"/",a[1])):e.default.createElement("div",{className:"card-content"},a[0])}const Dt=Z;exports.ActionSheet=St;exports.AppList=pt;exports.BaseLayout=ie;exports.Button=y;exports.Card=Rt;exports.Confirm=B;exports.DistanceCard=dt;exports.FinishCard=F;exports.Header=_e;exports.ImageUploader=ot;exports.ImageViewer=ue;exports.InfiniteScroll=pe;exports.InfoCard=X;exports.Keyborard=U;exports.LatticeMouth=Ft;exports.List=le;exports.ListItem=Dt;exports.Overlay=b;exports.PageFlowSystemPages=Qe;exports.Presentation=x;exports.SelectCard=mt;exports.SimpleCard=ve;exports.SimpleCardBlock=xt;exports.Steps=me;exports.SubCard=ut;exports.Tag=he;exports.TaskCard=Z;exports.Title=we;exports.Toast=N;exports.WakeKeyborard=ce;
package/es/index.es.js CHANGED
@@ -2433,10 +2433,6 @@ function SimpleCardBlock(props) {
2433
2433
  return /* @__PURE__ */ React.createElement(SimpleCard, __spreadValues({
2434
2434
  key: index2
2435
2435
  }, item));
2436
- }), /* @__PURE__ */ React.createElement("div", {
2437
- style: { display: "inline-block", padding: "12px 18px" }
2438
- }), /* @__PURE__ */ React.createElement("div", {
2439
- style: { display: "inline-block", padding: "0 18px", margin: 0 }
2440
2436
  })) : null);
2441
2437
  }
2442
2438
  var index$2 = "";
package/es/style.css CHANGED
@@ -1 +1 @@
1
- *{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}.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-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-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:bold;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:bold;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{color:#fff}.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-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:bold;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{font-size:2.2rem;margin-bottom:1rem}.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:bold}.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}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.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)}}.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}.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}.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}.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}}.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-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}.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}.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:bold;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:bold;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}.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}.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%}.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}.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}}.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:bold;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;flex:1;margin-right:12px;margin-top:12px}.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}
1
+ *{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}.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-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-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:bold;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:bold;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{color:#fff}.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-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:bold;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{font-size:2.2rem;margin-bottom:1rem}.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:bold}.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}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.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)}}.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}.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}.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}.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}}.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-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}.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}.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:bold;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:bold;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}.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}.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%}.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}.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}}.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:bold;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}.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}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cniot/android-pda-components",
3
- "version": "0.2.58",
3
+ "version": "0.2.59",
4
4
  "description": "",
5
5
  "main": "./es/index.cjs.js",
6
6
  "module": "./es/index.es.js",
@@ -1 +0,0 @@
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:bold;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:bold;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{color:#fff}.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:bold;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{font-size:2.2rem;margin-bottom:1rem}.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:bold}.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:bold;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;flex:1;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:bold;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:bold;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%}