@json-to-office/core-docx 0.12.0 → 0.14.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/components/heading.d.ts.map +1 -1
- package/dist/components/paragraph.d.ts.map +1 -1
- package/dist/core/cached-render.d.ts.map +1 -1
- package/dist/core/content.d.ts +3 -0
- package/dist/core/content.d.ts.map +1 -1
- package/dist/core/render.d.ts.map +1 -1
- package/dist/core/structure.d.ts +2 -0
- package/dist/core/structure.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +275 -94
- package/dist/index.js.map +1 -1
- package/dist/plugin/createDocumentGenerator.d.ts.map +1 -1
- package/dist/plugin/example/index.js +267 -93
- package/dist/plugin/example/index.js.map +1 -1
- package/dist/plugin/index.d.ts +2 -2
- package/dist/plugin/index.d.ts.map +1 -1
- package/dist/plugin/types.d.ts +59 -6
- package/dist/plugin/types.d.ts.map +1 -1
- package/dist/plugin/validation.d.ts +1 -1
- package/dist/plugin/validation.d.ts.map +1 -1
- package/dist/templates/themes/index.d.ts +32 -0
- package/dist/templates/themes/index.d.ts.map +1 -1
- package/dist/templates/themes/minimal.docx.theme.json +1 -1
- package/dist/templates/themes/modern.docx.theme.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/revisionUtils.d.ts +50 -0
- package/dist/utils/revisionUtils.d.ts.map +1 -0
- package/package.json +3 -3
package/dist/plugin/index.d.ts
CHANGED
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
*/
|
|
29
29
|
export { createComponent, createVersion, type CustomComponent, type ComponentVersion, type ComponentVersionMap, type RenderFunction, type RenderContext, } from './createComponent';
|
|
30
30
|
export { createDocumentGenerator, type DocumentGeneratorOptions, } from './createDocumentGenerator';
|
|
31
|
-
export { type DocumentGenerator, type DocumentGeneratorBuilder, type GenerationResult, type BufferGenerationResult, type FileGenerationResult, type ValidationResult, type ExtractCustomComponentType, type CustomComponentUnion, type ExtendedComponentDefinition, type ExtendedReportComponent, type InferCustomComponents, type InferBuilderComponents, type InferDocumentType, type InferComponentDefinition, } from './types';
|
|
32
|
-
export { validateComponentProps, validateDocument, cleanComponentProps, ComponentValidationError, DuplicateComponentError, type ValidationError, } from './validation';
|
|
31
|
+
export { type DocumentGenerator, type DocumentGeneratorBuilder, type GenerateOptions, type GenerateFileOptions, type GenerationResult, type BufferGenerationResult, type FileGenerationResult, type ValidationResult, type ExtractCustomComponentType, type CustomComponentUnion, type ExtendedComponentDefinition, type ExtendedReportComponent, type InferCustomComponents, type InferBuilderComponents, type InferDocumentType, type InferComponentDefinition, } from './types';
|
|
32
|
+
export { validateComponentProps, validateDocument, cleanComponentProps, ComponentValidationError, DuplicateComponentError, UnknownPreservedComponentError, type ValidationError, } from './validation';
|
|
33
33
|
export { generatePluginDocumentSchema, exportPluginSchema, generateComponentSchemas, mergeSchemas, createUnionSchema, } from './schema';
|
|
34
34
|
export { resolveComponentVersion } from './version-resolver';
|
|
35
35
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugin/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,EACL,eAAe,EACf,aAAa,EACb,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,uBAAuB,EACvB,KAAK,wBAAwB,GAC9B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,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,EACvB,8BAA8B,EAC9B,KAAK,eAAe,GACrB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,4BAA4B,EAC5B,kBAAkB,EAClB,wBAAwB,EACxB,YAAY,EACZ,iBAAiB,GAClB,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC"}
|
package/dist/plugin/types.d.ts
CHANGED
|
@@ -71,30 +71,76 @@ export type ExtendedReportComponent<TCustomComponents extends readonly CustomCom
|
|
|
71
71
|
export type InferCustomComponents<T> = T extends {
|
|
72
72
|
customComponents: infer M;
|
|
73
73
|
} ? M extends readonly CustomComponent<any, any, any>[] ? M : readonly [] : readonly [];
|
|
74
|
+
/**
|
|
75
|
+
* Per-call options shared by generate/generateBuffer/generateFile.
|
|
76
|
+
*
|
|
77
|
+
* `preserveCustomComponents`: list of registered custom-component names whose
|
|
78
|
+
* `{ name, props, children? }` nodes should be kept verbatim in the returned
|
|
79
|
+
* `preservedDefinition`. The DOCX output is unaffected — it always renders
|
|
80
|
+
* the fully-expanded tree.
|
|
81
|
+
*/
|
|
82
|
+
export interface GenerateOptions {
|
|
83
|
+
preserveCustomComponents?: string[];
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Per-call options for `generateFile` only — adds a sidecar-path override.
|
|
87
|
+
*/
|
|
88
|
+
export interface GenerateFileOptions extends GenerateOptions {
|
|
89
|
+
/**
|
|
90
|
+
* Override path for the preserved-tree sidecar JSON.
|
|
91
|
+
* Default: `<outputPath without extension>-preserved.json`.
|
|
92
|
+
* Only used when `preserveCustomComponents` is set.
|
|
93
|
+
*/
|
|
94
|
+
preservedOutputPath?: string;
|
|
95
|
+
}
|
|
74
96
|
/**
|
|
75
97
|
* Result of document generation
|
|
76
98
|
*/
|
|
77
|
-
export interface GenerationResult {
|
|
99
|
+
export interface GenerationResult<TCustomComponents extends readonly CustomComponent<any, any, any>[] = readonly []> {
|
|
78
100
|
/** The generated document */
|
|
79
101
|
document: Document;
|
|
80
102
|
/** Warnings collected during generation, null if no warnings */
|
|
81
103
|
warnings: GenerationWarning[] | null;
|
|
104
|
+
/** Post-expansion, post-normalization standard JSON tree (custom plugins resolved). */
|
|
105
|
+
standardDefinition: ReportComponentDefinition;
|
|
106
|
+
/**
|
|
107
|
+
* Partially-expanded tree honoring `preserveCustomComponents`.
|
|
108
|
+
* Present iff the option was passed. Custom-component subtrees listed in
|
|
109
|
+
* the option are kept verbatim (children not recursed); others are expanded.
|
|
110
|
+
*/
|
|
111
|
+
preservedDefinition?: ExtendedReportComponent<TCustomComponents>;
|
|
82
112
|
}
|
|
83
113
|
/**
|
|
84
114
|
* Result of buffer generation
|
|
85
115
|
*/
|
|
86
|
-
export interface BufferGenerationResult {
|
|
116
|
+
export interface BufferGenerationResult<TCustomComponents extends readonly CustomComponent<any, any, any>[] = readonly []> {
|
|
87
117
|
/** The generated buffer */
|
|
88
118
|
buffer: Buffer;
|
|
89
119
|
/** Warnings collected during generation, null if no warnings */
|
|
90
120
|
warnings: GenerationWarning[] | null;
|
|
121
|
+
/** Post-expansion, post-normalization standard JSON tree (custom plugins resolved). */
|
|
122
|
+
standardDefinition: ReportComponentDefinition;
|
|
123
|
+
/**
|
|
124
|
+
* Partially-expanded tree honoring `preserveCustomComponents`.
|
|
125
|
+
* Present iff the option was passed.
|
|
126
|
+
*/
|
|
127
|
+
preservedDefinition?: ExtendedReportComponent<TCustomComponents>;
|
|
91
128
|
}
|
|
92
129
|
/**
|
|
93
130
|
* Result of file generation
|
|
94
131
|
*/
|
|
95
|
-
export interface FileGenerationResult {
|
|
132
|
+
export interface FileGenerationResult<TCustomComponents extends readonly CustomComponent<any, any, any>[] = readonly []> {
|
|
96
133
|
/** Warnings collected during generation, null if no warnings */
|
|
97
134
|
warnings: GenerationWarning[] | null;
|
|
135
|
+
/** Post-expansion, post-normalization standard JSON tree (custom plugins resolved). */
|
|
136
|
+
standardDefinition: ReportComponentDefinition;
|
|
137
|
+
/**
|
|
138
|
+
* Partially-expanded tree honoring `preserveCustomComponents`.
|
|
139
|
+
* Present iff the option was passed; also written as a JSON sidecar file.
|
|
140
|
+
*/
|
|
141
|
+
preservedDefinition?: ExtendedReportComponent<TCustomComponents>;
|
|
142
|
+
/** Resolved path of the preserved-tree sidecar, if written. */
|
|
143
|
+
preservedOutputPath?: string;
|
|
98
144
|
}
|
|
99
145
|
/**
|
|
100
146
|
* Result of document validation
|
|
@@ -110,9 +156,9 @@ export interface ValidationResult {
|
|
|
110
156
|
* Document generator with custom components and full type safety
|
|
111
157
|
*/
|
|
112
158
|
export interface DocumentGenerator<TCustomComponents extends readonly CustomComponent<any, any, any>[] = readonly []> {
|
|
113
|
-
generate: (document: ExtendedReportComponent<TCustomComponents
|
|
114
|
-
generateBuffer: (document: ExtendedReportComponent<TCustomComponents
|
|
115
|
-
generateFile: (document: ExtendedReportComponent<TCustomComponents>, outputPath: string) => Promise<FileGenerationResult
|
|
159
|
+
generate: (document: ExtendedReportComponent<TCustomComponents>, options?: GenerateOptions) => Promise<GenerationResult<TCustomComponents>>;
|
|
160
|
+
generateBuffer: (document: ExtendedReportComponent<TCustomComponents>, options?: GenerateOptions) => Promise<BufferGenerationResult<TCustomComponents>>;
|
|
161
|
+
generateFile: (document: ExtendedReportComponent<TCustomComponents>, outputPath: string, options?: GenerateFileOptions) => Promise<FileGenerationResult<TCustomComponents>>;
|
|
116
162
|
getComponentNames: () => string[];
|
|
117
163
|
validate: (document: ExtendedReportComponent<TCustomComponents>) => ValidationResult;
|
|
118
164
|
generateSchema: (includeStandardComponents?: boolean) => TSchema;
|
|
@@ -120,6 +166,13 @@ export interface DocumentGenerator<TCustomComponents extends readonly CustomComp
|
|
|
120
166
|
includeStandardComponents?: boolean;
|
|
121
167
|
prettyPrint?: boolean;
|
|
122
168
|
}) => Promise<void>;
|
|
169
|
+
/**
|
|
170
|
+
* @deprecated Use `generate(...).standardDefinition` instead. This is now a thin
|
|
171
|
+
* wrapper over `generate()` and runs `render()` once per call, but if you also
|
|
172
|
+
* call `generate*` you'll trigger a second pass — read `standardDefinition` off
|
|
173
|
+
* the result you already produce. Kept for backwards compatibility; will be
|
|
174
|
+
* removed in a future major.
|
|
175
|
+
*/
|
|
123
176
|
getStandardComponentsDefinition: (document: ExtendedReportComponent<TCustomComponents>) => Promise<ReportComponentDefinition>;
|
|
124
177
|
}
|
|
125
178
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/plugin/types.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,mBAAmB,IAAI,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAClG,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAClB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAErC;;GAEG;AACH,KAAK,eAAe,CAAC,CAAC,IACpB,CAAC,SAAS,eAAe,CAAC,GAAG,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAE3D;;GAEG;AACH,KAAK,SAAS,CAAC,CAAC,IAAI,CAAC,SAAS,eAAe,CAAC,GAAG,EAAE,GAAG,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAE7E;;;;;;;;;GASG;AACH,MAAM,MAAM,0BAA0B,CACpC,CAAC,SAAS,eAAe,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,IAEtC;KACG,CAAC,IAAI,MAAM,eAAe,CAAC,CAAC,CAAC,GAAG,MAAM,GAAG;QACxC,IAAI,EAAE,SAAS,CAAC,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,SAAS,wBAAwB,CAAC,MAAM,CAAC,CAAC,GACvC,2BAA2B,CAAC,CAAC,CAAC,GAC9B,CAAC,SAAS,iBAAiB,CAAC,MAAM,CAAC,CAAC,GAClC,2BAA2B,CAAC,CAAC,CAAC,GAC9B,KAAK,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type { CustomComponent } from './createComponent';
|
|
|
3
3
|
import type { ReportComponentDefinition } from '../types';
|
|
4
4
|
import { type ComponentValidationResult } from '@json-to-office/shared/plugin';
|
|
5
5
|
import type { ValidationResult } from '@json-to-office/shared';
|
|
6
|
-
export { DuplicateComponentError, ComponentValidationError, } from '@json-to-office/shared/plugin';
|
|
6
|
+
export { DuplicateComponentError, ComponentValidationError, UnknownPreservedComponentError, } from '@json-to-office/shared/plugin';
|
|
7
7
|
/**
|
|
8
8
|
* Validate a component props against a schema.
|
|
9
9
|
* Accepts a narrower interface — only needs { propsSchema }.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../src/plugin/validation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAE1D,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,+BAA+B,CAAC;AAKvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAG/D,OAAO,EACL,uBAAuB,EACvB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../src/plugin/validation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAE1D,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,+BAA+B,CAAC;AAKvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAG/D,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,8BAA8B,GAC/B,MAAM,+BAA+B,CAAC;AAEvC;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,YAAY,SAAS,OAAO,EACjE,MAAM,EAAE;IAAE,WAAW,EAAE,YAAY,CAAA;CAAE,EACrC,KAAK,EAAE,OAAO,EACd,aAAa,CAAC,EAAE,MAAM,GACrB,yBAAyB,CAAC,YAAY,CAAC,CAMzC;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,yBAAyB,EACnC,gBAAgB,EAAE,eAAe,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,GACjD,gBAAgB,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CA6DzC;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,YAAY,SAAS,OAAO,EAC5D,MAAM,EAAE;IAAE,WAAW,EAAE,YAAY,CAAA;CAAE,EACrC,KAAK,EAAE,OAAO,GACb,MAAM,CAAC,YAAY,CAAC,CAQtB;AAGD,YAAY,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AACtF,YAAY,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAE/E,eAAO,MAAM,mBAAmB,0BAAoB,CAAC"}
|
|
@@ -1119,6 +1119,14 @@ export declare const themes: Record<string, {
|
|
|
1119
1119
|
format?: "none" | "decimal" | "bullet" | "upperRoman" | "lowerRoman" | "upperLetter" | "lowerLetter" | "ordinal" | "cardinalText" | "ordinalText" | "hex" | "chicago" | "ideographDigital" | "japaneseCounting" | "aiueo" | "iroha" | "decimalFullWidth" | "decimalHalfWidth" | "japaneseLegal" | "japaneseDigitalTenThousand" | "decimalEnclosedCircle" | "decimalFullWidth2" | "aiueoFullWidth" | "irohaFullWidth" | "decimalZero" | "ganada" | "chosung" | "decimalEnclosedFullstop" | "decimalEnclosedParen" | "decimalEnclosedCircleChinese" | "ideographEnclosedCircle" | "ideographTraditional" | "ideographZodiac" | "ideographZodiacTraditional" | "taiwaneseCounting" | "ideographLegalTraditional" | "taiwaneseCountingThousand" | "taiwaneseDigital" | "chineseCounting" | "chineseLegalSimplified" | "chineseCountingThousand" | "koreanDigital" | "koreanCounting" | "koreanLegal" | "koreanDigital2" | "vietnameseCounting" | "russianLower" | "russianUpper" | "numberInDash" | "hebrew1" | "hebrew2" | "arabicAlpha" | "arabicAbjad" | "hindiVowels" | "hindiConsonants" | "hindiNumbers" | "hindiCounting" | "thaiLetters" | "thaiNumbers" | "thaiCounting" | "numbered" | undefined;
|
|
1120
1120
|
items?: (string | {
|
|
1121
1121
|
level?: number | undefined;
|
|
1122
|
+
revision?: {
|
|
1123
|
+
author?: string | undefined;
|
|
1124
|
+
date?: string | undefined;
|
|
1125
|
+
segments: {
|
|
1126
|
+
text: string;
|
|
1127
|
+
type: "equal" | "insert" | "delete";
|
|
1128
|
+
}[];
|
|
1129
|
+
} | undefined;
|
|
1122
1130
|
text: string;
|
|
1123
1131
|
})[] | undefined;
|
|
1124
1132
|
reference?: string | undefined;
|
|
@@ -2408,6 +2416,14 @@ export declare const minimalTheme: {
|
|
|
2408
2416
|
format?: "none" | "decimal" | "bullet" | "upperRoman" | "lowerRoman" | "upperLetter" | "lowerLetter" | "ordinal" | "cardinalText" | "ordinalText" | "hex" | "chicago" | "ideographDigital" | "japaneseCounting" | "aiueo" | "iroha" | "decimalFullWidth" | "decimalHalfWidth" | "japaneseLegal" | "japaneseDigitalTenThousand" | "decimalEnclosedCircle" | "decimalFullWidth2" | "aiueoFullWidth" | "irohaFullWidth" | "decimalZero" | "ganada" | "chosung" | "decimalEnclosedFullstop" | "decimalEnclosedParen" | "decimalEnclosedCircleChinese" | "ideographEnclosedCircle" | "ideographTraditional" | "ideographZodiac" | "ideographZodiacTraditional" | "taiwaneseCounting" | "ideographLegalTraditional" | "taiwaneseCountingThousand" | "taiwaneseDigital" | "chineseCounting" | "chineseLegalSimplified" | "chineseCountingThousand" | "koreanDigital" | "koreanCounting" | "koreanLegal" | "koreanDigital2" | "vietnameseCounting" | "russianLower" | "russianUpper" | "numberInDash" | "hebrew1" | "hebrew2" | "arabicAlpha" | "arabicAbjad" | "hindiVowels" | "hindiConsonants" | "hindiNumbers" | "hindiCounting" | "thaiLetters" | "thaiNumbers" | "thaiCounting" | "numbered" | undefined;
|
|
2409
2417
|
items?: (string | {
|
|
2410
2418
|
level?: number | undefined;
|
|
2419
|
+
revision?: {
|
|
2420
|
+
author?: string | undefined;
|
|
2421
|
+
date?: string | undefined;
|
|
2422
|
+
segments: {
|
|
2423
|
+
text: string;
|
|
2424
|
+
type: "equal" | "insert" | "delete";
|
|
2425
|
+
}[];
|
|
2426
|
+
} | undefined;
|
|
2411
2427
|
text: string;
|
|
2412
2428
|
})[] | undefined;
|
|
2413
2429
|
reference?: string | undefined;
|
|
@@ -3662,6 +3678,14 @@ export declare const corporateTheme: {
|
|
|
3662
3678
|
format?: "none" | "decimal" | "bullet" | "upperRoman" | "lowerRoman" | "upperLetter" | "lowerLetter" | "ordinal" | "cardinalText" | "ordinalText" | "hex" | "chicago" | "ideographDigital" | "japaneseCounting" | "aiueo" | "iroha" | "decimalFullWidth" | "decimalHalfWidth" | "japaneseLegal" | "japaneseDigitalTenThousand" | "decimalEnclosedCircle" | "decimalFullWidth2" | "aiueoFullWidth" | "irohaFullWidth" | "decimalZero" | "ganada" | "chosung" | "decimalEnclosedFullstop" | "decimalEnclosedParen" | "decimalEnclosedCircleChinese" | "ideographEnclosedCircle" | "ideographTraditional" | "ideographZodiac" | "ideographZodiacTraditional" | "taiwaneseCounting" | "ideographLegalTraditional" | "taiwaneseCountingThousand" | "taiwaneseDigital" | "chineseCounting" | "chineseLegalSimplified" | "chineseCountingThousand" | "koreanDigital" | "koreanCounting" | "koreanLegal" | "koreanDigital2" | "vietnameseCounting" | "russianLower" | "russianUpper" | "numberInDash" | "hebrew1" | "hebrew2" | "arabicAlpha" | "arabicAbjad" | "hindiVowels" | "hindiConsonants" | "hindiNumbers" | "hindiCounting" | "thaiLetters" | "thaiNumbers" | "thaiCounting" | "numbered" | undefined;
|
|
3663
3679
|
items?: (string | {
|
|
3664
3680
|
level?: number | undefined;
|
|
3681
|
+
revision?: {
|
|
3682
|
+
author?: string | undefined;
|
|
3683
|
+
date?: string | undefined;
|
|
3684
|
+
segments: {
|
|
3685
|
+
text: string;
|
|
3686
|
+
type: "equal" | "insert" | "delete";
|
|
3687
|
+
}[];
|
|
3688
|
+
} | undefined;
|
|
3665
3689
|
text: string;
|
|
3666
3690
|
})[] | undefined;
|
|
3667
3691
|
reference?: string | undefined;
|
|
@@ -4916,6 +4940,14 @@ export declare const modernTheme: {
|
|
|
4916
4940
|
format?: "none" | "decimal" | "bullet" | "upperRoman" | "lowerRoman" | "upperLetter" | "lowerLetter" | "ordinal" | "cardinalText" | "ordinalText" | "hex" | "chicago" | "ideographDigital" | "japaneseCounting" | "aiueo" | "iroha" | "decimalFullWidth" | "decimalHalfWidth" | "japaneseLegal" | "japaneseDigitalTenThousand" | "decimalEnclosedCircle" | "decimalFullWidth2" | "aiueoFullWidth" | "irohaFullWidth" | "decimalZero" | "ganada" | "chosung" | "decimalEnclosedFullstop" | "decimalEnclosedParen" | "decimalEnclosedCircleChinese" | "ideographEnclosedCircle" | "ideographTraditional" | "ideographZodiac" | "ideographZodiacTraditional" | "taiwaneseCounting" | "ideographLegalTraditional" | "taiwaneseCountingThousand" | "taiwaneseDigital" | "chineseCounting" | "chineseLegalSimplified" | "chineseCountingThousand" | "koreanDigital" | "koreanCounting" | "koreanLegal" | "koreanDigital2" | "vietnameseCounting" | "russianLower" | "russianUpper" | "numberInDash" | "hebrew1" | "hebrew2" | "arabicAlpha" | "arabicAbjad" | "hindiVowels" | "hindiConsonants" | "hindiNumbers" | "hindiCounting" | "thaiLetters" | "thaiNumbers" | "thaiCounting" | "numbered" | undefined;
|
|
4917
4941
|
items?: (string | {
|
|
4918
4942
|
level?: number | undefined;
|
|
4943
|
+
revision?: {
|
|
4944
|
+
author?: string | undefined;
|
|
4945
|
+
date?: string | undefined;
|
|
4946
|
+
segments: {
|
|
4947
|
+
text: string;
|
|
4948
|
+
type: "equal" | "insert" | "delete";
|
|
4949
|
+
}[];
|
|
4950
|
+
} | undefined;
|
|
4919
4951
|
text: string;
|
|
4920
4952
|
})[] | undefined;
|
|
4921
4953
|
reference?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/themes/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AA6DnE,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/themes/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AA6DnE,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;CAAmB,CAAC"}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"fonts": {
|
|
22
22
|
"heading": { "family": "Helvetica", "size": 28 },
|
|
23
23
|
"body": { "family": "Helvetica", "size": 11 },
|
|
24
|
-
"mono": { "family": "
|
|
24
|
+
"mono": { "family": "Menlo", "size": 10 },
|
|
25
25
|
"light": { "family": "Helvetica", "size": 28 }
|
|
26
26
|
},
|
|
27
27
|
"page": {
|