@fileverse-dev/fortune-react 1.1.99-patch-4 → 1.1.99-patch-6

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.
@@ -150,20 +150,20 @@ var DropDownList = function DropDownList() {
150
150
  className: "w-full flex align-center",
151
151
  style: {
152
152
  height: "28px"
153
+ },
154
+ onClick: function onClick() {
155
+ var _a;
156
+ (_a = window === null || window === void 0 ? void 0 : window.dataVerificationClick) === null || _a === void 0 ? void 0 : _a.call(window);
153
157
  }
154
158
  }, /*#__PURE__*/React.createElement(IconButton, {
155
159
  icon: "Pencil",
156
160
  size: "sm",
157
161
  variant: "ghost",
158
- className: "color-picker-icon pt-2"
162
+ className: "color-picker-icon pt-2 color-picker"
159
163
  }), /*#__PURE__*/React.createElement(Button, {
160
164
  size: "md",
161
165
  variant: "ghost",
162
- className: "color-picker-reset",
163
- onClick: function onClick() {
164
- var _a;
165
- (_a = window === null || window === void 0 ? void 0 : window.dataVerificationClick) === null || _a === void 0 ? void 0 : _a.call(window);
166
- }
166
+ className: "color-picker-reset color-picker"
167
167
  }, "Edit")));
168
168
  };
169
169
  export default DropDownList;
@@ -202,7 +202,7 @@
202
202
  }
203
203
 
