tenghui-ui 1.3.20 → 1.3.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .ui-search__popover{padding:20px 15px 10px!important}.ui-search__popover .ui-form__item{display:block!important}.ui-search__popover .ui-form__item .ui-item__label{width:unset;text-align:left;margin-bottom:5px}.ui-search__popover .el-select,.ui-search__popover .el-cascader{width:100%}.el-menu[data-v-1a7163e6]{width:100%;height:60px!important}.el-submenu .el-menu-item[data-v-1a7163e6]{min-width:unset}.el-submenu__title i[data-v-1a7163e6]{color:unset}.ui-tabs[data-v-e7fe9cfa]{border-bottom:1px solid #ebeef5;padding:0 10px;height:40px;background-color:#fff}.ui-tabs__item[data-v-e7fe9cfa]{float:left;height:31px;border-radius:6px 6px 0 0;border:1px solid #ebeef5;margin-top:10px;box-sizing:border-box;font-size:12px;line-height:30px;padding:0 10px;color:#c0c4cc;cursor:pointer;border-bottom-color:#fff;margin-right:1px;position:relative;transition:all .1s linear}.ui-tabs__item:hover .el-icon-error[data-v-e7fe9cfa]{opacity:1}.ui-tabs__item .el-icon-error[data-v-e7fe9cfa]{position:absolute;right:2px;top:50%;margin-top:-5px;opacity:0;transition:all .1s linear}.ui-tabs__item .el-icon-error[data-v-e7fe9cfa]:hover{color:#409effcc}.ui-tabs__item--active[data-v-e7fe9cfa]{color:#409effcc;padding-right:20px}.ui-tabs__item--active .el-icon-error[data-v-e7fe9cfa]{top:50%;right:5px;font-size:14px;margin-top:-5px;opacity:1}.el-icon-s-tools[data-v-575499bb]{font-size:20px;color:#fff;line-height:60px;margin-right:20px;cursor:pointer}[data-v-0a02be4b] .el-dialog__header{border-bottom:1px solid #ededed}[data-v-0a02be4b] .el-dialog__header .el-dialog__title{font-size:16px}[data-v-0a02be4b] .el-dialog__footer{border-top:1px solid #ededed}[data-v-0a02be4b] .el-dialog__body .el-form .el-select,[data-v-0a02be4b] .el-dialog__body .el-form .el-input,[data-v-0a02be4b] .el-dialog__body .el-form .el-input-number{width:240px}[data-v-0a02be4b] .el-dialog__body .el-form .el-input-number .el-input__inner{text-align:left}[data-v-0a02be4b] .el-dialog__body .el-form .ui-item__main{width:100%}[data-v-0a02be4b] .el-dialog__body .el-form .el-form-item__label{font-size:12px}[data-v-0a02be4b] .el-dialog__body .el-form .el-input--small .el-input__icon{height:32px}.ui-form__item[data-v-1f6ff524]{display:flex;align-items:center;margin-right:15px}.ui-item__label[data-v-1f6ff524]{margin-right:10px;font-size:12px;width:70px;text-align:right}[data-v-1f6ff524].el-select .el-select__caret:first-child:before{content:"\e6e1"}[data-v-1f6ff524].el-select .is-focus .el-select__caret:first-child{transform:rotate(0)}.ui-input__range[data-v-1f6ff524]{max-width:240px;display:flex}.ui-input__range>span[data-v-1f6ff524]{line-height:28px}.el-date-editor[data-v-1f6ff524]{width:100%!important}.ui-operation[data-v-3c6cb9f6]{padding:0 10px}.ui-search[data-v-a3028b3c]{margin:10px 10px 0;padding:20px;background-color:#fff;border:1px solid #ebeef5;border-radius:4px}.ui-search__main[data-v-a3028b3c]{display:flex}.ui-search__footer[data-v-a3028b3c]{margin-top:10px}.ui-search .ui-search__button--more[data-v-a3028b3c]{padding:0 0 4px;vertical-align:bottom;border-bottom:1px solid #409EFF;border-radius:0;margin-left:15px}.ui-search[data-v-a3028b3c] .ui-form__item{display:block;min-width:150px}.ui-search[data-v-a3028b3c] .ui-form__item--inputrange{min-width:160px}.ui-search[data-v-a3028b3c] .ui-form__item--hide{display:none}.ui-search[data-v-a3028b3c] .ui-item__label{width:unset;text-align:left;margin-bottom:5px}.ui-more__select .el-col[data-v-a3028b3c]{margin-bottom:10px}.ui-table[data-v-7f89e23d]{padding:0 10px}.ui-table[data-v-7f89e23d] .el-table-column--selection .el-checkbox{display:block}.ui-table[data-v-7f89e23d] .el-tabs__header{margin-bottom:0;border-bottom:0 none;background:#FFF}.ui-table[data-v-7f89e23d] .el-tabs__header .el-tabs__item{height:32px;line-height:32px;font-size:12px}.ui-table[data-v-7f89e23d] .el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:#409eff}.ui-pagination[data-v-7f89e23d]{text-align:center;padding:10px 0}.ui-table__tab[data-v-7f89e23d]{background-color:#fff}.ui-tab--loading[data-v-7f89e23d]{padding-left:10px;height:32px;line-height:32px}.ui-tab--loading span[data-v-7f89e23d]{font-size:12px;color:#999;display:inline-block;margin-left:5px}[data-v-7f89e23d] .el-table .cell{line-height:16px}.ui-image--error[data-v-b81bcc3a]{text-align:center;color:#999;background-color:#efefef}
1
+ .ui-search__popover{padding:20px 15px 10px!important}.ui-search__popover .ui-form__item{display:block!important}.ui-search__popover .ui-form__item .ui-item__label{width:unset;text-align:left;margin-bottom:5px}.ui-search__popover .el-select,.ui-search__popover .el-cascader{width:100%}.el-menu[data-v-1a7163e6]{width:100%;height:60px!important}.el-submenu .el-menu-item[data-v-1a7163e6]{min-width:unset}.el-submenu__title i[data-v-1a7163e6]{color:unset}.ui-tabs[data-v-e7fe9cfa]{border-bottom:1px solid #ebeef5;padding:0 10px;height:40px;background-color:#fff}.ui-tabs__item[data-v-e7fe9cfa]{float:left;height:31px;border-radius:6px 6px 0 0;border:1px solid #ebeef5;margin-top:10px;box-sizing:border-box;font-size:12px;line-height:30px;padding:0 10px;color:#c0c4cc;cursor:pointer;border-bottom-color:#fff;margin-right:1px;position:relative;transition:all .1s linear}.ui-tabs__item:hover .el-icon-error[data-v-e7fe9cfa]{opacity:1}.ui-tabs__item .el-icon-error[data-v-e7fe9cfa]{position:absolute;right:2px;top:50%;margin-top:-5px;opacity:0;transition:all .1s linear}.ui-tabs__item .el-icon-error[data-v-e7fe9cfa]:hover{color:#409effcc}.ui-tabs__item--active[data-v-e7fe9cfa]{color:#409effcc;padding-right:20px}.ui-tabs__item--active .el-icon-error[data-v-e7fe9cfa]{top:50%;right:5px;font-size:14px;margin-top:-5px;opacity:1}.el-icon-s-tools[data-v-575499bb]{font-size:20px;color:#fff;line-height:60px;margin-right:20px;cursor:pointer}[data-v-0a02be4b] .el-dialog__header{border-bottom:1px solid #ededed}[data-v-0a02be4b] .el-dialog__header .el-dialog__title{font-size:16px}[data-v-0a02be4b] .el-dialog__footer{border-top:1px solid #ededed}[data-v-0a02be4b] .el-dialog__body .el-form .el-select,[data-v-0a02be4b] .el-dialog__body .el-form .el-input,[data-v-0a02be4b] .el-dialog__body .el-form .el-input-number{width:240px}[data-v-0a02be4b] .el-dialog__body .el-form .el-input-number .el-input__inner{text-align:left}[data-v-0a02be4b] .el-dialog__body .el-form .ui-item__main{width:100%}[data-v-0a02be4b] .el-dialog__body .el-form .el-form-item__label{font-size:12px}[data-v-0a02be4b] .el-dialog__body .el-form .el-input--small .el-input__icon{height:32px}.ui-form__item[data-v-85389858]{display:flex;align-items:center;margin-right:15px}.ui-item__label[data-v-85389858]{margin-right:10px;font-size:12px;width:70px;text-align:right}[data-v-85389858].el-select .el-select__caret:first-child:before{content:"\e6e1"}[data-v-85389858].el-select .is-focus .el-select__caret:first-child{transform:rotate(0)}.ui-input__range[data-v-85389858]{max-width:240px;display:flex}.ui-input__range>span[data-v-85389858]{line-height:28px}.el-date-editor[data-v-85389858]{width:100%!important}.ui-operation[data-v-3c6cb9f6]{padding:0 10px}.ui-search[data-v-a80a7c5c]{margin:10px 10px 0;padding:20px;background-color:#fff;border:1px solid #ebeef5;border-radius:4px}.ui-search__main[data-v-a80a7c5c]{display:flex}.ui-search__footer[data-v-a80a7c5c]{margin-top:10px}.ui-search .ui-search__button--more[data-v-a80a7c5c]{padding:0 0 4px;vertical-align:bottom;border-bottom:1px solid #409EFF;border-radius:0;margin-left:15px}.ui-search[data-v-a80a7c5c] .ui-form__item{display:block;min-width:150px}.ui-search[data-v-a80a7c5c] .ui-form__item--inputrange{min-width:160px}.ui-search[data-v-a80a7c5c] .ui-form__item--hide{display:none}.ui-search[data-v-a80a7c5c] .ui-item__label{width:unset;text-align:left;margin-bottom:5px}.ui-more__select .el-col[data-v-a80a7c5c]{margin-bottom:10px}.ui-table[data-v-5a7ccd4a]{padding:0 10px}.ui-table[data-v-5a7ccd4a] .el-table-column--selection .el-checkbox{display:block}.ui-table[data-v-5a7ccd4a] .el-tabs__header{margin-bottom:0;border-bottom:0 none;background:#FFF}.ui-table[data-v-5a7ccd4a] .el-tabs__header .el-tabs__item{height:32px;line-height:32px;font-size:12px}.ui-table[data-v-5a7ccd4a] .el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:#409eff}.ui-pagination[data-v-5a7ccd4a]{text-align:center;padding:10px 0}.ui-table__tab[data-v-5a7ccd4a]{background-color:#fff}.ui-tab--loading[data-v-5a7ccd4a]{padding-left:10px;height:32px;line-height:32px}.ui-tab--loading span[data-v-5a7ccd4a]{font-size:12px;color:#999;display:inline-block;margin-left:5px}[data-v-5a7ccd4a] .el-table .cell{line-height:16px}.ui-image--error[data-v-b81bcc3a]{text-align:center;color:#999;background-color:#efefef}
@@ -386,7 +386,7 @@ var render$4 = function() {
386
386
  }, proxy: true };
387
387
  })], null, true), model: { value: _vm.modelForm, callback: function($$v) {
388
388
  _vm.modelForm = $$v;
389
- }, expression: "modelForm" } }, "el-input", _vm.setDefaultAttrs(_vm.polyfillAttrs(_vm.$attrs)), false), _vm.$listeners))] : _vm.type === "select" ? [_c("el-select", _vm._g(_vm._b({ ref: _vm.type, attrs: { "multiple": _vm.multiple, "collapseTags": _vm.collapseTags }, scopedSlots: _vm._u([_vm._l(_vm.getComponentSlots(_vm.$slots), function(item, key) {
389
+ }, expression: "modelForm" } }, "el-input", _vm.setDefaultAttrs(_vm.polyfillAttrs(_vm.$attrs)), false), _vm.$listeners))] : _vm.type === "select" ? [_c("el-select", _vm._g(_vm._b({ ref: _vm.type, attrs: { "multiple": _vm.multiple, "collapseTags": _vm.collapseTags, "filterable": _vm.filterable, "remote": _vm.remote, "reserve-keyword": _vm.reserveKeyword, "placeholder": _vm.placeholder, "remote-method": _vm.remoteMethod }, scopedSlots: _vm._u([_vm._l(_vm.getComponentSlots(_vm.$slots), function(item, key) {
390
390
  return { key, fn: function() {
391
391
  return [_vm._t(key)];
392
392
  }, proxy: true };
@@ -451,6 +451,27 @@ const __vue2_script$4 = {
451
451
  collapseTags: {
452
452
  type: Boolean,
453
453
  default: true
454
+ },
455
+ filterable: {
456
+ type: Boolean,
457
+ default: false
458
+ },
459
+ remote: {
460
+ type: Boolean,
461
+ default: false
462
+ },
463
+ reserveKeyword: {
464
+ type: Boolean,
465
+ default: false
466
+ },
467
+ placeholder: {
468
+ type: String,
469
+ default: "\u8BF7\u9009\u62E9"
470
+ },
471
+ remoteMethod: {
472
+ type: Function,
473
+ default() {
474
+ }
454
475
  }
455
476
  },
456
477
  data() {
@@ -523,9 +544,6 @@ const __vue2_script$4 = {
523
544
  const formItemConfig = this.getformItemConfig();
524
545
  const defaultAttrs = formItemConfig[type] || defaultAttrsMap[type] || {};
525
546
  return __spreadValues(__spreadValues({}, defaultAttrs), attrs2);
526
- },
527
- remoteMethod(query2) {
528
- this.$emit("remoteMethod", query2);
529
547
  }
530
548
  },
531
549
  watch: {
@@ -538,7 +556,7 @@ const __vue2_script$4 = {
538
556
  }
539
557
  };
540
558
  const __cssModules$4 = {};
541
- var __component__$4 = /* @__PURE__ */ normalizeComponent(__vue2_script$4, render$4, staticRenderFns$4, false, __vue2_injectStyles$4, "1f6ff524", null, null);
559
+ var __component__$4 = /* @__PURE__ */ normalizeComponent(__vue2_script$4, render$4, staticRenderFns$4, false, __vue2_injectStyles$4, "85389858", null, null);
542
560
  function __vue2_injectStyles$4(context) {
543
561
  for (let o in __cssModules$4) {
544
562
  this[o] = __cssModules$4[o];
@@ -600,12 +618,7 @@ const __vue2_script$2 = {
600
618
  hideItems: []
601
619
  };
602
620
  },
603
- props: {
604
- mulitiple1: {
605
- type: Boolean,
606
- default: false
607
- }
608
- },
621
+ props: {},
609
622
  computed: {
610
623
  showMore() {
611
624
  return !!this.hideItems.length;
@@ -650,7 +663,7 @@ const __vue2_script$2 = {
650
663
  }
651
664
  };
652
665
  const __cssModules$2 = {};
653
- var __component__$2 = /* @__PURE__ */ normalizeComponent(__vue2_script$2, render$2, staticRenderFns$2, false, __vue2_injectStyles$2, "a3028b3c", null, null);
666
+ var __component__$2 = /* @__PURE__ */ normalizeComponent(__vue2_script$2, render$2, staticRenderFns$2, false, __vue2_injectStyles$2, "a80a7c5c", null, null);
654
667
  function __vue2_injectStyles$2(context) {
655
668
  for (let o in __cssModules$2) {
656
669
  this[o] = __cssModules$2[o];
@@ -7533,9 +7546,9 @@ var render$1 = function() {
7533
7546
  _vm.checkTab = $$v;
7534
7547
  }, expression: "checkTab" } }, _vm._l(_vm.tabList, function(item) {
7535
7548
  return _c("el-tab-pane", { key: item.value, attrs: { "label": item.label, "name": item.value } });
7536
- }), 1) : _vm._e(), _vm.showTab ? _c("div", { staticClass: "ui-tab--loading" }, [_c("i", { staticClass: "el-icon-loading" }), _c("span", [_vm._v("\u52A0\u8F7D\u4E2D...")])]) : _vm._e()])], 2), _c("el-table", _vm._b({ ref: "myTable", attrs: { "highlightRow": "", "stripe": "", "border": true, "data": _vm.tableData, "span-method": _vm.spanMethod, "row-class-name": _vm.rowClassName, "cell-class-name": _vm.cellClassName }, on: { "selection-change": _vm.handleSelectionChange }, scopedSlots: _vm._u([{ key: "empty", fn: function() {
7549
+ }), 1) : _vm._e(), _vm.showTab ? _c("div", { staticClass: "ui-tab--loading" }, [_c("i", { staticClass: "el-icon-loading" }), _c("span", [_vm._v("\u52A0\u8F7D\u4E2D...")])]) : _vm._e()])], 2), _c("el-table", _vm._g(_vm._b(_vm._b({ ref: "myTable", attrs: { "highlightRow": "", "stripe": "", "border": true, "data": _vm.tableData, "span-method": _vm.spanMethod, "row-class-name": _vm.rowClassName }, on: { "selection-change": _vm.handleSelectionChange }, scopedSlots: _vm._u([{ key: "empty", fn: function() {
7537
7550
  return [!_vm.autoHeight ? _c("div", [_c("el-empty", { directives: [{ name: "show", rawName: "v-show", value: !_vm.tableData.length, expression: "!tableData.length" }], attrs: { "description": "\u6682\u65E0\u6570\u636E" } })], 1) : _vm._e()];
7538
- }, proxy: true }]) }, "el-table", _vm._d({}, [_vm.isBindHeight, _vm.tableHeight, _vm.isBindMaxHeight, _vm.maxHeight])), [_vm.showSelect ? _c("el-table-column", { attrs: { "type": "selection", "width": "35", "selectable": _vm.selectable } }) : _vm._e(), _vm._l(_vm.tableTitle, function(item, index2) {
7551
+ }, proxy: true }]) }, "el-table", _vm._d({}, [_vm.isBindHeight, _vm.tableHeight, _vm.isBindMaxHeight, _vm.maxHeight])), "el-table", _vm.$attrs, false), _vm.$listeners), [_vm.showSelect ? _c("el-table-column", { attrs: { "type": "selection", "width": "35", "selectable": _vm.selectable } }) : _vm._e(), _vm._l(_vm.tableTitle, function(item, index2) {
7539
7552
  return _c("el-table-column", { key: _vm.tableProps[index2], attrs: { "minWidth": "60px", "label": item, "show-overflow-tooltip": _vm.tooltips.includes(_vm.tableProps[index2]), "prop": _vm.tableProps[index2], "width": _vm.tableProps[index2] === "index" ? "60px" : _vm.tableColsWidth[index2] || "" }, scopedSlots: _vm._u([{ key: "header", fn: function(scope) {
7540
7553
  return [_vm._t(_vm.tableProps[index2] + "Title", [_c("span", [_vm._v(_vm._s(item))])], { "row": item, "$index": scope.$index })];
7541
7554
  } }, !_vm.multiHeaderKey.includes(_vm.tableProps[index2]) ? { key: "default", fn: function(scope) {
@@ -7622,9 +7635,6 @@ const __vue2_script$1 = {
7622
7635
  default() {
7623
7636
  return [];
7624
7637
  }
7625
- },
7626
- cellClassName: {
7627
- type: Function
7628
7638
  }
7629
7639
  },
7630
7640
  data() {
@@ -7704,7 +7714,7 @@ const __vue2_script$1 = {
7704
7714
  }
7705
7715
  };
7706
7716
  const __cssModules$1 = {};
7707
- var __component__$1 = /* @__PURE__ */ normalizeComponent(__vue2_script$1, render$1, staticRenderFns$1, false, __vue2_injectStyles$1, "7f89e23d", null, null);
7717
+ var __component__$1 = /* @__PURE__ */ normalizeComponent(__vue2_script$1, render$1, staticRenderFns$1, false, __vue2_injectStyles$1, "5a7ccd4a", null, null);
7708
7718
  function __vue2_injectStyles$1(context) {
7709
7719
  for (let o in __cssModules$1) {
7710
7720
  this[o] = __cssModules$1[o];