@tongfun/tf-widget 0.1.7 → 0.1.8-beta
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/.browserslistrc +3 -3
- package/.editorconfig +5 -5
- package/.eslintrc.js +17 -17
- package/README.md +36 -8
- package/dist/css/chunk-vendors.a16c4353.css +1 -0
- package/dist/css/index.f35459d8.css +1 -0
- package/dist/fonts/element-icons.535877f5.woff +0 -0
- package/dist/fonts/element-icons.732389de.ttf +0 -0
- package/dist/js/chunk-vendors.c86d3e60.js +41 -0
- package/dist/js/index.36f35563.js +1 -0
- package/lib/tf-widget.common.js +1022 -2
- package/lib/tf-widget.css +1 -1
- package/lib/tf-widget.umd.js +1022 -2
- package/lib/tf-widget.umd.min.js +3 -3
- package/package/tf-layout/README.md +2 -0
- package/package/tf-layout/index.js +8 -0
- package/package/tf-layout/src/components/tf-labelbar.vue +361 -0
- package/package/tf-layout/src/components/tf-menu.vue +167 -0
- package/package/tf-layout/src/components/tf-right-menu.vue +89 -0
- package/package/tf-layout/src/components/tf-rotate-box.vue +50 -0
- package/package/tf-layout/src/tf-layout.vue +104 -0
- package/package.json +1 -1
- package/postinstall.js +10 -10
- package/src/index.js +5 -3
package/lib/tf-widget.common.js
CHANGED
|
@@ -500,6 +500,54 @@ module.exports = !__webpack_require__("4b8b")(function () {
|
|
|
500
500
|
});
|
|
501
501
|
|
|
502
502
|
|
|
503
|
+
/***/ }),
|
|
504
|
+
|
|
505
|
+
/***/ "0cb2":
|
|
506
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
507
|
+
|
|
508
|
+
var toObject = __webpack_require__("7b0b");
|
|
509
|
+
|
|
510
|
+
var floor = Math.floor;
|
|
511
|
+
var replace = ''.replace;
|
|
512
|
+
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
|
513
|
+
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
|
514
|
+
|
|
515
|
+
// `GetSubstitution` abstract operation
|
|
516
|
+
// https://tc39.es/ecma262/#sec-getsubstitution
|
|
517
|
+
module.exports = function (matched, str, position, captures, namedCaptures, replacement) {
|
|
518
|
+
var tailPos = position + matched.length;
|
|
519
|
+
var m = captures.length;
|
|
520
|
+
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
|
|
521
|
+
if (namedCaptures !== undefined) {
|
|
522
|
+
namedCaptures = toObject(namedCaptures);
|
|
523
|
+
symbols = SUBSTITUTION_SYMBOLS;
|
|
524
|
+
}
|
|
525
|
+
return replace.call(replacement, symbols, function (match, ch) {
|
|
526
|
+
var capture;
|
|
527
|
+
switch (ch.charAt(0)) {
|
|
528
|
+
case '$': return '$';
|
|
529
|
+
case '&': return matched;
|
|
530
|
+
case '`': return str.slice(0, position);
|
|
531
|
+
case "'": return str.slice(tailPos);
|
|
532
|
+
case '<':
|
|
533
|
+
capture = namedCaptures[ch.slice(1, -1)];
|
|
534
|
+
break;
|
|
535
|
+
default: // \d\d?
|
|
536
|
+
var n = +ch;
|
|
537
|
+
if (n === 0) return match;
|
|
538
|
+
if (n > m) {
|
|
539
|
+
var f = floor(n / 10);
|
|
540
|
+
if (f === 0) return match;
|
|
541
|
+
if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
|
|
542
|
+
return match;
|
|
543
|
+
}
|
|
544
|
+
capture = captures[n - 1];
|
|
545
|
+
}
|
|
546
|
+
return capture === undefined ? '' : capture;
|
|
547
|
+
});
|
|
548
|
+
};
|
|
549
|
+
|
|
550
|
+
|
|
503
551
|
/***/ }),
|
|
504
552
|
|
|
505
553
|
/***/ "0ccb":
|
|
@@ -1372,6 +1420,13 @@ for (var COLLECTION_NAME in DOMIterables) {
|
|
|
1372
1420
|
}
|
|
1373
1421
|
|
|
1374
1422
|
|
|
1423
|
+
/***/ }),
|
|
1424
|
+
|
|
1425
|
+
/***/ "15ec":
|
|
1426
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1427
|
+
|
|
1428
|
+
// extracted by mini-css-extract-plugin
|
|
1429
|
+
|
|
1375
1430
|
/***/ }),
|
|
1376
1431
|
|
|
1377
1432
|
/***/ "1609":
|
|
@@ -2608,6 +2663,13 @@ exports.default = {
|
|
|
2608
2663
|
|
|
2609
2664
|
/***/ }),
|
|
2610
2665
|
|
|
2666
|
+
/***/ "2ceb":
|
|
2667
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2668
|
+
|
|
2669
|
+
// extracted by mini-css-extract-plugin
|
|
2670
|
+
|
|
2671
|
+
/***/ }),
|
|
2672
|
+
|
|
2611
2673
|
/***/ "2cf4":
|
|
2612
2674
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2613
2675
|
|
|
@@ -5328,6 +5390,13 @@ module.exports = __webpack_require__("7f4d");
|
|
|
5328
5390
|
|
|
5329
5391
|
/***/ }),
|
|
5330
5392
|
|
|
5393
|
+
/***/ "47ac":
|
|
5394
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5395
|
+
|
|
5396
|
+
// extracted by mini-css-extract-plugin
|
|
5397
|
+
|
|
5398
|
+
/***/ }),
|
|
5399
|
+
|
|
5331
5400
|
/***/ "4840":
|
|
5332
5401
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5333
5402
|
|
|
@@ -8734,6 +8803,141 @@ module.exports = function dispatchRequest(config) {
|
|
|
8734
8803
|
};
|
|
8735
8804
|
|
|
8736
8805
|
|
|
8806
|
+
/***/ }),
|
|
8807
|
+
|
|
8808
|
+
/***/ "5319":
|
|
8809
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
8810
|
+
|
|
8811
|
+
"use strict";
|
|
8812
|
+
|
|
8813
|
+
var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784");
|
|
8814
|
+
var fails = __webpack_require__("d039");
|
|
8815
|
+
var anObject = __webpack_require__("825a");
|
|
8816
|
+
var toInteger = __webpack_require__("a691");
|
|
8817
|
+
var toLength = __webpack_require__("50c4");
|
|
8818
|
+
var toString = __webpack_require__("577e");
|
|
8819
|
+
var requireObjectCoercible = __webpack_require__("1d80");
|
|
8820
|
+
var advanceStringIndex = __webpack_require__("8aa5");
|
|
8821
|
+
var getSubstitution = __webpack_require__("0cb2");
|
|
8822
|
+
var regExpExec = __webpack_require__("14c3");
|
|
8823
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
8824
|
+
|
|
8825
|
+
var REPLACE = wellKnownSymbol('replace');
|
|
8826
|
+
var max = Math.max;
|
|
8827
|
+
var min = Math.min;
|
|
8828
|
+
|
|
8829
|
+
var maybeToString = function (it) {
|
|
8830
|
+
return it === undefined ? it : String(it);
|
|
8831
|
+
};
|
|
8832
|
+
|
|
8833
|
+
// IE <= 11 replaces $0 with the whole match, as if it was $&
|
|
8834
|
+
// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
|
|
8835
|
+
var REPLACE_KEEPS_$0 = (function () {
|
|
8836
|
+
// eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
|
|
8837
|
+
return 'a'.replace(/./, '$0') === '$0';
|
|
8838
|
+
})();
|
|
8839
|
+
|
|
8840
|
+
// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
|
|
8841
|
+
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
8842
|
+
if (/./[REPLACE]) {
|
|
8843
|
+
return /./[REPLACE]('a', '$0') === '';
|
|
8844
|
+
}
|
|
8845
|
+
return false;
|
|
8846
|
+
})();
|
|
8847
|
+
|
|
8848
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
|
|
8849
|
+
var re = /./;
|
|
8850
|
+
re.exec = function () {
|
|
8851
|
+
var result = [];
|
|
8852
|
+
result.groups = { a: '7' };
|
|
8853
|
+
return result;
|
|
8854
|
+
};
|
|
8855
|
+
// eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive
|
|
8856
|
+
return ''.replace(re, '$<a>') !== '7';
|
|
8857
|
+
});
|
|
8858
|
+
|
|
8859
|
+
// @@replace logic
|
|
8860
|
+
fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
|
|
8861
|
+
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
|
|
8862
|
+
|
|
8863
|
+
return [
|
|
8864
|
+
// `String.prototype.replace` method
|
|
8865
|
+
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
|
8866
|
+
function replace(searchValue, replaceValue) {
|
|
8867
|
+
var O = requireObjectCoercible(this);
|
|
8868
|
+
var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
|
|
8869
|
+
return replacer !== undefined
|
|
8870
|
+
? replacer.call(searchValue, O, replaceValue)
|
|
8871
|
+
: nativeReplace.call(toString(O), searchValue, replaceValue);
|
|
8872
|
+
},
|
|
8873
|
+
// `RegExp.prototype[@@replace]` method
|
|
8874
|
+
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
8875
|
+
function (string, replaceValue) {
|
|
8876
|
+
var rx = anObject(this);
|
|
8877
|
+
var S = toString(string);
|
|
8878
|
+
|
|
8879
|
+
if (
|
|
8880
|
+
typeof replaceValue === 'string' &&
|
|
8881
|
+
replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1 &&
|
|
8882
|
+
replaceValue.indexOf('$<') === -1
|
|
8883
|
+
) {
|
|
8884
|
+
var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
|
|
8885
|
+
if (res.done) return res.value;
|
|
8886
|
+
}
|
|
8887
|
+
|
|
8888
|
+
var functionalReplace = typeof replaceValue === 'function';
|
|
8889
|
+
if (!functionalReplace) replaceValue = toString(replaceValue);
|
|
8890
|
+
|
|
8891
|
+
var global = rx.global;
|
|
8892
|
+
if (global) {
|
|
8893
|
+
var fullUnicode = rx.unicode;
|
|
8894
|
+
rx.lastIndex = 0;
|
|
8895
|
+
}
|
|
8896
|
+
var results = [];
|
|
8897
|
+
while (true) {
|
|
8898
|
+
var result = regExpExec(rx, S);
|
|
8899
|
+
if (result === null) break;
|
|
8900
|
+
|
|
8901
|
+
results.push(result);
|
|
8902
|
+
if (!global) break;
|
|
8903
|
+
|
|
8904
|
+
var matchStr = toString(result[0]);
|
|
8905
|
+
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
|
8906
|
+
}
|
|
8907
|
+
|
|
8908
|
+
var accumulatedResult = '';
|
|
8909
|
+
var nextSourcePosition = 0;
|
|
8910
|
+
for (var i = 0; i < results.length; i++) {
|
|
8911
|
+
result = results[i];
|
|
8912
|
+
|
|
8913
|
+
var matched = toString(result[0]);
|
|
8914
|
+
var position = max(min(toInteger(result.index), S.length), 0);
|
|
8915
|
+
var captures = [];
|
|
8916
|
+
// NOTE: This is equivalent to
|
|
8917
|
+
// captures = result.slice(1).map(maybeToString)
|
|
8918
|
+
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
|
8919
|
+
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
|
|
8920
|
+
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
|
|
8921
|
+
for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
|
|
8922
|
+
var namedCaptures = result.groups;
|
|
8923
|
+
if (functionalReplace) {
|
|
8924
|
+
var replacerArgs = [matched].concat(captures, position, S);
|
|
8925
|
+
if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
|
|
8926
|
+
var replacement = toString(replaceValue.apply(undefined, replacerArgs));
|
|
8927
|
+
} else {
|
|
8928
|
+
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
8929
|
+
}
|
|
8930
|
+
if (position >= nextSourcePosition) {
|
|
8931
|
+
accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
|
|
8932
|
+
nextSourcePosition = position + matched.length;
|
|
8933
|
+
}
|
|
8934
|
+
}
|
|
8935
|
+
return accumulatedResult + S.slice(nextSourcePosition);
|
|
8936
|
+
}
|
|
8937
|
+
];
|
|
8938
|
+
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
8939
|
+
|
|
8940
|
+
|
|
8737
8941
|
/***/ }),
|
|
8738
8942
|
|
|
8739
8943
|
/***/ "5488":
|
|
@@ -8858,6 +9062,13 @@ var store = __webpack_require__("c6cd");
|
|
|
8858
9062
|
});
|
|
8859
9063
|
|
|
8860
9064
|
|
|
9065
|
+
/***/ }),
|
|
9066
|
+
|
|
9067
|
+
/***/ "56e9":
|
|
9068
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9069
|
+
|
|
9070
|
+
// extracted by mini-css-extract-plugin
|
|
9071
|
+
|
|
8861
9072
|
/***/ }),
|
|
8862
9073
|
|
|
8863
9074
|
/***/ "56ef":
|
|
@@ -52674,6 +52885,13 @@ module.exports = collection('Set', function (init) {
|
|
|
52674
52885
|
module.exports = typeof window == 'object';
|
|
52675
52886
|
|
|
52676
52887
|
|
|
52888
|
+
/***/ }),
|
|
52889
|
+
|
|
52890
|
+
/***/ "610c":
|
|
52891
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
52892
|
+
|
|
52893
|
+
// extracted by mini-css-extract-plugin
|
|
52894
|
+
|
|
52677
52895
|
/***/ }),
|
|
52678
52896
|
|
|
52679
52897
|
/***/ "6167":
|
|
@@ -54290,6 +54508,17 @@ addToUnscopables('values');
|
|
|
54290
54508
|
addToUnscopables('entries');
|
|
54291
54509
|
|
|
54292
54510
|
|
|
54511
|
+
/***/ }),
|
|
54512
|
+
|
|
54513
|
+
/***/ "692b":
|
|
54514
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
54515
|
+
|
|
54516
|
+
"use strict";
|
|
54517
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_menu_vue_vue_type_style_index_0_id_43bd04e7_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("47ac");
|
|
54518
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_menu_vue_vue_type_style_index_0_id_43bd04e7_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_menu_vue_vue_type_style_index_0_id_43bd04e7_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
54519
|
+
/* unused harmony reexport * */
|
|
54520
|
+
|
|
54521
|
+
|
|
54293
54522
|
/***/ }),
|
|
54294
54523
|
|
|
54295
54524
|
/***/ "693d":
|
|
@@ -57700,6 +57929,17 @@ module.exports = function (it) {
|
|
|
57700
57929
|
};
|
|
57701
57930
|
|
|
57702
57931
|
|
|
57932
|
+
/***/ }),
|
|
57933
|
+
|
|
57934
|
+
/***/ "8360":
|
|
57935
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
57936
|
+
|
|
57937
|
+
"use strict";
|
|
57938
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_menu_vue_vue_type_style_index_1_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("610c");
|
|
57939
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_menu_vue_vue_type_style_index_1_lang_less___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_menu_vue_vue_type_style_index_1_lang_less___WEBPACK_IMPORTED_MODULE_0__);
|
|
57940
|
+
/* unused harmony reexport * */
|
|
57941
|
+
|
|
57942
|
+
|
|
57703
57943
|
/***/ }),
|
|
57704
57944
|
|
|
57705
57945
|
/***/ "83ab":
|
|
@@ -64349,6 +64589,13 @@ module.exports = function (it) {
|
|
|
64349
64589
|
};
|
|
64350
64590
|
|
|
64351
64591
|
|
|
64592
|
+
/***/ }),
|
|
64593
|
+
|
|
64594
|
+
/***/ "c9d1":
|
|
64595
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
64596
|
+
|
|
64597
|
+
// extracted by mini-css-extract-plugin
|
|
64598
|
+
|
|
64352
64599
|
/***/ }),
|
|
64353
64600
|
|
|
64354
64601
|
/***/ "ca84":
|
|
@@ -65411,6 +65658,40 @@ var __WEBPACK_AMD_DEFINE_RESULT__;
|
|
|
65411
65658
|
} else {}
|
|
65412
65659
|
})(undefined);
|
|
65413
65660
|
|
|
65661
|
+
/***/ }),
|
|
65662
|
+
|
|
65663
|
+
/***/ "d81d":
|
|
65664
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
65665
|
+
|
|
65666
|
+
"use strict";
|
|
65667
|
+
|
|
65668
|
+
var $ = __webpack_require__("23e7");
|
|
65669
|
+
var $map = __webpack_require__("b727").map;
|
|
65670
|
+
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
|
|
65671
|
+
|
|
65672
|
+
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
|
|
65673
|
+
|
|
65674
|
+
// `Array.prototype.map` method
|
|
65675
|
+
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
65676
|
+
// with adding support of @@species
|
|
65677
|
+
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
65678
|
+
map: function map(callbackfn /* , thisArg */) {
|
|
65679
|
+
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
65680
|
+
}
|
|
65681
|
+
});
|
|
65682
|
+
|
|
65683
|
+
|
|
65684
|
+
/***/ }),
|
|
65685
|
+
|
|
65686
|
+
/***/ "d850":
|
|
65687
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
65688
|
+
|
|
65689
|
+
"use strict";
|
|
65690
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_labelbar_vue_vue_type_style_index_0_id_33830e49_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c9d1");
|
|
65691
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_labelbar_vue_vue_type_style_index_0_id_33830e49_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_labelbar_vue_vue_type_style_index_0_id_33830e49_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
65692
|
+
/* unused harmony reexport * */
|
|
65693
|
+
|
|
65694
|
+
|
|
65414
65695
|
/***/ }),
|
|
65415
65696
|
|
|
65416
65697
|
/***/ "d925":
|
|
@@ -69301,6 +69582,17 @@ module.exports = function (done, value) {
|
|
|
69301
69582
|
};
|
|
69302
69583
|
|
|
69303
69584
|
|
|
69585
|
+
/***/ }),
|
|
69586
|
+
|
|
69587
|
+
/***/ "eeb2":
|
|
69588
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
69589
|
+
|
|
69590
|
+
"use strict";
|
|
69591
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_rotate_box_vue_vue_type_style_index_0_id_e334a8d8_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("56e9");
|
|
69592
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_rotate_box_vue_vue_type_style_index_0_id_e334a8d8_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_rotate_box_vue_vue_type_style_index_0_id_e334a8d8_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
69593
|
+
/* unused harmony reexport * */
|
|
69594
|
+
|
|
69595
|
+
|
|
69304
69596
|
/***/ }),
|
|
69305
69597
|
|
|
69306
69598
|
/***/ "eedf":
|
|
@@ -71549,6 +71841,17 @@ InterceptorManager.prototype.forEach = function forEach(fn) {
|
|
|
71549
71841
|
module.exports = InterceptorManager;
|
|
71550
71842
|
|
|
71551
71843
|
|
|
71844
|
+
/***/ }),
|
|
71845
|
+
|
|
71846
|
+
/***/ "f76b":
|
|
71847
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
71848
|
+
|
|
71849
|
+
"use strict";
|
|
71850
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_layout_vue_vue_type_style_index_0_id_ead7f7be_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("15ec");
|
|
71851
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_layout_vue_vue_type_style_index_0_id_ead7f7be_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_layout_vue_vue_type_style_index_0_id_ead7f7be_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
71852
|
+
/* unused harmony reexport * */
|
|
71853
|
+
|
|
71854
|
+
|
|
71552
71855
|
/***/ }),
|
|
71553
71856
|
|
|
71554
71857
|
/***/ "f772":
|
|
@@ -71571,6 +71874,17 @@ module.exports = function (key) {
|
|
|
71571
71874
|
|
|
71572
71875
|
module.exports = { "default": __webpack_require__("8119"), __esModule: true };
|
|
71573
71876
|
|
|
71877
|
+
/***/ }),
|
|
71878
|
+
|
|
71879
|
+
/***/ "fa36":
|
|
71880
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
71881
|
+
|
|
71882
|
+
"use strict";
|
|
71883
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_right_menu_vue_vue_type_style_index_0_id_786f3d15_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2ceb");
|
|
71884
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_right_menu_vue_vue_type_style_index_0_id_786f3d15_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_right_menu_vue_vue_type_style_index_0_id_786f3d15_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
71885
|
+
/* unused harmony reexport * */
|
|
71886
|
+
|
|
71887
|
+
|
|
71574
71888
|
/***/ }),
|
|
71575
71889
|
|
|
71576
71890
|
/***/ "faf5":
|
|
@@ -81434,12 +81748,717 @@ SvgIcon.install = function (Vue) {
|
|
|
81434
81748
|
};
|
|
81435
81749
|
|
|
81436
81750
|
/* harmony default export */ var svg_icon = (SvgIcon);
|
|
81751
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"77099939-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!./package/tf-layout/src/tf-layout.vue?vue&type=template&id=ead7f7be&scoped=true&
|
|
81752
|
+
var tf_layoutvue_type_template_id_ead7f7be_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tf-layout"},[_c('TfMenu',{attrs:{"menu-info":_vm.menuInfo}}),_c('div',{staticClass:"tf-layout-subject"},[_c('TfLaberBar',{on:{"setCache":_vm.setCache,"deleteCache":_vm.deleteCache}}),_c('div',{staticClass:"tf-layout-subject-content"},[_c('keep-alive',{attrs:{"include":_vm.secondCacheArray}},[_c('router-view')],1)],1)],1)],1)}
|
|
81753
|
+
var tf_layoutvue_type_template_id_ead7f7be_scoped_true_staticRenderFns = []
|
|
81754
|
+
|
|
81755
|
+
|
|
81756
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/tf-layout.vue?vue&type=template&id=ead7f7be&scoped=true&
|
|
81757
|
+
|
|
81758
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"77099939-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!./package/tf-layout/src/components/tf-menu.vue?vue&type=template&id=43bd04e7&scoped=true&
|
|
81759
|
+
var tf_menuvue_type_template_id_43bd04e7_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tf-menu",style:({ width: _vm.isCollapse ? '64px' : '175px' })},[_c('el-scrollbar',{staticClass:"tf-menu-scroll"},[_c('el-menu',{staticClass:"tf-menu-content",style:({ width: _vm.isCollapse ? '64px' : '175px' }),attrs:{"collapse":_vm.isCollapse,"default-active":_vm.activePath,"background-color":"#001529","text-color":"#919398","active-text-color":"#ffffff","router":true}},[_vm._l((_vm.menuInfo),function(firstMenuItem){return [(firstMenuItem.childNode)?_c('el-submenu',{key:firstMenuItem.path,attrs:{"index":firstMenuItem.path}},[_c('template',{slot:"title"},[_c('svg-icon',{staticStyle:{"height":"15px","width":"15px","margin-right":"10px"},attrs:{"icon-class":firstMenuItem.icon}}),_c('span',[_vm._v(_vm._s(firstMenuItem.moduleName))])],1),_vm._l((firstMenuItem.childNode),function(secondMenuItem){return _c('el-menu-item',{key:secondMenuItem.path,attrs:{"index":secondMenuItem.path}},[_c('svg-icon',{staticStyle:{"height":"15px","width":"15px","margin-right":"10px"},attrs:{"icon-class":firstMenuItem.icon}}),_c('span',[_vm._v(_vm._s(secondMenuItem.moduleName))])],1)})],2):_c('el-menu-item',{key:firstMenuItem.path,attrs:{"index":firstMenuItem.path}},[_c('svg-icon',{staticStyle:{"height":"15px","width":"15px","margin-right":"10px"},attrs:{"icon-class":firstMenuItem.icon}}),_c('span',{attrs:{"slot":"title"},slot:"title"},[_vm._v(_vm._s(firstMenuItem.moduleName))])],1)]})],2)],1),_c('div',{staticClass:"bottom-menu",style:({ transform: _vm.isCollapse ? 'rotate(0deg)' : 'rotate(180deg)' }),on:{"click":function($event){_vm.isCollapse = !_vm.isCollapse}}},[_c('img',{attrs:{"src":"data:image/png;base64,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","alt":""}})])],1)}
|
|
81760
|
+
var tf_menuvue_type_template_id_43bd04e7_scoped_true_staticRenderFns = []
|
|
81761
|
+
|
|
81762
|
+
|
|
81763
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-menu.vue?vue&type=template&id=43bd04e7&scoped=true&
|
|
81764
|
+
|
|
81765
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./package/tf-layout/src/components/tf-menu.vue?vue&type=script&lang=js&
|
|
81766
|
+
//
|
|
81767
|
+
//
|
|
81768
|
+
//
|
|
81769
|
+
//
|
|
81770
|
+
//
|
|
81771
|
+
//
|
|
81772
|
+
//
|
|
81773
|
+
//
|
|
81774
|
+
//
|
|
81775
|
+
//
|
|
81776
|
+
//
|
|
81777
|
+
//
|
|
81778
|
+
//
|
|
81779
|
+
//
|
|
81780
|
+
//
|
|
81781
|
+
//
|
|
81782
|
+
//
|
|
81783
|
+
//
|
|
81784
|
+
//
|
|
81785
|
+
//
|
|
81786
|
+
//
|
|
81787
|
+
//
|
|
81788
|
+
//
|
|
81789
|
+
//
|
|
81790
|
+
//
|
|
81791
|
+
//
|
|
81792
|
+
//
|
|
81793
|
+
//
|
|
81794
|
+
//
|
|
81795
|
+
//
|
|
81796
|
+
//
|
|
81797
|
+
//
|
|
81798
|
+
//
|
|
81799
|
+
//
|
|
81800
|
+
//
|
|
81801
|
+
//
|
|
81802
|
+
//
|
|
81803
|
+
//
|
|
81804
|
+
//
|
|
81805
|
+
//
|
|
81806
|
+
//
|
|
81807
|
+
//
|
|
81808
|
+
//
|
|
81809
|
+
//
|
|
81810
|
+
//
|
|
81811
|
+
//
|
|
81812
|
+
//
|
|
81813
|
+
//
|
|
81814
|
+
//
|
|
81815
|
+
//
|
|
81816
|
+
//
|
|
81817
|
+
//
|
|
81818
|
+
//
|
|
81819
|
+
//
|
|
81820
|
+
//
|
|
81821
|
+
//
|
|
81822
|
+
//
|
|
81823
|
+
//
|
|
81824
|
+
//
|
|
81825
|
+
//
|
|
81826
|
+
//
|
|
81827
|
+
//
|
|
81828
|
+
//
|
|
81829
|
+
//
|
|
81830
|
+
//
|
|
81831
|
+
/* harmony default export */ var tf_menuvue_type_script_lang_js_ = ({
|
|
81832
|
+
name: 'TfMenu',
|
|
81833
|
+
props: {
|
|
81834
|
+
menuInfo: {
|
|
81835
|
+
type: Array,
|
|
81836
|
+
default: function _default() {
|
|
81837
|
+
return [];
|
|
81838
|
+
}
|
|
81839
|
+
}
|
|
81840
|
+
},
|
|
81841
|
+
data: function data() {
|
|
81842
|
+
return {
|
|
81843
|
+
isCollapse: false,
|
|
81844
|
+
activePath: null
|
|
81845
|
+
};
|
|
81846
|
+
},
|
|
81847
|
+
watch: {
|
|
81848
|
+
'$route.path': {
|
|
81849
|
+
handler: function handler(params) {
|
|
81850
|
+
if (params) this.activePath = params;
|
|
81851
|
+
},
|
|
81852
|
+
deep: true,
|
|
81853
|
+
immediate: true
|
|
81854
|
+
}
|
|
81855
|
+
}
|
|
81856
|
+
});
|
|
81857
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-menu.vue?vue&type=script&lang=js&
|
|
81858
|
+
/* harmony default export */ var components_tf_menuvue_type_script_lang_js_ = (tf_menuvue_type_script_lang_js_);
|
|
81859
|
+
// EXTERNAL MODULE: ./package/tf-layout/src/components/tf-menu.vue?vue&type=style&index=0&id=43bd04e7&lang=less&scoped=true&
|
|
81860
|
+
var tf_menuvue_type_style_index_0_id_43bd04e7_lang_less_scoped_true_ = __webpack_require__("692b");
|
|
81861
|
+
|
|
81862
|
+
// EXTERNAL MODULE: ./package/tf-layout/src/components/tf-menu.vue?vue&type=style&index=1&lang=less&
|
|
81863
|
+
var tf_menuvue_type_style_index_1_lang_less_ = __webpack_require__("8360");
|
|
81864
|
+
|
|
81865
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-menu.vue
|
|
81866
|
+
|
|
81867
|
+
|
|
81868
|
+
|
|
81869
|
+
|
|
81870
|
+
|
|
81871
|
+
|
|
81872
|
+
|
|
81873
|
+
/* normalize component */
|
|
81874
|
+
|
|
81875
|
+
var tf_menu_component = normalizeComponent(
|
|
81876
|
+
components_tf_menuvue_type_script_lang_js_,
|
|
81877
|
+
tf_menuvue_type_template_id_43bd04e7_scoped_true_render,
|
|
81878
|
+
tf_menuvue_type_template_id_43bd04e7_scoped_true_staticRenderFns,
|
|
81879
|
+
false,
|
|
81880
|
+
null,
|
|
81881
|
+
"43bd04e7",
|
|
81882
|
+
null
|
|
81883
|
+
|
|
81884
|
+
)
|
|
81885
|
+
|
|
81886
|
+
/* harmony default export */ var tf_menu = (tf_menu_component.exports);
|
|
81887
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"77099939-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!./package/tf-layout/src/components/tf-labelbar.vue?vue&type=template&id=33830e49&scoped=true&
|
|
81888
|
+
var tf_labelbarvue_type_template_id_33830e49_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tf-labelbar"},[_c('ul',{ref:"labelMenu"},_vm._l((_vm.tagList),function(tagItem){return _c('li',{key:tagItem.path,class:_vm.activePath === tagItem.path ? 'active-tag' : '',on:{"click":function($event){return _vm.routeJump(tagItem)},"contextmenu":function($event){$event.preventDefault();$event.stopPropagation();return _vm.rightClick(tagItem, $event)}}},[_c('span',[_vm._v(_vm._s(tagItem.title))]),_c('i',{directives:[{name:"show",rawName:"v-show",value:(!tagItem.notCloseTag),expression:"!tagItem.notCloseTag"}],staticClass:"el-icon-close icon",on:{"click":function($event){$event.stopPropagation();return _vm.closeTag(tagItem)}}})])}),0),_c('div',{staticClass:"image left",on:{"click":function($event){return _vm.handleScroll('left')}}}),_c('el-dropdown',{staticClass:"right-menu",attrs:{"trigger":"click"},on:{"command":_vm.dropdownCommand}},[_c('span',{staticClass:"el-dropdown-link"},[_c('TfRotateBox')],1),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('el-dropdown-item',{attrs:{"icon":"el-icon-back","command":"closeLeft"}},[_vm._v("关闭左侧")]),_c('el-dropdown-item',{attrs:{"icon":"el-icon-right","command":"closeRight"}},[_vm._v("关闭右侧")]),_c('el-dropdown-item',{attrs:{"icon":"el-icon-circle-close","command":"closeOther"}},[_vm._v("关闭其他")]),_c('el-dropdown-item',{attrs:{"icon":"el-icon-circle-close","command":"closeAll"}},[_vm._v("关闭全部")])],1)],1),_c('div',{staticClass:"image right",on:{"click":function($event){return _vm.handleScroll('right')}}}),_c('TfRightMenu',{attrs:{"left":_vm.rightMenuLeft,"top":_vm.rightMenuTop,"show-menu":_vm.showRightMenu},on:{"rightMenuClick":_vm.dropdownCommand}})],1)}
|
|
81889
|
+
var tf_labelbarvue_type_template_id_33830e49_scoped_true_staticRenderFns = []
|
|
81890
|
+
|
|
81891
|
+
|
|
81892
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-labelbar.vue?vue&type=template&id=33830e49&scoped=true&
|
|
81893
|
+
|
|
81894
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
81895
|
+
var es_string_replace = __webpack_require__("5319");
|
|
81896
|
+
|
|
81897
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
81898
|
+
var es_array_map = __webpack_require__("d81d");
|
|
81899
|
+
|
|
81900
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"77099939-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!./package/tf-layout/src/components/tf-rotate-box.vue?vue&type=template&id=e334a8d8&scoped=true&
|
|
81901
|
+
var tf_rotate_boxvue_type_template_id_e334a8d8_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}
|
|
81902
|
+
var tf_rotate_boxvue_type_template_id_e334a8d8_scoped_true_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tf-rotate-box"},[_c('span',{staticClass:"close"},[_c('i'),_c('i'),_c('i'),_c('i')])])}]
|
|
81903
|
+
|
|
81904
|
+
|
|
81905
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-rotate-box.vue?vue&type=template&id=e334a8d8&scoped=true&
|
|
81906
|
+
|
|
81907
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./package/tf-layout/src/components/tf-rotate-box.vue?vue&type=script&lang=js&
|
|
81908
|
+
//
|
|
81909
|
+
//
|
|
81910
|
+
//
|
|
81911
|
+
//
|
|
81912
|
+
//
|
|
81913
|
+
//
|
|
81914
|
+
//
|
|
81915
|
+
//
|
|
81916
|
+
//
|
|
81917
|
+
//
|
|
81918
|
+
//
|
|
81919
|
+
/* harmony default export */ var tf_rotate_boxvue_type_script_lang_js_ = ({});
|
|
81920
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-rotate-box.vue?vue&type=script&lang=js&
|
|
81921
|
+
/* harmony default export */ var components_tf_rotate_boxvue_type_script_lang_js_ = (tf_rotate_boxvue_type_script_lang_js_);
|
|
81922
|
+
// EXTERNAL MODULE: ./package/tf-layout/src/components/tf-rotate-box.vue?vue&type=style&index=0&id=e334a8d8&lang=less&scoped=true&
|
|
81923
|
+
var tf_rotate_boxvue_type_style_index_0_id_e334a8d8_lang_less_scoped_true_ = __webpack_require__("eeb2");
|
|
81924
|
+
|
|
81925
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-rotate-box.vue
|
|
81926
|
+
|
|
81927
|
+
|
|
81928
|
+
|
|
81929
|
+
|
|
81930
|
+
|
|
81931
|
+
|
|
81932
|
+
/* normalize component */
|
|
81933
|
+
|
|
81934
|
+
var tf_rotate_box_component = normalizeComponent(
|
|
81935
|
+
components_tf_rotate_boxvue_type_script_lang_js_,
|
|
81936
|
+
tf_rotate_boxvue_type_template_id_e334a8d8_scoped_true_render,
|
|
81937
|
+
tf_rotate_boxvue_type_template_id_e334a8d8_scoped_true_staticRenderFns,
|
|
81938
|
+
false,
|
|
81939
|
+
null,
|
|
81940
|
+
"e334a8d8",
|
|
81941
|
+
null
|
|
81942
|
+
|
|
81943
|
+
)
|
|
81944
|
+
|
|
81945
|
+
/* harmony default export */ var tf_rotate_box = (tf_rotate_box_component.exports);
|
|
81946
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"77099939-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!./package/tf-layout/src/components/tf-right-menu.vue?vue&type=template&id=786f3d15&scoped=true&
|
|
81947
|
+
var tf_right_menuvue_type_template_id_786f3d15_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showMenu),expression:"showMenu"}],staticClass:"tf-right-menu",style:({ top: _vm.top + 'px', left: _vm.left + 'px' })},[_c('p',{on:{"click":function($event){return _vm.rightMenuClick('closeLeft')}}},[_c('i',{staticClass:"el-icon-back"}),_vm._v(" 关闭左侧 ")]),_c('p',{on:{"click":function($event){return _vm.rightMenuClick('closeRight')}}},[_c('i',{staticClass:"el-icon-right"}),_vm._v(" 关闭右侧 ")]),_c('p',{on:{"click":function($event){return _vm.rightMenuClick('closeOther')}}},[_c('i',{staticClass:"el-icon-circle-close"}),_vm._v(" 关闭其他 ")]),_c('p',{on:{"click":function($event){return _vm.rightMenuClick('closeAll')}}},[_c('i',{staticClass:"el-icon-circle-close"}),_vm._v(" 全部关闭 ")])])}
|
|
81948
|
+
var tf_right_menuvue_type_template_id_786f3d15_scoped_true_staticRenderFns = []
|
|
81949
|
+
|
|
81950
|
+
|
|
81951
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-right-menu.vue?vue&type=template&id=786f3d15&scoped=true&
|
|
81952
|
+
|
|
81953
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./package/tf-layout/src/components/tf-right-menu.vue?vue&type=script&lang=js&
|
|
81954
|
+
|
|
81955
|
+
//
|
|
81956
|
+
//
|
|
81957
|
+
//
|
|
81958
|
+
//
|
|
81959
|
+
//
|
|
81960
|
+
//
|
|
81961
|
+
//
|
|
81962
|
+
//
|
|
81963
|
+
//
|
|
81964
|
+
//
|
|
81965
|
+
//
|
|
81966
|
+
//
|
|
81967
|
+
//
|
|
81968
|
+
//
|
|
81969
|
+
//
|
|
81970
|
+
//
|
|
81971
|
+
//
|
|
81972
|
+
//
|
|
81973
|
+
//
|
|
81974
|
+
//
|
|
81975
|
+
//
|
|
81976
|
+
/* harmony default export */ var tf_right_menuvue_type_script_lang_js_ = ({
|
|
81977
|
+
props: {
|
|
81978
|
+
top: {
|
|
81979
|
+
default: 0,
|
|
81980
|
+
type: Number
|
|
81981
|
+
},
|
|
81982
|
+
left: {
|
|
81983
|
+
default: 0,
|
|
81984
|
+
type: Number
|
|
81985
|
+
},
|
|
81986
|
+
showMenu: {
|
|
81987
|
+
type: Boolean,
|
|
81988
|
+
default: false
|
|
81989
|
+
}
|
|
81990
|
+
},
|
|
81991
|
+
methods: {
|
|
81992
|
+
/**
|
|
81993
|
+
* @description 右键点击事件
|
|
81994
|
+
*/
|
|
81995
|
+
rightMenuClick: function rightMenuClick(params) {
|
|
81996
|
+
this.$emit('rightMenuClick', params);
|
|
81997
|
+
}
|
|
81998
|
+
}
|
|
81999
|
+
});
|
|
82000
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-right-menu.vue?vue&type=script&lang=js&
|
|
82001
|
+
/* harmony default export */ var components_tf_right_menuvue_type_script_lang_js_ = (tf_right_menuvue_type_script_lang_js_);
|
|
82002
|
+
// EXTERNAL MODULE: ./package/tf-layout/src/components/tf-right-menu.vue?vue&type=style&index=0&id=786f3d15&lang=less&scoped=true&
|
|
82003
|
+
var tf_right_menuvue_type_style_index_0_id_786f3d15_lang_less_scoped_true_ = __webpack_require__("fa36");
|
|
82004
|
+
|
|
82005
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-right-menu.vue
|
|
82006
|
+
|
|
82007
|
+
|
|
82008
|
+
|
|
82009
|
+
|
|
82010
|
+
|
|
82011
|
+
|
|
82012
|
+
/* normalize component */
|
|
82013
|
+
|
|
82014
|
+
var tf_right_menu_component = normalizeComponent(
|
|
82015
|
+
components_tf_right_menuvue_type_script_lang_js_,
|
|
82016
|
+
tf_right_menuvue_type_template_id_786f3d15_scoped_true_render,
|
|
82017
|
+
tf_right_menuvue_type_template_id_786f3d15_scoped_true_staticRenderFns,
|
|
82018
|
+
false,
|
|
82019
|
+
null,
|
|
82020
|
+
"786f3d15",
|
|
82021
|
+
null
|
|
82022
|
+
|
|
82023
|
+
)
|
|
82024
|
+
|
|
82025
|
+
/* harmony default export */ var tf_right_menu = (tf_right_menu_component.exports);
|
|
82026
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./package/tf-layout/src/components/tf-labelbar.vue?vue&type=script&lang=js&
|
|
82027
|
+
|
|
82028
|
+
|
|
82029
|
+
|
|
82030
|
+
|
|
82031
|
+
|
|
82032
|
+
|
|
82033
|
+
|
|
82034
|
+
|
|
82035
|
+
|
|
82036
|
+
|
|
82037
|
+
|
|
82038
|
+
|
|
82039
|
+
|
|
82040
|
+
|
|
82041
|
+
//
|
|
82042
|
+
//
|
|
82043
|
+
//
|
|
82044
|
+
//
|
|
82045
|
+
//
|
|
82046
|
+
//
|
|
82047
|
+
//
|
|
82048
|
+
//
|
|
82049
|
+
//
|
|
82050
|
+
//
|
|
82051
|
+
//
|
|
82052
|
+
//
|
|
82053
|
+
//
|
|
82054
|
+
//
|
|
82055
|
+
//
|
|
82056
|
+
//
|
|
82057
|
+
//
|
|
82058
|
+
//
|
|
82059
|
+
//
|
|
82060
|
+
//
|
|
82061
|
+
//
|
|
82062
|
+
//
|
|
82063
|
+
//
|
|
82064
|
+
//
|
|
82065
|
+
//
|
|
82066
|
+
//
|
|
82067
|
+
//
|
|
82068
|
+
//
|
|
82069
|
+
//
|
|
82070
|
+
//
|
|
82071
|
+
//
|
|
82072
|
+
//
|
|
82073
|
+
//
|
|
82074
|
+
//
|
|
82075
|
+
//
|
|
82076
|
+
//
|
|
82077
|
+
//
|
|
82078
|
+
//
|
|
82079
|
+
//
|
|
82080
|
+
//
|
|
82081
|
+
//
|
|
82082
|
+
//
|
|
82083
|
+
//
|
|
82084
|
+
//
|
|
82085
|
+
//
|
|
82086
|
+
//
|
|
82087
|
+
//
|
|
82088
|
+
//
|
|
82089
|
+
//
|
|
82090
|
+
//
|
|
82091
|
+
//
|
|
82092
|
+
//
|
|
82093
|
+
//
|
|
82094
|
+
//
|
|
82095
|
+
//
|
|
82096
|
+
//
|
|
82097
|
+
//
|
|
82098
|
+
//
|
|
82099
|
+
//
|
|
82100
|
+
//
|
|
82101
|
+
//
|
|
82102
|
+
//
|
|
82103
|
+
|
|
82104
|
+
|
|
82105
|
+
/* harmony default export */ var tf_labelbarvue_type_script_lang_js_ = ({
|
|
82106
|
+
name: 'TfLaberBar',
|
|
82107
|
+
components: {
|
|
82108
|
+
TfRotateBox: tf_rotate_box,
|
|
82109
|
+
TfRightMenu: tf_right_menu
|
|
82110
|
+
},
|
|
82111
|
+
data: function data() {
|
|
82112
|
+
return {
|
|
82113
|
+
activePath: '/',
|
|
82114
|
+
tagList: [],
|
|
82115
|
+
rightMenuLeft: 0,
|
|
82116
|
+
rightMenuTop: 0,
|
|
82117
|
+
showRightMenu: false
|
|
82118
|
+
};
|
|
82119
|
+
},
|
|
82120
|
+
watch: {
|
|
82121
|
+
$route: {
|
|
82122
|
+
handler: function handler(newValue) {
|
|
82123
|
+
if (newValue) {
|
|
82124
|
+
var meta = newValue.meta,
|
|
82125
|
+
path = newValue.path,
|
|
82126
|
+
name = newValue.name,
|
|
82127
|
+
params = newValue.params,
|
|
82128
|
+
query = newValue.query;
|
|
82129
|
+
if (!path) return;
|
|
82130
|
+
var obj = {
|
|
82131
|
+
path: path,
|
|
82132
|
+
name: name,
|
|
82133
|
+
params: params,
|
|
82134
|
+
query: query,
|
|
82135
|
+
defaultRouter: meta.defaultRouter,
|
|
82136
|
+
notCloseTag: meta.notCloseTag,
|
|
82137
|
+
title: meta.title,
|
|
82138
|
+
replace: meta.replace
|
|
82139
|
+
};
|
|
82140
|
+
|
|
82141
|
+
if (!meta.noCache) {
|
|
82142
|
+
var cacheArr = newValue.matched.map(function (item) {
|
|
82143
|
+
return item.name;
|
|
82144
|
+
});
|
|
82145
|
+
this.$emit('setCache', cacheArr);
|
|
82146
|
+
obj.cacheArr = cacheArr;
|
|
82147
|
+
}
|
|
82148
|
+
|
|
82149
|
+
if (obj.defaultRouter) {
|
|
82150
|
+
if (!this.checkMenu(obj.path)) this.tagList.unshift(obj);
|
|
82151
|
+
} else {
|
|
82152
|
+
if (!this.checkMenu(obj.path)) this.tagList.push(obj);
|
|
82153
|
+
} // todo: 增加页面缓存
|
|
82154
|
+
|
|
82155
|
+
|
|
82156
|
+
this.activePath = path;
|
|
82157
|
+
}
|
|
82158
|
+
},
|
|
82159
|
+
deep: true,
|
|
82160
|
+
immediate: true
|
|
82161
|
+
}
|
|
82162
|
+
},
|
|
82163
|
+
created: function created() {
|
|
82164
|
+
var _this = this;
|
|
82165
|
+
|
|
82166
|
+
window.addEventListener('click', function () {
|
|
82167
|
+
_this.showRightMenu = false;
|
|
82168
|
+
}, false);
|
|
82169
|
+
},
|
|
82170
|
+
methods: {
|
|
82171
|
+
/**
|
|
82172
|
+
* @description tag右键点击事件
|
|
82173
|
+
*/
|
|
82174
|
+
rightClick: function rightClick(tagItem, $event) {
|
|
82175
|
+
var _this2 = this;
|
|
82176
|
+
|
|
82177
|
+
this.routeJump(tagItem);
|
|
82178
|
+
this.$nextTick(function () {
|
|
82179
|
+
_this2.rightMenuTop = $event.clientY;
|
|
82180
|
+
_this2.rightMenuLeft = $event.clientX;
|
|
82181
|
+
_this2.showRightMenu = true;
|
|
82182
|
+
});
|
|
82183
|
+
},
|
|
82184
|
+
|
|
82185
|
+
/**
|
|
82186
|
+
* @member
|
|
82187
|
+
* @description 右侧操作
|
|
82188
|
+
* @param params: 操作指令: closeLeft => 关闭左侧, closeRight => 关闭右侧, closeAll => 关闭全部,
|
|
82189
|
+
*/
|
|
82190
|
+
dropdownCommand: function dropdownCommand(params) {
|
|
82191
|
+
var _this3 = this;
|
|
82192
|
+
|
|
82193
|
+
var activeNum = this.tagList.findIndex(function (item) {
|
|
82194
|
+
return item.path === _this3.activePath;
|
|
82195
|
+
});
|
|
82196
|
+
var pathMap = new Map();
|
|
82197
|
+
var deleteArr = [];
|
|
82198
|
+
var pathArr = this.tagList.map(function (item) {
|
|
82199
|
+
pathMap.set(item.path, item);
|
|
82200
|
+
return item.path;
|
|
82201
|
+
});
|
|
82202
|
+
|
|
82203
|
+
switch (params) {
|
|
82204
|
+
case 'closeLeft':
|
|
82205
|
+
deleteArr.push.apply(deleteArr, _toConsumableArray(pathArr.slice(0, activeNum)));
|
|
82206
|
+
break;
|
|
82207
|
+
|
|
82208
|
+
case 'closeRight':
|
|
82209
|
+
deleteArr.push.apply(deleteArr, _toConsumableArray(pathArr.slice(activeNum + 1, pathArr.length)));
|
|
82210
|
+
break;
|
|
82211
|
+
|
|
82212
|
+
case 'closeOther':
|
|
82213
|
+
deleteArr.push.apply(deleteArr, _toConsumableArray(pathArr.slice(0, activeNum)));
|
|
82214
|
+
deleteArr.push.apply(deleteArr, _toConsumableArray(pathArr.slice(activeNum + 1, pathArr.length)));
|
|
82215
|
+
break;
|
|
82216
|
+
|
|
82217
|
+
default:
|
|
82218
|
+
deleteArr.push.apply(deleteArr, _toConsumableArray(pathArr));
|
|
82219
|
+
break;
|
|
82220
|
+
}
|
|
82221
|
+
|
|
82222
|
+
var deleteCacheArr = [];
|
|
82223
|
+
deleteArr.forEach(function (item) {
|
|
82224
|
+
var tagItem = pathMap.get(item);
|
|
82225
|
+
if (tagItem && tagItem.cacheArr) deleteCacheArr.push(tagItem.cacheArr);
|
|
82226
|
+
|
|
82227
|
+
if (tagItem && !tagItem.notCloseTag) {
|
|
82228
|
+
var num = _this3.tagList.indexOf(tagItem);
|
|
82229
|
+
|
|
82230
|
+
_this3.tagList.splice(num, 1);
|
|
82231
|
+
}
|
|
82232
|
+
});
|
|
82233
|
+
this.$emit('deleteCache', deleteCacheArr);
|
|
82234
|
+
if (params === 'closeAll') this.routeJump(this.tagList[0]);
|
|
82235
|
+
},
|
|
82236
|
+
|
|
82237
|
+
/**
|
|
82238
|
+
* @description 左右滑动
|
|
82239
|
+
* @param direction: 滑动方向
|
|
82240
|
+
*/
|
|
82241
|
+
handleScroll: function handleScroll(direction) {
|
|
82242
|
+
var rollNum = 0;
|
|
82243
|
+
rollNum = direction === 'right' ? rollNum + 50 : rollNum - 50;
|
|
82244
|
+
var dom = this.$refs.labelMenu;
|
|
82245
|
+
dom.scrollLeft += rollNum;
|
|
82246
|
+
},
|
|
82247
|
+
|
|
82248
|
+
/**
|
|
82249
|
+
* @description 点击tag标签
|
|
82250
|
+
* @param path: 每项Tag
|
|
82251
|
+
*/
|
|
82252
|
+
checkMenu: function checkMenu(path) {
|
|
82253
|
+
if (this.tagList.find(function (item) {
|
|
82254
|
+
return item.path === path;
|
|
82255
|
+
})) return true;
|
|
82256
|
+
return false;
|
|
82257
|
+
},
|
|
82258
|
+
|
|
82259
|
+
/**
|
|
82260
|
+
* @description 路由跳转
|
|
82261
|
+
*/
|
|
82262
|
+
routeJump: function routeJump(value) {
|
|
82263
|
+
if (value && value.path !== this.activePath) {
|
|
82264
|
+
var path = value.path,
|
|
82265
|
+
query = value.query,
|
|
82266
|
+
params = value.params,
|
|
82267
|
+
replace = value.replace;
|
|
82268
|
+
|
|
82269
|
+
if (replace) {
|
|
82270
|
+
this.$router.replace({
|
|
82271
|
+
path: path,
|
|
82272
|
+
query: query,
|
|
82273
|
+
params: params
|
|
82274
|
+
});
|
|
82275
|
+
} else {
|
|
82276
|
+
this.$router.push({
|
|
82277
|
+
path: path,
|
|
82278
|
+
query: query,
|
|
82279
|
+
params: params
|
|
82280
|
+
});
|
|
82281
|
+
}
|
|
82282
|
+
}
|
|
82283
|
+
},
|
|
82284
|
+
|
|
82285
|
+
/**
|
|
82286
|
+
* 关闭tag
|
|
82287
|
+
*/
|
|
82288
|
+
closeTag: function closeTag(tagItem) {
|
|
82289
|
+
if (tagItem.cacheArr) this.$emit('deleteCache', [tagItem.cacheArr]);
|
|
82290
|
+
var num = this.tagList.indexOf(tagItem);
|
|
82291
|
+
|
|
82292
|
+
if (tagItem) {
|
|
82293
|
+
this.tagList.splice(num, 1);
|
|
82294
|
+
this.routeJump(this.tagList[num - 1]);
|
|
82295
|
+
}
|
|
82296
|
+
}
|
|
82297
|
+
}
|
|
82298
|
+
});
|
|
82299
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-labelbar.vue?vue&type=script&lang=js&
|
|
82300
|
+
/* harmony default export */ var components_tf_labelbarvue_type_script_lang_js_ = (tf_labelbarvue_type_script_lang_js_);
|
|
82301
|
+
// EXTERNAL MODULE: ./package/tf-layout/src/components/tf-labelbar.vue?vue&type=style&index=0&id=33830e49&lang=less&scoped=true&
|
|
82302
|
+
var tf_labelbarvue_type_style_index_0_id_33830e49_lang_less_scoped_true_ = __webpack_require__("d850");
|
|
82303
|
+
|
|
82304
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-labelbar.vue
|
|
82305
|
+
|
|
82306
|
+
|
|
82307
|
+
|
|
82308
|
+
|
|
82309
|
+
|
|
82310
|
+
|
|
82311
|
+
/* normalize component */
|
|
82312
|
+
|
|
82313
|
+
var tf_labelbar_component = normalizeComponent(
|
|
82314
|
+
components_tf_labelbarvue_type_script_lang_js_,
|
|
82315
|
+
tf_labelbarvue_type_template_id_33830e49_scoped_true_render,
|
|
82316
|
+
tf_labelbarvue_type_template_id_33830e49_scoped_true_staticRenderFns,
|
|
82317
|
+
false,
|
|
82318
|
+
null,
|
|
82319
|
+
"33830e49",
|
|
82320
|
+
null
|
|
82321
|
+
|
|
82322
|
+
)
|
|
82323
|
+
|
|
82324
|
+
/* harmony default export */ var tf_labelbar = (tf_labelbar_component.exports);
|
|
82325
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./package/tf-layout/src/tf-layout.vue?vue&type=script&lang=js&
|
|
82326
|
+
|
|
82327
|
+
|
|
82328
|
+
|
|
82329
|
+
|
|
82330
|
+
|
|
82331
|
+
|
|
82332
|
+
|
|
82333
|
+
|
|
82334
|
+
|
|
82335
|
+
//
|
|
82336
|
+
//
|
|
82337
|
+
//
|
|
82338
|
+
//
|
|
82339
|
+
//
|
|
82340
|
+
//
|
|
82341
|
+
//
|
|
82342
|
+
//
|
|
82343
|
+
//
|
|
82344
|
+
//
|
|
82345
|
+
//
|
|
82346
|
+
//
|
|
82347
|
+
//
|
|
82348
|
+
//
|
|
82349
|
+
|
|
82350
|
+
|
|
82351
|
+
/* harmony default export */ var tf_layoutvue_type_script_lang_js_ = ({
|
|
82352
|
+
name: 'TfLayout',
|
|
82353
|
+
components: {
|
|
82354
|
+
TfMenu: tf_menu,
|
|
82355
|
+
TfLaberBar: tf_labelbar
|
|
82356
|
+
},
|
|
82357
|
+
props: {
|
|
82358
|
+
menuInfo: {
|
|
82359
|
+
type: Array,
|
|
82360
|
+
default: function _default() {
|
|
82361
|
+
return [];
|
|
82362
|
+
}
|
|
82363
|
+
}
|
|
82364
|
+
},
|
|
82365
|
+
data: function data() {
|
|
82366
|
+
return {
|
|
82367
|
+
cacheMap: new Map(),
|
|
82368
|
+
secondCacheArray: [],
|
|
82369
|
+
thirdCacheArr: []
|
|
82370
|
+
};
|
|
82371
|
+
},
|
|
82372
|
+
methods: {
|
|
82373
|
+
setCache: function setCache(value) {
|
|
82374
|
+
this.cacheMap.set(value[2] || value[1], value[1]);
|
|
82375
|
+
this.initCacheArr();
|
|
82376
|
+
},
|
|
82377
|
+
initCacheArr: function initCacheArr() {
|
|
82378
|
+
var _this$secondCacheArra, _this$thirdCacheArr;
|
|
82379
|
+
|
|
82380
|
+
(_this$secondCacheArra = this.secondCacheArray).push.apply(_this$secondCacheArra, _toConsumableArray(this.arrayDiff(_toConsumableArray(this.cacheMap.values()), this.secondCacheArray)));
|
|
82381
|
+
|
|
82382
|
+
(_this$thirdCacheArr = this.thirdCacheArr).push.apply(_this$thirdCacheArr, _toConsumableArray(this.arrayDiff(_toConsumableArray(this.cacheMap.keys()), this.thirdCacheArr)));
|
|
82383
|
+
|
|
82384
|
+
this.$emit('setSecondCache', this.secondCacheArray);
|
|
82385
|
+
this.$emit('setThirdCache', this.thirdCacheArr);
|
|
82386
|
+
},
|
|
82387
|
+
arrayDiff: function arrayDiff(arr, arrRaw) {
|
|
82388
|
+
if (Array.isArray(arr)) {
|
|
82389
|
+
return arr.filter(function (i) {
|
|
82390
|
+
return arrRaw.indexOf(i) < 0;
|
|
82391
|
+
});
|
|
82392
|
+
}
|
|
82393
|
+
|
|
82394
|
+
return [];
|
|
82395
|
+
},
|
|
82396
|
+
deleteCache: function deleteCache(value) {
|
|
82397
|
+
var _this = this;
|
|
82398
|
+
|
|
82399
|
+
if (Array.isArray(value)) {
|
|
82400
|
+
value.forEach(function (item) {
|
|
82401
|
+
console.log(item);
|
|
82402
|
+
|
|
82403
|
+
_this.cacheMap.delete(item[2] || item[1]);
|
|
82404
|
+
|
|
82405
|
+
_this.thirdCacheArr.splice(_this.thirdCacheArr.indexOf(item[2] || item[1]), 1);
|
|
82406
|
+
|
|
82407
|
+
if (_toConsumableArray(_this.cacheMap.values()).indexOf(item[1]) === -1) {
|
|
82408
|
+
_this.secondCacheArray.splice(_this.secondCacheArray.indexOf(item[2]), 1);
|
|
82409
|
+
}
|
|
82410
|
+
|
|
82411
|
+
console.log(_this.cacheMap.get(item[2] || item[1]));
|
|
82412
|
+
});
|
|
82413
|
+
this.$emit('setSecondCache', this.secondCacheArray);
|
|
82414
|
+
this.$emit('setThirdCache', this.thirdCacheArr);
|
|
82415
|
+
}
|
|
82416
|
+
}
|
|
82417
|
+
}
|
|
82418
|
+
});
|
|
82419
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/tf-layout.vue?vue&type=script&lang=js&
|
|
82420
|
+
/* harmony default export */ var src_tf_layoutvue_type_script_lang_js_ = (tf_layoutvue_type_script_lang_js_);
|
|
82421
|
+
// EXTERNAL MODULE: ./package/tf-layout/src/tf-layout.vue?vue&type=style&index=0&id=ead7f7be&lang=less&scoped=true&
|
|
82422
|
+
var tf_layoutvue_type_style_index_0_id_ead7f7be_lang_less_scoped_true_ = __webpack_require__("f76b");
|
|
82423
|
+
|
|
82424
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/tf-layout.vue
|
|
82425
|
+
|
|
82426
|
+
|
|
82427
|
+
|
|
82428
|
+
|
|
82429
|
+
|
|
82430
|
+
|
|
82431
|
+
/* normalize component */
|
|
82432
|
+
|
|
82433
|
+
var tf_layout_component = normalizeComponent(
|
|
82434
|
+
src_tf_layoutvue_type_script_lang_js_,
|
|
82435
|
+
tf_layoutvue_type_template_id_ead7f7be_scoped_true_render,
|
|
82436
|
+
tf_layoutvue_type_template_id_ead7f7be_scoped_true_staticRenderFns,
|
|
82437
|
+
false,
|
|
82438
|
+
null,
|
|
82439
|
+
"ead7f7be",
|
|
82440
|
+
null
|
|
82441
|
+
|
|
82442
|
+
)
|
|
82443
|
+
|
|
82444
|
+
/* harmony default export */ var tf_layout = (tf_layout_component.exports);
|
|
82445
|
+
// CONCATENATED MODULE: ./package/tf-layout/index.js
|
|
82446
|
+
|
|
82447
|
+
|
|
82448
|
+
/* istanbul ignore next */
|
|
82449
|
+
|
|
82450
|
+
tf_layout.install = function (Vue) {
|
|
82451
|
+
Vue.component(tf_layout.name, tf_layout);
|
|
82452
|
+
};
|
|
82453
|
+
|
|
82454
|
+
/* harmony default export */ var package_tf_layout = (tf_layout);
|
|
81437
82455
|
// CONCATENATED MODULE: ./src/index.js
|
|
81438
82456
|
|
|
81439
82457
|
|
|
81440
82458
|
|
|
81441
82459
|
|
|
81442
|
-
|
|
82460
|
+
|
|
82461
|
+
var components = [package_tf_widget, svg_icon, package_tf_layout];
|
|
81443
82462
|
|
|
81444
82463
|
var install = function install(Vue) {
|
|
81445
82464
|
components.forEach(function (component) {
|
|
@@ -81450,7 +82469,8 @@ var install = function install(Vue) {
|
|
|
81450
82469
|
/* harmony default export */ var src_0 = ({
|
|
81451
82470
|
install: install,
|
|
81452
82471
|
TfWidget: package_tf_widget,
|
|
81453
|
-
SvgIcon: svg_icon
|
|
82472
|
+
SvgIcon: svg_icon,
|
|
82473
|
+
TfLayout: package_tf_layout
|
|
81454
82474
|
});
|
|
81455
82475
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
81456
82476
|
|