@gem-sdk/core 1.63.17 → 2.0.0-dev.157
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 +382 -6
- package/dist/cjs/helpers/third-party/constant.js +10 -1
- package/dist/cjs/helpers/third-party/getAppBlockConfig.js +5 -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 +382 -6
- package/dist/esm/helpers/third-party/constant.js +11 -2
- package/dist/esm/helpers/third-party/getAppBlockConfig.js +5 -1
- 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 +729 -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';
|
|
@@ -7252,10 +7253,11 @@ type InstantJudgeMeReviewsWidgetType = 'single_product_preview_badge' | 'review_
|
|
|
7252
7253
|
type InstantLooxReviewsWidgetType = 'product_reviews_widget' | 'reviews_widget_all_stores' | 'product_star_ratings_widget' | 'carousel_widget';
|
|
7253
7254
|
type InstantKlaviyoWidgetType = 'popup_widget' | 'flyout_widget' | 'embed_widget' | 'full_page_widget';
|
|
7254
7255
|
type StampedWidgetType = 'main-widget' | 'carousel' | 'full-page' | 'visual-gallery' | 'wall-photos' | 'site-badge' | 'instagram-feed' | 'checkout-reviews' | 'single-highlight' | 'top-rated' | 'badge-single' | 'badge-double' | 'badge-ribbon' | 'product-rating';
|
|
7256
|
+
type StampedWidgetTypeV2 = 'main-widget' | 'product-rating-image' | 'badge-double-image' | 'badge-ribbon-image' | 'badge-single-image' | 'carousel' | 'checkout-comments' | 'full-page' | 'instagram-feed' | 'single-highlight' | 'site-badge' | 'star-rating-badge' | 'top-rated' | 'visual-gallery' | 'wall-photos';
|
|
7255
7257
|
type LaiProductReviewsWidgetType = 'reviews_widget' | 'star_ratings' | 'homepage_reviews' | 'happy_customer_reviews' | 'star_ratings_in_list' | 'advanced_widget';
|
|
7256
7258
|
type LaiProductReviewsAdvancedWidgetType = 'cardCarousel' | 'testimonialCarousel' | 'mediaGallery' | 'cardGrid';
|
|
7257
7259
|
type YotpoReviewsWidgetType = 'reviews' | 'star-rating' | 'reviewHighlights';
|
|
7258
|
-
type BogosWidgetType = 'icon' | 'thumnail' | 'slider' | 'message' | 'classic-bundle' | 'quantity-break'
|
|
7260
|
+
type BogosWidgetType = 'icon' | 'thumnail' | 'slider' | 'message' | 'classic-bundle' | 'quantity-break';
|
|
7259
7261
|
type PreOrderNowWodWidgetType = 'app-block' | 'popups-block';
|
|
7260
7262
|
type TagShopWidgetType = 'homeLandingGalleries' | 'productGalleries' | 'tagGalleries';
|
|
7261
7263
|
type AirProductReview = 'review_box' | 'star_rating' | 'review_carousel';
|
|
@@ -7280,7 +7282,7 @@ type HyperlinkInfo = {
|
|
|
7280
7282
|
link?: string;
|
|
7281
7283
|
modal?: CommonModalApp;
|
|
7282
7284
|
};
|
|
7283
|
-
type Mapped$
|
|
7285
|
+
type Mapped$9<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
7284
7286
|
id: K;
|
|
7285
7287
|
label?: string;
|
|
7286
7288
|
info?: string;
|
|
@@ -7291,6 +7293,7 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7291
7293
|
mobileOnly?: boolean;
|
|
7292
7294
|
};
|
|
7293
7295
|
hide?: boolean;
|
|
7296
|
+
dynamicSource?: true;
|
|
7294
7297
|
ignoreReRender?: boolean;
|
|
7295
7298
|
allowBackgroundImageAndVideo?: boolean;
|
|
7296
7299
|
hideOnState?: {
|
|
@@ -7312,8 +7315,10 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7312
7315
|
active?: boolean;
|
|
7313
7316
|
};
|
|
7314
7317
|
devices?: ResponsiveConfig<U>;
|
|
7318
|
+
compoDefaultValue?: ResponsiveConfig<U>;
|
|
7315
7319
|
emptyOnClear?: boolean;
|
|
7316
7320
|
showVideo?: boolean;
|
|
7321
|
+
disableGetDefault?: boolean;
|
|
7317
7322
|
} : {
|
|
7318
7323
|
id: K;
|
|
7319
7324
|
label?: string;
|
|
@@ -7350,19 +7355,21 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7350
7355
|
emptyOnClear?: boolean;
|
|
7351
7356
|
showVideo?: boolean;
|
|
7352
7357
|
default?: T;
|
|
7358
|
+
compoDefaultValue?: T;
|
|
7359
|
+
disableGetDefault?: boolean;
|
|
7353
7360
|
};
|
|
7354
7361
|
type SharedControlType<T> = {
|
|
7355
|
-
[K in keyof T]-?: Mapped$
|
|
7362
|
+
[K in keyof T]-?: Mapped$9<K, T[K]>;
|
|
7356
7363
|
}[keyof T];
|
|
7357
7364
|
|
|
7358
|
-
type Option$
|
|
7365
|
+
type Option$7 = {
|
|
7359
7366
|
value: number | string;
|
|
7360
7367
|
label?: string | number;
|
|
7361
7368
|
type?: string;
|
|
7362
7369
|
icon?: string;
|
|
7363
7370
|
isTextIcon?: boolean;
|
|
7364
7371
|
};
|
|
7365
|
-
type Mapped$
|
|
7372
|
+
type Mapped$8<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
7366
7373
|
id: K;
|
|
7367
7374
|
label: string;
|
|
7368
7375
|
info?: string;
|
|
@@ -7380,7 +7387,7 @@ type Mapped$6<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7380
7387
|
};
|
|
7381
7388
|
placeholder?: string;
|
|
7382
7389
|
type: 'layout-custom-segment';
|
|
7383
|
-
options: Option$
|
|
7390
|
+
options: Option$7[];
|
|
7384
7391
|
devices?: ResponsiveConfig<U>;
|
|
7385
7392
|
iconViewBox?: string;
|
|
7386
7393
|
enableItemBackground?: boolean;
|
|
@@ -7405,14 +7412,14 @@ type Mapped$6<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7405
7412
|
};
|
|
7406
7413
|
placeholder?: string;
|
|
7407
7414
|
type: 'layout-custom-segment';
|
|
7408
|
-
options?: Option$
|
|
7415
|
+
options?: Option$7[];
|
|
7409
7416
|
iconViewBox?: string;
|
|
7410
7417
|
enableItemBackground?: boolean;
|
|
7411
7418
|
enableTooltip?: boolean;
|
|
7412
7419
|
default?: T;
|
|
7413
7420
|
};
|
|
7414
7421
|
type LayoutCustomSegmentControlType<T> = {
|
|
7415
|
-
[K in keyof T]-?: Mapped$
|
|
7422
|
+
[K in keyof T]-?: Mapped$8<K, T[K]>;
|
|
7416
7423
|
}[keyof T];
|
|
7417
7424
|
|
|
7418
7425
|
type AngleControlType<T> = SharedControlType<T> & {
|
|
@@ -7424,12 +7431,12 @@ type AngleControlType<T> = SharedControlType<T> & {
|
|
|
7424
7431
|
readonly?: boolean;
|
|
7425
7432
|
};
|
|
7426
7433
|
|
|
7427
|
-
type Option$
|
|
7434
|
+
type Option$6<T> = {
|
|
7428
7435
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
7429
7436
|
text: string | number;
|
|
7430
7437
|
desc?: any;
|
|
7431
7438
|
};
|
|
7432
|
-
type Mapped$
|
|
7439
|
+
type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
7433
7440
|
id: K;
|
|
7434
7441
|
label: string;
|
|
7435
7442
|
hideOnMode?: {
|
|
@@ -7445,7 +7452,7 @@ type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7445
7452
|
active?: boolean;
|
|
7446
7453
|
};
|
|
7447
7454
|
type: 'checkbox';
|
|
7448
|
-
options: Option$
|
|
7455
|
+
options: Option$6<T>[];
|
|
7449
7456
|
devices?: ResponsiveConfig<U>;
|
|
7450
7457
|
} : {
|
|
7451
7458
|
id: K;
|
|
@@ -7463,11 +7470,11 @@ type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7463
7470
|
active?: boolean;
|
|
7464
7471
|
};
|
|
7465
7472
|
type: 'checkbox';
|
|
7466
|
-
options: Option$
|
|
7473
|
+
options: Option$6<T>[];
|
|
7467
7474
|
default?: T;
|
|
7468
7475
|
};
|
|
7469
7476
|
type CheckboxControlType<T> = {
|
|
7470
|
-
[K in keyof T]-?: Mapped$
|
|
7477
|
+
[K in keyof T]-?: Mapped$7<K, T[K]>;
|
|
7471
7478
|
}[keyof T];
|
|
7472
7479
|
|
|
7473
7480
|
type ChildrensControlType = {
|
|
@@ -7556,6 +7563,7 @@ type InputNumberControlType<T> = SharedControlType<T> & {
|
|
|
7556
7563
|
min?: number;
|
|
7557
7564
|
max?: number;
|
|
7558
7565
|
readonly?: boolean;
|
|
7566
|
+
includeUnit?: 'px' | '%';
|
|
7559
7567
|
};
|
|
7560
7568
|
|
|
7561
7569
|
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 +7620,14 @@ type RangeControlType<T> = SharedControlType<T> & {
|
|
|
7612
7620
|
maxRelated?: string;
|
|
7613
7621
|
}>;
|
|
7614
7622
|
|
|
7615
|
-
type Option$
|
|
7623
|
+
type Option$5<T> = {
|
|
7616
7624
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
7617
7625
|
label?: string | number;
|
|
7618
7626
|
type?: string;
|
|
7619
7627
|
icon?: string;
|
|
7620
7628
|
tooltip?: string;
|
|
7621
7629
|
};
|
|
7622
|
-
type Mapped$
|
|
7630
|
+
type Mapped$6<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
7623
7631
|
id: K;
|
|
7624
7632
|
label?: string;
|
|
7625
7633
|
info?: string;
|
|
@@ -7637,7 +7645,7 @@ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7637
7645
|
};
|
|
7638
7646
|
placeholder?: string;
|
|
7639
7647
|
type: 'segment' | 'accordion:segment';
|
|
7640
|
-
options: Option$
|
|
7648
|
+
options: Option$5<T>[];
|
|
7641
7649
|
iconCustom?: boolean;
|
|
7642
7650
|
devices?: ResponsiveConfig<U>;
|
|
7643
7651
|
} : {
|
|
@@ -7658,12 +7666,12 @@ type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7658
7666
|
};
|
|
7659
7667
|
placeholder?: string;
|
|
7660
7668
|
type: 'segment' | 'accordion:segment';
|
|
7661
|
-
options: Option$
|
|
7669
|
+
options: Option$5<T>[];
|
|
7662
7670
|
iconCustom?: boolean;
|
|
7663
7671
|
default?: T;
|
|
7664
7672
|
};
|
|
7665
7673
|
type SegmentControlType<T> = {
|
|
7666
|
-
[K in keyof T]-?: Mapped$
|
|
7674
|
+
[K in keyof T]-?: Mapped$6<K, T[K]>;
|
|
7667
7675
|
}[keyof T];
|
|
7668
7676
|
|
|
7669
7677
|
type OpenLinkControlType<T> = SharedControlType<T> & {
|
|
@@ -7674,7 +7682,7 @@ type OpenLinkControlType<T> = SharedControlType<T> & {
|
|
|
7674
7682
|
linkType?: 'openApp' | 'install';
|
|
7675
7683
|
};
|
|
7676
7684
|
|
|
7677
|
-
type Option$
|
|
7685
|
+
type Option$4<T> = {
|
|
7678
7686
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
7679
7687
|
label: string | number;
|
|
7680
7688
|
hideOnPage?: string[];
|
|
@@ -7687,7 +7695,7 @@ type Option$2<T> = {
|
|
|
7687
7695
|
note?: string;
|
|
7688
7696
|
maxOption?: number;
|
|
7689
7697
|
};
|
|
7690
|
-
type Mapped$
|
|
7698
|
+
type Mapped$5<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
7691
7699
|
id: K;
|
|
7692
7700
|
label?: string;
|
|
7693
7701
|
info?: string;
|
|
@@ -7706,7 +7714,7 @@ type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7706
7714
|
};
|
|
7707
7715
|
placeholder?: string;
|
|
7708
7716
|
type: 'select';
|
|
7709
|
-
options: Option$
|
|
7717
|
+
options: Option$4<T>[];
|
|
7710
7718
|
devices?: ResponsiveConfig<U>;
|
|
7711
7719
|
} : {
|
|
7712
7720
|
id: K;
|
|
@@ -7726,12 +7734,12 @@ type Mapped$3<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7726
7734
|
};
|
|
7727
7735
|
placeholder?: string;
|
|
7728
7736
|
type: 'select';
|
|
7729
|
-
options: Option$
|
|
7737
|
+
options: Option$4<T>[];
|
|
7730
7738
|
default?: T;
|
|
7731
7739
|
isFullWidth?: boolean;
|
|
7732
7740
|
};
|
|
7733
7741
|
type SelectControlType<T> = {
|
|
7734
|
-
[K in keyof T]-?: Mapped$
|
|
7742
|
+
[K in keyof T]-?: Mapped$5<K, T[K]>;
|
|
7735
7743
|
}[keyof T];
|
|
7736
7744
|
|
|
7737
7745
|
type TextareaControlType<T> = SharedControlType<T> & {
|
|
@@ -7781,9 +7789,150 @@ type TypographyControlType<T> = SharedControlType<T> & {
|
|
|
7781
7789
|
popup?: boolean;
|
|
7782
7790
|
};
|
|
7783
7791
|
|
|
7792
|
+
type SettingStateType = 'normal' | 'hover' | 'focus' | 'active' | 'price' | 'compareAtPrice';
|
|
7793
|
+
type LangKey = 'en' | 'vi';
|
|
7794
|
+
type LabelWithLang = {
|
|
7795
|
+
[P in keyof Record<LangKey, ''>]?: string;
|
|
7796
|
+
};
|
|
7797
|
+
type SettingMediaType = 'image' | 'youtubeVideoID';
|
|
7798
|
+
type SettingUIHelpType = {
|
|
7799
|
+
content: string;
|
|
7800
|
+
button?: {
|
|
7801
|
+
label: string;
|
|
7802
|
+
link: string;
|
|
7803
|
+
};
|
|
7804
|
+
media?: {
|
|
7805
|
+
value: string;
|
|
7806
|
+
type: SettingMediaType;
|
|
7807
|
+
};
|
|
7808
|
+
};
|
|
7809
|
+
type LinkWithSetting = {
|
|
7810
|
+
name: string;
|
|
7811
|
+
state?: string;
|
|
7812
|
+
field?: string;
|
|
7813
|
+
getLinkValue?: boolean;
|
|
7814
|
+
};
|
|
7815
|
+
type ControlConfig = ControlProp<any> & {
|
|
7816
|
+
linkWithSetting?: LinkWithSetting;
|
|
7817
|
+
};
|
|
7818
|
+
type Plan = 'trial' | 'build' | 'starter' | 'optimize' | 'advanced' | 'trial2022' | 'enterprise' | 'development' | 'professional';
|
|
7819
|
+
type LabelVariant = 'primary' | 'secondary' | 'bold';
|
|
7820
|
+
type SettingUIControl = {
|
|
7821
|
+
id?: string;
|
|
7822
|
+
controlConfig?: ControlConfig;
|
|
7823
|
+
type?: 'control' | 'combo' | 'tab' | 'toggleGroup';
|
|
7824
|
+
layout?: 'vertical' | 'horizontal';
|
|
7825
|
+
toggleGroupId?: string;
|
|
7826
|
+
label?: LabelWithLang;
|
|
7827
|
+
conditionDisplay?: string;
|
|
7828
|
+
conditionEnable?: string;
|
|
7829
|
+
options?: {
|
|
7830
|
+
fullWidth?: boolean;
|
|
7831
|
+
onlyShowInTags?: string[];
|
|
7832
|
+
target?: 'tab';
|
|
7833
|
+
disableMessage?: string;
|
|
7834
|
+
nearestSupportedPlan?: Plan;
|
|
7835
|
+
lockedOnPlans?: Plan[];
|
|
7836
|
+
labelVariant?: LabelVariant;
|
|
7837
|
+
labelInsideControl?: boolean;
|
|
7838
|
+
hideLabel?: boolean;
|
|
7839
|
+
updateFields?: {
|
|
7840
|
+
field: string;
|
|
7841
|
+
settingId: string;
|
|
7842
|
+
state?: SettingStateType;
|
|
7843
|
+
}[];
|
|
7844
|
+
};
|
|
7845
|
+
setting?: {
|
|
7846
|
+
id: string;
|
|
7847
|
+
state?: SettingStateType;
|
|
7848
|
+
};
|
|
7849
|
+
searchKeyword?: string;
|
|
7850
|
+
controlChangeTrigger?: ControlTrigger;
|
|
7851
|
+
tabs?: SettingUITab[];
|
|
7852
|
+
info?: LabelWithLang;
|
|
7853
|
+
compoDefaultValue?: any | Record<NameDevices$1, any>;
|
|
7854
|
+
} & SettingUICompo;
|
|
7855
|
+
type ControlTriggerAction$1 = {
|
|
7856
|
+
controlId: string;
|
|
7857
|
+
newValue?: any;
|
|
7858
|
+
valueFromField?: string;
|
|
7859
|
+
controlType: string;
|
|
7860
|
+
groupType: string;
|
|
7861
|
+
valueIfNull?: any;
|
|
7862
|
+
removeDevice?: boolean;
|
|
7863
|
+
state?: SettingStateType;
|
|
7864
|
+
};
|
|
7865
|
+
type ControlTriggerSetting = {
|
|
7866
|
+
source?: string[];
|
|
7867
|
+
condition?: string;
|
|
7868
|
+
action: ControlTriggerAction$1;
|
|
7869
|
+
};
|
|
7870
|
+
type ControlTrigger = {
|
|
7871
|
+
settings?: ControlTriggerSetting[];
|
|
7872
|
+
options?: {
|
|
7873
|
+
noRecordHistory?: boolean;
|
|
7874
|
+
};
|
|
7875
|
+
};
|
|
7876
|
+
type SettingUICompo = {
|
|
7877
|
+
controls?: SettingUIControl[];
|
|
7878
|
+
iconName?: string;
|
|
7879
|
+
getValueFromSettingID?: string;
|
|
7880
|
+
defaultValueWhenClear?: any;
|
|
7881
|
+
fixedValue?: string;
|
|
7882
|
+
placeholder?: string;
|
|
7883
|
+
help?: SettingUIHelpType;
|
|
7884
|
+
popoverLabel?: LabelWithLang;
|
|
7885
|
+
comboType?: 'color' | 'image';
|
|
7886
|
+
isHideClear?: boolean;
|
|
7887
|
+
};
|
|
7888
|
+
type SettingUIMoreSetting = {
|
|
7889
|
+
label?: LabelWithLang;
|
|
7890
|
+
labelAction?: LabelWithLang;
|
|
7891
|
+
controls?: SettingUIControl[];
|
|
7892
|
+
help?: SettingUIHelpType;
|
|
7893
|
+
type?: SettingUIMoreSettingType;
|
|
7894
|
+
};
|
|
7895
|
+
type SettingUIMoreSettingType = 'button' | 'collapse' | 'icon';
|
|
7896
|
+
type SettingUITab = {
|
|
7897
|
+
label?: LabelWithLang;
|
|
7898
|
+
controls?: SettingUIControl[];
|
|
7899
|
+
hide?: boolean;
|
|
7900
|
+
conditionDisplay?: string;
|
|
7901
|
+
};
|
|
7902
|
+
type SettingUIToggleGroup = {
|
|
7903
|
+
label?: LabelWithLang;
|
|
7904
|
+
id?: string;
|
|
7905
|
+
controls?: SettingUIControl[];
|
|
7906
|
+
};
|
|
7907
|
+
type SettingUIToggleSettings = {
|
|
7908
|
+
controls?: SettingUIControl[];
|
|
7909
|
+
isActiveDefault?: boolean;
|
|
7910
|
+
} & SettingUIControl & SettingUIToggleGroup;
|
|
7911
|
+
type SettingUIGroup = {
|
|
7912
|
+
label?: LabelWithLang;
|
|
7913
|
+
message?: string;
|
|
7914
|
+
disableToggle?: boolean;
|
|
7915
|
+
conditionDisplay?: string;
|
|
7916
|
+
conditionEnable?: string;
|
|
7917
|
+
controls?: SettingUIControl[];
|
|
7918
|
+
moreSettings?: SettingUIMoreSetting;
|
|
7919
|
+
toggleSettings?: SettingUIToggleSettings[];
|
|
7920
|
+
states?: SettingUITab[];
|
|
7921
|
+
help?: SettingUIHelpType;
|
|
7922
|
+
options?: {
|
|
7923
|
+
disableMessage?: string;
|
|
7924
|
+
};
|
|
7925
|
+
};
|
|
7926
|
+
|
|
7784
7927
|
type PickLinkControlType<T> = SharedControlType<T> & {
|
|
7785
7928
|
type: 'pick-link';
|
|
7786
7929
|
pickLinkLabel?: string;
|
|
7930
|
+
isHiddenInsertLink?: boolean;
|
|
7931
|
+
isHiddenOpenLinkSelect?: boolean;
|
|
7932
|
+
hiddenOptions?: {
|
|
7933
|
+
[key: string]: boolean;
|
|
7934
|
+
};
|
|
7935
|
+
customLabel?: LabelWithLang;
|
|
7787
7936
|
};
|
|
7788
7937
|
|
|
7789
7938
|
type BehaviorStateControlType<T> = {
|
|
@@ -7857,6 +8006,12 @@ type SelectVariantControlType = {
|
|
|
7857
8006
|
hide?: boolean;
|
|
7858
8007
|
};
|
|
7859
8008
|
|
|
8009
|
+
type VariantListingControlType = {
|
|
8010
|
+
id: string;
|
|
8011
|
+
type: 'variant:listing';
|
|
8012
|
+
label?: string;
|
|
8013
|
+
};
|
|
8014
|
+
|
|
7860
8015
|
type BackgroundControlType<T> = SharedControlType<T> & {
|
|
7861
8016
|
type: 'background';
|
|
7862
8017
|
value?: Background;
|
|
@@ -7872,23 +8027,23 @@ type Background = {
|
|
|
7872
8027
|
storage?: 'THEME' | 'FILE_CONTENT';
|
|
7873
8028
|
backupFilePath?: string;
|
|
7874
8029
|
};
|
|
7875
|
-
size?: BgSize;
|
|
7876
|
-
position?: BgPosition;
|
|
7877
|
-
repeat?: BgRepeat;
|
|
7878
|
-
attachment?: BgAttachment;
|
|
8030
|
+
size?: BgSize$2;
|
|
8031
|
+
position?: BgPosition$2;
|
|
8032
|
+
repeat?: BgRepeat$2;
|
|
8033
|
+
attachment?: BgAttachment$2;
|
|
7879
8034
|
video?: string;
|
|
7880
8035
|
videoHtml5?: string;
|
|
7881
8036
|
videoType?: 'youtube' | 'html5';
|
|
7882
8037
|
loop?: boolean;
|
|
7883
8038
|
lazyLoad?: boolean;
|
|
7884
8039
|
};
|
|
7885
|
-
type BgSize = 'cover' | 'contain';
|
|
7886
|
-
type BgRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
7887
|
-
type BgPosition = {
|
|
8040
|
+
type BgSize$2 = 'cover' | 'contain';
|
|
8041
|
+
type BgRepeat$2 = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
8042
|
+
type BgPosition$2 = {
|
|
7888
8043
|
x: number;
|
|
7889
8044
|
y: number;
|
|
7890
8045
|
};
|
|
7891
|
-
type BgAttachment = 'scroll' | 'fixed' | 'local';
|
|
8046
|
+
type BgAttachment$2 = 'scroll' | 'fixed' | 'local';
|
|
7892
8047
|
|
|
7893
8048
|
type VisibilityControlType<T> = SharedControlType<T> & {
|
|
7894
8049
|
type: 'visibility';
|
|
@@ -7951,14 +8106,15 @@ type CustomCodeEditor = {
|
|
|
7951
8106
|
id: string;
|
|
7952
8107
|
};
|
|
7953
8108
|
|
|
7954
|
-
type Option$
|
|
8109
|
+
type Option$3<T> = {
|
|
7955
8110
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
7956
8111
|
label?: string | number;
|
|
7957
8112
|
type?: string;
|
|
7958
8113
|
icon?: string;
|
|
8114
|
+
iconName?: string;
|
|
7959
8115
|
isTextIcon?: boolean;
|
|
7960
8116
|
};
|
|
7961
|
-
type Mapped$
|
|
8117
|
+
type Mapped$4<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
7962
8118
|
id: K;
|
|
7963
8119
|
label: string;
|
|
7964
8120
|
info?: string;
|
|
@@ -7976,7 +8132,11 @@ type Mapped$2<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7976
8132
|
};
|
|
7977
8133
|
placeholder?: string;
|
|
7978
8134
|
type: 'layout-segment';
|
|
7979
|
-
options: Option$
|
|
8135
|
+
options: Option$3<T>[];
|
|
8136
|
+
groups?: {
|
|
8137
|
+
label: string;
|
|
8138
|
+
options: Option$3<T>[];
|
|
8139
|
+
}[];
|
|
7980
8140
|
devices?: ResponsiveConfig<U>;
|
|
7981
8141
|
iconViewBox?: string;
|
|
7982
8142
|
enableItemBackground?: boolean;
|
|
@@ -8003,14 +8163,18 @@ type Mapped$2<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
8003
8163
|
type: 'layout-segment';
|
|
8004
8164
|
itemPerRow?: number;
|
|
8005
8165
|
itemSpacing?: 'large' | 'small';
|
|
8006
|
-
options?: Option$
|
|
8166
|
+
options?: Option$3<T>[];
|
|
8167
|
+
groups?: {
|
|
8168
|
+
label: string;
|
|
8169
|
+
options: Option$3<T>[];
|
|
8170
|
+
}[];
|
|
8007
8171
|
iconViewBox?: string;
|
|
8008
8172
|
enableItemBackground?: boolean;
|
|
8009
8173
|
enableTooltip?: boolean;
|
|
8010
8174
|
default?: T;
|
|
8011
8175
|
};
|
|
8012
8176
|
type LayoutSegmentControlType<T> = {
|
|
8013
|
-
[K in keyof T]-?: Mapped$
|
|
8177
|
+
[K in keyof T]-?: Mapped$4<K, T[K]>;
|
|
8014
8178
|
}[keyof T];
|
|
8015
8179
|
|
|
8016
8180
|
type InputSpacing<T> = SharedControlType<T> & {
|
|
@@ -8102,6 +8266,8 @@ type TypographyV2ControlType<T> = SharedControlType<T> & {
|
|
|
8102
8266
|
color?: boolean;
|
|
8103
8267
|
transform?: boolean;
|
|
8104
8268
|
fontWeight?: boolean;
|
|
8269
|
+
textShadow?: boolean;
|
|
8270
|
+
textAlign?: boolean;
|
|
8105
8271
|
};
|
|
8106
8272
|
disableCollapse?: boolean;
|
|
8107
8273
|
};
|
|
@@ -8131,7 +8297,7 @@ type Actions = {
|
|
|
8131
8297
|
actionHandle?: string;
|
|
8132
8298
|
link?: string;
|
|
8133
8299
|
};
|
|
8134
|
-
type Mapped$
|
|
8300
|
+
type Mapped$3<K, T> = {
|
|
8135
8301
|
id: K;
|
|
8136
8302
|
label: string;
|
|
8137
8303
|
info?: string;
|
|
@@ -8140,7 +8306,7 @@ type Mapped$1<K, T> = {
|
|
|
8140
8306
|
default?: T;
|
|
8141
8307
|
};
|
|
8142
8308
|
type StepsGuide<T> = {
|
|
8143
|
-
[K in keyof T]-?: Mapped$
|
|
8309
|
+
[K in keyof T]-?: Mapped$3<K, T[K]>;
|
|
8144
8310
|
}[keyof T];
|
|
8145
8311
|
|
|
8146
8312
|
type ImageShape<T> = SharedControlType<T> & {
|
|
@@ -8204,6 +8370,7 @@ type DropdownInput<T> = SharedControlType<T> & {
|
|
|
8204
8370
|
reversed?: boolean;
|
|
8205
8371
|
showValue?: boolean;
|
|
8206
8372
|
}[];
|
|
8373
|
+
isRowWith?: boolean;
|
|
8207
8374
|
};
|
|
8208
8375
|
|
|
8209
8376
|
type Dropdown<T> = SharedControlType<T> & {
|
|
@@ -8249,14 +8416,14 @@ type SneakPeakRange<T> = SharedControlType<T> & {
|
|
|
8249
8416
|
sneakPeakType?: string;
|
|
8250
8417
|
};
|
|
8251
8418
|
|
|
8252
|
-
type Option<T> = {
|
|
8419
|
+
type Option$2<T> = {
|
|
8253
8420
|
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
8254
8421
|
label?: string | number;
|
|
8255
8422
|
type?: string;
|
|
8256
8423
|
icon?: string;
|
|
8257
8424
|
isTextIcon?: boolean;
|
|
8258
8425
|
};
|
|
8259
|
-
type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
8426
|
+
type Mapped$2<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
8260
8427
|
id: K;
|
|
8261
8428
|
label: string;
|
|
8262
8429
|
info?: string;
|
|
@@ -8274,7 +8441,7 @@ type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
8274
8441
|
};
|
|
8275
8442
|
placeholder?: string;
|
|
8276
8443
|
type: 'sneak-peak-type';
|
|
8277
|
-
options: Option<T>[];
|
|
8444
|
+
options: Option$2<T>[];
|
|
8278
8445
|
devices?: ResponsiveConfig<U>;
|
|
8279
8446
|
iconViewBox?: string;
|
|
8280
8447
|
enableItemBackground?: boolean;
|
|
@@ -8299,14 +8466,14 @@ type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
8299
8466
|
};
|
|
8300
8467
|
placeholder?: string;
|
|
8301
8468
|
type: 'sneak-peak-type';
|
|
8302
|
-
options?: Option<T>[];
|
|
8469
|
+
options?: Option$2<T>[];
|
|
8303
8470
|
iconViewBox?: string;
|
|
8304
8471
|
enableItemBackground?: boolean;
|
|
8305
8472
|
enableTooltip?: boolean;
|
|
8306
8473
|
default?: T;
|
|
8307
8474
|
};
|
|
8308
8475
|
type SneakPeakTypeControlType<T> = {
|
|
8309
|
-
[K in keyof T]-?: Mapped<K, T[K]>;
|
|
8476
|
+
[K in keyof T]-?: Mapped$2<K, T[K]>;
|
|
8310
8477
|
}[keyof T];
|
|
8311
8478
|
|
|
8312
8479
|
type ProductInputCurrencyUnitControlType<T> = SharedControlType<T> & {
|
|
@@ -8489,7 +8656,420 @@ type ProductHandleType<T> = SharedControlType<T> & {
|
|
|
8489
8656
|
type: 'product-handle';
|
|
8490
8657
|
};
|
|
8491
8658
|
|
|
8492
|
-
type
|
|
8659
|
+
type ColorPickerV2ControlType<T> = SharedControlType<T> & {
|
|
8660
|
+
type: 'color-picker-v2';
|
|
8661
|
+
enableGradient?: boolean;
|
|
8662
|
+
};
|
|
8663
|
+
|
|
8664
|
+
type BorderV2ControlType<T> = SharedControlType<T> & {
|
|
8665
|
+
type: 'border-v2';
|
|
8666
|
+
};
|
|
8667
|
+
|
|
8668
|
+
type CornerV2ControlType<T> = SharedControlType<T> & {
|
|
8669
|
+
type: 'corner-v2';
|
|
8670
|
+
};
|
|
8671
|
+
|
|
8672
|
+
type PaddingV2ControlType<T> = SharedControlType<T> & {
|
|
8673
|
+
type: 'padding-v2';
|
|
8674
|
+
};
|
|
8675
|
+
|
|
8676
|
+
type BackgroundImageType<T> = SharedControlType<T> & {
|
|
8677
|
+
type: 'background-image';
|
|
8678
|
+
value?: BackgroundImageValue;
|
|
8679
|
+
};
|
|
8680
|
+
type BackgroundImageValue = {
|
|
8681
|
+
image?: {
|
|
8682
|
+
src: string;
|
|
8683
|
+
width: number;
|
|
8684
|
+
height: number;
|
|
8685
|
+
backupFileKey?: string;
|
|
8686
|
+
storage?: 'THEME' | 'FILE_CONTENT';
|
|
8687
|
+
backupFilePath?: string;
|
|
8688
|
+
};
|
|
8689
|
+
size?: BgSize$1;
|
|
8690
|
+
position?: BgPosition$1;
|
|
8691
|
+
repeat?: BgRepeat$1;
|
|
8692
|
+
attachment?: BgAttachment$1;
|
|
8693
|
+
altText?: string;
|
|
8694
|
+
imageTitle?: string;
|
|
8695
|
+
lazyLoad?: boolean;
|
|
8696
|
+
preload?: boolean;
|
|
8697
|
+
};
|
|
8698
|
+
type BgSize$1 = 'cover' | 'contain' | '100% 100%';
|
|
8699
|
+
type BgRepeat$1 = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
8700
|
+
type BgPosition$1 = {
|
|
8701
|
+
x: number;
|
|
8702
|
+
y: number;
|
|
8703
|
+
};
|
|
8704
|
+
type BgAttachment$1 = 'scroll' | 'fixed' | 'local';
|
|
8705
|
+
|
|
8706
|
+
type BackgroundVideoType<T> = SharedControlType<T> & {
|
|
8707
|
+
type: 'background-video';
|
|
8708
|
+
value?: BackgroundVideoValue;
|
|
8709
|
+
};
|
|
8710
|
+
type BackgroundVideoValue = {
|
|
8711
|
+
srcYoutube?: string;
|
|
8712
|
+
srcHtml5?: string;
|
|
8713
|
+
type?: 'youtube' | 'html5';
|
|
8714
|
+
ratio?: string;
|
|
8715
|
+
loop?: boolean;
|
|
8716
|
+
};
|
|
8717
|
+
|
|
8718
|
+
type NameDevices = 'desktop' | 'tablet' | 'mobile';
|
|
8719
|
+
type TypographyV2Family = string | {
|
|
8720
|
+
value: string;
|
|
8721
|
+
type: TypographyV2FontFamilyType;
|
|
8722
|
+
};
|
|
8723
|
+
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme' | 'bunny';
|
|
8724
|
+
|
|
8725
|
+
/**
|
|
8726
|
+
* @deprecated Please use `TypographySettingV2`
|
|
8727
|
+
*/
|
|
8728
|
+
type TypographySetting = {
|
|
8729
|
+
type?: TypographyType;
|
|
8730
|
+
custom?: ObjectDevices<TypographyProps>;
|
|
8731
|
+
};
|
|
8732
|
+
type TypographySettingV2 = {
|
|
8733
|
+
type?: TypographyType;
|
|
8734
|
+
custom?: TypographyV2Props;
|
|
8735
|
+
attrs?: TypographyV2Attrs;
|
|
8736
|
+
};
|
|
8737
|
+
type SizeSetting = {
|
|
8738
|
+
type?: SizeType;
|
|
8739
|
+
custom?: ObjectDevices<SizeProps>;
|
|
8740
|
+
};
|
|
8741
|
+
type SizeProps = {
|
|
8742
|
+
horizontal?: string;
|
|
8743
|
+
vertical?: string;
|
|
8744
|
+
};
|
|
8745
|
+
type SizeType = 'medium' | 'large' | 'small' | 'none';
|
|
8746
|
+
type TypographyProps = {
|
|
8747
|
+
fontSize?: string;
|
|
8748
|
+
fontWeight?: string | number;
|
|
8749
|
+
fontStyle?: string;
|
|
8750
|
+
fontFamily?: TypographyV2Family;
|
|
8751
|
+
lineHeight?: string;
|
|
8752
|
+
letterSpacing?: string;
|
|
8753
|
+
fallbackFontFamily?: string;
|
|
8754
|
+
textShadow?: ShadowProps;
|
|
8755
|
+
hasShadowText?: boolean;
|
|
8756
|
+
isCustom?: boolean;
|
|
8757
|
+
};
|
|
8758
|
+
type TypographyV2Props = Omit<TypographyProps, 'fontSize' | 'lineHeight'> & {
|
|
8759
|
+
fontSize?: ObjectDevices<string>;
|
|
8760
|
+
lineHeight?: ObjectDevices<string>;
|
|
8761
|
+
};
|
|
8762
|
+
type TypographyV2Attrs = {
|
|
8763
|
+
bold?: boolean;
|
|
8764
|
+
italic?: boolean;
|
|
8765
|
+
underline?: boolean;
|
|
8766
|
+
color?: ColorValueType;
|
|
8767
|
+
transform?: string;
|
|
8768
|
+
textAlign?: ObjectDevices<AlignProp>;
|
|
8769
|
+
};
|
|
8770
|
+
type CornerRadius = {
|
|
8771
|
+
btlr?: string;
|
|
8772
|
+
btrr?: string;
|
|
8773
|
+
bblr?: string;
|
|
8774
|
+
bbrr?: string;
|
|
8775
|
+
radiusType?: CornerRadiusType;
|
|
8776
|
+
};
|
|
8777
|
+
type CornerRadiusType = 'none' | 'large' | 'medium' | 'small' | 'circle' | 'custom' | 'rounded';
|
|
8778
|
+
type ColorType$1 = NestedKeys<BrandColorObject> | NestedKeys<BackgroundColorObject> | NestedKeys<TextColorObject> | NestedKeys<LineColorObject> | NestedKeys<FuncColorObject>;
|
|
8779
|
+
type FontName = 'body' | 'heading' | 'code';
|
|
8780
|
+
type ColorKey = 'transparent' | 'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray';
|
|
8781
|
+
type HexColorType = `#${string}`;
|
|
8782
|
+
type RGBAColorType = `rgba(${number}, ${number}, ${number}, ${number})`;
|
|
8783
|
+
type RGBColorType = `rgb(${number}, ${number}, ${number})`;
|
|
8784
|
+
type HSLColorType = `hsl(${number}, ${number}%, ${number}%)`;
|
|
8785
|
+
type HSLAColorType = `hsla(${number}, ${number}%, ${number}%, ${number})`;
|
|
8786
|
+
type ColorValueType = ColorType$1 | HexColorType | RGBAColorType | RGBColorType | HSLColorType | HSLAColorType | ColorKey;
|
|
8787
|
+
type BrandColorObject = {
|
|
8788
|
+
brand: string;
|
|
8789
|
+
highlight: string;
|
|
8790
|
+
};
|
|
8791
|
+
type BackgroundColorObject = {
|
|
8792
|
+
'bg-1': string;
|
|
8793
|
+
'bg-2': string;
|
|
8794
|
+
'bg-3': string;
|
|
8795
|
+
};
|
|
8796
|
+
type TextColorObject = {
|
|
8797
|
+
'text-1': string;
|
|
8798
|
+
'text-2': string;
|
|
8799
|
+
'text-3': string;
|
|
8800
|
+
};
|
|
8801
|
+
type LineColorObject = {
|
|
8802
|
+
'line-1': string;
|
|
8803
|
+
'line-2': string;
|
|
8804
|
+
'line-3': string;
|
|
8805
|
+
};
|
|
8806
|
+
type FuncColorObject = {
|
|
8807
|
+
info: string;
|
|
8808
|
+
warning: string;
|
|
8809
|
+
success: string;
|
|
8810
|
+
error: string;
|
|
8811
|
+
};
|
|
8812
|
+
type TypographyType = 'heading-1' | 'heading-2' | 'heading-3' | 'subheading-1' | 'subheading-2' | 'subheading-3' | 'paragraph-1' | 'paragraph-2' | 'paragraph-3';
|
|
8813
|
+
type ObjectDeviceGlobalType<T> = {
|
|
8814
|
+
desktop: T;
|
|
8815
|
+
tablet?: T;
|
|
8816
|
+
mobile?: T;
|
|
8817
|
+
};
|
|
8818
|
+
type SpacingType = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl';
|
|
8819
|
+
type RoundedSize = 'small' | 'medium' | 'large' | 'circle' | 'none' | 'custom' | 'rounded';
|
|
8820
|
+
type ContainerProp = 'width' | 'padding';
|
|
8821
|
+
type GlobalStyleResponsiveConfig = {
|
|
8822
|
+
color?: Partial<Record<ColorType$1, string>>;
|
|
8823
|
+
font?: Partial<Record<FontName, any>>;
|
|
8824
|
+
typography?: Partial<Record<TypographyType, ObjectDeviceGlobalType<TypographyProps>>>;
|
|
8825
|
+
spacing?: Partial<Record<SpacingType, ObjectDeviceGlobalType<string>>>;
|
|
8826
|
+
container?: Partial<Record<ContainerProp, ObjectDeviceGlobalType<string>>>;
|
|
8827
|
+
radius?: Partial<Record<RoundedSize, string>>;
|
|
8828
|
+
theme?: {
|
|
8829
|
+
font?: Partial<Record<FontName, any>>;
|
|
8830
|
+
};
|
|
8831
|
+
};
|
|
8832
|
+
type GlobalStyleConfig = {
|
|
8833
|
+
color?: Partial<Record<ColorType$1, string>>;
|
|
8834
|
+
font?: Partial<Record<FontName, any>>;
|
|
8835
|
+
typography?: Partial<Record<TypographyType, TypographyProps>>;
|
|
8836
|
+
spacing?: Partial<Record<SpacingType, string>>;
|
|
8837
|
+
container?: Partial<Record<ContainerProp, string>>;
|
|
8838
|
+
radius?: Partial<Record<RoundedSize, string>>;
|
|
8839
|
+
theme?: {
|
|
8840
|
+
font?: Partial<Record<FontName, any>>;
|
|
8841
|
+
};
|
|
8842
|
+
};
|
|
8843
|
+
type ShadowStyleApplied = 'text-shadow' | 'box-shadow';
|
|
8844
|
+
type ShadowType = 'shadow-1' | 'shadow-2' | 'shadow-3';
|
|
8845
|
+
type ShadowStyle = {
|
|
8846
|
+
value?: ShadowProps;
|
|
8847
|
+
state?: StateType;
|
|
8848
|
+
styleAppliedFor?: ShadowStyleApplied;
|
|
8849
|
+
isEnableShadow?: boolean;
|
|
8850
|
+
};
|
|
8851
|
+
type ShadowProps = {
|
|
8852
|
+
type?: ShadowType | 'custom' | 'none';
|
|
8853
|
+
angle?: string | number;
|
|
8854
|
+
distance?: string;
|
|
8855
|
+
blur?: string;
|
|
8856
|
+
spread?: string;
|
|
8857
|
+
color?: ColorValueType;
|
|
8858
|
+
};
|
|
8859
|
+
type Border = {
|
|
8860
|
+
borderType?: BorderTypeName;
|
|
8861
|
+
border?: BorderStyle$1;
|
|
8862
|
+
color?: ColorValueType;
|
|
8863
|
+
width?: string;
|
|
8864
|
+
isCustom?: boolean;
|
|
8865
|
+
position?: BorderPosition;
|
|
8866
|
+
borderWidth?: string;
|
|
8867
|
+
};
|
|
8868
|
+
type BorderTypeName = 'none' | 'style-1' | 'style-2' | 'style-3';
|
|
8869
|
+
type BorderStyle$1 = 'none' | 'solid' | 'dotted' | 'dashed';
|
|
8870
|
+
type BorderPosition = 'top' | 'left' | 'right' | 'bottom' | 'all';
|
|
8871
|
+
type SwatchesOptionType = 'radio_buttons' | 'dropdown' | 'color' | 'image' | 'rectangle_list' | 'image_shopify' | string;
|
|
8872
|
+
declare const OptionNormalStyle: string[];
|
|
8873
|
+
declare const OptionSpecialStyle: string[];
|
|
8874
|
+
type SwatchesOptionValue = {
|
|
8875
|
+
label?: string;
|
|
8876
|
+
colors?: string[];
|
|
8877
|
+
imageUrl?: string;
|
|
8878
|
+
};
|
|
8879
|
+
type GlobalSwatchesData = {
|
|
8880
|
+
optionTitle: string;
|
|
8881
|
+
optionType: SwatchesOptionType;
|
|
8882
|
+
optionValues: SwatchesOptionValue[];
|
|
8883
|
+
};
|
|
8884
|
+
type PaddingType = {
|
|
8885
|
+
type?: 'small' | 'medium' | 'large' | 'custom';
|
|
8886
|
+
top?: string;
|
|
8887
|
+
left?: string;
|
|
8888
|
+
bottom?: string;
|
|
8889
|
+
right?: string;
|
|
8890
|
+
linked?: boolean;
|
|
8891
|
+
};
|
|
8892
|
+
|
|
8893
|
+
type ShadowV2ControlType<T> = SharedControlType<T> & {
|
|
8894
|
+
type: 'shadow-v2';
|
|
8895
|
+
value?: ShadowProps;
|
|
8896
|
+
};
|
|
8897
|
+
|
|
8898
|
+
type BackgroundMediaControlType<T> = SharedControlType<T> & {
|
|
8899
|
+
type: 'background-media';
|
|
8900
|
+
value?: BackgroundMedia;
|
|
8901
|
+
showVideo?: Boolean;
|
|
8902
|
+
};
|
|
8903
|
+
type BackgroundMedia = {
|
|
8904
|
+
type: 'color' | 'image' | 'video';
|
|
8905
|
+
color?: string;
|
|
8906
|
+
image?: {
|
|
8907
|
+
src?: string;
|
|
8908
|
+
width?: number;
|
|
8909
|
+
height?: number;
|
|
8910
|
+
backupFileKey?: string;
|
|
8911
|
+
storage?: 'THEME' | 'FILE_CONTENT';
|
|
8912
|
+
backupFilePath?: string;
|
|
8913
|
+
};
|
|
8914
|
+
size?: BgSize;
|
|
8915
|
+
position?: BgPosition;
|
|
8916
|
+
repeat?: BgRepeat;
|
|
8917
|
+
attachment?: BgAttachment;
|
|
8918
|
+
video?: string;
|
|
8919
|
+
videoHtml5?: string;
|
|
8920
|
+
videoType?: 'youtube' | 'html5';
|
|
8921
|
+
loop?: boolean;
|
|
8922
|
+
lazyLoad?: boolean;
|
|
8923
|
+
preload?: boolean;
|
|
8924
|
+
};
|
|
8925
|
+
type BgSize = 'cover' | 'contain';
|
|
8926
|
+
type BgRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
8927
|
+
type BgPosition = {
|
|
8928
|
+
x: number;
|
|
8929
|
+
y: number;
|
|
8930
|
+
};
|
|
8931
|
+
type BgAttachment = 'scroll' | 'fixed' | 'local';
|
|
8932
|
+
|
|
8933
|
+
type SwitchControlType<T> = SharedControlType<T> & {
|
|
8934
|
+
type: 'switch';
|
|
8935
|
+
readonly?: boolean;
|
|
8936
|
+
};
|
|
8937
|
+
|
|
8938
|
+
type ImageV2ControlType<T> = SharedControlType<T> & {
|
|
8939
|
+
type: 'image-v2';
|
|
8940
|
+
};
|
|
8941
|
+
|
|
8942
|
+
type ComboControlType<T> = SharedControlType<T> & {
|
|
8943
|
+
type: 'combo';
|
|
8944
|
+
readonly?: boolean;
|
|
8945
|
+
};
|
|
8946
|
+
|
|
8947
|
+
type Option$1<T> = {
|
|
8948
|
+
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
8949
|
+
label?: string | number;
|
|
8950
|
+
iconName?: string;
|
|
8951
|
+
type?: string;
|
|
8952
|
+
noPadding?: string;
|
|
8953
|
+
};
|
|
8954
|
+
type Mapped$1<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
8955
|
+
id: K;
|
|
8956
|
+
label: string;
|
|
8957
|
+
info?: string;
|
|
8958
|
+
hide?: boolean;
|
|
8959
|
+
hideOnMode?: {
|
|
8960
|
+
responsive?: boolean;
|
|
8961
|
+
mobileOnly?: boolean;
|
|
8962
|
+
};
|
|
8963
|
+
disableToggle?: boolean;
|
|
8964
|
+
state?: {
|
|
8965
|
+
normal?: boolean;
|
|
8966
|
+
hover?: boolean;
|
|
8967
|
+
focus?: boolean;
|
|
8968
|
+
active?: boolean;
|
|
8969
|
+
};
|
|
8970
|
+
placeholder?: string;
|
|
8971
|
+
type: 'layout-selector';
|
|
8972
|
+
options: Option$1<T>[];
|
|
8973
|
+
groups?: {
|
|
8974
|
+
label: string;
|
|
8975
|
+
options: Option$1<T>[];
|
|
8976
|
+
}[];
|
|
8977
|
+
devices?: ResponsiveConfig<U>;
|
|
8978
|
+
iconViewBox?: string;
|
|
8979
|
+
enableItemBackground?: boolean;
|
|
8980
|
+
itemPerRow?: number;
|
|
8981
|
+
itemSpacing?: 'large' | 'small';
|
|
8982
|
+
enableTooltip?: boolean;
|
|
8983
|
+
} : {
|
|
8984
|
+
id: K;
|
|
8985
|
+
label: string;
|
|
8986
|
+
info?: string;
|
|
8987
|
+
hide?: boolean;
|
|
8988
|
+
hideOnMode?: {
|
|
8989
|
+
responsive?: boolean;
|
|
8990
|
+
mobileOnly?: boolean;
|
|
8991
|
+
};
|
|
8992
|
+
disableToggle?: boolean;
|
|
8993
|
+
state?: {
|
|
8994
|
+
normal?: boolean;
|
|
8995
|
+
hover?: boolean;
|
|
8996
|
+
focus?: boolean;
|
|
8997
|
+
active?: boolean;
|
|
8998
|
+
};
|
|
8999
|
+
placeholder?: string;
|
|
9000
|
+
type: 'layout-selector';
|
|
9001
|
+
itemPerRow?: number;
|
|
9002
|
+
itemSpacing?: 'large' | 'small';
|
|
9003
|
+
options?: Option$1<T>[];
|
|
9004
|
+
groups?: {
|
|
9005
|
+
label: string;
|
|
9006
|
+
options: Option$1<T>[];
|
|
9007
|
+
}[];
|
|
9008
|
+
iconViewBox?: string;
|
|
9009
|
+
enableItemBackground?: boolean;
|
|
9010
|
+
enableTooltip?: boolean;
|
|
9011
|
+
default?: T;
|
|
9012
|
+
};
|
|
9013
|
+
type LayoutSelectorControlType<T> = {
|
|
9014
|
+
[K in keyof T]-?: Mapped$1<K, T[K]>;
|
|
9015
|
+
}[keyof T];
|
|
9016
|
+
|
|
9017
|
+
type Option<T> = {
|
|
9018
|
+
value: T extends ObjectDevices<infer U> ? U extends StateProp<infer A> ? A : U : T extends StateProp<infer B> ? B : T;
|
|
9019
|
+
label?: string | number;
|
|
9020
|
+
type?: string;
|
|
9021
|
+
icon?: string;
|
|
9022
|
+
tooltip?: string;
|
|
9023
|
+
iconName?: string;
|
|
9024
|
+
};
|
|
9025
|
+
type Mapped<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
9026
|
+
id: K;
|
|
9027
|
+
label?: string;
|
|
9028
|
+
info?: string;
|
|
9029
|
+
hide?: boolean;
|
|
9030
|
+
hideOnMode?: {
|
|
9031
|
+
responsive?: boolean;
|
|
9032
|
+
mobileOnly?: boolean;
|
|
9033
|
+
};
|
|
9034
|
+
disableToggle?: boolean;
|
|
9035
|
+
state?: {
|
|
9036
|
+
normal?: boolean;
|
|
9037
|
+
hover?: boolean;
|
|
9038
|
+
focus?: boolean;
|
|
9039
|
+
active?: boolean;
|
|
9040
|
+
};
|
|
9041
|
+
placeholder?: string;
|
|
9042
|
+
type: 'segment-v2';
|
|
9043
|
+
options: Option<T>[];
|
|
9044
|
+
iconCustom?: boolean;
|
|
9045
|
+
devices?: ResponsiveConfig<U>;
|
|
9046
|
+
} : {
|
|
9047
|
+
id: K;
|
|
9048
|
+
label?: string;
|
|
9049
|
+
info?: string;
|
|
9050
|
+
hide?: boolean;
|
|
9051
|
+
hideOnMode?: {
|
|
9052
|
+
responsive?: boolean;
|
|
9053
|
+
mobileOnly?: boolean;
|
|
9054
|
+
};
|
|
9055
|
+
disableToggle?: boolean;
|
|
9056
|
+
state?: {
|
|
9057
|
+
normal?: boolean;
|
|
9058
|
+
hover?: boolean;
|
|
9059
|
+
focus?: boolean;
|
|
9060
|
+
active?: boolean;
|
|
9061
|
+
};
|
|
9062
|
+
placeholder?: string;
|
|
9063
|
+
type: 'segment-v2';
|
|
9064
|
+
options: Option<T>[];
|
|
9065
|
+
iconCustom?: boolean;
|
|
9066
|
+
default?: T;
|
|
9067
|
+
};
|
|
9068
|
+
type SegmentV2ControlType<T> = {
|
|
9069
|
+
[K in keyof T]-?: Mapped<K, T[K]>;
|
|
9070
|
+
}[keyof T];
|
|
9071
|
+
|
|
9072
|
+
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
9073
|
type ControlTriggerAction = {
|
|
8494
9074
|
controlId: string;
|
|
8495
9075
|
newValue?: any;
|
|
@@ -8515,6 +9095,7 @@ type ComponentSetting<P extends BaseProps> = {
|
|
|
8515
9095
|
image?: string;
|
|
8516
9096
|
icon?: string;
|
|
8517
9097
|
settings?: Setting<P>[];
|
|
9098
|
+
settingsV2?: Setting<P>[];
|
|
8518
9099
|
advanced?: Record<string, any>;
|
|
8519
9100
|
rootOverride?: Record<string, any>;
|
|
8520
9101
|
init?: InitComponentType[] | {
|
|
@@ -8562,6 +9143,7 @@ type ComponentSetting<P extends BaseProps> = {
|
|
|
8562
9143
|
};
|
|
8563
9144
|
};
|
|
8564
9145
|
ui?: ControlUI[];
|
|
9146
|
+
uiV2?: SettingUIGroup[];
|
|
8565
9147
|
presets?: ComponentPreset[];
|
|
8566
9148
|
locales?: Record<string, any>;
|
|
8567
9149
|
};
|
|
@@ -8641,6 +9223,7 @@ type PageContext = {
|
|
|
8641
9223
|
pageType?: string;
|
|
8642
9224
|
isTranslateWithLocale?: boolean;
|
|
8643
9225
|
sectionName?: string;
|
|
9226
|
+
isOptimizePlan?: boolean;
|
|
8644
9227
|
};
|
|
8645
9228
|
type OnlyOne<T, U> = (T & {
|
|
8646
9229
|
[K in keyof U]?: never;
|
|
@@ -31049,172 +31632,6 @@ declare namespace appAPI {
|
|
|
31049
31632
|
};
|
|
31050
31633
|
}
|
|
31051
31634
|
|
|
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
31635
|
type ProductInputAnalytic = {
|
|
31219
31636
|
id: string;
|
|
31220
31637
|
name: string;
|
|
@@ -31501,11 +31918,6 @@ declare const useProductListStore: <U>(selector: (state: ExtractState<StoreApi<P
|
|
|
31501
31918
|
|
|
31502
31919
|
type MediaSelectFragment = Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>;
|
|
31503
31920
|
|
|
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
31921
|
type ProductSelectFragment = Pick<Product$1, 'tags' | 'id' | 'title' | 'createdAt' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
|
|
31510
31922
|
collections?: Maybe$1<{
|
|
31511
31923
|
edges: Array<{
|
|
@@ -31533,17 +31945,6 @@ type ProductSelectFragment = Pick<Product$1, 'tags' | 'id' | 'title' | 'createdA
|
|
|
31533
31945
|
featuredImage?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
31534
31946
|
};
|
|
31535
31947
|
|
|
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
31948
|
type AttributeProp = {
|
|
31548
31949
|
key: string;
|
|
31549
31950
|
value?: string;
|
|
@@ -31572,6 +31973,10 @@ type ProductContextProps = {
|
|
|
31572
31973
|
updatePrice?: boolean;
|
|
31573
31974
|
hasPreSelected?: boolean;
|
|
31574
31975
|
setHasPreSelected: (value: boolean) => void;
|
|
31976
|
+
requireUpload?: boolean;
|
|
31977
|
+
setRequireUpload: (value: boolean) => void;
|
|
31978
|
+
shouldRequireUploadMessage?: boolean;
|
|
31979
|
+
setShouldRequireUploadMessage: (value: boolean) => void;
|
|
31575
31980
|
useProductCompareAtPrice?: boolean;
|
|
31576
31981
|
setUseProductCompareAtPrice: (value?: boolean) => void;
|
|
31577
31982
|
};
|
|
@@ -31619,6 +32024,7 @@ type ShopContextProps = {
|
|
|
31619
32024
|
isStorefront?: boolean;
|
|
31620
32025
|
createThemeSectionCount?: number;
|
|
31621
32026
|
plan?: string;
|
|
32027
|
+
timezone?: string;
|
|
31622
32028
|
generateContentLimitation?: {
|
|
31623
32029
|
isAllow: boolean;
|
|
31624
32030
|
maxGenerateCount?: number;
|
|
@@ -31687,6 +32093,17 @@ type PageProviderProps = Pick<PageContextProps, 'dynamicProduct' | 'dynamicColle
|
|
|
31687
32093
|
declare const PageProvider: React.FC<PageProviderProps>;
|
|
31688
32094
|
declare const usePageStore: <U>(selector: (state: ExtractState<StoreApi<PageContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
|
|
31689
32095
|
|
|
32096
|
+
type CollectionSelectFragment = Pick<Collection$1, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'title' | 'handle' | 'description' | 'descriptionHtml' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'tags' | 'isStorefront' | 'isSample'> & {
|
|
32097
|
+
products?: Maybe$1<Pick<ProductConnection$1, 'totalCount'> & {
|
|
32098
|
+
edges: Array<{
|
|
32099
|
+
node?: Maybe$1<Pick<Product$1, 'id' | 'title' | 'handle' | 'description' | 'status'> & {
|
|
32100
|
+
featuredImage?: Maybe$1<Pick<Media$1, 'src'>>;
|
|
32101
|
+
}>;
|
|
32102
|
+
}>;
|
|
32103
|
+
}>;
|
|
32104
|
+
collectionMedia?: Maybe$1<Pick<CollectionMedia$1, 'src'>>;
|
|
32105
|
+
};
|
|
32106
|
+
|
|
31690
32107
|
type CollectionContextProps = {
|
|
31691
32108
|
collection?: CollectionSelectFragment;
|
|
31692
32109
|
changeCollectionStore: (args: {
|
|
@@ -31892,6 +32309,7 @@ type PublishedThemePagesQueryResponse = {
|
|
|
31892
32309
|
themePageCustomCode?: Maybe$1<Pick<CustomCode$1, 'body' | 'header'>>;
|
|
31893
32310
|
themePageCustomFonts?: Maybe$1<Array<Maybe$1<CustomFont$1>>>;
|
|
31894
32311
|
interaction?: Maybe$1<Pick<PublishedPageInteraction$1, 'id' | 'value'>>;
|
|
32312
|
+
metafiels?: Maybe$1<Array<Maybe$1<Pick<PublishedThemePageMeta$1, 'id' | 'key' | 'value'>>>>;
|
|
31895
32313
|
}>>>;
|
|
31896
32314
|
};
|
|
31897
32315
|
declare const PublishedThemePagesDocument: string;
|
|
@@ -31969,11 +32387,23 @@ type PreviewThemePageQueryResponse = {
|
|
|
31969
32387
|
analytic?: Maybe$1<Pick<Analytic$1, 'fbPixelID' | 'gaTrackingID' | 'tiktokPixelID'>>;
|
|
31970
32388
|
customCode?: Maybe$1<Pick<CustomCode$1, 'body' | 'header'>>;
|
|
31971
32389
|
customFonts?: Maybe$1<Array<Maybe$1<Pick<CustomFont$1, 'backupFilePath' | 'fontFamily' | 'fontStyle' | 'fontWeight' | 'mimeType' | 'filePath'>>>>;
|
|
31972
|
-
interaction?: Maybe$1<Pick<PreviewPageInteraction, 'id' | 'value'>>;
|
|
31973
32390
|
}>;
|
|
31974
32391
|
};
|
|
31975
32392
|
declare const PreviewThemePageDocument: string;
|
|
31976
32393
|
|
|
32394
|
+
type ShopShopifyQueryVariables = Exact$1<{
|
|
32395
|
+
[key: string]: never;
|
|
32396
|
+
}>;
|
|
32397
|
+
type ShopShopifyQueryResponse = {
|
|
32398
|
+
shopShopify?: Maybe$1<Pick<ShopShopify$1, 'timezone'>>;
|
|
32399
|
+
};
|
|
32400
|
+
declare const ShopShopifyDocument = "\n query shopShopify {\n shopShopify {\n timezone\n }\n}\n ";
|
|
32401
|
+
|
|
32402
|
+
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'> & {
|
|
32403
|
+
selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
|
|
32404
|
+
media?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
|
|
32405
|
+
};
|
|
32406
|
+
|
|
31977
32407
|
type LibraryTemplateQueryVariables = Exact<{
|
|
31978
32408
|
libraryTemplateId: Scalars['ID'];
|
|
31979
32409
|
}>;
|
|
@@ -32054,6 +32484,7 @@ declare const handleConvertBorderColor: (value?: BorderStyle) => React.CSSProper
|
|
|
32054
32484
|
declare const handleConvertClassColor: (value?: BorderStyle) => string | undefined;
|
|
32055
32485
|
declare const handleConvertClassColorDynamicBtn: (value?: BorderStyle) => string | undefined;
|
|
32056
32486
|
declare const composeBorderCss: (borderV?: Border | undefined) => string;
|
|
32487
|
+
declare const composeBorderResponsive: (borderValue?: ObjectDevices<Border>) => React.CSSProperties;
|
|
32057
32488
|
|
|
32058
32489
|
type DotStyle = 'none' | 'inside' | 'outside';
|
|
32059
32490
|
declare const getCarouselContainerHeight: <T>(dotStyle?: Partial<Record<NameDevices$1, T>> | undefined) => {
|
|
@@ -32215,15 +32646,15 @@ declare const makeHeight: (heighValue?: ObjectDevices<string | number>, autoHeig
|
|
|
32215
32646
|
declare const makeAspectRatio: (aspectRatio?: ObjectDevices<string>, aspectWidth?: ObjectDevices<string | number>, aspectHeight?: ObjectDevices<string | number>) => ObjectDevices<string>;
|
|
32216
32647
|
declare const makeLineClamp: (lineClampValue?: ObjectDevices<number>, hasLineClampValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
|
|
32217
32648
|
|
|
32218
|
-
type Devices = 'desktop' | 'tablet' | 'mobile';
|
|
32219
|
-
type Options = {
|
|
32649
|
+
type Devices$1 = 'desktop' | 'tablet' | 'mobile';
|
|
32650
|
+
type Options$1 = {
|
|
32220
32651
|
liquid?: boolean;
|
|
32221
32652
|
ignoreBgAttachment?: boolean;
|
|
32222
32653
|
ignoreBackgroundImage?: boolean;
|
|
32223
32654
|
ignoreBackgroundImageProperties?: boolean;
|
|
32224
32655
|
ignoreBackgroundColor?: boolean;
|
|
32225
32656
|
};
|
|
32226
|
-
declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options) => {
|
|
32657
|
+
declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options$1) => {
|
|
32227
32658
|
"--bga"?: string | undefined;
|
|
32228
32659
|
"--bga-tablet"?: string | undefined;
|
|
32229
32660
|
"--bga-mobile"?: string | undefined;
|
|
@@ -32244,7 +32675,7 @@ declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background
|
|
|
32244
32675
|
"--bgc-mobile"?: string | undefined;
|
|
32245
32676
|
};
|
|
32246
32677
|
declare const getStyleBgColor: (background: ObjectDevices<Background>) => Record<ResponsiveKey<"bgc">, string>;
|
|
32247
|
-
declare const getBgImageByDevice: (background: ObjectDevices<Background>, device: Devices, options?: Options) => string | undefined;
|
|
32678
|
+
declare const getBgImageByDevice: (background: ObjectDevices<Background>, device: Devices$1, options?: Options$1) => string | undefined;
|
|
32248
32679
|
declare const composeBackgroundCss: (backgroundColor?: ColorValueType) => string;
|
|
32249
32680
|
declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) => {
|
|
32250
32681
|
wrapper: {
|
|
@@ -32256,7 +32687,23 @@ declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) =>
|
|
|
32256
32687
|
} | undefined;
|
|
32257
32688
|
declare const GRADIENT_BGR_KEY = "linear-gradient";
|
|
32258
32689
|
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;
|
|
32690
|
+
declare const getGradientBgrStyleByDevice: (backgroundStyle: Partial<Record<Devices$1, Background>> | undefined, ignoreBackgroundImage?: Record<Devices$1, boolean>) => {} | undefined;
|
|
32691
|
+
|
|
32692
|
+
type Devices = 'desktop' | 'tablet' | 'mobile';
|
|
32693
|
+
type Options = {
|
|
32694
|
+
liquid?: boolean;
|
|
32695
|
+
ignoreBgAttachment?: boolean;
|
|
32696
|
+
ignoreBackgroundImage?: boolean;
|
|
32697
|
+
ignoreBackgroundImageProperties?: boolean;
|
|
32698
|
+
};
|
|
32699
|
+
declare const getStyleBackgroundImageByDevice: (backgroundImage?: ObjectDevices<StateProp<BackgroundImageValue>>, options?: Options) => {};
|
|
32700
|
+
declare const getStyleBgImageSource: (backgroundImage: ObjectDevices<StateProp<BackgroundImageValue>>, options?: Options) => {};
|
|
32701
|
+
declare const getBgImageSourceByDevice: (backgroundImage: ObjectDevices<StateProp<BackgroundImageValue>>, device: Devices, state: StateType, options?: Options) => string | undefined;
|
|
32702
|
+
declare const composeBackgroundImageCss: (config?: ObjectDevices<StateProp<BackgroundImageValue>>, options?: {
|
|
32703
|
+
useLiquid?: boolean;
|
|
32704
|
+
device?: 'desktop' | 'tablet' | 'mobile';
|
|
32705
|
+
state?: 'normal' | 'hover';
|
|
32706
|
+
}) => string | undefined;
|
|
32260
32707
|
|
|
32261
32708
|
type ColorType = 'bg' | 'text' | 'border' | 'decoration';
|
|
32262
32709
|
type ColorProp = 'bgc' | 'bc' | 'c' | 'bg';
|
|
@@ -38392,8 +38839,10 @@ declare const gridToArrayRegex: RegExp;
|
|
|
38392
38839
|
declare const optionLayoutStyle: (column?: ObjectDevices<string | number>) => React.CSSProperties;
|
|
38393
38840
|
declare const composeGridLayout: (layout?: ObjectDevices<ObjectLayoutValue>) => React.CSSProperties;
|
|
38394
38841
|
declare const convertOldLayout: (layout?: ObjectDevices<string>) => ObjectDevices<ObjectLayoutValue>;
|
|
38842
|
+
declare const getLayoutClasses: (layout: Partial<Record<NameDevices$1, string>> | undefined) => Record<string, boolean>;
|
|
38395
38843
|
|
|
38396
38844
|
declare const convertTextAlignToJustify: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
|
|
38845
|
+
declare const getAlignmentClasses: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
|
|
38397
38846
|
|
|
38398
38847
|
declare function checkInStock(variant?: VariantSelectFragment, product?: ProductSelectFragment): boolean;
|
|
38399
38848
|
|
|
@@ -39985,6 +40434,9 @@ declare const getResponsiveStyleShadow: (value?: any, styleAppliedFor?: ShadowSt
|
|
|
39985
40434
|
textAnchor?: csstype.Property.TextAnchor | undefined;
|
|
39986
40435
|
vectorEffect?: csstype.Property.VectorEffect | undefined;
|
|
39987
40436
|
} | undefined;
|
|
40437
|
+
declare const getResponsiveStyleShadowWithoutState: (value?: any, styleAppliedFor?: ShadowStyleApplied, isEnableShadow?: any) => {
|
|
40438
|
+
[x: string]: string;
|
|
40439
|
+
} | undefined;
|
|
39988
40440
|
declare const composeShadowCss: ({ hasBoxShadow, boxShadowValue, important, }: {
|
|
39989
40441
|
hasBoxShadow?: boolean | undefined;
|
|
39990
40442
|
boxShadowValue?: ShadowProps | undefined;
|
|
@@ -40022,11 +40474,18 @@ declare const getWidthByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSett
|
|
|
40022
40474
|
declare const getAspectRatioGlobalSize: (shape?: ObjectDevices<SizeSettingGlobal>) => ObjectDevices<string>;
|
|
40023
40475
|
declare const getPaddingGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) => React.CSSProperties;
|
|
40024
40476
|
declare const getValueByDevice: <T>(value: any, device: NameDevices$1) => T;
|
|
40477
|
+
declare const getPaddingStyleByDevice: (value?: PaddingType, device?: NameDevices$1) => {
|
|
40478
|
+
[x: string]: string | undefined;
|
|
40479
|
+
};
|
|
40480
|
+
declare const getResponsiveStylePadding: (value?: ObjectDevices<PaddingType>) => {
|
|
40481
|
+
[x: string]: string | undefined;
|
|
40482
|
+
} | undefined;
|
|
40025
40483
|
|
|
40026
40484
|
type TypographyClass = `gp-g-${TypographyType}`;
|
|
40027
40485
|
declare const genTypoClass: (name: TypographyType) => TypographyClass;
|
|
40028
40486
|
declare const composeTypographyCss: (typography: TypographySetting | undefined) => string;
|
|
40029
40487
|
declare const composeTypographyV2Css: (typography: TypographySettingV2 | undefined, isImportant?: boolean) => string;
|
|
40488
|
+
declare const composeTextHoverColorCss: (device: NameDevices$1, colorHoverConfig?: ObjectDevices<StateProp<ColorValueType>>, isImportant?: boolean) => string | undefined;
|
|
40030
40489
|
declare const composeTypography: (typography?: ObjectDevices<TypographyProps>) => React.CSSProperties;
|
|
40031
40490
|
declare const composeTypographyV2: (value?: TypographyV2Props, attrs?: TypographyV2Attrs) => React.CSSProperties;
|
|
40032
40491
|
declare const composeFontFamilyTypographyV2: (value?: TypographyV2Props & {
|
|
@@ -41569,7 +42028,7 @@ type ArticlesQueryVariables = Exact$1<{
|
|
|
41569
42028
|
type ArticlesQueryResponse = {
|
|
41570
42029
|
articles?: Maybe$1<(Pick<ArticleConnection$1, 'totalCount'> & {
|
|
41571
42030
|
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'> & {
|
|
42031
|
+
node?: Maybe$1<(Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'isSample' | 'platformCreatedAt' | 'platformUpdatedAt' | 'author'> & {
|
|
41573
42032
|
tags: Array<never>;
|
|
41574
42033
|
content?: Maybe$1<Pick<ArticleContent$1, 'excerptHtml'>>;
|
|
41575
42034
|
blogs?: Maybe$1<{
|
|
@@ -41594,12 +42053,12 @@ type BlogsQueryVariables = Exact$1<{
|
|
|
41594
42053
|
articlesOrderBy?: InputMaybe$1<ArticleOrder$1>;
|
|
41595
42054
|
}>;
|
|
41596
42055
|
type BlogsQueryResponse = {
|
|
41597
|
-
blogs?: Maybe$1<
|
|
41598
|
-
edges: Array<
|
|
41599
|
-
node?: Maybe$1<
|
|
41600
|
-
articles?: Maybe$1<
|
|
41601
|
-
edges: Array<
|
|
41602
|
-
node?: Maybe$1<
|
|
42056
|
+
blogs?: Maybe$1<Pick<BlogConnection$1, 'totalCount'> & {
|
|
42057
|
+
edges: Array<Pick<BlogEdge$1, 'cursor'> & {
|
|
42058
|
+
node?: Maybe$1<Pick<Blog$1, 'baseID' | 'description' | 'descriptionMeta' | 'handle' | 'id' | 'platform' | 'tags' | 'templateSuffix' | 'title' | 'titleMeta'> & {
|
|
42059
|
+
articles?: Maybe$1<Pick<ArticleConnection$1, 'totalCount'> & {
|
|
42060
|
+
edges: Array<Pick<ArticleEdge$1, 'cursor'> & {
|
|
42061
|
+
node?: Maybe$1<Pick<Article$2, 'id' | 'title' | 'handle' | 'description' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'isSample' | 'platformCreatedAt' | 'platformUpdatedAt' | 'author'> & {
|
|
41603
42062
|
tags: Array<never>;
|
|
41604
42063
|
content?: Maybe$1<Pick<ArticleContent$1, 'excerptHtml'>>;
|
|
41605
42064
|
blogs?: Maybe$1<{
|
|
@@ -41608,13 +42067,13 @@ type BlogsQueryResponse = {
|
|
|
41608
42067
|
}>;
|
|
41609
42068
|
}>;
|
|
41610
42069
|
media?: Maybe$1<Pick<Media$1, 'alt' | 'width' | 'src' | 'height'>>;
|
|
41611
|
-
}
|
|
41612
|
-
}
|
|
41613
|
-
}
|
|
41614
|
-
}
|
|
41615
|
-
}
|
|
42070
|
+
}>;
|
|
42071
|
+
}>;
|
|
42072
|
+
}>;
|
|
42073
|
+
}>;
|
|
42074
|
+
}>;
|
|
41616
42075
|
pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor'>>;
|
|
41617
|
-
}
|
|
42076
|
+
}>;
|
|
41618
42077
|
};
|
|
41619
42078
|
|
|
41620
42079
|
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 +42082,7 @@ declare const useBlogsQuery: (variables: BlogsQueryVariables | null, options?: S
|
|
|
41623
42082
|
type Func$6 = ReturnType<typeof addToCartOperation>;
|
|
41624
42083
|
type Response$6 = Awaited<ReturnType<Func$6>>;
|
|
41625
42084
|
type Args$5 = Parameters<Func$6>[0];
|
|
41626
|
-
declare const useAddToCart: (options?: SWRMutationConfiguration<Response$6, any,
|
|
42085
|
+
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
42086
|
|
|
41628
42087
|
type Func$5 = ReturnType<typeof getCartOperation>;
|
|
41629
42088
|
type Response$5 = Awaited<ReturnType<Func$5>>;
|
|
@@ -41632,27 +42091,27 @@ declare const useCartData: (options?: SWRConfiguration<Response$5 | undefined, a
|
|
|
41632
42091
|
type Func$4 = ReturnType<typeof cartDiscountCodesUpdateOperation>;
|
|
41633
42092
|
type Response$4 = Awaited<ReturnType<Func$4>>;
|
|
41634
42093
|
type Args$4 = Parameters<Func$4>[0];
|
|
41635
|
-
declare const useCartDiscountCodesUpdate: (options?: SWRMutationConfiguration<Response$4, any,
|
|
42094
|
+
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
42095
|
|
|
41637
42096
|
type Func$3 = ReturnType<typeof cartNoteUpdateOperation>;
|
|
41638
42097
|
type Response$3 = Awaited<ReturnType<Func$3>>;
|
|
41639
42098
|
type Args$3 = Parameters<Func$3>[0];
|
|
41640
|
-
declare const useCartNoteUpdate: (options?: SWRMutationConfiguration<Response$3, any,
|
|
42099
|
+
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
42100
|
|
|
41642
42101
|
type Func$2 = ReturnType<typeof createCartOperation>;
|
|
41643
42102
|
type Response$2 = Awaited<ReturnType<Func$2>>;
|
|
41644
42103
|
type Args$2 = Parameters<Func$2>[0];
|
|
41645
|
-
declare const useCreateCart: (options?: SWRMutationConfiguration<Response$2, any,
|
|
42104
|
+
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
42105
|
|
|
41647
42106
|
type Func$1 = ReturnType<typeof removeCartItemOperation>;
|
|
41648
42107
|
type Response$1 = Awaited<ReturnType<Func$1>>;
|
|
41649
42108
|
type Args$1 = Parameters<Func$1>[0];
|
|
41650
|
-
declare const useRemoveCartItem: (options?: SWRMutationConfiguration<Response$1, any,
|
|
42109
|
+
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
42110
|
|
|
41652
42111
|
type Func = ReturnType<typeof updateCartLineOperation>;
|
|
41653
42112
|
type Response = Awaited<ReturnType<Func>>;
|
|
41654
42113
|
type Args = Parameters<Func>[0];
|
|
41655
|
-
declare const useUpdateCartItem: (options?: SWRMutationConfiguration<Response, any,
|
|
42114
|
+
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
42115
|
|
|
41657
42116
|
declare const useLocale: () => {
|
|
41658
42117
|
locale: string | undefined;
|
|
@@ -41662,6 +42121,9 @@ declare const useCurrency: () => {
|
|
|
41662
42121
|
currency: string | undefined;
|
|
41663
42122
|
changeCurrency: (currency: string) => void;
|
|
41664
42123
|
};
|
|
42124
|
+
declare const useTimezone: () => {
|
|
42125
|
+
timezone: string | undefined;
|
|
42126
|
+
};
|
|
41665
42127
|
declare const useMoneyFormat: () => {
|
|
41666
42128
|
moneyFormat: string | undefined;
|
|
41667
42129
|
moneyWithCurrencyFormat: string | undefined;
|
|
@@ -41800,6 +42262,10 @@ declare const useProductBundleDiscount: () => {
|
|
|
41800
42262
|
useProductCompareAtPrice: boolean | undefined;
|
|
41801
42263
|
seUseProductCompareAtPrice: (value?: boolean | undefined) => void;
|
|
41802
42264
|
};
|
|
42265
|
+
declare const useProductShopifyEditLink: () => {
|
|
42266
|
+
linkEditProduct: string;
|
|
42267
|
+
redirectProductShopifyLink: () => void;
|
|
42268
|
+
};
|
|
41803
42269
|
declare const useQuantity: () => {
|
|
41804
42270
|
quantity: number | undefined;
|
|
41805
42271
|
hasUpdatePrice: boolean | undefined;
|
|
@@ -41835,6 +42301,16 @@ declare const useVariantOutStock: (optionId: string, optionValue: string, option
|
|
|
41835
42301
|
declare const useCheckAvailableVariantInStock: (optionId: string, optionValue: string) => boolean;
|
|
41836
42302
|
declare const useProductOfferDiscount: () => number;
|
|
41837
42303
|
|
|
42304
|
+
type ShopifyLinkParam = {
|
|
42305
|
+
productId?: string;
|
|
42306
|
+
articleId?: string;
|
|
42307
|
+
};
|
|
42308
|
+
declare const useShopifyLink: ({ productId, articleId }: ShopifyLinkParam) => {
|
|
42309
|
+
linkShopDefault: string;
|
|
42310
|
+
linkEditProduct: string;
|
|
42311
|
+
linkEditArticle: string;
|
|
42312
|
+
};
|
|
42313
|
+
|
|
41838
42314
|
declare const useProductList: () => CollectionProductSelectFragment | undefined;
|
|
41839
42315
|
declare const useProductListProducts: () => (ProductQuickSelectFragment | undefined)[] | undefined;
|
|
41840
42316
|
declare const useProductListSettings: () => {
|
|
@@ -41871,8 +42347,8 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'name'
|
|
|
41871
42347
|
pageStyle?: Maybe$1<Pick<PublishedThemeStyle$1, 'id' | 'data' | 'name'>>;
|
|
41872
42348
|
themePageAnalytic?: Maybe$1<Pick<Analytic$1, 'fbPixelID' | 'gaTrackingID' | 'tiktokPixelID'>>;
|
|
41873
42349
|
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
42350
|
interaction?: Maybe$1<Pick<PublishedPageInteraction$1, 'id' | 'value'>>;
|
|
42351
|
+
metafields?: Maybe$1<Array<Maybe$1<Pick<PublishedThemePageMeta$1, 'id' | 'key' | 'value'>>>>;
|
|
41876
42352
|
};
|
|
41877
42353
|
|
|
41878
42354
|
declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
|
|
@@ -41922,4 +42398,4 @@ declare const useInteraction: () => {
|
|
|
41922
42398
|
interactionListenerLoaded: (callback: () => void) => void;
|
|
41923
42399
|
};
|
|
41924
42400
|
|
|
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 };
|
|
42401
|
+
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, StampedWidgetTypeV2, 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 };
|