@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,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-c9b940c7.js');
3
+ const book = require('./book-1a92678a.js');
4
4
 
5
5
  const BIBLE_BOOK_ABBREVIATIONS = [
6
6
  {
@@ -323,584 +323,1012 @@ const BIBLE_BOOK_NAMES = {
323
323
  short: 'Genesis',
324
324
  long: 'The Book of Genesis',
325
325
  },
326
+ es: {
327
+ short: 'Génesis',
328
+ long: 'El Libro de Génesis',
329
+ },
326
330
  },
327
331
  Exodus: {
328
332
  en: {
329
333
  short: 'Exodus',
330
334
  long: 'The Book of Exodus',
331
335
  },
336
+ es: {
337
+ short: 'Éxodo',
338
+ long: 'El Libro de Éxodo',
339
+ },
332
340
  },
333
341
  Leviticus: {
334
342
  en: {
335
343
  short: 'Leviticus',
336
344
  long: 'The Book of Leviticus',
337
345
  },
346
+ es: {
347
+ short: 'Levítico',
348
+ long: 'El Libro de Levítico',
349
+ },
338
350
  },
339
351
  Numbers: {
340
352
  en: {
341
353
  short: 'Numbers',
342
354
  long: 'The Book of Numbers',
343
355
  },
356
+ es: {
357
+ short: 'Números',
358
+ long: 'El Libro de Números',
359
+ },
344
360
  },
345
361
  Deuteronomy: {
346
362
  en: {
347
363
  short: 'Deuteronomy',
348
364
  long: 'The Book of Deuteronomy',
349
365
  },
366
+ es: {
367
+ short: 'Deuteronomio',
368
+ long: 'El Libro de Deuteronomio',
369
+ },
350
370
  },
351
371
  Joshua: {
352
372
  en: {
353
373
  short: 'Joshua',
354
374
  long: 'The Book of Joshua',
355
375
  },
376
+ es: {
377
+ short: 'Josué',
378
+ long: 'El Libro de Josué',
379
+ },
356
380
  },
357
381
  Judges: {
358
382
  en: {
359
383
  short: 'Judges',
360
384
  long: 'The Book of Judges',
361
385
  },
386
+ es: {
387
+ short: 'Jueces',
388
+ long: 'El Libro de Jueces',
389
+ },
362
390
  },
363
391
  Ruth: {
364
392
  en: {
365
393
  short: 'Ruth',
366
394
  long: 'The Book of Ruth',
367
395
  },
396
+ es: {
397
+ short: 'Rut',
398
+ long: 'El Libro de Rut',
399
+ },
368
400
  },
369
401
  '1 Samuel': {
370
402
  en: {
371
403
  short: '1 Samuel',
372
404
  long: 'The First Book of Samuel',
373
405
  },
406
+ es: {
407
+ short: '1 Samuel',
408
+ long: 'El Libro de 1 Samuel',
409
+ },
374
410
  },
375
411
  '2 Samuel': {
376
412
  en: {
377
413
  short: '2 Samuel',
378
414
  long: 'The Second Book of Samuel',
379
415
  },
416
+ es: {
417
+ short: '2 Samuel',
418
+ long: 'El Libro de 2 Samuel',
419
+ },
380
420
  },
381
421
  '1 Kings': {
382
422
  en: {
383
423
  short: '1 Kings',
384
424
  long: 'The First Book of Kings',
385
425
  },
426
+ es: {
427
+ short: '1 Reyes',
428
+ long: 'El Libro de 1 Reyes',
429
+ },
386
430
  },
387
431
  '2 Kings': {
388
432
  en: {
389
433
  short: '2 Kings',
390
434
  long: 'The Second Book of Kings',
391
435
  },
436
+ es: {
437
+ short: '2 Reyes',
438
+ long: 'El Libro de 2 Reyes',
439
+ },
392
440
  },
393
441
  '1 Chronicles': {
394
442
  en: {
395
443
  short: '1 Chronicles',
396
444
  long: 'The First Book of Chronicles',
397
445
  },
446
+ es: {
447
+ short: '1 Crónicas',
448
+ long: 'El Libro de 1 Crónicas',
449
+ },
398
450
  },
399
451
  '2 Chronicles': {
400
452
  en: {
401
453
  short: '2 Chronicles',
402
454
  long: 'The Second Book of Chronicles',
403
455
  },
456
+ es: {
457
+ short: '2 Crónicas',
458
+ long: 'El Libro de 2 Crónicas',
459
+ },
404
460
  },
405
461
  Ezra: {
406
462
  en: {
407
463
  short: 'Ezra',
408
464
  long: 'The Book of Ezra',
409
465
  },
466
+ es: {
467
+ short: 'Esdras',
468
+ long: 'El Libro de Esdras',
469
+ },
410
470
  },
411
471
  Nehemiah: {
412
472
  en: {
413
473
  short: 'Nehemiah',
414
474
  long: 'The Book of Nehemiah',
415
475
  },
476
+ es: {
477
+ short: 'Nehemías',
478
+ long: 'El Libro de Nehemías',
479
+ },
416
480
  },
417
481
  Esther: {
418
482
  en: {
419
483
  short: 'Esther',
420
484
  long: 'The Book of Esther',
421
485
  },
486
+ es: {
487
+ short: 'Ester',
488
+ long: 'El Libro de Ester',
489
+ },
422
490
  },
423
491
  Job: {
424
492
  en: {
425
493
  short: 'Job',
426
494
  long: 'The Book of Job',
427
495
  },
496
+ es: {
497
+ short: 'Job',
498
+ long: 'El Libro de Job',
499
+ },
428
500
  },
429
501
  Psalms: {
430
502
  en: {
431
503
  short: 'Psalms',
432
504
  long: 'The Psalms',
433
505
  },
506
+ es: {
507
+ short: 'Salmos',
508
+ long: 'El Libro de Salmos',
509
+ },
434
510
  },
435
511
  Proverbs: {
436
512
  en: {
437
513
  short: 'Proverbs',
438
514
  long: 'The Book of Proverbs',
439
515
  },
516
+ es: {
517
+ short: 'Proverbios',
518
+ long: 'El Libro de Proverbios',
519
+ },
440
520
  },
441
521
  Ecclesiastes: {
442
522
  en: {
443
523
  short: 'Ecclesiastes',
444
524
  long: 'The Book of Ecclesiastes',
445
525
  },
526
+ es: {
527
+ short: 'Eclesiastés',
528
+ long: 'El Libro de Eclesiastés',
529
+ },
446
530
  },
447
531
  'The Song of Solomon': {
448
532
  en: {
449
533
  short: 'The Song of Solomon',
450
534
  long: 'The Song of Solomon',
451
535
  },
536
+ es: {
537
+ short: 'Cantares',
538
+ long: 'El Libro de Cantares',
539
+ },
452
540
  },
453
541
  Isaiah: {
454
542
  en: {
455
543
  short: 'Isaiah',
456
544
  long: 'The Book of the Prophet Isaiah',
457
545
  },
546
+ es: {
547
+ short: 'Isaías',
548
+ long: 'El Libro de Isaías',
549
+ },
458
550
  },
459
551
  Jeremiah: {
460
552
  en: {
461
553
  short: 'Jeremiah',
462
554
  long: 'The Book of the Prophet Jeremiah',
463
555
  },
556
+ es: {
557
+ short: 'Jeremías',
558
+ long: 'El Libro de Jeremías',
559
+ },
464
560
  },
465
561
  Lamentations: {
466
562
  en: {
467
563
  short: 'Lamentations',
468
564
  long: 'The Book of Lamentations',
469
565
  },
566
+ es: {
567
+ short: 'Lamentaciones',
568
+ long: 'El Libro de Lamentaciones',
569
+ },
470
570
  },
471
571
  Ezekiel: {
472
572
  en: {
473
573
  short: 'Ezekiel',
474
574
  long: 'The Book of the Prophet Ezekiel',
475
575
  },
576
+ es: {
577
+ short: 'Ezequiel',
578
+ long: 'El Libro de Ezequiel',
579
+ },
476
580
  },
477
581
  Daniel: {
478
582
  en: {
479
583
  short: 'Daniel',
480
584
  long: 'The Book of Daniel',
481
585
  },
586
+ es: {
587
+ short: 'Daniel',
588
+ long: 'El Libro de Daniel',
589
+ },
482
590
  'en-CA': {
483
591
  short: 'Daniel',
484
592
  long: 'The Book of the Prophet Daniel',
485
593
  },
594
+ iu: {
595
+ short: 'Daniel',
596
+ long: 'The Book of the Prophet Daniel',
597
+ },
486
598
  },
487
599
  Hosea: {
488
600
  en: {
489
601
  short: 'Hosea',
490
602
  long: 'The Book of the Prophet Hosea',
491
603
  },
604
+ es: {
605
+ short: 'Oseas',
606
+ long: 'El Libro de Oseas',
607
+ },
492
608
  },
493
609
  Joel: {
494
610
  en: {
495
611
  short: 'Joel',
496
612
  long: 'The Book of the Prophet Joel',
497
613
  },
614
+ es: {
615
+ short: 'Joel',
616
+ long: 'El Libro de Joel',
617
+ },
498
618
  },
499
619
  Amos: {
500
620
  en: {
501
621
  short: 'Amos',
502
622
  long: 'The Book of the Prophet Amos',
503
623
  },
624
+ es: {
625
+ short: 'Amós',
626
+ long: 'El Libro de Amós',
627
+ },
504
628
  },
505
629
  Obadiah: {
506
630
  en: {
507
631
  short: 'Obadiah',
508
632
  long: 'The Book of the Prophet Obadiah',
509
633
  },
634
+ es: {
635
+ short: 'Abdías',
636
+ long: 'El Libro de Abdías',
637
+ },
510
638
  },
511
639
  Jonah: {
512
640
  en: {
513
641
  short: 'Jonah',
514
642
  long: 'The Book of the Prophet Jonah',
515
643
  },
644
+ es: {
645
+ short: 'Jonás',
646
+ long: 'El Libro de Jonás',
647
+ },
516
648
  },
517
649
  Micah: {
518
650
  en: {
519
651
  short: 'Micah',
520
652
  long: 'The Book of the Prophet Micah',
521
653
  },
654
+ es: {
655
+ short: 'Miqueas',
656
+ long: 'El Libro de Miqueas',
657
+ },
522
658
  },
523
659
  Nahum: {
524
660
  en: {
525
661
  short: 'Nahum',
526
662
  long: 'The Book of the Prophet Nahum',
527
663
  },
664
+ es: {
665
+ short: 'Nahúm',
666
+ long: 'El Libro de Nahúm',
667
+ },
528
668
  },
529
669
  Habakkuk: {
530
670
  en: {
531
671
  short: 'Habakkuk',
532
672
  long: 'The Book of the Prophet Habakkuk',
533
673
  },
674
+ es: {
675
+ short: 'Habacuc',
676
+ long: 'El Libro de Habacuc',
677
+ },
534
678
  },
535
679
  Zephaniah: {
536
680
  en: {
537
681
  short: 'Zephaniah',
538
682
  long: 'The Book of the Prophet Zephaniah',
539
683
  },
684
+ es: {
685
+ short: 'Sofonías',
686
+ long: 'El Libro de Sofonías',
687
+ },
540
688
  },
541
689
  Haggai: {
542
690
  en: {
543
691
  short: 'Haggai',
544
692
  long: 'The Book of the Prophet Haggai',
545
693
  },
694
+ es: {
695
+ short: 'Hageo',
696
+ long: 'El Libro de Hageo',
697
+ },
546
698
  },
547
699
  Zechariah: {
548
700
  en: {
549
701
  short: 'Zechariah',
550
702
  long: 'The Book of the Prophet Zechariah',
551
703
  },
704
+ es: {
705
+ short: 'Zacarías',
706
+ long: 'El Libro de Zacarías',
707
+ },
552
708
  },
553
709
  Malachi: {
554
710
  en: {
555
711
  short: 'Malachi',
556
712
  long: 'The Book of the Prophet Malachi',
557
713
  },
714
+ es: {
715
+ short: 'Malaquías',
716
+ long: 'El Libro de Malaquías',
717
+ },
558
718
  },
559
719
  Tobit: {
560
720
  en: {
561
721
  short: 'Tobit',
562
722
  long: 'The Book of Tobit',
563
723
  },
724
+ es: {
725
+ short: 'Tobías',
726
+ long: 'El Libro de Tobías',
727
+ },
564
728
  },
565
729
  Azariah: {
566
730
  en: {
567
731
  short: 'The Song of the Three Children',
568
732
  long: 'The Song of the Three Children',
569
733
  },
734
+ es: {
735
+ short: 'El Himno de los tres jóvenes ',
736
+ long: 'El Himno de los tres jóvenes ',
737
+ },
570
738
  },
571
739
  Judith: {
572
740
  en: {
573
741
  short: 'Judith',
574
742
  long: 'The Book of Judith',
575
743
  },
744
+ es: {
745
+ short: 'Judit',
746
+ long: 'El Libro de Judit',
747
+ },
576
748
  },
577
749
  Baruch: {
578
750
  en: {
579
751
  short: 'Baruch',
580
752
  long: 'The Book of Baruch',
581
753
  },
754
+ es: {
755
+ short: 'Baruc',
756
+ long: 'El Libro de Baruc',
757
+ },
582
758
  },
583
759
  '1 Maccabees': {
584
760
  en: {
585
761
  short: '1 Maccabees',
586
762
  long: 'The First Book of Maccabees',
587
763
  },
764
+ es: {
765
+ short: '1 Macabeos',
766
+ long: 'El Libro 1 de los Macabeos',
767
+ },
588
768
  },
589
769
  '2 Maccabees': {
590
770
  en: {
591
771
  short: '2 Maccabees',
592
772
  long: 'The Second Book of Maccabees',
593
773
  },
774
+ es: {
775
+ short: '2 Macabeos',
776
+ long: 'El Libro 2 de los Macabeos',
777
+ },
594
778
  },
595
779
  Wisdom: {
596
780
  en: {
597
781
  short: 'Wisdom',
598
782
  long: 'The Wisdom of Solomon',
599
783
  },
784
+ es: {
785
+ short: 'Sabiduría',
786
+ long: 'El Libro de la Sabiduría',
787
+ },
600
788
  },
601
789
  Sirach: {
602
790
  en: {
603
791
  short: 'Sirach',
604
792
  long: 'The Wisdom of Ben Sira',
605
793
  },
794
+ es: {
795
+ short: 'Eclesiástico',
796
+ long: 'La Sabiduría de Jesús ben Sirá',
797
+ },
606
798
  'en-CA': {
607
799
  short: 'Sirach',
608
800
  long: 'The Book of Ecclesiasticus',
609
801
  },
802
+ iu: {
803
+ short: 'Sirach',
804
+ long: 'The Book of Ecclesiasticus',
805
+ },
610
806
  },
611
807
  Matthew: {
612
808
  en: {
613
809
  short: 'Matthew',
614
810
  long: 'The Gospel According to Matthew',
615
811
  },
812
+ es: {
813
+ short: 'Mateo',
814
+ long: 'El Evangelio de San Mateo',
815
+ },
616
816
  'en-CA': {
617
817
  short: 'Matthew',
618
818
  long: 'The Gospel According to St. Matthew',
619
819
  },
820
+ iu: {
821
+ short: 'Matthew',
822
+ long: 'The Gospel According to St. Matthew',
823
+ },
620
824
  },
621
825
  Mark: {
622
826
  en: {
623
827
  short: 'Mark',
624
828
  long: 'The Gospel According to Mark',
625
829
  },
830
+ es: {
831
+ short: 'Marcos',
832
+ long: 'El Evangelio de San Marcos',
833
+ },
626
834
  'en-CA': {
627
835
  short: 'Mark',
628
836
  long: 'The Gospel According to St. Mark',
629
837
  },
838
+ iu: {
839
+ short: 'Mark',
840
+ long: 'The Gospel According to St. Mark',
841
+ },
630
842
  },
631
843
  Luke: {
632
844
  en: {
633
845
  short: 'Luke',
634
846
  long: 'The Gospel According to Luke',
635
847
  },
848
+ es: {
849
+ short: 'Lucas',
850
+ long: 'El Evangelio de San Mateo',
851
+ },
636
852
  'en-CA': {
637
853
  short: 'Luke',
638
854
  long: 'The Gospel According to St. Luke',
639
855
  },
856
+ iu: {
857
+ short: 'Luke',
858
+ long: 'The Gospel According to St. Luke',
859
+ },
640
860
  },
641
861
  John: {
642
862
  en: {
643
863
  short: 'John',
644
864
  long: 'The Gospel According to John',
645
865
  },
866
+ es: {
867
+ short: 'Juan',
868
+ long: 'El Evangelio de San Juan',
869
+ },
646
870
  'en-CA': {
647
871
  short: 'John',
648
872
  long: 'The Gospel According to St. John',
649
873
  },
874
+ iu: {
875
+ short: 'John',
876
+ long: 'The Gospel According to St. John',
877
+ },
650
878
  },
651
879
  Acts: {
652
880
  en: {
653
881
  short: 'Acts',
654
882
  long: 'The Acts of the Apostles',
655
883
  },
884
+ es: {
885
+ short: 'Hechos',
886
+ long: 'Los Hechos de los Apóstoles',
887
+ },
656
888
  'en-CA': {
657
889
  short: 'Acts',
658
890
  long: 'The Book of the Acts of the Apostles',
659
891
  },
892
+ iu: {
893
+ short: 'Acts',
894
+ long: 'The Book of the Acts of the Apostles',
895
+ },
660
896
  },
661
897
  Romans: {
662
898
  en: {
663
899
  short: 'Romans',
664
900
  long: 'The Letter to the Romans',
665
901
  },
902
+ es: {
903
+ short: 'Romanos',
904
+ long: 'La Epístola a los Romanos',
905
+ },
666
906
  'en-CA': {
667
907
  short: 'Romans',
668
908
  long: 'The Epistle of St. Paul the Apostle to the Romans',
669
909
  },
910
+ iu: {
911
+ short: 'Romans',
912
+ long: 'The Epistle of St. Paul the Apostle to the Romans',
913
+ },
670
914
  },
671
915
  '1 Corinthians': {
672
916
  en: {
673
917
  short: '1 Corinthians',
674
918
  long: 'The First Letter to the Corinthians',
675
919
  },
920
+ es: {
921
+ short: '1 Corintios',
922
+ long: 'La Primera Epístola a los Corintios',
923
+ },
676
924
  'en-CA': {
677
925
  short: '1 Corinthians',
678
926
  long: 'The First Epistle of St. Paul the Apostle to the Corinthians',
679
927
  },
928
+ iu: {
929
+ short: '1 Corinthians',
930
+ long: 'The First Epistle of St. Paul the Apostle to the Corinthians',
931
+ },
680
932
  },
681
933
  '2 Corinthians': {
682
934
  en: {
683
935
  short: '2 Corinthians',
684
936
  long: 'The Second Letter to the Corinthians',
685
937
  },
938
+ es: {
939
+ short: '2 Corintios',
940
+ long: 'La Segunda Epístola a los Corintios',
941
+ },
686
942
  'en-CA': {
687
943
  short: '2 Corinthians',
688
944
  long: 'The Second Epistle of St. Paul the Apostle to the Corinthians',
689
945
  },
946
+ iu: {
947
+ short: '2 Corinthians',
948
+ long: 'The Second Epistle of St. Paul the Apostle to the Corinthians',
949
+ },
690
950
  },
691
951
  Galatians: {
692
952
  en: {
693
953
  short: 'Galatians',
694
954
  long: 'The Letter to the Galatians',
695
955
  },
956
+ es: {
957
+ short: 'Gálatas',
958
+ long: 'La Epístola a los Gálatas',
959
+ },
696
960
  'en-CA': {
697
961
  short: 'Galatians',
698
962
  long: 'The Epistle of St. Paul the Apostle to the Galatians',
699
963
  },
964
+ iu: {
965
+ short: 'Galatians',
966
+ long: 'The Epistle of St. Paul the Apostle to the Galatians',
967
+ },
700
968
  },
701
969
  Ephesians: {
702
970
  en: {
703
971
  short: 'Ephesians',
704
972
  long: 'The Letter to the Ephesians',
705
973
  },
974
+ es: {
975
+ short: 'Efesios',
976
+ long: 'La Epístola a los Efesios',
977
+ },
706
978
  'en-CA': {
707
979
  short: 'Ephesians',
708
980
  long: 'The Epistle of St. Paul the Apostle to the Ephesians',
709
981
  },
982
+ iu: {
983
+ short: 'Ephesians',
984
+ long: 'The Epistle of St. Paul the Apostle to the Ephesians',
985
+ },
710
986
  },
711
987
  Philippians: {
712
988
  en: {
713
989
  short: 'Philippians',
714
990
  long: 'The Letter to the Philippians',
715
991
  },
992
+ es: {
993
+ short: 'Filipenses',
994
+ long: 'La Epístola a los Filipenses',
995
+ },
716
996
  'en-CA': {
717
997
  short: 'Philippians',
718
998
  long: 'The Epistle of St. Paul the Apostle to the Philippians',
719
999
  },
1000
+ iu: {
1001
+ short: 'Philippians',
1002
+ long: 'The Epistle of St. Paul the Apostle to the Philippians',
1003
+ },
720
1004
  },
721
1005
  Colossians: {
722
1006
  en: {
723
1007
  short: 'Colossians',
724
1008
  long: 'The Letter to the Colossians',
725
1009
  },
1010
+ es: {
1011
+ short: 'Colosenses',
1012
+ long: 'La Epístola a los Colosenses',
1013
+ },
726
1014
  'en-CA': {
727
1015
  short: 'Colossians',
728
1016
  long: 'The Epistle of St. Paul the Apostle to the Colossians',
729
1017
  },
1018
+ iu: {
1019
+ short: 'Colossians',
1020
+ long: 'The Epistle of St. Paul the Apostle to the Colossians',
1021
+ },
730
1022
  },
731
1023
  '1 Thessalonians': {
732
1024
  en: {
733
1025
  short: '1 Thessalonians',
734
1026
  long: 'The First Letter to the Thessalonians',
735
1027
  },
1028
+ es: {
1029
+ short: '1 Tesalonicenses',
1030
+ long: 'La Primera Epístola a los Tesalonicenses',
1031
+ },
736
1032
  'en-CA': {
737
1033
  short: '1 Thessalonians',
738
1034
  long: 'The First Epistle of St. Paul the Apostle to the Thessalonians',
739
1035
  },
1036
+ iu: {
1037
+ short: '1 Thessalonians',
1038
+ long: 'The First Epistle of St. Paul the Apostle to the Thessalonians',
1039
+ },
740
1040
  },
741
1041
  '2 Thessalonians': {
742
1042
  en: {
743
1043
  short: '2 Thessalonians',
744
1044
  long: 'The Second Letter to the Thessalonians',
745
1045
  },
1046
+ es: {
1047
+ short: '2 Tesalonicenses',
1048
+ long: 'La Segunda Epístola a los Tesalonicenses',
1049
+ },
746
1050
  'en-CA': {
747
1051
  short: '2 Thessalonians',
748
1052
  long: 'The Second Epistle of St. Paul the Apostle to the Thessalonians',
749
1053
  },
1054
+ iu: {
1055
+ short: '2 Thessalonians',
1056
+ long: 'The Second Epistle of St. Paul the Apostle to the Thessalonians',
1057
+ },
750
1058
  },
751
1059
  '1 Timothy': {
752
1060
  en: {
753
1061
  short: '1 Timothy',
754
1062
  long: 'The First Letter to Timothy',
755
1063
  },
1064
+ es: {
1065
+ short: '1 Timoteo',
1066
+ long: 'La Primera Epístola a Timoteo',
1067
+ },
756
1068
  'en-CA': {
757
1069
  short: '1 Timothy',
758
1070
  long: 'The First Epistle of St. Paul the Apostle to Timothy',
759
1071
  },
1072
+ iu: {
1073
+ short: '1 Timothy',
1074
+ long: 'The First Epistle of St. Paul the Apostle to Timothy',
1075
+ },
760
1076
  },
761
1077
  '2 Timothy': {
762
1078
  en: {
763
1079
  short: '2 Timothy',
764
1080
  long: 'The Second Letter to Timothy',
765
1081
  },
1082
+ es: {
1083
+ short: '2 Timoteo',
1084
+ long: 'La Segunda Epístola a Timoteo',
1085
+ },
766
1086
  'en-CA': {
767
1087
  short: '2 Timothy',
768
1088
  long: 'The Second Epistle of St. Paul the Apostle to Timothy',
769
1089
  },
1090
+ iu: {
1091
+ short: '2 Timothy',
1092
+ long: 'The Second Epistle of St. Paul the Apostle to Timothy',
1093
+ },
770
1094
  },
771
1095
  Titus: {
772
1096
  en: {
773
1097
  short: 'Titus',
774
1098
  long: 'The Letter to Titus',
775
1099
  },
1100
+ es: {
1101
+ short: 'Tito',
1102
+ long: 'La Epístola a Tito',
1103
+ },
776
1104
  'en-CA': {
777
1105
  short: 'Titus',
778
1106
  long: 'The Epistle of St. Paul the Apostle to Titus',
779
1107
  },
1108
+ iu: {
1109
+ short: 'Titus',
1110
+ long: 'The Epistle of St. Paul the Apostle to Titus',
1111
+ },
780
1112
  },
781
1113
  Philemon: {
782
1114
  en: {
783
1115
  short: 'Philemon',
784
1116
  long: 'The Letter to Philemon',
785
1117
  },
1118
+ es: {
1119
+ short: 'Filemón',
1120
+ long: 'La Epístola a Filemón',
1121
+ },
786
1122
  'en-CA': {
787
1123
  short: 'Philemon',
788
1124
  long: 'The Epistle of St. Paul the Apostle to Philemon',
789
1125
  },
1126
+ iu: {
1127
+ short: 'Philemon',
1128
+ long: 'The Epistle of St. Paul the Apostle to Philemon',
1129
+ },
790
1130
  },
791
1131
  Hebrews: {
792
1132
  en: {
793
1133
  short: 'Hebrews',
794
1134
  long: 'The Book of Hebrews',
795
1135
  },
1136
+ es: {
1137
+ short: 'Hebrews',
1138
+ long: 'La Epístola a los Hebreos',
1139
+ },
796
1140
  'en-CA': {
797
1141
  short: 'Hebrews',
798
1142
  long: 'The Epistle to the Hebrews',
799
1143
  },
1144
+ iu: {
1145
+ short: 'Hebrews',
1146
+ long: 'The Epistle to the Hebrews',
1147
+ },
800
1148
  },
801
1149
  James: {
802
1150
  en: {
803
1151
  short: 'James',
804
1152
  long: 'The Letter of James',
805
1153
  },
1154
+ es: {
1155
+ short: 'Santiago',
1156
+ long: 'La Epístola de Santiago',
1157
+ },
806
1158
  'en-CA': {
807
1159
  short: 'James',
808
1160
  long: 'The Epistle General of St. James',
809
1161
  },
1162
+ iu: {
1163
+ short: 'James',
1164
+ long: 'The Epistle General of St. James',
1165
+ },
810
1166
  },
811
1167
  '1 Peter': {
812
1168
  en: {
813
1169
  short: '1 Peter',
814
1170
  long: 'The First Letter of Peter',
815
1171
  },
1172
+ es: {
1173
+ short: '1 Pedro',
1174
+ long: 'La Primera Epístola de Pedro',
1175
+ },
816
1176
  'en-CA': {
817
1177
  short: '1 Peter',
818
1178
  long: 'The First Epistle General of St. Peter',
819
1179
  },
1180
+ iu: {
1181
+ short: '1 Peter',
1182
+ long: 'The First Epistle General of St. Peter',
1183
+ },
820
1184
  },
821
1185
  '2 Peter': {
822
1186
  en: {
823
1187
  short: '2 Peter',
824
1188
  long: 'The Second Letter of Peter',
825
1189
  },
1190
+ es: {
1191
+ short: '2 Pedro',
1192
+ long: 'La Segunda Epístola de Pedro',
1193
+ },
826
1194
  'en-CA': {
827
1195
  short: '2 Peter',
828
1196
  long: 'The Second Epistle General of St. Peter',
829
1197
  },
1198
+ iu: {
1199
+ short: '2 Peter',
1200
+ long: 'The Second Epistle General of St. Peter',
1201
+ },
830
1202
  },
831
1203
  '1 John': {
832
1204
  en: {
833
1205
  short: '1 John',
834
1206
  long: 'The First Letter of John',
835
1207
  },
1208
+ es: {
1209
+ short: '1 Juan',
1210
+ long: 'La Primera Epístola de Juan',
1211
+ },
836
1212
  'en-CA': {
837
1213
  short: '2 John',
838
1214
  long: 'The First Epistle General of St. John',
839
1215
  },
1216
+ iu: {
1217
+ short: '2 John',
1218
+ long: 'The First Epistle General of St. John',
1219
+ },
840
1220
  },
841
1221
  '2 John': {
842
1222
  en: {
843
1223
  short: '2 John',
844
1224
  long: 'The Second Letter of John',
845
1225
  },
1226
+ es: {
1227
+ short: '1 Juan',
1228
+ long: 'La Segunda Epístola de Juan',
1229
+ },
846
1230
  'en-CA': {
847
1231
  short: '2 John',
848
1232
  long: 'The Second Epistle General of St. John',
849
1233
  },
1234
+ iu: {
1235
+ short: '2 John',
1236
+ long: 'The Second Epistle General of St. John',
1237
+ },
850
1238
  },
851
1239
  '3 John': {
852
1240
  en: {
853
1241
  short: '3 John',
854
1242
  long: 'The Third Letter of John',
855
1243
  },
1244
+ es: {
1245
+ short: '1 Juan',
1246
+ long: 'La Tercera Epístola de Juan',
1247
+ },
856
1248
  'en-CA': {
857
1249
  short: '3 John',
858
1250
  long: 'The Third Epistle General of St. John',
859
1251
  },
1252
+ iu: {
1253
+ short: '3 John',
1254
+ long: 'The Third Epistle General of St. John',
1255
+ },
860
1256
  },
861
1257
  Jude: {
862
1258
  en: {
863
1259
  short: 'Jude',
864
1260
  long: 'The Letter of Jude',
865
1261
  },
1262
+ es: {
1263
+ short: 'Judas',
1264
+ long: 'La Epístola de Judas',
1265
+ },
866
1266
  'en-CA': {
867
1267
  short: 'Jude',
868
1268
  long: 'The Epistle General of St. Jude',
869
1269
  },
1270
+ iu: {
1271
+ short: 'Jude',
1272
+ long: 'The Epistle General of St. Jude',
1273
+ },
870
1274
  },
871
1275
  Revelation: {
872
1276
  en: {
873
1277
  short: 'Revelation',
874
1278
  long: 'The Book of Revelation',
875
1279
  },
1280
+ es: {
1281
+ short: 'Apocalipsis',
1282
+ long: 'El Apocalipsis de San Juan',
1283
+ },
876
1284
  'en-CA': {
877
1285
  short: 'Revelation',
878
1286
  long: 'The Revelation to St. John the Divine',
879
1287
  },
1288
+ iu: {
1289
+ short: 'Revelation',
1290
+ long: 'The Revelation to St. John the Divine',
1291
+ },
880
1292
  },
881
1293
  '1 Esdras': {
882
1294
  en: {
883
1295
  short: '1 Esdras',
884
1296
  long: 'The Second Book of Esdras',
885
1297
  },
1298
+ es: {
1299
+ short: '1 Esdras',
1300
+ long: '1 Esdras',
1301
+ },
886
1302
  },
887
1303
  '2 Esdras': {
888
1304
  en: {
889
1305
  short: '2 Esdras',
890
1306
  long: 'The Second Book of Esdras',
891
1307
  },
1308
+ es: {
1309
+ short: '2 Esdras',
1310
+ long: '2 Esdras',
1311
+ },
892
1312
  },
893
1313
  Bel: {
894
1314
  en: {
895
1315
  short: 'Bel',
896
1316
  long: 'Bel and the Dragon',
897
1317
  },
1318
+ es: {
1319
+ short: 'Bel',
1320
+ long: 'La Historia de Bel y el Dragón',
1321
+ },
898
1322
  },
899
1323
  'Letter of Jeremiah': {
900
1324
  en: {
901
1325
  short: 'Letter of Jeremiah',
902
1326
  long: 'The Letter of Jeremiah',
903
1327
  },
1328
+ es: {
1329
+ short: 'Letter of Jeremiah',
1330
+ long: 'La Epístola de Jeremías',
1331
+ },
904
1332
  },
905
1333
  };
