@visactor/vtable-plugins 1.20.0-alpha.0 → 1.20.0-alpha.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/cjs/contextmenu/types.js +2 -1
- package/cjs/filter/filter-state-manager.js +1 -2
- package/cjs/table-export/excel/index.js +1 -0
- package/cjs/table-export/excel/style.js +0 -1
- package/es/contextmenu/types.js +2 -1
- package/es/filter/filter-state-manager.js +1 -2
- package/es/table-export/excel/index.js +2 -1
- package/es/table-export/excel/style.js +1 -2
- package/package.json +5 -5
package/cjs/contextmenu/types.js
CHANGED
|
@@ -119,4 +119,5 @@ exports.DEFAULT_BODY_MENU_ITEMS = [ DEFAULT_MENU_ITEMS[MenuKey.COPY], DEFAULT_ME
|
|
|
119
119
|
exports.DEFAULT_HEADER_MENU_ITEMS = [ DEFAULT_MENU_ITEMS[MenuKey.COPY], DEFAULT_MENU_ITEMS[MenuKey.CUT], DEFAULT_MENU_ITEMS[MenuKey.PASTE], "---", DEFAULT_MENU_ITEMS[MenuKey.INSERT_COLUMN_LEFT], DEFAULT_MENU_ITEMS[MenuKey.INSERT_COLUMN_RIGHT], DEFAULT_MENU_ITEMS[MenuKey.DELETE_COLUMN] ],
|
|
120
120
|
exports.DEFAULT_COLUMN_SERIES_MENU_ITEMS = [ DEFAULT_MENU_ITEMS[MenuKey.COPY], DEFAULT_MENU_ITEMS[MenuKey.CUT], DEFAULT_MENU_ITEMS[MenuKey.PASTE], "---", DEFAULT_MENU_ITEMS[MenuKey.INSERT_COLUMN_LEFT], DEFAULT_MENU_ITEMS[MenuKey.INSERT_COLUMN_RIGHT], DEFAULT_MENU_ITEMS[MenuKey.DELETE_COLUMN] ],
|
|
121
121
|
exports.DEFAULT_ROW_SERIES_MENU_ITEMS = [ DEFAULT_MENU_ITEMS[MenuKey.COPY], DEFAULT_MENU_ITEMS[MenuKey.CUT], DEFAULT_MENU_ITEMS[MenuKey.PASTE], "---", DEFAULT_MENU_ITEMS[MenuKey.INSERT_ROW_ABOVE], DEFAULT_MENU_ITEMS[MenuKey.INSERT_ROW_BELOW], DEFAULT_MENU_ITEMS[MenuKey.DELETE_ROW] ],
|
|
122
|
-
exports.DEFAULT_CORNER_SERIES_MENU_ITEMS = [ DEFAULT_MENU_ITEMS[MenuKey.COPY], DEFAULT_MENU_ITEMS[MenuKey.CUT], DEFAULT_MENU_ITEMS[MenuKey.PASTE] ];
|
|
122
|
+
exports.DEFAULT_CORNER_SERIES_MENU_ITEMS = [ DEFAULT_MENU_ITEMS[MenuKey.COPY], DEFAULT_MENU_ITEMS[MenuKey.CUT], DEFAULT_MENU_ITEMS[MenuKey.PASTE] ];
|
|
123
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -239,4 +239,5 @@ function needCellImageExport(cellType, isAxisCell, isCustomCell, isTextWithIcon,
|
|
|
239
239
|
return !(null == options ? void 0 : options.skipImageExportCellType) || ("image" === cellType || "video" === cellType || "progressbar" === cellType || "sparkline" === cellType || "chart" === cellType ? !options.skipImageExportCellType.includes(cellType) : isAxisCell ? !options.skipImageExportCellType.includes("chart") : isCustomCell ? !options.skipImageExportCellType.includes("custom") : !isTextWithIcon || !options.skipImageExportCellType.includes("textWithIcon"));
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
+
//# sourceMappingURL=index.js.map
|
|
242
243
|
exports.exportVTableToExcel = exportVTableToExcel;
|
package/es/contextmenu/types.js
CHANGED
|
@@ -118,4 +118,5 @@ export const DEFAULT_COLUMN_SERIES_MENU_ITEMS = [ DEFAULT_MENU_ITEMS[MenuKey.COP
|
|
|
118
118
|
|
|
119
119
|
export const DEFAULT_ROW_SERIES_MENU_ITEMS = [ DEFAULT_MENU_ITEMS[MenuKey.COPY], DEFAULT_MENU_ITEMS[MenuKey.CUT], DEFAULT_MENU_ITEMS[MenuKey.PASTE], "---", DEFAULT_MENU_ITEMS[MenuKey.INSERT_ROW_ABOVE], DEFAULT_MENU_ITEMS[MenuKey.INSERT_ROW_BELOW], DEFAULT_MENU_ITEMS[MenuKey.DELETE_ROW] ];
|
|
120
120
|
|
|
121
|
-
export const DEFAULT_CORNER_SERIES_MENU_ITEMS = [ DEFAULT_MENU_ITEMS[MenuKey.COPY], DEFAULT_MENU_ITEMS[MenuKey.CUT], DEFAULT_MENU_ITEMS[MenuKey.PASTE] ];
|
|
121
|
+
export const DEFAULT_CORNER_SERIES_MENU_ITEMS = [ DEFAULT_MENU_ITEMS[MenuKey.COPY], DEFAULT_MENU_ITEMS[MenuKey.CUT], DEFAULT_MENU_ITEMS[MenuKey.PASTE] ];
|
|
122
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -90,5 +90,4 @@ export class FilterStateManager {
|
|
|
90
90
|
shouldApplyFilter(action) {
|
|
91
91
|
return [ FilterActionType.REMOVE_FILTER, FilterActionType.ENABLE_FILTER, FilterActionType.DISABLE_FILTER, FilterActionType.CLEAR_ALL_FILTERS, FilterActionType.APPLY_FILTERS ].includes(action.type) || action.payload.enable;
|
|
92
92
|
}
|
|
93
|
-
}
|
|
94
|
-
//# sourceMappingURL=filter-state-manager.js.map
|
|
93
|
+
}
|
|
@@ -238,4 +238,5 @@ function exportCellImg(col, row, tableInstance) {
|
|
|
238
238
|
|
|
239
239
|
function needCellImageExport(cellType, isAxisCell, isCustomCell, isTextWithIcon, options) {
|
|
240
240
|
return !(null == options ? void 0 : options.skipImageExportCellType) || ("image" === cellType || "video" === cellType || "progressbar" === cellType || "sparkline" === cellType || "chart" === cellType ? !options.skipImageExportCellType.includes(cellType) : isAxisCell ? !options.skipImageExportCellType.includes("chart") : isCustomCell ? !options.skipImageExportCellType.includes("custom") : !isTextWithIcon || !options.skipImageExportCellType.includes("textWithIcon"));
|
|
241
|
-
}
|
|
241
|
+
}
|
|
242
|
+
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/vtable-plugins",
|
|
3
|
-
"version": "1.20.0-alpha.
|
|
3
|
+
"version": "1.20.0-alpha.1",
|
|
4
4
|
"description": "The search util of VTable",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "VisActor",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"@types/file-saver": "2.0.7"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@visactor/vtable": "1.20.0-alpha.
|
|
41
|
+
"@visactor/vtable": "1.20.0-alpha.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@visactor/vtable": "1.20.0-alpha.
|
|
45
|
-
"@visactor/vtable-editors": "1.20.0-alpha.
|
|
46
|
-
"@visactor/vtable-gantt": "1.20.0-alpha.
|
|
44
|
+
"@visactor/vtable": "1.20.0-alpha.1",
|
|
45
|
+
"@visactor/vtable-editors": "1.20.0-alpha.1",
|
|
46
|
+
"@visactor/vtable-gantt": "1.20.0-alpha.1",
|
|
47
47
|
"@visactor/vchart": "2.0.2",
|
|
48
48
|
"@rushstack/eslint-patch": "~1.1.4",
|
|
49
49
|
"react": "^18.0.0",
|