@voyantjs/pricing-ui 0.16.0 → 0.18.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 +201 -109
- package/README.md +11 -0
- package/dist/components/cancellation-policy-combobox.d.ts +1 -1
- package/dist/components/cancellation-policy-combobox.d.ts.map +1 -1
- package/dist/components/cancellation-policy-combobox.js +6 -4
- package/dist/components/cancellation-policy-rule-dialog.d.ts.map +1 -1
- package/dist/components/cancellation-policy-rule-dialog.js +23 -15
- package/dist/components/dropoff-price-rule-dialog.d.ts.map +1 -1
- package/dist/components/dropoff-price-rule-dialog.js +32 -15
- package/dist/components/extra-price-rule-dialog.d.ts.map +1 -1
- package/dist/components/extra-price-rule-dialog.js +28 -14
- package/dist/components/option-price-rule-combobox.d.ts +1 -1
- package/dist/components/option-price-rule-combobox.d.ts.map +1 -1
- package/dist/components/option-price-rule-combobox.js +6 -4
- package/dist/components/option-price-rule-dialog.d.ts.map +1 -1
- package/dist/components/option-price-rule-dialog.js +35 -23
- package/dist/components/option-start-time-rule-dialog.d.ts.map +1 -1
- package/dist/components/option-start-time-rule-dialog.js +33 -14
- package/dist/components/option-unit-price-rule-dialog.d.ts.map +1 -1
- package/dist/components/option-unit-price-rule-dialog.js +30 -16
- package/dist/components/option-unit-tier-dialog.d.ts.map +1 -1
- package/dist/components/option-unit-tier-dialog.js +24 -10
- package/dist/components/pickup-price-rule-dialog.d.ts.map +1 -1
- package/dist/components/pickup-price-rule-dialog.js +29 -13
- package/dist/components/price-catalog-combobox.d.ts +1 -1
- package/dist/components/price-catalog-combobox.d.ts.map +1 -1
- package/dist/components/price-catalog-combobox.js +6 -2
- package/dist/components/price-schedule-combobox.d.ts.map +1 -1
- package/dist/components/price-schedule-combobox.js +6 -4
- package/dist/components/price-schedule-dialog.d.ts.map +1 -1
- package/dist/components/price-schedule-dialog.js +26 -15
- package/dist/components/pricing-category-combobox.d.ts.map +1 -1
- package/dist/components/pricing-category-combobox.js +4 -2
- package/dist/components/pricing-category-dependency-dialog.d.ts.map +1 -1
- package/dist/components/pricing-category-dependency-dialog.js +5 -1
- package/dist/components/pricing-category-dependency-form.d.ts.map +1 -1
- package/dist/components/pricing-category-dependency-form.js +17 -8
- package/dist/components/pricing-category-dialog.d.ts.map +1 -1
- package/dist/components/pricing-category-dialog.js +7 -3
- package/dist/components/pricing-category-form.d.ts.map +1 -1
- package/dist/components/pricing-category-form.js +20 -13
- package/dist/components/pricing-category-list.d.ts.map +1 -1
- package/dist/components/pricing-category-list.js +10 -6
- package/dist/components/product-combobox.d.ts +1 -1
- package/dist/components/product-combobox.d.ts.map +1 -1
- package/dist/components/product-combobox.js +6 -2
- package/dist/components/product-option-combobox.d.ts.map +1 -1
- package/dist/components/product-option-combobox.js +7 -5
- package/dist/i18n/en.d.ts +426 -0
- package/dist/i18n/en.d.ts.map +1 -0
- package/dist/i18n/en.js +425 -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 +391 -0
- package/dist/i18n/messages.d.ts.map +1 -0
- package/dist/i18n/messages.js +17 -0
- package/dist/i18n/provider.d.ts +874 -0
- package/dist/i18n/provider.d.ts.map +1 -0
- package/dist/i18n/provider.js +44 -0
- package/dist/i18n/ro.d.ts +426 -0
- package/dist/i18n/ro.d.ts.map +1 -0
- package/dist/i18n/ro.js +425 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/package.json +33 -12
package/dist/i18n/ro.js
ADDED
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
export const pricingUiRo = {
|
|
2
|
+
common: {
|
|
3
|
+
cancel: "Anuleaza",
|
|
4
|
+
saveChanges: "Salveaza modificarile",
|
|
5
|
+
create: "Creeaza",
|
|
6
|
+
add: "Adauga",
|
|
7
|
+
loading: "Se incarca...",
|
|
8
|
+
none: "—",
|
|
9
|
+
previous: "Anterior",
|
|
10
|
+
next: "Urmator",
|
|
11
|
+
page: "Pagina",
|
|
12
|
+
active: "Activ",
|
|
13
|
+
inactive: "Inactiv",
|
|
14
|
+
categoryTypeLabels: {
|
|
15
|
+
adult: "Adult",
|
|
16
|
+
child: "Copil",
|
|
17
|
+
infant: "Infant",
|
|
18
|
+
senior: "Senior",
|
|
19
|
+
group: "Grup",
|
|
20
|
+
room: "Camera",
|
|
21
|
+
vehicle: "Vehicul",
|
|
22
|
+
service: "Serviciu",
|
|
23
|
+
other: "Altul",
|
|
24
|
+
},
|
|
25
|
+
dependencyTypeLabels: {
|
|
26
|
+
requires: "Necesita",
|
|
27
|
+
limits_per_master: "Limiteaza per master",
|
|
28
|
+
limits_sum: "Limiteaza suma",
|
|
29
|
+
excludes: "Exclude",
|
|
30
|
+
},
|
|
31
|
+
chargeTypeLabels: {
|
|
32
|
+
none: "Niciunul",
|
|
33
|
+
amount: "Suma",
|
|
34
|
+
percentage: "Procent",
|
|
35
|
+
},
|
|
36
|
+
addonPricingModeLabels: {
|
|
37
|
+
included: "Inclus",
|
|
38
|
+
per_person: "Per persoana",
|
|
39
|
+
per_booking: "Per rezervare",
|
|
40
|
+
on_request: "La cerere",
|
|
41
|
+
unavailable: "Indisponibil",
|
|
42
|
+
},
|
|
43
|
+
optionPriceRulePricingModeLabels: {
|
|
44
|
+
per_person: "Per persoana",
|
|
45
|
+
per_booking: "Per rezervare",
|
|
46
|
+
starting_from: "De la",
|
|
47
|
+
free: "Gratuit",
|
|
48
|
+
on_request: "La cerere",
|
|
49
|
+
},
|
|
50
|
+
startTimeRuleModeLabels: {
|
|
51
|
+
included: "Inclus",
|
|
52
|
+
excluded: "Exclus",
|
|
53
|
+
override: "Suprascriere",
|
|
54
|
+
adjustment: "Ajustare",
|
|
55
|
+
},
|
|
56
|
+
adjustmentTypeLabels: {
|
|
57
|
+
fixed: "Fix",
|
|
58
|
+
percentage: "Procent",
|
|
59
|
+
},
|
|
60
|
+
unitPricingModeLabels: {
|
|
61
|
+
per_unit: "Per unitate",
|
|
62
|
+
per_person: "Per persoana",
|
|
63
|
+
per_booking: "Per rezervare",
|
|
64
|
+
included: "Inclus",
|
|
65
|
+
free: "Gratuit",
|
|
66
|
+
on_request: "La cerere",
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
comboboxes: {
|
|
70
|
+
pricingCategory: {
|
|
71
|
+
placeholder: "Cauta categorii de pret...",
|
|
72
|
+
empty: "Nu au fost gasite categorii de pret.",
|
|
73
|
+
},
|
|
74
|
+
priceCatalog: {
|
|
75
|
+
placeholder: "Cauta cataloage de pret...",
|
|
76
|
+
empty: "Nu au fost gasite cataloage de pret.",
|
|
77
|
+
},
|
|
78
|
+
priceSchedule: {
|
|
79
|
+
placeholder: "Cauta calendare de pret...",
|
|
80
|
+
empty: "Nu au fost gasite calendare de pret.",
|
|
81
|
+
},
|
|
82
|
+
cancellationPolicy: {
|
|
83
|
+
placeholder: "Cauta politici de taxe de anulare...",
|
|
84
|
+
empty: "Nu au fost gasite politici de taxe de anulare.",
|
|
85
|
+
},
|
|
86
|
+
optionPriceRule: {
|
|
87
|
+
placeholder: "Cauta reguli de pret pentru optiuni...",
|
|
88
|
+
empty: "Nu au fost gasite reguli de pret pentru optiuni.",
|
|
89
|
+
},
|
|
90
|
+
product: {
|
|
91
|
+
placeholder: "Cauta produse...",
|
|
92
|
+
empty: "Nu au fost gasite produse.",
|
|
93
|
+
},
|
|
94
|
+
productOption: {
|
|
95
|
+
placeholder: "Selecteaza optiunea produsului...",
|
|
96
|
+
empty: "Nu au fost gasite optiuni de produs.",
|
|
97
|
+
missingParent: "Selecteaza mai intai un produs.",
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
pricingCategoryDialog: {
|
|
101
|
+
titles: {
|
|
102
|
+
create: "Categorie noua de pret",
|
|
103
|
+
edit: "Editeaza categoria de pret",
|
|
104
|
+
},
|
|
105
|
+
descriptions: {
|
|
106
|
+
create: "Creeaza o categorie reutilizabila de pret pentru produse si optiuni.",
|
|
107
|
+
edit: "Actualizeaza regulile si eligibilitatea categoriei reutilizabile de pret.",
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
pricingCategoryForm: {
|
|
111
|
+
fields: {
|
|
112
|
+
name: "Nume",
|
|
113
|
+
code: "Cod",
|
|
114
|
+
type: "Tip",
|
|
115
|
+
seatOccupancy: "Ocupare loc",
|
|
116
|
+
ageQualified: "Calificata dupa varsta",
|
|
117
|
+
minAge: "Varsta minima",
|
|
118
|
+
maxAge: "Varsta maxima",
|
|
119
|
+
sortOrder: "Ordine sortare",
|
|
120
|
+
active: "Activ",
|
|
121
|
+
},
|
|
122
|
+
placeholders: {
|
|
123
|
+
name: "Adult",
|
|
124
|
+
code: "adult",
|
|
125
|
+
},
|
|
126
|
+
validation: {
|
|
127
|
+
nameRequired: "Numele categoriei este obligatoriu.",
|
|
128
|
+
saveFailed: "Salvarea categoriei de pret a esuat.",
|
|
129
|
+
},
|
|
130
|
+
actions: {
|
|
131
|
+
create: "Creeaza categoria",
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
pricingCategoryList: {
|
|
135
|
+
searchPlaceholder: "Cauta categorii de pret...",
|
|
136
|
+
add: "Categorie noua",
|
|
137
|
+
columns: {
|
|
138
|
+
name: "Nume",
|
|
139
|
+
code: "Cod",
|
|
140
|
+
type: "Tip",
|
|
141
|
+
age: "Varsta",
|
|
142
|
+
seat: "Loc",
|
|
143
|
+
sort: "Ordine",
|
|
144
|
+
status: "Status",
|
|
145
|
+
actions: "Actiuni",
|
|
146
|
+
},
|
|
147
|
+
loadingError: "Incarcarea categoriilor de pret a esuat.",
|
|
148
|
+
empty: "Nu au fost gasite categorii de pret.",
|
|
149
|
+
edit: "Editeaza",
|
|
150
|
+
delete: "Sterge",
|
|
151
|
+
deleteConfirm: 'Stergi categoria "{name}"?',
|
|
152
|
+
showingSummary: "Afisezi {count} din {total}",
|
|
153
|
+
},
|
|
154
|
+
pricingCategoryDependencyDialog: {
|
|
155
|
+
titles: {
|
|
156
|
+
create: "Adauga dependenta de categorie",
|
|
157
|
+
edit: "Editeaza dependenta de categorie",
|
|
158
|
+
},
|
|
159
|
+
description: "Reguli intre categorii de pret, cum ar fi necesita, exclude si limite de cantitate.",
|
|
160
|
+
},
|
|
161
|
+
pricingCategoryDependencyForm: {
|
|
162
|
+
fields: {
|
|
163
|
+
masterCategory: "Categorie master",
|
|
164
|
+
dependentCategory: "Categorie dependenta",
|
|
165
|
+
dependencyType: "Tip dependenta",
|
|
166
|
+
maxPerMaster: "Maxim per master",
|
|
167
|
+
maxDependentSum: "Maxim suma dependenta",
|
|
168
|
+
active: "Activ",
|
|
169
|
+
notes: "Note",
|
|
170
|
+
},
|
|
171
|
+
placeholders: {
|
|
172
|
+
categorySearch: "Cauta categorie",
|
|
173
|
+
},
|
|
174
|
+
validation: {
|
|
175
|
+
categoriesRequired: "Atat categoria master, cat si cea dependenta sunt obligatorii.",
|
|
176
|
+
saveFailed: "Salvarea dependentei de categorie a esuat.",
|
|
177
|
+
},
|
|
178
|
+
actions: {
|
|
179
|
+
create: "Adauga dependenta",
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
priceScheduleDialog: {
|
|
183
|
+
titles: {
|
|
184
|
+
create: "Calendar nou de pret",
|
|
185
|
+
edit: "Editeaza Calendarul de Pret",
|
|
186
|
+
},
|
|
187
|
+
fields: {
|
|
188
|
+
catalog: "Catalog",
|
|
189
|
+
name: "Nume",
|
|
190
|
+
code: "Cod",
|
|
191
|
+
recurrenceRule: "Regula recurenta (RRULE)",
|
|
192
|
+
validFrom: "Valabil de la",
|
|
193
|
+
validTo: "Valabil pana la",
|
|
194
|
+
timezone: "Fus orar",
|
|
195
|
+
priority: "Prioritate",
|
|
196
|
+
active: "Activ",
|
|
197
|
+
notes: "Note",
|
|
198
|
+
},
|
|
199
|
+
placeholders: {
|
|
200
|
+
catalog: "Cauta cataloage de pret...",
|
|
201
|
+
name: "Sezon de varf",
|
|
202
|
+
code: "high-season",
|
|
203
|
+
recurrenceRule: "FREQ=YEARLY;BYMONTH=6,7,8",
|
|
204
|
+
validFrom: "Optional",
|
|
205
|
+
validTo: "Optional",
|
|
206
|
+
timezone: "Europe/Bucharest",
|
|
207
|
+
},
|
|
208
|
+
validation: {
|
|
209
|
+
catalogRequired: "Catalogul este obligatoriu",
|
|
210
|
+
nameRequired: "Numele este obligatoriu",
|
|
211
|
+
recurrenceRuleRequired: "RRULE este obligatoriu",
|
|
212
|
+
},
|
|
213
|
+
helpText: {
|
|
214
|
+
recurrenceRuleExample: "ex. FREQ=YEARLY;BYMONTH=6,7,8 pentru iunie-august.",
|
|
215
|
+
},
|
|
216
|
+
actions: {
|
|
217
|
+
create: "Creeaza calendarul",
|
|
218
|
+
},
|
|
219
|
+
},
|
|
220
|
+
cancellationPolicyRuleDialog: {
|
|
221
|
+
titles: {
|
|
222
|
+
create: "Adauga regula de anulare",
|
|
223
|
+
edit: "Editeaza regula de anulare",
|
|
224
|
+
},
|
|
225
|
+
fields: {
|
|
226
|
+
cutoffMinutesBefore: "Cutoff (minute inainte)",
|
|
227
|
+
sortOrder: "Ordine sortare",
|
|
228
|
+
chargeType: "Tip taxa",
|
|
229
|
+
chargeAmount: "Valoare taxa",
|
|
230
|
+
chargePercent: "Procent taxa (0-100)",
|
|
231
|
+
active: "Activ",
|
|
232
|
+
notes: "Note",
|
|
233
|
+
},
|
|
234
|
+
placeholders: {
|
|
235
|
+
cutoffMinutesBefore: "2880",
|
|
236
|
+
chargePercent: "50",
|
|
237
|
+
},
|
|
238
|
+
helpText: {
|
|
239
|
+
cutoffMinutesBefore: "48h = 2880m · 24h = 1440m",
|
|
240
|
+
},
|
|
241
|
+
actions: {
|
|
242
|
+
create: "Adauga regula",
|
|
243
|
+
},
|
|
244
|
+
},
|
|
245
|
+
optionPriceRuleDialog: {
|
|
246
|
+
titles: {
|
|
247
|
+
create: "Adauga regula de pret pentru optiune",
|
|
248
|
+
edit: "Editeaza regula de pret pentru optiune",
|
|
249
|
+
},
|
|
250
|
+
fields: {
|
|
251
|
+
product: "Produs",
|
|
252
|
+
option: "Optiune",
|
|
253
|
+
name: "Nume",
|
|
254
|
+
code: "Cod",
|
|
255
|
+
catalog: "Catalog",
|
|
256
|
+
schedule: "Calendar (optional)",
|
|
257
|
+
cancellationPolicy: "Politica de anulare (optional)",
|
|
258
|
+
pricingMode: "Mod tarifare",
|
|
259
|
+
baseSell: "Pret baza vanzare",
|
|
260
|
+
baseCost: "Cost baza",
|
|
261
|
+
minPerBooking: "Minim per rezervare",
|
|
262
|
+
maxPerBooking: "Maxim per rezervare",
|
|
263
|
+
description: "Descriere",
|
|
264
|
+
allPricingCategories: "Toate categoriile de pret",
|
|
265
|
+
defaultRule: "Regula implicita",
|
|
266
|
+
active: "Activ",
|
|
267
|
+
notes: "Note",
|
|
268
|
+
},
|
|
269
|
+
validation: {
|
|
270
|
+
productRequired: "Produsul este obligatoriu",
|
|
271
|
+
optionRequired: "Optiunea este obligatorie",
|
|
272
|
+
catalogRequired: "Catalogul este obligatoriu",
|
|
273
|
+
nameRequired: "Numele este obligatoriu",
|
|
274
|
+
},
|
|
275
|
+
actions: {
|
|
276
|
+
create: "Creeaza regula",
|
|
277
|
+
},
|
|
278
|
+
},
|
|
279
|
+
locationPriceRuleDialog: {
|
|
280
|
+
fields: {
|
|
281
|
+
optionPriceRule: "Regula de pret pentru optiune",
|
|
282
|
+
optionId: "ID optiune",
|
|
283
|
+
facilityId: "ID facilitate (optional)",
|
|
284
|
+
pickupPointId: "ID punct preluare",
|
|
285
|
+
dropoffName: "Nume dropoff",
|
|
286
|
+
dropoffCode: "Cod dropoff (optional)",
|
|
287
|
+
pricingMode: "Mod tarifare",
|
|
288
|
+
sellAmount: "Pret vanzare",
|
|
289
|
+
costAmount: "Cost",
|
|
290
|
+
sortOrder: "Ordine sortare",
|
|
291
|
+
active: "Activ",
|
|
292
|
+
notes: "Note",
|
|
293
|
+
},
|
|
294
|
+
placeholders: {
|
|
295
|
+
optionId: "popt_…",
|
|
296
|
+
facilityId: "fac_…",
|
|
297
|
+
pickupPointId: "ppnt_…",
|
|
298
|
+
},
|
|
299
|
+
validation: {
|
|
300
|
+
optionPriceRuleRequired: "Regula de pret pentru optiune este obligatorie",
|
|
301
|
+
optionIdRequired: "ID-ul optiunii este obligatoriu",
|
|
302
|
+
pickupPointIdRequired: "Punctul de preluare este obligatoriu",
|
|
303
|
+
dropoffNameRequired: "Numele dropoff este obligatoriu",
|
|
304
|
+
},
|
|
305
|
+
actions: {
|
|
306
|
+
createRule: "Adauga regula",
|
|
307
|
+
saveRule: "Salveaza modificarile",
|
|
308
|
+
},
|
|
309
|
+
pickup: {
|
|
310
|
+
titles: {
|
|
311
|
+
create: "Adauga regula de pret pentru pickup",
|
|
312
|
+
edit: "Editeaza regula de pret pentru pickup",
|
|
313
|
+
},
|
|
314
|
+
},
|
|
315
|
+
dropoff: {
|
|
316
|
+
titles: {
|
|
317
|
+
create: "Adauga regula de pret pentru dropoff",
|
|
318
|
+
edit: "Editeaza regula de pret pentru dropoff",
|
|
319
|
+
},
|
|
320
|
+
},
|
|
321
|
+
extra: {
|
|
322
|
+
titles: {
|
|
323
|
+
create: "Adauga regula de pret pentru extra",
|
|
324
|
+
edit: "Editeaza regula de pret pentru extra",
|
|
325
|
+
},
|
|
326
|
+
fields: {
|
|
327
|
+
productExtraId: "ID extra produs (optional)",
|
|
328
|
+
optionExtraConfigId: "ID configurare extra optiune (optional)",
|
|
329
|
+
},
|
|
330
|
+
placeholders: {
|
|
331
|
+
productExtraId: "pext_…",
|
|
332
|
+
optionExtraConfigId: "oecf_…",
|
|
333
|
+
},
|
|
334
|
+
},
|
|
335
|
+
},
|
|
336
|
+
optionStartTimeRuleDialog: {
|
|
337
|
+
titles: {
|
|
338
|
+
create: "Adauga regula pentru ora de start",
|
|
339
|
+
edit: "Editeaza regula pentru ora de start",
|
|
340
|
+
},
|
|
341
|
+
fields: {
|
|
342
|
+
optionPriceRule: "Regula de pret pentru optiune",
|
|
343
|
+
optionId: "ID optiune",
|
|
344
|
+
startTimeId: "ID ora start",
|
|
345
|
+
ruleMode: "Mod regula",
|
|
346
|
+
adjustmentType: "Tip ajustare",
|
|
347
|
+
sellAdjustment: "Ajustare vanzare",
|
|
348
|
+
costAdjustment: "Ajustare cost",
|
|
349
|
+
adjustmentPercent: "Ajustare (%)",
|
|
350
|
+
active: "Activ",
|
|
351
|
+
notes: "Note",
|
|
352
|
+
},
|
|
353
|
+
placeholders: {
|
|
354
|
+
optionId: "popt_…",
|
|
355
|
+
startTimeId: "pst_…",
|
|
356
|
+
select: "Selecteaza...",
|
|
357
|
+
},
|
|
358
|
+
validation: {
|
|
359
|
+
optionPriceRuleRequired: "Regula de pret pentru optiune este obligatorie",
|
|
360
|
+
optionIdRequired: "ID-ul optiunii este obligatoriu",
|
|
361
|
+
startTimeIdRequired: "ID-ul orei de start este obligatoriu",
|
|
362
|
+
},
|
|
363
|
+
actions: {
|
|
364
|
+
create: "Adauga regula",
|
|
365
|
+
},
|
|
366
|
+
},
|
|
367
|
+
optionUnitPriceRuleDialog: {
|
|
368
|
+
titles: {
|
|
369
|
+
create: "Adauga regula de pret pe unitate",
|
|
370
|
+
edit: "Editeaza regula de pret pe unitate",
|
|
371
|
+
},
|
|
372
|
+
fields: {
|
|
373
|
+
optionPriceRule: "Regula de pret pentru optiune",
|
|
374
|
+
optionId: "ID optiune",
|
|
375
|
+
unitId: "ID unitate",
|
|
376
|
+
pricingCategory: "Categorie de pret (optional)",
|
|
377
|
+
pricingMode: "Mod tarifare",
|
|
378
|
+
sellAmount: "Pret vanzare",
|
|
379
|
+
costAmount: "Cost",
|
|
380
|
+
minQuantity: "Cantitate minima",
|
|
381
|
+
maxQuantity: "Cantitate maxima",
|
|
382
|
+
sortOrder: "Ordine sortare",
|
|
383
|
+
active: "Activ",
|
|
384
|
+
notes: "Note",
|
|
385
|
+
},
|
|
386
|
+
placeholders: {
|
|
387
|
+
optionId: "popt_…",
|
|
388
|
+
unitId: "punit_…",
|
|
389
|
+
pricingCategory: "Cauta categorii de pret...",
|
|
390
|
+
},
|
|
391
|
+
validation: {
|
|
392
|
+
optionPriceRuleRequired: "Regula de pret pentru optiune este obligatorie",
|
|
393
|
+
optionIdRequired: "ID-ul optiunii este obligatoriu",
|
|
394
|
+
unitIdRequired: "ID-ul unitatii este obligatoriu",
|
|
395
|
+
},
|
|
396
|
+
actions: {
|
|
397
|
+
create: "Adauga regula",
|
|
398
|
+
},
|
|
399
|
+
},
|
|
400
|
+
optionUnitTierDialog: {
|
|
401
|
+
titles: {
|
|
402
|
+
create: "Adauga tier de unitate",
|
|
403
|
+
edit: "Editeaza tier-ul de unitate",
|
|
404
|
+
},
|
|
405
|
+
fields: {
|
|
406
|
+
optionUnitPriceRuleId: "ID regula de pret pe unitate",
|
|
407
|
+
minQuantity: "Cantitate minima",
|
|
408
|
+
maxQuantity: "Cantitate maxima",
|
|
409
|
+
sellAmount: "Pret vanzare",
|
|
410
|
+
costAmount: "Cost",
|
|
411
|
+
sortOrder: "Ordine sortare",
|
|
412
|
+
active: "Activ",
|
|
413
|
+
},
|
|
414
|
+
placeholders: {
|
|
415
|
+
optionUnitPriceRuleId: "oupr_…",
|
|
416
|
+
},
|
|
417
|
+
validation: {
|
|
418
|
+
optionUnitPriceRuleIdRequired: "Regula de pret pe unitate este obligatorie",
|
|
419
|
+
minQuantityMin: "Cantitatea minima trebuie sa fie cel putin 1",
|
|
420
|
+
},
|
|
421
|
+
actions: {
|
|
422
|
+
create: "Adauga tier",
|
|
423
|
+
},
|
|
424
|
+
},
|
|
425
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -20,4 +20,6 @@ export { PricingCategoryList, type PricingCategoryListProps, } from "./component
|
|
|
20
20
|
export { CancellationPolicyLabel, OptionPriceRuleLabel, PriceCatalogLabel, PriceScheduleLabel, PricingCategoryLabel, ProductLabel, ProductOptionLabel, } from "./components/pricing-shared-labels";
|
|
21
21
|
export { ProductCombobox } from "./components/product-combobox";
|
|
22
22
|
export { ProductOptionCombobox } from "./components/product-option-combobox";
|
|
23
|
+
export type { AddonPricingMode, AdjustmentType, ChargeType, OptionPriceRulePricingMode, PricingCategoryType, PricingDependencyType, PricingUiMessages, StartTimeRuleMode, UnitPricingMode, } from "./i18n";
|
|
24
|
+
export { getPricingUiI18n, type PricingUiMessageOverrides, PricingUiMessagesProvider, pricingUiEn, pricingUiMessageDefinitions, pricingUiRo, resolvePricingUiMessages, usePricingUiI18n, usePricingUiI18nOrDefault, usePricingUiMessages, usePricingUiMessagesOrDefault, } from "./i18n";
|
|
23
25
|
//# 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,0BAA0B,EAAE,MAAM,2CAA2C,CAAA;AACtF,OAAO,EACL,4BAA4B,EAC5B,KAAK,iCAAiC,GACvC,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAA;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAA;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAA;AACjF,OAAO,EACL,qBAAqB,EACrB,KAAK,0BAA0B,GAChC,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAA;AACtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAA;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAA;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAA;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAA;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAA;AAC5E,OAAO,EACL,mBAAmB,EACnB,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EACX,wBAAwB,EACxB,gBAAgB,EAChB,yBAAyB,EACzB,oBAAoB,EACpB,6BAA6B,GAC9B,MAAM,QAAQ,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -20,3 +20,4 @@ export { PricingCategoryList, } from "./components/pricing-category-list";
|
|
|
20
20
|
export { CancellationPolicyLabel, OptionPriceRuleLabel, PriceCatalogLabel, PriceScheduleLabel, PricingCategoryLabel, ProductLabel, ProductOptionLabel, } from "./components/pricing-shared-labels";
|
|
21
21
|
export { ProductCombobox } from "./components/product-combobox";
|
|
22
22
|
export { ProductOptionCombobox } from "./components/product-option-combobox";
|
|
23
|
+
export { getPricingUiI18n, PricingUiMessagesProvider, pricingUiEn, pricingUiMessageDefinitions, pricingUiRo, resolvePricingUiMessages, usePricingUiI18n, usePricingUiI18nOrDefault, usePricingUiMessages, usePricingUiMessagesOrDefault, } from "./i18n";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/pricing-ui",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"license": "
|
|
3
|
+
"version": "0.18.0",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/voyantjs/voyant.git",
|
|
@@ -12,11 +12,28 @@
|
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
|
-
"import": "./dist/index.js"
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
|
+
"default": "./dist/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./i18n": {
|
|
19
|
+
"types": "./dist/i18n/index.d.ts",
|
|
20
|
+
"import": "./dist/i18n/index.js",
|
|
21
|
+
"default": "./dist/i18n/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./i18n/en": {
|
|
24
|
+
"types": "./dist/i18n/en.d.ts",
|
|
25
|
+
"import": "./dist/i18n/en.js",
|
|
26
|
+
"default": "./dist/i18n/en.js"
|
|
27
|
+
},
|
|
28
|
+
"./i18n/ro": {
|
|
29
|
+
"types": "./dist/i18n/ro.d.ts",
|
|
30
|
+
"import": "./dist/i18n/ro.js",
|
|
31
|
+
"default": "./dist/i18n/ro.js"
|
|
16
32
|
},
|
|
17
33
|
"./components/*": {
|
|
18
34
|
"types": "./dist/components/*.d.ts",
|
|
19
|
-
"import": "./dist/components/*.js"
|
|
35
|
+
"import": "./dist/components/*.js",
|
|
36
|
+
"default": "./dist/components/*.js"
|
|
20
37
|
}
|
|
21
38
|
},
|
|
22
39
|
"peerDependencies": {
|
|
@@ -25,10 +42,13 @@
|
|
|
25
42
|
"react": "^19.0.0",
|
|
26
43
|
"react-dom": "^19.0.0",
|
|
27
44
|
"react-hook-form": "^7.60.0",
|
|
28
|
-
"zod": "^3.
|
|
29
|
-
"@voyantjs/pricing-react": "0.
|
|
30
|
-
"@voyantjs/products-react": "0.
|
|
31
|
-
"@voyantjs/ui": "0.
|
|
45
|
+
"zod": "^4.3.6",
|
|
46
|
+
"@voyantjs/pricing-react": "0.18.0",
|
|
47
|
+
"@voyantjs/products-react": "0.18.0",
|
|
48
|
+
"@voyantjs/ui": "0.18.0"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@voyantjs/i18n": "0.18.0"
|
|
32
52
|
},
|
|
33
53
|
"devDependencies": {
|
|
34
54
|
"@tanstack/react-query": "^5.96.2",
|
|
@@ -41,11 +61,12 @@
|
|
|
41
61
|
"react-hook-form": "^7.60.0",
|
|
42
62
|
"typescript": "^6.0.2",
|
|
43
63
|
"vitest": "^4.1.2",
|
|
44
|
-
"zod": "^3.
|
|
45
|
-
"@voyantjs/
|
|
46
|
-
"@voyantjs/
|
|
64
|
+
"zod": "^4.3.6",
|
|
65
|
+
"@voyantjs/i18n": "0.18.0",
|
|
66
|
+
"@voyantjs/pricing-react": "0.18.0",
|
|
67
|
+
"@voyantjs/products-react": "0.18.0",
|
|
47
68
|
"@voyantjs/voyant-typescript-config": "0.1.0",
|
|
48
|
-
"@voyantjs/ui": "0.
|
|
69
|
+
"@voyantjs/ui": "0.18.0"
|
|
49
70
|
},
|
|
50
71
|
"files": [
|
|
51
72
|
"dist"
|