fui-material 1.0.15-beta → 1.0.16-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 +5 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/function-elements/fExportHtmlOrJsxToWord/fExportHtmlOrJsxToWord.d.ts +2 -1
- package/dist/cjs/types/function-elements/fExportHtmlOrJsxToWord/functions/convertHtmlToXml/convertJsxElementToXml.d.ts +1 -1
- package/dist/cjs/types/function-elements/fExportHtmlOrJsxToWord/functions/createXmlTags.d.ts +1 -1
- package/dist/cjs/types/function-elements/fExportTableToExcel/fExportTableToExcel.d.ts +2 -1
- package/dist/esm/index.js +5 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/function-elements/fExportHtmlOrJsxToWord/fExportHtmlOrJsxToWord.d.ts +2 -1
- package/dist/esm/types/function-elements/fExportHtmlOrJsxToWord/functions/convertHtmlToXml/convertJsxElementToXml.d.ts +1 -1
- package/dist/esm/types/function-elements/fExportHtmlOrJsxToWord/functions/createXmlTags.d.ts +1 -1
- package/dist/esm/types/function-elements/fExportTableToExcel/fExportTableToExcel.d.ts +2 -1
- package/dist/index.d.ts +4 -2
- package/package.json +1 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export interface IfExportHtmlOrJsxToWord {
|
|
3
3
|
tableId?: string;
|
|
4
|
+
divId?: string;
|
|
4
5
|
fileName: string;
|
|
5
6
|
jsxElement?: JSX.Element;
|
|
6
7
|
format?: 'A4' | 'A3' | 'A2' | 'A1';
|
|
7
8
|
orientation?: 'landscape' | 'vertical';
|
|
8
9
|
}
|
|
9
|
-
export declare const fExportHtmlOrJsxToWord: ({ tableId, fileName, jsxElement, format, orientation }: IfExportHtmlOrJsxToWord) => Promise<boolean>;
|
|
10
|
+
export declare const fExportHtmlOrJsxToWord: ({ tableId, fileName, jsxElement, format, orientation, divId }: IfExportHtmlOrJsxToWord) => Promise<boolean>;
|
|
10
11
|
export default fExportHtmlOrJsxToWord;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const convertJsxElementToXml: () => string;
|
|
1
|
+
export declare const convertJsxElementToXml: (el: HTMLDivElement | HTMLElement) => string;
|
package/dist/esm/types/function-elements/fExportHtmlOrJsxToWord/functions/createXmlTags.d.ts
CHANGED
|
@@ -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) => 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,19 +687,21 @@ 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;
|
|
698
|
+
divId?: string;
|
|
697
699
|
fileName: string;
|
|
698
700
|
jsxElement?: JSX.Element;
|
|
699
701
|
format?: 'A4' | 'A3' | 'A2' | 'A1';
|
|
700
702
|
orientation?: 'landscape' | 'vertical';
|
|
701
703
|
}
|
|
702
|
-
declare const fExportHtmlOrJsxToWord: ({ tableId, fileName, jsxElement, format, orientation }: IfExportHtmlOrJsxToWord) => Promise<boolean>;
|
|
704
|
+
declare const fExportHtmlOrJsxToWord: ({ tableId, fileName, jsxElement, format, orientation, divId }: IfExportHtmlOrJsxToWord) => Promise<boolean>;
|
|
703
705
|
|
|
704
706
|
interface IfNotification {
|
|
705
707
|
title?: string;
|