@gem-sdk/core 1.42.3-dev.64 → 1.42.7
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 +6 -120
- package/dist/cjs/components/ComponentWrapperPreview.js +1 -44
- package/dist/cjs/components/Render.liquid.js +0 -2
- package/dist/cjs/components/RenderCustomCode.js +0 -2
- package/dist/cjs/components/constant.js +2 -19
- package/dist/cjs/components/resize/Spacing.js +0 -2
- package/dist/cjs/components/theme-section/CreateThemeSection.js +0 -2
- package/dist/cjs/contexts/BuilderPreviewContext.js +6 -11
- package/dist/cjs/contexts/SectionContext.js +0 -1
- package/dist/cjs/helpers/carousel.js +10 -7
- package/dist/cjs/helpers/colors.js +1 -1
- package/dist/cjs/helpers/queries/get-products.js +0 -23
- package/dist/cjs/helpers/typography.js +4 -4
- package/dist/cjs/hooks/shop/use-products-query.js +0 -29
- package/dist/cjs/hooks/useAnimations.js +0 -2
- package/dist/cjs/hooks/useInitialSwatchesOptions.js +0 -2
- package/dist/cjs/hooks/useProduct.js +0 -2
- package/dist/cjs/index.js +15 -26
- package/dist/esm/components/ComponentToolbarPreview.js +6 -120
- package/dist/esm/components/ComponentWrapperPreview.js +1 -44
- package/dist/esm/components/Render.liquid.js +0 -2
- package/dist/esm/components/RenderCustomCode.js +0 -2
- package/dist/esm/components/constant.js +3 -19
- package/dist/esm/components/resize/Spacing.js +0 -2
- package/dist/esm/components/theme-section/CreateThemeSection.js +0 -2
- package/dist/esm/contexts/BuilderPreviewContext.js +6 -11
- package/dist/esm/contexts/SectionContext.js +0 -1
- package/dist/esm/helpers/carousel.js +10 -7
- package/dist/esm/helpers/colors.js +1 -1
- package/dist/esm/helpers/queries/get-products.js +1 -23
- package/dist/esm/helpers/typography.js +4 -4
- package/dist/esm/hooks/shop/use-products-query.js +2 -30
- package/dist/esm/hooks/useAnimations.js +0 -2
- package/dist/esm/hooks/useInitialSwatchesOptions.js +0 -2
- package/dist/esm/hooks/useProduct.js +0 -2
- package/dist/esm/index.js +10 -14
- package/dist/types/index.d.ts +86 -227
- package/package.json +3 -5
- package/dist/cjs/components/ai-generator/AIContentGenerator.js +0 -205
- package/dist/cjs/components/ai-generator/AIGenContentLoading.js +0 -85
- package/dist/cjs/components/ai-generator/components/PickProduct.js +0 -218
- package/dist/cjs/components/ai-generator/components/ToneAndVoice.js +0 -77
- package/dist/cjs/components/ai-generator/hooks/useCheckingProductInside.js +0 -47
- package/dist/cjs/components/ai-generator/hooks/useFlipPopup.js +0 -110
- package/dist/cjs/components/ai-generator/hooks/useGettingGenerateRequest.js +0 -37
- package/dist/cjs/components/ai-generator/hooks/useListenEventGenerate.js +0 -63
- package/dist/cjs/components/ai-generator/icons/AIIcon.js +0 -67
- package/dist/cjs/components/ai-generator/icons/CloseIcon.js +0 -19
- package/dist/cjs/components/ai-generator/icons/DropdownIcon.js +0 -37
- package/dist/cjs/components/ai-generator/icons/SearchIcon.js +0 -21
- package/dist/cjs/components/ai-generator/icons/ShowMoreIcon.js +0 -21
- package/dist/cjs/contexts/ArticleContext.js +0 -39
- package/dist/cjs/contexts/ArticleListContext.js +0 -32
- package/dist/cjs/helpers/align.js +0 -19
- package/dist/cjs/hooks/articles/useArticlesQuery.js +0 -152
- package/dist/esm/components/ai-generator/AIContentGenerator.js +0 -203
- package/dist/esm/components/ai-generator/AIGenContentLoading.js +0 -83
- package/dist/esm/components/ai-generator/components/PickProduct.js +0 -216
- package/dist/esm/components/ai-generator/components/ToneAndVoice.js +0 -75
- package/dist/esm/components/ai-generator/hooks/useCheckingProductInside.js +0 -45
- package/dist/esm/components/ai-generator/hooks/useFlipPopup.js +0 -108
- package/dist/esm/components/ai-generator/hooks/useGettingGenerateRequest.js +0 -35
- package/dist/esm/components/ai-generator/hooks/useListenEventGenerate.js +0 -61
- package/dist/esm/components/ai-generator/icons/AIIcon.js +0 -65
- package/dist/esm/components/ai-generator/icons/CloseIcon.js +0 -17
- package/dist/esm/components/ai-generator/icons/DropdownIcon.js +0 -34
- package/dist/esm/components/ai-generator/icons/SearchIcon.js +0 -19
- package/dist/esm/components/ai-generator/icons/ShowMoreIcon.js +0 -19
- package/dist/esm/contexts/ArticleContext.js +0 -36
- package/dist/esm/contexts/ArticleListContext.js +0 -28
- package/dist/esm/helpers/align.js +0 -17
- package/dist/esm/hooks/articles/useArticlesQuery.js +0 -149
package/dist/types/index.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ 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$1 = {
|
|
64
64
|
baseID?: Maybe$1<Scalars$2['String']>;
|
|
65
65
|
blogs?: Maybe$1<BlogConnection$1>;
|
|
66
66
|
description?: Maybe$1<Scalars$2['String']>;
|
|
@@ -133,7 +133,7 @@ type ArticleConnection$1 = {
|
|
|
133
133
|
};
|
|
134
134
|
type ArticleEdge$1 = {
|
|
135
135
|
cursor?: Maybe$1<Scalars$2['Cursor']>;
|
|
136
|
-
node?: Maybe$1<Article$
|
|
136
|
+
node?: Maybe$1<Article$1>;
|
|
137
137
|
};
|
|
138
138
|
type ArticleOrder$1 = {
|
|
139
139
|
direction: OrderDirection$1;
|
|
@@ -5722,7 +5722,7 @@ type PublishedThemeStyleWhereInput$1 = {
|
|
|
5722
5722
|
type Query$1 = {
|
|
5723
5723
|
_entities: Array<Maybe$1<_Entity>>;
|
|
5724
5724
|
_service: _Service;
|
|
5725
|
-
article?: Maybe$1<Article$
|
|
5725
|
+
article?: Maybe$1<Article$1>;
|
|
5726
5726
|
articles?: Maybe$1<ArticleConnection$1>;
|
|
5727
5727
|
blog?: Maybe$1<Blog$1>;
|
|
5728
5728
|
blogs?: Maybe$1<BlogConnection$1>;
|
|
@@ -6237,7 +6237,7 @@ type shop__Service = _Service;
|
|
|
6237
6237
|
declare namespace shop {
|
|
6238
6238
|
export {
|
|
6239
6239
|
Analytic$1 as Analytic,
|
|
6240
|
-
Article$
|
|
6240
|
+
Article$1 as Article,
|
|
6241
6241
|
ArticleBlogWhereInput$1 as ArticleBlogWhereInput,
|
|
6242
6242
|
ArticleBlogsArgs$1 as ArticleBlogsArgs,
|
|
6243
6243
|
ArticleConnection$1 as ArticleConnection,
|
|
@@ -6471,7 +6471,6 @@ type BlockEntity = {
|
|
|
6471
6471
|
name?: string;
|
|
6472
6472
|
dateModified?: string | number;
|
|
6473
6473
|
childrens?: string[];
|
|
6474
|
-
rawChildrens?: BlockEntity[];
|
|
6475
6474
|
settings?: Record<string, any>;
|
|
6476
6475
|
advanced?: Record<string, any>;
|
|
6477
6476
|
styles?: Record<string, any>;
|
|
@@ -6479,8 +6478,6 @@ type BlockEntity = {
|
|
|
6479
6478
|
type?: 'component';
|
|
6480
6479
|
isThemeSection?: boolean;
|
|
6481
6480
|
needPublishing?: boolean;
|
|
6482
|
-
isShopifySection?: boolean;
|
|
6483
|
-
isShopifyVisibility?: boolean;
|
|
6484
6481
|
};
|
|
6485
6482
|
type SectionEntity = {
|
|
6486
6483
|
uid: string;
|
|
@@ -6490,8 +6487,6 @@ type SectionEntity = {
|
|
|
6490
6487
|
name?: string;
|
|
6491
6488
|
isThemeSection?: boolean;
|
|
6492
6489
|
needPublishing?: boolean;
|
|
6493
|
-
isShopifySection?: boolean;
|
|
6494
|
-
isShopifyVisibility?: boolean;
|
|
6495
6490
|
};
|
|
6496
6491
|
type BuilderEntity = BlockEntity | SectionEntity;
|
|
6497
6492
|
type BuilderEntityNested = Omit<BlockEntity, 'childrens'> & {
|
|
@@ -6542,15 +6537,9 @@ type SaleFunnelDiscountEdge$1 = {
|
|
|
6542
6537
|
cursor: Scalars$1['Cursor'];
|
|
6543
6538
|
node?: Maybe$1<SaleFunnelDiscount$1>;
|
|
6544
6539
|
};
|
|
6545
|
-
type ProductOffer = Maybe$1<Pick<SaleFunnelDiscountEdge$1,
|
|
6546
|
-
node?: Maybe$1<Pick<SaleFunnelDiscount$1,
|
|
6540
|
+
type ProductOffer = Maybe$1<Pick<SaleFunnelDiscountEdge$1, "cursor"> & {
|
|
6541
|
+
node?: Maybe$1<Pick<SaleFunnelDiscount$1, "id" | "value" | "type" | "position" | "objectBaseID" | "objectType" | "title" | "valueType" | "isEnabled">>;
|
|
6547
6542
|
}>;
|
|
6548
|
-
type RawChild = {
|
|
6549
|
-
uid: string;
|
|
6550
|
-
builder: Record<string, any>;
|
|
6551
|
-
components: Record<string, any>;
|
|
6552
|
-
[key: string]: any;
|
|
6553
|
-
};
|
|
6554
6543
|
|
|
6555
6544
|
type InitComponentType<T = any> = {
|
|
6556
6545
|
[K in keyof T]-?: {
|
|
@@ -6617,7 +6606,7 @@ type Component = InitComponentType & {
|
|
|
6617
6606
|
};
|
|
6618
6607
|
type NameDevices$1 = 'desktop' | 'tablet' | 'mobile';
|
|
6619
6608
|
type ObjectDevices<T> = Partial<Record<NameDevices$1, T>>;
|
|
6620
|
-
type StateType = 'normal' | 'hover' | 'focus' | 'active'
|
|
6609
|
+
type StateType = 'normal' | 'hover' | 'focus' | 'active';
|
|
6621
6610
|
type StateProp<T> = Partial<Record<StateType, T>>;
|
|
6622
6611
|
type ResponsiveStateProp<T> = ObjectDevices<StateProp<T>>;
|
|
6623
6612
|
type AlignItemProp = 'left' | 'center' | 'right';
|
|
@@ -6738,8 +6727,6 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
6738
6727
|
hover?: boolean;
|
|
6739
6728
|
focus?: boolean;
|
|
6740
6729
|
active?: boolean;
|
|
6741
|
-
price?: boolean;
|
|
6742
|
-
compareAtPrice?: boolean;
|
|
6743
6730
|
};
|
|
6744
6731
|
emptyOnClear?: boolean;
|
|
6745
6732
|
showVideo?: boolean;
|
|
@@ -6927,7 +6914,6 @@ type InputControlType<T> = SharedControlType<T> & {
|
|
|
6927
6914
|
value: any;
|
|
6928
6915
|
}[];
|
|
6929
6916
|
readonly?: boolean;
|
|
6930
|
-
suffix?: string;
|
|
6931
6917
|
action?: {
|
|
6932
6918
|
clear?: boolean;
|
|
6933
6919
|
};
|
|
@@ -6972,7 +6958,6 @@ type PositionControlType<T> = SharedControlType<T> & {
|
|
|
6972
6958
|
|
|
6973
6959
|
type PositionSquareControlType<T> = SharedControlType<T> & {
|
|
6974
6960
|
type: 'position:square';
|
|
6975
|
-
ignoreValue?: string[];
|
|
6976
6961
|
};
|
|
6977
6962
|
|
|
6978
6963
|
type RadioGroupControlType = {
|
|
@@ -6993,7 +6978,6 @@ type RangeControlType<T> = SharedControlType<T> & {
|
|
|
6993
6978
|
disableOnChange?: boolean;
|
|
6994
6979
|
useOnlyUnitInit?: boolean;
|
|
6995
6980
|
hideUnit?: boolean;
|
|
6996
|
-
hideInput?: boolean;
|
|
6997
6981
|
};
|
|
6998
6982
|
|
|
6999
6983
|
type Option$3<T> = {
|
|
@@ -7050,14 +7034,6 @@ type SegmentControlType<T> = {
|
|
|
7050
7034
|
[K in keyof T]-?: Mapped$4<K, T[K]>;
|
|
7051
7035
|
}[keyof T];
|
|
7052
7036
|
|
|
7053
|
-
type OpenLinkControlType<T> = SharedControlType<T> & {
|
|
7054
|
-
type: 'open-link';
|
|
7055
|
-
target?: string;
|
|
7056
|
-
href: string;
|
|
7057
|
-
appName?: string;
|
|
7058
|
-
linkType?: 'openApp' | 'install';
|
|
7059
|
-
};
|
|
7060
|
-
|
|
7061
7037
|
type Option$2<T> = {
|
|
7062
7038
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
7063
7039
|
label: string | number;
|
|
@@ -7433,11 +7409,6 @@ type ProductListControlType<T> = SharedControlType<T> & {
|
|
|
7433
7409
|
isMultiple?: boolean;
|
|
7434
7410
|
};
|
|
7435
7411
|
|
|
7436
|
-
type ArticleListControlType<T> = SharedControlType<T> & {
|
|
7437
|
-
type: 'article-list';
|
|
7438
|
-
isMultiple?: boolean;
|
|
7439
|
-
};
|
|
7440
|
-
|
|
7441
7412
|
type SizeUnit$1 = '%' | 'cm' | 'mm' | 'Q' | 'in' | 'pc' | 'pt' | 'px' | 'em' | 'cap' | 'ex' | 'ch' | 'ic' | 'rem' | 'lh' | 'rlh' | 'vw' | 'vh' | 'vi' | 'vb' | 'vmin' | 'vmax';
|
|
7442
7413
|
type InputUnitSpacingControlType<T> = SharedControlType<T> & {
|
|
7443
7414
|
type: 'input:unit-spacing';
|
|
@@ -7476,7 +7447,6 @@ type TypographyV2ControlType<T> = SharedControlType<T> & {
|
|
|
7476
7447
|
color?: boolean;
|
|
7477
7448
|
transform?: boolean;
|
|
7478
7449
|
};
|
|
7479
|
-
disableCollapse?: boolean;
|
|
7480
7450
|
};
|
|
7481
7451
|
|
|
7482
7452
|
type StickyDisplayControlType<T> = SharedControlType<T> & {
|
|
@@ -7597,7 +7567,6 @@ type ParallaxScrollingType<T> = SharedControlType<T> & {
|
|
|
7597
7567
|
|
|
7598
7568
|
type BackgroundColorPickerType<T> = SharedControlType<T> & {
|
|
7599
7569
|
type: 'background-color-picker';
|
|
7600
|
-
mode?: 'both' | 'solid' | 'gradient';
|
|
7601
7570
|
popup?: boolean;
|
|
7602
7571
|
readonly?: boolean;
|
|
7603
7572
|
};
|
|
@@ -7720,7 +7689,6 @@ type ProductOffersControlType<T> = SharedControlType<T> & {
|
|
|
7720
7689
|
|
|
7721
7690
|
type DiscountAndShippingFee<T> = SharedControlType<T> & {
|
|
7722
7691
|
type: 'discount-and-shipping-fee-product-offer';
|
|
7723
|
-
multiple: boolean;
|
|
7724
7692
|
};
|
|
7725
7693
|
|
|
7726
7694
|
type PostPurchaseTextareaControlType<T> = SharedControlType<T> & {
|
|
@@ -7743,21 +7711,7 @@ type NotesControlType<T> = SharedControlType<T> & {
|
|
|
7743
7711
|
value?: string;
|
|
7744
7712
|
};
|
|
7745
7713
|
|
|
7746
|
-
type
|
|
7747
|
-
type: 'button-layout';
|
|
7748
|
-
options: {
|
|
7749
|
-
id: string;
|
|
7750
|
-
value: string;
|
|
7751
|
-
name: string;
|
|
7752
|
-
icon: boolean;
|
|
7753
|
-
}[];
|
|
7754
|
-
};
|
|
7755
|
-
|
|
7756
|
-
type ShapeSelectorControlType<T> = SharedControlType<T> & {
|
|
7757
|
-
type: 'shape-selector';
|
|
7758
|
-
};
|
|
7759
|
-
|
|
7760
|
-
type ControlProp<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>;
|
|
7714
|
+
type ControlProp<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> | 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> | 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> | BackgroundColorPickerType<T> | ProductInputCurrencyUnitControlType<T> | TypographyPostPurchaseControlType<T> | ProductOffersControlType<T> | DiscountAndShippingFee<T> | SneakPeakControlType<T> | PostPurchaseTextareaControlType<T> | NotesControlType<T>;
|
|
7761
7715
|
type ControlTriggerAction = {
|
|
7762
7716
|
controlId: string;
|
|
7763
7717
|
newValue?: any;
|
|
@@ -7813,7 +7767,6 @@ type ComponentSetting<P extends BaseProps> = {
|
|
|
7813
7767
|
flowPage?: string;
|
|
7814
7768
|
notAppendTags?: string[];
|
|
7815
7769
|
notAppendLeftRight?: boolean;
|
|
7816
|
-
allowAppendTags?: string[];
|
|
7817
7770
|
};
|
|
7818
7771
|
sideBar?: {
|
|
7819
7772
|
hide?: boolean;
|
|
@@ -7837,7 +7790,6 @@ type ControlUI = {
|
|
|
7837
7790
|
label?: Record<string, string>;
|
|
7838
7791
|
info?: Record<string, string>;
|
|
7839
7792
|
condition?: string;
|
|
7840
|
-
target?: 'tab';
|
|
7841
7793
|
controls?: ControlUI[];
|
|
7842
7794
|
setting?: {
|
|
7843
7795
|
id: string;
|
|
@@ -7860,7 +7812,6 @@ type ControlUI = {
|
|
|
7860
7812
|
iconClass?: string;
|
|
7861
7813
|
containerClass?: string;
|
|
7862
7814
|
enableTeleport?: boolean;
|
|
7863
|
-
contentStyle?: React.CSSProperties;
|
|
7864
7815
|
};
|
|
7865
7816
|
hideOnDevices?: {
|
|
7866
7817
|
desktop?: boolean;
|
|
@@ -7868,7 +7819,6 @@ type ControlUI = {
|
|
|
7868
7819
|
mobile?: boolean;
|
|
7869
7820
|
};
|
|
7870
7821
|
hideOnPages?: PageType[];
|
|
7871
|
-
itemSpacing?: 'small' | 'medium' | 'large';
|
|
7872
7822
|
};
|
|
7873
7823
|
isMoreSetting?: boolean;
|
|
7874
7824
|
hiddenDivice?: boolean;
|
|
@@ -7896,7 +7846,6 @@ type ComponentPreset = {
|
|
|
7896
7846
|
};
|
|
7897
7847
|
components: InitComponentType[];
|
|
7898
7848
|
hideTextContent?: boolean;
|
|
7899
|
-
flowTagComponents?: Record<string, InitComponentType[]>;
|
|
7900
7849
|
};
|
|
7901
7850
|
|
|
7902
7851
|
type PageContext = {
|
|
@@ -7988,7 +7937,7 @@ type AnalyticsQueryParameter = {
|
|
|
7988
7937
|
startDate?: InputMaybe<Scalars['Time']>;
|
|
7989
7938
|
};
|
|
7990
7939
|
type AppType = 'CUSTOM' | 'GEMPAGES' | 'GEMPAGESV5' | 'GEMPAGESV7' | 'GEMX';
|
|
7991
|
-
type Article
|
|
7940
|
+
type Article = {
|
|
7992
7941
|
baseID?: Maybe<Scalars['String']>;
|
|
7993
7942
|
blogs?: Maybe<BlogConnection>;
|
|
7994
7943
|
description?: Maybe<Scalars['String']>;
|
|
@@ -8061,7 +8010,7 @@ type ArticleConnection = {
|
|
|
8061
8010
|
};
|
|
8062
8011
|
type ArticleEdge = {
|
|
8063
8012
|
cursor?: Maybe<Scalars['Cursor']>;
|
|
8064
|
-
node?: Maybe<Article
|
|
8013
|
+
node?: Maybe<Article>;
|
|
8065
8014
|
};
|
|
8066
8015
|
type ArticleOrder = {
|
|
8067
8016
|
direction: OrderDirection;
|
|
@@ -18871,7 +18820,7 @@ type PutCustomComponentFileInput = {
|
|
|
18871
18820
|
name: Scalars['String'];
|
|
18872
18821
|
};
|
|
18873
18822
|
type Query = {
|
|
18874
|
-
article?: Maybe<Article
|
|
18823
|
+
article?: Maybe<Article>;
|
|
18875
18824
|
articles?: Maybe<ArticleConnection>;
|
|
18876
18825
|
backgroundTasks?: Maybe<BackgroundTaskConnection>;
|
|
18877
18826
|
blog?: Maybe<Blog>;
|
|
@@ -25052,6 +25001,7 @@ type appAPI_AddEmployeeInput = AddEmployeeInput;
|
|
|
25052
25001
|
type appAPI_Analytic = Analytic;
|
|
25053
25002
|
type appAPI_AnalyticsQueryParameter = AnalyticsQueryParameter;
|
|
25054
25003
|
type appAPI_AppType = AppType;
|
|
25004
|
+
type appAPI_Article = Article;
|
|
25055
25005
|
type appAPI_ArticleBlogWhereInput = ArticleBlogWhereInput;
|
|
25056
25006
|
type appAPI_ArticleBlogsArgs = ArticleBlogsArgs;
|
|
25057
25007
|
type appAPI_ArticleConnection = ArticleConnection;
|
|
@@ -26044,7 +25994,7 @@ declare namespace appAPI {
|
|
|
26044
25994
|
appAPI_Analytic as Analytic,
|
|
26045
25995
|
appAPI_AnalyticsQueryParameter as AnalyticsQueryParameter,
|
|
26046
25996
|
appAPI_AppType as AppType,
|
|
26047
|
-
|
|
25997
|
+
appAPI_Article as Article,
|
|
26048
25998
|
appAPI_ArticleBlogWhereInput as ArticleBlogWhereInput,
|
|
26049
25999
|
appAPI_ArticleBlogsArgs as ArticleBlogsArgs,
|
|
26050
26000
|
appAPI_ArticleConnection as ArticleConnection,
|
|
@@ -27063,7 +27013,7 @@ type TypographyProps = {
|
|
|
27063
27013
|
};
|
|
27064
27014
|
type TypographyV2Props = Omit<TypographyProps, 'fontSize' | 'lineHeight'> & {
|
|
27065
27015
|
fontSize?: ObjectDevices<string>;
|
|
27066
|
-
lineHeight?:
|
|
27016
|
+
lineHeight?: string;
|
|
27067
27017
|
};
|
|
27068
27018
|
type TypographyV2Attrs = {
|
|
27069
27019
|
bold?: boolean;
|
|
@@ -27637,39 +27587,6 @@ type ModalProviderProps = Pick<ModalContextProps, 'activeId'> & {
|
|
|
27637
27587
|
declare const ModalProvider: React.FC<ModalProviderProps>;
|
|
27638
27588
|
declare const useModalStore: <U>(selector: (state: ExtractState<StoreApi<ModalContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
|
|
27639
27589
|
|
|
27640
|
-
type ArticleListContextProps = {
|
|
27641
|
-
articles?: any[];
|
|
27642
|
-
blogs?: Blog$1[];
|
|
27643
|
-
settings?: {
|
|
27644
|
-
slidesToShow?: ObjectDevices<number | 'auto'>;
|
|
27645
|
-
};
|
|
27646
|
-
styles?: {
|
|
27647
|
-
horizontalGutter?: ObjectDevices<string>;
|
|
27648
|
-
verticalGutter?: ObjectDevices<string>;
|
|
27649
|
-
fullWidth?: ObjectDevices<boolean>;
|
|
27650
|
-
spacing?: ObjectDevices<number>;
|
|
27651
|
-
width?: ObjectDevices<string>;
|
|
27652
|
-
height?: ObjectDevices<string>;
|
|
27653
|
-
};
|
|
27654
|
-
};
|
|
27655
|
-
type ArticleListProviderProps = ArticleListContextProps & {
|
|
27656
|
-
children: React.ReactNode;
|
|
27657
|
-
};
|
|
27658
|
-
declare const ArticleListProvider: React.FC<ArticleListProviderProps>;
|
|
27659
|
-
declare const useArticleListStore: <U>(selector: (state: ExtractState<StoreApi<ArticleListContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
|
|
27660
|
-
|
|
27661
|
-
type Article = any;
|
|
27662
|
-
type ArticleContextProps = {
|
|
27663
|
-
article: Article;
|
|
27664
|
-
uniqueId: string;
|
|
27665
|
-
};
|
|
27666
|
-
type ArticleProviderProps = Pick<ArticleContextProps, 'article'> & {
|
|
27667
|
-
readOnly?: boolean;
|
|
27668
|
-
children: React.ReactNode;
|
|
27669
|
-
};
|
|
27670
|
-
declare const ArticleProvider: React.FC<ArticleProviderProps>;
|
|
27671
|
-
declare const useArticleStore: <U>(selector: (state: ExtractState<StoreApi<ArticleContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
|
|
27672
|
-
|
|
27673
27590
|
type PageViewUpMutationVariables = Exact$1<{
|
|
27674
27591
|
pageHandle: Scalars$2['String'];
|
|
27675
27592
|
userAgent: Scalars$2['String'];
|
|
@@ -27970,13 +27887,15 @@ declare const handleConvertClassColorDynamicBtn: (value?: BorderStyle) => string
|
|
|
27970
27887
|
declare const composeBorderCss: (borderV?: Border | undefined) => string;
|
|
27971
27888
|
|
|
27972
27889
|
type DotStyle = 'none' | 'inside' | 'outside';
|
|
27973
|
-
declare const getCarouselContainerHeight: <T>(dotStyle?: Partial<Record<NameDevices$1, T>> | undefined) => {
|
|
27890
|
+
declare const getCarouselContainerHeight: <T>(dotStyle?: Partial<Record<NameDevices$1, T>> | undefined, dotSize?: ObjectDevices<number>, dotGapToCarousel?: ObjectDevices<number>) => {
|
|
27974
27891
|
desktop: string | undefined;
|
|
27975
27892
|
tablet: string | undefined;
|
|
27976
27893
|
mobile: string | undefined;
|
|
27977
27894
|
};
|
|
27978
27895
|
declare const makeContainerWidthOrHeight: <T extends ShortHandProperty>(setting: {
|
|
27979
27896
|
dotStyle?: ObjectDevices<DotStyle>;
|
|
27897
|
+
dotSize?: ObjectDevices<number>;
|
|
27898
|
+
dotGapToCarousel?: ObjectDevices<number>;
|
|
27980
27899
|
vertical?: ObjectDevices<boolean>;
|
|
27981
27900
|
}) => {
|
|
27982
27901
|
[x: string]: string | undefined;
|
|
@@ -28037,6 +27956,72 @@ declare const prefetchQueries: (input: BuilderState, options?: {
|
|
|
28037
27956
|
isStorefront?: boolean;
|
|
28038
27957
|
}) => Result[];
|
|
28039
27958
|
|
|
27959
|
+
declare const validateEmail: (email: string) => boolean;
|
|
27960
|
+
|
|
27961
|
+
declare function loadScript(src: string, options?: {
|
|
27962
|
+
module?: boolean;
|
|
27963
|
+
in?: 'head' | 'body';
|
|
27964
|
+
}): Promise<boolean>;
|
|
27965
|
+
|
|
27966
|
+
declare function getSpacingVariable(key?: SpacingType): string;
|
|
27967
|
+
declare const composeSpacing: (spacingValue?: ObjectDevices<SpacingType>) => React.CSSProperties;
|
|
27968
|
+
|
|
27969
|
+
declare const genVariable: (variableName: string) => string;
|
|
27970
|
+
|
|
27971
|
+
declare const pageview$1: () => void;
|
|
27972
|
+
declare const event: (name: string, options?: {}) => void;
|
|
27973
|
+
declare const addToCart$2: (product: ProductInputAnalytic) => void;
|
|
27974
|
+
|
|
27975
|
+
declare const fpixel_event: typeof event;
|
|
27976
|
+
declare namespace fpixel {
|
|
27977
|
+
export {
|
|
27978
|
+
addToCart$2 as addToCart,
|
|
27979
|
+
fpixel_event as event,
|
|
27980
|
+
pageview$1 as pageview,
|
|
27981
|
+
};
|
|
27982
|
+
}
|
|
27983
|
+
|
|
27984
|
+
declare const pageview: (url: string, trackingId?: string | null) => void;
|
|
27985
|
+
/** Addition to cart events
|
|
27986
|
+
* https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#add-remove-cart
|
|
27987
|
+
*/
|
|
27988
|
+
declare const addToCart$1: (product: ProductInputAnalytic) => void;
|
|
27989
|
+
/** Product clicked event
|
|
27990
|
+
* https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#product-click
|
|
27991
|
+
*/
|
|
27992
|
+
declare const productClick: (product: ProductInputAnalytic) => void;
|
|
27993
|
+
/** Product viewed event
|
|
27994
|
+
* https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#measuring-actvities
|
|
27995
|
+
*/
|
|
27996
|
+
declare const productDetail: (product: ProductInputAnalytic) => void;
|
|
27997
|
+
/** Removal from cart events
|
|
27998
|
+
* https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#add-remove-cart
|
|
27999
|
+
*/
|
|
28000
|
+
declare const removeFromCart: (product: ProductInputAnalytic, price: number) => void;
|
|
28001
|
+
|
|
28002
|
+
declare const gtag_pageview: typeof pageview;
|
|
28003
|
+
declare const gtag_productClick: typeof productClick;
|
|
28004
|
+
declare const gtag_productDetail: typeof productDetail;
|
|
28005
|
+
declare const gtag_removeFromCart: typeof removeFromCart;
|
|
28006
|
+
declare namespace gtag {
|
|
28007
|
+
export {
|
|
28008
|
+
addToCart$1 as addToCart,
|
|
28009
|
+
gtag_pageview as pageview,
|
|
28010
|
+
gtag_productClick as productClick,
|
|
28011
|
+
gtag_productDetail as productDetail,
|
|
28012
|
+
gtag_removeFromCart as removeFromCart,
|
|
28013
|
+
};
|
|
28014
|
+
}
|
|
28015
|
+
|
|
28016
|
+
declare const addToCart: (product: ProductInputAnalytic) => void;
|
|
28017
|
+
|
|
28018
|
+
declare const tiktokpixel_addToCart: typeof addToCart;
|
|
28019
|
+
declare namespace tiktokpixel {
|
|
28020
|
+
export {
|
|
28021
|
+
tiktokpixel_addToCart as addToCart,
|
|
28022
|
+
};
|
|
28023
|
+
}
|
|
28024
|
+
|
|
28040
28025
|
type Devices = 'desktop' | 'tablet' | 'mobile';
|
|
28041
28026
|
type Options = {
|
|
28042
28027
|
liquid?: boolean;
|
|
@@ -34112,8 +34097,6 @@ declare const makeHeight: (heighValue?: ObjectDevices<string | number>, autoHeig
|
|
|
34112
34097
|
declare const makeAspectRatio: (aspectRatio?: ObjectDevices<string>, aspectWidth?: ObjectDevices<string | number>, aspectHeight?: ObjectDevices<string | number>) => ObjectDevices<string>;
|
|
34113
34098
|
declare const makeLineClamp: (lineClampValue?: ObjectDevices<number>, hasLineClampValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
34114
34099
|
|
|
34115
|
-
declare const convertTextAlignToJustify: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
|
|
34116
|
-
|
|
34117
34100
|
declare function getSelectedVariant(variants?: Maybe$1<VariantSelectFragment>[], choices?: Record<string, string>, variantId?: string | null): Maybe$1<VariantSelectFragment>;
|
|
34118
34101
|
declare function parseSelectedOption(options: SelectedOption$1[]): SelectedOption$1 | undefined;
|
|
34119
34102
|
declare function checkAvailableVariantInStock(variants: Maybe$1<VariantSelectFragment>[] | undefined, optionId: string, optionValue: string): boolean;
|
|
@@ -35720,72 +35703,6 @@ declare const composeTypographyStyle: (typo?: TypographySettingV2, typography?:
|
|
|
35720
35703
|
vectorEffect?: csstype.Property.VectorEffect | undefined;
|
|
35721
35704
|
};
|
|
35722
35705
|
|
|
35723
|
-
declare const validateEmail: (email: string) => boolean;
|
|
35724
|
-
|
|
35725
|
-
declare function loadScript(src: string, options?: {
|
|
35726
|
-
module?: boolean;
|
|
35727
|
-
in?: 'head' | 'body';
|
|
35728
|
-
}): Promise<boolean>;
|
|
35729
|
-
|
|
35730
|
-
declare function getSpacingVariable(key?: SpacingType): string;
|
|
35731
|
-
declare const composeSpacing: (spacingValue?: ObjectDevices<SpacingType>) => React.CSSProperties;
|
|
35732
|
-
|
|
35733
|
-
declare const genVariable: (variableName: string) => string;
|
|
35734
|
-
|
|
35735
|
-
declare const pageview$1: () => void;
|
|
35736
|
-
declare const event: (name: string, options?: {}) => void;
|
|
35737
|
-
declare const addToCart$2: (product: ProductInputAnalytic) => void;
|
|
35738
|
-
|
|
35739
|
-
declare const fpixel_event: typeof event;
|
|
35740
|
-
declare namespace fpixel {
|
|
35741
|
-
export {
|
|
35742
|
-
addToCart$2 as addToCart,
|
|
35743
|
-
fpixel_event as event,
|
|
35744
|
-
pageview$1 as pageview,
|
|
35745
|
-
};
|
|
35746
|
-
}
|
|
35747
|
-
|
|
35748
|
-
declare const pageview: (url: string, trackingId?: string | null) => void;
|
|
35749
|
-
/** Addition to cart events
|
|
35750
|
-
* https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#add-remove-cart
|
|
35751
|
-
*/
|
|
35752
|
-
declare const addToCart$1: (product: ProductInputAnalytic) => void;
|
|
35753
|
-
/** Product clicked event
|
|
35754
|
-
* https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#product-click
|
|
35755
|
-
*/
|
|
35756
|
-
declare const productClick: (product: ProductInputAnalytic) => void;
|
|
35757
|
-
/** Product viewed event
|
|
35758
|
-
* https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#measuring-actvities
|
|
35759
|
-
*/
|
|
35760
|
-
declare const productDetail: (product: ProductInputAnalytic) => void;
|
|
35761
|
-
/** Removal from cart events
|
|
35762
|
-
* https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#add-remove-cart
|
|
35763
|
-
*/
|
|
35764
|
-
declare const removeFromCart: (product: ProductInputAnalytic, price: number) => void;
|
|
35765
|
-
|
|
35766
|
-
declare const gtag_pageview: typeof pageview;
|
|
35767
|
-
declare const gtag_productClick: typeof productClick;
|
|
35768
|
-
declare const gtag_productDetail: typeof productDetail;
|
|
35769
|
-
declare const gtag_removeFromCart: typeof removeFromCart;
|
|
35770
|
-
declare namespace gtag {
|
|
35771
|
-
export {
|
|
35772
|
-
addToCart$1 as addToCart,
|
|
35773
|
-
gtag_pageview as pageview,
|
|
35774
|
-
gtag_productClick as productClick,
|
|
35775
|
-
gtag_productDetail as productDetail,
|
|
35776
|
-
gtag_removeFromCart as removeFromCart,
|
|
35777
|
-
};
|
|
35778
|
-
}
|
|
35779
|
-
|
|
35780
|
-
declare const addToCart: (product: ProductInputAnalytic) => void;
|
|
35781
|
-
|
|
35782
|
-
declare const tiktokpixel_addToCart: typeof addToCart;
|
|
35783
|
-
declare namespace tiktokpixel {
|
|
35784
|
-
export {
|
|
35785
|
-
tiktokpixel_addToCart as addToCart,
|
|
35786
|
-
};
|
|
35787
|
-
}
|
|
35788
|
-
|
|
35789
35706
|
type Func$6 = ReturnType<typeof addToCartOperation>;
|
|
35790
35707
|
type Response$6 = Awaited<ReturnType<Func$6>>;
|
|
35791
35708
|
type Args$5 = Parameters<Func$6>[0];
|
|
@@ -35950,64 +35867,6 @@ declare const useMoney: (amount: number) => UseMoneyValue;
|
|
|
35950
35867
|
|
|
35951
35868
|
declare const usePrevious: <T>(value: T) => T | undefined;
|
|
35952
35869
|
|
|
35953
|
-
type BlogsQueryResponse = {
|
|
35954
|
-
blogs?: Maybe$1<Pick<BlogConnection$1, 'totalCount'> & {
|
|
35955
|
-
edges: Array<Pick<BlogEdge$1, 'cursor'> & {
|
|
35956
|
-
node?: Maybe$1<Pick<Blog$1, 'baseID' | 'description' | 'descriptionMeta' | 'handle' | 'id' | 'platform' | 'tags' | 'templateSuffix' | 'title' | 'titleMeta'>>;
|
|
35957
|
-
}>;
|
|
35958
|
-
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>>;
|
|
35959
|
-
}>;
|
|
35960
|
-
};
|
|
35961
|
-
|
|
35962
|
-
declare const useArticlesQuery: () => ({
|
|
35963
|
-
baseID: string;
|
|
35964
|
-
id: number;
|
|
35965
|
-
title: string;
|
|
35966
|
-
created_at: string;
|
|
35967
|
-
body_html: string;
|
|
35968
|
-
blog_id: number;
|
|
35969
|
-
author: string;
|
|
35970
|
-
user_id: number;
|
|
35971
|
-
published_at: string;
|
|
35972
|
-
updated_at: string;
|
|
35973
|
-
summary_html: string;
|
|
35974
|
-
template_suffix: string;
|
|
35975
|
-
handle: string;
|
|
35976
|
-
tags: string;
|
|
35977
|
-
admin_graphql_api_id: string;
|
|
35978
|
-
image: {
|
|
35979
|
-
created_at: string;
|
|
35980
|
-
alt: string;
|
|
35981
|
-
width: number;
|
|
35982
|
-
height: number;
|
|
35983
|
-
src: string;
|
|
35984
|
-
};
|
|
35985
|
-
} | {
|
|
35986
|
-
baseID: string;
|
|
35987
|
-
id: number;
|
|
35988
|
-
title: string;
|
|
35989
|
-
created_at: string;
|
|
35990
|
-
body_html: string;
|
|
35991
|
-
blog_id: number;
|
|
35992
|
-
author: string;
|
|
35993
|
-
user_id: null;
|
|
35994
|
-
published_at: string;
|
|
35995
|
-
updated_at: string;
|
|
35996
|
-
summary_html: string;
|
|
35997
|
-
template_suffix: string;
|
|
35998
|
-
handle: string;
|
|
35999
|
-
tags: string;
|
|
36000
|
-
admin_graphql_api_id: string;
|
|
36001
|
-
image: {
|
|
36002
|
-
created_at: string;
|
|
36003
|
-
alt: string;
|
|
36004
|
-
width: number;
|
|
36005
|
-
height: number;
|
|
36006
|
-
src: string;
|
|
36007
|
-
};
|
|
36008
|
-
})[];
|
|
36009
|
-
declare const useBlogsQuery: () => BlogsQueryResponse;
|
|
36010
|
-
|
|
36011
35870
|
declare const useUniqProductID: () => string;
|
|
36012
35871
|
declare const useProduct: () => ProductSelectFragment | undefined;
|
|
36013
35872
|
declare const useFeaturedImageGlobal: () => MediaSelectFragment | undefined;
|
|
@@ -36031,11 +35890,11 @@ declare const useSelectedOption: () => {
|
|
|
36031
35890
|
setSelectedOption: (optionId?: Maybe$1<string>, optionValue?: Maybe$1<string>, productId?: Maybe$1<string>, noEmit?: boolean) => void;
|
|
36032
35891
|
forceSelectedOption: (selectedOption?: Record<string, string>, productId?: Maybe$1<string>, noEmit?: boolean) => void;
|
|
36033
35892
|
};
|
|
36034
|
-
declare const useVariants: () => Maybe$1<Pick<ProductVariant$1, "id" | "title" | "
|
|
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" | "price" | "salePrice" | "soldIndividually"> & {
|
|
36035
35894
|
selectedOptions: Pick<SelectedOption$1, "name" | "value" | "optionType">[];
|
|
36036
35895
|
media?: Maybe$1<Pick<Media$1, "id" | "width" | "height" | "src" | "alt" | "contentType" | "previewImage">>;
|
|
36037
35896
|
}>[];
|
|
36038
|
-
declare const useVariant: (id: string) => Maybe$1<Pick<ProductVariant$1, "id" | "title" | "
|
|
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" | "price" | "salePrice" | "soldIndividually"> & {
|
|
36039
35898
|
selectedOptions: Pick<SelectedOption$1, "name" | "value" | "optionType">[];
|
|
36040
35899
|
media?: Maybe$1<Pick<Media$1, "id" | "width" | "height" | "src" | "alt" | "contentType" | "previewImage">>;
|
|
36041
35900
|
}>;
|
|
@@ -36090,4 +35949,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'name'
|
|
|
36090
35949
|
|
|
36091
35950
|
declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
|
|
36092
35951
|
|
|
36093
|
-
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,
|
|
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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "1.42.
|
|
3
|
+
"version": "1.42.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -27,12 +27,10 @@
|
|
|
27
27
|
"type-check": "yarn tsc --noEmit"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@gem-sdk/adapter-shopify": "1.
|
|
31
|
-
"@gem-sdk/styles": "1.
|
|
32
|
-
"@types/classnames": "^2.3.1"
|
|
30
|
+
"@gem-sdk/adapter-shopify": "1.40.0",
|
|
31
|
+
"@gem-sdk/styles": "1.41.8"
|
|
33
32
|
},
|
|
34
33
|
"dependencies": {
|
|
35
|
-
"classnames": "^2.5.1",
|
|
36
34
|
"react-error-boundary": "4.0.10",
|
|
37
35
|
"swr": "2.1.2",
|
|
38
36
|
"vanilla-lazyload": "17.8.3",
|