pptx-angular-viewer 1.1.39 → 1.1.41
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pptx-angular-viewer",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.41",
|
|
4
4
|
"description": "Angular PowerPoint viewer and editor component: render, edit, and export PPTX slides in the browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"html2canvas-pro": "^2.0.4",
|
|
45
45
|
"jspdf": "^4.2.1",
|
|
46
46
|
"jszip": "^3.10.1",
|
|
47
|
-
"pptx-viewer-core": "^1.1.
|
|
47
|
+
"pptx-viewer-core": "^1.1.33",
|
|
48
48
|
"tslib": "^2.8.1"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { Signal, OnInit,
|
|
2
|
+
import { Signal, OnInit, OnChanges, SimpleChanges, InjectionToken, Provider } from '@angular/core';
|
|
3
3
|
import * as pptx_viewer_core from 'pptx-viewer-core';
|
|
4
|
-
import { ShapeStyle, PptxTextWarpPreset, XmlObject, PptxElementAnimation, PptxSlide, PptxElement, TextStyle, PptxTransitionType, PptxEmbeddedFont, AccessibilityIssueSeverity, AccessibilityIssue, AccessibilityIssueType, AccessibilityCheckOptions, PptxComment, PptxTheme, PptxSlideMaster, PptxCoreProperties, ParsedSignature, PptxTableCell, PptxThemePreset, InkPptxElement, TextSegment, Model3DPptxElement, ZoomPptxElement, PptxSlideTransition, TablePptxElement, ChartPptxElement, SmartArtPptxElement, PptxSmartArtData, PptxAnimationPreset, PptxAnimationTrigger, PptxAnimationTimingCurve, PptxAnimationRepeatMode, PptxAnimationDirection, PptxAnimationSequence, SignatureStatus } from 'pptx-viewer-core';
|
|
4
|
+
import { ShapeStyle, PptxTextWarpPreset, XmlObject, PptxElementAnimation, PptxSlide, PptxElement, TextStyle, PptxTransitionType, PptxEmbeddedFont, AccessibilityIssueSeverity, AccessibilityIssue, AccessibilityIssueType, AccessibilityCheckOptions, PptxComment, PptxTheme, PptxSlideMaster, PptxCoreProperties, ParsedSignature, PptxTableCell, PptxThemePreset, InkPptxElement, TextSegment, Model3DPptxElement, ZoomPptxElement, PptxSlideTransition, TablePptxElement, ChartPptxElement, SmartArtPptxElement, PptxSmartArtData, PptxChartDataLabelOptions, PptxChartAxisType, PptxChartAxisFormatting, PptxChartSeries, PptxChartType, PptxChartDataPoint, PptxChartTrendline, PptxChartErrBars, PptxAnimationPreset, PptxAnimationTrigger, PptxAnimationTimingCurve, PptxAnimationRepeatMode, PptxAnimationDirection, PptxAnimationSequence, SignatureStatus } from 'pptx-viewer-core';
|
|
5
5
|
import * as pptx_angular_viewer from 'pptx-angular-viewer';
|
|
6
6
|
import { Options } from 'html2canvas-pro';
|
|
7
7
|
import { SafeHtml } from '@angular/platform-browser';
|
|
@@ -330,6 +330,43 @@ declare function convertOmmlToMathMl(ommlNode: OmmlNode): string;
|
|
|
330
330
|
*/
|
|
331
331
|
declare function ommlToMathml(omml: OmmlNode | string): string;
|
|
332
332
|
|
|
333
|
+
/**
|
|
334
|
+
* Chart-inspector option catalogues: the pure, framework-agnostic value lists
|
|
335
|
+
* (and supported-type Sets) that drive the advanced chart editor's selects and
|
|
336
|
+
* conditional sections. Lifted out of the per-binding inspector code so React,
|
|
337
|
+
* Vue, and Angular consume one source of truth instead of duplicating the
|
|
338
|
+
* (long) option arrays.
|
|
339
|
+
*
|
|
340
|
+
* Names mirror React's local `chart-panel-constants.ts` (minus the i18n label
|
|
341
|
+
* keys). Labels here are plain ASCII display strings; bindings that localise
|
|
342
|
+
* (React's i18n) keep their own label-key tables, while the value lists,
|
|
343
|
+
* supported-type Sets, and row metadata are what is genuinely shared.
|
|
344
|
+
*/
|
|
345
|
+
|
|
346
|
+
/** Display units selectable for a value axis (empty string = none). */
|
|
347
|
+
type ChartDisplayUnitsValue = '' | 'hundreds' | 'thousands' | 'tenThousands' | 'hundredThousands' | 'millions' | 'tenMillions' | 'hundredMillions' | 'billions' | 'trillions';
|
|
348
|
+
/** Tick-label positions for an axis. */
|
|
349
|
+
type ChartTickLabelPosition = 'nextTo' | 'high' | 'low' | 'none';
|
|
350
|
+
/** Data-label content flags (chart-level `c:show*`). */
|
|
351
|
+
type ChartDataLabelContentKey = 'showValue' | 'showCategory' | 'showSeriesName' | 'showPercent' | 'showLegendKey';
|
|
352
|
+
/** Data-label position values (empty string = type default). */
|
|
353
|
+
type ChartDataLabelPositionValue = '' | 'ctr' | 'inEnd' | 'inBase' | 'outEnd' | 'bestFit';
|
|
354
|
+
/** Trendline regression types (empty string = none). */
|
|
355
|
+
type ChartTrendlineValue = '' | 'linear' | 'exponential' | 'logarithmic' | 'polynomial' | 'power' | 'movingAvg';
|
|
356
|
+
/** Error-bar value calculation types (empty string = none). */
|
|
357
|
+
type ChartErrorBarValType = '' | 'fixedVal' | 'percentage' | 'stdDev' | 'stdErr';
|
|
358
|
+
/** Error-bar display directions. */
|
|
359
|
+
type ChartErrorBarType = 'both' | 'plus' | 'minus';
|
|
360
|
+
/** Marker symbols (empty string = auto, omits the marker). */
|
|
361
|
+
type ChartMarkerSymbolValue = '' | 'none' | 'circle' | 'square' | 'diamond' | 'triangle' | 'x' | 'star' | 'plus' | 'dot' | 'dash';
|
|
362
|
+
/** Gridline dash styles (empty string = default). */
|
|
363
|
+
type ChartGridlineDashValue = '' | 'solid' | 'dash' | 'dot' | 'dashDot' | 'lgDash' | 'sysDash' | 'sysDot';
|
|
364
|
+
/** A simple value/label option for a `<select>`. */
|
|
365
|
+
interface ChartOption<V> {
|
|
366
|
+
value: V;
|
|
367
|
+
label: string;
|
|
368
|
+
}
|
|
369
|
+
|
|
333
370
|
/**
|
|
334
371
|
* chart-view-model.ts - framework-agnostic SVG-primitive chart engine.
|
|
335
372
|
*
|
|
@@ -3021,9 +3058,9 @@ declare class PowerPointViewerComponent {
|
|
|
3021
3058
|
* `accessibility`/`signatures` render regardless of edit mode; the rest need
|
|
3022
3059
|
* `canEdit`.
|
|
3023
3060
|
*/
|
|
3024
|
-
protected readonly inspectorContent: _angular_core.Signal<"slide" | "
|
|
3061
|
+
protected readonly inspectorContent: _angular_core.Signal<"slide" | "element" | "comments" | "accessibility" | "signatures" | "selection" | null>;
|
|
3025
3062
|
/** Inspector content, but null on mobile once the user has swiped it away. */
|
|
3026
|
-
protected readonly visibleInspectorKind: _angular_core.Signal<"slide" | "
|
|
3063
|
+
protected readonly visibleInspectorKind: _angular_core.Signal<"slide" | "element" | "comments" | "accessibility" | "signatures" | "selection" | null>;
|
|
3027
3064
|
/** Accessible label for the inspector host, by active content. */
|
|
3028
3065
|
protected readonly inspectorLabel: _angular_core.Signal<"" | "Comments" | "Slide properties" | "Accessibility checker" | "Digital signatures" | "Selection pane" | "Element properties">;
|
|
3029
3066
|
/**
|
|
@@ -4503,7 +4540,7 @@ declare class PresentationAnnotationsService {
|
|
|
4503
4540
|
*
|
|
4504
4541
|
* Click on the overlay body → advance to next visible slide.
|
|
4505
4542
|
*/
|
|
4506
|
-
declare class PresentationOverlayComponent implements OnInit
|
|
4543
|
+
declare class PresentationOverlayComponent implements OnInit {
|
|
4507
4544
|
readonly slides: _angular_core.InputSignal<PptxSlide[]>;
|
|
4508
4545
|
readonly canvasSize: _angular_core.InputSignal<CanvasSize>;
|
|
4509
4546
|
readonly mediaDataUrls: _angular_core.InputSignal<Map<string, string>>;
|
|
@@ -4528,6 +4565,8 @@ declare class PresentationOverlayComponent implements OnInit, OnDestroy {
|
|
|
4528
4565
|
protected readonly subtitlesVisible: _angular_core.WritableSignal<boolean>;
|
|
4529
4566
|
/** The slide stage root; animation styles are applied to its elements. */
|
|
4530
4567
|
private readonly stageRef;
|
|
4568
|
+
/** The overlay root; the shared touch-gesture recogniser attaches here. */
|
|
4569
|
+
private readonly rootRef;
|
|
4531
4570
|
constructor();
|
|
4532
4571
|
/**
|
|
4533
4572
|
* Imperatively apply animation reveal / pending CSS to the slide's element
|
|
@@ -4556,21 +4595,17 @@ declare class PresentationOverlayComponent implements OnInit, OnDestroy {
|
|
|
4556
4595
|
protected readonly prevButtonStyle: Record<string, string>;
|
|
4557
4596
|
protected readonly nextButtonStyle: Record<string, string>;
|
|
4558
4597
|
protected readonly counterStyle: Record<string, string>;
|
|
4559
|
-
/**
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
*
|
|
4566
|
-
*
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
*/
|
|
4570
|
-
private touchLastX;
|
|
4571
|
-
private touchLastY;
|
|
4598
|
+
/**
|
|
4599
|
+
* Wire the shared touch-gesture recogniser to the overlay root so a
|
|
4600
|
+
* horizontal swipe navigates: swipe left (direction -1) advances to the
|
|
4601
|
+
* next visible slide, swipe right (direction 1) returns to the previous,
|
|
4602
|
+
* matching the prior bespoke handler's semantics. Pinch is made inert
|
|
4603
|
+
* (equal min/max scale, no-op getScale) and there is no long-press in
|
|
4604
|
+
* presentation mode. Attach happens once the root node is live
|
|
4605
|
+
* (afterNextRender) and is torn down on destroy.
|
|
4606
|
+
*/
|
|
4607
|
+
private setupTouchGestures;
|
|
4572
4608
|
ngOnInit(): void;
|
|
4573
|
-
ngOnDestroy(): void;
|
|
4574
4609
|
onWindowResize(): void;
|
|
4575
4610
|
private snapViewport;
|
|
4576
4611
|
onKeyDown(event: KeyboardEvent): void;
|
|
@@ -4593,16 +4628,6 @@ declare class PresentationOverlayComponent implements OnInit, OnDestroy {
|
|
|
4593
4628
|
/** Next-edge button: stop propagation so the tap does not double-fire. */
|
|
4594
4629
|
protected onNext(event: MouseEvent): void;
|
|
4595
4630
|
protected onNextTouch(event: TouchEvent): void;
|
|
4596
|
-
/** Record the initial touch position. */
|
|
4597
|
-
protected onTouchStart(event: TouchEvent): void;
|
|
4598
|
-
/** Track the latest gesture position so touchend can compute the delta even
|
|
4599
|
-
* when the touchend event carries no `changedTouches`. */
|
|
4600
|
-
protected onTouchMove(event: TouchEvent): void;
|
|
4601
|
-
/**
|
|
4602
|
-
* On touchend, treat a predominantly horizontal drag past the threshold as a
|
|
4603
|
-
* swipe: left-swipe → next, right-swipe → prev.
|
|
4604
|
-
*/
|
|
4605
|
-
protected onTouchEnd(event: TouchEvent): void;
|
|
4606
4631
|
private navigate;
|
|
4607
4632
|
private emitClosed;
|
|
4608
4633
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PresentationOverlayComponent, never>;
|
|
@@ -4919,6 +4944,186 @@ declare class ChartDataEditorComponent {
|
|
|
4919
4944
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartDataEditorComponent, "pptx-chart-data-editor", never, { "element": { "alias": "element"; "required": true; "isSignal": true; }; "canEdit": { "alias": "canEdit"; "required": false; "isSignal": true; }; }, { "elementChange": "elementChange"; }, never, never, true, never>;
|
|
4920
4945
|
}
|
|
4921
4946
|
|
|
4947
|
+
declare class AdvancedChartEditorComponent {
|
|
4948
|
+
/** The chart element being edited. */
|
|
4949
|
+
readonly element: _angular_core.InputSignal<ChartPptxElement>;
|
|
4950
|
+
/** Whether editing is enabled (read-only mode when false). */
|
|
4951
|
+
readonly canEdit: _angular_core.InputSignal<boolean>;
|
|
4952
|
+
/** Emits the updated element after any edit operation in any child control. */
|
|
4953
|
+
readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
|
|
4954
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdvancedChartEditorComponent, never>;
|
|
4955
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdvancedChartEditorComponent, "pptx-advanced-chart-editor", never, { "element": { "alias": "element"; "required": true; "isSignal": true; }; "canEdit": { "alias": "canEdit"; "required": false; "isSignal": true; }; }, { "elementChange": "elementChange"; }, never, never, true, never>;
|
|
4956
|
+
}
|
|
4957
|
+
|
|
4958
|
+
declare class ChartDisplayOptionsComponent {
|
|
4959
|
+
readonly element: _angular_core.InputSignal<ChartPptxElement>;
|
|
4960
|
+
readonly canEdit: _angular_core.InputSignal<boolean>;
|
|
4961
|
+
readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
|
|
4962
|
+
protected readonly legendPositions: readonly ChartOption<string>[];
|
|
4963
|
+
protected readonly style: _angular_core.Signal<pptx_viewer_core.PptxChartStyle>;
|
|
4964
|
+
protected onToggleTitle(event: Event): void;
|
|
4965
|
+
protected onToggleLegend(event: Event): void;
|
|
4966
|
+
protected onLegendPosition(event: Event): void;
|
|
4967
|
+
protected onToggleGridlines(event: Event): void;
|
|
4968
|
+
protected onToggleDataLabels(event: Event): void;
|
|
4969
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartDisplayOptionsComponent, never>;
|
|
4970
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartDisplayOptionsComponent, "pptx-chart-display-options", never, { "element": { "alias": "element"; "required": true; "isSignal": true; }; "canEdit": { "alias": "canEdit"; "required": false; "isSignal": true; }; }, { "elementChange": "elementChange"; }, never, never, true, never>;
|
|
4971
|
+
}
|
|
4972
|
+
|
|
4973
|
+
declare class ChartDataLabelOptionsComponent {
|
|
4974
|
+
readonly element: _angular_core.InputSignal<ChartPptxElement>;
|
|
4975
|
+
readonly canEdit: _angular_core.InputSignal<boolean>;
|
|
4976
|
+
readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
|
|
4977
|
+
protected readonly contentOptions: readonly {
|
|
4978
|
+
key: ChartDataLabelContentKey;
|
|
4979
|
+
label: string;
|
|
4980
|
+
}[];
|
|
4981
|
+
protected readonly positionOptions: readonly ChartOption<ChartDataLabelPositionValue>[];
|
|
4982
|
+
protected readonly style: _angular_core.Signal<pptx_viewer_core.PptxChartStyle>;
|
|
4983
|
+
protected readonly labels: _angular_core.Signal<PptxChartDataLabelOptions>;
|
|
4984
|
+
protected onToggleContent(key: ChartDataLabelContentKey, event: Event): void;
|
|
4985
|
+
protected onPosition(event: Event): void;
|
|
4986
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartDataLabelOptionsComponent, never>;
|
|
4987
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartDataLabelOptionsComponent, "pptx-chart-data-label-options", never, { "element": { "alias": "element"; "required": true; "isSignal": true; }; "canEdit": { "alias": "canEdit"; "required": false; "isSignal": true; }; }, { "elementChange": "elementChange"; }, never, never, true, never>;
|
|
4988
|
+
}
|
|
4989
|
+
|
|
4990
|
+
/** Axis kinds the inspector exposes, with their label and whether they scale. */
|
|
4991
|
+
interface AxisRow$1 {
|
|
4992
|
+
type: PptxChartAxisType;
|
|
4993
|
+
label: string;
|
|
4994
|
+
hasScale: boolean;
|
|
4995
|
+
axis: PptxChartAxisFormatting;
|
|
4996
|
+
}
|
|
4997
|
+
declare class ChartAxisOptionsComponent {
|
|
4998
|
+
readonly element: _angular_core.InputSignal<ChartPptxElement>;
|
|
4999
|
+
readonly canEdit: _angular_core.InputSignal<boolean>;
|
|
5000
|
+
readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
|
|
5001
|
+
protected readonly scaleFields: readonly {
|
|
5002
|
+
key: "min" | "max" | "majorUnit" | "minorUnit";
|
|
5003
|
+
label: string;
|
|
5004
|
+
}[];
|
|
5005
|
+
protected readonly displayUnitOptions: readonly ChartOption<ChartDisplayUnitsValue>[];
|
|
5006
|
+
protected readonly tickPositionOptions: readonly ChartOption<ChartTickLabelPosition>[];
|
|
5007
|
+
/** Only the axes that actually exist on the chart (pie charts have none). */
|
|
5008
|
+
protected readonly rows: _angular_core.Signal<AxisRow$1[]>;
|
|
5009
|
+
protected numValue(axis: PptxChartAxisFormatting, key: 'min' | 'max' | 'majorUnit' | 'minorUnit'): string;
|
|
5010
|
+
protected onScaleField(axisType: PptxChartAxisType, key: 'min' | 'max' | 'majorUnit' | 'minorUnit', event: Event): void;
|
|
5011
|
+
protected onDisplayUnits(axisType: PptxChartAxisType, event: Event): void;
|
|
5012
|
+
protected onTitleText(axisType: PptxChartAxisType, event: Event): void;
|
|
5013
|
+
protected onNumberFormat(axisType: PptxChartAxisType, event: Event): void;
|
|
5014
|
+
protected onTickPosition(axisType: PptxChartAxisType, event: Event): void;
|
|
5015
|
+
protected onGridlines(axisType: PptxChartAxisType, which: 'major' | 'minor', event: Event): void;
|
|
5016
|
+
private emit;
|
|
5017
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartAxisOptionsComponent, never>;
|
|
5018
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartAxisOptionsComponent, "pptx-chart-axis-options", never, { "element": { "alias": "element"; "required": true; "isSignal": true; }; "canEdit": { "alias": "canEdit"; "required": false; "isSignal": true; }; }, { "elementChange": "elementChange"; }, never, never, true, never>;
|
|
5019
|
+
}
|
|
5020
|
+
|
|
5021
|
+
interface AxisRow {
|
|
5022
|
+
type: PptxChartAxisType;
|
|
5023
|
+
label: string;
|
|
5024
|
+
hasScale: boolean;
|
|
5025
|
+
axis: PptxChartAxisFormatting;
|
|
5026
|
+
}
|
|
5027
|
+
declare class ChartAxisStyleOptionsComponent {
|
|
5028
|
+
readonly element: _angular_core.InputSignal<ChartPptxElement>;
|
|
5029
|
+
readonly canEdit: _angular_core.InputSignal<boolean>;
|
|
5030
|
+
readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
|
|
5031
|
+
protected readonly dashOptions: readonly ChartOption<ChartGridlineDashValue>[];
|
|
5032
|
+
protected readonly gridlineKinds: readonly ["major", "minor"];
|
|
5033
|
+
protected readonly rows: _angular_core.Signal<AxisRow[]>;
|
|
5034
|
+
protected gridlineEnabled(axis: PptxChartAxisFormatting, which: 'major' | 'minor'): boolean;
|
|
5035
|
+
protected gridlineSpPr(axis: PptxChartAxisFormatting, which: 'major' | 'minor'): pptx_viewer_core.PptxChartShapeProps | undefined;
|
|
5036
|
+
protected onLogScale(axisType: PptxChartAxisType, axis: PptxChartAxisFormatting, event: Event): void;
|
|
5037
|
+
protected onLogBase(axisType: PptxChartAxisType, event: Event): void;
|
|
5038
|
+
protected onTitleFont(axisType: PptxChartAxisType, event: Event): void;
|
|
5039
|
+
protected onTitleSize(axisType: PptxChartAxisType, event: Event): void;
|
|
5040
|
+
protected onTitleBold(axisType: PptxChartAxisType, event: Event): void;
|
|
5041
|
+
protected onTitleColor(axisType: PptxChartAxisType, event: Event): void;
|
|
5042
|
+
protected onGridlineColor(axisType: PptxChartAxisType, which: 'major' | 'minor', event: Event): void;
|
|
5043
|
+
protected onGridlineWidth(axisType: PptxChartAxisType, which: 'major' | 'minor', event: Event): void;
|
|
5044
|
+
protected onGridlineDash(axisType: PptxChartAxisType, which: 'major' | 'minor', event: Event): void;
|
|
5045
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartAxisStyleOptionsComponent, never>;
|
|
5046
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartAxisStyleOptionsComponent, "pptx-chart-axis-style-options", never, { "element": { "alias": "element"; "required": true; "isSignal": true; }; "canEdit": { "alias": "canEdit"; "required": false; "isSignal": true; }; }, { "elementChange": "elementChange"; }, never, never, true, never>;
|
|
5047
|
+
}
|
|
5048
|
+
|
|
5049
|
+
declare class ChartMarkerOptionsComponent {
|
|
5050
|
+
readonly element: _angular_core.InputSignal<ChartPptxElement>;
|
|
5051
|
+
readonly canEdit: _angular_core.InputSignal<boolean>;
|
|
5052
|
+
readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
|
|
5053
|
+
protected readonly symbolOptions: readonly ChartOption<ChartMarkerSymbolValue>[];
|
|
5054
|
+
protected readonly series: _angular_core.Signal<PptxChartSeries[]>;
|
|
5055
|
+
protected readonly supported: _angular_core.Signal<boolean>;
|
|
5056
|
+
protected onSymbol(index: number, event: Event): void;
|
|
5057
|
+
protected onSize(index: number, event: Event): void;
|
|
5058
|
+
protected onFill(index: number, event: Event): void;
|
|
5059
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartMarkerOptionsComponent, never>;
|
|
5060
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartMarkerOptionsComponent, "pptx-chart-marker-options", never, { "element": { "alias": "element"; "required": true; "isSignal": true; }; "canEdit": { "alias": "canEdit"; "required": false; "isSignal": true; }; }, { "elementChange": "elementChange"; }, never, never, true, never>;
|
|
5061
|
+
}
|
|
5062
|
+
|
|
5063
|
+
declare class ChartComboTypeOptionsComponent {
|
|
5064
|
+
readonly element: _angular_core.InputSignal<ChartPptxElement>;
|
|
5065
|
+
readonly canEdit: _angular_core.InputSignal<boolean>;
|
|
5066
|
+
readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
|
|
5067
|
+
protected readonly typeOptions: readonly ChartOption<"" | PptxChartType>[];
|
|
5068
|
+
protected readonly series: _angular_core.Signal<PptxChartSeries[]>;
|
|
5069
|
+
protected readonly supported: _angular_core.Signal<boolean>;
|
|
5070
|
+
protected onType(index: number, event: Event): void;
|
|
5071
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartComboTypeOptionsComponent, never>;
|
|
5072
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartComboTypeOptionsComponent, "pptx-chart-combo-type-options", never, { "element": { "alias": "element"; "required": true; "isSignal": true; }; "canEdit": { "alias": "canEdit"; "required": false; "isSignal": true; }; }, { "elementChange": "elementChange"; }, never, never, true, never>;
|
|
5073
|
+
}
|
|
5074
|
+
|
|
5075
|
+
declare class ChartDatapointOptionsComponent {
|
|
5076
|
+
readonly element: _angular_core.InputSignal<ChartPptxElement>;
|
|
5077
|
+
readonly canEdit: _angular_core.InputSignal<boolean>;
|
|
5078
|
+
readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
|
|
5079
|
+
private readonly seriesIndex;
|
|
5080
|
+
protected readonly series: _angular_core.Signal<PptxChartSeries[]>;
|
|
5081
|
+
protected readonly categories: _angular_core.Signal<string[]>;
|
|
5082
|
+
/** Clamp the chosen series index to the current series count. */
|
|
5083
|
+
protected readonly activeIndex: _angular_core.Signal<number>;
|
|
5084
|
+
protected readonly showExplosion: _angular_core.Signal<boolean>;
|
|
5085
|
+
protected pointAt(pointIndex: number): PptxChartDataPoint | undefined;
|
|
5086
|
+
protected pointFill(pointIndex: number): string;
|
|
5087
|
+
protected onSeries(event: Event): void;
|
|
5088
|
+
protected onFill(pointIndex: number, event: Event): void;
|
|
5089
|
+
protected onClearFill(pointIndex: number): void;
|
|
5090
|
+
protected onExplosion(pointIndex: number, event: Event): void;
|
|
5091
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartDatapointOptionsComponent, never>;
|
|
5092
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartDatapointOptionsComponent, "pptx-chart-datapoint-options", never, { "element": { "alias": "element"; "required": true; "isSignal": true; }; "canEdit": { "alias": "canEdit"; "required": false; "isSignal": true; }; }, { "elementChange": "elementChange"; }, never, never, true, never>;
|
|
5093
|
+
}
|
|
5094
|
+
|
|
5095
|
+
declare class ChartTrendlineOptionsComponent {
|
|
5096
|
+
readonly element: _angular_core.InputSignal<ChartPptxElement>;
|
|
5097
|
+
readonly canEdit: _angular_core.InputSignal<boolean>;
|
|
5098
|
+
readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
|
|
5099
|
+
protected readonly typeOptions: readonly ChartOption<ChartTrendlineValue>[];
|
|
5100
|
+
protected readonly series: _angular_core.Signal<PptxChartSeries[]>;
|
|
5101
|
+
protected readonly supported: _angular_core.Signal<boolean>;
|
|
5102
|
+
protected trendlineOf(s: PptxChartSeries): PptxChartTrendline | undefined;
|
|
5103
|
+
protected onType(index: number, s: PptxChartSeries, event: Event): void;
|
|
5104
|
+
protected onToggleEq(index: number, tl: PptxChartTrendline, event: Event): void;
|
|
5105
|
+
protected onToggleRSq(index: number, tl: PptxChartTrendline, event: Event): void;
|
|
5106
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartTrendlineOptionsComponent, never>;
|
|
5107
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartTrendlineOptionsComponent, "pptx-chart-trendline-options", never, { "element": { "alias": "element"; "required": true; "isSignal": true; }; "canEdit": { "alias": "canEdit"; "required": false; "isSignal": true; }; }, { "elementChange": "elementChange"; }, never, never, true, never>;
|
|
5108
|
+
}
|
|
5109
|
+
|
|
5110
|
+
declare class ChartErrorBarOptionsComponent {
|
|
5111
|
+
readonly element: _angular_core.InputSignal<ChartPptxElement>;
|
|
5112
|
+
readonly canEdit: _angular_core.InputSignal<boolean>;
|
|
5113
|
+
readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
|
|
5114
|
+
protected readonly valTypeOptions: readonly ChartOption<ChartErrorBarValType>[];
|
|
5115
|
+
protected readonly barTypeOptions: readonly ChartOption<ChartErrorBarType>[];
|
|
5116
|
+
protected readonly series: _angular_core.Signal<PptxChartSeries[]>;
|
|
5117
|
+
protected readonly supported: _angular_core.Signal<boolean>;
|
|
5118
|
+
protected barsOf(s: PptxChartSeries): PptxChartErrBars | undefined;
|
|
5119
|
+
protected showValue(bars: PptxChartErrBars): boolean;
|
|
5120
|
+
protected onValType(index: number, s: PptxChartSeries, event: Event): void;
|
|
5121
|
+
protected onBarType(index: number, bars: PptxChartErrBars, event: Event): void;
|
|
5122
|
+
protected onValue(index: number, bars: PptxChartErrBars, event: Event): void;
|
|
5123
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartErrorBarOptionsComponent, never>;
|
|
5124
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartErrorBarOptionsComponent, "pptx-chart-error-bar-options", never, { "element": { "alias": "element"; "required": true; "isSignal": true; }; "canEdit": { "alias": "canEdit"; "required": false; "isSignal": true; }; }, { "elementChange": "elementChange"; }, never, never, true, never>;
|
|
5125
|
+
}
|
|
5126
|
+
|
|
4922
5127
|
declare class AnimationAuthorPanelComponent {
|
|
4923
5128
|
/** The selected element whose animation settings are being authored. */
|
|
4924
5129
|
readonly element: _angular_core.InputSignal<PptxElement>;
|
|
@@ -6607,5 +6812,5 @@ declare function themeStyle(theme: ViewerTheme | undefined): Record<string, stri
|
|
|
6607
6812
|
type ClassValue = string | number | false | null | undefined;
|
|
6608
6813
|
declare function cn(...values: ClassValue[]): string;
|
|
6609
6814
|
|
|
6610
|
-
export { AccessibilityPanelComponent, AccessibilityService, AnimationAuthorPanelComponent, AnimationPanelComponent, AnimationPlaybackService, BroadcastDialogComponent, CURSOR_PALETTE, ChartDataEditorComponent, ChartRendererComponent, CollaborationCursorsComponent, CollaborationService, CommentsPanelComponent, CommentsService, ConnectorRendererComponent, ConnectorTextOverlayComponent, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_FILL_COLOR, DEFAULT_PRINT_SETTINGS, DEFAULT_SLIDE_BACKGROUND, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, EMBEDDED_FONTS_STYLE_ID, EditorContextMenuComponent, EditorHistory, EditorStateService, EditorToolbarComponent, EffectsPanelComponent, ElementRendererComponent, EmbeddedFontsService, EquationRendererComponent, ExportService, FindBarComponent, FindReplaceBarComponent, GradientPickerComponent, HANDOUT_OPTIONS, HyperlinkDialogComponent, InkRendererComponent, InspectorPanelComponent, IsMobileService, LoadContentService, MobileBottomBarComponent, MobileMenuSheetComponent, MobilePresenterViewComponent, MobileSheetComponent, MobileSlidesSheetComponent, MobileToolbarComponent, ModalDialogComponent, Model3DRendererComponent, NotesPanelComponent, OleRendererComponent, PowerPointViewerComponent, PresentationAnnotationOverlayComponent, PresentationAnnotationsService, PresentationOverlayComponent, PresentationSubtitleBarComponent, PresentationTransitionOverlayComponent, PresenterViewComponent, PrintDialogComponent, PrintService, PrintSettingsPanelComponent, PropertiesDialogComponent, RESIZE_HANDLES, SEVERITY_GROUPS, SEVERITY_LABELS, SLIDE_TRANSITION_KEYFRAMES, SVG_WARP_PRESETS, ShareDialogComponent, SignaturesPanelComponent, SignaturesService, SlideCanvasComponent, SlideSorterOverlayComponent, SlidesPanelComponent, SmartArtRendererComponent, TYPE_LABELS, TableDataEditorComponent, TableRendererComponent, TextAdvancedPanelComponent, VIEWER_THEME, WEBM_MIME_CANDIDATES, ZoomRendererComponent, addCommentToList, advanceStep, applyFindReplacements, applyFormatToElement, applyMove, applyResize, assignUserColor, bringForward, bringToFront, buildBroadcastConfig, buildBroadcastViewerUrl, buildClearHyperlinkPatch, buildClickGroups, buildCollaborationConfig, buildCssGradientFromShapeStyle, buildDuotoneFilter, buildDuotoneFilterId, buildEmbeddedFontStyles, buildFontFaceRule, buildHyperlinkPatch, buildPatternFillCss, buildPrintHtmlDocument as buildPrintDocument, buildPropertiesPatch, buildShareUrl, bulletIndentPx, canStartBroadcast, canStartShare, canUseClipboard, clampCursorPosition, clampGifDimensions, clampNotesFontSize, clampStep, cn, collectAccessibilityIssues, collectElementText, collectSlideText, computeHandoutLayout, computeIsMobile, computeIsTablet, computePageCount, computeSlideIndices, computeTimerProgress, convertOmmlToMathMl, copyFormatFromElement, countAccessibilityIssues, defaultCssVars, defaultRadius, defaultThemeColors, deleteElementsByIds, derivePresenceList, duplicateElementById, durationOf, encodeGif, estimatePageCount, findInSlides, fontMimeForFormat, formatAutoNumber, formatCursorLabel, formatElapsed, formatPropertyDate, formatTime, fpsToFrameIntervalMs, generateBroadcastRoomId, generateCommentId, getContainerStyle, getDuotoneFilterDef, getImageSrc, getPatternSvg, getResolvedShapeClipPath, getResolvedShapeClipPathFor, getShapeFillStrokeStyle, getSlideBackgroundStyle, getSlideTransitionAnimations, getTextBlockStyle, getTextWarp, getWarpCategory, getWarpPath, groupIssuesBySeverity, hasCopyableFormat, hasExistingLink, headerLabel, isInjectableUrl, isPpactionUrl, isSigned, isUrlSafe, isValidRoomId, issueTrackKey, issueTypeLabel, moveElementBy, msToFrameDelayCs, normalizeFontFormat, normalizeSlidesPerPage, ommlToMathml, overallStatus, pendingElementStyles, pickSupportedMimeType, planGifFrames, planVideoSegments, presenceToCursors, provideViewerTheme, recordWebm, removeCommentFromList, renderToCanvas, replaceInSlides, replaceMatch, resizeElement, resolveFontVariant, resolveHyperlinkHref, resolveParagraphBullet, resolvePresenterNotes, resolveTransitionDuration, revealedElementStyles, routeOrthogonalConnector, sanitizeColor, sanitizeSlideIndex, sanitizeUserName, searchSlides, seedBroadcastFields, seedHyperlinkDraft, seedPropertiesDraft, seedShareFields, segmentFrameCount, sendBackward, sendToBack, setElementPosition, shouldUseSvgWarp, signatureCountLabel, signatureKey, signatureTimestamp, signerName, statusKind, statusLabel, themeStyle, themeToCssVars, toggleCommentResolvedInList, updateElementById, validatePrintSettings, validateRoomId, waypointsToPathD, worstStatus };
|
|
6815
|
+
export { AccessibilityPanelComponent, AccessibilityService, AdvancedChartEditorComponent, AnimationAuthorPanelComponent, AnimationPanelComponent, AnimationPlaybackService, BroadcastDialogComponent, CURSOR_PALETTE, ChartAxisOptionsComponent, ChartAxisStyleOptionsComponent, ChartComboTypeOptionsComponent, ChartDataEditorComponent, ChartDataLabelOptionsComponent, ChartDatapointOptionsComponent, ChartDisplayOptionsComponent, ChartErrorBarOptionsComponent, ChartMarkerOptionsComponent, ChartRendererComponent, ChartTrendlineOptionsComponent, CollaborationCursorsComponent, CollaborationService, CommentsPanelComponent, CommentsService, ConnectorRendererComponent, ConnectorTextOverlayComponent, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_CANVAS_HEIGHT, DEFAULT_CANVAS_WIDTH, DEFAULT_FILL_COLOR, DEFAULT_PRINT_SETTINGS, DEFAULT_SLIDE_BACKGROUND, DEFAULT_STROKE_COLOR, DEFAULT_TEXT_COLOR, EMBEDDED_FONTS_STYLE_ID, EditorContextMenuComponent, EditorHistory, EditorStateService, EditorToolbarComponent, EffectsPanelComponent, ElementRendererComponent, EmbeddedFontsService, EquationRendererComponent, ExportService, FindBarComponent, FindReplaceBarComponent, GradientPickerComponent, HANDOUT_OPTIONS, HyperlinkDialogComponent, InkRendererComponent, InspectorPanelComponent, IsMobileService, LoadContentService, MobileBottomBarComponent, MobileMenuSheetComponent, MobilePresenterViewComponent, MobileSheetComponent, MobileSlidesSheetComponent, MobileToolbarComponent, ModalDialogComponent, Model3DRendererComponent, NotesPanelComponent, OleRendererComponent, PowerPointViewerComponent, PresentationAnnotationOverlayComponent, PresentationAnnotationsService, PresentationOverlayComponent, PresentationSubtitleBarComponent, PresentationTransitionOverlayComponent, PresenterViewComponent, PrintDialogComponent, PrintService, PrintSettingsPanelComponent, PropertiesDialogComponent, RESIZE_HANDLES, SEVERITY_GROUPS, SEVERITY_LABELS, SLIDE_TRANSITION_KEYFRAMES, SVG_WARP_PRESETS, ShareDialogComponent, SignaturesPanelComponent, SignaturesService, SlideCanvasComponent, SlideSorterOverlayComponent, SlidesPanelComponent, SmartArtRendererComponent, TYPE_LABELS, TableDataEditorComponent, TableRendererComponent, TextAdvancedPanelComponent, VIEWER_THEME, WEBM_MIME_CANDIDATES, ZoomRendererComponent, addCommentToList, advanceStep, applyFindReplacements, applyFormatToElement, applyMove, applyResize, assignUserColor, bringForward, bringToFront, buildBroadcastConfig, buildBroadcastViewerUrl, buildClearHyperlinkPatch, buildClickGroups, buildCollaborationConfig, buildCssGradientFromShapeStyle, buildDuotoneFilter, buildDuotoneFilterId, buildEmbeddedFontStyles, buildFontFaceRule, buildHyperlinkPatch, buildPatternFillCss, buildPrintHtmlDocument as buildPrintDocument, buildPropertiesPatch, buildShareUrl, bulletIndentPx, canStartBroadcast, canStartShare, canUseClipboard, clampCursorPosition, clampGifDimensions, clampNotesFontSize, clampStep, cn, collectAccessibilityIssues, collectElementText, collectSlideText, computeHandoutLayout, computeIsMobile, computeIsTablet, computePageCount, computeSlideIndices, computeTimerProgress, convertOmmlToMathMl, copyFormatFromElement, countAccessibilityIssues, defaultCssVars, defaultRadius, defaultThemeColors, deleteElementsByIds, derivePresenceList, duplicateElementById, durationOf, encodeGif, estimatePageCount, findInSlides, fontMimeForFormat, formatAutoNumber, formatCursorLabel, formatElapsed, formatPropertyDate, formatTime, fpsToFrameIntervalMs, generateBroadcastRoomId, generateCommentId, getContainerStyle, getDuotoneFilterDef, getImageSrc, getPatternSvg, getResolvedShapeClipPath, getResolvedShapeClipPathFor, getShapeFillStrokeStyle, getSlideBackgroundStyle, getSlideTransitionAnimations, getTextBlockStyle, getTextWarp, getWarpCategory, getWarpPath, groupIssuesBySeverity, hasCopyableFormat, hasExistingLink, headerLabel, isInjectableUrl, isPpactionUrl, isSigned, isUrlSafe, isValidRoomId, issueTrackKey, issueTypeLabel, moveElementBy, msToFrameDelayCs, normalizeFontFormat, normalizeSlidesPerPage, ommlToMathml, overallStatus, pendingElementStyles, pickSupportedMimeType, planGifFrames, planVideoSegments, presenceToCursors, provideViewerTheme, recordWebm, removeCommentFromList, renderToCanvas, replaceInSlides, replaceMatch, resizeElement, resolveFontVariant, resolveHyperlinkHref, resolveParagraphBullet, resolvePresenterNotes, resolveTransitionDuration, revealedElementStyles, routeOrthogonalConnector, sanitizeColor, sanitizeSlideIndex, sanitizeUserName, searchSlides, seedBroadcastFields, seedHyperlinkDraft, seedPropertiesDraft, seedShareFields, segmentFrameCount, sendBackward, sendToBack, setElementPosition, shouldUseSvgWarp, signatureCountLabel, signatureKey, signatureTimestamp, signerName, statusKind, statusLabel, themeStyle, themeToCssVars, toggleCommentResolvedInList, updateElementById, validatePrintSettings, validateRoomId, waypointsToPathD, worstStatus };
|
|
6611
6816
|
export type { AccessibilityIssueGroup, AnimationClickGroup, AnnotationStroke, Box, BroadcastConfig, BroadcastDefaults, CSSProperties, CanvasSize, ClassValue, CollaborationConfig, CollaborationRole, RouterRect as ConnectorObstacle, RouterPoint as ConnectorPoint, ConnectorRouting, CopiedFormat, DocumentProperties, DuotoneFilterDef, EmbeddedFontStyles, FindOptions, FindResult, GifFrame, GifFramePlan, GifPlanOptions, HandoutSlidesPerPage, HyperlinkDraft, NotesSegmentViewModel, ObjectUrlFactory, OverallSignatureStatus, PresentationTool, PresenterNotes, PrintColorMode, PrintHtmlDocumentOptions as PrintDocumentOptions, PrintOrientation, PrintSettings, PrintSlideRange, PrintWhat, PropertiesDraft, RecordWebmOptions, RemoteCursor, SanitizedPresence as RemotePresence, ReplaceResult, ResizeHandle, ResolvedFontVariant, ShareDefaults, ShareFormFields, SignatureStatusKind, SlideTransitionAnimations, StyleMap, TextWarpCssDef, TextWarpDef, TextWarpPathDef, TimerProgress, VideoPlanOptions, VideoSegmentPlan, ViewerTheme, ViewerThemeColors };
|