@wix/auto_sdk_multilingual_machine-translation 1.0.50 → 1.0.51
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 +12 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +29 -3
- package/build/cjs/index.typings.js +12 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +29 -3
- package/build/cjs/meta.js +12 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +11 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +29 -3
- package/build/es/index.typings.mjs +11 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +29 -3
- package/build/es/meta.mjs +11 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +12 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +29 -3
- package/build/internal/cjs/index.typings.js +12 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +29 -3
- package/build/internal/cjs/meta.js +12 -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 +11 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +29 -3
- package/build/internal/es/index.typings.mjs +11 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +29 -3
- package/build/internal/es/meta.mjs +11 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1270,6 +1270,8 @@ interface Decoration extends DecorationDataOneOf {
|
|
|
1270
1270
|
subscriptData?: boolean | null;
|
|
1271
1271
|
/** Data for a font family decoration. */
|
|
1272
1272
|
fontFamilyData?: FontFamilyData;
|
|
1273
|
+
/** Data for a hand-drawn sketch annotation decoration. */
|
|
1274
|
+
sketchData?: SketchData;
|
|
1273
1275
|
/** The type of decoration to apply. */
|
|
1274
1276
|
type?: DecorationTypeWithLiterals;
|
|
1275
1277
|
}
|
|
@@ -1301,6 +1303,8 @@ interface DecorationDataOneOf {
|
|
|
1301
1303
|
subscriptData?: boolean | null;
|
|
1302
1304
|
/** Data for a font family decoration. */
|
|
1303
1305
|
fontFamilyData?: FontFamilyData;
|
|
1306
|
+
/** Data for a hand-drawn sketch annotation decoration. */
|
|
1307
|
+
sketchData?: SketchData;
|
|
1304
1308
|
}
|
|
1305
1309
|
declare enum DecorationType {
|
|
1306
1310
|
BOLD = "BOLD",
|
|
@@ -1316,10 +1320,11 @@ declare enum DecorationType {
|
|
|
1316
1320
|
STRIKETHROUGH = "STRIKETHROUGH",
|
|
1317
1321
|
SUPERSCRIPT = "SUPERSCRIPT",
|
|
1318
1322
|
SUBSCRIPT = "SUBSCRIPT",
|
|
1319
|
-
FONT_FAMILY = "FONT_FAMILY"
|
|
1323
|
+
FONT_FAMILY = "FONT_FAMILY",
|
|
1324
|
+
SKETCH = "SKETCH"
|
|
1320
1325
|
}
|
|
1321
1326
|
/** @enumType */
|
|
1322
|
-
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT' | 'FONT_FAMILY';
|
|
1327
|
+
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT' | 'FONT_FAMILY' | 'SKETCH';
|
|
1323
1328
|
interface AnchorData {
|
|
1324
1329
|
/** The target node's ID. */
|
|
1325
1330
|
anchor?: string;
|
|
@@ -1362,6 +1367,27 @@ interface FontFamilyData {
|
|
|
1362
1367
|
/** @maxLength 1000 */
|
|
1363
1368
|
value?: string | null;
|
|
1364
1369
|
}
|
|
1370
|
+
interface SketchData {
|
|
1371
|
+
/** The sketch annotation variant to draw over the text. */
|
|
1372
|
+
variant?: VariantWithLiterals;
|
|
1373
|
+
/**
|
|
1374
|
+
* Annotation color. Defaults to the theme action color.
|
|
1375
|
+
* @maxLength 19
|
|
1376
|
+
*/
|
|
1377
|
+
color?: string | null;
|
|
1378
|
+
/** Whether the annotation animates on first paint. Defaults to `true`. */
|
|
1379
|
+
animate?: boolean | null;
|
|
1380
|
+
}
|
|
1381
|
+
declare enum Variant {
|
|
1382
|
+
UNDERLINE = "UNDERLINE",
|
|
1383
|
+
BOX = "BOX",
|
|
1384
|
+
CIRCLE = "CIRCLE",
|
|
1385
|
+
HIGHLIGHT = "HIGHLIGHT",
|
|
1386
|
+
STRIKETHROUGH = "STRIKETHROUGH",
|
|
1387
|
+
CROSSED_OFF = "CROSSED_OFF"
|
|
1388
|
+
}
|
|
1389
|
+
/** @enumType */
|
|
1390
|
+
type VariantWithLiterals = Variant | 'UNDERLINE' | 'BOX' | 'CIRCLE' | 'HIGHLIGHT' | 'STRIKETHROUGH' | 'CROSSED_OFF';
|
|
1365
1391
|
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
1366
1392
|
/** Data for embedded Wix Bookings content. */
|
|
1367
1393
|
bookingData?: BookingData;
|
|
@@ -2858,4 +2884,4 @@ interface BulkMachineTranslateOptions {
|
|
|
2858
2884
|
contentToTranslate?: TranslatableContent[];
|
|
2859
2885
|
}
|
|
2860
2886
|
|
|
2861
|
-
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 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 };
|
|
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 };
|
|
@@ -70,6 +70,7 @@ __export(index_typings_exports, {
|
|
|
70
70
|
TextAlignment: () => TextAlignment,
|
|
71
71
|
ThumbnailsAlignment: () => ThumbnailsAlignment,
|
|
72
72
|
Type: () => Type,
|
|
73
|
+
Variant: () => Variant,
|
|
73
74
|
VerticalAlignment: () => VerticalAlignment,
|
|
74
75
|
VerticalAlignmentAlignment: () => VerticalAlignmentAlignment,
|
|
75
76
|
ViewMode: () => ViewMode,
|
|
@@ -896,6 +897,7 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
|
|
|
896
897
|
DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
|
|
897
898
|
DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
|
|
898
899
|
DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
|
|
900
|
+
DecorationType2["SKETCH"] = "SKETCH";
|
|
899
901
|
return DecorationType2;
|
|
900
902
|
})(DecorationType || {});
|
|
901
903
|
var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
@@ -903,6 +905,15 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
|
903
905
|
FontType2["EM"] = "EM";
|
|
904
906
|
return FontType2;
|
|
905
907
|
})(FontType || {});
|
|
908
|
+
var Variant = /* @__PURE__ */ ((Variant2) => {
|
|
909
|
+
Variant2["UNDERLINE"] = "UNDERLINE";
|
|
910
|
+
Variant2["BOX"] = "BOX";
|
|
911
|
+
Variant2["CIRCLE"] = "CIRCLE";
|
|
912
|
+
Variant2["HIGHLIGHT"] = "HIGHLIGHT";
|
|
913
|
+
Variant2["STRIKETHROUGH"] = "STRIKETHROUGH";
|
|
914
|
+
Variant2["CROSSED_OFF"] = "CROSSED_OFF";
|
|
915
|
+
return Variant2;
|
|
916
|
+
})(Variant || {});
|
|
906
917
|
var Position = /* @__PURE__ */ ((Position2) => {
|
|
907
918
|
Position2["START"] = "START";
|
|
908
919
|
Position2["END"] = "END";
|
|
@@ -1358,6 +1369,7 @@ async function bulkMachineTranslate2(sourceLanguage, options) {
|
|
|
1358
1369
|
TextAlignment,
|
|
1359
1370
|
ThumbnailsAlignment,
|
|
1360
1371
|
Type,
|
|
1372
|
+
Variant,
|
|
1361
1373
|
VerticalAlignment,
|
|
1362
1374
|
VerticalAlignmentAlignment,
|
|
1363
1375
|
ViewMode,
|