pixel-react-excel-sheet 1.0.52 → 1.0.53
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/lib/components/AttachmentButton/AttachmentButton.js +5 -2
- package/lib/components/AttachmentButton/AttachmentButton.js.map +1 -1
- package/lib/components/AttachmentButton/types.d.ts +1 -0
- package/lib/components/Excel/ExcelFile/ExcelFile.d.ts +6 -2
- package/lib/components/Excel/ExcelFile/ExcelFile.js +8 -4
- package/lib/components/Excel/ExcelFile/ExcelFile.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.d.ts +5 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js +6 -4
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.d.ts +5 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js +2 -2
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
- package/lib/components/Excel/Types.d.ts +7 -0
- package/lib/index.cjs +3 -3
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.ts +7 -2
- package/lib/index.esm.js +2 -2
- package/lib/index.esm.js.br +0 -0
- package/lib/index.esm.js.map +1 -1
- package/lib/styles/AttachmentButton.scss +1 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2591,6 +2591,7 @@ interface AttachmentUploaderProps {
|
|
|
2591
2591
|
deleteButton: boolean;
|
|
2592
2592
|
addAttachmentButton: boolean;
|
|
2593
2593
|
accept?: string[];
|
|
2594
|
+
fileListClick?: (fileName: string) => void;
|
|
2594
2595
|
}
|
|
2595
2596
|
|
|
2596
2597
|
declare const AttachmentButton: React__default.FC<AttachmentUploaderProps>;
|
|
@@ -2814,7 +2815,7 @@ interface ExcelFileProps {
|
|
|
2814
2815
|
/**
|
|
2815
2816
|
* Callback function triggered when saving the Excel data.
|
|
2816
2817
|
*/
|
|
2817
|
-
onSave?: (saveData:
|
|
2818
|
+
onSave?: (saveData: SaveData[]) => void;
|
|
2818
2819
|
/**
|
|
2819
2820
|
* Delay time (in milliseconds) before the onSave callback is executed.
|
|
2820
2821
|
*/
|
|
@@ -2844,7 +2845,11 @@ interface ExcelFileProps {
|
|
|
2844
2845
|
* When set to true, row-related context menu actions are enabled.
|
|
2845
2846
|
*/
|
|
2846
2847
|
rowContextEnable?: boolean;
|
|
2847
|
-
|
|
2848
|
+
attachmentAction?: {
|
|
2849
|
+
addAttachment: (file: File) => Promise<void>;
|
|
2850
|
+
viewAttachment: () => Promise<void>;
|
|
2851
|
+
deleteAttachment: () => Promise<void>;
|
|
2852
|
+
};
|
|
2848
2853
|
}
|
|
2849
2854
|
declare const ExcelFile: React__default.FC<ExcelFileProps>;
|
|
2850
2855
|
|