@venite/components 0.16.24 → 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 (96) hide show
  1. package/dist/cjs/{index-b22a8b22.js → index-de13bd01.js} +0 -0
  2. package/dist/cjs/ion-segment_16.cjs.entry.js +81 -41
  3. package/dist/cjs/ldf-day-name_5.cjs.entry.js +21 -15
  4. package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +1 -1
  5. package/dist/cjs/ldf-editor-cursors.cjs.entry.js +1 -1
  6. package/dist/cjs/ldf-editor.cjs.entry.js +1 -1
  7. package/dist/collection/components/bible-reading/bible-reading.i18n.es.json +11 -2
  8. package/dist/collection/components/bible-reading/bible-reading.js +12 -12
  9. package/dist/collection/components/bible-reading/dist/bible-reading.js +12 -12
  10. package/dist/collection/components/editable-add-block/editable-add-block.i18n.es.json +5 -0
  11. package/dist/collection/components/editable-add-block-menu/editable-add-block-menu.i18n.es.json +48 -0
  12. package/dist/collection/components/editable-antiphon-field/editable-antiphon-field.i18n.es.json +11 -0
  13. package/dist/collection/components/editable-condition/editable-condition.i18n.es.json +7 -0
  14. package/dist/collection/components/editable-condition-piece/editable-condition-piece.i18n.es.json +21 -0
  15. package/dist/collection/components/editable-delete/editable-delete.i18n.es.json +6 -0
  16. package/dist/collection/components/editable-filter-documents/dist/editable-filter-documents.js +1 -1
  17. package/dist/collection/components/editable-filter-documents/editable-filter-documents.i18n.es.json +9 -0
  18. package/dist/collection/components/editable-filter-documents/editable-filter-documents.js +1 -1
  19. package/dist/collection/components/editable-metadata/editable-metadata.i18n.es.json +51 -0
  20. package/dist/collection/components/editable-metadata-buttons/editable-metadata-buttons.i18n.es.json +31 -0
  21. package/dist/collection/components/editable-metadata-metadata-fields/editable-metadata-metadata-fields.i18n.es.json +48 -0
  22. package/dist/collection/components/editable-preference-option/editable-preference-option.i18n.es.json +9 -0
  23. package/dist/collection/components/editable-preferences/editable-preferences.i18n.es.json +10 -0
  24. package/dist/collection/components/editable-string-list/editable-string-list.i18n.es.json +18 -0
  25. package/dist/collection/components/editable-text/editable-text.i18n.es.json +3 -0
  26. package/dist/collection/components/heading/heading.i18n.es.json +4 -0
  27. package/dist/collection/components/image/image.i18n.es.json +4 -0
  28. package/dist/collection/components/liturgical-document/liturgical-document.i18n.es.json +45 -0
  29. package/dist/collection/components/meditation/meditation.i18n.es.json +8 -0
  30. package/dist/collection/components/psalm/dist/psalm.js +3 -1
  31. package/dist/collection/components/psalm/psalm.i18n.es.json +10 -0
  32. package/dist/collection/components/psalm/psalm.js +2 -0
  33. package/dist/collection/components/responsive-prayer/responsive-prayer.i18n.es.json +7 -0
  34. package/dist/collection/components/string/dist/string.js +4 -4
  35. package/dist/collection/components/string/string.js +6 -6
  36. package/dist/collection/components/text/text.i18n.es.json +6 -3
  37. package/dist/collection/i18n/bible-reading.i18n.es.json +11 -2
  38. package/dist/collection/i18n/editable-add-block-menu.i18n.es.json +48 -0
  39. package/dist/collection/i18n/editable-add-block.i18n.es.json +5 -0
  40. package/dist/collection/i18n/editable-antiphon-field.i18n.es.json +11 -0
  41. package/dist/collection/i18n/editable-condition-piece.i18n.es.json +21 -0
  42. package/dist/collection/i18n/editable-condition.i18n.es.json +7 -0
  43. package/dist/collection/i18n/editable-delete.i18n.es.json +6 -0
  44. package/dist/collection/i18n/editable-filter-documents.i18n.es.json +9 -0
  45. package/dist/collection/i18n/editable-metadata-buttons.i18n.es.json +31 -0
  46. package/dist/collection/i18n/editable-metadata-metadata-fields.i18n.es.json +48 -0
  47. package/dist/collection/i18n/editable-metadata.i18n.es.json +51 -0
  48. package/dist/collection/i18n/editable-preference-option.i18n.es.json +9 -0
  49. package/dist/collection/i18n/editable-preferences.i18n.es.json +10 -0
  50. package/dist/collection/i18n/editable-string-list.i18n.es.json +18 -0
  51. package/dist/collection/i18n/editable-text.i18n.es.json +3 -0
  52. package/dist/collection/i18n/heading.i18n.es.json +4 -0
  53. package/dist/collection/i18n/image.i18n.es.json +4 -0
  54. package/dist/collection/i18n/liturgical-document.i18n.es.json +45 -0
  55. package/dist/collection/i18n/meditation.i18n.es.json +8 -0
  56. package/dist/collection/i18n/psalm.i18n.es.json +10 -0
  57. package/dist/collection/i18n/responsive-prayer.i18n.es.json +7 -0
  58. package/dist/collection/i18n/text.i18n.es.json +6 -3
  59. package/dist/esm/{index-a3645557.js → index-1bf6d100.js} +0 -0
  60. package/dist/esm/ion-segment_16.entry.js +69 -29
  61. package/dist/esm/ldf-day-name_5.entry.js +21 -15
  62. package/dist/esm/ldf-editable-filter-documents.entry.js +1 -1
  63. package/dist/esm/ldf-editor-cursors.entry.js +1 -1
  64. package/dist/esm/ldf-editor.entry.js +1 -1
  65. package/dist/ldf/i18n/bible-reading.i18n.es.json +11 -2
  66. package/dist/ldf/i18n/editable-add-block-menu.i18n.es.json +48 -0
  67. package/dist/ldf/i18n/editable-add-block.i18n.es.json +5 -0
  68. package/dist/ldf/i18n/editable-antiphon-field.i18n.es.json +11 -0
  69. package/dist/ldf/i18n/editable-condition-piece.i18n.es.json +21 -0
  70. package/dist/ldf/i18n/editable-condition.i18n.es.json +7 -0
  71. package/dist/ldf/i18n/editable-delete.i18n.es.json +6 -0
  72. package/dist/ldf/i18n/editable-filter-documents.i18n.es.json +9 -0
  73. package/dist/ldf/i18n/editable-metadata-buttons.i18n.es.json +31 -0
  74. package/dist/ldf/i18n/editable-metadata-metadata-fields.i18n.es.json +48 -0
  75. package/dist/ldf/i18n/editable-metadata.i18n.es.json +51 -0
  76. package/dist/ldf/i18n/editable-preference-option.i18n.es.json +9 -0
  77. package/dist/ldf/i18n/editable-preferences.i18n.es.json +10 -0
  78. package/dist/ldf/i18n/editable-string-list.i18n.es.json +18 -0
  79. package/dist/ldf/i18n/editable-text.i18n.es.json +3 -0
  80. package/dist/ldf/i18n/heading.i18n.es.json +4 -0
  81. package/dist/ldf/i18n/image.i18n.es.json +4 -0
  82. package/dist/ldf/i18n/liturgical-document.i18n.es.json +45 -0
  83. package/dist/ldf/i18n/meditation.i18n.es.json +8 -0
  84. package/dist/ldf/i18n/psalm.i18n.es.json +10 -0
  85. package/dist/ldf/i18n/responsive-prayer.i18n.es.json +7 -0
  86. package/dist/ldf/i18n/text.i18n.es.json +6 -3
  87. package/dist/ldf/ldf.esm.js +1 -1
  88. package/dist/ldf/{p-ba9eda0b.entry.js → p-23af1bc3.entry.js} +1 -1
  89. package/dist/ldf/{p-8e00a6ae.js → p-3ca74c80.js} +0 -0
  90. package/dist/ldf/{p-39d4be39.entry.js → p-70e47f8b.entry.js} +1 -1
  91. package/dist/ldf/p-94949614.entry.js +1 -0
  92. package/dist/ldf/p-be040ae6.entry.js +1 -0
  93. package/dist/ldf/{p-304a2bdb.entry.js → p-c1a86b14.entry.js} +1 -1
  94. package/package.json +2 -2
  95. package/dist/ldf/p-95650471.entry.js +0 -1
  96. package/dist/ldf/p-e301606a.entry.js +0 -1
