mtxt-ui3 0.0.2

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.
package/dist/style.css ADDED
@@ -0,0 +1,2 @@
1
+ .playVideos{display:flex;flex-direction:column;height:100%;padding-left:20px}.playVideos .operate{display:flex;justify-content:space-between;margin:5px 0}.playVideos .operate .button{cursor:pointer}.playVideos .grid{display:grid;flex:1;overflow:hidden}.playVideos .grid .video{background:#000;border:1px solid hsla(216,7%,59%,.3);height:100%;object-fit:fill;overflow:hidden;width:100%}.playVideos .grid.full{height:100%;left:0;position:fixed;top:0;width:100%;z-index:10}.playVideos .type1{grid-template-columns:1fr;grid-template-rows:1fr}.playVideos .type4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.playVideos .type8{grid-template-columns:1fr 1fr 1fr 1fr;grid-template-rows:1fr 1fr 1fr 1fr}.playVideos .type8 .video:first-child{grid-column:1/4;grid-row:1/4}.playVideos .type9{grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr 1fr 1fr}.playVideos .type13{grid-template-columns:1fr 1fr 1fr 1fr;grid-template-rows:1fr 1fr 1fr 1fr}.playVideos .type13 .video:first-child{grid-column:1/3;grid-row:1/3}.playVideos .type16{grid-template-columns:1fr 1fr 1fr 1fr;grid-template-rows:1fr 1fr 1fr 1fr}@keyframes moveBottom{0%{bottom:0}to{bottom:-66px}}.videoComponent{background:#000;height:100%;position:relative;width:100%}.videoComponent.fill{object-fit:fill}.videoComponent.contain{object-fit:contain}.videoBox{height:100%;overflow:hidden;position:relative}.videoBox:hover .selectFields{animation-duration:1s;animation-fill-mode:both;animation-name:moveBottom}.videoBox:hover .footer-min{display:flex}.videoBox:hover .footer-min .name-min span,.videoBox:hover .footer-min .tool{display:block}.videoBox .selectFields{background:rgba(0,0,0,.3);bottom:0;display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr 1fr;height:66px;position:absolute;width:100%}.videoBox .selectFields .info{border:0;color:#fff;line-height:33px;overflow:hidden;padding:0 5px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.videoBox .selectFields .info .value{font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.videoBox .footer-min{align-items:center;backdrop-filter:blur(10px);background:hsla(0,0%,100%,.04);border-radius:4px 4px 0 0;bottom:0;display:none;height:44px;justify-content:space-between;position:absolute;width:100%}.videoBox .footer-min .name-min{align-items:center;display:flex;padding-left:15px}.videoBox .footer-min .name-min span{color:#fff;display:none;font-size:16px;font-weight:600}.videoBox .footer-min .tool{display:none}.videoBox .footer-min .tool img{cursor:pointer;height:20px;margin-right:15px;width:20px}.videoControls{align-items:center;display:flex;flex-direction:column;width:100%}.videoControls .videoControl{height:126px;position:relative;width:126px}.videoControls .videoControl .bg{height:100%;position:relative;width:100%}.videoControls .videoControl img{cursor:pointer;position:absolute}.videoControls .videoControl .up{left:52px;top:14px}.videoControls .videoControl .lup{left:26px;top:26px;transform:rotate(-45deg)}.videoControls .videoControl .rup{left:78px;top:27px;transform:rotate(45deg)}.videoControls .videoControl .left{left:14px;top:52px;transform:rotate(-90deg)}.videoControls .videoControl .right{left:90px;top:52px;transform:rotate(90deg)}.videoControls .videoControl .ldown{left:26px;top:78px;transform:rotate(215deg)}.videoControls .videoControl .down{left:52px;top:90px;transform:rotate(180deg)}.videoControls .videoControl .rdown{left:78px;top:78px;transform:rotate(135deg)}.videoControls .btns{background:#e0e7f2;border-radius:19px;height:28px;margin:8px 8px 0;padding:3px;width:56px}.videoControls .btns img{cursor:pointer;margin-right:1px}
2
+ .scrollbarDef ::-webkit-scrollbar-track-piece{background-color:#f8f8f8}.scrollbarDef ::-webkit-scrollbar{height:5px;width:5px}.scrollbarDef ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#ddd;min-height:28px}.scrollbarDef ::-webkit-scrollbar-thumb:hover{background-color:#bbb}.scrollbarBlack::-webkit-scrollbar-track-piece{background-color:transparent}.scrollbarBlack::-webkit-scrollbar{height:5px;width:0}.scrollbarBlack::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#3d4456;min-height:28px}body .ant-form-inline.table-query-form{margin-bottom:8px}body .ant-form-inline.table-query-form>.ant-row:not(.ant-form-item){width:100%}body .ant-form-inline.table-query-form .ant-form-item{margin-bottom:16px}body .ant-form-inline.table-query-form .ant-form-item .ant-input,body .ant-form-inline.table-query-form .ant-form-item .ant-select{width:200px}::-webkit-scrollbar-track-piece{background-color:#f8f8f8}::-webkit-scrollbar{height:5px;width:5px}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#ddd;min-height:28px}::-webkit-scrollbar-thumb:hover{background-color:#bbb}.flex{display:flex}.flex-center{align-items:center;display:flex}.flex1{flex:1}.flex2{flex:2}.flex3{flex:3}.flex4{flex:4}.flex5{flex:5}.flex6{flex:6}.flex7{flex:7}.flex8{flex:8}.flex9{flex:9}.flex10{flex:10}.flex11{flex:11}.flex12{flex:12}.login{background-origin:content-box;background-size:cover;display:flex;flex-direction:column;font-family:PingFangSC-Ultralight,sans-serif;height:100vh;overflow:auto;overflow-y:auto;position:relative;width:100vw}.login .topTitle{left:0;margin:60px;position:absolute;top:0;z-index:2}.login .topTitle img{height:54px;width:452px}.login .content_login{display:flex;flex:1;height:700px;justify-content:space-between;padding:0 150px}.login .content_login.system{align-items:center;justify-content:center}.login .content_login.system .left,.login .content_login.system .login_box{height:600px;width:600px}.login .content_login.system .left.left,.login .content_login.system .login_box.left{align-items:center;backdrop-filter:blur(20px);background-color:hsla(0,0%,100%,.1);border-radius:6px 0 0 6px;display:flex;flex-direction:column;padding-top:54px}.login .content_login.system .left.left>div,.login .content_login.system .login_box.left>div{margin-bottom:20px}.login .content_login.system .left.left img,.login .content_login.system .login_box.left img{height:300px;margin-bottom:35px;width:425px}.login .content_login.system .left.left h3,.login .content_login.system .left.left p,.login .content_login.system .login_box.left h3,.login .content_login.system .login_box.left p{color:#fff}.login .content_login.system .left.left h3,.login .content_login.system .login_box.left h3{font-size:24px;font-weight:600;line-height:33px;text-align:center}.login .content_login.system .left.left p,.login .content_login.system .login_box.left p{font-size:14px;font-weight:0;line-height:26px;padding:0 60px}.login .content_login.system .left.login_box,.login .content_login.system .login_box.login_box{backdrop-filter:blur(20px);background-color:hsla(0,0%,100%,.15);border:none;border-radius:0 6px 6px 0}.login .content_login.platform{align-items:center;display:flex;height:100vh;left:0;overflow-y:auto;padding:0;position:absolute;top:0;width:100vw}.login .content_login.platform .login_center_box{align-items:center;display:flex;flex:1;justify-content:flex-start}.login .content_login.platform .left{align-items:center;display:flex;flex:2;justify-content:center;padding-top:54px}.login .content_login.platform .left .left_img{height:700px;width:920px}.login .content_login .login_box{background:linear-gradient(180deg,hsla(0,0%,100%,.07),hsla(0,0%,100%,0));display:flex;flex-direction:column;flex-shrink:0;height:540px;position:relative;right:0;width:440px}.login .content_login .login_box>div{border:3px solid;border-image:linear-gradient(rgba(229,235,255,.09),hsla(0,0%,100%,0)) 80 30}.login .content_login .login_box>div .ant-input-affix-wrapper:before{content:unset!important}.login .content_login .login_box .ant-form{flex:1}.login .content_login .login_box .ant-form .ant-form-item{flex:1;margin-bottom:24px}.login .content_login .login_box .ant-form .ant-form-item.mB64{margin-bottom:64px}.login .content_login .login_box .ant-form .ant-form-item .ant-form-item-label{padding-bottom:16px}.login .content_login .login_box .ant-form .ant-form-item .ant-form-item-label label{font-size:16px}.login .copyright-information{bottom:30px;color:#7b8492;font-family:PingFangSC-Regular,PingFang SC;font-size:14px;font-weight:400;left:0;line-height:30px;margin:0;position:absolute;right:0;text-align:center}.login-messsage-notice .ant-message-notice-content{background:transparent;padding:0}.login_slider .ant-modal-body{padding:0}.login_slider .imgBox{height:268px;position:relative;width:432px}.login_slider .imgBox .anticon{color:#fff;position:absolute;right:10px;top:10px;z-index:3}.login_slider .imgBox img{position:absolute;z-index:2}.login_slider .imgBox .bgImg{height:268px;width:432px;z-index:1}.login_slider .modal-box{box-sizing:content-box}.login_slider .ant-slider{background-color:#f4f6f8;height:44px;margin:24px 0 0;padding:0}.login_slider .ant-slider .ant-slider-rail,.login_slider .ant-slider .ant-slider-step,.login_slider .ant-slider .ant-slider-track{height:44px;padding:0;top:0}.login_slider .ant-slider .ant-slider-track,.login_slider .ant-slider:hover .ant-slider-track{background-color:#22cc83}.login_slider .ant-slider .ant-slider-handle{background-color:#fff;border:1px solid #ccc;border-radius:2px;height:54px;top:0;transform:translateX(-2%)!important;width:54px}.login_slider .ant-slider .ant-slider-handle:after{content:">>";line-height:54px;position:absolute;text-align:center;width:100%}.login_slider .ant-slider .ant-slider-rail{background-color:#f4f6f8;position:relative}.login_slider .ant-slider .ant-slider-rail:before{content:"向右滑动完成拼图";line-height:44px;position:absolute;text-align:center;width:100%}.login_box{display:flex;flex-direction:column}.login_box>div .ant-input{color:#fff!important}.login_box input{color:#fff;height:44px}.login_box input:-internal-autofill-previewed,.login_box input:-internal-autofill-selected{-webkit-text-fill-color:#fff;color:#fff!important;transition:background-color 9999s ease-out .1s}.login_box .ant-input-password span span svg{color:#fff}.login_box .ant-form{padding:0 67px}.login_box .ant-form-item{margin-bottom:44px}.login_box .ant-form-item .ant-input-password,.login_box .ant-form-item input{background:none;background-color:hsla(0,0%,100%,.2);font-size:16px;height:44px;line-height:0px}.login_box .ant-form-item .ant-input-password input,.login_box .ant-form-item input input{background:none;height:auto}.login_box .ant-form-item .ant-input-password .ant-input-suffix,.login_box .ant-form-item input .ant-input-suffix{font-size:14px}.login_box .ant-form-item .ant-btn{border:none;border-radius:0;font-size:18px;height:43px;line-height:0px}.login_box .ant-form-item .ant-form-item-control-input-content .ant-input-password,.login_box .ant-form-item .ant-form-item-control-input-content>.ant-input{border:1px solid #5e657f;border-radius:0}.login_box .titleBox{display:flex;justify-content:center;margin:44px 0}.login_box .titleBox img{height:36px}.login_box .titleBox .title{color:#fff;font-family:YouSheBiaoTiHei;font-size:28px;font-weight:600;height:40px;line-height:40px;padding:0}.login_box .ant-form label{color:#fff;font-family:PingFangSC-Medium,PingFang SC;font-size:16px;font-weight:500;height:22px;line-height:22px}.login_box .login_tab{display:flex;height:3rem}.login_box .login_tab .item{background:#ebf8ff;cursor:pointer;flex:1;line-height:2.8rem;opacity:.5;text-align:center;transition:all .3s ease}.login_box .login_tab .item.active,.login_box .login_tab .item:hover{background:linear-gradient(90deg,#2eb2ff,#6d71ff);color:#fff;opacity:.8}body[data-theme=light] .login_box>div .ant-input{color:#fff!important}body[data-theme=light] .login_box input:-internal-autofill-previewed,body[data-theme=light] .login_box input:-internal-autofill-selected{transition:background-color 9999s ease-out .1s}body[data-theme=light] input:-internal-autofill-previewed,body[data-theme=light] input:-internal-autofill-selected{transition:background-color 9999s ease-out .1s}.mtxt-layout-table-box{display:flex;flex-direction:column}.mtxt-layout-table-box .mtxt-layout-table-option{display:flex;justify-content:space-between;margin-bottom:16px}.icon-item-class{align-items:center;background:#eff2f6;border:1px solid transparent;cursor:pointer;display:flex;justify-content:center;padding:7px 8px;transition:all .2s ease-in-out}.icon-item-class-img{color:#333;font-size:24px;margin-right:8px}.icon-item-class-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon-item-class:hover{background:rgba(var(--primary-color-rgb),.2);border-color:var(--primary-color)}.icon-item-class.active{background:var(--primary-color);color:#fff}.icon-item-class.active .icon-img{color:#fff}.mtxt-iconfonts,.mtxt-iconfonts .icon{align-items:center;display:flex}.mtxt-iconfonts .icon{background:#eff2f6;border:1px solid transparent;cursor:pointer;justify-content:center;margin-right:16px;padding:7px 8px;transition:all .2s ease-in-out}.mtxt-iconfonts .icon-img{color:#333;font-size:24px;margin-right:8px}.mtxt-iconfonts .icon-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mtxt-iconfonts .icon:hover{background:rgba(var(--primary-color-rgb),.2);border-color:var(--primary-color)}.mtxt-iconfonts .icon.active{background:var(--primary-color);color:#fff}.mtxt-iconfonts .icon.active .icon-img{color:#fff}.mtxt-select-icon-modal .ant-modal-body{height:70vh;overflow:auto}.mtxt-select-icon-modal .ant-modal-body .search{margin-bottom:24px;width:200PX}.mtxt-select-icon-modal .ant-modal-body .icon{align-items:center;background:#eff2f6;border:1px solid transparent;cursor:pointer;display:flex;justify-content:center;padding:7px 8px;transition:all .2s ease-in-out}.mtxt-select-icon-modal .ant-modal-body .icon-img{color:#333;font-size:24px;margin-right:8px}.mtxt-select-icon-modal .ant-modal-body .icon-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mtxt-select-icon-modal .ant-modal-body .icon:hover{background:rgba(var(--primary-color-rgb),.2);border-color:var(--primary-color)}.mtxt-select-icon-modal .ant-modal-body .icon.active{background:var(--primary-color);color:#fff}.mtxt-select-icon-modal .ant-modal-body .icon.active .icon-img{color:#fff}.mtxt-header-menu{background-color:#132041;width:100%}.mtxt-header-menu-item{background:linear-gradient(180deg,rgba(76,146,230,0),rgba(13,95,201,.5));cursor:pointer;opacity:.5;padding:5px 40px}.mtxt-header-menu-item>span{color:#fff}.mtxt-header-menu-item.mtxt-header-menu-item-active,.mtxt-header-menu-item:hover{background:linear-gradient(180deg,rgba(58,117,205,0),rgba(58,117,205,0) 0,rgba(79,115,228,.3) 71%,rgba(81,115,230,.6) 91%,rgba(71,98,226,.9));border-bottom:1px solid;border-image:linear-gradient(180deg,rgba(156,194,247,0),#628fec) 1 1;opacity:1}.mtxt-header-menu-title{align-items:center;display:flex;padding:5px 0}.mtxt-header-menu-title-text{color:#fff;font-size:30px;text-align:center;text-shadow:0 0 9px #389aff}.mtxt-header-menu-center-title{background:url(/micro-assets/device/titleCenter.png) no-repeat;background-size:100% 100%;justify-content:center;width:25%}.mtxt-header-menu-left-title{background:url(/micro-assets/device/titleLeft.png) no-repeat;background-size:contain;padding-left:30px;width:40%}.mtxt-header-menu-content,.mtxt-header-menu-content-left{align-items:center;display:flex}.mtxt-header-menu-content-left{background:url(/micro-assets/device/menuLeft.png) no-repeat;background-position:0 100%;background-size:contain;flex:1;justify-content:space-between;padding:5px 0}.mtxt-header-menu-content-left-right{display:flex;justify-content:flex-end}.mtxt-header-menu-content-left-right .mtxt-header-menu-item{clip-path:polygon(0 0,80% 0,100% 100%,20% 100%)}.mtxt-header-menu-content-right{align-items:center;background:url(/micro-assets/device/menuRight.png) no-repeat;background-position:0 100%;background-size:contain;display:flex;flex:1;justify-content:space-between;padding:5px 0}.mtxt-header-menu-content-right-left{display:flex;justify-content:flex-start}.mtxt-header-menu-content-right-left .mtxt-header-menu-item{clip-path:polygon(20% 0,100% 0,80% 100%,0 100%)}.mtxt-header-menu-left .mtxt-header-menu-content-right{background:none;justify-content:flex-end}.people-select-cpn-modal .container{display:flex;height:50vh}.people-select-cpn-modal .container .left,.people-select-cpn-modal .container .right{display:flex;flex:1;flex-direction:column;overflow:hidden}.people-select-cpn-modal .container .left .title,.people-select-cpn-modal .container .right .title{color:#31363c;font-size:14px;font-weight:600;margin-bottom:0}.people-select-cpn-modal .container .left{margin-right:16px}.people-select-cpn-modal .container .left .dep-breadcrumb,.people-select-cpn-modal .container .left .search-people-input{margin-bottom:16px;width:100%}.people-select-cpn-modal .container .left .dep-breadcrumb .ant-breadcrumb:nth-child(n - 1),.people-select-cpn-modal .container .left .search-people-input .ant-breadcrumb:nth-child(n - 1){color:var(--primary-color);cursor:pointer}.people-select-cpn-modal .container .left .tree{flex:1;overflow:auto}.people-select-cpn-modal .container .left .tree .ant-tree-node-content-wrapper{overflow:hidden}.people-select-cpn-modal .container .left .tree .ant-tree-switcher-noop{display:none}.people-select-cpn-modal .container .left .tree .node-title{display:flex;justify-content:space-between}.people-select-cpn-modal .container .left .tree .node-title .name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.people-select-cpn-modal .container .left .tree .node-title .count{color:#aaa}.people-select-cpn-modal .container .right .header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.people-select-cpn-modal .container .right .header .select-text{font-weight:400}.people-select-cpn-modal .container .right .header .select-text em{color:var(--primary-color);font-style:normal;margin:0 4px}.people-select-cpn-modal .container .right .selected-container{align-content:flex-start;display:flex;flex:1;flex-wrap:wrap;overflow-y:auto}.people-select-cpn-modal .container .right .selected-container .ant-tag{margin-bottom:10px}.mtxt-param-manager{flex-direction:column;overflow:hidden}.mtxt-param-manager .ant-tabs{position:relative}.mtxt-param-manager .ant-tabs .ant-tabs-content-holder{overflow:auto}.mtxt-param-manager .tab-item .operation{text-align:right}.mtxt-param-manager .tab-item .operation>.ant-space{position:absolute;right:0;top:0}.mtxt-param-manager .tab-item .group-container .group-item-title{font-size:14px;font-weight:600}.mtxt-param-manager .tab-item .group-container .ant-form{overflow:hidden}.mtxt-param-manager .tab-item .group-container .collapse-container{margin:16px 0}.mtxt-param-manager .tab-item .group-container .collapse-container .header{align-items:center;display:flex;line-height:1;padding-left:16px;position:relative}.mtxt-param-manager .tab-item .group-container .collapse-container .header .container-title{font-size:14px;font-weight:600}.mtxt-param-manager .tab-item .group-container .collapse-container .header:before{background-color:#4b7ff7;bottom:0;content:" ";left:0;position:absolute;top:0;width:2px}.mtxt-param-manager-v2{display:flex;height:100%}.mtxt-param-manager-v2 .menu{height:100%;overflow-y:auto;width:200px}.mtxt-param-manager-v2 .menu .ant-menu{background-color:#fff;color:#31363c;min-height:100%}.mtxt-param-manager-v2 .menu .ant-menu .ant-menu-item{margin:0!important}.mtxt-param-manager-v2 .menu .ant-menu .ant-menu-item-selected,.mtxt-param-manager-v2 .menu .ant-menu .ant-menu-item:hover{color:var(--primary-color)}.mtxt-param-manager-v2 .menu .ant-menu .ant-menu-item.ant-menu-item-selected{background:#eff4ff}.mtxt-param-manager-v2 .menu .ant-menu .ant-menu-item.ant-menu-item-selected .ant-menu-title-content{font-weight:600}.mtxt-param-manager-v2 .menu .ant-menu.ant-menu-inline .ant-menu-item-selected:after{border-right-color:var(--primary-color)}.mtxt-param-manager-v2 .right{flex:1 1 0;margin-left:16px}.mtxt-param-manager-v2 .right .ant-tabs{position:relative}.mtxt-param-manager-v2 .right .ant-tabs .tab-level .operation{position:absolute;right:0;top:0}.mtxt-param-manager-v2 .right .ant-tabs .cell-title{font-weight:500;margin-bottom:8px}.detail.fill{height:100%;overflow:hidden}.detail.fill>.detail-inner{height:100%}.mtxt-collapse-title__header{align-items:center;display:flex;margin-bottom:16px;padding-left:10px;position:relative}.mtxt-collapse-title__header:before{background-color:var(--primary-color);bottom:10%;content:"";left:0;position:absolute;top:10%;width:4px}.mtxt-collapse-title__header .title{font-weight:600}.mtxt-collapse-title__header .btn-toggle{margin-left:8px}.mtxt_box{display:flex;flex-direction:column;height:100%;width:100%}.mtxt_box.ant-card{backdrop-filter:blur(3px);border-radius:0}.mtxt_box.ant-card .ant-card-head{border-bottom:none;border-radius:0;height:auto;min-height:inherit;padding:0 10px}.mtxt_box.ant-card .ant-card-head .ant-card-head-wrapper{height:100%}.mtxt_box.ant-card .ant-card-head .ant-card-head-wrapper .ant-card-head-title{padding:5px 0}.mtxt_box.ant-card .ant-card-head .ant-card-head-wrapper .ant-card-extra{float:none;max-width:50%;padding:0}.mtxt_box.ant-card .ant-card-head .ant-card-head-wrapper .ant-card-extra .ant-tabs-top{margin-bottom:0}.mtxt_box.ant-card .ant-card-head .ant-card-head-wrapper .ant-tabs-top.ant-tabs-small>.ant-tabs-nav{margin:0!important}.mtxt_box.ant-card .ant-card-head .ant-card-head-wrapper .ant-tabs-top.ant-tabs-small>.ant-tabs-nav .ant-tabs-nav-operations{display:none}.mtxt_box.ant-card .ant-card-head .ant-card-head-wrapper .ant-tabs-top.ant-tabs-small>.ant-tabs-nav:before{border:none}.mtxt_box.ant-card .ant-card-head .ant-card-head-wrapper .ant-tabs-top.ant-tabs-small .ant-tabs-tab{font-size:12px;padding:4px 0!important}.mtxt_box.ant-card-bordered,.mtxt_box.mtxt_box-border{border:1px solid rgba(152,163,192,.21);border-radius:5px}.mtxt_box .ant-card-body{border-radius:0;flex:1;overflow:hidden;padding:10px}.mtxt_box .ant-card-body>div{height:100%}.mtxt_box.cardBody .ant-card-body{padding:10px}.mtxt_box.noPadding .ant-card-body{padding:0}.mtxt_box-header{align-items:center;display:flex;font-size:14px;justify-content:space-between;padding:5px 10px}.mtxt_box-header-title{align-items:center;display:flex;font-size:16px;font-weight:700}.mtxt_box-header-title .mtxt_box-header-icon{background-color:#3ebcff;height:10px;margin-left:.36458vw;margin-right:10px;transform:rotate(45deg);width:10px}.mtxt_box-header .ant-tabs-top.ant-tabs-small>.ant-tabs-nav{margin:0!important}.mtxt_box-header .ant-tabs-top.ant-tabs-small>.ant-tabs-nav .ant-tabs-nav-operations{display:none}.mtxt_box-header .ant-tabs-top.ant-tabs-small>.ant-tabs-nav:before{border:none}.mtxt_box-header .ant-tabs-top.ant-tabs-small .ant-tabs-tab{font-size:12px;padding:4px 0!important}.mtxt_box-body{box-sizing:border-box;flex:1;overflow-y:auto;width:100%}.mtxt_box-body>div{height:100%}.mtxt_box_light.ant-card{background:hsla(0,0%,100%,.3)}.mtxt_box_light.ant-card .ant-card-head{border-bottom:1px solid #dbe0ea}.mtxt_box_dark{color:#dbe0ea}.mtxt_box_dark.ant-card{background:rgba(7,40,86,.6)}.mtxt_box_dark.ant-card .ant-card-head{background:linear-gradient(270deg,rgba(71,87,108,0),rgba(20,48,86,.5));border-top:2px solid #3e536f;color:#fff;position:relative}.mtxt_box_dark.ant-card .ant-card-head:before{background:#8fade4;display:inline-block;height:4px;left:0;position:absolute;top:-2px;width:3%}.mtxt_box_dark.ant-card .ant-card-head:after{background:linear-gradient(90deg,rgba(56,154,255,0),#389aff 50%,rgba(56,154,255,0));bottom:0;content:"";display:inline-block;height:4px;position:absolute;width:37%}.mtxt_box_dark.ant-card .ant-card-head .mtxt_box-header-title .borderBottom{background:#3e536f;bottom:0;height:2px;left:0;position:absolute;width:94%}.mtxt_box_dark.ant-card .ant-card-head .mtxt_box-header-title .borderBottom:before{background:#389aff;bottom:0;content:"";display:inline-block;height:2px;opacity:.5;position:absolute;right:-2%;width:3%}.mtxt_box_dark.ant-card .ant-card-head .mtxt_box-header-title .borderBottom:after{background:#389aff;bottom:0;content:"";display:inline-block;height:2px;position:absolute;right:-6%;width:2%}.mtxt_box_dark.ant-card .ant-card-head .ant-card-head-wrapper .ant-tabs-tab{color:#a4aabf}.mtxt_box_dark.ant-card .ant-card-head .ant-card-head-wrapper .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#1e70ff!important}.mtxt_box_dark.ant-card .ant-card-head .ant-card-head-wrapper .ant-tabs-ink-bar{background:transparent!important}.mtxt_box_dark.ant-card .ant-card-head .ant-card-head-wrapper .ant-tabs-ink-bar:after{background:#1e70ff;bottom:5px;box-shadow:0 0 6px 1px #1e70ff;content:" ";height:2px;left:50%;position:absolute;right:0;transform:translateX(-50%);width:70%}.mtxt_box_dark.ant-card .ant-card-head .ant-card-head-wrapper .ant-card-head-title{padding:5px 0;width:50%}.mtxt_box_dark .mtxt_box-header{align-items:center;background:url(/micro-assets/bigScreen/titleBackground.png) no-repeat;background-size:100% 100%;color:#fff;display:flex}.mtxt_box_dark .mtxt_box-header-title{text-shadow:0 0 9px #389aff}.mtxt_box_dark .mtxt_box-header-title>img{height:48px;width:48px}.mtxt_box_dark .mtxt_box-header .ant-tabs-tab{color:#a4aabf}.mtxt_box_dark .mtxt_box-header .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#1e70ff!important}.mtxt_box_dark .mtxt_box-header .ant-tabs-ink-bar{background:transparent!important}.mtxt_box_dark .mtxt_box-header .ant-tabs-ink-bar:after{background:#1e70ff;bottom:5px;box-shadow:0 0 6px 1px #1e70ff;content:" ";height:2px;left:50%;position:absolute;right:0;transform:translateX(-50%);width:70%}.scroll-container{overflow:hidden;position:relative}.scroll-container .scroll-inner{position:absolute;white-space:nowrap}.card-header-small{align-items:center;background:linear-gradient(270deg,rgba(71,87,108,0),#254878);display:flex;height:auto;justify-content:space-between;padding:4px 12px;position:relative}.card-header-small:before{background:#f67735;content:"";height:8px;left:0;position:absolute;top:50%;transform:translateY(-50%);width:3px}.card-header-small .title{color:#fff;font-size:14px;font-weight:600}.card-header-small .tab-container{display:flex}.card-header-small .tab-container .tab-item{border-bottom:2px solid transparent;color:#a4aabf;cursor:pointer;font-size:12px;margin-left:16px;padding:4px}.card-header-small .tab-container .tab-item.active{border-bottom-color:#389aff;color:#389aff}.coalBunkerBox{display:flex;flex-direction:column;height:100%;width:100%}.coalBunkerBox .coalBunkerBox-title{align-items:center;background:rgba(0,110,221,.7);border-radius:2px;border-radius:3px;color:hsla(0,0%,100%,.8);display:flex;font-size:12px;font-weight:600;justify-content:center;overflow:hidden;padding:5px;width:100%}.coalBunkerBox .coalBunkerBox-info{font-size:21px;font-weight:500;line-height:1;margin-top:10px;text-align:center}.coalBunkerBox .coalBunkerBox-content{border-radius:0 0 20px 20px;display:flex;flex:1;flex-direction:column;justify-content:flex-end;margin:8px 0;overflow:hidden;position:relative;width:100%}.coalBunkerBox .coalBunkerBox-content .coalBunkerBox-content-value{width:100%}.coalBunkerBox.dark .coalBunkerBox-content{background-color:#0d202b;border:1px solid #20788a}.coalBunkerBox.dark .coalBunkerBox-content:after{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAADeCAYAAADLs6VHAAAAAXNSR0IArs4c6QAACqZJREFUeF7tnGtwVOUZx5/3nL0mu5tNQsKGS0gMgVoixFZa0yKmCmoZqFaxAu2MlNLptOOH6tSZ9ksnddp+sDP1ix9qLY6OqNBBO/XS6ggVLFEoMNgAjkAS0iC5LCHZ7GaTvZxzns5JJk41G1h4T83zZp/9tsnue37P/7f/s+eSiQB+kEpACM2Leqi0v2LdvZq7MlKm+Xw6KcJZDmOlUmY22jd48W+vWGZ8aK5whSN987Y9VKF5PNosn530eFYmY/U88+RFUbXlJ1FvdU1FpvcCJI+8D9ZokjT4bIPTioqheGUTeKrmQ7q766Ko/uljhr2bGnp1D8uYIdu2lNJvbQR79yVqfv442hyXdj03Qzi8WTuB8k0PjgfBQoh8HlgIERGTGCxEVSECxDli7ErjIGBtrgHybkii65RQOgFi8MGaZeMHUZ99sJAZEsVC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UlLb8B0LYCcguqdkoGsQ/FozeOYvBMwaGP3r7o5U50eLc2V1OSHjry+5efWZ8Ko19aAJkenugpFDBwEtM/f3CoiWeNfJXxWalJLaG35oofUHe48/5ROvuyB4y23gjlTZJ95WdM/OrvT5ruumy+iKQuw3Fi9ZdrZ83X2LhcctsgNRSPzzH4DpHGf19lECwEtlNRXbuvbvTxWCmGBtw6OA+HjOT7vHA6HVt4NrTiVYqbTZ/+dnPs709YzvcaSE2G/2ROZ1z73/wXmav8hljiTGD4vNRHy6phzy69rd/R1t0dksJVjT8FsA/EVOGV4vhJrXgqu03D59MPpe2NGfHYzOv1IeeTVkchE9EBqIbNle7AqX+q1MZrwpxsX+3FIE/EcX2oahzhMnrgSh2u9bWlq03z+750kE/HEuds3nh9Btd4IeKgFrJJ7teXHHJTM2GMlnzqsSYi8oXO7Rqk3b0u55C0rBtGDk8EFId5+bTkpCE2IrurXj+cCo8hpMm79BgM25ePXiAAS/cQfogSCY8Vi65/mnE1YyPiff2a5ayMTCwpp7z+Ye35LrF9jPRtuOw9iHbfluc9a+zm6EvZvSiorBiA2O9T7/VNoaGw1fzcDXKGRiE+HmO9tLvrKqzjaU6jwLySOHwD5vKcSHHi6FkuY7QPh8kB2IjvTufBoxkwpebRZSQuyNBZZ/+UzZ2g31QtdFtq8XEq3vgH2GX0gPV/kcCN66BjSPF4xo73DPzj960DD815KBtBB7o96FNZ2V3/7eIs3n1c3hGMTf3QtWMnktPMq9x10ZgeDq28G+yZS5cP5S70s7gmCZnmsdxBEh9sb1cHlv1eZt5Xow5LFSYzByuBXsxszWXZjQdPAsqoHim5pA6DqkuzujfbufLQdE/VpljH87T15+l1lk8r3C5x+et2mbcFVGQk6sp8oaY+2ne6Kv7KyaOC+WezgqZOIATDPCt67tCly/vFoPBN0ghDSk3Ij/n3ejaaGZiKXiR1rPJ47/65PL57Jbm5VhyYYyk+//L8XvU0XnGWVkAAAAAElFTkSuQmCC") no-repeat;background-size:100% 100%;content:"";display:inline-block;height:100%;left:0;position:absolute;top:0;width:100%}.coalBunkerBox.dark .coalBunkerBox-content .coalBunkerBox-content-value{background:linear-gradient(180deg,rgba(18,251,247,0),#12fbf7 0,rgba(4,171,207,0) 100%,rgba(4,171,207,0) 0)}.coalBunkerBox.light .coalBunkerBox-content{background-color:#eff2f6;border:1px solid #c9cfd8}.coalBunkerBox.light .coalBunkerBox-content:after{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAADeCAYAAADLs6VHAAAAAXNSR0IArs4c6QAACq5JREFUeF7tnUtsHFkVhs+pfrgf7pfbdrvtdF52wmQUVgjBEhBLxIgs2CCG2c0GjUCIzSAxYoNASIyEkGYDErMAseGxAimwQGI1I2VmJB5JxokT4o7dbbfdD3d39aOqDrpNBoW4TKpzK+VT9qlVor597n/+r/+ue29ZagS5WDmARPSGUrRdb3VqO3uzY9s2WCk84WJikYiztFjslkv5rGpVAbHvPqj195udNBHhCe+fZXuISHOFbG/17FIKt+p7rc2t3RwiQmY2BbFolKXokypqbFlw0O0DEUFleaGN7/3jbn88GifLpfkJELmCd0AB2a43IBaPmfjuB7cd9VV16WIFVErkCt4BlY71jU3lP+E7798iJeHy6tnglciM/3Xgw7sPJv8WIEw+FAKECYiPZAiQsAIxDPwaM+2hluM49LZbA54TUsimZOnl40eg2elPFlFPXgLER5OnKSVApnErgLECJACTp5lCgEzjVgBjBUgAJk8zhQCZxq0AxgqQAEyeZgoBMo1bAYwVIAGYPM0UAmQatwIYK0ACMHmaKQTING4FMFYbiAHwZgA6T80UDsA3tQ4XT41Tx9yo59PeY9Z5aqYXIMxQCxABwswBZnIkIWEFQoCvM9MeajkI9H2tZa/8kYO//LU3hgJEgPjrALNqkhABwswBZnIkIQKEmQPM5EhCBAgzB5jJkYQIEGYOMJMjCREgzBxgJkc7IWjAt5n1FGo55MCPtE57Q919iMTLAypmsASIAGHmADM5khABwswBZnK8JwThp8y0h1sOwde1lr3yTN1f/tobQwEiQPx1gFk1SYgAYeYAMzmSEAHC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yYtjL7t3MHzRIPs6AKy4iWm1D2Cn0Zy8VF4sNivL8wUvoqcBMqnX2G83723W8wpKOpWEcqkIaofvftEvHj5IvXr1Ko68iAnLmHa790lCVPeMeTfN+80ONPZb6sNKy6Xi/spSsei1t6mBqMKdrtlfv1eN2bYTm4nHYaW8oDY2RzCBG4D4d6+C+I9zEAi/BAiTDfSTlwKhgCgYZ5cX90oLeVdoR/X5TEBUscFwNLh1p+qMxuOUgqGgKDin+VJfUeqrSsE4d6bUXCzm5qb145mBqIksy+7fuvcQ+j0zZRgI5dICpFPuB5PTCgvTeLWcre/ug7qJKxir58rtuXzG9YdbntaXFhBVnIiG6/e3nFa7O9n+q6OWXHb2afOemNcVDLWSUstbwzCctfPlXj476/p15qVpbSCPJnHuV3e6O43mZC08l8/CfPGZPiBeNLMZQw7BVr0BauNnoGFfXjszyKaT7sfkHlX7BWQyXW23ube5tTs5mEwk4pBKJI5aFnuUx3eYSka314fR2FLnfOMXVit2WjWsefkKRGlptbvdjc1aTJ2BaWoLxdtj0aj5wlrFSCbivvSrgLzhd+eWZQ1ublTR7I98Eem3Pj/qqa1XJp3qX7qwHDUMw7fl5b8B/ZKhJf/WWWoAAAAASUVORK5CYII=") no-repeat;background-size:100% 100%;content:"";display:inline-block;height:100%;left:0;position:absolute;top:0;width:100%}.coalBunkerBox.light .coalBunkerBox-content .coalBunkerBox-content-value{background:linear-gradient(180deg,#3e7eff,rgba(62,126,255,.1) 100%,rgba(4,171,207,0) 0)}.chronoscope{align-items:center;color:#0af9f2;display:flex;padding:10px 0}.chronoscope>span{margin:0 8px}.chronoscope-item{align-items:center;background:rgba(28,116,137,.3);border:1px solid #39a9a5;border-radius:1px;display:flex;height:40px;justify-content:space-around;overflow:hidden;position:relative;width:36px}.chronoscope-item>div{align-items:center;animation-fill-mode:forwards!important;display:flex;flex-direction:column;justify-content:center;position:absolute;text-align:center;width:50%}.chronoscope-item>div>span{color:#74f2ee;display:block;font-family:DINCondensed-Bold;font-size:32px;font-weight:700;height:40px;line-height:40px}.chronoscope-item .timeBox0{left:0;top:0}.chronoscope-item .timeBox1{right:0;top:0}.chronoscope-item .roll_0{animation:rolling_0 .8s ease}@keyframes rolling_0{0%{transform:translateY(-90%) translateZ(0)}to{transform:translateY(0) translateZ(0)}}.chronoscope-item .roll_1{animation:rolling_1 .8s ease}@keyframes rolling_1{0%{transform:translateY(0) translateZ(0)}to{transform:translateY(-10%) translateZ(0)}}.chronoscope-item .roll_2{animation:rolling_2 .8s ease}@keyframes rolling_2{0%{transform:translateY(-10%) translateZ(0)}to{transform:translateY(-20%) translateZ(0)}}.chronoscope-item .roll_3{animation:rolling_3 .8s ease}@keyframes rolling_3{0%{transform:translateY(-20%) translateZ(0)}to{transform:translateY(-30%) translateZ(0)}}.chronoscope-item .roll_4{animation:rolling_4 .8s ease}@keyframes rolling_4{0%{transform:translateY(-30%) translateZ(0)}to{transform:translateY(-40%) translateZ(0)}}.chronoscope-item .roll_5{animation:rolling_5 .8s ease}@keyframes rolling_5{0%{transform:translateY(-40%) translateZ(0)}to{transform:translateY(-50%) translateZ(0)}}.chronoscope-item .roll_6{animation:rolling_6 .8s ease}@keyframes rolling_6{0%{transform:translateY(-50%) translateZ(0)}to{transform:translateY(-60%) translateZ(0)}}.chronoscope-item .roll_7{animation:rolling_7 .8s ease}@keyframes rolling_7{0%{transform:translateY(-60%) translateZ(0)}to{transform:translateY(-70%) translateZ(0)}}.chronoscope-item .roll_8{animation:rolling_8 .8s ease}@keyframes rolling_8{0%{transform:translateY(-70%) translateZ(0)}to{transform:translateY(-80%) translateZ(0)}}.chronoscope-item .roll_9{animation:rolling_9 .8s ease}@keyframes rolling_9{0%{transform:translateY(-80%) translateZ(0)}to{transform:translateY(-90%) translateZ(0)}}.progressBar{height:auto;overflow:hidden}.progressBar .progressBar-box{align-items:center;background:rgba(141,240,231,.08);display:flex;height:10px;padding:2px;width:100%}.progressBar .progressBar-box>span{display:block;height:100%}.progressBar .progressBar-box>span:last-child{border-radius:0 50px 50px 0}.progressBar .progressBar-box>span.error{background:linear-gradient(270deg,#ea5858,rgba(234,88,88,0))}.progressBar .progressBar-box>span.stop{background:linear-gradient(270deg,#9095a2,hsla(223,9%,60%,0))}.progressBar .progressBar-box>span.run{background:linear-gradient(270deg,#d4e3fa,rgba(10,249,242,.91) 28%,rgba(55,59,113,0))}.productionBenchHours .productionBenchHours-top{grid-gap:8px;display:grid;grid-template-columns:1fr 1.7fr 1.3fr;margin-bottom:15px}.productionBenchHours .productionBenchHours-top .state .body{align-items:flex-start;display:flex}.productionBenchHours .productionBenchHours-top .state .body .stateName{font-size:16px;font-weight:600;margin-top:10px;padding:2px 8px;position:relative;text-align:center;width:70%}.productionBenchHours .productionBenchHours-top .state .body .stateName:after{bottom:0;content:"";display:inline-block;height:1px;left:0;position:absolute;width:100%}.productionBenchHours .productionBenchHours-top .accumulatedDuration{display:flex;flex-direction:column;height:100%;justify-content:space-between;overflow:hidden}.productionBenchHours .productionBenchHours-top .accumulatedDuration .title{margin-bottom:10px}.productionBenchHours .productionBenchHours-top .accumulatedDuration .accumulatedDuration-item{align-items:center;display:flex;flex:1;font-size:14px;overflow:hidden}.productionBenchHours .productionBenchHours-top .accumulatedDuration .accumulatedDuration-item>span:first-child{margin-right:20px}.productionBenchHours .productionBenchHours-top .accumulatedDuration .accumulatedDuration-item.error{color:#fd5858}.productionBenchHours .productionBenchHours-top .accumulatedDuration .accumulatedDuration-item.stop{color:#d4dddd}.productionBenchHours .productionBenchHours-top .accumulatedDuration .accumulatedDuration-item.run{color:#0af9f2}.productionBenchHours .productionBenchHours-top.run .stateName{background:linear-gradient(270deg,#3cadbe,rgba(28,116,137,0));color:#bcfaff}.productionBenchHours .productionBenchHours-top.run .stateName:after{background:linear-gradient(270deg,#faffff,rgba(169,252,255,0))}.productionBenchHours .productionBenchHours-top.run .stateBox{background:url(/micro-assets/bigScreen/xg/functionBG1.png) no-repeat;background-size:100% 100%}.productionBenchHours .productionBenchHours-top.run .stateBox>img{height:46px;width:36px}.productionBenchHours .productionBenchHours-top.stop .stateBox{background:url(/micro-assets/bigScreen/xg/StandbyBG.png) no-repeat;background-size:100% 100%}.productionBenchHours .productionBenchHours-top.stop .stateBox>img{height:46px;width:41px}.productionBenchHours .productionBenchHours-top.stop .stateName{background:linear-gradient(270deg,#3cadbe,#8f9596 0,rgba(53,58,60,0));color:#c3c9ca}.productionBenchHours .productionBenchHours-top.stop .stateName:after{background:linear-gradient(270deg,#faffff,hsla(180,7%,89%,0))}.productionBenchHours .productionBenchHours-top.error .stateBox{background:url(/micro-assets/bigScreen/xg/faultBG.png) no-repeat;background-size:100% 100%}.productionBenchHours .productionBenchHours-top.error .stateBox>img{height:44px;width:49px}.productionBenchHours .productionBenchHours-top.error .stateName{background:linear-gradient(270deg,#be3c3c,rgba(53,58,60,0));color:#ffb9b9}.productionBenchHours .productionBenchHours-top.error .stateName:after{background:linear-gradient(270deg,#f9bebe,hsla(0,100%,83%,0))}.header{align-items:center;display:flex;padding-inline:0!important}.header .logo{font-size:20px;font-weight:600;height:100%;padding:0 10px;text-align:center;width:200px}.header .logo>img{width:100%}.header .headerMenu{flex:1}.header .user-info{align-items:center;display:flex;margin:0 20px}.header .user-info .avatar{margin-right:8px}.header .user-info .username{align-items:center;color:#fff;display:flex}.header .logout{color:#fff;font-size:20px}.header .logout .anticon{position:relative;top:2px}.header .person-operation-dropdown{top:50px!important}.header .person-operation-dropdown .ant-dropdown-menu-item{color:#5c667d}.header .person-operation-dropdown .ant-dropdown-menu-item .ant-dropdown-menu-item-icon{font-size:16px}.parameter-m{background:#fff;height:100%;overflow:auto;width:100%}.parameter-m .flex1{flex:1}.parameter-m .top-btn{align-items:center;display:flex;justify-content:flex-end}.parameter-m .zbcs-m{margin-bottom:8px}.parameter-m .title-la{color:#31363c;font-size:14px;font-weight:600}.ipt-num-m{width:100%!important}.dark-table .ant-table,.dark-table .ant-table-tbody>tr.ant-table-placeholder:hover>td,.dark-table .ant-table-thead>tr>th{background:transparent}.dark-table .ant-table-tbody>tr>td{color:#fff}.dark-table .ant-table-tbody>tr>td,.dark-table .ant-table-thead>tr>th{border-bottom:0!important}.dark-table .ant-table tfoot>tr>td,.dark-table .ant-table tfoot>tr>th,.dark-table .ant-table-tbody>tr>td,.dark-table .ant-table-thead>tr>th{font-size:14px;height:35px;padding:0 3px}.dark-table .ant-table-thead>tr>th{color:hsla(0,0%,100%,.4);font-size:16px}.dark-table .ant-empty,.dark-table .ant-empty-description,.dark-table .ant-empty-image{color:#fff;margin:0}.dark-table .ant-empty-image{height:30px}.dark-table .ant-empty-img-simple{width:40px}.dark-table .ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan]):before{width:0}.dark-table .ant-table-tbody .ant-table-row:nth-child(odd) .ant-table-cell,.dark-table .ant-table-tbody>tr.ant-table-row:hover>td,.dark-table .ant-table-tbody>tr>td.ant-table-cell-row-hover{background:transparent}.dark-table2 .ant-table,.dark-table2 .ant-table-summary,.dark-table2 .ant-table-summary>tr>td,.dark-table2 .ant-table-tbody>tr>td,.dark-table2 .ant-table-thead>tr>th{background:transparent;border-bottom:0;color:#fff}.dark-table2 .ant-table-tbody>tr.ant-table-placeholder:hover>td,.dark-table2 .ant-table-tbody>tr.ant-table-row:hover>td,.dark-table2 .ant-table-tbody>tr>td.ant-table-cell-row-hover{background:transparent}.dark-table2 .ant-empty,.dark-table2 .ant-empty-description,.dark-table2 .ant-empty-image{color:#fff;margin:0}.dark-table2 .ant-empty-image{height:30px}.dark-table2 .ant-empty-img-simple{width:40px}.dark-table2 .ant-table-thead>tr>th{font-size:20px;height:42px;line-height:42px;padding-bottom:0;padding-top:0}.dark-table2 .ant-table-thead>tr>th:before{display:none}.dark-table2 .ant-table tfoot>tr>td,.dark-table2 .ant-table-tbody>tr>td{font-size:21px;height:37px;line-height:37px;padding-bottom:0;padding-top:0}.dark-table2 .ant-table-thead{background:linear-gradient(270deg,rgba(64,169,255,.1),rgba(30,112,255,.4));position:relative}.dark-table2 .ant-table-thead:after,.dark-table2 .ant-table-thead:before{background:#1cefff;content:"";height:8px;position:absolute;top:50%;width:2px}.dark-table2 .ant-table-thead:before{left:0;transform:translateY(-50%) perspective(5px) rotateY(30deg)}.dark-table2 .ant-table-thead:after{right:0;transform:translateY(-50%) perspective(5px) rotateY(-30deg)}.dark-table2.striped .ant-table-tbody tr:nth-child(2n):not(.ant-table-placeholder){background:linear-gradient(90deg,#00000000,rgba(56,154,255,.2),#00000000)}.dark-table3 .ant-empty-normal,.dark-table3 .ant-table,.dark-table3 .ant-table-summary,.dark-table3 .ant-table-summary>tr>td,.dark-table3 .ant-table-tbody>tr.ant-table-placeholder:hover>td,.dark-table3 .ant-table-tbody>tr.ant-table-row:hover>td,.dark-table3 .ant-table-tbody>tr>td,.dark-table3 .ant-table-tbody>tr>td.ant-table-cell-row-hover,.dark-table3 .ant-table-thead>tr>th{background:transparent;border-bottom:0;color:#fff}.dark-table3 .ant-empty{margin:0}.dark-table3 .ant-empty .ant-empty-image{height:30px;margin-bottom:0}.dark-table3 .ant-empty .ant-empty-description{margin-bottom:0}.dark-table3 .ant-table-thead>tr>th{background:rgba(31,61,75,.45);font-size:18px;padding:7px 16px}.dark-table3 .ant-table-thead>tr>th:before{display:none}.dark-table3 .ant-table tfoot>tr>td,.dark-table3 .ant-table-tbody>tr>td{font-size:16px;padding:9px 16px}.dark-table3 .ant-table-row{position:relative}.dark-table3 .ant-table-row.active td{background:rgba(44,110,252,.12);color:#2a6bf1}.dark-table3 .ant-table-row.active td:first-child:before,.dark-table3 .ant-table-row.active td:last-child:after{background:#2c6efc}:root{--primary-color:#1d33a2;--primary-color-rgb:29,51,162}:root[data-doc-theme=light]{--primary-color:#3e7eff;--primary-color-rgb:62,126,255}
@@ -0,0 +1,515 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var axios = require('axios');
6
+ var antDesignVue = require('ant-design-vue');
7
+ var lodash = require('lodash');
8
+ var vue = require('vue');
9
+
10
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11
+
12
+ var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
13
+
14
+ const setRem = opt => {
15
+ const fontSize = opt.fontSize || 14;
16
+ const designSize = opt.designSize || 1920;
17
+ const scale = document.documentElement.clientWidth / designSize;
18
+ document.documentElement.style.fontSize = `${fontSize * Math.min(scale, 2)}px`;
19
+ };
20
+
21
+ const config = {
22
+ prefix: "mtxt",
23
+ // 调接口时 需要去掉data中的一些属性
24
+ requestOmitParams: ["createDt", "createUser", "updateDt", "updateUser"]
25
+ };
26
+
27
+ const getToken = () => sessionStorage.getItem("token");
28
+ const getUserId = () => sessionStorage.getItem("userId");
29
+ const getCorpId = () => sessionStorage.getItem("corpId") || getUserinfo()?.corpId;
30
+ const getUserinfo = () => {
31
+ const jsonString = sessionStorage.getItem("userinfo");
32
+ if (jsonString) {
33
+ return JSON.parse(jsonString);
34
+ }
35
+ };
36
+ const getCommonHeaders = () => {
37
+ const userInfo = getUserinfo();
38
+ const userId = getUserId();
39
+ const token = getToken();
40
+ const corpId = getCorpId();
41
+ const Authorization = `Bearer ${token}`;
42
+ return {
43
+ userName: userInfo?.userName,
44
+ userId: userInfo?.userId || userId,
45
+ employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
46
+ employeeId: userInfo?.employeeId,
47
+ token,
48
+ corpId,
49
+ Authorization,
50
+ "Content-Type": "application/json;charset=utf-8"
51
+ };
52
+ };
53
+ const defaultConfig = {
54
+ timeout: 1e3 * 10,
55
+ baseURL: "/api/"
56
+ };
57
+ class ApiInstance {
58
+ instance;
59
+ config;
60
+ constructor(config$1 = {}) {
61
+ this.config = config$1;
62
+ this.instance = axios__default["default"].create({
63
+ ...defaultConfig,
64
+ ...config$1
65
+ });
66
+ this.instance.interceptors.request.use(config2 => {
67
+ getUserinfo();
68
+ getToken();
69
+ getCorpId();
70
+ if (lodash.isPlainObject(config2.data)) {
71
+ for (const key in config2.data) {
72
+ if (config2.data[key] === void 0) {
73
+ config2.data[key] = null;
74
+ }
75
+ }
76
+ if (!config2.headers.keepProperty) {
77
+ config2.data = lodash.omit(config2.data, ...config.requestOmitParams);
78
+ }
79
+ }
80
+ if (!config2.headers) config2.headers = {};
81
+ const commonHeaders = getCommonHeaders();
82
+ for (const key in commonHeaders) {
83
+ if (key !== "Content-Type") {
84
+ config2.headers[key] = commonHeaders[key];
85
+ }
86
+ }
87
+ return config2;
88
+ }, err => {
89
+ return Promise.reject(err);
90
+ });
91
+ this.instance.interceptors.response.use(res => {
92
+ return new Promise((resolve, reject) => {
93
+ if (res.config.responseType === "blob") {
94
+ resolve(res.data);
95
+ } else if (res.data.code === "M0000") {
96
+ resolve(res.data);
97
+ } else if (res.data.code === "M4003") {
98
+ this.config.onTokenExpired?.(res);
99
+ reject(res);
100
+ } else {
101
+ const alertMessage = res.data.message ?? "\u7F51\u7EDC\u5F02\u5E38\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458";
102
+ if (!res.config.headers?.noAlert) {
103
+ antDesignVue.message.error(alertMessage, alertMessage.length > 10 ? 5 : 3);
104
+ }
105
+ reject(res.data);
106
+ }
107
+ });
108
+ }, err => {
109
+ return Promise.reject(err);
110
+ });
111
+ }
112
+ }
113
+
114
+ function encodeStr(str) {
115
+ return window.btoa(str);
116
+ }
117
+ function decodeStr(str) {
118
+ return window.atob(str);
119
+ }
120
+ var base64 = {
121
+ encodeStr,
122
+ decodeStr
123
+ };
124
+
125
+ class Login {
126
+ constructor() {
127
+ this.getQueryInfo();
128
+ this.config.axios = new ApiInstance({
129
+ baseURL: "/api/common/v1/"
130
+ }).instance;
131
+ }
132
+ checkSystemInfo() {
133
+ const {
134
+ userCode,
135
+ token
136
+ } = this.config.queryInfo;
137
+ if (userCode) {
138
+ this.config.env = "zx-env";
139
+ }
140
+ if (token) {
141
+ this.config.env = "mtip-app-env";
142
+ }
143
+ this.systemServerInfo = this.config.env;
144
+ }
145
+ systemServerInfo = "";
146
+ config = {
147
+ axios: {},
148
+ queryInfo: {},
149
+ api: "auth/login",
150
+ env: "mtip-env"
151
+ };
152
+ saveInfo(key, val) {
153
+ window.localStorage.setItem(key, val);
154
+ window.sessionStorage.setItem(key, val);
155
+ }
156
+ getQueryInfo() {
157
+ const url = window.location.hash;
158
+ if (url.indexOf("?") != -1) {
159
+ let obj = {};
160
+ let arr = url.slice(url.indexOf("?") + 1).split("&");
161
+ arr.forEach(item => {
162
+ let param = item.split("=");
163
+ obj[param[0]] = param[1];
164
+ });
165
+ this.config.queryInfo = obj;
166
+ return obj;
167
+ } else {
168
+ return null;
169
+ }
170
+ }
171
+ async refreshToken() {
172
+ const res = await this.config.axios.post(`auth/refreshToken`);
173
+ const {
174
+ sysUser,
175
+ token
176
+ } = res.data;
177
+ this.saveInfo("token", token);
178
+ this.saveInfo("userinfo", JSON.stringify(sysUser));
179
+ }
180
+ async getTokenByCode(e = "mtip-factory") {
181
+ const {
182
+ userCode,
183
+ token,
184
+ userId
185
+ } = this.config.queryInfo;
186
+ if (token) {
187
+ this.saveInfo("token", token);
188
+ this.saveInfo("userId", userId);
189
+ }
190
+ const data = {};
191
+ const headers = {
192
+ appType: ""
193
+ };
194
+ if (userCode) {
195
+ data.userCode = userCode;
196
+ }
197
+ if (typeof e === "object" && e.username && e.password) {
198
+ data.passWord = encodeStr(e.password.replace(/^\s+|\s+$/g, ""));
199
+ data.userName = e.username;
200
+ } else if (typeof e === "string") {
201
+ headers.appType = e;
202
+ }
203
+ const res = await this.config.axios.post(this.config.api, data, {
204
+ headers
205
+ });
206
+ this.saveInfo("token", res.data.token);
207
+ this.saveInfo("userinfo", JSON.stringify(res.data.sysUser));
208
+ return Promise.resolve(res);
209
+ }
210
+ }
211
+
212
+ function randomNumber(min, max) {
213
+ return Math.floor(Math.random() * (max - min)) + min;
214
+ }
215
+ function randomString(length) {
216
+ const letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
217
+ let res = "";
218
+ for (let i = 0; i < length; i++) {
219
+ res += letters.charAt(randomNumber(0, letters.length));
220
+ }
221
+ return res;
222
+ }
223
+ const UUID = (n = 16) => {
224
+ return "xxxx-xx-4x-yx-xx".replace(/[xy]/g, c => {
225
+ const r = Math.random() * 16 | 0,
226
+ v = c == "x" ? r : r & 3 | 8;
227
+ return v.toString(n);
228
+ });
229
+ };
230
+ var ramdom = {
231
+ randomNumber,
232
+ randomString,
233
+ UUID
234
+ };
235
+
236
+ const headers = {
237
+ "Content-Type": "multipart/form-data"
238
+ };
239
+ const upload = async (options, callback) => {
240
+ const {
241
+ file,
242
+ onSuccess,
243
+ onError
244
+ } = options;
245
+ const fileData = new FormData();
246
+ fileData.append("file", file);
247
+ antDesignVue.message.info("\u6B63\u5728\u4E0A\u4F20\uFF0C\u8BF7\u7A0D\u540E");
248
+ const res = await callback(fileData, headers);
249
+ if (res.code === "M0000") {
250
+ antDesignVue.message.success("\u4E0A\u4F20\u6210\u529F");
251
+ onSuccess("response", file);
252
+ return res;
253
+ } else {
254
+ antDesignVue.message.error("\u4E0A\u4F20\u5931\u8D25");
255
+ onError("error", file);
256
+ }
257
+ };
258
+
259
+ async function fetchApi(url, method, parameter, dataType = "json", headers = {}) {
260
+ const newUrl = vue.ref(url);
261
+ const options = vue.reactive({});
262
+ const isWithOrigin = vue.computed(() => newUrl.value.startsWith("http"));
263
+ const fullUrl = vue.computed(() => {
264
+ const res = isWithOrigin.value ? newUrl.value : `${location.origin}${newUrl.value.startsWith("/") ? "" : "/"}${newUrl.value}`;
265
+ return res;
266
+ });
267
+ const modifyParam = ({
268
+ key,
269
+ value
270
+ }, isRemove = false) => {
271
+ try {
272
+ const url2 = new URL(fullUrl.value);
273
+ if (url2.hash) {
274
+ const converceUrl = new URL(url2.hash.replace("#", location.origin));
275
+ if (isRemove) {
276
+ converceUrl.searchParams.delete(key);
277
+ } else {
278
+ converceUrl.searchParams.set(key, value);
279
+ }
280
+ url2.hash = converceUrl.href.replace(location.origin, "#");
281
+ } else {
282
+ if (isRemove) {
283
+ url2.searchParams.delete(key);
284
+ } else {
285
+ url2.searchParams.set(key, value);
286
+ }
287
+ }
288
+ newUrl.value = isWithOrigin.value ? url2.href : url2.href.replace(location.origin, "");
289
+ } catch (e) {}
290
+ };
291
+ if (method === "GET") {
292
+ if (parameter) {
293
+ for (const key in parameter) {
294
+ modifyParam({
295
+ key,
296
+ value: parameter[key]
297
+ });
298
+ }
299
+ }
300
+ options["method"] = method;
301
+ options["headers"] = {
302
+ ...getCommonHeaders(),
303
+ ...headers
304
+ };
305
+ } else {
306
+ options["method"] = method;
307
+ options["headers"] = {
308
+ ...getCommonHeaders(),
309
+ ...headers
310
+ };
311
+ options["body"] = JSON.stringify(parameter);
312
+ }
313
+ const response = await fetch(newUrl.value, options);
314
+ return new Promise((resolve, reject) => {
315
+ if (response.status === 200) {
316
+ if (dataType === "blob") {
317
+ return resolve(response.blob());
318
+ } else {
319
+ const res = response.json();
320
+ return resolve(res);
321
+ }
322
+ } else {
323
+ reject(response);
324
+ }
325
+ });
326
+ }
327
+
328
+ const phoneNumber = /^[1][3,4,5,7,8][0-9]{9}$/;
329
+ const screen = {
330
+ // 退出全屏
331
+ exitFullscreen(id) {
332
+ const dom = document.getElementById(id);
333
+ dom.addEventListener("click", event => {
334
+ if (document.fullscreenElement === dom) {
335
+ document.exitFullscreen();
336
+ }
337
+ event.preventDefault();
338
+ });
339
+ },
340
+ // 进入全屏
341
+ requestFullscreen(id) {
342
+ const dom = document.getElementById(id);
343
+ dom.requestFullscreen();
344
+ }
345
+ };
346
+ const formatMoney = (number, decimals = 0, decPoint = ".", thousandsSep = ",") => {
347
+ number = (number + "").replace(/[^0-9+-Ee.]/g, "");
348
+ let n = !isFinite(+number) ? 0 : +number;
349
+ let prec = !isFinite(+decimals) ? 0 : Math.abs(decimals);
350
+ let sep = typeof thousandsSep === "undefined" ? "," : thousandsSep;
351
+ let dec = typeof decPoint === "undefined" ? "." : decPoint;
352
+ let s;
353
+ let toFixedFix = function (n2, prec2) {
354
+ let k = Math.pow(10, prec2);
355
+ return "" + Math.ceil(n2 * k) / k;
356
+ };
357
+ s = (prec ? toFixedFix(n, prec) : "" + Math.round(n)).split(".");
358
+ let re = /(-?\d+)(\d{3})/;
359
+ while (re.test(s[0])) {
360
+ s[0] = s[0].replace(re, "$1" + sep + "$2");
361
+ }
362
+ if ((s[1] || "").length < prec) {
363
+ s[1] = s[1] || "";
364
+ s[1] += new Array(prec - s[1].length + 1).join("0");
365
+ }
366
+ return s.join(dec);
367
+ };
368
+ const toChinese = val => {
369
+ let chin = ["\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D", "\u4E03", "\u516B", "\u4E5D", "\u5341"];
370
+ if (val <= 10) {
371
+ return chin[val - 1];
372
+ } else if (val <= 100) {
373
+ if (val < 20) {
374
+ return "\u5341" + chin[val % 10 - 1];
375
+ } else if (val % 10 === 0) {
376
+ return chin[Math.floor(val / 10) - 1] + "\u5341";
377
+ } else {
378
+ return chin[Math.floor(val / 10) - 1] + "\u5341" + chin[val % 10 - 1];
379
+ }
380
+ }
381
+ };
382
+ const limitDecimal = (num, digit = 2) => {
383
+ if (!num) return 0;
384
+ if (typeof num === "string") {
385
+ return parseFloat(parseFloat(num).toFixed(digit));
386
+ } else if (typeof num === "number") {
387
+ return parseFloat(num.toFixed(digit));
388
+ } else {
389
+ return 0;
390
+ }
391
+ };
392
+ const forcedDecimals = (num, digit = 2) => {
393
+ if (typeof num === "string" && num !== "") {
394
+ let s = parseFloat(num).toFixed(digit);
395
+ let rs = s.indexOf(".");
396
+ if (rs < 0 && digit > 0) {
397
+ rs = s.length;
398
+ s += ".";
399
+ }
400
+ while (s.length <= rs + digit) {
401
+ s += "0";
402
+ }
403
+ return s;
404
+ } else if (typeof num === "number") {
405
+ let s = num.toFixed(digit);
406
+ let rs = s.indexOf(".");
407
+ if (rs < 0 && digit > 0) {
408
+ rs = s.length;
409
+ s += ".";
410
+ }
411
+ while (s.length <= rs + digit) {
412
+ s += "0";
413
+ }
414
+ return s;
415
+ } else {
416
+ num = 0;
417
+ let s = num.toFixed(digit);
418
+ let rs = s.indexOf(".");
419
+ if (rs < 0 && digit > 0) {
420
+ rs = s.length;
421
+ s += ".";
422
+ }
423
+ while (s.length <= rs + digit) {
424
+ s += "0";
425
+ }
426
+ return s;
427
+ }
428
+ };
429
+ const formatDuring = (time = 0, type = "day", unit = 1, isComplement = true) => {
430
+ const getString = val => {
431
+ if (val < 10) {
432
+ return `0${val}`;
433
+ } else {
434
+ return `${val}`;
435
+ }
436
+ };
437
+ const days = parseInt(`${time / (unit * 60 * 60 * 24)}`, 10);
438
+ const hours = parseInt(`${time % (unit * 60 * 60 * 24) / (unit * 60 * 60)}`, 10);
439
+ const minutes = parseInt(`${time % (unit * 60 * 60) / (unit * 60)}`, 10);
440
+ const seconds = parseInt(`${time % (unit * 60) / unit}`, 10);
441
+ if (type === "day") {
442
+ return {
443
+ days,
444
+ hours: isComplement ? getString(hours) : hours,
445
+ minutes: isComplement ? getString(minutes) : minutes,
446
+ seconds: isComplement ? getString(seconds) : seconds
447
+ };
448
+ } else if (type === "hour") {
449
+ return {
450
+ hours: isComplement ? getString(days * 60 + hours) : days * 60 + hours,
451
+ minutes: isComplement ? getString(minutes) : minutes,
452
+ seconds: isComplement ? getString(seconds) : seconds
453
+ };
454
+ } else if (type === "minute") {
455
+ return {
456
+ minutes: isComplement ? getString((days * 60 + hours) * 60 + minutes) : (days * 60 + hours) * 60 + minutes,
457
+ seconds: isComplement ? getString(seconds) : seconds
458
+ };
459
+ } else if (type === "second") {
460
+ return {
461
+ seconds: isComplement ? getString(((days * 60 + hours) * 60 + minutes) * 60 + seconds) : ((days * 60 + hours) * 60 + minutes) * 60 + seconds
462
+ };
463
+ }
464
+ return {
465
+ days,
466
+ hours: isComplement ? getString(hours) : hours,
467
+ minutes: isComplement ? getString(minutes) : minutes,
468
+ seconds: isComplement ? getString(seconds) : seconds
469
+ };
470
+ };
471
+
472
+ function downloadFile(data, fileName) {
473
+ if (data.type === "application/json") {
474
+ const fileReader = new FileReader();
475
+ fileReader.readAsText(data, "utf-8");
476
+ let isError = false;
477
+ fileReader.onload = function () {
478
+ try {
479
+ const res = JSON.parse(fileReader.result);
480
+ if (res.code !== "M0000") {
481
+ isError = true;
482
+ const msg = JSON.parse(fileReader.result).message || "\u5BFC\u51FA\u5931\u8D25";
483
+ antDesignVue.message.error(msg);
484
+ }
485
+ } catch (e) {}
486
+ };
487
+ if (isError) {
488
+ return;
489
+ }
490
+ }
491
+ const blob = URL.createObjectURL(data);
492
+ const aEl = document.createElement("a");
493
+ aEl.href = blob;
494
+ aEl.download = fileName;
495
+ aEl.click();
496
+ }
497
+ var file = {
498
+ downloadFile
499
+ };
500
+
501
+ exports.ApiInstance = ApiInstance;
502
+ exports.Login = Login;
503
+ exports.base64 = base64;
504
+ exports.fetchApi = fetchApi;
505
+ exports.file = file;
506
+ exports.forcedDecimals = forcedDecimals;
507
+ exports.formatDuring = formatDuring;
508
+ exports.formatMoney = formatMoney;
509
+ exports.limitDecimal = limitDecimal;
510
+ exports.phoneNumber = phoneNumber;
511
+ exports.random = ramdom;
512
+ exports.screen = screen;
513
+ exports.setRem = setRem;
514
+ exports.toChinese = toChinese;
515
+ exports.upload = upload;