pptx-angular-viewer 1.1.40 → 1.1.42

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.40",
3
+ "version": "1.1.42",
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.32",
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, OnDestroy, OnChanges, SimpleChanges, InjectionToken, Provider } from '@angular/core';
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" | "comments" | "accessibility" | "signatures" | "selection" | "element" | null>;
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" | "comments" | "accessibility" | "signatures" | "selection" | "element" | null>;
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, OnDestroy {
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
- /** Horizontal swipe distance (px) required to trigger navigation. */
4560
- private static readonly SWIPE_THRESHOLD;
4561
- /** X coordinate captured on touchstart, or null when no swipe is active. */
4562
- private touchStartX;
4563
- private touchStartY;
4564
- /**
4565
- * Last position seen during the gesture (updated on every touchmove). Some
4566
- * touch dispatchers (e.g. CDP `Input.dispatchTouchEvent`) fire `touchEnd`
4567
- * with an empty `changedTouches` list, so we fall back to the final move
4568
- * coordinates to compute the swipe delta.
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>;
@@ -4710,6 +4735,14 @@ declare class InspectorPanelComponent {
4710
4735
  /** Zero-based index of the active slide. */
4711
4736
  readonly slideIndex: _angular_core.InputSignal<number>;
4712
4737
  protected readonly editor: EditorStateService;
4738
+ /** Reactive viewport / pointer flags (drives the bottom-sheet layout). */
4739
+ protected readonly mobile: IsMobileService;
4740
+ /**
4741
+ * Root class list: gains the `is-mobile` modifier under the mobile
4742
+ * breakpoint so the panel becomes a full-width, touch-sized bottom sheet.
4743
+ * See {@link inspectorRootClass}.
4744
+ */
4745
+ protected readonly inspectorClass: _angular_core.Signal<string>;
4713
4746
  /** Alias so the template can call el() without conflicting with Angular internals. */
4714
4747
  protected readonly el: _angular_core.Signal<PptxElement>;
4715
4748
  /**
@@ -4919,6 +4952,186 @@ declare class ChartDataEditorComponent {
4919
4952
  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
4953
  }
4921
4954
 
4955
+ declare class AdvancedChartEditorComponent {
4956
+ /** The chart element being edited. */
4957
+ readonly element: _angular_core.InputSignal<ChartPptxElement>;
4958
+ /** Whether editing is enabled (read-only mode when false). */
4959
+ readonly canEdit: _angular_core.InputSignal<boolean>;
4960
+ /** Emits the updated element after any edit operation in any child control. */
4961
+ readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
4962
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdvancedChartEditorComponent, never>;
4963
+ 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>;
4964
+ }
4965
+
4966
+ declare class ChartDisplayOptionsComponent {
4967
+ readonly element: _angular_core.InputSignal<ChartPptxElement>;
4968
+ readonly canEdit: _angular_core.InputSignal<boolean>;
4969
+ readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
4970
+ protected readonly legendPositions: readonly ChartOption<string>[];
4971
+ protected readonly style: _angular_core.Signal<pptx_viewer_core.PptxChartStyle>;
4972
+ protected onToggleTitle(event: Event): void;
4973
+ protected onToggleLegend(event: Event): void;
4974
+ protected onLegendPosition(event: Event): void;
4975
+ protected onToggleGridlines(event: Event): void;
4976
+ protected onToggleDataLabels(event: Event): void;
4977
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartDisplayOptionsComponent, never>;
4978
+ 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>;
4979
+ }
4980
+
4981
+ declare class ChartDataLabelOptionsComponent {
4982
+ readonly element: _angular_core.InputSignal<ChartPptxElement>;
4983
+ readonly canEdit: _angular_core.InputSignal<boolean>;
4984
+ readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
4985
+ protected readonly contentOptions: readonly {
4986
+ key: ChartDataLabelContentKey;
4987
+ label: string;
4988
+ }[];
4989
+ protected readonly positionOptions: readonly ChartOption<ChartDataLabelPositionValue>[];
4990
+ protected readonly style: _angular_core.Signal<pptx_viewer_core.PptxChartStyle>;
4991
+ protected readonly labels: _angular_core.Signal<PptxChartDataLabelOptions>;
4992
+ protected onToggleContent(key: ChartDataLabelContentKey, event: Event): void;
4993
+ protected onPosition(event: Event): void;
4994
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartDataLabelOptionsComponent, never>;
4995
+ 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>;
4996
+ }
4997
+
4998
+ /** Axis kinds the inspector exposes, with their label and whether they scale. */
4999
+ interface AxisRow$1 {
5000
+ type: PptxChartAxisType;
5001
+ label: string;
5002
+ hasScale: boolean;
5003
+ axis: PptxChartAxisFormatting;
5004
+ }
5005
+ declare class ChartAxisOptionsComponent {
5006
+ readonly element: _angular_core.InputSignal<ChartPptxElement>;
5007
+ readonly canEdit: _angular_core.InputSignal<boolean>;
5008
+ readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
5009
+ protected readonly scaleFields: readonly {
5010
+ key: "min" | "max" | "majorUnit" | "minorUnit";
5011
+ label: string;
5012
+ }[];
5013
+ protected readonly displayUnitOptions: readonly ChartOption<ChartDisplayUnitsValue>[];
5014
+ protected readonly tickPositionOptions: readonly ChartOption<ChartTickLabelPosition>[];
5015
+ /** Only the axes that actually exist on the chart (pie charts have none). */
5016
+ protected readonly rows: _angular_core.Signal<AxisRow$1[]>;
5017
+ protected numValue(axis: PptxChartAxisFormatting, key: 'min' | 'max' | 'majorUnit' | 'minorUnit'): string;
5018
+ protected onScaleField(axisType: PptxChartAxisType, key: 'min' | 'max' | 'majorUnit' | 'minorUnit', event: Event): void;
5019
+ protected onDisplayUnits(axisType: PptxChartAxisType, event: Event): void;
5020
+ protected onTitleText(axisType: PptxChartAxisType, event: Event): void;
5021
+ protected onNumberFormat(axisType: PptxChartAxisType, event: Event): void;
5022
+ protected onTickPosition(axisType: PptxChartAxisType, event: Event): void;
5023
+ protected onGridlines(axisType: PptxChartAxisType, which: 'major' | 'minor', event: Event): void;
5024
+ private emit;
5025
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartAxisOptionsComponent, never>;
5026
+ 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>;
5027
+ }
5028
+
5029
+ interface AxisRow {
5030
+ type: PptxChartAxisType;
5031
+ label: string;
5032
+ hasScale: boolean;
5033
+ axis: PptxChartAxisFormatting;
5034
+ }
5035
+ declare class ChartAxisStyleOptionsComponent {
5036
+ readonly element: _angular_core.InputSignal<ChartPptxElement>;
5037
+ readonly canEdit: _angular_core.InputSignal<boolean>;
5038
+ readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
5039
+ protected readonly dashOptions: readonly ChartOption<ChartGridlineDashValue>[];
5040
+ protected readonly gridlineKinds: readonly ["major", "minor"];
5041
+ protected readonly rows: _angular_core.Signal<AxisRow[]>;
5042
+ protected gridlineEnabled(axis: PptxChartAxisFormatting, which: 'major' | 'minor'): boolean;
5043
+ protected gridlineSpPr(axis: PptxChartAxisFormatting, which: 'major' | 'minor'): pptx_viewer_core.PptxChartShapeProps | undefined;
5044
+ protected onLogScale(axisType: PptxChartAxisType, axis: PptxChartAxisFormatting, event: Event): void;
5045
+ protected onLogBase(axisType: PptxChartAxisType, event: Event): void;
5046
+ protected onTitleFont(axisType: PptxChartAxisType, event: Event): void;
5047
+ protected onTitleSize(axisType: PptxChartAxisType, event: Event): void;
5048
+ protected onTitleBold(axisType: PptxChartAxisType, event: Event): void;
5049
+ protected onTitleColor(axisType: PptxChartAxisType, event: Event): void;
5050
+ protected onGridlineColor(axisType: PptxChartAxisType, which: 'major' | 'minor', event: Event): void;
5051
+ protected onGridlineWidth(axisType: PptxChartAxisType, which: 'major' | 'minor', event: Event): void;
5052
+ protected onGridlineDash(axisType: PptxChartAxisType, which: 'major' | 'minor', event: Event): void;
5053
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartAxisStyleOptionsComponent, never>;
5054
+ 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>;
5055
+ }
5056
+
5057
+ declare class ChartMarkerOptionsComponent {
5058
+ readonly element: _angular_core.InputSignal<ChartPptxElement>;
5059
+ readonly canEdit: _angular_core.InputSignal<boolean>;
5060
+ readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
5061
+ protected readonly symbolOptions: readonly ChartOption<ChartMarkerSymbolValue>[];
5062
+ protected readonly series: _angular_core.Signal<PptxChartSeries[]>;
5063
+ protected readonly supported: _angular_core.Signal<boolean>;
5064
+ protected onSymbol(index: number, event: Event): void;
5065
+ protected onSize(index: number, event: Event): void;
5066
+ protected onFill(index: number, event: Event): void;
5067
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartMarkerOptionsComponent, never>;
5068
+ 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>;
5069
+ }
5070
+
5071
+ declare class ChartComboTypeOptionsComponent {
5072
+ readonly element: _angular_core.InputSignal<ChartPptxElement>;
5073
+ readonly canEdit: _angular_core.InputSignal<boolean>;
5074
+ readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
5075
+ protected readonly typeOptions: readonly ChartOption<"" | PptxChartType>[];
5076
+ protected readonly series: _angular_core.Signal<PptxChartSeries[]>;
5077
+ protected readonly supported: _angular_core.Signal<boolean>;
5078
+ protected onType(index: number, event: Event): void;
5079
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartComboTypeOptionsComponent, never>;
5080
+ 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>;
5081
+ }
5082
+
5083
+ declare class ChartDatapointOptionsComponent {
5084
+ readonly element: _angular_core.InputSignal<ChartPptxElement>;
5085
+ readonly canEdit: _angular_core.InputSignal<boolean>;
5086
+ readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
5087
+ private readonly seriesIndex;
5088
+ protected readonly series: _angular_core.Signal<PptxChartSeries[]>;
5089
+ protected readonly categories: _angular_core.Signal<string[]>;
5090
+ /** Clamp the chosen series index to the current series count. */
5091
+ protected readonly activeIndex: _angular_core.Signal<number>;
5092
+ protected readonly showExplosion: _angular_core.Signal<boolean>;
5093
+ protected pointAt(pointIndex: number): PptxChartDataPoint | undefined;
5094
+ protected pointFill(pointIndex: number): string;
5095
+ protected onSeries(event: Event): void;
5096
+ protected onFill(pointIndex: number, event: Event): void;
5097
+ protected onClearFill(pointIndex: number): void;
5098
+ protected onExplosion(pointIndex: number, event: Event): void;
5099
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartDatapointOptionsComponent, never>;
5100
+ 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>;
5101
+ }
5102
+
5103
+ declare class ChartTrendlineOptionsComponent {
5104
+ readonly element: _angular_core.InputSignal<ChartPptxElement>;
5105
+ readonly canEdit: _angular_core.InputSignal<boolean>;
5106
+ readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
5107
+ protected readonly typeOptions: readonly ChartOption<ChartTrendlineValue>[];
5108
+ protected readonly series: _angular_core.Signal<PptxChartSeries[]>;
5109
+ protected readonly supported: _angular_core.Signal<boolean>;
5110
+ protected trendlineOf(s: PptxChartSeries): PptxChartTrendline | undefined;
5111
+ protected onType(index: number, s: PptxChartSeries, event: Event): void;
5112
+ protected onToggleEq(index: number, tl: PptxChartTrendline, event: Event): void;
5113
+ protected onToggleRSq(index: number, tl: PptxChartTrendline, event: Event): void;
5114
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartTrendlineOptionsComponent, never>;
5115
+ 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>;
5116
+ }
5117
+
5118
+ declare class ChartErrorBarOptionsComponent {
5119
+ readonly element: _angular_core.InputSignal<ChartPptxElement>;
5120
+ readonly canEdit: _angular_core.InputSignal<boolean>;
5121
+ readonly elementChange: _angular_core.OutputEmitterRef<ChartPptxElement>;
5122
+ protected readonly valTypeOptions: readonly ChartOption<ChartErrorBarValType>[];
5123
+ protected readonly barTypeOptions: readonly ChartOption<ChartErrorBarType>[];
5124
+ protected readonly series: _angular_core.Signal<PptxChartSeries[]>;
5125
+ protected readonly supported: _angular_core.Signal<boolean>;
5126
+ protected barsOf(s: PptxChartSeries): PptxChartErrBars | undefined;
5127
+ protected showValue(bars: PptxChartErrBars): boolean;
5128
+ protected onValType(index: number, s: PptxChartSeries, event: Event): void;
5129
+ protected onBarType(index: number, bars: PptxChartErrBars, event: Event): void;
5130
+ protected onValue(index: number, bars: PptxChartErrBars, event: Event): void;
5131
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartErrorBarOptionsComponent, never>;
5132
+ 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>;
5133
+ }
5134
+
4922
5135
  declare class AnimationAuthorPanelComponent {
4923
5136
  /** The selected element whose animation settings are being authored. */
4924
5137
  readonly element: _angular_core.InputSignal<PptxElement>;
@@ -5791,6 +6004,13 @@ declare class ModalDialogComponent {
5791
6004
  readonly title: _angular_core.InputSignal<string>;
5792
6005
  /** Fired on backdrop click, the `×` button, and `Escape`. */
5793
6006
  readonly close: _angular_core.OutputEmitterRef<void>;
6007
+ /** Reactive viewport / pointer flags (drives the bottom-sheet layout). */
6008
+ protected readonly mobile: IsMobileService;
6009
+ /**
6010
+ * Panel class list: gains the `is-mobile` bottom-sheet modifier under the
6011
+ * mobile breakpoint. See {@link modalPanelClass}.
6012
+ */
6013
+ protected readonly panelClass: _angular_core.Signal<string>;
5794
6014
  /** Close on `Escape`, regardless of where focus currently sits. */
5795
6015
  onDocumentKeydown(event: KeyboardEvent): void;
5796
6016
  requestClose(): void;
@@ -6022,6 +6242,13 @@ declare class PrintDialogComponent {
6022
6242
  readonly print: _angular_core.OutputEmitterRef<PrintSettings>;
6023
6243
  /** Emits when the dialog is dismissed (Cancel / Escape / backdrop). */
6024
6244
  readonly cancel: _angular_core.OutputEmitterRef<void>;
6245
+ /** Reactive viewport / pointer flags (drives the bottom-sheet layout). */
6246
+ protected readonly mobile: IsMobileService;
6247
+ /**
6248
+ * Dialog class list: gains the `is-mobile` bottom-sheet modifier under the
6249
+ * mobile breakpoint. See {@link printDialogClass}.
6250
+ */
6251
+ protected readonly dialogClass: _angular_core.Signal<string>;
6025
6252
  /** Authoritative print settings, seeded from defaults. */
6026
6253
  readonly settings: _angular_core.WritableSignal<PrintSettings>;
6027
6254
  private _seeded;
@@ -6607,5 +6834,5 @@ declare function themeStyle(theme: ViewerTheme | undefined): Record<string, stri
6607
6834
  type ClassValue = string | number | false | null | undefined;
6608
6835
  declare function cn(...values: ClassValue[]): string;
6609
6836
 
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 };
6837
+ 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
6838
  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 };