@agendar/shared 0.10.0 → 0.12.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 (52) hide show
  1. package/dist/{chunk-DHGXIS45.js → chunk-2MKLELFX.js} +216 -4
  2. package/dist/chunk-2MKLELFX.js.map +1 -0
  3. package/dist/{chunk-BHEUZ632.js → chunk-727FIU4M.js} +216 -4
  4. package/dist/chunk-727FIU4M.js.map +1 -0
  5. package/dist/{chunk-PCYHGS6E.js → chunk-CQIA5MRI.js} +216 -4
  6. package/dist/chunk-CQIA5MRI.js.map +1 -0
  7. package/dist/i18n/en.cjs +214 -2
  8. package/dist/i18n/en.cjs.map +1 -1
  9. package/dist/i18n/en.d.cts +213 -1
  10. package/dist/i18n/en.d.ts +213 -1
  11. package/dist/i18n/en.js +1 -1
  12. package/dist/i18n/es.cjs +214 -2
  13. package/dist/i18n/es.cjs.map +1 -1
  14. package/dist/i18n/es.d.cts +213 -1
  15. package/dist/i18n/es.d.ts +213 -1
  16. package/dist/i18n/es.js +1 -1
  17. package/dist/i18n/index.cjs +642 -6
  18. package/dist/i18n/index.cjs.map +1 -1
  19. package/dist/i18n/index.js +3 -3
  20. package/dist/i18n/pt.cjs +214 -2
  21. package/dist/i18n/pt.cjs.map +1 -1
  22. package/dist/i18n/pt.d.cts +213 -1
  23. package/dist/i18n/pt.d.ts +213 -1
  24. package/dist/i18n/pt.js +1 -1
  25. package/dist/schemas/create-appointment.cjs +2 -1
  26. package/dist/schemas/create-appointment.cjs.map +1 -1
  27. package/dist/schemas/create-appointment.d.cts +2 -2
  28. package/dist/schemas/create-appointment.d.ts +2 -2
  29. package/dist/schemas/create-appointment.js +2 -1
  30. package/dist/schemas/create-appointment.js.map +1 -1
  31. package/dist/schemas/create-client.cjs +2 -1
  32. package/dist/schemas/create-client.cjs.map +1 -1
  33. package/dist/schemas/create-client.d.cts +2 -2
  34. package/dist/schemas/create-client.d.ts +2 -2
  35. package/dist/schemas/create-client.js +2 -1
  36. package/dist/schemas/create-client.js.map +1 -1
  37. package/dist/schemas/expense-form.cjs +2 -2
  38. package/dist/schemas/expense-form.cjs.map +1 -1
  39. package/dist/schemas/expense-form.d.cts +0 -1
  40. package/dist/schemas/expense-form.d.ts +0 -1
  41. package/dist/schemas/expense-form.js +2 -2
  42. package/dist/schemas/expense-form.js.map +1 -1
  43. package/dist/utils/appointments.cjs +1 -1
  44. package/dist/utils/appointments.cjs.map +1 -1
  45. package/dist/utils/appointments.d.cts +2 -1
  46. package/dist/utils/appointments.d.ts +2 -1
  47. package/dist/utils/appointments.js +1 -1
  48. package/dist/utils/appointments.js.map +1 -1
  49. package/package.json +3 -2
  50. package/dist/chunk-BHEUZ632.js.map +0 -1
  51. package/dist/chunk-DHGXIS45.js.map +0 -1
  52. package/dist/chunk-PCYHGS6E.js.map +0 -1
