@vicacha-devs/strapi-plugin-bookings 0.0.0-stage → 1.0.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.
- package/LICENSE.md +21 -0
- package/README.md +23 -2
- package/dist/admin/App-BrB9n7EO.mjs +371 -0
- package/dist/admin/App-ZlqOsILc.js +371 -0
- package/dist/admin/SettingsPage-LR6F2vyx.js +410 -0
- package/dist/admin/SettingsPage-Xas3gvn4.mjs +410 -0
- package/dist/admin/ar-9_2mxMp2.js +339 -0
- package/dist/admin/ar-CrM4yxqb.mjs +339 -0
- package/dist/admin/de-D3NbAP6M.mjs +339 -0
- package/dist/admin/de-DBaO-D7Z.js +339 -0
- package/dist/admin/en-Cu-rn_xM.mjs +339 -0
- package/dist/admin/en-DAoI7qkk.js +339 -0
- package/dist/admin/es-DUqsu82s.js +339 -0
- package/dist/admin/es-Y0zfya4P.mjs +339 -0
- package/dist/admin/fr-BkLta_o8.js +339 -0
- package/dist/admin/fr-BrzKRqet.mjs +339 -0
- package/dist/admin/getTranslation-CZAJyMSt.mjs +5 -0
- package/dist/admin/getTranslation-Cd0_4UtW.js +4 -0
- package/dist/admin/id-BZz53ViW.mjs +339 -0
- package/dist/admin/id-ByxSagzq.js +339 -0
- package/dist/admin/index.js +1497 -0
- package/dist/admin/index.mjs +1492 -0
- package/dist/admin/pt-BSCDUkdd.js +339 -0
- package/dist/admin/pt-DUfISuZf.mjs +339 -0
- package/dist/admin/src/components/Initializer.d.ts +6 -0
- package/dist/admin/src/components/PluginIcon.d.ts +3 -0
- package/dist/admin/src/components/RRuleInput.d.ts +3 -0
- package/dist/admin/src/components/bookings/BookingSidePanel.d.ts +10 -0
- package/dist/admin/src/components/bookings/BookingsGridCanvas.d.ts +20 -0
- package/dist/admin/src/components/bookings/QuickCreateBookingModal.d.ts +11 -0
- package/dist/admin/src/index.d.ts +24 -0
- package/dist/admin/src/pages/App.d.ts +3 -0
- package/dist/admin/src/pages/CalendarPage.d.ts +3 -0
- package/dist/admin/src/pages/SettingsPage.d.ts +3 -0
- package/dist/admin/src/permissions.d.ts +29 -0
- package/dist/admin/src/pluginId.d.ts +1 -0
- package/dist/admin/src/translations/cmLabels.d.ts +1 -0
- package/dist/admin/src/translations/cmPlaceholders.d.ts +1 -0
- package/dist/admin/src/utils/getTranslation.d.ts +2 -0
- package/dist/admin/tr-_nhc9hk6.mjs +339 -0
- package/dist/admin/tr-r17l5F2K.js +339 -0
- package/dist/admin/ur-8edBd0Qo.mjs +339 -0
- package/dist/admin/ur-Dw_TAOZ3.js +339 -0
- package/dist/admin/zh-CeR0swEm.mjs +339 -0
- package/dist/admin/zh-D0z5sxxN.js +339 -0
- package/dist/server/index.js +3547 -0
- package/dist/server/index.mjs +3545 -0
- package/dist/server/src/bootstrap.d.ts +6 -0
- package/dist/server/src/config/index.d.ts +6 -0
- package/dist/server/src/content-types/booking/schema.json.d.ts +117 -0
- package/dist/server/src/content-types/index.d.ts +265 -0
- package/dist/server/src/content-types/resource/schema.json.d.ts +147 -0
- package/dist/server/src/controllers/admin.d.ts +30 -0
- package/dist/server/src/controllers/content-api.d.ts +32 -0
- package/dist/server/src/controllers/index.d.ts +28 -0
- package/dist/server/src/destroy.d.ts +5 -0
- package/dist/server/src/errors.d.ts +18 -0
- package/dist/server/src/index.d.ts +347 -0
- package/dist/server/src/register.d.ts +5 -0
- package/dist/server/src/routes/admin.d.ts +14 -0
- package/dist/server/src/routes/content-api.d.ts +9 -0
- package/dist/server/src/routes/index.d.ts +30 -0
- package/dist/server/src/services/availability.d.ts +8 -0
- package/dist/server/src/services/index.d.ts +12 -0
- package/dist/server/src/services/reservation.d.ts +6 -0
- package/dist/server/src/services/reservationHelpers.d.ts +41 -0
- package/dist/server/src/services/reservationHostCapacity.d.ts +16 -0
- package/dist/server/src/services/reservationMutations.d.ts +32 -0
- package/dist/server/src/services/reservationSources.d.ts +4 -0
- package/dist/server/src/services/reservationValidators.d.ts +27 -0
- package/dist/server/src/services/settings.d.ts +8 -0
- package/dist/server/src/types.d.ts +99 -0
- package/dist/shared/calendarSystems.d.ts +3 -0
- package/dist/shared/icalAndCsv.d.ts +16 -0
- package/dist/shared/index.d.ts +6 -0
- package/dist/shared/index.js +752 -0
- package/dist/shared/index.mjs +729 -0
- package/dist/shared/pluginId.d.ts +2 -0
- package/dist/shared/slotEngine.d.ts +19 -0
- package/dist/shared/slotTimezone.d.ts +45 -0
- package/dist/shared/types.d.ts +245 -0
- package/package.json +111 -3
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
const listTitle = "Registro de Reservas e Agendamentos";
|
|
2
|
+
const empty = "Nenhuma reserva encontrada para os filtros selecionados.";
|
|
3
|
+
const inspect = "Inspecionar";
|
|
4
|
+
const pt = {
|
|
5
|
+
"settings.theme.breeze.label": "Breeze (Sky & Slate — Default)",
|
|
6
|
+
"bookings.settings.theme.breeze.label": "Breeze (Sky & Slate — Default)",
|
|
7
|
+
"settings.theme.breeze.description": "High-contrast sky-blue & crisp slate grid with warm amber Hijri badges",
|
|
8
|
+
"bookings.settings.theme.breeze.description": "High-contrast sky-blue & crisp slate grid with warm amber Hijri badges",
|
|
9
|
+
"settings.theme.emerald.label": "Emerald Mosque (Teal & Gold)",
|
|
10
|
+
"bookings.settings.theme.emerald.label": "Emerald Mosque (Teal & Gold)",
|
|
11
|
+
"settings.theme.emerald.description": "Islamic emerald-teal headers with warm gold secondary calendar highlights",
|
|
12
|
+
"bookings.settings.theme.emerald.description": "Islamic emerald-teal headers with warm gold secondary calendar highlights",
|
|
13
|
+
"settings.theme.sandstone.label": "Andalusian Sandstone (Warm Earth)",
|
|
14
|
+
"bookings.settings.theme.sandstone.label": "Andalusian Sandstone (Warm Earth)",
|
|
15
|
+
"settings.theme.sandstone.description": "Warm terracotta and parchment tones inspired by Andalusian courtyards",
|
|
16
|
+
"bookings.settings.theme.sandstone.description": "Warm terracotta and parchment tones inspired by Andalusian courtyards",
|
|
17
|
+
"settings.theme.midnight.label": "Midnight Observatory (Dark Slate)",
|
|
18
|
+
"bookings.settings.theme.midnight.label": "Midnight Observatory (Dark Slate)",
|
|
19
|
+
"settings.theme.midnight.description": "Deep slate dark-mode canvas with luminous cyan and gold accents",
|
|
20
|
+
"bookings.settings.theme.midnight.description": "Deep slate dark-mode canvas with luminous cyan and gold accents",
|
|
21
|
+
"settings.theme.royal.label": "Royal Indigo (Classic Admin)",
|
|
22
|
+
"bookings.settings.theme.royal.label": "Royal Indigo (Classic Admin)",
|
|
23
|
+
"settings.theme.royal.description": "Strapi-native indigo palette with crisp neutral borders",
|
|
24
|
+
"bookings.settings.theme.royal.description": "Strapi-native indigo palette with crisp neutral borders",
|
|
25
|
+
"panel.close": "Fechar",
|
|
26
|
+
"bookings.panel.close": "Fechar",
|
|
27
|
+
"panel.partySize": "Tamanho do Grupo",
|
|
28
|
+
"bookings.panel.partySize": "Tamanho do Grupo",
|
|
29
|
+
"panel.language": "Idioma",
|
|
30
|
+
"bookings.panel.language": "Idioma",
|
|
31
|
+
"panel.schedule": "Horário",
|
|
32
|
+
"bookings.panel.schedule": "Horário",
|
|
33
|
+
"panel.slotLabel": "Faixa",
|
|
34
|
+
"bookings.panel.slotLabel": "Faixa",
|
|
35
|
+
"panel.customer": "Dados do Cliente",
|
|
36
|
+
"bookings.panel.customer": "Dados do Cliente",
|
|
37
|
+
"panel.status": "Status da Reserva",
|
|
38
|
+
"bookings.panel.status": "Status da Reserva",
|
|
39
|
+
"placeholder.select_booking_status": "Select booking status",
|
|
40
|
+
"bookings.placeholder.select_booking_status": "Select booking status",
|
|
41
|
+
"panel.assignedHost": "Equipe / Anfitrião Designado",
|
|
42
|
+
"bookings.panel.assignedHost": "Equipe / Anfitrião Designado",
|
|
43
|
+
"placeholder.assign_guide_or_host": "Assign guide or host...",
|
|
44
|
+
"bookings.placeholder.assign_guide_or_host": "Assign guide or host...",
|
|
45
|
+
"panel.internalNotes": "Notas Internas",
|
|
46
|
+
"bookings.panel.internalNotes": "Notas Internas",
|
|
47
|
+
"placeholder.internal_staff_notes": "Internal staff notes...",
|
|
48
|
+
"bookings.placeholder.internal_staff_notes": "Internal staff notes...",
|
|
49
|
+
"panel.save": "Salvar Alterações",
|
|
50
|
+
"bookings.panel.save": "Salvar Alterações",
|
|
51
|
+
"panel.openEntry": "Abrir no Content Manager",
|
|
52
|
+
"bookings.panel.openEntry": "Abrir no Content Manager",
|
|
53
|
+
"bookings.listTitle": "Registro de Reservas e Agendamentos",
|
|
54
|
+
"bookings.empty": "Nenhuma reserva encontrada para os filtros selecionados.",
|
|
55
|
+
"bookings.inspect": "Inspecionar",
|
|
56
|
+
"nav.prev": "Prev",
|
|
57
|
+
"bookings.nav.prev": "Prev",
|
|
58
|
+
"nav.today": "Today",
|
|
59
|
+
"bookings.nav.today": "Today",
|
|
60
|
+
"nav.next": "Next",
|
|
61
|
+
"bookings.nav.next": "Next",
|
|
62
|
+
"modal.createTitle": "Nova Reserva / Agendamento",
|
|
63
|
+
"bookings.modal.createTitle": "Nova Reserva / Agendamento",
|
|
64
|
+
"modal.createSubtitle": "Enter visitor or group details to schedule a confirmed or pending slot",
|
|
65
|
+
"bookings.modal.createSubtitle": "Enter visitor or group details to schedule a confirmed or pending slot",
|
|
66
|
+
"modal.resource": "Recurso Reservável",
|
|
67
|
+
"bookings.modal.resource": "Recurso Reservável",
|
|
68
|
+
"placeholder.select_bookable_resource": "Select bookable resource",
|
|
69
|
+
"bookings.placeholder.select_bookable_resource": "Select bookable resource",
|
|
70
|
+
"modal.customerName": "Nome do Cliente",
|
|
71
|
+
"bookings.modal.customerName": "Nome do Cliente",
|
|
72
|
+
"placeholder.e_g_prof_carlos_m_ndez": "e.g., Prof. Carlos Méndez",
|
|
73
|
+
"bookings.placeholder.e_g_prof_carlos_m_ndez": "e.g., Prof. Carlos Méndez",
|
|
74
|
+
"modal.customerEmail": "E-mail do Cliente",
|
|
75
|
+
"bookings.modal.customerEmail": "E-mail do Cliente",
|
|
76
|
+
"placeholder.visitor_example_org": "visitor@example.org",
|
|
77
|
+
"bookings.placeholder.visitor_example_org": "visitor@example.org",
|
|
78
|
+
"modal.customerPhone": "Telefone",
|
|
79
|
+
"bookings.modal.customerPhone": "Telefone",
|
|
80
|
+
"placeholder.57_300_000_0000": "+57 300 000 0000",
|
|
81
|
+
"bookings.placeholder.57_300_000_0000": "+57 300 000 0000",
|
|
82
|
+
"modal.organization": "Organização",
|
|
83
|
+
"bookings.modal.organization": "Organização",
|
|
84
|
+
"placeholder.e_g_universidad_nacional": "e.g., Universidad Nacional",
|
|
85
|
+
"bookings.placeholder.e_g_universidad_nacional": "e.g., Universidad Nacional",
|
|
86
|
+
"modal.bookingDate": "Preferred Date *",
|
|
87
|
+
"bookings.modal.bookingDate": "Preferred Date *",
|
|
88
|
+
"placeholder.yyyy_mm_dd": "YYYY-MM-DD",
|
|
89
|
+
"bookings.placeholder.yyyy_mm_dd": "YYYY-MM-DD",
|
|
90
|
+
"modal.bookingTime": "Start Time",
|
|
91
|
+
"bookings.modal.bookingTime": "Start Time",
|
|
92
|
+
"placeholder.09_00": "09:00",
|
|
93
|
+
"bookings.placeholder.09_00": "09:00",
|
|
94
|
+
"modal.partySize": "Tamanho do Grupo",
|
|
95
|
+
"bookings.modal.partySize": "Tamanho do Grupo",
|
|
96
|
+
"placeholder.1": "1",
|
|
97
|
+
"bookings.placeholder.1": "1",
|
|
98
|
+
"modal.preferredLanguage": "Idioma Preferido",
|
|
99
|
+
"bookings.modal.preferredLanguage": "Idioma Preferido",
|
|
100
|
+
"placeholder.select_preferred_language": "Select preferred language",
|
|
101
|
+
"bookings.placeholder.select_preferred_language": "Select preferred language",
|
|
102
|
+
"modal.assignedHost": "Anfitrião / Equipe Designada",
|
|
103
|
+
"bookings.modal.assignedHost": "Anfitrião / Equipe Designada",
|
|
104
|
+
"placeholder.e_g_sheikh_ahmad_guide_team": "e.g., Sheikh Ahmad / Guide Team",
|
|
105
|
+
"bookings.placeholder.e_g_sheikh_ahmad_guide_team": "e.g., Sheikh Ahmad / Guide Team",
|
|
106
|
+
"modal.notes": "Observações",
|
|
107
|
+
"bookings.modal.notes": "Observações",
|
|
108
|
+
"placeholder.academic_group_visit_accessibility_needs_or_topi": "Academic group visit, accessibility needs, or topic requests...",
|
|
109
|
+
"bookings.placeholder.academic_group_visit_accessibility_needs_or_topi": "Academic group visit, accessibility needs, or topic requests...",
|
|
110
|
+
"modal.cancel": "Cancelar",
|
|
111
|
+
"bookings.modal.cancel": "Cancelar",
|
|
112
|
+
"modal.create": "Criar Reserva",
|
|
113
|
+
"bookings.modal.create": "Criar Reserva",
|
|
114
|
+
"notifications.loadError": "Falha ao carregar o calendário de reservas",
|
|
115
|
+
"bookings.notifications.loadError": "Falha ao carregar o calendário de reservas",
|
|
116
|
+
"notifications.updated": "Reserva atualizada",
|
|
117
|
+
"bookings.notifications.updated": "Reserva atualizada",
|
|
118
|
+
"notifications.updateError": "Falha ao atualizar a reserva",
|
|
119
|
+
"bookings.notifications.updateError": "Falha ao atualizar a reserva",
|
|
120
|
+
"notifications.rescheduled": "Reserva reagendada",
|
|
121
|
+
"bookings.notifications.rescheduled": "Reserva reagendada",
|
|
122
|
+
"notifications.rescheduleError": "Falha ao reagendar a reserva",
|
|
123
|
+
"bookings.notifications.rescheduleError": "Falha ao reagendar a reserva",
|
|
124
|
+
"notifications.created": "Reserva criada",
|
|
125
|
+
"bookings.notifications.created": "Reserva criada",
|
|
126
|
+
"notifications.createError": "Falha ao criar a reserva",
|
|
127
|
+
"bookings.notifications.createError": "Falha ao criar a reserva",
|
|
128
|
+
"plugin.title": "Reservas e Disponibilidade de Horários",
|
|
129
|
+
"bookings.plugin.title": "Reservas e Disponibilidade de Horários",
|
|
130
|
+
"plugin.subtitle": "Gerencie recursos reserváveis, disponibilidade de horários, atribuição de equipe e agendamentos",
|
|
131
|
+
"bookings.plugin.subtitle": "Gerencie recursos reserváveis, disponibilidade de horários, atribuição de equipe e agendamentos",
|
|
132
|
+
"actions.settings": "Settings",
|
|
133
|
+
"bookings.actions.settings": "Settings",
|
|
134
|
+
"actions.exportCsv": "Exportar CSV",
|
|
135
|
+
"bookings.actions.exportCsv": "Exportar CSV",
|
|
136
|
+
"actions.newBooking": "Nova Reserva",
|
|
137
|
+
"bookings.actions.newBooking": "Nova Reserva",
|
|
138
|
+
"stats.total": "Total de Reservas",
|
|
139
|
+
"bookings.stats.total": "Total de Reservas",
|
|
140
|
+
"stats.confirmed": "Confirmadas",
|
|
141
|
+
"bookings.stats.confirmed": "Confirmadas",
|
|
142
|
+
"stats.pending": "Aguardando Aprovação",
|
|
143
|
+
"bookings.stats.pending": "Aguardando Aprovação",
|
|
144
|
+
"stats.guests": "Total de Convidados / Vagas",
|
|
145
|
+
"bookings.stats.guests": "Total de Convidados / Vagas",
|
|
146
|
+
"stats.resources": "Recursos Ativos",
|
|
147
|
+
"bookings.stats.resources": "Recursos Ativos",
|
|
148
|
+
"filters.resource": "Recurso",
|
|
149
|
+
"bookings.filters.resource": "Recurso",
|
|
150
|
+
"placeholder.all_resources": "All Resources",
|
|
151
|
+
"bookings.placeholder.all_resources": "All Resources",
|
|
152
|
+
"filters.allResources": "Todos os Recursos",
|
|
153
|
+
"bookings.filters.allResources": "Todos os Recursos",
|
|
154
|
+
"filters.status": "Status",
|
|
155
|
+
"bookings.filters.status": "Status",
|
|
156
|
+
"placeholder.all_statuses": "All Statuses",
|
|
157
|
+
"bookings.placeholder.all_statuses": "All Statuses",
|
|
158
|
+
"filters.allStatuses": "Todos os Status",
|
|
159
|
+
"bookings.filters.allStatuses": "Todos os Status",
|
|
160
|
+
"page.ui.pending": "PENDING",
|
|
161
|
+
"bookings.page.ui.pending": "PENDING",
|
|
162
|
+
"page.ui.confirmed": "CONFIRMED",
|
|
163
|
+
"bookings.page.ui.confirmed": "CONFIRMED",
|
|
164
|
+
"page.ui.completed": "COMPLETED",
|
|
165
|
+
"bookings.page.ui.completed": "COMPLETED",
|
|
166
|
+
"page.ui.cancelled": "CANCELLED",
|
|
167
|
+
"bookings.page.ui.cancelled": "CANCELLED",
|
|
168
|
+
"page.ui.no_show": "NO SHOW",
|
|
169
|
+
"bookings.page.ui.no_show": "NO SHOW",
|
|
170
|
+
"filters.search": "Pesquisar",
|
|
171
|
+
"bookings.filters.search": "Pesquisar",
|
|
172
|
+
"filters.searchPlaceholder": "Código, cliente, anfitrião, organização...",
|
|
173
|
+
"bookings.filters.searchPlaceholder": "Código, cliente, anfitrião, organização...",
|
|
174
|
+
"filters.language": "Calendar Language",
|
|
175
|
+
"bookings.filters.language": "Calendar Language",
|
|
176
|
+
"placeholder.select_calendar_language": "Select calendar language",
|
|
177
|
+
"bookings.placeholder.select_calendar_language": "Select calendar language",
|
|
178
|
+
"page.ui.espa_ol_local_es": "Español (Local — ES)",
|
|
179
|
+
"bookings.page.ui.espa_ol_local_es": "Español (Local — ES)",
|
|
180
|
+
"page.ui.english_en": "English (EN)",
|
|
181
|
+
"bookings.page.ui.english_en": "English (EN)",
|
|
182
|
+
"page.ui.arabic_ar": "العربية (Arabic — AR)",
|
|
183
|
+
"bookings.page.ui.arabic_ar": "العربية (Arabic — AR)",
|
|
184
|
+
"page.ui.t_rk_e_turkish_tr": "Türkçe (Turkish — TR)",
|
|
185
|
+
"bookings.page.ui.t_rk_e_turkish_tr": "Türkçe (Turkish — TR)",
|
|
186
|
+
"filters.hijriMode": "Hijri / Secondary Calendar",
|
|
187
|
+
"bookings.filters.hijriMode": "Hijri / Secondary Calendar",
|
|
188
|
+
"placeholder.select_hijri_display_mode": "Select Hijri display mode",
|
|
189
|
+
"bookings.placeholder.select_hijri_display_mode": "Select Hijri display mode",
|
|
190
|
+
"page.ui.hijri_in_local_language": "Hijri in Local Language",
|
|
191
|
+
"bookings.page.ui.hijri_in_local_language": "Hijri in Local Language",
|
|
192
|
+
"page.ui.hijri_in_arabic": "Hijri in Arabic (العربية)",
|
|
193
|
+
"bookings.page.ui.hijri_in_arabic": "Hijri in Arabic (العربية)",
|
|
194
|
+
"page.ui.off_gregorian_only": "Off (Gregorian Only)",
|
|
195
|
+
"bookings.page.ui.off_gregorian_only": "Off (Gregorian Only)",
|
|
196
|
+
"filters.theme": "Calendar Theme",
|
|
197
|
+
"bookings.filters.theme": "Calendar Theme",
|
|
198
|
+
"placeholder.select_calendar_theme": "Select calendar theme",
|
|
199
|
+
"bookings.placeholder.select_calendar_theme": "Select calendar theme",
|
|
200
|
+
"settings.saved": "Configurações salvas com sucesso",
|
|
201
|
+
"bookings.settings.saved": "Configurações salvas com sucesso",
|
|
202
|
+
"settings.saveError": "Falha ao salvar as configurações",
|
|
203
|
+
"bookings.settings.saveError": "Falha ao salvar as configurações",
|
|
204
|
+
"settings.title": "Configurações de Reservas e Disponibilidade",
|
|
205
|
+
"bookings.settings.title": "Configurações de Reservas e Disponibilidade",
|
|
206
|
+
"settings.subtitle": "Configure durações padrão de faixas, intervalos de margem, antecedência mínima e calendários secundários",
|
|
207
|
+
"bookings.settings.subtitle": "Configure durações padrão de faixas, intervalos de margem, antecedência mínima e calendários secundários",
|
|
208
|
+
"settings.save": "Salvar Configurações",
|
|
209
|
+
"bookings.settings.save": "Salvar Configurações",
|
|
210
|
+
"settings.themeHeading": "Bookings Calendar Theme & Language",
|
|
211
|
+
"bookings.settings.themeHeading": "Bookings Calendar Theme & Language",
|
|
212
|
+
"settings.themeSubtitle": 'Select the visual theme ("Breeze" default), primary calendar language, and optional Arabic/Hijri secondary date display.',
|
|
213
|
+
"bookings.settings.themeSubtitle": 'Select the visual theme ("Breeze" default), primary calendar language, and optional Arabic/Hijri secondary date display.',
|
|
214
|
+
"settings.defaultLocale": "Primary Calendar Language",
|
|
215
|
+
"bookings.settings.defaultLocale": "Primary Calendar Language",
|
|
216
|
+
"settings.defaultLocale.placeholder": "Select primary language",
|
|
217
|
+
"bookings.settings.defaultLocale.placeholder": "Select primary language",
|
|
218
|
+
"settings.locale.es": "Español — Spanish (ES)",
|
|
219
|
+
"bookings.settings.locale.es": "Español — Spanish (ES)",
|
|
220
|
+
"settings.locale.en": "English (EN)",
|
|
221
|
+
"bookings.settings.locale.en": "English (EN)",
|
|
222
|
+
"settings.locale.ar": "العربية — Arabic (AR)",
|
|
223
|
+
"bookings.settings.locale.ar": "العربية — Arabic (AR)",
|
|
224
|
+
"settings.locale.tr": "Türkçe — Turkish (TR)",
|
|
225
|
+
"bookings.settings.locale.tr": "Türkçe — Turkish (TR)",
|
|
226
|
+
"settings.defaultLocaleHint": "Default language for the Bookings calendar interface.",
|
|
227
|
+
"bookings.settings.defaultLocaleHint": "Default language for the Bookings calendar interface.",
|
|
228
|
+
"settings.secondaryCalendarLanguage": "Hijri / Secondary Calendar Display",
|
|
229
|
+
"bookings.settings.secondaryCalendarLanguage": "Hijri / Secondary Calendar Display",
|
|
230
|
+
"settings.secondaryCalendarLanguage.placeholder": "Select secondary calendar display",
|
|
231
|
+
"bookings.settings.secondaryCalendarLanguage.placeholder": "Select secondary calendar display",
|
|
232
|
+
"settings.secondaryCalendarLanguage.local": "Local Language (e.g. 16 Rabiʻ II)",
|
|
233
|
+
"bookings.settings.secondaryCalendarLanguage.local": "Local Language (e.g. 16 Rabiʻ II)",
|
|
234
|
+
"settings.secondaryCalendarLanguage.ar": "Arabic Script — العربية (e.g. ١٦ ربيع الآخر)",
|
|
235
|
+
"bookings.settings.secondaryCalendarLanguage.ar": "Arabic Script — العربية (e.g. ١٦ ربيع الآخر)",
|
|
236
|
+
"settings.secondaryCalendarLanguage.off": "Off (Gregorian Calendar Only)",
|
|
237
|
+
"bookings.settings.secondaryCalendarLanguage.off": "Off (Gregorian Calendar Only)",
|
|
238
|
+
"settings.secondaryCalendarLanguageHint": "Controls how Hijri dates are rendered on booking slots.",
|
|
239
|
+
"bookings.settings.secondaryCalendarLanguageHint": "Controls how Hijri dates are rendered on booking slots.",
|
|
240
|
+
"settings.defaultTimezone": "Fuso Horário Padrão",
|
|
241
|
+
"bookings.settings.defaultTimezone": "Fuso Horário Padrão",
|
|
242
|
+
"settings.defaultTimezone.placeholder": "e.g., America/Bogota",
|
|
243
|
+
"bookings.settings.defaultTimezone.placeholder": "e.g., America/Bogota",
|
|
244
|
+
"settings.defaultTimezoneHint": "IANA timezone used to evaluate daily operating windows.",
|
|
245
|
+
"bookings.settings.defaultTimezoneHint": "IANA timezone used to evaluate daily operating windows.",
|
|
246
|
+
"settings.defaultsHeading": "Regras Padrão de Agendamento",
|
|
247
|
+
"bookings.settings.defaultsHeading": "Regras Padrão de Agendamento",
|
|
248
|
+
"settings.defaultSlotDurationMinutes": "Duração da Faixa (Minutos)",
|
|
249
|
+
"bookings.settings.defaultSlotDurationMinutes": "Duração da Faixa (Minutos)",
|
|
250
|
+
"settings.defaultSlotDurationMinutes.placeholder": "e.g., 60",
|
|
251
|
+
"bookings.settings.defaultSlotDurationMinutes.placeholder": "e.g., 60",
|
|
252
|
+
"settings.defaultSlotDurationMinutesHint": "Standard length of each bookable appointment slot.",
|
|
253
|
+
"bookings.settings.defaultSlotDurationMinutesHint": "Standard length of each bookable appointment slot.",
|
|
254
|
+
"settings.defaultCapacityPerSlot": "Capacidade Padrão por Faixa",
|
|
255
|
+
"bookings.settings.defaultCapacityPerSlot": "Capacidade Padrão por Faixa",
|
|
256
|
+
"settings.defaultCapacityPerSlot.placeholder": "e.g., 1",
|
|
257
|
+
"bookings.settings.defaultCapacityPerSlot.placeholder": "e.g., 1",
|
|
258
|
+
"settings.defaultCapacityPerSlotHint": "Concurrent reservations allowed per time slot.",
|
|
259
|
+
"bookings.settings.defaultCapacityPerSlotHint": "Concurrent reservations allowed per time slot.",
|
|
260
|
+
"settings.defaultBufferBeforeMinutes": "Margem Anterior (Minutos)",
|
|
261
|
+
"bookings.settings.defaultBufferBeforeMinutes": "Margem Anterior (Minutos)",
|
|
262
|
+
"settings.defaultBufferBeforeMinutes.placeholder": "e.g., 0",
|
|
263
|
+
"bookings.settings.defaultBufferBeforeMinutes.placeholder": "e.g., 0",
|
|
264
|
+
"settings.defaultBufferBeforeMinutesHint": "Preparation gap blocked before each booking starts.",
|
|
265
|
+
"bookings.settings.defaultBufferBeforeMinutesHint": "Preparation gap blocked before each booking starts.",
|
|
266
|
+
"settings.defaultBufferAfterMinutes": "Margem Posterior (Minutos)",
|
|
267
|
+
"bookings.settings.defaultBufferAfterMinutes": "Margem Posterior (Minutos)",
|
|
268
|
+
"settings.defaultBufferAfterMinutes.placeholder": "e.g., 0",
|
|
269
|
+
"bookings.settings.defaultBufferAfterMinutes.placeholder": "e.g., 0",
|
|
270
|
+
"settings.defaultBufferAfterMinutesHint": "Cooldown gap blocked after each booking ends.",
|
|
271
|
+
"bookings.settings.defaultBufferAfterMinutesHint": "Cooldown gap blocked after each booking ends.",
|
|
272
|
+
"settings.defaultMinLeadTimeHours": "Antecedência Mínima (Horas)",
|
|
273
|
+
"bookings.settings.defaultMinLeadTimeHours": "Antecedência Mínima (Horas)",
|
|
274
|
+
"settings.defaultMinLeadTimeHours.placeholder": "e.g., 2",
|
|
275
|
+
"bookings.settings.defaultMinLeadTimeHours.placeholder": "e.g., 2",
|
|
276
|
+
"settings.defaultMinLeadTimeHoursHint": "Minimum notice required before a slot can be booked.",
|
|
277
|
+
"bookings.settings.defaultMinLeadTimeHoursHint": "Minimum notice required before a slot can be booked.",
|
|
278
|
+
"settings.defaultMaxAdvanceDays": "Horizonte Máximo de Reserva (Dias)",
|
|
279
|
+
"bookings.settings.defaultMaxAdvanceDays": "Horizonte Máximo de Reserva (Dias)",
|
|
280
|
+
"settings.defaultMaxAdvanceDays.placeholder": "e.g., 90",
|
|
281
|
+
"bookings.settings.defaultMaxAdvanceDays.placeholder": "e.g., 90",
|
|
282
|
+
"settings.defaultMaxAdvanceDaysHint": "How far in advance visitors may schedule bookings.",
|
|
283
|
+
"bookings.settings.defaultMaxAdvanceDaysHint": "How far in advance visitors may schedule bookings.",
|
|
284
|
+
"settings.requiresApproval": "Exigir aprovação manual antes de confirmar reservas",
|
|
285
|
+
"bookings.settings.requiresApproval": "Exigir aprovação manual antes de confirmar reservas",
|
|
286
|
+
"settings.requiresApprovalHintPrefix": "Places new visitor reservations in",
|
|
287
|
+
"bookings.settings.requiresApprovalHintPrefix": "Places new visitor reservations in",
|
|
288
|
+
"settings.requiresApprovalHintSuffix": "status until confirmed by staff.",
|
|
289
|
+
"bookings.settings.requiresApprovalHintSuffix": "status until confirmed by staff.",
|
|
290
|
+
"settings.sendEmailNotifications": "Enviar e-mails de confirmação e atualização de status",
|
|
291
|
+
"bookings.settings.sendEmailNotifications": "Enviar e-mails de confirmação e atualização de status",
|
|
292
|
+
"settings.sendEmailNotificationsHint": "Automatically notifies visitors when their booking is created, approved, or rescheduled.",
|
|
293
|
+
"bookings.settings.sendEmailNotificationsHint": "Automatically notifies visitors when their booking is created, approved, or rescheduled.",
|
|
294
|
+
"settings.secondaryCalendarsHeading": "Sistemas de Calendário Secundários",
|
|
295
|
+
"bookings.settings.secondaryCalendarsHeading": "Sistemas de Calendário Secundários",
|
|
296
|
+
listTitle,
|
|
297
|
+
empty,
|
|
298
|
+
inspect,
|
|
299
|
+
"plugin.name": "Reservas",
|
|
300
|
+
"bookings.plugin.name": "Reservas",
|
|
301
|
+
"views.month": "Mês",
|
|
302
|
+
"bookings.views.month": "Mês",
|
|
303
|
+
"views.week": "Semana",
|
|
304
|
+
"bookings.views.week": "Semana",
|
|
305
|
+
"views.day": "Dia",
|
|
306
|
+
"bookings.views.day": "Dia",
|
|
307
|
+
"views.agenda": "Agenda",
|
|
308
|
+
"bookings.views.agenda": "Agenda",
|
|
309
|
+
"views.list": "Registro",
|
|
310
|
+
"bookings.views.list": "Registro",
|
|
311
|
+
"modal.startDate": "Data e Hora de Início (ISO)",
|
|
312
|
+
"bookings.modal.startDate": "Data e Hora de Início (ISO)",
|
|
313
|
+
"settings.section": "Reservas e Disponibilidade",
|
|
314
|
+
"bookings.settings.section": "Reservas e Disponibilidade",
|
|
315
|
+
"settings.link": "Bookings & Availability",
|
|
316
|
+
"bookings.settings.link": "Bookings & Availability",
|
|
317
|
+
"settings.approvalsHeading": "Fluxo de Aprovação e Notificações por E-mail",
|
|
318
|
+
"bookings.settings.approvalsHeading": "Fluxo de Aprovação e Notificações por E-mail",
|
|
319
|
+
"actions.openUnifiedCalendar": "Abrir no Calendário",
|
|
320
|
+
"bookings.actions.openUnifiedCalendar": "Abrir no Calendário",
|
|
321
|
+
"modal.langEs": "Español (ES)",
|
|
322
|
+
"bookings.modal.langEs": "Español (ES)",
|
|
323
|
+
"modal.langEn": "English (EN)",
|
|
324
|
+
"bookings.modal.langEn": "English (EN)",
|
|
325
|
+
"modal.langAr": "العربية — Arabic (AR)",
|
|
326
|
+
"bookings.modal.langAr": "العربية — Arabic (AR)",
|
|
327
|
+
"modal.langTr": "Türkçe — Turkish (TR)",
|
|
328
|
+
"bookings.modal.langTr": "Türkçe — Turkish (TR)",
|
|
329
|
+
"notifications.exportError": "Falha ao exportar o CSV",
|
|
330
|
+
"bookings.notifications.exportError": "Falha ao exportar o CSV",
|
|
331
|
+
"settings.loadError": "Falha ao carregar as configurações de reservas",
|
|
332
|
+
"bookings.settings.loadError": "Falha ao carregar as configurações de reservas"
|
|
333
|
+
};
|
|
334
|
+
export {
|
|
335
|
+
pt as default,
|
|
336
|
+
empty,
|
|
337
|
+
inspect,
|
|
338
|
+
listTitle
|
|
339
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BookingRecord, BookingStatus } from '../../../../shared/types';
|
|
3
|
+
export interface BookingSidePanelProps {
|
|
4
|
+
t: (id: string, defaultMessage: string) => string;
|
|
5
|
+
booking: BookingRecord | null;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
onUpdateStatus: (documentId: string, status: BookingStatus, assignedHost?: string, internalNotes?: string) => Promise<void>;
|
|
8
|
+
onOpenInContentManager: (booking: BookingRecord) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const BookingSidePanel: React.FC<BookingSidePanelProps>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CalendarPluginSettings, CalendarThemePreset, ExpandedCalendarOccurrence, SecondaryCalendarLanguageMode } from '../../../../../../strapi-plugin-calendar/shared/index.ts';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { BookingRecord, SecondaryCalendarConfig } from '../../../../shared/types';
|
|
4
|
+
export type BookingsViewMode = "list";
|
|
5
|
+
export declare function maskEmailForPreview(email: string): string;
|
|
6
|
+
export interface BookingsGridCanvasProps {
|
|
7
|
+
t: (id: string, defaultMessage: string) => string;
|
|
8
|
+
locale?: string;
|
|
9
|
+
theme?: CalendarThemePreset;
|
|
10
|
+
calendarSettings?: CalendarPluginSettings | null;
|
|
11
|
+
secondaryCalendarLanguage?: SecondaryCalendarLanguageMode;
|
|
12
|
+
viewMode?: BookingsViewMode;
|
|
13
|
+
occurrences?: ExpandedCalendarOccurrence[];
|
|
14
|
+
bookings: BookingRecord[];
|
|
15
|
+
activeSecondaryCalendars?: SecondaryCalendarConfig[];
|
|
16
|
+
onSelectBooking: (booking: BookingRecord) => void;
|
|
17
|
+
onRescheduleBooking?: (booking: BookingRecord, newStartIso: string, newEndIso?: string) => void;
|
|
18
|
+
onQuickCreateOnDate?: (dateIso: string) => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const BookingsGridCanvas: React.FC<BookingsGridCanvasProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BookingResource, CreateReservationInput } from '../../../../shared/types';
|
|
3
|
+
export interface QuickCreateBookingModalProps {
|
|
4
|
+
t: (id: string, defaultMessage: string) => string;
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
initialStartIso: string;
|
|
7
|
+
resources: BookingResource[];
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
onSubmit: (payload: CreateReservationInput) => Promise<void>;
|
|
10
|
+
}
|
|
11
|
+
export declare const QuickCreateBookingModal: React.FC<QuickCreateBookingModalProps>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BookingsGridCanvas } from './components/bookings/BookingsGridCanvas';
|
|
2
|
+
import { BookingSidePanel } from './components/bookings/BookingSidePanel';
|
|
3
|
+
import { QuickCreateBookingModal } from './components/bookings/QuickCreateBookingModal';
|
|
4
|
+
import { RRuleInput } from './components/RRuleInput';
|
|
5
|
+
import { PLUGIN_ID } from './pluginId';
|
|
6
|
+
export { PLUGIN_ID, RRuleInput, BookingsGridCanvas, BookingSidePanel, QuickCreateBookingModal, };
|
|
7
|
+
export declare const LOCALES: string[];
|
|
8
|
+
interface StrapiAdminApp {
|
|
9
|
+
addMenuLink(link: Record<string, unknown>): void;
|
|
10
|
+
addSettingsLink?(sectionId: string, link: Record<string, unknown>): void;
|
|
11
|
+
createSettingSection(section: Record<string, unknown>, links: Array<Record<string, unknown>>): void;
|
|
12
|
+
registerPlugin(plugin: Record<string, unknown>): void;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: {
|
|
15
|
+
register(app: StrapiAdminApp): void;
|
|
16
|
+
bootstrap(): void;
|
|
17
|
+
registerTrads: ({ locales, }?: {
|
|
18
|
+
locales?: string[];
|
|
19
|
+
}) => Promise<Array<{
|
|
20
|
+
data: Record<string, string>;
|
|
21
|
+
locale: string;
|
|
22
|
+
}>>;
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const PLUGIN_PERMISSIONS: {
|
|
2
|
+
read: {
|
|
3
|
+
action: string;
|
|
4
|
+
subject: null;
|
|
5
|
+
}[];
|
|
6
|
+
manage: {
|
|
7
|
+
action: string;
|
|
8
|
+
subject: null;
|
|
9
|
+
}[];
|
|
10
|
+
settings: {
|
|
11
|
+
action: string;
|
|
12
|
+
subject: null;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
export declare const pluginPermissions: {
|
|
16
|
+
read: {
|
|
17
|
+
action: string;
|
|
18
|
+
subject: null;
|
|
19
|
+
}[];
|
|
20
|
+
manage: {
|
|
21
|
+
action: string;
|
|
22
|
+
subject: null;
|
|
23
|
+
}[];
|
|
24
|
+
settings: {
|
|
25
|
+
action: string;
|
|
26
|
+
subject: null;
|
|
27
|
+
}[];
|
|
28
|
+
};
|
|
29
|
+
export default PLUGIN_PERMISSIONS;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PLUGIN_ID, default } from '../../shared/pluginId';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CM_LABEL_TRANSLATIONS: Record<string, Record<string, string>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CM_PLACEHOLDER_TRANSLATIONS: Record<string, Record<string, string>>;
|