@gem-sdk/core 2.0.0-dev.225 → 2.0.0-dev.248

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.
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ function composeClasses(classList) {
4
+ if (!classList) {
5
+ return {};
6
+ }
7
+ return classList.split(' ').reduce((acc, item)=>{
8
+ acc[item] = true;
9
+ return acc;
10
+ }, {});
11
+ }
12
+
13
+ exports.composeClasses = composeClasses;
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ function filterTruthyStyles(styles) {
4
+ return Object.fromEntries(Object.entries(styles || {}).filter(([, value])=>!!value));
5
+ }
6
+
7
+ exports.filterTruthyStyles = filterTruthyStyles;
@@ -318,6 +318,18 @@ const HextomFreeShippingBarConfig = {
318
318
  appId: '7ef5d9af-75a2-45c7-9b1b-f9240ee488e9'
319
319
  }
320
320
  };
321
+ const ShopifySubscriptionsConfig = {
322
+ ShopifySubscriptions: {
323
+ appName: 'subscriptions',
324
+ appId: 'a3bfe9ec-96f8-4508-a003-df608a36d2ad'
325
+ }
326
+ };
327
+ const QikifyUpsellConfig = {
328
+ QikifyUpsell: {
329
+ appName: 'q-discount-free-gift',
330
+ appId: '2e94b962-8172-4839-8ad9-7837eb8b017a'
331
+ }
332
+ };
321
333
 
322
334
  exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
323
335
  exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
@@ -352,12 +364,14 @@ exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
352
364
  exports.PreorderNowWodPresaleConfig = PreorderNowWodPresaleConfig;
353
365
  exports.ProductOptionsCustomizerConfig = ProductOptionsCustomizerConfig;
354
366
  exports.PumperBundlesVolumeDiscountConfig = PumperBundlesVolumeDiscountConfig;
367
+ exports.QikifyUpsellConfig = QikifyUpsellConfig;
355
368
  exports.RechargeSubscriptionsConfig = RechargeSubscriptionsConfig;
356
369
  exports.ReviewxpoProductReviewsAppConfig = ReviewxpoProductReviewsAppConfig;
357
370
  exports.SegunoEmailMarketingConfig = SegunoEmailMarketingConfig;
358
371
  exports.SelleasyConfig = SelleasyConfig;
359
372
  exports.SeoantTrustBadgesIconConfig = SeoantTrustBadgesIconConfig;
360
373
  exports.ShopifyFormsConfig = ShopifyFormsConfig;
374
+ exports.ShopifySubscriptionsConfig = ShopifySubscriptionsConfig;
361
375
  exports.SimpleBundlesKitsConfig = SimpleBundlesKitsConfig;
362
376
  exports.SkioSubscriptionsYcS20Config = SkioSubscriptionsYcS20Config;
363
377
  exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
@@ -225,6 +225,20 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
225
225
  'tm-type': appSetting?.trustId
226
226
  };
227
227
  }
228
+ case 'ShopifySubscriptions':
229
+ {
230
+ return {
231
+ ...currentSetting,
232
+ product: appSetting?.['productHandle'] || '{{ product }}'
233
+ };
234
+ }
235
+ case 'QikifyUpsell':
236
+ {
237
+ return {
238
+ ...currentSetting,
239
+ product: appSetting?.['productHandle'] || '{{ product }}'
240
+ };
241
+ }
228
242
  default:
229
243
  return currentSetting;
230
244
  }
@@ -1116,6 +1130,44 @@ const HextomFreeShippingBar = {
1116
1130
  'fsb-custom-placement': null
1117
1131
  }
1118
1132
  };
