@greatapps/common 1.1.744 → 1.1.745

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.
Files changed (67) hide show
  1. package/dist/components/modals/AccountFrozenModal.mjs +48 -0
  2. package/dist/components/modals/AccountFrozenModal.mjs.map +1 -0
  3. package/dist/components/navigation/FreezeWarningBanner.mjs +47 -0
  4. package/dist/components/navigation/FreezeWarningBanner.mjs.map +1 -0
  5. package/dist/components/navigation/FrozenAccountBanner.mjs +38 -0
  6. package/dist/components/navigation/FrozenAccountBanner.mjs.map +1 -0
  7. package/dist/components/navigation/SubscriptionBanner.mjs +17 -0
  8. package/dist/components/navigation/SubscriptionBanner.mjs.map +1 -1
  9. package/dist/handlers.mjs +2 -0
  10. package/dist/handlers.mjs.map +1 -1
  11. package/dist/i18n/messages/en-us.mjs +17 -0
  12. package/dist/i18n/messages/en-us.mjs.map +1 -1
  13. package/dist/i18n/messages/es-es.mjs +17 -0
  14. package/dist/i18n/messages/es-es.mjs.map +1 -1
  15. package/dist/i18n/messages/pt-br.mjs +19 -0
  16. package/dist/i18n/messages/pt-br.mjs.map +1 -1
  17. package/dist/index.mjs +59 -37
  18. package/dist/index.mjs.map +1 -1
  19. package/dist/modules/auth/utils/assert-account-not-frozen.mjs +26 -0
  20. package/dist/modules/auth/utils/assert-account-not-frozen.mjs.map +1 -0
  21. package/dist/modules/projects/services/projects.service.mjs +3 -0
  22. package/dist/modules/projects/services/projects.service.mjs.map +1 -1
  23. package/dist/modules/subscriptions/actions/ack-freeze-notice.action.mjs +10 -0
  24. package/dist/modules/subscriptions/actions/ack-freeze-notice.action.mjs.map +1 -0
  25. package/dist/modules/subscriptions/constants/query-keys.constants.mjs +2 -0
  26. package/dist/modules/subscriptions/constants/query-keys.constants.mjs.map +1 -1
  27. package/dist/modules/subscriptions/constants/subscription.constants.mjs +6 -0
  28. package/dist/modules/subscriptions/constants/subscription.constants.mjs.map +1 -1
  29. package/dist/modules/subscriptions/handlers/freeze-notice.handler.mjs +12 -0
  30. package/dist/modules/subscriptions/handlers/freeze-notice.handler.mjs.map +1 -0
  31. package/dist/modules/subscriptions/hooks/use-account-freeze.hook.mjs +42 -0
  32. package/dist/modules/subscriptions/hooks/use-account-freeze.hook.mjs.map +1 -0
  33. package/dist/modules/subscriptions/hooks/use-freeze-notice.hook.mjs +33 -0
  34. package/dist/modules/subscriptions/hooks/use-freeze-notice.hook.mjs.map +1 -0
  35. package/dist/modules/subscriptions/services/subscriptions.service.mjs +29 -0
  36. package/dist/modules/subscriptions/services/subscriptions.service.mjs.map +1 -1
  37. package/dist/modules/subscriptions/types/freeze-notice.type.mjs +1 -0
  38. package/dist/modules/subscriptions/types/freeze-notice.type.mjs.map +1 -0
  39. package/dist/modules/subscriptions/utils/get-account-freeze-date.mjs +19 -0
  40. package/dist/modules/subscriptions/utils/get-account-freeze-date.mjs.map +1 -0
  41. package/dist/modules/subscriptions/utils/get-account-freeze-state.mjs +21 -0
  42. package/dist/modules/subscriptions/utils/get-account-freeze-state.mjs.map +1 -0
  43. package/dist/server.mjs +4 -0
  44. package/dist/server.mjs.map +1 -1
  45. package/package.json +1 -1
  46. package/src/components/modals/AccountFrozenModal.tsx +58 -0
  47. package/src/components/navigation/FreezeWarningBanner.tsx +57 -0
  48. package/src/components/navigation/FrozenAccountBanner.tsx +49 -0
  49. package/src/components/navigation/SubscriptionBanner.tsx +19 -0
  50. package/src/handlers.ts +1 -0
  51. package/src/i18n/messages/en-us.ts +17 -0
  52. package/src/i18n/messages/es-es.ts +17 -0
  53. package/src/i18n/messages/pt-br.ts +20 -0
  54. package/src/index.ts +14 -0
  55. package/src/modules/auth/utils/assert-account-not-frozen.ts +38 -0
  56. package/src/modules/projects/services/projects.service.ts +3 -0
  57. package/src/modules/subscriptions/actions/ack-freeze-notice.action.ts +8 -0
  58. package/src/modules/subscriptions/constants/query-keys.constants.ts +2 -0
  59. package/src/modules/subscriptions/constants/subscription.constants.ts +8 -0
  60. package/src/modules/subscriptions/handlers/freeze-notice.handler.ts +10 -0
  61. package/src/modules/subscriptions/hooks/use-account-freeze.hook.ts +44 -0
  62. package/src/modules/subscriptions/hooks/use-freeze-notice.hook.ts +42 -0
  63. package/src/modules/subscriptions/services/subscriptions.service.ts +39 -0
  64. package/src/modules/subscriptions/types/freeze-notice.type.ts +5 -0
  65. package/src/modules/subscriptions/utils/get-account-freeze-date.ts +40 -0
  66. package/src/modules/subscriptions/utils/get-account-freeze-state.ts +43 -0
  67. package/src/server.ts +2 -0
