@fayz-ai/plugin-agenda 0.1.8 → 0.2.1
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.
- package/dist/chunk-GAJVIEXM.cjs +870 -0
- package/dist/chunk-GAJVIEXM.cjs.map +1 -0
- package/dist/chunk-U6VTLOHN.js +867 -0
- package/dist/chunk-U6VTLOHN.js.map +1 -0
- package/dist/components/AgendaMobileList.d.ts +10 -0
- package/dist/components/AgendaMobileList.d.ts.map +1 -0
- package/dist/components/AppointmentModal.d.ts +4 -2
- package/dist/components/AppointmentModal.d.ts.map +1 -1
- package/dist/components/AppointmentPopover.d.ts.map +1 -1
- package/dist/components/EventContextMenu.d.ts.map +1 -1
- package/dist/config.d.ts +62 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/data/index.d.ts +1 -0
- package/dist/data/index.d.ts.map +1 -1
- package/dist/data/mock.d.ts +15 -1
- package/dist/data/mock.d.ts.map +1 -1
- package/dist/data/supabase.d.ts.map +1 -1
- package/dist/index.cjs +611 -1157
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +445 -994
- package/dist/index.js.map +1 -1
- package/dist/locales/en.d.ts.map +1 -1
- package/dist/locales/pt-BR.d.ts.map +1 -1
- package/dist/public/BookingWidget.d.ts +9 -0
- package/dist/public/BookingWidget.d.ts.map +1 -0
- package/dist/public/context.d.ts +37 -0
- package/dist/public/context.d.ts.map +1 -0
- package/dist/public/createPublicBookingPlugin.d.ts +45 -0
- package/dist/public/createPublicBookingPlugin.d.ts.map +1 -0
- package/dist/public/hooks.d.ts +32 -0
- package/dist/public/hooks.d.ts.map +1 -0
- package/dist/public/index.cjs +1020 -0
- package/dist/public/index.cjs.map +1 -0
- package/dist/public/index.d.ts +9 -0
- package/dist/public/index.d.ts.map +1 -0
- package/dist/public/index.js +1012 -0
- package/dist/public/index.js.map +1 -0
- package/dist/public/types.d.ts +51 -0
- package/dist/public/types.d.ts.map +1 -0
- package/dist/store.d.ts +3 -0
- package/dist/store.d.ts.map +1 -1
- package/dist/types.d.ts +8 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/views/CalendarView.d.ts.map +1 -1
- package/package.json +11 -8
- package/src/components/AgendaMobileList.tsx +103 -0
- package/src/components/AppointmentModal.tsx +86 -9
- package/src/components/AppointmentPopover.tsx +20 -10
- package/src/components/EventContextMenu.tsx +3 -0
- package/src/config.ts +104 -5
- package/src/data/index.ts +1 -0
- package/src/data/mock.ts +26 -6
- package/src/data/supabase.ts +13 -2
- package/src/index.ts +11 -3
- package/src/integrations/google-calendar/integration.test.ts +1 -1
- package/src/locales/en.ts +12 -0
- package/src/locales/pt-BR.ts +12 -0
- package/src/public/BookingWidget.tsx +892 -0
- package/src/public/context.tsx +43 -0
- package/src/public/createPublicBookingPlugin.ts +155 -0
- package/src/public/hooks.ts +117 -0
- package/src/public/index.ts +15 -0
- package/src/public/types.ts +63 -0
- package/src/store.ts +4 -2
- package/src/types.ts +8 -0
- package/src/views/CalendarView.tsx +220 -54
package/src/locales/en.ts
CHANGED
|
@@ -81,8 +81,12 @@ export const en: Record<string, string> = {
|
|
|
81
81
|
"agenda.calendar.today": "Today",
|
|
82
82
|
"agenda.calendar.viewAgenda": "Agenda",
|
|
83
83
|
"agenda.calendar.viewDay": "Day",
|
|
84
|
+
"agenda.calendar.viewList": "List",
|
|
84
85
|
"agenda.calendar.viewMonth": "Month",
|
|
85
86
|
"agenda.calendar.viewWeek": "Week",
|
|
87
|
+
"agenda.list.today": "Today",
|
|
88
|
+
"agenda.list.tomorrow": "Tomorrow",
|
|
89
|
+
"agenda.list.empty": "No upcoming items",
|
|
86
90
|
"agenda.confirmations.confirmed": "Confirmed:",
|
|
87
91
|
"agenda.confirmations.empty": "No pending confirmations",
|
|
88
92
|
"agenda.confirmations.emptySubtitle": "All upcoming appointments have been confirmed",
|
|
@@ -93,6 +97,10 @@ export const en: Record<string, string> = {
|
|
|
93
97
|
"agenda.confirmations.call": "Call",
|
|
94
98
|
"agenda.confirmations.markConfirmed": "Mark Confirmed",
|
|
95
99
|
"agenda.confirmations.markCancelled": "Mark Cancelled",
|
|
100
|
+
"agenda.cancellation.loadingReasons": "Loading reasons...",
|
|
101
|
+
"agenda.cancellation.notesOptional": "Cancellation notes (optional)",
|
|
102
|
+
"agenda.cancellation.notesRequired": "Cancellation notes required",
|
|
103
|
+
"agenda.cancellation.selectReason": "Select cancellation reason",
|
|
96
104
|
"agenda.contextMenu.changeStatus": "Change status",
|
|
97
105
|
"agenda.contextMenu.delete": "Delete",
|
|
98
106
|
"agenda.contextMenu.edit": "Edit",
|
|
@@ -193,7 +201,11 @@ export const en: Record<string, string> = {
|
|
|
193
201
|
"agenda.appointment.addNotes": "Add notes",
|
|
194
202
|
"agenda.appointment.duration": "Duration (minutes)",
|
|
195
203
|
"agenda.appointment.price": "Price",
|
|
204
|
+
"agenda.appointment.title": "Title",
|
|
205
|
+
"agenda.appointment.addTitle": "Add a title",
|
|
206
|
+
"agenda.appointment.untitled": "(no title)",
|
|
196
207
|
"agenda.bookingType.appointment": "Appointment",
|
|
208
|
+
"agenda.bookingType.event": "Event",
|
|
197
209
|
"agenda.bookingType.task": "Task",
|
|
198
210
|
"agenda.bookingType.out_of_office": "Out of Office",
|
|
199
211
|
"agenda.bookingType.block": "Block",
|
package/src/locales/pt-BR.ts
CHANGED
|
@@ -81,8 +81,12 @@ export const ptBR: Record<string, string> = {
|
|
|
81
81
|
"agenda.calendar.today": "Hoje",
|
|
82
82
|
"agenda.calendar.viewAgenda": "Agenda",
|
|
83
83
|
"agenda.calendar.viewDay": "Dia",
|
|
84
|
+
"agenda.calendar.viewList": "Lista",
|
|
84
85
|
"agenda.calendar.viewMonth": "Mês",
|
|
85
86
|
"agenda.calendar.viewWeek": "Semana",
|
|
87
|
+
"agenda.list.today": "Hoje",
|
|
88
|
+
"agenda.list.tomorrow": "Amanhã",
|
|
89
|
+
"agenda.list.empty": "Nenhum item próximo",
|
|
86
90
|
"agenda.confirmations.confirmed": "Confirmado:",
|
|
87
91
|
"agenda.confirmations.empty": "Nenhuma confirmação pendente",
|
|
88
92
|
"agenda.confirmations.emptySubtitle": "Todos os agendamentos futuros foram confirmados",
|
|
@@ -93,6 +97,10 @@ export const ptBR: Record<string, string> = {
|
|
|
93
97
|
"agenda.confirmations.call": "Ligar",
|
|
94
98
|
"agenda.confirmations.markConfirmed": "Marcar Confirmado",
|
|
95
99
|
"agenda.confirmations.markCancelled": "Marcar Cancelado",
|
|
100
|
+
"agenda.cancellation.loadingReasons": "Carregando motivos...",
|
|
101
|
+
"agenda.cancellation.notesOptional": "Observações do cancelamento (opcional)",
|
|
102
|
+
"agenda.cancellation.notesRequired": "Observações do cancelamento obrigatórias",
|
|
103
|
+
"agenda.cancellation.selectReason": "Selecionar motivo do cancelamento",
|
|
96
104
|
"agenda.contextMenu.changeStatus": "Alterar status",
|
|
97
105
|
"agenda.contextMenu.delete": "Excluir",
|
|
98
106
|
"agenda.contextMenu.edit": "Editar",
|
|
@@ -193,7 +201,11 @@ export const ptBR: Record<string, string> = {
|
|
|
193
201
|
"agenda.appointment.addNotes": "Adicionar observações",
|
|
194
202
|
"agenda.appointment.duration": "Duração (minutos)",
|
|
195
203
|
"agenda.appointment.price": "Preço",
|
|
204
|
+
"agenda.appointment.title": "Título",
|
|
205
|
+
"agenda.appointment.addTitle": "Adicionar um título",
|
|
206
|
+
"agenda.appointment.untitled": "(sem título)",
|
|
196
207
|
"agenda.bookingType.appointment": "Agendamento",
|
|
208
|
+
"agenda.bookingType.event": "Evento",
|
|
197
209
|
"agenda.bookingType.task": "Tarefa",
|
|
198
210
|
"agenda.bookingType.out_of_office": "Ausência",
|
|
199
211
|
"agenda.bookingType.block": "Bloqueio",
|