@wix/auto_sdk_multilingual_machine-translation 1.0.23 → 1.0.24
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 +69 -18
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +214 -12
- package/build/cjs/index.typings.js +69 -18
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +213 -11
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +62 -18
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +214 -12
- package/build/es/index.typings.mjs +62 -18
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +213 -11
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +69 -18
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +214 -12
- package/build/internal/cjs/index.typings.js +69 -18
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +213 -11
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +62 -18
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +214 -12
- package/build/internal/es/index.typings.mjs +62 -18
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +213 -11
- package/package.json +2 -2
|
@@ -237,7 +237,7 @@ interface ButtonData {
|
|
|
237
237
|
/** Styling for the button's container. */
|
|
238
238
|
containerData?: PluginContainerData;
|
|
239
239
|
/** The button type. */
|
|
240
|
-
type?:
|
|
240
|
+
type?: ButtonDataTypeWithLiterals;
|
|
241
241
|
/** Styling for the button. */
|
|
242
242
|
styles?: Styles;
|
|
243
243
|
/** The text to display on the button. */
|
|
@@ -345,14 +345,14 @@ interface Height {
|
|
|
345
345
|
/** A custom height value in pixels. */
|
|
346
346
|
custom?: string | null;
|
|
347
347
|
}
|
|
348
|
-
declare enum
|
|
348
|
+
declare enum ButtonDataType {
|
|
349
349
|
/** Regular link button */
|
|
350
350
|
LINK = "LINK",
|
|
351
351
|
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
|
352
352
|
ACTION = "ACTION"
|
|
353
353
|
}
|
|
354
354
|
/** @enumType */
|
|
355
|
-
type
|
|
355
|
+
type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';
|
|
356
356
|
interface Styles {
|
|
357
357
|
/**
|
|
358
358
|
* Deprecated: Use `borderWidth` and `borderRadius` instead.
|
|
@@ -485,7 +485,7 @@ interface DividerData {
|
|
|
485
485
|
/** Divider width. */
|
|
486
486
|
width?: WidthWithLiterals;
|
|
487
487
|
/** Divider alignment. */
|
|
488
|
-
alignment?:
|
|
488
|
+
alignment?: DividerDataAlignmentWithLiterals;
|
|
489
489
|
}
|
|
490
490
|
declare enum LineStyle {
|
|
491
491
|
/** Single Line */
|
|
@@ -509,7 +509,7 @@ declare enum Width {
|
|
|
509
509
|
}
|
|
510
510
|
/** @enumType */
|
|
511
511
|
type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
|
|
512
|
-
declare enum
|
|
512
|
+
declare enum DividerDataAlignment {
|
|
513
513
|
/** Center alignment */
|
|
514
514
|
CENTER = "CENTER",
|
|
515
515
|
/** Left alignment */
|
|
@@ -518,7 +518,7 @@ declare enum Alignment {
|
|
|
518
518
|
RIGHT = "RIGHT"
|
|
519
519
|
}
|
|
520
520
|
/** @enumType */
|
|
521
|
-
type
|
|
521
|
+
type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
|
522
522
|
interface FileData {
|
|
523
523
|
/** Styling for the file's container. */
|
|
524
524
|
containerData?: PluginContainerData;
|
|
@@ -643,7 +643,7 @@ interface ItemDataOneOf {
|
|
|
643
643
|
}
|
|
644
644
|
interface GalleryOptions {
|
|
645
645
|
/** Gallery layout. */
|
|
646
|
-
layout?:
|
|
646
|
+
layout?: GalleryOptionsLayout;
|
|
647
647
|
/** Styling for gallery items. */
|
|
648
648
|
item?: ItemStyle;
|
|
649
649
|
/** Styling for gallery thumbnail images. */
|
|
@@ -703,7 +703,7 @@ declare enum ThumbnailsAlignment {
|
|
|
703
703
|
}
|
|
704
704
|
/** @enumType */
|
|
705
705
|
type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
|
|
706
|
-
interface
|
|
706
|
+
interface GalleryOptionsLayout {
|
|
707
707
|
/** Gallery layout type. */
|
|
708
708
|
type?: LayoutTypeWithLiterals;
|
|
709
709
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
|
@@ -865,7 +865,7 @@ interface LinkPreviewData {
|
|
|
865
865
|
/** Styling for the link preview. */
|
|
866
866
|
styles?: LinkPreviewDataStyles;
|
|
867
867
|
}
|
|
868
|
-
declare enum
|
|
868
|
+
declare enum StylesPosition {
|
|
869
869
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
870
870
|
START = "START",
|
|
871
871
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
@@ -876,7 +876,7 @@ declare enum Position {
|
|
|
876
876
|
HIDDEN = "HIDDEN"
|
|
877
877
|
}
|
|
878
878
|
/** @enumType */
|
|
879
|
-
type
|
|
879
|
+
type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HIDDEN';
|
|
880
880
|
interface LinkPreviewDataStyles {
|
|
881
881
|
/**
|
|
882
882
|
* Background color as a hexadecimal value.
|
|
@@ -908,7 +908,7 @@ interface LinkPreviewDataStyles {
|
|
|
908
908
|
*/
|
|
909
909
|
borderColor?: string | null;
|
|
910
910
|
/** Position of thumbnail. Defaults to `START`. */
|
|
911
|
-
thumbnailPosition?:
|
|
911
|
+
thumbnailPosition?: StylesPositionWithLiterals;
|
|
912
912
|
}
|
|
913
913
|
interface MapData {
|
|
914
914
|
/** Styling for the map's container. */
|
|
@@ -1262,6 +1262,32 @@ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
|
1262
1262
|
url?: string | null;
|
|
1263
1263
|
/** An image for the embedded content. */
|
|
1264
1264
|
image?: Media;
|
|
1265
|
+
/** Whether to hide the image. */
|
|
1266
|
+
hideImage?: boolean | null;
|
|
1267
|
+
/** Whether to hide the title. */
|
|
1268
|
+
hideTitle?: boolean | null;
|
|
1269
|
+
/** Whether to hide the price. */
|
|
1270
|
+
hidePrice?: boolean | null;
|
|
1271
|
+
/** Whether to hide the description (Event and Booking). */
|
|
1272
|
+
hideDescription?: boolean | null;
|
|
1273
|
+
/** Whether to hide the date and time (Event). */
|
|
1274
|
+
hideDateTime?: boolean | null;
|
|
1275
|
+
/** Whether to hide the location (Event). */
|
|
1276
|
+
hideLocation?: boolean | null;
|
|
1277
|
+
/** Whether to hide the duration (Booking). */
|
|
1278
|
+
hideDuration?: boolean | null;
|
|
1279
|
+
/** Whether to hide the button. */
|
|
1280
|
+
hideButton?: boolean | null;
|
|
1281
|
+
/** Whether to hide the ribbon. */
|
|
1282
|
+
hideRibbon?: boolean | null;
|
|
1283
|
+
/** Button styling options. */
|
|
1284
|
+
buttonStyles?: ButtonStyles;
|
|
1285
|
+
/** Image styling options. */
|
|
1286
|
+
imageStyles?: ImageStyles;
|
|
1287
|
+
/** Ribbon styling options. */
|
|
1288
|
+
ribbonStyles?: RibbonStyles;
|
|
1289
|
+
/** Card styling options. */
|
|
1290
|
+
cardStyles?: CardStyles;
|
|
1265
1291
|
}
|
|
1266
1292
|
/** @oneof */
|
|
1267
1293
|
interface AppEmbedDataAppDataOneOf {
|
|
@@ -1270,6 +1296,66 @@ interface AppEmbedDataAppDataOneOf {
|
|
|
1270
1296
|
/** Data for embedded Wix Events content. */
|
|
1271
1297
|
eventData?: EventData;
|
|
1272
1298
|
}
|
|
1299
|
+
declare enum Position {
|
|
1300
|
+
/** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
1301
|
+
START = "START",
|
|
1302
|
+
/** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
1303
|
+
END = "END",
|
|
1304
|
+
/** Image positioned at the top */
|
|
1305
|
+
TOP = "TOP"
|
|
1306
|
+
}
|
|
1307
|
+
/** @enumType */
|
|
1308
|
+
type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';
|
|
1309
|
+
declare enum AspectRatio {
|
|
1310
|
+
/** 1:1 aspect ratio */
|
|
1311
|
+
SQUARE = "SQUARE",
|
|
1312
|
+
/** 16:9 aspect ratio */
|
|
1313
|
+
RECTANGLE = "RECTANGLE"
|
|
1314
|
+
}
|
|
1315
|
+
/** @enumType */
|
|
1316
|
+
type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
|
|
1317
|
+
declare enum Resizing {
|
|
1318
|
+
/** Fill the container, may crop the image */
|
|
1319
|
+
FILL = "FILL",
|
|
1320
|
+
/** Fit the image within the container */
|
|
1321
|
+
FIT = "FIT"
|
|
1322
|
+
}
|
|
1323
|
+
/** @enumType */
|
|
1324
|
+
type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
|
|
1325
|
+
declare enum Placement {
|
|
1326
|
+
/** Ribbon placed on the image */
|
|
1327
|
+
IMAGE = "IMAGE",
|
|
1328
|
+
/** Ribbon placed on the product information */
|
|
1329
|
+
PRODUCT_INFO = "PRODUCT_INFO"
|
|
1330
|
+
}
|
|
1331
|
+
/** @enumType */
|
|
1332
|
+
type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
|
|
1333
|
+
declare enum Type {
|
|
1334
|
+
/** Card with visible border and background */
|
|
1335
|
+
CONTAINED = "CONTAINED",
|
|
1336
|
+
/** Card without visible border */
|
|
1337
|
+
FRAMELESS = "FRAMELESS"
|
|
1338
|
+
}
|
|
1339
|
+
/** @enumType */
|
|
1340
|
+
type TypeWithLiterals = Type | 'CONTAINED' | 'FRAMELESS';
|
|
1341
|
+
declare enum Alignment {
|
|
1342
|
+
/** Content aligned to start (left in LTR layouts, right in RTL layouts) */
|
|
1343
|
+
START = "START",
|
|
1344
|
+
/** Content centered */
|
|
1345
|
+
CENTER = "CENTER",
|
|
1346
|
+
/** Content aligned to end (right in LTR layouts, left in RTL layouts) */
|
|
1347
|
+
END = "END"
|
|
1348
|
+
}
|
|
1349
|
+
/** @enumType */
|
|
1350
|
+
type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
|
|
1351
|
+
declare enum Layout {
|
|
1352
|
+
/** Elements stacked vertically */
|
|
1353
|
+
STACKED = "STACKED",
|
|
1354
|
+
/** Elements arranged horizontally */
|
|
1355
|
+
SIDE_BY_SIDE = "SIDE_BY_SIDE"
|
|
1356
|
+
}
|
|
1357
|
+
/** @enumType */
|
|
1358
|
+
type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
|
|
1273
1359
|
declare enum AppType {
|
|
1274
1360
|
PRODUCT = "PRODUCT",
|
|
1275
1361
|
EVENT = "EVENT",
|
|
@@ -1287,6 +1373,122 @@ interface EventData {
|
|
|
1287
1373
|
/** Event location. */
|
|
1288
1374
|
location?: string | null;
|
|
1289
1375
|
}
|
|
1376
|
+
interface ButtonStyles {
|
|
1377
|
+
/** Text to display on the button. */
|
|
1378
|
+
buttonText?: string | null;
|
|
1379
|
+
/** Border width in pixels. */
|
|
1380
|
+
borderWidth?: number | null;
|
|
1381
|
+
/** Border radius in pixels. */
|
|
1382
|
+
borderRadius?: number | null;
|
|
1383
|
+
/**
|
|
1384
|
+
* Border color as a hexadecimal value.
|
|
1385
|
+
* @format COLOR_HEX
|
|
1386
|
+
*/
|
|
1387
|
+
borderColor?: string | null;
|
|
1388
|
+
/**
|
|
1389
|
+
* Text color as a hexadecimal value.
|
|
1390
|
+
* @format COLOR_HEX
|
|
1391
|
+
*/
|
|
1392
|
+
textColor?: string | null;
|
|
1393
|
+
/**
|
|
1394
|
+
* Background color as a hexadecimal value.
|
|
1395
|
+
* @format COLOR_HEX
|
|
1396
|
+
*/
|
|
1397
|
+
backgroundColor?: string | null;
|
|
1398
|
+
/**
|
|
1399
|
+
* Border color as a hexadecimal value (hover state).
|
|
1400
|
+
* @format COLOR_HEX
|
|
1401
|
+
*/
|
|
1402
|
+
borderColorHover?: string | null;
|
|
1403
|
+
/**
|
|
1404
|
+
* Text color as a hexadecimal value (hover state).
|
|
1405
|
+
* @format COLOR_HEX
|
|
1406
|
+
*/
|
|
1407
|
+
textColorHover?: string | null;
|
|
1408
|
+
/**
|
|
1409
|
+
* Background color as a hexadecimal value (hover state).
|
|
1410
|
+
* @format COLOR_HEX
|
|
1411
|
+
*/
|
|
1412
|
+
backgroundColorHover?: string | null;
|
|
1413
|
+
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
1414
|
+
buttonSize?: string | null;
|
|
1415
|
+
}
|
|
1416
|
+
interface ImageStyles {
|
|
1417
|
+
/** Whether to hide the image. */
|
|
1418
|
+
hideImage?: boolean | null;
|
|
1419
|
+
/** Position of image. Defaults to `START`. */
|
|
1420
|
+
imagePosition?: PositionWithLiterals;
|
|
1421
|
+
/** Aspect ratio for the image. Defaults to `SQUARE`. */
|
|
1422
|
+
aspectRatio?: AspectRatioWithLiterals;
|
|
1423
|
+
/** How the image should be resized. Defaults to `FILL`. */
|
|
1424
|
+
resizing?: ResizingWithLiterals;
|
|
1425
|
+
/**
|
|
1426
|
+
* Image border color as a hexadecimal value.
|
|
1427
|
+
* @format COLOR_HEX
|
|
1428
|
+
*/
|
|
1429
|
+
borderColor?: string | null;
|
|
1430
|
+
/** Image border width in pixels. */
|
|
1431
|
+
borderWidth?: number | null;
|
|
1432
|
+
/** Image border radius in pixels. */
|
|
1433
|
+
borderRadius?: number | null;
|
|
1434
|
+
}
|
|
1435
|
+
interface RibbonStyles {
|
|
1436
|
+
/** Text to display on the ribbon. */
|
|
1437
|
+
ribbonText?: string | null;
|
|
1438
|
+
/**
|
|
1439
|
+
* Ribbon background color as a hexadecimal value.
|
|
1440
|
+
* @format COLOR_HEX
|
|
1441
|
+
*/
|
|
1442
|
+
backgroundColor?: string | null;
|
|
1443
|
+
/**
|
|
1444
|
+
* Ribbon text color as a hexadecimal value.
|
|
1445
|
+
* @format COLOR_HEX
|
|
1446
|
+
*/
|
|
1447
|
+
textColor?: string | null;
|
|
1448
|
+
/**
|
|
1449
|
+
* Ribbon border color as a hexadecimal value.
|
|
1450
|
+
* @format COLOR_HEX
|
|
1451
|
+
*/
|
|
1452
|
+
borderColor?: string | null;
|
|
1453
|
+
/** Ribbon border width in pixels. */
|
|
1454
|
+
borderWidth?: number | null;
|
|
1455
|
+
/** Ribbon border radius in pixels. */
|
|
1456
|
+
borderRadius?: number | null;
|
|
1457
|
+
/** Placement of the ribbon. Defaults to `IMAGE`. */
|
|
1458
|
+
ribbonPlacement?: PlacementWithLiterals;
|
|
1459
|
+
}
|
|
1460
|
+
interface CardStyles {
|
|
1461
|
+
/**
|
|
1462
|
+
* Card background color as a hexadecimal value.
|
|
1463
|
+
* @format COLOR_HEX
|
|
1464
|
+
*/
|
|
1465
|
+
backgroundColor?: string | null;
|
|
1466
|
+
/**
|
|
1467
|
+
* Card border color as a hexadecimal value.
|
|
1468
|
+
* @format COLOR_HEX
|
|
1469
|
+
*/
|
|
1470
|
+
borderColor?: string | null;
|
|
1471
|
+
/** Card border width in pixels. */
|
|
1472
|
+
borderWidth?: number | null;
|
|
1473
|
+
/** Card border radius in pixels. */
|
|
1474
|
+
borderRadius?: number | null;
|
|
1475
|
+
/** Card type. Defaults to `CONTAINED`. */
|
|
1476
|
+
type?: TypeWithLiterals;
|
|
1477
|
+
/** Content alignment. Defaults to `START`. */
|
|
1478
|
+
alignment?: AlignmentWithLiterals;
|
|
1479
|
+
/** Layout for title and price. Defaults to `STACKED`. */
|
|
1480
|
+
titlePriceLayout?: LayoutWithLiterals;
|
|
1481
|
+
/**
|
|
1482
|
+
* Title text color as a hexadecimal value.
|
|
1483
|
+
* @format COLOR_HEX
|
|
1484
|
+
*/
|
|
1485
|
+
titleColor?: string | null;
|
|
1486
|
+
/**
|
|
1487
|
+
* Text color as a hexadecimal value.
|
|
1488
|
+
* @format COLOR_HEX
|
|
1489
|
+
*/
|
|
1490
|
+
textColor?: string | null;
|
|
1491
|
+
}
|
|
1290
1492
|
interface VideoData {
|
|
1291
1493
|
/** Styling for the video's container. */
|
|
1292
1494
|
containerData?: PluginContainerData;
|
|
@@ -2033,4 +2235,4 @@ interface BulkMachineTranslateOptions {
|
|
|
2033
2235
|
contentToTranslate?: TranslatableContent[];
|
|
2034
2236
|
}
|
|
2035
2237
|
|
|
2036
|
-
export { Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulkActionMetadata, type BulkMachineTranslateApplicationErrors, type BulkMachineTranslateOptions, type BulkMachineTranslateRequest, type BulkMachineTranslateResponse, type BulkTranslateResult, type BulletedListData, type ButtonData, type CaptionData, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, Crop, type CropWithLiterals, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, type DocumentStyle, type EmbedData, type EventData, type FileData, type FileSource, type FileSourceDataOneOf, type FontSizeData, FontType, type FontTypeWithLiterals, Format, type FormatWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type Image, type ImageData, type ImageDataStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle,
|
|
2238
|
+
export { Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulkActionMetadata, type BulkMachineTranslateApplicationErrors, type BulkMachineTranslateOptions, type BulkMachineTranslateRequest, type BulkMachineTranslateResponse, type BulkTranslateResult, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, Crop, type CropWithLiterals, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type EmbedData, type EventData, type FileData, type FileSource, type FileSourceDataOneOf, type FontSizeData, FontType, type FontTypeWithLiterals, Format, type FormatWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type Image, type ImageData, type ImageDataStyles, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, Layout, type LayoutCellData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListValue, type MachineTranslateApplicationErrors, type MachineTranslateOptions, type MachineTranslateRequest, type MachineTranslateResponse, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, type NotEnoughCreditsError, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type Rel, Resizing, type ResizingWithLiterals, type RibbonStyles, type RichContent, type SameLanguageArgumentsError, type Settings, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, SupportedLanguage, type SupportedLanguageWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type TextTooLongError, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TranslatableContent, type TranslatableContentContentOneOf, Type, type TypeWithLiterals, type UnknownFormatError, VerticalAlignment, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, bulkMachineTranslate, machineTranslate };
|
|
@@ -400,11 +400,11 @@ var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignmen
|
|
|
400
400
|
PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
|
|
401
401
|
return PluginContainerDataAlignment2;
|
|
402
402
|
})(PluginContainerDataAlignment || {});
|
|
403
|
-
var
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
return
|
|
407
|
-
})(
|
|
403
|
+
var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
|
|
404
|
+
ButtonDataType2["LINK"] = "LINK";
|
|
405
|
+
ButtonDataType2["ACTION"] = "ACTION";
|
|
406
|
+
return ButtonDataType2;
|
|
407
|
+
})(ButtonDataType || {});
|
|
408
408
|
var Target = /* @__PURE__ */ ((Target2) => {
|
|
409
409
|
Target2["SELF"] = "SELF";
|
|
410
410
|
Target2["BLANK"] = "BLANK";
|
|
@@ -433,12 +433,12 @@ var Width = /* @__PURE__ */ ((Width2) => {
|
|
|
433
433
|
Width2["SMALL"] = "SMALL";
|
|
434
434
|
return Width2;
|
|
435
435
|
})(Width || {});
|
|
436
|
-
var
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
return
|
|
441
|
-
})(
|
|
436
|
+
var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
|
|
437
|
+
DividerDataAlignment2["CENTER"] = "CENTER";
|
|
438
|
+
DividerDataAlignment2["LEFT"] = "LEFT";
|
|
439
|
+
DividerDataAlignment2["RIGHT"] = "RIGHT";
|
|
440
|
+
return DividerDataAlignment2;
|
|
441
|
+
})(DividerDataAlignment || {});
|
|
442
442
|
var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
|
|
443
443
|
ViewMode2["NONE"] = "NONE";
|
|
444
444
|
ViewMode2["FULL"] = "FULL";
|
|
@@ -486,13 +486,13 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
|
486
486
|
Source2["ADSENSE"] = "ADSENSE";
|
|
487
487
|
return Source2;
|
|
488
488
|
})(Source || {});
|
|
489
|
-
var
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
return
|
|
495
|
-
})(
|
|
489
|
+
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
490
|
+
StylesPosition2["START"] = "START";
|
|
491
|
+
StylesPosition2["END"] = "END";
|
|
492
|
+
StylesPosition2["TOP"] = "TOP";
|
|
493
|
+
StylesPosition2["HIDDEN"] = "HIDDEN";
|
|
494
|
+
return StylesPosition2;
|
|
495
|
+
})(StylesPosition || {});
|
|
496
496
|
var MapType = /* @__PURE__ */ ((MapType2) => {
|
|
497
497
|
MapType2["ROADMAP"] = "ROADMAP";
|
|
498
498
|
MapType2["SATELITE"] = "SATELITE";
|
|
@@ -548,6 +548,43 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
|
548
548
|
FontType2["EM"] = "EM";
|
|
549
549
|
return FontType2;
|
|
550
550
|
})(FontType || {});
|
|
551
|
+
var Position = /* @__PURE__ */ ((Position2) => {
|
|
552
|
+
Position2["START"] = "START";
|
|
553
|
+
Position2["END"] = "END";
|
|
554
|
+
Position2["TOP"] = "TOP";
|
|
555
|
+
return Position2;
|
|
556
|
+
})(Position || {});
|
|
557
|
+
var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
|
|
558
|
+
AspectRatio2["SQUARE"] = "SQUARE";
|
|
559
|
+
AspectRatio2["RECTANGLE"] = "RECTANGLE";
|
|
560
|
+
return AspectRatio2;
|
|
561
|
+
})(AspectRatio || {});
|
|
562
|
+
var Resizing = /* @__PURE__ */ ((Resizing2) => {
|
|
563
|
+
Resizing2["FILL"] = "FILL";
|
|
564
|
+
Resizing2["FIT"] = "FIT";
|
|
565
|
+
return Resizing2;
|
|
566
|
+
})(Resizing || {});
|
|
567
|
+
var Placement = /* @__PURE__ */ ((Placement2) => {
|
|
568
|
+
Placement2["IMAGE"] = "IMAGE";
|
|
569
|
+
Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
|
|
570
|
+
return Placement2;
|
|
571
|
+
})(Placement || {});
|
|
572
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
|
573
|
+
Type2["CONTAINED"] = "CONTAINED";
|
|
574
|
+
Type2["FRAMELESS"] = "FRAMELESS";
|
|
575
|
+
return Type2;
|
|
576
|
+
})(Type || {});
|
|
577
|
+
var Alignment = /* @__PURE__ */ ((Alignment2) => {
|
|
578
|
+
Alignment2["START"] = "START";
|
|
579
|
+
Alignment2["CENTER"] = "CENTER";
|
|
580
|
+
Alignment2["END"] = "END";
|
|
581
|
+
return Alignment2;
|
|
582
|
+
})(Alignment || {});
|
|
583
|
+
var Layout = /* @__PURE__ */ ((Layout2) => {
|
|
584
|
+
Layout2["STACKED"] = "STACKED";
|
|
585
|
+
Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
|
|
586
|
+
return Layout2;
|
|
587
|
+
})(Layout || {});
|
|
551
588
|
var AppType = /* @__PURE__ */ ((AppType2) => {
|
|
552
589
|
AppType2["PRODUCT"] = "PRODUCT";
|
|
553
590
|
AppType2["EVENT"] = "EVENT";
|
|
@@ -793,25 +830,32 @@ async function bulkMachineTranslate2(sourceLanguage, options) {
|
|
|
793
830
|
export {
|
|
794
831
|
Alignment,
|
|
795
832
|
AppType,
|
|
833
|
+
AspectRatio,
|
|
796
834
|
BackgroundType,
|
|
835
|
+
ButtonDataType,
|
|
797
836
|
Crop,
|
|
798
837
|
DecorationType,
|
|
799
838
|
Direction,
|
|
839
|
+
DividerDataAlignment,
|
|
800
840
|
FontType,
|
|
801
841
|
Format,
|
|
802
842
|
GIFType,
|
|
803
843
|
InitialExpandedItems,
|
|
844
|
+
Layout,
|
|
804
845
|
LayoutType,
|
|
805
846
|
LineStyle,
|
|
806
847
|
MapType,
|
|
807
848
|
NodeType,
|
|
808
849
|
NullValue,
|
|
809
850
|
Orientation,
|
|
851
|
+
Placement,
|
|
810
852
|
PluginContainerDataAlignment,
|
|
811
853
|
PollLayoutDirection,
|
|
812
854
|
PollLayoutType,
|
|
813
855
|
Position,
|
|
856
|
+
Resizing,
|
|
814
857
|
Source,
|
|
858
|
+
StylesPosition,
|
|
815
859
|
SupportedLanguage,
|
|
816
860
|
Target,
|
|
817
861
|
TextAlignment,
|