@owp/core 1.3.2 → 1.4.0
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/{QuickPanel-CkEdSBpk.js → QuickPanel-BbfOGE9C.js} +2 -2
- package/dist/{QuickPanel-CkEdSBpk.js.map → QuickPanel-BbfOGE9C.js.map} +1 -1
- package/dist/{index-DqTWzUnb.js → index-CUAw682C.js} +28929 -28783
- package/dist/index-CUAw682C.js.map +1 -0
- package/dist/index.js +144 -143
- package/dist/owp-app.css +1 -1
- package/dist/types/components/OwpMoreActionsButton/OwpMoreActionsButton.d.ts +31 -0
- package/dist/types/components/OwpMoreActionsButton/index.d.ts +1 -0
- package/dist/types/components/layouts/shared-components/LogoutToggle.d.ts +5 -0
- package/dist/types/index.d.ts +3 -2
- package/dist/types/utils/excelUtil.d.ts +4 -2
- package/package.json +1 -1
- package/dist/index-DqTWzUnb.js.map +0 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import ExcelJS from 'exceljs';
|
|
2
|
+
type ExcelCellValue = string | number | boolean | Date | ExcelJS.CellValue | null;
|
|
2
3
|
export declare const getIndexByLetters: (letters: string) => number;
|
|
3
4
|
export declare const getLettersByIndex: (index: number) => string;
|
|
4
5
|
export declare const exportExcelByBuffer: (buffer: ExcelJS.Buffer, title?: string) => void;
|
|
5
6
|
export declare const setCellValue: (ws: ExcelJS.Worksheet, { key, value, font, alignment, fill, isHeader, }: {
|
|
6
7
|
key: string;
|
|
7
|
-
value
|
|
8
|
+
value?: ExcelCellValue;
|
|
8
9
|
font?: ExcelJS.Font;
|
|
9
10
|
alignment?: ExcelJS.Alignment;
|
|
10
11
|
fill?: ExcelJS.Fill;
|
|
@@ -12,9 +13,10 @@ export declare const setCellValue: (ws: ExcelJS.Worksheet, { key, value, font, a
|
|
|
12
13
|
}) => void;
|
|
13
14
|
export declare const setMergeCells: (ws: ExcelJS.Worksheet, { range, value, font, alignment, fill, isHeader, }: {
|
|
14
15
|
range: string;
|
|
15
|
-
value
|
|
16
|
+
value?: ExcelCellValue;
|
|
16
17
|
font?: ExcelJS.Font;
|
|
17
18
|
alignment?: ExcelJS.Alignment;
|
|
18
19
|
fill?: ExcelJS.Fill;
|
|
19
20
|
isHeader?: boolean;
|
|
20
21
|
}) => void;
|
|
22
|
+
export {};
|