@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.umd.js
CHANGED
|
@@ -509,6 +509,54 @@ module.exports = !__webpack_require__("4b8b")(function () {
|
|
|
509
509
|
});
|
|
510
510
|
|
|
511
511
|
|
|
512
|
+
/***/ }),
|
|
513
|
+
|
|
514
|
+
/***/ "0cb2":
|
|
515
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
516
|
+
|
|
517
|
+
var toObject = __webpack_require__("7b0b");
|
|
518
|
+
|
|
519
|
+
var floor = Math.floor;
|
|
520
|
+
var replace = ''.replace;
|
|
521
|
+
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
|
522
|
+
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
|
523
|
+
|
|
524
|
+
// `GetSubstitution` abstract operation
|
|
525
|
+
// https://tc39.es/ecma262/#sec-getsubstitution
|
|
526
|
+
module.exports = function (matched, str, position, captures, namedCaptures, replacement) {
|
|
527
|
+
var tailPos = position + matched.length;
|
|
528
|
+
var m = captures.length;
|
|
529
|
+
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
|
|
530
|
+
if (namedCaptures !== undefined) {
|
|
531
|
+
namedCaptures = toObject(namedCaptures);
|
|
532
|
+
symbols = SUBSTITUTION_SYMBOLS;
|
|
533
|
+
}
|
|
534
|
+
return replace.call(replacement, symbols, function (match, ch) {
|
|
535
|
+
var capture;
|
|
536
|
+
switch (ch.charAt(0)) {
|
|
537
|
+
case '$': return '$';
|
|
538
|
+
case '&': return matched;
|
|
539
|
+
case '`': return str.slice(0, position);
|
|
540
|
+
case "'": return str.slice(tailPos);
|
|
541
|
+
case '<':
|
|
542
|
+
capture = namedCaptures[ch.slice(1, -1)];
|
|
543
|
+
break;
|
|
544
|
+
default: // \d\d?
|
|
545
|
+
var n = +ch;
|
|
546
|
+
if (n === 0) return match;
|
|
547
|
+
if (n > m) {
|
|
548
|
+
var f = floor(n / 10);
|
|
549
|
+
if (f === 0) return match;
|
|
550
|
+
if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
|
|
551
|
+
return match;
|
|
552
|
+
}
|
|
553
|
+
capture = captures[n - 1];
|
|
554
|
+
}
|
|
555
|
+
return capture === undefined ? '' : capture;
|
|
556
|
+
});
|
|
557
|
+
};
|
|
558
|
+
|
|
559
|
+
|
|
512
560
|
/***/ }),
|
|
513
561
|
|
|
514
562
|
/***/ "0ccb":
|
|
@@ -1381,6 +1429,13 @@ for (var COLLECTION_NAME in DOMIterables) {
|
|
|
1381
1429
|
}
|
|
1382
1430
|
|
|
1383
1431
|
|
|
1432
|
+
/***/ }),
|
|
1433
|
+
|
|
1434
|
+
/***/ "15ec":
|
|
1435
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1436
|
+
|
|
1437
|
+
// extracted by mini-css-extract-plugin
|
|
1438
|
+
|
|
1384
1439
|
/***/ }),
|
|
1385
1440
|
|
|
1386
1441
|
/***/ "1609":
|
|
@@ -2617,6 +2672,13 @@ exports.default = {
|
|
|
2617
2672
|
|
|
2618
2673
|
/***/ }),
|
|
2619
2674
|
|
|
2675
|
+
/***/ "2ceb":
|
|
2676
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2677
|
+
|
|
2678
|
+
// extracted by mini-css-extract-plugin
|
|
2679
|
+
|
|
2680
|
+
/***/ }),
|
|
2681
|
+
|
|
2620
2682
|
/***/ "2cf4":
|
|
2621
2683
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2622
2684
|
|
|
@@ -5337,6 +5399,13 @@ module.exports = __webpack_require__("7f4d");
|
|
|
5337
5399
|
|
|
5338
5400
|
/***/ }),
|
|
5339
5401
|
|
|
5402
|
+
/***/ "47ac":
|
|
5403
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5404
|
+
|
|
5405
|
+
// extracted by mini-css-extract-plugin
|
|
5406
|
+
|
|
5407
|
+
/***/ }),
|
|
5408
|
+
|
|
5340
5409
|
/***/ "4840":
|
|
5341
5410
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5342
5411
|
|
|
@@ -8743,6 +8812,141 @@ module.exports = function dispatchRequest(config) {
|
|
|
8743
8812
|
};
|
|
8744
8813
|
|
|
8745
8814
|
|
|
8815
|
+
/***/ }),
|
|
8816
|
+
|
|
8817
|
+
/***/ "5319":
|
|
8818
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
8819
|
+
|
|
8820
|
+
"use strict";
|
|
8821
|
+
|
|
8822
|
+
var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784");
|
|
8823
|
+
var fails = __webpack_require__("d039");
|
|
8824
|
+
var anObject = __webpack_require__("825a");
|
|
8825
|
+
var toInteger = __webpack_require__("a691");
|
|
8826
|
+
var toLength = __webpack_require__("50c4");
|
|
8827
|
+
var toString = __webpack_require__("577e");
|
|
8828
|
+
var requireObjectCoercible = __webpack_require__("1d80");
|
|
8829
|
+
var advanceStringIndex = __webpack_require__("8aa5");
|
|
8830
|
+
var getSubstitution = __webpack_require__("0cb2");
|
|
8831
|
+
var regExpExec = __webpack_require__("14c3");
|
|
8832
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
8833
|
+
|
|
8834
|
+
var REPLACE = wellKnownSymbol('replace');
|
|
8835
|
+
var max = Math.max;
|
|
8836
|
+
var min = Math.min;
|
|
8837
|
+
|
|
8838
|
+
var maybeToString = function (it) {
|
|
8839
|
+
return it === undefined ? it : String(it);
|
|
8840
|
+
};
|
|
8841
|
+
|
|
8842
|
+
// IE <= 11 replaces $0 with the whole match, as if it was $&
|
|
8843
|
+
// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
|
|
8844
|
+
var REPLACE_KEEPS_$0 = (function () {
|
|
8845
|
+
// eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
|
|
8846
|
+
return 'a'.replace(/./, '$0') === '$0';
|
|
8847
|
+
})();
|
|
8848
|
+
|
|
8849
|
+
// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
|
|
8850
|
+
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
8851
|
+
if (/./[REPLACE]) {
|
|
8852
|
+
return /./[REPLACE]('a', '$0') === '';
|
|
8853
|
+
}
|
|
8854
|
+
return false;
|
|
8855
|
+
})();
|
|
8856
|
+
|
|
8857
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
|
|
8858
|
+
var re = /./;
|
|
8859
|
+
re.exec = function () {
|
|
8860
|
+
var result = [];
|
|
8861
|
+
result.groups = { a: '7' };
|
|
8862
|
+
return result;
|
|
8863
|
+
};
|
|
8864
|
+
// eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive
|
|
8865
|
+
return ''.replace(re, '$<a>') !== '7';
|
|
8866
|
+
});
|
|
8867
|
+
|
|
8868
|
+
// @@replace logic
|
|
8869
|
+
fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
|
|
8870
|
+
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
|
|
8871
|
+
|
|
8872
|
+
return [
|
|
8873
|
+
// `String.prototype.replace` method
|
|
8874
|
+
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
|
8875
|
+
function replace(searchValue, replaceValue) {
|
|
8876
|
+
var O = requireObjectCoercible(this);
|
|
8877
|
+
var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
|
|
8878
|
+
return replacer !== undefined
|
|
8879
|
+
? replacer.call(searchValue, O, replaceValue)
|
|
8880
|
+
: nativeReplace.call(toString(O), searchValue, replaceValue);
|
|
8881
|
+
},
|
|
8882
|
+
// `RegExp.prototype[@@replace]` method
|
|
8883
|
+
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
8884
|
+
function (string, replaceValue) {
|
|
8885
|
+
var rx = anObject(this);
|
|
8886
|
+
var S = toString(string);
|
|
8887
|
+
|
|
8888
|
+
if (
|
|
8889
|
+
typeof replaceValue === 'string' &&
|
|
8890
|
+
replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1 &&
|
|
8891
|
+
replaceValue.indexOf('$<') === -1
|
|
8892
|
+
) {
|
|
8893
|
+
var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
|
|
8894
|
+
if (res.done) return res.value;
|
|
8895
|
+
}
|
|
8896
|
+
|
|
8897
|
+
var functionalReplace = typeof replaceValue === 'function';
|
|
8898
|
+
if (!functionalReplace) replaceValue = toString(replaceValue);
|
|
8899
|
+
|
|
8900
|
+
var global = rx.global;
|
|
8901
|
+
if (global) {
|
|
8902
|
+
var fullUnicode = rx.unicode;
|
|
8903
|
+
rx.lastIndex = 0;
|
|
8904
|
+
}
|
|
8905
|
+
var results = [];
|
|
8906
|
+
while (true) {
|
|
8907
|
+
var result = regExpExec(rx, S);
|
|
8908
|
+
if (result === null) break;
|
|
8909
|
+
|
|
8910
|
+
results.push(result);
|
|
8911
|
+
if (!global) break;
|
|
8912
|
+
|
|
8913
|
+
var matchStr = toString(result[0]);
|
|
8914
|
+
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
|
8915
|
+
}
|
|
8916
|
+
|
|
8917
|
+
var accumulatedResult = '';
|
|
8918
|
+
var nextSourcePosition = 0;
|
|
8919
|
+
for (var i = 0; i < results.length; i++) {
|
|
8920
|
+
result = results[i];
|
|
8921
|
+
|
|
8922
|
+
var matched = toString(result[0]);
|
|
8923
|
+
var position = max(min(toInteger(result.index), S.length), 0);
|
|
8924
|
+
var captures = [];
|
|
8925
|
+
// NOTE: This is equivalent to
|
|
8926
|
+
// captures = result.slice(1).map(maybeToString)
|
|
8927
|
+
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
|
8928
|
+
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
|
|
8929
|
+
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
|
|
8930
|
+
for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
|
|
8931
|
+
var namedCaptures = result.groups;
|
|
8932
|
+
if (functionalReplace) {
|
|
8933
|
+
var replacerArgs = [matched].concat(captures, position, S);
|
|
8934
|
+
if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
|
|
8935
|
+
var replacement = toString(replaceValue.apply(undefined, replacerArgs));
|
|
8936
|
+
} else {
|
|
8937
|
+
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
8938
|
+
}
|
|
8939
|
+
if (position >= nextSourcePosition) {
|
|
8940
|
+
accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
|
|
8941
|
+
nextSourcePosition = position + matched.length;
|
|
8942
|
+
}
|
|
8943
|
+
}
|
|
8944
|
+
return accumulatedResult + S.slice(nextSourcePosition);
|
|
8945
|
+
}
|
|
8946
|
+
];
|
|
8947
|
+
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
8948
|
+
|
|
8949
|
+
|
|
8746
8950
|
/***/ }),
|
|
8747
8951
|
|
|
8748
8952
|
/***/ "5488":
|
|
@@ -8867,6 +9071,13 @@ var store = __webpack_require__("c6cd");
|
|
|
8867
9071
|
});
|
|
8868
9072
|
|
|
8869
9073
|
|
|
9074
|
+
/***/ }),
|
|
9075
|
+
|
|
9076
|
+
/***/ "56e9":
|
|
9077
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9078
|
+
|
|
9079
|
+
// extracted by mini-css-extract-plugin
|
|
9080
|
+
|
|
8870
9081
|
/***/ }),
|
|
8871
9082
|
|
|
8872
9083
|
/***/ "56ef":
|
|
@@ -52683,6 +52894,13 @@ module.exports = collection('Set', function (init) {
|
|
|
52683
52894
|
module.exports = typeof window == 'object';
|
|
52684
52895
|
|
|
52685
52896
|
|
|
52897
|
+
/***/ }),
|
|
52898
|
+
|
|
52899
|
+
/***/ "610c":
|
|
52900
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
52901
|
+
|
|
52902
|
+
// extracted by mini-css-extract-plugin
|
|
52903
|
+
|
|
52686
52904
|
/***/ }),
|
|
52687
52905
|
|
|
52688
52906
|
/***/ "6167":
|
|
@@ -54299,6 +54517,17 @@ addToUnscopables('values');
|
|
|
54299
54517
|
addToUnscopables('entries');
|
|
54300
54518
|
|
|
54301
54519
|
|
|
54520
|
+
/***/ }),
|
|
54521
|
+
|
|
54522
|
+
/***/ "692b":
|
|
54523
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
54524
|
+
|
|
54525
|
+
"use strict";
|
|
54526
|
+
/* 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");
|
|
54527
|
+
/* 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__);
|
|
54528
|
+
/* unused harmony reexport * */
|
|
54529
|
+
|
|
54530
|
+
|
|
54302
54531
|
/***/ }),
|
|
54303
54532
|
|
|
54304
54533
|
/***/ "693d":
|
|
@@ -57709,6 +57938,17 @@ module.exports = function (it) {
|
|
|
57709
57938
|
};
|
|
57710
57939
|
|
|
57711
57940
|
|
|
57941
|
+
/***/ }),
|
|
57942
|
+
|
|
57943
|
+
/***/ "8360":
|
|
57944
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
57945
|
+
|
|
57946
|
+
"use strict";
|
|
57947
|
+
/* 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");
|
|
57948
|
+
/* 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__);
|
|
57949
|
+
/* unused harmony reexport * */
|
|
57950
|
+
|
|
57951
|
+
|
|
57712
57952
|
/***/ }),
|
|
57713
57953
|
|
|
57714
57954
|
/***/ "83ab":
|
|
@@ -64358,6 +64598,13 @@ module.exports = function (it) {
|
|
|
64358
64598
|
};
|
|
64359
64599
|
|
|
64360
64600
|
|
|
64601
|
+
/***/ }),
|
|
64602
|
+
|
|
64603
|
+
/***/ "c9d1":
|
|
64604
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
64605
|
+
|
|
64606
|
+
// extracted by mini-css-extract-plugin
|
|
64607
|
+
|
|
64361
64608
|
/***/ }),
|
|
64362
64609
|
|
|
64363
64610
|
/***/ "ca84":
|
|
@@ -65420,6 +65667,40 @@ var __WEBPACK_AMD_DEFINE_RESULT__;
|
|
|
65420
65667
|
} else {}
|
|
65421
65668
|
})(undefined);
|
|
65422
65669
|
|
|
65670
|
+
/***/ }),
|
|
65671
|
+
|
|
65672
|
+
/***/ "d81d":
|
|
65673
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
65674
|
+
|
|
65675
|
+
"use strict";
|
|
65676
|
+
|
|
65677
|
+
var $ = __webpack_require__("23e7");
|
|
65678
|
+
var $map = __webpack_require__("b727").map;
|
|
65679
|
+
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
|
|
65680
|
+
|
|
65681
|
+
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
|
|
65682
|
+
|
|
65683
|
+
// `Array.prototype.map` method
|
|
65684
|
+
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
65685
|
+
// with adding support of @@species
|
|
65686
|
+
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
65687
|
+
map: function map(callbackfn /* , thisArg */) {
|
|
65688
|
+
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
65689
|
+
}
|
|
65690
|
+
});
|
|
65691
|
+
|
|
65692
|
+
|
|
65693
|
+
/***/ }),
|
|
65694
|
+
|
|
65695
|
+
/***/ "d850":
|
|
65696
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
65697
|
+
|
|
65698
|
+
"use strict";
|
|
65699
|
+
/* 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");
|
|
65700
|
+
/* 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__);
|
|
65701
|
+
/* unused harmony reexport * */
|
|
65702
|
+
|
|
65703
|
+
|
|
65423
65704
|
/***/ }),
|
|
65424
65705
|
|
|
65425
65706
|
/***/ "d925":
|
|
@@ -69310,6 +69591,17 @@ module.exports = function (done, value) {
|
|
|
69310
69591
|
};
|
|
69311
69592
|
|
|
69312
69593
|
|
|
69594
|
+
/***/ }),
|
|
69595
|
+
|
|
69596
|
+
/***/ "eeb2":
|
|
69597
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
69598
|
+
|
|
69599
|
+
"use strict";
|
|
69600
|
+
/* 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");
|
|
69601
|
+
/* 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__);
|
|
69602
|
+
/* unused harmony reexport * */
|
|
69603
|
+
|
|
69604
|
+
|
|
69313
69605
|
/***/ }),
|
|
69314
69606
|
|
|
69315
69607
|
/***/ "eedf":
|
|
@@ -71558,6 +71850,17 @@ InterceptorManager.prototype.forEach = function forEach(fn) {
|
|
|
71558
71850
|
module.exports = InterceptorManager;
|
|
71559
71851
|
|
|
71560
71852
|
|
|
71853
|
+
/***/ }),
|
|
71854
|
+
|
|
71855
|
+
/***/ "f76b":
|
|
71856
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
71857
|
+
|
|
71858
|
+
"use strict";
|
|
71859
|
+
/* 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");
|
|
71860
|
+
/* 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__);
|
|
71861
|
+
/* unused harmony reexport * */
|
|
71862
|
+
|
|
71863
|
+
|
|
71561
71864
|
/***/ }),
|
|
71562
71865
|
|
|
71563
71866
|
/***/ "f772":
|
|
@@ -71580,6 +71883,17 @@ module.exports = function (key) {
|
|
|
71580
71883
|
|
|
71581
71884
|
module.exports = { "default": __webpack_require__("8119"), __esModule: true };
|
|
71582
71885
|
|
|
71886
|
+
/***/ }),
|
|
71887
|
+
|
|
71888
|
+
/***/ "fa36":
|
|
71889
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
71890
|
+
|
|
71891
|
+
"use strict";
|
|
71892
|
+
/* 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");
|
|
71893
|
+
/* 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__);
|
|
71894
|
+
/* unused harmony reexport * */
|
|
71895
|
+
|
|
71896
|
+
|
|
71583
71897
|
/***/ }),
|
|
71584
71898
|
|
|
71585
71899
|
/***/ "faf5":
|
|
@@ -81443,12 +81757,717 @@ SvgIcon.install = function (Vue) {
|
|
|
81443
81757
|
};
|
|
81444
81758
|
|
|
81445
81759
|
/* harmony default export */ var svg_icon = (SvgIcon);
|
|
81760
|
+
// 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&
|
|
81761
|
+
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)}
|
|
81762
|
+
var tf_layoutvue_type_template_id_ead7f7be_scoped_true_staticRenderFns = []
|
|
81763
|
+
|
|
81764
|
+
|
|
81765
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/tf-layout.vue?vue&type=template&id=ead7f7be&scoped=true&
|
|
81766
|
+
|
|
81767
|
+
// 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&
|
|
81768
|
+
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)}
|
|
81769
|
+
var tf_menuvue_type_template_id_43bd04e7_scoped_true_staticRenderFns = []
|
|
81770
|
+
|
|
81771
|
+
|
|
81772
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-menu.vue?vue&type=template&id=43bd04e7&scoped=true&
|
|
81773
|
+
|
|
81774
|
+
// 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&
|
|
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
|
+
//
|
|
81832
|
+
//
|
|
81833
|
+
//
|
|
81834
|
+
//
|
|
81835
|
+
//
|
|
81836
|
+
//
|
|
81837
|
+
//
|
|
81838
|
+
//
|
|
81839
|
+
//
|
|
81840
|
+
/* harmony default export */ var tf_menuvue_type_script_lang_js_ = ({
|
|
81841
|
+
name: 'TfMenu',
|
|
81842
|
+
props: {
|
|
81843
|
+
menuInfo: {
|
|
81844
|
+
type: Array,
|
|
81845
|
+
default: function _default() {
|
|
81846
|
+
return [];
|
|
81847
|
+
}
|
|
81848
|
+
}
|
|
81849
|
+
},
|
|
81850
|
+
data: function data() {
|
|
81851
|
+
return {
|
|
81852
|
+
isCollapse: false,
|
|
81853
|
+
activePath: null
|
|
81854
|
+
};
|
|
81855
|
+
},
|
|
81856
|
+
watch: {
|
|
81857
|
+
'$route.path': {
|
|
81858
|
+
handler: function handler(params) {
|
|
81859
|
+
if (params) this.activePath = params;
|
|
81860
|
+
},
|
|
81861
|
+
deep: true,
|
|
81862
|
+
immediate: true
|
|
81863
|
+
}
|
|
81864
|
+
}
|
|
81865
|
+
});
|
|
81866
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-menu.vue?vue&type=script&lang=js&
|
|
81867
|
+
/* harmony default export */ var components_tf_menuvue_type_script_lang_js_ = (tf_menuvue_type_script_lang_js_);
|
|
81868
|
+
// EXTERNAL MODULE: ./package/tf-layout/src/components/tf-menu.vue?vue&type=style&index=0&id=43bd04e7&lang=less&scoped=true&
|
|
81869
|
+
var tf_menuvue_type_style_index_0_id_43bd04e7_lang_less_scoped_true_ = __webpack_require__("692b");
|
|
81870
|
+
|
|
81871
|
+
// EXTERNAL MODULE: ./package/tf-layout/src/components/tf-menu.vue?vue&type=style&index=1&lang=less&
|
|
81872
|
+
var tf_menuvue_type_style_index_1_lang_less_ = __webpack_require__("8360");
|
|
81873
|
+
|
|
81874
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-menu.vue
|
|
81875
|
+
|
|
81876
|
+
|
|
81877
|
+
|
|
81878
|
+
|
|
81879
|
+
|
|
81880
|
+
|
|
81881
|
+
|
|
81882
|
+
/* normalize component */
|
|
81883
|
+
|
|
81884
|
+
var tf_menu_component = normalizeComponent(
|
|
81885
|
+
components_tf_menuvue_type_script_lang_js_,
|
|
81886
|
+
tf_menuvue_type_template_id_43bd04e7_scoped_true_render,
|
|
81887
|
+
tf_menuvue_type_template_id_43bd04e7_scoped_true_staticRenderFns,
|
|
81888
|
+
false,
|
|
81889
|
+
null,
|
|
81890
|
+
"43bd04e7",
|
|
81891
|
+
null
|
|
81892
|
+
|
|
81893
|
+
)
|
|
81894
|
+
|
|
81895
|
+
/* harmony default export */ var tf_menu = (tf_menu_component.exports);
|
|
81896
|
+
// 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&
|
|
81897
|
+
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)}
|
|
81898
|
+
var tf_labelbarvue_type_template_id_33830e49_scoped_true_staticRenderFns = []
|
|
81899
|
+
|
|
81900
|
+
|
|
81901
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-labelbar.vue?vue&type=template&id=33830e49&scoped=true&
|
|
81902
|
+
|
|
81903
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
81904
|
+
var es_string_replace = __webpack_require__("5319");
|
|
81905
|
+
|
|
81906
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
81907
|
+
var es_array_map = __webpack_require__("d81d");
|
|
81908
|
+
|
|
81909
|
+
// 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&
|
|
81910
|
+
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)}
|
|
81911
|
+
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')])])}]
|
|
81912
|
+
|
|
81913
|
+
|
|
81914
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-rotate-box.vue?vue&type=template&id=e334a8d8&scoped=true&
|
|
81915
|
+
|
|
81916
|
+
// 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&
|
|
81917
|
+
//
|
|
81918
|
+
//
|
|
81919
|
+
//
|
|
81920
|
+
//
|
|
81921
|
+
//
|
|
81922
|
+
//
|
|
81923
|
+
//
|
|
81924
|
+
//
|
|
81925
|
+
//
|
|
81926
|
+
//
|
|
81927
|
+
//
|
|
81928
|
+
/* harmony default export */ var tf_rotate_boxvue_type_script_lang_js_ = ({});
|
|
81929
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-rotate-box.vue?vue&type=script&lang=js&
|
|
81930
|
+
/* harmony default export */ var components_tf_rotate_boxvue_type_script_lang_js_ = (tf_rotate_boxvue_type_script_lang_js_);
|
|
81931
|
+
// EXTERNAL MODULE: ./package/tf-layout/src/components/tf-rotate-box.vue?vue&type=style&index=0&id=e334a8d8&lang=less&scoped=true&
|
|
81932
|
+
var tf_rotate_boxvue_type_style_index_0_id_e334a8d8_lang_less_scoped_true_ = __webpack_require__("eeb2");
|
|
81933
|
+
|
|
81934
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-rotate-box.vue
|
|
81935
|
+
|
|
81936
|
+
|
|
81937
|
+
|
|
81938
|
+
|
|
81939
|
+
|
|
81940
|
+
|
|
81941
|
+
/* normalize component */
|
|
81942
|
+
|
|
81943
|
+
var tf_rotate_box_component = normalizeComponent(
|
|
81944
|
+
components_tf_rotate_boxvue_type_script_lang_js_,
|
|
81945
|
+
tf_rotate_boxvue_type_template_id_e334a8d8_scoped_true_render,
|
|
81946
|
+
tf_rotate_boxvue_type_template_id_e334a8d8_scoped_true_staticRenderFns,
|
|
81947
|
+
false,
|
|
81948
|
+
null,
|
|
81949
|
+
"e334a8d8",
|
|
81950
|
+
null
|
|
81951
|
+
|
|
81952
|
+
)
|
|
81953
|
+
|
|
81954
|
+
/* harmony default export */ var tf_rotate_box = (tf_rotate_box_component.exports);
|
|
81955
|
+
// 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&
|
|
81956
|
+
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(" 全部关闭 ")])])}
|
|
81957
|
+
var tf_right_menuvue_type_template_id_786f3d15_scoped_true_staticRenderFns = []
|
|
81958
|
+
|
|
81959
|
+
|
|
81960
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-right-menu.vue?vue&type=template&id=786f3d15&scoped=true&
|
|
81961
|
+
|
|
81962
|
+
// 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&
|
|
81963
|
+
|
|
81964
|
+
//
|
|
81965
|
+
//
|
|
81966
|
+
//
|
|
81967
|
+
//
|
|
81968
|
+
//
|
|
81969
|
+
//
|
|
81970
|
+
//
|
|
81971
|
+
//
|
|
81972
|
+
//
|
|
81973
|
+
//
|
|
81974
|
+
//
|
|
81975
|
+
//
|
|
81976
|
+
//
|
|
81977
|
+
//
|
|
81978
|
+
//
|
|
81979
|
+
//
|
|
81980
|
+
//
|
|
81981
|
+
//
|
|
81982
|
+
//
|
|
81983
|
+
//
|
|
81984
|
+
//
|
|
81985
|
+
/* harmony default export */ var tf_right_menuvue_type_script_lang_js_ = ({
|
|
81986
|
+
props: {
|
|
81987
|
+
top: {
|
|
81988
|
+
default: 0,
|
|
81989
|
+
type: Number
|
|
81990
|
+
},
|
|
81991
|
+
left: {
|
|
81992
|
+
default: 0,
|
|
81993
|
+
type: Number
|
|
81994
|
+
},
|
|
81995
|
+
showMenu: {
|
|
81996
|
+
type: Boolean,
|
|
81997
|
+
default: false
|
|
81998
|
+
}
|
|
81999
|
+
},
|
|
82000
|
+
methods: {
|
|
82001
|
+
/**
|
|
82002
|
+
* @description 右键点击事件
|
|
82003
|
+
*/
|
|
82004
|
+
rightMenuClick: function rightMenuClick(params) {
|
|
82005
|
+
this.$emit('rightMenuClick', params);
|
|
82006
|
+
}
|
|
82007
|
+
}
|
|
82008
|
+
});
|
|
82009
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-right-menu.vue?vue&type=script&lang=js&
|
|
82010
|
+
/* harmony default export */ var components_tf_right_menuvue_type_script_lang_js_ = (tf_right_menuvue_type_script_lang_js_);
|
|
82011
|
+
// EXTERNAL MODULE: ./package/tf-layout/src/components/tf-right-menu.vue?vue&type=style&index=0&id=786f3d15&lang=less&scoped=true&
|
|
82012
|
+
var tf_right_menuvue_type_style_index_0_id_786f3d15_lang_less_scoped_true_ = __webpack_require__("fa36");
|
|
82013
|
+
|
|
82014
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-right-menu.vue
|
|
82015
|
+
|
|
82016
|
+
|
|
82017
|
+
|
|
82018
|
+
|
|
82019
|
+
|
|
82020
|
+
|
|
82021
|
+
/* normalize component */
|
|
82022
|
+
|
|
82023
|
+
var tf_right_menu_component = normalizeComponent(
|
|
82024
|
+
components_tf_right_menuvue_type_script_lang_js_,
|
|
82025
|
+
tf_right_menuvue_type_template_id_786f3d15_scoped_true_render,
|
|
82026
|
+
tf_right_menuvue_type_template_id_786f3d15_scoped_true_staticRenderFns,
|
|
82027
|
+
false,
|
|
82028
|
+
null,
|
|
82029
|
+
"786f3d15",
|
|
82030
|
+
null
|
|
82031
|
+
|
|
82032
|
+
)
|
|
82033
|
+
|
|
82034
|
+
/* harmony default export */ var tf_right_menu = (tf_right_menu_component.exports);
|
|
82035
|
+
// 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&
|
|
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
|
+
//
|
|
82106
|
+
//
|
|
82107
|
+
//
|
|
82108
|
+
//
|
|
82109
|
+
//
|
|
82110
|
+
//
|
|
82111
|
+
//
|
|
82112
|
+
|
|
82113
|
+
|
|
82114
|
+
/* harmony default export */ var tf_labelbarvue_type_script_lang_js_ = ({
|
|
82115
|
+
name: 'TfLaberBar',
|
|
82116
|
+
components: {
|
|
82117
|
+
TfRotateBox: tf_rotate_box,
|
|
82118
|
+
TfRightMenu: tf_right_menu
|
|
82119
|
+
},
|
|
82120
|
+
data: function data() {
|
|
82121
|
+
return {
|
|
82122
|
+
activePath: '/',
|
|
82123
|
+
tagList: [],
|
|
82124
|
+
rightMenuLeft: 0,
|
|
82125
|
+
rightMenuTop: 0,
|
|
82126
|
+
showRightMenu: false
|
|
82127
|
+
};
|
|
82128
|
+
},
|
|
82129
|
+
watch: {
|
|
82130
|
+
$route: {
|
|
82131
|
+
handler: function handler(newValue) {
|
|
82132
|
+
if (newValue) {
|
|
82133
|
+
var meta = newValue.meta,
|
|
82134
|
+
path = newValue.path,
|
|
82135
|
+
name = newValue.name,
|
|
82136
|
+
params = newValue.params,
|
|
82137
|
+
query = newValue.query;
|
|
82138
|
+
if (!path) return;
|
|
82139
|
+
var obj = {
|
|
82140
|
+
path: path,
|
|
82141
|
+
name: name,
|
|
82142
|
+
params: params,
|
|
82143
|
+
query: query,
|
|
82144
|
+
defaultRouter: meta.defaultRouter,
|
|
82145
|
+
notCloseTag: meta.notCloseTag,
|
|
82146
|
+
title: meta.title,
|
|
82147
|
+
replace: meta.replace
|
|
82148
|
+
};
|
|
82149
|
+
|
|
82150
|
+
if (!meta.noCache) {
|
|
82151
|
+
var cacheArr = newValue.matched.map(function (item) {
|
|
82152
|
+
return item.name;
|
|
82153
|
+
});
|
|
82154
|
+
this.$emit('setCache', cacheArr);
|
|
82155
|
+
obj.cacheArr = cacheArr;
|
|
82156
|
+
}
|
|
82157
|
+
|
|
82158
|
+
if (obj.defaultRouter) {
|
|
82159
|
+
if (!this.checkMenu(obj.path)) this.tagList.unshift(obj);
|
|
82160
|
+
} else {
|
|
82161
|
+
if (!this.checkMenu(obj.path)) this.tagList.push(obj);
|
|
82162
|
+
} // todo: 增加页面缓存
|
|
82163
|
+
|
|
82164
|
+
|
|
82165
|
+
this.activePath = path;
|
|
82166
|
+
}
|
|
82167
|
+
},
|
|
82168
|
+
deep: true,
|
|
82169
|
+
immediate: true
|
|
82170
|
+
}
|
|
82171
|
+
},
|
|
82172
|
+
created: function created() {
|
|
82173
|
+
var _this = this;
|
|
82174
|
+
|
|
82175
|
+
window.addEventListener('click', function () {
|
|
82176
|
+
_this.showRightMenu = false;
|
|
82177
|
+
}, false);
|
|
82178
|
+
},
|
|
82179
|
+
methods: {
|
|
82180
|
+
/**
|
|
82181
|
+
* @description tag右键点击事件
|
|
82182
|
+
*/
|
|
82183
|
+
rightClick: function rightClick(tagItem, $event) {
|
|
82184
|
+
var _this2 = this;
|
|
82185
|
+
|
|
82186
|
+
this.routeJump(tagItem);
|
|
82187
|
+
this.$nextTick(function () {
|
|
82188
|
+
_this2.rightMenuTop = $event.clientY;
|
|
82189
|
+
_this2.rightMenuLeft = $event.clientX;
|
|
82190
|
+
_this2.showRightMenu = true;
|
|
82191
|
+
});
|
|
82192
|
+
},
|
|
82193
|
+
|
|
82194
|
+
/**
|
|
82195
|
+
* @member
|
|
82196
|
+
* @description 右侧操作
|
|
82197
|
+
* @param params: 操作指令: closeLeft => 关闭左侧, closeRight => 关闭右侧, closeAll => 关闭全部,
|
|
82198
|
+
*/
|
|
82199
|
+
dropdownCommand: function dropdownCommand(params) {
|
|
82200
|
+
var _this3 = this;
|
|
82201
|
+
|
|
82202
|
+
var activeNum = this.tagList.findIndex(function (item) {
|
|
82203
|
+
return item.path === _this3.activePath;
|
|
82204
|
+
});
|
|
82205
|
+
var pathMap = new Map();
|
|
82206
|
+
var deleteArr = [];
|
|
82207
|
+
var pathArr = this.tagList.map(function (item) {
|
|
82208
|
+
pathMap.set(item.path, item);
|
|
82209
|
+
return item.path;
|
|
82210
|
+
});
|
|
82211
|
+
|
|
82212
|
+
switch (params) {
|
|
82213
|
+
case 'closeLeft':
|
|
82214
|
+
deleteArr.push.apply(deleteArr, _toConsumableArray(pathArr.slice(0, activeNum)));
|
|
82215
|
+
break;
|
|
82216
|
+
|
|
82217
|
+
case 'closeRight':
|
|
82218
|
+
deleteArr.push.apply(deleteArr, _toConsumableArray(pathArr.slice(activeNum + 1, pathArr.length)));
|
|
82219
|
+
break;
|
|
82220
|
+
|
|
82221
|
+
case 'closeOther':
|
|
82222
|
+
deleteArr.push.apply(deleteArr, _toConsumableArray(pathArr.slice(0, activeNum)));
|
|
82223
|
+
deleteArr.push.apply(deleteArr, _toConsumableArray(pathArr.slice(activeNum + 1, pathArr.length)));
|
|
82224
|
+
break;
|
|
82225
|
+
|
|
82226
|
+
default:
|
|
82227
|
+
deleteArr.push.apply(deleteArr, _toConsumableArray(pathArr));
|
|
82228
|
+
break;
|
|
82229
|
+
}
|
|
82230
|
+
|
|
82231
|
+
var deleteCacheArr = [];
|
|
82232
|
+
deleteArr.forEach(function (item) {
|
|
82233
|
+
var tagItem = pathMap.get(item);
|
|
82234
|
+
if (tagItem && tagItem.cacheArr) deleteCacheArr.push(tagItem.cacheArr);
|
|
82235
|
+
|
|
82236
|
+
if (tagItem && !tagItem.notCloseTag) {
|
|
82237
|
+
var num = _this3.tagList.indexOf(tagItem);
|
|
82238
|
+
|
|
82239
|
+
_this3.tagList.splice(num, 1);
|
|
82240
|
+
}
|
|
82241
|
+
});
|
|
82242
|
+
this.$emit('deleteCache', deleteCacheArr);
|
|
82243
|
+
if (params === 'closeAll') this.routeJump(this.tagList[0]);
|
|
82244
|
+
},
|
|
82245
|
+
|
|
82246
|
+
/**
|
|
82247
|
+
* @description 左右滑动
|
|
82248
|
+
* @param direction: 滑动方向
|
|
82249
|
+
*/
|
|
82250
|
+
handleScroll: function handleScroll(direction) {
|
|
82251
|
+
var rollNum = 0;
|
|
82252
|
+
rollNum = direction === 'right' ? rollNum + 50 : rollNum - 50;
|
|
82253
|
+
var dom = this.$refs.labelMenu;
|
|
82254
|
+
dom.scrollLeft += rollNum;
|
|
82255
|
+
},
|
|
82256
|
+
|
|
82257
|
+
/**
|
|
82258
|
+
* @description 点击tag标签
|
|
82259
|
+
* @param path: 每项Tag
|
|
82260
|
+
*/
|
|
82261
|
+
checkMenu: function checkMenu(path) {
|
|
82262
|
+
if (this.tagList.find(function (item) {
|
|
82263
|
+
return item.path === path;
|
|
82264
|
+
})) return true;
|
|
82265
|
+
return false;
|
|
82266
|
+
},
|
|
82267
|
+
|
|
82268
|
+
/**
|
|
82269
|
+
* @description 路由跳转
|
|
82270
|
+
*/
|
|
82271
|
+
routeJump: function routeJump(value) {
|
|
82272
|
+
if (value && value.path !== this.activePath) {
|
|
82273
|
+
var path = value.path,
|
|
82274
|
+
query = value.query,
|
|
82275
|
+
params = value.params,
|
|
82276
|
+
replace = value.replace;
|
|
82277
|
+
|
|
82278
|
+
if (replace) {
|
|
82279
|
+
this.$router.replace({
|
|
82280
|
+
path: path,
|
|
82281
|
+
query: query,
|
|
82282
|
+
params: params
|
|
82283
|
+
});
|
|
82284
|
+
} else {
|
|
82285
|
+
this.$router.push({
|
|
82286
|
+
path: path,
|
|
82287
|
+
query: query,
|
|
82288
|
+
params: params
|
|
82289
|
+
});
|
|
82290
|
+
}
|
|
82291
|
+
}
|
|
82292
|
+
},
|
|
82293
|
+
|
|
82294
|
+
/**
|
|
82295
|
+
* 关闭tag
|
|
82296
|
+
*/
|
|
82297
|
+
closeTag: function closeTag(tagItem) {
|
|
82298
|
+
if (tagItem.cacheArr) this.$emit('deleteCache', [tagItem.cacheArr]);
|
|
82299
|
+
var num = this.tagList.indexOf(tagItem);
|
|
82300
|
+
|
|
82301
|
+
if (tagItem) {
|
|
82302
|
+
this.tagList.splice(num, 1);
|
|
82303
|
+
this.routeJump(this.tagList[num - 1]);
|
|
82304
|
+
}
|
|
82305
|
+
}
|
|
82306
|
+
}
|
|
82307
|
+
});
|
|
82308
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-labelbar.vue?vue&type=script&lang=js&
|
|
82309
|
+
/* harmony default export */ var components_tf_labelbarvue_type_script_lang_js_ = (tf_labelbarvue_type_script_lang_js_);
|
|
82310
|
+
// EXTERNAL MODULE: ./package/tf-layout/src/components/tf-labelbar.vue?vue&type=style&index=0&id=33830e49&lang=less&scoped=true&
|
|
82311
|
+
var tf_labelbarvue_type_style_index_0_id_33830e49_lang_less_scoped_true_ = __webpack_require__("d850");
|
|
82312
|
+
|
|
82313
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-labelbar.vue
|
|
82314
|
+
|
|
82315
|
+
|
|
82316
|
+
|
|
82317
|
+
|
|
82318
|
+
|
|
82319
|
+
|
|
82320
|
+
/* normalize component */
|
|
82321
|
+
|
|
82322
|
+
var tf_labelbar_component = normalizeComponent(
|
|
82323
|
+
components_tf_labelbarvue_type_script_lang_js_,
|
|
82324
|
+
tf_labelbarvue_type_template_id_33830e49_scoped_true_render,
|
|
82325
|
+
tf_labelbarvue_type_template_id_33830e49_scoped_true_staticRenderFns,
|
|
82326
|
+
false,
|
|
82327
|
+
null,
|
|
82328
|
+
"33830e49",
|
|
82329
|
+
null
|
|
82330
|
+
|
|
82331
|
+
)
|
|
82332
|
+
|
|
82333
|
+
/* harmony default export */ var tf_labelbar = (tf_labelbar_component.exports);
|
|
82334
|
+
// 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&
|
|
82335
|
+
|
|
82336
|
+
|
|
82337
|
+
|
|
82338
|
+
|
|
82339
|
+
|
|
82340
|
+
|
|
82341
|
+
|
|
82342
|
+
|
|
82343
|
+
|
|
82344
|
+
//
|
|
82345
|
+
//
|
|
82346
|
+
//
|
|
82347
|
+
//
|
|
82348
|
+
//
|
|
82349
|
+
//
|
|
82350
|
+
//
|
|
82351
|
+
//
|
|
82352
|
+
//
|
|
82353
|
+
//
|
|
82354
|
+
//
|
|
82355
|
+
//
|
|
82356
|
+
//
|
|
82357
|
+
//
|
|
82358
|
+
|
|
82359
|
+
|
|
82360
|
+
/* harmony default export */ var tf_layoutvue_type_script_lang_js_ = ({
|
|
82361
|
+
name: 'TfLayout',
|
|
82362
|
+
components: {
|
|
82363
|
+
TfMenu: tf_menu,
|
|
82364
|
+
TfLaberBar: tf_labelbar
|
|
82365
|
+
},
|
|
82366
|
+
props: {
|
|
82367
|
+
menuInfo: {
|
|
82368
|
+
type: Array,
|
|
82369
|
+
default: function _default() {
|
|
82370
|
+
return [];
|
|
82371
|
+
}
|
|
82372
|
+
}
|
|
82373
|
+
},
|
|
82374
|
+
data: function data() {
|
|
82375
|
+
return {
|
|
82376
|
+
cacheMap: new Map(),
|
|
82377
|
+
secondCacheArray: [],
|
|
82378
|
+
thirdCacheArr: []
|
|
82379
|
+
};
|
|
82380
|
+
},
|
|
82381
|
+
methods: {
|
|
82382
|
+
setCache: function setCache(value) {
|
|
82383
|
+
this.cacheMap.set(value[2] || value[1], value[1]);
|
|
82384
|
+
this.initCacheArr();
|
|
82385
|
+
},
|
|
82386
|
+
initCacheArr: function initCacheArr() {
|
|
82387
|
+
var _this$secondCacheArra, _this$thirdCacheArr;
|
|
82388
|
+
|
|
82389
|
+
(_this$secondCacheArra = this.secondCacheArray).push.apply(_this$secondCacheArra, _toConsumableArray(this.arrayDiff(_toConsumableArray(this.cacheMap.values()), this.secondCacheArray)));
|
|
82390
|
+
|
|
82391
|
+
(_this$thirdCacheArr = this.thirdCacheArr).push.apply(_this$thirdCacheArr, _toConsumableArray(this.arrayDiff(_toConsumableArray(this.cacheMap.keys()), this.thirdCacheArr)));
|
|
82392
|
+
|
|
82393
|
+
this.$emit('setSecondCache', this.secondCacheArray);
|
|
82394
|
+
this.$emit('setThirdCache', this.thirdCacheArr);
|
|
82395
|
+
},
|
|
82396
|
+
arrayDiff: function arrayDiff(arr, arrRaw) {
|
|
82397
|
+
if (Array.isArray(arr)) {
|
|
82398
|
+
return arr.filter(function (i) {
|
|
82399
|
+
return arrRaw.indexOf(i) < 0;
|
|
82400
|
+
});
|
|
82401
|
+
}
|
|
82402
|
+
|
|
82403
|
+
return [];
|
|
82404
|
+
},
|
|
82405
|
+
deleteCache: function deleteCache(value) {
|
|
82406
|
+
var _this = this;
|
|
82407
|
+
|
|
82408
|
+
if (Array.isArray(value)) {
|
|
82409
|
+
value.forEach(function (item) {
|
|
82410
|
+
console.log(item);
|
|
82411
|
+
|
|
82412
|
+
_this.cacheMap.delete(item[2] || item[1]);
|
|
82413
|
+
|
|
82414
|
+
_this.thirdCacheArr.splice(_this.thirdCacheArr.indexOf(item[2] || item[1]), 1);
|
|
82415
|
+
|
|
82416
|
+
if (_toConsumableArray(_this.cacheMap.values()).indexOf(item[1]) === -1) {
|
|
82417
|
+
_this.secondCacheArray.splice(_this.secondCacheArray.indexOf(item[2]), 1);
|
|
82418
|
+
}
|
|
82419
|
+
|
|
82420
|
+
console.log(_this.cacheMap.get(item[2] || item[1]));
|
|
82421
|
+
});
|
|
82422
|
+
this.$emit('setSecondCache', this.secondCacheArray);
|
|
82423
|
+
this.$emit('setThirdCache', this.thirdCacheArr);
|
|
82424
|
+
}
|
|
82425
|
+
}
|
|
82426
|
+
}
|
|
82427
|
+
});
|
|
82428
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/tf-layout.vue?vue&type=script&lang=js&
|
|
82429
|
+
/* harmony default export */ var src_tf_layoutvue_type_script_lang_js_ = (tf_layoutvue_type_script_lang_js_);
|
|
82430
|
+
// EXTERNAL MODULE: ./package/tf-layout/src/tf-layout.vue?vue&type=style&index=0&id=ead7f7be&lang=less&scoped=true&
|
|
82431
|
+
var tf_layoutvue_type_style_index_0_id_ead7f7be_lang_less_scoped_true_ = __webpack_require__("f76b");
|
|
82432
|
+
|
|
82433
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/tf-layout.vue
|
|
82434
|
+
|
|
82435
|
+
|
|
82436
|
+
|
|
82437
|
+
|
|
82438
|
+
|
|
82439
|
+
|
|
82440
|
+
/* normalize component */
|
|
82441
|
+
|
|
82442
|
+
var tf_layout_component = normalizeComponent(
|
|
82443
|
+
src_tf_layoutvue_type_script_lang_js_,
|
|
82444
|
+
tf_layoutvue_type_template_id_ead7f7be_scoped_true_render,
|
|
82445
|
+
tf_layoutvue_type_template_id_ead7f7be_scoped_true_staticRenderFns,
|
|
82446
|
+
false,
|
|
82447
|
+
null,
|
|
82448
|
+
"ead7f7be",
|
|
82449
|
+
null
|
|
82450
|
+
|
|
82451
|
+
)
|
|
82452
|
+
|
|
82453
|
+
/* harmony default export */ var tf_layout = (tf_layout_component.exports);
|
|
82454
|
+
// CONCATENATED MODULE: ./package/tf-layout/index.js
|
|
82455
|
+
|
|
82456
|
+
|
|
82457
|
+
/* istanbul ignore next */
|
|
82458
|
+
|
|
82459
|
+
tf_layout.install = function (Vue) {
|
|
82460
|
+
Vue.component(tf_layout.name, tf_layout);
|
|
82461
|
+
};
|
|
82462
|
+
|
|
82463
|
+
/* harmony default export */ var package_tf_layout = (tf_layout);
|
|
81446
82464
|
// CONCATENATED MODULE: ./src/index.js
|
|
81447
82465
|
|
|
81448
82466
|
|
|
81449
82467
|
|
|
81450
82468
|
|
|
81451
|
-
|
|
82469
|
+
|
|
82470
|
+
var components = [package_tf_widget, svg_icon, package_tf_layout];
|
|
81452
82471
|
|
|
81453
82472
|
var install = function install(Vue) {
|
|
81454
82473
|
components.forEach(function (component) {
|
|
@@ -81459,7 +82478,8 @@ var install = function install(Vue) {
|
|
|
81459
82478
|
/* harmony default export */ var src_0 = ({
|
|
81460
82479
|
install: install,
|
|
81461
82480
|
TfWidget: package_tf_widget,
|
|
81462
|
-
SvgIcon: svg_icon
|
|
82481
|
+
SvgIcon: svg_icon,
|
|
82482
|
+
TfLayout: package_tf_layout
|
|
81463
82483
|
});
|
|
81464
82484
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
81465
82485
|
|