@gem-sdk/components 2.1.13-staging.3 → 2.1.13-staging.6

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.
Files changed (114) hide show
  1. package/dist/cjs/banner/components/hero-banner/index.liquid.js +6 -6
  2. package/dist/cjs/builder.js +21 -1
  3. package/dist/cjs/image/components/AdaptiveImage.liquid.js +6 -5
  4. package/dist/cjs/image/components/Image.liquid.js +6 -4
  5. package/dist/cjs/image/components/NextImage.liquid.js +4 -3
  6. package/dist/cjs/index.js +20 -0
  7. package/dist/cjs/index.liquid.js +22 -2
  8. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +4 -4
  9. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
  10. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
  11. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
  12. package/dist/cjs/third-party/components/AlsoBoughtCbb.js +32 -0
  13. package/dist/cjs/third-party/components/AlsoBoughtCbb.liquid.js +21 -0
  14. package/dist/cjs/third-party/components/BfSizeChartSizeGuide.js +32 -0
  15. package/dist/cjs/third-party/components/BfSizeChartSizeGuide.liquid.js +12 -0
  16. package/dist/cjs/third-party/components/EssentialAnnouncementBar.js +32 -0
  17. package/dist/cjs/third-party/components/EssentialAnnouncementBar.liquid.js +12 -0
  18. package/dist/cjs/third-party/components/EssentialCountdownTimerBar.js +32 -0
  19. package/dist/cjs/third-party/components/EssentialCountdownTimerBar.liquid.js +12 -0
  20. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.js +32 -0
  21. package/dist/cjs/third-party/components/EstimatedDeliveryDatePlus.liquid.js +12 -0
  22. package/dist/cjs/third-party/components/GloColorSwatchvariantImage.js +32 -0
  23. package/dist/cjs/third-party/components/GloColorSwatchvariantImage.liquid.js +12 -0
  24. package/dist/cjs/third-party/components/HextomFreeShippingBar.js +32 -0
  25. package/dist/cjs/third-party/components/HextomFreeShippingBar.liquid.js +12 -0
  26. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.js +32 -0
  27. package/dist/cjs/third-party/components/OkendoReviewsLoyalty.liquid.js +12 -0
  28. package/dist/cjs/third-party/components/StellarDeliveryDatePickup.js +32 -0
  29. package/dist/cjs/third-party/components/StellarDeliveryDatePickup.liquid.js +21 -0
  30. package/dist/cjs/third-party/components/TrustedsiteTrustBadges.js +32 -0
  31. package/dist/cjs/third-party/components/TrustedsiteTrustBadges.liquid.js +12 -0
  32. package/dist/cjs/third-party/configs/AlsoBoughtCbb.js +12 -0
  33. package/dist/cjs/third-party/configs/BfSizeChartSizeGuide.js +12 -0
  34. package/dist/cjs/third-party/configs/EssentialAnnouncementBar.js +12 -0
  35. package/dist/cjs/third-party/configs/EssentialCountdownTimerBar.js +12 -0
  36. package/dist/cjs/third-party/configs/EstimatedDeliveryDatePlus.js +12 -0
  37. package/dist/cjs/third-party/configs/GloColorSwatchvariantImage.js +12 -0
  38. package/dist/cjs/third-party/configs/HextomFreeShippingBar.js +12 -0
  39. package/dist/cjs/third-party/configs/OkendoReviewsLoyalty.js +12 -0
  40. package/dist/cjs/third-party/configs/StellarDeliveryDatePickup.js +12 -0
  41. package/dist/cjs/third-party/configs/TrustedsiteTrustBadges.js +12 -0
  42. package/dist/cjs/third-party/helpers/thirdParty.js +1 -1
  43. package/dist/cjs/third-party/next.js +51 -1
  44. package/dist/cjs/third-party/setting/AlsoBoughtCbb.js +127 -0
  45. package/dist/cjs/third-party/setting/BfSizeChartSizeGuide.js +131 -0
  46. package/dist/cjs/third-party/setting/EssentialAnnouncementBar.js +142 -0
  47. package/dist/cjs/third-party/setting/EssentialCountdownTimerBar.js +142 -0
  48. package/dist/cjs/third-party/setting/EstimatedDeliveryDatePlus.js +128 -0
  49. package/dist/cjs/third-party/setting/GloColorSwatchvariantImage.js +152 -0
  50. package/dist/cjs/third-party/setting/HextomFreeShippingBar.js +128 -0
  51. package/dist/cjs/third-party/setting/OkendoReviewsLoyalty.js +171 -0
  52. package/dist/cjs/third-party/setting/StellarDeliveryDatePickup.js +127 -0
  53. package/dist/cjs/third-party/setting/TrustedsiteTrustBadges.js +177 -0
  54. package/dist/cjs/third-party/setting/index.js +21 -1
  55. package/dist/cjs/video/components/HTML5Embed.js +2 -2
  56. package/dist/cjs/video/components/HTML5Embed.liquid.js +2 -2
  57. package/dist/esm/banner/components/hero-banner/index.liquid.js +6 -6
  58. package/dist/esm/builder.js +21 -1
  59. package/dist/esm/image/components/AdaptiveImage.liquid.js +6 -5
  60. package/dist/esm/image/components/Image.liquid.js +6 -4
  61. package/dist/esm/image/components/NextImage.liquid.js +4 -3
  62. package/dist/esm/index.js +10 -0
  63. package/dist/esm/index.liquid.js +11 -1
  64. package/dist/esm/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +4 -4
  65. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +2 -2
  66. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +4 -4
  67. package/dist/esm/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +4 -4
  68. package/dist/esm/third-party/components/AlsoBoughtCbb.js +28 -0
  69. package/dist/esm/third-party/components/AlsoBoughtCbb.liquid.js +17 -0
  70. package/dist/esm/third-party/components/BfSizeChartSizeGuide.js +28 -0
  71. package/dist/esm/third-party/components/BfSizeChartSizeGuide.liquid.js +8 -0
  72. package/dist/esm/third-party/components/EssentialAnnouncementBar.js +28 -0
  73. package/dist/esm/third-party/components/EssentialAnnouncementBar.liquid.js +8 -0
  74. package/dist/esm/third-party/components/EssentialCountdownTimerBar.js +28 -0
  75. package/dist/esm/third-party/components/EssentialCountdownTimerBar.liquid.js +8 -0
  76. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.js +28 -0
  77. package/dist/esm/third-party/components/EstimatedDeliveryDatePlus.liquid.js +8 -0
  78. package/dist/esm/third-party/components/GloColorSwatchvariantImage.js +28 -0
  79. package/dist/esm/third-party/components/GloColorSwatchvariantImage.liquid.js +8 -0
  80. package/dist/esm/third-party/components/HextomFreeShippingBar.js +28 -0
  81. package/dist/esm/third-party/components/HextomFreeShippingBar.liquid.js +8 -0
  82. package/dist/esm/third-party/components/OkendoReviewsLoyalty.js +28 -0
  83. package/dist/esm/third-party/components/OkendoReviewsLoyalty.liquid.js +8 -0
  84. package/dist/esm/third-party/components/StellarDeliveryDatePickup.js +28 -0
  85. package/dist/esm/third-party/components/StellarDeliveryDatePickup.liquid.js +17 -0
  86. package/dist/esm/third-party/components/TrustedsiteTrustBadges.js +28 -0
  87. package/dist/esm/third-party/components/TrustedsiteTrustBadges.liquid.js +8 -0
  88. package/dist/esm/third-party/configs/AlsoBoughtCbb.js +8 -0
  89. package/dist/esm/third-party/configs/BfSizeChartSizeGuide.js +8 -0
  90. package/dist/esm/third-party/configs/EssentialAnnouncementBar.js +8 -0
  91. package/dist/esm/third-party/configs/EssentialCountdownTimerBar.js +8 -0
  92. package/dist/esm/third-party/configs/EstimatedDeliveryDatePlus.js +8 -0
  93. package/dist/esm/third-party/configs/GloColorSwatchvariantImage.js +8 -0
  94. package/dist/esm/third-party/configs/HextomFreeShippingBar.js +8 -0
  95. package/dist/esm/third-party/configs/OkendoReviewsLoyalty.js +8 -0
  96. package/dist/esm/third-party/configs/StellarDeliveryDatePickup.js +8 -0
  97. package/dist/esm/third-party/configs/TrustedsiteTrustBadges.js +8 -0
  98. package/dist/esm/third-party/helpers/thirdParty.js +1 -1
  99. package/dist/esm/third-party/next.js +51 -1
  100. package/dist/esm/third-party/setting/AlsoBoughtCbb.js +123 -0
  101. package/dist/esm/third-party/setting/BfSizeChartSizeGuide.js +127 -0
  102. package/dist/esm/third-party/setting/EssentialAnnouncementBar.js +138 -0
  103. package/dist/esm/third-party/setting/EssentialCountdownTimerBar.js +138 -0
  104. package/dist/esm/third-party/setting/EstimatedDeliveryDatePlus.js +124 -0
  105. package/dist/esm/third-party/setting/GloColorSwatchvariantImage.js +148 -0
  106. package/dist/esm/third-party/setting/HextomFreeShippingBar.js +124 -0
  107. package/dist/esm/third-party/setting/OkendoReviewsLoyalty.js +167 -0
  108. package/dist/esm/third-party/setting/StellarDeliveryDatePickup.js +123 -0
  109. package/dist/esm/third-party/setting/TrustedsiteTrustBadges.js +173 -0
  110. package/dist/esm/third-party/setting/index.js +224 -204
  111. package/dist/esm/video/components/HTML5Embed.js +2 -2
  112. package/dist/esm/video/components/HTML5Embed.liquid.js +2 -2
  113. package/dist/types/index.d.ts +168 -7
  114. package/package.json +2 -2
