tenghui-ui 1.3.10 → 1.3.13

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
- .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-acc84488]{display:flex;align-items:center;margin-right:15px}.ui-item__label[data-v-acc84488]{margin-right:10px;font-size:12px;width:70px;text-align:right}.ui-operation[data-v-3c6cb9f6]{padding:0 10px}.ui-search[data-v-07c7d454]{margin:10px 10px 0;padding:20px;background-color:#fff;border:1px solid #ebeef5;border-radius:4px}.ui-search__main[data-v-07c7d454]{display:flex}.ui-search__footer[data-v-07c7d454]{margin-top:10px}.ui-search[data-v-07c7d454] .ui-form__item{display:block}.ui-search[data-v-07c7d454] .ui-item__label{width:unset;text-align:left;margin-bottom:5px}.ui-table[data-v-561b7f83]{padding:0 10px}.ui-table[data-v-561b7f83] .el-table-column--selection .el-checkbox{display:block}.ui-table[data-v-561b7f83] .el-tabs__header{margin-bottom:0;border-bottom:0 none;background:#FFF}.ui-table[data-v-561b7f83] .el-tabs__header .el-tabs__item{height:32px;line-height:32px;font-size:12px}.ui-table[data-v-561b7f83] .el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:#409eff}.ui-pagination[data-v-561b7f83]{text-align:center;padding:10px 0}.ui-table__tab[data-v-561b7f83]{background-color:#fff}.ui-tab--loading[data-v-561b7f83]{padding-left:10px;height:32px;line-height:32px}.ui-tab--loading span[data-v-561b7f83]{font-size:12px;color:#999;display:inline-block;margin-left:5px}.ui-image--error[data-v-b81bcc3a]{text-align:center;color:#999;background-color:#efefef}
1
+ .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-66b6c6fe]{display:flex;align-items:center;margin-right:15px}.ui-item__label[data-v-66b6c6fe]{margin-right:10px;font-size:12px;width:70px;text-align:right}[data-v-66b6c6fe].el-select .el-select__caret:first-child:before{content:"\e6e1"}[data-v-66b6c6fe].el-select .is-focus .el-select__caret:first-child{transform:rotate(0)}.ui-input__range[data-v-66b6c6fe]{max-width:240px;display:flex}.ui-input__range>span[data-v-66b6c6fe]{line-height:28px}.ui-operation[data-v-3c6cb9f6]{padding:0 10px}.ui-search[data-v-07c7d454]{margin:10px 10px 0;padding:20px;background-color:#fff;border:1px solid #ebeef5;border-radius:4px}.ui-search__main[data-v-07c7d454]{display:flex}.ui-search__footer[data-v-07c7d454]{margin-top:10px}.ui-search[data-v-07c7d454] .ui-form__item{display:block}.ui-search[data-v-07c7d454] .ui-item__label{width:unset;text-align:left;margin-bottom:5px}.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}
@@ -385,7 +385,7 @@ var render$4 = function() {
385
385
  }, proxy: true };
