odf-kit 0.9.6 → 0.9.7
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/CHANGELOG.md +29 -0
- package/README.md +242 -279
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/ods/content.d.ts +0 -9
- package/dist/ods/content.d.ts.map +1 -1
- package/dist/ods/content.js +274 -97
- package/dist/ods/content.js.map +1 -1
- package/dist/ods/document.d.ts +2 -42
- package/dist/ods/document.d.ts.map +1 -1
- package/dist/ods/document.js +7 -42
- package/dist/ods/document.js.map +1 -1
- package/dist/ods/index.d.ts +1 -1
- package/dist/ods/index.d.ts.map +1 -1
- package/dist/ods/settings.d.ts +13 -0
- package/dist/ods/settings.d.ts.map +1 -0
- package/dist/ods/settings.js +67 -0
- package/dist/ods/settings.js.map +1 -0
- package/dist/ods/sheet-builder.d.ts +42 -28
- package/dist/ods/sheet-builder.d.ts.map +1 -1
- package/dist/ods/sheet-builder.js +57 -42
- package/dist/ods/sheet-builder.js.map +1 -1
- package/dist/ods/types.d.ts +68 -30
- package/dist/ods/types.d.ts.map +1 -1
- package/package.json +14 -5
package/dist/index.d.ts
CHANGED
|
@@ -12,5 +12,5 @@ export { fillTemplate, healPlaceholders, replaceAll } from "./template/index.js"
|
|
|
12
12
|
export type { TemplateData } from "./template/index.js";
|
|
13
13
|
export { OdsDocument } from "./ods/index.js";
|
|
14
14
|
export { OdsSheet } from "./ods/index.js";
|
|
15
|
-
export type { OdsCellValue, OdsCellObject, OdsCellOptions, OdsRowOptions, OdsDateFormat, } from "./ods/index.js";
|
|
15
|
+
export type { OdsCellValue, OdsCellObject, OdsCellOptions, OdsCellType, OdsRowOptions, OdsDateFormat, } from "./ods/index.js";
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index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OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EACV,cAAc,EACd,cAAc,EACd,OAAO,EACP,YAAY,EACZ,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,OAAO,EACP,WAAW,EACX,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,kBAAkB,GACnB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjF,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,YAAY,EACV,YAAY,EACZ,aAAa,EACb,cAAc,EACd,WAAW,EACX,aAAa,EACb,aAAa,GACd,MAAM,gBAAgB,CAAC"}
|
package/dist/ods/content.d.ts
CHANGED
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
import type { OdsDateFormat, OdsSheetData } from "./types.js";
|
|
2
2
|
/**
|
|
3
3
|
* Generate the content.xml for an ODS document.
|
|
4
|
-
*
|
|
5
|
-
* @param sheets - Sheet data in tab order.
|
|
6
|
-
* @param defaultDateFormat - Document-level default date display format.
|
|
7
|
-
* @returns Serialized content.xml string.
|
|
8
4
|
*/
|
|
9
5
|
export declare function generateOdsContent(sheets: OdsSheetData[], defaultDateFormat: OdsDateFormat): string;
|
|
10
6
|
/**
|
|
11
7
|
* Generate the styles.xml for an ODS document.
|
|
12
|
-
*
|
|
13
|
-
* ODS requires styles.xml for:
|
|
14
|
-
* - The `Default` table-cell style (referenced via `style:parent-style-name` on
|
|
15
|
-
* all automatic cell styles, and via `table:default-cell-style-name` on columns)
|
|
16
|
-
* - The master page definition (referenced via `style:master-page-name` on table styles)
|
|
17
8
|
*/
|
|
18
9
|
export declare function generateOdsStyles(): string;
|
|
19
10
|
//# sourceMappingURL=content.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../src/ods/content.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAGV,aAAa,EAGb,YAAY,EACb,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../src/ods/content.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAGV,aAAa,EAGb,YAAY,EACb,MAAM,YAAY,CAAC;AAw0BpB;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,YAAY,EAAE,EACtB,iBAAiB,EAAE,aAAa,GAC/B,MAAM,CAkFR;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CA0B1C"}
|