@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.
@@ -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
@@ -98,5 +98,4 @@ class FilterStateManager {
98
98
  }
99
99
  }
100
100
 
101
- exports.FilterStateManager = FilterStateManager;
102
- //# sourceMappingURL=filter-state-manager.js.map
101
+ exports.FilterStateManager = FilterStateManager;
@@ -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;
@@ -84,6 +84,5 @@ function getColor(color) {
84
84
  };
85
85
  }
86
86
 
87
- //# sourceMappingURL=style.js.map
88
87
  exports.getCellFont = getCellFont, exports.getCellFill = getCellFill, exports.getCellBorder = getCellBorder,
89
88
  exports.getCellAlignment = getCellAlignment;
@@ -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
@@ -76,5 +76,4 @@ function getColor(color) {
76
76
  return {
77
77
  argb: rgbaToHex(colorStringToRGB(color))
78
78
  };
79
- }
80
- //# sourceMappingURL=style.js.map
79
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vtable-plugins",
3
- "version": "1.20.0-alpha.0",
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.0"
41
+ "@visactor/vtable": "1.20.0-alpha.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@visactor/vtable": "1.20.0-alpha.0",
45
- "@visactor/vtable-editors": "1.20.0-alpha.0",
46
- "@visactor/vtable-gantt": "1.20.0-alpha.0",
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",