@venite/components 0.16.39 → 0.16.41

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 (89) hide show
  1. package/dist/cjs/{book-b04f6553.js → book-82e0876b.js} +3 -3
  2. package/dist/cjs/{heading-1243cde5.js → heading-b7872a4d.js} +1 -1
  3. package/dist/cjs/{image-7ff56371.js → image-75040cd8.js} +1 -1
  4. package/dist/cjs/ion-button_14.cjs.entry.js +1 -1
  5. package/dist/cjs/ion-card-content_6.cjs.entry.js +2 -2
  6. package/dist/cjs/ion-input_2.cjs.entry.js +1 -1
  7. package/dist/cjs/ion-segment_16.cjs.entry.js +6 -6
  8. package/dist/cjs/ldf-day-name_5.cjs.entry.js +8 -8
  9. package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +7 -7
  10. package/dist/cjs/ldf-editable-boolean_2.cjs.entry.js +1 -1
  11. package/dist/cjs/ldf-editable-condition-piece.cjs.entry.js +1 -1
  12. package/dist/cjs/ldf-editable-condition.cjs.entry.js +1 -1
  13. package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +2 -2
  14. package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +7 -7
  15. package/dist/cjs/ldf-editable-metadata.cjs.entry.js +7 -7
  16. package/dist/cjs/ldf-editable-preference-option.cjs.entry.js +1 -1
  17. package/dist/cjs/ldf-editable-preference.cjs.entry.js +1 -1
  18. package/dist/cjs/ldf-editable-preferences.cjs.entry.js +1 -1
  19. package/dist/cjs/ldf-editable-string-list.cjs.entry.js +1 -1
  20. package/dist/cjs/ldf-editor.cjs.entry.js +1 -1
  21. package/dist/cjs/{option-491b2cc7.js → option-d7f9785e.js} +1 -1
  22. package/dist/cjs/{refrain-2089062b.js → refrain-dcde813a.js} +1 -1
  23. package/dist/cjs/{rubric-3ef36eea.js → rubric-03ef6457.js} +321 -6
  24. package/dist/cjs/{specific-class-3e56392a.js → specific-class-826d0b7c.js} +5 -5
  25. package/dist/cjs/{text-67a354ff.js → text-d86d8916.js} +1 -1
  26. package/dist/collection/components/string/dist/string.js +2 -2
  27. package/dist/collection/components/string/string.js +3 -3
  28. package/dist/collection/components/text/dist/text.js +2 -2
  29. package/dist/collection/components/text/text.js +2 -2
  30. package/dist/collection/utils/dist/locale.js +0 -1
  31. package/dist/collection/utils/locale.js +0 -1
  32. package/dist/esm/{book-4795ea34.js → book-30d463e4.js} +3 -3
  33. package/dist/esm/{heading-dedd87c7.js → heading-3148493f.js} +1 -1
  34. package/dist/esm/{image-374f5ed7.js → image-72083f34.js} +1 -1
  35. package/dist/esm/ion-button_14.entry.js +1 -1
  36. package/dist/esm/ion-card-content_6.entry.js +2 -2
  37. package/dist/esm/ion-input_2.entry.js +1 -1
  38. package/dist/esm/ion-segment_16.entry.js +6 -6
  39. package/dist/esm/ldf-day-name_5.entry.js +8 -8
  40. package/dist/esm/ldf-editable-add-block-menu.entry.js +7 -7
  41. package/dist/esm/ldf-editable-boolean_2.entry.js +1 -1
  42. package/dist/esm/ldf-editable-condition-piece.entry.js +1 -1
  43. package/dist/esm/ldf-editable-condition.entry.js +1 -1
  44. package/dist/esm/ldf-editable-filter-documents.entry.js +2 -2
  45. package/dist/esm/ldf-editable-lookup_2.entry.js +7 -7
  46. package/dist/esm/ldf-editable-metadata.entry.js +7 -7
  47. package/dist/esm/ldf-editable-preference-option.entry.js +1 -1
  48. package/dist/esm/ldf-editable-preference.entry.js +1 -1
  49. package/dist/esm/ldf-editable-preferences.entry.js +1 -1
  50. package/dist/esm/ldf-editable-string-list.entry.js +1 -1
  51. package/dist/esm/ldf-editor.entry.js +1 -1
  52. package/dist/esm/{option-4e49f550.js → option-6f3f65cd.js} +1 -1
  53. package/dist/esm/{refrain-984f9410.js → refrain-7bd7ce8a.js} +1 -1
  54. package/dist/esm/{rubric-5c072ba1.js → rubric-3418353f.js} +321 -6
  55. package/dist/esm/{specific-class-23168094.js → specific-class-eeefc413.js} +5 -5
  56. package/dist/esm/{text-2ec5b6b3.js → text-8a1f3c31.js} +1 -1
  57. package/dist/ldf/ldf.esm.js +1 -1
  58. package/dist/ldf/{p-fdd761c5.entry.js → p-0275ff97.entry.js} +1 -1
  59. package/dist/ldf/{p-28c57ab2.entry.js → p-032ca4fb.entry.js} +1 -1
  60. package/dist/ldf/{p-06480ead.entry.js → p-13c95df6.entry.js} +1 -1
  61. package/dist/ldf/{p-2d75b171.entry.js → p-1c013e13.entry.js} +1 -1
  62. package/dist/ldf/{p-e930dae9.entry.js → p-28f67c35.entry.js} +1 -1
  63. package/dist/ldf/{p-e23817f2.entry.js → p-3402f431.entry.js} +1 -1
  64. package/dist/ldf/p-35932594.js +3 -0
  65. package/dist/ldf/{p-6c5d1e15.entry.js → p-3d550f37.entry.js} +1 -1
  66. package/dist/ldf/{p-d9994330.js → p-4346d5f8.js} +1 -1
  67. package/dist/ldf/{p-b0ceb153.js → p-4cecd5be.js} +1 -1
  68. package/dist/ldf/{p-de8a07a7.entry.js → p-531b0af0.entry.js} +1 -1
  69. package/dist/ldf/{p-4ecb68ed.entry.js → p-74080a1b.entry.js} +1 -1
  70. package/dist/ldf/{p-83ec2b27.entry.js → p-75403c72.entry.js} +1 -1
  71. package/dist/ldf/{p-0f92b1b7.entry.js → p-76b4b747.entry.js} +1 -1
  72. package/dist/ldf/p-809c58d3.js +1 -0
  73. package/dist/ldf/{p-37b167f9.entry.js → p-8bd9886e.entry.js} +1 -1
  74. package/dist/ldf/{p-0aca5787.entry.js → p-a54d398b.entry.js} +1 -1
  75. package/dist/ldf/{p-25fb58d0.entry.js → p-b5f92da4.entry.js} +1 -1
  76. package/dist/ldf/{p-97ada7f4.js → p-be6a5a82.js} +1 -1
  77. package/dist/ldf/p-c4daf125.entry.js +1 -0
  78. package/dist/ldf/p-ce877995.js +1 -0
  79. package/dist/ldf/{p-5e7c2a87.entry.js → p-d44d4a30.entry.js} +1 -1
  80. package/dist/ldf/p-de7668ff.js +1 -0
  81. package/dist/ldf/p-ec2306de.js +1 -0
  82. package/dist/ldf/{p-e8ce0eea.entry.js → p-f51f98ee.entry.js} +1 -1
  83. package/package.json +2 -2
  84. package/dist/ldf/p-47600061.js +0 -3
  85. package/dist/ldf/p-49174004.js +0 -1
  86. package/dist/ldf/p-8e8569aa.entry.js +0 -1
  87. package/dist/ldf/p-a2e30644.js +0 -1
  88. package/dist/ldf/p-a97ca6c2.js +0 -1
  89. package/dist/ldf/p-cb1922dc.js +0 -1
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- const rubric = require('./rubric-3ef36eea.js');
4
- const heading = require('./heading-1243cde5.js');
5
- const option = require('./option-491b2cc7.js');
6
- const refrain = require('./refrain-2089062b.js');
7
- const text = require('./text-67a354ff.js');
3
+ const rubric = require('./rubric-03ef6457.js');
4
+ const heading = require('./heading-b7872a4d.js');
5
+ const option = require('./option-d7f9785e.js');
6
+ const refrain = require('./refrain-dcde813a.js');
7
+ const text = require('./text-d86d8916.js');
8
8
 
