@gem-sdk/core 1.63.17 → 2.0.0-dev.156
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/AddOn.js +1 -0
- package/dist/cjs/components/ComponentAnimation.js +1 -0
- package/dist/cjs/components/ComponentToolbarPreview.js +8 -7
- package/dist/cjs/components/ComponentWrapper.js +1 -0
- package/dist/cjs/components/ComponentWrapperPreview.js +3 -2
- package/dist/cjs/components/Empty.js +1 -0
- package/dist/cjs/components/InteractionSuffix.js +7 -6
- package/dist/cjs/components/Render.js +1 -0
- package/dist/cjs/components/Render.liquid.js +4 -1
- package/dist/cjs/components/RenderBlock.js +1 -0
- package/dist/cjs/components/RenderCustomCode.js +8 -7
- package/dist/cjs/components/RenderPreview.js +1 -0
- package/dist/cjs/components/RenderSection.js +1 -0
- package/dist/cjs/components/ai-generator/AIContentGenerator.js +5 -4
- package/dist/cjs/components/ai-generator/AIGenContentLoading.js +1 -0
- package/dist/cjs/components/ai-generator/components/PickProduct.js +5 -4
- package/dist/cjs/components/ai-generator/components/ToneAndVoice.js +1 -0
- package/dist/cjs/components/ai-generator/icons/AIIcon.js +1 -0
- package/dist/cjs/components/ai-generator/icons/CloseIcon.js +1 -0
- package/dist/cjs/components/ai-generator/icons/DropdownIcon.js +1 -0
- package/dist/cjs/components/ai-generator/icons/SearchIcon.js +1 -0
- package/dist/cjs/components/ai-generator/icons/ShowMoreIcon.js +1 -0
- package/dist/cjs/components/ai-generator/icons/UpgradeIcon.js +1 -0
- package/dist/cjs/components/ai-generator/icons/WarningIcon.js +1 -0
- package/dist/cjs/components/resize/Resize.js +1 -0
- package/dist/cjs/components/resize/Spacing.js +8 -7
- package/dist/cjs/components/theme-section/CreateThemeSection.js +5 -4
- package/dist/cjs/components/theme-section/ThemeSectionStatus.js +1 -0
- package/dist/cjs/components/theme-section/ThemeSectionTooltip.js +1 -0
- package/dist/cjs/components/toolbar/Tooltip.js +1 -0
- package/dist/cjs/contexts/AddonContext.js +1 -0
- package/dist/cjs/contexts/ArticleContext.js +1 -0
- package/dist/cjs/contexts/ArticleListContext.js +1 -0
- package/dist/cjs/contexts/BuilderComponent.js +1 -0
- package/dist/cjs/contexts/BuilderContext.js +1 -0
- package/dist/cjs/contexts/BuilderPreviewContext.js +1 -0
- package/dist/cjs/contexts/CartLineContext.js +1 -0
- package/dist/cjs/contexts/CollectionContext.js +1 -0
- package/dist/cjs/contexts/ModalContext.js +1 -0
- package/dist/cjs/contexts/PageContext.js +1 -0
- package/dist/cjs/contexts/ProductContext.js +12 -12
- package/dist/cjs/contexts/ProductListContext.js +1 -0
- package/dist/cjs/contexts/SectionContext.js +1 -0
- package/dist/cjs/contexts/ShopContext.js +1 -0
- package/dist/cjs/graphql/fragments/preview-theme-page.generated.js +0 -4
- package/dist/cjs/graphql/fragments/published-theme-page.generated.js +4 -0
- package/dist/cjs/graphql/queries/articles.generated.js +1 -0
- package/dist/cjs/graphql/queries/blogs.generated.js +1 -0
- package/dist/cjs/graphql/queries/shop-shopify.generated.js +11 -0
- package/dist/cjs/helpers/align.js +18 -0
- package/dist/cjs/helpers/background.js +6 -2
- package/dist/cjs/helpers/backgroundImage.js +184 -0
- package/dist/cjs/helpers/borders.js +17 -0
- package/dist/cjs/helpers/compose-advance-style.js +71 -1
- package/dist/cjs/helpers/filter-toolbar-preview.js +1 -0
- package/dist/cjs/helpers/interaction/index.js +7 -6
- package/dist/cjs/helpers/is-empty-children.js +1 -0
- package/dist/cjs/helpers/layout.js +17 -0
- package/dist/cjs/helpers/radius.js +13 -1
- package/dist/cjs/helpers/shadow.js +28 -2
- package/dist/cjs/helpers/size.js +22 -0
- package/dist/cjs/helpers/third-party/appConfig.js +63 -0
- package/dist/cjs/helpers/third-party/appSetting.js +187 -6
- package/dist/cjs/helpers/third-party/constant.js +10 -1
- package/dist/cjs/helpers/typography.js +10 -1
- package/dist/cjs/hooks/animation/useAnimationActions.js +1 -0
- package/dist/cjs/hooks/animation/useAnimationConfig.js +1 -0
- package/dist/cjs/hooks/animation/useAnimationPreview.js +1 -0
- package/dist/cjs/hooks/animation/useAnimationTarget.js +1 -0
- package/dist/cjs/hooks/animation/useApplyAnimation.js +1 -0
- package/dist/cjs/hooks/articles/useArticlesQuery.js +1 -0
- package/dist/cjs/hooks/cart/use-add-to-cart.js +1 -0
- package/dist/cjs/hooks/cart/use-cart-data.js +1 -0
- package/dist/cjs/hooks/cart/use-cart-discount-codes-update.js +1 -0
- package/dist/cjs/hooks/cart/use-cart-note-update.js +1 -0
- package/dist/cjs/hooks/cart/use-create-cart.js +1 -0
- package/dist/cjs/hooks/cart/use-remove-cart-item.js +1 -0
- package/dist/cjs/hooks/cart/use-update-cart-item.js +1 -0
- package/dist/cjs/hooks/shop/use-collection-query.js +1 -0
- package/dist/cjs/hooks/shop/use-collections-query.js +1 -0
- package/dist/cjs/hooks/shop/use-product-query.js +1 -0
- package/dist/cjs/hooks/shop/use-products-query.js +1 -0
- package/dist/cjs/hooks/shop/useShopifyLink.js +47 -0
- package/dist/cjs/hooks/shop.js +10 -0
- package/dist/cjs/hooks/use-current-device.js +2 -1
- package/dist/cjs/hooks/use-lazy-video.js +1 -0
- package/dist/cjs/hooks/useAnimations.js +1 -0
- package/dist/cjs/hooks/useCartId.js +1 -0
- package/dist/cjs/hooks/useCartLine.js +1 -0
- package/dist/cjs/hooks/useCartUI.js +1 -0
- package/dist/cjs/hooks/useCollection.js +1 -0
- package/dist/cjs/hooks/useFetchHandle.js +1 -0
- package/dist/cjs/hooks/useFormatMoney.js +1 -0
- package/dist/cjs/hooks/useInitialSwatchesOptions.js +1 -0
- package/dist/cjs/hooks/useInteraction.js +1 -0
- package/dist/cjs/hooks/useIsomorphicLayoutEffect.js +1 -0
- package/dist/cjs/hooks/useLoadScript.js +1 -0
- package/dist/cjs/hooks/useMoney.js +1 -0
- package/dist/cjs/hooks/usePrevious.js +1 -0
- package/dist/cjs/hooks/useProduct.js +18 -0
- package/dist/cjs/hooks/useProductList.js +1 -0
- package/dist/cjs/hooks/useSuspenseFetch.js +1 -0
- package/dist/cjs/hooks/useSwatchesOptions.js +1 -0
- package/dist/cjs/hooks/useToolbarPostPurchase.js +1 -0
- package/dist/cjs/index.js +18 -0
- package/dist/esm/components/AddOn.js +1 -0
- package/dist/esm/components/ComponentAnimation.js +1 -0
- package/dist/esm/components/ComponentToolbarPreview.js +8 -7
- package/dist/esm/components/ComponentWrapper.js +1 -0
- package/dist/esm/components/ComponentWrapperPreview.js +3 -2
- package/dist/esm/components/Empty.js +1 -0
- package/dist/esm/components/InteractionSuffix.js +7 -6
- package/dist/esm/components/Render.js +1 -0
- package/dist/esm/components/Render.liquid.js +4 -1
- package/dist/esm/components/RenderBlock.js +1 -0
- package/dist/esm/components/RenderCustomCode.js +8 -7
- package/dist/esm/components/RenderPreview.js +1 -0
- package/dist/esm/components/RenderSection.js +1 -0
- package/dist/esm/components/ai-generator/AIContentGenerator.js +5 -4
- package/dist/esm/components/ai-generator/AIGenContentLoading.js +1 -0
- package/dist/esm/components/ai-generator/components/PickProduct.js +5 -4
- package/dist/esm/components/ai-generator/components/ToneAndVoice.js +1 -0
- package/dist/esm/components/ai-generator/icons/AIIcon.js +1 -0
- package/dist/esm/components/ai-generator/icons/CloseIcon.js +1 -0
- package/dist/esm/components/ai-generator/icons/DropdownIcon.js +1 -0
- package/dist/esm/components/ai-generator/icons/SearchIcon.js +1 -0
- package/dist/esm/components/ai-generator/icons/ShowMoreIcon.js +1 -0
- package/dist/esm/components/ai-generator/icons/UpgradeIcon.js +1 -0
- package/dist/esm/components/ai-generator/icons/WarningIcon.js +1 -0
- package/dist/esm/components/resize/Resize.js +1 -0
- package/dist/esm/components/resize/Spacing.js +8 -7
- package/dist/esm/components/theme-section/CreateThemeSection.js +5 -4
- package/dist/esm/components/theme-section/ThemeSectionStatus.js +1 -0
- package/dist/esm/components/theme-section/ThemeSectionTooltip.js +1 -0
- package/dist/esm/components/toolbar/Tooltip.js +1 -0
- package/dist/esm/contexts/AddonContext.js +1 -0
- package/dist/esm/contexts/ArticleContext.js +1 -0
- package/dist/esm/contexts/ArticleListContext.js +1 -0
- package/dist/esm/contexts/BuilderComponent.js +1 -0
- package/dist/esm/contexts/BuilderContext.js +1 -0
- package/dist/esm/contexts/BuilderPreviewContext.js +1 -0
- package/dist/esm/contexts/CartLineContext.js +1 -0
- package/dist/esm/contexts/CollectionContext.js +1 -0
- package/dist/esm/contexts/ModalContext.js +1 -0
- package/dist/esm/contexts/PageContext.js +1 -0
- package/dist/esm/contexts/ProductContext.js +12 -12
- package/dist/esm/contexts/ProductListContext.js +1 -0
- package/dist/esm/contexts/SectionContext.js +1 -0
- package/dist/esm/contexts/ShopContext.js +1 -0
- package/dist/esm/graphql/fragments/preview-theme-page.generated.js +0 -4
- package/dist/esm/graphql/fragments/published-theme-page.generated.js +4 -0
- package/dist/esm/graphql/queries/articles.generated.js +1 -0
- package/dist/esm/graphql/queries/blogs.generated.js +1 -0
- package/dist/esm/graphql/queries/shop-shopify.generated.js +9 -0
- package/dist/esm/helpers/align.js +18 -1
- package/dist/esm/helpers/background.js +6 -2
- package/dist/esm/helpers/backgroundImage.js +179 -0
- package/dist/esm/helpers/borders.js +17 -1
- package/dist/esm/helpers/compose-advance-style.js +71 -1
- package/dist/esm/helpers/filter-toolbar-preview.js +1 -0
- package/dist/esm/helpers/interaction/index.js +7 -6
- package/dist/esm/helpers/is-empty-children.js +1 -0
- package/dist/esm/helpers/layout.js +17 -1
- package/dist/esm/helpers/radius.js +13 -1
- package/dist/esm/helpers/shadow.js +28 -3
- package/dist/esm/helpers/size.js +21 -1
- package/dist/esm/helpers/third-party/appConfig.js +55 -1
- package/dist/esm/helpers/third-party/appSetting.js +187 -6
- package/dist/esm/helpers/third-party/constant.js +11 -2
- package/dist/esm/helpers/typography.js +10 -2
- package/dist/esm/hooks/animation/useAnimationActions.js +1 -0
- package/dist/esm/hooks/animation/useAnimationConfig.js +1 -0
- package/dist/esm/hooks/animation/useAnimationPreview.js +1 -0
- package/dist/esm/hooks/animation/useAnimationTarget.js +1 -0
- package/dist/esm/hooks/animation/useApplyAnimation.js +1 -0
- package/dist/esm/hooks/articles/useArticlesQuery.js +1 -0
- package/dist/esm/hooks/cart/use-add-to-cart.js +1 -0
- package/dist/esm/hooks/cart/use-cart-data.js +1 -0
- package/dist/esm/hooks/cart/use-cart-discount-codes-update.js +1 -0
- package/dist/esm/hooks/cart/use-cart-note-update.js +1 -0
- package/dist/esm/hooks/cart/use-create-cart.js +1 -0
- package/dist/esm/hooks/cart/use-remove-cart-item.js +1 -0
- package/dist/esm/hooks/cart/use-update-cart-item.js +1 -0
- package/dist/esm/hooks/shop/use-collection-query.js +1 -0
- package/dist/esm/hooks/shop/use-collections-query.js +1 -0
- package/dist/esm/hooks/shop/use-product-query.js +1 -0
- package/dist/esm/hooks/shop/use-products-query.js +1 -0
- package/dist/esm/hooks/shop/useShopifyLink.js +45 -0
- package/dist/esm/hooks/shop.js +10 -1
- package/dist/esm/hooks/use-current-device.js +2 -1
- package/dist/esm/hooks/use-lazy-video.js +1 -0
- package/dist/esm/hooks/useAnimations.js +1 -0
- package/dist/esm/hooks/useCartId.js +1 -0
- package/dist/esm/hooks/useCartLine.js +1 -0
- package/dist/esm/hooks/useCartUI.js +1 -0
- package/dist/esm/hooks/useCollection.js +1 -0
- package/dist/esm/hooks/useFetchHandle.js +1 -0
- package/dist/esm/hooks/useFormatMoney.js +1 -0
- package/dist/esm/hooks/useInitialSwatchesOptions.js +1 -0
- package/dist/esm/hooks/useInteraction.js +1 -0
- package/dist/esm/hooks/useIsomorphicLayoutEffect.js +1 -0
- package/dist/esm/hooks/useLoadScript.js +1 -0
- package/dist/esm/hooks/useMoney.js +1 -0
- package/dist/esm/hooks/usePrevious.js +1 -0
- package/dist/esm/hooks/useProduct.js +18 -1
- package/dist/esm/hooks/useProductList.js +1 -0
- package/dist/esm/hooks/useSuspenseFetch.js +1 -0
- package/dist/esm/hooks/useSwatchesOptions.js +1 -0
- package/dist/esm/hooks/useToolbarPostPurchase.js +1 -0
- package/dist/esm/index.js +11 -8
- package/dist/types/index.d.ts +728 -253
- package/package.json +4 -4
package/dist/types/index.d.ts
CHANGED
|
@@ -7242,6 +7242,7 @@ type ObjectLayoutValue = {
|
|
|
7242
7242
|
display?: 'fill' | 'fit';
|
|
7243
7243
|
cols?: number[];
|
|
7244
7244
|
keepCol?: boolean;
|
|
7245
|
+
gap?: string;
|
|
7245
7246
|
};
|
|
7246
7247
|
type ProductReviewsWidgetType = 'reviews' | 'badge';
|
|
7247
7248
|
type TrustooWidgetType = 'starRatingInList' | 'starRating' | 'reviews';
|
|
@@ -7255,7 +7256,7 @@ type StampedWidgetType = 'main-widget' | 'carousel' | 'full-page' | 'visual-gall
|
|
|
7255
7256
|
type LaiProductReviewsWidgetType = 'reviews_widget' | 'star_ratings' | 'homepage_reviews' | 'happy_customer_reviews' | 'star_ratings_in_list' | 'advanced_widget';
|
|
7256
7257
|
type LaiProductReviewsAdvancedWidgetType = 'cardCarousel' | 'testimonialCarousel' | 'mediaGallery' | 'cardGrid';
|
|
7257
7258
|
type YotpoReviewsWidgetType = 'reviews' | 'star-rating' | 'reviewHighlights';
|
|
7258
|
-
type BogosWidgetType = 'icon' | 'thumnail' | 'slider' | 'message' | 'classic-bundle' | 'quantity-break'
|
|
7259
|
+
type BogosWidgetType = 'icon' | 'thumnail' | 'slider' | 'message' | 'classic-bundle' | 'quantity-break';
|
|
7259
7260
|
type PreOrderNowWodWidgetType = 'app-block' | 'popups-block';
|
|
7260
7261
|
type TagShopWidgetType = 'homeLandingGalleries' | 'productGalleries' | 'tagGalleries';
|
|
7261
7262
|
type AirProductReview = 'review_box' | 'star_rating' | 'review_carousel';
|
|
@@ -7280,7 +7281,7 @@ type HyperlinkInfo = {
|
|
|
7280
7281
|
link?: string;
|
|
7281
7282
|
modal?: CommonModalApp;
|
|
7282
7283
|
};
|
|
7283
|
-
type Mapped$
|
|
7284
|
+
type Mapped$9<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
7284
7285
|
id: K;
|
|
7285
7286
|
label?: string;
|
|
7286
7287
|
info?: string;
|
|
@@ -7291,6 +7292,7 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7291
7292
|
mobileOnly?: boolean;
|
|
7292
7293
|
};
|
|
7293
7294
|
hide?: boolean;
|
|
7295
|
+
dynamicSource?: true;
|
|
7294
7296
|
ignoreReRender?: boolean;
|
|
7295
7297
|
allowBackgroundImageAndVideo?: boolean;
|
|
7296
7298
|
hideOnState?: {
|
|
@@ -7312,8 +7314,10 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7312
7314
|
active?: boolean;
|
|
7313
7315
|
};
|
|
7314
7316
|
devices?: ResponsiveConfig<U>;
|
|
7317
|
+
compoDefaultValue?: ResponsiveConfig<U>;
|
|
7315
7318
|
emptyOnClear?: boolean;
|
|
7316
7319
|
showVideo?: boolean;
|
|
7320
|
+
disableGetDefault?: boolean;
|
|
7317
7321
|
} : {
|
|
7318
7322
|
id: K;
|
|
7319
7323
|
label?: string;
|
|
@@ -7350,19 +7354,21 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7350
7354
|
emptyOnClear?: boolean;
|
|
7351
7355
|
showVideo?: boolean;
|
|
7352
7356
|
default?: T;
|
|
7357
|
+
compoDefaultValue?: T;
|
|
7358
|
+
disableGetDefault?: boolean;
|
|
7353
7359
|
};
|
|
7354
7360
|
type SharedControlType<T> = {
|
|
7355
|
-
[K in keyof T]-?: Mapped$
|
|
7361
|
+
[K in keyof T]-?: Mapped$9<K, T[K]>;
|
|
7356
7362
|
}[keyof T];
|
|
7357
7363
|
|
|
7358
|
-
type Option$
|
|
7364
|
+
type Option$7 = {
|
|
7359
7365
|
value: number | string;
|
|
7360
7366
|
label?: string | number;
|
|
7361
7367
|
type?: string;
|
|
7362
7368
|
icon?: string;
|
|
7363
7369
|
isTextIcon?: boolean;
|
|
7364
7370
|
};
|
|
7365
|
-
type Mapped$
|
|
7371
|
+
type Mapped$8<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
7366
7372
|
id: K;
|
|
7367
7373
|
label: string;
|
|
7368
7374
|
info?: string;
|
|
@@ -7380,7 +7386,7 @@ type Mapped$6<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7380
7386
|
};
|
|
7381
7387
|
placeholder?: string;
|
|
7382
7388
|
type: 'layout-custom-segment';
|
|
7383
|
-
options: Option$
|
|
7389
|
+
options: Option$7[];
|
|
7384
7390
|
devices?: ResponsiveConfig<U>;
|
|
7385
7391
|
iconViewBox?: string;
|
|
7386
7392
|
enableItemBackground?: boolean;
|
|
@@ -7405,14 +7411,14 @@ type Mapped$6<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7405
7411
|
};
|
|
7406
7412
|
placeholder?: string;
|
|
7407
7413
|
type: 'layout-custom-segment';
|
|
7408
|
-
options?: Option$
|
|
7414
|
+
options?: Option$7[];
|
|
7409
7415
|
iconViewBox?: string;
|
|
7410
7416
|
enableItemBackground?: boolean;
|
|
7411
7417
|
enableTooltip?: boolean;
|
|
7412
7418
|
default?: T;
|
|
7413
7419
|
};
|
|
7414
7420
|
type LayoutCustomSegmentControlType<T> = {
|
|
7415
|
-
[K in keyof T]-?: Mapped$
|
|
7421
|
+
[K in keyof T]-?: Mapped$8<K, T[K]>;
|
|
7416
7422
|
}[keyof T];
|
|
7417
7423
|
|
|
7418
7424
|
type AngleControlType<T> = SharedControlType<T> & {
|
|
@@ -7424,12 +7430,12 @@ type AngleControlType<T> = SharedControlType<T> & {
|
|
|
7424
7430
|
readonly?: boolean;
|
|
7425
7431
|
};
|
|
7426
7432
|
|
|
7427
|
-
type Option$
|
|
7433
|
+
type Option$6<T> = {
|
|
7428
7434
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
7429
7435
|
text: string | number;
|
|
7430
7436
|
desc?: any;
|
|
7431
7437
|
};
|
|
7432
|
-
type Mapped$
|
|
7438
|
+
type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
7433
7439
|
id: K;
|
|
7434
7440
|
label: string;
|
|
7435
7441
|
hideOnMode?: {
|
|
@@ -7445,7 +7451,7 @@ type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7445
7451
|
active?: boolean;
|
|
7446
7452
|
};
|
|
7447
7453
|
type: 'checkbox';
|
|
7448
|
-
options: Option$
|
|
7454
|
+
options: Option$6<T>[];
|
|
7449
7455
|
devices?: ResponsiveConfig<U>;
|
|
7450
7456
|
} : {
|
|
7451
7457
|
id: K;
|
|
@@ -7463,11 +7469,11 @@ type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7463
7469
|
active?: boolean;
|
|
7464
7470
|
};
|
|
7465
7471
|
type: 'checkbox';
|
|
7466
|
-
options: Option$
|
|
7472
|
+
options: Option$6<T>[];
|
|
7467
7473
|
default?: T;
|
|
7468
7474
|
};
|
|
7469
7475
|
type CheckboxControlType<T> = {
|
|
7470
|
-
[K in keyof T]-?: Mapped$
|
|
7476
|
+
[K in keyof T]-?: Mapped$7<K, T[K]>;
|
|
7471
7477
|
}[keyof T];
|
|
7472
7478
|
|
|
7473
7479
|
type ChildrensControlType = {
|
|
@@ -7556,6 +7562,7 @@ type InputNumberControlType<T> = SharedControlType<T> & {
|
|
|
7556
7562
|
min?: number;
|
|
7557
7563
|
max?: number;
|
|
7558
7564
|
readonly?: boolean;
|
|
7565
|
+
includeUnit?: 'px' | '%';
|
|
7559
7566
|
};
|
|
7560
7567
|
|
|
7561
7568
|
type SizeUnit$2 = 's' | '%' | 'cm' | 'mm' | 'Q' | 'in' | 'pc' | 'pt' | 'px' | 'em' | 'cap' | 'ex' | 'ch' | 'ic' | 'rem' | 'lh' | 'rlh' | 'vw' | 'vh' | 'vi' | 'vb' | 'vmin' | 'vmax' | 'ms' | 'min' | 'days';
|
|
@@ -7612,14 +7619,14 @@ type RangeControlType<T> = SharedControlType<T> & {
|
|
|
7612
7619
|
maxRelated?: string;
|
|
7613
7620
|
}>;
|
|
7614
7621
|
|
|
7615
|
-
type Option$
|
|
7622
|
+
type Option$5<T> = {
|
|
7616
7623
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
7617
7624
|
label?: string | number;
|
|
7618
7625
|
type?: string;
|
|
7619
7626
|
icon?: string;
|
|
7620
7627
|
tooltip?: string;
|
|
7621
7628
|
};
|
|
7622
|
-
type Mapped$
|
|
7629
|
+
type Mapped$6<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
7623
7630
|
id: K;
|
|
7624
7631
|
label?: string;
|
|
7625
7632
|
info?: string;
|
|
@@ -7637,7 +7644,7 @@ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7637
7644
|
};
|
|
7638
7645
|
placeholder?: string;
|
|
7639
7646
|
type: 'segment' | 'accordion:segment';
|
|
7640
|
-
options: Option$
|
|
7647
|
+
options: Option$5<T>[];
|
|
7641
7648
|
iconCustom?: boolean;
|
|
7642
7649
|
devices?: ResponsiveConfig<U>;
|
|
7643
7650
|
} : {
|
|
@@ -7658,12 +7665,12 @@ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7658
7665
|
};
|
|
7659
7666
|
placeholder?: string;
|
|
7660
7667
|
type: 'segment' | 'accordion:segment';
|
|
7661
|
-
options: Option$
|
|
7668
|
+
options: Option$5<T>[];
|
|
7662
7669
|
iconCustom?: boolean;
|
|
7663
7670
|
default?: T;
|
|
7664
7671
|
};
|
|
7665
7672
|
type SegmentControlType<T> = {
|
|
7666
|
-
[K in keyof T]-?: Mapped$
|
|
7673
|
+
[K in keyof T]-?: Mapped$6<K, T[K]>;
|
|
7667
7674
|
}[keyof T];
|
|
7668
7675
|
|
|
7669
7676
|
type OpenLinkControlType<T> = SharedControlType<T> & {
|
|
@@ -7674,7 +7681,7 @@ type OpenLinkControlType<T> = SharedControlType<T> & {
|
|
|
7674
7681
|
linkType?: 'openApp' | 'install';
|
|
7675
7682
|
};
|
|
7676
7683
|
|
|
7677
|
-
type Option$
|
|
7684
|
+
type Option$4<T> = {
|
|
7678
7685
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
7679
7686
|
label: string | number;
|
|
7680
7687
|
hideOnPage?: string[];
|
|
@@ -7687,7 +7694,7 @@ type Option$2<T> = {
|
|
|
7687
7694
|
note?: string;
|
|
7688
7695
|
maxOption?: number;
|
|
7689
7696
|
};
|
|
7690
|
-
type Mapped$
|
|
7697
|
+
type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
7691
7698
|
id: K;
|
|
7692
7699
|
label?: string;
|
|
7693
7700
|
info?: string;
|
|
@@ -7706,7 +7713,7 @@ type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7706
7713
|
};
|
|
7707
7714
|
placeholder?: string;
|
|
7708
7715
|
type: 'select';
|
|
7709
|
-
options: Option$
|
|
7716
|
+
options: Option$4<T>[];
|
|
7710
7717
|
devices?: ResponsiveConfig<U>;
|
|
7711
7718
|
} : {
|
|
7712
7719
|
id: K;
|
|
@@ -7726,12 +7733,12 @@ type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7726
7733
|
};
|
|
7727
7734
|
placeholder?: string;
|
|
7728
7735
|
type: 'select';
|
|
7729
|
-
options: Option$
|
|
7736
|
+
options: Option$4<T>[];
|
|
7730
7737
|
default?: T;
|
|
7731
7738
|
isFullWidth?: boolean;
|
|
7732
7739
|
};
|
|
7733
7740
|
type SelectControlType<T> = {
|
|
7734
|
-
[K in keyof T]-?: Mapped$
|
|
7741
|
+
[K in keyof T]-?: Mapped$5<K, T[K]>;
|
|
7735
7742
|
}[keyof T];
|
|
7736
7743
|
|
|
7737
7744
|
type TextareaControlType<T> = SharedControlType<T> & {
|
|
@@ -7781,9 +7788,150 @@ type TypographyControlType<T> = SharedControlType<T> & {
|
|
|
7781
7788
|
popup?: boolean;
|
|
7782
7789
|
};
|
|
7783
7790
|
|
|
7791
|
+
type SettingStateType = 'normal' | 'hover' | 'focus' | 'active' | 'price' | 'compareAtPrice';
|
|
7792
|
+
type LangKey = 'en' | 'vi';
|
|
7793
|
+
type LabelWithLang = {
|
|
7794
|
+
[P in keyof Record<LangKey, ''>]?: string;
|
|
7795
|
+
};
|
|
7796
|
+
type SettingMediaType = 'image' | 'youtubeVideoID';
|
|
7797
|
+
type SettingUIHelpType = {
|
|
7798
|
+
content: string;
|
|
7799
|
+
button?: {
|
|
7800
|
+
label: string;
|
|
7801
|
+
link: string;
|
|
7802
|
+
};
|
|
7803
|
+
media?: {
|
|
7804
|
+
value: string;
|
|
7805
|
+
type: SettingMediaType;
|
|
7806
|
+
};
|
|
7807
|
+
};
|
|
7808
|
+
type LinkWithSetting = {
|
|
7809
|
+
name: string;
|
|
7810
|
+
state?: string;
|
|
7811
|
+
field?: string;
|
|
7812
|
+
getLinkValue?: boolean;
|
|
7813
|
+
};
|
|
7814
|
+
type ControlConfig = ControlProp<any> & {
|
|
7815
|
+
linkWithSetting?: LinkWithSetting;
|
|
7816
|
+
};
|
|
7817
|
+
type Plan = 'trial' | 'build' | 'starter' | 'optimize' | 'advanced' | 'trial2022' | 'enterprise' | 'development' | 'professional';
|
|
7818
|
+
type LabelVariant = 'primary' | 'secondary' | 'bold';
|
|
7819
|
+
type SettingUIControl = {
|
|
7820
|
+
id?: string;
|
|
7821
|
+
controlConfig?: ControlConfig;
|
|
7822
|
+
type?: 'control' | 'combo' | 'tab' | 'toggleGroup';
|
|
7823
|
+
layout?: 'vertical' | 'horizontal';
|
|
7824
|
+
toggleGroupId?: string;
|
|
7825
|
+
label?: LabelWithLang;
|
|
7826
|
+
conditionDisplay?: string;
|
|
7827
|
+
conditionEnable?: string;
|
|
7828
|
+
options?: {
|
|
7829
|
+
fullWidth?: boolean;
|
|
7830
|
+
onlyShowInTags?: string[];
|
|
7831
|
+
target?: 'tab';
|
|
7832
|
+
disableMessage?: string;
|
|
7833
|
+
nearestSupportedPlan?: Plan;
|
|
7834
|
+
lockedOnPlans?: Plan[];
|
|
7835
|
+
labelVariant?: LabelVariant;
|
|
7836
|
+
labelInsideControl?: boolean;
|
|
7837
|
+
hideLabel?: boolean;
|
|
7838
|
+
updateFields?: {
|
|
7839
|
+
field: string;
|
|
7840
|
+
settingId: string;
|
|
7841
|
+
state?: SettingStateType;
|
|
7842
|
+
}[];
|
|
7843
|
+
};
|
|
7844
|
+
setting?: {
|
|
7845
|
+
id: string;
|
|
7846
|
+
state?: SettingStateType;
|
|
7847
|
+
};
|
|
7848
|
+
searchKeyword?: string;
|
|
7849
|
+
controlChangeTrigger?: ControlTrigger;
|
|
7850
|
+
tabs?: SettingUITab[];
|
|
7851
|
+
info?: LabelWithLang;
|
|
7852
|
+
compoDefaultValue?: any | Record<NameDevices$1, any>;
|
|
7853
|
+
} & SettingUICompo;
|
|
7854
|
+
type ControlTriggerAction$1 = {
|
|
7855
|
+
controlId: string;
|
|
7856
|
+
newValue?: any;
|
|
7857
|
+
valueFromField?: string;
|
|
7858
|
+
controlType: string;
|
|
7859
|
+
groupType: string;
|
|
7860
|
+
valueIfNull?: any;
|
|
7861
|
+
removeDevice?: boolean;
|
|
7862
|
+
state?: SettingStateType;
|
|
7863
|
+
};
|
|
7864
|
+
type ControlTriggerSetting = {
|
|
7865
|
+
source?: string[];
|
|
7866
|
+
condition?: string;
|
|
7867
|
+
action: ControlTriggerAction$1;
|
|
7868
|
+
};
|
|
7869
|
+
type ControlTrigger = {
|
|
7870
|
+
settings?: ControlTriggerSetting[];
|
|
7871
|
+
options?: {
|
|
7872
|
+
noRecordHistory?: boolean;
|
|
7873
|
+
};
|
|
7874
|
+
};
|
|
7875
|
+
type SettingUICompo = {
|
|
7876
|
+
controls?: SettingUIControl[];
|
|
7877
|
+
iconName?: string;
|
|
7878
|
+
getValueFromSettingID?: string;
|
|
7879
|
+
defaultValueWhenClear?: any;
|
|
7880
|
+
fixedValue?: string;
|
|
7881
|
+
placeholder?: string;
|
|
7882
|
+
help?: SettingUIHelpType;
|
|
7883
|
+
popoverLabel?: LabelWithLang;
|
|
7884
|
+
comboType?: 'color' | 'image';
|
|
7885
|
+
isHideClear?: boolean;
|
|
7886
|
+
};
|
|
7887
|
+
type SettingUIMoreSetting = {
|
|
7888
|
+
label?: LabelWithLang;
|
|
7889
|
+
labelAction?: LabelWithLang;
|
|
7890
|
+
controls?: SettingUIControl[];
|
|
7891
|
+
help?: SettingUIHelpType;
|
|
7892
|
+
type?: SettingUIMoreSettingType;
|
|
7893
|
+
};
|
|
7894
|
+
type SettingUIMoreSettingType = 'button' | 'collapse' | 'icon';
|
|
7895
|
+
type SettingUITab = {
|
|
7896
|
+
label?: LabelWithLang;
|
|
7897
|
+
controls?: SettingUIControl[];
|
|
7898
|
+
hide?: boolean;
|
|
7899
|
+
conditionDisplay?: string;
|
|
7900
|
+
};
|
|
7901
|
+
type SettingUIToggleGroup = {
|
|
7902
|
+
label?: LabelWithLang;
|
|
7903
|
+
id?: string;
|
|
7904
|
+
controls?: SettingUIControl[];
|
|
7905
|
+
};
|
|
7906
|
+
type SettingUIToggleSettings = {
|
|
7907
|
+
controls?: SettingUIControl[];
|
|
7908
|
+
isActiveDefault?: boolean;
|
|
7909
|
+
} & SettingUIControl & SettingUIToggleGroup;
|
|
7910
|
+
type SettingUIGroup = {
|
|
7911
|
+
label?: LabelWithLang;
|
|
7912
|
+
message?: string;
|
|
7913
|
+
disableToggle?: boolean;
|
|
7914
|
+
conditionDisplay?: string;
|
|
7915
|
+
conditionEnable?: string;
|
|
7916
|
+
controls?: SettingUIControl[];
|
|
7917
|
+
moreSettings?: SettingUIMoreSetting;
|
|
7918
|
+
toggleSettings?: SettingUIToggleSettings[];
|
|
7919
|
+
states?: SettingUITab[];
|
|
7920
|
+
help?: SettingUIHelpType;
|
|
7921
|
+
options?: {
|
|
7922
|
+
disableMessage?: string;
|
|
7923
|
+
};
|
|
7924
|
+
};
|
|
7925
|
+
|
|
7784
7926
|
type PickLinkControlType<T> = SharedControlType<T> & {
|
|
7785
7927
|
type: 'pick-link';
|
|
7786
7928
|
pickLinkLabel?: string;
|
|
7929
|
+
isHiddenInsertLink?: boolean;
|
|
7930
|
+
isHiddenOpenLinkSelect?: boolean;
|
|
7931
|
+
hiddenOptions?: {
|
|
7932
|
+
[key: string]: boolean;
|
|
7933
|
+
};
|
|
7934
|
+
customLabel?: LabelWithLang;
|
|
7787
7935
|
};
|
|
7788
7936
|
|
|
7789
7937
|
type BehaviorStateControlType<T> = {
|
|
@@ -7857,6 +8005,12 @@ type SelectVariantControlType = {
|
|
|
7857
8005
|
hide?: boolean;
|
|
7858
8006
|
};
|
|
7859
8007
|
|
|
8008
|
+
type VariantListingControlType = {
|
|
8009
|
+
id: string;
|
|
8010
|
+
type: 'variant:listing';
|
|
8011
|
+
label?: string;
|
|
8012
|
+
};
|
|
8013
|
+
|
|
7860
8014
|
type BackgroundControlType<T> = SharedControlType<T> & {
|
|
7861
8015
|
type: 'background';
|
|
7862
8016
|
value?: Background;
|
|
@@ -7872,23 +8026,23 @@ type Background = {
|
|
|
7872
8026
|
storage?: 'THEME' | 'FILE_CONTENT';
|
|
7873
8027
|
backupFilePath?: string;
|
|
7874
8028
|
};
|
|
7875
|
-
size?: BgSize;
|
|
7876
|
-
position?: BgPosition;
|
|
7877
|
-
repeat?: BgRepeat;
|
|
7878
|
-
attachment?: BgAttachment;
|
|
8029
|
+
size?: BgSize$2;
|
|
8030
|
+
position?: BgPosition$2;
|
|
8031
|
+
repeat?: BgRepeat$2;
|
|
8032
|
+
attachment?: BgAttachment$2;
|
|
7879
8033
|
video?: string;
|
|
7880
8034
|
videoHtml5?: string;
|
|
7881
8035
|
videoType?: 'youtube' | 'html5';
|
|
7882
8036
|
loop?: boolean;
|
|
7883
8037
|
lazyLoad?: boolean;
|
|
7884
8038
|
};
|
|
7885
|
-
type BgSize = 'cover' | 'contain';
|
|
7886
|
-
type BgRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
7887
|
-
type BgPosition = {
|
|
8039
|
+
type BgSize$2 = 'cover' | 'contain';
|
|
8040
|
+
type BgRepeat$2 = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
8041
|
+
type BgPosition$2 = {
|
|
7888
8042
|
x: number;
|
|
7889
8043
|
y: number;
|
|
7890
8044
|
};
|
|
7891
|
-
type BgAttachment = 'scroll' | 'fixed' | 'local';
|
|
8045
|
+
type BgAttachment$2 = 'scroll' | 'fixed' | 'local';
|
|
7892
8046
|
|
|
7893
8047
|
type VisibilityControlType<T> = SharedControlType<T> & {
|
|
7894
8048
|
type: 'visibility';
|
|
@@ -7951,14 +8105,15 @@ type CustomCodeEditor = {
|
|
|
7951
8105
|
id: string;
|
|
7952
8106
|
};
|
|
7953
8107
|
|
|
7954
|
-
type Option$
|
|
8108
|
+
type Option$3<T> = {
|
|
7955
8109
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
7956
8110
|
label?: string | number;
|
|
7957
8111
|
type?: string;
|
|
7958
8112
|
icon?: string;
|
|
8113
|
+
iconName?: string;
|
|
7959
8114
|
isTextIcon?: boolean;
|
|
7960
8115
|
};
|
|
7961
|
-
type Mapped$
|
|
8116
|
+
type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
7962
8117
|
id: K;
|
|
7963
8118
|
label: string;
|
|
7964
8119
|
info?: string;
|
|
@@ -7976,7 +8131,11 @@ type Mapped$2<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7976
8131
|
};
|
|
7977
8132
|
placeholder?: string;
|
|
7978
8133
|
type: 'layout-segment';
|
|
7979
|
-
options: Option$
|
|
8134
|
+
options: Option$3<T>[];
|
|
8135
|
+
groups?: {
|
|
8136
|
+
label: string;
|
|
8137
|
+
options: Option$3<T>[];
|
|
8138
|
+
}[];
|
|
7980
8139
|
devices?: ResponsiveConfig<U>;
|
|
7981
8140
|
iconViewBox?: string;
|
|
7982
8141
|
enableItemBackground?: boolean;
|
|
@@ -8003,14 +8162,18 @@ type Mapped$2<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
8003
8162
|
type: 'layout-segment';
|
|
8004
8163
|
itemPerRow?: number;
|
|
8005
8164
|
itemSpacing?: 'large' | 'small';
|
|
8006
|
-
options?: Option$
|
|
8165
|
+
options?: Option$3<T>[];
|
|
8166
|
+
groups?: {
|
|
8167
|
+
label: string;
|
|
8168
|
+
options: Option$3<T>[];
|
|
8169
|
+
}[];
|
|
8007
8170
|
iconViewBox?: string;
|
|
8008
8171
|
enableItemBackground?: boolean;
|
|
8009
8172
|
enableTooltip?: boolean;
|
|
8010
8173
|
default?: T;
|
|
8011
8174
|
};
|
|
8012
8175
|
type LayoutSegmentControlType<T> = {
|
|
8013
|
-
[K in keyof T]-?: Mapped$
|
|
8176
|
+
[K in keyof T]-?: Mapped$4<K, T[K]>;
|
|
8014
8177
|
}[keyof T];
|
|
8015
8178
|
|
|
8016
8179
|
type InputSpacing<T> = SharedControlType<T> & {
|
|
@@ -8102,6 +8265,8 @@ type TypographyV2ControlType<T> = SharedControlType<T> & {
|
|
|
8102
8265
|
color?: boolean;
|
|
8103
8266
|
transform?: boolean;
|
|
8104
8267
|
fontWeight?: boolean;
|
|
8268
|
+
textShadow?: boolean;
|
|
8269
|
+
textAlign?: boolean;
|
|
8105
8270
|
};
|
|
8106
8271
|
disableCollapse?: boolean;
|
|
8107
8272
|
};
|
|
@@ -8131,7 +8296,7 @@ type Actions = {
|
|
|
8131
8296
|
actionHandle?: string;
|
|
8132
8297
|
link?: string;
|
|
8133
8298
|
};
|
|
8134
|
-
type Mapped$
|
|
8299
|
+
type Mapped$3<K, T> = {
|
|
8135
8300
|
id: K;
|
|
8136
8301
|
label: string;
|
|
8137
8302
|
info?: string;
|
|
@@ -8140,7 +8305,7 @@ type Mapped$1<K, T> = {
|
|
|
8140
8305
|
default?: T;
|
|
8141
8306
|
};
|
|
8142
8307
|
type StepsGuide<T> = {
|
|
8143
|
-
[K in keyof T]-?: Mapped$
|
|
8308
|
+
[K in keyof T]-?: Mapped$3<K, T[K]>;
|
|
8144
8309
|
}[keyof T];
|
|
8145
8310
|
|
|
8146
8311
|
type ImageShape<T> = SharedControlType<T> & {
|
|
@@ -8204,6 +8369,7 @@ type DropdownInput<T> = SharedControlType<T> & {
|
|
|
8204
8369
|
reversed?: boolean;
|
|
8205
8370
|
showValue?: boolean;
|
|
8206
8371
|
}[];
|
|
8372
|
+
isRowWith?: boolean;
|
|
8207
8373
|
};
|
|
8208
8374
|
|
|
8209
8375
|
type Dropdown<T> = SharedControlType<T> & {
|
|
@@ -8249,14 +8415,14 @@ type SneakPeakRange<T> = SharedControlType<T> & {
|
|
|
8249
8415
|
sneakPeakType?: string;
|
|
8250
8416
|
};
|
|
8251
8417
|
|
|
8252
|
-
type Option<T> = {
|
|
8418
|
+
type Option$2<T> = {
|
|
8253
8419
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
8254
8420
|
label?: string | number;
|
|
8255
8421
|
type?: string;
|
|
8256
8422
|
icon?: string;
|
|
8257
8423
|
isTextIcon?: boolean;
|
|
8258
8424
|
};
|
|
8259
|
-
type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
8425
|
+
type Mapped$2<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
8260
8426
|
id: K;
|
|
8261
8427
|
label: string;
|
|
8262
8428
|
info?: string;
|
|
@@ -8274,7 +8440,7 @@ type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
8274
8440
|
};
|
|
8275
8441
|
placeholder?: string;
|
|
8276
8442
|
type: 'sneak-peak-type';
|
|
8277
|
-
options: Option<T>[];
|
|
8443
|
+
options: Option$2<T>[];
|
|
8278
8444
|
devices?: ResponsiveConfig<U>;
|
|
8279
8445
|
iconViewBox?: string;
|
|
8280
8446
|
enableItemBackground?: boolean;
|
|
@@ -8299,14 +8465,14 @@ type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
8299
8465
|
};
|
|
8300
8466
|
placeholder?: string;
|
|
8301
8467
|
type: 'sneak-peak-type';
|
|
8302
|
-
options?: Option<T>[];
|
|
8468
|
+
options?: Option$2<T>[];
|
|
8303
8469
|
iconViewBox?: string;
|
|
8304
8470
|
enableItemBackground?: boolean;
|
|
8305
8471
|
enableTooltip?: boolean;
|
|
8306
8472
|
default?: T;
|
|
8307
8473
|
};
|
|
8308
8474
|
type SneakPeakTypeControlType<T> = {
|
|
8309
|
-
[K in keyof T]-?: Mapped<K, T[K]>;
|
|
8475
|
+
[K in keyof T]-?: Mapped$2<K, T[K]>;
|
|
8310
8476
|
}[keyof T];
|
|
8311
8477
|
|
|
8312
8478
|
type ProductInputCurrencyUnitControlType<T> = SharedControlType<T> & {
|
|
@@ -8489,7 +8655,420 @@ type ProductHandleType<T> = SharedControlType<T> & {
|
|
|
8489
8655
|
type: 'product-handle';
|
|
8490
8656
|
};
|
|
8491
8657
|
|
|
8492
|
-
type
|
|
8658
|
+
type ColorPickerV2ControlType<T> = SharedControlType<T> & {
|
|
8659
|
+
type: 'color-picker-v2';
|
|
8660
|
+
enableGradient?: boolean;
|
|
8661
|
+
};
|
|
8662
|
+
|
|
8663
|
+
type BorderV2ControlType<T> = SharedControlType<T> & {
|
|
8664
|
+
type: 'border-v2';
|
|
8665
|
+
};
|
|
8666
|
+
|
|
8667
|
+
type CornerV2ControlType<T> = SharedControlType<T> & {
|
|
8668
|
+
type: 'corner-v2';
|
|
8669
|
+
};
|
|
8670
|
+
|
|
8671
|
+
type PaddingV2ControlType<T> = SharedControlType<T> & {
|
|
8672
|
+
type: 'padding-v2';
|
|
8673
|
+
};
|
|
8674
|
+
|
|
8675
|
+
type BackgroundImageType<T> = SharedControlType<T> & {
|
|
8676
|
+
type: 'background-image';
|
|
8677
|
+
value?: BackgroundImageValue;
|
|
8678
|
+
};
|
|
8679
|
+
type BackgroundImageValue = {
|
|
8680
|
+
image?: {
|
|
8681
|
+
src: string;
|
|
8682
|
+
width: number;
|
|
8683
|
+
height: number;
|
|
8684
|
+
backupFileKey?: string;
|
|
8685
|
+
storage?: 'THEME' | 'FILE_CONTENT';
|
|
8686
|
+
backupFilePath?: string;
|
|
8687
|
+
};
|
|
8688
|
+
size?: BgSize$1;
|
|
8689
|
+
position?: BgPosition$1;
|
|
8690
|
+
repeat?: BgRepeat$1;
|
|
8691
|
+
attachment?: BgAttachment$1;
|
|
8692
|
+
altText?: string;
|
|
8693
|
+
imageTitle?: string;
|
|
8694
|
+
lazyLoad?: boolean;
|
|
8695
|
+
preload?: boolean;
|
|
8696
|
+
};
|
|
8697
|
+
type BgSize$1 = 'cover' | 'contain' | '100% 100%';
|
|
8698
|
+
type BgRepeat$1 = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
8699
|
+
type BgPosition$1 = {
|
|
8700
|
+
x: number;
|
|
8701
|
+
y: number;
|
|
8702
|
+
};
|
|
8703
|
+
type BgAttachment$1 = 'scroll' | 'fixed' | 'local';
|
|
8704
|
+
|
|
8705
|
+
type BackgroundVideoType<T> = SharedControlType<T> & {
|
|
8706
|
+
type: 'background-video';
|
|
8707
|
+
value?: BackgroundVideoValue;
|
|
8708
|
+
};
|
|
8709
|
+
type BackgroundVideoValue = {
|
|
8710
|
+
srcYoutube?: string;
|
|
8711
|
+
srcHtml5?: string;
|
|
8712
|
+
type?: 'youtube' | 'html5';
|
|
8713
|
+
ratio?: string;
|
|
8714
|
+
loop?: boolean;
|
|
8715
|
+
};
|
|
8716
|
+
|
|
8717
|
+
type NameDevices = 'desktop' | 'tablet' | 'mobile';
|
|
8718
|
+
type TypographyV2Family = string | {
|
|
8719
|
+
value: string;
|
|
8720
|
+
type: TypographyV2FontFamilyType;
|
|
8721
|
+
};
|
|
8722
|
+
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme' | 'bunny';
|
|
8723
|
+
|
|
8724
|
+
/**
|
|
8725
|
+
* @deprecated Please use `TypographySettingV2`
|
|
8726
|
+
*/
|
|
8727
|
+
type TypographySetting = {
|
|
8728
|
+
type?: TypographyType;
|
|
8729
|
+
custom?: ObjectDevices<TypographyProps>;
|
|
8730
|
+
};
|
|
8731
|
+
type TypographySettingV2 = {
|
|
8732
|
+
type?: TypographyType;
|
|
8733
|
+
custom?: TypographyV2Props;
|
|
8734
|
+
attrs?: TypographyV2Attrs;
|
|
8735
|
+
};
|
|
8736
|
+
type SizeSetting = {
|
|
8737
|
+
type?: SizeType;
|
|
8738
|
+
custom?: ObjectDevices<SizeProps>;
|
|
8739
|
+
};
|
|
8740
|
+
type SizeProps = {
|
|
8741
|
+
horizontal?: string;
|
|
8742
|
+
vertical?: string;
|
|
8743
|
+
};
|
|
8744
|
+
type SizeType = 'medium' | 'large' | 'small' | 'none';
|
|
8745
|
+
type TypographyProps = {
|
|
8746
|
+
fontSize?: string;
|
|
8747
|
+
fontWeight?: string | number;
|
|
8748
|
+
fontStyle?: string;
|
|
8749
|
+
fontFamily?: TypographyV2Family;
|
|
8750
|
+
lineHeight?: string;
|
|
8751
|
+
letterSpacing?: string;
|
|
8752
|
+
fallbackFontFamily?: string;
|
|
8753
|
+
textShadow?: ShadowProps;
|
|
8754
|
+
hasShadowText?: boolean;
|
|
8755
|
+
isCustom?: boolean;
|
|
8756
|
+
};
|
|
8757
|
+
type TypographyV2Props = Omit<TypographyProps, 'fontSize' | 'lineHeight'> & {
|
|
8758
|
+
fontSize?: ObjectDevices<string>;
|
|
8759
|
+
lineHeight?: ObjectDevices<string>;
|
|
8760
|
+
};
|
|
8761
|
+
type TypographyV2Attrs = {
|
|
8762
|
+
bold?: boolean;
|
|
8763
|
+
italic?: boolean;
|
|
8764
|
+
underline?: boolean;
|
|
8765
|
+
color?: ColorValueType;
|
|
8766
|
+
transform?: string;
|
|
8767
|
+
textAlign?: ObjectDevices<AlignProp>;
|
|
8768
|
+
};
|
|
8769
|
+
type CornerRadius = {
|
|
8770
|
+
btlr?: string;
|
|
8771
|
+
btrr?: string;
|
|
8772
|
+
bblr?: string;
|
|
8773
|
+
bbrr?: string;
|
|
8774
|
+
radiusType?: CornerRadiusType;
|
|
8775
|
+
};
|
|
8776
|
+
type CornerRadiusType = 'none' | 'large' | 'medium' | 'small' | 'circle' | 'custom' | 'rounded';
|
|
8777
|
+
type ColorType$1 = NestedKeys<BrandColorObject> | NestedKeys<BackgroundColorObject> | NestedKeys<TextColorObject> | NestedKeys<LineColorObject> | NestedKeys<FuncColorObject>;
|
|
8778
|
+
type FontName = 'body' | 'heading' | 'code';
|
|
8779
|
+
type ColorKey = 'transparent' | 'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray';
|
|
8780
|
+
type HexColorType = `#${string}`;
|
|
8781
|
+
type RGBAColorType = `rgba(${number}, ${number}, ${number}, ${number})`;
|
|
8782
|
+
type RGBColorType = `rgb(${number}, ${number}, ${number})`;
|
|
8783
|
+
type HSLColorType = `hsl(${number}, ${number}%, ${number}%)`;
|
|
8784
|
+
type HSLAColorType = `hsla(${number}, ${number}%, ${number}%, ${number})`;
|
|
8785
|
+
type ColorValueType = ColorType$1 | HexColorType | RGBAColorType | RGBColorType | HSLColorType | HSLAColorType | ColorKey;
|
|
8786
|
+
type BrandColorObject = {
|
|
8787
|
+
brand: string;
|
|
8788
|
+
highlight: string;
|
|
8789
|
+
};
|
|
8790
|
+
type BackgroundColorObject = {
|
|
8791
|
+
'bg-1': string;
|
|
8792
|
+
'bg-2': string;
|
|
8793
|
+
'bg-3': string;
|
|
8794
|
+
};
|
|
8795
|
+
type TextColorObject = {
|
|
8796
|
+
'text-1': string;
|
|
8797
|
+
'text-2': string;
|
|
8798
|
+
'text-3': string;
|
|
8799
|
+
};
|
|
8800
|
+
type LineColorObject = {
|
|
8801
|
+
'line-1': string;
|
|
8802
|
+
'line-2': string;
|
|
8803
|
+
'line-3': string;
|
|
8804
|
+
};
|
|
8805
|
+
type FuncColorObject = {
|
|
8806
|
+
info: string;
|
|
8807
|
+
warning: string;
|
|
8808
|
+
success: string;
|
|
8809
|
+
error: string;
|
|
8810
|
+
};
|
|
8811
|
+
type TypographyType = 'heading-1' | 'heading-2' | 'heading-3' | 'subheading-1' | 'subheading-2' | 'subheading-3' | 'paragraph-1' | 'paragraph-2' | 'paragraph-3';
|
|
8812
|
+
type ObjectDeviceGlobalType<T> = {
|
|
8813
|
+
desktop: T;
|
|
8814
|
+
tablet?: T;
|
|
8815
|
+
mobile?: T;
|
|
8816
|
+
};
|
|
8817
|
+
type SpacingType = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl';
|
|
8818
|
+
type RoundedSize = 'small' | 'medium' | 'large' | 'circle' | 'none' | 'custom' | 'rounded';
|
|
8819
|
+
type ContainerProp = 'width' | 'padding';
|
|
8820
|
+
type GlobalStyleResponsiveConfig = {
|
|
8821
|
+
color?: Partial<Record<ColorType$1, string>>;
|
|
8822
|
+
font?: Partial<Record<FontName, any>>;
|
|
8823
|
+
typography?: Partial<Record<TypographyType, ObjectDeviceGlobalType<TypographyProps>>>;
|
|
8824
|
+
spacing?: Partial<Record<SpacingType, ObjectDeviceGlobalType<string>>>;
|
|
8825
|
+
container?: Partial<Record<ContainerProp, ObjectDeviceGlobalType<string>>>;
|
|
8826
|
+
radius?: Partial<Record<RoundedSize, string>>;
|
|
8827
|
+
theme?: {
|
|
8828
|
+
font?: Partial<Record<FontName, any>>;
|
|
8829
|
+
};
|
|
8830
|
+
};
|
|
8831
|
+
type GlobalStyleConfig = {
|
|
8832
|
+
color?: Partial<Record<ColorType$1, string>>;
|
|
8833
|
+
font?: Partial<Record<FontName, any>>;
|
|
8834
|
+
typography?: Partial<Record<TypographyType, TypographyProps>>;
|
|
8835
|
+
spacing?: Partial<Record<SpacingType, string>>;
|
|
8836
|
+
container?: Partial<Record<ContainerProp, string>>;
|
|
8837
|
+
radius?: Partial<Record<RoundedSize, string>>;
|
|
8838
|
+
theme?: {
|
|
8839
|
+
font?: Partial<Record<FontName, any>>;
|
|
8840
|
+
};
|
|
8841
|
+
};
|
|
8842
|
+
type ShadowStyleApplied = 'text-shadow' | 'box-shadow';
|
|
8843
|
+
type ShadowType = 'shadow-1' | 'shadow-2' | 'shadow-3';
|
|
8844
|
+
type ShadowStyle = {
|
|
8845
|
+
value?: ShadowProps;
|
|
8846
|
+
state?: StateType;
|
|
8847
|
+
styleAppliedFor?: ShadowStyleApplied;
|
|
8848
|
+
isEnableShadow?: boolean;
|
|
8849
|
+
};
|
|
8850
|
+
type ShadowProps = {
|
|
8851
|
+
type?: ShadowType | 'custom' | 'none';
|
|
8852
|
+
angle?: string | number;
|
|
8853
|
+
distance?: string;
|
|
8854
|
+
blur?: string;
|
|
8855
|
+
spread?: string;
|
|
8856
|
+
color?: ColorValueType;
|
|
8857
|
+
};
|
|
8858
|
+
type Border = {
|
|
8859
|
+
borderType?: BorderTypeName;
|
|
8860
|
+
border?: BorderStyle$1;
|
|
8861
|
+
color?: ColorValueType;
|
|
8862
|
+
width?: string;
|
|
8863
|
+
isCustom?: boolean;
|
|
8864
|
+
position?: BorderPosition;
|
|
8865
|
+
borderWidth?: string;
|
|
8866
|
+
};
|
|
8867
|
+
type BorderTypeName = 'none' | 'style-1' | 'style-2' | 'style-3';
|
|
8868
|
+
type BorderStyle$1 = 'none' | 'solid' | 'dotted' | 'dashed';
|
|
8869
|
+
type BorderPosition = 'top' | 'left' | 'right' | 'bottom' | 'all';
|
|
8870
|
+
type SwatchesOptionType = 'radio_buttons' | 'dropdown' | 'color' | 'image' | 'rectangle_list' | 'image_shopify' | string;
|
|
8871
|
+
declare const OptionNormalStyle: string[];
|
|
8872
|
+
declare const OptionSpecialStyle: string[];
|
|
8873
|
+
type SwatchesOptionValue = {
|
|
8874
|
+
label?: string;
|
|
8875
|
+
colors?: string[];
|
|
8876
|
+
imageUrl?: string;
|
|
8877
|
+
};
|
|
8878
|
+
type GlobalSwatchesData = {
|
|
8879
|
+
optionTitle: string;
|
|
8880
|
+
optionType: SwatchesOptionType;
|
|
8881
|
+
optionValues: SwatchesOptionValue[];
|
|
8882
|
+
};
|
|
8883
|
+
type PaddingType = {
|
|
8884
|
+
type?: 'small' | 'medium' | 'large' | 'custom';
|
|
8885
|
+
top?: string;
|
|
8886
|
+
left?: string;
|
|
8887
|
+
bottom?: string;
|
|
8888
|
+
right?: string;
|
|
8889
|
+
linked?: boolean;
|
|
8890
|
+
};
|
|
8891
|
+
|
|
8892
|
+
type ShadowV2ControlType<T> = SharedControlType<T> & {
|
|
8893
|
+
type: 'shadow-v2';
|
|
8894
|
+
value?: ShadowProps;
|
|
8895
|
+
};
|
|
8896
|
+
|
|
8897
|
+
type BackgroundMediaControlType<T> = SharedControlType<T> & {
|
|
8898
|
+
type: 'background-media';
|
|
8899
|
+
value?: BackgroundMedia;
|
|
8900
|
+
showVideo?: Boolean;
|
|
8901
|
+
};
|
|
8902
|
+
type BackgroundMedia = {
|
|
8903
|
+
type: 'color' | 'image' | 'video';
|
|
8904
|
+
color?: string;
|
|
8905
|
+
image?: {
|
|
8906
|
+
src?: string;
|
|
8907
|
+
width?: number;
|
|
8908
|
+
height?: number;
|
|
8909
|
+
backupFileKey?: string;
|
|
8910
|
+
storage?: 'THEME' | 'FILE_CONTENT';
|
|
8911
|
+
backupFilePath?: string;
|
|
8912
|
+
};
|
|
8913
|
+
size?: BgSize;
|
|
8914
|
+
position?: BgPosition;
|
|
8915
|
+
repeat?: BgRepeat;
|
|
8916
|
+
attachment?: BgAttachment;
|
|
8917
|
+
video?: string;
|
|
8918
|
+
videoHtml5?: string;
|
|
8919
|
+
videoType?: 'youtube' | 'html5';
|
|
8920
|
+
loop?: boolean;
|
|
8921
|
+
lazyLoad?: boolean;
|
|
8922
|
+
preload?: boolean;
|
|
8923
|
+
};
|
|
8924
|
+
type BgSize = 'cover' | 'contain';
|
|
8925
|
+
type BgRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
8926
|
+
type BgPosition = {
|
|
8927
|
+
x: number;
|
|
8928
|
+
y: number;
|
|
8929
|
+
};
|
|
8930
|
+
type BgAttachment = 'scroll' | 'fixed' | 'local';
|
|
8931
|
+
|
|
8932
|
+
type SwitchControlType<T> = SharedControlType<T> & {
|
|
8933
|
+
type: 'switch';
|
|
8934
|
+
readonly?: boolean;
|
|
8935
|
+
};
|
|
8936
|
+
|
|
8937
|
+
type ImageV2ControlType<T> = SharedControlType<T> & {
|
|
8938
|
+
type: 'image-v2';
|
|
8939
|
+
};
|
|
8940
|
+
|
|
8941
|
+
type ComboControlType<T> = SharedControlType<T> & {
|
|
8942
|
+
type: 'combo';
|
|
8943
|
+
readonly?: boolean;
|
|
8944
|
+
};
|
|
8945
|
+
|
|
8946
|
+
type Option$1<T> = {
|
|
8947
|
+
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
8948
|
+
label?: string | number;
|
|
8949
|
+
iconName?: string;
|
|
8950
|
+
type?: string;
|
|
8951
|
+
noPadding?: string;
|
|
8952
|
+
};
|
|
8953
|
+
type Mapped$1<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
8954
|
+
id: K;
|
|
8955
|
+
label: string;
|
|
8956
|
+
info?: string;
|
|
8957
|
+
hide?: boolean;
|
|
8958
|
+
hideOnMode?: {
|
|
8959
|
+
responsive?: boolean;
|
|
8960
|
+
mobileOnly?: boolean;
|
|
8961
|
+
};
|
|
8962
|
+
disableToggle?: boolean;
|
|
8963
|
+
state?: {
|
|
8964
|
+
normal?: boolean;
|
|
8965
|
+
hover?: boolean;
|
|
8966
|
+
focus?: boolean;
|
|
8967
|
+
active?: boolean;
|
|
8968
|
+
};
|
|
8969
|
+
placeholder?: string;
|
|
8970
|
+
type: 'layout-selector';
|
|
8971
|
+
options: Option$1<T>[];
|
|
8972
|
+
groups?: {
|
|
8973
|
+
label: string;
|
|
8974
|
+
options: Option$1<T>[];
|
|
8975
|
+
}[];
|
|
8976
|
+
devices?: ResponsiveConfig<U>;
|
|
8977
|
+
iconViewBox?: string;
|
|
8978
|
+
enableItemBackground?: boolean;
|
|
8979
|
+
itemPerRow?: number;
|
|
8980
|
+
itemSpacing?: 'large' | 'small';
|
|
8981
|
+
enableTooltip?: boolean;
|
|
8982
|
+
} : {
|
|
8983
|
+
id: K;
|
|
8984
|
+
label: string;
|
|
8985
|
+
info?: string;
|
|
8986
|
+
hide?: boolean;
|
|
8987
|
+
hideOnMode?: {
|
|
8988
|
+
responsive?: boolean;
|
|
8989
|
+
mobileOnly?: boolean;
|
|
8990
|
+
};
|
|
8991
|
+
disableToggle?: boolean;
|
|
8992
|
+
state?: {
|
|
8993
|
+
normal?: boolean;
|
|
8994
|
+
hover?: boolean;
|
|
8995
|
+
focus?: boolean;
|
|
8996
|
+
active?: boolean;
|
|
8997
|
+
};
|
|
8998
|
+
placeholder?: string;
|
|
8999
|
+
type: 'layout-selector';
|
|
9000
|
+
itemPerRow?: number;
|
|
9001
|
+
itemSpacing?: 'large' | 'small';
|
|
9002
|
+
options?: Option$1<T>[];
|
|
9003
|
+
groups?: {
|
|
9004
|
+
label: string;
|
|
9005
|
+
options: Option$1<T>[];
|
|
9006
|
+
}[];
|
|
9007
|
+
iconViewBox?: string;
|
|
9008
|
+
enableItemBackground?: boolean;
|
|
9009
|
+
enableTooltip?: boolean;
|
|
9010
|
+
default?: T;
|
|
9011
|
+
};
|
|
9012
|
+
type LayoutSelectorControlType<T> = {
|
|
9013
|
+
[K in keyof T]-?: Mapped$1<K, T[K]>;
|
|
9014
|
+
}[keyof T];
|
|
9015
|
+
|
|
9016
|
+
type Option<T> = {
|
|
9017
|
+
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
9018
|
+
label?: string | number;
|
|
9019
|
+
type?: string;
|
|
9020
|
+
icon?: string;
|
|
9021
|
+
tooltip?: string;
|
|
9022
|
+
iconName?: string;
|
|
9023
|
+
};
|
|
9024
|
+
type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
9025
|
+
id: K;
|
|
9026
|
+
label?: string;
|
|
9027
|
+
info?: string;
|
|
9028
|
+
hide?: boolean;
|
|
9029
|
+
hideOnMode?: {
|
|
9030
|
+
responsive?: boolean;
|
|
9031
|
+
mobileOnly?: boolean;
|
|
9032
|
+
};
|
|
9033
|
+
disableToggle?: boolean;
|
|
9034
|
+
state?: {
|
|
9035
|
+
normal?: boolean;
|
|
9036
|
+
hover?: boolean;
|
|
9037
|
+
focus?: boolean;
|
|
9038
|
+
active?: boolean;
|
|
9039
|
+
};
|
|
9040
|
+
placeholder?: string;
|
|
9041
|
+
type: 'segment-v2';
|
|
9042
|
+
options: Option<T>[];
|
|
9043
|
+
iconCustom?: boolean;
|
|
9044
|
+
devices?: ResponsiveConfig<U>;
|
|
9045
|
+
} : {
|
|
9046
|
+
id: K;
|
|
9047
|
+
label?: string;
|
|
9048
|
+
info?: string;
|
|
9049
|
+
hide?: boolean;
|
|
9050
|
+
hideOnMode?: {
|
|
9051
|
+
responsive?: boolean;
|
|
9052
|
+
mobileOnly?: boolean;
|
|
9053
|
+
};
|
|
9054
|
+
disableToggle?: boolean;
|
|
9055
|
+
state?: {
|
|
9056
|
+
normal?: boolean;
|
|
9057
|
+
hover?: boolean;
|
|
9058
|
+
focus?: boolean;
|
|
9059
|
+
active?: boolean;
|
|
9060
|
+
};
|
|
9061
|
+
placeholder?: string;
|
|
9062
|
+
type: 'segment-v2';
|
|
9063
|
+
options: Option<T>[];
|
|
9064
|
+
iconCustom?: boolean;
|
|
9065
|
+
default?: T;
|
|
9066
|
+
};
|
|
9067
|
+
type SegmentV2ControlType<T> = {
|
|
9068
|
+
[K in keyof T]-?: Mapped<K, T[K]>;
|
|
9069
|
+
}[keyof T];
|
|
9070
|
+
|
|
9071
|
+
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 | VariantListingControlType | 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> | SwitchControlType<T> | ImageV2ControlType<T> | LayoutSelectorControlType<T> | ComboControlType<T> | SegmentV2ControlType<T>;
|
|
8493
9072
|
type ControlTriggerAction = {
|
|
8494
9073
|
controlId: string;
|
|
8495
9074
|
newValue?: any;
|
|
@@ -8515,6 +9094,7 @@ type ComponentSetting<P extends BaseProps> = {
|
|
|
8515
9094
|
image?: string;
|
|
8516
9095
|
icon?: string;
|
|
8517
9096
|
settings?: Setting<P>[];
|
|
9097
|
+
settingsV2?: Setting<P>[];
|
|
8518
9098
|
advanced?: Record<string, any>;
|
|
8519
9099
|
rootOverride?: Record<string, any>;
|
|
8520
9100
|
init?: InitComponentType[] | {
|
|
@@ -8562,6 +9142,7 @@ type ComponentSetting<P extends BaseProps> = {
|
|
|
8562
9142
|
};
|
|
8563
9143
|
};
|
|
8564
9144
|
ui?: ControlUI[];
|
|
9145
|
+
uiV2?: SettingUIGroup[];
|
|
8565
9146
|
presets?: ComponentPreset[];
|
|
8566
9147
|
locales?: Record<string, any>;
|
|
8567
9148
|
};
|
|
@@ -8641,6 +9222,7 @@ type PageContext = {
|
|
|
8641
9222
|
pageType?: string;
|
|
8642
9223
|
isTranslateWithLocale?: boolean;
|
|
8643
9224
|
sectionName?: string;
|
|
9225
|
+
isOptimizePlan?: boolean;
|
|
8644
9226
|
};
|
|
8645
9227
|
type OnlyOne<T, U> = (T & {
|
|
8646
9228
|
[K in keyof U]?: never;
|
|
@@ -31049,172 +31631,6 @@ declare namespace appAPI {
|
|
|
31049
31631
|
};
|
|
31050
31632
|
}
|
|
31051
31633
|
|
|
31052
|
-
type NameDevices = 'desktop' | 'tablet' | 'mobile';
|
|
31053
|
-
type TypographyV2Family = string | {
|
|
31054
|
-
value: string;
|
|
31055
|
-
type: TypographyV2FontFamilyType;
|
|
31056
|
-
};
|
|
31057
|
-
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme' | 'bunny';
|
|
31058
|
-
|
|
31059
|
-
/**
|
|
31060
|
-
* @deprecated Please use `TypographySettingV2`
|
|
31061
|
-
*/
|
|
31062
|
-
type TypographySetting = {
|
|
31063
|
-
type?: TypographyType;
|
|
31064
|
-
custom?: ObjectDevices<TypographyProps>;
|
|
31065
|
-
};
|
|
31066
|
-
type TypographySettingV2 = {
|
|
31067
|
-
type?: TypographyType;
|
|
31068
|
-
custom?: TypographyV2Props;
|
|
31069
|
-
attrs?: TypographyV2Attrs;
|
|
31070
|
-
};
|
|
31071
|
-
type SizeSetting = {
|
|
31072
|
-
type?: SizeType;
|
|
31073
|
-
custom?: ObjectDevices<SizeProps>;
|
|
31074
|
-
};
|
|
31075
|
-
type SizeProps = {
|
|
31076
|
-
horizontal?: string;
|
|
31077
|
-
vertical?: string;
|
|
31078
|
-
};
|
|
31079
|
-
type SizeType = 'medium' | 'large' | 'small' | 'none';
|
|
31080
|
-
type TypographyProps = {
|
|
31081
|
-
fontSize?: string;
|
|
31082
|
-
fontWeight?: string | number;
|
|
31083
|
-
fontStyle?: string;
|
|
31084
|
-
fontFamily?: TypographyV2Family;
|
|
31085
|
-
lineHeight?: string;
|
|
31086
|
-
letterSpacing?: string;
|
|
31087
|
-
fallbackFontFamily?: string;
|
|
31088
|
-
textShadow?: ShadowProps;
|
|
31089
|
-
hasShadowText?: boolean;
|
|
31090
|
-
isCustom?: boolean;
|
|
31091
|
-
};
|
|
31092
|
-
type TypographyV2Props = Omit<TypographyProps, 'fontSize' | 'lineHeight'> & {
|
|
31093
|
-
fontSize?: ObjectDevices<string>;
|
|
31094
|
-
lineHeight?: ObjectDevices<string>;
|
|
31095
|
-
};
|
|
31096
|
-
type TypographyV2Attrs = {
|
|
31097
|
-
bold?: boolean;
|
|
31098
|
-
italic?: boolean;
|
|
31099
|
-
underline?: boolean;
|
|
31100
|
-
color?: ColorValueType;
|
|
31101
|
-
transform?: string;
|
|
31102
|
-
};
|
|
31103
|
-
type CornerRadius = {
|
|
31104
|
-
btlr?: string;
|
|
31105
|
-
btrr?: string;
|
|
31106
|
-
bblr?: string;
|
|
31107
|
-
bbrr?: string;
|
|
31108
|
-
radiusType?: CornerRadiusType;
|
|
31109
|
-
};
|
|
31110
|
-
type CornerRadiusType = 'none' | 'large' | 'medium' | 'small' | 'circle' | 'custom';
|
|
31111
|
-
type ColorType$1 = NestedKeys<BrandColorObject> | NestedKeys<BackgroundColorObject> | NestedKeys<TextColorObject> | NestedKeys<LineColorObject> | NestedKeys<FuncColorObject>;
|
|
31112
|
-
type FontName = 'body' | 'heading' | 'code';
|
|
31113
|
-
type ColorKey = 'transparent' | 'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray';
|
|
31114
|
-
type HexColorType = `#${string}`;
|
|
31115
|
-
type RGBAColorType = `rgba(${number}, ${number}, ${number}, ${number})`;
|
|
31116
|
-
type RGBColorType = `rgb(${number}, ${number}, ${number})`;
|
|
31117
|
-
type HSLColorType = `hsl(${number}, ${number}%, ${number}%)`;
|
|
31118
|
-
type HSLAColorType = `hsla(${number}, ${number}%, ${number}%, ${number})`;
|
|
31119
|
-
type ColorValueType = ColorType$1 | HexColorType | RGBAColorType | RGBColorType | HSLColorType | HSLAColorType | ColorKey;
|
|
31120
|
-
type BrandColorObject = {
|
|
31121
|
-
brand: string;
|
|
31122
|
-
highlight: string;
|
|
31123
|
-
};
|
|
31124
|
-
type BackgroundColorObject = {
|
|
31125
|
-
'bg-1': string;
|
|
31126
|
-
'bg-2': string;
|
|
31127
|
-
'bg-3': string;
|
|
31128
|
-
};
|
|
31129
|
-
type TextColorObject = {
|
|
31130
|
-
'text-1': string;
|
|
31131
|
-
'text-2': string;
|
|
31132
|
-
'text-3': string;
|
|
31133
|
-
};
|
|
31134
|
-
type LineColorObject = {
|
|
31135
|
-
'line-1': string;
|
|
31136
|
-
'line-2': string;
|
|
31137
|
-
'line-3': string;
|
|
31138
|
-
};
|
|
31139
|
-
type FuncColorObject = {
|
|
31140
|
-
info: string;
|
|
31141
|
-
warning: string;
|
|
31142
|
-
success: string;
|
|
31143
|
-
error: string;
|
|
31144
|
-
};
|
|
31145
|
-
type TypographyType = 'heading-1' | 'heading-2' | 'heading-3' | 'subheading-1' | 'subheading-2' | 'subheading-3' | 'paragraph-1' | 'paragraph-2' | 'paragraph-3';
|
|
31146
|
-
type ObjectDeviceGlobalType<T> = {
|
|
31147
|
-
desktop: T;
|
|
31148
|
-
tablet?: T;
|
|
31149
|
-
mobile?: T;
|
|
31150
|
-
};
|
|
31151
|
-
type SpacingType = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl';
|
|
31152
|
-
type RoundedSize = 'small' | 'medium' | 'large' | 'circle' | 'none' | 'custom';
|
|
31153
|
-
type ContainerProp = 'width' | 'padding';
|
|
31154
|
-
type GlobalStyleResponsiveConfig = {
|
|
31155
|
-
color?: Partial<Record<ColorType$1, string>>;
|
|
31156
|
-
font?: Partial<Record<FontName, any>>;
|
|
31157
|
-
typography?: Partial<Record<TypographyType, ObjectDeviceGlobalType<TypographyProps>>>;
|
|
31158
|
-
spacing?: Partial<Record<SpacingType, ObjectDeviceGlobalType<string>>>;
|
|
31159
|
-
container?: Partial<Record<ContainerProp, ObjectDeviceGlobalType<string>>>;
|
|
31160
|
-
radius?: Partial<Record<RoundedSize, string>>;
|
|
31161
|
-
theme?: {
|
|
31162
|
-
font?: Partial<Record<FontName, any>>;
|
|
31163
|
-
};
|
|
31164
|
-
};
|
|
31165
|
-
type GlobalStyleConfig = {
|
|
31166
|
-
color?: Partial<Record<ColorType$1, string>>;
|
|
31167
|
-
font?: Partial<Record<FontName, any>>;
|
|
31168
|
-
typography?: Partial<Record<TypographyType, TypographyProps>>;
|
|
31169
|
-
spacing?: Partial<Record<SpacingType, string>>;
|
|
31170
|
-
container?: Partial<Record<ContainerProp, string>>;
|
|
31171
|
-
radius?: Partial<Record<RoundedSize, string>>;
|
|
31172
|
-
theme?: {
|
|
31173
|
-
font?: Partial<Record<FontName, any>>;
|
|
31174
|
-
};
|
|
31175
|
-
};
|
|
31176
|
-
type ShadowStyleApplied = 'text-shadow' | 'box-shadow';
|
|
31177
|
-
type ShadowType = 'shadow-1' | 'shadow-2' | 'shadow-3';
|
|
31178
|
-
type ShadowStyle = {
|
|
31179
|
-
value?: ShadowProps;
|
|
31180
|
-
state?: StateType;
|
|
31181
|
-
styleAppliedFor?: ShadowStyleApplied;
|
|
31182
|
-
isEnableShadow?: boolean;
|
|
31183
|
-
};
|
|
31184
|
-
type ShadowProps = {
|
|
31185
|
-
type?: ShadowType | 'custom';
|
|
31186
|
-
angle?: string | number;
|
|
31187
|
-
distance?: string;
|
|
31188
|
-
blur?: string;
|
|
31189
|
-
spread?: string;
|
|
31190
|
-
color?: ColorValueType;
|
|
31191
|
-
};
|
|
31192
|
-
type Border = {
|
|
31193
|
-
borderType?: BorderTypeName;
|
|
31194
|
-
border?: BorderStyle$1;
|
|
31195
|
-
color?: ColorValueType;
|
|
31196
|
-
width?: string;
|
|
31197
|
-
isCustom?: boolean;
|
|
31198
|
-
position?: BorderPosition;
|
|
31199
|
-
borderWidth?: string;
|
|
31200
|
-
};
|
|
31201
|
-
type BorderTypeName = 'none' | 'style-1' | 'style-2' | 'style-3';
|
|
31202
|
-
type BorderStyle$1 = 'none' | 'solid' | 'dotted' | 'dashed';
|
|
31203
|
-
type BorderPosition = 'top' | 'left' | 'right' | 'bottom' | 'all';
|
|
31204
|
-
type SwatchesOptionType = 'radio_buttons' | 'dropdown' | 'color' | 'image' | 'rectangle_list' | 'image_shopify' | string;
|
|
31205
|
-
declare const OptionNormalStyle: string[];
|
|
31206
|
-
declare const OptionSpecialStyle: string[];
|
|
31207
|
-
type SwatchesOptionValue = {
|
|
31208
|
-
label?: string;
|
|
31209
|
-
colors?: string[];
|
|
31210
|
-
imageUrl?: string;
|
|
31211
|
-
};
|
|
31212
|
-
type GlobalSwatchesData = {
|
|
31213
|
-
optionTitle: string;
|
|
31214
|
-
optionType: SwatchesOptionType;
|
|
31215
|
-
optionValues: SwatchesOptionValue[];
|
|
31216
|
-
};
|
|
31217
|
-
|
|
31218
31634
|
type ProductInputAnalytic = {
|
|
31219
31635
|
id: string;
|
|
31220
31636
|
name: string;
|
|
@@ -31501,11 +31917,6 @@ declare const useProductListStore: <U>(selector: (state: ExtractState<StoreApi<P
|
|
|
31501
31917
|
|
|
31502
31918
|
type MediaSelectFragment = Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>;
|
|
31503
31919
|
|
|
31504
|
-
type VariantSelectFragment = Pick<ProductVariant$1, 'id' | 'title' | 'barcode' | 'baseID' | 'costPrice' | 'height' | 'inventoryPolicy' | 'inventoryQuantity' | 'inventoryStatus' | 'isDigital' | 'length' | 'lowInventoryAmount' | 'manageInventory' | 'mediaId' | 'platform' | 'price' | 'salePrice' | 'sku' | 'soldIndividually' | 'weight' | 'width'> & {
|
|
31505
|
-
selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
|
|
31506
|
-
media?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
31507
|
-
};
|
|
31508
|
-
|
|
31509
31920
|
type ProductSelectFragment = Pick<Product$1, 'tags' | 'id' | 'title' | 'createdAt' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
|
|
31510
31921
|
collections?: Maybe$1<{
|
|
31511
31922
|
edges: Array<{
|
|
@@ -31533,17 +31944,6 @@ type ProductSelectFragment = Pick<Product$1, 'tags' | 'id' | 'title' | 'createdA
|
|
|
31533
31944
|
featuredImage?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
31534
31945
|
};
|
|
31535
31946
|
|
|
31536
|
-
type CollectionSelectFragment = Pick<Collection$1, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'title' | 'handle' | 'description' | 'descriptionHtml' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'tags' | 'isStorefront' | 'isSample'> & {
|
|
31537
|
-
products?: Maybe$1<Pick<ProductConnection$1, 'totalCount'> & {
|
|
31538
|
-
edges: Array<{
|
|
31539
|
-
node?: Maybe$1<Pick<Product$1, 'id' | 'title' | 'handle' | 'description' | 'status'> & {
|
|
31540
|
-
featuredImage?: Maybe$1<Pick<Media$1, 'src'>>;
|
|
31541
|
-
}>;
|
|
31542
|
-
}>;
|
|
31543
|
-
}>;
|
|
31544
|
-
collectionMedia?: Maybe$1<Pick<CollectionMedia$1, 'src'>>;
|
|
31545
|
-
};
|
|
31546
|
-
|
|
31547
31947
|
type AttributeProp = {
|
|
31548
31948
|
key: string;
|
|
31549
31949
|
value?: string;
|
|
@@ -31572,6 +31972,10 @@ type ProductContextProps = {
|
|
|
31572
31972
|
updatePrice?: boolean;
|
|
31573
31973
|
hasPreSelected?: boolean;
|
|
31574
31974
|
setHasPreSelected: (value: boolean) => void;
|
|
31975
|
+
requireUpload?: boolean;
|
|
31976
|
+
setRequireUpload: (value: boolean) => void;
|
|
31977
|
+
shouldRequireUploadMessage?: boolean;
|
|
31978
|
+
setShouldRequireUploadMessage: (value: boolean) => void;
|
|
31575
31979
|
useProductCompareAtPrice?: boolean;
|
|
31576
31980
|
setUseProductCompareAtPrice: (value?: boolean) => void;
|
|
31577
31981
|
};
|
|
@@ -31619,6 +32023,7 @@ type ShopContextProps = {
|
|
|
31619
32023
|
isStorefront?: boolean;
|
|
31620
32024
|
createThemeSectionCount?: number;
|
|
31621
32025
|
plan?: string;
|
|
32026
|
+
timezone?: string;
|
|
31622
32027
|
generateContentLimitation?: {
|
|
31623
32028
|
isAllow: boolean;
|
|
31624
32029
|
maxGenerateCount?: number;
|
|
@@ -31687,6 +32092,17 @@ type PageProviderProps = Pick<PageContextProps, 'dynamicProduct' | 'dynamicColle
|
|
|
31687
32092
|
declare const PageProvider: React.FC<PageProviderProps>;
|
|
31688
32093
|
declare const usePageStore: <U>(selector: (state: ExtractState<StoreApi<PageContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
|
|
31689
32094
|
|
|
32095
|
+
type CollectionSelectFragment = Pick<Collection$1, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'title' | 'handle' | 'description' | 'descriptionHtml' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'tags' | 'isStorefront' | 'isSample'> & {
|
|
32096
|
+
products?: Maybe$1<Pick<ProductConnection$1, 'totalCount'> & {
|
|
32097
|
+
edges: Array<{
|
|
32098
|
+
node?: Maybe$1<Pick<Product$1, 'id' | 'title' | 'handle' | 'description' | 'status'> & {
|
|
32099
|
+
featuredImage?: Maybe$1<Pick<Media$1, 'src'>>;
|
|
32100
|
+
}>;
|
|
32101
|
+
}>;
|
|
32102
|
+
}>;
|
|
32103
|
+
collectionMedia?: Maybe$1<Pick<CollectionMedia$1, 'src'>>;
|
|
32104
|
+
};
|
|
32105
|
+
|
|
31690
32106
|
type CollectionContextProps = {
|
|
31691
32107
|
collection?: CollectionSelectFragment;
|
|
31692
32108
|
changeCollectionStore: (args: {
|
|
@@ -31892,6 +32308,7 @@ type PublishedThemePagesQueryResponse = {
|
|
|
31892
32308
|
themePageCustomCode?: Maybe$1<Pick<CustomCode$1, 'body' | 'header'>>;
|
|
31893
32309
|
themePageCustomFonts?: Maybe$1<Array<Maybe$1<CustomFont$1>>>;
|
|
31894
32310
|
interaction?: Maybe$1<Pick<PublishedPageInteraction$1, 'id' | 'value'>>;
|
|
32311
|
+
metafiels?: Maybe$1<Array<Maybe$1<Pick<PublishedThemePageMeta$1, 'id' | 'key' | 'value'>>>>;
|
|
31895
32312
|
}>>>;
|
|
31896
32313
|
};
|
|
31897
32314
|
declare const PublishedThemePagesDocument: string;
|
|
@@ -31969,11 +32386,23 @@ type PreviewThemePageQueryResponse = {
|
|
|
31969
32386
|
analytic?: Maybe$1<Pick<Analytic$1, 'fbPixelID' | 'gaTrackingID' | 'tiktokPixelID'>>;
|
|
31970
32387
|
customCode?: Maybe$1<Pick<CustomCode$1, 'body' | 'header'>>;
|
|
31971
32388
|
customFonts?: Maybe$1<Array<Maybe$1<Pick<CustomFont$1, 'backupFilePath' | 'fontFamily' | 'fontStyle' | 'fontWeight' | 'mimeType' | 'filePath'>>>>;
|
|
31972
|
-
interaction?: Maybe$1<Pick<PreviewPageInteraction, 'id' | 'value'>>;
|
|
31973
32389
|
}>;
|
|
31974
32390
|
};
|
|
31975
32391
|
declare const PreviewThemePageDocument: string;
|
|
31976
32392
|
|
|
32393
|
+
type ShopShopifyQueryVariables = Exact$1<{
|
|
32394
|
+
[key: string]: never;
|
|
32395
|
+
}>;
|
|
32396
|
+
type ShopShopifyQueryResponse = {
|
|
32397
|
+
shopShopify?: Maybe$1<Pick<ShopShopify$1, 'timezone'>>;
|
|
32398
|
+
};
|
|
32399
|
+
declare const ShopShopifyDocument = "\n query shopShopify {\n shopShopify {\n timezone\n }\n}\n ";
|
|
32400
|
+
|
|
32401
|
+
type VariantSelectFragment = Pick<ProductVariant$1, 'id' | 'title' | 'barcode' | 'baseID' | 'costPrice' | 'height' | 'inventoryPolicy' | 'inventoryQuantity' | 'inventoryStatus' | 'isDigital' | 'length' | 'lowInventoryAmount' | 'manageInventory' | 'mediaId' | 'platform' | 'price' | 'salePrice' | 'sku' | 'soldIndividually' | 'weight' | 'width'> & {
|
|
32402
|
+
selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
|
|
32403
|
+
media?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
32404
|
+
};
|
|
32405
|
+
|
|
31977
32406
|
type LibraryTemplateQueryVariables = Exact<{
|
|
31978
32407
|
libraryTemplateId: Scalars['ID'];
|
|
31979
32408
|
}>;
|
|
@@ -32054,6 +32483,7 @@ declare const handleConvertBorderColor: (value?: BorderStyle) => React.CSSProper
|
|
|
32054
32483
|
declare const handleConvertClassColor: (value?: BorderStyle) => string | undefined;
|
|
32055
32484
|
declare const handleConvertClassColorDynamicBtn: (value?: BorderStyle) => string | undefined;
|
|
32056
32485
|
declare const composeBorderCss: (borderV?: Border | undefined) => string;
|
|
32486
|
+
declare const composeBorderResponsive: (borderValue?: ObjectDevices<Border>) => React.CSSProperties;
|
|
32057
32487
|
|
|
32058
32488
|
type DotStyle = 'none' | 'inside' | 'outside';
|
|
32059
32489
|
declare const getCarouselContainerHeight: <T>(dotStyle?: Partial<Record<NameDevices$1, T>> | undefined) => {
|
|
@@ -32215,15 +32645,15 @@ declare const makeHeight: (heighValue?: ObjectDevices<string | number>, autoHeig
|
|
|
32215
32645
|
declare const makeAspectRatio: (aspectRatio?: ObjectDevices<string>, aspectWidth?: ObjectDevices<string | number>, aspectHeight?: ObjectDevices<string | number>) => ObjectDevices<string>;
|
|
32216
32646
|
declare const makeLineClamp: (lineClampValue?: ObjectDevices<number>, hasLineClampValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
32217
32647
|
|
|
32218
|
-
type Devices = 'desktop' | 'tablet' | 'mobile';
|
|
32219
|
-
type Options = {
|
|
32648
|
+
type Devices$1 = 'desktop' | 'tablet' | 'mobile';
|
|
32649
|
+
type Options$1 = {
|
|
32220
32650
|
liquid?: boolean;
|
|
32221
32651
|
ignoreBgAttachment?: boolean;
|
|
32222
32652
|
ignoreBackgroundImage?: boolean;
|
|
32223
32653
|
ignoreBackgroundImageProperties?: boolean;
|
|
32224
32654
|
ignoreBackgroundColor?: boolean;
|
|
32225
32655
|
};
|
|
32226
|
-
declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options) => {
|
|
32656
|
+
declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options$1) => {
|
|
32227
32657
|
"--bga"?: string | undefined;
|
|
32228
32658
|
"--bga-tablet"?: string | undefined;
|
|
32229
32659
|
"--bga-mobile"?: string | undefined;
|
|
@@ -32244,7 +32674,7 @@ declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background
|
|
|
32244
32674
|
"--bgc-mobile"?: string | undefined;
|
|
32245
32675
|
};
|
|
32246
32676
|
declare const getStyleBgColor: (background: ObjectDevices<Background>) => Record<ResponsiveKey<"bgc">, string>;
|
|
32247
|
-
declare const getBgImageByDevice: (background: ObjectDevices<Background>, device: Devices, options?: Options) => string | undefined;
|
|
32677
|
+
declare const getBgImageByDevice: (background: ObjectDevices<Background>, device: Devices$1, options?: Options$1) => string | undefined;
|
|
32248
32678
|
declare const composeBackgroundCss: (backgroundColor?: ColorValueType) => string;
|
|
32249
32679
|
declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) => {
|
|
32250
32680
|
wrapper: {
|
|
@@ -32256,7 +32686,23 @@ declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) =>
|
|
|
32256
32686
|
} | undefined;
|
|
32257
32687
|
declare const GRADIENT_BGR_KEY = "linear-gradient";
|
|
32258
32688
|
declare const getGradientBgrStyleForButton: (backgroundStyle: Partial<Record<StateType, ColorValueType>> | undefined) => {} | undefined;
|
|
32259
|
-
declare const getGradientBgrStyleByDevice: (backgroundStyle: Partial<Record<Devices, Background>> | undefined, ignoreBackgroundImage?: Record<Devices, boolean>) => {} | undefined;
|
|
32689
|
+
declare const getGradientBgrStyleByDevice: (backgroundStyle: Partial<Record<Devices$1, Background>> | undefined, ignoreBackgroundImage?: Record<Devices$1, boolean>) => {} | undefined;
|
|
32690
|
+
|
|
32691
|
+
type Devices = 'desktop' | 'tablet' | 'mobile';
|
|
32692
|
+
type Options = {
|
|
32693
|
+
liquid?: boolean;
|
|
32694
|
+
ignoreBgAttachment?: boolean;
|
|
32695
|
+
ignoreBackgroundImage?: boolean;
|
|
32696
|
+
ignoreBackgroundImageProperties?: boolean;
|
|
32697
|
+
};
|
|
32698
|
+
declare const getStyleBackgroundImageByDevice: (backgroundImage?: ObjectDevices<StateProp<BackgroundImageValue>>, options?: Options) => {};
|
|
32699
|
+
declare const getStyleBgImageSource: (backgroundImage: ObjectDevices<StateProp<BackgroundImageValue>>, options?: Options) => {};
|
|
32700
|
+
declare const getBgImageSourceByDevice: (backgroundImage: ObjectDevices<StateProp<BackgroundImageValue>>, device: Devices, state: StateType, options?: Options) => string | undefined;
|
|
32701
|
+
declare const composeBackgroundImageCss: (config?: ObjectDevices<StateProp<BackgroundImageValue>>, options?: {
|
|
32702
|
+
useLiquid?: boolean;
|
|
32703
|
+
device?: 'desktop' | 'tablet' | 'mobile';
|
|
32704
|
+
state?: 'normal' | 'hover';
|
|
32705
|
+
}) => string | undefined;
|
|
32260
32706
|
|
|
32261
32707
|
type ColorType = 'bg' | 'text' | 'border' | 'decoration';
|
|
32262
32708
|
type ColorProp = 'bgc' | 'bc' | 'c' | 'bg';
|
|
@@ -38392,8 +38838,10 @@ declare const gridToArrayRegex: RegExp;
|
|
|
38392
38838
|
declare const optionLayoutStyle: (column?: ObjectDevices<string | number>) => React.CSSProperties;
|
|
38393
38839
|
declare const composeGridLayout: (layout?: ObjectDevices<ObjectLayoutValue>) => React.CSSProperties;
|
|
38394
38840
|
declare const convertOldLayout: (layout?: ObjectDevices<string>) => ObjectDevices<ObjectLayoutValue>;
|
|
38841
|
+
declare const getLayoutClasses: (layout: Partial<Record<NameDevices$1, string>> | undefined) => Record<string, boolean>;
|
|
38395
38842
|
|
|
38396
38843
|
declare const convertTextAlignToJustify: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
|
|
38844
|
+
declare const getAlignmentClasses: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
|
|
38397
38845
|
|
|
38398
38846
|
declare function checkInStock(variant?: VariantSelectFragment, product?: ProductSelectFragment): boolean;
|
|
38399
38847
|
|
|
@@ -39985,6 +40433,9 @@ declare const getResponsiveStyleShadow: (value?: any, styleAppliedFor?: ShadowSt
|
|
|
39985
40433
|
textAnchor?: csstype.Property.TextAnchor | undefined;
|
|
39986
40434
|
vectorEffect?: csstype.Property.VectorEffect | undefined;
|
|
39987
40435
|
} | undefined;
|
|
40436
|
+
declare const getResponsiveStyleShadowWithoutState: (value?: any, styleAppliedFor?: ShadowStyleApplied, isEnableShadow?: any) => {
|
|
40437
|
+
[x: string]: string;
|
|
40438
|
+
} | undefined;
|
|
39988
40439
|
declare const composeShadowCss: ({ hasBoxShadow, boxShadowValue, important, }: {
|
|
39989
40440
|
hasBoxShadow?: boolean | undefined;
|
|
39990
40441
|
boxShadowValue?: ShadowProps | undefined;
|
|
@@ -40022,11 +40473,18 @@ declare const getWidthByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSett
|
|
|
40022
40473
|
declare const getAspectRatioGlobalSize: (shape?: ObjectDevices<SizeSettingGlobal>) => ObjectDevices<string>;
|
|
40023
40474
|
declare const getPaddingGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) => React.CSSProperties;
|
|
40024
40475
|
declare const getValueByDevice: <T>(value: any, device: NameDevices$1) => T;
|
|
40476
|
+
declare const getPaddingStyleByDevice: (value?: PaddingType, device?: NameDevices$1) => {
|
|
40477
|
+
[x: string]: string | undefined;
|
|
40478
|
+
};
|
|
40479
|
+
declare const getResponsiveStylePadding: (value?: ObjectDevices<PaddingType>) => {
|
|
40480
|
+
[x: string]: string | undefined;
|
|
40481
|
+
} | undefined;
|
|
40025
40482
|
|
|
40026
40483
|
type TypographyClass = `gp-g-${TypographyType}`;
|
|
40027
40484
|
declare const genTypoClass: (name: TypographyType) => TypographyClass;
|
|
40028
40485
|
declare const composeTypographyCss: (typography: TypographySetting | undefined) => string;
|
|
40029
40486
|
declare const composeTypographyV2Css: (typography: TypographySettingV2 | undefined, isImportant?: boolean) => string;
|
|
40487
|
+
declare const composeTextHoverColorCss: (device: NameDevices$1, colorHoverConfig?: ObjectDevices<StateProp<ColorValueType>>, isImportant?: boolean) => string | undefined;
|
|
40030
40488
|
declare const composeTypography: (typography?: ObjectDevices<TypographyProps>) => React.CSSProperties;
|
|
40031
40489
|
declare const composeTypographyV2: (value?: TypographyV2Props, attrs?: TypographyV2Attrs) => React.CSSProperties;
|
|
40032
40490
|
declare const composeFontFamilyTypographyV2: (value?: TypographyV2Props & {
|
|
@@ -41569,7 +42027,7 @@ type ArticlesQueryVariables = Exact$1<{
|
|
|
41569
42027
|
type ArticlesQueryResponse = {
|
|
41570
42028
|
articles?: Maybe$1<(Pick<ArticleConnection$1, 'totalCount'> & {
|
|
41571
42029
|
edges: Array<(Pick<ArticleEdge$1, 'cursor'> & {
|
|
41572
|
-
node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'isSample' | 'platformCreatedAt' | 'author'> & {
|
|
42030
|
+
node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'isSample' | 'platformCreatedAt' | 'platformUpdatedAt' | 'author'> & {
|
|
41573
42031
|
tags: Array<never>;
|
|
41574
42032
|
content?: Maybe$1<Pick<ArticleContent$1, 'excerptHtml'>>;
|
|
41575
42033
|
blogs?: Maybe$1<{
|
|
@@ -41594,12 +42052,12 @@ type BlogsQueryVariables = Exact$1<{
|
|
|
41594
42052
|
articlesOrderBy?: InputMaybe$1<ArticleOrder$1>;
|
|
41595
42053
|
}>;
|
|
41596
42054
|
type BlogsQueryResponse = {
|
|
41597
|
-
blogs?: Maybe$1<
|
|
41598
|
-
edges: Array<
|
|
41599
|
-
node?: Maybe$1<
|
|
41600
|
-
articles?: Maybe$1<
|
|
41601
|
-
edges: Array<
|
|
41602
|
-
node?: Maybe$1<
|
|
42055
|
+
blogs?: Maybe$1<Pick<BlogConnection$1, 'totalCount'> & {
|
|
42056
|
+
edges: Array<Pick<BlogEdge$1, 'cursor'> & {
|
|
42057
|
+
node?: Maybe$1<Pick<Blog$1, 'baseID' | 'description' | 'descriptionMeta' | 'handle' | 'id' | 'platform' | 'tags' | 'templateSuffix' | 'title' | 'titleMeta'> & {
|
|
42058
|
+
articles?: Maybe$1<Pick<ArticleConnection$1, 'totalCount'> & {
|
|
42059
|
+
edges: Array<Pick<ArticleEdge$1, 'cursor'> & {
|
|
42060
|
+
node?: Maybe$1<Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'isSample' | 'platformCreatedAt' | 'platformUpdatedAt' | 'author'> & {
|
|
41603
42061
|
tags: Array<never>;
|
|
41604
42062
|
content?: Maybe$1<Pick<ArticleContent$1, 'excerptHtml'>>;
|
|
41605
42063
|
blogs?: Maybe$1<{
|
|
@@ -41608,13 +42066,13 @@ type BlogsQueryResponse = {
|
|
|
41608
42066
|
}>;
|
|
41609
42067
|
}>;
|
|
41610
42068
|
media?: Maybe$1<Pick<Media$1, 'alt' | 'width' | 'src' | 'height'>>;
|
|
41611
|
-
}
|
|
41612
|
-
}
|
|
41613
|
-
}
|
|
41614
|
-
}
|
|
41615
|
-
}
|
|
42069
|
+
}>;
|
|
42070
|
+
}>;
|
|
42071
|
+
}>;
|
|
42072
|
+
}>;
|
|
42073
|
+
}>;
|
|
41616
42074
|
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>>;
|
|
41617
|
-
}
|
|
42075
|
+
}>;
|
|
41618
42076
|
};
|
|
41619
42077
|
|
|
41620
42078
|
declare const useArticlesQuery: (variables: ArticlesQueryVariables | null, options?: SWRConfiguration<ArticlesQueryResponse>) => swr__internal.SWRResponse<ArticlesQueryResponse, any, Partial<swr__internal.PublicConfiguration<ArticlesQueryResponse, any, (arg: ["query/articles", any]) => swr__internal.FetcherResponse<ArticlesQueryResponse>>> | undefined>;
|
|
@@ -41623,7 +42081,7 @@ declare const useBlogsQuery: (variables: BlogsQueryVariables | null, options?: S
|
|
|
41623
42081
|
type Func$6 = ReturnType<typeof addToCartOperation>;
|
|
41624
42082
|
type Response$6 = Awaited<ReturnType<Func$6>>;
|
|
41625
42083
|
type Args$5 = Parameters<Func$6>[0];
|
|
41626
|
-
declare const useAddToCart: (options?: SWRMutationConfiguration<Response$6, any,
|
|
42084
|
+
declare const useAddToCart: (options?: SWRMutationConfiguration<Response$6, any, 'add-to-cart', Args$5>) => swr_mutation.SWRMutationResponse<_gem_sdk_adapter_common_dist_types_types_cart.Cart, any, "add-to-cart", _gem_sdk_adapter_common_dist_types_types_cart.AddCartLineInput>;
|
|
41627
42085
|
|
|
41628
42086
|
type Func$5 = ReturnType<typeof getCartOperation>;
|
|
41629
42087
|
type Response$5 = Awaited<ReturnType<Func$5>>;
|
|
@@ -41632,27 +42090,27 @@ declare const useCartData: (options?: SWRConfiguration<Response$5 | undefined, a
|
|
|
41632
42090
|
type Func$4 = ReturnType<typeof cartDiscountCodesUpdateOperation>;
|
|
41633
42091
|
type Response$4 = Awaited<ReturnType<Func$4>>;
|
|
41634
42092
|
type Args$4 = Parameters<Func$4>[0];
|
|
41635
|
-
declare const useCartDiscountCodesUpdate: (options?: SWRMutationConfiguration<Response$4, any,
|
|
42093
|
+
declare const useCartDiscountCodesUpdate: (options?: SWRMutationConfiguration<Response$4, any, 'cart-discount-codes-update', Args$4>) => swr_mutation.SWRMutationResponse<_gem_sdk_adapter_common_dist_types_types_cart.Cart, any, "cart-discount-codes-update", _gem_sdk_adapter_common_dist_types_types_cart.CartDiscountCodesUpdateInput>;
|
|
41636
42094
|
|
|
41637
42095
|
type Func$3 = ReturnType<typeof cartNoteUpdateOperation>;
|
|
41638
42096
|
type Response$3 = Awaited<ReturnType<Func$3>>;
|
|
41639
42097
|
type Args$3 = Parameters<Func$3>[0];
|
|
41640
|
-
declare const useCartNoteUpdate: (options?: SWRMutationConfiguration<Response$3, any,
|
|
42098
|
+
declare const useCartNoteUpdate: (options?: SWRMutationConfiguration<Response$3, any, 'cart-note-update', Args$3>) => swr_mutation.SWRMutationResponse<_gem_sdk_adapter_common_dist_types_types_cart.Cart, any, "cart-note-update", _gem_sdk_adapter_common_dist_types_types_cart.CartNoteUpdateInput>;
|
|
41641
42099
|
|
|
41642
42100
|
type Func$2 = ReturnType<typeof createCartOperation>;
|
|
41643
42101
|
type Response$2 = Awaited<ReturnType<Func$2>>;
|
|
41644
42102
|
type Args$2 = Parameters<Func$2>[0];
|
|
41645
|
-
declare const useCreateCart: (options?: SWRMutationConfiguration<Response$2, any,
|
|
42103
|
+
declare const useCreateCart: (options?: SWRMutationConfiguration<Response$2, any, 'create-cart', Args$2>) => swr_mutation.SWRMutationResponse<_gem_sdk_adapter_common_dist_types_types_cart.Cart, any, "create-cart", _gem_sdk_adapter_common_dist_types_types_cart.CreateCartInput>;
|
|
41646
42104
|
|
|
41647
42105
|
type Func$1 = ReturnType<typeof removeCartItemOperation>;
|
|
41648
42106
|
type Response$1 = Awaited<ReturnType<Func$1>>;
|
|
41649
42107
|
type Args$1 = Parameters<Func$1>[0];
|
|
41650
|
-
declare const useRemoveCartItem: (options?: SWRMutationConfiguration<Response$1, any,
|
|
42108
|
+
declare const useRemoveCartItem: (options?: SWRMutationConfiguration<Response$1, any, 'remove-cart-item', Args$1>) => swr_mutation.SWRMutationResponse<_gem_sdk_adapter_common_dist_types_types_cart.Cart, any, "remove-cart-item", _gem_sdk_adapter_common_dist_types_types_cart.RemoveCartLineInput>;
|
|
41651
42109
|
|
|
41652
42110
|
type Func = ReturnType<typeof updateCartLineOperation>;
|
|
41653
42111
|
type Response = Awaited<ReturnType<Func>>;
|
|
41654
42112
|
type Args = Parameters<Func>[0];
|
|
41655
|
-
declare const useUpdateCartItem: (options?: SWRMutationConfiguration<Response, any,
|
|
42113
|
+
declare const useUpdateCartItem: (options?: SWRMutationConfiguration<Response, any, 'update-cart-item', Args>) => swr_mutation.SWRMutationResponse<_gem_sdk_adapter_common_dist_types_types_cart.Cart, any, "update-cart-item", _gem_sdk_adapter_common_dist_types_types_cart.UpdateCartLineInput>;
|
|
41656
42114
|
|
|
41657
42115
|
declare const useLocale: () => {
|
|
41658
42116
|
locale: string | undefined;
|
|
@@ -41662,6 +42120,9 @@ declare const useCurrency: () => {
|
|
|
41662
42120
|
currency: string | undefined;
|
|
41663
42121
|
changeCurrency: (currency: string) => void;
|
|
41664
42122
|
};
|
|
42123
|
+
declare const useTimezone: () => {
|
|
42124
|
+
timezone: string | undefined;
|
|
42125
|
+
};
|
|
41665
42126
|
declare const useMoneyFormat: () => {
|
|
41666
42127
|
moneyFormat: string | undefined;
|
|
41667
42128
|
moneyWithCurrencyFormat: string | undefined;
|
|
@@ -41800,6 +42261,10 @@ declare const useProductBundleDiscount: () => {
|
|
|
41800
42261
|
useProductCompareAtPrice: boolean | undefined;
|
|
41801
42262
|
seUseProductCompareAtPrice: (value?: boolean | undefined) => void;
|
|
41802
42263
|
};
|
|
42264
|
+
declare const useProductShopifyEditLink: () => {
|
|
42265
|
+
linkEditProduct: string;
|
|
42266
|
+
redirectProductShopifyLink: () => void;
|
|
42267
|
+
};
|
|
41803
42268
|
declare const useQuantity: () => {
|
|
41804
42269
|
quantity: number | undefined;
|
|
41805
42270
|
hasUpdatePrice: boolean | undefined;
|
|
@@ -41835,6 +42300,16 @@ declare const useVariantOutStock: (optionId: string, optionValue: string, option
|
|
|
41835
42300
|
declare const useCheckAvailableVariantInStock: (optionId: string, optionValue: string) => boolean;
|
|
41836
42301
|
declare const useProductOfferDiscount: () => number;
|
|
41837
42302
|
|
|
42303
|
+
type ShopifyLinkParam = {
|
|
42304
|
+
productId?: string;
|
|
42305
|
+
articleId?: string;
|
|
42306
|
+
};
|
|
42307
|
+
declare const useShopifyLink: ({ productId, articleId }: ShopifyLinkParam) => {
|
|
42308
|
+
linkShopDefault: string;
|
|
42309
|
+
linkEditProduct: string;
|
|
42310
|
+
linkEditArticle: string;
|
|
42311
|
+
};
|
|
42312
|
+
|
|
41838
42313
|
declare const useProductList: () => CollectionProductSelectFragment | undefined;
|
|
41839
42314
|
declare const useProductListProducts: () => (ProductQuickSelectFragment | undefined)[] | undefined;
|
|
41840
42315
|
declare const useProductListSettings: () => {
|
|
@@ -41871,8 +42346,8 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'name'
|
|
|
41871
42346
|
pageStyle?: Maybe$1<Pick<PublishedThemeStyle$1, 'id' | 'data' | 'name'>>;
|
|
41872
42347
|
themePageAnalytic?: Maybe$1<Pick<Analytic$1, 'fbPixelID' | 'gaTrackingID' | 'tiktokPixelID'>>;
|
|
41873
42348
|
themePageCustomCode?: Maybe$1<Pick<CustomCode$1, 'body' | 'header'>>;
|
|
41874
|
-
themePageCustomFonts?: Maybe$1<Array<Maybe$1<Pick<CustomFont$1, 'backupFilePath' | 'fontFamily' | 'fontStyle' | 'fontWeight' | 'mimeType' | 'filePath'>>>>;
|
|
41875
42349
|
interaction?: Maybe$1<Pick<PublishedPageInteraction$1, 'id' | 'value'>>;
|
|
42350
|
+
metafields?: Maybe$1<Array<Maybe$1<Pick<PublishedThemePageMeta$1, 'id' | 'key' | 'value'>>>>;
|
|
41876
42351
|
};
|
|
41877
42352
|
|
|
41878
42353
|
declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
|
|
@@ -41922,4 +42397,4 @@ declare const useInteraction: () => {
|
|
|
41922
42397
|
interactionListenerLoaded: (callback: () => void) => void;
|
|
41923
42398
|
};
|
|
41924
42399
|
|
|
41925
|
-
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, 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, LooxReviewsWidgetTypeV2, 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, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedShopMetasDocument, PublishedShopMetasQueryResponse, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, QueryPublishedShopMetasArgs, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, 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, TrustooWidgetTypeV2, 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, useProductBundleDiscount, 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 };
|
|
42400
|
+
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, LooxReviewsWidgetTypeV2, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options$1 as Options, PaddingType, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedShopMetasDocument, PublishedShopMetasQueryResponse, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, QueryPublishedShopMetasArgs, 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, ShopShopifyDocument, ShopShopifyQueryResponse, ShopShopifyQueryVariables, 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, TrustooWidgetTypeV2, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBackgroundImageCss, composeBorderCss, composeBorderResponsive, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTextHoverColorCss, 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, getAlignmentClasses, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBgImageSourceByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getLayoutClasses, getPaddingGlobalSize, getPaddingStyleByDevice, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStylePadding, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBackgroundImageByDevice, getStyleBgColor, getStyleBgImageSource, 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, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useTimezone, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|