@gem-sdk/components 2.0.0-dev.692 → 2.0.0-dev.694
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/accordion/setting/configs/uiV2.js +1 -0
- package/dist/cjs/article/setting/configs/ArticleReadMore/settings.js +2 -0
- package/dist/cjs/breadcrumb/setting/configs/settings.js +1 -0
- package/dist/cjs/builder.js +6 -12
- package/dist/cjs/button/setting/configs/settings.js +1 -0
- package/dist/cjs/carousel/setting/configs/settingV2.js +3 -0
- package/dist/cjs/collection/setting/collection-banner/configs/settings.js +2 -2
- package/dist/cjs/countdown-timer/setting/configs/settings.js +2 -0
- package/dist/cjs/form/setting/submit-button/configs/settings.js +1 -0
- package/dist/cjs/grid/row/setting/configs/settings.js +5 -0
- package/dist/cjs/grid/section/setting/configs/settings.js +3 -0
- package/dist/cjs/icon-list/setting/configs/settings.js +2 -0
- package/dist/cjs/icon-list-hoz/setting/configs/settings.js +1 -0
- package/dist/cjs/index.js +32 -34
- package/dist/cjs/index.liquid.js +10 -16
- package/dist/cjs/marquee/setting/configs/settingsV2.js +1 -0
- package/dist/cjs/next.js +1 -3
- package/dist/cjs/product/components/ProductBundle/setting/uiV2.js +1 -0
- package/dist/cjs/product/components/ProductImagesV2/common/common.js +2 -1
- package/dist/cjs/product/index.js +4 -6
- package/dist/cjs/product/next.js +0 -4
- package/dist/cjs/product/setting/product/configs/settings.js +3 -0
- package/dist/cjs/product/setting/product-image-v2/configs/setting-v2/index.js +1 -0
- package/dist/cjs/product/setting/product-variant/configs/settings.js +2 -0
- package/dist/cjs/product/setting/product-view-more/configs/settings.js +1 -0
- package/dist/cjs/setting.js +76 -78
- package/dist/cjs/third-party/components/Bogos/BogosSampleContent.js +2 -1
- package/dist/cjs/third-party/components/Bogos.liquid.js +2 -0
- package/dist/cjs/third-party/setting/Bogos/index.js +5 -1
- package/dist/esm/accordion/setting/configs/uiV2.js +1 -0
- package/dist/esm/article/setting/configs/ArticleReadMore/settings.js +2 -0
- package/dist/esm/breadcrumb/setting/configs/settings.js +1 -0
- package/dist/esm/builder.js +0 -6
- package/dist/esm/button/setting/configs/settings.js +1 -0
- package/dist/esm/carousel/setting/configs/settingV2.js +3 -0
- package/dist/esm/collection/setting/collection-banner/configs/settings.js +2 -2
- package/dist/esm/countdown-timer/setting/configs/settings.js +2 -0
- package/dist/esm/form/setting/submit-button/configs/settings.js +1 -0
- package/dist/esm/grid/row/setting/configs/settings.js +5 -0
- package/dist/esm/grid/section/setting/configs/settings.js +3 -0
- package/dist/esm/icon-list/setting/configs/settings.js +2 -0
- package/dist/esm/icon-list-hoz/setting/configs/settings.js +1 -0
- package/dist/esm/index.js +0 -1
- package/dist/esm/index.liquid.js +0 -3
- package/dist/esm/marquee/setting/configs/settingsV2.js +1 -0
- package/dist/esm/next.js +1 -3
- package/dist/esm/product/components/ProductBundle/setting/uiV2.js +1 -0
- package/dist/esm/product/components/ProductImagesV2/common/common.js +2 -1
- package/dist/esm/product/index.js +24 -26
- package/dist/esm/product/next.js +0 -4
- package/dist/esm/product/setting/product/configs/settings.js +3 -0
- package/dist/esm/product/setting/product-image-v2/configs/setting-v2/index.js +1 -0
- package/dist/esm/product/setting/product-variant/configs/settings.js +2 -0
- package/dist/esm/product/setting/product-view-more/configs/settings.js +1 -0
- package/dist/esm/setting.js +0 -2
- package/dist/esm/third-party/components/Bogos/BogosSampleContent.js +2 -1
- package/dist/esm/third-party/components/Bogos.liquid.js +2 -0
- package/dist/esm/third-party/setting/Bogos/index.js +5 -1
- package/dist/types/index.d.ts +116 -551
- package/package.json +2 -2
- package/dist/cjs/product/components/ProductImagesV3/common/common.js +0 -360
- package/dist/cjs/product/components/ProductImagesV3/common/getAttr.js +0 -192
- package/dist/cjs/product/components/ProductImagesV3/common/getBorderActiveCss.js +0 -26
- package/dist/cjs/product/components/ProductImagesV3/common/getClasses.js +0 -94
- package/dist/cjs/product/components/ProductImagesV3/common/getStyle.js +0 -303
- package/dist/cjs/product/components/ProductImagesV3/common/hoverAction.js +0 -95
- package/dist/cjs/product/components/ProductImagesV3/common/productFeaturedImage.js +0 -59
- package/dist/cjs/product/components/ProductImagesV3/common/productGallery.js +0 -266
- package/dist/cjs/product/components/ProductImagesV3/components/child/MediaIcon.js +0 -63
- package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeatureVideo.js +0 -36
- package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeaturedImageCarousel.js +0 -109
- package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeaturedImageOnly.js +0 -139
- package/dist/cjs/product/components/ProductImagesV3/components/child/ProductGalleryGrid.js +0 -100
- package/dist/cjs/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.js +0 -77
- package/dist/cjs/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.liquid.js +0 -300
- package/dist/cjs/product/components/ProductImagesV3/components/feature-only/OnlyFeatureImage.js +0 -44
- package/dist/cjs/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.js +0 -83
- package/dist/cjs/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.liquid.js +0 -182
- package/dist/cjs/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.js +0 -30
- package/dist/cjs/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.liquid.js +0 -239
- package/dist/cjs/product/components/ProductImagesV3/components/lightbox/ButtonOpenLightBox.js +0 -28
- package/dist/cjs/product/components/ProductImagesV3/components/lightbox/ProductImagesLightBox.js +0 -144
- package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesAttr.js +0 -14
- package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesClassName.js +0 -54
- package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesStyles.js +0 -53
- package/dist/cjs/product/components/ProductImagesV3/hooks/useFeatureImageWithGallery.js +0 -55
- package/dist/cjs/product/components/ProductImagesV3/hooks/useFilterImagesByVariant.js +0 -41
- package/dist/cjs/product/components/ProductImagesV3/hooks/useGalleryCarousel.js +0 -134
- package/dist/cjs/product/components/ProductImagesV3/hooks/useProductFeaturedImageCarousel.js +0 -203
- package/dist/cjs/product/components/ProductImagesV3/hooks/useProductGalleryGrid.js +0 -87
- package/dist/cjs/product/components/ProductImagesV3/index.js +0 -291
- package/dist/cjs/product/components/ProductImagesV3/index.liquid.js +0 -153
- package/dist/cjs/product/setting/product-image-v3/ProductFeatureImage.js +0 -252
- package/dist/cjs/product/setting/product-image-v3/ProductGalleryImage.js +0 -251
- package/dist/cjs/product/setting/product-image-v3/ProductImages.js +0 -74
- package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/ProductFeatureImage.js +0 -388
- package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/ProductGalleryImage.js +0 -518
- package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/index.js +0 -336
- package/dist/cjs/product/setting/product-image-v3/configs/ui/FeatureNavigation.js +0 -118
- package/dist/cjs/product/setting/product-image-v3/configs/ui/ImageListNavigation.js +0 -119
- package/dist/cjs/product/setting/product-image-v3/configs/uiV1.js +0 -237
- package/dist/cjs/product/setting/product-image-v3/configs/uiV2.js +0 -491
- package/dist/cjs/swiper-carousel/arrow/Arrow.js +0 -52
- package/dist/cjs/swiper-carousel/arrow/Arrow.liquid.js +0 -46
- package/dist/cjs/swiper-carousel/arrow/common/common.js +0 -119
- package/dist/cjs/swiper-carousel/arrow/common/getClass.js +0 -50
- package/dist/cjs/swiper-carousel/arrow/common/getStyle.js +0 -84
- package/dist/cjs/swiper-carousel/carousel-item/SwiperItem.js +0 -34
- package/dist/cjs/swiper-carousel/carousel-item/SwiperItem.liquid.js +0 -38
- package/dist/cjs/swiper-carousel/carousel-item/common/getClass.js +0 -29
- package/dist/cjs/swiper-carousel/carousel-item/common/getStyle.js +0 -79
- package/dist/cjs/swiper-carousel/carousel-item/hook/useCarouseItem.js +0 -22
- package/dist/cjs/swiper-carousel/components/common/carousel.js +0 -98
- package/dist/cjs/swiper-carousel/components/const/index.js +0 -5
- package/dist/cjs/swiper-carousel/components/hooks/useTrackPreviewPause.js +0 -34
- package/dist/cjs/swiper-carousel/components/plugins/AnimationPlugin.js +0 -42
- package/dist/cjs/swiper-carousel/components/plugins/AutoPlayPlugin.js +0 -105
- package/dist/cjs/swiper-carousel/components/plugins/FixSliderMoveBackwards.js +0 -15
- package/dist/cjs/swiper-carousel/components/plugins/MutationPlugin.js +0 -45
- package/dist/cjs/swiper-carousel/dots/Dots.js +0 -51
- package/dist/cjs/swiper-carousel/dots/Dots.liquid.js +0 -26
- package/dist/cjs/swiper-carousel/dots/common/common.js +0 -28
- package/dist/cjs/swiper-carousel/dots/common/getClass.js +0 -40
- package/dist/cjs/swiper-carousel/dots/common/getStyle.js +0 -33
- package/dist/cjs/swiper-carousel/dots/hook/useDotsSetting.js +0 -21
- package/dist/cjs/swiper-carousel/index.js +0 -17
- package/dist/cjs/swiper-carousel/next.js +0 -22
- package/dist/cjs/swiper-carousel/root/Swiper.js +0 -128
- package/dist/cjs/swiper-carousel/root/Swiper.liquid.js +0 -104
- package/dist/cjs/swiper-carousel/root/common/getAttr.js +0 -25
- package/dist/cjs/swiper-carousel/root/common/getClass.js +0 -135
- package/dist/cjs/swiper-carousel/root/common/getData.js +0 -56
- package/dist/cjs/swiper-carousel/root/common/getStyle.js +0 -66
- package/dist/cjs/swiper-carousel/root/hook/useCarousel.js +0 -482
- package/dist/cjs/swiper-carousel/setting/Swiper.js +0 -42
- package/dist/cjs/swiper-carousel/setting/SwiperItem.js +0 -40
- package/dist/cjs/swiper-carousel/setting/configs/presets.js +0 -87
- package/dist/cjs/swiper-carousel/setting/configs/settingV2.js +0 -819
- package/dist/cjs/swiper-carousel/setting/configs/uiV2.js +0 -718
- package/dist/esm/product/components/ProductImagesV3/common/common.js +0 -344
- package/dist/esm/product/components/ProductImagesV3/common/getAttr.js +0 -189
- package/dist/esm/product/components/ProductImagesV3/common/getBorderActiveCss.js +0 -24
- package/dist/esm/product/components/ProductImagesV3/common/getClasses.js +0 -83
- package/dist/esm/product/components/ProductImagesV3/common/getStyle.js +0 -292
- package/dist/esm/product/components/ProductImagesV3/common/hoverAction.js +0 -92
- package/dist/esm/product/components/ProductImagesV3/common/productFeaturedImage.js +0 -53
- package/dist/esm/product/components/ProductImagesV3/common/productGallery.js +0 -251
- package/dist/esm/product/components/ProductImagesV3/components/child/MediaIcon.js +0 -59
- package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeatureVideo.js +0 -32
- package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeaturedImageCarousel.js +0 -105
- package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeaturedImageOnly.js +0 -135
- package/dist/esm/product/components/ProductImagesV3/components/child/ProductGalleryGrid.js +0 -96
- package/dist/esm/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.js +0 -73
- package/dist/esm/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.liquid.js +0 -296
- package/dist/esm/product/components/ProductImagesV3/components/feature-only/OnlyFeatureImage.js +0 -40
- package/dist/esm/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.js +0 -79
- package/dist/esm/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.liquid.js +0 -178
- package/dist/esm/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.js +0 -26
- package/dist/esm/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.liquid.js +0 -235
- package/dist/esm/product/components/ProductImagesV3/components/lightbox/ButtonOpenLightBox.js +0 -24
- package/dist/esm/product/components/ProductImagesV3/components/lightbox/ProductImagesLightBox.js +0 -140
- package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesAttr.js +0 -12
- package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesClassName.js +0 -52
- package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesStyles.js +0 -51
- package/dist/esm/product/components/ProductImagesV3/hooks/useFeatureImageWithGallery.js +0 -53
- package/dist/esm/product/components/ProductImagesV3/hooks/useFilterImagesByVariant.js +0 -39
- package/dist/esm/product/components/ProductImagesV3/hooks/useGalleryCarousel.js +0 -132
- package/dist/esm/product/components/ProductImagesV3/hooks/useProductFeaturedImageCarousel.js +0 -201
- package/dist/esm/product/components/ProductImagesV3/hooks/useProductGalleryGrid.js +0 -85
- package/dist/esm/product/components/ProductImagesV3/index.js +0 -287
- package/dist/esm/product/components/ProductImagesV3/index.liquid.js +0 -149
- package/dist/esm/product/setting/product-image-v3/ProductFeatureImage.js +0 -248
- package/dist/esm/product/setting/product-image-v3/ProductGalleryImage.js +0 -248
- package/dist/esm/product/setting/product-image-v3/ProductImages.js +0 -70
- package/dist/esm/product/setting/product-image-v3/configs/setting-v2/ProductFeatureImage.js +0 -384
- package/dist/esm/product/setting/product-image-v3/configs/setting-v2/ProductGalleryImage.js +0 -515
- package/dist/esm/product/setting/product-image-v3/configs/setting-v2/index.js +0 -334
- package/dist/esm/product/setting/product-image-v3/configs/ui/FeatureNavigation.js +0 -116
- package/dist/esm/product/setting/product-image-v3/configs/ui/ImageListNavigation.js +0 -117
- package/dist/esm/product/setting/product-image-v3/configs/uiV1.js +0 -235
- package/dist/esm/product/setting/product-image-v3/configs/uiV2.js +0 -489
- package/dist/esm/swiper-carousel/arrow/Arrow.js +0 -48
- package/dist/esm/swiper-carousel/arrow/Arrow.liquid.js +0 -42
- package/dist/esm/swiper-carousel/arrow/common/common.js +0 -111
- package/dist/esm/swiper-carousel/arrow/common/getClass.js +0 -48
- package/dist/esm/swiper-carousel/arrow/common/getStyle.js +0 -82
- package/dist/esm/swiper-carousel/carousel-item/SwiperItem.js +0 -30
- package/dist/esm/swiper-carousel/carousel-item/SwiperItem.liquid.js +0 -34
- package/dist/esm/swiper-carousel/carousel-item/common/getClass.js +0 -27
- package/dist/esm/swiper-carousel/carousel-item/common/getStyle.js +0 -77
- package/dist/esm/swiper-carousel/carousel-item/hook/useCarouseItem.js +0 -20
- package/dist/esm/swiper-carousel/components/common/carousel.js +0 -93
- package/dist/esm/swiper-carousel/components/const/index.js +0 -3
- package/dist/esm/swiper-carousel/components/hooks/useTrackPreviewPause.js +0 -30
- package/dist/esm/swiper-carousel/components/plugins/AnimationPlugin.js +0 -35
- package/dist/esm/swiper-carousel/components/plugins/AutoPlayPlugin.js +0 -103
- package/dist/esm/swiper-carousel/components/plugins/FixSliderMoveBackwards.js +0 -13
- package/dist/esm/swiper-carousel/components/plugins/MutationPlugin.js +0 -43
- package/dist/esm/swiper-carousel/dots/Dots.js +0 -47
- package/dist/esm/swiper-carousel/dots/Dots.liquid.js +0 -22
- package/dist/esm/swiper-carousel/dots/common/common.js +0 -26
- package/dist/esm/swiper-carousel/dots/common/getClass.js +0 -38
- package/dist/esm/swiper-carousel/dots/common/getStyle.js +0 -31
- package/dist/esm/swiper-carousel/dots/hook/useDotsSetting.js +0 -19
- package/dist/esm/swiper-carousel/index.js +0 -15
- package/dist/esm/swiper-carousel/next.js +0 -18
- package/dist/esm/swiper-carousel/root/Swiper.js +0 -124
- package/dist/esm/swiper-carousel/root/Swiper.liquid.js +0 -100
- package/dist/esm/swiper-carousel/root/common/getAttr.js +0 -23
- package/dist/esm/swiper-carousel/root/common/getClass.js +0 -133
- package/dist/esm/swiper-carousel/root/common/getData.js +0 -54
- package/dist/esm/swiper-carousel/root/common/getStyle.js +0 -64
- package/dist/esm/swiper-carousel/root/hook/useCarousel.js +0 -480
- package/dist/esm/swiper-carousel/setting/Swiper.js +0 -38
- package/dist/esm/swiper-carousel/setting/SwiperItem.js +0 -36
- package/dist/esm/swiper-carousel/setting/configs/presets.js +0 -85
- package/dist/esm/swiper-carousel/setting/configs/settingV2.js +0 -815
- package/dist/esm/swiper-carousel/setting/configs/uiV2.js +0 -713
package/dist/esm/setting.js
CHANGED
|
@@ -35,7 +35,6 @@ import { selectSetting } from './select/index.js';
|
|
|
35
35
|
import { shopPayInstallmentSetting } from './shop-pay-installment/index.js';
|
|
36
36
|
import { stickySetting } from './sticky/index.js';
|
|
37
37
|
import { stockCounterSetting } from './stock-counter/index.js';
|
|
38
|
-
import { swiperCarouselSetting } from './swiper-carousel/index.js';
|
|
39
38
|
import { tabSetting } from './tab/index.js';
|
|
40
39
|
import { textSetting } from './text/index.js';
|
|
41
40
|
import { textareaSetting } from './textarea/index.js';
|
|
@@ -51,7 +50,6 @@ var setting = {
|
|
|
51
50
|
...breadcrumbSetting,
|
|
52
51
|
...buttonSetting,
|
|
53
52
|
...carouselSetting,
|
|
54
|
-
...swiperCarouselSetting,
|
|
55
53
|
...cartSetting,
|
|
56
54
|
...codeSetting,
|
|
57
55
|
...collectionSetting,
|
|
@@ -11,7 +11,8 @@ const mapWidgetLabel = {
|
|
|
11
11
|
message: 'Cart message',
|
|
12
12
|
['classic-bundle']: 'Classic bundle',
|
|
13
13
|
['quantity-break']: 'Quantity break',
|
|
14
|
-
'mix-match': '
|
|
14
|
+
'mix-match': 'Mix and match',
|
|
15
|
+
fbt: 'Frequently Bought Together'
|
|
15
16
|
};
|
|
16
17
|
const BogosSampleContent = ({ setting })=>{
|
|
17
18
|
const widgetLabel = setting?.widgetType && mapWidgetLabel[setting.widgetType];
|
|
@@ -25,6 +25,8 @@ const Bogos = ({ setting, advanced })=>{
|
|
|
25
25
|
<div class="bogos-integration-page-builder-quantity-break"></div>
|
|
26
26
|
{% when "mix-match" %}
|
|
27
27
|
<div class="bogos-integration-page-builder-mix-match"></div>
|
|
28
|
+
{% when "fbt" %}
|
|
29
|
+
<div class="bogos-integration-page-builder-fbt-upsell"></div>
|
|
28
30
|
{% endcase %}
|
|
29
31
|
</div>
|
|
30
32
|
`;
|