@gem-sdk/core 1.53.0-dev.10 → 1.53.0-dev.11
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.
|
@@ -88,6 +88,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
88
88
|
bundle_id: appSetting?.['customBundleId']
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
|
+
case 'PumperBundlesVolumeDiscount':
|
|
92
|
+
{
|
|
93
|
+
return {
|
|
94
|
+
...currentSetting,
|
|
95
|
+
selected_product: appSetting?.['productHandle'] || '{{ product }}'
|
|
96
|
+
};
|
|
97
|
+
}
|
|
91
98
|
default:
|
|
92
99
|
return currentSetting;
|
|
93
100
|
}
|
|
@@ -107,7 +114,7 @@ const ReviewxpoProductReviewsApp = {
|
|
|
107
114
|
const PumperBundlesVolumeDiscount = {
|
|
108
115
|
PumperBundlesVolumeDiscount: {
|
|
109
116
|
'app-block': {
|
|
110
|
-
selected_product: '{{product}}',
|
|
117
|
+
selected_product: '{{ product }}',
|
|
111
118
|
using_page_builder: false
|
|
112
119
|
}
|
|
113
120
|
}
|
|
@@ -86,6 +86,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
86
86
|
bundle_id: appSetting?.['customBundleId']
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
|
+
case 'PumperBundlesVolumeDiscount':
|
|
90
|
+
{
|
|
91
|
+
return {
|
|
92
|
+
...currentSetting,
|
|
93
|
+
selected_product: appSetting?.['productHandle'] || '{{ product }}'
|
|
94
|
+
};
|
|
95
|
+
}
|
|
89
96
|
default:
|
|
90
97
|
return currentSetting;
|
|
91
98
|
}
|
|
@@ -105,7 +112,7 @@ const ReviewxpoProductReviewsApp = {
|
|
|
105
112
|
const PumperBundlesVolumeDiscount = {
|
|
106
113
|
PumperBundlesVolumeDiscount: {
|
|
107
114
|
'app-block': {
|
|
108
|
-
selected_product: '{{product}}',
|
|
115
|
+
selected_product: '{{ product }}',
|
|
109
116
|
using_page_builder: false
|
|
110
117
|
}
|
|
111
118
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -8239,7 +8239,11 @@ type SettingUIGroup = {
|
|
|
8239
8239
|
};
|
|
8240
8240
|
};
|
|
8241
8241
|
|
|
8242
|
-
type
|
|
8242
|
+
type ProductHandleType<T> = SharedControlType<T> & {
|
|
8243
|
+
type: 'product-handle';
|
|
8244
|
+
};
|
|
8245
|
+
|
|
8246
|
+
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> | ProductHandleType<T>;
|
|
8243
8247
|
type ControlTriggerAction = {
|
|
8244
8248
|
controlId: string;
|
|
8245
8249
|
newValue?: any;
|