906
1334
 
@@ -920,7 +1348,7 @@ function ordinalSuffix(i) {
920
1348
 
921
1349
  const STYLES$2 = ['long', 'short'];
922
1350
  /** BibleReading represents liturgical instructions. */
923
- class BibleReading extends index.LiturgicalDocument {
1351
+ class BibleReading extends book.LiturgicalDocument {
924
1352
  //** Constructor takes a Javascript object containing the class's properties */
925
1353
  constructor(data = {}) {
926
1354
  super(data);
@@ -935,7 +1363,9 @@ class BibleReading extends index.LiturgicalDocument {
935
1363
  .replace(/\$\{longName\}/g, (longName !== null && longName !== void 0 ? longName : abbrev).replace('The', 'the'))
936
1364
  .replace(/\$\{shortName\}/g, shortName !== null && shortName !== void 0 ? shortName : abbrev)
937
1365
  .replace(/\$\{chapter\}/g, `${ordinalSuffix(Number(chapter) || 1)}`)
938
- .replace(/\$\{verse\}/g, `${ordinalSuffix(Number(verse) || 1)}`);
1366
+ .replace(/\$\{verse\}/g, `${ordinalSuffix(Number(verse) || 1)}`)
1367
+ .replace('de El', 'del')
1368
+ .replace('de La', 'de la');
939
1369
  (_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) => {
940
1370
  // Intro is presumably a Text or similar
941
1371
  if (typeof introValue == 'string') {
@@ -950,7 +1380,7 @@ class BibleReading extends index.LiturgicalDocument {
950
1380
  newValue.push(process(introValue));
951
1381
  }
952
1382
  });
953
- this.metadata.compiled_intro = new index.LiturgicalDocument(Object.assign(Object.assign({}, this.metadata.intro), { value: newValue }));
1383
+ this.metadata.compiled_intro = new book.LiturgicalDocument(Object.assign(Object.assign({}, this.metadata.intro), { value: newValue }));
954
1384
  }
955
1385
  }
956
1386
  /** Generates an abbreviated book name from citation
@@ -1044,14 +1474,14 @@ class BibleReading extends index.LiturgicalDocument {
1044
1474
  }
1045
1475
 
1046
1476
  /** Represents the "recipe" to compile a liturgy */
1047
- class Liturgy extends index.LiturgicalDocument {
1477
+ class Liturgy extends book.LiturgicalDocument {
1048
1478
  /** No meaningful differences in display format for liturgies */
1049
1479
  availableDisplayFormats() {
1050
1480
  return [];
1051
1481
  }
1052
1482
  }
1053
1483
 
1054
- class Meditation extends index.LiturgicalDocument {
1484
+ class Meditation extends book.LiturgicalDocument {
1055
1485
  //** Constructor takes a Javascript object containing the class's properties */
1056
1486
  constructor(data = {}) {
1057
1487
  super(data);
@@ -1060,7 +1490,7 @@ class Meditation extends index.LiturgicalDocument {
1060
1490
 
1061
1491
  const STYLES$1 = ['psalm', 'canticle', 'invitatory'];
1062
1492
  /** Psalm represents liturgical instructions. */
1063
- class Psalm extends index.LiturgicalDocument {
1493
+ class Psalm extends book.LiturgicalDocument {
1064
1494
  //** Constructor takes a Javascript object containing the class's properties */
1065
1495
  constructor(data = {}) {
1066
1496
  super(data);
@@ -1076,12 +1506,22 @@ class Psalm extends index.LiturgicalDocument {
1076
1506
  filtered = this.value;
1077
1507
  }
1078
1508
  else {
1079
- this.value.forEach((section) => {
1509
+ (this.value || []).forEach((section) => {
1080
1510
  const newSection = new Array();
1081
- section.value.forEach((verse) => {
1511
+ // okay, this is O(4n)...
1512
+ (section.value || []).forEach((verse) => {
1082
1513
  if (!verse.number || versesInCitation.includes(verse.number)) {
1083
1514
  newSection.push(verse);
1084
1515
  }
1516
+ else if (versesInCitation.includes(`[${verse.number}`)) {
1517
+ newSection.push(Object.assign(Object.assign({}, verse), { verse: '[' + verse.verse }));
1518
+ }
1519
+ else if (versesInCitation.includes(`${verse.number}]`)) {
1520
+ newSection.push(Object.assign(Object.assign({}, verse), { halfverse: verse.halfverse + ']' }));
1521
+ }
1522
+ else if (versesInCitation.includes(`[${verse.number}]`)) {
1523
+ newSection.push(Object.assign(Object.assign({}, verse), { verse: '[' + verse.verse, halfverse: verse.halfverse + ']' }));
1524
+ }
1085
1525
  });
1086
1526
  filtered.push(Object.assign(Object.assign({}, section), { value: newSection }));
1087
1527
  });
@@ -1098,23 +1538,52 @@ class Psalm extends index.LiturgicalDocument {
1098
1538
  * versesInCitation('Psalm 100:1-3,6-7, 11a')
1099
1539
  * */
1100
1540
  versesInCitation(citation) {
1541
+ function makeVerseNumber(startBracket, endBracket, num) {
1542
+ if (startBracket && endBracket) {
1543
+ return '[' + num + ']';
1544
+ }
1545
+ else if (startBracket) {
1546
+ return '[' + num;
1547
+ }
1548
+ else if (endBracket) {
1549
+ return num + ']';
1550
+ }
1551
+ else {
1552
+ return num;
1553
+ }
1554
+ }
1101
1555
  // comments assume versesInCitation('Psalm 100:1-3,6-7, 11a')
1102
1556
  // search = [ "Psalm 100", "1-3", "6-7", "11a" ]
1103
- const search = citation.replace(/Ps[\w\.]*\s*/g, '').split(/\s*[,:\s]\s*/),
1557
+ const search = citation.replace(/Ps[\w\.]*\s*/g, '').split(/\s*([\[\]\(\),:\s])\s*/),
1104
1558
  // whole = 'Psalm 100', psalm = 'Psalm', number = '100'
1105
1559
  // [whole, psalm, number] = search[0].match(/(Ps[^\s]*)\s(\d+)/),
1106
1560
  // verseRanges = [ "1-3", "6-7", "11a" ]
1107
1561
  verseRanges = search.slice(1);
1108
1562
  let verses = new Array();
1109
- verseRanges.forEach((range) => {
1110
- const [first, last] = range.replace(/a-zA-Z/g, '').split(/-|–/);
1563
+ let startBracket = false;
1564
+ let endBracket = false;
1565
+ (verseRanges || []).forEach((range, rangeIndex) => {
1566
+ if (range === '[' || range === '(') {
1567
+ startBracket = true;
1568
+ }
1569
+ if (verseRanges[rangeIndex + 1] === ']' || verseRanges[rangeIndex + 1] === ')') {
1570
+ endBracket = true;
1571
+ }
1572
+ const [first, last] = range.replace(/[^\d-s–]/g, '').split(/-|–/);
1111
1573
  if (first && last) {
1574
+ const hasEndBracket = endBracket;
1112
1575
  for (let ii = parseInt(first); ii <= parseInt(last); ii++) {
1113
- verses.push(ii.toString());
1576
+ endBracket = hasEndBracket && ii == parseInt(last);
1577
+ verses.push(makeVerseNumber(startBracket, endBracket, ii.toString()));
1578
+ startBracket = false;
1114
1579
  }
1115
1580
  }
1116
1581
  else {
1117
- verses.push(first);
1582
+ if (first) {
1583
+ verses.push(makeVerseNumber(startBracket, endBracket, first));
1584
+ startBracket = false;
1585
+ }
1586
+ endBracket = false;
1118
1587
  }
1119
1588
  });
1120
1589
  return verses;
@@ -1148,7 +1617,7 @@ class Psalm extends index.LiturgicalDocument {
1148
1617
 
1149
1618
  const STYLES = ['preces', 'litany', 'responsive'];
1150
1619
  /** Text represents collect or any other short prayer. */
1151
- class ResponsivePrayer extends index.LiturgicalDocument {
1620
+ class ResponsivePrayer extends book.LiturgicalDocument {
1152
1621
  //** Constructor takes a Javascript object containing the class's properties */
1153
1622
  constructor(data = {}) {
1154
1623
  super(data);
@@ -1163,7 +1632,7 @@ class ResponsivePrayer extends index.LiturgicalDocument {
1163
1632
  }
1164
1633
 
1165
1634
  /** Rubric represents liturgical instructions. */
1166
- class Rubric extends index.LiturgicalDocument {
1635
+ class Rubric extends book.LiturgicalDocument {
1167
1636
  //** Constructor takes a Javascript object containing the class's properties */
1168
1637
  constructor(data = {}) {
1169
1638
  super(data);