@retailrocketgroup/retailrocket-edit.abandoned-basket-vue-email-template-render 3.0.381747 → 5.0.384700
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 +25 -0
- package/dist/assets/index.css +1 -0
- package/dist/assets/index.js +379 -0
- package/dist/assets/index.js.map +1 -0
- package/dist/editAbandonedBasketEmailTemplate.d.ts +0 -0
- package/dist/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CreateComponentLibrarySectionModalWindow/abandonedBasketComponentSectionItemFactory.d.ts +4 -0
- package/dist/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CreateComponentLibrarySectionModalWindow/abandonedBasketEmailComponentFactory.d.ts +4 -0
- package/dist/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CustomComponentLibrary/abandonedBasketComponentLibraryFactory.d.ts +4 -0
- package/dist/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CustomComponentLibrary/abandonedBasketSectionFactory.d.ts +4 -0
- package/dist/implementation/DataSources/ListDataExpressionSource/abandonedBasketEvaluateListExpressionDataSourceFactory.d.ts +8 -0
- package/dist/implementation/DataSources/NumberExpressionDataSource/abandonedBasketEvaluateNumberExpressionDataSourceFactory.d.ts +2 -0
- package/dist/implementation/DataSources/StringExpressionDataSource/abandonedBasketEvaluateStringExpressionDataSource.d.ts +9 -0
- package/dist/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/AbandonedBasketProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/abandonedBasketProductListShelfBuilderDepsFactory.d.ts +8 -0
- package/dist/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/AbandonedBasketProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/alternativeProductsForAbandonedBasketProductListShelfBuilderDepsFactory.d.ts +8 -0
- package/dist/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/AbandonedBasketProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/relatedProductsForAbandonedBasketProductListShelfBuilderDepsFactory.d.ts +8 -0
- package/dist/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/AbandonedBasketProductShelfDataSourceExpressionBuilderModal/abandonedBasketProductShelfDataSourceExpressionBuilderModalDepsFactory.d.ts +11 -0
- package/dist/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/abandonedBasketProductShelfDataSourceExpressionBuilderDepsFactory.d.ts +11 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.html +37 -0
- package/env.d.ts +1 -0
- package/index.html +34 -33
- package/package.json +1 -1
- package/src/editAbandonedBasketEmailTemplate.ts +408 -0
- package/src/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CreateComponentLibrarySectionModalWindow/abandonedBasketComponentSectionItemFactory.ts +32 -0
- package/src/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CreateComponentLibrarySectionModalWindow/abandonedBasketEmailComponentFactory.ts +26 -0
- package/src/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CustomComponentLibrary/abandonedBasketComponentLibraryFactory.ts +29 -0
- package/src/implementation/Apps/components/WysiwygTemplateEditor/AsideMenu/ComponentLibrary/CustomComponentLibrary/abandonedBasketSectionFactory.ts +34 -0
- package/src/implementation/DataSources/ListDataExpressionSource/abandonedBasketEvaluateListExpressionDataSourceFactory.ts +132 -0
- package/src/implementation/DataSources/NumberExpressionDataSource/abandonedBasketEvaluateNumberExpressionDataSourceFactory.ts +10 -0
- package/src/implementation/DataSources/StringExpressionDataSource/abandonedBasketEvaluateStringExpressionDataSource.ts +54 -0
- package/src/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/AbandonedBasketProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/abandonedBasketProductListShelfBuilderDepsFactory.ts +33 -0
- package/src/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/AbandonedBasketProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/alternativeProductsForAbandonedBasketProductListShelfBuilderDepsFactory.ts +33 -0
- package/src/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/AbandonedBasketProductShelfDataSourceExpressionBuilderModal/ShelfBuilders/relatedProductsForAbandonedBasketProductListShelfBuilderDepsFactory.ts +33 -0
- package/src/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/AbandonedBasketProductShelfDataSourceExpressionBuilderModal/abandonedBasketProductShelfDataSourceExpressionBuilderModalDepsFactory.ts +150 -0
- package/src/implementation/EmailComponentSettingsModifierPlugin/ProductShelfDataSourceExpressionBuilder/abandonedBasketProductShelfDataSourceExpressionBuilderDepsFactory.ts +34 -0
- package/src/index.ts +0 -0
- package/tsconfig.app.json +19 -0
- package/tsconfig.json +14 -0
- package/tsconfig.node.json +11 -0
- package/tsconfig.test.json +11 -0
- package/vite.config.ts +37 -0
- package/assets/main.css +0 -1
- package/assets/main.js +0 -217
- package/favicon.ico +0 -0
|
File without changes
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ComponentLibrarySectionItem } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.componentlibrary/main';
|
|
2
|
+
import { CustomComponentSectionItemType } from '@easy-wizzy/core';
|
|
3
|
+
import { AbandonedBasketListExpressionDataSource, AbandonedBasketNumberExpressionDataSource, AbandonedBasketStringExpressionDataSource } from '@easy-wizzy/retailrocket-abandoned-basket';
|
|
4
|
+
export declare const abandonedBasketComponentSectionItemFactory: (componentLibrarySectionItem: ComponentLibrarySectionItem) => CustomComponentSectionItemType<AbandonedBasketListExpressionDataSource, AbandonedBasketNumberExpressionDataSource, AbandonedBasketStringExpressionDataSource>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { EmailComponentType } from '@easy-wizzy/core';
|
|
2
|
+
import { Component } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.addcomponentlibrarysectionitemmodalwindow/main';
|
|
3
|
+
import { AbandonedBasketListExpressionDataSource, AbandonedBasketNumberExpressionDataSource, AbandonedBasketStringExpressionDataSource } from '@easy-wizzy/retailrocket-abandoned-basket';
|
|
4
|
+
export declare const abandonedBasketEmailComponentFactory: (component: Component) => EmailComponentType<AbandonedBasketListExpressionDataSource, AbandonedBasketNumberExpressionDataSource, AbandonedBasketStringExpressionDataSource>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ComponentLibrarySection } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.componentlibrary/main';
|
|
2
|
+
import { CustomComponentLibraryType } from '@easy-wizzy/core';
|
|
3
|
+
import { AbandonedBasketListExpressionDataSource, AbandonedBasketNumberExpressionDataSource, AbandonedBasketStringExpressionDataSource } from '@easy-wizzy/retailrocket-abandoned-basket';
|
|
4
|
+
export declare const abandonedBasketComponentLibraryFactory: (componentLibrary: Array<ComponentLibrarySection>) => CustomComponentLibraryType<AbandonedBasketListExpressionDataSource, AbandonedBasketNumberExpressionDataSource, AbandonedBasketStringExpressionDataSource>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ComponentLibrarySection } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.componentlibrary/main';
|
|
2
|
+
import { CustomComponentSectionType } from '@easy-wizzy/core';
|
|
3
|
+
import { AbandonedBasketListExpressionDataSource, AbandonedBasketNumberExpressionDataSource, AbandonedBasketStringExpressionDataSource } from '@easy-wizzy/retailrocket-abandoned-basket';
|
|
4
|
+
export declare const abandonedBasketSectionFactory: (section: ComponentLibrarySection) => CustomComponentSectionType<AbandonedBasketListExpressionDataSource, AbandonedBasketNumberExpressionDataSource, AbandonedBasketStringExpressionDataSource>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ListExpressionDataSourceBffClient } from '@easy-wizzy/common-app';
|
|
2
|
+
import { ListExpressionDataSourceEvaluatorDelegate } from '@easy-wizzy/core';
|
|
3
|
+
import { AbandonedBasketListExpressionDataSource } from '@easy-wizzy/retailrocket-abandoned-basket';
|
|
4
|
+
export declare const abandonedBasketEvaluateListExpressionDataSourceFactory: (arg: {
|
|
5
|
+
partnerId: string;
|
|
6
|
+
listExpressionDataSourceBffClient: ListExpressionDataSourceBffClient;
|
|
7
|
+
customerStockId: string | undefined;
|
|
8
|
+
}) => ListExpressionDataSourceEvaluatorDelegate<AbandonedBasketListExpressionDataSource>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { StringExpressionDataSourceEvaluatorDelegate } from '@easy-wizzy/core';
|
|
2
|
+
import { ContactCustomData, NextCouponFromBatchType } from '@easy-wizzy/retailrocket-common';
|
|
3
|
+
import { ProductImageUrlBuilderExpressionEvaluatorDelegate } from '@easy-wizzy/common-app';
|
|
4
|
+
import { AbandonedBasketListExpressionDataSource, AbandonedBasketNumberExpressionDataSource, AbandonedBasketStringExpressionDataSource } from '@easy-wizzy/retailrocket-abandoned-basket';
|
|
5
|
+
export declare const abandonedBasketStringExpressionDataSourceEvaluatorFactory: (arg: {
|
|
6
|
+
productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<AbandonedBasketListExpressionDataSource, AbandonedBasketNumberExpressionDataSource>;
|
|
7
|
+
contactCustomData: ContactCustomData;
|
|
8
|
+
nextCouponFromBatch: NextCouponFromBatchType;
|
|
9
|
+
}) => StringExpressionDataSourceEvaluatorDelegate<AbandonedBasketStringExpressionDataSource>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LocaleKey } from '@easy-wizzy/core';
|
|
2
|
+
import { ProductShelfBuilderModalWindowBffClient } from '@easy-wizzy/common-app';
|
|
3
|
+
import { AbandonedBasketProductListShelfBuilderDeps } from '@easy-wizzy/retailrocket-abandoned-basket';
|
|
4
|
+
export declare const abandonedBasketProductListShelfBuilderDepsFactory: (arg: {
|
|
5
|
+
localeKey: LocaleKey;
|
|
6
|
+
partnerId: string;
|
|
7
|
+
getAllStockIdsHttpClient: ProductShelfBuilderModalWindowBffClient["postGetAllStockIds"];
|
|
8
|
+
}) => AbandonedBasketProductListShelfBuilderDeps;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LocaleKey } from '@easy-wizzy/core';
|
|
2
|
+
import { ProductShelfBuilderModalWindowBffClient } from '@easy-wizzy/common-app';
|
|
3
|
+
import { AlternativeProductsForAbandonedBasketProductListShelfBuilderDeps } from '@easy-wizzy/retailrocket-abandoned-basket';
|
|
4
|
+
export declare const alternativeProductsForAbandonedProductListShelfBuilderDepsFactory: (arg: {
|
|
5
|
+
localeKey: LocaleKey;
|
|
6
|
+
partnerId: string;
|
|
7
|
+
getAllStockIdsHttpClient: ProductShelfBuilderModalWindowBffClient["postGetAllStockIds"];
|
|
8
|
+
}) => AlternativeProductsForAbandonedBasketProductListShelfBuilderDeps;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LocaleKey } from '@easy-wizzy/core';
|
|
2
|
+
import { ProductShelfBuilderModalWindowBffClient } from '@easy-wizzy/common-app';
|
|
3
|
+
import { RelatedProductsForAbandonedBasketProductListShelfBuilderDeps } from '@easy-wizzy/retailrocket-abandoned-basket';
|
|
4
|
+
export declare const relatedProductsForAbandonedProductListShelfBuilderDepsFactory: (arg: {
|
|
5
|
+
localeKey: LocaleKey;
|
|
6
|
+
partnerId: string;
|
|
7
|
+
getAllStockIdsHttpClient: ProductShelfBuilderModalWindowBffClient["postGetAllStockIds"];
|
|
8
|
+
}) => RelatedProductsForAbandonedBasketProductListShelfBuilderDeps;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LocaleKey } from '@easy-wizzy/core';
|
|
2
|
+
import { ProductShelfBuilderModalWindowBffClient, ProductCategoryPickerModalWindowBffClient, ProductPickerModalWindowBffClient } from '@easy-wizzy/common-app';
|
|
3
|
+
import { AbandonedBasketProductShelfDataSourceExpressionBuilderModalDeps } from '@easy-wizzy/retailrocket-abandoned-basket';
|
|
4
|
+
export declare const abandonedBasketProductShelfDataSourceExpressionBuilderModalDepsFactory: (arg: {
|
|
5
|
+
localeKey: LocaleKey;
|
|
6
|
+
partnerId: string;
|
|
7
|
+
customerStockId: string | undefined;
|
|
8
|
+
productShelfBuilderModalWindowBffClient: ProductShelfBuilderModalWindowBffClient;
|
|
9
|
+
productCategoryPickerModalWindowBffClient: ProductCategoryPickerModalWindowBffClient;
|
|
10
|
+
productPickerModalWindowBffClient: ProductPickerModalWindowBffClient;
|
|
11
|
+
}) => AbandonedBasketProductShelfDataSourceExpressionBuilderModalDeps;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LocaleKey } from '@easy-wizzy/core';
|
|
2
|
+
import { ProductShelfBuilderModalWindowBffClient, ProductCategoryPickerModalWindowBffClient, ProductPickerModalWindowBffClient } from '@easy-wizzy/common-app';
|
|
3
|
+
import { AbandonedBasketProductShelfDataSourceExpressionBuilderDeps } from '@easy-wizzy/retailrocket-abandoned-basket';
|
|
4
|
+
export declare const abandonedBasketProductShelfDataSourceExpressionBuilderDepsFactory: (arg: {
|
|
5
|
+
localeKey: LocaleKey;
|
|
6
|
+
partnerId: string;
|
|
7
|
+
customerStockId: string | undefined;
|
|
8
|
+
productShelfBuilderModalWindowBffClient: ProductShelfBuilderModalWindowBffClient;
|
|
9
|
+
productCategoryPickerModalWindowBffClient: ProductCategoryPickerModalWindowBffClient;
|
|
10
|
+
productPickerModalWindowBffClient: ProductPickerModalWindowBffClient;
|
|
11
|
+
}) => AbandonedBasketProductShelfDataSourceExpressionBuilderDeps;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<link rel="icon" href="/favicon.ico">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
8
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
9
|
+
<link
|
|
10
|
+
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap"
|
|
11
|
+
rel="stylesheet"
|
|
12
|
+
/>
|
|
13
|
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Lato:wght@100;300;400;700;900&family=Roboto:wght@400;700&display=swap" rel="stylesheet">
|
|
14
|
+
<title>Vite App</title>
|
|
15
|
+
<script type="module" crossorigin src="/assets/index.js"></script>
|
|
16
|
+
<link rel="stylesheet" crossorigin href="/assets/index.css">
|
|
17
|
+
</head>
|
|
18
|
+
<body>
|
|
19
|
+
<div
|
|
20
|
+
id="app"
|
|
21
|
+
data-email-template-json='{"Subject": "","Preheader": "","Theme": {"BodyWidth": 600,"IsResponsiveWidth": true,"FontFamily": "Arial","Colors": {"EmailBackgroundColor": "#EEEEEE","BodyColor": "#FFFFFF","PrimaryColor": "#557aff","PrimaryTextColor": "#ffffff","SecondaryColor": "#E4EAFF","SecondaryTextColor": "#557aff","CardBackgroundColor": "#F6F6F6","HeadingColor": "#2F2F2F","TitleColor": "#2F2F2F","SubHeadingColor": "#2F2F2F","LargeTextColor": "#2F2F2F","NormalTextColor": "#2F2F2F","DescriptionTextColor": "#999999","LinkColor": "#65A0FA","ButtonTextColor": "#ffffff"},"BorderRadius": {"TopLeft": 20,"TopRight": 20,"BottomLeft": 20,"BottomRight": 20},"BorderRadiusCard": {"TopLeft": 16,"TopRight": 16,"BottomLeft": 16,"BottomRight": 16},"BorderRadiusButton": {"TopLeft": 6,"TopRight": 6,"BottomLeft": 6,"BottomRight": 6},"BorderRadiusBanner": {"TopLeft": 0,"TopRight": 0,"BottomLeft": 0,"BottomRight": 0},"BodyPaddings": {"Left": 20,"Right": 20,"Top": 10,"Bottom": 10},"ComponentPaddings": {"Small": 8,"Medium": 16,"Large": 24,"Huge": 24},"ButtonPaddings": {"TopBottom": 12,"LeftRight": 14},"FontSettingsPresets": {"Title": {"FontSize": 24,"LineHeight": 28,"IsBold": true,"IsItalic": false,"Decoration": "None"},"Heading": {"FontSize": 20,"LineHeight": 24,"IsBold": true,"IsItalic": false,"Decoration": "None"},"SubHeading": {"FontSize": 14,"LineHeight": 16,"IsBold": true,"IsItalic": false,"Decoration": "None"},"LargeText": {"FontSize": 14,"LineHeight": 18,"IsBold": false,"IsItalic": false,"Decoration": "None"},"NormalText": {"FontSize": 12,"LineHeight": 15,"IsBold": false,"IsItalic": false,"Decoration": "None"},"DescriptionText": {"FontSize": 10,"LineHeight": 13,"IsBold": false,"IsItalic": false,"Decoration": "None"},"Button": {"FontSize": 12,"LineHeight": 14,"IsBold": true,"IsItalic": false,"Decoration": "None"},"Link": {"FontSize": 12,"LineHeight": 14,"IsBold": false,"IsItalic": false,"Decoration": "None"}}},"Components": [{"IsRequired": false,"BorderRadius": {"TopLeft": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"TopRight": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"BottomRight": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"BottomLeft": {"Discriminator": "CustomBorderRadius","CustomValue": 0}},"InnerBgColor": {"Discriminator": "BodyColor","CustomValue": "#000000"},"Paddings": {"Top": {"ThemePadding": "ThemePaddingsLarge"},"Bottom": {"ThemePadding": "ThemePaddingsLarge"}},"FullWidth": false,"BodyRowList": [{"MultipleColumnBodyRow": {"ColumnSpacerSize": {"CustomValue": 0},"DirectionRtl": false,"Paddings": {"Left": {"CustomValue": 0},"Top": {"CustomValue": 0},"Right": {"CustomValue": 0},"Bottom": {"CustomValue": 0}},"Border": {"Left": {"Width": 0,"Style": "None","Color": {"Discriminator": "Custom","CustomValue": "#FFFFFF"}},"Top": {"Width": 0,"Style": "None","Color": {"Discriminator": "Custom","CustomValue": "#FFFFFF"}},"Right": {"Width": 0,"Style": "None","Color": {"Discriminator": "Custom","CustomValue": "#FFFFFF"}},"Bottom": {"Width": 0,"Style": "None","Color": {"Discriminator": "Custom","CustomValue": "#FFFFFF"}}},"BorderRadius": {"TopLeft": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"TopRight": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"BottomRight": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"BottomLeft": {"Discriminator": "CustomBorderRadius","CustomValue": 0}},"BgColor": {"Discriminator": "None","CustomValue": "#ffffff"},"ContainerAlign": "Center","Columns": [{"VerticalAlign": "Top","BgColor": {"Discriminator": "None","CustomValue": "#ffffff"},"Paddings": {"Top": {"CustomValue": 0},"Right": {"CustomValue": 0},"Bottom": {"CustomValue": 0},"Left": {"CustomValue": 0}},"Border": {"Left": {"Width": 0,"Style": "None","Color": {"Discriminator": "Custom","CustomValue": "#FFFFFF"}},"Top": {"Width": 0,"Style": "None","Color": {"Discriminator": "Custom","CustomValue": "#FFFFFF"}},"Right": {"Width": 0,"Style": "None","Color": {"Discriminator": "Custom","CustomValue": "#FFFFFF"}},"Bottom": {"Width": 0,"Style": "None","Color": {"Discriminator": "Custom","CustomValue": "#FFFFFF"}}},"BorderRadius": {"TopLeft": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"TopRight": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"BottomRight": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"BottomLeft": {"Discriminator": "CustomBorderRadius","CustomValue": 0}},"ContainerAlign": "Center","Elements": [],"Width": {"JustifyWidth": {"WidthInPixels": 560}}}]}}]}]}'
|
|
22
|
+
data-partner-id="5df72bdc97a52507605e4cc1"
|
|
23
|
+
data-wysiwyg-template-editor-bff-base-url="https://my.retailrocket.ru/5db801c197a52821e86b0d45/TransactionalEmailCampaign/6757225a5520d1ae575e7f0e/CampaignWizard/Step2/WysiwygTemplateEditorBff"
|
|
24
|
+
data-wysiwyg-bff-proxy-base-url="https://k8s-b1.retailrocket.ru/"
|
|
25
|
+
data-anti-forgery-header-token-name="data-anti-forgery-header-token-name"
|
|
26
|
+
data-anti-forgery-header-token-value="data-anti-forgery-header-token-value"
|
|
27
|
+
data-anti-forgery-form-token-name="data-anti-forgery-form-token-name"
|
|
28
|
+
data-anti-forgery-form-token-value="data-anti-forgery-form-token-value"
|
|
29
|
+
data-initial-abandoned-basket-template=""
|
|
30
|
+
data-abandoned-basket-favorites-templates="[]"
|
|
31
|
+
data-create-email-template-submit-url="data-create-email-template-submit-url"
|
|
32
|
+
data-common-favorites-templates="[]"
|
|
33
|
+
data-exit-link="#"
|
|
34
|
+
data-locale-key="ru"
|
|
35
|
+
></div>
|
|
36
|
+
</body>
|
|
37
|
+
</html>
|
package/env.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
package/index.html
CHANGED
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
</
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<link rel="icon" href="/favicon.ico">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
8
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
9
|
+
<link
|
|
10
|
+
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap"
|
|
11
|
+
rel="stylesheet"
|
|
12
|
+
/>
|
|
13
|
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Lato:wght@100;300;400;700;900&family=Roboto:wght@400;700&display=swap" rel="stylesheet">
|
|
14
|
+
<title>Vite App</title>
|
|
15
|
+
</head>
|
|
16
|
+
<body>
|
|
17
|
+
<div
|
|
18
|
+
id="app"
|
|
19
|
+
data-email-template-json='{"Subject": "","Preheader": "","Theme": {"BodyWidth": 600,"IsResponsiveWidth": true,"FontFamily": "Arial","Colors": {"EmailBackgroundColor": "#EEEEEE","BodyColor": "#FFFFFF","PrimaryColor": "#557aff","PrimaryTextColor": "#ffffff","SecondaryColor": "#E4EAFF","SecondaryTextColor": "#557aff","CardBackgroundColor": "#F6F6F6","HeadingColor": "#2F2F2F","TitleColor": "#2F2F2F","SubHeadingColor": "#2F2F2F","LargeTextColor": "#2F2F2F","NormalTextColor": "#2F2F2F","DescriptionTextColor": "#999999","LinkColor": "#65A0FA","ButtonTextColor": "#ffffff"},"BorderRadius": {"TopLeft": 20,"TopRight": 20,"BottomLeft": 20,"BottomRight": 20},"BorderRadiusCard": {"TopLeft": 16,"TopRight": 16,"BottomLeft": 16,"BottomRight": 16},"BorderRadiusButton": {"TopLeft": 6,"TopRight": 6,"BottomLeft": 6,"BottomRight": 6},"BorderRadiusBanner": {"TopLeft": 0,"TopRight": 0,"BottomLeft": 0,"BottomRight": 0},"BodyPaddings": {"Left": 20,"Right": 20,"Top": 10,"Bottom": 10},"ComponentPaddings": {"Small": 8,"Medium": 16,"Large": 24,"Huge": 24},"ButtonPaddings": {"TopBottom": 12,"LeftRight": 14},"FontSettingsPresets": {"Title": {"FontSize": 24,"LineHeight": 28,"IsBold": true,"IsItalic": false,"Decoration": "None"},"Heading": {"FontSize": 20,"LineHeight": 24,"IsBold": true,"IsItalic": false,"Decoration": "None"},"SubHeading": {"FontSize": 14,"LineHeight": 16,"IsBold": true,"IsItalic": false,"Decoration": "None"},"LargeText": {"FontSize": 14,"LineHeight": 18,"IsBold": false,"IsItalic": false,"Decoration": "None"},"NormalText": {"FontSize": 12,"LineHeight": 15,"IsBold": false,"IsItalic": false,"Decoration": "None"},"DescriptionText": {"FontSize": 10,"LineHeight": 13,"IsBold": false,"IsItalic": false,"Decoration": "None"},"Button": {"FontSize": 12,"LineHeight": 14,"IsBold": true,"IsItalic": false,"Decoration": "None"},"Link": {"FontSize": 12,"LineHeight": 14,"IsBold": false,"IsItalic": false,"Decoration": "None"}}},"Components": [{"IsRequired": false,"BorderRadius": {"TopLeft": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"TopRight": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"BottomRight": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"BottomLeft": {"Discriminator": "CustomBorderRadius","CustomValue": 0}},"InnerBgColor": {"Discriminator": "BodyColor","CustomValue": "#000000"},"Paddings": {"Top": {"ThemePadding": "ThemePaddingsLarge"},"Bottom": {"ThemePadding": "ThemePaddingsLarge"}},"FullWidth": false,"BodyRowList": [{"MultipleColumnBodyRow": {"ColumnSpacerSize": {"CustomValue": 0},"DirectionRtl": false,"Paddings": {"Left": {"CustomValue": 0},"Top": {"CustomValue": 0},"Right": {"CustomValue": 0},"Bottom": {"CustomValue": 0}},"Border": {"Left": {"Width": 0,"Style": "None","Color": {"Discriminator": "Custom","CustomValue": "#FFFFFF"}},"Top": {"Width": 0,"Style": "None","Color": {"Discriminator": "Custom","CustomValue": "#FFFFFF"}},"Right": {"Width": 0,"Style": "None","Color": {"Discriminator": "Custom","CustomValue": "#FFFFFF"}},"Bottom": {"Width": 0,"Style": "None","Color": {"Discriminator": "Custom","CustomValue": "#FFFFFF"}}},"BorderRadius": {"TopLeft": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"TopRight": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"BottomRight": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"BottomLeft": {"Discriminator": "CustomBorderRadius","CustomValue": 0}},"BgColor": {"Discriminator": "None","CustomValue": "#ffffff"},"ContainerAlign": "Center","Columns": [{"VerticalAlign": "Top","BgColor": {"Discriminator": "None","CustomValue": "#ffffff"},"Paddings": {"Top": {"CustomValue": 0},"Right": {"CustomValue": 0},"Bottom": {"CustomValue": 0},"Left": {"CustomValue": 0}},"Border": {"Left": {"Width": 0,"Style": "None","Color": {"Discriminator": "Custom","CustomValue": "#FFFFFF"}},"Top": {"Width": 0,"Style": "None","Color": {"Discriminator": "Custom","CustomValue": "#FFFFFF"}},"Right": {"Width": 0,"Style": "None","Color": {"Discriminator": "Custom","CustomValue": "#FFFFFF"}},"Bottom": {"Width": 0,"Style": "None","Color": {"Discriminator": "Custom","CustomValue": "#FFFFFF"}}},"BorderRadius": {"TopLeft": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"TopRight": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"BottomRight": {"Discriminator": "CustomBorderRadius","CustomValue": 0},"BottomLeft": {"Discriminator": "CustomBorderRadius","CustomValue": 0}},"ContainerAlign": "Center","Elements": [],"Width": {"JustifyWidth": {"WidthInPixels": 560}}}]}}]}]}'
|
|
20
|
+
data-partner-id="5df72bdc97a52507605e4cc1"
|
|
21
|
+
data-wysiwyg-template-editor-bff-base-url="https://my.retailrocket.ru/5db801c197a52821e86b0d45/TransactionalEmailCampaign/6757225a5520d1ae575e7f0e/CampaignWizard/Step2/WysiwygTemplateEditorBff"
|
|
22
|
+
data-wysiwyg-bff-proxy-base-url="https://k8s-b1.retailrocket.ru/"
|
|
23
|
+
data-anti-forgery-header-token-name="data-anti-forgery-header-token-name"
|
|
24
|
+
data-anti-forgery-header-token-value="data-anti-forgery-header-token-value"
|
|
25
|
+
data-anti-forgery-form-token-name="data-anti-forgery-form-token-name"
|
|
26
|
+
data-anti-forgery-form-token-value="data-anti-forgery-form-token-value"
|
|
27
|
+
data-initial-abandoned-basket-template=""
|
|
28
|
+
data-abandoned-basket-favorites-templates="[]"
|
|
29
|
+
data-create-email-template-submit-url="data-create-email-template-submit-url"
|
|
30
|
+
data-common-favorites-templates="[]"
|
|
31
|
+
data-exit-link="#"
|
|
32
|
+
data-locale-key="ru"
|
|
33
|
+
></div>
|
|
34
|
+
<script type="module" src="/src/editAbandonedBasketEmailTemplate.ts"></script>
|
|
35
|
+
</body>
|
|
36
|
+
</html>
|
package/package.json
CHANGED