@retailrocketgroup/retailrocket-create.abandoned-basket-vue-email-template-render 6.0.388803 → 6.0.389845
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 +5 -5
- package/dist/assets/index.css +1 -1
- package/dist/assets/index.js +113 -113
- package/dist/implementation/DataSources/StringExpressionDataSource/abandonedBasketEvaluateStringExpressionDataSource.d.ts +1 -1
- package/package.json +1 -1
- package/publishing-package.create.abandoned-basket.json +5 -0
- package/src/createAbandonedBasketEmailTemplateApp.ts +10 -3
- package/src/implementation/DataSources/ListDataExpressionSource/abandonedBasketEvaluateListExpressionDataSourceFactory.ts +1 -1
- package/src/implementation/DataSources/StringExpressionDataSource/abandonedBasketEvaluateStringExpressionDataSource.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 { AbandonedBasketListExpressionDataSource, AbandonedBasketNumberExpressionDataSource, AbandonedBasketStringExpressionDataSource } from '@easy-wizzy/retailrocket-abandoned-basket';
|
|
5
5
|
export declare const abandonedBasketStringExpressionDataSourceEvaluatorFactory: (arg: {
|
|
6
|
-
productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<AbandonedBasketListExpressionDataSource, AbandonedBasketNumberExpressionDataSource>;
|
|
6
|
+
productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<AbandonedBasketListExpressionDataSource, AbandonedBasketNumberExpressionDataSource, AbandonedBasketStringExpressionDataSource>;
|
|
7
7
|
contactCustomData: ContactCustomData;
|
|
8
8
|
nextCouponFromBatch: NextCouponFromBatchType;
|
|
9
9
|
}) => StringExpressionDataSourceEvaluatorDelegate<AbandonedBasketStringExpressionDataSource>;
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@ import { numberExpressionEvaluatorDelegate } from '@easy-wizzy/core';
|
|
|
18
18
|
import { stringExpressionEvaluatorFactory } from '@easy-wizzy/core';
|
|
19
19
|
import { dataStructBuilderExpressionEvaluatorFactory } from '@easy-wizzy/core';
|
|
20
20
|
|
|
21
|
-
import type { EmailTemplateType } from '@easy-wizzy/core';
|
|
21
|
+
import type { DataType, EmailTemplateType, StringExpressionType } from '@easy-wizzy/core';
|
|
22
22
|
import type { LocaleKey } from '@easy-wizzy/core';
|
|
23
23
|
import type { StringExpressionEvaluatorDelegate } from '@easy-wizzy/core';
|
|
24
24
|
|
|
@@ -52,7 +52,7 @@ import { abandonedBasketEvaluateListExpressionDataSourceFactory } from '@/implem
|
|
|
52
52
|
import { abandonedBasketEvaluateNumberExpressionDataSourceFactory } from '@/implementation/DataSources/NumberExpressionDataSource/abandonedBasketEvaluateNumberExpressionDataSourceFactory';
|
|
53
53
|
import { abandonedBasketStringExpressionDataSourceEvaluatorFactory } from '@/implementation/DataSources/StringExpressionDataSource/abandonedBasketEvaluateStringExpressionDataSource';
|
|
54
54
|
|
|
55
|
-
import { createApi as listExpressionDataSourceBffClientFactory } from '@retailrocket/retailrocket.wysiwyg.bff.
|
|
55
|
+
import { createApi as listExpressionDataSourceBffClientFactory } from '@retailrocket/retailrocket.wysiwyg.bff.v3.apiclients.listexpressiondatasource';
|
|
56
56
|
import type { TemplatePreviewCardDeps } from '@easy-wizzy/core';
|
|
57
57
|
|
|
58
58
|
const appTagId = '#app';
|
|
@@ -167,7 +167,14 @@ const _templatePreviewCardDepsFactory = (arg: {
|
|
|
167
167
|
stringExpressionDataSourceEvaluatorFactory: () => abandonedBasketStringExpressionDataSourceEvaluatorFactory({
|
|
168
168
|
productImageUrlBuilderExpressionEvaluator: productImageUrlBuilderExpressionEvaluatorFactory({
|
|
169
169
|
partnerId: params.partnerId,
|
|
170
|
-
|
|
170
|
+
stringExpressionEvaluator: (arg: {
|
|
171
|
+
stringExpression: StringExpressionType<
|
|
172
|
+
AbandonedBasketListExpressionDataSource,
|
|
173
|
+
AbandonedBasketNumberExpressionDataSource,
|
|
174
|
+
AbandonedBasketStringExpressionDataSource
|
|
175
|
+
>;
|
|
176
|
+
context: DataType;
|
|
177
|
+
}) => stringExpressionEvaluator(arg),
|
|
171
178
|
productImageResizerUrl: params.productImageResizerUrl
|
|
172
179
|
}),
|
|
173
180
|
contactCustomData: arg.contactCustomData,
|
|
@@ -9,7 +9,7 @@ import { getProductList } from '@easy-wizzy/common-app';
|
|
|
9
9
|
import { getRelatedProducts } from '@easy-wizzy/common-app';
|
|
10
10
|
import { getAlternativeProducts } from '@easy-wizzy/common-app';
|
|
11
11
|
import { getPopularProductsInCategories } from '@easy-wizzy/common-app';
|
|
12
|
-
import type { Product } from '@retailrocket/retailrocket.wysiwyg.bff.
|
|
12
|
+
import type { Product } from '@retailrocket/retailrocket.wysiwyg.bff.v3.apiclients.listexpressiondatasource';
|
|
13
13
|
import { getLatestProducts } from '@easy-wizzy/common-app';
|
|
14
14
|
import { getSaleByPopularProducts } from '@easy-wizzy/common-app';
|
|
15
15
|
import { getSaleByLatestProducts } from '@easy-wizzy/common-app';
|
|
@@ -23,7 +23,8 @@ import type { NextCouponFromBatchType } from '@easy-wizzy/retailrocket-common';
|
|
|
23
23
|
export const abandonedBasketStringExpressionDataSourceEvaluatorFactory = (arg: {
|
|
24
24
|
productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<
|
|
25
25
|
AbandonedBasketListExpressionDataSource,
|
|
26
|
-
AbandonedBasketNumberExpressionDataSource
|
|
26
|
+
AbandonedBasketNumberExpressionDataSource,
|
|
27
|
+
AbandonedBasketStringExpressionDataSource
|
|
27
28
|
>
|
|
28
29
|
contactCustomData: ContactCustomData
|
|
29
30
|
nextCouponFromBatch: NextCouponFromBatchType
|