@gem-sdk/core 1.42.7 → 1.43.0-dev.102
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/dist/cjs/components/ComponentToolbarPreview.js +126 -7
- package/dist/cjs/components/ComponentWrapperPreview.js +44 -1
- package/dist/cjs/components/Render.liquid.js +3 -0
- package/dist/cjs/components/RenderCustomCode.js +3 -0
- package/dist/cjs/components/RenderPreview.js +1 -0
- package/dist/cjs/components/ai-generator/AIContentGenerator.js +252 -0
- package/dist/cjs/components/ai-generator/AIGenContentLoading.js +85 -0
- package/dist/cjs/components/ai-generator/components/PickProduct.js +219 -0
- package/dist/cjs/components/ai-generator/components/ToneAndVoice.js +77 -0
- package/dist/cjs/components/ai-generator/hooks/useCheckingProductInside.js +47 -0
- package/dist/cjs/components/ai-generator/hooks/useFlipPopup.js +110 -0
- package/dist/cjs/components/ai-generator/hooks/useGettingGenerateRequest.js +37 -0
- package/dist/cjs/components/ai-generator/hooks/useListenEventGenerate.js +70 -0
- package/dist/cjs/components/ai-generator/icons/AIIcon.js +67 -0
- package/dist/cjs/components/ai-generator/icons/CloseIcon.js +19 -0
- package/dist/cjs/components/ai-generator/icons/DropdownIcon.js +37 -0
- package/dist/cjs/components/ai-generator/icons/SearchIcon.js +21 -0
- package/dist/cjs/components/ai-generator/icons/ShowMoreIcon.js +21 -0
- package/dist/cjs/components/ai-generator/icons/UpgradeIcon.js +27 -0
- package/dist/cjs/components/ai-generator/icons/WarningIcon.js +31 -0
- package/dist/cjs/components/constant.js +19 -2
- package/dist/cjs/components/resize/Spacing.js +21 -11
- package/dist/cjs/components/theme-section/CreateThemeSection.js +3 -0
- package/dist/cjs/components/theme-section/ThemeSectionStatus.js +14 -5
- package/dist/cjs/contexts/ArticleContext.js +39 -0
- package/dist/cjs/contexts/ArticleListContext.js +31 -0
- package/dist/cjs/contexts/BuilderPreviewContext.js +17 -10
- package/dist/cjs/contexts/SectionContext.js +1 -0
- package/dist/cjs/contexts/ShopContext.js +18 -0
- package/dist/cjs/graphql/queries/articles.generated.js +55 -0
- package/dist/cjs/graphql/queries/blogs.generated.js +63 -0
- package/dist/cjs/helpers/align.js +19 -0
- package/dist/cjs/helpers/background.js +6 -3
- package/dist/cjs/helpers/carousel.js +7 -10
- package/dist/cjs/helpers/colors.js +2 -2
- package/dist/cjs/helpers/queries/get-products.js +23 -0
- package/dist/cjs/helpers/shadow.js +1 -1
- package/dist/cjs/helpers/typography.js +43 -8
- package/dist/cjs/hooks/articles/useArticlesQuery.js +32 -0
- package/dist/cjs/hooks/shop/use-products-query.js +29 -0
- package/dist/cjs/hooks/useAnimations.js +3 -0
- package/dist/cjs/hooks/useFormatMoney.js +61 -60
- package/dist/cjs/hooks/useInitialSwatchesOptions.js +3 -0
- package/dist/cjs/hooks/useProduct.js +3 -0
- package/dist/cjs/index.js +14 -0
- package/dist/esm/components/ComponentToolbarPreview.js +127 -8
- package/dist/esm/components/ComponentWrapperPreview.js +44 -1
- package/dist/esm/components/Render.liquid.js +3 -0
- package/dist/esm/components/RenderCustomCode.js +3 -0
- package/dist/esm/components/RenderPreview.js +1 -0
- package/dist/esm/components/ai-generator/AIContentGenerator.js +250 -0
- package/dist/esm/components/ai-generator/AIGenContentLoading.js +83 -0
- package/dist/esm/components/ai-generator/components/PickProduct.js +217 -0
- package/dist/esm/components/ai-generator/components/ToneAndVoice.js +75 -0
- package/dist/esm/components/ai-generator/hooks/useCheckingProductInside.js +45 -0
- package/dist/esm/components/ai-generator/hooks/useFlipPopup.js +108 -0
- package/dist/esm/components/ai-generator/hooks/useGettingGenerateRequest.js +35 -0
- package/dist/esm/components/ai-generator/hooks/useListenEventGenerate.js +68 -0
- package/dist/esm/components/ai-generator/icons/AIIcon.js +65 -0
- package/dist/esm/components/ai-generator/icons/CloseIcon.js +17 -0
- package/dist/esm/components/ai-generator/icons/DropdownIcon.js +34 -0
- package/dist/esm/components/ai-generator/icons/SearchIcon.js +19 -0
- package/dist/esm/components/ai-generator/icons/ShowMoreIcon.js +19 -0
- package/dist/esm/components/ai-generator/icons/UpgradeIcon.js +25 -0
- package/dist/esm/components/ai-generator/icons/WarningIcon.js +29 -0
- package/dist/esm/components/constant.js +19 -3
- package/dist/esm/components/resize/Spacing.js +21 -11
- package/dist/esm/components/theme-section/CreateThemeSection.js +3 -0
- package/dist/esm/components/theme-section/ThemeSectionStatus.js +14 -5
- package/dist/esm/contexts/ArticleContext.js +36 -0
- package/dist/esm/contexts/ArticleListContext.js +27 -0
- package/dist/esm/contexts/BuilderPreviewContext.js +17 -10
- package/dist/esm/contexts/SectionContext.js +1 -0
- package/dist/esm/contexts/ShopContext.js +19 -1
- package/dist/esm/graphql/queries/articles.generated.js +53 -0
- package/dist/esm/graphql/queries/blogs.generated.js +61 -0
- package/dist/esm/helpers/align.js +17 -0
- package/dist/esm/helpers/background.js +6 -4
- package/dist/esm/helpers/carousel.js +7 -10
- package/dist/esm/helpers/colors.js +2 -2
- package/dist/esm/helpers/queries/get-products.js +23 -1
- package/dist/esm/helpers/shadow.js +1 -1
- package/dist/esm/helpers/typography.js +43 -9
- package/dist/esm/hooks/articles/useArticlesQuery.js +29 -0
- package/dist/esm/hooks/shop/use-products-query.js +30 -2
- package/dist/esm/hooks/useAnimations.js +3 -0
- package/dist/esm/hooks/useFormatMoney.js +61 -61
- package/dist/esm/hooks/useInitialSwatchesOptions.js +3 -0
- package/dist/esm/hooks/useProduct.js +3 -0
- package/dist/esm/index.js +7 -3
- package/dist/types/index.d.ts +263 -51
- package/package.json +6 -3
package/dist/types/index.d.ts
CHANGED
|
@@ -60,7 +60,8 @@ type Analytic$1 = {
|
|
|
60
60
|
gaTrackingID?: Maybe$1<Scalars$2['String']>;
|
|
61
61
|
tiktokPixelID?: Maybe$1<Scalars$2['String']>;
|
|
62
62
|
};
|
|
63
|
-
type Article$
|
|
63
|
+
type Article$2 = {
|
|
64
|
+
author?: Maybe$1<Scalars$2['String']>;
|
|
64
65
|
baseID?: Maybe$1<Scalars$2['String']>;
|
|
65
66
|
blogs?: Maybe$1<BlogConnection$1>;
|
|
66
67
|
description?: Maybe$1<Scalars$2['String']>;
|
|
@@ -68,8 +69,10 @@ type Article$1 = {
|
|
|
68
69
|
handle?: Maybe$1<Scalars$2['String']>;
|
|
69
70
|
id: Scalars$2['ID'];
|
|
70
71
|
isSample?: Maybe$1<Scalars$2['Boolean']>;
|
|
72
|
+
media?: Maybe$1<Media$1>;
|
|
71
73
|
metafield?: Maybe$1<Metafield$1>;
|
|
72
74
|
platform?: Maybe$1<ArticlePlatform$1>;
|
|
75
|
+
platformCreatedAt?: Maybe$1<Scalars$2['Time']>;
|
|
73
76
|
tags: Array<Scalars$2['String']>;
|
|
74
77
|
templateSuffix?: Maybe$1<Scalars$2['String']>;
|
|
75
78
|
title?: Maybe$1<Scalars$2['String']>;
|
|
@@ -133,7 +136,7 @@ type ArticleConnection$1 = {
|
|
|
133
136
|
};
|
|
134
137
|
type ArticleEdge$1 = {
|
|
135
138
|
cursor?: Maybe$1<Scalars$2['Cursor']>;
|
|
136
|
-
node?: Maybe$1<Article$
|
|
139
|
+
node?: Maybe$1<Article$2>;
|
|
137
140
|
};
|
|
138
141
|
type ArticleOrder$1 = {
|
|
139
142
|
direction: OrderDirection$1;
|
|
@@ -5722,7 +5725,7 @@ type PublishedThemeStyleWhereInput$1 = {
|
|
|
5722
5725
|
type Query$1 = {
|
|
5723
5726
|
_entities: Array<Maybe$1<_Entity>>;
|
|
5724
5727
|
_service: _Service;
|
|
5725
|
-
article?: Maybe$1<Article$
|
|
5728
|
+
article?: Maybe$1<Article$2>;
|
|
5726
5729
|
articles?: Maybe$1<ArticleConnection$1>;
|
|
5727
5730
|
blog?: Maybe$1<Blog$1>;
|
|
5728
5731
|
blogs?: Maybe$1<BlogConnection$1>;
|
|
@@ -6237,7 +6240,7 @@ type shop__Service = _Service;
|
|
|
6237
6240
|
declare namespace shop {
|
|
6238
6241
|
export {
|
|
6239
6242
|
Analytic$1 as Analytic,
|
|
6240
|
-
Article$
|
|
6243
|
+
Article$2 as Article,
|
|
6241
6244
|
ArticleBlogWhereInput$1 as ArticleBlogWhereInput,
|
|
6242
6245
|
ArticleBlogsArgs$1 as ArticleBlogsArgs,
|
|
6243
6246
|
ArticleConnection$1 as ArticleConnection,
|
|
@@ -6471,6 +6474,7 @@ type BlockEntity = {
|
|
|
6471
6474
|
name?: string;
|
|
6472
6475
|
dateModified?: string | number;
|
|
6473
6476
|
childrens?: string[];
|
|
6477
|
+
rawChildrens?: BlockEntity[];
|
|
6474
6478
|
settings?: Record<string, any>;
|
|
6475
6479
|
advanced?: Record<string, any>;
|
|
6476
6480
|
styles?: Record<string, any>;
|
|
@@ -6478,6 +6482,9 @@ type BlockEntity = {
|
|
|
6478
6482
|
type?: 'component';
|
|
6479
6483
|
isThemeSection?: boolean;
|
|
6480
6484
|
needPublishing?: boolean;
|
|
6485
|
+
status?: ThemeSectionStatus$1;
|
|
6486
|
+
isShopifySection?: boolean;
|
|
6487
|
+
isShopifyVisibility?: boolean;
|
|
6481
6488
|
};
|
|
6482
6489
|
type SectionEntity = {
|
|
6483
6490
|
uid: string;
|
|
@@ -6486,8 +6493,12 @@ type SectionEntity = {
|
|
|
6486
6493
|
type: 'section';
|
|
6487
6494
|
name?: string;
|
|
6488
6495
|
isThemeSection?: boolean;
|
|
6496
|
+
status?: ThemeSectionStatus$1;
|
|
6489
6497
|
needPublishing?: boolean;
|
|
6498
|
+
isShopifySection?: boolean;
|
|
6499
|
+
isShopifyVisibility?: boolean;
|
|
6490
6500
|
};
|
|
6501
|
+
type ThemeSectionStatus$1 = 'DRAFT' | 'PUBLISHED' | 'NEED_PUBLISHING';
|
|
6491
6502
|
type BuilderEntity = BlockEntity | SectionEntity;
|
|
6492
6503
|
type BuilderEntityNested = Omit<BlockEntity, 'childrens'> & {
|
|
6493
6504
|
childrens?: BuilderEntityNested[];
|
|
@@ -6537,9 +6548,15 @@ type SaleFunnelDiscountEdge$1 = {
|
|
|
6537
6548
|
cursor: Scalars$1['Cursor'];
|
|
6538
6549
|
node?: Maybe$1<SaleFunnelDiscount$1>;
|
|
6539
6550
|
};
|
|
6540
|
-
type ProductOffer = Maybe$1<Pick<SaleFunnelDiscountEdge$1,
|
|
6541
|
-
node?: Maybe$1<Pick<SaleFunnelDiscount$1,
|
|
6551
|
+
type ProductOffer = Maybe$1<Pick<SaleFunnelDiscountEdge$1, 'cursor'> & {
|
|
6552
|
+
node?: Maybe$1<Pick<SaleFunnelDiscount$1, 'id' | 'value' | 'type' | 'position' | 'objectBaseID' | 'objectType' | 'title' | 'valueType' | 'isEnabled'>>;
|
|
6542
6553
|
}>;
|
|
6554
|
+
type RawChild = {
|
|
6555
|
+
uid: string;
|
|
6556
|
+
builder: Record<string, any>;
|
|
6557
|
+
components: Record<string, any>;
|
|
6558
|
+
[key: string]: any;
|
|
6559
|
+
};
|
|
6543
6560
|
|
|
6544
6561
|
type InitComponentType<T = any> = {
|
|
6545
6562
|
[K in keyof T]-?: {
|
|
@@ -6606,7 +6623,7 @@ type Component = InitComponentType & {
|
|
|
6606
6623
|
};
|
|
6607
6624
|
type NameDevices$1 = 'desktop' | 'tablet' | 'mobile';
|
|
6608
6625
|
type ObjectDevices<T> = Partial<Record<NameDevices$1, T>>;
|
|
6609
|
-
type StateType = 'normal' | 'hover' | 'focus' | 'active';
|
|
6626
|
+
type StateType = 'normal' | 'hover' | 'focus' | 'active' | 'price' | 'compareAtPrice';
|
|
6610
6627
|
type StateProp<T> = Partial<Record<StateType, T>>;
|
|
6611
6628
|
type ResponsiveStateProp<T> = ObjectDevices<StateProp<T>>;
|
|
6612
6629
|
type AlignItemProp = 'left' | 'center' | 'right';
|
|
@@ -6727,6 +6744,8 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
6727
6744
|
hover?: boolean;
|
|
6728
6745
|
focus?: boolean;
|
|
6729
6746
|
active?: boolean;
|
|
6747
|
+
price?: boolean;
|
|
6748
|
+
compareAtPrice?: boolean;
|
|
6730
6749
|
};
|
|
6731
6750
|
emptyOnClear?: boolean;
|
|
6732
6751
|
showVideo?: boolean;
|
|
@@ -6914,6 +6933,7 @@ type InputControlType<T> = SharedControlType<T> & {
|
|
|
6914
6933
|
value: any;
|
|
6915
6934
|
}[];
|
|
6916
6935
|
readonly?: boolean;
|
|
6936
|
+
suffix?: string;
|
|
6917
6937
|
action?: {
|
|
6918
6938
|
clear?: boolean;
|
|
6919
6939
|
};
|
|
@@ -6933,7 +6953,7 @@ type InputNumberControlType<T> = SharedControlType<T> & {
|
|
|
6933
6953
|
readonly?: boolean;
|
|
6934
6954
|
};
|
|
6935
6955
|
|
|
6936
|
-
type SizeUnit$2 = 's' | '%' | 'cm' | 'mm' | 'Q' | 'in' | 'pc' | 'pt' | 'px' | 'em' | 'cap' | 'ex' | 'ch' | 'ic' | 'rem' | 'lh' | 'rlh' | 'vw' | 'vh' | 'vi' | 'vb' | 'vmin' | 'vmax' | 'ms' | 'min';
|
|
6956
|
+
type SizeUnit$2 = 's' | '%' | 'cm' | 'mm' | 'Q' | 'in' | 'pc' | 'pt' | 'px' | 'em' | 'cap' | 'ex' | 'ch' | 'ic' | 'rem' | 'lh' | 'rlh' | 'vw' | 'vh' | 'vi' | 'vb' | 'vmin' | 'vmax' | 'ms' | 'min' | 'days';
|
|
6937
6957
|
type InputUnitControlType<T> = SharedControlType<T> & {
|
|
6938
6958
|
type: 'input:unit';
|
|
6939
6959
|
placeholder?: string;
|
|
@@ -6958,6 +6978,7 @@ type PositionControlType<T> = SharedControlType<T> & {
|
|
|
6958
6978
|
|
|
6959
6979
|
type PositionSquareControlType<T> = SharedControlType<T> & {
|
|
6960
6980
|
type: 'position:square';
|
|
6981
|
+
ignoreValue?: string[];
|
|
6961
6982
|
};
|
|
6962
6983
|
|
|
6963
6984
|
type RadioGroupControlType = {
|
|
@@ -6978,6 +6999,7 @@ type RangeControlType<T> = SharedControlType<T> & {
|
|
|
6978
6999
|
disableOnChange?: boolean;
|
|
6979
7000
|
useOnlyUnitInit?: boolean;
|
|
6980
7001
|
hideUnit?: boolean;
|
|
7002
|
+
hideInput?: boolean;
|
|
6981
7003
|
};
|
|
6982
7004
|
|
|
6983
7005
|
type Option$3<T> = {
|
|
@@ -7034,6 +7056,14 @@ type SegmentControlType<T> = {
|
|
|
7034
7056
|
[K in keyof T]-?: Mapped$4<K, T[K]>;
|
|
7035
7057
|
}[keyof T];
|
|
7036
7058
|
|
|
7059
|
+
type OpenLinkControlType<T> = SharedControlType<T> & {
|
|
7060
|
+
type: 'open-link';
|
|
7061
|
+
target?: string;
|
|
7062
|
+
href: string;
|
|
7063
|
+
appName?: string;
|
|
7064
|
+
linkType?: 'openApp' | 'install';
|
|
7065
|
+
};
|
|
7066
|
+
|
|
7037
7067
|
type Option$2<T> = {
|
|
7038
7068
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
7039
7069
|
label: string | number;
|
|
@@ -7097,6 +7127,8 @@ type TextareaControlType<T> = SharedControlType<T> & {
|
|
|
7097
7127
|
minHeight?: number;
|
|
7098
7128
|
maxWidth?: number;
|
|
7099
7129
|
autoHeight?: boolean;
|
|
7130
|
+
defaultRows?: number;
|
|
7131
|
+
showPlusBtn?: boolean;
|
|
7100
7132
|
suggestContents?: {
|
|
7101
7133
|
message: string;
|
|
7102
7134
|
eg?: string;
|
|
@@ -7148,6 +7180,7 @@ type BehaviorStateControlType<T> = {
|
|
|
7148
7180
|
type BoxShadowControlType<T> = SharedControlType<T> & {
|
|
7149
7181
|
id?: string;
|
|
7150
7182
|
type: 'boxShadow';
|
|
7183
|
+
hideOptions?: string[];
|
|
7151
7184
|
popup?: boolean;
|
|
7152
7185
|
};
|
|
7153
7186
|
|
|
@@ -7409,6 +7442,11 @@ type ProductListControlType<T> = SharedControlType<T> & {
|
|
|
7409
7442
|
isMultiple?: boolean;
|
|
7410
7443
|
};
|
|
7411
7444
|
|
|
7445
|
+
type ArticleListControlType<T> = SharedControlType<T> & {
|
|
7446
|
+
type: 'article-list';
|
|
7447
|
+
isMultiple?: boolean;
|
|
7448
|
+
};
|
|
7449
|
+
|
|
7412
7450
|
type SizeUnit$1 = '%' | 'cm' | 'mm' | 'Q' | 'in' | 'pc' | 'pt' | 'px' | 'em' | 'cap' | 'ex' | 'ch' | 'ic' | 'rem' | 'lh' | 'rlh' | 'vw' | 'vh' | 'vi' | 'vb' | 'vmin' | 'vmax';
|
|
7413
7451
|
type InputUnitSpacingControlType<T> = SharedControlType<T> & {
|
|
7414
7452
|
type: 'input:unit-spacing';
|
|
@@ -7447,6 +7485,7 @@ type TypographyV2ControlType<T> = SharedControlType<T> & {
|
|
|
7447
7485
|
color?: boolean;
|
|
7448
7486
|
transform?: boolean;
|
|
7449
7487
|
};
|
|
7488
|
+
disableCollapse?: boolean;
|
|
7450
7489
|
};
|
|
7451
7490
|
|
|
7452
7491
|
type StickyDisplayControlType<T> = SharedControlType<T> & {
|
|
@@ -7567,6 +7606,7 @@ type ParallaxScrollingType<T> = SharedControlType<T> & {
|
|
|
7567
7606
|
|
|
7568
7607
|
type BackgroundColorPickerType<T> = SharedControlType<T> & {
|
|
7569
7608
|
type: 'background-color-picker';
|
|
7609
|
+
mode?: 'both' | 'solid' | 'gradient';
|
|
7570
7610
|
popup?: boolean;
|
|
7571
7611
|
readonly?: boolean;
|
|
7572
7612
|
};
|
|
@@ -7689,6 +7729,7 @@ type ProductOffersControlType<T> = SharedControlType<T> & {
|
|
|
7689
7729
|
|
|
7690
7730
|
type DiscountAndShippingFee<T> = SharedControlType<T> & {
|
|
7691
7731
|
type: 'discount-and-shipping-fee-product-offer';
|
|
7732
|
+
multiple: boolean;
|
|
7692
7733
|
};
|
|
7693
7734
|
|
|
7694
7735
|
type PostPurchaseTextareaControlType<T> = SharedControlType<T> & {
|
|
@@ -7711,7 +7752,49 @@ type NotesControlType<T> = SharedControlType<T> & {
|
|
|
7711
7752
|
value?: string;
|
|
7712
7753
|
};
|
|
7713
7754
|
|
|
7714
|
-
type
|
|
7755
|
+
type ButtonLayoutType<T> = SharedControlType<T> & {
|
|
7756
|
+
type: 'button-layout';
|
|
7757
|
+
options: {
|
|
7758
|
+
id: string;
|
|
7759
|
+
value: string;
|
|
7760
|
+
name: string;
|
|
7761
|
+
icon: boolean;
|
|
7762
|
+
}[];
|
|
7763
|
+
};
|
|
7764
|
+
|
|
7765
|
+
type ShapeSelectorControlType<T> = SharedControlType<T> & {
|
|
7766
|
+
type: 'shape-selector';
|
|
7767
|
+
};
|
|
7768
|
+
|
|
7769
|
+
type DisplayTriggerControlType<T> = SharedControlType<T> & {
|
|
7770
|
+
type: 'display-trigger-badge';
|
|
7771
|
+
};
|
|
7772
|
+
|
|
7773
|
+
type CustomPositionControlType<T> = SharedControlType<T> & {
|
|
7774
|
+
type: 'custom-position';
|
|
7775
|
+
ignoreValue?: string[];
|
|
7776
|
+
topGap?: string;
|
|
7777
|
+
leftGap?: string;
|
|
7778
|
+
rightGap?: string;
|
|
7779
|
+
bottomGap?: string;
|
|
7780
|
+
};
|
|
7781
|
+
|
|
7782
|
+
type DealControlType<T> = SharedControlType<T> & {
|
|
7783
|
+
type: 'bundleItem';
|
|
7784
|
+
readonly?: boolean;
|
|
7785
|
+
};
|
|
7786
|
+
|
|
7787
|
+
type ProductBundleChildControlType<T> = SharedControlType<T> & {
|
|
7788
|
+
type: 'product-bundle-child-item';
|
|
7789
|
+
[key: string]: any;
|
|
7790
|
+
};
|
|
7791
|
+
type SelectProductBundleControlType<T> = SharedControlType<T> & {
|
|
7792
|
+
type: 'select-product-bundle';
|
|
7793
|
+
label?: string;
|
|
7794
|
+
hide?: boolean;
|
|
7795
|
+
};
|
|
7796
|
+
|
|
7797
|
+
type ControlProp<T> = ProductBundleChildControlType<T> | SelectProductBundleControlType<T> | AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputUnitControlType<T> | InputUnitSpacingControlType<T> | InputUnitWidthControlType<T> | InputControlType<T> | MarginControlType<T> | PaddingControlType<T> | PositionControlType<T> | RadioGroupControlType | RangeControlType<T> | SegmentControlType<T> | OpenLinkControlType<T> | SelectControlType<T> | TextareaControlType<T> | ToggleControlType<T> | ImageControlType<T> | ChildrensControlType | GridControlType<T> | FlexControlType<T> | TextEditorControlType<T> | ProductControlType<T> | TypographyControlType<T> | TypographyV2ControlType<T> | MenuControlType<T> | BehaviorStateControlType<T> | PickLinkControlType<T> | BoxShadowControlType<T> | TextShadowControlType<T> | BorderControlType<T> | BorderRadiusControlType<T> | RadiusPresetControlType<T> | SizeControlType<T> | ChildItemType<T> | PickMultiProductControlType<T> | CollectionControlType<T> | BackgroundControlType<T> | VisibilityControlType<T> | SelectVariantControlType | CountdownEvergreenType | Timezone<T> | CustomContentControlType<T> | DateTimePickerControlType | CountdownDailyType | KlaviyoCodes | YotpoLoyaltyCodes | InputWidthControlType<T> | LayoutSegmentControlType<T> | InputSpacing<T> | UniqueIdControlType<T> | PositionSquareControlType<T> | CustomCodeEditor | LayoutControlType<T> | LayoutBannerControlType<T> | SwatchesLinkControlType<T> | VariantSwatchesPresetControlType<T> | VariantSwatchesOnlyDefaultVariantControlType<T> | ProductListControlType<T> | ArticleListControlType<T> | CollectionBannerControlType<T> | Ratio<T> | StickyDisplayControlType<T> | SyncProductPropertiesControlType<T> | StepsGuide<T> | ImageShape<T> | GridArrange<T> | SizeSetting$1<T> | ChildIconType<T> | DropdownInput<T> | Dropdown<T> | AliPickSectionControlType<T> | ParallaxScrollingType<T> | BackgroundColorPickerType<T> | PlayPauseControlType<T> | LayoutCustomSegmentControlType<T> | SneakPeakRange<T> | SneakPeakTypeControlType<T> | SneakPeakControlType<T> | ProductInputCurrencyUnitControlType<T> | TypographyPostPurchaseControlType<T> | ProductOffersControlType<T> | DiscountAndShippingFee<T> | PostPurchaseTextareaControlType<T> | NotesControlType<T> | NotesControlType<T> | ButtonLayoutType<T> | ShapeSelectorControlType<T> | CustomPositionControlType<T> | SneakPeakControlType<T> | PostPurchaseTextareaControlType<T> | DealControlType<T> | DisplayTriggerControlType<T> | CustomPositionControlType<T>;
|
|
7715
7798
|
type ControlTriggerAction = {
|
|
7716
7799
|
controlId: string;
|
|
7717
7800
|
newValue?: any;
|
|
@@ -7767,6 +7850,7 @@ type ComponentSetting<P extends BaseProps> = {
|
|
|
7767
7850
|
flowPage?: string;
|
|
7768
7851
|
notAppendTags?: string[];
|
|
7769
7852
|
notAppendLeftRight?: boolean;
|
|
7853
|
+
allowAppendTags?: string[];
|
|
7770
7854
|
};
|
|
7771
7855
|
sideBar?: {
|
|
7772
7856
|
hide?: boolean;
|
|
@@ -7790,6 +7874,7 @@ type ControlUI = {
|
|
|
7790
7874
|
label?: Record<string, string>;
|
|
7791
7875
|
info?: Record<string, string>;
|
|
7792
7876
|
condition?: string;
|
|
7877
|
+
target?: 'tab';
|
|
7793
7878
|
controls?: ControlUI[];
|
|
7794
7879
|
setting?: {
|
|
7795
7880
|
id: string;
|
|
@@ -7812,6 +7897,7 @@ type ControlUI = {
|
|
|
7812
7897
|
iconClass?: string;
|
|
7813
7898
|
containerClass?: string;
|
|
7814
7899
|
enableTeleport?: boolean;
|
|
7900
|
+
contentStyle?: React.CSSProperties;
|
|
7815
7901
|
};
|
|
7816
7902
|
hideOnDevices?: {
|
|
7817
7903
|
desktop?: boolean;
|
|
@@ -7819,6 +7905,7 @@ type ControlUI = {
|
|
|
7819
7905
|
mobile?: boolean;
|
|
7820
7906
|
};
|
|
7821
7907
|
hideOnPages?: PageType[];
|
|
7908
|
+
itemSpacing?: 'small' | 'medium' | 'large';
|
|
7822
7909
|
};
|
|
7823
7910
|
isMoreSetting?: boolean;
|
|
7824
7911
|
hiddenDivice?: boolean;
|
|
@@ -7846,6 +7933,7 @@ type ComponentPreset = {
|
|
|
7846
7933
|
};
|
|
7847
7934
|
components: InitComponentType[];
|
|
7848
7935
|
hideTextContent?: boolean;
|
|
7936
|
+
flowTagComponents?: Record<string, InitComponentType[]>;
|
|
7849
7937
|
};
|
|
7850
7938
|
|
|
7851
7939
|
type PageContext = {
|
|
@@ -7937,7 +8025,7 @@ type AnalyticsQueryParameter = {
|
|
|
7937
8025
|
startDate?: InputMaybe<Scalars['Time']>;
|
|
7938
8026
|
};
|
|
7939
8027
|
type AppType = 'CUSTOM' | 'GEMPAGES' | 'GEMPAGESV5' | 'GEMPAGESV7' | 'GEMX';
|
|
7940
|
-
type Article = {
|
|
8028
|
+
type Article$1 = {
|
|
7941
8029
|
baseID?: Maybe<Scalars['String']>;
|
|
7942
8030
|
blogs?: Maybe<BlogConnection>;
|
|
7943
8031
|
description?: Maybe<Scalars['String']>;
|
|
@@ -8010,7 +8098,7 @@ type ArticleConnection = {
|
|
|
8010
8098
|
};
|
|
8011
8099
|
type ArticleEdge = {
|
|
8012
8100
|
cursor?: Maybe<Scalars['Cursor']>;
|
|
8013
|
-
node?: Maybe<Article>;
|
|
8101
|
+
node?: Maybe<Article$1>;
|
|
8014
8102
|
};
|
|
8015
8103
|
type ArticleOrder = {
|
|
8016
8104
|
direction: OrderDirection;
|
|
@@ -18820,7 +18908,7 @@ type PutCustomComponentFileInput = {
|
|
|
18820
18908
|
name: Scalars['String'];
|
|
18821
18909
|
};
|
|
18822
18910
|
type Query = {
|
|
18823
|
-
article?: Maybe<Article>;
|
|
18911
|
+
article?: Maybe<Article$1>;
|
|
18824
18912
|
articles?: Maybe<ArticleConnection>;
|
|
18825
18913
|
backgroundTasks?: Maybe<BackgroundTaskConnection>;
|
|
18826
18914
|
blog?: Maybe<Blog>;
|
|
@@ -25001,7 +25089,6 @@ type appAPI_AddEmployeeInput = AddEmployeeInput;
|
|
|
25001
25089
|
type appAPI_Analytic = Analytic;
|
|
25002
25090
|
type appAPI_AnalyticsQueryParameter = AnalyticsQueryParameter;
|
|
25003
25091
|
type appAPI_AppType = AppType;
|
|
25004
|
-
type appAPI_Article = Article;
|
|
25005
25092
|
type appAPI_ArticleBlogWhereInput = ArticleBlogWhereInput;
|
|
25006
25093
|
type appAPI_ArticleBlogsArgs = ArticleBlogsArgs;
|
|
25007
25094
|
type appAPI_ArticleConnection = ArticleConnection;
|
|
@@ -25994,7 +26081,7 @@ declare namespace appAPI {
|
|
|
25994
26081
|
appAPI_Analytic as Analytic,
|
|
25995
26082
|
appAPI_AnalyticsQueryParameter as AnalyticsQueryParameter,
|
|
25996
26083
|
appAPI_AppType as AppType,
|
|
25997
|
-
|
|
26084
|
+
Article$1 as Article,
|
|
25998
26085
|
appAPI_ArticleBlogWhereInput as ArticleBlogWhereInput,
|
|
25999
26086
|
appAPI_ArticleBlogsArgs as ArticleBlogsArgs,
|
|
26000
26087
|
appAPI_ArticleConnection as ArticleConnection,
|
|
@@ -26981,6 +27068,13 @@ declare namespace appAPI {
|
|
|
26981
27068
|
};
|
|
26982
27069
|
}
|
|
26983
27070
|
|
|
27071
|
+
type NameDevices = 'desktop' | 'tablet' | 'mobile';
|
|
27072
|
+
type TypographyV2Family = string | {
|
|
27073
|
+
value: string;
|
|
27074
|
+
type: TypographyV2FontFamilyType;
|
|
27075
|
+
};
|
|
27076
|
+
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme';
|
|
27077
|
+
|
|
26984
27078
|
/**
|
|
26985
27079
|
* @deprecated Please use `TypographySettingV2`
|
|
26986
27080
|
*/
|
|
@@ -27006,14 +27100,14 @@ type TypographyProps = {
|
|
|
27006
27100
|
fontSize?: string;
|
|
27007
27101
|
fontWeight?: string | number;
|
|
27008
27102
|
fontStyle?: string;
|
|
27009
|
-
fontFamily?:
|
|
27103
|
+
fontFamily?: TypographyV2Family;
|
|
27010
27104
|
lineHeight?: string;
|
|
27011
27105
|
letterSpacing?: string;
|
|
27012
27106
|
fallbackFontFamily?: string;
|
|
27013
27107
|
};
|
|
27014
27108
|
type TypographyV2Props = Omit<TypographyProps, 'fontSize' | 'lineHeight'> & {
|
|
27015
27109
|
fontSize?: ObjectDevices<string>;
|
|
27016
|
-
lineHeight?: string
|
|
27110
|
+
lineHeight?: ObjectDevices<string>;
|
|
27017
27111
|
};
|
|
27018
27112
|
type TypographyV2Attrs = {
|
|
27019
27113
|
bold?: boolean;
|
|
@@ -27080,6 +27174,9 @@ type GlobalStyleResponsiveConfig = {
|
|
|
27080
27174
|
spacing?: Partial<Record<SpacingType, ObjectDeviceGlobalType<string>>>;
|
|
27081
27175
|
container?: Partial<Record<ContainerProp, ObjectDeviceGlobalType<string>>>;
|
|
27082
27176
|
radius?: Partial<Record<RoundedSize, string>>;
|
|
27177
|
+
theme?: {
|
|
27178
|
+
font?: Partial<Record<FontName, any>>;
|
|
27179
|
+
};
|
|
27083
27180
|
};
|
|
27084
27181
|
type GlobalStyleConfig = {
|
|
27085
27182
|
color?: Partial<Record<ColorType$1, string>>;
|
|
@@ -27088,6 +27185,9 @@ type GlobalStyleConfig = {
|
|
|
27088
27185
|
spacing?: Partial<Record<SpacingType, string>>;
|
|
27089
27186
|
container?: Partial<Record<ContainerProp, string>>;
|
|
27090
27187
|
radius?: Partial<Record<RoundedSize, string>>;
|
|
27188
|
+
theme?: {
|
|
27189
|
+
font?: Partial<Record<FontName, any>>;
|
|
27190
|
+
};
|
|
27091
27191
|
};
|
|
27092
27192
|
type ShadowStyleApplied = 'text-shadow' | 'box-shadow';
|
|
27093
27193
|
type ShadowType = 'shadow-1' | 'shadow-2' | 'shadow-3';
|
|
@@ -27286,6 +27386,7 @@ declare const useBuilderStore: <U>(selector: (state: ExtractState<StoreApi<Build
|
|
|
27286
27386
|
type BuilderPreviewContextProps = {
|
|
27287
27387
|
state: BuilderState;
|
|
27288
27388
|
loaded?: boolean;
|
|
27389
|
+
pageName?: string;
|
|
27289
27390
|
isThemeSectionEditor?: boolean;
|
|
27290
27391
|
addItem: (args: {
|
|
27291
27392
|
data: BuilderEntityNested | BuilderEntityNested[];
|
|
@@ -27316,6 +27417,7 @@ type BuilderPreviewProviderProps = Pick<BuilderPreviewContextProps, 'state'> & {
|
|
|
27316
27417
|
lazy?: boolean;
|
|
27317
27418
|
priority?: boolean;
|
|
27318
27419
|
isThemeSectionEditor?: boolean;
|
|
27420
|
+
pageName?: string;
|
|
27319
27421
|
};
|
|
27320
27422
|
declare const BuilderPreviewProvider: React.FC<BuilderPreviewProviderProps>;
|
|
27321
27423
|
declare const useBuilderPreviewStore: <U>(selector: (state: ExtractState<StoreApi<BuilderPreviewContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
|
|
@@ -27510,6 +27612,11 @@ type ShopContextProps = {
|
|
|
27510
27612
|
isStorefront?: boolean;
|
|
27511
27613
|
createThemeSectionCount?: number;
|
|
27512
27614
|
plan?: string;
|
|
27615
|
+
generateContentLimitation?: {
|
|
27616
|
+
isAllow: boolean;
|
|
27617
|
+
maxGenerateCount?: number;
|
|
27618
|
+
nextQuota?: number;
|
|
27619
|
+
};
|
|
27513
27620
|
changeLocale: (locale: string) => void;
|
|
27514
27621
|
changeStorefrontInfo: (args: {
|
|
27515
27622
|
url?: string;
|
|
@@ -27587,6 +27694,38 @@ type ModalProviderProps = Pick<ModalContextProps, 'activeId'> & {
|
|
|
27587
27694
|
declare const ModalProvider: React.FC<ModalProviderProps>;
|
|
27588
27695
|
declare const useModalStore: <U>(selector: (state: ExtractState<StoreApi<ModalContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
|
|
27589
27696
|
|
|
27697
|
+
type ArticleListContextProps = {
|
|
27698
|
+
articles?: any[];
|
|
27699
|
+
settings?: {
|
|
27700
|
+
slidesToShow?: ObjectDevices<number | 'auto'>;
|
|
27701
|
+
};
|
|
27702
|
+
styles?: {
|
|
27703
|
+
horizontalGutter?: ObjectDevices<string>;
|
|
27704
|
+
verticalGutter?: ObjectDevices<string>;
|
|
27705
|
+
fullWidth?: ObjectDevices<boolean>;
|
|
27706
|
+
spacing?: ObjectDevices<number>;
|
|
27707
|
+
width?: ObjectDevices<string>;
|
|
27708
|
+
height?: ObjectDevices<string>;
|
|
27709
|
+
};
|
|
27710
|
+
};
|
|
27711
|
+
type ArticleListProviderProps = ArticleListContextProps & {
|
|
27712
|
+
children: React.ReactNode;
|
|
27713
|
+
};
|
|
27714
|
+
declare const ArticleListProvider: React.FC<ArticleListProviderProps>;
|
|
27715
|
+
declare const useArticleListStore: <U>(selector: (state: ExtractState<StoreApi<ArticleListContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
|
|
27716
|
+
|
|
27717
|
+
type Article = any;
|
|
27718
|
+
type ArticleContextProps = {
|
|
27719
|
+
article: Article;
|
|
27720
|
+
uniqueId: string;
|
|
27721
|
+
};
|
|
27722
|
+
type ArticleProviderProps = Pick<ArticleContextProps, 'article'> & {
|
|
27723
|
+
readOnly?: boolean;
|
|
27724
|
+
children: React.ReactNode;
|
|
27725
|
+
};
|
|
27726
|
+
declare const ArticleProvider: React.FC<ArticleProviderProps>;
|
|
27727
|
+
declare const useArticleStore: <U>(selector: (state: ExtractState<StoreApi<ArticleContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
|
|
27728
|
+
|
|
27590
27729
|
type PageViewUpMutationVariables = Exact$1<{
|
|
27591
27730
|
pageHandle: Scalars$2['String'];
|
|
27592
27731
|
userAgent: Scalars$2['String'];
|
|
@@ -27887,15 +28026,13 @@ declare const handleConvertClassColorDynamicBtn: (value?: BorderStyle) => string
|
|
|
27887
28026
|
declare const composeBorderCss: (borderV?: Border | undefined) => string;
|
|
27888
28027
|
|
|
27889
28028
|
type DotStyle = 'none' | 'inside' | 'outside';
|
|
27890
|
-
declare const getCarouselContainerHeight: <T>(dotStyle?: Partial<Record<NameDevices$1, T>> | undefined
|
|
28029
|
+
declare const getCarouselContainerHeight: <T>(dotStyle?: Partial<Record<NameDevices$1, T>> | undefined) => {
|
|
27891
28030
|
desktop: string | undefined;
|
|
27892
28031
|
tablet: string | undefined;
|
|
27893
28032
|
mobile: string | undefined;
|
|
27894
28033
|
};
|
|
27895
28034
|
declare const makeContainerWidthOrHeight: <T extends ShortHandProperty>(setting: {
|
|
27896
28035
|
dotStyle?: ObjectDevices<DotStyle>;
|
|
27897
|
-
dotSize?: ObjectDevices<number>;
|
|
27898
|
-
dotGapToCarousel?: ObjectDevices<number>;
|
|
27899
28036
|
vertical?: ObjectDevices<boolean>;
|
|
27900
28037
|
}) => {
|
|
27901
28038
|
[x: string]: string | undefined;
|
|
@@ -28022,13 +28159,59 @@ declare namespace tiktokpixel {
|
|
|
28022
28159
|
};
|
|
28023
28160
|
}
|
|
28024
28161
|
|
|
28162
|
+
type ResponsiveKey<T extends ShortHandProperty> = `--${T}` | `--${T}-tablet` | `--${T}-mobile`;
|
|
28163
|
+
declare const removeNullUndefined: <T extends Record<string, any>>(obj: T) => T;
|
|
28164
|
+
declare const makeStyleKey: <T extends ShortHandProperty>(name: T) => string[];
|
|
28165
|
+
declare const makeStyle: <T extends ShortHandProperty, K>(style: Record<T, K>) => {
|
|
28166
|
+
[k: string]: Record<`--${T}`, K>;
|
|
28167
|
+
};
|
|
28168
|
+
declare const makeStyleState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<StateType, K>> | undefined) => {};
|
|
28169
|
+
declare const makeStyleResponsiveState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, Partial<Record<StateType, K>>>> | undefined) => {};
|
|
28170
|
+
declare const makeStyleResponsive: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
|
|
28171
|
+
declare const makeStyleResponsiveByScreen: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
|
|
28172
|
+
declare const makeWidth: (widthValue?: ObjectDevices<string | number>, fullWidthValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
28173
|
+
declare const makeGlobalSizeWidthResponsive: (globalSize?: ObjectDevices<SizeSettingGlobal>) => {
|
|
28174
|
+
'--w': string | undefined;
|
|
28175
|
+
'--w-tablet': string | undefined;
|
|
28176
|
+
'--w-mobile': string | undefined;
|
|
28177
|
+
};
|
|
28178
|
+
declare const makeGlobalSizeHeightResponsive: (globalSize?: ObjectDevices<SizeSettingGlobal>) => {
|
|
28179
|
+
'--h': string | undefined;
|
|
28180
|
+
'--h-tablet': string | undefined;
|
|
28181
|
+
'--h-mobile': string | undefined;
|
|
28182
|
+
};
|
|
28183
|
+
declare const makeHeight: (heighValue?: ObjectDevices<string | number>, autoHeight?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
28184
|
+
declare const makeAspectRatio: (aspectRatio?: ObjectDevices<string>, aspectWidth?: ObjectDevices<string | number>, aspectHeight?: ObjectDevices<string | number>) => ObjectDevices<string>;
|
|
28185
|
+
declare const makeLineClamp: (lineClampValue?: ObjectDevices<number>, hasLineClampValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
28186
|
+
|
|
28025
28187
|
type Devices = 'desktop' | 'tablet' | 'mobile';
|
|
28026
28188
|
type Options = {
|
|
28027
28189
|
liquid?: boolean;
|
|
28028
28190
|
ignoreBgAttachment?: boolean;
|
|
28029
28191
|
ignoreBackgroundImage?: boolean;
|
|
28030
|
-
|
|
28031
|
-
|
|
28192
|
+
ignoreBackgroundColor?: boolean;
|
|
28193
|
+
};
|
|
28194
|
+
declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options) => {
|
|
28195
|
+
"--bga"?: string | undefined;
|
|
28196
|
+
"--bga-tablet"?: string | undefined;
|
|
28197
|
+
"--bga-mobile"?: string | undefined;
|
|
28198
|
+
"--bgr"?: string | undefined;
|
|
28199
|
+
"--bgr-tablet"?: string | undefined;
|
|
28200
|
+
"--bgr-mobile"?: string | undefined;
|
|
28201
|
+
"--bgs"?: string | undefined;
|
|
28202
|
+
"--bgs-tablet"?: string | undefined;
|
|
28203
|
+
"--bgs-mobile"?: string | undefined;
|
|
28204
|
+
"--bgp"?: string | undefined;
|
|
28205
|
+
"--bgp-tablet"?: string | undefined;
|
|
28206
|
+
"--bgp-mobile"?: string | undefined;
|
|
28207
|
+
"--bgi"?: string | undefined;
|
|
28208
|
+
"--bgi-tablet"?: string | undefined;
|
|
28209
|
+
"--bgi-mobile"?: string | undefined;
|
|
28210
|
+
"--bgc"?: string | undefined;
|
|
28211
|
+
"--bgc-tablet"?: string | undefined;
|
|
28212
|
+
"--bgc-mobile"?: string | undefined;
|
|
28213
|
+
};
|
|
28214
|
+
declare const getStyleBgColor: (background: ObjectDevices<Background>) => Record<ResponsiveKey<"bgc">, string>;
|
|
28032
28215
|
declare const getBgImageByDevice: (background: ObjectDevices<Background>, device: Devices, options?: Options) => string | undefined;
|
|
28033
28216
|
declare const composeBackgroundCss: (backgroundColor?: ColorValueType) => string;
|
|
28034
28217
|
declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) => {
|
|
@@ -28041,7 +28224,7 @@ declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) =>
|
|
|
28041
28224
|
} | undefined;
|
|
28042
28225
|
declare const GRADIENT_BGR_KEY = "linear-gradient";
|
|
28043
28226
|
declare const getGradientBgrStyleForButton: (backgroundStyle: Partial<Record<StateType, ColorValueType>> | undefined) => {} | undefined;
|
|
28044
|
-
declare const getGradientBgrStyleByDevice: (backgroundStyle: Partial<Record<Devices, Background>> | undefined) => {} | undefined;
|
|
28227
|
+
declare const getGradientBgrStyleByDevice: (backgroundStyle: Partial<Record<Devices, Background>> | undefined, ignoreBackgroundImage?: boolean) => {} | undefined;
|
|
28045
28228
|
|
|
28046
28229
|
type ColorType = 'bg' | 'text' | 'border' | 'decoration';
|
|
28047
28230
|
type ColorProp = 'bgc' | 'bc' | 'c' | 'bg';
|
|
@@ -34050,8 +34233,6 @@ declare const baseAssetURL: string;
|
|
|
34050
34233
|
|
|
34051
34234
|
declare const convertHTML: (str: string) => string;
|
|
34052
34235
|
|
|
34053
|
-
type NameDevices = 'desktop' | 'tablet' | 'mobile';
|
|
34054
|
-
|
|
34055
34236
|
type PostionType = {
|
|
34056
34237
|
wrapper?: Record<string, string | number>;
|
|
34057
34238
|
content?: Record<string, string | number>;
|
|
@@ -34072,30 +34253,7 @@ declare const optionLayoutStyle: (column?: ObjectDevices<string | number>) => Re
|
|
|
34072
34253
|
declare const composeGridLayout: (layout?: ObjectDevices<ObjectLayoutValue>) => React.CSSProperties;
|
|
34073
34254
|
declare const convertOldLayout: (layout?: ObjectDevices<string>) => ObjectDevices<ObjectLayoutValue>;
|
|
34074
34255
|
|
|
34075
|
-
|
|
34076
|
-
declare const removeNullUndefined: <T extends Record<string, any>>(obj: T) => T;
|
|
34077
|
-
declare const makeStyleKey: <T extends ShortHandProperty>(name: T) => string[];
|
|
34078
|
-
declare const makeStyle: <T extends ShortHandProperty, K>(style: Record<T, K>) => {
|
|
34079
|
-
[k: string]: Record<`--${T}`, K>;
|
|
34080
|
-
};
|
|
34081
|
-
declare const makeStyleState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<StateType, K>> | undefined) => {};
|
|
34082
|
-
declare const makeStyleResponsiveState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, Partial<Record<StateType, K>>>> | undefined) => {};
|
|
34083
|
-
declare const makeStyleResponsive: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
|
|
34084
|
-
declare const makeStyleResponsiveByScreen: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
|
|
34085
|
-
declare const makeWidth: (widthValue?: ObjectDevices<string | number>, fullWidthValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
34086
|
-
declare const makeGlobalSizeWidthResponsive: (globalSize?: ObjectDevices<SizeSettingGlobal>) => {
|
|
34087
|
-
'--w': string | undefined;
|
|
34088
|
-
'--w-tablet': string | undefined;
|
|
34089
|
-
'--w-mobile': string | undefined;
|
|
34090
|
-
};
|
|
34091
|
-
declare const makeGlobalSizeHeightResponsive: (globalSize?: ObjectDevices<SizeSettingGlobal>) => {
|
|
34092
|
-
'--h': string | undefined;
|
|
34093
|
-
'--h-tablet': string | undefined;
|
|
34094
|
-
'--h-mobile': string | undefined;
|
|
34095
|
-
};
|
|
34096
|
-
declare const makeHeight: (heighValue?: ObjectDevices<string | number>, autoHeight?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
34097
|
-
declare const makeAspectRatio: (aspectRatio?: ObjectDevices<string>, aspectWidth?: ObjectDevices<string | number>, aspectHeight?: ObjectDevices<string | number>) => ObjectDevices<string>;
|
|
34098
|
-
declare const makeLineClamp: (lineClampValue?: ObjectDevices<number>, hasLineClampValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
34256
|
+
declare const convertTextAlignToJustify: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
|
|
34099
34257
|
|
|
34100
34258
|
declare function getSelectedVariant(variants?: Maybe$1<VariantSelectFragment>[], choices?: Record<string, string>, variantId?: string | null): Maybe$1<VariantSelectFragment>;
|
|
34101
34259
|
declare function parseSelectedOption(options: SelectedOption$1[]): SelectedOption$1 | undefined;
|
|
@@ -34204,6 +34362,7 @@ declare const composeTypographyCss: (typography: TypographySetting | undefined)
|
|
|
34204
34362
|
declare const composeTypographyV2Css: (typography: TypographySettingV2 | undefined, isImportant?: boolean) => string;
|
|
34205
34363
|
declare const composeTypography: (typography?: ObjectDevices<TypographyProps>) => React.CSSProperties;
|
|
34206
34364
|
declare const composeTypographyV2: (value?: TypographyV2Props, attrs?: TypographyV2Attrs) => React.CSSProperties;
|
|
34365
|
+
declare const composeFontFamilyTypographyV2: (value?: TypographyV2Props) => string | undefined;
|
|
34207
34366
|
declare const composeTypographyAttr: (attrs?: TypographyV2Attrs) => React.CSSProperties;
|
|
34208
34367
|
declare const composeTypographyClassName: (typo?: TypographySettingV2, typography?: TypographySetting) => "" | "gp-g-heading-1" | "gp-g-heading-2" | "gp-g-heading-3" | "gp-g-subheading-1" | "gp-g-subheading-2" | "gp-g-subheading-3" | "gp-g-paragraph-1" | "gp-g-paragraph-2" | "gp-g-paragraph-3" | undefined;
|
|
34209
34368
|
declare const composeFallbackTypographyStyle: (tag: string) => "var(--g-font-heading, heading)" | "var(--g-font-body, body)";
|
|
@@ -35791,6 +35950,7 @@ declare const useProductsQueryAll: (variable?: VariableRelatedStyles | undefined
|
|
|
35791
35950
|
declare const useCurrentDevice: () => NameDevices$1;
|
|
35792
35951
|
|
|
35793
35952
|
declare const shopifyPriceRounding: (amount: number | string, precision?: number) => string;
|
|
35953
|
+
declare const formatMoney: (cents: string, format: any) => string;
|
|
35794
35954
|
declare const useFormatMoney: (amount: number, withCurrency: boolean) => string;
|
|
35795
35955
|
|
|
35796
35956
|
declare const useLazyVideo: () => void;
|
|
@@ -35867,6 +36027,58 @@ declare const useMoney: (amount: number) => UseMoneyValue;
|
|
|
35867
36027
|
|
|
35868
36028
|
declare const usePrevious: <T>(value: T) => T | undefined;
|
|
35869
36029
|
|
|
36030
|
+
type ArticlesQueryVariables = Exact$1<{
|
|
36031
|
+
after?: InputMaybe$1<Scalars$2['Cursor']>;
|
|
36032
|
+
before?: InputMaybe$1<Scalars$2['Cursor']>;
|
|
36033
|
+
first?: InputMaybe$1<Scalars$2['Int']>;
|
|
36034
|
+
last?: InputMaybe$1<Scalars$2['Int']>;
|
|
36035
|
+
orderBy?: InputMaybe$1<ArticleOrder$1>;
|
|
36036
|
+
where?: InputMaybe$1<ArticleWhereInput$1>;
|
|
36037
|
+
}>;
|
|
36038
|
+
type ArticlesQueryResponse = {
|
|
36039
|
+
articles?: Maybe$1<(Pick<ArticleConnection$1, 'totalCount'> & {
|
|
36040
|
+
edges: Array<(Pick<ArticleEdge$1, 'cursor'> & {
|
|
36041
|
+
node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'tags' | 'isSample' | 'platformCreatedAt' | 'author'> & {
|
|
36042
|
+
blogs?: Maybe$1<{
|
|
36043
|
+
edges: Array<{
|
|
36044
|
+
node?: Maybe$1<Pick<Blog$1, 'title'>>;
|
|
36045
|
+
}>;
|
|
36046
|
+
}>;
|
|
36047
|
+
media?: Maybe$1<Pick<Media$1, 'alt' | 'width' | 'src' | 'height'>>;
|
|
36048
|
+
})>;
|
|
36049
|
+
})>;
|
|
36050
|
+
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>>;
|
|
36051
|
+
})>;
|
|
36052
|
+
};
|
|
36053
|
+
|
|
36054
|
+
type BlogsQueryVariables = Exact$1<{
|
|
36055
|
+
after?: InputMaybe$1<Scalars$2['Cursor']>;
|
|
36056
|
+
before?: InputMaybe$1<Scalars$2['Cursor']>;
|
|
36057
|
+
first?: InputMaybe$1<Scalars$2['Int']>;
|
|
36058
|
+
last?: InputMaybe$1<Scalars$2['Int']>;
|
|
36059
|
+
orderBy?: InputMaybe$1<BlogOrder$1>;
|
|
36060
|
+
where?: InputMaybe$1<BlogWhereInput$1>;
|
|
36061
|
+
}>;
|
|
36062
|
+
type BlogsQueryResponse = {
|
|
36063
|
+
blogs?: Maybe$1<(Pick<BlogConnection$1, 'totalCount'> & {
|
|
36064
|
+
edges: Array<(Pick<BlogEdge$1, 'cursor'> & {
|
|
36065
|
+
node?: Maybe$1<(Pick<Blog$1, 'baseID' | 'description' | 'descriptionMeta' | 'handle' | 'id' | 'platform' | 'tags' | 'templateSuffix' | 'title' | 'titleMeta'> & {
|
|
36066
|
+
articles?: Maybe$1<(Pick<ArticleConnection$1, 'totalCount'> & {
|
|
36067
|
+
edges: Array<{
|
|
36068
|
+
node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'tags' | 'isSample' | 'platformCreatedAt' | 'author'> & {
|
|
36069
|
+
media?: Maybe$1<Pick<Media$1, 'width' | 'src' | 'height'>>;
|
|
36070
|
+
})>;
|
|
36071
|
+
}>;
|
|
36072
|
+
})>;
|
|
36073
|
+
})>;
|
|
36074
|
+
})>;
|
|
36075
|
+
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>>;
|
|
36076
|
+
})>;
|
|
36077
|
+
};
|
|
36078
|
+
|
|
36079
|
+
declare const useArticlesQuery: (variables: ArticlesQueryVariables | null, options?: SWRConfiguration<ArticlesQueryResponse>) => swr__internal.SWRResponse<ArticlesQueryResponse, any, Partial<swr__internal.PublicConfiguration<ArticlesQueryResponse, any, (arg: ["query/articles", any]) => swr__internal.FetcherResponse<ArticlesQueryResponse>>> | undefined>;
|
|
36080
|
+
declare const useBlogsQuery: (variables: BlogsQueryVariables | null, options?: SWRConfiguration<BlogsQueryResponse>) => swr__internal.SWRResponse<BlogsQueryResponse, any, Partial<swr__internal.PublicConfiguration<BlogsQueryResponse, any, (arg: ["query/blogs", any]) => swr__internal.FetcherResponse<BlogsQueryResponse>>> | undefined>;
|
|
36081
|
+
|
|
35870
36082
|
declare const useUniqProductID: () => string;
|
|
35871
36083
|
declare const useProduct: () => ProductSelectFragment | undefined;
|
|
35872
36084
|
declare const useFeaturedImageGlobal: () => MediaSelectFragment | undefined;
|
|
@@ -35890,11 +36102,11 @@ declare const useSelectedOption: () => {
|
|
|
35890
36102
|
setSelectedOption: (optionId?: Maybe$1<string>, optionValue?: Maybe$1<string>, productId?: Maybe$1<string>, noEmit?: boolean) => void;
|
|
35891
36103
|
forceSelectedOption: (selectedOption?: Record<string, string>, productId?: Maybe$1<string>, noEmit?: boolean) => void;
|
|
35892
36104
|
};
|
|
35893
|
-
declare const useVariants: () => Maybe$1<Pick<ProductVariant$1, "id" | "title" | "width" | "height" | "length" | "weight" | "baseID" | "platform" | "sku" | "barcode" | "costPrice" | "inventoryPolicy" | "inventoryQuantity" | "inventoryStatus" | "isDigital" | "lowInventoryAmount" | "manageInventory" | "mediaId" | "
|
|
36105
|
+
declare const useVariants: () => Maybe$1<Pick<ProductVariant$1, "id" | "title" | "price" | "width" | "height" | "length" | "weight" | "baseID" | "platform" | "sku" | "barcode" | "costPrice" | "inventoryPolicy" | "inventoryQuantity" | "inventoryStatus" | "isDigital" | "lowInventoryAmount" | "manageInventory" | "mediaId" | "salePrice" | "soldIndividually"> & {
|
|
35894
36106
|
selectedOptions: Pick<SelectedOption$1, "name" | "value" | "optionType">[];
|
|
35895
36107
|
media?: Maybe$1<Pick<Media$1, "id" | "width" | "height" | "src" | "alt" | "contentType" | "previewImage">>;
|
|
35896
36108
|
}>[];
|
|
35897
|
-
declare const useVariant: (id: string) => Maybe$1<Pick<ProductVariant$1, "id" | "title" | "width" | "height" | "length" | "weight" | "baseID" | "platform" | "sku" | "barcode" | "costPrice" | "inventoryPolicy" | "inventoryQuantity" | "inventoryStatus" | "isDigital" | "lowInventoryAmount" | "manageInventory" | "mediaId" | "
|
|
36109
|
+
declare const useVariant: (id: string) => Maybe$1<Pick<ProductVariant$1, "id" | "title" | "price" | "width" | "height" | "length" | "weight" | "baseID" | "platform" | "sku" | "barcode" | "costPrice" | "inventoryPolicy" | "inventoryQuantity" | "inventoryStatus" | "isDigital" | "lowInventoryAmount" | "manageInventory" | "mediaId" | "salePrice" | "soldIndividually"> & {
|
|
35898
36110
|
selectedOptions: Pick<SelectedOption$1, "name" | "value" | "optionType">[];
|
|
35899
36111
|
media?: Maybe$1<Pick<Media$1, "id" | "width" | "height" | "src" | "alt" | "contentType" | "previewImage">>;
|
|
35900
36112
|
}>;
|
|
@@ -35949,4 +36161,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'name'
|
|
|
35949
36161
|
|
|
35950
36162
|
declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
|
|
35951
36163
|
|
|
35952
|
-
export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, appAPI as AppAPIType, Background, BaseProps, BasePropsWrap, BlockEntity, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CartLineProvider, CartLineProviderProps, CollectionDetailFilterDocument, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionDocument, CollectionProvider, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsDocument, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DynamicCollection, DynamicProduct, ExtractState, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetType, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeCornerCss, composeFallbackTypographyStyle, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterCornerInStyle, filterToolbarPreview, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAspectRatioGlobalSize, getBgImageByDevice, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getPaddingGlobalSize, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleShadow, getStyleShadowState, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, shopifyPriceRounding, splitStyle, styles, template, tiktokpixel, useAddToCart, useAddon, useAddons, useBuilderComponent, useBuilderPreviewStore, useBuilderStore, useCartData, useCartDiscountCodesUpdate, useCartId, useCartLine, useCartLineStore, useCartNoteUpdate, useCartUI, useCheckAvailableVariantInStock, useCheckoutUrl, useCollection, useCollectionQuery, useCollectionStore, useCollectionsQuery, useConnectedShopify, useCreateCart, useCurrency, useCurrentDevice, useCurrentVariant, useCurrentVariantInStock, useEditorMode, useFeaturedImageGlobal, useFormatMoney, useInitialSwatchesOptions, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
|
36164
|
+
export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, appAPI as AppAPIType, ArticleListProvider, ArticleListProviderProps, ArticleProvider, ArticleProviderProps, Background, BaseProps, BasePropsWrap, BlockEntity, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CartLineProvider, CartLineProviderProps, CollectionDetailFilterDocument, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionDocument, CollectionProvider, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsDocument, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DynamicCollection, DynamicProduct, ExtractState, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetType, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterCornerInStyle, filterToolbarPreview, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAspectRatioGlobalSize, getBgImageByDevice, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getPaddingGlobalSize, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBgColor, getStyleShadow, getStyleShadowState, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, shopifyPriceRounding, splitStyle, styles, template, tiktokpixel, useAddToCart, useAddon, useAddons, useArticleListStore, useArticleStore, useArticlesQuery, useBlogsQuery, useBuilderComponent, useBuilderPreviewStore, useBuilderStore, useCartData, useCartDiscountCodesUpdate, useCartId, useCartLine, useCartLineStore, useCartNoteUpdate, useCartUI, useCheckAvailableVariantInStock, useCheckoutUrl, useCollection, useCollectionQuery, useCollectionStore, useCollectionsQuery, useConnectedShopify, useCreateCart, useCurrency, useCurrentDevice, useCurrentVariant, useCurrentVariantInStock, useEditorMode, useFeaturedImageGlobal, useFormatMoney, useInitialSwatchesOptions, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|