@leankylin-sheet/react 3.1.29 → 3.1.30

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.
Files changed (68) hide show
  1. package/dist/{react/src/components → components}/Workbook/index.d.ts +24 -24
  2. package/dist/index.umd.js +808 -68671
  3. package/dist/index.umd.min.js +2 -2
  4. package/package.json +3 -2
  5. /package/dist/{react/src/components → components}/CellOptions/index.d.ts +0 -0
  6. /package/dist/{react/src/components → components}/ChangeColor/index.d.ts +0 -0
  7. /package/dist/{react/src/components → components}/ConditionFormat/ConditionRules.d.ts +0 -0
  8. /package/dist/{react/src/components → components}/ConditionFormat/index.d.ts +0 -0
  9. /package/dist/{react/src/components → components}/ContextMenu/Divider.d.ts +0 -0
  10. /package/dist/{react/src/components → components}/ContextMenu/FilterMenu.d.ts +0 -0
  11. /package/dist/{react/src/components → components}/ContextMenu/Menu.d.ts +0 -0
  12. /package/dist/{react/src/components → components}/ContextMenu/SheetTab.d.ts +0 -0
  13. /package/dist/{react/src/components → components}/ContextMenu/index.d.ts +0 -0
  14. /package/dist/{react/src/components → components}/CustomSort/index.d.ts +0 -0
  15. /package/dist/{react/src/components → components}/DataVerification/DropdownList.d.ts +0 -0
  16. /package/dist/{react/src/components → components}/DataVerification/RangeDialog.d.ts +0 -0
  17. /package/dist/{react/src/components → components}/DataVerification/index.d.ts +0 -0
  18. /package/dist/{react/src/components → components}/Dialog/index.d.ts +0 -0
  19. /package/dist/{react/src/components → components}/FilterOption/index.d.ts +0 -0
  20. /package/dist/{react/src/components → components}/FormatSearch/index.d.ts +0 -0
  21. /package/dist/{react/src/components → components}/FormulaSearch/index.d.ts +0 -0
  22. /package/dist/{react/src/components → components}/FxEditor/CalcInfo.d.ts +0 -0
  23. /package/dist/{react/src/components → components}/FxEditor/NameBox.d.ts +0 -0
  24. /package/dist/{react/src/components → components}/FxEditor/index.d.ts +0 -0
  25. /package/dist/{react/src/components → components}/ImgBoxs/index.d.ts +0 -0
  26. /package/dist/{react/src/components → components}/LinkEidtCard/index.d.ts +0 -0
  27. /package/dist/{react/src/components → components}/LocationCondition/index.d.ts +0 -0
  28. /package/dist/{react/src/components → components}/MessageBox/index.d.ts +0 -0
  29. /package/dist/{react/src/components → components}/NotationBoxes/index.d.ts +0 -0
  30. /package/dist/{react/src/components → components}/SVGDefines.d.ts +0 -0
  31. /package/dist/{react/src/components → components}/SVGIcon.d.ts +0 -0
  32. /package/dist/{react/src/components → components}/SearchReplace/index.d.ts +0 -0
  33. /package/dist/{react/src/components → components}/Sheet/index.d.ts +0 -0
  34. /package/dist/{react/src/components → components}/SheetList/SheetHiddenButton.d.ts +0 -0
  35. /package/dist/{react/src/components → components}/SheetList/SheetListItem.d.ts +0 -0
  36. /package/dist/{react/src/components → components}/SheetList/index.d.ts +0 -0
  37. /package/dist/{react/src/components → components}/SheetOverlay/ColumnHeader.d.ts +0 -0
  38. /package/dist/{react/src/components → components}/SheetOverlay/ContentEditable.d.ts +0 -0
  39. /package/dist/{react/src/components → components}/SheetOverlay/FormulaHint/index.d.ts +0 -0
  40. /package/dist/{react/src/components → components}/SheetOverlay/FormulaSearch/index.d.ts +0 -0
  41. /package/dist/{react/src/components → components}/SheetOverlay/InputBox.d.ts +0 -0
  42. /package/dist/{react/src/components → components}/SheetOverlay/RowHeader.d.ts +0 -0
  43. /package/dist/{react/src/components → components}/SheetOverlay/ScrollBar/index.d.ts +0 -0
  44. /package/dist/{react/src/components → components}/SheetOverlay/index.d.ts +0 -0
  45. /package/dist/{react/src/components → components}/SheetTab/SheetItem.d.ts +0 -0
  46. /package/dist/{react/src/components → components}/SheetTab/index.d.ts +0 -0
  47. /package/dist/{react/src/components → components}/SplitColumn/index.d.ts +0 -0
  48. /package/dist/{react/src/components → components}/Toolbar/Button.d.ts +0 -0
  49. /package/dist/{react/src/components → components}/Toolbar/ColorPicker.d.ts +0 -0
  50. /package/dist/{react/src/components → components}/Toolbar/Combo.d.ts +0 -0
  51. /package/dist/{react/src/components → components}/Toolbar/CustomBorder.d.ts +0 -0
  52. /package/dist/{react/src/components → components}/Toolbar/CustomButton.d.ts +0 -0
  53. /package/dist/{react/src/components → components}/Toolbar/CustomColor.d.ts +0 -0
  54. /package/dist/{react/src/components → components}/Toolbar/CustomIcon.d.ts +0 -0
  55. /package/dist/{react/src/components → components}/Toolbar/Divider.d.ts +0 -0
  56. /package/dist/{react/src/components → components}/Toolbar/MoreItemsContainer.d.ts +0 -0
  57. /package/dist/{react/src/components → components}/Toolbar/Select.d.ts +0 -0
  58. /package/dist/{react/src/components → components}/Toolbar/index.d.ts +0 -0
  59. /package/dist/{react/src/components → components}/Workbook/api.d.ts +0 -0
  60. /package/dist/{react/src/components → components}/ZoomControl/index.d.ts +0 -0
  61. /package/dist/{react/src/components → components}/index.d.ts +0 -0
  62. /package/dist/{react/src/context → context}/index.d.ts +0 -0
  63. /package/dist/{react/src/context → context}/modal.d.ts +0 -0
  64. /package/dist/{react/src/hooks → hooks}/useAlert.d.ts +0 -0
  65. /package/dist/{react/src/hooks → hooks}/useDialog.d.ts +0 -0
  66. /package/dist/{react/src/hooks → hooks}/useOutsideClick.d.ts +0 -0
  67. /package/dist/{react/src/hooks → hooks}/usePrevious.d.ts +0 -0
  68. /package/dist/{react/src/index.d.ts → index.d.ts} +0 -0
