@gem-sdk/core 1.56.2 → 1.57.0-dev.45
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 +181 -107
- package/dist/cjs/components/ComponentWrapper.js +16 -1
- package/dist/cjs/components/ComponentWrapperPreview.js +16 -2
- package/dist/cjs/components/InteractionSuffix.js +42 -0
- package/dist/cjs/components/Render.liquid.js +22 -7
- package/dist/cjs/contexts/PageContext.js +42 -1
- package/dist/cjs/contexts/ProductContext.js +10 -0
- package/dist/cjs/graphql/fragments/published-theme-page.generated.js +4 -0
- package/dist/cjs/helpers/animations.js +17 -8
- package/dist/cjs/helpers/background.js +10 -5
- package/dist/cjs/helpers/compose-advance-style.js +30 -4
- package/dist/cjs/helpers/interaction/index.js +110 -0
- package/dist/cjs/helpers/radius.js +11 -1
- package/dist/cjs/helpers/shadow.js +5 -4
- package/dist/cjs/helpers/third-party/appConfig.js +49 -0
- package/dist/cjs/helpers/third-party/appSetting.js +116 -1
- package/dist/cjs/helpers/third-party/constant.js +8 -1
- package/dist/cjs/helpers/third-party/getAppBlockConfig.js +8 -1
- package/dist/cjs/hooks/animation/useAnimationConfig.js +2 -1
- package/dist/cjs/hooks/animation/useAnimationTarget.js +5 -2
- package/dist/cjs/hooks/animation/useApplyAnimation.js +6 -4
- package/dist/cjs/hooks/useInteraction.js +19 -0
- package/dist/cjs/hooks/useToolbarPostPurchase.js +2 -2
- package/dist/cjs/index.js +14 -1
- package/dist/cjs/types/animations.js +2 -0
- package/dist/cjs/types/custom.js +52 -0
- package/dist/esm/components/ComponentToolbarPreview.js +181 -107
- package/dist/esm/components/ComponentWrapper.js +16 -1
- package/dist/esm/components/ComponentWrapperPreview.js +16 -2
- package/dist/esm/components/InteractionSuffix.js +40 -0
- package/dist/esm/components/Render.liquid.js +22 -7
- package/dist/esm/contexts/PageContext.js +42 -1
- package/dist/esm/contexts/ProductContext.js +10 -0
- package/dist/esm/graphql/fragments/published-theme-page.generated.js +4 -0
- package/dist/esm/helpers/animations.js +17 -8
- package/dist/esm/helpers/background.js +10 -5
- package/dist/esm/helpers/compose-advance-style.js +31 -5
- package/dist/esm/helpers/interaction/index.js +108 -0
- package/dist/esm/helpers/radius.js +11 -1
- package/dist/esm/helpers/shadow.js +5 -4
- package/dist/esm/helpers/third-party/appConfig.js +43 -1
- package/dist/esm/helpers/third-party/appSetting.js +116 -1
- package/dist/esm/helpers/third-party/constant.js +9 -2
- package/dist/esm/helpers/third-party/getAppBlockConfig.js +8 -1
- package/dist/esm/hooks/animation/useAnimationConfig.js +2 -1
- package/dist/esm/hooks/animation/useAnimationTarget.js +5 -2
- package/dist/esm/hooks/animation/useApplyAnimation.js +6 -4
- package/dist/esm/hooks/useInteraction.js +17 -0
- package/dist/esm/hooks/useToolbarPostPurchase.js +2 -2
- package/dist/esm/index.js +4 -1
- package/dist/esm/types/animations.js +2 -0
- package/dist/esm/types/custom.js +52 -0
- package/dist/types/index.d.ts +547 -184
- package/package.json +3 -3
package/dist/types/index.d.ts
CHANGED
|
@@ -6862,6 +6862,7 @@ type BaseProps<Setting = unknown, Style = unknown, Advanced = AdvancedType> = {
|
|
|
6862
6862
|
builderData?: BlockEntity;
|
|
6863
6863
|
isPreview?: boolean;
|
|
6864
6864
|
uidTranslate?: string;
|
|
6865
|
+
uidInteraction?: string;
|
|
6865
6866
|
};
|
|
6866
6867
|
customAttrs?: Object;
|
|
6867
6868
|
styles?: Style;
|
|
@@ -6889,7 +6890,8 @@ type RivyoWidgetType = 'reviews' | 'badge' | 'testimonials' | 'allReviewsPage';
|
|
|
6889
6890
|
type VitalsWidgetType = 'addToWishlist' | 'goToWishlist' | 'paymentLogos' | 'recentlyViewed' | 'shoppableInstagramFeed' | 'trustSealsAndBadges' | 'productReviews' | 'productBundles' | 'volumeDiscounts' | 'stockScarcity' | 'sizeChart' | 'upsellBuilderBogo' | 'bundleCountdownBox' | 'reviewsUnderTitle' | 'productReviewsCarousel' | 'shippingBox' | 'currencyConverter' | 'relatedProducts' | 'backInStock';
|
|
6890
6891
|
type FeraReviewsWidgetType = 'productReviews' | 'testimonialCarousel' | 'allReviews' | 'averageStoreRatingBadge' | 'inStoreMedia' | 'averageRatingBadge' | 'productPageMedia';
|
|
6891
6892
|
type FeraReviewsV3WidgetType = 'allReviews' | 'testimonialCarousel' | 'mediaGallery' | 'productDetailRating' | 'productReviews' | 'productCollectionRating' | 'otherWidget';
|
|
6892
|
-
type
|
|
6893
|
+
type GrowaveWidgetTypeV2 = 'block.product.reviewWidget' | 'v2.product.reviewsMiniSlider' | 'block.product.reviewAvgProfile' | 'block.product.faveButton';
|
|
6894
|
+
type GrowaveWidgetTypeV1 = 'reviews' | 'badge' | 'productListBadge' | 'wishList' | 'socialShare' | 'favorite';
|
|
6893
6895
|
type AliReviewsWidgetType = 'starRating' | 'reviewBox';
|
|
6894
6896
|
type OpinewWidgetType = 'reviews' | 'badge' | 'badgeCollection' | 'carousel' | 'allReviews' | 'allReviewsBadge';
|
|
6895
6897
|
type OpinewDesignWidgetType = 'opinew_badge_wide_average' | 'opinew_badge_wide' | 'opinew_badge_small';
|
|
@@ -6902,6 +6904,7 @@ type ObjectLayoutValue = {
|
|
|
6902
6904
|
display?: 'fill' | 'fit';
|
|
6903
6905
|
cols?: number[];
|
|
6904
6906
|
keepCol?: boolean;
|
|
6907
|
+
gap?: string;
|
|
6905
6908
|
};
|
|
6906
6909
|
type ProductReviewsWidgetType = 'reviews' | 'badge';
|
|
6907
6910
|
type TrustooWidgetType = 'starRatingInList' | 'starRating' | 'reviews';
|
|
@@ -6971,6 +6974,7 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
6971
6974
|
active?: boolean;
|
|
6972
6975
|
};
|
|
6973
6976
|
devices?: ResponsiveConfig<U>;
|
|
6977
|
+
compoDefaultValue?: ResponsiveConfig<U>;
|
|
6974
6978
|
emptyOnClear?: boolean;
|
|
6975
6979
|
showVideo?: boolean;
|
|
6976
6980
|
} : {
|
|
@@ -7009,6 +7013,7 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7009
7013
|
emptyOnClear?: boolean;
|
|
7010
7014
|
showVideo?: boolean;
|
|
7011
7015
|
default?: T;
|
|
7016
|
+
compoDefaultValue?: T;
|
|
7012
7017
|
};
|
|
7013
7018
|
type SharedControlType<T> = {
|
|
7014
7019
|
[K in keyof T]-?: Mapped$7<K, T[K]>;
|
|
@@ -7531,23 +7536,23 @@ type Background = {
|
|
|
7531
7536
|
storage?: 'THEME' | 'FILE_CONTENT';
|
|
7532
7537
|
backupFilePath?: string;
|
|
7533
7538
|
};
|
|
7534
|
-
size?: BgSize;
|
|
7535
|
-
position?: BgPosition;
|
|
7536
|
-
repeat?: BgRepeat;
|
|
7537
|
-
attachment?: BgAttachment;
|
|
7539
|
+
size?: BgSize$2;
|
|
7540
|
+
position?: BgPosition$2;
|
|
7541
|
+
repeat?: BgRepeat$2;
|
|
7542
|
+
attachment?: BgAttachment$2;
|
|
7538
7543
|
video?: string;
|
|
7539
7544
|
videoHtml5?: string;
|
|
7540
7545
|
videoType?: 'youtube' | 'html5';
|
|
7541
7546
|
loop?: boolean;
|
|
7542
7547
|
lazyLoad?: boolean;
|
|
7543
7548
|
};
|
|
7544
|
-
type BgSize = 'cover' | 'contain';
|
|
7545
|
-
type BgRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
7546
|
-
type BgPosition = {
|
|
7549
|
+
type BgSize$2 = 'cover' | 'contain';
|
|
7550
|
+
type BgRepeat$2 = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
7551
|
+
type BgPosition$2 = {
|
|
7547
7552
|
x: number;
|
|
7548
7553
|
y: number;
|
|
7549
7554
|
};
|
|
7550
|
-
type BgAttachment = 'scroll' | 'fixed' | 'local';
|
|
7555
|
+
type BgAttachment$2 = 'scroll' | 'fixed' | 'local';
|
|
7551
7556
|
|
|
7552
7557
|
type VisibilityControlType<T> = SharedControlType<T> & {
|
|
7553
7558
|
type: 'visibility';
|
|
@@ -7863,6 +7868,7 @@ type DropdownInput<T> = SharedControlType<T> & {
|
|
|
7863
7868
|
reversed?: boolean;
|
|
7864
7869
|
showValue?: boolean;
|
|
7865
7870
|
}[];
|
|
7871
|
+
isRowWith?: boolean;
|
|
7866
7872
|
};
|
|
7867
7873
|
|
|
7868
7874
|
type Dropdown<T> = SharedControlType<T> & {
|
|
@@ -8148,7 +8154,398 @@ type ProductHandleType<T> = SharedControlType<T> & {
|
|
|
8148
8154
|
type: 'product-handle';
|
|
8149
8155
|
};
|
|
8150
8156
|
|
|
8151
|
-
type
|
|
8157
|
+
type SettingStateType = 'normal' | 'hover' | 'focus' | 'active' | 'price' | 'compareAtPrice';
|
|
8158
|
+
type LangKey = 'en' | 'vi';
|
|
8159
|
+
type LabelWithLang = {
|
|
8160
|
+
[P in keyof Record<LangKey, ''>]?: string;
|
|
8161
|
+
};
|
|
8162
|
+
type SettingMediaType = 'image' | 'youtubeVideoID';
|
|
8163
|
+
type SettingUIHelpType = {
|
|
8164
|
+
content: string;
|
|
8165
|
+
button?: {
|
|
8166
|
+
label: string;
|
|
8167
|
+
link: string;
|
|
8168
|
+
};
|
|
8169
|
+
media?: {
|
|
8170
|
+
value: string;
|
|
8171
|
+
type: SettingMediaType;
|
|
8172
|
+
};
|
|
8173
|
+
};
|
|
8174
|
+
type LinkWithSetting = {
|
|
8175
|
+
name: string;
|
|
8176
|
+
state?: string;
|
|
8177
|
+
field?: string;
|
|
8178
|
+
getLinkValue?: boolean;
|
|
8179
|
+
};
|
|
8180
|
+
type ControlConfig = ControlProp<any> & {
|
|
8181
|
+
linkWithSetting?: LinkWithSetting;
|
|
8182
|
+
};
|
|
8183
|
+
type Plan = 'trial' | 'build' | 'starter' | 'optimize' | 'advanced' | 'trial2022' | 'enterprise' | 'development' | 'professional';
|
|
8184
|
+
type LabelVariant = 'primary' | 'secondary' | 'bold';
|
|
8185
|
+
type SettingUIControl = {
|
|
8186
|
+
id?: string;
|
|
8187
|
+
controlConfig?: ControlConfig;
|
|
8188
|
+
type?: 'control' | 'combo' | 'tab' | 'toggleGroup';
|
|
8189
|
+
layout?: 'vertical' | 'horizontal';
|
|
8190
|
+
toggleGroupId?: string;
|
|
8191
|
+
label?: LabelWithLang;
|
|
8192
|
+
conditionDisplay?: string;
|
|
8193
|
+
conditionEnable?: string;
|
|
8194
|
+
options?: {
|
|
8195
|
+
fullWidth?: boolean;
|
|
8196
|
+
onlyShowInTags?: string[];
|
|
8197
|
+
target?: 'tab';
|
|
8198
|
+
disableMessage?: string;
|
|
8199
|
+
nearestSupportedPlan?: Plan;
|
|
8200
|
+
lockedOnPlans?: Plan[];
|
|
8201
|
+
labelVariant?: LabelVariant;
|
|
8202
|
+
labelInsideControl?: boolean;
|
|
8203
|
+
hideLabel?: boolean;
|
|
8204
|
+
updateFields?: [
|
|
8205
|
+
{
|
|
8206
|
+
field: string;
|
|
8207
|
+
settingId: string;
|
|
8208
|
+
}
|
|
8209
|
+
];
|
|
8210
|
+
};
|
|
8211
|
+
setting?: {
|
|
8212
|
+
id: string;
|
|
8213
|
+
state?: SettingStateType;
|
|
8214
|
+
};
|
|
8215
|
+
searchKeyword?: string;
|
|
8216
|
+
controlChangeTrigger?: ControlTrigger;
|
|
8217
|
+
tabs?: SettingUITab[];
|
|
8218
|
+
info?: LabelWithLang;
|
|
8219
|
+
compoDefaultValue?: any | Record<NameDevices$1, any>;
|
|
8220
|
+
} & SettingUICompo;
|
|
8221
|
+
type ControlTriggerAction$1 = {
|
|
8222
|
+
controlId: string;
|
|
8223
|
+
newValue?: any;
|
|
8224
|
+
valueFromField?: string;
|
|
8225
|
+
controlType: string;
|
|
8226
|
+
groupType: string;
|
|
8227
|
+
valueIfNull?: any;
|
|
8228
|
+
removeDevice?: boolean;
|
|
8229
|
+
};
|
|
8230
|
+
type ControlTriggerSetting = {
|
|
8231
|
+
source?: string[];
|
|
8232
|
+
condition?: string;
|
|
8233
|
+
action: ControlTriggerAction$1;
|
|
8234
|
+
};
|
|
8235
|
+
type ControlTrigger = {
|
|
8236
|
+
settings?: ControlTriggerSetting[];
|
|
8237
|
+
options?: {
|
|
8238
|
+
noRecordHistory?: boolean;
|
|
8239
|
+
};
|
|
8240
|
+
};
|
|
8241
|
+
type SettingUICompo = {
|
|
8242
|
+
controls?: SettingUIControl[];
|
|
8243
|
+
iconName?: string;
|
|
8244
|
+
getValueFromSettingID?: string;
|
|
8245
|
+
fixedValue?: string;
|
|
8246
|
+
placeholder?: string;
|
|
8247
|
+
help?: SettingUIHelpType;
|
|
8248
|
+
};
|
|
8249
|
+
type SettingUIMoreSetting = {
|
|
8250
|
+
label?: LabelWithLang;
|
|
8251
|
+
labelAction?: LabelWithLang;
|
|
8252
|
+
controls?: SettingUIControl[];
|
|
8253
|
+
help?: SettingUIHelpType;
|
|
8254
|
+
};
|
|
8255
|
+
type SettingUITab = {
|
|
8256
|
+
label?: LabelWithLang;
|
|
8257
|
+
controls?: SettingUIControl[];
|
|
8258
|
+
hide?: boolean;
|
|
8259
|
+
conditionDisplay?: string;
|
|
8260
|
+
};
|
|
8261
|
+
type SettingUIToggleGroup = {
|
|
8262
|
+
label?: LabelWithLang;
|
|
8263
|
+
id?: string;
|
|
8264
|
+
controls?: SettingUIControl[];
|
|
8265
|
+
};
|
|
8266
|
+
type SettingUIToggleSettings = {
|
|
8267
|
+
controls?: SettingUIControl[];
|
|
8268
|
+
isActiveDefault?: boolean;
|
|
8269
|
+
} & SettingUIControl & SettingUIToggleGroup;
|
|
8270
|
+
type SettingUIGroup = {
|
|
8271
|
+
label?: LabelWithLang;
|
|
8272
|
+
message?: string;
|
|
8273
|
+
disableToggle?: boolean;
|
|
8274
|
+
conditionDisplay?: string;
|
|
8275
|
+
conditionEnable?: string;
|
|
8276
|
+
controls?: SettingUIControl[];
|
|
8277
|
+
moreSettings?: SettingUIMoreSetting;
|
|
8278
|
+
toggleSettings?: SettingUIToggleSettings[];
|
|
8279
|
+
states?: SettingUITab[];
|
|
8280
|
+
help?: SettingUIHelpType;
|
|
8281
|
+
options?: {
|
|
8282
|
+
disableMessage?: string;
|
|
8283
|
+
};
|
|
8284
|
+
};
|
|
8285
|
+
|
|
8286
|
+
type ColorPickerV2ControlType<T> = SharedControlType<T> & {
|
|
8287
|
+
type: 'color-picker-v2';
|
|
8288
|
+
};
|
|
8289
|
+
|
|
8290
|
+
type BorderV2ControlType<T> = SharedControlType<T> & {
|
|
8291
|
+
type: 'border-v2';
|
|
8292
|
+
};
|
|
8293
|
+
|
|
8294
|
+
type CornerV2ControlType<T> = SharedControlType<T> & {
|
|
8295
|
+
type: 'corner-v2';
|
|
8296
|
+
};
|
|
8297
|
+
|
|
8298
|
+
type PaddingV2ControlType<T> = SharedControlType<T> & {
|
|
8299
|
+
type: 'padding-v2';
|
|
8300
|
+
};
|
|
8301
|
+
|
|
8302
|
+
type BackgroundImageType<T> = SharedControlType<T> & {
|
|
8303
|
+
type: 'background-image';
|
|
8304
|
+
value?: BackgroundImageValue;
|
|
8305
|
+
};
|
|
8306
|
+
type BackgroundImageValue = {
|
|
8307
|
+
image?: {
|
|
8308
|
+
src: string;
|
|
8309
|
+
width: number;
|
|
8310
|
+
height: number;
|
|
8311
|
+
};
|
|
8312
|
+
size?: BgSize$1;
|
|
8313
|
+
position?: BgPosition$1;
|
|
8314
|
+
repeat?: BgRepeat$1;
|
|
8315
|
+
attachment?: BgAttachment$1;
|
|
8316
|
+
altText?: string;
|
|
8317
|
+
imageTitle?: string;
|
|
8318
|
+
lazyLoad?: boolean;
|
|
8319
|
+
preload?: boolean;
|
|
8320
|
+
};
|
|
8321
|
+
type BgSize$1 = 'cover' | 'contain' | '100% 100%';
|
|
8322
|
+
type BgRepeat$1 = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
8323
|
+
type BgPosition$1 = {
|
|
8324
|
+
x: number;
|
|
8325
|
+
y: number;
|
|
8326
|
+
};
|
|
8327
|
+
type BgAttachment$1 = 'scroll' | 'fixed' | 'local';
|
|
8328
|
+
|
|
8329
|
+
type BackgroundVideoType<T> = SharedControlType<T> & {
|
|
8330
|
+
type: 'background-video';
|
|
8331
|
+
value?: BackgroundVideoValue;
|
|
8332
|
+
};
|
|
8333
|
+
type BackgroundVideoValue = {
|
|
8334
|
+
srcYoutube?: string;
|
|
8335
|
+
srcHtml5?: string;
|
|
8336
|
+
type?: 'youtube' | 'html5';
|
|
8337
|
+
ratio?: string;
|
|
8338
|
+
loop?: boolean;
|
|
8339
|
+
};
|
|
8340
|
+
|
|
8341
|
+
type NameDevices = 'desktop' | 'tablet' | 'mobile';
|
|
8342
|
+
type TypographyV2Family = string | {
|
|
8343
|
+
value: string;
|
|
8344
|
+
type: TypographyV2FontFamilyType;
|
|
8345
|
+
};
|
|
8346
|
+
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme';
|
|
8347
|
+
|
|
8348
|
+
/**
|
|
8349
|
+
* @deprecated Please use `TypographySettingV2`
|
|
8350
|
+
*/
|
|
8351
|
+
type TypographySetting = {
|
|
8352
|
+
type?: TypographyType;
|
|
8353
|
+
custom?: ObjectDevices<TypographyProps>;
|
|
8354
|
+
};
|
|
8355
|
+
type TypographySettingV2 = {
|
|
8356
|
+
type?: TypographyType;
|
|
8357
|
+
custom?: TypographyV2Props;
|
|
8358
|
+
attrs?: TypographyV2Attrs;
|
|
8359
|
+
};
|
|
8360
|
+
type SizeSetting = {
|
|
8361
|
+
type?: SizeType;
|
|
8362
|
+
custom?: ObjectDevices<SizeProps>;
|
|
8363
|
+
};
|
|
8364
|
+
type SizeProps = {
|
|
8365
|
+
horizontal?: string;
|
|
8366
|
+
vertical?: string;
|
|
8367
|
+
};
|
|
8368
|
+
type SizeType = 'medium' | 'large' | 'small' | 'none';
|
|
8369
|
+
type TypographyProps = {
|
|
8370
|
+
fontSize?: string;
|
|
8371
|
+
fontWeight?: string | number;
|
|
8372
|
+
fontStyle?: string;
|
|
8373
|
+
fontFamily?: TypographyV2Family;
|
|
8374
|
+
lineHeight?: string;
|
|
8375
|
+
letterSpacing?: string;
|
|
8376
|
+
fallbackFontFamily?: string;
|
|
8377
|
+
textShadow?: ShadowProps;
|
|
8378
|
+
hasShadowText?: boolean;
|
|
8379
|
+
isCustom?: boolean;
|
|
8380
|
+
};
|
|
8381
|
+
type TypographyV2Props = Omit<TypographyProps, 'fontSize' | 'lineHeight'> & {
|
|
8382
|
+
fontSize?: ObjectDevices<string>;
|
|
8383
|
+
lineHeight?: ObjectDevices<string>;
|
|
8384
|
+
};
|
|
8385
|
+
type TypographyV2Attrs = {
|
|
8386
|
+
bold?: boolean;
|
|
8387
|
+
italic?: boolean;
|
|
8388
|
+
underline?: boolean;
|
|
8389
|
+
color?: ColorValueType;
|
|
8390
|
+
transform?: string;
|
|
8391
|
+
textAlign?: ObjectDevices<AlignProp>;
|
|
8392
|
+
};
|
|
8393
|
+
type CornerRadius = {
|
|
8394
|
+
btlr?: string;
|
|
8395
|
+
btrr?: string;
|
|
8396
|
+
bblr?: string;
|
|
8397
|
+
bbrr?: string;
|
|
8398
|
+
radiusType?: CornerRadiusType;
|
|
8399
|
+
};
|
|
8400
|
+
type CornerRadiusType = 'none' | 'large' | 'medium' | 'small' | 'circle' | 'custom' | 'rounded';
|
|
8401
|
+
type ColorType$1 = NestedKeys<BrandColorObject> | NestedKeys<BackgroundColorObject> | NestedKeys<TextColorObject> | NestedKeys<LineColorObject> | NestedKeys<FuncColorObject>;
|
|
8402
|
+
type FontName = 'body' | 'heading' | 'code';
|
|
8403
|
+
type ColorKey = 'transparent' | 'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray';
|
|
8404
|
+
type HexColorType = `#${string}`;
|
|
8405
|
+
type RGBAColorType = `rgba(${number}, ${number}, ${number}, ${number})`;
|
|
8406
|
+
type RGBColorType = `rgb(${number}, ${number}, ${number})`;
|
|
8407
|
+
type HSLColorType = `hsl(${number}, ${number}%, ${number}%)`;
|
|
8408
|
+
type HSLAColorType = `hsla(${number}, ${number}%, ${number}%, ${number})`;
|
|
8409
|
+
type ColorValueType = ColorType$1 | HexColorType | RGBAColorType | RGBColorType | HSLColorType | HSLAColorType | ColorKey;
|
|
8410
|
+
type BrandColorObject = {
|
|
8411
|
+
brand: string;
|
|
8412
|
+
highlight: string;
|
|
8413
|
+
};
|
|
8414
|
+
type BackgroundColorObject = {
|
|
8415
|
+
'bg-1': string;
|
|
8416
|
+
'bg-2': string;
|
|
8417
|
+
'bg-3': string;
|
|
8418
|
+
};
|
|
8419
|
+
type TextColorObject = {
|
|
8420
|
+
'text-1': string;
|
|
8421
|
+
'text-2': string;
|
|
8422
|
+
'text-3': string;
|
|
8423
|
+
};
|
|
8424
|
+
type LineColorObject = {
|
|
8425
|
+
'line-1': string;
|
|
8426
|
+
'line-2': string;
|
|
8427
|
+
'line-3': string;
|
|
8428
|
+
};
|
|
8429
|
+
type FuncColorObject = {
|
|
8430
|
+
info: string;
|
|
8431
|
+
warning: string;
|
|
8432
|
+
success: string;
|
|
8433
|
+
error: string;
|
|
8434
|
+
};
|
|
8435
|
+
type TypographyType = 'heading-1' | 'heading-2' | 'heading-3' | 'subheading-1' | 'subheading-2' | 'subheading-3' | 'paragraph-1' | 'paragraph-2' | 'paragraph-3';
|
|
8436
|
+
type ObjectDeviceGlobalType<T> = {
|
|
8437
|
+
desktop: T;
|
|
8438
|
+
tablet?: T;
|
|
8439
|
+
mobile?: T;
|
|
8440
|
+
};
|
|
8441
|
+
type SpacingType = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl';
|
|
8442
|
+
type RoundedSize = 'small' | 'medium' | 'large' | 'circle' | 'none' | 'custom' | 'rounded';
|
|
8443
|
+
type ContainerProp = 'width' | 'padding';
|
|
8444
|
+
type GlobalStyleResponsiveConfig = {
|
|
8445
|
+
color?: Partial<Record<ColorType$1, string>>;
|
|
8446
|
+
font?: Partial<Record<FontName, any>>;
|
|
8447
|
+
typography?: Partial<Record<TypographyType, ObjectDeviceGlobalType<TypographyProps>>>;
|
|
8448
|
+
spacing?: Partial<Record<SpacingType, ObjectDeviceGlobalType<string>>>;
|
|
8449
|
+
container?: Partial<Record<ContainerProp, ObjectDeviceGlobalType<string>>>;
|
|
8450
|
+
radius?: Partial<Record<RoundedSize, string>>;
|
|
8451
|
+
theme?: {
|
|
8452
|
+
font?: Partial<Record<FontName, any>>;
|
|
8453
|
+
};
|
|
8454
|
+
};
|
|
8455
|
+
type GlobalStyleConfig = {
|
|
8456
|
+
color?: Partial<Record<ColorType$1, string>>;
|
|
8457
|
+
font?: Partial<Record<FontName, any>>;
|
|
8458
|
+
typography?: Partial<Record<TypographyType, TypographyProps>>;
|
|
8459
|
+
spacing?: Partial<Record<SpacingType, string>>;
|
|
8460
|
+
container?: Partial<Record<ContainerProp, string>>;
|
|
8461
|
+
radius?: Partial<Record<RoundedSize, string>>;
|
|
8462
|
+
theme?: {
|
|
8463
|
+
font?: Partial<Record<FontName, any>>;
|
|
8464
|
+
};
|
|
8465
|
+
};
|
|
8466
|
+
type ShadowStyleApplied = 'text-shadow' | 'box-shadow';
|
|
8467
|
+
type ShadowType = 'shadow-1' | 'shadow-2' | 'shadow-3';
|
|
8468
|
+
type ShadowStyle = {
|
|
8469
|
+
value?: ShadowProps;
|
|
8470
|
+
state?: StateType;
|
|
8471
|
+
styleAppliedFor?: ShadowStyleApplied;
|
|
8472
|
+
isEnableShadow?: boolean;
|
|
8473
|
+
};
|
|
8474
|
+
type ShadowProps = {
|
|
8475
|
+
type?: ShadowType | 'custom' | 'none';
|
|
8476
|
+
angle?: string | number;
|
|
8477
|
+
distance?: string;
|
|
8478
|
+
blur?: string;
|
|
8479
|
+
spread?: string;
|
|
8480
|
+
color?: ColorValueType;
|
|
8481
|
+
};
|
|
8482
|
+
type Border = {
|
|
8483
|
+
borderType?: BorderTypeName;
|
|
8484
|
+
border?: BorderStyle$1;
|
|
8485
|
+
color?: ColorValueType;
|
|
8486
|
+
width?: string;
|
|
8487
|
+
isCustom?: boolean;
|
|
8488
|
+
position?: BorderPosition;
|
|
8489
|
+
borderWidth?: string;
|
|
8490
|
+
};
|
|
8491
|
+
type BorderTypeName = 'none' | 'style-1' | 'style-2' | 'style-3';
|
|
8492
|
+
type BorderStyle$1 = 'none' | 'solid' | 'dotted' | 'dashed';
|
|
8493
|
+
type BorderPosition = 'top' | 'left' | 'right' | 'bottom' | 'all';
|
|
8494
|
+
type SwatchesOptionType = 'radio_buttons' | 'dropdown' | 'color' | 'image' | 'rectangle_list' | 'image_shopify' | string;
|
|
8495
|
+
declare const OptionNormalStyle: string[];
|
|
8496
|
+
declare const OptionSpecialStyle: string[];
|
|
8497
|
+
type SwatchesOptionValue = {
|
|
8498
|
+
label?: string;
|
|
8499
|
+
colors?: string[];
|
|
8500
|
+
imageUrl?: string;
|
|
8501
|
+
};
|
|
8502
|
+
type GlobalSwatchesData = {
|
|
8503
|
+
optionTitle: string;
|
|
8504
|
+
optionType: SwatchesOptionType;
|
|
8505
|
+
optionValues: SwatchesOptionValue[];
|
|
8506
|
+
};
|
|
8507
|
+
|
|
8508
|
+
type ShadowV2ControlType<T> = SharedControlType<T> & {
|
|
8509
|
+
type: 'shadow-v2';
|
|
8510
|
+
value?: ShadowProps;
|
|
8511
|
+
};
|
|
8512
|
+
|
|
8513
|
+
type BackgroundMediaControlType<T> = SharedControlType<T> & {
|
|
8514
|
+
type: 'background-media';
|
|
8515
|
+
value?: BackgroundMedia;
|
|
8516
|
+
showVideo?: Boolean;
|
|
8517
|
+
};
|
|
8518
|
+
type BackgroundMedia = {
|
|
8519
|
+
type: 'color' | 'image' | 'video';
|
|
8520
|
+
color?: string;
|
|
8521
|
+
image?: {
|
|
8522
|
+
src?: string;
|
|
8523
|
+
width?: number;
|
|
8524
|
+
height?: number;
|
|
8525
|
+
backupFileKey?: string;
|
|
8526
|
+
storage?: 'THEME' | 'FILE_CONTENT';
|
|
8527
|
+
backupFilePath?: string;
|
|
8528
|
+
};
|
|
8529
|
+
size?: BgSize;
|
|
8530
|
+
position?: BgPosition;
|
|
8531
|
+
repeat?: BgRepeat;
|
|
8532
|
+
attachment?: BgAttachment;
|
|
8533
|
+
video?: string;
|
|
8534
|
+
videoHtml5?: string;
|
|
8535
|
+
videoType?: 'youtube' | 'html5';
|
|
8536
|
+
loop?: boolean;
|
|
8537
|
+
lazyLoad?: boolean;
|
|
8538
|
+
preload?: boolean;
|
|
8539
|
+
};
|
|
8540
|
+
type BgSize = 'cover' | 'contain';
|
|
8541
|
+
type BgRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
8542
|
+
type BgPosition = {
|
|
8543
|
+
x: number;
|
|
8544
|
+
y: number;
|
|
8545
|
+
};
|
|
8546
|
+
type BgAttachment = 'scroll' | 'fixed' | 'local';
|
|
8547
|
+
|
|
8548
|
+
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> | DisplayTriggerControlType<T> | CustomPositionControlType<T> | DealControlType<T> | ProductHandleType<T> | ColorPickerV2ControlType<T> | BorderV2ControlType<T> | CornerV2ControlType<T> | PaddingV2ControlType<T> | BackgroundImageType<T> | BackgroundVideoType<T> | ShadowV2ControlType<T> | BackgroundMediaControlType<T> | BackgroundVideoType<T>;
|
|
8152
8549
|
type ControlTriggerAction = {
|
|
8153
8550
|
controlId: string;
|
|
8154
8551
|
newValue?: any;
|
|
@@ -8221,6 +8618,7 @@ type ComponentSetting<P extends BaseProps> = {
|
|
|
8221
8618
|
};
|
|
8222
8619
|
};
|
|
8223
8620
|
ui?: ControlUI[];
|
|
8621
|
+
uiV2?: SettingUIGroup[];
|
|
8224
8622
|
presets?: ComponentPreset[];
|
|
8225
8623
|
locales?: Record<string, any>;
|
|
8226
8624
|
};
|
|
@@ -8336,6 +8734,85 @@ type PublicStoreFrontData = {
|
|
|
8336
8734
|
token?: string;
|
|
8337
8735
|
endpoint?: string;
|
|
8338
8736
|
};
|
|
8737
|
+
type InteractionElement<E, T> = {
|
|
8738
|
+
uid?: string;
|
|
8739
|
+
event?: E;
|
|
8740
|
+
condition?: T;
|
|
8741
|
+
elementTag?: string;
|
|
8742
|
+
targetOutsideSelector?: string;
|
|
8743
|
+
targetInsideSelector?: string;
|
|
8744
|
+
type?: 'ELEMENT' | 'PAGE';
|
|
8745
|
+
};
|
|
8746
|
+
declare enum InteractionTargetEvent {
|
|
8747
|
+
'gp:change-background-color' = 0,
|
|
8748
|
+
'gp:run-animation' = 1,
|
|
8749
|
+
'gp:toggle-element-visibility' = 2,
|
|
8750
|
+
'gp:change-text' = 3,
|
|
8751
|
+
'gp:scroll-to' = 4,
|
|
8752
|
+
'gp:change-text-style' = 5,
|
|
8753
|
+
'gp:change-content' = 6,
|
|
8754
|
+
'gp:change-button-style' = 7,
|
|
8755
|
+
'gp:copy-text' = 8,
|
|
8756
|
+
'gp:change-image' = 9,
|
|
8757
|
+
'gp:toggle-video-play' = 10,
|
|
8758
|
+
'gp:change-slider-ratio' = 11,
|
|
8759
|
+
'gp:change-icon-style' = 12,
|
|
8760
|
+
'gp:change-expanded-item' = 13,
|
|
8761
|
+
'gp:change-active-item' = 14,
|
|
8762
|
+
'gp:change-slide' = 15,
|
|
8763
|
+
'gp:change-image-step' = 16,
|
|
8764
|
+
'gp:change-text-value' = 17,
|
|
8765
|
+
'gp:toggle-popup-open' = 18,
|
|
8766
|
+
'gp:show-or-hide' = 19,
|
|
8767
|
+
'gp:change-banner' = 20,
|
|
8768
|
+
'gp:change-open-tab' = 21
|
|
8769
|
+
}
|
|
8770
|
+
declare enum InteractionTriggerEvent {
|
|
8771
|
+
'click' = 0,
|
|
8772
|
+
active = 1,
|
|
8773
|
+
'mouseover' = 2,
|
|
8774
|
+
'gp:appear' = 3,
|
|
8775
|
+
'gp:item-selected' = 4,
|
|
8776
|
+
'gp:item-unselected' = 5,
|
|
8777
|
+
'gp:item-hovered' = 6,
|
|
8778
|
+
'gp:item-click' = 7,
|
|
8779
|
+
'gp:after-submit' = 8,
|
|
8780
|
+
'gp:quantity-change' = 9,
|
|
8781
|
+
'gp:after-checked-value' = 10,
|
|
8782
|
+
'gp:after-add-to-cart' = 11,
|
|
8783
|
+
'gp:popup-open' = 12,
|
|
8784
|
+
'gp:popup-close' = 13,
|
|
8785
|
+
'scroll-up' = 14,
|
|
8786
|
+
'scroll-down' = 15,
|
|
8787
|
+
'gp:price-change' = 16,
|
|
8788
|
+
'gp:rollback-price-change' = 17,
|
|
8789
|
+
'gp:compare-price-change' = 18,
|
|
8790
|
+
'gp:rollback:compare-price-change' = 19,
|
|
8791
|
+
'gp:stock-change' = 20,
|
|
8792
|
+
'gp:rollback:stock-change' = 21
|
|
8793
|
+
}
|
|
8794
|
+
type InteractionCondition = {
|
|
8795
|
+
type?: 'equal' | 'greater' | 'less' | 'greater-or-equal' | 'less-or-equal' | 'distance-to-top' | 'selected-item' | 'between' | 'out-of-stock' | 'out-of-time' | 'delay';
|
|
8796
|
+
data?: unknown;
|
|
8797
|
+
metaData?: any;
|
|
8798
|
+
};
|
|
8799
|
+
type Interaction = {
|
|
8800
|
+
self?: InteractionElement<InteractionTriggerEvent, InteractionCondition>;
|
|
8801
|
+
targets?: InteractionTarget[];
|
|
8802
|
+
};
|
|
8803
|
+
type InteractionTarget = {
|
|
8804
|
+
uid?: string;
|
|
8805
|
+
elementTag?: string;
|
|
8806
|
+
targetOutsideSelector?: string;
|
|
8807
|
+
targetInsideSelector?: string;
|
|
8808
|
+
events?: InteractionTargetEventObject[];
|
|
8809
|
+
type?: 'ELEMENT' | 'PAGE';
|
|
8810
|
+
};
|
|
8811
|
+
type InteractionTargetEventObject = {
|
|
8812
|
+
event: InteractionTargetEvent;
|
|
8813
|
+
eventName: string;
|
|
8814
|
+
condition: InteractionCondition;
|
|
8815
|
+
};
|
|
8339
8816
|
|
|
8340
8817
|
type Maybe<T> = T | undefined;
|
|
8341
8818
|
type InputMaybe<T> = T | undefined;
|
|
@@ -30629,172 +31106,6 @@ declare namespace appAPI {
|
|
|
30629
31106
|
};
|
|
30630
31107
|
}
|
|
30631
31108
|
|
|
30632
|
-
type NameDevices = 'desktop' | 'tablet' | 'mobile';
|
|
30633
|
-
type TypographyV2Family = string | {
|
|
30634
|
-
value: string;
|
|
30635
|
-
type: TypographyV2FontFamilyType;
|
|
30636
|
-
};
|
|
30637
|
-
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme';
|
|
30638
|
-
|
|
30639
|
-
/**
|
|
30640
|
-
* @deprecated Please use `TypographySettingV2`
|
|
30641
|
-
*/
|
|
30642
|
-
type TypographySetting = {
|
|
30643
|
-
type?: TypographyType;
|
|
30644
|
-
custom?: ObjectDevices<TypographyProps>;
|
|
30645
|
-
};
|
|
30646
|
-
type TypographySettingV2 = {
|
|
30647
|
-
type?: TypographyType;
|
|
30648
|
-
custom?: TypographyV2Props;
|
|
30649
|
-
attrs?: TypographyV2Attrs;
|
|
30650
|
-
};
|
|
30651
|
-
type SizeSetting = {
|
|
30652
|
-
type?: SizeType;
|
|
30653
|
-
custom?: ObjectDevices<SizeProps>;
|
|
30654
|
-
};
|
|
30655
|
-
type SizeProps = {
|
|
30656
|
-
horizontal?: string;
|
|
30657
|
-
vertical?: string;
|
|
30658
|
-
};
|
|
30659
|
-
type SizeType = 'medium' | 'large' | 'small' | 'none';
|
|
30660
|
-
type TypographyProps = {
|
|
30661
|
-
fontSize?: string;
|
|
30662
|
-
fontWeight?: string | number;
|
|
30663
|
-
fontStyle?: string;
|
|
30664
|
-
fontFamily?: TypographyV2Family;
|
|
30665
|
-
lineHeight?: string;
|
|
30666
|
-
letterSpacing?: string;
|
|
30667
|
-
fallbackFontFamily?: string;
|
|
30668
|
-
textShadow?: ShadowProps;
|
|
30669
|
-
hasShadowText?: boolean;
|
|
30670
|
-
isCustom?: boolean;
|
|
30671
|
-
};
|
|
30672
|
-
type TypographyV2Props = Omit<TypographyProps, 'fontSize' | 'lineHeight'> & {
|
|
30673
|
-
fontSize?: ObjectDevices<string>;
|
|
30674
|
-
lineHeight?: ObjectDevices<string>;
|
|
30675
|
-
};
|
|
30676
|
-
type TypographyV2Attrs = {
|
|
30677
|
-
bold?: boolean;
|
|
30678
|
-
italic?: boolean;
|
|
30679
|
-
underline?: boolean;
|
|
30680
|
-
color?: ColorValueType;
|
|
30681
|
-
transform?: string;
|
|
30682
|
-
};
|
|
30683
|
-
type CornerRadius = {
|
|
30684
|
-
btlr?: string;
|
|
30685
|
-
btrr?: string;
|
|
30686
|
-
bblr?: string;
|
|
30687
|
-
bbrr?: string;
|
|
30688
|
-
radiusType?: CornerRadiusType;
|
|
30689
|
-
};
|
|
30690
|
-
type CornerRadiusType = 'none' | 'large' | 'medium' | 'small' | 'circle' | 'custom';
|
|
30691
|
-
type ColorType$1 = NestedKeys<BrandColorObject> | NestedKeys<BackgroundColorObject> | NestedKeys<TextColorObject> | NestedKeys<LineColorObject> | NestedKeys<FuncColorObject>;
|
|
30692
|
-
type FontName = 'body' | 'heading' | 'code';
|
|
30693
|
-
type ColorKey = 'transparent' | 'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray';
|
|
30694
|
-
type HexColorType = `#${string}`;
|
|
30695
|
-
type RGBAColorType = `rgba(${number}, ${number}, ${number}, ${number})`;
|
|
30696
|
-
type RGBColorType = `rgb(${number}, ${number}, ${number})`;
|
|
30697
|
-
type HSLColorType = `hsl(${number}, ${number}%, ${number}%)`;
|
|
30698
|
-
type HSLAColorType = `hsla(${number}, ${number}%, ${number}%, ${number})`;
|
|
30699
|
-
type ColorValueType = ColorType$1 | HexColorType | RGBAColorType | RGBColorType | HSLColorType | HSLAColorType | ColorKey;
|
|
30700
|
-
type BrandColorObject = {
|
|
30701
|
-
brand: string;
|
|
30702
|
-
highlight: string;
|
|
30703
|
-
};
|
|
30704
|
-
type BackgroundColorObject = {
|
|
30705
|
-
'bg-1': string;
|
|
30706
|
-
'bg-2': string;
|
|
30707
|
-
'bg-3': string;
|
|
30708
|
-
};
|
|
30709
|
-
type TextColorObject = {
|
|
30710
|
-
'text-1': string;
|
|
30711
|
-
'text-2': string;
|
|
30712
|
-
'text-3': string;
|
|
30713
|
-
};
|
|
30714
|
-
type LineColorObject = {
|
|
30715
|
-
'line-1': string;
|
|
30716
|
-
'line-2': string;
|
|
30717
|
-
'line-3': string;
|
|
30718
|
-
};
|
|
30719
|
-
type FuncColorObject = {
|
|
30720
|
-
info: string;
|
|
30721
|
-
warning: string;
|
|
30722
|
-
success: string;
|
|
30723
|
-
error: string;
|
|
30724
|
-
};
|
|
30725
|
-
type TypographyType = 'heading-1' | 'heading-2' | 'heading-3' | 'subheading-1' | 'subheading-2' | 'subheading-3' | 'paragraph-1' | 'paragraph-2' | 'paragraph-3';
|
|
30726
|
-
type ObjectDeviceGlobalType<T> = {
|
|
30727
|
-
desktop: T;
|
|
30728
|
-
tablet?: T;
|
|
30729
|
-
mobile?: T;
|
|
30730
|
-
};
|
|
30731
|
-
type SpacingType = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl';
|
|
30732
|
-
type RoundedSize = 'small' | 'medium' | 'large' | 'circle' | 'none' | 'custom';
|
|
30733
|
-
type ContainerProp = 'width' | 'padding';
|
|
30734
|
-
type GlobalStyleResponsiveConfig = {
|
|
30735
|
-
color?: Partial<Record<ColorType$1, string>>;
|
|
30736
|
-
font?: Partial<Record<FontName, any>>;
|
|
30737
|
-
typography?: Partial<Record<TypographyType, ObjectDeviceGlobalType<TypographyProps>>>;
|
|
30738
|
-
spacing?: Partial<Record<SpacingType, ObjectDeviceGlobalType<string>>>;
|
|
30739
|
-
container?: Partial<Record<ContainerProp, ObjectDeviceGlobalType<string>>>;
|
|
30740
|
-
radius?: Partial<Record<RoundedSize, string>>;
|
|
30741
|
-
theme?: {
|
|
30742
|
-
font?: Partial<Record<FontName, any>>;
|
|
30743
|
-
};
|
|
30744
|
-
};
|
|
30745
|
-
type GlobalStyleConfig = {
|
|
30746
|
-
color?: Partial<Record<ColorType$1, string>>;
|
|
30747
|
-
font?: Partial<Record<FontName, any>>;
|
|
30748
|
-
typography?: Partial<Record<TypographyType, TypographyProps>>;
|
|
30749
|
-
spacing?: Partial<Record<SpacingType, string>>;
|
|
30750
|
-
container?: Partial<Record<ContainerProp, string>>;
|
|
30751
|
-
radius?: Partial<Record<RoundedSize, string>>;
|
|
30752
|
-
theme?: {
|
|
30753
|
-
font?: Partial<Record<FontName, any>>;
|
|
30754
|
-
};
|
|
30755
|
-
};
|
|
30756
|
-
type ShadowStyleApplied = 'text-shadow' | 'box-shadow';
|
|
30757
|
-
type ShadowType = 'shadow-1' | 'shadow-2' | 'shadow-3';
|
|
30758
|
-
type ShadowStyle = {
|
|
30759
|
-
value?: ShadowProps;
|
|
30760
|
-
state?: StateType;
|
|
30761
|
-
styleAppliedFor?: ShadowStyleApplied;
|
|
30762
|
-
isEnableShadow?: boolean;
|
|
30763
|
-
};
|
|
30764
|
-
type ShadowProps = {
|
|
30765
|
-
type?: ShadowType | 'custom';
|
|
30766
|
-
angle?: string | number;
|
|
30767
|
-
distance?: string;
|
|
30768
|
-
blur?: string;
|
|
30769
|
-
spread?: string;
|
|
30770
|
-
color?: ColorValueType;
|
|
30771
|
-
};
|
|
30772
|
-
type Border = {
|
|
30773
|
-
borderType?: BorderTypeName;
|
|
30774
|
-
border?: BorderStyle$1;
|
|
30775
|
-
color?: ColorValueType;
|
|
30776
|
-
width?: string;
|
|
30777
|
-
isCustom?: boolean;
|
|
30778
|
-
position?: BorderPosition;
|
|
30779
|
-
borderWidth?: string;
|
|
30780
|
-
};
|
|
30781
|
-
type BorderTypeName = 'none' | 'style-1' | 'style-2' | 'style-3';
|
|
30782
|
-
type BorderStyle$1 = 'none' | 'solid' | 'dotted' | 'dashed';
|
|
30783
|
-
type BorderPosition = 'top' | 'left' | 'right' | 'bottom' | 'all';
|
|
30784
|
-
type SwatchesOptionType = 'radio_buttons' | 'dropdown' | 'color' | 'image' | 'rectangle_list' | 'image_shopify' | string;
|
|
30785
|
-
declare const OptionNormalStyle: string[];
|
|
30786
|
-
declare const OptionSpecialStyle: string[];
|
|
30787
|
-
type SwatchesOptionValue = {
|
|
30788
|
-
label?: string;
|
|
30789
|
-
colors?: string[];
|
|
30790
|
-
imageUrl?: string;
|
|
30791
|
-
};
|
|
30792
|
-
type GlobalSwatchesData = {
|
|
30793
|
-
optionTitle: string;
|
|
30794
|
-
optionType: SwatchesOptionType;
|
|
30795
|
-
optionValues: SwatchesOptionValue[];
|
|
30796
|
-
};
|
|
30797
|
-
|
|
30798
31109
|
type ProductInputAnalytic = {
|
|
30799
31110
|
id: string;
|
|
30800
31111
|
name: string;
|
|
@@ -30832,10 +31143,12 @@ declare enum AnimationDirectionType {
|
|
|
30832
31143
|
Up = "up",
|
|
30833
31144
|
Down = "down"
|
|
30834
31145
|
}
|
|
30835
|
-
type AnimationTrigger = 'appear' | 'hover';
|
|
31146
|
+
type AnimationTrigger = 'appear' | 'hover' | "hidden" | 'appearByTrigger';
|
|
30836
31147
|
declare enum AnimationTriggerType {
|
|
30837
31148
|
Appear = "appear",
|
|
30838
|
-
Hover = "hover"
|
|
31149
|
+
Hover = "hover",
|
|
31150
|
+
Hidden = "hidden",
|
|
31151
|
+
AppearByTrigger = "appearByTrigger"
|
|
30839
31152
|
}
|
|
30840
31153
|
declare enum AnimationZoomDirectionType {
|
|
30841
31154
|
In = "in",
|
|
@@ -31133,6 +31446,10 @@ type ProductContextProps = {
|
|
|
31133
31446
|
updatePrice?: boolean;
|
|
31134
31447
|
hasPreSelected?: boolean;
|
|
31135
31448
|
setHasPreSelected: (value: boolean) => void;
|
|
31449
|
+
requireUpload?: boolean;
|
|
31450
|
+
setRequireUpload: (value: boolean) => void;
|
|
31451
|
+
shouldRequireUploadMessage?: boolean;
|
|
31452
|
+
setShouldRequireUploadMessage: (value: boolean) => void;
|
|
31136
31453
|
};
|
|
31137
31454
|
type ProductProviderProps = Pick<ProductContextProps, 'product' | 'quantity' | 'selectedOptions' | 'isSyncProduct'> & {
|
|
31138
31455
|
initialVariantId?: string;
|
|
@@ -31220,11 +31537,23 @@ type PageContextProps = {
|
|
|
31220
31537
|
productOffers?: ProductOffer[];
|
|
31221
31538
|
salePageProductId?: string;
|
|
31222
31539
|
publicStoreFrontData?: PublicStoreFrontData | null;
|
|
31540
|
+
interactionData?: {
|
|
31541
|
+
item?: Interaction;
|
|
31542
|
+
isSelectOnPage?: boolean;
|
|
31543
|
+
selectType?: 'ELEMENT' | 'PAGE';
|
|
31544
|
+
settingType?: 'TRIGGER' | 'TARGET';
|
|
31545
|
+
};
|
|
31546
|
+
sidebarMode?: string;
|
|
31223
31547
|
setDynamicProduct: (data: DynamicProduct) => void;
|
|
31224
31548
|
setDynamicCollection: (data: DynamicCollection) => void;
|
|
31225
31549
|
setPostPurchaseProductOffers: (productOffers: ProductOffer[]) => void;
|
|
31226
31550
|
setSalePageProductId: (id: string) => void;
|
|
31227
31551
|
setPublicStoreFrontData: (publicStoreFrontData: PublicStoreFrontData | null) => void;
|
|
31552
|
+
setInteractionItem: (item: Interaction) => void;
|
|
31553
|
+
setInteractionIsSelectOnPage: (value: boolean) => void;
|
|
31554
|
+
setInteractionSelectType: (selectType: 'ELEMENT' | 'PAGE') => void;
|
|
31555
|
+
setInteractionSettingType: (settingType?: 'TRIGGER' | 'TARGET') => void;
|
|
31556
|
+
setSidebarMode: (mode: string) => void;
|
|
31228
31557
|
};
|
|
31229
31558
|
type PageProviderProps = Pick<PageContextProps, 'dynamicProduct' | 'dynamicCollection' | 'productOffers'> & {
|
|
31230
31559
|
children: React.ReactNode;
|
|
@@ -31444,6 +31773,7 @@ type PublishedThemePagesQueryResponse = {
|
|
|
31444
31773
|
themePageAnalytic?: Maybe$1<Pick<Analytic$1, 'fbPixelID' | 'gaTrackingID' | 'tiktokPixelID'>>;
|
|
31445
31774
|
themePageCustomCode?: Maybe$1<Pick<CustomCode$1, 'body' | 'header'>>;
|
|
31446
31775
|
themePageCustomFonts?: Maybe$1<Array<Maybe$1<CustomFont$1>>>;
|
|
31776
|
+
interaction?: Maybe$1<Pick<PublishedPageInteraction$1, 'id' | 'value'>>;
|
|
31447
31777
|
}>>>;
|
|
31448
31778
|
};
|
|
31449
31779
|
declare const PublishedThemePagesDocument: string;
|
|
@@ -31521,6 +31851,7 @@ type PreviewPageQueryResponse = {
|
|
|
31521
31851
|
pageStyle?: Maybe$1<Pick<PublishedThemeStyle$1, 'id' | 'data' | 'name'>>;
|
|
31522
31852
|
themePageAnalytic?: Maybe$1<Pick<Analytic$1, 'fbPixelID' | 'gaTrackingID' | 'tiktokPixelID'>>;
|
|
31523
31853
|
themePageCustomCode?: Maybe$1<Pick<CustomCode$1, 'body' | 'header'>>;
|
|
31854
|
+
interaction?: Maybe$1<Pick<PublishedPageInteraction$1, 'id' | 'value'>>;
|
|
31524
31855
|
}>;
|
|
31525
31856
|
};
|
|
31526
31857
|
declare const PreviewPageDocument: string;
|
|
@@ -31632,10 +31963,10 @@ type ClassDictionary = Record<string, boolean | undefined | null>;
|
|
|
31632
31963
|
declare function cls(...classes: ClassValue[]): string;
|
|
31633
31964
|
|
|
31634
31965
|
declare const animations: () => {
|
|
31635
|
-
zoom: (target: Element, options: AnimationSettingType) => Animation;
|
|
31966
|
+
zoom: (target: Element, options: AnimationSettingType, reverse?: boolean) => Animation;
|
|
31636
31967
|
shake: (target: Element, options: AnimationSettingType) => Animation;
|
|
31637
|
-
fade: (target: Element, options: AnimationSettingType) => Animation;
|
|
31638
|
-
slide: (target: Element, options: AnimationSettingType) => Animation;
|
|
31968
|
+
fade: (target: Element, options: AnimationSettingType, reverse?: boolean) => Animation;
|
|
31969
|
+
slide: (target: Element, options: AnimationSettingType, reverse?: boolean) => Animation;
|
|
31639
31970
|
};
|
|
31640
31971
|
|
|
31641
31972
|
declare const filterToolbarPreview: (children: React.ReactNode, keep?: boolean) => React.ReactNode;
|
|
@@ -31776,6 +32107,7 @@ type Options = {
|
|
|
31776
32107
|
liquid?: boolean;
|
|
31777
32108
|
ignoreBgAttachment?: boolean;
|
|
31778
32109
|
ignoreBackgroundImage?: boolean;
|
|
32110
|
+
ignoreBackgroundImageProperties?: boolean;
|
|
31779
32111
|
ignoreBackgroundColor?: boolean;
|
|
31780
32112
|
};
|
|
31781
32113
|
declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options) => {
|
|
@@ -31811,7 +32143,7 @@ declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) =>
|
|
|
31811
32143
|
} | undefined;
|
|
31812
32144
|
declare const GRADIENT_BGR_KEY = "linear-gradient";
|
|
31813
32145
|
declare const getGradientBgrStyleForButton: (backgroundStyle: Partial<Record<StateType, ColorValueType>> | undefined) => {} | undefined;
|
|
31814
|
-
declare const getGradientBgrStyleByDevice: (backgroundStyle: Partial<Record<Devices, Background>> | undefined, ignoreBackgroundImage?: boolean) => {} | undefined;
|
|
32146
|
+
declare const getGradientBgrStyleByDevice: (backgroundStyle: Partial<Record<Devices, Background>> | undefined, ignoreBackgroundImage?: Record<Devices, boolean>) => {} | undefined;
|
|
31815
32147
|
|
|
31816
32148
|
type ColorType = 'bg' | 'text' | 'border' | 'decoration';
|
|
31817
32149
|
type ColorProp = 'bgc' | 'bc' | 'c' | 'bg';
|
|
@@ -37950,6 +38282,8 @@ declare const convertOldLayout: (layout?: ObjectDevices<string>) => ObjectDevice
|
|
|
37950
38282
|
|
|
37951
38283
|
declare const convertTextAlignToJustify: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
|
|
37952
38284
|
|
|
38285
|
+
declare function checkInStock(variant?: VariantSelectFragment, product?: ProductSelectFragment): boolean;
|
|
38286
|
+
|
|
37953
38287
|
declare function getSelectedVariant(variants?: Maybe$1<VariantSelectFragment>[], choices?: Record<string, string>, variantId?: string | null): Maybe$1<VariantSelectFragment>;
|
|
37954
38288
|
declare function parseSelectedOption(options: SelectedOption$1[]): SelectedOption$1 | undefined;
|
|
37955
38289
|
declare function checkAvailableVariantInStock(variants: Maybe$1<VariantSelectFragment>[] | undefined, optionId: string, optionValue: string): boolean;
|
|
@@ -38016,7 +38350,7 @@ declare const getStyleShadow: (shadowStyle: ShadowStyle & {
|
|
|
38016
38350
|
[x: string]: string;
|
|
38017
38351
|
};
|
|
38018
38352
|
declare const getStyleShadowState: (shadow?: StateProp<ShadowProps>, styleAppliedFor?: ShadowStyleApplied, isEnableShadow?: StateProp<boolean>, screen?: string) => React.CSSProperties;
|
|
38019
|
-
declare const
|
|
38353
|
+
declare const getResponsiveStyleShadow: (value?: any, styleAppliedFor?: ShadowStyleApplied, isEnableShadow?: any) => {
|
|
38020
38354
|
[x: string]: any;
|
|
38021
38355
|
'--ai'?: csstype.Property.AlignItems | undefined;
|
|
38022
38356
|
'--hvr-ai'?: csstype.Property.AlignItems | undefined;
|
|
@@ -41420,6 +41754,7 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'name'
|
|
|
41420
41754
|
pageStyle?: Maybe$1<Pick<PublishedThemeStyle$1, 'id' | 'data' | 'name'>>;
|
|
41421
41755
|
themePageAnalytic?: Maybe$1<Pick<Analytic$1, 'fbPixelID' | 'gaTrackingID' | 'tiktokPixelID'>>;
|
|
41422
41756
|
themePageCustomCode?: Maybe$1<Pick<CustomCode$1, 'body' | 'header'>>;
|
|
41757
|
+
interaction?: Maybe$1<Pick<PublishedPageInteraction$1, 'id' | 'value'>>;
|
|
41423
41758
|
};
|
|
41424
41759
|
|
|
41425
41760
|
declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
|
|
@@ -41438,4 +41773,32 @@ declare const getAppBlocks: (section: PublishedPageSection$1 & {
|
|
|
41438
41773
|
|
|
41439
41774
|
declare const addAppBlockId: (component: Component) => Component;
|
|
41440
41775
|
|
|
41441
|
-
|
|
41776
|
+
declare const useInteraction: () => {
|
|
41777
|
+
onListener: ({ event, selector, elementRef, }: {
|
|
41778
|
+
event: string;
|
|
41779
|
+
selector: string;
|
|
41780
|
+
elementRef?: React.MutableRefObject<HTMLElement> | undefined;
|
|
41781
|
+
}, callback: (data: any) => void) => (() => void) | undefined;
|
|
41782
|
+
trigger: ({ event, data, selector, element: elementParam, }: {
|
|
41783
|
+
event: string;
|
|
41784
|
+
data?: any;
|
|
41785
|
+
selector: string;
|
|
41786
|
+
element?: HTMLElement | undefined;
|
|
41787
|
+
}) => void;
|
|
41788
|
+
saveToElementInteractionData: (element: HTMLElement, key: string, value: string) => void;
|
|
41789
|
+
closeSelectOnPage: () => void;
|
|
41790
|
+
ref: React.MutableRefObject<any>;
|
|
41791
|
+
findElementIncludingSelf: (element: any, selector: string) => any;
|
|
41792
|
+
getInteractionPreviousData: (element: HTMLElement, key: string) => {
|
|
41793
|
+
previousData: any;
|
|
41794
|
+
interactionDataJson: any;
|
|
41795
|
+
};
|
|
41796
|
+
changeSelectMode: (mode: 'ELEMENT' | 'PAGE') => void;
|
|
41797
|
+
selectInteractionElement: ({ componentUid, settingType, $target, }: {
|
|
41798
|
+
componentUid: string;
|
|
41799
|
+
settingType: string;
|
|
41800
|
+
$target: HTMLElement;
|
|
41801
|
+
}) => void;
|
|
41802
|
+
};
|
|
41803
|
+
|
|
41804
|
+
export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AirProductReview, 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, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, BaseProps, BasePropsWrap, BlockEntity, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CSSStateKey, 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, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEvent, InteractionTargetEventObject, InteractionTriggerEvent, 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, PreOrderNowWodWidgetType, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterCornerInStyle, filterToolbarPreview, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAppBlocks, 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, getResponsiveStyleShadow, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBgColor, getStyleShadow, getStyleShadowState, getValueByDevice, 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, useHasPreSelected, useInitialSwatchesOptions, useInteraction, 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 };
|