@venite/components 0.16.9 → 0.16.15

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 (35) hide show
  1. package/dist/cjs/ion-segment_16.cjs.entry.js +15 -12
  2. package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +2 -2
  3. package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +1 -1
  4. package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +3 -3
  5. package/dist/cjs/ldf-editable-metadata.cjs.entry.js +3 -3
  6. package/dist/cjs/{option-e2221398.js → option-24f3d13a.js} +5 -0
  7. package/dist/cjs/{rubric-5b467a6a.js → rubric-586cf42b.js} +116 -0
  8. package/dist/cjs/{specific-class-c586a541.js → specific-class-bec65db8.js} +2 -2
  9. package/dist/collection/components/bible-reading/bible-reading.js +9 -6
  10. package/dist/collection/components/bible-reading/dist/bible-reading.js +2 -1
  11. package/dist/collection/components/psalm/dist/psalm.js +3 -3
  12. package/dist/collection/components/psalm/psalm.css +8 -1
  13. package/dist/collection/components/psalm/psalm.js +3 -3
  14. package/dist/esm/ion-segment_16.entry.js +15 -12
  15. package/dist/esm/ldf-editable-add-block-menu.entry.js +2 -2
  16. package/dist/esm/ldf-editable-filter-documents.entry.js +1 -1
  17. package/dist/esm/ldf-editable-lookup_2.entry.js +3 -3
  18. package/dist/esm/ldf-editable-metadata.entry.js +3 -3
  19. package/dist/esm/{option-d0361d23.js → option-da8390ad.js} +5 -0
  20. package/dist/esm/{rubric-91bf7fed.js → rubric-54f45eb5.js} +116 -0
  21. package/dist/esm/{specific-class-943fc789.js → specific-class-b68bdee5.js} +2 -2
  22. package/dist/ldf/ldf.esm.js +1 -1
  23. package/dist/ldf/{p-fb2e5aa0.entry.js → p-1ff665a7.entry.js} +1 -1
  24. package/dist/ldf/{p-3b31b6af.entry.js → p-21b1d984.entry.js} +1 -1
  25. package/dist/ldf/p-3755f069.js +1 -0
  26. package/dist/ldf/{p-932f9f17.entry.js → p-7e50fd1d.entry.js} +1 -1
  27. package/dist/ldf/p-883425cd.js +3 -0
  28. package/dist/ldf/p-8f3c4fdb.entry.js +1 -0
  29. package/dist/ldf/p-9155f066.js +1 -0
  30. package/dist/ldf/{p-48aafa34.entry.js → p-93ea522c.entry.js} +1 -1
  31. package/package.json +2 -2
  32. package/dist/ldf/p-161be025.js +0 -1
  33. package/dist/ldf/p-8f67abb8.js +0 -3
  34. package/dist/ldf/p-b4bbe638.js +0 -1
  35. package/dist/ldf/p-d41efada.entry.js +0 -1
@@ -8,9 +8,9 @@ const helpers = require('./helpers-41dfb43a.js');
8
8
  const theme = require('./theme-81caa5b0.js');
9
9
  const overlays = require('./overlays-eb464d6d.js');
10
10
  const book$1 = require('./book-1a92678a.js');
11
- const rubric = require('./rubric-5b467a6a.js');
11
+ const rubric = require('./rubric-586cf42b.js');
12
12
  const heading$1 = require('./heading-5afc2b24.js');
13
- const option$1 = require('./option-e2221398.js');
13
+ const option$1 = require('./option-24f3d13a.js');
14
14
  const change = require('./change-cdb1e8c0.js');
15
15
  const locale = require('./locale-d4e925b1.js');
16
16
  const image = require('./image-3bee3e73.js');
@@ -632,12 +632,15 @@ const BibleReadingComponent = class {
632
632
  /* `long` render a typical Bible reading in the liturgy */
633
633
  else {
634
634
  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) => verse.hasOwnProperty('type') && verse.type === 'heading'
636
- ? index.h("ldf-heading", { doc: new heading$1.Heading(verse) })
637
- : [
638
- index.h("sup", null, verse.verse),
639
- index.h("ldf-string", { citation: verse, dropcap: paragraphIndex == 0 && verseIndex == 0 ? 'force' : 'disabled', id: `${verse.chapter}-${verse.book}-${verse.verse}`, text: verse.text, index: verseIndex, fragment: this.path })
640
- ])))));
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) => {
636
+ var _a;
637
+ return verse.hasOwnProperty('type') && verse.type === 'heading'
638
+ ? index.h("ldf-heading", { doc: new heading$1.Heading(verse) })
639
+ : [
640
+ index.h("sup", null, verse.verse),
641
+ index.h("ldf-string", { citation: verse, dropcap: paragraphIndex == 0 && verseIndex == 0 && ((_a = this.obj) === null || _a === void 0 ? void 0 : _a.language) !== 'iu' ? 'force' : 'disabled', id: `${verse.chapter}-${verse.book}-${verse.verse}`, text: verse.text, index: verseIndex, fragment: this.path })
642
+ ];
643
+ })))));
641
644
  }
