pptx-angular-viewer 4.1.6 → 4.2.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/CHANGELOG.md +6 -0
- package/fesm2022/pptx-angular-viewer-chart-3d-view-scene-Du6qe5j8.mjs +470 -0
- package/fesm2022/pptx-angular-viewer-chart-3d-view-scene-Du6qe5j8.mjs.map +1 -0
- package/fesm2022/{pptx-angular-viewer-chat-history-idb-thygpDnQ.mjs → pptx-angular-viewer-chat-history-idb-CIvMcUXk.mjs} +2 -2
- package/fesm2022/{pptx-angular-viewer-chat-history-idb-thygpDnQ.mjs.map → pptx-angular-viewer-chat-history-idb-CIvMcUXk.mjs.map} +1 -1
- package/fesm2022/{pptx-angular-viewer-pptx-angular-viewer-D8sOpwA0.mjs → pptx-angular-viewer-pptx-angular-viewer-D25mA21c.mjs} +4635 -3334
- package/fesm2022/{pptx-angular-viewer-pptx-angular-viewer-D8sOpwA0.mjs.map → pptx-angular-viewer-pptx-angular-viewer-D25mA21c.mjs.map} +1 -1
- package/fesm2022/pptx-angular-viewer-view-scene-C5oUG9yl.mjs +235 -0
- package/fesm2022/pptx-angular-viewer-view-scene-C5oUG9yl.mjs.map +1 -0
- package/fesm2022/pptx-angular-viewer.mjs +1 -1
- package/package.json +2 -2
- package/pptx-angular-viewer.css +1 -1
- package/types/pptx-angular-viewer.d.ts +868 -237
- package/types/pptx-angular-viewer.d.ts.map +1 -1
- package/fesm2022/pptx-angular-viewer-index-7b9uo9P2.mjs +0 -655
- package/fesm2022/pptx-angular-viewer-index-7b9uo9P2.mjs.map +0 -1
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
/** Supersampling factor for crisp text at any zoom. */
|
|
2
|
+
const SUPERSAMPLE = 3;
|
|
3
|
+
/** Build a canvas texture rendering `block`'s pre-wrapped lines, or `null` off-DOM. */
|
|
4
|
+
function buildTextBlockTexture(three, block) {
|
|
5
|
+
if (typeof document === 'undefined' || block.lines.every((l) => l.text.length === 0)) {
|
|
6
|
+
return null;
|
|
7
|
+
}
|
|
8
|
+
const worldWidth = Math.max(1, block.maxWidth);
|
|
9
|
+
const worldHeight = Math.max(1, block.maxHeight);
|
|
10
|
+
const canvas = document.createElement('canvas');
|
|
11
|
+
canvas.width = Math.max(8, Math.round(worldWidth * SUPERSAMPLE));
|
|
12
|
+
canvas.height = Math.max(8, Math.round(worldHeight * SUPERSAMPLE));
|
|
13
|
+
const ctx2d = canvas.getContext('2d');
|
|
14
|
+
if (!ctx2d) {
|
|
15
|
+
return null;
|
|
16
|
+
}
|
|
17
|
+
const weight = block.fontWeight ?? 400;
|
|
18
|
+
const italic = block.fontStyle === 'italic' ? 'italic ' : '';
|
|
19
|
+
const family = block.fontFamily
|
|
20
|
+
? `${block.fontFamily}, system-ui, sans-serif`
|
|
21
|
+
: 'system-ui, -apple-system, Segoe UI, Roboto, sans-serif';
|
|
22
|
+
const px = Math.max(6, block.fontSize) * SUPERSAMPLE;
|
|
23
|
+
ctx2d.clearRect(0, 0, canvas.width, canvas.height);
|
|
24
|
+
ctx2d.fillStyle = block.color;
|
|
25
|
+
ctx2d.textAlign = 'center';
|
|
26
|
+
ctx2d.textBaseline = 'alphabetic';
|
|
27
|
+
ctx2d.font = `${italic}${weight} ${px}px ${family}`;
|
|
28
|
+
const centerX = canvas.width / 2;
|
|
29
|
+
const centerY = canvas.height / 2;
|
|
30
|
+
for (const line of block.lines) {
|
|
31
|
+
if (!line.text) {
|
|
32
|
+
continue;
|
|
33
|
+
}
|
|
34
|
+
// `dy` is a y-up offset from the block centre; canvas y grows downward.
|
|
35
|
+
ctx2d.fillText(line.text, centerX, centerY - line.dy * SUPERSAMPLE);
|
|
36
|
+
}
|
|
37
|
+
const texture = new three.CanvasTexture(canvas);
|
|
38
|
+
texture.colorSpace = three.SRGBColorSpace;
|
|
39
|
+
texture.minFilter = three.LinearFilter;
|
|
40
|
+
texture.magFilter = three.LinearFilter;
|
|
41
|
+
// See `smartart-3d/text-texture.ts` for why flipY must stay false with a
|
|
42
|
+
// compensating UV flip: WebGL2 forbids UNPACK_FLIP_Y_WEBGL for some texture
|
|
43
|
+
// targets, and leaving it enabled pollutes global pixel-store state.
|
|
44
|
+
texture.flipY = false;
|
|
45
|
+
texture.premultiplyAlpha = false;
|
|
46
|
+
texture.wrapT = three.RepeatWrapping;
|
|
47
|
+
texture.repeat.set(1, -1);
|
|
48
|
+
texture.offset.set(0, 1);
|
|
49
|
+
texture.needsUpdate = true;
|
|
50
|
+
return { texture, worldWidth, worldHeight };
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/** z-lift of the stroke outline above its fill, so the two don't z-fight. */
|
|
54
|
+
const STROKE_Z_LIFT = 0.05;
|
|
55
|
+
function buildShape(three, mesh) {
|
|
56
|
+
const shape = new three.Shape(mesh.outline.map((p) => new three.Vector2(p.x, p.y)));
|
|
57
|
+
for (const hole of mesh.holes ?? []) {
|
|
58
|
+
shape.holes.push(new three.Path(hole.map((p) => new three.Vector2(p.x, p.y))));
|
|
59
|
+
}
|
|
60
|
+
return shape;
|
|
61
|
+
}
|
|
62
|
+
/** Build the fill mesh for a flat (zero-depth) `SmartArt3DMesh`. */
|
|
63
|
+
function buildFlatFill(three, mesh, shape, disposables) {
|
|
64
|
+
if (mesh.fillNone) {
|
|
65
|
+
return null;
|
|
66
|
+
}
|
|
67
|
+
const geometry = new three.ShapeGeometry(shape);
|
|
68
|
+
const material = new three.MeshBasicMaterial({
|
|
69
|
+
color: mesh.fill,
|
|
70
|
+
side: three.DoubleSide,
|
|
71
|
+
transparent: mesh.opacity < 1,
|
|
72
|
+
opacity: mesh.opacity,
|
|
73
|
+
});
|
|
74
|
+
disposables.push(geometry, material);
|
|
75
|
+
return new three.Mesh(geometry, material);
|
|
76
|
+
}
|
|
77
|
+
/** Build the stroke outline (and hole outlines) as line loops. */
|
|
78
|
+
function buildStrokeLines(three, mesh, disposables) {
|
|
79
|
+
if (mesh.strokeWidth <= 0 || mesh.stroke === 'transparent') {
|
|
80
|
+
return [];
|
|
81
|
+
}
|
|
82
|
+
const material = new three.LineBasicMaterial({ color: mesh.stroke });
|
|
83
|
+
disposables.push(material);
|
|
84
|
+
const loops = [mesh.outline, ...(mesh.holes ?? [])];
|
|
85
|
+
return loops.map((loop) => {
|
|
86
|
+
const geometry = new three.BufferGeometry().setFromPoints(loop.map((p) => new three.Vector3(p.x, p.y, STROKE_Z_LIFT)));
|
|
87
|
+
disposables.push(geometry);
|
|
88
|
+
return new three.LineLoop(geometry, material);
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
/** Build the text label plane, or `null` when the mesh has no text. */
|
|
92
|
+
function buildTextPlane(three, mesh, group, disposables) {
|
|
93
|
+
if (!mesh.textBlock) {
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
const built = buildTextBlockTexture(three, mesh.textBlock);
|
|
97
|
+
if (!built) {
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
disposables.push(built.texture);
|
|
101
|
+
const geometry = new three.PlaneGeometry(built.worldWidth, built.worldHeight);
|
|
102
|
+
const material = new three.MeshBasicMaterial({
|
|
103
|
+
map: built.texture,
|
|
104
|
+
transparent: true,
|
|
105
|
+
depthWrite: false,
|
|
106
|
+
});
|
|
107
|
+
disposables.push(geometry, material);
|
|
108
|
+
const plane = new three.Mesh(geometry, material);
|
|
109
|
+
// `textBlock` carries its own world position (already includes the
|
|
110
|
+
// shape's rotation applied to its centre); the group itself is placed at
|
|
111
|
+
// the shape's own centre, so offset back to absolute world space here.
|
|
112
|
+
plane.position.set(mesh.textBlock.x - mesh.position.x, mesh.textBlock.y - mesh.position.y, mesh.textBlock.z - mesh.position.z);
|
|
113
|
+
group.add(plane);
|
|
114
|
+
}
|
|
115
|
+
/** Build the complete `Object3D` for one flat mesh. */
|
|
116
|
+
function buildFlatMeshObject(three, mesh) {
|
|
117
|
+
const disposables = [];
|
|
118
|
+
const group = new three.Group();
|
|
119
|
+
group.position.set(mesh.position.x, mesh.position.y, mesh.position.z);
|
|
120
|
+
const shape = buildShape(three, mesh);
|
|
121
|
+
const fill = buildFlatFill(three, mesh, shape, disposables);
|
|
122
|
+
if (fill) {
|
|
123
|
+
group.add(fill);
|
|
124
|
+
}
|
|
125
|
+
for (const line of buildStrokeLines(three, mesh, disposables)) {
|
|
126
|
+
group.add(line);
|
|
127
|
+
}
|
|
128
|
+
buildTextPlane(three, mesh, group, disposables);
|
|
129
|
+
return { group, disposables };
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/** Camera distance from the origin along +z (orthographic, so magnitude only matters for near/far). */
|
|
133
|
+
const CAMERA_DISTANCE = 1000;
|
|
134
|
+
/** Fractional margin added around the diagram's own bounds when framing it. */
|
|
135
|
+
const FRAME_MARGIN = 1.06;
|
|
136
|
+
function buildOrthographicCamera(bounds, three) {
|
|
137
|
+
const w = Math.max(1, bounds.width) * FRAME_MARGIN;
|
|
138
|
+
const h = Math.max(1, bounds.height) * FRAME_MARGIN;
|
|
139
|
+
const camera = new three.OrthographicCamera(-w / 2, w / 2, h / 2, -h / 2, -CAMERA_DISTANCE * 2, CAMERA_DISTANCE * 2);
|
|
140
|
+
camera.position.set(0, 0, CAMERA_DISTANCE);
|
|
141
|
+
camera.lookAt(0, 0, 0);
|
|
142
|
+
return camera;
|
|
143
|
+
}
|
|
144
|
+
/** Fit the camera's frustum to `bounds`, letterboxing to the view's own aspect ratio. */
|
|
145
|
+
function fitCamera(camera, bounds, size) {
|
|
146
|
+
const w = Math.max(1, bounds.width) * FRAME_MARGIN;
|
|
147
|
+
const h = Math.max(1, bounds.height) * FRAME_MARGIN;
|
|
148
|
+
const aspect = Math.max(1, size.pixelWidth) / Math.max(1, size.pixelHeight);
|
|
149
|
+
const halfW = w / 2;
|
|
150
|
+
const halfH = h / 2;
|
|
151
|
+
const fitHalfH = Math.max(halfH, halfW / aspect);
|
|
152
|
+
const fitHalfW = fitHalfH * aspect;
|
|
153
|
+
camera.left = -fitHalfW;
|
|
154
|
+
camera.right = fitHalfW;
|
|
155
|
+
camera.top = fitHalfH;
|
|
156
|
+
camera.bottom = -fitHalfH;
|
|
157
|
+
camera.updateProjectionMatrix();
|
|
158
|
+
}
|
|
159
|
+
async function mountSmartArt3DView(model, ctx) {
|
|
160
|
+
const { three } = ctx;
|
|
161
|
+
const scene = new three.Scene();
|
|
162
|
+
if (model.background) {
|
|
163
|
+
scene.background = new three.Color(model.background);
|
|
164
|
+
}
|
|
165
|
+
const disposables = [];
|
|
166
|
+
for (const mesh of model.meshes) {
|
|
167
|
+
const built = buildFlatMeshObject(three, mesh);
|
|
168
|
+
scene.add(built.group);
|
|
169
|
+
disposables.push(...built.disposables);
|
|
170
|
+
}
|
|
171
|
+
const camera = buildOrthographicCamera(model.bounds, three);
|
|
172
|
+
const authoredPosition = camera.position.clone();
|
|
173
|
+
fitCamera(camera, model.bounds, ctx.size);
|
|
174
|
+
let controls = null;
|
|
175
|
+
let dampingActive = false;
|
|
176
|
+
if (ctx.OrbitControls) {
|
|
177
|
+
controls = new ctx.OrbitControls(camera, ctx.eventTarget);
|
|
178
|
+
controls.enableDamping = true;
|
|
179
|
+
controls.enablePan = false;
|
|
180
|
+
controls.enabled = ctx.interactive;
|
|
181
|
+
controls.enableRotate = ctx.interactive;
|
|
182
|
+
controls.enableZoom = ctx.interactive;
|
|
183
|
+
const onChange = () => {
|
|
184
|
+
dampingActive = true;
|
|
185
|
+
ctx.requestRender();
|
|
186
|
+
};
|
|
187
|
+
controls.addEventListener('change', onChange);
|
|
188
|
+
}
|
|
189
|
+
const resetView = () => {
|
|
190
|
+
camera.position.copy(authoredPosition);
|
|
191
|
+
camera.lookAt(0, 0, 0);
|
|
192
|
+
if (controls) {
|
|
193
|
+
controls.target.set(0, 0, 0);
|
|
194
|
+
controls.update();
|
|
195
|
+
}
|
|
196
|
+
ctx.requestRender();
|
|
197
|
+
};
|
|
198
|
+
const onDoubleClick = () => resetView();
|
|
199
|
+
ctx.eventTarget.addEventListener('dblclick', onDoubleClick);
|
|
200
|
+
return {
|
|
201
|
+
render(renderer) {
|
|
202
|
+
if (controls) {
|
|
203
|
+
dampingActive = controls.update();
|
|
204
|
+
}
|
|
205
|
+
renderer.render(scene, camera);
|
|
206
|
+
},
|
|
207
|
+
resize(size) {
|
|
208
|
+
fitCamera(camera, model.bounds, size);
|
|
209
|
+
},
|
|
210
|
+
isAnimating() {
|
|
211
|
+
return dampingActive;
|
|
212
|
+
},
|
|
213
|
+
setInteractive(on) {
|
|
214
|
+
if (!controls) {
|
|
215
|
+
return;
|
|
216
|
+
}
|
|
217
|
+
controls.enabled = on;
|
|
218
|
+
controls.enableRotate = on;
|
|
219
|
+
controls.enableZoom = on;
|
|
220
|
+
if (!on) {
|
|
221
|
+
resetView();
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
dispose() {
|
|
225
|
+
ctx.eventTarget.removeEventListener('dblclick', onDoubleClick);
|
|
226
|
+
controls?.dispose();
|
|
227
|
+
for (const d of disposables) {
|
|
228
|
+
d.dispose();
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export { mountSmartArt3DView };
|
|
235
|
+
//# sourceMappingURL=pptx-angular-viewer-view-scene-C5oUG9yl.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pptx-angular-viewer-view-scene-C5oUG9yl.mjs","sources":["../../src/internal/shared-src/smartart-3d/text-block-texture.ts","../../src/internal/shared-src/smartart-3d/flat-mesh-object.ts","../../src/internal/shared-src/smartart-3d/view-scene.ts"],"sourcesContent":["/**\n * Canvas texture for a `SmartArt3DTextBlock`, for the `<pptx-three-view>`\n * SmartArt scene (`view-scene.ts`).\n *\n * Unlike the legacy `smartart-3d/text-texture.ts` (which imports `three`\n * statically and re-wraps text itself), this draws the ALREADY wrapped/\n * positioned lines a `SmartArt3DTextBlock` carries (built from the same 2D\n * projection the SVG renderer uses), and takes the runtime `three` module as\n * a parameter so it stays out of the tsup-bundled `dist/index.mjs` (see the\n * \"no runtime `three` import\" rule in `three-view/types.ts`).\n *\n * @module smartart-3d/text-block-texture\n */\nimport type * as THREE from 'three';\n\nimport type { SmartArt3DTextBlock } from '../render/smartart-3d-types';\nimport type { ThreeModule } from '../three-view/types';\n\n/** Supersampling factor for crisp text at any zoom. */\nconst SUPERSAMPLE = 3;\n\n/** A built label texture plus the world-space plane size it should fill. */\nexport interface TextBlockTexture {\n\ttexture: THREE.CanvasTexture;\n\tworldWidth: number;\n\tworldHeight: number;\n}\n\n/** Build a canvas texture rendering `block`'s pre-wrapped lines, or `null` off-DOM. */\nexport function buildTextBlockTexture(\n\tthree: ThreeModule,\n\tblock: SmartArt3DTextBlock,\n): TextBlockTexture | null {\n\tif (typeof document === 'undefined' || block.lines.every((l) => l.text.length === 0)) {\n\t\treturn null;\n\t}\n\tconst worldWidth = Math.max(1, block.maxWidth);\n\tconst worldHeight = Math.max(1, block.maxHeight);\n\tconst canvas = document.createElement('canvas');\n\tcanvas.width = Math.max(8, Math.round(worldWidth * SUPERSAMPLE));\n\tcanvas.height = Math.max(8, Math.round(worldHeight * SUPERSAMPLE));\n\tconst ctx2d = canvas.getContext('2d');\n\tif (!ctx2d) {\n\t\treturn null;\n\t}\n\n\tconst weight = block.fontWeight ?? 400;\n\tconst italic = block.fontStyle === 'italic' ? 'italic ' : '';\n\tconst family = block.fontFamily\n\t\t? `${block.fontFamily}, system-ui, sans-serif`\n\t\t: 'system-ui, -apple-system, Segoe UI, Roboto, sans-serif';\n\tconst px = Math.max(6, block.fontSize) * SUPERSAMPLE;\n\n\tctx2d.clearRect(0, 0, canvas.width, canvas.height);\n\tctx2d.fillStyle = block.color;\n\tctx2d.textAlign = 'center';\n\tctx2d.textBaseline = 'alphabetic';\n\tctx2d.font = `${italic}${weight} ${px}px ${family}`;\n\tconst centerX = canvas.width / 2;\n\tconst centerY = canvas.height / 2;\n\tfor (const line of block.lines) {\n\t\tif (!line.text) {\n\t\t\tcontinue;\n\t\t}\n\t\t// `dy` is a y-up offset from the block centre; canvas y grows downward.\n\t\tctx2d.fillText(line.text, centerX, centerY - line.dy * SUPERSAMPLE);\n\t}\n\n\tconst texture = new three.CanvasTexture(canvas);\n\ttexture.colorSpace = three.SRGBColorSpace;\n\ttexture.minFilter = three.LinearFilter;\n\ttexture.magFilter = three.LinearFilter;\n\t// See `smartart-3d/text-texture.ts` for why flipY must stay false with a\n\t// compensating UV flip: WebGL2 forbids UNPACK_FLIP_Y_WEBGL for some texture\n\t// targets, and leaving it enabled pollutes global pixel-store state.\n\ttexture.flipY = false;\n\ttexture.premultiplyAlpha = false;\n\ttexture.wrapT = three.RepeatWrapping;\n\ttexture.repeat.set(1, -1);\n\ttexture.offset.set(0, 1);\n\ttexture.needsUpdate = true;\n\n\treturn { texture, worldWidth, worldHeight };\n}\n","/**\n * Build the three.js `Object3D` for one flat `SmartArt3DMesh` (fill + stroke\n * outline + text label), for `view-scene.ts`.\n *\n * @module smartart-3d/flat-mesh-object\n */\nimport type * as THREE from 'three';\n\nimport type { SmartArt3DMesh } from '../render/smartart-3d-types';\nimport type { ThreeModule } from '../three-view/types';\nimport { buildTextBlockTexture } from './text-block-texture';\n\n/** Anything the scene must call `.dispose()` on when unmounted. */\nexport interface Disposable {\n\tdispose: () => void;\n}\n\n/** The built pieces for one mesh: the group to add to the scene, plus disposables. */\nexport interface MeshObject {\n\tgroup: THREE.Group;\n\tdisposables: Disposable[];\n}\n\n/** z-lift of the stroke outline above its fill, so the two don't z-fight. */\nconst STROKE_Z_LIFT = 0.05;\n\nfunction buildShape(three: ThreeModule, mesh: SmartArt3DMesh): THREE.Shape {\n\tconst shape = new three.Shape(mesh.outline.map((p) => new three.Vector2(p.x, p.y)));\n\tfor (const hole of mesh.holes ?? []) {\n\t\tshape.holes.push(new three.Path(hole.map((p) => new three.Vector2(p.x, p.y))));\n\t}\n\treturn shape;\n}\n\n/** Build the fill mesh for a flat (zero-depth) `SmartArt3DMesh`. */\nfunction buildFlatFill(\n\tthree: ThreeModule,\n\tmesh: SmartArt3DMesh,\n\tshape: THREE.Shape,\n\tdisposables: Disposable[],\n): THREE.Mesh | null {\n\tif (mesh.fillNone) {\n\t\treturn null;\n\t}\n\tconst geometry = new three.ShapeGeometry(shape);\n\tconst material = new three.MeshBasicMaterial({\n\t\tcolor: mesh.fill,\n\t\tside: three.DoubleSide,\n\t\ttransparent: mesh.opacity < 1,\n\t\topacity: mesh.opacity,\n\t});\n\tdisposables.push(geometry, material);\n\treturn new three.Mesh(geometry, material);\n}\n\n/** Build the stroke outline (and hole outlines) as line loops. */\nfunction buildStrokeLines(\n\tthree: ThreeModule,\n\tmesh: SmartArt3DMesh,\n\tdisposables: Disposable[],\n): THREE.LineLoop[] {\n\tif (mesh.strokeWidth <= 0 || mesh.stroke === 'transparent') {\n\t\treturn [];\n\t}\n\tconst material = new three.LineBasicMaterial({ color: mesh.stroke });\n\tdisposables.push(material);\n\tconst loops = [mesh.outline, ...(mesh.holes ?? [])];\n\treturn loops.map((loop) => {\n\t\tconst geometry = new three.BufferGeometry().setFromPoints(\n\t\t\tloop.map((p) => new three.Vector3(p.x, p.y, STROKE_Z_LIFT)),\n\t\t);\n\t\tdisposables.push(geometry);\n\t\treturn new three.LineLoop(geometry, material);\n\t});\n}\n\n/** Build the text label plane, or `null` when the mesh has no text. */\nfunction buildTextPlane(\n\tthree: ThreeModule,\n\tmesh: SmartArt3DMesh,\n\tgroup: THREE.Group,\n\tdisposables: Disposable[],\n): void {\n\tif (!mesh.textBlock) {\n\t\treturn;\n\t}\n\tconst built = buildTextBlockTexture(three, mesh.textBlock);\n\tif (!built) {\n\t\treturn;\n\t}\n\tdisposables.push(built.texture);\n\tconst geometry = new three.PlaneGeometry(built.worldWidth, built.worldHeight);\n\tconst material = new three.MeshBasicMaterial({\n\t\tmap: built.texture,\n\t\ttransparent: true,\n\t\tdepthWrite: false,\n\t});\n\tdisposables.push(geometry, material);\n\tconst plane = new three.Mesh(geometry, material);\n\t// `textBlock` carries its own world position (already includes the\n\t// shape's rotation applied to its centre); the group itself is placed at\n\t// the shape's own centre, so offset back to absolute world space here.\n\tplane.position.set(\n\t\tmesh.textBlock.x - mesh.position.x,\n\t\tmesh.textBlock.y - mesh.position.y,\n\t\tmesh.textBlock.z - mesh.position.z,\n\t);\n\tgroup.add(plane);\n}\n\n/** Build the complete `Object3D` for one flat mesh. */\nexport function buildFlatMeshObject(three: ThreeModule, mesh: SmartArt3DMesh): MeshObject {\n\tconst disposables: Disposable[] = [];\n\tconst group = new three.Group();\n\tgroup.position.set(mesh.position.x, mesh.position.y, mesh.position.z);\n\n\tconst shape = buildShape(three, mesh);\n\tconst fill = buildFlatFill(three, mesh, shape, disposables);\n\tif (fill) {\n\t\tgroup.add(fill);\n\t}\n\tfor (const line of buildStrokeLines(three, mesh, disposables)) {\n\t\tgroup.add(line);\n\t}\n\tbuildTextPlane(three, mesh, group, disposables);\n\n\treturn { group, disposables };\n}\n","/**\n * `<pptx-three-view>` scene module for 3D SmartArt.\n *\n * Flat quick styles (Simple Fill, White Outline, Subtle, Moderate, Intense):\n * every mesh is a zero-depth `ShapeGeometry` face, unlit (`MeshBasicMaterial`),\n * under a fixed orthographic camera framing the diagram's own viewBox\n * (`model.bounds`) - the same geometry/fills/text the 2D SVG renderer draws,\n * built by `render/smartart-3d-drawing-model.ts`. Bevel/scene quick styles are\n * not implemented yet: `model.styleCategory` is `'bevel'`/`'scene'` for those\n * (currently unreachable, since `buildSmartArt3DSpecForElement` only emits\n * `'flat'`/legacy-layout models) and this module renders them with the same\n * flat pipeline as a stopgap rather than refusing to mount.\n *\n * Must not import `three` at runtime (use `ctx.three`): this module is\n * reachable from the main barrel through the scene registry.\n *\n * @module smartart-3d/view-scene\n */\nimport type * as THREE from 'three';\n\nimport type { SmartArt3DModel } from '../render/smartart-3d-types';\nimport type {\n\tThreeOrbitControls,\n\tThreeViewContext,\n\tThreeViewScene,\n\tThreeViewSize,\n} from '../three-view/types';\nimport type { Disposable } from './flat-mesh-object';\nimport { buildFlatMeshObject } from './flat-mesh-object';\n\n/** Camera distance from the origin along +z (orthographic, so magnitude only matters for near/far). */\nconst CAMERA_DISTANCE = 1000;\n/** Fractional margin added around the diagram's own bounds when framing it. */\nconst FRAME_MARGIN = 1.06;\n\nfunction buildOrthographicCamera(\n\tbounds: { width: number; height: number },\n\tthree: typeof THREE,\n): THREE.OrthographicCamera {\n\tconst w = Math.max(1, bounds.width) * FRAME_MARGIN;\n\tconst h = Math.max(1, bounds.height) * FRAME_MARGIN;\n\tconst camera = new three.OrthographicCamera(\n\t\t-w / 2,\n\t\tw / 2,\n\t\th / 2,\n\t\t-h / 2,\n\t\t-CAMERA_DISTANCE * 2,\n\t\tCAMERA_DISTANCE * 2,\n\t);\n\tcamera.position.set(0, 0, CAMERA_DISTANCE);\n\tcamera.lookAt(0, 0, 0);\n\treturn camera;\n}\n\n/** Fit the camera's frustum to `bounds`, letterboxing to the view's own aspect ratio. */\nfunction fitCamera(\n\tcamera: THREE.OrthographicCamera,\n\tbounds: { width: number; height: number },\n\tsize: ThreeViewSize,\n): void {\n\tconst w = Math.max(1, bounds.width) * FRAME_MARGIN;\n\tconst h = Math.max(1, bounds.height) * FRAME_MARGIN;\n\tconst aspect = Math.max(1, size.pixelWidth) / Math.max(1, size.pixelHeight);\n\tconst halfW = w / 2;\n\tconst halfH = h / 2;\n\tconst fitHalfH = Math.max(halfH, halfW / aspect);\n\tconst fitHalfW = fitHalfH * aspect;\n\tcamera.left = -fitHalfW;\n\tcamera.right = fitHalfW;\n\tcamera.top = fitHalfH;\n\tcamera.bottom = -fitHalfH;\n\tcamera.updateProjectionMatrix();\n}\n\nexport async function mountSmartArt3DView(\n\tmodel: SmartArt3DModel,\n\tctx: ThreeViewContext,\n): Promise<ThreeViewScene> {\n\tconst { three } = ctx;\n\tconst scene = new three.Scene();\n\tif (model.background) {\n\t\tscene.background = new three.Color(model.background);\n\t}\n\n\tconst disposables: Disposable[] = [];\n\tfor (const mesh of model.meshes) {\n\t\tconst built = buildFlatMeshObject(three, mesh);\n\t\tscene.add(built.group);\n\t\tdisposables.push(...built.disposables);\n\t}\n\n\tconst camera = buildOrthographicCamera(model.bounds, three);\n\tconst authoredPosition = camera.position.clone();\n\tfitCamera(camera, model.bounds, ctx.size);\n\n\tlet controls: ThreeOrbitControls | null = null;\n\tlet dampingActive = false;\n\tif (ctx.OrbitControls) {\n\t\tcontrols = new ctx.OrbitControls(camera, ctx.eventTarget);\n\t\tcontrols.enableDamping = true;\n\t\tcontrols.enablePan = false;\n\t\tcontrols.enabled = ctx.interactive;\n\t\tcontrols.enableRotate = ctx.interactive;\n\t\tcontrols.enableZoom = ctx.interactive;\n\t\tconst onChange = (): void => {\n\t\t\tdampingActive = true;\n\t\t\tctx.requestRender();\n\t\t};\n\t\tcontrols.addEventListener('change', onChange);\n\t}\n\n\tconst resetView = (): void => {\n\t\tcamera.position.copy(authoredPosition);\n\t\tcamera.lookAt(0, 0, 0);\n\t\tif (controls) {\n\t\t\tcontrols.target.set(0, 0, 0);\n\t\t\tcontrols.update();\n\t\t}\n\t\tctx.requestRender();\n\t};\n\tconst onDoubleClick = (): void => resetView();\n\tctx.eventTarget.addEventListener('dblclick', onDoubleClick);\n\n\treturn {\n\t\trender(renderer) {\n\t\t\tif (controls) {\n\t\t\t\tdampingActive = controls.update();\n\t\t\t}\n\t\t\trenderer.render(scene, camera);\n\t\t},\n\t\tresize(size) {\n\t\t\tfitCamera(camera, model.bounds, size);\n\t\t},\n\t\tisAnimating() {\n\t\t\treturn dampingActive;\n\t\t},\n\t\tsetInteractive(on) {\n\t\t\tif (!controls) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tcontrols.enabled = on;\n\t\t\tcontrols.enableRotate = on;\n\t\t\tcontrols.enableZoom = on;\n\t\t\tif (!on) {\n\t\t\t\tresetView();\n\t\t\t}\n\t\t},\n\t\tdispose() {\n\t\t\tctx.eventTarget.removeEventListener('dblclick', onDoubleClick);\n\t\t\tcontrols?.dispose();\n\t\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AACF;;"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as AFTER_ANIMATION_VALUES, a as ALIGN_OPTIONS, b as ANIMATION_PRESET_CATEGORIES, c as AUDIENCE_HASH, d as AUDIENCE_NONCE_KEY, e as AVATAR_COLOR_SWATCHES, f as AXIS_LABEL_COLOR, g as AccessibilityPanelComponent, h as AccessibilityService, i as AccessibilityTextPanelComponent, j as AccountPageComponent, k as ActionSettingsPanelComponent, l as AdvancedChartEditorComponent, m as AiChangeOverlayComponent, n as AiChatPanelComponent, o as AiChatService, p as AiComposerComponent, q as AiFocusBarComponent, r as AiFocusHighlightOverlayComponent, s as AiHistoryMenuComponent, u as AiHistoryService, v as AiMessageListComponent, w as AiPanelStore, x as AiProposalCardComponent, y as AiSettingsSectionComponent, z as AiToolCallCardComponent, B as AnimationAuthorPanelComponent, C as AnimationPanelComponent, D as AnimationPlaybackService, E as AutosaveRecoveryDialogComponent, F as AutosaveService, G as BroadcastDialogComponent, H as CHART_EDITOR_STYLES, I as CINEMATIC_TRANSITION_KEYFRAMES, J as CURSOR_PALETTE, K as CanvasFitService, L as ChartAxisOptionsComponent, M as ChartAxisStyleOptionsComponent, N as ChartComboTypeOptionsComponent, O as ChartDataEditorComponent, P as ChartDataLabelOptionsComponent, Q as ChartDatapointMarkerOptionsComponent, R as ChartDatapointOptionsComponent, S as ChartDisplayOptionsComponent, T as ChartElementViewComponent, U as ChartErrorBarOptionsComponent, V as ChartMarkerOptionsComponent, W as ChartPartSelectionService, X as ChartPrimitivesComponent, Y as ChartRendererComponent, Z as ChartTrendlineOptionsComponent, _ as ChartTypeSelectorComponent, $ as CollaborationCursorsComponent, a0 as CollaborationService, a1 as ColorChangedImageComponent, a2 as CommentMarkersOverlayComponent, a3 as CommentsPanelComponent, a4 as CommentsService, a5 as ComparePanelComponent, a6 as ConnectorRendererComponent, a7 as ConnectorTextOverlayComponent, a8 as CustomShowsComponent, a9 as DEFAULT_BOUNDS, aa as DEFAULT_BROADCAST_SERVER_URL, ab as DEFAULT_CANVAS_HEIGHT, ac as DEFAULT_CANVAS_WIDTH, ad as DEFAULT_COLOR_SCHEME, ae as DEFAULT_FILL_COLOR, af as DEFAULT_LAYOUT, ag as DEFAULT_MORPH_DURATION_MS, ah as DEFAULT_PALETTE, ai as DEFAULT_PATTERN_FILL_PRESET, aj as DEFAULT_PRINT_SETTINGS, ak as DEFAULT_SLIDE_BACKGROUND, al as DEFAULT_STROKE_COLOR, am as DEFAULT_STYLE, an as DEFAULT_TABLE_ROW_HEIGHT, ao as DEFAULT_TEXT_COLOR, ap as DEFAULT_VIEWER_PROFILE, aq as DIRECTIONAL_PRESETS, ar as DIRECTION_OPTIONS, as as DocumentPropertiesCardComponent, at as EASE, au as EFFECT_SOUND_CATALOGUE, av as EMBEDDED_FONTS_STYLE_ID, aw as EMPHASIS_PRESETS, ax as ENTRANCE_PRESETS, ay as EQUATION_TEMPLATES, az as EXIT_PRESETS, aA as EditorContextMenuComponent, aB as EditorHistory, aC as EditorStateService, aD as EditorToolbarComponent, aE as EffectsPanelComponent, aF as ElementRendererComponent, aG as EmbeddedFontsService, aH as EncryptedFileDialogComponent, aI as EquationEditorDialogComponent, aJ as EquationRendererComponent, aK as EquationTemplateGalleryComponent, aL as ExportProgressModalComponent, aM as ExportService, aN as FieldContextService, aO as FindBarComponent, aP as FindReplaceBarComponent, aQ as FollowModeBarComponent, aR as FontEmbeddingListComponent, aS as FontEmbeddingPanelComponent, aT as GALLERY_THEME_PRESETS, aU as GOOGLE_WEBFONTS_LINK_ID, aV as GRIDLINE_COLOR, aW as GoogleWebfontsService, aX as GradientPickerComponent, aY as HANDOUT_OPTIONS, aZ as HeaderFooterDialogComponent, a_ as HyperlinkDialogComponent, a$ as INSTANT, b0 as ImagePropertiesPanelComponent, b1 as InkDrawingService, b2 as InkRendererComponent, b3 as InsertSmartArtDialogComponent, b4 as InspectorPaneHeaderComponent, b5 as InspectorPanelComponent, b6 as IsMobileService, b7 as KeepAnnotationsDialogComponent, b8 as LOCALE_CATALOG, b9 as LONG_PRESS_DURATION_MS, ba as LONG_PRESS_MOVE_TOLERANCE_PX, bb as LoadContentService, bc as LocalPresencePublisher, bd as MAX_ZOOM_SCALE, be as MIN_ZOOM_SCALE, bf as MOTION_PATH_COLUMNS, bg as MediaPreviewComponent, bh as MediaPropertiesPanelComponent, bi as MediaRendererComponent, bj as MediaTrimTimelineComponent, bk as MobileBottomBarComponent, bl as MobileMenuSheetComponent, bm as MobilePresenterViewComponent, bn as MobileSheetComponent, bo as MobileSlidesSheetComponent, bp as MobileToolbarComponent, bq as ModalDialogComponent, br as Model3DRendererComponent, bs as NotesHandoutCardComponent, bt as NotesPanelComponent, bu as NotesToolbarComponent, bv as OleRendererComponent, bw as OutlineViewOverlayComponent, bx as P14_TRANSITION_KEYFRAMES, by as P14_TRANSITION_KEYFRAMES_2, bz as P14_TRANSITION_KEYFRAMES_ALL, bA as POWER_POINT_VIEWER_PROVIDERS, bB as PPTX_OPEN_ACCEPT, bC as PRESENTATION_OPEN_EXTENSIONS, bD as PRESENTER_CHANNEL_NAME, bE as PRESENTER_MSG_ORIGIN, bF as PRESENTER_TIMER_SEGMENT_MS, bG as PX_PER_CM, bH as PX_PER_INCH, bI as PasswordProtectionDialogComponent, bJ as PasswordStrengthMeterComponent, bK as PowerPointViewerComponent, bL as PresentToolbarAutoHide, bM as PresentationAnnotationOverlayComponent, bN as PresentationAnnotationsService, bO as PresentationOverlayComponent, bP as PresentationPropertiesPanelComponent, bQ as PresentationSettingsCardComponent, bR as PresentationSubtitleBarComponent, bS as PresentationToolbarComponent, bT as PresentationTransitionOverlayComponent, bU as PresenterViewComponent, bV as PresenterWindowService, bW as PrintDialogComponent, bX as PrintService, bY as PrintSettingsPanelComponent, bZ as PropertiesDialogComponent, b_ as RANDOM_ELIGIBLE_TYPES, b$ as REPEAT_MODE_OPTIONS, c0 as RESIZE_HANDLES, c1 as RULER_FONT_SIZE, c2 as RULER_THICKNESS, c3 as ReadingViewOverlayComponent, c4 as RemoteSelectionOverlayComponent, c5 as RibbonAnimationGalleryComponent, c6 as RibbonAnimationsSectionComponent, c7 as RibbonArrangeSectionComponent, c8 as RibbonColorPopoverComponent, c9 as RibbonComponent, ca as RibbonDesignSectionComponent, cb as RibbonDrawSectionComponent, cc as RibbonDrawingGroupComponent, cd as RibbonEditingSectionComponent, ce as RibbonFileSectionComponent, cf as RibbonFontControlsComponent, cg as RibbonHomeSectionComponent, ch as RibbonHyperlinkButtonComponent, ci as RibbonInsertFieldsComponent, cj as RibbonInsertSectionComponent, ck as RibbonMotionPathGalleryComponent, cl as RibbonParagraphControlsComponent, cm as RibbonPrimaryRowComponent, cn as RibbonReviewSectionComponent, co as RibbonShapeExtrasComponent, cp as RibbonSlideshowSectionComponent, cq as RibbonTransitionsSectionComponent, cr as RibbonViewSectionComponent, cs as RulerGuidesService, ct as SEQUENCE_OPTIONS, cu as SEVERITY_GROUPS, cv as SEVERITY_LABELS, cw as SHARED_DEFAULT_TRANSITION_DURATION_MS, cx as SHORTCUT_REFERENCE_ITEMS, cy as SLIDE_TRANSITION_KEYFRAMES, cz as SLIDE_TRANSITION_KEYFRAMES_CSS, cA as SMARTART_DEFAULT_PALETTE, cB as SMARTART_PALETTES, cC as SMART_ART_COLOR_SCHEMES, cD as SMART_ART_STYLE_OPTIONS, cE as SUB_ITEM_LABEL, cF as SVG_WARP_PRESETS, cG as SWIPE_MAX_VERTICAL_PX, cH as SWIPE_THRESHOLD_PX, cI as SelectionPaneComponent, cJ as SetUpSlideShowDialogComponent, cK as SettingsAppearanceTabComponent, cL as SettingsDialogComponent, cM as SettingsLanguageTabComponent, cN as ShareDialogComponent, cO as ShortcutPanelComponent, cP as ShowOptionsFieldsetComponent, cQ as ShowSlidesFieldsetComponent, cR as SignatureStrippedDialogComponent, cS as SignaturesPanelComponent, cT as SignaturesService, cU as SlideBackgroundCardComponent, cV as SlideCanvasComponent, cW as SlideDefaultInspectorComponent, cX as SlideDiffChangesComponent, cY as SlideDiffRowComponent, cZ as SlideDiffThumbnailsComponent, c_ as SlideSizeCardComponent, c$ as SlideSorterOverlayComponent, d0 as SlideThemeOverridePanelComponent, d1 as SlideTransitionCardComponent, d2 as SlidesPanelComponent, d3 as SmartArt3DRendererComponent, d4 as SmartArt3DService, d5 as SmartArtPreviewComponent, d6 as SmartArtPropertiesComponent, d7 as SmartArtRendererComponent, d8 as StatusBarComponent, d9 as TABLE_STRUCTURE_TOGGLES, da as TEXT_3D_BOTTOM_BEVEL_KEYS, db as TEXT_3D_TOP_BEVEL_KEYS, dc as TEXT_DIRECTION_OPTIONS, dd as THEME_CATALOG, de as TIMING_CURVE_OPTIONS, df as TRANSITION_SPEED_DURATION_MS, dg as TRIGGER_OPTIONS, dh as TYPE_LABELS, di as TableCellAdvancedFillComponent, dj as TableCellFormattingComponent, dk as TableDataEditorComponent, dl as TablePropertiesComponent, dm as TableRendererComponent, dn as TableResizeOverlayComponent, dp as TableSelectionService, dq as TagsCardComponent, dr as Text3DBevelSectionComponent, ds as Text3DPanelComponent, dt as TextAdvancedPanelComponent, du as ThemeEditorFieldsComponent, dv as ThemeGalleryComponent, dw as ThemeSelectorCardComponent, dx as TitleBarComponent, dy as TitleBarSearchComponent, dz as TransitionDirectionPickerComponent, dA as TransitionPreviewComponent, dB as VALIGN_OPTIONS, dC as VIEWER_THEME, dD as VersionHistoryPanelComponent, dE as ViewerCanvasEditingService, dF as ViewerCollabCursorService, dG as ViewerCollaborationSessionService, dH as ViewerCollaborationShellService, dI as ViewerCompareService, dJ as ViewerCustomShowsService, dK as ViewerDialogsService, dL as ViewerDocumentPropertiesService, dM as ViewerExportService, dN as ViewerExtraDialogsComponent, dO as ViewerFileIOService, dP as ViewerFindReplaceService, dQ as ViewerFormatPainterService, dR as ViewerInspectorPanelService, dS as ViewerKeyboardService, dT as ViewerMobileSheetService, dU as ViewerPresentationModeService, dV as ViewerThemeGalleryService, dW as ViewerTouchGesturesService, dX as ViewerZoomService, dY as WEBM_MIME_CANDIDATES, dZ as WHEEL_SPOKE_COUNTS, d_ as WriteBackScheduler, d$ as ZERO_LINE_COLOR, e0 as ZoomNavigationService, e1 as ZoomRendererComponent, e2 as ZoomTargetService, e3 as addCategory, e4 as addCommentToList, e5 as addGradientStopPatch, e6 as addItem, e7 as addSeries, e8 as addSubItem, e9 as advanceStep, ea as affordanceElements, eb as aiToggleVisible, ec as alignPatch, ed as animationFor, ee as animationPresetLabelKey, ef as annotationMapToInkInserts, eg as applyAcceptedDiff, eh as applyAnimationPreset, ei as applyFindReplacements, ej as applyFormatToElement, ek as applyMove, el as applyResize, em as asMediaElement, en as assignUserColor, eo as attachShowVisibilityPause, ep as attachTouchGestures, eq as axisTickValues, er as beginDrawingNodeEdit, es as beginNodeEdit, et as bevelSizePatch, eu as boolFromEvent, ev as bringForward, ew as bringToFront, ex as buildBarActions, ey as buildBroadcastConfig, ez as buildBroadcastViewerUrl, eA as buildCategoryLabels, eB as buildCellParagraphs, eC as buildChartViewModel, eD as buildChatLogExport, eE as buildChatLogMarkdown, eF as buildChromeStyle, eG as buildClearHyperlinkPatch, eH as buildClickGroups, eI as buildColStyles, eJ as buildCollaborationConfig, eK as buildComboViewModel, eL as buildCssGradientFromShapeStyle, eM as buildDuotoneFilter, eN as buildDuotoneFilterId, eO as buildEmbeddedFontStyles, eP as buildEquationElement, eQ as buildEquationSegment, eR as buildFallbackViewModel, eS as buildFontFaceRule, eT as buildGradientFillCss, eU as buildGridlinesAndLabels, eV as buildHyperlinkPatch, eW as buildInkContainerStyle, eX as buildInkStrokes, eY as buildLegend, eZ as buildLiveInkStrokeView, e_ as buildMarkTooltip, e$ as buildModel3DContainerStyle, f0 as buildModel3DViewModel, f1 as buildOleActionModel, f2 as buildOleInfoRows, f3 as buildPatternFillCss, f4 as buildPieViewModel, f5 as buildPrintDocument, f6 as buildPropertiesPatch, f7 as buildRadarViewModel, f8 as buildRegionMapViewModel, f9 as buildSaveSlides, fa as buildShareUrl, fb as buildSmartArtInsertElement, fc as buildSmartArtNodes, fd as buildStockViewModel, fe as buildSurfaceViewModel, ff as buildTableViewModel, fg as buildTreemapViewModel, fh as buildTrimFragment, fi as buildWaterfallViewModel, fj as buildZeroLine, fk as buildZoomContainerStyle, fl as buildZoomViewModel, fm as bulletIndentPx, fn as canAddTopLevelNode, fo as canEditSmartArtNodes, fp as canGroupSelection, fq as canRemoveTopLevelNode, fr as canSetStrokeWidth, fs as canStartBroadcast, ft as canStartShare, fu as canUngroupSelection, fv as canUseClipboard, fw as captionDisplayText, fx as cellRunStyle, fy as cellStyleToStyleMap, fz as cellTdStyle, fA as changeCountLabel, fB as changeIcon, fC as characterSpacingPatch, fD as chartPreserveAspectRatio, fE as checkFontAvailable, fF as clampCursorPosition, fG as clampGifDimensions, fH as clampIndex, fI as clampNotesFontSize, fJ as clampScale, fK as clampStep, fL as clearAllLocalViewerData, fM as clearAudienceContent, fN as cn, fO as collectAccessibilityIssues, fP as collectElementText, fQ as collectSlideText, fR as collectStoredChats, fS as collectUsedFontFamilies, fT as columnWidthStyle, fU as commitNodeText, fV as computeAlign, fW as computeAxisTitlePrimitives, fX as computeBarRects, fY as computeBubbleRadius, fZ as computeCornerHandle, f_ as computeDistribute, f$ as computeDrawingViewBox, g0 as computeErrorBarPrimitives, g1 as computeFocusTargets, g2 as computeGridSpacingPx, g3 as computeHandleBoxes, g4 as computeHandoutLayout, g5 as computeIsMobile, g6 as computeIsTablet, g7 as computeLinePoints, g8 as computeLinearRegression, g9 as computePageCount, ga as computePieLayout, gb as computePieSlicePath, gc as computePieSlices, gd as computePlotLayout, ge as computeRSquared, gf as computeRadarPoints, gg as computeResizeHandleBoxes, gh as computeRotateHandleBox, gi as computeScatterDots, gj as computeScatterXDomain, gk as computeSelectionBoxes, gl as computeSingleSelected, gm as computeSlideIndices, gn as computeSnap, go as computeStackedBarRects, gp as computeStackedValueRange, gq as computeTrendlinePrimitives, gr as computeValueRange, gs as convertOmmlToMathMl, gt as copyFormatFromElement, gu as countAccessibilityIssues, gv as countAnnotationStrokes, gw as createAngularAiBridge, gx as createCustomShow, gy as createImageElementFromFile, gz as createSwipeDismissDrag, gA as createWebrtcBundle, gB as createWebsocketBundle, gC as cssObjectToStyleMap, gD as currentColorScheme, gE as currentLayout, gF as currentStyle, gG as defaultCssVars, gH as defaultRadius, gI as defaultThemeColors, gJ as deleteElementsByIds, gK as deleteRecoveryVersion, gL as demoteNode, gM as deriveModel3DBlobUrl, gN as derivePresenceList, gO as describeCollaborationShellState, gP as describeSmartArtBounds, gQ as disableGlowPatch, gR as disableInnerShadowPatch, gS as disableOuterShadowPatch, gT as disableReflectionPatch, gU as disableSoftEdgePatch, gV as duplicateElementById, gW as durationOf, gX as effectsStateOf, gY as enableGlowPatch, gZ as enableInnerShadowPatch, g_ as enableOuterShadowPatch, g$ as enableReflectionPatch, h0 as enableSoftEdgePatch, h1 as encodeGif, h2 as endShowMediaCleanup, h3 as estimatePageCount, h4 as exitPresentationFullscreen, h5 as exportAiChatLogs, h6 as extractPathPoints, h7 as eyedropperAvailable, h8 as fillColorOf, h9 as findInSlides, ha as findOwningSlideIndex, hb as findSlideIndexByElementId, hc as firstVisibleIndex, hd as fitPolynomial, he as fitZoom, hf as focusTargetChips, hg as fontMimeForFormat, hh as fontSizeOf, hi as forgetSessionDeck, hj as formatAxisValue, hk as formatBytes, hl as formatCursorLabel, hm as formatElapsed, hn as formatFileSize, ho as formatInlineListStyle, hp as formatPropertyDate, hq as formatTime, hr as fpsToFrameIntervalMs, hs as generateBroadcastRoomId, ht as generateCommentId, hu as generateCustomShowId, hv as generatePressureCircles, hw as generateTicks, hx as getCinematicTransitionAnimations, hy as getClrChangeParams, hz as getContainerStyle, hA as getDuotoneFilterDef, hB as getEffectSoundAsset, hC as getEffectSoundState, hD as getImageSrc, hE as getLocalStorageUsageSummary, hF as getOleAriaLabel, hG as getOleBadgeLabel, hH as getOleDisplayName, hI as getOleDownloadFileName, hJ as getOleTypeColor, hK as getOleTypeLabel, hL as getP14TransitionAnimations, hM as getPasswordStrength, hN as getPatternSvg, hO as getPlaceholderStyle, hP as getRecoveryVersions, hQ as getResolvedShapeClipPath, hR as getResolvedShapeClipPathFor, hS as getSessionTabId, hT as getShapeFillStrokeStyle, hU as getSlideBackgroundStyle, hV as getSlideTransitionAnimations, hW as getSmartArtNodeBounds, hX as getSpeechRecognitionCtor, hY as getTextBlockStyle, hZ as getTextWarp, h_ as getTouchDistance, h$ as getWarpCategory, i0 as getWarpPath, i1 as gradientStateFromStyle, i2 as gradientStateOf, i3 as gradientStatePatch, i4 as gradientStopColorCommitPatch, i5 as gridColumns, i6 as groupIssuesBySeverity, i7 as hasAnimation, i8 as hasCopyableFormat, i9 as hasExistingLink, ia as hasExitedFullscreen, ib as hasGradientFill, ic as hasPressureVariation, id as hasVisibleSlideAfter, ie as headerLabel, ig as imageDimensions, ih as inkViewBox, ii as insertColumn, ij as insertRow, ik as interpolateWidth, il as isAudienceTab, im as isBold, io as isBrowserOpenableMime, ip as isChildNode, iq as isElementInteractive, ir as isInjectableUrl, is as isItalic, it as isLegacyBinaryPresentation, iu as isPpactionUrl, iv as isPresenterMessage, iw as isSigned, ix as isSupportedPresentationFile, iy as isTextElement, iz as isTwoTableFocus, iA as isUnderline, iB as isUrlSafe, iC as isValidRoomId, iD as isViewportBackgroundPressTarget, iE as isZoomActivationKey, iF as issueTrackKey, iG as issueTypeLabel, iH as keyToLabel, iI as lastVisibleIndex, iJ as latexToMathml, iK as layoutConnectorPaints, iL as layoutNodeLabels, iM as linePointsToSvgString, iN as lineSpacingPatch, iO as loadAudienceContent, iP as loadSessionDeck, iQ as mediaFallbackFor, iR as mediaSurfaceFor, iS as mergeCaptionResults, iT as mergeDown, iU as mergeRight, iV as mergeSelection, iW as mergeTablesDirective, iX as moveElementBy, iY as moveNodeDown, iZ as moveNodeUp, i_ as msToFrameDelayCs, i$ as narrowToCircle, j0 as narrowToPolygon, j1 as narrowToRect, j2 as newChartElement, j3 as newEquationElement, j4 as newPresetShapeElement, j5 as newShapeElement, j6 as newSmartArtElement, j7 as newTableElement, j8 as newTextElement, j9 as nextVisibleIndex, ja as nodeBold, jb as nodeEditBox, jc as nodeFillColor, jd as nodeFontColor, je as nodeIdFromKey, jf as nodeItalic, jg as nodeStyle, jh as normalizeFontFormat, ji as normalizeSlidesPerPage, jj as normalizeValue, jk as numFromEvent, jl as ommlToMathml, jm as ooxmlDashToCssBorderStyle, jn as openNativeEyeDropper, jo as overallStatus, jp as paletteColor, jq as parseAudienceNonce, jr as parseNodeTextarea, js as partitionSlides, jt as patchChartData, ju as patchChartStyle, jv as patchTableData, jw as patchTextStyle, jx as patternPresetOptions, jy as pendingElementStyles, jz as pickColorByClickFallback, jA as pickFile, jB as pickSupportedMimeType, jC as planGifFrames, jD as planVideoSegments, jE as pointFromPointerEvent, jF as pointsToSvgPathD, jG as presenceToCursors, jH as presentationBaseName, jI as presentationStageStyle, jJ as presenterTimerProgress, jK as presetByLayout, jL as presetsForCategory, jM as pressuresToWidths, jN as prevVisibleIndex, jO as projectDrawingShapes, jP as promoteNode, jQ as provideViewerTheme, jR as radarAngle, jS as radarRingPoints, jT as readAsDataUrl, jU as recordWebm, jV as registerCrossSlideAudio, jW as rememberSessionDeck, jX as removeAnimation, jY as removeCategory, jZ as removeColumn, j_ as removeCommentFromList, j$ as removeElementAnimation, k0 as removeGradientStopPatch, k1 as removeNode, k2 as removeRow, k3 as removeSeries, k4 as renderToCanvas, k5 as reorderAnimationDown, k6 as reorderAnimationUp, k7 as replaceInSlides, k8 as replaceMatch, k9 as requestPresentationFullscreen, ka as resizeElement, kb as resolveCaptionTracks, kc as resolveChartKind, kd as resolveDirection, ke as resolveDirection8, kf as resolveFontVariant, kg as resolveHyperlinkHref, kh as resolveInteractiveElementId, ki as resolveMediaSrc, kj as resolveOleType, kk as resolveOrientation, kl as resolveParagraphBullet, km as resolvePresenterNotes, kn as resolveProfileInitial, ko as resolveRegionCode, kp as resolveRibbonCanGroup, kq as resolveSlideAutoAdvanceMs, kr as resolveSlideTransition, ks as resolveSmartArtPalette, kt as resolveThemeCatalogEntry, ku as resolveTransitionDuration, kv as resolveTransitionDurationMs, kw as resolveWheelSpokeCount, kx as restoreSessionDeck, ky as revealedElementStyles, kz as routeOrthogonalConnector, kA as rowStyle, kB as rulerDragToGuidePosition, kC as rulerHighlight, kD as rulerStripTicks, kE as sampleColorFromSlide, kF as sanitizeColor, kG as sanitizeSlideIndex, kH as sanitizeUserName, kI as saveViewerProfile, kJ as savedPresentationFileName, kK as scanAvailableFonts, kL as searchSlides, kM as seedBroadcastFields, kN as seedHyperlinkDraft, kO as seedPropertiesDraft, kP as seedShareFields, kQ as segmentFrameCount, kR as selectValue, kS as sendBackward, kT as sendToBack, kU as sequentialColorScale, kV as serializeWriteBack, kW as seriesColor, kX as setAfterAnimation, kY as setAfterAnimationColor, kZ as setAnimationEmphasis, k_ as setAnimationEntrance, k$ as setAnimationExit, l0 as setAxis, l1 as setAxisLogScale, l2 as setAxisTitleStyle, l3 as setCategoryLabel, l4 as setCellText, l5 as setColorScheme, l6 as setDataLabels, l7 as setDataPointExplosion, l8 as setDataPointFill, l9 as setDataPointLabel, la as setDataPointMarker, lb as setDelay, lc as setDirection, ld as setDuration, le as setEffectSound, lf as setEffectStockSound, lg as setElementPosition, lh as setGridlineStyle, li as setLayout, lj as setLegend, lk as setNodeStyle, ll as setNodeText, lm as setRepeatCount, ln as setRepeatMode, lo as setSequence, lp as setSeriesChartType, lq as setSeriesColor, lr as setSeriesErrorBars, ls as setSeriesMarker, lt as setSeriesName, lu as setSeriesTrendline, lv as setSeriesValue, lw as setStyle, lx as setTimingCurve, ly as setTitle, lz as setTrigger, lA as setTriggerShapeId, lB as shapeStylePatch, lC as sheetAfterNavigate, lD as shouldBlockClickAdvance, lE as shouldUseSvgWarp, lF as showDirectionPicker, lG as showsTemplateAffordance, lH as signatureCountLabel, lI as signatureKey, lJ as signatureTimestamp, lK as signerName, lL as slideDiffStatusLabel, lM as slideNumberOf, lN as slidesWithReappliedLayout, lO as smartArtNodes, lP as smartArtPaletteColour, lQ as snapToGridStep, lR as splitCursorCell, lS as splitMergedCell, lT as statusKind, lU as statusLabel, lV as storeAudienceContent, lW as stringFromEvent, lX as strokeColorOf, lY as strokeToInkElement, lZ as strokeWidthOf, l_ as styleShadowFilter, l$ as surfaceColor, m0 as textAdvancedPatch, m1 as textAdvancedStateFromStyle, m2 as textAdvancedStateOf, m3 as textColorOf, m4 as textDirectionPatch, m5 as textFontSizePatch, m6 as textStyleOf, m7 as textStylePatch, m8 as themeStyle, m9 as themeToCssVars, ma as thumbnailHeight, mb as thumbnailZoom, mc as toggleCommentResolvedInList, md as toggleNodeBold, me as toggleNodeItalic, mf as toggleSheet, mg as topLevelNodeCount, mh as transformSelectedTextCase, mi as translationsEn, mj as updateElementById, mk as updateGlowPatch, ml as updateGradientStopPatch, mm as updateInnerShadowPatch, mn as updateOuterShadowPatch, mo as updateReflectionPatch, mp as vAlignPatch, mq as validatePassword, mr as validatePrintSettings, ms as validateRoomId, mt as valueToY, mu as vermilionDarkColors, mv as vermilionDarkTheme, mw as vermilionLightColors, mx as vermilionLightTheme, my as vermilionRadius, mz as waypointsToPathD, mA as withManualLayouts, mB as worstStatus, mC as zoomTargetSlideIndex } from './pptx-angular-viewer-pptx-angular-viewer-D8sOpwA0.mjs';
|
|
1
|
+
export { A as AFTER_ANIMATION_VALUES, n as ALIGN_OPTIONS, o as ANIMATION_PRESET_CATEGORIES, p as AUDIENCE_HASH, q as AUDIENCE_NONCE_KEY, u as AVATAR_COLOR_SWATCHES, v as AXIS_LABEL_COLOR, w as AccessibilityPanelComponent, x as AccessibilityService, y as AccessibilityTextPanelComponent, z as AccountPageComponent, B as ActionSettingsPanelComponent, D as AdvancedChartEditorComponent, E as AiChangeOverlayComponent, F as AiChatPanelComponent, G as AiChatService, H as AiComposerComponent, I as AiFocusBarComponent, J as AiFocusHighlightOverlayComponent, K as AiHistoryMenuComponent, L as AiHistoryService, M as AiMessageListComponent, N as AiPanelStore, O as AiProposalCardComponent, P as AiSettingsSectionComponent, Q as AiToolCallCardComponent, R as AnimationAuthorPanelComponent, S as AnimationPanelComponent, T as AnimationPlaybackService, U as AutosaveRecoveryDialogComponent, V as AutosaveService, W as BroadcastDialogComponent, X as CHART_EDITOR_STYLES, Y as CINEMATIC_TRANSITION_KEYFRAMES, Z as CURSOR_PALETTE, _ as CanvasFitService, $ as ChartAxisOptionsComponent, a0 as ChartAxisStyleOptionsComponent, a1 as ChartComboTypeOptionsComponent, a2 as ChartDataEditorComponent, a3 as ChartDataLabelOptionsComponent, a4 as ChartDatapointMarkerOptionsComponent, a5 as ChartDatapointOptionsComponent, a6 as ChartDisplayOptionsComponent, a7 as ChartElementViewComponent, a8 as ChartErrorBarOptionsComponent, a9 as ChartMarkerOptionsComponent, aa as ChartPartSelectionService, ab as ChartPrimitivesComponent, ac as ChartRendererComponent, ad as ChartTrendlineOptionsComponent, ae as ChartTypeSelectorComponent, af as CollaborationCursorsComponent, ag as CollaborationService, ah as ColorChangedImageComponent, ai as CommentMarkersOverlayComponent, aj as CommentsPanelComponent, ak as CommentsService, al as ComparePanelComponent, am as ConnectorRendererComponent, an as ConnectorTextOverlayComponent, ao as CustomShowsComponent, ap as DEFAULT_BOUNDS, aq as DEFAULT_BROADCAST_SERVER_URL, ar as DEFAULT_CANVAS_HEIGHT, as as DEFAULT_CANVAS_WIDTH, at as DEFAULT_COLOR_SCHEME, au as DEFAULT_FILL_COLOR, av as DEFAULT_LAYOUT, aw as DEFAULT_MORPH_DURATION_MS, ax as DEFAULT_PALETTE, ay as DEFAULT_PATTERN_FILL_PRESET, az as DEFAULT_PRINT_SETTINGS, aA as DEFAULT_SLIDE_BACKGROUND, aB as DEFAULT_STROKE_COLOR, aC as DEFAULT_STYLE, aD as DEFAULT_TABLE_ROW_HEIGHT, aE as DEFAULT_TEXT_COLOR, aF as DEFAULT_VIEWER_PROFILE, aG as DIRECTIONAL_PRESETS, aH as DIRECTION_OPTIONS, aI as DocumentPropertiesCardComponent, aJ as EASE, aK as EFFECT_SOUND_CATALOGUE, aL as EMBEDDED_FONTS_STYLE_ID, aM as EMPHASIS_PRESETS, aN as ENTRANCE_PRESETS, aO as EQUATION_TEMPLATES, aP as EXIT_PRESETS, aQ as EditorContextMenuComponent, aR as EditorHistory, aS as EditorStateService, aT as EditorToolbarComponent, aU as EffectsPanelComponent, aV as ElementRendererComponent, aW as EmbeddedFontsService, aX as EncryptedFileDialogComponent, aY as EquationEditorDialogComponent, aZ as EquationRendererComponent, a_ as EquationTemplateGalleryComponent, a$ as ExportProgressModalComponent, b0 as ExportService, b1 as FieldContextService, b2 as FindBarComponent, b3 as FindReplaceBarComponent, b4 as FollowModeBarComponent, b5 as FontEmbeddingListComponent, b6 as FontEmbeddingPanelComponent, b7 as GALLERY_THEME_PRESETS, b8 as GOOGLE_WEBFONTS_LINK_ID, b9 as GRIDLINE_COLOR, ba as GoogleWebfontsService, bb as GradientPickerComponent, bc as HANDOUT_OPTIONS, bd as HeaderFooterDialogComponent, be as HyperlinkDialogComponent, bf as INSTANT, bg as ImagePropertiesPanelComponent, bh as InkDrawingService, bi as InkRendererComponent, bj as InsertSmartArtDialogComponent, bk as InspectorPaneHeaderComponent, bl as InspectorPanelComponent, bm as IsMobileService, bn as KeepAnnotationsDialogComponent, bo as LOCALE_CATALOG, bp as LONG_PRESS_DURATION_MS, bq as LONG_PRESS_MOVE_TOLERANCE_PX, br as LoadContentService, bs as LocalPresencePublisher, bt as MAX_ZOOM_SCALE, bu as MIN_ZOOM_SCALE, bv as MOTION_PATH_COLUMNS, bw as MediaPreviewComponent, bx as MediaPropertiesPanelComponent, by as MediaRendererComponent, bz as MediaTrimTimelineComponent, bA as MobileBottomBarComponent, bB as MobileMenuSheetComponent, bC as MobilePresenterViewComponent, bD as MobileSheetComponent, bE as MobileSlidesSheetComponent, bF as MobileToolbarComponent, bG as ModalDialogComponent, bH as Model3DRendererComponent, bI as NotesHandoutCardComponent, bJ as NotesPanelComponent, bK as NotesToolbarComponent, bL as OleRendererComponent, bM as OutlineViewOverlayComponent, bN as P14_TRANSITION_KEYFRAMES, bO as P14_TRANSITION_KEYFRAMES_2, bP as P14_TRANSITION_KEYFRAMES_ALL, bQ as POWER_POINT_VIEWER_PROVIDERS, bR as PPTX_OPEN_ACCEPT, bS as PRESENTATION_OPEN_EXTENSIONS, bT as PRESENTER_CHANNEL_NAME, bU as PRESENTER_MSG_ORIGIN, bV as PRESENTER_TIMER_SEGMENT_MS, bW as PX_PER_CM, bX as PX_PER_INCH, bY as PasswordProtectionDialogComponent, bZ as PasswordStrengthMeterComponent, b_ as PowerPointViewerComponent, b$ as PresentToolbarAutoHide, c0 as PresentationAnnotationOverlayComponent, c1 as PresentationAnnotationsService, c2 as PresentationOverlayComponent, c3 as PresentationPropertiesPanelComponent, c4 as PresentationSettingsCardComponent, c5 as PresentationSubtitleBarComponent, c6 as PresentationToolbarComponent, c7 as PresentationTransitionOverlayComponent, c8 as PresenterViewComponent, c9 as PresenterWindowService, ca as PrintDialogComponent, cb as PrintService, cc as PrintSettingsPanelComponent, cd as PropertiesDialogComponent, ce as RANDOM_ELIGIBLE_TYPES, cf as REPEAT_MODE_OPTIONS, cg as RESIZE_HANDLES, ch as RULER_FONT_SIZE, ci as RULER_THICKNESS, cj as ReadingViewOverlayComponent, ck as RemoteSelectionOverlayComponent, cl as Rendering3DService, cm as RibbonAnimationGalleryComponent, cn as RibbonAnimationsSectionComponent, co as RibbonArrangeSectionComponent, cp as RibbonColorPopoverComponent, cq as RibbonComponent, cr as RibbonDesignSectionComponent, cs as RibbonDrawSectionComponent, ct as RibbonDrawingGroupComponent, cu as RibbonEditingSectionComponent, cv as RibbonFileSectionComponent, cw as RibbonFontControlsComponent, cx as RibbonHomeSectionComponent, cy as RibbonHyperlinkButtonComponent, cz as RibbonInsertFieldsComponent, cA as RibbonInsertSectionComponent, cB as RibbonMotionPathGalleryComponent, cC as RibbonParagraphControlsComponent, cD as RibbonPrimaryRowComponent, cE as RibbonReviewSectionComponent, cF as RibbonShapeExtrasComponent, cG as RibbonSlideshowSectionComponent, cH as RibbonTransitionsSectionComponent, cI as RibbonViewSectionComponent, cJ as RulerGuidesService, cK as SEQUENCE_OPTIONS, cL as SEVERITY_GROUPS, cM as SEVERITY_LABELS, cN as SHARED_DEFAULT_TRANSITION_DURATION_MS, cO as SHORTCUT_REFERENCE_ITEMS, cP as SLIDE_TRANSITION_KEYFRAMES, cQ as SLIDE_TRANSITION_KEYFRAMES_CSS, cR as SMARTART_DEFAULT_PALETTE, cS as SMARTART_PALETTES, cT as SMART_ART_COLOR_SCHEMES, cU as SMART_ART_STYLE_OPTIONS, cV as SUB_ITEM_LABEL, cW as SVG_WARP_PRESETS, cX as SWIPE_MAX_VERTICAL_PX, cY as SWIPE_THRESHOLD_PX, cZ as SelectionPaneComponent, c_ as SetUpSlideShowDialogComponent, c$ as SettingsAppearanceTabComponent, d0 as SettingsDialogComponent, d1 as SettingsLanguageTabComponent, d2 as ShareDialogComponent, d3 as ShortcutPanelComponent, d4 as ShowOptionsFieldsetComponent, d5 as ShowSlidesFieldsetComponent, d6 as SignatureStrippedDialogComponent, d7 as SignaturesPanelComponent, d8 as SignaturesService, d9 as SlideBackgroundCardComponent, da as SlideCanvasComponent, db as SlideDefaultInspectorComponent, dc as SlideDiffChangesComponent, dd as SlideDiffRowComponent, de as SlideDiffThumbnailsComponent, df as SlideSizeCardComponent, dg as SlideSorterOverlayComponent, dh as SlideThemeOverridePanelComponent, di as SlideTransitionCardComponent, dj as SlidesPanelComponent, dk as SmartArt3DRendererComponent, dl as SmartArtPreviewComponent, dm as SmartArtPropertiesComponent, dn as SmartArtRendererComponent, dp as StatusBarComponent, dq as TABLE_STRUCTURE_TOGGLES, dr as TEXT_3D_BOTTOM_BEVEL_KEYS, ds as TEXT_3D_TOP_BEVEL_KEYS, dt as TEXT_DIRECTION_OPTIONS, du as THEME_CATALOG, dv as TIMING_CURVE_OPTIONS, dw as TRANSITION_SPEED_DURATION_MS, dx as TRIGGER_OPTIONS, dy as TYPE_LABELS, dz as TableCellAdvancedFillComponent, dA as TableCellFormattingComponent, dB as TableDataEditorComponent, dC as TablePropertiesComponent, dD as TableRendererComponent, dE as TableResizeOverlayComponent, dF as TableSelectionService, dG as TagsCardComponent, dH as Text3DBevelSectionComponent, dI as Text3DPanelComponent, dJ as TextAdvancedPanelComponent, dK as ThemeEditorFieldsComponent, dL as ThemeGalleryComponent, dM as ThemeSelectorCardComponent, dN as TitleBarComponent, dO as TitleBarSearchComponent, dP as TransitionDirectionPickerComponent, dQ as TransitionPreviewComponent, dR as VALIGN_OPTIONS, dS as VIEWER_THEME, dT as VersionHistoryPanelComponent, dU as ViewerCanvasEditingService, dV as ViewerCollabCursorService, dW as ViewerCollaborationSessionService, dX as ViewerCollaborationShellService, dY as ViewerCompareService, dZ as ViewerCustomShowsService, d_ as ViewerDialogsService, d$ as ViewerDocumentPropertiesService, e0 as ViewerExportService, e1 as ViewerExtraDialogsComponent, e2 as ViewerFileIOService, e3 as ViewerFindReplaceService, e4 as ViewerFormatPainterService, e5 as ViewerInspectorPanelService, e6 as ViewerKeyboardService, e7 as ViewerMobileSheetService, e8 as ViewerPresentationModeService, e9 as ViewerThemeGalleryService, ea as ViewerTouchGesturesService, eb as ViewerZoomService, ec as WEBM_MIME_CANDIDATES, ed as WHEEL_SPOKE_COUNTS, ee as WriteBackScheduler, ef as ZERO_LINE_COLOR, eg as ZoomNavigationService, eh as ZoomRendererComponent, ei as ZoomTargetService, ej as addCategory, ek as addCommentToList, el as addGradientStopPatch, em as addItem, en as addSeries, eo as addSubItem, ep as advanceStep, eq as affordanceElements, er as aiToggleVisible, es as alignPatch, et as animationFor, eu as animationPresetLabelKey, ev as annotationMapToInkInserts, ew as applyAcceptedDiff, ex as applyAnimationPreset, ey as applyFindReplacements, ez as applyFormatToElement, eA as applyMove, eB as applyResize, eC as asMediaElement, eD as assignUserColor, eE as attachShowVisibilityPause, eF as attachTouchGestures, eG as axisTickValues, eH as beginDrawingNodeEdit, eI as beginNodeEdit, eJ as bevelSizePatch, eK as boolFromEvent, eL as bringForward, eM as bringToFront, eN as buildBarActions, eO as buildBroadcastConfig, eP as buildBroadcastViewerUrl, eQ as buildCategoryLabels, eR as buildCellParagraphs, eS as buildChartViewModel, eT as buildChatLogExport, eU as buildChatLogMarkdown, eV as buildChromeStyle, eW as buildClearHyperlinkPatch, eX as buildClickGroups, eY as buildColStyles, eZ as buildCollaborationConfig, e_ as buildComboViewModel, e$ as buildCssGradientFromShapeStyle, f0 as buildDuotoneFilter, f1 as buildDuotoneFilterId, f2 as buildEmbeddedFontStyles, f3 as buildEquationElement, f4 as buildEquationSegment, f5 as buildFallbackViewModel, f6 as buildFontFaceRule, f7 as buildGradientFillCss, f8 as buildGridlinesAndLabels, f9 as buildHyperlinkPatch, fa as buildInkContainerStyle, fb as buildInkStrokes, fc as buildLegend, fd as buildLiveInkStrokeView, fe as buildMarkTooltip, ff as buildModel3DContainerStyle, fg as buildModel3DViewModel, fh as buildOleActionModel, fi as buildOleInfoRows, fj as buildPatternFillCss, fk as buildPieViewModel, fl as buildPrintDocument, fm as buildPropertiesPatch, fn as buildRadarViewModel, fo as buildRegionMapViewModel, fp as buildSaveSlides, fq as buildShareUrl, fr as buildSmartArtInsertElement, fs as buildSmartArtNodes, ft as buildStockViewModel, fu as buildSurfaceViewModel, fv as buildTableViewModel, fw as buildTreemapViewModel, fx as buildTrimFragment, fy as buildWaterfallViewModel, fz as buildZeroLine, fA as buildZoomContainerStyle, fB as buildZoomViewModel, fC as bulletIndentPx, fD as canAddTopLevelNode, fE as canEditSmartArtNodes, fF as canGroupSelection, fG as canRemoveTopLevelNode, fH as canSetStrokeWidth, fI as canStartBroadcast, fJ as canStartShare, fK as canUngroupSelection, fL as canUseClipboard, fM as captionDisplayText, fN as cellRunStyle, fO as cellStyleToStyleMap, fP as cellTdStyle, fQ as changeCountLabel, fR as changeIcon, fS as characterSpacingPatch, fT as chartPreserveAspectRatio, fU as checkFontAvailable, fV as clampCursorPosition, fW as clampGifDimensions, fX as clampIndex, fY as clampNotesFontSize, fZ as clampScale, f_ as clampStep, f$ as clearAllLocalViewerData, g0 as clearAudienceContent, g1 as cn, g2 as collectAccessibilityIssues, g3 as collectElementText, g4 as collectSlideText, g5 as collectStoredChats, g6 as collectUsedFontFamilies, g7 as columnWidthStyle, g8 as commitNodeText, g9 as computeAlign, ga as computeAxisTitlePrimitives, gb as computeBarRects, gc as computeBubbleRadius, gd as computeCornerHandle, ge as computeDistribute, gf as computeDrawingViewBox, gg as computeErrorBarPrimitives, gh as computeFocusTargets, gi as computeGridSpacingPx, gj as computeHandleBoxes, gk as computeHandoutLayout, gl as computeIsMobile, gm as computeIsTablet, gn as computeLinePoints, go as computeLinearRegression, gp as computePageCount, gq as computePieLayout, gr as computePieSlicePath, gs as computePieSlices, gt as computePlotLayout, gu as computeRSquared, gv as computeRadarPoints, gw as computeResizeHandleBoxes, gx as computeRotateHandleBox, gy as computeScatterDots, gz as computeScatterXDomain, gA as computeSelectionBoxes, gB as computeSingleSelected, gC as computeSlideIndices, gD as computeSnap, gE as computeStackedBarRects, gF as computeStackedValueRange, gG as computeTrendlinePrimitives, gH as computeValueRange, gI as convertOmmlToMathMl, gJ as copyFormatFromElement, gK as countAccessibilityIssues, gL as countAnnotationStrokes, gM as createAngularAiBridge, gN as createCustomShow, gO as createImageElementFromFile, gP as createSwipeDismissDrag, gQ as createWebrtcBundle, gR as createWebsocketBundle, gS as cssObjectToStyleMap, gT as currentColorScheme, gU as currentLayout, gV as currentStyle, gW as defaultCssVars, gX as defaultRadius, gY as defaultThemeColors, gZ as deleteElementsByIds, g_ as deleteRecoveryVersion, g$ as demoteNode, h0 as deriveModel3DBlobUrl, h1 as derivePresenceList, h2 as describeCollaborationShellState, h3 as describeSmartArtBounds, h4 as disableGlowPatch, h5 as disableInnerShadowPatch, h6 as disableOuterShadowPatch, h7 as disableReflectionPatch, h8 as disableSoftEdgePatch, h9 as duplicateElementById, ha as durationOf, hb as effectsStateOf, hc as enableGlowPatch, hd as enableInnerShadowPatch, he as enableOuterShadowPatch, hf as enableReflectionPatch, hg as enableSoftEdgePatch, hh as encodeGif, hi as endShowMediaCleanup, hj as estimatePageCount, hk as exitPresentationFullscreen, hl as exportAiChatLogs, hm as extractPathPoints, hn as eyedropperAvailable, ho as fillColorOf, hp as findInSlides, hq as findOwningSlideIndex, hr as findSlideIndexByElementId, hs as firstVisibleIndex, ht as fitPolynomial, hu as fitZoom, hv as focusTargetChips, hw as fontMimeForFormat, hx as fontSizeOf, hy as forgetSessionDeck, hz as formatAxisValue, hA as formatBytes, hB as formatCursorLabel, hC as formatElapsed, hD as formatFileSize, hE as formatInlineListStyle, hF as formatPropertyDate, hG as formatTime, hH as fpsToFrameIntervalMs, hI as generateBroadcastRoomId, hJ as generateCommentId, hK as generateCustomShowId, hL as generatePressureCircles, hM as generateTicks, hN as getCinematicTransitionAnimations, hO as getClrChangeParams, hP as getContainerStyle, hQ as getDuotoneFilterDef, hR as getEffectSoundAsset, hS as getEffectSoundState, hT as getImageSrc, hU as getLocalStorageUsageSummary, hV as getOleAriaLabel, hW as getOleBadgeLabel, hX as getOleDisplayName, hY as getOleDownloadFileName, hZ as getOleTypeColor, h_ as getOleTypeLabel, h$ as getP14TransitionAnimations, i0 as getPasswordStrength, i1 as getPatternSvg, i2 as getPlaceholderStyle, i3 as getRecoveryVersions, i4 as getResolvedShapeClipPath, i5 as getResolvedShapeClipPathFor, i6 as getSessionTabId, i7 as getShapeFillStrokeStyle, i8 as getSlideBackgroundStyle, i9 as getSlideTransitionAnimations, ia as getSmartArtNodeBounds, ib as getSpeechRecognitionCtor, ic as getTextBlockStyle, id as getTextWarp, ie as getTouchDistance, ig as getWarpCategory, ih as getWarpPath, ii as gradientStateFromStyle, ij as gradientStateOf, ik as gradientStatePatch, il as gradientStopColorCommitPatch, im as gridColumns, io as groupIssuesBySeverity, ip as hasAnimation, iq as hasCopyableFormat, ir as hasExistingLink, is as hasExitedFullscreen, it as hasGradientFill, iu as hasPressureVariation, iv as hasVisibleSlideAfter, iw as headerLabel, ix as imageDimensions, iy as inkViewBox, iz as insertColumn, iA as insertRow, iB as interpolateWidth, iC as isAudienceTab, iD as isBold, iE as isBrowserOpenableMime, iF as isChildNode, iG as isElementInteractive, iH as isInjectableUrl, iI as isItalic, iJ as isLegacyBinaryPresentation, iK as isPpactionUrl, iL as isPresenterMessage, iM as isSigned, iN as isSupportedPresentationFile, iO as isTextElement, iP as isTwoTableFocus, iQ as isUnderline, iR as isUrlSafe, iS as isValidRoomId, iT as isViewportBackgroundPressTarget, iU as isZoomActivationKey, iV as issueTrackKey, iW as issueTypeLabel, iX as keyToLabel, iY as lastVisibleIndex, iZ as latexToMathml, i_ as layoutConnectorPaints, i$ as layoutNodeLabels, j0 as linePointsToSvgString, j1 as lineSpacingPatch, j2 as loadAudienceContent, j3 as loadSessionDeck, j4 as mediaFallbackFor, j5 as mediaSurfaceFor, j6 as mergeCaptionResults, j7 as mergeDown, j8 as mergeRight, j9 as mergeSelection, ja as mergeTablesDirective, jb as moveElementBy, jc as moveNodeDown, jd as moveNodeUp, je as msToFrameDelayCs, jf as narrowToCircle, jg as narrowToPolygon, jh as narrowToRect, ji as newChartElement, jj as newEquationElement, jk as newPresetShapeElement, jl as newShapeElement, jm as newSmartArtElement, jn as newTableElement, jo as newTextElement, jp as nextVisibleIndex, jq as nodeBold, jr as nodeEditBox, js as nodeFillColor, jt as nodeFontColor, ju as nodeIdFromKey, jv as nodeItalic, jw as nodeStyle, jx as normalizeFontFormat, jy as normalizeSlidesPerPage, jz as normalizeValue, jA as numFromEvent, jB as ommlToMathml, jC as ooxmlDashToCssBorderStyle, jD as openNativeEyeDropper, jE as overallStatus, jF as paletteColor, jG as parseAudienceNonce, jH as parseNodeTextarea, jI as partitionSlides, jJ as patchChartData, jK as patchChartStyle, jL as patchTableData, jM as patchTextStyle, jN as patternPresetOptions, jO as pendingElementStyles, jP as pickColorByClickFallback, jQ as pickFile, jR as pickSupportedMimeType, jS as planGifFrames, jT as planVideoSegments, jU as pointFromPointerEvent, jV as pointsToSvgPathD, jW as presenceToCursors, jX as presentationBaseName, jY as presentationStageStyle, jZ as presenterTimerProgress, j_ as presetByLayout, j$ as presetsForCategory, k0 as pressuresToWidths, k1 as prevVisibleIndex, k2 as projectDrawingShapes, k3 as promoteNode, k4 as provideViewerTheme, k5 as radarAngle, k6 as radarRingPoints, k7 as readAsDataUrl, k8 as recordWebm, k9 as registerCrossSlideAudio, ka as rememberSessionDeck, kb as removeAnimation, kc as removeCategory, kd as removeColumn, ke as removeCommentFromList, kf as removeElementAnimation, kg as removeGradientStopPatch, kh as removeNode, ki as removeRow, kj as removeSeries, kk as renderToCanvas, kl as reorderAnimationDown, km as reorderAnimationUp, kn as replaceInSlides, ko as replaceMatch, kp as requestPresentationFullscreen, kq as resizeElement, kr as resolveCaptionTracks, ks as resolveChartKind, kt as resolveDirection, ku as resolveDirection8, kv as resolveFontVariant, kw as resolveHyperlinkHref, kx as resolveInteractiveElementId, ky as resolveMediaSrc, kz as resolveOleType, kA as resolveOrientation, kB as resolveParagraphBullet, kC as resolvePresenterNotes, kD as resolveProfileInitial, kE as resolveRegionCode, kF as resolveRibbonCanGroup, kG as resolveSlideAutoAdvanceMs, kH as resolveSlideTransition, kI as resolveSmartArtPalette, kJ as resolveThemeCatalogEntry, kK as resolveTransitionDuration, kL as resolveTransitionDurationMs, kM as resolveWheelSpokeCount, kN as restoreSessionDeck, kO as revealedElementStyles, kP as routeOrthogonalConnector, kQ as rowStyle, kR as rulerDragToGuidePosition, kS as rulerHighlight, kT as rulerStripTicks, kU as sampleColorFromSlide, kV as sanitizeColor, kW as sanitizeSlideIndex, kX as sanitizeUserName, kY as saveViewerProfile, kZ as savedPresentationFileName, k_ as scanAvailableFonts, k$ as searchSlides, l0 as seedBroadcastFields, l1 as seedHyperlinkDraft, l2 as seedPropertiesDraft, l3 as seedShareFields, l4 as segmentFrameCount, l5 as selectValue, l6 as sendBackward, l7 as sendToBack, l8 as sequentialColorScale, l9 as serializeWriteBack, la as seriesColor, lb as setAfterAnimation, lc as setAfterAnimationColor, ld as setAnimationEmphasis, le as setAnimationEntrance, lf as setAnimationExit, lg as setAxis, lh as setAxisLogScale, li as setAxisTitleStyle, lj as setCategoryLabel, lk as setCellText, ll as setColorScheme, lm as setDataLabels, ln as setDataPointExplosion, lo as setDataPointFill, lp as setDataPointLabel, lq as setDataPointMarker, lr as setDelay, ls as setDirection, lt as setDuration, lu as setEffectSound, lv as setEffectStockSound, lw as setElementPosition, lx as setGridlineStyle, ly as setLayout, lz as setLegend, lA as setNodeStyle, lB as setNodeText, lC as setRepeatCount, lD as setRepeatMode, lE as setSequence, lF as setSeriesChartType, lG as setSeriesColor, lH as setSeriesErrorBars, lI as setSeriesMarker, lJ as setSeriesName, lK as setSeriesTrendline, lL as setSeriesValue, lM as setStyle, lN as setTimingCurve, lO as setTitle, lP as setTrigger, lQ as setTriggerShapeId, lR as shapeStylePatch, lS as sheetAfterNavigate, lT as shouldBlockClickAdvance, lU as shouldUseSvgWarp, lV as showDirectionPicker, lW as showsTemplateAffordance, lX as signatureCountLabel, lY as signatureKey, lZ as signatureTimestamp, l_ as signerName, l$ as slideDiffStatusLabel, m0 as slideNumberOf, m1 as slidesWithReappliedLayout, m2 as smartArtNodes, m3 as smartArtPaletteColour, m4 as snapToGridStep, m5 as splitCursorCell, m6 as splitMergedCell, m7 as statusKind, m8 as statusLabel, m9 as storeAudienceContent, ma as stringFromEvent, mb as strokeColorOf, mc as strokeToInkElement, md as strokeWidthOf, me as styleShadowFilter, mf as surfaceColor, mg as textAdvancedPatch, mh as textAdvancedStateFromStyle, mi as textAdvancedStateOf, mj as textColorOf, mk as textDirectionPatch, ml as textFontSizePatch, mm as textStyleOf, mn as textStylePatch, mo as themeStyle, mp as themeToCssVars, mq as thumbnailHeight, mr as thumbnailZoom, ms as toggleCommentResolvedInList, mt as toggleNodeBold, mu as toggleNodeItalic, mv as toggleSheet, mw as topLevelNodeCount, mx as transformSelectedTextCase, my as translationsEn, mz as updateElementById, mA as updateGlowPatch, mB as updateGradientStopPatch, mC as updateInnerShadowPatch, mD as updateOuterShadowPatch, mE as updateReflectionPatch, mF as vAlignPatch, mG as validatePassword, mH as validatePrintSettings, mI as validateRoomId, mJ as valueToY, mK as vermilionDarkColors, mL as vermilionDarkTheme, mM as vermilionLightColors, mN as vermilionLightTheme, mO as vermilionRadius, mP as waypointsToPathD, mQ as withManualLayouts, mR as worstStatus, mS as zoomTargetSlideIndex } from './pptx-angular-viewer-pptx-angular-viewer-D25mA21c.mjs';
|
|
2
2
|
export { SWITCHABLE_LAYOUT_TYPES, addSmartArtNode, addSmartArtNodeAsChild, chartDataChangeType, chartDataUpdatePoint, demoteSmartArtNode, formatAutoNumberMarker as formatAutoNumber, groupElements, promoteSmartArtNode, removeSmartArtNode, reorderSmartArtNode, switchSmartArtLayout, ungroupElements, updateSmartArtNodeText } from 'pptx-viewer-core';
|
|
3
3
|
//# sourceMappingURL=pptx-angular-viewer.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pptx-angular-viewer",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Angular PowerPoint viewer and editor component: render, edit, and export PPTX slides in the browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"jspdf": "^4.2.1",
|
|
92
92
|
"jszip": "^3.10.2",
|
|
93
93
|
"opentype.js": "^2.0.0",
|
|
94
|
-
"pptx-viewer-core": "^4.0
|
|
94
|
+
"pptx-viewer-core": "^4.1.0",
|
|
95
95
|
"pptx-viewer-mcp": "^2.5.5",
|
|
96
96
|
"tslib": "^2.8.1",
|
|
97
97
|
"zod": ">=4.4.3 <4.5.3"
|