fui-material 1.0.10-beta → 1.0.12-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 +7 -7
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/function-elements/index.d.ts +1 -0
- package/dist/esm/index.js +7 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/function-elements/index.d.ts +1 -0
- package/dist/index.d.ts +10 -1
- package/package.json +3 -2
- 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
|
@@ -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
|
@@ -692,6 +692,15 @@ interface IfExportTableToExcel {
|
|
|
692
692
|
}
|
|
693
693
|
declare const fExportTableToExcel: ({ tableId, fileName, jsxElement }: IfExportTableToExcel) => Promise<boolean>;
|
|
694
694
|
|
|
695
|
+
interface IfExportHtmlOrJsxToWord {
|
|
696
|
+
tableId?: string;
|
|
697
|
+
fileName: string;
|
|
698
|
+
jsxElement?: JSX.Element;
|
|
699
|
+
format?: 'A4' | 'A3' | 'A2' | 'A1';
|
|
700
|
+
orientation?: 'landscape' | 'vertical';
|
|
701
|
+
}
|
|
702
|
+
declare const fExportHtmlOrJsxToWord: ({ tableId, fileName, jsxElement, format, orientation }: IfExportHtmlOrJsxToWord) => Promise<boolean>;
|
|
703
|
+
|
|
695
704
|
interface IfNotification {
|
|
696
705
|
title?: string;
|
|
697
706
|
body: string;
|
|
@@ -703,4 +712,4 @@ declare const fNotification: ({ title, body, variant, timeSecClose, buttonClose,
|
|
|
703
712
|
|
|
704
713
|
declare const fNotificationDelete: (id: string) => void;
|
|
705
714
|
|
|
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 };
|
|
715
|
+
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.
|
|
3
|
+
"version": "1.0.12-beta",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"react": "^18.2.0",
|
|
14
14
|
"react-dom": "^18.2.0",
|
|
15
15
|
"react-scripts": "5.0.1",
|
|
16
|
-
"typescript": "^4.9.3"
|
|
16
|
+
"typescript": "^4.9.3",
|
|
17
|
+
"jszip": "^3.10.1"
|
|
17
18
|
},
|
|
18
19
|
"scripts": {
|
|
19
20
|
"build": "rollup -c",
|
|
@@ -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";
|