pptx-angular-viewer 3.2.3 → 3.3.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 +11 -0
- package/fesm2022/{pptx-angular-viewer-chat-history-idb-CTv3rQal.mjs → pptx-angular-viewer-chat-history-idb-DXb-O2ta.mjs} +2 -2
- package/fesm2022/{pptx-angular-viewer-chat-history-idb-CTv3rQal.mjs.map → pptx-angular-viewer-chat-history-idb-DXb-O2ta.mjs.map} +1 -1
- package/fesm2022/{pptx-angular-viewer-pptx-angular-viewer-D4-vQO15.mjs → pptx-angular-viewer-pptx-angular-viewer-D47r9ihQ.mjs} +6096 -1858
- package/fesm2022/{pptx-angular-viewer-pptx-angular-viewer-D4-vQO15.mjs.map → pptx-angular-viewer-pptx-angular-viewer-D47r9ihQ.mjs.map} +1 -1
- package/fesm2022/pptx-angular-viewer.mjs +1 -1
- package/package.json +2 -2
- package/types/pptx-angular-viewer.d.ts +318 -126
- package/types/pptx-angular-viewer.d.ts.map +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as pptx_viewer_core from 'pptx-viewer-core';
|
|
2
|
-
import { PptxThemePreset, PptxSlide, PptxElement, ShapeStyle, PptxTextWarpPreset, XmlObject,
|
|
2
|
+
import { PptxThemePreset, PptxSlide, PptxElement, ShapeStyle, PptxTextWarpPreset, XmlObject, PptxChartSeries, PptxChartLegendTextStyle, PptxChartData, PptxChartDataLabelPosition, PptxChartType, PptxElementAnimation, PptxAnimationPreset, PptxAnimationSequence, PptxAnimationTrigger, PptxAnimationTimingCurve, PptxAnimationRepeatMode, PptxAnimationDirection, PptxAfterAnimationAction, ParsedTableStyleMap, PptxThemeColorScheme, PptxThemeFontScheme, TablePptxElement, PptxSection, OlePptxElement, TextSegment, TextStyle, PptxTransitionType, PptxSlideTransition, SmartArtLayoutType, SmartArtColorScheme, PptxSmartArtChrome, PptxSmartArtDrawingShape, SmartArtStyle, PptxSmartArtData, PlaceholderDefaults, PptxEmbeddedFont, SmartArtLayout, AccessibilityIssueSeverity, AccessibilityIssue, AccessibilityIssueType, AccessibilityCheckOptions, ElementActionType, InkPptxElement, PptxComment, PptxChartBarDirection, PptxTheme, PptxHandler, PptxData, PptxHeaderFooter, PptxCustomShow, PptxSlideMaster, PptxNotesMaster, PptxHandoutMaster, PptxPresentationProperties, PptxViewProperties, PptxCoreProperties, PptxAppProperties, PptxThemeOption, PptxCustomProperty, PptxTagCollection, ParsedSignature, PptxSaveFormat, PptxTableCell, PptxTableCellStyle, PptxTableRow, PptxTableData, MasterViewTab, SvgExportOptions, PptxGridSpacing, RenderedNode, RenderedCircleNode, RenderedPolygonNode, RenderedRectNode, SmartArtLayoutResult, Model3DPptxElement, ZoomPptxElement, ChartPptxElement, MediaPptxElement, SmartArtPptxElement, PptxAnimationTimelineAnchor, MaterialPresetType, Text3DStyle, BevelPresetType, PptxChartDataLabelOptions, PptxChartAxisType, PptxChartAxisFormatting, PptxChartMarker, PptxChartDataPoint, PptxChartTrendline, PptxChartErrBars, PptxTextStyleLevels, SignatureStatus, ElementAction, PptxImageEffects, MediaBookmark, ColorMapAliasKey, ChartAxisEdit, ChartDataPointLabelEdit, PptxChartLegendPosition, PptxChartStyle, ChartAxisTitleStyleEdit, PptxChartMarkerSymbol, ChartGridlineStyleEdit, PptxSmartArtNode, PptxSmartArtNodeStyle, PptxLayoutPreview, MediaCaptionTrack, PptxMediaType } from 'pptx-viewer-core';
|
|
3
3
|
export { GroupResult, SWITCHABLE_LAYOUT_TYPES, UngroupResult, addSmartArtNode, addSmartArtNodeAsChild, chartDataChangeType, chartDataUpdatePoint, demoteSmartArtNode, formatAutoNumberMarker as formatAutoNumber, groupElements, promoteSmartArtNode, removeSmartArtNode, reorderSmartArtNode, switchSmartArtLayout, ungroupElements, updateSmartArtNodeText } from 'pptx-viewer-core';
|
|
4
4
|
import * as _angular_core from '@angular/core';
|
|
5
5
|
import { Signal, WritableSignal, OnDestroy, OnInit, AfterViewInit, OnChanges, SimpleChanges, InjectionToken, Provider } from '@angular/core';
|
|
@@ -1068,51 +1068,11 @@ interface EquationTemplate {
|
|
|
1068
1068
|
}
|
|
1069
1069
|
|
|
1070
1070
|
/**
|
|
1071
|
-
* chart-view-model.ts
|
|
1071
|
+
* chart-view-model-scale.ts: palette, value-range and axis-value helpers of
|
|
1072
|
+
* the chart engine. Split out of `chart-view-model.ts`, which re-exports
|
|
1073
|
+
* everything here; see that module's header for the palette caveat.
|
|
1072
1074
|
*
|
|
1073
|
-
*
|
|
1074
|
-
* `ChartViewModel` of pure `SvgPrimitive` descriptors (rect / path / polyline /
|
|
1075
|
-
* circle / line / polygon / text). Each binding (React / Vue / Angular) iterates
|
|
1076
|
-
* that descriptor list to emit its own SVG; only the EMISSION is per-framework;
|
|
1077
|
-
* all geometry / data / palette / layout math lives here.
|
|
1078
|
-
*
|
|
1079
|
-
* Originally extracted from the Angular `chart-renderer-helpers.ts`, which was
|
|
1080
|
-
* itself ported from the React `viewer/utils/chart-*.tsx` renderers. Sibling
|
|
1081
|
-
* modules (`chart-combo-stock`, `chart-surface-treemap`, `chart-waterfall-map`,
|
|
1082
|
-
* `chart-overlays`) build the advanced chart kinds and overlays on top of the
|
|
1083
|
-
* primitives and helpers defined here.
|
|
1084
|
-
*
|
|
1085
|
-
* Note: this engine's palette helpers (`seriesColor(series, index, palette)`,
|
|
1086
|
-
* `paletteColor(index, palette)`) and `DEFAULT_PALETTE` (Office accent set)
|
|
1087
|
-
* deliberately differ from the style-id-aware variants in `chart-helpers.ts`
|
|
1088
|
-
* (`seriesColor(series, index, styleId?, palette?)`, `DEFAULT_CHART_PALETTE`,
|
|
1089
|
-
* tailwind set). They are NOT re-exported through the barrel to avoid name
|
|
1090
|
-
* collisions; consume them from this module directly.
|
|
1091
|
-
*
|
|
1092
|
-
* Supported chart kinds (viewer-first):
|
|
1093
|
-
* bar / column (clustered, stacked, percentStacked) -> bar rects
|
|
1094
|
-
* line / line3D -> polyline + dots
|
|
1095
|
-
* area / area3D -> polygon fill + polyline
|
|
1096
|
-
* pie / doughnut / pie3D / ofPie -> arc paths
|
|
1097
|
-
* scatter -> circle dots
|
|
1098
|
-
* bubble -> circle dots sized by each series' own c:bubbleSize
|
|
1099
|
-
* radar / radar3D -> polar polygons + spokes
|
|
1100
|
-
* combo / stock / surface / treemap / waterfall / regionMap -> sibling modules
|
|
1101
|
-
* funnel / sunburst / histogram / boxWhisker -> sibling modules
|
|
1102
|
-
*
|
|
1103
|
-
* Supported chart kinds (viewer-first):
|
|
1104
|
-
* bar / column (clustered, stacked, percentStacked) -> bar rects
|
|
1105
|
-
* line / line3D -> polyline + dots
|
|
1106
|
-
* area / area3D -> polygon fill + polyline
|
|
1107
|
-
* pie / doughnut / pie3D / ofPie -> arc paths
|
|
1108
|
-
* scatter -> circle dots
|
|
1109
|
-
* bubble -> circle dots sized by each series' own c:bubbleSize
|
|
1110
|
-
* radar / radar3D -> polar polygons + spokes
|
|
1111
|
-
*
|
|
1112
|
-
* Deferred (fallback box rendered instead):
|
|
1113
|
-
* bar3D (complex 3-D shading), secondary axes.
|
|
1114
|
-
*
|
|
1115
|
-
* @module chart-view-model
|
|
1075
|
+
* @module chart-view-model-scale
|
|
1116
1076
|
*/
|
|
1117
1077
|
|
|
1118
1078
|
/**
|
|
@@ -1185,6 +1145,16 @@ declare function formatAxisValue(val: number, formatCode?: string): string;
|
|
|
1185
1145
|
* to just the value when neither is.
|
|
1186
1146
|
*/
|
|
1187
1147
|
declare function buildMarkTooltip(seriesName: string | undefined, categoryLabel: string | undefined, value: number, numberFormat?: string): string;
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* chart-view-model-types.ts: the framework-neutral descriptor types of the
|
|
1151
|
+
* chart engine (plot layout, interactive part refs, SVG primitives, legend
|
|
1152
|
+
* entries and the `ChartViewModel` every binding projects into its own SVG).
|
|
1153
|
+
* Split out of `chart-view-model.ts`, which re-exports everything here.
|
|
1154
|
+
*
|
|
1155
|
+
* @module chart-view-model-types
|
|
1156
|
+
*/
|
|
1157
|
+
|
|
1188
1158
|
/** Bounding-box of the chart's usable plot area in SVG coordinates. */
|
|
1189
1159
|
interface PlotLayout {
|
|
1190
1160
|
svgWidth: number;
|
|
@@ -1207,7 +1177,6 @@ interface PlotLayoutOptions {
|
|
|
1207
1177
|
hasDataTable?: boolean;
|
|
1208
1178
|
dataTableRowCount?: number;
|
|
1209
1179
|
}
|
|
1210
|
-
declare function computePlotLayout(elementWidth: number, elementHeight: number, chartData: PptxChartData, hasAxes: boolean, options?: PlotLayoutOptions): PlotLayout;
|
|
1211
1180
|
/**
|
|
1212
1181
|
* Reference to an interactive chart sub-part, carried by the primitives that
|
|
1213
1182
|
* represent data marks (bars, dots, slices, series lines). Bindings use it to
|
|
@@ -1405,6 +1374,77 @@ interface ChartViewModel {
|
|
|
1405
1374
|
*/
|
|
1406
1375
|
userShapes?: SvgPrimitive[];
|
|
1407
1376
|
}
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* chart-view-model-bars.ts: bar / column rectangle and line-point geometry of
|
|
1380
|
+
* the chart engine. Split out of `chart-view-model.ts`, which re-exports
|
|
1381
|
+
* everything here.
|
|
1382
|
+
*
|
|
1383
|
+
* @module chart-view-model-bars
|
|
1384
|
+
*/
|
|
1385
|
+
|
|
1386
|
+
interface BarRect {
|
|
1387
|
+
x: number;
|
|
1388
|
+
y: number;
|
|
1389
|
+
w: number;
|
|
1390
|
+
h: number;
|
|
1391
|
+
fill: string;
|
|
1392
|
+
/** Source series index, carried so plot builders can tag interactive parts. */
|
|
1393
|
+
seriesIndex?: number;
|
|
1394
|
+
/** Source category index, carried so plot builders can tag interactive parts. */
|
|
1395
|
+
pointIndex?: number;
|
|
1396
|
+
}
|
|
1397
|
+
declare function computeBarRects(series: ReadonlyArray<PptxChartSeries>, catCount: number, layout: PlotLayout, range: ValueRange, colorPalette: readonly string[] | undefined): BarRect[];
|
|
1398
|
+
declare function computeStackedBarRects(series: ReadonlyArray<PptxChartSeries>, catCount: number, layout: PlotLayout, range: ValueRange, colorPalette: readonly string[] | undefined): BarRect[];
|
|
1399
|
+
interface LinePoint {
|
|
1400
|
+
x: number;
|
|
1401
|
+
y: number;
|
|
1402
|
+
}
|
|
1403
|
+
declare function computeLinePoints(values: ReadonlyArray<number>, catCount: number, layout: PlotLayout, range: ValueRange): LinePoint[];
|
|
1404
|
+
declare function linePointsToSvgString(points: ReadonlyArray<LinePoint>): string;
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* chart-view-model-build.ts: `buildChartViewModel` and the post-passes every
|
|
1408
|
+
* chart kind's view-model goes through (legend entries, area fills, user-shape
|
|
1409
|
+
* overlay, manual layouts). Split out of `chart-view-model.ts`, which
|
|
1410
|
+
* re-exports everything here.
|
|
1411
|
+
*
|
|
1412
|
+
* @module chart-view-model-build
|
|
1413
|
+
*/
|
|
1414
|
+
|
|
1415
|
+
declare function buildChartViewModel(element: PptxElement): ChartViewModel;
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* chart-view-model-kinds.ts: the supported chart kinds, their preserveAspectRatio
|
|
1419
|
+
* and the chart-type to kind resolver. Split out of `chart-view-model.ts`,
|
|
1420
|
+
* which re-exports everything here.
|
|
1421
|
+
*
|
|
1422
|
+
* @module chart-view-model-kinds
|
|
1423
|
+
*/
|
|
1424
|
+
type SupportedChartKind = 'bar' | 'line' | 'area' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'combo' | 'stock' | 'surface' | 'treemap' | 'waterfall' | 'regionMap' | 'funnel' | 'sunburst' | 'histogram' | 'boxWhisker';
|
|
1425
|
+
/**
|
|
1426
|
+
* The `preserveAspectRatio` a chart kind's `<svg>` must carry.
|
|
1427
|
+
*
|
|
1428
|
+
* Cartesian charts stretch to fill the element box (`none`); the kinds whose
|
|
1429
|
+
* geometry is round or laid out on a fixed-ratio canvas (pie, doughnut, radar,
|
|
1430
|
+
* and the region map's 1000x500 world outline) keep their proportions instead.
|
|
1431
|
+
*
|
|
1432
|
+
* A pure decision function because all five bindings need the same answer and
|
|
1433
|
+
* four of them had written their own copy of the `kind === 'pie' || ...` chain;
|
|
1434
|
+
* one of the copies (React's) disagreed with the rest.
|
|
1435
|
+
*/
|
|
1436
|
+
declare function chartPreserveAspectRatio(kind: SupportedChartKind | 'unsupported'): 'none' | 'xMidYMid meet';
|
|
1437
|
+
declare function resolveChartKind(chartType: string): SupportedChartKind | 'unsupported';
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* chart-view-model-layout.ts: plot-area layout and chart chrome (gridlines,
|
|
1441
|
+
* axis / category labels, legend placement) of the chart engine. Split out of
|
|
1442
|
+
* `chart-view-model.ts`, which re-exports everything here.
|
|
1443
|
+
*
|
|
1444
|
+
* @module chart-view-model-layout
|
|
1445
|
+
*/
|
|
1446
|
+
|
|
1447
|
+
declare function computePlotLayout(elementWidth: number, elementHeight: number, chartData: PptxChartData, hasAxes: boolean, options?: PlotLayoutOptions): PlotLayout;
|
|
1408
1448
|
declare const GRIDLINE_COLOR = "#e2e8f0";
|
|
1409
1449
|
declare const AXIS_LABEL_COLOR = "#64748b";
|
|
1410
1450
|
declare const ZERO_LINE_COLOR = "#94a3b8";
|
|
@@ -1415,7 +1455,12 @@ declare const ZERO_LINE_COLOR = "#94a3b8";
|
|
|
1415
1455
|
* Exported for the transposed (horizontal-bar) axis builder.
|
|
1416
1456
|
*/
|
|
1417
1457
|
declare function axisTickValues(range: ValueRange): number[];
|
|
1418
|
-
declare function buildGridlinesAndLabels(range: ValueRange, layout: PlotLayout
|
|
1458
|
+
declare function buildGridlinesAndLabels(range: ValueRange, layout: PlotLayout,
|
|
1459
|
+
/**
|
|
1460
|
+
* `false` keeps the tick labels but draws no gridlines: a value axis whose
|
|
1461
|
+
* `c:majorGridlines` is absent (see `shouldRenderMajorGridlines`).
|
|
1462
|
+
*/
|
|
1463
|
+
showMajorGridlines?: boolean): {
|
|
1419
1464
|
gridlines: SvgLine[];
|
|
1420
1465
|
axisLabels: SvgText[];
|
|
1421
1466
|
};
|
|
@@ -1427,25 +1472,80 @@ declare function buildLegend(series: ReadonlyArray<PptxChartSeries>, colorPalett
|
|
|
1427
1472
|
legendY: number;
|
|
1428
1473
|
legendAnchor: 'start' | 'middle' | 'end';
|
|
1429
1474
|
};
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1475
|
+
|
|
1476
|
+
/**
|
|
1477
|
+
* chart-manual-layout.ts: pure conversion of `c:layout/c:manualLayout`
|
|
1478
|
+
* (CT_ManualLayout) into pixel rectangles for the chart engine.
|
|
1479
|
+
*
|
|
1480
|
+
* Core parses a chart's manual title / plot-area / legend placement into
|
|
1481
|
+
* `chartData.layouts` (see `PptxChartLayouts`), but until now the view-model
|
|
1482
|
+
* never read it, so a chart whose author dragged the legend into a corner or
|
|
1483
|
+
* shrank the plot area rendered with the automatic layout in every binding.
|
|
1484
|
+
*
|
|
1485
|
+
* ECMA-376 21.2.2.95 (manualLayout) semantics, all values fractions of the
|
|
1486
|
+
* chart (element) width / height:
|
|
1487
|
+
*
|
|
1488
|
+
* - `xMode` / `yMode` `edge`: `x` / `y` is the absolute position of the
|
|
1489
|
+
* element's left / top edge. `factor` (the default when absent): `x` / `y`
|
|
1490
|
+
* is an offset from the element's automatic position.
|
|
1491
|
+
* - `wMode` / `hMode` `factor` (the default): `w` / `h` is the element's
|
|
1492
|
+
* width / height. `edge`: `w` / `h` is the position of its right / bottom
|
|
1493
|
+
* edge, so the size is `edge - left`.
|
|
1494
|
+
*
|
|
1495
|
+
* Every field falls back to the automatic value on its own: PowerPoint
|
|
1496
|
+
* commonly writes only `x`/`y` for a moved title or legend, and only that
|
|
1497
|
+
* pair should override.
|
|
1498
|
+
*/
|
|
1499
|
+
|
|
1500
|
+
/** The chart frame the fractions are measured against. */
|
|
1501
|
+
interface ChartFrameSize {
|
|
1502
|
+
width: number;
|
|
1503
|
+
height: number;
|
|
1446
1504
|
}
|
|
1447
|
-
|
|
1448
|
-
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* chart-view-model-manual.ts: the `c:manualLayout` post-pass for the chart
|
|
1508
|
+
* title and legend.
|
|
1509
|
+
*
|
|
1510
|
+
* The plot area's manual layout is honoured where the plot rect is computed
|
|
1511
|
+
* (`computePlotLayout`, `computePieLayout`), which every kind's builder goes
|
|
1512
|
+
* through. Title and legend anchors, however, are stamped by each builder
|
|
1513
|
+
* (cartesian, combo, pie, radar, surface, ...) from its own defaults, so the
|
|
1514
|
+
* manual placement is applied once here, after the builder has produced its
|
|
1515
|
+
* automatic anchor: that automatic anchor is what a `factor`-mode offset is
|
|
1516
|
+
* relative to.
|
|
1517
|
+
*
|
|
1518
|
+
* @module chart-view-model-manual
|
|
1519
|
+
*/
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* Re-anchor a finished view-model's title and legend from
|
|
1523
|
+
* `chartData.layouts`. Returns the view-model unchanged when the chart
|
|
1524
|
+
* declares no manual title / legend layout, or the region is not shown.
|
|
1525
|
+
*
|
|
1526
|
+
* @param frame - The chart element's box; manual layouts are fractions of it.
|
|
1527
|
+
*/
|
|
1528
|
+
declare function withManualLayouts(vm: ChartViewModel, chartData: Pick<PptxChartData, 'layouts'>, frame: ChartFrameSize): ChartViewModel;
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* chart-view-model-pie.ts: the fallback (unsupported / empty) and pie /
|
|
1532
|
+
* doughnut view-model builders. Split out of `chart-view-model.ts`, which
|
|
1533
|
+
* re-exports `buildFallbackViewModel`.
|
|
1534
|
+
*
|
|
1535
|
+
* @module chart-view-model-pie
|
|
1536
|
+
*/
|
|
1537
|
+
|
|
1538
|
+
declare function buildFallbackViewModel(width: number, height: number, label: string): ChartViewModel;
|
|
1539
|
+
declare function buildPieViewModel(element: PptxElement, chartData: PptxChartData, categoryLabels: ReadonlyArray<string>, isDoughnut: boolean): ChartViewModel;
|
|
1540
|
+
|
|
1541
|
+
/**
|
|
1542
|
+
* chart-view-model-points.ts: pie / doughnut, scatter, bubble and radar
|
|
1543
|
+
* geometry of the chart engine. Split out of `chart-view-model.ts`, which
|
|
1544
|
+
* re-exports everything here.
|
|
1545
|
+
*
|
|
1546
|
+
* @module chart-view-model-points
|
|
1547
|
+
*/
|
|
1548
|
+
|
|
1449
1549
|
interface PieSliceGeometry {
|
|
1450
1550
|
d: string;
|
|
1451
1551
|
midAngle: number;
|
|
@@ -1508,22 +1608,21 @@ interface RadarPoint {
|
|
|
1508
1608
|
declare function computeRadarPoints(values: ReadonlyArray<number>, maxVal: number, radius: number, cx: number, cy: number, catCount: number): RadarPoint[];
|
|
1509
1609
|
/** Points string for a radar gridline ring at radius `rr`. */
|
|
1510
1610
|
declare function radarRingPoints(cx: number, cy: number, rr: number, catCount: number): string;
|
|
1511
|
-
|
|
1611
|
+
|
|
1512
1612
|
/**
|
|
1513
|
-
*
|
|
1613
|
+
* chart-view-model-radar.ts: the radar / spider view-model builder. Split out
|
|
1614
|
+
* of `chart-view-model.ts`.
|
|
1514
1615
|
*
|
|
1515
|
-
*
|
|
1516
|
-
* geometry is round or laid out on a fixed-ratio canvas (pie, doughnut, radar,
|
|
1517
|
-
* and the region map's 1000x500 world outline) keep their proportions instead.
|
|
1518
|
-
*
|
|
1519
|
-
* A pure decision function because all five bindings need the same answer and
|
|
1520
|
-
* four of them had written their own copy of the `kind === 'pie' || ...` chain;
|
|
1521
|
-
* one of the copies (React's) disagreed with the rest.
|
|
1616
|
+
* @module chart-view-model-radar
|
|
1522
1617
|
*/
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1618
|
+
|
|
1619
|
+
/**
|
|
1620
|
+
* Build the view-model for a radar / spider chart. Polar, so it has no
|
|
1621
|
+
* cartesian gridlines/axes; ring + spoke geometry and the data polygons all
|
|
1622
|
+
* live in `primitives`, perimeter category labels in `categoryLabels`.
|
|
1623
|
+
* Mirrors React's `renderRadarChart` (chart-radar.tsx).
|
|
1624
|
+
*/
|
|
1625
|
+
declare function buildRadarViewModel(element: PptxElement, chartData: PptxChartData, categoryLabels: ReadonlyArray<string>): ChartViewModel;
|
|
1527
1626
|
|
|
1528
1627
|
/** One positioned legend entry: swatch origin + colour + label + resolved text style. */
|
|
1529
1628
|
interface ChartLegendLayoutItem {
|
|
@@ -1560,8 +1659,13 @@ type ChartDisplayUnitsValue = '' | 'hundreds' | 'thousands' | 'tenThousands' | '
|
|
|
1560
1659
|
type ChartTickLabelPosition = 'nextTo' | 'high' | 'low' | 'none';
|
|
1561
1660
|
/** Data-label content flags (chart-level `c:show*`). */
|
|
1562
1661
|
type ChartDataLabelContentKey = 'showValue' | 'showCategory' | 'showSeriesName' | 'showPercent' | 'showLegendKey';
|
|
1563
|
-
/**
|
|
1564
|
-
|
|
1662
|
+
/**
|
|
1663
|
+
* Data-label position values (empty string = type default). The non-empty
|
|
1664
|
+
* members are exactly the nine `c:dLblPos` schema values core models as
|
|
1665
|
+
* {@link PptxChartDataLabelPosition}; the select used to offer five of them,
|
|
1666
|
+
* so a line/scatter chart's "Above" / "Left" labels could not be authored.
|
|
1667
|
+
*/
|
|
1668
|
+
type ChartDataLabelPositionValue = '' | PptxChartDataLabelPosition;
|
|
1565
1669
|
/** Trendline regression types (empty string = none). */
|
|
1566
1670
|
type ChartTrendlineValue = '' | 'linear' | 'exponential' | 'logarithmic' | 'polynomial' | 'power' | 'movingAvg';
|
|
1567
1671
|
/** Error-bar value calculation types (empty string = none). */
|
|
@@ -2543,9 +2647,16 @@ interface InlineEditRect {
|
|
|
2543
2647
|
* return a `Map` keyed by element `id` describing the *new* position(s) for the
|
|
2544
2648
|
* elements that need to move. Elements that already sit on the target edge (or
|
|
2545
2649
|
* the two outer-most elements during distribution) are still included with
|
|
2546
|
-
* their unchanged coordinate so callers can apply the whole map uniformly
|
|
2650
|
+
* their unchanged coordinate so callers can apply the whole map uniformly; the
|
|
2547
2651
|
* map only ever contains the axis that the operation touches.
|
|
2548
2652
|
*
|
|
2653
|
+
* The reference box the selection is aligned against is either the union of
|
|
2654
|
+
* the selected boxes (PowerPoint's "Align Selected Objects") or the slide
|
|
2655
|
+
* itself ("Align to Slide"). PowerPoint defaults to the slide whenever a
|
|
2656
|
+
* single object is selected, which is why a one-element selection is not a
|
|
2657
|
+
* no-op once a `slideSize` is supplied: Align Center on a lone title is one
|
|
2658
|
+
* of the commonest arrange gestures there is.
|
|
2659
|
+
*
|
|
2549
2660
|
* The helpers are deliberately framework-agnostic: no DOM, no Vue reactivity,
|
|
2550
2661
|
* no side effects. The host wires them into the editor by feeding the current
|
|
2551
2662
|
* selection in and applying the returned `Map` via its element-transform
|
|
@@ -2555,6 +2666,31 @@ interface InlineEditRect {
|
|
|
2555
2666
|
type AlignEdge = 'left' | 'centerH' | 'right' | 'top' | 'middle' | 'bottom';
|
|
2556
2667
|
/** Axis along which {@link distributeElements} evenly spaces a selection. */
|
|
2557
2668
|
type DistributeAxis = 'horizontal' | 'vertical';
|
|
2669
|
+
/**
|
|
2670
|
+
* What a selection is aligned / distributed against.
|
|
2671
|
+
*
|
|
2672
|
+
* - `'selection'`: the union bounding box of the selected elements
|
|
2673
|
+
* (PowerPoint's "Align Selected Objects"). Needs at least two elements.
|
|
2674
|
+
* - `'slide'`: the slide bounds (`0, 0, slideSize.width, slideSize.height`),
|
|
2675
|
+
* PowerPoint's "Align to Slide". Works for any non-empty selection.
|
|
2676
|
+
*/
|
|
2677
|
+
type AlignReference = 'selection' | 'slide';
|
|
2678
|
+
/** Slide dimensions in the same (pixel) units as the element boxes. */
|
|
2679
|
+
interface AlignSlideSize {
|
|
2680
|
+
width: number;
|
|
2681
|
+
height: number;
|
|
2682
|
+
}
|
|
2683
|
+
/** Optional reference selection for {@link alignElements} and friends. */
|
|
2684
|
+
interface AlignOptions {
|
|
2685
|
+
/**
|
|
2686
|
+
* Explicit reference. When omitted, `'slide'` is assumed for a single
|
|
2687
|
+
* element (PowerPoint's default) and `'selection'` otherwise. Either way
|
|
2688
|
+
* the slide is only used when `slideSize` is supplied.
|
|
2689
|
+
*/
|
|
2690
|
+
reference?: AlignReference;
|
|
2691
|
+
/** Slide bounds; required for the slide to act as the reference. */
|
|
2692
|
+
slideSize?: AlignSlideSize;
|
|
2693
|
+
}
|
|
2558
2694
|
/** New position for a single element. Only the affected axis is populated. */
|
|
2559
2695
|
interface ElementPosition {
|
|
2560
2696
|
x?: number;
|
|
@@ -2572,31 +2708,24 @@ interface BoundingBoxElement {
|
|
|
2572
2708
|
width: number;
|
|
2573
2709
|
height: number;
|
|
2574
2710
|
}
|
|
2575
|
-
/**
|
|
2711
|
+
/** Alias of {@link AlignEdge}. */
|
|
2576
2712
|
type AlignMode = AlignEdge;
|
|
2577
|
-
/**
|
|
2713
|
+
/** Alias of {@link DistributeAxis}. */
|
|
2578
2714
|
type DistributeMode = DistributeAxis;
|
|
2579
|
-
/**
|
|
2715
|
+
/** Alias of {@link BoundingBoxElement}. */
|
|
2580
2716
|
type AlignBox = BoundingBoxElement;
|
|
2581
|
-
/**
|
|
2717
|
+
/** Alias of {@link ElementPosition}. */
|
|
2582
2718
|
type PositionUpdate = ElementPosition;
|
|
2583
2719
|
/**
|
|
2584
|
-
*
|
|
2585
|
-
*
|
|
2586
|
-
*
|
|
2587
|
-
* Behaves like {@link alignElements} but filters out elements already sitting
|
|
2588
|
-
* on the target edge/centre. Returns an empty map for fewer than two boxes.
|
|
2720
|
+
* {@link alignElements} (slide reference included) filtered to the boxes that
|
|
2721
|
+
* actually move.
|
|
2589
2722
|
*/
|
|
2590
|
-
declare function computeAlign(boxes: readonly AlignBox[], mode: AlignMode): Map<string, PositionUpdate>;
|
|
2723
|
+
declare function computeAlign(boxes: readonly AlignBox[], mode: AlignMode, options?: AlignOptions): Map<string, PositionUpdate>;
|
|
2591
2724
|
/**
|
|
2592
|
-
*
|
|
2593
|
-
*
|
|
2594
|
-
*
|
|
2595
|
-
* Behaves like {@link distributeElements} but filters out elements whose
|
|
2596
|
-
* leading edge does not change. Returns an empty map for fewer than three
|
|
2597
|
-
* boxes.
|
|
2725
|
+
* {@link distributeElements} (slide reference included) filtered to the boxes
|
|
2726
|
+
* that actually move.
|
|
2598
2727
|
*/
|
|
2599
|
-
declare function computeDistribute(boxes: readonly AlignBox[], mode: DistributeMode): Map<string, PositionUpdate>;
|
|
2728
|
+
declare function computeDistribute(boxes: readonly AlignBox[], mode: DistributeMode, options?: AlignOptions): Map<string, PositionUpdate>;
|
|
2600
2729
|
|
|
2601
2730
|
/** The eight resize handles, named by compass direction. */
|
|
2602
2731
|
type ResizeHandleId = 'nw' | 'n' | 'ne' | 'e' | 'se' | 's' | 'sw' | 'w';
|
|
@@ -3724,6 +3853,14 @@ interface MarkerShape {
|
|
|
3724
3853
|
markerWidth: number;
|
|
3725
3854
|
/** Suggested `markerHeight` (perpendicular: arrow *width*, from `@w`). */
|
|
3726
3855
|
markerHeight: number;
|
|
3856
|
+
/**
|
|
3857
|
+
* True for a stroke-only (open, unfilled) marker path, i.e. the `'arrow'`
|
|
3858
|
+
* open chevron. A binding should render this path with `fill="none"` and
|
|
3859
|
+
* `stroke={strokeColor}` instead of the default solid `fill={strokeColor}`
|
|
3860
|
+
* it uses for every other shape; a chevron rendered with a solid fill draws
|
|
3861
|
+
* as a filled wedge, indistinguishable from `'triangle'`.
|
|
3862
|
+
*/
|
|
3863
|
+
strokeOnly?: boolean;
|
|
3727
3864
|
}
|
|
3728
3865
|
|
|
3729
3866
|
/**
|
|
@@ -4808,10 +4945,14 @@ declare function strokeColorOf(el: PptxElement): string;
|
|
|
4808
4945
|
*/
|
|
4809
4946
|
declare function textColorOf(el: PptxElement): string;
|
|
4810
4947
|
/**
|
|
4811
|
-
* Returns the font size (in points) from the element's textStyle
|
|
4812
|
-
*
|
|
4948
|
+
* Returns the font size (in points) from the element's textStyle.
|
|
4949
|
+
*
|
|
4950
|
+
* Falls back, in order, to: the deck's presentation-level default text style
|
|
4951
|
+
* (`p:defaultTextStyle`, passed as `presentationDefault` when the caller has
|
|
4952
|
+
* one), then `DEFAULT_FONT_SIZE` (18pt, matching PowerPoint's own
|
|
4953
|
+
* `a:lvl1pPr/a:defRPr@sz="1800"` when neither is available).
|
|
4813
4954
|
*/
|
|
4814
|
-
declare function fontSizeOf(el: PptxElement): number;
|
|
4955
|
+
declare function fontSizeOf(el: PptxElement, presentationDefault?: PlaceholderDefaults): number;
|
|
4815
4956
|
/** Returns whether the element's text is bold (false when absent). */
|
|
4816
4957
|
declare function isBold(el: PptxElement): boolean;
|
|
4817
4958
|
/** Returns whether the element's text is italic (false when absent). */
|
|
@@ -4849,11 +4990,12 @@ interface TextStyleChanges {
|
|
|
4849
4990
|
declare function textStylePatch(el: PptxElement, changes: TextStyleChanges): Partial<PptxElement>;
|
|
4850
4991
|
|
|
4851
4992
|
/**
|
|
4852
|
-
* effects-helpers.ts: Pure (no framework)
|
|
4993
|
+
* effects-shadow-helpers.ts: Pure (no framework) outer/inner shadow helpers
|
|
4994
|
+
* for the effects panel.
|
|
4853
4995
|
*
|
|
4854
|
-
*
|
|
4855
|
-
*
|
|
4856
|
-
*
|
|
4996
|
+
* Split out of `effects-helpers.ts` (glow/reflection/soft-edge stay there) to
|
|
4997
|
+
* keep both files under this repo's 300-LOC-per-file budget; `EffectsState`
|
|
4998
|
+
* still composes both halves into one shape for the panel.
|
|
4857
4999
|
*/
|
|
4858
5000
|
|
|
4859
5001
|
/** Editable outer shadow state. */
|
|
@@ -4866,6 +5008,12 @@ interface OuterShadowState {
|
|
|
4866
5008
|
angle: number;
|
|
4867
5009
|
/** Distance in px. */
|
|
4868
5010
|
distance: number;
|
|
5011
|
+
/**
|
|
5012
|
+
* Whether the shadow rotates along with the shape (`a:outerShdw@rotWithShape`).
|
|
5013
|
+
* Defaults `true`, matching PowerPoint's own default when the attribute is
|
|
5014
|
+
* absent.
|
|
5015
|
+
*/
|
|
5016
|
+
rotateWithShape: boolean;
|
|
4869
5017
|
}
|
|
4870
5018
|
/** Editable inner shadow state. */
|
|
4871
5019
|
interface InnerShadowState {
|
|
@@ -4876,6 +5024,34 @@ interface InnerShadowState {
|
|
|
4876
5024
|
offsetX: number;
|
|
4877
5025
|
offsetY: number;
|
|
4878
5026
|
}
|
|
5027
|
+
/** Enable outer shadow with current or default values. */
|
|
5028
|
+
declare function enableOuterShadowPatch(el: PptxElement, state: OuterShadowState): Partial<PptxElement>;
|
|
5029
|
+
/** Disable outer shadow by setting transparent. */
|
|
5030
|
+
declare function disableOuterShadowPatch(el: PptxElement): Partial<PptxElement>;
|
|
5031
|
+
/**
|
|
5032
|
+
* Update a single outer-shadow field. Re-derives offsetX/Y from angle+distance
|
|
5033
|
+
* when either is changed to keep the coordinate pair consistent.
|
|
5034
|
+
*/
|
|
5035
|
+
declare function updateOuterShadowPatch(el: PptxElement, changes: Partial<OuterShadowState>): Partial<PptxElement>;
|
|
5036
|
+
/** Enable inner shadow with current or default values. */
|
|
5037
|
+
declare function enableInnerShadowPatch(el: PptxElement, state: InnerShadowState): Partial<PptxElement>;
|
|
5038
|
+
/** Disable inner shadow. */
|
|
5039
|
+
declare function disableInnerShadowPatch(el: PptxElement): Partial<PptxElement>;
|
|
5040
|
+
/** Update a single inner-shadow field. */
|
|
5041
|
+
declare function updateInnerShadowPatch(el: PptxElement, changes: Partial<InnerShadowState>): Partial<PptxElement>;
|
|
5042
|
+
|
|
5043
|
+
/**
|
|
5044
|
+
* effects-helpers.ts: Pure (no framework) helpers for the effects panel.
|
|
5045
|
+
*
|
|
5046
|
+
* Readers extract effect values from a PptxElement (with sensible defaults),
|
|
5047
|
+
* and patch-builders produce shallow-merge-ready Partial<PptxElement> objects
|
|
5048
|
+
* for the binding's element-update path. Shared across React, Vue, and Angular.
|
|
5049
|
+
*
|
|
5050
|
+
* Outer/inner shadow are split into `effects-shadow-helpers.ts` to keep this
|
|
5051
|
+
* file under the 300-LOC budget; both are re-exported here so a consumer can
|
|
5052
|
+
* still import everything from one module.
|
|
5053
|
+
*/
|
|
5054
|
+
|
|
4879
5055
|
/** Editable glow state. */
|
|
4880
5056
|
interface GlowState {
|
|
4881
5057
|
enabled: boolean;
|
|
@@ -4911,21 +5087,6 @@ interface EffectsState {
|
|
|
4911
5087
|
* a shape-property element.
|
|
4912
5088
|
*/
|
|
4913
5089
|
declare function effectsStateOf(el: PptxElement): EffectsState;
|
|
4914
|
-
/** Enable outer shadow with current or default values. */
|
|
4915
|
-
declare function enableOuterShadowPatch(el: PptxElement, state: OuterShadowState): Partial<PptxElement>;
|
|
4916
|
-
/** Disable outer shadow by setting transparent. */
|
|
4917
|
-
declare function disableOuterShadowPatch(el: PptxElement): Partial<PptxElement>;
|
|
4918
|
-
/**
|
|
4919
|
-
* Update a single outer-shadow field. Re-derives offsetX/Y from angle+distance
|
|
4920
|
-
* when either is changed to keep the coordinate pair consistent.
|
|
4921
|
-
*/
|
|
4922
|
-
declare function updateOuterShadowPatch(el: PptxElement, changes: Partial<OuterShadowState>): Partial<PptxElement>;
|
|
4923
|
-
/** Enable inner shadow with current or default values. */
|
|
4924
|
-
declare function enableInnerShadowPatch(el: PptxElement, state: InnerShadowState): Partial<PptxElement>;
|
|
4925
|
-
/** Disable inner shadow. */
|
|
4926
|
-
declare function disableInnerShadowPatch(el: PptxElement): Partial<PptxElement>;
|
|
4927
|
-
/** Update a single inner-shadow field. */
|
|
4928
|
-
declare function updateInnerShadowPatch(el: PptxElement, changes: Partial<InnerShadowState>): Partial<PptxElement>;
|
|
4929
5090
|
/** Enable glow with current or default values. */
|
|
4930
5091
|
declare function enableGlowPatch(el: PptxElement, state: GlowState): Partial<PptxElement>;
|
|
4931
5092
|
/** Disable glow. */
|
|
@@ -6786,7 +6947,14 @@ interface DeckSaveIntent {
|
|
|
6786
6947
|
purpose?: DeckSavePurpose;
|
|
6787
6948
|
}
|
|
6788
6949
|
|
|
6789
|
-
/**
|
|
6950
|
+
/**
|
|
6951
|
+
* Framework-neutral viewer preferences surfaced by Settings dialogs.
|
|
6952
|
+
*
|
|
6953
|
+
* Every field is a boolean toggle on purpose: the bindings iterate
|
|
6954
|
+
* `keyof ViewerPreferences` and hand each value to a `(key, boolean)` setter,
|
|
6955
|
+
* so the deck-authored view properties (grid spacing is a number) live on the
|
|
6956
|
+
* extending {@link DeckViewPreferences} instead.
|
|
6957
|
+
*/
|
|
6790
6958
|
interface ViewerPreferences {
|
|
6791
6959
|
autoSave: boolean;
|
|
6792
6960
|
spellCheck: boolean;
|
|
@@ -11044,6 +11212,7 @@ declare class PowerPointViewerComponent implements PowerPointViewerAPI {
|
|
|
11044
11212
|
protected readonly loader: LoadContentService;
|
|
11045
11213
|
protected readonly editor: EditorStateService;
|
|
11046
11214
|
private readonly fonts;
|
|
11215
|
+
private readonly googleWebfonts;
|
|
11047
11216
|
protected readonly collab: CollaborationService;
|
|
11048
11217
|
protected readonly accessibility: AccessibilityService;
|
|
11049
11218
|
protected readonly autosave: AutosaveService;
|
|
@@ -11221,7 +11390,7 @@ declare class PowerPointViewerComponent implements PowerPointViewerAPI {
|
|
|
11221
11390
|
/** Flip the AutoSave preference, unless the host forbade autosave outright. */
|
|
11222
11391
|
protected toggleAutosave(): void;
|
|
11223
11392
|
/** Active drawing tool (from the ribbon Draw tab). */
|
|
11224
|
-
protected readonly activeDrawTool: _angular_core.WritableSignal<"
|
|
11393
|
+
protected readonly activeDrawTool: _angular_core.WritableSignal<"pen" | "highlighter" | "eraser" | "select" | "freeform">;
|
|
11225
11394
|
/** Active ink stroke colour. */
|
|
11226
11395
|
protected readonly activeDrawColor: _angular_core.WritableSignal<string>;
|
|
11227
11396
|
/** Active ink stroke width in stage pixels. */
|
|
@@ -11760,6 +11929,29 @@ declare class FieldContextService {
|
|
|
11760
11929
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FieldContextService>;
|
|
11761
11930
|
}
|
|
11762
11931
|
|
|
11932
|
+
/** DOM id of the managed `<link>` element (binding-specific, like the style ids). */
|
|
11933
|
+
declare const GOOGLE_WEBFONTS_LINK_ID = "pptx-angular-google-fonts";
|
|
11934
|
+
declare class GoogleWebfontsService {
|
|
11935
|
+
private linkEl;
|
|
11936
|
+
/** Tags in-flight probes; only the newest `sync` may apply its result. */
|
|
11937
|
+
private syncToken;
|
|
11938
|
+
constructor();
|
|
11939
|
+
/**
|
|
11940
|
+
* Resolve which referenced families need a Google Fonts fetch for this
|
|
11941
|
+
* deck and sync the managed `<link>` element once the probe settles.
|
|
11942
|
+
* Pass empty slides / fonts (e.g. before a load) to remove it.
|
|
11943
|
+
*/
|
|
11944
|
+
sync(slides: readonly PptxSlide[], embeddedFonts: readonly PptxEmbeddedFont[]): void;
|
|
11945
|
+
/**
|
|
11946
|
+
* Remove the injected `<link>` element and invalidate in-flight probes.
|
|
11947
|
+
* Called automatically on destroy; safe to call manually.
|
|
11948
|
+
*/
|
|
11949
|
+
dispose(): void;
|
|
11950
|
+
private removeLinkElement;
|
|
11951
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GoogleWebfontsService, never>;
|
|
11952
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<GoogleWebfontsService>;
|
|
11953
|
+
}
|
|
11954
|
+
|
|
11763
11955
|
/**
|
|
11764
11956
|
* Opt-in flag for the Three.js interactive line3D-chart renderer (Angular).
|
|
11765
11957
|
*
|
|
@@ -12033,7 +12225,7 @@ declare class ZoomTargetService {
|
|
|
12033
12225
|
* `PowerPointViewerComponent`'s children (ribbon, slide canvas, inspector,
|
|
12034
12226
|
* dialogs, ...) rely on via `inject()`.
|
|
12035
12227
|
*/
|
|
12036
|
-
declare const POWER_POINT_VIEWER_PROVIDERS: readonly [typeof LoadContentService, typeof ExportService, typeof EditorStateService, typeof ChartPartSelectionService, typeof TableSelectionService, typeof EmbeddedFontsService, typeof CollaborationService, typeof CustomFontsService, typeof AccessibilityService, typeof AutosaveService, typeof AutosaveRecoveryService, typeof PrintService, typeof IsMobileService, typeof SmartArt3DService, typeof SurfaceChart3DService, typeof BarChart3DService, typeof LineChart3DService, typeof AreaChart3DService, typeof PieChart3DService, typeof FieldContextService, typeof ZoomTargetService, typeof AiPanelStore, typeof ViewerDialogsService, typeof ViewerCompareService, typeof ViewerExportService, typeof ViewerFindReplaceService, typeof ViewerCustomShowsService, typeof ViewerCollaborationSessionService, typeof ViewerCanvasEditingService, typeof ViewerCollabCursorService, typeof ViewerDocumentPropertiesService, typeof ViewerFileIOService, typeof ViewerFormatPainterService, typeof ViewerInspectorPanelService, typeof ViewerKeyboardService, typeof ViewerMobileSheetService, typeof ViewerOptionsService, typeof ViewerPresentationModeService, typeof ViewerThemeGalleryService, typeof ViewerTouchGesturesService, typeof ViewerZoomService];
|
|
12228
|
+
declare const POWER_POINT_VIEWER_PROVIDERS: readonly [typeof LoadContentService, typeof ExportService, typeof EditorStateService, typeof ChartPartSelectionService, typeof TableSelectionService, typeof EmbeddedFontsService, typeof GoogleWebfontsService, typeof CollaborationService, typeof CustomFontsService, typeof AccessibilityService, typeof AutosaveService, typeof AutosaveRecoveryService, typeof PrintService, typeof IsMobileService, typeof SmartArt3DService, typeof SurfaceChart3DService, typeof BarChart3DService, typeof LineChart3DService, typeof AreaChart3DService, typeof PieChart3DService, typeof FieldContextService, typeof ZoomTargetService, typeof AiPanelStore, typeof ViewerDialogsService, typeof ViewerCompareService, typeof ViewerExportService, typeof ViewerFindReplaceService, typeof ViewerCustomShowsService, typeof ViewerCollaborationSessionService, typeof ViewerCanvasEditingService, typeof ViewerCollabCursorService, typeof ViewerDocumentPropertiesService, typeof ViewerFileIOService, typeof ViewerFormatPainterService, typeof ViewerInspectorPanelService, typeof ViewerKeyboardService, typeof ViewerMobileSheetService, typeof ViewerOptionsService, typeof ViewerPresentationModeService, typeof ViewerThemeGalleryService, typeof ViewerTouchGesturesService, typeof ViewerZoomService];
|
|
12037
12229
|
|
|
12038
12230
|
/** Lifecycle of the AI session bootstrap. */
|
|
12039
12231
|
type AiChatInitState = 'checking' | 'unavailable' | 'ready' | 'error';
|
|
@@ -13019,7 +13211,7 @@ declare class SlideCanvasComponent implements SlideContext {
|
|
|
13019
13211
|
*/
|
|
13020
13212
|
readonly aiPickMode: _angular_core.InputSignal<boolean>;
|
|
13021
13213
|
/** Active draw tool. When not 'select', pointer gestures draw ink strokes. */
|
|
13022
|
-
readonly drawTool: _angular_core.InputSignal<"
|
|
13214
|
+
readonly drawTool: _angular_core.InputSignal<"pen" | "highlighter" | "eraser" | "select" | "freeform">;
|
|
13023
13215
|
/** Active ink stroke colour (CSS colour string). */
|
|
13024
13216
|
readonly drawColor: _angular_core.InputSignal<string>;
|
|
13025
13217
|
/** Active ink stroke width in stage pixels. */
|
|
@@ -19113,7 +19305,7 @@ declare class AccountPageComponent {
|
|
|
19113
19305
|
readonly accountAuth: _angular_core.InputSignal<AccountAuthConfig | undefined>;
|
|
19114
19306
|
private readonly translate;
|
|
19115
19307
|
protected readonly swatches: readonly string[];
|
|
19116
|
-
protected readonly version = "3.2.
|
|
19308
|
+
protected readonly version = "3.2.3";
|
|
19117
19309
|
protected readonly profile: _angular_core.WritableSignal<ViewerProfile>;
|
|
19118
19310
|
protected readonly initial: _angular_core.Signal<string>;
|
|
19119
19311
|
protected readonly usage: _angular_core.WritableSignal<LocalStorageUsageSummary | null>;
|
|
@@ -22385,6 +22577,6 @@ declare function thumbnailHeight(canvasW: number, canvasH: number, thumbW: numbe
|
|
|
22385
22577
|
*/
|
|
22386
22578
|
declare function gridColumns(containerW: number, thumbW: number, gap: number, maxCols: number): number;
|
|
22387
22579
|
|
|
22388
|
-
export { AFTER_ANIMATION_VALUES, ALIGN_OPTIONS, ANIMATION_PRESET_CATEGORIES, AUDIENCE_HASH, AUDIENCE_NONCE_KEY, AVATAR_COLOR_SWATCHES, AXIS_LABEL_COLOR, AccessibilityPanelComponent, AccessibilityService, AccountPageComponent, ActionSettingsPanelComponent, AdvancedChartEditorComponent, AiChangeOverlayComponent, AiChatPanelComponent, AiChatService, AiComposerComponent, AiFocusBarComponent, AiFocusHighlightOverlayComponent, AiHistoryMenuComponent, AiHistoryService, AiMessageListComponent, AiPanelStore, AiProposalCardComponent, AiSettingsSectionComponent, AiToolCallCardComponent, AnimationAuthorPanelComponent, AnimationPanelComponent, AnimationPlaybackService, AutosaveRecoveryDialogComponent, AutosaveService, BroadcastDialogComponent, CHART_EDITOR_STYLES, CURSOR_PALETTE, CanvasFitService, ChartAxisOptionsComponent, ChartAxisStyleOptionsComponent, ChartComboTypeOptionsComponent, ChartDataEditorComponent, ChartDataLabelOptionsComponent, ChartDatapointMarkerOptionsComponent, ChartDatapointOptionsComponent, ChartDisplayOptionsComponent, ChartElementViewComponent, ChartErrorBarOptionsComponent, ChartMarkerOptionsComponent, ChartPartSelectionService, ChartPrimitivesComponent, ChartRendererComponent, ChartTrendlineOptionsComponent, ChartTypeSelectorComponent, CollaborationCursorsComponent, CollaborationService, ColorChangedImageComponent, CommentMarkersOverlayComponent, CommentsPanelComponent, CommentsService, ComparePanelComponent, ConnectorRendererComponent, ConnectorTextOverlayComponent, CustomShowsComponent, DEFAULT_BOUNDS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_SCHEME, DEFAULT_FILL_COLOR, DEFAULT_LAYOUT, DEFAULT_PALETTE$1 as DEFAULT_PALETTE, DEFAULT_PATTERN_FILL_PRESET, DEFAULT_PRINT_SETTINGS, DEFAULT_SLIDE_BACKGROUND, DEFAULT_STROKE_COLOR, DEFAULT_STYLE, DEFAULT_TABLE_ROW_HEIGHT, DEFAULT_TEXT_COLOR, DEFAULT_VIEWER_PROFILE, DIRECTIONAL_PRESETS, DIRECTION_OPTIONS, DocumentPropertiesCardComponent, EMBEDDED_FONTS_STYLE_ID, EMPHASIS_PRESETS, ENTRANCE_PRESETS, TEMPLATES as EQUATION_TEMPLATES, EXIT_PRESETS, EditorContextMenuComponent, EditorHistory, EditorStateService, EditorToolbarComponent, EffectsPanelComponent, ElementRendererComponent, EmbeddedFontsService, EncryptedFileDialogComponent, EquationEditorDialogComponent, EquationRendererComponent, EquationTemplateGalleryComponent, ExportProgressModalComponent, ExportService, FieldContextService, FindBarComponent, FindReplaceBarComponent, FollowModeBarComponent, FontEmbeddingListComponent, FontEmbeddingPanelComponent, GALLERY_THEME_PRESETS, GRIDLINE_COLOR, GradientPickerComponent, HANDOUT_OPTIONS, HeaderFooterDialogComponent, HyperlinkDialogComponent, ImagePropertiesPanelComponent, InkDrawingService, InkRendererComponent, InsertSmartArtDialogComponent, InspectorPaneHeaderComponent, InspectorPanelComponent, IsMobileService, KeepAnnotationsDialogComponent, LOCALE_CATALOG, LONG_PRESS_DURATION_MS, LONG_PRESS_MOVE_TOLERANCE_PX, LoadContentService, LocalPresencePublisher, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, MOTION_PATH_COLUMNS, MediaPreviewComponent, MediaPropertiesPanelComponent, MediaRendererComponent, MediaTrimTimelineComponent, MobileBottomBarComponent, MobileMenuSheetComponent, MobilePresenterViewComponent, MobileSheetComponent, MobileSlidesSheetComponent, MobileToolbarComponent, ModalDialogComponent, Model3DRendererComponent, NotesHandoutCardComponent, NotesPanelComponent, NotesToolbarComponent, OleRendererComponent, OutlineViewOverlayComponent, POWER_POINT_VIEWER_PROVIDERS, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, PRESENTER_CHANNEL_NAME, PRESENTER_MSG_ORIGIN, PRESENTER_TIMER_SEGMENT_MS, PX_PER_CM, PX_PER_INCH, PasswordProtectionDialogComponent, PasswordStrengthMeterComponent, PowerPointViewerComponent, PresentToolbarAutoHide, PresentationAnnotationOverlayComponent, PresentationAnnotationsService, PresentationOverlayComponent, PresentationPropertiesPanelComponent, PresentationSettingsCardComponent, PresentationSubtitleBarComponent, PresentationToolbarComponent, PresentationTransitionOverlayComponent, PresenterViewComponent, PresenterWindowService, PrintDialogComponent, PrintService, PrintSettingsPanelComponent, PropertiesDialogComponent, REPEAT_MODE_OPTIONS, RESIZE_HANDLES, RULER_FONT_SIZE, RULER_THICKNESS, ReadingViewOverlayComponent, RemoteSelectionOverlayComponent, RibbonAnimationGalleryComponent, RibbonAnimationsSectionComponent, RibbonArrangeSectionComponent, RibbonColorPopoverComponent, RibbonComponent, RibbonDesignSectionComponent, RibbonDrawSectionComponent, RibbonDrawingGroupComponent, RibbonEditingSectionComponent, RibbonFileSectionComponent, RibbonFontControlsComponent, RibbonHomeSectionComponent, RibbonHyperlinkButtonComponent, RibbonInsertFieldsComponent, RibbonInsertSectionComponent, RibbonMotionPathGalleryComponent, RibbonParagraphControlsComponent, RibbonPrimaryRowComponent, RibbonReviewSectionComponent, RibbonShapeExtrasComponent, RibbonSlideshowSectionComponent, RibbonTransitionsSectionComponent, RibbonViewSectionComponent, RulerGuidesService, SEQUENCE_OPTIONS, SEVERITY_GROUPS, SEVERITY_LABELS, SHORTCUT_REFERENCE_ITEMS, SLIDE_TRANSITION_KEYFRAMES, DEFAULT_PALETTE as SMARTART_DEFAULT_PALETTE, PALETTES as SMARTART_PALETTES, SMART_ART_COLOR_SCHEMES, SMART_ART_STYLE_OPTIONS, SUB_ITEM_LABEL, SVG_WARP_PRESETS, SWIPE_MAX_VERTICAL_PX, SWIPE_THRESHOLD_PX, SelectionPaneComponent, SetUpSlideShowDialogComponent, SettingsAppearanceTabComponent, SettingsDialogComponent, SettingsLanguageTabComponent, ShareDialogComponent, ShortcutPanelComponent, ShowOptionsFieldsetComponent, ShowSlidesFieldsetComponent, SignatureStrippedDialogComponent, SignaturesPanelComponent, SignaturesService, SlideBackgroundCardComponent, SlideCanvasComponent, SlideDefaultInspectorComponent, SlideDiffChangesComponent, SlideDiffRowComponent, SlideDiffThumbnailsComponent, SlideSizeCardComponent, SlideSorterOverlayComponent, SlideThemeOverridePanelComponent, SlideTransitionCardComponent, SlidesPanelComponent, SmartArt3DRendererComponent, SmartArt3DService, SmartArtPreviewComponent, SmartArtPropertiesComponent, SmartArtRendererComponent, StatusBarComponent, TABLE_STRUCTURE_TOGGLES, TEXT_3D_BOTTOM_BEVEL_KEYS, TEXT_3D_TOP_BEVEL_KEYS, TEXT_DIRECTION_OPTIONS, THEME_CATALOG, TIMING_CURVE_OPTIONS, TRIGGER_OPTIONS, TYPE_LABELS, TableCellAdvancedFillComponent, TableCellFormattingComponent, TableDataEditorComponent, TablePropertiesComponent, TableRendererComponent, TableResizeOverlayComponent, TableSelectionService, TagsCardComponent, Text3DBevelSectionComponent, Text3DPanelComponent, TextAdvancedPanelComponent, ThemeEditorFieldsComponent, ThemeGalleryComponent, ThemeSelectorCardComponent, TitleBarComponent, TitleBarSearchComponent, TransitionDirectionPickerComponent, TransitionPreviewComponent, VALIGN_OPTIONS, VIEWER_THEME, VersionHistoryPanelComponent, ViewerCanvasEditingService, ViewerCollabCursorService, ViewerCollaborationSessionService, ViewerCompareService, ViewerCustomShowsService, ViewerDialogsService, ViewerDocumentPropertiesService, ViewerExportService, ViewerExtraDialogsComponent, ViewerFileIOService, ViewerFindReplaceService, ViewerFormatPainterService, ViewerInspectorPanelService, ViewerKeyboardService, ViewerMobileSheetService, ViewerPresentationModeService, ViewerThemeGalleryService, ViewerTouchGesturesService, ViewerZoomService, WEBM_MIME_CANDIDATES, WriteBackScheduler, ZERO_LINE_COLOR, ZoomNavigationService, ZoomRendererComponent, ZoomTargetService, addCategory, addCommentToList, addGradientStopPatch, addItem, addSeries, addSubItem, advanceStep, affordanceElements, aiToggleVisible, alignPatch, animationFor, animationPresetLabelKey, annotationMapToInkInserts, applyAcceptedDiff, applyAnimationPreset, applyFindReplacements, applyFormatToElement, applyMove, applyResize, asMediaElement, assignUserColor, attachShowVisibilityPause, attachTouchGestures, axisTickValues, beginNodeEdit, bevelSizePatch, boolFromEvent, bringForward, bringToFront, buildBarActions, buildBroadcastConfig, buildBroadcastViewerUrl, buildCategoryLabels, buildCellParagraphs, buildChartViewModel, buildChatLogExport, buildChatLogMarkdown, buildChromeStyle, buildClearHyperlinkPatch, buildClickGroups, buildColStyles, buildCollaborationConfig, buildComboViewModel, buildCssGradientFromShapeStyle, buildDuotoneFilter, buildDuotoneFilterId, buildEmbeddedFontStyles, buildEquationElement, buildEquationSegment, buildFallbackViewModel, buildFontFaceRule, buildGradientFillCss, buildGridlinesAndLabels, buildHyperlinkPatch, buildInkContainerStyle, buildInkStrokes, buildLegend, buildMarkTooltip, buildModel3DContainerStyle, buildModel3DViewModel, buildOleActionModel, buildOleInfoRows, buildPatternFillCss, buildPrintHtmlDocument as buildPrintDocument, buildPropertiesPatch, buildRegionMapViewModel, buildSaveSlides, buildShareUrl, buildSmartArtInsertElement, buildSmartArtNodes, buildStockViewModel, buildSurfaceViewModel, buildTableViewModel, buildTreemapViewModel, buildTrimFragment, buildWaterfallViewModel, buildZeroLine, buildZoomContainerStyle, buildZoomViewModel, bulletIndentPx, canAddTopLevelNode, canGroupSelection, canRemoveTopLevelNode, canSetStrokeWidth, canStartBroadcast, canStartShare, canUngroupSelection, canUseClipboard, captionDisplayText, cellRunStyle, cellStyleToStyleMap, cellTdStyle, changeCountLabel, changeIcon, characterSpacingPatch, chartPreserveAspectRatio, checkFontAvailable, clampCursorPosition, clampGifDimensions, clampIndex, clampNotesFontSize, clampScale, clampStep, clearAllLocalViewerData, clearAudienceContent, cn, collectAccessibilityIssues, collectElementText, collectSlideText, collectStoredChats, collectUsedFontFamilies, columnWidthStyle, commitNodeText, computeAlign, computeAxisTitlePrimitives, computeBarRects, computeBubbleRadius, computeCornerHandle, computeDistribute, computeDrawingViewBox, computeErrorBarPrimitives, computeFocusTargets, computeGridSpacingPx, computeHandleBoxes, computeHandoutLayout, computeIsMobile, computeIsTablet, computeLinePoints, computeLinearRegression, computePageCount, computePieLayout, computePieSlicePath, computePieSlices, computePlotLayout, computeRSquared, computeRadarPoints, computeResizeHandleBoxes, computeRotateHandleBox, computeScatterDots, computeScatterXDomain, computeSelectionBoxes, computeSingleSelected, computeSlideIndices, computeSnap, computeStackedBarRects, computeStackedValueRange, computeTrendlinePrimitives, computeValueRange, convertOmmlToMathMl, copyFormatFromElement, countAccessibilityIssues, countAnnotationStrokes, createAngularAiBridge, createCustomShow, createSwipeDismissDrag, createWebrtcBundle, createWebsocketBundle, cssObjectToStyleMap, currentColorScheme, currentLayout, currentStyle, defaultCssVars, defaultRadius, defaultThemeColors, deleteElementsByIds, deleteVersion as deleteRecoveryVersion, demoteNode, deriveModel3DBlobUrl, derivePresenceList, describeSmartArtBounds, disableGlowPatch, disableInnerShadowPatch, disableOuterShadowPatch, disableReflectionPatch, disableSoftEdgePatch, duplicateElementById, durationOf, effectsStateOf, enableGlowPatch, enableInnerShadowPatch, enableOuterShadowPatch, enableReflectionPatch, enableSoftEdgePatch, encodeGif, endShowMediaCleanup, estimatePageCount, exitPresentationFullscreen, exportAiChatLogs, extractPathPoints, eyedropperAvailable, fillColorOf, findInSlides, findOwningSlideIndex, findSlideIndexByElementId, firstVisibleIndex, fitPolynomial, fitZoom, focusTargetChips, fontMimeForFormat, fontSizeOf, forgetSessionDeck, formatAxisValue, formatBytes, formatCursorLabel, formatElapsed, formatFileSize, formatPropertyDate, formatTime, fpsToFrameIntervalMs, generateBroadcastRoomId, generateCommentId, generateCustomShowId, generatePressureCircles, generateTicks, getClrChangeParams, getContainerStyle, getDuotoneFilterDef, getEffectSoundState, getImageSrc, getLocalStorageUsageSummary, getOleAriaLabel, getOleBadgeLabel, getOleDisplayName, getOleDownloadFileName, getOleTypeColor, getOleTypeLabel, getPasswordStrength, getPatternSvg, getPlaceholderStyle, getVersions as getRecoveryVersions, getResolvedShapeClipPath, getResolvedShapeClipPathFor, getSessionTabId, getShapeFillStrokeStyle, getSlideBackgroundStyle, getSlideTransitionAnimations, getSmartArtNodeBounds, getSpeechRecognitionCtor, getTextBlockStyle, getTextWarp, getTouchDistance, getWarpCategory, getWarpPath, gradientStateFromStyle, gradientStateOf, gradientStatePatch, gridColumns, groupIssuesBySeverity, hasAnimation, hasCopyableFormat, hasExistingLink, hasExitedFullscreen, hasGradientFill, hasPressureVariation, hasVisibleSlideAfter, headerLabel, imageDimensions, inkViewBox, insertTableElementColumn as insertColumn, insertTableElementRow as insertRow, interpolateWidth, isAudienceTab, isBold, isBrowserOpenableMime, isChildNode, isElementInteractive, isInjectableUrl, isItalic, isLegacyBinaryPresentation, isPpactionUrl, isPresenterMessage, isSigned, isSupportedPresentationFile, isTextElement, isTwoTableFocus, isUnderline, isUrlSafe, isValidRoomId, isViewportBackgroundPressTarget, isZoomActivationKey, issueTrackKey, issueTypeLabel, keyToLabel, lastVisibleIndex, latexToMathml, layoutConnectorPaints, layoutNodeLabels, linePointsToSvgString, lineSpacingPatch, loadAudienceContent, loadSessionDeck, mediaFallbackFor, mediaSurfaceFor, mergeCaptionResults, mergeDown, mergeRight, mergeSelection, moveElementBy, moveNodeDown, moveNodeUp, msToFrameDelayCs, narrowToCircle, narrowToPolygon, narrowToRect, newChartElement, newEquationElement, newPresetShapeElement, newShapeElement, newSmartArtElement, newTableElement, newTextElement, nextVisibleIndex, nodeBold, nodeEditBox, nodeFillColor, nodeFontColor, nodeIdFromKey, nodeItalic, nodeStyle, normalizeFontFormat, normalizeSlidesPerPage, normalizeValue, numFromEvent, ommlToMathml, ooxmlDashToCssBorderStyle, openNativeEyeDropper, overallStatus, paletteColor, parseAudienceNonce, parseNodeTextarea, partitionSlides, patchChartData, patchChartStyle, patchTableData, patchTextStyle, patternPresetOptions, pendingElementStyles, pickColorByClickFallback, pickFile, pickSupportedMimeType, planGifFrames, planVideoSegments, pointsToSvgPathD, presenceToCursors, presentationBaseName, presentationStageStyle, presenterTimerProgress, presetByLayout, presetsForCategory, pressuresToWidths, prevVisibleIndex, projectDrawingShapes, promoteNode, provideViewerTheme, radarAngle, radarRingPoints, readAsDataUrl, recordWebm, registerCrossSlideAudio, rememberSessionDeck, removeAnimation, removeCategory, removeTableElementColumn as removeColumn, removeCommentFromList, removeElementAnimation, removeGradientStopPatch, removeNode, removeTableElementRow as removeRow, removeSeries, renderToCanvas, reorderAnimationDown, reorderAnimationUp, replaceInSlides, replaceMatch, requestPresentationFullscreen, resizeElement, resolveCaptionTracks, resolveChartKind, resolveFontVariant, resolveHyperlinkHref, resolveInteractiveElementId, resolveMediaSrc, resolveOleType, resolveParagraphBullet, resolvePresenterNotes, resolveProfileInitial, resolveRegionCode, resolveSlideAutoAdvanceMs, resolvePalette as resolveSmartArtPalette, resolveThemeCatalogEntry, resolveTransitionDuration, restoreSessionDeck, revealedElementStyles, routeOrthogonalConnector, rowStyle, rulerDragToGuidePosition, rulerHighlight, rulerStripTicks, sampleColorFromSlide, sanitizeColor, sanitizeSlideIndex, sanitizeUserName, saveViewerProfile, savedPresentationFileName, scanAvailableFonts, searchSlides, seedBroadcastFields, seedHyperlinkDraft, seedPropertiesDraft, seedShareFields, segmentFrameCount, selectValue, sendBackward, sendToBack, sequentialColorScale, serializeWriteBack, seriesColor, setAfterAnimation, setAfterAnimationColor, setAnimationEmphasis, setAnimationEntrance, setAnimationExit, setAxis, setAxisLogScale, setAxisTitleStyle, setCategoryLabel, setCellText, setColorScheme, setDataLabels, setDataPointExplosion, setDataPointFill, setDataPointLabel, setDataPointMarker, setDelay, setDirection, setDuration, setEffectSound, setElementPosition, setGridlineStyle, setLayout, setLegend, setNodeStyle, setNodeText, setRepeatCount, setRepeatMode, setSequence, setSeriesChartType, setSeriesColor, setSeriesErrorBars, setSeriesMarker, setSeriesName, setSeriesTrendline, setSeriesValue, setStyle, setTimingCurve, setTitle, setTrigger, setTriggerShapeId, shapeStylePatch, sheetAfterNavigate, shouldBlockClickAdvance, shouldUseSvgWarp, showDirectionPicker, showsTemplateAffordance, signatureCountLabel, signatureKey, signatureTimestamp, signerName, statusLabel as slideDiffStatusLabel, slideNumberOf, slidesWithReappliedLayout, smartArtNodes, paletteColour as smartArtPaletteColour, snapToGridStep, splitCursorCell, splitMergedCell, statusKind, statusLabel$1 as statusLabel, storeAudienceContent, stringFromEvent, strokeColorOf, strokeToInkElement, strokeWidthOf, styleShadowFilter, surfaceColor, textAdvancedPatch, textAdvancedStateFromStyle, textAdvancedStateOf, textColorOf, textDirectionPatch, textStyleOf, textStylePatch, themeStyle, themeToCssVars, thumbnailHeight, thumbnailZoom, toggleCommentResolvedInList, toggleNodeBold, toggleNodeItalic, toggleSheet, topLevelNodeCount, transformSelectedTextCase, translationsEn, updateElementById, updateGlowPatch, updateGradientStopPatch, updateInnerShadowPatch, updateOuterShadowPatch, updateReflectionPatch, vAlignPatch, validatePassword, validatePrintSettings, validateRoomId, valueToY, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, waypointsToPathD, worstStatus, zoomTargetSlideIndex };
|
|
22580
|
+
export { AFTER_ANIMATION_VALUES, ALIGN_OPTIONS, ANIMATION_PRESET_CATEGORIES, AUDIENCE_HASH, AUDIENCE_NONCE_KEY, AVATAR_COLOR_SWATCHES, AXIS_LABEL_COLOR, AccessibilityPanelComponent, AccessibilityService, AccountPageComponent, ActionSettingsPanelComponent, AdvancedChartEditorComponent, AiChangeOverlayComponent, AiChatPanelComponent, AiChatService, AiComposerComponent, AiFocusBarComponent, AiFocusHighlightOverlayComponent, AiHistoryMenuComponent, AiHistoryService, AiMessageListComponent, AiPanelStore, AiProposalCardComponent, AiSettingsSectionComponent, AiToolCallCardComponent, AnimationAuthorPanelComponent, AnimationPanelComponent, AnimationPlaybackService, AutosaveRecoveryDialogComponent, AutosaveService, BroadcastDialogComponent, CHART_EDITOR_STYLES, CURSOR_PALETTE, CanvasFitService, ChartAxisOptionsComponent, ChartAxisStyleOptionsComponent, ChartComboTypeOptionsComponent, ChartDataEditorComponent, ChartDataLabelOptionsComponent, ChartDatapointMarkerOptionsComponent, ChartDatapointOptionsComponent, ChartDisplayOptionsComponent, ChartElementViewComponent, ChartErrorBarOptionsComponent, ChartMarkerOptionsComponent, ChartPartSelectionService, ChartPrimitivesComponent, ChartRendererComponent, ChartTrendlineOptionsComponent, ChartTypeSelectorComponent, CollaborationCursorsComponent, CollaborationService, ColorChangedImageComponent, CommentMarkersOverlayComponent, CommentsPanelComponent, CommentsService, ComparePanelComponent, ConnectorRendererComponent, ConnectorTextOverlayComponent, CustomShowsComponent, DEFAULT_BOUNDS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_COLOR_SCHEME, DEFAULT_FILL_COLOR, DEFAULT_LAYOUT, DEFAULT_PALETTE$1 as DEFAULT_PALETTE, DEFAULT_PATTERN_FILL_PRESET, DEFAULT_PRINT_SETTINGS, DEFAULT_SLIDE_BACKGROUND, DEFAULT_STROKE_COLOR, DEFAULT_STYLE, DEFAULT_TABLE_ROW_HEIGHT, DEFAULT_TEXT_COLOR, DEFAULT_VIEWER_PROFILE, DIRECTIONAL_PRESETS, DIRECTION_OPTIONS, DocumentPropertiesCardComponent, EMBEDDED_FONTS_STYLE_ID, EMPHASIS_PRESETS, ENTRANCE_PRESETS, TEMPLATES as EQUATION_TEMPLATES, EXIT_PRESETS, EditorContextMenuComponent, EditorHistory, EditorStateService, EditorToolbarComponent, EffectsPanelComponent, ElementRendererComponent, EmbeddedFontsService, EncryptedFileDialogComponent, EquationEditorDialogComponent, EquationRendererComponent, EquationTemplateGalleryComponent, ExportProgressModalComponent, ExportService, FieldContextService, FindBarComponent, FindReplaceBarComponent, FollowModeBarComponent, FontEmbeddingListComponent, FontEmbeddingPanelComponent, GALLERY_THEME_PRESETS, GOOGLE_WEBFONTS_LINK_ID, GRIDLINE_COLOR, GoogleWebfontsService, GradientPickerComponent, HANDOUT_OPTIONS, HeaderFooterDialogComponent, HyperlinkDialogComponent, ImagePropertiesPanelComponent, InkDrawingService, InkRendererComponent, InsertSmartArtDialogComponent, InspectorPaneHeaderComponent, InspectorPanelComponent, IsMobileService, KeepAnnotationsDialogComponent, LOCALE_CATALOG, LONG_PRESS_DURATION_MS, LONG_PRESS_MOVE_TOLERANCE_PX, LoadContentService, LocalPresencePublisher, MAX_ZOOM_SCALE, MIN_ZOOM_SCALE, MOTION_PATH_COLUMNS, MediaPreviewComponent, MediaPropertiesPanelComponent, MediaRendererComponent, MediaTrimTimelineComponent, MobileBottomBarComponent, MobileMenuSheetComponent, MobilePresenterViewComponent, MobileSheetComponent, MobileSlidesSheetComponent, MobileToolbarComponent, ModalDialogComponent, Model3DRendererComponent, NotesHandoutCardComponent, NotesPanelComponent, NotesToolbarComponent, OleRendererComponent, OutlineViewOverlayComponent, POWER_POINT_VIEWER_PROVIDERS, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, PRESENTER_CHANNEL_NAME, PRESENTER_MSG_ORIGIN, PRESENTER_TIMER_SEGMENT_MS, PX_PER_CM, PX_PER_INCH, PasswordProtectionDialogComponent, PasswordStrengthMeterComponent, PowerPointViewerComponent, PresentToolbarAutoHide, PresentationAnnotationOverlayComponent, PresentationAnnotationsService, PresentationOverlayComponent, PresentationPropertiesPanelComponent, PresentationSettingsCardComponent, PresentationSubtitleBarComponent, PresentationToolbarComponent, PresentationTransitionOverlayComponent, PresenterViewComponent, PresenterWindowService, PrintDialogComponent, PrintService, PrintSettingsPanelComponent, PropertiesDialogComponent, REPEAT_MODE_OPTIONS, RESIZE_HANDLES, RULER_FONT_SIZE, RULER_THICKNESS, ReadingViewOverlayComponent, RemoteSelectionOverlayComponent, RibbonAnimationGalleryComponent, RibbonAnimationsSectionComponent, RibbonArrangeSectionComponent, RibbonColorPopoverComponent, RibbonComponent, RibbonDesignSectionComponent, RibbonDrawSectionComponent, RibbonDrawingGroupComponent, RibbonEditingSectionComponent, RibbonFileSectionComponent, RibbonFontControlsComponent, RibbonHomeSectionComponent, RibbonHyperlinkButtonComponent, RibbonInsertFieldsComponent, RibbonInsertSectionComponent, RibbonMotionPathGalleryComponent, RibbonParagraphControlsComponent, RibbonPrimaryRowComponent, RibbonReviewSectionComponent, RibbonShapeExtrasComponent, RibbonSlideshowSectionComponent, RibbonTransitionsSectionComponent, RibbonViewSectionComponent, RulerGuidesService, SEQUENCE_OPTIONS, SEVERITY_GROUPS, SEVERITY_LABELS, SHORTCUT_REFERENCE_ITEMS, SLIDE_TRANSITION_KEYFRAMES, DEFAULT_PALETTE as SMARTART_DEFAULT_PALETTE, PALETTES as SMARTART_PALETTES, SMART_ART_COLOR_SCHEMES, SMART_ART_STYLE_OPTIONS, SUB_ITEM_LABEL, SVG_WARP_PRESETS, SWIPE_MAX_VERTICAL_PX, SWIPE_THRESHOLD_PX, SelectionPaneComponent, SetUpSlideShowDialogComponent, SettingsAppearanceTabComponent, SettingsDialogComponent, SettingsLanguageTabComponent, ShareDialogComponent, ShortcutPanelComponent, ShowOptionsFieldsetComponent, ShowSlidesFieldsetComponent, SignatureStrippedDialogComponent, SignaturesPanelComponent, SignaturesService, SlideBackgroundCardComponent, SlideCanvasComponent, SlideDefaultInspectorComponent, SlideDiffChangesComponent, SlideDiffRowComponent, SlideDiffThumbnailsComponent, SlideSizeCardComponent, SlideSorterOverlayComponent, SlideThemeOverridePanelComponent, SlideTransitionCardComponent, SlidesPanelComponent, SmartArt3DRendererComponent, SmartArt3DService, SmartArtPreviewComponent, SmartArtPropertiesComponent, SmartArtRendererComponent, StatusBarComponent, TABLE_STRUCTURE_TOGGLES, TEXT_3D_BOTTOM_BEVEL_KEYS, TEXT_3D_TOP_BEVEL_KEYS, TEXT_DIRECTION_OPTIONS, THEME_CATALOG, TIMING_CURVE_OPTIONS, TRIGGER_OPTIONS, TYPE_LABELS, TableCellAdvancedFillComponent, TableCellFormattingComponent, TableDataEditorComponent, TablePropertiesComponent, TableRendererComponent, TableResizeOverlayComponent, TableSelectionService, TagsCardComponent, Text3DBevelSectionComponent, Text3DPanelComponent, TextAdvancedPanelComponent, ThemeEditorFieldsComponent, ThemeGalleryComponent, ThemeSelectorCardComponent, TitleBarComponent, TitleBarSearchComponent, TransitionDirectionPickerComponent, TransitionPreviewComponent, VALIGN_OPTIONS, VIEWER_THEME, VersionHistoryPanelComponent, ViewerCanvasEditingService, ViewerCollabCursorService, ViewerCollaborationSessionService, ViewerCompareService, ViewerCustomShowsService, ViewerDialogsService, ViewerDocumentPropertiesService, ViewerExportService, ViewerExtraDialogsComponent, ViewerFileIOService, ViewerFindReplaceService, ViewerFormatPainterService, ViewerInspectorPanelService, ViewerKeyboardService, ViewerMobileSheetService, ViewerPresentationModeService, ViewerThemeGalleryService, ViewerTouchGesturesService, ViewerZoomService, WEBM_MIME_CANDIDATES, WriteBackScheduler, ZERO_LINE_COLOR, ZoomNavigationService, ZoomRendererComponent, ZoomTargetService, addCategory, addCommentToList, addGradientStopPatch, addItem, addSeries, addSubItem, advanceStep, affordanceElements, aiToggleVisible, alignPatch, animationFor, animationPresetLabelKey, annotationMapToInkInserts, applyAcceptedDiff, applyAnimationPreset, applyFindReplacements, applyFormatToElement, applyMove, applyResize, asMediaElement, assignUserColor, attachShowVisibilityPause, attachTouchGestures, axisTickValues, beginNodeEdit, bevelSizePatch, boolFromEvent, bringForward, bringToFront, buildBarActions, buildBroadcastConfig, buildBroadcastViewerUrl, buildCategoryLabels, buildCellParagraphs, buildChartViewModel, buildChatLogExport, buildChatLogMarkdown, buildChromeStyle, buildClearHyperlinkPatch, buildClickGroups, buildColStyles, buildCollaborationConfig, buildComboViewModel, buildCssGradientFromShapeStyle, buildDuotoneFilter, buildDuotoneFilterId, buildEmbeddedFontStyles, buildEquationElement, buildEquationSegment, buildFallbackViewModel, buildFontFaceRule, buildGradientFillCss, buildGridlinesAndLabels, buildHyperlinkPatch, buildInkContainerStyle, buildInkStrokes, buildLegend, buildMarkTooltip, buildModel3DContainerStyle, buildModel3DViewModel, buildOleActionModel, buildOleInfoRows, buildPatternFillCss, buildPieViewModel, buildPrintHtmlDocument as buildPrintDocument, buildPropertiesPatch, buildRadarViewModel, buildRegionMapViewModel, buildSaveSlides, buildShareUrl, buildSmartArtInsertElement, buildSmartArtNodes, buildStockViewModel, buildSurfaceViewModel, buildTableViewModel, buildTreemapViewModel, buildTrimFragment, buildWaterfallViewModel, buildZeroLine, buildZoomContainerStyle, buildZoomViewModel, bulletIndentPx, canAddTopLevelNode, canGroupSelection, canRemoveTopLevelNode, canSetStrokeWidth, canStartBroadcast, canStartShare, canUngroupSelection, canUseClipboard, captionDisplayText, cellRunStyle, cellStyleToStyleMap, cellTdStyle, changeCountLabel, changeIcon, characterSpacingPatch, chartPreserveAspectRatio, checkFontAvailable, clampCursorPosition, clampGifDimensions, clampIndex, clampNotesFontSize, clampScale, clampStep, clearAllLocalViewerData, clearAudienceContent, cn, collectAccessibilityIssues, collectElementText, collectSlideText, collectStoredChats, collectUsedFontFamilies, columnWidthStyle, commitNodeText, computeAlign, computeAxisTitlePrimitives, computeBarRects, computeBubbleRadius, computeCornerHandle, computeDistribute, computeDrawingViewBox, computeErrorBarPrimitives, computeFocusTargets, computeGridSpacingPx, computeHandleBoxes, computeHandoutLayout, computeIsMobile, computeIsTablet, computeLinePoints, computeLinearRegression, computePageCount, computePieLayout, computePieSlicePath, computePieSlices, computePlotLayout, computeRSquared, computeRadarPoints, computeResizeHandleBoxes, computeRotateHandleBox, computeScatterDots, computeScatterXDomain, computeSelectionBoxes, computeSingleSelected, computeSlideIndices, computeSnap, computeStackedBarRects, computeStackedValueRange, computeTrendlinePrimitives, computeValueRange, convertOmmlToMathMl, copyFormatFromElement, countAccessibilityIssues, countAnnotationStrokes, createAngularAiBridge, createCustomShow, createSwipeDismissDrag, createWebrtcBundle, createWebsocketBundle, cssObjectToStyleMap, currentColorScheme, currentLayout, currentStyle, defaultCssVars, defaultRadius, defaultThemeColors, deleteElementsByIds, deleteVersion as deleteRecoveryVersion, demoteNode, deriveModel3DBlobUrl, derivePresenceList, describeSmartArtBounds, disableGlowPatch, disableInnerShadowPatch, disableOuterShadowPatch, disableReflectionPatch, disableSoftEdgePatch, duplicateElementById, durationOf, effectsStateOf, enableGlowPatch, enableInnerShadowPatch, enableOuterShadowPatch, enableReflectionPatch, enableSoftEdgePatch, encodeGif, endShowMediaCleanup, estimatePageCount, exitPresentationFullscreen, exportAiChatLogs, extractPathPoints, eyedropperAvailable, fillColorOf, findInSlides, findOwningSlideIndex, findSlideIndexByElementId, firstVisibleIndex, fitPolynomial, fitZoom, focusTargetChips, fontMimeForFormat, fontSizeOf, forgetSessionDeck, formatAxisValue, formatBytes, formatCursorLabel, formatElapsed, formatFileSize, formatPropertyDate, formatTime, fpsToFrameIntervalMs, generateBroadcastRoomId, generateCommentId, generateCustomShowId, generatePressureCircles, generateTicks, getClrChangeParams, getContainerStyle, getDuotoneFilterDef, getEffectSoundState, getImageSrc, getLocalStorageUsageSummary, getOleAriaLabel, getOleBadgeLabel, getOleDisplayName, getOleDownloadFileName, getOleTypeColor, getOleTypeLabel, getPasswordStrength, getPatternSvg, getPlaceholderStyle, getVersions as getRecoveryVersions, getResolvedShapeClipPath, getResolvedShapeClipPathFor, getSessionTabId, getShapeFillStrokeStyle, getSlideBackgroundStyle, getSlideTransitionAnimations, getSmartArtNodeBounds, getSpeechRecognitionCtor, getTextBlockStyle, getTextWarp, getTouchDistance, getWarpCategory, getWarpPath, gradientStateFromStyle, gradientStateOf, gradientStatePatch, gridColumns, groupIssuesBySeverity, hasAnimation, hasCopyableFormat, hasExistingLink, hasExitedFullscreen, hasGradientFill, hasPressureVariation, hasVisibleSlideAfter, headerLabel, imageDimensions, inkViewBox, insertTableElementColumn as insertColumn, insertTableElementRow as insertRow, interpolateWidth, isAudienceTab, isBold, isBrowserOpenableMime, isChildNode, isElementInteractive, isInjectableUrl, isItalic, isLegacyBinaryPresentation, isPpactionUrl, isPresenterMessage, isSigned, isSupportedPresentationFile, isTextElement, isTwoTableFocus, isUnderline, isUrlSafe, isValidRoomId, isViewportBackgroundPressTarget, isZoomActivationKey, issueTrackKey, issueTypeLabel, keyToLabel, lastVisibleIndex, latexToMathml, layoutConnectorPaints, layoutNodeLabels, linePointsToSvgString, lineSpacingPatch, loadAudienceContent, loadSessionDeck, mediaFallbackFor, mediaSurfaceFor, mergeCaptionResults, mergeDown, mergeRight, mergeSelection, moveElementBy, moveNodeDown, moveNodeUp, msToFrameDelayCs, narrowToCircle, narrowToPolygon, narrowToRect, newChartElement, newEquationElement, newPresetShapeElement, newShapeElement, newSmartArtElement, newTableElement, newTextElement, nextVisibleIndex, nodeBold, nodeEditBox, nodeFillColor, nodeFontColor, nodeIdFromKey, nodeItalic, nodeStyle, normalizeFontFormat, normalizeSlidesPerPage, normalizeValue, numFromEvent, ommlToMathml, ooxmlDashToCssBorderStyle, openNativeEyeDropper, overallStatus, paletteColor, parseAudienceNonce, parseNodeTextarea, partitionSlides, patchChartData, patchChartStyle, patchTableData, patchTextStyle, patternPresetOptions, pendingElementStyles, pickColorByClickFallback, pickFile, pickSupportedMimeType, planGifFrames, planVideoSegments, pointsToSvgPathD, presenceToCursors, presentationBaseName, presentationStageStyle, presenterTimerProgress, presetByLayout, presetsForCategory, pressuresToWidths, prevVisibleIndex, projectDrawingShapes, promoteNode, provideViewerTheme, radarAngle, radarRingPoints, readAsDataUrl, recordWebm, registerCrossSlideAudio, rememberSessionDeck, removeAnimation, removeCategory, removeTableElementColumn as removeColumn, removeCommentFromList, removeElementAnimation, removeGradientStopPatch, removeNode, removeTableElementRow as removeRow, removeSeries, renderToCanvas, reorderAnimationDown, reorderAnimationUp, replaceInSlides, replaceMatch, requestPresentationFullscreen, resizeElement, resolveCaptionTracks, resolveChartKind, resolveFontVariant, resolveHyperlinkHref, resolveInteractiveElementId, resolveMediaSrc, resolveOleType, resolveParagraphBullet, resolvePresenterNotes, resolveProfileInitial, resolveRegionCode, resolveSlideAutoAdvanceMs, resolvePalette as resolveSmartArtPalette, resolveThemeCatalogEntry, resolveTransitionDuration, restoreSessionDeck, revealedElementStyles, routeOrthogonalConnector, rowStyle, rulerDragToGuidePosition, rulerHighlight, rulerStripTicks, sampleColorFromSlide, sanitizeColor, sanitizeSlideIndex, sanitizeUserName, saveViewerProfile, savedPresentationFileName, scanAvailableFonts, searchSlides, seedBroadcastFields, seedHyperlinkDraft, seedPropertiesDraft, seedShareFields, segmentFrameCount, selectValue, sendBackward, sendToBack, sequentialColorScale, serializeWriteBack, seriesColor, setAfterAnimation, setAfterAnimationColor, setAnimationEmphasis, setAnimationEntrance, setAnimationExit, setAxis, setAxisLogScale, setAxisTitleStyle, setCategoryLabel, setCellText, setColorScheme, setDataLabels, setDataPointExplosion, setDataPointFill, setDataPointLabel, setDataPointMarker, setDelay, setDirection, setDuration, setEffectSound, setElementPosition, setGridlineStyle, setLayout, setLegend, setNodeStyle, setNodeText, setRepeatCount, setRepeatMode, setSequence, setSeriesChartType, setSeriesColor, setSeriesErrorBars, setSeriesMarker, setSeriesName, setSeriesTrendline, setSeriesValue, setStyle, setTimingCurve, setTitle, setTrigger, setTriggerShapeId, shapeStylePatch, sheetAfterNavigate, shouldBlockClickAdvance, shouldUseSvgWarp, showDirectionPicker, showsTemplateAffordance, signatureCountLabel, signatureKey, signatureTimestamp, signerName, statusLabel as slideDiffStatusLabel, slideNumberOf, slidesWithReappliedLayout, smartArtNodes, paletteColour as smartArtPaletteColour, snapToGridStep, splitCursorCell, splitMergedCell, statusKind, statusLabel$1 as statusLabel, storeAudienceContent, stringFromEvent, strokeColorOf, strokeToInkElement, strokeWidthOf, styleShadowFilter, surfaceColor, textAdvancedPatch, textAdvancedStateFromStyle, textAdvancedStateOf, textColorOf, textDirectionPatch, textStyleOf, textStylePatch, themeStyle, themeToCssVars, thumbnailHeight, thumbnailZoom, toggleCommentResolvedInList, toggleNodeBold, toggleNodeItalic, toggleSheet, topLevelNodeCount, transformSelectedTextCase, translationsEn, updateElementById, updateGlowPatch, updateGradientStopPatch, updateInnerShadowPatch, updateOuterShadowPatch, updateReflectionPatch, vAlignPatch, validatePassword, validatePrintSettings, validateRoomId, valueToY, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, waypointsToPathD, withManualLayouts, worstStatus, zoomTargetSlideIndex };
|
|
22389
22581
|
export type { AccessibilityIssueGroup, AccountAuthConfig, ActionDescriptor, ActiveShow, AiCanvasHighlight, AiChatInitState, AiHistoryInitDeps, AiLogChat, AiLogExport, AiLogFormat, AiLogMessage, AiPanelSelectionAccessors, AlignBox, AlignMode, AnimationClickGroup, AnimationGroup, AnimationPresetCategory, AnimationPresetEntry, AnimationPresetPick, AnnotationInkInsert, AnnotationStroke, AttachTouchGesturesConfig, AwarenessLike, BarRect, Box, BridgeDeps, BroadcastConfig, BroadcastDefaults, CSSProperties, CanvasSize, CellCoord, CellParagraph, CellTextRun, ChartPartRef, ChartPartSelection, ChartValueDrag, ChartViewModel, ClassValue, ClrChangeParams, CollaborationConfig, CollaborationRole, RouterRect as ConnectorObstacle, RouterPoint as ConnectorPoint, ConnectorRouting, CopiedFormat, CornerHandleBox, CustomShow, CustomThemeEdit, DestroyableYDoc, DiagonalBorderInfo, DistributeMode, DocumentProperties, DrawingViewBox, DuotoneFilterDef, EffectSoundState, EffectsState, EmbeddedFontStyles, EquationTemplate, EyedropperResult, FindOptions, FindResult, FocusChip, FocusSelectionInput, GifFrame, GifFramePlan, GifPlanOptions, GlowState, GradientState, GradientStop$1 as GradientStop, HandleBox, HandoutSlidesPerPage, HyperlinkDraft, InkPoint, InkStroke, InlineEditState, InnerShadowState, LegendEntry, LinePoint, LinearFit, LocalIdentity, LocalStorageUsageSummary, LocaleCatalogEntry, MobileSheetKey, Model3DViewModel, MotionPathColumn, MotionPathEntry, NodeEditBox, NotesSegmentViewModel, ObjectUrlFactory, OleActionModel, OleInfoRow, OuterShadowState, OutlineCommit, OverallSignatureStatus, PartitionedSlides, PathPoint, PieSliceGeometry, PieSliceOptions, PlotLayout, PlotLayoutOptions, PositionUpdate, PowerPointViewerAPI, PptxAiBridge, PptxAiConfig, PptxAiConnection, PptxAiContextStrategy, PptxAiElementUpdate, PptxAiToolName, PptxAiUIMessage, PptxAiWritePolicy, PresentToolbarAction, PresentationTool, PresenterExitMessage, PresenterMessage, PresenterNotes, PresenterSlideChangeMessage, PresenterTimerProgress, PressureCircle, PrintColorMode, PrintHtmlDocumentOptions as PrintDocumentOptions, PrintOrientation, PrintSettings, PrintSlideRange, PrintWhat, PropertiesDraft, ProposalView, ProviderBundle, ProviderLike, RadarPoint, RecordWebmOptions, RecoveryVersion, ReflectionState, RemoteCursor, SanitizedPresence as RemotePresence, RenderedShape, ReplaceResult, ResizeHandle, ResolvedCaptionTrack, ResolvedFontVariant, ResolvedOleType, RulerUnit, SavedPresentationFormat, ScatterDot, ScatterXDomain, SelectionBox, SessionDeck, ShapeStyleChanges, ShareDefaults$1 as ShareDefaults, ShareFormFields, ShortcutReferenceItem, SignatureStatusKind, SlideInspectorTab, SlideTransitionAnimations, SmartArtInsertEvent, SmartArtNodeBounds, SnapBox, SnapGuide, SnapResult, SoftEdgeState, SpeechAlternative, SpeechRecognitionCtor, SpeechRecognitionEventLite, SpeechRecognitionLite, SpeechResult, SpeechResultList, SpeechSupportState, StagedProposal, StrokeToInkElementOpts, StyleMap, SupportedChartKind, SvgAreaGradient, SvgCircle, SvgLine, SvgPath, SvgPolygon, SvgPolyline, SvgPrimitive, SvgRect, SvgText, SwipeDismissDrag, TableBooleanFlag, TableCellSelection, TableCellViewModel, TableRowViewModel, TemplateElementsBySlideId, Text3DBevelKeys, TextAdvancedChanges, TextAdvancedState, TextStyleChanges, TextWarpCssDef, TextWarpDef, TextWarpPathDef, ThemeCatalogEntry, Tick, ToolbarActionId, TouchGestureCallbacks, TranslationKey, ValueRange, VideoPlanOptions, VideoSegmentPlan, ViewerMode, ViewerProfile, ViewerSettings, ViewerTheme, ViewerThemeColors, ZoomTranslate, ZoomViewModel };
|
|
22390
22582
|
//# sourceMappingURL=pptx-angular-viewer.d.ts.map
|