@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 };
|
|
@@ -105,6 +105,12 @@ function machineTranslate(payload) {
|
|
|
105
105
|
{
|
|
106
106
|
path: "contentToTranslate.richContent.nodes.imageData.image.duration"
|
|
107
107
|
},
|
|
108
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.x" },
|
|
109
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.y" },
|
|
110
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.width" },
|
|
111
|
+
{
|
|
112
|
+
path: "contentToTranslate.richContent.nodes.imageData.crop.height"
|
|
113
|
+
},
|
|
108
114
|
{
|
|
109
115
|
path: "contentToTranslate.richContent.nodes.mapData.mapSettings.lat"
|
|
110
116
|
},
|
|
@@ -138,9 +144,27 @@ function machineTranslate(payload) {
|
|
|
138
144
|
{
|
|
139
145
|
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
140
146
|
},
|
|
147
|
+
{
|
|
148
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
155
|
+
},
|
|
141
156
|
{
|
|
142
157
|
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
143
158
|
},
|
|
159
|
+
{
|
|
160
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
167
|
+
},
|
|
144
168
|
{
|
|
145
169
|
path: "contentToTranslate.richContent.nodes.layoutData.background.gradient.centerX"
|
|
146
170
|
},
|
|
@@ -174,6 +198,15 @@ function machineTranslate(payload) {
|
|
|
174
198
|
{
|
|
175
199
|
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
176
200
|
},
|
|
201
|
+
{
|
|
202
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
209
|
+
},
|
|
177
210
|
{ path: "contentToTranslate.richContent.nodes.tocData.fontSize" },
|
|
178
211
|
{ path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" },
|
|
179
212
|
{
|
|
@@ -240,6 +273,14 @@ function machineTranslate(payload) {
|
|
|
240
273
|
{
|
|
241
274
|
path: "translatedContent.richContent.nodes.imageData.image.duration"
|
|
242
275
|
},
|
|
276
|
+
{ path: "translatedContent.richContent.nodes.imageData.crop.x" },
|
|
277
|
+
{ path: "translatedContent.richContent.nodes.imageData.crop.y" },
|
|
278
|
+
{
|
|
279
|
+
path: "translatedContent.richContent.nodes.imageData.crop.width"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
path: "translatedContent.richContent.nodes.imageData.crop.height"
|
|
283
|
+
},
|
|
243
284
|
{
|
|
244
285
|
path: "translatedContent.richContent.nodes.mapData.mapSettings.lat"
|
|
245
286
|
},
|
|
@@ -273,9 +314,27 @@ function machineTranslate(payload) {
|
|
|
273
314
|
{
|
|
274
315
|
path: "translatedContent.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
275
316
|
},
|
|
317
|
+
{
|
|
318
|
+
path: "translatedContent.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
path: "translatedContent.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
path: "translatedContent.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
325
|
+
},
|
|
276
326
|
{
|
|
277
327
|
path: "translatedContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
278
328
|
},
|
|
329
|
+
{
|
|
330
|
+
path: "translatedContent.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
path: "translatedContent.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
path: "translatedContent.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
337
|
+
},
|
|
279
338
|
{
|
|
280
339
|
path: "translatedContent.richContent.nodes.layoutData.background.gradient.centerX"
|
|
281
340
|
},
|
|
@@ -309,6 +368,15 @@ function machineTranslate(payload) {
|
|
|
309
368
|
{
|
|
310
369
|
path: "translatedContent.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
311
370
|
},
|
|
371
|
+
{
|
|
372
|
+
path: "translatedContent.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
path: "translatedContent.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
path: "translatedContent.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
379
|
+
},
|
|
312
380
|
{ path: "translatedContent.richContent.nodes.tocData.fontSize" },
|
|
313
381
|
{
|
|
314
382
|
path: "translatedContent.richContent.nodes.tocData.itemSpacing"
|
|
@@ -374,6 +442,12 @@ function bulkMachineTranslate(payload) {
|
|
|
374
442
|
{
|
|
375
443
|
path: "contentToTranslate.richContent.nodes.imageData.image.duration"
|
|
376
444
|
},
|
|
445
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.x" },
|
|
446
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.y" },
|
|
447
|
+
{ path: "contentToTranslate.richContent.nodes.imageData.crop.width" },
|
|
448
|
+
{
|
|
449
|
+
path: "contentToTranslate.richContent.nodes.imageData.crop.height"
|
|
450
|
+
},
|
|
377
451
|
{
|
|
378
452
|
path: "contentToTranslate.richContent.nodes.mapData.mapSettings.lat"
|
|
379
453
|
},
|
|
@@ -407,9 +481,27 @@ function bulkMachineTranslate(payload) {
|
|
|
407
481
|
{
|
|
408
482
|
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
409
483
|
},
|
|
484
|
+
{
|
|
485
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
492
|
+
},
|
|
410
493
|
{
|
|
411
494
|
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
412
495
|
},
|
|
496
|
+
{
|
|
497
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
path: "contentToTranslate.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
504
|
+
},
|
|
413
505
|
{
|
|
414
506
|
path: "contentToTranslate.richContent.nodes.layoutData.background.gradient.centerX"
|
|
415
507
|
},
|
|
@@ -443,6 +535,15 @@ function bulkMachineTranslate(payload) {
|
|
|
443
535
|
{
|
|
444
536
|
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
445
537
|
},
|
|
538
|
+
{
|
|
539
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
546
|
+
},
|
|
446
547
|
{ path: "contentToTranslate.richContent.nodes.tocData.fontSize" },
|
|
447
548
|
{ path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" },
|
|
448
549
|
{
|
|
@@ -509,6 +610,10 @@ function bulkMachineTranslate(payload) {
|
|
|
509
610
|
{
|
|
510
611
|
path: "results.item.richContent.nodes.imageData.image.duration"
|
|
511
612
|
},
|
|
613
|
+
{ path: "results.item.richContent.nodes.imageData.crop.x" },
|
|
614
|
+
{ path: "results.item.richContent.nodes.imageData.crop.y" },
|
|
615
|
+
{ path: "results.item.richContent.nodes.imageData.crop.width" },
|
|
616
|
+
{ path: "results.item.richContent.nodes.imageData.crop.height" },
|
|
512
617
|
{
|
|
513
618
|
path: "results.item.richContent.nodes.mapData.mapSettings.lat"
|
|
514
619
|
},
|
|
@@ -542,9 +647,27 @@ function bulkMachineTranslate(payload) {
|
|
|
542
647
|
{
|
|
543
648
|
path: "results.item.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
544
649
|
},
|
|
650
|
+
{
|
|
651
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
path: "results.item.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
|
|
658
|
+
},
|
|
545
659
|
{
|
|
546
660
|
path: "results.item.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
547
661
|
},
|
|
662
|
+
{
|
|
663
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
path: "results.item.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
|
|
670
|
+
},
|
|
548
671
|
{
|
|
549
672
|
path: "results.item.richContent.nodes.layoutData.background.gradient.centerX"
|
|
550
673
|
},
|
|
@@ -578,6 +701,15 @@ function bulkMachineTranslate(payload) {
|
|
|
578
701
|
{
|
|
579
702
|
path: "results.item.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
580
703
|
},
|
|
704
|
+
{
|
|
705
|
+
path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
path: "results.item.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
|
|
712
|
+
},
|
|
581
713
|
{ path: "results.item.richContent.nodes.tocData.fontSize" },
|
|
582
714
|
{ path: "results.item.richContent.nodes.tocData.itemSpacing" },
|
|
583
715
|
{
|
|
@@ -914,6 +1046,11 @@ var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
|
914
1046
|
ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
915
1047
|
return ImagePosition2;
|
|
916
1048
|
})(ImagePosition || {});
|
|
1049
|
+
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
1050
|
+
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
1051
|
+
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1052
|
+
return LayoutDataBackgroundType2;
|
|
1053
|
+
})(LayoutDataBackgroundType || {});
|
|
917
1054
|
var Origin = /* @__PURE__ */ ((Origin2) => {
|
|
918
1055
|
Origin2["IMAGE"] = "IMAGE";
|
|
919
1056
|
Origin2["LAYOUT"] = "LAYOUT";
|
|
@@ -924,11 +1061,6 @@ var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
|
|
|
924
1061
|
BannerPosition2["BOTTOM"] = "BOTTOM";
|
|
925
1062
|
return BannerPosition2;
|
|
926
1063
|
})(BannerPosition || {});
|
|
927
|
-
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
|
|
928
|
-
LayoutDataBackgroundType2["COLOR"] = "COLOR";
|
|
929
|
-
LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
|
|
930
|
-
return LayoutDataBackgroundType2;
|
|
931
|
-
})(LayoutDataBackgroundType || {});
|
|
932
1064
|
var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
|
|
933
1065
|
BackdropType2["COLOR"] = "COLOR";
|
|
934
1066
|
BackdropType2["GRADIENT"] = "GRADIENT";
|