element-assits 0.0.35 → 0.0.37

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/index.js CHANGED
@@ -2399,7 +2399,7 @@ const Kx = {
2399
2399
  components: { EaScrollbar: tr, EaVirtualScroll: er },
2400
2400
  props: {
2401
2401
  data: { type: Array, default: void 0 },
2402
- column: { type: Array, default: void 0 },
2402
+ column: { type: Array, default: void 0, required: !0 },
2403
2403
  pageRequest: { type: Function, default: void 0 },
2404
2404
  initRequest: { type: Boolean, default: !0 },
2405
2405
  itemSize: { type: Number, default: 30 },
@@ -2497,13 +2497,13 @@ const Kx = {
2497
2497
  };
2498
2498
  var jx = function() {
2499
2499
  var n = this, i = n._self._c;
2500
- return i("div", { class: { "ea-data-table": 1, "ea-data-table--border": n.border } }, [i("div", { staticClass: "edt-row edt-header", style: { height: n.itemSize + "px" } }, [n._l(n.realColumn, function(o) {
2500
+ return i("div", { class: { "ea-data-table": 1, "ea-data-table--border": n.border } }, [i("div", { staticClass: "edt-row edt-header", style: { height: n.itemSize + "px", lineHeight: n.itemSize + "px" } }, [n._l(n.realColumn, function(o) {
2501
2501
  return [o.renderHeader ? i({ render: (f) => o.renderHeader(f, { column: o }) }, { key: o.prop, tag: "component", staticClass: "edt-cell", style: n.cellStyle(o) }) : i("span", { key: o.prop, staticClass: "edt-cell", style: n.cellStyle(o), attrs: { title: o.label } }, [n._v(n._s(o.label))])];
2502
2502
  })], 2), i("EaScrollbar", { style: { height: n.fitHeight + "px" } }, [i("EaVirtualScroll", { attrs: { options: n.realOptions, "item-size": n.itemSize, redundancy: n.redundancy }, scopedSlots: n._u([{ key: "item", fn: function(o) {
2503
2503
  return [n._t("default", function() {
2504
- return [n.realColumn ? i("div", { staticClass: "edt-row", style: { height: n.itemSize + "px" } }, [n._l(n.realColumn, function(f) {
2504
+ return [i("div", { staticClass: "edt-row", style: { height: n.itemSize + "px", lineHeight: n.itemSize + "px" } }, [n._l(n.realColumn, function(f) {
2505
2505
  return [f.render ? i(n.generateRender(o, f), { key: f.prop + o.index, tag: "component", staticClass: "edt-cell", style: n.cellStyle(f) }) : i("span", { key: f.prop + o.index, staticClass: "edt-cell", style: n.cellStyle(f), attrs: { title: o.item[f.prop] } }, [n._v(n._s(o.item[f.prop]))])];
2506
- })], 2) : i("div", { style: { height: n.itemSize + "px" } }, [n._v(n._s(o.item))])];
2506
+ })], 2)];
2507
2507
  }, null, o)];
2508
2508
  } }], null, !0) }, [n.loading ? i("div", { staticClass: "loading-text", style: n.textStyle(), attrs: { slot: "after" }, slot: "after" }, [n._v("\u52A0\u8F7D\u4E2D...")]) : n.realOptions.length ? n._e() : i("div", { staticClass: "loading-text", style: n.textStyle(), attrs: { slot: "after" }, slot: "after" }, [n._v("\u6682\u65E0\u6570\u636E")])])], 1)], 1);
2509
2509
  }, Xx = [], Yx = /* @__PURE__ */ Y(
@@ -7558,10 +7558,10 @@ const MC = {
7558
7558
  };
7559
7559
  var DC = function() {
7560
7560
  var n = this, i = n._self._c;
7561
- return i("div", { staticClass: "vjs-table" }, [i("div", { staticClass: "vjs-row odd vjs-header", style: { minWidth: n.endWidth + "px", left: n.headerLeft + "px" } }, [n.checkbox ? i("span", { staticClass: "vjs-cell" }, [i("el-checkbox", { staticClass: "vjs-checkbox", attrs: { indeterminate: n.indeterminate, disabled: n.disableCheckbox }, on: { change: n.handleGlobalCheckChange }, model: { value: n.globalChecked, callback: function(o) {
7562
- n.globalChecked = o;
7563
- }, expression: "globalChecked" } })], 1) : n._e(), n._l(n.column, function(o, f) {
7564
- return i("span", { key: f, class: { "vjs-cell": 1, "vjs-cell-flex": o.flex }, style: { width: o.width + "px", ...f === 0 && { paddingLeft: "20px" } } }, [o.renderHeader ? i({ render: o.renderHeader }, { tag: "component" }) : i("span", [n._v(n._s(o.label))])], 1);
7561
+ return i("div", { staticClass: "vjs-table" }, [i("div", { staticClass: "vjs-row odd vjs-header", style: { minWidth: n.endWidth + "px", left: n.headerLeft + "px" } }, [n._l(n.column, function(o, f) {
7562
+ return i("span", { key: f, class: { "vjs-cell": 1, "vjs-cell-flex": o.flex }, style: { width: o.width + "px", ...f === 0 && { paddingLeft: 20 + (n.checkbox ? 20 : 0) + "px" } } }, [f === 0 && n.checkbox ? i("span", { staticClass: "vjs-checkbox", style: { left: 20 + "px" } }, [i("el-checkbox", { attrs: { indeterminate: n.indeterminate, disabled: n.disableCheckbox }, on: { change: n.handleGlobalCheckChange }, model: { value: n.globalChecked, callback: function(d) {
7563
+ n.globalChecked = d;
7564
+ }, expression: "globalChecked" } })], 1) : n._e(), o.renderHeader ? i({ render: o.renderHeader }, { tag: "component" }) : i("span", [n._v(n._s(o.label))])], 1);
7565
7565
  }), i("span", { staticClass: "vjs-cell" })], 2), i("EaScrollbar", { staticClass: "vjs-body", style: { height: n.endHeight + "px" } }, [i("EaVirtualScroll", { ref: "evs", attrs: { "enable-virtual-scroll": !0, options: n.list, "item-size": n.itemSize }, on: { "scroll-recalc": n.handleScrollRecalc }, scopedSlots: n._u([{ key: "item", fn: function({ item: o, index: f }) {
7566
7566
  return i("div", { directives: [{ name: "show", rawName: "v-show", value: Object.values(o.__state.show).every(Boolean), expression: "Object.values(item.__state.show).every(Boolean)" }], class: { "vjs-row": 1, odd: f % 2 }, style: { minWidth: n.endWidth + "px" } }, [o.__state.hasChildren ? i("i", { class: {
7567
7567
  "vjs-icon": 1,
@@ -7578,7 +7578,7 @@ var DC = function() {
7578
7578
  }, style: {
7579
7579
  width: d.width + "px",
7580
7580
  ...v === 0 && { paddingLeft: o.__state.level * 20 + (n.showCheckbox(o) ? 24 : 0) + "px" }
7581
- } }, [v === 0 && n.checkbox ? i("span", { staticClass: "vjs-checkbox", style: { left: o.__state.level * 20 + "px" } }, [n.showCheckbox(o) ? i("el-checkbox", { key: o.__state.uuid, staticClass: "vjs-checkbox", attrs: { indeterminate: o.__state.indeterminate, disabled: n.disableCheckbox }, on: { change: function(m) {
7581
+ } }, [v === 0 && n.checkbox ? i("span", { staticClass: "vjs-checkbox", style: { left: o.__state.level * 20 + "px" } }, [n.showCheckbox(o) ? i("el-checkbox", { key: o.__state.uuid, attrs: { indeterminate: o.__state.indeterminate, disabled: n.disableCheckbox }, on: { change: function(m) {
7582
7582
  return n.handleItemCheckChange(m, o);
7583
7583
  } }, model: { value: o.__state.checked, callback: function(m) {
7584
7584
  n.$set(o.__state, "checked", m);
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)}.ea-data-table .edt-row{display:flex;line-height:30px}.ea-data-table .edt-row .edt-cell{padding:0 8px;flex:0 0 auto;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.ea-data-table .edt-row.edt-header{background-color:#f2f6fc;color:#303133}.ea-data-table--border{border:1px solid #E4E7ED}.ea-data-table--border .edt-row .edt-cell{border-bottom:1px solid #E4E7ED;border-left:1px solid #E4E7ED}.ea-data-table--border .edt-row .edt-cell:first-child{border-left:0}.ea-data-table--border .edt-row:last-child .edt-cell{border-bottom:0}.ea-data-table .loading-text{color:#909399;text-align:center;font-size:inherit}.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}.vjs-header{position:absolute;top:0;border:1px solid #E4E7ED;border-bottom:0}.vjs-body{border:1px solid #E4E7ED}.vjs-row{height:32px;line-height:32px;display:flex;justify-content:flex-start;position:relative}.vjs-row.odd{background-color:#f8f8f8}.vjs-row:not(.vjs-header):hover{background-color:#ebeef5}.vjs-row .vjs-cell{flex:0 0 auto;height:100%;font-size:14px;box-sizing:border-box;padding:0 8px;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.vjs-row .vjs-cell>.el-tag{vertical-align:1px}.vjs-row .vjs-cell.vjs-cell-flex{flex-grow:1}.vjs-row .vjs-cell.error{border:1px solid red}.vjs-row .vjs-cell>.vjs-checkbox{position:absolute;top:0}.vjs-row .vjs-icon{cursor:pointer;position:absolute;height:100%;color:#ccc;display:flex;align-items:center;z-index:1}.vjs-row .vjs-icon:hover{color:#333}.vjs-row .vjs-temp{color:#909399}.vjs-checkbox .el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:#909399;border-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:not(.is-disabled):hover{border-width:0;border-bottom-width:1.5px;border-style:solid}.cell-select.is-disabled{cursor:default}.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:not(.is-disabled):hover{color:#999;background-color:#0000000d}.cell-required .box.is-disabled{cursor:default;color:transparent;background-color:transparent}.cell-required .box.is-required,.cell-required .box.is-required:hover{color:red;background-color:#00000014}.cell-action{width:80px}.cell-action i{cursor:pointer;font-size:16px;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-placeholder{color:#c0c4cc!important}.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;font-size:16px;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}
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)}.ea-data-table .edt-row{display:flex}.ea-data-table .edt-row .edt-cell{padding:0 8px;flex:0 0 auto;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.ea-data-table .edt-row.edt-header{background-color:#f2f6fc;color:#303133}.ea-data-table--border{border:1px solid #E4E7ED}.ea-data-table--border .edt-row .edt-cell{border-bottom:1px solid #E4E7ED;border-left:1px solid #E4E7ED}.ea-data-table--border .edt-row .edt-cell:first-child{border-left:0}.ea-data-table--border .edt-row:last-child .edt-cell{border-bottom:0}.ea-data-table .loading-text{color:#909399;text-align:center;font-size:inherit}.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}.vjs-header{position:absolute;top:0;border:1px solid #E4E7ED;border-bottom:0}.vjs-body{border:1px solid #E4E7ED}.vjs-row{height:32px;line-height:32px;display:flex;justify-content:flex-start;position:relative}.vjs-row.odd{background-color:#f8f8f8}.vjs-row:not(.vjs-header):hover{background-color:#ebeef5}.vjs-row .vjs-cell{flex:0 0 auto;height:100%;font-size:14px;box-sizing:border-box;padding:0 8px;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.vjs-row .vjs-cell>.el-tag{vertical-align:1px}.vjs-row .vjs-cell.vjs-cell-flex{flex-grow:1}.vjs-row .vjs-cell.error{border:1px solid red}.vjs-row .vjs-cell>.vjs-checkbox{position:absolute;top:0}.vjs-row .vjs-icon{cursor:pointer;position:absolute;height:100%;color:#ccc;display:flex;align-items:center;z-index:1}.vjs-row .vjs-icon:hover{color:#333}.vjs-row .vjs-temp{color:#909399}.vjs-checkbox .el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:#909399;border-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:not(.is-disabled):hover{border-width:0;border-bottom-width:1.5px;border-style:solid}.cell-select.is-disabled{cursor:default}.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:not(.is-disabled):hover{color:#999;background-color:#0000000d}.cell-required .box.is-disabled{cursor:default;color:transparent;background-color:transparent}.cell-required .box.is-required,.cell-required .box.is-required:hover{color:red;background-color:#00000014}.cell-action{width:80px}.cell-action i{cursor:pointer;font-size:16px;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-placeholder{color:#c0c4cc!important}.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;font-size:16px;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,60 +11,32 @@ $--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-data-table {
15
- .edt-row {
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 {
16
29
  display: flex;
17
- line-height: 30px;
18
- .edt-cell {
19
- padding: 0 8px;
20
- flex: 0 0 auto;
21
- box-sizing: border-box;
30
+ justify-content: space-between;
31
+ .select-item-value {
22
32
  overflow: hidden;
23
33
  text-overflow: ellipsis;
24
- white-space: nowrap;
25
- word-break: break-all;
26
- }
27
- &.edt-header {
28
- background-color: $--color-border-extralight;
29
- color: $--color-primary-text;
30
- }
31
- }
32
- &--border {
33
- border: 1px solid $--color-border-light;
34
- .edt-row {
35
- .edt-cell {
36
- border-bottom: 1px solid $--color-border-light;
37
- border-left: 1px solid $--color-border-light;
38
- &:first-child {
39
- border-left: 0;
40
- }
41
- }
42
- &:last-child .edt-cell{
43
- border-bottom: 0;
44
- }
45
34
  }
46
- }
47
- .loading-text {
48
- color: $--color-secondary-text;
49
- text-align: center;
50
- font-size: inherit;
51
- }
52
- }
53
-
54
- .el-dialog.ea-modal {
55
- &.is-closing {
56
- margin: 0 0 50px !important;
57
- }
58
- &.is-fullscreen {
59
- border-radius: 0;
60
- margin: 0;
61
- }
62
- .el-dialog__header {
63
- color: #555;
64
- font-size: 18px;
65
- .el-dialog__title {
66
- color: inherit;
67
- font-size: inherit;
35
+ .select-item-desc {
36
+ overflow: hidden;
37
+ text-overflow: ellipsis;
38
+ color: #8492a6;
39
+ margin-left: 8px;
68
40
  }
69
41
  }
70
42
  }
@@ -186,6 +158,63 @@ $--color-border-extralight: #F2F6FC !default;
186
158
  transform: scaleY(0);
187
159
  }
188
160
 
161
+ .ea-data-table {
162
+ .edt-row {
163
+ display: flex;
164
+ .edt-cell {
165
+ padding: 0 8px;
166
+ flex: 0 0 auto;
167
+ box-sizing: border-box;
168
+ overflow: hidden;
169
+ text-overflow: ellipsis;
170
+ white-space: nowrap;
171
+ word-break: break-all;
172
+ }
173
+ &.edt-header {
174
+ background-color: $--color-border-extralight;
175
+ color: $--color-primary-text;
176
+ }
177
+ }
178
+ &--border {
179
+ border: 1px solid $--color-border-light;
180
+ .edt-row {
181
+ .edt-cell {
182
+ border-bottom: 1px solid $--color-border-light;
183
+ border-left: 1px solid $--color-border-light;
184
+ &:first-child {
185
+ border-left: 0;
186
+ }
187
+ }
188
+ &:last-child .edt-cell{
189
+ border-bottom: 0;
190
+ }
191
+ }
192
+ }
193
+ .loading-text {
194
+ color: $--color-secondary-text;
195
+ text-align: center;
196
+ font-size: inherit;
197
+ }
198
+ }
199
+
200
+ .el-dialog.ea-modal {
201
+ &.is-closing {
202
+ margin: 0 0 50px !important;
203
+ }
204
+ &.is-fullscreen {
205
+ border-radius: 0;
206
+ margin: 0;
207
+ }
208
+ .el-dialog__header {
209
+ color: #555;
210
+ font-size: 18px;
211
+ .el-dialog__title {
212
+ color: inherit;
213
+ font-size: inherit;
214
+ }
215
+ }
216
+ }
217
+
189
218
  .ea-button-tooltip + .ea-button-tooltip {
190
219
  margin-left: 10px;
191
220
  }
@@ -288,34 +317,16 @@ td {
288
317
  }
289
318
  }
290
319
 
291
- .ea-select {
292
- display: inline-block;
293
- position: relative;
294
- .el-select {
295
- width: 100%;
296
- }
297
- .async-loading.el-icon-loading {
298
- position: absolute;
299
- top: 10px;
300
- right: 28px;
301
- color: #999;
320
+ .ea-list {
321
+ .loading-text {
322
+ color: $--color-secondary-text;
323
+ text-align: center;
324
+ font-size: inherit;
302
325
  }
303
326
  }
304
- .ea-select-popover {
305
- .el-select-dropdown__item {
306
- display: flex;
307
- justify-content: space-between;
308
- .select-item-value {
309
- overflow: hidden;
310
- text-overflow: ellipsis;
311
- }
312
- .select-item-desc {
313
- overflow: hidden;
314
- text-overflow: ellipsis;
315
- color: #8492a6;
316
- margin-left: 8px;
317
- }
318
- }
327
+
328
+ .ea-number .el-input__inner {
329
+ text-align: left;
319
330
  }
320
331
 
321
332
  .ea-tree {
@@ -330,18 +341,6 @@ td {
330
341
  }
331
342
  }
332
343
 
333
- .ea-number .el-input__inner {
334
- text-align: left;
335
- }
336
-
337
- .ea-list {
338
- .loading-text {
339
- color: $--color-secondary-text;
340
- text-align: center;
341
- font-size: inherit;
342
- }
343
- }
344
-
345
344
  .ea-desc {
346
345
  font-size: 14px;
347
346
  &__title {
@@ -612,6 +611,30 @@ td {
612
611
  }
613
612
  }
614
613
 
614
+ .ea-form .form-group-title {
615
+ position: relative;
616
+ height: 32px;
617
+ margin-bottom: 22px;
618
+ > span {
619
+ position: absolute;
620
+ top: 0;
621
+ left: 20%;
622
+ padding: 5px 25px;
623
+ background-color: #fff;
624
+ z-index: 1;
625
+ color: $--color-secondary-text;
626
+ }
627
+ &::after {
628
+ content: '';
629
+ position: absolute;
630
+ top: 50%;
631
+ left: 0;
632
+ width: 100%;
633
+ height: 0;
634
+ border-bottom: 1px dashed $--color-border-base;
635
+ }
636
+ }
637
+
615
638
  .ea-table-modal {
616
639
  overflow: visible;
617
640
  right: unset;
@@ -666,30 +689,6 @@ td {
666
689
  }
667
690
  }
668
691
 
669
- .ea-form .form-group-title {
670
- position: relative;
671
- height: 32px;
672
- margin-bottom: 22px;
673
- > span {
674
- position: absolute;
675
- top: 0;
676
- left: 20%;
677
- padding: 5px 25px;
678
- background-color: #fff;
679
- z-index: 1;
680
- color: $--color-secondary-text;
681
- }
682
- &::after {
683
- content: '';
684
- position: absolute;
685
- top: 50%;
686
- left: 0;
687
- width: 100%;
688
- height: 0;
689
- border-bottom: 1px dashed $--color-border-base;
690
- }
691
- }
692
-
693
692
  .conf-header {
694
693
  border-bottom: 1px solid #DDD;
695
694
  padding-bottom: 10px;
@@ -702,6 +701,38 @@ td {
702
701
  margin-bottom: 8px !important;
703
702
  }
704
703
 
704
+ .ea-form .el-form-item__content {
705
+ & > .el-input-number,
706
+ & > .el-input,
707
+ & > .ea-select,
708
+ & > .el-select {
709
+ width: 100%;
710
+ }
711
+ }
712
+ .ea-form .el-form-item.hidden-label {
713
+ > .el-form-item__label {
714
+ display: none;
715
+ }
716
+ > .el-form-item__content {
717
+ width: 100%;
718
+ }
719
+ }
720
+
721
+ .ea-switch-mini {
722
+ .el-switch__core {
723
+ width: 30px !important;
724
+ height: 16px;
725
+ &::after {
726
+ width: 12px;
727
+ height: 12px;
728
+ left: 2px;
729
+ }
730
+ }
731
+ &.is-checked .el-switch__core::after {
732
+ margin-left: -13px;
733
+ }
734
+ }
735
+
705
736
  .ea-select-container {
706
737
  display: flex;
707
738
  justify-content: flex-start;
@@ -741,35 +772,3 @@ td {
741
772
  }
742
773
  }
743
774
  }
744
-
745
- .ea-form .el-form-item__content {
746
- & > .el-input-number,
747
- & > .el-input,
748
- & > .ea-select,
749
- & > .el-select {
750
- width: 100%;
751
- }
752
- }
753
- .ea-form .el-form-item.hidden-label {
754
- > .el-form-item__label {
755
- display: none;
756
- }
757
- > .el-form-item__content {
758
- width: 100%;
759
- }
760
- }
761
-
762
- .ea-switch-mini {
763
- .el-switch__core {
764
- width: 30px !important;
765
- height: 16px;
766
- &::after {
767
- width: 12px;
768
- height: 12px;
769
- left: 2px;
770
- }
771
- }
772
- &.is-checked .el-switch__core::after {
773
- margin-left: -13px;
774
- }
775
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "element-assits",
3
- "version": "0.0.35",
3
+ "version": "0.0.37",
4
4
  "description": "element-ui 的扩展组件库",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",