@@ -14,27 +14,27 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
14
14
  setCellOptions: (cellOptions: import("@leankylin-sheet/core").CellOptions) => void;
15
15
  applyOp: (ops: Op[]) => void;
16
16
  createFilter: () => void;
17
- getCellValue: (row: number, column: number, options?: import("../core/src/api").CommonOptions & {
17
+ getCellValue: (row: number, column: number, options?: import("@leankylin-sheet/core/dist/api").CommonOptions & {
18
18
  type?: "v" | "m" | "mc" | "f" | "ct" | "qp" | "spl" | "bg" | "lo" | "rt" | "ps" | "hl" | keyof import("@leankylin-sheet/core").CellStyle | undefined;
19
19
  }) => any;
20
- setCellValue: (row: number, column: number, value: any, options?: import("../core/src/api").CommonOptions & {
20
+ setCellValue: (row: number, column: number, value: any, options?: import("@leankylin-sheet/core/dist/api").CommonOptions & {
21
21
  type?: "v" | "m" | "mc" | "f" | "ct" | "qp" | "spl" | "bg" | "lo" | "rt" | "ps" | "hl" | keyof import("@leankylin-sheet/core").CellStyle | undefined;
22
22
  }) => void;
23
- clearCell: (row: number, column: number, options?: import("../core/src/api").CommonOptions) => void;
24
- setCellFormat: (row: number, column: number, attr: "v" | "m" | "mc" | "f" | "ct" | "qp" | "spl" | "bg" | "lo" | "rt" | "ps" | "hl" | keyof import("@leankylin-sheet/core").CellStyle, value: any, options?: import("../core/src/api").CommonOptions) => void;
23
+ clearCell: (row: number, column: number, options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => void;
24
+ setCellFormat: (row: number, column: number, attr: "v" | "m" | "mc" | "f" | "ct" | "qp" | "spl" | "bg" | "lo" | "rt" | "ps" | "hl" | keyof import("@leankylin-sheet/core").CellStyle, value: any, options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => void;
25
25
  autoFillCell: (copyRange: import("@leankylin-sheet/core").SingleRange, applyRange: import("@leankylin-sheet/core").SingleRange, direction: "up" | "down" | "left" | "right") => void;
26
26
  freeze: (type: "row" | "column" | "both", range: {
27
27
  row: number;
28
28
  column: number;
29
- }, options?: import("../core/src/api").CommonOptions) => void;
30
- insertRowOrColumn: (type: "row" | "column", index: number, count: number, direction?: "lefttop" | "rightbottom", options?: import("../core/src/api").CommonOptions) => void;
31
- deleteRowOrColumn: (type: "row" | "column", start: number, end: number, options?: import("../core/src/api").CommonOptions) => void;
32
- setRowHeight: (rowInfo: Record<string, number>, options?: import("../core/src/api").CommonOptions, custom?: boolean) => void;
33
- setColHidden: (colHidden: Record<string, number>, options?: import("../core/src/api").CommonOptions) => void;
34
- setRowHidden: (colHidden: Record<string, number>, options?: import("../core/src/api").CommonOptions) => void;
35
- setColumnWidth: (columnInfo: Record<string, number>, options?: import("../core/src/api").CommonOptions, custom?: boolean) => void;
36
- getRowHeight: (rows: number[], options?: import("../core/src/api").CommonOptions) => Record<number, number>;
37
- getColumnWidth: (columns: number[], options?: import("../core/src/api").CommonOptions) => Record<number, number>;
29
+ }, options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => void;
30
+ insertRowOrColumn: (type: "row" | "column", index: number, count: number, direction?: "lefttop" | "rightbottom", options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => void;
31
+ deleteRowOrColumn: (type: "row" | "column", start: number, end: number, options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => void;
32
+ setRowHeight: (rowInfo: Record<string, number>, options?: import("@leankylin-sheet/core/dist/api").CommonOptions, custom?: boolean) => void;
33
+ setColHidden: (colHidden: Record<string, number>, options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => void;
34
+ setRowHidden: (colHidden: Record<string, number>, options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => void;
35
+ setColumnWidth: (columnInfo: Record<string, number>, options?: import("@leankylin-sheet/core/dist/api").CommonOptions, custom?: boolean) => void;
36
+ getRowHeight: (rows: number[], options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => Record<number, number>;
37
+ getColumnWidth: (columns: number[], options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => Record<number, number>;
38
38
  getSelection: () => {
39
39
  row: number[];
40
40
  column: number[];
@@ -48,15 +48,15 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
48
48
  c: number;
49
49
  }[] | undefined) => (import("@leankylin-sheet/core").Cell | null)[];
50
50
  getSelectionCoordinates: () => string[];
51
- getCellsByRange: (range: import("@leankylin-sheet/core").Selection, options?: import("../core/src/api").CommonOptions) => (import("@leankylin-sheet/core").Cell | null)[][];
52
- getHtmlByRange: (range: import("@leankylin-sheet/core").Range, options?: import("../core/src/api").CommonOptions) => string | null;
53
- setSelection: (range: import("@leankylin-sheet/core").Range, options?: import("../core/src/api").CommonOptions) => void;
54
- setCellValuesByRange: (data: any[][], range: import("@leankylin-sheet/core").SingleRange, options?: import("../core/src/api").CommonOptions) => void;
55
- setCellFormatByRange: (attr: "v" | "m" | "mc" | "f" | "ct" | "qp" | "spl" | "bg" | "lo" | "rt" | "ps" | "hl" | keyof import("@leankylin-sheet/core").CellStyle, value: any, range: import("@leankylin-sheet/core").SingleRange | import("@leankylin-sheet/core").Range, options?: import("../core/src/api").CommonOptions) => void;
56
- mergeCells: (ranges: import("@leankylin-sheet/core").Range, type: string, options?: import("../core/src/api").CommonOptions) => void;
57
- cancelMerge: (ranges: import("@leankylin-sheet/core").Range, options?: import("../core/src/api").CommonOptions) => void;
51
+ getCellsByRange: (range: import("@leankylin-sheet/core").Selection, options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => (import("@leankylin-sheet/core").Cell | null)[][];
52
+ getHtmlByRange: (range: import("@leankylin-sheet/core").Range, options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => string | null;
53
+ setSelection: (range: import("@leankylin-sheet/core").Range, options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => void;
54
+ setCellValuesByRange: (data: any[][], range: import("@leankylin-sheet/core").SingleRange, options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => void;
55
+ setCellFormatByRange: (attr: "v" | "m" | "mc" | "f" | "ct" | "qp" | "spl" | "bg" | "lo" | "rt" | "ps" | "hl" | keyof import("@leankylin-sheet/core").CellStyle, value: any, range: import("@leankylin-sheet/core").SingleRange | import("@leankylin-sheet/core").Range, options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => void;
56
+ mergeCells: (ranges: import("@leankylin-sheet/core").Range, type: string, options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => void;
57
+ cancelMerge: (ranges: import("@leankylin-sheet/core").Range, options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => void;
58
58
  getAllSheets: () => SheetType[];
59
- getSheet: (options?: import("../core/src/api").CommonOptions) => {
59
+ getSheet: (options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => {
60
60
  celldata: CellWithRowAndCol[];
61
61
  name: string;
62
62
  config?: import("@leankylin-sheet/core").SheetConfig | undefined;
@@ -105,10 +105,10 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
105
105
  } | undefined;
106
106
  };
107
107
  addSheet: () => void;
108
- deleteSheet: (options?: import("../core/src/api").CommonOptions) => void;
108
+ deleteSheet: (options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => void;
109
109
  updateSheet: (data: SheetType[]) => void;
110
- activateSheet: (options?: import("../core/src/api").CommonOptions) => void;
111
- setSheetName: (name: string, options?: import("../core/src/api").CommonOptions) => void;
110
+ activateSheet: (options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => void;
111
+ setSheetName: (name: string, options?: import("@leankylin-sheet/core/dist/api").CommonOptions) => void;
112
112
  setSheetOrder: (orderList: Record<string, number>) => void;
113
113
  scroll: (options: {
114
114
  scrollLeft?: number | undefined;