vxe-table 3.23.9 → 3.24.0-beta.0
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/grid/src/grid.js +29 -0
- package/es/iconfont.1789131659648.ttf +0 -0
- package/es/iconfont.1789131659648.woff +0 -0
- package/es/iconfont.1789131659648.woff2 +0 -0
- package/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/export/mixin.js +8 -3
- package/es/table/src/cell.js +18 -10
- package/es/table/src/methods.js +14 -7
- package/es/table/style.css +4 -5
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +4 -5
- package/es/vxe-table/style.min.css +1 -1
- package/lib/grid/src/grid.js +29 -0
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/iconfont.1789131659648.ttf +0 -0
- package/lib/iconfont.1789131659648.woff +0 -0
- package/lib/iconfont.1789131659648.woff2 +0 -0
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +63 -19
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/export/mixin.js +11 -3
- package/lib/table/module/export/mixin.min.js +1 -1
- package/lib/table/src/cell.js +19 -12
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/methods.js +2 -2
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/style/style.css +4 -5
- package/lib/table/style/style.min.css +1 -1
- package/lib/ui/index.js +1 -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/lib/vxe-table/style/style.css +4 -5
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/grid/src/grid.ts +32 -0
- package/packages/table/module/export/mixin.ts +8 -3
- package/packages/table/src/cell.ts +19 -10
- package/packages/table/src/methods.ts +13 -7
- package/styles/components/icon.scss +2 -2
- package/styles/components/table.scss +11 -2
- package/styles/icon/iconfont.ttf +0 -0
- package/styles/icon/iconfont.woff +0 -0
- package/styles/icon/iconfont.woff2 +0 -0
- package/es/iconfont.1788956861004.ttf +0 -0
- package/es/iconfont.1788956861004.woff +0 -0
- package/es/iconfont.1788956861004.woff2 +0 -0
- package/lib/iconfont.1788956861004.ttf +0 -0
- package/lib/iconfont.1788956861004.woff +0 -0
- package/lib/iconfont.1788956861004.woff2 +0 -0
package/es/grid/src/grid.js
CHANGED
|
@@ -1086,6 +1086,10 @@ export default {
|
|
|
1086
1086
|
const formOpts = $xeGrid.computeFormOpts;
|
|
1087
1087
|
return proxyConfig && isEnableConf(proxyOpts) && proxyOpts.form ? formData : formOpts.data;
|
|
1088
1088
|
},
|
|
1089
|
+
/**
|
|
1090
|
+
* 已废弃,被 getFormFlatItems 替换
|
|
1091
|
+
* @deprecated
|
|
1092
|
+
*/
|
|
1089
1093
|
getFormItems(itemIndex) {
|
|
1090
1094
|
const $xeGrid = this;
|
|
1091
1095
|
const props = $xeGrid;
|
|
@@ -1096,8 +1100,33 @@ export default {
|
|
|
1096
1100
|
XEUtils.eachTree(formConfig && isEnableConf(formOpts) && items ? items : [], item => {
|
|
1097
1101
|
itemList.push(item);
|
|
1098
1102
|
}, { children: 'children' });
|
|
1103
|
+
// errLog('vxe.error.delFunc', ['getFormItems', 'getFormFlatItems'])
|
|
1099
1104
|
return XEUtils.isUndefined(itemIndex) ? itemList : itemList[itemIndex];
|
|
1100
1105
|
},
|
|
1106
|
+
getFormFlatItems() {
|
|
1107
|
+
const $xeGrid = this;
|
|
1108
|
+
const $form = $xeGrid.$refs.refForm;
|
|
1109
|
+
if ($form) {
|
|
1110
|
+
return $form.getFlatItems();
|
|
1111
|
+
}
|
|
1112
|
+
return [];
|
|
1113
|
+
},
|
|
1114
|
+
getFormNestedItems() {
|
|
1115
|
+
const $xeGrid = this;
|
|
1116
|
+
const $form = $xeGrid.$refs.refForm;
|
|
1117
|
+
if ($form) {
|
|
1118
|
+
return $form.getNestedItems();
|
|
1119
|
+
}
|
|
1120
|
+
return [];
|
|
1121
|
+
},
|
|
1122
|
+
getFormItemByField(field) {
|
|
1123
|
+
const $xeGrid = this;
|
|
1124
|
+
const $form = $xeGrid.$refs.refForm;
|
|
1125
|
+
if ($form) {
|
|
1126
|
+
return $form.getItemByField(field);
|
|
1127
|
+
}
|
|
1128
|
+
return null;
|
|
1129
|
+
},
|
|
1101
1130
|
resetForm() {
|
|
1102
1131
|
const $xeGrid = this;
|
|
1103
1132
|
const $form = $xeGrid.$refs.refForm;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|