@accounter/client 0.0.7-alpha-20251020201456-275b6a9424e58d4d2c7e9099986230d087ccd6cd → 0.0.8-alpha-20251021150028-9eb73ba6576d67c75a60786d0e4ab0876fd7a95c

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 (42) hide show
  1. package/CHANGELOG.md +102 -105
  2. package/dist/assets/index-0eCf1BcD.css +1 -0
  3. package/dist/assets/index-DHTbHvtz.js +1188 -0
  4. package/dist/assets/{index.es-DldZjCMz.js → index.es-DHwHzag1.js} +1 -1
  5. package/dist/index.html +2 -2
  6. package/package.json +1 -2
  7. package/src/app.tsx +4 -8
  8. package/src/components/business-transactions/business-extended-info.tsx +13 -9
  9. package/src/components/charges/charge-extended-info-menu.tsx +21 -27
  10. package/src/components/charges/charges-row.tsx +10 -12
  11. package/src/components/charges/charges-table.tsx +9 -15
  12. package/src/components/common/documents/issue-document/recent-client-docs.tsx +3 -5
  13. package/src/components/common/forms/business-card.tsx +0 -1
  14. package/src/components/common/forms/modify-business-fields.tsx +19 -2
  15. package/src/components/common/inputs/combo-box.tsx +1 -1
  16. package/src/components/reports/trial-balance-report/trial-balance-report-group.tsx +6 -4
  17. package/src/components/reports/trial-balance-report/trial-balance-report-sort-code.tsx +11 -8
  18. package/src/gql/gql.ts +6 -72
  19. package/src/gql/graphql.ts +14 -193
  20. package/src/helpers/currency.ts +0 -5
  21. package/src/helpers/index.ts +0 -2
  22. package/dist/assets/index-BSNI6g4T.js +0 -1224
  23. package/dist/assets/index-CzRRUK04.css +0 -1
  24. package/src/components/business/business-header.tsx +0 -65
  25. package/src/components/business/charges-section.tsx +0 -82
  26. package/src/components/business/charts-section.tsx +0 -115
  27. package/src/components/business/configurations-section.tsx +0 -835
  28. package/src/components/business/contact-info-section.tsx +0 -544
  29. package/src/components/business/contracts-section.tsx +0 -195
  30. package/src/components/business/documents-section.tsx +0 -26
  31. package/src/components/business/index.tsx +0 -171
  32. package/src/components/business/integrations-section.tsx +0 -479
  33. package/src/components/business/transactions-section.tsx +0 -26
  34. package/src/components/clients/contracts/modify-contract-dialog.tsx +0 -426
  35. package/src/components/clients/modify-client-dialog.tsx +0 -276
  36. package/src/components/screens/businesses/business.tsx +0 -50
  37. package/src/components/ui/progress.tsx +0 -25
  38. package/src/components/ui/skeleton.tsx +0 -12
  39. package/src/helpers/contracts.ts +0 -22
  40. package/src/helpers/pcn874.ts +0 -17
  41. package/src/hooks/use-insert-client.ts +0 -80
  42. package/src/hooks/use-update-client.ts +0 -75
@@ -1,5 +1,4 @@
1
1
  import { Currency } from '../gql/graphql.js';
2
- import { formatStringifyAmount } from './index.js';
3
2
 
4
3
  export function getCurrencyFormatter(
5
4
  currency: Currency,
@@ -69,7 +68,3 @@ export const FIAT_CURRENCIES: Currency[] = [
69
68
  Currency.Aud,
70
69
  Currency.Sek,
71
70
  ] as const;
72
-
73
- export function formatAmountWithCurrency(amount: number, currency: Currency, digits = 2): string {
74
- return `${currencyCodeToSymbol(currency)} ${formatStringifyAmount(amount, digits)}`;
75
- }
@@ -1,7 +1,6 @@
1
1
  export * from './charges.js';
2
2
  export * from './clipboard.js';
3
3
  export * from './consts.js';
4
- export * from './contracts.js';
5
4
  export * from './currency.js';
6
5
  export * from './dates.js';
7
6
  export * from './document-matches.js';
@@ -10,7 +9,6 @@ export * from './files.js';
10
9
  export * from './form.js';
11
10
  export * from './graphql-document-dedupe-fragments.js';
12
11
  export * from './numbers.js';
13
- export * from './pcn874.js';
14
12
  export * from './strings-manipulations.js';
15
13
  export * from './vat.js';
16
14
  export * from './tags.js';