htui-yllkbz 1.2.13 → 1.2.17
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/README.md +22 -1
- package/lib/htui.common.js +230 -52
- package/lib/htui.common.js.gz +0 -0
- package/lib/htui.umd.js +230 -52
- package/lib/htui.umd.js.gz +0 -0
- package/lib/htui.umd.min.js +3 -3
- package/lib/htui.umd.min.js.gz +0 -0
- package/package.json +1 -1
- package/src/packages/HtTable/index.vue +24 -4
- package/src/packages/PageInfo/index.vue +4 -2
- package/src/packages/index.ts +2 -2
- package/src/views/About.vue +10 -6
package/lib/htui.umd.js
CHANGED
|
@@ -397,6 +397,148 @@ module.exports = function spread(callback) {
|
|
|
397
397
|
};
|
|
398
398
|
|
|
399
399
|
|
|
400
|
+
/***/ }),
|
|
401
|
+
|
|
402
|
+
/***/ "1276":
|
|
403
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
404
|
+
|
|
405
|
+
"use strict";
|
|
406
|
+
|
|
407
|
+
var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784");
|
|
408
|
+
var isRegExp = __webpack_require__("44e7");
|
|
409
|
+
var anObject = __webpack_require__("825a");
|
|
410
|
+
var requireObjectCoercible = __webpack_require__("1d80");
|
|
411
|
+
var speciesConstructor = __webpack_require__("4840");
|
|
412
|
+
var advanceStringIndex = __webpack_require__("8aa5");
|
|
413
|
+
var toLength = __webpack_require__("50c4");
|
|
414
|
+
var callRegExpExec = __webpack_require__("14c3");
|
|
415
|
+
var regexpExec = __webpack_require__("9263");
|
|
416
|
+
var fails = __webpack_require__("d039");
|
|
417
|
+
|
|
418
|
+
var arrayPush = [].push;
|
|
419
|
+
var min = Math.min;
|
|
420
|
+
var MAX_UINT32 = 0xFFFFFFFF;
|
|
421
|
+
|
|
422
|
+
// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
|
|
423
|
+
var SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); });
|
|
424
|
+
|
|
425
|
+
// @@split logic
|
|
426
|
+
fixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {
|
|
427
|
+
var internalSplit;
|
|
428
|
+
if (
|
|
429
|
+
'abbc'.split(/(b)*/)[1] == 'c' ||
|
|
430
|
+
'test'.split(/(?:)/, -1).length != 4 ||
|
|
431
|
+
'ab'.split(/(?:ab)*/).length != 2 ||
|
|
432
|
+
'.'.split(/(.?)(.?)/).length != 4 ||
|
|
433
|
+
'.'.split(/()()/).length > 1 ||
|
|
434
|
+
''.split(/.?/).length
|
|
435
|
+
) {
|
|
436
|
+
// based on es5-shim implementation, need to rework it
|
|
437
|
+
internalSplit = function (separator, limit) {
|
|
438
|
+
var string = String(requireObjectCoercible(this));
|
|
439
|
+
var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
|
|
440
|
+
if (lim === 0) return [];
|
|
441
|
+
if (separator === undefined) return [string];
|
|
442
|
+
// If `separator` is not a regex, use native split
|
|
443
|
+
if (!isRegExp(separator)) {
|
|
444
|
+
return nativeSplit.call(string, separator, lim);
|
|
445
|
+
}
|
|
446
|
+
var output = [];
|
|
447
|
+
var flags = (separator.ignoreCase ? 'i' : '') +
|
|
448
|
+
(separator.multiline ? 'm' : '') +
|
|
449
|
+
(separator.unicode ? 'u' : '') +
|
|
450
|
+
(separator.sticky ? 'y' : '');
|
|
451
|
+
var lastLastIndex = 0;
|
|
452
|
+
// Make `global` and avoid `lastIndex` issues by working with a copy
|
|
453
|
+
var separatorCopy = new RegExp(separator.source, flags + 'g');
|
|
454
|
+
var match, lastIndex, lastLength;
|
|
455
|
+
while (match = regexpExec.call(separatorCopy, string)) {
|
|
456
|
+
lastIndex = separatorCopy.lastIndex;
|
|
457
|
+
if (lastIndex > lastLastIndex) {
|
|
458
|
+
output.push(string.slice(lastLastIndex, match.index));
|
|
459
|
+
if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));
|
|
460
|
+
lastLength = match[0].length;
|
|
461
|
+
lastLastIndex = lastIndex;
|
|
462
|
+
if (output.length >= lim) break;
|
|
463
|
+
}
|
|
464
|
+
if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop
|
|
465
|
+
}
|
|
466
|
+
if (lastLastIndex === string.length) {
|
|
467
|
+
if (lastLength || !separatorCopy.test('')) output.push('');
|
|
468
|
+
} else output.push(string.slice(lastLastIndex));
|
|
469
|
+
return output.length > lim ? output.slice(0, lim) : output;
|
|
470
|
+
};
|
|
471
|
+
// Chakra, V8
|
|
472
|
+
} else if ('0'.split(undefined, 0).length) {
|
|
473
|
+
internalSplit = function (separator, limit) {
|
|
474
|
+
return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);
|
|
475
|
+
};
|
|
476
|
+
} else internalSplit = nativeSplit;
|
|
477
|
+
|
|
478
|
+
return [
|
|
479
|
+
// `String.prototype.split` method
|
|
480
|
+
// https://tc39.github.io/ecma262/#sec-string.prototype.split
|
|
481
|
+
function split(separator, limit) {
|
|
482
|
+
var O = requireObjectCoercible(this);
|
|
483
|
+
var splitter = separator == undefined ? undefined : separator[SPLIT];
|
|
484
|
+
return splitter !== undefined
|
|
485
|
+
? splitter.call(separator, O, limit)
|
|
486
|
+
: internalSplit.call(String(O), separator, limit);
|
|
487
|
+
},
|
|
488
|
+
// `RegExp.prototype[@@split]` method
|
|
489
|
+
// https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split
|
|
490
|
+
//
|
|
491
|
+
// NOTE: This cannot be properly polyfilled in engines that don't support
|
|
492
|
+
// the 'y' flag.
|
|
493
|
+
function (regexp, limit) {
|
|
494
|
+
var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);
|
|
495
|
+
if (res.done) return res.value;
|
|
496
|
+
|
|
497
|
+
var rx = anObject(regexp);
|
|
498
|
+
var S = String(this);
|
|
499
|
+
var C = speciesConstructor(rx, RegExp);
|
|
500
|
+
|
|
501
|
+
var unicodeMatching = rx.unicode;
|
|
502
|
+
var flags = (rx.ignoreCase ? 'i' : '') +
|
|
503
|
+
(rx.multiline ? 'm' : '') +
|
|
504
|
+
(rx.unicode ? 'u' : '') +
|
|
505
|
+
(SUPPORTS_Y ? 'y' : 'g');
|
|
506
|
+
|
|
507
|
+
// ^(? + rx + ) is needed, in combination with some S slicing, to
|
|
508
|
+
// simulate the 'y' flag.
|
|
509
|
+
var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
|
|
510
|
+
var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
|
|
511
|
+
if (lim === 0) return [];
|
|
512
|
+
if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
|
|
513
|
+
var p = 0;
|
|
514
|
+
var q = 0;
|
|
515
|
+
var A = [];
|
|
516
|
+
while (q < S.length) {
|
|
517
|
+
splitter.lastIndex = SUPPORTS_Y ? q : 0;
|
|
518
|
+
var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
|
|
519
|
+
var e;
|
|
520
|
+
if (
|
|
521
|
+
z === null ||
|
|
522
|
+
(e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
|
|
523
|
+
) {
|
|
524
|
+
q = advanceStringIndex(S, q, unicodeMatching);
|
|
525
|
+
} else {
|
|
526
|
+
A.push(S.slice(p, q));
|
|
527
|
+
if (A.length === lim) return A;
|
|
528
|
+
for (var i = 1; i <= z.length - 1; i++) {
|
|
529
|
+
A.push(z[i]);
|
|
530
|
+
if (A.length === lim) return A;
|
|
531
|
+
}
|
|
532
|
+
q = p = e;
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
A.push(S.slice(p));
|
|
536
|
+
return A;
|
|
537
|
+
}
|
|
538
|
+
];
|
|
539
|
+
}, !SUPPORTS_Y);
|
|
540
|
+
|
|
541
|
+
|
|
400
542
|
/***/ }),
|
|
401
543
|
|
|
402
544
|
/***/ "14c3":
|
|
@@ -8899,12 +9041,12 @@ SelectTable.install = function (Vue) {
|
|
|
8899
9041
|
};
|
|
8900
9042
|
|
|
8901
9043
|
/* harmony default export */ var packages_SelectTable = (SelectTable);
|
|
8902
|
-
// 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=
|
|
8903
|
-
var
|
|
8904
|
-
var
|
|
9044
|
+
// 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=abb473c6&
|
|
9045
|
+
var PageInfovue_type_template_id_abb473c6_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}})}
|
|
9046
|
+
var PageInfovue_type_template_id_abb473c6_staticRenderFns = []
|
|
8905
9047
|
|
|
8906
9048
|
|
|
8907
|
-
// CONCATENATED MODULE: ./src/packages/PageInfo/index.vue?vue&type=template&id=
|
|
9049
|
+
// CONCATENATED MODULE: ./src/packages/PageInfo/index.vue?vue&type=template&id=abb473c6&
|
|
8908
9050
|
|
|
8909
9051
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
8910
9052
|
var es_number_constructor = __webpack_require__("a9e3");
|
|
@@ -9018,7 +9160,9 @@ __decorate([Prop()], PageInfovue_type_script_lang_ts_HtPagination.prototype, "la
|
|
|
9018
9160
|
|
|
9019
9161
|
__decorate([Watch("pageInfo")], PageInfovue_type_script_lang_ts_HtPagination.prototype, "setpageInfo", null);
|
|
9020
9162
|
|
|
9021
|
-
PageInfovue_type_script_lang_ts_HtPagination = __decorate([vue_class_component_esm
|
|
9163
|
+
PageInfovue_type_script_lang_ts_HtPagination = __decorate([vue_class_component_esm({
|
|
9164
|
+
name: "HtPagination"
|
|
9165
|
+
})], PageInfovue_type_script_lang_ts_HtPagination);
|
|
9022
9166
|
/* harmony default export */ var PageInfovue_type_script_lang_ts_ = (PageInfovue_type_script_lang_ts_HtPagination);
|
|
9023
9167
|
// CONCATENATED MODULE: ./src/packages/PageInfo/index.vue?vue&type=script&lang=ts&
|
|
9024
9168
|
/* harmony default export */ var packages_PageInfovue_type_script_lang_ts_ = (PageInfovue_type_script_lang_ts_);
|
|
@@ -9032,8 +9176,8 @@ PageInfovue_type_script_lang_ts_HtPagination = __decorate([vue_class_component_e
|
|
|
9032
9176
|
|
|
9033
9177
|
var PageInfo_component = normalizeComponent(
|
|
9034
9178
|
packages_PageInfovue_type_script_lang_ts_,
|
|
9035
|
-
|
|
9036
|
-
|
|
9179
|
+
PageInfovue_type_template_id_abb473c6_render,
|
|
9180
|
+
PageInfovue_type_template_id_abb473c6_staticRenderFns,
|
|
9037
9181
|
false,
|
|
9038
9182
|
null,
|
|
9039
9183
|
null,
|
|
@@ -9058,8 +9202,8 @@ PageInfo.install = function (Vue) {
|
|
|
9058
9202
|
};
|
|
9059
9203
|
|
|
9060
9204
|
/* harmony default export */ var packages_PageInfo = (PageInfo);
|
|
9061
|
-
// 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=
|
|
9062
|
-
var
|
|
9205
|
+
// 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=06ef828a&scoped=true&
|
|
9206
|
+
var HtTablevue_type_template_id_06ef828a_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){
|
|
9063
9207
|
var column = ref.column;
|
|
9064
9208
|
var prop = ref.prop;
|
|
9065
9209
|
var order = ref.order;
|
|
@@ -9069,14 +9213,17 @@ var HtTablevue_type_template_id_75844174_scoped_true_render = function () {var _
|
|
|
9069
9213
|
var row = ref.row;
|
|
9070
9214
|
var column = ref.column;
|
|
9071
9215
|
var rowIndex = ref.rowIndex;
|
|
9072
|
-
return [_vm._t(item.key,[_vm._v(_vm._s(row
|
|
9216
|
+
return [_vm._t(item.key,[_vm._v(_vm._s(_vm.showValue(row,item.key)))],{"row":row,"column":column,"rowIndex":rowIndex})]}},{key:"header",fn:function(ref){
|
|
9073
9217
|
var column = ref.column;
|
|
9074
9218
|
var $index = ref.$index;
|
|
9075
9219
|
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()])}
|
|
9076
|
-
var
|
|
9220
|
+
var HtTablevue_type_template_id_06ef828a_scoped_true_staticRenderFns = []
|
|
9221
|
+
|
|
9077
9222
|
|
|
9223
|
+
// CONCATENATED MODULE: ./src/packages/HtTable/index.vue?vue&type=template&id=06ef828a&scoped=true&
|
|
9078
9224
|
|
|
9079
|
-
//
|
|
9225
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
|
|
9226
|
+
var es_string_split = __webpack_require__("1276");
|
|
9080
9227
|
|
|
9081
9228
|
// 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&
|
|
9082
9229
|
|
|
@@ -9088,15 +9235,21 @@ var HtTablevue_type_template_id_75844174_scoped_true_staticRenderFns = []
|
|
|
9088
9235
|
|
|
9089
9236
|
|
|
9090
9237
|
|
|
9091
|
-
var HtTablevue_type_script_lang_ts_Index = /*#__PURE__*/function (_Vue) {
|
|
9092
|
-
_inherits(Index, _Vue);
|
|
9093
9238
|
|
|
9094
|
-
var _super = _createSuper(Index);
|
|
9095
9239
|
|
|
9096
|
-
|
|
9240
|
+
|
|
9241
|
+
|
|
9242
|
+
|
|
9243
|
+
|
|
9244
|
+
var HtTablevue_type_script_lang_ts_HtTable = /*#__PURE__*/function (_Vue) {
|
|
9245
|
+
_inherits(HtTable, _Vue);
|
|
9246
|
+
|
|
9247
|
+
var _super = _createSuper(HtTable);
|
|
9248
|
+
|
|
9249
|
+
function HtTable() {
|
|
9097
9250
|
var _this;
|
|
9098
9251
|
|
|
9099
|
-
_classCallCheck(this,
|
|
9252
|
+
_classCallCheck(this, HtTable);
|
|
9100
9253
|
|
|
9101
9254
|
_this = _super.apply(this, arguments);
|
|
9102
9255
|
_this.state = {
|
|
@@ -9111,12 +9264,34 @@ var HtTablevue_type_script_lang_ts_Index = /*#__PURE__*/function (_Vue) {
|
|
|
9111
9264
|
return _this;
|
|
9112
9265
|
}
|
|
9113
9266
|
|
|
9114
|
-
_createClass(
|
|
9267
|
+
_createClass(HtTable, [{
|
|
9115
9268
|
key: "created",
|
|
9116
9269
|
value: function created() {
|
|
9117
9270
|
// console.log("this", this.$props);
|
|
9118
9271
|
this.setPageInfo(this.pageInfo);
|
|
9119
9272
|
}
|
|
9273
|
+
/** 遍历循环展示row数据 */
|
|
9274
|
+
|
|
9275
|
+
}, {
|
|
9276
|
+
key: "showValue",
|
|
9277
|
+
value: function showValue(row, key) {
|
|
9278
|
+
if (key) {
|
|
9279
|
+
if (key.includes(".")) {
|
|
9280
|
+
//存在多级的情况
|
|
9281
|
+
var arrKey = key.split(".");
|
|
9282
|
+
var data = row;
|
|
9283
|
+
arrKey.forEach(function (item) {
|
|
9284
|
+
data = data[item];
|
|
9285
|
+
});
|
|
9286
|
+
return data;
|
|
9287
|
+
} else {
|
|
9288
|
+
//如果不存在多级数据
|
|
9289
|
+
return row[key];
|
|
9290
|
+
}
|
|
9291
|
+
} else {
|
|
9292
|
+
return "";
|
|
9293
|
+
}
|
|
9294
|
+
}
|
|
9120
9295
|
/** 监听 */
|
|
9121
9296
|
|
|
9122
9297
|
}, {
|
|
@@ -9134,55 +9309,56 @@ var HtTablevue_type_script_lang_ts_Index = /*#__PURE__*/function (_Vue) {
|
|
|
9134
9309
|
}
|
|
9135
9310
|
}]);
|
|
9136
9311
|
|
|
9137
|
-
return
|
|
9312
|
+
return HtTable;
|
|
9138
9313
|
}(external_commonjs_vue_commonjs2_vue_root_Vue_default.a);
|
|
9139
9314
|
|
|
9140
|
-
__decorate([Prop()],
|
|
9315
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "columns", void 0);
|
|
9141
9316
|
|
|
9142
|
-
__decorate([Prop()],
|
|
9317
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "data", void 0);
|
|
9143
9318
|
|
|
9144
|
-
__decorate([Prop()],
|
|
9319
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "hidePage", void 0);
|
|
9145
9320
|
|
|
9146
|
-
__decorate([Prop()],
|
|
9321
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "height", void 0);
|
|
9147
9322
|
|
|
9148
|
-
__decorate([Prop()],
|
|
9323
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "maxHeight", void 0);
|
|
9149
9324
|
|
|
9150
|
-
__decorate([Prop()],
|
|
9325
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "rowKey", void 0);
|
|
9151
9326
|
|
|
9152
|
-
__decorate([Prop()],
|
|
9327
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "stripe", void 0);
|
|
9153
9328
|
|
|
9154
|
-
__decorate([Prop()],
|
|
9329
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "border", void 0);
|
|
9155
9330
|
|
|
9156
|
-
__decorate([Prop()],
|
|
9331
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "size", void 0);
|
|
9157
9332
|
|
|
9158
|
-
__decorate([Prop()],
|
|
9333
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "fit", void 0);
|
|
9159
9334
|
|
|
9160
|
-
__decorate([Prop()],
|
|
9335
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "showHeader", void 0);
|
|
9161
9336
|
|
|
9162
|
-
__decorate([Prop()],
|
|
9337
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "rowClassName", void 0);
|
|
9163
9338
|
|
|
9164
|
-
__decorate([Prop()],
|
|
9339
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "currentRowKey", void 0);
|
|
9165
9340
|
|
|
9166
|
-
__decorate([Prop()],
|
|
9341
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "highlightCurrentRow", void 0);
|
|
9167
9342
|
|
|
9168
|
-
__decorate([Prop()],
|
|
9343
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "rowStyle", void 0);
|
|
9169
9344
|
|
|
9170
|
-
__decorate([Prop()],
|
|
9345
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "hideOrder", void 0);
|
|
9171
9346
|
|
|
9172
|
-
__decorate([Prop()],
|
|
9347
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "pageInfo", void 0);
|
|
9173
9348
|
|
|
9174
|
-
__decorate([Prop()],
|
|
9349
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "emptyText", void 0);
|
|
9175
9350
|
|
|
9176
|
-
__decorate([Prop()],
|
|
9351
|
+
__decorate([Prop()], HtTablevue_type_script_lang_ts_HtTable.prototype, "pagination", void 0);
|
|
9177
9352
|
|
|
9178
|
-
__decorate([Watch("pageInfo")],
|
|
9353
|
+
__decorate([Watch("pageInfo")], HtTablevue_type_script_lang_ts_HtTable.prototype, "setPageInfo", null);
|
|
9179
9354
|
|
|
9180
|
-
|
|
9355
|
+
HtTablevue_type_script_lang_ts_HtTable = __decorate([vue_class_component_esm({
|
|
9356
|
+
name: "HtTable",
|
|
9181
9357
|
components: {
|
|
9182
9358
|
PageInfo: PageInfo
|
|
9183
9359
|
}
|
|
9184
|
-
})],
|
|
9185
|
-
/* harmony default export */ var HtTablevue_type_script_lang_ts_ = (
|
|
9360
|
+
})], HtTablevue_type_script_lang_ts_HtTable);
|
|
9361
|
+
/* harmony default export */ var HtTablevue_type_script_lang_ts_ = (HtTablevue_type_script_lang_ts_HtTable);
|
|
9186
9362
|
// CONCATENATED MODULE: ./src/packages/HtTable/index.vue?vue&type=script&lang=ts&
|
|
9187
9363
|
/* harmony default export */ var packages_HtTablevue_type_script_lang_ts_ = (HtTablevue_type_script_lang_ts_);
|
|
9188
9364
|
// CONCATENATED MODULE: ./src/packages/HtTable/index.vue
|
|
@@ -9195,16 +9371,16 @@ HtTablevue_type_script_lang_ts_Index = __decorate([vue_class_component_esm({
|
|
|
9195
9371
|
|
|
9196
9372
|
var HtTable_component = normalizeComponent(
|
|
9197
9373
|
packages_HtTablevue_type_script_lang_ts_,
|
|
9198
|
-
|
|
9199
|
-
|
|
9374
|
+
HtTablevue_type_template_id_06ef828a_scoped_true_render,
|
|
9375
|
+
HtTablevue_type_template_id_06ef828a_scoped_true_staticRenderFns,
|
|
9200
9376
|
false,
|
|
9201
9377
|
null,
|
|
9202
|
-
"
|
|
9378
|
+
"06ef828a",
|
|
9203
9379
|
null
|
|
9204
9380
|
|
|
9205
9381
|
)
|
|
9206
9382
|
|
|
9207
|
-
/* harmony default export */ var
|
|
9383
|
+
/* harmony default export */ var packages_HtTable = (HtTable_component.exports);
|
|
9208
9384
|
// CONCATENATED MODULE: ./src/packages/HtTable/index.ts
|
|
9209
9385
|
/*
|
|
9210
9386
|
* @Descripttion:
|
|
@@ -9216,11 +9392,11 @@ var HtTable_component = normalizeComponent(
|
|
|
9216
9392
|
*/
|
|
9217
9393
|
|
|
9218
9394
|
|
|
9219
|
-
|
|
9220
|
-
Vue.component("HtTable",
|
|
9395
|
+
packages_HtTable.install = function (Vue) {
|
|
9396
|
+
Vue.component("HtTable", packages_HtTable);
|
|
9221
9397
|
};
|
|
9222
9398
|
|
|
9223
|
-
/* harmony default export */ var
|
|
9399
|
+
/* harmony default export */ var src_packages_HtTable = (packages_HtTable);
|
|
9224
9400
|
// CONCATENATED MODULE: ./src/packages/index.ts
|
|
9225
9401
|
|
|
9226
9402
|
|
|
@@ -9231,7 +9407,7 @@ HtTable.install = function (Vue) {
|
|
|
9231
9407
|
* @Author: hutao
|
|
9232
9408
|
* @Date: 2021-10-21 10:08:41
|
|
9233
9409
|
* @LastEditors: hutao
|
|
9234
|
-
* @LastEditTime: 2021-12-09
|
|
9410
|
+
* @LastEditTime: 2021-12-09 17:27:01
|
|
9235
9411
|
*/
|
|
9236
9412
|
|
|
9237
9413
|
/** 下拉table选择控件 */
|
|
@@ -9241,7 +9417,7 @@ HtTable.install = function (Vue) {
|
|
|
9241
9417
|
|
|
9242
9418
|
// 存储组件列表
|
|
9243
9419
|
|
|
9244
|
-
var components = [packages_SelectTable, packages_PageInfo,
|
|
9420
|
+
var components = [packages_SelectTable, packages_PageInfo, src_packages_HtTable]; // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
|
|
9245
9421
|
|
|
9246
9422
|
var install = function install(Vue) {
|
|
9247
9423
|
// 判断是否安装
|
|
@@ -9261,7 +9437,9 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
9261
9437
|
// 导出的对象必须具有 install,才能被 Vue.use() 方法安装
|
|
9262
9438
|
install: install,
|
|
9263
9439
|
// 以下是具体的组件列表
|
|
9264
|
-
HtSelectTable: packages_SelectTable
|
|
9440
|
+
HtSelectTable: packages_SelectTable,
|
|
9441
|
+
HtPagination: packages_PageInfo,
|
|
9442
|
+
HtTable: src_packages_HtTable
|
|
9265
9443
|
});
|
|
9266
9444
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
9267
9445
|
|
package/lib/htui.umd.js.gz
CHANGED
|
Binary file
|