@vrplatform/email 1.0.1 → 1.0.2-5
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/build/main/components/ActionEmailTemplate.d.ts +1 -1
- package/build/main/components/ActionEmailTemplate.js +18 -14
- package/build/main/components/ActionEmailTemplate.js.map +1 -1
- package/build/main/components/Button.d.ts +1 -1
- package/build/main/components/Button.js +7 -3
- package/build/main/components/Button.js.map +1 -1
- package/build/main/components/EmailContainer.d.ts +1 -1
- package/build/main/components/EmailContainer.js +26 -21
- package/build/main/components/EmailContainer.js.map +1 -1
- package/build/main/components/index.js +18 -2
- package/build/main/components/index.js.map +1 -1
- package/build/main/components/utils/index.js +17 -1
- package/build/main/components/utils/index.js.map +1 -1
- package/build/main/components/utils/parse-email-html.js +9 -5
- package/build/main/components/utils/parse-email-html.js.map +1 -1
- package/build/main/const.js +4 -1
- package/build/main/const.js.map +1 -1
- package/build/main/extensions.js +7 -4
- package/build/main/extensions.js.map +1 -1
- package/build/main/index.js +25 -6
- package/build/main/index.js.map +1 -1
- package/build/main/templates/InviteOwnerEmailTemplate.d.ts +1 -3
- package/build/main/templates/InviteOwnerEmailTemplate.js +12 -29
- package/build/main/templates/InviteOwnerEmailTemplate.js.map +1 -1
- package/build/main/templates/InvitePmEmailTemplate.d.ts +1 -3
- package/build/main/templates/InvitePmEmailTemplate.js +12 -34
- package/build/main/templates/InvitePmEmailTemplate.js.map +1 -1
- package/build/main/templates/OwnerStatementEmailTemplate.d.ts +1 -3
- package/build/main/templates/OwnerStatementEmailTemplate.js +15 -43
- package/build/main/templates/OwnerStatementEmailTemplate.js.map +1 -1
- package/build/main/templates/TenantDeletionEmailTemplate.d.ts +2 -4
- package/build/main/templates/TenantDeletionEmailTemplate.js +15 -19
- package/build/main/templates/TenantDeletionEmailTemplate.js.map +1 -1
- package/build/main/templates/TenantSuspensionEmailTemplate.d.ts +1 -3
- package/build/main/templates/TenantSuspensionEmailTemplate.js +13 -17
- package/build/main/templates/TenantSuspensionEmailTemplate.js.map +1 -1
- package/build/main/templates/index.d.ts +0 -3
- package/build/main/templates/index.js +21 -10
- package/build/main/templates/index.js.map +1 -1
- package/build/main/theme.d.ts +1 -1
- package/build/main/theme.js +7 -3
- package/build/main/theme.js.map +1 -1
- package/build/main/types.js +2 -1
- package/build/main/types.js.map +1 -1
- package/build/main/utils/index.js +17 -1
- package/build/main/utils/index.js.map +1 -1
- package/build/main/utils/send-email.d.ts +17 -10
- package/build/main/utils/send-email.js +41 -6
- package/build/main/utils/send-email.js.map +1 -1
- package/build/module/components/ActionEmailTemplate.d.ts +1 -1
- package/build/module/components/ActionEmailTemplate.js.map +1 -1
- package/build/module/components/Button.d.ts +1 -1
- package/build/module/components/Button.js.map +1 -1
- package/build/module/components/EmailContainer.d.ts +1 -1
- package/build/module/components/EmailContainer.js +2 -1
- package/build/module/components/EmailContainer.js.map +1 -1
- package/build/module/components/index.js.map +1 -1
- package/build/module/components/utils/index.js.map +1 -1
- package/build/module/components/utils/parse-email-html.js +4 -4
- package/build/module/components/utils/parse-email-html.js.map +1 -1
- package/build/module/const.js.map +1 -1
- package/build/module/extensions.js.map +1 -1
- package/build/module/index.js.map +1 -1
- package/build/module/templates/InviteOwnerEmailTemplate.d.ts +1 -3
- package/build/module/templates/InviteOwnerEmailTemplate.js +0 -22
- package/build/module/templates/InviteOwnerEmailTemplate.js.map +1 -1
- package/build/module/templates/InvitePmEmailTemplate.d.ts +1 -3
- package/build/module/templates/InvitePmEmailTemplate.js +0 -27
- package/build/module/templates/InvitePmEmailTemplate.js.map +1 -1
- package/build/module/templates/OwnerStatementEmailTemplate.d.ts +1 -3
- package/build/module/templates/OwnerStatementEmailTemplate.js +0 -33
- package/build/module/templates/OwnerStatementEmailTemplate.js.map +1 -1
- package/build/module/templates/TenantDeletionEmailTemplate.d.ts +2 -4
- package/build/module/templates/TenantDeletionEmailTemplate.js +0 -9
- package/build/module/templates/TenantDeletionEmailTemplate.js.map +1 -1
- package/build/module/templates/TenantSuspensionEmailTemplate.d.ts +1 -3
- package/build/module/templates/TenantSuspensionEmailTemplate.js +0 -8
- package/build/module/templates/TenantSuspensionEmailTemplate.js.map +1 -1
- package/build/module/templates/index.d.ts +0 -3
- package/build/module/templates/index.js +0 -5
- package/build/module/templates/index.js.map +1 -1
- package/build/module/theme.d.ts +1 -1
- package/build/module/theme.js.map +1 -1
- package/build/module/types.js.map +1 -1
- package/build/module/utils/index.js.map +1 -1
- package/build/module/utils/send-email.d.ts +17 -10
- package/build/module/utils/send-email.js +38 -6
- package/build/module/utils/send-email.js.map +1 -1
- package/package.json +31 -31
- package/src/components/EmailContainer.tsx +2 -1
- package/src/components/utils/parse-email-html.ts +4 -7
- package/src/templates/InviteOwnerEmailTemplate.tsx +0 -34
- package/src/templates/InvitePmEmailTemplate.tsx +0 -41
- package/src/templates/OwnerStatementEmailTemplate.tsx +0 -47
- package/src/templates/TenantDeletionEmailTemplate.tsx +0 -17
- package/src/templates/TenantSuspensionEmailTemplate.tsx +0 -16
- package/src/templates/index.ts +0 -7
- package/src/theme.ts +1 -1
- package/src/utils/send-email.ts +76 -27
- package/build/main/components/utils/parse-email-html.test.d.ts +0 -1
- package/build/main/components/utils/parse-email-html.test.js +0 -59
- package/build/main/components/utils/parse-email-html.test.js.map +0 -1
- package/build/main/templates/DailyDigestEmailTemplate.d.ts +0 -11
- package/build/main/templates/DailyDigestEmailTemplate.js +0 -97
- package/build/main/templates/DailyDigestEmailTemplate.js.map +0 -1
- package/build/main/templates/OwnerStatementSummaryEmailTemplate.d.ts +0 -9
- package/build/main/templates/OwnerStatementSummaryEmailTemplate.js +0 -46
- package/build/main/templates/OwnerStatementSummaryEmailTemplate.js.map +0 -1
- package/build/main/templates/OwnerTaxStatementEmailTemplate.d.ts +0 -10
- package/build/main/templates/OwnerTaxStatementEmailTemplate.js +0 -47
- package/build/main/templates/OwnerTaxStatementEmailTemplate.js.map +0 -1
- package/build/main/tsconfig.main.tsbuildinfo +0 -1
- package/build/module/components/utils/parse-email-html.test.d.ts +0 -1
- package/build/module/components/utils/parse-email-html.test.js +0 -59
- package/build/module/components/utils/parse-email-html.test.js.map +0 -1
- package/build/module/templates/DailyDigestEmailTemplate.d.ts +0 -11
- package/build/module/templates/DailyDigestEmailTemplate.js +0 -97
- package/build/module/templates/DailyDigestEmailTemplate.js.map +0 -1
- package/build/module/templates/OwnerStatementSummaryEmailTemplate.d.ts +0 -9
- package/build/module/templates/OwnerStatementSummaryEmailTemplate.js +0 -46
- package/build/module/templates/OwnerStatementSummaryEmailTemplate.js.map +0 -1
- package/build/module/templates/OwnerTaxStatementEmailTemplate.d.ts +0 -10
- package/build/module/templates/OwnerTaxStatementEmailTemplate.js +0 -47
- package/build/module/templates/OwnerTaxStatementEmailTemplate.js.map +0 -1
- package/build/module/tsconfig.esm.tsbuildinfo +0 -1
- package/src/components/utils/parse-email-html.test.ts +0 -65
- package/src/liveblocks.d.ts +0 -88
- package/src/templates/DailyDigestEmailTemplate.tsx +0 -186
- package/src/templates/OwnerStatementSummaryEmailTemplate.tsx +0 -78
- package/src/templates/OwnerTaxStatementEmailTemplate.tsx +0 -80
|
@@ -12,4 +12,4 @@ export type ActionEmailData = {
|
|
|
12
12
|
export interface ActionEmailTemplateProps extends EmailBaseProps {
|
|
13
13
|
data: ActionEmailData;
|
|
14
14
|
}
|
|
15
|
-
export declare const ActionEmailTemplate: ({ data, tenant, themeColors, mode, user, listing, month, }: ActionEmailTemplateProps) => import("react
|
|
15
|
+
export declare const ActionEmailTemplate: ({ data, tenant, themeColors, mode, user, listing, month, }: ActionEmailTemplateProps) => import("react").JSX.Element;
|
|
@@ -1,34 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActionEmailTemplate = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const heading_1 = require("@react-email/heading");
|
|
6
|
+
const text_1 = require("@react-email/text");
|
|
7
|
+
const EmailContainer_1 = require("./EmailContainer");
|
|
8
|
+
const utils_1 = require("./utils");
|
|
9
|
+
const Button_1 = require("./Button");
|
|
10
|
+
const ActionEmailTemplate = ({ data, tenant, themeColors, mode, user, listing, month, }) => {
|
|
11
|
+
return ((0, jsx_runtime_1.jsxs)(EmailContainer_1.EmailContainer, { title: data.subject, shortDescription: data.shortDescription, tenant: {
|
|
9
12
|
logo: tenant.logo,
|
|
10
|
-
}, mode: mode, children: [
|
|
13
|
+
}, mode: mode, children: [(0, jsx_runtime_1.jsx)(heading_1.Heading, { style: {
|
|
11
14
|
fontSize: 28,
|
|
12
15
|
fontWeight: 600,
|
|
13
16
|
marginBottom: '50px',
|
|
14
|
-
}, children: data.header?.trim() || `Welcome to ${tenant.name}!` }), data.banner?.trim() && (
|
|
17
|
+
}, children: data.header?.trim() || `Welcome to ${tenant.name}!` }), data.banner?.trim() && ((0, jsx_runtime_1.jsx)(text_1.Text, { style: {
|
|
15
18
|
padding: '24px',
|
|
16
19
|
backgroundColor: '#f2f3f3',
|
|
17
20
|
borderRadius: '4px',
|
|
18
21
|
marginBottom: '40px',
|
|
19
|
-
}, children: data.banner.trim() })),
|
|
22
|
+
}, children: data.banner.trim() })), (0, jsx_runtime_1.jsx)("div", {
|
|
20
23
|
// biome-ignore lint/security/noDangerouslySetInnerHtml: <explanation>
|
|
21
24
|
dangerouslySetInnerHTML: {
|
|
22
|
-
__html: parseEmailHtml(data.bodyOne, {
|
|
25
|
+
__html: (0, utils_1.parseEmailHtml)(data.bodyOne, {
|
|
23
26
|
href: data.href,
|
|
24
27
|
userName: user.firstName || '',
|
|
25
28
|
date: month || '',
|
|
26
29
|
listingName: listing || '',
|
|
27
30
|
}),
|
|
28
|
-
} }),
|
|
31
|
+
} }), (0, jsx_runtime_1.jsx)(Button_1.Button, { href: data.href, mode: mode, "data-testid": "accept-invite-button", label: data.buttonText?.trim() || 'Accept Invitation', themeColors: themeColors }), (0, jsx_runtime_1.jsx)("div", {
|
|
29
32
|
// biome-ignore lint/security/noDangerouslySetInnerHtml: <explanation>
|
|
30
33
|
dangerouslySetInnerHTML: {
|
|
31
|
-
__html: parseEmailHtml(data.bodyTwo, {
|
|
34
|
+
__html: (0, utils_1.parseEmailHtml)(data.bodyTwo, {
|
|
32
35
|
href: data.href,
|
|
33
36
|
userName: user.firstName || '',
|
|
34
37
|
date: month || '',
|
|
@@ -36,4 +39,5 @@ export const ActionEmailTemplate = ({ data, tenant, themeColors, mode, user, lis
|
|
|
36
39
|
}),
|
|
37
40
|
} })] }));
|
|
38
41
|
};
|
|
42
|
+
exports.ActionEmailTemplate = ActionEmailTemplate;
|
|
39
43
|
//# sourceMappingURL=ActionEmailTemplate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionEmailTemplate.js","sourceRoot":"src/","sources":["components/ActionEmailTemplate.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionEmailTemplate.js","sourceRoot":"src/","sources":["components/ActionEmailTemplate.tsx"],"names":[],"mappings":";;;;AAAA,kDAA+C;AAC/C,4CAAyC;AACzC,qDAAkD;AAElD,mCAAyC;AACzC,qCAAkC;AAiB3B,MAAM,mBAAmB,GAAG,CAAC,EAClC,IAAI,EACJ,MAAM,EACN,WAAW,EACX,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,KAAK,GACoB,EAAE,EAAE;IAC7B,OAAO,CACL,wBAAC,+BAAc,IACb,KAAK,EAAE,IAAI,CAAC,OAAO,EACnB,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,MAAM,EAAE;YACN,IAAI,EAAE,MAAM,CAAC,IAAI;SAClB,EACD,IAAI,EAAE,IAAI,aAEV,uBAAC,iBAAO,IACN,KAAK,EAAE;oBACL,QAAQ,EAAE,EAAE;oBACZ,UAAU,EAAE,GAAG;oBACf,YAAY,EAAE,MAAM;iBACrB,YAEA,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,cAAc,MAAM,CAAC,IAAI,GAAG,GAC5C,EAET,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CACtB,uBAAC,WAAI,IACH,KAAK,EAAE;oBACL,OAAO,EAAE,MAAM;oBACf,eAAe,EAAE,SAAS;oBAC1B,YAAY,EAAE,KAAK;oBACnB,YAAY,EAAE,MAAM;iBACrB,YAEA,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,GACd,CACR,EAED;gBACE,sEAAsE;gBACtE,uBAAuB,EAAE;oBACvB,MAAM,EAAE,IAAA,sBAAc,EAAC,IAAI,CAAC,OAAO,EAAE;wBACnC,IAAI,EAAE,IAAI,CAAC,IAAI;wBACf,QAAQ,EAAE,IAAI,CAAC,SAAS,IAAI,EAAE;wBAC9B,IAAI,EAAE,KAAK,IAAI,EAAE;wBACjB,WAAW,EAAE,OAAO,IAAI,EAAE;qBAC3B,CAAC;iBACH,GACD,EAEF,uBAAC,eAAM,IACL,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,IAAI,iBACE,sBAAsB,EAClC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,EAAE,IAAI,mBAAmB,EACrD,WAAW,EAAE,WAAW,GACxB,EAEF;gBACE,sEAAsE;gBACtE,uBAAuB,EAAE;oBACvB,MAAM,EAAE,IAAA,sBAAc,EAAC,IAAI,CAAC,OAAO,EAAE;wBACnC,IAAI,EAAE,IAAI,CAAC,IAAI;wBACf,QAAQ,EAAE,IAAI,CAAC,SAAS,IAAI,EAAE;wBAC9B,IAAI,EAAE,KAAK,IAAI,EAAE;wBACjB,WAAW,EAAE,OAAO,IAAI,EAAE;qBAC3B,CAAC;iBACH,GACD,IACa,CAClB,CAAC;AACJ,CAAC,CAAC;AA1EW,QAAA,mBAAmB,uBA0E9B","sourcesContent":["import { Heading } from '@react-email/heading';\nimport { Text } from '@react-email/text';\nimport { EmailContainer } from './EmailContainer';\nimport type { EmailBaseProps } from '../types';\nimport { parseEmailHtml } from './utils';\nimport { Button } from './Button';\n\nexport type ActionEmailData = {\n subject: string;\n shortDescription: string;\n banner?: string;\n header: string;\n bodyOne: string;\n bodyTwo: string;\n href: string;\n buttonText: string;\n};\n\nexport interface ActionEmailTemplateProps extends EmailBaseProps {\n data: ActionEmailData;\n}\n\nexport const ActionEmailTemplate = ({\n data,\n tenant,\n themeColors,\n mode,\n user,\n listing,\n month,\n}: ActionEmailTemplateProps) => {\n return (\n <EmailContainer\n title={data.subject}\n shortDescription={data.shortDescription}\n tenant={{\n logo: tenant.logo,\n }}\n mode={mode}\n >\n <Heading\n style={{\n fontSize: 28,\n fontWeight: 600,\n marginBottom: '50px',\n }}\n >\n {data.header?.trim() || `Welcome to ${tenant.name}!`}\n </Heading>\n\n {data.banner?.trim() && (\n <Text\n style={{\n padding: '24px',\n backgroundColor: '#f2f3f3',\n borderRadius: '4px',\n marginBottom: '40px',\n }}\n >\n {data.banner.trim()}\n </Text>\n )}\n\n <div\n // biome-ignore lint/security/noDangerouslySetInnerHtml: <explanation>\n dangerouslySetInnerHTML={{\n __html: parseEmailHtml(data.bodyOne, {\n href: data.href,\n userName: user.firstName || '',\n date: month || '',\n listingName: listing || '',\n }),\n }}\n />\n\n <Button\n href={data.href}\n mode={mode}\n data-testid=\"accept-invite-button\"\n label={data.buttonText?.trim() || 'Accept Invitation'}\n themeColors={themeColors}\n />\n\n <div\n // biome-ignore lint/security/noDangerouslySetInnerHtml: <explanation>\n dangerouslySetInnerHTML={{\n __html: parseEmailHtml(data.bodyTwo, {\n href: data.href,\n userName: user.firstName || '',\n date: month || '',\n listingName: listing || '',\n }),\n }}\n />\n </EmailContainer>\n );\n};\n"]}
|
|
@@ -7,5 +7,5 @@ type Props = {
|
|
|
7
7
|
themeColors: EmailBaseProps['themeColors'];
|
|
8
8
|
label: string;
|
|
9
9
|
} & ComponentProps<typeof ReactEmailButton>;
|
|
10
|
-
export declare const Button: ({ href, mode, label, themeColors, style, ...props }: Props) => import("react
|
|
10
|
+
export declare const Button: ({ href, mode, label, themeColors, style, ...props }: Props) => import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Button = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const button_1 = require("@react-email/button");
|
|
6
|
+
const Button = ({ href, mode, label, themeColors, style, ...props }) => ((0, jsx_runtime_1.jsx)(button_1.Button, { href: mode === 'send' ? href : undefined, style: {
|
|
4
7
|
width: '100%',
|
|
5
8
|
textAlign: 'center',
|
|
6
9
|
display: 'block',
|
|
@@ -12,4 +15,5 @@ export const Button = ({ href, mode, label, themeColors, style, ...props }) => (
|
|
|
12
15
|
marginBottom: '60px',
|
|
13
16
|
...style,
|
|
14
17
|
}, ...props, children: label.trim() }));
|
|
18
|
+
exports.Button = Button;
|
|
15
19
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"src/","sources":["components/Button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"src/","sources":["components/Button.tsx"],"names":[],"mappings":";;;;AAAA,gDAAiE;AAW1D,MAAM,MAAM,GAAG,CAAC,EACrB,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,WAAW,EACX,KAAK,EACL,GAAG,KAAK,EACF,EAAE,EAAE,CAAC,CACX,uBAAC,eAAgB,IACf,IAAI,EAAE,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EACxC,KAAK,EAAE;QACL,KAAK,EAAE,MAAM;QACb,SAAS,EAAE,QAAQ;QACnB,OAAO,EAAE,OAAO;QAChB,OAAO,EAAE,QAAQ;QACjB,UAAU,EAAE,0FACV,WAAW,CAAC,CAAC,CACf,EAAE;QACF,KAAK,EAAE,MAAM;QACb,YAAY,EAAE,KAAK;QACnB,SAAS,EAAE,MAAM;QACjB,YAAY,EAAE,MAAM;QACpB,GAAG,KAAK;KACT,KACG,KAAK,YAER,KAAK,CAAC,IAAI,EAAE,GACI,CACpB,CAAC;AA5BW,QAAA,MAAM,UA4BjB","sourcesContent":["import { Button as ReactEmailButton } from '@react-email/button';\nimport type { ComponentProps } from 'react';\nimport type { EmailBaseProps } from '../types';\n\ntype Props = {\n mode: EmailBaseProps['mode'];\n href: string;\n themeColors: EmailBaseProps['themeColors'];\n label: string;\n} & ComponentProps<typeof ReactEmailButton>;\n\nexport const Button = ({\n href,\n mode,\n label,\n themeColors,\n style,\n ...props\n}: Props) => (\n <ReactEmailButton\n href={mode === 'send' ? href : undefined}\n style={{\n width: '100%',\n textAlign: 'center',\n display: 'block',\n padding: '13px 0',\n background: `linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.00) 100%), ${\n themeColors[8]\n }`,\n color: '#fff',\n borderRadius: '8px',\n marginTop: '30px',\n marginBottom: '60px',\n ...style,\n }}\n {...props}\n >\n {label.trim()}\n </ReactEmailButton>\n);\n"]}
|
|
@@ -6,5 +6,5 @@ type Props = {
|
|
|
6
6
|
mode: EmailBaseProps['mode'];
|
|
7
7
|
shortDescription?: string;
|
|
8
8
|
};
|
|
9
|
-
export declare const EmailContainer: (props: Props) => import("react
|
|
9
|
+
export declare const EmailContainer: (props: Props) => import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmailContainer = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const body_1 = require("@react-email/body");
|
|
6
|
+
const font_1 = require("@react-email/font");
|
|
7
|
+
const head_1 = require("@react-email/head");
|
|
8
|
+
const hr_1 = require("@react-email/hr");
|
|
9
|
+
const html_1 = require("@react-email/html");
|
|
10
|
+
const img_1 = require("@react-email/img");
|
|
11
|
+
const preview_1 = require("@react-email/preview");
|
|
12
|
+
const text_1 = require("@react-email/text");
|
|
13
|
+
const utils_1 = require("@vrplatform/utils");
|
|
14
|
+
const EmailContainer = (props) => {
|
|
11
15
|
const { children, shortDescription, title } = props;
|
|
12
16
|
const contentWrapperStyle = {
|
|
13
17
|
paddingInline: '20px',
|
|
@@ -16,18 +20,19 @@ export const EmailContainer = (props) => {
|
|
|
16
20
|
margin: '0 auto',
|
|
17
21
|
};
|
|
18
22
|
if (props.mode !== 'send') {
|
|
19
|
-
return (
|
|
23
|
+
return ((0, jsx_runtime_1.jsx)("div", { style: contentWrapperStyle, children: (0, jsx_runtime_1.jsx)(Content, { ...props, children: children }) }));
|
|
20
24
|
}
|
|
21
|
-
return (
|
|
25
|
+
return ((0, jsx_runtime_1.jsxs)(html_1.Html, { lang: "en", children: [(0, jsx_runtime_1.jsxs)(head_1.Head, { children: [(0, jsx_runtime_1.jsx)("title", { children: title }), (0, jsx_runtime_1.jsx)(font_1.Font, { fontFamily: "Inter", fallbackFontFamily: "Verdana", webFont: {
|
|
22
26
|
url: 'https://fonts.gstatic.com/s/inter/v13/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7W0Q5nw.woff2',
|
|
23
27
|
format: 'woff2',
|
|
24
|
-
}, fontWeight: 400, fontStyle: "normal" }),
|
|
28
|
+
}, fontWeight: 400, fontStyle: "normal" }), (0, jsx_runtime_1.jsx)(font_1.Font, { fontFamily: "Inter", fallbackFontFamily: "Verdana", webFont: {
|
|
25
29
|
url: 'https://fonts.gstatic.com/s/inter/v13/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7W0Q5nw.woff2',
|
|
26
30
|
format: 'woff2',
|
|
27
|
-
}, fontWeight: 600, fontStyle: "normal" })] }), shortDescription &&
|
|
31
|
+
}, fontWeight: 600, fontStyle: "normal" })] }), shortDescription && (0, jsx_runtime_1.jsx)(preview_1.Preview, { children: shortDescription }), (0, jsx_runtime_1.jsx)(body_1.Body, { style: contentWrapperStyle, children: (0, jsx_runtime_1.jsx)(Content, { ...props, children: children }) })] }));
|
|
28
32
|
};
|
|
33
|
+
exports.EmailContainer = EmailContainer;
|
|
29
34
|
const Content = ({ children, tenant: { logo: tenantLogo }, mode }) => {
|
|
30
|
-
return (
|
|
35
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [tenantLogo ? ((0, jsx_runtime_1.jsx)("div", { style: {
|
|
31
36
|
marginBottom: '60px',
|
|
32
37
|
padding: '5px',
|
|
33
38
|
// border: '1px solid rgb(233,236,239)',
|
|
@@ -36,17 +41,17 @@ const Content = ({ children, tenant: { logo: tenantLogo }, mode }) => {
|
|
|
36
41
|
display: 'flex',
|
|
37
42
|
justifyContent: 'center',
|
|
38
43
|
alignItems: 'center',
|
|
39
|
-
}, children:
|
|
44
|
+
}, children: (0, jsx_runtime_1.jsx)(img_1.Img, { src: tenantLogo, alt: 'Logo', width: 70 }) })) : mode === 'send' ? ((0, jsx_runtime_1.jsx)(img_1.Img, { src: 'https://staging.portal.vrplatform.app/logo.png', alt: 'Logo', width: 70, style: { marginBottom: '60px' } })) : ((0, jsx_runtime_1.jsx)("div", { style: {
|
|
40
45
|
width: '60px',
|
|
41
|
-
}, children:
|
|
46
|
+
}, children: (0, jsx_runtime_1.jsx)(VrpLogo, {}) })), children, (0, jsx_runtime_1.jsx)(Footer, {})] }));
|
|
42
47
|
};
|
|
43
|
-
const Footer = () => (
|
|
48
|
+
const Footer = () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(hr_1.Hr, { style: {
|
|
44
49
|
marginTop: '30px',
|
|
45
50
|
marginBottom: '50px',
|
|
46
|
-
} }),
|
|
51
|
+
} }), (0, jsx_runtime_1.jsxs)(text_1.Text, { style: {
|
|
47
52
|
color: '#737373',
|
|
48
|
-
}, children: ["\u00A9 ",
|
|
53
|
+
}, children: ["\u00A9 ", (0, utils_1.day)().year(), " VRPlatform Ventures Ltd. All rights reserved."] }), (0, jsx_runtime_1.jsx)(text_1.Text, { style: {
|
|
49
54
|
color: '#737373',
|
|
50
55
|
}, children: "VR Technologies, LLC, a company incorporated and registered in the United States of America with company number 20201965158" })] }));
|
|
51
|
-
const VrpLogo = () => (
|
|
56
|
+
const VrpLogo = () => ((0, jsx_runtime_1.jsxs)("svg", { width: "100%", height: "100%", viewBox: "0 0 28 29", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("path", { d: "M18.2549 8.25161C18.2549 5.89704 20.1636 3.98828 22.5182 3.98828C24.8728 3.98828 26.7815 5.89704 26.7815 8.25161C26.7815 10.6062 24.8728 12.5149 22.5182 12.5149C20.1636 12.5149 18.2549 10.6062 18.2549 8.25161Z", fill: "#172554" }), (0, jsx_runtime_1.jsx)("path", { d: "M7.02441 8.46593C7.02441 6.01867 9.20858 3.99805 11.6558 3.99805C14.1031 3.99805 15.0558 5.59785 16.5612 7.52728C17.1957 8.34054 20.7921 13.3413 20.7921 13.3413C20.7921 13.3413 21.566 14.6863 21.566 15.7894C21.566 18.5287 17.1993 22.8381 17.1993 22.8381L7.66841 10.6799C7.66841 10.6799 7.02441 10.0502 7.02441 8.46593Z", fill: "#172554", fillOpacity: "0.8" }), (0, jsx_runtime_1.jsx)("path", { d: "M1.24707 8.42687C1.24707 5.97961 3.43123 3.95898 5.8785 3.95898C8.32576 3.95898 9.27845 5.55879 10.7839 7.48824C11.4184 8.30147 14.6041 12.4888 16.8247 15.5727C18.3585 17.703 18.474 17.705 18.474 20.3439C18.474 22.9827 15.1592 24.1379 14.1483 24.1914C12.0203 24.304 10.5418 22.4681 10.5418 22.4681L1.89106 10.6408C1.89106 10.6408 1.24707 10.0111 1.24707 8.42687Z", fill: "#172554" })] }));
|
|
52
57
|
//# sourceMappingURL=EmailContainer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmailContainer.js","sourceRoot":"src/","sources":["components/EmailContainer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EmailContainer.js","sourceRoot":"src/","sources":["components/EmailContainer.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Body } from '@react-email/body';\nimport { Font } from '@react-email/font';\nimport { Head } from '@react-email/head';\nimport { Hr } from '@react-email/hr';\nimport { Html } from '@react-email/html';\nimport { Img } from '@react-email/img';\nimport { Preview } from '@react-email/preview';\nimport { Text } from '@react-email/text';\nimport { day } from '@vrplatform/utils';\nimport type { EmailBaseProps } from '../types';\n\ntype Props = {\n children: React.ReactNode;\n title: string;\n tenant: Omit<EmailBaseProps['tenant'], 'name'>;\n mode: EmailBaseProps['mode'];\n shortDescription?: string;\n};\n\nexport const EmailContainer = (props: Props) => {\n const { children, shortDescription, title } = props;\n\n const contentWrapperStyle = {\n paddingInline: '20px',\n paddingBlock: '10px',\n maxWidth: '500px',\n margin: '0 auto',\n };\n\n if (props.mode !== 'send') {\n return (\n <div style={contentWrapperStyle}>\n <Content {...props}>{children}</Content>\n </div>\n );\n }\n\n return (\n <Html lang=\"en\">\n <Head>\n <title>{title}</title>\n <Font\n fontFamily=\"Inter\"\n fallbackFontFamily=\"Verdana\"\n webFont={{\n url: 'https://fonts.gstatic.com/s/inter/v13/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7W0Q5nw.woff2',\n format: 'woff2',\n }}\n fontWeight={400}\n fontStyle=\"normal\"\n />\n <Font\n fontFamily=\"Inter\"\n fallbackFontFamily=\"Verdana\"\n webFont={{\n url: 'https://fonts.gstatic.com/s/inter/v13/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7W0Q5nw.woff2',\n format: 'woff2',\n }}\n fontWeight={600}\n fontStyle=\"normal\"\n />\n </Head>\n {shortDescription && <Preview>{shortDescription}</Preview>}\n <Body style={contentWrapperStyle}>\n <Content {...props}>{children}</Content>\n </Body>\n </Html>\n );\n};\n\nconst Content = ({ children, tenant: { logo: tenantLogo }, mode }: Props) => {\n return (\n <>\n {tenantLogo ? (\n <div\n style={{\n marginBottom: '60px',\n padding: '5px',\n // border: '1px solid rgb(233,236,239)',\n borderRadius: '5px',\n width: '80px',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n }}\n >\n <Img src={tenantLogo} alt={'Logo'} width={70} />\n </div>\n ) : mode === 'send' ? (\n <Img\n src={'https://staging.portal.vrplatform.app/logo.png'}\n alt={'Logo'}\n width={70}\n style={{ marginBottom: '60px' }}\n />\n ) : (\n <div\n style={{\n width: '60px',\n }}\n >\n <VrpLogo />\n </div>\n )}\n\n {children}\n\n <Footer />\n </>\n );\n};\n\nconst Footer = () => (\n <>\n <Hr\n style={{\n marginTop: '30px',\n marginBottom: '50px',\n }}\n />\n\n <Text\n style={{\n color: '#737373',\n }}\n >\n © {day().year()} VRPlatform Ventures Ltd. All rights reserved.\n </Text>\n <Text\n style={{\n color: '#737373',\n }}\n >\n VR Technologies, LLC, a company incorporated and registered in the United\n States of America with company number 20201965158\n </Text>\n </>\n);\n\nconst VrpLogo = () => (\n <svg\n width=\"100%\"\n height=\"100%\"\n viewBox=\"0 0 28 29\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M18.2549 8.25161C18.2549 5.89704 20.1636 3.98828 22.5182 3.98828C24.8728 3.98828 26.7815 5.89704 26.7815 8.25161C26.7815 10.6062 24.8728 12.5149 22.5182 12.5149C20.1636 12.5149 18.2549 10.6062 18.2549 8.25161Z\"\n fill=\"#172554\"\n />\n <path\n d=\"M7.02441 8.46593C7.02441 6.01867 9.20858 3.99805 11.6558 3.99805C14.1031 3.99805 15.0558 5.59785 16.5612 7.52728C17.1957 8.34054 20.7921 13.3413 20.7921 13.3413C20.7921 13.3413 21.566 14.6863 21.566 15.7894C21.566 18.5287 17.1993 22.8381 17.1993 22.8381L7.66841 10.6799C7.66841 10.6799 7.02441 10.0502 7.02441 8.46593Z\"\n fill=\"#172554\"\n fillOpacity=\"0.8\"\n />\n <path\n d=\"M1.24707 8.42687C1.24707 5.97961 3.43123 3.95898 5.8785 3.95898C8.32576 3.95898 9.27845 5.55879 10.7839 7.48824C11.4184 8.30147 14.6041 12.4888 16.8247 15.5727C18.3585 17.703 18.474 17.705 18.474 20.3439C18.474 22.9827 15.1592 24.1379 14.1483 24.1914C12.0203 24.304 10.5418 22.4681 10.5418 22.4681L1.89106 10.6408C1.89106 10.6408 1.24707 10.0111 1.24707 8.42687Z\"\n fill=\"#172554\"\n />\n </svg>\n);\n"]}
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./EmailContainer"), exports);
|
|
18
|
+
__exportStar(require("./ActionEmailTemplate"), exports);
|
|
3
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"src/","sources":["components/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"src/","sources":["components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,wDAAsC","sourcesContent":["export * from './EmailContainer';\nexport * from './ActionEmailTemplate';\n"]}
|
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./parse-email-html"), exports);
|
|
2
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"src/","sources":["components/utils/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"src/","sources":["components/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC","sourcesContent":["export * from './parse-email-html';\n"]}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.parseEmailHtml = void 0;
|
|
4
|
+
const parseEmailHtml = (html, args) => {
|
|
2
5
|
// parse out any html scripts of type : <team-name-component></team-name-component> or <user-name-component></user-name-component>
|
|
3
6
|
// and replace them with the appropriate component
|
|
4
7
|
// return the parsed html
|
|
5
8
|
return html
|
|
6
|
-
.replaceAll(/<action
|
|
7
|
-
.replaceAll(/<user
|
|
8
|
-
.replaceAll(/<listing
|
|
9
|
-
.replaceAll(/<date
|
|
9
|
+
.replaceAll(/<action-link-component><\/action-link-component>/g, `<a href="${args.href}" target="_blank">${args.href}</a>`)
|
|
10
|
+
.replaceAll(/<user-name-component><\/user-name-component>/g, args.userName)
|
|
11
|
+
.replaceAll(/<listing-name-component><\/listing-name-component>/g, args.listingName)
|
|
12
|
+
.replaceAll(/<date-component><\/date-component>/g, args.date);
|
|
10
13
|
};
|
|
14
|
+
exports.parseEmailHtml = parseEmailHtml;
|
|
11
15
|
//# sourceMappingURL=parse-email-html.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-email-html.js","sourceRoot":"src/","sources":["components/utils/parse-email-html.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"parse-email-html.js","sourceRoot":"src/","sources":["components/utils/parse-email-html.ts"],"names":[],"mappings":";;;AAAO,MAAM,cAAc,GAAG,CAC5B,IAAY,EACZ,IAKC,EACD,EAAE;IACF,kIAAkI;IAClI,kDAAkD;IAClD,yBAAyB;IAEzB,OAAO,IAAI;SACR,UAAU,CACT,mDAAmD,EACnD,YAAY,IAAI,CAAC,IAAI,qBAAqB,IAAI,CAAC,IAAI,MAAM,CAC1D;SACA,UAAU,CAAC,+CAA+C,EAAE,IAAI,CAAC,QAAQ,CAAC;SAC1E,UAAU,CACT,qDAAqD,EACrD,IAAI,CAAC,WAAW,CACjB;SACA,UAAU,CAAC,qCAAqC,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;AAClE,CAAC,CAAC;AAxBW,QAAA,cAAc,kBAwBzB","sourcesContent":["export const parseEmailHtml = (\n html: string,\n args: {\n href: string;\n userName: string;\n listingName: string;\n date: string;\n }\n) => {\n // parse out any html scripts of type : <team-name-component></team-name-component> or <user-name-component></user-name-component>\n // and replace them with the appropriate component\n // return the parsed html\n\n return html\n .replaceAll(\n /<action-link-component><\\/action-link-component>/g,\n `<a href=\"${args.href}\" target=\"_blank\">${args.href}</a>`\n )\n .replaceAll(/<user-name-component><\\/user-name-component>/g, args.userName)\n .replaceAll(\n /<listing-name-component><\\/listing-name-component>/g,\n args.listingName\n )\n .replaceAll(/<date-component><\\/date-component>/g, args.date);\n};\n"]}
|
package/build/main/const.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VRP_PLATFORM = void 0;
|
|
4
|
+
exports.VRP_PLATFORM = {
|
|
2
5
|
name: 'VRPlatform',
|
|
3
6
|
from: 'notifications@vrplatform.app',
|
|
4
7
|
portal: 'https://portal.vrplatform.app',
|
package/build/main/const.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"const.js","sourceRoot":"src/","sources":["const.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"const.js","sourceRoot":"src/","sources":["const.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,8BAA8B;IACpC,MAAM,EAAE,+BAA+B;IACvC,IAAI,EAAE,uEAAuE;CACrE,CAAC","sourcesContent":["export const VRP_PLATFORM = {\n name: 'VRPlatform',\n from: 'notifications@vrplatform.app',\n portal: 'https://portal.vrplatform.app',\n logo: 'https://images.clerk.dev/uploaded/img_2HU8qby65rUiwkf3k2bC0XnUxVz.png',\n} as const;\n"]}
|
package/build/main/extensions.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EMAIL_DATE_COMPONENT = exports.EMAIL_LISTING_COMPONENT = exports.EMAIL_ACTION_LINK_COMPONENT = exports.EMAIL_USER_NAME_COMPONENT = void 0;
|
|
4
|
+
exports.EMAIL_USER_NAME_COMPONENT = '<user-name-component></user-name-component>';
|
|
5
|
+
exports.EMAIL_ACTION_LINK_COMPONENT = '<action-link-component></action-link-component>';
|
|
6
|
+
exports.EMAIL_LISTING_COMPONENT = '<listing-name-component></listing-name-component>';
|
|
7
|
+
exports.EMAIL_DATE_COMPONENT = '<date-component></date-component>';
|
|
5
8
|
//# sourceMappingURL=extensions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extensions.js","sourceRoot":"src/","sources":["extensions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"extensions.js","sourceRoot":"src/","sources":["extensions.ts"],"names":[],"mappings":";;;AAAa,QAAA,yBAAyB,GACpC,6CAA6C,CAAC;AACnC,QAAA,2BAA2B,GACtC,iDAAiD,CAAC;AACvC,QAAA,uBAAuB,GAClC,mDAAmD,CAAC;AACzC,QAAA,oBAAoB,GAAG,mCAAmC,CAAC","sourcesContent":["export const EMAIL_USER_NAME_COMPONENT =\n '<user-name-component></user-name-component>';\nexport const EMAIL_ACTION_LINK_COMPONENT =\n '<action-link-component></action-link-component>';\nexport const EMAIL_LISTING_COMPONENT =\n '<listing-name-component></listing-name-component>';\nexport const EMAIL_DATE_COMPONENT = '<date-component></date-component>';\n"]}
|
package/build/main/index.js
CHANGED
|
@@ -1,7 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.render = exports.VRP_PLATFORM = void 0;
|
|
18
|
+
__exportStar(require("./templates"), exports);
|
|
19
|
+
__exportStar(require("./utils"), exports); // send email utils
|
|
20
|
+
__exportStar(require("./theme"), exports);
|
|
21
|
+
__exportStar(require("./extensions"), exports);
|
|
22
|
+
var const_1 = require("./const");
|
|
23
|
+
Object.defineProperty(exports, "VRP_PLATFORM", { enumerable: true, get: function () { return const_1.VRP_PLATFORM; } });
|
|
24
|
+
var render_1 = require("@react-email/render");
|
|
25
|
+
Object.defineProperty(exports, "render", { enumerable: true, get: function () { return render_1.render; } });
|
|
7
26
|
//# sourceMappingURL=index.js.map
|
package/build/main/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"src/","sources":["index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"src/","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,0CAAwB,CAAC,mBAAmB;AAC5C,0CAAwB;AACxB,+CAA6B;AAC7B,iCAAuC;AAA9B,qGAAA,YAAY,OAAA;AAGrB,8CAA6C;AAApC,gGAAA,MAAM,OAAA","sourcesContent":["export * from './templates';\nexport * from './utils'; // send email utils\nexport * from './theme';\nexport * from './extensions';\nexport { VRP_PLATFORM } from './const';\nexport type { ActionEmailData } from './components';\n\nexport { render } from '@react-email/render';\n"]}
|
|
@@ -3,6 +3,4 @@ export declare const getDefaultInviteOwnerEmailData: (mode: "tag" | "text", args
|
|
|
3
3
|
appName: string;
|
|
4
4
|
signInLink: string;
|
|
5
5
|
}) => ActionEmailData;
|
|
6
|
-
export declare const InviteOwnerEmailTemplate: (props: ActionEmailTemplateProps) => import("react
|
|
7
|
-
declare const Preview: () => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default Preview;
|
|
6
|
+
export declare const InviteOwnerEmailTemplate: (props: ActionEmailTemplateProps) => import("react").JSX.Element;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InviteOwnerEmailTemplate = exports.getDefaultInviteOwnerEmailData = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const extensions_1 = require("../extensions");
|
|
6
|
+
const components_1 = require("../components");
|
|
7
|
+
const getDefaultInviteOwnerEmailData = (mode, args) => {
|
|
8
|
+
const signInLink = mode === 'tag' ? extensions_1.EMAIL_ACTION_LINK_COMPONENT : args.signInLink;
|
|
6
9
|
return {
|
|
7
10
|
bodyOne: `<p>You are invited to join us on ${args.appName}.</p><p>To start using ${args.appName}, accept the invitation and verify your email address.</p>`,
|
|
8
11
|
bodyTwo: `<p>If you have any trouble with the button, you can copy and paste the link below into your browser: ${signInLink}</p>`,
|
|
@@ -13,29 +16,9 @@ export const getDefaultInviteOwnerEmailData = (mode, args) => {
|
|
|
13
16
|
subject: `You are invited to join your team on ${args.appName}`,
|
|
14
17
|
};
|
|
15
18
|
};
|
|
16
|
-
|
|
17
|
-
|
|
19
|
+
exports.getDefaultInviteOwnerEmailData = getDefaultInviteOwnerEmailData;
|
|
20
|
+
const InviteOwnerEmailTemplate = (props) => {
|
|
21
|
+
return (0, jsx_runtime_1.jsx)(components_1.ActionEmailTemplate, { ...props });
|
|
18
22
|
};
|
|
19
|
-
|
|
20
|
-
name: 'Pineapple Mountain',
|
|
21
|
-
logo: 'https://imagedelivery.net/Ftdv9WftbW1DctaiLSVfFA/fbd8c31f-478f-4eb0-74ac-c8eeb47b5000/256x256',
|
|
22
|
-
}, data: getDefaultInviteOwnerEmailData('text', {
|
|
23
|
-
appName: 'VRPlatform',
|
|
24
|
-
signInLink: 'https://example.com',
|
|
25
|
-
}), user: {
|
|
26
|
-
firstName: 'John',
|
|
27
|
-
}, listing: undefined, month: undefined, themeColors: [
|
|
28
|
-
// portal.brown
|
|
29
|
-
'#9E9390',
|
|
30
|
-
'#8D7C78',
|
|
31
|
-
'#7C6964',
|
|
32
|
-
'#6E5954',
|
|
33
|
-
'#614B46',
|
|
34
|
-
'#573F39',
|
|
35
|
-
'#4E342E',
|
|
36
|
-
'#3F2D29',
|
|
37
|
-
'#332725',
|
|
38
|
-
'#2A2220',
|
|
39
|
-
] }));
|
|
40
|
-
export default Preview;
|
|
23
|
+
exports.InviteOwnerEmailTemplate = InviteOwnerEmailTemplate;
|
|
41
24
|
//# sourceMappingURL=InviteOwnerEmailTemplate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InviteOwnerEmailTemplate.js","sourceRoot":"src/","sources":["templates/InviteOwnerEmailTemplate.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InviteOwnerEmailTemplate.js","sourceRoot":"src/","sources":["templates/InviteOwnerEmailTemplate.tsx"],"names":[],"mappings":";;;;AAAA,8CAA4D;AAC5D,8CAIuB;AAEhB,MAAM,8BAA8B,GAAG,CAC5C,IAAoB,EACpB,IAGC,EACgB,EAAE;IACnB,MAAM,UAAU,GACd,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,wCAA2B,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;IAEjE,OAAO;QACL,OAAO,EAAE,oCAAoC,IAAI,CAAC,OAAO,0BAA0B,IAAI,CAAC,OAAO,4DAA4D;QAC3J,OAAO,EAAE,wGAAwG,UAAU,MAAM;QACjI,UAAU,EAAE,mBAAmB;QAC/B,MAAM,EAAE,sBAAsB;QAC9B,gBAAgB,EACd,6GAA6G;QAC/G,IAAI,EAAE,IAAI,CAAC,UAAU;QACrB,OAAO,EAAE,wCAAwC,IAAI,CAAC,OAAO,EAAE;KAChE,CAAC;AACJ,CAAC,CAAC;AApBW,QAAA,8BAA8B,kCAoBzC;AAEK,MAAM,wBAAwB,GAAG,CAAC,KAA+B,EAAE,EAAE;IAC1E,OAAO,uBAAC,gCAAmB,OAAK,KAAK,GAAI,CAAC;AAC5C,CAAC,CAAC;AAFW,QAAA,wBAAwB,4BAEnC","sourcesContent":["import { EMAIL_ACTION_LINK_COMPONENT } from '../extensions';\nimport {\n type ActionEmailData,\n ActionEmailTemplate,\n type ActionEmailTemplateProps,\n} from '../components';\n\nexport const getDefaultInviteOwnerEmailData = (\n mode: 'tag' | 'text',\n args: {\n appName: string;\n signInLink: string;\n }\n): ActionEmailData => {\n const signInLink =\n mode === 'tag' ? EMAIL_ACTION_LINK_COMPONENT : args.signInLink;\n\n return {\n bodyOne: `<p>You are invited to join us on ${args.appName}.</p><p>To start using ${args.appName}, accept the invitation and verify your email address.</p>`,\n bodyTwo: `<p>If you have any trouble with the button, you can copy and paste the link below into your browser: ${signInLink}</p>`,\n buttonText: 'Accept Invitation',\n header: 'Welcome to the team!',\n shortDescription:\n 'You have been invited to join the team. To start using VRPlatform, verify your email address at link below.',\n href: args.signInLink,\n subject: `You are invited to join your team on ${args.appName}`,\n };\n};\n\nexport const InviteOwnerEmailTemplate = (props: ActionEmailTemplateProps) => {\n return <ActionEmailTemplate {...props} />;\n};\n"]}
|
|
@@ -3,6 +3,4 @@ export declare const getDefaultInvitePropertyManagerEmailData: (mode: "tag" | "t
|
|
|
3
3
|
appName: string;
|
|
4
4
|
signInLink: string;
|
|
5
5
|
}) => ActionEmailData;
|
|
6
|
-
export declare const InvitePmEmailTemplate: (props: ActionEmailTemplateProps) => import("react
|
|
7
|
-
declare const Preview: () => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default Preview;
|
|
6
|
+
export declare const InvitePmEmailTemplate: (props: ActionEmailTemplateProps) => import("react").JSX.Element;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvitePmEmailTemplate = exports.getDefaultInvitePropertyManagerEmailData = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const extensions_1 = require("../extensions");
|
|
6
|
+
const components_1 = require("../components");
|
|
7
|
+
const getDefaultInvitePropertyManagerEmailData = (mode, args) => {
|
|
5
8
|
const signInLink = mode === 'tag'
|
|
6
|
-
? EMAIL_ACTION_LINK_COMPONENT
|
|
9
|
+
? extensions_1.EMAIL_ACTION_LINK_COMPONENT
|
|
7
10
|
: `<a href='${args.signInLink}' target='_blank'>${args.signInLink}</a>`;
|
|
8
11
|
return {
|
|
9
12
|
bodyOne: `<p>You are invited to join us on ${args.appName}.</p><p>To start using ${args.appName}, accept the invitation and verify your email address.</p>`,
|
|
@@ -15,37 +18,12 @@ export const getDefaultInvitePropertyManagerEmailData = (mode, args) => {
|
|
|
15
18
|
subject: `You are invited to join your team on ${args.appName}`,
|
|
16
19
|
};
|
|
17
20
|
};
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
exports.getDefaultInvitePropertyManagerEmailData = getDefaultInvitePropertyManagerEmailData;
|
|
22
|
+
const InvitePmEmailTemplate = (props) => {
|
|
23
|
+
return ((0, jsx_runtime_1.jsx)(components_1.ActionEmailTemplate, { ...props, tenant: {
|
|
20
24
|
logo: undefined,
|
|
21
25
|
name: props.tenant.name,
|
|
22
26
|
} }));
|
|
23
27
|
};
|
|
24
|
-
|
|
25
|
-
name: 'Pineapple Mountain',
|
|
26
|
-
logo: 'https://imagedelivery.net/Ftdv9WftbW1DctaiLSVfFA/fbd8c31f-478f-4eb0-74ac-c8eeb47b5000/256x256',
|
|
27
|
-
}, data: {
|
|
28
|
-
bodyOne: 'Hello, <br /> <br /> You have been invited to join Pineapple Mountain. <br /> <br />',
|
|
29
|
-
bodyTwo: 'Please click the button below to accept the invitation. <br /> <br />',
|
|
30
|
-
buttonText: 'Accept Invitation',
|
|
31
|
-
header: 'Welcome to Pineapple Mountain!',
|
|
32
|
-
shortDescription: 'You have been invited to join Pineapple Mountain.',
|
|
33
|
-
href: 'https://example.com',
|
|
34
|
-
subject: 'You are invited to join Pineapple Mountain',
|
|
35
|
-
}, user: {
|
|
36
|
-
firstName: 'John',
|
|
37
|
-
}, listing: undefined, month: undefined, themeColors: [
|
|
38
|
-
// baseColor: vrp primary palette
|
|
39
|
-
'#E6F1FF',
|
|
40
|
-
'#B8D9FE',
|
|
41
|
-
'#8BC0FE',
|
|
42
|
-
'#5DA8FD',
|
|
43
|
-
'#308FFD',
|
|
44
|
-
'#0377FC',
|
|
45
|
-
'#025FCA',
|
|
46
|
-
'#024797',
|
|
47
|
-
'#012F65',
|
|
48
|
-
'#011832',
|
|
49
|
-
] }));
|
|
50
|
-
export default Preview;
|
|
28
|
+
exports.InvitePmEmailTemplate = InvitePmEmailTemplate;
|
|
51
29
|
//# sourceMappingURL=InvitePmEmailTemplate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvitePmEmailTemplate.js","sourceRoot":"src/","sources":["templates/InvitePmEmailTemplate.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InvitePmEmailTemplate.js","sourceRoot":"src/","sources":["templates/InvitePmEmailTemplate.tsx"],"names":[],"mappings":";;;;AAAA,8CAA4D;AAC5D,8CAIuB;AAEhB,MAAM,wCAAwC,GAAG,CACtD,IAAoB,EACpB,IAGC,EACgB,EAAE;IACnB,MAAM,UAAU,GACd,IAAI,KAAK,KAAK;QACZ,CAAC,CAAC,wCAA2B;QAC7B,CAAC,CAAC,YAAY,IAAI,CAAC,UAAU,qBAAqB,IAAI,CAAC,UAAU,MAAM,CAAC;IAE5E,OAAO;QACL,OAAO,EAAE,oCAAoC,IAAI,CAAC,OAAO,0BAA0B,IAAI,CAAC,OAAO,4DAA4D;QAC3J,OAAO,EAAE,qFAAqF,UAAU,MAAM;QAC9G,UAAU,EAAE,mBAAmB;QAC/B,MAAM,EAAE,sBAAsB;QAC9B,gBAAgB,EACd,6GAA6G;QAC/G,IAAI,EAAE,IAAI,CAAC,UAAU;QACrB,OAAO,EAAE,wCAAwC,IAAI,CAAC,OAAO,EAAE;KAChE,CAAC;AACJ,CAAC,CAAC;AAtBW,QAAA,wCAAwC,4CAsBnD;AAEK,MAAM,qBAAqB,GAAG,CAAC,KAA+B,EAAE,EAAE;IACvE,OAAO,CACL,uBAAC,gCAAmB,OACd,KAAK,EACT,MAAM,EAAE;YACN,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI;SACxB,GACD,CACH,CAAC;AACJ,CAAC,CAAC;AAVW,QAAA,qBAAqB,yBAUhC","sourcesContent":["import { EMAIL_ACTION_LINK_COMPONENT } from '../extensions';\nimport {\n type ActionEmailData,\n ActionEmailTemplate,\n type ActionEmailTemplateProps,\n} from '../components';\n\nexport const getDefaultInvitePropertyManagerEmailData = (\n mode: 'tag' | 'text',\n args: {\n appName: string;\n signInLink: string;\n }\n): ActionEmailData => {\n const signInLink =\n mode === 'tag'\n ? EMAIL_ACTION_LINK_COMPONENT\n : `<a href='${args.signInLink}' target='_blank'>${args.signInLink}</a>`;\n\n return {\n bodyOne: `<p>You are invited to join us on ${args.appName}.</p><p>To start using ${args.appName}, accept the invitation and verify your email address.</p>`,\n bodyTwo: `<p>If you have any trouble with the button, you can use the following link below: ${signInLink}</p>`,\n buttonText: 'Accept Invitation',\n header: 'Welcome to the team!',\n shortDescription:\n 'You have been invited to join the team. To start using VRPlatform, verify your email address at link below.',\n href: args.signInLink,\n subject: `You are invited to join your team on ${args.appName}`,\n };\n};\n\nexport const InvitePmEmailTemplate = (props: ActionEmailTemplateProps) => {\n return (\n <ActionEmailTemplate\n {...props}\n tenant={{\n logo: undefined,\n name: props.tenant.name,\n }}\n />\n );\n};\n"]}
|
|
@@ -6,6 +6,4 @@ export declare const getDefaultOwnerStatementEmailData: (mode: "tag" | "text", a
|
|
|
6
6
|
userName: string;
|
|
7
7
|
month: string;
|
|
8
8
|
}) => ActionEmailData;
|
|
9
|
-
export declare const OwnerStatementEmailTemplate: (props: ActionEmailTemplateProps) => import("react
|
|
10
|
-
declare const Preview: () => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default Preview;
|
|
9
|
+
export declare const OwnerStatementEmailTemplate: (props: ActionEmailTemplateProps) => import("react").JSX.Element;
|