@agendar/shared 0.2.0 → 0.4.0

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 (38) hide show
  1. package/dist/{chunk-7FPQB5UW.js → chunk-2GJXS5AI.js} +109 -3
  2. package/dist/chunk-2GJXS5AI.js.map +1 -0
  3. package/dist/{chunk-LMEE5HXL.js → chunk-AIMCPYP2.js} +109 -3
  4. package/dist/chunk-AIMCPYP2.js.map +1 -0
  5. package/dist/{chunk-CLGTNTZB.js → chunk-DIBRYKLY.js} +109 -3
  6. package/dist/chunk-DIBRYKLY.js.map +1 -0
  7. package/dist/i18n/en.cjs +107 -1
  8. package/dist/i18n/en.cjs.map +1 -1
  9. package/dist/i18n/en.d.cts +106 -0
  10. package/dist/i18n/en.d.ts +106 -0
  11. package/dist/i18n/en.js +1 -1
  12. package/dist/i18n/es.cjs +107 -1
  13. package/dist/i18n/es.cjs.map +1 -1
  14. package/dist/i18n/es.d.cts +106 -0
  15. package/dist/i18n/es.d.ts +106 -0
  16. package/dist/i18n/es.js +1 -1
  17. package/dist/i18n/index.cjs +321 -3
  18. package/dist/i18n/index.cjs.map +1 -1
  19. package/dist/i18n/index.js +3 -3
  20. package/dist/i18n/pt.cjs +107 -1
  21. package/dist/i18n/pt.cjs.map +1 -1
  22. package/dist/i18n/pt.d.cts +106 -0
  23. package/dist/i18n/pt.d.ts +106 -0
  24. package/dist/i18n/pt.js +1 -1
  25. package/dist/schemas/create-client.cjs +3 -1
  26. package/dist/schemas/create-client.cjs.map +1 -1
  27. package/dist/schemas/create-client.js +3 -1
  28. package/dist/schemas/create-client.js.map +1 -1
  29. package/dist/utils/contact-phone.cjs +35 -0
  30. package/dist/utils/contact-phone.cjs.map +1 -0
  31. package/dist/utils/contact-phone.d.cts +22 -0
  32. package/dist/utils/contact-phone.d.ts +22 -0
  33. package/dist/utils/contact-phone.js +31 -0
  34. package/dist/utils/contact-phone.js.map +1 -0
  35. package/package.json +6 -1
  36. package/dist/chunk-7FPQB5UW.js.map +0 -1
  37. package/dist/chunk-CLGTNTZB.js.map +0 -1
  38. package/dist/chunk-LMEE5HXL.js.map +0 -1