@@ -0,0 +1,48 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { IconLock } from "@tabler/icons-react";
4
+ import { useTranslations } from "next-intl";
5
+ import { Button } from "../ui/buttons/Button";
6
+ import {
7
+ Dialog,
8
+ DialogContent,
9
+ DialogDescription,
10
+ DialogHeader,
11
+ DialogTitle
12
+ } from "../ui/overlay/Dialog";
13
+ import { useWhitelabelUrls, useExternalContracting } from "../../providers/whitelabel.provider";
14
+ import { useModalManager } from "../../store/useModalManager";
15
+ function AccountFrozenModal() {
16
+ const translate = useTranslations();
17
+ const { activeModal, closeModal } = useModalManager();
18
+ const isOpen = activeModal === "accountFrozenModal";
19
+ const { accountsUrl } = useWhitelabelUrls();
20
+ const { redirectToExternal } = useExternalContracting();
21
+ const title = translate("common.subscription.frozen.modal.title");
22
+ const description = translate("common.subscription.frozen.modal.description");
23
+ const handleRegularize = () => {
24
+ if (redirectToExternal("plans")) return;
25
+ window.location.href = `${accountsUrl}/subscriptions`;
26
+ };
27
+ return /* @__PURE__ */ jsx(Dialog, { open: isOpen, onOpenChange: () => closeModal(), children: /* @__PURE__ */ jsxs(DialogContent, { className: "flex flex-col p-0 gap-0 w-full md:w-[410px] lg:w-[410px]", children: [
28
+ /* @__PURE__ */ jsxs(DialogHeader, { className: "gap-3 text-left p-5", children: [
29
+ /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center w-10 h-10 bg-zinc-50 rounded-lg", children: /* @__PURE__ */ jsx(IconLock, { size: 24, className: "text-zinc-950" }) }),
30
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
31
+ /* @__PURE__ */ jsx(DialogTitle, { className: "paragraph-medium-semibold text-zinc-950", children: title }),
32
+ /* @__PURE__ */ jsx(DialogDescription, { className: "paragraph-small-regular text-zinc-600", children: description })
33
+ ] })
34
+ ] }),
35
+ /* @__PURE__ */ jsx("div", { className: "flex items-center gap-2 p-5 border-t border-zinc-200", children: /* @__PURE__ */ jsx(
36
+ Button,
37
+ {
38
+ className: "w-fit h-10!",
39
+ onClick: handleRegularize,
40
+ children: translate("common.subscription.frozen.modal.cta")
41
+ }
42
+ ) })
43
+ ] }) });
44
+ }
45
+ export {
46
+ AccountFrozenModal as default
47
+ };
48
+ //# sourceMappingURL=AccountFrozenModal.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/modals/AccountFrozenModal.tsx"],"sourcesContent":["\"use client\";\n\nimport { IconLock } from '@tabler/icons-react';\nimport { useTranslations } from 'next-intl';\nimport { Button } from '../ui/buttons/Button';\nimport {\n Dialog,\n DialogContent,\n DialogDescription,\n DialogHeader,\n DialogTitle,\n} from '../ui/overlay/Dialog';\nimport { useWhitelabelUrls, useExternalContracting } from '../../providers/whitelabel.provider';\nimport { useModalManager } from '../../store/useModalManager';\n\nexport default function AccountFrozenModal() {\n const translate = useTranslations();\n const { activeModal, closeModal } = useModalManager();\n const isOpen = activeModal === 'accountFrozenModal';\n const { accountsUrl } = useWhitelabelUrls();\n const { redirectToExternal } = useExternalContracting();\n\n const title = translate('common.subscription.frozen.modal.title');\n const description = translate('common.subscription.frozen.modal.description');\n\n const handleRegularize = () => {\n if (redirectToExternal('plans')) return;\n window.location.href = `${accountsUrl}/subscriptions`;\n };\n\n return (\n <Dialog open={isOpen} onOpenChange={() => closeModal()}>\n <DialogContent className=\"flex flex-col p-0 gap-0 w-full md:w-[410px] lg:w-[410px]\">\n <DialogHeader className=\"gap-3 text-left p-5\">\n <div className=\"flex items-center justify-center w-10 h-10 bg-zinc-50 rounded-lg\">\n <IconLock size={24} className=\"text-zinc-950\" />\n </div>\n <div className=\"flex flex-col gap-2\">\n <DialogTitle className=\"paragraph-medium-semibold text-zinc-950\">\n {title}\n </DialogTitle>\n <DialogDescription className=\"paragraph-small-regular text-zinc-600\">\n {description}\n </DialogDescription>\n </div>\n </DialogHeader>\n <div className=\"flex items-center gap-2 p-5 border-t border-zinc-200\">\n <Button\n className=\"w-fit h-10!\"\n onClick={handleRegularize}\n >\n {translate('common.subscription.frozen.modal.cta')}\n </Button>\n </div>\n </DialogContent>\n </Dialog>\n );\n}\n"],"mappings":";AAmCwB,cAEJ,YAFI;AAjCxB,SAAS,gBAAgB;AACzB,SAAS,uBAAuB;AAChC,SAAS,cAAc;AACvB;AAAA,EACI;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACG;AACP,SAAS,mBAAmB,8BAA8B;AAC1D,SAAS,uBAAuB;AAEjB,SAAR,qBAAsC;AACzC,QAAM,YAAY,gBAAgB;AAClC,QAAM,EAAE,aAAa,WAAW,IAAI,gBAAgB;AACpD,QAAM,SAAS,gBAAgB;AAC/B,QAAM,EAAE,YAAY,IAAI,kBAAkB;AAC1C,QAAM,EAAE,mBAAmB,IAAI,uBAAuB;AAEtD,QAAM,QAAQ,UAAU,wCAAwC;AAChE,QAAM,cAAc,UAAU,8CAA8C;AAE5E,QAAM,mBAAmB,MAAM;AAC3B,QAAI,mBAAmB,OAAO,EAAG;AACjC,WAAO,SAAS,OAAO,GAAG,WAAW;AAAA,EACzC;AAEA,SACI,oBAAC,UAAO,MAAM,QAAQ,cAAc,MAAM,WAAW,GACjD,+BAAC,iBAAc,WAAU,4DACrB;AAAA,yBAAC,gBAAa,WAAU,uBACpB;AAAA,0BAAC,SAAI,WAAU,oEACX,8BAAC,YAAS,MAAM,IAAI,WAAU,iBAAgB,GAClD;AAAA,MACA,qBAAC,SAAI,WAAU,uBACX;AAAA,4BAAC,eAAY,WAAU,2CAClB,iBACL;AAAA,QACA,oBAAC,qBAAkB,WAAU,yCACxB,uBACL;AAAA,SACJ;AAAA,OACJ;AAAA,IACA,oBAAC,SAAI,WAAU,wDACX;AAAA,MAAC;AAAA;AAAA,QACG,WAAU;AAAA,QACV,SAAS;AAAA,QAER,oBAAU,sCAAsC;AAAA;AAAA,IACrD,GACJ;AAAA,KACJ,GACJ;AAER;","names":[]}
@@ -0,0 +1,47 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { useState, useEffect, useCallback } from "react";
4
+ import { IconAlertTriangle, IconX } from "@tabler/icons-react";
5
+ import { useTranslations } from "next-intl";
6
+ import { formatShortDate } from "../../infra/utils/date";
7
+ function FreezeWarningBanner({ freezeDate, onDetails }) {
8
+ const translate = useTranslations();
9
+ const [visible, setVisible] = useState(true);
10
+ const [animated, setAnimated] = useState(false);
11
+ useEffect(() => {
12
+ const timer = setTimeout(() => setAnimated(true), 50);
13
+ return () => clearTimeout(timer);
14
+ }, []);
15
+ const dismiss = useCallback(() => setVisible(false), []);
16
+ if (!visible) return null;
17
+ return /* @__PURE__ */ jsx("div", { className: "fixed top-[80px] md:top-0 left-0 right-0 z-[60] flex justify-center pointer-events-none px-4 lg:px-0", children: /* @__PURE__ */ jsxs(
18
+ "div",
19
+ {
20
+ className: `flex flex-col sm:flex-row items-start sm:items-center justify-between bg-orange-500 rounded-lg px-3 py-2 sm:py-1 w-full lg:w-[805px] max-w-full pointer-events-auto transition-transform duration-500 ease-out gap-2 sm:gap-0 ${animated ? "translate-y-0 md:translate-y-9" : "-translate-y-full"}`,
21
+ children: [
22
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 flex-1 w-full sm:w-auto", children: [
23
+ /* @__PURE__ */ jsx(IconAlertTriangle, { size: 16, className: "text-white shrink-0" }),
24
+ /* @__PURE__ */ jsx("span", { className: "paragraph-xsmall-semibold text-white", children: translate("common.subscription.frozen.warningBanner.message", {
25
+ freezeDate: formatShortDate(freezeDate)
26
+ }) })
27
+ ] }),
28
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 w-full sm:w-auto justify-between sm:justify-start", children: [
29
+ /* @__PURE__ */ jsx(
30
+ "button",
31
+ {
32
+ type: "button",
33
+ className: "flex items-center justify-center p-1.5 cursor-pointer",
34
+ onClick: onDetails,
35
+ children: /* @__PURE__ */ jsx("span", { className: "paragraph-xsmall-semibold text-white underline", children: translate("common.subscription.frozen.warningBanner.details") })
36
+ }
37
+ ),
38
+ /* @__PURE__ */ jsx("button", { type: "button", className: "cursor-pointer shrink-0", onClick: dismiss, children: /* @__PURE__ */ jsx(IconX, { size: 18, className: "text-orange-200" }) })
39
+ ] })
40
+ ]
41
+ }
42
+ ) });
43
+ }
44
+ export {
45
+ FreezeWarningBanner
46
+ };
47
+ //# sourceMappingURL=FreezeWarningBanner.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/navigation/FreezeWarningBanner.tsx"],"sourcesContent":["'use client';\n\nimport { useState, useEffect, useCallback } from 'react';\nimport { IconAlertTriangle, IconX } from '@tabler/icons-react';\nimport { useTranslations } from 'next-intl';\nimport { formatShortDate } from '../../infra/utils/date';\n\ninterface FreezeWarningBannerProps {\n freezeDate: Date | null;\n onDetails?: () => void;\n}\n\nexport function FreezeWarningBanner({ freezeDate, onDetails }: FreezeWarningBannerProps) {\n const translate = useTranslations();\n const [visible, setVisible] = useState(true);\n const [animated, setAnimated] = useState(false);\n\n useEffect(() => {\n const timer = setTimeout(() => setAnimated(true), 50);\n return () => clearTimeout(timer);\n }, []);\n\n const dismiss = useCallback(() => setVisible(false), []);\n\n if (!visible) return null;\n\n return (\n <div className=\"fixed top-[80px] md:top-0 left-0 right-0 z-[60] flex justify-center pointer-events-none px-4 lg:px-0\">\n <div\n className={`flex flex-col sm:flex-row items-start sm:items-center justify-between bg-orange-500 rounded-lg px-3 py-2 sm:py-1 w-full lg:w-[805px] max-w-full pointer-events-auto transition-transform duration-500 ease-out gap-2 sm:gap-0 ${animated ? 'translate-y-0 md:translate-y-9' : '-translate-y-full'}`}\n >\n <div className=\"flex items-center gap-2 flex-1 w-full sm:w-auto\">\n <IconAlertTriangle size={16} className=\"text-white shrink-0\" />\n <span className=\"paragraph-xsmall-semibold text-white\">\n {translate('common.subscription.frozen.warningBanner.message', {\n freezeDate: formatShortDate(freezeDate),\n })}\n </span>\n </div>\n <div className=\"flex items-center gap-1.5 w-full sm:w-auto justify-between sm:justify-start\">\n <button\n type=\"button\"\n className=\"flex items-center justify-center p-1.5 cursor-pointer\"\n onClick={onDetails}\n >\n <span className=\"paragraph-xsmall-semibold text-white underline\">\n {translate('common.subscription.frozen.warningBanner.details')}\n </span>\n </button>\n <button type=\"button\" className=\"cursor-pointer shrink-0\" onClick={dismiss}>\n <IconX size={18} className=\"text-orange-200\" />\n </button>\n </div>\n </div>\n </div>\n );\n}\n"],"mappings":";AA+BQ,SACE,KADF;AA7BR,SAAS,UAAU,WAAW,mBAAmB;AACjD,SAAS,mBAAmB,aAAa;AACzC,SAAS,uBAAuB;AAChC,SAAS,uBAAuB;AAOzB,SAAS,oBAAoB,EAAE,YAAY,UAAU,GAA6B;AACvF,QAAM,YAAY,gBAAgB;AAClC,QAAM,CAAC,SAAS,UAAU,IAAI,SAAS,IAAI;AAC3C,QAAM,CAAC,UAAU,WAAW,IAAI,SAAS,KAAK;AAE9C,YAAU,MAAM;AACd,UAAM,QAAQ,WAAW,MAAM,YAAY,IAAI,GAAG,EAAE;AACpD,WAAO,MAAM,aAAa,KAAK;AAAA,EACjC,GAAG,CAAC,CAAC;AAEL,QAAM,UAAU,YAAY,MAAM,WAAW,KAAK,GAAG,CAAC,CAAC;AAEvD,MAAI,CAAC,QAAS,QAAO;AAErB,SACE,oBAAC,SAAI,WAAU,wGACb;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,iOAAiO,WAAW,mCAAmC,mBAAmB;AAAA,MAE7S;AAAA,6BAAC,SAAI,WAAU,mDACb;AAAA,8BAAC,qBAAkB,MAAM,IAAI,WAAU,uBAAsB;AAAA,UAC7D,oBAAC,UAAK,WAAU,wCACb,oBAAU,oDAAoD;AAAA,YAC7D,YAAY,gBAAgB,UAAU;AAAA,UACxC,CAAC,GACH;AAAA,WACF;AAAA,QACA,qBAAC,SAAI,WAAU,+EACb;AAAA;AAAA,YAAC;AAAA;AAAA,cACC,MAAK;AAAA,cACL,WAAU;AAAA,cACV,SAAS;AAAA,cAET,8BAAC,UAAK,WAAU,kDACb,oBAAU,kDAAkD,GAC/D;AAAA;AAAA,UACF;AAAA,UACA,oBAAC,YAAO,MAAK,UAAS,WAAU,2BAA0B,SAAS,SACjE,8BAAC,SAAM,MAAM,IAAI,WAAU,mBAAkB,GAC/C;AAAA,WACF;AAAA;AAAA;AAAA,EACF,GACF;AAEJ;","names":[]}
@@ -0,0 +1,38 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { useState, useEffect } from "react";
4
+ import { IconAlertTriangle } from "@tabler/icons-react";
5
+ import { useTranslations } from "next-intl";
6
+ function FrozenAccountBanner({ onDetails }) {
7
+ const translate = useTranslations();
8
+ const [animated, setAnimated] = useState(false);
9
+ useEffect(() => {
10
+ const timer = setTimeout(() => setAnimated(true), 50);
11
+ return () => clearTimeout(timer);
12
+ }, []);
13
+ return /* @__PURE__ */ jsx("div", { className: "fixed top-[80px] md:top-0 left-0 right-0 z-[60] flex justify-center pointer-events-none px-4 lg:px-0", children: /* @__PURE__ */ jsxs(
14
+ "div",
15
+ {
16
+ className: `flex flex-col sm:flex-row items-start sm:items-center justify-between bg-red-500 rounded-lg px-3 py-2 sm:py-1 w-full lg:w-[805px] max-w-full pointer-events-auto transition-transform duration-500 ease-out gap-2 sm:gap-0 ${animated ? "translate-y-0 md:translate-y-9" : "-translate-y-full"}`,
17
+ children: [
18
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 flex-1 w-full sm:w-auto", children: [
19
+ /* @__PURE__ */ jsx(IconAlertTriangle, { size: 16, className: "text-white shrink-0" }),
20
+ /* @__PURE__ */ jsx("span", { className: "paragraph-xsmall-semibold text-white", children: translate("common.subscription.frozen.banner.message") })
21
+ ] }),
22
+ /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1.5 w-full sm:w-auto justify-between sm:justify-start", children: /* @__PURE__ */ jsx(
23
+ "button",
24
+ {
25
+ type: "button",
26
+ className: "flex items-center justify-center p-1.5 cursor-pointer",
27
+ onClick: onDetails,
28
+ children: /* @__PURE__ */ jsx("span", { className: "paragraph-xsmall-semibold text-white underline", children: translate("common.subscription.frozen.banner.regularize") })
29
+ }
30
+ ) })
31
+ ]
32
+ }
33
+ ) });
34
+ }
35
+ export {
36
+ FrozenAccountBanner
37
+ };
38
+ //# sourceMappingURL=FrozenAccountBanner.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/navigation/FrozenAccountBanner.tsx"],"sourcesContent":["'use client';\n\nimport { useState, useEffect } from 'react';\nimport { IconAlertTriangle } from '@tabler/icons-react';\nimport { useTranslations } from 'next-intl';\n\ninterface FrozenAccountBannerProps {\n onDetails?: () => void;\n}\n\n/**\n * Banner permanente (D1): congelamento bloqueia publish/update/sync — sem\n * botão de dismiss, ao contrário do OverdueInvoiceBanner.\n */\nexport function FrozenAccountBanner({ onDetails }: FrozenAccountBannerProps) {\n const translate = useTranslations();\n const [animated, setAnimated] = useState(false);\n\n useEffect(() => {\n const timer = setTimeout(() => setAnimated(true), 50);\n return () => clearTimeout(timer);\n }, []);\n\n return (\n <div className=\"fixed top-[80px] md:top-0 left-0 right-0 z-[60] flex justify-center pointer-events-none px-4 lg:px-0\">\n <div\n className={`flex flex-col sm:flex-row items-start sm:items-center justify-between bg-red-500 rounded-lg px-3 py-2 sm:py-1 w-full lg:w-[805px] max-w-full pointer-events-auto transition-transform duration-500 ease-out gap-2 sm:gap-0 ${animated ? 'translate-y-0 md:translate-y-9' : '-translate-y-full'}`}\n >\n <div className=\"flex items-center gap-2 flex-1 w-full sm:w-auto\">\n <IconAlertTriangle size={16} className=\"text-white shrink-0\" />\n <span className=\"paragraph-xsmall-semibold text-white\">\n {translate('common.subscription.frozen.banner.message')}\n </span>\n </div>\n <div className=\"flex items-center gap-1.5 w-full sm:w-auto justify-between sm:justify-start\">\n <button\n type=\"button\"\n className=\"flex items-center justify-center p-1.5 cursor-pointer\"\n onClick={onDetails}\n >\n <span className=\"paragraph-xsmall-semibold text-white underline\">\n {translate('common.subscription.frozen.banner.regularize')}\n </span>\n </button>\n </div>\n </div>\n </div>\n );\n}\n"],"mappings":";AA4BQ,SACE,KADF;AA1BR,SAAS,UAAU,iBAAiB;AACpC,SAAS,yBAAyB;AAClC,SAAS,uBAAuB;AAUzB,SAAS,oBAAoB,EAAE,UAAU,GAA6B;AAC3E,QAAM,YAAY,gBAAgB;AAClC,QAAM,CAAC,UAAU,WAAW,IAAI,SAAS,KAAK;AAE9C,YAAU,MAAM;AACd,UAAM,QAAQ,WAAW,MAAM,YAAY,IAAI,GAAG,EAAE;AACpD,WAAO,MAAM,aAAa,KAAK;AAAA,EACjC,GAAG,CAAC,CAAC;AAEL,SACE,oBAAC,SAAI,WAAU,wGACb;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,8NAA8N,WAAW,mCAAmC,mBAAmB;AAAA,MAE1S;AAAA,6BAAC,SAAI,WAAU,mDACb;AAAA,8BAAC,qBAAkB,MAAM,IAAI,WAAU,uBAAsB;AAAA,UAC7D,oBAAC,UAAK,WAAU,wCACb,oBAAU,2CAA2C,GACxD;AAAA,WACF;AAAA,QACA,oBAAC,SAAI,WAAU,+EACb;AAAA,UAAC;AAAA;AAAA,YACC,MAAK;AAAA,YACL,WAAU;AAAA,YACV,SAAS;AAAA,YAET,8BAAC,UAAK,WAAU,kDACb,oBAAU,8CAA8C,GAC3D;AAAA;AAAA,QACF,GACF;AAAA;AAAA;AAAA,EACF,GACF;AAEJ;","names":[]}
@@ -5,12 +5,16 @@ import { useCharges } from "../../modules/charges/hooks/charges.hook";
5
5
  import { SUBSCRIPTION_GRACE_PERIOD_DAYS, MAX_PAYMENT_ATTEMPTS } from "../../modules/subscriptions/constants/subscription.constants";
