fui-material 1.0.27-beta → 1.0.29-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.
@@ -1 +1 @@
1
- export declare const convertHtmlTbToXml: (opt: Element) => string;
1
+ export declare const convertHtmlTbToXml: (opt: Element, width: number) => string;
@@ -1 +1 @@
1
- export declare const convertJsxElementToXml: (el: HTMLDivElement | HTMLElement) => string;
1
+ export declare const convertJsxElementToXml: (el: HTMLDivElement | HTMLElement, width: number) => string;
@@ -5,7 +5,7 @@ export declare const createStartSpan: () => string;
5
5
  export declare const createEndSpan: () => string;
6
6
  export declare const createTagSpan: (text: string) => string;
7
7
  export declare const createTagBr: () => string;
8
- export declare const createTagTb: (table: string) => string;
8
+ export declare const createTagTb: (table: string, rows: number, width: number) => string;
9
9
  export declare const createTagTbRow: (listCel: string) => string;
10
10
  export declare const createTagTbHeaderCell: (text?: string, rowSpan?: 'restart' | 'continue', colSpan?: number) => string;
11
11
  export declare const createTagTbBodyCell: (text?: string, rowSpan?: 'restart' | 'continue', colSpan?: number) => string;
@@ -1,8 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  export interface IfExportTableToExcel {
3
3
  tableId?: string;
4
+ divId?: string;
4
5
  fileName: string;
5
6
  jsxElement?: JSX.Element;
6
7
  }
7
- declare const fExportTableToExcel: ({ tableId, fileName, jsxElement }: IfExportTableToExcel) => Promise<boolean>;
8
+ declare const fExportTableToExcel: ({ tableId, fileName, jsxElement, divId }: IfExportTableToExcel) => Promise<boolean>;
8
9
  export default fExportTableToExcel;
package/dist/index.d.ts CHANGED
@@ -687,10 +687,11 @@ declare const fPrompt: ({ title, body }: IfPrompt) => Promise<string | null>;
687
687
 
688
688
  interface IfExportTableToExcel {
689
689
  tableId?: string;
690
+ divId?: string;
690
691
  fileName: string;
691
692
  jsxElement?: JSX.Element;
692
693
  }
693
- declare const fExportTableToExcel: ({ tableId, fileName, jsxElement }: IfExportTableToExcel) => Promise<boolean>;
694
+ declare const fExportTableToExcel: ({ tableId, fileName, jsxElement, divId }: IfExportTableToExcel) => Promise<boolean>;
694
695
 
695
696
  interface IfExportHtmlOrJsxToWord {
696
697
  tableId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fui-material",
3
- "version": "1.0.27-beta",
3
+ "version": "1.0.29-beta",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"