@voyantjs/suppliers-ui 0.30.7 → 0.31.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/components/message-format.d.ts +2 -0
- package/dist/components/message-format.d.ts.map +1 -0
- package/dist/components/message-format.js +3 -0
- package/dist/components/rate-dialog.d.ts +11 -0
- package/dist/components/rate-dialog.d.ts.map +1 -0
- package/dist/components/rate-dialog.js +82 -0
- package/dist/components/service-dialog.d.ts +10 -0
- package/dist/components/service-dialog.d.ts.map +1 -0
- package/dist/components/service-dialog.js +69 -0
- package/dist/components/supplier-detail-page.d.ts +16 -0
- package/dist/components/supplier-detail-page.d.ts.map +1 -0
- package/dist/components/supplier-detail-page.js +104 -0
- package/dist/components/supplier-dialog.d.ts +9 -0
- package/dist/components/supplier-dialog.d.ts.map +1 -0
- package/dist/components/supplier-dialog.js +114 -0
- package/dist/components/suppliers-page.d.ts +8 -10
- package/dist/components/suppliers-page.d.ts.map +1 -1
- package/dist/components/suppliers-page.js +77 -43
- package/dist/i18n/en.d.ts +125 -0
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +125 -0
- package/dist/i18n/messages.d.ts +128 -0
- package/dist/i18n/messages.d.ts.map +1 -1
- package/dist/i18n/provider.d.ts +250 -0
- package/dist/i18n/provider.d.ts.map +1 -1
- package/dist/i18n/ro.d.ts +125 -0
- package/dist/i18n/ro.d.ts.map +1 -1
- package/dist/i18n/ro.js +125 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/package.json +12 -8
package/dist/i18n/provider.d.ts
CHANGED
|
@@ -7,7 +7,12 @@ export declare const suppliersUiMessageDefinitions: {
|
|
|
7
7
|
edit: string;
|
|
8
8
|
delete: string;
|
|
9
9
|
add: string;
|
|
10
|
+
save: string;
|
|
11
|
+
create: string;
|
|
12
|
+
cancel: string;
|
|
13
|
+
back: string;
|
|
10
14
|
open: string;
|
|
15
|
+
active: string;
|
|
11
16
|
inactive: string;
|
|
12
17
|
none: string;
|
|
13
18
|
unknown: string;
|
|
@@ -48,6 +53,17 @@ export declare const suppliersUiMessageDefinitions: {
|
|
|
48
53
|
create: string;
|
|
49
54
|
searchPlaceholder: string;
|
|
50
55
|
summary: string;
|
|
56
|
+
previous: string;
|
|
57
|
+
next: string;
|
|
58
|
+
page: string;
|
|
59
|
+
filters: string;
|
|
60
|
+
clearFilters: string;
|
|
61
|
+
allTypes: string;
|
|
62
|
+
allStatuses: string;
|
|
63
|
+
countryPlaceholder: string;
|
|
64
|
+
currencyPlaceholder: string;
|
|
65
|
+
empty: string;
|
|
66
|
+
loadFailed: string;
|
|
51
67
|
columns: {
|
|
52
68
|
name: string;
|
|
53
69
|
type: string;
|
|
@@ -57,6 +73,115 @@ export declare const suppliersUiMessageDefinitions: {
|
|
|
57
73
|
currency: string;
|
|
58
74
|
};
|
|
59
75
|
};
|
|
76
|
+
supplierDetailPage: {
|
|
77
|
+
backToSuppliers: string;
|
|
78
|
+
notFound: string;
|
|
79
|
+
loadFailed: string;
|
|
80
|
+
details: string;
|
|
81
|
+
contact: string;
|
|
82
|
+
noContact: string;
|
|
83
|
+
services: string;
|
|
84
|
+
addService: string;
|
|
85
|
+
noServices: string;
|
|
86
|
+
notes: string;
|
|
87
|
+
notePlaceholder: string;
|
|
88
|
+
addNote: string;
|
|
89
|
+
noNotes: string;
|
|
90
|
+
deleteSupplierConfirm: string;
|
|
91
|
+
deleteServiceConfirm: string;
|
|
92
|
+
deleteRateConfirm: string;
|
|
93
|
+
labels: {
|
|
94
|
+
type: string;
|
|
95
|
+
status: string;
|
|
96
|
+
city: string;
|
|
97
|
+
country: string;
|
|
98
|
+
currency: string;
|
|
99
|
+
reservationTimeout: string;
|
|
100
|
+
email: string;
|
|
101
|
+
phone: string;
|
|
102
|
+
website: string;
|
|
103
|
+
address: string;
|
|
104
|
+
contactName: string;
|
|
105
|
+
contactEmail: string;
|
|
106
|
+
contactPhone: string;
|
|
107
|
+
created: string;
|
|
108
|
+
updated: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
dialogs: {
|
|
112
|
+
supplier: {
|
|
113
|
+
newTitle: string;
|
|
114
|
+
editTitle: string;
|
|
115
|
+
nameLabel: string;
|
|
116
|
+
namePlaceholder: string;
|
|
117
|
+
typeLabel: string;
|
|
118
|
+
statusLabel: string;
|
|
119
|
+
descriptionLabel: string;
|
|
120
|
+
descriptionPlaceholder: string;
|
|
121
|
+
emailLabel: string;
|
|
122
|
+
emailPlaceholder: string;
|
|
123
|
+
phoneLabel: string;
|
|
124
|
+
phonePlaceholder: string;
|
|
125
|
+
websiteLabel: string;
|
|
126
|
+
websitePlaceholder: string;
|
|
127
|
+
addressLabel: string;
|
|
128
|
+
addressPlaceholder: string;
|
|
129
|
+
cityLabel: string;
|
|
130
|
+
cityPlaceholder: string;
|
|
131
|
+
countryLabel: string;
|
|
132
|
+
countryPlaceholder: string;
|
|
133
|
+
defaultCurrencyLabel: string;
|
|
134
|
+
defaultCurrencyPlaceholder: string;
|
|
135
|
+
reservationTimeoutLabel: string;
|
|
136
|
+
reservationTimeoutPlaceholder: string;
|
|
137
|
+
contactNameLabel: string;
|
|
138
|
+
contactNamePlaceholder: string;
|
|
139
|
+
contactEmailLabel: string;
|
|
140
|
+
contactEmailPlaceholder: string;
|
|
141
|
+
contactPhoneLabel: string;
|
|
142
|
+
contactPhonePlaceholder: string;
|
|
143
|
+
validationNameRequired: string;
|
|
144
|
+
validationIsoCurrency: string;
|
|
145
|
+
validationReservationTimeout: string;
|
|
146
|
+
};
|
|
147
|
+
service: {
|
|
148
|
+
newTitle: string;
|
|
149
|
+
editTitle: string;
|
|
150
|
+
serviceTypeLabel: string;
|
|
151
|
+
nameLabel: string;
|
|
152
|
+
namePlaceholder: string;
|
|
153
|
+
descriptionLabel: string;
|
|
154
|
+
descriptionPlaceholder: string;
|
|
155
|
+
durationLabel: string;
|
|
156
|
+
durationPlaceholder: string;
|
|
157
|
+
capacityLabel: string;
|
|
158
|
+
capacityPlaceholder: string;
|
|
159
|
+
activeLabel: string;
|
|
160
|
+
validationNameRequired: string;
|
|
161
|
+
};
|
|
162
|
+
rate: {
|
|
163
|
+
newTitle: string;
|
|
164
|
+
editTitle: string;
|
|
165
|
+
seasonNameLabel: string;
|
|
166
|
+
seasonNamePlaceholder: string;
|
|
167
|
+
currencyLabel: string;
|
|
168
|
+
currencyPlaceholder: string;
|
|
169
|
+
amountLabel: string;
|
|
170
|
+
amountPlaceholder: string;
|
|
171
|
+
unitLabel: string;
|
|
172
|
+
validFromLabel: string;
|
|
173
|
+
validToLabel: string;
|
|
174
|
+
minPaxLabel: string;
|
|
175
|
+
minPaxPlaceholder: string;
|
|
176
|
+
maxPaxLabel: string;
|
|
177
|
+
maxPaxPlaceholder: string;
|
|
178
|
+
notesLabel: string;
|
|
179
|
+
notesPlaceholder: string;
|
|
180
|
+
validationNameRequired: string;
|
|
181
|
+
validationIsoCurrency: string;
|
|
182
|
+
validationNonNegative: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
60
185
|
supplierServiceRow: {
|
|
61
186
|
rates: string;
|
|
62
187
|
addRate: string;
|
|
@@ -76,7 +201,12 @@ export declare const suppliersUiMessageDefinitions: {
|
|
|
76
201
|
edit: string;
|
|
77
202
|
delete: string;
|
|
78
203
|
add: string;
|
|
204
|
+
save: string;
|
|
205
|
+
create: string;
|
|
206
|
+
cancel: string;
|
|
207
|
+
back: string;
|
|
79
208
|
open: string;
|
|
209
|
+
active: string;
|
|
80
210
|
inactive: string;
|
|
81
211
|
none: string;
|
|
82
212
|
unknown: string;
|
|
@@ -117,6 +247,17 @@ export declare const suppliersUiMessageDefinitions: {
|
|
|
117
247
|
create: string;
|
|
118
248
|
searchPlaceholder: string;
|
|
119
249
|
summary: string;
|
|
250
|
+
previous: string;
|
|
251
|
+
next: string;
|
|
252
|
+
page: string;
|
|
253
|
+
filters: string;
|
|
254
|
+
clearFilters: string;
|
|
255
|
+
allTypes: string;
|
|
256
|
+
allStatuses: string;
|
|
257
|
+
countryPlaceholder: string;
|
|
258
|
+
currencyPlaceholder: string;
|
|
259
|
+
empty: string;
|
|
260
|
+
loadFailed: string;
|
|
120
261
|
columns: {
|
|
121
262
|
name: string;
|
|
122
263
|
type: string;
|
|
@@ -126,6 +267,115 @@ export declare const suppliersUiMessageDefinitions: {
|
|
|
126
267
|
currency: string;
|
|
127
268
|
};
|
|
128
269
|
};
|
|
270
|
+
supplierDetailPage: {
|
|
271
|
+
backToSuppliers: string;
|
|
272
|
+
notFound: string;
|
|
273
|
+
loadFailed: string;
|
|
274
|
+
details: string;
|
|
275
|
+
contact: string;
|
|
276
|
+
noContact: string;
|
|
277
|
+
services: string;
|
|
278
|
+
addService: string;
|
|
279
|
+
noServices: string;
|
|
280
|
+
notes: string;
|
|
281
|
+
notePlaceholder: string;
|
|
282
|
+
addNote: string;
|
|
283
|
+
noNotes: string;
|
|
284
|
+
deleteSupplierConfirm: string;
|
|
285
|
+
deleteServiceConfirm: string;
|
|
286
|
+
deleteRateConfirm: string;
|
|
287
|
+
labels: {
|
|
288
|
+
type: string;
|
|
289
|
+
status: string;
|
|
290
|
+
city: string;
|
|
291
|
+
country: string;
|
|
292
|
+
currency: string;
|
|
293
|
+
reservationTimeout: string;
|
|
294
|
+
email: string;
|
|
295
|
+
phone: string;
|
|
296
|
+
website: string;
|
|
297
|
+
address: string;
|
|
298
|
+
contactName: string;
|
|
299
|
+
contactEmail: string;
|
|
300
|
+
contactPhone: string;
|
|
301
|
+
created: string;
|
|
302
|
+
updated: string;
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
dialogs: {
|
|
306
|
+
supplier: {
|
|
307
|
+
newTitle: string;
|
|
308
|
+
editTitle: string;
|
|
309
|
+
nameLabel: string;
|
|
310
|
+
namePlaceholder: string;
|
|
311
|
+
typeLabel: string;
|
|
312
|
+
statusLabel: string;
|
|
313
|
+
descriptionLabel: string;
|
|
314
|
+
descriptionPlaceholder: string;
|
|
315
|
+
emailLabel: string;
|
|
316
|
+
emailPlaceholder: string;
|
|
317
|
+
phoneLabel: string;
|
|
318
|
+
phonePlaceholder: string;
|
|
319
|
+
websiteLabel: string;
|
|
320
|
+
websitePlaceholder: string;
|
|
321
|
+
addressLabel: string;
|
|
322
|
+
addressPlaceholder: string;
|
|
323
|
+
cityLabel: string;
|
|
324
|
+
cityPlaceholder: string;
|
|
325
|
+
countryLabel: string;
|
|
326
|
+
countryPlaceholder: string;
|
|
327
|
+
defaultCurrencyLabel: string;
|
|
328
|
+
defaultCurrencyPlaceholder: string;
|
|
329
|
+
reservationTimeoutLabel: string;
|
|
330
|
+
reservationTimeoutPlaceholder: string;
|
|
331
|
+
contactNameLabel: string;
|
|
332
|
+
contactNamePlaceholder: string;
|
|
333
|
+
contactEmailLabel: string;
|
|
334
|
+
contactEmailPlaceholder: string;
|
|
335
|
+
contactPhoneLabel: string;
|
|
336
|
+
contactPhonePlaceholder: string;
|
|
337
|
+
validationNameRequired: string;
|
|
338
|
+
validationIsoCurrency: string;
|
|
339
|
+
validationReservationTimeout: string;
|
|
340
|
+
};
|
|
341
|
+
service: {
|
|
342
|
+
newTitle: string;
|
|
343
|
+
editTitle: string;
|
|
344
|
+
serviceTypeLabel: string;
|
|
345
|
+
nameLabel: string;
|
|
346
|
+
namePlaceholder: string;
|
|
347
|
+
descriptionLabel: string;
|
|
348
|
+
descriptionPlaceholder: string;
|
|
349
|
+
durationLabel: string;
|
|
350
|
+
durationPlaceholder: string;
|
|
351
|
+
capacityLabel: string;
|
|
352
|
+
capacityPlaceholder: string;
|
|
353
|
+
activeLabel: string;
|
|
354
|
+
validationNameRequired: string;
|
|
355
|
+
};
|
|
356
|
+
rate: {
|
|
357
|
+
newTitle: string;
|
|
358
|
+
editTitle: string;
|
|
359
|
+
seasonNameLabel: string;
|
|
360
|
+
seasonNamePlaceholder: string;
|
|
361
|
+
currencyLabel: string;
|
|
362
|
+
currencyPlaceholder: string;
|
|
363
|
+
amountLabel: string;
|
|
364
|
+
amountPlaceholder: string;
|
|
365
|
+
unitLabel: string;
|
|
366
|
+
validFromLabel: string;
|
|
367
|
+
validToLabel: string;
|
|
368
|
+
minPaxLabel: string;
|
|
369
|
+
minPaxPlaceholder: string;
|
|
370
|
+
maxPaxLabel: string;
|
|
371
|
+
maxPaxPlaceholder: string;
|
|
372
|
+
notesLabel: string;
|
|
373
|
+
notesPlaceholder: string;
|
|
374
|
+
validationNameRequired: string;
|
|
375
|
+
validationIsoCurrency: string;
|
|
376
|
+
validationNonNegative: string;
|
|
377
|
+
};
|
|
378
|
+
};
|
|
129
379
|
supplierServiceRow: {
|
|
130
380
|
rates: string;
|
|
131
381
|
addRate: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/i18n/provider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EAEtB,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAKxD,eAAO,MAAM,6BAA6B
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/i18n/provider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EAEtB,MAAM,gBAAgB,CAAA;AACvB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAKxD,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGe,CAAA;AAEzD,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,CAAC,mBAAmB,CAAC,CAAA;AASrF,wBAAgB,0BAA0B,CAAC,EACzC,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACjC,SAAS,CAAC,EAAE,2BAA2B,GAAG,IAAI,CAAA;CAC/C,uBAOA;AAED,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,SAAS,GACV,EAAE;IACD,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IAClC,SAAS,CAAC,EAAE,2BAA2B,GAAG,IAAI,CAAA;CAC/C,GAAG,gBAAgB,CAAC,mBAAmB,CAAC,CASxC;AAED,wBAAgB,2BAA2B,CAAC,EAC1C,QAAQ,EACR,MAAM,EACN,SAAS,GACV,EAAE;IACD,QAAQ,EAAE,SAAS,CAAA;IACnB,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACjC,SAAS,CAAC,EAAE,2BAA2B,GAAG,IAAI,CAAA;CAC/C,2CAWA;AAED,eAAO,MAAM,kBAAkB,6CAA6B,CAAA;AAC5D,eAAO,MAAM,sBAAsB,2BAAiC,CAAA;AAEpE,wBAAgB,2BAA2B,0CAE1C;AAED,wBAAgB,+BAA+B,wBAE9C"}
|
package/dist/i18n/ro.d.ts
CHANGED
|
@@ -3,7 +3,12 @@ export declare const suppliersUiRo: {
|
|
|
3
3
|
edit: string;
|
|
4
4
|
delete: string;
|
|
5
5
|
add: string;
|
|
6
|
+
save: string;
|
|
7
|
+
create: string;
|
|
8
|
+
cancel: string;
|
|
9
|
+
back: string;
|
|
6
10
|
open: string;
|
|
11
|
+
active: string;
|
|
7
12
|
inactive: string;
|
|
8
13
|
none: string;
|
|
9
14
|
unknown: string;
|
|
@@ -44,6 +49,17 @@ export declare const suppliersUiRo: {
|
|
|
44
49
|
create: string;
|
|
45
50
|
searchPlaceholder: string;
|
|
46
51
|
summary: string;
|
|
52
|
+
previous: string;
|
|
53
|
+
next: string;
|
|
54
|
+
page: string;
|
|
55
|
+
filters: string;
|
|
56
|
+
clearFilters: string;
|
|
57
|
+
allTypes: string;
|
|
58
|
+
allStatuses: string;
|
|
59
|
+
countryPlaceholder: string;
|
|
60
|
+
currencyPlaceholder: string;
|
|
61
|
+
empty: string;
|
|
62
|
+
loadFailed: string;
|
|
47
63
|
columns: {
|
|
48
64
|
name: string;
|
|
49
65
|
type: string;
|
|
@@ -53,6 +69,115 @@ export declare const suppliersUiRo: {
|
|
|
53
69
|
currency: string;
|
|
54
70
|
};
|
|
55
71
|
};
|
|
72
|
+
supplierDetailPage: {
|
|
73
|
+
backToSuppliers: string;
|
|
74
|
+
notFound: string;
|
|
75
|
+
loadFailed: string;
|
|
76
|
+
details: string;
|
|
77
|
+
contact: string;
|
|
78
|
+
noContact: string;
|
|
79
|
+
services: string;
|
|
80
|
+
addService: string;
|
|
81
|
+
noServices: string;
|
|
82
|
+
notes: string;
|
|
83
|
+
notePlaceholder: string;
|
|
84
|
+
addNote: string;
|
|
85
|
+
noNotes: string;
|
|
86
|
+
deleteSupplierConfirm: string;
|
|
87
|
+
deleteServiceConfirm: string;
|
|
88
|
+
deleteRateConfirm: string;
|
|
89
|
+
labels: {
|
|
90
|
+
type: string;
|
|
91
|
+
status: string;
|
|
92
|
+
city: string;
|
|
93
|
+
country: string;
|
|
94
|
+
currency: string;
|
|
95
|
+
reservationTimeout: string;
|
|
96
|
+
email: string;
|
|
97
|
+
phone: string;
|
|
98
|
+
website: string;
|
|
99
|
+
address: string;
|
|
100
|
+
contactName: string;
|
|
101
|
+
contactEmail: string;
|
|
102
|
+
contactPhone: string;
|
|
103
|
+
created: string;
|
|
104
|
+
updated: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
dialogs: {
|
|
108
|
+
supplier: {
|
|
109
|
+
newTitle: string;
|
|
110
|
+
editTitle: string;
|
|
111
|
+
nameLabel: string;
|
|
112
|
+
namePlaceholder: string;
|
|
113
|
+
typeLabel: string;
|
|
114
|
+
statusLabel: string;
|
|
115
|
+
descriptionLabel: string;
|
|
116
|
+
descriptionPlaceholder: string;
|
|
117
|
+
emailLabel: string;
|
|
118
|
+
emailPlaceholder: string;
|
|
119
|
+
phoneLabel: string;
|
|
120
|
+
phonePlaceholder: string;
|
|
121
|
+
websiteLabel: string;
|
|
122
|
+
websitePlaceholder: string;
|
|
123
|
+
addressLabel: string;
|
|
124
|
+
addressPlaceholder: string;
|
|
125
|
+
cityLabel: string;
|
|
126
|
+
cityPlaceholder: string;
|
|
127
|
+
countryLabel: string;
|
|
128
|
+
countryPlaceholder: string;
|
|
129
|
+
defaultCurrencyLabel: string;
|
|
130
|
+
defaultCurrencyPlaceholder: string;
|
|
131
|
+
reservationTimeoutLabel: string;
|
|
132
|
+
reservationTimeoutPlaceholder: string;
|
|
133
|
+
contactNameLabel: string;
|
|
134
|
+
contactNamePlaceholder: string;
|
|
135
|
+
contactEmailLabel: string;
|
|
136
|
+
contactEmailPlaceholder: string;
|
|
137
|
+
contactPhoneLabel: string;
|
|
138
|
+
contactPhonePlaceholder: string;
|
|
139
|
+
validationNameRequired: string;
|
|
140
|
+
validationIsoCurrency: string;
|
|
141
|
+
validationReservationTimeout: string;
|
|
142
|
+
};
|
|
143
|
+
service: {
|
|
144
|
+
newTitle: string;
|
|
145
|
+
editTitle: string;
|
|
146
|
+
serviceTypeLabel: string;
|
|
147
|
+
nameLabel: string;
|
|
148
|
+
namePlaceholder: string;
|
|
149
|
+
descriptionLabel: string;
|
|
150
|
+
descriptionPlaceholder: string;
|
|
151
|
+
durationLabel: string;
|
|
152
|
+
durationPlaceholder: string;
|
|
153
|
+
capacityLabel: string;
|
|
154
|
+
capacityPlaceholder: string;
|
|
155
|
+
activeLabel: string;
|
|
156
|
+
validationNameRequired: string;
|
|
157
|
+
};
|
|
158
|
+
rate: {
|
|
159
|
+
newTitle: string;
|
|
160
|
+
editTitle: string;
|
|
161
|
+
seasonNameLabel: string;
|
|
162
|
+
seasonNamePlaceholder: string;
|
|
163
|
+
currencyLabel: string;
|
|
164
|
+
currencyPlaceholder: string;
|
|
165
|
+
amountLabel: string;
|
|
166
|
+
amountPlaceholder: string;
|
|
167
|
+
unitLabel: string;
|
|
168
|
+
validFromLabel: string;
|
|
169
|
+
validToLabel: string;
|
|
170
|
+
minPaxLabel: string;
|
|
171
|
+
minPaxPlaceholder: string;
|
|
172
|
+
maxPaxLabel: string;
|
|
173
|
+
maxPaxPlaceholder: string;
|
|
174
|
+
notesLabel: string;
|
|
175
|
+
notesPlaceholder: string;
|
|
176
|
+
validationNameRequired: string;
|
|
177
|
+
validationIsoCurrency: string;
|
|
178
|
+
validationNonNegative: string;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
56
181
|
supplierServiceRow: {
|
|
57
182
|
rates: string;
|
|
58
183
|
addRate: string;
|
package/dist/i18n/ro.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ro.d.ts","sourceRoot":"","sources":["../../src/i18n/ro.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"ro.d.ts","sourceRoot":"","sources":["../../src/i18n/ro.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiMK,CAAA"}
|
package/dist/i18n/ro.js
CHANGED
|
@@ -3,7 +3,12 @@ export const suppliersUiRo = {
|
|
|
3
3
|
edit: "Editeaza",
|
|
4
4
|
delete: "Sterge",
|
|
5
5
|
add: "Adauga",
|
|
6
|
+
save: "Salveaza",
|
|
7
|
+
create: "Creeaza",
|
|
8
|
+
cancel: "Anuleaza",
|
|
9
|
+
back: "Inapoi",
|
|
6
10
|
open: "Deschide",
|
|
11
|
+
active: "Activ",
|
|
7
12
|
inactive: "Inactiv",
|
|
8
13
|
none: "-",
|
|
9
14
|
unknown: "?",
|
|
@@ -44,6 +49,17 @@ export const suppliersUiRo = {
|
|
|
44
49
|
create: "Furnizor Nou",
|
|
45
50
|
searchPlaceholder: "Cauta furnizori...",
|
|
46
51
|
summary: "Afisezi {shown} din {total} furnizori",
|
|
52
|
+
previous: "Inapoi",
|
|
53
|
+
next: "Inainte",
|
|
54
|
+
page: "Pagina {page} din {pageCount}",
|
|
55
|
+
filters: "Filtre",
|
|
56
|
+
clearFilters: "Sterge filtrele",
|
|
57
|
+
allTypes: "Toate tipurile",
|
|
58
|
+
allStatuses: "Toate statusurile",
|
|
59
|
+
countryPlaceholder: "Cod tara",
|
|
60
|
+
currencyPlaceholder: "Moneda",
|
|
61
|
+
empty: "Niciun furnizor nu se potriveste filtrelor curente.",
|
|
62
|
+
loadFailed: "Furnizorii nu au putut fi incarcati.",
|
|
47
63
|
columns: {
|
|
48
64
|
name: "Nume",
|
|
49
65
|
type: "Tip",
|
|
@@ -53,6 +69,115 @@ export const suppliersUiRo = {
|
|
|
53
69
|
currency: "Moneda",
|
|
54
70
|
},
|
|
55
71
|
},
|
|
72
|
+
supplierDetailPage: {
|
|
73
|
+
backToSuppliers: "Inapoi la furnizori",
|
|
74
|
+
notFound: "Furnizorul nu a fost gasit.",
|
|
75
|
+
loadFailed: "Furnizorul nu a putut fi incarcat.",
|
|
76
|
+
details: "Detalii furnizor",
|
|
77
|
+
contact: "Contact principal",
|
|
78
|
+
noContact: "Nu exista inca detalii de contact.",
|
|
79
|
+
services: "Servicii",
|
|
80
|
+
addService: "Adauga serviciu",
|
|
81
|
+
noServices: "Nu exista inca servicii.",
|
|
82
|
+
notes: "Note",
|
|
83
|
+
notePlaceholder: "Adauga o nota interna...",
|
|
84
|
+
addNote: "Adauga nota",
|
|
85
|
+
noNotes: "Nu exista inca note.",
|
|
86
|
+
deleteSupplierConfirm: "Stergi acest furnizor?",
|
|
87
|
+
deleteServiceConfirm: "Stergi acest serviciu?",
|
|
88
|
+
deleteRateConfirm: "Stergi acest tarif?",
|
|
89
|
+
labels: {
|
|
90
|
+
type: "Tip",
|
|
91
|
+
status: "Status",
|
|
92
|
+
city: "Oras",
|
|
93
|
+
country: "Tara",
|
|
94
|
+
currency: "Moneda",
|
|
95
|
+
reservationTimeout: "Timeout rezervare",
|
|
96
|
+
email: "Email",
|
|
97
|
+
phone: "Telefon",
|
|
98
|
+
website: "Website",
|
|
99
|
+
address: "Adresa",
|
|
100
|
+
contactName: "Nume",
|
|
101
|
+
contactEmail: "Email",
|
|
102
|
+
contactPhone: "Telefon",
|
|
103
|
+
created: "Creat",
|
|
104
|
+
updated: "Actualizat",
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
dialogs: {
|
|
108
|
+
supplier: {
|
|
109
|
+
newTitle: "Furnizor nou",
|
|
110
|
+
editTitle: "Editeaza furnizor",
|
|
111
|
+
nameLabel: "Nume",
|
|
112
|
+
namePlaceholder: "Nume furnizor",
|
|
113
|
+
typeLabel: "Tip",
|
|
114
|
+
statusLabel: "Status",
|
|
115
|
+
descriptionLabel: "Descriere",
|
|
116
|
+
descriptionPlaceholder: "Note despre acest furnizor",
|
|
117
|
+
emailLabel: "Email",
|
|
118
|
+
emailPlaceholder: "rezervari@example.com",
|
|
119
|
+
phoneLabel: "Telefon",
|
|
120
|
+
phonePlaceholder: "+40...",
|
|
121
|
+
websiteLabel: "Website",
|
|
122
|
+
websitePlaceholder: "https://example.com",
|
|
123
|
+
addressLabel: "Adresa",
|
|
124
|
+
addressPlaceholder: "Strada, numar",
|
|
125
|
+
cityLabel: "Oras",
|
|
126
|
+
cityPlaceholder: "Bucuresti",
|
|
127
|
+
countryLabel: "Tara",
|
|
128
|
+
countryPlaceholder: "Cauta tari...",
|
|
129
|
+
defaultCurrencyLabel: "Moneda implicita",
|
|
130
|
+
defaultCurrencyPlaceholder: "EUR",
|
|
131
|
+
reservationTimeoutLabel: "Timeout rezervare in minute",
|
|
132
|
+
reservationTimeoutPlaceholder: "1440",
|
|
133
|
+
contactNameLabel: "Nume contact",
|
|
134
|
+
contactNamePlaceholder: "Nume",
|
|
135
|
+
contactEmailLabel: "Email contact",
|
|
136
|
+
contactEmailPlaceholder: "contact@example.com",
|
|
137
|
+
contactPhoneLabel: "Telefon contact",
|
|
138
|
+
contactPhonePlaceholder: "+40...",
|
|
139
|
+
validationNameRequired: "Numele furnizorului este obligatoriu.",
|
|
140
|
+
validationIsoCurrency: "Foloseste un cod monetar de 3 litere.",
|
|
141
|
+
validationReservationTimeout: "Foloseste zero sau un numar pozitiv de minute.",
|
|
142
|
+
},
|
|
143
|
+
service: {
|
|
144
|
+
newTitle: "Serviciu nou",
|
|
145
|
+
editTitle: "Editeaza serviciu",
|
|
146
|
+
serviceTypeLabel: "Tip serviciu",
|
|
147
|
+
nameLabel: "Nume",
|
|
148
|
+
namePlaceholder: "Nume serviciu",
|
|
149
|
+
descriptionLabel: "Descriere",
|
|
150
|
+
descriptionPlaceholder: "Ce include acest serviciu",
|
|
151
|
+
durationLabel: "Durata",
|
|
152
|
+
durationPlaceholder: "2 ore",
|
|
153
|
+
capacityLabel: "Capacitate",
|
|
154
|
+
capacityPlaceholder: "8",
|
|
155
|
+
activeLabel: "Activ",
|
|
156
|
+
validationNameRequired: "Numele serviciului este obligatoriu.",
|
|
157
|
+
},
|
|
158
|
+
rate: {
|
|
159
|
+
newTitle: "Tarif nou",
|
|
160
|
+
editTitle: "Editeaza tarif",
|
|
161
|
+
seasonNameLabel: "Nume tarif",
|
|
162
|
+
seasonNamePlaceholder: "Sezon inalt",
|
|
163
|
+
currencyLabel: "Moneda",
|
|
164
|
+
currencyPlaceholder: "EUR",
|
|
165
|
+
amountLabel: "Suma",
|
|
166
|
+
amountPlaceholder: "120.00",
|
|
167
|
+
unitLabel: "Unitate",
|
|
168
|
+
validFromLabel: "Valabil de la",
|
|
169
|
+
validToLabel: "Valabil pana la",
|
|
170
|
+
minPaxLabel: "Min pax",
|
|
171
|
+
minPaxPlaceholder: "1",
|
|
172
|
+
maxPaxLabel: "Max pax",
|
|
173
|
+
maxPaxPlaceholder: "8",
|
|
174
|
+
notesLabel: "Note",
|
|
175
|
+
notesPlaceholder: "Note interne de tarifare",
|
|
176
|
+
validationNameRequired: "Numele tarifului este obligatoriu.",
|
|
177
|
+
validationIsoCurrency: "Foloseste un cod monetar de 3 litere.",
|
|
178
|
+
validationNonNegative: "Suma trebuie sa fie zero sau mai mare.",
|
|
179
|
+
},
|
|
180
|
+
},
|
|
56
181
|
supplierServiceRow: {
|
|
57
182
|
rates: "Tarife",
|
|
58
183
|
addRate: "Adauga Tarif",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
export { RateDialog, type RateDialogProps } from "./components/rate-dialog.js";
|
|
2
|
+
export { ServiceDialog, type ServiceDialogProps } from "./components/service-dialog.js";
|
|
3
|
+
export { SupplierDetailPage, type SupplierDetailPageProps, } from "./components/supplier-detail-page.js";
|
|
4
|
+
export { SupplierDialog, type SupplierDialogProps } from "./components/supplier-dialog.js";
|
|
1
5
|
export { SupplierServiceRow } from "./components/supplier-service-row.js";
|
|
2
|
-
export { SuppliersPage } from "./components/suppliers-page.js";
|
|
6
|
+
export { SuppliersPage, type SuppliersPageProps } from "./components/suppliers-page.js";
|
|
3
7
|
export { getSuppliersUiI18n, resolveSuppliersUiMessages, type SuppliersUiMessageOverrides, type SuppliersUiMessages, SuppliersUiMessagesProvider, suppliersUiEn, suppliersUiMessageDefinitions, suppliersUiRo, useSuppliersUiI18n, useSuppliersUiI18nOrDefault, useSuppliersUiMessages, useSuppliersUiMessagesOrDefault, } from "./i18n/index.js";
|
|
4
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAA;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAC9E,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AACvF,OAAO,EACL,kBAAkB,EAClB,KAAK,uBAAuB,GAC7B,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,iCAAiC,CAAA;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAA;AACzE,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AACvF,OAAO,EACL,kBAAkB,EAClB,0BAA0B,EAC1B,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,EACxB,2BAA2B,EAC3B,aAAa,EACb,6BAA6B,EAC7B,aAAa,EACb,kBAAkB,EAClB,2BAA2B,EAC3B,sBAAsB,EACtB,+BAA+B,GAChC,MAAM,iBAAiB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
export { RateDialog } from "./components/rate-dialog.js";
|
|
2
|
+
export { ServiceDialog } from "./components/service-dialog.js";
|
|
3
|
+
export { SupplierDetailPage, } from "./components/supplier-detail-page.js";
|
|
4
|
+
export { SupplierDialog } from "./components/supplier-dialog.js";
|
|
1
5
|
export { SupplierServiceRow } from "./components/supplier-service-row.js";
|
|
2
6
|
export { SuppliersPage } from "./components/suppliers-page.js";
|
|
3
7
|
export { getSuppliersUiI18n, resolveSuppliersUiMessages, SuppliersUiMessagesProvider, suppliersUiEn, suppliersUiMessageDefinitions, suppliersUiRo, useSuppliersUiI18n, useSuppliersUiI18nOrDefault, useSuppliersUiMessages, useSuppliersUiMessagesOrDefault, } from "./i18n/index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/suppliers-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -42,13 +42,15 @@
|
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@tanstack/react-query": "^5.0.0",
|
|
44
44
|
"@tanstack/react-table": "^8.0.0",
|
|
45
|
+
"react-hook-form": "^7.60.0",
|
|
45
46
|
"react": "^19.0.0",
|
|
46
47
|
"react-dom": "^19.0.0",
|
|
47
|
-
"
|
|
48
|
-
"@voyantjs/
|
|
48
|
+
"zod": "^4.0.0",
|
|
49
|
+
"@voyantjs/suppliers-react": "0.31.1",
|
|
50
|
+
"@voyantjs/ui": "0.31.1"
|
|
49
51
|
},
|
|
50
52
|
"dependencies": {
|
|
51
|
-
"@voyantjs/i18n": "0.
|
|
53
|
+
"@voyantjs/i18n": "0.31.1"
|
|
52
54
|
},
|
|
53
55
|
"devDependencies": {
|
|
54
56
|
"@tanstack/react-query": "^5.96.2",
|
|
@@ -56,14 +58,16 @@
|
|
|
56
58
|
"@types/react": "^19.2.14",
|
|
57
59
|
"@types/react-dom": "^19.2.3",
|
|
58
60
|
"lucide-react": "^0.475.0",
|
|
61
|
+
"react-hook-form": "^7.60.0",
|
|
59
62
|
"react": "^19.2.4",
|
|
60
63
|
"react-dom": "^19.2.4",
|
|
61
64
|
"typescript": "^6.0.2",
|
|
62
65
|
"vitest": "^4.1.2",
|
|
63
|
-
"
|
|
64
|
-
"@voyantjs/
|
|
65
|
-
"@voyantjs/
|
|
66
|
-
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
66
|
+
"zod": "^4.3.6",
|
|
67
|
+
"@voyantjs/i18n": "0.31.1",
|
|
68
|
+
"@voyantjs/suppliers-react": "0.31.1",
|
|
69
|
+
"@voyantjs/voyant-typescript-config": "0.1.0",
|
|
70
|
+
"@voyantjs/ui": "0.31.1"
|
|
67
71
|
},
|
|
68
72
|
"files": [
|
|
69
73
|
"dist",
|