vxe-table 4.7.0 → 4.7.1
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/table/src/table.js +13 -0
- package/es/ui/index.js +4 -4
- package/es/v-x-e-table/index.js +3 -0
- package/es/v-x-e-table/style.css +0 -0
- package/es/v-x-e-table/style.min.css +0 -0
- package/es/vxe-v-x-e-table/index.js +3 -0
- package/es/vxe-v-x-e-table/style.css +0 -0
- package/es/vxe-v-x-e-table/style.min.css +0 -0
- package/lib/index.umd.js +23 -2
- package/lib/index.umd.min.js +1 -1
- package/lib/table/src/table.js +13 -0
- package/lib/table/src/table.min.js +1 -1
- package/lib/ui/index.js +30 -3
- package/lib/ui/index.min.js +1 -1
- package/lib/v-x-e-table/index.js +22 -0
- package/lib/v-x-e-table/index.min.js +1 -0
- package/lib/v-x-e-table/style/index.js +1 -0
- package/lib/v-x-e-table/style/style.css +0 -0
- package/lib/v-x-e-table/style/style.min.css +0 -0
- package/lib/vxe-v-x-e-table/index.js +22 -0
- package/lib/vxe-v-x-e-table/index.min.js +1 -0
- package/lib/vxe-v-x-e-table/style/index.js +1 -0
- package/lib/vxe-v-x-e-table/style/style.css +0 -0
- package/lib/vxe-v-x-e-table/style/style.min.css +0 -0
- package/package.json +2 -2
- package/packages/table/src/table.ts +13 -0
- package/packages/ui/index.ts +6 -2
- package/packages/v-x-e-table/index.d.ts +4 -0
- package/packages/v-x-e-table/index.ts +4 -0
- package/styles/components/v-x-e-table.scss +0 -0
- package/types/all.d.ts +0 -22
package/es/table/src/table.js
CHANGED
|
@@ -2723,6 +2723,19 @@ export default defineComponent({
|
|
|
2723
2723
|
return tableMethods.recalculate();
|
|
2724
2724
|
});
|
|
2725
2725
|
},
|
|
2726
|
+
/**
|
|
2727
|
+
* 修改行数据
|
|
2728
|
+
*/
|
|
2729
|
+
setRow(rows, record) {
|
|
2730
|
+
if (rows && record) {
|
|
2731
|
+
let rest = rows;
|
|
2732
|
+
if (!XEUtils.isArray(rows)) {
|
|
2733
|
+
rest = [rows];
|
|
2734
|
+
}
|
|
2735
|
+
rest.forEach(item => Object.assign(item, record));
|
|
2736
|
+
}
|
|
2737
|
+
return nextTick();
|
|
2738
|
+
},
|
|
2726
2739
|
/**
|
|
2727
2740
|
* 局部加载行数据并恢复到初始状态
|
|
2728
2741
|
* 对于行数据需要局部更改的场景中可能会用到
|
package/es/ui/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VxeUI } from 'vxe-pc-ui';
|
|
2
|
-
VxeUI.version = "4.7.
|
|
3
|
-
VxeUI.tableVersion = "4.7.
|
|
1
|
+
import { VxeUI, modal, drawer, saveFile, readFile } from 'vxe-pc-ui';
|
|
2
|
+
VxeUI.version = "4.7.1";
|
|
3
|
+
VxeUI.tableVersion = "4.7.1";
|
|
4
4
|
VxeUI.setConfig({
|
|
5
5
|
emptyCell: ' ',
|
|
6
6
|
table: {
|
|
@@ -273,5 +273,5 @@ export const _t = VxeUI._t;
|
|
|
273
273
|
* @deprecated
|
|
274
274
|
*/
|
|
275
275
|
export const VXETable = VxeUI;
|
|
276
|
-
export { VxeUI };
|
|
276
|
+
export { VxeUI, modal, drawer, saveFile, readFile };
|
|
277
277
|
export default VxeUI;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/index.umd.js
CHANGED
|
@@ -1693,6 +1693,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1693
1693
|
commands: function() { return /* reexport */ commands; },
|
|
1694
1694
|
config: function() { return /* reexport */ config; },
|
|
1695
1695
|
"default": function() { return /* binding */ entry_lib; },
|
|
1696
|
+
drawer: function() { return /* reexport */ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.drawer; },
|
|
1696
1697
|
formats: function() { return /* reexport */ formats; },
|
|
1697
1698
|
getConfig: function() { return /* reexport */ getConfig; },
|
|
1698
1699
|
getI18n: function() { return /* reexport */ getI18n; },
|
|
@@ -1705,7 +1706,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1705
1706
|
interceptor: function() { return /* reexport */ interceptor; },
|
|
1706
1707
|
log: function() { return /* reexport */ log; },
|
|
1707
1708
|
menus: function() { return /* reexport */ menus; },
|
|
1709
|
+
modal: function() { return /* reexport */ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.modal; },
|
|
1710
|
+
readFile: function() { return /* reexport */ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.readFile; },
|
|
1708
1711
|
renderer: function() { return /* reexport */ renderer; },
|
|
1712
|
+
saveFile: function() { return /* reexport */ external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.saveFile; },
|
|
1709
1713
|
setConfig: function() { return /* reexport */ setConfig; },
|
|
1710
1714
|
setI18n: function() { return /* reexport */ setI18n; },
|
|
1711
1715
|
setIcon: function() { return /* reexport */ setIcon; },
|
|
@@ -1737,6 +1741,7 @@ __webpack_require__.d(components_namespaceObject, {
|
|
|
1737
1741
|
clipboard: function() { return clipboard; },
|
|
1738
1742
|
commands: function() { return commands; },
|
|
1739
1743
|
config: function() { return config; },
|
|
1744
|
+
drawer: function() { return external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.drawer; },
|
|
1740
1745
|
formats: function() { return formats; },
|
|
1741
1746
|
getConfig: function() { return getConfig; },
|
|
1742
1747
|
getI18n: function() { return getI18n; },
|
|
@@ -1749,7 +1754,10 @@ __webpack_require__.d(components_namespaceObject, {
|
|
|
1749
1754
|
interceptor: function() { return interceptor; },
|
|
1750
1755
|
log: function() { return log; },
|
|
1751
1756
|
menus: function() { return menus; },
|
|
1757
|
+
modal: function() { return external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.modal; },
|
|
1758
|
+
readFile: function() { return external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.readFile; },
|
|
1752
1759
|
renderer: function() { return renderer; },
|
|
1760
|
+
saveFile: function() { return external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.saveFile; },
|
|
1753
1761
|
setConfig: function() { return setConfig; },
|
|
1754
1762
|
setI18n: function() { return setI18n; },
|
|
1755
1763
|
setIcon: function() { return setIcon; },
|
|
@@ -10699,6 +10707,19 @@ const sortStorageKey = 'VXE_TABLE_CUSTOM_COLUMN_SORT';
|
|
|
10699
10707
|
return tableMethods.recalculate();
|
|
10700
10708
|
});
|
|
10701
10709
|
},
|
|
10710
|
+
/**
|
|
10711
|
+
* 修改行数据
|
|
10712
|
+
*/
|
|
10713
|
+
setRow(rows, record) {
|
|
10714
|
+
if (rows && record) {
|
|
10715
|
+
let rest = rows;
|
|
10716
|
+
if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(rows)) {
|
|
10717
|
+
rest = [rows];
|
|
10718
|
+
}
|
|
10719
|
+
rest.forEach(item => Object.assign(item, record));
|
|
10720
|
+
}
|
|
10721
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
10722
|
+
},
|
|
10702
10723
|
/**
|
|
10703
10724
|
* 局部加载行数据并恢复到初始状态
|
|
10704
10725
|
* 对于行数据需要局部更改的场景中可能会用到
|
|
@@ -22868,8 +22889,8 @@ const Grid = VxeGrid;
|
|
|
22868
22889
|
/* harmony default export */ var packages_grid = ((/* unused pure expression or super */ null && (VxeGrid)));
|
|
22869
22890
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
22870
22891
|
|
|
22871
|
-
external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.version = "4.7.
|
|
22872
|
-
external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.tableVersion = "4.7.
|
|
22892
|
+
external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.version = "4.7.1";
|
|
22893
|
+
external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.tableVersion = "4.7.1";
|
|
22873
22894
|
external_root_VxeUI_commonjs_vxe_pc_ui_commonjs2_vxe_pc_ui_amd_vxe_pc_ui_.VxeUI.setConfig({
|
|
22874
22895
|
emptyCell: ' ',
|
|
22875
22896
|
table: {
|