1133
+ const ShopifySubscriptions = {
1134
+ ShopifySubscriptions: {
1135
+ 'app-block': {
1136
+ color_text_title: '#6D7175',
1137
+ color_text_body: '#6D7175',
1138
+ dividers_color: '#8F8D8D',
1139
+ bacgkround_color: '#FFFFFF',
1140
+ border_thickness: 1,
1141
+ border_radius: 0,
1142
+ supporting_text_title: 'Purchase options',
1143
+ subscription_policy_url: '',
1144
+ product: '{{product}}'
1145
+ }
1146
+ }
1147
+ };
1148
+ const QikifyUpsell = {
1149
+ QikifyUpsell: {
1150
+ bogo_offer: {
1151
+ product: '{{product}}'
1152
+ },
1153
+ free_gift: {
1154
+ product: '{{product}}'
1155
+ },
1156
+ bundle_offer: {
1157
+ product: '{{product}}'
1158
+ },
1159
+ promotion_badge: {
1160
+ product: '{{product}}'
1161
+ },
1162
+ 'order-goal': null,
1163
+ upsurge_offer: {
1164
+ product: '{{product}}'
1165
+ },
1166
+ volume_offer: {
1167
+ product: '{{product}}'
1168
+ }
1169
+ }
1170
+ };
1119
1171
  const composeSettingsByWidgetType = {
1120
1172
  ...HextomCountdownTimerBar,
1121
1173
  ...EstimatedDeliveryDatePlus,
@@ -1169,7 +1221,9 @@ const composeSettingsByWidgetType = {
1169
1221
  ...TrustedsiteTrustBadges,
1170
1222
  ...GloColorSwatchvariantImage,
1171
1223
  ...BfSizeChartSizeGuide,
1172
- ...HextomFreeShippingBar
1224
+ ...HextomFreeShippingBar,
1225
+ ...ShopifySubscriptions,
1226
+ ...QikifyUpsell
1173
1227
  };
1174
1228
 
1175
1229
  exports.composeSettingsByWidgetType = composeSettingsByWidgetType;
@@ -55,7 +55,9 @@ const mapShopifyAppMeta = {
55
55
  ...appConfig.TrustedsiteTrustBadgesConfig,
56
56
  ...appConfig.GloColorSwatchvariantImageConfig,
57
57
  ...appConfig.BfSizeChartSizeGuideConfig,
58
- ...appConfig.HextomFreeShippingBarConfig
58
+ ...appConfig.HextomFreeShippingBarConfig,
59
+ ...appConfig.ShopifySubscriptionsConfig,
60
+ ...appConfig.QikifyUpsellConfig
59
61
  };
60
62
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
61
63
 
package/dist/cjs/index.js CHANGED
@@ -59,6 +59,7 @@ var background = require('./helpers/background.js');
59
59
  var backgroundImage = require('./helpers/backgroundImage.js');
60
60
  var colors = require('./helpers/colors.js');
61
61
  var composeAdvanceStyle = require('./helpers/compose-advance-style.js');
62
+ var composeClasses = require('./helpers/composeClasses.js');
62
63
  var convert = require('./helpers/convert.js');
63
64
  var covertEntitiesHtml = require('./helpers/covert-entities-html.js');
64
65
  var iconList = require('./helpers/icon-list.js');
@@ -66,6 +67,7 @@ var isDefined = require('./helpers/is-defined.js');
66
67
  var layout = require('./helpers/layout.js');
67
68
  var makeStyle = require('./helpers/make-style.js');
68
69
  var align = require('./helpers/align.js');
70
+ var filterTruthyStyles = require('./helpers/filter-truthy-styles.js');
69
71
  var variant = require('./helpers/variant.js');
70
72
  var product = require('./helpers/product.js');
71
73
  var query = require('./helpers/query.js');
@@ -239,6 +241,7 @@ exports.getCornerStyle = composeAdvanceStyle.getCornerStyle;
239
241
  exports.removeAttrInStyle = composeAdvanceStyle.removeAttrInStyle;
240
242
  exports.removePaddingYInStyle = composeAdvanceStyle.removePaddingYInStyle;
241
243
  exports.splitStyle = composeAdvanceStyle.splitStyle;
244
+ exports.composeClasses = composeClasses.composeClasses;
242
245
  exports.baseAssetURL = convert.baseAssetURL;
243
246
  exports.isLocalEnv = convert.isLocalEnv;
244
247
  exports.convertHTML = covertEntitiesHtml.convertHTML;
@@ -265,6 +268,7 @@ exports.makeWidth = makeStyle.makeWidth;
265
268
  exports.removeNullUndefined = makeStyle.removeNullUndefined;
266
269
  exports.convertTextAlignToJustify = align.convertTextAlignToJustify;
267
270
  exports.getAlignmentClasses = align.getAlignmentClasses;
271
+ exports.filterTruthyStyles = filterTruthyStyles.filterTruthyStyles;
268
272
  exports.checkInStock = variant.checkInStock;
269
273
  exports.checkAvailableVariantInStock = product.checkAvailableVariantInStock;
270
274
  exports.getSelectedVariant = product.getSelectedVariant;
@@ -0,0 +1,11 @@
1
+ function composeClasses(classList) {
2
+ if (!classList) {
3
+ return {};
4
+ }
5
+ return classList.split(' ').reduce((acc, item)=>{
6
+ acc[item] = true;
7
+ return acc;
8
+ }, {});
9
+ }
10
+
11
+ export { composeClasses };
@@ -0,0 +1,5 @@
1
+ function filterTruthyStyles(styles) {
2
+ return Object.fromEntries(Object.entries(styles || {}).filter(([, value])=>!!value));
3
+ }
4
+
5
+ export { filterTruthyStyles };
@@ -316,5 +316,17 @@ const HextomFreeShippingBarConfig = {
316
316
  appId: '7ef5d9af-75a2-45c7-9b1b-f9240ee488e9'
317
317
  }
318
318
  };
