@venite/components 0.16.26 → 0.16.27

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 (77) hide show
  1. package/dist/cjs/ion-segment_16.cjs.entry.js +80 -46
  2. package/dist/cjs/ldf-day-name_5.cjs.entry.js +16 -10
  3. package/dist/collection/components/bible-reading/bible-reading.i18n.es.json +11 -2
  4. package/dist/collection/components/bible-reading/bible-reading.js +12 -12
  5. package/dist/collection/components/bible-reading/dist/bible-reading.js +12 -15
  6. package/dist/collection/components/editable-add-block/editable-add-block.i18n.es.json +5 -0
  7. package/dist/collection/components/editable-add-block-menu/editable-add-block-menu.i18n.es.json +48 -0
  8. package/dist/collection/components/editable-antiphon-field/editable-antiphon-field.i18n.es.json +11 -0
  9. package/dist/collection/components/editable-condition/editable-condition.i18n.es.json +7 -0
  10. package/dist/collection/components/editable-condition-piece/editable-condition-piece.i18n.es.json +21 -0
  11. package/dist/collection/components/editable-delete/editable-delete.i18n.es.json +6 -0
  12. package/dist/collection/components/editable-filter-documents/editable-filter-documents.i18n.es.json +9 -0
  13. package/dist/collection/components/editable-metadata/editable-metadata.i18n.es.json +51 -0
  14. package/dist/collection/components/editable-metadata-buttons/editable-metadata-buttons.i18n.es.json +31 -0
  15. package/dist/collection/components/editable-metadata-metadata-fields/editable-metadata-metadata-fields.i18n.es.json +48 -0
  16. package/dist/collection/components/editable-preference-option/editable-preference-option.i18n.es.json +9 -0
  17. package/dist/collection/components/editable-preferences/editable-preferences.i18n.es.json +10 -0
  18. package/dist/collection/components/editable-string-list/editable-string-list.i18n.es.json +18 -0
  19. package/dist/collection/components/editable-text/editable-text.i18n.es.json +3 -0
  20. package/dist/collection/components/heading/heading.i18n.es.json +4 -0
  21. package/dist/collection/components/image/image.i18n.es.json +4 -0
  22. package/dist/collection/components/liturgical-document/liturgical-document.i18n.es.json +45 -0
  23. package/dist/collection/components/meditation/meditation.i18n.es.json +8 -0
  24. package/dist/collection/components/psalm/psalm.i18n.es.json +9 -2
  25. package/dist/collection/components/responsive-prayer/responsive-prayer.i18n.es.json +7 -0
  26. package/dist/collection/components/text/text.i18n.es.json +6 -3
  27. package/dist/collection/i18n/bible-reading.i18n.es.json +11 -2
  28. package/dist/collection/i18n/editable-add-block-menu.i18n.es.json +48 -0
  29. package/dist/collection/i18n/editable-add-block.i18n.es.json +5 -0
  30. package/dist/collection/i18n/editable-antiphon-field.i18n.es.json +11 -0
  31. package/dist/collection/i18n/editable-condition-piece.i18n.es.json +21 -0
  32. package/dist/collection/i18n/editable-condition.i18n.es.json +7 -0
  33. package/dist/collection/i18n/editable-delete.i18n.es.json +6 -0
  34. package/dist/collection/i18n/editable-filter-documents.i18n.es.json +9 -0
  35. package/dist/collection/i18n/editable-metadata-buttons.i18n.es.json +31 -0
  36. package/dist/collection/i18n/editable-metadata-metadata-fields.i18n.es.json +48 -0
  37. package/dist/collection/i18n/editable-metadata.i18n.es.json +51 -0
  38. package/dist/collection/i18n/editable-preference-option.i18n.es.json +9 -0
  39. package/dist/collection/i18n/editable-preferences.i18n.es.json +10 -0
  40. package/dist/collection/i18n/editable-string-list.i18n.es.json +18 -0
  41. package/dist/collection/i18n/editable-text.i18n.es.json +3 -0
  42. package/dist/collection/i18n/heading.i18n.es.json +4 -0
  43. package/dist/collection/i18n/image.i18n.es.json +4 -0
  44. package/dist/collection/i18n/liturgical-document.i18n.es.json +45 -0
  45. package/dist/collection/i18n/meditation.i18n.es.json +8 -0
  46. package/dist/collection/i18n/psalm.i18n.es.json +9 -2
  47. package/dist/collection/i18n/responsive-prayer.i18n.es.json +7 -0
  48. package/dist/collection/i18n/text.i18n.es.json +6 -3
  49. package/dist/esm/ion-segment_16.entry.js +68 -34
  50. package/dist/esm/ldf-day-name_5.entry.js +16 -10
  51. package/dist/ldf/i18n/bible-reading.i18n.es.json +11 -2
  52. package/dist/ldf/i18n/editable-add-block-menu.i18n.es.json +48 -0
  53. package/dist/ldf/i18n/editable-add-block.i18n.es.json +5 -0
  54. package/dist/ldf/i18n/editable-antiphon-field.i18n.es.json +11 -0
  55. package/dist/ldf/i18n/editable-condition-piece.i18n.es.json +21 -0
  56. package/dist/ldf/i18n/editable-condition.i18n.es.json +7 -0
  57. package/dist/ldf/i18n/editable-delete.i18n.es.json +6 -0
  58. package/dist/ldf/i18n/editable-filter-documents.i18n.es.json +9 -0
  59. package/dist/ldf/i18n/editable-metadata-buttons.i18n.es.json +31 -0
  60. package/dist/ldf/i18n/editable-metadata-metadata-fields.i18n.es.json +48 -0
  61. package/dist/ldf/i18n/editable-metadata.i18n.es.json +51 -0
  62. package/dist/ldf/i18n/editable-preference-option.i18n.es.json +9 -0
  63. package/dist/ldf/i18n/editable-preferences.i18n.es.json +10 -0
  64. package/dist/ldf/i18n/editable-string-list.i18n.es.json +18 -0
  65. package/dist/ldf/i18n/editable-text.i18n.es.json +3 -0
  66. package/dist/ldf/i18n/heading.i18n.es.json +4 -0
  67. package/dist/ldf/i18n/image.i18n.es.json +4 -0
  68. package/dist/ldf/i18n/liturgical-document.i18n.es.json +45 -0
  69. package/dist/ldf/i18n/meditation.i18n.es.json +8 -0
  70. package/dist/ldf/i18n/psalm.i18n.es.json +9 -2
  71. package/dist/ldf/i18n/responsive-prayer.i18n.es.json +7 -0
  72. package/dist/ldf/i18n/text.i18n.es.json +6 -3
  73. package/dist/ldf/ldf.esm.js +1 -1
  74. package/dist/ldf/p-94949614.entry.js +1 -0
  75. package/dist/ldf/{p-66d56f86.entry.js → p-be040ae6.entry.js} +1 -1
  76. package/package.json +2 -2
  77. package/dist/ldf/p-8f60db69.entry.js +0 -1
