@retailrocketgroup/retailrocket-edit.abandoned-view-price-drop-vue-email-template-render 6.0.389952 → 7.0.389971
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/.turbo/turbo-build.log +3 -3
- package/dist/assets/index.js +156 -156
- package/dist/implementation/DataSources/StringExpressionDataSource/abandonedViewPriceDropEvaluateStringExpressionDataSource.d.ts +1 -1
- package/package.json +1 -1
- package/src/editAbandonedViewPriceDropEmailTemplate.ts +13 -6
- package/src/implementation/DataSources/ListDataExpressionSource/abandonedViewPriceDropEvaluateListExpressionDataSourceFactory.ts +1 -1
- package/src/implementation/DataSources/StringExpressionDataSource/abandonedViewPriceDropEvaluateStringExpressionDataSource.ts +2 -1
|
@@ -3,7 +3,7 @@ import { ContactCustomData, NextCouponFromBatchType } from '@easy-wizzy/retailro
|
|
|
3
3
|
import { ProductImageUrlBuilderExpressionEvaluatorDelegate } from '@easy-wizzy/common-app';
|
|
4
4
|
import { AbandonedViewPriceDropListExpressionDataSource, AbandonedViewPriceDropNumberExpressionDataSource, AbandonedViewPriceDropStringExpressionDataSource } from '@easy-wizzy/retailrocket-abandoned-view-price-drop';
|
|
5
5
|
export declare const abandonedViewPriceDropStringExpressionDataSourceEvaluatorFactory: (arg: {
|
|
6
|
-
productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<AbandonedViewPriceDropListExpressionDataSource, AbandonedViewPriceDropNumberExpressionDataSource>;
|
|
6
|
+
productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<AbandonedViewPriceDropListExpressionDataSource, AbandonedViewPriceDropNumberExpressionDataSource, AbandonedViewPriceDropStringExpressionDataSource>;
|
|
7
7
|
contactCustomData: ContactCustomData;
|
|
8
8
|
nextCouponFromBatch: NextCouponFromBatchType;
|
|
9
9
|
}) => StringExpressionDataSourceEvaluatorDelegate<AbandonedViewPriceDropStringExpressionDataSource>;
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@ import { numberExpressionEvaluatorDelegate } from '@easy-wizzy/core';
|
|
|
14
14
|
import { stringExpressionEvaluatorFactory } from '@easy-wizzy/core';
|
|
15
15
|
import { dataStructBuilderExpressionEvaluatorFactory } from '@easy-wizzy/core';
|
|
16
16
|
|
|
17
|
-
import type { LocaleKey } from '@easy-wizzy/core';
|
|
17
|
+
import type { DataType, LocaleKey, StringExpressionType } from '@easy-wizzy/core';
|
|
18
18
|
import type { StringExpressionEvaluatorDelegate } from '@easy-wizzy/core';
|
|
19
19
|
|
|
20
20
|
import { defaultThemeLibraryFactory } from '@easy-wizzy/theme-library';
|
|
@@ -50,8 +50,8 @@ import {
|
|
|
50
50
|
type Component,
|
|
51
51
|
createApi as createAddComponentLibrarySectionItemModalWindowBffClient
|
|
52
52
|
} from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.addcomponentlibrarysectionitemmodalwindow';
|
|
53
|
-
import { createApi as listExpressionDataSourceBffClientFactory } from '@retailrocket/retailrocket.wysiwyg.bff.
|
|
54
|
-
import { createApi as createProductShelfBuilderModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.
|
|
53
|
+
import { createApi as listExpressionDataSourceBffClientFactory } from '@retailrocket/retailrocket.wysiwyg.bff.v3.apiclients.listexpressiondatasource';
|
|
54
|
+
import { createApi as createProductShelfBuilderModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v3.apiclients.productshelfmodalwindow';
|
|
55
55
|
import { createApi as createThemeLibraryBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.themelibrary';
|
|
56
56
|
import { createApi as createComponentLibraryBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.componentlibrary';
|
|
57
57
|
import { createApi as createAddThemeLibrarySectionItemModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.addthemelibrarysectionitemmodalwindow';
|
|
@@ -63,8 +63,8 @@ import { createApi as createEditComponentLibrarySectionItemModalWindowBffClient
|
|
|
63
63
|
import { createApi as createDeleteComponentLibrarySectionItemModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.deletecomponentlibrarysectionitemmodalwindow';
|
|
64
64
|
import { createApi as createThemeLibrarySectionModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.addthemelibrarysectionmodalwindow';
|
|
65
65
|
import { createApi as createDeleteComponentLibrarySectionModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.deletecomponentlibrarysectionmodalwindow';
|
|
66
|
-
import { createApi as createProductCategoryPickerModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.
|
|
67
|
-
import { createApi as createProductPickerModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.
|
|
66
|
+
import { createApi as createProductCategoryPickerModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v3.apiclients.productcategorypickermodalwindow';
|
|
67
|
+
import { createApi as createProductPickerModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v3.apiclients.productpickermodalwindow';
|
|
68
68
|
import { createApi as saveFavoriteTemplate } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.savefavoritetemplatemodalwindow';
|
|
69
69
|
|
|
70
70
|
const appTagId = '#app';
|
|
@@ -162,7 +162,14 @@ const stringExpressionEvaluator: StringExpressionEvaluatorDelegate<
|
|
|
162
162
|
stringExpressionDataSourceEvaluatorFactory: () => abandonedViewPriceDropStringExpressionDataSourceEvaluatorFactory({
|
|
163
163
|
productImageUrlBuilderExpressionEvaluator: productImageUrlBuilderExpressionEvaluatorFactory({
|
|
164
164
|
partnerId: params.partnerId,
|
|
165
|
-
|
|
165
|
+
stringExpressionEvaluator: (arg: {
|
|
166
|
+
stringExpression: StringExpressionType<
|
|
167
|
+
AbandonedViewPriceDropListExpressionDataSource,
|
|
168
|
+
AbandonedViewPriceDropNumberExpressionDataSource,
|
|
169
|
+
AbandonedViewPriceDropStringExpressionDataSource
|
|
170
|
+
>;
|
|
171
|
+
context: DataType;
|
|
172
|
+
}) => stringExpressionEvaluator(arg),
|
|
166
173
|
productImageResizerUrl: params.productImageResizerUrl
|
|
167
174
|
}),
|
|
168
175
|
contactCustomData: contactCustomData,
|
|
@@ -11,7 +11,7 @@ import { getProductList } from '@easy-wizzy/common-app';
|
|
|
11
11
|
import { getRelatedProducts } from '@easy-wizzy/common-app';
|
|
12
12
|
import { getAlternativeProducts } from '@easy-wizzy/common-app';
|
|
13
13
|
import { getPopularProductsInCategories } from '@easy-wizzy/common-app';
|
|
14
|
-
import type { Product } from '@retailrocket/retailrocket.wysiwyg.bff.
|
|
14
|
+
import type { Product } from '@retailrocket/retailrocket.wysiwyg.bff.v3.apiclients.listexpressiondatasource';
|
|
15
15
|
import { getLatestProducts } from '@easy-wizzy/common-app';
|
|
16
16
|
import { getSaleByPopularProducts } from '@easy-wizzy/common-app';
|
|
17
17
|
import { getSaleByLatestProducts } from '@easy-wizzy/common-app';
|
|
@@ -25,7 +25,8 @@ import type { NextCouponFromBatchType } from '@easy-wizzy/retailrocket-common';
|
|
|
25
25
|
export const abandonedViewPriceDropStringExpressionDataSourceEvaluatorFactory = (arg: {
|
|
26
26
|
productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<
|
|
27
27
|
AbandonedViewPriceDropListExpressionDataSource,
|
|
28
|
-
AbandonedViewPriceDropNumberExpressionDataSource
|
|
28
|
+
AbandonedViewPriceDropNumberExpressionDataSource,
|
|
29
|
+
AbandonedViewPriceDropStringExpressionDataSource
|
|
29
30
|
>
|
|
30
31
|
contactCustomData: ContactCustomData
|
|
31
32
|
nextCouponFromBatch: NextCouponFromBatchType
|