@wix/auto_sdk_multilingual_machine-translation 1.0.47 → 1.0.48
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 +7 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +12 -2
- package/build/cjs/index.typings.js +7 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +12 -2
- package/build/cjs/meta.js +7 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +6 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +12 -2
- package/build/es/index.typings.mjs +6 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +12 -2
- package/build/es/meta.mjs +6 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +7 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +12 -2
- package/build/internal/cjs/index.typings.js +7 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +12 -2
- package/build/internal/cjs/meta.js +7 -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 +6 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +12 -2
- package/build/internal/es/index.typings.mjs +6 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +12 -2
- package/build/internal/es/meta.mjs +6 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1923,7 +1923,7 @@ interface LayoutData {
|
|
|
1923
1923
|
containerData?: PluginContainerData;
|
|
1924
1924
|
/** Defines where selected design propertied applies to */
|
|
1925
1925
|
designTarget?: DesignTargetWithLiterals;
|
|
1926
|
-
/** Banner configuration. When present, this layout is
|
|
1926
|
+
/** Banner configuration. When present, this layout is attached to a document edge (top or bottom). */
|
|
1927
1927
|
banner?: Banner;
|
|
1928
1928
|
/** Background styling (color or gradient). */
|
|
1929
1929
|
background?: LayoutDataBackground;
|
|
@@ -1970,6 +1970,14 @@ declare enum Origin {
|
|
|
1970
1970
|
}
|
|
1971
1971
|
/** @enumType */
|
|
1972
1972
|
type OriginWithLiterals = Origin | 'IMAGE' | 'LAYOUT';
|
|
1973
|
+
declare enum BannerPosition {
|
|
1974
|
+
/** Attached to the top edge (banner) */
|
|
1975
|
+
TOP = "TOP",
|
|
1976
|
+
/** Attached to the bottom edge (footer) */
|
|
1977
|
+
BOTTOM = "BOTTOM"
|
|
1978
|
+
}
|
|
1979
|
+
/** @enumType */
|
|
1980
|
+
type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';
|
|
1973
1981
|
/** Background type */
|
|
1974
1982
|
declare enum LayoutDataBackgroundType {
|
|
1975
1983
|
/** Solid color background */
|
|
@@ -2027,6 +2035,8 @@ type DesignTargetWithLiterals = DesignTarget | 'LAYOUT' | 'CELL';
|
|
|
2027
2035
|
interface Banner {
|
|
2028
2036
|
/** Origin of the banner */
|
|
2029
2037
|
origin?: OriginWithLiterals;
|
|
2038
|
+
/** Position of the banner */
|
|
2039
|
+
position?: BannerPositionWithLiterals;
|
|
2030
2040
|
}
|
|
2031
2041
|
/** Background styling (color or gradient) */
|
|
2032
2042
|
interface LayoutDataBackground {
|
|
@@ -2811,4 +2821,4 @@ interface BulkMachineTranslateOptions {
|
|
|
2811
2821
|
contentToTranslate?: TranslatableContent[];
|
|
2812
2822
|
}
|
|
2813
2823
|
|
|
2814
|
-
export { Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, 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 CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, 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, Format, type FormatWithLiterals, 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 ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemMetadata, 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, ListStyle, type ListStyleWithLiterals, 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, Origin, type OriginWithLiterals, 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 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 SameLanguageArgumentsError, Scaling, type ScalingWithLiterals, type Settings, type ShapeData, type ShapeDataStyles, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Stop, 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 TocData, 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 };
|
|
2824
|
+
export { Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, 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 BulkActionMetadata, type BulkMachineTranslateApplicationErrors, type BulkMachineTranslateOptions, type BulkMachineTranslateRequest, type BulkMachineTranslateResponse, type BulkTranslateResult, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, 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, Format, type FormatWithLiterals, 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 ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemMetadata, 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, ListStyle, type ListStyleWithLiterals, 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, Origin, type OriginWithLiterals, 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 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 SameLanguageArgumentsError, Scaling, type ScalingWithLiterals, type Settings, type ShapeData, type ShapeDataStyles, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Stop, 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 TocData, 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 };
|
|
@@ -25,6 +25,7 @@ __export(index_typings_exports, {
|
|
|
25
25
|
AspectRatio: () => AspectRatio,
|
|
26
26
|
BackdropType: () => BackdropType,
|
|
27
27
|
BackgroundType: () => BackgroundType,
|
|
28
|
+
BannerPosition: () => BannerPosition,
|
|
28
29
|
ButtonDataType: () => ButtonDataType,
|
|
29
30
|
CardDataBackgroundType: () => CardDataBackgroundType,
|
|
30
31
|
ColumnSize: () => ColumnSize,
|
|
@@ -988,6 +989,11 @@ var Origin = /* @__PURE__ */ ((Origin2) => {
|
|
|
988
989
|
Origin2["LAYOUT"] = "LAYOUT";
|
|
989
990
|
return Origin2;
|
|
990
991
|
})(Origin || {});
|
|
992
|
+
var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
|
|
993
|
+
BannerPosition2["TOP"] = "TOP";
|
|
994
|
+
BannerPosition2["BOTTOM"] = "BOTTOM";
|
|
995
|
+
return BannerPosition2;
|
|
996
|
+
})(BannerPosition || {});
|
|
991
997
|
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
992
998
|
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
993
999
|
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
@@ -1297,6 +1303,7 @@ async function bulkMachineTranslate2(sourceLanguage, options) {
|
|
|
1297
1303
|
AspectRatio,
|
|
1298
1304
|
BackdropType,
|
|
1299
1305
|
BackgroundType,
|
|
1306
|
+
BannerPosition,
|
|
1300
1307
|
ButtonDataType,
|
|
1301
1308
|
CardDataBackgroundType,
|
|
1302
1309
|
ColumnSize,
|