6
6
  import { getSubscriptionExpiryDate } from "../../modules/subscriptions/utils/get-subscription-expiry-date";
7
7
  import { getSubscriptionCancellationState } from "../../modules/subscriptions/utils/get-subscription-cancellation-state";
8
+ import { getAccountFreezeState } from "../../modules/subscriptions/utils/get-account-freeze-state";
9
+ import { getAccountFreezeDate } from "../../modules/subscriptions/utils/get-account-freeze-date";
8
10
  import { toCalendarDate, daysBetween } from "../../infra/utils/date";
9
11
  import { OverdueInvoiceBanner } from "./OverdueInvoiceBanner";
10
12
  import { UpcomingInvoiceBanner } from "./UpcomingInvoiceBanner";
11
13
  import { CancelledSubscriptionBanner } from "./CancelledSubscriptionBanner";
12
14
  import { PendingCancellationBanner } from "./PendingCancellationBanner";
13
15
  import { TrialBanner } from "./TrialBanner";
16
+ import { FrozenAccountBanner } from "./FrozenAccountBanner";
17
+ import { FreezeWarningBanner } from "./FreezeWarningBanner";
14
18
  const UPCOMING_WINDOW_DAYS = 7;
15
19
  const PAYMENT_METHOD_BOLETO = 2;
