element-assits 0.0.26 → 0.0.28

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,36 @@ $--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-select {
15
+ display: inline-block;
16
+ position: relative;
17
+ .el-select {
18
+ width: 100%;
19
+ }
20
+ .async-loading.el-icon-loading {
21
+ position: absolute;
22
+ top: 10px;
23
+ right: 28px;
24
+ color: #999;
25
+ }
26
+ }
27
+ .ea-select-popover {
28
+ .el-select-dropdown__item {
29
+ display: flex;
30
+ justify-content: space-between;
31
+ .select-item-value {
32
+ overflow: hidden;
33
+ text-overflow: ellipsis;
34
+ }
35
+ .select-item-desc {
36
+ overflow: hidden;
37
+ text-overflow: ellipsis;
38
+ color: #8492a6;
39
+ margin-left: 8px;
40
+ }
41
+ }
42
+ }
43
+
14
44
  // table
15
45
  .ea-table {
16
46
  // 表格头部样式美化
@@ -128,54 +158,6 @@ $--color-border-extralight: #F2F6FC !default;
128
158
  transform: scaleY(0);
129
159
  }
130
160
 
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
- .el-dialog.ea-modal {
162
- &.is-closing {
163
- margin: 0 0 50px !important;
164
- }
165
- &.is-fullscreen {
166
- border-radius: 0;
167
- margin: 0;
168
- }
169
- .el-dialog__header {
170
- color: #555;
171
- font-size: 18px;
172
- .el-dialog__title {
173
- color: inherit;
174
- font-size: inherit;
175
- }
176
- }
177
- }
178
-
179
161
  .ea-button-tooltip + .ea-button-tooltip {
180
162
  margin-left: 10px;
181
163
  }
@@ -241,6 +223,85 @@ td {
241
223
  }
242
224
  }
243
225
 
226
+ .el-dialog.ea-modal {
227
+ &.is-closing {
228
+ margin: 0 0 50px !important;
229
+ }
230
+ &.is-fullscreen {
231
+ border-radius: 0;
232
+ margin: 0;
233
+ }
234
+ .el-dialog__header {
235
+ color: #555;
236
+ font-size: 18px;
237
+ .el-dialog__title {
238
+ color: inherit;
239
+ font-size: inherit;
240
+ }
241
+ }
242
+ }
243
+
244
+ .ea-split-container {
245
+ display: flex;
246
+ &.is-down {
247
+ user-select: none;
248
+ }
249
+ .sc-left {
250
+ flex-grow: 1;
251
+ flex-shrink: 1;
252
+ }
253
+ .sc-right {
254
+ flex-grow: 1;
255
+ flex-shrink: 1;
256
+ }
257
+ .sc-bamboo {
258
+ flex-grow: 0;
259
+ flex-shrink: 0;
260
+ width: 8px;
261
+ border: 1px solid #DCDEE2;
262
+ border-top: none;
263
+ border-bottom: none;
264
+ background-color: #F8F8F9;
265
+ cursor: col-resize;
266
+ user-select: none;
267
+ display: flex;
268
+ flex-direction: column;
269
+ justify-content: center;
270
+ align-items: center;
271
+ margin: 0 16px;
272
+ .sc-texture {
273
+ width: 4px;
274
+ height: 1px;
275
+ background: rgba(23, 35, 61, .25);
276
+ margin-top: 3px;
277
+ }
278
+ }
279
+ }
280
+
281
+ .ea-list {
282
+ .loading-text {
283
+ color: $--color-secondary-text;
284
+ text-align: center;
285
+ font-size: inherit;
286
+ }
287
+ }
288
+
289
+ .ea-tree {
290
+ .ea-tree-real {
291
+ .el-tree-node > .el-tree-node__content{
292
+ border-radius: 4px;
293
+ }
294
+ .el-tree-node.is-current > .el-tree-node__content {
295
+ color: $--color-primary;
296
+ background-color: rgba($--color-primary, 0.1);
297
+ }
298
+ }
299
+ }
300
+
301
+ .ea-number .el-input__inner {
302
+ text-align: left;
303
+ }
304
+
244
305
  .ea-desc {
245
306
  font-size: 14px;
246
307
  &__title {
@@ -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,
@@ -397,6 +566,18 @@ td {
397
566
  }
398
567
  }
399
568
 
569
+ .conf-header {
570
+ border-bottom: 1px solid #DDD;
571
+ padding-bottom: 10px;
572
+ margin-bottom: 10px;
573
+ }
574
+ .conf-body {
575
+ width: 300px;
576
+ }
577
+ .dense-much .el-form-item {
578
+ margin-bottom: 8px !important;
579
+ }
580
+
400
581
  .ea-table-modal {
401
582
  overflow: visible;
402
583
  right: unset;
@@ -451,6 +632,21 @@ td {
451
632
  }
452
633
  }
453
634
 
635
+ .ea-switch-mini {
636
+ .el-switch__core {
637
+ width: 30px !important;
638
+ height: 16px;
639
+ &::after {
640
+ width: 12px;
641
+ height: 12px;
642
+ left: 2px;
643
+ }
644
+ }
645
+ &.is-checked .el-switch__core::after {
646
+ margin-left: -13px;
647
+ }
648
+ }
649
+
454
650
  .ea-form .el-form-item__content {
455
651
  & > .el-input-number,
456
652
  & > .el-input,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "element-assits",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "description": "element-ui 的扩展组件库",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",