package/dist/i18n/en.cjs CHANGED
@@ -673,6 +673,8 @@ var appEN = {
673
673
  "settings.logout": "Log out",
674
674
  "settings.logoutConfirmation": "Are you sure you want to log out? You will need to log in again to access your account.",
675
675
  "settings.version": "Agendar v{{version}} ({{buildNumber}})",
676
+ "settings.otaVersion": "Update {{id}} \xB7 {{date}}",
677
+ "settings.otaEmbedded": "Original store version",
676
678
  "settings.dev.title": "DEV",
677
679
  "settings.dev.clearStorage": "Clear Zustand + MMKV",
678
680
  "settings.description": "Manage your application settings",
@@ -1870,6 +1872,7 @@ var appEN = {
1870
1872
  "professionals.profileForm.toast.photo": "Photo updated",
1871
1873
  "professionals.profileForm.toast.role": "Role updated",
1872
1874
  "professionals.profileForm.toast.specializations": "Specializations updated",
1875
+ "professionals.profileForm.toast.segments": "Segments updated",
1873
1876
  "professionals.profileForm.toast.active": "Professional reactivated",
1874
1877
  "professionals.profileForm.photoTitle": "Professional photo",
1875
1878
  "professionals.profileForm.goBackHint": "Goes back to the profile",
@@ -2917,7 +2920,6 @@ var appEN = {
2917
2920
  "expenses.categories.deleteDialog.descriptionWithName": 'Are you sure you want to deactivate "{{name}}"? This action cannot be undone.',
2918
2921
  "expenses.categories.deleteDialog.description": "Are you sure you want to deactivate this category?",
2919
2922
  "expenses.validation.description.required": "Description is required",
2920
- "expenses.validation.category.required": "Category is required",
2921
2923
  "expenses.validation.amount.required": "Amount is required",
2922
2924
  "expenses.validation.amount.invalid": "Amount must have up to 2 decimal places",
2923
2925
  "expenses.validation.paymentDate.required": "Payment date is required",
@@ -3197,6 +3199,7 @@ var appEN = {
3197
3199
  "appointment.form.clearClientHint": "Unpicks the client; the phone stays",
3198
3200
  "appointment.form.clearProfessional": "Remove professional",
3199
3201
  "appointment.form.clearProfessionalHint": "Unpicks the professional and clears the chosen time",
3202
+ "appointment.form.noClient": "No client",
3200
3203
  "appointment.form.client": "Client",
3201
3204
  "appointment.form.services": "Services",
3202
3205
  "appointment.form.professional": "Professional",
@@ -3436,6 +3439,120 @@ var appEN = {
3436
3439
  "products.categoryForm.activeHint": "Shows or hides the category",
3437
3440
  "products.categoryForm.toast.name": "Name saved",
3438
3441
  "products.categoryForm.toast.active": "Status saved",
3442
+ "expenses.categoriesPage.subtitle_one": "{{count}} active",
3443
+ "expenses.categoriesPage.subtitle_other": "{{count}} active",
3444
+ "expenses.categoriesPage.search": "Search categories",
3445
+ "expenses.categoriesPage.active": "Active",
3446
+ "expenses.categoriesPage.inactive": "Inactive",
3447
+ "expenses.categoriesPage.new": "New category",
3448
+ "expenses.categoriesPage.rowHint": "Tap to edit",
3449
+ "expenses.categoriesPage.count_zero": "No expenses",
3450
+ "expenses.categoriesPage.count_one": "{{count}} expense",
3451
+ "expenses.categoriesPage.count_other": "{{count}} expenses",
3452
+ "expenses.categoriesPage.default": "Default",
3453
+ "expenses.categoriesPage.empty.title": "No categories yet",
3454
+ "expenses.categoriesPage.empty.subtitle": "Categories organize your business expenses.",
3455
+ "expenses.categoriesPage.noResults": "No categories found for \u201C{{query}}\u201D",
3456
+ "expenses.categoriesPage.noInactive": "No inactive categories",
3457
+ "expenses.categoryForm.subtitle": "Edit category",
3458
+ "expenses.categoryForm.defaultSubtitle": "Default category",
3459
+ "expenses.categoryForm.goBackHint": "Goes back to the categories",
3460
+ "expenses.categoryForm.createTitle": "New category",
3461
+ "expenses.categoryForm.submit": "Create category",
3462
+ "expenses.categoryForm.closeHint": "Closes without creating the category",
3463
+ "expenses.categoryForm.created": "Category created",
3464
+ "expenses.categoryForm.sections.category": "Category",
3465
+ "expenses.categoryForm.sections.status": "Status",
3466
+ "expenses.categoryForm.fields.name": "Name",
3467
+ "expenses.categoryForm.fields.expenses": "Expenses in this category",
3468
+ "expenses.categoryForm.fields.active": "Active",
3469
+ "expenses.categoryForm.activeOn": "Shows up when picking a category",
3470
+ "expenses.categoryForm.activeOff": "Hidden; its expenses stay",
3471
+ "expenses.categoryForm.activeHint": "Shows or hides the category",
3472
+ "expenses.categoryForm.defaultNote": "System default category: it can't be renamed or deactivated.",
3473
+ "expenses.categoryForm.toast.name": "Name saved",
3474
+ "expenses.categoryForm.toast.active": "Status saved",
3475
+ "expenses.categorySheet.subtitle": "Groups the expense in reports",
3476
+ "expenses.categorySheet.search": "Search or create a category",
3477
+ "expenses.categorySheet.create": "Create \u201C{{name}}\u201D",
3478
+ "expenses.categorySheet.createNote": "Creates the category and picks it for the expense",
3479
+ "expenses.categorySheet.none": "No category",
3480
+ "expenses.categorySheet.selectHint": "Picks this category",
3481
+ "expenses.categorySheet.empty": "No categories yet",
3482
+ "expenses.create.title": "New expense",
3483
+ "expenses.create.submit": "Add expense",
3484
+ "expenses.create.closeHint": "Closes without adding the expense",
3485
+ "expenses.create.created": "Expense added",
3486
+ "expenses.create.missingFields.description": "the description",
3487
+ "expenses.create.missingFields.amount": "the amount",
3488
+ "expenses.editForm.sections.expense": "Expense",
3489
+ "expenses.editForm.sections.payment": "Payment",
3490
+ "expenses.editForm.sections.notes": "Notes",
3491
+ "expenses.editForm.fields.description": "Description",
3492
+ "expenses.editForm.fields.category": "Category",
3493
+ "expenses.editForm.fields.amount": "Amount",
3494
+ "expenses.editForm.fields.date": "Payment date",
3495
+ "expenses.editForm.fields.recurring": "Recurring",
3496
+ "expenses.editForm.fields.paid": "Paid",
3497
+ "expenses.editForm.fields.notes": "Notes",
3498
+ "expenses.editForm.recurringOn": "Repeats every month on the same day",
3499
+ "expenses.editForm.recurringOff": "One-time payment",
3500
+ "expenses.editForm.recurringHint": "Marks the expense as recurring",
3501
+ "expenses.editForm.paidOn": "Already paid",
3502
+ "expenses.editForm.paidOff": "Still to pay",
3503
+ "expenses.editForm.paidHint": "Marks the expense as paid",
3504
+ "expenses.editForm.dateHint": "When the expense was or will be paid",
3505
+ "expenses.editForm.subtitle": "Edit expense",
3506
+ "expenses.editForm.goBackHint": "Goes back to the expenses",
3507
+ "expenses.editForm.delete": "Delete expense",
3508
+ "expenses.editForm.deleteHint": "Deletes the expense for good",
3509
+ "expenses.editForm.toast.description": "Description saved",
3510
+ "expenses.editForm.toast.category": "Category saved",
3511
+ "expenses.editForm.toast.place": "Place saved",
3512
+ "expenses.editForm.toast.amount": "Amount saved",
3513
+ "expenses.editForm.toast.date": "Date saved",
3514
+ "expenses.editForm.toast.recurring": "Recurrence saved",
3515
+ "expenses.editForm.toast.paid": "Status saved",
3516
+ "expenses.editForm.toast.notes": "Notes saved",
3517
+ "expenses.list.overview": "Overview",
3518
+ "expenses.list.search": "Search expenses",
3519
+ "expenses.list.categories": "Categories",
3520
+ "expenses.list.categoriesHint": "Opens the expense categories",
3521
+ "expenses.list.noResults": "No expenses found for \u201C{{query}}\u201D",
3522
+ "expenses.list.noFiltered": "No expenses match these filters",
3523
+ "expenses.list.empty.title": "No expenses in this period",
3524
+ "expenses.list.empty.subtitle": "Record bills, purchases and fixed costs to keep track of what goes out.",
3525
+ "expenses.kpi.total": "Total in the period",
3526
+ "expenses.kpi.paid": "Paid",
3527
+ "expenses.kpi.pending": "To pay",
3528
+ "expenses.kpi.hint.total": "Shows every expense",
3529
+ "expenses.kpi.hint.paid": "Shows only the paid expenses",
3530
+ "expenses.kpi.hint.pending": "Shows only the expenses to pay",
3531
+ "expenses.card.state.paid": "Paid",
3532
+ "expenses.card.state.pending": "To pay",
3533
+ "expenses.card.state.overdue": "Overdue",
3534
+ "expenses.card.hint": "Tap to edit",
3535
+ "expenses.filters.title": "Filters",
3536
+ "expenses.filters.open": "Filters",
3537
+ "expenses.filters.openHint": "Opens the expense filters",
3538
+ "expenses.filters.activeCount_one": "{{count}} active filter",
3539
+ "expenses.filters.activeCount_other": "{{count}} active filters",
3540
+ "expenses.filters.clear": "Clear",
3541
+ "expenses.filters.clearHint": "Removes every filter",
3542
+ "expenses.filters.status": "Status",
3543
+ "expenses.filters.statusAll": "All",
3544
+ "expenses.filters.statusPending": "To pay",
3545
+ "expenses.filters.statusPaid": "Paid",
3546
+ "expenses.filters.category": "Category",
3547
+ "expenses.filters.apply": "Apply",
3548
+ "expenses.filters.applyHint": "Applies the filters to the list",
3549
+ "expenses.filters.statusOverdue": "Overdue",
3550
+ "expenses.kpi.overdue": "Overdue",
3551
+ "expenses.kpi.hint.overdue": "Shows only the overdue expenses",
3552
+ "expenses.card.markPaid": "Mark as paid",
3553
+ "expenses.card.markPaidHint": "Marks the expense as paid",
3554
+ "expenses.card.markedPaid": "Expense marked as paid",
3555
+ "expenses.editForm.recurringNext": "Repeats monthly \xB7 next on {{date}}",
3439
3556
  "products.list.activeCount_one": "{{count}} active",
3440
3557
  "products.list.activeCount_other": "{{count}} active",
3441
3558
  "products.list.categoryCount_one": "{{count}} category",
@@ -3640,6 +3757,19 @@ var appEN = {
3640
3757
  "segments.field.label": "Segment",
3641
3758
  "segments.field.none": "No segment",
3642
3759
  "segments.filter.all": "All",
3760
+ "catalogTargets.label": "Where it's sold",
3761
+ "catalogTargets.businessHint": "Checks or unchecks this business",
3762
+ "catalogTargets.segmentHint": "Checks or unchecks this segment",
3763
+ "catalogTargets.pickSegment": "Pick at least one segment",
3764
+ "catalogTargets.copyNote": "In the other businesses, the category with the same name is used (or created). Adjust professionals and places in each one.",
3765
+ "catalogTargets.packageNote": "In the other businesses, each service in the package must exist with the same name.",
3766
+ "catalogTargets.missing": "where it's sold",
3767
+ "catalogTargets.created_one": "Added to {{count}} business",
3768
+ "catalogTargets.created_other": "Added to {{count}} businesses",
3769
+ "segments.picker.label": "Segments",
3770
+ "segments.picker.noneMeansAll": "None checked: it counts for every segment",
3771
+ "segments.picker.optionHint": "Checks or unchecks this segment",
3772
+ "segments.picker.professionalNote": "This professional's sales count for these segments",
3643
3773
  "places.title": "Places and prices",
3644
3774
  "places.row.everywhere": "Every place",
3645
3775
  "places.row.customPrices_one": "{{count}} place with its own price",
@@ -3741,6 +3871,27 @@ var appEN = {
3741
3871
  "businessForm.addPlace": "Add location",
3742
3872
  "businessForm.addPlaceHint": "Adds an address or a mobile service",
3743
3873
  "businessForm.placeHint": "Opens the location to edit it",
3874
+ "businessForm.sections.payment": "Payment",
3875
+ "businessForm.fields.paymentMethods": "Payment methods",
3876
+ "businessForm.paymentMethodsEmpty": "None yet",
3877
+ "businessForm.paymentMethodsHint": "Opens the payment methods to edit",
3878
+ "paymentMethods.title": "Payment methods",
3879
+ "paymentMethods.goBackHint": "Back to the business",
3880
+ "paymentMethods.sections.accepted": "Accepted by the business",
3881
+ "paymentMethods.sections.other": "Another method",
3882
+ "paymentMethods.accepted": "Accepted",
3883
+ "paymentMethods.notAccepted": "Not accepted",
3884
+ "paymentMethods.toggleHint": "Turns this method on or off at checkout",
3885
+ "paymentMethods.cashNote": "Goes into the cash drawer",
3886
+ "paymentMethods.add": "New payment method",
3887
+ "paymentMethods.addPlaceholder": "E.g. Gift card",
3888
+ "paymentMethods.duplicate": "This method is already on the list",
3889
+ "paymentMethods.keepOne": "Keep at least one payment method",
3890
+ "paymentMethods.hint": "They show when closing a tab and selling a package. Turn off the ones the business doesn't accept.",
3891
+ "paymentMethods.missing.title": "No payment methods",
3892
+ "paymentMethods.missing.owner": "Add the methods the business accepts to receive this tab.",
3893
+ "paymentMethods.missing.member": "Ask the business owner to add the payment methods.",
3894
+ "paymentMethods.missing.action": "Add payment methods",
3744
3895
  "businessForm.sections.segments": "Segments",
3745
3896
  "businessForm.archived": "Archived",
3746
3897
  "businessForm.segment": "Segment",
@@ -3774,7 +3925,68 @@ var appEN = {
3774
3925
  "home.operations.title": "Operations",
3775
3926
  "home.operations.appointments_one": "{{count}} appointment",
3776
3927
  "home.operations.appointments_other": "{{count}} appointments",
3777
- "home.operations.hint": "Shows only this operation"
3928
+ "home.operations.hint": "Shows only this operation",
3929
+ "professionRoles.page.subtitle_one": "{{count}} active",
3930
+ "professionRoles.page.subtitle_other": "{{count}} active",
3931
+ "professionRoles.page.search": "Search roles",
3932
+ "professionRoles.page.active": "Active",
3933
+ "professionRoles.page.inactive": "Inactive",
3934
+ "professionRoles.page.noResults": "No role for \u201C{{query}}\u201D",
3935
+ "professionRoles.page.noInactive": "No inactive role",
3936
+ "professionRoles.page.emptySubtitle": "Add your team's roles, like Barber or Receptionist",
3937
+ "professionRoles.page.rowHint": "Opens the role to edit",
3938
+ "professionRoles.form.subtitle": "Role",
3939
+ "professionRoles.form.sections.main": "Role",
3940
+ "professionRoles.form.sections.status": "Status",
3941
+ "professionRoles.form.people": "Professionals",
3942
+ "professionRoles.form.activeOn": "Shown when adding professionals",
3943
+ "professionRoles.form.activeOff": "Inactive",
3944
+ "professionRoles.form.activeHint": "Inactive, it's not offered to new records; whoever has it keeps it",
3945
+ "professionRoles.form.missingName": "the name",
3946
+ "professionRoles.form.submit": "Create role",
3947
+ "professionRoles.form.created": "Role created",
3948
+ "professionRoles.form.closeHint": "Closes without creating the role",
3949
+ "professionRoles.form.goBackHint": "Back to the roles",
3950
+ "professionRoles.form.validation.name": "Enter the role's name",
3951
+ "professionRoles.form.toast.name": "Name updated",
3952
+ "professionRoles.form.toast.active": "Role updated",
3953
+ "professionRoles.form.toast.description": "Description updated",
3954
+ "specializations.page.subtitle_one": "{{count}} active",
3955
+ "specializations.page.subtitle_other": "{{count}} active",
3956
+ "specializations.page.search": "Search specializations",
3957
+ "specializations.page.active": "Active",
3958
+ "specializations.page.inactive": "Inactive",
3959
+ "specializations.page.noResults": "No specialization for \u201C{{query}}\u201D",
3960
+ "specializations.page.noInactive": "No inactive specialization",
3961
+ "specializations.page.emptySubtitle": "Add your team's specializations, like Fade cut or Polishing",
3962
+ "specializations.page.rowHint": "Opens the specialization to edit",
3963
+ "specializations.form.subtitle": "Specialization",
3964
+ "specializations.form.sections.main": "Specialization",
3965
+ "specializations.form.sections.status": "Status",
3966
+ "specializations.form.people": "Professionals",
3967
+ "specializations.form.activeOn": "Shown when adding professionals",
3968
+ "specializations.form.activeOff": "Inactive",
3969
+ "specializations.form.activeHint": "Inactive, it's not offered to new records; whoever has it keeps it",
3970
+ "specializations.form.missingName": "the name",
3971
+ "specializations.form.submit": "Create specialization",
3972
+ "specializations.form.created": "Specialization created",
3973
+ "specializations.form.closeHint": "Closes without creating the specialization",
3974
+ "specializations.form.goBackHint": "Back to the specializations",
3975
+ "specializations.form.validation.name": "Enter the specialization's name",
3976
+ "specializations.form.toast.name": "Name updated",
3977
+ "specializations.form.toast.active": "Specialization updated",
3978
+ "appointment.new.professionalPickerConfirm": "Confirm",
3979
+ "appointment.new.professionalPickerConfirmCount": "Confirm ({{count}})",
3980
+ "businessField.section": "Business",
3981
+ "businessSwitch.registerTitle": "Where to add it",
3982
+ "businessSwitch.registerSubtitle": "It goes to {{name}}. Tap another business to add it there.",
3983
+ "catalogTargets.sheetSubtitle": "Each checked business gets its own record",
3984
+ "professionals.list.rolesHint": "Opens the team's roles",
3985
+ "professionals.list.specializationsHint": "Opens the team's specializations",
3986
+ "professionals.profileForm.specSheet.createNew": "Create new specialization",
3987
+ "professionals.profileForm.specSheet.createNewHint": "Opens the specialization form",
3988
+ "segments.field.all": "All segments",
3989
+ "segments.sheet.confirm": "Confirm"
3778
3990
  };
3779
3991
 
3780
3992
  exports.appEN = appEN;