@gem-sdk/core 1.45.0-dev.93 → 1.45.0
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 +8 -47
- package/dist/cjs/components/ComponentWrapperPreview.js +2 -16
- package/dist/cjs/components/Render.liquid.js +3 -2
- package/dist/cjs/components/RenderPreview.js +0 -1
- package/dist/cjs/components/constant.js +2 -6
- package/dist/cjs/components/theme-section/ThemeSectionStatus.js +5 -14
- package/dist/cjs/contexts/BuilderPreviewContext.js +1 -5
- package/dist/cjs/contexts/ModalContext.js +2 -2
- package/dist/cjs/contexts/PageContext.js +1 -29
- package/dist/cjs/contexts/SectionContext.js +0 -1
- package/dist/cjs/graphql/queries/blogs.generated.js +3 -0
- package/dist/cjs/helpers/colors.js +2 -2
- package/dist/cjs/helpers/shadow.js +1 -1
- package/dist/cjs/helpers/size.js +0 -4
- package/dist/cjs/hooks/animation/useAnimationPreview.js +0 -1
- package/dist/cjs/hooks/animation/useApplyAnimation.js +0 -2
- package/dist/cjs/hooks/articles/useArticlesQuery.js +0 -1
- package/dist/cjs/hooks/useFormatMoney.js +60 -61
- package/dist/cjs/index.js +0 -13
- package/dist/esm/components/ComponentToolbarPreview.js +9 -48
- package/dist/esm/components/ComponentWrapperPreview.js +2 -16
- package/dist/esm/components/Render.liquid.js +3 -2
- package/dist/esm/components/RenderPreview.js +0 -1
- package/dist/esm/components/constant.js +2 -6
- package/dist/esm/components/theme-section/ThemeSectionStatus.js +5 -14
- package/dist/esm/contexts/BuilderPreviewContext.js +1 -5
- package/dist/esm/contexts/ModalContext.js +2 -2
- package/dist/esm/contexts/PageContext.js +1 -29
- package/dist/esm/contexts/SectionContext.js +0 -1
- package/dist/esm/graphql/queries/blogs.generated.js +3 -0
- package/dist/esm/helpers/colors.js +2 -2
- package/dist/esm/helpers/shadow.js +1 -1
- package/dist/esm/helpers/size.js +1 -4
- package/dist/esm/hooks/animation/useAnimationPreview.js +0 -1
- package/dist/esm/hooks/animation/useApplyAnimation.js +0 -2
- package/dist/esm/hooks/articles/useArticlesQuery.js +0 -1
- package/dist/esm/hooks/useFormatMoney.js +61 -61
- package/dist/esm/index.js +2 -4
- package/dist/types/index.d.ts +5 -215
- package/package.json +3 -3
- package/dist/cjs/components/InteractionSuffix.js +0 -107
- package/dist/cjs/helpers/align.js +0 -19
- package/dist/cjs/hooks/useInteraction.js +0 -19
- package/dist/cjs/types/custom.js +0 -44
- package/dist/esm/components/InteractionSuffix.js +0 -105
- package/dist/esm/helpers/align.js +0 -17
- package/dist/esm/hooks/useInteraction.js +0 -17
- package/dist/esm/types/custom.js +0 -44
package/dist/types/index.d.ts
CHANGED
|
@@ -6709,7 +6709,6 @@ type BlockEntity = {
|
|
|
6709
6709
|
name?: string;
|
|
6710
6710
|
dateModified?: string | number;
|
|
6711
6711
|
childrens?: string[];
|
|
6712
|
-
rawChildrens?: BlockEntity[];
|
|
6713
6712
|
settings?: Record<string, any>;
|
|
6714
6713
|
advanced?: Record<string, any>;
|
|
6715
6714
|
styles?: Record<string, any>;
|
|
@@ -6717,7 +6716,6 @@ type BlockEntity = {
|
|
|
6717
6716
|
type?: 'component';
|
|
6718
6717
|
isThemeSection?: boolean;
|
|
6719
6718
|
needPublishing?: boolean;
|
|
6720
|
-
status?: ThemeSectionStatus$1;
|
|
6721
6719
|
isShopifySection?: boolean;
|
|
6722
6720
|
isShopifyVisibility?: boolean;
|
|
6723
6721
|
};
|
|
@@ -6728,12 +6726,10 @@ type SectionEntity = {
|
|
|
6728
6726
|
type: 'section';
|
|
6729
6727
|
name?: string;
|
|
6730
6728
|
isThemeSection?: boolean;
|
|
6731
|
-
status?: ThemeSectionStatus$1;
|
|
6732
6729
|
needPublishing?: boolean;
|
|
6733
6730
|
isShopifySection?: boolean;
|
|
6734
6731
|
isShopifyVisibility?: boolean;
|
|
6735
6732
|
};
|
|
6736
|
-
type ThemeSectionStatus$1 = 'DRAFT' | 'PUBLISHED' | 'NEED_PUBLISHING';
|
|
6737
6733
|
type BuilderEntity = BlockEntity | SectionEntity;
|
|
6738
6734
|
type BuilderEntityNested = Omit<BlockEntity, 'childrens'> & {
|
|
6739
6735
|
childrens?: BuilderEntityNested[];
|
|
@@ -6786,12 +6782,6 @@ type SaleFunnelDiscountEdge$1 = {
|
|
|
6786
6782
|
type ProductOffer = Maybe$1<Pick<SaleFunnelDiscountEdge$1, 'cursor'> & {
|
|
6787
6783
|
node?: Maybe$1<Pick<SaleFunnelDiscount$1, 'id' | 'value' | 'type' | 'position' | 'objectBaseID' | 'objectType' | 'title' | 'valueType' | 'isEnabled'>>;
|
|
6788
6784
|
}>;
|
|
6789
|
-
type RawChild = {
|
|
6790
|
-
uid: string;
|
|
6791
|
-
builder: Record<string, any>;
|
|
6792
|
-
components: Record<string, any>;
|
|
6793
|
-
[key: string]: any;
|
|
6794
|
-
};
|
|
6795
6785
|
|
|
6796
6786
|
type InitComponentType<T = any> = {
|
|
6797
6787
|
[K in keyof T]-?: {
|
|
@@ -7214,7 +7204,6 @@ type PositionControlType<T> = SharedControlType<T> & {
|
|
|
7214
7204
|
|
|
7215
7205
|
type PositionSquareControlType<T> = SharedControlType<T> & {
|
|
7216
7206
|
type: 'position:square';
|
|
7217
|
-
ignoreValue?: string[];
|
|
7218
7207
|
};
|
|
7219
7208
|
|
|
7220
7209
|
type RadioGroupControlType = {
|
|
@@ -7235,7 +7224,6 @@ type RangeControlType<T> = SharedControlType<T> & {
|
|
|
7235
7224
|
disableOnChange?: boolean;
|
|
7236
7225
|
useOnlyUnitInit?: boolean;
|
|
7237
7226
|
hideUnit?: boolean;
|
|
7238
|
-
hideInput?: boolean;
|
|
7239
7227
|
} & OnlyOne<{
|
|
7240
7228
|
minRelated?: string;
|
|
7241
7229
|
}, {
|
|
@@ -7314,13 +7302,11 @@ type Option$2<T> = {
|
|
|
7314
7302
|
svgIcon?: string;
|
|
7315
7303
|
tooltip?: string;
|
|
7316
7304
|
type?: string;
|
|
7317
|
-
note?: string;
|
|
7318
7305
|
};
|
|
7319
7306
|
type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
7320
7307
|
id: K;
|
|
7321
7308
|
label?: string;
|
|
7322
7309
|
info?: string;
|
|
7323
|
-
isFullWidth?: boolean;
|
|
7324
7310
|
hyperlinkInfo?: HyperlinkInfo;
|
|
7325
7311
|
hideOnMode?: {
|
|
7326
7312
|
responsive?: boolean;
|
|
@@ -7357,7 +7343,6 @@ type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7357
7343
|
type: 'select';
|
|
7358
7344
|
options: Option$2<T>[];
|
|
7359
7345
|
default?: T;
|
|
7360
|
-
isFullWidth?: boolean;
|
|
7361
7346
|
};
|
|
7362
7347
|
type SelectControlType<T> = {
|
|
7363
7348
|
[K in keyof T]-?: Mapped$3<K, T[K]>;
|
|
@@ -7370,8 +7355,6 @@ type TextareaControlType<T> = SharedControlType<T> & {
|
|
|
7370
7355
|
minHeight?: number;
|
|
7371
7356
|
maxWidth?: number;
|
|
7372
7357
|
autoHeight?: boolean;
|
|
7373
|
-
defaultRows?: number;
|
|
7374
|
-
showPlusBtn?: boolean;
|
|
7375
7358
|
suggestContents?: {
|
|
7376
7359
|
message: string;
|
|
7377
7360
|
eg?: string;
|
|
@@ -7423,7 +7406,6 @@ type BehaviorStateControlType<T> = {
|
|
|
7423
7406
|
type BoxShadowControlType<T> = SharedControlType<T> & {
|
|
7424
7407
|
id?: string;
|
|
7425
7408
|
type: 'boxShadow';
|
|
7426
|
-
hideOptions?: string[];
|
|
7427
7409
|
popup?: boolean;
|
|
7428
7410
|
};
|
|
7429
7411
|
|
|
@@ -7809,7 +7791,6 @@ type SizeSetting$1<T> = SharedControlType<T> & {
|
|
|
7809
7791
|
hiddenShowMore?: boolean;
|
|
7810
7792
|
sizePaddingInput?: 'normal' | 'small';
|
|
7811
7793
|
lockShapeValue?: boolean;
|
|
7812
|
-
isShowResponsive?: boolean;
|
|
7813
7794
|
};
|
|
7814
7795
|
|
|
7815
7796
|
type ChildIconType<T> = SharedControlType<T> & {
|
|
@@ -7850,7 +7831,6 @@ type ParallaxScrollingType<T> = SharedControlType<T> & {
|
|
|
7850
7831
|
|
|
7851
7832
|
type BackgroundColorPickerType<T> = SharedControlType<T> & {
|
|
7852
7833
|
type: 'background-color-picker';
|
|
7853
|
-
mode?: 'both' | 'solid' | 'gradient';
|
|
7854
7834
|
popup?: boolean;
|
|
7855
7835
|
readonly?: boolean;
|
|
7856
7836
|
};
|
|
@@ -8006,39 +7986,7 @@ type ButtonLayoutType<T> = SharedControlType<T> & {
|
|
|
8006
7986
|
}[];
|
|
8007
7987
|
};
|
|
8008
7988
|
|
|
8009
|
-
type
|
|
8010
|
-
type: 'shape-selector';
|
|
8011
|
-
};
|
|
8012
|
-
|
|
8013
|
-
type DisplayTriggerControlType<T> = SharedControlType<T> & {
|
|
8014
|
-
type: 'display-trigger-badge';
|
|
8015
|
-
};
|
|
8016
|
-
|
|
8017
|
-
type CustomPositionControlType<T> = SharedControlType<T> & {
|
|
8018
|
-
type: 'custom-position';
|
|
8019
|
-
ignoreValue?: string[];
|
|
8020
|
-
topGap?: string;
|
|
8021
|
-
leftGap?: string;
|
|
8022
|
-
rightGap?: string;
|
|
8023
|
-
bottomGap?: string;
|
|
8024
|
-
};
|
|
8025
|
-
|
|
8026
|
-
type DealControlType<T> = SharedControlType<T> & {
|
|
8027
|
-
type: 'bundleItem';
|
|
8028
|
-
readonly?: boolean;
|
|
8029
|
-
};
|
|
8030
|
-
|
|
8031
|
-
type ProductBundleChildControlType<T> = SharedControlType<T> & {
|
|
8032
|
-
type: 'product-bundle-child-item';
|
|
8033
|
-
[key: string]: any;
|
|
8034
|
-
};
|
|
8035
|
-
type SelectProductBundleControlType<T> = SharedControlType<T> & {
|
|
8036
|
-
type: 'select-product-bundle';
|
|
8037
|
-
label?: string;
|
|
8038
|
-
hide?: boolean;
|
|
8039
|
-
};
|
|
8040
|
-
|
|
8041
|
-
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> | ButtonLayoutType<T> | ShapeSelectorControlType<T> | CustomPositionControlType<T> | SneakPeakControlType<T> | PostPurchaseTextareaControlType<T> | DealControlType<T> | DisplayTriggerControlType<T> | CustomPositionControlType<T>;
|
|
7989
|
+
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> | ButtonLayoutType<T>;
|
|
8042
7990
|
type ControlTriggerAction = {
|
|
8043
7991
|
controlId: string;
|
|
8044
7992
|
newValue?: any;
|
|
@@ -8094,7 +8042,6 @@ type ComponentSetting<P extends BaseProps> = {
|
|
|
8094
8042
|
flowPage?: string;
|
|
8095
8043
|
notAppendTags?: string[];
|
|
8096
8044
|
notAppendLeftRight?: boolean;
|
|
8097
|
-
allowAppendTags?: string[];
|
|
8098
8045
|
};
|
|
8099
8046
|
sideBar?: {
|
|
8100
8047
|
hide?: boolean;
|
|
@@ -8149,7 +8096,6 @@ type ControlUI = {
|
|
|
8149
8096
|
mobile?: boolean;
|
|
8150
8097
|
};
|
|
8151
8098
|
hideOnPages?: PageType[];
|
|
8152
|
-
itemSpacing?: 'small' | 'medium' | 'large';
|
|
8153
8099
|
};
|
|
8154
8100
|
isMoreSetting?: boolean;
|
|
8155
8101
|
hiddenDivice?: boolean;
|
|
@@ -8178,7 +8124,6 @@ type ComponentPreset = {
|
|
|
8178
8124
|
};
|
|
8179
8125
|
components: InitComponentType[];
|
|
8180
8126
|
hideTextContent?: boolean;
|
|
8181
|
-
flowTagComponents?: Record<string, InitComponentType[]>;
|
|
8182
8127
|
};
|
|
8183
8128
|
|
|
8184
8129
|
type PageContext = {
|
|
@@ -8223,75 +8168,6 @@ type PublicStoreFrontData = {
|
|
|
8223
8168
|
token?: string;
|
|
8224
8169
|
endpoint?: string;
|
|
8225
8170
|
};
|
|
8226
|
-
type InteractionElement<E, T> = {
|
|
8227
|
-
uid?: string;
|
|
8228
|
-
event?: E;
|
|
8229
|
-
condition?: T;
|
|
8230
|
-
elementTag?: string;
|
|
8231
|
-
targetOutsideSelector?: string;
|
|
8232
|
-
targetInsideSelector?: string;
|
|
8233
|
-
};
|
|
8234
|
-
declare enum InteractionTargetEvent {
|
|
8235
|
-
'gp:change-background-color' = 0,
|
|
8236
|
-
'gp:run-animation' = 1,
|
|
8237
|
-
'gp:toggle-element-visibility' = 2,
|
|
8238
|
-
'gp:change-text' = 3,
|
|
8239
|
-
'gp:scroll-to' = 4,
|
|
8240
|
-
'gp:change-text-style' = 5,
|
|
8241
|
-
'gp:change-content' = 6,
|
|
8242
|
-
'gp:change-button-style' = 7,
|
|
8243
|
-
'gp:copy-text' = 8,
|
|
8244
|
-
'gp:change-image' = 9,
|
|
8245
|
-
'gp:toggle-video-play' = 10,
|
|
8246
|
-
'gp:change-slider-ratio' = 11,
|
|
8247
|
-
'gp:change-icon-style' = 12,
|
|
8248
|
-
'gp:change-expanded-item' = 13,
|
|
8249
|
-
'gp:change-active-item' = 14,
|
|
8250
|
-
'gp:change-slide' = 15,
|
|
8251
|
-
'gp:change-image-step' = 16,
|
|
8252
|
-
'gp:change-text-value' = 17,
|
|
8253
|
-
'gp:toggle-popup-open' = 18,
|
|
8254
|
-
'gp:show-or-hide' = 19
|
|
8255
|
-
}
|
|
8256
|
-
declare enum InteractionTriggerEvent {
|
|
8257
|
-
'click' = 0,
|
|
8258
|
-
active = 1,
|
|
8259
|
-
'mouseover' = 2,
|
|
8260
|
-
'gp:appear' = 3,
|
|
8261
|
-
'gp:item-selected' = 4,
|
|
8262
|
-
'gp:item-unselected' = 5,
|
|
8263
|
-
'gp:item-hovered' = 6,
|
|
8264
|
-
'gp:item-click' = 7,
|
|
8265
|
-
'gp:after-submit' = 8,
|
|
8266
|
-
'gp:quantity-change' = 9,
|
|
8267
|
-
'gp:after-checked-value' = 10,
|
|
8268
|
-
'gp:after-add-to-cart' = 11,
|
|
8269
|
-
'gp:popup-open' = 12,
|
|
8270
|
-
'gp:popup-close' = 13,
|
|
8271
|
-
'scroll-up' = 14,
|
|
8272
|
-
'scroll-down' = 15
|
|
8273
|
-
}
|
|
8274
|
-
type InteractionCondition = {
|
|
8275
|
-
type?: 'equal' | 'greater' | 'less' | 'greater-or-equal' | 'less-or-equal' | 'distance-to-top' | 'selected-item' | 'between' | 'out-of-stock' | 'out-of-time' | 'delay';
|
|
8276
|
-
data?: unknown;
|
|
8277
|
-
metaData?: any;
|
|
8278
|
-
};
|
|
8279
|
-
type Interaction = {
|
|
8280
|
-
self?: InteractionElement<InteractionTriggerEvent, InteractionCondition>;
|
|
8281
|
-
targets?: InteractionTarget[];
|
|
8282
|
-
};
|
|
8283
|
-
type InteractionTarget = {
|
|
8284
|
-
uid?: string;
|
|
8285
|
-
elementTag?: string;
|
|
8286
|
-
targetOutsideSelector?: string;
|
|
8287
|
-
targetInsideSelector?: string;
|
|
8288
|
-
events?: InteractionTargetEventObject[];
|
|
8289
|
-
};
|
|
8290
|
-
type InteractionTargetEventObject = {
|
|
8291
|
-
event: InteractionTargetEvent;
|
|
8292
|
-
eventName: string;
|
|
8293
|
-
condition: InteractionCondition;
|
|
8294
|
-
};
|
|
8295
8171
|
|
|
8296
8172
|
type Maybe<T> = T | undefined;
|
|
8297
8173
|
type InputMaybe<T> = T | undefined;
|
|
@@ -10273,6 +10149,7 @@ type CreateProductDiscountInput = {
|
|
|
10273
10149
|
type CreateProductDiscountObjectInput = {
|
|
10274
10150
|
objectBaseID: Scalars['String'];
|
|
10275
10151
|
objectID: Scalars['ID'];
|
|
10152
|
+
productDiscountID?: InputMaybe<Scalars['ID']>;
|
|
10276
10153
|
shopID: Scalars['ID'];
|
|
10277
10154
|
type: ProductDiscountObjectType;
|
|
10278
10155
|
};
|
|
@@ -14818,7 +14695,6 @@ type Mutation = {
|
|
|
14818
14695
|
productDiscountDeactivate?: Maybe<ProductDiscount>;
|
|
14819
14696
|
productDiscountDelete: Scalars['Boolean'];
|
|
14820
14697
|
productDiscountDuplicate?: Maybe<ProductDiscount>;
|
|
14821
|
-
productDiscountSync: Scalars['Boolean'];
|
|
14822
14698
|
productDiscountUpdate?: Maybe<ProductDiscount>;
|
|
14823
14699
|
publicShopLibraryPageCreate: ShopLibraryPage;
|
|
14824
14700
|
publicShopLibraryPageDelete: Scalars['Boolean'];
|
|
@@ -14843,7 +14719,6 @@ type Mutation = {
|
|
|
14843
14719
|
saleFunnelDiscountCreateOrUpdate?: Maybe<SaleFunnelDiscount>;
|
|
14844
14720
|
saleFunnelDiscountDelete: Scalars['Boolean'];
|
|
14845
14721
|
saleFunnelDuplicate?: Maybe<SaleFunnel>;
|
|
14846
|
-
saleFunnelDuplicateTo?: Maybe<SaleFunnel>;
|
|
14847
14722
|
saleFunnelMetaCreateOrUpdate?: Maybe<SaleFunnelMeta>;
|
|
14848
14723
|
saleFunnelMetaDelete: Scalars['Boolean'];
|
|
14849
14724
|
saleFunnelOfferCreate?: Maybe<SaleFunnelOffer>;
|
|
@@ -15278,9 +15153,6 @@ type MutationProductDiscountDeleteArgs = {
|
|
|
15278
15153
|
type MutationProductDiscountDuplicateArgs = {
|
|
15279
15154
|
id: Scalars['ID'];
|
|
15280
15155
|
};
|
|
15281
|
-
type MutationProductDiscountSyncArgs = {
|
|
15282
|
-
id: Scalars['ID'];
|
|
15283
|
-
};
|
|
15284
15156
|
type MutationProductDiscountUpdateArgs = {
|
|
15285
15157
|
id: Scalars['ID'];
|
|
15286
15158
|
productDiscountInput: UpdateProductDiscountInput;
|
|
@@ -15358,11 +15230,6 @@ type MutationSaleFunnelDuplicateArgs = {
|
|
|
15358
15230
|
id: Scalars['ID'];
|
|
15359
15231
|
name?: InputMaybe<Scalars['String']>;
|
|
15360
15232
|
};
|
|
15361
|
-
type MutationSaleFunnelDuplicateToArgs = {
|
|
15362
|
-
fromLibraryID: Scalars['ID'];
|
|
15363
|
-
name?: InputMaybe<Scalars['String']>;
|
|
15364
|
-
toID: Scalars['ID'];
|
|
15365
|
-
};
|
|
15366
15233
|
type MutationSaleFunnelMetaCreateOrUpdateArgs = {
|
|
15367
15234
|
SaleFunnelID: Scalars['ID'];
|
|
15368
15235
|
input: CreateSaleFunnelMetaInput;
|
|
@@ -16285,22 +16152,6 @@ type PageSectionWhereInput = {
|
|
|
16285
16152
|
appBlocksNEQ?: InputMaybe<Scalars['String']>;
|
|
16286
16153
|
appBlocksNotIn?: InputMaybe<Array<Scalars['String']>>;
|
|
16287
16154
|
appBlocksNotNil?: InputMaybe<Scalars['Boolean']>;
|
|
16288
|
-
/** checksum field predicates */
|
|
16289
|
-
checksum?: InputMaybe<Scalars['String']>;
|
|
16290
|
-
checksumContains?: InputMaybe<Scalars['String']>;
|
|
16291
|
-
checksumContainsFold?: InputMaybe<Scalars['String']>;
|
|
16292
|
-
checksumEqualFold?: InputMaybe<Scalars['String']>;
|
|
16293
|
-
checksumGT?: InputMaybe<Scalars['String']>;
|
|
16294
|
-
checksumGTE?: InputMaybe<Scalars['String']>;
|
|
16295
|
-
checksumHasPrefix?: InputMaybe<Scalars['String']>;
|
|
16296
|
-
checksumHasSuffix?: InputMaybe<Scalars['String']>;
|
|
16297
|
-
checksumIn?: InputMaybe<Array<Scalars['String']>>;
|
|
16298
|
-
checksumIsNil?: InputMaybe<Scalars['Boolean']>;
|
|
16299
|
-
checksumLT?: InputMaybe<Scalars['String']>;
|
|
16300
|
-
checksumLTE?: InputMaybe<Scalars['String']>;
|
|
16301
|
-
checksumNEQ?: InputMaybe<Scalars['String']>;
|
|
16302
|
-
checksumNotIn?: InputMaybe<Array<Scalars['String']>>;
|
|
16303
|
-
checksumNotNil?: InputMaybe<Scalars['Boolean']>;
|
|
16304
16155
|
/** cid field predicates */
|
|
16305
16156
|
cid?: InputMaybe<Scalars['String']>;
|
|
16306
16157
|
cidContains?: InputMaybe<Scalars['String']>;
|
|
@@ -17252,7 +17103,6 @@ type ProductDiscountObject = {
|
|
|
17252
17103
|
id: Scalars['ID'];
|
|
17253
17104
|
objectBaseID: Scalars['String'];
|
|
17254
17105
|
objectID: Scalars['ID'];
|
|
17255
|
-
productDiscountID: Scalars['ID'];
|
|
17256
17106
|
shopID: Scalars['ID'];
|
|
17257
17107
|
type: ProductDiscountObjectType;
|
|
17258
17108
|
updatedAt?: Maybe<Scalars['Time']>;
|
|
@@ -26657,7 +26507,6 @@ type appAPI_MutationProductDiscountCreateArgs = MutationProductDiscountCreateArg
|
|
|
26657
26507
|
type appAPI_MutationProductDiscountDeactivateArgs = MutationProductDiscountDeactivateArgs;
|
|
26658
26508
|
type appAPI_MutationProductDiscountDeleteArgs = MutationProductDiscountDeleteArgs;
|
|
26659
26509
|
type appAPI_MutationProductDiscountDuplicateArgs = MutationProductDiscountDuplicateArgs;
|
|
26660
|
-
type appAPI_MutationProductDiscountSyncArgs = MutationProductDiscountSyncArgs;
|
|
26661
26510
|
type appAPI_MutationProductDiscountUpdateArgs = MutationProductDiscountUpdateArgs;
|
|
26662
26511
|
type appAPI_MutationPublicShopLibraryPageCreateArgs = MutationPublicShopLibraryPageCreateArgs;
|
|
26663
26512
|
type appAPI_MutationPublicShopLibraryPageDeleteArgs = MutationPublicShopLibraryPageDeleteArgs;
|
|
@@ -26682,7 +26531,6 @@ type appAPI_MutationSaleFunnelDeleteArgs = MutationSaleFunnelDeleteArgs;
|
|
|
26682
26531
|
type appAPI_MutationSaleFunnelDiscountCreateOrUpdateArgs = MutationSaleFunnelDiscountCreateOrUpdateArgs;
|
|
26683
26532
|
type appAPI_MutationSaleFunnelDiscountDeleteArgs = MutationSaleFunnelDiscountDeleteArgs;
|
|
26684
26533
|
type appAPI_MutationSaleFunnelDuplicateArgs = MutationSaleFunnelDuplicateArgs;
|
|
26685
|
-
type appAPI_MutationSaleFunnelDuplicateToArgs = MutationSaleFunnelDuplicateToArgs;
|
|
26686
26534
|
type appAPI_MutationSaleFunnelMetaCreateOrUpdateArgs = MutationSaleFunnelMetaCreateOrUpdateArgs;
|
|
26687
26535
|
type appAPI_MutationSaleFunnelMetaDeleteArgs = MutationSaleFunnelMetaDeleteArgs;
|
|
26688
26536
|
type appAPI_MutationSaleFunnelOfferCreateArgs = MutationSaleFunnelOfferCreateArgs;
|
|
@@ -27698,7 +27546,6 @@ declare namespace appAPI {
|
|
|
27698
27546
|
appAPI_MutationProductDiscountDeactivateArgs as MutationProductDiscountDeactivateArgs,
|
|
27699
27547
|
appAPI_MutationProductDiscountDeleteArgs as MutationProductDiscountDeleteArgs,
|
|
27700
27548
|
appAPI_MutationProductDiscountDuplicateArgs as MutationProductDiscountDuplicateArgs,
|
|
27701
|
-
appAPI_MutationProductDiscountSyncArgs as MutationProductDiscountSyncArgs,
|
|
27702
27549
|
appAPI_MutationProductDiscountUpdateArgs as MutationProductDiscountUpdateArgs,
|
|
27703
27550
|
appAPI_MutationPublicShopLibraryPageCreateArgs as MutationPublicShopLibraryPageCreateArgs,
|
|
27704
27551
|
appAPI_MutationPublicShopLibraryPageDeleteArgs as MutationPublicShopLibraryPageDeleteArgs,
|
|
@@ -27723,7 +27570,6 @@ declare namespace appAPI {
|
|
|
27723
27570
|
appAPI_MutationSaleFunnelDiscountCreateOrUpdateArgs as MutationSaleFunnelDiscountCreateOrUpdateArgs,
|
|
27724
27571
|
appAPI_MutationSaleFunnelDiscountDeleteArgs as MutationSaleFunnelDiscountDeleteArgs,
|
|
27725
27572
|
appAPI_MutationSaleFunnelDuplicateArgs as MutationSaleFunnelDuplicateArgs,
|
|
27726
|
-
appAPI_MutationSaleFunnelDuplicateToArgs as MutationSaleFunnelDuplicateToArgs,
|
|
27727
27573
|
appAPI_MutationSaleFunnelMetaCreateOrUpdateArgs as MutationSaleFunnelMetaCreateOrUpdateArgs,
|
|
27728
27574
|
appAPI_MutationSaleFunnelMetaDeleteArgs as MutationSaleFunnelMetaDeleteArgs,
|
|
27729
27575
|
appAPI_MutationSaleFunnelOfferCreateArgs as MutationSaleFunnelOfferCreateArgs,
|
|
@@ -28963,19 +28809,11 @@ type PageContextProps = {
|
|
|
28963
28809
|
productOffers?: ProductOffer[];
|
|
28964
28810
|
salePageProductId?: string;
|
|
28965
28811
|
publicStoreFrontData?: PublicStoreFrontData | null;
|
|
28966
|
-
interactionData?: {
|
|
28967
|
-
item?: Interaction;
|
|
28968
|
-
isSelectOnPage?: boolean;
|
|
28969
|
-
selectType?: 'element' | 'page';
|
|
28970
|
-
};
|
|
28971
28812
|
setDynamicProduct: (data: DynamicProduct) => void;
|
|
28972
28813
|
setDynamicCollection: (data: DynamicCollection) => void;
|
|
28973
28814
|
setPostPurchaseProductOffers: (productOffers: ProductOffer[]) => void;
|
|
28974
28815
|
setSalePageProductId: (id: string) => void;
|
|
28975
28816
|
setPublicStoreFrontData: (publicStoreFrontData: PublicStoreFrontData | null) => void;
|
|
28976
|
-
setInteractionItem: (item: Interaction) => void;
|
|
28977
|
-
setInteractionIsSelectOnPage: (value: boolean) => void;
|
|
28978
|
-
setInteractionSelectType: (selectType: 'element' | 'page') => void;
|
|
28979
28817
|
};
|
|
28980
28818
|
type PageProviderProps = Pick<PageContextProps, 'dynamicProduct' | 'dynamicCollection' | 'productOffers'> & {
|
|
28981
28819
|
children: React.ReactNode;
|
|
@@ -29012,7 +28850,7 @@ declare const useCollectionStore: <U>(selector: (state: ExtractState<StoreApi<Co
|
|
|
29012
28850
|
|
|
29013
28851
|
type ModalContextProps = {
|
|
29014
28852
|
activeId?: string;
|
|
29015
|
-
setModalActive: (id?: string
|
|
28853
|
+
setModalActive: (id?: string) => void;
|
|
29016
28854
|
clearModal: () => void;
|
|
29017
28855
|
};
|
|
29018
28856
|
type ModalProviderProps = Pick<ModalContextProps, 'activeId'> & {
|
|
@@ -30260,15 +30098,6 @@ declare const filterAttrInStyle: (style?: React.CSSProperties, filterKeys?: stri
|
|
|
30260
30098
|
'--z-mobile'?: csstype.Property.ZIndex | undefined;
|
|
30261
30099
|
'--hvr-z-mobile'?: csstype.Property.ZIndex | undefined;
|
|
30262
30100
|
'--focus-z-mobile'?: csstype.Property.ZIndex | undefined;
|
|
30263
|
-
'--wm'?: csstype.Property.WritingMode | undefined;
|
|
30264
|
-
'--hvr-wm'?: csstype.Property.WritingMode | undefined;
|
|
30265
|
-
'--focus-wm'?: csstype.Property.WritingMode | undefined;
|
|
30266
|
-
'--wm-tablet'?: csstype.Property.WritingMode | undefined;
|
|
30267
|
-
'--hvr-wm-tablet'?: csstype.Property.WritingMode | undefined;
|
|
30268
|
-
'--focus-wm-tablet'?: csstype.Property.WritingMode | undefined;
|
|
30269
|
-
'--wm-mobile'?: csstype.Property.WritingMode | undefined;
|
|
30270
|
-
'--hvr-wm-mobile'?: csstype.Property.WritingMode | undefined;
|
|
30271
|
-
'--focus-wm-mobile'?: csstype.Property.WritingMode | undefined;
|
|
30272
30101
|
accentColor?: csstype.Property.AccentColor | undefined;
|
|
30273
30102
|
alignContent?: csstype.Property.AlignContent | undefined;
|
|
30274
30103
|
alignItems?: csstype.Property.AlignItems | undefined;
|
|
@@ -31764,15 +31593,6 @@ declare const removeAttrInStyle: (style?: React.CSSProperties, filterKeys?: stri
|
|
|
31764
31593
|
'--z-mobile'?: csstype.Property.ZIndex | undefined;
|
|
31765
31594
|
'--hvr-z-mobile'?: csstype.Property.ZIndex | undefined;
|
|
31766
31595
|
'--focus-z-mobile'?: csstype.Property.ZIndex | undefined;
|
|
31767
|
-
'--wm'?: csstype.Property.WritingMode | undefined;
|
|
31768
|
-
'--hvr-wm'?: csstype.Property.WritingMode | undefined;
|
|
31769
|
-
'--focus-wm'?: csstype.Property.WritingMode | undefined;
|
|
31770
|
-
'--wm-tablet'?: csstype.Property.WritingMode | undefined;
|
|
31771
|
-
'--hvr-wm-tablet'?: csstype.Property.WritingMode | undefined;
|
|
31772
|
-
'--focus-wm-tablet'?: csstype.Property.WritingMode | undefined;
|
|
31773
|
-
'--wm-mobile'?: csstype.Property.WritingMode | undefined;
|
|
31774
|
-
'--hvr-wm-mobile'?: csstype.Property.WritingMode | undefined;
|
|
31775
|
-
'--focus-wm-mobile'?: csstype.Property.WritingMode | undefined;
|
|
31776
31596
|
accentColor?: csstype.Property.AccentColor | undefined;
|
|
31777
31597
|
alignContent?: csstype.Property.AlignContent | undefined;
|
|
31778
31598
|
alignItems?: csstype.Property.AlignItems | undefined;
|
|
@@ -33268,15 +33088,6 @@ declare const filterCornerInStyle: (style?: React.CSSProperties) => {
|
|
|
33268
33088
|
'--z-mobile'?: csstype.Property.ZIndex | undefined;
|
|
33269
33089
|
'--hvr-z-mobile'?: csstype.Property.ZIndex | undefined;
|
|
33270
33090
|
'--focus-z-mobile'?: csstype.Property.ZIndex | undefined;
|
|
33271
|
-
'--wm'?: csstype.Property.WritingMode | undefined;
|
|
33272
|
-
'--hvr-wm'?: csstype.Property.WritingMode | undefined;
|
|
33273
|
-
'--focus-wm'?: csstype.Property.WritingMode | undefined;
|
|
33274
|
-
'--wm-tablet'?: csstype.Property.WritingMode | undefined;
|
|
33275
|
-
'--hvr-wm-tablet'?: csstype.Property.WritingMode | undefined;
|
|
33276
|
-
'--focus-wm-tablet'?: csstype.Property.WritingMode | undefined;
|
|
33277
|
-
'--wm-mobile'?: csstype.Property.WritingMode | undefined;
|
|
33278
|
-
'--hvr-wm-mobile'?: csstype.Property.WritingMode | undefined;
|
|
33279
|
-
'--focus-wm-mobile'?: csstype.Property.WritingMode | undefined;
|
|
33280
33091
|
accentColor?: csstype.Property.AccentColor | undefined;
|
|
33281
33092
|
alignContent?: csstype.Property.AlignContent | undefined;
|
|
33282
33093
|
alignItems?: csstype.Property.AlignItems | undefined;
|
|
@@ -34772,15 +34583,6 @@ declare const removePaddingYInStyle: (style?: React.CSSProperties) => {
|
|
|
34772
34583
|
'--z-mobile'?: csstype.Property.ZIndex | undefined;
|
|
34773
34584
|
'--hvr-z-mobile'?: csstype.Property.ZIndex | undefined;
|
|
34774
34585
|
'--focus-z-mobile'?: csstype.Property.ZIndex | undefined;
|
|
34775
|
-
'--wm'?: csstype.Property.WritingMode | undefined;
|
|
34776
|
-
'--hvr-wm'?: csstype.Property.WritingMode | undefined;
|
|
34777
|
-
'--focus-wm'?: csstype.Property.WritingMode | undefined;
|
|
34778
|
-
'--wm-tablet'?: csstype.Property.WritingMode | undefined;
|
|
34779
|
-
'--hvr-wm-tablet'?: csstype.Property.WritingMode | undefined;
|
|
34780
|
-
'--focus-wm-tablet'?: csstype.Property.WritingMode | undefined;
|
|
34781
|
-
'--wm-mobile'?: csstype.Property.WritingMode | undefined;
|
|
34782
|
-
'--hvr-wm-mobile'?: csstype.Property.WritingMode | undefined;
|
|
34783
|
-
'--focus-wm-mobile'?: csstype.Property.WritingMode | undefined;
|
|
34784
34586
|
accentColor?: csstype.Property.AccentColor | undefined;
|
|
34785
34587
|
alignContent?: csstype.Property.AlignContent | undefined;
|
|
34786
34588
|
alignItems?: csstype.Property.AlignItems | undefined;
|
|
@@ -35616,8 +35418,6 @@ declare const optionLayoutStyle: (column?: ObjectDevices<string | number>) => Re
|
|
|
35616
35418
|
declare const composeGridLayout: (layout?: ObjectDevices<ObjectLayoutValue>) => React.CSSProperties;
|
|
35617
35419
|
declare const convertOldLayout: (layout?: ObjectDevices<string>) => ObjectDevices<ObjectLayoutValue>;
|
|
35618
35420
|
|
|
35619
|
-
declare const convertTextAlignToJustify: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
|
|
35620
|
-
|
|
35621
35421
|
declare function getSelectedVariant(variants?: Maybe$1<VariantSelectFragment>[], choices?: Record<string, string>, variantId?: string | null): Maybe$1<VariantSelectFragment>;
|
|
35622
35422
|
declare function parseSelectedOption(options: SelectedOption$1[]): SelectedOption$1 | undefined;
|
|
35623
35423
|
declare function checkAvailableVariantInStock(variants: Maybe$1<VariantSelectFragment>[] | undefined, optionId: string, optionValue: string): boolean;
|
|
@@ -35718,7 +35518,6 @@ declare const getHeightByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSet
|
|
|
35718
35518
|
declare const getWidthByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>, defaultAuto?: boolean) => Partial<Record<NameDevices$1, string>>;
|
|
35719
35519
|
declare const getAspectRatioGlobalSize: (shape?: ObjectDevices<SizeSettingGlobal>) => ObjectDevices<string>;
|
|
35720
35520
|
declare const getPaddingGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) => React.CSSProperties;
|
|
35721
|
-
declare const getValueByDevice: <T>(value: any, device: NameDevices$1) => T;
|
|
35722
35521
|
|
|
35723
35522
|
type TypographyClass = `gp-g-${TypographyType}`;
|
|
35724
35523
|
declare const genTypoClass: (name: TypographyType) => TypographyClass;
|
|
@@ -36416,15 +36215,6 @@ declare const composeTypographyStyle: (typo?: TypographySettingV2, typography?:
|
|
|
36416
36215
|
'--z-mobile'?: csstype.Property.ZIndex | undefined;
|
|
36417
36216
|
'--hvr-z-mobile'?: csstype.Property.ZIndex | undefined;
|
|
36418
36217
|
'--focus-z-mobile'?: csstype.Property.ZIndex | undefined;
|
|
36419
|
-
'--wm'?: csstype.Property.WritingMode | undefined;
|
|
36420
|
-
'--hvr-wm'?: csstype.Property.WritingMode | undefined;
|
|
36421
|
-
'--focus-wm'?: csstype.Property.WritingMode | undefined;
|
|
36422
|
-
'--wm-tablet'?: csstype.Property.WritingMode | undefined;
|
|
36423
|
-
'--hvr-wm-tablet'?: csstype.Property.WritingMode | undefined;
|
|
36424
|
-
'--focus-wm-tablet'?: csstype.Property.WritingMode | undefined;
|
|
36425
|
-
'--wm-mobile'?: csstype.Property.WritingMode | undefined;
|
|
36426
|
-
'--hvr-wm-mobile'?: csstype.Property.WritingMode | undefined;
|
|
36427
|
-
'--focus-wm-mobile'?: csstype.Property.WritingMode | undefined;
|
|
36428
36218
|
accentColor?: csstype.Property.AccentColor | undefined;
|
|
36429
36219
|
alignContent?: csstype.Property.AlignContent | undefined;
|
|
36430
36220
|
alignItems?: csstype.Property.AlignItems | undefined;
|
|
@@ -37323,7 +37113,6 @@ declare const useProductsQueryAll: (variable?: VariableRelatedStyles | undefined
|
|
|
37323
37113
|
declare const useCurrentDevice: () => NameDevices$1;
|
|
37324
37114
|
|
|
37325
37115
|
declare const shopifyPriceRounding: (amount: number | string, precision?: number) => string;
|
|
37326
|
-
declare const formatMoney: (cents: string, format: any) => string;
|
|
37327
37116
|
declare const useFormatMoney: (amount: number, withCurrency: boolean) => string;
|
|
37328
37117
|
|
|
37329
37118
|
declare const useLazyVideo: () => void;
|
|
@@ -37441,6 +37230,7 @@ type BlogsQueryResponse = {
|
|
|
37441
37230
|
articles?: Maybe$1<(Pick<ArticleConnection$1, 'totalCount'> & {
|
|
37442
37231
|
edges: Array<(Pick<ArticleEdge$1, 'cursor'> & {
|
|
37443
37232
|
node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'tags' | 'isSample' | 'platformCreatedAt' | 'author'> & {
|
|
37233
|
+
content?: Maybe$1<Pick<ArticleContent$1, 'excerptHtml'>>;
|
|
37444
37234
|
media?: Maybe$1<Pick<Media$1, 'width' | 'src' | 'height'>>;
|
|
37445
37235
|
})>;
|
|
37446
37236
|
})>;
|
|
@@ -37536,4 +37326,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'name'
|
|
|
37536
37326
|
|
|
37537
37327
|
declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
|
|
37538
37328
|
|
|
37539
|
-
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,
|
|
37329
|
+
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, OnlyOne, 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, composeFontFamilyTypographyV2, 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, getBorderRadiusStyle, 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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "1.45.0
|
|
3
|
+
"version": "1.45.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"type-check": "yarn tsc --noEmit"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@gem-sdk/adapter-shopify": "1.45.0
|
|
31
|
-
"@gem-sdk/styles": "1.45.0
|
|
30
|
+
"@gem-sdk/adapter-shopify": "1.45.0",
|
|
31
|
+
"@gem-sdk/styles": "1.45.0",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|