vxe-table 4.15.4 → 4.15.6
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/README.en.md +2 -6
- package/README.ja-JP.md +2 -6
- package/README.md +8 -10
- package/README.zh-TW.md +2 -6
- package/es/grid/src/emits.js +16 -0
- package/es/grid/src/grid.js +77 -62
- package/es/grid/src/props.js +7 -0
- package/es/style.css +1 -1
- package/es/table/index.js +0 -8
- package/es/table/module/custom/hook.js +3 -0
- package/es/table/module/edit/hook.js +3 -0
- package/es/table/module/export/hook.js +6 -1
- package/es/table/module/filter/hook.js +3 -0
- package/es/table/module/menu/hook.js +3 -0
- package/es/table/module/validator/hook.js +3 -0
- package/es/table/src/emits.js +1 -1
- package/es/table/src/header.js +2 -2
- package/es/table/src/props.js +1 -1
- package/es/table/src/table.js +161 -63
- package/es/table/src/util.js +1 -14
- package/es/toolbar/src/toolbar.js +2 -2
- package/es/ui/index.js +13 -4
- package/es/ui/src/log.js +1 -1
- package/lib/grid/src/emits.js +8 -0
- package/lib/grid/src/emits.min.js +1 -0
- package/lib/grid/src/grid.js +78 -54
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/grid/src/props.js +24 -0
- package/lib/grid/src/props.min.js +1 -0
- package/lib/index.umd.js +12073 -12008
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/index.js +0 -8
- package/lib/table/index.min.js +1 -1
- package/lib/table/module/custom/hook.js +3 -0
- package/lib/table/module/custom/hook.min.js +1 -1
- package/lib/table/module/edit/hook.js +3 -0
- package/lib/table/module/edit/hook.min.js +1 -1
- package/lib/table/module/export/hook.js +8 -1
- package/lib/table/module/export/hook.min.js +1 -1
- package/lib/table/module/filter/hook.js +3 -0
- package/lib/table/module/filter/hook.min.js +1 -1
- package/lib/table/module/menu/hook.js +3 -0
- package/lib/table/module/menu/hook.min.js +1 -1
- package/lib/table/module/validator/hook.js +3 -0
- package/lib/table/module/validator/hook.min.js +1 -1
- package/lib/table/src/emits.js +2 -2
- package/lib/table/src/emits.min.js +1 -1
- package/lib/table/src/header.js +2 -2
- package/lib/table/src/props.js +2 -2
- package/lib/table/src/props.min.js +1 -1
- package/lib/table/src/table.js +33 -26
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/src/util.js +1 -14
- package/lib/table/src/util.min.js +1 -1
- package/lib/toolbar/src/toolbar.js +2 -0
- package/lib/toolbar/src/toolbar.min.js +1 -1
- package/lib/ui/index.js +12 -3
- 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/grid/src/emits.ts +19 -0
- package/packages/grid/src/grid.ts +89 -85
- package/packages/grid/src/props.ts +23 -0
- package/packages/table/index.ts +0 -8
- package/packages/table/module/custom/hook.ts +3 -0
- package/packages/table/module/edit/hook.ts +3 -0
- package/packages/table/module/export/hook.ts +8 -3
- package/packages/table/module/filter/hook.ts +3 -0
- package/packages/table/module/menu/hook.ts +3 -0
- package/packages/table/module/validator/hook.ts +3 -0
- package/packages/table/src/emits.ts +2 -2
- package/packages/table/src/header.ts +5 -5
- package/packages/table/src/props.ts +1 -1
- package/packages/table/src/table.ts +167 -66
- package/packages/table/src/util.ts +1 -14
- package/packages/toolbar/src/toolbar.ts +2 -2
- package/packages/ui/index.ts +12 -2
- package/packages/ui/src/dom.ts +1 -1
- package/styles/cssvar.scss +0 -2
- /package/es/{iconfont.1754457119712.ttf → iconfont.1754905357789.ttf} +0 -0
- /package/es/{iconfont.1754457119712.woff → iconfont.1754905357789.woff} +0 -0
- /package/es/{iconfont.1754457119712.woff2 → iconfont.1754905357789.woff2} +0 -0
- /package/lib/{iconfont.1754457119712.ttf → iconfont.1754905357789.ttf} +0 -0
- /package/lib/{iconfont.1754457119712.woff → iconfont.1754905357789.woff} +0 -0
- /package/lib/{iconfont.1754457119712.woff2 → iconfont.1754905357789.woff2} +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.gridProps = void 0;
|
|
7
|
+
var _ui = require("../../ui");
|
|
8
|
+
var _props = require("../../table/src/props");
|
|
9
|
+
const {
|
|
10
|
+
getConfig
|
|
11
|
+
} = _ui.VxeUI;
|
|
12
|
+
const gridProps = exports.gridProps = Object.assign(Object.assign({}, _props.tableProps), {
|
|
13
|
+
layouts: Array,
|
|
14
|
+
columns: Array,
|
|
15
|
+
pagerConfig: Object,
|
|
16
|
+
proxyConfig: Object,
|
|
17
|
+
toolbarConfig: Object,
|
|
18
|
+
formConfig: Object,
|
|
19
|
+
zoomConfig: Object,
|
|
20
|
+
size: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: () => getConfig().grid.size || getConfig().size
|
|
23
|
+
}
|
|
24
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.gridProps=void 0;var _ui=require("../../ui"),_props=require("../../table/src/props");let getConfig=_ui.VxeUI.getConfig,gridProps=exports.gridProps=Object.assign(Object.assign({},_props.tableProps),{layouts:Array,columns:Array,pagerConfig:Object,proxyConfig:Object,toolbarConfig:Object,formConfig:Object,zoomConfig:Object,size:{type:String,default:()=>getConfig().grid.size||getConfig().size}});
|