xt-element-ui 2.0.2 → 2.0.3
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/README.md +2 -1
- package/docs/components/base/xt-badge.md +2 -2
- package/docs/components/base/xt-scroll-arrow.md +155 -0
- package/lib/index.common.js +222 -29
- package/lib/index.css +1 -1
- package/lib/index.umd.js +222 -29
- package/lib/index.umd.min.js +4 -4
- package/package.json +3 -2
- package/src/components/index.scss +4 -1
- package/src/components/xt-scroll-arrow/index.js +8 -0
- package/src/components/xt-scroll-arrow/index.vue +190 -0
- package/src/components/xt-scroll-arrow/style/index.scss +89 -0
- package/src/index.js +5 -2
package/lib/index.umd.js
CHANGED
|
@@ -128941,7 +128941,7 @@ const onConfigChange = function(listener) {
|
|
|
128941
128941
|
onConfigChange
|
|
128942
128942
|
});
|
|
128943
128943
|
|
|
128944
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
128944
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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=153fd404
|
|
128945
128945
|
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-button',_vm._b({staticClass:"ex-button",class:_vm.buttonClasses,on:{"click":_vm.handleClick}},'el-button',_vm.$attrs,false),[_vm._t("default")],2)
|
|
128946
128946
|
}
|
|
128947
128947
|
var staticRenderFns = []
|
|
@@ -129136,7 +129136,7 @@ xt_button.install = function (Vue) {
|
|
|
129136
129136
|
|
|
129137
129137
|
/* harmony default export */ var components_xt_button = (xt_button);
|
|
129138
129138
|
|
|
129139
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
129139
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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
|
|
129140
129140
|
var xt_inputvue_type_template_id_6c337ae4_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-input",class:[
|
|
129141
129141
|
_vm.size ? 'xt-input--' + _vm.size : '',
|
|
129142
129142
|
{ 'is-disabled': _vm.disabled }
|
|
@@ -129302,7 +129302,7 @@ xt_input.install = function (Vue) {
|
|
|
129302
129302
|
/* harmony default export */ var components_xt_input = (xt_input);
|
|
129303
129303
|
|
|
129304
129304
|
|
|
129305
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
129305
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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
|
|
129306
129306
|
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)
|
|
129307
129307
|
}
|
|
129308
129308
|
var xt_flex_boxvue_type_template_id_21429280_staticRenderFns = []
|
|
@@ -129371,7 +129371,7 @@ xt_flex_box.install = function (Vue) {
|
|
|
129371
129371
|
/* harmony default export */ var components_xt_flex_box = (xt_flex_box);
|
|
129372
129372
|
|
|
129373
129373
|
|
|
129374
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
129374
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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=67b1fb86
|
|
129375
129375
|
var xt_cardvue_type_template_id_67b1fb86_render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-card',_vm._b({staticClass:"ex-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)
|
|
129376
129376
|
}
|
|
129377
129377
|
var xt_cardvue_type_template_id_67b1fb86_staticRenderFns = []
|
|
@@ -129465,7 +129465,7 @@ xt_card.install = function (Vue) {
|
|
|
129465
129465
|
}
|
|
129466
129466
|
|
|
129467
129467
|
/* harmony default export */ var components_xt_card = (xt_card);
|
|
129468
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
129468
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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
|
|
129469
129469
|
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)
|
|
129470
129470
|
}
|
|
129471
129471
|
var xt_card_itemvue_type_template_id_dbcd74f4_staticRenderFns = []
|
|
@@ -129913,7 +129913,7 @@ xt_config_provider.install = function (Vue) {
|
|
|
129913
129913
|
/* harmony default export */ var components_xt_config_provider = (xt_config_provider);
|
|
129914
129914
|
|
|
129915
129915
|
|
|
129916
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
129916
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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
|
|
129917
129917
|
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:[
|
|
129918
129918
|
_vm.type ? 'xt-text--' + _vm.type : '',
|
|
129919
129919
|
'xt-text--' + _vm.size,
|
|
@@ -130215,7 +130215,7 @@ xt_text.install = function (Vue) {
|
|
|
130215
130215
|
/* harmony default export */ var components_xt_text = (xt_text);
|
|
130216
130216
|
|
|
130217
130217
|
|
|
130218
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
130218
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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
|
|
130219
130219
|
var xt_timevue_type_template_id_d29acf2c_render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:"xt-time",class:[
|
|
130220
130220
|
_vm.typeColor ? 'xt-time--' + _vm.typeColor : '',
|
|
130221
130221
|
'xt-time--' + _vm.size,
|
|
@@ -130536,7 +130536,7 @@ xt_time.install = function (Vue) {
|
|
|
130536
130536
|
/* harmony default export */ var components_xt_time = (xt_time);
|
|
130537
130537
|
|
|
130538
130538
|
|
|
130539
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
130539
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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=10c6e331
|
|
130540
130540
|
var xt_step_pricevue_type_template_id_10c6e331_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},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()])
|
|
130541
130541
|
}
|
|
130542
130542
|
var xt_step_pricevue_type_template_id_10c6e331_staticRenderFns = []
|
|
@@ -130544,7 +130544,7 @@ var xt_step_pricevue_type_template_id_10c6e331_staticRenderFns = []
|
|
|
130544
130544
|
|
|
130545
130545
|
// CONCATENATED MODULE: ./src/components/xt-step-price/index.vue?vue&type=template&id=10c6e331
|
|
130546
130546
|
|
|
130547
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
130547
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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=579d80c1
|
|
130548
130548
|
var xt_step_price_itemvue_type_template_id_579d80c1_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)
|
|
130549
130549
|
}
|
|
130550
130550
|
var xt_step_price_itemvue_type_template_id_579d80c1_staticRenderFns = []
|
|
@@ -131108,7 +131108,7 @@ xt_step_price_item.install = function (Vue) {
|
|
|
131108
131108
|
|
|
131109
131109
|
/* harmony default export */ var components_xt_step_price_item = (xt_step_price_item);
|
|
131110
131110
|
|
|
131111
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
131111
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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
|
|
131112
131112
|
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)
|
|
131113
131113
|
}
|
|
131114
131114
|
var xt_mapvue_type_template_id_0c15823e_staticRenderFns = []
|
|
@@ -132825,7 +132825,7 @@ xt_map.install = function (Vue) {
|
|
|
132825
132825
|
/* harmony default export */ var components_xt_map = (xt_map);
|
|
132826
132826
|
|
|
132827
132827
|
|
|
132828
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
132828
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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
|
|
132829
132829
|
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)
|
|
132830
132830
|
}
|
|
132831
132831
|
var providervue_type_template_id_16f243b0_scoped_true_staticRenderFns = []
|
|
@@ -133029,7 +133029,7 @@ xt_map_provider.install = function (Vue) {
|
|
|
133029
133029
|
/* harmony default export */ var components_xt_map_provider = (xt_map_provider);
|
|
133030
133030
|
|
|
133031
133031
|
|
|
133032
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
133032
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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
|
|
133033
133033
|
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)
|
|
133034
133034
|
}
|
|
133035
133035
|
var xt_grid_boxvue_type_template_id_67e197c4_staticRenderFns = []
|
|
@@ -133199,7 +133199,7 @@ xt_grid_box.install = function (Vue) {
|
|
|
133199
133199
|
/* harmony default export */ var components_xt_grid_box = (xt_grid_box);
|
|
133200
133200
|
|
|
133201
133201
|
|
|
133202
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
133202
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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
|
|
133203
133203
|
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)
|
|
133204
133204
|
}
|
|
133205
133205
|
var xt_grid_itemvue_type_template_id_5318efc6_scoped_true_staticRenderFns = []
|
|
@@ -133339,7 +133339,7 @@ xt_grid_item.install = function (Vue) {
|
|
|
133339
133339
|
/* harmony default export */ var components_xt_grid_item = (xt_grid_item);
|
|
133340
133340
|
|
|
133341
133341
|
|
|
133342
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
133342
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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
|
|
133343
133343
|
var xt_progressvue_type_template_id_76c95a92_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-progress",class:[
|
|
133344
133344
|
`xt-progress--${_vm.type}`,
|
|
133345
133345
|
`xt-progress--${_vm.size}`
|
|
@@ -133435,7 +133435,7 @@ xt_progress.install = function(Vue) {
|
|
|
133435
133435
|
|
|
133436
133436
|
/* harmony default export */ var components_xt_progress = (xt_progress);
|
|
133437
133437
|
|
|
133438
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
133438
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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
|
|
133439
133439
|
var xt_tabsvue_type_template_id_04b02574_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-tabs",class:[
|
|
133440
133440
|
`xt-tabs--${_vm.position}`,
|
|
133441
133441
|
{ 'xt-tabs--card': _vm.type === 'card' }
|
|
@@ -133547,7 +133547,7 @@ var xt_tabs_component = normalizeComponent(
|
|
|
133547
133547
|
)
|
|
133548
133548
|
|
|
133549
133549
|
/* harmony default export */ var xt_tabs = (xt_tabs_component.exports);
|
|
133550
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
133550
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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
|
|
133551
133551
|
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)
|
|
133552
133552
|
}
|
|
133553
133553
|
var TabPanevue_type_template_id_0c2246dc_staticRenderFns = []
|
|
@@ -133620,7 +133620,7 @@ xt_tabs.install = function(Vue) {
|
|
|
133620
133620
|
/* harmony default export */ var components_xt_tabs = (xt_tabs);
|
|
133621
133621
|
|
|
133622
133622
|
|
|
133623
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
133623
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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=20f2da48
|
|
133624
133624
|
var xt_badgevue_type_template_id_20f2da48_render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:"xt-badge",class:[
|
|
133625
133625
|
`xt-badge--${_vm.type}`,
|
|
133626
133626
|
{ 'xt-badge--dot': _vm.isDot },
|
|
@@ -133714,7 +133714,7 @@ xt_badge.install = function(Vue) {
|
|
|
133714
133714
|
|
|
133715
133715
|
/* harmony default export */ var components_xt_badge = (xt_badge);
|
|
133716
133716
|
|
|
133717
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
133717
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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=6a59ddb5&scoped=true
|
|
133718
133718
|
var xt_date_pickervue_type_template_id_6a59ddb5_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticStyle:{"display":"inline-block"}},[(_vm.dateType=='quarter')?_c('FlexBox',{staticClass:"xt-date-picker",class:{focus: _vm.isfocus},style:(_vm.width?{width: `${_vm.width}px`}:{}),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('FlexBox',{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)
|
|
133719
133719
|
}
|
|
133720
133720
|
var xt_date_pickervue_type_template_id_6a59ddb5_scoped_true_staticRenderFns = []
|
|
@@ -133722,7 +133722,7 @@ var xt_date_pickervue_type_template_id_6a59ddb5_scoped_true_staticRenderFns = []
|
|
|
133722
133722
|
|
|
133723
133723
|
// CONCATENATED MODULE: ./src/components/xt-date-picker/index.vue?vue&type=template&id=6a59ddb5&scoped=true
|
|
133724
133724
|
|
|
133725
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
133725
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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
|
|
133726
133726
|
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)
|
|
133727
133727
|
}
|
|
133728
133728
|
var quartervue_type_template_id_4e3cbf9a_staticRenderFns = []
|
|
@@ -134016,7 +134016,7 @@ xt_date_picker.install = function (Vue) {
|
|
|
134016
134016
|
|
|
134017
134017
|
/* harmony default export */ var components_xt_date_picker = (xt_date_picker);
|
|
134018
134018
|
|
|
134019
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
134019
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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
|
|
134020
134020
|
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()
|
|
134021
134021
|
}
|
|
134022
134022
|
var xt_chartvue_type_template_id_fcb32ff2_staticRenderFns = []
|
|
@@ -134024,7 +134024,7 @@ var xt_chartvue_type_template_id_fcb32ff2_staticRenderFns = []
|
|
|
134024
134024
|
|
|
134025
134025
|
// CONCATENATED MODULE: ./src/components/xt-chart/index.vue?vue&type=template&id=fcb32ff2
|
|
134026
134026
|
|
|
134027
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
134027
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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=322352cf&scoped=true
|
|
134028
134028
|
var XtBarvue_type_template_id_322352cf_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"barchart",staticClass:"bar-box"})
|
|
134029
134029
|
}
|
|
134030
134030
|
var XtBarvue_type_template_id_322352cf_scoped_true_staticRenderFns = []
|
|
@@ -134261,7 +134261,7 @@ var XtBar_component = normalizeComponent(
|
|
|
134261
134261
|
)
|
|
134262
134262
|
|
|
134263
134263
|
/* harmony default export */ var XtBar = (XtBar_component.exports);
|
|
134264
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
134264
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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=7dc068e4&scoped=true
|
|
134265
134265
|
var XtLinevue_type_template_id_7dc068e4_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"linechart",staticClass:"line-box"})
|
|
134266
134266
|
}
|
|
134267
134267
|
var XtLinevue_type_template_id_7dc068e4_scoped_true_staticRenderFns = []
|
|
@@ -134444,7 +134444,7 @@ var XtLine_component = normalizeComponent(
|
|
|
134444
134444
|
)
|
|
134445
134445
|
|
|
134446
134446
|
/* harmony default export */ var XtLine = (XtLine_component.exports);
|
|
134447
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
134447
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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=3c07422e&scoped=true
|
|
134448
134448
|
var XtPievue_type_template_id_3c07422e_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"piechart",staticClass:"pie-box"})
|
|
134449
134449
|
}
|
|
134450
134450
|
var XtPievue_type_template_id_3c07422e_scoped_true_staticRenderFns = []
|
|
@@ -134636,7 +134636,7 @@ var XtPie_component = normalizeComponent(
|
|
|
134636
134636
|
)
|
|
134637
134637
|
|
|
134638
134638
|
/* harmony default export */ var XtPie = (XtPie_component.exports);
|
|
134639
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
134639
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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=43d39824&scoped=true
|
|
134640
134640
|
var XtMultivue_type_template_id_43d39824_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{ref:"multilinechart",staticClass:"multiline-box"})
|
|
134641
134641
|
}
|
|
134642
134642
|
var XtMultivue_type_template_id_43d39824_scoped_true_staticRenderFns = []
|
|
@@ -135077,7 +135077,7 @@ xt_chart.install = function (Vue) {
|
|
|
135077
135077
|
|
|
135078
135078
|
/* harmony default export */ var components_xt_chart = (xt_chart);
|
|
135079
135079
|
|
|
135080
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
135080
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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
|
|
135081
135081
|
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)
|
|
135082
135082
|
}
|
|
135083
135083
|
var xt_iconvue_type_template_id_0e301b72_scoped_true_staticRenderFns = []
|
|
@@ -135255,7 +135255,7 @@ xt_icon.install = function (Vue) {
|
|
|
135255
135255
|
|
|
135256
135256
|
/* harmony default export */ var components_xt_icon = (xt_icon);
|
|
135257
135257
|
|
|
135258
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
135258
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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=0fa7d6af&scoped=true
|
|
135259
135259
|
var xt_tablevue_type_template_id_0fa7d6af_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"ex-table-wrapper"},[(_vm.title || _vm.$slots.toolbar)?_c('div',{staticClass:"ex-table-header"},[(_vm.title)?_c('span',{staticClass:"ex-table-title"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),_c('div',{staticClass:"ex-table-toolbar"},[_vm._t("toolbar")],2)]):_vm._e(),_c('div',{staticClass:"ex-table-body"},[_c('VirtualElTable',_vm._g(_vm._b({ref:"table",staticClass:"ex-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:"ex-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()])
|
|
135260
135260
|
}
|
|
135261
135261
|
var xt_tablevue_type_template_id_0fa7d6af_scoped_true_staticRenderFns = []
|
|
@@ -135309,7 +135309,7 @@ var XtTableCell_component = normalizeComponent(
|
|
|
135309
135309
|
)
|
|
135310
135310
|
|
|
135311
135311
|
/* harmony default export */ var XtTableCell = (XtTableCell_component.exports);
|
|
135312
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
135312
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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
|
|
135313
135313
|
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)
|
|
135314
135314
|
}
|
|
135315
135315
|
var VirtualElTablevue_type_template_id_01f7dcee_scoped_true_staticRenderFns = []
|
|
@@ -135918,6 +135918,196 @@ xt_table.install = function (Vue) {
|
|
|
135918
135918
|
|
|
135919
135919
|
/* harmony default export */ var components_xt_table = (xt_table);
|
|
135920
135920
|
|
|
135921
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"69a2a4ec-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/@vue/cli-service/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=fa161f32
|
|
135922
|
+
var xt_scroll_arrowvue_type_template_id_fa161f32_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}},[_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()])
|
|
135923
|
+
}
|
|
135924
|
+
var xt_scroll_arrowvue_type_template_id_fa161f32_staticRenderFns = []
|
|
135925
|
+
|
|
135926
|
+
|
|
135927
|
+
// CONCATENATED MODULE: ./src/components/xt-scroll-arrow/index.vue?vue&type=template&id=fa161f32
|
|
135928
|
+
|
|
135929
|
+
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/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=script&lang=js
|
|
135930
|
+
|
|
135931
|
+
/* harmony default export */ var xt_scroll_arrowvue_type_script_lang_js = ({
|
|
135932
|
+
name: 'XtScrollArrow',
|
|
135933
|
+
props: {
|
|
135934
|
+
direction: {
|
|
135935
|
+
type: String,
|
|
135936
|
+
default: 'horizontal',
|
|
135937
|
+
validator: (val) => ['horizontal', 'vertical'].includes(val)
|
|
135938
|
+
},
|
|
135939
|
+
scrollStep: {
|
|
135940
|
+
type: Number,
|
|
135941
|
+
default: 100
|
|
135942
|
+
},
|
|
135943
|
+
autoHide: {
|
|
135944
|
+
type: Boolean,
|
|
135945
|
+
default: true
|
|
135946
|
+
},
|
|
135947
|
+
height: {
|
|
135948
|
+
type: [String, Number],
|
|
135949
|
+
default: ''
|
|
135950
|
+
},
|
|
135951
|
+
width: {
|
|
135952
|
+
type: [String, Number],
|
|
135953
|
+
default: ''
|
|
135954
|
+
}
|
|
135955
|
+
},
|
|
135956
|
+
data() {
|
|
135957
|
+
return {
|
|
135958
|
+
showLeftArrow: false,
|
|
135959
|
+
showRightArrow: false,
|
|
135960
|
+
showTopArrow: false,
|
|
135961
|
+
showBottomArrow: false
|
|
135962
|
+
}
|
|
135963
|
+
},
|
|
135964
|
+
computed: {
|
|
135965
|
+
containerStyle() {
|
|
135966
|
+
const style = {}
|
|
135967
|
+
if (this.height) {
|
|
135968
|
+
style.height = typeof this.height === 'number' ? `${this.height}px` : this.height
|
|
135969
|
+
}
|
|
135970
|
+
if (this.width) {
|
|
135971
|
+
style.width = typeof this.width === 'number' ? `${this.width}px` : this.width
|
|
135972
|
+
}
|
|
135973
|
+
return style
|
|
135974
|
+
}
|
|
135975
|
+
},
|
|
135976
|
+
watch: {
|
|
135977
|
+
direction() {
|
|
135978
|
+
this.$nextTick(() => {
|
|
135979
|
+
this.checkScroll()
|
|
135980
|
+
})
|
|
135981
|
+
}
|
|
135982
|
+
},
|
|
135983
|
+
mounted() {
|
|
135984
|
+
this.$nextTick(() => {
|
|
135985
|
+
this.checkScroll()
|
|
135986
|
+
})
|
|
135987
|
+
this.addResizeObserver()
|
|
135988
|
+
},
|
|
135989
|
+
beforeDestroy() {
|
|
135990
|
+
this.removeResizeObserver()
|
|
135991
|
+
},
|
|
135992
|
+
methods: {
|
|
135993
|
+
addResizeObserver() {
|
|
135994
|
+
if (typeof ResizeObserver !== 'undefined') {
|
|
135995
|
+
this.resizeObserver = new ResizeObserver(() => {
|
|
135996
|
+
this.$nextTick(() => {
|
|
135997
|
+
this.checkScroll()
|
|
135998
|
+
})
|
|
135999
|
+
})
|
|
136000
|
+
const container = this.$refs.scrollContainer
|
|
136001
|
+
if (container) {
|
|
136002
|
+
this.resizeObserver.observe(container)
|
|
136003
|
+
}
|
|
136004
|
+
}
|
|
136005
|
+
},
|
|
136006
|
+
removeResizeObserver() {
|
|
136007
|
+
if (this.resizeObserver) {
|
|
136008
|
+
this.resizeObserver.disconnect()
|
|
136009
|
+
}
|
|
136010
|
+
},
|
|
136011
|
+
checkScroll() {
|
|
136012
|
+
const container = this.$refs.scrollContainer
|
|
136013
|
+
if (!container) return
|
|
136014
|
+
|
|
136015
|
+
if (this.direction === 'horizontal') {
|
|
136016
|
+
const scrollLeft = container.scrollLeft
|
|
136017
|
+
const scrollWidth = container.scrollWidth
|
|
136018
|
+
const clientWidth = container.clientWidth
|
|
136019
|
+
const maxScroll = scrollWidth - clientWidth
|
|
136020
|
+
|
|
136021
|
+
this.showTopArrow = false
|
|
136022
|
+
this.showBottomArrow = false
|
|
136023
|
+
|
|
136024
|
+
if (this.autoHide) {
|
|
136025
|
+
this.showLeftArrow = scrollLeft > 0
|
|
136026
|
+
this.showRightArrow = maxScroll > 0 && scrollLeft < maxScroll
|
|
136027
|
+
} else {
|
|
136028
|
+
this.showLeftArrow = maxScroll > 0
|
|
136029
|
+
this.showRightArrow = maxScroll > 0
|
|
136030
|
+
}
|
|
136031
|
+
} else {
|
|
136032
|
+
const scrollTop = container.scrollTop
|
|
136033
|
+
const scrollHeight = container.scrollHeight
|
|
136034
|
+
const clientHeight = container.clientHeight
|
|
136035
|
+
const maxScroll = scrollHeight - clientHeight
|
|
136036
|
+
|
|
136037
|
+
this.showLeftArrow = false
|
|
136038
|
+
this.showRightArrow = false
|
|
136039
|
+
|
|
136040
|
+
if (this.autoHide) {
|
|
136041
|
+
this.showTopArrow = scrollTop > 0
|
|
136042
|
+
this.showBottomArrow = maxScroll > 0 && scrollTop < maxScroll
|
|
136043
|
+
} else {
|
|
136044
|
+
this.showTopArrow = maxScroll > 0
|
|
136045
|
+
this.showBottomArrow = maxScroll > 0
|
|
136046
|
+
}
|
|
136047
|
+
}
|
|
136048
|
+
},
|
|
136049
|
+
handleScroll() {
|
|
136050
|
+
this.checkScroll()
|
|
136051
|
+
this.$emit('scroll', this.$refs.scrollContainer)
|
|
136052
|
+
},
|
|
136053
|
+
scrollLeft() {
|
|
136054
|
+
const container = this.$refs.scrollContainer
|
|
136055
|
+
if (container) {
|
|
136056
|
+
container.scrollBy({ left: -this.scrollStep, behavior: 'smooth' })
|
|
136057
|
+
}
|
|
136058
|
+
},
|
|
136059
|
+
scrollRight() {
|
|
136060
|
+
const container = this.$refs.scrollContainer
|
|
136061
|
+
if (container) {
|
|
136062
|
+
container.scrollBy({ left: this.scrollStep, behavior: 'smooth' })
|
|
136063
|
+
}
|
|
136064
|
+
},
|
|
136065
|
+
scrollTop() {
|
|
136066
|
+
const container = this.$refs.scrollContainer
|
|
136067
|
+
if (container) {
|
|
136068
|
+
container.scrollBy({ top: -this.scrollStep, behavior: 'smooth' })
|
|
136069
|
+
}
|
|
136070
|
+
},
|
|
136071
|
+
scrollBottom() {
|
|
136072
|
+
const container = this.$refs.scrollContainer
|
|
136073
|
+
if (container) {
|
|
136074
|
+
container.scrollBy({ top: this.scrollStep, behavior: 'smooth' })
|
|
136075
|
+
}
|
|
136076
|
+
}
|
|
136077
|
+
}
|
|
136078
|
+
});
|
|
136079
|
+
|
|
136080
|
+
// CONCATENATED MODULE: ./src/components/xt-scroll-arrow/index.vue?vue&type=script&lang=js
|
|
136081
|
+
/* harmony default export */ var components_xt_scroll_arrowvue_type_script_lang_js = (xt_scroll_arrowvue_type_script_lang_js);
|
|
136082
|
+
// CONCATENATED MODULE: ./src/components/xt-scroll-arrow/index.vue
|
|
136083
|
+
|
|
136084
|
+
|
|
136085
|
+
|
|
136086
|
+
|
|
136087
|
+
|
|
136088
|
+
/* normalize component */
|
|
136089
|
+
|
|
136090
|
+
var xt_scroll_arrow_component = normalizeComponent(
|
|
136091
|
+
components_xt_scroll_arrowvue_type_script_lang_js,
|
|
136092
|
+
xt_scroll_arrowvue_type_template_id_fa161f32_render,
|
|
136093
|
+
xt_scroll_arrowvue_type_template_id_fa161f32_staticRenderFns,
|
|
136094
|
+
false,
|
|
136095
|
+
null,
|
|
136096
|
+
null,
|
|
136097
|
+
null
|
|
136098
|
+
|
|
136099
|
+
)
|
|
136100
|
+
|
|
136101
|
+
/* harmony default export */ var xt_scroll_arrow = (xt_scroll_arrow_component.exports);
|
|
136102
|
+
// CONCATENATED MODULE: ./src/components/xt-scroll-arrow/index.js
|
|
136103
|
+
|
|
136104
|
+
|
|
136105
|
+
xt_scroll_arrow.install = function (Vue) {
|
|
136106
|
+
Vue.component(xt_scroll_arrow.name, xt_scroll_arrow)
|
|
136107
|
+
}
|
|
136108
|
+
|
|
136109
|
+
/* harmony default export */ var components_xt_scroll_arrow = (xt_scroll_arrow);
|
|
136110
|
+
|
|
135921
136111
|
// CONCATENATED MODULE: ./src/components/xt-table/virtualScrollData.js
|
|
135922
136112
|
/**
|
|
135923
136113
|
* 生成虚拟滚动演示数据
|
|
@@ -135997,6 +136187,7 @@ const { getConfig: src_getConfig, setConfig: src_setConfig, getTheme: src_getThe
|
|
|
135997
136187
|
// XtTable 组件(基于 ElementUI Table 封装)
|
|
135998
136188
|
|
|
135999
136189
|
|
|
136190
|
+
|
|
136000
136191
|
const src_components = [
|
|
136001
136192
|
components_xt_button,
|
|
136002
136193
|
components_xt_input,
|
|
@@ -136018,7 +136209,8 @@ const src_components = [
|
|
|
136018
136209
|
components_xt_date_picker,
|
|
136019
136210
|
components_xt_chart,
|
|
136020
136211
|
components_xt_icon,
|
|
136021
|
-
components_xt_table
|
|
136212
|
+
components_xt_table,
|
|
136213
|
+
components_xt_scroll_arrow
|
|
136022
136214
|
]
|
|
136023
136215
|
|
|
136024
136216
|
const install = function (Vue, options = {}) {
|
|
@@ -136087,7 +136279,8 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
136087
136279
|
XtBadge: components_xt_badge,
|
|
136088
136280
|
XtDatePicker: components_xt_date_picker,
|
|
136089
136281
|
XtIcon: components_xt_icon,
|
|
136090
|
-
XtTable: components_xt_table
|
|
136282
|
+
XtTable: components_xt_table,
|
|
136283
|
+
XtScrollArrow: components_xt_scroll_arrow
|
|
136091
136284
|
});
|
|
136092
136285
|
|
|
136093
136286
|
// XtChart 组件按需导出(使用时需自行安装 echarts 依赖)
|