@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.
Files changed (67) hide show
  1. package/LICENSE +201 -109
  2. package/README.md +11 -0
  3. package/dist/components/cancellation-policy-combobox.d.ts +1 -1
  4. package/dist/components/cancellation-policy-combobox.d.ts.map +1 -1
  5. package/dist/components/cancellation-policy-combobox.js +6 -4
  6. package/dist/components/cancellation-policy-rule-dialog.d.ts.map +1 -1
  7. package/dist/components/cancellation-policy-rule-dialog.js +23 -15
  8. package/dist/components/dropoff-price-rule-dialog.d.ts.map +1 -1
  9. package/dist/components/dropoff-price-rule-dialog.js +32 -15
  10. package/dist/components/extra-price-rule-dialog.d.ts.map +1 -1
  11. package/dist/components/extra-price-rule-dialog.js +28 -14
  12. package/dist/components/option-price-rule-combobox.d.ts +1 -1
  13. package/dist/components/option-price-rule-combobox.d.ts.map +1 -1
  14. package/dist/components/option-price-rule-combobox.js +6 -4
  15. package/dist/components/option-price-rule-dialog.d.ts.map +1 -1
  16. package/dist/components/option-price-rule-dialog.js +35 -23
  17. package/dist/components/option-start-time-rule-dialog.d.ts.map +1 -1
  18. package/dist/components/option-start-time-rule-dialog.js +33 -14
  19. package/dist/components/option-unit-price-rule-dialog.d.ts.map +1 -1
  20. package/dist/components/option-unit-price-rule-dialog.js +30 -16
  21. package/dist/components/option-unit-tier-dialog.d.ts.map +1 -1
  22. package/dist/components/option-unit-tier-dialog.js +24 -10
  23. package/dist/components/pickup-price-rule-dialog.d.ts.map +1 -1
  24. package/dist/components/pickup-price-rule-dialog.js +29 -13
  25. package/dist/components/price-catalog-combobox.d.ts +1 -1
  26. package/dist/components/price-catalog-combobox.d.ts.map +1 -1
  27. package/dist/components/price-catalog-combobox.js +6 -2
  28. package/dist/components/price-schedule-combobox.d.ts.map +1 -1
  29. package/dist/components/price-schedule-combobox.js +6 -4
  30. package/dist/components/price-schedule-dialog.d.ts.map +1 -1
  31. package/dist/components/price-schedule-dialog.js +26 -15
  32. package/dist/components/pricing-category-combobox.d.ts.map +1 -1
  33. package/dist/components/pricing-category-combobox.js +4 -2
  34. package/dist/components/pricing-category-dependency-dialog.d.ts.map +1 -1
  35. package/dist/components/pricing-category-dependency-dialog.js +5 -1
  36. package/dist/components/pricing-category-dependency-form.d.ts.map +1 -1
  37. package/dist/components/pricing-category-dependency-form.js +17 -8
  38. package/dist/components/pricing-category-dialog.d.ts.map +1 -1
  39. package/dist/components/pricing-category-dialog.js +7 -3
  40. package/dist/components/pricing-category-form.d.ts.map +1 -1
  41. package/dist/components/pricing-category-form.js +20 -13
  42. package/dist/components/pricing-category-list.d.ts.map +1 -1
  43. package/dist/components/pricing-category-list.js +10 -6
  44. package/dist/components/product-combobox.d.ts +1 -1
  45. package/dist/components/product-combobox.d.ts.map +1 -1
  46. package/dist/components/product-combobox.js +6 -2
  47. package/dist/components/product-option-combobox.d.ts.map +1 -1
  48. package/dist/components/product-option-combobox.js +7 -5
  49. package/dist/i18n/en.d.ts +426 -0
  50. package/dist/i18n/en.d.ts.map +1 -0
  51. package/dist/i18n/en.js +425 -0
  52. package/dist/i18n/index.d.ts +5 -0
  53. package/dist/i18n/index.d.ts.map +1 -0
  54. package/dist/i18n/index.js +3 -0
  55. package/dist/i18n/messages.d.ts +391 -0
  56. package/dist/i18n/messages.d.ts.map +1 -0
  57. package/dist/i18n/messages.js +17 -0
  58. package/dist/i18n/provider.d.ts +874 -0
  59. package/dist/i18n/provider.d.ts.map +1 -0
  60. package/dist/i18n/provider.js +44 -0
  61. package/dist/i18n/ro.d.ts +426 -0
  62. package/dist/i18n/ro.d.ts.map +1 -0
  63. package/dist/i18n/ro.js +425 -0
  64. package/dist/index.d.ts +2 -0
  65. package/dist/index.d.ts.map +1 -1
  66. package/dist/index.js +1 -0
  67. package/package.json +33 -12
