@gem-sdk/core 2.0.0-dev.184 → 2.0.0-dev.188
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/helpers/third-party/appConfig.js +7 -0
- package/dist/cjs/helpers/third-party/appSetting.js +15 -0
- package/dist/cjs/helpers/third-party/constant.js +2 -1
- package/dist/esm/helpers/third-party/appConfig.js +7 -1
- package/dist/esm/helpers/third-party/appSetting.js +15 -0
- package/dist/esm/helpers/third-party/constant.js +3 -2
- package/dist/types/index.d.ts +11 -1
- package/package.json +1 -1
|
@@ -252,6 +252,12 @@ const StampedConfig = {
|
|
|
252
252
|
appId: 'a103faaf-2125-4b0e-89fa-de5149736723'
|
|
253
253
|
}
|
|
254
254
|
};
|
|
255
|
+
const EssentialCountdownTimerBarConfig = {
|
|
256
|
+
EssentialCountdownTimerBar: {
|
|
257
|
+
appName: 'essential-countdown',
|
|
258
|
+
appId: '722378e8-5a70-4eae-aa89-9e44e8e9f6de'
|
|
259
|
+
}
|
|
260
|
+
};
|
|
255
261
|
|
|
256
262
|
exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
|
|
257
263
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
@@ -259,6 +265,7 @@ exports.BestBuyFulfillmentConfig = BestBuyFulfillmentConfig;
|
|
|
259
265
|
exports.BoldSubscriptionsConfig = BoldSubscriptionsConfig;
|
|
260
266
|
exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
|
|
261
267
|
exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
|
|
268
|
+
exports.EssentialCountdownTimerBarConfig = EssentialCountdownTimerBarConfig;
|
|
262
269
|
exports.FastBundleBundlesDiscountsConfig = FastBundleBundlesDiscountsConfig;
|
|
263
270
|
exports.FlyBundlesUpsellsFbtConfig = FlyBundlesUpsellsFbtConfig;
|
|
264
271
|
exports.GloboProductOptionsVariantConfig = GloboProductOptionsVariantConfig;
|
|
@@ -190,6 +190,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
190
190
|
linkify: appSetting.linkify
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
|
+
case 'EssentialCountdownTimerBar':
|
|
194
|
+
{
|
|
195
|
+
return {
|
|
196
|
+
...currentSetting,
|
|
197
|
+
id: appSetting?.timerId
|
|
198
|
+
};
|
|
199
|
+
}
|
|
193
200
|
default:
|
|
194
201
|
return currentSetting;
|
|
195
202
|
}
|
|
@@ -987,7 +994,15 @@ const Stamped = {
|
|
|
987
994
|
}
|
|
988
995
|
}
|
|
989
996
|
};
|
|
997
|
+
const EssentialCountdownTimerBar = {
|
|
998
|
+
EssentialCountdownTimerBar: {
|
|
999
|
+
'app-block': {
|
|
1000
|
+
id: ''
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
};
|
|
990
1004
|
const composeSettingsByWidgetType = {
|
|
1005
|
+
...EssentialCountdownTimerBar,
|
|
991
1006
|
...Stamped,
|
|
992
1007
|
...TrustshopProductReviews,
|
|
993
1008
|
...HulkProductOptions,
|
|
@@ -44,7 +44,8 @@ const mapShopifyAppMeta = {
|
|
|
44
44
|
...appConfig.MyappgurusProductReviewsConfig,
|
|
45
45
|
...appConfig.HulkProductOptionsConfig,
|
|
46
46
|
...appConfig.TrustshopProductReviewsConfig,
|
|
47
|
-
...appConfig.StampedConfig
|
|
47
|
+
...appConfig.StampedConfig,
|
|
48
|
+
...appConfig.EssentialCountdownTimerBarConfig
|
|
48
49
|
};
|
|
49
50
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
50
51
|
|
|
@@ -250,5 +250,11 @@ const StampedConfig = {
|
|
|
250
250
|
appId: 'a103faaf-2125-4b0e-89fa-de5149736723'
|
|
251
251
|
}
|
|
252
252
|
};
|
|
253
|
+
const EssentialCountdownTimerBarConfig = {
|
|
254
|
+
EssentialCountdownTimerBar: {
|
|
255
|
+
appName: 'essential-countdown',
|
|
256
|
+
appId: '722378e8-5a70-4eae-aa89-9e44e8e9f6de'
|
|
257
|
+
}
|
|
258
|
+
};
|
|
253
259
|
|
|
254
|
-
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, HulkProductOptionsConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, MyappgurusProductReviewsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, StampedConfig, SubifySubscriptionsConfig, TrustooConfig, TrustreviewsProductReviewsConfig, TrustshopProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
260
|
+
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, EssentialCountdownTimerBarConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, HulkProductOptionsConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, MyappgurusProductReviewsConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, StampedConfig, SubifySubscriptionsConfig, TrustooConfig, TrustreviewsProductReviewsConfig, TrustshopProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
@@ -188,6 +188,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
188
188
|
linkify: appSetting.linkify
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
|
+
case 'EssentialCountdownTimerBar':
|
|
192
|
+
{
|
|
193
|
+
return {
|
|
194
|
+
...currentSetting,
|
|
195
|
+
id: appSetting?.timerId
|
|
196
|
+
};
|
|
197
|
+
}
|
|
191
198
|
default:
|
|
192
199
|
return currentSetting;
|
|
193
200
|
}
|
|
@@ -985,7 +992,15 @@ const Stamped = {
|
|
|
985
992
|
}
|
|
986
993
|
}
|
|
987
994
|
};
|
|
995
|
+
const EssentialCountdownTimerBar = {
|
|
996
|
+
EssentialCountdownTimerBar: {
|
|
997
|
+
'app-block': {
|
|
998
|
+
id: ''
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
};
|
|
988
1002
|
const composeSettingsByWidgetType = {
|
|
1003
|
+
...EssentialCountdownTimerBar,
|
|
989
1004
|
...Stamped,
|
|
990
1005
|
...TrustshopProductReviews,
|
|
991
1006
|
...HulkProductOptions,
|
|
@@ -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 } 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, EssentialCountdownTimerBarConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -42,7 +42,8 @@ const mapShopifyAppMeta = {
|
|
|
42
42
|
...MyappgurusProductReviewsConfig,
|
|
43
43
|
...HulkProductOptionsConfig,
|
|
44
44
|
...TrustshopProductReviewsConfig,
|
|
45
|
-
...StampedConfig
|
|
45
|
+
...StampedConfig,
|
|
46
|
+
...EssentialCountdownTimerBarConfig
|
|
46
47
|
};
|
|
47
48
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
48
49
|
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7799,6 +7799,16 @@ type InputNumberControlType<T> = SharedControlType<T> & {
|
|
|
7799
7799
|
includeUnit?: 'px' | '%';
|
|
7800
7800
|
};
|
|
7801
7801
|
|
|
7802
|
+
type InputStepperControlType<T> = SharedControlType<T> & {
|
|
7803
|
+
type: 'input:stepper';
|
|
7804
|
+
placeholder?: string;
|
|
7805
|
+
min?: number;
|
|
7806
|
+
max?: number;
|
|
7807
|
+
step?: number;
|
|
7808
|
+
readonly?: boolean;
|
|
7809
|
+
includeUnit?: 'px' | '%';
|
|
7810
|
+
};
|
|
7811
|
+
|
|
7802
7812
|
type SizeUnit$2 = 's' | '%' | 'cm' | 'mm' | 'Q' | 'in' | 'pc' | 'pt' | 'px' | 'em' | 'cap' | 'ex' | 'ch' | 'ic' | 'rem' | 'lh' | 'rlh' | 'vw' | 'vh' | 'vi' | 'vb' | 'vmin' | 'vmax' | 'ms' | 'min' | 'days';
|
|
7803
7813
|
type InputUnitControlType<T> = SharedControlType<T> & {
|
|
7804
7814
|
type: 'input:unit';
|
|
@@ -9311,7 +9321,7 @@ type DynamicOfferQuantity<T> = SharedControlType<T> & {
|
|
|
9311
9321
|
isOnlyAcceptInteger?: boolean;
|
|
9312
9322
|
};
|
|
9313
9323
|
|
|
9314
|
-
type ControlProp<T> = ProductBundleChildControlType<T> | SelectProductBundleControlType<T> | AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputUnitControlType<T> | InputUnitSpacingControlType<T> | InputUnitWidthControlType<T> | InputControlType<T> | MarginControlType<T> | PaddingControlType<T> | PositionControlType<T> | RadioGroupControlType | RangeControlType<T> | SegmentControlType<T> | OpenLinkControlType<T> | SelectControlType<T> | TextareaControlType<T> | ToggleControlType<T> | ImageControlType<T> | ChildrensControlType | GridControlType<T> | FlexControlType<T> | TextEditorControlType<T> | ProductControlType<T> | TypographyControlType<T> | TypographyV2ControlType<T> | MenuControlType<T> | BehaviorStateControlType<T> | PickLinkControlType<T> | BoxShadowControlType<T> | TextShadowControlType<T> | BorderControlType<T> | BorderRadiusControlType<T> | RadiusPresetControlType<T> | SizeControlType<T> | ChildItemType<T> | PickMultiProductControlType<T> | CollectionControlType<T> | BackgroundControlType<T> | VisibilityControlType<T> | SelectVariantControlType | VariantListingControlType | CountdownEvergreenType | Timezone<T> | CustomContentControlType<T> | DateTimePickerControlType | CountdownDailyType | KlaviyoCodes | YotpoLoyaltyCodes | InputWidthControlType<T> | LayoutSegmentControlType<T> | InputSpacing<T> | UniqueIdControlType<T> | PositionSquareControlType<T> | CustomCodeEditor | LayoutControlType<T> | LayoutBannerControlType<T> | SwatchesLinkControlType<T> | VariantSwatchesPresetControlType<T> | VariantSwatchesOnlyDefaultVariantControlType<T> | ProductListControlType<T> | ArticleListControlType<T> | CollectionBannerControlType<T> | Ratio<T> | StickyDisplayControlType<T> | SyncProductPropertiesControlType<T> | StepsGuide<T> | ImageShape<T> | GridArrange<T> | SizeSetting$1<T> | ChildIconType<T> | DropdownInput<T> | Dropdown<T> | AliPickSectionControlType<T> | ParallaxScrollingType<T> | BackgroundColorPickerType<T> | PlayPauseControlType<T> | LayoutCustomSegmentControlType<T> | SneakPeakRange<T> | SneakPeakTypeControlType<T> | SneakPeakControlType<T> | ProductInputCurrencyUnitControlType<T> | TypographyPostPurchaseControlType<T> | ProductOffersControlType<T> | DiscountAndShippingFee<T> | PostPurchaseTextareaControlType<T> | NotesControlType<T> | ButtonLayoutType<T> | ShapeSelectorControlType<T> | DisplayTriggerControlType<T> | CustomPositionControlType<T> | DealControlType<T> | ProductHandleType<T> | ColorPickerV2ControlType<T> | BorderV2ControlType<T> | CornerV2ControlType<T> | PaddingV2ControlType<T> | BackgroundImageType<T> | BackgroundVideoType<T> | ShadowV2ControlType<T> | BackgroundMediaControlType<T> | BackgroundVideoType<T> | SwitchControlType<T> | ImageV2ControlType<T> | LayoutSelectorControlType<T> | ComboControlType<T> | SegmentV2ControlType<T> | DynamicOfferQuantity<T>;
|
|
9324
|
+
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>;
|
|
9315
9325
|
type ControlTriggerAction = {
|
|
9316
9326
|
controlId: string;
|
|
9317
9327
|
newValue?: any;
|