abdul-react 0.0.28 → 0.0.29
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/Excel/ExcelFile/ExcelFile.d.ts +7 -9
- package/lib/components/Excel/ExcelFile/ExcelFile.js +101 -5
- package/lib/components/Excel/ExcelFile/ExcelFile.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.d.ts +0 -5
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js +0 -6
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js +16 -5
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.d.ts +2 -4
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js +8 -4
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/types.d.ts +2 -0
- package/lib/index.cjs +125 -20
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.ts +7 -16
- package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
- package/lib/node_modules/js-beautify/js/src/javascript/options.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3273,14 +3273,6 @@ interface LabelEditTextFieldTypes {
|
|
|
3273
3273
|
|
|
3274
3274
|
declare const EditTextField: FC<LabelEditTextFieldTypes>;
|
|
3275
3275
|
|
|
3276
|
-
/** A cell coordinates in the spreadsheet */
|
|
3277
|
-
type Point = {
|
|
3278
|
-
/** The cell's column */
|
|
3279
|
-
column: number;
|
|
3280
|
-
/** The cell's row */
|
|
3281
|
-
row: number;
|
|
3282
|
-
};
|
|
3283
|
-
|
|
3284
3276
|
type ContextMenuState = {
|
|
3285
3277
|
open: boolean;
|
|
3286
3278
|
contextType: 'sheet' | 'column' | 'row' | 'cell' | null;
|
|
@@ -3341,10 +3333,13 @@ interface ExcelFileProps {
|
|
|
3341
3333
|
* This helps in determining the structure of the sheet.
|
|
3342
3334
|
*/
|
|
3343
3335
|
colCount?: number;
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3336
|
+
onSave?: (saveData: SaveData[], headerOldNewData?: {
|
|
3337
|
+
sheetName: string;
|
|
3338
|
+
headers: {
|
|
3339
|
+
newData: string;
|
|
3340
|
+
oldData: string;
|
|
3341
|
+
}[];
|
|
3342
|
+
}[]) => void;
|
|
3348
3343
|
onSaveInfoChange?: (info: string) => void;
|
|
3349
3344
|
/**
|
|
3350
3345
|
* Delay time (in milliseconds) before the onSave callback is executed.
|
|
@@ -3388,10 +3383,6 @@ interface ExcelFileProps {
|
|
|
3388
3383
|
maxRowLimit?: number;
|
|
3389
3384
|
maxColLimit?: number;
|
|
3390
3385
|
maxSheetLimit?: number;
|
|
3391
|
-
getActiveCell?: (cell: {
|
|
3392
|
-
value: string;
|
|
3393
|
-
active: Point;
|
|
3394
|
-
}) => void;
|
|
3395
3386
|
}
|
|
3396
3387
|
declare const ExcelFile: React__default.FC<ExcelFileProps>;
|
|
3397
3388
|
|