@retailrocketgroup/retailrocket-edit.repurchase-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.
@@ -3,7 +3,7 @@ import { ContactCustomData, NextCouponFromBatchType } from '@easy-wizzy/retailro
3
3
  import { ProductImageUrlBuilderExpressionEvaluatorDelegate } from '@easy-wizzy/common-app';
4
4
  import { RepurchaseListExpressionDataSource, RepurchaseNumberExpressionDataSource, RepurchaseStringExpressionDataSource } from '@easy-wizzy/retailrocket-repurchase';
5
5
  export declare const repurchaseStringExpressionDataSourceEvaluatorFactory: (arg: {
6
- productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<RepurchaseListExpressionDataSource, RepurchaseNumberExpressionDataSource>;
6
+ productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<RepurchaseListExpressionDataSource, RepurchaseNumberExpressionDataSource, RepurchaseStringExpressionDataSource>;
7
7
  contactCustomData: ContactCustomData;
8
8
  nextCouponFromBatch: NextCouponFromBatchType;
9
9
  }) => StringExpressionDataSourceEvaluatorDelegate<RepurchaseStringExpressionDataSource>;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@retailrocketgroup/retailrocket-edit.repurchase-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-edit.repurchase-vue-email-template-render",
3
+ "version": "0.0.0",
4
+ "private": false
5
+ }
@@ -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.v2.apiclients.listexpressiondatasource';
54
- import { createApi as createProductShelfBuilderModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.productshelfmodalwindow';
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.v2.apiclients.productcategorypickermodalwindow';
67
- import { createApi as createProductPickerModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.productpickermodalwindow';
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,8 +162,15 @@ const stringExpressionEvaluator: StringExpressionEvaluatorDelegate<
162
162
  stringExpressionDataSourceEvaluatorFactory: () => repurchaseStringExpressionDataSourceEvaluatorFactory({
163
163
  productImageUrlBuilderExpressionEvaluator: productImageUrlBuilderExpressionEvaluatorFactory({
164
164
  partnerId: params.partnerId,
165
- numberExpressionEvaluator: numberExpressionEvaluator,
166
- productImageResizerUrl: params.productImageResizerUrl
165
+ productImageResizerUrl: params.productImageResizerUrl,
166
+ stringExpressionEvaluator: (arg: {
167
+ stringExpression: StringExpressionType<
168
+ RepurchaseListExpressionDataSource,
169
+ RepurchaseNumberExpressionDataSource,
170
+ RepurchaseStringExpressionDataSource
171
+ >;
172
+ context: DataType;
173
+ }) => stringExpressionEvaluator(arg)
167
174
  }),
168
175
  contactCustomData: contactCustomData,
169
176
  nextCouponFromBatch: nextCouponFromBatch
@@ -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 repurchaseStringExpressionDataSourceEvaluatorFactory = (arg: {
26
26
  productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<
27
27
  RepurchaseListExpressionDataSource,
28
- RepurchaseNumberExpressionDataSource
28
+ RepurchaseNumberExpressionDataSource,
29
+ RepurchaseStringExpressionDataSource
29
30
  >
30
31
  contactCustomData: ContactCustomData
31
32
  nextCouponFromBatch: NextCouponFromBatchType