@venite/components 0.16.21 → 0.16.22-s

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 (113) hide show
  1. package/dist/cjs/{index-c9b940c7.js → book-1a92678a.js} +2 -96
  2. package/dist/cjs/{change-deff223a.js → change-cdb1e8c0.js} +0 -0
  3. package/dist/cjs/{cursor-849a5372.js → cursor-81bfd01e.js} +0 -0
  4. package/dist/cjs/{heading-fae3ce98.js → heading-5afc2b24.js} +2 -2
  5. package/dist/cjs/{image-41000c7b.js → image-3bee3e73.js} +2 -2
  6. package/dist/cjs/ion-button_13.cjs.entry.js +7 -8
  7. package/dist/cjs/ion-card-content_6.cjs.entry.js +3 -4
  8. package/dist/cjs/ion-checkbox_3.cjs.entry.js +2 -3
  9. package/dist/cjs/ion-input_2.cjs.entry.js +3 -3
  10. package/dist/cjs/ion-segment_16.cjs.entry.js +20 -20
  11. package/dist/cjs/ldf-day-name_5.cjs.entry.js +73 -71
  12. package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +9 -10
  13. package/dist/cjs/ldf-editable-condition-piece.cjs.entry.js +6 -7
  14. package/dist/cjs/ldf-editable-condition.cjs.entry.js +4 -5
  15. package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +10 -11
  16. package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +9 -10
  17. package/dist/cjs/ldf-editable-metadata.cjs.entry.js +10 -11
  18. package/dist/cjs/ldf-editable-preference-option.cjs.entry.js +3 -4
  19. package/dist/cjs/ldf-editable-preference.cjs.entry.js +3 -4
  20. package/dist/cjs/ldf-editable-preferences.cjs.entry.js +3 -4
  21. package/dist/cjs/ldf-editable-string-list.cjs.entry.js +2 -3
  22. package/dist/cjs/ldf-editor.cjs.entry.js +14 -14
  23. package/dist/cjs/{option-6fb78f5c.js → option-a078d432.js} +17 -5
  24. package/dist/cjs/{preference-1365e161.js → preference-a4bd51c4.js} +0 -0
  25. package/dist/cjs/{refrain-f51fd88d.js → refrain-91fb446b.js} +2 -2
  26. package/dist/cjs/{rubric-ad2f926f.js → rubric-0afbe4c0.js} +485 -16
  27. package/dist/cjs/{specific-class-071762e7.js → specific-class-76b4d343.js} +5 -5
  28. package/dist/cjs/{text-8d8d32e7.js → text-5edb80f3.js} +2 -2
  29. package/dist/collection/components/prayers-and-thanksgivings/dist/prayers-and-thanksgivings.js +5 -5
  30. package/dist/collection/components/prayers-and-thanksgivings/prayers-and-thanksgivings.js +5 -5
  31. package/dist/collection/components/text/text.i18n.es.json +2 -1
  32. package/dist/collection/i18n/text.i18n.es.json +2 -1
  33. package/dist/esm/{index-2e220677.js → book-31b8cdde.js} +2 -96
  34. package/dist/esm/{change-b077b77c.js → change-ea574d32.js} +0 -0
  35. package/dist/esm/{cursor-cb97384b.js → cursor-0e47f111.js} +0 -0
  36. package/dist/esm/{heading-c03fbe8b.js → heading-cc5ffa8a.js} +1 -1
  37. package/dist/esm/{image-a1336f0a.js → image-c6a3f0c5.js} +1 -1
  38. package/dist/esm/ion-button_13.entry.js +7 -8
  39. package/dist/esm/ion-card-content_6.entry.js +3 -4
  40. package/dist/esm/ion-checkbox_3.entry.js +2 -3
  41. package/dist/esm/ion-input_2.entry.js +3 -3
  42. package/dist/esm/ion-segment_16.entry.js +7 -7
  43. package/dist/esm/ldf-day-name_5.entry.js +9 -7
  44. package/dist/esm/ldf-editable-add-block-menu.entry.js +7 -8
  45. package/dist/esm/ldf-editable-condition-piece.entry.js +2 -3
  46. package/dist/esm/ldf-editable-condition.entry.js +2 -3
  47. package/dist/esm/ldf-editable-filter-documents.entry.js +2 -3
  48. package/dist/esm/ldf-editable-lookup_2.entry.js +8 -9
  49. package/dist/esm/ldf-editable-metadata.entry.js +8 -9
  50. package/dist/esm/ldf-editable-preference-option.entry.js +3 -4
  51. package/dist/esm/ldf-editable-preference.entry.js +3 -4
  52. package/dist/esm/ldf-editable-preferences.entry.js +3 -4
  53. package/dist/esm/ldf-editable-string-list.entry.js +2 -3
  54. package/dist/esm/ldf-editor.entry.js +3 -3
  55. package/dist/esm/{option-e130a4b2.js → option-c16af13a.js} +16 -4
  56. package/dist/esm/{preference-60cdfde3.js → preference-d070d4cb.js} +0 -0
  57. package/dist/esm/{refrain-9b9f05cc.js → refrain-75a412cb.js} +1 -1
  58. package/dist/esm/{rubric-0d2b870d.js → rubric-f779c469.js} +478 -9
  59. package/dist/esm/{specific-class-3f0e0c45.js → specific-class-09c98625.js} +5 -5
  60. package/dist/esm/{text-801eb7de.js → text-ed75fbd4.js} +1 -1
  61. package/dist/ldf/i18n/text.i18n.es.json +2 -1
  62. package/dist/ldf/ldf.esm.js +1 -1
  63. package/dist/ldf/p-005ad01b.entry.js +1 -0
  64. package/dist/ldf/p-00e5ee6b.js +1 -0
  65. package/dist/ldf/p-03afc8cb.entry.js +1 -0
  66. package/dist/ldf/{p-0d9b71a8.entry.js → p-23af1bc3.entry.js} +1 -1
  67. package/dist/ldf/p-2ae548b3.entry.js +1 -0
  68. package/dist/ldf/p-2c39ce94.entry.js +1 -0
  69. package/dist/ldf/p-304a2bdb.entry.js +1 -0
  70. package/dist/ldf/p-476327d6.js +1 -0
  71. package/dist/ldf/p-4aa9a6f2.js +1 -0
  72. package/dist/ldf/{p-6a68fa7b.js → p-5066eaa5.js} +0 -0
  73. package/dist/ldf/p-594fa9d4.entry.js +1 -0
  74. package/dist/ldf/{p-93911ad1.js → p-5b43e6be.js} +1 -1
  75. package/dist/ldf/p-65563763.entry.js +1 -0
  76. package/dist/ldf/p-65d26c45.js +1 -0
  77. package/dist/ldf/p-65ea7ab3.entry.js +1 -0
  78. package/dist/ldf/p-7a9ab85c.entry.js +1 -0
  79. package/dist/ldf/p-800a115c.entry.js +1 -0
  80. package/dist/ldf/{p-12d81208.js → p-8ec26587.js} +0 -0
  81. package/dist/ldf/{p-05ac8045.entry.js → p-95650471.entry.js} +1 -1
  82. package/dist/ldf/{p-2a08ff25.js → p-991c0877.js} +0 -0
  83. package/dist/ldf/p-9c1973a6.entry.js +1 -0
  84. package/dist/ldf/p-a1729dbd.js +1 -0
  85. package/dist/ldf/p-c0ef6296.entry.js +1 -0
  86. package/dist/ldf/p-d56dff05.js +3 -0
  87. package/dist/ldf/p-e301606a.entry.js +1 -0
  88. package/dist/ldf/p-e7a449d7.js +1 -0
  89. package/dist/ldf/p-f0de7628.entry.js +1 -0
  90. package/dist/ldf/p-fa191f47.entry.js +1 -0
  91. package/package.json +1 -1
  92. package/dist/ldf/p-31a1f740.js +0 -1
  93. package/dist/ldf/p-34e37c39.entry.js +0 -1
  94. package/dist/ldf/p-37d9f551.entry.js +0 -1
  95. package/dist/ldf/p-3a7cb4d5.entry.js +0 -1
  96. package/dist/ldf/p-3e0814c2.entry.js +0 -1
  97. package/dist/ldf/p-405928d1.js +0 -1
  98. package/dist/ldf/p-4ed034a1.js +0 -1
  99. package/dist/ldf/p-5eef960d.entry.js +0 -1
  100. package/dist/ldf/p-67c52455.entry.js +0 -1
  101. package/dist/ldf/p-69d493f3.entry.js +0 -1
  102. package/dist/ldf/p-80f6ec9f.js +0 -1
  103. package/dist/ldf/p-82f2facb.entry.js +0 -1
  104. package/dist/ldf/p-9424ca03.entry.js +0 -1
  105. package/dist/ldf/p-952f8992.entry.js +0 -1
  106. package/dist/ldf/p-9b008ca8.entry.js +0 -1
  107. package/dist/ldf/p-a712728b.js +0 -1
  108. package/dist/ldf/p-b37dd77a.entry.js +0 -1
  109. package/dist/ldf/p-b3b245a2.entry.js +0 -1
  110. package/dist/ldf/p-bc84c531.entry.js +0 -1
  111. package/dist/ldf/p-c02098e2.entry.js +0 -1
  112. package/dist/ldf/p-cec60628.js +0 -1
  113. package/dist/ldf/p-ff0452c1.js +0 -3