@@ -0,0 +1,51 @@
1
+ {
2
+ "abbreviated": "Abbreviated",
3
+ "advanced": "Advanced Settings",
4
+ "antiphon": "Antiphon",
5
+ "authorized-prayers": "Prayers & Thanksgivings",
6
+ "bible-reading": "Bible Reading",
7
+ "canticle": "Canticle",
8
+ "category": "Category",
9
+ "citation": "Biblical Citation",
10
+ "collect": "Collect",
11
+ "condition": "Condition",
12
+ "default": "Default",
13
+ "delete": "Delete",
14
+ "display_format": "Display Format",
15
+ "gloria": "Gloria",
16
+ "halfverse": "By Half-Verse",
17
+ "heading": "Heading",
18
+ "invitatory": "Invitatory",
19
+ "label": "Label",
20
+ "language": "Language",
21
+ "lectionary": "Lectionary",
22
+ "litany": "Litany",
23
+ "liturgy": "Liturgy",
24
+ "long": "Long",
25
+ "markdown": "Rich Text (Markdown)",
26
+ "meditation": "Meditation",
27
+ "modalTitle": "Edit Settings",
28
+ "normal": "Normal",
29
+ "omit": "Omit Text",
30
+ "option": "Option",
31
+ "prayer": "Prayer",
32
+ "preces": "Preces",
33
+ "psalm": "Psalm",
34
+ "refrain": "Refrain",
35
+ "responsive": "Responsive Prayer",
36
+ "rubric": "Rubric",
37
+ "settings": "Settings",
38
+ "short": "Short",
39
+ "slug": "Slug",
40
+ "source/source": "Source",
41
+ "source/citation": "Citation within Source",
42
+ "style": "Style",
43
+ "text": "Text",
44
+ "title": "General Settings",
45
+ "tradition": "Tradition",
46
+ "type": "Type",
47
+ "unison": "Unison",
48
+ "version": "Version",
49
+ "version_label": "Version Label",
50
+ "wholeverse": "By Whole Verse"
51
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "additional": "Advanced Settings",
3
+ "alternateYear": "“Alternate Year” Reading",
4
+ "default": "Default",
5
+ "fallback": "Fallback Value",
6
+ "label": "Label",
7
+ "option": "Option",
8
+ "value": "Value"
9
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "addPreference": "Add Preference",
3
+ "cancel": "Cancel",
4
+ "label": "Label",
5
+ "new_preference": "New Preference",
6
+ "ok": "OK",
7
+ "preferences": "Preferences",
8
+ "special_preferences": "Special Preferences",
9
+ "special_preferences_desc": "These won’t be saved between sessions. (For example, you might include a ‘Footwashing’ setting to be used on Maundy Thursday.)"
10
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "category": {
3
+ "add": "Add a Category",
4
+ "list": "Categories"
5
+ },
6
+ "except": {
7
+ "add": "Except...",
8
+ "list": "Except the Following"
9
+ },
10
+ "liturgyversions": {
11
+ "add": "Add a Liturgy Version",
12
+ "list": "Liturgy Versions"
13
+ },
14
+ "only": {
15
+ "add": "Only",
16
+ "list": "Only the Following"
17
+ }
18
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "placeholder": "Begin typing here..."
3
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "date": "The Date of the Liturgy",
3
+ "day": "The Name of the Liturgical Day"
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "close": "Return to Bulletin",
3
+ "url": "URL"
4
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "bible_version": " in the version ",
3
+ "canticle-1": "The first canticle ",
4
+ "canticle-2": "The second canticle ",
5
+ "category": "All items that match the category ",
6
+ "collect": "The Collect of the Day.",
7
+ "day_of_month_1": "It is the ",
8
+ "day_of_month_2": " day of the month",
9
+ "definedByPreference": " defined by the preference ",
10
+ "fromCanticleTable": " from the canticle table ",
11
+ "fromLectionary": " from the lectionary ",
12
+ "lectionaryReading": "The lectionary reading ",
13
+ "filter-seasonal": " and the current season",
14
+ "filter-evening-true": " and are in the evening ",
15
+ "filter-evening-false": " and are not in the evening ",
16
+ "filter-day": " and the liturgical day ",
17
+ "rotate-true": " (rotating by day)",
18
+ "rotate-false": " (including all possibilities)",
19
+ "slug": "All items with the slug ",
20
+ "condition": "Included when ",
21
+ "and": "all",
22
+ "or": "any",
23
+ "the_day": " the day ",
24
+ "of_the_following": " of the following are true: ",
25
+ "day": "the liturgical day",
26
+ "season": "the liturgical season",
27
+ "week": "the liturgical week",
28
+ "weekday": "the day of the week",
29
+ "feastDay": "a Sunday or Holy Day",
30
+ "is": " is ",
31
+ "is_not": " is not ",
32
+ "only": " one of: ",
33
+ "only_1": "",
34
+ "except": " anything but: ",
35
+ "except_1": " not ",
36
+ "the_preference": "the preference ",
37
+ "the_preference_specified": "chosen in the preference ",
38
+ "the_date": "the date ",
39
+ "lte": " ≤ ",
40
+ "lt": " < ",
41
+ "gt": " > ",
42
+ "gte": " ≥ ",
43
+ "smallOnly": "Only appears on small screens",
44
+ "smallHidden": "Doesn't appear on small screens"
45
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "start": "Start",
3
+ "pause": "Pause",
4
+ "resume": "Resume",
5
+ "meditate": "Meditate for",
6
+ "minutes": "minutes.",
7
+ "seconds": " seconds. "
8
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "changeCanticle": "Change Canticle",
3
+ "citation": "(Biblical) Citation",
4
+ "label": "Label",
5
+ "latinname": "Latin Name",
6
+ "section_break_insert": "+ insert section break",
7
+ "section_break_remove": "x remove section break",
8
+ "source": "Source",
9
+ "source_citation": "Citation"
10
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "label": "Label",
3
+ "source": "Source",
4
+ "citation": "Citation",
5
+ "makeOptional": "Make Optional",
6
+ "optional": "Optional"
7
+ }
@@ -1,5 +1,8 @@
1
1
  {
2
- "amen": "Amén.",
3
- "prayer-list": "Oraciones",
4
- "authorized_prayers": "Oraciones y Acciones de Gracias"
2
+ "amen": "Amen.",
3
+ "authorized_prayers": "Prayers and Thanksgivings",
4
+ "label": "Label",
5
+ "source": "Source",
6
+ "source_citation": "Citation",
7
+ "prayer-list": "Prayer List"
5
8
  }