@@ -0,0 +1,28 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+ import { makeStyleResponsive } from '@gem-sdk/core';
3
+ import ThirdPartyPreview from './ThirdPartyPreview.js';
4
+ import AppConfig from '../configs/OkendoReviewsLoyalty.js';
5
+
6
+ const OkendoReviewsLoyaltyContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'Okendo: Reviews & Loyalty',
13
+ iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
14
+ }
15
+ })
16
+ })
17
+ });
18
+ };
19
+ const OkendoReviewsLoyalty = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(OkendoReviewsLoyaltyContent, {})
25
+ });
26
+ };
27
+
28
+ export { OkendoReviewsLoyalty as default };
@@ -0,0 +1,8 @@
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
+
3
+ const OkendoReviewsLoyalty = ({ setting, advanced })=>{
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block [&_*]:gp-max-w-none`);
6
+ };
7
+
8
+ export { OkendoReviewsLoyalty as default };
@@ -0,0 +1,28 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+ import { makeStyleResponsive } from '@gem-sdk/core';
3
+ import ThirdPartyPreview from './ThirdPartyPreview.js';
4
+ import AppConfig from '../configs/StellarDeliveryDatePickup.js';
5
+
6
+ const StellarDeliveryDatePickupContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'Stellar Delivery Date & Pickup',
13
+ iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
14
+ }
15
+ })
16
+ })
17
+ });
18
+ };
19
+ const StellarDeliveryDatePickup = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(StellarDeliveryDatePickupContent, {})
25
+ });
26
+ };
27
+
28
+ export { StellarDeliveryDatePickup as default };
@@ -0,0 +1,17 @@
1
+ import { template, makeStyleResponsive } from '@gem-sdk/core';
2
+
3
+ const StellarDeliveryDatePickup = ({ setting, advanced })=>{
4
+ const { align } = setting ?? {};
5
+ return template`
6
+ <div
7
+ class="${advanced?.cssClass}"
8
+ style="${{
9
+ ...makeStyleResponsive('ta', align)
10
+ }}"
11
+ >
12
+ <div class="gp-integration-stellar-delivery__position" ></div>
13
+ </div>
14
+ `;
15
+ };
16
+
17
+ export { StellarDeliveryDatePickup as default };
@@ -0,0 +1,28 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+ import { makeStyleResponsive } from '@gem-sdk/core';
3
+ import ThirdPartyPreview from './ThirdPartyPreview.js';
4
+ import AppConfig from '../configs/TrustedsiteTrustBadges.js';
5
+
6
+ const TrustedsiteTrustBadgesContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'TrustedSite ‑ Trust Badges',
13
+ iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
14
+ }
15
+ })
16
+ })
17
+ });
18
+ };
19
+ const TrustedsiteTrustBadges = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(TrustedsiteTrustBadgesContent, {})
25
+ });
26
+ };
27
+
28
+ export { TrustedsiteTrustBadges as default };
@@ -0,0 +1,8 @@
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
+
3
+ const TrustedsiteTrustBadges = ({ setting, advanced })=>{
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block`);
6
+ };
7
+
8
+ export { TrustedsiteTrustBadges as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'also-bought-cbb',
3
+ label: 'Also Bought • CBB',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/55a595d2413473dd0c6e6a315690886a/icon/CITkod-6vf0CEAE=.png',
5
+ tag: 'AlsoBoughtCbb'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'bf-size-chart-size-guide',
3
+ label: 'BF Size Chart & Size Guide',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/022ba73148820196cc39ae7ac1667ec0/icon/CLqQkc30lu8CEAE=.png',
5
+ tag: 'BfSizeChartSizeGuide'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'essential-announcement-bar',
3
+ label: 'Essential Announcement Bar',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/15e8255158a042a1eab34a4c45c72aa5/icon/CMK1jPv9uoADEAE=.png',
5
+ tag: 'EssentialAnnouncementBar'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'essential-countdown-timer-bar',
3
+ label: 'Essential Countdown Timer Bar',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/f84bf9e49eca8bd84c2af7488461363b/icon/CPzKxLTD4_UCEAE=.png',
5
+ tag: 'EssentialCountdownTimerBar'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'estimated-delivery-date-plus',
3
+ label: 'Estimated Delivery Date ‑ Plus',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/e4733a4cb318126885ef06c1a11c2c35/icon/COTnt4SChPkCEAE=.jpeg',
5
+ tag: 'EstimatedDeliveryDatePlus'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'glo-color-swatchvariant-image',
3
+ label: 'GLO Color Swatch,Variant Image',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/9995b073cfe955d98eb8e9961e8dd7be/icon/CM-Kw8-05_4CEAE=.png',
5
+ tag: 'GloColorSwatchvariantImage'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'hextom-free-shipping-bar',
3
+ label: 'Hextom: Free Shipping Bar',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/635cce572624d1086ac37403cf25b5ee/icon/CMuP4OXt54YDEAE=.png',
5
+ tag: 'HextomFreeShippingBar'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'okendo-reviews-loyalty',
3
+ label: 'Okendo: Reviews & Loyalty',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/fe55626671bd5da73785c606c2b0752f/icon/CNKRrIWatfoCEAE=.png',
5
+ tag: 'OkendoReviewsLoyalty'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'stellar-delivery-date-pickup',
3
+ label: 'Stellar Delivery Date & Pickup',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/568eee7424b5f70382db5178dd815f6a/icon/CMTw3rn0lu8CEAE=.jpg',
5
+ tag: 'StellarDeliveryDatePickup'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -0,0 +1,8 @@
1
+ var AppConfig = {
2
+ id: 'trustedsite-trust-badges',
3
+ label: 'TrustedSite ‑ Trust Badges',
4
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/38fdc008d044b95511d73b59ae0cc83f/icon/CIX8yLf0lu8CEAE=.png',
5
+ tag: 'TrustedsiteTrustBadges'
6
+ };
7
+
8
+ export { AppConfig as default };
@@ -37,7 +37,7 @@ const getLiquidForAppBlock = (appBlockId, align, cssClass)=>{
37
37
  <div
38
38
  class="gp-flex gp-w-full gp-items-center ${cssClass}"
39
39
  style="${{
40
- ...makeStyleResponsive('ta', align)
40
+ ...makeStyleResponsive('jc', align)
41
41
  }}"
