@office-open/core 0.10.14 → 0.11.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.
Files changed (83) hide show
  1. package/README.md +2 -1
  2. package/dist/chart/index.d.mts +2 -2
  3. package/dist/chart/index.mjs +2 -2
  4. package/dist/chart-Kf_utasF.mjs +1780 -0
  5. package/dist/chart-Kf_utasF.mjs.map +1 -0
  6. package/dist/color-mapping-CFF0vRSe.mjs +117 -0
  7. package/dist/color-mapping-CFF0vRSe.mjs.map +1 -0
  8. package/dist/descriptor/index.d.mts +2 -2
  9. package/dist/descriptor/index.mjs +1 -1
  10. package/dist/{descriptor-BjNkn5jo.mjs → descriptor-BX8xW8na.mjs} +6 -2
  11. package/dist/{descriptor-BjNkn5jo.mjs.map → descriptor-BX8xW8na.mjs.map} +1 -1
  12. package/dist/drawing/index.d.mts +2 -0
  13. package/dist/drawing/index.mjs +2 -0
  14. package/dist/{drawingml-sj1J3lb0.mjs → drawing-FBzd2I0m.mjs} +2596 -1518
  15. package/dist/drawing-FBzd2I0m.mjs.map +1 -0
  16. package/dist/{converters-C_Y2QX1w.mjs → generators-CElPsAhd.mjs} +699 -258
  17. package/dist/generators-CElPsAhd.mjs.map +1 -0
  18. package/dist/index-BsTUn4K1.d.mts +28 -0
  19. package/dist/index-BsTUn4K1.d.mts.map +1 -0
  20. package/dist/index-C0ClOhmZ.d.mts +869 -0
  21. package/dist/index-C0ClOhmZ.d.mts.map +1 -0
  22. package/dist/{index-BVK2dv6C.d.mts → index-CLX7gU9J.d.mts} +8 -3
  23. package/dist/index-CLX7gU9J.d.mts.map +1 -0
  24. package/dist/index-Cgz88FU0.d.mts +308 -0
  25. package/dist/index-Cgz88FU0.d.mts.map +1 -0
  26. package/dist/{index-CE53SwpZ.d.mts → index-CnjCK-lF.d.mts} +497 -351
  27. package/dist/index-CnjCK-lF.d.mts.map +1 -0
  28. package/dist/{index-BfHfKuKy.d.mts → index-DpPeyf5f.d.mts} +61 -20
  29. package/dist/index-DpPeyf5f.d.mts.map +1 -0
  30. package/dist/index-DxwLMnBF.d.mts +384 -0
  31. package/dist/index-DxwLMnBF.d.mts.map +1 -0
  32. package/dist/index.d.mts +175 -22
  33. package/dist/index.d.mts.map +1 -1
  34. package/dist/index.mjs +523 -70
  35. package/dist/index.mjs.map +1 -1
  36. package/dist/patch/index.mjs +1 -1
  37. package/dist/{patch-BmRfghOo.mjs → patch-3KLx2yEP.mjs} +4 -4
  38. package/dist/patch-3KLx2yEP.mjs.map +1 -0
  39. package/dist/smartart/index.d.mts +2 -2
  40. package/dist/smartart/index.mjs +2 -2
  41. package/dist/smartart-BxnkROOp.mjs +1649 -0
  42. package/dist/smartart-BxnkROOp.mjs.map +1 -0
  43. package/dist/style-matrix-DAP6XrLv.mjs +123 -0
  44. package/dist/style-matrix-DAP6XrLv.mjs.map +1 -0
  45. package/dist/theme/index.d.mts +4 -2
  46. package/dist/theme/index.mjs +3 -2
  47. package/dist/theme-OAuRcA9_.mjs +460 -0
  48. package/dist/theme-OAuRcA9_.mjs.map +1 -0
  49. package/dist/theme-options-BbWccl85.d.mts +109 -0
  50. package/dist/theme-options-BbWccl85.d.mts.map +1 -0
  51. package/dist/util/index.d.mts +3 -3
  52. package/dist/util/index.mjs +3 -3
  53. package/dist/{util-Tq9PSjK0.mjs → util-C94-JKtp.mjs} +175 -429
  54. package/dist/util-C94-JKtp.mjs.map +1 -0
  55. package/dist/{values-8di32lIe.d.mts → values-aVoirbWB.d.mts} +4 -2
  56. package/dist/values-aVoirbWB.d.mts.map +1 -0
  57. package/dist/vector/index.d.mts +2 -0
  58. package/dist/vector/index.mjs +2 -0
  59. package/dist/vector-TpjW6ZSc.mjs +3092 -0
  60. package/dist/vector-TpjW6ZSc.mjs.map +1 -0
  61. package/package.json +15 -7
  62. package/dist/chart-DIGJna_6.mjs +0 -582
  63. package/dist/chart-DIGJna_6.mjs.map +0 -1
  64. package/dist/converters-C_Y2QX1w.mjs.map +0 -1
  65. package/dist/drawingml/index.d.mts +0 -2
  66. package/dist/drawingml/index.mjs +0 -2
  67. package/dist/drawingml-sj1J3lb0.mjs.map +0 -1
  68. package/dist/index-BVK2dv6C.d.mts.map +0 -1
  69. package/dist/index-BfHfKuKy.d.mts.map +0 -1
  70. package/dist/index-CE53SwpZ.d.mts.map +0 -1
  71. package/dist/index-D6VE-MnJ.d.mts +0 -43
  72. package/dist/index-D6VE-MnJ.d.mts.map +0 -1
  73. package/dist/index-DE4CLElr.d.mts +0 -145
  74. package/dist/index-DE4CLElr.d.mts.map +0 -1
  75. package/dist/index-DlPA26cw.d.mts +0 -91
  76. package/dist/index-DlPA26cw.d.mts.map +0 -1
  77. package/dist/patch-BmRfghOo.mjs.map +0 -1
  78. package/dist/smartart-B7ukZ-Tw.mjs +0 -305
  79. package/dist/smartart-B7ukZ-Tw.mjs.map +0 -1
  80. package/dist/theme-CiNzdl-9.mjs +0 -177
  81. package/dist/theme-CiNzdl-9.mjs.map +0 -1
  82. package/dist/util-Tq9PSjK0.mjs.map +0 -1
  83. package/dist/values-8di32lIe.d.mts.map +0 -1
@@ -1,9 +1,9 @@
1
- import { f as CustomDescriptor, h as WriteContext, m as ReadContext } from "./index-BVK2dv6C.mjs";
1
+ import { f as CustomDescriptor, h as WriteContext, m as ReadContext } from "./index-CLX7gU9J.mjs";
2
2
  import { t as DataType } from "./data-type-CZMKVaaT.mjs";
3
- import { s as UniversalMeasure } from "./values-8di32lIe.mjs";
3
+ import { s as UniversalMeasure } from "./values-aVoirbWB.mjs";
4
4
  import { Element } from "@office-open/xml";
5
5
 