@@ -413,23 +413,48 @@ const SkeletonText = class {
413
413
  SkeletonText.style = skeletonTextCss;
414
414
 
415
415
  const amen$1 = "Amen.";
416
+ const book$1 = "Book";
417
+ const chapter$1 = "Chapter";
418
+ const citation$5 = "Citation (e.g., John 1:1)";
419
+ const label$5 = "Label";
420
+ const loading$1 = "Loading...";
421
+ const verse$1 = "Verse";
422
+ const changeReading$1 = "Change Reading";
423
+ const newCitation$1 = "Biblical citation.";
424
+ const cancel$2 = "Cancel";
425
+ const ok$2 = "OK";
426
+ const EN$8 = {
427
+ amen: amen$1,
428
+ book: book$1,
429
+ chapter: chapter$1,
430
+ citation: citation$5,
431
+ label: label$5,
432
+ loading: loading$1,
433
+ verse: verse$1,
434
+ changeReading: changeReading$1,
435
+ newCitation: newCitation$1,
436
+ cancel: cancel$2,
437
+ ok: ok$2
438
+ };
439
+
440
+ const amen = "Amen.";
416
441
  const book = "Book";
417
442
  const chapter = "Chapter";
418
- const citation$3 = "Citation (e.g., John 1:1)";
419
- const label$3 = "Label";
420
- const loading$1 = "Loading...";
443
+ const citation$4 = "Citation (e.g., John 1:1)";
444
+ const label$4 = "Label";
445
+ const loading = "Loading...";
421
446
  const verse = "Verse";
422
447
  const changeReading = "Change Reading";
423
448
  const newCitation = "Biblical citation.";
424
449
  const cancel$1 = "Cancel";
425
450
  const ok$1 = "OK";
426
- const EN$8 = {
427
- amen: amen$1,
451
+ const ES$1 = {
452
+ amen: amen,
428
453
  book: book,
429
454
  chapter: chapter,
430
- citation: citation$3,
431
- label: label$3,
432
- loading: loading$1,
455
+ citation: citation$4,
456
+ label: label$4,
457
+ loading: loading,
433
458
  verse: verse,
434
459
  changeReading: changeReading,
435
460
  newCitation: newCitation,
@@ -437,13 +462,6 @@ const EN$8 = {
437
462
  ok: ok$1
438
463
  };
439
464
 
440
- const amen = "Amén.";
441
- const loading = "Se está cargando...";
442
- const ES = {
443
- amen: amen,
444
- loading: loading
445
- };
446
-
447
465
  async function fetchReading(citation, version = 'NRSV', api = 'https://us-central1-venite-2.cloudfunctions.net') {
448
466
  const findURL = new URL(`${api}/bible`);
449
467
  findURL.searchParams.append('citation', citation);
@@ -466,7 +484,7 @@ const bibleReadingCss = "ldf-bible-reading.sc-ldf-bible-reading,.sc-ldf-bible-re
466
484
 
467
485
  const LOCALE$8 = {
468
486
  'en': EN$8,
469
- 'es': ES
487
+ 'es': ES$1
470
488
  };
471
489
  const BibleReadingComponent = class {
472
490
  constructor(hostRef) {
@@ -596,7 +614,7 @@ const BibleReadingComponent = class {
596
614
  }
597
615
  // Render
598
616
  render() {
599
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
617
+ 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;
600
618
  const localeStrings = this.localeStrings || {};
601
619
  if (this.verses) {
602
620
  /* Editable version */
@@ -610,25 +628,27 @@ const BibleReadingComponent = class {
610
628
  }
611
629
  /* `short` renders a few verses, with a response and citation. */
612
630
  else if (this.obj.style == 'short') {
613
- 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;
631
+ 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;
614
632
  let responseNode;
615
- if (!((_k = (_j = this.obj) === null || _j === void 0 ? void 0 : _j.metadata) === null || _k === void 0 ? void 0 : _k.response)) {
616
- responseNode = h("span", { class: "response" }, " ", localeStrings.amen);
633
+ if (!((_l = (_k = this.obj) === null || _k === void 0 ? void 0 : _k.metadata) === null || _l === void 0 ? void 0 : _l.response)) {
634
+ responseNode = h("span", { class: "response" }, " ", localeStrings === null || localeStrings === void 0 ? void 0 :
635
+ localeStrings.amen);
617
636
  }
618
637
  else {
619
- responseNode = h("span", { class: "response" }, " ", this.obj.metadata.response);
638
+ responseNode = h("span", { class: "response" }, " ", (_o = (_m = this.obj) === null || _m === void 0 ? void 0 : _m.metadata) === null || _o === void 0 ? void 0 :
639
+ _o.response);
620
640
  }
621
- return (h(Host, null, ((_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] }) }), 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'}` }, h("p", null, this.verses.map((verse, verseIndex) => {
641
+ return (h(Host, null, ((_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] }) }), 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'}` }, h("p", null, this.verses.map((verse, verseIndex) => {
622
642
  var _a;
623
643
  return verse.hasOwnProperty('type') && verse.type === 'heading'
624
644
  ? h("ldf-heading", { doc: new Heading(verse) })
625
645
  : 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" });
626
- }), shortResponse && !((_q = (_p = this.obj) === null || _p === void 0 ? void 0 : _p.metadata) === null || _q === void 0 ? void 0 : _q.omit_response) && responseNode, 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) && h("p", null, responseNode))));
646
+ }), shortResponse && !((_t = (_s = this.obj) === null || _s === void 0 ? void 0 : _s.metadata) === null || _t === void 0 ? void 0 : _t.omit_response) && responseNode, 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) && h("p", null, responseNode))));
627
647
  }
