modern-idoc 0.10.21 → 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.
package/dist/index.d.cts CHANGED
@@ -224,6 +224,15 @@ interface NormalizedColorFill {
224
224
  declare const colorFillFields: (keyof NormalizedColorFill)[];
225
225
  declare function normalizeColorFill(fill: ColorFill): NormalizedColorFill;
226
226
 
227
+ type None = undefined | null | 'none';
228
+ type WithNone<T> = T | None;
229
+ type WithStyleNone<T> = T | 'none';
230
+ type LineCap = 'butt' | 'round' | 'square';
231
+ type LineJoin = 'miter' | 'round' | 'bevel';
232
+ interface Toggleable {
233
+ enabled: boolean;
234
+ }
235
+
227
236
  type GradientFillObject = {
228
237
  image?: string;
229
238
  } & Partial<NormalizedGradientFill>;
@@ -281,12 +290,6 @@ interface NormalizedImageFill extends ImageFillObject {
281
290
  declare const imageFillFiedls: (keyof NormalizedImageFill)[];
282
291
  declare function normalizeImageFill(fill: ImageFill): NormalizedImageFill;
283
292
 
284
- type None = undefined | null | 'none';
285
- type WithNone<T> = T | None;
286
- type WithStyleNone<T> = T | 'none';
287
- type LineCap = 'butt' | 'round' | 'square';
288
- type LineJoin = 'miter' | 'round' | 'bevel';
289
-
290
293
  interface PresetFillObject {
291
294
  preset: string;
292
295
  foregroundColor?: WithNone<Color>;
@@ -300,13 +303,9 @@ interface NormalizedPresetFill extends PresetFillObject {
300
303
  declare const presetFillFiedls: (keyof NormalizedPresetFill)[];
301
304
  declare function normalizePresetFill(fill: PresetFill): NormalizedPresetFill;
302
305
 
303
- type FillObject = {
304
- enabled?: boolean;
305
- } & Partial<ColorFillObject> & Partial<GradientFillObject> & Partial<ImageFillObject> & Partial<PresetFillObject>;
306
+ type FillObject = Partial<Toggleable> & Partial<ColorFillObject> & Partial<GradientFillObject> & Partial<ImageFillObject> & Partial<PresetFillObject>;
306
307
  type Fill = string | FillObject;
307
- type NormalizedFill = {
308
- enabled?: boolean;
309
- } & Partial<NormalizedColorFill> & Partial<NormalizedGradientFill> & Partial<NormalizedImageFill> & Partial<NormalizedPresetFill>;
308
+ type NormalizedFill = Toggleable & Partial<NormalizedColorFill> & Partial<NormalizedGradientFill> & Partial<NormalizedImageFill> & Partial<NormalizedPresetFill>;
310
309
  declare function isColorFillObject(fill: FillObject): fill is ColorFillObject;
311
310
  declare function isColorFill(fill: Fill): fill is ColorFill;
312
311
  declare function isGradientFillObject(fill: FillObject): fill is GradientFillObject;
@@ -323,8 +322,18 @@ interface NormalizedBaseBackground {
323
322
  type NormalizedBackground = NormalizedFill & NormalizedBaseBackground;
324
323
  type BackgroundObject = FillObject & Partial<NormalizedBaseBackground>;
325
324
  type Background = string | BackgroundObject;
325
+
326
326
  declare function normalizeBackground(background: Background): NormalizedBackground;
327
327
 
328
+ type BackgroundSize = 'contain' | 'cover' | string | 'stretch' | 'rigid';
329
+ interface NormalizedBackgroundStyle {
330
+ backgroundImage: WithStyleNone<string>;
331
+ backgroundSize: BackgroundSize;
332
+ backgroundColor: WithStyleNone<NormalizedColor>;
333
+ backgroundColormap: WithStyleNone<Record<string, string>>;
334
+ }
335
+ declare function getDefaultBackgroundStyle(): NormalizedBackgroundStyle;
336
+
328
337
  interface PropertyDeclaration {
329
338
  [key: string]: unknown;
330
339
  default?: unknown | (() => unknown);
@@ -350,82 +359,19 @@ declare function defineProperty<V, T extends PropertyAccessor>(constructor: any,
350
359
  declare function property<V, T extends PropertyAccessor>(declaration?: Partial<PropertyDeclaration>): PropertyDecorator;
351
360
  declare function property2<V, T extends PropertyAccessor>(declaration?: Partial<PropertyDeclaration>): (_: ClassAccessorDecoratorTarget<T, V>, context: ClassAccessorDecoratorContext) => ClassAccessorDecoratorResult<T, V>;
352
361
 
353
- interface NormalizedInnerShadow {
354
- color: NormalizedColor;
355
- offsetX: number;
356
- offsetY: number;
357
- blurRadius: number;
358
- }
359
- type InnerShadowObject = Partial<NormalizedInnerShadow> & {
360
- color?: WithNone<Color>;
361
- };
362
- type InnerShadow = InnerShadowObject;
363
- declare function getDefaultInnerShadow(): NormalizedInnerShadow;
364
- declare function normalizeInnerShadow(shadow: InnerShadow): NormalizedInnerShadow;
365
-
366
- interface NormalizedBaseOuterShadow {
367
- scaleX: number;
368
- scaleY: number;
369
- }
370
- type NormalizedOuterShadow = NormalizedBaseOuterShadow & NormalizedInnerShadow;
371
- type OuterShadowObject = Partial<NormalizedBaseOuterShadow> & InnerShadowObject;
372
- type OuterShadow = OuterShadowObject;
373
- declare function getDefaultOuterShadow(): NormalizedOuterShadow;
374
- declare function normalizeOuterShadow(shadow: OuterShadow): NormalizedOuterShadow;
375
-
376
- interface NormalizedSoftEdge {
377
- radius: number;
378
- }
379
- type SoftEdge = NormalizedSoftEdge;
380
- declare function normalizeSoftEdge(softEdge: SoftEdge): NormalizedSoftEdge;
381
-
382
- interface NormalizedEffect {
383
- innerShadow?: NormalizedInnerShadow;
384
- outerShadow?: NormalizedOuterShadow;
385
- softEdge?: NormalizedSoftEdge;
386
- }
387
- interface EffectObject {
388
- innerShadow?: WithNone<InnerShadow>;
389
- outerShadow?: WithNone<OuterShadow>;
390
- softEdge?: WithNone<SoftEdge>;
391
- }
392
- type Effect = EffectObject;
393
- declare function normalizeEffect(effect: Effect): NormalizedEffect;
394
-
395
- interface NormalizedBaseForeground {
396
- fillWithShape?: boolean;
397
- }
398
- type NormalizedForeground = NormalizedBaseForeground & NormalizedFill;
399
- type ForegroundObject = Partial<NormalizedBaseForeground> & FillObject;
400
- type Foreground = string | ForegroundObject;
401
- declare function normalizeForeground(foreground: Foreground): NormalizedForeground | undefined;
402
-
403
- interface Meta {
404
- [key: string]: any;
405
- }
406
-
407
- interface Node<T = Meta> {
408
- name?: string;
409
- children?: Node[];
410
- meta?: T;
411
- }
412
-
413
362
  type LineEndType = 'oval' | 'stealth' | 'triangle' | 'arrow' | 'diamond';
414
363
  type LineEndSize = 'sm' | 'md' | 'lg';
415
-
416
- interface HeadEnd {
364
+ type OutlineStyle = 'dashed' | 'solid' | string;
365
+ interface TailEnd {
417
366
  type: LineEndType;
418
367
  width?: WithNone<LineEndSize>;
419
368
  height?: WithNone<LineEndSize>;
420
369
  }
421
-
422
- interface TailEnd {
370
+ interface HeadEnd {
423
371
  type: LineEndType;
424
372
  width?: WithNone<LineEndSize>;
425
373
  height?: WithNone<LineEndSize>;
426
374
  }
427
-
428
- type OutlineStyle = 'dashed' | 'solid' | string;
429
375
  interface NormalizedBaseOutline {
430
376
  width?: number;
431
377
  style?: OutlineStyle;
@@ -434,23 +380,34 @@ interface NormalizedBaseOutline {
434
380
  headEnd?: HeadEnd;
435
381
  tailEnd?: TailEnd;
436
382
  }
437
- type NormalizedOutline = NormalizedFill & NormalizedBaseOutline;
438
383
  type OutlineObject = FillObject & Partial<NormalizedBaseOutline>;
384
+ type NormalizedOutline = NormalizedFill & NormalizedBaseOutline;
439
385
  type Outline = string | OutlineObject;
386
+
440
387
  declare function normalizeOutline(outline: Outline): NormalizedOutline;
441
388
 
389
+ interface NormalizedOutlineStyle {
390
+ outlineWidth: number;
391
+ outlineOffset: number;
392
+ outlineColor: WithStyleNone<NormalizedColor>;
393
+ outlineStyle: string;
394
+ }
395
+ declare function getDefaultOutlineStyle(): NormalizedOutlineStyle;
396
+
442
397
  type BoxShadow = string;
443
- interface NormalizedShadow {
398
+ type Shadow = BoxShadow | ShadowObject;
399
+ type ShadowObject = Partial<Toggleable> & Partial<NormalizedShadow> & {
400
+ color?: WithNone<Color>;
401
+ };
402
+ interface NormalizedShadow extends Toggleable {
444
403
  color: NormalizedColor;
445
404
  offsetX?: number;
446
405
  offsetY?: number;
447
406
  blur?: number;
448
407
  }
449
- type ShadowObject = Partial<NormalizedShadow> & {
450
- color?: WithNone<Color>;
451
- };
452
- type Shadow = BoxShadow | ShadowObject;
408
+
453
409
  declare function normalizeShadow(shadow: Shadow): NormalizedShadow;
410
+
454
411
  interface NormalizedShadowStyle {
455
412
  boxShadow: BoxShadow;
456
413
  shadowColor?: NormalizedColor;
@@ -460,6 +417,40 @@ interface NormalizedShadowStyle {
460
417
  }
461
418
  declare function getDefaultShadowStyle(): NormalizedShadowStyle;
462
419
 
420
+ interface Effect {
421
+ fill?: WithNone<Fill>;
422
+ outline?: WithNone<Outline>;
423
+ shadow?: WithNone<Shadow>;
424
+ transform?: WithStyleNone<string>;
425
+ transformOrigin?: string;
426
+ }
427
+ interface NormalizedEffect {
428
+ fill?: NormalizedFill;
429
+ outline?: NormalizedOutline;
430
+ shadow?: NormalizedShadow;
431
+ transform?: string;
432
+ transformOrigin?: string;
433
+ }
434
+
435
+ interface NormalizedBaseForeground {
436
+ fillWithShape?: boolean;
437
+ }
438
+ type NormalizedForeground = NormalizedBaseForeground & NormalizedFill;
439
+ type ForegroundObject = Partial<NormalizedBaseForeground> & FillObject;
440
+ type Foreground = string | ForegroundObject;
441
+ declare function normalizeForeground(foreground: Foreground): NormalizedForeground | undefined;
442
+
443
+ interface Meta {
444
+ [key: string]: any;
445
+ }
446
+
447
+ interface Node<T = Meta> {
448
+ name?: string;
449
+ children?: Node[];
450
+ meta?: T;
451
+ }
452
+
453
+ type Shape = SVGPathData | SVGPathData[] | ShapePath[] | NormalizedShape;
463
454
  type SVGPathData = string;
464
455
  type FillRule = 'nonzero' | 'evenodd';
465
456
  type StrokeLinecap = 'butt' | 'round' | 'square';
@@ -487,13 +478,12 @@ interface ShapePathStyle {
487
478
  interface ShapePath extends Partial<ShapePathStyle> {
488
479
  data: SVGPathData;
489
480
  }
490
- interface NormalizedShape {
481
+ interface NormalizedShape extends Toggleable {
491
482
  preset?: string;
492
483
  viewBox?: number[];
493
484
  svg?: string;
494
485
  paths?: ShapePath[];
495
486
  }
496
- type Shape = SVGPathData | SVGPathData[] | ShapePath[] | NormalizedShape;
497
487
  declare function normalizeShape(shape: Shape): NormalizedShape;
498
488
 
499
489
  type StyleUnit = `${number}%` | number;
@@ -578,31 +568,15 @@ interface NormalizedLayoutStyle {
578
568
  declare function getDefaultLayoutStyle(): Partial<NormalizedLayoutStyle>;
579
569
 
580
570
  interface NormalizedTransformStyle {
581
- rotate: number;
582
- scaleX: number;
583
- scaleY: number;
584
- skewX: number;
585
- skewY: number;
586
- translateX: number;
587
- translateY: number;
588
571
  transform: WithStyleNone<string>;
589
572
  transformOrigin: string;
590
573
  }
591
574
  declare function getDefaultTransformStyle(): NormalizedTransformStyle;
592
575
 
593
- type BackgroundSize = 'contain' | 'cover' | string | 'stretch' | 'rigid';
594
- type NormalizedElementStyle = Partial<NormalizedLayoutStyle> & NormalizedTransformStyle & NormalizedShadowStyle & {
595
- backgroundImage: WithStyleNone<string>;
596
- backgroundSize: BackgroundSize;
597
- backgroundColor: WithStyleNone<NormalizedColor>;
598
- backgroundColormap: WithStyleNone<Record<string, string>>;
576
+ type NormalizedElementStyle = Partial<NormalizedLayoutStyle> & NormalizedTransformStyle & NormalizedShadowStyle & NormalizedOutlineStyle & NormalizedBackgroundStyle & {
599
577
  borderRadius: number;
600
578
  borderColor: WithStyleNone<NormalizedColor>;
601
579
  borderStyle: BorderStyle;
602
- outlineWidth: number;
603
- outlineOffset: number;
604
- outlineColor: WithStyleNone<NormalizedColor>;
605
- outlineStyle: string;
606
580
  visibility: Visibility;
607
581
  filter: string;
608
582
  opacity: number;
@@ -692,6 +666,7 @@ type Style = StyleObject;
692
666
  declare function normalizeStyle(style: Style): NormalizedStyle;
693
667
  declare function getDefaultStyle(): FullStyle;
694
668
 
669
+ type Text = string | FlatTextContent[] | TextObject;
695
670
  interface FragmentObject extends StyleObject {
696
671
  content: string;
697
672
  fill?: Fill;
@@ -715,27 +690,20 @@ interface NormalizedParagraph extends NormalizedStyle {
715
690
  type FlatTextContent = string | FragmentObject | ParagraphObject | (string | FragmentObject)[];
716
691
  type TextContent = FlatTextContent | FlatTextContent[];
717
692
  type NormalizedTextContent = NormalizedParagraph[];
718
- interface TextObject {
693
+ interface TextObject extends Pick<Effect, 'fill' | 'outline'>, Partial<Toggleable> {
719
694
  content?: TextContent;
720
- enabled?: boolean;
721
695
  style?: Style;
722
- effects?: Style[];
723
696
  measureDom?: any;
724
697
  fonts?: any;
725
- fill?: Fill;
726
- outline?: Outline;
698
+ effects?: Effect[];
727
699
  }
728
- interface NormalizedText {
700
+ interface NormalizedText extends Pick<NormalizedEffect, 'fill' | 'outline'>, Toggleable {
729
701
  content: NormalizedTextContent;
730
- enabled?: boolean;
731
702
  style?: NormalizedStyle;
732
- effects?: NormalizedStyle[];
703
+ effects?: Effect[];
733
704
  measureDom?: any;
734
705
  fonts?: any;
735
- fill?: NormalizedFill;
736
- outline?: NormalizedOutline;
737
706
  }
738
- type Text = string | FlatTextContent[] | TextObject;
739
707
  declare function hasCRLF(content: string): boolean;
740
708
  declare function isCRLF(char: string): boolean;
741
709
  declare function normalizeCRLF(content: string): string;
@@ -751,34 +719,26 @@ interface NormalizedVideo {
751
719
  type Video = string | NormalizedVideo;
752
720
  declare function normalizeVideo(video: Video): NormalizedVideo | undefined;
753
721
 
754
- interface Element<T = Meta> extends Omit<Node<T>, 'children'> {
722
+ interface Element<T = Meta> extends Effect, Omit<Node<T>, 'children'> {
755
723
  id?: string;
756
724
  style?: WithNone<Style>;
757
725
  text?: WithNone<Text>;
758
726
  background?: WithNone<Background>;
759
727
  shape?: WithNone<Shape>;
760
- fill?: WithNone<Fill>;
761
- outline?: WithNone<Outline>;
762
728
  foreground?: WithNone<Foreground>;
763
- shadow?: WithNone<Shadow>;
764
729
  video?: WithNone<Video>;
765
730
  audio?: WithNone<Audio>;
766
- effect?: WithNone<Effect>;
767
731
  children?: Element[];
768
732
  }
769
- interface NormalizedElement<T = Meta> extends Omit<Node<T>, 'children'> {
733
+ interface NormalizedElement<T = Meta> extends NormalizedEffect, Omit<Node<T>, 'children'> {
770
734
  id: string;
771
735
  style?: NormalizedStyle;
772
736
  text?: NormalizedText;
773
737
  background?: NormalizedBackground;
774
738
  shape?: NormalizedShape;
775
- fill?: NormalizedFill;
776
- outline?: NormalizedOutline;
777
739
  foreground?: NormalizedForeground;
778
- shadow?: NormalizedShadow;
779
740
  video?: NormalizedVideo;
780
741
  audio?: NormalizedAudio;
781
- effect?: NormalizedEffect;
782
742
  children?: NormalizedElement[];
783
743
  }
784
744
  declare function normalizeElement<T = Meta>(element: Element<T>): NormalizedElement<T>;
@@ -912,5 +872,5 @@ declare class Reactivable extends Observable implements PropertyAccessor {
912
872
  destroy(): void;
913
873
  }
914
874
 
915
- export { EventEmitter, Observable, RawWeakMap, Reactivable, clearUndef, colorFillFields, defaultColor, defineProperty, flatDocumentToDocument, getDeclarations, getDefaultElementStyle, getDefaultHighlightStyle, getDefaultInnerShadow, getDefaultLayoutStyle, getDefaultListStyleStyle, getDefaultOuterShadow, getDefaultShadowStyle, getDefaultStyle, getDefaultTextInlineStyle, getDefaultTextLineStyle, getDefaultTextStyle, getDefaultTransformStyle, getNestedValue, getObjectValueByPath, getPropertyDescriptor, gradientFillFields, hasCRLF, idGenerator, imageFillFiedls, isCRLF, isColor, isColorFill, isColorFillObject, isEqualObject, isFragmentObject, isGradient, isGradientFill, isGradientFillObject, isImageFill, isImageFillObject, isNone, isParagraphObject, isPresetFill, isPresetFillObject, nanoid, normalizeAudio, normalizeBackground, normalizeCRLF, normalizeColor, normalizeColorFill, normalizeDocument, normalizeEffect, normalizeElement, normalizeFill, normalizeFlatDocument, normalizeForeground, normalizeGradient, normalizeGradientFill, normalizeImageFill, normalizeInnerShadow, normalizeOuterShadow, normalizeOutline, normalizePresetFill, normalizeShadow, normalizeShape, normalizeSoftEdge, normalizeStyle, normalizeText, normalizeTextContent, normalizeVideo, parseColor, parseGradient, pick, presetFillFiedls, property, property2, propertyOffsetFallback, propertyOffsetGet, propertyOffsetSet, round, setNestedValue, setObjectValueByPath, stringifyGradient, textContentToString };
916
- export type { Align, AngularNode, Audio, Background, BackgroundObject, BackgroundSize, BorderStyle, BoxShadow, BoxSizing, CmykColor, CmykaColor, Color, ColorFill, ColorFillObject, ColorStop, ColorStopNode, DefaultRadialNode, Direction, DirectionalNode, Display, Document, Effect, EffectObject, Element, EmNode, EventListener, EventListenerOptions, EventListenerValue, ExtentKeywordNode, Fill, FillObject, FillRule, FlatDocument, FlatElement, FlatTextContent, FlexDirection, FlexWrap, FontKerning, FontStyle, FontWeight, Foreground, ForegroundObject, FragmentObject, FullStyle, GradientFill, GradientFillObject, GradientNode, HeadEnd, Hex8Color, HexNode, HighlightColormap, HighlightImage, HighlightLine, HighlightReferImage, HighlightSize, HighlightThickness, HslColor, HslaColor, HsvColor, HsvaColor, HwbColor, HwbaColor, IdGenerator, ImageFill, ImageFillCropRect, ImageFillObject, ImageFillStretchRect, ImageFillTile, InnerShadow, InnerShadowObject, Justify, LabColor, LabaColor, LchColor, LchaColor, LineCap, LineEndSize, LineEndType, LineJoin, LinearGradient, LinearGradientNode, LinearGradientWithType, ListStyleColormap, ListStyleImage, ListStylePosition, ListStyleSize, ListStyleType, LiteralNode, Meta, Node, None, NormalizedAudio, NormalizedBackground, NormalizedBaseBackground, NormalizedBaseForeground, NormalizedBaseOuterShadow, NormalizedBaseOutline, NormalizedColor, NormalizedColorFill, NormalizedDocument, NormalizedEffect, NormalizedElement, NormalizedElementStyle, NormalizedFill, NormalizedFlatDocument, NormalizedFlatElement, NormalizedForeground, NormalizedFragment, NormalizedGradientFill, NormalizedHighlight, NormalizedHighlightStyle, NormalizedImageFill, NormalizedInnerShadow, NormalizedLayoutStyle, NormalizedListStyle, NormalizedListStyleStyle, NormalizedOuterShadow, NormalizedOutline, NormalizedParagraph, NormalizedPresetFill, NormalizedShadow, NormalizedShadowStyle, NormalizedShape, NormalizedSoftEdge, NormalizedStyle, NormalizedText, NormalizedTextContent, NormalizedTextDrawStyle, NormalizedTextInlineStyle, NormalizedTextLineStyle, NormalizedTextStyle, NormalizedTransformStyle, NormalizedVideo, ObjectColor, ObservableEvents, OuterShadow, OuterShadowObject, Outline, OutlineObject, OutlineStyle, Overflow, ParagraphObject, PercentNode, PointerEvents, Position, PositionKeywordNode, PositionNode, PresetFill, PresetFillObject, PropertyAccessor, PropertyDeclaration, PxNode, RadialGradient, RadialGradientNode, RadialGradientWithType, ReactivableEvents, RepeatingLinearGradientNode, RepeatingRadialGradientNode, RgbColor, RgbNode, RgbaColor, RgbaNode, SVGPathData, Shadow, ShadowObject, Shape, ShapeNode, ShapePath, ShapePathStyle, SoftEdge, StrokeLinecap, StrokeLinejoin, Style, StyleObject, StyleUnit, TailEnd, Text, TextAlign, TextContent, TextDecoration, TextObject, TextOrientation, TextTransform, TextWrap, Uint32Color, VerticalAlign, Video, Visibility, WithNone, WithStyleNone, WritingMode, XyzColor, XyzaColor };
875
+ export { EventEmitter, Observable, RawWeakMap, Reactivable, clearUndef, colorFillFields, defaultColor, defineProperty, flatDocumentToDocument, getDeclarations, getDefaultBackgroundStyle, getDefaultElementStyle, getDefaultHighlightStyle, getDefaultLayoutStyle, getDefaultListStyleStyle, getDefaultOutlineStyle, getDefaultShadowStyle, getDefaultStyle, getDefaultTextInlineStyle, getDefaultTextLineStyle, getDefaultTextStyle, getDefaultTransformStyle, getNestedValue, getObjectValueByPath, getPropertyDescriptor, gradientFillFields, hasCRLF, idGenerator, imageFillFiedls, isCRLF, isColor, isColorFill, isColorFillObject, isEqualObject, isFragmentObject, isGradient, isGradientFill, isGradientFillObject, isImageFill, isImageFillObject, isNone, isParagraphObject, isPresetFill, isPresetFillObject, nanoid, normalizeAudio, normalizeBackground, normalizeCRLF, normalizeColor, normalizeColorFill, normalizeDocument, normalizeElement, normalizeFill, normalizeFlatDocument, normalizeForeground, normalizeGradient, normalizeGradientFill, normalizeImageFill, normalizeOutline, normalizePresetFill, normalizeShadow, normalizeShape, normalizeStyle, normalizeText, normalizeTextContent, normalizeVideo, parseColor, parseGradient, pick, presetFillFiedls, property, property2, propertyOffsetFallback, propertyOffsetGet, propertyOffsetSet, round, setNestedValue, setObjectValueByPath, stringifyGradient, textContentToString };
876
+ export type { Align, AngularNode, Audio, Background, BackgroundObject, BackgroundSize, BorderStyle, BoxShadow, BoxSizing, CmykColor, CmykaColor, Color, ColorFill, ColorFillObject, ColorStop, ColorStopNode, DefaultRadialNode, Direction, DirectionalNode, Display, Document, Element, EmNode, EventListener, EventListenerOptions, EventListenerValue, ExtentKeywordNode, Fill, FillObject, FillRule, FlatDocument, FlatElement, FlatTextContent, FlexDirection, FlexWrap, FontKerning, FontStyle, FontWeight, Foreground, ForegroundObject, FragmentObject, FullStyle, GradientFill, GradientFillObject, GradientNode, HeadEnd, Hex8Color, HexNode, HighlightColormap, HighlightImage, HighlightLine, HighlightReferImage, HighlightSize, HighlightThickness, HslColor, HslaColor, HsvColor, HsvaColor, HwbColor, HwbaColor, IdGenerator, ImageFill, ImageFillCropRect, ImageFillObject, ImageFillStretchRect, ImageFillTile, Justify, LabColor, LabaColor, LchColor, LchaColor, LineCap, LineEndSize, LineEndType, LineJoin, LinearGradient, LinearGradientNode, LinearGradientWithType, ListStyleColormap, ListStyleImage, ListStylePosition, ListStyleSize, ListStyleType, LiteralNode, Meta, Node, None, NormalizedAudio, NormalizedBackground, NormalizedBackgroundStyle, NormalizedBaseBackground, NormalizedBaseForeground, NormalizedBaseOutline, NormalizedColor, NormalizedColorFill, NormalizedDocument, NormalizedElement, NormalizedElementStyle, NormalizedFill, NormalizedFlatDocument, NormalizedFlatElement, NormalizedForeground, NormalizedFragment, NormalizedGradientFill, NormalizedHighlight, NormalizedHighlightStyle, NormalizedImageFill, NormalizedLayoutStyle, NormalizedListStyle, NormalizedListStyleStyle, NormalizedOutline, NormalizedOutlineStyle, NormalizedParagraph, NormalizedPresetFill, NormalizedShadow, NormalizedShadowStyle, NormalizedShape, NormalizedStyle, NormalizedText, NormalizedTextContent, NormalizedTextDrawStyle, NormalizedTextInlineStyle, NormalizedTextLineStyle, NormalizedTextStyle, NormalizedTransformStyle, NormalizedVideo, ObjectColor, ObservableEvents, Outline, OutlineObject, OutlineStyle, Overflow, ParagraphObject, PercentNode, PointerEvents, Position, PositionKeywordNode, PositionNode, PresetFill, PresetFillObject, PropertyAccessor, PropertyDeclaration, PxNode, RadialGradient, RadialGradientNode, RadialGradientWithType, ReactivableEvents, RepeatingLinearGradientNode, RepeatingRadialGradientNode, RgbColor, RgbNode, RgbaColor, RgbaNode, SVGPathData, Shadow, ShadowObject, Shape, ShapeNode, ShapePath, ShapePathStyle, StrokeLinecap, StrokeLinejoin, Style, StyleObject, StyleUnit, TailEnd, Text, TextAlign, TextContent, TextDecoration, TextObject, TextOrientation, TextTransform, TextWrap, Toggleable, Uint32Color, VerticalAlign, Video, Visibility, WithNone, WithStyleNone, WritingMode, XyzColor, XyzaColor };