@wix/auto_sdk_rich-content_ricos-documents 1.0.11 → 1.0.13
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 +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +37 -3
- package/build/cjs/index.typings.js +1 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +37 -3
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +37 -3
- package/build/es/index.typings.mjs +1 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +37 -3
- package/build/es/meta.mjs +1 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +1 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +37 -3
- package/build/internal/cjs/index.typings.js +1 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +37 -3
- package/build/internal/cjs/meta.js +1 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +1 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +37 -3
- package/build/internal/es/index.typings.mjs +1 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +37 -3
- package/build/internal/es/meta.mjs +1 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -1181,6 +1181,8 @@ interface Decoration extends DecorationDataOneOf {
|
|
|
1181
1181
|
superscriptData?: boolean | null;
|
|
1182
1182
|
/** Data for a subscript decoration. Defaults to `true`. */
|
|
1183
1183
|
subscriptData?: boolean | null;
|
|
1184
|
+
/** Data for a font family decoration. */
|
|
1185
|
+
fontFamilyData?: FontFamilyData;
|
|
1184
1186
|
/** The type of decoration to apply. */
|
|
1185
1187
|
type?: DecorationTypeWithLiterals;
|
|
1186
1188
|
}
|
|
@@ -1210,6 +1212,8 @@ interface DecorationDataOneOf {
|
|
|
1210
1212
|
superscriptData?: boolean | null;
|
|
1211
1213
|
/** Data for a subscript decoration. Defaults to `true`. */
|
|
1212
1214
|
subscriptData?: boolean | null;
|
|
1215
|
+
/** Data for a font family decoration. */
|
|
1216
|
+
fontFamilyData?: FontFamilyData;
|
|
1213
1217
|
}
|
|
1214
1218
|
declare enum DecorationType {
|
|
1215
1219
|
BOLD = "BOLD",
|
|
@@ -1224,10 +1228,11 @@ declare enum DecorationType {
|
|
|
1224
1228
|
EXTERNAL = "EXTERNAL",
|
|
1225
1229
|
STRIKETHROUGH = "STRIKETHROUGH",
|
|
1226
1230
|
SUPERSCRIPT = "SUPERSCRIPT",
|
|
1227
|
-
SUBSCRIPT = "SUBSCRIPT"
|
|
1231
|
+
SUBSCRIPT = "SUBSCRIPT",
|
|
1232
|
+
FONT_FAMILY = "FONT_FAMILY"
|
|
1228
1233
|
}
|
|
1229
1234
|
/** @enumType */
|
|
1230
|
-
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT';
|
|
1235
|
+
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT' | 'FONT_FAMILY';
|
|
1231
1236
|
interface AnchorData {
|
|
1232
1237
|
/** The target node's ID. */
|
|
1233
1238
|
anchor?: string;
|
|
@@ -1266,6 +1271,10 @@ interface SpoilerData {
|
|
|
1266
1271
|
/** Spoiler ID. */
|
|
1267
1272
|
id?: string | null;
|
|
1268
1273
|
}
|
|
1274
|
+
interface FontFamilyData {
|
|
1275
|
+
/** @maxLength 1000 */
|
|
1276
|
+
value?: string | null;
|
|
1277
|
+
}
|
|
1269
1278
|
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
1270
1279
|
/** Data for embedded Wix Bookings content. */
|
|
1271
1280
|
bookingData?: BookingData;
|
|
@@ -1650,6 +1659,13 @@ interface TableData {
|
|
|
1650
1659
|
rowHeader?: boolean | null;
|
|
1651
1660
|
/** Sets whether the table's first column is a header. Defaults to `false`. */
|
|
1652
1661
|
columnHeader?: boolean | null;
|
|
1662
|
+
/** The spacing between cells in pixels. Defaults to `0`. */
|
|
1663
|
+
cellSpacing?: number | null;
|
|
1664
|
+
/**
|
|
1665
|
+
* Padding in pixels for cells. Follows CSS order: top, right, bottom, left.
|
|
1666
|
+
* @maxSize 4
|
|
1667
|
+
*/
|
|
1668
|
+
cellPadding?: number[];
|
|
1653
1669
|
}
|
|
1654
1670
|
interface Dimensions {
|
|
1655
1671
|
/** An array representing relative width of each column in relation to the other columns. */
|
|
@@ -1664,6 +1680,12 @@ interface TableCellData {
|
|
|
1664
1680
|
cellStyle?: CellStyle;
|
|
1665
1681
|
/** The cell's border colors. */
|
|
1666
1682
|
borderColors?: BorderColors;
|
|
1683
|
+
/** Defines how many columns the cell spans. Default: 1. */
|
|
1684
|
+
colspan?: number | null;
|
|
1685
|
+
/** Defines how many rows the cell spans. Default: 1. */
|
|
1686
|
+
rowspan?: number | null;
|
|
1687
|
+
/** The cell's border widths. */
|
|
1688
|
+
borderWidths?: BorderWidths;
|
|
1667
1689
|
}
|
|
1668
1690
|
declare enum VerticalAlignment {
|
|
1669
1691
|
/** Top alignment */
|
|
@@ -1706,6 +1728,16 @@ interface BorderColors {
|
|
|
1706
1728
|
*/
|
|
1707
1729
|
bottom?: string | null;
|
|
1708
1730
|
}
|
|
1731
|
+
interface BorderWidths {
|
|
1732
|
+
/** Left border width in pixels. */
|
|
1733
|
+
left?: number | null;
|
|
1734
|
+
/** Right border width in pixels. */
|
|
1735
|
+
right?: number | null;
|
|
1736
|
+
/** Top border width in pixels. */
|
|
1737
|
+
top?: number | null;
|
|
1738
|
+
/** Bottom border width in pixels. */
|
|
1739
|
+
bottom?: number | null;
|
|
1740
|
+
}
|
|
1709
1741
|
/**
|
|
1710
1742
|
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
1711
1743
|
* `Value` type union.
|
|
@@ -1805,6 +1837,8 @@ interface LayoutData {
|
|
|
1805
1837
|
responsivenessBehaviour?: ResponsivenessBehaviourWithLiterals;
|
|
1806
1838
|
/** Size in pixels when responsiveness_behaviour applies */
|
|
1807
1839
|
responsivenessBreakpoint?: number | null;
|
|
1840
|
+
/** Styling for the layout's container. */
|
|
1841
|
+
containerData?: PluginContainerData;
|
|
1808
1842
|
}
|
|
1809
1843
|
declare enum Scaling {
|
|
1810
1844
|
/** Auto image scaling */
|
|
@@ -2121,4 +2155,4 @@ interface ConvertFromRicosDocumentOptionsOptionsOneOf {
|
|
|
2121
2155
|
plainTextOptions?: PlainTextOptions;
|
|
2122
2156
|
}
|
|
2123
2157
|
|
|
2124
|
-
export { Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, 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, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type EmbedData, type EventData, type FileData, type FileSource, type FileSourceDataOneOf, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type Image, type ImageData, type ImageDataStyles, ImagePosition, type ImagePositionWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemStyle, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, 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, 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 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, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, 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, type TypeWithLiterals, type ValidateDocumentOptions, type ValidateDocumentRequest, type ValidateDocumentResponse, 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 };
|
|
2158
|
+
export { Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, 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, 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, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type Image, type ImageData, type ImageDataStyles, ImagePosition, type ImagePositionWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemStyle, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, 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, 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 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, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, 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, type TypeWithLiterals, type ValidateDocumentOptions, type ValidateDocumentRequest, type ValidateDocumentResponse, 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 };
|
|
@@ -464,6 +464,7 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
|
|
|
464
464
|
DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
|
|
465
465
|
DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
|
|
466
466
|
DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
|
|
467
|
+
DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
|
|
467
468
|
return DecorationType2;
|
|
468
469
|
})(DecorationType || {});
|
|
469
470
|
var FontType = /* @__PURE__ */ ((FontType2) => {
|