628
648
  /* `long` render a typical Bible reading in the liturgy */
629
649
  else {
630
650
  const paragraphs = this.paragraphs();
631
- 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'}` }, h("ldf-heading", { doc: new 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) && h("ldf-liturgical-document", { doc: this.obj.metadata.compiled_intro }), paragraphs.map((paragraph, paragraphIndex) => h("p", { lang: this.obj.language }, paragraph.map((verse, verseIndex) => {
651
+ 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'}` }, h("ldf-heading", { doc: new 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) && h("ldf-liturgical-document", { doc: this.obj.metadata.compiled_intro }), paragraphs.map((paragraph, paragraphIndex) => h("p", { lang: this.obj.language }, paragraph.map((verse, verseIndex) => {
632
652
  var _a;
633
653
  return verse.hasOwnProperty('type') && verse.type === 'heading'
634
654
  ? h("ldf-heading", { doc: new Heading(verse) })
@@ -651,12 +671,12 @@ const BibleReadingComponent = class {
651
671
  BibleReadingComponent.style = bibleReadingCss;
652
672
 
653
673
  const add = "Add";
654
- const label$2 = "Label";
655
- const citation$2 = "Citation";
674
+ const label$3 = "Label";
675
+ const citation$3 = "Citation";
656
676
  const EN$7 = {
657
677
  add: add,
658
- label: label$2,
659
- citation: citation$2
678
+ label: label$3,
679
+ citation: citation$3
660
680
  };
661
681
 
662
682
  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}";
@@ -2037,6 +2057,25 @@ const OptionComponent = class {
2037
2057
  };
2038
2058
  OptionComponent.style = optionCss;
2039
2059
 
2060
+ const changeCanticle$1 = "Change Canticle";
2061
+ const citation$2 = "(Biblical) Citation";
2062
+ const label$2 = "Label";
2063
+ const latinname$1 = "Latin Name";
2064
+ const section_break_insert$1 = "+ insert section break";
2065
+ const section_break_remove$1 = "x remove section break";
2066
+ const source$2 = "Source";
2067
+ const source_citation$1 = "Citation";
2068
+ const EN$1 = {
2069
+ changeCanticle: changeCanticle$1,
2070
+ citation: citation$2,
2071
+ label: label$2,
2072
+ latinname: latinname$1,
2073
+ section_break_insert: section_break_insert$1,
2074
+ section_break_remove: section_break_remove$1,
2075
+ source: source$2,
2076
+ source_citation: source_citation$1
2077
+ };
2078
+
2040
2079
  const changeCanticle = "Change Canticle";
2041
2080
  const citation$1 = "(Biblical) Citation";
2042
2081
  const label$1 = "Label";
@@ -2045,7 +2084,7 @@ const section_break_insert = "+ insert section break";
2045
2084
  const section_break_remove = "x remove section break";
2046
2085
  const source$1 = "Source";
2047
2086
  const source_citation = "Citation";
2048
- const EN$1 = {
2087
+ const ES = {
2049
2088
  changeCanticle: changeCanticle,
2050
2089
  citation: citation$1,
2051
2090
  label: label$1,
@@ -2060,6 +2099,7 @@ const psalmCss = "ldf-psalm.sc-ldf-psalm,.sc-ldf-psalm-h{font-family:var(--ldf-f
2060
2099
 
2061
2100
  const LOCALE$1 = {
2062
2101
  'en': EN$1,
2102
+ 'es': ES
2063
2103
  };
2064
2104
  const PsalmComponent = class {
2065
2105
  constructor(hostRef) {
@@ -371,7 +371,7 @@ const StringComponent = class {
371
371
  /**
372
372
  * Minimum length (in characters) a string must be to have a dropcap.
373
373
  */
374
- this.dropcapMinLength = 200;
374
+ this.dropcapMinLength = 180;
375
375
  /**
376
376
  * Enable or disable replacement of tetragrammaton.
377
377
  */
@@ -387,7 +387,7 @@ const StringComponent = class {
387
387
  if (this.replaceTetragrammaton) {
388
388
  processed = processed.map(node => typeof node === 'string' ? this.processTetragrammaton(node) : node).flat();
389
389
  }
390
- if (this.dropcap == 'force' || (this.dropcap == 'enabled' && (this.index == 0 || !this.index) && this.text && this.text.length > this.dropcapMinLength)) {
390
+ if (this.dropcap == 'force' || (this.dropcap == 'enabled' && (this.index == 0 || !this.index) && this.text && this.text.length >= this.dropcapMinLength)) {
391
391
  processed = this.processDropcap(processed);
392
392
  }
393
393
  this.processedString = processed;
@@ -476,9 +476,9 @@ const StringComponent = class {
476
476
  if (firstChunk) {
477
477
  const splitTest = (firstChunk || '').split(/[\s.!?\\]/);
478
478
  const firstWord = splitTest ? splitTest[0] : '', re = firstWord.length > 2
479
- ? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*)/
480
- : /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\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(/[\"\'“”‘’\!\?\[\]\(\)]/))
481
- ? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff]{2})\s*([\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/
479
+ ? /^ ?([\"\'“”‘’¡\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*)/
480
+ : /^ ?([\"\'“”‘’¡\!\?\[\]\(\)\,\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(/[\"\'“”‘’¡\!\?\[\]\(\)]/))
481
+ ? /^ ?([\"\'“”‘’¡\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff]{2})\s*([\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/
482
482
  : re, buffer = firstWord.length == 1, split = firstChunk.split(reIncludingPunctuation).filter(s => s !== ''), [match1, match2, nextWord] = split;
483
483
  final = new Array(h("span", { class: 'firstword' }, h("span", { class: buffer ? `drop buffered-drop drop-${match1}` : `drop drop-${match1}` }, match1), this.maintainCasing(match2) ? match2 : match2 === null || match2 === void 0 ? void 0 : match2.toLowerCase()))
484
484
  .concat(nextWord)
@@ -5544,24 +5544,30 @@ if (module.exports) {
5544
5544
 
5545
5545
  const amen$1 = "Amen.";
5546
5546
  const authorized_prayers$1 = "Prayers and Thanksgivings";
5547
- const label = "Label";
5548
- const source = "Source";
5549
- const source_citation = "Citation";
5547
+ const label$1 = "Label";
5548
+ const source$1 = "Source";
5549
+ const source_citation$1 = "Citation";
5550
5550
  const EN = {
5551
5551
  amen: amen$1,
5552
5552
  authorized_prayers: authorized_prayers$1,
5553
- label: label,
5554
- source: source,
5555
- source_citation: source_citation,
5553
+ label: label$1,
5554
+ source: source$1,
5555
+ source_citation: source_citation$1,
5556
5556
  "prayer-list": "Prayer List"
5557
5557
  };
5558
5558
 
5559
- const amen = "Amén.";
5560
- const authorized_prayers = "Oraciones y Acciones de Gracias";
5559
+ const amen = "Amen.";
5560
+ const authorized_prayers = "Prayers and Thanksgivings";
5561
+ const label = "Label";
5562
+ const source = "Source";
5563
+ const source_citation = "Citation";
5561
5564
  const ES = {
5562
5565
  amen: amen,
5563
- "prayer-list": "Oraciones",
5564
- authorized_prayers: authorized_prayers
5566
+ authorized_prayers: authorized_prayers,
5567
+ label: label,
5568
+ source: source,
5569
+ source_citation: source_citation,
5570
+ "prayer-list": "Prayer List"
5565
5571
  };
5566
5572
 
5567
5573
  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}";
@@ -129,7 +129,7 @@ const EditableFilterDocumentsComponent = class {
129
129
  }
130
130
  render() {
131
131
  const localeStrings = this.localeStrings || {};
132
- return (h(Host, null, this.modal && h("ion-header", null, h("ion-toolbar", null, h("ion-buttons", { slot: "end" }, h("ion-button", { onClick: () => this.modal.dismiss() }, h("ion-icon", { name: "close", slot: "icon-only" }))))), h("ion-content", null, h("form", null, h("ion-list", null, h("ion-button", { fill: "clear", onClick: () => { this.chooseDoc(docsToOption(this.filteredOptions)); this.choose(); } }, h("ion-label", null, localeStrings.includeAll)), this.versions && h("ion-item", null, h("ion-label", null, localeStrings.version), h("ion-select", { value: this.version, onIonChange: (ev) => this.chooseVersion(ev.detail.value) }, Object.entries(this.versions)
132
+ return (h(Host, null, this.modal && h("ion-header", null, h("ion-toolbar", null, h("ion-buttons", { slot: "end" }, h("ion-button", { onClick: () => this.modal.dismiss() }, h("ion-icon", { name: "close", slot: "icon-only" }))))), h("ion-content", null, h("form", null, h("ion-list", null, h("ion-button", { fill: "clear", onClick: () => { this.chooseDoc(docsToOption(this.filteredOptions)); this.choose(); } }, h("ion-label", null, localeStrings.includeAll)), this.versions && Object.values(this.versions).length > 1 && h("ion-item", null, h("ion-label", null, localeStrings.version), h("ion-select", { value: this.version, onIonChange: (ev) => this.chooseVersion(ev.detail.value) }, Object.entries(this.versions)
133
133
  .sort((a, b) => a[0] > b[0] ? 1 : -1)
134
134
  .map(([versionKey, versionLabel]) => h("ion-select-option", { value: versionKey }, versionLabel)))), h("ion-searchbar", { onIonChange: (ev) => this.filter(ev.detail.value) }), this.filteredOptions && this.filteredOptions.map(doc => {
135
135
  var _a, _b, _c, _d;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h } from './index-f0f6a379.js';
2
2
  import { D as Debounce } from './index-f08f6130.js';
3
- import { e as elementFromPath, v as values_js } from './index-a3645557.js';
3
+ import { e as elementFromPath, v as values_js } from './index-1bf6d100.js';
4
4
  import { c as createCommonjsModule } from './_commonjsHelpers-ba3f0406.js';
5
5
 
6
6
  var textareaCaret = createCommonjsModule(function (module) {
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement
2
2
  import { L as LiturgicalDocument } from './book-31b8cdde.js';
3
3
  import { C as Cursor } from './cursor-0e47f111.js';
4
4
  import { C as Change } from './change-ea574d32.js';
5
- import { e as elementFromPath, q as querySelectorDeep, v as values_js } from './index-a3645557.js';
5
+ import { e as elementFromPath, q as querySelectorDeep, v as values_js } from './index-1bf6d100.js';
6
6
  import './_commonjsHelpers-ba3f0406.js';
7
7
 
8
8
  const editorCss = "ldf-editor.sc-ldf-editor, .sc-ldf-editor-h {\n display: block;\n}\n\n.sc-ldf-editor-h textarea.sc-ldf-editor {\n display: block;\n\n width: 100%;\n max-width: 100%;\n max-height: 100%;\n\n border: 1px solid grey;\n\n outline: none;\n\n background: transparent;\n box-sizing: border-box;\n resize: none;\n appearance: none;\n\n font-family: inherit;\n}\n\n@keyframes \"blink\" {\n from, to {\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n}\n\n.user.sc-ldf-editor {\n padding-top: 3px;\n padding-bottom: 3px;\n border-left-width: 2px;\n border-right-width: 2px;\n border-style: solid;\n border-top-width: 0;\n border-bottom-width: 0;\n}";
@@ -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
  }
@@ -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,5 @@
1
+ {
2
+ "add": "Add",
3
+ "label": "Label",
4
+ "citation": "Citation"
5
+ }
@@ -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,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,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,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
+ }