@wix/auto_sdk_multilingual_machine-translation 1.0.51 → 1.0.52
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 +137 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +59 -33
- package/build/cjs/index.typings.js +137 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +59 -33
- package/build/cjs/meta.js +137 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +137 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +59 -33
- package/build/es/index.typings.mjs +137 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +59 -33
- package/build/es/meta.mjs +137 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +137 -5
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +59 -33
- package/build/internal/cjs/index.typings.js +137 -5
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +59 -33
- package/build/internal/cjs/meta.js +137 -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 +137 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +59 -33
- package/build/internal/es/index.typings.mjs +137 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +59 -33
- package/build/internal/es/meta.mjs +137 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -944,6 +944,8 @@ interface ImageData {
|
|
|
944
944
|
decorative?: boolean | null;
|
|
945
945
|
/** Styling for the image. */
|
|
946
946
|
styles?: ImageDataStyles;
|
|
947
|
+
/** Non-destructive crop rectangle, expressed as fractions (0-1) of the original image. When omitted, the full image is shown. */
|
|
948
|
+
crop?: ImageDataCrop;
|
|
947
949
|
}
|
|
948
950
|
interface StylesBorder {
|
|
949
951
|
/** Border width in pixels. */
|
|
@@ -960,6 +962,16 @@ interface ImageDataStyles {
|
|
|
960
962
|
/** Border attributes. */
|
|
961
963
|
border?: StylesBorder;
|
|
962
964
|
}
|
|
965
|
+
interface ImageDataCrop {
|
|
966
|
+
/** Left edge of the crop, as a fraction (0-1) of the original image width. */
|
|
967
|
+
x?: number | null;
|
|
968
|
+
/** Top edge of the crop, as a fraction (0-1) of the original image height. */
|
|
969
|
+
y?: number | null;
|
|
970
|
+
/** Visible width of the crop, as a fraction (0-1) of the original image width. */
|
|
971
|
+
width?: number | null;
|
|
972
|
+
/** Visible height of the crop, as a fraction (0-1) of the original image height. */
|
|
973
|
+
height?: number | null;
|
|
974
|
+
}
|
|
963
975
|
interface LinkPreviewData {
|
|
964
976
|
/** Styling for the link preview's container. */
|
|
965
977
|
containerData?: PluginContainerData;
|
|
@@ -1997,6 +2009,27 @@ declare enum ImagePosition {
|
|
|
1997
2009
|
}
|
|
1998
2010
|
/** @enumType */
|
|
1999
2011
|
type ImagePositionWithLiterals = ImagePosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
2012
|
+
/** Background styling (color or gradient) */
|
|
2013
|
+
interface LayoutDataBackground {
|
|
2014
|
+
/** Background type. */
|
|
2015
|
+
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2016
|
+
/**
|
|
2017
|
+
* Background color as a hexadecimal value.
|
|
2018
|
+
* @maxLength 19
|
|
2019
|
+
*/
|
|
2020
|
+
color?: string | null;
|
|
2021
|
+
/** Gradient configuration. */
|
|
2022
|
+
gradient?: Gradient;
|
|
2023
|
+
}
|
|
2024
|
+
/** Background type */
|
|
2025
|
+
declare enum LayoutDataBackgroundType {
|
|
2026
|
+
/** Solid color background */
|
|
2027
|
+
COLOR = "COLOR",
|
|
2028
|
+
/** Gradient background */
|
|
2029
|
+
GRADIENT = "GRADIENT"
|
|
2030
|
+
}
|
|
2031
|
+
/** @enumType */
|
|
2032
|
+
type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2000
2033
|
declare enum Origin {
|
|
2001
2034
|
/** Banner originated from an image */
|
|
2002
2035
|
IMAGE = "IMAGE",
|
|
@@ -2013,15 +2046,6 @@ declare enum BannerPosition {
|
|
|
2013
2046
|
}
|
|
2014
2047
|
/** @enumType */
|
|
2015
2048
|
type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';
|
|
2016
|
-
/** Background type */
|
|
2017
|
-
declare enum LayoutDataBackgroundType {
|
|
2018
|
-
/** Solid color background */
|
|
2019
|
-
COLOR = "COLOR",
|
|
2020
|
-
/** Gradient background */
|
|
2021
|
-
GRADIENT = "GRADIENT"
|
|
2022
|
-
}
|
|
2023
|
-
/** @enumType */
|
|
2024
|
-
type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2025
2049
|
/** Backdrop type */
|
|
2026
2050
|
declare enum BackdropType {
|
|
2027
2051
|
/** Solid color backdrop */
|
|
@@ -2034,12 +2058,19 @@ type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';
|
|
|
2034
2058
|
interface LayoutDataBackgroundImage {
|
|
2035
2059
|
/** Background image. */
|
|
2036
2060
|
media?: Media;
|
|
2037
|
-
/**
|
|
2061
|
+
/**
|
|
2062
|
+
* Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background`/`backdrop` color behind it.
|
|
2063
|
+
* @deprecated
|
|
2064
|
+
*/
|
|
2038
2065
|
opacity?: number | null;
|
|
2039
2066
|
/** Background image scaling. */
|
|
2040
2067
|
scaling?: ImageScalingScalingWithLiterals;
|
|
2041
2068
|
/** Position of background. Defaults to `CENTER`. */
|
|
2042
2069
|
position?: ImagePositionWithLiterals;
|
|
2070
|
+
/** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */
|
|
2071
|
+
blur?: number | null;
|
|
2072
|
+
/** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`/`backdrop`). */
|
|
2073
|
+
overlay?: LayoutDataBackground;
|
|
2043
2074
|
}
|
|
2044
2075
|
declare enum VerticalAlignmentAlignment {
|
|
2045
2076
|
/** Top alignment */
|
|
@@ -2073,18 +2104,6 @@ interface Banner {
|
|
|
2073
2104
|
/** Position of the banner */
|
|
2074
2105
|
position?: BannerPositionWithLiterals;
|
|
2075
2106
|
}
|
|
2076
|
-
/** Background styling (color or gradient) */
|
|
2077
|
-
interface LayoutDataBackground {
|
|
2078
|
-
/** Background type. */
|
|
2079
|
-
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2080
|
-
/**
|
|
2081
|
-
* Background color as a hexadecimal value.
|
|
2082
|
-
* @maxLength 19
|
|
2083
|
-
*/
|
|
2084
|
-
color?: string | null;
|
|
2085
|
-
/** Gradient configuration. */
|
|
2086
|
-
gradient?: Gradient;
|
|
2087
|
-
}
|
|
2088
2107
|
/** Backdrop styling (color or gradient) */
|
|
2089
2108
|
interface Backdrop {
|
|
2090
2109
|
/** Backdrop type. */
|
|
@@ -2156,15 +2175,6 @@ declare enum ImagePositionPosition {
|
|
|
2156
2175
|
}
|
|
2157
2176
|
/** @enumType */
|
|
2158
2177
|
type ImagePositionPositionWithLiterals = ImagePositionPosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
2159
|
-
/** Background type */
|
|
2160
|
-
declare enum CardDataBackgroundType {
|
|
2161
|
-
/** Solid color background */
|
|
2162
|
-
COLOR = "COLOR",
|
|
2163
|
-
/** Gradient background */
|
|
2164
|
-
GRADIENT = "GRADIENT"
|
|
2165
|
-
}
|
|
2166
|
-
/** @enumType */
|
|
2167
|
-
type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2168
2178
|
/** Background styling (color or gradient) */
|
|
2169
2179
|
interface CardDataBackground {
|
|
2170
2180
|
/** Background type. */
|
|
@@ -2177,15 +2187,31 @@ interface CardDataBackground {
|
|
|
2177
2187
|
/** Gradient configuration. */
|
|
2178
2188
|
gradient?: Gradient;
|
|
2179
2189
|
}
|
|
2190
|
+
/** Background type */
|
|
2191
|
+
declare enum CardDataBackgroundType {
|
|
2192
|
+
/** Solid color background */
|
|
2193
|
+
COLOR = "COLOR",
|
|
2194
|
+
/** Gradient background */
|
|
2195
|
+
GRADIENT = "GRADIENT"
|
|
2196
|
+
}
|
|
2197
|
+
/** @enumType */
|
|
2198
|
+
type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
|
|
2180
2199
|
interface BackgroundImage {
|
|
2181
2200
|
/** Background image. */
|
|
2182
2201
|
media?: Media;
|
|
2183
|
-
/**
|
|
2202
|
+
/**
|
|
2203
|
+
* Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background` color behind it.
|
|
2204
|
+
* @deprecated
|
|
2205
|
+
*/
|
|
2184
2206
|
opacity?: number | null;
|
|
2185
2207
|
/** Background image scaling. */
|
|
2186
2208
|
scaling?: ScalingWithLiterals;
|
|
2187
2209
|
/** Position of background. Defaults to `CENTER`. */
|
|
2188
2210
|
position?: ImagePositionPositionWithLiterals;
|
|
2211
|
+
/** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`). */
|
|
2212
|
+
overlay?: CardDataBackground;
|
|
2213
|
+
/** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */
|
|
2214
|
+
blur?: number | null;
|
|
2189
2215
|
}
|
|
2190
2216
|
interface TocData {
|
|
2191
2217
|
/** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
|
|
@@ -2884,4 +2910,4 @@ interface BulkMachineTranslateOptions {
|
|
|
2884
2910
|
contentToTranslate?: TranslatableContent[];
|
|
2885
2911
|
}
|
|
2886
2912
|
|
|
2887
|
-
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 CheckboxListData, 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, type ListItemNodeData, 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 SketchData, 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, 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, bulkMachineTranslate, machineTranslate };
|
|
2913
|
+
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 CheckboxListData, 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 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 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, type ListItemNodeData, 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 SketchData, 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, 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, bulkMachineTranslate, machineTranslate };
|
|
@@ -187,6 +187,12 @@ function machineTranslate(payload) {
|
|
|
187
187
|
{
|
|
188
188
|
path: "contentToTranslate.richContent.nodes.imageData.image.duration"
|
|
189
189
|
},
|
|
190
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.x" },
|
|
191
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.y" },
|
|
192
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.width" },
|
|
193
|
+
{
|
|
194
|
+
path: "contentToTranslate.richContent.nodes.imageData.crop.height"
|
|
195
|
+
},
|
|
190
196
|
{
|
|
191
197
|
path: "contentToTranslate.richContent.nodes.mapData.mapSettings.lat"
|
|
192
198
|
},
|
|
@@ -220,9 +226,27 @@ function machineTranslate(payload) {
|
|
|
220
226
|
{
|
|
221
227
|
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
222
228
|
},
|
|
229
|
+
{
|
|
230
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
237
|
+
},
|
|
223
238
|
{
|
|
224
239
|
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
225
240
|
},
|
|
241
|
+
{
|
|
242
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
249
|
+
},
|
|
226
250
|
{
|
|
227
251
|
path: "contentToTranslate.richContent.nodes.layoutData.background.gradient.centerX"
|
|
228
252
|
},
|
|
@@ -256,6 +280,15 @@ function machineTranslate(payload) {
|
|
|
256
280
|
{
|
|
257
281
|
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
258
282
|
},
|
|
283
|
+
{
|
|
284
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
291
|
+
},
|
|
259
292
|
{ path: "contentToTranslate.richContent.nodes.tocData.fontSize" },
|
|
260
293
|
{ path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" },
|
|
261
294
|
{
|
|
@@ -322,6 +355,14 @@ function machineTranslate(payload) {
|
|
|
322
355
|
{
|
|
323
356
|
path: "translatedContent.richContent.nodes.imageData.image.duration"
|
|
324
357
|
},
|
|
358
|
+
{ path: "translatedContent.richContent.nodes.imageData.crop.x" },
|
|
359
|
+
{ path: "translatedContent.richContent.nodes.imageData.crop.y" },
|
|
360
|
+
{
|
|
361
|
+
path: "translatedContent.richContent.nodes.imageData.crop.width"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
path: "translatedContent.richContent.nodes.imageData.crop.height"
|
|
365
|
+
},
|
|
325
366
|
{
|
|
326
367
|
path: "translatedContent.richContent.nodes.mapData.mapSettings.lat"
|
|
327
368
|
},
|
|
@@ -355,9 +396,27 @@ function machineTranslate(payload) {
|
|
|
355
396
|
{
|
|
356
397
|
path: "translatedContent.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
357
398
|
},
|
|
399
|
+
{
|
|
400
|
+
path: "translatedContent.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
path: "translatedContent.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
path: "translatedContent.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
407
|
+
},
|
|
358
408
|
{
|
|
359
409
|
path: "translatedContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
360
410
|
},
|
|
411
|
+
{
|
|
412
|
+
path: "translatedContent.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
path: "translatedContent.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
path: "translatedContent.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
419
|
+
},
|
|
361
420
|
{
|
|
362
421
|
path: "translatedContent.richContent.nodes.layoutData.background.gradient.centerX"
|
|
363
422
|
},
|
|
@@ -391,6 +450,15 @@ function machineTranslate(payload) {
|
|
|
391
450
|
{
|
|
392
451
|
path: "translatedContent.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
393
452
|
},
|
|
453
|
+
{
|
|
454
|
+
path: "translatedContent.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
path: "translatedContent.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
path: "translatedContent.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
461
|
+
},
|
|
394
462
|
{ path: "translatedContent.richContent.nodes.tocData.fontSize" },
|
|
395
463
|
{
|
|
396
464
|
path: "translatedContent.richContent.nodes.tocData.itemSpacing"
|
|
@@ -456,6 +524,12 @@ function bulkMachineTranslate(payload) {
|
|
|
456
524
|
{
|
|
457
525
|
path: "contentToTranslate.richContent.nodes.imageData.image.duration"
|
|
458
526
|
},
|
|
527
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.x" },
|
|
528
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.y" },
|
|
529
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.width" },
|
|
530
|
+
{
|
|
531
|
+
path: "contentToTranslate.richContent.nodes.imageData.crop.height"
|
|
532
|
+
},
|
|
459
533
|
{
|
|
460
534
|
path: "contentToTranslate.richContent.nodes.mapData.mapSettings.lat"
|
|
461
535
|
},
|
|
@@ -489,9 +563,27 @@ function bulkMachineTranslate(payload) {
|
|
|
489
563
|
{
|
|
490
564
|
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
491
565
|
},
|
|
566
|
+
{
|
|
567
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
574
|
+
},
|
|
492
575
|
{
|
|
493
576
|
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
494
577
|
},
|
|
578
|
+
{
|
|
579
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
586
|
+
},
|
|
495
587
|
{
|
|
496
588
|
path: "contentToTranslate.richContent.nodes.layoutData.background.gradient.centerX"
|
|
497
589
|
},
|
|
@@ -525,6 +617,15 @@ function bulkMachineTranslate(payload) {
|
|
|
525
617
|
{
|
|
526
618
|
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
527
619
|
},
|
|
620
|
+
{
|
|
621
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
628
|
+
},
|
|
528
629
|
{ path: "contentToTranslate.richContent.nodes.tocData.fontSize" },
|
|
529
630
|
{ path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" },
|
|
530
631
|
{
|
|
@@ -591,6 +692,10 @@ function bulkMachineTranslate(payload) {
|
|
|
591
692
|
{
|
|
592
693
|
path: "results.item.richContent.nodes.imageData.image.duration"
|
|
593
694
|
},
|
|
695
|
+
{ path: "results.item.richContent.nodes.imageData.crop.x" },
|
|
696
|
+
{ path: "results.item.richContent.nodes.imageData.crop.y" },
|
|
697
|
+
{ path: "results.item.richContent.nodes.imageData.crop.width" },
|
|
698
|
+
{ path: "results.item.richContent.nodes.imageData.crop.height" },
|
|
594
699
|
{
|
|
595
700
|
path: "results.item.richContent.nodes.mapData.mapSettings.lat"
|
|
596
701
|
},
|
|
@@ -624,9 +729,27 @@ function bulkMachineTranslate(payload) {
|
|
|
624
729
|
{
|
|
625
730
|
path: "results.item.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
626
731
|
},
|
|
732
|
+
{
|
|
733
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
740
|
+
},
|
|
627
741
|
{
|
|
628
742
|
path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
629
743
|
},
|
|
744
|
+
{
|
|
745
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
752
|
+
},
|
|
630
753
|
{
|
|
631
754
|
path: "results.item.richContent.nodes.layoutData.background.gradient.centerX"
|
|
632
755
|
},
|
|
@@ -660,6 +783,15 @@ function bulkMachineTranslate(payload) {
|
|
|
660
783
|
{
|
|
661
784
|
path: "results.item.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
662
785
|
},
|
|
786
|
+
{
|
|
787
|
+
path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
794
|
+
},
|
|
663
795
|
{ path: "results.item.richContent.nodes.tocData.fontSize" },
|
|
664
796
|
{ path: "results.item.richContent.nodes.tocData.itemSpacing" },
|
|
665
797
|
{
|
|
@@ -996,6 +1128,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
|
996
1128
|
ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
997
1129
|
return ImagePosition2;
|
|
998
1130
|
})(ImagePosition || {});
|
|
1131
|
+
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
1132
|
+
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
1133
|
+
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1134
|
+
return LayoutDataBackgroundType2;
|
|
1135
|
+
})(LayoutDataBackgroundType || {});
|
|
999
1136
|
var Origin = /* @__PURE__ */ ((Origin2) => {
|
|
1000
1137
|
Origin2["IMAGE"] = "IMAGE";
|
|
1001
1138
|
Origin2["LAYOUT"] = "LAYOUT";
|
|
@@ -1006,11 +1143,6 @@ var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
|
|
|
1006
1143
|
BannerPosition2["BOTTOM"] = "BOTTOM";
|
|
1007
1144
|
return BannerPosition2;
|
|
1008
1145
|
})(BannerPosition || {});
|
|
1009
|
-
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
1010
|
-
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
1011
|
-
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1012
|
-
return LayoutDataBackgroundType2;
|
|
1013
|
-
})(LayoutDataBackgroundType || {});
|
|
1014
1146
|
var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
|
|
1015
1147
|
BackdropType2["COLOR"] = "COLOR";
|
|
1016
1148
|
BackdropType2["GRADIENT"] = "GRADIENT";
|