@voyantjs/notifications-react 0.106.0 → 0.108.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/README.md +30 -0
- package/dist/admin/index.d.ts +80 -0
- package/dist/admin/index.d.ts.map +1 -0
- package/dist/admin/index.js +102 -0
- package/dist/admin/notification-deliveries-host.d.ts +7 -0
- package/dist/admin/notification-deliveries-host.d.ts.map +1 -0
- package/dist/admin/notification-deliveries-host.js +92 -0
- package/dist/admin/notification-delivery-detail-dialog.d.ts +8 -0
- package/dist/admin/notification-delivery-detail-dialog.d.ts.map +1 -0
- package/dist/admin/notification-delivery-detail-dialog.js +30 -0
- package/dist/admin/notification-reminder-rule-detail-host.d.ts +12 -0
- package/dist/admin/notification-reminder-rule-detail-host.d.ts.map +1 -0
- package/dist/admin/notification-reminder-rule-detail-host.js +23 -0
- package/dist/admin/notification-reminder-rule-dialog.d.ts +10 -0
- package/dist/admin/notification-reminder-rule-dialog.d.ts.map +1 -0
- package/dist/admin/notification-reminder-rule-dialog.js +122 -0
- package/dist/admin/notification-reminder-rules-host.d.ts +8 -0
- package/dist/admin/notification-reminder-rules-host.d.ts.map +1 -0
- package/dist/admin/notification-reminder-rules-host.js +57 -0
- package/dist/admin/notification-reminder-runs-host.d.ts +7 -0
- package/dist/admin/notification-reminder-runs-host.d.ts.map +1 -0
- package/dist/admin/notification-reminder-runs-host.js +28 -0
- package/dist/admin/notification-settings-host.d.ts +7 -0
- package/dist/admin/notification-settings-host.d.ts.map +1 -0
- package/dist/admin/notification-settings-host.js +11 -0
- package/dist/admin/notification-template-authoring-help.d.ts +25 -0
- package/dist/admin/notification-template-authoring-help.d.ts.map +1 -0
- package/dist/admin/notification-template-authoring-help.js +8 -0
- package/dist/admin/notification-template-detail-host.d.ts +11 -0
- package/dist/admin/notification-template-detail-host.d.ts.map +1 -0
- package/dist/admin/notification-template-detail-host.js +159 -0
- package/dist/admin/notification-template-dialog.d.ts +10 -0
- package/dist/admin/notification-template-dialog.d.ts.map +1 -0
- package/dist/admin/notification-template-dialog.js +364 -0
- package/dist/admin/notification-templates-host.d.ts +9 -0
- package/dist/admin/notification-templates-host.d.ts.map +1 -0
- package/dist/admin/notification-templates-host.js +52 -0
- package/dist/admin/notifications-admin-shared.d.ts +14 -0
- package/dist/admin/notifications-admin-shared.d.ts.map +1 -0
- package/dist/admin/notifications-admin-shared.js +17 -0
- package/dist/admin/pages/notification-reminder-rule-detail-page.d.ts +8 -0
- package/dist/admin/pages/notification-reminder-rule-detail-page.d.ts.map +1 -0
- package/dist/admin/pages/notification-reminder-rule-detail-page.js +10 -0
- package/dist/admin/pages/notification-template-detail-page.d.ts +7 -0
- package/dist/admin/pages/notification-template-detail-page.d.ts.map +1 -0
- package/dist/admin/pages/notification-template-detail-page.js +9 -0
- package/dist/admin/reminders-preview-host.d.ts +7 -0
- package/dist/admin/reminders-preview-host.d.ts.map +1 -0
- package/dist/admin/reminders-preview-host.js +13 -0
- package/dist/components/notification-settings-form.d.ts +2 -0
- package/dist/components/notification-settings-form.d.ts.map +1 -0
- package/dist/components/notification-settings-form.js +66 -0
- package/dist/components/reminders-preview-list.d.ts +6 -0
- package/dist/components/reminders-preview-list.d.ts.map +1 -0
- package/dist/components/reminders-preview-list.js +19 -0
- package/dist/components/stage-channel-editor-dialog.d.ts +11 -0
- package/dist/components/stage-channel-editor-dialog.d.ts.map +1 -0
- package/dist/components/stage-channel-editor-dialog.js +77 -0
- package/dist/components/stage-channel-list.d.ts +6 -0
- package/dist/components/stage-channel-list.d.ts.map +1 -0
- package/dist/components/stage-channel-list.js +20 -0
- package/dist/components/stage-editor-dialog.d.ts +10 -0
- package/dist/components/stage-editor-dialog.d.ts.map +1 -0
- package/dist/components/stage-editor-dialog.js +104 -0
- package/dist/components/stage-list.d.ts +5 -0
- package/dist/components/stage-list.d.ts.map +1 -0
- package/dist/components/stage-list.js +34 -0
- package/dist/components/template-picker.d.ts +19 -0
- package/dist/components/template-picker.d.ts.map +1 -0
- package/dist/components/template-picker.js +26 -0
- package/dist/components/timezone-combobox.d.ts +9 -0
- package/dist/components/timezone-combobox.d.ts.map +1 -0
- package/dist/components/timezone-combobox.js +67 -0
- package/dist/i18n/en.d.ts +3 -0
- package/dist/i18n/en.d.ts.map +1 -0
- package/dist/i18n/en.js +385 -0
- package/dist/i18n/index.d.ts +5 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +3 -0
- package/dist/i18n/messages.d.ts +386 -0
- package/dist/i18n/messages.d.ts.map +1 -0
- package/dist/i18n/messages.js +1 -0
- package/dist/i18n/provider.d.ts +26 -0
- package/dist/i18n/provider.d.ts.map +1 -0
- package/dist/i18n/provider.js +44 -0
- package/dist/i18n/ro.d.ts +3 -0
- package/dist/i18n/ro.d.ts.map +1 -0
- package/dist/i18n/ro.js +385 -0
- package/dist/ui.d.ts +9 -0
- package/dist/ui.d.ts.map +1 -0
- package/dist/ui.js +8 -0
- package/package.json +71 -10
- package/src/styles.css +2 -0
package/dist/i18n/ro.js
ADDED
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
export const notificationsUiRo = {
|
|
2
|
+
common: {
|
|
3
|
+
cancel: "Anulează",
|
|
4
|
+
save: "Salvează",
|
|
5
|
+
create: "Creează",
|
|
6
|
+
edit: "Editează",
|
|
7
|
+
delete: "Șterge",
|
|
8
|
+
add: "Adaugă",
|
|
9
|
+
none: "—",
|
|
10
|
+
loading: "Se încarcă…",
|
|
11
|
+
optionalPlaceholder: "Opțional",
|
|
12
|
+
},
|
|
13
|
+
stage: {
|
|
14
|
+
listHeading: "Etape",
|
|
15
|
+
listEmpty: "Nicio etapă încă. Adaugă una pentru a defini când se trimite regula.",
|
|
16
|
+
addStage: "Adaugă etapă",
|
|
17
|
+
deleteConfirm: "Ștergi această etapă?",
|
|
18
|
+
fields: {
|
|
19
|
+
name: "Nume",
|
|
20
|
+
orderIndex: "Ordine",
|
|
21
|
+
anchor: "Reper",
|
|
22
|
+
windowStartDays: "Început fereastră (zile)",
|
|
23
|
+
windowEndDays: "Sfârșit fereastră (zile)",
|
|
24
|
+
cadenceKind: "Cadență",
|
|
25
|
+
cadenceEveryDays: "La fiecare N zile",
|
|
26
|
+
cadenceIntervals: "Praguri de escaladare",
|
|
27
|
+
maxSendsInStage: "Trimiteri maxime per etapă",
|
|
28
|
+
respectQuietHours: "Respectă orele de liniște",
|
|
29
|
+
},
|
|
30
|
+
descriptions: {
|
|
31
|
+
window: "Când se deschide fereastra de eligibilitate, relativ la reperul ales.",
|
|
32
|
+
cadence: "Cât de des se poate declanșa etapa în interiorul ferestrei.",
|
|
33
|
+
emptyIntervals: "Adaugă praguri bazate pe zile-până-la-scadență pentru a ajusta cadența pe măsură ce se apropie termenul.",
|
|
34
|
+
stopConditions: "Condiții de oprire",
|
|
35
|
+
maxSendsInStage: "Lasă gol pentru fără limită. Când se atinge limita, preia etapa următoare.",
|
|
36
|
+
respectQuietHours: "Amână declanșările care ar cădea în intervalul de ore de liniște al tenantului.",
|
|
37
|
+
},
|
|
38
|
+
placeholders: {
|
|
39
|
+
name: "Prima reamintire",
|
|
40
|
+
},
|
|
41
|
+
anchors: {
|
|
42
|
+
due_date: "Data scadenței",
|
|
43
|
+
booking_created_at: "Data creării rezervării",
|
|
44
|
+
departure_date: "Data plecării",
|
|
45
|
+
invoice_issued_at: "Data emiterii facturii",
|
|
46
|
+
last_send_at: "Ultima trimitere",
|
|
47
|
+
},
|
|
48
|
+
cadences: {
|
|
49
|
+
once: "O singură dată",
|
|
50
|
+
every_n_days: "La fiecare N zile",
|
|
51
|
+
escalating: "Praguri de escaladare",
|
|
52
|
+
},
|
|
53
|
+
intervalRow: {
|
|
54
|
+
whenDaysUntilDueGT: "Când zile-până-la-scadență >",
|
|
55
|
+
whenDaysUntilDueLT: "Când zile-până-la-scadență <",
|
|
56
|
+
repeatEveryDays: "Repetă la fiecare (zile)",
|
|
57
|
+
addInterval: "Adaugă prag",
|
|
58
|
+
removeInterval: "Șterge",
|
|
59
|
+
},
|
|
60
|
+
titles: {
|
|
61
|
+
create: "Adaugă etapă",
|
|
62
|
+
edit: "Editează etapă",
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
channel: {
|
|
66
|
+
listHeading: "Canale",
|
|
67
|
+
listEmpty: "Niciun canal. Adaugă cel puțin unul pentru a livra această etapă.",
|
|
68
|
+
addChannel: "Adaugă canal",
|
|
69
|
+
deleteConfirm: "Ștergi acest canal?",
|
|
70
|
+
fields: {
|
|
71
|
+
orderIndex: "Ordine",
|
|
72
|
+
channel: "Canal",
|
|
73
|
+
provider: "Furnizor",
|
|
74
|
+
template: "Șablon",
|
|
75
|
+
recipientKind: "Destinatar",
|
|
76
|
+
},
|
|
77
|
+
channels: {
|
|
78
|
+
email: "Email",
|
|
79
|
+
sms: "SMS",
|
|
80
|
+
},
|
|
81
|
+
recipientKinds: {
|
|
82
|
+
primary: "Principal",
|
|
83
|
+
cc: "CC",
|
|
84
|
+
bcc: "BCC",
|
|
85
|
+
},
|
|
86
|
+
providers: {
|
|
87
|
+
automatic: "Automat",
|
|
88
|
+
resend: "Resend (email)",
|
|
89
|
+
twilio: "Twilio (SMS)",
|
|
90
|
+
},
|
|
91
|
+
titles: {
|
|
92
|
+
create: "Adaugă canal",
|
|
93
|
+
edit: "Editează canal",
|
|
94
|
+
},
|
|
95
|
+
placeholders: {
|
|
96
|
+
template: "Caută șabloane…",
|
|
97
|
+
},
|
|
98
|
+
descriptions: {
|
|
99
|
+
automaticProvider: "Folosește Automat pentru a utiliza valoarea implicită a deploymentului pentru acest canal.",
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
settings: {
|
|
103
|
+
heading: "Setări notificări",
|
|
104
|
+
description: "Valori implicite pentru orele de liniște, blocaje și limite per destinatar.",
|
|
105
|
+
sections: {
|
|
106
|
+
quietHours: "Ore de liniște",
|
|
107
|
+
quietHoursDesc: "Când se pot trimite reamintiri, în fusul orar al destinatarului.",
|
|
108
|
+
blackouts: "Date blocate",
|
|
109
|
+
blackoutsDesc: "Date specifice care se ignoră complet (sărbători, închideri).",
|
|
110
|
+
rateLimits: "Limite și deduplicare",
|
|
111
|
+
rateLimitsDesc: "Plafoane care se aplică tuturor regulilor pentru a proteja destinatarii.",
|
|
112
|
+
},
|
|
113
|
+
fields: {
|
|
114
|
+
quietHoursStart: "Început",
|
|
115
|
+
quietHoursEnd: "Sfârșit",
|
|
116
|
+
quietHoursTz: "Fus orar",
|
|
117
|
+
blackoutDates: "Date blocate",
|
|
118
|
+
skipWeekends: "Sari peste weekend-uri",
|
|
119
|
+
skipWeekendsDesc: "Amână reamintirile care ar cădea sâmbăta sau duminica.",
|
|
120
|
+
recipientRateLimitPerDay: "Plafon zilnic per destinatar",
|
|
121
|
+
suppressionWindowHours: "Fereastră de supresie (ore)",
|
|
122
|
+
},
|
|
123
|
+
placeholders: {
|
|
124
|
+
tz: "Caută fusuri orare…",
|
|
125
|
+
noBlackouts: "Nicio dată blocată.",
|
|
126
|
+
},
|
|
127
|
+
helpers: {
|
|
128
|
+
blackoutDates: "Adaugă o dată pentru fiecare zi calendaristică de ignorat.",
|
|
129
|
+
recipientRateLimitPerDay: "Numărul maxim de reamintiri trimise per destinatar/canal în 24h. Lasă gol pentru fără limită.",
|
|
130
|
+
suppressionWindowHours: "Fereastră pentru deduplicarea regulilor care partajează același grup de supresie.",
|
|
131
|
+
},
|
|
132
|
+
actions: {
|
|
133
|
+
addBlackoutDate: "Adaugă dată",
|
|
134
|
+
removeBlackoutDate: "Șterge",
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
pickers: {
|
|
138
|
+
templates: {
|
|
139
|
+
placeholder: "Caută șabloane…",
|
|
140
|
+
empty: "Nu s-a găsit niciun șablon.",
|
|
141
|
+
},
|
|
142
|
+
timezones: {
|
|
143
|
+
placeholder: "Caută fusuri orare…",
|
|
144
|
+
empty: "Nu s-a găsit niciun fus orar.",
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
preview: {
|
|
148
|
+
dateLabel: "Dată",
|
|
149
|
+
empty: "Nimic nu s-ar declanșa la această dată.",
|
|
150
|
+
columns: {
|
|
151
|
+
rule: "Regulă",
|
|
152
|
+
stage: "Etapă",
|
|
153
|
+
target: "Țintă",
|
|
154
|
+
anchor: "Reper",
|
|
155
|
+
scheduledAt: "Programat la",
|
|
156
|
+
reasoning: "Motiv",
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
admin: {
|
|
160
|
+
common: {
|
|
161
|
+
channelFilterPlaceholder: "Canal",
|
|
162
|
+
statusFilterPlaceholder: "Stare",
|
|
163
|
+
allChannels: "Toate canalele",
|
|
164
|
+
allStatuses: "Toate stările",
|
|
165
|
+
channelEmail: "Email",
|
|
166
|
+
channelSms: "SMS",
|
|
167
|
+
statusDraft: "Ciornă",
|
|
168
|
+
statusActive: "Activ",
|
|
169
|
+
statusArchived: "Arhivat",
|
|
170
|
+
statusPending: "În așteptare",
|
|
171
|
+
statusSent: "Trimis",
|
|
172
|
+
statusFailed: "Eșuat",
|
|
173
|
+
statusCancelled: "Anulat",
|
|
174
|
+
statusQueued: "În coadă",
|
|
175
|
+
statusProcessing: "În procesare",
|
|
176
|
+
statusSkipped: "Omis",
|
|
177
|
+
saveChanges: "Salvează modificările",
|
|
178
|
+
directTemplate: "direct",
|
|
179
|
+
defaultSender: "Expeditor implicit",
|
|
180
|
+
previewDataNotObject: "Datele de previzualizare trebuie să fie un obiect JSON.",
|
|
181
|
+
previewInvalidJson: "Datele de previzualizare nu sunt JSON valid.",
|
|
182
|
+
previewFailed: "Previzualizarea a eșuat",
|
|
183
|
+
},
|
|
184
|
+
templatesPage: {
|
|
185
|
+
title: "Șabloane de notificare",
|
|
186
|
+
description: "Gestionează șabloanele de email și SMS randate cu Liquid.",
|
|
187
|
+
newTemplate: "Șablon nou",
|
|
188
|
+
searchPlaceholder: "Caută șabloane...",
|
|
189
|
+
empty: "Niciun șablon de notificare încă. Creează unul pentru a trimite emailuri și SMS-uri personalizate.",
|
|
190
|
+
},
|
|
191
|
+
templateDialog: {
|
|
192
|
+
editTitle: "Editează șablonul de notificare",
|
|
193
|
+
createTitle: "Șablon de notificare nou",
|
|
194
|
+
nameLabel: "Nume",
|
|
195
|
+
namePlaceholder: "Confirmare rezervare",
|
|
196
|
+
slugLabel: "Slug",
|
|
197
|
+
slugPlaceholder: "confirmare-rezervare",
|
|
198
|
+
channelLabel: "Canal",
|
|
199
|
+
statusLabel: "Stare",
|
|
200
|
+
attachmentsLabel: "Atașamente",
|
|
201
|
+
attachmentContract: "Contract",
|
|
202
|
+
attachmentInvoice: "Factură",
|
|
203
|
+
attachmentBrochure: "Broșură",
|
|
204
|
+
fromAddressLabel: "Adresă expeditor",
|
|
205
|
+
fromAddressPlaceholder: "rezervari@exemplu.ro",
|
|
206
|
+
subjectLabel: "Subiect",
|
|
207
|
+
subjectPlaceholder: "Rezervarea ta {{ booking.reference }}",
|
|
208
|
+
htmlBodyLabel: "Corp HTML",
|
|
209
|
+
htmlBodyPlaceholder: "Compune corpul emailului folosind variabile Liquid...",
|
|
210
|
+
smsBodyLabel: "Corp SMS",
|
|
211
|
+
smsBodyPlaceholder: 'Salut {{ traveler.firstName | default: "călător" }}, rezervarea ta este confirmată.',
|
|
212
|
+
tabAuthoring: "Editare",
|
|
213
|
+
tabPreview: "Previzualizare și test",
|
|
214
|
+
insertIntoLabel: "Inserează în",
|
|
215
|
+
insertTargetSubject: "Subiect",
|
|
216
|
+
insertTargetHtmlBody: "Corp HTML",
|
|
217
|
+
insertTargetSmsBody: "Corp SMS",
|
|
218
|
+
insertHint: "Variabilele se inserează ca taguri Liquid în câmpurile text și ca etichete inline în corpul HTML.",
|
|
219
|
+
previewDataLabel: "Date de previzualizare (JSON)",
|
|
220
|
+
previewDataPlaceholder: '{"booking":{"reference":"BKG-2026-00125"}}',
|
|
221
|
+
previewDataHint: "Folosește JSON de exemplu pentru a previzualiza randarea Liquid și a trimite un mesaj de test sigur.",
|
|
222
|
+
refreshPreview: "Reîmprospătează previzualizarea",
|
|
223
|
+
renderedPreviewTitle: "Previzualizare randată",
|
|
224
|
+
renderedSubjectLabel: "Subiect",
|
|
225
|
+
renderedHtmlLabel: "Corp HTML",
|
|
226
|
+
renderedSmsLabel: "Corp SMS",
|
|
227
|
+
noSubjectRendered: "Niciun subiect randat încă.",
|
|
228
|
+
noHtmlRendered: "Niciun conținut HTML randat încă.",
|
|
229
|
+
noSmsRendered: "Niciun conținut SMS randat încă.",
|
|
230
|
+
testSendTitle: "Trimitere de test",
|
|
231
|
+
testSendDescription: "Trimite conținutul curent nesalvat prin calea de provider configurată.",
|
|
232
|
+
recipientEmailLabel: "Email destinatar",
|
|
233
|
+
recipientPhoneLabel: "Telefon destinatar",
|
|
234
|
+
recipientEmailPlaceholder: "qa@exemplu.ro",
|
|
235
|
+
recipientPhonePlaceholder: "+40 721 111 222",
|
|
236
|
+
providerAutoNote: "Providerul este selectat automat de runtime-ul aplicației.",
|
|
237
|
+
fromNote: "De la: {sender}",
|
|
238
|
+
sendTestEmail: "Trimite email de test",
|
|
239
|
+
sendTestSms: "Trimite SMS de test",
|
|
240
|
+
testQueuedEmail: "Emailul de test a fost pus în coadă.",
|
|
241
|
+
testQueuedSms: "SMS-ul de test a fost pus în coadă.",
|
|
242
|
+
testSendFailed: "Trimiterea de test a eșuat",
|
|
243
|
+
recipientEmailRequired: "Emailul destinatarului este obligatoriu.",
|
|
244
|
+
recipientPhoneRequired: "Telefonul destinatarului este obligatoriu.",
|
|
245
|
+
markActiveLabel: "Marchează șablonul ca activ după salvare",
|
|
246
|
+
createTemplate: "Creează șablonul",
|
|
247
|
+
},
|
|
248
|
+
templateDetail: {
|
|
249
|
+
backToTemplates: "Înapoi la șabloane",
|
|
250
|
+
notFound: "Șablonul de notificare nu a fost găsit.",
|
|
251
|
+
editTemplate: "Editează șablonul",
|
|
252
|
+
metaChannel: "Canal",
|
|
253
|
+
metaFrom: "Expeditor",
|
|
254
|
+
metaUpdated: "Actualizat",
|
|
255
|
+
tabOverview: "Prezentare generală",
|
|
256
|
+
tabPreview: "Previzualizare",
|
|
257
|
+
recentDeliveries: "Livrări recente",
|
|
258
|
+
messageStructureTitle: "Structura mesajului",
|
|
259
|
+
subjectLabel: "Subiect",
|
|
260
|
+
textFallbackLabel: "Text alternativ",
|
|
261
|
+
descriptionLabel: "Descriere",
|
|
262
|
+
htmlBodyTitle: "Corp HTML",
|
|
263
|
+
noHtmlConfigured: "Niciun corp HTML configurat.",
|
|
264
|
+
sampleDataTitle: "Date de exemplu",
|
|
265
|
+
customJsonLabel: "Randează cu JSON personalizat",
|
|
266
|
+
renderPreview: "Randează previzualizarea",
|
|
267
|
+
renderedOutputTitle: "Rezultat randat",
|
|
268
|
+
notRenderedYet: "Nerandat încă.",
|
|
269
|
+
noRenderedHtml: "Niciun HTML randat încă.",
|
|
270
|
+
noRenderedText: "Niciun text randat încă.",
|
|
271
|
+
smsBodyLabel: "Corp SMS",
|
|
272
|
+
inspect: "Inspectează",
|
|
273
|
+
noDeliveriesForTemplate: "Nicio livrare înregistrată pentru acest șablon încă.",
|
|
274
|
+
},
|
|
275
|
+
deliveriesPage: {
|
|
276
|
+
title: "Livrări",
|
|
277
|
+
description: "Analizează încercările de livrare a notificărilor, conținutul randat și rezultatele la nivel de provider.",
|
|
278
|
+
empty: "Nicio livrare încă.",
|
|
279
|
+
resend: "Retrimite",
|
|
280
|
+
detailsButton: "Detalii",
|
|
281
|
+
resendFailed: "Retrimiterea notificării a eșuat",
|
|
282
|
+
dialogTitle: "Detalii livrare",
|
|
283
|
+
dialogDescription: "Răspunsul providerului, jurnalul de eșec, conținutul randat și datele acestei notificări.",
|
|
284
|
+
labels: {
|
|
285
|
+
deliveryId: "ID livrare",
|
|
286
|
+
status: "Stare",
|
|
287
|
+
provider: "Provider",
|
|
288
|
+
providerMessageId: "ID mesaj provider",
|
|
289
|
+
template: "Șablon",
|
|
290
|
+
channel: "Canal",
|
|
291
|
+
created: "Creat",
|
|
292
|
+
failed: "Eșuat",
|
|
293
|
+
sent: "Trimis",
|
|
294
|
+
scheduled: "Programat",
|
|
295
|
+
to: "Către",
|
|
296
|
+
from: "De la",
|
|
297
|
+
subject: "Subiect",
|
|
298
|
+
target: "Țintă",
|
|
299
|
+
},
|
|
300
|
+
errorMessageTitle: "Mesaj de eroare",
|
|
301
|
+
failureLogTitle: "Jurnal de eșec",
|
|
302
|
+
noFailureLog: "Nu a fost capturat niciun jurnal de eșec structurat.",
|
|
303
|
+
payloadDataTitle: "Date payload",
|
|
304
|
+
metadataTitle: "Metadate",
|
|
305
|
+
textBodyTitle: "Corp text",
|
|
306
|
+
htmlBodyTitle: "Corp HTML",
|
|
307
|
+
},
|
|
308
|
+
deliveryDetail: {
|
|
309
|
+
title: "Detalii livrare",
|
|
310
|
+
loadFailed: "Încărcarea livrării a eșuat.",
|
|
311
|
+
labels: {
|
|
312
|
+
to: "Către",
|
|
313
|
+
template: "Șablon",
|
|
314
|
+
provider: "Provider",
|
|
315
|
+
status: "Stare",
|
|
316
|
+
channel: "Canal",
|
|
317
|
+
from: "De la",
|
|
318
|
+
targetType: "Tip țintă",
|
|
319
|
+
targetId: "ID țintă",
|
|
320
|
+
providerMessageId: "ID mesaj provider",
|
|
321
|
+
created: "Creat",
|
|
322
|
+
sent: "Trimis",
|
|
323
|
+
failed: "Eșuat",
|
|
324
|
+
subject: "Subiect",
|
|
325
|
+
error: "Eroare",
|
|
326
|
+
text: "Text",
|
|
327
|
+
},
|
|
328
|
+
metadataTitle: "Metadate",
|
|
329
|
+
renderedPayloadTitle: "Conținut randat",
|
|
330
|
+
htmlBodyTitle: "Corp HTML",
|
|
331
|
+
noHtmlStored: "Niciun corp HTML stocat pentru această livrare.",
|
|
332
|
+
payloadDataTitle: "Date payload",
|
|
333
|
+
close: "Închide",
|
|
334
|
+
},
|
|
335
|
+
reminderRulesPage: {
|
|
336
|
+
title: "Reguli de reamintire",
|
|
337
|
+
description: "Programează reamintiri de plată pentru rezervări și notificări de evenimente pe baza șabloanelor și canalelor.",
|
|
338
|
+
empty: "Nicio regulă de reamintire încă.",
|
|
339
|
+
newRule: "Regulă nouă",
|
|
340
|
+
searchPlaceholder: "Caută reguli...",
|
|
341
|
+
targetFilterPlaceholder: "Țintă",
|
|
342
|
+
allTargets: "Toate țintele",
|
|
343
|
+
manageStages: "Gestionează etapele",
|
|
344
|
+
targets: {
|
|
345
|
+
booking_confirmed: "Rezervare confirmată",
|
|
346
|
+
booking_payment_schedule: "Calendar de plăți rezervare",
|
|
347
|
+
payment_complete: "Plată finalizată",
|
|
348
|
+
booking_cancelled_non_payment: "Rezervare anulată (neplată)",
|
|
349
|
+
invoice: "Factură",
|
|
350
|
+
},
|
|
351
|
+
},
|
|
352
|
+
reminderRuleDialog: {
|
|
353
|
+
editTitle: "Editează regula de reamintire",
|
|
354
|
+
createTitle: "Regulă de reamintire nouă",
|
|
355
|
+
nameLabel: "Nume",
|
|
356
|
+
namePlaceholder: "Plată scadentă în 3 zile",
|
|
357
|
+
targetLabel: "Țintă",
|
|
358
|
+
statusLabel: "Stare",
|
|
359
|
+
channelLabel: "Canal",
|
|
360
|
+
defaultTemplateLabel: "Șablon implicit",
|
|
361
|
+
selectTemplatePlaceholder: "Selectează șablonul",
|
|
362
|
+
defaultTemplateHint: "Folosit ca rezervă. Canalele per etapă îl pot suprascrie.",
|
|
363
|
+
stagesHintBefore: "După crearea regulii, apasă",
|
|
364
|
+
stagesHintAction: "Gestionează etapele",
|
|
365
|
+
stagesHintAfter: "pe rând pentru a defini când se declanșează (reper, fereastră, cadență) și ce canale o livrează.",
|
|
366
|
+
createRule: "Creează regula",
|
|
367
|
+
},
|
|
368
|
+
reminderRuleDetail: {
|
|
369
|
+
fallbackTitle: "Regulă de reamintire",
|
|
370
|
+
},
|
|
371
|
+
reminderRunsPage: {
|
|
372
|
+
title: "Execuții reamintiri",
|
|
373
|
+
description: "Inspectează execuțiile de reamintiri puse în coadă și procesate, livrările asociate și motivele eșecurilor.",
|
|
374
|
+
empty: "Nicio execuție de reamintire încă.",
|
|
375
|
+
},
|
|
376
|
+
previewPage: {
|
|
377
|
+
title: "Previzualizare reamintiri",
|
|
378
|
+
description: "Ce s-ar declanșa la o dată aleasă cu secvențele de reamintire active. Doar citire.",
|
|
379
|
+
},
|
|
380
|
+
authoringHelp: {
|
|
381
|
+
title: "Variabile de notificare",
|
|
382
|
+
description: "Notificările se randează cu Liquid. Folosește variabile pentru subiect și corp și taguri de control pentru condiții sau bucle.",
|
|
383
|
+
},
|
|
384
|
+
},
|
|
385
|
+
};
|
package/dist/ui.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { NotificationSettingsForm } from "./components/notification-settings-form.js";
|
|
2
|
+
export { RemindersPreviewList, type RemindersPreviewListProps, } from "./components/reminders-preview-list.js";
|
|
3
|
+
export { StageChannelEditorDialog, type StageChannelEditorDialogProps, } from "./components/stage-channel-editor-dialog.js";
|
|
4
|
+
export { StageChannelList, type StageChannelListProps, } from "./components/stage-channel-list.js";
|
|
5
|
+
export { StageEditorDialog, type StageEditorDialogProps, } from "./components/stage-editor-dialog.js";
|
|
6
|
+
export { StageList, type StageListProps } from "./components/stage-list.js";
|
|
7
|
+
export { TemplatePicker, type TemplatePickerProps } from "./components/template-picker.js";
|
|
8
|
+
export { getNotificationsUiI18n, type NotificationsUiMessageOverrides, type NotificationsUiMessages, NotificationsUiMessagesProvider, notificationsUiEn, notificationsUiMessageDefinitions, notificationsUiRo, resolveNotificationsUiMessages, useNotificationsUiI18n, useNotificationsUiI18nOrDefault, useNotificationsUiMessages, useNotificationsUiMessagesOrDefault, } from "./i18n/index.js";
|
|
9
|
+
//# sourceMappingURL=ui.d.ts.map
|
package/dist/ui.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../src/ui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAA;AACrF,OAAO,EACL,oBAAoB,EACpB,KAAK,yBAAyB,GAC/B,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,MAAM,6CAA6C,CAAA;AACpD,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,GAC3B,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,GAC5B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3E,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,iCAAiC,CAAA;AAC1F,OAAO,EACL,sBAAsB,EACtB,KAAK,+BAA+B,EACpC,KAAK,uBAAuB,EAC5B,+BAA+B,EAC/B,iBAAiB,EACjB,iCAAiC,EACjC,iBAAiB,EACjB,8BAA8B,EAC9B,sBAAsB,EACtB,+BAA+B,EAC/B,0BAA0B,EAC1B,mCAAmC,GACpC,MAAM,iBAAiB,CAAA"}
|
package/dist/ui.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { NotificationSettingsForm } from "./components/notification-settings-form.js";
|
|
2
|
+
export { RemindersPreviewList, } from "./components/reminders-preview-list.js";
|
|
3
|
+
export { StageChannelEditorDialog, } from "./components/stage-channel-editor-dialog.js";
|
|
4
|
+
export { StageChannelList, } from "./components/stage-channel-list.js";
|
|
5
|
+
export { StageEditorDialog, } from "./components/stage-editor-dialog.js";
|
|
6
|
+
export { StageList } from "./components/stage-list.js";
|
|
7
|
+
export { TemplatePicker } from "./components/template-picker.js";
|
|
8
|
+
export { getNotificationsUiI18n, NotificationsUiMessagesProvider, notificationsUiEn, notificationsUiMessageDefinitions, notificationsUiRo, resolveNotificationsUiMessages, useNotificationsUiI18n, useNotificationsUiI18nOrDefault, useNotificationsUiMessages, useNotificationsUiMessagesOrDefault, } from "./i18n/index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/notifications-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.108.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,40 +34,101 @@
|
|
|
34
34
|
"types": "./dist/query-keys.d.ts",
|
|
35
35
|
"import": "./dist/query-keys.js",
|
|
36
36
|
"default": "./dist/query-keys.js"
|
|
37
|
+
},
|
|
38
|
+
"./ui": {
|
|
39
|
+
"types": "./dist/ui.d.ts",
|
|
40
|
+
"import": "./dist/ui.js",
|
|
41
|
+
"default": "./dist/ui.js"
|
|
42
|
+
},
|
|
43
|
+
"./styles.css": {
|
|
44
|
+
"default": "./src/styles.css"
|
|
45
|
+
},
|
|
46
|
+
"./i18n": {
|
|
47
|
+
"types": "./dist/i18n/index.d.ts",
|
|
48
|
+
"import": "./dist/i18n/index.js",
|
|
49
|
+
"default": "./dist/i18n/index.js"
|
|
50
|
+
},
|
|
51
|
+
"./i18n/en": {
|
|
52
|
+
"types": "./dist/i18n/en.d.ts",
|
|
53
|
+
"import": "./dist/i18n/en.js",
|
|
54
|
+
"default": "./dist/i18n/en.js"
|
|
55
|
+
},
|
|
56
|
+
"./i18n/ro": {
|
|
57
|
+
"types": "./dist/i18n/ro.d.ts",
|
|
58
|
+
"import": "./dist/i18n/ro.js",
|
|
59
|
+
"default": "./dist/i18n/ro.js"
|
|
60
|
+
},
|
|
61
|
+
"./admin": {
|
|
62
|
+
"types": "./dist/admin/index.d.ts",
|
|
63
|
+
"import": "./dist/admin/index.js",
|
|
64
|
+
"default": "./dist/admin/index.js"
|
|
65
|
+
},
|
|
66
|
+
"./components/*": {
|
|
67
|
+
"types": "./dist/components/*.d.ts",
|
|
68
|
+
"import": "./dist/components/*.js",
|
|
69
|
+
"default": "./dist/components/*.js"
|
|
37
70
|
}
|
|
38
71
|
},
|
|
39
72
|
"peerDependencies": {
|
|
40
73
|
"@tanstack/react-query": "^5.0.0",
|
|
74
|
+
"lucide-react": "^0.475.0",
|
|
41
75
|
"react": "^19.0.0",
|
|
42
76
|
"react-dom": "^19.0.0",
|
|
77
|
+
"react-hook-form": "^7.60.0",
|
|
43
78
|
"zod": "^4.0.0",
|
|
44
|
-
"@voyantjs/
|
|
79
|
+
"@voyantjs/admin": "^0.108.0",
|
|
80
|
+
"@voyantjs/notifications": "^0.108.0",
|
|
81
|
+
"@voyantjs/ui": "^0.106.0"
|
|
82
|
+
},
|
|
83
|
+
"peerDependenciesMeta": {
|
|
84
|
+
"@voyantjs/admin": {
|
|
85
|
+
"optional": true
|
|
86
|
+
},
|
|
87
|
+
"@voyantjs/ui": {
|
|
88
|
+
"optional": true
|
|
89
|
+
},
|
|
90
|
+
"lucide-react": {
|
|
91
|
+
"optional": true
|
|
92
|
+
},
|
|
93
|
+
"react-hook-form": {
|
|
94
|
+
"optional": true
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"dependencies": {
|
|
98
|
+
"sonner": "^2.0.7",
|
|
99
|
+
"@voyantjs/i18n": "^0.106.0",
|
|
100
|
+
"@voyantjs/react": "^0.104.1"
|
|
45
101
|
},
|
|
46
102
|
"devDependencies": {
|
|
47
103
|
"@tanstack/react-query": "^5.100.11",
|
|
104
|
+
"@tiptap/core": "^3.7.2",
|
|
48
105
|
"@types/react": "^19.2.14",
|
|
49
106
|
"@types/react-dom": "^19.2.3",
|
|
107
|
+
"lucide-react": "^0.475.0",
|
|
50
108
|
"react": "^19.2.4",
|
|
51
109
|
"react-dom": "^19.2.4",
|
|
110
|
+
"react-hook-form": "^7.60.0",
|
|
111
|
+
"sonner": "^2.0.7",
|
|
52
112
|
"typescript": "^6.0.2",
|
|
53
113
|
"vitest": "^4.1.2",
|
|
54
114
|
"zod": "^4.3.6",
|
|
115
|
+
"@voyantjs/admin": "^0.108.0",
|
|
116
|
+
"@voyantjs/i18n": "^0.106.0",
|
|
117
|
+
"@voyantjs/notifications": "^0.108.0",
|
|
55
118
|
"@voyantjs/react": "^0.104.1",
|
|
56
|
-
"@voyantjs/
|
|
57
|
-
"@voyantjs/
|
|
58
|
-
},
|
|
59
|
-
"dependencies": {
|
|
60
|
-
"@voyantjs/react": "^0.104.1"
|
|
119
|
+
"@voyantjs/ui": "^0.106.0",
|
|
120
|
+
"@voyantjs/voyant-typescript-config": "^0.1.0"
|
|
61
121
|
},
|
|
62
122
|
"files": [
|
|
63
|
-
"dist"
|
|
123
|
+
"dist",
|
|
124
|
+
"src/styles.css"
|
|
64
125
|
],
|
|
65
126
|
"publishConfig": {
|
|
66
127
|
"access": "public"
|
|
67
128
|
},
|
|
68
129
|
"scripts": {
|
|
69
|
-
"build": "tsc -p tsconfig.json",
|
|
70
|
-
"clean": "rm -rf dist tsconfig.tsbuildinfo",
|
|
130
|
+
"build": "tsc -p tsconfig.build.json",
|
|
131
|
+
"clean": "rm -rf dist tsconfig.tsbuildinfo tsconfig.build.tsbuildinfo",
|
|
71
132
|
"typecheck": "tsc --noEmit",
|
|
72
133
|
"lint": "biome check src/",
|
|
73
134
|
"test": "vitest run --passWithNoTests"
|
package/src/styles.css
ADDED