@gem-sdk/core 1.50.0-staging.20 → 1.50.0-staging.22
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/components/RenderPreview.js +1 -0
- package/dist/cjs/helpers/third-party/appConfig.js +7 -0
- package/dist/cjs/helpers/third-party/appSetting.js +9 -0
- package/dist/cjs/helpers/third-party/constant.js +2 -1
- package/dist/esm/components/RenderPreview.js +1 -0
- package/dist/esm/helpers/third-party/appConfig.js +7 -1
- package/dist/esm/helpers/third-party/appSetting.js +9 -0
- package/dist/esm/helpers/third-party/constant.js +3 -2
- package/dist/types/index.d.ts +16 -1
- package/package.json +1 -1
|
@@ -45,6 +45,7 @@ const RenderPreview = ({ uid, ...passProps })=>{
|
|
|
45
45
|
setting: item.settings,
|
|
46
46
|
...passProps,
|
|
47
47
|
children: item.childrens.map((id)=>/*#__PURE__*/ jsxRuntime.jsx(RenderPreviewMemo, {
|
|
48
|
+
bundleItem: passProps?.bundleItem,
|
|
48
49
|
uid: id
|
|
49
50
|
}, id))
|
|
50
51
|
}) : /*#__PURE__*/ jsxRuntime.jsx(Component, {
|
|
@@ -84,12 +84,19 @@ const EasyBundleBuilderSkailamaConfig = {
|
|
|
84
84
|
appId: '05b1325c-6303-4da5-8e2f-b13ab2a50e1a'
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
|
+
const PreorderNowPreOrderPqConfig = {
|
|
88
|
+
PreorderNowPreOrderPq: {
|
|
89
|
+
appName: 'preorder-now-pre-order-pq',
|
|
90
|
+
appId: '551fab2c-3af6-4a8f-ba21-736a71cb4540'
|
|
91
|
+
}
|
|
92
|
+
};
|
|
87
93
|
|
|
88
94
|
exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
|
|
89
95
|
exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
|
|
90
96
|
exports.FastBundleBundlesDiscountsConfig = FastBundleBundlesDiscountsConfig;
|
|
91
97
|
exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
|
|
92
98
|
exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
|
|
99
|
+
exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
|
|
93
100
|
exports.PumperBundlesVolumeDiscountConfig = PumperBundlesVolumeDiscountConfig;
|
|
94
101
|
exports.RechargeSubscriptionsConfig = RechargeSubscriptionsConfig;
|
|
95
102
|
exports.ReviewxpoProductReviewsAppConfig = ReviewxpoProductReviewsAppConfig;
|
|
@@ -134,7 +134,16 @@ const EasyBundleBuilderSkailama = {
|
|
|
134
134
|
'app-block-bundlePage': null
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
|
+
const PreorderNowPreOrderPq = {
|
|
138
|
+
PreorderNowPreOrderPq: {
|
|
139
|
+
'app-block-notifyapp-block-notify': null,
|
|
140
|
+
'app-block-partial': null,
|
|
141
|
+
'app-block-timer': null,
|
|
142
|
+
'app-block': null
|
|
143
|
+
}
|
|
144
|
+
};
|
|
137
145
|
const composeSettingsByWidgetType = {
|
|
146
|
+
...PreorderNowPreOrderPq,
|
|
138
147
|
...EasyBundleBuilderSkailama,
|
|
139
148
|
...FastBundleBundlesDiscounts,
|
|
140
149
|
...KiteFreeGiftDiscount,
|
|
@@ -16,7 +16,8 @@ const mapShopifyAppMeta = {
|
|
|
16
16
|
...appConfig.KiteFreeGiftDiscountConfig,
|
|
17
17
|
...appConfig.FastBundleBundlesDiscountsConfig,
|
|
18
18
|
...appConfig.SimpleBundlesKitsConfig,
|
|
19
|
-
...appConfig.EasyBundleBuilderSkailamaConfig
|
|
19
|
+
...appConfig.EasyBundleBuilderSkailamaConfig,
|
|
20
|
+
...appConfig.PreorderNowPreOrderPqConfig
|
|
20
21
|
};
|
|
21
22
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
22
23
|
|
|
@@ -41,6 +41,7 @@ const RenderPreview = ({ uid, ...passProps })=>{
|
|
|
41
41
|
setting: item.settings,
|
|
42
42
|
...passProps,
|
|
43
43
|
children: item.childrens.map((id)=>/*#__PURE__*/ jsx(RenderPreviewMemo, {
|
|
44
|
+
bundleItem: passProps?.bundleItem,
|
|
44
45
|
uid: id
|
|
45
46
|
}, id))
|
|
46
47
|
}) : /*#__PURE__*/ jsx(Component, {
|
|
@@ -82,5 +82,11 @@ const EasyBundleBuilderSkailamaConfig = {
|
|
|
82
82
|
appId: '05b1325c-6303-4da5-8e2f-b13ab2a50e1a'
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
|
+
const PreorderNowPreOrderPqConfig = {
|
|
86
|
+
PreorderNowPreOrderPq: {
|
|
87
|
+
appName: 'preorder-now-pre-order-pq',
|
|
88
|
+
appId: '551fab2c-3af6-4a8f-ba21-736a71cb4540'
|
|
89
|
+
}
|
|
90
|
+
};
|
|
85
91
|
|
|
86
|
-
export { BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig };
|
|
92
|
+
export { BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PreorderNowPreOrderPqConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig };
|
|
@@ -132,7 +132,16 @@ const EasyBundleBuilderSkailama = {
|
|
|
132
132
|
'app-block-bundlePage': null
|
|
133
133
|
}
|
|
134
134
|
};
|
|
135
|
+
const PreorderNowPreOrderPq = {
|
|
136
|
+
PreorderNowPreOrderPq: {
|
|
137
|
+
'app-block-notifyapp-block-notify': null,
|
|
138
|
+
'app-block-partial': null,
|
|
139
|
+
'app-block-timer': null,
|
|
140
|
+
'app-block': null
|
|
141
|
+
}
|
|
142
|
+
};
|
|
135
143
|
const composeSettingsByWidgetType = {
|
|
144
|
+
...PreorderNowPreOrderPq,
|
|
136
145
|
...EasyBundleBuilderSkailama,
|
|
137
146
|
...FastBundleBundlesDiscounts,
|
|
138
147
|
...KiteFreeGiftDiscount,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig } from './appConfig.js';
|
|
1
|
+
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -14,7 +14,8 @@ const mapShopifyAppMeta = {
|
|
|
14
14
|
...KiteFreeGiftDiscountConfig,
|
|
15
15
|
...FastBundleBundlesDiscountsConfig,
|
|
16
16
|
...SimpleBundlesKitsConfig,
|
|
17
|
-
...EasyBundleBuilderSkailamaConfig
|
|
17
|
+
...EasyBundleBuilderSkailamaConfig,
|
|
18
|
+
...PreorderNowPreOrderPqConfig
|
|
18
19
|
};
|
|
19
20
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
20
21
|
|
package/dist/types/index.d.ts
CHANGED
|
@@ -8117,7 +8117,22 @@ type CustomPositionControlType<T> = SharedControlType<T> & {
|
|
|
8117
8117
|
bottomGap?: string;
|
|
8118
8118
|
};
|
|
8119
8119
|
|
|
8120
|
-
type
|
|
8120
|
+
type DealControlType<T> = SharedControlType<T> & {
|
|
8121
|
+
type: 'bundleItem';
|
|
8122
|
+
readonly?: boolean;
|
|
8123
|
+
};
|
|
8124
|
+
|
|
8125
|
+
type ProductBundleChildControlType<T> = SharedControlType<T> & {
|
|
8126
|
+
type: 'product-bundle-child-item';
|
|
8127
|
+
[key: string]: any;
|
|
8128
|
+
};
|
|
8129
|
+
type SelectProductBundleControlType<T> = SharedControlType<T> & {
|
|
8130
|
+
type: 'select-product-bundle';
|
|
8131
|
+
label?: string;
|
|
8132
|
+
hide?: boolean;
|
|
8133
|
+
};
|
|
8134
|
+
|
|
8135
|
+
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 | 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>;
|
|
8121
8136
|
type ControlTriggerAction = {
|
|
8122
8137
|
controlId: string;
|
|
8123
8138
|
newValue?: any;
|