htui-yllkbz 1.2.9 → 1.2.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/lib/htui.common.js +509 -20
- package/lib/htui.common.js.gz +0 -0
- package/lib/htui.umd.js +509 -20
- package/lib/htui.umd.js.gz +0 -0
- package/lib/htui.umd.min.js +4 -4
- package/lib/htui.umd.min.js.gz +0 -0
- package/package.json +1 -1
- package/src/App.vue +2 -4
- package/src/packages/HtTable/index.ts +16 -0
- package/src/packages/HtTable/index.vue +161 -0
- package/src/packages/PageInfo/index.ts +16 -0
- package/src/packages/PageInfo/index.vue +113 -0
- package/src/packages/SelectTable/CommonTable.vue +2 -1
- package/src/packages/SelectTable/index.vue +11 -3
- package/src/packages/index.ts +8 -8
- package/src/packages/type.ts +20 -2
- package/src/views/About.vue +76 -1
package/lib/htui.common.js
CHANGED
|
@@ -2133,6 +2133,51 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
2133
2133
|
};
|
|
2134
2134
|
|
|
2135
2135
|
|
|
2136
|
+
/***/ }),
|
|
2137
|
+
|
|
2138
|
+
/***/ "5899":
|
|
2139
|
+
/***/ (function(module, exports) {
|
|
2140
|
+
|
|
2141
|
+
// a string of all valid unicode whitespaces
|
|
2142
|
+
// eslint-disable-next-line max-len
|
|
2143
|
+
module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
/***/ }),
|
|
2147
|
+
|
|
2148
|
+
/***/ "58a8":
|
|
2149
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2150
|
+
|
|
2151
|
+
var requireObjectCoercible = __webpack_require__("1d80");
|
|
2152
|
+
var whitespaces = __webpack_require__("5899");
|
|
2153
|
+
|
|
2154
|
+
var whitespace = '[' + whitespaces + ']';
|
|
2155
|
+
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
2156
|
+
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
2157
|
+
|
|
2158
|
+
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
2159
|
+
var createMethod = function (TYPE) {
|
|
2160
|
+
return function ($this) {
|
|
2161
|
+
var string = String(requireObjectCoercible($this));
|
|
2162
|
+
if (TYPE & 1) string = string.replace(ltrim, '');
|
|
2163
|
+
if (TYPE & 2) string = string.replace(rtrim, '');
|
|
2164
|
+
return string;
|
|
2165
|
+
};
|
|
2166
|
+
};
|
|
2167
|
+
|
|
2168
|
+
module.exports = {
|
|
2169
|
+
// `String.prototype.{ trimLeft, trimStart }` methods
|
|
2170
|
+
// https://tc39.github.io/ecma262/#sec-string.prototype.trimstart
|
|
2171
|
+
start: createMethod(1),
|
|
2172
|
+
// `String.prototype.{ trimRight, trimEnd }` methods
|
|
2173
|
+
// https://tc39.github.io/ecma262/#sec-string.prototype.trimend
|
|
2174
|
+
end: createMethod(2),
|
|
2175
|
+
// `String.prototype.trim` method
|
|
2176
|
+
// https://tc39.github.io/ecma262/#sec-string.prototype.trim
|
|
2177
|
+
trim: createMethod(3)
|
|
2178
|
+
};
|
|
2179
|
+
|
|
2180
|
+
|
|
2136
2181
|
/***/ }),
|
|
2137
2182
|
|
|
2138
2183
|
/***/ "5a34":
|
|
@@ -2419,6 +2464,30 @@ var TEMPLATE = String(String).split('String');
|
|
|
2419
2464
|
});
|
|
2420
2465
|
|
|
2421
2466
|
|
|
2467
|
+
/***/ }),
|
|
2468
|
+
|
|
2469
|
+
/***/ "7156":
|
|
2470
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2471
|
+
|
|
2472
|
+
var isObject = __webpack_require__("861d");
|
|
2473
|
+
var setPrototypeOf = __webpack_require__("d2bb");
|
|
2474
|
+
|
|
2475
|
+
// makes subclassing work correct for wrapped built-ins
|
|
2476
|
+
module.exports = function ($this, dummy, Wrapper) {
|
|
2477
|
+
var NewTarget, NewTargetPrototype;
|
|
2478
|
+
if (
|
|
2479
|
+
// it can work only with native `setPrototypeOf`
|
|
2480
|
+
setPrototypeOf &&
|
|
2481
|
+
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
2482
|
+
typeof (NewTarget = dummy.constructor) == 'function' &&
|
|
2483
|
+
NewTarget !== Wrapper &&
|
|
2484
|
+
isObject(NewTargetPrototype = NewTarget.prototype) &&
|
|
2485
|
+
NewTargetPrototype !== Wrapper.prototype
|
|
2486
|
+
) setPrototypeOf($this, NewTargetPrototype);
|
|
2487
|
+
return $this;
|
|
2488
|
+
};
|
|
2489
|
+
|
|
2490
|
+
|
|
2422
2491
|
/***/ }),
|
|
2423
2492
|
|
|
2424
2493
|
/***/ "7418":
|
|
@@ -3840,6 +3909,94 @@ if (!IS_PURE && typeof NativePromise == 'function' && !NativePromise.prototype['
|
|
|
3840
3909
|
}
|
|
3841
3910
|
|
|
3842
3911
|
|
|
3912
|
+
/***/ }),
|
|
3913
|
+
|
|
3914
|
+
/***/ "a9e3":
|
|
3915
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3916
|
+
|
|
3917
|
+
"use strict";
|
|
3918
|
+
|
|
3919
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
3920
|
+
var global = __webpack_require__("da84");
|
|
3921
|
+
var isForced = __webpack_require__("94ca");
|
|
3922
|
+
var redefine = __webpack_require__("6eeb");
|
|
3923
|
+
var has = __webpack_require__("5135");
|
|
3924
|
+
var classof = __webpack_require__("c6b6");
|
|
3925
|
+
var inheritIfRequired = __webpack_require__("7156");
|
|
3926
|
+
var toPrimitive = __webpack_require__("c04e");
|
|
3927
|
+
var fails = __webpack_require__("d039");
|
|
3928
|
+
var create = __webpack_require__("7c73");
|
|
3929
|
+
var getOwnPropertyNames = __webpack_require__("241c").f;
|
|
3930
|
+
var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
|
|
3931
|
+
var defineProperty = __webpack_require__("9bf2").f;
|
|
3932
|
+
var trim = __webpack_require__("58a8").trim;
|
|
3933
|
+
|
|
3934
|
+
var NUMBER = 'Number';
|
|
3935
|
+
var NativeNumber = global[NUMBER];
|
|
3936
|
+
var NumberPrototype = NativeNumber.prototype;
|
|
3937
|
+
|
|
3938
|
+
// Opera ~12 has broken Object#toString
|
|
3939
|
+
var BROKEN_CLASSOF = classof(create(NumberPrototype)) == NUMBER;
|
|
3940
|
+
|
|
3941
|
+
// `ToNumber` abstract operation
|
|
3942
|
+
// https://tc39.github.io/ecma262/#sec-tonumber
|
|
3943
|
+
var toNumber = function (argument) {
|
|
3944
|
+
var it = toPrimitive(argument, false);
|
|
3945
|
+
var first, third, radix, maxCode, digits, length, index, code;
|
|
3946
|
+
if (typeof it == 'string' && it.length > 2) {
|
|
3947
|
+
it = trim(it);
|
|
3948
|
+
first = it.charCodeAt(0);
|
|
3949
|
+
if (first === 43 || first === 45) {
|
|
3950
|
+
third = it.charCodeAt(2);
|
|
3951
|
+
if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
|
|
3952
|
+
} else if (first === 48) {
|
|
3953
|
+
switch (it.charCodeAt(1)) {
|
|
3954
|
+
case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i
|
|
3955
|
+
case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i
|
|
3956
|
+
default: return +it;
|
|
3957
|
+
}
|
|
3958
|
+
digits = it.slice(2);
|
|
3959
|
+
length = digits.length;
|
|
3960
|
+
for (index = 0; index < length; index++) {
|
|
3961
|
+
code = digits.charCodeAt(index);
|
|
3962
|
+
// parseInt parses a string to a first unavailable symbol
|
|
3963
|
+
// but ToNumber should return NaN if a string contains unavailable symbols
|
|
3964
|
+
if (code < 48 || code > maxCode) return NaN;
|
|
3965
|
+
} return parseInt(digits, radix);
|
|
3966
|
+
}
|
|
3967
|
+
} return +it;
|
|
3968
|
+
};
|
|
3969
|
+
|
|
3970
|
+
// `Number` constructor
|
|
3971
|
+
// https://tc39.github.io/ecma262/#sec-number-constructor
|
|
3972
|
+
if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {
|
|
3973
|
+
var NumberWrapper = function Number(value) {
|
|
3974
|
+
var it = arguments.length < 1 ? 0 : value;
|
|
3975
|
+
var dummy = this;
|
|
3976
|
+
return dummy instanceof NumberWrapper
|
|
3977
|
+
// check on 1..constructor(foo) case
|
|
3978
|
+
&& (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classof(dummy) != NUMBER)
|
|
3979
|
+
? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it);
|
|
3980
|
+
};
|
|
3981
|
+
for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (
|
|
3982
|
+
// ES3:
|
|
3983
|
+
'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
|
|
3984
|
+
// ES2015 (in case, if modules with ES2015 Number statics required before):
|
|
3985
|
+
'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
|
|
3986
|
+
'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,' +
|
|
3987
|
+
// ESNext
|
|
3988
|
+
'fromString,range'
|
|
3989
|
+
).split(','), j = 0, key; keys.length > j; j++) {
|
|
3990
|
+
if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) {
|
|
3991
|
+
defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));
|
|
3992
|
+
}
|
|
3993
|
+
}
|
|
3994
|
+
NumberWrapper.prototype = NumberPrototype;
|
|
3995
|
+
NumberPrototype.constructor = NumberWrapper;
|
|
3996
|
+
redefine(global, NUMBER, NumberWrapper);
|
|
3997
|
+
}
|
|
3998
|
+
|
|
3999
|
+
|
|
3843
4000
|
/***/ }),
|
|
3844
4001
|
|
|
3845
4002
|
/***/ "ab13":
|
|
@@ -6776,15 +6933,15 @@ if (typeof window !== 'undefined') {
|
|
|
6776
6933
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
6777
6934
|
var es_array_map = __webpack_require__("d81d");
|
|
6778
6935
|
|
|
6779
|
-
//
|
|
6780
|
-
var
|
|
6781
|
-
var staticRenderFns = []
|
|
6936
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
6937
|
+
var es_function_name = __webpack_require__("b0c0");
|
|
6782
6938
|
|
|
6939
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"46e974bd-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/SelectTable/index.vue?vue&type=template&id=525648ed&
|
|
6940
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-popover',{ref:"elPopver",staticClass:"ht-popover",attrs:{"placement":"bottom","title":"","width":_vm.width||600,"trigger":"click"},on:{"show":_vm.show,"hide":_vm.hide}},[_c('div',{staticClass:"ht-contnet",style:(("width:" + _vm.inputWidth + "px")),attrs:{"slot":"reference"},on:{"click":function($event){!_vm.state.config.disabled?_vm.state.visible = true:_vm.state.visible=false}},slot:"reference"},[_c('el-input',{style:(("width:" + _vm.inputWidth + "px")),attrs:{"readonly":"","placeholder":_vm.placeholder,"disabled":_vm.state.config.disabled,"suffix-icon":_vm.state.icon},on:{"blur":_vm.blurInput,"focus":_vm.focusInput},model:{value:(_vm.state.name),callback:function ($$v) {_vm.$set(_vm.state, "name", $$v)},expression:"state.name"}}),(_vm.state.name&&_vm.state.config.clearable)?_c('el-button',{staticClass:"ht-close",attrs:{"type":"text"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.clear($event)}}},[_c('div',[_c('i',{staticClass:"el-icon-circle-close"})])]):_vm._e()],1),_c('CommonTable',{ref:_vm.state.config.key||'ht-table',attrs:{"searchPlaceholder":_vm.searchPlaceholder,"columns":_vm.state.columns,"visible":_vm.state.visible,"confige":_vm.state.config},on:{"callback":_vm.callback,"update:visible":function($event){return _vm.$set(_vm.state, "visible", $event)}}})],1)}
|
|
6941
|
+
var staticRenderFns = []
|
|
6783
6942
|
|
|
6784
|
-
// CONCATENATED MODULE: ./src/packages/SelectTable/index.vue?vue&type=template&id=3cf4d254&
|
|
6785
6943
|
|
|
6786
|
-
//
|
|
6787
|
-
var es_function_name = __webpack_require__("b0c0");
|
|
6944
|
+
// CONCATENATED MODULE: ./src/packages/SelectTable/index.vue?vue&type=template&id=525648ed&
|
|
6788
6945
|
|
|
6789
6946
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
6790
6947
|
function _classCallCheck(instance, Constructor) {
|
|
@@ -7771,14 +7928,14 @@ function isPromise(obj) {
|
|
|
7771
7928
|
return obj instanceof Promise || (obj && typeof obj.then === 'function');
|
|
7772
7929
|
}
|
|
7773
7930
|
|
|
7774
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"46e974bd-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/SelectTable/CommonTable.vue?vue&type=template&id=
|
|
7775
|
-
var
|
|
7931
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"46e974bd-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/SelectTable/CommonTable.vue?vue&type=template&id=5a58ed06&scoped=true&
|
|
7932
|
+
var CommonTablevue_type_template_id_5a58ed06_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.state.loading),expression:"state.loading"}]},[_c('header',[_c('el-input',{staticClass:"htui-search",attrs:{"placeholder":_vm.searchPlaceholder||'请输入关键字查询'},model:{value:(_vm.state.filterData.Filter),callback:function ($$v) {_vm.$set(_vm.state.filterData, "Filter", $$v)},expression:"state.filterData.Filter"}})],1),_c('article',[_c('el-table',{ref:"comTable",staticStyle:{"width":"100%"},attrs:{"height":_vm.confige.table&&_vm.confige.table.height?_vm.confige.table.height:250,"row-key":_vm.confige.table&&_vm.confige.table.rowkey?_vm.confige.table.rowkey:'id',"data":_vm.dataSource,"tooltip-effect":"dark"},on:{"row-click":_vm.rowClick}},[_c('el-table-column',{attrs:{"width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
7776
7933
|
var row = ref.row;
|
|
7777
|
-
return [_c('el-checkbox',{attrs:{"value":_vm.state.checkObj&&_vm.state.checkObj.id===row.id},nativeOn:{"click":function($event){$event.preventDefault();}}})]}}])}),_c('el-table-column',{attrs:{"label":"序号","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_vm._v(" "+_vm._s((_vm.state.filterData.currentPage-1)*_vm.state.filterData.MaxResultCount+(scope.$index+1))+" ")]}}])}),_vm._l((_vm.columns),function(item){return _c('el-table-column',{key:item.key,attrs:{"label":item.title,"show-overflow-tooltip":true,"prop":item.key,"width":item.width||120}})})],2)],1),_c('footer',[_c('el-row',[_c('el-col',{attrs:{"span":24}},[_c('p',{staticStyle:{"width":"90px","float":"left"}},[_vm._v("共"+_vm._s(_vm.dataSource.length)+"条")]),(false)?undefined:_vm._e()],1)],1)],1)])}
|
|
7778
|
-
var
|
|
7934
|
+
return [_c('el-checkbox',{attrs:{"value":_vm.state.checkObj&&_vm.state.checkObj.id===row.id},nativeOn:{"click":function($event){$event.preventDefault();}}})]}}])}),_c('el-table-column',{attrs:{"label":"序号","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_vm._v(" "+_vm._s((_vm.state.filterData.currentPage-1)*_vm.state.filterData.MaxResultCount+(scope.$index+1))+" ")]}}])}),_vm._l((_vm.columns),function(item){return _c('el-table-column',{key:item.key,attrs:{"label":item.title,"show-overflow-tooltip":true,"prop":item.key,"width":item.width||120}},[_vm._t(item.key,[_vm._v(_vm._s(item.key))])],2)})],2)],1),_c('footer',[_c('el-row',[_c('el-col',{attrs:{"span":24}},[_c('p',{staticStyle:{"width":"90px","float":"left"}},[_vm._v("共"+_vm._s(_vm.dataSource.length)+"条")]),(false)?undefined:_vm._e()],1)],1)],1)])}
|
|
7935
|
+
var CommonTablevue_type_template_id_5a58ed06_scoped_true_staticRenderFns = []
|
|
7779
7936
|
|
|
7780
7937
|
|
|
7781
|
-
// CONCATENATED MODULE: ./src/packages/SelectTable/CommonTable.vue?vue&type=template&id=
|
|
7938
|
+
// CONCATENATED MODULE: ./src/packages/SelectTable/CommonTable.vue?vue&type=template&id=5a58ed06&scoped=true&
|
|
7782
7939
|
|
|
7783
7940
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
7784
7941
|
var es_array_filter = __webpack_require__("4de4");
|
|
@@ -8513,11 +8670,11 @@ CommonTablevue_type_script_lang_ts_Index = __decorate([vue_class_component_esm],
|
|
|
8513
8670
|
|
|
8514
8671
|
var CommonTable_component = normalizeComponent(
|
|
8515
8672
|
SelectTable_CommonTablevue_type_script_lang_ts_,
|
|
8516
|
-
|
|
8517
|
-
|
|
8673
|
+
CommonTablevue_type_template_id_5a58ed06_scoped_true_render,
|
|
8674
|
+
CommonTablevue_type_template_id_5a58ed06_scoped_true_staticRenderFns,
|
|
8518
8675
|
false,
|
|
8519
8676
|
null,
|
|
8520
|
-
"
|
|
8677
|
+
"5a58ed06",
|
|
8521
8678
|
null
|
|
8522
8679
|
|
|
8523
8680
|
)
|
|
@@ -8619,6 +8776,7 @@ var SelectTablevue_type_script_lang_ts_HtSelectTable = /*#__PURE__*/function (_V
|
|
|
8619
8776
|
this.$emit("change", row, type);
|
|
8620
8777
|
|
|
8621
8778
|
if (type) {
|
|
8779
|
+
this.$refs["elPopver"].doToggle();
|
|
8622
8780
|
this.state.visible = false;
|
|
8623
8781
|
}
|
|
8624
8782
|
}
|
|
@@ -8628,6 +8786,7 @@ var SelectTablevue_type_script_lang_ts_HtSelectTable = /*#__PURE__*/function (_V
|
|
|
8628
8786
|
key: "hide",
|
|
8629
8787
|
value: function hide() {
|
|
8630
8788
|
this.state.icon = "el-icon-arrow-down";
|
|
8789
|
+
this.state.visible = true;
|
|
8631
8790
|
this.state.show = false;
|
|
8632
8791
|
}
|
|
8633
8792
|
/** 焦点移入移出 */
|
|
@@ -8636,6 +8795,7 @@ var SelectTablevue_type_script_lang_ts_HtSelectTable = /*#__PURE__*/function (_V
|
|
|
8636
8795
|
key: "blurInput",
|
|
8637
8796
|
value: function blurInput() {
|
|
8638
8797
|
var show = this.state.show;
|
|
8798
|
+
this.state.visible = true;
|
|
8639
8799
|
this.state.icon = show ? "el-icon-arrow-up" : "el-icon-arrow-down";
|
|
8640
8800
|
}
|
|
8641
8801
|
}, {
|
|
@@ -8652,6 +8812,7 @@ var SelectTablevue_type_script_lang_ts_HtSelectTable = /*#__PURE__*/function (_V
|
|
|
8652
8812
|
//
|
|
8653
8813
|
if (!this.state.config.disabled) {
|
|
8654
8814
|
var ref = this.$refs[this.state.config.key || "ht-table"];
|
|
8815
|
+
console.log("333");
|
|
8655
8816
|
this.state.visible = false;
|
|
8656
8817
|
ref.clearCheck();
|
|
8657
8818
|
}
|
|
@@ -8674,6 +8835,8 @@ __decorate([Prop()], SelectTablevue_type_script_lang_ts_HtSelectTable.prototype,
|
|
|
8674
8835
|
|
|
8675
8836
|
__decorate([Prop()], SelectTablevue_type_script_lang_ts_HtSelectTable.prototype, "width", void 0);
|
|
8676
8837
|
|
|
8838
|
+
__decorate([Prop()], SelectTablevue_type_script_lang_ts_HtSelectTable.prototype, "inputWidth", void 0);
|
|
8839
|
+
|
|
8677
8840
|
__decorate([Prop()], SelectTablevue_type_script_lang_ts_HtSelectTable.prototype, "placeholder", void 0);
|
|
8678
8841
|
|
|
8679
8842
|
__decorate([Prop()], SelectTablevue_type_script_lang_ts_HtSelectTable.prototype, "searchPlaceholder", void 0);
|
|
@@ -8727,30 +8890,356 @@ SelectTable.install = function (Vue) {
|
|
|
8727
8890
|
};
|
|
8728
8891
|
|
|
8729
8892
|
/* harmony default export */ var packages_SelectTable = (SelectTable);
|
|
8893
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"46e974bd-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/PageInfo/index.vue?vue&type=template&id=08687955&
|
|
8894
|
+
var PageInfovue_type_template_id_08687955_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-pagination',{attrs:{"background":_vm.background,"hide-on-single-page":_vm.hideOnSinglePage,"disabled":!!_vm.disabled,"small":!!_vm.small,"current-page":_vm.state.pageInfo.currentPage,"page-size":_vm.state.pageInfo.maxResultCount,"page-sizes":_vm.pageSizes||[10, 20, 30, 40, 50, 100],"layout":_vm.layout||'total, sizes, prev, pager, next, jumper',"total":_vm.state.pageInfo.totalCount},on:{"current-change":_vm.handleCurrentChange,"size-change":_vm.handelSizeChange}})}
|
|
8895
|
+
var PageInfovue_type_template_id_08687955_staticRenderFns = []
|
|
8896
|
+
|
|
8897
|
+
|
|
8898
|
+
// CONCATENATED MODULE: ./src/packages/PageInfo/index.vue?vue&type=template&id=08687955&
|
|
8899
|
+
|
|
8900
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
8901
|
+
var es_number_constructor = __webpack_require__("a9e3");
|
|
8902
|
+
|
|
8903
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/PageInfo/index.vue?vue&type=script&lang=ts&
|
|
8904
|
+
|
|
8905
|
+
|
|
8906
|
+
|
|
8907
|
+
|
|
8908
|
+
|
|
8909
|
+
|
|
8910
|
+
|
|
8911
|
+
|
|
8912
|
+
var PageInfovue_type_script_lang_ts_HtPagination = /*#__PURE__*/function (_Vue) {
|
|
8913
|
+
_inherits(HtPagination, _Vue);
|
|
8914
|
+
|
|
8915
|
+
var _super = _createSuper(HtPagination);
|
|
8916
|
+
|
|
8917
|
+
function HtPagination() {
|
|
8918
|
+
var _this;
|
|
8919
|
+
|
|
8920
|
+
_classCallCheck(this, HtPagination);
|
|
8921
|
+
|
|
8922
|
+
_this = _super.apply(this, arguments);
|
|
8923
|
+
/** 数据 */
|
|
8924
|
+
|
|
8925
|
+
_this.state = {
|
|
8926
|
+
loading: false,
|
|
8927
|
+
pageInfo: {
|
|
8928
|
+
currentPage: 1,
|
|
8929
|
+
maxResultCount: 10,
|
|
8930
|
+
skipCount: 0,
|
|
8931
|
+
totalCount: 0
|
|
8932
|
+
}
|
|
8933
|
+
};
|
|
8934
|
+
/** 计算属性 */
|
|
8935
|
+
|
|
8936
|
+
return _this;
|
|
8937
|
+
}
|
|
8938
|
+
/** 生命周期 */
|
|
8939
|
+
|
|
8940
|
+
|
|
8941
|
+
_createClass(HtPagination, [{
|
|
8942
|
+
key: "created",
|
|
8943
|
+
value: function created() {
|
|
8944
|
+
if (this.pageInfo) {
|
|
8945
|
+
this.setpageInfo(this.pageInfo);
|
|
8946
|
+
}
|
|
8947
|
+
}
|
|
8948
|
+
/** 方法 */
|
|
8949
|
+
|
|
8950
|
+
/** 翻页 */
|
|
8951
|
+
|
|
8952
|
+
}, {
|
|
8953
|
+
key: "handleCurrentChange",
|
|
8954
|
+
value: function handleCurrentChange(val) {
|
|
8955
|
+
this.state.pageInfo.currentPage = val || 1;
|
|
8956
|
+
var _this$state$pageInfo = this.state.pageInfo,
|
|
8957
|
+
_this$state$pageInfo$ = _this$state$pageInfo.maxResultCount,
|
|
8958
|
+
maxResultCount = _this$state$pageInfo$ === void 0 ? 0 : _this$state$pageInfo$,
|
|
8959
|
+
currentPage = _this$state$pageInfo.currentPage;
|
|
8960
|
+
this.state.pageInfo.skipCount = (currentPage - 1) * maxResultCount;
|
|
8961
|
+
this.$emit("onchange", this.state.pageInfo);
|
|
8962
|
+
}
|
|
8963
|
+
/** 更新每页条数 */
|
|
8964
|
+
|
|
8965
|
+
}, {
|
|
8966
|
+
key: "handelSizeChange",
|
|
8967
|
+
value: function handelSizeChange(val) {
|
|
8968
|
+
this.state.pageInfo.currentPage = 1;
|
|
8969
|
+
this.state.pageInfo.maxResultCount = val;
|
|
8970
|
+
this.handleCurrentChange(1);
|
|
8971
|
+
}
|
|
8972
|
+
/** 监听 */
|
|
8973
|
+
|
|
8974
|
+
}, {
|
|
8975
|
+
key: "setpageInfo",
|
|
8976
|
+
value: function setpageInfo(val) {
|
|
8977
|
+
var pageInfo = val;
|
|
8978
|
+
this.state.pageInfo = {
|
|
8979
|
+
currentPage: Number(pageInfo.currentPage),
|
|
8980
|
+
maxResultCount: Number(pageInfo.pageSize),
|
|
8981
|
+
skipCount: Number(pageInfo.skipCount),
|
|
8982
|
+
totalCount: Number(pageInfo.totalCount)
|
|
8983
|
+
};
|
|
8984
|
+
}
|
|
8985
|
+
}]);
|
|
8986
|
+
|
|
8987
|
+
return HtPagination;
|
|
8988
|
+
}(external_commonjs_vue_commonjs2_vue_root_Vue_default.a);
|
|
8989
|
+
|
|
8990
|
+
__decorate([Prop()], PageInfovue_type_script_lang_ts_HtPagination.prototype, "comStyle", void 0);
|
|
8991
|
+
|
|
8992
|
+
__decorate([Prop()], PageInfovue_type_script_lang_ts_HtPagination.prototype, "small", void 0);
|
|
8993
|
+
|
|
8994
|
+
__decorate([Prop()], PageInfovue_type_script_lang_ts_HtPagination.prototype, "pageInfo", void 0);
|
|
8995
|
+
|
|
8996
|
+
__decorate([Prop()], PageInfovue_type_script_lang_ts_HtPagination.prototype, "pageSize", void 0);
|
|
8997
|
+
|
|
8998
|
+
__decorate([Prop()], PageInfovue_type_script_lang_ts_HtPagination.prototype, "skipCount", void 0);
|
|
8999
|
+
|
|
9000
|
+
__decorate([Prop()], PageInfovue_type_script_lang_ts_HtPagination.prototype, "disabled", void 0);
|
|
9001
|
+
|
|
9002
|
+
__decorate([Prop()], PageInfovue_type_script_lang_ts_HtPagination.prototype, "background", void 0);
|
|
9003
|
+
|
|
9004
|
+
__decorate([Prop()], PageInfovue_type_script_lang_ts_HtPagination.prototype, "hideOnSinglePage", void 0);
|
|
9005
|
+
|
|
9006
|
+
__decorate([Prop()], PageInfovue_type_script_lang_ts_HtPagination.prototype, "pageSizes", void 0);
|
|
9007
|
+
|
|
9008
|
+
__decorate([Prop()], PageInfovue_type_script_lang_ts_HtPagination.prototype, "layout", void 0);
|
|
9009
|
+
|
|
9010
|
+
__decorate([Watch("pageInfo")], PageInfovue_type_script_lang_ts_HtPagination.prototype, "setpageInfo", null);
|
|
9011
|
+
|
|
9012
|
+
PageInfovue_type_script_lang_ts_HtPagination = __decorate([vue_class_component_esm], PageInfovue_type_script_lang_ts_HtPagination);
|
|
9013
|
+
/* harmony default export */ var PageInfovue_type_script_lang_ts_ = (PageInfovue_type_script_lang_ts_HtPagination);
|
|
9014
|
+
// CONCATENATED MODULE: ./src/packages/PageInfo/index.vue?vue&type=script&lang=ts&
|
|
9015
|
+
/* harmony default export */ var packages_PageInfovue_type_script_lang_ts_ = (PageInfovue_type_script_lang_ts_);
|
|
9016
|
+
// CONCATENATED MODULE: ./src/packages/PageInfo/index.vue
|
|
9017
|
+
|
|
9018
|
+
|
|
9019
|
+
|
|
9020
|
+
|
|
9021
|
+
|
|
9022
|
+
/* normalize component */
|
|
9023
|
+
|
|
9024
|
+
var PageInfo_component = normalizeComponent(
|
|
9025
|
+
packages_PageInfovue_type_script_lang_ts_,
|
|
9026
|
+
PageInfovue_type_template_id_08687955_render,
|
|
9027
|
+
PageInfovue_type_template_id_08687955_staticRenderFns,
|
|
9028
|
+
false,
|
|
9029
|
+
null,
|
|
9030
|
+
null,
|
|
9031
|
+
null
|
|
9032
|
+
|
|
9033
|
+
)
|
|
9034
|
+
|
|
9035
|
+
/* harmony default export */ var PageInfo = (PageInfo_component.exports);
|
|
9036
|
+
// CONCATENATED MODULE: ./src/packages/PageInfo/index.ts
|
|
9037
|
+
/*
|
|
9038
|
+
* @Descripttion:
|
|
9039
|
+
* @version:
|
|
9040
|
+
* @Author: hutao
|
|
9041
|
+
* @Date: 2021-11-15 15:00:57
|
|
9042
|
+
* @LastEditors: hutao
|
|
9043
|
+
* @LastEditTime: 2021-12-08 11:39:52
|
|
9044
|
+
*/
|
|
9045
|
+
|
|
9046
|
+
|
|
9047
|
+
PageInfo.install = function (Vue) {
|
|
9048
|
+
Vue.component("HtPagination", PageInfo);
|
|
9049
|
+
};
|
|
9050
|
+
|
|
9051
|
+
/* harmony default export */ var packages_PageInfo = (PageInfo);
|
|
9052
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"46e974bd-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/HtTable/index.vue?vue&type=template&id=75844174&scoped=true&
|
|
9053
|
+
var HtTablevue_type_template_id_75844174_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.state.loading),expression:"state.loading"}]},[_c('article',[_c('el-table',{ref:"comTable",attrs:{"height":_vm.height,"max-height":_vm.maxHeight,"border":_vm.border,"stripe":_vm.stripe,"size":_vm.size,"fit":_vm.fit,"show-header":_vm.showHeader,"empty-text":_vm.emptyText||'暂无数据',"row-style":_vm.rowStyle,"row-class-name":_vm.rowClassName,"current-row-key":_vm.currentRowKey,"highlight-current-row":_vm.highlightCurrentRow,"row-key":_vm.rowKey||'id',"data":_vm.data,"tooltip-effect":"dark"},on:{"row-click":function (row, column, event){ return _vm.$emit('row-click',row, column, event); },"row-contextmenu":function (row, column, event){ return _vm.$emit('row-contextmenu',row, column, event); },"row-dblclick":function (row, column, event){ return _vm.$emit('row-dblclick',row, column, event); },"header-click":function ( column, event){ return _vm.$emit('header-click', column, event); },"header-contextmenu":function ( column, event){ return _vm.$emit('header-contextmenu', column, event); },"sort-change":function (ref){
|
|
9054
|
+
var column = ref.column;
|
|
9055
|
+
var prop = ref.prop;
|
|
9056
|
+
var order = ref.order;
|
|
9057
|
+
|
|
9058
|
+
return _vm.$emit('sort-change', { column: column, prop: prop, order: order});
|
|
9059
|
+
},"filter-change":function (filter){ return _vm.$emit('filter-change', filter); },"current-change":function (currentRow, oldCurrentRow){ return _vm.$emit('current-change', currentRow, oldCurrentRow); },"select":function (selection, row){ return _vm.$emit('select',selection, row); },"select-all":function (selection){ return _vm.$emit('select-all',selection); },"selection-change":function (selection){ return _vm.$emit('selection-change',selection); },"cell-mouse-enter":function (row, column, cell, event){ return _vm.$emit('cell-mouse-enter',row, column, cell, event); },"cell-mouse-leave":function (row, column, cell, event){ return _vm.$emit('cell-mouse-leave',row, column, cell, event); },"cell-click":function (row, column, cell, event){ return _vm.$emit('cell-click',row, column, cell, event); },"cell-dblclick":function (row, column, cell, event){ return _vm.$emit('cell-dblclick',row, column, cell, event); }}},[_c('el-table-column',{attrs:{"width":"55","type":"selection"}}),(!_vm.hideOrder)?_c('el-table-column',{attrs:{"label":"序号","width":"55"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_vm._v(" "+_vm._s((_vm.state.pageInfo.currentPage-1)*_vm.state.pageInfo.pageSize+(scope.$index+1))+" ")]}}],null,false,2272936552)},[_c('template',{slot:"header"},[_vm._t('header_order')],2)],2):_vm._e(),_vm._l((_vm.columns),function(item){return _c('el-table-column',{key:item.key,attrs:{"label":item.title,"show-overflow-tooltip":true,"prop":item.key,"width":item.width||120},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
9060
|
+
var row = ref.row;
|
|
9061
|
+
var column = ref.column;
|
|
9062
|
+
var rowIndex = ref.rowIndex;
|
|
9063
|
+
return [_vm._t(item.key,[_vm._v(_vm._s(row[item.key]))],{"row":row,"column":column,"rowIndex":rowIndex}),_vm._v(" "+_vm._s(item.headerSlot)+" ")]}},{key:"header",fn:function(ref){
|
|
9064
|
+
var column = ref.column;
|
|
9065
|
+
var $index = ref.$index;
|
|
9066
|
+
return [_vm._t('header_'+item.key,[_vm._v(_vm._s(item.title))],{"column":column,"$index":$index})]}}],null,true)})})],2)],1),(!_vm.hidePage)?_c('footer',[_c('el-row',[_c('el-col',{attrs:{"span":24}},[_c('PageInfo',{attrs:{"hide-on-single-page":_vm.pagination&&_vm.pagination.hideOnSinglePage,"small":_vm.pagination&&_vm.pagination.small,"page-sizes":_vm.pagination&&_vm.pagination.pageSizes,"page-info":_vm.state.pageInfo},on:{"onchange":function (e){ return _vm.$emit('onchange',e); }}})],1)],1)],1):_vm._e()])}
|
|
9067
|
+
var HtTablevue_type_template_id_75844174_scoped_true_staticRenderFns = []
|
|
9068
|
+
|
|
9069
|
+
|
|
9070
|
+
// CONCATENATED MODULE: ./src/packages/HtTable/index.vue?vue&type=template&id=75844174&scoped=true&
|
|
9071
|
+
|
|
9072
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/HtTable/index.vue?vue&type=script&lang=ts&
|
|
9073
|
+
|
|
9074
|
+
|
|
9075
|
+
|
|
9076
|
+
|
|
9077
|
+
|
|
9078
|
+
|
|
9079
|
+
|
|
9080
|
+
|
|
9081
|
+
|
|
9082
|
+
var HtTablevue_type_script_lang_ts_Index = /*#__PURE__*/function (_Vue) {
|
|
9083
|
+
_inherits(Index, _Vue);
|
|
9084
|
+
|
|
9085
|
+
var _super = _createSuper(Index);
|
|
9086
|
+
|
|
9087
|
+
function Index() {
|
|
9088
|
+
var _this;
|
|
9089
|
+
|
|
9090
|
+
_classCallCheck(this, Index);
|
|
9091
|
+
|
|
9092
|
+
_this = _super.apply(this, arguments);
|
|
9093
|
+
_this.state = {
|
|
9094
|
+
loading: false,
|
|
9095
|
+
pageInfo: {
|
|
9096
|
+
currentPage: 1,
|
|
9097
|
+
pageSize: 10,
|
|
9098
|
+
skipCount: 0,
|
|
9099
|
+
totalCount: 0
|
|
9100
|
+
}
|
|
9101
|
+
};
|
|
9102
|
+
return _this;
|
|
9103
|
+
}
|
|
9104
|
+
|
|
9105
|
+
_createClass(Index, [{
|
|
9106
|
+
key: "created",
|
|
9107
|
+
value: function created() {
|
|
9108
|
+
// console.log("this", this.$props);
|
|
9109
|
+
this.setPageInfo(this.pageInfo);
|
|
9110
|
+
}
|
|
9111
|
+
/** 监听 */
|
|
9112
|
+
|
|
9113
|
+
}, {
|
|
9114
|
+
key: "setPageInfo",
|
|
9115
|
+
value: function setPageInfo(val) {
|
|
9116
|
+
if (val) {
|
|
9117
|
+
var pageInfo = val;
|
|
9118
|
+
this.state.pageInfo = {
|
|
9119
|
+
currentPage: Number(pageInfo.currentPage),
|
|
9120
|
+
pageSize: Number(pageInfo.pageSize),
|
|
9121
|
+
skipCount: Number(pageInfo.skipCount),
|
|
9122
|
+
totalCount: Number(pageInfo.totalCount)
|
|
9123
|
+
};
|
|
9124
|
+
}
|
|
9125
|
+
}
|
|
9126
|
+
}]);
|
|
9127
|
+
|
|
9128
|
+
return Index;
|
|
9129
|
+
}(external_commonjs_vue_commonjs2_vue_root_Vue_default.a);
|
|
9130
|
+
|
|
9131
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "columns", void 0);
|
|
9132
|
+
|
|
9133
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "data", void 0);
|
|
9134
|
+
|
|
9135
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "hidePage", void 0);
|
|
9136
|
+
|
|
9137
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "height", void 0);
|
|
9138
|
+
|
|
9139
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "maxHeight", void 0);
|
|
9140
|
+
|
|
9141
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "rowKey", void 0);
|
|
9142
|
+
|
|
9143
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "stripe", void 0);
|
|
9144
|
+
|
|
9145
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "border", void 0);
|
|
9146
|
+
|
|
9147
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "size", void 0);
|
|
9148
|
+
|
|
9149
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "fit", void 0);
|
|
9150
|
+
|
|
9151
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "showHeader", void 0);
|
|
9152
|
+
|
|
9153
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "rowClassName", void 0);
|
|
9154
|
+
|
|
9155
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "currentRowKey", void 0);
|
|
9156
|
+
|
|
9157
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "highlightCurrentRow", void 0);
|
|
9158
|
+
|
|
9159
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "rowStyle", void 0);
|
|
9160
|
+
|
|
9161
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "hideOrder", void 0);
|
|
9162
|
+
|
|
9163
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "pageInfo", void 0);
|
|
9164
|
+
|
|
9165
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "emptyText", void 0);
|
|
9166
|
+
|
|
9167
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_Index.prototype, "pagination", void 0);
|
|
9168
|
+
|
|
9169
|
+
__decorate([Watch("pageInfo")], HtTablevue_type_script_lang_ts_Index.prototype, "setPageInfo", null);
|
|
9170
|
+
|
|
9171
|
+
HtTablevue_type_script_lang_ts_Index = __decorate([vue_class_component_esm({
|
|
9172
|
+
components: {
|
|
9173
|
+
PageInfo: PageInfo
|
|
9174
|
+
}
|
|
9175
|
+
})], HtTablevue_type_script_lang_ts_Index);
|
|
9176
|
+
/* harmony default export */ var HtTablevue_type_script_lang_ts_ = (HtTablevue_type_script_lang_ts_Index);
|
|
9177
|
+
// CONCATENATED MODULE: ./src/packages/HtTable/index.vue?vue&type=script&lang=ts&
|
|
9178
|
+
/* harmony default export */ var packages_HtTablevue_type_script_lang_ts_ = (HtTablevue_type_script_lang_ts_);
|
|
9179
|
+
// CONCATENATED MODULE: ./src/packages/HtTable/index.vue
|
|
9180
|
+
|
|
9181
|
+
|
|
9182
|
+
|
|
9183
|
+
|
|
9184
|
+
|
|
9185
|
+
/* normalize component */
|
|
9186
|
+
|
|
9187
|
+
var HtTable_component = normalizeComponent(
|
|
9188
|
+
packages_HtTablevue_type_script_lang_ts_,
|
|
9189
|
+
HtTablevue_type_template_id_75844174_scoped_true_render,
|
|
9190
|
+
HtTablevue_type_template_id_75844174_scoped_true_staticRenderFns,
|
|
9191
|
+
false,
|
|
9192
|
+
null,
|
|
9193
|
+
"75844174",
|
|
9194
|
+
null
|
|
9195
|
+
|
|
9196
|
+
)
|
|
9197
|
+
|
|
9198
|
+
/* harmony default export */ var HtTable = (HtTable_component.exports);
|
|
9199
|
+
// CONCATENATED MODULE: ./src/packages/HtTable/index.ts
|
|
9200
|
+
/*
|
|
9201
|
+
* @Descripttion:
|
|
9202
|
+
* @version:
|
|
9203
|
+
* @Author: hutao
|
|
9204
|
+
* @Date: 2021-11-15 15:00:57
|
|
9205
|
+
* @LastEditors: hutao
|
|
9206
|
+
* @LastEditTime: 2021-12-09 14:21:20
|
|
9207
|
+
*/
|
|
9208
|
+
|
|
9209
|
+
|
|
9210
|
+
HtTable.install = function (Vue) {
|
|
9211
|
+
Vue.component("HtTable", HtTable);
|
|
9212
|
+
};
|
|
9213
|
+
|
|
9214
|
+
/* harmony default export */ var packages_HtTable = (HtTable);
|
|
8730
9215
|
// CONCATENATED MODULE: ./src/packages/index.ts
|
|
8731
9216
|
|
|
8732
9217
|
|
|
9218
|
+
|
|
8733
9219
|
/*
|
|
8734
9220
|
* @Descripttion:
|
|
8735
9221
|
* @version:
|
|
8736
9222
|
* @Author: hutao
|
|
8737
9223
|
* @Date: 2021-10-21 10:08:41
|
|
8738
9224
|
* @LastEditors: hutao
|
|
8739
|
-
* @LastEditTime: 2021-12-
|
|
9225
|
+
* @LastEditTime: 2021-12-09 14:21:37
|
|
8740
9226
|
*/
|
|
9227
|
+
|
|
9228
|
+
/** 下拉table选择控件 */
|
|
9229
|
+
|
|
9230
|
+
/** 分页组装配件 */
|
|
9231
|
+
|
|
9232
|
+
|
|
8741
9233
|
// 存储组件列表
|
|
8742
9234
|
|
|
8743
|
-
var components = [packages_SelectTable];
|
|
8744
|
-
var comString = ["HtSelectTable"]; // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
|
|
9235
|
+
var components = [packages_SelectTable, packages_PageInfo, packages_HtTable]; // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
|
|
8745
9236
|
|
|
8746
9237
|
var install = function install(Vue) {
|
|
8747
9238
|
// 判断是否安装
|
|
8748
9239
|
if (install.installed) return; // 遍历注册全局组件
|
|
8749
9240
|
|
|
8750
9241
|
components.map(function (component, index) {
|
|
8751
|
-
|
|
8752
|
-
console.log('component', component.options);
|
|
8753
|
-
return Vue.component(comString[index], component);
|
|
9242
|
+
return Vue.component(component.options.name || component.name, component);
|
|
8754
9243
|
});
|
|
8755
9244
|
}; // 判断是否是直接引入文件
|
|
8756
9245
|
|
package/lib/htui.common.js.gz
CHANGED
|
Binary file
|