@venite/components 0.16.16 → 0.16.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{change-cdb1e8c0.js → change-deff223a.js} +0 -0
- package/dist/cjs/{cursor-81bfd01e.js → cursor-849a5372.js} +0 -0
- package/dist/cjs/{heading-5afc2b24.js → heading-fae3ce98.js} +2 -2
- package/dist/cjs/{image-3bee3e73.js → image-41000c7b.js} +2 -2
- package/dist/cjs/{book-1a92678a.js → index-c9b940c7.js} +96 -2
- package/dist/cjs/ion-button_13.cjs.entry.js +3 -2
- package/dist/cjs/ion-card-content_6.cjs.entry.js +4 -3
- package/dist/cjs/ion-checkbox_3.cjs.entry.js +3 -2
- package/dist/cjs/ion-input_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment_16.cjs.entry.js +20 -20
- package/dist/cjs/ldf-day-name_5.cjs.entry.js +93 -79
- package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +10 -9
- package/dist/cjs/ldf-editable-condition-piece.cjs.entry.js +7 -6
- package/dist/cjs/ldf-editable-condition.cjs.entry.js +5 -4
- package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +11 -10
- package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +10 -9
- package/dist/cjs/ldf-editable-metadata.cjs.entry.js +11 -10
- package/dist/cjs/ldf-editable-preference-option.cjs.entry.js +4 -3
- package/dist/cjs/ldf-editable-preference.cjs.entry.js +4 -3
- package/dist/cjs/ldf-editable-preferences.cjs.entry.js +4 -3
- package/dist/cjs/ldf-editable-string-list.cjs.entry.js +3 -2
- package/dist/cjs/ldf-editor.cjs.entry.js +14 -14
- package/dist/cjs/ldf.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{option-a078d432.js → option-6fb78f5c.js} +5 -17
- package/dist/cjs/{preference-a4bd51c4.js → preference-1365e161.js} +0 -0
- package/dist/cjs/{refrain-91fb446b.js → refrain-f51fd88d.js} +2 -2
- package/dist/cjs/{rubric-586cf42b.js → rubric-ad2f926f.js} +15 -170
- package/dist/cjs/{specific-class-35eb52b1.js → specific-class-071762e7.js} +5 -5
- package/dist/cjs/{text-5edb80f3.js → text-8d8d32e7.js} +2 -2
- package/dist/collection/components/string/dist/string.js +2 -2
- package/dist/collection/components/string/string.js +3 -3
- package/dist/collection/components/text/dist/text.js +43 -16
- package/dist/collection/components/text/text.css +14 -1
- package/dist/collection/components/text/text.i18n.en.json +2 -1
- package/dist/collection/components/text/text.i18n.es.json +2 -1
- package/dist/collection/components/text/text.js +71 -19
- package/dist/collection/i18n/text.i18n.en.json +2 -1
- package/dist/collection/i18n/text.i18n.es.json +2 -1
- package/dist/esm/{change-ea574d32.js → change-b077b77c.js} +0 -0
- package/dist/esm/{cursor-0e47f111.js → cursor-cb97384b.js} +0 -0
- package/dist/esm/{heading-cc5ffa8a.js → heading-c03fbe8b.js} +1 -1
- package/dist/esm/{image-c6a3f0c5.js → image-a1336f0a.js} +1 -1
- package/dist/esm/{book-31b8cdde.js → index-2e220677.js} +96 -2
- package/dist/esm/ion-button_13.entry.js +3 -2
- package/dist/esm/ion-card-content_6.entry.js +4 -3
- package/dist/esm/ion-checkbox_3.entry.js +3 -2
- package/dist/esm/ion-input_2.entry.js +3 -3
- package/dist/esm/ion-segment_16.entry.js +7 -7
- package/dist/esm/ldf-day-name_5.entry.js +34 -20
- package/dist/esm/ldf-editable-add-block-menu.entry.js +8 -7
- package/dist/esm/ldf-editable-condition-piece.entry.js +3 -2
- package/dist/esm/ldf-editable-condition.entry.js +3 -2
- package/dist/esm/ldf-editable-filter-documents.entry.js +3 -2
- package/dist/esm/ldf-editable-lookup_2.entry.js +9 -8
- package/dist/esm/ldf-editable-metadata.entry.js +9 -8
- package/dist/esm/ldf-editable-preference-option.entry.js +4 -3
- package/dist/esm/ldf-editable-preference.entry.js +4 -3
- package/dist/esm/ldf-editable-preferences.entry.js +4 -3
- package/dist/esm/ldf-editable-string-list.entry.js +3 -2
- package/dist/esm/ldf-editor.entry.js +3 -3
- package/dist/esm/ldf.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{option-c16af13a.js → option-e130a4b2.js} +4 -16
- package/dist/esm/{preference-d070d4cb.js → preference-60cdfde3.js} +0 -0
- package/dist/esm/{refrain-75a412cb.js → refrain-9b9f05cc.js} +1 -1
- package/dist/esm/{rubric-54f45eb5.js → rubric-0d2b870d.js} +8 -163
- package/dist/esm/{specific-class-4cec1eaf.js → specific-class-3f0e0c45.js} +5 -5
- package/dist/esm/{text-ed75fbd4.js → text-801eb7de.js} +1 -1
- package/dist/ldf/i18n/text.i18n.en.json +2 -1
- package/dist/ldf/i18n/text.i18n.es.json +2 -1
- package/dist/ldf/ldf.esm.js +1 -1
- package/dist/ldf/{p-3c7997be.entry.js → p-05ac8045.entry.js} +1 -1
- package/dist/ldf/{p-23af1bc3.entry.js → p-0d9b71a8.entry.js} +1 -1
- package/dist/ldf/{p-8ec26587.js → p-12d81208.js} +0 -0
- package/dist/ldf/{p-991c0877.js → p-2a08ff25.js} +0 -0
- package/dist/ldf/p-31a1f740.js +1 -0
- package/dist/ldf/p-34e37c39.entry.js +1 -0
- package/dist/ldf/p-37d9f551.entry.js +1 -0
- package/dist/ldf/p-3a7cb4d5.entry.js +1 -0
- package/dist/ldf/p-3e0814c2.entry.js +1 -0
- package/dist/ldf/p-405928d1.js +1 -0
- package/dist/ldf/p-4ed034a1.js +1 -0
- package/dist/ldf/p-5eef960d.entry.js +1 -0
- package/dist/ldf/p-67c52455.entry.js +1 -0
- package/dist/ldf/p-69d493f3.entry.js +1 -0
- package/dist/ldf/{p-5066eaa5.js → p-6a68fa7b.js} +0 -0
- package/dist/ldf/p-80f6ec9f.js +1 -0
- package/dist/ldf/p-82f2facb.entry.js +1 -0
- package/dist/ldf/{p-5b43e6be.js → p-93911ad1.js} +1 -1
- package/dist/ldf/p-9424ca03.entry.js +1 -0
- package/dist/ldf/p-952f8992.entry.js +1 -0
- package/dist/ldf/p-9b008ca8.entry.js +1 -0
- package/dist/ldf/p-a712728b.js +1 -0
- package/dist/ldf/p-b3b245a2.entry.js +1 -0
- package/dist/ldf/p-bc84c531.entry.js +1 -0
- package/dist/ldf/p-be6c5df8.entry.js +1 -0
- package/dist/ldf/p-c02098e2.entry.js +1 -0
- package/dist/ldf/p-cec60628.js +1 -0
- package/dist/ldf/p-ff0452c1.js +3 -0
- package/dist/types/components/text/text.d.ts +4 -0
- package/dist/types/components.d.ts +5 -0
- package/package.json +2 -2
- package/dist/ldf/p-03afc8cb.entry.js +0 -1
- package/dist/ldf/p-1e137d0e.entry.js +0 -1
- package/dist/ldf/p-2ae548b3.entry.js +0 -1
- package/dist/ldf/p-304a2bdb.entry.js +0 -1
- package/dist/ldf/p-3f8ef67b.entry.js +0 -1
- package/dist/ldf/p-476327d6.js +0 -1
- package/dist/ldf/p-4aa9a6f2.js +0 -1
- package/dist/ldf/p-594fa9d4.entry.js +0 -1
- package/dist/ldf/p-65563763.entry.js +0 -1
- package/dist/ldf/p-65d26c45.js +0 -1
- package/dist/ldf/p-65ea7ab3.entry.js +0 -1
- package/dist/ldf/p-800a115c.entry.js +0 -1
- package/dist/ldf/p-883425cd.js +0 -3
- package/dist/ldf/p-9c1973a6.entry.js +0 -1
- package/dist/ldf/p-9ea7c254.js +0 -1
- package/dist/ldf/p-a1729dbd.js +0 -1
- package/dist/ldf/p-aea3213d.entry.js +0 -1
- package/dist/ldf/p-d324dc19.entry.js +0 -1
- package/dist/ldf/p-e4f0cd91.entry.js +0 -1
- package/dist/ldf/p-e7a449d7.js +0 -1
- package/dist/ldf/p-f0de7628.entry.js +0 -1
- package/dist/ldf/p-fa191f47.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const index = require('./index-c9b940c7.js');
|
|
4
4
|
|
|
5
5
|
const BIBLE_BOOK_ABBREVIATIONS = [
|
|
6
6
|
{
|
|
@@ -483,10 +483,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
483
483
|
short: 'Daniel',
|
|
484
484
|
long: 'The Book of the Prophet Daniel',
|
|
485
485
|
},
|
|
486
|
-
iu: {
|
|
487
|
-
short: 'Daniel',
|
|
488
|
-
long: 'The Book of the Prophet Daniel',
|
|
489
|
-
},
|
|
490
486
|
},
|
|
491
487
|
Hosea: {
|
|
492
488
|
en: {
|
|
@@ -611,10 +607,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
611
607
|
short: 'Sirach',
|
|
612
608
|
long: 'The Book of Ecclesiasticus',
|
|
613
609
|
},
|
|
614
|
-
iu: {
|
|
615
|
-
short: 'Sirach',
|
|
616
|
-
long: 'The Book of Ecclesiasticus',
|
|
617
|
-
},
|
|
618
610
|
},
|
|
619
611
|
Matthew: {
|
|
620
612
|
en: {
|
|
@@ -625,10 +617,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
625
617
|
short: 'Matthew',
|
|
626
618
|
long: 'The Gospel According to St. Matthew',
|
|
627
619
|
},
|
|
628
|
-
iu: {
|
|
629
|
-
short: 'Matthew',
|
|
630
|
-
long: 'The Gospel According to St. Matthew',
|
|
631
|
-
},
|
|
632
620
|
},
|
|
633
621
|
Mark: {
|
|
634
622
|
en: {
|
|
@@ -639,10 +627,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
639
627
|
short: 'Mark',
|
|
640
628
|
long: 'The Gospel According to St. Mark',
|
|
641
629
|
},
|
|
642
|
-
iu: {
|
|
643
|
-
short: 'Mark',
|
|
644
|
-
long: 'The Gospel According to St. Mark',
|
|
645
|
-
},
|
|
646
630
|
},
|
|
647
631
|
Luke: {
|
|
648
632
|
en: {
|
|
@@ -653,10 +637,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
653
637
|
short: 'Luke',
|
|
654
638
|
long: 'The Gospel According to St. Luke',
|
|
655
639
|
},
|
|
656
|
-
iu: {
|
|
657
|
-
short: 'Luke',
|
|
658
|
-
long: 'The Gospel According to St. Luke',
|
|
659
|
-
},
|
|
660
640
|
},
|
|
661
641
|
John: {
|
|
662
642
|
en: {
|
|
@@ -667,10 +647,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
667
647
|
short: 'John',
|
|
668
648
|
long: 'The Gospel According to St. John',
|
|
669
649
|
},
|
|
670
|
-
iu: {
|
|
671
|
-
short: 'John',
|
|
672
|
-
long: 'The Gospel According to St. John',
|
|
673
|
-
},
|
|
674
650
|
},
|
|
675
651
|
Acts: {
|
|
676
652
|
en: {
|
|
@@ -681,10 +657,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
681
657
|
short: 'Acts',
|
|
682
658
|
long: 'The Book of the Acts of the Apostles',
|
|
683
659
|
},
|
|
684
|
-
iu: {
|
|
685
|
-
short: 'Acts',
|
|
686
|
-
long: 'The Book of the Acts of the Apostles',
|
|
687
|
-
},
|
|
688
660
|
},
|
|
689
661
|
Romans: {
|
|
690
662
|
en: {
|
|
@@ -695,10 +667,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
695
667
|
short: 'Romans',
|
|
696
668
|
long: 'The Epistle of St. Paul the Apostle to the Romans',
|
|
697
669
|
},
|
|
698
|
-
iu: {
|
|
699
|
-
short: 'Romans',
|
|
700
|
-
long: 'The Epistle of St. Paul the Apostle to the Romans',
|
|
701
|
-
},
|
|
702
670
|
},
|
|
703
671
|
'1 Corinthians': {
|
|
704
672
|
en: {
|
|
@@ -709,10 +677,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
709
677
|
short: '1 Corinthians',
|
|
710
678
|
long: 'The First Epistle of St. Paul the Apostle to the Corinthians',
|
|
711
679
|
},
|
|
712
|
-
iu: {
|
|
713
|
-
short: '1 Corinthians',
|
|
714
|
-
long: 'The First Epistle of St. Paul the Apostle to the Corinthians',
|
|
715
|
-
},
|
|
716
680
|
},
|
|
717
681
|
'2 Corinthians': {
|
|
718
682
|
en: {
|
|
@@ -723,10 +687,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
723
687
|
short: '2 Corinthians',
|
|
724
688
|
long: 'The Second Epistle of St. Paul the Apostle to the Corinthians',
|
|
725
689
|
},
|
|
726
|
-
iu: {
|
|
727
|
-
short: '2 Corinthians',
|
|
728
|
-
long: 'The Second Epistle of St. Paul the Apostle to the Corinthians',
|
|
729
|
-
},
|
|
730
690
|
},
|
|
731
691
|
Galatians: {
|
|
732
692
|
en: {
|
|
@@ -737,10 +697,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
737
697
|
short: 'Galatians',
|
|
738
698
|
long: 'The Epistle of St. Paul the Apostle to the Galatians',
|
|
739
699
|
},
|
|
740
|
-
iu: {
|
|
741
|
-
short: 'Galatians',
|
|
742
|
-
long: 'The Epistle of St. Paul the Apostle to the Galatians',
|
|
743
|
-
},
|
|
744
700
|
},
|
|
745
701
|
Ephesians: {
|
|
746
702
|
en: {
|
|
@@ -751,10 +707,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
751
707
|
short: 'Ephesians',
|
|
752
708
|
long: 'The Epistle of St. Paul the Apostle to the Ephesians',
|
|
753
709
|
},
|
|
754
|
-
iu: {
|
|
755
|
-
short: 'Ephesians',
|
|
756
|
-
long: 'The Epistle of St. Paul the Apostle to the Ephesians',
|
|
757
|
-
},
|
|
758
710
|
},
|
|
759
711
|
Philippians: {
|
|
760
712
|
en: {
|
|
@@ -765,10 +717,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
765
717
|
short: 'Philippians',
|
|
766
718
|
long: 'The Epistle of St. Paul the Apostle to the Philippians',
|
|
767
719
|
},
|
|
768
|
-
iu: {
|
|
769
|
-
short: 'Philippians',
|
|
770
|
-
long: 'The Epistle of St. Paul the Apostle to the Philippians',
|
|
771
|
-
},
|
|
772
720
|
},
|
|
773
721
|
Colossians: {
|
|
774
722
|
en: {
|
|
@@ -779,10 +727,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
779
727
|
short: 'Colossians',
|
|
780
728
|
long: 'The Epistle of St. Paul the Apostle to the Colossians',
|
|
781
729
|
},
|
|
782
|
-
iu: {
|
|
783
|
-
short: 'Colossians',
|
|
784
|
-
long: 'The Epistle of St. Paul the Apostle to the Colossians',
|
|
785
|
-
},
|
|
786
730
|
},
|
|
787
731
|
'1 Thessalonians': {
|
|
788
732
|
en: {
|
|
@@ -793,10 +737,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
793
737
|
short: '1 Thessalonians',
|
|
794
738
|
long: 'The First Epistle of St. Paul the Apostle to the Thessalonians',
|
|
795
739
|
},
|
|
796
|
-
iu: {
|
|
797
|
-
short: '1 Thessalonians',
|
|
798
|
-
long: 'The First Epistle of St. Paul the Apostle to the Thessalonians',
|
|
799
|
-
},
|
|
800
740
|
},
|
|
801
741
|
'2 Thessalonians': {
|
|
802
742
|
en: {
|
|
@@ -807,10 +747,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
807
747
|
short: '2 Thessalonians',
|
|
808
748
|
long: 'The Second Epistle of St. Paul the Apostle to the Thessalonians',
|
|
809
749
|
},
|
|
810
|
-
iu: {
|
|
811
|
-
short: '2 Thessalonians',
|
|
812
|
-
long: 'The Second Epistle of St. Paul the Apostle to the Thessalonians',
|
|
813
|
-
},
|
|
814
750
|
},
|
|
815
751
|
'1 Timothy': {
|
|
816
752
|
en: {
|
|
@@ -821,10 +757,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
821
757
|
short: '1 Timothy',
|
|
822
758
|
long: 'The First Epistle of St. Paul the Apostle to Timothy',
|
|
823
759
|
},
|
|
824
|
-
iu: {
|
|
825
|
-
short: '1 Timothy',
|
|
826
|
-
long: 'The First Epistle of St. Paul the Apostle to Timothy',
|
|
827
|
-
},
|
|
828
760
|
},
|
|
829
761
|
'2 Timothy': {
|
|
830
762
|
en: {
|
|
@@ -835,10 +767,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
835
767
|
short: '2 Timothy',
|
|
836
768
|
long: 'The Second Epistle of St. Paul the Apostle to Timothy',
|
|
837
769
|
},
|
|
838
|
-
iu: {
|
|
839
|
-
short: '2 Timothy',
|
|
840
|
-
long: 'The Second Epistle of St. Paul the Apostle to Timothy',
|
|
841
|
-
},
|
|
842
770
|
},
|
|
843
771
|
Titus: {
|
|
844
772
|
en: {
|
|
@@ -849,10 +777,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
849
777
|
short: 'Titus',
|
|
850
778
|
long: 'The Epistle of St. Paul the Apostle to Titus',
|
|
851
779
|
},
|
|
852
|
-
iu: {
|
|
853
|
-
short: 'Titus',
|
|
854
|
-
long: 'The Epistle of St. Paul the Apostle to Titus',
|
|
855
|
-
},
|
|
856
780
|
},
|
|
857
781
|
Philemon: {
|
|
858
782
|
en: {
|
|
@@ -863,10 +787,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
863
787
|
short: 'Philemon',
|
|
864
788
|
long: 'The Epistle of St. Paul the Apostle to Philemon',
|
|
865
789
|
},
|
|
866
|
-
iu: {
|
|
867
|
-
short: 'Philemon',
|
|
868
|
-
long: 'The Epistle of St. Paul the Apostle to Philemon',
|
|
869
|
-
},
|
|
870
790
|
},
|
|
871
791
|
Hebrews: {
|
|
872
792
|
en: {
|
|
@@ -877,10 +797,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
877
797
|
short: 'Hebrews',
|
|
878
798
|
long: 'The Epistle to the Hebrews',
|
|
879
799
|
},
|
|
880
|
-
iu: {
|
|
881
|
-
short: 'Hebrews',
|
|
882
|
-
long: 'The Epistle to the Hebrews',
|
|
883
|
-
},
|
|
884
800
|
},
|
|
885
801
|
James: {
|
|
886
802
|
en: {
|
|
@@ -891,10 +807,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
891
807
|
short: 'James',
|
|
892
808
|
long: 'The Epistle General of St. James',
|
|
893
809
|
},
|
|
894
|
-
iu: {
|
|
895
|
-
short: 'James',
|
|
896
|
-
long: 'The Epistle General of St. James',
|
|
897
|
-
},
|
|
898
810
|
},
|
|
899
811
|
'1 Peter': {
|
|
900
812
|
en: {
|
|
@@ -905,10 +817,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
905
817
|
short: '1 Peter',
|
|
906
818
|
long: 'The First Epistle General of St. Peter',
|
|
907
819
|
},
|
|
908
|
-
iu: {
|
|
909
|
-
short: '1 Peter',
|
|
910
|
-
long: 'The First Epistle General of St. Peter',
|
|
911
|
-
},
|
|
912
820
|
},
|
|
913
821
|
'2 Peter': {
|
|
914
822
|
en: {
|
|
@@ -919,10 +827,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
919
827
|
short: '2 Peter',
|
|
920
828
|
long: 'The Second Epistle General of St. Peter',
|
|
921
829
|
},
|
|
922
|
-
iu: {
|
|
923
|
-
short: '2 Peter',
|
|
924
|
-
long: 'The Second Epistle General of St. Peter',
|
|
925
|
-
},
|
|
926
830
|
},
|
|
927
831
|
'1 John': {
|
|
928
832
|
en: {
|
|
@@ -933,10 +837,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
933
837
|
short: '2 John',
|
|
934
838
|
long: 'The First Epistle General of St. John',
|
|
935
839
|
},
|
|
936
|
-
iu: {
|
|
937
|
-
short: '2 John',
|
|
938
|
-
long: 'The First Epistle General of St. John',
|
|
939
|
-
},
|
|
940
840
|
},
|
|
941
841
|
'2 John': {
|
|
942
842
|
en: {
|
|
@@ -947,10 +847,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
947
847
|
short: '2 John',
|
|
948
848
|
long: 'The Second Epistle General of St. John',
|
|
949
849
|
},
|
|
950
|
-
iu: {
|
|
951
|
-
short: '2 John',
|
|
952
|
-
long: 'The Second Epistle General of St. John',
|
|
953
|
-
},
|
|
954
850
|
},
|
|
955
851
|
'3 John': {
|
|
956
852
|
en: {
|
|
@@ -961,10 +857,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
961
857
|
short: '3 John',
|
|
962
858
|
long: 'The Third Epistle General of St. John',
|
|
963
859
|
},
|
|
964
|
-
iu: {
|
|
965
|
-
short: '3 John',
|
|
966
|
-
long: 'The Third Epistle General of St. John',
|
|
967
|
-
},
|
|
968
860
|
},
|
|
969
861
|
Jude: {
|
|
970
862
|
en: {
|
|
@@ -975,10 +867,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
975
867
|
short: 'Jude',
|
|
976
868
|
long: 'The Epistle General of St. Jude',
|
|
977
869
|
},
|
|
978
|
-
iu: {
|
|
979
|
-
short: 'Jude',
|
|
980
|
-
long: 'The Epistle General of St. Jude',
|
|
981
|
-
},
|
|
982
870
|
},
|
|
983
871
|
Revelation: {
|
|
984
872
|
en: {
|
|
@@ -989,10 +877,6 @@ const BIBLE_BOOK_NAMES = {
|
|
|
989
877
|
short: 'Revelation',
|
|
990
878
|
long: 'The Revelation to St. John the Divine',
|
|
991
879
|
},
|
|
992
|
-
iu: {
|
|
993
|
-
short: 'Revelation',
|
|
994
|
-
long: 'The Revelation to St. John the Divine',
|
|
995
|
-
},
|
|
996
880
|
},
|
|
997
881
|
'1 Esdras': {
|
|
998
882
|
en: {
|
|
@@ -1036,7 +920,7 @@ function ordinalSuffix(i) {
|
|
|
1036
920
|
|
|
1037
921
|
const STYLES$2 = ['long', 'short'];
|
|
1038
922
|
/** BibleReading represents liturgical instructions. */
|
|
1039
|
-
class BibleReading extends
|
|
923
|
+
class BibleReading extends index.LiturgicalDocument {
|
|
1040
924
|
//** Constructor takes a Javascript object containing the class's properties */
|
|
1041
925
|
constructor(data = {}) {
|
|
1042
926
|
super(data);
|
|
@@ -1066,7 +950,7 @@ class BibleReading extends book.LiturgicalDocument {
|
|
|
1066
950
|
newValue.push(process(introValue));
|
|
1067
951
|
}
|
|
1068
952
|
});
|
|
1069
|
-
this.metadata.compiled_intro = new
|
|
953
|
+
this.metadata.compiled_intro = new index.LiturgicalDocument(Object.assign(Object.assign({}, this.metadata.intro), { value: newValue }));
|
|
1070
954
|
}
|
|
1071
955
|
}
|
|
1072
956
|
/** Generates an abbreviated book name from citation
|
|
@@ -1160,14 +1044,14 @@ class BibleReading extends book.LiturgicalDocument {
|
|
|
1160
1044
|
}
|
|
1161
1045
|
|
|
1162
1046
|
/** Represents the "recipe" to compile a liturgy */
|
|
1163
|
-
class Liturgy extends
|
|
1047
|
+
class Liturgy extends index.LiturgicalDocument {
|
|
1164
1048
|
/** No meaningful differences in display format for liturgies */
|
|
1165
1049
|
availableDisplayFormats() {
|
|
1166
1050
|
return [];
|
|
1167
1051
|
}
|
|
1168
1052
|
}
|
|
1169
1053
|
|
|
1170
|
-
class Meditation extends
|
|
1054
|
+
class Meditation extends index.LiturgicalDocument {
|
|
1171
1055
|
//** Constructor takes a Javascript object containing the class's properties */
|
|
1172
1056
|
constructor(data = {}) {
|
|
1173
1057
|
super(data);
|
|
@@ -1176,7 +1060,7 @@ class Meditation extends book.LiturgicalDocument {
|
|
|
1176
1060
|
|
|
1177
1061
|
const STYLES$1 = ['psalm', 'canticle', 'invitatory'];
|
|
1178
1062
|
/** Psalm represents liturgical instructions. */
|
|
1179
|
-
class Psalm extends
|
|
1063
|
+
class Psalm extends index.LiturgicalDocument {
|
|
1180
1064
|
//** Constructor takes a Javascript object containing the class's properties */
|
|
1181
1065
|
constructor(data = {}) {
|
|
1182
1066
|
super(data);
|
|
@@ -1192,22 +1076,12 @@ class Psalm extends book.LiturgicalDocument {
|
|
|
1192
1076
|
filtered = this.value;
|
|
1193
1077
|
}
|
|
1194
1078
|
else {
|
|
1195
|
-
|
|
1079
|
+
this.value.forEach((section) => {
|
|
1196
1080
|
const newSection = new Array();
|
|
1197
|
-
|
|
1198
|
-
(section.value || []).forEach((verse) => {
|
|
1081
|
+
section.value.forEach((verse) => {
|
|
1199
1082
|
if (!verse.number || versesInCitation.includes(verse.number)) {
|
|
1200
1083
|
newSection.push(verse);
|
|
1201
1084
|
}
|
|
1202
|
-
else if (versesInCitation.includes(`[${verse.number}`)) {
|
|
1203
|
-
newSection.push(Object.assign(Object.assign({}, verse), { verse: '[' + verse.verse }));
|
|
1204
|
-
}
|
|
1205
|
-
else if (versesInCitation.includes(`${verse.number}]`)) {
|
|
1206
|
-
newSection.push(Object.assign(Object.assign({}, verse), { halfverse: verse.halfverse + ']' }));
|
|
1207
|
-
}
|
|
1208
|
-
else if (versesInCitation.includes(`[${verse.number}]`)) {
|
|
1209
|
-
newSection.push(Object.assign(Object.assign({}, verse), { verse: '[' + verse.verse, halfverse: verse.halfverse + ']' }));
|
|
1210
|
-
}
|
|
1211
1085
|
});
|
|
1212
1086
|
filtered.push(Object.assign(Object.assign({}, section), { value: newSection }));
|
|
1213
1087
|
});
|
|
@@ -1224,52 +1098,23 @@ class Psalm extends book.LiturgicalDocument {
|
|
|
1224
1098
|
* versesInCitation('Psalm 100:1-3,6-7, 11a')
|
|
1225
1099
|
* */
|
|
1226
1100
|
versesInCitation(citation) {
|
|
1227
|
-
function makeVerseNumber(startBracket, endBracket, num) {
|
|
1228
|
-
if (startBracket && endBracket) {
|
|
1229
|
-
return '[' + num + ']';
|
|
1230
|
-
}
|
|
1231
|
-
else if (startBracket) {
|
|
1232
|
-
return '[' + num;
|
|
1233
|
-
}
|
|
1234
|
-
else if (endBracket) {
|
|
1235
|
-
return num + ']';
|
|
1236
|
-
}
|
|
1237
|
-
else {
|
|
1238
|
-
return num;
|
|
1239
|
-
}
|
|
1240
|
-
}
|
|
1241
1101
|
// comments assume versesInCitation('Psalm 100:1-3,6-7, 11a')
|
|
1242
1102
|
// search = [ "Psalm 100", "1-3", "6-7", "11a" ]
|
|
1243
|
-
const search = citation.replace(/Ps[\w\.]*\s*/g, '').split(/\s*
|
|
1103
|
+
const search = citation.replace(/Ps[\w\.]*\s*/g, '').split(/\s*[,:\s]\s*/),
|
|
1244
1104
|
// whole = 'Psalm 100', psalm = 'Psalm', number = '100'
|
|
1245
1105
|
// [whole, psalm, number] = search[0].match(/(Ps[^\s]*)\s(\d+)/),
|
|
1246
1106
|
// verseRanges = [ "1-3", "6-7", "11a" ]
|
|
1247
1107
|
verseRanges = search.slice(1);
|
|
1248
1108
|
let verses = new Array();
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
(verseRanges || []).forEach((range, rangeIndex) => {
|
|
1252
|
-
if (range === '[' || range === '(') {
|
|
1253
|
-
startBracket = true;
|
|
1254
|
-
}
|
|
1255
|
-
if (verseRanges[rangeIndex + 1] === ']' || verseRanges[rangeIndex + 1] === ')') {
|
|
1256
|
-
endBracket = true;
|
|
1257
|
-
}
|
|
1258
|
-
const [first, last] = range.replace(/[^\d-s–]/g, '').split(/-|–/);
|
|
1109
|
+
verseRanges.forEach((range) => {
|
|
1110
|
+
const [first, last] = range.replace(/a-zA-Z/g, '').split(/-|–/);
|
|
1259
1111
|
if (first && last) {
|
|
1260
|
-
const hasEndBracket = endBracket;
|
|
1261
1112
|
for (let ii = parseInt(first); ii <= parseInt(last); ii++) {
|
|
1262
|
-
|
|
1263
|
-
verses.push(makeVerseNumber(startBracket, endBracket, ii.toString()));
|
|
1264
|
-
startBracket = false;
|
|
1113
|
+
verses.push(ii.toString());
|
|
1265
1114
|
}
|
|
1266
1115
|
}
|
|
1267
1116
|
else {
|
|
1268
|
-
|
|
1269
|
-
verses.push(makeVerseNumber(startBracket, endBracket, first));
|
|
1270
|
-
startBracket = false;
|
|
1271
|
-
}
|
|
1272
|
-
endBracket = false;
|
|
1117
|
+
verses.push(first);
|
|
1273
1118
|
}
|
|
1274
1119
|
});
|
|
1275
1120
|
return verses;
|
|
@@ -1303,7 +1148,7 @@ class Psalm extends book.LiturgicalDocument {
|
|
|
1303
1148
|
|
|
1304
1149
|
const STYLES = ['preces', 'litany', 'responsive'];
|
|
1305
1150
|
/** Text represents collect or any other short prayer. */
|
|
1306
|
-
class ResponsivePrayer extends
|
|
1151
|
+
class ResponsivePrayer extends index.LiturgicalDocument {
|
|
1307
1152
|
//** Constructor takes a Javascript object containing the class's properties */
|
|
1308
1153
|
constructor(data = {}) {
|
|
1309
1154
|
super(data);
|
|
@@ -1318,7 +1163,7 @@ class ResponsivePrayer extends book.LiturgicalDocument {
|
|
|
1318
1163
|
}
|
|
1319
1164
|
|
|
1320
1165
|
/** Rubric represents liturgical instructions. */
|
|
1321
|
-
class Rubric extends
|
|
1166
|
+
class Rubric extends index.LiturgicalDocument {
|
|
1322
1167
|
//** Constructor takes a Javascript object containing the class's properties */
|
|
1323
1168
|
constructor(data = {}) {
|
|
1324
1169
|
super(data);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const rubric = require('./rubric-
|
|
4
|
-
const heading = require('./heading-
|
|
5
|
-
const option = require('./option-
|
|
6
|
-
const refrain = require('./refrain-
|
|
7
|
-
const text = require('./text-
|
|
3
|
+
const rubric = require('./rubric-ad2f926f.js');
|
|
4
|
+
const heading = require('./heading-fae3ce98.js');
|
|
5
|
+
const option = require('./option-6fb78f5c.js');
|
|
6
|
+
const refrain = require('./refrain-f51fd88d.js');
|
|
7
|
+
const text = require('./text-8d8d32e7.js');
|
|
8
8
|
|
|
9
9
|
/** Transforms a generic `LiturgicalDocument` (either a class instance or an `Object` that matches the type),
|
|
10
10
|
* into an instance of a more-specific inherited class */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const index = require('./index-c9b940c7.js');
|
|
4
4
|
|
|
5
5
|
const STYLES = ['text', 'prayer', 'markdown', 'authorized-prayers'];
|
|
6
6
|
/** Text represents collect or any other short prayer. */
|
|
7
|
-
class Text extends
|
|
7
|
+
class Text extends index.LiturgicalDocument {
|
|
8
8
|
//** Constructor takes a Javascript object containing the class's properties */
|
|
9
9
|
constructor(data = {}) {
|
|
10
10
|
super(data);
|
|
@@ -128,8 +128,8 @@ var StringComponent = /** @class */ (function () {
|
|
|
128
128
|
if (firstChunk) {
|
|
129
129
|
var splitTest = (firstChunk || '').split(/[\s.!?\\]/);
|
|
130
130
|
var firstWord = splitTest ? splitTest[0] : '', re = firstWord.length > 2
|
|
131
|
-
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\w
|
|
132
|
-
: /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\w
|
|
131
|
+
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*)/
|
|
132
|
+
: /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*[\s.!?]*[\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/, reIncludingPunctuation = ((_a = firstWord[0]) === null || _a === void 0 ? void 0 : _a.match(/[\"\'“”‘’\!\?\[\]\(\)]/)) ? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff]{2})\s*([\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/
|
|
133
133
|
: re, buffer = firstWord.length == 1, split = firstChunk.split(reIncludingPunctuation).filter(function (s) { return s !== ''; }), match1 = split[0], match2 = split[1], nextWord = split[2];
|
|
134
134
|
final = new Array(React.createElement("span", { "class": 'firstword' },
|
|
135
135
|
React.createElement("span", { "class": buffer ? "drop buffered-drop drop-" + match1 : "drop drop-" + match1 }, match1),
|
|
@@ -117,9 +117,9 @@ export class StringComponent {
|
|
|
117
117
|
if (firstChunk) {
|
|
118
118
|
const splitTest = (firstChunk || '').split(/[\s.!?\\]/);
|
|
119
119
|
const firstWord = splitTest ? splitTest[0] : '', re = firstWord.length > 2
|
|
120
|
-
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\w
|
|
121
|
-
: /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\w
|
|
122
|
-
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\w
|
|
120
|
+
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*)/
|
|
121
|
+
: /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*[\s.!?]*[\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/, reIncludingPunctuation = ((_a = firstWord[0]) === null || _a === void 0 ? void 0 : _a.match(/[\"\'“”‘’\!\?\[\]\(\)]/))
|
|
122
|
+
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff]{2})\s*([\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/
|
|
123
123
|
: re, buffer = firstWord.length == 1, split = firstChunk.split(reIncludingPunctuation).filter(s => s !== ''), [match1, match2, nextWord] = split;
|
|
124
124
|
final = new Array(h("span", { class: 'firstword' },
|
|
125
125
|
h("span", { class: buffer ? `drop buffered-drop drop-${match1}` : `drop drop-${match1}` }, match1),
|
|
@@ -56,8 +56,20 @@ var LOCALE = {
|
|
|
56
56
|
};
|
|
57
57
|
var TextComponent = /** @class */ (function () {
|
|
58
58
|
function TextComponent() {
|
|
59
|
+
// prayer list for authorized prayers
|
|
60
|
+
this.intentions = [];
|
|
59
61
|
}
|
|
62
|
+
TextComponent.prototype.setPrayerList = function (intentions) {
|
|
63
|
+
return __awaiter(this, void 0, Promise, function () {
|
|
64
|
+
return __generator(this, function (_a) {
|
|
65
|
+
console.log("(PrayerList) setPrayerList", intentions);
|
|
66
|
+
this.intentions = intentions;
|
|
67
|
+
return [2 /*return*/];
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
};
|
|
60
71
|
TextComponent.prototype.docChanged = function (newDoc) {
|
|
72
|
+
var _a;
|
|
61
73
|
try {
|
|
62
74
|
if (typeof newDoc == 'string') {
|
|
63
75
|
this.obj = new ldf_1.Text(JSON.parse(newDoc));
|
|
@@ -65,6 +77,10 @@ var TextComponent = /** @class */ (function () {
|
|
|
65
77
|
else {
|
|
66
78
|
this.obj = new ldf_1.Text(newDoc);
|
|
67
79
|
}
|
|
80
|
+
if (((_a = this.obj) === null || _a === void 0 ? void 0 : _a.style) == "authorized-prayers") {
|
|
81
|
+
console.log("(PrayerList) ldfAskForPrayerList");
|
|
82
|
+
this.ldfAskForPrayerList.emit(true);
|
|
83
|
+
}
|
|
68
84
|
}
|
|
69
85
|
catch (e) {
|
|
70
86
|
console.warn(e);
|
|
@@ -133,21 +149,23 @@ var TextComponent = /** @class */ (function () {
|
|
|
133
149
|
// Render
|
|
134
150
|
TextComponent.prototype.render = function () {
|
|
135
151
|
var _this = this;
|
|
136
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5;
|
|
152
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7;
|
|
137
153
|
var localeStrings = this.localeStrings || {};
|
|
138
154
|
/** `authorized-prayer` type */
|
|
139
155
|
if (((_a = this.obj) === null || _a === void 0 ? void 0 : _a.style) === 'authorized-prayers') {
|
|
140
156
|
var splits = this.path.split('/'), index_1 = Number(splits[splits.length - 1]), base_1 = splits.slice(0, splits.length - 1).join('/');
|
|
141
|
-
return React.createElement(
|
|
142
|
-
React.createElement("
|
|
157
|
+
return React.createElement(core_1.Host, null,
|
|
158
|
+
React.createElement("ldf-label-bar", null,
|
|
159
|
+
React.createElement("ion-button", { onClick: function () { return _this.addPAndT(base_1, index_1); }, fill: "clear" }, localeStrings.authorized_prayers)), (_c = ((_b = this.intentions) === null || _b === void 0 ? void 0 : _b.length) > 0) !== null && _c !== void 0 ? _c : React.createElement("strong", { "class": "prayer-list" }, localeStrings['prayer-list']),
|
|
160
|
+
React.createElement("ul", { "class": "prayer-list" }, (this.intentions || []).map(function (intention) { return React.createElement("li", null, intention); })));
|
|
143
161
|
}
|
|
144
162
|
else {
|
|
145
|
-
var value = ((
|
|
146
|
-
: (((
|
|
163
|
+
var value = ((_e = (_d = this.obj) === null || _d === void 0 ? void 0 : _d.metadata) === null || _e === void 0 ? void 0 : _e.rollup) ? (((_f = this.obj) === null || _f === void 0 ? void 0 : _f.value) || []).map(function (s) { return s.replace(/\s+/g, ' '); })
|
|
164
|
+
: (((_g = this.obj) === null || _g === void 0 ? void 0 : _g.value) || []);
|
|
147
165
|
var compiledValue_1 = value.map(function (s) {
|
|
148
166
|
return s.split(/([\*\w\n\s,:;\.\-–—'“☩✠”‘’\!\?”\[\]\%\(\)\/\u0041-\u024F]+([^\*\w\n\s,;:\.'“”☩✠‘’”\-–—\!\?\[\]\%\(\)\/\u0041-\u024F]))/g);
|
|
149
167
|
});
|
|
150
|
-
if (!this.editable && ((
|
|
168
|
+
if (!this.editable && ((_h = this.obj) === null || _h === void 0 ? void 0 : _h.display_format) === 'abbreviated') {
|
|
151
169
|
var firstSection = compiledValue_1[0], lastSection = compiledValue_1[compiledValue_1.length - 1];
|
|
152
170
|
var firstChunk = this.truncate(firstSection[0]), lastChunk = this.truncate(lastSection[lastSection.length - 1], true);
|
|
153
171
|
compiledValue_1 = [[firstChunk], [lastChunk]];
|
|
@@ -158,27 +176,27 @@ var TextComponent = /** @class */ (function () {
|
|
|
158
176
|
React.createElement("slot", { slot: 'end', name: 'controls' })),
|
|
159
177
|
!this.editable && React.createElement("ldf-heading", { path: this.path + "/label", doc: new ldf_1.Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label], citation: this.obj.citation, source: this.obj.source }) }),
|
|
160
178
|
this.editable && React.createElement("ldf-label-bar", null,
|
|
161
|
-
!((
|
|
162
|
-
React.createElement("ldf-editable-text", { id: (this.obj.uid || this.obj.slug) + "-label", text: (
|
|
163
|
-
React.createElement("ldf-editable-text", { slot: "end", id: "source-source", text: (
|
|
164
|
-
React.createElement("ldf-editable-text", { slot: "end", id: "source-citation", text: (
|
|
165
|
-
React.createElement("div", { "class": "text " + (this.editable ? 'editable' : '') + " " + (((
|
|
179
|
+
!((_k = (_j = this.obj) === null || _j === void 0 ? void 0 : _j.metadata) === null || _k === void 0 ? void 0 : _k.omit_label) && React.createElement("h3", { "class": "editable-label", slot: "start" },
|
|
180
|
+
React.createElement("ldf-editable-text", { id: (this.obj.uid || this.obj.slug) + "-label", text: (_l = this.obj) === null || _l === void 0 ? void 0 : _l.label, placeholder: localeStrings.label, path: this.path + "/label" })),
|
|
181
|
+
React.createElement("ldf-editable-text", { slot: "end", id: "source-source", text: (_o = (_m = this.obj) === null || _m === void 0 ? void 0 : _m.source) === null || _o === void 0 ? void 0 : _o.source, path: this.path + "/source/source", placeholder: (_p = this.localeStrings) === null || _p === void 0 ? void 0 : _p.source }),
|
|
182
|
+
React.createElement("ldf-editable-text", { slot: "end", id: "source-citation", text: (_r = (_q = this.obj) === null || _q === void 0 ? void 0 : _q.source) === null || _r === void 0 ? void 0 : _r.citation, path: this.path + "/source/citation", placeholder: (_s = this.localeStrings) === null || _s === void 0 ? void 0 : _s.source_citation })),
|
|
183
|
+
React.createElement("div", { "class": "text " + (this.editable ? 'editable' : '') + " " + (((_t = this.obj) === null || _t === void 0 ? void 0 : _t.display_format) || 'default') },
|
|
166
184
|
this.obj.value.map(function (prayer, prayerIndex) {
|
|
167
185
|
return React.createElement("ldf-editable-text", { id: (_this.obj.uid || _this.obj.slug) + "-" + prayerIndex, text: prayer, path: _this.path + "/value/" + prayerIndex });
|
|
168
186
|
}),
|
|
169
|
-
(((
|
|
187
|
+
(((_u = this.obj) === null || _u === void 0 ? void 0 : _u.style) === 'prayer' || (((_w = (_v = this.obj) === null || _v === void 0 ? void 0 : _v.metadata) === null || _w === void 0 ? void 0 : _w.response) && !((_y = (_x = this.obj) === null || _x === void 0 ? void 0 : _x.metadata) === null || _y === void 0 ? void 0 : _y.omit_response))) && React.createElement("span", { "class": 'response' },
|
|
170
188
|
React.createElement("ldf-editable-text", { id: (this.obj.uid || this.obj.slug) + "-response", text: this.obj.metadata && this.obj.metadata.response, path: this.path + "/response", placeholder: localeStrings.amen })))));
|
|
171
189
|
}
|
|
172
190
|
else {
|
|
173
191
|
/** `markdown` types */
|
|
174
|
-
if (((
|
|
192
|
+
if (((_z = this.obj) === null || _z === void 0 ? void 0 : _z.style) === 'markdown') {
|
|
175
193
|
var converter_1 = new showdown_1["default"].Converter();
|
|
176
|
-
return (((
|
|
194
|
+
return (((_0 = this.obj) === null || _0 === void 0 ? void 0 : _0.value) || []).map(function (value) { return React.createElement("div", { innerHTML: converter_1.makeHtml(value) }); });
|
|
177
195
|
}
|
|
178
196
|
/** `text` and `prayer` types */
|
|
179
197
|
else {
|
|
180
|
-
return (React.createElement("div", { lang: ((
|
|
181
|
-
((((
|
|
198
|
+
return (React.createElement("div", { lang: ((_1 = this.obj) === null || _1 === void 0 ? void 0 : _1.language) || 'en', "class": "text " + (((_2 = this.obj) === null || _2 === void 0 ? void 0 : _2.display_format) || 'default') },
|
|
199
|
+
((((_3 = this.obj) === null || _3 === void 0 ? void 0 : _3.label) && !((_5 = (_4 = this.obj) === null || _4 === void 0 ? void 0 : _4.metadata) === null || _5 === void 0 ? void 0 : _5.omit_label)) || ((_6 = this.obj) === null || _6 === void 0 ? void 0 : _6.citation)) && React.createElement("ldf-heading", { path: this.path, doc: new ldf_1.Heading({ type: 'heading', metadata: { level: 3 }, value: [((_7 = this.obj.metadata) === null || _7 === void 0 ? void 0 : _7.omit_label) ? '' : this.obj.label], citation: this.obj.citation, source: this.obj.source }) }),
|
|
182
200
|
compiledValue_1.map(function (prayer, prayerIndex) {
|
|
183
201
|
var _a, _b, _c, _d;
|
|
184
202
|
return React.createElement("p", { "class": "text-body", id: (_this.obj.uid || _this.obj.slug) + "-prayerIndex" }, prayer === null || prayer === void 0 ? void 0 :
|
|
@@ -207,6 +225,12 @@ var TextComponent = /** @class */ (function () {
|
|
|
207
225
|
__decorate([
|
|
208
226
|
core_1.State()
|
|
209
227
|
], TextComponent.prototype, "localeStrings");
|
|
228
|
+
__decorate([
|
|
229
|
+
core_1.State()
|
|
230
|
+
], TextComponent.prototype, "intentions");
|
|
231
|
+
__decorate([
|
|
232
|
+
core_1.Method()
|
|
233
|
+
], TextComponent.prototype, "setPrayerList");
|
|
210
234
|
__decorate([
|
|
211
235
|
core_1.Prop()
|
|
212
236
|
], TextComponent.prototype, "doc");
|
|
@@ -222,6 +246,9 @@ var TextComponent = /** @class */ (function () {
|
|
|
222
246
|
__decorate([
|
|
223
247
|
core_1.Event({ bubbles: true })
|
|
224
248
|
], TextComponent.prototype, "ldfDocShouldChange");
|
|
249
|
+
__decorate([
|
|
250
|
+
core_1.Event({ bubbles: true })
|
|
251
|
+
], TextComponent.prototype, "ldfAskForPrayerList");
|
|
225
252
|
TextComponent = __decorate([
|
|
226
253
|
core_1.Component({
|
|
227
254
|
tag: 'ldf-text',
|