@gem-sdk/components 2.0.7 → 2.0.9

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 (82) hide show
  1. package/dist/cjs/builder.js +18 -0
  2. package/dist/cjs/image/components/AdaptiveImage.liquid.js +2 -2
  3. package/dist/cjs/index.js +18 -0
  4. package/dist/cjs/index.liquid.js +18 -0
  5. package/dist/cjs/third-party/components/AftershipEmailMarketingsms.js +32 -0
  6. package/dist/cjs/third-party/components/AftershipEmailMarketingsms.liquid.js +12 -0
  7. package/dist/cjs/third-party/components/BestBuyFulfillment.js +38 -0
  8. package/dist/cjs/third-party/components/BestBuyFulfillment.liquid.js +12 -0
  9. package/dist/cjs/third-party/components/HulkProductOptions.js +32 -0
  10. package/dist/cjs/third-party/components/HulkProductOptions.liquid.js +12 -0
  11. package/dist/cjs/third-party/components/MyappgurusProductReviews.js +32 -0
  12. package/dist/cjs/third-party/components/MyappgurusProductReviews.liquid.js +12 -0
  13. package/dist/cjs/third-party/components/ProductOptionsVariantOption.js +38 -0
  14. package/dist/cjs/third-party/components/ProductOptionsVariantOption.liquid.js +21 -0
  15. package/dist/cjs/third-party/components/SegunoEmailMarketing.js +32 -0
  16. package/dist/cjs/third-party/components/SegunoEmailMarketing.liquid.js +12 -0
  17. package/dist/cjs/third-party/components/SeoantTrustBadgesIcon.js +32 -0
  18. package/dist/cjs/third-party/components/SeoantTrustBadgesIcon.liquid.js +12 -0
  19. package/dist/cjs/third-party/components/TrustreviewsProductReviews.js +32 -0
  20. package/dist/cjs/third-party/components/TrustreviewsProductReviews.liquid.js +12 -0
  21. package/dist/cjs/third-party/components/TrustshopProductReviews.js +46 -0
  22. package/dist/cjs/third-party/components/TrustshopProductReviews.liquid.js +12 -0
  23. package/dist/cjs/third-party/configs/AftershipEmailMarketingsms.js +12 -0
  24. package/dist/cjs/third-party/configs/HulkProductOptions.js +12 -0
  25. package/dist/cjs/third-party/configs/MyappgurusProductReviews.js +12 -0
  26. package/dist/cjs/third-party/configs/SegunoEmailMarketing.js +12 -0
  27. package/dist/cjs/third-party/configs/SeoantTrustBadgesIcon.js +12 -0
  28. package/dist/cjs/third-party/configs/TrustreviewsProductReviews.js +12 -0
  29. package/dist/cjs/third-party/configs/TrustshopProductReviews.js +12 -0
  30. package/dist/cjs/third-party/next.js +45 -0
  31. package/dist/cjs/third-party/setting/AftershipEmailMarketingsms.js +160 -0
  32. package/dist/cjs/third-party/setting/BestBuyFulfillment.js +133 -0
  33. package/dist/cjs/third-party/setting/HulkProductOptions.js +131 -0
  34. package/dist/cjs/third-party/setting/MyappgurusProductReviews.js +171 -0
  35. package/dist/cjs/third-party/setting/ProductOptionsVariantOption.js +131 -0
  36. package/dist/cjs/third-party/setting/SegunoEmailMarketing.js +152 -0
  37. package/dist/cjs/third-party/setting/SeoantTrustBadgesIcon.js +142 -0
  38. package/dist/cjs/third-party/setting/TrustreviewsProductReviews.js +210 -0
  39. package/dist/cjs/third-party/setting/TrustshopProductReviews.js +159 -0
  40. package/dist/cjs/third-party/setting/index.js +18 -0
  41. package/dist/esm/builder.js +18 -0
  42. package/dist/esm/image/components/AdaptiveImage.liquid.js +2 -2
  43. package/dist/esm/index.js +9 -0
  44. package/dist/esm/index.liquid.js +9 -0
  45. package/dist/esm/third-party/components/AftershipEmailMarketingsms.js +28 -0
  46. package/dist/esm/third-party/components/AftershipEmailMarketingsms.liquid.js +8 -0
  47. package/dist/esm/third-party/components/BestBuyFulfillment.js +33 -0
  48. package/dist/esm/third-party/components/BestBuyFulfillment.liquid.js +8 -0
  49. package/dist/esm/third-party/components/HulkProductOptions.js +28 -0
  50. package/dist/esm/third-party/components/HulkProductOptions.liquid.js +8 -0
  51. package/dist/esm/third-party/components/MyappgurusProductReviews.js +28 -0
  52. package/dist/esm/third-party/components/MyappgurusProductReviews.liquid.js +8 -0
  53. package/dist/esm/third-party/components/ProductOptionsVariantOption.js +33 -0
  54. package/dist/esm/third-party/components/ProductOptionsVariantOption.liquid.js +17 -0
  55. package/dist/esm/third-party/components/SegunoEmailMarketing.js +28 -0
  56. package/dist/esm/third-party/components/SegunoEmailMarketing.liquid.js +8 -0
  57. package/dist/esm/third-party/components/SeoantTrustBadgesIcon.js +28 -0
  58. package/dist/esm/third-party/components/SeoantTrustBadgesIcon.liquid.js +8 -0
  59. package/dist/esm/third-party/components/TrustreviewsProductReviews.js +28 -0
  60. package/dist/esm/third-party/components/TrustreviewsProductReviews.liquid.js +8 -0
  61. package/dist/esm/third-party/components/TrustshopProductReviews.js +42 -0
  62. package/dist/esm/third-party/components/TrustshopProductReviews.liquid.js +8 -0
  63. package/dist/esm/third-party/configs/AftershipEmailMarketingsms.js +8 -0
  64. package/dist/esm/third-party/configs/HulkProductOptions.js +8 -0
  65. package/dist/esm/third-party/configs/MyappgurusProductReviews.js +8 -0
  66. package/dist/esm/third-party/configs/SegunoEmailMarketing.js +8 -0
  67. package/dist/esm/third-party/configs/SeoantTrustBadgesIcon.js +8 -0
  68. package/dist/esm/third-party/configs/TrustreviewsProductReviews.js +8 -0
  69. package/dist/esm/third-party/configs/TrustshopProductReviews.js +8 -0
  70. package/dist/esm/third-party/next.js +45 -0
  71. package/dist/esm/third-party/setting/AftershipEmailMarketingsms.js +156 -0
  72. package/dist/esm/third-party/setting/BestBuyFulfillment.js +129 -0
  73. package/dist/esm/third-party/setting/HulkProductOptions.js +127 -0
  74. package/dist/esm/third-party/setting/MyappgurusProductReviews.js +167 -0
  75. package/dist/esm/third-party/setting/ProductOptionsVariantOption.js +127 -0
  76. package/dist/esm/third-party/setting/SegunoEmailMarketing.js +148 -0
  77. package/dist/esm/third-party/setting/SeoantTrustBadgesIcon.js +138 -0
  78. package/dist/esm/third-party/setting/TrustreviewsProductReviews.js +206 -0
  79. package/dist/esm/third-party/setting/TrustshopProductReviews.js +155 -0
  80. package/dist/esm/third-party/setting/index.js +202 -184
  81. package/dist/types/index.d.ts +147 -1
  82. package/package.json +2 -2