319
+ const ShopifySubscriptionsConfig = {
320
+ ShopifySubscriptions: {
321
+ appName: 'subscriptions',
322
+ appId: 'a3bfe9ec-96f8-4508-a003-df608a36d2ad'
323
+ }
324
+ };
325
+ const QikifyUpsellConfig = {
326
+ QikifyUpsell: {
327
+ appName: 'q-discount-free-gift',
328
+ appId: '2e94b962-8172-4839-8ad9-7837eb8b017a'
329
+ }
330
+ };
319
331
 
320
- export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BfSizeChartSizeGuideConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, BoostAISearchDiscoveryConfig, EasyBundleBuilderSkailamaConfig, EssentialAnnouncementBarConfig, EssentialCountdownTimerBarConfig, EstimatedDeliveryDatePlusConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloColorSwatchvariantImageConfig, GloboProductOptionsVariantConfig, GrowaveConfig, HextomCountdownTimerBarConfig, HextomFreeShippingBarConfig, HulkProductOptionsConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, MyappgurusProductReviewsConfig, OkendoReviewsLoyaltyConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, StampedConfig, SubifySubscriptionsConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, TrustooConfig, TrustreviewsProductReviewsConfig, TrustshopProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
332
+ export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BfSizeChartSizeGuideConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, BoostAISearchDiscoveryConfig, EasyBundleBuilderSkailamaConfig, EssentialAnnouncementBarConfig, EssentialCountdownTimerBarConfig, EstimatedDeliveryDatePlusConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloColorSwatchvariantImageConfig, GloboProductOptionsVariantConfig, GrowaveConfig, HextomCountdownTimerBarConfig, HextomFreeShippingBarConfig, HulkProductOptionsConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, MyappgurusProductReviewsConfig, OkendoReviewsLoyaltyConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, QikifyUpsellConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, ShopifySubscriptionsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, StampedConfig, SubifySubscriptionsConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, TrustooConfig, TrustreviewsProductReviewsConfig, TrustshopProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
@@ -223,6 +223,20 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
223
223
  'tm-type': appSetting?.trustId
224
224
  };
225
225
  }
