@retailrocketgroup/retailrocket-edit.multicast-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.
@@ -3,7 +3,7 @@ import { StringExpressionDataSourceEvaluatorDelegate } from '@easy-wizzy/core';
3
3
  import { ContactCustomData, NextCouponFromBatchType } from '@easy-wizzy/retailrocket-common';
4
4
  import { ProductImageUrlBuilderExpressionEvaluatorDelegate } from '@easy-wizzy/common-app';
5
5
  export declare const multicastStringExpressionDataSourceEvaluatorFactory: (arg: {
6
- productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<MulticastListExpressionDataSource, MulticastNumberExpressionDataSource>;
6
+ productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<MulticastListExpressionDataSource, MulticastNumberExpressionDataSource, MulticastStringExpressionDataSource>;
7
7
  contactCustomData: ContactCustomData;
8
8
  nextCouponFromBatch: NextCouponFromBatchType;
9
9
  }) => StringExpressionDataSourceEvaluatorDelegate<MulticastStringExpressionDataSource>;
package/dist/index.html CHANGED
@@ -29,7 +29,7 @@
29
29
  data-anti-forgery-form-token-value="data-anti-forgery-form-token-value"
30
30
  data-reset-template-form-url="https://webhook.site/a85a171c-bb86-4693-9552-d209a59a7e6a"
31
31
  data-exit-link="ya.ru"
32
- data-locale-key="ru"
32
+ data-locale-key="en"
33
33
  ></div>
34
34
  </body>
35
35
  </html>
package/index.html CHANGED
@@ -27,7 +27,7 @@
27
27
  data-anti-forgery-form-token-value="data-anti-forgery-form-token-value"
28
28
  data-reset-template-form-url="https://webhook.site/a85a171c-bb86-4693-9552-d209a59a7e6a"
29
29
  data-exit-link="ya.ru"
30
- data-locale-key="ru"
30
+ data-locale-key="en"
31
31
  ></div>
32
32
  <script type="module" src="/src/editMulticastEmailTemplate.ts"></script>
33
33
  </body>
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@retailrocketgroup/retailrocket-edit.multicast-vue-email-template-render",
3
- "version": "6.0.389952",
3
+ "version": "7.0.389971",
4
4
  "private": false
5
5
  }
@@ -13,7 +13,7 @@ import { numberExpressionEvaluatorDelegate } from '@easy-wizzy/core';
13
13
  import { stringExpressionEvaluatorFactory } from '@easy-wizzy/core';
14
14
  import { dataStructBuilderExpressionEvaluatorFactory } from '@easy-wizzy/core';
15
15
 
16
- import type { StringExpressionEvaluatorDelegate } from '@easy-wizzy/core';
16
+ import type { DataType, StringExpressionEvaluatorDelegate, StringExpressionType } from '@easy-wizzy/core';
17
17
  import type { LocaleKey } from '@easy-wizzy/core';
18
18
 
19
19
  import { defaultThemeLibraryFactory } from '@easy-wizzy/theme-library';
@@ -47,14 +47,14 @@ import { multicastComponentLibraryFactory } from '@/implementation/Apps/componen
47
47
  import { multicastProductShelfDataSourceExpressionBuilderDepsFactory } from '@/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/multicastProductShelfDataSourceExpressionBuilderDepsFactory';
48
48
 
49
49
  import { createApi as createMulticastwysiwygtemplateeditorClient } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.multicastwysiwygtemplateeditor';
50
- import { createApi as listExpressionDataSourceBffClientFactory } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.listexpressiondatasource';
50
+ import { createApi as listExpressionDataSourceBffClientFactory } from '@retailrocket/retailrocket.wysiwyg.bff.v3.apiclients.listexpressiondatasource';
51
51
  import {
52
52
  type Component,
53
53
  createApi as createAddComponentLibrarySectionItemModalWindowBffClient
54
54
  } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.addcomponentlibrarysectionitemmodalwindow';
55
- import { createApi as createProductShelfBuilderModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.productshelfmodalwindow';
56
- import { createApi as createProductCategoryPickerModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.productcategorypickermodalwindow';
57
- import { createApi as createProductPickerModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.productpickermodalwindow';
55
+ import { createApi as createProductShelfBuilderModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v3.apiclients.productshelfmodalwindow';
56
+ import { createApi as createProductCategoryPickerModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v3.apiclients.productcategorypickermodalwindow';
57
+ import { createApi as createProductPickerModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v3.apiclients.productpickermodalwindow';
58
58
  import { createApi as createThemeLibraryBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.themelibrary';
59
59
  import { createApi as createComponentLibraryBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.componentlibrary';
60
60
  import { createApi as createAddThemeLibrarySectionItemModalWindowBffClient } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.addthemelibrarysectionitemmodalwindow';
@@ -166,7 +166,14 @@ const stringExpressionEvaluator: StringExpressionEvaluatorDelegate<
166
166
  stringExpressionDataSourceEvaluatorFactory: () => multicastStringExpressionDataSourceEvaluatorFactory({
167
167
  productImageUrlBuilderExpressionEvaluator: productImageUrlBuilderExpressionEvaluatorFactory({
168
168
  partnerId: params.partnerId,
169
- numberExpressionEvaluator: numberExpressionEvaluator,
169
+ stringExpressionEvaluator: (arg: {
170
+ stringExpression: StringExpressionType<
171
+ MulticastListExpressionDataSource,
172
+ MulticastNumberExpressionDataSource,
173
+ MulticastStringExpressionDataSource
174
+ >;
175
+ context: DataType;
176
+ }) => stringExpressionEvaluator(arg),
170
177
  productImageResizerUrl: params.productImageResizerUrl
171
178
  }),
172
179
  contactCustomData: contactCustomData,
@@ -18,7 +18,7 @@ import {
18
18
  getPopularProductsInCategories,
19
19
  } from '@easy-wizzy/common-app';
20
20
  import { getPopularProducts } from '@easy-wizzy/common-app';
21
- import type { Product } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.listexpressiondatasource';
21
+ import type { Product } from '@retailrocket/retailrocket.wysiwyg.bff.v3.apiclients.listexpressiondatasource';
22
22
  import { stockIdFactory } from '@easy-wizzy/common-app';
23
23
  import { getLatestProducts } from '@easy-wizzy/common-app';
24
24
  import { getSaleByPopularProducts } from '@easy-wizzy/common-app';
@@ -25,7 +25,8 @@ import type { NextCouponFromBatchType } from '@easy-wizzy/retailrocket-common';
25
25
  export const multicastStringExpressionDataSourceEvaluatorFactory = (arg: {
26
26
  productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<
27
27
  MulticastListExpressionDataSource,
28
- MulticastNumberExpressionDataSource
28
+ MulticastNumberExpressionDataSource,
29
+ MulticastStringExpressionDataSource
29
30
  >
30
31
  contactCustomData: ContactCustomData
31
32
  nextCouponFromBatch: NextCouponFromBatchType