@office-open/core 0.10.12 → 0.10.14
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/README.md +10 -9
- package/dist/chart/index.d.mts +2 -2
- package/dist/chart/index.mjs +1 -1
- package/dist/{chart-DwE8FCFk.mjs → chart-DIGJna_6.mjs} +220 -9
- package/dist/chart-DIGJna_6.mjs.map +1 -0
- package/dist/converters-C_Y2QX1w.mjs +1789 -0
- package/dist/converters-C_Y2QX1w.mjs.map +1 -0
- package/dist/data-type-CZMKVaaT.d.mts +10 -0
- package/dist/data-type-CZMKVaaT.d.mts.map +1 -0
- package/dist/descriptor/index.d.mts +2 -2
- package/dist/descriptor/index.mjs +2 -2
- package/dist/{descriptor-DAER86Rt.mjs → descriptor-BjNkn5jo.mjs} +3 -33
- package/dist/descriptor-BjNkn5jo.mjs.map +1 -0
- package/dist/drawingml/index.d.mts +2 -2
- package/dist/drawingml/index.mjs +2 -2
- package/dist/{src-bVqU5Bh3.mjs → drawingml-sj1J3lb0.mjs} +22 -3728
- package/dist/drawingml-sj1J3lb0.mjs.map +1 -0
- package/dist/index-BVK2dv6C.d.mts +63 -0
- package/dist/index-BVK2dv6C.d.mts.map +1 -0
- package/dist/index-BfHfKuKy.d.mts +275 -0
- package/dist/index-BfHfKuKy.d.mts.map +1 -0
- package/dist/index-CE53SwpZ.d.mts +1463 -0
- package/dist/index-CE53SwpZ.d.mts.map +1 -0
- package/dist/{index-3STznXzZ.d.mts → index-D6VE-MnJ.d.mts} +3 -15
- package/dist/index-D6VE-MnJ.d.mts.map +1 -0
- package/dist/{index-CN0YjNSx.d.mts → index-DE4CLElr.d.mts} +29 -21
- package/dist/index-DE4CLElr.d.mts.map +1 -0
- package/dist/{index-CsQP7Cl4.d.mts → index-DlPA26cw.d.mts} +2 -47
- package/dist/index-DlPA26cw.d.mts.map +1 -0
- package/dist/index-k8WKLXnA.d.mts +150 -0
- package/dist/index-k8WKLXnA.d.mts.map +1 -0
- package/dist/index.d.mts +650 -8
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +1271 -7
- package/dist/index.mjs.map +1 -0
- package/dist/output-D_G_JR_8.d.mts +24 -0
- package/dist/output-D_G_JR_8.d.mts.map +1 -0
- package/dist/patch/index.d.mts +2 -2
- package/dist/patch/index.mjs +1 -1
- package/dist/{patch-OSbQIQAi.mjs → patch-BmRfghOo.mjs} +65 -84
- package/dist/patch-BmRfghOo.mjs.map +1 -0
- package/dist/smartart/index.d.mts +1 -1
- package/dist/smartart/index.mjs +1 -1
- package/dist/{smartart-DCY-Vdv7.mjs → smartart-B7ukZ-Tw.mjs} +5 -3
- package/dist/smartart-B7ukZ-Tw.mjs.map +1 -0
- package/dist/theme/index.d.mts +1 -1
- package/dist/theme-CiNzdl-9.mjs +2 -0
- package/dist/theme-CiNzdl-9.mjs.map +1 -0
- package/dist/util/index.d.mts +4 -0
- package/dist/util/index.mjs +3 -0
- package/dist/util-Tq9PSjK0.mjs +1113 -0
- package/dist/util-Tq9PSjK0.mjs.map +1 -0
- package/dist/values-8di32lIe.d.mts +56 -0
- package/dist/values-8di32lIe.d.mts.map +1 -0
- package/package.json +7 -6
- package/dist/index-CHGFwCCQ.d.mts +0 -266
- package/dist/index-CpNwAcem.d.mts +0 -169
- package/dist/index-DdXU1_sq.d.mts +0 -5029
- package/dist/util/values.d.mts +0 -2
- package/dist/util/values.mjs +0 -2
- package/dist/values-CVIZcTRw.mjs +0 -371
- package/dist/values-DQfI1FSg.d.mts +0 -426
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Element } from "@office-open/xml";
|
|
2
|
+
|
|
3
|
+
//#region src/descriptor/context.d.ts
|
|
4
|
+
interface WriteContext {
|
|
5
|
+
addRelationship(type: string, target: string, mode?: string): string;
|
|
6
|
+
addMedia(data: Uint8Array, type: string): string;
|
|
7
|
+
}
|
|
8
|
+
interface ReadContext {
|
|
9
|
+
resolveRelationship(rId: string): string | undefined;
|
|
10
|
+
getPart(path: string): Element | undefined;
|
|
11
|
+
getRaw(path: string): Uint8Array | undefined;
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/descriptor/types.d.ts
|
|
15
|
+
interface CustomDescriptor<TInput, Ctx = WriteContext, TOutput = TInput> {
|
|
16
|
+
kind: "custom";
|
|
17
|
+
stringify(value: TInput, ctx: Ctx): string | undefined;
|
|
18
|
+
parse(el: Element, ctx: ReadContext): TOutput;
|
|
19
|
+
}
|
|
20
|
+
type Descriptor<TInput, Ctx = WriteContext, TOutput = TInput> = CustomDescriptor<TInput, Ctx, TOutput>;
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/descriptor/runtime.d.ts
|
|
23
|
+
declare function stringify$1<TInput, Ctx = WriteContext, TOutput = TInput>(desc: CustomDescriptor<TInput, Ctx, TOutput>, value: TInput, ctx: Ctx): string | undefined;
|
|
24
|
+
declare function parse$1<TInput, TOutput = TInput, Ctx = WriteContext>(desc: CustomDescriptor<TInput, Ctx, TOutput>, el: Element, ctx: ReadContext): TOutput;
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/descriptor/field-spec.d.ts
|
|
27
|
+
interface DescriptorFieldSpec {
|
|
28
|
+
id: string;
|
|
29
|
+
optionsInterface: string;
|
|
30
|
+
interfaceFields: readonly string[];
|
|
31
|
+
writeFields: readonly string[];
|
|
32
|
+
parseFields: readonly string[];
|
|
33
|
+
order?: readonly string[];
|
|
34
|
+
sampleOptions: unknown;
|
|
35
|
+
excludeFields?: readonly string[];
|
|
36
|
+
notes?: string;
|
|
37
|
+
}
|
|
38
|
+
declare const FIELD_SPECS: readonly DescriptorFieldSpec[];
|
|
39
|
+
declare function findFieldSpec(id: string): DescriptorFieldSpec | undefined;
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region src/descriptor/field-consistency.d.ts
|
|
42
|
+
interface FieldConsistencyReport {
|
|
43
|
+
f1WriteLoss: readonly string[];
|
|
44
|
+
f2WriteOnly: readonly string[];
|
|
45
|
+
f3ParseLoss: readonly string[];
|
|
46
|
+
f5ParseOnly: readonly string[];
|
|
47
|
+
}
|
|
48
|
+
declare function diffTagSets(spec: DescriptorFieldSpec): FieldConsistencyReport;
|
|
49
|
+
interface RoundTripResult {
|
|
50
|
+
lost: readonly string[];
|
|
51
|
+
gained: readonly string[];
|
|
52
|
+
mutated: readonly string[];
|
|
53
|
+
}
|
|
54
|
+
declare function roundTripFields<T extends object, WC = unknown, RC = unknown>(stringifyFn: (opts: T, ctx: WC) => string | undefined, parseFn: (el: Element, ctx: RC) => T, sample: T, writeCtx: WC, readCtx: RC): RoundTripResult;
|
|
55
|
+
interface OrderViolation {
|
|
56
|
+
index: number;
|
|
57
|
+
tag: string;
|
|
58
|
+
reason: "unexpected" | "out-of-order";
|
|
59
|
+
}
|
|
60
|
+
declare function checkOrder(xml: string, expected: readonly string[]): readonly OrderViolation[];
|
|
61
|
+
//#endregion
|
|
62
|
+
export { diffTagSets as a, FIELD_SPECS as c, stringify$1 as d, CustomDescriptor as f, WriteContext as h, checkOrder as i, findFieldSpec as l, ReadContext as m, OrderViolation as n, roundTripFields as o, Descriptor as p, RoundTripResult as r, DescriptorFieldSpec as s, FieldConsistencyReport as t, parse$1 as u };
|
|
63
|
+
//# sourceMappingURL=index-BVK2dv6C.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BVK2dv6C.d.mts","names":[],"sources":["../src/descriptor/context.ts","../src/descriptor/types.ts","../src/descriptor/runtime.ts","../src/descriptor/field-spec.ts","../src/descriptor/field-consistency.ts"],"mappings":";;;UASiB,YAAA;EAEf,eAAA,CAAgB,IAAA,UAAc,MAAA,UAAgB,IAAA;EAE9C,QAAA,CAAS,IAAA,EAAM,UAAU,EAAE,IAAA;AAAA;AAAA,UAIZ,WAAA;EAEf,mBAAA,CAAoB,GAAA;EAEpB,OAAA,CAAQ,IAAA,WAAe,OAAA;EAEvB,MAAA,CAAO,IAAA,WAAe,UAAU;AAAA;;;UCSj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AA,GACR,eAAA;AAAA,UAYc,cAAA;EAEf,KAAA;EAEA,GAAA;EAEA,MAAA;AAAA;AAAA,iBAWc,UAAA,CAAW,GAAA,UAAa,QAAA,+BAAuC,cAAc"}
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import { n as OutputByType, r as OutputType } from "./output-D_G_JR_8.mjs";
|
|
2
|
+
import { ZipOptions, Zippable, Zippable as Zippable$1, strFromU8 as strFromU8$1, unzipSync as unzipSync$1 } from "fflate";
|
|
3
|
+
import { Buffer } from "\u0000polyfill-node.buffer";
|
|
4
|
+
|
|
5
|
+
//#region src/opc/packer.d.ts
|
|
6
|
+
interface XmlifyedFile {
|
|
7
|
+
path: string;
|
|
8
|
+
data: string | Uint8Array;
|
|
9
|
+
}
|
|
10
|
+
declare const ZIP_DEFLATE_LEVEL = 1;
|
|
11
|
+
declare const ZIP_STORED_LEVEL = 0;
|
|
12
|
+
declare const levelForMediaName: (fileName: string, mediaLevel: number) => number;
|
|
13
|
+
interface CompressionOptions {
|
|
14
|
+
xml?: number;
|
|
15
|
+
media?: number;
|
|
16
|
+
}
|
|
17
|
+
interface PackerOptions<T extends OutputType = "nodebuffer"> {
|
|
18
|
+
type?: T;
|
|
19
|
+
overrides?: XmlifyedFile[];
|
|
20
|
+
compression?: CompressionOptions;
|
|
21
|
+
}
|
|
22
|
+
declare const zipAndConvert: <T extends OutputType>(files: Zippable, type: T, mimeType: string, level?: number) => Promise<OutputByType[T]>;
|
|
23
|
+
declare const zipSyncAndConvert: <T extends OutputType>(files: Zippable, type: T, mimeType: string, level?: number) => OutputByType[T];
|
|
24
|
+
declare const createZipStream: (files: Zippable, defaultLevel?: number) => ReadableStream<Uint8Array>;
|
|
25
|
+
type CompileFn<TFile> = (file: TFile, overrides?: XmlifyedFile[], mediaLevel?: number) => Zippable;
|
|
26
|
+
interface Packer<TFile> {
|
|
27
|
+
compile: CompileFn<TFile>;
|
|
28
|
+
pack<T extends OutputType = "nodebuffer">(file: TFile, options?: PackerOptions<T>): Promise<OutputByType[T]>;
|
|
29
|
+
packSync<T extends OutputType = "nodebuffer">(file: TFile, options?: PackerOptions<T>): OutputByType[T];
|
|
30
|
+
toBytes(file: TFile, options?: PackerOptions): Promise<Uint8Array>;
|
|
31
|
+
toBytesSync(file: TFile, options?: PackerOptions): Uint8Array;
|
|
32
|
+
toString(file: TFile, options?: PackerOptions): Promise<string>;
|
|
33
|
+
toStringSync(file: TFile, options?: PackerOptions): string;
|
|
34
|
+
toBuffer(file: TFile, options?: PackerOptions): Promise<Buffer>;
|
|
35
|
+
toBufferSync(file: TFile, options?: PackerOptions): Buffer;
|
|
36
|
+
toBase64(file: TFile, options?: PackerOptions): Promise<string>;
|
|
37
|
+
toBase64Sync(file: TFile, options?: PackerOptions): string;
|
|
38
|
+
toBlob(file: TFile, options?: PackerOptions): Promise<Blob>;
|
|
39
|
+
toBlobSync(file: TFile, options?: PackerOptions): Blob;
|
|
40
|
+
toArrayBuffer(file: TFile, options?: PackerOptions): Promise<ArrayBuffer>;
|
|
41
|
+
toArrayBufferSync(file: TFile, options?: PackerOptions): ArrayBuffer;
|
|
42
|
+
toStream(file: TFile, options?: PackerOptions): ReadableStream<Uint8Array>;
|
|
43
|
+
}
|
|
44
|
+
declare const createPacker: <TFile>(options: {
|
|
45
|
+
compile: CompileFn<TFile>;
|
|
46
|
+
mimeType: string;
|
|
47
|
+
}) => Packer<TFile>;
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/opc/relationships.d.ts
|
|
50
|
+
type RelationshipType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" | "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramData" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramLayout" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramQuickStyle" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramColors" | "http://schemas.microsoft.com/office/2007/relationships/diagramLayout" | "http://schemas.microsoft.com/office/2007/relationships/diagramStyle" | "http://schemas.microsoft.com/office/2007/relationships/diagramColors" | "http://schemas.microsoft.com/office/2007/relationships/diagramDrawing" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/bibliography" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/glossaryDocument" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/font" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/subDocument" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/presProps" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/viewProps" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/tableStyles" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesMaster" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/handoutMaster" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideSyncProperties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/commentAuthors" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/video" | "http://schemas.microsoft.com/office/2007/relationships/media" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheRecords" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/table" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/revisionHeaders" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/revisionLog" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/users";
|
|
51
|
+
declare const TargetModeType: {
|
|
52
|
+
readonly EXTERNAL: "External";
|
|
53
|
+
};
|
|
54
|
+
declare class Relationships {
|
|
55
|
+
private entries;
|
|
56
|
+
addRelationship(id: number | string, type: RelationshipType, target: string, targetMode?: (typeof TargetModeType)[keyof typeof TargetModeType]): void;
|
|
57
|
+
get relationshipCount(): number;
|
|
58
|
+
serialize(): string;
|
|
59
|
+
}
|
|
60
|
+
declare function optionalRelsPart(rel: Relationships, xmlDeclaration: string, path: string): XmlifyedFile | undefined;
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region src/util/compile.d.ts
|
|
63
|
+
declare function compileMapping(mapping: Record<string, {
|
|
64
|
+
data: string;
|
|
65
|
+
path: string;
|
|
66
|
+
}>, overrides?: XmlifyedFile[], media?: {
|
|
67
|
+
data: Uint8Array;
|
|
68
|
+
path: string;
|
|
69
|
+
}[], mediaLevel?: number): Zippable$1;
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/util/converters.d.ts
|
|
72
|
+
declare const convertMillimetersToTwip: (millimeters: number) => number;
|
|
73
|
+
declare const convertInchesToTwip: (inches: number) => number;
|
|
74
|
+
declare const convertPixelsToEmu: (pixels: number) => number;
|
|
75
|
+
declare const convertEmuToPixels: (emus: number) => number;
|
|
76
|
+
declare const convertInchesToEmu: (inches: number) => number;
|
|
77
|
+
declare const convertEmuToInches: (emus: number) => number;
|
|
78
|
+
declare const convertPointsToEmu: (points: number) => number;
|
|
79
|
+
declare const convertEmuToPoints: (emus: number) => number;
|
|
80
|
+
interface ParsedMeasure {
|
|
81
|
+
value: number;
|
|
82
|
+
unit: "mm" | "cm" | "in" | "pt" | "pc" | "pi" | "px";
|
|
83
|
+
}
|
|
84
|
+
declare const parseUniversalMeasure: (measure: string) => ParsedMeasure;
|
|
85
|
+
declare const convertUniversalMeasureToTwip: (measure: string) => number;
|
|
86
|
+
declare const convertToTwip: (val: number | string) => number;
|
|
87
|
+
declare const convertUniversalMeasureToEmu: (measure: string) => number;
|
|
88
|
+
declare const convertToEmu: (val: number | string) => number;
|
|
89
|
+
declare const convertUniversalMeasureToPt: (measure: string) => number;
|
|
90
|
+
declare const convertToPt: (val: number | string) => number;
|
|
91
|
+
declare const convertUniversalMeasureToInch: (measure: string) => number;
|
|
92
|
+
declare const convertToInch: (val: number | string) => number;
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region src/util/crypto.d.ts
|
|
95
|
+
declare function randomBytes(length: number): Uint8Array;
|
|
96
|
+
declare function hashPasswordAgile(password: string, salt: Uint8Array, spinCount: number): string;
|
|
97
|
+
declare function derivePasswordHash(password: string, spinCount?: number): {
|
|
98
|
+
hashValue: string;
|
|
99
|
+
saltValue: string;
|
|
100
|
+
spinCount: number;
|
|
101
|
+
algorithmName: string;
|
|
102
|
+
};
|
|
103
|
+
//#endregion
|
|
104
|
+
//#region src/util/generators.d.ts
|
|
105
|
+
type UniqueNumericIdCreator = () => number;
|
|
106
|
+
declare const uniqueNumericIdCreator: (initial?: number) => UniqueNumericIdCreator;
|
|
107
|
+
declare const uniqueId: () => string;
|
|
108
|
+
declare const hashedId: (data: Uint8Array | ArrayBuffer | string) => string;
|
|
109
|
+
declare const uniqueUuid: () => string;
|
|
110
|
+
//#endregion
|
|
111
|
+
//#region src/util/mappings.d.ts
|
|
112
|
+
declare function invertMap<K extends string, V extends string>(map: Record<K, V>): Record<V, K>;
|
|
113
|
+
declare const xsdRectAlignment: {
|
|
114
|
+
to: (key: string) => string;
|
|
115
|
+
from: (xsd: string) => string;
|
|
116
|
+
forward: Record<"topLeft" | "top" | "topRight" | "left" | "center" | "right" | "bottomLeft" | "bottom" | "bottomRight", "b" | "ctr" | "l" | "r" | "t" | "tl" | "tr" | "bl" | "br">;
|
|
117
|
+
reverse: Record<"b" | "ctr" | "l" | "r" | "t" | "tl" | "tr" | "bl" | "br", "topLeft" | "top" | "topRight" | "left" | "center" | "right" | "bottomLeft" | "bottom" | "bottomRight">;
|
|
118
|
+
};
|
|
119
|
+
declare const xsdTextAlign: {
|
|
120
|
+
to: (key: string) => string;
|
|
121
|
+
from: (xsd: string) => string;
|
|
122
|
+
forward: Record<"left" | "center" | "right" | "justify", "ctr" | "l" | "r" | "just">;
|
|
123
|
+
reverse: Record<"ctr" | "l" | "r" | "just", "left" | "center" | "right" | "justify">;
|
|
124
|
+
};
|
|
125
|
+
declare const xsdTextAnchor: {
|
|
126
|
+
to: (key: string) => string;
|
|
127
|
+
from: (xsd: string) => string;
|
|
128
|
+
forward: Record<"top" | "center" | "bottom" | "justify" | "distribute", "b" | "ctr" | "t" | "just" | "dist">;
|
|
129
|
+
reverse: Record<"b" | "ctr" | "t" | "just" | "dist", "top" | "center" | "bottom" | "justify" | "distribute">;
|
|
130
|
+
};
|
|
131
|
+
declare const xsdLineCap: {
|
|
132
|
+
to: (key: string) => string;
|
|
133
|
+
from: (xsd: string) => string;
|
|
134
|
+
forward: Record<"round" | "square" | "flat", "rnd" | "sq" | "flat">;
|
|
135
|
+
reverse: Record<"rnd" | "sq" | "flat", "round" | "square" | "flat">;
|
|
136
|
+
};
|
|
137
|
+
declare const xsdCompoundLine: {
|
|
138
|
+
to: (key: string) => string;
|
|
139
|
+
from: (xsd: string) => string;
|
|
140
|
+
forward: Record<"single" | "double" | "thickThin" | "thinThick" | "triple", "sng" | "dbl" | "thickThin" | "thinThick" | "tri">;
|
|
141
|
+
reverse: Record<"sng" | "dbl" | "thickThin" | "thinThick" | "tri", "single" | "double" | "thickThin" | "thinThick" | "triple">;
|
|
142
|
+
};
|
|
143
|
+
declare const xsdPenAlignment: {
|
|
144
|
+
to: (key: string) => string;
|
|
145
|
+
from: (xsd: string) => string;
|
|
146
|
+
forward: Record<"center" | "inside", "ctr" | "in">;
|
|
147
|
+
reverse: Record<"ctr" | "in", "center" | "inside">;
|
|
148
|
+
};
|
|
149
|
+
declare const xsdLineEndSize: {
|
|
150
|
+
to: (key: string) => string;
|
|
151
|
+
from: (xsd: string) => string;
|
|
152
|
+
forward: Record<"small" | "medium" | "large", "sm" | "med" | "lg">;
|
|
153
|
+
reverse: Record<"sm" | "med" | "lg", "small" | "medium" | "large">;
|
|
154
|
+
};
|
|
155
|
+
declare const xsdBlendMode: {
|
|
156
|
+
to: (key: string) => string;
|
|
157
|
+
from: (xsd: string) => string;
|
|
158
|
+
forward: Record<"over" | "multiply" | "screen" | "darken" | "lighten", "over" | "mult" | "screen" | "darken" | "lighten">;
|
|
159
|
+
reverse: Record<"over" | "mult" | "screen" | "darken" | "lighten", "over" | "multiply" | "screen" | "darken" | "lighten">;
|
|
160
|
+
};
|
|
161
|
+
declare const xsdPathFillMode: {
|
|
162
|
+
to: (key: string) => string;
|
|
163
|
+
from: (xsd: string) => string;
|
|
164
|
+
forward: Record<"none" | "darken" | "lighten" | "normal" | "lightenLess" | "darkenLess", "none" | "darken" | "lighten" | "norm" | "lightenLess" | "darkenLess">;
|
|
165
|
+
reverse: Record<"none" | "darken" | "lighten" | "norm" | "lightenLess" | "darkenLess", "none" | "darken" | "lighten" | "normal" | "lightenLess" | "darkenLess">;
|
|
166
|
+
};
|
|
167
|
+
declare const xsdEffectContainer: {
|
|
168
|
+
to: (key: string) => string;
|
|
169
|
+
from: (xsd: string) => string;
|
|
170
|
+
forward: Record<"sibling" | "tree", "sib" | "tree">;
|
|
171
|
+
reverse: Record<"sib" | "tree", "sibling" | "tree">;
|
|
172
|
+
};
|
|
173
|
+
declare const xsdPresetShadow: {
|
|
174
|
+
to: (key: string) => string;
|
|
175
|
+
from: (xsd: string) => string;
|
|
176
|
+
forward: Record<"shadow1" | "shadow2" | "shadow3" | "shadow4" | "shadow5" | "shadow6" | "shadow7" | "shadow8" | "shadow9" | "shadow10" | "shadow11" | "shadow12" | "shadow13" | "shadow14" | "shadow15" | "shadow16" | "shadow17" | "shadow18" | "shadow19" | "shadow20", "shdw1" | "shdw2" | "shdw3" | "shdw4" | "shdw5" | "shdw6" | "shdw7" | "shdw8" | "shdw9" | "shdw10" | "shdw11" | "shdw12" | "shdw13" | "shdw14" | "shdw15" | "shdw16" | "shdw17" | "shdw18" | "shdw19" | "shdw20">;
|
|
177
|
+
reverse: Record<"shdw1" | "shdw2" | "shdw3" | "shdw4" | "shdw5" | "shdw6" | "shdw7" | "shdw8" | "shdw9" | "shdw10" | "shdw11" | "shdw12" | "shdw13" | "shdw14" | "shdw15" | "shdw16" | "shdw17" | "shdw18" | "shdw19" | "shdw20", "shadow1" | "shadow2" | "shadow3" | "shadow4" | "shadow5" | "shadow6" | "shadow7" | "shadow8" | "shadow9" | "shadow10" | "shadow11" | "shadow12" | "shadow13" | "shadow14" | "shadow15" | "shadow16" | "shadow17" | "shadow18" | "shadow19" | "shadow20">;
|
|
178
|
+
};
|
|
179
|
+
declare const xsdMaterialType: {
|
|
180
|
+
to: (key: string) => string;
|
|
181
|
+
from: (xsd: string) => string;
|
|
182
|
+
forward: Record<"flat" | "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "darkEdge" | "softEdge" | "clear" | "softMetal", "flat" | "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "dkEdge" | "softEdge" | "clear" | "softmetal">;
|
|
183
|
+
reverse: Record<"flat" | "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "dkEdge" | "softEdge" | "clear" | "softmetal", "flat" | "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "darkEdge" | "softEdge" | "clear" | "softMetal">;
|
|
184
|
+
};
|
|
185
|
+
declare const xsdPattern: {
|
|
186
|
+
to: (key: string) => string;
|
|
187
|
+
from: (xsd: string) => string;
|
|
188
|
+
forward: Record<"percent5" | "percent10" | "percent20" | "percent25" | "percent30" | "percent40" | "percent50" | "percent60" | "percent70" | "percent75" | "percent80" | "percent90" | "horizontal" | "vertical" | "lightHorizontal" | "lightVertical" | "darkHorizontal" | "darkVertical" | "narrowHorizontal" | "narrowVertical" | "dashedHorizontal" | "dashedVertical" | "cross" | "downDiagonal" | "upDiagonal" | "lightDownDiagonal" | "lightUpDiagonal" | "darkDownDiagonal" | "darkUpDiagonal" | "wideDownDiagonal" | "wideUpDiagonal" | "dashedDownDiagonal" | "dashedUpDiagonal" | "diagonalCross" | "smallChecker" | "largeChecker" | "smallGrid" | "largeGrid" | "dotGrid" | "smallConfetti" | "largeConfetti" | "horizontalBrick" | "diagonalBrick" | "solidDiamond" | "openDiamond" | "dottedDiamond" | "plaid" | "sphere" | "weave" | "divot" | "shingle" | "wave" | "trellis" | "zigZag", "pct5" | "pct10" | "pct20" | "pct25" | "pct30" | "pct40" | "pct50" | "pct60" | "pct70" | "pct75" | "pct80" | "pct90" | "horz" | "vert" | "ltHorz" | "ltVert" | "dkHorz" | "dkVert" | "narHorz" | "narVert" | "dashHorz" | "dashVert" | "cross" | "dnDiag" | "upDiag" | "ltDnDiag" | "ltUpDiag" | "dkDnDiag" | "dkUpDiag" | "wdDnDiag" | "wdUpDiag" | "dashDnDiag" | "dashUpDiag" | "diagCross" | "smCheck" | "lgCheck" | "smGrid" | "lgGrid" | "dotGrid" | "smConfetti" | "lgConfetti" | "horzBrick" | "diagBrick" | "solidDmnd" | "openDmnd" | "dotDmnd" | "plaid" | "sphere" | "weave" | "divot" | "shingle" | "wave" | "trellis" | "zigZag">;
|
|
189
|
+
reverse: Record<"pct5" | "pct10" | "pct20" | "pct25" | "pct30" | "pct40" | "pct50" | "pct60" | "pct70" | "pct75" | "pct80" | "pct90" | "horz" | "vert" | "ltHorz" | "ltVert" | "dkHorz" | "dkVert" | "narHorz" | "narVert" | "dashHorz" | "dashVert" | "cross" | "dnDiag" | "upDiag" | "ltDnDiag" | "ltUpDiag" | "dkDnDiag" | "dkUpDiag" | "wdDnDiag" | "wdUpDiag" | "dashDnDiag" | "dashUpDiag" | "diagCross" | "smCheck" | "lgCheck" | "smGrid" | "lgGrid" | "dotGrid" | "smConfetti" | "lgConfetti" | "horzBrick" | "diagBrick" | "solidDmnd" | "openDmnd" | "dotDmnd" | "plaid" | "sphere" | "weave" | "divot" | "shingle" | "wave" | "trellis" | "zigZag", "percent5" | "percent10" | "percent20" | "percent25" | "percent30" | "percent40" | "percent50" | "percent60" | "percent70" | "percent75" | "percent80" | "percent90" | "horizontal" | "vertical" | "lightHorizontal" | "lightVertical" | "darkHorizontal" | "darkVertical" | "narrowHorizontal" | "narrowVertical" | "dashedHorizontal" | "dashedVertical" | "cross" | "downDiagonal" | "upDiagonal" | "lightDownDiagonal" | "lightUpDiagonal" | "darkDownDiagonal" | "darkUpDiagonal" | "wideDownDiagonal" | "wideUpDiagonal" | "dashedDownDiagonal" | "dashedUpDiagonal" | "diagonalCross" | "smallChecker" | "largeChecker" | "smallGrid" | "largeGrid" | "dotGrid" | "smallConfetti" | "largeConfetti" | "horizontalBrick" | "diagonalBrick" | "solidDiamond" | "openDiamond" | "dottedDiamond" | "plaid" | "sphere" | "weave" | "divot" | "shingle" | "wave" | "trellis" | "zigZag">;
|
|
190
|
+
};
|
|
191
|
+
declare const xsdVerticalMergeRev: {
|
|
192
|
+
to: (key: string) => string;
|
|
193
|
+
from: (xsd: string) => string;
|
|
194
|
+
forward: Record<"continue" | "restart", "cont" | "rest">;
|
|
195
|
+
reverse: Record<"cont" | "rest", "continue" | "restart">;
|
|
196
|
+
};
|
|
197
|
+
declare const xsdUnderlineStyle: {
|
|
198
|
+
to: (key: string) => string;
|
|
199
|
+
from: (xsd: string) => string;
|
|
200
|
+
forward: Record<"none" | "single" | "double", "none" | "sng" | "dbl">;
|
|
201
|
+
reverse: Record<"none" | "sng" | "dbl", "none" | "single" | "double">;
|
|
202
|
+
};
|
|
203
|
+
declare const xsdStrikeStyle: {
|
|
204
|
+
to: (key: string) => string;
|
|
205
|
+
from: (xsd: string) => string;
|
|
206
|
+
forward: Record<"singleStrike" | "doubleStrike" | "noStrike", "sngStrike" | "dblStrike" | "noStrike">;
|
|
207
|
+
reverse: Record<"sngStrike" | "dblStrike" | "noStrike", "singleStrike" | "doubleStrike" | "noStrike">;
|
|
208
|
+
};
|
|
209
|
+
declare const xsdTextCaps: {
|
|
210
|
+
to: (key: string) => string;
|
|
211
|
+
from: (xsd: string) => string;
|
|
212
|
+
forward: Record<"none" | "small" | "all", "none" | "small" | "all">;
|
|
213
|
+
reverse: Record<"none" | "small" | "all", "none" | "small" | "all">;
|
|
214
|
+
};
|
|
215
|
+
//#endregion
|
|
216
|
+
//#region src/util/placeholder.d.ts
|
|
217
|
+
type IdFormat = "rId" | "plain";
|
|
218
|
+
declare const formatId: (offset: number, index: number, style: IdFormat) => string;
|
|
219
|
+
declare function hasPlaceholders(xml: string): boolean;
|
|
220
|
+
declare function collectPlaceholderKeys(xml: string, prefix: string): string[];
|
|
221
|
+
declare function replaceImagePlaceholders(xml: string, mediaData: {
|
|
222
|
+
fileName: string;
|
|
223
|
+
}[], offset: number, idFormat?: IdFormat): string;
|
|
224
|
+
declare function getReferencedMedia(xml: string, mediaArray: {
|
|
225
|
+
fileName: string;
|
|
226
|
+
}[]): {
|
|
227
|
+
fileName: string;
|
|
228
|
+
}[];
|
|
229
|
+
declare function findAndReplaceImagePlaceholders(xml: string, mediaArray: {
|
|
230
|
+
fileName: string;
|
|
231
|
+
}[], offset: number, idFormat?: IdFormat): {
|
|
232
|
+
xml: string;
|
|
233
|
+
referenced: {
|
|
234
|
+
fileName: string;
|
|
235
|
+
}[];
|
|
236
|
+
};
|
|
237
|
+
declare function replaceAllPlaceholders(xml: string, entries: Array<{
|
|
238
|
+
prefix?: string;
|
|
239
|
+
key: string;
|
|
240
|
+
value: string;
|
|
241
|
+
}>): string;
|
|
242
|
+
declare function replaceChartPlaceholders(xml: string, chartKeys: string[], offset: number, idFormat?: IdFormat): string;
|
|
243
|
+
interface SmartArtRelOptions {
|
|
244
|
+
pathPrefix: string;
|
|
245
|
+
styleRelType: RelationshipType;
|
|
246
|
+
}
|
|
247
|
+
declare function replaceSmartArtPlaceholders(xml: string, keys: string[], dataOffset: number, idFormat?: IdFormat): string;
|
|
248
|
+
declare function addSmartArtRelationships(keys: string[], addRel: (id: number, type: RelationshipType, target: string, targetMode?: string) => void, baseOffset: number, globalStartIndex: number, options: SmartArtRelOptions): void;
|
|
249
|
+
declare function replaceNumberingPlaceholders(xml: string, concreteNumberings: readonly {
|
|
250
|
+
reference: string;
|
|
251
|
+
instance: number;
|
|
252
|
+
numId: number;
|
|
253
|
+
}[]): string;
|
|
254
|
+
declare function replaceMediaPlaceholders(xml: string, mediaData: {
|
|
255
|
+
fileName: string;
|
|
256
|
+
}[], offset: number): string;
|
|
257
|
+
declare function replaceVideoPlaceholders(xml: string, mediaData: {
|
|
258
|
+
fileName: string;
|
|
259
|
+
}[], offset: number): string;
|
|
260
|
+
declare function getMediaRefs(xml: string, mediaArray: {
|
|
261
|
+
fileName: string;
|
|
262
|
+
}[]): {
|
|
263
|
+
fileName: string;
|
|
264
|
+
}[];
|
|
265
|
+
declare function getVideoRefs(xml: string, mediaArray: {
|
|
266
|
+
fileName: string;
|
|
267
|
+
}[]): {
|
|
268
|
+
fileName: string;
|
|
269
|
+
}[];
|
|
270
|
+
declare function replaceHyperlinkPlaceholders(xml: string, hyperlinks: {
|
|
271
|
+
key: string;
|
|
272
|
+
}[], offset: number): string;
|
|
273
|
+
//#endregion
|
|
274
|
+
export { convertToEmu as $, xsdRectAlignment as A, uniqueNumericIdCreator as B, xsdLineCap as C, createZipStream as Ct, xsdPattern as D, zipAndConvert as Dt, xsdPathFillMode as E, unzipSync$1 as Et, xsdUnderlineStyle as F, convertEmuToInches as G, derivePasswordHash as H, xsdVerticalMergeRev as I, convertInchesToEmu as J, convertEmuToPixels as K, UniqueNumericIdCreator as L, xsdTextAlign as M, xsdTextAnchor as N, xsdPenAlignment as O, zipSyncAndConvert as Ot, xsdTextCaps as P, convertPointsToEmu as Q, hashedId as R, xsdEffectContainer as S, createPacker as St, xsdMaterialType as T, strFromU8$1 as Tt, hashPasswordAgile as U, uniqueUuid as V, randomBytes as W, convertMillimetersToTwip as X, convertInchesToTwip as Y, convertPixelsToEmu as Z, replaceSmartArtPlaceholders as _, XmlifyedFile as _t, findAndReplaceImagePlaceholders as a, convertUniversalMeasureToPt as at, xsdBlendMode as b, ZipOptions as bt, getReferencedMedia as c, compileMapping as ct, replaceAllPlaceholders as d, TargetModeType as dt, convertToInch as et, replaceChartPlaceholders as f, optionalRelsPart as ft, replaceNumberingPlaceholders as g, PackerOptions as gt, replaceMediaPlaceholders as h, Packer as ht, collectPlaceholderKeys as i, convertUniversalMeasureToInch as it, xsdStrikeStyle as j, xsdPresetShadow as k, getVideoRefs as l, RelationshipType as lt, replaceImagePlaceholders as m, CompressionOptions as mt, SmartArtRelOptions as n, convertToTwip as nt, formatId as o, convertUniversalMeasureToTwip as ot, replaceHyperlinkPlaceholders as p, CompileFn as pt, convertEmuToPoints as q, addSmartArtRelationships as r, convertUniversalMeasureToEmu as rt, getMediaRefs as s, parseUniversalMeasure as st, IdFormat as t, convertToPt as tt, hasPlaceholders as u, Relationships as ut, replaceVideoPlaceholders as v, ZIP_DEFLATE_LEVEL as vt, xsdLineEndSize as w, levelForMediaName as wt, xsdCompoundLine as x, Zippable$1 as xt, invertMap as y, ZIP_STORED_LEVEL as yt, uniqueId as z };
|
|
275
|
+
//# sourceMappingURL=index-BfHfKuKy.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BfHfKuKy.d.mts","names":[],"sources":["../src/opc/packer.ts","../src/opc/relationships.ts","../src/util/compile.ts","../src/util/converters.ts","../src/util/crypto.ts","../src/util/generators.ts","../src/util/mappings.ts","../src/util/placeholder.ts"],"mappings":";;;;;UAwBiB,YAAA;EACf,IAAA;EACA,IAAA,WAAe,UAAU;AAAA;AAAA,cAId,iBAAA;AAAA,cAQA,gBAAA;AAAA,cAiBA,iBAAA,GAAqB,QAAA,UAAkB,UAAkB;AAAA,UAOrD,kBAAA;EAEf,GAAA;EAMA,KAAK;AAAA;AAAA,UAIU,aAAA,WAAwB,UAAA;EAEvC,IAAA,GAAO,CAAA;EAEP,SAAA,GAAY,YAAA;EAEZ,WAAA,GAA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