@@ -319,6 +319,11 @@ var appEN = {
319
319
  ...apiEN,
320
320
  // Home Screen
321
321
  "home.greeting": "Hello, {{name}}",
322
+ "home.salutation.morning": "Good morning,",
323
+ "home.salutation.afternoon": "Good afternoon,",
324
+ "home.salutation.evening": "Good evening,",
325
+ "home.kpi.points": "{{change}} pp",
326
+ "home.chart.total": "{{total}} total",
322
327
  "home.subtitle": "Here's what's happening.",
323
328
  "home.recentClients": "Recent Clients",
324
329
  "home.overview": "Overview",
@@ -870,7 +875,7 @@ var appEN = {
870
875
  // Client Create Screen
871
876
  "clients.create.firstname": "First name",
872
877
  "clients.create.firstnamePlaceholder": "e.g. John",
873
- "clients.create.lastname": "Last name",
878
+ "clients.create.lastname": "Last name (optional)",
874
879
  "clients.create.lastnamePlaceholder": "e.g. Smith",
875
880
  "clients.create.phone": "Phone",
876
881
  "clients.create.phonePlaceholder": "+1 23 45678-9012",
@@ -915,6 +920,62 @@ var appEN = {
915
920
  "clients.balance.ledger.empty": "No transactions recorded.",
916
921
  "clients.balance.ledger.credit": "Credit",
917
922
  "clients.balance.ledger.debit": "Debit",
923
+ "clients.detail.since": "Client since {{date}}",
924
+ "clients.detail.visits_one": "{{count}} visit",
925
+ "clients.detail.visits_other": "{{count}} visits",
926
+ "clients.detail.lastVisit": "Last visit {{relative}}",
927
+ "clients.detail.more": "More options",
928
+ "clients.detail.contact.whatsapp": "WhatsApp",
929
+ "clients.detail.contact.call": "Call",
930
+ "clients.detail.contact.email": "Email",
931
+ "clients.detail.contact.error": "Couldn't open the app",
932
+ "clients.detail.metrics.appointments": "Appointments",
933
+ "clients.detail.notesEmptyHint": "Nothing noted. Tap to record preferences.",
934
+ "clients.detail.notesEdit": "Edit notes",
935
+ "clients.balance.launch": "Add",
936
+ "clients.balance.launchHint": "Opens a credit or debit entry on the client's balance",
937
+ "clients.balance.sheet.current": "Current balance:",
938
+ "clients.balance.sheet.newBalance": "New balance: {{value}}",
939
+ "clients.balance.sheet.other": "Other",
940
+ "clients.balance.sheet.reasonPlaceholder": "E.g. package paid in advance",
941
+ "clients.balance.sheet.confirmCredit": "Confirm credit",
942
+ "clients.balance.sheet.confirmDebit": "Confirm debit",
943
+ "clients.balance.sheet.insufficient": "Insufficient balance for this debit",
944
+ "clients.balance.sheet.close": "Close",
945
+ "clients.detail.editClientHint": "Opens the form to edit the client's details",
946
+ "clients.detail.moreHint": "Shows more actions, such as deleting the client",
947
+ "clients.detail.contact.whatsappHint": "Opens a WhatsApp chat with the client",
948
+ "clients.detail.contact.callHint": "Calls the client's phone",
949
+ "clients.detail.contact.emailHint": "Opens an email to the client",
950
+ "clients.balance.sheet.closeHint": "Closes without adding the entry",
951
+ "clients.balance.sheet.amountHint": "Type the entry amount",
952
+ "clients.tabHistory.dateFormat": "ddd, MMM DD, YYYY \xB7 h:mm A",
953
+ "clients.tabHistory.productDetail": "Product \xB7 {{count}} unit(s)",
954
+ "clients.tabHistory.packageDetail": "Package",
955
+ "clients.tabHistory.subtotal": "Subtotal",
956
+ "clients.tabHistory.total": "Total",
957
+ "clients.tabHistory.payment": "Payment",
958
+ "clients.tabHistory.noPayment": "Not provided",
959
+ "clients.tabHistory.expandHint": "Shows the tab's items",
960
+ "clients.tabHistory.collapseHint": "Hides the tab's items",
961
+ "clients.tabHistory.loadError": "Couldn't load the tabs",
962
+ "clients.packageHistory.sessionsUsed": "{{used}} of {{total}} sessions used",
963
+ "clients.packageHistory.serviceUsage": "{{used}} of {{total}} used",
964
+ "clients.packageHistory.price": "Amount paid",
965
+ "clients.packageHistory.status": "Status",
966
+ "clients.packageHistory.notes": "Note",
967
+ "clients.packageHistory.cancellationReason": "Cancellation reason",
968
+ "clients.packageHistory.expandHint": "Shows the package's services",
969
+ "clients.packageHistory.collapseHint": "Hides the package's services",
970
+ "clients.packageHistory.loadError": "Couldn't load the packages",
971
+ "clients.emptyTabs.upcoming.title": "No upcoming appointments",
972
+ "clients.emptyTabs.upcoming.subtitle": "{{name}} has nothing booked yet. Why not reserve the next visit now?",
973
+ "clients.emptyTabs.visits.title": "The first visit is on its way",
974
+ "clients.emptyTabs.visits.subtitle": "Each of {{name}}'s visits shows up here, with service, professional and amount.",
975
+ "clients.emptyTabs.tabs.title": "No tabs yet",
976
+ "clients.emptyTabs.tabs.subtitle": "Services and products sold to {{name}} are recorded here, ready to look up.",
977
+ "clients.emptyTabs.packages.title": "No packages yet",
978
+ "clients.emptyTabs.packages.subtitle": "Packages sold to {{name}} show up here, with the sessions used in each one.",
918
979
  // Select Client Sheet
919
980
  "clients.select.title": "Select Client",
920
981
  "clients.select.searchPlaceholder": "Search",
@@ -929,6 +990,36 @@ var appEN = {
929
990
  "clients.list.filter.debit": "With debit",
930
991
  "clients.list.filter.package": "With package",
931
992
  "clients.list.filter.empty": "No filters found.",
993
+ "clients.empty.title": "Your client list starts here",
994
+ "clients.empty.subtitle": "Add your first client to book appointments, track balances and sell packages.",
995
+ "clients.empty.create": "Add client",
996
+ "clients.empty.import": "Import from phone contacts",
997
+ "clients.emptySearch.title": "No clients found",
998
+ "clients.emptySearch.subtitle": "We couldn't find anyone named \u201C{{query}}\u201D. Check the spelling or try searching by phone.",
999
+ "clients.emptySearch.create": "Add \u201C{{query}}\u201D",
1000
+ "clients.emptySearch.clear": "Clear search",
1001
+ "clients.emptyFilter.credit": "No clients with credit",
1002
+ "clients.emptyFilter.debit": "No clients in debt",
1003
+ "clients.emptyFilter.openPackage": "No clients with an open package",
1004
+ "clients.emptyFilter.showAll": "Show all",
1005
+ "clients.add.menu": "Add clients",
1006
+ "clients.add.menuHint": "Opens the options to add or import clients",
1007
+ "clients.add.new": "New client",
1008
+ "clients.add.import": "Import contacts",
1009
+ "clients.import.title": "Import contacts",
1010
+ "clients.import.submit": "Import ({{count}})",
1011
+ "clients.import.searchPlaceholder": "Search contacts",
1012
+ "clients.import.selectAll": "Select all",
1013
+ "clients.import.deselectAll": "Deselect all",
1014
+ "clients.import.noPhone": "No phone",
1015
+ "clients.import.invalidPhone": "Invalid phone",
1016
+ "clients.import.empty": "No contacts on this phone.",
1017
+ "clients.import.permission.title": "Allow access to contacts",
1018
+ "clients.import.permission.subtitle": "To import clients, Agendar needs to read your contacts. Only the contacts you select are sent.",
1019
+ "clients.import.permission.openSettings": "Open settings",
1020
+ "clients.import.permission.request": "Allow access",
1021
+ "clients.import.result": "Imported: {{created}} \xB7 Already added: {{duplicate}} \xB7 Invalid: {{invalid}}",
1022
+ "clients.import.failed": "Couldn't import the contacts. Please try again.",
932
1023
  "clients.columns.balance": "Balance",
933
1024
  "clients.page.empty": "No clients found.",
934
1025
  "clients.table.rowsPerPage": "Rows per page",
@@ -2015,6 +2106,21 @@ var appEN = {
2015
2106
  "menu.subtitle.packages": "Service bundles and packages",
2016
2107
  "menu.subtitle.business": "Your business details and settings",
2017
2108
  "menu.subtitle.establishments": "Locations and addresses for your business",
2109
+ "menu.filter.all": "All",
2110
+ "menu.filter.finance": "Finance",
2111
+ "menu.stat.salesToday": "{{amount}} today",
2112
+ "menu.stat.expensesMonth": "{{amount}} in {{month}}",
2113
+ "menu.stat.clients_one": "{{count}} registered",
2114
+ "menu.stat.clients_other": "{{count}} registered",
2115
+ "menu.stat.professionals_one": "{{count}} active",
2116
+ "menu.stat.professionals_other": "{{count}} active",
2117
+ "menu.stat.catalog": "{{count}} in catalog",
2118
+ "menu.stat.lowStock": "{{count}} low on stock",
2119
+ "menu.stat.packages_one": "{{count}} active",
2120
+ "menu.stat.packages_other": "{{count}} active",
2121
+ "menu.stat.establishments_one": "{{count}} address",
2122
+ "menu.stat.establishments_other": "{{count}} addresses",
2123
+ "menu.stat.establishmentsNone": "No address",
2018
2124
  "packages.page.title": "Packages",
2019
2125
  "packages.page.subtitle": "Manage service packages and bundled offers.",
2020
2126
  "packages.page.active": "Active packages",
@@ -2090,5 +2196,5 @@ var appEN = {
2090
2196
  };
2091
2197
 
2092
2198
  export { appEN };
2093
- //# sourceMappingURL=chunk-CLGTNTZB.js.map
2094
- //# sourceMappingURL=chunk-CLGTNTZB.js.map
2199
+ //# sourceMappingURL=chunk-DIBRYKLY.js.map
2200
+ //# sourceMappingURL=chunk-DIBRYKLY.js.map