@venite/components 0.16.30 → 0.16.33

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 (103) hide show
  1. package/dist/cjs/{book-1a92678a.js → book-b04f6553.js} +115 -3
  2. package/dist/cjs/{heading-5afc2b24.js → heading-1243cde5.js} +1 -1
  3. package/dist/cjs/{image-3bee3e73.js → image-7ff56371.js} +1 -1
  4. package/dist/cjs/ion-button_13.cjs.entry.js +2 -2
  5. package/dist/cjs/ion-card-content_6.cjs.entry.js +3 -3
  6. package/dist/cjs/ion-checkbox_3.cjs.entry.js +2 -2
  7. package/dist/cjs/ion-input_2.cjs.entry.js +2 -2
  8. package/dist/cjs/ion-segment_16.cjs.entry.js +7 -7
  9. package/dist/cjs/ldf-day-name_5.cjs.entry.js +307 -141
  10. package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +8 -8
  11. package/dist/cjs/ldf-editable-condition-piece.cjs.entry.js +2 -2
  12. package/dist/cjs/ldf-editable-condition.cjs.entry.js +2 -2
  13. package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +3 -3
  14. package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +8 -8
  15. package/dist/cjs/ldf-editable-metadata.cjs.entry.js +8 -8
  16. package/dist/cjs/ldf-editable-preference-option.cjs.entry.js +2 -2
  17. package/dist/cjs/ldf-editable-preference.cjs.entry.js +2 -2
  18. package/dist/cjs/ldf-editable-preferences.cjs.entry.js +2 -2
  19. package/dist/cjs/ldf-editable-string-list.cjs.entry.js +2 -2
  20. package/dist/cjs/ldf-editor.cjs.entry.js +1 -1
  21. package/dist/cjs/{locale-d4e925b1.js → locale-13a47c0e.js} +2 -2
  22. package/dist/cjs/{option-a078d432.js → option-491b2cc7.js} +5 -1
  23. package/dist/cjs/{refrain-91fb446b.js → refrain-2089062b.js} +1 -1
  24. package/dist/cjs/{rubric-0afbe4c0.js → rubric-3ef36eea.js} +1 -1
  25. package/dist/cjs/{specific-class-76b4d343.js → specific-class-3e56392a.js} +5 -5
  26. package/dist/cjs/{text-5edb80f3.js → text-67a354ff.js} +1 -1
  27. package/dist/collection/components/day-name/day-name.i18n.es.json +265 -0
  28. package/dist/collection/components/day-name/day-name.js +18 -11
  29. package/dist/collection/components/day-name/dist/day-name.js +163 -0
  30. package/dist/collection/components/heading/dist/heading.js +5 -5
  31. package/dist/collection/components/heading/heading.js +5 -5
  32. package/dist/collection/components/text/dist/text.js +4 -3
  33. package/dist/collection/components/text/text.css +5 -0
  34. package/dist/collection/components/text/text.js +5 -4
  35. package/dist/collection/i18n/day-name.i18n.es.json +265 -0
  36. package/dist/collection/utils/dist/locale.js +82 -0
  37. package/dist/collection/utils/locale.js +5 -6
  38. package/dist/esm/{book-31b8cdde.js → book-4795ea34.js} +115 -3
  39. package/dist/esm/{heading-cc5ffa8a.js → heading-dedd87c7.js} +1 -1
  40. package/dist/esm/{image-c6a3f0c5.js → image-374f5ed7.js} +1 -1
  41. package/dist/esm/ion-button_13.entry.js +2 -2
  42. package/dist/esm/ion-card-content_6.entry.js +3 -3
  43. package/dist/esm/ion-checkbox_3.entry.js +2 -2
  44. package/dist/esm/ion-input_2.entry.js +2 -2
  45. package/dist/esm/ion-segment_16.entry.js +7 -7
  46. package/dist/esm/ldf-day-name_5.entry.js +303 -137
  47. package/dist/esm/ldf-editable-add-block-menu.entry.js +8 -8
  48. package/dist/esm/ldf-editable-condition-piece.entry.js +2 -2
  49. package/dist/esm/ldf-editable-condition.entry.js +2 -2
  50. package/dist/esm/ldf-editable-filter-documents.entry.js +3 -3
  51. package/dist/esm/ldf-editable-lookup_2.entry.js +8 -8
  52. package/dist/esm/ldf-editable-metadata.entry.js +8 -8
  53. package/dist/esm/ldf-editable-preference-option.entry.js +2 -2
  54. package/dist/esm/ldf-editable-preference.entry.js +2 -2
  55. package/dist/esm/ldf-editable-preferences.entry.js +2 -2
  56. package/dist/esm/ldf-editable-string-list.entry.js +2 -2
  57. package/dist/esm/ldf-editor.entry.js +1 -1
  58. package/dist/esm/locale-de430ca1.js +6 -0
  59. package/dist/esm/{option-c16af13a.js → option-4e49f550.js} +5 -1
  60. package/dist/esm/{refrain-75a412cb.js → refrain-984f9410.js} +1 -1
  61. package/dist/esm/{rubric-f779c469.js → rubric-5c072ba1.js} +1 -1
  62. package/dist/esm/{specific-class-09c98625.js → specific-class-23168094.js} +5 -5
  63. package/dist/esm/{text-ed75fbd4.js → text-2ec5b6b3.js} +1 -1
  64. package/dist/ldf/i18n/day-name.i18n.es.json +265 -0
  65. package/dist/ldf/ldf.esm.js +1 -1
  66. package/dist/ldf/{p-c1a86b14.entry.js → p-0f706bcd.entry.js} +1 -1
  67. package/dist/ldf/{p-23af1bc3.entry.js → p-1411d9f8.entry.js} +1 -1
  68. package/dist/ldf/p-1d5e9bac.entry.js +1 -0
  69. package/dist/ldf/{p-7a9ab85c.entry.js → p-31dc4ea7.entry.js} +1 -1
  70. package/dist/ldf/p-44c8d30b.entry.js +1 -0
  71. package/dist/ldf/{p-d56dff05.js → p-47600061.js} +1 -1
  72. package/dist/ldf/p-49174004.js +1 -0
  73. package/dist/ldf/{p-0491d1d2.js → p-546bb0de.js} +0 -0
  74. package/dist/ldf/{p-94949614.entry.js → p-56ea465d.entry.js} +1 -1
  75. package/dist/ldf/{p-65ea7ab3.entry.js → p-5906d820.entry.js} +1 -1
  76. package/dist/ldf/{p-468d36d0.entry.js → p-791369ff.entry.js} +1 -1
  77. package/dist/ldf/{p-2c39ce94.entry.js → p-84ab4f0c.entry.js} +1 -1
  78. package/dist/ldf/{p-2ae548b3.entry.js → p-8af99fa3.entry.js} +1 -1
  79. package/dist/ldf/p-97ada7f4.js +1 -0
  80. package/dist/ldf/{p-f0de7628.entry.js → p-9e255008.entry.js} +1 -1
  81. package/dist/ldf/p-a2e30644.js +1 -0
  82. package/dist/ldf/p-a97ca6c2.js +1 -0
  83. package/dist/ldf/{p-005ad01b.entry.js → p-ada4d650.entry.js} +1 -1
  84. package/dist/ldf/{p-594fa9d4.entry.js → p-aeaa99ba.entry.js} +1 -1
  85. package/dist/ldf/{p-5b43e6be.js → p-b0ceb153.js} +1 -1
  86. package/dist/ldf/{p-c0ef6296.entry.js → p-c77ba7ad.entry.js} +1 -1
  87. package/dist/ldf/p-cb1922dc.js +1 -0
  88. package/dist/ldf/p-d9994330.js +1 -0
  89. package/dist/ldf/{p-fa191f47.entry.js → p-ebd887c2.entry.js} +1 -1
  90. package/dist/ldf/{p-9c1973a6.entry.js → p-fa135d5f.entry.js} +1 -1
  91. package/dist/ldf/{p-03afc8cb.entry.js → p-fddee761.entry.js} +1 -1
  92. package/dist/types/components/text/text.d.ts +2 -2
  93. package/dist/types/components.d.ts +1 -1
  94. package/package.json +2 -2
  95. package/dist/esm/locale-ec8e14e6.js +0 -6
  96. package/dist/ldf/p-00e5ee6b.js +0 -1
  97. package/dist/ldf/p-021add56.entry.js +0 -1
  98. package/dist/ldf/p-476327d6.js +0 -1
  99. package/dist/ldf/p-4aa9a6f2.js +0 -1
  100. package/dist/ldf/p-65d26c45.js +0 -1
  101. package/dist/ldf/p-800a115c.entry.js +0 -1
  102. package/dist/ldf/p-a1729dbd.js +0 -1
  103. package/dist/ldf/p-e7a449d7.js +0 -1