@@ -7,7 +7,7 @@ const ionicGlobal = require('./ionic-global-581fb4f8.js');
7
7
  const helpers = require('./helpers-41dfb43a.js');
8
8
  const theme = require('./theme-81caa5b0.js');
9
9
  const overlays = require('./overlays-eb464d6d.js');
10
- const book$1 = require('./book-1a92678a.js');
10
+ const book$2 = require('./book-1a92678a.js');
11
11
  const rubric = require('./rubric-0afbe4c0.js');
12
12
  const heading$1 = require('./heading-5afc2b24.js');
13
13
  const option$1 = require('./option-a078d432.js');
@@ -417,23 +417,48 @@ const SkeletonText = class {
417
417
  SkeletonText.style = skeletonTextCss;
418
418
 
419
419
  const amen$1 = "Amen.";
420
+ const book$1 = "Book";
421
+ const chapter$1 = "Chapter";
422
+ const citation$5 = "Citation (e.g., John 1:1)";
423
+ const label$5 = "Label";
424
+ const loading$1 = "Loading...";
425
+ const verse$1 = "Verse";
426
+ const changeReading$1 = "Change Reading";
427
+ const newCitation$1 = "Biblical citation.";
428
+ const cancel$2 = "Cancel";
429
+ const ok$2 = "OK";
430
+ const EN$8 = {
431
+ amen: amen$1,
432
+ book: book$1,
433
+ chapter: chapter$1,
434
+ citation: citation$5,
435
+ label: label$5,
436
+ loading: loading$1,
437
+ verse: verse$1,
438
+ changeReading: changeReading$1,
439
+ newCitation: newCitation$1,
440
+ cancel: cancel$2,
441
+ ok: ok$2
442
+ };
443
+
444
+ const amen = "Amen.";
420
445
  const book = "Book";
421
446
  const chapter = "Chapter";
422
- const citation$3 = "Citation (e.g., John 1:1)";
423
- const label$3 = "Label";
424
- const loading$1 = "Loading...";
447
+ const citation$4 = "Citation (e.g., John 1:1)";
448
+ const label$4 = "Label";
449
+ const loading = "Loading...";
425
450
  const verse = "Verse";
426
451
  const changeReading = "Change Reading";
427
452
  const newCitation = "Biblical citation.";
428
453
  const cancel$1 = "Cancel";
429
454
  const ok$1 = "OK";
430
- const EN$8 = {
431
- amen: amen$1,
455
+ const ES$1 = {
456
+ amen: amen,
432
457
  book: book,
433
458
  chapter: chapter,
434
- citation: citation$3,
435
- label: label$3,
436
- loading: loading$1,
459
+ citation: citation$4,
460
+ label: label$4,
461
+ loading: loading,
437
462
  verse: verse,
438
463
  changeReading: changeReading,
439
464
  newCitation: newCitation,
@@ -441,13 +466,6 @@ const EN$8 = {
441
466
  ok: ok$1
442
467
  };
443
468
 
444
- const amen = "Amén.";
445
- const loading = "Se está cargando...";
446
- const ES$1 = {
447
- amen: amen,
448
- loading: loading
449
- };
450
-
451
469
  async function fetchReading(citation, version = 'NRSV', api = 'https://us-central1-venite-2.cloudfunctions.net') {
452
470
  const findURL = new URL(`${api}/bible`);
453
471
  findURL.searchParams.append('citation', citation);
@@ -600,7 +618,7 @@ const BibleReadingComponent = class {
600
618
  }
601
619
  // Render
602
620
  render() {
603
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
621
+ 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;
604
622
  const localeStrings = this.localeStrings || {};
605
623
  if (this.verses) {
606
624
  /* Editable version */
@@ -614,25 +632,27 @@ const BibleReadingComponent = class {
614
632
  }
615
633
  /* `short` renders a few verses, with a response and citation. */
616
634
  else if (this.obj.style == 'short') {
617
- const shortResponse = (((_h = (_g = this.obj) === null || _g === void 0 ? void 0 : _g.metadata) === null || _h === void 0 ? void 0 : _h.response) || localeStrings.amen).length <= 5;
635
+ const shortResponse = ((_j = (((_h = (_g = this.obj) === null || _g === void 0 ? void 0 : _g.metadata) === null || _h === void 0 ? void 0 : _h.response) || (localeStrings === null || localeStrings === void 0 ? void 0 : localeStrings.amen))) === null || _j === void 0 ? void 0 : _j.length) <= 5;
618
636
  let responseNode;
619
- if (!((_k = (_j = this.obj) === null || _j === void 0 ? void 0 : _j.metadata) === null || _k === void 0 ? void 0 : _k.response)) {
620
- responseNode = index.h("span", { class: "response" }, " ", localeStrings.amen);
637
+ if (!((_l = (_k = this.obj) === null || _k === void 0 ? void 0 : _k.metadata) === null || _l === void 0 ? void 0 : _l.response)) {
638
+ responseNode = index.h("span", { class: "response" }, " ", localeStrings === null || localeStrings === void 0 ? void 0 :
639
+ localeStrings.amen);
621
640
  }
622
641
  else {
623
- responseNode = index.h("span", { class: "response" }, " ", this.obj.metadata.response);
642
+ responseNode = index.h("span", { class: "response" }, " ", (_o = (_m = this.obj) === null || _m === void 0 ? void 0 : _m.metadata) === null || _o === void 0 ? void 0 :
643
+ _o.response);
624
644
  }
625
- return (index.h(index.Host, null, ((_l = this.obj) === null || _l === void 0 ? void 0 : _l.label) && index.h("ldf-heading", { doc: new heading$1.Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label] }) }), index.h("div", { lang: (_m = this.obj) === null || _m === void 0 ? void 0 : _m.language, class: `bible-reading ${((_o = this.obj) === null || _o === void 0 ? void 0 : _o.display_format) || 'default'}` }, index.h("p", null, this.verses.map((verse, verseIndex) => {
645
+ return (index.h(index.Host, null, ((_p = this.obj) === null || _p === void 0 ? void 0 : _p.label) && index.h("ldf-heading", { doc: new heading$1.Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label] }) }), index.h("div", { lang: (_q = this.obj) === null || _q === void 0 ? void 0 : _q.language, class: `bible-reading ${((_r = this.obj) === null || _r === void 0 ? void 0 : _r.display_format) || 'default'}` }, index.h("p", null, this.verses.map((verse, verseIndex) => {
626
646
  var _a;
627
647
  return verse.hasOwnProperty('type') && verse.type === 'heading'
628
648
  ? index.h("ldf-heading", { doc: new heading$1.Heading(verse) })
629
649
  : index.h("ldf-string", { citation: { book: verse.book, chapter: verse.chapter, verse: verse.verse }, id: this.obj.uid, text: verse.text, fragment: this.path, dropcap: ((_a = this.obj) === null || _a === void 0 ? void 0 : _a.display_format) == "force_dropcap" && verseIndex === 0 ? "force" : "disabled" });
630
- }), shortResponse && !((_q = (_p = this.obj) === null || _p === void 0 ? void 0 : _p.metadata) === null || _q === void 0 ? void 0 : _q.omit_response) && responseNode, index.h("span", { class: "citation" }, this.obj.citation)), !shortResponse && !((_s = (_r = this.obj) === null || _r === void 0 ? void 0 : _r.metadata) === null || _s === void 0 ? void 0 : _s.omit_response) && index.h("p", null, responseNode))));
650
+ }), shortResponse && !((_t = (_s = this.obj) === null || _s === void 0 ? void 0 : _s.metadata) === null || _t === void 0 ? void 0 : _t.omit_response) && responseNode, index.h("span", { class: "citation" }, this.obj.citation)), !shortResponse && !((_v = (_u = this.obj) === null || _u === void 0 ? void 0 : _u.metadata) === null || _v === void 0 ? void 0 : _v.omit_response) && index.h("p", null, responseNode))));
631
651
  }
632
652
  /* `long` render a typical Bible reading in the liturgy */
633
653
  else {
634
654
  const paragraphs = this.paragraphs();
635
- return (index.h("div", { lang: (_t = this.obj) === null || _t === void 0 ? void 0 : _t.language, class: `bible-reading ${((_u = this.obj) === null || _u === void 0 ? void 0 : _u.display_format) || 'default'}` }, index.h("ldf-heading", { doc: new heading$1.Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label], citation: this.obj.citation }) }), ((_w = (_v = this.obj) === null || _v === void 0 ? void 0 : _v.metadata) === null || _w === void 0 ? void 0 : _w.compiled_intro) && index.h("ldf-liturgical-document", { doc: this.obj.metadata.compiled_intro }), paragraphs.map((paragraph, paragraphIndex) => index.h("p", { lang: this.obj.language }, paragraph.map((verse, verseIndex) => {
655
+ return (index.h("div", { lang: (_w = this.obj) === null || _w === void 0 ? void 0 : _w.language, class: `bible-reading ${((_x = this.obj) === null || _x === void 0 ? void 0 : _x.display_format) || 'default'}` }, index.h("ldf-heading", { doc: new heading$1.Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label], citation: this.obj.citation }) }), ((_z = (_y = this.obj) === null || _y === void 0 ? void 0 : _y.metadata) === null || _z === void 0 ? void 0 : _z.compiled_intro) && index.h("ldf-liturgical-document", { doc: this.obj.metadata.compiled_intro }), paragraphs.map((paragraph, paragraphIndex) => index.h("p", { lang: this.obj.language }, paragraph.map((verse, verseIndex) => {
636
656
  var _a;
637
657
  return verse.hasOwnProperty('type') && verse.type === 'heading'
638
658
  ? index.h("ldf-heading", { doc: new heading$1.Heading(verse) })
@@ -655,12 +675,12 @@ const BibleReadingComponent = class {
655
675
  BibleReadingComponent.style = bibleReadingCss;
656
676
 
657
677
  const add = "Add";
658
- const label$2 = "Label";
659
- const citation$2 = "Citation";
678
+ const label$3 = "Label";
679
+ const citation$3 = "Citation";
660
680
  const EN$7 = {
661
681
  add: add,
662
- label: label$2,
663
- citation: citation$2
682
+ label: label$3,
683
+ citation: citation$3
664
684
  };
665
685
 
666
686
  const editableAddBlockCss = ".sc-ldf-editable-add-block-h{display:flex;flex-direction:column;align-items:center;width:100%}.sc-ldf-editable-add-block-h .button-container.sc-ldf-editable-add-block{display:flex;align-items:center;height:0;justify-content:center;width:100%}.sc-ldf-editable-add-block-h button.sc-ldf-editable-add-block{background-color:var(--ldf-background-color);color:var(--ldf-color);font-family:var(--ldf-controls-font-family);font-weight:lighter}.sc-ldf-editable-add-block-h button.sc-ldf-editable-add-block:hover{cursor:pointer}.sc-ldf-editable-add-block-h .visible.sc-ldf-editable-add-block{height:0;opacity:1;transition:0.25s}.sc-ldf-editable-add-block-h .hidden.sc-ldf-editable-add-block{height:0;opacity:0;transition:2s}.sc-ldf-editable-add-block-h .underlying.sc-ldf-editable-add-block{width:100%;border-top:1px solid #a0a0a0;border-bottom:1px solid #a0a0a0;min-height:1em;position:relative;bottom:0.5em;z-index:-1}.sc-ldf-editable-add-block-h .underlying.visible.sc-ldf-editable-add-block{opacity:0.5;transition:0.25s}.sc-ldf-editable-add-block-h .underlying.visible.expanded.sc-ldf-editable-add-block{z-index:1}.sc-ldf-editable-add-block-h .underlying.collapsed.sc-ldf-editable-add-block{height:1em}.sc-ldf-editable-add-block-h .underlying.hidden.sc-ldf-editable-add-block{opacity:0;transition:1s}.sc-ldf-editable-add-block-h .underlying.hidden.sc-ldf-editable-add-block button.sc-ldf-editable-add-block{z-index:-1}.sc-ldf-editable-add-block-h .visually-hidden.sc-ldf-editable-add-block{position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}.button.sc-ldf-editable-add-block{position:absolute;display:flex;flex-direction:row;align-items:center;justify-content:center;opacity:1;transition:all 0.25s}.hidden.sc-ldf-editable-add-block{display:none;height:0;opacity:0;transition:all 0.25s}";
@@ -802,19 +822,19 @@ const EditableMetadataButtonsComponent = class {
802
822
  {
803
823
  name: 'value',
804
824
  type: 'radio',
805
- value: book$1.Responsive.AllSizes,
825
+ value: book$2.Responsive.AllSizes,
806
826
  label: this.localeStrings.responsiveAll
807
827
  },
808
828
  {
809
829
  name: 'value',
810
830
  type: 'radio',
811
- value: book$1.Responsive.SmallOnly,
831
+ value: book$2.Responsive.SmallOnly,
812
832
  label: this.localeStrings.responsiveSmallOnly
813
833
  },
814
834
  {
815
835
  name: 'value',
816
836
  type: 'radio',
817
- value: book$1.Responsive.SmallHidden,
837
+ value: book$2.Responsive.SmallHidden,
818
838
  label: this.localeStrings.responsiveSmallHidden
819
839
  }
820
840
  ],
@@ -1446,17 +1466,17 @@ const LiturgicalDocumentComponent = class {
1446
1466
  let provisionalObj;
1447
1467
  try {
1448
1468
  if (typeof newDoc == 'string') {
1449
- provisionalObj = new book$1.LiturgicalDocument(JSON.parse(newDoc));
1469
+ provisionalObj = new book$2.LiturgicalDocument(JSON.parse(newDoc));
1450
1470
  }
1451
1471
  else {
1452
- provisionalObj = new book$1.LiturgicalDocument(newDoc);
1472
+ provisionalObj = new book$2.LiturgicalDocument(newDoc);
1453
1473
  }
1454
1474
  }
1455
1475
  catch (e) {
1456
1476
  console.warn(e);
1457
- provisionalObj = new book$1.LiturgicalDocument();
1477
+ provisionalObj = new book$2.LiturgicalDocument();
1458
1478
  }
1459
- this.obj = provisionalObj || new book$1.LiturgicalDocument();
1479
+ this.obj = provisionalObj || new book$2.LiturgicalDocument();
1460
1480
  }
1461
1481
  // Listeners
1462
1482
  onDragOver() {
@@ -1616,9 +1636,9 @@ const LiturgicalDocumentComponent = class {
1616
1636
  return (node && index.h(index.Host, { lang: ((_a = this.obj) === null || _a === void 0 ? void 0 : _a.language) || 'en' }, index.h("div", { class: {
1617
1637
  container: true,
1618
1638
  editable: this.editable || this.preview,
1619
- "small-only": !this.editable && !this.preview && ((_b = this.obj) === null || _b === void 0 ? void 0 : _b.responsive) !== undefined && ((_c = this.obj) === null || _c === void 0 ? void 0 : _c.responsive) == book$1.Responsive.SmallOnly,
1620
- "small-hidden": !this.editable && !this.preview && ((_d = this.obj) === null || _d === void 0 ? void 0 : _d.responsive) !== undefined && ((_e = this.obj) === null || _e === void 0 ? void 0 : _e.responsive) == book$1.Responsive.SmallHidden,
1621
- } }, (this.editable || this.preview) && index.h("ldf-editable-metadata-buttons", { visible: this.hasFocus, base: this.base, index: this.index, obj: this.obj, parentType: this.parentType, preview: this.preview, onLdfTogglePreview: (e) => this.setPreview(e.detail), class: { 'top-level': ((_f = this.obj) === null || _f === void 0 ? void 0 : _f.type) === 'liturgy' || ((_g = this.obj) === null || _g === void 0 ? void 0 : _g.type) === 'option' } }), (this.editable || this.preview) && (((_h = this.obj) === null || _h === void 0 ? void 0 : _h.responsive) === book$1.Responsive.SmallHidden || ((_j = this.obj) === null || _j === void 0 ? void 0 : _j.responsive) === book$1.Responsive.SmallOnly) && index.h("ion-chip", { class: "responsive-banner" }, index.h("ion-icon", { name: "phone-portrait-outline" }), ((_k = this.obj) === null || _k === void 0 ? void 0 : _k.responsive) === book$1.Responsive.SmallOnly && index.h("ion-label", null, this.localeStrings.smallOnly), ((_l = this.obj) === null || _l === void 0 ? void 0 : _l.responsive) === book$1.Responsive.SmallHidden && index.h("ion-label", null, this.localeStrings.smallHidden)), index.h("div", { id: (this.path || '').replace(/\//g, '-'), class: {
1639
+ "small-only": !this.editable && !this.preview && ((_b = this.obj) === null || _b === void 0 ? void 0 : _b.responsive) !== undefined && ((_c = this.obj) === null || _c === void 0 ? void 0 : _c.responsive) == book$2.Responsive.SmallOnly,
1640
+ "small-hidden": !this.editable && !this.preview && ((_d = this.obj) === null || _d === void 0 ? void 0 : _d.responsive) !== undefined && ((_e = this.obj) === null || _e === void 0 ? void 0 : _e.responsive) == book$2.Responsive.SmallHidden,
1641
+ } }, (this.editable || this.preview) && index.h("ldf-editable-metadata-buttons", { visible: this.hasFocus, base: this.base, index: this.index, obj: this.obj, parentType: this.parentType, preview: this.preview, onLdfTogglePreview: (e) => this.setPreview(e.detail), class: { 'top-level': ((_f = this.obj) === null || _f === void 0 ? void 0 : _f.type) === 'liturgy' || ((_g = this.obj) === null || _g === void 0 ? void 0 : _g.type) === 'option' } }), (this.editable || this.preview) && (((_h = this.obj) === null || _h === void 0 ? void 0 : _h.responsive) === book$2.Responsive.SmallHidden || ((_j = this.obj) === null || _j === void 0 ? void 0 : _j.responsive) === book$2.Responsive.SmallOnly) && index.h("ion-chip", { class: "responsive-banner" }, index.h("ion-icon", { name: "phone-portrait-outline" }), ((_k = this.obj) === null || _k === void 0 ? void 0 : _k.responsive) === book$2.Responsive.SmallOnly && index.h("ion-label", null, this.localeStrings.smallOnly), ((_l = this.obj) === null || _l === void 0 ? void 0 : _l.responsive) === book$2.Responsive.SmallHidden && index.h("ion-label", null, this.localeStrings.smallHidden)), index.h("div", { id: (this.path || '').replace(/\//g, '-'), class: {
1622
1642
  doc: true,
1623
1643
  editable: this.editable || this.preview
1624
1644
  }, style: { padding: this.padding } }, node))));
@@ -2042,6 +2062,25 @@ const OptionComponent = class {
2042
2062
  OptionComponent.style = optionCss;
2043
2063
 
2044
2064
  const changeCanticle$1 = "Change Canticle";
2065
+ const citation$2 = "(Biblical) Citation";
2066
+ const label$2 = "Label";
2067
+ const latinname$1 = "Latin Name";
2068
+ const section_break_insert$1 = "+ insert section break";
2069
+ const section_break_remove$1 = "x remove section break";
2070
+ const source$2 = "Source";
2071
+ const source_citation$1 = "Citation";
2072
+ const EN$1 = {
2073
+ changeCanticle: changeCanticle$1,
2074
+ citation: citation$2,
2075
+ label: label$2,
2076
+ latinname: latinname$1,
2077
+ section_break_insert: section_break_insert$1,
2078
+ section_break_remove: section_break_remove$1,
2079
+ source: source$2,
2080
+ source_citation: source_citation$1
2081
+ };
2082
+
2083
+ const changeCanticle = "Change Canticle";
2045
2084
  const citation$1 = "(Biblical) Citation";
2046
2085
  const label$1 = "Label";
2047
2086
  const latinname = "Latin Name";
@@ -2049,8 +2088,8 @@ const section_break_insert = "+ insert section break";
2049
2088
  const section_break_remove = "x remove section break";
2050
2089
  const source$1 = "Source";
2051
2090
  const source_citation = "Citation";
2052
- const EN$1 = {
2053
- changeCanticle: changeCanticle$1,
2091
+ const ES = {
2092
+ changeCanticle: changeCanticle,
2054
2093
  citation: citation$1,
2055
2094
  label: label$1,
2056
2095
  latinname: latinname,
@@ -2060,11 +2099,6 @@ const EN$1 = {
2060
2099
  source_citation: source_citation
2061
2100
  };
2062
2101
 
2063
- const changeCanticle = "Elige otro Cántico";
2064
- const ES = {
2065
- changeCanticle: changeCanticle
2066
- };
2067
-
2068
2102
  const psalmCss = "ldf-psalm.sc-ldf-psalm,.sc-ldf-psalm-h{font-family:var(--ldf-font-face);--ldf-drop-margin-right:var(--ldf-drop-psalm-margin-right)}ldf-psalm[lang=he].sc-ldf-psalm .verse.sc-ldf-psalm,[lang=he].sc-ldf-psalm-h .verse.sc-ldf-psalm{text-align:right;--ldf-drop-float:right}.psalm-set.sc-ldf-psalm{margin-top:0.5em;margin-bottom:0.5em}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm{display:var(--ldf-psalm-grid-display);grid-template-columns:var(--ldf-psalm-grid-template-columns);grid-template-rows:auto;grid-template-areas:var(--ldf-psalm-grid-template-areas);margin:0;text-indent:var(--ldf-psalm-verse-indentation)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm br.sc-ldf-psalm{display:var(--ldf-psalm-line-break-display)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm sup.sc-ldf-psalm{float:var(--ldf-psalm-number-float);display:var(--ldf-psalm-number-display);grid-area:var(--ldf-psalm-number-grid-area);margin-right:var(--ldf-psalm-number-margin-right)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm .text.sc-ldf-psalm{display:var(--ldf-psalm-text-display);grid-area:var(--ldf-psalm-text-grid-area)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm .halfverse.sc-ldf-psalm{margin-left:var(--ldf-psalm-halfverse-margin-left)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm .verse.sc-ldf-psalm,.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm .halfverse.sc-ldf-psalm{display:var(--ldf-psalm-verse-display)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm .halfverse.sc-ldf-psalm{display:var(--ldf-psalm-halfverse-display, var(--ldf-psalm-verse-display))}.editable.sc-ldf-psalm .verse.sc-ldf-psalm,.editable.sc-ldf-psalm .halfverse.sc-ldf-psalm{width:100%}.psalm-parent.no-numbers.sc-ldf-psalm{display:block;text-align:left;grid-template-columns:none;grid-template-rows:none;grid-template-areas:none}.psalm-parent.no-numbers.sc-ldf-psalm .psalm.sc-ldf-psalm{display:block;grid-template-columns:none;grid-template-rows:none;grid-template-areas:none}.psalm-parent.no-numbers.sc-ldf-psalm .psalm.sc-ldf-psalm .text.sc-ldf-psalm{text-align:left;grid-area:none;display:var(--ldf-psalm-text-display);width:100%}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm:nth-of-type(1) sup.sc-ldf-psalm{display:var(--ldf-psalm-set-first-verse-number-display)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm:nth-of-type(1) .text.sc-ldf-psalm:nth-of-type(1) .verse.sc-ldf-psalm:nth-of-type(1){display:var(--ldf-psalm-set-first-verse-display)}.psalm-set.sc-ldf-psalm .psalm.sc-ldf-psalm:nth-of-type(1) .text.sc-ldf-psalm:nth-of-type(1) .halfverse.sc-ldf-psalm:nth-of-type(2){display:var(--ldf-psalm-set-first-half-verse-display, inline-block)}.psalm-set.sc-ldf-psalm:nth-of-type(1) .psalm.sc-ldf-psalm:nth-of-type(1) sup.sc-ldf-psalm{display:var(--ldf-psalm-first-verse-number-display)}.psalm-set.sc-ldf-psalm:nth-of-type(1) .psalm.sc-ldf-psalm:nth-of-type(1) .text.sc-ldf-psalm:nth-of-type(1) .verse.sc-ldf-psalm:nth-of-type(1){display:var(--ldf-psalm-first-verse-display)}.psalm-set.sc-ldf-psalm:nth-of-type(1) .psalm.sc-ldf-psalm:nth-of-type(1) .text.sc-ldf-psalm:nth-of-type(1) .halfverse.sc-ldf-psalm:nth-of-type(2){display:var(--ldf-psalm-first-half-verse-display, inline-block)}.antiphon.sc-ldf-psalm{display:var(--ldf-psalm-antiphon-display);font-style:var(--ldf-antiphon-font-style);font-weight:var(--ldf-antiphon-font-weight);margin-top:0.5em}.repeat-antiphon.sc-ldf-psalm{display:var(--ldf-psalm-repeat-antiphon-display)}h5.sc-ldf-psalm{font-size:1em;font-style:italic;font-weight:normal;margin-right:1em}.psalm.unison.sc-ldf-psalm .text.sc-ldf-psalm{font-weight:var(--ldf-unison-font-weight);font-style:var(--ldf-unison-font-style)}.psalm.omit.sc-ldf-psalm .text.sc-ldf-psalm{display:none}.psalm.wholeverse.sc-ldf-psalm .psalm.sc-ldf-psalm:nth-child(even),.psalm-parent.wholeverse.sc-ldf-psalm .psalm.sc-ldf-psalm:nth-child(even){font-weight:var(--ldf-response-font-weight);font-style:var(--ldf-response-font-style)}.psalm.halfverse.sc-ldf-psalm .halfverse.sc-ldf-psalm,.psalm-parent.halfverse.sc-ldf-psalm .halfverse.sc-ldf-psalm{font-weight:var(--ldf-response-font-weight);font-style:var(--ldf-response-font-style)}h3.editable-label.sc-ldf-psalm{text-align:var(--ldf-h3-text-align);font-weight:var(--ldf-h3-font-weight);font-style:var(--ldf-h3-font-style);font-variant:var(--ldf-h3-font-variant);font-size:var(--ldf-h3-font-size);text-transform:var(--ldf-h3-text-transform)}.section-break.sc-ldf-psalm{display:block;text-align:center;width:100%}.section-break.hidden.sc-ldf-psalm{display:none}";
2069
2103
 
2070
2104
  const LOCALE$1 = {
@@ -2147,7 +2181,7 @@ const PsalmComponent = class {
2147
2181
  // antiphon is something like an O antiphon tree:
2148
2182
  // dates can be either MM/DD or MM-DD
2149
2183
  // { '12/23': '...', '12/24': '...' }
2150
- const date = this.obj.day ? book$1.dateFromYMDString((_b = (_a = this.obj) === null || _a === void 0 ? void 0 : _a.day) === null || _b === void 0 ? void 0 : _b.date) : new Date();
2184
+ const date = this.obj.day ? book$2.dateFromYMDString((_b = (_a = this.obj) === null || _a === void 0 ? void 0 : _a.day) === null || _b === void 0 ? void 0 : _b.date) : new Date();
2151
2185
  return this.antiphonNode(antiphon[`${date.getMonth() + 1}/${date.getDate()}`] || antiphon[`${date.getMonth() + 1}-${date.getDate()}`], true);
2152
2186
  }
2153
2187
  }
@@ -5548,24 +5548,30 @@ if (module.exports) {
5548
5548
 
5549
5549
  const amen$1 = "Amen.";
5550
5550
  const authorized_prayers$1 = "Prayers and Thanksgivings";
5551
- const label = "Label";
5552
- const source = "Source";
5553
- const source_citation = "Citation";
5551
+ const label$1 = "Label";
5552
+ const source$1 = "Source";
5553
+ const source_citation$1 = "Citation";
5554
5554
  const EN = {
5555
5555
  amen: amen$1,
5556
5556
  authorized_prayers: authorized_prayers$1,
5557
- label: label,
5558
- source: source,
5559
- source_citation: source_citation,
5557
+ label: label$1,
5558
+ source: source$1,
5559
+ source_citation: source_citation$1,
5560
5560
  "prayer-list": "Prayer List"
5561
5561
  };
5562
5562
 
5563
- const amen = "Amén.";
5564
- const authorized_prayers = "Oraciones y Acciones de Gracias";
5563
+ const amen = "Amen.";
5564
+ const authorized_prayers = "Prayers and Thanksgivings";
5565
+ const label = "Label";
5566
+ const source = "Source";
5567
+ const source_citation = "Citation";
5565
5568
  const ES = {
5566
5569
  amen: amen,
5567
- "prayer-list": "Oraciones",
5568
- authorized_prayers: authorized_prayers
5570
+ authorized_prayers: authorized_prayers,
5571
+ label: label,
5572
+ source: source,
5573
+ source_citation: source_citation,
5574
+ "prayer-list": "Prayer List"
5569
5575
  };
5570
5576
 
5571
5577
  const textCss = "ldf-label-bar.sc-ldf-text{min-height:0}p.sc-ldf-text{font-family:var(--ldf-font-face);text-align:var(--ldf-text-align);text-justify:inter-character}li.sc-ldf-text,h1.sc-ldf-text,h2.sc-ldf-text,h3.sc-ldf-text,h4.sc-ldf-text,h5.sc-ldf-text,h6.sc-ldf-text,ol.sc-ldf-text,span.sc-ldf-text,em.sc-ldf-text,strong.sc-ldf-text{font-family:var(--ldf-font-face)}.response.sc-ldf-text{font-weight:var(--ldf-response-font-weight);font-style:var(--ldf-response-font-style)}.text.omit.sc-ldf-text .text-body.sc-ldf-text{display:none}.text.editable.omit.sc-ldf-text .text-body.sc-ldf-text{display:block}.text.unison.sc-ldf-text .text-body.sc-ldf-text{font-weight:var(--ldf-unison-font-weight);font-style:var(--ldf-unison-font-style)}h3.editable-label.sc-ldf-text{text-align:var(--ldf-h3-text-align);font-weight:var(--ldf-h3-font-weight);font-style:var(--ldf-h3-font-style);font-variant:var(--ldf-h3-font-variant);font-size:var(--ldf-h3-font-size);text-transform:var(--ldf-h3-text-transform)}.prayer-list.sc-ldf-text{display:block;margin:0;padding:0;text-align:center}.prayer-list.sc-ldf-text li.sc-ldf-text{list-style-type:none;text-align:center;margin:0.5em 0;padding:0}";
@@ -1,4 +1,13 @@
1
1
  {
2
- "amen": "Amén.",
3
- "loading": "Se está cargando..."
2
+ "amen": "Amen.",
3
+ "book": "Book",
4
+ "chapter": "Chapter",
5
+ "citation": "Citation (e.g., John 1:1)",
6
+ "label": "Label",
7
+ "loading": "Loading...",
8
+ "verse": "Verse",
9
+ "changeReading": "Change Reading",
10
+ "newCitation": "Biblical citation.",
11
+ "cancel": "Cancel",
12
+ "ok": "OK"
4
13
  }
@@ -133,7 +133,7 @@ export class BibleReadingComponent {
133
133
  }
134
134
  // Render
135
135
  render() {
136
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
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;
137
137
  const localeStrings = this.localeStrings || {};
138
138
  if (this.verses) {
139
139
  /* Editable version */
@@ -165,21 +165,21 @@ export class BibleReadingComponent {
165
165
  }
166
166
  /* `short` renders a few verses, with a response and citation. */
167
167
  else if (this.obj.style == 'short') {
168
- const shortResponse = (((_h = (_g = this.obj) === null || _g === void 0 ? void 0 : _g.metadata) === null || _h === void 0 ? void 0 : _h.response) || localeStrings.amen).length <= 5;
168
+ const shortResponse = ((_j = (((_h = (_g = this.obj) === null || _g === void 0 ? void 0 : _g.metadata) === null || _h === void 0 ? void 0 : _h.response) || (localeStrings === null || localeStrings === void 0 ? void 0 : localeStrings.amen))) === null || _j === void 0 ? void 0 : _j.length) <= 5;
169
169
  let responseNode;
170
- if (!((_k = (_j = this.obj) === null || _j === void 0 ? void 0 : _j.metadata) === null || _k === void 0 ? void 0 : _k.response)) {
170
+ if (!((_l = (_k = this.obj) === null || _k === void 0 ? void 0 : _k.metadata) === null || _l === void 0 ? void 0 : _l.response)) {
171
171
  responseNode = h("span", { class: "response" },
172
- " ",
172
+ " ", localeStrings === null || localeStrings === void 0 ? void 0 :
173
173
  localeStrings.amen);
174
174
  }
175
175
  else {
176
176
  responseNode = h("span", { class: "response" },
177
- " ",
178
- this.obj.metadata.response);
177
+ " ", (_o = (_m = this.obj) === null || _m === void 0 ? void 0 : _m.metadata) === null || _o === void 0 ? void 0 :
178
+ _o.response);
179
179
  }
180
180
  return (h(Host, null,
181
- ((_l = this.obj) === null || _l === void 0 ? void 0 : _l.label) && h("ldf-heading", { doc: new Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label] }) }),
182
- h("div", { lang: (_m = this.obj) === null || _m === void 0 ? void 0 : _m.language, class: `bible-reading ${((_o = this.obj) === null || _o === void 0 ? void 0 : _o.display_format) || 'default'}` },
181
+ ((_p = this.obj) === null || _p === void 0 ? void 0 : _p.label) && h("ldf-heading", { doc: new Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label] }) }),
182
+ h("div", { lang: (_q = this.obj) === null || _q === void 0 ? void 0 : _q.language, class: `bible-reading ${((_r = this.obj) === null || _r === void 0 ? void 0 : _r.display_format) || 'default'}` },
183
183
  h("p", null,
184
184
  this.verses.map((verse, verseIndex) => {
185
185
  var _a;
@@ -187,16 +187,16 @@ export class BibleReadingComponent {
187
187
  ? h("ldf-heading", { doc: new Heading(verse) })
188
188
  : h("ldf-string", { citation: { book: verse.book, chapter: verse.chapter, verse: verse.verse }, id: this.obj.uid, text: verse.text, fragment: this.path, dropcap: ((_a = this.obj) === null || _a === void 0 ? void 0 : _a.display_format) == "force_dropcap" && verseIndex === 0 ? "force" : "disabled" });
189
189
  }),
190
- shortResponse && !((_q = (_p = this.obj) === null || _p === void 0 ? void 0 : _p.metadata) === null || _q === void 0 ? void 0 : _q.omit_response) && responseNode,
190
+ shortResponse && !((_t = (_s = this.obj) === null || _s === void 0 ? void 0 : _s.metadata) === null || _t === void 0 ? void 0 : _t.omit_response) && responseNode,
191
191
  h("span", { class: "citation" }, this.obj.citation)),
192
- !shortResponse && !((_s = (_r = this.obj) === null || _r === void 0 ? void 0 : _r.metadata) === null || _s === void 0 ? void 0 : _s.omit_response) && h("p", null, responseNode))));
192
+ !shortResponse && !((_v = (_u = this.obj) === null || _u === void 0 ? void 0 : _u.metadata) === null || _v === void 0 ? void 0 : _v.omit_response) && h("p", null, responseNode))));
193
193
  }
194
194
  /* `long` render a typical Bible reading in the liturgy */
195
195
  else {
196
196
  const paragraphs = this.paragraphs();
197
- return (h("div", { lang: (_t = this.obj) === null || _t === void 0 ? void 0 : _t.language, class: `bible-reading ${((_u = this.obj) === null || _u === void 0 ? void 0 : _u.display_format) || 'default'}` },
197
+ return (h("div", { lang: (_w = this.obj) === null || _w === void 0 ? void 0 : _w.language, class: `bible-reading ${((_x = this.obj) === null || _x === void 0 ? void 0 : _x.display_format) || 'default'}` },
198
198
  h("ldf-heading", { doc: new Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label], citation: this.obj.citation }) }),
199
- ((_w = (_v = this.obj) === null || _v === void 0 ? void 0 : _v.metadata) === null || _w === void 0 ? void 0 : _w.compiled_intro) && h("ldf-liturgical-document", { doc: this.obj.metadata.compiled_intro }),
199
+ ((_z = (_y = this.obj) === null || _y === void 0 ? void 0 : _y.metadata) === null || _z === void 0 ? void 0 : _z.compiled_intro) && h("ldf-liturgical-document", { doc: this.obj.metadata.compiled_intro }),
200
200
  paragraphs.map((paragraph, paragraphIndex) => h("p", { lang: this.obj.language }, paragraph.map((verse, verseIndex) => {
201
201
  var _a;
202
202
  return verse.hasOwnProperty('type') && verse.type === 'heading'
@@ -76,16 +76,13 @@ var BibleReadingComponent = /** @class */ (function () {
76
76
  else {
77
77
  this.obj = new ldf_1.BibleReading(newDoc);
78
78
  }
79
- console.log("(BibleReading) docChanged => this.obj = ", this.obj);
80
79
  this.processIntro();
81
- console.log("(BibleReading) processIntro => this.obj = ", this.obj);
82
80
  }
83
81
  catch (e) {
84
82
  console.warn(e);
85
83
  this.obj = new ldf_1.BibleReading();
86
84
  }
87
85
  this.loadVerses();
88
- console.log("(BibleReading) loadVerses => this.obj = ", this.obj);
89
86
  };
90
87
  // Lifecycle events
91
88
  BibleReadingComponent.prototype.componentWillLoad = function () {
@@ -234,7 +231,7 @@ var BibleReadingComponent = /** @class */ (function () {
234
231
  // Render
235
232
  BibleReadingComponent.prototype.render = function () {
236
233
  var _this = this;
237
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
234
+ 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;
238
235
  var localeStrings = this.localeStrings || {};
239
236
  if (this.verses) {
240
237
  /* Editable version */
@@ -266,21 +263,21 @@ var BibleReadingComponent = /** @class */ (function () {
266
263
  }
267
264
  /* `short` renders a few verses, with a response and citation. */
268
265
  else if (this.obj.style == 'short') {
269
- var shortResponse = (((_h = (_g = this.obj) === null || _g === void 0 ? void 0 : _g.metadata) === null || _h === void 0 ? void 0 : _h.response) || localeStrings.amen).length <= 5;
266
+ var shortResponse = ((_j = (((_h = (_g = this.obj) === null || _g === void 0 ? void 0 : _g.metadata) === null || _h === void 0 ? void 0 : _h.response) || (localeStrings === null || localeStrings === void 0 ? void 0 : localeStrings.amen))) === null || _j === void 0 ? void 0 : _j.length) <= 5;
270
267
  var responseNode = void 0;
271
- if (!((_k = (_j = this.obj) === null || _j === void 0 ? void 0 : _j.metadata) === null || _k === void 0 ? void 0 : _k.response)) {
268
+ if (!((_l = (_k = this.obj) === null || _k === void 0 ? void 0 : _k.metadata) === null || _l === void 0 ? void 0 : _l.response)) {
272
269
  responseNode = React.createElement("span", { "class": "response" },
273
- " ",
270
+ " ", localeStrings === null || localeStrings === void 0 ? void 0 :
274
271
  localeStrings.amen);
275
272
  }
276
273
  else {
277
274
  responseNode = React.createElement("span", { "class": "response" },
278
- " ",
279
- this.obj.metadata.response);
275
+ " ", (_o = (_m = this.obj) === null || _m === void 0 ? void 0 : _m.metadata) === null || _o === void 0 ? void 0 :
276
+ _o.response);
280
277
  }
281
278
  return (React.createElement(core_2.Host, null,
282
- ((_l = this.obj) === null || _l === void 0 ? void 0 : _l.label) && React.createElement("ldf-heading", { doc: new ldf_1.Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label] }) }),
283
- React.createElement("div", { lang: (_m = this.obj) === null || _m === void 0 ? void 0 : _m.language, "class": "bible-reading " + (((_o = this.obj) === null || _o === void 0 ? void 0 : _o.display_format) || 'default') },
279
+ ((_p = this.obj) === null || _p === void 0 ? void 0 : _p.label) && React.createElement("ldf-heading", { doc: new ldf_1.Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label] }) }),
280
+ React.createElement("div", { lang: (_q = this.obj) === null || _q === void 0 ? void 0 : _q.language, "class": "bible-reading " + (((_r = this.obj) === null || _r === void 0 ? void 0 : _r.display_format) || 'default') },
284
281
  React.createElement("p", null,
285
282
  this.verses.map(function (verse, verseIndex) {
286
283
  var _a;
@@ -288,16 +285,16 @@ var BibleReadingComponent = /** @class */ (function () {
288
285
  ? React.createElement("ldf-heading", { doc: new ldf_1.Heading(verse) })
289
286
  : React.createElement("ldf-string", { citation: { book: verse.book, chapter: verse.chapter, verse: verse.verse }, id: _this.obj.uid, text: verse.text, fragment: _this.path, dropcap: ((_a = _this.obj) === null || _a === void 0 ? void 0 : _a.display_format) == "force_dropcap" && verseIndex === 0 ? "force" : "disabled" });
290
287
  }),
291
- shortResponse && !((_q = (_p = this.obj) === null || _p === void 0 ? void 0 : _p.metadata) === null || _q === void 0 ? void 0 : _q.omit_response) && responseNode,
288
+ shortResponse && !((_t = (_s = this.obj) === null || _s === void 0 ? void 0 : _s.metadata) === null || _t === void 0 ? void 0 : _t.omit_response) && responseNode,
292
289
  React.createElement("span", { "class": "citation" }, this.obj.citation)),
293
- !shortResponse && !((_s = (_r = this.obj) === null || _r === void 0 ? void 0 : _r.metadata) === null || _s === void 0 ? void 0 : _s.omit_response) && React.createElement("p", null, responseNode))));
290
+ !shortResponse && !((_v = (_u = this.obj) === null || _u === void 0 ? void 0 : _u.metadata) === null || _v === void 0 ? void 0 : _v.omit_response) && React.createElement("p", null, responseNode))));
294
291
  }
295
292
  /* `long` render a typical Bible reading in the liturgy */
296
293
  else {
297
294
  var paragraphs = this.paragraphs();
298
- return (React.createElement("div", { lang: (_t = this.obj) === null || _t === void 0 ? void 0 : _t.language, "class": "bible-reading " + (((_u = this.obj) === null || _u === void 0 ? void 0 : _u.display_format) || 'default') },
295
+ return (React.createElement("div", { lang: (_w = this.obj) === null || _w === void 0 ? void 0 : _w.language, "class": "bible-reading " + (((_x = this.obj) === null || _x === void 0 ? void 0 : _x.display_format) || 'default') },
299
296
  React.createElement("ldf-heading", { doc: new ldf_1.Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label], citation: this.obj.citation }) }),
300
- ((_w = (_v = this.obj) === null || _v === void 0 ? void 0 : _v.metadata) === null || _w === void 0 ? void 0 : _w.compiled_intro) && React.createElement("ldf-liturgical-document", { doc: this.obj.metadata.compiled_intro }),
297
+ ((_z = (_y = this.obj) === null || _y === void 0 ? void 0 : _y.metadata) === null || _z === void 0 ? void 0 : _z.compiled_intro) && React.createElement("ldf-liturgical-document", { doc: this.obj.metadata.compiled_intro }),
301
298
  paragraphs.map(function (paragraph, paragraphIndex) { return React.createElement("p", { lang: _this.obj.language }, paragraph.map(function (verse, verseIndex) {
302
299
  var _a;
303
300
  return verse.hasOwnProperty('type') && verse.type === 'heading'
@@ -0,0 +1,5 @@
1
+ {
2
+ "add": "Add",
3
+ "label": "Label",
4
+ "citation": "Citation"
5
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "alleluia": "Alleluia",
3
+ "antiphon": "Antiphon",
4
+ "anthem": "Anthem",
5
+ "authorized-prayers": "Intercessions & Thanksgivings",
6
+ "bible": "Reading",
7
+ "canticle": "Canticle",
8
+ "canticle-blank": "Canticle (Custom)",
9
+ "closing-sentence": "Closing Sentence",
10
+ "collect_of_the_day": "Collect of the Day",
11
+ "confession": "Confession",
12
+ "date": "Date",
13
+ "day": "Liturgical Day",
14
+ "eucharistic-prayer": "Eucharistic Prayer",
15
+ "gloria_patri": "Gloria Patri",
16
+ "heading": "Heading",
17
+ "hymn": "Hymn",
18
+ "image": "Image",
19
+ "invitatory": "Invitatory",
20
+ "lectionary-reading": "Lectionary Reading",
21
+ "litany": "Litany",
22
+ "liturgy": "Liturgy",
23
+ "liturgy-template": "Liturgy (for Templates)",
24
+ "meditation": "Meditation",
25
+ "option": "Option",
26
+ "offertory-sentence": "Offertory Sentence",
27
+ "opening-sentence": "Opening Sentence",
28
+ "our-father": "Lord’s Prayer",
29
+ "postlude": "Postlude",
30
+ "prayer": "Prayer",
31
+ "preces": "Preces",
32
+ "prelude": "Prelude",
33
+ "prayers-of-the-people": "Prayers of the People",
34
+ "proper-preface": "Proper Preface",
35
+ "psalm": "Psalm",
36
+ "psalm-template": "Psalm (for Templates)",
37
+ "psalter": "Lectionary Psalms",
38
+ "refrain": "Refrain",
39
+ "responsive": "Responsive Prayer",
40
+ "rich-text": "Rich Text",
41
+ "rubric": "Rubric",
42
+ "text": "Text",
43
+ "title": "Add a Block",
44
+ "Reading": "Reading",
45
+ "Prayer": "Prayer",
46
+ "Liturgy": "Liturgy",
47
+ "Music": "Music"
48
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "antiphon": "Antiphon",
3
+ "omit": "Omit Antiphon",
4
+ "insert": "Insert Seasonal Antiphon",
5
+ "text": "Text",
6
+ "table": "Table",
7
+ "add_table_value_header": "Add Antiphon for Date",
8
+ "add_table_value_message": "What date should the antiphon appear? (MM-DD)",
9
+ "cancel": "Cancel",
10
+ "ok": "Okay"
11
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "addCondition": "Add a Condition",
3
+ "and": "All of the following are true",
4
+ "condition": "Condition",
5
+ "hasCondition": "Only include this if...",
6
+ "or": "Any of the following is true"
7
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "date": "Date (Month/Day)",
3
+ "day": "Liturgical Day",
4
+ "dayOfMonth": "Day of Month",
5
+ "dayOfMonthIs": "Day of Month Is",
6
+ "dayOfMonthIsNot": "Day of Month Is Not",
7
+ "except": "Except",
8
+ "feastDay": "Only on Holy Days and Sundays",
9
+ "gt": "After",
10
+ "gte": "On or After",
11
+ "lt": "Before",
12
+ "lte": "Before or On",
13
+ "only": "Only",
14
+ "preference": "Preference",
15
+ "preferenceIs": "=",
16
+ "preferenceIsNot": "≠",
17
+ "preferenceKey": "Key",
18
+ "preferenceValue": "Value",
19
+ "season": "Season",
20
+ "weekday": "Day of the Week"
21
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "cancel": "Cancel",
3
+ "confirm_header": "Confirm Deletion",
4
+ "confirm_message": "Are you sure you want to delete this item?",
5
+ "delete": "Delete"
6
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "choose": "Choose a ",
3
+ "confirm": "Choose",
4
+ "includeAll": "Include all possibilities",
5
+ "version": "Version",
6
+ "psalm": "Psalm",
7
+ "collect": "Collect",
8
+ "reading": "Reading"
9
+ }