226
+ case 'ShopifySubscriptions':
227
+ {
228
+ return {
229
+ ...currentSetting,
230
+ product: appSetting?.['productHandle'] || '{{ product }}'
231
+ };
232
+ }
233
+ case 'QikifyUpsell':
234
+ {
235
+ return {
236
+ ...currentSetting,
237
+ product: appSetting?.['productHandle'] || '{{ product }}'
238
+ };
239
+ }
226
240
  default:
227
241
  return currentSetting;
228
242
  }
@@ -1114,6 +1128,44 @@ const HextomFreeShippingBar = {
1114
1128
  'fsb-custom-placement': null
1115
1129
  }
1116
1130
  };
1131
+ const ShopifySubscriptions = {
1132
+ ShopifySubscriptions: {
1133
+ 'app-block': {
1134
+ color_text_title: '#6D7175',
1135
+ color_text_body: '#6D7175',
1136
+ dividers_color: '#8F8D8D',
1137
+ bacgkround_color: '#FFFFFF',
1138
+ border_thickness: 1,
1139
+ border_radius: 0,
1140
+ supporting_text_title: 'Purchase options',
1141
+ subscription_policy_url: '',
1142
+ product: '{{product}}'
1143
+ }
1144
+ }
1145
+ };
1146
+ const QikifyUpsell = {
1147
+ QikifyUpsell: {
1148
+ bogo_offer: {
1149
+ product: '{{product}}'
1150
+ },
1151
+ free_gift: {
1152
+ product: '{{product}}'
1153
+ },
1154
+ bundle_offer: {
1155
+ product: '{{product}}'
1156
+ },
1157
+ promotion_badge: {
1158
+ product: '{{product}}'
1159
+ },
1160
+ 'order-goal': null,
1161
+ upsurge_offer: {
1162
+ product: '{{product}}'
1163
+ },
1164
+ volume_offer: {
1165
+ product: '{{product}}'
1166
+ }
1167
+ }
1168
+ };
1117
1169
  const composeSettingsByWidgetType = {
1118
1170
  ...HextomCountdownTimerBar,
1119
1171
  ...EstimatedDeliveryDatePlus,
@@ -1167,7 +1219,9 @@ const composeSettingsByWidgetType = {
1167
1219
  ...TrustedsiteTrustBadges,
1168
1220
  ...GloColorSwatchvariantImage,
1169
1221
  ...BfSizeChartSizeGuide,
1170
- ...HextomFreeShippingBar
1222
+ ...HextomFreeShippingBar,
1223
+ ...ShopifySubscriptions,
1224
+ ...QikifyUpsell
1171
1225
  };
1172
1226
 
1173
1227
  export { composeSettingsByWidgetType, overrideSettings };
@@ -1,4 +1,4 @@
1
- import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig, TrustooConfig, LooxReviewsConfig, SeoantTrustBadgesIconConfig, TrustreviewsProductReviewsConfig, MyappgurusProductReviewsConfig, HulkProductOptionsConfig, TrustshopProductReviewsConfig, StampedConfig, BoostAISearchDiscoveryConfig, EssentialCountdownTimerBarConfig, EssentialAnnouncementBarConfig, OkendoReviewsLoyaltyConfig, EstimatedDeliveryDatePlusConfig, HextomCountdownTimerBarConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, GloColorSwatchvariantImageConfig, BfSizeChartSizeGuideConfig, HextomFreeShippingBarConfig } from './appConfig.js';
1
+ import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig, TrustooConfig, LooxReviewsConfig, SeoantTrustBadgesIconConfig, TrustreviewsProductReviewsConfig, MyappgurusProductReviewsConfig, HulkProductOptionsConfig, TrustshopProductReviewsConfig, StampedConfig, BoostAISearchDiscoveryConfig, EssentialCountdownTimerBarConfig, EssentialAnnouncementBarConfig, OkendoReviewsLoyaltyConfig, EstimatedDeliveryDatePlusConfig, HextomCountdownTimerBarConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, GloColorSwatchvariantImageConfig, BfSizeChartSizeGuideConfig, HextomFreeShippingBarConfig, ShopifySubscriptionsConfig, QikifyUpsellConfig } from './appConfig.js';
2
2
 
