@wix/auto_sdk_events_wix-events-v-2 1.0.39 → 1.0.41
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 +64 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +211 -9
- package/build/cjs/index.typings.js +64 -13
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +210 -8
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +57 -13
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +211 -9
- package/build/es/index.typings.mjs +57 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +210 -8
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +64 -13
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +211 -9
- package/build/internal/cjs/index.typings.js +64 -13
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +210 -8
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +57 -13
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +211 -9
- package/build/internal/es/index.typings.mjs +57 -13
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +210 -8
- package/package.json +3 -2
|
@@ -1489,7 +1489,7 @@ interface DividerData {
|
|
|
1489
1489
|
/** Divider width. */
|
|
1490
1490
|
width?: WidthWithLiterals;
|
|
1491
1491
|
/** Divider alignment. */
|
|
1492
|
-
alignment?:
|
|
1492
|
+
alignment?: DividerDataAlignmentWithLiterals;
|
|
1493
1493
|
}
|
|
1494
1494
|
declare enum LineStyle {
|
|
1495
1495
|
/** Single Line */
|
|
@@ -1513,7 +1513,7 @@ declare enum Width {
|
|
|
1513
1513
|
}
|
|
1514
1514
|
/** @enumType */
|
|
1515
1515
|
type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
|
|
1516
|
-
declare enum
|
|
1516
|
+
declare enum DividerDataAlignment {
|
|
1517
1517
|
/** Center alignment */
|
|
1518
1518
|
CENTER = "CENTER",
|
|
1519
1519
|
/** Left alignment */
|
|
@@ -1522,7 +1522,7 @@ declare enum Alignment {
|
|
|
1522
1522
|
RIGHT = "RIGHT"
|
|
1523
1523
|
}
|
|
1524
1524
|
/** @enumType */
|
|
1525
|
-
type
|
|
1525
|
+
type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
|
1526
1526
|
interface FileData {
|
|
1527
1527
|
/** Styling for the file's container. */
|
|
1528
1528
|
containerData?: PluginContainerData;
|
|
@@ -1647,7 +1647,7 @@ interface ItemDataOneOf {
|
|
|
1647
1647
|
}
|
|
1648
1648
|
interface GalleryOptions {
|
|
1649
1649
|
/** Gallery layout. */
|
|
1650
|
-
layout?:
|
|
1650
|
+
layout?: GalleryOptionsLayout;
|
|
1651
1651
|
/** Styling for gallery items. */
|
|
1652
1652
|
item?: ItemStyle;
|
|
1653
1653
|
/** Styling for gallery thumbnail images. */
|
|
@@ -1707,7 +1707,7 @@ declare enum ThumbnailsAlignment {
|
|
|
1707
1707
|
}
|
|
1708
1708
|
/** @enumType */
|
|
1709
1709
|
type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
|
|
1710
|
-
interface
|
|
1710
|
+
interface GalleryOptionsLayout {
|
|
1711
1711
|
/** Gallery layout type. */
|
|
1712
1712
|
type?: LayoutTypeWithLiterals;
|
|
1713
1713
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
|
@@ -1869,7 +1869,7 @@ interface LinkPreviewData {
|
|
|
1869
1869
|
/** Styling for the link preview. */
|
|
1870
1870
|
styles?: LinkPreviewDataStyles;
|
|
1871
1871
|
}
|
|
1872
|
-
declare enum
|
|
1872
|
+
declare enum StylesPosition {
|
|
1873
1873
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
1874
1874
|
START = "START",
|
|
1875
1875
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
@@ -1880,7 +1880,7 @@ declare enum Position {
|
|
|
1880
1880
|
HIDDEN = "HIDDEN"
|
|
1881
1881
|
}
|
|
1882
1882
|
/** @enumType */
|
|
1883
|
-
type
|
|
1883
|
+
type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HIDDEN';
|
|
1884
1884
|
interface LinkPreviewDataStyles {
|
|
1885
1885
|
/**
|
|
1886
1886
|
* Background color as a hexadecimal value.
|
|
@@ -1912,7 +1912,7 @@ interface LinkPreviewDataStyles {
|
|
|
1912
1912
|
*/
|
|
1913
1913
|
borderColor?: string | null;
|
|
1914
1914
|
/** Position of thumbnail. Defaults to `START`. */
|
|
1915
|
-
thumbnailPosition?:
|
|
1915
|
+
thumbnailPosition?: StylesPositionWithLiterals;
|
|
1916
1916
|
}
|
|
1917
1917
|
interface MapData {
|
|
1918
1918
|
/** Styling for the map's container. */
|
|
@@ -2266,6 +2266,32 @@ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
|
2266
2266
|
url?: string | null;
|
|
2267
2267
|
/** An image for the embedded content. */
|
|
2268
2268
|
image?: Media;
|
|
2269
|
+
/** Whether to hide the image. */
|
|
2270
|
+
hideImage?: boolean | null;
|
|
2271
|
+
/** Whether to hide the title. */
|
|
2272
|
+
hideTitle?: boolean | null;
|
|
2273
|
+
/** Whether to hide the price. */
|
|
2274
|
+
hidePrice?: boolean | null;
|
|
2275
|
+
/** Whether to hide the description (Event and Booking). */
|
|
2276
|
+
hideDescription?: boolean | null;
|
|
2277
|
+
/** Whether to hide the date and time (Event). */
|
|
2278
|
+
hideDateTime?: boolean | null;
|
|
2279
|
+
/** Whether to hide the location (Event). */
|
|
2280
|
+
hideLocation?: boolean | null;
|
|
2281
|
+
/** Whether to hide the duration (Booking). */
|
|
2282
|
+
hideDuration?: boolean | null;
|
|
2283
|
+
/** Whether to hide the button. */
|
|
2284
|
+
hideButton?: boolean | null;
|
|
2285
|
+
/** Whether to hide the ribbon. */
|
|
2286
|
+
hideRibbon?: boolean | null;
|
|
2287
|
+
/** Button styling options. */
|
|
2288
|
+
buttonStyles?: ButtonStyles;
|
|
2289
|
+
/** Image styling options. */
|
|
2290
|
+
imageStyles?: ImageStyles;
|
|
2291
|
+
/** Ribbon styling options. */
|
|
2292
|
+
ribbonStyles?: RibbonStyles;
|
|
2293
|
+
/** Card styling options. */
|
|
2294
|
+
cardStyles?: CardStyles;
|
|
2269
2295
|
}
|
|
2270
2296
|
/** @oneof */
|
|
2271
2297
|
interface AppEmbedDataAppDataOneOf {
|
|
@@ -2274,6 +2300,66 @@ interface AppEmbedDataAppDataOneOf {
|
|
|
2274
2300
|
/** Data for embedded Wix Events content. */
|
|
2275
2301
|
eventData?: EventData;
|
|
2276
2302
|
}
|
|
2303
|
+
declare enum Position {
|
|
2304
|
+
/** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
2305
|
+
START = "START",
|
|
2306
|
+
/** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
2307
|
+
END = "END",
|
|
2308
|
+
/** Image positioned at the top */
|
|
2309
|
+
TOP = "TOP"
|
|
2310
|
+
}
|
|
2311
|
+
/** @enumType */
|
|
2312
|
+
type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';
|
|
2313
|
+
declare enum AspectRatio {
|
|
2314
|
+
/** 1:1 aspect ratio */
|
|
2315
|
+
SQUARE = "SQUARE",
|
|
2316
|
+
/** 16:9 aspect ratio */
|
|
2317
|
+
RECTANGLE = "RECTANGLE"
|
|
2318
|
+
}
|
|
2319
|
+
/** @enumType */
|
|
2320
|
+
type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
|
|
2321
|
+
declare enum Resizing {
|
|
2322
|
+
/** Fill the container, may crop the image */
|
|
2323
|
+
FILL = "FILL",
|
|
2324
|
+
/** Fit the image within the container */
|
|
2325
|
+
FIT = "FIT"
|
|
2326
|
+
}
|
|
2327
|
+
/** @enumType */
|
|
2328
|
+
type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
|
|
2329
|
+
declare enum Placement {
|
|
2330
|
+
/** Ribbon placed on the image */
|
|
2331
|
+
IMAGE = "IMAGE",
|
|
2332
|
+
/** Ribbon placed on the product information */
|
|
2333
|
+
PRODUCT_INFO = "PRODUCT_INFO"
|
|
2334
|
+
}
|
|
2335
|
+
/** @enumType */
|
|
2336
|
+
type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
|
|
2337
|
+
declare enum CardStylesType {
|
|
2338
|
+
/** Card with visible border and background */
|
|
2339
|
+
CONTAINED = "CONTAINED",
|
|
2340
|
+
/** Card without visible border */
|
|
2341
|
+
FRAMELESS = "FRAMELESS"
|
|
2342
|
+
}
|
|
2343
|
+
/** @enumType */
|
|
2344
|
+
type CardStylesTypeWithLiterals = CardStylesType | 'CONTAINED' | 'FRAMELESS';
|
|
2345
|
+
declare enum Alignment {
|
|
2346
|
+
/** Content aligned to start (left in LTR layouts, right in RTL layouts) */
|
|
2347
|
+
START = "START",
|
|
2348
|
+
/** Content centered */
|
|
2349
|
+
CENTER = "CENTER",
|
|
2350
|
+
/** Content aligned to end (right in LTR layouts, left in RTL layouts) */
|
|
2351
|
+
END = "END"
|
|
2352
|
+
}
|
|
2353
|
+
/** @enumType */
|
|
2354
|
+
type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
|
|
2355
|
+
declare enum Layout {
|
|
2356
|
+
/** Elements stacked vertically */
|
|
2357
|
+
STACKED = "STACKED",
|
|
2358
|
+
/** Elements arranged horizontally */
|
|
2359
|
+
SIDE_BY_SIDE = "SIDE_BY_SIDE"
|
|
2360
|
+
}
|
|
2361
|
+
/** @enumType */
|
|
2362
|
+
type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
|
|
2277
2363
|
declare enum AppType {
|
|
2278
2364
|
PRODUCT = "PRODUCT",
|
|
2279
2365
|
EVENT = "EVENT",
|
|
@@ -2291,6 +2377,122 @@ interface EventData {
|
|
|
2291
2377
|
/** Event location. */
|
|
2292
2378
|
location?: string | null;
|
|
2293
2379
|
}
|
|
2380
|
+
interface ButtonStyles {
|
|
2381
|
+
/** Text to display on the button. */
|
|
2382
|
+
buttonText?: string | null;
|
|
2383
|
+
/** Border width in pixels. */
|
|
2384
|
+
borderWidth?: number | null;
|
|
2385
|
+
/** Border radius in pixels. */
|
|
2386
|
+
borderRadius?: number | null;
|
|
2387
|
+
/**
|
|
2388
|
+
* Border color as a hexadecimal value.
|
|
2389
|
+
* @format COLOR_HEX
|
|
2390
|
+
*/
|
|
2391
|
+
borderColor?: string | null;
|
|
2392
|
+
/**
|
|
2393
|
+
* Text color as a hexadecimal value.
|
|
2394
|
+
* @format COLOR_HEX
|
|
2395
|
+
*/
|
|
2396
|
+
textColor?: string | null;
|
|
2397
|
+
/**
|
|
2398
|
+
* Background color as a hexadecimal value.
|
|
2399
|
+
* @format COLOR_HEX
|
|
2400
|
+
*/
|
|
2401
|
+
backgroundColor?: string | null;
|
|
2402
|
+
/**
|
|
2403
|
+
* Border color as a hexadecimal value (hover state).
|
|
2404
|
+
* @format COLOR_HEX
|
|
2405
|
+
*/
|
|
2406
|
+
borderColorHover?: string | null;
|
|
2407
|
+
/**
|
|
2408
|
+
* Text color as a hexadecimal value (hover state).
|
|
2409
|
+
* @format COLOR_HEX
|
|
2410
|
+
*/
|
|
2411
|
+
textColorHover?: string | null;
|
|
2412
|
+
/**
|
|
2413
|
+
* Background color as a hexadecimal value (hover state).
|
|
2414
|
+
* @format COLOR_HEX
|
|
2415
|
+
*/
|
|
2416
|
+
backgroundColorHover?: string | null;
|
|
2417
|
+
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
2418
|
+
buttonSize?: string | null;
|
|
2419
|
+
}
|
|
2420
|
+
interface ImageStyles {
|
|
2421
|
+
/** Whether to hide the image. */
|
|
2422
|
+
hideImage?: boolean | null;
|
|
2423
|
+
/** Position of image. Defaults to `START`. */
|
|
2424
|
+
imagePosition?: PositionWithLiterals;
|
|
2425
|
+
/** Aspect ratio for the image. Defaults to `SQUARE`. */
|
|
2426
|
+
aspectRatio?: AspectRatioWithLiterals;
|
|
2427
|
+
/** How the image should be resized. Defaults to `FILL`. */
|
|
2428
|
+
resizing?: ResizingWithLiterals;
|
|
2429
|
+
/**
|
|
2430
|
+
* Image border color as a hexadecimal value.
|
|
2431
|
+
* @format COLOR_HEX
|
|
2432
|
+
*/
|
|
2433
|
+
borderColor?: string | null;
|
|
2434
|
+
/** Image border width in pixels. */
|
|
2435
|
+
borderWidth?: number | null;
|
|
2436
|
+
/** Image border radius in pixels. */
|
|
2437
|
+
borderRadius?: number | null;
|
|
2438
|
+
}
|
|
2439
|
+
interface RibbonStyles {
|
|
2440
|
+
/** Text to display on the ribbon. */
|
|
2441
|
+
ribbonText?: string | null;
|
|
2442
|
+
/**
|
|
2443
|
+
* Ribbon background color as a hexadecimal value.
|
|
2444
|
+
* @format COLOR_HEX
|
|
2445
|
+
*/
|
|
2446
|
+
backgroundColor?: string | null;
|
|
2447
|
+
/**
|
|
2448
|
+
* Ribbon text color as a hexadecimal value.
|
|
2449
|
+
* @format COLOR_HEX
|
|
2450
|
+
*/
|
|
2451
|
+
textColor?: string | null;
|
|
2452
|
+
/**
|
|
2453
|
+
* Ribbon border color as a hexadecimal value.
|
|
2454
|
+
* @format COLOR_HEX
|
|
2455
|
+
*/
|
|
2456
|
+
borderColor?: string | null;
|
|
2457
|
+
/** Ribbon border width in pixels. */
|
|
2458
|
+
borderWidth?: number | null;
|
|
2459
|
+
/** Ribbon border radius in pixels. */
|
|
2460
|
+
borderRadius?: number | null;
|
|
2461
|
+
/** Placement of the ribbon. Defaults to `IMAGE`. */
|
|
2462
|
+
ribbonPlacement?: PlacementWithLiterals;
|
|
2463
|
+
}
|
|
2464
|
+
interface CardStyles {
|
|
2465
|
+
/**
|
|
2466
|
+
* Card background color as a hexadecimal value.
|
|
2467
|
+
* @format COLOR_HEX
|
|
2468
|
+
*/
|
|
2469
|
+
backgroundColor?: string | null;
|
|
2470
|
+
/**
|
|
2471
|
+
* Card border color as a hexadecimal value.
|
|
2472
|
+
* @format COLOR_HEX
|
|
2473
|
+
*/
|
|
2474
|
+
borderColor?: string | null;
|
|
2475
|
+
/** Card border width in pixels. */
|
|
2476
|
+
borderWidth?: number | null;
|
|
2477
|
+
/** Card border radius in pixels. */
|
|
2478
|
+
borderRadius?: number | null;
|
|
2479
|
+
/** Card type. Defaults to `CONTAINED`. */
|
|
2480
|
+
type?: CardStylesTypeWithLiterals;
|
|
2481
|
+
/** Content alignment. Defaults to `START`. */
|
|
2482
|
+
alignment?: AlignmentWithLiterals;
|
|
2483
|
+
/** Layout for title and price. Defaults to `STACKED`. */
|
|
2484
|
+
titlePriceLayout?: LayoutWithLiterals;
|
|
2485
|
+
/**
|
|
2486
|
+
* Title text color as a hexadecimal value.
|
|
2487
|
+
* @format COLOR_HEX
|
|
2488
|
+
*/
|
|
2489
|
+
titleColor?: string | null;
|
|
2490
|
+
/**
|
|
2491
|
+
* Text color as a hexadecimal value.
|
|
2492
|
+
* @format COLOR_HEX
|
|
2493
|
+
*/
|
|
2494
|
+
textColor?: string | null;
|
|
2495
|
+
}
|
|
2294
2496
|
interface VideoData {
|
|
2295
2497
|
/** Styling for the video's container. */
|
|
2296
2498
|
containerData?: PluginContainerData;
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_events_wix-events-v-2",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.41",
|
|
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.events.v3.event"
|
|
50
51
|
}
|
|
51
52
|
},
|
|
52
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "e770d764250909d11018a1e3a71b6ea0769633dc27267a198d86456c"
|
|
53
54
|
}
|