@fileverse-dev/fortune-react 1.0.12 → 1.0.14

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.
@@ -27,7 +27,7 @@ var Dialog = function Dialog(_a) {
27
27
  var button = locale(context).button;
28
28
  return /*#__PURE__*/React.createElement("div", {
29
29
  className: "fortune-dialog",
30
- style: __assign(__assign({}, containerStyle), title === "Data verification" ? {
30
+ style: __assign(__assign({}, containerStyle), ["Data verification", "Split text to columns", "Resize column"].includes(title) ? {
31
31
  maxWidth: "unset"
32
32
  } : {})
33
33
  }, /*#__PURE__*/React.createElement("div", {
@@ -75,6 +75,11 @@ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx
75
75
  column: number[];
76
76
  }[] | undefined;
77
77
  calcChain?: any[] | undefined;
78
+ dataBlockCalcFunction?: {
79
+ [key: string]: {
80
+ [key: string]: any;
81
+ };
82
+ } | undefined;
78
83
  defaultRowHeight?: number | undefined;
79
84
  defaultColWidth?: number | undefined;
80
85
  showGridLines?: number | boolean | undefined;
@@ -82,6 +82,11 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
82
82
  column: number[];
83
83
  }[] | undefined;
84
84
  calcChain?: any[] | undefined;
85
+ dataBlockCalcFunction?: {
86
+ [key: string]: {
87
+ [key: string]: any;
88
+ };
89
+ } | undefined;
85
90
  defaultRowHeight?: number | undefined;
86
91
  defaultColWidth?: number | undefined;
87
92
  showGridLines?: number | boolean | undefined;
@@ -36,7 +36,7 @@ var Dialog = function Dialog(_a) {
36
36
  var button = (0, _fortuneCore.locale)(context).button;
37
37
  return /*#__PURE__*/_react.default.createElement("div", {
38
38
  className: "fortune-dialog",
39
- style: __assign(__assign({}, containerStyle), title === "Data verification" ? {
39
+ style: __assign(__assign({}, containerStyle), ["Data verification", "Split text to columns", "Resize column"].includes(title) ? {
40
40
  maxWidth: "unset"
41
41
  } : {})
42
42
  }, /*#__PURE__*/_react.default.createElement("div", {
@@ -75,6 +75,11 @@ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx
75
75
  column: number[];
76
76
  }[] | undefined;
77
77
  calcChain?: any[] | undefined;
78
+ dataBlockCalcFunction?: {
79
+ [key: string]: {
80
+ [key: string]: any;
81
+ };
82
+ } | undefined;
78
83
  defaultRowHeight?: number | undefined;
79
84
  defaultColWidth?: number | undefined;
80
85
  showGridLines?: number | boolean | undefined;
@@ -82,6 +82,11 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
82
82
  column: number[];
83
83
  }[] | undefined;
84
84
  calcChain?: any[] | undefined;
85
+ dataBlockCalcFunction?: {
86
+ [key: string]: {
87
+ [key: string]: any;
88
+ };
89
+ } | undefined;
85
90
  defaultRowHeight?: number | undefined;
86
91
  defaultColWidth?: number | undefined;
87
92
  showGridLines?: number | boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-react",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
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.0.12",
19
+ "@fileverse-dev/fortune-core": "1.0.14",
20
20
  "@fileverse/ui": "^4.1.7-patch-16",
21
21
  "@tippyjs/react": "^4.2.6",
22
22
  "@types/regenerator-runtime": "^0.13.6",