@@ -3,127 +3,15 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-8fe0df8d.js');
6
- const book = require('./book-1a92678a.js');
7
- const text = require('./text-5edb80f3.js');
8
- const locale = require('./locale-d4e925b1.js');
9
- const heading = require('./heading-5afc2b24.js');
6
+ const book = require('./book-b04f6553.js');
7
+ const text = require('./text-67a354ff.js');
8
+ const locale = require('./locale-13a47c0e.js');
9
+ const heading = require('./heading-1243cde5.js');
10
10
  const _commonjsHelpers = require('./_commonjsHelpers-bcc1208a.js');
11
11
  const overlays = require('./overlays-eb464d6d.js');
12
12
  require('./ionic-global-581fb4f8.js');
13
13
  require('./hardware-back-button-8c2f48d2.js');
14
14
 
15
- /**
16
- * LiturgicalDay represents a particular moment in the liturgical calendar,
17
- * like "Monday in Holy Week" or "The Eve of the Epiphany."
18
- */
19
- class LiturgicalDay {
20
- //** Constructor takes a Javascript object containing the class's properties */
21
- constructor(data = {}) {
22
- /** True if this moment is the evening. Used to indicate the eve of feasts. */
23
- this.evening = false;
24
- Object.assign(this, data);
25
- }
26
- /** Returns a native Date from the day's date string */
27
- getDate() {
28
- return book.dateFromYMDString(this.date);
29
- }
30
- /** Given a LiturgicalDay, returns a new LiturgicalDay that includes the feasts passed */
31
- addHolyDays(holydays) {
32
- var _a, _b, _c, _d;
33
- const day = this;
34
- holydays = holydays
35
- // filter out eves if it's not evening
36
- .filter((feast) => !feast.eve || this.evening)
37
- // filter out days that are supposed to stop after a certain Sunday
38
- // viz., the 1979 daily lectionary for January 8, 9, 10, 11, etc., stops at the 1st Sunday after the Epiphany
39
- .filter((feast) => feast.stops_at_sunday !== day.week.slug)
40
- .map((feast) => {
41
- // if a feast has an `evening` field and it's evening, use that
42
- if (feast.hasOwnProperty('evening') && this.evening == true) {
43
- return feast.evening;
44
- }
45
- // if a feast has a `morning` field and it's morning, use that
46
- else if (feast.hasOwnProperty('morning') && this.evening == false) {
47
- return feast.morning;
48
- }
49
- // if a feast is the eve of something and it's evening, use that feast
50
- else if (feast && feast.eve && this.evening == true) {
51
- return feast;
52
- }
53
- // if none of these, just return the feast
54
- else {
55
- return feast;
56
- }
57
- })
58
- .filter((feast) => !!feast);
59
- // Determine whether a holy day takes precedence over the ordinary day
60
- const observed = this.observedDay(this, (this.holy_days || new Array()).concat(holydays));
61
- // overwrite the day's slug with the observed day's slug if they differ
62
- const holy_day_rank = Number((_b = (_a = observed) === null || _a === void 0 ? void 0 : _a.type) === null || _b === void 0 ? void 0 : _b.rank), holy_day_is_observed = (observed === null || observed === void 0 ? void 0 : observed.slug) && ((observed === null || observed === void 0 ? void 0 : observed.slug) !== day.slug || holy_day_rank > 2), slug = holy_day_is_observed && holy_day_rank > 2 ? observed.slug : day.slug;
63
- let propers = this.propers;
64
- if (slug !== this.slug) {
65
- propers = slug;
66
- }
67
- const color = observed.color || this.color, collect = observed.collect || this.collect, season = observed.season || this.season, octave = (_d = (_c = (this.holy_days || [])) === null || _c === void 0 ? void 0 : _c.concat(holydays)) === null || _d === void 0 ? void 0 : _d.map((holyday) => holyday.octave).filter((octave) => Boolean(octave)).reduce((acc, curr) => (acc ? acc : curr || acc), undefined);
68
- return new LiturgicalDay(Object.assign(Object.assign({}, this), { slug, propers: holy_day_is_observed && holy_day_rank > 2 ? (observed === null || observed === void 0 ? void 0 : observed.propers) || (observed === null || observed === void 0 ? void 0 : observed.slug) : propers, color,
69
- season,
70
- octave,
71
- collect, holy_days: (this.holy_days || new Array()).concat(holydays), holy_day_observed: holy_day_is_observed ? observed : this.holy_day_observed }));
72
- }
73
- /** Given a `LiturgicalDay` and a set of `HolyDay`s, it returns whichever option takes precedence */
74
- observedDay(day, holydays) {
75
- // rank: Principal Feast (5), Sunday (4), Holy Day (3), random other days (2), ferial weekday (1)
76
- function getRank(item, type) {
77
- var _a;
78
- // ranked items => go with rank
79
- if (type == 'holyday') {
80
- return ((_a = item === null || item === void 0 ? void 0 : item.type) === null || _a === void 0 ? void 0 : _a.rank) || 2;
81
- }
82
- else {
83
- // if `day.date` is defined, used it to generate a date
84
- // otherwise, use the current date
85
- const date = day.date ? book.dateFromYMDString(day.date) : book.dateOnly(new Date());
86
- // Sundays => 4
87
- if (date.getDay() == 0) {
88
- return 4;
89
- }
90
- // weekdays => 1
91
- else {
92
- return 1;
93
- }
94
- }
95
- }
96
- const sorted = holydays
97
- .map((holyday) => ({ rank: getRank(holyday, 'holyday'), obj: holyday }))
98
- .concat({ rank: getRank(day, 'weekday'), obj: day })
99
- .sort((a, b) => {
100
- // equal rank => choose earlier feast (probably )
101
- if (a.rank === b.rank && a.obj.mmdd && b.obj.mmdd) {
102
- const [bMM, bDD] = b.obj.mmdd.split('/'), [aMM, aDD] = a.obj.mmdd.split('/'), bDate = new Date(), aDate = new Date();
103
- bDate.setMonth(parseInt(bMM) - 1);
104
- bDate.setDate(parseInt(bDD));
105
- aDate.setMonth(parseInt(aMM) - 1);
106
- aDate.setDate(parseInt(aDD));
107
- return a.obj.mmdd === b.obj.mmdd && a.obj.kalendar !== b.obj.kalendar
108
- ? a.obj.kalendar === day.kalendar
109
- ? -1
110
- : 1
111
- : aDate.getTime() - bDate.getTime();
112
- }
113
- else {
114
- return b.rank - a.rank;
115
- }
116
- });
117
- return Object.assign({}, sorted[0].obj);
118
- }
119
- // whether this day is ranked as a Major Feast
120
- isFeast() {
121
- var _a, _b, _c, _d;
122
- const isSunday = this.getDate().getDay() === 0, hasRank = (((_b = (_a = this.holy_day_observed) === null || _a === void 0 ? void 0 : _a.type) === null || _b === void 0 ? void 0 : _b.rank) || 1) >= 3, holyWeek = (_c = this.slug) === null || _c === void 0 ? void 0 : _c.includes('holy-week'), easterWeek = ((_d = this.week) === null || _d === void 0 ? void 0 : _d.slug) === 'easter';
123
- return isSunday || (hasRank && !holyWeek && !easterWeek);
124
- }
125
- }
126
-
127
15
  class Citation {
128
16
  //** Constructor takes a Javascript object containing the class's properties */
129
17
  constructor(data = {}) {
@@ -137,17 +25,289 @@ class Citation {
137
25
  }
138
26
  }
139
27
 
140
- const after = " after ";
141
- const the = " the ";
28
+ const after$1 = " after ";
29
+ const the$1 = " the ";
142
30
  const EN$2 = {
31
+ after: after$1,
32
+ the: the$1
33
+ };
34
+
35
+ const after = " después de ";
36
+ const the = " el ";
37
+ const Christmas = "La Natividad";
38
+ const Epiphany = "La Epifanía";
39
+ const Pentecost = "Día de Pentecostés";
40
+ const ES$1 = {
143
41
  after: after,
144
- the: the
42
+ the: the,
43
+ "The Holy Name of Our Lord Jesus Christ": "El Santo Nombre de Nuestro Señor Jesucristo",
44
+ "The Epiphany of Our Lord Jesus Christ": "La Epifanía de Nuestro Señor Jesucristo",
45
+ "[Harriet Bedell, Deaconess and Missionary, 1969]": "",
46
+ "Julia Chester Emery, 1922": "Julia Chester Emery, 1922",
47
+ "William Laud, Archbishop of Canterbury, 1645": "Guillermo Laud, Arzobispo de Cantórbery, 1645",
48
+ "Aelred, Abbot of Rievaulx, 1167": "Aelred, Abad de Rievaulx, 1167",
49
+ "Hilary, Bishop of Poitiers, 367": "Hilario, Obispo de Poitiers, 367",
50
+ "Antony, Abbot in Egypt, 356": "Antoine, Abad en Egipto, 356",
51
+ "The Confession of Saint Peter the Apostle": "La Confesión de San Pedro, Apóstol",
52
+ "Wulfstan, Bishop of Worcester, 1095": "Wulfstán, Obispo de Worcester, 1095",
53
+ "Fabian, Bishop and Martyr of Rome, 250": "Fabián, Obispo y Mártir de Roma, 250",
54
+ "Agnes, Martyr at Rome, 304": "Inés, Mártir en Rome, 304",
55
+ "Vincent, Deacon of Saragossa, and Martyr, 304": "Vicente, Diácono de Zaragoza y Mártir, 304",
56
+ "Phillips Brooks, Bishop of Massachusetts, 1893": "Phillips Brooks, Obispo de Massachusetts, 1893",
57
+ "Ordination of Florence Li Tim-Oi, First Woman Priest in the Anglican Communion, 1944": "[La ordenación de Florencia Li Tim-Oi, Primera Mujer Sacerdote en la Comunión Anglicano, 1944]",
58
+ "The Conversion of Saint Paul the Apostle": "La Conversión de San Pablo, Apóstol",
59
+ "Timothy and Titus, Companions of Saint Paul": "Timoteo y Tito, Compañeros de San Pabloe",
60
+ "John Chrysostom, Bishop of Constantinople, 407": "Juan Crisóstomo, Obispo de Constantinopla, 407",
61
+ "Thomas Aquinas, Priest and Friar, 1274": "Tomás de Aquino, Presbítero y Fraile, 1274",
62
+ "Brigid (Bride), 523": "Brigid (Prometida), 523",
63
+ "The Presentation of Our Lord Jesus Christ in the Temple": "La Presentación de Nuestro Señor Jesucristo en el Templo",
64
+ "Anskar, Archbishop of Hamburg, Missionary to Denmark and Sweden, 865": "Anscario, Arzobispo de Hamburgo, Misionero a Dinamarca y Suecia, 865",
65
+ "Cornelius the Centurion": "Cornelio el Centurión",
66
+ "The Martyrs of Japan, 1597": "Los Mártires del Japón, 1597",
67
+ "Absalom Jones, Priest, 1818": "Absalón Jones, Presbítero, 1818",
68
+ "Cyril, Monk, and Methodius, Bishop, Missionaries to the Slavs, 869, 885": "Cirilo, Monje, y Metodio, Obispo, Misioneros a los Eslavos, 869, 885",
69
+ "Thomas Bray, Priest and Missionary, 1730": "Tomás Bray, Presbítero, Misionero, 1730",
70
+ "Janani Luwum, Archbishop of Uganda, and Martyr, 1977": "[Janani Luwum, Arzobispo de Uganda y Mártir, 1977]",
71
+ "Martin Luther, 1546": "Martin Luther, 1546",
72
+ "Polycarp, Bishop and Martyr of Smyrna, 156": "Policarpo, Obispo y Mártir de Esmirna, 156",
73
+ "Saint Matthias the Apostle": "San Matías, Apóstol",
74
+ "George Herbert, Priest, 1633": "Jorge Herbert, Presbítero, 1633",
75
+ "[Anna Julia Haywood Cooper, Educator, 1964]": "",
76
+ "David, Bishop of Menevia, Wales, c. 544": "David, Obispo de Menevia, Gales, c. 544",
77
+ "Chad, Bishop of Lichfield, 672": "Chad, Obispo de Lichfield, 672",
78
+ "John and Charles Wesley, Priests, 1791, 1788": "Juan y Carlos Wesley, Sacerdotes, 1791, 1788",
79
+ "Perpetua and her Companions, Martyrs at Carthage, 202": "Perpetua y sus Compañeros, Mártires en Cartago, 202",
80
+ "Gregory, Bishop of Nyssa, c. 394": "Gregorio, Obispo de Nisa, c. 394",
81
+ "Gregory the Great, Bishop of Rome, 604": "Gregorio Magno, Obispo de Roma, 604",
82
+ "[James Theodore Holly, Bishop of Haiti, and of the Dominican Republic, 1911]": "",
83
+ "Patrick, Bishop and Missionary of Ireland, 461": "Patricio, Obispo y Misionero de Irlanda, 461",
84
+ "Cyril, Bishop of Jerusalem, 386": "Cirilo, Obispo de Jerusalén, 386",
85
+ "Saint Joseph": "San José",
86
+ "Cuthbert, Bishop of Lindisfarne, 687": "Cutberto, Obispo de Lindisfarne, 687",
87
+ "Thomas Ken, Bishop of Bath and Wells, 1711": "Tomás Ken, Obispo de Bath y Wells, 1711",
88
+ "James De Koven, Priest, 1879": "Jaime De Koven, Presbítero, 1879",
89
+ "Gregory the Illuminator, Bishop and Missionary of Armenia, c. 332": "Gregorio el Iluminador, Obispo y Misionero de Armenia, 332",
90
+ "[Óscar Romero, Archbishop of San Salvador, and the Martyrs of San Salvador, 1980]": "",
91
+ "The Annunciation of Our Lord Jesus Christ to the Blessed Virgin Mary": "La Anunciación de Nuestro Señor Jesucristo a la Bienaventurada Virgen María",
92
+ "Charles Henry Brent, Bishop of the Philippines, and of Western New York, 1929": "Carlos Enrique Brent, Obispo de las Filipinas, y del Occidente de Nueva York, 1929",
93
+ "John Keble, Priest, 1866": "Juan Keble, Presbítero, 1866",
94
+ "John Donne, Priest, 1631": "Juan Donne, Presbítero, 1631",
95
+ "Frederick Denison Maurice, Priest, 1872": "Federico Denison Maurice, Presbítero, 1872",
96
+ "James Lloyd Breck, Priest, 1876": "Jaime Lloyd Breck, Presbítero, 1876",
97
+ "Richard, Bishop of Chichester, 1253": "Ricardo, Obispo de Chichester, 1253",
98
+ "Martin Luther King, Jr., Civil Rights Leader, 1968": "Martin Luther King, Jr., Lider de los Derechos Civiles, 1968",
99
+ "[Tikhon, Patriarch of Russia, Confessor and Ecumenist, 1925]": "",
100
+ "William Augustus Muhlenberg, Priest, 1877": "Guillermo Augusto Muhlenberg, Presbítero, 1877",
101
+ "Dietrich Bonhoeffer, 1945": "Dietrich Bonhoeffer, 1945",
102
+ "William Law, Priest, 1761": "Guillermo Law, Presbítero, 1761",
103
+ "George Augustus Selwyn, Bishop of New Zealand, and of Lichfield, 1878": "Jorge Augusto Selwyn, Primer Obispo Misionero de Nueva Zelandia y de Lichfield, 1878",
104
+ "Alphege, Archbishop of Canterbury, and Martyr, 1012": "Alfeo, Arzobispo de Cantórbery y Mártir, 1012",
105
+ "Anselm, Archbishop of Canterbury, 1109": "Anselmo, Arzobispo de Cantórbery, 1109",
106
+ "Saint Mark the Evangelist": "San Marcos, Evangelista",
107
+ "Catherine of Siena, 1380": "Caterina de Siena, 1380",
108
+ "Saint Philip and Saint James, Apostles": "San Felipe y Santiago, Apóstoles",
109
+ "Athanasius, Bishop of Alexandria, 373": "Atanasio, Obispo de Alejandría, 373",
110
+ "Monnica, Mother of Augustine of Hippo, 387": "Mónica, Madre de Agustín de Hipona, 387",
111
+ "Dame Julian of Norwich, c. 1417": "La Dama Juliana de Norwich, c. 1417",
112
+ "Gregory of Nazianzus, Bishop of Constantinople, 389": "Gregorio de Nazianzus, Obispo de Constantinopla, 389",
113
+ "Dunstan, Archbishop of Canterbury, 988": "Dunstán, Arzobispo de Cantórbery, 988",
114
+ "Alcuin, Deacon, and Abbot of Tours, 804": "Alcuino, Diácono y Abad de Tours, 804",
115
+ "Jackson Kemper, First Missionary Bishop in the United States, 1870": "Jackson Kemper, Primer Obispo Misionero en los Estados Unidos, 1870",
116
+ "Bede, the Venerable, Priest, and Monk of Jarrow, 735": "Beda el Venerable, Presbítero y Monje de Jarrow, 735",
117
+ "Augustine, First Archbishop of Canterbury, 605": "Agustín, Primer Arzobispo de Cantórbery, 605",
118
+ "The Visitation of the Blessed Virgin Mary": "La Visitación de la Bienaventurada Virgen María",
119
+ "Justin, Martyr at Rome, c. 167": "Justino, Mártir en Roma, c. 167",
120
+ "The Martyrs of Lyons, 177": "Los Mártires de Lión, 177",
121
+ "The Martyrs of Uganda, 1886": "Los Mártires de Uganda, 1886",
122
+ "Boniface, Archbishop of Mainz, Missionary to Germany, and Martyr, 754": "Bonifacio, Arzobispo de Maguncia, Misionero en Alemania y Mártir, 754",
123
+ "Columba, Abbot of Iona, 597": "Columba, Abad de Iona, 597",
124
+ "Ephrem of Edessa, Syria, Deacon, 373": "Efrén de Edesa, Siria, Diácono, 373",
125
+ "Saint Barnabas the Apostle": "San Bernabé, Apóstol",
126
+ "Enmegahbowh, Priest and Missionary, 1902": "Emmegahbowh, Sacerdote y Misionero, 1902",
127
+ "Basil the Great, Bishop of Caesarea, 379": "Basilio Magno, Obispo de Cesarea, 379",
128
+ "Evelyn Underhill, 1941": "Evelyn Underhill, 1941",
129
+ "Joseph Butler, Bishop of Durham, 1752": "José Butler, Obispo de Durham, 1752",
130
+ "Bernard Mizeki, Catechist and Martyr in Rhodesia, 1896": "Bernard Mizeki, Catequista y Mártir en Rodesia, 1896",
131
+ "Alban, First Martyr of Britain, c. 304": "Albán, Primer Mártir de Bretaña, 304",
132
+ "The Nativity of Saint John the Baptist": "La Natividad de San Juan Bautista",
133
+ "Irenaeus, Bishop of Lyons, c. 202": "Ireneo, Obispo de Lión, c. 202",
134
+ "Saint Peter and Saint Paul, Apostles": "San Pedro y San Pablo, Apóstoles",
135
+ "Independence Day": "Día de la Independencia (EE. UU. AA.)",
136
+ "Benedict of Nursia, Abbot of Monte Cassino, c. 540": "Benito de Nursia, Abad de Monte Casino, c. 540",
137
+ "William White, Bishop of Pennsylvania, 1836": "Guillermo White, Obispo de Pensilvania, 1836",
138
+ "Macrina, Monastic and Teacher, 379": "Macrina, Monastica y Maestra, 379",
139
+ "Elizabeth Cady Stanton, Amelia Bloomer, Sojourner Truth, and Harriet Ross Tubman": "Elisabeth Cady Stanton, Amelia Bloomer, Sojourner Truth, y Harriet Ross Tubman",
140
+ "Saint Mary Magdalene": "Santa María Magdalena",
141
+ "Thomas a Kempis, Priest, 1471": "Tomás de Kempis, Presbítero, 1471",
142
+ "Saint James the Apostle": "Santiago, Apóstol",
143
+ "The Parents of the Blessed Virgin Mary": "Los Padres de la Bienaventurada Virgen María",
144
+ "William Reed Huntington, Priest, 1909": "Guillermo Reed Huntington, Presbítero, 1909",
145
+ "Mary and Martha of Bethany": "María y Marta de Betanía",
146
+ "William Wilberforce, 1833": "Guillermo Wilberforce, 1833",
147
+ "Ignatius of Loyola, 1556": "Ignacio de Loyola, 1556",
148
+ "Joseph of Arimathaea": "José de Arimathaea",
149
+ "The Transfiguration of Our Lord Jesus Christ": "La Transfiguración de Nuestro Señor Jesucristo",
150
+ "John Mason Neale, Priest, 1866": "Juan Mason Neale, Presbítero, 1866",
151
+ "Dominic, Priest and Friar, 1221": "Domingo, Presbítero y Fraile, 1221",
152
+ "Laurence, Deacon, and Martyr at Rome, 258": "Lorenzo, Diácono y Mártir en Roma, 258",
153
+ "Clare, Abbess at Assisi, 1253": "Clara, Abadesa en Asís, 1253",
154
+ "Florence Nightingale, Nurse, Social Reformer, 1910": "Florence Nightingale, Enfermera, Reformadora Social, 1910",
155
+ "Jeremy Taylor, Bishop of Down, Connor, and Dromore, 1667": "Jeremías Taylor, Obispo de Down, Connor y Dromore, 1667",
156
+ "Jonathan Myrick Daniels, Seminarian and Witness for Civil Rights, 1965": "Jonathan Myrick Daniels, Seminarista y Testigo de Derechos Civiles, 1965",
157
+ "Saint Mary the Virgin, Mother of Our Lord Jesus Christ": "Santa María Virgen, Madre de Nuestro Señor Jesucristo",
158
+ "William Porcher DuBose, Priest, 1918": "Guillermo Porcher DuBose, Presbítero, 1918",
159
+ "Bernard, Abbot of Clairvaux, 1153": "Bernardo, Abad de Claraval, 1153",
160
+ "Saint Bartholomew the Apostle": "San Bartolomé, Apóstol",
161
+ "Louis, King of France, 1270": "Luis, Rey de Francia, 1270",
162
+ "Thomas Gallaudet, 1902 with Henry Winter Syle, 1890": "Tomás Gallaudet, 1902, con Henry Winter Syle, 1890",
163
+ "Augustine, Bishop of Hippo, 430": "Agustín, Obispo de Hipona, 430",
164
+ "Aidan, Bishop of Lindisfarne, 651": "Aidán, Obispo de Lindisfarne, 651",
165
+ "David Pendleton Oakerhater, Deacon and Missionary, 1931": "David Pendleton Oakerhater, Diácono y Misionero, 1931",
166
+ "The Martyrs of New Guinea, 1942": "Los Mártires de Nueva Guinea, 1942",
167
+ "Paul Jones, 1941": "Pablo Jones, 1941",
168
+ "Constance, Nun, and her Companions, 1878": "Constancia, Monja, y sus Compañeros, 1878",
169
+ "Alexander Crummell, 1898": "Alexander Crummell, 1898",
170
+ "John Henry Hobart, Bishop of New York, 1830": "Juan Enrique Hobart, Obispo de Nueva York, 1830",
171
+ "Cyprian, Bishop and Martyr of Carthage, 258": "Cipriano, Obispo y Mártir de Cartago, 258",
172
+ "Holy Cross Day": "Día de la Santa Cruz",
173
+ "Ninian, Bishop in Galloway, c. 430": "Ninian, Obispo de Galloway, c. 430",
174
+ "Hildegard, 1179": "Hildegard, 1179",
175
+ "Edward Bouverie Pusey, Priest, 1882": "Eduardo Bouverie Pusey, Presbítero, 1882",
176
+ "Theodore of Tarsus, Archbishop of Canterbury, 690": "Teodoro de Tarso, Arzobispo de Cantórbery, 690",
177
+ "John Coleridge Patteson, Bishop of Melanesia, and his Companions, Martyrs, 1871": "Juan Coleridge Patteson, Obispo de Melanesia, y sus Compañeros, Mártires, 1871",
178
+ "Saint Matthew, Apostle and Evangelist": "San Mateo, Apóstol y Evangelista",
179
+ "Philander Chase, Bishop of Ohio, and of Illinois, 1852": "[Philander Chase, Obispo de Ohio y de Illinois, 1852]",
180
+ "Sergius, Abbot of Holy Trinity, Moscow, 1392": "Sergio, Abad de la Santísima Trinidad, Moscú, 1392",
181
+ "Lancelot Andrewes, Bishop of Winchester, 1626": "Lancelot Andrewes, Obispo de Winchester, 1626",
182
+ "Saint Michael and All Angels": "San Miguel y Todos los Angeles",
183
+ "Jerome, Priest, and Monk of Bethlehem, 420": "Jerónimo, Presbítero y Monje en Belén, 420",
184
+ "Remigius, Bishop of Rheims, c. 530": "Remigio, Obispo de Roma, c. 530",
185
+ "Francis of Assisi, Friar, 1226": "Francisco de Asís, Fraile, 1226",
186
+ "William Tyndale, Priest, 1536": "Guillermo Tyndale, Presbítero, 1536",
187
+ "Robert Grosseteste, Bishop of Lincoln, 1253": "Roberto Grosseteste, Obispo de Lincoln, 1253",
188
+ "[Vida Dutton Scudder, Educator and Witness for Peace, 1954]": "",
189
+ "Philip, Deacon and Evangelist": "Felipe, Diácono y Evangelista",
190
+ "Samuel Isaac Joseph Schereschewsky, Bishop of Shanghai, 1906": "Samuel Isaac José Schereschewsky, Obispo de Shanghai, 1906",
191
+ "Teresa of Avila, Nun, 1582": "Teresa de Avila, Monja, 1582",
192
+ "Hugh Latimer and Nicholas Ridley, Bishops, 1555 and Thomas Cranmer, Archbishop of Canterbury, 1556": "Hugo Latimer y Nicolás Ridley, Obispos, 1555 et Tomás Cranmer, Arzobispo de Cantórbery, 1556",
193
+ "Ignatius, Bishop of Antioch, and Martyr, c. 115": "Ignacio, Obispo de Antioquia y Mártir, c. 115",
194
+ "Saint Luke the Evangelist": "San Lucas, Evangelista",
195
+ "Henry Martyn, Priest, and Missionary to India and Persia, 1812": "Enrique Martyn, Presbítero y Misionero a la India y Persia, 1812",
196
+ "Saint James of Jerusalem, Brother of Our Lord Jesus Christ, and Martyr, c. 62": "Santiago de Jerusalén, Hermano de Nuestro Señor Jesucristo, Mártir, c. 62",
197
+ "Alfred the Great, King of the West Saxons, 899": "Alfredo el Grande, Rey de los Sajones Occidentales, 899",
198
+ "Saint Simon and Saint Jude, Apostles": "San Simón y San Judas, Apóstoles",
199
+ "James Hannington, Bishop of Eastern Equatorial Africa, and his Companions, Martyrs, 1885": "Jaime Hannington, Obispo de Africa del Este Ecuatorial, y sus Compañeros, Mártires, 1885",
200
+ "All Saints": "Todos los Santos",
201
+ "Commemoration of All Faithful Departed": "Conmemoración de los Fieles Difuntos",
202
+ "Richard Hooker, Priest, 1600": "Ricardo Hooker, Presbítero, 1600",
203
+ "William Temple, Archbishop of Canterbury, 1944": "[Guillermo Temple, Arzobispo de Cantórbery, 1944]",
204
+ "Willibrord, Archbishop of Utrecht, Missionary to Frisia, 739": "Willibrord, Arzobispo de Utrecht, Misionero a Frisia, 739",
205
+ "Leo the Great, Bishop of Rome, 461": "Léon Magno, Obispo de Roma, 461",
206
+ "Martin, Bishop of Tours, 397": "Martín, Obispo de Tours, 397",
207
+ "Charles Simeon, Priest, 1836": "Carlos Simeón, Presbítero, 1836",
208
+ "Consecration of Samuel Seabury, First American Bishop, 1784": "Consagración de Samuel Seabury, Primer Obispo de los Estados Unidos, 1784",
209
+ "Margaret, Queen of Scotland, 1093": "Margarita, Reina de Escocia, 1093",
210
+ "Hugh, Bishop of Lincoln, 1200": "Hugo, Obispo de Lincoln, 1200",
211
+ "Hilda, Abbess of Whitby, 680": "Hilda, Abadesa de Whitby, 680",
212
+ "Elizabeth, Princess of Hungary, 1231": "Isabel, Princesa de Hungría, 1231",
213
+ "Edmund, King of East Anglia, 870": "Edmundo, Rey de Anglia del Este, 870",
214
+ "Clive Staples Lewis, Apologist and Spiritual Writer, 1963": "[Clive Staples Lewis, Apologistal y Escritor Espiritual, 1963]",
215
+ "Clement, Bishop of Rome, c. 100": "Clemente, Obispo de Roma, c. 100",
216
+ "James Otis Sargent Huntington, Priest and Monk, 1935": "Jaime Otis Sargent Huntington, Presbítero y Monje, 1935",
217
+ "Kamehameha and Emma, King and Queen of Hawaii, 1864, 1885": "Kamehameha y Emma, Rey y Reina de Hawaii, 1864, 1885",
218
+ "Saint Andrew the Apostle": "San Andrés, Apóstol",
219
+ "Nicholas Ferrar, Deacon, 1637": "Nicolás Ferrar, Diácono, 1637",
220
+ "Channing Moore Williams, Missionary Bishop in China and Japan, 1910": "Channing Moore Williams, Obispo Misionero en China y Japón, 1910",
221
+ "John of Damascus, Priest, c. 760": "Juan Damascena, Presbítero, c. 760",
222
+ "Clement of Alexandria, Priest, c. 210": "Clemente de Alejandría, Presbítero, c. 210",
223
+ "Nicholas, Bishop of Myra, c. 342": "Nicolás, Obispo de Mira, c. 342",
224
+ "Ambrose, Bishop of Milan, 397": "Ambrosio, Obispo de Milán, 397",
225
+ "Saint Thomas the Apostle": "Santo Tomás, Apóstol",
226
+ "The Nativity of Our Lord Jesus Christ": "La Natividad de Nuestro Señor Jesucristo",
227
+ "Saint Stephen, Deacon and Martyr": "San Esteban, Diácono y Mártir",
228
+ "Saint John, Apostle and Evangelist": "San Juan, Apóstol y Evangelista",
229
+ "The Holy Innocents": "Los Santos Inocentes",
230
+ "Thomas Becket, 1170": "Tomás Becket, 1170",
231
+ "First Sunday of Advent": "Primer Domingo de Adviento",
232
+ "Second Sunday of Advent": "Segundo Domingo de Adviento",
233
+ "Third Sunday of Advent": "Tercer Domingo de Adviento",
234
+ "Fourth Sunday of Advent": "Cuarto Domingo de Adviento",
235
+ Christmas: Christmas,
236
+ "First Sunday after Christmas": "Primer Domingo después del Día de Navidad",
237
+ "Second Sunday after Christmas": "Segundo Domingo después del Día de Navidad",
238
+ Epiphany: Epiphany,
239
+ "First Sunday after the Epiphany": "Primer Domingo después de la Epifanía",
240
+ "Second Sunday after the Epiphany": "Segundo Domingo después de la Epifanía",
241
+ "Third Sunday after the Epiphany": "Tercero Domingo después de la Epifanía",
242
+ "Fourth Sunday after the Epiphany": "Cuarto Domingo después de la Epifanía",
243
+ "Fifth Sunday after the Epiphany": "Quinto Domingo después de la Epifanía",
244
+ "Sixth Sunday after the Epiphany": "Sexto Domingo después de la Epifanía",
245
+ "Seventh Sunday after the Epiphany": "Séptimo Domingo después de la Epifanía",
246
+ "Eighth Sunday after the Epiphany": "Octavo Domingo después de la Epifanía",
247
+ "Last Sunday after the Epiphany": "Ultimo Domingo después de la Epifanía",
248
+ "Ash Wednesday": "Miércoles de Ceniza",
249
+ "First Sunday in Lent": "Primer Domingo en Cuaresma",
250
+ "Second Sunday in Lent": "Segundo Domingo en Cuaresma",
251
+ "Third Sunday in Lent": "Tercer Domingo en Cuaresma",
252
+ "Fourth Sunday in Lent": "Cuarto Domingo en Cuaresma",
253
+ "Fifth Sunday in Lent": "Quinto Domingo en Cuaresma",
254
+ "Palm Sunday": "Domingo de Ramos",
255
+ "Monday in Holy Week": "Lunes Santo",
256
+ "Tuesday in Holy Week": "Martes Santo",
257
+ "Wednesday in Holy Week": "Miércoles Santo",
258
+ "Maundy Thursday": "Jueves Santo",
259
+ "Good Friday": "Viernes Santo",
260
+ "Holy Saturday": "Sábado Santo",
261
+ "Easter Day": "Día de Pascua",
262
+ "Monday in Easter Week": "Lunes de Pascua",
263
+ "Tuesday in Easter Week": "Martes de Pascua",
264
+ "Wednesday in Easter Week": "Miércoles de Pascua",
265
+ "Thursday in Easter Week": "Jueves de Pascua",
266
+ "Friday in Easter Week": "Viernes de Pascua",
267
+ "Saturday in Easter Week": "Sábado de Pascua",
268
+ "Second Sunday of Easter": "Segundo Domingo de Pascua",
269
+ "Third Sunday of Easter": "Tercer Domingo de Pascua",
270
+ "Fourth Sunday of Easter": "Cuarto Domingo de Pascua",
271
+ "Fifth Sunday of Easter": "Quinto Domingo de Pascua",
272
+ "Sixth Sunday of Easter": "Sexto Domingo de Pascua",
273
+ "Ascension Day": "Día de la Ascensión",
274
+ "Seventh Sunday of Easter": "Séptimo Domingo de Pascua",
275
+ Pentecost: Pentecost,
276
+ "Trinity Sunday": "Domingo de Trinidad",
277
+ "Second Sunday after Pentecost": "Segundo Domingo después de Pentecostés",
278
+ "Third Sunday after Pentecost": "Tercero Domingo después de Pentecostés",
279
+ "Fourth Sunday after Pentecost": "Cuarto Domingo después de Pentecostés",
280
+ "Fifth Sunday after Pentecost": "Qunto Domingo después de Pentecostés",
281
+ "Sixth Sunday after Pentecost": "Sexto Domingo después de Pentecostés",
282
+ "Seventh Sunday after Pentecost": "Séptimo Domingo después de Pentecostés",
283
+ "Eighth Sunday after Pentecost": "Octavo Domingo después de Pentecostés",
284
+ "Ninth Sunday after Pentecost": "Noveno Domingo después de Pentecostés",
285
+ "Tenth Sunday after Pentecost": "Décimo Domingo después de Pentecostés",
286
+ "Eleventh Sunday after Pentecost": "Undécimo Domingo después de Pentecostés",
287
+ "Twelfth Sunday after Pentecost": "Duodécimo Domingo después de Pentecostés",
288
+ "Thirteenth Sunday after Pentecost": "Decimotercero Domingo después de Pentecostés",
289
+ "Fourteenth Sunday after Pentecost": "Decimocuarto Domingo después de Pentecostés",
290
+ "Fifteenth Sunday after Pentecost": "Decimoquinto Domingo después de Pentecostés",
291
+ "Sixteenth Sunday after Pentecost": "Decimosexto Domingo después de Pentecostés",
292
+ "Seventeenth Sunday after Pentecost": "Decimoséptimo Domingo después de Pentecostés",
293
+ "Eighteenth Sunday after Pentecost": "Decimoctavo Domingo después de Pentecostés",
294
+ "Nineteenth Sunday after Pentecost": "Decimonoveno Domingo después de Pentecostés",
295
+ "Twentieth Sunday after Pentecost": "Vigésimo Domingo después de Pentecostés",
296
+ "Twenty-First Sunday after Pentecost": "Vigésimo Primero Domingo después de Pentecostés",
297
+ "Twenty-Second Sunday after Pentecost": "Vigésimo Segundo Domingo después de Pentecostés",
298
+ "Twenty-Third Sunday after Pentecost": "Vigésimo Tercero Domingo después de Pentecostés",
299
+ "Twenty-Fourth Sunday after Pentecost": "Vigésimo Cuarto Domingo después de Pentecostés",
300
+ "Twenty-Fifth Sunday after Pentecost": "Vigésimo Quinto Domingo después de Pentecostés",
301
+ "Twenty-Sixth Sunday after Pentecost": "Vigésimo Sexto Domingo después de Pentecostés",
302
+ "Twenty-Seventh Sunday after Pentecost": "Vigésimo Séptimo Domingo después de Pentecostés",
303
+ "Last Sunday after Pentecost": "Ultimo Domingo después de Pentecostés"
145
304
  };
146
305
 
147
306
  const dayNameCss = ".icon.sc-ldf-day-name{display:var(--ldf-icon-display, none);margin:1em auto;width:400px;max-width:90%}.holy-day-name.sc-ldf-day-name{font-style:var(--ldf-holy-day-name-font-style);font-weight:var(--ldf-holy-day-name-font-weight);font-size:var(--ldf-holy-day-name-font-size)}.holy-day-subtitle.sc-ldf-day-name{font-style:var(--ldf-holy-day-subtitle-font-style);font-weight:var(--ldf-holy-day-subtitle-font-weight);font-size:var(--ldf-holy-day-subtitle-font-size)}";
148
307
 
149
308
  const LOCALE$2 = {
150
309
  'en': EN$2,
310
+ 'es': ES$1
151
311
  };
152
312
  const DayNameComponent = class {
153
313
  constructor(hostRef) {
@@ -157,17 +317,17 @@ const DayNameComponent = class {
157
317
  let provisionalObj;
158
318
  try {
159
319
  if (typeof newDay == 'string') {
160
- provisionalObj = new LiturgicalDay(JSON.parse(newDay));
320
+ provisionalObj = new book.LiturgicalDay(JSON.parse(newDay));
161
321
  }
162
322
  else {
163
- provisionalObj = new LiturgicalDay(newDay);
323
+ provisionalObj = new book.LiturgicalDay(newDay);
164
324
  }
165
325
  }
166
326
  catch (e) {
167
327
  console.warn('(ldf-day-name)', e);
168
- provisionalObj = new LiturgicalDay();
328
+ provisionalObj = new book.LiturgicalDay();
169
329
  }
170
- this.obj = provisionalObj || new LiturgicalDay();
330
+ this.obj = provisionalObj || new book.LiturgicalDay();
171
331
  }
172
332
  // Lifecycle events
173
333
  componentWillLoad() {
@@ -184,32 +344,34 @@ const DayNameComponent = class {
184
344
  }
185
345
  // Render day as string
186
346
  dayToNodes(day, localeStrings) {
187
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
347
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
188
348
  // Holy Day => name of day
189
349
  if (((_a = day === null || day === void 0 ? void 0 : day.holy_day_observed) === null || _a === void 0 ? void 0 : _a.name) && ((_c = (_b = day === null || day === void 0 ? void 0 : day.holy_day_observed) === null || _b === void 0 ? void 0 : _b.type) === null || _c === void 0 ? void 0 : _c.rank) >= 3) {
350
+ console.log("Holy Day name", (_d = day === null || day === void 0 ? void 0 : day.holy_day_observed) === null || _d === void 0 ? void 0 : _d.name, localeStrings[(_e = day === null || day === void 0 ? void 0 : day.holy_day_observed) === null || _e === void 0 ? void 0 : _e.name] || localeStrings[(_f = day === null || day === void 0 ? void 0 : day.holy_day_observed) === null || _f === void 0 ? void 0 : _f.name.replace("St.", "Saint")], localeStrings);
351
+ const name = localeStrings[(_g = day === null || day === void 0 ? void 0 : day.holy_day_observed) === null || _g === void 0 ? void 0 : _g.name] || localeStrings[(_h = day === null || day === void 0 ? void 0 : day.holy_day_observed) === null || _h === void 0 ? void 0 : _h.name.replace("St.", "Saint")] || ((_j = day === null || day === void 0 ? void 0 : day.holy_day_observed) === null || _j === void 0 ? void 0 : _j.name);
190
352
  return !day.holy_day_observed.bio
191
- ? [index.h("p", { class: "holy-day-name" }, (_d = day === null || day === void 0 ? void 0 : day.holy_day_observed) === null || _d === void 0 ? void 0 : _d.name), ((_e = day === null || day === void 0 ? void 0 : day.holy_day_observed) === null || _e === void 0 ? void 0 : _e.subtitle) ? index.h("p", { class: "holy-day-subtitle" }, day.holy_day_observed.subtitle) : undefined]
192
- : index.h("details", null, index.h("summary", null, day.holy_day_observed.name), index.h("ldf-text", { doc: new text.Text({ type: "text", style: "text", value: day.holy_day_observed.bio }) }));
353
+ ? [index.h("p", { class: "holy-day-name" }, name), ((_k = day === null || day === void 0 ? void 0 : day.holy_day_observed) === null || _k === void 0 ? void 0 : _k.subtitle) ? index.h("p", { class: "holy-day-subtitle" }, day.holy_day_observed.subtitle) : undefined]
354
+ : index.h("details", null, index.h("summary", null, name), index.h("ldf-text", { doc: new text.Text({ type: "text", style: "text", value: day.holy_day_observed.bio }) }));
193
355
  }
194
356
  else {
195
- const date = book.dateFromYMDString(day === null || day === void 0 ? void 0 : day.date), locale = ((_g = (_f = this.el) === null || _f === void 0 ? void 0 : _f.closest('[lang]')) === null || _g === void 0 ? void 0 : _g.lang) || 'en';
357
+ const date = book.dateFromYMDString(day === null || day === void 0 ? void 0 : day.date), locale = ((_m = (_l = this.el) === null || _l === void 0 ? void 0 : _l.closest('[lang]')) === null || _m === void 0 ? void 0 : _m.lang) || 'en';
196
358
  // Sunday => name of week
197
359
  if (date.getDay() == 0) {
198
360
  const the = localeStrings.the || ' the ';
199
361
  return [
200
- ((_h = day === null || day === void 0 ? void 0 : day.week) === null || _h === void 0 ? void 0 : _h.omit_the) ? '' : ` ${the[1].toUpperCase()}${the.slice(2, localeStrings.the.length)} `,
362
+ ((_o = day === null || day === void 0 ? void 0 : day.week) === null || _o === void 0 ? void 0 : _o.omit_the) ? '' : ` ${the[1].toUpperCase()}${the.slice(2, localeStrings.the.length)} `,
201
363
  ,
202
- (_j = day === null || day === void 0 ? void 0 : day.week) === null || _j === void 0 ? void 0 : _j.name
364
+ localeStrings[(_p = day === null || day === void 0 ? void 0 : day.week) === null || _p === void 0 ? void 0 : _p.name] || ((_q = day === null || day === void 0 ? void 0 : day.week) === null || _q === void 0 ? void 0 : _q.name)
203
365
  ];
204
366
  }
205
367
  // weekday => [weekday] after (the) [Sunday]
206
368
  else {
207
369
  return [
208
- date.toLocaleDateString(locale, { weekday: 'long' }),
209
- localeStrings.after || ' after the ',
210
- ((_k = day === null || day === void 0 ? void 0 : day.week) === null || _k === void 0 ? void 0 : _k.omit_the) ? '' : localeStrings.the,
211
- (_l = day === null || day === void 0 ? void 0 : day.week) === null || _l === void 0 ? void 0 : _l.name
212
- ];
370
+ capitalize(date.toLocaleDateString(locale, { weekday: 'long' })),
371
+ localeStrings.after || ' after ',
372
+ ((_r = day === null || day === void 0 ? void 0 : day.week) === null || _r === void 0 ? void 0 : _r.omit_the) ? '' : localeStrings.the,
373
+ localeStrings[(_s = day === null || day === void 0 ? void 0 : day.week) === null || _s === void 0 ? void 0 : _s.name] || ((_t = day === null || day === void 0 ? void 0 : day.week) === null || _t === void 0 ? void 0 : _t.name)
374
+ ].join("").replace(/de\s+el/, "del");
213
375
  }
214
376
  }
215
377
  }
@@ -223,6 +385,9 @@ const DayNameComponent = class {
223
385
  "day": ["dayChange"]
224
386
  }; }
225
387
  };
388
+ function capitalize(word) {
389
+ return word[0].toUpperCase() + word.slice(1);
390
+ }
226
391
  DayNameComponent.style = dayNameCss;
227
392
 
228
393
  const EditableNode = ({ uidOrSlug, path, text, index: index$1, bodyText }) => index.h("ldf-editable-text", { class: { 'body-text': bodyText }, id: `${uidOrSlug}-heading-${index$1}`, text: text, path: `${path}/value/${index$1}`, short: true, inputType: "text" });
@@ -326,15 +491,15 @@ const HeadingComponent = class {
326
491
  }
327
492
  // Render
328
493
  render() {
329
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
494
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
330
495
  const localeStrings = this.localeStrings || {};
331
496
  const level = this.obj.metadata ? this.obj.metadata.level : 4, hasCitation = Boolean((_a = this.obj) === null || _a === void 0 ? void 0 : _a.citation), hasSource = Boolean((_b = this.obj) === null || _b === void 0 ? void 0 : _b.source), isDate = ((_c = this.obj) === null || _c === void 0 ? void 0 : _c.style) == 'date', isDay = ((_d = this.obj) === null || _d === void 0 ? void 0 : _d.style) == 'day', isText = ((_e = this.obj) === null || _e === void 0 ? void 0 : _e.style) == undefined || ((_f = this.obj) === null || _f === void 0 ? void 0 : _f.style) == 'text' || (!isDate && !isDay);
332
497
  // Render
333
498
  return (index.h(index.Host, { lang: ((_g = this.obj) === null || _g === void 0 ? void 0 : _g.language) || 'en' }, this.editable && index.h("ldf-label-bar", null, index.h("slot", { slot: 'end', name: 'controls' })), index.h("ldf-label-bar", { center: ((_j = (_h = this.obj) === null || _h === void 0 ? void 0 : _h.metadata) === null || _j === void 0 ? void 0 : _j.level) <= 2, class: {
334
499
  'text': isText && (((_k = this === null || this === void 0 ? void 0 : this.obj) === null || _k === void 0 ? void 0 : _k.value) || []).filter(n => Boolean(n)).length > 0
335
- } }, isText && ((_m = (_l = this.obj) === null || _l === void 0 ? void 0 : _l.value) === null || _m === void 0 ? void 0 : _m.length) > 0 && this.headerNode(level, this.textNode(this.obj.value[0], 0), true), isDate && !this.editable && this.dateNode(), isDate && this.editable && index.h("code", { class: "lookup" }, localeStrings.date), isDay && !this.editable && index.h("div", { class: "date" }, index.h("ldf-day-name", { day: (_o = this.obj) === null || _o === void 0 ? void 0 : _o.day })), isDay && !this.editable && ((_r = (_q = (_p = this.obj) === null || _p === void 0 ? void 0 : _p.day) === null || _q === void 0 ? void 0 : _q.holy_days) === null || _r === void 0 ? void 0 : _r.length) > 0 && index.h("ul", { class: "holy-days" }, (_t = (_s = this.obj) === null || _s === void 0 ? void 0 : _s.day) === null || _t === void 0 ? void 0 : _t.holy_days.filter(day => { var _a; return ((_a = day.type) === null || _a === void 0 ? void 0 : _a.rank) < 3; }).map(day => day.bio
500
+ } }, isText && ((_m = (_l = this.obj) === null || _l === void 0 ? void 0 : _l.value) === null || _m === void 0 ? void 0 : _m.length) > 0 && this.headerNode(level, this.textNode(this.obj.value[0], 0), true), isDate && !this.editable && this.dateNode(), isDate && this.editable && index.h("code", { class: "lookup" }, localeStrings.date), isDay && !this.editable && index.h("div", { class: "date" }, index.h("ldf-day-name", { day: (_o = this.obj) === null || _o === void 0 ? void 0 : _o.day, lang: ((_p = this.obj) === null || _p === void 0 ? void 0 : _p.language) || 'en' })), isDay && !this.editable && ((_s = (_r = (_q = this.obj) === null || _q === void 0 ? void 0 : _q.day) === null || _r === void 0 ? void 0 : _r.holy_days) === null || _s === void 0 ? void 0 : _s.length) > 0 && index.h("ul", { class: "holy-days" }, (_u = (_t = this.obj) === null || _t === void 0 ? void 0 : _t.day) === null || _u === void 0 ? void 0 : _u.holy_days.filter(day => { var _a; return ((_a = day.type) === null || _a === void 0 ? void 0 : _a.rank) < 3; }).map(day => day.bio
336
501
  ? index.h("li", { class: "holy-day" }, index.h("details", null, index.h("summary", null, day.name), index.h("ldf-text", { doc: new text.Text({ type: "text", style: "text", value: day.bio }) })))
337
- : index.h("li", { class: "holy-day" }, day.name))), isDay && this.editable && index.h("code", { class: "lookup" }, localeStrings.day), ((_v = (_u = this.obj) === null || _u === void 0 ? void 0 : _u.value) === null || _v === void 0 ? void 0 : _v.length) > 1 && this.textNode(this.obj.value[1], 1), index.h("slot", { name: 'additional' }), index.h("slot", { name: 'citation', slot: 'end' }, hasSource && this.sourceNode(this.obj.source), hasCitation && !hasSource && this.obj.citation !== this.obj.label && this.obj.citation !== this.obj.value[0] && this.citationNode(this.obj.citation))), index.h("div", null, hasSource && hasCitation && this.obj.citation !== this.obj.label && this.citationNode(this.obj.citation, 'none')), ((_x = (_w = this.obj) === null || _w === void 0 ? void 0 : _w.value) === null || _x === void 0 ? void 0 : _x.length) > 2 && this.obj.value.slice(2, this.obj.value.length).map((text, index) => this.textNode(text, index + 2, true))));
502
+ : index.h("li", { class: "holy-day" }, day.name))), isDay && this.editable && index.h("code", { class: "lookup" }, localeStrings.day), ((_w = (_v = this.obj) === null || _v === void 0 ? void 0 : _v.value) === null || _w === void 0 ? void 0 : _w.length) > 1 && this.textNode(this.obj.value[1], 1), index.h("slot", { name: 'additional' }), index.h("slot", { name: 'citation', slot: 'end' }, hasSource && this.sourceNode(this.obj.source), hasCitation && !hasSource && this.obj.citation !== this.obj.label && this.obj.citation !== this.obj.value[0] && this.citationNode(this.obj.citation))), index.h("div", null, hasSource && hasCitation && this.obj.citation !== this.obj.label && this.citationNode(this.obj.citation, 'none')), ((_y = (_x = this.obj) === null || _x === void 0 ? void 0 : _x.value) === null || _y === void 0 ? void 0 : _y.length) > 2 && this.obj.value.slice(2, this.obj.value.length).map((text, index) => this.textNode(text, index + 2, true))));
338
503
  }
