@wix/auto_sdk_multilingual_translation-published-contents 1.0.30 → 1.0.32
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 +3 -2
|
@@ -289,7 +289,7 @@ interface ButtonData {
|
|
|
289
289
|
/** Styling for the button's container. */
|
|
290
290
|
containerData?: PluginContainerData;
|
|
291
291
|
/** The button type. */
|
|
292
|
-
type?:
|
|
292
|
+
type?: ButtonDataTypeWithLiterals;
|
|
293
293
|
/** Styling for the button. */
|
|
294
294
|
styles?: Styles;
|
|
295
295
|
/** The text to display on the button. */
|
|
@@ -397,14 +397,14 @@ interface Height {
|
|
|
397
397
|
/** A custom height value in pixels. */
|
|
398
398
|
custom?: string | null;
|
|
399
399
|
}
|
|
400
|
-
declare enum
|
|
400
|
+
declare enum ButtonDataType {
|
|
401
401
|
/** Regular link button */
|
|
402
402
|
LINK = "LINK",
|
|
403
403
|
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
|
404
404
|
ACTION = "ACTION"
|
|
405
405
|
}
|
|
406
406
|
/** @enumType */
|
|
407
|
-
type
|
|
407
|
+
type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';
|
|
408
408
|
interface Styles {
|
|
409
409
|
/**
|
|
410
410
|
* Deprecated: Use `borderWidth` and `borderRadius` instead.
|
|
@@ -537,7 +537,7 @@ interface DividerData {
|
|
|
537
537
|
/** Divider width. */
|
|
538
538
|
width?: WidthWithLiterals;
|
|
539
539
|
/** Divider alignment. */
|
|
540
|
-
alignment?:
|
|
540
|
+
alignment?: DividerDataAlignmentWithLiterals;
|
|
541
541
|
}
|
|
542
542
|
declare enum LineStyle {
|
|
543
543
|
/** Single Line */
|
|
@@ -561,7 +561,7 @@ declare enum Width {
|
|
|
561
561
|
}
|
|
562
562
|
/** @enumType */
|
|
563
563
|
type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
|
|
564
|
-
declare enum
|
|
564
|
+
declare enum DividerDataAlignment {
|
|
565
565
|
/** Center alignment */
|
|
566
566
|
CENTER = "CENTER",
|
|
567
567
|
/** Left alignment */
|
|
@@ -570,7 +570,7 @@ declare enum Alignment {
|
|
|
570
570
|
RIGHT = "RIGHT"
|
|
571
571
|
}
|
|
572
572
|
/** @enumType */
|
|
573
|
-
type
|
|
573
|
+
type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
|
574
574
|
interface FileData {
|
|
575
575
|
/** Styling for the file's container. */
|
|
576
576
|
containerData?: PluginContainerData;
|
|
@@ -695,7 +695,7 @@ interface ItemDataOneOf {
|
|
|
695
695
|
}
|
|
696
696
|
interface GalleryOptions {
|
|
697
697
|
/** Gallery layout. */
|
|
698
|
-
layout?:
|
|
698
|
+
layout?: GalleryOptionsLayout;
|
|
699
699
|
/** Styling for gallery items. */
|
|
700
700
|
item?: ItemStyle;
|
|
701
701
|
/** Styling for gallery thumbnail images. */
|
|
@@ -755,7 +755,7 @@ declare enum ThumbnailsAlignment {
|
|
|
755
755
|
}
|
|
756
756
|
/** @enumType */
|
|
757
757
|
type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
|
|
758
|
-
interface
|
|
758
|
+
interface GalleryOptionsLayout {
|
|
759
759
|
/** Gallery layout type. */
|
|
760
760
|
type?: LayoutTypeWithLiterals;
|
|
761
761
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
|
@@ -917,7 +917,7 @@ interface LinkPreviewData {
|
|
|
917
917
|
/** Styling for the link preview. */
|
|
918
918
|
styles?: LinkPreviewDataStyles;
|
|
919
919
|
}
|
|
920
|
-
declare enum
|
|
920
|
+
declare enum StylesPosition {
|
|
921
921
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
922
922
|
START = "START",
|
|
923
923
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
@@ -928,7 +928,7 @@ declare enum Position {
|
|
|
928
928
|
HIDDEN = "HIDDEN"
|
|
929
929
|
}
|
|
930
930
|
/** @enumType */
|
|
931
|
-
type
|
|
931
|
+
type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HIDDEN';
|
|
932
932
|
interface LinkPreviewDataStyles {
|
|
933
933
|
/**
|
|
934
934
|
* Background color as a hexadecimal value.
|
|
@@ -960,7 +960,7 @@ interface LinkPreviewDataStyles {
|
|
|
960
960
|
*/
|
|
961
961
|
borderColor?: string | null;
|
|
962
962
|
/** Position of thumbnail. Defaults to `START`. */
|
|
963
|
-
thumbnailPosition?:
|
|
963
|
+
thumbnailPosition?: StylesPositionWithLiterals;
|
|
964
964
|
}
|
|
965
965
|
interface MapData {
|
|
966
966
|
/** Styling for the map's container. */
|
|
@@ -1314,6 +1314,32 @@ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
|
1314
1314
|
url?: string | null;
|
|
1315
1315
|
/** An image for the embedded content. */
|
|
1316
1316
|
image?: Media;
|
|
1317
|
+
/** Whether to hide the image. */
|
|
1318
|
+
hideImage?: boolean | null;
|
|
1319
|
+
/** Whether to hide the title. */
|
|
1320
|
+
hideTitle?: boolean | null;
|
|
1321
|
+
/** Whether to hide the price. */
|
|
1322
|
+
hidePrice?: boolean | null;
|
|
1323
|
+
/** Whether to hide the description (Event and Booking). */
|
|
1324
|
+
hideDescription?: boolean | null;
|
|
1325
|
+
/** Whether to hide the date and time (Event). */
|
|
1326
|
+
hideDateTime?: boolean | null;
|
|
1327
|
+
/** Whether to hide the location (Event). */
|
|
1328
|
+
hideLocation?: boolean | null;
|
|
1329
|
+
/** Whether to hide the duration (Booking). */
|
|
1330
|
+
hideDuration?: boolean | null;
|
|
1331
|
+
/** Whether to hide the button. */
|
|
1332
|
+
hideButton?: boolean | null;
|
|
1333
|
+
/** Whether to hide the ribbon. */
|
|
1334
|
+
hideRibbon?: boolean | null;
|
|
1335
|
+
/** Button styling options. */
|
|
1336
|
+
buttonStyles?: ButtonStyles;
|
|
1337
|
+
/** Image styling options. */
|
|
1338
|
+
imageStyles?: ImageStyles;
|
|
1339
|
+
/** Ribbon styling options. */
|
|
1340
|
+
ribbonStyles?: RibbonStyles;
|
|
1341
|
+
/** Card styling options. */
|
|
1342
|
+
cardStyles?: CardStyles;
|
|
1317
1343
|
}
|
|
1318
1344
|
/** @oneof */
|
|
1319
1345
|
interface AppEmbedDataAppDataOneOf {
|
|
@@ -1322,6 +1348,66 @@ interface AppEmbedDataAppDataOneOf {
|
|
|
1322
1348
|
/** Data for embedded Wix Events content. */
|
|
1323
1349
|
eventData?: EventData;
|
|
1324
1350
|
}
|
|
1351
|
+
declare enum Position {
|
|
1352
|
+
/** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
1353
|
+
START = "START",
|
|
1354
|
+
/** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
1355
|
+
END = "END",
|
|
1356
|
+
/** Image positioned at the top */
|
|
1357
|
+
TOP = "TOP"
|
|
1358
|
+
}
|
|
1359
|
+
/** @enumType */
|
|
1360
|
+
type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';
|
|
1361
|
+
declare enum AspectRatio {
|
|
1362
|
+
/** 1:1 aspect ratio */
|
|
1363
|
+
SQUARE = "SQUARE",
|
|
1364
|
+
/** 16:9 aspect ratio */
|
|
1365
|
+
RECTANGLE = "RECTANGLE"
|
|
1366
|
+
}
|
|
1367
|
+
/** @enumType */
|
|
1368
|
+
type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
|
|
1369
|
+
declare enum Resizing {
|
|
1370
|
+
/** Fill the container, may crop the image */
|
|
1371
|
+
FILL = "FILL",
|
|
1372
|
+
/** Fit the image within the container */
|
|
1373
|
+
FIT = "FIT"
|
|
1374
|
+
}
|
|
1375
|
+
/** @enumType */
|
|
1376
|
+
type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
|
|
1377
|
+
declare enum Placement {
|
|
1378
|
+
/** Ribbon placed on the image */
|
|
1379
|
+
IMAGE = "IMAGE",
|
|
1380
|
+
/** Ribbon placed on the product information */
|
|
1381
|
+
PRODUCT_INFO = "PRODUCT_INFO"
|
|
1382
|
+
}
|
|
1383
|
+
/** @enumType */
|
|
1384
|
+
type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
|
|
1385
|
+
declare enum Type {
|
|
1386
|
+
/** Card with visible border and background */
|
|
1387
|
+
CONTAINED = "CONTAINED",
|
|
1388
|
+
/** Card without visible border */
|
|
1389
|
+
FRAMELESS = "FRAMELESS"
|
|
1390
|
+
}
|
|
1391
|
+
/** @enumType */
|
|
1392
|
+
type TypeWithLiterals = Type | 'CONTAINED' | 'FRAMELESS';
|
|
1393
|
+
declare enum Alignment {
|
|
1394
|
+
/** Content aligned to start (left in LTR layouts, right in RTL layouts) */
|
|
1395
|
+
START = "START",
|
|
1396
|
+
/** Content centered */
|
|
1397
|
+
CENTER = "CENTER",
|
|
1398
|
+
/** Content aligned to end (right in LTR layouts, left in RTL layouts) */
|
|
1399
|
+
END = "END"
|
|
1400
|
+
}
|
|
1401
|
+
/** @enumType */
|
|
1402
|
+
type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
|
|
1403
|
+
declare enum Layout {
|
|
1404
|
+
/** Elements stacked vertically */
|
|
1405
|
+
STACKED = "STACKED",
|
|
1406
|
+
/** Elements arranged horizontally */
|
|
1407
|
+
SIDE_BY_SIDE = "SIDE_BY_SIDE"
|
|
1408
|
+
}
|
|
1409
|
+
/** @enumType */
|
|
1410
|
+
type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
|
|
1325
1411
|
declare enum AppType {
|
|
1326
1412
|
PRODUCT = "PRODUCT",
|
|
1327
1413
|
EVENT = "EVENT",
|
|
@@ -1339,6 +1425,122 @@ interface EventData {
|
|
|
1339
1425
|
/** Event location. */
|
|
1340
1426
|
location?: string | null;
|
|
1341
1427
|
}
|
|
1428
|
+
interface ButtonStyles {
|
|
1429
|
+
/** Text to display on the button. */
|
|
1430
|
+
buttonText?: string | null;
|
|
1431
|
+
/** Border width in pixels. */
|
|
1432
|
+
borderWidth?: number | null;
|
|
1433
|
+
/** Border radius in pixels. */
|
|
1434
|
+
borderRadius?: number | null;
|
|
1435
|
+
/**
|
|
1436
|
+
* Border color as a hexadecimal value.
|
|
1437
|
+
* @format COLOR_HEX
|
|
1438
|
+
*/
|
|
1439
|
+
borderColor?: string | null;
|
|
1440
|
+
/**
|
|
1441
|
+
* Text color as a hexadecimal value.
|
|
1442
|
+
* @format COLOR_HEX
|
|
1443
|
+
*/
|
|
1444
|
+
textColor?: string | null;
|
|
1445
|
+
/**
|
|
1446
|
+
* Background color as a hexadecimal value.
|
|
1447
|
+
* @format COLOR_HEX
|
|
1448
|
+
*/
|
|
1449
|
+
backgroundColor?: string | null;
|
|
1450
|
+
/**
|
|
1451
|
+
* Border color as a hexadecimal value (hover state).
|
|
1452
|
+
* @format COLOR_HEX
|
|
1453
|
+
*/
|
|
1454
|
+
borderColorHover?: string | null;
|
|
1455
|
+
/**
|
|
1456
|
+
* Text color as a hexadecimal value (hover state).
|
|
1457
|
+
* @format COLOR_HEX
|
|
1458
|
+
*/
|
|
1459
|
+
textColorHover?: string | null;
|
|
1460
|
+
/**
|
|
1461
|
+
* Background color as a hexadecimal value (hover state).
|
|
1462
|
+
* @format COLOR_HEX
|
|
1463
|
+
*/
|
|
1464
|
+
backgroundColorHover?: string | null;
|
|
1465
|
+
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
1466
|
+
buttonSize?: string | null;
|
|
1467
|
+
}
|
|
1468
|
+
interface ImageStyles {
|
|
1469
|
+
/** Whether to hide the image. */
|
|
1470
|
+
hideImage?: boolean | null;
|
|
1471
|
+
/** Position of image. Defaults to `START`. */
|
|
1472
|
+
imagePosition?: PositionWithLiterals;
|
|
1473
|
+
/** Aspect ratio for the image. Defaults to `SQUARE`. */
|
|
1474
|
+
aspectRatio?: AspectRatioWithLiterals;
|
|
1475
|
+
/** How the image should be resized. Defaults to `FILL`. */
|
|
1476
|
+
resizing?: ResizingWithLiterals;
|
|
1477
|
+
/**
|
|
1478
|
+
* Image border color as a hexadecimal value.
|
|
1479
|
+
* @format COLOR_HEX
|
|
1480
|
+
*/
|
|
1481
|
+
borderColor?: string | null;
|
|
1482
|
+
/** Image border width in pixels. */
|
|
1483
|
+
borderWidth?: number | null;
|
|
1484
|
+
/** Image border radius in pixels. */
|
|
1485
|
+
borderRadius?: number | null;
|
|
1486
|
+
}
|
|
1487
|
+
interface RibbonStyles {
|
|
1488
|
+
/** Text to display on the ribbon. */
|
|
1489
|
+
ribbonText?: string | null;
|
|
1490
|
+
/**
|
|
1491
|
+
* Ribbon background color as a hexadecimal value.
|
|
1492
|
+
* @format COLOR_HEX
|
|
1493
|
+
*/
|
|
1494
|
+
backgroundColor?: string | null;
|
|
1495
|
+
/**
|
|
1496
|
+
* Ribbon text color as a hexadecimal value.
|
|
1497
|
+
* @format COLOR_HEX
|
|
1498
|
+
*/
|
|
1499
|
+
textColor?: string | null;
|
|
1500
|
+
/**
|
|
1501
|
+
* Ribbon border color as a hexadecimal value.
|
|
1502
|
+
* @format COLOR_HEX
|
|
1503
|
+
*/
|
|
1504
|
+
borderColor?: string | null;
|
|
1505
|
+
/** Ribbon border width in pixels. */
|
|
1506
|
+
borderWidth?: number | null;
|
|
1507
|
+
/** Ribbon border radius in pixels. */
|
|
1508
|
+
borderRadius?: number | null;
|
|
1509
|
+
/** Placement of the ribbon. Defaults to `IMAGE`. */
|
|
1510
|
+
ribbonPlacement?: PlacementWithLiterals;
|
|
1511
|
+
}
|
|
1512
|
+
interface CardStyles {
|
|
1513
|
+
/**
|
|
1514
|
+
* Card background color as a hexadecimal value.
|
|
1515
|
+
* @format COLOR_HEX
|
|
1516
|
+
*/
|
|
1517
|
+
backgroundColor?: string | null;
|
|
1518
|
+
/**
|
|
1519
|
+
* Card border color as a hexadecimal value.
|
|
1520
|
+
* @format COLOR_HEX
|
|
1521
|
+
*/
|
|
1522
|
+
borderColor?: string | null;
|
|
1523
|
+
/** Card border width in pixels. */
|
|
1524
|
+
borderWidth?: number | null;
|
|
1525
|
+
/** Card border radius in pixels. */
|
|
1526
|
+
borderRadius?: number | null;
|
|
1527
|
+
/** Card type. Defaults to `CONTAINED`. */
|
|
1528
|
+
type?: TypeWithLiterals;
|
|
1529
|
+
/** Content alignment. Defaults to `START`. */
|
|
1530
|
+
alignment?: AlignmentWithLiterals;
|
|
1531
|
+
/** Layout for title and price. Defaults to `STACKED`. */
|
|
1532
|
+
titlePriceLayout?: LayoutWithLiterals;
|
|
1533
|
+
/**
|
|
1534
|
+
* Title text color as a hexadecimal value.
|
|
1535
|
+
* @format COLOR_HEX
|
|
1536
|
+
*/
|
|
1537
|
+
titleColor?: string | null;
|
|
1538
|
+
/**
|
|
1539
|
+
* Text color as a hexadecimal value.
|
|
1540
|
+
* @format COLOR_HEX
|
|
1541
|
+
*/
|
|
1542
|
+
textColor?: string | null;
|
|
1543
|
+
}
|
|
1342
1544
|
interface VideoData {
|
|
1343
1545
|
/** Styling for the video's container. */
|
|
1344
1546
|
containerData?: PluginContainerData;
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_multilingual_translation-published-contents",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.32",
|
|
4
|
+
"license": "MIT",
|
|
4
5
|
"publishConfig": {
|
|
5
6
|
"registry": "https://registry.npmjs.org/",
|
|
6
7
|
"access": "public"
|
|
@@ -49,5 +50,5 @@
|
|
|
49
50
|
"fqdn": "wix.multilingual.localization_public.v3.published_content"
|
|
50
51
|
}
|
|
51
52
|
},
|
|
52
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "902e72d438b52fbd14925a627be8dc1467ff2d621a0fab2061b94754"
|
|
53
54
|
}
|