deckjsx 0.8.0 → 0.8.2
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 +203 -59
- package/dist/{adapter-C2AHiDGa.d.mts → adapter-B0PALTZN.d.mts} +3 -7
- package/dist/{adapter-BamaV2yi.mjs → adapter-B3Efckbf.mjs} +117 -89
- package/dist/adapter.d.mts +2 -2
- package/dist/adapter.mjs +1 -1
- package/dist/{index-dx2ZSBgF.d.mts → index-DOxigSfK.d.mts} +23 -19
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +1315 -423
- package/dist/inspect.d.mts +3 -3
- package/dist/jsx-dev-runtime.d.mts +2 -2
- package/dist/jsx-dev-runtime.mjs +1 -2
- package/dist/{jsx-runtime-_eIs-wi1.d.mts → jsx-runtime-BhY1AeJ9.d.mts} +1 -1
- package/dist/jsx-runtime-DzJLgS1w.mjs +120 -0
- package/dist/jsx-runtime.d.mts +2 -2
- package/dist/jsx-runtime.mjs +1 -7
- package/dist/{model-BVkO8qGK.d.mts → model-C82_FI4k.d.mts} +2 -3
- package/dist/node-output-L2bV2_8g.mjs +136 -0
- package/dist/{resolve-BD1dHxZd.d.mts → resolve-DH0cI2C3.d.mts} +5 -2
- package/dist/tree-DNsco0U3.mjs +156 -0
- package/package.json +3 -4
- package/dist/jsx-DGGM5erN.mjs +0 -403
- package/dist/node-output-ChRpOCV8.mjs +0 -28
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { a as isPptxRelationshipsPart, n as isPptxMediaPart, o as isPptxSlidePart, s as isPptxSupportPart, t as isPptxContentTypesPart } from "./model-DIuh51qh.mjs";
|
|
2
|
-
import { deflateSync, strToU8 } from "fflate";
|
|
3
2
|
//#region src/diagnostics/format.ts
|
|
4
3
|
function formatSpan(path) {
|
|
5
4
|
return ` at ${path}`;
|
|
@@ -64,8 +63,15 @@ const EMU_PER_INCH = 914400;
|
|
|
64
63
|
const POINTS_PER_INCH = 72;
|
|
65
64
|
const DEFAULT_FONT_SIZE_PT = 16 / 96 * 72;
|
|
66
65
|
const CH_WIDTH_RATIO = .5;
|
|
67
|
-
const DECK_LENGTH_PATTERN = /^[-+]?(?:\d+|\d*\.\d+)(?:in|pt|px|%|em|rem|vh|vw|ch)$/i;
|
|
68
|
-
const DECK_POINT_LENGTH_PATTERN = /^[-+]?(?:\d+|\d*\.\d+)(?:pt|
|
|
66
|
+
const DECK_LENGTH_PATTERN = /^[-+]?(?:\d+|\d*\.\d+)(?:in|cm|mm|q|pt|pc|px|%|em|rem|vh|vw|vmin|vmax|ch)$/i;
|
|
67
|
+
const DECK_POINT_LENGTH_PATTERN = /^[-+]?(?:\d+|\d*\.\d+)(?:in|cm|mm|q|pt|pc|px|em|rem|vh|vw|vmin|vmax|ch)$/i;
|
|
68
|
+
const CSS_WIDE_KEYWORDS = new Set([
|
|
69
|
+
"initial",
|
|
70
|
+
"inherit",
|
|
71
|
+
"unset",
|
|
72
|
+
"revert",
|
|
73
|
+
"revert-layer"
|
|
74
|
+
]);
|
|
69
75
|
function pointsToEmu(value) {
|
|
70
76
|
return value / 72 * EMU_PER_INCH;
|
|
71
77
|
}
|
|
@@ -77,86 +83,103 @@ function parsePercentage(value) {
|
|
|
77
83
|
function resolvePointUnitBase(context) {
|
|
78
84
|
return context?.fontSizePt ?? DEFAULT_FONT_SIZE_PT;
|
|
79
85
|
}
|
|
86
|
+
function absoluteLengthInInches(normalized) {
|
|
87
|
+
if (normalized.endsWith("vmin") || normalized.endsWith("vmax")) return;
|
|
88
|
+
if (normalized.endsWith("in")) return Number.parseFloat(normalized.slice(0, -2));
|
|
89
|
+
if (normalized.endsWith("cm")) return Number.parseFloat(normalized.slice(0, -2)) / 2.54;
|
|
90
|
+
if (normalized.endsWith("mm")) return Number.parseFloat(normalized.slice(0, -2)) / 25.4;
|
|
91
|
+
if (normalized.endsWith("q")) return Number.parseFloat(normalized.slice(0, -1)) / 101.6;
|
|
92
|
+
if (normalized.endsWith("pt")) return Number.parseFloat(normalized.slice(0, -2)) / 72;
|
|
93
|
+
if (normalized.endsWith("pc")) return Number.parseFloat(normalized.slice(0, -2)) / 6;
|
|
94
|
+
if (normalized.endsWith("px")) return Number.parseFloat(normalized.slice(0, -2)) / 96;
|
|
95
|
+
}
|
|
96
|
+
function resolveViewportEmu(normalized, context, errorContext) {
|
|
97
|
+
if (normalized.endsWith("vw")) {
|
|
98
|
+
const viewportWidthEmu = context?.viewportWidthEmu;
|
|
99
|
+
if (viewportWidthEmu === void 0) throw new Error(`Unsupported viewport ${errorContext} without viewport context: ${normalized}`);
|
|
100
|
+
return viewportWidthEmu * Number.parseFloat(normalized.slice(0, -2)) / 100;
|
|
101
|
+
}
|
|
102
|
+
if (normalized.endsWith("vh")) {
|
|
103
|
+
const viewportHeightEmu = context?.viewportHeightEmu;
|
|
104
|
+
if (viewportHeightEmu === void 0) throw new Error(`Unsupported viewport ${errorContext} without viewport context: ${normalized}`);
|
|
105
|
+
return viewportHeightEmu * Number.parseFloat(normalized.slice(0, -2)) / 100;
|
|
106
|
+
}
|
|
107
|
+
if (normalized.endsWith("vmin") || normalized.endsWith("vmax")) {
|
|
108
|
+
const viewportWidthEmu = context?.viewportWidthEmu;
|
|
109
|
+
const viewportHeightEmu = context?.viewportHeightEmu;
|
|
110
|
+
if (viewportWidthEmu === void 0 || viewportHeightEmu === void 0) throw new Error(`Unsupported viewport ${errorContext} without viewport context: ${normalized}`);
|
|
111
|
+
const base = normalized.endsWith("vmin") ? Math.min(viewportWidthEmu, viewportHeightEmu) : Math.max(viewportWidthEmu, viewportHeightEmu);
|
|
112
|
+
const suffixLength = normalized.endsWith("vmin") ? 4 : 4;
|
|
113
|
+
return base * Number.parseFloat(normalized.slice(0, -suffixLength)) / 100;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
80
116
|
function isDeckLengthString(value) {
|
|
81
117
|
return DECK_LENGTH_PATTERN.test(value.trim());
|
|
82
118
|
}
|
|
83
119
|
function isDeckPointLengthString(value) {
|
|
84
120
|
return DECK_POINT_LENGTH_PATTERN.test(value.trim());
|
|
85
121
|
}
|
|
122
|
+
function isCssWideKeyword(value) {
|
|
123
|
+
return typeof value === "string" && CSS_WIDE_KEYWORDS.has(value.trim().toLowerCase());
|
|
124
|
+
}
|
|
86
125
|
function parseLengthToken(value, baseEmu, fallback = 0, context) {
|
|
87
126
|
const trimmed = value.trim();
|
|
88
127
|
if (trimmed === "0") return 0;
|
|
128
|
+
if (isCssWideKeyword(trimmed)) return fallback;
|
|
89
129
|
if (!isDeckLengthString(trimmed)) throw new Error(`Unsupported length value: ${value}`);
|
|
90
130
|
return parseLength(trimmed, baseEmu, fallback, context);
|
|
91
131
|
}
|
|
92
132
|
function parsePointToken(value, fallback = 0, context) {
|
|
93
133
|
const trimmed = value.trim();
|
|
94
134
|
if (trimmed === "0") return 0;
|
|
135
|
+
if (isCssWideKeyword(trimmed)) return fallback;
|
|
95
136
|
if (!isDeckPointLengthString(trimmed)) throw new Error(`Unsupported point value: ${value}`);
|
|
96
137
|
return parsePointValue(trimmed, fallback, context);
|
|
97
138
|
}
|
|
98
139
|
function parsePointValue(value, fallback = 0, context) {
|
|
99
140
|
if (value === void 0) return fallback;
|
|
100
141
|
if (typeof value === "number") return value;
|
|
101
|
-
|
|
102
|
-
if (
|
|
103
|
-
if (
|
|
104
|
-
|
|
105
|
-
if (
|
|
106
|
-
if (
|
|
107
|
-
if (
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
if (value.endsWith("vh")) {
|
|
113
|
-
const viewportHeightEmu = context?.viewportHeightEmu;
|
|
114
|
-
if (viewportHeightEmu === void 0) throw new Error(`Unsupported viewport point value without viewport context: ${value}`);
|
|
115
|
-
return viewportHeightEmu * Number.parseFloat(value.slice(0, -2)) / 100 / EMU_PER_INCH * 72;
|
|
116
|
-
}
|
|
142
|
+
const normalized = value.trim().toLowerCase();
|
|
143
|
+
if (normalized === "0") return 0;
|
|
144
|
+
if (isCssWideKeyword(normalized)) return fallback;
|
|
145
|
+
const absoluteInches = absoluteLengthInInches(normalized);
|
|
146
|
+
if (absoluteInches !== void 0) return absoluteInches * 72;
|
|
147
|
+
if (normalized.endsWith("rem")) return Number.parseFloat(normalized.slice(0, -3)) * DEFAULT_FONT_SIZE_PT;
|
|
148
|
+
if (normalized.endsWith("em")) return Number.parseFloat(normalized.slice(0, -2)) * resolvePointUnitBase(context);
|
|
149
|
+
if (normalized.endsWith("ch")) return Number.parseFloat(normalized.slice(0, -2)) * resolvePointUnitBase(context) * CH_WIDTH_RATIO;
|
|
150
|
+
const viewportEmu = resolveViewportEmu(normalized, context, "point value");
|
|
151
|
+
if (viewportEmu !== void 0) return viewportEmu / EMU_PER_INCH * 72;
|
|
117
152
|
throw new Error(`Unsupported point value: ${value}`);
|
|
118
153
|
}
|
|
119
154
|
function parseStrokeWidth(value, fallback = 0, context) {
|
|
120
155
|
if (value === void 0) return fallback;
|
|
121
156
|
if (typeof value === "number") return value;
|
|
122
|
-
|
|
123
|
-
if (
|
|
124
|
-
if (
|
|
125
|
-
|
|
126
|
-
if (
|
|
127
|
-
if (
|
|
128
|
-
if (
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
if (value.endsWith("vh")) {
|
|
134
|
-
const viewportHeightEmu = context?.viewportHeightEmu;
|
|
135
|
-
if (viewportHeightEmu === void 0) throw new Error(`Unsupported viewport stroke width without viewport context: ${value}`);
|
|
136
|
-
return viewportHeightEmu * Number.parseFloat(value.slice(0, -2)) / 100 / EMU_PER_INCH * 72;
|
|
137
|
-
}
|
|
157
|
+
const normalized = value.trim().toLowerCase();
|
|
158
|
+
if (normalized === "0") return 0;
|
|
159
|
+
if (isCssWideKeyword(normalized)) return fallback;
|
|
160
|
+
const absoluteInches = absoluteLengthInInches(normalized);
|
|
161
|
+
if (absoluteInches !== void 0) return absoluteInches * 72;
|
|
162
|
+
if (normalized.endsWith("rem")) return Number.parseFloat(normalized.slice(0, -3)) * DEFAULT_FONT_SIZE_PT;
|
|
163
|
+
if (normalized.endsWith("em")) return Number.parseFloat(normalized.slice(0, -2)) * resolvePointUnitBase(context);
|
|
164
|
+
if (normalized.endsWith("ch")) return Number.parseFloat(normalized.slice(0, -2)) * resolvePointUnitBase(context) * CH_WIDTH_RATIO;
|
|
165
|
+
const viewportEmu = resolveViewportEmu(normalized, context, "stroke width");
|
|
166
|
+
if (viewportEmu !== void 0) return viewportEmu / EMU_PER_INCH * 72;
|
|
138
167
|
throw new Error(`Unsupported stroke width: ${value}`);
|
|
139
168
|
}
|
|
140
169
|
function parseLength(value, baseEmu, fallback = 0, context) {
|
|
141
170
|
if (value === void 0) return fallback;
|
|
142
171
|
if (typeof value === "number") return value * EMU_PER_INCH;
|
|
143
|
-
|
|
144
|
-
if (
|
|
145
|
-
if (
|
|
146
|
-
if (
|
|
147
|
-
|
|
148
|
-
if (
|
|
149
|
-
if (
|
|
150
|
-
if (
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
}
|
|
155
|
-
if (value.endsWith("vh")) {
|
|
156
|
-
const viewportHeightEmu = context?.viewportHeightEmu;
|
|
157
|
-
if (viewportHeightEmu === void 0) throw new Error(`Unsupported viewport length without viewport context: ${value}`);
|
|
158
|
-
return viewportHeightEmu * Number.parseFloat(value.slice(0, -2)) / 100;
|
|
159
|
-
}
|
|
172
|
+
const normalized = value.trim().toLowerCase();
|
|
173
|
+
if (normalized === "0") return 0;
|
|
174
|
+
if (isCssWideKeyword(normalized)) return fallback;
|
|
175
|
+
if (normalized.endsWith("%")) return baseEmu * Number.parseFloat(normalized.slice(0, -1)) / 100;
|
|
176
|
+
const absoluteInches = absoluteLengthInInches(normalized);
|
|
177
|
+
if (absoluteInches !== void 0) return absoluteInches * EMU_PER_INCH;
|
|
178
|
+
if (normalized.endsWith("rem")) return Number.parseFloat(normalized.slice(0, -3)) * DEFAULT_FONT_SIZE_PT * EMU_PER_INCH / 72;
|
|
179
|
+
if (normalized.endsWith("em")) return Number.parseFloat(normalized.slice(0, -2)) * resolvePointUnitBase(context) * EMU_PER_INCH / 72;
|
|
180
|
+
if (normalized.endsWith("ch")) return Number.parseFloat(normalized.slice(0, -2)) * resolvePointUnitBase(context) * CH_WIDTH_RATIO * EMU_PER_INCH / 72;
|
|
181
|
+
const viewportEmu = resolveViewportEmu(normalized, context, "length");
|
|
182
|
+
if (viewportEmu !== void 0) return viewportEmu;
|
|
160
183
|
throw new Error(`Unsupported length value: ${value}`);
|
|
161
184
|
}
|
|
162
185
|
//#endregion
|
|
@@ -459,7 +482,9 @@ const UNSUPPORTED_SEMANTIC_FEATURES = [
|
|
|
459
482
|
"border",
|
|
460
483
|
"clipping",
|
|
461
484
|
"filter",
|
|
485
|
+
"image",
|
|
462
486
|
"isolation",
|
|
487
|
+
"layout",
|
|
463
488
|
"outline",
|
|
464
489
|
"opacity",
|
|
465
490
|
"shadow",
|
|
@@ -1025,6 +1050,29 @@ function validateDrawingFrame(input) {
|
|
|
1025
1050
|
});
|
|
1026
1051
|
return issues;
|
|
1027
1052
|
}
|
|
1053
|
+
function validateDrawingFrameExtent(input) {
|
|
1054
|
+
const frame = input.element.frame;
|
|
1055
|
+
if (typeof frame !== "object" || frame === null) return [];
|
|
1056
|
+
const { widthEmu, heightEmu } = frame;
|
|
1057
|
+
if (typeof widthEmu !== "number" || typeof heightEmu !== "number" || !Number.isFinite(widthEmu) || !Number.isFinite(heightEmu)) return [];
|
|
1058
|
+
if (input.element.kind === "shape" && input.element.shape === "line") return widthEmu === 0 && heightEmu === 0 ? [drawingMetadataDiagnostic({
|
|
1059
|
+
path: `${input.path}.frame`,
|
|
1060
|
+
message: "line shape frame must have a non-zero axis",
|
|
1061
|
+
title: "pptx drawing frame is degenerate"
|
|
1062
|
+
})] : [];
|
|
1063
|
+
const issues = [];
|
|
1064
|
+
if (widthEmu === 0) issues.push(drawingMetadataDiagnostic({
|
|
1065
|
+
path: `${input.path}.frame.widthEmu`,
|
|
1066
|
+
message: "drawing frame width must be greater than zero",
|
|
1067
|
+
title: "pptx drawing frame is degenerate"
|
|
1068
|
+
}));
|
|
1069
|
+
if (heightEmu === 0) issues.push(drawingMetadataDiagnostic({
|
|
1070
|
+
path: `${input.path}.frame.heightEmu`,
|
|
1071
|
+
message: "drawing frame height must be greater than zero",
|
|
1072
|
+
title: "pptx drawing frame is degenerate"
|
|
1073
|
+
}));
|
|
1074
|
+
return issues;
|
|
1075
|
+
}
|
|
1028
1076
|
function validateSlideLayoutAnchor(input) {
|
|
1029
1077
|
const issues = [];
|
|
1030
1078
|
if (typeof input.anchor.template !== "string" || input.anchor.template.length === 0) issues.push(diagnostic({
|
|
@@ -3267,6 +3315,10 @@ function validateDrawingMetadata(input) {
|
|
|
3267
3315
|
frame: input.element.frame,
|
|
3268
3316
|
path: `${input.path}.frame`
|
|
3269
3317
|
}),
|
|
3318
|
+
...validateDrawingFrameExtent({
|
|
3319
|
+
element: input.element,
|
|
3320
|
+
path: input.path
|
|
3321
|
+
}),
|
|
3270
3322
|
...element.opacity === void 0 || typeof element.opacity === "number" && Number.isFinite(element.opacity) && element.opacity >= 0 && element.opacity <= 1 ? [] : [drawingMetadataDiagnostic({
|
|
3271
3323
|
path: `${input.path}.opacity`,
|
|
3272
3324
|
message: "invalid opacity"
|
|
@@ -6400,8 +6452,7 @@ function expectedAssemblyEntryForPart(part) {
|
|
|
6400
6452
|
required: requirement.required,
|
|
6401
6453
|
...requirement.requirementCondition ? { requirementCondition: requirement.requirementCondition } : {},
|
|
6402
6454
|
...requirement.requirementDependencies ? { requirementDependencies: requirement.requirementDependencies } : {},
|
|
6403
|
-
...requirement.reason ? { requirementReason: requirement.reason } : {}
|
|
6404
|
-
compression: part.kind === "media" ? "store" : "default"
|
|
6455
|
+
...requirement.reason ? { requirementReason: requirement.reason } : {}
|
|
6405
6456
|
};
|
|
6406
6457
|
}
|
|
6407
6458
|
function assemblyPlanEntry(input) {
|
|
@@ -6427,7 +6478,6 @@ function assemblyPlanEntry(input) {
|
|
|
6427
6478
|
...input.expected.requirementCondition ? { requirementCondition: input.expected.requirementCondition } : {},
|
|
6428
6479
|
...input.expected.requirementDependencies ? { requirementDependencies: input.expected.requirementDependencies } : {},
|
|
6429
6480
|
...input.expected.requirementReason ? { requirementReason: input.expected.requirementReason } : {},
|
|
6430
|
-
compression: input.expected.compression,
|
|
6431
6481
|
status: input.final.status,
|
|
6432
6482
|
...input.final.byteLength !== void 0 ? { byteLength: input.final.byteLength } : {},
|
|
6433
6483
|
...input.final.reason ? { reason: input.final.reason } : {},
|
|
@@ -6441,8 +6491,7 @@ function assemblyPlanEntry(input) {
|
|
|
6441
6491
|
required: input.expected.required,
|
|
6442
6492
|
...input.expected.requirementCondition ? { requirementCondition: input.expected.requirementCondition } : {},
|
|
6443
6493
|
...input.expected.requirementDependencies ? { requirementDependencies: input.expected.requirementDependencies } : {},
|
|
6444
|
-
...input.expected.requirementReason ? { requirementReason: input.expected.requirementReason } : {}
|
|
6445
|
-
compression: input.expected.compression
|
|
6494
|
+
...input.expected.requirementReason ? { requirementReason: input.expected.requirementReason } : {}
|
|
6446
6495
|
},
|
|
6447
6496
|
final,
|
|
6448
6497
|
...build ? { build } : {},
|
|
@@ -6463,7 +6512,6 @@ function assemblySummary(plan) {
|
|
|
6463
6512
|
...entry.requirementCondition ? { requirementCondition: entry.requirementCondition } : {},
|
|
6464
6513
|
...entry.requirementDependencies ? { requirementDependencies: entry.requirementDependencies } : {},
|
|
6465
6514
|
...entry.requirementReason ? { requirementReason: entry.requirementReason } : {},
|
|
6466
|
-
compression: entry.compression,
|
|
6467
6515
|
...entry.byteLength !== void 0 ? { byteLength: entry.byteLength } : {},
|
|
6468
6516
|
...entry.reason ? { reason: entry.reason } : {},
|
|
6469
6517
|
...entry.reasonDetails ? { reasonDetails: entry.reasonDetails } : {},
|
|
@@ -6514,8 +6562,7 @@ function zipEntriesFromAssemblyPlan(plan) {
|
|
|
6514
6562
|
if (entry.status === "missing" || entry.status === "failed" || !entry.bytes) continue;
|
|
6515
6563
|
entries.push({
|
|
6516
6564
|
path: entry.path,
|
|
6517
|
-
bytes: entry.bytes
|
|
6518
|
-
compression: entry.compression
|
|
6565
|
+
bytes: entry.bytes
|
|
6519
6566
|
});
|
|
6520
6567
|
}
|
|
6521
6568
|
return entries;
|
|
@@ -8280,18 +8327,10 @@ const FIXED_DOS_TIME = 0;
|
|
|
8280
8327
|
const FIXED_DOS_DATE = 33;
|
|
8281
8328
|
const ZIP_VERSION = 20;
|
|
8282
8329
|
const UTF8_FLAG = 2048;
|
|
8283
|
-
const DEFLATE_METHOD = 8;
|
|
8284
8330
|
const STORE_METHOD = 0;
|
|
8285
8331
|
const UINT32_MAX = 4294967295;
|
|
8286
8332
|
const CRC32_TABLE = createCrc32Table();
|
|
8287
|
-
|
|
8288
|
-
switch (compression) {
|
|
8289
|
-
case "store": return 0;
|
|
8290
|
-
case "balanced": return 6;
|
|
8291
|
-
case "small": return 9;
|
|
8292
|
-
default: return 1;
|
|
8293
|
-
}
|
|
8294
|
-
}
|
|
8333
|
+
const PATH_ENCODER = new TextEncoder();
|
|
8295
8334
|
function createCrc32Table() {
|
|
8296
8335
|
const table = new Uint32Array(256);
|
|
8297
8336
|
for (let index = 0; index < table.length; index += 1) {
|
|
@@ -8320,23 +8359,13 @@ function assertZip32Size(name, value) {
|
|
|
8320
8359
|
if (!Number.isSafeInteger(value) || value < 0 || value > UINT32_MAX) throw new Error(`PPTX ZIP ${name} exceeds ZIP32 limits.`);
|
|
8321
8360
|
}
|
|
8322
8361
|
function encodedPath(path) {
|
|
8323
|
-
const bytes =
|
|
8362
|
+
const bytes = PATH_ENCODER.encode(path);
|
|
8324
8363
|
if (bytes.byteLength > 65535) throw new Error(`PPTX ZIP entry path is too long: ${path}`);
|
|
8325
8364
|
return {
|
|
8326
8365
|
bytes,
|
|
8327
8366
|
flags: bytes.byteLength === path.length ? 0 : UTF8_FLAG
|
|
8328
8367
|
};
|
|
8329
8368
|
}
|
|
8330
|
-
function compressedBytesForEntry(entry, options) {
|
|
8331
|
-
if (entry.compression === "store" || options.compression === "store") return {
|
|
8332
|
-
bytes: entry.bytes,
|
|
8333
|
-
method: STORE_METHOD
|
|
8334
|
-
};
|
|
8335
|
-
return {
|
|
8336
|
-
bytes: deflateSync(entry.bytes, { level: zipLevel(options.compression) }),
|
|
8337
|
-
method: DEFLATE_METHOD
|
|
8338
|
-
};
|
|
8339
|
-
}
|
|
8340
8369
|
function localHeader(entry) {
|
|
8341
8370
|
const header = new Uint8Array(30 + entry.pathBytes.byteLength);
|
|
8342
8371
|
writeUint32(header, 0, 67324752);
|
|
@@ -8390,7 +8419,7 @@ function endOfCentralDirectory(entryCount, centralSize, centralOffset) {
|
|
|
8390
8419
|
writeUint16(header, 20, 0);
|
|
8391
8420
|
return header;
|
|
8392
8421
|
}
|
|
8393
|
-
function writePptxZipEntriesToSink(entries, sink
|
|
8422
|
+
function writePptxZipEntriesToSink(entries, sink) {
|
|
8394
8423
|
const centralEntries = [];
|
|
8395
8424
|
let offset = 0;
|
|
8396
8425
|
const write = (chunk) => {
|
|
@@ -8401,21 +8430,20 @@ function writePptxZipEntriesToSink(entries, sink, options = {}) {
|
|
|
8401
8430
|
try {
|
|
8402
8431
|
for (const entry of entries) {
|
|
8403
8432
|
const path = encodedPath(entry.path);
|
|
8404
|
-
|
|
8405
|
-
assertZip32Size("compressed entry size", compressed.bytes.byteLength);
|
|
8433
|
+
assertZip32Size("compressed entry size", entry.bytes.byteLength);
|
|
8406
8434
|
assertZip32Size("uncompressed entry size", entry.bytes.byteLength);
|
|
8407
8435
|
const centralEntry = {
|
|
8408
8436
|
pathBytes: path.bytes,
|
|
8409
8437
|
flags: path.flags,
|
|
8410
|
-
method:
|
|
8438
|
+
method: STORE_METHOD,
|
|
8411
8439
|
crc: crc32(entry.bytes),
|
|
8412
|
-
compressedSize:
|
|
8440
|
+
compressedSize: entry.bytes.byteLength,
|
|
8413
8441
|
uncompressedSize: entry.bytes.byteLength,
|
|
8414
8442
|
localHeaderOffset: offset
|
|
8415
8443
|
};
|
|
8416
8444
|
centralEntries.push(centralEntry);
|
|
8417
8445
|
write(localHeader(centralEntry));
|
|
8418
|
-
write(
|
|
8446
|
+
write(entry.bytes);
|
|
8419
8447
|
}
|
|
8420
8448
|
const centralOffset = offset;
|
|
8421
8449
|
for (const entry of centralEntries) write(centralDirectoryHeader(entry));
|
|
@@ -8582,7 +8610,7 @@ async function renderPptxPackage(projection, options = {}, context) {
|
|
|
8582
8610
|
const sink = sideEffectSink ?? createCollectingPptxZipSink();
|
|
8583
8611
|
let outputSideEffectError;
|
|
8584
8612
|
try {
|
|
8585
|
-
writePptxZipEntriesToSink(zipEntriesFromAssemblyPlan(plan), sink
|
|
8613
|
+
writePptxZipEntriesToSink(zipEntriesFromAssemblyPlan(plan), sink);
|
|
8586
8614
|
outputSideEffectError = sideEffectSink?.sideEffectError();
|
|
8587
8615
|
} catch (error) {
|
|
8588
8616
|
return {
|
|
@@ -8595,7 +8623,7 @@ async function renderPptxPackage(projection, options = {}, context) {
|
|
|
8595
8623
|
path: "render.assembly.zip",
|
|
8596
8624
|
message: error instanceof Error ? error.message : String(error)
|
|
8597
8625
|
}],
|
|
8598
|
-
notes: [
|
|
8626
|
+
notes: ["reason=zipSourceFailed"],
|
|
8599
8627
|
help: ["Inspect render.summary.assembly.entries to confirm every required package entry was available before ZIP emission."]
|
|
8600
8628
|
})]),
|
|
8601
8629
|
summary: assemblySummary(plan)
|
|
@@ -8635,4 +8663,4 @@ function pptx(options = {}) {
|
|
|
8635
8663
|
};
|
|
8636
8664
|
}
|
|
8637
8665
|
//#endregion
|
|
8638
|
-
export {
|
|
8666
|
+
export { diagnostic as A, parsePointToken as C, EMU_PER_INCH as D, pointsToEmu as E, formatDiagnostic as F, formatDiagnostics as I, DeckDiagnosticError as M, SemanticGraphDiagnosticError as N, POINTS_PER_INCH as O, StyleDiagnosticError as P, parsePercentage as S, parseStrokeWidth as T, isCssWideKeyword as _, isInspectableThemePayload as a, parseLength as b, fingerprintString as c, createWriterRenderContext as d, createTemplateHandle as f, DEFAULT_FONT_SIZE_PT as g, validateSlideTemplates as h, isContentTypesPayload as i, CompositionDiagnosticError as j, createDiagnostics as k, stableJson$1 as l, templateRefValue as m, pptxMediaAssetLoadRequirements as n, isRecord as o, isTemplateAreaRef as p, validatePptxPackageModel as r, projectedRelationshipTarget as s, pptx as t, withPackagePartFingerprints as u, isDeckLengthString as v, parsePointValue as w, parseLengthToken as x, isDeckPointLengthString as y };
|
package/dist/adapter.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as WriterRenderContext, i as WriterAdapterResult, n as RenderOptions, o as pptx, r as WriterAdapter,
|
|
2
|
-
export {
|
|
1
|
+
import { a as WriterRenderContext, i as WriterAdapterResult, n as RenderOptions, o as pptx, r as WriterAdapter, t as PptxRenderOptions } from "./adapter-B0PALTZN.mjs";
|
|
2
|
+
export { PptxRenderOptions, RenderOptions, WriterAdapter, WriterAdapterResult, WriterRenderContext, pptx };
|
package/dist/adapter.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as pptx } from "./adapter-
|
|
1
|
+
import { t as pptx } from "./adapter-B3Efckbf.mjs";
|
|
2
2
|
export { pptx };
|
|
@@ -3,11 +3,14 @@ type AuthoredTag = "article" | "aside" | "div" | "figure" | "footer" | "h1" | "h
|
|
|
3
3
|
type SectioningTag = "article" | "aside" | "footer" | "header" | "main" | "nav" | "section";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/style/types.d.ts
|
|
6
|
-
type
|
|
7
|
-
type
|
|
8
|
-
type
|
|
6
|
+
type CssWideKeyword = "initial" | "inherit" | "unset" | "revert" | "revert-layer";
|
|
7
|
+
type DeckLength = number | CssWideKeyword | `${number}${"in" | "cm" | "mm" | "q" | "pt" | "pc" | "px" | "%" | "em" | "rem" | "vh" | "vw" | "vmin" | "vmax" | "ch"}`;
|
|
8
|
+
type DeckPointLength = number | CssWideKeyword | `${number}${"in" | "cm" | "mm" | "q" | "pt" | "pc" | "px" | "em" | "rem" | "vh" | "vw" | "vmin" | "vmax" | "ch"}`;
|
|
9
|
+
type CssLetterSpacing = DeckPointLength | "normal";
|
|
10
|
+
type CssAspectRatio = number | "auto" | `${number}` | `${number}/${number}` | `${number} / ${number}`;
|
|
9
11
|
type CssBoxSizing = "border-box" | "content-box";
|
|
10
|
-
type
|
|
12
|
+
type CssSpacingShorthand = `${string} ${string}`;
|
|
13
|
+
type Spacing = DeckLength | CssSpacingShorthand | readonly [DeckLength, DeckLength, DeckLength, DeckLength];
|
|
11
14
|
type StackAxis = "horizontal" | "vertical";
|
|
12
15
|
type StackAlignment = "start" | "center" | "end";
|
|
13
16
|
type LayoutMode = "absolute" | "stack" | "grid";
|
|
@@ -18,7 +21,7 @@ type StrokeLineJoin = "miter" | "round" | "bevel";
|
|
|
18
21
|
type VerticalAlign = "top" | "middle" | "bottom";
|
|
19
22
|
type TextFit = "none" | "shrink" | "resize";
|
|
20
23
|
type CssDisplay = "flex" | "block" | "grid" | "none";
|
|
21
|
-
type CssPosition = "absolute" | "relative";
|
|
24
|
+
type CssPosition = "static" | "absolute" | "relative";
|
|
22
25
|
type CssVisibility = "visible" | "hidden";
|
|
23
26
|
type CssOverflow = "visible" | "hidden";
|
|
24
27
|
type CssFlexDirection = "row" | "column";
|
|
@@ -205,12 +208,12 @@ type TextStyle = FrameAuthorProps & BoxStyleAuthorProps & {
|
|
|
205
208
|
lineSpacing?: number;
|
|
206
209
|
lineSpacingMultiple?: number;
|
|
207
210
|
lineHeight?: DeckPointLength | "normal";
|
|
208
|
-
paragraphSpacingBefore?:
|
|
209
|
-
paragraphSpacingAfter?:
|
|
211
|
+
paragraphSpacingBefore?: DeckPointLength;
|
|
212
|
+
paragraphSpacingAfter?: DeckPointLength;
|
|
210
213
|
textIndent?: DeckPointLength;
|
|
211
214
|
tabStops?: readonly TextTabStopAuthoring[];
|
|
212
|
-
charSpacing?:
|
|
213
|
-
letterSpacing?:
|
|
215
|
+
charSpacing?: DeckPointLength;
|
|
216
|
+
letterSpacing?: CssLetterSpacing;
|
|
214
217
|
whiteSpace?: "normal" | "nowrap" | "pre" | "pre-wrap" | "pre-line";
|
|
215
218
|
wordBreak?: "normal" | "break-all" | "keep-all" | "break-word";
|
|
216
219
|
overflowWrap?: "normal" | "break-word" | "anywhere";
|
|
@@ -225,9 +228,10 @@ type TextStyle = FrameAuthorProps & BoxStyleAuthorProps & {
|
|
|
225
228
|
fit?: TextFit;
|
|
226
229
|
wrap?: boolean;
|
|
227
230
|
};
|
|
231
|
+
type ImageFit = "contain" | "cover" | "stretch" | "fill";
|
|
228
232
|
type ImageStyle = FrameAuthorProps & {
|
|
229
|
-
fit?:
|
|
230
|
-
objectFit?:
|
|
233
|
+
fit?: ImageFit;
|
|
234
|
+
objectFit?: ImageFit;
|
|
231
235
|
objectPosition?: CssObjectPosition;
|
|
232
236
|
crop?: ImageCropAuthoring;
|
|
233
237
|
href?: string;
|
|
@@ -332,16 +336,16 @@ type TemplateAreaAuthorProps = {
|
|
|
332
336
|
};
|
|
333
337
|
type ViewNodeProps = {
|
|
334
338
|
style?: ViewStyle;
|
|
335
|
-
} & ClassNameAuthorProps & TemplateAreaAuthorProps
|
|
339
|
+
} & ClassNameAuthorProps & TemplateAreaAuthorProps;
|
|
336
340
|
type TextNodeProps = {
|
|
337
341
|
style?: TextStyle;
|
|
338
|
-
} & ClassNameAuthorProps & TemplateAreaAuthorProps
|
|
342
|
+
} & ClassNameAuthorProps & TemplateAreaAuthorProps;
|
|
339
343
|
type TextRunNodeProps = {
|
|
340
344
|
style?: TextRunStyle;
|
|
341
|
-
} & ClassNameAuthorProps
|
|
345
|
+
} & ClassNameAuthorProps;
|
|
342
346
|
type ImageNodeProps = {
|
|
343
347
|
style?: ImageStyle;
|
|
344
|
-
} & ClassNameAuthorProps & TemplateAreaAuthorProps &
|
|
348
|
+
} & ClassNameAuthorProps & TemplateAreaAuthorProps & ({
|
|
345
349
|
src: string;
|
|
346
350
|
data?: string;
|
|
347
351
|
} | {
|
|
@@ -350,8 +354,8 @@ type ImageNodeProps = {
|
|
|
350
354
|
});
|
|
351
355
|
type ShapeNodeProps = {
|
|
352
356
|
style?: ShapeStyle;
|
|
353
|
-
shape
|
|
354
|
-
} & ClassNameAuthorProps & TemplateAreaAuthorProps
|
|
357
|
+
shape?: "rect" | "ellipse" | "line";
|
|
358
|
+
} & ClassNameAuthorProps & TemplateAreaAuthorProps;
|
|
355
359
|
//#endregion
|
|
356
360
|
//#region src/authoring/tree.d.ts
|
|
357
361
|
type JsxKey = string | number | bigint;
|
|
@@ -707,7 +711,7 @@ type CompositionSource<TSourceContext extends SourceContextValue | void = void,
|
|
|
707
711
|
//#endregion
|
|
708
712
|
//#region src/authoring/index.d.ts
|
|
709
713
|
type DeckJsxElement = {
|
|
710
|
-
readonly $$typeof: "deckjsx.author-tree"
|
|
714
|
+
readonly $$typeof: "deckjsx.author-tree";
|
|
711
715
|
};
|
|
712
716
|
interface TextJsxChildArray extends ReadonlyArray<TextJsxChild> {}
|
|
713
717
|
type TextJsxChild = DeckJsxElement | string | number | boolean | null | undefined | TextJsxChildArray;
|
|
@@ -762,4 +766,4 @@ type DeckJsxIntrinsicElements = {
|
|
|
762
766
|
span: IntrinsicSpanProps;
|
|
763
767
|
} & { [Tag in IntrinsicViewTag]: IntrinsicDivProps } & { [Tag in IntrinsicTextTag]: IntrinsicPProps };
|
|
764
768
|
//#endregion
|
|
765
|
-
export { Diagnostics as $,
|
|
769
|
+
export { Diagnostics as $, Spacing as $t, BaseSemanticNode as A, CssGridAutoFlow as At, SemanticRole as B, CssLetterSpacing as Bt, SourceContextValue as C, CssAlignSelf as Ct, StyleSheet as D, CssFlexBasis as Dt, ThemeDefaults as E, CssDisplay as Et, SemanticDocumentNode as F, CssGridTemplateAreas as Ft, SourceIdentity as G, DeckLength as Gt, SemanticSlideNode as H, CssOverflow as Ht, SemanticImageNode as I, CssGridTemplateShorthand as It, StyleEntity as J, ImageCropValue as Jt, SourceOrigin as K, DeckPointLength as Kt, SemanticNode as L, CssGridTrack as Lt, GraphNodeId as M, CssGridPlacement as Mt, SemanticAuthorGraph as N, CssGridShorthand as Nt, AssetEntity as O, CssFlexDirection as Ot, SemanticContainerNode as P, CssGridTemplate as Pt, DiagnosticSeverity as Q, SlideStyle as Qt, SemanticNodeKind as R, CssJustifyContent as Rt, SourceContextMapper as S, CssAlignItems as St, ThemeInput as T, CssBoxSizing as Tt, SemanticTextNode as U, CssPosition as Ut, SemanticShapeNode as V, CssObjectPosition as Vt, SemanticTextRunNode as W, CssVisibility as Wt, Diagnostic as X, LayoutMode as Xt, StyleEntityId as Y, ImageStyle as Yt, DiagnosticLabel as Z, ShapeStyle as Zt, SlideFactory as _, TemplateFrame as _t, IntrinsicDivProps as a, StyleDeclaration as an, StyleDiagnosticError as at, SlideOptions as b, BorderStyle as bt, IntrinsicShapeProps as c, TextRunStyle as cn, ClassNameObject as ct, JsxNode as d, TextTabStopAuthoring as dn, EmptySlideTemplateSet as dt, StackAlignment as en, formatDiagnostic as et, TextJsxChild as f, TextTabStopLength as fn, SlideTemplate as ft, CompositionSourceInternals as g, TemplateAreaRef as gt, CompositionSource as h, TemplateAreaKind as ht, DeckOptions as i, StrokeLineJoin as in, SemanticGraphDiagnosticError as it, Brand as j, CssGridLine as jt, AssetEntityId as k, CssFlexWrap as kt, IntrinsicTextTag as l, TextStyle as ln, ClassNameValue as lt, CompositionContext as m, ViewStyle as mn, TemplateArea as mt, DeckJsxElement as n, StrokeDashType as nn, CompositionDiagnosticError as nt, IntrinsicImgProps as o, StyleDeclarationValue as on, JsxKey as ot, COMPOSITION_SOURCE as p, VerticalAlign as pn, SlideTemplateSet as pt, StyleClassRef as q, ImageCropAuthoring as qt, DeckJsxIntrinsicElements as r, StrokeLineCap as rn, DeckDiagnosticError as rt, IntrinsicPProps as s, TextFit as sn, SourceSpan as st, ContentJsxChild as t, StackAxis as tn, formatDiagnostics as tt, IntrinsicViewTag as u, TextTabStopAlignment as un, ClassNameValueArray as ut, SlideFactoryInput as v, TemplateHandle as vt, Theme as w, CssAspectRatio as wt, SourceContextInput as x, CssAlignContent as xt, SlideFactoryInputWithTemplate as y, TemplateName as yt, SemanticOrigin as z, CssJustifySelf as zt };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $ as Diagnostics, $t as
|
|
2
|
-
import { An as AssetSource, Cn as StageSummary, Dn as AssetLoaderContext, En as AssetLoader, Gt as ProjectInspectionSummary, On as AssetMediaType, Sn as StageName, T as PptxPackageModelCandidate, Tn as AssetLoadResult, _n as RenderOutputSideEffectStatus, an as ProjectOptions, bn as RenderedArtifact, cn as RenderAssemblyBuildSummary, dn as RenderAssemblyFingerprintDelta, fn as RenderAssemblyPlanEntrySummary, gn as RenderOutputSideEffectReason, hn as RenderInspectionSummary, in as OutputFormat, kn as AssetProbeResult, ln as RenderAssemblyExpectedEntrySummary, mn as RenderAssemblyReasonDetails, nn as CompileStages, on as ProjectStages, pn as RenderAssemblyPlanSummary, rn as InspectionDetailLevel, sn as ProjectionFormat, un as RenderAssemblyFinalEntrySummary, vn as RenderOutputSideEffectSummary, w as PptxPackageModel, wn as WrittenOutput, xn as StageArtifactStatus, yn as RenderStages } from "./model-
|
|
3
|
-
import { n as RenderOptions, r as WriterAdapter } from "./adapter-
|
|
4
|
-
import { r as ResolvedStyleMap } from "./resolve-
|
|
1
|
+
import { $ as Diagnostics, $t as Spacing, At as CssGridAutoFlow, Bt as CssLetterSpacing, C as SourceContextValue, Ct as CssAlignSelf, D as StyleSheet, Dt as CssFlexBasis, E as ThemeDefaults, Et as CssDisplay, Ft as CssGridTemplateAreas, Gt as DeckLength, Ht as CssOverflow, It as CssGridTemplateShorthand, Jt as ImageCropValue, Kt as DeckPointLength, Lt as CssGridTrack, Mt as CssGridPlacement, N as SemanticAuthorGraph, Nt as CssGridShorthand, Ot as CssFlexDirection, Pt as CssGridTemplate, Q as DiagnosticSeverity, Qt as SlideStyle, Rt as CssJustifyContent, S as SourceContextMapper, St as CssAlignItems, T as ThemeInput, Tt as CssBoxSizing, Ut as CssPosition, Vt as CssObjectPosition, Wt as CssVisibility, X as Diagnostic, Xt as LayoutMode, Yt as ImageStyle, Z as DiagnosticLabel, Zt as ShapeStyle, _ as SlideFactory, _t as TemplateFrame, a as IntrinsicDivProps, at as StyleDiagnosticError, b as SlideOptions, bt as BorderStyle, c as IntrinsicShapeProps, cn as TextRunStyle, ct as ClassNameObject, dn as TextTabStopAuthoring, dt as EmptySlideTemplateSet, en as StackAlignment, et as formatDiagnostic, f as TextJsxChild, fn as TextTabStopLength, ft as SlideTemplate, g as CompositionSourceInternals, gt as TemplateAreaRef, h as CompositionSource, ht as TemplateAreaKind, i as DeckOptions, in as StrokeLineJoin, it as SemanticGraphDiagnosticError, jt as CssGridLine, kt as CssFlexWrap, l as IntrinsicTextTag, ln as TextStyle, lt as ClassNameValue, m as CompositionContext, mn as ViewStyle, mt as TemplateArea, n as DeckJsxElement, nn as StrokeDashType, nt as CompositionDiagnosticError, o as IntrinsicImgProps, ot as JsxKey, p as COMPOSITION_SOURCE, pn as VerticalAlign, pt as SlideTemplateSet, qt as ImageCropAuthoring, r as DeckJsxIntrinsicElements, rn as StrokeLineCap, rt as DeckDiagnosticError, s as IntrinsicPProps, sn as TextFit, st as SourceSpan, t as ContentJsxChild, tn as StackAxis, tt as formatDiagnostics, u as IntrinsicViewTag, un as TextTabStopAlignment, ut as ClassNameValueArray, v as SlideFactoryInput, vt as TemplateHandle, w as Theme, wt as CssAspectRatio, x as SourceContextInput, xt as CssAlignContent, y as SlideFactoryInputWithTemplate, yt as TemplateName, zt as CssJustifySelf } from "./index-DOxigSfK.mjs";
|
|
2
|
+
import { An as AssetSource, Cn as StageSummary, Dn as AssetLoaderContext, En as AssetLoader, Gt as ProjectInspectionSummary, On as AssetMediaType, Sn as StageName, T as PptxPackageModelCandidate, Tn as AssetLoadResult, _n as RenderOutputSideEffectStatus, an as ProjectOptions, bn as RenderedArtifact, cn as RenderAssemblyBuildSummary, dn as RenderAssemblyFingerprintDelta, fn as RenderAssemblyPlanEntrySummary, gn as RenderOutputSideEffectReason, hn as RenderInspectionSummary, in as OutputFormat, kn as AssetProbeResult, ln as RenderAssemblyExpectedEntrySummary, mn as RenderAssemblyReasonDetails, nn as CompileStages, on as ProjectStages, pn as RenderAssemblyPlanSummary, rn as InspectionDetailLevel, sn as ProjectionFormat, un as RenderAssemblyFinalEntrySummary, vn as RenderOutputSideEffectSummary, w as PptxPackageModel, wn as WrittenOutput, xn as StageArtifactStatus, yn as RenderStages } from "./model-C82_FI4k.mjs";
|
|
3
|
+
import { n as RenderOptions, r as WriterAdapter } from "./adapter-B0PALTZN.mjs";
|
|
4
|
+
import { r as ResolvedStyleMap } from "./resolve-DH0cI2C3.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/pipeline-runner.d.ts
|
|
7
7
|
type PresentStageArtifactStatus = Exclude<StageArtifactStatus, "missing">;
|
|
@@ -243,4 +243,4 @@ declare global {
|
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
//#endregion
|
|
246
|
-
export { type AssetLoadResult, type AssetLoader, type AssetLoaderContext, type AssetMediaType, type AssetProbeResult, type AssetSource, type BorderStyle, type BoundSource, type ClassNameObject, type ClassNameValue, type ClassNameValueArray, type CompileResult, type CompositionContext, CompositionDiagnosticError, type ContentJsxChild, type CssAlignContent, type CssAlignItems, type CssAlignSelf, type CssAspectRatio, type CssBoxSizing, type CssDisplay, type CssFlexBasis, type CssFlexDirection, type CssFlexWrap, type CssGridAutoFlow, type CssGridLine, type CssGridPlacement, type CssGridShorthand, type CssGridTemplate, type CssGridTemplateAreas, type CssGridTemplateShorthand, type CssGridTrack, type CssJustifyContent, type CssJustifySelf, type CssObjectPosition, type CssOverflow, type CssPosition, type CssVisibility, Deck, DeckDiagnosticError, type DeckJsxElement, type DeckJsxIntrinsicElements, type DeckLength, type DeckOptions, type DeckPointLength, type Diagnostic, type DiagnosticLabel, type DiagnosticSeverity, type Diagnostics, EMU_PER_INCH, type ImageCropAuthoring, type ImageCropValue, type ImageStyle, type InspectionDetailLevel, type IntrinsicDivProps, type IntrinsicImgProps, type IntrinsicPProps, type IntrinsicShapeProps, type IntrinsicTextTag, type IntrinsicViewTag, type JsxKey, type LayoutMode, type OutputFormat, POINTS_PER_INCH, type ProjectOptions, type ProjectResult, type ProjectionFormat, type RenderAssemblyBuildSummary, type RenderAssemblyExpectedEntrySummary, type RenderAssemblyFinalEntrySummary, type RenderAssemblyFingerprintDelta, type RenderAssemblyPlanEntrySummary, type RenderAssemblyPlanSummary, type RenderAssemblyReasonDetails, type RenderInspectionSummary, type RenderOutputSideEffectReason, type RenderOutputSideEffectStatus, type RenderOutputSideEffectSummary, type RenderResult, type RenderedArtifact, SemanticGraphDiagnosticError, type ShapeStyle, type SlideFactory, type SlideFactoryInput, type SlideFactoryInputWithTemplate, type SlideOptions, type SlideStyle, type SlideTemplate, type SlideTemplateSet, type SourceContextMapper, type SourceSpan, type Spacing, type StackAlignment, type StackAxis, type StageArtifactStatus, type StageName, type StageSummary, type StrokeDashType, type StrokeLineCap, type StrokeLineJoin, StyleDiagnosticError, StyleSheet, type TemplateArea, type TemplateAreaKind, type TemplateAreaRef, type TemplateFrame, type TemplateHandle, type TextFit, type TextJsxChild, type TextRunStyle, type TextStyle, type TextTabStopAlignment, type TextTabStopAuthoring, type TextTabStopLength, Theme, type ThemeDefaults, type ThemeInput, type VerticalAlign, type ViewStyle, type WrittenOutput, formatDiagnostic, formatDiagnostics };
|
|
246
|
+
export { type AssetLoadResult, type AssetLoader, type AssetLoaderContext, type AssetMediaType, type AssetProbeResult, type AssetSource, type BorderStyle, type BoundSource, type ClassNameObject, type ClassNameValue, type ClassNameValueArray, type CompileResult, type CompositionContext, CompositionDiagnosticError, type ContentJsxChild, type CssAlignContent, type CssAlignItems, type CssAlignSelf, type CssAspectRatio, type CssBoxSizing, type CssDisplay, type CssFlexBasis, type CssFlexDirection, type CssFlexWrap, type CssGridAutoFlow, type CssGridLine, type CssGridPlacement, type CssGridShorthand, type CssGridTemplate, type CssGridTemplateAreas, type CssGridTemplateShorthand, type CssGridTrack, type CssJustifyContent, type CssJustifySelf, type CssLetterSpacing, type CssObjectPosition, type CssOverflow, type CssPosition, type CssVisibility, Deck, DeckDiagnosticError, type DeckJsxElement, type DeckJsxIntrinsicElements, type DeckLength, type DeckOptions, type DeckPointLength, type Diagnostic, type DiagnosticLabel, type DiagnosticSeverity, type Diagnostics, EMU_PER_INCH, type ImageCropAuthoring, type ImageCropValue, type ImageStyle, type InspectionDetailLevel, type IntrinsicDivProps, type IntrinsicImgProps, type IntrinsicPProps, type IntrinsicShapeProps, type IntrinsicTextTag, type IntrinsicViewTag, type JsxKey, type LayoutMode, type OutputFormat, POINTS_PER_INCH, type ProjectOptions, type ProjectResult, type ProjectionFormat, type RenderAssemblyBuildSummary, type RenderAssemblyExpectedEntrySummary, type RenderAssemblyFinalEntrySummary, type RenderAssemblyFingerprintDelta, type RenderAssemblyPlanEntrySummary, type RenderAssemblyPlanSummary, type RenderAssemblyReasonDetails, type RenderInspectionSummary, type RenderOutputSideEffectReason, type RenderOutputSideEffectStatus, type RenderOutputSideEffectSummary, type RenderResult, type RenderedArtifact, SemanticGraphDiagnosticError, type ShapeStyle, type SlideFactory, type SlideFactoryInput, type SlideFactoryInputWithTemplate, type SlideOptions, type SlideStyle, type SlideTemplate, type SlideTemplateSet, type SourceContextMapper, type SourceSpan, type Spacing, type StackAlignment, type StackAxis, type StageArtifactStatus, type StageName, type StageSummary, type StrokeDashType, type StrokeLineCap, type StrokeLineJoin, StyleDiagnosticError, StyleSheet, type TemplateArea, type TemplateAreaKind, type TemplateAreaRef, type TemplateFrame, type TemplateHandle, type TextFit, type TextJsxChild, type TextRunStyle, type TextStyle, type TextTabStopAlignment, type TextTabStopAuthoring, type TextTabStopLength, Theme, type ThemeDefaults, type ThemeInput, type VerticalAlign, type ViewStyle, type WrittenOutput, formatDiagnostic, formatDiagnostics };
|