vxe-table 3.8.23 → 3.8.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/button/style/style.css +10 -10
- package/lib/button/style/style.min.css +1 -1
- package/lib/custom/src/mixin.js +1 -1
- package/lib/custom/src/mixin.min.js +1 -1
- package/lib/custom/src/panel.js +18 -7
- package/lib/custom/src/panel.min.js +1 -1
- package/lib/edit/src/mixin.js +8 -2
- package/lib/edit/src/mixin.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.umd.js +99 -40
- package/lib/index.umd.min.js +1 -1
- package/lib/keyboard/src/mixin.js +1 -1
- package/lib/keyboard/src/mixin.min.js +1 -1
- package/lib/locale/lang/en-US.js +2 -1
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +2 -1
- package/lib/locale/lang/es-ES.js +2 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +2 -1
- package/lib/locale/lang/hu-HU.d.ts +8 -0
- package/lib/locale/lang/hu-HU.js +675 -0
- package/lib/locale/lang/hu-HU.min.js +1 -0
- package/lib/locale/lang/hu-HU.umd.js +689 -0
- package/lib/locale/lang/ja-JP.js +2 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +2 -1
- package/lib/locale/lang/ko-KR.d.ts +8 -0
- package/lib/locale/lang/ko-KR.js +675 -0
- package/lib/locale/lang/ko-KR.min.js +1 -0
- package/lib/locale/lang/ko-KR.umd.js +689 -0
- package/lib/locale/lang/pt-BR.js +2 -1
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +2 -1
- package/lib/locale/lang/ru-RU.d.ts +8 -0
- package/lib/locale/lang/ru-RU.js +675 -0
- package/lib/locale/lang/ru-RU.min.js +1 -0
- package/lib/locale/lang/ru-RU.umd.js +689 -0
- package/lib/locale/lang/uk-UA.d.ts +8 -0
- package/lib/locale/lang/uk-UA.js +675 -0
- package/lib/locale/lang/uk-UA.min.js +1 -0
- package/lib/locale/lang/uk-UA.umd.js +689 -0
- package/lib/locale/lang/zh-CHT.d.ts +8 -0
- package/lib/locale/lang/zh-CHT.js +675 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -0
- package/lib/locale/lang/zh-CHT.umd.js +689 -0
- package/lib/locale/lang/zh-CN.js +2 -1
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +2 -1
- package/lib/locale/lang/zh-HK.js +2 -2
- package/lib/locale/lang/zh-HK.min.js +1 -1
- package/lib/locale/lang/zh-HK.umd.js +7 -672
- package/lib/locale/lang/zh-MO.js +2 -2
- package/lib/locale/lang/zh-MO.min.js +1 -1
- package/lib/locale/lang/zh-MO.umd.js +7 -672
- package/lib/locale/lang/zh-TC.js +3 -668
- package/lib/locale/lang/zh-TC.min.js +1 -1
- package/lib/locale/lang/zh-TC.umd.js +7 -672
- package/lib/locale/lang/zh-TW.js +2 -2
- package/lib/locale/lang/zh-TW.min.js +1 -1
- package/lib/locale/lang/zh-TW.umd.js +7 -672
- package/lib/modal/src/modal.js +5 -0
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/body.js +1 -0
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/cell.js +9 -7
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/methods.js +17 -9
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/style/style.css +1 -0
- package/lib/table/style/style.min.css +1 -1
- package/lib/textarea/src/textarea.js +2 -2
- package/lib/textarea/src/textarea.min.js +1 -1
- package/lib/textarea/style/style.css +4 -3
- package/lib/textarea/style/style.min.css +1 -1
- package/lib/tools/log.js +1 -1
- package/lib/tools/log.min.js +1 -1
- package/lib/tooltip/src/tooltip.js +23 -7
- package/lib/tooltip/src/tooltip.min.js +1 -1
- package/lib/v-x-e-table/index.js +7 -1
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/validator/src/mixin.js +1 -1
- package/lib/validator/src/mixin.min.js +1 -1
- package/lib/vxe-button/style/style.css +10 -10
- package/lib/vxe-button/style/style.min.css +1 -1
- package/lib/vxe-table/style/style.css +1 -0
- package/lib/vxe-table/style/style.min.css +1 -1
- package/lib/vxe-textarea/style/style.css +4 -3
- package/lib/vxe-textarea/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/custom/src/mixin.js +1 -1
- package/packages/custom/src/panel.js +18 -7
- package/packages/edit/src/mixin.js +8 -2
- package/packages/keyboard/src/mixin.js +1 -1
- package/packages/locale/lang/en-US.js +2 -1
- package/packages/locale/lang/es-ES.js +2 -1
- package/packages/locale/lang/hu-HU.d.ts +8 -0
- package/packages/locale/lang/hu-HU.js +671 -0
- package/packages/locale/lang/ja-JP.js +2 -1
- package/packages/locale/lang/ko-KR.d.ts +8 -0
- package/packages/locale/lang/ko-KR.js +671 -0
- package/packages/locale/lang/pt-BR.js +2 -1
- package/packages/locale/lang/ru-RU.d.ts +8 -0
- package/packages/locale/lang/ru-RU.js +671 -0
- package/packages/locale/lang/uk-UA.d.ts +8 -0
- package/packages/locale/lang/uk-UA.js +671 -0
- package/packages/locale/lang/zh-CHT.d.ts +8 -0
- package/packages/locale/lang/zh-CHT.js +671 -0
- package/packages/locale/lang/zh-CN.js +2 -1
- package/packages/locale/lang/zh-HK.js +2 -2
- package/packages/locale/lang/zh-MO.js +2 -2
- package/packages/locale/lang/zh-TC.js +2 -669
- package/packages/locale/lang/zh-TW.js +2 -2
- package/packages/modal/src/modal.js +6 -1
- package/packages/table/src/body.js +1 -1
- package/packages/table/src/cell.js +6 -5
- package/packages/table/src/methods.js +16 -9
- package/packages/textarea/src/textarea.js +3 -3
- package/packages/tooltip/src/tooltip.js +23 -7
- package/packages/v-x-e-table/index.js +5 -0
- package/packages/validator/src/mixin.js +1 -1
- package/styles/table.scss +1 -0
- package/styles/textarea.scss +3 -2
- package/styles/variable.scss +18 -18
- package/types/column.d.ts +57 -1
- /package/lib/icon/style/{iconfont.1724894779531.ttf → iconfont.1728875776495.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1724894779531.woff → iconfont.1728875776495.woff} +0 -0
- /package/lib/icon/style/{iconfont.1724894779531.woff2 → iconfont.1728875776495.woff2} +0 -0
- /package/lib/{iconfont.1724894779531.ttf → iconfont.1728875776495.ttf} +0 -0
- /package/lib/{iconfont.1724894779531.woff → iconfont.1728875776495.woff} +0 -0
- /package/lib/{iconfont.1724894779531.woff2 → iconfont.1728875776495.woff2} +0 -0
|
@@ -115,7 +115,7 @@ function renderColumn (h, _vm, $xetable, seq, rowid, fixedType, rowLevel, row, r
|
|
|
115
115
|
const bindMouseenter = tableListeners['cell-mouseenter']
|
|
116
116
|
const bindMouseleave = tableListeners['cell-mouseleave']
|
|
117
117
|
const triggerDblclick = (editRender && editConfig && editOpts.trigger === 'dblclick')
|
|
118
|
-
const params = { $table: $xetable, $grid: $xetable.$xegrid, seq, rowid, row, rowIndex, $rowIndex, _rowIndex, column, columnIndex, $columnIndex, _columnIndex, fixed: fixedType, type: renderType, isHidden: fixedHiddenColumn, level: rowLevel, visibleData: afterFullData, data: tableData, items }
|
|
118
|
+
const params = { $table: $xetable, $grid: $xetable.$xegrid, isEdit: false, seq, rowid, row, rowIndex, $rowIndex, _rowIndex, column, columnIndex, $columnIndex, _columnIndex, fixed: fixedType, type: renderType, isHidden: fixedHiddenColumn, level: rowLevel, visibleData: afterFullData, data: tableData, items }
|
|
119
119
|
// 虚拟滚动不支持动态高度
|
|
120
120
|
if ((scrollXLoad || scrollYLoad) && !hasEllipsis) {
|
|
121
121
|
showEllipsis = hasEllipsis = true
|
|
@@ -816,26 +816,27 @@ export const Cell = {
|
|
|
816
816
|
const { slots, editRender, formatter } = column
|
|
817
817
|
const compConf = VXETable.renderer.get(editRender.name)
|
|
818
818
|
const rtEdit = compConf ? (compConf.renderTableEdit || compConf.renderEdit) : null
|
|
819
|
+
const cellParams = Object.assign({ $type: '', isEdit }, params)
|
|
819
820
|
if (isEdit) {
|
|
820
821
|
if (slots && slots.edit) {
|
|
821
|
-
return $table.callSlot(slots.edit,
|
|
822
|
+
return $table.callSlot(slots.edit, cellParams, h)
|
|
822
823
|
}
|
|
823
824
|
if (rtEdit) {
|
|
824
|
-
return getSlotVNs(rtEdit.call($table, h, editRender,
|
|
825
|
+
return getSlotVNs(rtEdit.call($table, h, editRender, cellParams))
|
|
825
826
|
}
|
|
826
827
|
return []
|
|
827
828
|
}
|
|
828
829
|
if (slots && slots.default) {
|
|
829
|
-
return $table.callSlot(slots.default,
|
|
830
|
+
return $table.callSlot(slots.default, cellParams, h)
|
|
830
831
|
}
|
|
831
832
|
if (formatter) {
|
|
832
833
|
return [
|
|
833
834
|
h('span', {
|
|
834
835
|
class: 'vxe-cell--label'
|
|
835
|
-
}, [getDefaultCellLabel(
|
|
836
|
+
}, [getDefaultCellLabel(cellParams)])
|
|
836
837
|
]
|
|
837
838
|
}
|
|
838
|
-
return Cell.renderDefaultCell.call(_vm, h,
|
|
839
|
+
return Cell.renderDefaultCell.call(_vm, h, cellParams)
|
|
839
840
|
}
|
|
840
841
|
}
|
|
841
842
|
|
|
@@ -1882,8 +1882,8 @@ const Methods = {
|
|
|
1882
1882
|
/**
|
|
1883
1883
|
* 刷新列配置
|
|
1884
1884
|
*/
|
|
1885
|
-
refreshColumn (
|
|
1886
|
-
if (
|
|
1885
|
+
refreshColumn (initOrder) {
|
|
1886
|
+
if (initOrder) {
|
|
1887
1887
|
const columnList = XEUtils.orderBy(this.collectColumn, 'renderSortNumber')
|
|
1888
1888
|
this.collectColumn = columnList
|
|
1889
1889
|
const tableFullColumn = getColumnList(columnList)
|
|
@@ -1904,7 +1904,7 @@ const Methods = {
|
|
|
1904
1904
|
const leftList = []
|
|
1905
1905
|
const centerList = []
|
|
1906
1906
|
const rightList = []
|
|
1907
|
-
const { collectColumn, tableFullColumn, isGroup, columnStore, sXOpts, scrollXStore } = this
|
|
1907
|
+
const { collectColumn, tableFullColumn, isGroup, columnStore, sXOpts, scrollXStore, fullColumnIdData } = this
|
|
1908
1908
|
// 如果是分组表头,如果子列全部被隐藏,则根列也隐藏
|
|
1909
1909
|
if (isGroup) {
|
|
1910
1910
|
const leftGroupList = []
|
|
@@ -1989,6 +1989,13 @@ const Methods = {
|
|
|
1989
1989
|
this.clearMergeFooterItems()
|
|
1990
1990
|
}
|
|
1991
1991
|
this.scrollXLoad = scrollXLoad
|
|
1992
|
+
visibleColumn.forEach((column, index) => {
|
|
1993
|
+
const colid = column.id
|
|
1994
|
+
const rest = fullColumnIdData[colid]
|
|
1995
|
+
if (rest) {
|
|
1996
|
+
rest._index = index
|
|
1997
|
+
}
|
|
1998
|
+
})
|
|
1992
1999
|
this.visibleColumn = visibleColumn
|
|
1993
2000
|
this.handleTableColumn()
|
|
1994
2001
|
return this.updateFooter().then(() => {
|
|
@@ -2803,7 +2810,7 @@ const Methods = {
|
|
|
2803
2810
|
if (selected.row && selected.column) {
|
|
2804
2811
|
evnt.stopPropagation()
|
|
2805
2812
|
evnt.preventDefault()
|
|
2806
|
-
this.
|
|
2813
|
+
this.handleEdit(selected.args, evnt)
|
|
2807
2814
|
}
|
|
2808
2815
|
}
|
|
2809
2816
|
} else if (isContextMenu) {
|
|
@@ -2915,7 +2922,7 @@ const Methods = {
|
|
|
2915
2922
|
backMethod(params)
|
|
2916
2923
|
} else {
|
|
2917
2924
|
setCellValue(selected.row, selected.column, null)
|
|
2918
|
-
this.
|
|
2925
|
+
this.handleEdit(selected.args, evnt)
|
|
2919
2926
|
}
|
|
2920
2927
|
this.emitEvent('cell-backspace-value', params, evnt)
|
|
2921
2928
|
}
|
|
@@ -2959,7 +2966,7 @@ const Methods = {
|
|
|
2959
2966
|
editMethod(params)
|
|
2960
2967
|
} else {
|
|
2961
2968
|
setCellValue(selected.row, selected.column, null)
|
|
2962
|
-
this.
|
|
2969
|
+
this.handleEdit(selected.args, evnt)
|
|
2963
2970
|
}
|
|
2964
2971
|
const afterEditMethod = editOpts.afterEditMethod
|
|
2965
2972
|
if (afterEditMethod) {
|
|
@@ -4082,7 +4089,7 @@ const Methods = {
|
|
|
4082
4089
|
this.checkValidate('blur')
|
|
4083
4090
|
.catch(e => e)
|
|
4084
4091
|
.then(() => {
|
|
4085
|
-
this.
|
|
4092
|
+
this.handleEdit(params, evnt)
|
|
4086
4093
|
.then(() => this.checkValidate('change'))
|
|
4087
4094
|
.catch(e => e)
|
|
4088
4095
|
})
|
|
@@ -4173,12 +4180,12 @@ const Methods = {
|
|
|
4173
4180
|
this.checkValidate('blur')
|
|
4174
4181
|
.catch(e => e)
|
|
4175
4182
|
.then(() => {
|
|
4176
|
-
this.
|
|
4183
|
+
this.handleEdit(params, evnt)
|
|
4177
4184
|
.then(() => this.checkValidate('change'))
|
|
4178
4185
|
.catch(e => e)
|
|
4179
4186
|
})
|
|
4180
4187
|
} else if (editOpts.mode === 'cell') {
|
|
4181
|
-
this.
|
|
4188
|
+
this.handleEdit(params, evnt)
|
|
4182
4189
|
.then(() => this.checkValidate('change'))
|
|
4183
4190
|
.catch(e => e)
|
|
4184
4191
|
}
|
|
@@ -23,7 +23,7 @@ export default {
|
|
|
23
23
|
default: () => XEUtils.eqNull(GlobalConfig.textarea.placeholder) ? GlobalConfig.i18n('vxe.base.pleaseInput') : GlobalConfig.textarea.placeholder
|
|
24
24
|
},
|
|
25
25
|
maxlength: [String, Number],
|
|
26
|
-
rows: { type: [String, Number], default:
|
|
26
|
+
rows: { type: [String, Number], default: null },
|
|
27
27
|
cols: { type: [String, Number], default: null },
|
|
28
28
|
showWordCount: Boolean,
|
|
29
29
|
countMethod: Function,
|
|
@@ -102,8 +102,8 @@ export default {
|
|
|
102
102
|
[`size--${vSize}`]: vSize,
|
|
103
103
|
'is--autosize': autosize,
|
|
104
104
|
'is--disabled': disabled,
|
|
105
|
-
'
|
|
106
|
-
'
|
|
105
|
+
'is--rows': !XEUtils.eqNull(rows),
|
|
106
|
+
'is--cols': !XEUtils.eqNull(cols)
|
|
107
107
|
}],
|
|
108
108
|
attrs: {
|
|
109
109
|
spellcheck: false
|
|
@@ -43,11 +43,12 @@ function showTip (_vm) {
|
|
|
43
43
|
|
|
44
44
|
function renderContent (h, _vm) {
|
|
45
45
|
const { $scopedSlots, useHTML, tipContent } = _vm
|
|
46
|
-
|
|
46
|
+
const contentSlot = $scopedSlots.content
|
|
47
|
+
if (contentSlot) {
|
|
47
48
|
return h('div', {
|
|
48
49
|
key: 1,
|
|
49
50
|
class: 'vxe-table--tooltip-content'
|
|
50
|
-
},
|
|
51
|
+
}, contentSlot.call(this, {}))
|
|
51
52
|
}
|
|
52
53
|
if (useHTML) {
|
|
53
54
|
return h('div', {
|
|
@@ -102,7 +103,11 @@ export default {
|
|
|
102
103
|
},
|
|
103
104
|
value (value) {
|
|
104
105
|
if (!this.isUpdate) {
|
|
105
|
-
|
|
106
|
+
if (value) {
|
|
107
|
+
this.handleVisible(this.target, this.content)
|
|
108
|
+
} else {
|
|
109
|
+
this.close()
|
|
110
|
+
}
|
|
106
111
|
}
|
|
107
112
|
this.isUpdate = false
|
|
108
113
|
}
|
|
@@ -140,7 +145,7 @@ export default {
|
|
|
140
145
|
}
|
|
141
146
|
}
|
|
142
147
|
if (value) {
|
|
143
|
-
this.
|
|
148
|
+
this.handleVisible(target, content)
|
|
144
149
|
}
|
|
145
150
|
}
|
|
146
151
|
},
|
|
@@ -190,7 +195,7 @@ export default {
|
|
|
190
195
|
},
|
|
191
196
|
methods: {
|
|
192
197
|
open (target, content) {
|
|
193
|
-
return this.
|
|
198
|
+
return this.handleVisible(target || this.target, content)
|
|
194
199
|
},
|
|
195
200
|
close () {
|
|
196
201
|
this.tipTarget = null
|
|
@@ -218,6 +223,13 @@ export default {
|
|
|
218
223
|
}
|
|
219
224
|
},
|
|
220
225
|
toVisible (target, content) {
|
|
226
|
+
return this.handleVisible(target, content)
|
|
227
|
+
},
|
|
228
|
+
handleVisible (target, content) {
|
|
229
|
+
const contentSlot = this.$scopedSlots.default
|
|
230
|
+
if (!contentSlot && (content === '' || XEUtils.eqNull(content))) {
|
|
231
|
+
return this.$nextTick()
|
|
232
|
+
}
|
|
221
233
|
if (target) {
|
|
222
234
|
const { trigger, enterDelay } = this
|
|
223
235
|
this.tipActive = true
|
|
@@ -249,10 +261,14 @@ export default {
|
|
|
249
261
|
this.tipActive = !!actived
|
|
250
262
|
},
|
|
251
263
|
clickEvent () {
|
|
252
|
-
this
|
|
264
|
+
if (this.visible) {
|
|
265
|
+
this.close()
|
|
266
|
+
} else {
|
|
267
|
+
this.handleVisible(this.target, this.content)
|
|
268
|
+
}
|
|
253
269
|
},
|
|
254
270
|
targetMouseenterEvent () {
|
|
255
|
-
this.
|
|
271
|
+
this.handleVisible(this.target, this.content)
|
|
256
272
|
},
|
|
257
273
|
targetMouseleaveEvent () {
|
|
258
274
|
const { trigger, enterable, leaveDelay } = this
|
|
@@ -64,6 +64,10 @@ export const setConfig = (options) => {
|
|
|
64
64
|
return VxeUI
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
export function getConfig (key, defaultValue) {
|
|
68
|
+
return arguments.length ? XEUtils.get(GlobalConfig, key, defaultValue) : GlobalConfig
|
|
69
|
+
}
|
|
70
|
+
|
|
67
71
|
class VXETableConfig {
|
|
68
72
|
/**
|
|
69
73
|
* 获取当前的 zIndex
|
|
@@ -160,6 +164,7 @@ export const VxeUI = {
|
|
|
160
164
|
reg,
|
|
161
165
|
use,
|
|
162
166
|
setConfig,
|
|
167
|
+
getConfig,
|
|
163
168
|
setIcon,
|
|
164
169
|
globalStore,
|
|
165
170
|
interceptor,
|
|
@@ -94,7 +94,7 @@ export default {
|
|
|
94
94
|
this.emitEvent('valid-error', params)
|
|
95
95
|
resolve()
|
|
96
96
|
} else {
|
|
97
|
-
this.
|
|
97
|
+
this.handleEdit(params, { type: 'valid-error', trigger: 'call' }).then(() => {
|
|
98
98
|
setTimeout(() => {
|
|
99
99
|
resolve(this.showValidTooltip(params))
|
|
100
100
|
}, 10)
|
package/styles/table.scss
CHANGED
package/styles/textarea.scss
CHANGED
package/styles/variable.scss
CHANGED
|
@@ -23,26 +23,26 @@ $vxe-danger-color: #f56c6c !default;
|
|
|
23
23
|
/*layout*/
|
|
24
24
|
$vxe-layout-background-color: #fff !default;
|
|
25
25
|
|
|
26
|
-
$vxe-font-lighten-color:
|
|
27
|
-
$vxe-primary-lighten-color:
|
|
28
|
-
$vxe-success-lighten-color:
|
|
29
|
-
$vxe-info-lighten-color:
|
|
30
|
-
$vxe-warning-lighten-color:
|
|
31
|
-
$vxe-danger-lighten-color:
|
|
32
|
-
|
|
33
|
-
$vxe-font-darken-color:
|
|
34
|
-
$vxe-primary-darken-color:
|
|
35
|
-
$vxe-success-darken-color:
|
|
36
|
-
$vxe-info-darken-color:
|
|
37
|
-
$vxe-warning-darken-color:
|
|
38
|
-
$vxe-danger-darken-color:
|
|
26
|
+
$vxe-font-lighten-color: #797b80 !default;
|
|
27
|
+
$vxe-primary-lighten-color: #73b8ff !default;
|
|
28
|
+
$vxe-success-lighten-color: #85cf60!default;
|
|
29
|
+
$vxe-info-lighten-color: #abadb1 !default;
|
|
30
|
+
$vxe-warning-lighten-color: #ecb869 !default;
|
|
31
|
+
$vxe-danger-lighten-color: #f89c9c !default;
|
|
32
|
+
|
|
33
|
+
$vxe-font-darken-color: #47494c !default;
|
|
34
|
+
$vxe-primary-darken-color: #0d84ff !default;
|
|
35
|
+
$vxe-success-darken-color: #529b2e !default;
|
|
36
|
+
$vxe-info-darken-color: #767980 !default;
|
|
37
|
+
$vxe-warning-darken-color: #d48a1b !default;
|
|
38
|
+
$vxe-danger-darken-color: #f56c6c !default;
|
|
39
39
|
|
|
40
40
|
$vxe-font-disabled-color: #BFBFBF !default;
|
|
41
|
-
$vxe-primary-disabled-color:
|
|
42
|
-
$vxe-success-disabled-color:
|
|
43
|
-
$vxe-info-disabled-color:
|
|
44
|
-
$vxe-warning-disabled-color:
|
|
45
|
-
$vxe-danger-disabled-color:
|
|
41
|
+
$vxe-primary-disabled-color: #a6d2ff !default;
|
|
42
|
+
$vxe-success-disabled-color: #a3db87 !default;
|
|
43
|
+
$vxe-info-disabled-color: #c5c7ca !default;
|
|
44
|
+
$vxe-warning-disabled-color: l#d48a1b !default;
|
|
45
|
+
$vxe-danger-disabled-color: #f5a8a8 !default;
|
|
46
46
|
|
|
47
47
|
/*input/radio/checkbox*/
|
|
48
48
|
$vxe-input-border-color: #dcdfe6 !default;
|
package/types/column.d.ts
CHANGED
|
@@ -336,30 +336,86 @@ export class ColumnInfo {
|
|
|
336
336
|
editRender: ColumnEditRenderOptions;
|
|
337
337
|
contentRender: ColumnContentRenderOptions;
|
|
338
338
|
|
|
339
|
+
/**
|
|
340
|
+
* @private
|
|
341
|
+
*/
|
|
339
342
|
id: string;
|
|
343
|
+
/**
|
|
344
|
+
* @private
|
|
345
|
+
*/
|
|
340
346
|
parentId: string;
|
|
347
|
+
/**
|
|
348
|
+
* @private
|
|
349
|
+
*/
|
|
341
350
|
level: number;
|
|
351
|
+
/**
|
|
352
|
+
* @private
|
|
353
|
+
*/
|
|
342
354
|
rowSpan: number;
|
|
355
|
+
/**
|
|
356
|
+
* @private
|
|
357
|
+
*/
|
|
343
358
|
colSpan: number;
|
|
359
|
+
/**
|
|
360
|
+
* @private
|
|
361
|
+
*/
|
|
344
362
|
visible: boolean;
|
|
363
|
+
/**
|
|
364
|
+
* @private
|
|
365
|
+
*/
|
|
345
366
|
halfVisible: boolean;
|
|
367
|
+
/**
|
|
368
|
+
* @private
|
|
369
|
+
*/
|
|
346
370
|
defaultVisible: any;
|
|
371
|
+
/**
|
|
372
|
+
* @private
|
|
373
|
+
*/
|
|
347
374
|
checked: boolean;
|
|
375
|
+
/**
|
|
376
|
+
* @private
|
|
377
|
+
*/
|
|
348
378
|
halfChecked: boolean;
|
|
379
|
+
/**
|
|
380
|
+
* @private
|
|
381
|
+
*/
|
|
349
382
|
disabled: boolean;
|
|
383
|
+
/**
|
|
384
|
+
* @private
|
|
385
|
+
*/
|
|
350
386
|
order: string;
|
|
387
|
+
/**
|
|
388
|
+
* @private
|
|
389
|
+
*/
|
|
351
390
|
sortTime: number
|
|
391
|
+
/**
|
|
392
|
+
* @private
|
|
393
|
+
*/
|
|
352
394
|
customOrder: number
|
|
395
|
+
/**
|
|
396
|
+
* @private
|
|
397
|
+
*/
|
|
353
398
|
renderWidth: number;
|
|
399
|
+
/**
|
|
400
|
+
* @private
|
|
401
|
+
*/
|
|
354
402
|
renderHeight: number;
|
|
403
|
+
/**
|
|
404
|
+
* @private
|
|
405
|
+
*/
|
|
355
406
|
resizeWidth: number;
|
|
407
|
+
/**
|
|
408
|
+
* @private
|
|
409
|
+
*/
|
|
356
410
|
model: {
|
|
357
411
|
update: boolean;
|
|
358
412
|
value: any;
|
|
359
413
|
};
|
|
360
414
|
|
|
361
415
|
children: ColumnInfo[];
|
|
362
|
-
|
|
416
|
+
/**
|
|
417
|
+
* 获取列标题
|
|
418
|
+
*/
|
|
363
419
|
getTitle(): string;
|
|
364
420
|
[key: string]: any;
|
|
365
421
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|