@tongfun/tf-widget 0.1.11 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/tf-widget.common.js +400 -54
- package/lib/tf-widget.css +1 -1
- package/lib/tf-widget.umd.js +400 -54
- package/lib/tf-widget.umd.min.js +6 -6
- package/package/tf-icon-picker/README.md +0 -0
- package/package/tf-icon-picker/index.js +8 -0
- package/package/tf-icon-picker/src/tf-icon-picker.vue +266 -0
- package/package/tf-layout/src/components/tf-labelbar.vue +11 -7
- package/package/tf-layout/src/tf-layout.vue +6 -1
- package/package.json +1 -1
- package/src/index.js +5 -2
package/lib/tf-widget.common.js
CHANGED
|
@@ -1419,6 +1419,20 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa
|
|
|
1419
1419
|
}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
|
|
1420
1420
|
|
|
1421
1421
|
|
|
1422
|
+
/***/ }),
|
|
1423
|
+
|
|
1424
|
+
/***/ "129f":
|
|
1425
|
+
/***/ (function(module, exports) {
|
|
1426
|
+
|
|
1427
|
+
// `SameValue` abstract operation
|
|
1428
|
+
// https://tc39.es/ecma262/#sec-samevalue
|
|
1429
|
+
// eslint-disable-next-line es/no-object-is -- safe
|
|
1430
|
+
module.exports = Object.is || function is(x, y) {
|
|
1431
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1432
|
+
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
|
|
1433
|
+
};
|
|
1434
|
+
|
|
1435
|
+
|
|
1422
1436
|
/***/ }),
|
|
1423
1437
|
|
|
1424
1438
|
/***/ "12f2":
|
|
@@ -14240,6 +14254,13 @@ module.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function
|
|
|
14240
14254
|
} : $isExtensible;
|
|
14241
14255
|
|
|
14242
14256
|
|
|
14257
|
+
/***/ }),
|
|
14258
|
+
|
|
14259
|
+
/***/ "5047":
|
|
14260
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
14261
|
+
|
|
14262
|
+
// extracted by mini-css-extract-plugin
|
|
14263
|
+
|
|
14243
14264
|
/***/ }),
|
|
14244
14265
|
|
|
14245
14266
|
/***/ "5087":
|
|
@@ -63116,6 +63137,13 @@ module.exports = {
|
|
|
63116
63137
|
};
|
|
63117
63138
|
|
|
63118
63139
|
|
|
63140
|
+
/***/ }),
|
|
63141
|
+
|
|
63142
|
+
/***/ "70aa":
|
|
63143
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
63144
|
+
|
|
63145
|
+
// extracted by mini-css-extract-plugin
|
|
63146
|
+
|
|
63119
63147
|
/***/ }),
|
|
63120
63148
|
|
|
63121
63149
|
/***/ "7156":
|
|
@@ -65203,17 +65231,6 @@ module.exports = function (argument) {
|
|
|
65203
65231
|
};
|
|
65204
65232
|
|
|
65205
65233
|
|
|
65206
|
-
/***/ }),
|
|
65207
|
-
|
|
65208
|
-
/***/ "82f1":
|
|
65209
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
65210
|
-
|
|
65211
|
-
"use strict";
|
|
65212
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_layout_vue_vue_type_style_index_0_id_65ba1a50_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8a33");
|
|
65213
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_layout_vue_vue_type_style_index_0_id_65ba1a50_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_layout_vue_vue_type_style_index_0_id_65ba1a50_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
65214
|
-
/* unused harmony reexport * */
|
|
65215
|
-
|
|
65216
|
-
|
|
65217
65234
|
/***/ }),
|
|
65218
65235
|
|
|
65219
65236
|
/***/ "8360":
|
|
@@ -65296,6 +65313,51 @@ module.exports = function (object, key, value) {
|
|
|
65296
65313
|
};
|
|
65297
65314
|
|
|
65298
65315
|
|
|
65316
|
+
/***/ }),
|
|
65317
|
+
|
|
65318
|
+
/***/ "841c":
|
|
65319
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
65320
|
+
|
|
65321
|
+
"use strict";
|
|
65322
|
+
|
|
65323
|
+
var call = __webpack_require__("c65b");
|
|
65324
|
+
var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784");
|
|
65325
|
+
var anObject = __webpack_require__("825a");
|
|
65326
|
+
var requireObjectCoercible = __webpack_require__("1d80");
|
|
65327
|
+
var sameValue = __webpack_require__("129f");
|
|
65328
|
+
var toString = __webpack_require__("577e");
|
|
65329
|
+
var getMethod = __webpack_require__("dc4a");
|
|
65330
|
+
var regExpExec = __webpack_require__("14c3");
|
|
65331
|
+
|
|
65332
|
+
// @@search logic
|
|
65333
|
+
fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
|
|
65334
|
+
return [
|
|
65335
|
+
// `String.prototype.search` method
|
|
65336
|
+
// https://tc39.es/ecma262/#sec-string.prototype.search
|
|
65337
|
+
function search(regexp) {
|
|
65338
|
+
var O = requireObjectCoercible(this);
|
|
65339
|
+
var searcher = regexp == undefined ? undefined : getMethod(regexp, SEARCH);
|
|
65340
|
+
return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
|
|
65341
|
+
},
|
|
65342
|
+
// `RegExp.prototype[@@search]` method
|
|
65343
|
+
// https://tc39.es/ecma262/#sec-regexp.prototype-@@search
|
|
65344
|
+
function (string) {
|
|
65345
|
+
var rx = anObject(this);
|
|
65346
|
+
var S = toString(string);
|
|
65347
|
+
var res = maybeCallNative(nativeSearch, rx, S);
|
|
65348
|
+
|
|
65349
|
+
if (res.done) return res.value;
|
|
65350
|
+
|
|
65351
|
+
var previousLastIndex = rx.lastIndex;
|
|
65352
|
+
if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
|
|
65353
|
+
var result = regExpExec(rx, S);
|
|
65354
|
+
if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
|
|
65355
|
+
return result === null ? -1 : result.index;
|
|
65356
|
+
}
|
|
65357
|
+
];
|
|
65358
|
+
});
|
|
65359
|
+
|
|
65360
|
+
|
|
65299
65361
|
/***/ }),
|
|
65300
65362
|
|
|
65301
65363
|
/***/ "845f":
|
|
@@ -65869,13 +65931,6 @@ module.exports = store.inspectSource;
|
|
|
65869
65931
|
module.exports = {};
|
|
65870
65932
|
|
|
65871
65933
|
|
|
65872
|
-
/***/ }),
|
|
65873
|
-
|
|
65874
|
-
/***/ "8a33":
|
|
65875
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
65876
|
-
|
|
65877
|
-
// extracted by mini-css-extract-plugin
|
|
65878
|
-
|
|
65879
65934
|
/***/ }),
|
|
65880
65935
|
|
|
65881
65936
|
/***/ "8aa5":
|
|
@@ -68601,12 +68656,12 @@ module.exports = function (argument, usingIterator) {
|
|
|
68601
68656
|
|
|
68602
68657
|
/***/ }),
|
|
68603
68658
|
|
|
68604
|
-
/***/ "
|
|
68659
|
+
/***/ "9b17":
|
|
68605
68660
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
68606
68661
|
|
|
68607
68662
|
"use strict";
|
|
68608
|
-
/* harmony import */ var
|
|
68609
|
-
/* harmony import */ var
|
|
68663
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_labelbar_vue_vue_type_style_index_0_id_5865b3ec_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("70aa");
|
|
68664
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_labelbar_vue_vue_type_style_index_0_id_5865b3ec_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_labelbar_vue_vue_type_style_index_0_id_5865b3ec_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
68610
68665
|
/* unused harmony reexport * */
|
|
68611
68666
|
|
|
68612
68667
|
|
|
@@ -70747,6 +70802,13 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
70747
70802
|
|
|
70748
70803
|
/***/ }),
|
|
70749
70804
|
|
|
70805
|
+
/***/ "a88e":
|
|
70806
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
70807
|
+
|
|
70808
|
+
// extracted by mini-css-extract-plugin
|
|
70809
|
+
|
|
70810
|
+
/***/ }),
|
|
70811
|
+
|
|
70750
70812
|
/***/ "a907":
|
|
70751
70813
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
70752
70814
|
|
|
@@ -76351,6 +76413,17 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
76351
76413
|
|
|
76352
76414
|
// extracted by mini-css-extract-plugin
|
|
76353
76415
|
|
|
76416
|
+
/***/ }),
|
|
76417
|
+
|
|
76418
|
+
/***/ "b967":
|
|
76419
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
76420
|
+
|
|
76421
|
+
"use strict";
|
|
76422
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_icon_picker_vue_vue_type_style_index_0_id_248a1fd3_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a88e");
|
|
76423
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_icon_picker_vue_vue_type_style_index_0_id_248a1fd3_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_icon_picker_vue_vue_type_style_index_0_id_248a1fd3_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
76424
|
+
/* unused harmony reexport * */
|
|
76425
|
+
|
|
76426
|
+
|
|
76354
76427
|
/***/ }),
|
|
76355
76428
|
|
|
76356
76429
|
/***/ "b9c7":
|
|
@@ -76368,13 +76441,6 @@ module.exports = __webpack_require__("5524").Object.assign;
|
|
|
76368
76441
|
module.exports = __webpack_require__("051b");
|
|
76369
76442
|
|
|
76370
76443
|
|
|
76371
|
-
/***/ }),
|
|
76372
|
-
|
|
76373
|
-
/***/ "ba27":
|
|
76374
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
76375
|
-
|
|
76376
|
-
// extracted by mini-css-extract-plugin
|
|
76377
|
-
|
|
76378
76444
|
/***/ }),
|
|
76379
76445
|
|
|
76380
76446
|
/***/ "ba99":
|
|
@@ -76662,6 +76728,17 @@ function pushDownValid(name, ids) {
|
|
|
76662
76728
|
});
|
|
76663
76729
|
}
|
|
76664
76730
|
|
|
76731
|
+
/***/ }),
|
|
76732
|
+
|
|
76733
|
+
/***/ "c258":
|
|
76734
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
76735
|
+
|
|
76736
|
+
"use strict";
|
|
76737
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_layout_vue_vue_type_style_index_0_id_54409d52_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5047");
|
|
76738
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_layout_vue_vue_type_style_index_0_id_54409d52_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_tf_layout_vue_vue_type_style_index_0_id_54409d52_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
76739
|
+
/* unused harmony reexport * */
|
|
76740
|
+
|
|
76741
|
+
|
|
76665
76742
|
/***/ }),
|
|
76666
76743
|
|
|
76667
76744
|
/***/ "c284":
|
|
@@ -99724,12 +99801,12 @@ SvgIcon.install = function (Vue) {
|
|
|
99724
99801
|
};
|
|
99725
99802
|
|
|
99726
99803
|
/* harmony default export */ var svg_icon = (SvgIcon);
|
|
99727
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c0bba838-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./package/tf-layout/src/tf-layout.vue?vue&type=template&id=
|
|
99728
|
-
var
|
|
99729
|
-
var
|
|
99804
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c0bba838-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./package/tf-layout/src/tf-layout.vue?vue&type=template&id=54409d52&scoped=true&
|
|
99805
|
+
var tf_layoutvue_type_template_id_54409d52_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:{"menus-info":_vm.menusInfo,"menu-state":_vm.menuState}}),_c('div',{staticClass:"tf-layout-subject"},[_c('TfLaberBar',{attrs:{"route-base":_vm.routeBase},on:{"setCache":_vm.setCache,"changeMenuState":_vm.changeMenuState,"deleteCache":_vm.deleteCache}}),_c('div',{staticClass:"tf-layout-subject-content"},[_c('keep-alive',{attrs:{"include":_vm.secondCacheArray}},[_c('router-view')],1)],1)],1)],1)}
|
|
99806
|
+
var tf_layoutvue_type_template_id_54409d52_scoped_true_staticRenderFns = []
|
|
99730
99807
|
|
|
99731
99808
|
|
|
99732
|
-
// CONCATENATED MODULE: ./package/tf-layout/src/tf-layout.vue?vue&type=template&id=
|
|
99809
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/tf-layout.vue?vue&type=template&id=54409d52&scoped=true&
|
|
99733
99810
|
|
|
99734
99811
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c0bba838-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./package/tf-layout/src/components/tf-menu.vue?vue&type=template&id=885bc386&scoped=true&
|
|
99735
99812
|
var tf_menuvue_type_template_id_885bc386_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.menuState),expression:"!menuState"}],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.menusInfo),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.title))])],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.title))])],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.title))])],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)}
|
|
@@ -99868,12 +99945,12 @@ var tf_menu_component = Object(componentNormalizer["a" /* default */])(
|
|
|
99868
99945
|
)
|
|
99869
99946
|
|
|
99870
99947
|
/* harmony default export */ var tf_menu = (tf_menu_component.exports);
|
|
99871
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c0bba838-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./package/tf-layout/src/components/tf-labelbar.vue?vue&type=template&id=
|
|
99872
|
-
var
|
|
99873
|
-
var
|
|
99948
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c0bba838-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./package/tf-layout/src/components/tf-labelbar.vue?vue&type=template&id=5865b3ec&scoped=true&
|
|
99949
|
+
var tf_labelbarvue_type_template_id_5865b3ec_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tf-labelbar"},[_c('div',{staticClass:"close-menu"},[_c('div',{class:_vm.closeMenu ? 'open-menu-icon': 'close-menu-icon',attrs:{"src":"","alt":"","title":"隐藏列表"},on:{"click":_vm.changeMenuState}})]),_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 close-icon",on:{"click":function($event){$event.stopPropagation();return _vm.closeTag(tagItem)}}})])}),0),_c('div',{staticClass:"scrollbar-icon 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:"scrollbar-icon 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)}
|
|
99950
|
+
var tf_labelbarvue_type_template_id_5865b3ec_scoped_true_staticRenderFns = []
|
|
99874
99951
|
|
|
99875
99952
|
|
|
99876
|
-
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-labelbar.vue?vue&type=template&id=
|
|
99953
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-labelbar.vue?vue&type=template&id=5865b3ec&scoped=true&
|
|
99877
99954
|
|
|
99878
99955
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
99879
99956
|
var es_string_replace = __webpack_require__("5319");
|
|
@@ -100104,9 +100181,15 @@ var tf_right_menu_component = Object(componentNormalizer["a" /* default */])(
|
|
|
100104
100181
|
TfRotateBox: tf_rotate_box,
|
|
100105
100182
|
TfRightMenu: tf_right_menu
|
|
100106
100183
|
},
|
|
100184
|
+
props: {
|
|
100185
|
+
routeBase: {
|
|
100186
|
+
default: null,
|
|
100187
|
+
type: String
|
|
100188
|
+
}
|
|
100189
|
+
},
|
|
100107
100190
|
data: function data() {
|
|
100108
100191
|
return {
|
|
100109
|
-
|
|
100192
|
+
closeMenu: false,
|
|
100110
100193
|
activePath: '/',
|
|
100111
100194
|
tagList: [],
|
|
100112
100195
|
rightMenuLeft: 0,
|
|
@@ -100119,9 +100202,7 @@ var tf_right_menu_component = Object(componentNormalizer["a" /* default */])(
|
|
|
100119
100202
|
handler: function handler(newValue) {
|
|
100120
100203
|
var _newValue$matched$;
|
|
100121
100204
|
|
|
100122
|
-
|
|
100123
|
-
|
|
100124
|
-
if (newValue && ((_newValue$matched$ = newValue.matched[0]) === null || _newValue$matched$ === void 0 ? void 0 : _newValue$matched$.meta.base) === base) {
|
|
100205
|
+
if (newValue && ((_newValue$matched$ = newValue.matched[0]) === null || _newValue$matched$ === void 0 ? void 0 : _newValue$matched$.meta.base) === this.routeBase) {
|
|
100125
100206
|
var meta = newValue.meta,
|
|
100126
100207
|
path = newValue.path,
|
|
100127
100208
|
name = newValue.name,
|
|
@@ -100170,8 +100251,8 @@ var tf_right_menu_component = Object(componentNormalizer["a" /* default */])(
|
|
|
100170
100251
|
},
|
|
100171
100252
|
methods: {
|
|
100172
100253
|
changeMenuState: function changeMenuState() {
|
|
100173
|
-
this.
|
|
100174
|
-
this.$emit('changeMenuState', this.
|
|
100254
|
+
this.closeMenu = !this.closeMenu;
|
|
100255
|
+
this.$emit('changeMenuState', this.closeMenu);
|
|
100175
100256
|
},
|
|
100176
100257
|
|
|
100177
100258
|
/**
|
|
@@ -100304,8 +100385,8 @@ var tf_right_menu_component = Object(componentNormalizer["a" /* default */])(
|
|
|
100304
100385
|
});
|
|
100305
100386
|
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-labelbar.vue?vue&type=script&lang=js&
|
|
100306
100387
|
/* harmony default export */ var components_tf_labelbarvue_type_script_lang_js_ = (tf_labelbarvue_type_script_lang_js_);
|
|
100307
|
-
// EXTERNAL MODULE: ./package/tf-layout/src/components/tf-labelbar.vue?vue&type=style&index=0&id=
|
|
100308
|
-
var
|
|
100388
|
+
// EXTERNAL MODULE: ./package/tf-layout/src/components/tf-labelbar.vue?vue&type=style&index=0&id=5865b3ec&lang=less&scoped=true&
|
|
100389
|
+
var tf_labelbarvue_type_style_index_0_id_5865b3ec_lang_less_scoped_true_ = __webpack_require__("9b17");
|
|
100309
100390
|
|
|
100310
100391
|
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-labelbar.vue
|
|
100311
100392
|
|
|
@@ -100318,11 +100399,11 @@ var tf_labelbarvue_type_style_index_0_id_67480e26_lang_less_scoped_true_ = __web
|
|
|
100318
100399
|
|
|
100319
100400
|
var tf_labelbar_component = Object(componentNormalizer["a" /* default */])(
|
|
100320
100401
|
components_tf_labelbarvue_type_script_lang_js_,
|
|
100321
|
-
|
|
100322
|
-
|
|
100402
|
+
tf_labelbarvue_type_template_id_5865b3ec_scoped_true_render,
|
|
100403
|
+
tf_labelbarvue_type_template_id_5865b3ec_scoped_true_staticRenderFns,
|
|
100323
100404
|
false,
|
|
100324
100405
|
null,
|
|
100325
|
-
"
|
|
100406
|
+
"5865b3ec",
|
|
100326
100407
|
null
|
|
100327
100408
|
|
|
100328
100409
|
)
|
|
@@ -100359,6 +100440,7 @@ var tf_labelbar_component = Object(componentNormalizer["a" /* default */])(
|
|
|
100359
100440
|
//
|
|
100360
100441
|
//
|
|
100361
100442
|
//
|
|
100443
|
+
//
|
|
100362
100444
|
|
|
100363
100445
|
|
|
100364
100446
|
/* harmony default export */ var tf_layoutvue_type_script_lang_js_ = ({
|
|
@@ -100373,6 +100455,10 @@ var tf_labelbar_component = Object(componentNormalizer["a" /* default */])(
|
|
|
100373
100455
|
default: function _default() {
|
|
100374
100456
|
return [];
|
|
100375
100457
|
}
|
|
100458
|
+
},
|
|
100459
|
+
routeBase: {
|
|
100460
|
+
default: null,
|
|
100461
|
+
type: String
|
|
100376
100462
|
}
|
|
100377
100463
|
},
|
|
100378
100464
|
data: function data() {
|
|
@@ -100431,8 +100517,8 @@ var tf_labelbar_component = Object(componentNormalizer["a" /* default */])(
|
|
|
100431
100517
|
});
|
|
100432
100518
|
// CONCATENATED MODULE: ./package/tf-layout/src/tf-layout.vue?vue&type=script&lang=js&
|
|
100433
100519
|
/* harmony default export */ var src_tf_layoutvue_type_script_lang_js_ = (tf_layoutvue_type_script_lang_js_);
|
|
100434
|
-
// EXTERNAL MODULE: ./package/tf-layout/src/tf-layout.vue?vue&type=style&index=0&id=
|
|
100435
|
-
var
|
|
100520
|
+
// EXTERNAL MODULE: ./package/tf-layout/src/tf-layout.vue?vue&type=style&index=0&id=54409d52&lang=less&scoped=true&
|
|
100521
|
+
var tf_layoutvue_type_style_index_0_id_54409d52_lang_less_scoped_true_ = __webpack_require__("c258");
|
|
100436
100522
|
|
|
100437
100523
|
// CONCATENATED MODULE: ./package/tf-layout/src/tf-layout.vue
|
|
100438
100524
|
|
|
@@ -100445,11 +100531,11 @@ var tf_layoutvue_type_style_index_0_id_65ba1a50_lang_less_scoped_true_ = __webpa
|
|
|
100445
100531
|
|
|
100446
100532
|
var tf_layout_component = Object(componentNormalizer["a" /* default */])(
|
|
100447
100533
|
src_tf_layoutvue_type_script_lang_js_,
|
|
100448
|
-
|
|
100449
|
-
|
|
100534
|
+
tf_layoutvue_type_template_id_54409d52_scoped_true_render,
|
|
100535
|
+
tf_layoutvue_type_template_id_54409d52_scoped_true_staticRenderFns,
|
|
100450
100536
|
false,
|
|
100451
100537
|
null,
|
|
100452
|
-
"
|
|
100538
|
+
"54409d52",
|
|
100453
100539
|
null
|
|
100454
100540
|
|
|
100455
100541
|
)
|
|
@@ -106412,6 +106498,264 @@ t_input.install = function (Vue) {
|
|
|
106412
106498
|
};
|
|
106413
106499
|
|
|
106414
106500
|
/* harmony default export */ var package_t_input = (t_input);
|
|
106501
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c0bba838-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./package/tf-icon-picker/src/tf-icon-picker.vue?vue&type=template&id=248a1fd3&scoped=true&
|
|
106502
|
+
var tf_icon_pickervue_type_template_id_248a1fd3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-popover',{attrs:{"placement":_vm.placement,"width":_vm.width,"trigger":"manual"},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:"visible"}},[_c('div',{staticClass:"content-view"},[_c('div',{staticClass:"search-box"},[(_vm.selectIconClass)?_c('svg-icon',{attrs:{"icon-class":_vm.selectIconClass.font_class}}):_vm._e(),(_vm.selectIconClass)?_c('span',[_vm._v(_vm._s(_vm.selectIconClass.name))]):_vm._e(),_c('el-input',{staticStyle:{"width":"50%"},attrs:{"size":"mini","clearable":""},on:{"clear":_vm.cleanSearch},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:"search"}}),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.searchInfo}},[_vm._v("搜索")])],1),(!_vm.iconList || _vm.iconList.length === 0)?_c('el-empty',{staticStyle:{"height":"270px","width":"100%"},attrs:{"description":"暂无数据!"}}):_vm._e(),_vm._l((_vm.iconList),function(item){return _c('div',{key:item.unicode_decimal,staticClass:"icon-item",on:{"click":function($event){return _vm.selectIcon(item)}}},[_c('el-tooltip',{attrs:{"placement":"top"}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_c('span',[_vm._v("图标名称: "+_vm._s(item.name))]),_c('br'),_c('br'),_c('span',[_vm._v("class: "+_vm._s(item.font_class))])]),_c('div',{staticClass:"icon-box"},[_c('svg-icon',{attrs:{"icon-class":item.font_class}}),_c('span',{attrs:{"title":item.name}},[_vm._v(_vm._s(item.name))])],1)])],1)}),_c('div',{staticClass:"paging"},[_c('span',[_vm._v("第 "+_vm._s(_vm.pagination + 1)+" 页")]),_c('el-pagination',{attrs:{"small":"","background":"","layout":"total, prev, next","total":_vm.total},on:{"current-change":_vm.handleCurrentChange}}),_c('el-button',{attrs:{"type":"info","size":"mini"},on:{"click":function($event){_vm.visible = false}}},[_vm._v("取消")]),_c('el-button',{staticClass:"button",attrs:{"size":"mini"},on:{"click":_vm.select}},[_vm._v("确定")])],1)],2),_c('el-button',{staticClass:"button",attrs:{"slot":"reference","size":_vm.bottomSize},on:{"click":function($event){_vm.visible = !_vm.visible; _vm.selectIconClass = null}},slot:"reference"},[_vm._v(_vm._s(_vm.hint))])],1)],1)}
|
|
106503
|
+
var tf_icon_pickervue_type_template_id_248a1fd3_scoped_true_staticRenderFns = []
|
|
106504
|
+
|
|
106505
|
+
|
|
106506
|
+
// CONCATENATED MODULE: ./package/tf-icon-picker/src/tf-icon-picker.vue?vue&type=template&id=248a1fd3&scoped=true&
|
|
106507
|
+
|
|
106508
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.search.js
|
|
106509
|
+
var es_string_search = __webpack_require__("841c");
|
|
106510
|
+
|
|
106511
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./package/tf-icon-picker/src/tf-icon-picker.vue?vue&type=script&lang=js&
|
|
106512
|
+
|
|
106513
|
+
|
|
106514
|
+
|
|
106515
|
+
|
|
106516
|
+
|
|
106517
|
+
|
|
106518
|
+
|
|
106519
|
+
|
|
106520
|
+
|
|
106521
|
+
|
|
106522
|
+
//
|
|
106523
|
+
//
|
|
106524
|
+
//
|
|
106525
|
+
//
|
|
106526
|
+
//
|
|
106527
|
+
//
|
|
106528
|
+
//
|
|
106529
|
+
//
|
|
106530
|
+
//
|
|
106531
|
+
//
|
|
106532
|
+
//
|
|
106533
|
+
//
|
|
106534
|
+
//
|
|
106535
|
+
//
|
|
106536
|
+
//
|
|
106537
|
+
//
|
|
106538
|
+
//
|
|
106539
|
+
//
|
|
106540
|
+
//
|
|
106541
|
+
//
|
|
106542
|
+
//
|
|
106543
|
+
//
|
|
106544
|
+
//
|
|
106545
|
+
//
|
|
106546
|
+
//
|
|
106547
|
+
//
|
|
106548
|
+
//
|
|
106549
|
+
//
|
|
106550
|
+
//
|
|
106551
|
+
//
|
|
106552
|
+
//
|
|
106553
|
+
//
|
|
106554
|
+
//
|
|
106555
|
+
//
|
|
106556
|
+
//
|
|
106557
|
+
//
|
|
106558
|
+
//
|
|
106559
|
+
//
|
|
106560
|
+
//
|
|
106561
|
+
//
|
|
106562
|
+
//
|
|
106563
|
+
//
|
|
106564
|
+
//
|
|
106565
|
+
//
|
|
106566
|
+
//
|
|
106567
|
+
//
|
|
106568
|
+
//
|
|
106569
|
+
//
|
|
106570
|
+
//
|
|
106571
|
+
//
|
|
106572
|
+
//
|
|
106573
|
+
//
|
|
106574
|
+
//
|
|
106575
|
+
//
|
|
106576
|
+
//
|
|
106577
|
+
//
|
|
106578
|
+
//
|
|
106579
|
+
//
|
|
106580
|
+
//
|
|
106581
|
+
//
|
|
106582
|
+
//
|
|
106583
|
+
//
|
|
106584
|
+
//
|
|
106585
|
+
//
|
|
106586
|
+
//
|
|
106587
|
+
//
|
|
106588
|
+
//
|
|
106589
|
+
//
|
|
106590
|
+
//
|
|
106591
|
+
//
|
|
106592
|
+
//
|
|
106593
|
+
//
|
|
106594
|
+
//
|
|
106595
|
+
//
|
|
106596
|
+
//
|
|
106597
|
+
//
|
|
106598
|
+
//
|
|
106599
|
+
//
|
|
106600
|
+
//
|
|
106601
|
+
//
|
|
106602
|
+
//
|
|
106603
|
+
//
|
|
106604
|
+
//
|
|
106605
|
+
//
|
|
106606
|
+
//
|
|
106607
|
+
//
|
|
106608
|
+
//
|
|
106609
|
+
//
|
|
106610
|
+
|
|
106611
|
+
/* harmony default export */ var tf_icon_pickervue_type_script_lang_js_ = ({
|
|
106612
|
+
name: 'TfIconPicker',
|
|
106613
|
+
props: {
|
|
106614
|
+
width: {
|
|
106615
|
+
default: 400,
|
|
106616
|
+
type: Number
|
|
106617
|
+
},
|
|
106618
|
+
placement: {
|
|
106619
|
+
default: 'bottom',
|
|
106620
|
+
type: String
|
|
106621
|
+
},
|
|
106622
|
+
bottomSize: {
|
|
106623
|
+
default: 'small',
|
|
106624
|
+
type: String
|
|
106625
|
+
},
|
|
106626
|
+
hint: {
|
|
106627
|
+
default: '选择图标',
|
|
106628
|
+
type: String
|
|
106629
|
+
}
|
|
106630
|
+
},
|
|
106631
|
+
data: function data() {
|
|
106632
|
+
return {
|
|
106633
|
+
glyphsList: null,
|
|
106634
|
+
allIconList: null,
|
|
106635
|
+
pagination: 0,
|
|
106636
|
+
iconList: null,
|
|
106637
|
+
total: 0,
|
|
106638
|
+
selectIconClass: null,
|
|
106639
|
+
visible: false,
|
|
106640
|
+
search: null
|
|
106641
|
+
};
|
|
106642
|
+
},
|
|
106643
|
+
watch: {
|
|
106644
|
+
pagination: {
|
|
106645
|
+
handler: function handler(newValue) {
|
|
106646
|
+
if (!this.glyphsList) return;
|
|
106647
|
+
this.iconList = this.allIconList.slice(newValue * 20, (newValue + 1) * 20);
|
|
106648
|
+
},
|
|
106649
|
+
immediate: true
|
|
106650
|
+
}
|
|
106651
|
+
},
|
|
106652
|
+
created: function created() {
|
|
106653
|
+
var _this = this;
|
|
106654
|
+
|
|
106655
|
+
axios_default.a.get('/icon-list.json').then(function (res) {
|
|
106656
|
+
if (res.status === 200) {
|
|
106657
|
+
var _this$allIconList;
|
|
106658
|
+
|
|
106659
|
+
var glyphsList = res.data.glyphs;
|
|
106660
|
+
_this.glyphsList = glyphsList.sort(function (a, b) {
|
|
106661
|
+
return a.font_class - b.font_class;
|
|
106662
|
+
});
|
|
106663
|
+
_this.allIconList = JSON.parse(JSON.stringify(_this.glyphsList));
|
|
106664
|
+
_this.total = (_this$allIconList = _this.allIconList) === null || _this$allIconList === void 0 ? void 0 : _this$allIconList.length;
|
|
106665
|
+
_this.iconList = _this.allIconList.slice(_this.pagination * 20, (_this.pagination + 1) * 20);
|
|
106666
|
+
}
|
|
106667
|
+
});
|
|
106668
|
+
},
|
|
106669
|
+
methods: {
|
|
106670
|
+
handleCurrentChange: function handleCurrentChange(val) {
|
|
106671
|
+
if (val - 1 > this.total / 20) return;
|
|
106672
|
+
this.pagination = val - 1;
|
|
106673
|
+
},
|
|
106674
|
+
selectIcon: function selectIcon(params) {
|
|
106675
|
+
this.selectIconClass = params;
|
|
106676
|
+
},
|
|
106677
|
+
searchInfo: function searchInfo() {
|
|
106678
|
+
var _this2 = this;
|
|
106679
|
+
|
|
106680
|
+
this.pagination = 0;
|
|
106681
|
+
var glyphs = JSON.parse(JSON.stringify(this.glyphsList));
|
|
106682
|
+
var iconArr = [];
|
|
106683
|
+
glyphs.forEach(function (item) {
|
|
106684
|
+
var str = "".concat(item.font_class, "+").concat(item.name).toLowerCase();
|
|
106685
|
+
|
|
106686
|
+
if (str.indexOf(_this2.search.toLowerCase()) !== -1) {
|
|
106687
|
+
iconArr.push(item);
|
|
106688
|
+
}
|
|
106689
|
+
});
|
|
106690
|
+
this.allIconList = iconArr;
|
|
106691
|
+
this.total = this.allIconList.length;
|
|
106692
|
+
|
|
106693
|
+
if (iconArr.length > 20) {
|
|
106694
|
+
this.iconList = this.allIconList.slice(this.pagination * 20, (this.pagination + 1) * 20).sort(function (a, b) {
|
|
106695
|
+
return a.font_class - b.font_class;
|
|
106696
|
+
});
|
|
106697
|
+
} else {
|
|
106698
|
+
this.iconList = iconArr.sort(function (a, b) {
|
|
106699
|
+
return a.font_class - b.font_class;
|
|
106700
|
+
});
|
|
106701
|
+
}
|
|
106702
|
+
},
|
|
106703
|
+
cleanSearch: function cleanSearch() {
|
|
106704
|
+
var _this$allIconList2;
|
|
106705
|
+
|
|
106706
|
+
this.pagination = 0;
|
|
106707
|
+
this.allIconList = JSON.parse(JSON.stringify(this.glyphsList));
|
|
106708
|
+
this.total = (_this$allIconList2 = this.allIconList) === null || _this$allIconList2 === void 0 ? void 0 : _this$allIconList2.length;
|
|
106709
|
+
this.iconList = this.allIconList.slice(this.pagination * 20, (this.pagination + 1) * 20);
|
|
106710
|
+
},
|
|
106711
|
+
select: function select() {
|
|
106712
|
+
if (this.selectIconClass) {
|
|
106713
|
+
this.$emit('selectIcon', JSON.parse(JSON.stringify(this.selectIconClass)));
|
|
106714
|
+
} else {
|
|
106715
|
+
this.$message.error('未选择图标');
|
|
106716
|
+
}
|
|
106717
|
+
|
|
106718
|
+
this.selectIconClass = null;
|
|
106719
|
+
this.visible = false;
|
|
106720
|
+
}
|
|
106721
|
+
}
|
|
106722
|
+
});
|
|
106723
|
+
// CONCATENATED MODULE: ./package/tf-icon-picker/src/tf-icon-picker.vue?vue&type=script&lang=js&
|
|
106724
|
+
/* harmony default export */ var src_tf_icon_pickervue_type_script_lang_js_ = (tf_icon_pickervue_type_script_lang_js_);
|
|
106725
|
+
// EXTERNAL MODULE: ./package/tf-icon-picker/src/tf-icon-picker.vue?vue&type=style&index=0&id=248a1fd3&lang=less&scoped=true&
|
|
106726
|
+
var tf_icon_pickervue_type_style_index_0_id_248a1fd3_lang_less_scoped_true_ = __webpack_require__("b967");
|
|
106727
|
+
|
|
106728
|
+
// CONCATENATED MODULE: ./package/tf-icon-picker/src/tf-icon-picker.vue
|
|
106729
|
+
|
|
106730
|
+
|
|
106731
|
+
|
|
106732
|
+
|
|
106733
|
+
|
|
106734
|
+
|
|
106735
|
+
/* normalize component */
|
|
106736
|
+
|
|
106737
|
+
var tf_icon_picker_component = Object(componentNormalizer["a" /* default */])(
|
|
106738
|
+
src_tf_icon_pickervue_type_script_lang_js_,
|
|
106739
|
+
tf_icon_pickervue_type_template_id_248a1fd3_scoped_true_render,
|
|
106740
|
+
tf_icon_pickervue_type_template_id_248a1fd3_scoped_true_staticRenderFns,
|
|
106741
|
+
false,
|
|
106742
|
+
null,
|
|
106743
|
+
"248a1fd3",
|
|
106744
|
+
null
|
|
106745
|
+
|
|
106746
|
+
)
|
|
106747
|
+
|
|
106748
|
+
/* harmony default export */ var tf_icon_picker = (tf_icon_picker_component.exports);
|
|
106749
|
+
// CONCATENATED MODULE: ./package/tf-icon-picker/index.js
|
|
106750
|
+
|
|
106751
|
+
|
|
106752
|
+
/* istanbul ignore next */
|
|
106753
|
+
|
|
106754
|
+
tf_icon_picker.install = function (Vue) {
|
|
106755
|
+
Vue.component(tf_icon_picker.name, tf_icon_picker);
|
|
106756
|
+
};
|
|
106757
|
+
|
|
106758
|
+
/* harmony default export */ var package_tf_icon_picker = (tf_icon_picker);
|
|
106415
106759
|
// CONCATENATED MODULE: ./src/index.js
|
|
106416
106760
|
|
|
106417
106761
|
|
|
@@ -106421,7 +106765,8 @@ t_input.install = function (Vue) {
|
|
|
106421
106765
|
|
|
106422
106766
|
|
|
106423
106767
|
|
|
106424
|
-
|
|
106768
|
+
|
|
106769
|
+
var components = [package_tf_widget, svg_icon, package_tf_layout, t_data_list, package_t_input, package_tf_icon_picker];
|
|
106425
106770
|
|
|
106426
106771
|
var install = function install(Vue) {
|
|
106427
106772
|
components.forEach(function (component) {
|
|
@@ -106435,7 +106780,8 @@ var install = function install(Vue) {
|
|
|
106435
106780
|
SvgIcon: svg_icon,
|
|
106436
106781
|
TfLayout: package_tf_layout,
|
|
106437
106782
|
TDataList: t_data_list,
|
|
106438
|
-
Tinput: package_t_input
|
|
106783
|
+
Tinput: package_t_input,
|
|
106784
|
+
TfIconPicker: package_tf_icon_picker
|
|
106439
106785
|
});
|
|
106440
106786
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
106441
106787
|
|