386
386
  })], null, true), model: { value: _vm.modelForm, callback: function($$v) {
387
387
  _vm.modelForm = $$v;
388
- }, 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: { "filterable": "" }, scopedSlots: _vm._u([_vm._l(_vm.getComponentSlots(_vm.$slots), function(item, key) {
388
+ }, 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: { "remote": "", "reserve-keyword": "", "loading": _vm.loading, "remote-method": _vm.remoteMethod }, scopedSlots: _vm._u([_vm._l(_vm.getComponentSlots(_vm.$slots), function(item, key) {
389
389
  return { key, fn: function() {
390
390
  return [_vm._t(key)];
391
391
  }, proxy: true };
@@ -403,7 +403,11 @@ var render$4 = function() {
403
403
  _vm.modelForm = $$v;
404
404
  }, expression: "modelForm" } }, "el-date-picker", _vm.setDefaultAttrs(_vm.$attrs), false), _vm.$listeners))] : _vm.type === "datetimerange" ? [_c("el-date-picker", _vm._g(_vm._b({ ref: _vm.type, model: { value: _vm.modelForm, callback: function($$v) {
405
405
  _vm.modelForm = $$v;
406
- }, expression: "modelForm" } }, "el-date-picker", _vm.setDefaultAttrs(_vm.$attrs), false), _vm.$listeners))] : _vm._e()], 2)]);
406
+ }, expression: "modelForm" } }, "el-date-picker", _vm.setDefaultAttrs(_vm.$attrs), false), _vm.$listeners))] : _vm.type === "inputrange" ? [_c("div", { staticClass: "ui-input__range" }, [_c("el-input", { staticStyle: { "width": "50%" }, model: { value: _vm.modelForm[0], callback: function($$v) {
407
+ _vm.$set(_vm.modelForm, 0, $$v);
408
+ }, expression: "modelForm[0]" } }), _c("span", { staticStyle: { "color": "#dcdfe6" } }, [_vm._v("-")]), _c("el-input", { staticStyle: { "width": "50%" }, model: { value: _vm.modelForm[1], callback: function($$v) {
409
+ _vm.$set(_vm.modelForm, 1, $$v);
410
+ }, expression: "modelForm[1]" } })], 1)] : _vm._e()], 2)]);
407
411
  };
408
412
  var staticRenderFns$4 = [];
409
413
  var index_vue_vue_type_style_index_0_scoped_true_lang$4 = "";
@@ -434,6 +438,10 @@ const __vue2_script$4 = {
434
438
  default() {
435
439
  return { value: "value", label: "label" };
436
440
  }
441
+ },
442
+ loading: {
443
+ type: Boolean,
444
+ default: false
437
445
  }
438
446
  },
439
447
  data() {
@@ -504,6 +512,9 @@ const __vue2_script$4 = {
504
512
  const formItemConfig = this.getformItemConfig();
505
513
  const defaultAttrs = formItemConfig[type] || defaultAttrsMap[type] || {};
506
514
  return __spreadValues(__spreadValues({}, defaultAttrs), attrs2);
515
+ },
516
+ remoteMethod(query2) {
517
+ this.$emit("remoteMethod", query2);
507
518
  }
508
519
  },
509
520
  watch: {
@@ -516,7 +527,7 @@ const __vue2_script$4 = {
516
527
  }
517
528
  };
518
529
  const __cssModules$4 = {};
519
- var __component__$4 = /* @__PURE__ */ normalizeComponent(__vue2_script$4, render$4, staticRenderFns$4, false, __vue2_injectStyles$4, "acc84488", null, null);
530
+ var __component__$4 = /* @__PURE__ */ normalizeComponent(__vue2_script$4, render$4, staticRenderFns$4, false, __vue2_injectStyles$4, "66b6c6fe", null, null);
520
531
  function __vue2_injectStyles$4(context) {
521
532
  for (let o in __cssModules$4) {
522
533
  this[o] = __cssModules$4[o];
@@ -7631,12 +7642,18 @@ const __vue2_script$1 = {
7631
7642
  this.$refs["myTable"] && this.$refs["myTable"].doLayout();
7632
7643
  }
7633
7644
  },
7645
+ watch: {
7646
+ async tableMap() {
7647
+ await this.$nextTick();
7648
+ this.handleRefreshHeight();
7649
+ }
7650
+ },
7634
7651
  beforeDestroy() {
7635
7652
  window.removeEventListener("resize", this.handleRefreshHeight);
7636
7653
  }
7637
7654
  };
7638
7655
  const __cssModules$1 = {};
7639
- var __component__$1 = /* @__PURE__ */ normalizeComponent(__vue2_script$1, render$1, staticRenderFns$1, false, __vue2_injectStyles$1, "561b7f83", null, null);
7656
+ var __component__$1 = /* @__PURE__ */ normalizeComponent(__vue2_script$1, render$1, staticRenderFns$1, false, __vue2_injectStyles$1, "7f89e23d", null, null);
7640
7657
  function __vue2_injectStyles$1(context) {
7641
7658
  for (let o in __cssModules$1) {
7642
7659
  this[o] = __cssModules$1[o];