element-assits 0.0.26 → 0.0.27

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/lib/style.css CHANGED
@@ -1 +1 @@
1
- .ea-select{display:inline-block;position:relative}.ea-select .el-select{width:100%}.ea-select .async-loading.el-icon-loading{position:absolute;top:10px;right:28px;color:#999}.ea-select-popover .el-select-dropdown__item{display:flex;justify-content:space-between}.ea-select-popover .el-select-dropdown__item .select-item-value{overflow:hidden;text-overflow:ellipsis}.ea-select-popover .el-select-dropdown__item .select-item-desc{overflow:hidden;text-overflow:ellipsis;color:#8492a6;margin-left:8px}.ea-form .el-form-item__content>.el-input-number,.ea-form .el-form-item__content>.el-input,.ea-form .el-form-item__content>.ea-select,.ea-form .el-form-item__content>.el-select{width:100%}.ea-form .el-form-item.hidden-label>.el-form-item__label{display:none}.ea-form .el-form-item.hidden-label>.el-form-item__content{width:100%}.ea-form .form-group-title{position:relative;height:32px;margin-bottom:22px}.ea-form .form-group-title>span{position:absolute;top:0;left:20%;padding:5px 25px;background-color:#fff;z-index:1;color:#909399}.ea-form .form-group-title:after{content:"";position:absolute;top:50%;left:0;width:100%;height:0;border-bottom:1px dashed #DCDFE6}.ea-select-container{display:flex;justify-content:flex-start;font-size:12px}.ea-select-container.medium{font-size:14px}.ea-select-container.medium .ea-select-panel .ea-select-panel__item{line-height:28px}.ea-select-container .ea-select-panel{padding:0;margin:0;list-style:none;flex-grow:1;min-width:120px}.ea-select-container .ea-select-panel+.ea-select-panel{border-left:1px solid #DDD}.ea-select-container .ea-select-panel__item{width:100%;line-height:24px;cursor:pointer;padding:0 12px;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;font-size:inherit}.ea-select-container .ea-select-panel__item:hover{background-color:#ebeef5}.ea-select-container .ea-select-panel__item.active{color:#409eff;font-weight:700}.ea-table .el-table th{background-color:#f2f6fc;color:#303133}.ea-table .el-table th .cell{min-height:30px;display:flex;justify-content:flex-start;align-items:center}.ea-table .el-table th.is-center .cell{justify-content:center}.ea-table .el-table th.is-right .cell{justify-content:flex-end}.ea-table .el-table td .cell,.ea-table .el-table th .cell{line-height:1.2}.ea-table .el-table.el-table--small td,.ea-table .el-table.el-table--small th{height:48px}.ea-table .el-table.is-dense td,.ea-table .el-table.is-dense th{height:32px;padding:2px 0}.ea-table .el-table.is-dense td .el-button,.ea-table .el-table.is-dense th .el-button{padding-top:0;padding-bottom:0}.ea-table .theader-th-cell .cell-icon-menu{position:absolute;top:50%;right:4px;transform:rotate(90deg) translate(-50%);color:#c0c4cc;cursor:pointer;padding:4px;border-radius:2px}.ea-table .theader-th-cell .cell-icon-menu:hover{color:#303133;background-color:#e4e7ed}.ea-table .ea-table__footer{display:flex;justify-content:space-between}.ea-table .ea-table__footer .ea-table__footer-right{margin-left:auto;padding-right:0}.ea-table .ea-table__footer>*{margin-top:12px}.ea-table .column-transition-active{opacity:.33}.ea-table .el-button>i{min-width:12px}.ea-table .more-btn>i{transform:rotate(-90deg)}.el-popover.ea-popover-no-padding{padding:8px 0;min-width:100px}.el-popover.ea-popover-no-padding.dense{margin-top:0;margin-bottom:0;min-width:70px}.more-btn-panel__item:hover{background-color:#ebeef5}.more-btn-panel__item .el-button{padding:8px 12px;width:100%;text-align:left}.ea-zoom-in-top-enter-active,.ea-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center top}.ea-zoom-in-top-enter,.ea-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-dialog.ea-modal.is-closing{margin:0 0 50px!important}.el-dialog.ea-modal.is-fullscreen{border-radius:0;margin:0}.el-dialog.ea-modal .el-dialog__header{color:#555;font-size:18px}.el-dialog.ea-modal .el-dialog__header .el-dialog__title{color:inherit;font-size:inherit}.ea-button-tooltip+.ea-button-tooltip{margin-left:10px}td .ea-button-tooltip+.ea-button-tooltip{margin-left:4px}td .ea-button-tooltip+.ea-button-tooltip.text{margin-left:10px}td .el-button [class*=el-icon-]+span{margin-left:2px}.el-button.ea-button.mini-rect-btn{padding:7px;border:0}.el-button.ea-button.mini-rect-btn [class^=design-]{margin-right:0}.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary{background-color:#409eff26;color:#409eff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:focus{background-color:#409eff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).success{background-color:#67c23a26;color:#67c23a}.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:focus{background-color:#67c23a}.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).info{background-color:#90939926;color:#909399}.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:focus{background-color:#909399}.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning{background-color:#e6a23c26;color:#e6a23c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:focus{background-color:#e6a23c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger{background-color:#f56c6c26;color:#f56c6c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:focus{background-color:#f56c6c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:focus i{color:#fff}.ea-split-container{display:flex}.ea-split-container.is-down{user-select:none}.ea-split-container .sc-left,.ea-split-container .sc-right{flex-grow:1;flex-shrink:1}.ea-split-container .sc-bamboo{flex-grow:0;flex-shrink:0;width:8px;border:1px solid #DCDEE2;border-top:none;border-bottom:none;background-color:#f8f8f9;cursor:col-resize;user-select:none;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 16px}.ea-split-container .sc-bamboo .sc-texture{width:4px;height:1px;background:rgba(23,35,61,.25);margin-top:3px}.ea-tree .ea-tree-real .el-tree-node>.el-tree-node__content{border-radius:4px}.ea-tree .ea-tree-real .el-tree-node.is-current>.el-tree-node__content{color:#409eff;background-color:#409eff1a}.ea-list .loading-text{color:#909399;text-align:center;font-size:inherit}.ea-desc{font-size:14px}.ea-desc__title{font-size:16px;margin-bottom:12px}.ea-desc__list{display:flex;flex-wrap:wrap}.ea-desc .item{line-height:24px;margin-bottom:10px;flex:0 0 auto}.ea-desc .item .item-label{float:left;text-align:right;padding-right:8px;color:#909399}.ea-desc .item .item-value{word-break:break-all;overflow:hidden}.ea-desc .item .item-value .value-no-wrap{height:48px;overflow:hidden;position:relative}.ea-desc .item .item-value .value-no-wrap .click-see-more{position:absolute;right:0;bottom:0;height:24px;padding-left:30px;padding-right:4px;background-image:linear-gradient(to right,transparent 0%,#fff 20%,#fff 100%);cursor:pointer;color:#409eff;user-select:none}.ea-number .el-input__inner{text-align:left}.file-upload-dialog .el-upload,.file-upload-dialog .el-upload .el-upload-dragger{width:100%}.file-upload-dialog .el-upload-list .el-upload-list__item{border:1px dashed #aaa}.file-upload-dialog .el-upload-list .el-upload-list__item .el-icon-close{display:inline-block}.file-upload-dialog .el-list-enter,.file-upload-dialog .el-list-enter-active,.file-upload-dialog .el-list-enter-to,.file-upload-dialog .el-list-leave,.file-upload-dialog .el-list-leave-active,.file-upload-dialog .el-list-leave-to{-webkit-transition:none!important;transition:none!important}.ea-table-modal{overflow:visible;right:unset;right:initial;bottom:unset;bottom:initial;width:100%;height:0}.ea-table-modal .el-dialog{background:#fdfdfd;box-shadow:0 0 16px #00000026}.ea-table-modal .el-dialog .el-dialog__header{padding:12px 20px;background-color:#f2f6fc;border-bottom:1px solid #EBEEF5}.ea-table-modal .el-dialog .el-dialog__headerbtn{top:12px}.ea-table-modal .el-dialog .el-dialog__close{font-weight:700;color:#909399}.ea-table-modal .el-dialog .el-dialog__body{padding:10px 0;height:calc(100% - 70px);min-height:40px;max-height:800px;overflow:auto}.ea-table-modal .el-dialog .el-dialog__body .scm-title{font-size:12px;font-weight:700;color:#303133}.ea-table-modal .el-dialog .el-dialog__body .scm-title.medium{font-size:14px}.ea-table-modal .el-dialog .el-dialog__body .el-tree{background:transparent;font-size:12px}.ea-table-modal .el-dialog .el-dialog__body .el-tree .el-tree-node__label{font-size:12px}.ea-table-modal .el-dialog .el-dialog__body .el-tree.medium,.ea-table-modal .el-dialog .el-dialog__body .el-tree.medium .el-tree-node__label{font-size:14px}
1
+ .ea-select{display:inline-block;position:relative}.ea-select .el-select{width:100%}.ea-select .async-loading.el-icon-loading{position:absolute;top:10px;right:28px;color:#999}.ea-select-popover .el-select-dropdown__item{display:flex;justify-content:space-between}.ea-select-popover .el-select-dropdown__item .select-item-value{overflow:hidden;text-overflow:ellipsis}.ea-select-popover .el-select-dropdown__item .select-item-desc{overflow:hidden;text-overflow:ellipsis;color:#8492a6;margin-left:8px}.ea-form .el-form-item__content>.el-input-number,.ea-form .el-form-item__content>.el-input,.ea-form .el-form-item__content>.ea-select,.ea-form .el-form-item__content>.el-select{width:100%}.ea-form .el-form-item.hidden-label>.el-form-item__label{display:none}.ea-form .el-form-item.hidden-label>.el-form-item__content{width:100%}.ea-form .form-group-title{position:relative;height:32px;margin-bottom:22px}.ea-form .form-group-title>span{position:absolute;top:0;left:20%;padding:5px 25px;background-color:#fff;z-index:1;color:#909399}.ea-form .form-group-title:after{content:"";position:absolute;top:50%;left:0;width:100%;height:0;border-bottom:1px dashed #DCDFE6}.ea-select-container{display:flex;justify-content:flex-start;font-size:12px}.ea-select-container.medium{font-size:14px}.ea-select-container.medium .ea-select-panel .ea-select-panel__item{line-height:28px}.ea-select-container .ea-select-panel{padding:0;margin:0;list-style:none;flex-grow:1;min-width:120px}.ea-select-container .ea-select-panel+.ea-select-panel{border-left:1px solid #DDD}.ea-select-container .ea-select-panel__item{width:100%;line-height:24px;cursor:pointer;padding:0 12px;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;font-size:inherit}.ea-select-container .ea-select-panel__item:hover{background-color:#ebeef5}.ea-select-container .ea-select-panel__item.active{color:#409eff;font-weight:700}.ea-table .el-table th{background-color:#f2f6fc;color:#303133}.ea-table .el-table th .cell{min-height:30px;display:flex;justify-content:flex-start;align-items:center}.ea-table .el-table th.is-center .cell{justify-content:center}.ea-table .el-table th.is-right .cell{justify-content:flex-end}.ea-table .el-table td .cell,.ea-table .el-table th .cell{line-height:1.2}.ea-table .el-table.el-table--small td,.ea-table .el-table.el-table--small th{height:48px}.ea-table .el-table.is-dense td,.ea-table .el-table.is-dense th{height:32px;padding:2px 0}.ea-table .el-table.is-dense td .el-button,.ea-table .el-table.is-dense th .el-button{padding-top:0;padding-bottom:0}.ea-table .theader-th-cell .cell-icon-menu{position:absolute;top:50%;right:4px;transform:rotate(90deg) translate(-50%);color:#c0c4cc;cursor:pointer;padding:4px;border-radius:2px}.ea-table .theader-th-cell .cell-icon-menu:hover{color:#303133;background-color:#e4e7ed}.ea-table .ea-table__footer{display:flex;justify-content:space-between}.ea-table .ea-table__footer .ea-table__footer-right{margin-left:auto;padding-right:0}.ea-table .ea-table__footer>*{margin-top:12px}.ea-table .column-transition-active{opacity:.33}.ea-table .el-button>i{min-width:12px}.ea-table .more-btn>i{transform:rotate(-90deg)}.el-popover.ea-popover-no-padding{padding:8px 0;min-width:100px}.el-popover.ea-popover-no-padding.dense{margin-top:0;margin-bottom:0;min-width:70px}.more-btn-panel__item:hover{background-color:#ebeef5}.more-btn-panel__item .el-button{padding:8px 12px;width:100%;text-align:left}.ea-zoom-in-top-enter-active,.ea-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center top}.ea-zoom-in-top-enter,.ea-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-dialog.ea-modal.is-closing{margin:0 0 50px!important}.el-dialog.ea-modal.is-fullscreen{border-radius:0;margin:0}.el-dialog.ea-modal .el-dialog__header{color:#555;font-size:18px}.el-dialog.ea-modal .el-dialog__header .el-dialog__title{color:inherit;font-size:inherit}.ea-button-tooltip+.ea-button-tooltip{margin-left:10px}td .ea-button-tooltip+.ea-button-tooltip{margin-left:4px}td .ea-button-tooltip+.ea-button-tooltip.text{margin-left:10px}td .el-button [class*=el-icon-]+span{margin-left:2px}.el-button.ea-button.mini-rect-btn{padding:7px;border:0}.el-button.ea-button.mini-rect-btn [class^=design-]{margin-right:0}.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary{background-color:#409eff26;color:#409eff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:focus{background-color:#409eff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).success{background-color:#67c23a26;color:#67c23a}.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:focus{background-color:#67c23a}.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).info{background-color:#90939926;color:#909399}.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:focus{background-color:#909399}.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning{background-color:#e6a23c26;color:#e6a23c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:focus{background-color:#e6a23c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger{background-color:#f56c6c26;color:#f56c6c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:focus{background-color:#f56c6c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:focus i{color:#fff}.ea-split-container{display:flex}.ea-split-container.is-down{user-select:none}.ea-split-container .sc-left,.ea-split-container .sc-right{flex-grow:1;flex-shrink:1}.ea-split-container .sc-bamboo{flex-grow:0;flex-shrink:0;width:8px;border:1px solid #DCDEE2;border-top:none;border-bottom:none;background-color:#f8f8f9;cursor:col-resize;user-select:none;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 16px}.ea-split-container .sc-bamboo .sc-texture{width:4px;height:1px;background:rgba(23,35,61,.25);margin-top:3px}.ea-tree .ea-tree-real .el-tree-node>.el-tree-node__content{border-radius:4px}.ea-tree .ea-tree-real .el-tree-node.is-current>.el-tree-node__content{color:#409eff;background-color:#409eff1a}.ea-list .loading-text{color:#909399;text-align:center;font-size:inherit}.ea-desc{font-size:14px}.ea-desc__title{font-size:16px;margin-bottom:12px}.ea-desc__list{display:flex;flex-wrap:wrap}.ea-desc .item{line-height:24px;margin-bottom:10px;flex:0 0 auto}.ea-desc .item .item-label{float:left;text-align:right;padding-right:8px;color:#909399}.ea-desc .item .item-value{word-break:break-all;overflow:hidden}.ea-desc .item .item-value .value-no-wrap{height:48px;overflow:hidden;position:relative}.ea-desc .item .item-value .value-no-wrap .click-see-more{position:absolute;right:0;bottom:0;height:24px;padding-left:30px;padding-right:4px;background-image:linear-gradient(to right,transparent 0%,#fff 20%,#fff 100%);cursor:pointer;color:#409eff;user-select:none}.ea-number .el-input__inner{text-align:left}.file-upload-dialog .el-upload,.file-upload-dialog .el-upload .el-upload-dragger{width:100%}.file-upload-dialog .el-upload-list .el-upload-list__item{border:1px dashed #aaa}.file-upload-dialog .el-upload-list .el-upload-list__item .el-icon-close{display:inline-block}.file-upload-dialog .el-list-enter,.file-upload-dialog .el-list-enter-active,.file-upload-dialog .el-list-enter-to,.file-upload-dialog .el-list-leave,.file-upload-dialog .el-list-leave-active,.file-upload-dialog .el-list-leave-to{-webkit-transition:none!important;transition:none!important}.ea-switch-mini .el-switch__core{width:30px!important;height:16px}.ea-switch-mini .el-switch__core:after{width:12px;height:12px;left:2px}.ea-switch-mini.is-checked .el-switch__core:after{margin-left:-13px}.conf-header{border-bottom:1px solid #DDD;padding-bottom:10px;margin-bottom:10px}.conf-body{width:300px}.dense-much .el-form-item{margin-bottom:8px!important}.vjs-table{position:relative;overflow:hidden;border:1px solid #DDD}.vjs-header{position:absolute;top:0;left:0;border-bottom:1px solid #EEE}.vjs-body{height:400px}.vjs-row{height:32px;line-height:32px;display:flex;justify-content:flex-start;position:relative}.vjs-row.odd{background-color:#f8f8f8}.vjs-row:hover{background-color:#ebeef5}.vjs-row .vjs-cell{flex:0 0 auto;height:100%;font-size:14px;box-sizing:border-box;padding:0 8px}.vjs-row .vjs-cell.vjs-last-cell{flex-grow:1}.vjs-row .vjs-cell.error{border:1px solid red}.vjs-row .vjs-icon{cursor:pointer;position:absolute;height:100%;color:#ccc;display:flex;align-items:center}.vjs-row .vjs-icon:hover{color:#333}.vjs-row .vjs-temp{color:#909399}.cell-text{height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.cell-text .cell-placeholder{color:#c0c4cc}.cell-input{display:block;height:30px;line-height:30px;font-size:inherit;color:inherit;font-family:inherit;margin-left:-4.7px}.cell-input .el-input__inner{border-radius:0;font-size:inherit;color:inherit;font-family:inherit;padding-left:4px}.cell-select{cursor:pointer}.cell-select:hover{border-width:0;border-bottom-width:1.5px;border-style:solid}.cell-required{width:100%;height:100%;display:flex;align-items:center}.cell-required .box{width:20px;height:20px;box-sizing:border-box;border-radius:4px;cursor:pointer;user-select:none;display:flex;justify-content:center;align-items:center;padding-top:4px;color:#ddd;background-color:#00000005}.cell-required .box:hover{color:#999;background-color:#0000000d}.cell-required .box.is-required{color:red;background-color:#00000014}.cell-action{width:80px}.cell-action i{cursor:pointer;padding:4px;border-radius:4px}.cell-action i:hover{background-color:#0000001a}.action-popover{margin:0!important}.ea-blue{color:#409eff}.ea-purple{color:#ee46bc!important}.ea-success{color:#67c23a}.ea-danger{color:#f56c6c}.ea-info{color:#909399}.ea-popover-no-margin{margin:0!important}@font-face{font-family:eafont;src:url(data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAQYAAsAAAAACMAAAAPLAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACDHAqFDIRVATYCJAMQCwoABCAFhE8HQBu9BxEVnLHIfibwpknuXkitybkhDKpb3+RDeb1vMhOsa34zn2ST3rpbnaQ7jZOwi3OelIhQI3mLHn0haTkDFEZf6SdAAFkA/M/ltDHxABvfAoC7xti0t5dlvehe2rbAxhiUbfFAIsy8BXYOdTBB14AA0MJNMC4yOjETxsayzmZMwiDhCeDmksa6mjJIdwNYCkIgqYW8KxnIUvAAt4C7BGCJ+XnyER5JAAeeQtontTqqEsfe4I0bVawK6CPoOBDgaA4AD4ACcOqZidSmO8pB7bATCm1ckMEHOCiBA2ptM75xs1pZNCqFJDsBrvSfRwRICj1SvSIUeAOVBxzwxiiIU7qhaAUUTF8hARgJuAwQV0iaKfUsFCCNNxhGG7SjtYaxY4lGRgbuZDNvZTJvZzHv5riIWmmOGkzUuxFVl27lVB+9q7OkJEK51XPw7m2JcOs9dwL05isn1JNXdWXmfZuUzfstB7eqWw5k6s2HlMM6wyq1Ur1793aQwXL5uHLsklZ/6NadO2U+61H1yA23UsnOr6+wtChXH3JzL0iKIqt5uRoraFeuoKtaqxwuXs18qMz+If6j7B2qsiLTw2vHNIy5EZqYFJ8wvXp6reO9qIzItHL7SvuHY/ODcgM9ijxLm3N3HC3PcEt1dU11yygPdexWfv+Wuh0fmn/+fNVmI0fPkm3aUP9WzjNlTw6OGJcrozrKqO8IucXmW0liyTebp7aTH2z22fzAhy47ZeszcZbHrIk+a4L33vHyySlyqtG1ZtO2tHrQABahETOU7ZxfsjesIuV4ZLq7Z3rkXFJQo3Ome47HpVDPqpj+GrkyMLBSrvlKKHWuDKyRv1Ja3NHQyZE+ckXTJKc/WgEA1hN0Fw03WR/pMjpOe4ySKuya+Q6+fCl7UmKSv0k6BgB4ydgfclmPMZQTHnNhbsEVoizMWZJ9PQBjcRJVdNU5MiHdgxwArWwGLok4MMqTOlSjORsgEDDaBQ4iJgKFgBlERrUBHjo4yQRZ5YughaOg9TqMVgsKwjQAbAwAeAi9jcAx2gyU3kEio54F3jg/EOi9B63s/246NiVcehQjapAbOMWZFPuIQs98opmi6D1CHPXFfnCcoS6qQOyBGfuiC4bZNONIQD0nuBc4K0aGtmePaizsOLbnsqS4mxSK0+7SoxhRA7kBpziTzo/XCHfcE80URbmiOYjfcD847g5qhSqV+FBkKtjy/GE2jXEkQJ98TuDeiizKYQZt/DCPaizYEsH2rKRSlFdRjEmVNmkNgJZ0EIsjlDDCQ9oNQkbUp1VJPSXucbcDAA==) format("woff2")}.eafont{font-family:eafont;font-style:normal;color:#909399;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ea-icon-disabled:before{content:"\e630"}.ea-icon-conf:before{content:"\e600"}.ea-icon-more:before{content:"\e60e"}.eafont.ea-icon-conf.has{color:#000}.ea-table-modal{overflow:visible;right:unset;right:initial;bottom:unset;bottom:initial;width:100%;height:0}.ea-table-modal .el-dialog{background:#fdfdfd;box-shadow:0 0 16px #00000026}.ea-table-modal .el-dialog .el-dialog__header{padding:12px 20px;background-color:#f2f6fc;border-bottom:1px solid #EBEEF5}.ea-table-modal .el-dialog .el-dialog__headerbtn{top:12px}.ea-table-modal .el-dialog .el-dialog__close{font-weight:700;color:#909399}.ea-table-modal .el-dialog .el-dialog__body{padding:10px 0;height:calc(100% - 70px);min-height:40px;max-height:800px;overflow:auto}.ea-table-modal .el-dialog .el-dialog__body .scm-title{font-size:12px;font-weight:700;color:#303133}.ea-table-modal .el-dialog .el-dialog__body .scm-title.medium{font-size:14px}.ea-table-modal .el-dialog .el-dialog__body .el-tree{background:transparent;font-size:12px}.ea-table-modal .el-dialog .el-dialog__body .el-tree .el-tree-node__label{font-size:12px}.ea-table-modal .el-dialog .el-dialog__body .el-tree.medium,.ea-table-modal .el-dialog .el-dialog__body .el-tree.medium .el-tree-node__label{font-size:14px}
package/lib/style.scss CHANGED
@@ -11,6 +11,101 @@ $--color-border-base: #DCDFE6 !default;
11
11
  $--color-border-light: #E4E7ED !default;
12
12
  $--color-border-lighter: #EBEEF5 !default;
13
13
  $--color-border-extralight: #F2F6FC !default;
14
+ .ea-button-tooltip + .ea-button-tooltip {
15
+ margin-left: 10px;
16
+ }
17
+ td {
18
+ .ea-button-tooltip + .ea-button-tooltip {
19
+ margin-left: 4px;
20
+ &.text {
21
+ margin-left: 10px;
22
+ }
23
+ }
24
+ .el-button [class*="el-icon-"] + span {
25
+ margin-left: 2px;
26
+ }
27
+ }
28
+
29
+ .el-button.ea-button.mini-rect-btn {
30
+ padding: 7px;
31
+ border: 0;
32
+ & [class^="design-"] {
33
+ margin-right: 0;
34
+ }
35
+ &:not(.is-disabled) {
36
+ &.primary {
37
+ background-color: rgba($--color-primary, .15);
38
+ color: $--color-primary;
39
+ &:hover,&:focus {
40
+ background-color: $--color-primary;
41
+ i { color: #fff }
42
+ }
43
+ }
44
+ &.success {
45
+ background-color: rgba($--color-success, .15);
46
+ color: $--color-success;
47
+ &:hover,&:focus {
48
+ background-color: $--color-success;
49
+ i { color: #fff }
50
+ }
51
+ }
52
+ &.info {
53
+ background-color: rgba($--color-info, .15);
54
+ color: $--color-info;
55
+ &:hover,&:focus {
56
+ background-color: $--color-info;
57
+ i { color: #fff }
58
+ }
59
+ }
60
+ &.warning {
61
+ background-color: rgba($--color-warning, .15);
62
+ color: $--color-warning;
63
+ &:hover,&:focus {
64
+ background-color: $--color-warning;
65
+ i { color: #fff }
66
+ }
67
+ }
68
+ &.danger {
69
+ background-color: rgba($--color-danger, .15);
70
+ color: $--color-danger;
71
+ &:hover,&:focus {
72
+ background-color: $--color-danger;
73
+ i { color: #fff }
74
+ }
75
+ }
76
+ }
77
+ }
78
+
79
+ .ea-select {
80
+ display: inline-block;
81
+ position: relative;
82
+ .el-select {
83
+ width: 100%;
84
+ }
85
+ .async-loading.el-icon-loading {
86
+ position: absolute;
87
+ top: 10px;
88
+ right: 28px;
89
+ color: #999;
90
+ }
91
+ }
92
+ .ea-select-popover {
93
+ .el-select-dropdown__item {
94
+ display: flex;
95
+ justify-content: space-between;
96
+ .select-item-value {
97
+ overflow: hidden;
98
+ text-overflow: ellipsis;
99
+ }
100
+ .select-item-desc {
101
+ overflow: hidden;
102
+ text-overflow: ellipsis;
103
+ color: #8492a6;
104
+ margin-left: 8px;
105
+ }
106
+ }
107
+ }
108
+
14
109
  // table
15
110
  .ea-table {
16
111
  // 表格头部样式美化
@@ -128,36 +223,6 @@ $--color-border-extralight: #F2F6FC !default;
128
223
  transform: scaleY(0);
129
224
  }
130
225
 
131
- .ea-select {
132
- display: inline-block;
133
- position: relative;
134
- .el-select {
135
- width: 100%;
136
- }
137
- .async-loading.el-icon-loading {
138
- position: absolute;
139
- top: 10px;
140
- right: 28px;
141
- color: #999;
142
- }
143
- }
144
- .ea-select-popover {
145
- .el-select-dropdown__item {
146
- display: flex;
147
- justify-content: space-between;
148
- .select-item-value {
149
- overflow: hidden;
150
- text-overflow: ellipsis;
151
- }
152
- .select-item-desc {
153
- overflow: hidden;
154
- text-overflow: ellipsis;
155
- color: #8492a6;
156
- margin-left: 8px;
157
- }
158
- }
159
- }
160
-
161
226
  .el-dialog.ea-modal {
162
227
  &.is-closing {
163
228
  margin: 0 0 50px !important;
@@ -176,67 +241,63 @@ $--color-border-extralight: #F2F6FC !default;
176
241
  }
177
242
  }
178
243
 
179
- .ea-button-tooltip + .ea-button-tooltip {
180
- margin-left: 10px;
181
- }
182
- td {
183
- .ea-button-tooltip + .ea-button-tooltip {
184
- margin-left: 4px;
185
- &.text {
186
- margin-left: 10px;
187
- }
188
- }
189
- .el-button [class*="el-icon-"] + span {
190
- margin-left: 2px;
244
+ .ea-list {
245
+ .loading-text {
246
+ color: $--color-secondary-text;
247
+ text-align: center;
248
+ font-size: inherit;
191
249
  }
192
250
  }
193
251
 
194
- .el-button.ea-button.mini-rect-btn {
195
- padding: 7px;
196
- border: 0;
197
- & [class^="design-"] {
198
- margin-right: 0;
252
+ .ea-split-container {
253
+ display: flex;
254
+ &.is-down {
255
+ user-select: none;
199
256
  }
200
- &:not(.is-disabled) {
201
- &.primary {
202
- background-color: rgba($--color-primary, .15);
203
- color: $--color-primary;
204
- &:hover,&:focus {
205
- background-color: $--color-primary;
206
- i { color: #fff }
207
- }
208
- }
209
- &.success {
210
- background-color: rgba($--color-success, .15);
211
- color: $--color-success;
212
- &:hover,&:focus {
213
- background-color: $--color-success;
214
- i { color: #fff }
215
- }
216
- }
217
- &.info {
218
- background-color: rgba($--color-info, .15);
219
- color: $--color-info;
220
- &:hover,&:focus {
221
- background-color: $--color-info;
222
- i { color: #fff }
223
- }
257
+ .sc-left {
258
+ flex-grow: 1;
259
+ flex-shrink: 1;
260
+ }
261
+ .sc-right {
262
+ flex-grow: 1;
263
+ flex-shrink: 1;
264
+ }
265
+ .sc-bamboo {
266
+ flex-grow: 0;
267
+ flex-shrink: 0;
268
+ width: 8px;
269
+ border: 1px solid #DCDEE2;
270
+ border-top: none;
271
+ border-bottom: none;
272
+ background-color: #F8F8F9;
273
+ cursor: col-resize;
274
+ user-select: none;
275
+ display: flex;
276
+ flex-direction: column;
277
+ justify-content: center;
278
+ align-items: center;
279
+ margin: 0 16px;
280
+ .sc-texture {
281
+ width: 4px;
282
+ height: 1px;
283
+ background: rgba(23, 35, 61, .25);
284
+ margin-top: 3px;
224
285
  }
225
- &.warning {
226
- background-color: rgba($--color-warning, .15);
227
- color: $--color-warning;
228
- &:hover,&:focus {
229
- background-color: $--color-warning;
230
- i { color: #fff }
231
- }
286
+ }
287
+ }
288
+
289
+ .ea-number .el-input__inner {
290
+ text-align: left;
291
+ }
292
+
293
+ .ea-tree {
294
+ .ea-tree-real {
295
+ .el-tree-node > .el-tree-node__content{
296
+ border-radius: 4px;
232
297
  }
233
- &.danger {
234
- background-color: rgba($--color-danger, .15);
235
- color: $--color-danger;
236
- &:hover,&:focus {
237
- background-color: $--color-danger;
238
- i { color: #fff }
239
- }
298
+ .el-tree-node.is-current > .el-tree-node__content {
299
+ color: $--color-primary;
300
+ background-color: rgba($--color-primary, 0.1);
240
301
  }
241
302
  }
242
303
  }
@@ -285,67 +346,175 @@ td {
285
346
  }
286
347
  }
287
348
 
288
- .ea-tree {
289
- .ea-tree-real {
290
- .el-tree-node > .el-tree-node__content{
291
- border-radius: 4px;
349
+ .vjs-table {
350
+ position: relative;
351
+ overflow: hidden;
352
+ border: 1px solid #DDD;
353
+ }
354
+ .vjs-header {
355
+ position: absolute;
356
+ top: 0;
357
+ left: 0;
358
+ border-bottom: 1px solid #EEE;
359
+ }
360
+ .vjs-body {
361
+ height: 400px;
362
+ }
363
+
364
+ .vjs-row {
365
+ height: 32px;
366
+ line-height: 32px;
367
+ display: flex;
368
+ justify-content: flex-start;
369
+ position: relative;
370
+ &.odd { background-color: #F8F8F8; }
371
+ &:hover { background-color: #EBEEF5; }
372
+ .vjs-cell {
373
+ flex: 0 0 auto;
374
+ height: 100%;
375
+ font-size: 14px;
376
+ box-sizing: border-box;
377
+ padding: 0 8px;
378
+ &.vjs-last-cell {
379
+ flex-grow: 1;
292
380
  }
293
- .el-tree-node.is-current > .el-tree-node__content {
294
- color: $--color-primary;
295
- background-color: rgba($--color-primary, 0.1);
381
+ &.error {
382
+ border: 1px solid red;
383
+ }
384
+ }
385
+ .vjs-icon {
386
+ cursor: pointer;
387
+ position: absolute;
388
+ height: 100%;
389
+ color: #CCC;
390
+ display: flex;
391
+ align-items: center;
392
+ &:hover {
393
+ color: #333;
296
394
  }
297
395
  }
396
+ .vjs-temp {
397
+ color: #909399;
398
+ }
298
399
  }
299
400
 
300
- .ea-split-container {
301
- display: flex;
302
- &.is-down {
303
- user-select: none;
401
+ .cell-text {
402
+ height: 100%;
403
+ overflow: hidden;
404
+ text-overflow: ellipsis;
405
+ white-space: nowrap;
406
+ word-break: break-all;
407
+ .cell-placeholder {
408
+ color: #C0C4CC;
304
409
  }
305
- .sc-left {
306
- flex-grow: 1;
307
- flex-shrink: 1;
410
+ }
411
+
412
+ .cell-input {
413
+ display: block;
414
+ height: 30px;
415
+ line-height: 30px;
416
+ font-size: inherit;
417
+ color: inherit;
418
+ font-family: inherit;
419
+ margin-left: -4.7px;
420
+ .el-input__inner {
421
+ border-radius: 0;
422
+ font-size: inherit;
423
+ color: inherit;
424
+ font-family: inherit;
425
+ padding-left: 4px;
308
426
  }
309
- .sc-right {
310
- flex-grow: 1;
311
- flex-shrink: 1;
427
+ }
428
+
429
+ .cell-select {
430
+ cursor: pointer;
431
+ &:hover {
432
+ border-width: 0;
433
+ border-bottom-width: 1.5px;
434
+ border-style: solid;
312
435
  }
313
- .sc-bamboo {
314
- flex-grow: 0;
315
- flex-shrink: 0;
316
- width: 8px;
317
- border: 1px solid #DCDEE2;
318
- border-top: none;
319
- border-bottom: none;
320
- background-color: #F8F8F9;
321
- cursor: col-resize;
436
+ }
437
+
438
+ .cell-required {
439
+ width: 100%;
440
+ height: 100%;
441
+ display: flex;
442
+ align-items: center;
443
+ .box {
444
+ width: 20px;
445
+ height: 20px;
446
+ box-sizing: border-box;
447
+ border-radius: 4px;
448
+ cursor: pointer;
322
449
  user-select: none;
323
450
  display: flex;
324
- flex-direction: column;
325
451
  justify-content: center;
326
452
  align-items: center;
327
- margin: 0 16px;
328
- .sc-texture {
329
- width: 4px;
330
- height: 1px;
331
- background: rgba(23, 35, 61, .25);
332
- margin-top: 3px;
453
+ padding-top: 4px;
454
+ color: #DDD;
455
+ background-color: rgba(0, 0, 0, 0.02);
456
+ &:hover {
457
+ color: #999;
458
+ background-color: rgba(0, 0, 0, 0.05);
459
+ }
460
+ &.is-required {
461
+ color: red;
462
+ background-color: rgba(0, 0, 0, 0.08);
333
463
  }
334
464
  }
335
465
  }
336
466
 
337
- .ea-list {
338
- .loading-text {
339
- color: $--color-secondary-text;
340
- text-align: center;
341
- font-size: inherit;
467
+ .cell-action {
468
+ width: 80px;
469
+ i {
470
+ cursor: pointer;
471
+ padding: 4px;
472
+ border-radius: 4px;
473
+ &:hover {
474
+ background-color: rgba(0,0,0,0.1);
475
+ }
342
476
  }
343
477
  }
478
+ .action-popover {
479
+ margin: 0 !important;
480
+ }
344
481
 
345
- .ea-number .el-input__inner {
346
- text-align: left;
482
+ .ea-blue {
483
+ color: #409EFF;
484
+ }
485
+ .ea-purple {
486
+ color: #EE46BC !important;
487
+ }
488
+ .ea-success {
489
+ color: $--color-success;
490
+ }
491
+ .ea-danger {
492
+ color: $--color-danger;
493
+ }
494
+ .ea-info {
495
+ color: $--color-info;
347
496
  }
348
497
 
498
+ .ea-popover-no-margin {
499
+ margin: 0 !important;
500
+ }
501
+
502
+ @font-face {
503
+ font-family: 'eafont';
504
+ src: url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAQYAAsAAAAACMAAAAPLAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACDHAqFDIRVATYCJAMQCwoABCAFhE8HQBu9BxEVnLHIfibwpknuXkitybkhDKpb3+RDeb1vMhOsa34zn2ST3rpbnaQ7jZOwi3OelIhQI3mLHn0haTkDFEZf6SdAAFkA/M/ltDHxABvfAoC7xti0t5dlvehe2rbAxhiUbfFAIsy8BXYOdTBB14AA0MJNMC4yOjETxsayzmZMwiDhCeDmksa6mjJIdwNYCkIgqYW8KxnIUvAAt4C7BGCJ+XnyER5JAAeeQtontTqqEsfe4I0bVawK6CPoOBDgaA4AD4ACcOqZidSmO8pB7bATCm1ckMEHOCiBA2ptM75xs1pZNCqFJDsBrvSfRwRICj1SvSIUeAOVBxzwxiiIU7qhaAUUTF8hARgJuAwQV0iaKfUsFCCNNxhGG7SjtYaxY4lGRgbuZDNvZTJvZzHv5riIWmmOGkzUuxFVl27lVB+9q7OkJEK51XPw7m2JcOs9dwL05isn1JNXdWXmfZuUzfstB7eqWw5k6s2HlMM6wyq1Ur1793aQwXL5uHLsklZ/6NadO2U+61H1yA23UsnOr6+wtChXH3JzL0iKIqt5uRoraFeuoKtaqxwuXs18qMz+If6j7B2qsiLTw2vHNIy5EZqYFJ8wvXp6reO9qIzItHL7SvuHY/ODcgM9ijxLm3N3HC3PcEt1dU11yygPdexWfv+Wuh0fmn/+fNVmI0fPkm3aUP9WzjNlTw6OGJcrozrKqO8IucXmW0liyTebp7aTH2z22fzAhy47ZeszcZbHrIk+a4L33vHyySlyqtG1ZtO2tHrQABahETOU7ZxfsjesIuV4ZLq7Z3rkXFJQo3Ome47HpVDPqpj+GrkyMLBSrvlKKHWuDKyRv1Ja3NHQyZE+ckXTJKc/WgEA1hN0Fw03WR/pMjpOe4ySKuya+Q6+fCl7UmKSv0k6BgB4ydgfclmPMZQTHnNhbsEVoizMWZJ9PQBjcRJVdNU5MiHdgxwArWwGLok4MMqTOlSjORsgEDDaBQ4iJgKFgBlERrUBHjo4yQRZ5YughaOg9TqMVgsKwjQAbAwAeAi9jcAx2gyU3kEio54F3jg/EOi9B63s/246NiVcehQjapAbOMWZFPuIQs98opmi6D1CHPXFfnCcoS6qQOyBGfuiC4bZNONIQD0nuBc4K0aGtmePaizsOLbnsqS4mxSK0+7SoxhRA7kBpziTzo/XCHfcE80URbmiOYjfcD847g5qhSqV+FBkKtjy/GE2jXEkQJ98TuDeiizKYQZt/DCPaizYEsH2rKRSlFdRjEmVNmkNgJZ0EIsjlDDCQ9oNQkbUp1VJPSXucbcDAA==') format('woff2');
505
+ }
506
+ .eafont {
507
+ font-family: eafont;
508
+ font-style: normal;
509
+ color: #909399;
510
+ -webkit-font-smoothing: antialiased;
511
+ -moz-osx-font-smoothing: grayscale;
512
+ }
513
+ .ea-icon-disabled:before { content: "\e630" }
514
+ .ea-icon-conf:before { content: "\e600" }
515
+ .ea-icon-more:before { content: "\e60e" }
516
+ .eafont.ea-icon-conf.has { color: #000 }
517
+
349
518
  .file-upload-dialog {
350
519
  // 拖拽区域铺满
351
520
  .el-upload,
@@ -451,21 +620,16 @@ td {
451
620
  }
452
621
  }
453
622
 
454
- .ea-form .el-form-item__content {
455
- & > .el-input-number,
456
- & > .el-input,
457
- & > .ea-select,
458
- & > .el-select {
459
- width: 100%;
460
- }
623
+ .conf-header {
624
+ border-bottom: 1px solid #DDD;
625
+ padding-bottom: 10px;
626
+ margin-bottom: 10px;
461
627
  }
462
- .ea-form .el-form-item.hidden-label {
463
- > .el-form-item__label {
464
- display: none;
465
- }
466
- > .el-form-item__content {
467
- width: 100%;
468
- }
628
+ .conf-body {
629
+ width: 300px;
630
+ }
631
+ .dense-much .el-form-item {
632
+ margin-bottom: 8px !important;
469
633
  }
470
634
 
471
635
  .ea-select-container {
@@ -507,3 +671,35 @@ td {
507
671
  }
508
672
  }
509
673
  }
674
+
675
+ .ea-form .el-form-item__content {
676
+ & > .el-input-number,
677
+ & > .el-input,
678
+ & > .ea-select,
679
+ & > .el-select {
680
+ width: 100%;
681
+ }
682
+ }
683
+ .ea-form .el-form-item.hidden-label {
684
+ > .el-form-item__label {
685
+ display: none;
686
+ }
687
+ > .el-form-item__content {
688
+ width: 100%;
689
+ }
690
+ }
691
+
692
+ .ea-switch-mini {
693
+ .el-switch__core {
694
+ width: 30px !important;
695
+ height: 16px;
696
+ &::after {
697
+ width: 12px;
698
+ height: 12px;
699
+ left: 2px;
700
+ }
701
+ }
702
+ &.is-checked .el-switch__core::after {
703
+ margin-left: -13px;
704
+ }
705
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "element-assits",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "description": "element-ui 的扩展组件库",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",