vxe-table 4.7.69 → 4.7.70
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/render/index.js +4 -5
- package/es/table/src/table.js +1 -1
- package/es/ui/index.js +2 -2
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +8 -8
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/render/index.js +4 -4
- package/lib/table/render/index.min.js +1 -1
- package/lib/table/src/table.js +1 -1
- package/lib/table/src/table.min.js +1 -1
- package/lib/ui/index.js +2 -2
- 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 +2 -2
- package/packages/table/render/index.ts +4 -4
- package/packages/table/src/table.ts +1 -1
- /package/es/{iconfont.1724470833265.ttf → iconfont.1724578101191.ttf} +0 -0
- /package/es/{iconfont.1724470833265.woff → iconfont.1724578101191.woff} +0 -0
- /package/es/{iconfont.1724470833265.woff2 → iconfont.1724578101191.woff2} +0 -0
- /package/lib/{iconfont.1724470833265.ttf → iconfont.1724578101191.ttf} +0 -0
- /package/lib/{iconfont.1724470833265.woff → iconfont.1724578101191.woff} +0 -0
- /package/lib/{iconfont.1724470833265.woff2 → iconfont.1724578101191.woff2} +0 -0
package/lib/ui/src/log.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");const log=_core.VxeUI["log"],version="table v4.7.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");const log=_core.VxeUI["log"],version="table v4.7.70",warnLog=exports.warnLog=log.create("warn",version),errLog=exports.errLog=log.create("error",version);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vxe-table",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.70",
|
|
4
4
|
"description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟树、列拖拽,懒加载、快捷菜单、数据校验、树形结构、打印、导入导出、自定义模板、渲染器、JSON 配置式...",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"update": "npm install --legacy-peer-deps",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"style": "lib/style.css",
|
|
29
29
|
"typings": "types/index.d.ts",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"vxe-pc-ui": "^4.1.
|
|
31
|
+
"vxe-pc-ui": "^4.1.6"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/resize-observer-browser": "^0.1.11",
|
|
@@ -29,6 +29,7 @@ function getChangeEvent (renderOpts: any) {
|
|
|
29
29
|
case 'input':
|
|
30
30
|
case 'textarea':
|
|
31
31
|
case 'VxeInput':
|
|
32
|
+
case 'VxeNumberInput':
|
|
32
33
|
case 'VxeTextarea':
|
|
33
34
|
case '$input':
|
|
34
35
|
case '$textarea':
|
|
@@ -215,15 +216,14 @@ function getEditOns (renderOpts: any, params: any) {
|
|
|
215
216
|
const isImmediate = isImmediateCell(renderOpts, params)
|
|
216
217
|
return getComponentOns(renderOpts, params, (cellValue: any) => {
|
|
217
218
|
// 处理 model 值双向绑定
|
|
219
|
+
model.update = true
|
|
220
|
+
model.value = cellValue
|
|
218
221
|
if (isImmediate) {
|
|
219
222
|
setCellValue(row, column, cellValue)
|
|
220
|
-
} else {
|
|
221
|
-
model.update = true
|
|
222
|
-
model.value = cellValue
|
|
223
223
|
}
|
|
224
224
|
}, (eventParams: any) => {
|
|
225
225
|
// 处理 change 事件相关逻辑
|
|
226
|
-
if (!isImmediate && (['VxeInput', 'VxeTextarea', '$input', '$textarea'].includes(name))) {
|
|
226
|
+
if (!isImmediate && (['VxeInput', 'VxeNumberInput', 'VxeTextarea', '$input', '$textarea'].includes(name))) {
|
|
227
227
|
const cellValue = eventParams.value
|
|
228
228
|
model.update = true
|
|
229
229
|
model.value = cellValue
|
|
@@ -1438,7 +1438,7 @@ export default defineComponent({
|
|
|
1438
1438
|
const { filterMethod, filterRender } = column
|
|
1439
1439
|
const compConf = isEnableConf(filterRender) ? renderer.get(filterRender.name) : null
|
|
1440
1440
|
const compFilterMethod = compConf ? (compConf.tableFilterMethod || compConf.filterMethod) : null
|
|
1441
|
-
const tdFilterMethod = compConf ? (compConf.defaultTableFilterMethod || compConf.defaultFilterMethod) : null
|
|
1441
|
+
const tdFilterMethod = compConf ? (compConf.tableFilterDefaultMethod || compConf.defaultTableFilterMethod || compConf.defaultFilterMethod) : null
|
|
1442
1442
|
const cellValue = getCellValue(row, column)
|
|
1443
1443
|
if (filterMethod) {
|
|
1444
1444
|
return itemList.some((item) => filterMethod({ value: item.value, option: item, cellValue, row, column, $table: $xeTable }))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|