fui-material 1.0.40-beta → 1.0.42-beta
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/dist/cjs/index.js +2 -52
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/function-elements/fExportHtmlOrJsxToWord/fExportHtmlOrJsxToWord.d.ts +1 -2
- package/dist/cjs/types/function-elements/fExportTableToExcel/fExportTableToExcel.d.ts +1 -2
- package/dist/esm/index.js +2 -52
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/function-elements/fExportHtmlOrJsxToWord/fExportHtmlOrJsxToWord.d.ts +1 -2
- package/dist/esm/types/function-elements/fExportTableToExcel/fExportTableToExcel.d.ts +1 -2
- package/dist/index.d.ts +2 -3
- package/package.json +6 -3
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface IfExportHtmlOrJsxToWord {
|
|
3
2
|
tableId?: string;
|
|
4
3
|
divId?: string;
|
|
5
4
|
fileName: string;
|
|
6
|
-
jsxElement?:
|
|
5
|
+
jsxElement?: string;
|
|
7
6
|
format?: 'A4' | 'A3' | 'A2' | 'A1';
|
|
8
7
|
orientation?: 'landscape' | 'vertical';
|
|
9
8
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface IfExportTableToExcel {
|
|
3
2
|
tableId?: string;
|
|
4
3
|
divId?: string;
|
|
5
4
|
fileName: string;
|
|
6
|
-
jsxElement?:
|
|
5
|
+
jsxElement?: string;
|
|
7
6
|
}
|
|
8
7
|
declare const fExportTableToExcel: ({ tableId, fileName, jsxElement, divId }: IfExportTableToExcel) => Promise<boolean>;
|
|
9
8
|
export default fExportTableToExcel;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
2
|
import React, { FC } from 'react';
|
|
4
3
|
|
|
@@ -689,7 +688,7 @@ interface IfExportTableToExcel {
|
|
|
689
688
|
tableId?: string;
|
|
690
689
|
divId?: string;
|
|
691
690
|
fileName: string;
|
|
692
|
-
jsxElement?:
|
|
691
|
+
jsxElement?: string;
|
|
693
692
|
}
|
|
694
693
|
declare const fExportTableToExcel: ({ tableId, fileName, jsxElement, divId }: IfExportTableToExcel) => Promise<boolean>;
|
|
695
694
|
|
|
@@ -697,7 +696,7 @@ interface IfExportHtmlOrJsxToWord {
|
|
|
697
696
|
tableId?: string;
|
|
698
697
|
divId?: string;
|
|
699
698
|
fileName: string;
|
|
700
|
-
jsxElement?:
|
|
699
|
+
jsxElement?: string;
|
|
701
700
|
format?: 'A4' | 'A3' | 'A2' | 'A1';
|
|
702
701
|
orientation?: 'landscape' | 'vertical';
|
|
703
702
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fui-material",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.42-beta",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@types/node": "^18.11.18",
|
|
11
11
|
"@types/react": "^18.0.25",
|
|
12
|
-
"@types/react-dom": "^18.
|
|
13
|
-
"buffer": "^6.0.3",
|
|
12
|
+
"@types/react-dom": "^18.0.9",
|
|
14
13
|
"jszip": "^3.10.1",
|
|
14
|
+
"buffer": "^6.0.3",
|
|
15
15
|
"process": "^0.11.10",
|
|
16
16
|
"react": "^18.2.0",
|
|
17
17
|
"react-dom": "^18.2.0",
|
|
@@ -58,6 +58,9 @@
|
|
|
58
58
|
"rollup-plugin-postcss": "^4.0.2",
|
|
59
59
|
"rollup-plugin-terser": "^7.0.2"
|
|
60
60
|
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"react": "^18.2.0"
|
|
63
|
+
},
|
|
61
64
|
"main": "dist/cjs/index.js",
|
|
62
65
|
"module": "dist/esm/index.js",
|
|
63
66
|
"files": [
|