vxe-table 3.10.3 → 3.10.4
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/es/style.css +1 -1
- package/es/table/src/cell.js +2 -2
- package/es/ui/index.js +2 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +5 -3
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/cell.js +2 -1
- package/lib/table/src/cell.min.js +1 -1
- package/lib/ui/index.js +2 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +1 -1
- package/packages/table/src/cell.ts +2 -2
- package/packages/ui/index.ts +1 -0
- /package/es/{iconfont.1730898131844.ttf → iconfont.1730945625063.ttf} +0 -0
- /package/es/{iconfont.1730898131844.woff → iconfont.1730945625063.woff} +0 -0
- /package/es/{iconfont.1730898131844.woff2 → iconfont.1730945625063.woff2} +0 -0
- /package/lib/{iconfont.1730898131844.ttf → iconfont.1730945625063.ttf} +0 -0
- /package/lib/{iconfont.1730898131844.woff → iconfont.1730945625063.woff} +0 -0
- /package/lib/{iconfont.1730898131844.woff2 → iconfont.1730945625063.woff2} +0 -0
package/lib/ui/src/log.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");let log=_core.VxeUI.log,version="table v3.10.
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");let log=_core.VxeUI.log,version="table v3.10.4",warnLog=exports.warnLog=log.create("warn",version),errLog=exports.errLog=log.create("error",version);
|
package/package.json
CHANGED
|
@@ -51,7 +51,7 @@ function renderTitleSuffixIcon (h: CreateElement, params: any) {
|
|
|
51
51
|
function renderCellDragIcon (h: CreateElement, params: any) {
|
|
52
52
|
const { $table } = params
|
|
53
53
|
const dragOpts = $table.computeDragOpts
|
|
54
|
-
const { rowDisabledMethod } = dragOpts
|
|
54
|
+
const { rowIcon, rowDisabledMethod } = dragOpts
|
|
55
55
|
const isDisabled = rowDisabledMethod && rowDisabledMethod(params)
|
|
56
56
|
return h('span', {
|
|
57
57
|
key: 'dg',
|
|
@@ -68,7 +68,7 @@ function renderCellDragIcon (h: CreateElement, params: any) {
|
|
|
68
68
|
}
|
|
69
69
|
}, [
|
|
70
70
|
h('i', {
|
|
71
|
-
class:
|
|
71
|
+
class: rowIcon || getIcon().TABLE_DRAG_ROW
|
|
72
72
|
})
|
|
73
73
|
])
|
|
74
74
|
}
|
package/packages/ui/index.ts
CHANGED
|
@@ -239,6 +239,7 @@ VxeUI.setIcon({
|
|
|
239
239
|
TABLE_RADIO_UNCHECKED: iconPrefix + 'radio-unchecked',
|
|
240
240
|
TABLE_CUSTOM_SORT: iconPrefix + 'drag-handle',
|
|
241
241
|
TABLE_MENU_OPTIONS: iconPrefix + 'arrow-right',
|
|
242
|
+
TABLE_DRAG_ROW: iconPrefix + 'drag-handle',
|
|
242
243
|
|
|
243
244
|
// toolbar
|
|
244
245
|
TOOLBAR_TOOLS_REFRESH: iconPrefix + 'repeat',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|