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.mjs
CHANGED
|
@@ -272,28 +272,103 @@ var AbortOrderRequestHtml = (props) => {
|
|
|
272
272
|
return render(AbortOrderRequest(props));
|
|
273
273
|
};
|
|
274
274
|
|
|
275
|
-
// emails/admin/
|
|
275
|
+
// emails/admin/new-message.tsx
|
|
276
276
|
import { Body as Body2, Container as Container6, Html as Html2, Link as Link5, Preview as Preview2, Text as Text5 } from "@react-email/components";
|
|
277
|
+
import { render as render2 } from "@react-email/render";
|
|
277
278
|
|
|
278
|
-
// emails/shared/components/
|
|
279
|
+
// emails/shared/components/comment-component.tsx
|
|
279
280
|
import { Container as Container5, Heading, Text as Text4 } from "@react-email/components";
|
|
280
281
|
import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
282
|
+
function CommentComponent(props) {
|
|
283
|
+
return /* @__PURE__ */ jsxs4(Container5, { style: { ...container3(props.danger) }, children: [
|
|
284
|
+
/* @__PURE__ */ jsx6(Heading, { style: title, children: props.title }),
|
|
285
|
+
/* @__PURE__ */ jsx6(Text4, { style: content, children: props.comment })
|
|
286
|
+
] });
|
|
287
|
+
}
|
|
288
|
+
var container3 = (isDanger) => ({
|
|
289
|
+
...baseContentContainer,
|
|
290
|
+
backgroundColor: isDanger ? "rgba(250,0,0,0.26)" : "#f5f5f5",
|
|
291
|
+
borderRadius: "8px",
|
|
292
|
+
padding: "16px"
|
|
293
|
+
});
|
|
294
|
+
var title = {
|
|
295
|
+
...baseText,
|
|
296
|
+
fontWeight: "bold",
|
|
297
|
+
margin: "0"
|
|
298
|
+
};
|
|
299
|
+
var content = {
|
|
300
|
+
...baseText
|
|
301
|
+
};
|
|
302
|
+
|
|
303
|
+
// emails/admin/new-message.tsx
|
|
304
|
+
import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
305
|
+
function NewMessage(props) {
|
|
306
|
+
return /* @__PURE__ */ jsxs5(Html2, { style: rootStyles, children: [
|
|
307
|
+
/* @__PURE__ */ jsx7(BaseHead, {}),
|
|
308
|
+
/* @__PURE__ */ jsx7(Preview2, { children: "Nova mensagem recebida" }),
|
|
309
|
+
/* @__PURE__ */ jsxs5(Body2, { style: { ...main, ...baseContainer }, children: [
|
|
310
|
+
/* @__PURE__ */ jsx7(Header, {}),
|
|
311
|
+
/* @__PURE__ */ jsx7(UserInfo, { photo: "", name: props.sender.name, userType: "brand" /* BRAND */ }),
|
|
312
|
+
/* @__PURE__ */ jsxs5(Container6, { style: { ...baseContentContainer }, children: [
|
|
313
|
+
/* @__PURE__ */ jsxs5(Text5, { style: baseText, children: [
|
|
314
|
+
"Ol\xE1, ",
|
|
315
|
+
props.recipient.name,
|
|
316
|
+
","
|
|
317
|
+
] }),
|
|
318
|
+
/* @__PURE__ */ jsx7(Text5, { style: baseText, children: "Voc\xEA recebeu uma nova mensagem no chatbot da Promote." })
|
|
319
|
+
] }),
|
|
320
|
+
/* @__PURE__ */ jsx7("div", { style: reasonContainer, children: /* @__PURE__ */ jsx7(CommentComponent, { title: "Mensagem", comment: props.message.content }) }),
|
|
321
|
+
/* @__PURE__ */ jsx7(Container6, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx7(Link5, { href: chatbotUrl, style: { ...button, width: "130px" }, children: "VER MENSAGEM" }) }),
|
|
322
|
+
/* @__PURE__ */ jsx7(Footer, {})
|
|
323
|
+
] })
|
|
324
|
+
] });
|
|
325
|
+
}
|
|
326
|
+
NewMessage.PreviewProps = {
|
|
327
|
+
recipient: {
|
|
328
|
+
name: "Jo\xE3o Ant\xF3nio",
|
|
329
|
+
email: "joao@email.com"
|
|
330
|
+
},
|
|
331
|
+
sender: {
|
|
332
|
+
name: "Promote"
|
|
333
|
+
},
|
|
334
|
+
message: {
|
|
335
|
+
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."
|
|
336
|
+
}
|
|
337
|
+
};
|
|
338
|
+
var reasonContainer = {
|
|
339
|
+
width: "100%",
|
|
340
|
+
padding: "0",
|
|
341
|
+
margin: "30px 0"
|
|
342
|
+
};
|
|
343
|
+
var NewMessageText = (props) => {
|
|
344
|
+
return render2(NewMessage(props), { plainText: true });
|
|
345
|
+
};
|
|
346
|
+
var NewMessageHtml = (props) => {
|
|
347
|
+
return render2(NewMessage(props));
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
// emails/admin/revert-payment-request-admin.tsx
|
|
351
|
+
import { Body as Body3, Container as Container8, Html as Html3, Link as Link6, Preview as Preview3, Text as Text7 } from "@react-email/components";
|
|
352
|
+
|
|
353
|
+
// emails/shared/components/payment-amount.tsx
|
|
354
|
+
import { Container as Container7, Heading as Heading2, Text as Text6 } from "@react-email/components";
|
|
355
|
+
import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
281
356
|
function PaymentAmount(props) {
|
|
282
|
-
return /* @__PURE__ */
|
|
283
|
-
/* @__PURE__ */
|
|
284
|
-
/* @__PURE__ */
|
|
357
|
+
return /* @__PURE__ */ jsxs6(Container7, { style: container4, children: [
|
|
358
|
+
/* @__PURE__ */ jsx8(Heading2, { style: title2, children: "Valor Total" }),
|
|
359
|
+
/* @__PURE__ */ jsxs6(Text6, { style: amount, children: [
|
|
285
360
|
props.totalAmount,
|
|
286
361
|
" MZN"
|
|
287
362
|
] })
|
|
288
363
|
] });
|
|
289
364
|
}
|
|
290
|
-
var
|
|
365
|
+
var container4 = {
|
|
291
366
|
...baseContentContainer,
|
|
292
367
|
backgroundColor: "rgba(59,140,235,0.79)",
|
|
293
368
|
borderRadius: "8px",
|
|
294
369
|
padding: "16px"
|
|
295
370
|
};
|
|
296
|
-
var
|
|
371
|
+
var title2 = {
|
|
297
372
|
...baseText,
|
|
298
373
|
fontWeight: "bold",
|
|
299
374
|
margin: "0",
|
|
@@ -309,21 +384,21 @@ var amount = {
|
|
|
309
384
|
};
|
|
310
385
|
|
|
311
386
|
// emails/admin/revert-payment-request-admin.tsx
|
|
312
|
-
import { render as
|
|
313
|
-
import { jsx as
|
|
387
|
+
import { render as render3 } from "@react-email/render";
|
|
388
|
+
import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
314
389
|
function RevertPaymentRequestAdmin(props) {
|
|
315
|
-
return /* @__PURE__ */
|
|
316
|
-
/* @__PURE__ */
|
|
317
|
-
/* @__PURE__ */
|
|
318
|
-
/* @__PURE__ */
|
|
319
|
-
/* @__PURE__ */
|
|
320
|
-
/* @__PURE__ */
|
|
321
|
-
/* @__PURE__ */
|
|
322
|
-
/* @__PURE__ */
|
|
323
|
-
/* @__PURE__ */
|
|
390
|
+
return /* @__PURE__ */ jsxs7(Html3, { style: rootStyles, children: [
|
|
391
|
+
/* @__PURE__ */ jsx9(BaseHead, {}),
|
|
392
|
+
/* @__PURE__ */ jsx9(Preview3, { children: "Pedido de revers\xE3o de pagamento" }),
|
|
393
|
+
/* @__PURE__ */ jsxs7(Body3, { style: { ...main, ...baseContainer }, children: [
|
|
394
|
+
/* @__PURE__ */ jsx9(Header, {}),
|
|
395
|
+
/* @__PURE__ */ jsx9(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
|
|
396
|
+
/* @__PURE__ */ jsxs7(Container8, { style: { ...baseContentContainer }, children: [
|
|
397
|
+
/* @__PURE__ */ jsx9(Text7, { style: baseText, children: "Ol\xE1 Promote team," }),
|
|
398
|
+
/* @__PURE__ */ jsxs7(Text7, { style: baseText, children: [
|
|
324
399
|
"O pagamento da",
|
|
325
400
|
" ",
|
|
326
|
-
/* @__PURE__ */
|
|
401
|
+
/* @__PURE__ */ jsxs7(Link6, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: [
|
|
327
402
|
"ordem #",
|
|
328
403
|
props.order.id
|
|
329
404
|
] }),
|
|
@@ -331,9 +406,9 @@ function RevertPaymentRequestAdmin(props) {
|
|
|
331
406
|
"deve ser revertido."
|
|
332
407
|
] })
|
|
333
408
|
] }),
|
|
334
|
-
/* @__PURE__ */
|
|
335
|
-
/* @__PURE__ */
|
|
336
|
-
/* @__PURE__ */
|
|
409
|
+
/* @__PURE__ */ jsx9(PaymentAmount, { totalAmount: props.totalAmount }),
|
|
410
|
+
/* @__PURE__ */ jsx9(Container8, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ jsx9(Link6, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
|
|
411
|
+
/* @__PURE__ */ jsx9(Footer, {})
|
|
337
412
|
] })
|
|
338
413
|
] });
|
|
339
414
|
}
|
|
@@ -344,45 +419,45 @@ RevertPaymentRequestAdmin.PreviewProps = {
|
|
|
344
419
|
totalAmount: "1000,00"
|
|
345
420
|
};
|
|
346
421
|
var RevertPaymentRequestAdminText = (props) => {
|
|
347
|
-
return
|
|
422
|
+
return render3(RevertPaymentRequestAdmin(props), { plainText: true });
|
|
348
423
|
};
|
|
349
424
|
var RevertPaymentRequestAdminHtml = (props) => {
|
|
350
|
-
return
|
|
425
|
+
return render3(RevertPaymentRequestAdmin(props));
|
|
351
426
|
};
|
|
352
427
|
|
|
353
428
|
// emails/brand/evidences-accepted-brand.tsx
|
|
354
|
-
import { Body as
|
|
355
|
-
import { render as
|
|
356
|
-
import { jsx as
|
|
429
|
+
import { Body as Body4, Container as Container9, Html as Html4, Link as Link7, Preview as Preview4, Text as Text8 } from "@react-email/components";
|
|
430
|
+
import { render as render4 } from "@react-email/render";
|
|
431
|
+
import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
357
432
|
function OrderEvidencesAcceptedBrand(props) {
|
|
358
|
-
return /* @__PURE__ */
|
|
359
|
-
/* @__PURE__ */
|
|
360
|
-
/* @__PURE__ */
|
|
361
|
-
/* @__PURE__ */
|
|
362
|
-
/* @__PURE__ */
|
|
363
|
-
/* @__PURE__ */
|
|
364
|
-
/* @__PURE__ */
|
|
365
|
-
/* @__PURE__ */
|
|
433
|
+
return /* @__PURE__ */ jsxs8(Html4, { style: rootStyles, children: [
|
|
434
|
+
/* @__PURE__ */ jsx10(BaseHead, {}),
|
|
435
|
+
/* @__PURE__ */ jsx10(Preview4, { children: "Pagamento Efectuado com sucesso" }),
|
|
436
|
+
/* @__PURE__ */ jsxs8(Body4, { style: { ...main, ...baseContainer }, children: [
|
|
437
|
+
/* @__PURE__ */ jsx10(Header, {}),
|
|
438
|
+
/* @__PURE__ */ jsx10(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
|
|
439
|
+
/* @__PURE__ */ jsxs8(Container9, { style: { ...baseContentContainer }, children: [
|
|
440
|
+
/* @__PURE__ */ jsxs8(Text8, { style: baseText, children: [
|
|
366
441
|
"Ol\xE1, ",
|
|
367
442
|
props.brand.name,
|
|
368
443
|
" \u{1F38A},"
|
|
369
444
|
] }),
|
|
370
|
-
/* @__PURE__ */
|
|
445
|
+
/* @__PURE__ */ jsxs8(Text8, { style: baseText, children: [
|
|
371
446
|
"O pagamento da",
|
|
372
447
|
" ",
|
|
373
|
-
/* @__PURE__ */
|
|
448
|
+
/* @__PURE__ */ jsxs8(Link7, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: [
|
|
374
449
|
"ordem #",
|
|
375
450
|
props.order.id
|
|
376
451
|
] }),
|
|
377
452
|
" ",
|
|
378
453
|
"foi efectuado com sucesso \u2705.",
|
|
379
|
-
/* @__PURE__ */
|
|
454
|
+
/* @__PURE__ */ jsx10("br", {}),
|
|
380
455
|
"Agradecemos por confiar na Promote, esperamos que a sua experi\xEAncia tenha sido agrad\xE1vel."
|
|
381
456
|
] })
|
|
382
457
|
] }),
|
|
383
|
-
/* @__PURE__ */
|
|
384
|
-
/* @__PURE__ */
|
|
385
|
-
/* @__PURE__ */
|
|
458
|
+
/* @__PURE__ */ jsx10(PaymentAmount, { totalAmount: props.totalAmount }),
|
|
459
|
+
/* @__PURE__ */ jsx10(Container9, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ jsx10(Link7, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
|
|
460
|
+
/* @__PURE__ */ jsx10(Footer, {})
|
|
386
461
|
] })
|
|
387
462
|
] });
|
|
388
463
|
}
|
|
@@ -396,48 +471,48 @@ OrderEvidencesAcceptedBrand.PreviewProps = {
|
|
|
396
471
|
totalAmount: "1000,00"
|
|
397
472
|
};
|
|
398
473
|
var OrderEvidencesAcceptedBrandText = (props) => {
|
|
399
|
-
return
|
|
474
|
+
return render4(OrderEvidencesAcceptedBrand(props), { plainText: true });
|
|
400
475
|
};
|
|
401
476
|
var OrderEvidencesAcceptedBrandHtml = (props) => {
|
|
402
|
-
return
|
|
477
|
+
return render4(OrderEvidencesAcceptedBrand(props));
|
|
403
478
|
};
|
|
404
479
|
|
|
405
480
|
// emails/brand/evidences-submitted-brand.tsx
|
|
406
|
-
import { Body as
|
|
407
|
-
import { render as
|
|
408
|
-
import { jsx as
|
|
481
|
+
import { Body as Body5, Container as Container10, Html as Html5, Link as Link8, Preview as Preview5, Text as Text9 } from "@react-email/components";
|
|
482
|
+
import { render as render5 } from "@react-email/render";
|
|
483
|
+
import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
409
484
|
function EvidencesSubmittedBrand(props) {
|
|
410
|
-
return /* @__PURE__ */
|
|
411
|
-
/* @__PURE__ */
|
|
412
|
-
/* @__PURE__ */
|
|
413
|
-
/* @__PURE__ */
|
|
414
|
-
/* @__PURE__ */
|
|
415
|
-
/* @__PURE__ */
|
|
416
|
-
/* @__PURE__ */
|
|
417
|
-
/* @__PURE__ */
|
|
485
|
+
return /* @__PURE__ */ jsxs9(Html5, { style: rootStyles, children: [
|
|
486
|
+
/* @__PURE__ */ jsx11(BaseHead, {}),
|
|
487
|
+
/* @__PURE__ */ jsx11(Preview5, { children: "Materiais de Entrega submetidos \u{1F195}" }),
|
|
488
|
+
/* @__PURE__ */ jsxs9(Body5, { style: { ...main, ...baseContainer }, children: [
|
|
489
|
+
/* @__PURE__ */ jsx11(Header, {}),
|
|
490
|
+
/* @__PURE__ */ jsx11(UserInfo, { photo: props.creator.photo, name: props.creator.name, userType: "creator" /* CREATOR */, username: props.creator.username }),
|
|
491
|
+
/* @__PURE__ */ jsxs9(Container10, { style: { ...baseContentContainer }, children: [
|
|
492
|
+
/* @__PURE__ */ jsxs9(Text9, { style: baseText, children: [
|
|
418
493
|
"Ol\xE1, ",
|
|
419
494
|
props.brand.name,
|
|
420
495
|
","
|
|
421
496
|
] }),
|
|
422
|
-
/* @__PURE__ */
|
|
497
|
+
/* @__PURE__ */ jsxs9(Text9, { style: baseText, children: [
|
|
423
498
|
"O criador de conte\xFAdos",
|
|
424
499
|
" ",
|
|
425
|
-
/* @__PURE__ */
|
|
500
|
+
/* @__PURE__ */ jsx11(Link8, { href: appRoutes.creatorPublicProfile(props.creator.username), target: "_blank", style: link, children: props.creator.name }),
|
|
426
501
|
" ",
|
|
427
502
|
"submeteu novo material de entrega para o seu",
|
|
428
503
|
" ",
|
|
429
|
-
/* @__PURE__ */
|
|
504
|
+
/* @__PURE__ */ jsx11(Link8, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: "pedido. \u{1F680}" }),
|
|
430
505
|
" ",
|
|
431
|
-
/* @__PURE__ */
|
|
506
|
+
/* @__PURE__ */ jsx11("br", {}),
|
|
432
507
|
" Por favor, verifique os materiais de entrega submetidos e ",
|
|
433
|
-
/* @__PURE__ */
|
|
508
|
+
/* @__PURE__ */ jsx11("b", { children: "aprove \u2705" }),
|
|
434
509
|
" ou ",
|
|
435
|
-
/* @__PURE__ */
|
|
510
|
+
/* @__PURE__ */ jsx11("b", { children: "rejeite \u274C" }),
|
|
436
511
|
" o trabalho."
|
|
437
512
|
] })
|
|
438
513
|
] }),
|
|
439
|
-
/* @__PURE__ */
|
|
440
|
-
/* @__PURE__ */
|
|
514
|
+
/* @__PURE__ */ jsx11(Container10, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx11(Link8, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER MATERIAL" }) }),
|
|
515
|
+
/* @__PURE__ */ jsx11(Footer, {})
|
|
441
516
|
] })
|
|
442
517
|
] });
|
|
443
518
|
}
|
|
@@ -458,34 +533,34 @@ EvidencesSubmittedBrand.PreviewProps = {
|
|
|
458
533
|
}
|
|
459
534
|
};
|
|
460
535
|
var EvidencesSubmittedBrandText = (props) => {
|
|
461
|
-
return
|
|
536
|
+
return render5(EvidencesSubmittedBrand(props), { plainText: true });
|
|
462
537
|
};
|
|
463
538
|
var EvidencesSubmittedBrandHtml = (props) => {
|
|
464
|
-
return
|
|
539
|
+
return render5(EvidencesSubmittedBrand(props));
|
|
465
540
|
};
|
|
466
541
|
|
|
467
542
|
// emails/brand/new-order-created-brand.tsx
|
|
468
|
-
import { Body as
|
|
543
|
+
import { Body as Body6, Container as Container11, Html as Html6, Link as Link9, Preview as Preview6, Text as Text11 } from "@react-email/components";
|
|
469
544
|
|
|
470
545
|
// emails/shared/components/new-order-info.tsx
|
|
471
|
-
import { Column as Column2, Row as Row2, Section as Section2, Text as
|
|
472
|
-
import { jsx as
|
|
546
|
+
import { Column as Column2, Row as Row2, Section as Section2, Text as Text10 } from "@react-email/components";
|
|
547
|
+
import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
473
548
|
function NewOrderInfo(props) {
|
|
474
|
-
return /* @__PURE__ */
|
|
475
|
-
/* @__PURE__ */
|
|
476
|
-
/* @__PURE__ */
|
|
477
|
-
/* @__PURE__ */
|
|
549
|
+
return /* @__PURE__ */ jsxs10(Section2, { children: [
|
|
550
|
+
/* @__PURE__ */ jsxs10(Row2, { style: rowItem, children: [
|
|
551
|
+
/* @__PURE__ */ jsx12(Column2, { children: /* @__PURE__ */ jsx12(Text10, { style: leftText, children: "Pacote:" }) }),
|
|
552
|
+
/* @__PURE__ */ jsx12(Column2, { align: "right", children: /* @__PURE__ */ jsx12(Text10, { style: rightText, children: props.packageName }) })
|
|
478
553
|
] }),
|
|
479
|
-
/* @__PURE__ */
|
|
480
|
-
/* @__PURE__ */
|
|
481
|
-
/* @__PURE__ */
|
|
554
|
+
/* @__PURE__ */ jsxs10(Row2, { style: rowItem, children: [
|
|
555
|
+
/* @__PURE__ */ jsx12(Column2, { children: /* @__PURE__ */ jsx12(Text10, { style: leftText, children: "Pre\xE7o: " }) }),
|
|
556
|
+
/* @__PURE__ */ jsx12(Column2, { align: "right", children: /* @__PURE__ */ jsxs10(Text10, { style: rightText, children: [
|
|
482
557
|
props.packagePrice,
|
|
483
558
|
" MZN"
|
|
484
559
|
] }) })
|
|
485
560
|
] }),
|
|
486
|
-
/* @__PURE__ */
|
|
487
|
-
/* @__PURE__ */
|
|
488
|
-
/* @__PURE__ */
|
|
561
|
+
/* @__PURE__ */ jsxs10(Row2, { style: rowItem, children: [
|
|
562
|
+
/* @__PURE__ */ jsx12(Column2, { children: /* @__PURE__ */ jsx12(Text10, { style: leftText, children: "Data: " }) }),
|
|
563
|
+
/* @__PURE__ */ jsx12(Column2, { align: "right", children: /* @__PURE__ */ jsx12(Text10, { style: rightText, children: props.orderCreatedAt }) })
|
|
489
564
|
] })
|
|
490
565
|
] });
|
|
491
566
|
}
|
|
@@ -507,35 +582,35 @@ var rowItem = {
|
|
|
507
582
|
};
|
|
508
583
|
|
|
509
584
|
// emails/brand/new-order-created-brand.tsx
|
|
510
|
-
import { render as
|
|
511
|
-
import { jsx as
|
|
585
|
+
import { render as render6 } from "@react-email/render";
|
|
586
|
+
import { jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
512
587
|
function NewOrderCreatedBrand(props) {
|
|
513
|
-
return /* @__PURE__ */
|
|
514
|
-
/* @__PURE__ */
|
|
515
|
-
/* @__PURE__ */
|
|
516
|
-
/* @__PURE__ */
|
|
517
|
-
/* @__PURE__ */
|
|
518
|
-
/* @__PURE__ */
|
|
519
|
-
/* @__PURE__ */
|
|
520
|
-
/* @__PURE__ */
|
|
588
|
+
return /* @__PURE__ */ jsxs11(Html6, { style: rootStyles, children: [
|
|
589
|
+
/* @__PURE__ */ jsx13(BaseHead, {}),
|
|
590
|
+
/* @__PURE__ */ jsx13(Preview6, { children: "Novo Pedido efectuado" }),
|
|
591
|
+
/* @__PURE__ */ jsxs11(Body6, { style: { ...main, ...baseContainer }, children: [
|
|
592
|
+
/* @__PURE__ */ jsx13(Header, {}),
|
|
593
|
+
/* @__PURE__ */ jsx13(UserInfo, { photo: props.creator.photo, name: props.creator.name, userType: "creator" /* CREATOR */, username: props.creator.username }),
|
|
594
|
+
/* @__PURE__ */ jsxs11(Container11, { style: { ...baseContentContainer }, children: [
|
|
595
|
+
/* @__PURE__ */ jsxs11(Text11, { style: baseText, children: [
|
|
521
596
|
"Ol\xE1, ",
|
|
522
597
|
props.brand.name,
|
|
523
598
|
","
|
|
524
599
|
] }),
|
|
525
|
-
/* @__PURE__ */
|
|
600
|
+
/* @__PURE__ */ jsxs11(Text11, { style: baseText, children: [
|
|
526
601
|
"Parab\xE9ns \u{1F389}, efectuou com sucesso a cria\xE7\xE3o de uma ordem para o criador de conte\xFAdos",
|
|
527
602
|
" ",
|
|
528
|
-
/* @__PURE__ */
|
|
603
|
+
/* @__PURE__ */ jsxs11(Link9, { href: appRoutes.creatorPublicProfile(props.creator.username), style: link, children: [
|
|
529
604
|
props.creator.name,
|
|
530
605
|
"."
|
|
531
606
|
] }),
|
|
532
|
-
/* @__PURE__ */
|
|
607
|
+
/* @__PURE__ */ jsx13("br", {}),
|
|
533
608
|
" Por favor, revise os detalhes abaixo \u{1F680}:"
|
|
534
609
|
] })
|
|
535
610
|
] }),
|
|
536
|
-
/* @__PURE__ */
|
|
537
|
-
/* @__PURE__ */
|
|
538
|
-
/* @__PURE__ */
|
|
611
|
+
/* @__PURE__ */ jsx13(Container11, { style: orderDetails, children: /* @__PURE__ */ jsx13(NewOrderInfo, { orderCreatedAt: props.order.createdAt, packageName: props.package.name, packagePrice: props.package.price }) }),
|
|
612
|
+
/* @__PURE__ */ jsx13(Container11, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx13(Link9, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO" }) }),
|
|
613
|
+
/* @__PURE__ */ jsx13(Footer, {})
|
|
539
614
|
] })
|
|
540
615
|
] });
|
|
541
616
|
}
|
|
@@ -563,48 +638,48 @@ var orderDetails = {
|
|
|
563
638
|
marginBottom: "40px"
|
|
564
639
|
};
|
|
565
640
|
var NewOrderCreatedBrandText = (props) => {
|
|
566
|
-
return
|
|
641
|
+
return render6(NewOrderCreatedBrand(props), { plainText: true });
|
|
567
642
|
};
|
|
568
643
|
var NewOrderCreatedBrandHtml = (props) => {
|
|
569
|
-
return
|
|
644
|
+
return render6(NewOrderCreatedBrand(props));
|
|
570
645
|
};
|
|
571
646
|
|
|
572
647
|
// emails/brand/order-accepted-brand.tsx
|
|
573
|
-
import { Body as
|
|
574
|
-
import { render as
|
|
575
|
-
import { jsx as
|
|
648
|
+
import { Body as Body7, Container as Container12, Html as Html7, Link as Link10, Preview as Preview7, Text as Text12 } from "@react-email/components";
|
|
649
|
+
import { render as render7 } from "@react-email/render";
|
|
650
|
+
import { jsx as jsx14, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
576
651
|
function OrderAcceptedBrand(props) {
|
|
577
|
-
return /* @__PURE__ */
|
|
578
|
-
/* @__PURE__ */
|
|
579
|
-
/* @__PURE__ */
|
|
580
|
-
/* @__PURE__ */
|
|
581
|
-
/* @__PURE__ */
|
|
582
|
-
/* @__PURE__ */
|
|
583
|
-
/* @__PURE__ */
|
|
584
|
-
/* @__PURE__ */
|
|
652
|
+
return /* @__PURE__ */ jsxs12(Html7, { style: rootStyles, children: [
|
|
653
|
+
/* @__PURE__ */ jsx14(BaseHead, {}),
|
|
654
|
+
/* @__PURE__ */ jsx14(Preview7, { children: "Pedido aceite \u2705" }),
|
|
655
|
+
/* @__PURE__ */ jsxs12(Body7, { style: { ...main, ...baseContainer }, children: [
|
|
656
|
+
/* @__PURE__ */ jsx14(Header, {}),
|
|
657
|
+
/* @__PURE__ */ jsx14(UserInfo, { photo: props.creator.photo, name: props.creator.name, userType: "creator" /* CREATOR */, username: props.creator.username }),
|
|
658
|
+
/* @__PURE__ */ jsxs12(Container12, { style: { ...baseContentContainer }, children: [
|
|
659
|
+
/* @__PURE__ */ jsxs12(Text12, { style: baseText, children: [
|
|
585
660
|
"Ol\xE1, ",
|
|
586
661
|
props.brand.name,
|
|
587
662
|
","
|
|
588
663
|
] }),
|
|
589
|
-
/* @__PURE__ */
|
|
664
|
+
/* @__PURE__ */ jsxs12(Text12, { style: baseText, children: [
|
|
590
665
|
"O seu",
|
|
591
666
|
" ",
|
|
592
|
-
/* @__PURE__ */
|
|
667
|
+
/* @__PURE__ */ jsx14(Link10, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: "pedido" }),
|
|
593
668
|
" ",
|
|
594
669
|
"foi aceite \u2705 por",
|
|
595
670
|
" ",
|
|
596
|
-
/* @__PURE__ */
|
|
671
|
+
/* @__PURE__ */ jsxs12(Link10, { href: appRoutes.creatorPublicProfile(props.creator.username), style: link, children: [
|
|
597
672
|
props.creator.name,
|
|
598
673
|
"."
|
|
599
674
|
] }),
|
|
600
|
-
/* @__PURE__ */
|
|
675
|
+
/* @__PURE__ */ jsx14("br", {}),
|
|
601
676
|
" Agora \xE9 s\xF3 aguardar que o trabalho seja executado.",
|
|
602
|
-
/* @__PURE__ */
|
|
677
|
+
/* @__PURE__ */ jsx14("br", {}),
|
|
603
678
|
" Assim que o trabalho for conclu\xEDdo, voc\xEA receber\xE1 um email com os detalhes \u{1F680}."
|
|
604
679
|
] })
|
|
605
680
|
] }),
|
|
606
|
-
/* @__PURE__ */
|
|
607
|
-
/* @__PURE__ */
|
|
681
|
+
/* @__PURE__ */ jsx14(Container12, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx14(Link10, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO!" }) }),
|
|
682
|
+
/* @__PURE__ */ jsx14(Footer, {})
|
|
608
683
|
] })
|
|
609
684
|
] });
|
|
610
685
|
}
|
|
@@ -622,71 +697,45 @@ OrderAcceptedBrand.PreviewProps = {
|
|
|
622
697
|
}
|
|
623
698
|
};
|
|
624
699
|
var OrderAcceptedBrandText = (props) => {
|
|
625
|
-
return
|
|
700
|
+
return render7(OrderAcceptedBrand(props), { plainText: true });
|
|
626
701
|
};
|
|
627
702
|
var OrderAcceptedBrandHtml = (props) => {
|
|
628
|
-
return
|
|
629
|
-
};
|
|
630
|
-
|
|
631
|
-
// emails/brand/order-cancelled-brand.tsx
|
|
632
|
-
import { Body as Body7, Container as Container12, Html as Html7, Link as Link10, Preview as Preview7, Text as Text12 } from "@react-email/components";
|
|
633
|
-
|
|
634
|
-
// emails/shared/components/comment-component.tsx
|
|
635
|
-
import { Container as Container11, Heading as Heading2, Text as Text11 } from "@react-email/components";
|
|
636
|
-
import { jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
637
|
-
function CommentComponent(props) {
|
|
638
|
-
return /* @__PURE__ */ jsxs11(Container11, { style: { ...container4(props.danger) }, children: [
|
|
639
|
-
/* @__PURE__ */ jsx13(Heading2, { style: title2, children: props.title }),
|
|
640
|
-
/* @__PURE__ */ jsx13(Text11, { style: content, children: props.comment })
|
|
641
|
-
] });
|
|
642
|
-
}
|
|
643
|
-
var container4 = (isDanger) => ({
|
|
644
|
-
...baseContentContainer,
|
|
645
|
-
backgroundColor: isDanger ? "rgba(250,0,0,0.26)" : "#f5f5f5",
|
|
646
|
-
borderRadius: "8px",
|
|
647
|
-
padding: "16px"
|
|
648
|
-
});
|
|
649
|
-
var title2 = {
|
|
650
|
-
...baseText,
|
|
651
|
-
fontWeight: "bold",
|
|
652
|
-
margin: "0"
|
|
653
|
-
};
|
|
654
|
-
var content = {
|
|
655
|
-
...baseText
|
|
703
|
+
return render7(OrderAcceptedBrand(props));
|
|
656
704
|
};
|
|
657
705
|
|
|
658
706
|
// emails/brand/order-cancelled-brand.tsx
|
|
659
|
-
import {
|
|
660
|
-
import {
|
|
707
|
+
import { Body as Body8, Container as Container13, Html as Html8, Link as Link11, Preview as Preview8, Text as Text13 } from "@react-email/components";
|
|
708
|
+
import { render as render8 } from "@react-email/render";
|
|
709
|
+
import { jsx as jsx15, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
661
710
|
function OrderCancelledBrand(props) {
|
|
662
|
-
return /* @__PURE__ */
|
|
663
|
-
/* @__PURE__ */
|
|
664
|
-
/* @__PURE__ */
|
|
665
|
-
/* @__PURE__ */
|
|
666
|
-
/* @__PURE__ */
|
|
667
|
-
/* @__PURE__ */
|
|
668
|
-
/* @__PURE__ */
|
|
669
|
-
/* @__PURE__ */
|
|
711
|
+
return /* @__PURE__ */ jsxs13(Html8, { style: rootStyles, children: [
|
|
712
|
+
/* @__PURE__ */ jsx15(BaseHead, {}),
|
|
713
|
+
/* @__PURE__ */ jsx15(Preview8, { children: "Pedido cancelado \u274C" }),
|
|
714
|
+
/* @__PURE__ */ jsxs13(Body8, { style: { ...main, ...baseContainer }, children: [
|
|
715
|
+
/* @__PURE__ */ jsx15(Header, {}),
|
|
716
|
+
/* @__PURE__ */ jsx15(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
|
|
717
|
+
/* @__PURE__ */ jsxs13(Container13, { style: { ...baseContentContainer }, children: [
|
|
718
|
+
/* @__PURE__ */ jsxs13(Text13, { style: baseText, children: [
|
|
670
719
|
"Ol\xE1, ",
|
|
671
720
|
props.brand.name,
|
|
672
721
|
","
|
|
673
722
|
] }),
|
|
674
|
-
/* @__PURE__ */
|
|
723
|
+
/* @__PURE__ */ jsxs13(Text13, { style: baseText, children: [
|
|
675
724
|
"O",
|
|
676
725
|
" ",
|
|
677
|
-
/* @__PURE__ */
|
|
726
|
+
/* @__PURE__ */ jsxs13(Link11, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: [
|
|
678
727
|
"pedido #",
|
|
679
728
|
props.order.id
|
|
680
729
|
] }),
|
|
681
730
|
" ",
|
|
682
731
|
"foi cancelado \u274C antes da sua conclus\xE3o.",
|
|
683
|
-
/* @__PURE__ */
|
|
732
|
+
/* @__PURE__ */ jsx15("br", {}),
|
|
684
733
|
"O seu pagamento ser\xE1 reembolsado dentro de 24h."
|
|
685
734
|
] })
|
|
686
735
|
] }),
|
|
687
|
-
props.reason && /* @__PURE__ */
|
|
688
|
-
/* @__PURE__ */
|
|
689
|
-
/* @__PURE__ */
|
|
736
|
+
props.reason && /* @__PURE__ */ jsx15("div", { style: reasonContainer2, children: /* @__PURE__ */ jsx15(CommentComponent, { title: "Motivo do cancelamento:", comment: props.reason, danger: true }) }),
|
|
737
|
+
/* @__PURE__ */ jsx15(Container13, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx15(Link11, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO!" }) }),
|
|
738
|
+
/* @__PURE__ */ jsx15(Footer, {})
|
|
690
739
|
] })
|
|
691
740
|
] });
|
|
692
741
|
}
|
|
@@ -699,53 +748,53 @@ OrderCancelledBrand.PreviewProps = {
|
|
|
699
748
|
},
|
|
700
749
|
reason: "O influencer n\xE3o aceitou o pedido."
|
|
701
750
|
};
|
|
702
|
-
var
|
|
751
|
+
var reasonContainer2 = {
|
|
703
752
|
width: "100%",
|
|
704
753
|
padding: "0",
|
|
705
754
|
margin: "30px 0"
|
|
706
755
|
};
|
|
707
756
|
var OrderCancelledBrandText = (props) => {
|
|
708
|
-
return
|
|
757
|
+
return render8(OrderCancelledBrand(props), { plainText: true });
|
|
709
758
|
};
|
|
710
759
|
var OrderCancelledBrandHtml = (props) => {
|
|
711
|
-
return
|
|
760
|
+
return render8(OrderCancelledBrand(props));
|
|
712
761
|
};
|
|
713
762
|
|
|
714
763
|
// emails/brand/order-rejected-brand.tsx
|
|
715
|
-
import { Body as
|
|
716
|
-
import { render as
|
|
717
|
-
import { jsx as
|
|
764
|
+
import { Body as Body9, Container as Container14, Html as Html9, Link as Link12, Preview as Preview9, Text as Text14 } from "@react-email/components";
|
|
765
|
+
import { render as render9 } from "@react-email/render";
|
|
766
|
+
import { jsx as jsx16, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
718
767
|
function OrderRejectedBrand(props) {
|
|
719
|
-
return /* @__PURE__ */
|
|
720
|
-
/* @__PURE__ */
|
|
721
|
-
/* @__PURE__ */
|
|
722
|
-
/* @__PURE__ */
|
|
723
|
-
/* @__PURE__ */
|
|
724
|
-
/* @__PURE__ */
|
|
725
|
-
/* @__PURE__ */
|
|
726
|
-
/* @__PURE__ */
|
|
768
|
+
return /* @__PURE__ */ jsxs14(Html9, { style: rootStyles, children: [
|
|
769
|
+
/* @__PURE__ */ jsx16(BaseHead, {}),
|
|
770
|
+
/* @__PURE__ */ jsx16(Preview9, { children: "Pedido Rejeitado \u274C" }),
|
|
771
|
+
/* @__PURE__ */ jsxs14(Body9, { style: { ...main, ...baseContainer }, children: [
|
|
772
|
+
/* @__PURE__ */ jsx16(Header, {}),
|
|
773
|
+
/* @__PURE__ */ jsx16(UserInfo, { photo: props.creator.photo, name: props.creator.name, userType: "creator" /* CREATOR */, username: props.creator.username }),
|
|
774
|
+
/* @__PURE__ */ jsxs14(Container14, { style: { ...baseContentContainer }, children: [
|
|
775
|
+
/* @__PURE__ */ jsxs14(Text14, { style: baseText, children: [
|
|
727
776
|
"Ol\xE1, ",
|
|
728
777
|
props.brand.name,
|
|
729
778
|
","
|
|
730
779
|
] }),
|
|
731
|
-
/* @__PURE__ */
|
|
780
|
+
/* @__PURE__ */ jsxs14(Text14, { style: baseText, children: [
|
|
732
781
|
"O seu",
|
|
733
782
|
" ",
|
|
734
|
-
/* @__PURE__ */
|
|
783
|
+
/* @__PURE__ */ jsx16(Link12, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: "pedido" }),
|
|
735
784
|
" ",
|
|
736
785
|
"foi rejeitado \u274C pelo criador de conte\xFAdo",
|
|
737
786
|
" ",
|
|
738
|
-
/* @__PURE__ */
|
|
787
|
+
/* @__PURE__ */ jsxs14(Link12, { href: appRoutes.creatorPublicProfile(props.creator.username), style: link, children: [
|
|
739
788
|
props.creator.name,
|
|
740
789
|
"."
|
|
741
790
|
] }),
|
|
742
|
-
/* @__PURE__ */
|
|
791
|
+
/* @__PURE__ */ jsx16("br", {}),
|
|
743
792
|
"O seu pagamento ser\xE1 reembolsado dentro de 72 horas \xFAteis."
|
|
744
793
|
] })
|
|
745
794
|
] }),
|
|
746
|
-
props.reason && /* @__PURE__ */
|
|
747
|
-
/* @__PURE__ */
|
|
748
|
-
/* @__PURE__ */
|
|
795
|
+
props.reason && /* @__PURE__ */ jsx16("div", { style: reasonContainer3, children: /* @__PURE__ */ jsx16(CommentComponent, { title: "Motivo da Rejei\xE7\xE3o", comment: props.reason }) }),
|
|
796
|
+
/* @__PURE__ */ jsx16(Container14, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx16(Link12, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO" }) }),
|
|
797
|
+
/* @__PURE__ */ jsx16(Footer, {})
|
|
749
798
|
] })
|
|
750
799
|
] });
|
|
751
800
|
}
|
|
@@ -766,47 +815,47 @@ OrderRejectedBrand.PreviewProps = {
|
|
|
766
815
|
},
|
|
767
816
|
reason: "N\xE3o me identifiquei com a marca e o produto."
|
|
768
817
|
};
|
|
769
|
-
var
|
|
818
|
+
var reasonContainer3 = {
|
|
770
819
|
width: "100%",
|
|
771
820
|
padding: "0",
|
|
772
821
|
margin: "30px 0"
|
|
773
822
|
};
|
|
774
823
|
var OrderRejectedBrandText = (props) => {
|
|
775
|
-
return
|
|
824
|
+
return render9(OrderRejectedBrand(props), { plainText: true });
|
|
776
825
|
};
|
|
777
826
|
var OrderRejectedBrandHtml = (props) => {
|
|
778
|
-
return
|
|
827
|
+
return render9(OrderRejectedBrand(props));
|
|
779
828
|
};
|
|
780
829
|
|
|
781
830
|
// emails/brand/new-job-created-brand.tsx
|
|
782
|
-
import { Body as
|
|
783
|
-
import { render as
|
|
784
|
-
import { jsx as
|
|
831
|
+
import { Body as Body10, Container as Container15, Html as Html10, Link as Link13, Preview as Preview10, Text as Text15 } from "@react-email/components";
|
|
832
|
+
import { render as render10 } from "@react-email/render";
|
|
833
|
+
import { jsx as jsx17, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
785
834
|
function NewJobCreatedBrand(props) {
|
|
786
|
-
return /* @__PURE__ */
|
|
787
|
-
/* @__PURE__ */
|
|
788
|
-
/* @__PURE__ */
|
|
789
|
-
/* @__PURE__ */
|
|
790
|
-
/* @__PURE__ */
|
|
791
|
-
/* @__PURE__ */
|
|
792
|
-
/* @__PURE__ */
|
|
835
|
+
return /* @__PURE__ */ jsxs15(Html10, { style: rootStyles, children: [
|
|
836
|
+
/* @__PURE__ */ jsx17(BaseHead, {}),
|
|
837
|
+
/* @__PURE__ */ jsx17(Preview10, { children: "Novo Job Publicado" }),
|
|
838
|
+
/* @__PURE__ */ jsxs15(Body10, { style: { ...main, ...baseContainer }, children: [
|
|
839
|
+
/* @__PURE__ */ jsx17(Header, {}),
|
|
840
|
+
/* @__PURE__ */ jsxs15(Container15, { style: { ...baseContentContainer }, children: [
|
|
841
|
+
/* @__PURE__ */ jsxs15(Text15, { style: baseText, children: [
|
|
793
842
|
"Ol\xE1, ",
|
|
794
843
|
props.brand.name,
|
|
795
844
|
","
|
|
796
845
|
] }),
|
|
797
|
-
/* @__PURE__ */
|
|
846
|
+
/* @__PURE__ */ jsxs15(Text15, { style: baseText, children: [
|
|
798
847
|
"Parab\xE9ns \u{1F389}, publicou com sucesso o novo job para a campanha ",
|
|
799
|
-
/* @__PURE__ */
|
|
848
|
+
/* @__PURE__ */ jsxs15("span", { style: link, children: [
|
|
800
849
|
props.campaign.name,
|
|
801
850
|
"."
|
|
802
851
|
] }),
|
|
803
|
-
/* @__PURE__ */
|
|
852
|
+
/* @__PURE__ */ jsx17("br", {}),
|
|
804
853
|
" Por favor, revise os detalhes abaixo \u{1F680}:"
|
|
805
854
|
] })
|
|
806
855
|
] }),
|
|
807
|
-
/* @__PURE__ */
|
|
808
|
-
/* @__PURE__ */
|
|
809
|
-
/* @__PURE__ */
|
|
856
|
+
/* @__PURE__ */ jsx17(Container15, { style: jobDetails, children: /* @__PURE__ */ jsx17(NewOrderInfo, { orderCreatedAt: props.job.createdAt, packageName: props.campaign.name, packagePrice: props.job.jobCommission }) }),
|
|
857
|
+
/* @__PURE__ */ jsx17(Container15, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx17(Link13, { href: appRoutes.brandJobDetails(props.job.id), style: { ...button, width: "120px" }, children: "VER JOB" }) }),
|
|
858
|
+
/* @__PURE__ */ jsx17(Footer, {})
|
|
810
859
|
] })
|
|
811
860
|
] });
|
|
812
861
|
}
|
|
@@ -830,39 +879,39 @@ var jobDetails = {
|
|
|
830
879
|
marginBottom: "40px"
|
|
831
880
|
};
|
|
832
881
|
var NewJobCreatedBrandText = (props) => {
|
|
833
|
-
return
|
|
882
|
+
return render10(NewJobCreatedBrand(props), { plainText: true });
|
|
834
883
|
};
|
|
835
884
|
var NewJobCreatedBrandHtml = (props) => {
|
|
836
|
-
return
|
|
885
|
+
return render10(NewJobCreatedBrand(props));
|
|
837
886
|
};
|
|
838
887
|
|
|
839
888
|
// emails/brand/new-job-application-received-brand.tsx
|
|
840
|
-
import { Body as
|
|
841
|
-
import { render as
|
|
842
|
-
import { jsx as
|
|
889
|
+
import { Body as Body11, Container as Container16, Html as Html11, Link as Link14, Preview as Preview11, Text as Text16 } from "@react-email/components";
|
|
890
|
+
import { render as render11 } from "@react-email/render";
|
|
891
|
+
import { jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
843
892
|
function NewJobApplicationsReceivedBrand(props) {
|
|
844
|
-
return /* @__PURE__ */
|
|
845
|
-
/* @__PURE__ */
|
|
846
|
-
/* @__PURE__ */
|
|
847
|
-
/* @__PURE__ */
|
|
848
|
-
/* @__PURE__ */
|
|
849
|
-
/* @__PURE__ */
|
|
850
|
-
/* @__PURE__ */
|
|
893
|
+
return /* @__PURE__ */ jsxs16(Html11, { style: rootStyles, children: [
|
|
894
|
+
/* @__PURE__ */ jsx18(BaseHead, {}),
|
|
895
|
+
/* @__PURE__ */ jsx18(Preview11, { children: "Nova Candidatura Recebida para o Job" }),
|
|
896
|
+
/* @__PURE__ */ jsxs16(Body11, { style: { ...main, ...baseContainer }, children: [
|
|
897
|
+
/* @__PURE__ */ jsx18(Header, {}),
|
|
898
|
+
/* @__PURE__ */ jsxs16(Container16, { style: { ...baseContentContainer }, children: [
|
|
899
|
+
/* @__PURE__ */ jsxs16(Text16, { style: baseText, children: [
|
|
851
900
|
"Ol\xE1, ",
|
|
852
901
|
props.brand.name,
|
|
853
902
|
","
|
|
854
903
|
] }),
|
|
855
|
-
/* @__PURE__ */
|
|
904
|
+
/* @__PURE__ */ jsxs16(Text16, { style: baseText, children: [
|
|
856
905
|
"Voc\xEA recebeu uma nova candidatura para o job da campanha ",
|
|
857
|
-
/* @__PURE__ */
|
|
906
|
+
/* @__PURE__ */ jsxs16("span", { style: link, children: [
|
|
858
907
|
props.campaign.name,
|
|
859
908
|
"."
|
|
860
909
|
] }),
|
|
861
|
-
/* @__PURE__ */
|
|
910
|
+
/* @__PURE__ */ jsx18("br", {}),
|
|
862
911
|
" Revise os detalhes da candidatura abaixo \u{1F680}:"
|
|
863
912
|
] })
|
|
864
913
|
] }),
|
|
865
|
-
/* @__PURE__ */
|
|
914
|
+
/* @__PURE__ */ jsx18(
|
|
866
915
|
UserInfo,
|
|
867
916
|
{
|
|
868
917
|
photo: props.creatorCandidate.photo,
|
|
@@ -871,20 +920,20 @@ function NewJobApplicationsReceivedBrand(props) {
|
|
|
871
920
|
username: props.creatorCandidate.username
|
|
872
921
|
}
|
|
873
922
|
),
|
|
874
|
-
/* @__PURE__ */
|
|
875
|
-
/* @__PURE__ */
|
|
876
|
-
/* @__PURE__ */
|
|
923
|
+
/* @__PURE__ */ jsxs16(Container16, { style: jobDetails2, children: [
|
|
924
|
+
/* @__PURE__ */ jsxs16(Text16, { style: baseText, children: [
|
|
925
|
+
/* @__PURE__ */ jsx18("strong", { children: "Or\xE7amento desejado:" }),
|
|
877
926
|
" ",
|
|
878
927
|
props.jobApplication.desired_budget ? `MZN ${props.jobApplication.desired_budget}` : "N\xE3o informado"
|
|
879
928
|
] }),
|
|
880
|
-
/* @__PURE__ */
|
|
881
|
-
/* @__PURE__ */
|
|
929
|
+
/* @__PURE__ */ jsxs16(Text16, { style: baseText, children: [
|
|
930
|
+
/* @__PURE__ */ jsx18("strong", { children: "Observa\xE7\xF5es:" }),
|
|
882
931
|
" ",
|
|
883
932
|
props.jobApplication.observations || "Nenhuma observa\xE7\xE3o"
|
|
884
933
|
] })
|
|
885
934
|
] }),
|
|
886
|
-
/* @__PURE__ */
|
|
887
|
-
/* @__PURE__ */
|
|
935
|
+
/* @__PURE__ */ jsx18(Container16, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx18(Link14, { href: appRoutes.brandJobDetails(props.job.id), style: { ...button }, children: "VER CANDIDATURA" }) }),
|
|
936
|
+
/* @__PURE__ */ jsx18(Footer, {})
|
|
888
937
|
] })
|
|
889
938
|
] });
|
|
890
939
|
}
|
|
@@ -917,40 +966,40 @@ var jobDetails2 = {
|
|
|
917
966
|
marginBottom: "40px"
|
|
918
967
|
};
|
|
919
968
|
var NewJobApplicationsReceivedBrandText = (props) => {
|
|
920
|
-
return
|
|
969
|
+
return render11(NewJobApplicationsReceivedBrand(props), { plainText: true });
|
|
921
970
|
};
|
|
922
971
|
var NewJobApplicationsReceivedBrandHtml = (props) => {
|
|
923
|
-
return
|
|
972
|
+
return render11(NewJobApplicationsReceivedBrand(props));
|
|
924
973
|
};
|
|
925
974
|
|
|
926
975
|
// emails/creator/evidences-approved-creator.tsx
|
|
927
|
-
import { Body as
|
|
928
|
-
import { render as
|
|
929
|
-
import { jsx as
|
|
976
|
+
import { Body as Body12, Container as Container17, Html as Html12, Link as Link15, Preview as Preview12, Text as Text17 } from "@react-email/components";
|
|
977
|
+
import { render as render12 } from "@react-email/render";
|
|
978
|
+
import { jsx as jsx19, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
930
979
|
function EvidenceApprovedCreator(props) {
|
|
931
|
-
return /* @__PURE__ */
|
|
932
|
-
/* @__PURE__ */
|
|
933
|
-
/* @__PURE__ */
|
|
934
|
-
/* @__PURE__ */
|
|
935
|
-
/* @__PURE__ */
|
|
936
|
-
/* @__PURE__ */
|
|
937
|
-
/* @__PURE__ */
|
|
938
|
-
/* @__PURE__ */
|
|
980
|
+
return /* @__PURE__ */ jsxs17(Html12, { style: rootStyles, children: [
|
|
981
|
+
/* @__PURE__ */ jsx19(BaseHead, {}),
|
|
982
|
+
/* @__PURE__ */ jsx19(Preview12, { children: "Material de Entrega aprovado \u2705" }),
|
|
983
|
+
/* @__PURE__ */ jsxs17(Body12, { style: { ...main, ...baseContainer }, children: [
|
|
984
|
+
/* @__PURE__ */ jsx19(Header, {}),
|
|
985
|
+
/* @__PURE__ */ jsx19(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
|
|
986
|
+
/* @__PURE__ */ jsxs17(Container17, { style: { ...baseContentContainer }, children: [
|
|
987
|
+
/* @__PURE__ */ jsxs17(Text17, { style: baseText, children: [
|
|
939
988
|
"Ol\xE1, ",
|
|
940
989
|
props.creator.name,
|
|
941
990
|
" \u{1F38A},"
|
|
942
991
|
] }),
|
|
943
|
-
/* @__PURE__ */
|
|
992
|
+
/* @__PURE__ */ jsxs17(Text17, { style: baseText, children: [
|
|
944
993
|
"Actualiza\xE7\xF5es, o",
|
|
945
994
|
" ",
|
|
946
|
-
/* @__PURE__ */
|
|
995
|
+
/* @__PURE__ */ jsx19(Link15, { href: appRoutes.creatorOrderDetails(props.evidenceLink), target: "_blank", style: link, children: "material de entrega" }),
|
|
947
996
|
" ",
|
|
948
997
|
"que submeteste foi aprovado pela marca \u{1F389}."
|
|
949
998
|
] }),
|
|
950
|
-
/* @__PURE__ */
|
|
999
|
+
/* @__PURE__ */ jsx19(Text17, { 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" })
|
|
951
1000
|
] }),
|
|
952
|
-
/* @__PURE__ */
|
|
953
|
-
/* @__PURE__ */
|
|
1001
|
+
/* @__PURE__ */ jsx19(Container17, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ jsx19(Link15, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
|
|
1002
|
+
/* @__PURE__ */ jsx19(Footer, {})
|
|
954
1003
|
] })
|
|
955
1004
|
] });
|
|
956
1005
|
}
|
|
@@ -968,42 +1017,42 @@ EvidenceApprovedCreator.PreviewProps = {
|
|
|
968
1017
|
evidenceLink: "https://www.youtube.com/test_video"
|
|
969
1018
|
};
|
|
970
1019
|
var EvidenceApprovedCreatorText = (props) => {
|
|
971
|
-
return
|
|
1020
|
+
return render12(EvidenceApprovedCreator(props), { plainText: true });
|
|
972
1021
|
};
|
|
973
1022
|
var EvidenceApprovedCreatorHtml = (props) => {
|
|
974
|
-
return
|
|
1023
|
+
return render12(EvidenceApprovedCreator(props));
|
|
975
1024
|
};
|
|
976
1025
|
|
|
977
1026
|
// emails/creator/evidences-rejected-creator.tsx
|
|
978
|
-
import { Body as
|
|
979
|
-
import { render as
|
|
980
|
-
import { jsx as
|
|
1027
|
+
import { Body as Body13, Container as Container18, Html as Html13, Link as Link16, Preview as Preview13, Text as Text18 } from "@react-email/components";
|
|
1028
|
+
import { render as render13 } from "@react-email/render";
|
|
1029
|
+
import { jsx as jsx20, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
981
1030
|
function EvidencesRejectedCreator(props) {
|
|
982
|
-
return /* @__PURE__ */
|
|
983
|
-
/* @__PURE__ */
|
|
984
|
-
/* @__PURE__ */
|
|
985
|
-
/* @__PURE__ */
|
|
986
|
-
/* @__PURE__ */
|
|
987
|
-
/* @__PURE__ */
|
|
988
|
-
/* @__PURE__ */
|
|
989
|
-
/* @__PURE__ */
|
|
1031
|
+
return /* @__PURE__ */ jsxs18(Html13, { style: rootStyles, children: [
|
|
1032
|
+
/* @__PURE__ */ jsx20(BaseHead, {}),
|
|
1033
|
+
/* @__PURE__ */ jsx20(Preview13, { children: "Evi\xEAncia rejeitada \u274C" }),
|
|
1034
|
+
/* @__PURE__ */ jsxs18(Body13, { style: { ...main, ...baseContainer }, children: [
|
|
1035
|
+
/* @__PURE__ */ jsx20(Header, {}),
|
|
1036
|
+
/* @__PURE__ */ jsx20(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
|
|
1037
|
+
/* @__PURE__ */ jsxs18(Container18, { style: { ...baseContentContainer }, children: [
|
|
1038
|
+
/* @__PURE__ */ jsxs18(Text18, { style: baseText, children: [
|
|
990
1039
|
"Ol\xE1, ",
|
|
991
1040
|
props.creator.name,
|
|
992
1041
|
","
|
|
993
1042
|
] }),
|
|
994
|
-
/* @__PURE__ */
|
|
1043
|
+
/* @__PURE__ */ jsxs18(Text18, { style: baseText, children: [
|
|
995
1044
|
"O",
|
|
996
1045
|
" ",
|
|
997
|
-
/* @__PURE__ */
|
|
1046
|
+
/* @__PURE__ */ jsx20(Link16, { href: props.evidenceLink, target: "_blank", style: link, children: "material de entrega" }),
|
|
998
1047
|
" ",
|
|
999
1048
|
"foi rejeitada \u274C pela marca.",
|
|
1000
|
-
/* @__PURE__ */
|
|
1049
|
+
/* @__PURE__ */ jsx20("br", {}),
|
|
1001
1050
|
"Por favor, reveja o motivo da rejei\xE7\xE3o e submeta novamente."
|
|
1002
1051
|
] })
|
|
1003
1052
|
] }),
|
|
1004
|
-
props.reason && /* @__PURE__ */
|
|
1005
|
-
/* @__PURE__ */
|
|
1006
|
-
/* @__PURE__ */
|
|
1053
|
+
props.reason && /* @__PURE__ */ jsx20("div", { style: reasonContainer4, children: /* @__PURE__ */ jsx20(CommentComponent, { title: "Motivo da rejei\xE7\xE3o:", comment: props.reason, danger: true }) }),
|
|
1054
|
+
/* @__PURE__ */ jsx20(Container18, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx20(Link16, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "200px" }, children: "VER PEDIDO" }) }),
|
|
1055
|
+
/* @__PURE__ */ jsx20(Footer, {})
|
|
1007
1056
|
] })
|
|
1008
1057
|
] });
|
|
1009
1058
|
}
|
|
@@ -1021,51 +1070,51 @@ EvidencesRejectedCreator.PreviewProps = {
|
|
|
1021
1070
|
evidenceLink: "https://www.youtube.com/watch?v=123",
|
|
1022
1071
|
reason: "Conte\xFAdo n\xE3o cumpre com as diretrizes da marca."
|
|
1023
1072
|
};
|
|
1024
|
-
var
|
|
1073
|
+
var reasonContainer4 = {
|
|
1025
1074
|
width: "100%",
|
|
1026
1075
|
padding: "0",
|
|
1027
1076
|
margin: "30px 0"
|
|
1028
1077
|
};
|
|
1029
1078
|
var EvidencesRejectedCreatorText = (props) => {
|
|
1030
|
-
return
|
|
1079
|
+
return render13(EvidencesRejectedCreator(props), { plainText: true });
|
|
1031
1080
|
};
|
|
1032
1081
|
var EvidencesRejectedCreatorHtml = (props) => {
|
|
1033
|
-
return
|
|
1082
|
+
return render13(EvidencesRejectedCreator(props));
|
|
1034
1083
|
};
|
|
1035
1084
|
|
|
1036
1085
|
// emails/creator/order-cancelled-creator.tsx
|
|
1037
|
-
import { Body as
|
|
1038
|
-
import { render as
|
|
1039
|
-
import { jsx as
|
|
1086
|
+
import { Body as Body14, Container as Container19, Html as Html14, Link as Link17, Preview as Preview14, Text as Text19 } from "@react-email/components";
|
|
1087
|
+
import { render as render14 } from "@react-email/render";
|
|
1088
|
+
import { jsx as jsx21, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1040
1089
|
function OrderCancelledCreator(props) {
|
|
1041
|
-
return /* @__PURE__ */
|
|
1042
|
-
/* @__PURE__ */
|
|
1043
|
-
/* @__PURE__ */
|
|
1044
|
-
/* @__PURE__ */
|
|
1045
|
-
/* @__PURE__ */
|
|
1046
|
-
/* @__PURE__ */
|
|
1047
|
-
/* @__PURE__ */
|
|
1048
|
-
/* @__PURE__ */
|
|
1090
|
+
return /* @__PURE__ */ jsxs19(Html14, { style: rootStyles, children: [
|
|
1091
|
+
/* @__PURE__ */ jsx21(BaseHead, {}),
|
|
1092
|
+
/* @__PURE__ */ jsx21(Preview14, { children: "Pedido cancelado \u274C" }),
|
|
1093
|
+
/* @__PURE__ */ jsxs19(Body14, { style: { ...main, ...baseContainer }, children: [
|
|
1094
|
+
/* @__PURE__ */ jsx21(Header, {}),
|
|
1095
|
+
/* @__PURE__ */ jsx21(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
|
|
1096
|
+
/* @__PURE__ */ jsxs19(Container19, { style: { ...baseContentContainer }, children: [
|
|
1097
|
+
/* @__PURE__ */ jsxs19(Text19, { style: baseText, children: [
|
|
1049
1098
|
"Ol\xE1, ",
|
|
1050
1099
|
props.creator.name,
|
|
1051
1100
|
","
|
|
1052
1101
|
] }),
|
|
1053
|
-
/* @__PURE__ */
|
|
1102
|
+
/* @__PURE__ */ jsxs19(Text19, { style: baseText, children: [
|
|
1054
1103
|
"Infelizmente o",
|
|
1055
1104
|
" ",
|
|
1056
|
-
/* @__PURE__ */
|
|
1105
|
+
/* @__PURE__ */ jsxs19(Link17, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
|
|
1057
1106
|
"pedido #",
|
|
1058
1107
|
props.order.id
|
|
1059
1108
|
] }),
|
|
1060
1109
|
" ",
|
|
1061
1110
|
"foi cancelado \u274C antes da sua conclus\xE3o.",
|
|
1062
|
-
/* @__PURE__ */
|
|
1111
|
+
/* @__PURE__ */ jsx21("br", {}),
|
|
1063
1112
|
"Agradecemos a sua disponibilidade e esperamos que a pr\xF3xima oportunidade seja um sucesso \u{1F44C}\u{1F3FD}\u{1F44C}\u{1F3FD}!"
|
|
1064
1113
|
] })
|
|
1065
1114
|
] }),
|
|
1066
|
-
props.reason && /* @__PURE__ */
|
|
1067
|
-
/* @__PURE__ */
|
|
1068
|
-
/* @__PURE__ */
|
|
1115
|
+
props.reason && /* @__PURE__ */ jsx21("div", { style: reasonContainer5, children: /* @__PURE__ */ jsx21(CommentComponent, { title: "Motivo do cancelamento:", comment: props.reason, danger: true }) }),
|
|
1116
|
+
/* @__PURE__ */ jsx21(Container19, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx21(Link17, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
|
|
1117
|
+
/* @__PURE__ */ jsx21(Footer, {})
|
|
1069
1118
|
] })
|
|
1070
1119
|
] });
|
|
1071
1120
|
}
|
|
@@ -1078,49 +1127,49 @@ OrderCancelledCreator.PreviewProps = {
|
|
|
1078
1127
|
},
|
|
1079
1128
|
reason: "A marca desistiu do pedido."
|
|
1080
1129
|
};
|
|
1081
|
-
var
|
|
1130
|
+
var reasonContainer5 = {
|
|
1082
1131
|
width: "100%",
|
|
1083
1132
|
padding: "0",
|
|
1084
1133
|
margin: "30px 0"
|
|
1085
1134
|
};
|
|
1086
1135
|
var OrderCancelledCreatorText = (props) => {
|
|
1087
|
-
return
|
|
1136
|
+
return render14(OrderCancelledCreator(props), { plainText: true });
|
|
1088
1137
|
};
|
|
1089
1138
|
var OrderCancelledCreatorHtml = (props) => {
|
|
1090
|
-
return
|
|
1139
|
+
return render14(OrderCancelledCreator(props));
|
|
1091
1140
|
};
|
|
1092
1141
|
|
|
1093
1142
|
// emails/creator/order-payment-creator.tsx
|
|
1094
|
-
import { Body as
|
|
1095
|
-
import { render as
|
|
1096
|
-
import { jsx as
|
|
1143
|
+
import { Body as Body15, Container as Container20, Html as Html15, Link as Link18, Preview as Preview15, Text as Text20 } from "@react-email/components";
|
|
1144
|
+
import { render as render15 } from "@react-email/render";
|
|
1145
|
+
import { jsx as jsx22, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1097
1146
|
function OrderPaymentCreator(props) {
|
|
1098
|
-
return /* @__PURE__ */
|
|
1099
|
-
/* @__PURE__ */
|
|
1100
|
-
/* @__PURE__ */
|
|
1101
|
-
/* @__PURE__ */
|
|
1102
|
-
/* @__PURE__ */
|
|
1103
|
-
/* @__PURE__ */
|
|
1104
|
-
/* @__PURE__ */
|
|
1105
|
-
/* @__PURE__ */
|
|
1147
|
+
return /* @__PURE__ */ jsxs20(Html15, { style: rootStyles, children: [
|
|
1148
|
+
/* @__PURE__ */ jsx22(BaseHead, {}),
|
|
1149
|
+
/* @__PURE__ */ jsx22(Preview15, { children: "Pagamento Liberado \u2705" }),
|
|
1150
|
+
/* @__PURE__ */ jsxs20(Body15, { style: { ...main, ...baseContainer }, children: [
|
|
1151
|
+
/* @__PURE__ */ jsx22(Header, {}),
|
|
1152
|
+
/* @__PURE__ */ jsx22(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
|
|
1153
|
+
/* @__PURE__ */ jsxs20(Container20, { style: { ...baseContentContainer }, children: [
|
|
1154
|
+
/* @__PURE__ */ jsxs20(Text20, { style: baseText, children: [
|
|
1106
1155
|
"Ol\xE1, ",
|
|
1107
1156
|
props.creator.name,
|
|
1108
1157
|
" \u{1F38A},"
|
|
1109
1158
|
] }),
|
|
1110
|
-
/* @__PURE__ */
|
|
1159
|
+
/* @__PURE__ */ jsxs20(Text20, { style: baseText, children: [
|
|
1111
1160
|
"Boas Not\xEDcias \u{1F389}, est\xE1 em processamento o pagamento da",
|
|
1112
1161
|
" ",
|
|
1113
|
-
/* @__PURE__ */
|
|
1162
|
+
/* @__PURE__ */ jsxs20(Link18, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
|
|
1114
1163
|
"ordem #",
|
|
1115
1164
|
props.order.id
|
|
1116
1165
|
] }),
|
|
1117
1166
|
" "
|
|
1118
1167
|
] }),
|
|
1119
|
-
/* @__PURE__ */
|
|
1168
|
+
/* @__PURE__ */ jsx22(Text20, { style: baseText, children: "Espera-se que dentro de 24h o pagamento seja conclu\xEDdo, agradecemos por confiar na Promote." })
|
|
1120
1169
|
] }),
|
|
1121
|
-
/* @__PURE__ */
|
|
1122
|
-
/* @__PURE__ */
|
|
1123
|
-
/* @__PURE__ */
|
|
1170
|
+
/* @__PURE__ */ jsx22(PaymentAmount, { totalAmount: props.totalAmount }),
|
|
1171
|
+
/* @__PURE__ */ jsx22(Container20, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ jsx22(Link18, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
|
|
1172
|
+
/* @__PURE__ */ jsx22(Footer, {})
|
|
1124
1173
|
] })
|
|
1125
1174
|
] });
|
|
1126
1175
|
}
|
|
@@ -1134,40 +1183,40 @@ OrderPaymentCreator.PreviewProps = {
|
|
|
1134
1183
|
totalAmount: "1000,00"
|
|
1135
1184
|
};
|
|
1136
1185
|
var OrderPaymentCreatorText = (props) => {
|
|
1137
|
-
return
|
|
1186
|
+
return render15(OrderPaymentCreator(props), { plainText: true });
|
|
1138
1187
|
};
|
|
1139
1188
|
var OrderPaymentCreatorHtml = (props) => {
|
|
1140
|
-
return
|
|
1189
|
+
return render15(OrderPaymentCreator(props));
|
|
1141
1190
|
};
|
|
1142
1191
|
|
|
1143
1192
|
// emails/creator/new-order-created-creator.tsx
|
|
1144
|
-
import { Body as
|
|
1145
|
-
import { render as
|
|
1146
|
-
import { jsx as
|
|
1193
|
+
import { Body as Body16, Container as Container21, Html as Html16, Link as Link19, Preview as Preview16, Text as Text21 } from "@react-email/components";
|
|
1194
|
+
import { render as render16 } from "@react-email/render";
|
|
1195
|
+
import { jsx as jsx23, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
1147
1196
|
function NewOrderCreatedCreator(props) {
|
|
1148
|
-
return /* @__PURE__ */
|
|
1149
|
-
/* @__PURE__ */
|
|
1150
|
-
/* @__PURE__ */
|
|
1151
|
-
/* @__PURE__ */
|
|
1152
|
-
/* @__PURE__ */
|
|
1153
|
-
/* @__PURE__ */
|
|
1154
|
-
/* @__PURE__ */
|
|
1155
|
-
/* @__PURE__ */
|
|
1197
|
+
return /* @__PURE__ */ jsxs21(Html16, { style: rootStyles, children: [
|
|
1198
|
+
/* @__PURE__ */ jsx23(BaseHead, {}),
|
|
1199
|
+
/* @__PURE__ */ jsx23(Preview16, { children: "Novo Pedido Recebido" }),
|
|
1200
|
+
/* @__PURE__ */ jsxs21(Body16, { style: { ...main, ...baseContainer }, children: [
|
|
1201
|
+
/* @__PURE__ */ jsx23(Header, {}),
|
|
1202
|
+
/* @__PURE__ */ jsx23(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
|
|
1203
|
+
/* @__PURE__ */ jsxs21(Container21, { style: { ...baseContentContainer }, children: [
|
|
1204
|
+
/* @__PURE__ */ jsxs21(Text21, { style: baseText, children: [
|
|
1156
1205
|
"Ol\xE1, ",
|
|
1157
1206
|
props.creator.name,
|
|
1158
1207
|
","
|
|
1159
1208
|
] }),
|
|
1160
|
-
/* @__PURE__ */
|
|
1209
|
+
/* @__PURE__ */ jsxs21(Text21, { style: baseText, children: [
|
|
1161
1210
|
"Parab\xE9ns \u{1F389}, voc\xEA recebeu um novo pedido da empresa ",
|
|
1162
|
-
/* @__PURE__ */
|
|
1211
|
+
/* @__PURE__ */ jsx23("span", { style: { color: colors.primary }, children: props.brand.name }),
|
|
1163
1212
|
".",
|
|
1164
|
-
/* @__PURE__ */
|
|
1213
|
+
/* @__PURE__ */ jsx23("br", {}),
|
|
1165
1214
|
" Por favor, revise os detalhes abaixo \u{1F680}:"
|
|
1166
1215
|
] })
|
|
1167
1216
|
] }),
|
|
1168
|
-
/* @__PURE__ */
|
|
1169
|
-
/* @__PURE__ */
|
|
1170
|
-
/* @__PURE__ */
|
|
1217
|
+
/* @__PURE__ */ jsx23(Container21, { style: orderDetails2, children: /* @__PURE__ */ jsx23(NewOrderInfo, { orderCreatedAt: props.order.createdAt, packageName: props.package.name, packagePrice: props.package.price }) }),
|
|
1218
|
+
/* @__PURE__ */ jsx23(Container21, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx23(Link19, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO" }) }),
|
|
1219
|
+
/* @__PURE__ */ jsx23(Footer, {})
|
|
1171
1220
|
] })
|
|
1172
1221
|
] });
|
|
1173
1222
|
}
|
|
@@ -1194,44 +1243,44 @@ var orderDetails2 = {
|
|
|
1194
1243
|
marginBottom: "40px"
|
|
1195
1244
|
};
|
|
1196
1245
|
var NewOrderCreatedCreatorText = (props) => {
|
|
1197
|
-
return
|
|
1246
|
+
return render16(NewOrderCreatedCreator(props), { plainText: true });
|
|
1198
1247
|
};
|
|
1199
1248
|
var NewOrderCreatedCreatorHtml = (props) => {
|
|
1200
|
-
return
|
|
1249
|
+
return render16(NewOrderCreatedCreator(props));
|
|
1201
1250
|
};
|
|
1202
1251
|
|
|
1203
1252
|
// emails/creator/new-job-application-unapproved-creator.tsx
|
|
1204
|
-
import { Body as
|
|
1205
|
-
import { render as
|
|
1206
|
-
import { jsx as
|
|
1253
|
+
import { Body as Body17, Container as Container22, Html as Html17, Link as Link20, Preview as Preview17, Text as Text22 } from "@react-email/components";
|
|
1254
|
+
import { render as render17 } from "@react-email/render";
|
|
1255
|
+
import { jsx as jsx24, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
1207
1256
|
function NewJobApplicationUnapprovedCreator(props) {
|
|
1208
|
-
return /* @__PURE__ */
|
|
1209
|
-
/* @__PURE__ */
|
|
1210
|
-
/* @__PURE__ */
|
|
1211
|
-
/* @__PURE__ */
|
|
1212
|
-
/* @__PURE__ */
|
|
1213
|
-
/* @__PURE__ */
|
|
1214
|
-
/* @__PURE__ */
|
|
1257
|
+
return /* @__PURE__ */ jsxs22(Html17, { style: rootStyles, children: [
|
|
1258
|
+
/* @__PURE__ */ jsx24(BaseHead, {}),
|
|
1259
|
+
/* @__PURE__ */ jsx24(Preview17, { children: "Actualiza\xE7\xE3o sobre sua candidatura ao job" }),
|
|
1260
|
+
/* @__PURE__ */ jsxs22(Body17, { style: { ...main, ...baseContainer }, children: [
|
|
1261
|
+
/* @__PURE__ */ jsx24(Header, {}),
|
|
1262
|
+
/* @__PURE__ */ jsxs22(Container22, { style: { ...baseContentContainer }, children: [
|
|
1263
|
+
/* @__PURE__ */ jsxs22(Text22, { style: baseText2, children: [
|
|
1215
1264
|
"Ol\xE1, ",
|
|
1216
1265
|
props.creator.name,
|
|
1217
1266
|
","
|
|
1218
1267
|
] }),
|
|
1219
|
-
/* @__PURE__ */
|
|
1268
|
+
/* @__PURE__ */ jsxs22(Text22, { style: baseText2, children: [
|
|
1220
1269
|
"Infelizmente, sua candidatura para o job da campanha ",
|
|
1221
|
-
/* @__PURE__ */
|
|
1270
|
+
/* @__PURE__ */ jsx24("span", { style: link, children: props.campaign.name }),
|
|
1222
1271
|
" n\xE3o foi aprovada.",
|
|
1223
|
-
/* @__PURE__ */
|
|
1272
|
+
/* @__PURE__ */ jsx24("br", {}),
|
|
1224
1273
|
"Agradecemos por seu interesse e participa\xE7\xE3o!"
|
|
1225
1274
|
] }),
|
|
1226
|
-
props.jobApplication.rejectionReason && /* @__PURE__ */
|
|
1227
|
-
/* @__PURE__ */
|
|
1275
|
+
props.jobApplication.rejectionReason && /* @__PURE__ */ jsxs22(Text22, { style: baseText2, children: [
|
|
1276
|
+
/* @__PURE__ */ jsx24("strong", { children: "Motivo:" }),
|
|
1228
1277
|
" ",
|
|
1229
1278
|
props.jobApplication.rejectionReason
|
|
1230
1279
|
] }),
|
|
1231
|
-
/* @__PURE__ */
|
|
1280
|
+
/* @__PURE__ */ jsx24(Text22, { style: baseText2, children: "N\xE3o desanime! Continue acompanhando outras oportunidades que possam surgir na plataforma. \u{1F680}" })
|
|
1232
1281
|
] }),
|
|
1233
|
-
/* @__PURE__ */
|
|
1234
|
-
/* @__PURE__ */
|
|
1282
|
+
/* @__PURE__ */ jsx24(Container22, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx24(Link20, { href: appRoutes.jobsList, style: { ...button }, children: "VER OUTRAS OPORTUNIDADES" }) }),
|
|
1283
|
+
/* @__PURE__ */ jsx24(Footer, {})
|
|
1235
1284
|
] })
|
|
1236
1285
|
] });
|
|
1237
1286
|
}
|
|
@@ -1255,16 +1304,16 @@ var baseText2 = {
|
|
|
1255
1304
|
color: "#333"
|
|
1256
1305
|
};
|
|
1257
1306
|
var NewJobApplicationUnapprovedCreatorText = (props) => {
|
|
1258
|
-
return
|
|
1307
|
+
return render17(NewJobApplicationUnapprovedCreator(props), { plainText: true });
|
|
1259
1308
|
};
|
|
1260
1309
|
var NewJobApplicationUnapprovedCreatorHtml = (props) => {
|
|
1261
|
-
return
|
|
1310
|
+
return render17(NewJobApplicationUnapprovedCreator(props));
|
|
1262
1311
|
};
|
|
1263
1312
|
|
|
1264
1313
|
// emails/all/welcome.tsx
|
|
1265
|
-
import { Body as
|
|
1266
|
-
import { render as
|
|
1267
|
-
import { jsx as
|
|
1314
|
+
import { Body as Body18, Container as Container23, Heading as Heading3, Html as Html18, Img as Img4, Link as Link21, Preview as Preview18, Text as Text23 } from "@react-email/components";
|
|
1315
|
+
import { render as render18 } from "@react-email/render";
|
|
1316
|
+
import { jsx as jsx25, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
1268
1317
|
function Welcome({ name, userType }) {
|
|
1269
1318
|
const content2 = {
|
|
1270
1319
|
["brand" /* BRAND */]: {
|
|
@@ -1282,31 +1331,31 @@ Como Criador, vais poder conectar-te com marcas e ag\xEAncias, mostrar o teu tal
|
|
|
1282
1331
|
Agradecemos pelo teu registo e vamos manter-te informado sobre novidades e o lan\xE7amento oficial.`
|
|
1283
1332
|
}
|
|
1284
1333
|
};
|
|
1285
|
-
return /* @__PURE__ */
|
|
1286
|
-
/* @__PURE__ */
|
|
1287
|
-
/* @__PURE__ */
|
|
1288
|
-
/* @__PURE__ */
|
|
1289
|
-
/* @__PURE__ */
|
|
1290
|
-
/* @__PURE__ */
|
|
1291
|
-
/* @__PURE__ */
|
|
1334
|
+
return /* @__PURE__ */ jsxs23(Html18, { style: rootStyles, children: [
|
|
1335
|
+
/* @__PURE__ */ jsx25(BaseHead, {}),
|
|
1336
|
+
/* @__PURE__ */ jsx25(Preview18, { children: "Bem-vindo \xE0 Promote" }),
|
|
1337
|
+
/* @__PURE__ */ jsxs23(Body18, { style: { ...main, ...baseContainer }, children: [
|
|
1338
|
+
/* @__PURE__ */ jsxs23(Container23, { style: headContainer, children: [
|
|
1339
|
+
/* @__PURE__ */ jsx25(Img4, { src: `${assetsBasePath}/icons/logo-icon.png`, alt: "Promote Logo", style: promoteLogo }),
|
|
1340
|
+
/* @__PURE__ */ jsx25(Img4, { src: `${assetsBasePath}/icons/welcome-title.png`, alt: "Bem-vindo \xE0 Promote", style: welcomeImage })
|
|
1292
1341
|
] }),
|
|
1293
|
-
/* @__PURE__ */
|
|
1294
|
-
/* @__PURE__ */
|
|
1342
|
+
/* @__PURE__ */ jsxs23(Container23, { style: baseContentContainer, children: [
|
|
1343
|
+
/* @__PURE__ */ jsxs23(Heading3, { as: "h1", style: title3, children: [
|
|
1295
1344
|
"Ol\xE1 ",
|
|
1296
1345
|
name || "{{nome}}",
|
|
1297
1346
|
" \u{1F389},"
|
|
1298
1347
|
] }),
|
|
1299
|
-
/* @__PURE__ */
|
|
1300
|
-
/* @__PURE__ */
|
|
1348
|
+
/* @__PURE__ */ jsx25(Text23, { style: textInfo, children: content2[userType]?.description }),
|
|
1349
|
+
/* @__PURE__ */ jsxs23(Text23, { style: textInfo, children: [
|
|
1301
1350
|
"Se tiveres alguma d\xFAvida ou sugest\xE3o, n\xE3o hesites em contactar-nos atrav\xE9s do e-mail:",
|
|
1302
1351
|
" ",
|
|
1303
|
-
/* @__PURE__ */
|
|
1352
|
+
/* @__PURE__ */ jsx25(Link21, { style: link, href: "mailto:help@promote.co.mz", children: "help@promote.co.mz" }),
|
|
1304
1353
|
" ",
|
|
1305
1354
|
"\u{1F680}"
|
|
1306
1355
|
] })
|
|
1307
1356
|
] }),
|
|
1308
|
-
/* @__PURE__ */
|
|
1309
|
-
/* @__PURE__ */
|
|
1357
|
+
/* @__PURE__ */ jsx25(Container23, { style: baseContentContainer, children: userType && /* @__PURE__ */ jsx25(Link21, { href: content2[userType]?.startLink, style: { ...button, width: "150px" }, children: "COME\xC7AR AGORA" }) }),
|
|
1358
|
+
/* @__PURE__ */ jsx25(Footer, {})
|
|
1310
1359
|
] })
|
|
1311
1360
|
] });
|
|
1312
1361
|
}
|
|
@@ -1349,38 +1398,38 @@ var textInfo = {
|
|
|
1349
1398
|
whiteSpace: "pre-line"
|
|
1350
1399
|
};
|
|
1351
1400
|
var WelcomeText = (props) => {
|
|
1352
|
-
return
|
|
1401
|
+
return render18(Welcome(props), { plainText: true });
|
|
1353
1402
|
};
|
|
1354
1403
|
var WelcomeHtml = (props) => {
|
|
1355
|
-
return
|
|
1404
|
+
return render18(Welcome(props));
|
|
1356
1405
|
};
|
|
1357
1406
|
|
|
1358
1407
|
// emails/all/new-message-notification.tsx
|
|
1359
|
-
import { Body as
|
|
1360
|
-
import { render as
|
|
1361
|
-
import { jsx as
|
|
1408
|
+
import { Body as Body19, Container as Container24, Html as Html19, Link as Link22, Preview as Preview19, Text as Text24 } from "@react-email/components";
|
|
1409
|
+
import { render as render19 } from "@react-email/render";
|
|
1410
|
+
import { jsx as jsx26, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
1362
1411
|
function NewMessageNotification(props) {
|
|
1363
|
-
return /* @__PURE__ */
|
|
1364
|
-
/* @__PURE__ */
|
|
1365
|
-
/* @__PURE__ */
|
|
1366
|
-
/* @__PURE__ */
|
|
1367
|
-
/* @__PURE__ */
|
|
1368
|
-
/* @__PURE__ */
|
|
1369
|
-
/* @__PURE__ */
|
|
1412
|
+
return /* @__PURE__ */ jsxs24(Html19, { style: rootStyles, children: [
|
|
1413
|
+
/* @__PURE__ */ jsx26(BaseHead, {}),
|
|
1414
|
+
/* @__PURE__ */ jsx26(Preview19, { children: "Nova mensagem recebida \u{1F195}" }),
|
|
1415
|
+
/* @__PURE__ */ jsxs24(Body19, { style: { ...main, ...baseContainer }, children: [
|
|
1416
|
+
/* @__PURE__ */ jsx26(Header, {}),
|
|
1417
|
+
/* @__PURE__ */ jsxs24(Container24, { style: { ...baseContentContainer }, children: [
|
|
1418
|
+
/* @__PURE__ */ jsxs24(Text24, { style: baseText, children: [
|
|
1370
1419
|
"Ol\xE1, ",
|
|
1371
1420
|
props.recipient.name,
|
|
1372
1421
|
","
|
|
1373
1422
|
] }),
|
|
1374
|
-
/* @__PURE__ */
|
|
1423
|
+
/* @__PURE__ */ jsxs24(Text24, { style: baseText, children: [
|
|
1375
1424
|
"Voc\xEA recebeu uma nova mensagem de ",
|
|
1376
|
-
/* @__PURE__ */
|
|
1377
|
-
/* @__PURE__ */
|
|
1425
|
+
/* @__PURE__ */ jsx26("span", { style: link, children: props.sender.name }),
|
|
1426
|
+
/* @__PURE__ */ jsx26("br", {}),
|
|
1378
1427
|
" Veja o conte\xFAdo da mensagem abaixo:"
|
|
1379
1428
|
] })
|
|
1380
1429
|
] }),
|
|
1381
|
-
/* @__PURE__ */
|
|
1382
|
-
/* @__PURE__ */
|
|
1383
|
-
/* @__PURE__ */
|
|
1430
|
+
/* @__PURE__ */ jsx26(Container24, { style: messageContainer, children: /* @__PURE__ */ jsx26(CommentComponent, { title: `Mensagem enviada em ${props.message.createdAt}:`, comment: props.message.content }) }),
|
|
1431
|
+
/* @__PURE__ */ jsx26(Container24, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx26(Link22, { href: appRoutes.brandConversation(props.conversationPath, props.chatRoomId), style: { ...button, width: "150px" }, children: "VER CONVERSA" }) }),
|
|
1432
|
+
/* @__PURE__ */ jsx26(Footer, {})
|
|
1384
1433
|
] })
|
|
1385
1434
|
] });
|
|
1386
1435
|
}
|
|
@@ -1405,10 +1454,10 @@ NewMessageNotification.PreviewProps = {
|
|
|
1405
1454
|
chatRoomId: "123"
|
|
1406
1455
|
};
|
|
1407
1456
|
var NewMessageNotificationText = (props) => {
|
|
1408
|
-
return
|
|
1457
|
+
return render19(NewMessageNotification(props), { plainText: true });
|
|
1409
1458
|
};
|
|
1410
1459
|
var NewMessageNotificationHtml = (props) => {
|
|
1411
|
-
return
|
|
1460
|
+
return render19(NewMessageNotification(props));
|
|
1412
1461
|
};
|
|
1413
1462
|
export {
|
|
1414
1463
|
AbortOrderRequest,
|
|
@@ -1432,9 +1481,12 @@ export {
|
|
|
1432
1481
|
NewJobCreatedBrand,
|
|
1433
1482
|
NewJobCreatedBrandHtml,
|
|
1434
1483
|
NewJobCreatedBrandText,
|
|
1484
|
+
NewMessage,
|
|
1485
|
+
NewMessageHtml,
|
|
1435
1486
|
NewMessageNotification,
|
|
1436
1487
|
NewMessageNotificationHtml,
|
|
1437
1488
|
NewMessageNotificationText,
|
|
1489
|
+
NewMessageText,
|
|
1438
1490
|
NewOrderCreatedBrand,
|
|
1439
1491
|
NewOrderCreatedBrandHtml,
|
|
1440
1492
|
NewOrderCreatedBrandText,
|