@wix/auto_sdk_rich-content_ricos-documents 1.0.39 → 1.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +41 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +167 -4
- package/build/cjs/index.typings.js +41 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +167 -4
- package/build/cjs/meta.js +41 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +38 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +167 -4
- package/build/es/index.typings.mjs +38 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +167 -4
- package/build/es/meta.mjs +38 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +41 -5
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +167 -4
- package/build/internal/cjs/index.typings.js +41 -5
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +167 -4
- package/build/internal/cjs/meta.js +41 -5
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +38 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +167 -4
- package/build/internal/es/index.typings.mjs +38 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +167 -4
- package/build/internal/es/meta.mjs +38 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -306,6 +306,8 @@ interface ButtonData {
|
|
|
306
306
|
text?: string | null;
|
|
307
307
|
/** Button link details. */
|
|
308
308
|
link?: Link;
|
|
309
|
+
/** Node animation. */
|
|
310
|
+
animation?: Animation;
|
|
309
311
|
}
|
|
310
312
|
/** Background type */
|
|
311
313
|
declare enum BackgroundType {
|
|
@@ -582,9 +584,90 @@ interface Rel {
|
|
|
582
584
|
/** Indicates that this link protect referral information from being passed to the target website. */
|
|
583
585
|
noreferrer?: boolean | null;
|
|
584
586
|
}
|
|
587
|
+
interface Animation {
|
|
588
|
+
/** Animation kind. */
|
|
589
|
+
type?: TypeWithLiterals;
|
|
590
|
+
/** Entrance animation, played once when the node first enters the viewport. */
|
|
591
|
+
entrance?: EntranceAnimation;
|
|
592
|
+
}
|
|
593
|
+
declare enum Type {
|
|
594
|
+
/** Animations that play while the node is in view. */
|
|
595
|
+
VIEW = "VIEW"
|
|
596
|
+
}
|
|
597
|
+
/** @enumType */
|
|
598
|
+
type TypeWithLiterals = Type | 'VIEW';
|
|
599
|
+
interface EntranceAnimation {
|
|
600
|
+
/** The entrance effect to play. */
|
|
601
|
+
effect?: EntranceEffect;
|
|
602
|
+
/** Effect duration in milliseconds. Each effect has its own default. */
|
|
603
|
+
duration?: number | null;
|
|
604
|
+
/** Delay before the effect starts, in milliseconds. */
|
|
605
|
+
delay?: number | null;
|
|
606
|
+
}
|
|
607
|
+
interface EntranceEffect {
|
|
608
|
+
/** The entrance effect type. */
|
|
609
|
+
type?: EntranceEffectTypeWithLiterals;
|
|
610
|
+
/**
|
|
611
|
+
* Direction the effect enters from. Allowed values depend on the effect type (e.g. TOP/RIGHT/BOTTOM/LEFT, the diagonals with or without CENTER, corners, HORIZONTAL/VERTICAL, CLOCKWISE/COUNTER_CLOCKWISE).
|
|
612
|
+
* @maxLength 20
|
|
613
|
+
*/
|
|
614
|
+
direction?: string | null;
|
|
615
|
+
/**
|
|
616
|
+
* Clip-path shape: ELLIPSE, CIRCLE, RECTANGLE, or DIAMOND (SHAPE).
|
|
617
|
+
* @maxLength 12
|
|
618
|
+
*/
|
|
619
|
+
shape?: string | null;
|
|
620
|
+
/**
|
|
621
|
+
* Motion style: GENTLE, MODERATE, or INTENSE. Only the effects that expose one accept it.
|
|
622
|
+
* @maxLength 100
|
|
623
|
+
*/
|
|
624
|
+
easing?: string | null;
|
|
625
|
+
}
|
|
626
|
+
declare enum EntranceEffectType {
|
|
627
|
+
/** Fades in from fully transparent to fully opaque. */
|
|
628
|
+
FADE = "FADE",
|
|
629
|
+
/** Enters along a 3D arc path. */
|
|
630
|
+
ARC = "ARC",
|
|
631
|
+
/** Transitions from blurred to sharp. */
|
|
632
|
+
BLUR = "BLUR",
|
|
633
|
+
/** Bounces into place with an elastic curve. */
|
|
634
|
+
BOUNCE = "BOUNCE",
|
|
635
|
+
/** Shrinks down from a larger size. */
|
|
636
|
+
DROP = "DROP",
|
|
637
|
+
/** Expands from a point, scaling to full size. */
|
|
638
|
+
EXPAND = "EXPAND",
|
|
639
|
+
/** Flips into view with a 3D rotation. */
|
|
640
|
+
FLIP = "FLIP",
|
|
641
|
+
/** Drifts gently into place. */
|
|
642
|
+
FLOAT = "FLOAT",
|
|
643
|
+
/** Unfolds from an edge as if hinged. */
|
|
644
|
+
FOLD = "FOLD",
|
|
645
|
+
/** Glides in smoothly from off-screen. */
|
|
646
|
+
GLIDE = "GLIDE",
|
|
647
|
+
/** Progressively revealed by an expanding clip-path. */
|
|
648
|
+
REVEAL = "REVEAL",
|
|
649
|
+
/** Appears through an expanding geometric clip-path shape. */
|
|
650
|
+
SHAPE = "SHAPE",
|
|
651
|
+
/** Revealed through shutter-like strips. */
|
|
652
|
+
SHUTTERS = "SHUTTERS",
|
|
653
|
+
/** Slides in from one side. */
|
|
654
|
+
SLIDE = "SLIDE",
|
|
655
|
+
/** Spins into view while scaling up. */
|
|
656
|
+
SPIN = "SPIN",
|
|
657
|
+
/** Tilts in from the side with 3D rotation. */
|
|
658
|
+
TILT = "TILT",
|
|
659
|
+
/** Rotates into view around a corner pivot. */
|
|
660
|
+
TURN = "TURN",
|
|
661
|
+
/** Expands from its horizontal or vertical center. */
|
|
662
|
+
WINK = "WINK"
|
|
663
|
+
}
|
|
664
|
+
/** @enumType */
|
|
665
|
+
type EntranceEffectTypeWithLiterals = EntranceEffectType | 'FADE' | 'ARC' | 'BLUR' | 'BOUNCE' | 'DROP' | 'EXPAND' | 'FLIP' | 'FLOAT' | 'FOLD' | 'GLIDE' | 'REVEAL' | 'SHAPE' | 'SHUTTERS' | 'SLIDE' | 'SPIN' | 'TILT' | 'TURN' | 'WINK';
|
|
585
666
|
interface CodeBlockData {
|
|
586
667
|
/** Styling for the code block's text. */
|
|
587
668
|
textStyle?: TextStyle;
|
|
669
|
+
/** Node animation. */
|
|
670
|
+
animation?: Animation;
|
|
588
671
|
}
|
|
589
672
|
interface TextStyle {
|
|
590
673
|
/** Text alignment. Defaults to `AUTO`. */
|
|
@@ -615,7 +698,19 @@ interface DividerData {
|
|
|
615
698
|
width?: WidthWithLiterals;
|
|
616
699
|
/** Divider alignment. */
|
|
617
700
|
alignment?: DividerDataAlignmentWithLiterals;
|
|
701
|
+
/** Visual styling for the divider lines. */
|
|
702
|
+
styles?: DividerDataStyles;
|
|
703
|
+
/** Node animation. */
|
|
704
|
+
animation?: Animation;
|
|
705
|
+
}
|
|
706
|
+
declare enum LineCap {
|
|
707
|
+
/** Square line endings. */
|
|
708
|
+
SQUARE = "SQUARE",
|
|
709
|
+
/** Rounded line endings. */
|
|
710
|
+
ROUND = "ROUND"
|
|
618
711
|
}
|
|
712
|
+
/** @enumType */
|
|
713
|
+
type LineCapWithLiterals = LineCap | 'SQUARE' | 'ROUND';
|
|
619
714
|
declare enum LineStyle {
|
|
620
715
|
/** Single Line */
|
|
621
716
|
SINGLE = "SINGLE",
|
|
@@ -648,6 +743,26 @@ declare enum DividerDataAlignment {
|
|
|
648
743
|
}
|
|
649
744
|
/** @enumType */
|
|
650
745
|
type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
|
746
|
+
interface DividerDataStyles {
|
|
747
|
+
/**
|
|
748
|
+
* Divider color as a hexadecimal value. An alpha channel controls opacity.
|
|
749
|
+
* @maxLength 19
|
|
750
|
+
*/
|
|
751
|
+
color?: string | null;
|
|
752
|
+
/** Divider line ending shape. */
|
|
753
|
+
lineCap?: LineCapWithLiterals;
|
|
754
|
+
/**
|
|
755
|
+
* Line thicknesses in pixels, ordered from first line to last line.
|
|
756
|
+
* @maxSize 10
|
|
757
|
+
*/
|
|
758
|
+
lineThickness?: number[];
|
|
759
|
+
/** Visible dash length for dashed dividers, in pixels. The pattern is snapped to a whole number of dashes so that the first and last dash touch the divider's edges - narrower containers show fewer dashes at the same size. */
|
|
760
|
+
dashLength?: number | null;
|
|
761
|
+
/** Visible gap between dashes or dots, in pixels. */
|
|
762
|
+
dashGap?: number | null;
|
|
763
|
+
/** Gap between divider lines in pixels. */
|
|
764
|
+
lineGap?: number | null;
|
|
765
|
+
}
|
|
651
766
|
interface FileData {
|
|
652
767
|
/** Styling for the file's container. */
|
|
653
768
|
containerData?: PluginContainerData;
|
|
@@ -670,6 +785,8 @@ interface FileData {
|
|
|
670
785
|
path?: string | null;
|
|
671
786
|
/** File size in KB. */
|
|
672
787
|
sizeInKb?: string | null;
|
|
788
|
+
/** Node animation. */
|
|
789
|
+
animation?: Animation;
|
|
673
790
|
}
|
|
674
791
|
declare enum ViewMode {
|
|
675
792
|
/** No PDF view */
|
|
@@ -730,6 +847,8 @@ interface GalleryData {
|
|
|
730
847
|
disableExpand?: boolean | null;
|
|
731
848
|
/** Sets whether the gallery's download button is disabled. Defaults to `false`. */
|
|
732
849
|
disableDownload?: boolean | null;
|
|
850
|
+
/** Node animation. */
|
|
851
|
+
animation?: Animation;
|
|
733
852
|
}
|
|
734
853
|
interface Media {
|
|
735
854
|
/** The source for the media's data. */
|
|
@@ -873,6 +992,8 @@ interface GIFData {
|
|
|
873
992
|
width?: number;
|
|
874
993
|
/** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
|
|
875
994
|
gifType?: GIFTypeWithLiterals;
|
|
995
|
+
/** Node animation. */
|
|
996
|
+
animation?: Animation;
|
|
876
997
|
}
|
|
877
998
|
interface GIF {
|
|
878
999
|
/**
|
|
@@ -906,6 +1027,8 @@ interface HeadingData {
|
|
|
906
1027
|
indentation?: number | null;
|
|
907
1028
|
/** Rendered heading level for SEO/accessibility, overrides the HTML tag when set. */
|
|
908
1029
|
renderedLevel?: number | null;
|
|
1030
|
+
/** Node animation. */
|
|
1031
|
+
animation?: Animation;
|
|
909
1032
|
}
|
|
910
1033
|
interface HTMLData extends HTMLDataDataOneOf {
|
|
911
1034
|
/** The URL for the HTML code for the node. */
|
|
@@ -925,6 +1048,8 @@ interface HTMLData extends HTMLDataDataOneOf {
|
|
|
925
1048
|
source?: SourceWithLiterals;
|
|
926
1049
|
/** If container height is aligned with its content height. Defaults to `true`. */
|
|
927
1050
|
autoHeight?: boolean | null;
|
|
1051
|
+
/** Node animation. */
|
|
1052
|
+
animation?: Animation;
|
|
928
1053
|
}
|
|
929
1054
|
/** @oneof */
|
|
930
1055
|
interface HTMLDataDataOneOf {
|
|
@@ -974,6 +1099,8 @@ interface ImageData {
|
|
|
974
1099
|
crop?: ImageDataCrop;
|
|
975
1100
|
/** Optional shape mask applied to the visible crop. Supported values: CIRCLE, OVAL, STAR, PENTAGON, HEXAGON, TRIANGLE, HEART, RHOMBUS, FLUID, WINDOW. */
|
|
976
1101
|
cropShape?: string | null;
|
|
1102
|
+
/** Node animation. */
|
|
1103
|
+
animation?: Animation;
|
|
977
1104
|
}
|
|
978
1105
|
interface StylesBorder {
|
|
979
1106
|
/** Border width in pixels. */
|
|
@@ -1015,6 +1142,8 @@ interface LinkPreviewData {
|
|
|
1015
1142
|
html?: string | null;
|
|
1016
1143
|
/** Styling for the link preview. */
|
|
1017
1144
|
styles?: LinkPreviewDataStyles;
|
|
1145
|
+
/** Node animation. */
|
|
1146
|
+
animation?: Animation;
|
|
1018
1147
|
}
|
|
1019
1148
|
declare enum StylesPosition {
|
|
1020
1149
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
@@ -1110,6 +1239,8 @@ interface ParagraphData {
|
|
|
1110
1239
|
indentation?: number | null;
|
|
1111
1240
|
/** Paragraph level */
|
|
1112
1241
|
level?: number | null;
|
|
1242
|
+
/** Node animation. */
|
|
1243
|
+
animation?: Animation;
|
|
1113
1244
|
}
|
|
1114
1245
|
interface PollData {
|
|
1115
1246
|
/** Styling for the poll's container. */
|
|
@@ -1120,6 +1251,8 @@ interface PollData {
|
|
|
1120
1251
|
layout?: PollDataLayout;
|
|
1121
1252
|
/** Styling for the poll and voting options. */
|
|
1122
1253
|
design?: Design;
|
|
1254
|
+
/** Node animation. */
|
|
1255
|
+
animation?: Animation;
|
|
1123
1256
|
}
|
|
1124
1257
|
declare enum ViewRole {
|
|
1125
1258
|
/** Only Poll creator can view the results */
|
|
@@ -1478,6 +1611,8 @@ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
|
1478
1611
|
containerData?: PluginContainerData;
|
|
1479
1612
|
/** Pricing data for embedded Wix App content. */
|
|
1480
1613
|
pricingData?: PricingData;
|
|
1614
|
+
/** Node animation. */
|
|
1615
|
+
animation?: Animation;
|
|
1481
1616
|
}
|
|
1482
1617
|
/** @oneof */
|
|
1483
1618
|
interface AppEmbedDataAppDataOneOf {
|
|
@@ -1520,14 +1655,14 @@ declare enum Placement {
|
|
|
1520
1655
|
}
|
|
1521
1656
|
/** @enumType */
|
|
1522
1657
|
type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
|
|
1523
|
-
declare enum
|
|
1658
|
+
declare enum CardStylesType {
|
|
1524
1659
|
/** Card with visible border and background */
|
|
1525
1660
|
CONTAINED = "CONTAINED",
|
|
1526
1661
|
/** Card without visible border */
|
|
1527
1662
|
FRAMELESS = "FRAMELESS"
|
|
1528
1663
|
}
|
|
1529
1664
|
/** @enumType */
|
|
1530
|
-
type
|
|
1665
|
+
type CardStylesTypeWithLiterals = CardStylesType | 'CONTAINED' | 'FRAMELESS';
|
|
1531
1666
|
declare enum Alignment {
|
|
1532
1667
|
/** Content aligned to start (left in LTR layouts, right in RTL layouts) */
|
|
1533
1668
|
START = "START",
|
|
@@ -1663,7 +1798,7 @@ interface CardStyles {
|
|
|
1663
1798
|
/** Card border radius in pixels. */
|
|
1664
1799
|
borderRadius?: number | null;
|
|
1665
1800
|
/** Card type. Defaults to `CONTAINED`. */
|
|
1666
|
-
type?:
|
|
1801
|
+
type?: CardStylesTypeWithLiterals;
|
|
1667
1802
|
/** Content alignment. Defaults to `START`. */
|
|
1668
1803
|
alignment?: AlignmentWithLiterals;
|
|
1669
1804
|
/** Layout for title and price. Defaults to `STACKED`. */
|
|
@@ -1719,6 +1854,8 @@ interface VideoData {
|
|
|
1719
1854
|
title?: string | null;
|
|
1720
1855
|
/** Video options. */
|
|
1721
1856
|
options?: PlaybackOptions;
|
|
1857
|
+
/** Node animation. */
|
|
1858
|
+
animation?: Animation;
|
|
1722
1859
|
}
|
|
1723
1860
|
interface PlaybackOptions {
|
|
1724
1861
|
/** Sets whether the media will automatically start playing. */
|
|
@@ -1735,6 +1872,8 @@ interface EmbedData {
|
|
|
1735
1872
|
oembed?: Oembed;
|
|
1736
1873
|
/** Origin asset source. */
|
|
1737
1874
|
src?: string | null;
|
|
1875
|
+
/** Node animation. */
|
|
1876
|
+
animation?: Animation;
|
|
1738
1877
|
}
|
|
1739
1878
|
interface Oembed {
|
|
1740
1879
|
/** The resource type. */
|
|
@@ -1779,6 +1918,8 @@ interface CollapsibleListData {
|
|
|
1779
1918
|
direction?: DirectionWithLiterals;
|
|
1780
1919
|
/** If `true`, The collapsible item will appear in search results as an FAQ. */
|
|
1781
1920
|
isQapageData?: boolean | null;
|
|
1921
|
+
/** Node animation. */
|
|
1922
|
+
animation?: Animation;
|
|
1782
1923
|
}
|
|
1783
1924
|
declare enum InitialExpandedItems {
|
|
1784
1925
|
/** First item will be expended initally */
|
|
@@ -1821,6 +1962,8 @@ interface TableData {
|
|
|
1821
1962
|
cellPadding?: number[];
|
|
1822
1963
|
/** Table's alternative text. */
|
|
1823
1964
|
altText?: string | null;
|
|
1965
|
+
/** Node animation. */
|
|
1966
|
+
animation?: Animation;
|
|
1824
1967
|
}
|
|
1825
1968
|
interface Dimensions {
|
|
1826
1969
|
/** An array representing relative width of each column in relation to the other columns. */
|
|
@@ -1929,6 +2072,8 @@ interface AudioData {
|
|
|
1929
2072
|
authorName?: string | null;
|
|
1930
2073
|
/** An HTML version of the audio node. */
|
|
1931
2074
|
html?: string | null;
|
|
2075
|
+
/** Node animation. */
|
|
2076
|
+
animation?: Animation;
|
|
1932
2077
|
}
|
|
1933
2078
|
interface OrderedListData {
|
|
1934
2079
|
/** Indentation level from 0-4. */
|
|
@@ -1937,16 +2082,22 @@ interface OrderedListData {
|
|
|
1937
2082
|
offset?: number | null;
|
|
1938
2083
|
/** List start number. */
|
|
1939
2084
|
start?: number | null;
|
|
2085
|
+
/** Node animation. */
|
|
2086
|
+
animation?: Animation;
|
|
1940
2087
|
}
|
|
1941
2088
|
interface BulletedListData {
|
|
1942
2089
|
/** Indentation level from 0-4. */
|
|
1943
2090
|
indentation?: number;
|
|
1944
2091
|
/** Offset level from 0-4. */
|
|
1945
2092
|
offset?: number | null;
|
|
2093
|
+
/** Node animation. */
|
|
2094
|
+
animation?: Animation;
|
|
1946
2095
|
}
|
|
1947
2096
|
interface BlockquoteData {
|
|
1948
2097
|
/** Indentation level from 1-4. */
|
|
1949
2098
|
indentation?: number;
|
|
2099
|
+
/** Node animation. */
|
|
2100
|
+
animation?: Animation;
|
|
1950
2101
|
}
|
|
1951
2102
|
interface CaptionData {
|
|
1952
2103
|
textStyle?: TextStyle;
|
|
@@ -2004,6 +2155,8 @@ interface LayoutData {
|
|
|
2004
2155
|
background?: LayoutDataBackground;
|
|
2005
2156
|
/** Backdrop styling (color or gradient). */
|
|
2006
2157
|
backdrop?: Backdrop;
|
|
2158
|
+
/** Node animation. */
|
|
2159
|
+
animation?: Animation;
|
|
2007
2160
|
}
|
|
2008
2161
|
declare enum ImageScalingScaling {
|
|
2009
2162
|
/** Auto image scaling */
|
|
@@ -2155,6 +2308,8 @@ interface ShapeData {
|
|
|
2155
2308
|
shape?: Media;
|
|
2156
2309
|
/** Styling for the shape. */
|
|
2157
2310
|
styles?: ShapeDataStyles;
|
|
2311
|
+
/** Node animation. */
|
|
2312
|
+
animation?: Animation;
|
|
2158
2313
|
}
|
|
2159
2314
|
interface ShapeDataStyles {
|
|
2160
2315
|
/**
|
|
@@ -2257,6 +2412,8 @@ interface TocData {
|
|
|
2257
2412
|
color?: string | null;
|
|
2258
2413
|
/** Indentation style. Default: NESTED. */
|
|
2259
2414
|
indentation?: IndentationWithLiterals;
|
|
2415
|
+
/** Node animation. */
|
|
2416
|
+
animation?: Animation;
|
|
2260
2417
|
}
|
|
2261
2418
|
/** List style. */
|
|
2262
2419
|
declare enum ListStyle {
|
|
@@ -2303,6 +2460,8 @@ interface SmartBlockData {
|
|
|
2303
2460
|
borderWidth?: number | null;
|
|
2304
2461
|
/** Border radius in pixels (for SOLID_JOINED_BOXES variant). */
|
|
2305
2462
|
borderRadius?: number | null;
|
|
2463
|
+
/** Node animation. */
|
|
2464
|
+
animation?: Animation;
|
|
2306
2465
|
}
|
|
2307
2466
|
/** Layout type of the smart block */
|
|
2308
2467
|
declare enum SmartBlockDataType {
|
|
@@ -2406,10 +2565,14 @@ interface CheckboxListData {
|
|
|
2406
2565
|
indentation?: number;
|
|
2407
2566
|
/** Offset level from 0-4. */
|
|
2408
2567
|
offset?: number | null;
|
|
2568
|
+
/** Node animation. */
|
|
2569
|
+
animation?: Animation;
|
|
2409
2570
|
}
|
|
2410
2571
|
interface ListItemNodeData {
|
|
2411
2572
|
/** Checkbox list item state. Defaults to `false`. */
|
|
2412
2573
|
checked?: boolean | null;
|
|
2574
|
+
/** Node animation. */
|
|
2575
|
+
animation?: Animation;
|
|
2413
2576
|
}
|
|
2414
2577
|
interface Metadata {
|
|
2415
2578
|
/** Schema version. */
|
|
@@ -2658,4 +2821,4 @@ interface ConvertFromRicosDocumentOptionsOptionsOneOf {
|
|
|
2658
2821
|
plainTextOptions?: PlainTextOptions;
|
|
2659
2822
|
}
|
|
2660
2823
|
|
|
2661
|
-
export { Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerPosition, type BannerPositionWithLiterals, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type ConvertFromRicosDocumentOptions, type ConvertFromRicosDocumentOptionsOptionsOneOf, type ConvertFromRicosDocumentRequest, type ConvertFromRicosDocumentRequestOptionsOneOf, type ConvertFromRicosDocumentResponse, type ConvertFromRicosDocumentResponseResultOneOf, type ConvertToRicosDocumentOptions, type ConvertToRicosDocumentOptionsSourceOneOf, type ConvertToRicosDocumentRequest, type ConvertToRicosDocumentRequestSourceOneOf, type ConvertToRicosDocumentResponse, Crop, type CropWithLiterals, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type EmbedData, type EventData, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemStyle, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListItemNodeData, ListStyle, type ListStyleWithLiterals, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlainTextOptions, type PlaybackOptions, Plugin, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type PluginWithLiterals, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PricingData, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RibbonStyles, type RichContent, type RicosDocumentOptions, type RicosDocumentPlaceholder, type RicosDocumentViolation, Scaling, type ScalingWithLiterals, type Settings, type ShapeData, type ShapeDataStyles, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, TargetFormat, type TargetFormatWithLiterals, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type ValidateDocumentOptions, type ValidateDocumentRequest, type ValidateDocumentResponse, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, convertFromRicosDocument, convertToRicosDocument, validateDocument };
|
|
2824
|
+
export { Alignment, type AlignmentWithLiterals, type AnchorData, type Animation, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerPosition, type BannerPositionWithLiterals, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type ConvertFromRicosDocumentOptions, type ConvertFromRicosDocumentOptionsOptionsOneOf, type ConvertFromRicosDocumentRequest, type ConvertFromRicosDocumentRequestOptionsOneOf, type ConvertFromRicosDocumentResponse, type ConvertFromRicosDocumentResponseResultOneOf, type ConvertToRicosDocumentOptions, type ConvertToRicosDocumentOptionsSourceOneOf, type ConvertToRicosDocumentRequest, type ConvertToRicosDocumentRequestSourceOneOf, type ConvertToRicosDocumentResponse, Crop, type CropWithLiterals, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DividerDataStyles, type DocumentStyle, type EmbedData, type EntranceAnimation, type EntranceEffect, EntranceEffectType, type EntranceEffectTypeWithLiterals, type EventData, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemStyle, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineCap, type LineCapWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListItemNodeData, ListStyle, type ListStyleWithLiterals, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlainTextOptions, type PlaybackOptions, Plugin, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type PluginWithLiterals, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PricingData, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RibbonStyles, type RichContent, type RicosDocumentOptions, type RicosDocumentPlaceholder, type RicosDocumentViolation, Scaling, type ScalingWithLiterals, type Settings, type ShapeData, type ShapeDataStyles, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, TargetFormat, type TargetFormatWithLiterals, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, Type, type TypeWithLiterals, type ValidateDocumentOptions, type ValidateDocumentRequest, type ValidateDocumentResponse, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, convertFromRicosDocument, convertToRicosDocument, validateDocument };
|
|
@@ -28,12 +28,14 @@ __export(index_typings_exports, {
|
|
|
28
28
|
BannerPosition: () => BannerPosition,
|
|
29
29
|
ButtonDataType: () => ButtonDataType,
|
|
30
30
|
CardDataBackgroundType: () => CardDataBackgroundType,
|
|
31
|
+
CardStylesType: () => CardStylesType,
|
|
31
32
|
ColumnSize: () => ColumnSize,
|
|
32
33
|
Crop: () => Crop,
|
|
33
34
|
DecorationType: () => DecorationType,
|
|
34
35
|
DesignTarget: () => DesignTarget,
|
|
35
36
|
Direction: () => Direction,
|
|
36
37
|
DividerDataAlignment: () => DividerDataAlignment,
|
|
38
|
+
EntranceEffectType: () => EntranceEffectType,
|
|
37
39
|
FontType: () => FontType,
|
|
38
40
|
GIFType: () => GIFType,
|
|
39
41
|
GradientType: () => GradientType,
|
|
@@ -45,6 +47,7 @@ __export(index_typings_exports, {
|
|
|
45
47
|
Layout: () => Layout,
|
|
46
48
|
LayoutDataBackgroundType: () => LayoutDataBackgroundType,
|
|
47
49
|
LayoutType: () => LayoutType,
|
|
50
|
+
LineCap: () => LineCap,
|
|
48
51
|
LineStyle: () => LineStyle,
|
|
49
52
|
ListStyle: () => ListStyle,
|
|
50
53
|
MapType: () => MapType,
|
|
@@ -661,6 +664,31 @@ var Target = /* @__PURE__ */ ((Target2) => {
|
|
|
661
664
|
Target2["TOP"] = "TOP";
|
|
662
665
|
return Target2;
|
|
663
666
|
})(Target || {});
|
|
667
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
|
668
|
+
Type2["VIEW"] = "VIEW";
|
|
669
|
+
return Type2;
|
|
670
|
+
})(Type || {});
|
|
671
|
+
var EntranceEffectType = /* @__PURE__ */ ((EntranceEffectType2) => {
|
|
672
|
+
EntranceEffectType2["FADE"] = "FADE";
|
|
673
|
+
EntranceEffectType2["ARC"] = "ARC";
|
|
674
|
+
EntranceEffectType2["BLUR"] = "BLUR";
|
|
675
|
+
EntranceEffectType2["BOUNCE"] = "BOUNCE";
|
|
676
|
+
EntranceEffectType2["DROP"] = "DROP";
|
|
677
|
+
EntranceEffectType2["EXPAND"] = "EXPAND";
|
|
678
|
+
EntranceEffectType2["FLIP"] = "FLIP";
|
|
679
|
+
EntranceEffectType2["FLOAT"] = "FLOAT";
|
|
680
|
+
EntranceEffectType2["FOLD"] = "FOLD";
|
|
681
|
+
EntranceEffectType2["GLIDE"] = "GLIDE";
|
|
682
|
+
EntranceEffectType2["REVEAL"] = "REVEAL";
|
|
683
|
+
EntranceEffectType2["SHAPE"] = "SHAPE";
|
|
684
|
+
EntranceEffectType2["SHUTTERS"] = "SHUTTERS";
|
|
685
|
+
EntranceEffectType2["SLIDE"] = "SLIDE";
|
|
686
|
+
EntranceEffectType2["SPIN"] = "SPIN";
|
|
687
|
+
EntranceEffectType2["TILT"] = "TILT";
|
|
688
|
+
EntranceEffectType2["TURN"] = "TURN";
|
|
689
|
+
EntranceEffectType2["WINK"] = "WINK";
|
|
690
|
+
return EntranceEffectType2;
|
|
691
|
+
})(EntranceEffectType || {});
|
|
664
692
|
var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
|
|
665
693
|
TextAlignment2["AUTO"] = "AUTO";
|
|
666
694
|
TextAlignment2["LEFT"] = "LEFT";
|
|
@@ -669,6 +697,11 @@ var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
|
|
|
669
697
|
TextAlignment2["JUSTIFY"] = "JUSTIFY";
|
|
670
698
|
return TextAlignment2;
|
|
671
699
|
})(TextAlignment || {});
|
|
700
|
+
var LineCap = /* @__PURE__ */ ((LineCap2) => {
|
|
701
|
+
LineCap2["SQUARE"] = "SQUARE";
|
|
702
|
+
LineCap2["ROUND"] = "ROUND";
|
|
703
|
+
return LineCap2;
|
|
704
|
+
})(LineCap || {});
|
|
672
705
|
var LineStyle = /* @__PURE__ */ ((LineStyle2) => {
|
|
673
706
|
LineStyle2["SINGLE"] = "SINGLE";
|
|
674
707
|
LineStyle2["DOUBLE"] = "DOUBLE";
|
|
@@ -831,11 +864,11 @@ var Placement = /* @__PURE__ */ ((Placement2) => {
|
|
|
831
864
|
Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
|
|
832
865
|
return Placement2;
|
|
833
866
|
})(Placement || {});
|
|
834
|
-
var
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
return
|
|
838
|
-
})(
|
|
867
|
+
var CardStylesType = /* @__PURE__ */ ((CardStylesType2) => {
|
|
868
|
+
CardStylesType2["CONTAINED"] = "CONTAINED";
|
|
869
|
+
CardStylesType2["FRAMELESS"] = "FRAMELESS";
|
|
870
|
+
return CardStylesType2;
|
|
871
|
+
})(CardStylesType || {});
|
|
839
872
|
var Alignment = /* @__PURE__ */ ((Alignment2) => {
|
|
840
873
|
Alignment2["START"] = "START";
|
|
841
874
|
Alignment2["CENTER"] = "CENTER";
|
|
@@ -1110,12 +1143,14 @@ async function convertFromRicosDocument2(document, targetFormat, options) {
|
|
|
1110
1143
|
BannerPosition,
|
|
1111
1144
|
ButtonDataType,
|
|
1112
1145
|
CardDataBackgroundType,
|
|
1146
|
+
CardStylesType,
|
|
1113
1147
|
ColumnSize,
|
|
1114
1148
|
Crop,
|
|
1115
1149
|
DecorationType,
|
|
1116
1150
|
DesignTarget,
|
|
1117
1151
|
Direction,
|
|
1118
1152
|
DividerDataAlignment,
|
|
1153
|
+
EntranceEffectType,
|
|
1119
1154
|
FontType,
|
|
1120
1155
|
GIFType,
|
|
1121
1156
|
GradientType,
|
|
@@ -1127,6 +1162,7 @@ async function convertFromRicosDocument2(document, targetFormat, options) {
|
|
|
1127
1162
|
Layout,
|
|
1128
1163
|
LayoutDataBackgroundType,
|
|
1129
1164
|
LayoutType,
|
|
1165
|
+
LineCap,
|
|
1130
1166
|
LineStyle,
|
|
1131
1167
|
ListStyle,
|
|
1132
1168
|
MapType,
|