204
204
  .color-picker:hover {
205
- background: hsl(var(--color-bg-default-hover, #F2F4F5));
205
+ background: hsl(var(--color-bg-default-hover, #F2F4F5))!important;
206
206
  }
207
207
 
208
208
  .color-picker-container {
@@ -212,9 +212,9 @@
212
212
  }
213
213
 
214
214
  .color-picker-reset {
215
- min-width: 0px;
216
- padding-left: 0px;
217
- margin-left: 0px;
215
+ min-width: 0px !important;
216
+ padding-left: 0px !important;
217
+ margin-left: 0px !important;
218
218
  }
219
219
 
220
220
  .color-picker-reset:hover {
@@ -242,8 +242,10 @@ var DataVerification = function DataVerification() {
242
242
  });
243
243
  },
244
244
  onClick: function onClick() {
245
+ var _a;
245
246
  hideDialog();
246
247
  dataSelectRange("rangeTxt", context.dataVerification.dataRegulation.value1);
248
+ (_a = document.getElementById("data-verification-button")) === null || _a === void 0 ? void 0 : _a.click();
247
249
  }
248
250
  })), /*#__PURE__*/React.createElement("div", {
249
251
  className: "flex flex-col"
@@ -1,5 +1,5 @@
1
1
  import { colLocation, colLocationByIndex, selectTitlesMap, selectTitlesRange, handleColSizeHandleMouseDown, handleColumnHeaderMouseDown, isAllowEdit, getFlowdata, fixColumnStyleOverflowInFreeze, handleColFreezeHandleMouseDown, getSheetIndex, fixPositionOnFrozenCells, showSelected } from "@fileverse-dev/fortune-core";
2
- import { api } from "@fileverse-dev/fortune-core/src";
2
+ import { api } from "@fileverse-dev/fortune-core";
3
3
  import _ from "lodash";
4
4
  import React, { useContext, useState, useRef, useCallback, useEffect, useMemo } from "react";
5
5
  import WorkbookContext from "../../context";
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { Cell } from "@fileverse-dev/fortune-core";
3
3
  import "./index.css";
4
- export declare const getLucideIcon: (title: string) => "Ethereum" | "DollarSign" | "Undo" | "Redo" | "Underline" | "Border" | "Filter" | "Link" | "Search" | "" | "Percent" | "ChevronDown" | "PaintRoller" | "Bold" | "Italic" | "Strikethrough" | "AlignLeft" | "AlignCenter" | "AlignRight" | "ArrowUpFromLine" | "AlignVerticalMiddle" | "ArrowDownToLine" | "TextOverflow" | "WrapText" | "TextClip" | "Baseline" | "PaintBucket" | "MergeHorizontal" | "DecimalsArrowLeft" | "DecimalsArrowRight" | "PaintbrushVertical" | "MessageSquarePlus" | "Image" | "Sigma" | "ShieldCheck" | "DuneChart" | "Ellipsis";
4
+ export declare const getLucideIcon: (title: string) => "Ethereum" | "DollarSign" | "" | "ChevronDown" | "Undo" | "Redo" | "PaintRoller" | "Bold" | "Italic" | "Strikethrough" | "Underline" | "AlignLeft" | "AlignCenter" | "AlignRight" | "ArrowUpFromLine" | "AlignVerticalMiddle" | "ArrowDownToLine" | "TextOverflow" | "WrapText" | "TextClip" | "Baseline" | "PaintBucket" | "Border" | "MergeHorizontal" | "Percent" | "DecimalsArrowLeft" | "DecimalsArrowRight" | "PaintbrushVertical" | "Filter" | "Link" | "MessageSquarePlus" | "Image" | "Sigma" | "ShieldCheck" | "Search" | "DuneChart" | "Ellipsis";
5
5
  export declare const CurrencySelector: ({ cell, defaultTextFormat, toolTipText, }: {
6
6
  cell: Cell | null | undefined;
7
7
  defaultTextFormat: string;
@@ -109,7 +109,7 @@ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx
109
109
  dynamicArray_compute?: any;
110
110
  dynamicArray?: any[] | undefined;
111
111
  frozen?: {
112
- type: "row" | "column" | "both" | "rangeRow" | "rangeColumn" | "rangeBoth";
112
+ type: "column" | "rangeColumn" | "rangeBoth" | "both" | "row" | "rangeRow";
113
113
  range?: {
114
114
  row_focus: number;
115
115
  column_focus: number;
@@ -12,30 +12,30 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
12
12
  applyOp: (ops: Op[]) => void;
13
13
  getCryptoPrice: typeof getCryptoPrice;
14
14
  getCellValue: (row: number, column: number, options?: api.CommonOptions & {
15
- type?: "m" | "v" | "f" | "mc" | "rt" | "lo" | "ct" | "qp" | "spl" | "bg" | "baseValue" | "baseCurrency" | "baseCurrencyPrice" | "isDataBlockFormula" | "ps" | "hl" | "error" | keyof import("@fileverse-dev/fortune-core").CellStyle | undefined;
15
+ type?: "error" | "rt" | "f" | "m" | "v" | "mc" | "ct" | "qp" | "spl" | "bg" | "lo" | "baseValue" | "baseCurrency" | "baseCurrencyPrice" | "isDataBlockFormula" | "ps" | "hl" | keyof import("@fileverse-dev/fortune-core").CellStyle | undefined;
16
16
  }) => any;
17
17
  onboardingActiveCell: (functionName: string) => void;
18
18
  initializeComment: (row: number, column: number) => void;
19
19
  updateSheetLiveQueryList: (subsheetIndex: number, _data: import("@fileverse-dev/fortune-core").LiveQueryData) => void;
20
20
  removeFromLiveQueryList: (subSheetIndex: number, id: string) => void;
21
21
  setCellValue: (row: number, column: number, value: any, options?: api.CommonOptions & {
22
- type?: "m" | "v" | "f" | "mc" | "rt" | "lo" | "ct" | "qp" | "spl" | "bg" | "baseValue" | "baseCurrency" | "baseCurrencyPrice" | "isDataBlockFormula" | "ps" | "hl" | "error" | keyof import("@fileverse-dev/fortune-core").CellStyle | undefined;
22
+ type?: "error" | "rt" | "f" | "m" | "v" | "mc" | "ct" | "qp" | "spl" | "bg" | "lo" | "baseValue" | "baseCurrency" | "baseCurrencyPrice" | "isDataBlockFormula" | "ps" | "hl" | keyof import("@fileverse-dev/fortune-core").CellStyle | undefined;
23
23
  }) => void;
24
24
  setCellError: (row: number, column: number, errorMessage: {
25
25
  title: string;
26
26
  message: string;
27
27
  }) => void;
28
28
  clearCell: (row: number, column: number, options?: api.CommonOptions) => void;
29
- setCellFormat: (row: number, column: number, attr: "m" | "v" | "f" | "mc" | "rt" | "lo" | "ct" | "qp" | "spl" | "bg" | "baseValue" | "baseCurrency" | "baseCurrencyPrice" | "isDataBlockFormula" | "ps" | "hl" | "error" | keyof import("@fileverse-dev/fortune-core").CellStyle, value: any, options?: api.CommonOptions) => void;
29
+ setCellFormat: (row: number, column: number, attr: "error" | "rt" | "f" | "m" | "v" | "mc" | "ct" | "qp" | "spl" | "bg" | "lo" | "baseValue" | "baseCurrency" | "baseCurrencyPrice" | "isDataBlockFormula" | "ps" | "hl" | keyof import("@fileverse-dev/fortune-core").CellStyle, value: any, options?: api.CommonOptions) => void;
30
30
  autoFillCell: (copyRange: import("@fileverse-dev/fortune-core").SingleRange, applyRange: import("@fileverse-dev/fortune-core").SingleRange, direction: "left" | "right" | "down" | "up") => void;
31
- freeze: (type: "row" | "column" | "both", range: {
31
+ freeze: (type: "column" | "both" | "row", range: {
32
32
  row: number;
33
33
  column: number;
34
34
  }, options?: api.CommonOptions) => void;
35
- insertRowOrColumn: (type: "row" | "column", index: number, count: number, direction?: "lefttop" | "rightbottom", options?: api.CommonOptions) => void;
36
- deleteRowOrColumn: (type: "row" | "column", start: number, end: number, options?: api.CommonOptions) => void;
37
- hideRowOrColumn: (rowOrColInfo: string[], type: "row" | "column") => void;
38
- showRowOrColumn: (rowOrColInfo: string[], type: "row" | "column") => void;
35
+ insertRowOrColumn: (type: "column" | "row", index: number, count: number, direction?: "lefttop" | "rightbottom", options?: api.CommonOptions) => void;
36
+ deleteRowOrColumn: (type: "column" | "row", start: number, end: number, options?: api.CommonOptions) => void;
37
+ hideRowOrColumn: (rowOrColInfo: string[], type: "column" | "row") => void;
38
+ showRowOrColumn: (rowOrColInfo: string[], type: "column" | "row") => void;
39
39
  setRowHeight: (rowInfo: Record<string, number>, options?: api.CommonOptions, custom?: boolean) => void;
40
40
  setColumnWidth: (columnInfo: Record<string, number>, options?: api.CommonOptions, custom?: boolean) => void;
41
41
  getRowHeight: (rows: number[], options?: api.CommonOptions) => Record<number, number>;
@@ -57,7 +57,7 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
57
57
  getHtmlByRange: (range: import("@fileverse-dev/fortune-core").Range, options?: api.CommonOptions) => string | null;
58
58
  setSelection: (range: import("@fileverse-dev/fortune-core").Range, options?: api.CommonOptions) => void;
59
59
  setCellValuesByRange: (data: any[][], range: import("@fileverse-dev/fortune-core").SingleRange, options?: api.CommonOptions) => void;
60
- setCellFormatByRange: (attr: "m" | "v" | "f" | "mc" | "rt" | "lo" | "ct" | "qp" | "spl" | "bg" | "baseValue" | "baseCurrency" | "baseCurrencyPrice" | "isDataBlockFormula" | "ps" | "hl" | "error" | keyof import("@fileverse-dev/fortune-core").CellStyle, value: any, range: import("@fileverse-dev/fortune-core").Range | import("@fileverse-dev/fortune-core").SingleRange, options?: api.CommonOptions) => void;
60
+ setCellFormatByRange: (attr: "error" | "rt" | "f" | "m" | "v" | "mc" | "ct" | "qp" | "spl" | "bg" | "lo" | "baseValue" | "baseCurrency" | "baseCurrencyPrice" | "isDataBlockFormula" | "ps" | "hl" | keyof import("@fileverse-dev/fortune-core").CellStyle, value: any, range: import("@fileverse-dev/fortune-core").Range | import("@fileverse-dev/fortune-core").SingleRange, options?: api.CommonOptions) => void;
61
61
  mergeCells: (ranges: import("@fileverse-dev/fortune-core").Range, type: string, options?: api.CommonOptions) => void;
62
62
  cancelMerge: (ranges: import("@fileverse-dev/fortune-core").Range, options?: api.CommonOptions) => void;
63
63
  getAllSheets: () => SheetType[];
@@ -116,7 +116,7 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
116
116
  dynamicArray_compute?: any;
117
117
  dynamicArray?: any[] | undefined;
118
118
  frozen?: {
119
- type: "row" | "column" | "both" | "rangeRow" | "rangeColumn" | "rangeBoth";
119
+ type: "column" | "rangeColumn" | "rangeBoth" | "both" | "row" | "rangeRow";
120
120
  range?: {
121
121
  row_focus: number;
122
122
  column_focus: number;
@@ -159,20 +159,20 @@ var DropDownList = function DropDownList() {
159
159
  className: "w-full flex align-center",
160
160
  style: {
161
161
  height: "28px"
162
+ },
163
+ onClick: function onClick() {
164
+ var _a;
165
+ (_a = window === null || window === void 0 ? void 0 : window.dataVerificationClick) === null || _a === void 0 ? void 0 : _a.call(window);
162
166
  }
163
167
  }, /*#__PURE__*/_react.default.createElement(_ui.IconButton, {
164
168
  icon: "Pencil",
165
169
  size: "sm",
166
170
  variant: "ghost",
167
- className: "color-picker-icon pt-2"
171
+ className: "color-picker-icon pt-2 color-picker"
168
172
  }), /*#__PURE__*/_react.default.createElement(_ui.Button, {
169
173
  size: "md",
170
174
  variant: "ghost",
171
- className: "color-picker-reset",
172
- onClick: function onClick() {
173
- var _a;
174
- (_a = window === null || window === void 0 ? void 0 : window.dataVerificationClick) === null || _a === void 0 ? void 0 : _a.call(window);
175
- }
175
+ className: "color-picker-reset color-picker"
176
176
  }, "Edit")));
177
177
  };
178
178
  var _default = exports.default = DropDownList;
@@ -202,7 +202,7 @@
202
202
  }
203
203
 
204
204
  .color-picker:hover {
205
- background: hsl(var(--color-bg-default-hover, #F2F4F5));
205
+ background: hsl(var(--color-bg-default-hover, #F2F4F5))!important;
206
206
  }
207
207
 
208
208
  .color-picker-container {
@@ -212,9 +212,9 @@
212
212
  }
213
213
 
214
214
  .color-picker-reset {
215
- min-width: 0px;
216
- padding-left: 0px;
217
- margin-left: 0px;
215
+ min-width: 0px !important;
216
+ padding-left: 0px !important;
217
+ margin-left: 0px !important;
218
218
  }
219
219
 
220
220
  .color-picker-reset:hover {
@@ -251,8 +251,10 @@ var DataVerification = function DataVerification() {
251
251
  });
252
252
  },
253
253
  onClick: function onClick() {
254
+ var _a;
254
255
  hideDialog();
255
256
  dataSelectRange("rangeTxt", context.dataVerification.dataRegulation.value1);
257
+ (_a = document.getElementById("data-verification-button")) === null || _a === void 0 ? void 0 : _a.click();
256
258
  }
257
259
  })), /*#__PURE__*/_react.default.createElement("div", {
258
260
  className: "flex flex-col"
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _fortuneCore = require("@fileverse-dev/fortune-core");
9
- var _src = require("@fileverse-dev/fortune-core/src");
10
9
  var _lodash = _interopRequireDefault(require("lodash"));
11
10
  var _react = _interopRequireWildcard(require("react"));
12
11
  var _context = _interopRequireDefault(require("../../context"));
@@ -191,7 +190,7 @@ var ColumnHeader = function ColumnHeader() {
191
190
  e.stopPropagation();
192
191
  setContext(function (ctx) {
193
192
  var _a;
194
- _src.api.setSelection(ctx, [{
193
+ _fortuneCore.api.setSelection(ctx, [{
195
194
  row: [0, (_a = context.visibledatarow) === null || _a === void 0 ? void 0 : _a.length],
196
195
  column: [Number(item.col) - 1, Number(item.col) + 1]
197
196
  }], {
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { Cell } from "@fileverse-dev/fortune-core";
3
3
  import "./index.css";
4
- export declare const getLucideIcon: (title: string) => "Ethereum" | "DollarSign" | "Undo" | "Redo" | "Underline" | "Border" | "Filter" | "Link" | "Search" | "" | "Percent" | "ChevronDown" | "PaintRoller" | "Bold" | "Italic" | "Strikethrough" | "AlignLeft" | "AlignCenter" | "AlignRight" | "ArrowUpFromLine" | "AlignVerticalMiddle" | "ArrowDownToLine" | "TextOverflow" | "WrapText" | "TextClip" | "Baseline" | "PaintBucket" | "MergeHorizontal" | "DecimalsArrowLeft" | "DecimalsArrowRight" | "PaintbrushVertical" | "MessageSquarePlus" | "Image" | "Sigma" | "ShieldCheck" | "DuneChart" | "Ellipsis";
4
+ export declare const getLucideIcon: (title: string) => "Ethereum" | "DollarSign" | "" | "ChevronDown" | "Undo" | "Redo" | "PaintRoller" | "Bold" | "Italic" | "Strikethrough" | "Underline" | "AlignLeft" | "AlignCenter" | "AlignRight" | "ArrowUpFromLine" | "AlignVerticalMiddle" | "ArrowDownToLine" | "TextOverflow" | "WrapText" | "TextClip" | "Baseline" | "PaintBucket" | "Border" | "MergeHorizontal" | "Percent" | "DecimalsArrowLeft" | "DecimalsArrowRight" | "PaintbrushVertical" | "Filter" | "Link" | "MessageSquarePlus" | "Image" | "Sigma" | "ShieldCheck" | "Search" | "DuneChart" | "Ellipsis";
5
5
  export declare const CurrencySelector: ({ cell, defaultTextFormat, toolTipText, }: {
6
6
  cell: Cell | null | undefined;
7
7
  defaultTextFormat: string;
@@ -109,7 +109,7 @@ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx
109
109
  dynamicArray_compute?: any;
110
110
  dynamicArray?: any[] | undefined;
111
111
  frozen?: {
112
- type: "row" | "column" | "both" | "rangeRow" | "rangeColumn" | "rangeBoth";
112
+ type: "column" | "rangeColumn" | "rangeBoth" | "both" | "row" | "rangeRow";
113
113
  range?: {
114
114
  row_focus: number;
115
115
  column_focus: number;
@@ -12,30 +12,30 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
12
12
  applyOp: (ops: Op[]) => void;
13
13
  getCryptoPrice: typeof getCryptoPrice;
14
14
  getCellValue: (row: number, column: number, options?: api.CommonOptions & {
15
- type?: "m" | "v" | "f" | "mc" | "rt" | "lo" | "ct" | "qp" | "spl" | "bg" | "baseValue" | "baseCurrency" | "baseCurrencyPrice" | "isDataBlockFormula" | "ps" | "hl" | "error" | keyof import("@fileverse-dev/fortune-core").CellStyle | undefined;
15
+ type?: "error" | "rt" | "f" | "m" | "v" | "mc" | "ct" | "qp" | "spl" | "bg" | "lo" | "baseValue" | "baseCurrency" | "baseCurrencyPrice" | "isDataBlockFormula" | "ps" | "hl" | keyof import("@fileverse-dev/fortune-core").CellStyle | undefined;
16
16
  }) => any;
17
17
  onboardingActiveCell: (functionName: string) => void;
18
18
  initializeComment: (row: number, column: number) => void;
19
19
  updateSheetLiveQueryList: (subsheetIndex: number, _data: import("@fileverse-dev/fortune-core").LiveQueryData) => void;
20
20
  removeFromLiveQueryList: (subSheetIndex: number, id: string) => void;
21
21
  setCellValue: (row: number, column: number, value: any, options?: api.CommonOptions & {
22
- type?: "m" | "v" | "f" | "mc" | "rt" | "lo" | "ct" | "qp" | "spl" | "bg" | "baseValue" | "baseCurrency" | "baseCurrencyPrice" | "isDataBlockFormula" | "ps" | "hl" | "error" | keyof import("@fileverse-dev/fortune-core").CellStyle | undefined;
22
+ type?: "error" | "rt" | "f" | "m" | "v" | "mc" | "ct" | "qp" | "spl" | "bg" | "lo" | "baseValue" | "baseCurrency" | "baseCurrencyPrice" | "isDataBlockFormula" | "ps" | "hl" | keyof import("@fileverse-dev/fortune-core").CellStyle | undefined;
23
23
  }) => void;
24
24
  setCellError: (row: number, column: number, errorMessage: {
25
25
  title: string;
26
26
  message: string;
27
27
  }) => void;
28
28
  clearCell: (row: number, column: number, options?: api.CommonOptions) => void;
29
- setCellFormat: (row: number, column: number, attr: "m" | "v" | "f" | "mc" | "rt" | "lo" | "ct" | "qp" | "spl" | "bg" | "baseValue" | "baseCurrency" | "baseCurrencyPrice" | "isDataBlockFormula" | "ps" | "hl" | "error" | keyof import("@fileverse-dev/fortune-core").CellStyle, value: any, options?: api.CommonOptions) => void;
29
+ setCellFormat: (row: number, column: number, attr: "error" | "rt" | "f" | "m" | "v" | "mc" | "ct" | "qp" | "spl" | "bg" | "lo" | "baseValue" | "baseCurrency" | "baseCurrencyPrice" | "isDataBlockFormula" | "ps" | "hl" | keyof import("@fileverse-dev/fortune-core").CellStyle, value: any, options?: api.CommonOptions) => void;
30
30
  autoFillCell: (copyRange: import("@fileverse-dev/fortune-core").SingleRange, applyRange: import("@fileverse-dev/fortune-core").SingleRange, direction: "left" | "right" | "down" | "up") => void;
31
- freeze: (type: "row" | "column" | "both", range: {
31
+ freeze: (type: "column" | "both" | "row", range: {
32
32
  row: number;
33
33
  column: number;
34
34
  }, options?: api.CommonOptions) => void;
35
- insertRowOrColumn: (type: "row" | "column", index: number, count: number, direction?: "lefttop" | "rightbottom", options?: api.CommonOptions) => void;
36
- deleteRowOrColumn: (type: "row" | "column", start: number, end: number, options?: api.CommonOptions) => void;
37
- hideRowOrColumn: (rowOrColInfo: string[], type: "row" | "column") => void;
38
- showRowOrColumn: (rowOrColInfo: string[], type: "row" | "column") => void;
35
+ insertRowOrColumn: (type: "column" | "row", index: number, count: number, direction?: "lefttop" | "rightbottom", options?: api.CommonOptions) => void;
36
+ deleteRowOrColumn: (type: "column" | "row", start: number, end: number, options?: api.CommonOptions) => void;
37
+ hideRowOrColumn: (rowOrColInfo: string[], type: "column" | "row") => void;
38
+ showRowOrColumn: (rowOrColInfo: string[], type: "column" | "row") => void;
39
39
  setRowHeight: (rowInfo: Record<string, number>, options?: api.CommonOptions, custom?: boolean) => void;
40
40
  setColumnWidth: (columnInfo: Record<string, number>, options?: api.CommonOptions, custom?: boolean) => void;
41
41
  getRowHeight: (rows: number[], options?: api.CommonOptions) => Record<number, number>;
@@ -57,7 +57,7 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
57
57
  getHtmlByRange: (range: import("@fileverse-dev/fortune-core").Range, options?: api.CommonOptions) => string | null;
58
58
  setSelection: (range: import("@fileverse-dev/fortune-core").Range, options?: api.CommonOptions) => void;
59
59
  setCellValuesByRange: (data: any[][], range: import("@fileverse-dev/fortune-core").SingleRange, options?: api.CommonOptions) => void;
60
- setCellFormatByRange: (attr: "m" | "v" | "f" | "mc" | "rt" | "lo" | "ct" | "qp" | "spl" | "bg" | "baseValue" | "baseCurrency" | "baseCurrencyPrice" | "isDataBlockFormula" | "ps" | "hl" | "error" | keyof import("@fileverse-dev/fortune-core").CellStyle, value: any, range: import("@fileverse-dev/fortune-core").Range | import("@fileverse-dev/fortune-core").SingleRange, options?: api.CommonOptions) => void;
60
+ setCellFormatByRange: (attr: "error" | "rt" | "f" | "m" | "v" | "mc" | "ct" | "qp" | "spl" | "bg" | "lo" | "baseValue" | "baseCurrency" | "baseCurrencyPrice" | "isDataBlockFormula" | "ps" | "hl" | keyof import("@fileverse-dev/fortune-core").CellStyle, value: any, range: import("@fileverse-dev/fortune-core").Range | import("@fileverse-dev/fortune-core").SingleRange, options?: api.CommonOptions) => void;
61
61
  mergeCells: (ranges: import("@fileverse-dev/fortune-core").Range, type: string, options?: api.CommonOptions) => void;
62
62
  cancelMerge: (ranges: import("@fileverse-dev/fortune-core").Range, options?: api.CommonOptions) => void;
63
63
  getAllSheets: () => SheetType[];
@@ -116,7 +116,7 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
116
116
  dynamicArray_compute?: any;
117
117
  dynamicArray?: any[] | undefined;
118
118
  frozen?: {
119
- type: "row" | "column" | "both" | "rangeRow" | "rangeColumn" | "rangeBoth";
119
+ type: "column" | "rangeColumn" | "rangeBoth" | "both" | "row" | "rangeRow";
120
120
  range?: {
121
121
  row_focus: number;
122
122
  column_focus: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-react",
3
- "version": "1.1.99-patch-4",
3
+ "version": "1.1.99-patch-6",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "module": "es/index.js",
@@ -16,7 +16,7 @@
16
16
  "tsc": "tsc"
17
17
  },
18
18
  "dependencies": {
19
- "@fileverse-dev/fortune-core": "1.1.99-patch-4",
19
+ "@fileverse-dev/fortune-core": "1.1.99-patch-6",
20
20
  "@fileverse/ui": "^4.1.7-patch-21",
21
21
  "@tippyjs/react": "^4.2.6",
22
22
  "@types/regenerator-runtime": "^0.13.6",