16
20
  function SubscriptionBanner({
@@ -51,6 +55,19 @@ function SubscriptionBanner({
51
55
  );
52
56
  }
53
57
  if (subscription.type === "whitelabel") return null;
58
+ const freezeState = getAccountFreezeState(subscription);
59
+ if (freezeState === "frozen") {
60
+ return /* @__PURE__ */ jsx(FrozenAccountBanner, { onDetails });
61
+ }
62
+ if (freezeState === "warning") {
63
+ return /* @__PURE__ */ jsx(
64
+ FreezeWarningBanner,
65
+ {
66
+ freezeDate: getAccountFreezeDate(subscription),
67
+ onDetails
68
+ }
69
+ );
70
+ }
54
71
  const paymentRetry = subscription.payment_retry ?? null;
55
72
  if (paymentRetry && paymentRetry.invoice_status === "open" && paymentRetry.attempt_count > 0) {
56
73
  const remainingAttempts = Math.max(
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/navigation/SubscriptionBanner.tsx"],"sourcesContent":["\"use client\";\n\nimport { useActiveSubscription } from \"../../modules/subscriptions/hooks/find-active-subscription.hook\";\nimport { useCharges } from \"../../modules/charges/hooks/charges.hook\";\nimport { SUBSCRIPTION_GRACE_PERIOD_DAYS, MAX_PAYMENT_ATTEMPTS } from \"../../modules/subscriptions/constants/subscription.constants\";\nimport { getSubscriptionExpiryDate } from \"../../modules/subscriptions/utils/get-subscription-expiry-date\";\nimport { getSubscriptionCancellationState } from \"../../modules/subscriptions/utils/get-subscription-cancellation-state\";\nimport { toCalendarDate, daysBetween } from \"../../infra/utils/date\";\nimport { OverdueInvoiceBanner } from \"./OverdueInvoiceBanner\";\nimport { UpcomingInvoiceBanner } from \"./UpcomingInvoiceBanner\";\nimport { CancelledSubscriptionBanner } from \"./CancelledSubscriptionBanner\";\nimport { PendingCancellationBanner } from \"./PendingCancellationBanner\";\nimport { TrialBanner } from \"./TrialBanner\";\n\nconst UPCOMING_WINDOW_DAYS = 7;\nconst PAYMENT_METHOD_BOLETO = 2;\n\ninterface SubscriptionBannerProps {\n onReactivate?: () => void;\n onDetails?: () => void;\n}\n\nexport function SubscriptionBanner({\n onReactivate,\n onDetails,\n}: SubscriptionBannerProps) {\n const { data: { data: [subscription] = [] } = {} } = useActiveSubscription();\n const { data: pendingChargesData, isLoading: isLoadingCharges } = useCharges({\n page: 1,\n limit: 1,\n status: [0],\n });\n\n if (!subscription?.date_due) return null;\n if (subscription.type === \"free\") return null;\n\n const dueDate = toCalendarDate(subscription.date_due);\n const today = toCalendarDate(new Date());\n if (!dueDate || !today) return null;\n\n const daysSinceDue = daysBetween(dueDate, today);\n const daysToDue = daysBetween(today, dueDate);\n const hasPendingCharge = !!pendingChargesData?.data?.[0];\n const isBoleto = subscription.payment_method === PAYMENT_METHOD_BOLETO;\n\n // Estado de cancelamento (fonte da verdade única, compartilhada com o\n // CancelledSubscriptionBanner). `active === false` tem prioridade e cai em\n // \"cancelled\" mesmo com date_due no futuro — é o caso da baixa por falha de\n // pagamento, onde date_due aponta pra uma fatura não paga.\n const expiryDate = getSubscriptionExpiryDate(subscription);\n const cancellationState = getSubscriptionCancellationState(subscription);\n\n // Trial: `date_due` guarda o fim do período de teste (ver auth.service).\n // Mostra a contagem regressiva enquanto o teste está vigente: `active` e não\n // vencido (`daysToDue >= 0`). NÃO usar `cancellationState` aqui — num trial o\n // `date_cancellation` é o agendamento padrão de não-renovação (o Stripe seta\n // = `date_due`), então cairia sempre em \"pending\" e o banner nunca apareceria.\n // Um trial encerrado de verdade vem com `active === false` (date_due placeholder).\n if (subscription.type === \"trial\") {\n if (!subscription.active || daysToDue < 0) return null;\n return <TrialBanner daysRemaining={daysToDue} onReactivate={onReactivate} />;\n }\n\n if (cancellationState === \"cancelled\") {\n return <CancelledSubscriptionBanner onReactivate={onReactivate} />;\n }\n\n if (cancellationState === \"pending\") {\n return (\n <PendingCancellationBanner\n limitDate={expiryDate}\n onReactivate={onReactivate}\n />\n );\n }\n\n if (subscription.type === \"whitelabel\") return null;\n\n // Cartão em dunning (Stripe Smart Retries): comunica as tentativas de cobrança\n // restantes antes do cancelamento automático — não mais por tolerância fixa de\n // dias. attempt_count vive no invoice (payment_retry); só cartão tem retries.\n const paymentRetry = subscription.payment_retry ?? null;\n if (\n paymentRetry &&\n paymentRetry.invoice_status === \"open\" &&\n paymentRetry.attempt_count > 0\n ) {\n const remainingAttempts = Math.max(\n 0,\n MAX_PAYMENT_ATTEMPTS - paymentRetry.attempt_count,\n );\n return (\n <OverdueInvoiceBanner\n onDetails={onDetails}\n remainingAttempts={remainingAttempts}\n />\n );\n }\n\n // Boleto/pix (sem retries): aviso genérico de atraso enquanto a fatura está\n // dentro da janela de cobrança.\n if (daysSinceDue > 0 && daysSinceDue <= SUBSCRIPTION_GRACE_PERIOD_DAYS) {\n return <OverdueInvoiceBanner onDetails={onDetails} />;\n }\n\n if (\n isBoleto &&\n !isLoadingCharges &&\n hasPendingCharge &&\n daysTo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ClD,WAAO,oBAAC,eAAY,eAAe,WAAW,cAA4B;AAAA,EAC5E;AAEA,MAAI,sBAAsB,aAAa;AACrC,WAAO,oBAAC,+BAA4B,cAA4B;AAAA,EAClE;AAEA,MAAI,sBAAsB,WAAW;AACnC,WACE;AAAA,MAAC;AAAA;AAAA,QACC,WAAW;AAAA,QACX;AAAA;AAAA,IACF;AAAA,EAEJ;AAEA,MAAI,aAAa,SAAS,aAAc,QAAO;AAK/C,QAAM,eAAe,aAAa,iBAAiB;AACnD,MACE,gBACA,aAAa,mBAAmB,UAChC,aAAa,gBAAgB,GAC7B;AACA,UAAM,oBAAoB,KAAK;AAAA,MAC7B;AAAA,MACA,uBAAuB,aAAa;AAAA,IACtC;AACA,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA;AAAA;AAAA,IACF;AAAA,EAEJ;AAIA,MAAI,eAAe,KAAK,gBAAgB,gCAAgC;AACtE,WAAO,oBAAC,wBAAqB,WAAsB;AAAA,EACrD;AAEA,MACE,YACA,CAAC,oBACD,oBACA,aAAa,KACb,aAAa,sBACb;AACA,WAAO,oBAAC,yBAAsB,SAAkB,WAAsB;AAAA,EACxE;AAEA,SAAO;AACT;","names":[]}
1
+ {"version":3,"sources":["../../../src/components/navigation/SubscriptionBanner.tsx"],"sourcesContent":["\"use client\";\n\nimport { useActiveSubscription } from \"../../modules/subscriptions/hooks/find-active-subscription.hook\";\nimport { useCharges } from \"../../modules/charges/hooks/charges.hook\";\nimport { SUBSCRIPTION_GRACE_PERIOD_DAYS, MAX_PAYMENT_ATTEMPTS } from \"../../modules/subscriptions/constants/subscription.constants\";\nimport { getSubscriptionExpiryDate } from \"../../modules/subscriptions/utils/get-subscription-expiry-date\";\nimport { getSubscriptionCancellationState } from \"../../modules/subscriptions/utils/get-subscription-cancellation-state\";\nimport { getAccountFreezeState } from \"../../modules/subscriptions/utils/get-account-freeze-state\";\nimport { getAccountFreezeDate } from \"../../modules/subscriptions/utils/get-account-freeze-date\";\nimport { toCalendarDate, daysBetween } from \"../../infra/utils/date\";\nimport { OverdueInvoiceBanner } from \"./OverdueInvoiceBanner\";\nimport { UpcomingInvoiceBanner } from \"./UpcomingInvoiceBanner\";\nimport { CancelledSubscriptionBanner } from \"./CancelledSubscriptionBanner\";\nimport { PendingCancellationBanner } from \"./PendingCancellationBanner\";\nimport { TrialBanner } from \"./TrialBanner\";\nimport { FrozenAccountBanner } from \"./FrozenAccountBanner\";\nimport { FreezeWarningBanner } from \"./FreezeWarningBanner\";\n\nconst UPCOMING_WINDOW_DAYS = 7;\nconst PAYMENT_METHOD_BOLETO = 2;\n\ninterface SubscriptionBannerProps {\n onReactivate?: () => void;\n onDetails?: () => void;\n}\n\nexport function SubscriptionBanner({\n onReactivate,\n onDetails,\n}: SubscriptionBannerProps) {\n const { data: { data: [subscription] = [] } = {} } = useActiveSubscription();\n const { data: pendingChargesData, isLoading: isLoadingCharges } = useCharges({\n page: 1,\n limit: 1,\n status: [0],\n });\n\n if (!subscription?.date_due) return null;\n if (subscription.type === \"free\") return null;\n\n const dueDate = toCalendarDate(subscription.date_due);\n const today = toCalendarDate(new Date());\n if (!dueDate || !today) return null;\n\n const daysSinceDue = daysBetween(dueDate, today);\n const daysToDue = daysBetween(today, dueDate);\n const hasPendingCharge = !!pendingChargesData?.data?.[0];\n const isBoleto = subscription.payment_method === PAYMENT_METHOD_BOLETO;\n\n // Estado de cancelamento (fonte da verdade única, compartilhada com o\n // CancelledSubscriptionBanner). `active === false` tem prioridade e cai em\n // \"cancelled\" mesmo com date_due no futuro — é o caso da baixa por falha de\n // pagamento, onde date_due aponta pra uma fatura não paga.\n const expiryDate = getSubscriptionExpiryDate(subscription);\n const cancellationState = getSubscriptionCancellationState(subscription);\n\n // Trial: `date_due` guarda o fim do período de teste (ver auth.service).\n // Mostra a contagem regressiva enquanto o teste está vigente: `active` e não\n // vencido (`daysToDue >= 0`). NÃO usar `cancellationState` aqui — num trial o\n // `date_cancellation` é o agendamento padrão de não-renovação (o Stripe seta\n // = `date_due`), então cairia sempre em \"pending\" e o banner nunca apareceria.\n // Um trial encerrado de verdade vem com `active === false` (date_due placeholder).\n if (subscription.type === \"trial\") {\n if (!subscription.active || daysToDue < 0) return null;\n return <TrialBanner daysRemaining={daysToDue} onReactivate={onReactivate} />;\n }\n\n if (cancellationState === \"cancelled\") {\n return <CancelledSubscriptionBanner onReactivate={onReactivate} />;\n }\n\n if (cancellationState === \"pending\") {\n return (\n <PendingCancellationBanner\n limitDate={expiryDate}\n onReactivate={onReactivate}\n />\n );\n }\n\n if (subscription.type === \"whitelabel\") return null;\n\n // Congelamento (date_due + ACCOUNT_FREEZE_AFTER_DAYS): entra antes do dunning\n // e do aviso genérico de atraso, que hoje engolem essa janela.\n const freezeState = getAccountFreezeState(subscription);\n if (freezeState === \"frozen\") {\n return <FrozenAccountBanner onDetails={onDetails} />;\n }\n if (freezeState === \"warning\") {\n return (\n <FreezeWarningBanner\n freezeDate={getAccountFreezeDate(subscription)}\n onDetails={onDetails}\n />\n );\n }\n\n // Cartão em dunning (Stripe Smart Retries): comunica as tentativas de cobrança\n // restantes antes do cancelamento automático — não mais por tolerância fixa de\n // dias. attempt_count vive no invoice (payment_retry); só cartão tem retries.\n const paymentRetry = subscription.payment_retry ?? null;\n if (\n paymentRetry &&\n paymentRetry.invoice_status === \"open\" &&\n paymentRetry.attempt_count > 0\n ) {\n const remainingAttempts = Math.max(\n 0,\n MAX_PAYMENT_ATTEMPTS - paymentRetry.attempt_count,\n );\n return (\n <OverdueInvoiceBanner\n onDetails={onDetails}\n remainingAttempts={remainingAttempts}\n />\n );\n }\n\n // Boleto/pix (sem retries): aviso genérico de atraso enquanto a fatura está\n // dentro da janela de cobrança.\n if (daysSinceDue > 0 && daysSinceDue <= SUBSCRIPTION_GRACE_PERIOD_DAYS) {\n return <OverdueInvoiceBanner onDetails={onDetails} />;\n }\n\n if (\n isBoleto &&\n !isLoadingCharges &&\n hasPendingCharge &&\n daysToDue >= 0 &&\n daysToDue <= UPCOM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AAS;AACjC,QAAI,CAAC,aAAa,UAAU,YAAY,EAAG,QAAO;AAClD,WAAO,oBAAC,eAAY,eAAe,WAAW,cAA4B;AAAA,EAC5E;AAEA,MAAI,sBAAsB,aAAa;AACrC,WAAO,oBAAC,+BAA4B,cAA4B;AAAA,EAClE;AAEA,MAAI,sBAAsB,WAAW;AACnC,WACE;AAAA,MAAC;AAAA;AAAA,QACC,WAAW;AAAA,QACX;AAAA;AAAA,IACF;AAAA,EAEJ;AAEA,MAAI,aAAa,SAAS,aAAc,QAAO;AAI/C,QAAM,cAAc,sBAAsB,YAAY;AACtD,MAAI,gBAAgB,UAAU;AAC5B,WAAO,oBAAC,uBAAoB,WAAsB;AAAA,EACpD;AACA,MAAI,gBAAgB,WAAW;AAC7B,WACE;AAAA,MAAC;AAAA;AAAA,QACC,YAAY,qBAAqB,YAAY;AAAA,QAC7C;AAAA;AAAA,IACF;AAAA,EAEJ;AAKA,QAAM,eAAe,aAAa,iBAAiB;AACnD,MACE,gBACA,aAAa,mBAAmB,UAChC,aAAa,gBAAgB,GAC7B;AACA,UAAM,oBAAoB,KAAK;AAAA,MAC7B;AAAA,MACA,uBAAuB,aAAa;AAAA,IACtC;AACA,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA;AAAA;AAAA,IACF;AAAA,EAEJ;AAIA,MAAI,eAAe,KAAK,gBAAgB,gCAAgC;AACtE,WAAO,oBAAC,wBAAqB,WAAsB;AAAA,EACrD;AAEA,MACE,YACA,CAAC,oBACD,oBACA,aAAa,KACb,aAAa,sBACb;AACA,WAAO,oBAAC,yBAAsB,SAAkB,WAAsB;AAAA,EACxE;AAEA,SAAO;AACT;","names":[]}
package/dist/handlers.mjs CHANGED
@@ -12,6 +12,7 @@ import { createListProjectUsersHandler } from "./modules/projects/handlers/list-
12
12
  import { createListAvailableUsersHandler } from "./modules/projects/handlers/list-available-users.handler";
13
13
  import { createListAllAccountUsersHandler } from "./modules/projects/handlers/list-all-account-users.handler";
14
14
  import { createListSubscriptionsHandler } from "./modules/subscriptions/handlers/list-subscriptions.handler";
15
+ import { createFreezeNoticeHandler } from "./modules/subscriptions/handlers/freeze-notice.handler";
15
16
  import { createListMessagesHandler } from "./modules/users/handlers/list-messages.handler";
16
17
  export {
17
18
  createCountPagesHandler,
@@ -19,6 +20,7 @@ export {
19
20
  createFindChargeByIdHandler,
20
21
  createFindPlanByIdHandler,
21
22
  createFindProjectHandler,
23
+ createFreezeNoticeHandler,
22
24
  createListAllAccountUsersHandler,
23
25
  createListAvailableUsersHandler,
24
26
  createListCardsHandler,
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/handlers.ts"],"sourcesContent":["export { createListCardsHandler } from './modules/cards/handlers/list-cards.handler';\nexport { createFindCardByIdHandler } from './modules/cards/handlers/find-card-by-id.handler';\n\nexport { createListChargesHandler } from './modules/charges/handlers/list-charges.handler';\nexport { createFindChargeByIdHandler } from './modules/charges/handlers/find-charge-by-id.handler';\n\nexport { createListIaCreditsHandler } from './modules/ia-credits/handlers/list-ia-credits.handler';\n\nexport { createCountPagesHandler } from './modules/pages/handlers/count-pages.handler';\n\nexport { createListPlansHandler } from './modules/plans/handlers/list-plans.handler';\nexport { createFindPlanByIdHandler } from './modules/plans/handlers/find-plan-by-id.handler';\n\nexport { createListProjectsHandler } from './modules/projects/handlers/list-projects.handler';\nexport { createFindProjectHandler } from './modules/projects/handlers/find-project.handler';\nexport { createListProjectUsersHandler } from './modules/projects/handlers/list-project-users.handler';\nexport { createListAvailableUsersHandler } from './modules/projects/handlers/list-available-users.handler';\nexport { createListAllAccountUsersHandler } from './modules/projects/handlers/list-all-account-users.handler';\n\nexport { createListSubscriptionsHandler } from './modules/subscriptions/handlers/list-subscriptions.handler';\n\nexport { createListMessagesHandler } from './modules/users/handlers/list-messages.handler';\n"],"mappings":"AAAA,SAAS,8BAA8B;AACvC,SAAS,iCAAiC;AAE1C,SAAS,gCAAgC;AACzC,SAAS,mCAAmC;AAE5C,SAAS,kCAAkC;AAE3C,SAAS,+BAA+B;AAExC,SAAS,8BAA8B;AACvC,SAAS,iCAAiC;AAE1C,SAAS,iCAAiC;AAC1C,SAAS,gCAAgC;AACzC,SAAS,qCAAqC;AAC9C,SAAS,uCAAuC;AAChD,SAAS,wCAAwC;AAEjD,SAAS,sCAAsC;AAE/C,SAAS,iCAAiC;","names":[]}
1
+ {"version":3,"sources":["../src/handlers.ts"],"sourcesContent":["export { createListCardsHandler } from './modules/cards/handlers/list-cards.handler';\nexport { createFindCardByIdHandler } from './modules/cards/handlers/find-card-by-id.handler';\n\nexport { createListChargesHandler } from './modules/charges/handlers/list-charges.handler';\nexport { createFindChargeByIdHandler } from './modules/charges/handlers/find-charge-by-id.handler';\n\nexport { createListIaCreditsHandler } from './modules/ia-credits/handlers/list-ia-credits.handler';\n\nexport { createCountPagesHandler } from './modules/pages/handlers/count-pages.handler';\n\nexport { createListPlansHandler } from './modules/plans/handlers/list-plans.handler';\nexport { createFindPlanByIdHandler } from './modules/plans/handlers/find-plan-by-id.handler';\n\nexport { createListProjectsHandler } from './modules/projects/handlers/list-projects.handler';\nexport { createFindProjectHandler } from './modules/projects/handlers/find-project.handler';\nexport { createListProjectUsersHandler } from './modules/projects/handlers/list-project-users.handler';\nexport { createListAvailableUsersHandler } from './modules/projects/handlers/list-available-users.handler';\nexport { createListAllAccountUsersHandler } from './modules/projects/handlers/list-all-account-users.handler';\n\nexport { createListSubscriptionsHandler } from './modules/subscriptions/handlers/list-subscriptions.handler';\nexport { createFreezeNoticeHandler } from './modules/subscriptions/handlers/freeze-notice.handler';\n\nexport { createListMessagesHandler } from './modules/users/handlers/list-messages.handler';\n"],"mappings":"AAAA,SAAS,8BAA8B;AACvC,SAAS,iCAAiC;AAE1C,SAAS,gCAAgC;AACzC,SAAS,mCAAmC;AAE5C,SAAS,kCAAkC;AAE3C,SAAS,+BAA+B;AAExC,SAAS,8BAA8B;AACvC,SAAS,iCAAiC;AAE1C,SAAS,iCAAiC;AAC1C,SAAS,gCAAgC;AACzC,SAAS,qCAAqC;AAC9C,SAAS,uCAAuC;AAChD,SAAS,wCAAwC;AAEjD,SAAS,sCAAsC;AAC/C,SAAS,iCAAiC;AAE1C,SAAS,iCAAiC;","names":[]}
@@ -409,6 +409,23 @@ const messages = {
409
409
  knowPlans: "View plans"
410
410
  }
411
411
  },
412
+ subscription: {
413
+ frozen: {
414
+ banner: {
415
+ message: "Your account has its resources blocked due to a missed payment.",
416
+ regularize: "Fix subscription"
417
+ },
418
+ warningBanner: {
419
+ message: "Payment overdue: your account will be blocked on {freezeDate}. Fix it to keep access.",
420
+ details: "Details"
421
+ },
422
+ modal: {
423
+ title: "Account blocked due to a missed payment",
424
+ description: "Your account has its resources blocked due to a missed payment. Fix your subscription to unlock it.",
425
+ cta: "Fix subscription"
426
+ }
427
+ }
428
+ },
412
429
  forms: {
413
430
  combobox: {
414
431
  placeholder: "Select an option",
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/i18n/messages/en-us.ts"],"sourcesContent":["/**\n * en-us translation catalog for @greatapps/common components.\n * Consumer apps merge this object under the `common` namespace.\n * Mirror the module structure of `pt-br.ts` (the source of truth).\n */\nconst messages = {\n actions: {\n save: 'Save',\n saveChanges: 'Save changes',\n cancel: 'Cancel',\n confirm: 'Confirm',\n delete: 'Delete',\n edit: 'Edit',\n close: 'Close',\n back: 'Back',\n continue: 'Continue',\n add: 'Add',\n remove: 'Remove',\n search: 'Search',\n loading: 'Loading...',\n saving: 'Saving...',\n sending: 'Sending...',\n copy: 'Copy',\n copied: 'Copied',\n },\n\n validations: {\n required: 'Required field',\n invalidEmail: 'Invalid email',\n invalidPhone: 'Invalid phone number',\n },\n\n preferences: {\n title: 'Preferences',\n companyName: 'Company name',\n companyNamePlaceholder: 'Enter the company name',\n language: 'Language',\n languagePlaceholder: 'Select the language',\n languageSearch: 'Search language...',\n currency: 'Currency',\n currencyPlaceholder: 'Select the currency',\n currencySearch: 'Search currency...',\n timeDisplay: 'Time display',\n timezone: 'Time zone',\n timezonePlaceholder: 'Select the time zone',\n timezoneSearch: 'Search time zone...',\n timeFormat: 'Time format',\n timeFormatPlaceholder: 'Select the format',\n timeFormatOptions: {\n h24: '24 hours',\n h12: '12 hours (AM/PM)',\n },\n savedSuccess: 'Preferences saved successfully',\n saveError: 'Error saving preferences',\n },\n\n account: {\n notificationTypes: {\n projectUpdates: 'Project updates',\n securityAlerts: 'Security alerts',\n planBilling: 'Plan or billing changes',\n scheduledMaintenance: 'Scheduled maintenance',\n },\n deleteAccount: {\n title: 'Delete account',\n description:\n 'This action is <b>irreversible</b>. By confirming, your account and all your data will be deleted.',\n reasonLabel: 'Reason for cancellation',\n reasonPlaceholder: 'Select',\n descriptionLabel: 'Describe what led you to make this decision',\n descriptionPlaceholder: 'Explain your decision...',\n charactersCount: '{count}/400 characters',\n passwordLabel: 'Password',\n passwordPlaceholder: 'Enter your password',\n submit: 'Delete account',\n requiredFields: 'Fill in all required fields',\n reasons: {\n noFeature: 'The tool lacks a feature I need',\n technical: 'I encountered technical issues or errors in the system',\n support: 'I had issues with support or customer service',\n updates: 'Updates take longer than expected',\n temporary: 'The cancellation is temporary',\n other: 'Other reason',\n },\n },\n deletionWarning: {\n title: 'Your account will be deleted',\n descriptionLine1:\n 'Your subscription has been cancelled for 90 days or more. Your account and all data will be permanently deleted.',\n descriptionLine2:\n 'To keep your information, reactivate your subscription before the deletion. After this period, the data cannot be recovered.',\n reactivate: 'Reactivate subscription',\n },\n confirmDelete: {\n title: 'Sorry to see you go!',\n warning:\n 'All your <b>{count} pages</b> will be permanently deleted. This action is <b>irreversible!</b>',\n sessionExpired: 'Session expired. Fill in the fields again.',\n success: 'Account deleted successfully',\n error: 'Error deleting account. Please try again.',\n keepAccount: 'Keep my account',\n deleteAnyway: 'Delete anyway',\n deleting: 'Deleting...',\n },\n cantDelete: {\n title: 'Unable to delete account',\n description:\n 'You have an active subscription. To delete your account, <b>first cancel your subscription</b> on the Subscription page and then try again.',\n confirm: 'Ok, I understand',\n goToSubscription: 'Go to subscription',\n },\n twoFactor: {\n title: 'Two-factor authentication',\n instructions:\n 'Install an authenticator app on your mobile device (e.g., <link>Google Authenticator</link>), scan the QR Code on the side or copy the key in the app, and then enter the 6-digit code generated to continue.',\n qrAlt: 'QR Code for two-factor authentication',\n retry: 'Try again',\n pasteDigits: 'Paste the 6 digits below',\n activating: 'Activating...',\n activate: 'Activate authentication',\n recoveryTitle: 'Security codes',\n recoveryHeading: 'Save these emergency recovery codes',\n recoveryText1:\n 'If you lose access to your phone, you will not be able to log into your account without a two-factor code.',\n recoveryText2: 'Print, copy, or write the codes below in a safe location.',\n copyCodes: 'Copy codes',\n finish: 'Finish',\n codesCopied: 'Codes copied successfully',\n generateError: 'Error generating QR Code. Try again.',\n confirmError: 'Error confirming code. Try again.',\n disableTitle: 'Disable 2FA authentication',\n disableDescription:\n 'Enter the 6-digit code from your authenticator app to confirm disabling.',\n authenticatorCode: 'Authenticator code',\n disabling: 'Disabling...',\n disable: 'Disable 2FA',\n disabledSuccess: 'Two-factor authentication disabled',\n disableError: 'Error disabling 2FA. Try again.',\n invalidCode: 'Invalid code',\n codeResent: 'Code resent',\n resendError: 'Error resending code. Try again.',\n },\n profile: {\n title: 'My profile',\n avatarAlt: 'User photo',\n changePhoto: 'Change photo',\n name: 'First name',\n namePlaceholder: 'Enter your first name',\n lastName: 'Last name',\n lastNamePlaceholder: 'Enter your last name',\n gender: 'Gender',\n genderPlaceholder: 'Select your gender',\n genderOptions: {\n male: 'Male',\n female: 'Female',\n },\n phone: 'Phone',\n change: 'Change',\n accessData: 'Access data',\n email: 'Email',\n savedSuccess: 'Profile updated successfully',\n saveError: 'Error updating profile',\n },\n otp: {\n validationCode: 'Validation code',\n incorrectCode: 'Incorrect code',\n resend: 'Resend code',\n resendIn: 'Resend in <b>{time}</b>',\n validating: 'Validating...',\n },\n changeEmail: {\n title: 'Change email',\n confirm: 'Change email',\n sentCodeTo: 'We sent a validation code to email <b>{email}.</b>',\n updateTitle: 'Update contact email',\n updateDescription: 'Enter your new email to keep your contact information updated.',\n newEmail: 'New email',\n newEmailPlaceholder: 'Enter your new email',\n emailChanged: 'Email changed successfully',\n emailExistsError: 'Email already exists or an error occurred. Please try again later.',\n },\n changePhone: {\n titleEdit: 'Change phone',\n titleAdd: 'Add phone',\n sentCodeTo: 'We sent a validation code to your current number <b>{phone}.</b>',\n confirm: 'Change phone',\n updateTitle: 'Update contact phone',\n addTitle: 'Add contact phone',\n updateDescription: 'Enter the new number to keep your contact information updated.',\n addDescription: 'Enter your phone number for contact.',\n newNumber: 'New number',\n numberLabel: 'Phone number',\n phoneChanged: 'Phone changed',\n phoneAdded: 'Phone added',\n invalidNumber: 'Invalid phone number',\n saveError: 'An error occurred while saving the phone number. Please try again later.',\n numberExistsError: 'Number already exists or an error occurred. Please try again later.',\n },\n security: {\n title: 'Security',\n googleLinkedTitle: 'Google account linked',\n googleLinkedDescription:\n 'Your account is linked to Google. If you unlink it, use \"Forgot my password\" to reset an email access password.',\n unlinking: 'Unlinking...',\n unlinkGoogle: 'Unlink Google',\n unlinkError: 'Error unlinking Google account.',\n deleteAccountDescription:\n 'This action is permanent and cannot be undone. All your data, projects, and settings will be permanently removed.',\n deleteMyAccount: 'Delete my account',\n },\n token: {\n title: 'Account token',\n label: 'Token',\n copySuccess: 'Token copied successfully',\n copyError: 'Failed to copy token',\n info: 'This token is unique to your account and allows API access. Do not share with third parties.',\n docsLink: 'Access documentation',\n },\n changePassword: {\n title: 'Change password',\n currentPassword: 'Current password',\n currentPasswordPlaceholder: 'Enter your current password',\n newPassword: 'New password',\n newPasswordPlaceholder: 'Enter your new password',\n submit: 'Save new password',\n changeError: 'Error changing password',\n changedSuccess: 'Password changed successfully',\n genericError: 'Error changing password. Try again.',\n },\n globalPreferences: {\n title: 'Change global preferences',\n srDescription: 'Confirmation of global account preferences change',\n warning:\n 'You are changing settings that impact <b>all account users</b>. Do you want to confirm?',\n },\n configurations: {\n title: 'Settings',\n },\n },\n\n credits: {\n buy: {\n title: 'Buy AI credits',\n externalTitle: 'AI Credits',\n externalDescription: 'To purchase AI credits, visit your subscription area.',\n externalButton: 'Go to subscription area',\n creditsOptionLabel: '{credits} AI credits',\n creditsOptionDisplayValue: '{credits} AI credits',\n paymentOnConfirm: 'Payment will be processed at the time of confirmation.',\n nextInvoiceChanges: 'Changes will take effect from your next invoice.',\n defaultPrice: 'Default',\n immediateCharge: 'Immediate charge',\n totalPlanValue: 'Total plan value',\n confirmAndPay: 'Confirm and pay',\n creditsChangedToast: 'AI credits changed to {credits}',\n purchaseSuccessToast: 'Purchase complete! {credits} AI credits were added to your balance.',\n pixConfirmedToast: 'Payment confirmed! {credits} AI credits are now in your balance.',\n },\n disabled: {\n title: 'Credit purchase unavailable',\n descriptionLine1: 'Only administrators and owners can purchase AI credits.',\n descriptionLine2:\n 'Ask an account administrator or owner to purchase more credits.',\n understood: 'Got it',\n },\n paidPlanRequired: {\n defaultTitle: 'Feature available on paid plans',\n defaultDescription: 'To access this feature, upgrade to a paid plan',\n knowPlans: 'View plans',\n },\n },\n\n cards: {\n add: {\n stepBilling: 'Billing',\n stepCard: 'Card',\n externalTitle: 'Card management unavailable',\n externalDescription: 'Access your subscription area to manage payment methods.',\n externalButton: 'Go to subscription area',\n title: 'Add card',\n billingHeading: 'Add your billing information',\n cardHeading: 'Add your card information',\n authenticating: 'Authenticating...',\n submitting: 'Adding card...',\n submit: 'Add card',\n errorInitAuth: 'Unable to start card authentication, please try again.',\n errorAuth: 'Card authentication failed.',\n errorAuthStatus: 'Authentication not completed (status: {status}).',\n statusUnknown: 'unknown',\n successToast: 'Card added successfully.',\n errorSave: 'Unable to save your new card, please try again.',\n },\n form: {\n nameOnCard: 'Name on card',\n typeHere: 'Type here',\n cardNumber: 'Card number',\n cardExpiry: 'Expiration date',\n cardCvc: 'CVC',\n country: 'Country',\n select: 'Select',\n personType: 'Person type',\n personTypePf: 'Individual',\n personTypePj: 'Business',\n cpf: 'CPF',\n cnpj: 'CNPJ',\n fullName: 'Full name',\n cep: 'CEP',\n postalCode: 'Postal code',\n street: 'Address',\n streetNumber: 'Number',\n city: 'City',\n state: 'UF',\n stateProvince: 'State/Province',\n neighborhood: 'Neighborhood',\n complement: 'Complement',\n cardNumberRequired: 'Card number is required',\n cardExpiryRequired: 'Expiration date is required',\n cardCvcRequired: 'Security code is required',\n },\n delete: {\n title: 'Delete card',\n description: 'Are you sure you want to delete the card:',\n confirmLabel: 'Type DELETE below',\n confirmPlaceholder: 'DELETE',\n deleting: 'Deleting...',\n successToast: 'Card •••• {digits} deleted successfully',\n errorToast: 'Unable to delete card',\n },\n cannotDelete: {\n title: 'Cannot delete this card',\n description: 'This card is in use and has an active subscription linked to it. Select another card as default or add a new one.',\n selectDefault: 'Select a card as default:',\n addNewCard: 'Add new card',\n errorUpdateCard: 'Error updating subscription card',\n },\n item: {\n defaultBadge: 'Default',\n makeDefault: 'Make default',\n setDefaultSuccess: 'Card set as default',\n setDefaultError: 'Error setting card as default',\n },\n paymentInfo: {\n email: 'Email',\n payment: 'Payment',\n addCard: 'Add card',\n selectPaymentMethod: 'Select payment method',\n manageCards: 'Manage cards',\n newPaymentMethod: 'New payment method',\n },\n },\n billing: {\n requiredData: {\n title: 'Complete your billing information',\n description:\n 'We need this information to issue the invoice for your payments. Filling it in is required to keep using the platform.',\n addressHeading: 'Billing address',\n select: 'Select',\n typeHere: 'Type here',\n personType: 'Entity type',\n personTypePf: 'Individual',\n personTypePj: 'Company',\n cpf: 'CPF',\n cnpj: 'CNPJ',\n fullName: 'Full name',\n companyName: 'Legal name',\n financialEmail: 'Billing email',\n financialEmailPlaceholder: 'billing@company.com',\n cep: 'ZIP code',\n postalCode: 'Postal code',\n street: 'Address',\n streetNumber: 'Number',\n neighborhood: 'District',\n complement: 'Complement',\n city: 'City',\n state: 'State',\n stateProvince: 'State/Province',\n country: 'Country',\n submit: 'Save and continue',\n submitting: 'Saving...',\n successToast: 'Billing information saved successfully.',\n errorToast: 'We could not save your billing information, please try again.',\n requiredField: 'Required field',\n invalidEmail: 'Invalid email',\n invalidCep: 'Invalid ZIP code',\n invalidCpf: 'Invalid CPF',\n invalidCnpj: 'Invalid CNPJ',\n invalidCpfChecksum: 'Invalid CPF — check the verification digits',\n invalidCnpjChecksum: 'Invalid CNPJ — check the verification digits',\n },\n },\n navigation: {\n banners: {\n cancelled: {\n message: 'Subscription cancelled! Your pages are now offline.',\n choosePlan: 'Choose a new plan',\n },\n overdue: {\n message: 'Your subscription is overdue and your pages may be taken offline at any time.',\n attemptsMessage: 'Payment failed. {count, plural, one {# attempt remains} other {# attempts remain}} before cancellation. Update your payment method.',\n details: 'Details',\n },\n pending: {\n message: 'Your subscription was cancelled. You have until {limitDate} with your pages online.',\n reactivate: 'Reactivate subscription',\n },\n upcoming: {\n message: 'Invoice pending. Pay by {dueDate} to avoid suspension of your pages.',\n details: 'Details',\n },\n trial: {\n message: 'Trial period: {days, plural, =0 {your trial ends today!} one {# day left} other {# days left}}.',\n choosePlan: 'Subscribe now',\n },\n },\n projectSelector: {\n title: 'Projects',\n searchPlaceholder: 'Search here',\n emptyLine1: 'No projects found.',\n emptyLine2: 'Create a project to get started.',\n noResults: 'No results found.',\n manageProjects: 'Manage projects',\n },\n bottomLinks: {\n news: 'News',\n helpCenter: 'Help center',\n sendSuggestions: 'Send suggestions',\n },\n creditsCard: {\n label: 'Credits used',\n },\n planCard: {\n knowPlans: 'View plans',\n },\n },\n forms: {\n combobox: {\n placeholder: 'Select an option',\n searchPlaceholder: 'Search...',\n emptyMessage: 'No options found.',\n },\n datePicker: {\n placeholder: 'Select date',\n },\n dateRangePicker: {\n placeholder: 'Select period',\n },\n phoneInput: {\n optional: '(Optional)',\n searchPlaceholder: 'Search country...',\n emptyMessage: 'No countries found',\n },\n select: {\n placeholder: 'Select an option',\n optional: '(Optional)',\n },\n copyButton: {\n tooltipDefault: 'Copy link',\n successDefault: 'Link copied',\n errorMessage: 'Unable to copy link',\n },\n circularProgress: {\n ariaLabel: 'Export progress',\n },\n },\n imageUpload: {\n cropTitle: 'Adjust image',\n cropHint: 'Drag to adjust the crop area',\n cropAlt: 'Crop',\n tooSmallTitleWithDimension: 'Image smaller than {dimensionText}',\n tooSmallTitleGeneric: 'Image too small',\n tooSmallBodyFileWithDimension: 'The file \"{fileName}\" is smaller than {dimensionText}. Upload an image with at least {dimensionText} to continue.',\n tooSmallBodyFileGeneric: 'The file \"{fileName}\" is smaller than the minimum required size. Upload a larger image to continue.',\n tooSmallBodyNoFileWithDimension: 'The selected image is smaller than {dimensionText}. Upload an image with at least {dimensionText} to continue.',\n tooSmallBodyNoFileGeneric: 'The selected image is smaller than the minimum required size. Upload a larger image to continue.',\n sendAnother: 'Upload another',\n errorSvg: 'SVG format is not supported. Use PNG, JPEG, WebP, or GIF.',\n errorFormat: 'Unsupported format. Use PNG, JPEG, WebP, or GIF.',\n errorTooLarge: 'File too large. Maximum {maxSize}MB.',\n },\n notifications: {\n page: {\n title: 'Notifications',\n subtitle: 'Have full control over pages, experiences, and conversions.',\n markAllReadDesktop: 'Mark all as read',\n markAllReadMobile: 'Mark as read',\n tabAll: 'All notifications',\n tabUnread: 'Unread',\n details: 'Details',\n empty: 'No notifications found.',\n markAllSuccess: 'All notifications marked as read',\n markAllError: 'Error marking notifications as read',\n },\n popover: {\n title: 'Latest notifications',\n empty: 'No notifications yet',\n viewAll: 'All notifications',\n },\n },\n layout: {\n navbar: {\n expandMenu: 'Expand menu',\n greatPages: 'GreatPages',\n pages: 'Pages',\n },\n profile: {\n usedCredits: 'Credits used',\n loggingOut: 'Signing out...',\n logout: 'Sign out',\n },\n usersSelector: {\n title: 'Users',\n add: 'Add',\n searchPlaceholder: 'Search here',\n empty: 'No users found.',\n noResults: 'No results found.',\n addToProject: 'Add to project',\n removeFromProject: 'Remove from project',\n manageTeam: 'Manage team',\n },\n },\n notFound: {\n title: 'Page not found!',\n description: 'The page you are looking for does not exist. Check that you typed the link correctly.',\n backToHome: 'Back to home',\n },\n\n // Planos: features e main features (mapApiPlanToUiPlan).\n plans: {\n features: {\n unlimitedVisits: 'Unlimited visits',\n unlimitedLeads: 'Unlimited leads',\n sharePages: 'Share pages',\n hosting: 'Hosting included',\n freeTemplates: 'Free templates',\n onboarding: 'Onboarding meeting',\n projectManagement: 'Project management',\n },\n names: {\n '415': 'Starter',\n '1': 'Essential',\n '2': 'Growth',\n '3': 'Agency',\n },\n mainFeatures: {\n pagesUnlimited: 'Unlimited pages',\n pageSingular: '1 page',\n pagesPlural: '{count} pages',\n domainsUnlimited: 'Unlimited domains',\n domainSingular: '1 external domain',\n domainsPlural: '{count} external domains',\n usersUnlimited: 'Unlimited users',\n },\n usdNotConfigured: 'USD not configured',\n },\n\n // Autenticação de pagamento (3DS/SCA).\n payment: {\n authFailed: \"We couldn't authenticate the payment with your bank.\",\n },\n\n // Periodicidade de cobrança.\n periodicity: {\n monthly: 'Monthly',\n semiannual: 'Semiannual',\n annual: 'Annual',\n suffixMonthly: '/month',\n suffixSemiannual: '/semester',\n suffixAnnual: '/year',\n labelMonthly: 'monthly',\n labelSemiannual: 'semiannual',\n labelAnnual: 'annual',\n },\n\n languages: {\n 'pt-br': 'Portuguese (Brazil)',\n 'en-us': 'English (US)',\n 'es-es': 'Spanish',\n },\n} as const;\n\nexport default messages;\n"],"mappings":"AAKA,MAAM,WAAW;AAAA,EACf,SAAS;AAAA,IACP,MAAM;AAAA,IACN,aAAa;AAAA,IACb,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,OAAO;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,IACV,KAAK;AAAA,IACL,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,QAAQ;AAAA,EACV;AAAA,EAEA,aAAa;AAAA,IACX,UAAU;AAAA,IACV,cAAc;AAAA,IACd,cAAc;AAAA,EAChB;AAAA,EAEA,aAAa;AAAA,IACX,OAAO;AAAA,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,IACT,YAAY;AAAA,IACZ,QAAQ;AAAA,IACR,eAAe;AAAA,IACf,kBAAkB;AAAA,IAClB,cAAc;AAAA,IACd,cAAc;AAAA,IACd,iBAAiB;AAAA,IACjB,aAAa;AAAA,EACf;AAAA,EAEA,WAAW;AAAA,IACT,SAAS;AAAA,IACT,SAAS;AAAA,IACT,SAAS;AAAA,EACX;AACF;AAEA,IAAO,gBAAQ;","names":[]}
1
+ {"version":3,"sources":["../../../src/i18n/messages/en-us.ts"],"sourcesContent":["/**\n * en-us translation catalog for @greatapps/common components.\n * Consumer apps merge this object under the `common` namespace.\n * Mirror the module structure of `pt-br.ts` (the source of truth).\n */\nconst messages = {\n actions: {\n save: 'Save',\n saveChanges: 'Save changes',\n cancel: 'Cancel',\n confirm: 'Confirm',\n delete: 'Delete',\n edit: 'Edit',\n close: 'Close',\n back: 'Back',\n continue: 'Continue',\n add: 'Add',\n remove: 'Remove',\n search: 'Search',\n loading: 'Loading...',\n saving: 'Saving...',\n sending: 'Sending...',\n copy: 'Copy',\n copied: 'Copied',\n },\n\n validations: {\n required: 'Required field',\n invalidEmail: 'Invalid email',\n invalidPhone: 'Invalid phone number',\n },\n\n preferences: {\n title: 'Preferences',\n companyName: 'Company name',\n companyNamePlaceholder: 'Enter the company name',\n language: 'Language',\n languagePlaceholder: 'Select the language',\n languageSearch: 'Search language...',\n currency: 'Currency',\n currencyPlaceholder: 'Select the currency',\n currencySearch: 'Search currency...',\n timeDisplay: 'Time display',\n timezone: 'Time zone',\n timezonePlaceholder: 'Select the time zone',\n timezoneSearch: 'Search time zone...',\n timeFormat: 'Time format',\n timeFormatPlaceholder: 'Select the format',\n timeFormatOptions: {\n h24: '24 hours',\n h12: '12 hours (AM/PM)',\n },\n savedSuccess: 'Preferences saved successfully',\n saveError: 'Error saving preferences',\n },\n\n account: {\n notificationTypes: {\n projectUpdates: 'Project updates',\n securityAlerts: 'Security alerts',\n planBilling: 'Plan or billing changes',\n scheduledMaintenance: 'Scheduled maintenance',\n },\n deleteAccount: {\n title: 'Delete account',\n description:\n 'This action is <b>irreversible</b>. By confirming, your account and all your data will be deleted.',\n reasonLabel: 'Reason for cancellation',\n reasonPlaceholder: 'Select',\n descriptionLabel: 'Describe what led you to make this decision',\n descriptionPlaceholder: 'Explain your decision...',\n charactersCount: '{count}/400 characters',\n passwordLabel: 'Password',\n passwordPlaceholder: 'Enter your password',\n submit: 'Delete account',\n requiredFields: 'Fill in all required fields',\n reasons: {\n noFeature: 'The tool lacks a feature I need',\n technical: 'I encountered technical issues or errors in the system',\n support: 'I had issues with support or customer service',\n updates: 'Updates take longer than expected',\n temporary: 'The cancellation is temporary',\n other: 'Other reason',\n },\n },\n deletionWarning: {\n title: 'Your account will be deleted',\n descriptionLine1:\n 'Your subscription has been cancelled for 90 days or more. Your account and all data will be permanently deleted.',\n descriptionLine2:\n 'To keep your information, reactivate your subscription before the deletion. After this period, the data cannot be recovered.',\n reactivate: 'Reactivate subscription',\n },\n confirmDelete: {\n title: 'Sorry to see you go!',\n warning:\n 'All your <b>{count} pages</b> will be permanently deleted. This action is <b>irreversible!</b>',\n sessionExpired: 'Session expired. Fill in the fields again.',\n success: 'Account deleted successfully',\n error: 'Error deleting account. Please try again.',\n keepAccount: 'Keep my account',\n deleteAnyway: 'Delete anyway',\n deleting: 'Deleting...',\n },\n cantDelete: {\n title: 'Unable to delete account',\n description:\n 'You have an active subscription. To delete your account, <b>first cancel your subscription</b> on the Subscription page and then try again.',\n confirm: 'Ok, I understand',\n goToSubscription: 'Go to subscription',\n },\n twoFactor: {\n title: 'Two-factor authentication',\n instructions:\n 'Install an authenticator app on your mobile device (e.g., <link>Google Authenticator</link>), scan the QR Code on the side or copy the key in the app, and then enter the 6-digit code generated to continue.',\n qrAlt: 'QR Code for two-factor authentication',\n retry: 'Try again',\n pasteDigits: 'Paste the 6 digits below',\n activating: 'Activating...',\n activate: 'Activate authentication',\n recoveryTitle: 'Security codes',\n recoveryHeading: 'Save these emergency recovery codes',\n recoveryText1:\n 'If you lose access to your phone, you will not be able to log into your account without a two-factor code.',\n recoveryText2: 'Print, copy, or write the codes below in a safe location.',\n copyCodes: 'Copy codes',\n finish: 'Finish',\n codesCopied: 'Codes copied successfully',\n generateError: 'Error generating QR Code. Try again.',\n confirmError: 'Error confirming code. Try again.',\n disableTitle: 'Disable 2FA authentication',\n disableDescription:\n 'Enter the 6-digit code from your authenticator app to confirm disabling.',\n authenticatorCode: 'Authenticator code',\n disabling: 'Disabling...',\n disable: 'Disable 2FA',\n disabledSuccess: 'Two-factor authentication disabled',\n disableError: 'Error disabling 2FA. Try again.',\n invalidCode: 'Invalid code',\n codeResent: 'Code resent',\n resendError: 'Error resending code. Try again.',\n },\n profile: {\n title: 'My profile',\n avatarAlt: 'User photo',\n changePhoto: 'Change photo',\n name: 'First name',\n namePlaceholder: 'Enter your first name',\n lastName: 'Last name',\n lastNamePlaceholder: 'Enter your last name',\n gender: 'Gender',\n genderPlaceholder: 'Select your gender',\n genderOptions: {\n male: 'Male',\n female: 'Female',\n },\n phone: 'Phone',\n change: 'Change',\n accessData: 'Access data',\n email: 'Email',\n savedSuccess: 'Profile updated successfully',\n saveError: 'Error updating profile',\n },\n otp: {\n validationCode: 'Validation code',\n incorrectCode: 'Incorrect code',\n resend: 'Resend code',\n resendIn: 'Resend in <b>{time}</b>',\n validating: 'Validating...',\n },\n changeEmail: {\n title: 'Change email',\n confirm: 'Change email',\n sentCodeTo: 'We sent a validation code to email <b>{email}.</b>',\n updateTitle: 'Update contact email',\n updateDescription: 'Enter your new email to keep your contact information updated.',\n newEmail: 'New email',\n newEmailPlaceholder: 'Enter your new email',\n emailChanged: 'Email changed successfully',\n emailExistsError: 'Email already exists or an error occurred. Please try again later.',\n },\n changePhone: {\n titleEdit: 'Change phone',\n titleAdd: 'Add phone',\n sentCodeTo: 'We sent a validation code to your current number <b>{phone}.</b>',\n confirm: 'Change phone',\n updateTitle: 'Update contact phone',\n addTitle: 'Add contact phone',\n updateDescription: 'Enter the new number to keep your contact information updated.',\n addDescription: 'Enter your phone number for contact.',\n newNumber: 'New number',\n numberLabel: 'Phone number',\n phoneChanged: 'Phone changed',\n phoneAdded: 'Phone added',\n invalidNumber: 'Invalid phone number',\n saveError: 'An error occurred while saving the phone number. Please try again later.',\n numberExistsError: 'Number already exists or an error occurred. Please try again later.',\n },\n security: {\n title: 'Security',\n googleLinkedTitle: 'Google account linked',\n googleLinkedDescription:\n 'Your account is linked to Google. If you unlink it, use \"Forgot my password\" to reset an email access password.',\n unlinking: 'Unlinking...',\n unlinkGoogle: 'Unlink Google',\n unlinkError: 'Error unlinking Google account.',\n deleteAccountDescription:\n 'This action is permanent and cannot be undone. All your data, projects, and settings will be permanently removed.',\n deleteMyAccount: 'Delete my account',\n },\n token: {\n title: 'Account token',\n label: 'Token',\n copySuccess: 'Token copied successfully',\n copyError: 'Failed to copy token',\n info: 'This token is unique to your account and allows API access. Do not share with third parties.',\n docsLink: 'Access documentation',\n },\n changePassword: {\n title: 'Change password',\n currentPassword: 'Current password',\n currentPasswordPlaceholder: 'Enter your current password',\n newPassword: 'New password',\n newPasswordPlaceholder: 'Enter your new password',\n submit: 'Save new password',\n changeError: 'Error changing password',\n changedSuccess: 'Password changed successfully',\n genericError: 'Error changing password. Try again.',\n },\n globalPreferences: {\n title: 'Change global preferences',\n srDescription: 'Confirmation of global account preferences change',\n warning:\n 'You are changing settings that impact <b>all account users</b>. Do you want to confirm?',\n },\n configurations: {\n title: 'Settings',\n },\n },\n\n credits: {\n buy: {\n title: 'Buy AI credits',\n externalTitle: 'AI Credits',\n externalDescription: 'To purchase AI credits, visit your subscription area.',\n externalButton: 'Go to subscription area',\n creditsOptionLabel: '{credits} AI credits',\n creditsOptionDisplayValue: '{credits} AI credits',\n paymentOnConfirm: 'Payment will be processed at the time of confirmation.',\n nextInvoiceChanges: 'Changes will take effect from your next invoice.',\n defaultPrice: 'Default',\n immediateCharge: 'Immediate charge',\n totalPlanValue: 'Total plan value',\n confirmAndPay: 'Confirm and pay',\n creditsChangedToast: 'AI credits changed to {credits}',\n purchaseSuccessToast: 'Purchase complete! {credits} AI credits were added to your balance.',\n pixConfirmedToast: 'Payment confirmed! {credits} AI credits are now in your balance.',\n },\n disabled: {\n title: 'Credit purchase unavailable',\n descriptionLine1: 'Only administrators and owners can purchase AI credits.',\n descriptionLine2:\n 'Ask an account administrator or owner to purchase more credits.',\n understood: 'Got it',\n },\n paidPlanRequired: {\n defaultTitle: 'Feature available on paid plans',\n defaultDescription: 'To access this feature, upgrade to a paid plan',\n knowPlans: 'View plans',\n },\n },\n\n cards: {\n add: {\n stepBilling: 'Billing',\n stepCard: 'Card',\n externalTitle: 'Card management unavailable',\n externalDescription: 'Access your subscription area to manage payment methods.',\n externalButton: 'Go to subscription area',\n title: 'Add card',\n billingHeading: 'Add your billing information',\n cardHeading: 'Add your card information',\n authenticating: 'Authenticating...',\n submitting: 'Adding card...',\n submit: 'Add card',\n errorInitAuth: 'Unable to start card authentication, please try again.',\n errorAuth: 'Card authentication failed.',\n errorAuthStatus: 'Authentication not completed (status: {status}).',\n statusUnknown: 'unknown',\n successToast: 'Card added successfully.',\n errorSave: 'Unable to save your new card, please try again.',\n },\n form: {\n nameOnCard: 'Name on card',\n typeHere: 'Type here',\n cardNumber: 'Card number',\n cardExpiry: 'Expiration date',\n cardCvc: 'CVC',\n country: 'Country',\n select: 'Select',\n personType: 'Person type',\n personTypePf: 'Individual',\n personTypePj: 'Business',\n cpf: 'CPF',\n cnpj: 'CNPJ',\n fullName: 'Full name',\n cep: 'CEP',\n postalCode: 'Postal code',\n street: 'Address',\n streetNumber: 'Number',\n city: 'City',\n state: 'UF',\n stateProvince: 'State/Province',\n neighborhood: 'Neighborhood',\n complement: 'Complement',\n cardNumberRequired: 'Card number is required',\n cardExpiryRequired: 'Expiration date is required',\n cardCvcRequired: 'Security code is required',\n },\n delete: {\n title: 'Delete card',\n description: 'Are you sure you want to delete the card:',\n confirmLabel: 'Type DELETE below',\n confirmPlaceholder: 'DELETE',\n deleting: 'Deleting...',\n successToast: 'Card •••• {digits} deleted successfully',\n errorToast: 'Unable to delete card',\n },\n cannotDelete: {\n title: 'Cannot delete this card',\n description: 'This card is in use and has an active subscription linked to it. Select another card as default or add a new one.',\n selectDefault: 'Select a card as default:',\n addNewCard: 'Add new card',\n errorUpdateCard: 'Error updating subscription card',\n },\n item: {\n defaultBadge: 'Default',\n makeDefault: 'Make default',\n setDefaultSuccess: 'Card set as default',\n setDefaultError: 'Error setting card as default',\n },\n paymentInfo: {\n email: 'Email',\n payment: 'Payment',\n addCard: 'Add card',\n selectPaymentMethod: 'Select payment method',\n manageCards: 'Manage cards',\n newPaymentMethod: 'New payment method',\n },\n },\n billing: {\n requiredData: {\n title: 'Complete your billing information',\n description:\n 'We need this information to issue the invoice for your payments. Filling it in is required to keep using the platform.',\n addressHeading: 'Billing address',\n select: 'Select',\n typeHere: 'Type here',\n personType: 'Entity type',\n personTypePf: 'Individual',\n personTypePj: 'Company',\n cpf: 'CPF',\n cnpj: 'CNPJ',\n fullName: 'Full name',\n companyName: 'Legal name',\n financialEmail: 'Billing email',\n financialEmailPlaceholder: 'billing@company.com',\n cep: 'ZIP code',\n postalCode: 'Postal code',\n street: 'Address',\n streetNumber: 'Number',\n neighborhood: 'District',\n complement: 'Complement',\n city: 'City',\n state: 'State',\n stateProvince: 'State/Province',\n country: 'Country',\n submit: 'Save and continue',\n submitting: 'Saving...',\n successToast: 'Billing information saved successfully.',\n errorToast: 'We could not save your billing information, please try again.',\n requiredField: 'Required field',\n invalidEmail: 'Invalid email',\n invalidCep: 'Invalid ZIP code',\n invalidCpf: 'Invalid CPF',\n invalidCnpj: 'Invalid CNPJ',\n invalidCpfChecksum: 'Invalid CPF — check the verification digits',\n invalidCnpjChecksum: 'Invalid CNPJ — check the verification digits',\n },\n },\n navigation: {\n banners: {\n cancelled: {\n message: 'Subscription cancelled! Your pages are now offline.',\n choosePlan: 'Choose a new plan',\n },\n overdue: {\n message: 'Your subscription is overdue and your pages may be taken offline at any time.',\n attemptsMessage: 'Payment failed. {count, plural, one {# attempt remains} other {# attempts remain}} before cancellation. Update your payment method.',\n details: 'Details',\n },\n pending: {\n message: 'Your subscription was cancelled. You have until {limitDate} with your pages online.',\n reactivate: 'Reactivate subscription',\n },\n upcoming: {\n message: 'Invoice pending. Pay by {dueDate} to avoid suspension of your pages.',\n details: 'Details',\n },\n trial: {\n message: 'Trial period: {days, plural, =0 {your trial ends today!} one {# day left} other {# days left}}.',\n choosePlan: 'Subscribe now',\n },\n },\n projectSelector: {\n title: 'Projects',\n searchPlaceholder: 'Search here',\n emptyLine1: 'No projects found.',\n emptyLine2: 'Create a project to get started.',\n noResults: 'No results found.',\n manageProjects: 'Manage projects',\n },\n bottomLinks: {\n news: 'News',\n helpCenter: 'Help center',\n sendSuggestions: 'Send suggestions',\n },\n creditsCard: {\n label: 'Credits used',\n },\n planCard: {\n knowPlans: 'View plans',\n },\n },\n subscription: {\n frozen: {\n banner: {\n message: 'Your account has its resources blocked due to a missed payment.',\n regularize: 'Fix subscription',\n },\n warningBanner: {\n message: 'Payment overdue: your account will be blocked on {freezeDate}. Fix it to keep access.',\n details: 'Details',\n },\n modal: {\n title: 'Account blocked due to a missed payment',\n description: 'Your account has its resources blocked due to a missed payment. Fix your subscription to unlock it.',\n cta: 'Fix subscription',\n },\n },\n },\n forms: {\n combobox: {\n placeholder: 'Select an option',\n searchPlaceholder: 'Search...',\n emptyMessage: 'No options found.',\n },\n datePicker: {\n placeholder: 'Select date',\n },\n dateRangePicker: {\n placeholder: 'Select period',\n },\n phoneInput: {\n optional: '(Optional)',\n searchPlaceholder: 'Search country...',\n emptyMessage: 'No countries found',\n },\n select: {\n placeholder: 'Select an option',\n optional: '(Optional)',\n },\n copyButton: {\n tooltipDefault: 'Copy link',\n successDefault: 'Link copied',\n errorMessage: 'Unable to copy link',\n },\n circularProgress: {\n ariaLabel: 'Export progress',\n },\n },\n imageUpload: {\n cropTitle: 'Adjust image',\n cropHint: 'Drag to adjust the crop area',\n cropAlt: 'Crop',\n tooSmallTitleWithDimension: 'Image smaller than {dimensionText}',\n tooSmallTitleGeneric: 'Image too small',\n tooSmallBodyFileWithDimension: 'The file \"{fileName}\" is smaller than {dimensionText}. Upload an image with at least {dimensionText} to continue.',\n tooSmallBodyFileGeneric: 'The file \"{fileName}\" is smaller than the minimum required size. Upload a larger image to continue.',\n tooSmallBodyNoFileWithDimension: 'The selected image is smaller than {dimensionText}. Upload an image with at least {dimensionText} to continue.',\n tooSmallBodyNoFileGeneric: 'The selected image is smaller than the minimum required size. Upload a larger image to continue.',\n sendAnother: 'Upload another',\n errorSvg: 'SVG format is not supported. Use PNG, JPEG, WebP, or GIF.',\n errorFormat: 'Unsupported format. Use PNG, JPEG, WebP, or GIF.',\n errorTooLarge: 'File too large. Maximum {maxSize}MB.',\n },\n notifications: {\n page: {\n title: 'Notifications',\n subtitle: 'Have full control over pages, experiences, and conversions.',\n markAllReadDesktop: 'Mark all as read',\n markAllReadMobile: 'Mark as read',\n tabAll: 'All notifications',\n tabUnread: 'Unread',\n details: 'Details',\n empty: 'No notifications found.',\n markAllSuccess: 'All notifications marked as read',\n markAllError: 'Error marking notifications as read',\n },\n popover: {\n title: 'Latest notifications',\n empty: 'No notifications yet',\n viewAll: 'All notifications',\n },\n },\n layout: {\n navbar: {\n expandMenu: 'Expand menu',\n greatPages: 'GreatPages',\n pages: 'Pages',\n },\n profile: {\n usedCredits: 'Credits used',\n loggingOut: 'Signing out...',\n logout: 'Sign out',\n },\n usersSelector: {\n title: 'Users',\n add: 'Add',\n searchPlaceholder: 'Search here',\n empty: 'No users found.',\n noResults: 'No results found.',\n addToProject: 'Add to project',\n removeFromProject: 'Remove from project',\n manageTeam: 'Manage team',\n },\n },\n notFound: {\n title: 'Page not found!',\n description: 'The page you are looking for does not exist. Check that you typed the link correctly.',\n backToHome: 'Back to home',\n },\n\n // Planos: features e main features (mapApiPlanToUiPlan).\n plans: {\n features: {\n unlimitedVisits: 'Unlimited visits',\n unlimitedLeads: 'Unlimited leads',\n sharePages: 'Share pages',\n hosting: 'Hosting included',\n freeTemplates: 'Free templates',\n onboarding: 'Onboarding meeting',\n projectManagement: 'Project management',\n },\n names: {\n '415': 'Starter',\n '1': 'Essential',\n '2': 'Growth',\n '3': 'Agency',\n },\n mainFeatures: {\n pagesUnlimited: 'Unlimited pages',\n pageSingular: '1 page',\n pagesPlural: '{count} pages',\n domainsUnlimited: 'Unlimited domains',\n domainSingular: '1 external domain',\n domainsPlural: '{count} external domains',\n usersUnlimited: 'Unlimited users',\n },\n usdNotConfigured: 'USD not configured',\n },\n\n // Autenticação de pagamento (3DS/SCA).\n payment: {\n authFailed: \"We couldn't authenticate the payment with your bank.\",\n },\n\n // Periodicidade de cobrança.\n periodicity: {\n monthly: 'Monthly',\n semiannual: 'Semiannual',\n annual: 'Annual',\n suffixMonthly: '/month',\n suffixSemiannual: '/semester',\n suffixAnnual: '/year',\n labelMonthly: 'monthly',\n labelSemiannual: 'semiannual',\n labelAnnual: 'annual',\n },\n\n languages: {\n 'pt-br': 'Portuguese (Brazil)',\n 'en-us': 'English (US)',\n 'es-es': 'Spanish',\n },\n} as const;\n\nexport default messages;\n"],"mappings":"AAKA,MAAM,WAAW;AAAA,EACf,SAAS;AAAA,IACP,MAAM;AAAA,IACN,aAAa;AAAA,IACb,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,OAAO;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,IACV,KAAK;AAAA,IACL,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,QAAQ;AAAA,EACV;AAAA,EAEA,aAAa;AAAA,IACX,UAAU;AAAA,IACV,cAAc;AAAA,IACd,cAAc;AAAA,EAChB;AAAA,EAEA,aAAa;AAAA,IACX,OAAO;AAAA,IACP,aAAa;AAAA,IACb,wBAAwB;AAAA,IACxB,UAA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A,MACb,kBAAkB;AAAA,MAClB,gBAAgB;AAAA,MAChB,eAAe;AAAA,MACf,gBAAgB;AAAA,IAClB;AAAA,IACA,kBAAkB;AAAA,EACpB;AAAA;AAAA,EAGA,SAAS;AAAA,IACP,YAAY;AAAA,EACd;AAAA;AAAA,EAGA,aAAa;AAAA,IACX,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,QAAQ;AAAA,IACR,eAAe;AAAA,IACf,kBAAkB;AAAA,IAClB,cAAc;AAAA,IACd,cAAc;AAAA,IACd,iBAAiB;AAAA,IACjB,aAAa;AAAA,EACf;AAAA,EAEA,WAAW;AAAA,IACT,SAAS;AAAA,IACT,SAAS;AAAA,IACT,SAAS;AAAA,EACX;AACF;AAEA,IAAO,gBAAQ;","names":[]}
@@ -409,6 +409,23 @@ const messages = {
409
409
  knowPlans: "Conoce nuestros planes"
410
410
  }
411
411
  },
412
+ subscription: {
413
+ frozen: {
414
+ banner: {
415
+ message: "Tu cuenta tiene los recursos bloqueados por falta de pago.",
416
+ regularize: "Regularizar suscripci\xF3n"
417
+ },
418
+ warningBanner: {
419
+ message: "Pago atrasado: tu cuenta ser\xE1 bloqueada el {freezeDate}. Regulariza para no perder el acceso.",
420
+ details: "Detalles"
421
+ },
422
+ modal: {
423
+ title: "Cuenta bloqueada por falta de pago",
424
+ description: "Tu cuenta tiene los recursos bloqueados por falta de pago. Regulariza tu suscripci\xF3n para liberarla.",
425
+ cta: "Regularizar suscripci\xF3n"
426
+ }
427
+ }
428
+ },
412
429
  forms: {
413
430
  combobox: {
414
431
  placeholder: "Selecciona una opci\xF3n",