@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
package/build/es/meta.d.mts
CHANGED
|
@@ -238,7 +238,7 @@ interface ButtonData {
|
|
|
238
238
|
/** Styling for the button's container. */
|
|
239
239
|
containerData?: PluginContainerData;
|
|
240
240
|
/** The button type. */
|
|
241
|
-
type?:
|
|
241
|
+
type?: ButtonDataTypeWithLiterals;
|
|
242
242
|
/** Styling for the button. */
|
|
243
243
|
styles?: Styles;
|
|
244
244
|
/** The text to display on the button. */
|
|
@@ -346,14 +346,14 @@ interface Height {
|
|
|
346
346
|
/** A custom height value in pixels. */
|
|
347
347
|
custom?: string | null;
|
|
348
348
|
}
|
|
349
|
-
declare enum
|
|
349
|
+
declare enum ButtonDataType {
|
|
350
350
|
/** Regular link button */
|
|
351
351
|
LINK = "LINK",
|
|
352
352
|
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
|
353
353
|
ACTION = "ACTION"
|
|
354
354
|
}
|
|
355
355
|
/** @enumType */
|
|
356
|
-
type
|
|
356
|
+
type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';
|
|
357
357
|
interface Styles {
|
|
358
358
|
/**
|
|
359
359
|
* Deprecated: Use `borderWidth` and `borderRadius` instead.
|
|
@@ -486,7 +486,7 @@ interface DividerData {
|
|
|
486
486
|
/** Divider width. */
|
|
487
487
|
width?: WidthWithLiterals;
|
|
488
488
|
/** Divider alignment. */
|
|
489
|
-
alignment?:
|
|
489
|
+
alignment?: DividerDataAlignmentWithLiterals;
|
|
490
490
|
}
|
|
491
491
|
declare enum LineStyle {
|
|
492
492
|
/** Single Line */
|
|
@@ -510,7 +510,7 @@ declare enum Width {
|
|
|
510
510
|
}
|
|
511
511
|
/** @enumType */
|
|
512
512
|
type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
|
|
513
|
-
declare enum
|
|
513
|
+
declare enum DividerDataAlignment {
|
|
514
514
|
/** Center alignment */
|
|
515
515
|
CENTER = "CENTER",
|
|
516
516
|
/** Left alignment */
|
|
@@ -519,7 +519,7 @@ declare enum Alignment {
|
|
|
519
519
|
RIGHT = "RIGHT"
|
|
520
520
|
}
|
|
521
521
|
/** @enumType */
|
|
522
|
-
type
|
|
522
|
+
type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
|
523
523
|
interface FileData {
|
|
524
524
|
/** Styling for the file's container. */
|
|
525
525
|
containerData?: PluginContainerData;
|
|
@@ -644,7 +644,7 @@ interface ItemDataOneOf {
|
|
|
644
644
|
}
|
|
645
645
|
interface GalleryOptions {
|
|
646
646
|
/** Gallery layout. */
|
|
647
|
-
layout?:
|
|
647
|
+
layout?: GalleryOptionsLayout;
|
|
648
648
|
/** Styling for gallery items. */
|
|
649
649
|
item?: ItemStyle;
|
|
650
650
|
/** Styling for gallery thumbnail images. */
|
|
@@ -704,7 +704,7 @@ declare enum ThumbnailsAlignment {
|
|
|
704
704
|
}
|
|
705
705
|
/** @enumType */
|
|
706
706
|
type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
|
|
707
|
-
interface
|
|
707
|
+
interface GalleryOptionsLayout {
|
|
708
708
|
/** Gallery layout type. */
|
|
709
709
|
type?: LayoutTypeWithLiterals;
|
|
710
710
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
|
@@ -866,7 +866,7 @@ interface LinkPreviewData {
|
|
|
866
866
|
/** Styling for the link preview. */
|
|
867
867
|
styles?: LinkPreviewDataStyles;
|
|
868
868
|
}
|
|
869
|
-
declare enum
|
|
869
|
+
declare enum StylesPosition {
|
|
870
870
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
871
871
|
START = "START",
|
|
872
872
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
@@ -877,7 +877,7 @@ declare enum Position {
|
|
|
877
877
|
HIDDEN = "HIDDEN"
|
|
878
878
|
}
|
|
879
879
|
/** @enumType */
|
|
880
|
-
type
|
|
880
|
+
type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HIDDEN';
|
|
881
881
|
interface LinkPreviewDataStyles {
|
|
882
882
|
/**
|
|
883
883
|
* Background color as a hexadecimal value.
|
|
@@ -909,7 +909,7 @@ interface LinkPreviewDataStyles {
|
|
|
909
909
|
*/
|
|
910
910
|
borderColor?: string | null;
|
|
911
911
|
/** Position of thumbnail. Defaults to `START`. */
|
|
912
|
-
thumbnailPosition?:
|
|
912
|
+
thumbnailPosition?: StylesPositionWithLiterals;
|
|
913
913
|
}
|
|
914
914
|
interface MapData {
|
|
915
915
|
/** Styling for the map's container. */
|
|
@@ -1263,6 +1263,32 @@ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
|
1263
1263
|
url?: string | null;
|
|
1264
1264
|
/** An image for the embedded content. */
|
|
1265
1265
|
image?: Media;
|
|
1266
|
+
/** Whether to hide the image. */
|
|
1267
|
+
hideImage?: boolean | null;
|
|
1268
|
+
/** Whether to hide the title. */
|
|
1269
|
+
hideTitle?: boolean | null;
|
|
1270
|
+
/** Whether to hide the price. */
|
|
1271
|
+
hidePrice?: boolean | null;
|
|
1272
|
+
/** Whether to hide the description (Event and Booking). */
|
|
1273
|
+
hideDescription?: boolean | null;
|
|
1274
|
+
/** Whether to hide the date and time (Event). */
|
|
1275
|
+
hideDateTime?: boolean | null;
|
|
1276
|
+
/** Whether to hide the location (Event). */
|
|
1277
|
+
hideLocation?: boolean | null;
|
|
1278
|
+
/** Whether to hide the duration (Booking). */
|
|
1279
|
+
hideDuration?: boolean | null;
|
|
1280
|
+
/** Whether to hide the button. */
|
|
1281
|
+
hideButton?: boolean | null;
|
|
1282
|
+
/** Whether to hide the ribbon. */
|
|
1283
|
+
hideRibbon?: boolean | null;
|
|
1284
|
+
/** Button styling options. */
|
|
1285
|
+
buttonStyles?: ButtonStyles;
|
|
1286
|
+
/** Image styling options. */
|
|
1287
|
+
imageStyles?: ImageStyles;
|
|
1288
|
+
/** Ribbon styling options. */
|
|
1289
|
+
ribbonStyles?: RibbonStyles;
|
|
1290
|
+
/** Card styling options. */
|
|
1291
|
+
cardStyles?: CardStyles;
|
|
1266
1292
|
}
|
|
1267
1293
|
/** @oneof */
|
|
1268
1294
|
interface AppEmbedDataAppDataOneOf {
|
|
@@ -1271,6 +1297,66 @@ interface AppEmbedDataAppDataOneOf {
|
|
|
1271
1297
|
/** Data for embedded Wix Events content. */
|
|
1272
1298
|
eventData?: EventData;
|
|
1273
1299
|
}
|
|
1300
|
+
declare enum Position {
|
|
1301
|
+
/** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
1302
|
+
START = "START",
|
|
1303
|
+
/** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
1304
|
+
END = "END",
|
|
1305
|
+
/** Image positioned at the top */
|
|
1306
|
+
TOP = "TOP"
|
|
1307
|
+
}
|
|
1308
|
+
/** @enumType */
|
|
1309
|
+
type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';
|
|
1310
|
+
declare enum AspectRatio {
|
|
1311
|
+
/** 1:1 aspect ratio */
|
|
1312
|
+
SQUARE = "SQUARE",
|
|
1313
|
+
/** 16:9 aspect ratio */
|
|
1314
|
+
RECTANGLE = "RECTANGLE"
|
|
1315
|
+
}
|
|
1316
|
+
/** @enumType */
|
|
1317
|
+
type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
|
|
1318
|
+
declare enum Resizing {
|
|
1319
|
+
/** Fill the container, may crop the image */
|
|
1320
|
+
FILL = "FILL",
|
|
1321
|
+
/** Fit the image within the container */
|
|
1322
|
+
FIT = "FIT"
|
|
1323
|
+
}
|
|
1324
|
+
/** @enumType */
|
|
1325
|
+
type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
|
|
1326
|
+
declare enum Placement {
|
|
1327
|
+
/** Ribbon placed on the image */
|
|
1328
|
+
IMAGE = "IMAGE",
|
|
1329
|
+
/** Ribbon placed on the product information */
|
|
1330
|
+
PRODUCT_INFO = "PRODUCT_INFO"
|
|
1331
|
+
}
|
|
1332
|
+
/** @enumType */
|
|
1333
|
+
type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
|
|
1334
|
+
declare enum Type {
|
|
1335
|
+
/** Card with visible border and background */
|
|
1336
|
+
CONTAINED = "CONTAINED",
|
|
1337
|
+
/** Card without visible border */
|
|
1338
|
+
FRAMELESS = "FRAMELESS"
|
|
1339
|
+
}
|
|
1340
|
+
/** @enumType */
|
|
1341
|
+
type TypeWithLiterals = Type | 'CONTAINED' | 'FRAMELESS';
|
|
1342
|
+
declare enum Alignment {
|
|
1343
|
+
/** Content aligned to start (left in LTR layouts, right in RTL layouts) */
|
|
1344
|
+
START = "START",
|
|
1345
|
+
/** Content centered */
|
|
1346
|
+
CENTER = "CENTER",
|
|
1347
|
+
/** Content aligned to end (right in LTR layouts, left in RTL layouts) */
|
|
1348
|
+
END = "END"
|
|
1349
|
+
}
|
|
1350
|
+
/** @enumType */
|
|
1351
|
+
type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
|
|
1352
|
+
declare enum Layout {
|
|
1353
|
+
/** Elements stacked vertically */
|
|
1354
|
+
STACKED = "STACKED",
|
|
1355
|
+
/** Elements arranged horizontally */
|
|
1356
|
+
SIDE_BY_SIDE = "SIDE_BY_SIDE"
|
|
1357
|
+
}
|
|
1358
|
+
/** @enumType */
|
|
1359
|
+
type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
|
|
1274
1360
|
declare enum AppType {
|
|
1275
1361
|
PRODUCT = "PRODUCT",
|
|
1276
1362
|
EVENT = "EVENT",
|
|
@@ -1288,6 +1374,122 @@ interface EventData {
|
|
|
1288
1374
|
/** Event location. */
|
|
1289
1375
|
location?: string | null;
|
|
1290
1376
|
}
|
|
1377
|
+
interface ButtonStyles {
|
|
1378
|
+
/** Text to display on the button. */
|
|
1379
|
+
buttonText?: string | null;
|
|
1380
|
+
/** Border width in pixels. */
|
|
1381
|
+
borderWidth?: number | null;
|
|
1382
|
+
/** Border radius in pixels. */
|
|
1383
|
+
borderRadius?: number | null;
|
|
1384
|
+
/**
|
|
1385
|
+
* Border color as a hexadecimal value.
|
|
1386
|
+
* @format COLOR_HEX
|
|
1387
|
+
*/
|
|
1388
|
+
borderColor?: string | null;
|
|
1389
|
+
/**
|
|
1390
|
+
* Text color as a hexadecimal value.
|
|
1391
|
+
* @format COLOR_HEX
|
|
1392
|
+
*/
|
|
1393
|
+
textColor?: string | null;
|
|
1394
|
+
/**
|
|
1395
|
+
* Background color as a hexadecimal value.
|
|
1396
|
+
* @format COLOR_HEX
|
|
1397
|
+
*/
|
|
1398
|
+
backgroundColor?: string | null;
|
|
1399
|
+
/**
|
|
1400
|
+
* Border color as a hexadecimal value (hover state).
|
|
1401
|
+
* @format COLOR_HEX
|
|
1402
|
+
*/
|
|
1403
|
+
borderColorHover?: string | null;
|
|
1404
|
+
/**
|
|
1405
|
+
* Text color as a hexadecimal value (hover state).
|
|
1406
|
+
* @format COLOR_HEX
|
|
1407
|
+
*/
|
|
1408
|
+
textColorHover?: string | null;
|
|
1409
|
+
/**
|
|
1410
|
+
* Background color as a hexadecimal value (hover state).
|
|
1411
|
+
* @format COLOR_HEX
|
|
1412
|
+
*/
|
|
1413
|
+
backgroundColorHover?: string | null;
|
|
1414
|
+
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
1415
|
+
buttonSize?: string | null;
|
|
1416
|
+
}
|
|
1417
|
+
interface ImageStyles {
|
|
1418
|
+
/** Whether to hide the image. */
|
|
1419
|
+
hideImage?: boolean | null;
|
|
1420
|
+
/** Position of image. Defaults to `START`. */
|
|
1421
|
+
imagePosition?: PositionWithLiterals;
|
|
1422
|
+
/** Aspect ratio for the image. Defaults to `SQUARE`. */
|
|
1423
|
+
aspectRatio?: AspectRatioWithLiterals;
|
|
1424
|
+
/** How the image should be resized. Defaults to `FILL`. */
|
|
1425
|
+
resizing?: ResizingWithLiterals;
|
|
1426
|
+
/**
|
|
1427
|
+
* Image border color as a hexadecimal value.
|
|
1428
|
+
* @format COLOR_HEX
|
|
1429
|
+
*/
|
|
1430
|
+
borderColor?: string | null;
|
|
1431
|
+
/** Image border width in pixels. */
|
|
1432
|
+
borderWidth?: number | null;
|
|
1433
|
+
/** Image border radius in pixels. */
|
|
1434
|
+
borderRadius?: number | null;
|
|
1435
|
+
}
|
|
1436
|
+
interface RibbonStyles {
|
|
1437
|
+
/** Text to display on the ribbon. */
|
|
1438
|
+
ribbonText?: string | null;
|
|
1439
|
+
/**
|
|
1440
|
+
* Ribbon background color as a hexadecimal value.
|
|
1441
|
+
* @format COLOR_HEX
|
|
1442
|
+
*/
|
|
1443
|
+
backgroundColor?: string | null;
|
|
1444
|
+
/**
|
|
1445
|
+
* Ribbon text color as a hexadecimal value.
|
|
1446
|
+
* @format COLOR_HEX
|
|
1447
|
+
*/
|
|
1448
|
+
textColor?: string | null;
|
|
1449
|
+
/**
|
|
1450
|
+
* Ribbon border color as a hexadecimal value.
|
|
1451
|
+
* @format COLOR_HEX
|
|
1452
|
+
*/
|
|
1453
|
+
borderColor?: string | null;
|
|
1454
|
+
/** Ribbon border width in pixels. */
|
|
1455
|
+
borderWidth?: number | null;
|
|
1456
|
+
/** Ribbon border radius in pixels. */
|
|
1457
|
+
borderRadius?: number | null;
|
|
1458
|
+
/** Placement of the ribbon. Defaults to `IMAGE`. */
|
|
1459
|
+
ribbonPlacement?: PlacementWithLiterals;
|
|
1460
|
+
}
|
|
1461
|
+
interface CardStyles {
|
|
1462
|
+
/**
|
|
1463
|
+
* Card background color as a hexadecimal value.
|
|
1464
|
+
* @format COLOR_HEX
|
|
1465
|
+
*/
|
|
1466
|
+
backgroundColor?: string | null;
|
|
1467
|
+
/**
|
|
1468
|
+
* Card border color as a hexadecimal value.
|
|
1469
|
+
* @format COLOR_HEX
|
|
1470
|
+
*/
|
|
1471
|
+
borderColor?: string | null;
|
|
1472
|
+
/** Card border width in pixels. */
|
|
1473
|
+
borderWidth?: number | null;
|
|
1474
|
+
/** Card border radius in pixels. */
|
|
1475
|
+
borderRadius?: number | null;
|
|
1476
|
+
/** Card type. Defaults to `CONTAINED`. */
|
|
1477
|
+
type?: TypeWithLiterals;
|
|
1478
|
+
/** Content alignment. Defaults to `START`. */
|
|
1479
|
+
alignment?: AlignmentWithLiterals;
|
|
1480
|
+
/** Layout for title and price. Defaults to `STACKED`. */
|
|
1481
|
+
titlePriceLayout?: LayoutWithLiterals;
|
|
1482
|
+
/**
|
|
1483
|
+
* Title text color as a hexadecimal value.
|
|
1484
|
+
* @format COLOR_HEX
|
|
1485
|
+
*/
|
|
1486
|
+
titleColor?: string | null;
|
|
1487
|
+
/**
|
|
1488
|
+
* Text color as a hexadecimal value.
|
|
1489
|
+
* @format COLOR_HEX
|
|
1490
|
+
*/
|
|
1491
|
+
textColor?: string | null;
|
|
1492
|
+
}
|
|
1291
1493
|
interface VideoData {
|
|
1292
1494
|
/** Styling for the video's container. */
|
|
1293
1495
|
containerData?: PluginContainerData;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { SupportedLanguageWithLiterals, MachineTranslateOptions, MachineTranslateResponse, MachineTranslateApplicationErrors, BulkMachineTranslateOptions, BulkMachineTranslateResponse, BulkMachineTranslateApplicationErrors } from './index.typings.js';
|
|
3
|
-
export { Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, ApplicationError, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BlockquoteData, BookingData, Border, BorderColors, BulkActionMetadata, BulkMachineTranslateRequest, BulkTranslateResult, BulletedListData, ButtonData, CaptionData, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, Crop, Decoration, DecorationDataOneOf, DecorationType, Design, Dimensions, Direction, DividerData, DocumentStyle, EmbedData, EventData, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, Format, GIF, GIFData, GIFType, GalleryData, GalleryOptions, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, Image, ImageData, ImageDataStyles, InitialExpandedItems, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListValue, MachineTranslateRequest, MapData, MapSettings, MapType, Media, MentionData, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NotEnoughCreditsError, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, PDFSettings, ParagraphData, Permissions, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, Position, Rel, RichContent, SameLanguageArgumentsError, Settings, Source, Spoiler, SpoilerData, Styles, StylesBorder, SupportedLanguage, TableCellData, TableData, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, TextTooLongError, Thumbnails, ThumbnailsAlignment, TranslatableContent, TranslatableContentContentOneOf, Type, UnknownFormatError, VerticalAlignment, Video, VideoData, ViewMode, ViewRole, VoteRole, Width, WidthType } from './index.typings.js';
|
|
3
|
+
export { Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, ApplicationError, AspectRatio, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BlockquoteData, BookingData, Border, BorderColors, BulkActionMetadata, BulkMachineTranslateRequest, BulkTranslateResult, BulletedListData, ButtonData, ButtonDataType, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, Crop, Decoration, DecorationDataOneOf, DecorationType, Design, Dimensions, Direction, DividerData, DividerDataAlignment, DocumentStyle, EmbedData, EventData, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, Format, GIF, GIFData, GIFType, GalleryData, GalleryOptions, GalleryOptionsLayout, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, Image, ImageData, ImageDataStyles, ImageStyles, InitialExpandedItems, Item, ItemDataOneOf, ItemMetadata, ItemStyle, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListValue, MachineTranslateRequest, MapData, MapSettings, MapType, Media, MentionData, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NotEnoughCreditsError, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, PDFSettings, ParagraphData, Permissions, Placement, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, Position, Rel, Resizing, RibbonStyles, RichContent, SameLanguageArgumentsError, Settings, Source, Spoiler, SpoilerData, Styles, StylesBorder, StylesPosition, SupportedLanguage, TableCellData, TableData, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, TextTooLongError, Thumbnails, ThumbnailsAlignment, TranslatableContent, TranslatableContentContentOneOf, Type, UnknownFormatError, VerticalAlignment, Video, VideoData, ViewMode, ViewRole, VoteRole, Width, WidthType } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
type TranslatableContentNonNullablePaths = `plainTextContent` | `htmlContent` | `format`;
|
|
6
6
|
declare function machineTranslate$1(httpClient: HttpClient): MachineTranslateSignature;
|
|
@@ -22,25 +22,32 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_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";
|
|
@@ -873,25 +917,32 @@ var bulkMachineTranslate4 = /* @__PURE__ */ (0, import_rest_modules2.createRESTM
|
|
|
873
917
|
0 && (module.exports = {
|
|
874
918
|
Alignment,
|
|
875
919
|
AppType,
|
|
920
|
+
AspectRatio,
|
|
876
921
|
BackgroundType,
|
|
922
|
+
ButtonDataType,
|
|
877
923
|
Crop,
|
|
878
924
|
DecorationType,
|
|
879
925
|
Direction,
|
|
926
|
+
DividerDataAlignment,
|
|
880
927
|
FontType,
|
|
881
928
|
Format,
|
|
882
929
|
GIFType,
|
|
883
930
|
InitialExpandedItems,
|
|
931
|
+
Layout,
|
|
884
932
|
LayoutType,
|
|
885
933
|
LineStyle,
|
|
886
934
|
MapType,
|
|
887
935
|
NodeType,
|
|
888
936
|
NullValue,
|
|
889
937
|
Orientation,
|
|
938
|
+
Placement,
|
|
890
939
|
PluginContainerDataAlignment,
|
|
891
940
|
PollLayoutDirection,
|
|
892
941
|
PollLayoutType,
|
|
893
942
|
Position,
|
|
943
|
+
Resizing,
|
|
894
944
|
Source,
|
|
945
|
+
StylesPosition,
|
|
895
946
|
SupportedLanguage,
|
|
896
947
|
Target,
|
|
897
948
|
TextAlignment,
|