@bagelink/vue 1.9.51 → 1.9.56

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 (81) hide show
  1. package/dist/components/AddressSearch.vue.d.ts.map +1 -1
  2. package/dist/components/Btn.vue.d.ts +2 -2
  3. package/dist/components/Btn.vue.d.ts.map +1 -1
  4. package/dist/components/Filter.vue.d.ts +0 -1
  5. package/dist/components/Filter.vue.d.ts.map +1 -1
  6. package/dist/components/ImportData.vue.d.ts.map +1 -1
  7. package/dist/components/ModalConfirm.vue.d.ts.map +1 -1
  8. package/dist/components/Spreadsheet/Index.vue.d.ts.map +1 -1
  9. package/dist/components/form/FieldArray.vue.d.ts.map +1 -1
  10. package/dist/components/form/inputs/ColorInput.vue.d.ts.map +1 -1
  11. package/dist/components/form/inputs/DateInput.vue.d.ts +1 -1
  12. package/dist/components/form/inputs/DateInput.vue.d.ts.map +1 -1
  13. package/dist/components/form/inputs/DatePicker.vue.d.ts +1 -1
  14. package/dist/components/form/inputs/DatePicker.vue.d.ts.map +1 -1
  15. package/dist/components/form/inputs/EmailInput.vue.d.ts.map +1 -1
  16. package/dist/components/form/inputs/PasswordInput.vue.d.ts +1 -1
  17. package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
  18. package/dist/components/form/inputs/RadioPillsInput.vue.d.ts.map +1 -1
  19. package/dist/components/form/inputs/SelectInput.vue.d.ts +0 -1
  20. package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
  21. package/dist/components/form/inputs/TelInput.vue.d.ts.map +1 -1
  22. package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts.map +1 -1
  23. package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
  24. package/dist/dialog/DialogConfirm.vue.d.ts +0 -3
  25. package/dist/dialog/DialogConfirm.vue.d.ts.map +1 -1
  26. package/dist/dialog/DialogForm.vue.d.ts.map +1 -1
  27. package/dist/form-flow/FormFlow.vue.d.ts.map +1 -1
  28. package/dist/form-flow/MultiStepForm.vue.d.ts.map +1 -1
  29. package/dist/i18n/index.d.ts +995 -0
  30. package/dist/i18n/index.d.ts.map +1 -0
  31. package/dist/index.cjs +135 -130
  32. package/dist/index.d.ts +2 -1
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.mjs +15388 -11464
  35. package/dist/plugins/bagel.d.ts +5 -7
  36. package/dist/plugins/bagel.d.ts.map +1 -1
  37. package/dist/style.css +1 -1
  38. package/dist/utils/calendar/dateUtils.d.ts +6 -5
  39. package/dist/utils/calendar/dateUtils.d.ts.map +1 -1
  40. package/dist/utils/index.d.ts +0 -1
  41. package/dist/utils/index.d.ts.map +1 -1
  42. package/dist/utils/lang.d.ts +6 -7
  43. package/dist/utils/lang.d.ts.map +1 -1
  44. package/package.json +2 -1
  45. package/src/components/AddressSearch.vue +5 -2
  46. package/src/components/Btn.vue +8 -6
  47. package/src/components/Filter.vue +37 -76
  48. package/src/components/ImportData.vue +35 -29
  49. package/src/components/ModalConfirm.vue +9 -7
  50. package/src/components/Spreadsheet/Index.vue +35 -60
  51. package/src/components/calendar/views/AgendaView.vue +1 -1
  52. package/src/components/calendar/views/DayView.vue +3 -3
  53. package/src/components/calendar/views/MonthView.vue +1 -1
  54. package/src/components/calendar/views/WeekView.vue +6 -6
  55. package/src/components/form/FieldArray.vue +4 -2
  56. package/src/components/form/inputs/ColorInput.vue +18 -12
  57. package/src/components/form/inputs/DateInput.vue +8 -5
  58. package/src/components/form/inputs/EmailInput.vue +9 -7
  59. package/src/components/form/inputs/PasswordInput.vue +17 -15
  60. package/src/components/form/inputs/RadioPillsInput.vue +5 -3
  61. package/src/components/form/inputs/SelectInput.vue +13 -11
  62. package/src/components/form/inputs/TelInput.vue +11 -9
  63. package/src/components/form/inputs/Upload/UploadInput.vue +7 -5
  64. package/src/components/lightbox/Lightbox.vue +4 -1
  65. package/src/dialog/DialogConfirm.vue +11 -6
  66. package/src/dialog/DialogForm.vue +9 -9
  67. package/src/form-flow/FormFlow.vue +7 -15
  68. package/src/form-flow/MultiStepForm.vue +16 -12
  69. package/src/i18n/index.ts +136 -0
  70. package/src/i18n/locales/en.json +153 -0
  71. package/src/i18n/locales/es.json +153 -0
  72. package/src/i18n/locales/fr.json +153 -0
  73. package/src/i18n/locales/he.json +174 -0
  74. package/src/i18n/locales/it.json +153 -0
  75. package/src/i18n/locales/ru.json +153 -0
  76. package/src/index.ts +11 -5
  77. package/src/plugins/bagel.ts +14 -26
  78. package/src/styles/text.css +2 -1
  79. package/src/utils/calendar/dateUtils.ts +108 -63
  80. package/src/utils/index.ts +0 -2
  81. package/src/utils/lang.ts +0 -46