9
9
  /** Transforms a generic `LiturgicalDocument` (either a class instance or an `Object` that matches the type),
10
10
  * into an instance of a more-specific inherited class */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const book = require('./book-b04f6553.js');
3
+ const book = require('./book-82e0876b.js');
4
4
 
5
5
  const STYLES = ['text', 'prayer', 'markdown', 'authorized-prayers'];
6
6
  /** Text represents collect or any other short prayer. */
@@ -128,8 +128,8 @@ var StringComponent = /** @class */ (function () {
128
128
  if (firstChunk) {
129
129
  var splitTest = (firstChunk || '').split(/[\s.!?\\]/);
130
130
  var firstWord = splitTest ? splitTest[0] : '', re = firstWord.length > 2
131
- ? /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*)/
132
- : /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*[\s.!?]*[\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/, reIncludingPunctuation = ((_a = firstWord[0]) === null || _a === void 0 ? void 0 : _a.match(/[\"\'“”‘’¡\!\?¿\[\]\(\)]/)) ? /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff]{2})\s*([\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/
131
+ ? /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff])([\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff\,]*)/
132
+ : /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff])([\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff\,]*[\s.!?]*[\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff]*)/, reIncludingPunctuation = ((_a = firstWord[0]) === null || _a === void 0 ? void 0 : _a.match(/[\"\'“”‘’¡\!\?¿\[\]\(\)]/)) ? /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff]{2})\s*([\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff]*)/
133
133
  : re, buffer = firstWord.length == 1, split = firstChunk.split(reIncludingPunctuation).filter(function (s) { return s !== ''; }), match1 = split[0], match2 = split[1], nextWord = split[2];
134
134
  final = new Array(React.createElement("span", { "class": 'firstword' },
135
135
  React.createElement("span", { "class": buffer ? "drop buffered-drop drop-" + match1 : "drop drop-" + match1 }, match1),
@@ -117,9 +117,9 @@ export class StringComponent {
117
117
  if (firstChunk) {
118
118
  const splitTest = (firstChunk || '').split(/[\s.!?\\]/);
119
119
  const firstWord = splitTest ? splitTest[0] : '', re = firstWord.length > 2
120
- ? /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*)/
121
- : /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*[\s.!?]*[\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/, reIncludingPunctuation = ((_a = firstWord[0]) === null || _a === void 0 ? void 0 : _a.match(/[\"\'“”‘’¡\!\?¿\[\]\(\)]/))
122
- ? /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff]{2})\s*([\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/
120
+ ? /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff])([\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff\,]*)/
121
+ : /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff])([\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff\,]*[\s.!?]*[\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff]*)/, reIncludingPunctuation = ((_a = firstWord[0]) === null || _a === void 0 ? void 0 : _a.match(/[\"\'“”‘’¡\!\?¿\[\]\(\)]/))
122
+ ? /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff]{2})\s*([\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff]*)/
123
123
  : re, buffer = firstWord.length == 1, split = firstChunk.split(reIncludingPunctuation).filter(s => s !== ''), [match1, match2, nextWord] = split;
124
124
  final = new Array(h("span", { class: 'firstword' },
125
125
  h("span", { class: buffer ? `drop buffered-drop drop-${match1}` : `drop drop-${match1}` }, match1),
@@ -113,7 +113,7 @@ var TextComponent = /** @class */ (function () {
113
113
  TextComponent.prototype.truncate = function (s, last, words) {
114
114
  if (last === void 0) { last = false; }
115
115
  if (words === void 0) { words = 20; }
116
- var keepPieces = words * 2, split = s.split(/([^\w])/g);
116
+ var keepPieces = words * 2, split = s.split(/([^\w\u00c0-\u017f])/g);
117
117
  if (!last) {
118
118
  return split.slice(0, keepPieces).concat('...').join("");
119
119
  }
@@ -164,7 +164,7 @@ var TextComponent = /** @class */ (function () {
164
164
  var value = ((_e = (_d = this.obj) === null || _d === void 0 ? void 0 : _d.metadata) === null || _e === void 0 ? void 0 : _e.rollup) ? (((_f = this.obj) === null || _f === void 0 ? void 0 : _f.value) || []).map(function (s) { return s.replace(/\s+/g, ' '); })
165
165
  : (((_g = this.obj) === null || _g === void 0 ? void 0 : _g.value) || []);
166
166
  var compiledValue_1 = value.map(function (s) {
167
- return s.split(/([\*\w\n\s,:;\.\-–—'“☩✠”‘’\!\?”\[\]\%\(\)\/\u0041-\u024F\u1400-\u167f\u0e00-\u0e5b]+([^\*\w\n\s,;:\.'“”☩✠‘’”\-–—\!\?\[\]\%\(\)\/\u0041-\u024F\u1400-\u167f\u0e00-\u0e5b]))/g);
167
+ return s.split(/([\*\w\u00c0-\u017f\n\s,:;\.\-–—'“☩✠”‘’\!\?”\[\]\%\(\)\/\u0041-\u024F\u1400-\u167f\u0e00-\u0e5b]+([^\*\w\u00c0-\u017f\n\s,;:\.'“”☩✠‘’”\-–—\!\?\[\]\%\(\)\/\u0041-\u024F\u1400-\u167f\u0e00-\u0e5b]))/g);
168
168
  });
169
169
  if (!this.editable && ((_h = this.obj) === null || _h === void 0 ? void 0 : _h.display_format) === 'abbreviated') {
170
170
  var firstSection = compiledValue_1[0], lastSection = compiledValue_1[compiledValue_1.length - 1];
@@ -51,7 +51,7 @@ export class TextComponent {
51
51
  }
52
52
  }
53
53
  truncate(s, last = false, words = 20) {
54
- const keepPieces = words * 2, split = s.split(/([^\w])/g);
54
+ const keepPieces = words * 2, split = s.split(/([^\w\u00c0-\u017f])/g);
55
55
  if (!last) {
56
56
  return split.slice(0, keepPieces).concat('...').join("");
57
57
  }
@@ -90,7 +90,7 @@ export class TextComponent {
90
90
  ? (((_f = this.obj) === null || _f === void 0 ? void 0 : _f.value) || []).map(s => s.replace(/\s+/g, ' '))
91
91
  : (((_g = this.obj) === null || _g === void 0 ? void 0 : _g.value) || []);
92
92
  let compiledValue = value.map(s => {
93
- return s.split(/([\*\w\n\s,:;\.\-–—'“☩✠”‘’\!\?”\[\]\%\(\)\/\u0041-\u024F\u1400-\u167f\u0e00-\u0e5b]+([^\*\w\n\s,;:\.'“”☩✠‘’”\-–—\!\?\[\]\%\(\)\/\u0041-\u024F\u1400-\u167f\u0e00-\u0e5b]))/g);
93
+ return s.split(/([\*\w\u00c0-\u017f\n\s,:;\.\-–—'“☩✠”‘’\!\?”\[\]\%\(\)\/\u0041-\u024F\u1400-\u167f\u0e00-\u0e5b]+([^\*\w\u00c0-\u017f\n\s,;:\.'“”☩✠‘’”\-–—\!\?\[\]\%\(\)\/\u0041-\u024F\u1400-\u167f\u0e00-\u0e5b]))/g);
94
94
  });
95
95
  if (!this.editable && ((_h = this.obj) === null || _h === void 0 ? void 0 : _h.display_format) === 'abbreviated') {
96
96
  const firstSection = compiledValue[0], lastSection = compiledValue[compiledValue.length - 1];
@@ -60,7 +60,6 @@ function getLocaleComponentStrings(element) {
60
60
  case 0:
61
61
  componentName = element.tagName.toLowerCase().replace("ldf-", "");
62
62
  componentLanguage = getComponentClosestLanguage(element);
63
- console.log("refetching for ", componentLanguage);
64
63
  _a.label = 1;
65
64
  case 1:
66
65
  _a.trys.push([1, 3, , 5]);
@@ -15,7 +15,6 @@ function fetchLocaleStringsForComponent(componentName, locale) {
15
15
  export async function getLocaleComponentStrings(element) {
16
16
  let componentName = element.tagName.toLowerCase().replace("ldf-", "");
17
17
  let componentLanguage = getComponentClosestLanguage(element);
18
- console.log("refetching for ", componentLanguage);
19
18
  let strings;
20
19
  try {
21
20
  strings = await fetchLocaleStringsForComponent(componentName, componentLanguage);
@@ -40,7 +40,7 @@ class LiturgicalDay {
40
40
  return dateFromYMDString(this.date);
41
41
  }
42
42
  /** Given a LiturgicalDay, returns a new LiturgicalDay that includes the feasts passed */
43
- addHolyDays(holydays) {
43
+ addHolyDays(holydays, saveAlternate) {
44
44
  var _a, _b, _c, _d;
45
45
  const day = this;
46
46
  holydays = holydays
@@ -80,7 +80,7 @@ class LiturgicalDay {
80
80
  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,
81
81
  season,
82
82
  octave,
83
- collect, holy_days: (this.holy_days || new Array()).concat(holydays), holy_day_observed: holy_day_is_observed ? observed : this.holy_day_observed }));
83
+ collect, holy_days: (this.holy_days || new Array()).concat(holydays), holy_day_observed: holy_day_is_observed ? observed : this.holy_day_observed, alternate: saveAlternate && slug !== this.slug && holy_day_rank < 5 ? this : undefined }));
84
84
  }
85
85
  /** Given a `LiturgicalDay` and a set of `HolyDay`s, it returns whichever option takes precedence */
86
86
  observedDay(day, holydays) {
@@ -131,7 +131,7 @@ class LiturgicalDay {
131
131
  // whether this day is ranked as a Major Feast
132
132
  isFeast() {
133
133
  var _a, _b, _c, _d, _e, _f, _g, _h;
134
- 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')) || ((_d = this.slug) === null || _d === void 0 ? void 0 : _d.includes('palm-sunday')), ashWednesdayWeek = (_e = this.slug) === null || _e === void 0 ? void 0 : _e.includes('last-epiphany'), ascensionWeek = (_f = this.slug) === null || _f === void 0 ? void 0 : _f.includes('6th-easter'), easterWeek = (_g = this.slug) === null || _g === void 0 ? void 0 : _g.includes('easter'), ember = (_h = this.season) === null || _h === void 0 ? void 0 : _h.includes('Ember');
134
+ 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')) || ((_d = this.slug) === null || _d === void 0 ? void 0 : _d.includes('palm-sunday')), ashWednesdayWeek = (_e = this.slug) === null || _e === void 0 ? void 0 : _e.includes('last-epiphany'), ascensionWeek = (_f = this.slug) === null || _f === void 0 ? void 0 : _f.includes('6th-easter'), easterWeek = this.slug == 'easter' || ((_g = this.week) === null || _g === void 0 ? void 0 : _g.slug) == 'easter', ember = (_h = this.season) === null || _h === void 0 ? void 0 : _h.includes('Ember');
135
135
  return isSunday || (hasRank && !holyWeek && !easterWeek && !ashWednesdayWeek && !ascensionWeek && !ember);
136
136
  }
137
137
  }
@@ -1,4 +1,4 @@
1
- import { L as LiturgicalDocument } from './book-4795ea34.js';
1
+ import { L as LiturgicalDocument } from './book-30d463e4.js';
2
2
 
3
3
  const STYLES = ['text', 'day', 'date'];
4
4
  class Heading extends LiturgicalDocument {
@@ -1,4 +1,4 @@
1
- import { L as LiturgicalDocument } from './book-4795ea34.js';
1
+ import { L as LiturgicalDocument } from './book-30d463e4.js';
2
2
 
3
3
  const STYLES = ['normal', 'slideshow', 'carousel'];
4
4
  /** Refrain represents a short text like the Gloria Patri, Hail Mary, or an Antiphon */
@@ -7,7 +7,7 @@ import { g as getScrollElement, f as findIonContent, p as printIonContentErrorMs
7
7
  import { c as chevronForward, a as arrowBackSharp, b as closeCircle, d as closeSharp, s as searchOutline, e as searchSharp } from './index-f258b2dd.js';
8
8
  import { p as printIonError } from './index-ac6e5d74.js';
9
9
  import { p as popoverController } from './overlays-59377e10.js';
10
- import './book-4795ea34.js';
10
+ import './book-30d463e4.js';
11
11
  import { C as Change } from './change-ea574d32.js';
12
12
  import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
13
13
  import './hardware-back-button-fa04d6e9.js';
@@ -2,8 +2,8 @@ import { r as registerInstance, h, H as Host, f as forceUpdate, c as createEvent
2
2
  import { g as getIonMode } from './ionic-global-24253941.js';
3
3
  import { c as createColorClasses } from './theme-7ef00c83.js';
4
4
  import { f as alertController } from './overlays-59377e10.js';
5
- import './book-4795ea34.js';
6
- import { R as Refrain } from './refrain-984f9410.js';
5
+ import './book-30d463e4.js';
6
+ import { R as Refrain } from './refrain-7bd7ce8a.js';
7
7
  import { C as Change } from './change-ea574d32.js';
8
8
  import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
9
9
  import './hardware-back-button-fa04d6e9.js';
@@ -3,7 +3,7 @@ import { g as getIonMode } from './ionic-global-24253941.js';
3
3
  import { d as debounceEvent, i as inheritAriaAttributes, j as inheritAttributes, p as findItemLabel } from './helpers-af86adf0.js';
4
4
  import { c as createColorClasses } from './theme-7ef00c83.js';
5
5
  import { D as Debounce } from './index-f08f6130.js';
6
- import './book-4795ea34.js';
6
+ import './book-30d463e4.js';
7
7
  import { C as Cursor } from './cursor-0e47f111.js';
8
8
  import { C as Change } from './change-ea574d32.js';
9
9
  import { c as createCommonjsModule } from './_commonjsHelpers-ba3f0406.js';
@@ -4,15 +4,15 @@ import { q as pointerCoord, b as addEventListener, e as removeEventListener } fr
4
4
  import { i as isRTL } from './dir-03012648.js';
5
5
  import { c as createColorClasses, h as hostContext } from './theme-7ef00c83.js';
6
6
  import { f as alertController, l as loadingController, m as modalController, t as toastController } from './overlays-59377e10.js';
7
- import { R as Responsive, L as LiturgicalDocument, d as dateFromYMDString } from './book-4795ea34.js';
8
- import { B as BibleReading, L as Liturgy, M as Meditation, P as Psalm, R as ResponsivePrayer, a as Rubric } from './rubric-5c072ba1.js';
9
- import { H as Heading } from './heading-dedd87c7.js';
10
- import { v as versionToString, O as Option } from './option-4e49f550.js';
7
+ import { R as Responsive, L as LiturgicalDocument, d as dateFromYMDString } from './book-30d463e4.js';
8
+ import { B as BibleReading, L as Liturgy, M as Meditation, P as Psalm, R as ResponsivePrayer, a as Rubric } from './rubric-3418353f.js';
9
+ import { H as Heading } from './heading-3148493f.js';
10
+ import { v as versionToString, O as Option } from './option-6f3f65cd.js';
11
11
  import { C as Change } from './change-ea574d32.js';
12
12
  import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
13
- import { I as Image } from './image-374f5ed7.js';
13
+ import { I as Image } from './image-72083f34.js';
14
14
  import { D as Debounce } from './index-f08f6130.js';
15
- import { R as Refrain } from './refrain-984f9410.js';
15
+ import { R as Refrain } from './refrain-7bd7ce8a.js';
16
16
  import './hardware-back-button-fa04d6e9.js';
17
17
  import './_commonjsHelpers-ba3f0406.js';
18
18
 
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement, c as createEvent } from './index-034add74.js';
2
- import { a as LiturgicalDay, d as dateFromYMDString } from './book-4795ea34.js';
3
- import { T as Text } from './text-2ec5b6b3.js';
2
+ import { a as LiturgicalDay, d as dateFromYMDString } from './book-30d463e4.js';
3
+ import { T as Text } from './text-8a1f3c31.js';
4
4
  import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
5
- import { H as Heading } from './heading-dedd87c7.js';
5
+ import { H as Heading } from './heading-3148493f.js';
6
6
  import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-ba3f0406.js';
7
7
  import { m as modalController } from './overlays-59377e10.js';
8
8
  import './ionic-global-24253941.js';
@@ -650,9 +650,9 @@ const StringComponent = class {
650
650
  if (firstChunk) {
651
651
  const splitTest = (firstChunk || '').split(/[\s.!?\\]/);
652
652
  const firstWord = splitTest ? splitTest[0] : '', re = firstWord.length > 2
653
- ? /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*)/
654
- : /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*[\s.!?]*[\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/, reIncludingPunctuation = ((_a = firstWord[0]) === null || _a === void 0 ? void 0 : _a.match(/[\"\'“”‘’¡\!\?¿\[\]\(\)]/))
655
- ? /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff]{2})\s*([\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/
653
+ ? /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff])([\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff\,]*)/
654
+ : /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff])([\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff\,]*[\s.!?]*[\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff]*)/, reIncludingPunctuation = ((_a = firstWord[0]) === null || _a === void 0 ? void 0 : _a.match(/[\"\'“”‘’¡\!\?¿\[\]\(\)]/))
655
+ ? /^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff]{2})\s*([\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff]*)/
656
656
  : re, buffer = firstWord.length == 1, split = firstChunk.split(reIncludingPunctuation).filter(s => s !== ''), [match1, match2, nextWord] = split;
657
657
  final = new Array(h("span", { class: 'firstword' }, h("span", { class: buffer ? `drop buffered-drop drop-${match1}` : `drop drop-${match1}` }, match1), this.maintainCasing(match2) ? match2 : match2 === null || match2 === void 0 ? void 0 : match2.toLowerCase()))
658
658
  .concat(nextWord)
@@ -5800,7 +5800,7 @@ const TextComponent = class {
5800
5800
  }
5801
5801
  }
5802
5802
  truncate(s, last = false, words = 20) {
5803
- const keepPieces = words * 2, split = s.split(/([^\w])/g);
5803
+ const keepPieces = words * 2, split = s.split(/([^\w\u00c0-\u017f])/g);
5804
5804
  if (!last) {
5805
5805
  return split.slice(0, keepPieces).concat('...').join("");
5806
5806
  }
@@ -5836,7 +5836,7 @@ const TextComponent = class {
5836
5836
  ? (((_f = this.obj) === null || _f === void 0 ? void 0 : _f.value) || []).map(s => s.replace(/\s+/g, ' '))
5837
5837
  : (((_g = this.obj) === null || _g === void 0 ? void 0 : _g.value) || []);
5838
5838
  let compiledValue = value.map(s => {
5839
- return s.split(/([\*\w\n\s,:;\.\-–—'“☩✠”‘’\!\?”\[\]\%\(\)\/\u0041-\u024F\u1400-\u167f\u0e00-\u0e5b]+([^\*\w\n\s,;:\.'“”☩✠‘’”\-–—\!\?\[\]\%\(\)\/\u0041-\u024F\u1400-\u167f\u0e00-\u0e5b]))/g);
5839
+ return s.split(/([\*\w\u00c0-\u017f\n\s,:;\.\-–—'“☩✠”‘’\!\?”\[\]\%\(\)\/\u0041-\u024F\u1400-\u167f\u0e00-\u0e5b]+([^\*\w\u00c0-\u017f\n\s,;:\.'“”☩✠‘’”\-–—\!\?\[\]\%\(\)\/\u0041-\u024F\u1400-\u167f\u0e00-\u0e5b]))/g);
5840
5840
  });
5841
5841
  if (!this.editable && ((_h = this.obj) === null || _h === void 0 ? void 0 : _h.display_format) === 'abbreviated') {
5842
5842
  const firstSection = compiledValue[0], lastSection = compiledValue[compiledValue.length - 1];
@@ -1,11 +1,11 @@
1
1
  import { h, r as registerInstance, c as createEvent, H as Host, d as getElement } from './index-034add74.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';
2
+ import { L as LiturgicalDocument } from './book-30d463e4.js';
3
+ import { B as BibleReading, P as Psalm, L as Liturgy$1, M as Meditation, R as ResponsivePrayer, a as Rubric } from './rubric-3418353f.js';
4
+ import { H as Heading } from './heading-3148493f.js';
5
+ import { I as Image } from './image-72083f34.js';
6
+ import { O as Option } from './option-6f3f65cd.js';
7
+ import { R as Refrain } from './refrain-7bd7ce8a.js';
8
+ import { T as Text } from './text-8a1f3c31.js';
9
9
  import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
10
10
 
11
11
  const MENU = [
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, d as getElement } from './index-034add74.js';
2
- import './book-4795ea34.js';
2
+ import './book-30d463e4.js';
3
3
  import { C as Change } from './change-ea574d32.js';
4
4
  import { f as alertController } from './overlays-59377e10.js';
5
5
  import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
@@ -1,5 +1,5 @@
1
1
  import { h, r as registerInstance, c as createEvent, H as Host, d as getElement } from './index-034add74.js';
2
- import { C as Condition } from './book-4795ea34.js';
2
+ import { C as Condition } from './book-30d463e4.js';
3
3
  import { C as Change } from './change-ea574d32.js';
4
4
  import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-034add74.js';
2
- import { C as Condition } from './book-4795ea34.js';
2
+ import { C as Condition } from './book-30d463e4.js';
3
3
  import { C as Change } from './change-ea574d32.js';
4
4
  import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-034add74.js';
2
- import { L as LiturgicalDocument } from './book-4795ea34.js';
3
- import { v as versionToString, O as Option } from './option-4e49f550.js';
2
+ import { L as LiturgicalDocument } from './book-30d463e4.js';
3
+ import { v as versionToString, O as Option } from './option-6f3f65cd.js';
4
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 */
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-034add74.js';
2
- import { L as LiturgicalDocument } from './book-4795ea34.js';
2
+ import { L as LiturgicalDocument } from './book-30d463e4.js';
3
3
  import { C as Change } from './change-ea574d32.js';
4
- import { v as versionToString } from './option-4e49f550.js';
5
- import { s as specificClass } from './specific-class-23168094.js';
4
+ import { v as versionToString } from './option-6f3f65cd.js';
5
+ import { s as specificClass } from './specific-class-eeefc413.js';
6
6
  import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
7
- import './rubric-5c072ba1.js';
8
- import './heading-dedd87c7.js';
9
- import './refrain-984f9410.js';
10
- import './text-2ec5b6b3.js';
7
+ import './rubric-3418353f.js';
8
+ import './heading-3148493f.js';
9
+ import './refrain-7bd7ce8a.js';
10
+ import './text-8a1f3c31.js';
11
11
 
12
12
  const LOCALE_STRINGS = {
13
13
  "allowMultiple": "Allow multiple options",
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-034add74.js';
2
- import { L as LiturgicalDocument } from './book-4795ea34.js';
2
+ import { L as LiturgicalDocument } from './book-30d463e4.js';
3
3
  import { C as Change } from './change-ea574d32.js';
4
- import { s as specificClass } from './specific-class-23168094.js';
4
+ import { s as specificClass } from './specific-class-eeefc413.js';
5
5
  import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
6
- import './rubric-5c072ba1.js';
7
- import './heading-dedd87c7.js';
8
- import './option-4e49f550.js';
9
- import './refrain-984f9410.js';
10
- import './text-2ec5b6b3.js';
6
+ import './rubric-3418353f.js';
7
+ import './heading-3148493f.js';
8
+ import './option-6f3f65cd.js';
9
+ import './refrain-7bd7ce8a.js';
10
+ import './text-8a1f3c31.js';
11
11
 
12
12
  const abbreviated = "Abbreviated";
13
13
  const advanced = "Advanced Settings";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-034add74.js';
2
- import './book-4795ea34.js';
2
+ import './book-30d463e4.js';
3
3
  import { a as PreferenceOption } from './preference-d070d4cb.js';
4
4
  import { C as Change } from './change-ea574d32.js';
5
5
  import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-034add74.js';
2
- import './book-4795ea34.js';
2
+ import './book-30d463e4.js';
3
3
  import { P as Preference, a as PreferenceOption } from './preference-d070d4cb.js';
4
4
  import { C as Change } from './change-ea574d32.js';
5
5
  import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
@@ -1,6 +1,6 @@
1
1
  import { h, r as registerInstance, c as createEvent, H as Host, d as getElement } from './index-034add74.js';
2
2
  import { f as alertController } from './overlays-59377e10.js';
3
- import './book-4795ea34.js';
3
+ import './book-30d463e4.js';
4
4
  import { P as Preference } from './preference-d070d4cb.js';
5
5
  import { C as Change } from './change-ea574d32.js';
6
6
  import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, d as getElement } from './index-034add74.js';
2
- import './book-4795ea34.js';
2
+ import './book-30d463e4.js';
3
3
  import { C as Change } from './change-ea574d32.js';
4
4
  import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-034add74.js';
2
- import { L as LiturgicalDocument } from './book-4795ea34.js';
2
+ import { L as LiturgicalDocument } from './book-30d463e4.js';
3
3
  import { C as Cursor } from './cursor-0e47f111.js';
4
4
  import { C as Change } from './change-ea574d32.js';
5
5
  import { e as elementFromPath, q as querySelectorDeep, v as values_js } from './index-1bf6d100.js';
@@ -1,4 +1,4 @@
1
- import { L as LiturgicalDocument } from './book-4795ea34.js';
1
+ import { L as LiturgicalDocument } from './book-30d463e4.js';
2
2
 
3
3
  function versionToString(version) {
4
4
  if (typeof version === 'string') {
@@ -1,4 +1,4 @@
1
- import { L as LiturgicalDocument } from './book-4795ea34.js';
1
+ import { L as LiturgicalDocument } from './book-30d463e4.js';
2
2
 
3
3
  const STYLES = ['normal', 'antiphon', 'gloria'];
4
4
  /** Refrain represents a short text like the Gloria Patri, Hail Mary, or an Antiphon */