@@ -1,4 +1,4 @@
1
- import { L as LiturgicalDocument } from './index-2e220677.js';
1
+ import { L as LiturgicalDocument } from './book-31b8cdde.js';
2
2
 
3
3
  const BIBLE_BOOK_ABBREVIATIONS = [
4
4
  {
@@ -321,584 +321,1012 @@ const BIBLE_BOOK_NAMES = {
321
321
  short: 'Genesis',
322
322
  long: 'The Book of Genesis',
323
323
  },
324
+ es: {
325
+ short: 'Génesis',
326
+ long: 'El Libro de Génesis',
327
+ },
324
328
  },
325
329
  Exodus: {
326
330
  en: {
327
331
  short: 'Exodus',
328
332
  long: 'The Book of Exodus',
329
333
  },
334
+ es: {
335
+ short: 'Éxodo',
336
+ long: 'El Libro de Éxodo',
337
+ },
330
338
  },
331
339
  Leviticus: {
332
340
  en: {
333
341
  short: 'Leviticus',
334
342
  long: 'The Book of Leviticus',
335
343
  },
344
+ es: {
345
+ short: 'Levítico',
346
+ long: 'El Libro de Levítico',
347
+ },
336
348
  },
337
349
  Numbers: {
338
350
  en: {
339
351
  short: 'Numbers',
340
352
  long: 'The Book of Numbers',
341
353
  },
354
+ es: {
355
+ short: 'Números',
356
+ long: 'El Libro de Números',
357
+ },
342
358
  },
343
359
  Deuteronomy: {
344
360
  en: {
345
361
  short: 'Deuteronomy',
346
362
  long: 'The Book of Deuteronomy',
347
363
  },
364
+ es: {
365
+ short: 'Deuteronomio',
366
+ long: 'El Libro de Deuteronomio',
367
+ },
348
368
  },
349
369
  Joshua: {
350
370
  en: {
351
371
  short: 'Joshua',
352
372
  long: 'The Book of Joshua',
353
373
  },
374
+ es: {
375
+ short: 'Josué',
376
+ long: 'El Libro de Josué',
377
+ },
354
378
  },
355
379
  Judges: {
356
380
  en: {
357
381
  short: 'Judges',
358
382
  long: 'The Book of Judges',
359
383
  },
384
+ es: {
385
+ short: 'Jueces',
386
+ long: 'El Libro de Jueces',
387
+ },
360
388
  },
361
389
  Ruth: {
362
390
  en: {
363
391
  short: 'Ruth',
364
392
  long: 'The Book of Ruth',
365
393
  },
394
+ es: {
395
+ short: 'Rut',
396
+ long: 'El Libro de Rut',
397
+ },
366
398
  },
367
399
  '1 Samuel': {
368
400
  en: {
369
401
  short: '1 Samuel',
370
402
  long: 'The First Book of Samuel',
371
403
  },
404
+ es: {
405
+ short: '1 Samuel',
406
+ long: 'El Libro de 1 Samuel',
407
+ },
372
408
  },
373
409
  '2 Samuel': {
374
410
  en: {
375
411
  short: '2 Samuel',
376
412
  long: 'The Second Book of Samuel',
377
413
  },
414
+ es: {
415
+ short: '2 Samuel',
416
+ long: 'El Libro de 2 Samuel',
417
+ },
378
418
  },
379
419
  '1 Kings': {
380
420
  en: {
381
421
  short: '1 Kings',
382
422
  long: 'The First Book of Kings',
383
423
  },
424
+ es: {
425
+ short: '1 Reyes',
426
+ long: 'El Libro de 1 Reyes',
427
+ },
384
428
  },
385
429
  '2 Kings': {
386
430
  en: {
387
431
  short: '2 Kings',
388
432
  long: 'The Second Book of Kings',
389
433
  },
434
+ es: {
435
+ short: '2 Reyes',
436
+ long: 'El Libro de 2 Reyes',
437
+ },
390
438
  },
391
439
  '1 Chronicles': {
392
440
  en: {
393
441
  short: '1 Chronicles',
394
442
  long: 'The First Book of Chronicles',
395
443
  },
444
+ es: {
445
+ short: '1 Crónicas',
446
+ long: 'El Libro de 1 Crónicas',
447
+ },
396
448
  },
397
449
  '2 Chronicles': {
398
450
  en: {
399
451
  short: '2 Chronicles',
400
452
  long: 'The Second Book of Chronicles',
401
453
  },
454
+ es: {
455
+ short: '2 Crónicas',
456
+ long: 'El Libro de 2 Crónicas',
457
+ },
402
458
  },
403
459
  Ezra: {
404
460
  en: {
405
461
  short: 'Ezra',
406
462
  long: 'The Book of Ezra',
407
463
  },
464
+ es: {
465
+ short: 'Esdras',
466
+ long: 'El Libro de Esdras',
467
+ },
408
468
  },
409
469
  Nehemiah: {
410
470
  en: {
411
471
  short: 'Nehemiah',
412
472
  long: 'The Book of Nehemiah',
413
473
  },
474
+ es: {
475
+ short: 'Nehemías',
476
+ long: 'El Libro de Nehemías',
477
+ },
414
478
  },
415
479
  Esther: {
416
480
  en: {
417
481
  short: 'Esther',
418
482
  long: 'The Book of Esther',
419
483
  },
484
+ es: {
485
+ short: 'Ester',
486
+ long: 'El Libro de Ester',
487
+ },
420
488
  },
421
489
  Job: {
422
490
  en: {
423
491
  short: 'Job',
424
492
  long: 'The Book of Job',
425
493
  },
494
+ es: {
495
+ short: 'Job',
496
+ long: 'El Libro de Job',
497
+ },
426
498
  },
427
499
  Psalms: {
428
500
  en: {
429
501
  short: 'Psalms',
430
502
  long: 'The Psalms',
431
503
  },
504
+ es: {
505
+ short: 'Salmos',
506
+ long: 'El Libro de Salmos',
507
+ },
432
508
  },
433
509
  Proverbs: {
434
510
  en: {
435
511
  short: 'Proverbs',
436
512
  long: 'The Book of Proverbs',
437
513
  },
514
+ es: {
515
+ short: 'Proverbios',
516
+ long: 'El Libro de Proverbios',
517
+ },
438
518
  },
439
519
  Ecclesiastes: {
440
520
  en: {
441
521
  short: 'Ecclesiastes',
442
522
  long: 'The Book of Ecclesiastes',
443
523
  },
524
+ es: {
525
+ short: 'Eclesiastés',
526
+ long: 'El Libro de Eclesiastés',
527
+ },
444
528
  },
445
529
  'The Song of Solomon': {
446
530
  en: {
447
531
  short: 'The Song of Solomon',
448
532
  long: 'The Song of Solomon',
449
533
  },
534
+ es: {
535
+ short: 'Cantares',
536
+ long: 'El Libro de Cantares',
537
+ },
450
538
  },
451
539
  Isaiah: {
452
540
  en: {
453
541
  short: 'Isaiah',
454
542
  long: 'The Book of the Prophet Isaiah',
455
543
  },
544
+ es: {
545
+ short: 'Isaías',
546
+ long: 'El Libro de Isaías',
547
+ },
456
548
  },
457
549
  Jeremiah: {
458
550
  en: {
459
551
  short: 'Jeremiah',
460
552
  long: 'The Book of the Prophet Jeremiah',
461
553
  },
554
+ es: {
555
+ short: 'Jeremías',
556
+ long: 'El Libro de Jeremías',
557
+ },
462
558
  },
463
559
  Lamentations: {
464
560
  en: {
465
561
  short: 'Lamentations',
466
562
  long: 'The Book of Lamentations',
467
563
  },
564
+ es: {
565
+ short: 'Lamentaciones',
566
+ long: 'El Libro de Lamentaciones',
567
+ },
468
568
  },
469
569
  Ezekiel: {
470
570
  en: {
471
571
  short: 'Ezekiel',
472
572
  long: 'The Book of the Prophet Ezekiel',
473
573
  },
574
+ es: {
575
+ short: 'Ezequiel',
576
+ long: 'El Libro de Ezequiel',
577
+ },
474
578
  },
475
579
  Daniel: {
476
580
  en: {
477
581
  short: 'Daniel',
478
582
  long: 'The Book of Daniel',
479
583
  },
584
+ es: {
585
+ short: 'Daniel',
586
+ long: 'El Libro de Daniel',
587
+ },
480
588
  'en-CA': {
481
589
  short: 'Daniel',
482
590
  long: 'The Book of the Prophet Daniel',
483
591
  },
592
+ iu: {
593
+ short: 'Daniel',
594
+ long: 'The Book of the Prophet Daniel',
595
+ },
484
596
  },
485
597
  Hosea: {
486
598
  en: {
487
599
  short: 'Hosea',
488
600
  long: 'The Book of the Prophet Hosea',
489
601
  },
602
+ es: {
603
+ short: 'Oseas',
604
+ long: 'El Libro de Oseas',
605
+ },
490
606
  },
491
607
  Joel: {
492
608
  en: {
493
609
  short: 'Joel',
494
610
  long: 'The Book of the Prophet Joel',
495
611
  },
612
+ es: {
613
+ short: 'Joel',
614
+ long: 'El Libro de Joel',
615
+ },
496
616
  },
497
617
  Amos: {
498
618
  en: {
499
619
  short: 'Amos',
500
620
  long: 'The Book of the Prophet Amos',
501
621
  },
622
+ es: {
623
+ short: 'Amós',
624
+ long: 'El Libro de Amós',
625
+ },
502
626
  },
503
627
  Obadiah: {
504
628
  en: {
505
629
  short: 'Obadiah',
506
630
  long: 'The Book of the Prophet Obadiah',
507
631
  },
632
+ es: {
633
+ short: 'Abdías',
634
+ long: 'El Libro de Abdías',
635
+ },
508
636
  },
509
637
  Jonah: {
510
638
  en: {
511
639
  short: 'Jonah',
512
640
  long: 'The Book of the Prophet Jonah',
513
641
  },
642
+ es: {
643
+ short: 'Jonás',
644
+ long: 'El Libro de Jonás',
645
+ },
514
646
  },
515
647
  Micah: {
516
648
  en: {
517
649
  short: 'Micah',
518
650
  long: 'The Book of the Prophet Micah',
519
651
  },
652
+ es: {
653
+ short: 'Miqueas',
654
+ long: 'El Libro de Miqueas',
655
+ },
520
656
  },
521
657
  Nahum: {
522
658
  en: {
523
659
  short: 'Nahum',
524
660
  long: 'The Book of the Prophet Nahum',
525
661
  },
662
+ es: {
663
+ short: 'Nahúm',
664
+ long: 'El Libro de Nahúm',
665
+ },
526
666
  },
527
667
  Habakkuk: {
528
668
  en: {
529
669
  short: 'Habakkuk',
530
670
  long: 'The Book of the Prophet Habakkuk',
531
671
  },
672
+ es: {
673
+ short: 'Habacuc',
674
+ long: 'El Libro de Habacuc',
675
+ },
532
676
  },
533
677
  Zephaniah: {
534
678
  en: {
535
679
  short: 'Zephaniah',
536
680
  long: 'The Book of the Prophet Zephaniah',
537
681
  },
682
+ es: {
683
+ short: 'Sofonías',
684
+ long: 'El Libro de Sofonías',
685
+ },
538
686
  },
539
687
  Haggai: {
540
688
  en: {
541
689
  short: 'Haggai',
542
690
  long: 'The Book of the Prophet Haggai',
543
691
  },
692
+ es: {
693
+ short: 'Hageo',
694
+ long: 'El Libro de Hageo',
695
+ },
544
696
  },
545
697
  Zechariah: {
546
698
  en: {
547
699
  short: 'Zechariah',
548
700
  long: 'The Book of the Prophet Zechariah',
549
701
  },
702
+ es: {
703
+ short: 'Zacarías',
704
+ long: 'El Libro de Zacarías',
705
+ },
550
706
  },
551
707
  Malachi: {
552
708
  en: {
553
709
  short: 'Malachi',
554
710
  long: 'The Book of the Prophet Malachi',
555
711
  },
712
+ es: {
713
+ short: 'Malaquías',
714
+ long: 'El Libro de Malaquías',
715
+ },
556
716
  },
557
717
  Tobit: {
558
718
  en: {
559
719
  short: 'Tobit',
560
720
  long: 'The Book of Tobit',
561
721
  },
722
+ es: {
723
+ short: 'Tobías',
724
+ long: 'El Libro de Tobías',
725
+ },
562
726
  },
563
727
  Azariah: {
564
728
  en: {
565
729
  short: 'The Song of the Three Children',
566
730
  long: 'The Song of the Three Children',
567
731
  },
732
+ es: {
733
+ short: 'El Himno de los tres jóvenes ',
734
+ long: 'El Himno de los tres jóvenes ',
735
+ },
568
736
  },
569
737
  Judith: {
570
738
  en: {
571
739
  short: 'Judith',
572
740
  long: 'The Book of Judith',
573
741
  },
742
+ es: {
743
+ short: 'Judit',
744
+ long: 'El Libro de Judit',
745
+ },
574
746
  },
575
747
  Baruch: {
576
748
  en: {
577
749
  short: 'Baruch',
578
750
  long: 'The Book of Baruch',
579
751
  },
752
+ es: {
753
+ short: 'Baruc',
754
+ long: 'El Libro de Baruc',
755
+ },
580
756
  },
581
757
  '1 Maccabees': {
582
758
  en: {
583
759
  short: '1 Maccabees',
584
760
  long: 'The First Book of Maccabees',
585
761
  },
762
+ es: {
763
+ short: '1 Macabeos',
764
+ long: 'El Libro 1 de los Macabeos',
765
+ },
586
766
  },
587
767
  '2 Maccabees': {
588
768
  en: {
589
769
  short: '2 Maccabees',
590
770
  long: 'The Second Book of Maccabees',
591
771
  },
772
+ es: {
773
+ short: '2 Macabeos',
774
+ long: 'El Libro 2 de los Macabeos',
775
+ },
592
776
  },
593
777
  Wisdom: {
594
778
  en: {
595
779
  short: 'Wisdom',
596
780
  long: 'The Wisdom of Solomon',
597
781
  },
782
+ es: {
783
+ short: 'Sabiduría',
784
+ long: 'El Libro de la Sabiduría',
785
+ },
598
786
  },
599
787
  Sirach: {
600
788
  en: {
601
789
  short: 'Sirach',
602
790
  long: 'The Wisdom of Ben Sira',
603
791
  },
792
+ es: {
793
+ short: 'Eclesiástico',
794
+ long: 'La Sabiduría de Jesús ben Sirá',
795
+ },
604
796
  'en-CA': {
605
797
  short: 'Sirach',
606
798
  long: 'The Book of Ecclesiasticus',
607
799
  },
800
+ iu: {
801
+ short: 'Sirach',
802
+ long: 'The Book of Ecclesiasticus',
803
+ },
608
804
  },
609
805
  Matthew: {
610
806
  en: {
611
807
  short: 'Matthew',
612
808
  long: 'The Gospel According to Matthew',
613
809
  },
810
+ es: {
811
+ short: 'Mateo',
812
+ long: 'El Evangelio de San Mateo',
813
+ },
614
814
  'en-CA': {
615
815
  short: 'Matthew',
616
816
  long: 'The Gospel According to St. Matthew',
617
817
  },
818
+ iu: {
819
+ short: 'Matthew',
820
+ long: 'The Gospel According to St. Matthew',
821
+ },
618
822
  },
619
823
  Mark: {
620
824
  en: {
621
825
  short: 'Mark',
622
826
  long: 'The Gospel According to Mark',
623
827
  },
828
+ es: {
829
+ short: 'Marcos',
830
+ long: 'El Evangelio de San Marcos',
831
+ },
624
832
  'en-CA': {
625
833
  short: 'Mark',
626
834
  long: 'The Gospel According to St. Mark',
627
835
  },
836
+ iu: {
837
+ short: 'Mark',
838
+ long: 'The Gospel According to St. Mark',
839
+ },
628
840
  },
629
841
  Luke: {
630
842
  en: {
631
843
  short: 'Luke',
632
844
  long: 'The Gospel According to Luke',
633
845
  },
846
+ es: {
847
+ short: 'Lucas',
848
+ long: 'El Evangelio de San Mateo',
849
+ },
634
850
  'en-CA': {
635
851
  short: 'Luke',
636
852
  long: 'The Gospel According to St. Luke',
637
853
  },
854
+ iu: {
855
+ short: 'Luke',
856
+ long: 'The Gospel According to St. Luke',
857
+ },
638
858
  },
639
859
  John: {
640
860
  en: {
641
861
  short: 'John',
642
862
  long: 'The Gospel According to John',
643
863
  },
864
+ es: {
865
+ short: 'Juan',
866
+ long: 'El Evangelio de San Juan',
867
+ },
644
868
  'en-CA': {
645
869
  short: 'John',
646
870
  long: 'The Gospel According to St. John',
647
871
  },
872
+ iu: {
873
+ short: 'John',
874
+ long: 'The Gospel According to St. John',
875
+ },
648
876
  },
649
877
  Acts: {
650
878
  en: {
651
879
  short: 'Acts',
652
880
  long: 'The Acts of the Apostles',
653
881
  },
882
+ es: {
883
+ short: 'Hechos',
884
+ long: 'Los Hechos de los Apóstoles',
885
+ },
654
886
  'en-CA': {
655
887
  short: 'Acts',
656
888
  long: 'The Book of the Acts of the Apostles',
657
889
  },
890
+ iu: {
891
+ short: 'Acts',
892
+ long: 'The Book of the Acts of the Apostles',
893
+ },
658
894
  },
659
895
  Romans: {
660
896
  en: {
661
897
  short: 'Romans',
662
898
  long: 'The Letter to the Romans',
663
899
  },
900
+ es: {
901
+ short: 'Romanos',
902
+ long: 'La Epístola a los Romanos',
903
+ },
664
904
  'en-CA': {
665
905
  short: 'Romans',
666
906
  long: 'The Epistle of St. Paul the Apostle to the Romans',
667
907
  },
908
+ iu: {
909
+ short: 'Romans',
910
+ long: 'The Epistle of St. Paul the Apostle to the Romans',
911
+ },
668
912
  },
669
913
  '1 Corinthians': {
670
914
  en: {
671
915
  short: '1 Corinthians',
672
916
  long: 'The First Letter to the Corinthians',
673
917
  },
918
+ es: {
919
+ short: '1 Corintios',
920
+ long: 'La Primera Epístola a los Corintios',
921
+ },
674
922
  'en-CA': {
675
923
  short: '1 Corinthians',
676
924
  long: 'The First Epistle of St. Paul the Apostle to the Corinthians',
677
925
  },
926
+ iu: {
927
+ short: '1 Corinthians',
928
+ long: 'The First Epistle of St. Paul the Apostle to the Corinthians',
929
+ },
678
930
  },
679
931
  '2 Corinthians': {
680
932
  en: {
681
933
  short: '2 Corinthians',
682
934
  long: 'The Second Letter to the Corinthians',
683
935
  },
936
+ es: {
937
+ short: '2 Corintios',
938
+ long: 'La Segunda Epístola a los Corintios',
939
+ },
684
940
  'en-CA': {
685
941
  short: '2 Corinthians',
686
942
  long: 'The Second Epistle of St. Paul the Apostle to the Corinthians',
687
943
  },
944
+ iu: {
945
+ short: '2 Corinthians',
946
+ long: 'The Second Epistle of St. Paul the Apostle to the Corinthians',
947
+ },
688
948
  },
689
949
  Galatians: {
690
950
  en: {
691
951
  short: 'Galatians',
692
952
  long: 'The Letter to the Galatians',
693
953
  },
954
+ es: {
955
+ short: 'Gálatas',
956
+ long: 'La Epístola a los Gálatas',
957
+ },
694
958
  'en-CA': {
695
959
  short: 'Galatians',
696
960
  long: 'The Epistle of St. Paul the Apostle to the Galatians',
697
961
  },
962
+ iu: {
963
+ short: 'Galatians',
964
+ long: 'The Epistle of St. Paul the Apostle to the Galatians',
965
+ },
698
966
  },
699
967
  Ephesians: {
700
968
  en: {
701
969
  short: 'Ephesians',
702
970
  long: 'The Letter to the Ephesians',
703
971
  },
972
+ es: {
973
+ short: 'Efesios',
974
+ long: 'La Epístola a los Efesios',
975
+ },
704
976
  'en-CA': {
705
977
  short: 'Ephesians',
706
978
  long: 'The Epistle of St. Paul the Apostle to the Ephesians',
707
979
  },
980
+ iu: {
981
+ short: 'Ephesians',
982
+ long: 'The Epistle of St. Paul the Apostle to the Ephesians',
983
+ },
708
984
  },
709
985
  Philippians: {
710
986
  en: {
711
987
  short: 'Philippians',
712
988
  long: 'The Letter to the Philippians',
713
989
  },
990
+ es: {
991
+ short: 'Filipenses',
992
+ long: 'La Epístola a los Filipenses',
993
+ },
714
994
  'en-CA': {
715
995
  short: 'Philippians',
716
996
  long: 'The Epistle of St. Paul the Apostle to the Philippians',
717
997
  },
998
+ iu: {
999
+ short: 'Philippians',
1000
+ long: 'The Epistle of St. Paul the Apostle to the Philippians',
1001
+ },
718
1002
  },
719
1003
  Colossians: {
720
1004
  en: {
721
1005
  short: 'Colossians',
722
1006
  long: 'The Letter to the Colossians',
723
1007
  },
1008
+ es: {
1009
+ short: 'Colosenses',
1010
+ long: 'La Epístola a los Colosenses',
1011
+ },
724
1012
  'en-CA': {
725
1013
  short: 'Colossians',
726
1014
  long: 'The Epistle of St. Paul the Apostle to the Colossians',
727
1015
  },
1016
+ iu: {
1017
+ short: 'Colossians',
1018
+ long: 'The Epistle of St. Paul the Apostle to the Colossians',
1019
+ },
728
1020
  },
729
1021
  '1 Thessalonians': {
730
1022
  en: {
731
1023
  short: '1 Thessalonians',
732
1024
  long: 'The First Letter to the Thessalonians',
733
1025
  },
1026
+ es: {
1027
+ short: '1 Tesalonicenses',
1028
+ long: 'La Primera Epístola a los Tesalonicenses',
1029
+ },
734
1030
  'en-CA': {
735
1031
  short: '1 Thessalonians',
736
1032
  long: 'The First Epistle of St. Paul the Apostle to the Thessalonians',
737
1033
  },
1034
+ iu: {
1035
+ short: '1 Thessalonians',
1036
+ long: 'The First Epistle of St. Paul the Apostle to the Thessalonians',
1037
+ },
738
1038
  },
739
1039
  '2 Thessalonians': {
740
1040
  en: {
741
1041
  short: '2 Thessalonians',
742
1042
  long: 'The Second Letter to the Thessalonians',
743
1043
  },
1044
+ es: {
1045
+ short: '2 Tesalonicenses',
1046
+ long: 'La Segunda Epístola a los Tesalonicenses',
1047
+ },
744
1048
  'en-CA': {
745
1049
  short: '2 Thessalonians',
746
1050
  long: 'The Second Epistle of St. Paul the Apostle to the Thessalonians',
747
1051
  },
1052
+ iu: {
1053
+ short: '2 Thessalonians',
1054
+ long: 'The Second Epistle of St. Paul the Apostle to the Thessalonians',
1055
+ },
748
1056
  },
749
1057
  '1 Timothy': {
750
1058
  en: {
751
1059
  short: '1 Timothy',
752
1060
  long: 'The First Letter to Timothy',
753
1061
  },
1062
+ es: {
1063
+ short: '1 Timoteo',
1064
+ long: 'La Primera Epístola a Timoteo',
1065
+ },
754
1066
  'en-CA': {
755
1067
  short: '1 Timothy',
756
1068
  long: 'The First Epistle of St. Paul the Apostle to Timothy',
757
1069
  },
1070
+ iu: {
1071
+ short: '1 Timothy',
1072
+ long: 'The First Epistle of St. Paul the Apostle to Timothy',
1073
+ },
758
1074
  },
759
1075
  '2 Timothy': {
760
1076
  en: {
761
1077
  short: '2 Timothy',
762
1078
  long: 'The Second Letter to Timothy',
763
1079
  },
1080
+ es: {
1081
+ short: '2 Timoteo',
1082
+ long: 'La Segunda Epístola a Timoteo',
1083
+ },
764
1084
  'en-CA': {
765
1085
  short: '2 Timothy',
766
1086
  long: 'The Second Epistle of St. Paul the Apostle to Timothy',
767
1087
  },
1088
+ iu: {
1089
+ short: '2 Timothy',
1090
+ long: 'The Second Epistle of St. Paul the Apostle to Timothy',
1091
+ },
768
1092
  },
769
1093
  Titus: {
770
1094
  en: {
771
1095
  short: 'Titus',
772
1096
  long: 'The Letter to Titus',
773
1097
  },
1098
+ es: {
1099
+ short: 'Tito',
1100
+ long: 'La Epístola a Tito',
1101
+ },
774
1102
  'en-CA': {
775
1103
  short: 'Titus',
776
1104
  long: 'The Epistle of St. Paul the Apostle to Titus',
777
1105
  },
1106
+ iu: {
1107
+ short: 'Titus',
1108
+ long: 'The Epistle of St. Paul the Apostle to Titus',
1109
+ },
778
1110
  },
779
1111
  Philemon: {
780
1112
  en: {
781
1113
  short: 'Philemon',
782
1114
  long: 'The Letter to Philemon',
783
1115
  },
1116
+ es: {
1117
+ short: 'Filemón',
1118
+ long: 'La Epístola a Filemón',
1119
+ },
784
1120
  'en-CA': {
785
1121
  short: 'Philemon',
786
1122
  long: 'The Epistle of St. Paul the Apostle to Philemon',
787
1123
  },
1124
+ iu: {
1125
+ short: 'Philemon',
1126
+ long: 'The Epistle of St. Paul the Apostle to Philemon',
1127
+ },
788
1128
  },
789
1129
  Hebrews: {
790
1130
  en: {
791
1131
  short: 'Hebrews',
792
1132
  long: 'The Book of Hebrews',
793
1133
  },
1134
+ es: {
1135
+ short: 'Hebrews',
1136
+ long: 'La Epístola a los Hebreos',
1137
+ },
794
1138
  'en-CA': {
795
1139
  short: 'Hebrews',
796
1140
  long: 'The Epistle to the Hebrews',
797
1141
  },
1142
+ iu: {
1143
+ short: 'Hebrews',
1144
+ long: 'The Epistle to the Hebrews',
1145
+ },
798
1146
  },
799
1147
  James: {
800
1148
  en: {
801
1149
  short: 'James',
802
1150
  long: 'The Letter of James',
803
1151
  },
1152
+ es: {
1153
+ short: 'Santiago',
1154
+ long: 'La Epístola de Santiago',
1155
+ },
804
1156
  'en-CA': {
805
1157
  short: 'James',
806
1158
  long: 'The Epistle General of St. James',
807
1159
  },
1160
+ iu: {
1161
+ short: 'James',
1162
+ long: 'The Epistle General of St. James',
1163
+ },
808
1164
  },
809
1165
  '1 Peter': {
810
1166
  en: {
811
1167
  short: '1 Peter',
812
1168
  long: 'The First Letter of Peter',
813
1169
  },
1170
+ es: {
1171
+ short: '1 Pedro',
1172
+ long: 'La Primera Epístola de Pedro',
1173
+ },
814
1174
  'en-CA': {
815
1175
  short: '1 Peter',
816
1176
  long: 'The First Epistle General of St. Peter',
817
1177
  },
1178
+ iu: {
1179
+ short: '1 Peter',
1180
+ long: 'The First Epistle General of St. Peter',
1181
+ },
818
1182
  },
819
1183
  '2 Peter': {
820
1184
  en: {
821
1185
  short: '2 Peter',
822
1186
  long: 'The Second Letter of Peter',
823
1187
  },
1188
+ es: {
1189
+ short: '2 Pedro',
1190
+ long: 'La Segunda Epístola de Pedro',
1191
+ },
824
1192
  'en-CA': {
825
1193
  short: '2 Peter',
826
1194
  long: 'The Second Epistle General of St. Peter',
827
1195
  },
1196
+ iu: {
1197
+ short: '2 Peter',
1198
+ long: 'The Second Epistle General of St. Peter',
1199
+ },
828
1200
  },
829
1201
  '1 John': {
830
1202
  en: {
831
1203
  short: '1 John',
832
1204
  long: 'The First Letter of John',
833
1205
  },
1206
+ es: {
1207
+ short: '1 Juan',
1208
+ long: 'La Primera Epístola de Juan',
1209
+ },
834
1210
  'en-CA': {
835
1211
  short: '2 John',
836
1212
  long: 'The First Epistle General of St. John',
837
1213
  },
1214
+ iu: {
1215
+ short: '2 John',
1216
+ long: 'The First Epistle General of St. John',
1217
+ },
838
1218
  },
839
1219
  '2 John': {
840
1220
  en: {
841
1221
  short: '2 John',
842
1222
  long: 'The Second Letter of John',
843
1223
  },
1224
+ es: {
1225
+ short: '1 Juan',
1226
+ long: 'La Segunda Epístola de Juan',
1227
+ },
844
1228
  'en-CA': {
845
1229
  short: '2 John',
846
1230
  long: 'The Second Epistle General of St. John',
847
1231
  },
1232
+ iu: {
1233
+ short: '2 John',
1234
+ long: 'The Second Epistle General of St. John',
1235
+ },
848
1236
  },
849
1237
  '3 John': {
850
1238
  en: {
851
1239
  short: '3 John',
852
1240
  long: 'The Third Letter of John',
853
1241
  },
1242
+ es: {
1243
+ short: '1 Juan',
1244
+ long: 'La Tercera Epístola de Juan',
1245
+ },
854
1246
  'en-CA': {
855
1247
  short: '3 John',
856
1248
  long: 'The Third Epistle General of St. John',
857
1249
  },
1250
+ iu: {
1251
+ short: '3 John',
1252
+ long: 'The Third Epistle General of St. John',
1253
+ },
858
1254
  },
859
1255
  Jude: {
860
1256
  en: {
861
1257
  short: 'Jude',
862
1258
  long: 'The Letter of Jude',
863
1259
  },
1260
+ es: {
1261
+ short: 'Judas',
1262
+ long: 'La Epístola de Judas',
1263
+ },
864
1264
  'en-CA': {
865
1265
  short: 'Jude',
866
1266
  long: 'The Epistle General of St. Jude',
867
1267
  },
1268
+ iu: {
1269
+ short: 'Jude',
1270
+ long: 'The Epistle General of St. Jude',
1271
+ },
868
1272
  },
869
1273
  Revelation: {
870
1274
  en: {
871
1275
  short: 'Revelation',
872
1276
  long: 'The Book of Revelation',
873
1277
  },
1278
+ es: {
1279
+ short: 'Apocalipsis',
1280
+ long: 'El Apocalipsis de San Juan',
1281
+ },
874
1282
  'en-CA': {
875
1283
  short: 'Revelation',
876
1284
  long: 'The Revelation to St. John the Divine',
877
1285
  },
1286
+ iu: {
1287
+ short: 'Revelation',
1288
+ long: 'The Revelation to St. John the Divine',
1289
+ },
878
1290
  },
879
1291
  '1 Esdras': {
880
1292
  en: {
881
1293
  short: '1 Esdras',
882
1294
  long: 'The Second Book of Esdras',
883
1295
  },
1296
+ es: {
1297
+ short: '1 Esdras',
1298
+ long: '1 Esdras',
1299
+ },
884
1300
  },
885
1301
  '2 Esdras': {
886
1302
  en: {
887
1303
  short: '2 Esdras',
888
1304
  long: 'The Second Book of Esdras',
889
1305
  },
1306
+ es: {
1307
+ short: '2 Esdras',
1308
+ long: '2 Esdras',
1309
+ },
890
1310
  },
891
1311
  Bel: {
892
1312
  en: {
893
1313
  short: 'Bel',
894
1314
  long: 'Bel and the Dragon',
895
1315
  },
1316
+ es: {
1317
+ short: 'Bel',
1318
+ long: 'La Historia de Bel y el Dragón',
1319
+ },
896
1320
  },
897
1321
  'Letter of Jeremiah': {
898
1322
  en: {
899
1323
  short: 'Letter of Jeremiah',
900
1324
  long: 'The Letter of Jeremiah',
901
1325
  },
1326
+ es: {
1327
+ short: 'Letter of Jeremiah',
1328
+ long: 'La Epístola de Jeremías',
1329
+ },
902
1330
  },
903
1331
  };