@@ -0,0 +1,995 @@
1
+ import { Composer, I18n } from 'vue-i18n';
2
+ import { default as en } from './locales/en.json';
3
+ export type MessageSchema = typeof en;
4
+ declare const bagelinkLocales: {
5
+ readonly en: {
6
+ modalConfirm: {
7
+ title: string;
8
+ message: string;
9
+ confirm: string;
10
+ cancel: string;
11
+ };
12
+ upload: {
13
+ upload: string;
14
+ uploading: string;
15
+ noFile: string;
16
+ dropPlaceholder: string;
17
+ delete: string;
18
+ replace: string;
19
+ download: string;
20
+ };
21
+ pagination: {
22
+ of: string;
23
+ prev: string;
24
+ next: string;
25
+ };
26
+ form: {
27
+ required: string;
28
+ invalidEmail: string;
29
+ invalidUrl: string;
30
+ minLength: string;
31
+ maxLength: string;
32
+ minValue: string;
33
+ maxValue: string;
34
+ pattern: string;
35
+ passwordStrength: string;
36
+ };
37
+ password: {
38
+ veryWeak: string;
39
+ weak: string;
40
+ fair: string;
41
+ good: string;
42
+ strong: string;
43
+ };
44
+ select: {
45
+ placeholder: string;
46
+ search: string;
47
+ yes: string;
48
+ no: string;
49
+ };
50
+ fieldArray: {
51
+ loadDefault: string;
52
+ };
53
+ btn: {
54
+ loading: string;
55
+ };
56
+ toast: {
57
+ success: string;
58
+ error: string;
59
+ warning: string;
60
+ info: string;
61
+ };
62
+ filter: {
63
+ filter: string;
64
+ noActiveFilters: string;
65
+ connectors: {
66
+ and: string;
67
+ or: string;
68
+ };
69
+ operators: {
70
+ eq: string;
71
+ ne: string;
72
+ gt: string;
73
+ ge: string;
74
+ lt: string;
75
+ le: string;
76
+ co: string;
77
+ sw: string;
78
+ ew: string;
79
+ pr: string;
80
+ };
81
+ placeholders: {
82
+ selectField: string;
83
+ selectOption: string;
84
+ selectDate: string;
85
+ enterValue: string;
86
+ };
87
+ buttons: {
88
+ addCondition: string;
89
+ clearAll: string;
90
+ };
91
+ };
92
+ multiStep: {
93
+ previous: string;
94
+ next: string;
95
+ complete: string;
96
+ step: string;
97
+ };
98
+ addressSearch: {
99
+ placeholder: string;
100
+ };
101
+ importData: {
102
+ close: string;
103
+ cancel: string;
104
+ importData: string;
105
+ changeFile: string;
106
+ selectSheet: string;
107
+ hasHeaders: string;
108
+ sourceKeyField: string;
109
+ relatedKeyField: string;
110
+ selectSourceValue: string;
111
+ sourceValue: string;
112
+ selectTargetValue: string;
113
+ targetValue: string;
114
+ selectColumn: string;
115
+ };
116
+ timeAgo: {
117
+ year: string;
118
+ month: string;
119
+ week: string;
120
+ day: string;
121
+ hour: string;
122
+ minute: string;
123
+ second: string;
124
+ ago: string;
125
+ in: string;
126
+ justNow: string;
127
+ };
128
+ dialogForm: {
129
+ save: string;
130
+ cancel: string;
131
+ delete: string;
132
+ validationError: string;
133
+ errorOccurred: string;
134
+ };
135
+ tel: {
136
+ phoneNumber: string;
137
+ invalidPhone: string;
138
+ };
139
+ email: {
140
+ invalidEmail: string;
141
+ invalidDomain: string;
142
+ };
143
+ date: {
144
+ invalidFormat: string;
145
+ };
146
+ spreadsheet: {
147
+ wrapText: string;
148
+ selectAll: string;
149
+ clearAll: string;
150
+ };
151
+ lightbox: {
152
+ openFile: string;
153
+ };
154
+ color: {
155
+ placeholder: string;
156
+ };
157
+ };
158
+ readonly he: {
159
+ modalConfirm: {
160
+ title: string;
161
+ message: string;
162
+ confirm: string;
163
+ cancel: string;
164
+ };
165
+ upload: {
166
+ upload: string;
167
+ uploading: string;
168
+ noFile: string;
169
+ dropPlaceholder: string;
170
+ delete: string;
171
+ replace: string;
172
+ download: string;
173
+ };
174
+ pagination: {
175
+ of: string;
176
+ prev: string;
177
+ next: string;
178
+ };
179
+ form: {
180
+ required: string;
181
+ invalidEmail: string;
182
+ invalidUrl: string;
183
+ minLength: string;
184
+ maxLength: string;
185
+ minValue: string;
186
+ maxValue: string;
187
+ pattern: string;
188
+ passwordStrength: string;
189
+ };
190
+ password: {
191
+ veryWeak: string;
192
+ weak: string;
193
+ fair: string;
194
+ good: string;
195
+ strong: string;
196
+ };
197
+ select: {
198
+ placeholder: string;
199
+ search: string;
200
+ yes: string;
201
+ no: string;
202
+ };
203
+ fieldArray: {
204
+ loadDefault: string;
205
+ };
206
+ btn: {
207
+ loading: string;
208
+ };
209
+ toast: {
210
+ success: string;
211
+ error: string;
212
+ warning: string;
213
+ info: string;
214
+ };
215
+ filter: {
216
+ filter: string;
217
+ noActiveFilters: string;
218
+ connectors: {
219
+ and: string;
220
+ or: string;
221
+ };
222
+ operators: {
223
+ eq: string;
224
+ ne: string;
225
+ gt: string;
226
+ ge: string;
227
+ lt: string;
228
+ le: string;
229
+ co: string;
230
+ sw: string;
231
+ ew: string;
232
+ pr: string;
233
+ };
234
+ placeholders: {
235
+ selectField: string;
236
+ selectOption: string;
237
+ selectDate: string;
238
+ enterValue: string;
239
+ };
240
+ buttons: {
241
+ addCondition: string;
242
+ clearAll: string;
243
+ };
244
+ };
245
+ multiStep: {
246
+ previous: string;
247
+ next: string;
248
+ complete: string;
249
+ step: string;
250
+ };
251
+ addressSearch: {
252
+ placeholder: string;
253
+ };
254
+ importData: {
255
+ close: string;
256
+ cancel: string;
257
+ importData: string;
258
+ changeFile: string;
259
+ selectSheet: string;
260
+ hasHeaders: string;
261
+ sourceKeyField: string;
262
+ relatedKeyField: string;
263
+ selectSourceValue: string;
264
+ sourceValue: string;
265
+ selectTargetValue: string;
266
+ targetValue: string;
267
+ selectColumn: string;
268
+ };
269
+ timeAgo: {
270
+ year: {
271
+ singular: string;
272
+ plural: string;
273
+ };
274
+ month: {
275
+ singular: string;
276
+ plural: string;
277
+ };
278
+ week: {
279
+ singular: string;
280
+ plural: string;
281
+ };
282
+ day: {
283
+ singular: string;
284
+ plural: string;
285
+ };
286
+ hour: {
287
+ singular: string;
288
+ plural: string;
289
+ };
290
+ minute: {
291
+ singular: string;
292
+ plural: string;
293
+ };
294
+ second: {
295
+ singular: string;
296
+ plural: string;
297
+ };
298
+ ago: string;
299
+ in: string;
300
+ justNow: string;
301
+ };
302
+ dialogForm: {
303
+ save: string;
304
+ cancel: string;
305
+ delete: string;
306
+ validationError: string;
307
+ errorOccurred: string;
308
+ };
309
+ tel: {
310
+ phoneNumber: string;
311
+ invalidPhone: string;
312
+ };
313
+ email: {
314
+ invalidEmail: string;
315
+ invalidDomain: string;
316
+ };
317
+ date: {
318
+ invalidFormat: string;
319
+ };
320
+ spreadsheet: {
321
+ wrapText: string;
322
+ selectAll: string;
323
+ clearAll: string;
324
+ };
325
+ lightbox: {
326
+ openFile: string;
327
+ };
328
+ color: {
329
+ placeholder: string;
330
+ };
331
+ };
332
+ readonly it: {
333
+ modalConfirm: {
334
+ title: string;
335
+ message: string;
336
+ confirm: string;
337
+ cancel: string;
338
+ };
339
+ upload: {
340
+ upload: string;
341
+ uploading: string;
342
+ noFile: string;
343
+ dropPlaceholder: string;
344
+ delete: string;
345
+ replace: string;
346
+ download: string;
347
+ };
348
+ pagination: {
349
+ of: string;
350
+ prev: string;
351
+ next: string;
352
+ };
353
+ form: {
354
+ required: string;
355
+ invalidEmail: string;
356
+ invalidUrl: string;
357
+ minLength: string;
358
+ maxLength: string;
359
+ minValue: string;
360
+ maxValue: string;
361
+ pattern: string;
362
+ passwordStrength: string;
363
+ };
364
+ password: {
365
+ veryWeak: string;
366
+ weak: string;
367
+ fair: string;
368
+ good: string;
369
+ strong: string;
370
+ };
371
+ select: {
372
+ placeholder: string;
373
+ search: string;
374
+ yes: string;
375
+ no: string;
376
+ };
377
+ fieldArray: {
378
+ loadDefault: string;
379
+ };
380
+ btn: {
381
+ loading: string;
382
+ };
383
+ toast: {
384
+ success: string;
385
+ error: string;
386
+ warning: string;
387
+ info: string;
388
+ };
389
+ filter: {
390
+ filter: string;
391
+ noActiveFilters: string;
392
+ connectors: {
393
+ and: string;
394
+ or: string;
395
+ };
396
+ operators: {
397
+ eq: string;
398
+ ne: string;
399
+ gt: string;
400
+ ge: string;
401
+ lt: string;
402
+ le: string;
403
+ co: string;
404
+ sw: string;
405
+ ew: string;
406
+ pr: string;
407
+ };
408
+ placeholders: {
409
+ selectField: string;
410
+ selectOption: string;
411
+ selectDate: string;
412
+ enterValue: string;
413
+ };
414
+ buttons: {
415
+ addCondition: string;
416
+ clearAll: string;
417
+ };
418
+ };
419
+ multiStep: {
420
+ previous: string;
421
+ next: string;
422
+ complete: string;
423
+ step: string;
424
+ };
425
+ addressSearch: {
426
+ placeholder: string;
427
+ };
428
+ importData: {
429
+ close: string;
430
+ cancel: string;
431
+ importData: string;
432
+ changeFile: string;
433
+ selectSheet: string;
434
+ hasHeaders: string;
435
+ sourceKeyField: string;
436
+ relatedKeyField: string;
437
+ selectSourceValue: string;
438
+ sourceValue: string;
439
+ selectTargetValue: string;
440
+ targetValue: string;
441
+ selectColumn: string;
442
+ };
443
+ timeAgo: {
444
+ year: string;
445
+ month: string;
446
+ week: string;
447
+ day: string;
448
+ hour: string;
449
+ minute: string;
450
+ second: string;
451
+ ago: string;
452
+ in: string;
453
+ justNow: string;
454
+ };
455
+ dialogForm: {
456
+ save: string;
457
+ cancel: string;
458
+ delete: string;
459
+ validationError: string;
460
+ errorOccurred: string;
461
+ };
462
+ tel: {
463
+ phoneNumber: string;
464
+ invalidPhone: string;
465
+ };
466
+ email: {
467
+ invalidEmail: string;
468
+ invalidDomain: string;
469
+ };
470
+ date: {
471
+ invalidFormat: string;
472
+ };
473
+ spreadsheet: {
474
+ wrapText: string;
475
+ selectAll: string;
476
+ clearAll: string;
477
+ };
478
+ lightbox: {
479
+ openFile: string;
480
+ };
481
+ color: {
482
+ placeholder: string;
483
+ };
484
+ };
485
+ readonly es: {
486
+ modalConfirm: {
487
+ title: string;
488
+ message: string;
489
+ confirm: string;
490
+ cancel: string;
491
+ };
492
+ upload: {
493
+ upload: string;
494
+ uploading: string;
495
+ noFile: string;
496
+ dropPlaceholder: string;
497
+ delete: string;
498
+ replace: string;
499
+ download: string;
500
+ };
501
+ pagination: {
502
+ of: string;
503
+ prev: string;
504
+ next: string;
505
+ };
506
+ form: {
507
+ required: string;
508
+ invalidEmail: string;
509
+ invalidUrl: string;
510
+ minLength: string;
511
+ maxLength: string;
512
+ minValue: string;
513
+ maxValue: string;
514
+ pattern: string;
515
+ passwordStrength: string;
516
+ };
517
+ password: {
518
+ veryWeak: string;
519
+ weak: string;
520
+ fair: string;
521
+ good: string;
522
+ strong: string;
523
+ };
524
+ select: {
525
+ placeholder: string;
526
+ search: string;
527
+ yes: string;
528
+ no: string;
529
+ };
530
+ fieldArray: {
531
+ loadDefault: string;
532
+ };
533
+ btn: {
534
+ loading: string;
535
+ };
536
+ toast: {
537
+ success: string;
538
+ error: string;
539
+ warning: string;
540
+ info: string;
541
+ };
542
+ filter: {
543
+ filter: string;
544
+ noActiveFilters: string;
545
+ connectors: {
546
+ and: string;
547
+ or: string;
548
+ };
549
+ operators: {
550
+ eq: string;
551
+ ne: string;
552
+ gt: string;
553
+ ge: string;
554
+ lt: string;
555
+ le: string;
556
+ co: string;
557
+ sw: string;
558
+ ew: string;
559
+ pr: string;
560
+ };
561
+ placeholders: {
562
+ selectField: string;
563
+ selectOption: string;
564
+ selectDate: string;
565
+ enterValue: string;
566
+ };
567
+ buttons: {
568
+ addCondition: string;
569
+ clearAll: string;
570
+ };
571
+ };
572
+ multiStep: {
573
+ previous: string;
574
+ next: string;
575
+ complete: string;
576
+ step: string;
577
+ };
578
+ addressSearch: {
579
+ placeholder: string;
580
+ };
581
+ importData: {
582
+ close: string;
583
+ cancel: string;
584
+ importData: string;
585
+ changeFile: string;
586
+ selectSheet: string;
587
+ hasHeaders: string;
588
+ sourceKeyField: string;
589
+ relatedKeyField: string;
590
+ selectSourceValue: string;
591
+ sourceValue: string;
592
+ selectTargetValue: string;
593
+ targetValue: string;
594
+ selectColumn: string;
595
+ };
596
+ timeAgo: {
597
+ year: string;
598
+ month: string;
599
+ week: string;
600
+ day: string;
601
+ hour: string;
602
+ minute: string;
603
+ second: string;
604
+ ago: string;
605
+ in: string;
606
+ justNow: string;
607
+ };
608
+ dialogForm: {
609
+ save: string;
610
+ cancel: string;
611
+ delete: string;
612
+ validationError: string;
613
+ errorOccurred: string;
614
+ };
615
+ tel: {
616
+ phoneNumber: string;
617
+ invalidPhone: string;
618
+ };
619
+ email: {
620
+ invalidEmail: string;
621
+ invalidDomain: string;
622
+ };
623
+ date: {
624
+ invalidFormat: string;
625
+ };
626
+ spreadsheet: {
627
+ wrapText: string;
628
+ selectAll: string;
629
+ clearAll: string;
630
+ };
631
+ lightbox: {
632
+ openFile: string;
633
+ };
634
+ color: {
635
+ placeholder: string;
636
+ };
637
+ };
638
+ readonly fr: {
639
+ modalConfirm: {
640
+ title: string;
641
+ message: string;
642
+ confirm: string;
643
+ cancel: string;
644
+ };
645
+ upload: {
646
+ upload: string;
647
+ uploading: string;
648
+ noFile: string;
649
+ dropPlaceholder: string;
650
+ delete: string;
651
+ replace: string;
652
+ download: string;
653
+ };
654
+ pagination: {
655
+ of: string;
656
+ prev: string;
657
+ next: string;
658
+ };
659
+ form: {
660
+ required: string;
661
+ invalidEmail: string;
662
+ invalidUrl: string;
663
+ minLength: string;
664
+ maxLength: string;
665
+ minValue: string;
666
+ maxValue: string;
667
+ pattern: string;
668
+ passwordStrength: string;
669
+ };
670
+ password: {
671
+ veryWeak: string;
672
+ weak: string;
673
+ fair: string;
674
+ good: string;
675
+ strong: string;
676
+ };
677
+ select: {
678
+ placeholder: string;
679
+ search: string;
680
+ yes: string;
681
+ no: string;
682
+ };
683
+ fieldArray: {
684
+ loadDefault: string;
685
+ };
686
+ btn: {
687
+ loading: string;
688
+ };
689
+ toast: {
690
+ success: string;
691
+ error: string;
692
+ warning: string;
693
+ info: string;
694
+ };
695
+ filter: {
696
+ filter: string;
697
+ noActiveFilters: string;
698
+ connectors: {
699
+ and: string;
700
+ or: string;
701
+ };
702
+ operators: {
703
+ eq: string;
704
+ ne: string;
705
+ gt: string;
706
+ ge: string;
707
+ lt: string;
708
+ le: string;
709
+ co: string;
710
+ sw: string;
711
+ ew: string;
712
+ pr: string;
713
+ };
714
+ placeholders: {
715
+ selectField: string;
716
+ selectOption: string;
717
+ selectDate: string;
718
+ enterValue: string;
719
+ };
720
+ buttons: {
721
+ addCondition: string;
722
+ clearAll: string;
723
+ };
724
+ };
725
+ multiStep: {
726
+ previous: string;
727
+ next: string;
728
+ complete: string;
729
+ step: string;
730
+ };
731
+ addressSearch: {
732
+ placeholder: string;
733
+ };
734
+ importData: {
735
+ close: string;
736
+ cancel: string;
737
+ importData: string;
738
+ changeFile: string;
739
+ selectSheet: string;
740
+ hasHeaders: string;
741
+ sourceKeyField: string;
742
+ relatedKeyField: string;
743
+ selectSourceValue: string;
744
+ sourceValue: string;
745
+ selectTargetValue: string;
746
+ targetValue: string;
747
+ selectColumn: string;
748
+ };
749
+ timeAgo: {
750
+ year: string;
751
+ month: string;
752
+ week: string;
753
+ day: string;
754
+ hour: string;
755
+ minute: string;
756
+ second: string;
757
+ ago: string;
758
+ in: string;
759
+ justNow: string;
760
+ };
761
+ dialogForm: {
762
+ save: string;
763
+ cancel: string;
764
+ delete: string;
765
+ validationError: string;
766
+ errorOccurred: string;
767
+ };
768
+ tel: {
769
+ phoneNumber: string;
770
+ invalidPhone: string;
771
+ };
772
+ email: {
773
+ invalidEmail: string;
774
+ invalidDomain: string;
775
+ };
776
+ date: {
777
+ invalidFormat: string;
778
+ };
779
+ spreadsheet: {
780
+ wrapText: string;
781
+ selectAll: string;
782
+ clearAll: string;
783
+ };
784
+ lightbox: {
785
+ openFile: string;
786
+ };
787
+ color: {
788
+ placeholder: string;
789
+ };
790
+ };
791
+ readonly ru: {
792
+ modalConfirm: {
793
+ title: string;
794
+ message: string;
795
+ confirm: string;
796
+ cancel: string;
797
+ };
798
+ upload: {
799
+ upload: string;
800
+ uploading: string;
801
+ noFile: string;
802
+ dropPlaceholder: string;
803
+ delete: string;
804
+ replace: string;
805
+ download: string;
806
+ };
807
+ pagination: {
808
+ of: string;
809
+ prev: string;
810
+ next: string;
811
+ };
812
+ form: {
813
+ required: string;
814
+ invalidEmail: string;
815
+ invalidUrl: string;
816
+ minLength: string;
817
+ maxLength: string;
818
+ minValue: string;
819
+ maxValue: string;
820
+ pattern: string;
821
+ passwordStrength: string;
822
+ };
823
+ password: {
824
+ veryWeak: string;
825
+ weak: string;
826
+ fair: string;
827
+ good: string;
828
+ strong: string;
829
+ };
830
+ select: {
831
+ placeholder: string;
832
+ search: string;
833
+ yes: string;
834
+ no: string;
835
+ };
836
+ fieldArray: {
837
+ loadDefault: string;
838
+ };
839
+ btn: {
840
+ loading: string;
841
+ };
842
+ toast: {
843
+ success: string;
844
+ error: string;
845
+ warning: string;
846
+ info: string;
847
+ };
848
+ filter: {
849
+ filter: string;
850
+ noActiveFilters: string;
851
+ connectors: {
852
+ and: string;
853
+ or: string;
854
+ };
855
+ operators: {
856
+ eq: string;
857
+ ne: string;
858
+ gt: string;
859
+ ge: string;
860
+ lt: string;
861
+ le: string;
862
+ co: string;
863
+ sw: string;
864
+ ew: string;
865
+ pr: string;
866
+ };
867
+ placeholders: {
868
+ selectField: string;
869
+ selectOption: string;
870
+ selectDate: string;
871
+ enterValue: string;
872
+ };
873
+ buttons: {
874
+ addCondition: string;
875
+ clearAll: string;
876
+ };
877
+ };
878
+ multiStep: {
879
+ previous: string;
880
+ next: string;
881
+ complete: string;
882
+ step: string;
883
+ };
884
+ addressSearch: {
885
+ placeholder: string;
886
+ };
887
+ importData: {
888
+ close: string;
889
+ cancel: string;
890
+ importData: string;
891
+ changeFile: string;
892
+ selectSheet: string;
893
+ hasHeaders: string;
894
+ sourceKeyField: string;
895
+ relatedKeyField: string;
896
+ selectSourceValue: string;
897
+ sourceValue: string;
898
+ selectTargetValue: string;
899
+ targetValue: string;
900
+ selectColumn: string;
901
+ };
902
+ timeAgo: {
903
+ year: string;
904
+ month: string;
905
+ week: string;
906
+ day: string;
907
+ hour: string;
908
+ minute: string;
909
+ second: string;
910
+ ago: string;
911
+ in: string;
912
+ justNow: string;
913
+ };
914
+ dialogForm: {
915
+ save: string;
916
+ cancel: string;
917
+ delete: string;
918
+ validationError: string;
919
+ errorOccurred: string;
920
+ };
921
+ tel: {
922
+ phoneNumber: string;
923
+ invalidPhone: string;
924
+ };
925
+ email: {
926
+ invalidEmail: string;
927
+ invalidDomain: string;
928
+ };
929
+ date: {
930
+ invalidFormat: string;
931
+ };
932
+ spreadsheet: {
933
+ wrapText: string;
934
+ selectAll: string;
935
+ clearAll: string;
936
+ };
937
+ lightbox: {
938
+ openFile: string;
939
+ };
940
+ color: {
941
+ placeholder: string;
942
+ };
943
+ };
944
+ };
945
+ export interface CreateBagelI18nOptions {
946
+ /** Active locale (default: 'en'). Same as vue-i18n's `locale`. */
947
+ locale?: string;
948
+ /** Fallback locale (default: 'en'). Same as vue-i18n's `fallbackLocale`. */
949
+ fallbackLocale?: string;
950
+ /** User's custom messages merged with bagelink's built-in translations. Same as vue-i18n's `messages`. */
951
+ messages?: Record<string, Record<string, unknown>>;
952
+ }
953
+ /**
954
+ * Creates an i18n instance with bagelink's translations merged with user's.
955
+ * Options mirror vue-i18n's `createI18n` for consistency.
956
+ */
957
+ export declare function createI18n(options?: CreateBagelI18nOptions): I18n;
958
+ /**
959
+ * Get the global i18n instance
960
+ */
961
+ export declare function getI18n(): I18n;
962
+ interface UseI18nReturn {
963
+ $t: Composer['t'];
964
+ t: Composer['t'];
965
+ locale: Composer['locale'];
966
+ availableLocales: Composer['availableLocales'];
967
+ fallbackLocale: Composer['fallbackLocale'];
968
+ n: Composer['n'];
969
+ d: Composer['d'];
970
+ }
971
+ /**
972
+ * useI18n wrapper that returns bagelink's typed i18n functions
973
+ */
974
+ export declare function useI18n(): UseI18nReturn;
975
+ export { bagelinkLocales };
976
+ /**
977
+ * A string that is either a plain string or a translation key prefixed with `$t:`.
978
+ * @example
979
+ * 'Save' // plain string, used as-is
980
+ * '$t:btn.save' // translation key, resolved via i18n
981
+ */
982
+ export type TranslatableString = string | `$t:${string}`;
983
+ /**
984
+ * Resolves a TranslatableString.
985
+ * If the value starts with `$t:`, it's treated as a translation key.
986
+ * Otherwise the string is returned as-is.
987
+ * Works outside component context (uses the global i18n instance).
988
+ *
989
+ * @example
990
+ * resolveI18n('Save') // → 'Save'
991
+ * resolveI18n('$t:btn.save') // → 'Salva' (if locale is 'it')
992
+ * resolveI18n(undefined) // → undefined
993
+ */
994
+ export declare function resolveI18n(value: TranslatableString | undefined): string | undefined;
995
+ //# sourceMappingURL=index.d.ts.map