3
3
  const mapShopifyAppMeta = {
4
4
  ...RechargeSubscriptionsConfig,
@@ -53,7 +53,9 @@ const mapShopifyAppMeta = {
53
53
  ...TrustedsiteTrustBadgesConfig,
54
54
  ...GloColorSwatchvariantImageConfig,
55
55
  ...BfSizeChartSizeGuideConfig,
56
- ...HextomFreeShippingBarConfig
56
+ ...HextomFreeShippingBarConfig,
57
+ ...ShopifySubscriptionsConfig,
58
+ ...QikifyUpsellConfig
57
59
  };
58
60
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
59
61
 
package/dist/esm/index.js CHANGED
@@ -60,6 +60,7 @@ export { GRADIENT_BGR_KEY, composeBackgroundCss, getBgImageByDevice, getGradient
60
60
  export { composeBackgroundImageCss, getBgImageSourceByDevice, getStyleBackgroundImageByDevice, getStyleBgImageSource } from './helpers/backgroundImage.js';
61
61
  export { composeTextColorCss, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getSingleColorVariable, isColor } from './helpers/colors.js';
62
62
  export { composeAdvanceStyle, composeAdvanceStyleForPostPurchase, filterAttrInStyle, getCornerStyle, removeAttrInStyle, removePaddingYInStyle, splitStyle } from './helpers/compose-advance-style.js';
63
+ export { composeClasses } from './helpers/composeClasses.js';
63
64
  export { baseAssetURL, isLocalEnv } from './helpers/convert.js';
64
65
  export { convertHTML } from './helpers/covert-entities-html.js';
65
66
  export { composePositionLineHeight, composePostionIconList } from './helpers/icon-list.js';
@@ -67,6 +68,7 @@ export { isDefined } from './helpers/is-defined.js';
67
68
  export { composeGridLayout, convertOldLayout, getLayoutClasses, gridToArrayRegex, optionLayoutStyle } from './helpers/layout.js';
68
69
  export { makeAspectRatio, makeGlobalSizeHeightResponsive, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeWidth, removeNullUndefined } from './helpers/make-style.js';
69
70
  export { convertTextAlignToJustify, getAlignmentClasses } from './helpers/align.js';
71
+ export { filterTruthyStyles } from './helpers/filter-truthy-styles.js';
70
72
  export { checkInStock } from './helpers/variant.js';
71
73
  export { checkAvailableVariantInStock, getSelectedVariant, parseSelectedOption } from './helpers/product.js';
72
74
  export { generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey } from './helpers/query.js';
@@ -7452,7 +7452,7 @@ type ObjectDevices<T> = Partial<Record<NameDevices$1, T>>;
7452
7452
  type StateType = 'normal' | 'hover' | 'focus' | 'active' | 'price' | 'compareAtPrice';
7453
7453
  type StateProp<T> = Partial<Record<StateType, T>>;
7454
7454
  type ResponsiveStateProp<T> = ObjectDevices<StateProp<T>>;
7455
- type AlignItemProp = 'left' | 'center' | 'right';
7455
+ type AlignItemProp = 'left' | 'center' | 'right' | 'justify';
7456
7456
  type JudgeMeReviewsWidgetType = 'single_product_preview_badge' | 'review_widget' | 'reviews_carousel' | 'reviews_text' | 'section_for_medals' | 'ugc_media_grid' | 'verified_reviews_count_badge';
7457
7457
  type LooxReviewsWidgetType = 'reviews_widget' | 'rating_widget' | 'carousel_widget';
7458
7458
  type LooxReviewsWidgetTypeV2 = 'loox-card-carousel-section' | 'loox-gallery-carousel-section' | 'loox-referrals-section' | 'loox-dynamic-section' | 'loox-snippets-widget' | 'loox-rating' | 'loox-testimonial-carousel-section' | 'loox-trust-badge' | 'loox-video-slider';
@@ -8086,6 +8086,7 @@ type SettingUIControl = {
8086
8086
  settingId: string;
8087
8087
  state?: SettingStateType;
8088
8088
  }[];
8089
+ toggleStyle?: 'switch' | 'option';
8089
8090
  };
8090
8091
  setting?: {
8091
8092
  id: string;
@@ -8441,6 +8442,10 @@ type VariantSwatchesPresetControlType<T> = SharedControlType<T> & {
8441
8442
  id?: string;
8442
8443
  type: 'variant:presets';
8443
8444
  };
8445
+ type VariantSwatchesPresetV2ControlType<T> = SharedControlType<T> & {
8446
+ id?: string;
8447
+ type: 'variant:presetsV2';
8448
+ };
8444
8449
  type VariantSwatchesOnlyDefaultVariantControlType<T> = SharedControlType<T> & {
8445
8450
  id?: string;
8446
8451
  type: 'variant:default';
@@ -9176,11 +9181,6 @@ type BgPosition = {
9176
9181
  };
9177
9182
  type BgAttachment = 'scroll' | 'fixed' | 'local';
9178
9183
 
9179
- type SwitchControlType<T> = SharedControlType<T> & {
9180
- type: 'switch';
9181
- readonly?: boolean;
9182
- };
9183
-
9184
9184
  type ImageV2ControlType<T> = SharedControlType<T> & {
9185
9185
  type: 'image-v2';
9186
9186
  };
@@ -9323,7 +9323,44 @@ type DynamicOfferQuantity<T> = SharedControlType<T> & {
9323
9323
  isOnlyAcceptInteger?: boolean;
9324
9324
  };
9325
9325
 
9326
- type ControlProp<T> = ProductBundleChildControlType<T> | SelectProductBundleControlType<T> | AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputStepperControlType<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> | DynamicOfferQuantity<T>;
9326
+ type ImagePostPurchase<T> = SharedControlType<T> & {
9327
+ type: 'image:post-purchase';
9328
+ };
9329
+
9330
+ type InputSliderControlType<T> = SharedControlType<T> & {
9331
+ type: 'input:slider';
9332
+ placeholder?: string;
9333
+ min?: number;
9334
+ max?: number;
9335
+ step?: number;
9336
+ readonly?: boolean;
9337
+ units?: string[];
9338
+ disableOnChange?: boolean;
9339
+ useOnlyUnitInit?: boolean;
9340
+ ignoreMax?: boolean;
9341
+ hideUnit?: boolean;
9342
+ hideInput?: boolean;
9343
+ } & OnlyOne<{
9344
+ minRelated?: string;
9345
+ }, {
9346
+ maxRelated?: string;
9347
+ }>;
9348
+
9349
+ type ControlProp<T> = (ProductBundleChildControlType<T> | SelectProductBundleControlType<T> | AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputStepperControlType<T> | InputUnitControlType<T> | InputUnitSpacingControlType<T> | InputUnitWidthControlType<T> | InputControlType<T> | MarginControlType<T> | PaddingControlType<T> | PositionControlType<T> | RadioGroupControlType | RangeControlType<T> | SegmentControlType<T> | Option$5<T> | OpenLinkControlType<T> | SelectControlType<T> | Option$4<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> | ImageV2ControlType<T> | LayoutSelectorControlType<T> | ComboControlType<T> | SegmentV2ControlType<T> | DynamicOfferQuantity<T> | ImagePostPurchase<T> | InputSliderControlType<T> | VariantSwatchesPresetV2ControlType<T>) & {
9350
+ validate?: ValidateType;
9351
+ };
9352
+ type ValidateType = {
9353
+ type: 'object' | 'string' | 'number' | 'boolean';
9354
+ properties?: Record<string, ValidateType>;
9355
+ pattern?: string;
9356
+ enum?: (string | number)[];
9357
+ maximum?: number;
9358
+ minimum?: number;
9359
+ minLength?: number;
9360
+ maxLength?: number;
9361
+ required?: string[];
9362
+ additionalProperties?: boolean;
9363
+ };
9327
9364
  type ControlTriggerAction = {
9328
9365
  controlId: string;
9329
9366
  newValue?: any;
@@ -37258,7 +37295,7 @@ declare const makeStyleState: <T extends ShortHandProperty, K>(name: T, value?:
37258
37295
  declare const makeStyleResponsiveState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, Partial<Record<StateType, K>>>> | undefined) => {};
37259
37296
  declare const makeStyleResponsive: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
37260
37297
  declare const makeStyleResponsiveByScreen: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
37261
- declare const makeWidth: (widthValue?: ObjectDevices<string | number>, fullWidthValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
37298
+ declare const makeWidth: (widthValue?: ObjectDevices<string | number>, fullWidthValue?: ObjectDevices<boolean>) => ObjectDevices<string | number>;
37262
37299
  declare const makeGlobalSizeWidthResponsive: (globalSize?: ObjectDevices<SizeSettingGlobal>) => {
37263
37300
  '--w': string | undefined;
37264
37301
  '--w-tablet': string | undefined;
@@ -41921,6 +41958,8 @@ declare const removePaddingYInStyle: (style?: React.CSSProperties) => {
41921
41958
  vectorEffect?: csstype.Property.VectorEffect | undefined;
41922
41959
  };
41923
41960
 
41961
+ declare function composeClasses(classList?: string): Record<string, boolean>;
41962
+
41924
41963
  declare const isLocalEnv: boolean;
41925
41964
  declare const baseAssetURL: string;
41926
41965
 
@@ -41950,6 +41989,8 @@ declare const getLayoutClasses: (layout: Partial<Record<NameDevices$1, string>>
41950
41989
  declare const convertTextAlignToJustify: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
41951
41990
  declare const getAlignmentClasses: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
41952
41991
 
41992
+ declare function filterTruthyStyles<T extends Record<string, any>>(styles: T): Partial<T>;
41993
+
41953
41994
  declare function checkInStock(variant?: VariantSelectFragment, product?: ProductSelectFragment): boolean;
41954
41995
 
41955
41996
  declare function getSelectedVariant(variants?: Maybe$1<VariantSelectFragment>[], choices?: Record<string, string>, variantId?: string | null): Maybe$1<VariantSelectFragment>;
@@ -47019,4 +47060,4 @@ declare const useInteraction: () => {
47019
47060
  interactionListenerLoaded: (callback: () => void) => void;
47020
47061
  };
47021
47062
 
47022
- 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, PublishedShopMetasQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, 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, SaleFunnelOfferDocument, SaleFunnelOfferQueryResponse, SaleFunnelOfferQueryVariables, 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, composeShadow, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTextHoverColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterToolbarPreview, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAlignmentClasses, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBgImageSourceByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCornerStyle, 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 };
47063
+ 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, Dropdown, 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, Option$4 as Option, 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, PublishedShopMetasQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, 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, SaleFunnelOfferDocument, SaleFunnelOfferQueryResponse, SaleFunnelOfferQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, Setting, 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, ValidateType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBackgroundImageCss, composeBorderCss, composeBorderResponsive, composeClasses, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadow, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTextHoverColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterToolbarPreview, filterTruthyStyles, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAlignmentClasses, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBgImageSourceByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCornerStyle, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "2.0.0-dev.225",
3
+ "version": "2.0.0-dev.248",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -27,8 +27,8 @@
27
27
  "type-check": "yarn tsc --noEmit"
28
28
  },
29
29
  "devDependencies": {
30
- "@gem-sdk/adapter-shopify": "2.0.0-dev.203",
31
- "@gem-sdk/styles": "2.0.0-dev.184",
30
+ "@gem-sdk/adapter-shopify": "2.0.0-dev.234",
31
+ "@gem-sdk/styles": "2.0.0-dev.234",
32
32
  "@types/classnames": "^2.3.1"
33
33
  },
34
34
  "dependencies": {