6
- //#region src/drawingml/color/color-transform.d.ts
6
+ //#region src/drawing/color/color-transform.d.ts
7
7
  interface ColorTransformOptions {
8
8
  tint?: number;
9
9
  shade?: number;
@@ -36,7 +36,7 @@ interface ColorTransformOptions {
36
36
  }
37
37
  declare const createColorTransforms: (options: ColorTransformOptions) => readonly string[];
38
38
  //#endregion
39
- //#region src/drawingml/color/hsl-color.d.ts
39
+ //#region src/drawing/color/hsl-color.d.ts
40
40
  interface HslColorOptions {
41
41
  hue: number;
42
42
  saturation: number;
@@ -45,7 +45,7 @@ interface HslColorOptions {
45
45
  }
46
46
  declare const createHslColor: (options: HslColorOptions) => string;
47
47
  //#endregion
48
- //#region src/drawingml/color/preset-color.d.ts
48
+ //#region src/drawing/color/preset-color.d.ts
49
49
  declare const PresetColor: {
50
50
  readonly ALICE_BLUE: "aliceBlue";
51
51
  readonly ANTIQUE_WHITE: "antiqueWhite";
@@ -201,23 +201,23 @@ interface PresetColorOptions {
201
201
  }
202
202
  declare const createPresetColor: (options: PresetColorOptions) => string;
203
203
  //#endregion
204
- //#region src/drawingml/color/rgb-color.d.ts
204
+ //#region src/drawing/color/rgb-color.d.ts
205
205
  interface RgbColorOptions {
206
206
  value: string;
207
207
  transforms?: ColorTransformOptions;
208
208
  }
209
209
  declare const createRgbColor: (options: RgbColorOptions) => string;
210
210
  //#endregion
211
- //#region src/drawingml/color/sc-rgb-color.d.ts
211
+ //#region src/drawing/color/sc-rgb-color.d.ts
212
212
  interface ScRgbColorOptions {
213
- r: string;
214
- g: string;
215
- b: string;
213
+ r: number;
214
+ g: number;
215
+ b: number;
216
216
  transforms?: ColorTransformOptions;
217
217
  }
218
218
  declare const createScRgbColor: (options: ScRgbColorOptions) => string;
219
219
  //#endregion
220
- //#region src/drawingml/color/scheme-color.d.ts
220
+ //#region src/drawing/color/scheme-color.d.ts
221
221
  interface SchemeColorOptions {
222
222
  value: (typeof SchemeColor)[keyof typeof SchemeColor];
223
223
  transforms?: ColorTransformOptions;
@@ -243,7 +243,7 @@ declare const SchemeColor: {
243
243
  };
244
244
  declare const createSchemeColor: (options: SchemeColorOptions) => string;
245
245
  //#endregion
246
- //#region src/drawingml/color/system-color.d.ts
246
+ //#region src/drawing/color/system-color.d.ts
247
247
  declare const SystemColor: {
248
248
  readonly SCROLL_BAR: "scrollBar";
249
249
  readonly BACKGROUND: "background";
@@ -283,42 +283,42 @@ interface SystemColorOptions {
283
283
  }
284
284
  declare const createSystemColor: (options: SystemColorOptions) => string;
285
285
  //#endregion
286
- //#region src/drawingml/color/solid-fill.d.ts
286
+ //#region src/drawing/color/solid-fill.d.ts
287
287
  type SolidFillOptions = ScRgbColorOptions | RgbColorOptions | SchemeColorOptions | HslColorOptions | SystemColorOptions | PresetColorOptions;
288
288
  declare const createColorElement: (color: SolidFillOptions) => string;
289
289
  declare const createSolidFill: (options: SolidFillOptions) => string;
290
290
  //#endregion
291
- //#region src/drawingml/blip/blip-effects.d.ts
292
- interface LuminanceEffectOptions$1 {
291
+ //#region src/drawing/blip/blip-effects.d.ts
292
+ interface LuminanceEffectOptions {
293
293
  bright?: number;
294
294
  contrast?: number;
295
295
  }
296
- interface HSLEffectOptions$1 {
296
+ interface HSLEffectOptions {
297
297
  hue?: number;
298
298
  saturation?: number;
299
299
  luminance?: number;
300
300
  }
301
- interface TintEffectOptions$1 {
301
+ interface TintEffectOptions {
302
302
  hue?: number;
303
303
  amount?: number;
304
304
  }
305
- interface DuotoneEffectOptions$1 {
305
+ interface DuotoneEffectOptions {
306
306
  color1: SolidFillOptions;
307
307
  color2: SolidFillOptions;
308
308
  }
309
309
  interface BiLevelEffectOptions {
310
310
  threshold: number;
311
311
  }
312
- interface AlphaReplaceEffectOptions$1 {
313
- amount: number;
312
+ interface AlphaReplaceEffectOptions {
313
+ alpha: number;
314
314
  }
315
- interface AlphaBiLevelEffectOptions$1 {
315
+ interface AlphaBiLevelEffectOptions {
316
316
  threshold: number;
317
317
  }
318
- interface AlphaModulateFixedEffectOptions$1 {
318
+ interface AlphaModulateFixedEffectOptions {
319
319
  amount?: number;
320
320
  }
321
- interface ColorChangeEffectOptions$1 {
321
+ interface ColorChangeEffectOptions {
322
322
  from: SolidFillOptions;
323
323
  to: SolidFillOptions;
324
324
  useAlpha?: boolean;
@@ -332,24 +332,24 @@ interface BlipBlurEffectOptions {
332
332
  }
333
333
  interface BlipEffectsOptions {
334
334
  grayscale?: boolean;
335
- luminance?: LuminanceEffectOptions$1;
336
- hsl?: HSLEffectOptions$1;
337
- tint?: TintEffectOptions$1;
338
- duotone?: DuotoneEffectOptions$1;
335
+ luminance?: LuminanceEffectOptions;
336
+ hsl?: HSLEffectOptions;
337
+ tint?: TintEffectOptions;
338
+ duotone?: DuotoneEffectOptions;
339
339
  biLevel?: BiLevelEffectOptions;
340
340
  alphaCeiling?: boolean;
341
341
  alphaFloor?: boolean;
342
342
  alphaInverse?: SolidFillOptions;
343
- alphaModFix?: AlphaModulateFixedEffectOptions$1;
344
- alphaRepl?: AlphaReplaceEffectOptions$1;
345
- alphaBiLevel?: AlphaBiLevelEffectOptions$1;
346
- colorChange?: ColorChangeEffectOptions$1;
347
- colorRepl?: ColorReplaceEffectOptions;
343
+ alphaModulateFixed?: AlphaModulateFixedEffectOptions;
344
+ alphaReplace?: AlphaReplaceEffectOptions;
345
+ alphaBiLevel?: AlphaBiLevelEffectOptions;
346
+ colorChange?: ColorChangeEffectOptions;
347
+ colorReplace?: ColorReplaceEffectOptions;
348
348
  blur?: BlipBlurEffectOptions;
349
349
  }
350
350
  declare const createBlipEffects: (options: BlipEffectsOptions) => string[];
351
351
  //#endregion
352
- //#region src/drawingml/blip/source-rectangle.d.ts
352
+ //#region src/drawing/blip/source-rectangle.d.ts
353
353
  interface SourceRectangleOptions {
354
354
  left?: number;
355
355
  top?: number;
@@ -358,50 +358,25 @@ interface SourceRectangleOptions {
358
358
  }
359
359
  declare const createSourceRectangle: (options?: SourceRectangleOptions) => string;
360
360
  //#endregion
361
- //#region src/drawingml/blip/tile.d.ts
362
- declare const TileFlipMode$1: {
363
- readonly NONE: "none";
364
- readonly X: "x";
365
- readonly Y: "y";
366
- readonly XY: "xy";
367
- };
368
- declare const TileAlignment: {
369
- readonly TOP_LEFT: "topLeft";
370
- readonly TOP: "top";
371
- readonly TOP_RIGHT: "topRight";
372
- readonly LEFT: "left";
373
- readonly CENTER: "center";
374
- readonly RIGHT: "right";
375
- readonly BOTTOM_LEFT: "bottomLeft";
376
- readonly BOTTOM: "bottom";
377
- readonly BOTTOM_RIGHT: "bottomRight";
378
- };
361
+ //#region src/drawing/blip/tile.d.ts
362
+ type TileFlipMode = "none" | "x" | "y" | "xy";
363
+ type TileAlignment = "topLeft" | "top" | "topRight" | "left" | "center" | "right" | "bottomLeft" | "bottom" | "bottomRight";
379
364
  interface TileOptions {
380
- tx?: number;
381
- ty?: number;
365
+ tx?: number | UniversalMeasure;
366
+ ty?: number | UniversalMeasure;
382
367
  sx?: number;
383
368
  sy?: number;
384
- flip?: (typeof TileFlipMode$1)[keyof typeof TileFlipMode$1];
385
- align?: (typeof TileAlignment)[keyof typeof TileAlignment];
369
+ flip?: TileFlipMode;
370
+ alignment?: TileAlignment;
386
371
  }
387
372
  declare const createTileInfo: (options?: TileOptions) => string;
388
373
  //#endregion
389
- //#region src/drawingml/fill/gradient-fill.d.ts
374
+ //#region src/drawing/fill/gradient-fill.d.ts
390
375
  interface GradientStop {
391
376
  position: number;
392
377
  color: SolidFillOptions;
393
378
  }
394
- declare const PathShadeType: {
395
- readonly SHAPE: "shape";
396
- readonly CIRCLE: "circle";
397
- readonly RECT: "rect";
398
- };
399
- declare const TileFlipMode: {
400
- readonly NONE: "none";
401
- readonly X: "x";
402
- readonly Y: "y";
403
- readonly XY: "xy";
404
- };
379
+ type PathShade = "shape" | "circle" | "rect";
405
380
  interface LinearShadeOptions {
406
381
  angle?: number;
407
382
  scaled?: boolean;
@@ -413,21 +388,21 @@ interface RelativeRect {
413
388
  bottom?: string;
414
389
  }
415
390
  interface PathShadeOptions {
416
- path?: (typeof PathShadeType)[keyof typeof PathShadeType];
391
+ path?: PathShade;
417
392
  fillToRectangle?: RelativeRect;
418
393
  }
419
394
  type GradientShadeOptions = LinearShadeOptions | PathShadeOptions;
420
395
  interface GradientFillOptions {
421
396
  stops: readonly GradientStop[];
422
397
  shade?: GradientShadeOptions;
423
- flip?: (typeof TileFlipMode)[keyof typeof TileFlipMode];
398
+ flip?: TileFlipMode;
424
399
  tileRectangle?: RelativeRect;
425
400
  rotateWithShape?: boolean;
426
401
  }
427
402
  declare const createGradientStop: (stop: GradientStop) => string;
428
403
  declare const createGradientFill: (options: GradientFillOptions) => string;
429
404
  //#endregion
430
- //#region src/drawingml/fill/fill-options.d.ts
405
+ //#region src/drawing/fill/fill-options.d.ts
431
406
  interface GradientStopOptions {
432
407
  position: number;
433
408
  color: string | SolidFillOptions;
@@ -473,10 +448,10 @@ type FillOptions = string | {
473
448
  declare const extractBlipFillMedia: (fill: FillOptions, nameAllocator?: (type: string) => string) => BlipFillMediaData | undefined;
474
449
  declare const buildFill: (options: FillOptions, embedPlaceholder?: string) => string;
475
450
  //#endregion
476
- //#region src/drawingml/fill/no-fill.d.ts
451
+ //#region src/drawing/fill/no-fill.d.ts
477
452
  declare const createNoFill: () => string;
478
453
  //#endregion
479
- //#region src/drawingml/fill/pattern-fill.d.ts
454
+ //#region src/drawing/fill/pattern-fill.d.ts
480
455
  declare const PresetPattern: {
481
456
  readonly PCT5: "percent5";
482
457
  readonly PCT10: "percent10";
@@ -540,99 +515,55 @@ interface PatternFillOptions {
540
515
  }
541
516
  declare const createPatternFill: (options: PatternFillOptions) => string;
542
517
  //#endregion
543
- //#region src/drawingml/fill/group-fill.d.ts
518
+ //#region src/drawing/fill/group-fill.d.ts
544
519
  declare const createGroupFill: () => string;
545
520
  //#endregion
546
- //#region src/drawingml/outline/custom-dash.d.ts
521
+ //#region src/drawing/outline/custom-dash.d.ts
547
522
  interface DashStop {
548
523
  d: string;
549
524
  sp: string;
550
525
  }
551
526
  declare const createCustomDash: (stops: readonly DashStop[]) => string;
552
527
  //#endregion
553
- //#region src/drawingml/outline/line-end.d.ts
554
- declare const LineEndType: {
555
- readonly NONE: "none";
556
- readonly TRIANGLE: "triangle";
557
- readonly STEALTH: "stealth";
558
- readonly DIAMOND: "diamond";
559
- readonly OVAL: "oval";
560
- readonly ARROW: "arrow";
561
- };
562
- declare const LineEndWidth: {
563
- readonly SMALL: "small";
564
- readonly MEDIUM: "medium";
565
- readonly LARGE: "large";
566
- };
567
- declare const LineEndLength: {
568
- readonly SMALL: "small";
569
- readonly MEDIUM: "medium";
570
- readonly LARGE: "large";
571
- };
528
+ //#region src/drawing/outline/line-end.d.ts
529
+ type LineEndType = "none" | "triangle" | "stealth" | "diamond" | "oval" | "arrow";
530
+ type LineEndWidth = "small" | "medium" | "large";
531
+ type LineEndLength = "small" | "medium" | "large";
572
532
  interface LineEndOptions {
573
- type: (typeof LineEndType)[keyof typeof LineEndType];
574
- width?: (typeof LineEndWidth)[keyof typeof LineEndWidth];
575
- length?: (typeof LineEndLength)[keyof typeof LineEndLength];
533
+ type: LineEndType;
534
+ width?: LineEndWidth;
535
+ length?: LineEndLength;
576
536
  }
577
537
  declare const createLineEnd: (name: string, options: LineEndOptions) => string;
578
538
  //#endregion
579
- //#region src/drawingml/outline/outline.d.ts
580
- declare const LineCap: {
581
- readonly ROUND: "round";
582
- readonly SQUARE: "square";
583
- readonly FLAT: "flat";
584
- };
585
- declare const CompoundLine: {
586
- readonly SINGLE: "single";
587
- readonly DOUBLE: "double";
588
- readonly THICK_THIN: "thickThin";
589
- readonly THIN_THICK: "thinThick";
590
- readonly TRI: "triple";
591
- };
592
- declare const PenAlignment: {
593
- readonly CENTER: "center";
594
- readonly INSET: "inside";
595
- };
596
- declare const PresetDash: {
597
- readonly SOLID: "solid";
598
- readonly DOT: "dot";
599
- readonly DASH: "dash";
600
- readonly LG_DASH: "lgDash";
601
- readonly DASH_DOT: "dashDot";
602
- readonly LG_DASH_DOT: "lgDashDot";
603
- readonly LG_DASH_DOT_DOT: "lgDashDotDot";
604
- readonly SYS_DASH: "sysDash";
605
- readonly SYS_DOT: "sysDot";
606
- readonly SYS_DASH_DOT: "sysDashDot";
607
- readonly SYS_DASH_DOT_DOT: "sysDashDotDot";
608
- };
609
- declare const LineJoin: {
610
- readonly ROUND: "round";
611
- readonly BEVEL: "bevel";
612
- readonly MITER: "miter";
613
- };
539
+ //#region src/drawing/outline/outline.d.ts
540
+ type LineCap = "round" | "square" | "flat";
541
+ type CompoundLine = "single" | "double" | "thickThin" | "thinThick" | "triple";
542
+ type PenAlignment = "center" | "inside";
543
+ type PresetDash = "solid" | "dot" | "dash" | "lgDash" | "dashDot" | "lgDashDot" | "lgDashDotDot" | "sysDash" | "sysDot" | "sysDashDot" | "sysDashDotDot";
544
+ type LineJoin = "round" | "bevel" | "miter";
614
545
  interface OutlineProperties {
615
546
  width?: number | UniversalMeasure;
616
- cap?: (typeof LineCap)[keyof typeof LineCap];
617
- compoundLine?: (typeof CompoundLine)[keyof typeof CompoundLine];
618
- align?: (typeof PenAlignment)[keyof typeof PenAlignment];
619
- dash?: (typeof PresetDash)[keyof typeof PresetDash];
547
+ cap?: LineCap;
548
+ compoundLine?: CompoundLine;
549
+ alignment?: PenAlignment;
550
+ dash?: PresetDash;
620
551
  customDash?: readonly DashStop[];
621
- join?: (typeof LineJoin)[keyof typeof LineJoin];
552
+ join?: LineJoin;
622
553
  miterLimit?: number;
623
554
  headEnd?: LineEndOptions;
624
555
  tailEnd?: LineEndOptions;
625
556
  }
626
557
  interface OutlineFillProperties {
627
558
  type?: "noFill" | "solidFill" | "gradFill" | "pattFill";
628
- color?: SolidFillOptions;
559
+ color?: SolidFillOptions | string;
629
560
  gradientFill?: GradientFillOptions;
630
561
  patternFill?: PatternFillOptions;
631
562
  }
632
563
  type OutlineOptions = OutlineProperties & OutlineFillProperties;
633
564
  declare const createOutline: (options: OutlineOptions) => string;
634
565
  //#endregion
635
- //#region src/drawingml/effects/fill-overlay.d.ts
566
+ //#region src/drawing/effects/fill-overlay.d.ts
636
567
  declare const BlendMode: {
637
568
  readonly OVER: "over";
638
569
  readonly MULTIPLY: "multiply";
@@ -650,87 +581,56 @@ interface FillOverlayEffectOptions {
650
581
  }
651
582
  declare const createFillOverlayEffect: (options: FillOverlayEffectOptions) => string;
652
583
  //#endregion
653
- //#region src/drawingml/effects/glow.d.ts
584
+ //#region src/drawing/effects/glow.d.ts
654
585
  interface GlowEffectOptions {
655
- radius?: number;
586
+ radius?: number | UniversalMeasure;
656
587
  color: SolidFillOptions;
657
588
  }
658
589
  declare const createGlowEffect: (options: GlowEffectOptions) => string;
659
590
  //#endregion
660
- //#region src/drawingml/effects/inner-shadow.d.ts
591
+ //#region src/drawing/effects/inner-shadow.d.ts
661
592
  interface InnerShadowEffectOptions {
662
- blurRadius?: number;
663
- distance?: number;
593
+ blurRadius?: number | UniversalMeasure;
594
+ distance?: number | UniversalMeasure;
664
595
  direction?: number;
665
596
  color: SolidFillOptions;
666
597
  }
667
598
  declare const createInnerShadowEffect: (options: InnerShadowEffectOptions) => string;
668
599
  //#endregion
669
- //#region src/drawingml/effects/outer-shadow.d.ts
670
- declare const RectAlignment: {
671
- readonly TOP_LEFT: "topLeft";
672
- readonly TOP: "top";
673
- readonly TOP_RIGHT: "topRight";
674
- readonly LEFT: "left";
675
- readonly CENTER: "center";
676
- readonly RIGHT: "right";
677
- readonly BOTTOM_LEFT: "bottomLeft";
678
- readonly BOTTOM: "bottom";
679
- readonly BOTTOM_RIGHT: "bottomRight";
680
- };
600
+ //#region src/drawing/effects/outer-shadow.d.ts
601
+ type RectAlignment = "topLeft" | "top" | "topRight" | "left" | "center" | "right" | "bottomLeft" | "bottom" | "bottomRight";
681
602
  interface OuterShadowEffectOptions {
682
- blurRadius?: number;
683
- distance?: number;
603
+ blurRadius?: number | UniversalMeasure;
604
+ distance?: number | UniversalMeasure;
684
605
  direction?: number;
685
606
  scaleX?: number;
686
607
  scaleY?: number;
687
608
  skewX?: number;
688
609
  skewY?: number;
689
- alignment?: (typeof RectAlignment)[keyof typeof RectAlignment];
610
+ alignment?: RectAlignment;
690
611
  rotWithShape?: boolean;
691
612
  color: SolidFillOptions;
692
613
  }
693
614
  declare const createOuterShadowEffect: (options: OuterShadowEffectOptions) => string;
694
615
  //#endregion
695
- //#region src/drawingml/effects/preset-shadow.d.ts
696
- declare const PresetShadowVal: {
697
- readonly SHDW1: "shadow1";
698
- readonly SHDW2: "shadow2";
699
- readonly SHDW3: "shadow3";
700
- readonly SHDW4: "shadow4";
701
- readonly SHDW5: "shadow5";
702
- readonly SHDW6: "shadow6";
703
- readonly SHDW7: "shadow7";
704
- readonly SHDW8: "shadow8";
705
- readonly SHDW9: "shadow9";
706
- readonly SHDW10: "shadow10";
707
- readonly SHDW11: "shadow11";
708
- readonly SHDW12: "shadow12";
709
- readonly SHDW13: "shadow13";
710
- readonly SHDW14: "shadow14";
711
- readonly SHDW15: "shadow15";
712
- readonly SHDW16: "shadow16";
713
- readonly SHDW17: "shadow17";
714
- readonly SHDW18: "shadow18";
715
- readonly SHDW19: "shadow19";
716
- readonly SHDW20: "shadow20";
717
- };
616
+ //#region src/drawing/effects/preset-shadow.d.ts
617
+ type PresetShadow = "shadow1" | "shadow2" | "shadow3" | "shadow4" | "shadow5" | "shadow6" | "shadow7" | "shadow8" | "shadow9" | "shadow10" | "shadow11" | "shadow12" | "shadow13" | "shadow14" | "shadow15" | "shadow16" | "shadow17" | "shadow18" | "shadow19" | "shadow20";
718
618
  interface PresetShadowEffectOptions {
719
- preset: (typeof PresetShadowVal)[keyof typeof PresetShadowVal];
720
- distance?: number;
619
+ preset: PresetShadow;
620
+ distance?: number | UniversalMeasure;
721
621
  direction?: number;
722
622
  color: SolidFillOptions;
723
623
  }
724
624
  declare const createPresetShadowEffect: (options: PresetShadowEffectOptions) => string;
725
625
  //#endregion
726
- //#region src/drawingml/effects/reflection.d.ts
626
+ //#region src/drawing/effects/reflection.d.ts
727
627
  interface ReflectionEffectOptions {
728
- blurRadius?: number;
628
+ blurRadius?: number | UniversalMeasure;
729
629
  startAlpha?: number;
730
630
  startPosition?: number;
731
631
  endAlpha?: number;
732
632
  endPosition?: number;
733
- distance?: number;
633
+ distance?: number | UniversalMeasure;
734
634
  direction?: number;
735
635
  fadeDirection?: number;
736
636
  scaleX?: number;
@@ -742,7 +642,7 @@ interface ReflectionEffectOptions {
742
642
  }
743
643
  declare const createReflectionEffect: (options?: ReflectionEffectOptions) => string;
744
644
  //#endregion
745
- //#region src/drawingml/effects/effect-list.d.ts
645
+ //#region src/drawing/effects/effect-list.d.ts
746
646
  interface EffectExtent {
747
647
  l: number;
748
648
  t: number;
@@ -762,43 +662,22 @@ interface EffectListOptions {
762
662
  outerShadow?: OuterShadowEffectOptions;
763
663
  presetShadow?: PresetShadowEffectOptions;
764
664
  reflection?: ReflectionEffectOptions | true;
765
- softEdge?: number;
665
+ softEdge?: number | UniversalMeasure;
766
666
  }
767
667
  declare const createEffectList: (options: EffectListOptions) => string;
768
668
  //#endregion
769
- //#region src/drawingml/effects/effect-dag.d.ts
770
- declare const EffectContainerType: {
771
- readonly SIB: "sibling";
772
- readonly TREE: "tree";
773
- };
774
- interface AlphaBiLevelEffectOptions {
775
- threshold: number;
776
- }
669
+ //#region src/drawing/effects/effect-dag.d.ts
670
+ type EffectContainer = "sibling" | "tree";
777
671
  interface AlphaInverseEffectOptions {
778
672
  color?: SolidFillOptions;
779
673
  }
780
- interface AlphaModulateFixedEffectOptions {
781
- amount?: number;
782
- }
783
674
  interface AlphaOutsetEffectOptions {
784
675
  radius?: number;
785
676
  }
786
- interface AlphaReplaceEffectOptions {
787
- alpha: number;
788
- }
789
677
  interface BlendEffectOptions {
790
678
  blend: (typeof BlendMode)[keyof typeof BlendMode];
791
679
  container: EffectDagOptions;
792
680
  }
793
- interface ColorChangeEffectOptions {
794
- from: SolidFillOptions;
795
- to: SolidFillOptions;
796
- useA?: boolean;
797
- }
798
- interface DuotoneEffectOptions {
799
- color1: SolidFillOptions;
800
- color2: SolidFillOptions;
801
- }
802
681
  interface FillEffectOptions {
803
682
  solidFill?: SolidFillOptions;
804
683
  gradientFill?: GradientFillOptions;
@@ -806,19 +685,6 @@ interface FillEffectOptions {
806
685
  groupFill?: boolean;
807
686
  noFill?: boolean;
808
687
  }
809
- interface HSLEffectOptions {
810
- hue?: number;
811
- saturation?: number;
812
- luminance?: number;
813
- }
814
- interface LuminanceEffectOptions {
815
- bright?: number;
816
- contrast?: number;
817
- }
818
- interface TintEffectOptions {
819
- hue?: number;
820
- amount?: number;
821
- }
822
688
  interface RelativeOffsetEffectOptions {
823
689
  translateX?: number;
824
690
  translateY?: number;
@@ -835,7 +701,7 @@ interface EffectReferenceOptions {
835
701
  ref: string;
836
702
  }
837
703
  interface EffectDagOptions {
838
- type?: (typeof EffectContainerType)[keyof typeof EffectContainerType];
704
+ type?: EffectContainer;
839
705
  name?: string;
840
706
  blur?: BlurEffectOptions;
841
707
  fillOverlay?: FillOverlayEffectOptions;
@@ -872,10 +738,10 @@ interface EffectDagOptions {
872
738
  }
873
739
  declare const createEffectDag: (options: EffectDagOptions) => string;
874
740
  //#endregion
875
- //#region src/drawingml/effects/soft-edge.d.ts
876
- declare const createSoftEdgeEffect: (rad: number) => string;
741
+ //#region src/drawing/effects/soft-edge.d.ts
742
+ declare const createSoftEdgeEffect: (rad: number | UniversalMeasure) => string;
877
743
  //#endregion
878
- //#region src/drawingml/three-d/scene-3d.d.ts
744
+ //#region src/drawing/three-d/scene-3d.d.ts
879
745
  interface SphereCoords {
880
746
  lat: number;
881
747
  lon: number;
@@ -914,47 +780,18 @@ interface Scene3DOptions {
914
780
  }
915
781
  declare const createScene3D: (options: Scene3DOptions) => string;
916
782
  //#endregion
917
- //#region src/drawingml/three-d/bevel.d.ts
918
- declare const BevelPresetType: {
919
- readonly RELAXED_INSET: "relaxedInset";
920
- readonly CIRCLE: "circle";
921
- readonly SLOPE: "slope";
922
- readonly CROSS: "cross";
923
- readonly ANGLE: "angle";
924
- readonly SOFT_ROUND: "softRound";
925
- readonly CONVEX: "convex";
926
- readonly COOL_SLANT: "coolSlant";
927
- readonly DIVOT: "divot";
928
- readonly RIBLET: "riblet";
929
- readonly HARD_EDGE: "hardEdge";
930
- readonly ART_DECO: "artDeco";
931
- };
783
+ //#region src/drawing/three-d/bevel.d.ts
784
+ type BevelPreset = "relaxedInset" | "circle" | "slope" | "cross" | "angle" | "softRound" | "convex" | "coolSlant" | "divot" | "riblet" | "hardEdge" | "artDeco";
932
785
  interface BevelOptions {
933
786
  w?: number;
934
787
  h?: number;
935
- prst?: (typeof BevelPresetType)[keyof typeof BevelPresetType];
788
+ prst?: BevelPreset;
936
789
  }
937
790
  declare const createBevel: (options?: BevelOptions) => string;
938
791
  declare const createBottomBevel: (options?: BevelOptions) => string;
939
792
  //#endregion
940
- //#region src/drawingml/three-d/shape-3d.d.ts
941
- declare const PresetMaterialType: {
942
- readonly LEGACY_MATTE: "legacyMatte";
943
- readonly LEGACY_PLASTIC: "legacyPlastic";
944
- readonly LEGACY_METAL: "legacyMetal";
945
- readonly LEGACY_WIREFRAME: "legacyWireframe";
946
- readonly MATTE: "matte";
947
- readonly PLASTIC: "plastic";
948
- readonly METAL: "metal";
949
- readonly WARM_MATTE: "warmMatte";
950
- readonly TRANSLUCENT_POWDER: "translucentPowder";
951
- readonly POWDER: "powder";
952
- readonly DK_EDGE: "darkEdge";
953
- readonly SOFT_EDGE: "softEdge";
954
- readonly CLEAR: "clear";
955
- readonly FLAT: "flat";
956
- readonly SOFT_METAL: "softMetal";
957
- };
793
+ //#region src/drawing/three-d/shape-3d.d.ts
794
+ type PresetMaterial = "legacyMatte" | "legacyPlastic" | "legacyMetal" | "legacyWireframe" | "matte" | "plastic" | "metal" | "warmMatte" | "translucentPowder" | "powder" | "darkEdge" | "softEdge" | "clear" | "flat" | "softMetal";
958
795
  interface Shape3DOptions {
959
796
  bevelT?: BevelOptions;
960
797
  bevelB?: BevelOptions;
@@ -963,33 +800,26 @@ interface Shape3DOptions {
963
800
  z?: number;
964
801
  extrusionH?: number;
965
802
  contourW?: number;
966
- prstMaterial?: (typeof PresetMaterialType)[keyof typeof PresetMaterialType];
803
+ prstMaterial?: PresetMaterial;
967
804
  }
968
805
  declare const createShape3D: (options: Shape3DOptions) => string;
969
806
  //#endregion
970
- //#region src/drawingml/geometry/adjustment-values.d.ts
807
+ //#region src/drawing/geometry/adjustment-values.d.ts
971
808
  interface GeometryGuide {
972
809
  name: string;
973
810
  formula: string;
974
811
  }
975
812
  declare function stringifyAdjustmentValues(guides?: readonly GeometryGuide[]): string;
976
813
  //#endregion
977
- //#region src/drawingml/geometry/preset-geometry.d.ts
814
+ //#region src/drawing/geometry/preset-geometry.d.ts
978
815
  interface PresetGeometryOptions {
979
816
  preset?: string;
980
817
  adjustmentValues?: readonly GeometryGuide[];
981
818
  }
982
819
  declare function stringifyPresetGeometry(options?: PresetGeometryOptions): string;
983
820
  //#endregion
984
- //#region src/drawingml/geometry/custom-geometry.d.ts
985
- declare const PathFillMode: {
986
- readonly NONE: "none";
987
- readonly NORM: "normal";
988
- readonly LIGHTEN: "lighten";
989
- readonly LIGHTEN_LESS: "lightenLess";
990
- readonly DARKEN: "darken";
991
- readonly DARKEN_LESS: "darkenLess";
992
- };
821
+ //#region src/drawing/geometry/custom-geometry.d.ts
822
+ type PathFillMode = "none" | "normal" | "lighten" | "lightenLess" | "darken" | "darkenLess";
993
823
  interface AdjustPoint {
994
824
  x: string;
995
825
  y: string;
@@ -1024,7 +854,7 @@ type PathCommand = PathMoveTo | PathLineTo | PathArcTo | PathQuadBezTo | PathCub
1024
854
  interface PathOptions {
1025
855
  w?: number;
1026
856
  h?: number;
1027
- fill?: (typeof PathFillMode)[keyof typeof PathFillMode];
857
+ fill?: PathFillMode;
1028
858
  stroke?: boolean;
1029
859
  extrusionOk?: boolean;
1030
860
  commands: readonly PathCommand[];
@@ -1074,7 +904,7 @@ interface CustomGeometryOptions {
1074
904
  }
1075
905
  declare const createCustomGeometry: (options: CustomGeometryOptions) => string;
1076
906
  //#endregion
1077
- //#region src/drawingml/blip/blip.d.ts
907
+ //#region src/drawing/blip/blip.d.ts
1078
908
  interface BlipOptions {
1079
909
  referenceId: string;
1080
910
  type?: "svg" | string;
@@ -1082,7 +912,7 @@ interface BlipOptions {
1082
912
  }
1083
913
  declare const createBlip: (options: BlipOptions, blipEffects?: BlipEffectsOptions) => string;
1084
914
  //#endregion
1085
- //#region src/drawingml/blip/blip-fill.d.ts
915
+ //#region src/drawing/blip/blip-fill.d.ts
1086
916
  interface BlipFillOptions {
1087
917
  dpi?: number;
1088
918
  rotWithShape?: boolean;
@@ -1092,13 +922,13 @@ interface BlipFillOptions {
1092
922
  }
1093
923
  declare const createBlipFill: (blipOptions: BlipOptions, fillOptions?: BlipFillOptions) => string;
1094
924
  //#endregion
1095
- //#region src/drawingml/blip/blip-extensions.d.ts
925
+ //#region src/drawing/blip/blip-extensions.d.ts
1096
926
  declare const createExtensionList: (svgReferenceId: string) => string;
1097
927
  //#endregion
1098
- //#region src/drawingml/blip/stretch.d.ts
928
+ //#region src/drawing/blip/stretch.d.ts
1099
929
  declare function stringifyStretch(): string;
1100
930
  //#endregion
1101
- //#region src/drawingml/transform.d.ts
931
+ //#region src/drawing/transform.d.ts
1102
932
  interface Transform2DOptions {
1103
933
  x?: number | UniversalMeasure;
1104
934
  y?: number | UniversalMeasure;
@@ -1117,7 +947,27 @@ interface GroupTransform2DOptions extends Transform2DOptions {
1117
947
  declare const createTransform2D: (options: Transform2DOptions, elementName?: string) => string;
1118
948
  declare const createGroupTransform2D: (options: GroupTransform2DOptions, elementName?: string) => string;
1119
949
  //#endregion
1120
- //#region src/drawingml/table-style.d.ts
950
+ //#region src/drawing/black-white-mode.d.ts
951
+ type BlackWhiteMode = "clr" | "auto" | "gray" | "ltGray" | "invGray" | "grayWhite" | "blackGray" | "blackWhite" | "black" | "white" | "hidden";
952
+ //#endregion
953
+ //#region src/drawing/style-reference.d.ts
954
+ interface StyleMatrixReferenceOptions {
955
+ index: number;
956
+ color?: SolidFillOptions;
957
+ }
958
+ //#endregion
959
+ //#region src/drawing/three-d/three-d-descriptors.d.ts
960
+ declare const bevelDesc: CustomDescriptor<BevelOptions>;
961
+ declare const shape3DDesc: CustomDescriptor<Shape3DOptions>;
962
+ interface Cell3DOptions {
963
+ bevel: BevelOptions;
964
+ lightRig?: LightRigOptions;
965
+ prstMaterial?: PresetMaterial;
966
+ }
967
+ declare const cell3DDesc: CustomDescriptor<Cell3DOptions>;
968
+ declare const scene3DDesc: CustomDescriptor<Scene3DOptions>;
969
+ //#endregion
970
+ //#region src/drawing/table-style.d.ts
1121
971
  type TableStyleRegion = "tblBg" | "wholeTbl" | "band1H" | "band2H" | "band1V" | "band2V" | "lastCol" | "firstCol" | "lastRow" | "seCell" | "swCell" | "firstRow" | "neCell" | "nwCell";
1122
972
  type OnOffStyleType = "on" | "off" | "def";
1123
973
  interface TablePartStyleOptions {
@@ -1134,6 +984,7 @@ interface TableCellStyleOptions {
1134
984
  borders?: TableCellBorderOptions;
1135
985
  fillReference?: StyleMatrixReferenceOptions;
1136
986
  fill?: string;
987
+ cell3D?: Cell3DOptions;
1137
988
  }
1138
989
  interface TableCellBorderOptions {
1139
990
  left?: ThemeableLineStyleOptions;
@@ -1148,10 +999,6 @@ interface ThemeableLineStyleOptions {
1148
999
  color?: string;
1149
1000
  lineReference?: StyleMatrixReferenceOptions;
1150
1001
  }
1151
- interface StyleMatrixReferenceOptions {
1152
- idx: number;
1153
- color?: string;
1154
- }
1155
1002
  interface TableStyleOptions {
1156
1003
  styleId: string;
1157
1004
  styleName: string;
@@ -1161,11 +1008,12 @@ interface TableStyleListOptions {
1161
1008
  defaultStyleId: string;
1162
1009
  styles?: readonly TableStyleOptions[];
1163
1010
  }
1164
- declare function createTableStyle(opts: TableStyleOptions): string;
1011
+ declare function createTableStyle(opts: TableStyleOptions, elementName?: string): string;
1165
1012
  declare function createTableStyleList(opts: TableStyleListOptions): string;
1166
1013
  declare function parseTableStyleList(el: Element): TableStyleListOptions;
1014
+ declare function parseTableStyle(el: Element): TableStyleOptions | undefined;
1167
1015
  //#endregion
1168
- //#region src/drawingml/locking/locking.d.ts
1016
+ //#region src/drawing/locking/locking.d.ts
1169
1017
  interface BaseLockingOptions {
1170
1018
  noGrp?: boolean;
1171
1019
  noSelect?: boolean;
@@ -1201,33 +1049,56 @@ interface GraphicFrameLockingOptions {
1201
1049
  noMove?: boolean;
1202
1050
  noResize?: boolean;
1203
1051
  }
1052
+ type ConnectorLockingOptions = BaseLockingOptions;
1053
+ type ContentPartLockingOptions = BaseLockingOptions;
1204
1054
  declare function createShapeLocking(opts: ShapeLockingOptions): string;
1205
1055
  declare function createPictureLocking(opts: PictureLockingOptions): string;
1206
1056
  declare function createGroupLocking(opts: GroupLockingOptions): string;
1207
1057
  declare function createGraphicFrameLocking(opts: GraphicFrameLockingOptions): string;
1058
+ declare function createConnectorLocking(opts: ConnectorLockingOptions): string;
1059
+ declare function createContentPartLocking(opts: ContentPartLockingOptions): string;
1208
1060
  //#endregion
1209
- //#region src/drawingml/diagram/layout-vars.d.ts
1061
+ //#region src/drawing/connection.d.ts
1062
+ interface EndpointConnectionOptions {
1063
+ id: number;
1064
+ index: number;
1065
+ }
1066
+ declare function stringifyEndpointConnection(tag: "stCxn" | "endCxn", conn: EndpointConnectionOptions): string;
1067
+ declare function parseEndpointConnection(el: Element): EndpointConnectionOptions | undefined;
1068
+ //#endregion
1069
+ //#region src/drawing/non-visual/drawing-properties.d.ts
1070
+ interface NonVisualDrawingPropertiesOptions {
1071
+ name?: string;
1072
+ description?: string;
1073
+ title?: string;
1074
+ hidden?: boolean;
1075
+ }
1076
+ declare function stringifyNonVisualDrawingProperties(tag: string, id: number | string, opts: NonVisualDrawingPropertiesOptions | undefined, fallbackName: string, innerXml?: string): string;
1077
+ declare function parseNonVisualDrawingProperties(el: Element | undefined): Partial<NonVisualDrawingPropertiesOptions>;
1078
+ declare function pickNonVisualDrawingProperties(opts: NonVisualDrawingPropertiesOptions | undefined): Partial<NonVisualDrawingPropertiesOptions>;
1079
+ //#endregion
1080
+ //#region src/drawing/non-visual/content-part-properties.d.ts
1081
+ interface NonVisualContentPartPropertiesOptions {
1082
+ locks?: ContentPartLockingOptions;
1083
+ isComment?: boolean;
1084
+ }
1085
+ declare function stringifyNonVisualContentPartProperties(tag: string, opts: NonVisualContentPartPropertiesOptions | undefined): string;
1086
+ declare function parseNonVisualContentPartProperties(el: Element | undefined): NonVisualContentPartPropertiesOptions | undefined;
1087
+ //#endregion
1088
+ //#region src/drawing/diagram/layout-vars.d.ts
1210
1089
  interface AdjustOptions {
1211
1090
  idx: number;
1212
1091
  val: number;
1213
1092
  }
1214
1093
  declare const createAdjust: (options: AdjustOptions) => string;
1215
- declare const AnimationLevelValue: {
1216
- readonly NONE: "none";
1217
- readonly LEVEL: "lvl";
1218
- readonly CENTER: "ctr";
1219
- };
1094
+ type AnimationLevel = "none" | "lvl" | "ctr";
1220
1095
  interface AnimationLevelOptions {
1221
- val?: (typeof AnimationLevelValue)[keyof typeof AnimationLevelValue];
1096
+ val?: AnimationLevel;
1222
1097
  }
1223
1098
  declare const createAnimationLevel: (options?: AnimationLevelOptions) => string;
1224
- declare const AnimateOneByOneValue: {
1225
- readonly NONE: "none";
1226
- readonly ONE: "one";
1227
- readonly BRANCH: "branch";
1228
- };
1099
+ type AnimateOneByOne = "none" | "one" | "branch";
1229
1100
  interface AnimateOneByOneOptions {
1230
- val?: (typeof AnimateOneByOneValue)[keyof typeof AnimateOneByOneValue];
1101
+ val?: AnimateOneByOne;
1231
1102
  }
1232
1103
  declare const createAnimateOneByOne: (options?: AnimateOneByOneOptions) => string;
1233
1104
  interface MaxChildrenOptions {
@@ -1242,15 +1113,9 @@ interface OrgChartOptions {
1242
1113
  val?: boolean;
1243
1114
  }
1244
1115
  declare const createOrgChart: (options?: OrgChartOptions) => string;
1245
- declare const HierBranchStyle: {
1246
- readonly LEFT: "l";
1247
- readonly RIGHT: "r";
1248
- readonly HANGING: "hang";
1249
- readonly STANDARD: "std";
1250
- readonly INITIAL: "init";
1251
- };
1116
+ type HierBranch = "l" | "r" | "hang" | "std" | "init";
1252
1117
  interface HierBranchOptions {
1253
- val?: (typeof HierBranchStyle)[keyof typeof HierBranchStyle];
1118
+ val?: HierBranch;
1254
1119
  }
1255
1120
  declare const createHierBranch: (options?: HierBranchOptions) => string;
1256
1121
  interface PresentationLayoutVariablesOptions {
@@ -1267,7 +1132,7 @@ interface AdjustListOptions {
1267
1132
  }
1268
1133
  declare const createAdjustList: (options?: AdjustListOptions) => string;
1269
1134
  //#endregion
1270
- //#region src/drawingml/diagram/headers.d.ts
1135
+ //#region src/drawing/diagram/headers.d.ts
1271
1136
  interface DiagramNameOptions {
1272
1137
  lang?: string;
1273
1138
  val: string;
@@ -1321,12 +1186,8 @@ interface StyleDefinitionHeaderListOptions {
1321
1186
  }
1322
1187
  declare const createStyleDefinitionHeaderList: (options?: StyleDefinitionHeaderListOptions) => string;
1323
1188
  //#endregion
1324
- //#region src/drawingml/diagram/diagram-style.d.ts
1325
- declare const StyleMatrixIndex: {
1326
- readonly SUBTLE: "subtle";
1327
- readonly MODERATE: "moderate";
1328
- readonly INTENSE: "intense";
1329
- };
1189
+ //#region src/drawing/diagram/diagram-style.d.ts
1190
+ type StyleMatrixIndex = "subtle" | "moderate" | "intense";
1330
1191
  declare const FontCollectionIndex: {
1331
1192
  readonly MAJOR: "major";
1332
1193
  readonly MINOR: "minor";
@@ -1345,18 +1206,11 @@ interface DiagramStyleOptions {
1345
1206
  fontReference?: DiagramFontReferenceOptions;
1346
1207
  }
1347
1208
  declare const createDiagramStyle: (options?: DiagramStyleOptions) => string;
1348
- declare const ColorMethod: {
1349
- readonly SPAN: "span";
1350
- readonly CYCLE: "cycle";
1351
- readonly REPEAT: "repeat";
1352
- };
1353
- declare const HueDirection: {
1354
- readonly CLOCKWISE: "cw";
1355
- readonly COUNTER_CLOCKWISE: "ccw";
1356
- };
1209
+ type ColorMethod = "span" | "cycle" | "repeat";
1210
+ type HueDirection = "cw" | "ccw";
1357
1211
  interface ColorListOptions {
1358
- meth?: (typeof ColorMethod)[keyof typeof ColorMethod];
1359
- hueDir?: (typeof HueDirection)[keyof typeof HueDirection];
1212
+ meth?: ColorMethod;
1213
+ hueDir?: HueDirection;
1360
1214
  colors?: readonly SolidFillOptions[];
1361
1215
  }
1362
1216
  declare const createFillColorList: (options?: ColorListOptions) => string;
@@ -1365,7 +1219,7 @@ declare const createEffectColorList: (options?: ColorListOptions) => string;
1365
1219
  declare const createTextFillColorList: (options?: ColorListOptions) => string;
1366
1220
  declare const createTextLineColorList: (options?: ColorListOptions) => string;
1367
1221
  declare const createTextEffectColorList: (options?: ColorListOptions) => string;
1368
- interface DiagramStyleLabelOptions {
1222
+ interface ColorStyleLabelOptions {
1369
1223
  name: string;
1370
1224
  fillColorList?: ColorListOptions;
1371
1225
  lineColorList?: ColorListOptions;
@@ -1374,33 +1228,32 @@ interface DiagramStyleLabelOptions {
1374
1228
  textLineColorList?: ColorListOptions;
1375
1229
  textEffectColorList?: ColorListOptions;
1376
1230
  }
1377
- declare const createStyleLabel: (options: DiagramStyleLabelOptions) => string;
1231
+ declare const createStyleLabel: (options: ColorStyleLabelOptions) => string;
1378
1232
  //#endregion
1379
- //#region src/drawingml/diagram/diagram-rel.d.ts
1233
+ //#region src/drawing/diagram/diagram-rel.d.ts
1380
1234
  interface DiagramRelationshipIdsOptions {
1381
- dm: string;
1382
- lo: string;
1383
- qs: string;
1384
- cs: string;
1235
+ dataModel: string;
1236
+ layout: string;
1237
+ quickStyle: string;
1238
+ colorStyle: string;
1385
1239
  }
1386
1240
  declare const createDiagramRelationshipIds: (options: DiagramRelationshipIdsOptions) => string;
1387
1241
  //#endregion
1388
- //#region src/drawingml/diagram/diagram-props.d.ts
1242
+ //#region src/drawing/diagram/diagram-props.d.ts
1389
1243
  interface DiagramExtensionListOptions {
1390
1244
  extensions?: readonly DiagramExtensionOptions[];
1391
1245
  }
1392
1246
  interface DiagramExtensionOptions {
1393
1247
  uri: string;
1394
- content?: string;
1395
1248
  }
1396
1249
  declare const createDiagramExtensionList: (options?: DiagramExtensionListOptions) => string;
1397
1250
  declare const createDiagramShape3D: (options: Shape3DOptions) => string;
1398
1251
  interface DiagramTextPropertiesOptions {
1399
1252
  flat?: boolean;
1400
1253
  }
1401
- declare const createDiagramTextProperties: (_options?: DiagramTextPropertiesOptions) => string;
1254
+ declare const createDiagramTextProperties: (options?: DiagramTextPropertiesOptions) => string;
1402
1255
  //#endregion
1403
- //#region src/drawingml/color/color-descriptors.d.ts
1256
+ //#region src/drawing/color/color-descriptors.d.ts
1404
1257
  declare const rgbColorDesc: CustomDescriptor<RgbColorOptions>;
1405
1258
  declare const schemeColorDesc: CustomDescriptor<SchemeColorOptions>;
1406
1259
  declare const hslColorDesc: CustomDescriptor<HslColorOptions>;
@@ -1408,40 +1261,333 @@ declare const systemColorDesc: CustomDescriptor<SystemColorOptions>;
1408
1261
  declare const presetColorDesc: CustomDescriptor<PresetColorOptions>;
1409
1262
  declare const scRgbColorDesc: CustomDescriptor<ScRgbColorOptions>;
1410
1263
  declare function stringifyColorChoice(color: SolidFillOptions, ctx: WriteContext): string;
1264
+ declare function parseColorChoiceElement(el: Element, ctx: ReadContext): SolidFillOptions | undefined;
1411
1265
  declare function parseColorChoice(el: Element, ctx: ReadContext): SolidFillOptions;
1412
1266
  declare const solidFillDesc: CustomDescriptor<SolidFillOptions>;
1413
1267
  //#endregion
1414
- //#region src/drawingml/fill/fill-descriptors.d.ts
1268
+ //#region src/drawing/fill/fill-descriptors.d.ts
1415
1269
  declare const gradientFillDesc: CustomDescriptor<GradientFillOptions>;
1416
1270
  declare const patternFillDesc: CustomDescriptor<PatternFillOptions>;
1417
1271
  declare const fillDesc: CustomDescriptor<FillOptions>;
1418
1272
  //#endregion
1419
- //#region src/drawingml/outline/outline-descriptors.d.ts
1273
+ //#region src/drawing/outline/outline-descriptors.d.ts
1274
+ declare function stringifyLineProperties(tag: string, opts: OutlineOptions, ctx: Parameters<CustomDescriptor<OutlineOptions>["stringify"]>[1]): string | undefined;
1420
1275
  declare const outlineDesc: CustomDescriptor<OutlineOptions>;
1421
1276
  //#endregion
1422
- //#region src/drawingml/effects/effect-descriptors.d.ts
1277
+ //#region src/drawing/effects/effect-descriptors.d.ts
1423
1278
  declare const effectListDesc: CustomDescriptor<EffectListOptions>;
1424
1279
  //#endregion
1425
- //#region src/drawingml/locking/locking-descriptors.d.ts
1280
+ //#region src/drawing/locking/locking-descriptors.d.ts
1426
1281
  declare const shapeLockingDesc: CustomDescriptor<ShapeLockingOptions>;
1427
1282
  declare const pictureLockingDesc: CustomDescriptor<PictureLockingOptions>;
1428
1283
  declare const groupLockingDesc: CustomDescriptor<GroupLockingOptions>;
1429
1284
  declare const graphicFrameLockingDesc: CustomDescriptor<GraphicFrameLockingOptions>;
1285
+ declare const connectorLockingDesc: CustomDescriptor<ConnectorLockingOptions>;
1430
1286
  //#endregion
1431
- //#region src/drawingml/geometry/geometry-descriptors.d.ts
1287
+ //#region src/drawing/geometry/geometry-descriptors.d.ts
1432
1288
  declare const presetGeometryDesc: CustomDescriptor<PresetGeometryOptions>;
1433
1289
  declare const customGeometryDesc: CustomDescriptor<CustomGeometryOptions>;
1434
1290
  //#endregion
1435
- //#region src/drawingml/transform-descriptors.d.ts
1291
+ //#region src/drawing/transform-descriptors.d.ts
1436
1292
  declare const transform2DDesc: CustomDescriptor<Transform2DOptions>;
1437
1293
  declare const groupTransform2DDesc: CustomDescriptor<GroupTransform2DOptions>;
1438
1294
  //#endregion
1439
- //#region src/drawingml/three-d/three-d-descriptors.d.ts
1440
- declare const bevelDesc: CustomDescriptor<BevelOptions>;
1441
- declare const shape3DDesc: CustomDescriptor<Shape3DOptions>;
1442
- declare const scene3DDesc: CustomDescriptor<Scene3DOptions>;
1295
+ //#region src/drawing/shape-properties-desc.d.ts
1296
+ interface ShapePropertiesOptions {
1297
+ x?: number | UniversalMeasure;
1298
+ y?: number | UniversalMeasure;
1299
+ width?: number | UniversalMeasure;
1300
+ height?: number | UniversalMeasure;
1301
+ flipHorizontal?: boolean;
1302
+ flipVertical?: boolean;
1303
+ rotation?: number;
1304
+ childOffsetX?: number | UniversalMeasure;
1305
+ childOffsetY?: number | UniversalMeasure;
1306
+ childExtentWidth?: number | UniversalMeasure;
1307
+ childExtentHeight?: number | UniversalMeasure;
1308
+ geometry?: string | PresetGeometryOptions;
1309
+ customGeometry?: CustomGeometryOptions;
1310
+ fill?: FillOptions;
1311
+ outline?: OutlineOptions;
1312
+ effects?: EffectListOptions;
1313
+ effectDag?: EffectDagOptions;
1314
+ scene3d?: Scene3DOptions;
1315
+ shape3d?: Shape3DOptions;
1316
+ ext?: string;
1317
+ }
1318
+ declare const shapePropertiesDesc: CustomDescriptor<ShapePropertiesOptions>;
1319
+ //#endregion
1320
+ //#region src/drawing/group-shape-properties-desc.d.ts
1321
+ interface GroupShapePropertiesOptions extends GroupTransform2DOptions {
1322
+ fill?: FillOptions;
1323
+ effects?: EffectListOptions;
1324
+ effectDag?: EffectDagOptions;
1325
+ scene3d?: Scene3DOptions;
1326
+ }
1327
+ declare const groupShapePropertiesDesc: CustomDescriptor<GroupShapePropertiesOptions>;
1328
+ //#endregion
1329
+ //#region src/drawing/text/types.d.ts
1330
+ type UnderlineStyle = "single" | "double" | "none";
1331
+ type StrikeStyle = "singleStrike" | "doubleStrike" | "noStrike";
1332
+ type TextCapitalization = "none" | "all" | "small";
1333
+ type TextAlignment = "left" | "center" | "right" | "justify";
1334
+ interface TextHyperlinkOptions {
1335
+ url?: string;
1336
+ slide?: number;
1337
+ referenceId?: string;
1338
+ tooltip?: string;
1339
+ action?: string;
1340
+ highlightClick?: boolean;
1341
+ endSound?: boolean;
1342
+ invalidUrl?: boolean;
1343
+ }
1344
+ type TextFont = string | {
1345
+ typeface: string;
1346
+ panose?: string;
1347
+ pitchFamily?: number;
1348
+ charset?: number;
1349
+ };
1350
+ type RunFont = string | {
1351
+ latin?: TextFont;
1352
+ eastAsia?: TextFont;
1353
+ complexScript?: TextFont;
1354
+ symbol?: TextFont;
1355
+ };
1356
+ interface RunPropertiesOptions {
1357
+ size?: number;
1358
+ bold?: boolean;
1359
+ italic?: boolean;
1360
+ underline?: UnderlineStyle;
1361
+ font?: RunFont;
1362
+ lang?: string;
1363
+ fill?: FillOptions;
1364
+ hyperlink?: TextHyperlinkOptions;
1365
+ mouseoverHyperlink?: TextHyperlinkOptions;
1366
+ strike?: StrikeStyle;
1367
+ baseline?: number;
1368
+ spacing?: number;
1369
+ capitalization?: TextCapitalization;
1370
+ highlight?: SolidFillOptions;
1371
+ underlineLine?: true | OutlineOptions;
1372
+ underlineFill?: true | FillOptions;
1373
+ kern?: number;
1374
+ outline?: true | OutlineOptions;
1375
+ shadow?: true | EffectListOptions;
1376
+ rightToLeft?: boolean;
1377
+ noProof?: boolean;
1378
+ dirty?: boolean;
1379
+ kumimoji?: boolean;
1380
+ alternateLanguage?: string;
1381
+ normalizeHeight?: boolean;
1382
+ bookmarkMark?: string;
1383
+ smartTagId?: string;
1384
+ err?: boolean;
1385
+ smtClean?: boolean;
1386
+ }
1387
+ interface RunOptions extends RunPropertiesOptions {
1388
+ text?: string;
1389
+ }
1390
+ type BulletStyleOptions = {
1391
+ color?: string;
1392
+ colorFollowsText?: boolean;
1393
+ size?: number;
1394
+ sizeFollowsText?: boolean;
1395
+ sizePoints?: number;
1396
+ font?: string;
1397
+ fontFollowsText?: boolean;
1398
+ };
1399
+ type BulletCharOptions = BulletStyleOptions & {
1400
+ type: "char";
1401
+ char?: string;
1402
+ };
1403
+ type BulletAutoNumOptions = BulletStyleOptions & {
1404
+ type: "autoNum";
1405
+ format?: string;
1406
+ startAt?: number;
1407
+ };
1408
+ type BulletPictureOptions = BulletStyleOptions & {
1409
+ type: "picture";
1410
+ embed: string;
1411
+ };
1412
+ type BulletNoneOption = {
1413
+ type: "none";
1414
+ };
1415
+ type BulletOptions = BulletCharOptions | BulletAutoNumOptions | BulletPictureOptions | BulletNoneOption;
1416
+ type TextTabAlignment = "l" | "ctr" | "r" | "dec";
1417
+ interface TabStopOptions {
1418
+ position?: number;
1419
+ alignment?: TextTabAlignment;
1420
+ }
1421
+ interface ParagraphPropertiesOptions {
1422
+ alignment?: TextAlignment;
1423
+ indentLevel?: number;
1424
+ spaceAfter?: number;
1425
+ spaceBefore?: number;
1426
+ bullet?: BulletOptions;
1427
+ lineSpacingPercent?: number;
1428
+ lineSpacingPoints?: number;
1429
+ marginIndent?: number;
1430
+ marginRight?: number;
1431
+ defTabSize?: number;
1432
+ indent?: number;
1433
+ tabStops?: TabStopOptions[];
1434
+ defaultRunProperties?: RunPropertiesOptions;
1435
+ fontAlignment?: "auto" | "t" | "ctr" | "b" | "base";
1436
+ rightToLeft?: boolean;
1437
+ eastAsianLineBreak?: boolean;
1438
+ latinLineBreak?: boolean;
1439
+ }
1440
+ interface TextFieldOptions {
1441
+ type: string;
1442
+ id?: string;
1443
+ text?: string;
1444
+ properties?: RunPropertiesOptions;
1445
+ }
1446
+ interface BreakOptions {
1447
+ break: true;
1448
+ properties?: RunPropertiesOptions;
1449
+ }
1450
+ declare const DEFAULT_OUTLINE_WIDTH = 12700;
1451
+ declare const DEFAULT_SHADOW_BLUR_RADIUS = 50800;
1452
+ declare const DEFAULT_SHADOW_DISTANCE = 38100;
1453
+ declare const DEFAULT_SHADOW_DIRECTION = 270;
1454
+ declare const DEFAULT_SHADOW_ALPHA = 40;
1455
+ //#endregion
1456
+ //#region src/drawing/text/body-properties.d.ts
1457
+ type VerticalAnchor = "t" | "ctr" | "b" | "just" | "dist";
1458
+ type TextVertOverflow = "overflow" | "ellipsis" | "clip";
1459
+ type TextHorzOverflow = "overflow" | "clip";
1460
+ type TextVertical = "horz" | "vert" | "vert270" | "wordArtVert" | "eaVert" | "mongolianVert" | "wordArtVertRtl";
1461
+ type TextBodyWrapping = "none" | "square";
1462
+ interface NormalAutofitOptions {
1463
+ fontScale?: number;
1464
+ lnSpcReduction?: number;
1465
+ }
1466
+ interface PresetTextShapeOptions {
1467
+ preset: string;
1468
+ adjustments?: {
1469
+ name: string;
1470
+ formula: string;
1471
+ }[];
1472
+ }
1473
+ interface FlatTextOptions {
1474
+ z?: number;
1475
+ }
1476
+ interface BodyPropertiesOptions {
1477
+ rotation?: number;
1478
+ spcFirstLastPara?: boolean;
1479
+ vertOverflow?: TextVertOverflow;
1480
+ horzOverflow?: TextHorzOverflow;
1481
+ vertical?: TextVertical;
1482
+ wrap?: TextBodyWrapping;
1483
+ lIns?: number | UniversalMeasure;
1484
+ tIns?: number | UniversalMeasure;
1485
+ rIns?: number | UniversalMeasure;
1486
+ bIns?: number | UniversalMeasure;
1487
+ numCol?: number;
1488
+ spcCol?: number | UniversalMeasure;
1489
+ rtlCol?: boolean;
1490
+ fromWordArt?: boolean;
1491
+ anchor?: VerticalAnchor;
1492
+ anchorCtr?: boolean;
1493
+ forceAA?: boolean;
1494
+ upright?: boolean;
1495
+ compatLnSpc?: boolean;
1496
+ margins?: {
1497
+ top?: number | UniversalMeasure;
1498
+ bottom?: number | UniversalMeasure;
1499
+ left?: number | UniversalMeasure;
1500
+ right?: number | UniversalMeasure;
1501
+ };
1502
+ prstTxWarp?: PresetTextShapeOptions;
1503
+ noAutoFit?: boolean;
1504
+ normAutofit?: NormalAutofitOptions;
1505
+ spAutoFit?: boolean;
1506
+ scene3d?: Scene3DOptions;
1507
+ sp3d?: Shape3DOptions;
1508
+ flatTx?: FlatTextOptions;
1509
+ }
1510
+ declare const createBodyProperties: (options?: BodyPropertiesOptions, tagName?: string) => string;
1511
+ declare const parseBodyProperties: (el: Element, ctx: ReadContext) => BodyPropertiesOptions;
1512
+ declare const bodyPropertiesDesc: CustomDescriptor<BodyPropertiesOptions, WriteContext, BodyPropertiesOptions>;
1513
+ //#endregion
1514
+ //#region src/drawing/text/run-properties.d.ts
1515
+ type Mutable<T> = { -readonly [K in keyof T]?: T[K] };
1516
+ declare const runPropertiesDesc: CustomDescriptor<RunPropertiesOptions>;
1517
+ //#endregion
1518
+ //#region src/drawing/text/run.d.ts
1519
+ declare function stringifyTextRun(text: string): string;
1520
+ declare const textRunDesc: CustomDescriptor<RunOptions>;
1521
+ //#endregion
1522
+ //#region src/drawing/text/paragraph.d.ts
1523
+ interface ParagraphDescriptorOptions {
1524
+ text?: string;
1525
+ properties?: ParagraphPropertiesOptions;
1526
+ children?: (RunOptions | TextFieldOptions | BreakOptions | string)[];
1527
+ endParagraphProperties?: RunPropertiesOptions | false;
1528
+ }
1529
+ declare const paragraphDesc: CustomDescriptor<ParagraphDescriptorOptions>;
1530
+ //#endregion
1531
+ //#region src/drawing/text/list-style.d.ts
1532
+ interface TextListStyleRunOptions {
1533
+ size?: number;
1534
+ kern?: number;
1535
+ schemeColor?: string;
1536
+ latin?: string;
1537
+ eastAsia?: string;
1538
+ complexScript?: string;
1539
+ }
1540
+ interface TextListStyleBulletOptions {
1541
+ type: "none" | "char";
1542
+ char?: string;
1543
+ font?: string;
1544
+ }
1545
+ interface TextListStyleLevelOptions {
1546
+ alignment?: string;
1547
+ marginIndent?: number;
1548
+ indent?: number;
1549
+ defaultTabSize?: number;
1550
+ rtl?: boolean;
1551
+ eastAsianLineBreak?: boolean;
1552
+ latinLineBreak?: boolean;
1553
+ hangingPunctuation?: boolean;
1554
+ lineSpacingPercent?: number;
1555
+ spaceBeforePercent?: number;
1556
+ spaceBeforePoints?: number;
1557
+ bullet?: TextListStyleBulletOptions;
1558
+ defaultRun?: TextListStyleRunOptions;
1559
+ }
1560
+ interface TextListStyleGroupOptions {
1561
+ emptyDefaultParagraph?: boolean;
1562
+ levels?: (TextListStyleLevelOptions | null)[];
1563
+ }
1564
+ interface TextListStyleOptions {
1565
+ title?: TextListStyleGroupOptions;
1566
+ body?: TextListStyleGroupOptions;
1567
+ other?: TextListStyleGroupOptions;
1568
+ }
1569
+ declare function stringifyTextListStyle(opts: TextListStyleOptions): string;
1570
+ declare function parseTextListStyle(el: Element): TextListStyleOptions;
1571
+ declare const textListStyleDesc: CustomDescriptor<TextListStyleOptions>;
1572
+ declare const DEFAULT_TEXT_LIST_STYLE: TextListStyleOptions;
1573
+ //#endregion
1574
+ //#region src/drawing/text/text-body.d.ts
1575
+ interface TextBodyOptions {
1576
+ bodyProperties?: BodyPropertiesOptions;
1577
+ listStyle?: TextListStyleOptions;
1578
+ text?: string;
1579
+ paragraphs?: (ParagraphDescriptorOptions | string)[];
1580
+ anchor?: BodyPropertiesOptions["anchor"];
1581
+ autoFit?: "normal" | "shape";
1582
+ columns?: BodyPropertiesOptions["numCol"];
1583
+ columnSpacing?: BodyPropertiesOptions["spcCol"];
1584
+ margins?: BodyPropertiesOptions["margins"];
1585
+ wrap?: BodyPropertiesOptions["wrap"];
1586
+ vertical?: BodyPropertiesOptions["vertical"];
1587
+ }
1588
+ declare const textBodyDesc: CustomDescriptor<TextBodyOptions>;
1443
1589
  //#endregion
1444
- //#region src/drawingml/blip/blip-descriptors.d.ts
1590
+ //#region src/drawing/blip/blip-descriptors.d.ts
1445
1591
  declare const tileDesc: CustomDescriptor<TileOptions>;
1446
1592
  declare const sourceRectangleDesc: CustomDescriptor<SourceRectangleOptions>;
1447
1593
  declare const stretchDesc: CustomDescriptor<SourceRectangleOptions>;
@@ -1453,11 +1599,11 @@ declare const blipFillDesc: CustomDescriptor<BlipFillOptions & {
1453
1599
  blipEffects?: BlipEffectsOptions;
1454
1600
  }>;
1455
1601
  //#endregion
1456
- //#region src/drawingml/diagram/diagram-descriptors.d.ts
1602
+ //#region src/drawing/diagram/diagram-descriptors.d.ts
1457
1603
  declare const diagramRelationshipIdsDesc: CustomDescriptor<DiagramRelationshipIdsOptions>;
1458
1604
  declare const diagramStyleDesc: CustomDescriptor<DiagramStyleOptions>;
1459
1605
  declare const presentationLayoutVariablesDesc: CustomDescriptor<PresentationLayoutVariablesOptions>;
1460
1606
  declare const diagramExtensionListDesc: CustomDescriptor<DiagramExtensionListOptions>;
1461
1607
  //#endregion
1462
- export { createLineColorList as $, createReflectionEffect as $n, createSourceRectangle as $r, TableStyleListOptions as $t, scRgbColorDesc as A, createShape3D as An, PresetPattern as Ar, PresentationLayoutVariablesOptions as At, createDiagramTextProperties as B, SphereCoords as Bn, GradientShadeOptions as Br, GraphicFrameLockingOptions as Bt, fillDesc as C, createCustomGeometry as Cn, LineEndType as Cr, AnimationLevelOptions as Ct, parseColorChoice as D, stringifyAdjustmentValues as Dn, createCustomDash as Dr, MaxChildrenOptions as Dt, hslColorDesc as E, GeometryGuide as En, DashStop as Er, HierBranchStyle as Et, DiagramExtensionListOptions as F, BackdropOptions as Fn, FillOptions as Fr, createHierBranch as Ft, DiagramStyleLabelOptions as G, EffectDagOptions as Gn, RelativeRect as Gr, createGroupLocking as Gt, createDiagramRelationshipIds as H, createScene3D as Hn, LinearShadeOptions as Hr, PictureLockingOptions as Ht, DiagramExtensionOptions as I, CameraOptions as In, GradientStopOptions as Ir, createMaxChildren as It, HueDirection as J, EffectExtent as Jn, createGradientStop as Jr, OnOffStyleType as Jt, DiagramStyleOptions as K, createEffectDag as Kn, TileFlipMode as Kr, createPictureLocking as Kt, DiagramTextPropertiesOptions as L, LightRigOptions as Ln, buildFill as Lr, createOrgChart as Lt, solidFillDesc as M, BevelPresetType as Mn, createNoFill as Mr, createAdjustList as Mt, stringifyColorChoice as N, createBevel as Nn, BlipFillConfigOptions as Nr, createAnimateOneByOne as Nt, presetColorDesc as O, PresetMaterialType as On, createGroupFill as Or, OrgChartOptions as Ot, systemColorDesc as P, createBottomBevel as Pn, BlipFillMediaData as Pr, createAnimationLevel as Pt, createFillColorList as Q, ReflectionEffectOptions as Qn, SourceRectangleOptions as Qr, TablePartStyleOptions as Qt, createDiagramExtensionList as R, Point3D as Rn, extractBlipFillMedia as Rr, createPreferredChildren as Rt, outlineDesc as S, PathOptions as Sn, LineEndOptions as Sr, AnimateOneByOneValue as St, patternFillDesc as T, stringifyPresetGeometry as Tn, createLineEnd as Tr, HierBranchOptions as Tt, ColorListOptions as U, createSoftEdgeEffect as Un, PathShadeOptions as Ur, ShapeLockingOptions as Ut, DiagramRelationshipIdsOptions as V, Vector3D as Vn, GradientStop as Vr, GroupLockingOptions as Vt, ColorMethod as W, EffectContainerType as Wn, PathShadeType as Wr, createGraphicFrameLocking as Wt, createDiagramStyle as X, calculateEffectExtent as Xn, TileOptions as Xr, TableCellBorderOptions as Xt, StyleMatrixIndex as Y, EffectListOptions as Yn, TileAlignment as Yr, StyleMatrixReferenceOptions as Yt, createEffectColorList as Z, createEffectList as Zn, createTileInfo as Zr, TableCellStyleOptions as Zt, graphicFrameLockingDesc as _, createPresetColor as _i, ConnectionSite as _n, OutlineOptions as _r, createStyleDefinitionHeader as _t, blipDesc as a, SystemColor as ai, createTableStyleList as an, createOuterShadowEffect as ar, ColorsDefinitionHeaderOptions as at, shapeLockingDesc as b, ColorTransformOptions as bi, PathCommand as bn, createOutline as br, AdjustOptions as bt, stretchDesc as c, SchemeColor as ci, Transform2DOptions as cn, GlowEffectOptions as cr, DiagramNameOptions as ct, scene3DDesc as d, ScRgbColorOptions as di, stringifyStretch as dn, FillOverlayEffectOptions as dr, StyleDefinitionHeaderListOptions as dt, BlipEffectsOptions as ei, TableStyleOptions as en, PresetShadowEffectOptions as er, createStyleLabel as et, shape3DDesc as f, createScRgbColor as fi, createExtensionList as fn, createFillOverlayEffect as fr, StyleDefinitionHeaderOptions as ft, presetGeometryDesc as g, PresetColorOptions as gi, createBlip as gn, OutlineFillProperties as gr, createLayoutDefinitionHeaderList as gt, customGeometryDesc as h, PresetColor as hi, BlipOptions as hn, LineJoin as hr, createLayoutDefinitionHeader as ht, presentationLayoutVariablesDesc as i, createSolidFill as ii, createTableStyle as in, RectAlignment as ir, ColorsDefinitionHeaderListOptions as it, schemeColorDesc as j, BevelOptions as jn, createPatternFill as jr, createAdjust as jt, rgbColorDesc as k, Shape3DOptions as kn, PatternFillOptions as kr, PreferredChildrenOptions as kt, tileDesc as l, SchemeColorOptions as li, createGroupTransform2D as ln, createGlowEffect as lr, LayoutDefinitionHeaderListOptions as lt, transform2DDesc as m, createRgbColor as mi, createBlipFill as mn, LineCap as mr, createColorsDefinitionHeaderList as mt, diagramRelationshipIdsDesc as n, SolidFillOptions as ni, TableTextStyleOptions as nn, createPresetShadowEffect as nr, createTextFillColorList as nt, blipFillDesc as o, SystemColorOptions as oi, parseTableStyleList as on, InnerShadowEffectOptions as or, DiagramCategoryOptions as ot, groupTransform2DDesc as p, RgbColorOptions as pi, BlipFillOptions as pn, CompoundLine as pr, createColorsDefinitionHeader as pt, FontCollectionIndex as q, BlurEffectOptions as qn, createGradientFill as qr, createShapeLocking as qt, diagramStyleDesc as r, createColorElement as ri, ThemeableLineStyleOptions as rn, OuterShadowEffectOptions as rr, createTextLineColorList as rt, sourceRectangleDesc as s, createSystemColor as si, GroupTransform2DOptions as sn, createInnerShadowEffect as sr, DiagramDescriptionOptions as st, diagramExtensionListDesc as t, createBlipEffects as ti, TableStyleRegion as tn, PresetShadowVal as tr, createTextEffectColorList as tt, bevelDesc as u, createSchemeColor as ui, createTransform2D as un, BlendMode as ur, LayoutDefinitionHeaderOptions as ut, groupLockingDesc as v, HslColorOptions as vi, CustomGeometryOptions as vn, PenAlignment as vr, createStyleDefinitionHeaderList as vt, gradientFillDesc as w, PresetGeometryOptions as wn, LineEndWidth as wr, AnimationLevelValue as wt, effectListDesc as x, createColorTransforms as xi, PathFillMode as xn, LineEndLength as xr, AnimateOneByOneOptions as xt, pictureLockingDesc as y, createHslColor as yi, GeomRect as yn, PresetDash as yr, AdjustListOptions as yt, createDiagramShape3D as z, Scene3DOptions as zn, GradientFillOptions as zr, createPresentationLayoutVariables as zt };
1463
- //# sourceMappingURL=index-CE53SwpZ.d.mts.map
1608
+ export { RunOptions as $, createGroupFill as $i, stringifyEndpointConnection as $n, PresetMaterial as $r, StyleMatrixIndex as $t, PresetTextShapeOptions as A, SystemColor as Aa, createOuterShadowEffect as Ai, HierBranchOptions as An, StyleMatrixReferenceOptions as Ar, parseColorChoice as At, BulletAutoNumOptions as B, PresetColor as Ba, LineJoin as Bi, createMaxChildren as Bn, BlipOptions as Br, DiagramExtensionOptions as Bt, stringifyTextRun as C, SourceRectangleOptions as Ca, ReflectionEffectOptions as Ci, AdjustListOptions as Cn, parseTableStyle as Cr, effectListDesc as Ct, BodyPropertiesOptions as D, SolidFillOptions as Da, createPresetShadowEffect as Di, AnimationLevel as Dn, cell3DDesc as Dr, gradientFillDesc as Dt, runPropertiesDesc as E, createBlipEffects as Ea, PresetShadowEffectOptions as Ei, AnimateOneByOneOptions as En, bevelDesc as Er, fillDesc as Et, VerticalAnchor as F, createSchemeColor as Fa, BlendMode as Fi, createAdjust as Fn, createTransform2D as Fr, schemeColorDesc as Ft, BulletStyleOptions as G, ColorTransformOptions as Ga, createOutline as Gi, parseNonVisualContentPartProperties as Gn, PathCommand as Gr, DiagramRelationshipIdsOptions as Gt, BulletNoneOption as H, createPresetColor as Ha, OutlineOptions as Hi, createPreferredChildren as Hn, ConnectionSite as Hr, createDiagramExtensionList as Ht, bodyPropertiesDesc as I, ScRgbColorOptions as Ia, FillOverlayEffectOptions as Ii, createAdjustList as In, stringifyStretch as Ir, solidFillDesc as It, DEFAULT_SHADOW_BLUR_RADIUS as J, LineEndType as Ji, parseNonVisualDrawingProperties as Jn, createCustomGeometry as Jr, ColorMethod as Jt, DEFAULT_OUTLINE_WIDTH as K, createColorTransforms as Ka, LineEndLength as Ki, stringifyNonVisualContentPartProperties as Kn, PathFillMode as Kr, createDiagramRelationshipIds as Kt, createBodyProperties as L, createScRgbColor as La, createFillOverlayEffect as Li, createAnimateOneByOne as Ln, createExtensionList as Lr, stringifyColorChoice as Lt, TextHorzOverflow as M, createSystemColor as Ma, createInnerShadowEffect as Mi, OrgChartOptions as Mn, GroupTransform2DOptions as Mr, presetColorDesc as Mt, TextVertOverflow as N, SchemeColor as Na, GlowEffectOptions as Ni, PreferredChildrenOptions as Nn, Transform2DOptions as Nr, rgbColorDesc as Nt, FlatTextOptions as O, createColorElement as Oa, OuterShadowEffectOptions as Oi, AnimationLevelOptions as On, scene3DDesc as Or, patternFillDesc as Ot, TextVertical as P, SchemeColorOptions as Pa, createGlowEffect as Pi, PresentationLayoutVariablesOptions as Pn, createGroupTransform2D as Pr, scRgbColorDesc as Pt, RunFont as Q, createCustomDash as Qi, parseEndpointConnection as Qn, stringifyAdjustmentValues as Qr, HueDirection as Qt, parseBodyProperties as R, RgbColorOptions as Ra, CompoundLine as Ri, createAnimationLevel as Rn, BlipFillOptions as Rr, systemColorDesc as Rt, paragraphDesc as S, createTileInfo as Sa, createEffectList as Si, createStyleDefinitionHeaderList as Sn, createTableStyleList as Sr, shapeLockingDesc as St, Mutable as T, BlipEffectsOptions as Ta, PresetShadow as Ti, AnimateOneByOne as Tn, Cell3DOptions as Tr, stringifyLineProperties as Tt, BulletOptions as U, HslColorOptions as Ua, PenAlignment as Ui, createPresentationLayoutVariables as Un, CustomGeometryOptions as Ur, createDiagramShape3D as Ut, BulletCharOptions as V, PresetColorOptions as Va, OutlineFillProperties as Vi, createOrgChart as Vn, createBlip as Vr, DiagramTextPropertiesOptions as Vt, BulletPictureOptions as W, createHslColor as Wa, PresetDash as Wi, NonVisualContentPartPropertiesOptions as Wn, GeomRect as Wr, createDiagramTextProperties as Wt, DEFAULT_SHADOW_DISTANCE as X, createLineEnd as Xi, stringifyNonVisualDrawingProperties as Xn, stringifyPresetGeometry as Xr, DiagramStyleOptions as Xt, DEFAULT_SHADOW_DIRECTION as Y, LineEndWidth as Yi, pickNonVisualDrawingProperties as Yn, PresetGeometryOptions as Yr, ColorStyleLabelOptions as Yt, ParagraphPropertiesOptions as Z, DashStop as Zi, EndpointConnectionOptions as Zn, GeometryGuide as Zr, FontCollectionIndex as Zt, TextListStyleRunOptions as _, createGradientFill as _a, createEffectDag as _i, createColorsDefinitionHeader as _n, TableStyleOptions as _r, presetGeometryDesc as _t, blipDesc as a, BlipFillMediaData as aa, createBottomBevel as ai, createTextEffectColorList as an, ShapeLockingOptions as ar, TextFieldOptions as at, textListStyleDesc as b, TileFlipMode as ba, EffectListOptions as bi, createLayoutDefinitionHeaderList as bn, ThemeableLineStyleOptions as br, groupLockingDesc as bt, stretchDesc as c, buildFill as ca, LightRigOptions as ci, ColorsDefinitionHeaderListOptions as cn, createGraphicFrameLocking as cr, TextTabAlignment as ct, textBodyDesc as d, GradientShadeOptions as da, SphereCoords as di, DiagramDescriptionOptions as dn, createShapeLocking as dr, groupShapePropertiesDesc as dt, PatternFillOptions as ea, Shape3DOptions as ei, createDiagramStyle as en, ConnectorLockingOptions as er, RunPropertiesOptions as et, DEFAULT_TEXT_LIST_STYLE as f, GradientStop as fa, Vector3D as fi, DiagramNameOptions as fn, OnOffStyleType as fr, ShapePropertiesOptions as ft, TextListStyleOptions as g, RelativeRect as ga, EffectDagOptions as gi, StyleDefinitionHeaderOptions as gn, TableStyleListOptions as gr, customGeometryDesc as gt, TextListStyleLevelOptions as h, PathShadeOptions as ha, EffectContainer as hi, StyleDefinitionHeaderListOptions as hn, TablePartStyleOptions as hr, transform2DDesc as ht, presentationLayoutVariablesDesc as i, BlipFillConfigOptions as ia, createBevel as ii, createStyleLabel as in, PictureLockingOptions as ir, TextCapitalization as it, TextBodyWrapping as j, SystemColorOptions as ja, InnerShadowEffectOptions as ji, MaxChildrenOptions as jn, BlackWhiteMode as jr, parseColorChoiceElement as jt, NormalAutofitOptions as k, createSolidFill as ka, RectAlignment as ki, HierBranch as kn, shape3DDesc as kr, hslColorDesc as kt, tileDesc as l, extractBlipFillMedia as la, Point3D as li, ColorsDefinitionHeaderOptions as ln, createGroupLocking as lr, UnderlineStyle as lt, TextListStyleGroupOptions as m, PathShade as ma, createSoftEdgeEffect as mi, LayoutDefinitionHeaderOptions as mn, TableCellStyleOptions as mr, groupTransform2DDesc as mt, diagramRelationshipIdsDesc as n, createPatternFill as na, BevelOptions as ni, createFillColorList as nn, GraphicFrameLockingOptions as nr, TabStopOptions as nt, blipFillDesc as o, FillOptions as oa, BackdropOptions as oi, createTextFillColorList as on, createConnectorLocking as or, TextFont as ot, TextListStyleBulletOptions as p, LinearShadeOptions as pa, createScene3D as pi, LayoutDefinitionHeaderListOptions as pn, TableCellBorderOptions as pr, shapePropertiesDesc as pt, DEFAULT_SHADOW_ALPHA as q, LineEndOptions as qi, NonVisualDrawingPropertiesOptions as qn, PathOptions as qr, ColorListOptions as qt, diagramStyleDesc as r, createNoFill as ra, BevelPreset as ri, createLineColorList as rn, GroupLockingOptions as rr, TextAlignment as rt, sourceRectangleDesc as s, GradientStopOptions as sa, CameraOptions as si, createTextLineColorList as sn, createContentPartLocking as sr, TextHyperlinkOptions as st, diagramExtensionListDesc as t, PresetPattern as ta, createShape3D as ti, createEffectColorList as tn, ContentPartLockingOptions as tr, StrikeStyle as tt, TextBodyOptions as u, GradientFillOptions as ua, Scene3DOptions as ui, DiagramCategoryOptions as un, createPictureLocking as ur, GroupShapePropertiesOptions as ut, parseTextListStyle as v, createGradientStop as va, BlurEffectOptions as vi, createColorsDefinitionHeaderList as vn, TableStyleRegion as vr, connectorLockingDesc as vt, textRunDesc as w, createSourceRectangle as wa, createReflectionEffect as wi, AdjustOptions as wn, parseTableStyleList as wr, outlineDesc as wt, ParagraphDescriptorOptions as x, TileOptions as xa, calculateEffectExtent as xi, createStyleDefinitionHeader as xn, createTableStyle as xr, pictureLockingDesc as xt, stringifyTextListStyle as y, TileAlignment as ya, EffectExtent as yi, createLayoutDefinitionHeader as yn, TableTextStyleOptions as yr, graphicFrameLockingDesc as yt, BreakOptions as z, createRgbColor as za, LineCap as zi, createHierBranch as zn, createBlipFill as zr, DiagramExtensionListOptions as zt };
1609
+ //# sourceMappingURL=index-CnjCK-lF.d.mts.map