@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.umd.js
CHANGED
|
@@ -1428,6 +1428,20 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa
|
|
|
1428
1428
|
}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
|
|
1429
1429
|
|
|
1430
1430
|
|
|
1431
|
+
/***/ }),
|
|
1432
|
+
|
|
1433
|
+
/***/ "129f":
|
|
1434
|
+
/***/ (function(module, exports) {
|
|
1435
|
+
|
|
1436
|
+
// `SameValue` abstract operation
|
|
1437
|
+
// https://tc39.es/ecma262/#sec-samevalue
|
|
1438
|
+
// eslint-disable-next-line es/no-object-is -- safe
|
|
1439
|
+
module.exports = Object.is || function is(x, y) {
|
|
1440
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1441
|
+
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
|
|
1442
|
+
};
|
|
1443
|
+
|
|
1444
|
+
|
|
1431
1445
|
/***/ }),
|
|
1432
1446
|
|
|
1433
1447
|
/***/ "12f2":
|
|
@@ -14249,6 +14263,13 @@ module.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function
|
|
|
14249
14263
|
} : $isExtensible;
|
|
14250
14264
|
|
|
14251
14265
|
|
|
14266
|
+
/***/ }),
|
|
14267
|
+
|
|
14268
|
+
/***/ "5047":
|
|
14269
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
14270
|
+
|
|
14271
|
+
// extracted by mini-css-extract-plugin
|
|
14272
|
+
|
|
14252
14273
|
/***/ }),
|
|
14253
14274
|
|
|
14254
14275
|
/***/ "5087":
|
|
@@ -63125,6 +63146,13 @@ module.exports = {
|
|
|
63125
63146
|
};
|
|
63126
63147
|
|
|
63127
63148
|
|
|
63149
|
+
/***/ }),
|
|
63150
|
+
|
|
63151
|
+
/***/ "70aa":
|
|
63152
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
63153
|
+
|
|
63154
|
+
// extracted by mini-css-extract-plugin
|
|
63155
|
+
|
|
63128
63156
|
/***/ }),
|
|
63129
63157
|
|
|
63130
63158
|
/***/ "7156":
|
|
@@ -65212,17 +65240,6 @@ module.exports = function (argument) {
|
|
|
65212
65240
|
};
|
|
65213
65241
|
|
|
65214
65242
|
|
|
65215
|
-
/***/ }),
|
|
65216
|
-
|
|
65217
|
-
/***/ "82f1":
|
|
65218
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
65219
|
-
|
|
65220
|
-
"use strict";
|
|
65221
|
-
/* 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");
|
|
65222
|
-
/* 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__);
|
|
65223
|
-
/* unused harmony reexport * */
|
|
65224
|
-
|
|
65225
|
-
|
|
65226
65243
|
/***/ }),
|
|
65227
65244
|
|
|
65228
65245
|
/***/ "8360":
|
|
@@ -65305,6 +65322,51 @@ module.exports = function (object, key, value) {
|
|
|
65305
65322
|
};
|
|
65306
65323
|
|
|
65307
65324
|
|
|
65325
|
+
/***/ }),
|
|
65326
|
+
|
|
65327
|
+
/***/ "841c":
|
|
65328
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
65329
|
+
|
|
65330
|
+
"use strict";
|
|
65331
|
+
|
|
65332
|
+
var call = __webpack_require__("c65b");
|
|
65333
|
+
var fixRegExpWellKnownSymbolLogic = __webpack_require__("d784");
|
|
65334
|
+
var anObject = __webpack_require__("825a");
|
|
65335
|
+
var requireObjectCoercible = __webpack_require__("1d80");
|
|
65336
|
+
var sameValue = __webpack_require__("129f");
|
|
65337
|
+
var toString = __webpack_require__("577e");
|
|
65338
|
+
var getMethod = __webpack_require__("dc4a");
|
|
65339
|
+
var regExpExec = __webpack_require__("14c3");
|
|
65340
|
+
|
|
65341
|
+
// @@search logic
|
|
65342
|
+
fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
|
|
65343
|
+
return [
|
|
65344
|
+
// `String.prototype.search` method
|
|
65345
|
+
// https://tc39.es/ecma262/#sec-string.prototype.search
|
|
65346
|
+
function search(regexp) {
|
|
65347
|
+
var O = requireObjectCoercible(this);
|
|
65348
|
+
var searcher = regexp == undefined ? undefined : getMethod(regexp, SEARCH);
|
|
65349
|
+
return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
|
|
65350
|
+
},
|
|
65351
|
+
// `RegExp.prototype[@@search]` method
|
|
65352
|
+
// https://tc39.es/ecma262/#sec-regexp.prototype-@@search
|
|
65353
|
+
function (string) {
|
|
65354
|
+
var rx = anObject(this);
|
|
65355
|
+
var S = toString(string);
|
|
65356
|
+
var res = maybeCallNative(nativeSearch, rx, S);
|
|
65357
|
+
|
|
65358
|
+
if (res.done) return res.value;
|
|
65359
|
+
|
|
65360
|
+
var previousLastIndex = rx.lastIndex;
|
|
65361
|
+
if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
|
|
65362
|
+
var result = regExpExec(rx, S);
|
|
65363
|
+
if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
|
|
65364
|
+
return result === null ? -1 : result.index;
|
|
65365
|
+
}
|
|
65366
|
+
];
|
|
65367
|
+
});
|
|
65368
|
+
|
|
65369
|
+
|
|
65308
65370
|
/***/ }),
|
|
65309
65371
|
|
|
65310
65372
|
/***/ "845f":
|
|
@@ -65878,13 +65940,6 @@ module.exports = store.inspectSource;
|
|
|
65878
65940
|
module.exports = {};
|
|
65879
65941
|
|
|
65880
65942
|
|
|
65881
|
-
/***/ }),
|
|
65882
|
-
|
|
65883
|
-
/***/ "8a33":
|
|
65884
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
65885
|
-
|
|
65886
|
-
// extracted by mini-css-extract-plugin
|
|
65887
|
-
|
|
65888
65943
|
/***/ }),
|
|
65889
65944
|
|
|
65890
65945
|
/***/ "8aa5":
|
|
@@ -68610,12 +68665,12 @@ module.exports = function (argument, usingIterator) {
|
|
|
68610
68665
|
|
|
68611
68666
|
/***/ }),
|
|
68612
68667
|
|
|
68613
|
-
/***/ "
|
|
68668
|
+
/***/ "9b17":
|
|
68614
68669
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
68615
68670
|
|
|
68616
68671
|
"use strict";
|
|
68617
|
-
/* harmony import */ var
|
|
68618
|
-
/* harmony import */ var
|
|
68672
|
+
/* 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");
|
|
68673
|
+
/* 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__);
|
|
68619
68674
|
/* unused harmony reexport * */
|
|
68620
68675
|
|
|
68621
68676
|
|
|
@@ -70756,6 +70811,13 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
70756
70811
|
|
|
70757
70812
|
/***/ }),
|
|
70758
70813
|
|
|
70814
|
+
/***/ "a88e":
|
|
70815
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
70816
|
+
|
|
70817
|
+
// extracted by mini-css-extract-plugin
|
|
70818
|
+
|
|
70819
|
+
/***/ }),
|
|
70820
|
+
|
|
70759
70821
|
/***/ "a907":
|
|
70760
70822
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
70761
70823
|
|
|
@@ -76360,6 +76422,17 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
76360
76422
|
|
|
76361
76423
|
// extracted by mini-css-extract-plugin
|
|
76362
76424
|
|
|
76425
|
+
/***/ }),
|
|
76426
|
+
|
|
76427
|
+
/***/ "b967":
|
|
76428
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
76429
|
+
|
|
76430
|
+
"use strict";
|
|
76431
|
+
/* 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");
|
|
76432
|
+
/* 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__);
|
|
76433
|
+
/* unused harmony reexport * */
|
|
76434
|
+
|
|
76435
|
+
|
|
76363
76436
|
/***/ }),
|
|
76364
76437
|
|
|
76365
76438
|
/***/ "b9c7":
|
|
@@ -76377,13 +76450,6 @@ module.exports = __webpack_require__("5524").Object.assign;
|
|
|
76377
76450
|
module.exports = __webpack_require__("051b");
|
|
76378
76451
|
|
|
76379
76452
|
|
|
76380
|
-
/***/ }),
|
|
76381
|
-
|
|
76382
|
-
/***/ "ba27":
|
|
76383
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
76384
|
-
|
|
76385
|
-
// extracted by mini-css-extract-plugin
|
|
76386
|
-
|
|
76387
76453
|
/***/ }),
|
|
76388
76454
|
|
|
76389
76455
|
/***/ "ba99":
|
|
@@ -76671,6 +76737,17 @@ function pushDownValid(name, ids) {
|
|
|
76671
76737
|
});
|
|
76672
76738
|
}
|
|
76673
76739
|
|
|
76740
|
+
/***/ }),
|
|
76741
|
+
|
|
76742
|
+
/***/ "c258":
|
|
76743
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
76744
|
+
|
|
76745
|
+
"use strict";
|
|
76746
|
+
/* 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");
|
|
76747
|
+
/* 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__);
|
|
76748
|
+
/* unused harmony reexport * */
|
|
76749
|
+
|
|
76750
|
+
|
|
76674
76751
|
/***/ }),
|
|
76675
76752
|
|
|
76676
76753
|
/***/ "c284":
|
|
@@ -99733,12 +99810,12 @@ SvgIcon.install = function (Vue) {
|
|
|
99733
99810
|
};
|
|
99734
99811
|
|
|
99735
99812
|
/* harmony default export */ var svg_icon = (SvgIcon);
|
|
99736
|
-
// 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=
|
|
99737
|
-
var
|
|
99738
|
-
var
|
|
99813
|
+
// 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&
|
|
99814
|
+
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)}
|
|
99815
|
+
var tf_layoutvue_type_template_id_54409d52_scoped_true_staticRenderFns = []
|
|
99739
99816
|
|
|
99740
99817
|
|
|
99741
|
-
// CONCATENATED MODULE: ./package/tf-layout/src/tf-layout.vue?vue&type=template&id=
|
|
99818
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/tf-layout.vue?vue&type=template&id=54409d52&scoped=true&
|
|
99742
99819
|
|
|
99743
99820
|
// 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&
|
|
99744
99821
|
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)}
|
|
@@ -99877,12 +99954,12 @@ var tf_menu_component = Object(componentNormalizer["a" /* default */])(
|
|
|
99877
99954
|
)
|
|
99878
99955
|
|
|
99879
99956
|
/* harmony default export */ var tf_menu = (tf_menu_component.exports);
|
|
99880
|
-
// 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=
|
|
99881
|
-
var
|
|
99882
|
-
var
|
|
99957
|
+
// 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&
|
|
99958
|
+
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)}
|
|
99959
|
+
var tf_labelbarvue_type_template_id_5865b3ec_scoped_true_staticRenderFns = []
|
|
99883
99960
|
|
|
99884
99961
|
|
|
99885
|
-
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-labelbar.vue?vue&type=template&id=
|
|
99962
|
+
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-labelbar.vue?vue&type=template&id=5865b3ec&scoped=true&
|
|
99886
99963
|
|
|
99887
99964
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
99888
99965
|
var es_string_replace = __webpack_require__("5319");
|
|
@@ -100113,9 +100190,15 @@ var tf_right_menu_component = Object(componentNormalizer["a" /* default */])(
|
|
|
100113
100190
|
TfRotateBox: tf_rotate_box,
|
|
100114
100191
|
TfRightMenu: tf_right_menu
|
|
100115
100192
|
},
|
|
100193
|
+
props: {
|
|
100194
|
+
routeBase: {
|
|
100195
|
+
default: null,
|
|
100196
|
+
type: String
|
|
100197
|
+
}
|
|
100198
|
+
},
|
|
100116
100199
|
data: function data() {
|
|
100117
100200
|
return {
|
|
100118
|
-
|
|
100201
|
+
closeMenu: false,
|
|
100119
100202
|
activePath: '/',
|
|
100120
100203
|
tagList: [],
|
|
100121
100204
|
rightMenuLeft: 0,
|
|
@@ -100128,9 +100211,7 @@ var tf_right_menu_component = Object(componentNormalizer["a" /* default */])(
|
|
|
100128
100211
|
handler: function handler(newValue) {
|
|
100129
100212
|
var _newValue$matched$;
|
|
100130
100213
|
|
|
100131
|
-
|
|
100132
|
-
|
|
100133
|
-
if (newValue && ((_newValue$matched$ = newValue.matched[0]) === null || _newValue$matched$ === void 0 ? void 0 : _newValue$matched$.meta.base) === base) {
|
|
100214
|
+
if (newValue && ((_newValue$matched$ = newValue.matched[0]) === null || _newValue$matched$ === void 0 ? void 0 : _newValue$matched$.meta.base) === this.routeBase) {
|
|
100134
100215
|
var meta = newValue.meta,
|
|
100135
100216
|
path = newValue.path,
|
|
100136
100217
|
name = newValue.name,
|
|
@@ -100179,8 +100260,8 @@ var tf_right_menu_component = Object(componentNormalizer["a" /* default */])(
|
|
|
100179
100260
|
},
|
|
100180
100261
|
methods: {
|
|
100181
100262
|
changeMenuState: function changeMenuState() {
|
|
100182
|
-
this.
|
|
100183
|
-
this.$emit('changeMenuState', this.
|
|
100263
|
+
this.closeMenu = !this.closeMenu;
|
|
100264
|
+
this.$emit('changeMenuState', this.closeMenu);
|
|
100184
100265
|
},
|
|
100185
100266
|
|
|
100186
100267
|
/**
|
|
@@ -100313,8 +100394,8 @@ var tf_right_menu_component = Object(componentNormalizer["a" /* default */])(
|
|
|
100313
100394
|
});
|
|
100314
100395
|
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-labelbar.vue?vue&type=script&lang=js&
|
|
100315
100396
|
/* harmony default export */ var components_tf_labelbarvue_type_script_lang_js_ = (tf_labelbarvue_type_script_lang_js_);
|
|
100316
|
-
// EXTERNAL MODULE: ./package/tf-layout/src/components/tf-labelbar.vue?vue&type=style&index=0&id=
|
|
100317
|
-
var
|
|
100397
|
+
// EXTERNAL MODULE: ./package/tf-layout/src/components/tf-labelbar.vue?vue&type=style&index=0&id=5865b3ec&lang=less&scoped=true&
|
|
100398
|
+
var tf_labelbarvue_type_style_index_0_id_5865b3ec_lang_less_scoped_true_ = __webpack_require__("9b17");
|
|
100318
100399
|
|
|
100319
100400
|
// CONCATENATED MODULE: ./package/tf-layout/src/components/tf-labelbar.vue
|
|
100320
100401
|
|
|
@@ -100327,11 +100408,11 @@ var tf_labelbarvue_type_style_index_0_id_67480e26_lang_less_scoped_true_ = __web
|
|
|
100327
100408
|
|
|
100328
100409
|
var tf_labelbar_component = Object(componentNormalizer["a" /* default */])(
|
|
100329
100410
|
components_tf_labelbarvue_type_script_lang_js_,
|
|
100330
|
-
|
|
100331
|
-
|
|
100411
|
+
tf_labelbarvue_type_template_id_5865b3ec_scoped_true_render,
|
|
100412
|
+
tf_labelbarvue_type_template_id_5865b3ec_scoped_true_staticRenderFns,
|
|
100332
100413
|
false,
|
|
100333
100414
|
null,
|
|
100334
|
-
"
|
|
100415
|
+
"5865b3ec",
|
|
100335
100416
|
null
|
|
100336
100417
|
|
|
100337
100418
|
)
|
|
@@ -100368,6 +100449,7 @@ var tf_labelbar_component = Object(componentNormalizer["a" /* default */])(
|
|
|
100368
100449
|
//
|
|
100369
100450
|
//
|
|
100370
100451
|
//
|
|
100452
|
+
//
|
|
100371
100453
|
|
|
100372
100454
|
|
|
100373
100455
|
/* harmony default export */ var tf_layoutvue_type_script_lang_js_ = ({
|
|
@@ -100382,6 +100464,10 @@ var tf_labelbar_component = Object(componentNormalizer["a" /* default */])(
|
|
|
100382
100464
|
default: function _default() {
|
|
100383
100465
|
return [];
|
|
100384
100466
|
}
|
|
100467
|
+
},
|
|
100468
|
+
routeBase: {
|
|
100469
|
+
default: null,
|
|
100470
|
+
type: String
|
|
100385
100471
|
}
|
|
100386
100472
|
},
|
|
100387
100473
|
data: function data() {
|
|
@@ -100440,8 +100526,8 @@ var tf_labelbar_component = Object(componentNormalizer["a" /* default */])(
|
|
|
100440
100526
|
});
|
|
100441
100527
|
// CONCATENATED MODULE: ./package/tf-layout/src/tf-layout.vue?vue&type=script&lang=js&
|
|
100442
100528
|
/* harmony default export */ var src_tf_layoutvue_type_script_lang_js_ = (tf_layoutvue_type_script_lang_js_);
|
|
100443
|
-
// EXTERNAL MODULE: ./package/tf-layout/src/tf-layout.vue?vue&type=style&index=0&id=
|
|
100444
|
-
var
|
|
100529
|
+
// EXTERNAL MODULE: ./package/tf-layout/src/tf-layout.vue?vue&type=style&index=0&id=54409d52&lang=less&scoped=true&
|
|
100530
|
+
var tf_layoutvue_type_style_index_0_id_54409d52_lang_less_scoped_true_ = __webpack_require__("c258");
|
|
100445
100531
|
|
|
100446
100532
|
// CONCATENATED MODULE: ./package/tf-layout/src/tf-layout.vue
|
|
100447
100533
|
|
|
@@ -100454,11 +100540,11 @@ var tf_layoutvue_type_style_index_0_id_65ba1a50_lang_less_scoped_true_ = __webpa
|
|
|
100454
100540
|
|
|
100455
100541
|
var tf_layout_component = Object(componentNormalizer["a" /* default */])(
|
|
100456
100542
|
src_tf_layoutvue_type_script_lang_js_,
|
|
100457
|
-
|
|
100458
|
-
|
|
100543
|
+
tf_layoutvue_type_template_id_54409d52_scoped_true_render,
|
|
100544
|
+
tf_layoutvue_type_template_id_54409d52_scoped_true_staticRenderFns,
|
|
100459
100545
|
false,
|
|
100460
100546
|
null,
|
|
100461
|
-
"
|
|
100547
|
+
"54409d52",
|
|
100462
100548
|
null
|
|
100463
100549
|
|
|
100464
100550
|
)
|
|
@@ -106421,6 +106507,264 @@ t_input.install = function (Vue) {
|
|
|
106421
106507
|
};
|
|
106422
106508
|
|
|
106423
106509
|
/* harmony default export */ var package_t_input = (t_input);
|
|
106510
|
+
// 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&
|
|
106511
|
+
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)}
|
|
106512
|
+
var tf_icon_pickervue_type_template_id_248a1fd3_scoped_true_staticRenderFns = []
|
|
106513
|
+
|
|
106514
|
+
|
|
106515
|
+
// CONCATENATED MODULE: ./package/tf-icon-picker/src/tf-icon-picker.vue?vue&type=template&id=248a1fd3&scoped=true&
|
|
106516
|
+
|
|
106517
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.search.js
|
|
106518
|
+
var es_string_search = __webpack_require__("841c");
|
|
106519
|
+
|
|
106520
|
+
// 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&
|
|
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
|
+
//
|
|
106612
|
+
//
|
|
106613
|
+
//
|
|
106614
|
+
//
|
|
106615
|
+
//
|
|
106616
|
+
//
|
|
106617
|
+
//
|
|
106618
|
+
//
|
|
106619
|
+
|
|
106620
|
+
/* harmony default export */ var tf_icon_pickervue_type_script_lang_js_ = ({
|
|
106621
|
+
name: 'TfIconPicker',
|
|
106622
|
+
props: {
|
|
106623
|
+
width: {
|
|
106624
|
+
default: 400,
|
|
106625
|
+
type: Number
|
|
106626
|
+
},
|
|
106627
|
+
placement: {
|
|
106628
|
+
default: 'bottom',
|
|
106629
|
+
type: String
|
|
106630
|
+
},
|
|
106631
|
+
bottomSize: {
|
|
106632
|
+
default: 'small',
|
|
106633
|
+
type: String
|
|
106634
|
+
},
|
|
106635
|
+
hint: {
|
|
106636
|
+
default: '选择图标',
|
|
106637
|
+
type: String
|
|
106638
|
+
}
|
|
106639
|
+
},
|
|
106640
|
+
data: function data() {
|
|
106641
|
+
return {
|
|
106642
|
+
glyphsList: null,
|
|
106643
|
+
allIconList: null,
|
|
106644
|
+
pagination: 0,
|
|
106645
|
+
iconList: null,
|
|
106646
|
+
total: 0,
|
|
106647
|
+
selectIconClass: null,
|
|
106648
|
+
visible: false,
|
|
106649
|
+
search: null
|
|
106650
|
+
};
|
|
106651
|
+
},
|
|
106652
|
+
watch: {
|
|
106653
|
+
pagination: {
|
|
106654
|
+
handler: function handler(newValue) {
|
|
106655
|
+
if (!this.glyphsList) return;
|
|
106656
|
+
this.iconList = this.allIconList.slice(newValue * 20, (newValue + 1) * 20);
|
|
106657
|
+
},
|
|
106658
|
+
immediate: true
|
|
106659
|
+
}
|
|
106660
|
+
},
|
|
106661
|
+
created: function created() {
|
|
106662
|
+
var _this = this;
|
|
106663
|
+
|
|
106664
|
+
axios_default.a.get('/icon-list.json').then(function (res) {
|
|
106665
|
+
if (res.status === 200) {
|
|
106666
|
+
var _this$allIconList;
|
|
106667
|
+
|
|
106668
|
+
var glyphsList = res.data.glyphs;
|
|
106669
|
+
_this.glyphsList = glyphsList.sort(function (a, b) {
|
|
106670
|
+
return a.font_class - b.font_class;
|
|
106671
|
+
});
|
|
106672
|
+
_this.allIconList = JSON.parse(JSON.stringify(_this.glyphsList));
|
|
106673
|
+
_this.total = (_this$allIconList = _this.allIconList) === null || _this$allIconList === void 0 ? void 0 : _this$allIconList.length;
|
|
106674
|
+
_this.iconList = _this.allIconList.slice(_this.pagination * 20, (_this.pagination + 1) * 20);
|
|
106675
|
+
}
|
|
106676
|
+
});
|
|
106677
|
+
},
|
|
106678
|
+
methods: {
|
|
106679
|
+
handleCurrentChange: function handleCurrentChange(val) {
|
|
106680
|
+
if (val - 1 > this.total / 20) return;
|
|
106681
|
+
this.pagination = val - 1;
|
|
106682
|
+
},
|
|
106683
|
+
selectIcon: function selectIcon(params) {
|
|
106684
|
+
this.selectIconClass = params;
|
|
106685
|
+
},
|
|
106686
|
+
searchInfo: function searchInfo() {
|
|
106687
|
+
var _this2 = this;
|
|
106688
|
+
|
|
106689
|
+
this.pagination = 0;
|
|
106690
|
+
var glyphs = JSON.parse(JSON.stringify(this.glyphsList));
|
|
106691
|
+
var iconArr = [];
|
|
106692
|
+
glyphs.forEach(function (item) {
|
|
106693
|
+
var str = "".concat(item.font_class, "+").concat(item.name).toLowerCase();
|
|
106694
|
+
|
|
106695
|
+
if (str.indexOf(_this2.search.toLowerCase()) !== -1) {
|
|
106696
|
+
iconArr.push(item);
|
|
106697
|
+
}
|
|
106698
|
+
});
|
|
106699
|
+
this.allIconList = iconArr;
|
|
106700
|
+
this.total = this.allIconList.length;
|
|
106701
|
+
|
|
106702
|
+
if (iconArr.length > 20) {
|
|
106703
|
+
this.iconList = this.allIconList.slice(this.pagination * 20, (this.pagination + 1) * 20).sort(function (a, b) {
|
|
106704
|
+
return a.font_class - b.font_class;
|
|
106705
|
+
});
|
|
106706
|
+
} else {
|
|
106707
|
+
this.iconList = iconArr.sort(function (a, b) {
|
|
106708
|
+
return a.font_class - b.font_class;
|
|
106709
|
+
});
|
|
106710
|
+
}
|
|
106711
|
+
},
|
|
106712
|
+
cleanSearch: function cleanSearch() {
|
|
106713
|
+
var _this$allIconList2;
|
|
106714
|
+
|
|
106715
|
+
this.pagination = 0;
|
|
106716
|
+
this.allIconList = JSON.parse(JSON.stringify(this.glyphsList));
|
|
106717
|
+
this.total = (_this$allIconList2 = this.allIconList) === null || _this$allIconList2 === void 0 ? void 0 : _this$allIconList2.length;
|
|
106718
|
+
this.iconList = this.allIconList.slice(this.pagination * 20, (this.pagination + 1) * 20);
|
|
106719
|
+
},
|
|
106720
|
+
select: function select() {
|
|
106721
|
+
if (this.selectIconClass) {
|
|
106722
|
+
this.$emit('selectIcon', JSON.parse(JSON.stringify(this.selectIconClass)));
|
|
106723
|
+
} else {
|
|
106724
|
+
this.$message.error('未选择图标');
|
|
106725
|
+
}
|
|
106726
|
+
|
|
106727
|
+
this.selectIconClass = null;
|
|
106728
|
+
this.visible = false;
|
|
106729
|
+
}
|
|
106730
|
+
}
|
|
106731
|
+
});
|
|
106732
|
+
// CONCATENATED MODULE: ./package/tf-icon-picker/src/tf-icon-picker.vue?vue&type=script&lang=js&
|
|
106733
|
+
/* harmony default export */ var src_tf_icon_pickervue_type_script_lang_js_ = (tf_icon_pickervue_type_script_lang_js_);
|
|
106734
|
+
// EXTERNAL MODULE: ./package/tf-icon-picker/src/tf-icon-picker.vue?vue&type=style&index=0&id=248a1fd3&lang=less&scoped=true&
|
|
106735
|
+
var tf_icon_pickervue_type_style_index_0_id_248a1fd3_lang_less_scoped_true_ = __webpack_require__("b967");
|
|
106736
|
+
|
|
106737
|
+
// CONCATENATED MODULE: ./package/tf-icon-picker/src/tf-icon-picker.vue
|
|
106738
|
+
|
|
106739
|
+
|
|
106740
|
+
|
|
106741
|
+
|
|
106742
|
+
|
|
106743
|
+
|
|
106744
|
+
/* normalize component */
|
|
106745
|
+
|
|
106746
|
+
var tf_icon_picker_component = Object(componentNormalizer["a" /* default */])(
|
|
106747
|
+
src_tf_icon_pickervue_type_script_lang_js_,
|
|
106748
|
+
tf_icon_pickervue_type_template_id_248a1fd3_scoped_true_render,
|
|
106749
|
+
tf_icon_pickervue_type_template_id_248a1fd3_scoped_true_staticRenderFns,
|
|
106750
|
+
false,
|
|
106751
|
+
null,
|
|
106752
|
+
"248a1fd3",
|
|
106753
|
+
null
|
|
106754
|
+
|
|
106755
|
+
)
|
|
106756
|
+
|
|
106757
|
+
/* harmony default export */ var tf_icon_picker = (tf_icon_picker_component.exports);
|
|
106758
|
+
// CONCATENATED MODULE: ./package/tf-icon-picker/index.js
|
|
106759
|
+
|
|
106760
|
+
|
|
106761
|
+
/* istanbul ignore next */
|
|
106762
|
+
|
|
106763
|
+
tf_icon_picker.install = function (Vue) {
|
|
106764
|
+
Vue.component(tf_icon_picker.name, tf_icon_picker);
|
|
106765
|
+
};
|
|
106766
|
+
|
|
106767
|
+
/* harmony default export */ var package_tf_icon_picker = (tf_icon_picker);
|
|
106424
106768
|
// CONCATENATED MODULE: ./src/index.js
|
|
106425
106769
|
|
|
106426
106770
|
|
|
@@ -106430,7 +106774,8 @@ t_input.install = function (Vue) {
|
|
|
106430
106774
|
|
|
106431
106775
|
|
|
106432
106776
|
|
|
106433
|
-
|
|
106777
|
+
|
|
106778
|
+
var components = [package_tf_widget, svg_icon, package_tf_layout, t_data_list, package_t_input, package_tf_icon_picker];
|
|
106434
106779
|
|
|
106435
106780
|
var install = function install(Vue) {
|
|
106436
106781
|
components.forEach(function (component) {
|
|
@@ -106444,7 +106789,8 @@ var install = function install(Vue) {
|
|
|
106444
106789
|
SvgIcon: svg_icon,
|
|
106445
106790
|
TfLayout: package_tf_layout,
|
|
106446
106791
|
TDataList: t_data_list,
|
|
106447
|
-
Tinput: package_t_input
|
|
106792
|
+
Tinput: package_t_input,
|
|
106793
|
+
TfIconPicker: package_tf_icon_picker
|
|
106448
106794
|
});
|
|
106449
106795
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
106450
106796
|
|