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