@@ -0,0 +1,159 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var TrustshopProductReviews = require('../configs/TrustshopProductReviews.js');
6
+
7
+ const config = {
8
+ tag: TrustshopProductReviews.default.tag,
9
+ label: TrustshopProductReviews.default.label,
10
+ icon: '<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="https://cdn.shopify.com/app-store/listing_images/97bd740ed0597c4d5220e15ae930308d/icon/CKub0pnr1okDEAE=.png">',
11
+ editorConfigs: {
12
+ placeholder: {
13
+ flowTag: [
14
+ 'Product'
15
+ ]
16
+ },
17
+ component: {
18
+ isThirdParty: true
19
+ }
20
+ },
21
+ presets: [
22
+ {
23
+ id: TrustshopProductReviews.default.id,
24
+ name: {
25
+ en: TrustshopProductReviews.default.label
26
+ },
27
+ hideTextContent: true,
28
+ icon: {
29
+ desktop: `<div class="w-full flex flex-col items-center">
30
+ <img class="w-24 border border-dark-200 rounded-medium" src="https://cdn.shopify.com/app-store/listing_images/97bd740ed0597c4d5220e15ae930308d/icon/CKub0pnr1okDEAE=.png">
31
+ <span class="preset-item-title">TrustShop: Product Reviews</span>
32
+ </div>`
33
+ },
34
+ components: [
35
+ {
36
+ tag: TrustshopProductReviews.default.tag
37
+ }
38
+ ]
39
+ }
40
+ ],
41
+ settings: [
42
+ {
43
+ id: 'setting',
44
+ controls: [
45
+ {
46
+ id: 'appBlockId',
47
+ type: 'input',
48
+ default: ''
49
+ },
50
+ {
51
+ id: 'productHandle',
52
+ type: 'product-handle',
53
+ hide: true
54
+ },
55
+ {
56
+ id: 'widgetType',
57
+ label: 'Choose widget',
58
+ type: 'select',
59
+ options: [
60
+ {
61
+ label: 'Widget Product Rating',
62
+ value: 'widget-product-rating'
63
+ },
64
+ {
65
+ label: 'All Reviews',
66
+ value: 'all-reviews'
67
+ },
68
+ {
69
+ label: 'Widget Box',
70
+ value: 'widget-box'
71
+ },
72
+ {
73
+ label: 'Review Testimonial',
74
+ value: 'review-testimonial'
75
+ }
76
+ ],
77
+ default: 'widget-product-rating'
78
+ },
79
+ {
80
+ id: 'install',
81
+ type: 'open-link',
82
+ target: '_blank',
83
+ linkType: 'install',
84
+ href: 'https://apps.shopify.com/trustshop?utm_source=gempages',
85
+ appName: TrustshopProductReviews.default.label
86
+ },
87
+ {
88
+ id: 'openApp',
89
+ type: 'open-link',
90
+ target: '_blank',
91
+ linkType: 'openApp',
92
+ href: '',
93
+ appName: TrustshopProductReviews.default.label
94
+ },
95
+ {
96
+ id: 'align',
97
+ label: 'Alignment',
98
+ type: 'segment',
99
+ options: [
100
+ {
101
+ label: 'Left',
102
+ value: 'left',
103
+ type: 'align'
104
+ },
105
+ {
106
+ label: 'Center',
107
+ value: 'center',
108
+ type: 'align'
109
+ },
110
+ {
111
+ label: 'Right',
112
+ value: 'right',
113
+ type: 'align'
114
+ }
115
+ ],
116
+ devices: {
117
+ desktop: {
118
+ default: 'left'
119
+ }
120
+ }
121
+ }
122
+ ]
123
+ }
124
+ ],
125
+ ui: [
126
+ {
127
+ type: 'control',
128
+ setting: {
129
+ id: 'install'
130
+ }
131
+ },
132
+ {
133
+ type: "control",
134
+ label: {
135
+ en: "Choose widget"
136
+ },
137
+ setting: {
138
+ id: "widgetType"
139
+ }
140
+ },
141
+ {
142
+ type: 'control',
143
+ setting: {
144
+ id: 'openApp'
145
+ }
146
+ },
147
+ {
148
+ type: 'control',
149
+ label: {
150
+ en: 'Align'
151
+ },
152
+ setting: {
153
+ id: 'align'
154
+ }
155
+ }
156
+ ]
157
+ };
158
+
159
+ exports.default = config;
@@ -94,10 +94,28 @@ var TeeinblueProductPersonalizer = require('./TeeinblueProductPersonalizer.js');
94
94
  var GloboProductOptionsVariant = require('./GloboProductOptionsVariant.js');