42
42
  >
43
43
  {% for block in app_blocks %}
@@ -2,6 +2,26 @@ import dynamic from 'next/dynamic';
2
2
  import Loading from '../common/components/Loading.js';
3
3
  import 'react/jsx-runtime';
4
4
 
5
+ const EstimatedDeliveryDatePlus = dynamic(()=>import('./components/EstimatedDeliveryDatePlus.js'), {
6
+ ssr: false,
7
+ loading: Loading
8
+ });
9
+ const OkendoReviewsLoyalty = dynamic(()=>import('./components/OkendoReviewsLoyalty.js'), {
10
+ ssr: false,
11
+ loading: Loading
12
+ });
13
+ const EssentialAnnouncementBar = dynamic(()=>import('./components/EssentialAnnouncementBar.js'), {
14
+ ssr: false,
15
+ loading: Loading
16
+ });
17
+ const EssentialCountdownTimerBar = dynamic(()=>import('./components/EssentialCountdownTimerBar.js'), {
18
+ ssr: false,
19
+ loading: Loading
20
+ });
21
+ const StellarDeliveryDatePickup = dynamic(()=>import('./components/StellarDeliveryDatePickup.js'), {
22
+ ssr: false,
23
+ loading: Loading
24
+ });
5
25
  const TrustshopProductReviews = dynamic(()=>import('./components/TrustshopProductReviews.js'), {
6
26
  ssr: false,
7
27
  loading: Loading
@@ -414,7 +434,32 @@ const TrustBadgesBear = dynamic(()=>import('./components/TrustBadgesBear.js'), {
414
434
  ssr: false,
415
435
  loading: Loading
416
436
  });
437
+ const TrustedsiteTrustBadges = dynamic(()=>import('./components/TrustedsiteTrustBadges.js'), {
438
+ ssr: false,
439
+ loading: Loading
440
+ });
441
+ const GloColorSwatchvariantImage = dynamic(()=>import('./components/GloColorSwatchvariantImage.js'), {
442
+ ssr: false,
443
+ loading: Loading
444
+ });
445
+ const BfSizeChartSizeGuide = dynamic(()=>import('./components/BfSizeChartSizeGuide.js'), {
446
+ ssr: false,
447
+ loading: Loading
448
+ });
449
+ const AlsoBoughtCbb = dynamic(()=>import('./components/AlsoBoughtCbb.js'), {
450
+ ssr: false,
451
+ loading: Loading
452
+ });
453
+ const HextomFreeShippingBar = dynamic(()=>import('./components/HextomFreeShippingBar.js'), {
454
+ ssr: false,
455
+ loading: Loading
456
+ });
417
457
  var thirdParty = {
458
+ EstimatedDeliveryDatePlus,
459
+ OkendoReviewsLoyalty,
460
+ EssentialAnnouncementBar,
461
+ EssentialCountdownTimerBar,
462
+ StellarDeliveryDatePickup,
418
463
  TrustshopProductReviews,
419
464
  HulkProductOptions,
420
465
  TrustreviewsProductReviews,
@@ -517,7 +562,12 @@ var thirdParty = {
517
562
  BirdChime,
518
563
  FordeerProductLabels,
519
564
  HextomCountdownTimerBar,
520
- TrustBadgesBear
565
+ TrustBadgesBear,
566
+ TrustedsiteTrustBadges,
567
+ GloColorSwatchvariantImage,
568
+ BfSizeChartSizeGuide,
569
+ AlsoBoughtCbb,
570
+ HextomFreeShippingBar
521
571
  };
522
572
 
523
573
  export { thirdParty as default };
@@ -0,0 +1,123 @@
1
+ import AppConfig from '../configs/AlsoBoughtCbb.js';
2
+
3
+ const config = {
4
+ tag: AppConfig.tag,
5
+ label: AppConfig.label,
6
+ icon: '<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/55a595d2413473dd0c6e6a315690886a/icon/CITkod-6vf0CEAE=.png">',
7
+ editorConfigs: {
8
+ placeholder: {
9
+ flowPage: 'GP_PRODUCT'
10
+ },
11
+ component: {
12
+ isThirdParty: true
13
+ }
14
+ },
15
+ presets: [
16
+ {
17
+ id: AppConfig.id,
18
+ name: {
19
+ en: AppConfig.label
20
+ },
21
+ hideTextContent: true,
22
+ icon: {
23
+ desktop: `<div class="w-full flex flex-col items-center">
24
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/55a595d2413473dd0c6e6a315690886a/icon/CITkod-6vf0CEAE=.png">
25
+ <span class="preset-item-title">Also Bought • CBB</span>
26
+ </div>`
27
+ },
28
+ components: [
29
+ {
30
+ tag: AppConfig.tag
31
+ }
32
+ ]
33
+ }
34
+ ],
35
+ settings: [
36
+ {
37
+ id: 'setting',
38
+ controls: [
39
+ {
40
+ id: 'install',
41
+ type: 'open-link',
42
+ target: '_blank',
43
+ linkType: 'install',
44
+ href: 'https://apps.shopify.com/also-bought?utm_source=gempages',
45
+ appName: AppConfig.label
46
+ },
47
+ {
48
+ id: 'openApp',
49
+ type: 'open-link',
50
+ target: '_blank',
51
+ linkType: 'openApp',
52
+ href: 'https://admin.shopify.com/?redirect=/apps/also-bought',
53
+ appName: AppConfig.label
54
+ },
55
+ {
56
+ id: 'guideId',
57
+ type: 'group'
58
+ },
59
+ {
60
+ id: 'align',
61
+ label: 'Alignment',
62
+ type: 'segment',
63
+ options: [
64
+ {
65
+ label: 'Left',
66
+ value: 'left',
67
+ type: 'align'
68
+ },
69
+ {
70
+ label: 'Center',
71
+ value: 'center',
72
+ type: 'align'
73
+ },
74
+ {
75
+ label: 'Right',
76
+ value: 'right',
77
+ type: 'align'
78
+ }
79
+ ],
80
+ devices: {
81
+ desktop: {
82
+ default: 'left'
83
+ }
84
+ }
85
+ }
86
+ ]
87
+ }
88
+ ],
89
+ ui: [
90
+ {
91
+ type: 'control',
92
+ setting: {
93
+ id: 'install'
94
+ }
95
+ },
96
+ {
97
+ type: 'control',
98
+ info: {
99
+ en: '<span>To make this element work, copy the class <strong>.gp-integration-also-bought__position</strong> and paste it into the Widget Location Selector input field in the Custom Location Product Page</span>'
100
+ },
101
+ setting: {
102
+ id: 'guideId'
103
+ }
104
+ },
105
+ {
106
+ type: 'control',
107
+ setting: {
108
+ id: 'openApp'
109
+ }
110
+ },
111
+ {
112
+ type: 'control',
113
+ label: {
114
+ en: 'Align'
115
+ },
116
+ setting: {
117
+ id: 'align'
118
+ }
119
+ }
120
+ ]
121
+ };
122
+
123
+ export { config as default };
@@ -0,0 +1,127 @@
1
+ import AppConfig from '../configs/BfSizeChartSizeGuide.js';
2
+
3
+ const config = {
4
+ tag: AppConfig.tag,
5
+ label: AppConfig.label,
6
+ icon: '<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/022ba73148820196cc39ae7ac1667ec0/icon/CLqQkc30lu8CEAE=.png">',
7
+ editorConfigs: {
8
+ placeholder: {
9
+ flowPage: 'GP_PRODUCT'
10
+ },
11
+ component: {
12
+ isThirdParty: true
13
+ }
14
+ },
15
+ presets: [
16
+ {
17
+ id: AppConfig.id,
18
+ name: {
19
+ en: AppConfig.label
20
+ },
21
+ hideTextContent: true,
22
+ icon: {
23
+ desktop: `<div class="w-full flex flex-col items-center">
24
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/022ba73148820196cc39ae7ac1667ec0/icon/CLqQkc30lu8CEAE=.png">
25
+ <span class="preset-item-title">BF Size Chart & Size Guide</span>
26
+ </div>`
27
+ },
28
+ components: [
29
+ {
30
+ tag: AppConfig.tag
31
+ }
32
+ ]
33
+ }
34
+ ],
35
+ settings: [
36
+ {
37
+ id: 'setting',
38
+ controls: [
39
+ {
40
+ id: 'appBlockId',
41
+ type: 'input',
42
+ default: ''
43
+ },
44
+ {
45
+ id: 'widgetType',
46
+ label: 'Choose widget',
47
+ type: 'select',
48
+ options: [
49
+ {
50
+ label: 'Block',
51
+ value: 'block'
52
+ }
53
+ ],
54
+ default: 'block'
55
+ },
56
+ {
57
+ id: 'install',
58
+ type: 'open-link',
59
+ target: '_blank',
60
+ linkType: 'install',
61
+ href: 'https://apps.shopify.com/best-fit-size-charts-size-guides?utm_source=gempages',
62
+ appName: AppConfig.label
63
+ },
64
+ {
65
+ id: 'openApp',
66
+ type: 'open-link',
67
+ target: '_blank',
68
+ linkType: 'openApp',
69
+ href: 'https://admin.shopify.com/?redirect=/apps/size-charts-by-relentless',
70
+ appName: AppConfig.label
71
+ },
72
+ {
73
+ id: 'align',
74
+ label: 'Alignment',
75
+ type: 'segment',
76
+ options: [
77
+ {
78
+ label: 'Left',
79
+ value: 'left',
80
+ type: 'align'
81
+ },
82
+ {
83
+ label: 'Center',
84
+ value: 'center',
85
+ type: 'align'
86
+ },
87
+ {
88
+ label: 'Right',
89
+ value: 'right',
90
+ type: 'align'
91
+ }
92
+ ],
93
+ devices: {
94
+ desktop: {
95
+ default: 'left'
96
+ }
97
+ }
98
+ }
99
+ ]
100
+ }
101
+ ],
102
+ ui: [
103
+ {
104
+ type: 'control',
105
+ setting: {
106
+ id: 'install'
107
+ }
108
+ },
109
+ {
110
+ type: 'control',
111
+ setting: {
112
+ id: 'openApp'
113
+ }
114
+ },
115
+ {
116
+ type: 'control',
117
+ label: {
118
+ en: 'Align'
119
+ },
120
+ setting: {
121
+ id: 'align'
122
+ }
123
+ }
124
+ ]
125
+ };
126
+
127
+ export { config as default };