fui-material 1.0.10-beta → 1.0.10-release
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 -23
- 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/convertHtmlTbToXml.d.ts +1 -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/cjs/types/function-elements/index.d.ts +1 -0
- package/dist/esm/index.js +5 -23
- 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/convertHtmlTbToXml.d.ts +1 -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/esm/types/function-elements/index.d.ts +1 -0
- package/dist/index.d.ts +13 -2
- package/package.json +6 -1
- package/dist/cjs/types/dop-function/jsxToHtml.d.ts +0 -2
- package/dist/cjs/types/function-elements/dop-function/generateUniqueId.d.ts +0 -1
- package/dist/cjs/types/function-elements/fExportTableToExcel/dop-function/generateUniqueId.d.ts +0 -1
- package/dist/cjs/types/function-elements/fNotification/fNotification.d.ts +0 -11
- package/dist/cjs/types/function-elements/fNotification/fNotification.stories.d.ts +0 -6
- package/dist/cjs/types/function-elements/fNotification/index.d.ts +0 -1
- package/dist/esm/types/dop-function/jsxToHtml.d.ts +0 -2
- package/dist/esm/types/function-elements/dop-function/generateUniqueId.d.ts +0 -1
- package/dist/esm/types/function-elements/fExportTableToExcel/dop-function/generateUniqueId.d.ts +0 -1
- package/dist/esm/types/function-elements/fNotification/fNotification.d.ts +0 -11
- package/dist/esm/types/function-elements/fNotification/fNotification.stories.d.ts +0 -6
- package/dist/esm/types/function-elements/fNotification/index.d.ts +0 -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 convertHtmlTbToXml: (opt: Element) => string;
|
|
1
|
+
export declare const convertHtmlTbToXml: (opt: Element, width: number) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const convertJsxElementToXml: () => string;
|
|
1
|
+
export declare const convertJsxElementToXml: (el: HTMLDivElement | HTMLElement, width: number) => 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, 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;
|
|
@@ -2,5 +2,6 @@ export { default as fAlert } from "./fAlert";
|
|
|
2
2
|
export { default as fConfirm } from "./fConfirm";
|
|
3
3
|
export { default as fPrompt } from "./fPrompt";
|
|
4
4
|
export { default as fExportTableToExcel } from "./fExportTableToExcel";
|
|
5
|
+
export { default as fExportHtmlOrJsxToWord } from "./fExportHtmlOrJsxToWord";
|
|
5
6
|
export { default as fNotification } from "./Notification/fNotification";
|
|
6
7
|
export { default as fNotificationDelete } from "./Notification/fNotificationDelete";
|
package/dist/index.d.ts
CHANGED
|
@@ -687,10 +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>;
|
|
695
|
+
|
|
696
|
+
interface IfExportHtmlOrJsxToWord {
|
|
697
|
+
tableId?: string;
|
|
698
|
+
divId?: string;
|
|
699
|
+
fileName: string;
|
|
700
|
+
jsxElement?: JSX.Element;
|
|
701
|
+
format?: 'A4' | 'A3' | 'A2' | 'A1';
|
|
702
|
+
orientation?: 'landscape' | 'vertical';
|
|
703
|
+
}
|
|
704
|
+
declare const fExportHtmlOrJsxToWord: ({ tableId, fileName, jsxElement, format, orientation, divId }: IfExportHtmlOrJsxToWord) => Promise<boolean>;
|
|
694
705
|
|
|
695
706
|
interface IfNotification {
|
|
696
707
|
title?: string;
|
|
@@ -703,4 +714,4 @@ declare const fNotification: ({ title, body, variant, timeSecClose, buttonClose,
|
|
|
703
714
|
|
|
704
715
|
declare const fNotificationDelete: (id: string) => void;
|
|
705
716
|
|
|
706
|
-
export { FAccordion, FAlert, FArrowIcon, FButton, FButtonFile, FCheckIcon, FCheckbox, FCloseIcon, FContainer, FCopyAddIcon, FDialog, FDialogBody, FDialogFooter, FDialogHeader, FDocumentIcon, FDownloadIcon, FDropdown, FDropdownItem, FFile, FFilterIcon, FFullDateField, FGrid, FInputFileForm, FListIcon, FLoadIcon, FNative, FOpenImgFull, FPagination, FPaper, FPenIcon, FPlusIcon, FPreloader, FProgress, FRadioButton, FSearchBox, FSelect, FSelectItem, FSelectSearchDb, FStack, FTab, FTable, FTableBody, FTableDataCell, FTableFooter, FTableHead, FTableHeaderCell, FTableRow, FTabs, FTextArea, FTextField, FTimeline, FTimelineCard, FTrashIcon, FUnlinkIcon, fAlert, fConfirm, fExportTableToExcel, fNotification, fNotificationDelete, fPrompt };
|
|
717
|
+
export { FAccordion, FAlert, FArrowIcon, FButton, FButtonFile, FCheckIcon, FCheckbox, FCloseIcon, FContainer, FCopyAddIcon, FDialog, FDialogBody, FDialogFooter, FDialogHeader, FDocumentIcon, FDownloadIcon, FDropdown, FDropdownItem, FFile, FFilterIcon, FFullDateField, FGrid, FInputFileForm, FListIcon, FLoadIcon, FNative, FOpenImgFull, FPagination, FPaper, FPenIcon, FPlusIcon, FPreloader, FProgress, FRadioButton, FSearchBox, FSelect, FSelectItem, FSelectSearchDb, FStack, FTab, FTable, FTableBody, FTableDataCell, FTableFooter, FTableHead, FTableHeaderCell, FTableRow, FTabs, FTextArea, FTextField, FTimeline, FTimelineCard, FTrashIcon, FUnlinkIcon, fAlert, fConfirm, fExportHtmlOrJsxToWord, fExportTableToExcel, fNotification, fNotificationDelete, fPrompt };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fui-material",
|
|
3
|
-
"version": "1.0.10-
|
|
3
|
+
"version": "1.0.10-release",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -10,9 +10,13 @@
|
|
|
10
10
|
"@types/node": "^18.11.18",
|
|
11
11
|
"@types/react": "^18.0.25",
|
|
12
12
|
"@types/react-dom": "^18.0.9",
|
|
13
|
+
"jszip": "^3.10.1",
|
|
14
|
+
"buffer": "^6.0.3",
|
|
15
|
+
"process": "^0.11.10",
|
|
13
16
|
"react": "^18.2.0",
|
|
14
17
|
"react-dom": "^18.2.0",
|
|
15
18
|
"react-scripts": "5.0.1",
|
|
19
|
+
"rollup-plugin-polyfill-node": "^0.12.0",
|
|
16
20
|
"typescript": "^4.9.3"
|
|
17
21
|
},
|
|
18
22
|
"scripts": {
|
|
@@ -49,6 +53,7 @@
|
|
|
49
53
|
"rollup-plugin-copy": "^3.5.0",
|
|
50
54
|
"rollup-plugin-dts": "^4.0.1",
|
|
51
55
|
"rollup-plugin-image": "^1.0.2",
|
|
56
|
+
"rollup-plugin-node-polyfills": "^0.2.1",
|
|
52
57
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
53
58
|
"rollup-plugin-postcss": "^4.0.2",
|
|
54
59
|
"rollup-plugin-terser": "^7.0.2"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function generateUniqueId(): string;
|
package/dist/cjs/types/function-elements/fExportTableToExcel/dop-function/generateUniqueId.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function generateUniqueId(): string;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import './fNotification.css';
|
|
2
|
-
export interface IfNotification {
|
|
3
|
-
title?: string;
|
|
4
|
-
body: string;
|
|
5
|
-
variant: 'info' | 'error' | 'success' | 'warning';
|
|
6
|
-
timeSecClose?: number;
|
|
7
|
-
buttonClose?: boolean;
|
|
8
|
-
close?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const fNotification: ({ title, body, variant, timeSecClose, buttonClose, close, }: IfNotification) => void;
|
|
11
|
-
export default fNotification;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { StoryFn } from '@storybook/react';
|
|
2
|
-
import 'bootstrap/dist/css/bootstrap.css';
|
|
3
|
-
import { IfNotification } from "./fNotification";
|
|
4
|
-
declare const _default: Meta<({ title, body, variant, timeSecClose, buttonClose }: IfNotification) => void>;
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const Default: StoryFn<IfNotification>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./fNotification";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function generateUniqueId(): string;
|
package/dist/esm/types/function-elements/fExportTableToExcel/dop-function/generateUniqueId.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function generateUniqueId(): string;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import './fNotification.css';
|
|
2
|
-
export interface IfNotification {
|
|
3
|
-
title?: string;
|
|
4
|
-
body: string;
|
|
5
|
-
variant: 'info' | 'error' | 'success' | 'warning';
|
|
6
|
-
timeSecClose?: number;
|
|
7
|
-
buttonClose?: boolean;
|
|
8
|
-
close?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const fNotification: ({ title, body, variant, timeSecClose, buttonClose, close, }: IfNotification) => void;
|
|
11
|
-
export default fNotification;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { StoryFn } from '@storybook/react';
|
|
2
|
-
import 'bootstrap/dist/css/bootstrap.css';
|
|
3
|
-
import { IfNotification } from "./fNotification";
|
|
4
|
-
declare const _default: Meta<({ title, body, variant, timeSecClose, buttonClose }: IfNotification) => void>;
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const Default: StoryFn<IfNotification>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./fNotification";
|