@@ -0,0 +1,874 @@
1
+ import { type LocaleMessageOverrides, type PackageI18nValue } from "@voyantjs/i18n";
2
+ import type { ReactNode } from "react";
3
+ import type { PricingUiMessages } from "./messages";
4
+ export declare const pricingUiMessageDefinitions: {
5
+ en: {
6
+ common: {
7
+ cancel: string;
8
+ saveChanges: string;
9
+ create: string;
10
+ add: string;
11
+ loading: string;
12
+ none: string;
13
+ previous: string;
14
+ next: string;
15
+ page: string;
16
+ active: string;
17
+ inactive: string;
18
+ categoryTypeLabels: {
19
+ adult: string;
20
+ child: string;
21
+ infant: string;
22
+ senior: string;
23
+ group: string;
24
+ room: string;
25
+ vehicle: string;
26
+ service: string;
27
+ other: string;
28
+ };
29
+ dependencyTypeLabels: {
30
+ requires: string;
31
+ limits_per_master: string;
32
+ limits_sum: string;
33
+ excludes: string;
34
+ };
35
+ chargeTypeLabels: {
36
+ none: string;
37
+ amount: string;
38
+ percentage: string;
39
+ };
40
+ addonPricingModeLabels: {
41
+ included: string;
42
+ per_person: string;
43
+ per_booking: string;
44
+ on_request: string;
45
+ unavailable: string;
46
+ };
47
+ optionPriceRulePricingModeLabels: {
48
+ per_person: string;
49
+ per_booking: string;
50
+ starting_from: string;
51
+ free: string;
52
+ on_request: string;
53
+ };
54
+ startTimeRuleModeLabels: {
55
+ included: string;
56
+ excluded: string;
57
+ override: string;
58
+ adjustment: string;
59
+ };
60
+ adjustmentTypeLabels: {
61
+ fixed: string;
62
+ percentage: string;
63
+ };
64
+ unitPricingModeLabels: {
65
+ per_unit: string;
66
+ per_person: string;
67
+ per_booking: string;
68
+ included: string;
69
+ free: string;
70
+ on_request: string;
71
+ };
72
+ };
73
+ comboboxes: {
74
+ pricingCategory: {
75
+ placeholder: string;
76
+ empty: string;
77
+ };
78
+ priceCatalog: {
79
+ placeholder: string;
80
+ empty: string;
81
+ };
82
+ priceSchedule: {
83
+ placeholder: string;
84
+ empty: string;
85
+ };
86
+ cancellationPolicy: {
87
+ placeholder: string;
88
+ empty: string;
89
+ };
90
+ optionPriceRule: {
91
+ placeholder: string;
92
+ empty: string;
93
+ };
94
+ product: {
95
+ placeholder: string;
96
+ empty: string;
97
+ };
98
+ productOption: {
99
+ placeholder: string;
100
+ empty: string;
101
+ missingParent: string;
102
+ };
103
+ };
104
+ pricingCategoryDialog: {
105
+ titles: {
106
+ create: string;
107
+ edit: string;
108
+ };
109
+ descriptions: {
110
+ create: string;
111
+ edit: string;
112
+ };
113
+ };
114
+ pricingCategoryForm: {
115
+ fields: {
116
+ name: string;
117
+ code: string;
118
+ type: string;
119
+ seatOccupancy: string;
120
+ ageQualified: string;
121
+ minAge: string;
122
+ maxAge: string;
123
+ sortOrder: string;
124
+ active: string;
125
+ };
126
+ placeholders: {
127
+ name: string;
128
+ code: string;
129
+ };
130
+ validation: {
131
+ nameRequired: string;
132
+ saveFailed: string;
133
+ };
134
+ actions: {
135
+ create: string;
136
+ };
137
+ };
138
+ pricingCategoryList: {
139
+ searchPlaceholder: string;
140
+ add: string;
141
+ columns: {
142
+ name: string;
143
+ code: string;
144
+ type: string;
145
+ age: string;
146
+ seat: string;
147
+ sort: string;
148
+ status: string;
149
+ actions: string;
150
+ };
151
+ loadingError: string;
152
+ empty: string;
153
+ edit: string;
154
+ delete: string;
155
+ deleteConfirm: string;
156
+ showingSummary: string;
157
+ };
158
+ pricingCategoryDependencyDialog: {
159
+ titles: {
160
+ create: string;
161
+ edit: string;
162
+ };
163
+ description: string;
164
+ };
165
+ pricingCategoryDependencyForm: {
166
+ fields: {
167
+ masterCategory: string;
168
+ dependentCategory: string;
169
+ dependencyType: string;
170
+ maxPerMaster: string;
171
+ maxDependentSum: string;
172
+ active: string;
173
+ notes: string;
174
+ };
175
+ placeholders: {
176
+ categorySearch: string;
177
+ };
178
+ validation: {
179
+ categoriesRequired: string;
180
+ saveFailed: string;
181
+ };
182
+ actions: {
183
+ create: string;
184
+ };
185
+ };
186
+ priceScheduleDialog: {
187
+ titles: {
188
+ create: string;
189
+ edit: string;
190
+ };
191
+ fields: {
192
+ catalog: string;
193
+ name: string;
194
+ code: string;
195
+ recurrenceRule: string;
196
+ validFrom: string;
197
+ validTo: string;
198
+ timezone: string;
199
+ priority: string;
200
+ active: string;
201
+ notes: string;
202
+ };
203
+ placeholders: {
204
+ catalog: string;
205
+ name: string;
206
+ code: string;
207
+ recurrenceRule: string;
208
+ validFrom: string;
209
+ validTo: string;
210
+ timezone: string;
211
+ };
212
+ validation: {
213
+ catalogRequired: string;
214
+ nameRequired: string;
215
+ recurrenceRuleRequired: string;
216
+ };
217
+ helpText: {
218
+ recurrenceRuleExample: string;
219
+ };
220
+ actions: {
221
+ create: string;
222
+ };
223
+ };
224
+ cancellationPolicyRuleDialog: {
225
+ titles: {
226
+ create: string;
227
+ edit: string;
228
+ };
229
+ fields: {
230
+ cutoffMinutesBefore: string;
231
+ sortOrder: string;
232
+ chargeType: string;
233
+ chargeAmount: string;
234
+ chargePercent: string;
235
+ active: string;
236
+ notes: string;
237
+ };
238
+ placeholders: {
239
+ cutoffMinutesBefore: string;
240
+ chargePercent: string;
241
+ };
242
+ helpText: {
243
+ cutoffMinutesBefore: string;
244
+ };
245
+ actions: {
246
+ create: string;
247
+ };
248
+ };
249
+ optionPriceRuleDialog: {
250
+ titles: {
251
+ create: string;
252
+ edit: string;
253
+ };
254
+ fields: {
255
+ product: string;
256
+ option: string;
257
+ name: string;
258
+ code: string;
259
+ catalog: string;
260
+ schedule: string;
261
+ cancellationPolicy: string;
262
+ pricingMode: string;
263
+ baseSell: string;
264
+ baseCost: string;
265
+ minPerBooking: string;
266
+ maxPerBooking: string;
267
+ description: string;
268
+ allPricingCategories: string;
269
+ defaultRule: string;
270
+ active: string;
271
+ notes: string;
272
+ };
273
+ validation: {
274
+ productRequired: string;
275
+ optionRequired: string;
276
+ catalogRequired: string;
277
+ nameRequired: string;
278
+ };
279
+ actions: {
280
+ create: string;
281
+ };
282
+ };
283
+ locationPriceRuleDialog: {
284
+ fields: {
285
+ optionPriceRule: string;
286
+ optionId: string;
287
+ facilityId: string;
288
+ pickupPointId: string;
289
+ dropoffName: string;
290
+ dropoffCode: string;
291
+ pricingMode: string;
292
+ sellAmount: string;
293
+ costAmount: string;
294
+ sortOrder: string;
295
+ active: string;
296
+ notes: string;
297
+ };
298
+ placeholders: {
299
+ optionId: string;
300
+ facilityId: string;
301
+ pickupPointId: string;
302
+ };
303
+ validation: {
304
+ optionPriceRuleRequired: string;
305
+ optionIdRequired: string;
306
+ pickupPointIdRequired: string;
307
+ dropoffNameRequired: string;
308
+ };
309
+ actions: {
310
+ createRule: string;
311
+ saveRule: string;
312
+ };
313
+ pickup: {
314
+ titles: {
315
+ create: string;
316
+ edit: string;
317
+ };
318
+ };
319
+ dropoff: {
320
+ titles: {
321
+ create: string;
322
+ edit: string;
323
+ };
324
+ };
325
+ extra: {
326
+ titles: {
327
+ create: string;
328
+ edit: string;
329
+ };
330
+ fields: {
331
+ productExtraId: string;
332
+ optionExtraConfigId: string;
333
+ };
334
+ placeholders: {
335
+ productExtraId: string;
336
+ optionExtraConfigId: string;
337
+ };
338
+ };
339
+ };
340
+ optionStartTimeRuleDialog: {
341
+ titles: {
342
+ create: string;
343
+ edit: string;
344
+ };
345
+ fields: {
346
+ optionPriceRule: string;
347
+ optionId: string;
348
+ startTimeId: string;
349
+ ruleMode: string;
350
+ adjustmentType: string;
351
+ sellAdjustment: string;
352
+ costAdjustment: string;
353
+ adjustmentPercent: string;
354
+ active: string;
355
+ notes: string;
356
+ };
357
+ placeholders: {
358
+ optionId: string;
359
+ startTimeId: string;
360
+ select: string;
361
+ };
362
+ validation: {
363
+ optionPriceRuleRequired: string;
364
+ optionIdRequired: string;
365
+ startTimeIdRequired: string;
366
+ };
367
+ actions: {
368
+ create: string;
369
+ };
370
+ };
371
+ optionUnitPriceRuleDialog: {
372
+ titles: {
373
+ create: string;
374
+ edit: string;
375
+ };
376
+ fields: {
377
+ optionPriceRule: string;
378
+ optionId: string;
379
+ unitId: string;
380
+ pricingCategory: string;
381
+ pricingMode: string;
382
+ sellAmount: string;
383
+ costAmount: string;
384
+ minQuantity: string;
385
+ maxQuantity: string;
386
+ sortOrder: string;
387
+ active: string;
388
+ notes: string;
389
+ };
390
+ placeholders: {
391
+ optionId: string;
392
+ unitId: string;
393
+ pricingCategory: string;
394
+ };
395
+ validation: {
396
+ optionPriceRuleRequired: string;
397
+ optionIdRequired: string;
398
+ unitIdRequired: string;
399
+ };
400
+ actions: {
401
+ create: string;
402
+ };
403
+ };
404
+ optionUnitTierDialog: {
405
+ titles: {
406
+ create: string;
407
+ edit: string;
408
+ };
409
+ fields: {
410
+ optionUnitPriceRuleId: string;
411
+ minQuantity: string;
412
+ maxQuantity: string;
413
+ sellAmount: string;
414
+ costAmount: string;
415
+ sortOrder: string;
416
+ active: string;
417
+ };
418
+ placeholders: {
419
+ optionUnitPriceRuleId: string;
420
+ };
421
+ validation: {
422
+ optionUnitPriceRuleIdRequired: string;
423
+ minQuantityMin: string;
424
+ };
425
+ actions: {
426
+ create: string;
427
+ };
428
+ };
429
+ };
430
+ ro: {
431
+ common: {
432
+ cancel: string;
433
+ saveChanges: string;
434
+ create: string;
435
+ add: string;
436
+ loading: string;
437
+ none: string;
438
+ previous: string;
439
+ next: string;
440
+ page: string;
441
+ active: string;
442
+ inactive: string;
443
+ categoryTypeLabels: {
444
+ adult: string;
445
+ child: string;
446
+ infant: string;
447
+ senior: string;
448
+ group: string;
449
+ room: string;
450
+ vehicle: string;
451
+ service: string;
452
+ other: string;
453
+ };
454
+ dependencyTypeLabels: {
455
+ requires: string;
456
+ limits_per_master: string;
457
+ limits_sum: string;
458
+ excludes: string;
459
+ };
460
+ chargeTypeLabels: {
461
+ none: string;
462
+ amount: string;
463
+ percentage: string;
464
+ };
465
+ addonPricingModeLabels: {
466
+ included: string;
467
+ per_person: string;
468
+ per_booking: string;
469
+ on_request: string;
470
+ unavailable: string;
471
+ };
472
+ optionPriceRulePricingModeLabels: {
473
+ per_person: string;
474
+ per_booking: string;
475
+ starting_from: string;
476
+ free: string;
477
+ on_request: string;
478
+ };
479
+ startTimeRuleModeLabels: {
480
+ included: string;
481
+ excluded: string;
482
+ override: string;
483
+ adjustment: string;
484
+ };
485
+ adjustmentTypeLabels: {
486
+ fixed: string;
487
+ percentage: string;
488
+ };
489
+ unitPricingModeLabels: {
490
+ per_unit: string;
491
+ per_person: string;
492
+ per_booking: string;
493
+ included: string;
494
+ free: string;
495
+ on_request: string;
496
+ };
497
+ };
498
+ comboboxes: {
499
+ pricingCategory: {
500
+ placeholder: string;
501
+ empty: string;
502
+ };
503
+ priceCatalog: {
504
+ placeholder: string;
505
+ empty: string;
506
+ };
507
+ priceSchedule: {
508
+ placeholder: string;
509
+ empty: string;
510
+ };
511
+ cancellationPolicy: {
512
+ placeholder: string;
513
+ empty: string;
514
+ };
515
+ optionPriceRule: {
516
+ placeholder: string;
517
+ empty: string;
518
+ };
519
+ product: {
520
+ placeholder: string;
521
+ empty: string;
522
+ };
523
+ productOption: {
524
+ placeholder: string;
525
+ empty: string;
526
+ missingParent: string;
527
+ };
528
+ };
529
+ pricingCategoryDialog: {
530
+ titles: {
531
+ create: string;
532
+ edit: string;
533
+ };
534
+ descriptions: {
535
+ create: string;
536
+ edit: string;
537
+ };
538
+ };
539
+ pricingCategoryForm: {
540
+ fields: {
541
+ name: string;
542
+ code: string;
543
+ type: string;
544
+ seatOccupancy: string;
545
+ ageQualified: string;
546
+ minAge: string;
547
+ maxAge: string;
548
+ sortOrder: string;
549
+ active: string;
550
+ };
551
+ placeholders: {
552
+ name: string;
553
+ code: string;
554
+ };
555
+ validation: {
556
+ nameRequired: string;
557
+ saveFailed: string;
558
+ };
559
+ actions: {
560
+ create: string;
561
+ };
562
+ };
563
+ pricingCategoryList: {
564
+ searchPlaceholder: string;
565
+ add: string;
566
+ columns: {
567
+ name: string;
568
+ code: string;
569
+ type: string;
570
+ age: string;
571
+ seat: string;
572
+ sort: string;
573
+ status: string;
574
+ actions: string;
575
+ };
576
+ loadingError: string;
577
+ empty: string;
578
+ edit: string;
579
+ delete: string;
580
+ deleteConfirm: string;
581
+ showingSummary: string;
582
+ };
583
+ pricingCategoryDependencyDialog: {
584
+ titles: {
585
+ create: string;
586
+ edit: string;
587
+ };
588
+ description: string;
589
+ };
590
+ pricingCategoryDependencyForm: {
591
+ fields: {
592
+ masterCategory: string;
593
+ dependentCategory: string;
594
+ dependencyType: string;
595
+ maxPerMaster: string;
596
+ maxDependentSum: string;
597
+ active: string;
598
+ notes: string;
599
+ };
600
+ placeholders: {
601
+ categorySearch: string;
602
+ };
603
+ validation: {
604
+ categoriesRequired: string;
605
+ saveFailed: string;
606
+ };
607
+ actions: {
608
+ create: string;
609
+ };
610
+ };
611
+ priceScheduleDialog: {
612
+ titles: {
613
+ create: string;
614
+ edit: string;
615
+ };
616
+ fields: {
617
+ catalog: string;
618
+ name: string;
619
+ code: string;
620
+ recurrenceRule: string;
621
+ validFrom: string;
622
+ validTo: string;
623
+ timezone: string;
624
+ priority: string;
625
+ active: string;
626
+ notes: string;
627
+ };
628
+ placeholders: {
629
+ catalog: string;
630
+ name: string;
631
+ code: string;
632
+ recurrenceRule: string;
633
+ validFrom: string;
634
+ validTo: string;
635
+ timezone: string;
636
+ };
637
+ validation: {
638
+ catalogRequired: string;
639
+ nameRequired: string;
640
+ recurrenceRuleRequired: string;
641
+ };
642
+ helpText: {
643
+ recurrenceRuleExample: string;
644
+ };
645
+ actions: {
646
+ create: string;
647
+ };
648
+ };
649
+ cancellationPolicyRuleDialog: {
650
+ titles: {
651
+ create: string;
652
+ edit: string;
653
+ };
654
+ fields: {
655
+ cutoffMinutesBefore: string;
656
+ sortOrder: string;
657
+ chargeType: string;
658
+ chargeAmount: string;
659
+ chargePercent: string;
660
+ active: string;
661
+ notes: string;
662
+ };
663
+ placeholders: {
664
+ cutoffMinutesBefore: string;
665
+ chargePercent: string;
666
+ };
667
+ helpText: {
668
+ cutoffMinutesBefore: string;
669
+ };
670
+ actions: {
671
+ create: string;
672
+ };
673
+ };
674
+ optionPriceRuleDialog: {
675
+ titles: {
676
+ create: string;
677
+ edit: string;
678
+ };
679
+ fields: {
680
+ product: string;
681
+ option: string;
682
+ name: string;
683
+ code: string;
684
+ catalog: string;
685
+ schedule: string;
686
+ cancellationPolicy: string;
687
+ pricingMode: string;
688
+ baseSell: string;
689
+ baseCost: string;
690
+ minPerBooking: string;
691
+ maxPerBooking: string;
692
+ description: string;
693
+ allPricingCategories: string;
694
+ defaultRule: string;
695
+ active: string;
696
+ notes: string;
697
+ };
698
+ validation: {
699
+ productRequired: string;
700
+ optionRequired: string;
701
+ catalogRequired: string;
702
+ nameRequired: string;
703
+ };
704
+ actions: {
705
+ create: string;
706
+ };
707
+ };
708
+ locationPriceRuleDialog: {
709
+ fields: {
710
+ optionPriceRule: string;
711
+ optionId: string;
712
+ facilityId: string;
713
+ pickupPointId: string;
714
+ dropoffName: string;
715
+ dropoffCode: string;
716
+ pricingMode: string;
717
+ sellAmount: string;
718
+ costAmount: string;
719
+ sortOrder: string;
720
+ active: string;
721
+ notes: string;
722
+ };
723
+ placeholders: {
724
+ optionId: string;
725
+ facilityId: string;
726
+ pickupPointId: string;
727
+ };
728
+ validation: {
729
+ optionPriceRuleRequired: string;
730
+ optionIdRequired: string;
731
+ pickupPointIdRequired: string;
732
+ dropoffNameRequired: string;
733
+ };
734
+ actions: {
735
+ createRule: string;
736
+ saveRule: string;
737
+ };
738
+ pickup: {
739
+ titles: {
740
+ create: string;
741
+ edit: string;
742
+ };
743
+ };
744
+ dropoff: {
745
+ titles: {
746
+ create: string;
747
+ edit: string;
748
+ };
749
+ };
750
+ extra: {
751
+ titles: {
752
+ create: string;
753
+ edit: string;
754
+ };
755
+ fields: {
756
+ productExtraId: string;
757
+ optionExtraConfigId: string;
758
+ };
759
+ placeholders: {
760
+ productExtraId: string;
761
+ optionExtraConfigId: string;
762
+ };
763
+ };
764
+ };
765
+ optionStartTimeRuleDialog: {
766
+ titles: {
767
+ create: string;
768
+ edit: string;
769
+ };
770
+ fields: {
771
+ optionPriceRule: string;
772
+ optionId: string;
773
+ startTimeId: string;
774
+ ruleMode: string;
775
+ adjustmentType: string;
776
+ sellAdjustment: string;
777
+ costAdjustment: string;
778
+ adjustmentPercent: string;
779
+ active: string;
780
+ notes: string;
781
+ };
782
+ placeholders: {
783
+ optionId: string;
784
+ startTimeId: string;
785
+ select: string;
786
+ };
787
+ validation: {
788
+ optionPriceRuleRequired: string;
789
+ optionIdRequired: string;
790
+ startTimeIdRequired: string;
791
+ };
792
+ actions: {
793
+ create: string;
794
+ };
795
+ };
796
+ optionUnitPriceRuleDialog: {
797
+ titles: {
798
+ create: string;
799
+ edit: string;
800
+ };
801
+ fields: {
802
+ optionPriceRule: string;
803
+ optionId: string;
804
+ unitId: string;
805
+ pricingCategory: string;
806
+ pricingMode: string;
807
+ sellAmount: string;
808
+ costAmount: string;
809
+ minQuantity: string;
810
+ maxQuantity: string;
811
+ sortOrder: string;
812
+ active: string;
813
+ notes: string;
814
+ };
815
+ placeholders: {
816
+ optionId: string;
817
+ unitId: string;
818
+ pricingCategory: string;
819
+ };
820
+ validation: {
821
+ optionPriceRuleRequired: string;
822
+ optionIdRequired: string;
823
+ unitIdRequired: string;
824
+ };
825
+ actions: {
826
+ create: string;
827
+ };
828
+ };
829
+ optionUnitTierDialog: {
830
+ titles: {
831
+ create: string;
832
+ edit: string;
833
+ };
834
+ fields: {
835
+ optionUnitPriceRuleId: string;
836
+ minQuantity: string;
837
+ maxQuantity: string;
838
+ sellAmount: string;
839
+ costAmount: string;
840
+ sortOrder: string;
841
+ active: string;
842
+ };
843
+ placeholders: {
844
+ optionUnitPriceRuleId: string;
845
+ };
846
+ validation: {
847
+ optionUnitPriceRuleIdRequired: string;
848
+ minQuantityMin: string;
849
+ };
850
+ actions: {
851
+ create: string;
852
+ };
853
+ };
854
+ };
855
+ };
856
+ export type PricingUiMessageOverrides = LocaleMessageOverrides<PricingUiMessages>;
857
+ export declare function resolvePricingUiMessages({ locale, overrides, }: {
858
+ locale: string | null | undefined;
859
+ overrides?: PricingUiMessageOverrides | null;
860
+ }): PricingUiMessages;
861
+ export declare function getPricingUiI18n({ locale, overrides, }: {
862
+ locale?: string | null | undefined;
863
+ overrides?: PricingUiMessageOverrides | null;
864
+ }): PackageI18nValue<PricingUiMessages>;
865
+ export declare function PricingUiMessagesProvider({ children, locale, overrides, }: {
866
+ children: ReactNode;
867
+ locale: string | null | undefined;
868
+ overrides?: PricingUiMessageOverrides | null;
869
+ }): import("react/jsx-runtime").JSX.Element;
870
+ export declare const usePricingUiI18n: () => PackageI18nValue<PricingUiMessages>;
871
+ export declare const usePricingUiMessages: () => PricingUiMessages;
872
+ export declare function usePricingUiI18nOrDefault(): PackageI18nValue<PricingUiMessages>;
873
+ export declare function usePricingUiMessagesOrDefault(): PricingUiMessages;
874
+ //# sourceMappingURL=provider.d.ts.map