@fayz-ai/plugin-financial 0.26.2 → 0.26.4

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.
@@ -1 +1 @@
1
- {"version":3,"file":"BatchClassify.d.ts","sourceRoot":"","sources":["../../src/components/BatchClassify.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAA;AAS3D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAA;AACrF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAA;AAgB7E,UAAU,KAAK;IACb,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,QAAQ,GAAG,OAAO,CAAA;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,KAAK,EAAE,qBAAqB,EAAE,CAAA;IAC9B,KAAK,EAAE,MAAM,CAAA;CACd;AAUD,6EAA6E;AAC7E,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAQ5D;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,qBAAqB,EAAE,GAAG,KAAK,EAAE,CAelE;AAeD,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;IAC1F,QAAQ,EAAE,qBAAqB,CAAA;IAC/B,aAAa,EAAE,MAAM,CAAA;IACrB,SAAS,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IACzC,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB,qBAgMA"}
1
+ {"version":3,"file":"BatchClassify.d.ts","sourceRoot":"","sources":["../../src/components/BatchClassify.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0D,MAAM,OAAO,CAAA;AAS9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAA;AACrF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAA;AAgB7E,UAAU,KAAK;IACb,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,QAAQ,GAAG,OAAO,CAAA;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,KAAK,EAAE,qBAAqB,EAAE,CAAA;IAC9B,KAAK,EAAE,MAAM,CAAA;CACd;AAUD,6EAA6E;AAC7E,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAQ5D;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,qBAAqB,EAAE,GAAG,KAAK,EAAE,CAelE;AAeD,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;IAC1F,QAAQ,EAAE,qBAAqB,CAAA;IAC/B,aAAa,EAAE,MAAM,CAAA;IACrB,SAAS,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IACzC,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB,qBAoIA"}
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import type { StatementSyncStatus } from '@fayz-ai/financial/data/sync-status';
3
+ type Translate = (key: string, params?: Record<string, string | number>) => string;
4
+ export interface SyncStatusLine {
5
+ text: string;
6
+ tone: 'muted' | 'warning' | 'error';
7
+ /** The full reason, for the hint — the inline text is truncated. */
8
+ detail?: string;
9
+ }
10
+ /** "agora", "há 3 min", "há 2 h", "há 4 dias", then the date itself. */
11
+ export declare function relativeSince(iso: string, t: Translate, now?: number): string;
12
+ /** What the line beside the button says. Null when there is nothing to report on. */
13
+ export declare function syncStatusLine(status: StatementSyncStatus | null, syncing: boolean, t: Translate, now?: number): SyncStatusLine | null;
14
+ export declare function StatementSyncControl({ status, syncing, onSync, t }: {
15
+ status: StatementSyncStatus | null;
16
+ syncing: boolean;
17
+ onSync: () => Promise<void>;
18
+ t: Translate;
19
+ }): React.JSX.Element;
20
+ export {};
21
+ //# sourceMappingURL=StatementSyncControl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatementSyncControl.d.ts","sourceRoot":"","sources":["../../src/components/StatementSyncControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAA;AAY9E,KAAK,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAAA;AAElF,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;IACnC,oEAAoE;IACpE,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,wEAAwE;AACxE,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,GAAG,SAAa,GAAG,MAAM,CASjF;AAED,qFAAqF;AACrF,wBAAgB,cAAc,CAC5B,MAAM,EAAE,mBAAmB,GAAG,IAAI,EAClC,OAAO,EAAE,OAAO,EAChB,CAAC,EAAE,SAAS,EACZ,GAAG,SAAa,GACf,cAAc,GAAG,IAAI,CAcvB;AAQD,wBAAgB,oBAAoB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE;IACnE,MAAM,EAAE,mBAAmB,GAAG,IAAI,CAAA;IAClC,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAC3B,CAAC,EAAE,SAAS,CAAA;CACb,qBA+BA"}
package/dist/index.js CHANGED
@@ -965,6 +965,18 @@ var en = {
965
965
  "financial.reconciliation.syncImported": "{{count}} new line(s) from the bank",
966
966
  "financial.reconciliation.syncNothingNew": "The bank has nothing new",
967
967
  "financial.reconciliation.syncFailed": "Could not fetch the bank statement",
968
+ "financial.reconciliation.batchClassify": "Classify in bulk",
969
+ "financial.reconciliation.syncStatusSyncing": "Syncing\u2026",
970
+ "financial.reconciliation.syncStatusOk": "Synced {{when}}",
971
+ "financial.reconciliation.syncStatusNever": "Not synced yet",
972
+ "financial.reconciliation.syncStatusPending": "Waiting for the bank to release the statement",
973
+ "financial.reconciliation.syncStatusRevoked": "Bank authorization expired",
974
+ "financial.reconciliation.syncStatusError": "Sync failed: {{reason}}",
975
+ "financial.reconciliation.syncStatusErrorUnknown": "the bank did not answer",
976
+ "financial.reconciliation.syncWhenNow": "just now",
977
+ "financial.reconciliation.syncWhenMinutes": "{{count}} min ago",
978
+ "financial.reconciliation.syncWhenHours": "{{count}} h ago",
979
+ "financial.reconciliation.syncWhenDays": "{{count}} day(s) ago",
968
980
  "financial.reconciliation.group.today": "Today",
969
981
  "financial.reconciliation.group.yesterday": "Yesterday",
970
982
  "financial.reconciliation.group.thisWeek": "This week",
@@ -1970,6 +1982,18 @@ var ptBR = {
1970
1982
  "financial.reconciliation.syncImported": "{{count}} lan\xE7amento(s) novo(s) do banco",
1971
1983
  "financial.reconciliation.syncNothingNew": "O banco n\xE3o tem lan\xE7amento novo",
1972
1984
  "financial.reconciliation.syncFailed": "N\xE3o foi poss\xEDvel buscar o extrato do banco",
1985
+ "financial.reconciliation.batchClassify": "Classificar em lote",
1986
+ "financial.reconciliation.syncStatusSyncing": "Sincronizando\u2026",
1987
+ "financial.reconciliation.syncStatusOk": "Sincronizado {{when}}",
1988
+ "financial.reconciliation.syncStatusNever": "Ainda n\xE3o sincronizado",
1989
+ "financial.reconciliation.syncStatusPending": "Aguardando o banco liberar o extrato",
1990
+ "financial.reconciliation.syncStatusRevoked": "Autoriza\xE7\xE3o do banco expirou",
1991
+ "financial.reconciliation.syncStatusError": "Falha ao sincronizar: {{reason}}",
1992
+ "financial.reconciliation.syncStatusErrorUnknown": "o banco n\xE3o respondeu",
1993
+ "financial.reconciliation.syncWhenNow": "agora",
1994
+ "financial.reconciliation.syncWhenMinutes": "h\xE1 {{count}} min",
1995
+ "financial.reconciliation.syncWhenHours": "h\xE1 {{count}} h",
1996
+ "financial.reconciliation.syncWhenDays": "h\xE1 {{count}} dia(s)",
1973
1997
  "financial.reconciliation.group.today": "Hoje",
1974
1998
  "financial.reconciliation.group.yesterday": "Ontem",
1975
1999
  "financial.reconciliation.group.thisWeek": "Esta semana",
@@ -5655,7 +5679,7 @@ function createFinancialPlugin(options) {
5655
5679
  locales: financialLocales
5656
5680
  };
5657
5681
  }
5658
- var FinancialPage = React5__default.lazy(() => import('./FinancialPage-EXFS4ADV.js').then((m) => ({ default: m.FinancialPage })));
5682
+ var FinancialPage = React5__default.lazy(() => import('./FinancialPage-NZFBBVY4.js').then((m) => ({ default: m.FinancialPage })));
5659
5683
  var FinancialGeneralSettings = lazyComponent(() => import('./FinancialGeneralSettings-WXJOCJPZ.js').then((m) => m.FinancialGeneralSettings));
5660
5684
  var CommissionRulesView = lazyComponent(() => import('./CommissionRulesView-2RW4ZCDT.js').then((m) => m.CommissionRulesView));
5661
5685
  var PersonStatementWidget = lazyComponent(() => import('./PersonStatementWidget-ULXXXYZ4.js').then((m) => m.PersonStatementWidget));