904
1332
 
@@ -933,7 +1361,9 @@ class BibleReading extends LiturgicalDocument {
933
1361
  .replace(/\$\{longName\}/g, (longName !== null && longName !== void 0 ? longName : abbrev).replace('The', 'the'))
934
1362
  .replace(/\$\{shortName\}/g, shortName !== null && shortName !== void 0 ? shortName : abbrev)
935
1363
  .replace(/\$\{chapter\}/g, `${ordinalSuffix(Number(chapter) || 1)}`)
936
- .replace(/\$\{verse\}/g, `${ordinalSuffix(Number(verse) || 1)}`);
1364
+ .replace(/\$\{verse\}/g, `${ordinalSuffix(Number(verse) || 1)}`)
1365
+ .replace('de El', 'del')
1366
+ .replace('de La', 'de la');
937
1367
  (_d = (_c = (_b = this.metadata) === null || _b === void 0 ? void 0 : _b.intro) === null || _c === void 0 ? void 0 : _c.value) === null || _d === void 0 ? void 0 : _d.forEach((introValue) => {
938
1368
  // Intro is presumably a Text or similar
939
1369
  if (typeof introValue == 'string') {
@@ -1074,12 +1504,22 @@ class Psalm extends LiturgicalDocument {
1074
1504
  filtered = this.value;
1075
1505
  }
1076
1506
  else {
1077
- this.value.forEach((section) => {
1507
+ (this.value || []).forEach((section) => {
1078
1508
  const newSection = new Array();
1079
- section.value.forEach((verse) => {
1509
+ // okay, this is O(4n)...
1510
+ (section.value || []).forEach((verse) => {
1080
1511
  if (!verse.number || versesInCitation.includes(verse.number)) {
1081
1512
  newSection.push(verse);
1082
1513
  }
1514
+ else if (versesInCitation.includes(`[${verse.number}`)) {
1515
+ newSection.push(Object.assign(Object.assign({}, verse), { verse: '[' + verse.verse }));
1516
+ }
1517
+ else if (versesInCitation.includes(`${verse.number}]`)) {
1518
+ newSection.push(Object.assign(Object.assign({}, verse), { halfverse: verse.halfverse + ']' }));
1519
+ }
1520
+ else if (versesInCitation.includes(`[${verse.number}]`)) {
1521
+ newSection.push(Object.assign(Object.assign({}, verse), { verse: '[' + verse.verse, halfverse: verse.halfverse + ']' }));
1522
+ }
1083
1523
  });
1084
1524
  filtered.push(Object.assign(Object.assign({}, section), { value: newSection }));
1085
1525
  });
@@ -1096,23 +1536,52 @@ class Psalm extends LiturgicalDocument {
1096
1536
  * versesInCitation('Psalm 100:1-3,6-7, 11a')
1097
1537
  * */
1098
1538
  versesInCitation(citation) {
1539
+ function makeVerseNumber(startBracket, endBracket, num) {
1540
+ if (startBracket && endBracket) {
1541
+ return '[' + num + ']';
1542
+ }
1543
+ else if (startBracket) {
1544
+ return '[' + num;
1545
+ }
1546
+ else if (endBracket) {
1547
+ return num + ']';
1548
+ }
1549
+ else {
1550
+ return num;
1551
+ }
1552
+ }
1099
1553
  // comments assume versesInCitation('Psalm 100:1-3,6-7, 11a')
1100
1554
  // search = [ "Psalm 100", "1-3", "6-7", "11a" ]
1101
- const search = citation.replace(/Ps[\w\.]*\s*/g, '').split(/\s*[,:\s]\s*/),
1555
+ const search = citation.replace(/Ps[\w\.]*\s*/g, '').split(/\s*([\[\]\(\),:\s])\s*/),
1102
1556
  // whole = 'Psalm 100', psalm = 'Psalm', number = '100'
1103
1557
  // [whole, psalm, number] = search[0].match(/(Ps[^\s]*)\s(\d+)/),
1104
1558
  // verseRanges = [ "1-3", "6-7", "11a" ]
1105
1559
  verseRanges = search.slice(1);
1106
1560
  let verses = new Array();
1107
- verseRanges.forEach((range) => {
1108
- const [first, last] = range.replace(/a-zA-Z/g, '').split(/-|–/);
1561
+ let startBracket = false;
1562
+ let endBracket = false;
1563
+ (verseRanges || []).forEach((range, rangeIndex) => {
1564
+ if (range === '[' || range === '(') {
1565
+ startBracket = true;
1566
+ }
1567
+ if (verseRanges[rangeIndex + 1] === ']' || verseRanges[rangeIndex + 1] === ')') {
1568
+ endBracket = true;
1569
+ }
1570
+ const [first, last] = range.replace(/[^\d-s–]/g, '').split(/-|–/);
1109
1571
  if (first && last) {
1572
+ const hasEndBracket = endBracket;
1110
1573
  for (let ii = parseInt(first); ii <= parseInt(last); ii++) {
1111
- verses.push(ii.toString());
1574
+ endBracket = hasEndBracket && ii == parseInt(last);
1575
+ verses.push(makeVerseNumber(startBracket, endBracket, ii.toString()));
1576
+ startBracket = false;
1112
1577
  }
1113
1578
  }
1114
1579
  else {
1115
- verses.push(first);
1580
+ if (first) {
1581
+ verses.push(makeVerseNumber(startBracket, endBracket, first));
1582
+ startBracket = false;
1583
+ }
1584
+ endBracket = false;
1116
1585
  }
1117
1586
  });
1118
1587
  return verses;