@wix/auto_sdk_multilingual_machine-translation 1.0.22 → 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 +11 -6
- 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 +11 -6
- 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 +11 -6
- 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 +11 -6
- 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 };
|
|
@@ -22,25 +22,32 @@ var index_typings_exports = {};
|
|
|
22
22
|
__export(index_typings_exports, {
|
|
23
23
|
Alignment: () => Alignment,
|
|
24
24
|
AppType: () => AppType,
|
|
25
|
+
AspectRatio: () => AspectRatio,
|
|
25
26
|
BackgroundType: () => BackgroundType,
|
|
27
|
+
ButtonDataType: () => ButtonDataType,
|
|
26
28
|
Crop: () => Crop,
|
|
27
29
|
DecorationType: () => DecorationType,
|
|
28
30
|
Direction: () => Direction,
|
|
31
|
+
DividerDataAlignment: () => DividerDataAlignment,
|
|
29
32
|
FontType: () => FontType,
|
|
30
33
|
Format: () => Format,
|
|
31
34
|
GIFType: () => GIFType,
|
|
32
35
|
InitialExpandedItems: () => InitialExpandedItems,
|
|
36
|
+
Layout: () => Layout,
|
|
33
37
|
LayoutType: () => LayoutType,
|
|
34
38
|
LineStyle: () => LineStyle,
|
|
35
39
|
MapType: () => MapType,
|
|
36
40
|
NodeType: () => NodeType,
|
|
37
41
|
NullValue: () => NullValue,
|
|
38
42
|
Orientation: () => Orientation,
|
|
43
|
+
Placement: () => Placement,
|
|
39
44
|
PluginContainerDataAlignment: () => PluginContainerDataAlignment,
|
|
40
45
|
PollLayoutDirection: () => PollLayoutDirection,
|
|
41
46
|
PollLayoutType: () => PollLayoutType,
|
|
42
47
|
Position: () => Position,
|
|
48
|
+
Resizing: () => Resizing,
|
|
43
49
|
Source: () => Source,
|
|
50
|
+
StylesPosition: () => StylesPosition,
|
|
44
51
|
SupportedLanguage: () => SupportedLanguage,
|
|
45
52
|
Target: () => Target,
|
|
46
53
|
TextAlignment: () => TextAlignment,
|
|
@@ -456,11 +463,11 @@ var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignmen
|
|
|
456
463
|
PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
|
|
457
464
|
return PluginContainerDataAlignment2;
|
|
458
465
|
})(PluginContainerDataAlignment || {});
|
|
459
|
-
var
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
return
|
|
463
|
-
})(
|
|
466
|
+
var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
|
|
467
|
+
ButtonDataType2["LINK"] = "LINK";
|
|
468
|
+
ButtonDataType2["ACTION"] = "ACTION";
|
|
469
|
+
return ButtonDataType2;
|
|
470
|
+
})(ButtonDataType || {});
|
|
464
471
|
var Target = /* @__PURE__ */ ((Target2) => {
|
|
465
472
|
Target2["SELF"] = "SELF";
|
|
466
473
|
Target2["BLANK"] = "BLANK";
|
|
@@ -489,12 +496,12 @@ var Width = /* @__PURE__ */ ((Width2) => {
|
|
|
489
496
|
Width2["SMALL"] = "SMALL";
|
|
490
497
|
return Width2;
|
|
491
498
|
})(Width || {});
|
|
492
|
-
var
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
return
|
|
497
|
-
})(
|
|
499
|
+
var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
|
|
500
|
+
DividerDataAlignment2["CENTER"] = "CENTER";
|
|
501
|
+
DividerDataAlignment2["LEFT"] = "LEFT";
|
|
502
|
+
DividerDataAlignment2["RIGHT"] = "RIGHT";
|
|
503
|
+
return DividerDataAlignment2;
|
|
504
|
+
})(DividerDataAlignment || {});
|
|
498
505
|
var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
|
|
499
506
|
ViewMode2["NONE"] = "NONE";
|
|
500
507
|
ViewMode2["FULL"] = "FULL";
|
|
@@ -542,13 +549,13 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
|
542
549
|
Source2["ADSENSE"] = "ADSENSE";
|
|
543
550
|
return Source2;
|
|
544
551
|
})(Source || {});
|
|
545
|
-
var
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
return
|
|
551
|
-
})(
|
|
552
|
+
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
553
|
+
StylesPosition2["START"] = "START";
|
|
554
|
+
StylesPosition2["END"] = "END";
|
|
555
|
+
StylesPosition2["TOP"] = "TOP";
|
|
556
|
+
StylesPosition2["HIDDEN"] = "HIDDEN";
|
|
557
|
+
return StylesPosition2;
|
|
558
|
+
})(StylesPosition || {});
|
|
552
559
|
var MapType = /* @__PURE__ */ ((MapType2) => {
|
|
553
560
|
MapType2["ROADMAP"] = "ROADMAP";
|
|
554
561
|
MapType2["SATELITE"] = "SATELITE";
|
|
@@ -604,6 +611,43 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
|
604
611
|
FontType2["EM"] = "EM";
|
|
605
612
|
return FontType2;
|
|
606
613
|
})(FontType || {});
|
|
614
|
+
var Position = /* @__PURE__ */ ((Position2) => {
|
|
615
|
+
Position2["START"] = "START";
|
|
616
|
+
Position2["END"] = "END";
|
|
617
|
+
Position2["TOP"] = "TOP";
|
|
618
|
+
return Position2;
|
|
619
|
+
})(Position || {});
|
|
620
|
+
var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
|
|
621
|
+
AspectRatio2["SQUARE"] = "SQUARE";
|
|
622
|
+
AspectRatio2["RECTANGLE"] = "RECTANGLE";
|
|
623
|
+
return AspectRatio2;
|
|
624
|
+
})(AspectRatio || {});
|
|
625
|
+
var Resizing = /* @__PURE__ */ ((Resizing2) => {
|
|
626
|
+
Resizing2["FILL"] = "FILL";
|
|
627
|
+
Resizing2["FIT"] = "FIT";
|
|
628
|
+
return Resizing2;
|
|
629
|
+
})(Resizing || {});
|
|
630
|
+
var Placement = /* @__PURE__ */ ((Placement2) => {
|
|
631
|
+
Placement2["IMAGE"] = "IMAGE";
|
|
632
|
+
Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
|
|
633
|
+
return Placement2;
|
|
634
|
+
})(Placement || {});
|
|
635
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
|
636
|
+
Type2["CONTAINED"] = "CONTAINED";
|
|
637
|
+
Type2["FRAMELESS"] = "FRAMELESS";
|
|
638
|
+
return Type2;
|
|
639
|
+
})(Type || {});
|
|
640
|
+
var Alignment = /* @__PURE__ */ ((Alignment2) => {
|
|
641
|
+
Alignment2["START"] = "START";
|
|
642
|
+
Alignment2["CENTER"] = "CENTER";
|
|
643
|
+
Alignment2["END"] = "END";
|
|
644
|
+
return Alignment2;
|
|
645
|
+
})(Alignment || {});
|
|
646
|
+
var Layout = /* @__PURE__ */ ((Layout2) => {
|
|
647
|
+
Layout2["STACKED"] = "STACKED";
|
|
648
|
+
Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
|
|
649
|
+
return Layout2;
|
|
650
|
+
})(Layout || {});
|
|
607
651
|
var AppType = /* @__PURE__ */ ((AppType2) => {
|
|
608
652
|
AppType2["PRODUCT"] = "PRODUCT";
|
|
609
653
|
AppType2["EVENT"] = "EVENT";
|
|
@@ -850,25 +894,32 @@ async function bulkMachineTranslate2(sourceLanguage, options) {
|
|
|
850
894
|
0 && (module.exports = {
|
|
851
895
|
Alignment,
|
|
852
896
|
AppType,
|
|
897
|
+
AspectRatio,
|
|
853
898
|
BackgroundType,
|
|
899
|
+
ButtonDataType,
|
|
854
900
|
Crop,
|
|
855
901
|
DecorationType,
|
|
856
902
|
Direction,
|
|
903
|
+
DividerDataAlignment,
|
|
857
904
|
FontType,
|
|
858
905
|
Format,
|
|
859
906
|
GIFType,
|
|
860
907
|
InitialExpandedItems,
|
|
908
|
+
Layout,
|
|
861
909
|
LayoutType,
|
|
862
910
|
LineStyle,
|
|
863
911
|
MapType,
|
|
864
912
|
NodeType,
|
|
865
913
|
NullValue,
|
|
866
914
|
Orientation,
|
|
915
|
+
Placement,
|
|
867
916
|
PluginContainerDataAlignment,
|
|
868
917
|
PollLayoutDirection,
|
|
869
918
|
PollLayoutType,
|
|
870
919
|
Position,
|
|
920
|
+
Resizing,
|
|
871
921
|
Source,
|
|
922
|
+
StylesPosition,
|
|
872
923
|
SupportedLanguage,
|
|
873
924
|
Target,
|
|
874
925
|
TextAlignment,
|