@retailrocketgroup/retailrocket-create.transactional-vue-email-template-render 6.0.388926 → 6.0.389907-dev

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.
@@ -4,6 +4,6 @@ import { ProductImageUrlBuilderExpressionEvaluatorDelegate } from '@easy-wizzy/c
4
4
  import { NextCouponFromBatchType } from '@easy-wizzy/retailrocket-common';
5
5
  export declare const transactionalStringExpressionDataSourceEvaluatorFactory: (arg: {
6
6
  getTransactionalTemplateData: () => DataType;
7
- productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<TransactionalListExpressionDataSource, TransactionalNumberExpressionDataSource>;
7
+ productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<TransactionalListExpressionDataSource, TransactionalNumberExpressionDataSource, TransactionalStringExpressionDataSource>;
8
8
  nextCouponFromBatch: NextCouponFromBatchType;
9
9
  }) => StringExpressionDataSourceEvaluatorDelegate<TransactionalStringExpressionDataSource>;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@retailrocketgroup/retailrocket-create.transactional-vue-email-template-render",
3
- "version": "6.0.388926",
3
+ "version": "6.0.389907-dev",
4
4
  "private": false
5
5
  }
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "@retailrocketgroup/retailrocket-create.transactional-vue-email-template-render",
3
+ "version": "0.0.0",
4
+ "private": false
5
+ }
@@ -18,6 +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 { DataType, StringExpressionType } from '@easy-wizzy/core';
21
22
  import type { EmailTemplateType } from '@easy-wizzy/core';
22
23
  import type { LocaleKey } from '@easy-wizzy/core';
23
24
  import type { StringExpressionEvaluatorDelegate } from '@easy-wizzy/core';
@@ -49,9 +50,8 @@ import { transactionalListExpressionDataSourceEvaluatorFactory } from '@/impleme
49
50
  import { transactionalNumberExpressionDataSourceEvaluatorFactory } from '@/implementation/DataSources/NumberExpressionDataSource/transactionalNumberExpressionDataSourceEvaluatorFactory';
50
51
  import { transactionalStringExpressionDataSourceEvaluatorFactory } from '@/implementation/DataSources/StringExpressionDataSource/transactionalEvaluateStringExpressionDataSource';
51
52
 
52
- import { createApi as listExpressionDataSourceBffClientFactory } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.listexpressiondatasource';
53
+ import { createApi as listExpressionDataSourceBffClientFactory } from '@retailrocket/retailrocket.wysiwyg.bff.v3.apiclients.listexpressiondatasource';
53
54
  import type { TemplatePreviewCardDeps } from '@easy-wizzy/core';
54
- import type { DataType } from '@easy-wizzy/core';
55
55
  import type { FavoriteTransactionalTemplateParam } from '@/FavoriteTransactionalTemplateParam.ts';
56
56
  import {
57
57
  templatePreviewCardDepsFactory
@@ -173,7 +173,14 @@ const _templatePreviewCardDepsFactory = (arg: {
173
173
  stringExpressionDataSourceEvaluatorFactory: () => transactionalStringExpressionDataSourceEvaluatorFactory({
174
174
  productImageUrlBuilderExpressionEvaluator: productImageUrlBuilderExpressionEvaluatorFactory({
175
175
  partnerId: params.partnerId,
176
- numberExpressionEvaluator: numberExpressionEvaluator,
176
+ stringExpressionEvaluator: (arg: {
177
+ stringExpression: StringExpressionType<
178
+ TransactionalListExpressionDataSource,
179
+ TransactionalNumberExpressionDataSource,
180
+ TransactionalStringExpressionDataSource
181
+ >;
182
+ context: DataType ;
183
+ }) => stringExpressionEvaluator(arg),
177
184
  productImageResizerUrl: params.productImageResizerUrl
178
185
  }),
179
186
  getTransactionalTemplateData: () => arg.templateData,
@@ -5,7 +5,7 @@ import { getRelatedProducts } from '@easy-wizzy/common-app';
5
5
  import { getAlternativeProducts } from '@easy-wizzy/common-app';
6
6
  import { getPopularProductsInCategories } from '@easy-wizzy/common-app';
7
7
  import { getPopularProducts } from '@easy-wizzy/common-app';
8
- import type { Product } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.listexpressiondatasource';
8
+ import type { Product } from '@retailrocket/retailrocket.wysiwyg.bff.v3.apiclients.listexpressiondatasource';
9
9
  import type { TransactionalListExpressionDataSource } from '@easy-wizzy/retailrocket-transactional';
10
10
  import { transactionalListExpressionDataSourceMatcher } from '@easy-wizzy/retailrocket-transactional';
11
11
  import { query } from '@easy-wizzy/core';
@@ -26,7 +26,8 @@ export const transactionalStringExpressionDataSourceEvaluatorFactory = (arg: {
26
26
  getTransactionalTemplateData: () => DataType,
27
27
  productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<
28
28
  TransactionalListExpressionDataSource,
29
- TransactionalNumberExpressionDataSource
29
+ TransactionalNumberExpressionDataSource,
30
+ TransactionalStringExpressionDataSource
30
31
  >
31
32
  nextCouponFromBatch: NextCouponFromBatchType
32
33
  }): StringExpressionDataSourceEvaluatorDelegate<