642
645
  }
643
646
  else {
@@ -2057,7 +2060,7 @@ const EN$1 = {
2057
2060
  source_citation: source_citation
2058
2061
  };
2059
2062
 
2060
- 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)}.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);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}";
2063
+ 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}";
2061
2064
 
2062
2065
  const LOCALE$1 = {
2063
2066
  'en': EN$1,
@@ -2247,7 +2250,7 @@ const PsalmComponent = class {
2247
2250
  section.label && ((_a = section.value) === null || _a === void 0 ? void 0 : _a.length) > 0 && this.headingNode(section.label, 4, false, true, true),
2248
2251
  // build a set of verses
2249
2252
  index.h("div", { class: 'psalm-set' }, section.value.map((verse, verseIndex) => {
2250
- var _a, _b, _c, _d, _e, _f, _g, _h;
2253
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
2251
2254
  // build each verse
2252
2255
  if (verse instanceof heading$1.Heading) {
2253
2256
  // for e.g., the Benedicite, Heading passed at head of section
@@ -2259,12 +2262,12 @@ const PsalmComponent = class {
2259
2262
  // 1st half of verse
2260
2263
  nodes.push(index.h("div", { class: 'verse' }, this.editable ?
2261
2264
  index.h("ldf-editable-text", { id: `${this.obj.uid || this.obj.slug}-${sectionIndex}-${verseIndex}-verse`, text: verse.verse, path: `${this.path}/value/${sectionIndex}/value/${verseIndex}/verse`, placeholder: 'Lorem ipsum sit dolor amet, *', template: pattern, templateMaker: templateMaker }) :
2262
- index.h("ldf-string", { text: verse.verse, citation: { label: (_a = this.obj) === null || _a === void 0 ? void 0 : _a.label, book: ((_b = this.obj) === null || _b === void 0 ? void 0 : _b.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_d = (_c = this.obj) === null || _c === void 0 ? void 0 : _c.metadata) === null || _d === void 0 ? void 0 : _d.number, verse: verse.number }, dropcap: verseIndex == 0 ? 'force' : 'disabled', index: verseIndex, fragment: this.path })));
2265
+ index.h("ldf-string", { text: verse.verse, citation: { label: (_a = this.obj) === null || _a === void 0 ? void 0 : _a.label, book: ((_b = this.obj) === null || _b === void 0 ? void 0 : _b.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_d = (_c = this.obj) === null || _c === void 0 ? void 0 : _c.metadata) === null || _d === void 0 ? void 0 : _d.number, verse: verse.number }, dropcap: (verseIndex == 0 && ((_e = this.obj) === null || _e === void 0 ? void 0 : _e.language) !== "he" && ((_f = this.obj) === null || _f === void 0 ? void 0 : _f.language) !== "iu") ? 'force' : 'disabled', index: verseIndex, fragment: this.path })));
2263
2266
  nodes.push(index.h("br", null));
2264
2267
  // 2nd half of verse
2265
2268
  nodes.push(index.h("div", { class: 'halfverse' }, this.editable ?
2266
2269
  index.h("ldf-editable-text", { id: `${this.obj.uid || this.obj.slug}-${sectionIndex}-${verseIndex}-halfverse`, text: verse.halfverse, path: `${this.path}/value/${sectionIndex}/value/${verseIndex}/halfverse`, placeholder: 'consectetur adipiscing elit.', template: pattern }) :
2267
- index.h("ldf-string", { text: verse.halfverse, citation: { label: (_e = this.obj) === null || _e === void 0 ? void 0 : _e.label, book: ((_f = this.obj) === null || _f === void 0 ? void 0 : _f.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_h = (_g = this.obj) === null || _g === void 0 ? void 0 : _g.metadata) === null || _h === void 0 ? void 0 : _h.number, verse: verse.number }, dropcap: 'disabled', fragment: this.path })));
2270
+ index.h("ldf-string", { text: verse.halfverse, citation: { label: (_g = this.obj) === null || _g === void 0 ? void 0 : _g.label, book: ((_h = this.obj) === null || _h === void 0 ? void 0 : _h.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_k = (_j = this.obj) === null || _j === void 0 ? void 0 : _j.metadata) === null || _k === void 0 ? void 0 : _k.number, verse: verse.number }, dropcap: 'disabled', fragment: this.path })));
2268
2271
  // render the verse
2269
2272
  return (index.h("p", { class: this.editable ? 'psalm editable' : 'psalm', onClick: () => {
2270
2273
  this.focusedVerse = verseIndex;
@@ -4,10 +4,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-8fe0df8d.js');
6
6
  const book = require('./book-1a92678a.js');
7
- const rubric$1 = require('./rubric-5b467a6a.js');
7
+ const rubric$1 = require('./rubric-586cf42b.js');
8
8
  const heading$1 = require('./heading-5afc2b24.js');
9
9
  const image$1 = require('./image-3bee3e73.js');
10
- const option$1 = require('./option-e2221398.js');
10
+ const option$1 = require('./option-24f3d13a.js');
11
11
  const refrain$1 = require('./refrain-91fb446b.js');
12
12
  const text$1 = require('./text-5edb80f3.js');
13
13
  const locale = require('./locale-d4e925b1.js');
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-8fe0df8d.js');
6
6
  const book = require('./book-1a92678a.js');
7
- const option = require('./option-e2221398.js');
7
+ const option = require('./option-24f3d13a.js');
8
8
  const locale = require('./locale-d4e925b1.js');
9
9
 
10
10
  /* Converts a list of documents into a single document showing options in parallel */
@@ -5,10 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-8fe0df8d.js');
6
6
  const book = require('./book-1a92678a.js');
7
7
  const change = require('./change-cdb1e8c0.js');
8
- const option = require('./option-e2221398.js');
9
- const specificClass = require('./specific-class-c586a541.js');
8
+ const option = require('./option-24f3d13a.js');
9
+ const specificClass = require('./specific-class-bec65db8.js');
10
10
  const locale = require('./locale-d4e925b1.js');
11
- require('./rubric-5b467a6a.js');
11
+ require('./rubric-586cf42b.js');
12
12
  require('./heading-5afc2b24.js');
13
13
  require('./refrain-91fb446b.js');
14
14
  require('./text-5edb80f3.js');
@@ -5,11 +5,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-8fe0df8d.js');
6
6
  const book = require('./book-1a92678a.js');
7
7
  const change = require('./change-cdb1e8c0.js');
8
- const specificClass = require('./specific-class-c586a541.js');
8
+ const specificClass = require('./specific-class-bec65db8.js');
9
9
  const locale = require('./locale-d4e925b1.js');
10
- require('./rubric-5b467a6a.js');
10
+ require('./rubric-586cf42b.js');
11
11
  require('./heading-5afc2b24.js');
12
- require('./option-e2221398.js');
12
+ require('./option-24f3d13a.js');
13
13
  require('./refrain-91fb446b.js');
14
14
  require('./text-5edb80f3.js');
15
15
 
@@ -18,6 +18,8 @@ const VERSIONS = {
18
18
  eow: 'EOW',
19
19
  coverdale: 'Coverdale',
20
20
  rite_i: 'Rite I',
21
+ bhs: 'Hebrew',
22
+ hebrew: 'Hebrew',
21
23
  };
22
24
  function modifiedVersion(option) {
23
25
  return option.type === 'psalm' && option.style === 'psalm' && option.version === 'bcp1979'
@@ -66,6 +68,9 @@ class Option extends book.LiturgicalDocument {
66
68
  (((_a = option.slug) === null || _a === void 0 ? void 0 : _a.match(/psalm_119_/)) || ((_b = option.citation) === null || _b === void 0 ? void 0 : _b.toString().match(/Ps[^\d]+119/)))) {
67
69
  label = option.label;
68
70
  }
71
+ else if (option.type == 'psalm' && uniqueVersions > 1) {
72
+ label = option.version_label || VERSIONS[versionToString(option.version)];
73
+ }
69
74
  // Other psalms: Psalm 121
70
75
  else if (option.type == 'psalm' &&
71
76
  option.style == 'psalm' &&
@@ -483,6 +483,10 @@ 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
+ },
486
490
  },
487
491
  Hosea: {
488
492
  en: {
@@ -607,6 +611,10 @@ const BIBLE_BOOK_NAMES = {
607
611
  short: 'Sirach',
608
612
  long: 'The Book of Ecclesiasticus',
609
613
  },
614
+ iu: {
615
+ short: 'Sirach',
616
+ long: 'The Book of Ecclesiasticus',
617
+ },
610
618
  },
611
619
  Matthew: {
612
620
  en: {
@@ -617,6 +625,10 @@ const BIBLE_BOOK_NAMES = {
617
625
  short: 'Matthew',
618
626
  long: 'The Gospel According to St. Matthew',
619
627
  },
628
+ iu: {
629
+ short: 'Matthew',
630
+ long: 'The Gospel According to St. Matthew',
631
+ },
620
632
  },
621
633
  Mark: {
622
634
  en: {
@@ -627,6 +639,10 @@ const BIBLE_BOOK_NAMES = {
627
639
  short: 'Mark',
628
640
  long: 'The Gospel According to St. Mark',
629
641
  },
642
+ iu: {
643
+ short: 'Mark',
644
+ long: 'The Gospel According to St. Mark',
645
+ },
630
646
  },
631
647
  Luke: {
632
648
  en: {
@@ -637,6 +653,10 @@ const BIBLE_BOOK_NAMES = {
637
653
  short: 'Luke',
638
654
  long: 'The Gospel According to St. Luke',
639
655
  },
656
+ iu: {
657
+ short: 'Luke',
658
+ long: 'The Gospel According to St. Luke',
659
+ },
640
660
  },
641
661
  John: {
642
662
  en: {
@@ -647,6 +667,10 @@ const BIBLE_BOOK_NAMES = {
647
667
  short: 'John',
648
668
  long: 'The Gospel According to St. John',
649
669
  },
670
+ iu: {
671
+ short: 'John',
672
+ long: 'The Gospel According to St. John',
673
+ },
650
674
  },
651
675
  Acts: {
652
676
  en: {
@@ -657,6 +681,10 @@ const BIBLE_BOOK_NAMES = {
657
681
  short: 'Acts',
658
682
  long: 'The Book of the Acts of the Apostles',
659
683
  },
684
+ iu: {
685
+ short: 'Acts',
686
+ long: 'The Book of the Acts of the Apostles',
687
+ },
660
688
  },
661
689
  Romans: {
662
690
  en: {
@@ -667,6 +695,10 @@ const BIBLE_BOOK_NAMES = {
667
695
  short: 'Romans',
668
696
  long: 'The Epistle of St. Paul the Apostle to the Romans',
669
697
  },
698
+ iu: {
699
+ short: 'Romans',
700
+ long: 'The Epistle of St. Paul the Apostle to the Romans',
701
+ },
670
702
  },
671
703
  '1 Corinthians': {
672
704
  en: {
@@ -677,6 +709,10 @@ const BIBLE_BOOK_NAMES = {
677
709
  short: '1 Corinthians',
678
710
  long: 'The First Epistle of St. Paul the Apostle to the Corinthians',
679
711
  },
712
+ iu: {
713
+ short: '1 Corinthians',
714
+ long: 'The First Epistle of St. Paul the Apostle to the Corinthians',
715
+ },
680
716
  },
681
717
  '2 Corinthians': {
682
718
  en: {
@@ -687,6 +723,10 @@ const BIBLE_BOOK_NAMES = {
687
723
  short: '2 Corinthians',
688
724
  long: 'The Second Epistle of St. Paul the Apostle to the Corinthians',
689
725
  },
726
+ iu: {
727
+ short: '2 Corinthians',
728
+ long: 'The Second Epistle of St. Paul the Apostle to the Corinthians',
729
+ },
690
730
  },
691
731
  Galatians: {
692
732
  en: {
@@ -697,6 +737,10 @@ const BIBLE_BOOK_NAMES = {
697
737
  short: 'Galatians',
698
738
  long: 'The Epistle of St. Paul the Apostle to the Galatians',
699
739
  },
740
+ iu: {
741
+ short: 'Galatians',
742
+ long: 'The Epistle of St. Paul the Apostle to the Galatians',
743
+ },
700
744
  },
701
745
  Ephesians: {
702
746
  en: {
@@ -707,6 +751,10 @@ const BIBLE_BOOK_NAMES = {
707
751
  short: 'Ephesians',
708
752
  long: 'The Epistle of St. Paul the Apostle to the Ephesians',
709
753
  },
754
+ iu: {
755
+ short: 'Ephesians',
756
+ long: 'The Epistle of St. Paul the Apostle to the Ephesians',
757
+ },
710
758
  },
711
759
  Philippians: {
712
760
  en: {
@@ -717,6 +765,10 @@ const BIBLE_BOOK_NAMES = {
717
765
  short: 'Philippians',
718
766
  long: 'The Epistle of St. Paul the Apostle to the Philippians',
719
767
  },
768
+ iu: {
769
+ short: 'Philippians',
770
+ long: 'The Epistle of St. Paul the Apostle to the Philippians',
771
+ },
720
772
  },
721
773
  Colossians: {
722
774
  en: {
@@ -727,6 +779,10 @@ const BIBLE_BOOK_NAMES = {
727
779
  short: 'Colossians',
728
780
  long: 'The Epistle of St. Paul the Apostle to the Colossians',
729
781
  },
782
+ iu: {
783
+ short: 'Colossians',
784
+ long: 'The Epistle of St. Paul the Apostle to the Colossians',
785
+ },
730
786
  },
731
787
  '1 Thessalonians': {
732
788
  en: {
@@ -737,6 +793,10 @@ const BIBLE_BOOK_NAMES = {
737
793
  short: '1 Thessalonians',
738
794
  long: 'The First Epistle of St. Paul the Apostle to the Thessalonians',
739
795
  },
796
+ iu: {
797
+ short: '1 Thessalonians',
798
+ long: 'The First Epistle of St. Paul the Apostle to the Thessalonians',
799
+ },
740
800
  },
741
801
  '2 Thessalonians': {
742
802
  en: {
@@ -747,6 +807,10 @@ const BIBLE_BOOK_NAMES = {
747
807
  short: '2 Thessalonians',
748
808
  long: 'The Second Epistle of St. Paul the Apostle to the Thessalonians',
749
809
  },
810
+ iu: {
811
+ short: '2 Thessalonians',
812
+ long: 'The Second Epistle of St. Paul the Apostle to the Thessalonians',
813
+ },
750
814
  },
751
815
  '1 Timothy': {
752
816
  en: {
@@ -757,6 +821,10 @@ const BIBLE_BOOK_NAMES = {
757
821
  short: '1 Timothy',
758
822
  long: 'The First Epistle of St. Paul the Apostle to Timothy',
759
823
  },
824
+ iu: {
825
+ short: '1 Timothy',
826
+ long: 'The First Epistle of St. Paul the Apostle to Timothy',
827
+ },
760
828
  },
761
829
  '2 Timothy': {
762
830
  en: {
@@ -767,6 +835,10 @@ const BIBLE_BOOK_NAMES = {
767
835
  short: '2 Timothy',
768
836
  long: 'The Second Epistle of St. Paul the Apostle to Timothy',
769
837
  },
838
+ iu: {
839
+ short: '2 Timothy',
840
+ long: 'The Second Epistle of St. Paul the Apostle to Timothy',
841
+ },
770
842
  },
771
843
  Titus: {
772
844
  en: {
@@ -777,6 +849,10 @@ const BIBLE_BOOK_NAMES = {
777
849
  short: 'Titus',
778
850
  long: 'The Epistle of St. Paul the Apostle to Titus',
779
851
  },
852
+ iu: {
853
+ short: 'Titus',
854
+ long: 'The Epistle of St. Paul the Apostle to Titus',
855
+ },
780
856
  },
781
857
  Philemon: {
782
858
  en: {
@@ -787,6 +863,10 @@ const BIBLE_BOOK_NAMES = {
787
863
  short: 'Philemon',
788
864
  long: 'The Epistle of St. Paul the Apostle to Philemon',
789
865
  },
866
+ iu: {
867
+ short: 'Philemon',
868
+ long: 'The Epistle of St. Paul the Apostle to Philemon',
869
+ },
790
870
  },
791
871
  Hebrews: {
792
872
  en: {
@@ -797,6 +877,10 @@ const BIBLE_BOOK_NAMES = {
797
877
  short: 'Hebrews',
798
878
  long: 'The Epistle to the Hebrews',
799
879
  },
880
+ iu: {
881
+ short: 'Hebrews',
882
+ long: 'The Epistle to the Hebrews',
883
+ },
800
884
  },
801
885
  James: {
802
886
  en: {
@@ -807,6 +891,10 @@ const BIBLE_BOOK_NAMES = {
807
891
  short: 'James',
808
892
  long: 'The Epistle General of St. James',
809
893
  },
894
+ iu: {
895
+ short: 'James',
896
+ long: 'The Epistle General of St. James',
897
+ },
810
898
  },
811
899
  '1 Peter': {
812
900
  en: {
@@ -817,6 +905,10 @@ const BIBLE_BOOK_NAMES = {
817
905
  short: '1 Peter',
818
906
  long: 'The First Epistle General of St. Peter',
819
907
  },
908
+ iu: {
909
+ short: '1 Peter',
910
+ long: 'The First Epistle General of St. Peter',
911
+ },
820
912
  },
821
913
  '2 Peter': {
822
914
  en: {
@@ -827,6 +919,10 @@ const BIBLE_BOOK_NAMES = {
827
919
  short: '2 Peter',
828
920
  long: 'The Second Epistle General of St. Peter',
829
921
  },
922
+ iu: {
923
+ short: '2 Peter',
924
+ long: 'The Second Epistle General of St. Peter',
925
+ },
830
926
  },
831
927
  '1 John': {
832
928
  en: {
@@ -837,6 +933,10 @@ const BIBLE_BOOK_NAMES = {
837
933
  short: '2 John',
838
934
  long: 'The First Epistle General of St. John',
839
935
  },
936
+ iu: {
937
+ short: '2 John',
938
+ long: 'The First Epistle General of St. John',
939
+ },
840
940
  },
841
941
  '2 John': {
842
942
  en: {
@@ -847,6 +947,10 @@ const BIBLE_BOOK_NAMES = {
847
947
  short: '2 John',
848
948
  long: 'The Second Epistle General of St. John',
849
949
  },
950
+ iu: {
951
+ short: '2 John',
952
+ long: 'The Second Epistle General of St. John',
953
+ },
850
954
  },
851
955
  '3 John': {
852
956
  en: {
@@ -857,6 +961,10 @@ const BIBLE_BOOK_NAMES = {
857
961
  short: '3 John',
858
962
  long: 'The Third Epistle General of St. John',
859
963
  },
964
+ iu: {
965
+ short: '3 John',
966
+ long: 'The Third Epistle General of St. John',
967
+ },
860
968
  },
861
969
  Jude: {
862
970
  en: {
@@ -867,6 +975,10 @@ const BIBLE_BOOK_NAMES = {
867
975
  short: 'Jude',
868
976
  long: 'The Epistle General of St. Jude',
869
977
  },
978
+ iu: {
979
+ short: 'Jude',
980
+ long: 'The Epistle General of St. Jude',
981
+ },
870
982
  },
871
983
  Revelation: {
872
984
  en: {
@@ -877,6 +989,10 @@ const BIBLE_BOOK_NAMES = {
877
989
  short: 'Revelation',
878
990
  long: 'The Revelation to St. John the Divine',
879
991
  },
992
+ iu: {
993
+ short: 'Revelation',
994
+ long: 'The Revelation to St. John the Divine',
995
+ },
880
996
  },
881
997
  '1 Esdras': {
882
998
  en: {
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- const rubric = require('./rubric-5b467a6a.js');
3
+ const rubric = require('./rubric-586cf42b.js');
4
4
  const heading = require('./heading-5afc2b24.js');
5
- const option = require('./option-e2221398.js');
5
+ const option = require('./option-24f3d13a.js');
6
6
  const refrain = require('./refrain-91fb446b.js');
7
7
  const text = require('./text-5edb80f3.js');
8
8
 
@@ -197,12 +197,15 @@ export class BibleReadingComponent {
197
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'}` },
198
198
  h("ldf-heading", { doc: new Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label], citation: this.obj.citation }) }),
199
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 }),
200
- paragraphs.map((paragraph, paragraphIndex) => h("p", { lang: this.obj.language }, paragraph.map((verse, verseIndex) => verse.hasOwnProperty('type') && verse.type === 'heading'
201
- ? h("ldf-heading", { doc: new Heading(verse) })
202
- : [
203
- h("sup", null, verse.verse),
204
- h("ldf-string", { citation: verse, dropcap: paragraphIndex == 0 && verseIndex == 0 ? 'force' : 'disabled', id: `${verse.chapter}-${verse.book}-${verse.verse}`, text: verse.text, index: verseIndex, fragment: this.path })
205
- ])))));
200
+ paragraphs.map((paragraph, paragraphIndex) => h("p", { lang: this.obj.language }, paragraph.map((verse, verseIndex) => {
201
+ var _a;
202
+ return verse.hasOwnProperty('type') && verse.type === 'heading'
203
+ ? h("ldf-heading", { doc: new Heading(verse) })
204
+ : [
205
+ h("sup", null, verse.verse),
206
+ h("ldf-string", { citation: verse, dropcap: paragraphIndex == 0 && verseIndex == 0 && ((_a = this.obj) === null || _a === void 0 ? void 0 : _a.language) !== 'iu' ? 'force' : 'disabled', id: `${verse.chapter}-${verse.book}-${verse.verse}`, text: verse.text, index: verseIndex, fragment: this.path })
207
+ ];
208
+ })))));
206
209
  }
207
210
  }
208
211
  else {
@@ -296,11 +296,12 @@ var BibleReadingComponent = /** @class */ (function () {
296
296
  React.createElement("ldf-heading", { doc: new ldf_1.Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label], citation: this.obj.citation }) }),
297
297
  ((_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 }),
298
298
  paragraphs.map(function (paragraph, paragraphIndex) { return React.createElement("p", { lang: _this.obj.language }, paragraph.map(function (verse, verseIndex) {
299
+ var _a;
299
300
  return verse.hasOwnProperty('type') && verse.type === 'heading'
300
301
  ? React.createElement("ldf-heading", { doc: new ldf_1.Heading(verse) })
301
302
  : [
302
303
  React.createElement("sup", null, verse.verse),
303
- React.createElement("ldf-string", { citation: verse, dropcap: paragraphIndex == 0 && verseIndex == 0 ? 'force' : 'disabled', id: verse.chapter + "-" + verse.book + "-" + verse.verse, text: verse.text, index: verseIndex, fragment: _this.path })
304
+ React.createElement("ldf-string", { citation: verse, dropcap: paragraphIndex == 0 && verseIndex == 0 && ((_a = _this.obj) === null || _a === void 0 ? void 0 : _a.language) !== 'iu' ? 'force' : 'disabled', id: verse.chapter + "-" + verse.book + "-" + verse.verse, text: verse.text, index: verseIndex, fragment: _this.path })
304
305
  ];
305
306
  })); })));
306
307
  }
@@ -296,7 +296,7 @@ var PsalmComponent = /** @class */ (function () {
296
296
  // build a set of verses
297
297
  React.createElement("div", { "class": 'psalm-set' },
298
298
  section.value.map(function (verse, verseIndex) {
299
- var _a, _b, _c, _d, _e, _f, _g, _h;
299
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
300
300
  // build each verse
301
301
  if (verse instanceof ldf_1.Heading) {
302
302
  // for e.g., the Benedicite, Heading passed at head of section
@@ -308,12 +308,12 @@ var PsalmComponent = /** @class */ (function () {
308
308
  // 1st half of verse
309
309
  nodes.push(React.createElement("div", { "class": 'verse' }, _this.editable ?
310
310
  React.createElement("ldf-editable-text", { id: (_this.obj.uid || _this.obj.slug) + "-" + sectionIndex + "-" + verseIndex + "-verse", text: verse.verse, path: _this.path + "/value/" + sectionIndex + "/value/" + verseIndex + "/verse", placeholder: 'Lorem ipsum sit dolor amet, *', template: pattern, templateMaker: templateMaker }) :
311
- React.createElement("ldf-string", { text: verse.verse, citation: { label: (_a = _this.obj) === null || _a === void 0 ? void 0 : _a.label, book: ((_b = _this.obj) === null || _b === void 0 ? void 0 : _b.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_d = (_c = _this.obj) === null || _c === void 0 ? void 0 : _c.metadata) === null || _d === void 0 ? void 0 : _d.number, verse: verse.number }, dropcap: verseIndex == 0 ? 'force' : 'disabled', index: verseIndex, fragment: _this.path })));
311
+ React.createElement("ldf-string", { text: verse.verse, citation: { label: (_a = _this.obj) === null || _a === void 0 ? void 0 : _a.label, book: ((_b = _this.obj) === null || _b === void 0 ? void 0 : _b.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_d = (_c = _this.obj) === null || _c === void 0 ? void 0 : _c.metadata) === null || _d === void 0 ? void 0 : _d.number, verse: verse.number }, dropcap: (verseIndex == 0 && ((_e = _this.obj) === null || _e === void 0 ? void 0 : _e.language) !== "he" && ((_f = _this.obj) === null || _f === void 0 ? void 0 : _f.language) !== "iu") ? 'force' : 'disabled', index: verseIndex, fragment: _this.path })));
312
312
  nodes.push(React.createElement("br", null));
313
313
  // 2nd half of verse
314
314
  nodes.push(React.createElement("div", { "class": 'halfverse' }, _this.editable ?
315
315
  React.createElement("ldf-editable-text", { id: (_this.obj.uid || _this.obj.slug) + "-" + sectionIndex + "-" + verseIndex + "-halfverse", text: verse.halfverse, path: _this.path + "/value/" + sectionIndex + "/value/" + verseIndex + "/halfverse", placeholder: 'consectetur adipiscing elit.', template: pattern }) :
316
- React.createElement("ldf-string", { text: verse.halfverse, citation: { label: (_e = _this.obj) === null || _e === void 0 ? void 0 : _e.label, book: ((_f = _this.obj) === null || _f === void 0 ? void 0 : _f.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_h = (_g = _this.obj) === null || _g === void 0 ? void 0 : _g.metadata) === null || _h === void 0 ? void 0 : _h.number, verse: verse.number }, dropcap: 'disabled', fragment: _this.path })));
316
+ React.createElement("ldf-string", { text: verse.halfverse, citation: { label: (_g = _this.obj) === null || _g === void 0 ? void 0 : _g.label, book: ((_h = _this.obj) === null || _h === void 0 ? void 0 : _h.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_k = (_j = _this.obj) === null || _j === void 0 ? void 0 : _j.metadata) === null || _k === void 0 ? void 0 : _k.number, verse: verse.number }, dropcap: 'disabled', fragment: _this.path })));
317
317
  // render the verse
318
318
  return (React.createElement("p", { "class": _this.editable ? 'psalm editable' : 'psalm', onClick: function () {
319
319
  _this.focusedVerse = verseIndex;
@@ -3,6 +3,11 @@ ldf-psalm, :host {
3
3
  --ldf-drop-margin-right: var(--ldf-drop-psalm-margin-right);
4
4
  }
5
5
 
6
+ ldf-psalm[lang=he] .verse, :host[lang=he] .verse {
7
+ text-align: right;
8
+ --ldf-drop-float: right;
9
+ }
10
+
6
11
  .psalm-set {
7
12
  margin-top: 0.5em;
8
13
  margin-bottom: 0.5em;
@@ -36,7 +41,9 @@ ldf-psalm, :host {
36
41
  .psalm-set .psalm .verse,
37
42
  .psalm-set .psalm .halfverse {
38
43
  display: var(--ldf-psalm-verse-display);
39
- display: var(--ldf-psalm-verse-display);
44
+ }
45
+ .psalm-set .psalm .halfverse {
46
+ display: var(--ldf-psalm-halfverse-display, var(--ldf-psalm-verse-display));
40
47
  }
41
48
 
42
49
  .editable .verse,
@@ -205,7 +205,7 @@ export class PsalmComponent {
205
205
  // build a set of verses
206
206
  h("div", { class: 'psalm-set' },
207
207
  section.value.map((verse, verseIndex) => {
208
- var _a, _b, _c, _d, _e, _f, _g, _h;
208
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
209
209
  // build each verse
210
210
  if (verse instanceof Heading) {
211
211
  // for e.g., the Benedicite, Heading passed at head of section
@@ -217,12 +217,12 @@ export class PsalmComponent {
217
217
  // 1st half of verse
218
218
  nodes.push(h("div", { class: 'verse' }, this.editable ?
219
219
  h("ldf-editable-text", { id: `${this.obj.uid || this.obj.slug}-${sectionIndex}-${verseIndex}-verse`, text: verse.verse, path: `${this.path}/value/${sectionIndex}/value/${verseIndex}/verse`, placeholder: 'Lorem ipsum sit dolor amet, *', template: pattern, templateMaker: templateMaker }) :
220
- h("ldf-string", { text: verse.verse, citation: { label: (_a = this.obj) === null || _a === void 0 ? void 0 : _a.label, book: ((_b = this.obj) === null || _b === void 0 ? void 0 : _b.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_d = (_c = this.obj) === null || _c === void 0 ? void 0 : _c.metadata) === null || _d === void 0 ? void 0 : _d.number, verse: verse.number }, dropcap: verseIndex == 0 ? 'force' : 'disabled', index: verseIndex, fragment: this.path })));
220
+ h("ldf-string", { text: verse.verse, citation: { label: (_a = this.obj) === null || _a === void 0 ? void 0 : _a.label, book: ((_b = this.obj) === null || _b === void 0 ? void 0 : _b.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_d = (_c = this.obj) === null || _c === void 0 ? void 0 : _c.metadata) === null || _d === void 0 ? void 0 : _d.number, verse: verse.number }, dropcap: (verseIndex == 0 && ((_e = this.obj) === null || _e === void 0 ? void 0 : _e.language) !== "he" && ((_f = this.obj) === null || _f === void 0 ? void 0 : _f.language) !== "iu") ? 'force' : 'disabled', index: verseIndex, fragment: this.path })));
221
221
  nodes.push(h("br", null));
222
222
  // 2nd half of verse
223
223
  nodes.push(h("div", { class: 'halfverse' }, this.editable ?
224
224
  h("ldf-editable-text", { id: `${this.obj.uid || this.obj.slug}-${sectionIndex}-${verseIndex}-halfverse`, text: verse.halfverse, path: `${this.path}/value/${sectionIndex}/value/${verseIndex}/halfverse`, placeholder: 'consectetur adipiscing elit.', template: pattern }) :
225
- h("ldf-string", { text: verse.halfverse, citation: { label: (_e = this.obj) === null || _e === void 0 ? void 0 : _e.label, book: ((_f = this.obj) === null || _f === void 0 ? void 0 : _f.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_h = (_g = this.obj) === null || _g === void 0 ? void 0 : _g.metadata) === null || _h === void 0 ? void 0 : _h.number, verse: verse.number }, dropcap: 'disabled', fragment: this.path })));
225
+ h("ldf-string", { text: verse.halfverse, citation: { label: (_g = this.obj) === null || _g === void 0 ? void 0 : _g.label, book: ((_h = this.obj) === null || _h === void 0 ? void 0 : _h.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_k = (_j = this.obj) === null || _j === void 0 ? void 0 : _j.metadata) === null || _k === void 0 ? void 0 : _k.number, verse: verse.number }, dropcap: 'disabled', fragment: this.path })));
226
226
  // render the verse
227
227
  return (h("p", { class: this.editable ? 'psalm editable' : 'psalm', onClick: () => {
228
228
  this.focusedVerse = verseIndex;