xt-element-ui 2.0.4 → 2.1.0
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/docs/components/base/xt-card-item.md +1 -1
- package/docs/components/base/xt-list.md +459 -0
- package/docs/components/base/xt-table.md +120 -0
- package/docs/components/base/xt-upload.md +1 -1
- package/lib/index.common.js +808 -154
- package/lib/index.css +1 -1
- package/lib/index.umd.js +808 -154
- package/lib/index.umd.min.js +4 -4
- package/package.json +3 -3
- package/src/components/xt-badge/index.vue +19 -9
- package/src/components/xt-button/index.vue +3 -3
- package/src/components/xt-button/style/index.scss +5 -5
- package/src/components/xt-card/index.vue +4 -4
- package/src/components/xt-card/style/index.scss +11 -11
- package/src/components/xt-chart/XtLine.vue +2 -8
- package/src/components/xt-chart/theme/dark.js +35 -12
- package/src/components/xt-chart/theme/white.js +5 -0
- package/src/components/xt-chart/utils.js +28 -0
- package/src/components/xt-config-provider/index.vue +5 -1
- package/src/components/xt-list/index.js +8 -0
- package/src/components/xt-list/index.vue +886 -0
- package/src/components/xt-table/index copy.vue +663 -0
- package/src/components/xt-table/index.vue +120 -24
- package/src/index.js +3 -0
- package/src/components/xt-card-item/style/index copy.scss +0 -72
package/lib/index.umd.js
CHANGED
|
@@ -124,6 +124,17 @@ function isThisHour (dirtyDate) {
|
|
|
124
124
|
module.exports = isThisHour
|
|
125
125
|
|
|
126
126
|
|
|
127
|
+
/***/ }),
|
|
128
|
+
|
|
129
|
+
/***/ "04c6":
|
|
130
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
131
|
+
|
|
132
|
+
"use strict";
|
|
133
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_XtLine_vue_vue_type_style_index_0_id_ee5ba2d8_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8596");
|
|
134
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_XtLine_vue_vue_type_style_index_0_id_ee5ba2d8_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_XtLine_vue_vue_type_style_index_0_id_ee5ba2d8_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
135
|
+
/* unused harmony reexport * */
|
|
136
|
+
|
|
137
|
+
|
|
127
138
|
/***/ }),
|
|
128
139
|
|
|
129
140
|
/***/ "0978":
|
|
@@ -988,13 +999,6 @@ function addISOYears (dirtyDate, dirtyAmount) {
|
|
|
988
999
|
module.exports = addISOYears
|
|
989
1000
|
|
|
990
1001
|
|
|
991
|
-
/***/ }),
|
|
992
|
-
|
|
993
|
-
/***/ "2a22":
|
|
994
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
995
|
-
|
|
996
|
-
// extracted by mini-css-extract-plugin
|
|
997
|
-
|
|
998
1002
|
/***/ }),
|
|
999
1003
|
|
|
1000
1004
|
/***/ "2a80":
|
|
@@ -1331,6 +1335,13 @@ function differenceInCalendarWeeks (dirtyDateLeft, dirtyDateRight, dirtyOptions)
|
|
|
1331
1335
|
module.exports = differenceInCalendarWeeks
|
|
1332
1336
|
|
|
1333
1337
|
|
|
1338
|
+
/***/ }),
|
|
1339
|
+
|
|
1340
|
+
/***/ "2f60":
|
|
1341
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1342
|
+
|
|
1343
|
+
// extracted by mini-css-extract-plugin
|
|
1344
|
+
|
|
1334
1345
|
/***/ }),
|
|
1335
1346
|
|
|
1336
1347
|
/***/ "2f8f":
|
|
@@ -120646,6 +120657,13 @@ function getHours (dirtyDate) {
|
|
|
120646
120657
|
module.exports = getHours
|
|
120647
120658
|
|
|
120648
120659
|
|
|
120660
|
+
/***/ }),
|
|
120661
|
+
|
|
120662
|
+
/***/ "5ecd":
|
|
120663
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
120664
|
+
|
|
120665
|
+
// extracted by mini-css-extract-plugin
|
|
120666
|
+
|
|
120649
120667
|
/***/ }),
|
|
120650
120668
|
|
|
120651
120669
|
/***/ "6254":
|
|
@@ -123149,6 +123167,17 @@ module.exports = addMinutes
|
|
|
123149
123167
|
|
|
123150
123168
|
// extracted by mini-css-extract-plugin
|
|
123151
123169
|
|
|
123170
|
+
/***/ }),
|
|
123171
|
+
|
|
123172
|
+
/***/ "732a":
|
|
123173
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
123174
|
+
|
|
123175
|
+
"use strict";
|
|
123176
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_53c7db00_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e895");
|
|
123177
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_53c7db00_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_53c7db00_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
123178
|
+
/* unused harmony reexport * */
|
|
123179
|
+
|
|
123180
|
+
|
|
123152
123181
|
/***/ }),
|
|
123153
123182
|
|
|
123154
123183
|
/***/ "7338":
|
|
@@ -123763,6 +123792,17 @@ function differenceInQuarters (dirtyDateLeft, dirtyDateRight) {
|
|
|
123763
123792
|
module.exports = differenceInQuarters
|
|
123764
123793
|
|
|
123765
123794
|
|
|
123795
|
+
/***/ }),
|
|
123796
|
+
|
|
123797
|
+
/***/ "83d1":
|
|
123798
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
123799
|
+
|
|
123800
|
+
"use strict";
|
|
123801
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_4af969c3_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2f60");
|
|
123802
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_4af969c3_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_4af969c3_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
123803
|
+
/* unused harmony reexport * */
|
|
123804
|
+
|
|
123805
|
+
|
|
123766
123806
|
/***/ }),
|
|
123767
123807
|
|
|
123768
123808
|
/***/ "83f0":
|
|
@@ -123833,6 +123873,13 @@ function getISODay (dirtyDate) {
|
|
|
123833
123873
|
module.exports = getISODay
|
|
123834
123874
|
|
|
123835
123875
|
|
|
123876
|
+
/***/ }),
|
|
123877
|
+
|
|
123878
|
+
/***/ "8596":
|
|
123879
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
123880
|
+
|
|
123881
|
+
// extracted by mini-css-extract-plugin
|
|
123882
|
+
|
|
123836
123883
|
/***/ }),
|
|
123837
123884
|
|
|
123838
123885
|
/***/ "861d":
|
|
@@ -124060,17 +124107,6 @@ function getMilliseconds (dirtyDate) {
|
|
|
124060
124107
|
module.exports = getMilliseconds
|
|
124061
124108
|
|
|
124062
124109
|
|
|
124063
|
-
/***/ }),
|
|
124064
|
-
|
|
124065
|
-
/***/ "8ea8":
|
|
124066
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
124067
|
-
|
|
124068
|
-
"use strict";
|
|
124069
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_0fa7d6af_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f402");
|
|
124070
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_0fa7d6af_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_0fa7d6af_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
124071
|
-
/* unused harmony reexport * */
|
|
124072
|
-
|
|
124073
|
-
|
|
124074
124110
|
/***/ }),
|
|
124075
124111
|
|
|
124076
124112
|
/***/ "902e":
|
|
@@ -124629,6 +124665,17 @@ function isThisMonth (dirtyDate) {
|
|
|
124629
124665
|
module.exports = isThisMonth
|
|
124630
124666
|
|
|
124631
124667
|
|
|
124668
|
+
/***/ }),
|
|
124669
|
+
|
|
124670
|
+
/***/ "a092":
|
|
124671
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
124672
|
+
|
|
124673
|
+
"use strict";
|
|
124674
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_cc24a63e_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5ecd");
|
|
124675
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_cc24a63e_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_cc24a63e_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
124676
|
+
/* unused harmony reexport * */
|
|
124677
|
+
|
|
124678
|
+
|
|
124632
124679
|
/***/ }),
|
|
124633
124680
|
|
|
124634
124681
|
/***/ "a0d8":
|
|
@@ -126933,17 +126980,6 @@ function lastDayOfYear (dirtyDate) {
|
|
|
126933
126980
|
module.exports = lastDayOfYear
|
|
126934
126981
|
|
|
126935
126982
|
|
|
126936
|
-
/***/ }),
|
|
126937
|
-
|
|
126938
|
-
/***/ "b8eb":
|
|
126939
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
126940
|
-
|
|
126941
|
-
"use strict";
|
|
126942
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_7cede465_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fed2");
|
|
126943
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_7cede465_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_7cede465_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
126944
|
-
/* unused harmony reexport * */
|
|
126945
|
-
|
|
126946
|
-
|
|
126947
126983
|
/***/ }),
|
|
126948
126984
|
|
|
126949
126985
|
/***/ "b8f9":
|
|
@@ -127885,17 +127921,6 @@ function isWednesday (dirtyDate) {
|
|
|
127885
127921
|
module.exports = isWednesday
|
|
127886
127922
|
|
|
127887
127923
|
|
|
127888
|
-
/***/ }),
|
|
127889
|
-
|
|
127890
|
-
/***/ "cab1":
|
|
127891
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
127892
|
-
|
|
127893
|
-
"use strict";
|
|
127894
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_XtLine_vue_vue_type_style_index_0_id_48c97573_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2a22");
|
|
127895
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_XtLine_vue_vue_type_style_index_0_id_48c97573_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_XtLine_vue_vue_type_style_index_0_id_48c97573_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
127896
|
-
/* unused harmony reexport * */
|
|
127897
|
-
|
|
127898
|
-
|
|
127899
127924
|
/***/ }),
|
|
127900
127925
|
|
|
127901
127926
|
/***/ "cb96":
|
|
@@ -128882,6 +128907,13 @@ function ordinal (number) {
|
|
|
128882
128907
|
module.exports = buildFormatLocale
|
|
128883
128908
|
|
|
128884
128909
|
|
|
128910
|
+
/***/ }),
|
|
128911
|
+
|
|
128912
|
+
/***/ "e895":
|
|
128913
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
128914
|
+
|
|
128915
|
+
// extracted by mini-css-extract-plugin
|
|
128916
|
+
|
|
128885
128917
|
/***/ }),
|
|
128886
128918
|
|
|
128887
128919
|
/***/ "e96b":
|
|
@@ -129065,13 +129097,6 @@ function differenceInWeeks (dirtyDateLeft, dirtyDateRight) {
|
|
|
129065
129097
|
module.exports = differenceInWeeks
|
|
129066
129098
|
|
|
129067
129099
|
|
|
129068
|
-
/***/ }),
|
|
129069
|
-
|
|
129070
|
-
/***/ "f402":
|
|
129071
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
129072
|
-
|
|
129073
|
-
// extracted by mini-css-extract-plugin
|
|
129074
|
-
|
|
129075
129100
|
/***/ }),
|
|
129076
129101
|
|
|
129077
129102
|
/***/ "f564":
|
|
@@ -129392,6 +129417,11 @@ var variables_export_default = /*#__PURE__*/__webpack_require__.n(variables_expo
|
|
|
129392
129417
|
borderColor: "#fff"
|
|
129393
129418
|
}
|
|
129394
129419
|
},
|
|
129420
|
+
valueAxis: {
|
|
129421
|
+
axisLabel: {
|
|
129422
|
+
color: "#666666"
|
|
129423
|
+
}
|
|
129424
|
+
},
|
|
129395
129425
|
gauge: {
|
|
129396
129426
|
axisLine: {
|
|
129397
129427
|
lineStyle: {
|
|
@@ -129461,22 +129491,21 @@ var variables_export_default = /*#__PURE__*/__webpack_require__.n(variables_expo
|
|
|
129461
129491
|
|
|
129462
129492
|
|
|
129463
129493
|
/* harmony default export */ var dark = ({
|
|
129464
|
-
color: ["#
|
|
129494
|
+
color: ["#1060ff", "#6648fe", "#26ddff", "#1bae94", "#ff8041", "#3a5dca", "#c7dd4b"],
|
|
129465
129495
|
backgroundColor: "#000",
|
|
129466
129496
|
textStyle: {
|
|
129467
129497
|
fontFamily: "Microsoft YaHei, sans-serif"
|
|
129468
129498
|
},
|
|
129469
129499
|
title: {
|
|
129470
129500
|
textStyle: {
|
|
129471
|
-
color: "#ffffff"
|
|
129501
|
+
color: "#ffffff",
|
|
129502
|
+
fontSize: 16
|
|
129472
129503
|
},
|
|
129473
129504
|
subtextStyle: {
|
|
129474
|
-
color: "#ffffff"
|
|
129505
|
+
color: "#ffffff",
|
|
129506
|
+
fontSize: 12
|
|
129475
129507
|
}
|
|
129476
129508
|
},
|
|
129477
|
-
axisLabel: {
|
|
129478
|
-
color: "#ffffff"
|
|
129479
|
-
},
|
|
129480
129509
|
line: {
|
|
129481
129510
|
itemStyle: {
|
|
129482
129511
|
},
|
|
@@ -129508,6 +129537,16 @@ var variables_export_default = /*#__PURE__*/__webpack_require__.n(variables_expo
|
|
|
129508
129537
|
borderColor: "#dcdfe6"
|
|
129509
129538
|
}
|
|
129510
129539
|
},
|
|
129540
|
+
valueAxis: {
|
|
129541
|
+
axisLabel: {
|
|
129542
|
+
color: "#ffffff"
|
|
129543
|
+
}
|
|
129544
|
+
},
|
|
129545
|
+
categoryAxis: {
|
|
129546
|
+
axisLabel: {
|
|
129547
|
+
color: "#ffffff"
|
|
129548
|
+
}
|
|
129549
|
+
},
|
|
129511
129550
|
gauge: {
|
|
129512
129551
|
axisLine: {
|
|
129513
129552
|
lineStyle: {
|
|
@@ -129520,14 +129559,28 @@ var variables_export_default = /*#__PURE__*/__webpack_require__.n(variables_expo
|
|
|
129520
129559
|
borderColor: "#ffffff"
|
|
129521
129560
|
}
|
|
129522
129561
|
},
|
|
129523
|
-
|
|
129524
|
-
|
|
129525
|
-
|
|
129562
|
+
xAxis: {
|
|
129563
|
+
axisLine: {
|
|
129564
|
+
lineStyle: {
|
|
129565
|
+
color: "#DCDFE6"
|
|
129566
|
+
}
|
|
129567
|
+
},
|
|
129568
|
+
axisTick: {
|
|
129569
|
+
lineStyle: {
|
|
129570
|
+
color: "#DCDFE6"
|
|
129571
|
+
}
|
|
129526
129572
|
}
|
|
129527
129573
|
},
|
|
129528
|
-
|
|
129529
|
-
|
|
129530
|
-
|
|
129574
|
+
yAxis: {
|
|
129575
|
+
axisLine: {
|
|
129576
|
+
lineStyle: {
|
|
129577
|
+
color: "#DCDFE6"
|
|
129578
|
+
}
|
|
129579
|
+
},
|
|
129580
|
+
axisTick: {
|
|
129581
|
+
lineStyle: {
|
|
129582
|
+
color: "#DCDFE6"
|
|
129583
|
+
}
|
|
129531
129584
|
}
|
|
129532
129585
|
},
|
|
129533
129586
|
splitLine: {
|
|
@@ -129871,6 +129924,34 @@ EchartsUtil.applyFontSize = function(themeOption, size) {
|
|
|
129871
129924
|
}
|
|
129872
129925
|
}
|
|
129873
129926
|
|
|
129927
|
+
// 调整坐标轴标签字体大小和颜色
|
|
129928
|
+
const applyAxisLabel = function(axis) {
|
|
129929
|
+
if (!axis) return;
|
|
129930
|
+
if (!axis.axisLabel) {
|
|
129931
|
+
axis.axisLabel = {};
|
|
129932
|
+
}
|
|
129933
|
+
if (result.axisLabel && result.axisLabel.color) {
|
|
129934
|
+
axis.axisLabel.color = result.axisLabel.color;
|
|
129935
|
+
}
|
|
129936
|
+
axis.axisLabel.fontSize = fontSizeConfig.axisLabel;
|
|
129937
|
+
};
|
|
129938
|
+
|
|
129939
|
+
if (result.xAxis) {
|
|
129940
|
+
if (Array.isArray(result.xAxis)) {
|
|
129941
|
+
result.xAxis.forEach(applyAxisLabel);
|
|
129942
|
+
} else {
|
|
129943
|
+
applyAxisLabel(result.xAxis);
|
|
129944
|
+
}
|
|
129945
|
+
}
|
|
129946
|
+
|
|
129947
|
+
if (result.yAxis) {
|
|
129948
|
+
if (Array.isArray(result.yAxis)) {
|
|
129949
|
+
result.yAxis.forEach(applyAxisLabel);
|
|
129950
|
+
} else {
|
|
129951
|
+
applyAxisLabel(result.yAxis);
|
|
129952
|
+
}
|
|
129953
|
+
}
|
|
129954
|
+
|
|
129874
129955
|
return result;
|
|
129875
129956
|
};
|
|
129876
129957
|
|
|
@@ -130224,13 +130305,13 @@ const onConfigChange = function(listener) {
|
|
|
130224
130305
|
onConfigChange
|
|
130225
130306
|
});
|
|
130226
130307
|
|
|
130227
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
130228
|
-
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-button',_vm._b({staticClass:"
|
|
130308
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-button/index.vue?vue&type=template&id=6befe2fb
|
|
130309
|
+
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-button',_vm._b({staticClass:"xt-button",class:_vm.buttonClasses,on:{"click":_vm.handleClick}},'el-button',_vm.$attrs,false),[_vm._t("default")],2)
|
|
130229
130310
|
}
|
|
130230
130311
|
var staticRenderFns = []
|
|
130231
130312
|
|
|
130232
130313
|
|
|
130233
|
-
// CONCATENATED MODULE: ./src/components/xt-button/index.vue?vue&type=template&id=
|
|
130314
|
+
// CONCATENATED MODULE: ./src/components/xt-button/index.vue?vue&type=template&id=6befe2fb
|
|
130234
130315
|
|
|
130235
130316
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-button/index.vue?vue&type=script&lang=js
|
|
130236
130317
|
|
|
@@ -130274,8 +130355,8 @@ var staticRenderFns = []
|
|
|
130274
130355
|
},
|
|
130275
130356
|
buttonClasses() {
|
|
130276
130357
|
return [
|
|
130277
|
-
`
|
|
130278
|
-
`
|
|
130358
|
+
`xt-button-${this.finalSize}`,
|
|
130359
|
+
`xt-button-${this.type}`
|
|
130279
130360
|
]
|
|
130280
130361
|
}
|
|
130281
130362
|
},
|
|
@@ -130419,7 +130500,7 @@ xt_button.install = function (Vue) {
|
|
|
130419
130500
|
|
|
130420
130501
|
/* harmony default export */ var components_xt_button = (xt_button);
|
|
130421
130502
|
|
|
130422
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
130503
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-input/index.vue?vue&type=template&id=6c337ae4
|
|
130423
130504
|
var xt_inputvue_type_template_id_6c337ae4_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-input",class:[
|
|
130424
130505
|
_vm.size ? 'xt-input--' + _vm.size : '',
|
|
130425
130506
|
{ 'is-disabled': _vm.disabled }
|
|
@@ -130585,7 +130666,7 @@ xt_input.install = function (Vue) {
|
|
|
130585
130666
|
/* harmony default export */ var components_xt_input = (xt_input);
|
|
130586
130667
|
|
|
130587
130668
|
|
|
130588
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
130669
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-flex-box/index.vue?vue&type=template&id=21429280
|
|
130589
130670
|
var xt_flex_boxvue_type_template_id_21429280_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-flex-box",class:_vm.classAttrs,style:(_vm.flexStyle)},[_vm._t("default")],2)
|
|
130590
130671
|
}
|
|
130591
130672
|
var xt_flex_boxvue_type_template_id_21429280_staticRenderFns = []
|
|
@@ -130654,13 +130735,13 @@ xt_flex_box.install = function (Vue) {
|
|
|
130654
130735
|
/* harmony default export */ var components_xt_flex_box = (xt_flex_box);
|
|
130655
130736
|
|
|
130656
130737
|
|
|
130657
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
130658
|
-
var
|
|
130738
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-card/index.vue?vue&type=template&id=32926c78
|
|
130739
|
+
var xt_cardvue_type_template_id_32926c78_render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-card',_vm._b({staticClass:"xt-card",class:_vm.cardClasses,scopedSlots:_vm._u([(_vm.$slots.header || _vm.title)?{key:"header",fn:function(){return [_vm._t("header",function(){return [_vm._v(_vm._s(_vm.title))]})]},proxy:true}:null],null,true)},'el-card',_vm.$attrs,false),[_vm._t("default")],2)
|
|
130659
130740
|
}
|
|
130660
|
-
var
|
|
130741
|
+
var xt_cardvue_type_template_id_32926c78_staticRenderFns = []
|
|
130661
130742
|
|
|
130662
130743
|
|
|
130663
|
-
// CONCATENATED MODULE: ./src/components/xt-card/index.vue?vue&type=template&id=
|
|
130744
|
+
// CONCATENATED MODULE: ./src/components/xt-card/index.vue?vue&type=template&id=32926c78
|
|
130664
130745
|
|
|
130665
130746
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-card/index.vue?vue&type=script&lang=js
|
|
130666
130747
|
|
|
@@ -130707,10 +130788,10 @@ var xt_cardvue_type_template_id_67b1fb86_staticRenderFns = []
|
|
|
130707
130788
|
},
|
|
130708
130789
|
cardClasses() {
|
|
130709
130790
|
return [
|
|
130710
|
-
`
|
|
130711
|
-
`
|
|
130791
|
+
`xt-card-${this.shadow}`,
|
|
130792
|
+
`xt-card-${this.finalSize}`,
|
|
130712
130793
|
{
|
|
130713
|
-
'
|
|
130794
|
+
'xt-card-no-border': !this.bordered,
|
|
130714
130795
|
[this.bodyClass]: this.bodyClass
|
|
130715
130796
|
}
|
|
130716
130797
|
]
|
|
@@ -130730,8 +130811,8 @@ var xt_cardvue_type_template_id_67b1fb86_staticRenderFns = []
|
|
|
130730
130811
|
|
|
130731
130812
|
var xt_card_component = normalizeComponent(
|
|
130732
130813
|
components_xt_cardvue_type_script_lang_js,
|
|
130733
|
-
|
|
130734
|
-
|
|
130814
|
+
xt_cardvue_type_template_id_32926c78_render,
|
|
130815
|
+
xt_cardvue_type_template_id_32926c78_staticRenderFns,
|
|
130735
130816
|
false,
|
|
130736
130817
|
null,
|
|
130737
130818
|
null,
|
|
@@ -130748,7 +130829,7 @@ xt_card.install = function (Vue) {
|
|
|
130748
130829
|
}
|
|
130749
130830
|
|
|
130750
130831
|
/* harmony default export */ var components_xt_card = (xt_card);
|
|
130751
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
130832
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-card-item/index.vue?vue&type=template&id=dbcd74f4
|
|
130752
130833
|
var xt_card_itemvue_type_template_id_dbcd74f4_render = function render(){var _vm=this,_c=_vm._self._c;return _c('xt-card',{staticClass:"xt-card-item",class:{ [`is-${_vm.type}`]: _vm.type ? true : false},attrs:{"bordered":false}},[_c('xt-flex-box',{attrs:{"content":"between"}},[_c('div',[_c('div',[_c('xt-text',{attrs:{"bold":"","size":"extra-large"}},[_vm._v(_vm._s(_vm.title))])],1),_c('xt-text',{attrs:{"bold":"","size":"large","format":"thousand","type":_vm.type,"decimals":0},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}}),_c('div',{staticStyle:{"margin":"5px 0"}},[_c('xt-text',{attrs:{"size":"small"}},[_vm._v("较昨日")]),_c('xt-text',{attrs:{"format":"normal","type":_vm.diff > 0 ? 'success' : 'danger',"suffix":_vm.diff > 0 ? '↑' : '↓'},model:{value:(_vm.change),callback:function ($$v) {_vm.change=$$v},expression:"change"}})],1)],1),_c('div',{staticStyle:{"height":"100%"}},[_vm._t("icon",function(){return [_c('xt-text',{attrs:{"size":"extra-large","type":_vm.type}},[_c('xt-icon',{attrs:{"name":"el-icon-user","size":48}})],1)]})],2)])],1)
|
|
130753
130834
|
}
|
|
130754
130835
|
var xt_card_itemvue_type_template_id_dbcd74f4_staticRenderFns = []
|
|
@@ -130808,6 +130889,10 @@ xt_card_item.install = function (Vue) {
|
|
|
130808
130889
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-config-provider/index.vue?vue&type=script&lang=js
|
|
130809
130890
|
|
|
130810
130891
|
|
|
130892
|
+
|
|
130893
|
+
// SSR 兼容:Node.js 环境中 HTMLElement 不存在
|
|
130894
|
+
const HTMLElementType = typeof HTMLElement !== 'undefined' ? HTMLElement : Object
|
|
130895
|
+
|
|
130811
130896
|
/* harmony default export */ var xt_config_providervue_type_script_lang_js = ({
|
|
130812
130897
|
name: 'XtConfigProvider',
|
|
130813
130898
|
inheritAttrs: false,
|
|
@@ -130915,7 +131000,7 @@ xt_card_item.install = function (Vue) {
|
|
|
130915
131000
|
default: false
|
|
130916
131001
|
},
|
|
130917
131002
|
proxyElement: {
|
|
130918
|
-
type: [
|
|
131003
|
+
type: [HTMLElementType, String, Object],
|
|
130919
131004
|
default: null,
|
|
130920
131005
|
description: '代理元素,将样式应用到该元素上。支持 HTMLElement、CSS选择器字符串或 ref 对象'
|
|
130921
131006
|
},
|
|
@@ -131162,8 +131247,8 @@ xt_card_item.install = function (Vue) {
|
|
|
131162
131247
|
|
|
131163
131248
|
// CONCATENATED MODULE: ./src/components/xt-config-provider/index.vue?vue&type=script&lang=js
|
|
131164
131249
|
/* harmony default export */ var components_xt_config_providervue_type_script_lang_js = (xt_config_providervue_type_script_lang_js);
|
|
131165
|
-
// EXTERNAL MODULE: ./src/components/xt-config-provider/index.vue?vue&type=style&index=0&id=
|
|
131166
|
-
var
|
|
131250
|
+
// EXTERNAL MODULE: ./src/components/xt-config-provider/index.vue?vue&type=style&index=0&id=4af969c3&prod&scoped=true&lang=css
|
|
131251
|
+
var xt_config_providervue_type_style_index_0_id_4af969c3_prod_scoped_true_lang_css = __webpack_require__("83d1");
|
|
131167
131252
|
|
|
131168
131253
|
// CONCATENATED MODULE: ./src/components/xt-config-provider/index.vue
|
|
131169
131254
|
var xt_config_provider_render, xt_config_provider_staticRenderFns
|
|
@@ -131180,7 +131265,7 @@ var xt_config_provider_component = normalizeComponent(
|
|
|
131180
131265
|
xt_config_provider_staticRenderFns,
|
|
131181
131266
|
false,
|
|
131182
131267
|
null,
|
|
131183
|
-
"
|
|
131268
|
+
"4af969c3",
|
|
131184
131269
|
null
|
|
131185
131270
|
|
|
131186
131271
|
)
|
|
@@ -131196,7 +131281,7 @@ xt_config_provider.install = function (Vue) {
|
|
|
131196
131281
|
/* harmony default export */ var components_xt_config_provider = (xt_config_provider);
|
|
131197
131282
|
|
|
131198
131283
|
|
|
131199
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
131284
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-text/index.vue?vue&type=template&id=7f658496
|
|
131200
131285
|
var xt_textvue_type_template_id_7f658496_render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.showTooltip && _vm.ellipsis)?_c('el-tooltip',{attrs:{"content":_vm.displayTooltipContent,"placement":_vm.tooltipPlacement,"disabled":!_vm.isOverflow,"effect":"dark"}},[_c('span',{ref:"textRef",staticClass:"xt-text",class:[
|
|
131201
131286
|
_vm.type ? 'xt-text--' + _vm.type : '',
|
|
131202
131287
|
'xt-text--' + _vm.size,
|
|
@@ -131498,7 +131583,7 @@ xt_text.install = function (Vue) {
|
|
|
131498
131583
|
/* harmony default export */ var components_xt_text = (xt_text);
|
|
131499
131584
|
|
|
131500
131585
|
|
|
131501
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
131586
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-time/index.vue?vue&type=template&id=d29acf2c
|
|
131502
131587
|
var xt_timevue_type_template_id_d29acf2c_render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:"xt-time",class:[
|
|
131503
131588
|
_vm.typeColor ? 'xt-time--' + _vm.typeColor : '',
|
|
131504
131589
|
'xt-time--' + _vm.size,
|
|
@@ -131819,7 +131904,7 @@ xt_time.install = function (Vue) {
|
|
|
131819
131904
|
/* harmony default export */ var components_xt_time = (xt_time);
|
|
131820
131905
|
|
|
131821
131906
|
|
|
131822
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
131907
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-step-price/index.vue?vue&type=template&id=0cb332f3
|
|
131823
131908
|
var xt_step_pricevue_type_template_id_0cb332f3_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-step-price",class:{ 'is-disabled': _vm.disabled }},[(_vm.title || _vm.$slots.header)?_c('div',{staticClass:"xt-step-price__header"},[(_vm.title)?_c('xt-text',{attrs:{"bold":"","size":"medium"}},[_vm._v(_vm._s(_vm.title))]):_vm._e(),_vm._t("header"),(!_vm.disabled && !_vm.isLimitReached)?_c('xt-button',{attrs:{"type":"primary","size":"small","icon":"el-icon-plus","plain":""},on:{"click":_vm.onAdd}},[_vm._v("新增"+_vm._s(_vm.stepName))]):_vm._e(),(_vm.isLimitReached)?_c('xt-text',{attrs:{"size":"small","type-color":"info"}},[_vm._v("已达上限("+_vm._s(_vm.localItems.length)+"/"+_vm._s(_vm.limit)+")")]):_vm._e()],2):_vm._e(),_c('div',{staticClass:"xt-step-price__list"},_vm._l((_vm.localItems),function(item,idx){return _c('XtStepPriceItem',{key:idx,attrs:{"value":item,"index":idx,"is-first":idx === 0,"is-last":idx === _vm.localItems.length - 1,"items-length":_vm.localItems.length,"removable":idx !== 0,"min-locked":idx !== 0 ? true : false,"unit":_vm.unit,"precision":_vm.precision,"step-name":_vm.stepName,"step":_vm.step,"left-bracket":_vm.leftBracket,"right-bracket":_vm.rightBracket,"field-keys":_vm.fieldKeys,"disabled":_vm.disabled,"allow-negative":_vm.allowNegative},on:{"input":(val) => _vm.onItemInput(val, idx),"max-change":_vm.onMaxChange,"min-change":_vm.onMinChange,"delete":_vm.onDelete,"blur":_vm.onFieldBlur}})}),1),(_vm.localItems.length === 0)?_c('div',{staticClass:"xt-step-price__empty"},[_c('span',[_vm._v("暂无数据,点击右上角「新增"+_vm._s(_vm.stepName)+"」开始配置")])]):_vm._e(),(_vm.tip || _vm.$slots.tip)?_c('div',{staticClass:"xt-step-price__tip"},[_vm._t("tip",function(){return [_c('xt-text',{attrs:{"size":"small","type-color":"warning"}},[_vm._v(_vm._s(_vm.tip))])]})],2):_vm._e()])
|
|
131824
131909
|
}
|
|
131825
131910
|
var xt_step_pricevue_type_template_id_0cb332f3_staticRenderFns = []
|
|
@@ -131827,7 +131912,7 @@ var xt_step_pricevue_type_template_id_0cb332f3_staticRenderFns = []
|
|
|
131827
131912
|
|
|
131828
131913
|
// CONCATENATED MODULE: ./src/components/xt-step-price/index.vue?vue&type=template&id=0cb332f3
|
|
131829
131914
|
|
|
131830
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
131915
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-step-price-item/index.vue?vue&type=template&id=6a5e4cac
|
|
131831
131916
|
var xt_step_price_itemvue_type_template_id_6a5e4cac_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-step-price-item"},[_c('div',{staticClass:"xt-step-price-item__range"},[_c('span',{staticClass:"xt-step-price-item__bracket"},[_vm._v(_vm._s(_vm.finalLeftBracket))]),(_vm.itemsLength > 1)?_c('span',{staticClass:"xt-step-price-item__name"},[_vm._v("第"+_vm._s(_vm.index + 1)+_vm._s(_vm.stepName))]):_vm._e(),_c('span',{staticClass:"xt-step-price-item__bracket"},[_vm._v(_vm._s(_vm.finalRightBracket))]),_c('xt-input',{staticClass:"xt-step-price-item__input",attrs:{"disabled":_vm.disabled || _vm.minLocked,"size":"small","placeholder":"下限"},on:{"blur":(e) => { _vm.onMinBlur(); _vm.onBlur(e) }},model:{value:(_vm.minInput),callback:function ($$v) {_vm.minInput=_vm._n($$v)},expression:"minInput"}}),_c('span',{staticClass:"xt-step-price-item__comma"},[_vm._v("-")]),(!_vm.isLast)?_c('xt-input',{staticClass:"xt-step-price-item__input",attrs:{"type":"number","disabled":_vm.disabled,"size":"small","placeholder":"上限"},on:{"blur":(e) => { _vm.onMaxBlur(); _vm.onBlur(e) }},model:{value:(_vm.maxInput),callback:function ($$v) {_vm.maxInput=_vm._n($$v)},expression:"maxInput"}}):_c('span',{staticClass:"xt-step-price-item__infinity"},[_vm._v("+∞")])],1),_c('div',{staticClass:"xt-step-price-item__price"},[_c('xt-input',{staticClass:"xt-step-price-item__input xt-step-price-item__input--price",attrs:{"type":"number","disabled":_vm.disabled,"size":"small","placeholder":"价格"},on:{"blur":(e) => { _vm.onPriceBlur(); _vm.onBlur(e) }},model:{value:(_vm.priceInput),callback:function ($$v) {_vm.priceInput=_vm._n($$v)},expression:"priceInput"}}),_c('span',{staticClass:"xt-step-price-item__unit"},[_vm._v(_vm._s(_vm.unit))])],1),(!_vm.disabled && _vm.removable && _vm.itemsLength > 1)?_c('xt-button',{staticClass:"xt-step-price-item__delete",attrs:{"text":"","icon":"el-icon-delete"},on:{"click":_vm.onDelete}}):_vm._e()],1)
|
|
131832
131917
|
}
|
|
131833
131918
|
var xt_step_price_itemvue_type_template_id_6a5e4cac_staticRenderFns = []
|
|
@@ -132393,7 +132478,7 @@ xt_step_price_item.install = function (Vue) {
|
|
|
132393
132478
|
|
|
132394
132479
|
/* harmony default export */ var components_xt_step_price_item = (xt_step_price_item);
|
|
132395
132480
|
|
|
132396
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
132481
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-map/index.vue?vue&type=template&id=0c15823e
|
|
132397
132482
|
var xt_mapvue_type_template_id_0c15823e_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-map-wrapper"},[_c('div',{ref:"mapContainer",staticClass:"xt-map-container",attrs:{"data-theme":_vm.mergedTheme}}),(_vm.loading)?_c('div',{staticClass:"xt-map-loading"},[_c('span',[_vm._v("地图加载中...")])]):_vm._e(),(_vm.errorMessage)?_c('div',{staticClass:"xt-map-error"},[_c('span',[_vm._v(_vm._s(_vm.errorMessage))])]):_vm._e(),_vm._t("overlay")],2)
|
|
132398
132483
|
}
|
|
132399
132484
|
var xt_mapvue_type_template_id_0c15823e_staticRenderFns = []
|
|
@@ -134110,7 +134195,7 @@ xt_map.install = function (Vue) {
|
|
|
134110
134195
|
/* harmony default export */ var components_xt_map = (xt_map);
|
|
134111
134196
|
|
|
134112
134197
|
|
|
134113
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
134198
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-map/provider.vue?vue&type=template&id=16f243b0&scoped=true
|
|
134114
134199
|
var providervue_type_template_id_16f243b0_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:['xt-map-provider', { 'xt-map-provider--dark': _vm.mergedTheme === 'dark' }],style:(_vm.wrapperStyle)},[_vm._t("default")],2)
|
|
134115
134200
|
}
|
|
134116
134201
|
var providervue_type_template_id_16f243b0_scoped_true_staticRenderFns = []
|
|
@@ -134314,7 +134399,7 @@ xt_map_provider.install = function (Vue) {
|
|
|
134314
134399
|
/* harmony default export */ var components_xt_map_provider = (xt_map_provider);
|
|
134315
134400
|
|
|
134316
134401
|
|
|
134317
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
134402
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-grid-box/index.vue?vue&type=template&id=67e197c4
|
|
134318
134403
|
var xt_grid_boxvue_type_template_id_67e197c4_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-grid-box",style:(_vm.styleAttrs)},[_vm._t("default")],2)
|
|
134319
134404
|
}
|
|
134320
134405
|
var xt_grid_boxvue_type_template_id_67e197c4_staticRenderFns = []
|
|
@@ -134484,7 +134569,7 @@ xt_grid_box.install = function (Vue) {
|
|
|
134484
134569
|
/* harmony default export */ var components_xt_grid_box = (xt_grid_box);
|
|
134485
134570
|
|
|
134486
134571
|
|
|
134487
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
134572
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-grid-item/index.vue?vue&type=template&id=5318efc6&scoped=true
|
|
134488
134573
|
var xt_grid_itemvue_type_template_id_5318efc6_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-grid-item",style:(_vm.styleAttrs)},[_vm._t("default")],2)
|
|
134489
134574
|
}
|
|
134490
134575
|
var xt_grid_itemvue_type_template_id_5318efc6_scoped_true_staticRenderFns = []
|
|
@@ -134624,7 +134709,7 @@ xt_grid_item.install = function (Vue) {
|
|
|
134624
134709
|
/* harmony default export */ var components_xt_grid_item = (xt_grid_item);
|
|
134625
134710
|
|
|
134626
134711
|
|
|
134627
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
134712
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-progress/index.vue?vue&type=template&id=76c95a92
|
|
134628
134713
|
var xt_progressvue_type_template_id_76c95a92_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-progress",class:[
|
|
134629
134714
|
`xt-progress--${_vm.type}`,
|
|
134630
134715
|
`xt-progress--${_vm.size}`
|
|
@@ -134720,7 +134805,7 @@ xt_progress.install = function(Vue) {
|
|
|
134720
134805
|
|
|
134721
134806
|
/* harmony default export */ var components_xt_progress = (xt_progress);
|
|
134722
134807
|
|
|
134723
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
134808
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-tabs/index.vue?vue&type=template&id=04b02574
|
|
134724
134809
|
var xt_tabsvue_type_template_id_04b02574_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-tabs",class:[
|
|
134725
134810
|
`xt-tabs--${_vm.position}`,
|
|
134726
134811
|
{ 'xt-tabs--card': _vm.type === 'card' }
|
|
@@ -134832,7 +134917,7 @@ var xt_tabs_component = normalizeComponent(
|
|
|
134832
134917
|
)
|
|
134833
134918
|
|
|
134834
134919
|
/* harmony default export */ var xt_tabs = (xt_tabs_component.exports);
|
|
134835
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
134920
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-tabs/TabPane.vue?vue&type=template&id=0c2246dc
|
|
134836
134921
|
var TabPanevue_type_template_id_0c2246dc_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isActive),expression:"isActive"}],staticClass:"xt-tab-pane"},[_vm._t("default")],2)
|
|
134837
134922
|
}
|
|
134838
134923
|
var TabPanevue_type_template_id_0c2246dc_staticRenderFns = []
|
|
@@ -134905,18 +134990,13 @@ xt_tabs.install = function(Vue) {
|
|
|
134905
134990
|
/* harmony default export */ var components_xt_tabs = (xt_tabs);
|
|
134906
134991
|
|
|
134907
134992
|
|
|
134908
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
134909
|
-
var
|
|
134910
|
-
`xt-badge--${_vm.type}`,
|
|
134911
|
-
{ 'xt-badge--dot': _vm.isDot },
|
|
134912
|
-
{ 'xt-badge--hidden': _vm.hidden },
|
|
134913
|
-
{ 'xt-badge--fixed': _vm.fixed }
|
|
134914
|
-
]},[_c('span',{staticClass:"xt-badge__content"},[_vm._t("default")],2),(!_vm.hidden && (_vm.value || _vm.isDot))?_c('span',{staticClass:"xt-badge__badge",style:(_vm.badgeStyle)},[(_vm.isDot)?void 0:(_vm.showOverflow && _vm.value > _vm.max)?[_vm._v(_vm._s(_vm.max)+"+")]:[_vm._v(_vm._s(_vm.value))]],2):_vm._e()])
|
|
134993
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-badge/index.vue?vue&type=template&id=3f0a6b4e
|
|
134994
|
+
var xt_badgevue_type_template_id_3f0a6b4e_render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',{class:_vm.rootClasses},[_c('span',{staticClass:"xt-badge__content"},[_vm._t("default")],2),(!_vm.hidden && (_vm.value || _vm.isDot))?_c('span',{staticClass:"xt-badge__badge",style:(_vm.badgeStyle)},[(_vm.isDot)?_c('span'):(_vm.isOverflow)?_c('span',[_vm._v(_vm._s(_vm.overflowText))]):_c('span',[_vm._v(_vm._s(_vm.value))])]):_vm._e()])
|
|
134915
134995
|
}
|
|
134916
|
-
var
|
|
134996
|
+
var xt_badgevue_type_template_id_3f0a6b4e_staticRenderFns = []
|
|
134917
134997
|
|
|
134918
134998
|
|
|
134919
|
-
// CONCATENATED MODULE: ./src/components/xt-badge/index.vue?vue&type=template&id=
|
|
134999
|
+
// CONCATENATED MODULE: ./src/components/xt-badge/index.vue?vue&type=template&id=3f0a6b4e
|
|
134920
135000
|
|
|
134921
135001
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-badge/index.vue?vue&type=script&lang=js
|
|
134922
135002
|
|
|
@@ -134958,12 +135038,27 @@ var xt_badgevue_type_template_id_20f2da48_staticRenderFns = []
|
|
|
134958
135038
|
}
|
|
134959
135039
|
},
|
|
134960
135040
|
computed: {
|
|
135041
|
+
rootClasses() {
|
|
135042
|
+
return [
|
|
135043
|
+
'xt-badge',
|
|
135044
|
+
`xt-badge--${this.type}`,
|
|
135045
|
+
{ 'xt-badge--dot': this.isDot },
|
|
135046
|
+
{ 'xt-badge--hidden': this.hidden },
|
|
135047
|
+
{ 'xt-badge--fixed': this.fixed }
|
|
135048
|
+
]
|
|
135049
|
+
},
|
|
134961
135050
|
badgeStyle() {
|
|
134962
135051
|
const style = {}
|
|
134963
135052
|
if (this.color) {
|
|
134964
135053
|
style.backgroundColor = this.color
|
|
134965
135054
|
}
|
|
134966
135055
|
return style
|
|
135056
|
+
},
|
|
135057
|
+
overflowText() {
|
|
135058
|
+
return this.max + '+'
|
|
135059
|
+
},
|
|
135060
|
+
isOverflow() {
|
|
135061
|
+
return this.showOverflow && this.value > this.max
|
|
134967
135062
|
}
|
|
134968
135063
|
}
|
|
134969
135064
|
});
|
|
@@ -134980,8 +135075,8 @@ var xt_badgevue_type_template_id_20f2da48_staticRenderFns = []
|
|
|
134980
135075
|
|
|
134981
135076
|
var xt_badge_component = normalizeComponent(
|
|
134982
135077
|
components_xt_badgevue_type_script_lang_js,
|
|
134983
|
-
|
|
134984
|
-
|
|
135078
|
+
xt_badgevue_type_template_id_3f0a6b4e_render,
|
|
135079
|
+
xt_badgevue_type_template_id_3f0a6b4e_staticRenderFns,
|
|
134985
135080
|
false,
|
|
134986
135081
|
null,
|
|
134987
135082
|
null,
|
|
@@ -134999,7 +135094,7 @@ xt_badge.install = function(Vue) {
|
|
|
134999
135094
|
|
|
135000
135095
|
/* harmony default export */ var components_xt_badge = (xt_badge);
|
|
135001
135096
|
|
|
135002
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
135097
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-date-picker/index.vue?vue&type=template&id=67b7b031&scoped=true
|
|
135003
135098
|
var xt_date_pickervue_type_template_id_67b7b031_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticStyle:{"display":"inline-block"}},[(_vm.dateType=='quarter')?_c('XtFlexBox',{staticClass:"xt-date-picker",class:{focus: _vm.isfocus},style:(_vm.width?{width: `${_vm.width}`}:{}),attrs:{"type":"inline-flex"}},[_c('Quarter',{attrs:{"format":_vm.format,"placeholder":"开始时间","quarter-type":"quarter-start","clearable":""},model:{value:(_vm.timeStart),callback:function ($$v) {_vm.timeStart=$$v},expression:"timeStart"}}),_c('span',{staticClass:"separator"},[_vm._v(_vm._s(_vm.separator))]),_c('Quarter',{attrs:{"format":_vm.format,"placeholder":"结束时间","quarter-type":"quarter-end","clearable":""},model:{value:(_vm.timeEnd),callback:function ($$v) {_vm.timeEnd=$$v},expression:"timeEnd"}})],1):_c('XtFlexBox',{staticClass:"xt-date",class:{focus: _vm.isfocus},style:(_vm.width?{width: `${_vm.width}px`}:{}),attrs:{"type":"inline-flex"}},[_c('el-date-picker',{key:"startSelect",ref:"timeStart",attrs:{"size":"small","disabled":_vm.disabled,"append-to-body":"","picker-options":_vm.startTimeRange,"format":_vm.format,"type":_vm.dateType,"placeholder":"开始时间","clearable":""},on:{"blur":function($event){return _vm.$emit('blur')},"focus":function($event){return _vm.$emit('focus')}},model:{value:(_vm.timeStart),callback:function ($$v) {_vm.timeStart=$$v},expression:"timeStart"}}),_c('span',{staticClass:"separator"},[_vm._v(_vm._s(_vm.separator))]),_c('el-date-picker',{key:"endSelect",ref:"timeEnd",attrs:{"size":"small","disabled":_vm.disabled,"append-to-body":"","picker-options":_vm.endTimeRange,"format":_vm.format,"type":_vm.dateType,"placeholder":"结束时间","clearable":""},on:{"blur":function($event){return _vm.$emit('blur')},"focus":function($event){return _vm.$emit('focus')}},model:{value:(_vm.timeEnd),callback:function ($$v) {_vm.timeEnd=$$v},expression:"timeEnd"}})],1)],1)
|
|
135004
135099
|
}
|
|
135005
135100
|
var xt_date_pickervue_type_template_id_67b7b031_scoped_true_staticRenderFns = []
|
|
@@ -135007,7 +135102,7 @@ var xt_date_pickervue_type_template_id_67b7b031_scoped_true_staticRenderFns = []
|
|
|
135007
135102
|
|
|
135008
135103
|
// CONCATENATED MODULE: ./src/components/xt-date-picker/index.vue?vue&type=template&id=67b7b031&scoped=true
|
|
135009
135104
|
|
|
135010
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
135105
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-date-picker/quarter.vue?vue&type=template&id=4e3cbf9a
|
|
135011
135106
|
var quartervue_type_template_id_4e3cbf9a_render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-popover',{attrs:{"trigger":"click","disabled":_vm.disabled,"transition":"el-zoom-in-top","placement":_vm.placement,"width":_vm.popoverWidth},on:{"hide":_vm.handleBlur},model:{value:(_vm.popoverVisible),callback:function ($$v) {_vm.popoverVisible=$$v},expression:"popoverVisible"}},[_c('div',{staticClass:"quarter-wrapper"},[_c('BaseFlexBox',{attrs:{"content":"between"}},[_c('i',{staticClass:"el-icon-d-arrow-left",on:{"click":_vm.prev}}),_c('span',[_vm._v(_vm._s(_vm.selectYear))]),_c('i',{staticClass:"el-icon-d-arrow-right",on:{"click":_vm.after}})]),_c('BaseFlexBox',{staticStyle:{"margin-top":"10px"},attrs:{"content":"between"}},_vm._l((_vm.quarterList),function(item){return _c('el-button',{key:item.value,attrs:{"disabled":_vm.getDisable(item),"type":_vm.currentyear==_vm.selectYear&&item.value == _vm.currentQuarter ?'primary':'',"size":"mini","round":""},on:{"click":function($event){return _vm.setCurrent(item)}}},[_vm._v(_vm._s(item.label))])}),1)],1),_c('el-input',{ref:"reference",attrs:{"slot":"reference","size":"small","value":_vm.quarterLabel,"readonly":"","title":_vm.value,"placeholder":_vm.placeholder,"prefix-icon":"el-icon-date","clearable":""},slot:"reference"})],1)
|
|
135012
135107
|
}
|
|
135013
135108
|
var quartervue_type_template_id_4e3cbf9a_staticRenderFns = []
|
|
@@ -135301,7 +135396,7 @@ xt_date_picker.install = function (Vue) {
|
|
|
135301
135396
|
|
|
135302
135397
|
/* harmony default export */ var components_xt_date_picker = (xt_date_picker);
|
|
135303
135398
|
|
|
135304
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
135399
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-chart/index.vue?vue&type=template&id=fcb32ff2
|
|
135305
135400
|
var xt_chartvue_type_template_id_fcb32ff2_render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.type=='bar')?_c('xt-bar',_vm._b({attrs:{"theme":_vm.myTheme,"size":_vm.mySize}},'xt-bar',_vm.$attrs,false)):(_vm.type=='line')?_c('xt-line',_vm._b({attrs:{"theme":_vm.myTheme,"size":_vm.mySize}},'xt-line',_vm.$attrs,false)):(_vm.type=='pie')?_c('xt-pie',_vm._b({attrs:{"theme":_vm.myTheme,"size":_vm.mySize}},'xt-pie',_vm.$attrs,false)):(_vm.type=='multi')?_c('xt-multi',_vm._b({attrs:{"theme":_vm.myTheme,"size":_vm.mySize}},'xt-multi',_vm.$attrs,false)):_vm._e()
|
|
135306
135401
|
}
|
|
135307
135402
|
var xt_chartvue_type_template_id_fcb32ff2_staticRenderFns = []
|
|
@@ -135309,7 +135404,7 @@ var xt_chartvue_type_template_id_fcb32ff2_staticRenderFns = []
|
|
|
135309
135404
|
|
|
135310
135405
|
// CONCATENATED MODULE: ./src/components/xt-chart/index.vue?vue&type=template&id=fcb32ff2
|
|
135311
135406
|
|
|
135312
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
135407
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-chart/XtBar.vue?vue&type=template&id=6f672c2b&scoped=true
|
|
135313
135408
|
var XtBarvue_type_template_id_6f672c2b_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"barchart",staticClass:"bar-box",style:(_vm.chartStyle)})
|
|
135314
135409
|
}
|
|
135315
135410
|
var XtBarvue_type_template_id_6f672c2b_scoped_true_staticRenderFns = []
|
|
@@ -135568,13 +135663,13 @@ var XtBar_component = normalizeComponent(
|
|
|
135568
135663
|
)
|
|
135569
135664
|
|
|
135570
135665
|
/* harmony default export */ var XtBar = (XtBar_component.exports);
|
|
135571
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
135572
|
-
var
|
|
135666
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-chart/XtLine.vue?vue&type=template&id=ee5ba2d8&scoped=true
|
|
135667
|
+
var XtLinevue_type_template_id_ee5ba2d8_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"linechart",staticClass:"line-box",style:(_vm.chartStyle)})
|
|
135573
135668
|
}
|
|
135574
|
-
var
|
|
135669
|
+
var XtLinevue_type_template_id_ee5ba2d8_scoped_true_staticRenderFns = []
|
|
135575
135670
|
|
|
135576
135671
|
|
|
135577
|
-
// CONCATENATED MODULE: ./src/components/xt-chart/XtLine.vue?vue&type=template&id=
|
|
135672
|
+
// CONCATENATED MODULE: ./src/components/xt-chart/XtLine.vue?vue&type=template&id=ee5ba2d8&scoped=true
|
|
135578
135673
|
|
|
135579
135674
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-chart/XtLine.vue?vue&type=script&lang=js
|
|
135580
135675
|
|
|
@@ -135691,14 +135786,8 @@ var XtLinevue_type_template_id_48c97573_scoped_true_staticRenderFns = []
|
|
|
135691
135786
|
right: "30",
|
|
135692
135787
|
bottom: "20"
|
|
135693
135788
|
},
|
|
135694
|
-
xAxis:
|
|
135789
|
+
xAxis: {
|
|
135695
135790
|
type: "category",
|
|
135696
|
-
splitLine: {
|
|
135697
|
-
show: true,
|
|
135698
|
-
lineStyle: {
|
|
135699
|
-
type: "dashed"
|
|
135700
|
-
}
|
|
135701
|
-
},
|
|
135702
135791
|
axisLabel: {
|
|
135703
135792
|
interval: this.intervalvalue
|
|
135704
135793
|
},
|
|
@@ -135706,7 +135795,7 @@ var XtLinevue_type_template_id_48c97573_scoped_true_staticRenderFns = []
|
|
|
135706
135795
|
data: _self.chartData.map((item) => {
|
|
135707
135796
|
return item[keys.label];
|
|
135708
135797
|
})
|
|
135709
|
-
}
|
|
135798
|
+
},
|
|
135710
135799
|
yAxis: {
|
|
135711
135800
|
type: "value",
|
|
135712
135801
|
axisLine: {
|
|
@@ -135758,8 +135847,8 @@ var XtLinevue_type_template_id_48c97573_scoped_true_staticRenderFns = []
|
|
|
135758
135847
|
|
|
135759
135848
|
// CONCATENATED MODULE: ./src/components/xt-chart/XtLine.vue?vue&type=script&lang=js
|
|
135760
135849
|
/* harmony default export */ var xt_chart_XtLinevue_type_script_lang_js = (XtLinevue_type_script_lang_js);
|
|
135761
|
-
// EXTERNAL MODULE: ./src/components/xt-chart/XtLine.vue?vue&type=style&index=0&id=
|
|
135762
|
-
var
|
|
135850
|
+
// EXTERNAL MODULE: ./src/components/xt-chart/XtLine.vue?vue&type=style&index=0&id=ee5ba2d8&prod&lang=scss&scoped=true
|
|
135851
|
+
var XtLinevue_type_style_index_0_id_ee5ba2d8_prod_lang_scss_scoped_true = __webpack_require__("04c6");
|
|
135763
135852
|
|
|
135764
135853
|
// CONCATENATED MODULE: ./src/components/xt-chart/XtLine.vue
|
|
135765
135854
|
|
|
@@ -135772,17 +135861,17 @@ var XtLinevue_type_style_index_0_id_48c97573_prod_lang_scss_scoped_true = __webp
|
|
|
135772
135861
|
|
|
135773
135862
|
var XtLine_component = normalizeComponent(
|
|
135774
135863
|
xt_chart_XtLinevue_type_script_lang_js,
|
|
135775
|
-
|
|
135776
|
-
|
|
135864
|
+
XtLinevue_type_template_id_ee5ba2d8_scoped_true_render,
|
|
135865
|
+
XtLinevue_type_template_id_ee5ba2d8_scoped_true_staticRenderFns,
|
|
135777
135866
|
false,
|
|
135778
135867
|
null,
|
|
135779
|
-
"
|
|
135868
|
+
"ee5ba2d8",
|
|
135780
135869
|
null
|
|
135781
135870
|
|
|
135782
135871
|
)
|
|
135783
135872
|
|
|
135784
135873
|
/* harmony default export */ var XtLine = (XtLine_component.exports);
|
|
135785
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
135874
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-chart/XtPie.vue?vue&type=template&id=21c338ab&scoped=true
|
|
135786
135875
|
var XtPievue_type_template_id_21c338ab_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"piechart",staticClass:"pie-box",style:(_vm.chartStyle)})
|
|
135787
135876
|
}
|
|
135788
135877
|
var XtPievue_type_template_id_21c338ab_scoped_true_staticRenderFns = []
|
|
@@ -136003,7 +136092,7 @@ var XtPie_component = normalizeComponent(
|
|
|
136003
136092
|
)
|
|
136004
136093
|
|
|
136005
136094
|
/* harmony default export */ var XtPie = (XtPie_component.exports);
|
|
136006
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
136095
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-chart/XtMulti.vue?vue&type=template&id=201ff8e5&scoped=true
|
|
136007
136096
|
var XtMultivue_type_template_id_201ff8e5_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"multilinechart",staticClass:"multiline-box",style:(_vm.chartStyle)})
|
|
136008
136097
|
}
|
|
136009
136098
|
var XtMultivue_type_template_id_201ff8e5_scoped_true_staticRenderFns = []
|
|
@@ -136477,7 +136566,7 @@ xt_chart.install = function (Vue) {
|
|
|
136477
136566
|
|
|
136478
136567
|
/* harmony default export */ var components_xt_chart = (xt_chart);
|
|
136479
136568
|
|
|
136480
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
136569
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-icon/index.vue?vue&type=template&id=0e301b72&scoped=true
|
|
136481
136570
|
var xt_iconvue_type_template_id_0e301b72_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(_vm.tag,_vm._g({tag:"component",class:_vm.iconClasses,style:(_vm.iconStyle),on:{"click":_vm.handleClick}},_vm.$listeners),[(_vm.isSvgSprite)?_c('svg',{style:(_vm.svgStyle),attrs:{"aria-hidden":"true"}},[_c('use',{attrs:{"href":_vm.svgHref}})]):(_vm.hasDefaultSlot)?_vm._t("default"):_vm._e()],2)
|
|
136482
136571
|
}
|
|
136483
136572
|
var xt_iconvue_type_template_id_0e301b72_scoped_true_staticRenderFns = []
|
|
@@ -136655,13 +136744,13 @@ xt_icon.install = function (Vue) {
|
|
|
136655
136744
|
|
|
136656
136745
|
/* harmony default export */ var components_xt_icon = (xt_icon);
|
|
136657
136746
|
|
|
136658
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
136659
|
-
var
|
|
136747
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-table/index.vue?vue&type=template&id=cc24a63e&scoped=true
|
|
136748
|
+
var xt_tablevue_type_template_id_cc24a63e_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-table-wrapper"},[(_vm.title || _vm.$slots.toolbar)?_c('div',{staticClass:"xt-table-header"},[(_vm.title)?_c('span',{staticClass:"xt-table-title"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),_c('div',{staticClass:"xt-table-toolbar"},[_vm._t("toolbar")],2)]):_vm._e(),_c('div',{staticClass:"xt-table-body"},[_c('VirtualElTable',_vm._g(_vm._b({ref:"table",staticClass:"xt-table",attrs:{"data":_vm.processedTableData,"height":_vm.computedHeight,"max-height":_vm.computedMaxHeight,"virtual-scroll":_vm.virtualScroll,"row-height":_vm.rowInitHeight,"buffer-size":_vm.bufferSize,"span-method":_vm.groupColumns.length ? _vm.handleSpanMethod : undefined,"row-class-name":_vm.getRowClassName},on:{"selection-change":_vm.handleSelectionChange,"sort-change":_vm.handleSortChange}},'VirtualElTable',_vm.$attrs,false),_vm.$listeners),[(_vm.selection)?_c('el-table-column',{attrs:{"type":"selection","width":"55","fixed":_vm.selectionFixed}}):_vm._e(),(_vm.showIndex)?_c('el-table-column',{attrs:{"type":"index","width":"60","label":"#","fixed":_vm.indexFixed,"index":_vm.indexMethod}}):_vm._e(),_vm._l((_vm.flattenedColumns),function(col){return [(col.children && col.children.length)?_c('el-table-column',_vm._b({key:col._key},'el-table-column',_vm.getColumnProps(col),false),[_vm._l((col.children),function(child){return [_c('el-table-column',_vm._b({key:child._key,scopedSlots:_vm._u([(child.render)?{key:"default",fn:function(scope){return [_vm._v(_vm._s(child.render(scope)))]}}:(child.formatter)?{key:"default",fn:function(scope){return [_c('XtTableCell',{attrs:{"row":scope.row,"index":scope.$index,"formatter":child.formatter,"column":child}})]}}:(child.slot)?{key:"default",fn:function(scope){return [_vm._t(child.slot,null,{"row":scope.row,"index":scope.$index,"column":child})]}}:null],null,true)},'el-table-column',_vm.getColumnProps(child),false))]})],2):_c('el-table-column',_vm._b({key:col._key,scopedSlots:_vm._u([(col.render)?{key:"default",fn:function(scope){return [_vm._v(_vm._s(col.render(scope)))]}}:(col.formatter)?{key:"default",fn:function(scope){return [_c('XtTableCell',{attrs:{"row":scope.row,"index":scope.$index,"formatter":col.formatter,"column":col}})]}}:(col.slot)?{key:"default",fn:function(scope){return [_vm._t(col.slot,null,{"row":scope.row,"index":scope.$index,"column":col})]}}:null],null,true)},'el-table-column',_vm.getColumnProps(col),false))]})],2)],1),(_vm.showPagination)?_c('div',{staticClass:"xt-table-footer"},[_c('el-pagination',{attrs:{"current-page":_vm.pagination.pageNum,"page-size":_vm.pagination.pageSize,"total":_vm.total,"page-sizes":_vm.pagination.pageSizes || [10, 20, 50, 100],"layout":"total, sizes, prev, pager, next, jumper"},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()])
|
|
136660
136749
|
}
|
|
136661
|
-
var
|
|
136750
|
+
var xt_tablevue_type_template_id_cc24a63e_scoped_true_staticRenderFns = []
|
|
136662
136751
|
|
|
136663
136752
|
|
|
136664
|
-
// CONCATENATED MODULE: ./src/components/xt-table/index.vue?vue&type=template&id=
|
|
136753
|
+
// CONCATENATED MODULE: ./src/components/xt-table/index.vue?vue&type=template&id=cc24a63e&scoped=true
|
|
136665
136754
|
|
|
136666
136755
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-table/XtTableCell.vue?vue&type=script&lang=js
|
|
136667
136756
|
|
|
@@ -136709,7 +136798,7 @@ var XtTableCell_component = normalizeComponent(
|
|
|
136709
136798
|
)
|
|
136710
136799
|
|
|
136711
136800
|
/* harmony default export */ var XtTableCell = (XtTableCell_component.exports);
|
|
136712
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
136801
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-table/VirtualElTable.vue?vue&type=template&id=01f7dcee&scoped=true
|
|
136713
136802
|
var VirtualElTablevue_type_template_id_01f7dcee_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-table',_vm._g(_vm._b({ref:"innerTable",attrs:{"data":_vm.renderList}},'el-table',_vm.$attrs,false),_vm.$listeners),[_vm._t("default")],2)
|
|
136714
136803
|
}
|
|
136715
136804
|
var VirtualElTablevue_type_template_id_01f7dcee_scoped_true_staticRenderFns = []
|
|
@@ -136974,6 +137063,9 @@ var VirtualElTable_component = normalizeComponent(
|
|
|
136974
137063
|
tableData: { type: Array, default: () => [] },
|
|
136975
137064
|
columns: { type: Array, default: () => [] },
|
|
136976
137065
|
groupColumns: { type: Array, default: () => [] },
|
|
137066
|
+
// 排序配置
|
|
137067
|
+
sortGroup: { type: Boolean, default: false },
|
|
137068
|
+
defaultSort: { type: Object, default: null },
|
|
136977
137069
|
title: { type: String, default: '' },
|
|
136978
137070
|
height: { type: [Number, String], default: null },
|
|
136979
137071
|
maxHeight: { type: [Number, String], default: null },
|
|
@@ -136996,7 +137088,10 @@ var VirtualElTable_component = normalizeComponent(
|
|
|
136996
137088
|
return {
|
|
136997
137089
|
spanCache: {},
|
|
136998
137090
|
flattenedColumnsCache: [],
|
|
136999
|
-
selectedRows: []
|
|
137091
|
+
selectedRows: [],
|
|
137092
|
+
// 排序状态
|
|
137093
|
+
sortProp: null,
|
|
137094
|
+
sortOrder: null
|
|
137000
137095
|
}
|
|
137001
137096
|
},
|
|
137002
137097
|
|
|
@@ -137011,10 +137106,24 @@ var VirtualElTable_component = normalizeComponent(
|
|
|
137011
137106
|
return this.height ? undefined : this.maxHeight || undefined
|
|
137012
137107
|
},
|
|
137013
137108
|
|
|
137109
|
+
// 排序后的数据
|
|
137110
|
+
sortedTableData() {
|
|
137111
|
+
if (!this.tableData.length) return []
|
|
137112
|
+
if (!this.sortProp || !this.sortOrder) return [...this.tableData]
|
|
137113
|
+
|
|
137114
|
+
const order = this.sortOrder === 'ascending' ? 1 : -1
|
|
137115
|
+
const sortFn = this.resolveSortMethod(this.sortProp)
|
|
137116
|
+
|
|
137117
|
+
if (this.sortGroup && this.groupColumns.length) {
|
|
137118
|
+
return this.groupSort([...this.tableData], sortFn, order)
|
|
137119
|
+
}
|
|
137120
|
+
return [...this.tableData].sort((a, b) => sortFn(a, b) * order)
|
|
137121
|
+
},
|
|
137122
|
+
|
|
137014
137123
|
// 处理小计、总计后的最终数据
|
|
137015
137124
|
processedTableData() {
|
|
137016
|
-
if (!this.
|
|
137017
|
-
let data = [...this.
|
|
137125
|
+
if (!this.sortedTableData.length) return []
|
|
137126
|
+
let data = [...this.sortedTableData]
|
|
137018
137127
|
const hasSubtotal = this.subtotalConfig && this.subtotalConfig.enabled
|
|
137019
137128
|
const hasTotal = this.totalConfig && this.totalConfig.enabled
|
|
137020
137129
|
|
|
@@ -137077,6 +137186,25 @@ var VirtualElTable_component = normalizeComponent(
|
|
|
137077
137186
|
this.spanCache = {}
|
|
137078
137187
|
},
|
|
137079
137188
|
deep: true
|
|
137189
|
+
},
|
|
137190
|
+
defaultSort: {
|
|
137191
|
+
handler(val) {
|
|
137192
|
+
if (val && val.prop) {
|
|
137193
|
+
this.sortProp = val.prop
|
|
137194
|
+
this.sortOrder = val.order || 'ascending'
|
|
137195
|
+
}
|
|
137196
|
+
},
|
|
137197
|
+
immediate: false
|
|
137198
|
+
},
|
|
137199
|
+
sortProp() {
|
|
137200
|
+
this.spanCache = {}
|
|
137201
|
+
}
|
|
137202
|
+
},
|
|
137203
|
+
|
|
137204
|
+
created() {
|
|
137205
|
+
if (this.defaultSort && this.defaultSort.prop) {
|
|
137206
|
+
this.sortProp = this.defaultSort.prop
|
|
137207
|
+
this.sortOrder = this.defaultSort.order || 'ascending'
|
|
137080
137208
|
}
|
|
137081
137209
|
},
|
|
137082
137210
|
|
|
@@ -137091,6 +137219,52 @@ var VirtualElTable_component = normalizeComponent(
|
|
|
137091
137219
|
},
|
|
137092
137220
|
|
|
137093
137221
|
methods: {
|
|
137222
|
+
// ========== 排序逻辑 ==========
|
|
137223
|
+
resolveSortMethod(prop) {
|
|
137224
|
+
const col = this.findColumnByProp(prop)
|
|
137225
|
+
if (col && typeof col.sortMethod === 'function') {
|
|
137226
|
+
return col.sortMethod
|
|
137227
|
+
}
|
|
137228
|
+
return (a, b) => {
|
|
137229
|
+
const va = a[prop]
|
|
137230
|
+
const vb = b[prop]
|
|
137231
|
+
if (va == null && vb == null) return 0
|
|
137232
|
+
if (va == null) return -1
|
|
137233
|
+
if (vb == null) return 1
|
|
137234
|
+
if (typeof va === 'number' && typeof vb === 'number') return va - vb
|
|
137235
|
+
return String(va).localeCompare(String(vb), undefined, { numeric: true })
|
|
137236
|
+
}
|
|
137237
|
+
},
|
|
137238
|
+
|
|
137239
|
+
findColumnByProp(prop) {
|
|
137240
|
+
for (const col of this.columns) {
|
|
137241
|
+
if (col.children && col.children.length) {
|
|
137242
|
+
for (const child of col.children) {
|
|
137243
|
+
if (child.prop === prop) return child
|
|
137244
|
+
}
|
|
137245
|
+
} else if (col.prop === prop) {
|
|
137246
|
+
return col
|
|
137247
|
+
}
|
|
137248
|
+
}
|
|
137249
|
+
return null
|
|
137250
|
+
},
|
|
137251
|
+
|
|
137252
|
+
groupSort(data, sortFn, order) {
|
|
137253
|
+
const groups = {}
|
|
137254
|
+
data.forEach(row => {
|
|
137255
|
+
const key = this.groupColumns.map(f => row[f] == null ? '' : String(row[f])).join('|||')
|
|
137256
|
+
if (!groups[key]) groups[key] = []
|
|
137257
|
+
groups[key].push(row)
|
|
137258
|
+
})
|
|
137259
|
+
const result = []
|
|
137260
|
+
Object.keys(groups).sort().forEach(key => {
|
|
137261
|
+
const groupRows = groups[key]
|
|
137262
|
+
groupRows.sort((a, b) => sortFn(a, b) * order)
|
|
137263
|
+
result.push(...groupRows)
|
|
137264
|
+
})
|
|
137265
|
+
return result
|
|
137266
|
+
},
|
|
137267
|
+
|
|
137094
137268
|
handleResize() {
|
|
137095
137269
|
this.$nextTick(() => {
|
|
137096
137270
|
this.$refs.table && this.$refs.table.doLayout()
|
|
@@ -137178,14 +137352,14 @@ var VirtualElTable_component = normalizeComponent(
|
|
|
137178
137352
|
},
|
|
137179
137353
|
|
|
137180
137354
|
getRowClassName({ row }) {
|
|
137181
|
-
if (row._rowType === 'subtotal') return '
|
|
137182
|
-
if (row._rowType === 'total') return '
|
|
137355
|
+
if (row._rowType === 'subtotal') return 'xt-table-row-subtotal'
|
|
137356
|
+
if (row._rowType === 'total') return 'xt-table-row-total'
|
|
137183
137357
|
return ''
|
|
137184
137358
|
},
|
|
137185
137359
|
|
|
137186
137360
|
// ========== 列处理 ==========
|
|
137187
137361
|
getColumnProps(col) {
|
|
137188
|
-
const { _key, children, render, formatter, slot, ...props } = col
|
|
137362
|
+
const { _key, children, render, formatter, slot, sortMethod, ...props } = col
|
|
137189
137363
|
return props
|
|
137190
137364
|
},
|
|
137191
137365
|
|
|
@@ -137251,6 +137425,8 @@ var VirtualElTable_component = normalizeComponent(
|
|
|
137251
137425
|
this.$emit('selection-change', this.selectedRows)
|
|
137252
137426
|
},
|
|
137253
137427
|
handleSortChange(info) {
|
|
137428
|
+
this.sortProp = info.prop
|
|
137429
|
+
this.sortOrder = info.order
|
|
137254
137430
|
this.$emit('sort-change', info)
|
|
137255
137431
|
},
|
|
137256
137432
|
handleSizeChange(size) {
|
|
@@ -137268,6 +137444,15 @@ var VirtualElTable_component = normalizeComponent(
|
|
|
137268
137444
|
this.$refs.table && this.$refs.table.clearSelection()
|
|
137269
137445
|
this.selectedRows = []
|
|
137270
137446
|
},
|
|
137447
|
+
clearSort() {
|
|
137448
|
+
this.sortProp = null
|
|
137449
|
+
this.sortOrder = null
|
|
137450
|
+
this.$nextTick(() => {
|
|
137451
|
+
if (this.$refs.table && this.$refs.table.$refs.innerTable) {
|
|
137452
|
+
this.$refs.table.$refs.innerTable.clearSort()
|
|
137453
|
+
}
|
|
137454
|
+
})
|
|
137455
|
+
},
|
|
137271
137456
|
toggleRowSelection(row, selected) {
|
|
137272
137457
|
this.$refs.table && this.$refs.table.toggleRowSelection(row, selected)
|
|
137273
137458
|
},
|
|
@@ -137285,8 +137470,8 @@ var VirtualElTable_component = normalizeComponent(
|
|
|
137285
137470
|
|
|
137286
137471
|
// CONCATENATED MODULE: ./src/components/xt-table/index.vue?vue&type=script&lang=js
|
|
137287
137472
|
/* harmony default export */ var components_xt_tablevue_type_script_lang_js = (xt_tablevue_type_script_lang_js);
|
|
137288
|
-
// EXTERNAL MODULE: ./src/components/xt-table/index.vue?vue&type=style&index=0&id=
|
|
137289
|
-
var
|
|
137473
|
+
// EXTERNAL MODULE: ./src/components/xt-table/index.vue?vue&type=style&index=0&id=cc24a63e&prod&scoped=true&lang=css
|
|
137474
|
+
var xt_tablevue_type_style_index_0_id_cc24a63e_prod_scoped_true_lang_css = __webpack_require__("a092");
|
|
137290
137475
|
|
|
137291
137476
|
// CONCATENATED MODULE: ./src/components/xt-table/index.vue
|
|
137292
137477
|
|
|
@@ -137299,11 +137484,11 @@ var xt_tablevue_type_style_index_0_id_0fa7d6af_prod_scoped_true_lang_css = __web
|
|
|
137299
137484
|
|
|
137300
137485
|
var xt_table_component = normalizeComponent(
|
|
137301
137486
|
components_xt_tablevue_type_script_lang_js,
|
|
137302
|
-
|
|
137303
|
-
|
|
137487
|
+
xt_tablevue_type_template_id_cc24a63e_scoped_true_render,
|
|
137488
|
+
xt_tablevue_type_template_id_cc24a63e_scoped_true_staticRenderFns,
|
|
137304
137489
|
false,
|
|
137305
137490
|
null,
|
|
137306
|
-
"
|
|
137491
|
+
"cc24a63e",
|
|
137307
137492
|
null
|
|
137308
137493
|
|
|
137309
137494
|
)
|
|
@@ -137318,7 +137503,480 @@ xt_table.install = function (Vue) {
|
|
|
137318
137503
|
|
|
137319
137504
|
/* harmony default export */ var components_xt_table = (xt_table);
|
|
137320
137505
|
|
|
137321
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
137506
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-list/index.vue?vue&type=template&id=53c7db00&scoped=true
|
|
137507
|
+
var xt_listvue_type_template_id_53c7db00_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-list",class:{ 'xt-list--loading': _vm.loading }},[(_vm.title || _vm.filterable || _vm.sortable || _vm.$slots.toolbar)?_c('div',{staticClass:"xt-list__header"},[(_vm.title)?_c('span',{staticClass:"xt-list__title"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),_c('div',{staticClass:"xt-list__toolbar"},[(_vm.filterable)?_c('div',{staticClass:"xt-list__search"},[_c('el-input',{attrs:{"placeholder":_vm.filterPlaceholder,"size":"small","clearable":"","prefix-icon":"el-icon-search"},on:{"input":_vm.handleSearch},model:{value:(_vm.searchText),callback:function ($$v) {_vm.searchText=$$v},expression:"searchText"}})],1):_vm._e(),(_vm.sortable && _vm.sortBy)?_c('el-button',{attrs:{"size":"small","icon":"el-icon-sort","type":_vm.currentSortOrder ? 'primary' : 'default',"plain":""},on:{"click":_vm.handleSortToggle}},[_vm._v(" "+_vm._s(_vm.sortLabel)+" ")]):_vm._e(),_vm._t("toolbar")],2)]):_vm._e(),_c('div',{ref:"scrollContainer",staticClass:"xt-list__body",style:(_vm.bodyStyle),on:{"scroll":_vm.onScroll}},[(_vm.virtualScroll)?_c('div',{staticClass:"xt-list__phantom",style:({ height: _vm.totalHeight + 'px' })},[_c('div',{style:({ paddingTop: _vm.offsetY + 'px' })},[(_vm.groupedData.length)?[_vm._l((_vm.visibleGroups),function(group,gIdx){return [_c('div',{key:group._key,staticClass:"xt-list__group"},[_c('div',{staticClass:"xt-list__group-title",on:{"click":function($event){return _vm.toggleGroup(group._key)}}},[_c('span',{staticClass:"xt-list__group-arrow",class:{ 'is-expanded': group._expanded }},[_c('i',{staticClass:"el-icon-arrow-right"})]),_vm._t("group-title",function(){return [_c('span',{staticClass:"xt-list__group-label"},[_vm._v(_vm._s(_vm.getGroupLabel(group)))]),_c('span',{staticClass:"xt-list__group-count"},[_vm._v("("+_vm._s(group._items.length)+")")])]},{"group":group,"items":group._items,"expanded":group._expanded})],2),(group._expanded)?_c('div',{class:['xt-list__cards', 'xt-list__cols-' + _vm.columns]},_vm._l((_vm.getVisibleItems(group)),function(item,idx){return _c('div',{key:item._id || idx,staticClass:"xt-list__item",on:{"click":function($event){return _vm.handleItemClick(item, group._key)}}},[_c('el-card',{attrs:{"shadow":_vm.shadow,"body-style":_vm.cardBodyStyle}},[_vm._t("default",function(){return [(_vm.getImage(item))?_c('div',{staticClass:"xt-list__image"},[_c('img',{attrs:{"src":_vm.getImage(item),"alt":_vm.getConfigValue(_vm.cardConfig.title, item)}})]):_vm._e(),(_vm.getTag(item))?_c('div',{staticClass:"xt-list__tag"},[_c('el-tag',{attrs:{"size":"small","type":_vm.getTagType(item)}},[_vm._v(_vm._s(_vm.getTag(item)))])],1):_vm._e(),(_vm.getConfigValue(_vm.cardConfig.title, item))?_c('div',{staticClass:"xt-list__card-title"},[_vm._v(" "+_vm._s(_vm.getConfigValue(_vm.cardConfig.title, item))+" ")]):_vm._e(),(_vm.getConfigValue(_vm.cardConfig.subtitle, item))?_c('div',{staticClass:"xt-list__card-subtitle"},[_vm._v(" "+_vm._s(_vm.getConfigValue(_vm.cardConfig.subtitle, item))+" ")]):_vm._e(),(_vm.getConfigValue(_vm.cardConfig.content, item))?_c('div',{staticClass:"xt-list__card-content"},[_vm._v(" "+_vm._s(_vm.getConfigValue(_vm.cardConfig.content, item))+" ")]):_vm._e(),(_vm.getConfigValue(_vm.cardConfig.footer, item))?_c('div',{staticClass:"xt-list__card-footer"},[_vm._t("card-footer",function(){return [_vm._v(" "+_vm._s(_vm.getConfigValue(_vm.cardConfig.footer, item))+" ")]},{"item":item,"index":_vm.getItemIndex(item, group)})],2):_vm._e()]},{"item":item,"index":_vm.getItemIndex(item, group),"group":group})],2)],1)}),0):_vm._e()])]})]:(!_vm.loading)?_c('div',{staticClass:"xt-list__empty"},[_vm._t("empty",function(){return [_c('span',[_vm._v(_vm._s(_vm.emptyText))])]})],2):_vm._e()],2)]):(_vm.groupedData.length)?[_vm._l((_vm.groupedData),function(group){return [_c('div',{key:group._key,staticClass:"xt-list__group"},[_c('div',{staticClass:"xt-list__group-title",on:{"click":function($event){return _vm.toggleGroup(group._key)}}},[_c('span',{staticClass:"xt-list__group-arrow",class:{ 'is-expanded': group._expanded }},[_c('i',{staticClass:"el-icon-arrow-right"})]),_vm._t("group-title",function(){return [_c('span',{staticClass:"xt-list__group-label"},[_vm._v(_vm._s(_vm.getGroupLabel(group)))]),_c('span',{staticClass:"xt-list__group-count"},[_vm._v("("+_vm._s(group._items.length)+")")])]},{"group":group,"items":group._items,"expanded":group._expanded})],2),(group._expanded)?_c('div',{class:['xt-list__cards', 'xt-list__cols-' + _vm.columns]},_vm._l((group._items),function(item,idx){return _c('div',{key:item._id || idx,staticClass:"xt-list__item",on:{"click":function($event){return _vm.handleItemClick(item, group._key)}}},[_c('el-card',{attrs:{"shadow":_vm.shadow,"body-style":_vm.cardBodyStyle}},[_vm._t("default",function(){return [(_vm.getImage(item))?_c('div',{staticClass:"xt-list__image"},[_c('img',{attrs:{"src":_vm.getImage(item),"alt":_vm.getConfigValue(_vm.cardConfig.title, item)}})]):_vm._e(),(_vm.getTag(item))?_c('div',{staticClass:"xt-list__tag"},[_c('el-tag',{attrs:{"size":"small","type":_vm.getTagType(item)}},[_vm._v(_vm._s(_vm.getTag(item)))])],1):_vm._e(),(_vm.getConfigValue(_vm.cardConfig.title, item))?_c('div',{staticClass:"xt-list__card-title"},[_vm._v(" "+_vm._s(_vm.getConfigValue(_vm.cardConfig.title, item))+" ")]):_vm._e(),(_vm.getConfigValue(_vm.cardConfig.subtitle, item))?_c('div',{staticClass:"xt-list__card-subtitle"},[_vm._v(" "+_vm._s(_vm.getConfigValue(_vm.cardConfig.subtitle, item))+" ")]):_vm._e(),(_vm.getConfigValue(_vm.cardConfig.content, item))?_c('div',{staticClass:"xt-list__card-content"},[_vm._v(" "+_vm._s(_vm.getConfigValue(_vm.cardConfig.content, item))+" ")]):_vm._e(),(_vm.getConfigValue(_vm.cardConfig.footer, item))?_c('div',{staticClass:"xt-list__card-footer"},[_vm._t("card-footer",function(){return [_vm._v(" "+_vm._s(_vm.getConfigValue(_vm.cardConfig.footer, item))+" ")]},{"item":item,"index":idx})],2):_vm._e()]},{"item":item,"index":idx,"group":group})],2)],1)}),0):_vm._e()])]})]:(!_vm.loading)?_c('div',{staticClass:"xt-list__empty"},[_vm._t("empty",function(){return [_c('span',[_vm._v(_vm._s(_vm.emptyText))])]})],2):_vm._e(),(_vm.loadMore && _vm.hasMore && !_vm.loading)?_c('div',{staticClass:"xt-list__loadmore"},[_c('el-button',{attrs:{"type":"text","loading":_vm.loadMoreLoading},on:{"click":_vm.handleLoadMore}},[_vm._v(" "+_vm._s(_vm.loadMoreText)+" ")])],1):_vm._e()],2),(_vm.loading)?_c('div',{staticClass:"xt-list__loading"},[_vm._t("loading",function(){return [_c('i',{staticClass:"el-icon-loading"}),_c('span',[_vm._v("加载中...")])]})],2):_vm._e(),(_vm.showPagination)?_c('div',{staticClass:"xt-list__footer"},[_c('el-pagination',{attrs:{"background":"","small":"","current-page":_vm.pagination.pageNum,"page-size":_vm.pagination.pageSize,"total":_vm.total,"page-sizes":_vm.pagination.pageSizes || [10, 20, 50],"layout":"total, prev, pager, next"},on:{"size-change":_vm.handleSizeChange,"current-change":_vm.handleCurrentChange}})],1):_vm._e()])
|
|
137508
|
+
}
|
|
137509
|
+
var xt_listvue_type_template_id_53c7db00_scoped_true_staticRenderFns = []
|
|
137510
|
+
|
|
137511
|
+
|
|
137512
|
+
// CONCATENATED MODULE: ./src/components/xt-list/index.vue?vue&type=template&id=53c7db00&scoped=true
|
|
137513
|
+
|
|
137514
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-list/index.vue?vue&type=script&lang=js
|
|
137515
|
+
|
|
137516
|
+
const CARD_ITEM_HEIGHT = 160
|
|
137517
|
+
const GROUP_HEADER_HEIGHT = 44
|
|
137518
|
+
|
|
137519
|
+
/* harmony default export */ var xt_listvue_type_script_lang_js = ({
|
|
137520
|
+
name: 'XtList',
|
|
137521
|
+
|
|
137522
|
+
props: {
|
|
137523
|
+
data: { type: Array, default: () => [] },
|
|
137524
|
+
// 分组配置
|
|
137525
|
+
groupBy: { type: String, default: '' },
|
|
137526
|
+
groupLabel: { type: [String, Function], default: '' },
|
|
137527
|
+
// 卡片配置
|
|
137528
|
+
cardConfig: {
|
|
137529
|
+
type: Object,
|
|
137530
|
+
default: () => ({
|
|
137531
|
+
title: 'title',
|
|
137532
|
+
subtitle: '',
|
|
137533
|
+
content: '',
|
|
137534
|
+
image: '',
|
|
137535
|
+
tag: '',
|
|
137536
|
+
tagType: '',
|
|
137537
|
+
footer: ''
|
|
137538
|
+
})
|
|
137539
|
+
},
|
|
137540
|
+
// 显示配置
|
|
137541
|
+
title: { type: String, default: '' },
|
|
137542
|
+
columns: { type: Number, default: 1 },
|
|
137543
|
+
shadow: { type: String, default: 'hover' },
|
|
137544
|
+
cardBodyStyle: { type: Object, default: () => ({}) },
|
|
137545
|
+
// 虚拟滚动
|
|
137546
|
+
virtualScroll: { type: Boolean, default: false },
|
|
137547
|
+
itemHeight: { type: Number, default: CARD_ITEM_HEIGHT },
|
|
137548
|
+
bufferSize: { type: Number, default: 3 },
|
|
137549
|
+
height: { type: [Number, String], default: null },
|
|
137550
|
+
maxHeight: { type: [Number, String], default: null },
|
|
137551
|
+
// 分组折叠
|
|
137552
|
+
expandAll: { type: Boolean, default: true },
|
|
137553
|
+
accordion: { type: Boolean, default: false },
|
|
137554
|
+
// 分页
|
|
137555
|
+
pagination: { type: Object, default: null },
|
|
137556
|
+
total: { type: Number, default: 0 },
|
|
137557
|
+
// 加载更多
|
|
137558
|
+
loadMore: { type: Boolean, default: false },
|
|
137559
|
+
hasMore: { type: Boolean, default: false },
|
|
137560
|
+
loadMoreText: { type: String, default: '加载更多' },
|
|
137561
|
+
loadMoreLoading: { type: Boolean, default: false },
|
|
137562
|
+
// 状态
|
|
137563
|
+
loading: { type: Boolean, default: false },
|
|
137564
|
+
emptyText: { type: String, default: '暂无数据' },
|
|
137565
|
+
// 搜索筛选
|
|
137566
|
+
filterable: { type: Boolean, default: false },
|
|
137567
|
+
filterPlaceholder: { type: String, default: '请输入搜索内容' },
|
|
137568
|
+
filterMethod: { type: Function, default: null },
|
|
137569
|
+
// 排序
|
|
137570
|
+
sortable: { type: Boolean, default: false },
|
|
137571
|
+
sortBy: { type: String, default: '' },
|
|
137572
|
+
sortOrder: { type: String, default: '' },
|
|
137573
|
+
sortMethod: { type: Function, default: null }
|
|
137574
|
+
},
|
|
137575
|
+
|
|
137576
|
+
data() {
|
|
137577
|
+
return {
|
|
137578
|
+
groupExpandState: {},
|
|
137579
|
+
scrollTop: 0,
|
|
137580
|
+
containerHeight: 0,
|
|
137581
|
+
resizeObserver: null,
|
|
137582
|
+
rafId: null,
|
|
137583
|
+
searchText: '',
|
|
137584
|
+
currentSortOrder: this.sortOrder || ''
|
|
137585
|
+
}
|
|
137586
|
+
},
|
|
137587
|
+
|
|
137588
|
+
computed: {
|
|
137589
|
+
showPagination() {
|
|
137590
|
+
return this.pagination && this.total > 0
|
|
137591
|
+
},
|
|
137592
|
+
sortLabel() {
|
|
137593
|
+
if (!this.currentSortOrder) return '排序'
|
|
137594
|
+
return this.currentSortOrder === 'ascending' ? '升序' : '降序'
|
|
137595
|
+
},
|
|
137596
|
+
bodyStyle() {
|
|
137597
|
+
const style = {}
|
|
137598
|
+
if (this.height) {
|
|
137599
|
+
style.height = typeof this.height === 'number' ? this.height + 'px' : this.height
|
|
137600
|
+
}
|
|
137601
|
+
if (this.maxHeight) {
|
|
137602
|
+
style.maxHeight = typeof this.maxHeight === 'number' ? this.maxHeight + 'px' : this.maxHeight
|
|
137603
|
+
}
|
|
137604
|
+
if (this.virtualScroll) {
|
|
137605
|
+
style.overflowY = 'auto'
|
|
137606
|
+
style.overflowX = 'hidden'
|
|
137607
|
+
}
|
|
137608
|
+
return style
|
|
137609
|
+
},
|
|
137610
|
+
|
|
137611
|
+
// 筛选后的数据
|
|
137612
|
+
filteredData() {
|
|
137613
|
+
if (!this.filterable || !this.searchText) return this.data
|
|
137614
|
+
return this.data.filter(item => {
|
|
137615
|
+
if (typeof this.filterMethod === 'function') {
|
|
137616
|
+
return this.filterMethod(item, this.searchText)
|
|
137617
|
+
}
|
|
137618
|
+
return Object.values(item).some(val => {
|
|
137619
|
+
if (val == null) return false
|
|
137620
|
+
return String(val).toLowerCase().includes(this.searchText.toLowerCase())
|
|
137621
|
+
})
|
|
137622
|
+
})
|
|
137623
|
+
},
|
|
137624
|
+
|
|
137625
|
+
// 排序后的数据
|
|
137626
|
+
sortedData() {
|
|
137627
|
+
if (!this.sortable || !this.sortBy || !this.currentSortOrder) return this.filteredData
|
|
137628
|
+
const order = this.currentSortOrder === 'ascending' ? 1 : -1
|
|
137629
|
+
const sortFn = typeof this.sortMethod === 'function'
|
|
137630
|
+
? this.sortMethod
|
|
137631
|
+
: (a, b) => {
|
|
137632
|
+
const va = a[this.sortBy]
|
|
137633
|
+
const vb = b[this.sortBy]
|
|
137634
|
+
if (va == null && vb == null) return 0
|
|
137635
|
+
if (va == null) return -1
|
|
137636
|
+
if (vb == null) return 1
|
|
137637
|
+
if (typeof va === 'number' && typeof vb === 'number') return va - vb
|
|
137638
|
+
return String(va).localeCompare(String(vb), undefined, { numeric: true })
|
|
137639
|
+
}
|
|
137640
|
+
return [...this.filteredData].sort((a, b) => sortFn(a, b) * order)
|
|
137641
|
+
},
|
|
137642
|
+
|
|
137643
|
+
// 分组后的数据
|
|
137644
|
+
groupedData() {
|
|
137645
|
+
const source = this.sortedData
|
|
137646
|
+
if (!source || !source.length) return []
|
|
137647
|
+
|
|
137648
|
+
if (!this.groupBy) {
|
|
137649
|
+
return [{
|
|
137650
|
+
_key: '_default',
|
|
137651
|
+
_items: source.map((item, idx) => ({ ...item, _id: item._id || `item_${idx}` })),
|
|
137652
|
+
_expanded: true
|
|
137653
|
+
}]
|
|
137654
|
+
}
|
|
137655
|
+
|
|
137656
|
+
const groups = {}
|
|
137657
|
+
source.forEach((item, idx) => {
|
|
137658
|
+
const value = item[this.groupBy]
|
|
137659
|
+
const key = value != null ? String(value) : '_undefined'
|
|
137660
|
+
if (!groups[key]) {
|
|
137661
|
+
groups[key] = {
|
|
137662
|
+
_key: key,
|
|
137663
|
+
_value: value,
|
|
137664
|
+
_items: []
|
|
137665
|
+
}
|
|
137666
|
+
}
|
|
137667
|
+
groups[key]._items.push({ ...item, _id: item._id || `item_${idx}` })
|
|
137668
|
+
})
|
|
137669
|
+
|
|
137670
|
+
const result = Object.keys(groups).sort().map(key => {
|
|
137671
|
+
const g = groups[key]
|
|
137672
|
+
g._expanded = this.groupExpandState[key] !== undefined ? this.groupExpandState[key] : this.expandAll
|
|
137673
|
+
return g
|
|
137674
|
+
})
|
|
137675
|
+
|
|
137676
|
+
return result
|
|
137677
|
+
},
|
|
137678
|
+
|
|
137679
|
+
// 虚拟滚动:总高度
|
|
137680
|
+
totalHeight() {
|
|
137681
|
+
if (!this.virtualScroll) return 0
|
|
137682
|
+
let height = 0
|
|
137683
|
+
this.groupedData.forEach(group => {
|
|
137684
|
+
height += GROUP_HEADER_HEIGHT
|
|
137685
|
+
if (group._expanded) {
|
|
137686
|
+
const rows = Math.ceil(group._items.length / this.columns)
|
|
137687
|
+
height += rows * this.itemHeight
|
|
137688
|
+
}
|
|
137689
|
+
})
|
|
137690
|
+
return height
|
|
137691
|
+
},
|
|
137692
|
+
|
|
137693
|
+
// 虚拟滚动:可见分组
|
|
137694
|
+
visibleGroups() {
|
|
137695
|
+
if (!this.virtualScroll) return this.groupedData
|
|
137696
|
+
|
|
137697
|
+
const start = Math.max(0, this.scrollTop - this.bufferSize * this.itemHeight)
|
|
137698
|
+
const end = start + this.containerHeight + this.bufferSize * this.itemHeight * 2
|
|
137699
|
+
const visible = []
|
|
137700
|
+
let currentTop = 0
|
|
137701
|
+
|
|
137702
|
+
this.groupedData.forEach(group => {
|
|
137703
|
+
const groupHeight = GROUP_HEADER_HEIGHT +
|
|
137704
|
+
(group._expanded ? Math.ceil(group._items.length / this.columns) * this.itemHeight : 0)
|
|
137705
|
+
const groupEnd = currentTop + groupHeight
|
|
137706
|
+
|
|
137707
|
+
if (groupEnd >= start && currentTop <= end) {
|
|
137708
|
+
visible.push(group)
|
|
137709
|
+
}
|
|
137710
|
+
currentTop = groupEnd
|
|
137711
|
+
})
|
|
137712
|
+
|
|
137713
|
+
return visible
|
|
137714
|
+
},
|
|
137715
|
+
|
|
137716
|
+
// 虚拟滚动:偏移量
|
|
137717
|
+
offsetY() {
|
|
137718
|
+
if (!this.virtualScroll) return 0
|
|
137719
|
+
let offset = 0
|
|
137720
|
+
const start = Math.max(0, this.scrollTop - this.bufferSize * this.itemHeight)
|
|
137721
|
+
|
|
137722
|
+
for (let i = 0; i < this.groupedData.length; i++) {
|
|
137723
|
+
const group = this.groupedData[i]
|
|
137724
|
+
const h = GROUP_HEADER_HEIGHT +
|
|
137725
|
+
(group._expanded ? Math.ceil(group._items.length / this.columns) * this.itemHeight : 0)
|
|
137726
|
+
if (offset + h <= start) {
|
|
137727
|
+
offset += h
|
|
137728
|
+
} else {
|
|
137729
|
+
break
|
|
137730
|
+
}
|
|
137731
|
+
}
|
|
137732
|
+
return offset
|
|
137733
|
+
}
|
|
137734
|
+
},
|
|
137735
|
+
|
|
137736
|
+
watch: {
|
|
137737
|
+
data: {
|
|
137738
|
+
handler() {
|
|
137739
|
+
this.$nextTick(() => {
|
|
137740
|
+
this.updateContainerHeight()
|
|
137741
|
+
})
|
|
137742
|
+
}
|
|
137743
|
+
},
|
|
137744
|
+
expandAll(val) {
|
|
137745
|
+
const state = {}
|
|
137746
|
+
this.groupedData.forEach(g => { state[g._key] = val })
|
|
137747
|
+
this.groupExpandState = state
|
|
137748
|
+
}
|
|
137749
|
+
},
|
|
137750
|
+
|
|
137751
|
+
mounted() {
|
|
137752
|
+
this.$nextTick(() => {
|
|
137753
|
+
this.updateContainerHeight()
|
|
137754
|
+
this.bindResizeObserver()
|
|
137755
|
+
})
|
|
137756
|
+
},
|
|
137757
|
+
|
|
137758
|
+
beforeDestroy() {
|
|
137759
|
+
this.unbindResizeObserver()
|
|
137760
|
+
if (this.rafId && typeof cancelAnimationFrame !== 'undefined') {
|
|
137761
|
+
cancelAnimationFrame(this.rafId)
|
|
137762
|
+
this.rafId = null
|
|
137763
|
+
}
|
|
137764
|
+
},
|
|
137765
|
+
|
|
137766
|
+
methods: {
|
|
137767
|
+
// ========== 分组展开/折叠 ==========
|
|
137768
|
+
toggleGroup(key) {
|
|
137769
|
+
const newState = { ...this.groupExpandState }
|
|
137770
|
+
const current = newState[key] !== undefined ? newState[key] : this.expandAll
|
|
137771
|
+
|
|
137772
|
+
if (this.accordion && !current) {
|
|
137773
|
+
Object.keys(newState).forEach(k => { newState[k] = false })
|
|
137774
|
+
}
|
|
137775
|
+
newState[key] = !current
|
|
137776
|
+
this.groupExpandState = newState
|
|
137777
|
+
|
|
137778
|
+
this.$nextTick(() => {
|
|
137779
|
+
this.updateContainerHeight()
|
|
137780
|
+
this.$emit('group-toggle', { key, expanded: newState[key] })
|
|
137781
|
+
})
|
|
137782
|
+
},
|
|
137783
|
+
|
|
137784
|
+
getGroupLabel(group) {
|
|
137785
|
+
if (this.groupLabel === '') return group._value
|
|
137786
|
+
if (typeof this.groupLabel === 'function') return this.groupLabel(group)
|
|
137787
|
+
if (typeof this.groupLabel === 'string' && group._items[0]) {
|
|
137788
|
+
return group._items[0][this.groupLabel] || group._value
|
|
137789
|
+
}
|
|
137790
|
+
return group._value
|
|
137791
|
+
},
|
|
137792
|
+
|
|
137793
|
+
// ========== 卡片配置解析 ==========
|
|
137794
|
+
getConfigValue(config, item) {
|
|
137795
|
+
if (!config) return ''
|
|
137796
|
+
if (typeof config === 'function') return config(item)
|
|
137797
|
+
if (typeof config === 'string') return item[config] || ''
|
|
137798
|
+
return ''
|
|
137799
|
+
},
|
|
137800
|
+
|
|
137801
|
+
getImage(item) {
|
|
137802
|
+
return this.getConfigValue(this.cardConfig.image, item)
|
|
137803
|
+
},
|
|
137804
|
+
|
|
137805
|
+
getTag(item) {
|
|
137806
|
+
return this.getConfigValue(this.cardConfig.tag, item)
|
|
137807
|
+
},
|
|
137808
|
+
|
|
137809
|
+
getTagType(item) {
|
|
137810
|
+
if (this.cardConfig.tagType) {
|
|
137811
|
+
if (typeof this.cardConfig.tagType === 'function') return this.cardConfig.tagType(item)
|
|
137812
|
+
return this.cardConfig.tagType
|
|
137813
|
+
}
|
|
137814
|
+
return ''
|
|
137815
|
+
},
|
|
137816
|
+
|
|
137817
|
+
// ========== 虚拟滚动 ==========
|
|
137818
|
+
getVisibleItems(group) {
|
|
137819
|
+
if (!this.virtualScroll) return group._items
|
|
137820
|
+
|
|
137821
|
+
const bufferPx = this.bufferSize * this.itemHeight
|
|
137822
|
+
const start = Math.max(0, this.scrollTop - bufferPx)
|
|
137823
|
+
const end = start + this.containerHeight + bufferPx * 2
|
|
137824
|
+
|
|
137825
|
+
let currentTop = 0
|
|
137826
|
+
let groupStart = 0
|
|
137827
|
+
for (let i = 0; i < this.groupedData.length; i++) {
|
|
137828
|
+
const g = this.groupedData[i]
|
|
137829
|
+
if (g._key === group._key) {
|
|
137830
|
+
groupStart = currentTop + GROUP_HEADER_HEIGHT
|
|
137831
|
+
break
|
|
137832
|
+
}
|
|
137833
|
+
currentTop += GROUP_HEADER_HEIGHT +
|
|
137834
|
+
(g._expanded ? Math.ceil(g._items.length / this.columns) * this.itemHeight : 0)
|
|
137835
|
+
}
|
|
137836
|
+
|
|
137837
|
+
const groupEnd = groupStart + Math.ceil(group._items.length / this.columns) * this.itemHeight
|
|
137838
|
+
|
|
137839
|
+
if (groupEnd <= start || groupStart >= end) return []
|
|
137840
|
+
|
|
137841
|
+
const visibleStart = Math.max(0, Math.floor((start - groupStart) / this.itemHeight) * this.columns)
|
|
137842
|
+
const visibleEnd = Math.min(group._items.length, Math.ceil((end - groupStart) / this.itemHeight) * this.columns + bufferPx)
|
|
137843
|
+
|
|
137844
|
+
return group._items.slice(Math.max(0, visibleStart), visibleEnd)
|
|
137845
|
+
},
|
|
137846
|
+
|
|
137847
|
+
getItemIndex(item, group) {
|
|
137848
|
+
return group._items.indexOf(item)
|
|
137849
|
+
},
|
|
137850
|
+
|
|
137851
|
+
onScroll() {
|
|
137852
|
+
if (!this.virtualScroll) return
|
|
137853
|
+
this.scrollTop = this.$refs.scrollContainer.scrollTop
|
|
137854
|
+
if (this.rafId) return
|
|
137855
|
+
if (typeof requestAnimationFrame === 'undefined') return
|
|
137856
|
+
this.rafId = requestAnimationFrame(() => {
|
|
137857
|
+
this.$forceUpdate()
|
|
137858
|
+
this.rafId = null
|
|
137859
|
+
})
|
|
137860
|
+
},
|
|
137861
|
+
|
|
137862
|
+
updateContainerHeight() {
|
|
137863
|
+
if (this.$refs.scrollContainer) {
|
|
137864
|
+
this.containerHeight = this.$refs.scrollContainer.clientHeight
|
|
137865
|
+
}
|
|
137866
|
+
},
|
|
137867
|
+
|
|
137868
|
+
bindResizeObserver() {
|
|
137869
|
+
if (typeof ResizeObserver === 'undefined') return
|
|
137870
|
+
const container = this.$refs.scrollContainer
|
|
137871
|
+
if (!container) return
|
|
137872
|
+
this.resizeObserver = new ResizeObserver(() => {
|
|
137873
|
+
this.updateContainerHeight()
|
|
137874
|
+
})
|
|
137875
|
+
this.resizeObserver.observe(container)
|
|
137876
|
+
},
|
|
137877
|
+
|
|
137878
|
+
unbindResizeObserver() {
|
|
137879
|
+
if (this.resizeObserver) {
|
|
137880
|
+
this.resizeObserver.disconnect()
|
|
137881
|
+
this.resizeObserver = null
|
|
137882
|
+
}
|
|
137883
|
+
},
|
|
137884
|
+
|
|
137885
|
+
// ========== 事件处理 ==========
|
|
137886
|
+
handleSearch() {
|
|
137887
|
+
this.$emit('search', this.searchText)
|
|
137888
|
+
},
|
|
137889
|
+
|
|
137890
|
+
handleSortToggle() {
|
|
137891
|
+
const orders = ['', 'ascending', 'descending']
|
|
137892
|
+
const idx = orders.indexOf(this.currentSortOrder)
|
|
137893
|
+
this.currentSortOrder = orders[(idx + 1) % 3]
|
|
137894
|
+
this.$emit('sort-change', { prop: this.sortBy, order: this.currentSortOrder })
|
|
137895
|
+
},
|
|
137896
|
+
|
|
137897
|
+
handleItemClick(item, groupKey) {
|
|
137898
|
+
this.$emit('click-item', { item, groupKey })
|
|
137899
|
+
},
|
|
137900
|
+
|
|
137901
|
+
handleLoadMore() {
|
|
137902
|
+
this.$emit('load-more')
|
|
137903
|
+
},
|
|
137904
|
+
|
|
137905
|
+
handleSizeChange(size) {
|
|
137906
|
+
this.$emit('size-change', size)
|
|
137907
|
+
},
|
|
137908
|
+
|
|
137909
|
+
handleCurrentChange(page) {
|
|
137910
|
+
this.$emit('page-change', page)
|
|
137911
|
+
},
|
|
137912
|
+
|
|
137913
|
+
// ========== 对外暴露方法 ==========
|
|
137914
|
+
scrollToTop() {
|
|
137915
|
+
if (this.$refs.scrollContainer) {
|
|
137916
|
+
this.$refs.scrollContainer.scrollTo({ top: 0, behavior: 'smooth' })
|
|
137917
|
+
}
|
|
137918
|
+
},
|
|
137919
|
+
|
|
137920
|
+
expandGroup(key) {
|
|
137921
|
+
const newState = { ...this.groupExpandState }
|
|
137922
|
+
newState[key] = true
|
|
137923
|
+
this.groupExpandState = newState
|
|
137924
|
+
},
|
|
137925
|
+
|
|
137926
|
+
collapseGroup(key) {
|
|
137927
|
+
const newState = { ...this.groupExpandState }
|
|
137928
|
+
newState[key] = false
|
|
137929
|
+
this.groupExpandState = newState
|
|
137930
|
+
},
|
|
137931
|
+
|
|
137932
|
+
collapseAll() {
|
|
137933
|
+
const newState = {}
|
|
137934
|
+
this.groupedData.forEach(g => { newState[g._key] = false })
|
|
137935
|
+
this.groupExpandState = newState
|
|
137936
|
+
},
|
|
137937
|
+
|
|
137938
|
+
expandAllGroups() {
|
|
137939
|
+
this.groupExpandState = {}
|
|
137940
|
+
}
|
|
137941
|
+
}
|
|
137942
|
+
});
|
|
137943
|
+
|
|
137944
|
+
// CONCATENATED MODULE: ./src/components/xt-list/index.vue?vue&type=script&lang=js
|
|
137945
|
+
/* harmony default export */ var components_xt_listvue_type_script_lang_js = (xt_listvue_type_script_lang_js);
|
|
137946
|
+
// EXTERNAL MODULE: ./src/components/xt-list/index.vue?vue&type=style&index=0&id=53c7db00&prod&scoped=true&lang=css
|
|
137947
|
+
var xt_listvue_type_style_index_0_id_53c7db00_prod_scoped_true_lang_css = __webpack_require__("732a");
|
|
137948
|
+
|
|
137949
|
+
// CONCATENATED MODULE: ./src/components/xt-list/index.vue
|
|
137950
|
+
|
|
137951
|
+
|
|
137952
|
+
|
|
137953
|
+
|
|
137954
|
+
|
|
137955
|
+
|
|
137956
|
+
/* normalize component */
|
|
137957
|
+
|
|
137958
|
+
var xt_list_component = normalizeComponent(
|
|
137959
|
+
components_xt_listvue_type_script_lang_js,
|
|
137960
|
+
xt_listvue_type_template_id_53c7db00_scoped_true_render,
|
|
137961
|
+
xt_listvue_type_template_id_53c7db00_scoped_true_staticRenderFns,
|
|
137962
|
+
false,
|
|
137963
|
+
null,
|
|
137964
|
+
"53c7db00",
|
|
137965
|
+
null
|
|
137966
|
+
|
|
137967
|
+
)
|
|
137968
|
+
|
|
137969
|
+
/* harmony default export */ var xt_list = (xt_list_component.exports);
|
|
137970
|
+
// CONCATENATED MODULE: ./src/components/xt-list/index.js
|
|
137971
|
+
|
|
137972
|
+
|
|
137973
|
+
xt_list.install = function (Vue) {
|
|
137974
|
+
Vue.component(xt_list.name, xt_list)
|
|
137975
|
+
}
|
|
137976
|
+
|
|
137977
|
+
/* harmony default export */ var components_xt_list = (xt_list);
|
|
137978
|
+
|
|
137979
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-scroll-arrow/index.vue?vue&type=template&id=3d6a271c
|
|
137322
137980
|
var xt_scroll_arrowvue_type_template_id_3d6a271c_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-scroll-arrow",class:[`xt-scroll-arrow--${_vm.direction}`],style:(_vm.containerStyle)},[(_vm.showLeftArrow)?_c('div',{staticClass:"xt-scroll-arrow__btn xt-scroll-arrow__btn--left",on:{"click":_vm.scrollLeft}},[_c('i',{staticClass:"el-icon-arrow-left"})]):_vm._e(),_c('div',{ref:"scrollContainer",staticClass:"xt-scroll-arrow__content",on:{"scroll":_vm.handleScroll,"click":_vm.handleClick}},[_vm._t("default")],2),(_vm.showRightArrow)?_c('div',{staticClass:"xt-scroll-arrow__btn xt-scroll-arrow__btn--right",on:{"click":_vm.scrollRight}},[_c('i',{staticClass:"el-icon-arrow-right"})]):_vm._e(),(_vm.showTopArrow && _vm.direction === 'vertical')?_c('div',{staticClass:"xt-scroll-arrow__btn xt-scroll-arrow__btn--top",on:{"click":_vm.scrollTop}},[_c('i',{staticClass:"el-icon-arrow-up"})]):_vm._e(),(_vm.showBottomArrow && _vm.direction === 'vertical')?_c('div',{staticClass:"xt-scroll-arrow__btn xt-scroll-arrow__btn--bottom",on:{"click":_vm.scrollBottom}},[_c('i',{staticClass:"el-icon-arrow-down"})]):_vm._e()])
|
|
137323
137981
|
}
|
|
137324
137982
|
var xt_scroll_arrowvue_type_template_id_3d6a271c_staticRenderFns = []
|
|
@@ -137579,7 +138237,7 @@ xt_scroll_arrow.install = function (Vue) {
|
|
|
137579
138237
|
|
|
137580
138238
|
/* harmony default export */ var components_xt_scroll_arrow = (xt_scroll_arrow);
|
|
137581
138239
|
|
|
137582
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
138240
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-page/index.vue?vue&type=template&id=f74d3006&scoped=true
|
|
137583
138241
|
var xt_pagevue_type_template_id_f74d3006_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-container',{staticClass:"page-container"},[_c('el-container',{staticClass:"page-main"},[(_vm.$slots.header && _vm.showHeader)?_c('el-header',{ref:"header",class:{'page-header':_vm.$slots.aside},attrs:{"height":""}},[_vm._t("header")],2):_vm._e(),_c('el-main',{ref:"main",staticStyle:{"padding":"0"}},[_vm._t("default",null,{"tableHeight":_vm.calcHeight - _vm.tableBorderHeight})],2),(_vm.$slots.footer && _vm.showFooter)?_c('el-footer',{ref:"footer",attrs:{"height":""}},[_vm._t("footer")],2):_vm._e()],1),(_vm.$slots.aside && _vm.showAside)?_c('el-aside',{ref:"aside",staticClass:"page-aside",attrs:{"width":_vm.asideWidth}},[_vm._t("aside")],2):_vm._e(),_vm._t("dialog")],2)
|
|
137584
138242
|
}
|
|
137585
138243
|
var xt_pagevue_type_template_id_f74d3006_scoped_true_staticRenderFns = []
|
|
@@ -137676,7 +138334,7 @@ xt_page.install = function (Vue) {
|
|
|
137676
138334
|
|
|
137677
138335
|
/* harmony default export */ var components_xt_page = (xt_page);
|
|
137678
138336
|
|
|
137679
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
138337
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-select-tree/index.vue?vue&type=template&id=962f42c0&scoped=true
|
|
137680
138338
|
var xt_select_treevue_type_template_id_962f42c0_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"el-select select-tree"},[_c('el-popover',{ref:"elPopover",attrs:{"transition":"el-zoom-in-top","popper-class":"select-tree__popover","trigger":"click","disabled":_vm.disabled,"placement":_vm.placement,"width":_vm.popoverWidth},on:{"after-enter":_vm.handleScroll,"show":_vm.handleFocus,"hide":_vm.handleBlur},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:"visible"}},[_c('el-scrollbar',{ref:"scrollbar",attrs:{"wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[_c('el-tree',{ref:"elTree",staticClass:"select-tree__list",style:({minWidth: _vm.minWidth + 'px'}),attrs:{"default-expand-keys":_vm.defaultExpandKeys,"show-checkbox":_vm.multiple,"expand-on-click-node":_vm.multiple,"data":_vm.data,"props":_vm.props,"node-key":_vm.propsValue,"default-expand-all":_vm.defaultExpandAll,"check-strictly":_vm.checkStrictly,"lazy":_vm.lazy,"load":_vm.load,"icon-class":_vm.iconClass,"highlight-current":_vm.highlightCurrent,"indent":_vm.indent,"accordion":_vm.accordion,"filter-node-method":_vm.filterNodeMethod,"auto-expand-parent":_vm.autoExpandParent,"render-content":_vm.renderContent,"render-after-expand":_vm.renderAfterExpand},on:{"check-change":_vm.checkChange,"node-click":_vm.nodeClick},nativeOn:{"transitionend":function($event){return _vm.$refs.elPopover.updatePopper()}},scopedSlots:_vm._u([{key:"default",fn:function({data}){return _c('div',{staticClass:"select-tree__item",class:_vm.treeItemClass(data)},[_vm._v(" "+_vm._s(data[_vm.propsLabel])+" ")])}}])})],1),_c('el-input',{ref:"reference",class:{'is-active': _vm.visible, 'is-selected': _vm.selectedLabel},attrs:{"slot":"reference","clearable":_vm.clearable,"readonly":!_vm.filterable,"validate-event":false,"size":_vm.size,"disabled":_vm.disabled,"placeholder":_vm.query || _vm.placeholder},on:{"input":_vm.getTreeFilter,"clear":_vm.clear},slot:"reference",model:{value:(_vm.selectedLabel),callback:function ($$v) {_vm.selectedLabel=$$v},expression:"selectedLabel"}},[_c('i',{staticClass:"el-input__icon el-input__icon-arrow-down el-icon-arrow-down",attrs:{"slot":"suffix"},slot:"suffix"})])],1)],1)
|
|
137681
138339
|
}
|
|
137682
138340
|
var xt_select_treevue_type_template_id_962f42c0_scoped_true_staticRenderFns = []
|
|
@@ -137994,7 +138652,7 @@ xt_select_tree.install = function (Vue) {
|
|
|
137994
138652
|
|
|
137995
138653
|
/* harmony default export */ var components_xt_select_tree = (xt_select_tree);
|
|
137996
138654
|
|
|
137997
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
138655
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-upload/index.vue?vue&type=template&id=6cc1d5e4
|
|
137998
138656
|
var xt_uploadvue_type_template_id_6cc1d5e4_render = function render(){var _vm=this,_c=_vm._self._c;return _c('BaseFlexBox',{attrs:{"type":"inline-flex","gap":"5px"}},[(_vm.action)?_c('el-upload',{ref:"uploadFile",attrs:{"disabled":_vm.disabled || _vm.uploading,"action":_vm.YSSQP + _vm.action,"file-list":_vm.fileList,"data":{accessToken: _vm.accessToken,..._vm.data},"multiple":_vm.multiple,"limit":_vm.limit,"on-success":_vm.uploadSuccess,"show-file-list":false,"auto-upload":_vm.autoUpload,"before-upload":_vm.uploadBefore,"accept":".jpg,.jpeg,.png"}},[_c('i',{staticClass:"el-icon-camera",staticStyle:{"font-size":"20px","padding":"20px","background":"#f0f0f1","color":"#409EFF"},style:({padding: _vm.plusPx / 2 + 'px',cursor:_vm.disabled ? 'not-allowed':'pointer'})})]):_vm._e(),(_vm.fileList!==null&&_vm.fileList.length>0)?_c('BaseFlexBox',{staticClass:"el-upload-list el-upload-list--picture-card",staticStyle:{"flex":"1"},attrs:{"gap":"5px","wrap":"wrap"}},_vm._l((_vm.fileList),function(ite,index){return _c('li',{key:index,staticClass:"el-upload-list__item is-ready",staticStyle:{"margin":"0","width":"62px","height":"62px"},style:({ width: (_vm.plusPx + 22)+ 'px',height: (_vm.plusPx + 22)+ 'px'})},[_c('el-image',{staticClass:"el-upload-list__item-thumbnail",attrs:{"src":_vm.YSSQP+'/'+ite,"alt":""},on:{"click":_vm.clickHandler}}),_c('span',{staticClass:"el-upload-list__item-actions",on:{"click":function($event){return _vm.preShowPicture(ite, index)}}},[_c('span',{staticClass:"el-upload-list__item-preview",on:{"click":function($event){$event.stopPropagation();return _vm.preShowPicture(ite, index)}}},[_c('i',{staticClass:"el-icon-zoom-in"})]),(!_vm.uploading&&!_vm.disabled)?_c('span',{staticClass:"el-upload-list__item-delete",staticStyle:{"margin-left":"0"},on:{"click":function($event){$event.stopPropagation();return _vm.handleRemove(index)}}},[_c('i',{staticClass:"el-icon-delete"})]):_vm._e()])],1)}),0):_vm._e(),(_vm.preview)?[(_vm.previewVisible)?_c('ImageViewer',{attrs:{"z-index":3000,"base-url":_vm.baseUrl + '/',"infiniteLoop":false,"initial-index":_vm.imageIndex,"url-list":_vm.allFileList || _vm.fileList,"on-close":_vm.closeViewer}}):_vm._e()]:_vm._e()],2)
|
|
137999
138657
|
}
|
|
138000
138658
|
var xt_uploadvue_type_template_id_6cc1d5e4_staticRenderFns = []
|
|
@@ -138002,7 +138660,7 @@ var xt_uploadvue_type_template_id_6cc1d5e4_staticRenderFns = []
|
|
|
138002
138660
|
|
|
138003
138661
|
// CONCATENATED MODULE: ./src/components/xt-upload/index.vue?vue&type=template&id=6cc1d5e4
|
|
138004
138662
|
|
|
138005
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
138663
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60c3f2e7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/xt-upload/preview.vue?vue&type=template&id=236adf7f&scoped=true
|
|
138006
138664
|
var previewvue_type_template_id_236adf7f_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('transition',{attrs:{"name":"viewer-fade"}},[_c('div',{ref:"el-image-viewer__wrapper",staticClass:"el-image-viewer__wrapper",style:({ 'z-index': _vm.zIndex }),attrs:{"tabindex":"-1"}},[_c('div',{staticClass:"el-image-viewer__mask",on:{"click":_vm.hide}}),_c('span',{staticClass:"el-image-viewer__btn fix_close",on:{"click":_vm.hide}},[_c('i',{staticClass:"el-icon-close"})]),(!_vm.isSingle)?[_c('span',{staticClass:"el-image-viewer__btn el-image-viewer__prev",class:{ 'is-disabled': !_vm.infinite && _vm.isFirst },on:{"click":_vm.prev}},[_c('i',{staticClass:"el-icon-arrow-left"})]),_c('span',{staticClass:"el-image-viewer__btn el-image-viewer__next",class:{ 'is-disabled': !_vm.infinite && _vm.isLast },on:{"click":_vm.next}},[_c('i',{staticClass:"el-icon-arrow-right"})])]:_vm._e(),_c('div',{staticClass:"el-image-viewer__btn el-image-viewer__actions"},[_c('div',{staticClass:"el-image-viewer__actions__inner"},[_c('i',{staticClass:"el-icon-zoom-out",on:{"click":function($event){$event.stopPropagation();return _vm.handleActions('zoomOut')}}}),_c('i',{staticClass:"el-icon-zoom-in",on:{"click":function($event){$event.stopPropagation();return _vm.handleActions('zoomIn')}}}),_c('i',{staticClass:"el-image-viewer__actions__divider"}),_c('i',{class:_vm.mode.icon,on:{"click":function($event){$event.stopPropagation();return _vm.toggleMode.apply(null, arguments)}}}),_c('i',{staticClass:"el-image-viewer__actions__divider"}),_c('i',{staticClass:"el-icon-refresh-left",on:{"click":function($event){$event.stopPropagation();return _vm.handleActions('anticlocelise')}}}),_c('i',{staticClass:"el-icon-refresh-right",on:{"click":function($event){$event.stopPropagation();return _vm.handleActions('clocelise')}}})])]),_c('div',{staticClass:"el-image-viewer__canvas"},_vm._l((_vm.urlList),function(url,i){return (i === _vm.index)?_c('img',{key:url,ref:"img",refInFor:true,staticClass:"el-image-viewer__img",style:(_vm.imgStyle),attrs:{"src":_vm.currentImg},on:{"load":_vm.handleImgLoad,"error":_vm.handleImgError,"mousedown":_vm.handleMouseDown}}):_vm._e()}),0)],2)])
|
|
138007
138665
|
}
|
|
138008
138666
|
var previewvue_type_template_id_236adf7f_scoped_true_staticRenderFns = []
|
|
@@ -139111,6 +139769,7 @@ const { getConfig: src_getConfig, setConfig: src_setConfig, getTheme: src_getThe
|
|
|
139111
139769
|
// XtChart 组件(基于 ECharts 封装)
|
|
139112
139770
|
// XtIcon 组件(支持 el-icon / svg / 自定义字体)
|
|
139113
139771
|
// XtTable 组件(基于 ElementUI Table 封装)
|
|
139772
|
+
// XtList 组件(卡片列表)
|
|
139114
139773
|
|
|
139115
139774
|
|
|
139116
139775
|
|
|
@@ -139143,6 +139802,7 @@ const src_components = [
|
|
|
139143
139802
|
components_xt_chart,
|
|
139144
139803
|
components_xt_icon,
|
|
139145
139804
|
components_xt_table,
|
|
139805
|
+
components_xt_list,
|
|
139146
139806
|
components_xt_scroll_arrow,
|
|
139147
139807
|
XtBar,
|
|
139148
139808
|
XtLine,
|
|
@@ -139220,6 +139880,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
139220
139880
|
XtDatePicker: components_xt_date_picker,
|
|
139221
139881
|
XtIcon: components_xt_icon,
|
|
139222
139882
|
XtTable: components_xt_table,
|
|
139883
|
+
XtList: components_xt_list,
|
|
139223
139884
|
XtScrollArrow: components_xt_scroll_arrow,
|
|
139224
139885
|
XtBar: XtBar,
|
|
139225
139886
|
XtLine: XtLine,
|
|
@@ -139422,13 +140083,6 @@ function isSameDay (dirtyDateLeft, dirtyDateRight) {
|
|
|
139422
140083
|
module.exports = isSameDay
|
|
139423
140084
|
|
|
139424
140085
|
|
|
139425
|
-
/***/ }),
|
|
139426
|
-
|
|
139427
|
-
/***/ "fed2":
|
|
139428
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
139429
|
-
|
|
139430
|
-
// extracted by mini-css-extract-plugin
|
|
139431
|
-
|
|
139432
140086
|
/***/ })
|
|
139433
140087
|
|
|
139434
140088
|
/******/ });
|