promote-email-templates 0.1.12 → 0.1.13
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/dist/index.d.mts +20 -1
- package/dist/index.d.ts +20 -1
- package/dist/index.js +431 -376
- package/dist/index.mjs +428 -376
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -41,9 +41,12 @@ __export(index_exports, {
|
|
|
41
41
|
NewJobCreatedBrand: () => NewJobCreatedBrand,
|
|
42
42
|
NewJobCreatedBrandHtml: () => NewJobCreatedBrandHtml,
|
|
43
43
|
NewJobCreatedBrandText: () => NewJobCreatedBrandText,
|
|
44
|
+
NewMessage: () => NewMessage,
|
|
45
|
+
NewMessageHtml: () => NewMessageHtml,
|
|
44
46
|
NewMessageNotification: () => NewMessageNotification,
|
|
45
47
|
NewMessageNotificationHtml: () => NewMessageNotificationHtml,
|
|
46
48
|
NewMessageNotificationText: () => NewMessageNotificationText,
|
|
49
|
+
NewMessageText: () => NewMessageText,
|
|
47
50
|
NewOrderCreatedBrand: () => NewOrderCreatedBrand,
|
|
48
51
|
NewOrderCreatedBrandHtml: () => NewOrderCreatedBrandHtml,
|
|
49
52
|
NewOrderCreatedBrandText: () => NewOrderCreatedBrandText,
|
|
@@ -367,28 +370,103 @@ var AbortOrderRequestHtml = (props) => {
|
|
|
367
370
|
return (0, import_render.render)(AbortOrderRequest(props));
|
|
368
371
|
};
|
|
369
372
|
|
|
370
|
-
// emails/admin/
|
|
373
|
+
// emails/admin/new-message.tsx
|
|
371
374
|
var import_components7 = require("@react-email/components");
|
|
375
|
+
var import_render2 = require("@react-email/render");
|
|
372
376
|
|
|
373
|
-
// emails/shared/components/
|
|
377
|
+
// emails/shared/components/comment-component.tsx
|
|
374
378
|
var import_components6 = require("@react-email/components");
|
|
375
379
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
380
|
+
function CommentComponent(props) {
|
|
381
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_components6.Container, { style: { ...container3(props.danger) }, children: [
|
|
382
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_components6.Heading, { style: title, children: props.title }),
|
|
383
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_components6.Text, { style: content, children: props.comment })
|
|
384
|
+
] });
|
|
385
|
+
}
|
|
386
|
+
var container3 = (isDanger) => ({
|
|
387
|
+
...baseContentContainer,
|
|
388
|
+
backgroundColor: isDanger ? "rgba(250,0,0,0.26)" : "#f5f5f5",
|
|
389
|
+
borderRadius: "8px",
|
|
390
|
+
padding: "16px"
|
|
391
|
+
});
|
|
392
|
+
var title = {
|
|
393
|
+
...baseText,
|
|
394
|
+
fontWeight: "bold",
|
|
395
|
+
margin: "0"
|
|
396
|
+
};
|
|
397
|
+
var content = {
|
|
398
|
+
...baseText
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
// emails/admin/new-message.tsx
|
|
402
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
403
|
+
function NewMessage(props) {
|
|
404
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_components7.Html, { style: rootStyles, children: [
|
|
405
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(BaseHead, {}),
|
|
406
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_components7.Preview, { children: "Nova mensagem recebida" }),
|
|
407
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_components7.Body, { style: { ...main, ...baseContainer }, children: [
|
|
408
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Header, {}),
|
|
409
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(UserInfo, { photo: "", name: props.sender.name, userType: "brand" /* BRAND */ }),
|
|
410
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_components7.Container, { style: { ...baseContentContainer }, children: [
|
|
411
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_components7.Text, { style: baseText, children: [
|
|
412
|
+
"Ol\xE1, ",
|
|
413
|
+
props.recipient.name,
|
|
414
|
+
","
|
|
415
|
+
] }),
|
|
416
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_components7.Text, { style: baseText, children: "Voc\xEA recebeu uma nova mensagem no chatbot da Promote." })
|
|
417
|
+
] }),
|
|
418
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { style: reasonContainer, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(CommentComponent, { title: "Mensagem", comment: props.message.content }) }),
|
|
419
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_components7.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_components7.Link, { href: chatbotUrl, style: { ...button, width: "130px" }, children: "VER MENSAGEM" }) }),
|
|
420
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Footer, {})
|
|
421
|
+
] })
|
|
422
|
+
] });
|
|
423
|
+
}
|
|
424
|
+
NewMessage.PreviewProps = {
|
|
425
|
+
recipient: {
|
|
426
|
+
name: "Jo\xE3o Ant\xF3nio",
|
|
427
|
+
email: "joao@email.com"
|
|
428
|
+
},
|
|
429
|
+
sender: {
|
|
430
|
+
name: "Promote"
|
|
431
|
+
},
|
|
432
|
+
message: {
|
|
433
|
+
content: "Ol\xE1, Jo\xE3o Ant\xF3nio, tudo bem? Estou a ver a sua proposta e gostaria de saber se poderia me enviar mais informa\xE7\xF5es sobre o projeto."
|
|
434
|
+
}
|
|
435
|
+
};
|
|
436
|
+
var reasonContainer = {
|
|
437
|
+
width: "100%",
|
|
438
|
+
padding: "0",
|
|
439
|
+
margin: "30px 0"
|
|
440
|
+
};
|
|
441
|
+
var NewMessageText = (props) => {
|
|
442
|
+
return (0, import_render2.render)(NewMessage(props), { plainText: true });
|
|
443
|
+
};
|
|
444
|
+
var NewMessageHtml = (props) => {
|
|
445
|
+
return (0, import_render2.render)(NewMessage(props));
|
|
446
|
+
};
|
|
447
|
+
|
|
448
|
+
// emails/admin/revert-payment-request-admin.tsx
|
|
449
|
+
var import_components9 = require("@react-email/components");
|
|
450
|
+
|
|
451
|
+
// emails/shared/components/payment-amount.tsx
|
|
452
|
+
var import_components8 = require("@react-email/components");
|
|
453
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
376
454
|
function PaymentAmount(props) {
|
|
377
|
-
return /* @__PURE__ */ (0,
|
|
378
|
-
/* @__PURE__ */ (0,
|
|
379
|
-
/* @__PURE__ */ (0,
|
|
455
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_components8.Container, { style: container4, children: [
|
|
456
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_components8.Heading, { style: title2, children: "Valor Total" }),
|
|
457
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_components8.Text, { style: amount, children: [
|
|
380
458
|
props.totalAmount,
|
|
381
459
|
" MZN"
|
|
382
460
|
] })
|
|
383
461
|
] });
|
|
384
462
|
}
|
|
385
|
-
var
|
|
463
|
+
var container4 = {
|
|
386
464
|
...baseContentContainer,
|
|
387
465
|
backgroundColor: "rgba(59,140,235,0.79)",
|
|
388
466
|
borderRadius: "8px",
|
|
389
467
|
padding: "16px"
|
|
390
468
|
};
|
|
391
|
-
var
|
|
469
|
+
var title2 = {
|
|
392
470
|
...baseText,
|
|
393
471
|
fontWeight: "bold",
|
|
394
472
|
margin: "0",
|
|
@@ -404,21 +482,21 @@ var amount = {
|
|
|
404
482
|
};
|
|
405
483
|
|
|
406
484
|
// emails/admin/revert-payment-request-admin.tsx
|
|
407
|
-
var
|
|
408
|
-
var
|
|
485
|
+
var import_render3 = require("@react-email/render");
|
|
486
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
409
487
|
function RevertPaymentRequestAdmin(props) {
|
|
410
|
-
return /* @__PURE__ */ (0,
|
|
411
|
-
/* @__PURE__ */ (0,
|
|
412
|
-
/* @__PURE__ */ (0,
|
|
413
|
-
/* @__PURE__ */ (0,
|
|
414
|
-
/* @__PURE__ */ (0,
|
|
415
|
-
/* @__PURE__ */ (0,
|
|
416
|
-
/* @__PURE__ */ (0,
|
|
417
|
-
/* @__PURE__ */ (0,
|
|
418
|
-
/* @__PURE__ */ (0,
|
|
488
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_components9.Html, { style: rootStyles, children: [
|
|
489
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(BaseHead, {}),
|
|
490
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components9.Preview, { children: "Pedido de revers\xE3o de pagamento" }),
|
|
491
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_components9.Body, { style: { ...main, ...baseContainer }, children: [
|
|
492
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Header, {}),
|
|
493
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
|
|
494
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_components9.Container, { style: { ...baseContentContainer }, children: [
|
|
495
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components9.Text, { style: baseText, children: "Ol\xE1 Promote team," }),
|
|
496
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_components9.Text, { style: baseText, children: [
|
|
419
497
|
"O pagamento da",
|
|
420
498
|
" ",
|
|
421
|
-
/* @__PURE__ */ (0,
|
|
499
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_components9.Link, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: [
|
|
422
500
|
"ordem #",
|
|
423
501
|
props.order.id
|
|
424
502
|
] }),
|
|
@@ -426,9 +504,9 @@ function RevertPaymentRequestAdmin(props) {
|
|
|
426
504
|
"deve ser revertido."
|
|
427
505
|
] })
|
|
428
506
|
] }),
|
|
429
|
-
/* @__PURE__ */ (0,
|
|
430
|
-
/* @__PURE__ */ (0,
|
|
431
|
-
/* @__PURE__ */ (0,
|
|
507
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(PaymentAmount, { totalAmount: props.totalAmount }),
|
|
508
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components9.Container, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components9.Link, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
|
|
509
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Footer, {})
|
|
432
510
|
] })
|
|
433
511
|
] });
|
|
434
512
|
}
|
|
@@ -439,45 +517,45 @@ RevertPaymentRequestAdmin.PreviewProps = {
|
|
|
439
517
|
totalAmount: "1000,00"
|
|
440
518
|
};
|
|
441
519
|
var RevertPaymentRequestAdminText = (props) => {
|
|
442
|
-
return (0,
|
|
520
|
+
return (0, import_render3.render)(RevertPaymentRequestAdmin(props), { plainText: true });
|
|
443
521
|
};
|
|
444
522
|
var RevertPaymentRequestAdminHtml = (props) => {
|
|
445
|
-
return (0,
|
|
523
|
+
return (0, import_render3.render)(RevertPaymentRequestAdmin(props));
|
|
446
524
|
};
|
|
447
525
|
|
|
448
526
|
// emails/brand/evidences-accepted-brand.tsx
|
|
449
|
-
var
|
|
450
|
-
var
|
|
451
|
-
var
|
|
527
|
+
var import_components10 = require("@react-email/components");
|
|
528
|
+
var import_render4 = require("@react-email/render");
|
|
529
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
452
530
|
function OrderEvidencesAcceptedBrand(props) {
|
|
453
|
-
return /* @__PURE__ */ (0,
|
|
454
|
-
/* @__PURE__ */ (0,
|
|
455
|
-
/* @__PURE__ */ (0,
|
|
456
|
-
/* @__PURE__ */ (0,
|
|
457
|
-
/* @__PURE__ */ (0,
|
|
458
|
-
/* @__PURE__ */ (0,
|
|
459
|
-
/* @__PURE__ */ (0,
|
|
460
|
-
/* @__PURE__ */ (0,
|
|
531
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_components10.Html, { style: rootStyles, children: [
|
|
532
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(BaseHead, {}),
|
|
533
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_components10.Preview, { children: "Pagamento Efectuado com sucesso" }),
|
|
534
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_components10.Body, { style: { ...main, ...baseContainer }, children: [
|
|
535
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Header, {}),
|
|
536
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
|
|
537
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_components10.Container, { style: { ...baseContentContainer }, children: [
|
|
538
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_components10.Text, { style: baseText, children: [
|
|
461
539
|
"Ol\xE1, ",
|
|
462
540
|
props.brand.name,
|
|
463
541
|
" \u{1F38A},"
|
|
464
542
|
] }),
|
|
465
|
-
/* @__PURE__ */ (0,
|
|
543
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_components10.Text, { style: baseText, children: [
|
|
466
544
|
"O pagamento da",
|
|
467
545
|
" ",
|
|
468
|
-
/* @__PURE__ */ (0,
|
|
546
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_components10.Link, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: [
|
|
469
547
|
"ordem #",
|
|
470
548
|
props.order.id
|
|
471
549
|
] }),
|
|
472
550
|
" ",
|
|
473
551
|
"foi efectuado com sucesso \u2705.",
|
|
474
|
-
/* @__PURE__ */ (0,
|
|
552
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("br", {}),
|
|
475
553
|
"Agradecemos por confiar na Promote, esperamos que a sua experi\xEAncia tenha sido agrad\xE1vel."
|
|
476
554
|
] })
|
|
477
555
|
] }),
|
|
478
|
-
/* @__PURE__ */ (0,
|
|
479
|
-
/* @__PURE__ */ (0,
|
|
480
|
-
/* @__PURE__ */ (0,
|
|
556
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(PaymentAmount, { totalAmount: props.totalAmount }),
|
|
557
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_components10.Container, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_components10.Link, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
|
|
558
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Footer, {})
|
|
481
559
|
] })
|
|
482
560
|
] });
|
|
483
561
|
}
|
|
@@ -491,48 +569,48 @@ OrderEvidencesAcceptedBrand.PreviewProps = {
|
|
|
491
569
|
totalAmount: "1000,00"
|
|
492
570
|
};
|
|
493
571
|
var OrderEvidencesAcceptedBrandText = (props) => {
|
|
494
|
-
return (0,
|
|
572
|
+
return (0, import_render4.render)(OrderEvidencesAcceptedBrand(props), { plainText: true });
|
|
495
573
|
};
|
|
496
574
|
var OrderEvidencesAcceptedBrandHtml = (props) => {
|
|
497
|
-
return (0,
|
|
575
|
+
return (0, import_render4.render)(OrderEvidencesAcceptedBrand(props));
|
|
498
576
|
};
|
|
499
577
|
|
|
500
578
|
// emails/brand/evidences-submitted-brand.tsx
|
|
501
|
-
var
|
|
502
|
-
var
|
|
503
|
-
var
|
|
579
|
+
var import_components11 = require("@react-email/components");
|
|
580
|
+
var import_render5 = require("@react-email/render");
|
|
581
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
504
582
|
function EvidencesSubmittedBrand(props) {
|
|
505
|
-
return /* @__PURE__ */ (0,
|
|
506
|
-
/* @__PURE__ */ (0,
|
|
507
|
-
/* @__PURE__ */ (0,
|
|
508
|
-
/* @__PURE__ */ (0,
|
|
509
|
-
/* @__PURE__ */ (0,
|
|
510
|
-
/* @__PURE__ */ (0,
|
|
511
|
-
/* @__PURE__ */ (0,
|
|
512
|
-
/* @__PURE__ */ (0,
|
|
583
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_components11.Html, { style: rootStyles, children: [
|
|
584
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(BaseHead, {}),
|
|
585
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_components11.Preview, { children: "Materiais de Entrega submetidos \u{1F195}" }),
|
|
586
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_components11.Body, { style: { ...main, ...baseContainer }, children: [
|
|
587
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Header, {}),
|
|
588
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(UserInfo, { photo: props.creator.photo, name: props.creator.name, userType: "creator" /* CREATOR */, username: props.creator.username }),
|
|
589
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_components11.Container, { style: { ...baseContentContainer }, children: [
|
|
590
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_components11.Text, { style: baseText, children: [
|
|
513
591
|
"Ol\xE1, ",
|
|
514
592
|
props.brand.name,
|
|
515
593
|
","
|
|
516
594
|
] }),
|
|
517
|
-
/* @__PURE__ */ (0,
|
|
595
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_components11.Text, { style: baseText, children: [
|
|
518
596
|
"O criador de conte\xFAdos",
|
|
519
597
|
" ",
|
|
520
|
-
/* @__PURE__ */ (0,
|
|
598
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_components11.Link, { href: appRoutes.creatorPublicProfile(props.creator.username), target: "_blank", style: link, children: props.creator.name }),
|
|
521
599
|
" ",
|
|
522
600
|
"submeteu novo material de entrega para o seu",
|
|
523
601
|
" ",
|
|
524
|
-
/* @__PURE__ */ (0,
|
|
602
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_components11.Link, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: "pedido. \u{1F680}" }),
|
|
525
603
|
" ",
|
|
526
|
-
/* @__PURE__ */ (0,
|
|
604
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("br", {}),
|
|
527
605
|
" Por favor, verifique os materiais de entrega submetidos e ",
|
|
528
|
-
/* @__PURE__ */ (0,
|
|
606
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("b", { children: "aprove \u2705" }),
|
|
529
607
|
" ou ",
|
|
530
|
-
/* @__PURE__ */ (0,
|
|
608
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("b", { children: "rejeite \u274C" }),
|
|
531
609
|
" o trabalho."
|
|
532
610
|
] })
|
|
533
611
|
] }),
|
|
534
|
-
/* @__PURE__ */ (0,
|
|
535
|
-
/* @__PURE__ */ (0,
|
|
612
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_components11.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_components11.Link, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER MATERIAL" }) }),
|
|
613
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Footer, {})
|
|
536
614
|
] })
|
|
537
615
|
] });
|
|
538
616
|
}
|
|
@@ -553,34 +631,34 @@ EvidencesSubmittedBrand.PreviewProps = {
|
|
|
553
631
|
}
|
|
554
632
|
};
|
|
555
633
|
var EvidencesSubmittedBrandText = (props) => {
|
|
556
|
-
return (0,
|
|
634
|
+
return (0, import_render5.render)(EvidencesSubmittedBrand(props), { plainText: true });
|
|
557
635
|
};
|
|
558
636
|
var EvidencesSubmittedBrandHtml = (props) => {
|
|
559
|
-
return (0,
|
|
637
|
+
return (0, import_render5.render)(EvidencesSubmittedBrand(props));
|
|
560
638
|
};
|
|
561
639
|
|
|
562
640
|
// emails/brand/new-order-created-brand.tsx
|
|
563
|
-
var
|
|
641
|
+
var import_components13 = require("@react-email/components");
|
|
564
642
|
|
|
565
643
|
// emails/shared/components/new-order-info.tsx
|
|
566
|
-
var
|
|
567
|
-
var
|
|
644
|
+
var import_components12 = require("@react-email/components");
|
|
645
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
568
646
|
function NewOrderInfo(props) {
|
|
569
|
-
return /* @__PURE__ */ (0,
|
|
570
|
-
/* @__PURE__ */ (0,
|
|
571
|
-
/* @__PURE__ */ (0,
|
|
572
|
-
/* @__PURE__ */ (0,
|
|
647
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_components12.Section, { children: [
|
|
648
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_components12.Row, { style: rowItem, children: [
|
|
649
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_components12.Column, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_components12.Text, { style: leftText, children: "Pacote:" }) }),
|
|
650
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_components12.Column, { align: "right", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_components12.Text, { style: rightText, children: props.packageName }) })
|
|
573
651
|
] }),
|
|
574
|
-
/* @__PURE__ */ (0,
|
|
575
|
-
/* @__PURE__ */ (0,
|
|
576
|
-
/* @__PURE__ */ (0,
|
|
652
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_components12.Row, { style: rowItem, children: [
|
|
653
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_components12.Column, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_components12.Text, { style: leftText, children: "Pre\xE7o: " }) }),
|
|
654
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_components12.Column, { align: "right", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_components12.Text, { style: rightText, children: [
|
|
577
655
|
props.packagePrice,
|
|
578
656
|
" MZN"
|
|
579
657
|
] }) })
|
|
580
658
|
] }),
|
|
581
|
-
/* @__PURE__ */ (0,
|
|
582
|
-
/* @__PURE__ */ (0,
|
|
583
|
-
/* @__PURE__ */ (0,
|
|
659
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_components12.Row, { style: rowItem, children: [
|
|
660
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_components12.Column, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_components12.Text, { style: leftText, children: "Data: " }) }),
|
|
661
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_components12.Column, { align: "right", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_components12.Text, { style: rightText, children: props.orderCreatedAt }) })
|
|
584
662
|
] })
|
|
585
663
|
] });
|
|
586
664
|
}
|
|
@@ -602,35 +680,35 @@ var rowItem = {
|
|
|
602
680
|
};
|
|
603
681
|
|
|
604
682
|
// emails/brand/new-order-created-brand.tsx
|
|
605
|
-
var
|
|
606
|
-
var
|
|
683
|
+
var import_render6 = require("@react-email/render");
|
|
684
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
607
685
|
function NewOrderCreatedBrand(props) {
|
|
608
|
-
return /* @__PURE__ */ (0,
|
|
609
|
-
/* @__PURE__ */ (0,
|
|
610
|
-
/* @__PURE__ */ (0,
|
|
611
|
-
/* @__PURE__ */ (0,
|
|
612
|
-
/* @__PURE__ */ (0,
|
|
613
|
-
/* @__PURE__ */ (0,
|
|
614
|
-
/* @__PURE__ */ (0,
|
|
615
|
-
/* @__PURE__ */ (0,
|
|
686
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_components13.Html, { style: rootStyles, children: [
|
|
687
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(BaseHead, {}),
|
|
688
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_components13.Preview, { children: "Novo Pedido efectuado" }),
|
|
689
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_components13.Body, { style: { ...main, ...baseContainer }, children: [
|
|
690
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Header, {}),
|
|
691
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(UserInfo, { photo: props.creator.photo, name: props.creator.name, userType: "creator" /* CREATOR */, username: props.creator.username }),
|
|
692
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_components13.Container, { style: { ...baseContentContainer }, children: [
|
|
693
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_components13.Text, { style: baseText, children: [
|
|
616
694
|
"Ol\xE1, ",
|
|
617
695
|
props.brand.name,
|
|
618
696
|
","
|
|
619
697
|
] }),
|
|
620
|
-
/* @__PURE__ */ (0,
|
|
698
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_components13.Text, { style: baseText, children: [
|
|
621
699
|
"Parab\xE9ns \u{1F389}, efectuou com sucesso a cria\xE7\xE3o de uma ordem para o criador de conte\xFAdos",
|
|
622
700
|
" ",
|
|
623
|
-
/* @__PURE__ */ (0,
|
|
701
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_components13.Link, { href: appRoutes.creatorPublicProfile(props.creator.username), style: link, children: [
|
|
624
702
|
props.creator.name,
|
|
625
703
|
"."
|
|
626
704
|
] }),
|
|
627
|
-
/* @__PURE__ */ (0,
|
|
705
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("br", {}),
|
|
628
706
|
" Por favor, revise os detalhes abaixo \u{1F680}:"
|
|
629
707
|
] })
|
|
630
708
|
] }),
|
|
631
|
-
/* @__PURE__ */ (0,
|
|
632
|
-
/* @__PURE__ */ (0,
|
|
633
|
-
/* @__PURE__ */ (0,
|
|
709
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_components13.Container, { style: orderDetails, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(NewOrderInfo, { orderCreatedAt: props.order.createdAt, packageName: props.package.name, packagePrice: props.package.price }) }),
|
|
710
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_components13.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_components13.Link, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO" }) }),
|
|
711
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Footer, {})
|
|
634
712
|
] })
|
|
635
713
|
] });
|
|
636
714
|
}
|
|
@@ -658,48 +736,48 @@ var orderDetails = {
|
|
|
658
736
|
marginBottom: "40px"
|
|
659
737
|
};
|
|
660
738
|
var NewOrderCreatedBrandText = (props) => {
|
|
661
|
-
return (0,
|
|
739
|
+
return (0, import_render6.render)(NewOrderCreatedBrand(props), { plainText: true });
|
|
662
740
|
};
|
|
663
741
|
var NewOrderCreatedBrandHtml = (props) => {
|
|
664
|
-
return (0,
|
|
742
|
+
return (0, import_render6.render)(NewOrderCreatedBrand(props));
|
|
665
743
|
};
|
|
666
744
|
|
|
667
745
|
// emails/brand/order-accepted-brand.tsx
|
|
668
|
-
var
|
|
669
|
-
var
|
|
670
|
-
var
|
|
746
|
+
var import_components14 = require("@react-email/components");
|
|
747
|
+
var import_render7 = require("@react-email/render");
|
|
748
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
671
749
|
function OrderAcceptedBrand(props) {
|
|
672
|
-
return /* @__PURE__ */ (0,
|
|
673
|
-
/* @__PURE__ */ (0,
|
|
674
|
-
/* @__PURE__ */ (0,
|
|
675
|
-
/* @__PURE__ */ (0,
|
|
676
|
-
/* @__PURE__ */ (0,
|
|
677
|
-
/* @__PURE__ */ (0,
|
|
678
|
-
/* @__PURE__ */ (0,
|
|
679
|
-
/* @__PURE__ */ (0,
|
|
750
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_components14.Html, { style: rootStyles, children: [
|
|
751
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(BaseHead, {}),
|
|
752
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_components14.Preview, { children: "Pedido aceite \u2705" }),
|
|
753
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_components14.Body, { style: { ...main, ...baseContainer }, children: [
|
|
754
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Header, {}),
|
|
755
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(UserInfo, { photo: props.creator.photo, name: props.creator.name, userType: "creator" /* CREATOR */, username: props.creator.username }),
|
|
756
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_components14.Container, { style: { ...baseContentContainer }, children: [
|
|
757
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_components14.Text, { style: baseText, children: [
|
|
680
758
|
"Ol\xE1, ",
|
|
681
759
|
props.brand.name,
|
|
682
760
|
","
|
|
683
761
|
] }),
|
|
684
|
-
/* @__PURE__ */ (0,
|
|
762
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_components14.Text, { style: baseText, children: [
|
|
685
763
|
"O seu",
|
|
686
764
|
" ",
|
|
687
|
-
/* @__PURE__ */ (0,
|
|
765
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_components14.Link, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: "pedido" }),
|
|
688
766
|
" ",
|
|
689
767
|
"foi aceite \u2705 por",
|
|
690
768
|
" ",
|
|
691
|
-
/* @__PURE__ */ (0,
|
|
769
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_components14.Link, { href: appRoutes.creatorPublicProfile(props.creator.username), style: link, children: [
|
|
692
770
|
props.creator.name,
|
|
693
771
|
"."
|
|
694
772
|
] }),
|
|
695
|
-
/* @__PURE__ */ (0,
|
|
773
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("br", {}),
|
|
696
774
|
" Agora \xE9 s\xF3 aguardar que o trabalho seja executado.",
|
|
697
|
-
/* @__PURE__ */ (0,
|
|
775
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("br", {}),
|
|
698
776
|
" Assim que o trabalho for conclu\xEDdo, voc\xEA receber\xE1 um email com os detalhes \u{1F680}."
|
|
699
777
|
] })
|
|
700
778
|
] }),
|
|
701
|
-
/* @__PURE__ */ (0,
|
|
702
|
-
/* @__PURE__ */ (0,
|
|
779
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_components14.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_components14.Link, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO!" }) }),
|
|
780
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Footer, {})
|
|
703
781
|
] })
|
|
704
782
|
] });
|
|
705
783
|
}
|
|
@@ -717,71 +795,45 @@ OrderAcceptedBrand.PreviewProps = {
|
|
|
717
795
|
}
|
|
718
796
|
};
|
|
719
797
|
var OrderAcceptedBrandText = (props) => {
|
|
720
|
-
return (0,
|
|
798
|
+
return (0, import_render7.render)(OrderAcceptedBrand(props), { plainText: true });
|
|
721
799
|
};
|
|
722
800
|
var OrderAcceptedBrandHtml = (props) => {
|
|
723
|
-
return (0,
|
|
724
|
-
};
|
|
725
|
-
|
|
726
|
-
// emails/brand/order-cancelled-brand.tsx
|
|
727
|
-
var import_components14 = require("@react-email/components");
|
|
728
|
-
|
|
729
|
-
// emails/shared/components/comment-component.tsx
|
|
730
|
-
var import_components13 = require("@react-email/components");
|
|
731
|
-
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
732
|
-
function CommentComponent(props) {
|
|
733
|
-
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_components13.Container, { style: { ...container4(props.danger) }, children: [
|
|
734
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_components13.Heading, { style: title2, children: props.title }),
|
|
735
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_components13.Text, { style: content, children: props.comment })
|
|
736
|
-
] });
|
|
737
|
-
}
|
|
738
|
-
var container4 = (isDanger) => ({
|
|
739
|
-
...baseContentContainer,
|
|
740
|
-
backgroundColor: isDanger ? "rgba(250,0,0,0.26)" : "#f5f5f5",
|
|
741
|
-
borderRadius: "8px",
|
|
742
|
-
padding: "16px"
|
|
743
|
-
});
|
|
744
|
-
var title2 = {
|
|
745
|
-
...baseText,
|
|
746
|
-
fontWeight: "bold",
|
|
747
|
-
margin: "0"
|
|
748
|
-
};
|
|
749
|
-
var content = {
|
|
750
|
-
...baseText
|
|
801
|
+
return (0, import_render7.render)(OrderAcceptedBrand(props));
|
|
751
802
|
};
|
|
752
803
|
|
|
753
804
|
// emails/brand/order-cancelled-brand.tsx
|
|
754
|
-
var
|
|
755
|
-
var
|
|
805
|
+
var import_components15 = require("@react-email/components");
|
|
806
|
+
var import_render8 = require("@react-email/render");
|
|
807
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
756
808
|
function OrderCancelledBrand(props) {
|
|
757
|
-
return /* @__PURE__ */ (0,
|
|
758
|
-
/* @__PURE__ */ (0,
|
|
759
|
-
/* @__PURE__ */ (0,
|
|
760
|
-
/* @__PURE__ */ (0,
|
|
761
|
-
/* @__PURE__ */ (0,
|
|
762
|
-
/* @__PURE__ */ (0,
|
|
763
|
-
/* @__PURE__ */ (0,
|
|
764
|
-
/* @__PURE__ */ (0,
|
|
809
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_components15.Html, { style: rootStyles, children: [
|
|
810
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(BaseHead, {}),
|
|
811
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_components15.Preview, { children: "Pedido cancelado \u274C" }),
|
|
812
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_components15.Body, { style: { ...main, ...baseContainer }, children: [
|
|
813
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Header, {}),
|
|
814
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
|
|
815
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_components15.Container, { style: { ...baseContentContainer }, children: [
|
|
816
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_components15.Text, { style: baseText, children: [
|
|
765
817
|
"Ol\xE1, ",
|
|
766
818
|
props.brand.name,
|
|
767
819
|
","
|
|
768
820
|
] }),
|
|
769
|
-
/* @__PURE__ */ (0,
|
|
821
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_components15.Text, { style: baseText, children: [
|
|
770
822
|
"O",
|
|
771
823
|
" ",
|
|
772
|
-
/* @__PURE__ */ (0,
|
|
824
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_components15.Link, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: [
|
|
773
825
|
"pedido #",
|
|
774
826
|
props.order.id
|
|
775
827
|
] }),
|
|
776
828
|
" ",
|
|
777
829
|
"foi cancelado \u274C antes da sua conclus\xE3o.",
|
|
778
|
-
/* @__PURE__ */ (0,
|
|
830
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("br", {}),
|
|
779
831
|
"O seu pagamento ser\xE1 reembolsado dentro de 24h."
|
|
780
832
|
] })
|
|
781
833
|
] }),
|
|
782
|
-
props.reason && /* @__PURE__ */ (0,
|
|
783
|
-
/* @__PURE__ */ (0,
|
|
784
|
-
/* @__PURE__ */ (0,
|
|
834
|
+
props.reason && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { style: reasonContainer2, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(CommentComponent, { title: "Motivo do cancelamento:", comment: props.reason, danger: true }) }),
|
|
835
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_components15.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_components15.Link, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO!" }) }),
|
|
836
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Footer, {})
|
|
785
837
|
] })
|
|
786
838
|
] });
|
|
787
839
|
}
|
|
@@ -794,53 +846,53 @@ OrderCancelledBrand.PreviewProps = {
|
|
|
794
846
|
},
|
|
795
847
|
reason: "O influencer n\xE3o aceitou o pedido."
|
|
796
848
|
};
|
|
797
|
-
var
|
|
849
|
+
var reasonContainer2 = {
|
|
798
850
|
width: "100%",
|
|
799
851
|
padding: "0",
|
|
800
852
|
margin: "30px 0"
|
|
801
853
|
};
|
|
802
854
|
var OrderCancelledBrandText = (props) => {
|
|
803
|
-
return (0,
|
|
855
|
+
return (0, import_render8.render)(OrderCancelledBrand(props), { plainText: true });
|
|
804
856
|
};
|
|
805
857
|
var OrderCancelledBrandHtml = (props) => {
|
|
806
|
-
return (0,
|
|
858
|
+
return (0, import_render8.render)(OrderCancelledBrand(props));
|
|
807
859
|
};
|
|
808
860
|
|
|
809
861
|
// emails/brand/order-rejected-brand.tsx
|
|
810
|
-
var
|
|
811
|
-
var
|
|
812
|
-
var
|
|
862
|
+
var import_components16 = require("@react-email/components");
|
|
863
|
+
var import_render9 = require("@react-email/render");
|
|
864
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
813
865
|
function OrderRejectedBrand(props) {
|
|
814
|
-
return /* @__PURE__ */ (0,
|
|
815
|
-
/* @__PURE__ */ (0,
|
|
816
|
-
/* @__PURE__ */ (0,
|
|
817
|
-
/* @__PURE__ */ (0,
|
|
818
|
-
/* @__PURE__ */ (0,
|
|
819
|
-
/* @__PURE__ */ (0,
|
|
820
|
-
/* @__PURE__ */ (0,
|
|
821
|
-
/* @__PURE__ */ (0,
|
|
866
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_components16.Html, { style: rootStyles, children: [
|
|
867
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(BaseHead, {}),
|
|
868
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_components16.Preview, { children: "Pedido Rejeitado \u274C" }),
|
|
869
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_components16.Body, { style: { ...main, ...baseContainer }, children: [
|
|
870
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Header, {}),
|
|
871
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(UserInfo, { photo: props.creator.photo, name: props.creator.name, userType: "creator" /* CREATOR */, username: props.creator.username }),
|
|
872
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_components16.Container, { style: { ...baseContentContainer }, children: [
|
|
873
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_components16.Text, { style: baseText, children: [
|
|
822
874
|
"Ol\xE1, ",
|
|
823
875
|
props.brand.name,
|
|
824
876
|
","
|
|
825
877
|
] }),
|
|
826
|
-
/* @__PURE__ */ (0,
|
|
878
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_components16.Text, { style: baseText, children: [
|
|
827
879
|
"O seu",
|
|
828
880
|
" ",
|
|
829
|
-
/* @__PURE__ */ (0,
|
|
881
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_components16.Link, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: "pedido" }),
|
|
830
882
|
" ",
|
|
831
883
|
"foi rejeitado \u274C pelo criador de conte\xFAdo",
|
|
832
884
|
" ",
|
|
833
|
-
/* @__PURE__ */ (0,
|
|
885
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_components16.Link, { href: appRoutes.creatorPublicProfile(props.creator.username), style: link, children: [
|
|
834
886
|
props.creator.name,
|
|
835
887
|
"."
|
|
836
888
|
] }),
|
|
837
|
-
/* @__PURE__ */ (0,
|
|
889
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("br", {}),
|
|
838
890
|
"O seu pagamento ser\xE1 reembolsado dentro de 72 horas \xFAteis."
|
|
839
891
|
] })
|
|
840
892
|
] }),
|
|
841
|
-
props.reason && /* @__PURE__ */ (0,
|
|
842
|
-
/* @__PURE__ */ (0,
|
|
843
|
-
/* @__PURE__ */ (0,
|
|
893
|
+
props.reason && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { style: reasonContainer3, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(CommentComponent, { title: "Motivo da Rejei\xE7\xE3o", comment: props.reason }) }),
|
|
894
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_components16.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_components16.Link, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO" }) }),
|
|
895
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Footer, {})
|
|
844
896
|
] })
|
|
845
897
|
] });
|
|
846
898
|
}
|
|
@@ -861,47 +913,47 @@ OrderRejectedBrand.PreviewProps = {
|
|
|
861
913
|
},
|
|
862
914
|
reason: "N\xE3o me identifiquei com a marca e o produto."
|
|
863
915
|
};
|
|
864
|
-
var
|
|
916
|
+
var reasonContainer3 = {
|
|
865
917
|
width: "100%",
|
|
866
918
|
padding: "0",
|
|
867
919
|
margin: "30px 0"
|
|
868
920
|
};
|
|
869
921
|
var OrderRejectedBrandText = (props) => {
|
|
870
|
-
return (0,
|
|
922
|
+
return (0, import_render9.render)(OrderRejectedBrand(props), { plainText: true });
|
|
871
923
|
};
|
|
872
924
|
var OrderRejectedBrandHtml = (props) => {
|
|
873
|
-
return (0,
|
|
925
|
+
return (0, import_render9.render)(OrderRejectedBrand(props));
|
|
874
926
|
};
|
|
875
927
|
|
|
876
928
|
// emails/brand/new-job-created-brand.tsx
|
|
877
|
-
var
|
|
878
|
-
var
|
|
879
|
-
var
|
|
929
|
+
var import_components17 = require("@react-email/components");
|
|
930
|
+
var import_render10 = require("@react-email/render");
|
|
931
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
880
932
|
function NewJobCreatedBrand(props) {
|
|
881
|
-
return /* @__PURE__ */ (0,
|
|
882
|
-
/* @__PURE__ */ (0,
|
|
883
|
-
/* @__PURE__ */ (0,
|
|
884
|
-
/* @__PURE__ */ (0,
|
|
885
|
-
/* @__PURE__ */ (0,
|
|
886
|
-
/* @__PURE__ */ (0,
|
|
887
|
-
/* @__PURE__ */ (0,
|
|
933
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Html, { style: rootStyles, children: [
|
|
934
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(BaseHead, {}),
|
|
935
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_components17.Preview, { children: "Novo Job Publicado" }),
|
|
936
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Body, { style: { ...main, ...baseContainer }, children: [
|
|
937
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Header, {}),
|
|
938
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Container, { style: { ...baseContentContainer }, children: [
|
|
939
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Text, { style: baseText, children: [
|
|
888
940
|
"Ol\xE1, ",
|
|
889
941
|
props.brand.name,
|
|
890
942
|
","
|
|
891
943
|
] }),
|
|
892
|
-
/* @__PURE__ */ (0,
|
|
944
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Text, { style: baseText, children: [
|
|
893
945
|
"Parab\xE9ns \u{1F389}, publicou com sucesso o novo job para a campanha ",
|
|
894
|
-
/* @__PURE__ */ (0,
|
|
946
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("span", { style: link, children: [
|
|
895
947
|
props.campaign.name,
|
|
896
948
|
"."
|
|
897
949
|
] }),
|
|
898
|
-
/* @__PURE__ */ (0,
|
|
950
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("br", {}),
|
|
899
951
|
" Por favor, revise os detalhes abaixo \u{1F680}:"
|
|
900
952
|
] })
|
|
901
953
|
] }),
|
|
902
|
-
/* @__PURE__ */ (0,
|
|
903
|
-
/* @__PURE__ */ (0,
|
|
904
|
-
/* @__PURE__ */ (0,
|
|
954
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_components17.Container, { style: jobDetails, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(NewOrderInfo, { orderCreatedAt: props.job.createdAt, packageName: props.campaign.name, packagePrice: props.job.jobCommission }) }),
|
|
955
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_components17.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_components17.Link, { href: appRoutes.brandJobDetails(props.job.id), style: { ...button, width: "120px" }, children: "VER JOB" }) }),
|
|
956
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Footer, {})
|
|
905
957
|
] })
|
|
906
958
|
] });
|
|
907
959
|
}
|
|
@@ -925,39 +977,39 @@ var jobDetails = {
|
|
|
925
977
|
marginBottom: "40px"
|
|
926
978
|
};
|
|
927
979
|
var NewJobCreatedBrandText = (props) => {
|
|
928
|
-
return (0,
|
|
980
|
+
return (0, import_render10.render)(NewJobCreatedBrand(props), { plainText: true });
|
|
929
981
|
};
|
|
930
982
|
var NewJobCreatedBrandHtml = (props) => {
|
|
931
|
-
return (0,
|
|
983
|
+
return (0, import_render10.render)(NewJobCreatedBrand(props));
|
|
932
984
|
};
|
|
933
985
|
|
|
934
986
|
// emails/brand/new-job-application-received-brand.tsx
|
|
935
|
-
var
|
|
936
|
-
var
|
|
937
|
-
var
|
|
987
|
+
var import_components18 = require("@react-email/components");
|
|
988
|
+
var import_render11 = require("@react-email/render");
|
|
989
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
938
990
|
function NewJobApplicationsReceivedBrand(props) {
|
|
939
|
-
return /* @__PURE__ */ (0,
|
|
940
|
-
/* @__PURE__ */ (0,
|
|
941
|
-
/* @__PURE__ */ (0,
|
|
942
|
-
/* @__PURE__ */ (0,
|
|
943
|
-
/* @__PURE__ */ (0,
|
|
944
|
-
/* @__PURE__ */ (0,
|
|
945
|
-
/* @__PURE__ */ (0,
|
|
991
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Html, { style: rootStyles, children: [
|
|
992
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(BaseHead, {}),
|
|
993
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_components18.Preview, { children: "Nova Candidatura Recebida para o Job" }),
|
|
994
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Body, { style: { ...main, ...baseContainer }, children: [
|
|
995
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Header, {}),
|
|
996
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Container, { style: { ...baseContentContainer }, children: [
|
|
997
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Text, { style: baseText, children: [
|
|
946
998
|
"Ol\xE1, ",
|
|
947
999
|
props.brand.name,
|
|
948
1000
|
","
|
|
949
1001
|
] }),
|
|
950
|
-
/* @__PURE__ */ (0,
|
|
1002
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Text, { style: baseText, children: [
|
|
951
1003
|
"Voc\xEA recebeu uma nova candidatura para o job da campanha ",
|
|
952
|
-
/* @__PURE__ */ (0,
|
|
1004
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("span", { style: link, children: [
|
|
953
1005
|
props.campaign.name,
|
|
954
1006
|
"."
|
|
955
1007
|
] }),
|
|
956
|
-
/* @__PURE__ */ (0,
|
|
1008
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("br", {}),
|
|
957
1009
|
" Revise os detalhes da candidatura abaixo \u{1F680}:"
|
|
958
1010
|
] })
|
|
959
1011
|
] }),
|
|
960
|
-
/* @__PURE__ */ (0,
|
|
1012
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
961
1013
|
UserInfo,
|
|
962
1014
|
{
|
|
963
1015
|
photo: props.creatorCandidate.photo,
|
|
@@ -966,20 +1018,20 @@ function NewJobApplicationsReceivedBrand(props) {
|
|
|
966
1018
|
username: props.creatorCandidate.username
|
|
967
1019
|
}
|
|
968
1020
|
),
|
|
969
|
-
/* @__PURE__ */ (0,
|
|
970
|
-
/* @__PURE__ */ (0,
|
|
971
|
-
/* @__PURE__ */ (0,
|
|
1021
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Container, { style: jobDetails2, children: [
|
|
1022
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Text, { style: baseText, children: [
|
|
1023
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("strong", { children: "Or\xE7amento desejado:" }),
|
|
972
1024
|
" ",
|
|
973
1025
|
props.jobApplication.desired_budget ? `MZN ${props.jobApplication.desired_budget}` : "N\xE3o informado"
|
|
974
1026
|
] }),
|
|
975
|
-
/* @__PURE__ */ (0,
|
|
976
|
-
/* @__PURE__ */ (0,
|
|
1027
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Text, { style: baseText, children: [
|
|
1028
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("strong", { children: "Observa\xE7\xF5es:" }),
|
|
977
1029
|
" ",
|
|
978
1030
|
props.jobApplication.observations || "Nenhuma observa\xE7\xE3o"
|
|
979
1031
|
] })
|
|
980
1032
|
] }),
|
|
981
|
-
/* @__PURE__ */ (0,
|
|
982
|
-
/* @__PURE__ */ (0,
|
|
1033
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_components18.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_components18.Link, { href: appRoutes.brandJobDetails(props.job.id), style: { ...button }, children: "VER CANDIDATURA" }) }),
|
|
1034
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Footer, {})
|
|
983
1035
|
] })
|
|
984
1036
|
] });
|
|
985
1037
|
}
|
|
@@ -1012,40 +1064,40 @@ var jobDetails2 = {
|
|
|
1012
1064
|
marginBottom: "40px"
|
|
1013
1065
|
};
|
|
1014
1066
|
var NewJobApplicationsReceivedBrandText = (props) => {
|
|
1015
|
-
return (0,
|
|
1067
|
+
return (0, import_render11.render)(NewJobApplicationsReceivedBrand(props), { plainText: true });
|
|
1016
1068
|
};
|
|
1017
1069
|
var NewJobApplicationsReceivedBrandHtml = (props) => {
|
|
1018
|
-
return (0,
|
|
1070
|
+
return (0, import_render11.render)(NewJobApplicationsReceivedBrand(props));
|
|
1019
1071
|
};
|
|
1020
1072
|
|
|
1021
1073
|
// emails/creator/evidences-approved-creator.tsx
|
|
1022
|
-
var
|
|
1023
|
-
var
|
|
1024
|
-
var
|
|
1074
|
+
var import_components19 = require("@react-email/components");
|
|
1075
|
+
var import_render12 = require("@react-email/render");
|
|
1076
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
1025
1077
|
function EvidenceApprovedCreator(props) {
|
|
1026
|
-
return /* @__PURE__ */ (0,
|
|
1027
|
-
/* @__PURE__ */ (0,
|
|
1028
|
-
/* @__PURE__ */ (0,
|
|
1029
|
-
/* @__PURE__ */ (0,
|
|
1030
|
-
/* @__PURE__ */ (0,
|
|
1031
|
-
/* @__PURE__ */ (0,
|
|
1032
|
-
/* @__PURE__ */ (0,
|
|
1033
|
-
/* @__PURE__ */ (0,
|
|
1078
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_components19.Html, { style: rootStyles, children: [
|
|
1079
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(BaseHead, {}),
|
|
1080
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_components19.Preview, { children: "Material de Entrega aprovado \u2705" }),
|
|
1081
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_components19.Body, { style: { ...main, ...baseContainer }, children: [
|
|
1082
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Header, {}),
|
|
1083
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
|
|
1084
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_components19.Container, { style: { ...baseContentContainer }, children: [
|
|
1085
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_components19.Text, { style: baseText, children: [
|
|
1034
1086
|
"Ol\xE1, ",
|
|
1035
1087
|
props.creator.name,
|
|
1036
1088
|
" \u{1F38A},"
|
|
1037
1089
|
] }),
|
|
1038
|
-
/* @__PURE__ */ (0,
|
|
1090
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_components19.Text, { style: baseText, children: [
|
|
1039
1091
|
"Actualiza\xE7\xF5es, o",
|
|
1040
1092
|
" ",
|
|
1041
|
-
/* @__PURE__ */ (0,
|
|
1093
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_components19.Link, { href: appRoutes.creatorOrderDetails(props.evidenceLink), target: "_blank", style: link, children: "material de entrega" }),
|
|
1042
1094
|
" ",
|
|
1043
1095
|
"que submeteste foi aprovado pela marca \u{1F389}."
|
|
1044
1096
|
] }),
|
|
1045
|
-
/* @__PURE__ */ (0,
|
|
1097
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_components19.Text, { style: baseText, children: "Aguarde pela aprova\xE7\xE3o total por parte da marca para receberes o pagamento. Se tiveres alguma d\xFAvida, n\xE3o hesites em contactar" })
|
|
1046
1098
|
] }),
|
|
1047
|
-
/* @__PURE__ */ (0,
|
|
1048
|
-
/* @__PURE__ */ (0,
|
|
1099
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_components19.Container, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_components19.Link, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
|
|
1100
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Footer, {})
|
|
1049
1101
|
] })
|
|
1050
1102
|
] });
|
|
1051
1103
|
}
|
|
@@ -1063,42 +1115,42 @@ EvidenceApprovedCreator.PreviewProps = {
|
|
|
1063
1115
|
evidenceLink: "https://www.youtube.com/test_video"
|
|
1064
1116
|
};
|
|
1065
1117
|
var EvidenceApprovedCreatorText = (props) => {
|
|
1066
|
-
return (0,
|
|
1118
|
+
return (0, import_render12.render)(EvidenceApprovedCreator(props), { plainText: true });
|
|
1067
1119
|
};
|
|
1068
1120
|
var EvidenceApprovedCreatorHtml = (props) => {
|
|
1069
|
-
return (0,
|
|
1121
|
+
return (0, import_render12.render)(EvidenceApprovedCreator(props));
|
|
1070
1122
|
};
|
|
1071
1123
|
|
|
1072
1124
|
// emails/creator/evidences-rejected-creator.tsx
|
|
1073
|
-
var
|
|
1074
|
-
var
|
|
1075
|
-
var
|
|
1125
|
+
var import_components20 = require("@react-email/components");
|
|
1126
|
+
var import_render13 = require("@react-email/render");
|
|
1127
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
1076
1128
|
function EvidencesRejectedCreator(props) {
|
|
1077
|
-
return /* @__PURE__ */ (0,
|
|
1078
|
-
/* @__PURE__ */ (0,
|
|
1079
|
-
/* @__PURE__ */ (0,
|
|
1080
|
-
/* @__PURE__ */ (0,
|
|
1081
|
-
/* @__PURE__ */ (0,
|
|
1082
|
-
/* @__PURE__ */ (0,
|
|
1083
|
-
/* @__PURE__ */ (0,
|
|
1084
|
-
/* @__PURE__ */ (0,
|
|
1129
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_components20.Html, { style: rootStyles, children: [
|
|
1130
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(BaseHead, {}),
|
|
1131
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_components20.Preview, { children: "Evi\xEAncia rejeitada \u274C" }),
|
|
1132
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_components20.Body, { style: { ...main, ...baseContainer }, children: [
|
|
1133
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Header, {}),
|
|
1134
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
|
|
1135
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_components20.Container, { style: { ...baseContentContainer }, children: [
|
|
1136
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_components20.Text, { style: baseText, children: [
|
|
1085
1137
|
"Ol\xE1, ",
|
|
1086
1138
|
props.creator.name,
|
|
1087
1139
|
","
|
|
1088
1140
|
] }),
|
|
1089
|
-
/* @__PURE__ */ (0,
|
|
1141
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_components20.Text, { style: baseText, children: [
|
|
1090
1142
|
"O",
|
|
1091
1143
|
" ",
|
|
1092
|
-
/* @__PURE__ */ (0,
|
|
1144
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_components20.Link, { href: props.evidenceLink, target: "_blank", style: link, children: "material de entrega" }),
|
|
1093
1145
|
" ",
|
|
1094
1146
|
"foi rejeitada \u274C pela marca.",
|
|
1095
|
-
/* @__PURE__ */ (0,
|
|
1147
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("br", {}),
|
|
1096
1148
|
"Por favor, reveja o motivo da rejei\xE7\xE3o e submeta novamente."
|
|
1097
1149
|
] })
|
|
1098
1150
|
] }),
|
|
1099
|
-
props.reason && /* @__PURE__ */ (0,
|
|
1100
|
-
/* @__PURE__ */ (0,
|
|
1101
|
-
/* @__PURE__ */ (0,
|
|
1151
|
+
props.reason && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { style: reasonContainer4, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(CommentComponent, { title: "Motivo da rejei\xE7\xE3o:", comment: props.reason, danger: true }) }),
|
|
1152
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_components20.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_components20.Link, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "200px" }, children: "VER PEDIDO" }) }),
|
|
1153
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Footer, {})
|
|
1102
1154
|
] })
|
|
1103
1155
|
] });
|
|
1104
1156
|
}
|
|
@@ -1116,51 +1168,51 @@ EvidencesRejectedCreator.PreviewProps = {
|
|
|
1116
1168
|
evidenceLink: "https://www.youtube.com/watch?v=123",
|
|
1117
1169
|
reason: "Conte\xFAdo n\xE3o cumpre com as diretrizes da marca."
|
|
1118
1170
|
};
|
|
1119
|
-
var
|
|
1171
|
+
var reasonContainer4 = {
|
|
1120
1172
|
width: "100%",
|
|
1121
1173
|
padding: "0",
|
|
1122
1174
|
margin: "30px 0"
|
|
1123
1175
|
};
|
|
1124
1176
|
var EvidencesRejectedCreatorText = (props) => {
|
|
1125
|
-
return (0,
|
|
1177
|
+
return (0, import_render13.render)(EvidencesRejectedCreator(props), { plainText: true });
|
|
1126
1178
|
};
|
|
1127
1179
|
var EvidencesRejectedCreatorHtml = (props) => {
|
|
1128
|
-
return (0,
|
|
1180
|
+
return (0, import_render13.render)(EvidencesRejectedCreator(props));
|
|
1129
1181
|
};
|
|
1130
1182
|
|
|
1131
1183
|
// emails/creator/order-cancelled-creator.tsx
|
|
1132
|
-
var
|
|
1133
|
-
var
|
|
1134
|
-
var
|
|
1184
|
+
var import_components21 = require("@react-email/components");
|
|
1185
|
+
var import_render14 = require("@react-email/render");
|
|
1186
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
1135
1187
|
function OrderCancelledCreator(props) {
|
|
1136
|
-
return /* @__PURE__ */ (0,
|
|
1137
|
-
/* @__PURE__ */ (0,
|
|
1138
|
-
/* @__PURE__ */ (0,
|
|
1139
|
-
/* @__PURE__ */ (0,
|
|
1140
|
-
/* @__PURE__ */ (0,
|
|
1141
|
-
/* @__PURE__ */ (0,
|
|
1142
|
-
/* @__PURE__ */ (0,
|
|
1143
|
-
/* @__PURE__ */ (0,
|
|
1188
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Html, { style: rootStyles, children: [
|
|
1189
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(BaseHead, {}),
|
|
1190
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_components21.Preview, { children: "Pedido cancelado \u274C" }),
|
|
1191
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Body, { style: { ...main, ...baseContainer }, children: [
|
|
1192
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Header, {}),
|
|
1193
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
|
|
1194
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Container, { style: { ...baseContentContainer }, children: [
|
|
1195
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Text, { style: baseText, children: [
|
|
1144
1196
|
"Ol\xE1, ",
|
|
1145
1197
|
props.creator.name,
|
|
1146
1198
|
","
|
|
1147
1199
|
] }),
|
|
1148
|
-
/* @__PURE__ */ (0,
|
|
1200
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Text, { style: baseText, children: [
|
|
1149
1201
|
"Infelizmente o",
|
|
1150
1202
|
" ",
|
|
1151
|
-
/* @__PURE__ */ (0,
|
|
1203
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Link, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
|
|
1152
1204
|
"pedido #",
|
|
1153
1205
|
props.order.id
|
|
1154
1206
|
] }),
|
|
1155
1207
|
" ",
|
|
1156
1208
|
"foi cancelado \u274C antes da sua conclus\xE3o.",
|
|
1157
|
-
/* @__PURE__ */ (0,
|
|
1209
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("br", {}),
|
|
1158
1210
|
"Agradecemos a sua disponibilidade e esperamos que a pr\xF3xima oportunidade seja um sucesso \u{1F44C}\u{1F3FD}\u{1F44C}\u{1F3FD}!"
|
|
1159
1211
|
] })
|
|
1160
1212
|
] }),
|
|
1161
|
-
props.reason && /* @__PURE__ */ (0,
|
|
1162
|
-
/* @__PURE__ */ (0,
|
|
1163
|
-
/* @__PURE__ */ (0,
|
|
1213
|
+
props.reason && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { style: reasonContainer5, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(CommentComponent, { title: "Motivo do cancelamento:", comment: props.reason, danger: true }) }),
|
|
1214
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_components21.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_components21.Link, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
|
|
1215
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Footer, {})
|
|
1164
1216
|
] })
|
|
1165
1217
|
] });
|
|
1166
1218
|
}
|
|
@@ -1173,49 +1225,49 @@ OrderCancelledCreator.PreviewProps = {
|
|
|
1173
1225
|
},
|
|
1174
1226
|
reason: "A marca desistiu do pedido."
|
|
1175
1227
|
};
|
|
1176
|
-
var
|
|
1228
|
+
var reasonContainer5 = {
|
|
1177
1229
|
width: "100%",
|
|
1178
1230
|
padding: "0",
|
|
1179
1231
|
margin: "30px 0"
|
|
1180
1232
|
};
|
|
1181
1233
|
var OrderCancelledCreatorText = (props) => {
|
|
1182
|
-
return (0,
|
|
1234
|
+
return (0, import_render14.render)(OrderCancelledCreator(props), { plainText: true });
|
|
1183
1235
|
};
|
|
1184
1236
|
var OrderCancelledCreatorHtml = (props) => {
|
|
1185
|
-
return (0,
|
|
1237
|
+
return (0, import_render14.render)(OrderCancelledCreator(props));
|
|
1186
1238
|
};
|
|
1187
1239
|
|
|
1188
1240
|
// emails/creator/order-payment-creator.tsx
|
|
1189
|
-
var
|
|
1190
|
-
var
|
|
1191
|
-
var
|
|
1241
|
+
var import_components22 = require("@react-email/components");
|
|
1242
|
+
var import_render15 = require("@react-email/render");
|
|
1243
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
1192
1244
|
function OrderPaymentCreator(props) {
|
|
1193
|
-
return /* @__PURE__ */ (0,
|
|
1194
|
-
/* @__PURE__ */ (0,
|
|
1195
|
-
/* @__PURE__ */ (0,
|
|
1196
|
-
/* @__PURE__ */ (0,
|
|
1197
|
-
/* @__PURE__ */ (0,
|
|
1198
|
-
/* @__PURE__ */ (0,
|
|
1199
|
-
/* @__PURE__ */ (0,
|
|
1200
|
-
/* @__PURE__ */ (0,
|
|
1245
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_components22.Html, { style: rootStyles, children: [
|
|
1246
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(BaseHead, {}),
|
|
1247
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_components22.Preview, { children: "Pagamento Liberado \u2705" }),
|
|
1248
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_components22.Body, { style: { ...main, ...baseContainer }, children: [
|
|
1249
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Header, {}),
|
|
1250
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
|
|
1251
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_components22.Container, { style: { ...baseContentContainer }, children: [
|
|
1252
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_components22.Text, { style: baseText, children: [
|
|
1201
1253
|
"Ol\xE1, ",
|
|
1202
1254
|
props.creator.name,
|
|
1203
1255
|
" \u{1F38A},"
|
|
1204
1256
|
] }),
|
|
1205
|
-
/* @__PURE__ */ (0,
|
|
1257
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_components22.Text, { style: baseText, children: [
|
|
1206
1258
|
"Boas Not\xEDcias \u{1F389}, est\xE1 em processamento o pagamento da",
|
|
1207
1259
|
" ",
|
|
1208
|
-
/* @__PURE__ */ (0,
|
|
1260
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_components22.Link, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
|
|
1209
1261
|
"ordem #",
|
|
1210
1262
|
props.order.id
|
|
1211
1263
|
] }),
|
|
1212
1264
|
" "
|
|
1213
1265
|
] }),
|
|
1214
|
-
/* @__PURE__ */ (0,
|
|
1266
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_components22.Text, { style: baseText, children: "Espera-se que dentro de 24h o pagamento seja conclu\xEDdo, agradecemos por confiar na Promote." })
|
|
1215
1267
|
] }),
|
|
1216
|
-
/* @__PURE__ */ (0,
|
|
1217
|
-
/* @__PURE__ */ (0,
|
|
1218
|
-
/* @__PURE__ */ (0,
|
|
1268
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(PaymentAmount, { totalAmount: props.totalAmount }),
|
|
1269
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_components22.Container, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_components22.Link, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
|
|
1270
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Footer, {})
|
|
1219
1271
|
] })
|
|
1220
1272
|
] });
|
|
1221
1273
|
}
|
|
@@ -1229,40 +1281,40 @@ OrderPaymentCreator.PreviewProps = {
|
|
|
1229
1281
|
totalAmount: "1000,00"
|
|
1230
1282
|
};
|
|
1231
1283
|
var OrderPaymentCreatorText = (props) => {
|
|
1232
|
-
return (0,
|
|
1284
|
+
return (0, import_render15.render)(OrderPaymentCreator(props), { plainText: true });
|
|
1233
1285
|
};
|
|
1234
1286
|
var OrderPaymentCreatorHtml = (props) => {
|
|
1235
|
-
return (0,
|
|
1287
|
+
return (0, import_render15.render)(OrderPaymentCreator(props));
|
|
1236
1288
|
};
|
|
1237
1289
|
|
|
1238
1290
|
// emails/creator/new-order-created-creator.tsx
|
|
1239
|
-
var
|
|
1240
|
-
var
|
|
1241
|
-
var
|
|
1291
|
+
var import_components23 = require("@react-email/components");
|
|
1292
|
+
var import_render16 = require("@react-email/render");
|
|
1293
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
1242
1294
|
function NewOrderCreatedCreator(props) {
|
|
1243
|
-
return /* @__PURE__ */ (0,
|
|
1244
|
-
/* @__PURE__ */ (0,
|
|
1245
|
-
/* @__PURE__ */ (0,
|
|
1246
|
-
/* @__PURE__ */ (0,
|
|
1247
|
-
/* @__PURE__ */ (0,
|
|
1248
|
-
/* @__PURE__ */ (0,
|
|
1249
|
-
/* @__PURE__ */ (0,
|
|
1250
|
-
/* @__PURE__ */ (0,
|
|
1295
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_components23.Html, { style: rootStyles, children: [
|
|
1296
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(BaseHead, {}),
|
|
1297
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_components23.Preview, { children: "Novo Pedido Recebido" }),
|
|
1298
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_components23.Body, { style: { ...main, ...baseContainer }, children: [
|
|
1299
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Header, {}),
|
|
1300
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
|
|
1301
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_components23.Container, { style: { ...baseContentContainer }, children: [
|
|
1302
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_components23.Text, { style: baseText, children: [
|
|
1251
1303
|
"Ol\xE1, ",
|
|
1252
1304
|
props.creator.name,
|
|
1253
1305
|
","
|
|
1254
1306
|
] }),
|
|
1255
|
-
/* @__PURE__ */ (0,
|
|
1307
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_components23.Text, { style: baseText, children: [
|
|
1256
1308
|
"Parab\xE9ns \u{1F389}, voc\xEA recebeu um novo pedido da empresa ",
|
|
1257
|
-
/* @__PURE__ */ (0,
|
|
1309
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { style: { color: colors.primary }, children: props.brand.name }),
|
|
1258
1310
|
".",
|
|
1259
|
-
/* @__PURE__ */ (0,
|
|
1311
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("br", {}),
|
|
1260
1312
|
" Por favor, revise os detalhes abaixo \u{1F680}:"
|
|
1261
1313
|
] })
|
|
1262
1314
|
] }),
|
|
1263
|
-
/* @__PURE__ */ (0,
|
|
1264
|
-
/* @__PURE__ */ (0,
|
|
1265
|
-
/* @__PURE__ */ (0,
|
|
1315
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_components23.Container, { style: orderDetails2, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(NewOrderInfo, { orderCreatedAt: props.order.createdAt, packageName: props.package.name, packagePrice: props.package.price }) }),
|
|
1316
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_components23.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_components23.Link, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO" }) }),
|
|
1317
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Footer, {})
|
|
1266
1318
|
] })
|
|
1267
1319
|
] });
|
|
1268
1320
|
}
|
|
@@ -1289,44 +1341,44 @@ var orderDetails2 = {
|
|
|
1289
1341
|
marginBottom: "40px"
|
|
1290
1342
|
};
|
|
1291
1343
|
var NewOrderCreatedCreatorText = (props) => {
|
|
1292
|
-
return (0,
|
|
1344
|
+
return (0, import_render16.render)(NewOrderCreatedCreator(props), { plainText: true });
|
|
1293
1345
|
};
|
|
1294
1346
|
var NewOrderCreatedCreatorHtml = (props) => {
|
|
1295
|
-
return (0,
|
|
1347
|
+
return (0, import_render16.render)(NewOrderCreatedCreator(props));
|
|
1296
1348
|
};
|
|
1297
1349
|
|
|
1298
1350
|
// emails/creator/new-job-application-unapproved-creator.tsx
|
|
1299
|
-
var
|
|
1300
|
-
var
|
|
1301
|
-
var
|
|
1351
|
+
var import_components24 = require("@react-email/components");
|
|
1352
|
+
var import_render17 = require("@react-email/render");
|
|
1353
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
1302
1354
|
function NewJobApplicationUnapprovedCreator(props) {
|
|
1303
|
-
return /* @__PURE__ */ (0,
|
|
1304
|
-
/* @__PURE__ */ (0,
|
|
1305
|
-
/* @__PURE__ */ (0,
|
|
1306
|
-
/* @__PURE__ */ (0,
|
|
1307
|
-
/* @__PURE__ */ (0,
|
|
1308
|
-
/* @__PURE__ */ (0,
|
|
1309
|
-
/* @__PURE__ */ (0,
|
|
1355
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_components24.Html, { style: rootStyles, children: [
|
|
1356
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(BaseHead, {}),
|
|
1357
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_components24.Preview, { children: "Actualiza\xE7\xE3o sobre sua candidatura ao job" }),
|
|
1358
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_components24.Body, { style: { ...main, ...baseContainer }, children: [
|
|
1359
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Header, {}),
|
|
1360
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_components24.Container, { style: { ...baseContentContainer }, children: [
|
|
1361
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_components24.Text, { style: baseText2, children: [
|
|
1310
1362
|
"Ol\xE1, ",
|
|
1311
1363
|
props.creator.name,
|
|
1312
1364
|
","
|
|
1313
1365
|
] }),
|
|
1314
|
-
/* @__PURE__ */ (0,
|
|
1366
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_components24.Text, { style: baseText2, children: [
|
|
1315
1367
|
"Infelizmente, sua candidatura para o job da campanha ",
|
|
1316
|
-
/* @__PURE__ */ (0,
|
|
1368
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { style: link, children: props.campaign.name }),
|
|
1317
1369
|
" n\xE3o foi aprovada.",
|
|
1318
|
-
/* @__PURE__ */ (0,
|
|
1370
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("br", {}),
|
|
1319
1371
|
"Agradecemos por seu interesse e participa\xE7\xE3o!"
|
|
1320
1372
|
] }),
|
|
1321
|
-
props.jobApplication.rejectionReason && /* @__PURE__ */ (0,
|
|
1322
|
-
/* @__PURE__ */ (0,
|
|
1373
|
+
props.jobApplication.rejectionReason && /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_components24.Text, { style: baseText2, children: [
|
|
1374
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("strong", { children: "Motivo:" }),
|
|
1323
1375
|
" ",
|
|
1324
1376
|
props.jobApplication.rejectionReason
|
|
1325
1377
|
] }),
|
|
1326
|
-
/* @__PURE__ */ (0,
|
|
1378
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_components24.Text, { style: baseText2, children: "N\xE3o desanime! Continue acompanhando outras oportunidades que possam surgir na plataforma. \u{1F680}" })
|
|
1327
1379
|
] }),
|
|
1328
|
-
/* @__PURE__ */ (0,
|
|
1329
|
-
/* @__PURE__ */ (0,
|
|
1380
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_components24.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_components24.Link, { href: appRoutes.jobsList, style: { ...button }, children: "VER OUTRAS OPORTUNIDADES" }) }),
|
|
1381
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Footer, {})
|
|
1330
1382
|
] })
|
|
1331
1383
|
] });
|
|
1332
1384
|
}
|
|
@@ -1350,16 +1402,16 @@ var baseText2 = {
|
|
|
1350
1402
|
color: "#333"
|
|
1351
1403
|
};
|
|
1352
1404
|
var NewJobApplicationUnapprovedCreatorText = (props) => {
|
|
1353
|
-
return (0,
|
|
1405
|
+
return (0, import_render17.render)(NewJobApplicationUnapprovedCreator(props), { plainText: true });
|
|
1354
1406
|
};
|
|
1355
1407
|
var NewJobApplicationUnapprovedCreatorHtml = (props) => {
|
|
1356
|
-
return (0,
|
|
1408
|
+
return (0, import_render17.render)(NewJobApplicationUnapprovedCreator(props));
|
|
1357
1409
|
};
|
|
1358
1410
|
|
|
1359
1411
|
// emails/all/welcome.tsx
|
|
1360
|
-
var
|
|
1361
|
-
var
|
|
1362
|
-
var
|
|
1412
|
+
var import_components25 = require("@react-email/components");
|
|
1413
|
+
var import_render18 = require("@react-email/render");
|
|
1414
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
1363
1415
|
function Welcome({ name, userType }) {
|
|
1364
1416
|
const content2 = {
|
|
1365
1417
|
["brand" /* BRAND */]: {
|
|
@@ -1377,31 +1429,31 @@ Como Criador, vais poder conectar-te com marcas e ag\xEAncias, mostrar o teu tal
|
|
|
1377
1429
|
Agradecemos pelo teu registo e vamos manter-te informado sobre novidades e o lan\xE7amento oficial.`
|
|
1378
1430
|
}
|
|
1379
1431
|
};
|
|
1380
|
-
return /* @__PURE__ */ (0,
|
|
1381
|
-
/* @__PURE__ */ (0,
|
|
1382
|
-
/* @__PURE__ */ (0,
|
|
1383
|
-
/* @__PURE__ */ (0,
|
|
1384
|
-
/* @__PURE__ */ (0,
|
|
1385
|
-
/* @__PURE__ */ (0,
|
|
1386
|
-
/* @__PURE__ */ (0,
|
|
1432
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_components25.Html, { style: rootStyles, children: [
|
|
1433
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(BaseHead, {}),
|
|
1434
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_components25.Preview, { children: "Bem-vindo \xE0 Promote" }),
|
|
1435
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_components25.Body, { style: { ...main, ...baseContainer }, children: [
|
|
1436
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_components25.Container, { style: headContainer, children: [
|
|
1437
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_components25.Img, { src: `${assetsBasePath}/icons/logo-icon.png`, alt: "Promote Logo", style: promoteLogo }),
|
|
1438
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_components25.Img, { src: `${assetsBasePath}/icons/welcome-title.png`, alt: "Bem-vindo \xE0 Promote", style: welcomeImage })
|
|
1387
1439
|
] }),
|
|
1388
|
-
/* @__PURE__ */ (0,
|
|
1389
|
-
/* @__PURE__ */ (0,
|
|
1440
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_components25.Container, { style: baseContentContainer, children: [
|
|
1441
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_components25.Heading, { as: "h1", style: title3, children: [
|
|
1390
1442
|
"Ol\xE1 ",
|
|
1391
1443
|
name || "{{nome}}",
|
|
1392
1444
|
" \u{1F389},"
|
|
1393
1445
|
] }),
|
|
1394
|
-
/* @__PURE__ */ (0,
|
|
1395
|
-
/* @__PURE__ */ (0,
|
|
1446
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_components25.Text, { style: textInfo, children: content2[userType]?.description }),
|
|
1447
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_components25.Text, { style: textInfo, children: [
|
|
1396
1448
|
"Se tiveres alguma d\xFAvida ou sugest\xE3o, n\xE3o hesites em contactar-nos atrav\xE9s do e-mail:",
|
|
1397
1449
|
" ",
|
|
1398
|
-
/* @__PURE__ */ (0,
|
|
1450
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_components25.Link, { style: link, href: "mailto:help@promote.co.mz", children: "help@promote.co.mz" }),
|
|
1399
1451
|
" ",
|
|
1400
1452
|
"\u{1F680}"
|
|
1401
1453
|
] })
|
|
1402
1454
|
] }),
|
|
1403
|
-
/* @__PURE__ */ (0,
|
|
1404
|
-
/* @__PURE__ */ (0,
|
|
1455
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_components25.Container, { style: baseContentContainer, children: userType && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_components25.Link, { href: content2[userType]?.startLink, style: { ...button, width: "150px" }, children: "COME\xC7AR AGORA" }) }),
|
|
1456
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Footer, {})
|
|
1405
1457
|
] })
|
|
1406
1458
|
] });
|
|
1407
1459
|
}
|
|
@@ -1444,38 +1496,38 @@ var textInfo = {
|
|
|
1444
1496
|
whiteSpace: "pre-line"
|
|
1445
1497
|
};
|
|
1446
1498
|
var WelcomeText = (props) => {
|
|
1447
|
-
return (0,
|
|
1499
|
+
return (0, import_render18.render)(Welcome(props), { plainText: true });
|
|
1448
1500
|
};
|
|
1449
1501
|
var WelcomeHtml = (props) => {
|
|
1450
|
-
return (0,
|
|
1502
|
+
return (0, import_render18.render)(Welcome(props));
|
|
1451
1503
|
};
|
|
1452
1504
|
|
|
1453
1505
|
// emails/all/new-message-notification.tsx
|
|
1454
|
-
var
|
|
1455
|
-
var
|
|
1456
|
-
var
|
|
1506
|
+
var import_components26 = require("@react-email/components");
|
|
1507
|
+
var import_render19 = require("@react-email/render");
|
|
1508
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
1457
1509
|
function NewMessageNotification(props) {
|
|
1458
|
-
return /* @__PURE__ */ (0,
|
|
1459
|
-
/* @__PURE__ */ (0,
|
|
1460
|
-
/* @__PURE__ */ (0,
|
|
1461
|
-
/* @__PURE__ */ (0,
|
|
1462
|
-
/* @__PURE__ */ (0,
|
|
1463
|
-
/* @__PURE__ */ (0,
|
|
1464
|
-
/* @__PURE__ */ (0,
|
|
1510
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_components26.Html, { style: rootStyles, children: [
|
|
1511
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(BaseHead, {}),
|
|
1512
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_components26.Preview, { children: "Nova mensagem recebida \u{1F195}" }),
|
|
1513
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_components26.Body, { style: { ...main, ...baseContainer }, children: [
|
|
1514
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Header, {}),
|
|
1515
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_components26.Container, { style: { ...baseContentContainer }, children: [
|
|
1516
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_components26.Text, { style: baseText, children: [
|
|
1465
1517
|
"Ol\xE1, ",
|
|
1466
1518
|
props.recipient.name,
|
|
1467
1519
|
","
|
|
1468
1520
|
] }),
|
|
1469
|
-
/* @__PURE__ */ (0,
|
|
1521
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_components26.Text, { style: baseText, children: [
|
|
1470
1522
|
"Voc\xEA recebeu uma nova mensagem de ",
|
|
1471
|
-
/* @__PURE__ */ (0,
|
|
1472
|
-
/* @__PURE__ */ (0,
|
|
1523
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { style: link, children: props.sender.name }),
|
|
1524
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("br", {}),
|
|
1473
1525
|
" Veja o conte\xFAdo da mensagem abaixo:"
|
|
1474
1526
|
] })
|
|
1475
1527
|
] }),
|
|
1476
|
-
/* @__PURE__ */ (0,
|
|
1477
|
-
/* @__PURE__ */ (0,
|
|
1478
|
-
/* @__PURE__ */ (0,
|
|
1528
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_components26.Container, { style: messageContainer, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(CommentComponent, { title: `Mensagem enviada em ${props.message.createdAt}:`, comment: props.message.content }) }),
|
|
1529
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_components26.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_components26.Link, { href: appRoutes.brandConversation(props.conversationPath, props.chatRoomId), style: { ...button, width: "150px" }, children: "VER CONVERSA" }) }),
|
|
1530
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Footer, {})
|
|
1479
1531
|
] })
|
|
1480
1532
|
] });
|
|
1481
1533
|
}
|
|
@@ -1500,10 +1552,10 @@ NewMessageNotification.PreviewProps = {
|
|
|
1500
1552
|
chatRoomId: "123"
|
|
1501
1553
|
};
|
|
1502
1554
|
var NewMessageNotificationText = (props) => {
|
|
1503
|
-
return (0,
|
|
1555
|
+
return (0, import_render19.render)(NewMessageNotification(props), { plainText: true });
|
|
1504
1556
|
};
|
|
1505
1557
|
var NewMessageNotificationHtml = (props) => {
|
|
1506
|
-
return (0,
|
|
1558
|
+
return (0, import_render19.render)(NewMessageNotification(props));
|
|
1507
1559
|
};
|
|
1508
1560
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1509
1561
|
0 && (module.exports = {
|
|
@@ -1528,9 +1580,12 @@ var NewMessageNotificationHtml = (props) => {
|
|
|
1528
1580
|
NewJobCreatedBrand,
|
|
1529
1581
|
NewJobCreatedBrandHtml,
|
|
1530
1582
|
NewJobCreatedBrandText,
|
|
1583
|
+
NewMessage,
|
|
1584
|
+
NewMessageHtml,
|
|
1531
1585
|
NewMessageNotification,
|
|
1532
1586
|
NewMessageNotificationHtml,
|
|
1533
1587
|
NewMessageNotificationText,
|
|
1588
|
+
NewMessageText,
|
|
1534
1589
|
NewOrderCreatedBrand,
|
|
1535
1590
|
NewOrderCreatedBrandHtml,
|
|
1536
1591
|
NewOrderCreatedBrandText,
|