@retailrocketgroup/retailrocket-create.abandoned-view-vue-email-template-render 6.0.388926 → 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.
@@ -3,7 +3,7 @@ import { ContactCustomData, NextCouponFromBatchType } from '@easy-wizzy/retailro
3
3
  import { ProductImageUrlBuilderExpressionEvaluatorDelegate } from '@easy-wizzy/common-app';
4
4
  import { AbandonedViewListExpressionDataSource, AbandonedViewNumberExpressionDataSource, AbandonedViewStringExpressionDataSource } from '@easy-wizzy/retailrocket-abandoned-view';
5
5
  export declare const abandonedViewStringExpressionDataSourceEvaluatorFactory: (arg: {
6
- productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<AbandonedViewListExpressionDataSource, AbandonedViewNumberExpressionDataSource>;
6
+ productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<AbandonedViewListExpressionDataSource, AbandonedViewNumberExpressionDataSource, AbandonedViewStringExpressionDataSource>;
7
7
  contactCustomData: ContactCustomData;
8
8
  nextCouponFromBatch: NextCouponFromBatchType;
9
9
  }) => StringExpressionDataSourceEvaluatorDelegate<AbandonedViewStringExpressionDataSource>;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@retailrocketgroup/retailrocket-create.abandoned-view-vue-email-template-render",
3
- "version": "6.0.388926",
3
+ "version": "6.0.389845",
4
4
  "private": false
5
5
  }
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "@retailrocketgroup/retailrocket-create.abandoned-view-vue-email-template-render",
3
+ "version": "0.0.0",
4
+ "private": false
5
+ }
@@ -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 { abandonedViewEvaluateListExpressionDataSourceFactory } from '@/implemen
52
52
  import { abandonedViewEvaluateNumberExpressionDataSourceFactory } from '@/implementation/DataSources/NumberExpressionDataSource/abandonedViewEvaluateNumberExpressionDataSourceFactory';
53
53
  import { abandonedViewStringExpressionDataSourceEvaluatorFactory } from '@/implementation/DataSources/StringExpressionDataSource/abandonedViewEvaluateStringExpressionDataSource';
54
54
 
55
- import { createApi as listExpressionDataSourceBffClientFactory } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.listexpressiondatasource';
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: () => abandonedViewStringExpressionDataSourceEvaluatorFactory({
168
168
  productImageUrlBuilderExpressionEvaluator: productImageUrlBuilderExpressionEvaluatorFactory({
169
169
  partnerId: params.partnerId,
170
- numberExpressionEvaluator: numberExpressionEvaluator,
170
+ stringExpressionEvaluator: (arg: {
171
+ stringExpression: StringExpressionType<
172
+ AbandonedViewListExpressionDataSource,
173
+ AbandonedViewNumberExpressionDataSource,
174
+ AbandonedViewStringExpressionDataSource
175
+ >;
176
+ context: DataType;
177
+ }) => stringExpressionEvaluator(arg),
171
178
  productImageResizerUrl: params.productImageResizerUrl
172
179
  }),
173
180
  contactCustomData: arg.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.v2.apiclients.listexpressiondatasource';
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 abandonedViewStringExpressionDataSourceEvaluatorFactory = (arg: {
26
26
  productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<
27
27
  AbandonedViewListExpressionDataSource,
28
- AbandonedViewNumberExpressionDataSource
28
+ AbandonedViewNumberExpressionDataSource,
29
+ AbandonedViewStringExpressionDataSource
29
30
  >
30
31
  contactCustomData: ContactCustomData
31
32
  nextCouponFromBatch: NextCouponFromBatchType