@lightspeed/crane-api 2.3.3-rc.0 → 2.3.3-rc.2
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/CHANGELOG.md +2 -2
- package/README.md +81 -5
- package/dist/index.d.mts +2230 -381
- package/dist/index.d.ts +2230 -381
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
-
import { Reactive, ComputedRef, Component, App, Ref } from 'vue';
|
|
2
|
+
import { Reactive, ComputedRef, Component, App, Ref, CSSProperties, StyleValue } from 'vue';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -313,6 +313,96 @@ declare const DescriptorSchema: z.ZodObject<{
|
|
|
313
313
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
314
314
|
}, z.core.$strict>, z.ZodObject<{
|
|
315
315
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
316
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
317
|
+
type: z.ZodLiteral<"DECK">;
|
|
318
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
319
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
320
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
321
|
+
text: z.ZodString;
|
|
322
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
323
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
324
|
+
text: z.ZodString;
|
|
325
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
326
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
327
|
+
title: z.ZodString;
|
|
328
|
+
buttonType: z.ZodEnum<{
|
|
329
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
330
|
+
HYPER_LINK: "HYPER_LINK";
|
|
331
|
+
MAIL_LINK: "MAIL_LINK";
|
|
332
|
+
TEL_LINK: "TEL_LINK";
|
|
333
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
334
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
335
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
336
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
337
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
338
|
+
}>;
|
|
339
|
+
link: z.ZodOptional<z.ZodString>;
|
|
340
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
341
|
+
email: z.ZodOptional<z.ZodString>;
|
|
342
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
343
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
344
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
345
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
346
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
347
|
+
imageData: z.ZodObject<{
|
|
348
|
+
set: z.ZodObject<{
|
|
349
|
+
ORIGINAL: z.ZodOptional<z.ZodObject<{
|
|
350
|
+
url: z.ZodString;
|
|
351
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
352
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
353
|
+
}, z.core.$strict>>;
|
|
354
|
+
WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
355
|
+
url: z.ZodString;
|
|
356
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
357
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
358
|
+
}, z.core.$strict>>;
|
|
359
|
+
WEBP_HI_2X_RES: z.ZodOptional<z.ZodObject<{
|
|
360
|
+
url: z.ZodString;
|
|
361
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
362
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
363
|
+
}, z.core.$strict>>;
|
|
364
|
+
MOBILE_WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
365
|
+
url: z.ZodString;
|
|
366
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
367
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
368
|
+
}, z.core.$strict>>;
|
|
369
|
+
MOBILE_WEBP_HI_RES: z.ZodOptional<z.ZodObject<{
|
|
370
|
+
url: z.ZodString;
|
|
371
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
372
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
373
|
+
}, z.core.$strict>>;
|
|
374
|
+
}, z.core.$strict>;
|
|
375
|
+
borderInfo: z.ZodOptional<z.ZodObject<{
|
|
376
|
+
homogeneity: z.ZodOptional<z.ZodBoolean>;
|
|
377
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
378
|
+
r: z.ZodNumber;
|
|
379
|
+
g: z.ZodNumber;
|
|
380
|
+
b: z.ZodNumber;
|
|
381
|
+
a: z.ZodNumber;
|
|
382
|
+
}, z.core.$strict>>;
|
|
383
|
+
}, z.core.$strict>>;
|
|
384
|
+
}, z.core.$strict>;
|
|
385
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
386
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
387
|
+
enabled: z.ZodBoolean;
|
|
388
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
389
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
390
|
+
value: z.ZodString;
|
|
391
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
392
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
393
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
394
|
+
type: z.ZodLiteral<"INFO">;
|
|
395
|
+
text: z.ZodOptional<z.ZodString>;
|
|
396
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
397
|
+
title: z.ZodOptional<z.ZodString>;
|
|
398
|
+
link: z.ZodOptional<z.ZodString>;
|
|
399
|
+
}, z.core.$strict>>;
|
|
400
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
401
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
402
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
403
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
404
|
+
}, z.core.$strict>], "type">>;
|
|
405
|
+
}, z.core.$strict>>;
|
|
316
406
|
}, z.core.$strict>], "type">>;
|
|
317
407
|
}, z.core.$strict>>;
|
|
318
408
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -388,9 +478,9 @@ declare const DescriptorSchema: z.ZodObject<{
|
|
|
388
478
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
389
479
|
}, z.core.$strict>>;
|
|
390
480
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
481
|
+
small: "small";
|
|
391
482
|
none: "none";
|
|
392
483
|
all: "all";
|
|
393
|
-
small: "small";
|
|
394
484
|
}>>;
|
|
395
485
|
}, z.core.$strict>, z.ZodObject<{
|
|
396
486
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -465,9 +555,9 @@ declare const DescriptorSchema: z.ZodObject<{
|
|
|
465
555
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
466
556
|
}, z.core.$strict>>;
|
|
467
557
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
558
|
+
small: "small";
|
|
468
559
|
none: "none";
|
|
469
560
|
all: "all";
|
|
470
|
-
small: "small";
|
|
471
561
|
}>>;
|
|
472
562
|
}, z.core.$strict>, z.ZodObject<{
|
|
473
563
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -816,6 +906,96 @@ declare const CollectionDescriptorSchema: z.ZodObject<{
|
|
|
816
906
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
817
907
|
}, z.core.$strict>, z.ZodObject<{
|
|
818
908
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
909
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
910
|
+
type: z.ZodLiteral<"DECK">;
|
|
911
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
912
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
913
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
914
|
+
text: z.ZodString;
|
|
915
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
916
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
917
|
+
text: z.ZodString;
|
|
918
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
919
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
920
|
+
title: z.ZodString;
|
|
921
|
+
buttonType: z.ZodEnum<{
|
|
922
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
923
|
+
HYPER_LINK: "HYPER_LINK";
|
|
924
|
+
MAIL_LINK: "MAIL_LINK";
|
|
925
|
+
TEL_LINK: "TEL_LINK";
|
|
926
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
927
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
928
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
929
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
930
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
931
|
+
}>;
|
|
932
|
+
link: z.ZodOptional<z.ZodString>;
|
|
933
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
934
|
+
email: z.ZodOptional<z.ZodString>;
|
|
935
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
936
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
937
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
938
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
939
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
940
|
+
imageData: z.ZodObject<{
|
|
941
|
+
set: z.ZodObject<{
|
|
942
|
+
ORIGINAL: z.ZodOptional<z.ZodObject<{
|
|
943
|
+
url: z.ZodString;
|
|
944
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
945
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
946
|
+
}, z.core.$strict>>;
|
|
947
|
+
WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
948
|
+
url: z.ZodString;
|
|
949
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
950
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
951
|
+
}, z.core.$strict>>;
|
|
952
|
+
WEBP_HI_2X_RES: z.ZodOptional<z.ZodObject<{
|
|
953
|
+
url: z.ZodString;
|
|
954
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
955
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
956
|
+
}, z.core.$strict>>;
|
|
957
|
+
MOBILE_WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
958
|
+
url: z.ZodString;
|
|
959
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
960
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
961
|
+
}, z.core.$strict>>;
|
|
962
|
+
MOBILE_WEBP_HI_RES: z.ZodOptional<z.ZodObject<{
|
|
963
|
+
url: z.ZodString;
|
|
964
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
965
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
966
|
+
}, z.core.$strict>>;
|
|
967
|
+
}, z.core.$strict>;
|
|
968
|
+
borderInfo: z.ZodOptional<z.ZodObject<{
|
|
969
|
+
homogeneity: z.ZodOptional<z.ZodBoolean>;
|
|
970
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
971
|
+
r: z.ZodNumber;
|
|
972
|
+
g: z.ZodNumber;
|
|
973
|
+
b: z.ZodNumber;
|
|
974
|
+
a: z.ZodNumber;
|
|
975
|
+
}, z.core.$strict>>;
|
|
976
|
+
}, z.core.$strict>>;
|
|
977
|
+
}, z.core.$strict>;
|
|
978
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
979
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
980
|
+
enabled: z.ZodBoolean;
|
|
981
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
982
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
983
|
+
value: z.ZodString;
|
|
984
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
985
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
986
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
987
|
+
type: z.ZodLiteral<"INFO">;
|
|
988
|
+
text: z.ZodOptional<z.ZodString>;
|
|
989
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
990
|
+
title: z.ZodOptional<z.ZodString>;
|
|
991
|
+
link: z.ZodOptional<z.ZodString>;
|
|
992
|
+
}, z.core.$strict>>;
|
|
993
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
994
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
995
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
996
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
997
|
+
}, z.core.$strict>], "type">>;
|
|
998
|
+
}, z.core.$strict>>;
|
|
819
999
|
}, z.core.$strict>], "type">>;
|
|
820
1000
|
}, z.core.$strict>>;
|
|
821
1001
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -891,9 +1071,9 @@ declare const CollectionDescriptorSchema: z.ZodObject<{
|
|
|
891
1071
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
892
1072
|
}, z.core.$strict>>;
|
|
893
1073
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
1074
|
+
small: "small";
|
|
894
1075
|
none: "none";
|
|
895
1076
|
all: "all";
|
|
896
|
-
small: "small";
|
|
897
1077
|
}>>;
|
|
898
1078
|
}, z.core.$strict>, z.ZodObject<{
|
|
899
1079
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -968,9 +1148,9 @@ declare const CollectionDescriptorSchema: z.ZodObject<{
|
|
|
968
1148
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
969
1149
|
}, z.core.$strict>>;
|
|
970
1150
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
1151
|
+
small: "small";
|
|
971
1152
|
none: "none";
|
|
972
1153
|
all: "all";
|
|
973
|
-
small: "small";
|
|
974
1154
|
}>>;
|
|
975
1155
|
}, z.core.$strict>, z.ZodObject<{
|
|
976
1156
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -1350,7 +1530,7 @@ interface CategorySelectorContent {
|
|
|
1350
1530
|
hasCategories: boolean;
|
|
1351
1531
|
/** Array of selected category IDs */
|
|
1352
1532
|
categoryIds: Array<number>;
|
|
1353
|
-
/** `true` if
|
|
1533
|
+
/** `true` if there are categories to render */
|
|
1354
1534
|
hasContent: boolean;
|
|
1355
1535
|
}
|
|
1356
1536
|
|
|
@@ -1686,7 +1866,7 @@ interface InternalColor {
|
|
|
1686
1866
|
*
|
|
1687
1867
|
* @see {@link asStructuredColor}
|
|
1688
1868
|
*/
|
|
1689
|
-
declare class Color implements InternalColor {
|
|
1869
|
+
declare class Color$1 implements InternalColor {
|
|
1690
1870
|
readonly type: "STRUCTURED_COLOR";
|
|
1691
1871
|
readonly raw: string;
|
|
1692
1872
|
readonly hex: string;
|
|
@@ -1710,7 +1890,7 @@ declare class Color implements InternalColor {
|
|
|
1710
1890
|
* // structured?.type === 'STRUCTURED_COLOR'
|
|
1711
1891
|
* ```
|
|
1712
1892
|
*/
|
|
1713
|
-
declare function asStructuredColor(color: Omit<InternalColor, 'type'> | undefined): Color | undefined;
|
|
1893
|
+
declare function asStructuredColor(color: Omit<InternalColor, 'type'> | undefined): Color$1 | undefined;
|
|
1714
1894
|
/**
|
|
1715
1895
|
* Solid color configuration.
|
|
1716
1896
|
*
|
|
@@ -1718,7 +1898,7 @@ declare function asStructuredColor(color: Omit<InternalColor, 'type'> | undefine
|
|
|
1718
1898
|
*/
|
|
1719
1899
|
interface SolidColor {
|
|
1720
1900
|
/** The solid color value (StructuredColor post-resolution, or GlobalColor pre-resolution) */
|
|
1721
|
-
color: Color | undefined;
|
|
1901
|
+
color: Color$1 | undefined;
|
|
1722
1902
|
}
|
|
1723
1903
|
/**
|
|
1724
1904
|
* Gradient color configuration.
|
|
@@ -1727,9 +1907,9 @@ interface SolidColor {
|
|
|
1727
1907
|
*/
|
|
1728
1908
|
interface GradientColor {
|
|
1729
1909
|
/** Gradient start color (StructuredColor post-resolution, or GlobalColor pre-resolution) */
|
|
1730
|
-
fromColor: Color | undefined;
|
|
1910
|
+
fromColor: Color$1 | undefined;
|
|
1731
1911
|
/** Gradient end color (StructuredColor post-resolution, or GlobalColor pre-resolution) */
|
|
1732
|
-
toColor: Color | undefined;
|
|
1912
|
+
toColor: Color$1 | undefined;
|
|
1733
1913
|
}
|
|
1734
1914
|
interface SolidColorTransformed {
|
|
1735
1915
|
color: InternalColor | undefined;
|
|
@@ -1830,9 +2010,9 @@ declare const LogoDesignEditorDefaultsSchema: z.ZodObject<{
|
|
|
1830
2010
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
1831
2011
|
}, z.core.$strict>>;
|
|
1832
2012
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
2013
|
+
small: "small";
|
|
1833
2014
|
none: "none";
|
|
1834
2015
|
all: "all";
|
|
1835
|
-
small: "small";
|
|
1836
2016
|
}>>;
|
|
1837
2017
|
}, z.core.$strict>;
|
|
1838
2018
|
declare const LogoDesignEditorSchema: z.ZodObject<{
|
|
@@ -1855,9 +2035,9 @@ declare const LogoDesignEditorSchema: z.ZodObject<{
|
|
|
1855
2035
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
1856
2036
|
}, z.core.$strict>>;
|
|
1857
2037
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
2038
|
+
small: "small";
|
|
1858
2039
|
none: "none";
|
|
1859
2040
|
all: "all";
|
|
1860
|
-
small: "small";
|
|
1861
2041
|
}>>;
|
|
1862
2042
|
}, z.core.$strict>>;
|
|
1863
2043
|
}, z.core.$strict>;
|
|
@@ -2150,7 +2330,7 @@ interface ProductSelectorContent {
|
|
|
2150
2330
|
categories: CategoryListComponentItem[];
|
|
2151
2331
|
/** Selected category ID (when using category selection) */
|
|
2152
2332
|
categoryId?: number;
|
|
2153
|
-
/** `true` if
|
|
2333
|
+
/** `true` if there are products to render */
|
|
2154
2334
|
hasContent: boolean;
|
|
2155
2335
|
}
|
|
2156
2336
|
|
|
@@ -2662,6 +2842,96 @@ declare const DeckShowcaseContentEditorDefaultsSchema: z.ZodObject<{
|
|
|
2662
2842
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
2663
2843
|
}, z.core.$strict>, z.ZodObject<{
|
|
2664
2844
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
2845
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2846
|
+
type: z.ZodLiteral<"DECK">;
|
|
2847
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
2848
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2849
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
2850
|
+
text: z.ZodString;
|
|
2851
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2852
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
2853
|
+
text: z.ZodString;
|
|
2854
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2855
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
2856
|
+
title: z.ZodString;
|
|
2857
|
+
buttonType: z.ZodEnum<{
|
|
2858
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
2859
|
+
HYPER_LINK: "HYPER_LINK";
|
|
2860
|
+
MAIL_LINK: "MAIL_LINK";
|
|
2861
|
+
TEL_LINK: "TEL_LINK";
|
|
2862
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
2863
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
2864
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
2865
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
2866
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
2867
|
+
}>;
|
|
2868
|
+
link: z.ZodOptional<z.ZodString>;
|
|
2869
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
2870
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2871
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
2872
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
2873
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
2874
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2875
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
2876
|
+
imageData: z.ZodObject<{
|
|
2877
|
+
set: z.ZodObject<{
|
|
2878
|
+
ORIGINAL: z.ZodOptional<z.ZodObject<{
|
|
2879
|
+
url: z.ZodString;
|
|
2880
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
2881
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
2882
|
+
}, z.core.$strict>>;
|
|
2883
|
+
WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
2884
|
+
url: z.ZodString;
|
|
2885
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
2886
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
2887
|
+
}, z.core.$strict>>;
|
|
2888
|
+
WEBP_HI_2X_RES: z.ZodOptional<z.ZodObject<{
|
|
2889
|
+
url: z.ZodString;
|
|
2890
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
2891
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
2892
|
+
}, z.core.$strict>>;
|
|
2893
|
+
MOBILE_WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
2894
|
+
url: z.ZodString;
|
|
2895
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
2896
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
2897
|
+
}, z.core.$strict>>;
|
|
2898
|
+
MOBILE_WEBP_HI_RES: z.ZodOptional<z.ZodObject<{
|
|
2899
|
+
url: z.ZodString;
|
|
2900
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
2901
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
2902
|
+
}, z.core.$strict>>;
|
|
2903
|
+
}, z.core.$strict>;
|
|
2904
|
+
borderInfo: z.ZodOptional<z.ZodObject<{
|
|
2905
|
+
homogeneity: z.ZodOptional<z.ZodBoolean>;
|
|
2906
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
2907
|
+
r: z.ZodNumber;
|
|
2908
|
+
g: z.ZodNumber;
|
|
2909
|
+
b: z.ZodNumber;
|
|
2910
|
+
a: z.ZodNumber;
|
|
2911
|
+
}, z.core.$strict>>;
|
|
2912
|
+
}, z.core.$strict>>;
|
|
2913
|
+
}, z.core.$strict>;
|
|
2914
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2915
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
2916
|
+
enabled: z.ZodBoolean;
|
|
2917
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2918
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
2919
|
+
value: z.ZodString;
|
|
2920
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2921
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
2922
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2923
|
+
type: z.ZodLiteral<"INFO">;
|
|
2924
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2925
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
2926
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2927
|
+
link: z.ZodOptional<z.ZodString>;
|
|
2928
|
+
}, z.core.$strict>>;
|
|
2929
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2930
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
2931
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2932
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
2933
|
+
}, z.core.$strict>], "type">>;
|
|
2934
|
+
}, z.core.$strict>>;
|
|
2665
2935
|
}, z.core.$strict>], "type">>;
|
|
2666
2936
|
}, z.core.$strict>>;
|
|
2667
2937
|
}, z.core.$strict>;
|
|
@@ -4391,39 +4661,129 @@ declare const ShowcaseContentEditorDefaultsSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
4391
4661
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
4392
4662
|
}, z.core.$strict>, z.ZodObject<{
|
|
4393
4663
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
4394
|
-
}, z.core.$strict
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
}, z.core.$strict
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4664
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4665
|
+
type: z.ZodLiteral<"DECK">;
|
|
4666
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
4667
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4668
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
4669
|
+
text: z.ZodString;
|
|
4670
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4671
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
4672
|
+
text: z.ZodString;
|
|
4673
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4674
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
4675
|
+
title: z.ZodString;
|
|
4676
|
+
buttonType: z.ZodEnum<{
|
|
4677
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
4678
|
+
HYPER_LINK: "HYPER_LINK";
|
|
4679
|
+
MAIL_LINK: "MAIL_LINK";
|
|
4680
|
+
TEL_LINK: "TEL_LINK";
|
|
4681
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
4682
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
4683
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
4684
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
4685
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
4686
|
+
}>;
|
|
4687
|
+
link: z.ZodOptional<z.ZodString>;
|
|
4688
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
4689
|
+
email: z.ZodOptional<z.ZodString>;
|
|
4690
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
4691
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
4692
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
4693
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4694
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
4695
|
+
imageData: z.ZodObject<{
|
|
4696
|
+
set: z.ZodObject<{
|
|
4697
|
+
ORIGINAL: z.ZodOptional<z.ZodObject<{
|
|
4698
|
+
url: z.ZodString;
|
|
4699
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
4700
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
4701
|
+
}, z.core.$strict>>;
|
|
4702
|
+
WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
4703
|
+
url: z.ZodString;
|
|
4704
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
4705
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
4706
|
+
}, z.core.$strict>>;
|
|
4707
|
+
WEBP_HI_2X_RES: z.ZodOptional<z.ZodObject<{
|
|
4708
|
+
url: z.ZodString;
|
|
4709
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
4710
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
4711
|
+
}, z.core.$strict>>;
|
|
4712
|
+
MOBILE_WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
4713
|
+
url: z.ZodString;
|
|
4714
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
4715
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
4716
|
+
}, z.core.$strict>>;
|
|
4717
|
+
MOBILE_WEBP_HI_RES: z.ZodOptional<z.ZodObject<{
|
|
4718
|
+
url: z.ZodString;
|
|
4719
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
4720
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
4721
|
+
}, z.core.$strict>>;
|
|
4722
|
+
}, z.core.$strict>;
|
|
4723
|
+
borderInfo: z.ZodOptional<z.ZodObject<{
|
|
4724
|
+
homogeneity: z.ZodOptional<z.ZodBoolean>;
|
|
4725
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
4726
|
+
r: z.ZodNumber;
|
|
4727
|
+
g: z.ZodNumber;
|
|
4728
|
+
b: z.ZodNumber;
|
|
4729
|
+
a: z.ZodNumber;
|
|
4730
|
+
}, z.core.$strict>>;
|
|
4731
|
+
}, z.core.$strict>>;
|
|
4732
|
+
}, z.core.$strict>;
|
|
4733
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4734
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
4735
|
+
enabled: z.ZodBoolean;
|
|
4736
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4737
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
4738
|
+
value: z.ZodString;
|
|
4739
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4740
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
4741
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4742
|
+
type: z.ZodLiteral<"INFO">;
|
|
4743
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4744
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
4745
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4746
|
+
link: z.ZodOptional<z.ZodString>;
|
|
4747
|
+
}, z.core.$strict>>;
|
|
4748
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4749
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
4750
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4751
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
4752
|
+
}, z.core.$strict>], "type">>;
|
|
4753
|
+
}, z.core.$strict>>;
|
|
4754
|
+
}, z.core.$strict>], "type">>;
|
|
4755
|
+
}, z.core.$strict>>;
|
|
4756
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4757
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
4758
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4759
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
4760
|
+
}, z.core.$strict>], "type">;
|
|
4761
|
+
declare const DesignEditorDefaultsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4762
|
+
type: z.ZodLiteral<"TEXT">;
|
|
4763
|
+
font: z.ZodOptional<z.ZodString>;
|
|
4764
|
+
size: z.ZodOptional<z.ZodCustom<number | GlobalTextSizeValue, number | GlobalTextSizeValue>>;
|
|
4765
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
4766
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
4767
|
+
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
4768
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
4769
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4770
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
4771
|
+
appearance: z.ZodOptional<z.ZodEnum<{
|
|
4772
|
+
TEXT: "TEXT";
|
|
4773
|
+
SOLID: "SOLID";
|
|
4774
|
+
OUTLINE: "OUTLINE";
|
|
4775
|
+
}>>;
|
|
4776
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
4777
|
+
SMALL: "SMALL";
|
|
4778
|
+
MEDIUM: "MEDIUM";
|
|
4779
|
+
LARGE: "LARGE";
|
|
4780
|
+
}>>;
|
|
4781
|
+
shape: z.ZodOptional<z.ZodEnum<{
|
|
4782
|
+
ROUND_CORNER: "ROUND_CORNER";
|
|
4783
|
+
RECTANGLE: "RECTANGLE";
|
|
4784
|
+
PILL: "PILL";
|
|
4785
|
+
}>>;
|
|
4786
|
+
font: z.ZodOptional<z.ZodString>;
|
|
4427
4787
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
4428
4788
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
4429
4789
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4466,9 +4826,9 @@ declare const DesignEditorDefaultsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4466
4826
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
4467
4827
|
}, z.core.$strict>>;
|
|
4468
4828
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
4829
|
+
small: "small";
|
|
4469
4830
|
none: "none";
|
|
4470
4831
|
all: "all";
|
|
4471
|
-
small: "small";
|
|
4472
4832
|
}>>;
|
|
4473
4833
|
}, z.core.$strict>, z.ZodObject<{
|
|
4474
4834
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -4543,9 +4903,9 @@ declare const DesignEditorDefaultsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4543
4903
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
4544
4904
|
}, z.core.$strict>>;
|
|
4545
4905
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
4906
|
+
small: "small";
|
|
4546
4907
|
none: "none";
|
|
4547
4908
|
all: "all";
|
|
4548
|
-
small: "small";
|
|
4549
4909
|
}>>;
|
|
4550
4910
|
}, z.core.$strict>, z.ZodObject<{
|
|
4551
4911
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -4663,9 +5023,9 @@ declare const AccordionShowcaseItemSchema: z.ZodObject<{
|
|
|
4663
5023
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
4664
5024
|
}, z.core.$strict>>;
|
|
4665
5025
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
5026
|
+
small: "small";
|
|
4666
5027
|
none: "none";
|
|
4667
5028
|
all: "all";
|
|
4668
|
-
small: "small";
|
|
4669
5029
|
}>>;
|
|
4670
5030
|
}, z.core.$strict>, z.ZodObject<{
|
|
4671
5031
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -4749,9 +5109,9 @@ declare const AccordionShowcaseDesignEditorDefaultsSchema: z.ZodObject<{
|
|
|
4749
5109
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
4750
5110
|
}, z.core.$strict>>;
|
|
4751
5111
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
5112
|
+
small: "small";
|
|
4752
5113
|
none: "none";
|
|
4753
5114
|
all: "all";
|
|
4754
|
-
small: "small";
|
|
4755
5115
|
}>>;
|
|
4756
5116
|
}, z.core.$strict>, z.ZodObject<{
|
|
4757
5117
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -4896,9 +5256,9 @@ declare const AccordionDesignItemSchema: z.ZodObject<{
|
|
|
4896
5256
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
4897
5257
|
}, z.core.$strict>>;
|
|
4898
5258
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
5259
|
+
small: "small";
|
|
4899
5260
|
none: "none";
|
|
4900
5261
|
all: "all";
|
|
4901
|
-
small: "small";
|
|
4902
5262
|
}>>;
|
|
4903
5263
|
}, z.core.$strict>>;
|
|
4904
5264
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5059,9 +5419,9 @@ declare const AccordionDesignEditorSchema: z.ZodObject<{
|
|
|
5059
5419
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
5060
5420
|
}, z.core.$strict>>;
|
|
5061
5421
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
5422
|
+
small: "small";
|
|
5062
5423
|
none: "none";
|
|
5063
5424
|
all: "all";
|
|
5064
|
-
small: "small";
|
|
5065
5425
|
}>>;
|
|
5066
5426
|
}, z.core.$strict>>;
|
|
5067
5427
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5322,9 +5682,9 @@ declare const DesignEditorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5322
5682
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
5323
5683
|
}, z.core.$strict>>;
|
|
5324
5684
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
5685
|
+
small: "small";
|
|
5325
5686
|
none: "none";
|
|
5326
5687
|
all: "all";
|
|
5327
|
-
small: "small";
|
|
5328
5688
|
}>>;
|
|
5329
5689
|
}, z.core.$strict>>;
|
|
5330
5690
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5467,9 +5827,9 @@ declare const DesignEditorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5467
5827
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
5468
5828
|
}, z.core.$strict>>;
|
|
5469
5829
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
5830
|
+
small: "small";
|
|
5470
5831
|
none: "none";
|
|
5471
5832
|
all: "all";
|
|
5472
|
-
small: "small";
|
|
5473
5833
|
}>>;
|
|
5474
5834
|
}, z.core.$strict>>;
|
|
5475
5835
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5644,9 +6004,9 @@ declare const DesignSettingsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedU
|
|
|
5644
6004
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
5645
6005
|
}, z.core.$strict>>;
|
|
5646
6006
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
6007
|
+
small: "small";
|
|
5647
6008
|
none: "none";
|
|
5648
6009
|
all: "all";
|
|
5649
|
-
small: "small";
|
|
5650
6010
|
}>>;
|
|
5651
6011
|
}, z.core.$strict>>;
|
|
5652
6012
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5789,9 +6149,9 @@ declare const DesignSettingsSchema: z.ZodRecord<z.ZodString, z.ZodDiscriminatedU
|
|
|
5789
6149
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
5790
6150
|
}, z.core.$strict>>;
|
|
5791
6151
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
6152
|
+
small: "small";
|
|
5792
6153
|
none: "none";
|
|
5793
6154
|
all: "all";
|
|
5794
|
-
small: "small";
|
|
5795
6155
|
}>>;
|
|
5796
6156
|
}, z.core.$strict>>;
|
|
5797
6157
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -6062,6 +6422,23 @@ interface BackgroundTransformed {
|
|
|
6062
6422
|
/** Gradient color configuration */
|
|
6063
6423
|
gradient: GradientColorTransformed | undefined;
|
|
6064
6424
|
}
|
|
6425
|
+
/**
|
|
6426
|
+
* Options for `useBackgroundStyle` and `getBackgroundStyle` utils.
|
|
6427
|
+
*
|
|
6428
|
+
* @see {@link BackgroundDesignData}
|
|
6429
|
+
*/
|
|
6430
|
+
interface BackgroundStyleOptions {
|
|
6431
|
+
/**
|
|
6432
|
+
* Direction of the gradient
|
|
6433
|
+
* @default 'to right'
|
|
6434
|
+
*/
|
|
6435
|
+
direction?: 'to bottom' | 'to right' | 'to left' | 'to top' | string;
|
|
6436
|
+
/**
|
|
6437
|
+
* Fallback color if no background is defined
|
|
6438
|
+
* @default ''
|
|
6439
|
+
*/
|
|
6440
|
+
fallbackColor?: string;
|
|
6441
|
+
}
|
|
6065
6442
|
|
|
6066
6443
|
/** Button fill style */
|
|
6067
6444
|
type ButtonAppearance = 'solid-button' | 'outline-button' | 'text-link';
|
|
@@ -6079,7 +6456,7 @@ type ButtonStyle = 'round-corner' | 'rectangle' | 'pill';
|
|
|
6079
6456
|
* @see {@link ButtonSize}
|
|
6080
6457
|
* @see {@link ButtonStyle}
|
|
6081
6458
|
*/
|
|
6082
|
-
interface ButtonDesignData {
|
|
6459
|
+
interface ButtonDesignData$1 {
|
|
6083
6460
|
/** Button fill style: 'solid-button', 'outline-button', or 'text-link' */
|
|
6084
6461
|
appearance: ButtonAppearance | undefined;
|
|
6085
6462
|
/** Font family name (resolved from global reference) */
|
|
@@ -6089,10 +6466,32 @@ interface ButtonDesignData {
|
|
|
6089
6466
|
/** Button shape: 'round-corner', 'rectangle', or 'pill' */
|
|
6090
6467
|
style: ButtonStyle | undefined;
|
|
6091
6468
|
/** Button color */
|
|
6092
|
-
color: Color | undefined;
|
|
6469
|
+
color: Color$1 | undefined;
|
|
6093
6470
|
/** `true` if button should be displayed */
|
|
6094
6471
|
visible: boolean;
|
|
6095
6472
|
}
|
|
6473
|
+
/**
|
|
6474
|
+
* Size style configuration for a single button size.
|
|
6475
|
+
*
|
|
6476
|
+
* @see {@link UseButtonStylesOptions}
|
|
6477
|
+
*/
|
|
6478
|
+
interface ButtonSizeStyles {
|
|
6479
|
+
fontSize: string;
|
|
6480
|
+
padding: string;
|
|
6481
|
+
}
|
|
6482
|
+
/**
|
|
6483
|
+
* Options for `useButtonStyles` helper composable.
|
|
6484
|
+
*
|
|
6485
|
+
* @see {@link ButtonDesignData}
|
|
6486
|
+
* @see {@link ButtonSizeStyles}
|
|
6487
|
+
*/
|
|
6488
|
+
interface UseButtonStylesOptions {
|
|
6489
|
+
/**
|
|
6490
|
+
* Custom size styles for each button size.
|
|
6491
|
+
* Override defaults for specific sizes or provide all three.
|
|
6492
|
+
*/
|
|
6493
|
+
sizes?: Partial<Record<ButtonSize, ButtonSizeStyles>>;
|
|
6494
|
+
}
|
|
6096
6495
|
|
|
6097
6496
|
type AccordionItem = z.infer<typeof AccordionDesignItemSchema>;
|
|
6098
6497
|
type ShowcaseAccordionItem = z.infer<typeof AccordionShowcaseItemSchema>;
|
|
@@ -6192,7 +6591,7 @@ interface TextDesignData$1 {
|
|
|
6192
6591
|
/** `true` if text should be italic */
|
|
6193
6592
|
italic: boolean | undefined;
|
|
6194
6593
|
/** Text color */
|
|
6195
|
-
color: Color | undefined;
|
|
6594
|
+
color: Color$1 | undefined;
|
|
6196
6595
|
/** `true` if element should be displayed */
|
|
6197
6596
|
visible: boolean;
|
|
6198
6597
|
}
|
|
@@ -6208,6 +6607,33 @@ interface TextareaDesignData$1 extends TextDesignData$1 {
|
|
|
6208
6607
|
/** Always 'pre-wrap' to preserve line breaks */
|
|
6209
6608
|
readonly whiteSpace: string;
|
|
6210
6609
|
}
|
|
6610
|
+
/**
|
|
6611
|
+
* Options for `createTextStyle` helper utility.
|
|
6612
|
+
*
|
|
6613
|
+
* @see {@link TextDesignData}
|
|
6614
|
+
*/
|
|
6615
|
+
interface TextStyleOptions {
|
|
6616
|
+
/**
|
|
6617
|
+
* Default font family if not specified in design
|
|
6618
|
+
* @default 'inherit'
|
|
6619
|
+
*/
|
|
6620
|
+
defaultFont?: string;
|
|
6621
|
+
/**
|
|
6622
|
+
* Default font size in pixels if not specified in design
|
|
6623
|
+
* @default 16
|
|
6624
|
+
*/
|
|
6625
|
+
defaultSize?: number;
|
|
6626
|
+
/**
|
|
6627
|
+
* Default color if not specified in design
|
|
6628
|
+
* @default '#000000'
|
|
6629
|
+
*/
|
|
6630
|
+
defaultColor?: string;
|
|
6631
|
+
/**
|
|
6632
|
+
* Default font weight if not bold
|
|
6633
|
+
* @default 'normal'
|
|
6634
|
+
*/
|
|
6635
|
+
defaultWeight?: string;
|
|
6636
|
+
}
|
|
6211
6637
|
|
|
6212
6638
|
/**
|
|
6213
6639
|
* Return type for `useToggleElementDesign` composable.
|
|
@@ -6266,7 +6692,7 @@ interface LogoDesignData$1 {
|
|
|
6266
6692
|
/** `true` if text should be italic */
|
|
6267
6693
|
italic: boolean | undefined;
|
|
6268
6694
|
/** Text/logo color */
|
|
6269
|
-
color: Color | undefined;
|
|
6695
|
+
color: Color$1 | undefined;
|
|
6270
6696
|
/** `true` if logo should be displayed */
|
|
6271
6697
|
visible: boolean | undefined;
|
|
6272
6698
|
/** Letter spacing value */
|
|
@@ -6378,9 +6804,9 @@ declare const LayoutDesignOverrideSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6378
6804
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
6379
6805
|
}, z.core.$strict>>;
|
|
6380
6806
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
6807
|
+
small: "small";
|
|
6381
6808
|
none: "none";
|
|
6382
6809
|
all: "all";
|
|
6383
|
-
small: "small";
|
|
6384
6810
|
}>>;
|
|
6385
6811
|
}, z.core.$strict>>;
|
|
6386
6812
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -6598,9 +7024,9 @@ declare const LayoutSettingsSchema: z.ZodObject<{
|
|
|
6598
7024
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
6599
7025
|
}, z.core.$strict>>;
|
|
6600
7026
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
7027
|
+
small: "small";
|
|
6601
7028
|
none: "none";
|
|
6602
7029
|
all: "all";
|
|
6603
|
-
small: "small";
|
|
6604
7030
|
}>>;
|
|
6605
7031
|
}, z.core.$strict>>;
|
|
6606
7032
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -7303,9 +7729,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
7303
7729
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
7304
7730
|
}, z.core.$strict>>;
|
|
7305
7731
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
7732
|
+
small: "small";
|
|
7306
7733
|
none: "none";
|
|
7307
7734
|
all: "all";
|
|
7308
|
-
small: "small";
|
|
7309
7735
|
}>>;
|
|
7310
7736
|
}, z.core.$strict>>;
|
|
7311
7737
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -7448,9 +7874,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
7448
7874
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
7449
7875
|
}, z.core.$strict>>;
|
|
7450
7876
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
7877
|
+
small: "small";
|
|
7451
7878
|
none: "none";
|
|
7452
7879
|
all: "all";
|
|
7453
|
-
small: "small";
|
|
7454
7880
|
}>>;
|
|
7455
7881
|
}, z.core.$strict>>;
|
|
7456
7882
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -7688,9 +8114,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
7688
8114
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
7689
8115
|
}, z.core.$strict>>;
|
|
7690
8116
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
8117
|
+
small: "small";
|
|
7691
8118
|
none: "none";
|
|
7692
8119
|
all: "all";
|
|
7693
|
-
small: "small";
|
|
7694
8120
|
}>>;
|
|
7695
8121
|
}, z.core.$strict>>;
|
|
7696
8122
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -8003,84 +8429,174 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
8003
8429
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
8004
8430
|
}, z.core.$strict>, z.ZodObject<{
|
|
8005
8431
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
8006
|
-
}, z.core.$strict
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
|
|
8019
|
-
|
|
8020
|
-
|
|
8021
|
-
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
|
|
8025
|
-
|
|
8026
|
-
|
|
8027
|
-
|
|
8028
|
-
|
|
8029
|
-
|
|
8030
|
-
|
|
8031
|
-
|
|
8032
|
-
|
|
8033
|
-
|
|
8034
|
-
|
|
8035
|
-
|
|
8036
|
-
|
|
8037
|
-
|
|
8038
|
-
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
|
|
8042
|
-
|
|
8043
|
-
|
|
8044
|
-
|
|
8045
|
-
|
|
8046
|
-
|
|
8047
|
-
|
|
8048
|
-
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
|
|
8432
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8433
|
+
type: z.ZodLiteral<"DECK">;
|
|
8434
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
8435
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8436
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
8437
|
+
text: z.ZodString;
|
|
8438
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8439
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
8440
|
+
text: z.ZodString;
|
|
8441
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8442
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
8443
|
+
title: z.ZodString;
|
|
8444
|
+
buttonType: z.ZodEnum<{
|
|
8445
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
8446
|
+
HYPER_LINK: "HYPER_LINK";
|
|
8447
|
+
MAIL_LINK: "MAIL_LINK";
|
|
8448
|
+
TEL_LINK: "TEL_LINK";
|
|
8449
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
8450
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
8451
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
8452
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
8453
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
8454
|
+
}>;
|
|
8455
|
+
link: z.ZodOptional<z.ZodString>;
|
|
8456
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
8457
|
+
email: z.ZodOptional<z.ZodString>;
|
|
8458
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
8459
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
8460
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
8461
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8462
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
8463
|
+
imageData: z.ZodObject<{
|
|
8464
|
+
set: z.ZodObject<{
|
|
8465
|
+
ORIGINAL: z.ZodOptional<z.ZodObject<{
|
|
8466
|
+
url: z.ZodString;
|
|
8467
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
8468
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
8469
|
+
}, z.core.$strict>>;
|
|
8470
|
+
WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
8471
|
+
url: z.ZodString;
|
|
8472
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
8473
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
8474
|
+
}, z.core.$strict>>;
|
|
8475
|
+
WEBP_HI_2X_RES: z.ZodOptional<z.ZodObject<{
|
|
8476
|
+
url: z.ZodString;
|
|
8477
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
8478
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
8479
|
+
}, z.core.$strict>>;
|
|
8480
|
+
MOBILE_WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
8481
|
+
url: z.ZodString;
|
|
8482
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
8483
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
8484
|
+
}, z.core.$strict>>;
|
|
8485
|
+
MOBILE_WEBP_HI_RES: z.ZodOptional<z.ZodObject<{
|
|
8486
|
+
url: z.ZodString;
|
|
8487
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
8488
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
8489
|
+
}, z.core.$strict>>;
|
|
8490
|
+
}, z.core.$strict>;
|
|
8491
|
+
borderInfo: z.ZodOptional<z.ZodObject<{
|
|
8492
|
+
homogeneity: z.ZodOptional<z.ZodBoolean>;
|
|
8493
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
8494
|
+
r: z.ZodNumber;
|
|
8495
|
+
g: z.ZodNumber;
|
|
8496
|
+
b: z.ZodNumber;
|
|
8497
|
+
a: z.ZodNumber;
|
|
8498
|
+
}, z.core.$strict>>;
|
|
8499
|
+
}, z.core.$strict>>;
|
|
8500
|
+
}, z.core.$strict>;
|
|
8501
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8502
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
8503
|
+
enabled: z.ZodBoolean;
|
|
8504
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8505
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
8506
|
+
value: z.ZodString;
|
|
8507
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8508
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
8509
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8510
|
+
type: z.ZodLiteral<"INFO">;
|
|
8511
|
+
text: z.ZodOptional<z.ZodString>;
|
|
8512
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
8513
|
+
title: z.ZodOptional<z.ZodString>;
|
|
8514
|
+
link: z.ZodOptional<z.ZodString>;
|
|
8515
|
+
}, z.core.$strict>>;
|
|
8516
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8517
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
8518
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8519
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
8520
|
+
}, z.core.$strict>], "type">>;
|
|
8521
|
+
}, z.core.$strict>>;
|
|
8522
|
+
}, z.core.$strict>], "type">>;
|
|
8523
|
+
}, z.core.$strict>>;
|
|
8524
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8525
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
8526
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8527
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
8528
|
+
}, z.core.$strict>], "type">>;
|
|
8529
|
+
design: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8530
|
+
type: z.ZodLiteral<"TEXT">;
|
|
8531
|
+
font: z.ZodOptional<z.ZodString>;
|
|
8532
|
+
size: z.ZodOptional<z.ZodCustom<number | GlobalTextSizeValue, number | GlobalTextSizeValue>>;
|
|
8533
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
8534
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
8535
|
+
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
8536
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
8537
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8538
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
8539
|
+
appearance: z.ZodOptional<z.ZodEnum<{
|
|
8540
|
+
TEXT: "TEXT";
|
|
8541
|
+
SOLID: "SOLID";
|
|
8542
|
+
OUTLINE: "OUTLINE";
|
|
8543
|
+
}>>;
|
|
8544
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
8545
|
+
SMALL: "SMALL";
|
|
8546
|
+
MEDIUM: "MEDIUM";
|
|
8547
|
+
LARGE: "LARGE";
|
|
8548
|
+
}>>;
|
|
8549
|
+
shape: z.ZodOptional<z.ZodEnum<{
|
|
8550
|
+
ROUND_CORNER: "ROUND_CORNER";
|
|
8551
|
+
RECTANGLE: "RECTANGLE";
|
|
8552
|
+
PILL: "PILL";
|
|
8553
|
+
}>>;
|
|
8554
|
+
font: z.ZodOptional<z.ZodString>;
|
|
8555
|
+
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
8556
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
8557
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8558
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
8559
|
+
overlay: z.ZodOptional<z.ZodEnum<{
|
|
8560
|
+
COLOR: "COLOR";
|
|
8561
|
+
GRADIENT: "GRADIENT";
|
|
8562
|
+
NONE: "NONE";
|
|
8563
|
+
}>>;
|
|
8564
|
+
color: z.ZodOptional<z.ZodCustom<string | string[], string | string[]>>;
|
|
8565
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
8566
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8567
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
8568
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
8569
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8570
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
8571
|
+
value: z.ZodOptional<z.ZodString>;
|
|
8572
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8573
|
+
type: z.ZodLiteral<"BACKGROUND">;
|
|
8574
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
8575
|
+
COLOR: "COLOR";
|
|
8576
|
+
GRADIENT: "GRADIENT";
|
|
8577
|
+
}>>;
|
|
8578
|
+
color: z.ZodOptional<z.ZodCustom<string | string[], string | string[]>>;
|
|
8579
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8580
|
+
type: z.ZodLiteral<"COLOR_PICKER">;
|
|
8581
|
+
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
8582
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8583
|
+
type: z.ZodLiteral<"LOGO">;
|
|
8584
|
+
font: z.ZodOptional<z.ZodString>;
|
|
8585
|
+
size: z.ZodOptional<z.ZodCustom<number | GlobalTextSizeValue, number | GlobalTextSizeValue>>;
|
|
8586
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
8587
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
8588
|
+
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
8589
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
8590
|
+
spacing: z.ZodOptional<z.ZodNumber>;
|
|
8591
|
+
frame: z.ZodOptional<z.ZodObject<{
|
|
8076
8592
|
visible: z.ZodBoolean;
|
|
8077
8593
|
width: z.ZodOptional<z.ZodNumber>;
|
|
8078
8594
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
8079
8595
|
}, z.core.$strict>>;
|
|
8080
8596
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
8597
|
+
small: "small";
|
|
8081
8598
|
none: "none";
|
|
8082
8599
|
all: "all";
|
|
8083
|
-
small: "small";
|
|
8084
8600
|
}>>;
|
|
8085
8601
|
}, z.core.$strict>, z.ZodObject<{
|
|
8086
8602
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -8155,9 +8671,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
8155
8671
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
8156
8672
|
}, z.core.$strict>>;
|
|
8157
8673
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
8674
|
+
small: "small";
|
|
8158
8675
|
none: "none";
|
|
8159
8676
|
all: "all";
|
|
8160
|
-
small: "small";
|
|
8161
8677
|
}>>;
|
|
8162
8678
|
}, z.core.$strict>, z.ZodObject<{
|
|
8163
8679
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -8508,6 +9024,62 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
8508
9024
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
8509
9025
|
}, z.core.$strict>, z.ZodObject<{
|
|
8510
9026
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
9027
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9028
|
+
type: z.ZodLiteral<"DECK">;
|
|
9029
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
9030
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9031
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
9032
|
+
text: z.ZodString;
|
|
9033
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9034
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
9035
|
+
text: z.ZodString;
|
|
9036
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9037
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
9038
|
+
title: z.ZodString;
|
|
9039
|
+
buttonType: z.ZodEnum<{
|
|
9040
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
9041
|
+
HYPER_LINK: "HYPER_LINK";
|
|
9042
|
+
MAIL_LINK: "MAIL_LINK";
|
|
9043
|
+
TEL_LINK: "TEL_LINK";
|
|
9044
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
9045
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
9046
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
9047
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
9048
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
9049
|
+
}>;
|
|
9050
|
+
link: z.ZodOptional<z.ZodString>;
|
|
9051
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
9052
|
+
email: z.ZodOptional<z.ZodString>;
|
|
9053
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
9054
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
9055
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
9056
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9057
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
9058
|
+
imageData: z.ZodObject<{
|
|
9059
|
+
set: z.ZodObject</*elided*/ any, z.core.$strict>;
|
|
9060
|
+
borderInfo: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
9061
|
+
}, z.core.$strict>;
|
|
9062
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9063
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
9064
|
+
enabled: z.ZodBoolean;
|
|
9065
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9066
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
9067
|
+
value: z.ZodString;
|
|
9068
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9069
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
9070
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9071
|
+
type: z.ZodLiteral<"INFO">;
|
|
9072
|
+
text: z.ZodOptional<z.ZodString>;
|
|
9073
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
9074
|
+
title: z.ZodOptional<z.ZodString>;
|
|
9075
|
+
link: z.ZodOptional<z.ZodString>;
|
|
9076
|
+
}, z.core.$strict>>;
|
|
9077
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9078
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
9079
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9080
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
9081
|
+
}, z.core.$strict>], "type">>;
|
|
9082
|
+
}, z.core.$strict>>;
|
|
8511
9083
|
}, z.core.$strict>], "type">>;
|
|
8512
9084
|
}, z.core.$strict>>;
|
|
8513
9085
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -8583,9 +9155,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
8583
9155
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
8584
9156
|
}, z.core.$strict>>;
|
|
8585
9157
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
9158
|
+
small: "small";
|
|
8586
9159
|
none: "none";
|
|
8587
9160
|
all: "all";
|
|
8588
|
-
small: "small";
|
|
8589
9161
|
}>>;
|
|
8590
9162
|
}, z.core.$strict>, z.ZodObject<{
|
|
8591
9163
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -8660,9 +9232,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
8660
9232
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
8661
9233
|
}, z.core.$strict>>;
|
|
8662
9234
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
9235
|
+
small: "small";
|
|
8663
9236
|
none: "none";
|
|
8664
9237
|
all: "all";
|
|
8665
|
-
small: "small";
|
|
8666
9238
|
}>>;
|
|
8667
9239
|
}, z.core.$strict>, z.ZodObject<{
|
|
8668
9240
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -8955,6 +9527,62 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
8955
9527
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
8956
9528
|
}, z.core.$strict>, z.ZodObject<{
|
|
8957
9529
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
9530
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9531
|
+
type: z.ZodLiteral<"DECK">;
|
|
9532
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
9533
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9534
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
9535
|
+
text: z.ZodString;
|
|
9536
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9537
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
9538
|
+
text: z.ZodString;
|
|
9539
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9540
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
9541
|
+
title: z.ZodString;
|
|
9542
|
+
buttonType: z.ZodEnum<{
|
|
9543
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
9544
|
+
HYPER_LINK: "HYPER_LINK";
|
|
9545
|
+
MAIL_LINK: "MAIL_LINK";
|
|
9546
|
+
TEL_LINK: "TEL_LINK";
|
|
9547
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
9548
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
9549
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
9550
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
9551
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
9552
|
+
}>;
|
|
9553
|
+
link: z.ZodOptional<z.ZodString>;
|
|
9554
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
9555
|
+
email: z.ZodOptional<z.ZodString>;
|
|
9556
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
9557
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
9558
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
9559
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9560
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
9561
|
+
imageData: z.ZodObject<{
|
|
9562
|
+
set: z.ZodObject</*elided*/ any, z.core.$strict>;
|
|
9563
|
+
borderInfo: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
9564
|
+
}, z.core.$strict>;
|
|
9565
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9566
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
9567
|
+
enabled: z.ZodBoolean;
|
|
9568
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9569
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
9570
|
+
value: z.ZodString;
|
|
9571
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9572
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
9573
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9574
|
+
type: z.ZodLiteral<"INFO">;
|
|
9575
|
+
text: z.ZodOptional<z.ZodString>;
|
|
9576
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
9577
|
+
title: z.ZodOptional<z.ZodString>;
|
|
9578
|
+
link: z.ZodOptional<z.ZodString>;
|
|
9579
|
+
}, z.core.$strict>>;
|
|
9580
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9581
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
9582
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9583
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
9584
|
+
}, z.core.$strict>], "type">>;
|
|
9585
|
+
}, z.core.$strict>>;
|
|
8958
9586
|
}, z.core.$strict>], "type">>;
|
|
8959
9587
|
}, z.core.$strict>>;
|
|
8960
9588
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -9030,9 +9658,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
9030
9658
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
9031
9659
|
}, z.core.$strict>>;
|
|
9032
9660
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
9661
|
+
small: "small";
|
|
9033
9662
|
none: "none";
|
|
9034
9663
|
all: "all";
|
|
9035
|
-
small: "small";
|
|
9036
9664
|
}>>;
|
|
9037
9665
|
}, z.core.$strict>, z.ZodObject<{
|
|
9038
9666
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -9107,9 +9735,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
9107
9735
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
9108
9736
|
}, z.core.$strict>>;
|
|
9109
9737
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
9738
|
+
small: "small";
|
|
9110
9739
|
none: "none";
|
|
9111
9740
|
all: "all";
|
|
9112
|
-
small: "small";
|
|
9113
9741
|
}>>;
|
|
9114
9742
|
}, z.core.$strict>, z.ZodObject<{
|
|
9115
9743
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -9407,6 +10035,71 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
9407
10035
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
9408
10036
|
}, z.core.$strict>, z.ZodObject<{
|
|
9409
10037
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
10038
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10039
|
+
type: z.ZodLiteral<"DECK">;
|
|
10040
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
10041
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10042
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
10043
|
+
text: z.ZodString;
|
|
10044
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10045
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
10046
|
+
text: z.ZodString;
|
|
10047
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10048
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
10049
|
+
title: z.ZodString;
|
|
10050
|
+
buttonType: z.ZodEnum<{
|
|
10051
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
10052
|
+
HYPER_LINK: "HYPER_LINK";
|
|
10053
|
+
MAIL_LINK: "MAIL_LINK";
|
|
10054
|
+
TEL_LINK: "TEL_LINK";
|
|
10055
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
10056
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
10057
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
10058
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
10059
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
10060
|
+
}>;
|
|
10061
|
+
link: z.ZodOptional<z.ZodString>;
|
|
10062
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
10063
|
+
email: z.ZodOptional<z.ZodString>;
|
|
10064
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
10065
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
10066
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
10067
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10068
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
10069
|
+
imageData: z.ZodObject<{
|
|
10070
|
+
set: z.ZodObject<{
|
|
10071
|
+
ORIGINAL: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
10072
|
+
WEBP_LOW_RES: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
10073
|
+
WEBP_HI_2X_RES: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
10074
|
+
MOBILE_WEBP_LOW_RES: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
10075
|
+
MOBILE_WEBP_HI_RES: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
10076
|
+
}, z.core.$strict>;
|
|
10077
|
+
borderInfo: z.ZodOptional<z.ZodObject<{
|
|
10078
|
+
homogeneity: z.ZodOptional<z.ZodBoolean>;
|
|
10079
|
+
color: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
10080
|
+
}, z.core.$strict>>;
|
|
10081
|
+
}, z.core.$strict>;
|
|
10082
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10083
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
10084
|
+
enabled: z.ZodBoolean;
|
|
10085
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10086
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
10087
|
+
value: z.ZodString;
|
|
10088
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10089
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
10090
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10091
|
+
type: z.ZodLiteral<"INFO">;
|
|
10092
|
+
text: z.ZodOptional<z.ZodString>;
|
|
10093
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
10094
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10095
|
+
link: z.ZodOptional<z.ZodString>;
|
|
10096
|
+
}, z.core.$strict>>;
|
|
10097
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10098
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
10099
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10100
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
10101
|
+
}, z.core.$strict>], "type">>;
|
|
10102
|
+
}, z.core.$strict>>;
|
|
9410
10103
|
}, z.core.$strict>], "type">>;
|
|
9411
10104
|
}, z.core.$strict>>;
|
|
9412
10105
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -9482,9 +10175,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
9482
10175
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
9483
10176
|
}, z.core.$strict>>;
|
|
9484
10177
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
10178
|
+
small: "small";
|
|
9485
10179
|
none: "none";
|
|
9486
10180
|
all: "all";
|
|
9487
|
-
small: "small";
|
|
9488
10181
|
}>>;
|
|
9489
10182
|
}, z.core.$strict>, z.ZodObject<{
|
|
9490
10183
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -9559,9 +10252,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
9559
10252
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
9560
10253
|
}, z.core.$strict>>;
|
|
9561
10254
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
10255
|
+
small: "small";
|
|
9562
10256
|
none: "none";
|
|
9563
10257
|
all: "all";
|
|
9564
|
-
small: "small";
|
|
9565
10258
|
}>>;
|
|
9566
10259
|
}, z.core.$strict>, z.ZodObject<{
|
|
9567
10260
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -10255,9 +10948,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
10255
10948
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
10256
10949
|
}, z.core.$strict>>;
|
|
10257
10950
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
10951
|
+
small: "small";
|
|
10258
10952
|
none: "none";
|
|
10259
10953
|
all: "all";
|
|
10260
|
-
small: "small";
|
|
10261
10954
|
}>>;
|
|
10262
10955
|
}, z.core.$strict>>;
|
|
10263
10956
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -10400,9 +11093,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
10400
11093
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
10401
11094
|
}, z.core.$strict>>;
|
|
10402
11095
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
11096
|
+
small: "small";
|
|
10403
11097
|
none: "none";
|
|
10404
11098
|
all: "all";
|
|
10405
|
-
small: "small";
|
|
10406
11099
|
}>>;
|
|
10407
11100
|
}, z.core.$strict>>;
|
|
10408
11101
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -10641,9 +11334,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
10641
11334
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
10642
11335
|
}, z.core.$strict>>;
|
|
10643
11336
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
11337
|
+
small: "small";
|
|
10644
11338
|
none: "none";
|
|
10645
11339
|
all: "all";
|
|
10646
|
-
small: "small";
|
|
10647
11340
|
}>>;
|
|
10648
11341
|
}, z.core.$strict>>;
|
|
10649
11342
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -10988,6 +11681,71 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
10988
11681
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
10989
11682
|
}, z.core.$strict>, z.ZodObject<{
|
|
10990
11683
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
11684
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11685
|
+
type: z.ZodLiteral<"DECK">;
|
|
11686
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
11687
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11688
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
11689
|
+
text: z.ZodString;
|
|
11690
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11691
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
11692
|
+
text: z.ZodString;
|
|
11693
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11694
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
11695
|
+
title: z.ZodString;
|
|
11696
|
+
buttonType: z.ZodEnum<{
|
|
11697
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
11698
|
+
HYPER_LINK: "HYPER_LINK";
|
|
11699
|
+
MAIL_LINK: "MAIL_LINK";
|
|
11700
|
+
TEL_LINK: "TEL_LINK";
|
|
11701
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
11702
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
11703
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
11704
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
11705
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
11706
|
+
}>;
|
|
11707
|
+
link: z.ZodOptional<z.ZodString>;
|
|
11708
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
11709
|
+
email: z.ZodOptional<z.ZodString>;
|
|
11710
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
11711
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
11712
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
11713
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11714
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
11715
|
+
imageData: z.ZodObject<{
|
|
11716
|
+
set: z.ZodObject<{
|
|
11717
|
+
ORIGINAL: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
11718
|
+
WEBP_LOW_RES: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
11719
|
+
WEBP_HI_2X_RES: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
11720
|
+
MOBILE_WEBP_LOW_RES: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
11721
|
+
MOBILE_WEBP_HI_RES: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
11722
|
+
}, z.core.$strict>;
|
|
11723
|
+
borderInfo: z.ZodOptional<z.ZodObject<{
|
|
11724
|
+
homogeneity: z.ZodOptional<z.ZodBoolean>;
|
|
11725
|
+
color: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
11726
|
+
}, z.core.$strict>>;
|
|
11727
|
+
}, z.core.$strict>;
|
|
11728
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11729
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
11730
|
+
enabled: z.ZodBoolean;
|
|
11731
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11732
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
11733
|
+
value: z.ZodString;
|
|
11734
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11735
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
11736
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11737
|
+
type: z.ZodLiteral<"INFO">;
|
|
11738
|
+
text: z.ZodOptional<z.ZodString>;
|
|
11739
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
11740
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11741
|
+
link: z.ZodOptional<z.ZodString>;
|
|
11742
|
+
}, z.core.$strict>>;
|
|
11743
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11744
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
11745
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11746
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
11747
|
+
}, z.core.$strict>], "type">>;
|
|
11748
|
+
}, z.core.$strict>>;
|
|
10991
11749
|
}, z.core.$strict>], "type">>;
|
|
10992
11750
|
}, z.core.$strict>>;
|
|
10993
11751
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -11063,9 +11821,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
11063
11821
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
11064
11822
|
}, z.core.$strict>>;
|
|
11065
11823
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
11824
|
+
small: "small";
|
|
11066
11825
|
none: "none";
|
|
11067
11826
|
all: "all";
|
|
11068
|
-
small: "small";
|
|
11069
11827
|
}>>;
|
|
11070
11828
|
}, z.core.$strict>, z.ZodObject<{
|
|
11071
11829
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -11140,9 +11898,9 @@ declare const ManifestSchema: z.ZodObject<{
|
|
|
11140
11898
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
11141
11899
|
}, z.core.$strict>>;
|
|
11142
11900
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
11901
|
+
small: "small";
|
|
11143
11902
|
none: "none";
|
|
11144
11903
|
all: "all";
|
|
11145
|
-
small: "small";
|
|
11146
11904
|
}>>;
|
|
11147
11905
|
}, z.core.$strict>, z.ZodObject<{
|
|
11148
11906
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -11474,6 +12232,96 @@ declare const CustomSectionSchema: z.ZodObject<{
|
|
|
11474
12232
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
11475
12233
|
}, z.core.$strict>, z.ZodObject<{
|
|
11476
12234
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
12235
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12236
|
+
type: z.ZodLiteral<"DECK">;
|
|
12237
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
12238
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12239
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
12240
|
+
text: z.ZodString;
|
|
12241
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12242
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
12243
|
+
text: z.ZodString;
|
|
12244
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12245
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
12246
|
+
title: z.ZodString;
|
|
12247
|
+
buttonType: z.ZodEnum<{
|
|
12248
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
12249
|
+
HYPER_LINK: "HYPER_LINK";
|
|
12250
|
+
MAIL_LINK: "MAIL_LINK";
|
|
12251
|
+
TEL_LINK: "TEL_LINK";
|
|
12252
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
12253
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
12254
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
12255
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
12256
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
12257
|
+
}>;
|
|
12258
|
+
link: z.ZodOptional<z.ZodString>;
|
|
12259
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
12260
|
+
email: z.ZodOptional<z.ZodString>;
|
|
12261
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
12262
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
12263
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
12264
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12265
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
12266
|
+
imageData: z.ZodObject<{
|
|
12267
|
+
set: z.ZodObject<{
|
|
12268
|
+
ORIGINAL: z.ZodOptional<z.ZodObject<{
|
|
12269
|
+
url: z.ZodString;
|
|
12270
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
12271
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
12272
|
+
}, z.core.$strict>>;
|
|
12273
|
+
WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
12274
|
+
url: z.ZodString;
|
|
12275
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
12276
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
12277
|
+
}, z.core.$strict>>;
|
|
12278
|
+
WEBP_HI_2X_RES: z.ZodOptional<z.ZodObject<{
|
|
12279
|
+
url: z.ZodString;
|
|
12280
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
12281
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
12282
|
+
}, z.core.$strict>>;
|
|
12283
|
+
MOBILE_WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
12284
|
+
url: z.ZodString;
|
|
12285
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
12286
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
12287
|
+
}, z.core.$strict>>;
|
|
12288
|
+
MOBILE_WEBP_HI_RES: z.ZodOptional<z.ZodObject<{
|
|
12289
|
+
url: z.ZodString;
|
|
12290
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
12291
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
12292
|
+
}, z.core.$strict>>;
|
|
12293
|
+
}, z.core.$strict>;
|
|
12294
|
+
borderInfo: z.ZodOptional<z.ZodObject<{
|
|
12295
|
+
homogeneity: z.ZodOptional<z.ZodBoolean>;
|
|
12296
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
12297
|
+
r: z.ZodNumber;
|
|
12298
|
+
g: z.ZodNumber;
|
|
12299
|
+
b: z.ZodNumber;
|
|
12300
|
+
a: z.ZodNumber;
|
|
12301
|
+
}, z.core.$strict>>;
|
|
12302
|
+
}, z.core.$strict>>;
|
|
12303
|
+
}, z.core.$strict>;
|
|
12304
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12305
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
12306
|
+
enabled: z.ZodBoolean;
|
|
12307
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12308
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
12309
|
+
value: z.ZodString;
|
|
12310
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12311
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
12312
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12313
|
+
type: z.ZodLiteral<"INFO">;
|
|
12314
|
+
text: z.ZodOptional<z.ZodString>;
|
|
12315
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
12316
|
+
title: z.ZodOptional<z.ZodString>;
|
|
12317
|
+
link: z.ZodOptional<z.ZodString>;
|
|
12318
|
+
}, z.core.$strict>>;
|
|
12319
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12320
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
12321
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12322
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
12323
|
+
}, z.core.$strict>], "type">>;
|
|
12324
|
+
}, z.core.$strict>>;
|
|
11477
12325
|
}, z.core.$strict>], "type">>;
|
|
11478
12326
|
}, z.core.$strict>>;
|
|
11479
12327
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -11549,9 +12397,9 @@ declare const CustomSectionSchema: z.ZodObject<{
|
|
|
11549
12397
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
11550
12398
|
}, z.core.$strict>>;
|
|
11551
12399
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
12400
|
+
small: "small";
|
|
11552
12401
|
none: "none";
|
|
11553
12402
|
all: "all";
|
|
11554
|
-
small: "small";
|
|
11555
12403
|
}>>;
|
|
11556
12404
|
}, z.core.$strict>, z.ZodObject<{
|
|
11557
12405
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -11626,9 +12474,9 @@ declare const CustomSectionSchema: z.ZodObject<{
|
|
|
11626
12474
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
11627
12475
|
}, z.core.$strict>>;
|
|
11628
12476
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
12477
|
+
small: "small";
|
|
11629
12478
|
none: "none";
|
|
11630
12479
|
all: "all";
|
|
11631
|
-
small: "small";
|
|
11632
12480
|
}>>;
|
|
11633
12481
|
}, z.core.$strict>, z.ZodObject<{
|
|
11634
12482
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -11925,70 +12773,160 @@ declare const SectionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
11925
12773
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
11926
12774
|
}, z.core.$strict>, z.ZodObject<{
|
|
11927
12775
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
11928
|
-
}, z.core.$strict
|
|
11929
|
-
|
|
11930
|
-
|
|
11931
|
-
|
|
11932
|
-
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
|
|
11936
|
-
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11941
|
-
|
|
11942
|
-
|
|
11943
|
-
|
|
11944
|
-
|
|
11945
|
-
|
|
11946
|
-
|
|
11947
|
-
|
|
11948
|
-
|
|
11949
|
-
|
|
11950
|
-
|
|
11951
|
-
|
|
11952
|
-
|
|
11953
|
-
|
|
11954
|
-
|
|
11955
|
-
|
|
11956
|
-
|
|
11957
|
-
|
|
11958
|
-
|
|
11959
|
-
|
|
11960
|
-
|
|
11961
|
-
|
|
11962
|
-
|
|
11963
|
-
|
|
11964
|
-
|
|
11965
|
-
|
|
11966
|
-
|
|
11967
|
-
|
|
11968
|
-
|
|
11969
|
-
|
|
11970
|
-
|
|
11971
|
-
|
|
11972
|
-
|
|
11973
|
-
|
|
11974
|
-
|
|
11975
|
-
|
|
11976
|
-
|
|
11977
|
-
|
|
11978
|
-
|
|
11979
|
-
|
|
11980
|
-
|
|
11981
|
-
|
|
11982
|
-
|
|
11983
|
-
|
|
11984
|
-
|
|
11985
|
-
|
|
11986
|
-
|
|
11987
|
-
|
|
11988
|
-
|
|
11989
|
-
|
|
11990
|
-
|
|
11991
|
-
|
|
12776
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12777
|
+
type: z.ZodLiteral<"DECK">;
|
|
12778
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
12779
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12780
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
12781
|
+
text: z.ZodString;
|
|
12782
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12783
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
12784
|
+
text: z.ZodString;
|
|
12785
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12786
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
12787
|
+
title: z.ZodString;
|
|
12788
|
+
buttonType: z.ZodEnum<{
|
|
12789
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
12790
|
+
HYPER_LINK: "HYPER_LINK";
|
|
12791
|
+
MAIL_LINK: "MAIL_LINK";
|
|
12792
|
+
TEL_LINK: "TEL_LINK";
|
|
12793
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
12794
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
12795
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
12796
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
12797
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
12798
|
+
}>;
|
|
12799
|
+
link: z.ZodOptional<z.ZodString>;
|
|
12800
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
12801
|
+
email: z.ZodOptional<z.ZodString>;
|
|
12802
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
12803
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
12804
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
12805
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12806
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
12807
|
+
imageData: z.ZodObject<{
|
|
12808
|
+
set: z.ZodObject<{
|
|
12809
|
+
ORIGINAL: z.ZodOptional<z.ZodObject<{
|
|
12810
|
+
url: z.ZodString;
|
|
12811
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
12812
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
12813
|
+
}, z.core.$strict>>;
|
|
12814
|
+
WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
12815
|
+
url: z.ZodString;
|
|
12816
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
12817
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
12818
|
+
}, z.core.$strict>>;
|
|
12819
|
+
WEBP_HI_2X_RES: z.ZodOptional<z.ZodObject<{
|
|
12820
|
+
url: z.ZodString;
|
|
12821
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
12822
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
12823
|
+
}, z.core.$strict>>;
|
|
12824
|
+
MOBILE_WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
12825
|
+
url: z.ZodString;
|
|
12826
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
12827
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
12828
|
+
}, z.core.$strict>>;
|
|
12829
|
+
MOBILE_WEBP_HI_RES: z.ZodOptional<z.ZodObject<{
|
|
12830
|
+
url: z.ZodString;
|
|
12831
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
12832
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
12833
|
+
}, z.core.$strict>>;
|
|
12834
|
+
}, z.core.$strict>;
|
|
12835
|
+
borderInfo: z.ZodOptional<z.ZodObject<{
|
|
12836
|
+
homogeneity: z.ZodOptional<z.ZodBoolean>;
|
|
12837
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
12838
|
+
r: z.ZodNumber;
|
|
12839
|
+
g: z.ZodNumber;
|
|
12840
|
+
b: z.ZodNumber;
|
|
12841
|
+
a: z.ZodNumber;
|
|
12842
|
+
}, z.core.$strict>>;
|
|
12843
|
+
}, z.core.$strict>>;
|
|
12844
|
+
}, z.core.$strict>;
|
|
12845
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12846
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
12847
|
+
enabled: z.ZodBoolean;
|
|
12848
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12849
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
12850
|
+
value: z.ZodString;
|
|
12851
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12852
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
12853
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12854
|
+
type: z.ZodLiteral<"INFO">;
|
|
12855
|
+
text: z.ZodOptional<z.ZodString>;
|
|
12856
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
12857
|
+
title: z.ZodOptional<z.ZodString>;
|
|
12858
|
+
link: z.ZodOptional<z.ZodString>;
|
|
12859
|
+
}, z.core.$strict>>;
|
|
12860
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12861
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
12862
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12863
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
12864
|
+
}, z.core.$strict>], "type">>;
|
|
12865
|
+
}, z.core.$strict>>;
|
|
12866
|
+
}, z.core.$strict>], "type">>;
|
|
12867
|
+
}, z.core.$strict>>;
|
|
12868
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12869
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
12870
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12871
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
12872
|
+
}, z.core.$strict>], "type">>>;
|
|
12873
|
+
design: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12874
|
+
type: z.ZodLiteral<"TEXT">;
|
|
12875
|
+
font: z.ZodOptional<z.ZodString>;
|
|
12876
|
+
size: z.ZodOptional<z.ZodCustom<number | GlobalTextSizeValue, number | GlobalTextSizeValue>>;
|
|
12877
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
12878
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
12879
|
+
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
12880
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
12881
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12882
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
12883
|
+
appearance: z.ZodOptional<z.ZodEnum<{
|
|
12884
|
+
TEXT: "TEXT";
|
|
12885
|
+
SOLID: "SOLID";
|
|
12886
|
+
OUTLINE: "OUTLINE";
|
|
12887
|
+
}>>;
|
|
12888
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
12889
|
+
SMALL: "SMALL";
|
|
12890
|
+
MEDIUM: "MEDIUM";
|
|
12891
|
+
LARGE: "LARGE";
|
|
12892
|
+
}>>;
|
|
12893
|
+
shape: z.ZodOptional<z.ZodEnum<{
|
|
12894
|
+
ROUND_CORNER: "ROUND_CORNER";
|
|
12895
|
+
RECTANGLE: "RECTANGLE";
|
|
12896
|
+
PILL: "PILL";
|
|
12897
|
+
}>>;
|
|
12898
|
+
font: z.ZodOptional<z.ZodString>;
|
|
12899
|
+
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
12900
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
12901
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12902
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
12903
|
+
overlay: z.ZodOptional<z.ZodEnum<{
|
|
12904
|
+
COLOR: "COLOR";
|
|
12905
|
+
GRADIENT: "GRADIENT";
|
|
12906
|
+
NONE: "NONE";
|
|
12907
|
+
}>>;
|
|
12908
|
+
color: z.ZodOptional<z.ZodCustom<string | string[], string | string[]>>;
|
|
12909
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
12910
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12911
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
12912
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
12913
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12914
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
12915
|
+
value: z.ZodOptional<z.ZodString>;
|
|
12916
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12917
|
+
type: z.ZodLiteral<"BACKGROUND">;
|
|
12918
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
12919
|
+
COLOR: "COLOR";
|
|
12920
|
+
GRADIENT: "GRADIENT";
|
|
12921
|
+
}>>;
|
|
12922
|
+
color: z.ZodOptional<z.ZodCustom<string | string[], string | string[]>>;
|
|
12923
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12924
|
+
type: z.ZodLiteral<"COLOR_PICKER">;
|
|
12925
|
+
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
12926
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12927
|
+
type: z.ZodLiteral<"LOGO">;
|
|
12928
|
+
font: z.ZodOptional<z.ZodString>;
|
|
12929
|
+
size: z.ZodOptional<z.ZodCustom<number | GlobalTextSizeValue, number | GlobalTextSizeValue>>;
|
|
11992
12930
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
11993
12931
|
italic: z.ZodOptional<z.ZodBoolean>;
|
|
11994
12932
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
@@ -12000,9 +12938,9 @@ declare const SectionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12000
12938
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
12001
12939
|
}, z.core.$strict>>;
|
|
12002
12940
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
12941
|
+
small: "small";
|
|
12003
12942
|
none: "none";
|
|
12004
12943
|
all: "all";
|
|
12005
|
-
small: "small";
|
|
12006
12944
|
}>>;
|
|
12007
12945
|
}, z.core.$strict>, z.ZodObject<{
|
|
12008
12946
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -12077,9 +13015,9 @@ declare const SectionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12077
13015
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
12078
13016
|
}, z.core.$strict>>;
|
|
12079
13017
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
13018
|
+
small: "small";
|
|
12080
13019
|
none: "none";
|
|
12081
13020
|
all: "all";
|
|
12082
|
-
small: "small";
|
|
12083
13021
|
}>>;
|
|
12084
13022
|
}, z.core.$strict>, z.ZodObject<{
|
|
12085
13023
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -12379,6 +13317,96 @@ declare const TemplatePageSchema: z.ZodObject<{
|
|
|
12379
13317
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
12380
13318
|
}, z.core.$strict>, z.ZodObject<{
|
|
12381
13319
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
13320
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13321
|
+
type: z.ZodLiteral<"DECK">;
|
|
13322
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
13323
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13324
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
13325
|
+
text: z.ZodString;
|
|
13326
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13327
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
13328
|
+
text: z.ZodString;
|
|
13329
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13330
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
13331
|
+
title: z.ZodString;
|
|
13332
|
+
buttonType: z.ZodEnum<{
|
|
13333
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
13334
|
+
HYPER_LINK: "HYPER_LINK";
|
|
13335
|
+
MAIL_LINK: "MAIL_LINK";
|
|
13336
|
+
TEL_LINK: "TEL_LINK";
|
|
13337
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
13338
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
13339
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
13340
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
13341
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
13342
|
+
}>;
|
|
13343
|
+
link: z.ZodOptional<z.ZodString>;
|
|
13344
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
13345
|
+
email: z.ZodOptional<z.ZodString>;
|
|
13346
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
13347
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
13348
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
13349
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13350
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
13351
|
+
imageData: z.ZodObject<{
|
|
13352
|
+
set: z.ZodObject<{
|
|
13353
|
+
ORIGINAL: z.ZodOptional<z.ZodObject<{
|
|
13354
|
+
url: z.ZodString;
|
|
13355
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
13356
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
13357
|
+
}, z.core.$strict>>;
|
|
13358
|
+
WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
13359
|
+
url: z.ZodString;
|
|
13360
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
13361
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
13362
|
+
}, z.core.$strict>>;
|
|
13363
|
+
WEBP_HI_2X_RES: z.ZodOptional<z.ZodObject<{
|
|
13364
|
+
url: z.ZodString;
|
|
13365
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
13366
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
13367
|
+
}, z.core.$strict>>;
|
|
13368
|
+
MOBILE_WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
13369
|
+
url: z.ZodString;
|
|
13370
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
13371
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
13372
|
+
}, z.core.$strict>>;
|
|
13373
|
+
MOBILE_WEBP_HI_RES: z.ZodOptional<z.ZodObject<{
|
|
13374
|
+
url: z.ZodString;
|
|
13375
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
13376
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
13377
|
+
}, z.core.$strict>>;
|
|
13378
|
+
}, z.core.$strict>;
|
|
13379
|
+
borderInfo: z.ZodOptional<z.ZodObject<{
|
|
13380
|
+
homogeneity: z.ZodOptional<z.ZodBoolean>;
|
|
13381
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
13382
|
+
r: z.ZodNumber;
|
|
13383
|
+
g: z.ZodNumber;
|
|
13384
|
+
b: z.ZodNumber;
|
|
13385
|
+
a: z.ZodNumber;
|
|
13386
|
+
}, z.core.$strict>>;
|
|
13387
|
+
}, z.core.$strict>>;
|
|
13388
|
+
}, z.core.$strict>;
|
|
13389
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13390
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
13391
|
+
enabled: z.ZodBoolean;
|
|
13392
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13393
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
13394
|
+
value: z.ZodString;
|
|
13395
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13396
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
13397
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13398
|
+
type: z.ZodLiteral<"INFO">;
|
|
13399
|
+
text: z.ZodOptional<z.ZodString>;
|
|
13400
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
13401
|
+
title: z.ZodOptional<z.ZodString>;
|
|
13402
|
+
link: z.ZodOptional<z.ZodString>;
|
|
13403
|
+
}, z.core.$strict>>;
|
|
13404
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13405
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
13406
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13407
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
13408
|
+
}, z.core.$strict>], "type">>;
|
|
13409
|
+
}, z.core.$strict>>;
|
|
12382
13410
|
}, z.core.$strict>], "type">>;
|
|
12383
13411
|
}, z.core.$strict>>;
|
|
12384
13412
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -12454,9 +13482,9 @@ declare const TemplatePageSchema: z.ZodObject<{
|
|
|
12454
13482
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
12455
13483
|
}, z.core.$strict>>;
|
|
12456
13484
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
13485
|
+
small: "small";
|
|
12457
13486
|
none: "none";
|
|
12458
13487
|
all: "all";
|
|
12459
|
-
small: "small";
|
|
12460
13488
|
}>>;
|
|
12461
13489
|
}, z.core.$strict>, z.ZodObject<{
|
|
12462
13490
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -12531,9 +13559,9 @@ declare const TemplatePageSchema: z.ZodObject<{
|
|
|
12531
13559
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
12532
13560
|
}, z.core.$strict>>;
|
|
12533
13561
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
13562
|
+
small: "small";
|
|
12534
13563
|
none: "none";
|
|
12535
13564
|
all: "all";
|
|
12536
|
-
small: "small";
|
|
12537
13565
|
}>>;
|
|
12538
13566
|
}, z.core.$strict>, z.ZodObject<{
|
|
12539
13567
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -12834,10 +13862,100 @@ declare const TemplatePageNamedSchema: z.ZodObject<{
|
|
|
12834
13862
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
12835
13863
|
}, z.core.$strict>, z.ZodObject<{
|
|
12836
13864
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
12837
|
-
}, z.core.$strict
|
|
12838
|
-
|
|
12839
|
-
|
|
12840
|
-
|
|
13865
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13866
|
+
type: z.ZodLiteral<"DECK">;
|
|
13867
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
13868
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13869
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
13870
|
+
text: z.ZodString;
|
|
13871
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13872
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
13873
|
+
text: z.ZodString;
|
|
13874
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13875
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
13876
|
+
title: z.ZodString;
|
|
13877
|
+
buttonType: z.ZodEnum<{
|
|
13878
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
13879
|
+
HYPER_LINK: "HYPER_LINK";
|
|
13880
|
+
MAIL_LINK: "MAIL_LINK";
|
|
13881
|
+
TEL_LINK: "TEL_LINK";
|
|
13882
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
13883
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
13884
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
13885
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
13886
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
13887
|
+
}>;
|
|
13888
|
+
link: z.ZodOptional<z.ZodString>;
|
|
13889
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
13890
|
+
email: z.ZodOptional<z.ZodString>;
|
|
13891
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
13892
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
13893
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
13894
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13895
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
13896
|
+
imageData: z.ZodObject<{
|
|
13897
|
+
set: z.ZodObject<{
|
|
13898
|
+
ORIGINAL: z.ZodOptional<z.ZodObject<{
|
|
13899
|
+
url: z.ZodString;
|
|
13900
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
13901
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
13902
|
+
}, z.core.$strict>>;
|
|
13903
|
+
WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
13904
|
+
url: z.ZodString;
|
|
13905
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
13906
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
13907
|
+
}, z.core.$strict>>;
|
|
13908
|
+
WEBP_HI_2X_RES: z.ZodOptional<z.ZodObject<{
|
|
13909
|
+
url: z.ZodString;
|
|
13910
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
13911
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
13912
|
+
}, z.core.$strict>>;
|
|
13913
|
+
MOBILE_WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
13914
|
+
url: z.ZodString;
|
|
13915
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
13916
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
13917
|
+
}, z.core.$strict>>;
|
|
13918
|
+
MOBILE_WEBP_HI_RES: z.ZodOptional<z.ZodObject<{
|
|
13919
|
+
url: z.ZodString;
|
|
13920
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
13921
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
13922
|
+
}, z.core.$strict>>;
|
|
13923
|
+
}, z.core.$strict>;
|
|
13924
|
+
borderInfo: z.ZodOptional<z.ZodObject<{
|
|
13925
|
+
homogeneity: z.ZodOptional<z.ZodBoolean>;
|
|
13926
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
13927
|
+
r: z.ZodNumber;
|
|
13928
|
+
g: z.ZodNumber;
|
|
13929
|
+
b: z.ZodNumber;
|
|
13930
|
+
a: z.ZodNumber;
|
|
13931
|
+
}, z.core.$strict>>;
|
|
13932
|
+
}, z.core.$strict>>;
|
|
13933
|
+
}, z.core.$strict>;
|
|
13934
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13935
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
13936
|
+
enabled: z.ZodBoolean;
|
|
13937
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13938
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
13939
|
+
value: z.ZodString;
|
|
13940
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13941
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
13942
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13943
|
+
type: z.ZodLiteral<"INFO">;
|
|
13944
|
+
text: z.ZodOptional<z.ZodString>;
|
|
13945
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
13946
|
+
title: z.ZodOptional<z.ZodString>;
|
|
13947
|
+
link: z.ZodOptional<z.ZodString>;
|
|
13948
|
+
}, z.core.$strict>>;
|
|
13949
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13950
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
13951
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13952
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
13953
|
+
}, z.core.$strict>], "type">>;
|
|
13954
|
+
}, z.core.$strict>>;
|
|
13955
|
+
}, z.core.$strict>], "type">>;
|
|
13956
|
+
}, z.core.$strict>>;
|
|
13957
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13958
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
12841
13959
|
}, z.core.$strict>, z.ZodObject<{
|
|
12842
13960
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
12843
13961
|
}, z.core.$strict>], "type">>>;
|
|
@@ -12909,9 +14027,9 @@ declare const TemplatePageNamedSchema: z.ZodObject<{
|
|
|
12909
14027
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
12910
14028
|
}, z.core.$strict>>;
|
|
12911
14029
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
14030
|
+
small: "small";
|
|
12912
14031
|
none: "none";
|
|
12913
14032
|
all: "all";
|
|
12914
|
-
small: "small";
|
|
12915
14033
|
}>>;
|
|
12916
14034
|
}, z.core.$strict>, z.ZodObject<{
|
|
12917
14035
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -12986,9 +14104,9 @@ declare const TemplatePageNamedSchema: z.ZodObject<{
|
|
|
12986
14104
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
12987
14105
|
}, z.core.$strict>>;
|
|
12988
14106
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
14107
|
+
small: "small";
|
|
12989
14108
|
none: "none";
|
|
12990
14109
|
all: "all";
|
|
12991
|
-
small: "small";
|
|
12992
14110
|
}>>;
|
|
12993
14111
|
}, z.core.$strict>, z.ZodObject<{
|
|
12994
14112
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -13349,6 +14467,96 @@ declare const TemplateConfigurationSectionSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
13349
14467
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
13350
14468
|
}, z.core.$strict>, z.ZodObject<{
|
|
13351
14469
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
14470
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14471
|
+
type: z.ZodLiteral<"DECK">;
|
|
14472
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
14473
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14474
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
14475
|
+
text: z.ZodString;
|
|
14476
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14477
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
14478
|
+
text: z.ZodString;
|
|
14479
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14480
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
14481
|
+
title: z.ZodString;
|
|
14482
|
+
buttonType: z.ZodEnum<{
|
|
14483
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
14484
|
+
HYPER_LINK: "HYPER_LINK";
|
|
14485
|
+
MAIL_LINK: "MAIL_LINK";
|
|
14486
|
+
TEL_LINK: "TEL_LINK";
|
|
14487
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
14488
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
14489
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
14490
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
14491
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
14492
|
+
}>;
|
|
14493
|
+
link: z.ZodOptional<z.ZodString>;
|
|
14494
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
14495
|
+
email: z.ZodOptional<z.ZodString>;
|
|
14496
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
14497
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
14498
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
14499
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14500
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
14501
|
+
imageData: z.ZodObject<{
|
|
14502
|
+
set: z.ZodObject<{
|
|
14503
|
+
ORIGINAL: z.ZodOptional<z.ZodObject<{
|
|
14504
|
+
url: z.ZodString;
|
|
14505
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
14506
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
14507
|
+
}, z.core.$strict>>;
|
|
14508
|
+
WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
14509
|
+
url: z.ZodString;
|
|
14510
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
14511
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
14512
|
+
}, z.core.$strict>>;
|
|
14513
|
+
WEBP_HI_2X_RES: z.ZodOptional<z.ZodObject<{
|
|
14514
|
+
url: z.ZodString;
|
|
14515
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
14516
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
14517
|
+
}, z.core.$strict>>;
|
|
14518
|
+
MOBILE_WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
14519
|
+
url: z.ZodString;
|
|
14520
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
14521
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
14522
|
+
}, z.core.$strict>>;
|
|
14523
|
+
MOBILE_WEBP_HI_RES: z.ZodOptional<z.ZodObject<{
|
|
14524
|
+
url: z.ZodString;
|
|
14525
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
14526
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
14527
|
+
}, z.core.$strict>>;
|
|
14528
|
+
}, z.core.$strict>;
|
|
14529
|
+
borderInfo: z.ZodOptional<z.ZodObject<{
|
|
14530
|
+
homogeneity: z.ZodOptional<z.ZodBoolean>;
|
|
14531
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
14532
|
+
r: z.ZodNumber;
|
|
14533
|
+
g: z.ZodNumber;
|
|
14534
|
+
b: z.ZodNumber;
|
|
14535
|
+
a: z.ZodNumber;
|
|
14536
|
+
}, z.core.$strict>>;
|
|
14537
|
+
}, z.core.$strict>>;
|
|
14538
|
+
}, z.core.$strict>;
|
|
14539
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14540
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
14541
|
+
enabled: z.ZodBoolean;
|
|
14542
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14543
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
14544
|
+
value: z.ZodString;
|
|
14545
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14546
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
14547
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14548
|
+
type: z.ZodLiteral<"INFO">;
|
|
14549
|
+
text: z.ZodOptional<z.ZodString>;
|
|
14550
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
14551
|
+
title: z.ZodOptional<z.ZodString>;
|
|
14552
|
+
link: z.ZodOptional<z.ZodString>;
|
|
14553
|
+
}, z.core.$strict>>;
|
|
14554
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14555
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
14556
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
14557
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
14558
|
+
}, z.core.$strict>], "type">>;
|
|
14559
|
+
}, z.core.$strict>>;
|
|
13352
14560
|
}, z.core.$strict>], "type">>;
|
|
13353
14561
|
}, z.core.$strict>>;
|
|
13354
14562
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -13424,9 +14632,9 @@ declare const TemplateConfigurationSectionSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
13424
14632
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
13425
14633
|
}, z.core.$strict>>;
|
|
13426
14634
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
14635
|
+
small: "small";
|
|
13427
14636
|
none: "none";
|
|
13428
14637
|
all: "all";
|
|
13429
|
-
small: "small";
|
|
13430
14638
|
}>>;
|
|
13431
14639
|
}, z.core.$strict>, z.ZodObject<{
|
|
13432
14640
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -13501,9 +14709,9 @@ declare const TemplateConfigurationSectionSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
13501
14709
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
13502
14710
|
}, z.core.$strict>>;
|
|
13503
14711
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
14712
|
+
small: "small";
|
|
13504
14713
|
none: "none";
|
|
13505
14714
|
all: "all";
|
|
13506
|
-
small: "small";
|
|
13507
14715
|
}>>;
|
|
13508
14716
|
}, z.core.$strict>, z.ZodObject<{
|
|
13509
14717
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -13853,70 +15061,160 @@ declare const TemplateConfigurationSchema: z.ZodObject<{
|
|
|
13853
15061
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
13854
15062
|
}, z.core.$strict>, z.ZodObject<{
|
|
13855
15063
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
13856
|
-
}, z.core.$strict
|
|
13857
|
-
|
|
13858
|
-
|
|
13859
|
-
|
|
13860
|
-
|
|
13861
|
-
|
|
13862
|
-
|
|
13863
|
-
|
|
13864
|
-
|
|
13865
|
-
|
|
13866
|
-
|
|
13867
|
-
|
|
13868
|
-
|
|
13869
|
-
|
|
13870
|
-
|
|
13871
|
-
|
|
13872
|
-
|
|
13873
|
-
|
|
13874
|
-
|
|
13875
|
-
|
|
13876
|
-
|
|
13877
|
-
|
|
13878
|
-
|
|
13879
|
-
|
|
13880
|
-
|
|
13881
|
-
|
|
13882
|
-
|
|
13883
|
-
|
|
13884
|
-
|
|
13885
|
-
|
|
13886
|
-
|
|
13887
|
-
|
|
13888
|
-
|
|
13889
|
-
|
|
13890
|
-
|
|
13891
|
-
|
|
13892
|
-
|
|
13893
|
-
|
|
13894
|
-
|
|
13895
|
-
|
|
13896
|
-
|
|
13897
|
-
|
|
13898
|
-
|
|
13899
|
-
|
|
13900
|
-
|
|
13901
|
-
|
|
13902
|
-
|
|
13903
|
-
|
|
13904
|
-
|
|
13905
|
-
|
|
13906
|
-
|
|
13907
|
-
|
|
13908
|
-
|
|
13909
|
-
|
|
13910
|
-
|
|
13911
|
-
|
|
13912
|
-
|
|
13913
|
-
|
|
13914
|
-
|
|
13915
|
-
|
|
13916
|
-
|
|
13917
|
-
|
|
13918
|
-
|
|
13919
|
-
|
|
15064
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15065
|
+
type: z.ZodLiteral<"DECK">;
|
|
15066
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
15067
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15068
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
15069
|
+
text: z.ZodString;
|
|
15070
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15071
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
15072
|
+
text: z.ZodString;
|
|
15073
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15074
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
15075
|
+
title: z.ZodString;
|
|
15076
|
+
buttonType: z.ZodEnum<{
|
|
15077
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
15078
|
+
HYPER_LINK: "HYPER_LINK";
|
|
15079
|
+
MAIL_LINK: "MAIL_LINK";
|
|
15080
|
+
TEL_LINK: "TEL_LINK";
|
|
15081
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
15082
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
15083
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
15084
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
15085
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
15086
|
+
}>;
|
|
15087
|
+
link: z.ZodOptional<z.ZodString>;
|
|
15088
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
15089
|
+
email: z.ZodOptional<z.ZodString>;
|
|
15090
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
15091
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
15092
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
15093
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15094
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
15095
|
+
imageData: z.ZodObject<{
|
|
15096
|
+
set: z.ZodObject<{
|
|
15097
|
+
ORIGINAL: z.ZodOptional<z.ZodObject<{
|
|
15098
|
+
url: z.ZodString;
|
|
15099
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
15100
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
15101
|
+
}, z.core.$strict>>;
|
|
15102
|
+
WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
15103
|
+
url: z.ZodString;
|
|
15104
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
15105
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
15106
|
+
}, z.core.$strict>>;
|
|
15107
|
+
WEBP_HI_2X_RES: z.ZodOptional<z.ZodObject<{
|
|
15108
|
+
url: z.ZodString;
|
|
15109
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
15110
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
15111
|
+
}, z.core.$strict>>;
|
|
15112
|
+
MOBILE_WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
15113
|
+
url: z.ZodString;
|
|
15114
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
15115
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
15116
|
+
}, z.core.$strict>>;
|
|
15117
|
+
MOBILE_WEBP_HI_RES: z.ZodOptional<z.ZodObject<{
|
|
15118
|
+
url: z.ZodString;
|
|
15119
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
15120
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
15121
|
+
}, z.core.$strict>>;
|
|
15122
|
+
}, z.core.$strict>;
|
|
15123
|
+
borderInfo: z.ZodOptional<z.ZodObject<{
|
|
15124
|
+
homogeneity: z.ZodOptional<z.ZodBoolean>;
|
|
15125
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
15126
|
+
r: z.ZodNumber;
|
|
15127
|
+
g: z.ZodNumber;
|
|
15128
|
+
b: z.ZodNumber;
|
|
15129
|
+
a: z.ZodNumber;
|
|
15130
|
+
}, z.core.$strict>>;
|
|
15131
|
+
}, z.core.$strict>>;
|
|
15132
|
+
}, z.core.$strict>;
|
|
15133
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15134
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
15135
|
+
enabled: z.ZodBoolean;
|
|
15136
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15137
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
15138
|
+
value: z.ZodString;
|
|
15139
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15140
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
15141
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15142
|
+
type: z.ZodLiteral<"INFO">;
|
|
15143
|
+
text: z.ZodOptional<z.ZodString>;
|
|
15144
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
15145
|
+
title: z.ZodOptional<z.ZodString>;
|
|
15146
|
+
link: z.ZodOptional<z.ZodString>;
|
|
15147
|
+
}, z.core.$strict>>;
|
|
15148
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15149
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
15150
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15151
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
15152
|
+
}, z.core.$strict>], "type">>;
|
|
15153
|
+
}, z.core.$strict>>;
|
|
15154
|
+
}, z.core.$strict>], "type">>;
|
|
15155
|
+
}, z.core.$strict>>;
|
|
15156
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15157
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
15158
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15159
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
15160
|
+
}, z.core.$strict>], "type">>>;
|
|
15161
|
+
design: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15162
|
+
type: z.ZodLiteral<"TEXT">;
|
|
15163
|
+
font: z.ZodOptional<z.ZodString>;
|
|
15164
|
+
size: z.ZodOptional<z.ZodCustom<number | GlobalTextSizeValue, number | GlobalTextSizeValue>>;
|
|
15165
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
15166
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
15167
|
+
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
15168
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
15169
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15170
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
15171
|
+
appearance: z.ZodOptional<z.ZodEnum<{
|
|
15172
|
+
TEXT: "TEXT";
|
|
15173
|
+
SOLID: "SOLID";
|
|
15174
|
+
OUTLINE: "OUTLINE";
|
|
15175
|
+
}>>;
|
|
15176
|
+
size: z.ZodOptional<z.ZodEnum<{
|
|
15177
|
+
SMALL: "SMALL";
|
|
15178
|
+
MEDIUM: "MEDIUM";
|
|
15179
|
+
LARGE: "LARGE";
|
|
15180
|
+
}>>;
|
|
15181
|
+
shape: z.ZodOptional<z.ZodEnum<{
|
|
15182
|
+
ROUND_CORNER: "ROUND_CORNER";
|
|
15183
|
+
RECTANGLE: "RECTANGLE";
|
|
15184
|
+
PILL: "PILL";
|
|
15185
|
+
}>>;
|
|
15186
|
+
font: z.ZodOptional<z.ZodString>;
|
|
15187
|
+
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
15188
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
15189
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15190
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
15191
|
+
overlay: z.ZodOptional<z.ZodEnum<{
|
|
15192
|
+
COLOR: "COLOR";
|
|
15193
|
+
GRADIENT: "GRADIENT";
|
|
15194
|
+
NONE: "NONE";
|
|
15195
|
+
}>>;
|
|
15196
|
+
color: z.ZodOptional<z.ZodCustom<string | string[], string | string[]>>;
|
|
15197
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
15198
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15199
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
15200
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
15201
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15202
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
15203
|
+
value: z.ZodOptional<z.ZodString>;
|
|
15204
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15205
|
+
type: z.ZodLiteral<"BACKGROUND">;
|
|
15206
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
15207
|
+
COLOR: "COLOR";
|
|
15208
|
+
GRADIENT: "GRADIENT";
|
|
15209
|
+
}>>;
|
|
15210
|
+
color: z.ZodOptional<z.ZodCustom<string | string[], string | string[]>>;
|
|
15211
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15212
|
+
type: z.ZodLiteral<"COLOR_PICKER">;
|
|
15213
|
+
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
15214
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15215
|
+
type: z.ZodLiteral<"LOGO">;
|
|
15216
|
+
font: z.ZodOptional<z.ZodString>;
|
|
15217
|
+
size: z.ZodOptional<z.ZodCustom<number | GlobalTextSizeValue, number | GlobalTextSizeValue>>;
|
|
13920
15218
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
13921
15219
|
italic: z.ZodOptional<z.ZodBoolean>;
|
|
13922
15220
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
@@ -13928,9 +15226,9 @@ declare const TemplateConfigurationSchema: z.ZodObject<{
|
|
|
13928
15226
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
13929
15227
|
}, z.core.$strict>>;
|
|
13930
15228
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
15229
|
+
small: "small";
|
|
13931
15230
|
none: "none";
|
|
13932
15231
|
all: "all";
|
|
13933
|
-
small: "small";
|
|
13934
15232
|
}>>;
|
|
13935
15233
|
}, z.core.$strict>, z.ZodObject<{
|
|
13936
15234
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -14005,9 +15303,9 @@ declare const TemplateConfigurationSchema: z.ZodObject<{
|
|
|
14005
15303
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
14006
15304
|
}, z.core.$strict>>;
|
|
14007
15305
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
15306
|
+
small: "small";
|
|
14008
15307
|
none: "none";
|
|
14009
15308
|
all: "all";
|
|
14010
|
-
small: "small";
|
|
14011
15309
|
}>>;
|
|
14012
15310
|
}, z.core.$strict>, z.ZodObject<{
|
|
14013
15311
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -14300,6 +15598,96 @@ declare const TemplateConfigurationSchema: z.ZodObject<{
|
|
|
14300
15598
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
14301
15599
|
}, z.core.$strict>, z.ZodObject<{
|
|
14302
15600
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
15601
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15602
|
+
type: z.ZodLiteral<"DECK">;
|
|
15603
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
15604
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15605
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
15606
|
+
text: z.ZodString;
|
|
15607
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15608
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
15609
|
+
text: z.ZodString;
|
|
15610
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15611
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
15612
|
+
title: z.ZodString;
|
|
15613
|
+
buttonType: z.ZodEnum<{
|
|
15614
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
15615
|
+
HYPER_LINK: "HYPER_LINK";
|
|
15616
|
+
MAIL_LINK: "MAIL_LINK";
|
|
15617
|
+
TEL_LINK: "TEL_LINK";
|
|
15618
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
15619
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
15620
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
15621
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
15622
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
15623
|
+
}>;
|
|
15624
|
+
link: z.ZodOptional<z.ZodString>;
|
|
15625
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
15626
|
+
email: z.ZodOptional<z.ZodString>;
|
|
15627
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
15628
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
15629
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
15630
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15631
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
15632
|
+
imageData: z.ZodObject<{
|
|
15633
|
+
set: z.ZodObject<{
|
|
15634
|
+
ORIGINAL: z.ZodOptional<z.ZodObject<{
|
|
15635
|
+
url: z.ZodString;
|
|
15636
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
15637
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
15638
|
+
}, z.core.$strict>>;
|
|
15639
|
+
WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
15640
|
+
url: z.ZodString;
|
|
15641
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
15642
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
15643
|
+
}, z.core.$strict>>;
|
|
15644
|
+
WEBP_HI_2X_RES: z.ZodOptional<z.ZodObject<{
|
|
15645
|
+
url: z.ZodString;
|
|
15646
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
15647
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
15648
|
+
}, z.core.$strict>>;
|
|
15649
|
+
MOBILE_WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
15650
|
+
url: z.ZodString;
|
|
15651
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
15652
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
15653
|
+
}, z.core.$strict>>;
|
|
15654
|
+
MOBILE_WEBP_HI_RES: z.ZodOptional<z.ZodObject<{
|
|
15655
|
+
url: z.ZodString;
|
|
15656
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
15657
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
15658
|
+
}, z.core.$strict>>;
|
|
15659
|
+
}, z.core.$strict>;
|
|
15660
|
+
borderInfo: z.ZodOptional<z.ZodObject<{
|
|
15661
|
+
homogeneity: z.ZodOptional<z.ZodBoolean>;
|
|
15662
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
15663
|
+
r: z.ZodNumber;
|
|
15664
|
+
g: z.ZodNumber;
|
|
15665
|
+
b: z.ZodNumber;
|
|
15666
|
+
a: z.ZodNumber;
|
|
15667
|
+
}, z.core.$strict>>;
|
|
15668
|
+
}, z.core.$strict>>;
|
|
15669
|
+
}, z.core.$strict>;
|
|
15670
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15671
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
15672
|
+
enabled: z.ZodBoolean;
|
|
15673
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15674
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
15675
|
+
value: z.ZodString;
|
|
15676
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15677
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
15678
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15679
|
+
type: z.ZodLiteral<"INFO">;
|
|
15680
|
+
text: z.ZodOptional<z.ZodString>;
|
|
15681
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
15682
|
+
title: z.ZodOptional<z.ZodString>;
|
|
15683
|
+
link: z.ZodOptional<z.ZodString>;
|
|
15684
|
+
}, z.core.$strict>>;
|
|
15685
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15686
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
15687
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
15688
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
15689
|
+
}, z.core.$strict>], "type">>;
|
|
15690
|
+
}, z.core.$strict>>;
|
|
14303
15691
|
}, z.core.$strict>], "type">>;
|
|
14304
15692
|
}, z.core.$strict>>;
|
|
14305
15693
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -14375,9 +15763,9 @@ declare const TemplateConfigurationSchema: z.ZodObject<{
|
|
|
14375
15763
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
14376
15764
|
}, z.core.$strict>>;
|
|
14377
15765
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
15766
|
+
small: "small";
|
|
14378
15767
|
none: "none";
|
|
14379
15768
|
all: "all";
|
|
14380
|
-
small: "small";
|
|
14381
15769
|
}>>;
|
|
14382
15770
|
}, z.core.$strict>, z.ZodObject<{
|
|
14383
15771
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -14452,9 +15840,9 @@ declare const TemplateConfigurationSchema: z.ZodObject<{
|
|
|
14452
15840
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
14453
15841
|
}, z.core.$strict>>;
|
|
14454
15842
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
15843
|
+
small: "small";
|
|
14455
15844
|
none: "none";
|
|
14456
15845
|
all: "all";
|
|
14457
|
-
small: "small";
|
|
14458
15846
|
}>>;
|
|
14459
15847
|
}, z.core.$strict>, z.ZodObject<{
|
|
14460
15848
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -14811,10 +16199,75 @@ declare const TemplateSchema: z.ZodObject<{
|
|
|
14811
16199
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
14812
16200
|
}, z.core.$strict>, z.ZodObject<{
|
|
14813
16201
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
14814
|
-
}, z.core.$strict
|
|
14815
|
-
|
|
14816
|
-
|
|
14817
|
-
|
|
16202
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16203
|
+
type: z.ZodLiteral<"DECK">;
|
|
16204
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
16205
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16206
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
16207
|
+
text: z.ZodString;
|
|
16208
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16209
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
16210
|
+
text: z.ZodString;
|
|
16211
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16212
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
16213
|
+
title: z.ZodString;
|
|
16214
|
+
buttonType: z.ZodEnum<{
|
|
16215
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
16216
|
+
HYPER_LINK: "HYPER_LINK";
|
|
16217
|
+
MAIL_LINK: "MAIL_LINK";
|
|
16218
|
+
TEL_LINK: "TEL_LINK";
|
|
16219
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
16220
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
16221
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
16222
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
16223
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
16224
|
+
}>;
|
|
16225
|
+
link: z.ZodOptional<z.ZodString>;
|
|
16226
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
16227
|
+
email: z.ZodOptional<z.ZodString>;
|
|
16228
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
16229
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
16230
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
16231
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16232
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
16233
|
+
imageData: z.ZodObject<{
|
|
16234
|
+
set: z.ZodObject<{
|
|
16235
|
+
ORIGINAL: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
16236
|
+
WEBP_LOW_RES: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
16237
|
+
WEBP_HI_2X_RES: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
16238
|
+
MOBILE_WEBP_LOW_RES: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
16239
|
+
MOBILE_WEBP_HI_RES: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
16240
|
+
}, z.core.$strict>;
|
|
16241
|
+
borderInfo: z.ZodOptional<z.ZodObject<{
|
|
16242
|
+
homogeneity: z.ZodOptional<z.ZodBoolean>;
|
|
16243
|
+
color: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
16244
|
+
}, z.core.$strict>>;
|
|
16245
|
+
}, z.core.$strict>;
|
|
16246
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16247
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
16248
|
+
enabled: z.ZodBoolean;
|
|
16249
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16250
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
16251
|
+
value: z.ZodString;
|
|
16252
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16253
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
16254
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16255
|
+
type: z.ZodLiteral<"INFO">;
|
|
16256
|
+
text: z.ZodOptional<z.ZodString>;
|
|
16257
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
16258
|
+
title: z.ZodOptional<z.ZodString>;
|
|
16259
|
+
link: z.ZodOptional<z.ZodString>;
|
|
16260
|
+
}, z.core.$strict>>;
|
|
16261
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16262
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
16263
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16264
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
16265
|
+
}, z.core.$strict>], "type">>;
|
|
16266
|
+
}, z.core.$strict>>;
|
|
16267
|
+
}, z.core.$strict>], "type">>;
|
|
16268
|
+
}, z.core.$strict>>;
|
|
16269
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16270
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
14818
16271
|
}, z.core.$strict>, z.ZodObject<{
|
|
14819
16272
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
14820
16273
|
}, z.core.$strict>], "type">>>;
|
|
@@ -14886,9 +16339,9 @@ declare const TemplateSchema: z.ZodObject<{
|
|
|
14886
16339
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
14887
16340
|
}, z.core.$strict>>;
|
|
14888
16341
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
16342
|
+
small: "small";
|
|
14889
16343
|
none: "none";
|
|
14890
16344
|
all: "all";
|
|
14891
|
-
small: "small";
|
|
14892
16345
|
}>>;
|
|
14893
16346
|
}, z.core.$strict>, z.ZodObject<{
|
|
14894
16347
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -14963,9 +16416,9 @@ declare const TemplateSchema: z.ZodObject<{
|
|
|
14963
16416
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
14964
16417
|
}, z.core.$strict>>;
|
|
14965
16418
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
16419
|
+
small: "small";
|
|
14966
16420
|
none: "none";
|
|
14967
16421
|
all: "all";
|
|
14968
|
-
small: "small";
|
|
14969
16422
|
}>>;
|
|
14970
16423
|
}, z.core.$strict>, z.ZodObject<{
|
|
14971
16424
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -15258,6 +16711,71 @@ declare const TemplateSchema: z.ZodObject<{
|
|
|
15258
16711
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
15259
16712
|
}, z.core.$strict>, z.ZodObject<{
|
|
15260
16713
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
16714
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16715
|
+
type: z.ZodLiteral<"DECK">;
|
|
16716
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
16717
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16718
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
16719
|
+
text: z.ZodString;
|
|
16720
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16721
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
16722
|
+
text: z.ZodString;
|
|
16723
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16724
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
16725
|
+
title: z.ZodString;
|
|
16726
|
+
buttonType: z.ZodEnum<{
|
|
16727
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
16728
|
+
HYPER_LINK: "HYPER_LINK";
|
|
16729
|
+
MAIL_LINK: "MAIL_LINK";
|
|
16730
|
+
TEL_LINK: "TEL_LINK";
|
|
16731
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
16732
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
16733
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
16734
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
16735
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
16736
|
+
}>;
|
|
16737
|
+
link: z.ZodOptional<z.ZodString>;
|
|
16738
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
16739
|
+
email: z.ZodOptional<z.ZodString>;
|
|
16740
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
16741
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
16742
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
16743
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16744
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
16745
|
+
imageData: z.ZodObject<{
|
|
16746
|
+
set: z.ZodObject<{
|
|
16747
|
+
ORIGINAL: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
16748
|
+
WEBP_LOW_RES: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
16749
|
+
WEBP_HI_2X_RES: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
16750
|
+
MOBILE_WEBP_LOW_RES: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
16751
|
+
MOBILE_WEBP_HI_RES: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
16752
|
+
}, z.core.$strict>;
|
|
16753
|
+
borderInfo: z.ZodOptional<z.ZodObject<{
|
|
16754
|
+
homogeneity: z.ZodOptional<z.ZodBoolean>;
|
|
16755
|
+
color: z.ZodOptional<z.ZodObject</*elided*/ any, z.core.$strict>>;
|
|
16756
|
+
}, z.core.$strict>>;
|
|
16757
|
+
}, z.core.$strict>;
|
|
16758
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16759
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
16760
|
+
enabled: z.ZodBoolean;
|
|
16761
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16762
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
16763
|
+
value: z.ZodString;
|
|
16764
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16765
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
16766
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16767
|
+
type: z.ZodLiteral<"INFO">;
|
|
16768
|
+
text: z.ZodOptional<z.ZodString>;
|
|
16769
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
16770
|
+
title: z.ZodOptional<z.ZodString>;
|
|
16771
|
+
link: z.ZodOptional<z.ZodString>;
|
|
16772
|
+
}, z.core.$strict>>;
|
|
16773
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16774
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
16775
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
16776
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
16777
|
+
}, z.core.$strict>], "type">>;
|
|
16778
|
+
}, z.core.$strict>>;
|
|
15261
16779
|
}, z.core.$strict>], "type">>;
|
|
15262
16780
|
}, z.core.$strict>>;
|
|
15263
16781
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -15333,9 +16851,9 @@ declare const TemplateSchema: z.ZodObject<{
|
|
|
15333
16851
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
15334
16852
|
}, z.core.$strict>>;
|
|
15335
16853
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
16854
|
+
small: "small";
|
|
15336
16855
|
none: "none";
|
|
15337
16856
|
all: "all";
|
|
15338
|
-
small: "small";
|
|
15339
16857
|
}>>;
|
|
15340
16858
|
}, z.core.$strict>, z.ZodObject<{
|
|
15341
16859
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -15410,9 +16928,9 @@ declare const TemplateSchema: z.ZodObject<{
|
|
|
15410
16928
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
15411
16929
|
}, z.core.$strict>>;
|
|
15412
16930
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
16931
|
+
small: "small";
|
|
15413
16932
|
none: "none";
|
|
15414
16933
|
all: "all";
|
|
15415
|
-
small: "small";
|
|
15416
16934
|
}>>;
|
|
15417
16935
|
}, z.core.$strict>, z.ZodObject<{
|
|
15418
16936
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -15710,6 +17228,96 @@ declare const TemplateSchema: z.ZodObject<{
|
|
|
15710
17228
|
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
15711
17229
|
}, z.core.$strict>, z.ZodObject<{
|
|
15712
17230
|
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
17231
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
17232
|
+
type: z.ZodLiteral<"DECK">;
|
|
17233
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
17234
|
+
settings: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17235
|
+
type: z.ZodLiteral<"INPUTBOX">;
|
|
17236
|
+
text: z.ZodString;
|
|
17237
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
17238
|
+
type: z.ZodLiteral<"TEXTAREA">;
|
|
17239
|
+
text: z.ZodString;
|
|
17240
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
17241
|
+
type: z.ZodLiteral<"BUTTON">;
|
|
17242
|
+
title: z.ZodString;
|
|
17243
|
+
buttonType: z.ZodEnum<{
|
|
17244
|
+
SCROLL_TO_TILE: "SCROLL_TO_TILE";
|
|
17245
|
+
HYPER_LINK: "HYPER_LINK";
|
|
17246
|
+
MAIL_LINK: "MAIL_LINK";
|
|
17247
|
+
TEL_LINK: "TEL_LINK";
|
|
17248
|
+
GO_TO_STORE: "GO_TO_STORE";
|
|
17249
|
+
GO_TO_STORE_LINK: "GO_TO_STORE_LINK";
|
|
17250
|
+
GO_TO_PAGE: "GO_TO_PAGE";
|
|
17251
|
+
GO_TO_CATEGORY: "GO_TO_CATEGORY";
|
|
17252
|
+
GO_TO_CATEGORY_LINK: "GO_TO_CATEGORY_LINK";
|
|
17253
|
+
}>;
|
|
17254
|
+
link: z.ZodOptional<z.ZodString>;
|
|
17255
|
+
linkTarget: z.ZodOptional<z.ZodString>;
|
|
17256
|
+
email: z.ZodOptional<z.ZodString>;
|
|
17257
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
17258
|
+
tileId: z.ZodOptional<z.ZodString>;
|
|
17259
|
+
categoryId: z.ZodOptional<z.ZodNumber>;
|
|
17260
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
17261
|
+
type: z.ZodLiteral<"IMAGE">;
|
|
17262
|
+
imageData: z.ZodObject<{
|
|
17263
|
+
set: z.ZodObject<{
|
|
17264
|
+
ORIGINAL: z.ZodOptional<z.ZodObject<{
|
|
17265
|
+
url: z.ZodString;
|
|
17266
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
17267
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
17268
|
+
}, z.core.$strict>>;
|
|
17269
|
+
WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
17270
|
+
url: z.ZodString;
|
|
17271
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
17272
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
17273
|
+
}, z.core.$strict>>;
|
|
17274
|
+
WEBP_HI_2X_RES: z.ZodOptional<z.ZodObject<{
|
|
17275
|
+
url: z.ZodString;
|
|
17276
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
17277
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
17278
|
+
}, z.core.$strict>>;
|
|
17279
|
+
MOBILE_WEBP_LOW_RES: z.ZodOptional<z.ZodObject<{
|
|
17280
|
+
url: z.ZodString;
|
|
17281
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
17282
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
17283
|
+
}, z.core.$strict>>;
|
|
17284
|
+
MOBILE_WEBP_HI_RES: z.ZodOptional<z.ZodObject<{
|
|
17285
|
+
url: z.ZodString;
|
|
17286
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
17287
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
17288
|
+
}, z.core.$strict>>;
|
|
17289
|
+
}, z.core.$strict>;
|
|
17290
|
+
borderInfo: z.ZodOptional<z.ZodObject<{
|
|
17291
|
+
homogeneity: z.ZodOptional<z.ZodBoolean>;
|
|
17292
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
17293
|
+
r: z.ZodNumber;
|
|
17294
|
+
g: z.ZodNumber;
|
|
17295
|
+
b: z.ZodNumber;
|
|
17296
|
+
a: z.ZodNumber;
|
|
17297
|
+
}, z.core.$strict>>;
|
|
17298
|
+
}, z.core.$strict>>;
|
|
17299
|
+
}, z.core.$strict>;
|
|
17300
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
17301
|
+
type: z.ZodLiteral<"TOGGLE">;
|
|
17302
|
+
enabled: z.ZodBoolean;
|
|
17303
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
17304
|
+
type: z.ZodLiteral<"SELECTBOX">;
|
|
17305
|
+
value: z.ZodString;
|
|
17306
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
17307
|
+
type: z.ZodLiteral<"DIVIDER">;
|
|
17308
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
17309
|
+
type: z.ZodLiteral<"INFO">;
|
|
17310
|
+
text: z.ZodOptional<z.ZodString>;
|
|
17311
|
+
button: z.ZodOptional<z.ZodObject<{
|
|
17312
|
+
title: z.ZodOptional<z.ZodString>;
|
|
17313
|
+
link: z.ZodOptional<z.ZodString>;
|
|
17314
|
+
}, z.core.$strict>>;
|
|
17315
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
17316
|
+
type: z.ZodLiteral<"PRODUCT_SELECTOR">;
|
|
17317
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
17318
|
+
type: z.ZodLiteral<"CATEGORY_SELECTOR">;
|
|
17319
|
+
}, z.core.$strict>], "type">>;
|
|
17320
|
+
}, z.core.$strict>>;
|
|
15713
17321
|
}, z.core.$strict>], "type">>;
|
|
15714
17322
|
}, z.core.$strict>>;
|
|
15715
17323
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -15785,9 +17393,9 @@ declare const TemplateSchema: z.ZodObject<{
|
|
|
15785
17393
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
15786
17394
|
}, z.core.$strict>>;
|
|
15787
17395
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
17396
|
+
small: "small";
|
|
15788
17397
|
none: "none";
|
|
15789
17398
|
all: "all";
|
|
15790
|
-
small: "small";
|
|
15791
17399
|
}>>;
|
|
15792
17400
|
}, z.core.$strict>, z.ZodObject<{
|
|
15793
17401
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -15862,9 +17470,9 @@ declare const TemplateSchema: z.ZodObject<{
|
|
|
15862
17470
|
color: z.ZodOptional<z.ZodCustom<string, string>>;
|
|
15863
17471
|
}, z.core.$strict>>;
|
|
15864
17472
|
capitalization: z.ZodOptional<z.ZodEnum<{
|
|
17473
|
+
small: "small";
|
|
15865
17474
|
none: "none";
|
|
15866
17475
|
all: "all";
|
|
15867
|
-
small: "small";
|
|
15868
17476
|
}>>;
|
|
15869
17477
|
}, z.core.$strict>, z.ZodObject<{
|
|
15870
17478
|
type: z.ZodLiteral<"DIVIDER">;
|
|
@@ -15951,6 +17559,17 @@ type TemplateConfiguration = z.infer<typeof TemplateConfigurationSchema>;
|
|
|
15951
17559
|
|
|
15952
17560
|
type TranslationSettings = Record<string, Record<string, string>>;
|
|
15953
17561
|
|
|
17562
|
+
/**
|
|
17563
|
+
* Return type for `useCurrentLanguage` composable.
|
|
17564
|
+
*/
|
|
17565
|
+
interface UseCurrentLanguageReturn {
|
|
17566
|
+
/**
|
|
17567
|
+
* Current language code (e.g., 'en', 'nl', 'fr').
|
|
17568
|
+
* Falls back to main language, then to 'en' if no language is selected.
|
|
17569
|
+
*/
|
|
17570
|
+
currentLanguage: ComputedRef<Language['code']>;
|
|
17571
|
+
}
|
|
17572
|
+
|
|
15954
17573
|
interface AppBaseContext {
|
|
15955
17574
|
readonly appName: string;
|
|
15956
17575
|
readonly blockName: string;
|
|
@@ -15985,72 +17604,6 @@ declare function createVueClientApp<C, D>(appComponent: Component, extensions?:
|
|
|
15985
17604
|
};
|
|
15986
17605
|
};
|
|
15987
17606
|
|
|
15988
|
-
interface InstantsiteTilePromise {
|
|
15989
|
-
add(callback: (id: string) => void): void;
|
|
15990
|
-
}
|
|
15991
|
-
interface InstantsiteJSAPI {
|
|
15992
|
-
/**
|
|
15993
|
-
* Retrieves the current site ID.
|
|
15994
|
-
*
|
|
15995
|
-
* @returns {number} The site ID.
|
|
15996
|
-
*/
|
|
15997
|
-
getSiteId: () => number;
|
|
15998
|
-
/**
|
|
15999
|
-
* Retrieves the public token for a given app.
|
|
16000
|
-
*
|
|
16001
|
-
* @param {string} appId - The ID of the app.
|
|
16002
|
-
* @returns {string | undefined} The app's public token, or `undefined` if not found.
|
|
16003
|
-
*/
|
|
16004
|
-
getAppPublicToken: (appId: string) => string | undefined;
|
|
16005
|
-
/**
|
|
16006
|
-
* Retrieves the public configuration for a given app.
|
|
16007
|
-
*
|
|
16008
|
-
* @param {string} appId - The ID of the app.
|
|
16009
|
-
* @returns {string | undefined} The app's public configuration, or `undefined` if not found.
|
|
16010
|
-
*/
|
|
16011
|
-
getAppPublicConfig: (appId: string) => string | undefined;
|
|
16012
|
-
/**
|
|
16013
|
-
* An event that triggers when a tile is loaded.
|
|
16014
|
-
*
|
|
16015
|
-
* @type {InstantsiteTilePromise}
|
|
16016
|
-
*
|
|
16017
|
-
* @example
|
|
16018
|
-
* ```ts
|
|
16019
|
-
* const tileLoadedPromise = instantsiteJsApi?.onTileLoaded;
|
|
16020
|
-
*
|
|
16021
|
-
* tileLoadedPromise?.add((tileId) => {
|
|
16022
|
-
* console.log('Tile loaded:', tileId);
|
|
16023
|
-
* });
|
|
16024
|
-
* ```
|
|
16025
|
-
*/
|
|
16026
|
-
onTileLoaded: InstantsiteTilePromise;
|
|
16027
|
-
/**
|
|
16028
|
-
* An event that triggers when a tile is unloaded.
|
|
16029
|
-
*
|
|
16030
|
-
* @type {InstantsiteTilePromise}
|
|
16031
|
-
*
|
|
16032
|
-
* @example
|
|
16033
|
-
* ```ts
|
|
16034
|
-
* const tileUnloadedPromise = instantsiteJsApi?.onTileUnloaded;
|
|
16035
|
-
*
|
|
16036
|
-
* tileUnloadedPromise?.add((tileId) => {
|
|
16037
|
-
* console.log('Tile unloaded:', tileId);
|
|
16038
|
-
* });
|
|
16039
|
-
* ```
|
|
16040
|
-
*/
|
|
16041
|
-
onTileUnloaded: InstantsiteTilePromise;
|
|
16042
|
-
/**
|
|
16043
|
-
* Opens the search page with the specified keyword.
|
|
16044
|
-
*
|
|
16045
|
-
* @param {string | undefined} keyword - The keyword to search for.
|
|
16046
|
-
* @returns {void}
|
|
16047
|
-
*/
|
|
16048
|
-
openSearchPage: (keyword: string | undefined) => void;
|
|
16049
|
-
}
|
|
16050
|
-
|
|
16051
|
-
/** Composable for Instantsite JS API. Returns `window.instantsite` for platform interaction. */
|
|
16052
|
-
declare function useInstantsiteJsApi(): InstantsiteJSAPI | undefined;
|
|
16053
|
-
|
|
16054
17607
|
declare function createLayoutApp<C, D>(component: Component): {
|
|
16055
17608
|
component: Component;
|
|
16056
17609
|
initState(app: App<Element>, content: C, design: D, defaults: Record<string, unknown>): void;
|
|
@@ -16058,11 +17611,11 @@ declare function createLayoutApp<C, D>(component: Component): {
|
|
|
16058
17611
|
};
|
|
16059
17612
|
|
|
16060
17613
|
interface GlobalColors {
|
|
16061
|
-
title?: Color;
|
|
16062
|
-
body?: Color;
|
|
16063
|
-
button?: Color;
|
|
16064
|
-
link?: Color;
|
|
16065
|
-
background?: Color;
|
|
17614
|
+
title?: Color$1;
|
|
17615
|
+
body?: Color$1;
|
|
17616
|
+
button?: Color$1;
|
|
17617
|
+
link?: Color$1;
|
|
17618
|
+
background?: Color$1;
|
|
16066
17619
|
}
|
|
16067
17620
|
interface GlobalFonts {
|
|
16068
17621
|
title: string;
|
|
@@ -16123,6 +17676,302 @@ declare function createVueServerApp<C, D>(appComponent: Component, extensions?:
|
|
|
16123
17676
|
};
|
|
16124
17677
|
};
|
|
16125
17678
|
|
|
17679
|
+
/**
|
|
17680
|
+
* Color Utilities
|
|
17681
|
+
*
|
|
17682
|
+
* Utilities for working with Crane Color objects and color calculations.
|
|
17683
|
+
* Includes hex extraction and contrast color calculation.
|
|
17684
|
+
*/
|
|
17685
|
+
/**
|
|
17686
|
+
* Safely extracts hex color from a Color object or string
|
|
17687
|
+
*
|
|
17688
|
+
* Handles multiple input types:
|
|
17689
|
+
* - Color object with hex property
|
|
17690
|
+
* - String (returned as-is)
|
|
17691
|
+
* - undefined/null (returns fallback)
|
|
17692
|
+
*
|
|
17693
|
+
* @param color - The color value (Color object, string, or undefined)
|
|
17694
|
+
* @param fallback - Fallback color if extraction fails
|
|
17695
|
+
* @returns Hex color string
|
|
17696
|
+
*
|
|
17697
|
+
* @example
|
|
17698
|
+
* ```typescript
|
|
17699
|
+
* // With Color object
|
|
17700
|
+
* const hex = getColorHex(titleDesign.color, '#FFFFFF')
|
|
17701
|
+
*
|
|
17702
|
+
* // With string
|
|
17703
|
+
* const hex = getColorHex('#FF0000', '#000000') // Returns '#FF0000'
|
|
17704
|
+
*
|
|
17705
|
+
* // With undefined
|
|
17706
|
+
* const hex = getColorHex(undefined, '#000000') // Returns '#000000'
|
|
17707
|
+
* ```
|
|
17708
|
+
*/
|
|
17709
|
+
declare function getColorHex(color: Color | string | undefined | null, fallback?: string): string;
|
|
17710
|
+
/**
|
|
17711
|
+
* Returns true if background color is dark enough to require light text.
|
|
17712
|
+
* Uses WCAG relative luminance formula for accurate contrast calculation.
|
|
17713
|
+
*
|
|
17714
|
+
* @param backgroundColor - Hex color string (e.g., '#FF0000')
|
|
17715
|
+
* @returns `true` for dark colors, `false` for light colors
|
|
17716
|
+
*/
|
|
17717
|
+
declare function isColorDark(backgroundColor: string): boolean;
|
|
17718
|
+
/**
|
|
17719
|
+
* Returns the best contrast text color for a given background.
|
|
17720
|
+
*
|
|
17721
|
+
* @param backgroundColorHex - Hex color string
|
|
17722
|
+
* @param darkTextColorHex - Color used on light backgrounds
|
|
17723
|
+
* @param lightTextColorHex - Color used on dark backgrounds
|
|
17724
|
+
*/
|
|
17725
|
+
declare function getContrastTextColor(backgroundColorHex: string, darkTextColorHex?: string, lightTextColorHex?: string): string;
|
|
17726
|
+
|
|
17727
|
+
/**
|
|
17728
|
+
* Text Style Utilities
|
|
17729
|
+
*
|
|
17730
|
+
* Utilities for creating CSS styles from Crane TextDesignData.
|
|
17731
|
+
*/
|
|
17732
|
+
|
|
17733
|
+
/**
|
|
17734
|
+
* Creates CSS properties from Crane TextDesignData
|
|
17735
|
+
*
|
|
17736
|
+
* Handles:
|
|
17737
|
+
* - Font family
|
|
17738
|
+
* - Font size (number to px conversion)
|
|
17739
|
+
* - Color (Color object to hex)
|
|
17740
|
+
* - Bold/Italic styles
|
|
17741
|
+
* - Visibility (returns display: none if not visible)
|
|
17742
|
+
*
|
|
17743
|
+
* @param design - TextDesignData from useTextElementDesign
|
|
17744
|
+
* @param options - Default values for missing design properties
|
|
17745
|
+
* @returns CSS properties object for Vue style binding
|
|
17746
|
+
*
|
|
17747
|
+
* @example
|
|
17748
|
+
* ```typescript
|
|
17749
|
+
* import { createTextStyle } from '@lightspeed/crane-api'
|
|
17750
|
+
* import { useTextElementDesign } from '@lightspeed/crane-api'
|
|
17751
|
+
*
|
|
17752
|
+
* const titleDesign = useTextElementDesign<Design>('title')
|
|
17753
|
+
* const titleStyle = computed(() => createTextStyle(titleDesign, {
|
|
17754
|
+
* defaultFont: 'Inter',
|
|
17755
|
+
* defaultSize: 24,
|
|
17756
|
+
* defaultColor: '#333333',
|
|
17757
|
+
* }))
|
|
17758
|
+
*
|
|
17759
|
+
* // In template:
|
|
17760
|
+
* // <h1 :style="titleStyle">{{ title }}</h1>
|
|
17761
|
+
* ```
|
|
17762
|
+
*/
|
|
17763
|
+
declare function createTextStyle(design: TextDesignData | undefined, options?: TextStyleOptions): CSSProperties;
|
|
17764
|
+
|
|
17765
|
+
/**
|
|
17766
|
+
* useBackgroundStyle Composable
|
|
17767
|
+
*
|
|
17768
|
+
* Creates reactive CSS background styles from Crane BackgroundDesignData.
|
|
17769
|
+
* Supports solid colors and gradients.
|
|
17770
|
+
*
|
|
17771
|
+
* @example
|
|
17772
|
+
* ```typescript
|
|
17773
|
+
* import { useBackgroundStyle } from '@lightspeed/crane-api'
|
|
17774
|
+
* import { useBackgroundElementDesign } from '@lightspeed/crane-api'
|
|
17775
|
+
*
|
|
17776
|
+
* const backgroundDesign = useBackgroundElementDesign<Design>('background')
|
|
17777
|
+
* const backgroundStyle = useBackgroundStyle(backgroundDesign)
|
|
17778
|
+
*
|
|
17779
|
+
* // In template:
|
|
17780
|
+
* // <div :style="backgroundStyle">...</div>
|
|
17781
|
+
* ```
|
|
17782
|
+
*/
|
|
17783
|
+
|
|
17784
|
+
/**
|
|
17785
|
+
* Extracts background styles from BackgroundDesignData.
|
|
17786
|
+
*
|
|
17787
|
+
* Returns a style object suitable for CSS `:style` bindings.
|
|
17788
|
+
*
|
|
17789
|
+
* **Gradient fallback behaviour:**
|
|
17790
|
+
* When `background.type === 'gradient'`, each of `fromColor` and `toColor` is resolved
|
|
17791
|
+
* independently via `getColorHex`. If a color is missing/undefined and `fallbackColor` is
|
|
17792
|
+
* an empty string (the default), `getColorHex` returns `''` and the whole style object is
|
|
17793
|
+
* returned as `{}`. If `fallbackColor` is a non-empty string, the missing color is replaced
|
|
17794
|
+
* by that fallback, which may result in a gradient where both stops are the same colour
|
|
17795
|
+
* (e.g. `linear-gradient(to right, #FFFFFF, #FFFFFF)`). This is valid CSS and visually
|
|
17796
|
+
* equivalent to a solid colour, but it is worth being aware of when debugging gradient output.
|
|
17797
|
+
*
|
|
17798
|
+
* @param backgroundDesign - BackgroundDesignData from useBackgroundElementDesign
|
|
17799
|
+
* @param options - Configuration options
|
|
17800
|
+
* @returns CSS background style object
|
|
17801
|
+
*
|
|
17802
|
+
* @example
|
|
17803
|
+
* ```typescript
|
|
17804
|
+
* const backgroundDesign = useBackgroundElementDesign<Design>('background')
|
|
17805
|
+
* const bgStyle = getBackgroundStyle(backgroundDesign, { fallbackColor: '#FFFFFF' })
|
|
17806
|
+
* // Returns: { backgroundColor: '#FF0000' } or { backgroundImage: 'linear-gradient(...)' }
|
|
17807
|
+
* // If one gradient colour is missing and fallbackColor is '#FFFFFF':
|
|
17808
|
+
* // Returns: { backgroundImage: 'linear-gradient(to right, #FFFFFF, #FFFFFF)' }
|
|
17809
|
+
* ```
|
|
17810
|
+
*/
|
|
17811
|
+
declare function getBackgroundStyle(backgroundDesign: BackgroundDesignData | undefined, options?: BackgroundStyleOptions): StyleValue;
|
|
17812
|
+
/**
|
|
17813
|
+
* Creates reactive background styles from Crane BackgroundDesignData
|
|
17814
|
+
*
|
|
17815
|
+
* Supports solid colors and gradients. Returns a computed style object
|
|
17816
|
+
* that can be bound directly to :style attribute.
|
|
17817
|
+
*
|
|
17818
|
+
* @param backgroundDesign - Reactive BackgroundDesignData from useBackgroundElementDesign.
|
|
17819
|
+
* Must be a reactive object (not a plain snapshot) for changes to be tracked.
|
|
17820
|
+
* @param options - Configuration options
|
|
17821
|
+
* @returns Computed style object with backgroundColor or backgroundImage
|
|
17822
|
+
*
|
|
17823
|
+
* @example
|
|
17824
|
+
* ```typescript
|
|
17825
|
+
* const backgroundDesign = useBackgroundElementDesign<Design>('background')
|
|
17826
|
+
* const backgroundStyle = useBackgroundStyle(backgroundDesign)
|
|
17827
|
+
*
|
|
17828
|
+
* // In template:
|
|
17829
|
+
* // <div :style="backgroundStyle">...</div>
|
|
17830
|
+
* ```
|
|
17831
|
+
*/
|
|
17832
|
+
declare function useBackgroundStyle(backgroundDesign: Reactive<BackgroundDesignData> | BackgroundDesignData | undefined, options?: BackgroundStyleOptions): ComputedRef<StyleValue>;
|
|
17833
|
+
|
|
17834
|
+
/**
|
|
17835
|
+
* useButtonStyles Composable
|
|
17836
|
+
*
|
|
17837
|
+
* Generates dynamic button styles based on Crane's ButtonDesignData.
|
|
17838
|
+
* Handles size, appearance, shape, and automatic contrast text color.
|
|
17839
|
+
*
|
|
17840
|
+
* @example
|
|
17841
|
+
* ```typescript
|
|
17842
|
+
* import { useButtonStyles } from '@lightspeed/crane-api'
|
|
17843
|
+
* import { useButtonElementDesign } from '@lightspeed/crane-api'
|
|
17844
|
+
*
|
|
17845
|
+
* const ctaButtonDesign = useButtonElementDesign<Design>('cta_button')
|
|
17846
|
+
* const ctaButtonStyle = useButtonStyles(ctaButtonDesign)
|
|
17847
|
+
*
|
|
17848
|
+
* // In template:
|
|
17849
|
+
* // <button :style="ctaButtonStyle">Click me</button>
|
|
17850
|
+
* ```
|
|
17851
|
+
*/
|
|
17852
|
+
|
|
17853
|
+
/**
|
|
17854
|
+
* Generates dynamic button styles based on Crane's button design data
|
|
17855
|
+
*
|
|
17856
|
+
* Handles:
|
|
17857
|
+
* - Size: 'small', 'medium', 'large' (configurable via options)
|
|
17858
|
+
* - Appearance: 'solid-button', 'outline-button', 'text-link'
|
|
17859
|
+
* - Style (shape): 'rectangle', 'round-corner', 'pill'
|
|
17860
|
+
*
|
|
17861
|
+
* @param buttonDesign - Reactive button design data from useButtonElementDesign.
|
|
17862
|
+
* Must be a reactive object (not a plain snapshot) for changes to be tracked.
|
|
17863
|
+
* @param options - Optional configuration (e.g., custom size styles)
|
|
17864
|
+
* @returns Computed style object for inline application
|
|
17865
|
+
*/
|
|
17866
|
+
declare function useButtonStyles(buttonDesign: Reactive<ButtonDesignData> | Partial<ButtonDesignData> | undefined, options?: UseButtonStylesOptions): ComputedRef<Record<string, string>>;
|
|
17867
|
+
|
|
17868
|
+
/**
|
|
17869
|
+
* useCurrentLanguage Composable
|
|
17870
|
+
*
|
|
17871
|
+
* Provides access to the current language from site context.
|
|
17872
|
+
* Useful for i18n, API calls with language parameter, and conditional rendering.
|
|
17873
|
+
*
|
|
17874
|
+
* @example
|
|
17875
|
+
* ```typescript
|
|
17876
|
+
* import { useCurrentLanguage } from '@lightspeed/crane-api'
|
|
17877
|
+
*
|
|
17878
|
+
* const { currentLanguage } = useCurrentLanguage()
|
|
17879
|
+
*
|
|
17880
|
+
* // Use in API calls
|
|
17881
|
+
* fetchProducts({ lang: currentLanguage.value })
|
|
17882
|
+
*
|
|
17883
|
+
* // Use in computed
|
|
17884
|
+
* const greeting = computed(() =>
|
|
17885
|
+
* currentLanguage.value === 'fr' ? 'Bonjour' : 'Hello'
|
|
17886
|
+
* )
|
|
17887
|
+
* ```
|
|
17888
|
+
*/
|
|
17889
|
+
|
|
17890
|
+
/**
|
|
17891
|
+
* Get current selected language code from site languages.
|
|
17892
|
+
*
|
|
17893
|
+
* Fallback chain: selected language → main language → 'en'.
|
|
17894
|
+
*
|
|
17895
|
+
* @param languages - Array of available languages from site content (global Language type)
|
|
17896
|
+
* @returns Current language code (e.g., 'en', 'nl', 'fr')
|
|
17897
|
+
*/
|
|
17898
|
+
declare function getCurrentLanguageCode(languages: Language[] | undefined): Language['code'];
|
|
17899
|
+
/**
|
|
17900
|
+
* Composable to get current language from site context.
|
|
17901
|
+
*
|
|
17902
|
+
* Uses the global Language type from types.d.ts.
|
|
17903
|
+
* Fallback chain: selected language → main language → 'en'.
|
|
17904
|
+
*
|
|
17905
|
+
* @returns Object containing currentLanguage computed ref
|
|
17906
|
+
*/
|
|
17907
|
+
declare function useCurrentLanguage(): UseCurrentLanguageReturn;
|
|
17908
|
+
|
|
17909
|
+
interface InstantsiteTilePromise {
|
|
17910
|
+
add(callback: (id: string) => void): void;
|
|
17911
|
+
}
|
|
17912
|
+
interface InstantsiteJSAPI {
|
|
17913
|
+
/**
|
|
17914
|
+
* Retrieves the current site ID.
|
|
17915
|
+
*
|
|
17916
|
+
* @returns {number} The site ID.
|
|
17917
|
+
*/
|
|
17918
|
+
getSiteId: () => number;
|
|
17919
|
+
/**
|
|
17920
|
+
* Retrieves the public token for a given app.
|
|
17921
|
+
*
|
|
17922
|
+
* @param {string} appId - The ID of the app.
|
|
17923
|
+
* @returns {string | undefined} The app's public token, or `undefined` if not found.
|
|
17924
|
+
*/
|
|
17925
|
+
getAppPublicToken: (appId: string) => string | undefined;
|
|
17926
|
+
/**
|
|
17927
|
+
* Retrieves the public configuration for a given app.
|
|
17928
|
+
*
|
|
17929
|
+
* @param {string} appId - The ID of the app.
|
|
17930
|
+
* @returns {string | undefined} The app's public configuration, or `undefined` if not found.
|
|
17931
|
+
*/
|
|
17932
|
+
getAppPublicConfig: (appId: string) => string | undefined;
|
|
17933
|
+
/**
|
|
17934
|
+
* An event that triggers when a tile is loaded.
|
|
17935
|
+
*
|
|
17936
|
+
* @type {InstantsiteTilePromise}
|
|
17937
|
+
*
|
|
17938
|
+
* @example
|
|
17939
|
+
* ```ts
|
|
17940
|
+
* const tileLoadedPromise = instantsiteJsApi?.onTileLoaded;
|
|
17941
|
+
*
|
|
17942
|
+
* tileLoadedPromise?.add((tileId) => {
|
|
17943
|
+
* console.log('Tile loaded:', tileId);
|
|
17944
|
+
* });
|
|
17945
|
+
* ```
|
|
17946
|
+
*/
|
|
17947
|
+
onTileLoaded: InstantsiteTilePromise;
|
|
17948
|
+
/**
|
|
17949
|
+
* An event that triggers when a tile is unloaded.
|
|
17950
|
+
*
|
|
17951
|
+
* @type {InstantsiteTilePromise}
|
|
17952
|
+
*
|
|
17953
|
+
* @example
|
|
17954
|
+
* ```ts
|
|
17955
|
+
* const tileUnloadedPromise = instantsiteJsApi?.onTileUnloaded;
|
|
17956
|
+
*
|
|
17957
|
+
* tileUnloadedPromise?.add((tileId) => {
|
|
17958
|
+
* console.log('Tile unloaded:', tileId);
|
|
17959
|
+
* });
|
|
17960
|
+
* ```
|
|
17961
|
+
*/
|
|
17962
|
+
onTileUnloaded: InstantsiteTilePromise;
|
|
17963
|
+
/**
|
|
17964
|
+
* Opens the search page with the specified keyword.
|
|
17965
|
+
*
|
|
17966
|
+
* @param {string | undefined} keyword - The keyword to search for.
|
|
17967
|
+
* @returns {void}
|
|
17968
|
+
*/
|
|
17969
|
+
openSearchPage: (keyword: string | undefined) => void;
|
|
17970
|
+
}
|
|
17971
|
+
|
|
17972
|
+
/** Composable for Instantsite JS API. Returns `window.instantsite` for platform interaction. */
|
|
17973
|
+
declare function useInstantsiteJsApi(): InstantsiteJSAPI | undefined;
|
|
17974
|
+
|
|
16126
17975
|
/**
|
|
16127
17976
|
* Composable for accessing BUTTON content with action link.
|
|
16128
17977
|
*
|
|
@@ -16181,7 +18030,7 @@ declare function useButtonElementContent<CONTENT>(elementName: string, externalC
|
|
|
16181
18030
|
* @returns `Reactive<CategorySelector>` — reactive object with:
|
|
16182
18031
|
* - `categories: ComputedRef<CategoryListComponentItem[]>` — array of category objects with `id`, `name`, `url`, `imageUrl`, etc.
|
|
16183
18032
|
* - `categoryIds: ComputedRef<Array<number>>` — array of selected category IDs
|
|
16184
|
-
* - `hasContent: ComputedRef<boolean>` — `true` if
|
|
18033
|
+
* - `hasContent: ComputedRef<boolean>` — `true` if there are categories to render
|
|
16185
18034
|
* - `hasCategories: ComputedRef<boolean>` — `true` if at least one category is selected
|
|
16186
18035
|
*
|
|
16187
18036
|
* @see {@link CategorySelectorContent}
|
|
@@ -16407,7 +18256,7 @@ declare function useNavigationMenuElementContent<CONTENT>(): {
|
|
|
16407
18256
|
* - `products: ComputedRef<ProductListComponentItem[]>` — array of product objects with `id`, `name`, `price`, `imageUrl`, etc.
|
|
16408
18257
|
* - `categories: ComputedRef<CategoryListComponentItem[]>` — array of categories (when using category selection)
|
|
16409
18258
|
* - `categoryId: ComputedRef<number>` — selected category ID (when using category selection)
|
|
16410
|
-
* - `hasContent: ComputedRef<boolean>` — `true` if
|
|
18259
|
+
* - `hasContent: ComputedRef<boolean>` — `true` if there are products to render
|
|
16411
18260
|
* - `hasProducts: ComputedRef<boolean>` — `true` if at least one product is selected
|
|
16412
18261
|
*
|
|
16413
18262
|
* @see {@link ProductSelectorContent}
|
|
@@ -16694,7 +18543,7 @@ declare function useBackgroundElementDesign<DESIGN>(elementName: keyof DESIGN):
|
|
|
16694
18543
|
* </button>
|
|
16695
18544
|
* ```
|
|
16696
18545
|
*/
|
|
16697
|
-
declare function useButtonElementDesign<DESIGN>(elementName: keyof DESIGN): Reactive<ButtonDesignData>;
|
|
18546
|
+
declare function useButtonElementDesign<DESIGN>(elementName: keyof DESIGN): Reactive<ButtonDesignData$1>;
|
|
16698
18547
|
|
|
16699
18548
|
/**
|
|
16700
18549
|
* Composable for accessing IMAGE design settings.
|
|
@@ -17764,5 +19613,5 @@ declare const translation: {
|
|
|
17764
19613
|
readonly init: (config: TranslationSettings) => TranslationSettings;
|
|
17765
19614
|
};
|
|
17766
19615
|
|
|
17767
|
-
export { ActionLinkTypeEnum, BackgroundStyleEnum, ButtonAppearanceEnum, ButtonShapeEnum, ButtonSizeEnum, ButtonTypeEnum, CatalogLayoutSlot, CategoryLayoutSlot, Color, ConfigTypeEnum, DesignEditorType, EditorTypes, ImageSet, InstantsiteJsEvent, LogoTypeEnum, OverlayType, OverlayTypeEnum, PluginTypeEnum, ProductLayoutSlot, SectionTypeEnum, TemplateCategoriesList, ValidationTypeEnum, asStructuredColor, collection, content, createLayoutApp, createVueClientApp, createVueServerApp, design, layout, section, showcase, template, translation, useAccordionElementDesign, useBackgroundElementDesign, useButtonElementContent, useButtonElementDesign, useCategorySelectorElementContent, useDeckElementContent, useImageElementContent, useImageElementDesign, useInputboxElementContent, useInstantsiteJsApi, useLayoutElementDesign, useLogoElementContent, useLogoElementDesign, useMenuElementContent, useNavigationMenuElementContent, useProductSelectorElementContent, useSelectboxElementContent, useSelectboxElementDesign, useTextElementDesign, useTextareaElementContent, useTextareaElementDesign, useToggleElementContent, useToggleElementDesign, useTranslation, useVueBaseProps };
|
|
17768
|
-
export type { AccordionDesignData, AccordionDesignEditor, AccordionDesignEditorDefaults, AccordionDesignItemData, AccordionItem, AccordionShowcaseDesignEditorDefaults, ActionLink, AppBaseContext, AppBaseData, AppBaseState, Background, BackgroundDesignData$1 as BackgroundDesignData, BackgroundDesignEditor, BackgroundDesignEditorDefaults, BackgroundDesignEditorDefaultsTransformed, BackgroundTransformed, BackgroundType, ButtonAppearance, ButtonContentData, ButtonContentEditor, ButtonContentEditorDefaults, ButtonDesignData, ButtonDesignEditor, ButtonDesignEditorDefaults, ButtonDesignEditorDefaultsTransformed, ButtonSize, ButtonStyle, CapitalizationType, Card, CategorySelectorContent, CategorySelectorContentEditor, CategorySelectorContentEditorDefaults, CategorySelectorData, CollectionDescriptor, CollectionDescriptorContent, CollectionDescriptorMetadata, ColorPickerDesignEditor, ColorPickerDesignEditorDefaults, ColorPickerDesignEditorDefaultsTransformed, ContentEditor, ContentEditorDefaults, ContentSettings, CustomSection, Deck, DeckContent, DeckContentEditor, DefaultSection, DesignEditor, DesignEditorDefaults, DesignEditorDefaultsTransformed, DesignSettings, DividerContentEditor, DividerContentEditorDefaults, DividerDesignEditor, Font, Frame, GlobalColorsString, GlobalDesign$1 as GlobalDesign, GlobalFontsString, GlobalTextSizeString, GradientColor, GradientColorTransformed, HSLColor, ImageBorderInfoData, ImageContent, ImageContentData, ImageContentEditor, ImageContentEditorDefaults, ImageDesignData$1 as ImageDesignData, ImageDesignEditor, ImageDesignEditorDefaults, ImageDesignEditorDefaultsTransformed, ImageInfoData, InfoContentEditor, InfoContentEditorDefaults, InfoDesignEditor, InfoDesignEditorDefaults, InputBoxContent, InputboxContentEditor, InputboxContentEditorDefaults, InstantsiteJSAPI$1 as InstantsiteJSAPI, InstantsiteTilePromise$1 as InstantsiteTilePromise, InternalColor, LayoutDesignData, LayoutDesignOverride, LayoutSettings, LogoContent, LogoContentData, LogoContentEditor, LogoContentEditorDefaults, LogoDesignData$1 as LogoDesignData, LogoDesignEditor, LogoDesignEditorDefaults, LogoDesignEditorDefaultsTransformed, LogoType, MandatoryContentSettings, MandatoryDesignSettings, Manifest, MenuContent, MenuContentData, MenuContentEditor, MenuItem, NavigationMenuContentEditor, Overlay, OverlayTransformed, ProductSelectorContent, ProductSelectorContentEditor, ProductSelectorContentEditorDefaults, ProductSelectorData, RGBAColor, Section, SelectBoxContent, SelectboxContentEditor, SelectboxContentEditorDefaults, SelectboxContentOption, SelectboxDesignData, SelectboxDesignEditor, SelectboxDesignEditorDefaults, SelectboxDesignEditorDefaultsTransformed, Showcase, ShowcaseAccordionItem, ShowcaseContentEditorsDefaults, ShowcaseDeckContentEditorDefaults, ShowcaseImageContentEditorDefaults, ShowcaseInputboxContentEditorDefaults, ShowcaseLogoContentEditorDefaults, ShowcaseMenuContentEditorDefaults, ShowcaseNavigationMenuContentEditorDefaults, ShowcaseOverride, ShowcaseTextareaContentEditorDefaults, SolidColor, SolidColorTransformed, StorePageConfiguration, StorefrontSection, StorefrontSectionId, Template, TemplateConfiguration, TemplateConfigurationSection, TemplateCustomSection, TemplateDefaultSection, TemplateMetadata, TemplatePage, TemplatePageNamed, TemplateStorefrontSection, TextAreaContent, TextDesignData$1 as TextDesignData, TextDesignEditor, TextDesignEditorDefaults, TextDesignEditorDefaultsTransformed, TextSize, TextareaContentEditor, TextareaContentEditorDefaults, TextareaDesignData$1 as TextareaDesignData, ToggleContent, ToggleContentData, ToggleContentEditor, ToggleContentEditorDefaults, ToggleDesignData, ToggleDesignEditor, ToggleDesignEditorDefaults, ToggleDesignEditorDefaultsTransformed, TransformedFrame, TranslationSettings, VuegaPageId };
|
|
19616
|
+
export { ActionLinkTypeEnum, BackgroundStyleEnum, ButtonAppearanceEnum, ButtonShapeEnum, ButtonSizeEnum, ButtonTypeEnum, CatalogLayoutSlot, CategoryLayoutSlot, Color$1 as Color, ConfigTypeEnum, DesignEditorType, EditorTypes, ImageSet, InstantsiteJsEvent, LogoTypeEnum, OverlayType, OverlayTypeEnum, PluginTypeEnum, ProductLayoutSlot, SectionTypeEnum, TemplateCategoriesList, ValidationTypeEnum, asStructuredColor, collection, content, createLayoutApp, createTextStyle, createVueClientApp, createVueServerApp, design, getBackgroundStyle, getColorHex, getContrastTextColor, getCurrentLanguageCode, isColorDark, layout, section, showcase, template, translation, useAccordionElementDesign, useBackgroundElementDesign, useBackgroundStyle, useButtonElementContent, useButtonElementDesign, useButtonStyles, useCategorySelectorElementContent, useCurrentLanguage, useDeckElementContent, useImageElementContent, useImageElementDesign, useInputboxElementContent, useInstantsiteJsApi, useLayoutElementDesign, useLogoElementContent, useLogoElementDesign, useMenuElementContent, useNavigationMenuElementContent, useProductSelectorElementContent, useSelectboxElementContent, useSelectboxElementDesign, useTextElementDesign, useTextareaElementContent, useTextareaElementDesign, useToggleElementContent, useToggleElementDesign, useTranslation, useVueBaseProps };
|
|
19617
|
+
export type { AccordionDesignData, AccordionDesignEditor, AccordionDesignEditorDefaults, AccordionDesignItemData, AccordionItem, AccordionShowcaseDesignEditorDefaults, ActionLink, AppBaseContext, AppBaseData, AppBaseState, Background, BackgroundDesignData$1 as BackgroundDesignData, BackgroundDesignEditor, BackgroundDesignEditorDefaults, BackgroundDesignEditorDefaultsTransformed, BackgroundStyleOptions, BackgroundTransformed, BackgroundType, ButtonAppearance, ButtonContentData, ButtonContentEditor, ButtonContentEditorDefaults, ButtonDesignData$1 as ButtonDesignData, ButtonDesignEditor, ButtonDesignEditorDefaults, ButtonDesignEditorDefaultsTransformed, ButtonSize, ButtonSizeStyles, ButtonStyle, CapitalizationType, Card, CategorySelectorContent, CategorySelectorContentEditor, CategorySelectorContentEditorDefaults, CategorySelectorData, CollectionDescriptor, CollectionDescriptorContent, CollectionDescriptorMetadata, ColorPickerDesignEditor, ColorPickerDesignEditorDefaults, ColorPickerDesignEditorDefaultsTransformed, ContentEditor, ContentEditorDefaults, ContentSettings, CustomSection, Deck, DeckContent, DeckContentEditor, DefaultSection, DesignEditor, DesignEditorDefaults, DesignEditorDefaultsTransformed, DesignSettings, DividerContentEditor, DividerContentEditorDefaults, DividerDesignEditor, Font, Frame, GlobalColorsString, GlobalDesign$1 as GlobalDesign, GlobalFontsString, GlobalTextSizeString, GradientColor, GradientColorTransformed, HSLColor, ImageBorderInfoData, ImageContent, ImageContentData, ImageContentEditor, ImageContentEditorDefaults, ImageDesignData$1 as ImageDesignData, ImageDesignEditor, ImageDesignEditorDefaults, ImageDesignEditorDefaultsTransformed, ImageInfoData, InfoContentEditor, InfoContentEditorDefaults, InfoDesignEditor, InfoDesignEditorDefaults, InputBoxContent, InputboxContentEditor, InputboxContentEditorDefaults, InstantsiteJSAPI$1 as InstantsiteJSAPI, InstantsiteTilePromise$1 as InstantsiteTilePromise, InternalColor, LayoutDesignData, LayoutDesignOverride, LayoutSettings, LogoContent, LogoContentData, LogoContentEditor, LogoContentEditorDefaults, LogoDesignData$1 as LogoDesignData, LogoDesignEditor, LogoDesignEditorDefaults, LogoDesignEditorDefaultsTransformed, LogoType, MandatoryContentSettings, MandatoryDesignSettings, Manifest, MenuContent, MenuContentData, MenuContentEditor, MenuItem, NavigationMenuContentEditor, Overlay, OverlayTransformed, ProductSelectorContent, ProductSelectorContentEditor, ProductSelectorContentEditorDefaults, ProductSelectorData, RGBAColor, Section, SelectBoxContent, SelectboxContentEditor, SelectboxContentEditorDefaults, SelectboxContentOption, SelectboxDesignData, SelectboxDesignEditor, SelectboxDesignEditorDefaults, SelectboxDesignEditorDefaultsTransformed, Showcase, ShowcaseAccordionItem, ShowcaseContentEditorsDefaults, ShowcaseDeckContentEditorDefaults, ShowcaseImageContentEditorDefaults, ShowcaseInputboxContentEditorDefaults, ShowcaseLogoContentEditorDefaults, ShowcaseMenuContentEditorDefaults, ShowcaseNavigationMenuContentEditorDefaults, ShowcaseOverride, ShowcaseTextareaContentEditorDefaults, SolidColor, SolidColorTransformed, StorePageConfiguration, StorefrontSection, StorefrontSectionId, Template, TemplateConfiguration, TemplateConfigurationSection, TemplateCustomSection, TemplateDefaultSection, TemplateMetadata, TemplatePage, TemplatePageNamed, TemplateStorefrontSection, TextAreaContent, TextDesignData$1 as TextDesignData, TextDesignEditor, TextDesignEditorDefaults, TextDesignEditorDefaultsTransformed, TextSize, TextStyleOptions, TextareaContentEditor, TextareaContentEditorDefaults, TextareaDesignData$1 as TextareaDesignData, ToggleContent, ToggleContentData, ToggleContentEditor, ToggleContentEditorDefaults, ToggleDesignData, ToggleDesignEditor, ToggleDesignEditorDefaults, ToggleDesignEditorDefaultsTransformed, TransformedFrame, TranslationSettings, UseButtonStylesOptions, UseCurrentLanguageReturn, VuegaPageId };
|