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