95
95
  var DiscountyBulkDiscountSales = require('./DiscountyBulkDiscountSales.js');
96
96
  var PowrContactFormBuilder = require('./PowrContactFormBuilder.js');
97
+ var ProductOptionsVariantOption = require('./ProductOptionsVariantOption.js');
98
+ var BestBuyFulfillment = require('./BestBuyFulfillment.js');
99
+ var AftershipEmailMarketingsms = require('./AftershipEmailMarketingsms.js');
100
+ var SegunoEmailMarketing = require('./SegunoEmailMarketing.js');
101
+ var SeoantTrustBadgesIcon = require('./SeoantTrustBadgesIcon.js');
102
+ var TrustreviewsProductReviews = require('./TrustreviewsProductReviews.js');
103
+ var MyappgurusProductReviews = require('./MyappgurusProductReviews.js');
104
+ var HulkProductOptions = require('./HulkProductOptions.js');
105
+ var TrustshopProductReviews = require('./TrustshopProductReviews.js');
97
106
 
98
107
  var index = {
108
+ TrustshopProductReviews: TrustshopProductReviews.default,
109
+ HulkProductOptions: HulkProductOptions.default,
110
+ TrustreviewsProductReviews: TrustreviewsProductReviews.default,
111
+ MyappgurusProductReviews: MyappgurusProductReviews.default,
99
112
  PowrContactFormBuilder: PowrContactFormBuilder.default,
113
+ SeoantTrustBadgesIcon: SeoantTrustBadgesIcon.default,
114
+ SegunoEmailMarketing: SegunoEmailMarketing.default,
100
115
  DiscountyBulkDiscountSales: DiscountyBulkDiscountSales.default,
116
+ AftershipEmailMarketingsms: AftershipEmailMarketingsms.default,
117
+ BestBuyFulfillment: BestBuyFulfillment.default,
118
+ ProductOptionsVariantOption: ProductOptionsVariantOption.default,
101
119
  GloboProductOptionsVariant: GloboProductOptionsVariant.default,
102
120
  TeeinblueProductPersonalizer: TeeinblueProductPersonalizer.default,
103
121
  WishlistKing: WishlistKing.default,
@@ -57,6 +57,8 @@ import PowerfulContactFormBuilder from './third-party/components/PowerfulContact
57
57
  import WishlistKing from './third-party/components/WishlistKing.js';
58
58
  import TeeinblueProductPersonalizer from './third-party/components/TeeinblueProductPersonalizer.js';
59
59
  import GloboProductOptionsVariant from './third-party/components/GloboProductOptionsVariant.js';
60
+ import ProductOptionsVariantOption from './third-party/components/ProductOptionsVariantOption.js';
61
+ import BestBuyFulfillment from './third-party/components/BestBuyFulfillment.js';
60
62
  import JudgemeReviews from './third-party/components/JudgemeReviews.js';
61
63
  import LooxReviews from './third-party/components/LooxReviews.js';
62
64
  import Klaviyo from './third-party/components/Klaviyo.js';
@@ -98,6 +100,13 @@ import KingProductOptions from './third-party/components/KingProductOptions.js';
98
100
  import BirdChime from './third-party/components/BirdChime.js';
99
101
  import DiscountyBulkDiscountSales from './third-party/components/DiscountyBulkDiscountSales.js';
100
102
  import PowrContactFormBuilder from './third-party/components/PowrContactFormBuilder.js';
103
+ import AftershipEmailMarketingsms from './third-party/components/AftershipEmailMarketingsms.js';
104
+ import SegunoEmailMarketing from './third-party/components/SegunoEmailMarketing.js';
105
+ import SeoantTrustBadgesIcon from './third-party/components/SeoantTrustBadgesIcon.js';
106
+ import TrustreviewsProductReviews from './third-party/components/TrustreviewsProductReviews.js';
107
+ import MyappgurusProductReviews from './third-party/components/MyappgurusProductReviews.js';
108
+ import HulkProductOptions from './third-party/components/HulkProductOptions.js';
109
+ import TrustshopProductReviews from './third-party/components/TrustshopProductReviews.js';
101
110
  import CartLineVariant from './cart/components/CartLineVariant.js';
102
111
  import Cart from './cart/components/Cart.js';
103
112
  import CartList from './cart/components/CartList.js';
@@ -232,8 +241,17 @@ import PostPurchaseCountdownTimer from './post-purchase/countdown-timer/componen
232
241
  import Text$1 from './post-purchase/text/Text.js';
233
242
 
234
243
  var builder = {
244
+ TrustshopProductReviews,
245
+ HulkProductOptions,
246
+ TrustreviewsProductReviews,
247
+ MyappgurusProductReviews,
248
+ SeoantTrustBadgesIcon,
249
+ SegunoEmailMarketing,
235
250
  PowrContactFormBuilder,
236
251
  DiscountyBulkDiscountSales,
252
+ AftershipEmailMarketingsms,
253
+ BestBuyFulfillment,
254
+ ProductOptionsVariantOption,
237
255
  GloboProductOptionsVariant,
238
256
  TeeinblueProductPersonalizer,
239
257
  HulkFormBuilder,
@@ -27,8 +27,8 @@ const AdaptiveImage = ({ srcSet, priority, alt, aspectRatio, layout, className,
27
27
  }}"
28
28
  />
29
29
  `, template`
30
- ${srcMobile ? `<source media="(max-width: 767px)" data-srcSet="${srcMobile}" srcset="${enableLazyloadImage ? imagePlaceholder?.['mobile'] ?? createBlurDataURL(srcSet?.mobile?.width ?? srcSet?.tablet?.width ?? srcSet?.desktop?.width ?? 0, srcSet?.mobile?.height ?? srcSet?.tablet?.height ?? srcSet?.desktop?.width ?? 0) : srcMobile}" />` : ''}
31
- ${srcTablet ? `<source media="(max-width: 1024px)" data-srcSet="${srcTablet}" srcset="${enableLazyloadImage ? imagePlaceholder?.['tablet'] ?? createBlurDataURL(srcSet?.tablet?.width ?? srcSet?.desktop?.width ?? 0, srcSet?.tablet?.height ?? srcSet?.desktop?.width ?? 0) : srcTablet}" />` : ''}
30
+ ${srcMobile ? `<source media="(max-width: 767px)" data-srcSet="${srcMobile}" srcset="${enableLazyloadImage ? imagePlaceholder?.['mobile'] ?? createBlurDataURL(srcSet?.mobile?.width ?? srcSet?.tablet?.width ?? srcSet?.desktop?.width ?? 0, srcSet?.mobile?.height ?? srcSet?.tablet?.height ?? srcSet?.desktop?.height ?? 0) : srcMobile}" />` : ''}
31
+ ${srcTablet ? `<source media="(max-width: 1024px)" data-srcSet="${srcTablet}" srcset="${enableLazyloadImage ? imagePlaceholder?.['tablet'] ?? createBlurDataURL(srcSet?.tablet?.width ?? srcSet?.desktop?.width ?? 0, srcSet?.tablet?.height ?? srcSet?.desktop?.height ?? 0) : srcTablet}" />` : ''}
32
32
  <img
33
33
  ${{
34
34
  ...props
package/dist/esm/index.js CHANGED
@@ -196,6 +196,15 @@ export { default as TeeinblueProductPersonalizer } from './third-party/component
196
196
  export { default as GloboProductOptionsVariant } from './third-party/components/GloboProductOptionsVariant.js';
197
197
  export { default as DiscountyBulkDiscountSales } from './third-party/components/DiscountyBulkDiscountSales.js';
198
198
  export { default as PowrContactFormBuilder } from './third-party/components/PowrContactFormBuilder.js';
199
+ export { default as ProductOptionsVariantOption } from './third-party/components/ProductOptionsVariantOption.js';
200
+ export { default as BestBuyFulfillment } from './third-party/components/BestBuyFulfillment.js';
201
+ export { default as AftershipEmailMarketingsms } from './third-party/components/AftershipEmailMarketingsms.js';
202
+ export { default as SegunoEmailMarketing } from './third-party/components/SegunoEmailMarketing.js';
203
+ export { default as SeoantTrustBadgesIcon } from './third-party/components/SeoantTrustBadgesIcon.js';
204
+ export { default as TrustreviewsProductReviews } from './third-party/components/TrustreviewsProductReviews.js';
205
+ export { default as MyappgurusProductReviews } from './third-party/components/MyappgurusProductReviews.js';
206
+ export { default as HulkProductOptions } from './third-party/components/HulkProductOptions.js';
207
+ export { default as TrustshopProductReviews } from './third-party/components/TrustshopProductReviews.js';
199
208
  export { default as thirdPartyInstantSetting } from './third-party-instant/setting/index.js';
200
209
  export { default as InstantJudgemeReviews } from './third-party-instant/components/InstantJudgemeReviews.js';
201
210
  export { default as InstantLooxReviews } from './third-party-instant/components/InstantLooxReviews.js';
@@ -151,6 +151,15 @@ export { default as TeeinblueProductPersonalizer } from './third-party/component
151
151
  export { default as GloboProductOptionsVariant } from './third-party/components/GloboProductOptionsVariant.liquid.js';
152
152
  export { default as DiscountyBulkDiscountSales } from './third-party/components/DiscountyBulkDiscountSales.liquid.js';
153
153
  export { default as PowrContactFormBuilder } from './third-party/components/PowrContactFormBuilder.liquid.js';
154
+ export { default as ProductOptionsVariantOption } from './third-party/components/ProductOptionsVariantOption.liquid.js';
155
+ export { default as BestBuyFulfillment } from './third-party/components/BestBuyFulfillment.liquid.js';
156
+ export { default as AftershipEmailMarketingsms } from './third-party/components/AftershipEmailMarketingsms.liquid.js';
157
+ export { default as SegunoEmailMarketing } from './third-party/components/SegunoEmailMarketing.liquid.js';
158
+ export { default as SeoantTrustBadgesIcon } from './third-party/components/SeoantTrustBadgesIcon.liquid.js';
159
+ export { default as TrustreviewsProductReviews } from './third-party/components/TrustreviewsProductReviews.liquid.js';
160
+ export { default as MyappgurusProductReviews } from './third-party/components/MyappgurusProductReviews.liquid.js';
161
+ export { default as HulkProductOptions } from './third-party/components/HulkProductOptions.liquid.js';
162
+ export { default as TrustshopProductReviews } from './third-party/components/TrustshopProductReviews.liquid.js';
154
163
  export { default as ImageComparison } from './image-comparison/components/ImageComparison.liquid.js';
155
164
  export { default as ThirdPartySlot } from './third-party-slot/components/ThirdPartySlot.liquid.js';
156
165
  export { default as Sticky } from './sticky/components/Sticky.liquid.js';
@@ -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/AftershipEmailMarketingsms.js';
5
+
6
+ const AftershipEmailMarketingsmsContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'AfterShip Email Marketing,SMS',
13
+ iconSvg: `<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
14
+ }
15
+ })
16
+ })
17
+ });
18
+ };
19
+ const AftershipEmailMarketingsms = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(AftershipEmailMarketingsmsContent, {})
25
+ });
26
+ };
27
+
28
+ export { AftershipEmailMarketingsms as default };
@@ -0,0 +1,8 @@
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
+
3
+ const AftershipEmailMarketingsms = ({ setting, advanced })=>{
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ? advanced?.cssClass : ''} !gp-block`);
6
+ };
7
+
8
+ export { AftershipEmailMarketingsms as default };
@@ -0,0 +1,33 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+ import { makeStyleResponsive } from '@gem-sdk/core';
3
+ import ThirdPartyPreview from './ThirdPartyPreview.js';
4
+
5
+ const AppConfig = {
6
+ id: 'best-buy-fulfillment',
7
+ label: 'Best Buy Fulfillment',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/cff02298a65798558a8b2ec125eaa1e4/icon/CKzimdrIrIcDEAE=.png',
9
+ tag: 'BestBuyFulfillment'
10
+ };
11
+ const BestBuyFulfillmentContent = ()=>{
12
+ return /*#__PURE__*/ jsx(Fragment, {
13
+ children: /*#__PURE__*/ jsx("div", {
14
+ className: "gp-p-2",
15
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
16
+ setting: {
17
+ label: 'Best Buy Fulfillment',
18
+ iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
19
+ }
20
+ })
21
+ })
22
+ });
23
+ };
24
+ const BestBuyFulfillment = ({ setting })=>{
25
+ return /*#__PURE__*/ jsx("div", {
26
+ style: {
27
+ ...makeStyleResponsive('ta', setting?.align)
28
+ },
29
+ children: /*#__PURE__*/ jsx(BestBuyFulfillmentContent, {})
30
+ });
31
+ };
32
+
33
+ export { AppConfig, BestBuyFulfillment as default };
@@ -0,0 +1,8 @@
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
+
3
+ const BestBuyFulfillment = ({ setting, advanced })=>{
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, advanced?.cssClass);
6
+ };
7
+
8
+ export { BestBuyFulfillment 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/HulkProductOptions.js';
5
+
6
+ const HulkProductOptionsContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'Hulk Product Options',
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 HulkProductOptions = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(HulkProductOptionsContent, {})
25
+ });
26
+ };
27
+
28
+ export { HulkProductOptions as default };
@@ -0,0 +1,8 @@
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
+
3
+ const HulkProductOptions = ({ setting, advanced })=>{
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ? advanced?.cssClass : ''} !gp-block`);
6
+ };
7
+
8
+ export { HulkProductOptions 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/MyappgurusProductReviews.js';
5
+
6
+ const MyappgurusProductReviewsContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'MyAppGurus Product Reviews',
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 MyappgurusProductReviews = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(MyappgurusProductReviewsContent, {})
25
+ });
26
+ };
27
+
28
+ export { MyappgurusProductReviews as default };
@@ -0,0 +1,8 @@
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
+
3
+ const MyappgurusProductReviews = ({ setting, advanced })=>{
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ? advanced?.cssClass : ''} !gp-block [&_*]:gp-max-w-none`);
6
+ };
7
+
8
+ export { MyappgurusProductReviews as default };
@@ -0,0 +1,33 @@
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
+ import { makeStyleResponsive } from '@gem-sdk/core';
3
+ import ThirdPartyPreview from './ThirdPartyPreview.js';
4
+
5
+ const AppConfig = {
6
+ id: 'product-options-variant-option',
7
+ label: 'Product Options Variant Option',
8
+ logoUrl: 'https://cdn.shopify.com/app-store/listing_images/5ee1f244b087cfbec9b19c8b3f62c8f6/icon/CMCq1s7J5vQCEAE=.png',
9
+ tag: 'ProductOptionsVariantOption'
10
+ };
11
+ const ProductOptionsVariantOptionContent = ()=>{
12
+ return /*#__PURE__*/ jsx(Fragment, {
13
+ children: /*#__PURE__*/ jsx("div", {
14
+ className: "gp-p-2",
15
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
16
+ setting: {
17
+ label: 'Product Options Variant Option',
18
+ iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
19
+ }
20
+ })
21
+ })
22
+ });
23
+ };
24
+ const ProductOptionsVariantOption = ({ setting })=>{
25
+ return /*#__PURE__*/ jsx("div", {
26
+ style: {
27
+ ...makeStyleResponsive('ta', setting?.align)
28
+ },
29
+ children: /*#__PURE__*/ jsx(ProductOptionsVariantOptionContent, {})
30
+ });
31
+ };
32
+
33
+ export { AppConfig, ProductOptionsVariantOption as default };
@@ -0,0 +1,17 @@
1
+ import { template, makeStyleResponsive } from '@gem-sdk/core';
2
+
3
+ const ProductOptionsVariantOption = ({ setting, advanced })=>{
4
+ const { align, idTrigger } = setting ?? {};
5
+ return template`
6
+ <div
7
+ class="${advanced?.cssClass}"
8
+ style="${{
9
+ ...makeStyleResponsive('ta', align)
10
+ }}"
11
+ >
12
+ <div class="${idTrigger?.replace('.', '')}"></div>
13
+ </div>
14
+ `;
15
+ };
16
+
17
+ export { ProductOptionsVariantOption 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/SegunoEmailMarketing.js';
5
+
6
+ const SegunoEmailMarketingContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'Seguno Email Marketing',
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 SegunoEmailMarketing = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(SegunoEmailMarketingContent, {})
25
+ });
26
+ };
27
+
28
+ export { SegunoEmailMarketing as default };
@@ -0,0 +1,8 @@
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
+
3
+ const SegunoEmailMarketing = ({ setting, advanced })=>{
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, advanced?.cssClass);
6
+ };
7
+
8
+ export { SegunoEmailMarketing 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/SeoantTrustBadgesIcon.js';
5
+
6
+ const SeoantTrustBadgesIconContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'SEOAnt ‑ Trust Badges & Icon',
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 SeoantTrustBadgesIcon = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(SeoantTrustBadgesIconContent, {})
25
+ });
26
+ };
27
+
28
+ export { SeoantTrustBadgesIcon as default };
@@ -0,0 +1,8 @@
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
+
3
+ const SeoantTrustBadgesIcon = ({ setting, advanced })=>{
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, advanced?.cssClass);
6
+ };
7
+
8
+ export { SeoantTrustBadgesIcon 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/TrustreviewsProductReviews.js';
5
+
6
+ const TrustreviewsProductReviewsContent = ()=>{
7
+ return /*#__PURE__*/ jsx(Fragment, {
8
+ children: /*#__PURE__*/ jsx("div", {
9
+ className: "gp-p-2",
10
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
11
+ setting: {
12
+ label: 'TrustReviews: Product Reviews',
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 TrustreviewsProductReviews = ({ setting })=>{
20
+ return /*#__PURE__*/ jsx("div", {
21
+ style: {
22
+ ...makeStyleResponsive('ta', setting?.align)
23
+ },
24
+ children: /*#__PURE__*/ jsx(TrustreviewsProductReviewsContent, {})
25
+ });
26
+ };
27
+
28
+ export { TrustreviewsProductReviews as default };
@@ -0,0 +1,8 @@
1
+ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
2
+
3
+ const TrustreviewsProductReviews = ({ setting, advanced })=>{
4
+ const { align, appBlockId } = setting ?? {};
5
+ return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ? advanced?.cssClass : ''} !gp-block [&_*]:gp-max-w-none`);
6
+ };
7
+
8
+ export { TrustreviewsProductReviews as default };
@@ -0,0 +1,42 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import { makeStyleResponsive } from '@gem-sdk/core';
3
+ import ThirdPartyPreview from './ThirdPartyPreview.js';
4
+ import AppConfig from '../configs/TrustshopProductReviews.js';
5
+
6
+ const widgetTypeOptions = [
7
+ {
8
+ label: 'Widget Product Rating',
9
+ value: 'widget-product-rating'
10
+ },
11
+ {
12
+ label: 'All Reviews',
13
+ value: 'all-reviews'
14
+ },
15
+ {
16
+ label: 'Widget Box',
17
+ value: 'widget-box'
18
+ },
19
+ {
20
+ label: 'Review Testimonial',
21
+ value: 'review-testimonial'
22
+ }
23
+ ];
24
+ const TrustshopProductReviews = ({ setting })=>{
25
+ const currentWidgetType = widgetTypeOptions.find((option)=>option.value === setting?.widgetType);
26
+ return /*#__PURE__*/ jsx("div", {
27
+ style: {
28
+ ...makeStyleResponsive('ta', setting?.align)
29
+ },
30
+ children: /*#__PURE__*/ jsx("div", {
31
+ className: "gp-p-2",
32
+ children: /*#__PURE__*/ jsx(ThirdPartyPreview, {
33
+ setting: {
34
+ label: 'TrustShop: Product Reviews - ' + currentWidgetType?.label,
35
+ iconSvg: `<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${AppConfig.logoUrl}">`
36
+ }
37
+ })
38
+ })
39
+ });
40
+ };
41
+
42
+ export { TrustshopProductReviews as default };