339
504
  get element() { return index.getElement(this); }
340
505
  static get watchers() { return {
@@ -5574,7 +5739,7 @@ const ES = {
5574
5739
  "prayer-list": "Prayer List"
5575
5740
  };
5576
5741
 
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}";
5742
+ 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.formatted.sc-ldf-text{text-align:left;white-space:pre-wrap}.prayer-list.sc-ldf-text li.sc-ldf-text{list-style-type:none;text-align:center;margin:0.5em 0;padding:0}";
5578
5743
 
5579
5744
  const LOCALE = {
5580
5745
  'en': EN,
@@ -5586,10 +5751,9 @@ const TextComponent = class {
5586
5751
  this.ldfDocShouldChange = index.createEvent(this, "ldfDocShouldChange", 7);
5587
5752
  this.ldfAskForPrayerList = index.createEvent(this, "ldfAskForPrayerList", 7);
5588
5753
  // prayer list for authorized prayers
5589
- this.intentions = [];
5754
+ this.intentions = "";
5590
5755
  }
5591
5756
  async setPrayerList(intentions) {
5592
- console.log("(PrayerList) setPrayerList", intentions);
5593
5757
  this.intentions = intentions;
5594
5758
  }
5595
5759
  docChanged(newDoc) {
@@ -5653,7 +5817,9 @@ const TextComponent = class {
5653
5817
  /** `authorized-prayer` type */
5654
5818
  if (((_a = this.obj) === null || _a === void 0 ? void 0 : _a.style) === 'authorized-prayers') {
5655
5819
  const splits = this.path.split('/'), index$1 = Number(splits[splits.length - 1]), base = splits.slice(0, splits.length - 1).join('/');
5656
- return index.h(index.Host, null, index.h("ldf-label-bar", null, index.h("ion-button", { onClick: () => this.addPAndT(base, index$1), fill: "clear" }, localeStrings.authorized_prayers)), (_c = ((_b = this.intentions) === null || _b === void 0 ? void 0 : _b.length) > 0) !== null && _c !== void 0 ? _c : index.h("strong", { class: "prayer-list" }, localeStrings['prayer-list']), index.h("ul", { class: "prayer-list" }, (this.intentions || []).map(intention => index.h("li", null, intention))));
5820
+ return index.h(index.Host, null, index.h("ldf-label-bar", null, index.h("ion-button", { onClick: () => this.addPAndT(base, index$1), fill: "clear" }, localeStrings.authorized_prayers)), (_c = ((_b = this.intentions) === null || _b === void 0 ? void 0 : _b.length) > 0) !== null && _c !== void 0 ? _c : index.h("strong", { class: "prayer-list" }, localeStrings['prayer-list']), Array.isArray(this.intentions)
5821
+ ? index.h("ul", { class: "prayer-list" }, this.intentions.map(intention => index.h("li", null, intention)))
5822
+ : index.h("p", { class: "prayer-list formatted" }, this.intentions));
5657
5823
  }
5658
5824
  else {
5659
5825
  let value = ((_e = (_d = this.obj) === null || _d === void 0 ? void 0 : _d.metadata) === null || _e === void 0 ? void 0 : _e.rollup)
@@ -3,14 +3,14 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-8fe0df8d.js');
6
- const book = require('./book-1a92678a.js');
7
- const rubric$1 = require('./rubric-0afbe4c0.js');
8
- const heading$1 = require('./heading-5afc2b24.js');
9
- const image$1 = require('./image-3bee3e73.js');
10
- const option$1 = require('./option-a078d432.js');
11
- const refrain$1 = require('./refrain-91fb446b.js');
12
- const text$1 = require('./text-5edb80f3.js');
13
- const locale = require('./locale-d4e925b1.js');
6
+ const book = require('./book-b04f6553.js');
7
+ const rubric$1 = require('./rubric-3ef36eea.js');
8
+ const heading$1 = require('./heading-1243cde5.js');
9
+ const image$1 = require('./image-7ff56371.js');
10
+ const option$1 = require('./option-491b2cc7.js');
11
+ const refrain$1 = require('./refrain-2089062b.js');
12
+ const text$1 = require('./text-67a354ff.js');
13
+ const locale = require('./locale-13a47c0e.js');
14
14
 
15
15
  const MENU = [
16
16
  {
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-8fe0df8d.js');
6
- const book = require('./book-1a92678a.js');
6
+ const book = require('./book-b04f6553.js');
7
7
  const change = require('./change-cdb1e8c0.js');
8
- const locale = require('./locale-d4e925b1.js');
8
+ const locale = require('./locale-13a47c0e.js');
9
9
 
10
10
  //import { PROPERS } from './propers';
11
11
  const WEEKDAYS = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-8fe0df8d.js');
6
- const book = require('./book-1a92678a.js');
6
+ const book = require('./book-b04f6553.js');
7
7
  const change = require('./change-cdb1e8c0.js');
8
- const locale = require('./locale-d4e925b1.js');
8
+ const locale = require('./locale-13a47c0e.js');
9
9
 
10
10
  const addCondition = "Add a Condition";
11
11
  const and = "All of the following are true";