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.common.js
CHANGED
|
@@ -128932,7 +128932,7 @@ const onConfigChange = function(listener) {
|
|
|
128932
128932
|
onConfigChange
|
|
128933
128933
|
});
|
|
128934
128934
|
|
|
128935
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
128935
|
+
// 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
|
|
128936
128936
|
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)
|
|
128937
128937
|
}
|
|
128938
128938
|
var staticRenderFns = []
|
|
@@ -129127,7 +129127,7 @@ xt_button.install = function (Vue) {
|
|
|
129127
129127
|
|
|
129128
129128
|
/* harmony default export */ var components_xt_button = (xt_button);
|
|
129129
129129
|
|
|
129130
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
129130
|
+
// 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
|
|
129131
129131
|
var xt_inputvue_type_template_id_6c337ae4_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-input",class:[
|
|
129132
129132
|
_vm.size ? 'xt-input--' + _vm.size : '',
|
|
129133
129133
|
{ 'is-disabled': _vm.disabled }
|
|
@@ -129293,7 +129293,7 @@ xt_input.install = function (Vue) {
|
|
|
129293
129293
|
/* harmony default export */ var components_xt_input = (xt_input);
|
|
129294
129294
|
|
|
129295
129295
|
|
|
129296
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
129296
|
+
// 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
|
|
129297
129297
|
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)
|
|
129298
129298
|
}
|
|
129299
129299
|
var xt_flex_boxvue_type_template_id_21429280_staticRenderFns = []
|
|
@@ -129362,7 +129362,7 @@ xt_flex_box.install = function (Vue) {
|
|
|
129362
129362
|
/* harmony default export */ var components_xt_flex_box = (xt_flex_box);
|
|
129363
129363
|
|
|
129364
129364
|
|
|
129365
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
129365
|
+
// 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
|
|
129366
129366
|
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)
|
|
129367
129367
|
}
|
|
129368
129368
|
var xt_cardvue_type_template_id_67b1fb86_staticRenderFns = []
|
|
@@ -129456,7 +129456,7 @@ xt_card.install = function (Vue) {
|
|
|
129456
129456
|
}
|
|
129457
129457
|
|
|
129458
129458
|
/* harmony default export */ var components_xt_card = (xt_card);
|
|
129459
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
129459
|
+
// 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
|
|
129460
129460
|
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)
|
|
129461
129461
|
}
|
|
129462
129462
|
var xt_card_itemvue_type_template_id_dbcd74f4_staticRenderFns = []
|
|
@@ -129904,7 +129904,7 @@ xt_config_provider.install = function (Vue) {
|
|
|
129904
129904
|
/* harmony default export */ var components_xt_config_provider = (xt_config_provider);
|
|
129905
129905
|
|
|
129906
129906
|
|
|
129907
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
129907
|
+
// 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
|
|
129908
129908
|
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:[
|
|
129909
129909
|
_vm.type ? 'xt-text--' + _vm.type : '',
|
|
129910
129910
|
'xt-text--' + _vm.size,
|
|
@@ -130206,7 +130206,7 @@ xt_text.install = function (Vue) {
|
|
|
130206
130206
|
/* harmony default export */ var components_xt_text = (xt_text);
|
|
130207
130207
|
|
|
130208
130208
|
|
|
130209
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
130209
|
+
// 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
|
|
130210
130210
|
var xt_timevue_type_template_id_d29acf2c_render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:"xt-time",class:[
|
|
130211
130211
|
_vm.typeColor ? 'xt-time--' + _vm.typeColor : '',
|
|
130212
130212
|
'xt-time--' + _vm.size,
|
|
@@ -130527,7 +130527,7 @@ xt_time.install = function (Vue) {
|
|
|
130527
130527
|
/* harmony default export */ var components_xt_time = (xt_time);
|
|
130528
130528
|
|
|
130529
130529
|
|
|
130530
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
130530
|
+
// 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
|
|
130531
130531
|
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()])
|
|
130532
130532
|
}
|
|
130533
130533
|
var xt_step_pricevue_type_template_id_10c6e331_staticRenderFns = []
|
|
@@ -130535,7 +130535,7 @@ var xt_step_pricevue_type_template_id_10c6e331_staticRenderFns = []
|
|
|
130535
130535
|
|
|
130536
130536
|
// CONCATENATED MODULE: ./src/components/xt-step-price/index.vue?vue&type=template&id=10c6e331
|
|
130537
130537
|
|
|
130538
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
130538
|
+
// 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
|
|
130539
130539
|
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)
|
|
130540
130540
|
}
|
|
130541
130541
|
var xt_step_price_itemvue_type_template_id_579d80c1_staticRenderFns = []
|
|
@@ -131099,7 +131099,7 @@ xt_step_price_item.install = function (Vue) {
|
|
|
131099
131099
|
|
|
131100
131100
|
/* harmony default export */ var components_xt_step_price_item = (xt_step_price_item);
|
|
131101
131101
|
|
|
131102
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
131102
|
+
// 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
|
|
131103
131103
|
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)
|
|
131104
131104
|
}
|
|
131105
131105
|
var xt_mapvue_type_template_id_0c15823e_staticRenderFns = []
|
|
@@ -132816,7 +132816,7 @@ xt_map.install = function (Vue) {
|
|
|
132816
132816
|
/* harmony default export */ var components_xt_map = (xt_map);
|
|
132817
132817
|
|
|
132818
132818
|
|
|
132819
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
132819
|
+
// 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
|
|
132820
132820
|
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)
|
|
132821
132821
|
}
|
|
132822
132822
|
var providervue_type_template_id_16f243b0_scoped_true_staticRenderFns = []
|
|
@@ -133020,7 +133020,7 @@ xt_map_provider.install = function (Vue) {
|
|
|
133020
133020
|
/* harmony default export */ var components_xt_map_provider = (xt_map_provider);
|
|
133021
133021
|
|
|
133022
133022
|
|
|
133023
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
133023
|
+
// 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
|
|
133024
133024
|
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)
|
|
133025
133025
|
}
|
|
133026
133026
|
var xt_grid_boxvue_type_template_id_67e197c4_staticRenderFns = []
|
|
@@ -133190,7 +133190,7 @@ xt_grid_box.install = function (Vue) {
|
|
|
133190
133190
|
/* harmony default export */ var components_xt_grid_box = (xt_grid_box);
|
|
133191
133191
|
|
|
133192
133192
|
|
|
133193
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
133193
|
+
// 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
|
|
133194
133194
|
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)
|
|
133195
133195
|
}
|
|
133196
133196
|
var xt_grid_itemvue_type_template_id_5318efc6_scoped_true_staticRenderFns = []
|
|
@@ -133330,7 +133330,7 @@ xt_grid_item.install = function (Vue) {
|
|
|
133330
133330
|
/* harmony default export */ var components_xt_grid_item = (xt_grid_item);
|
|
133331
133331
|
|
|
133332
133332
|
|
|
133333
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
133333
|
+
// 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
|
|
133334
133334
|
var xt_progressvue_type_template_id_76c95a92_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-progress",class:[
|
|
133335
133335
|
`xt-progress--${_vm.type}`,
|
|
133336
133336
|
`xt-progress--${_vm.size}`
|
|
@@ -133426,7 +133426,7 @@ xt_progress.install = function(Vue) {
|
|
|
133426
133426
|
|
|
133427
133427
|
/* harmony default export */ var components_xt_progress = (xt_progress);
|
|
133428
133428
|
|
|
133429
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
133429
|
+
// 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
|
|
133430
133430
|
var xt_tabsvue_type_template_id_04b02574_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"xt-tabs",class:[
|
|
133431
133431
|
`xt-tabs--${_vm.position}`,
|
|
133432
133432
|
{ 'xt-tabs--card': _vm.type === 'card' }
|
|
@@ -133538,7 +133538,7 @@ var xt_tabs_component = normalizeComponent(
|
|
|
133538
133538
|
)
|
|
133539
133539
|
|
|
133540
133540
|
/* harmony default export */ var xt_tabs = (xt_tabs_component.exports);
|
|
133541
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
133541
|
+
// 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
|
|
133542
133542
|
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)
|
|
133543
133543
|
}
|
|
133544
133544
|
var TabPanevue_type_template_id_0c2246dc_staticRenderFns = []
|
|
@@ -133611,7 +133611,7 @@ xt_tabs.install = function(Vue) {
|
|
|
133611
133611
|
/* harmony default export */ var components_xt_tabs = (xt_tabs);
|
|
133612
133612
|
|
|
133613
133613
|
|
|
133614
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
133614
|
+
// 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
|
|
133615
133615
|
var xt_badgevue_type_template_id_20f2da48_render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:"xt-badge",class:[
|
|
133616
133616
|
`xt-badge--${_vm.type}`,
|
|
133617
133617
|
{ 'xt-badge--dot': _vm.isDot },
|
|
@@ -133705,7 +133705,7 @@ xt_badge.install = function(Vue) {
|
|
|
133705
133705
|
|
|
133706
133706
|
/* harmony default export */ var components_xt_badge = (xt_badge);
|
|
133707
133707
|
|
|
133708
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
133708
|
+
// 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
|
|
133709
133709
|
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)
|
|
133710
133710
|
}
|
|
133711
133711
|
var xt_date_pickervue_type_template_id_6a59ddb5_scoped_true_staticRenderFns = []
|
|
@@ -133713,7 +133713,7 @@ var xt_date_pickervue_type_template_id_6a59ddb5_scoped_true_staticRenderFns = []
|
|
|
133713
133713
|
|
|
133714
133714
|
// CONCATENATED MODULE: ./src/components/xt-date-picker/index.vue?vue&type=template&id=6a59ddb5&scoped=true
|
|
133715
133715
|
|
|
133716
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
133716
|
+
// 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
|
|
133717
133717
|
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)
|
|
133718
133718
|
}
|
|
133719
133719
|
var quartervue_type_template_id_4e3cbf9a_staticRenderFns = []
|
|
@@ -134007,7 +134007,7 @@ xt_date_picker.install = function (Vue) {
|
|
|
134007
134007
|
|
|
134008
134008
|
/* harmony default export */ var components_xt_date_picker = (xt_date_picker);
|
|
134009
134009
|
|
|
134010
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
134010
|
+
// 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
|
|
134011
134011
|
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()
|
|
134012
134012
|
}
|
|
134013
134013
|
var xt_chartvue_type_template_id_fcb32ff2_staticRenderFns = []
|
|
@@ -134015,7 +134015,7 @@ var xt_chartvue_type_template_id_fcb32ff2_staticRenderFns = []
|
|
|
134015
134015
|
|
|
134016
134016
|
// CONCATENATED MODULE: ./src/components/xt-chart/index.vue?vue&type=template&id=fcb32ff2
|
|
134017
134017
|
|
|
134018
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
134018
|
+
// 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
|
|
134019
134019
|
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"})
|
|
134020
134020
|
}
|
|
134021
134021
|
var XtBarvue_type_template_id_322352cf_scoped_true_staticRenderFns = []
|
|
@@ -134252,7 +134252,7 @@ var XtBar_component = normalizeComponent(
|
|
|
134252
134252
|
)
|
|
134253
134253
|
|
|
134254
134254
|
/* harmony default export */ var XtBar = (XtBar_component.exports);
|
|
134255
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
134255
|
+
// 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
|
|
134256
134256
|
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"})
|
|
134257
134257
|
}
|
|
134258
134258
|
var XtLinevue_type_template_id_7dc068e4_scoped_true_staticRenderFns = []
|
|
@@ -134435,7 +134435,7 @@ var XtLine_component = normalizeComponent(
|
|
|
134435
134435
|
)
|
|
134436
134436
|
|
|
134437
134437
|
/* harmony default export */ var XtLine = (XtLine_component.exports);
|
|
134438
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
134438
|
+
// 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
|
|
134439
134439
|
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"})
|
|
134440
134440
|
}
|
|
134441
134441
|
var XtPievue_type_template_id_3c07422e_scoped_true_staticRenderFns = []
|
|
@@ -134627,7 +134627,7 @@ var XtPie_component = normalizeComponent(
|
|
|
134627
134627
|
)
|
|
134628
134628
|
|
|
134629
134629
|
/* harmony default export */ var XtPie = (XtPie_component.exports);
|
|
134630
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
134630
|
+
// 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
|
|
134631
134631
|
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"})
|
|
134632
134632
|
}
|
|
134633
134633
|
var XtMultivue_type_template_id_43d39824_scoped_true_staticRenderFns = []
|
|
@@ -135068,7 +135068,7 @@ xt_chart.install = function (Vue) {
|
|
|
135068
135068
|
|
|
135069
135069
|
/* harmony default export */ var components_xt_chart = (xt_chart);
|
|
135070
135070
|
|
|
135071
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
135071
|
+
// 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
|
|
135072
135072
|
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)
|
|
135073
135073
|
}
|
|
135074
135074
|
var xt_iconvue_type_template_id_0e301b72_scoped_true_staticRenderFns = []
|
|
@@ -135246,7 +135246,7 @@ xt_icon.install = function (Vue) {
|
|
|
135246
135246
|
|
|
135247
135247
|
/* harmony default export */ var components_xt_icon = (xt_icon);
|
|
135248
135248
|
|
|
135249
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
135249
|
+
// 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
|
|
135250
135250
|
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()])
|
|
135251
135251
|
}
|
|
135252
135252
|
var xt_tablevue_type_template_id_0fa7d6af_scoped_true_staticRenderFns = []
|
|
@@ -135300,7 +135300,7 @@ var XtTableCell_component = normalizeComponent(
|
|
|
135300
135300
|
)
|
|
135301
135301
|
|
|
135302
135302
|
/* harmony default export */ var XtTableCell = (XtTableCell_component.exports);
|
|
135303
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
135303
|
+
// 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
|
|
135304
135304
|
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)
|
|
135305
135305
|
}
|
|
135306
135306
|
var VirtualElTablevue_type_template_id_01f7dcee_scoped_true_staticRenderFns = []
|
|
@@ -135909,6 +135909,196 @@ xt_table.install = function (Vue) {
|
|
|
135909
135909
|
|
|
135910
135910
|
/* harmony default export */ var components_xt_table = (xt_table);
|
|
135911
135911
|
|
|
135912
|
+
// 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
|
|
135913
|
+
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()])
|
|
135914
|
+
}
|
|
135915
|
+
var xt_scroll_arrowvue_type_template_id_fa161f32_staticRenderFns = []
|
|
135916
|
+
|
|
135917
|
+
|
|
135918
|
+
// CONCATENATED MODULE: ./src/components/xt-scroll-arrow/index.vue?vue&type=template&id=fa161f32
|
|
135919
|
+
|
|
135920
|
+
// 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
|
|
135921
|
+
|
|
135922
|
+
/* harmony default export */ var xt_scroll_arrowvue_type_script_lang_js = ({
|
|
135923
|
+
name: 'XtScrollArrow',
|
|
135924
|
+
props: {
|
|
135925
|
+
direction: {
|
|
135926
|
+
type: String,
|
|
135927
|
+
default: 'horizontal',
|
|
135928
|
+
validator: (val) => ['horizontal', 'vertical'].includes(val)
|
|
135929
|
+
},
|
|
135930
|
+
scrollStep: {
|
|
135931
|
+
type: Number,
|
|
135932
|
+
default: 100
|
|
135933
|
+
},
|
|
135934
|
+
autoHide: {
|
|
135935
|
+
type: Boolean,
|
|
135936
|
+
default: true
|
|
135937
|
+
},
|
|
135938
|
+
height: {
|
|
135939
|
+
type: [String, Number],
|
|
135940
|
+
default: ''
|
|
135941
|
+
},
|
|
135942
|
+
width: {
|
|
135943
|
+
type: [String, Number],
|
|
135944
|
+
default: ''
|
|
135945
|
+
}
|
|
135946
|
+
},
|
|
135947
|
+
data() {
|
|
135948
|
+
return {
|
|
135949
|
+
showLeftArrow: false,
|
|
135950
|
+
showRightArrow: false,
|
|
135951
|
+
showTopArrow: false,
|
|
135952
|
+
showBottomArrow: false
|
|
135953
|
+
}
|
|
135954
|
+
},
|
|
135955
|
+
computed: {
|
|
135956
|
+
containerStyle() {
|
|
135957
|
+
const style = {}
|
|
135958
|
+
if (this.height) {
|
|
135959
|
+
style.height = typeof this.height === 'number' ? `${this.height}px` : this.height
|
|
135960
|
+
}
|
|
135961
|
+
if (this.width) {
|
|
135962
|
+
style.width = typeof this.width === 'number' ? `${this.width}px` : this.width
|
|
135963
|
+
}
|
|
135964
|
+
return style
|
|
135965
|
+
}
|
|
135966
|
+
},
|
|
135967
|
+
watch: {
|
|
135968
|
+
direction() {
|
|
135969
|
+
this.$nextTick(() => {
|
|
135970
|
+
this.checkScroll()
|
|
135971
|
+
})
|
|
135972
|
+
}
|
|
135973
|
+
},
|
|
135974
|
+
mounted() {
|
|
135975
|
+
this.$nextTick(() => {
|
|
135976
|
+
this.checkScroll()
|
|
135977
|
+
})
|
|
135978
|
+
this.addResizeObserver()
|
|
135979
|
+
},
|
|
135980
|
+
beforeDestroy() {
|
|
135981
|
+
this.removeResizeObserver()
|
|
135982
|
+
},
|
|
135983
|
+
methods: {
|
|
135984
|
+
addResizeObserver() {
|
|
135985
|
+
if (typeof ResizeObserver !== 'undefined') {
|
|
135986
|
+
this.resizeObserver = new ResizeObserver(() => {
|
|
135987
|
+
this.$nextTick(() => {
|
|
135988
|
+
this.checkScroll()
|
|
135989
|
+
})
|
|
135990
|
+
})
|
|
135991
|
+
const container = this.$refs.scrollContainer
|
|
135992
|
+
if (container) {
|
|
135993
|
+
this.resizeObserver.observe(container)
|
|
135994
|
+
}
|
|
135995
|
+
}
|
|
135996
|
+
},
|
|
135997
|
+
removeResizeObserver() {
|
|
135998
|
+
if (this.resizeObserver) {
|
|
135999
|
+
this.resizeObserver.disconnect()
|
|
136000
|
+
}
|
|
136001
|
+
},
|
|
136002
|
+
checkScroll() {
|
|
136003
|
+
const container = this.$refs.scrollContainer
|
|
136004
|
+
if (!container) return
|
|
136005
|
+
|
|
136006
|
+
if (this.direction === 'horizontal') {
|
|
136007
|
+
const scrollLeft = container.scrollLeft
|
|
136008
|
+
const scrollWidth = container.scrollWidth
|
|
136009
|
+
const clientWidth = container.clientWidth
|
|
136010
|
+
const maxScroll = scrollWidth - clientWidth
|
|
136011
|
+
|
|
136012
|
+
this.showTopArrow = false
|
|
136013
|
+
this.showBottomArrow = false
|
|
136014
|
+
|
|
136015
|
+
if (this.autoHide) {
|
|
136016
|
+
this.showLeftArrow = scrollLeft > 0
|
|
136017
|
+
this.showRightArrow = maxScroll > 0 && scrollLeft < maxScroll
|
|
136018
|
+
} else {
|
|
136019
|
+
this.showLeftArrow = maxScroll > 0
|
|
136020
|
+
this.showRightArrow = maxScroll > 0
|
|
136021
|
+
}
|
|
136022
|
+
} else {
|
|
136023
|
+
const scrollTop = container.scrollTop
|
|
136024
|
+
const scrollHeight = container.scrollHeight
|
|
136025
|
+
const clientHeight = container.clientHeight
|
|
136026
|
+
const maxScroll = scrollHeight - clientHeight
|
|
136027
|
+
|
|
136028
|
+
this.showLeftArrow = false
|
|
136029
|
+
this.showRightArrow = false
|
|
136030
|
+
|
|
136031
|
+
if (this.autoHide) {
|
|
136032
|
+
this.showTopArrow = scrollTop > 0
|
|
136033
|
+
this.showBottomArrow = maxScroll > 0 && scrollTop < maxScroll
|
|
136034
|
+
} else {
|
|
136035
|
+
this.showTopArrow = maxScroll > 0
|
|
136036
|
+
this.showBottomArrow = maxScroll > 0
|
|
136037
|
+
}
|
|
136038
|
+
}
|
|
136039
|
+
},
|
|
136040
|
+
handleScroll() {
|
|
136041
|
+
this.checkScroll()
|
|
136042
|
+
this.$emit('scroll', this.$refs.scrollContainer)
|
|
136043
|
+
},
|
|
136044
|
+
scrollLeft() {
|
|
136045
|
+
const container = this.$refs.scrollContainer
|
|
136046
|
+
if (container) {
|
|
136047
|
+
container.scrollBy({ left: -this.scrollStep, behavior: 'smooth' })
|
|
136048
|
+
}
|
|
136049
|
+
},
|
|
136050
|
+
scrollRight() {
|
|
136051
|
+
const container = this.$refs.scrollContainer
|
|
136052
|
+
if (container) {
|
|
136053
|
+
container.scrollBy({ left: this.scrollStep, behavior: 'smooth' })
|
|
136054
|
+
}
|
|
136055
|
+
},
|
|
136056
|
+
scrollTop() {
|
|
136057
|
+
const container = this.$refs.scrollContainer
|
|
136058
|
+
if (container) {
|
|
136059
|
+
container.scrollBy({ top: -this.scrollStep, behavior: 'smooth' })
|
|
136060
|
+
}
|
|
136061
|
+
},
|
|
136062
|
+
scrollBottom() {
|
|
136063
|
+
const container = this.$refs.scrollContainer
|
|
136064
|
+
if (container) {
|
|
136065
|
+
container.scrollBy({ top: this.scrollStep, behavior: 'smooth' })
|
|
136066
|
+
}
|
|
136067
|
+
}
|
|
136068
|
+
}
|
|
136069
|
+
});
|
|
136070
|
+
|
|
136071
|
+
// CONCATENATED MODULE: ./src/components/xt-scroll-arrow/index.vue?vue&type=script&lang=js
|
|
136072
|
+
/* harmony default export */ var components_xt_scroll_arrowvue_type_script_lang_js = (xt_scroll_arrowvue_type_script_lang_js);
|
|
136073
|
+
// CONCATENATED MODULE: ./src/components/xt-scroll-arrow/index.vue
|
|
136074
|
+
|
|
136075
|
+
|
|
136076
|
+
|
|
136077
|
+
|
|
136078
|
+
|
|
136079
|
+
/* normalize component */
|
|
136080
|
+
|
|
136081
|
+
var xt_scroll_arrow_component = normalizeComponent(
|
|
136082
|
+
components_xt_scroll_arrowvue_type_script_lang_js,
|
|
136083
|
+
xt_scroll_arrowvue_type_template_id_fa161f32_render,
|
|
136084
|
+
xt_scroll_arrowvue_type_template_id_fa161f32_staticRenderFns,
|
|
136085
|
+
false,
|
|
136086
|
+
null,
|
|
136087
|
+
null,
|
|
136088
|
+
null
|
|
136089
|
+
|
|
136090
|
+
)
|
|
136091
|
+
|
|
136092
|
+
/* harmony default export */ var xt_scroll_arrow = (xt_scroll_arrow_component.exports);
|
|
136093
|
+
// CONCATENATED MODULE: ./src/components/xt-scroll-arrow/index.js
|
|
136094
|
+
|
|
136095
|
+
|
|
136096
|
+
xt_scroll_arrow.install = function (Vue) {
|
|
136097
|
+
Vue.component(xt_scroll_arrow.name, xt_scroll_arrow)
|
|
136098
|
+
}
|
|
136099
|
+
|
|
136100
|
+
/* harmony default export */ var components_xt_scroll_arrow = (xt_scroll_arrow);
|
|
136101
|
+
|
|
135912
136102
|
// CONCATENATED MODULE: ./src/components/xt-table/virtualScrollData.js
|
|
135913
136103
|
/**
|
|
135914
136104
|
* 生成虚拟滚动演示数据
|
|
@@ -135988,6 +136178,7 @@ const { getConfig: src_getConfig, setConfig: src_setConfig, getTheme: src_getThe
|
|
|
135988
136178
|
// XtTable 组件(基于 ElementUI Table 封装)
|
|
135989
136179
|
|
|
135990
136180
|
|
|
136181
|
+
|
|
135991
136182
|
const src_components = [
|
|
135992
136183
|
components_xt_button,
|
|
135993
136184
|
components_xt_input,
|
|
@@ -136009,7 +136200,8 @@ const src_components = [
|
|
|
136009
136200
|
components_xt_date_picker,
|
|
136010
136201
|
components_xt_chart,
|
|
136011
136202
|
components_xt_icon,
|
|
136012
|
-
components_xt_table
|
|
136203
|
+
components_xt_table,
|
|
136204
|
+
components_xt_scroll_arrow
|
|
136013
136205
|
]
|
|
136014
136206
|
|
|
136015
136207
|
const install = function (Vue, options = {}) {
|
|
@@ -136078,7 +136270,8 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
136078
136270
|
XtBadge: components_xt_badge,
|
|
136079
136271
|
XtDatePicker: components_xt_date_picker,
|
|
136080
136272
|
XtIcon: components_xt_icon,
|
|
136081
|
-
XtTable: components_xt_table
|
|
136273
|
+
XtTable: components_xt_table,
|
|
136274
|
+
XtScrollArrow: components_xt_scroll_arrow
|
|
136082
136275
|
});
|
|
136083
136276
|
|
|
136084
136277
|
// XtChart 组件按需导出(使用时需自行安装 echarts 依赖)
|