@wix/auto_sdk_multilingual_machine-translation 1.0.32 → 1.0.33
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 +2 -2
|
@@ -1162,6 +1162,8 @@ interface Decoration extends DecorationDataOneOf {
|
|
|
1162
1162
|
superscriptData?: boolean | null;
|
|
1163
1163
|
/** Data for a subscript decoration. Defaults to `true`. */
|
|
1164
1164
|
subscriptData?: boolean | null;
|
|
1165
|
+
/** Data for a font family decoration. */
|
|
1166
|
+
fontFamilyData?: FontFamilyData;
|
|
1165
1167
|
/** The type of decoration to apply. */
|
|
1166
1168
|
type?: DecorationTypeWithLiterals;
|
|
1167
1169
|
}
|
|
@@ -1191,6 +1193,8 @@ interface DecorationDataOneOf {
|
|
|
1191
1193
|
superscriptData?: boolean | null;
|
|
1192
1194
|
/** Data for a subscript decoration. Defaults to `true`. */
|
|
1193
1195
|
subscriptData?: boolean | null;
|
|
1196
|
+
/** Data for a font family decoration. */
|
|
1197
|
+
fontFamilyData?: FontFamilyData;
|
|
1194
1198
|
}
|
|
1195
1199
|
declare enum DecorationType {
|
|
1196
1200
|
BOLD = "BOLD",
|
|
@@ -1205,10 +1209,11 @@ declare enum DecorationType {
|
|
|
1205
1209
|
EXTERNAL = "EXTERNAL",
|
|
1206
1210
|
STRIKETHROUGH = "STRIKETHROUGH",
|
|
1207
1211
|
SUPERSCRIPT = "SUPERSCRIPT",
|
|
1208
|
-
SUBSCRIPT = "SUBSCRIPT"
|
|
1212
|
+
SUBSCRIPT = "SUBSCRIPT",
|
|
1213
|
+
FONT_FAMILY = "FONT_FAMILY"
|
|
1209
1214
|
}
|
|
1210
1215
|
/** @enumType */
|
|
1211
|
-
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT';
|
|
1216
|
+
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT' | 'FONT_FAMILY';
|
|
1212
1217
|
interface AnchorData {
|
|
1213
1218
|
/** The target node's ID. */
|
|
1214
1219
|
anchor?: string;
|
|
@@ -1247,6 +1252,10 @@ interface SpoilerData {
|
|
|
1247
1252
|
/** Spoiler ID. */
|
|
1248
1253
|
id?: string | null;
|
|
1249
1254
|
}
|
|
1255
|
+
interface FontFamilyData {
|
|
1256
|
+
/** @maxLength 1000 */
|
|
1257
|
+
value?: string | null;
|
|
1258
|
+
}
|
|
1250
1259
|
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
1251
1260
|
/** Data for embedded Wix Bookings content. */
|
|
1252
1261
|
bookingData?: BookingData;
|
|
@@ -1631,6 +1640,13 @@ interface TableData {
|
|
|
1631
1640
|
rowHeader?: boolean | null;
|
|
1632
1641
|
/** Sets whether the table's first column is a header. Defaults to `false`. */
|
|
1633
1642
|
columnHeader?: boolean | null;
|
|
1643
|
+
/** The spacing between cells in pixels. Defaults to `0`. */
|
|
1644
|
+
cellSpacing?: number | null;
|
|
1645
|
+
/**
|
|
1646
|
+
* Padding in pixels for cells. Follows CSS order: top, right, bottom, left.
|
|
1647
|
+
* @maxSize 4
|
|
1648
|
+
*/
|
|
1649
|
+
cellPadding?: number[];
|
|
1634
1650
|
}
|
|
1635
1651
|
interface Dimensions {
|
|
1636
1652
|
/** An array representing relative width of each column in relation to the other columns. */
|
|
@@ -1645,6 +1661,12 @@ interface TableCellData {
|
|
|
1645
1661
|
cellStyle?: CellStyle;
|
|
1646
1662
|
/** The cell's border colors. */
|
|
1647
1663
|
borderColors?: BorderColors;
|
|
1664
|
+
/** Defines how many columns the cell spans. Default: 1. */
|
|
1665
|
+
colspan?: number | null;
|
|
1666
|
+
/** Defines how many rows the cell spans. Default: 1. */
|
|
1667
|
+
rowspan?: number | null;
|
|
1668
|
+
/** The cell's border widths. */
|
|
1669
|
+
borderWidths?: BorderWidths;
|
|
1648
1670
|
}
|
|
1649
1671
|
declare enum VerticalAlignment {
|
|
1650
1672
|
/** Top alignment */
|
|
@@ -1687,6 +1709,16 @@ interface BorderColors {
|
|
|
1687
1709
|
*/
|
|
1688
1710
|
bottom?: string | null;
|
|
1689
1711
|
}
|
|
1712
|
+
interface BorderWidths {
|
|
1713
|
+
/** Left border width in pixels. */
|
|
1714
|
+
left?: number | null;
|
|
1715
|
+
/** Right border width in pixels. */
|
|
1716
|
+
right?: number | null;
|
|
1717
|
+
/** Top border width in pixels. */
|
|
1718
|
+
top?: number | null;
|
|
1719
|
+
/** Bottom border width in pixels. */
|
|
1720
|
+
bottom?: number | null;
|
|
1721
|
+
}
|
|
1690
1722
|
/**
|
|
1691
1723
|
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
1692
1724
|
* `Value` type union.
|
|
@@ -1786,6 +1818,8 @@ interface LayoutData {
|
|
|
1786
1818
|
responsivenessBehaviour?: ResponsivenessBehaviourWithLiterals;
|
|
1787
1819
|
/** Size in pixels when responsiveness_behaviour applies */
|
|
1788
1820
|
responsivenessBreakpoint?: number | null;
|
|
1821
|
+
/** Styling for the layout's container. */
|
|
1822
|
+
containerData?: PluginContainerData;
|
|
1789
1823
|
}
|
|
1790
1824
|
declare enum Scaling {
|
|
1791
1825
|
/** Auto image scaling */
|
|
@@ -2370,4 +2404,4 @@ interface BulkMachineTranslateOptions {
|
|
|
2370
2404
|
contentToTranslate?: TranslatableContent[];
|
|
2371
2405
|
}
|
|
2372
2406
|
|
|
2373
|
-
export { Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulkActionMetadata, type BulkMachineTranslateApplicationErrors, type BulkMachineTranslateOptions, type BulkMachineTranslateRequest, type BulkMachineTranslateResponse, type BulkTranslateResult, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, 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, Format, type FormatWithLiterals, 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 ItemMetadata, 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 MachineTranslateApplicationErrors, type MachineTranslateOptions, type MachineTranslateRequest, type MachineTranslateResponse, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, type NotEnoughCreditsError, 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 PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, 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 SameLanguageArgumentsError, Scaling, type ScalingWithLiterals, type Settings, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, SupportedLanguage, type SupportedLanguageWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type TextTooLongError, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TranslatableContent, type TranslatableContentContentOneOf, Type, type TypeWithLiterals, type UnknownFormatError, 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, bulkMachineTranslate, machineTranslate };
|
|
2407
|
+
export { Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, 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 BulkActionMetadata, type BulkMachineTranslateApplicationErrors, type BulkMachineTranslateOptions, type BulkMachineTranslateRequest, type BulkMachineTranslateResponse, type BulkTranslateResult, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, 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, Format, type FormatWithLiterals, 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 ItemMetadata, 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 MachineTranslateApplicationErrors, type MachineTranslateOptions, type MachineTranslateRequest, type MachineTranslateResponse, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, type NotEnoughCreditsError, 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 PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, 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 SameLanguageArgumentsError, Scaling, type ScalingWithLiterals, type Settings, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, SupportedLanguage, type SupportedLanguageWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type TextTooLongError, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TranslatableContent, type TranslatableContentContentOneOf, Type, type TypeWithLiterals, type UnknownFormatError, 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, bulkMachineTranslate, machineTranslate };
|
|
@@ -639,6 +639,7 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
|
|
|
639
639
|
DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
|
|
640
640
|
DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
|
|
641
641
|
DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
|
|
642
|
+
DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
|
|
642
643
|
return DecorationType2;
|
|
643
644
|
})(DecorationType || {});
|
|
644
645
|
var FontType = /* @__PURE__ */ ((FontType2) => {
|