@venite/components 0.16.16 → 0.16.20

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 (125) hide show
  1. package/dist/cjs/{change-cdb1e8c0.js → change-deff223a.js} +0 -0
  2. package/dist/cjs/{cursor-81bfd01e.js → cursor-849a5372.js} +0 -0
  3. package/dist/cjs/{heading-5afc2b24.js → heading-fae3ce98.js} +2 -2
  4. package/dist/cjs/{image-3bee3e73.js → image-41000c7b.js} +2 -2
  5. package/dist/cjs/{book-1a92678a.js → index-c9b940c7.js} +96 -2
  6. package/dist/cjs/ion-button_13.cjs.entry.js +3 -2
  7. package/dist/cjs/ion-card-content_6.cjs.entry.js +4 -3
  8. package/dist/cjs/ion-checkbox_3.cjs.entry.js +3 -2
  9. package/dist/cjs/ion-input_2.cjs.entry.js +3 -3
  10. package/dist/cjs/ion-segment_16.cjs.entry.js +20 -20
  11. package/dist/cjs/ldf-day-name_5.cjs.entry.js +93 -79
  12. package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +10 -9
  13. package/dist/cjs/ldf-editable-condition-piece.cjs.entry.js +7 -6
  14. package/dist/cjs/ldf-editable-condition.cjs.entry.js +5 -4
  15. package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +11 -10
  16. package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +10 -9
  17. package/dist/cjs/ldf-editable-metadata.cjs.entry.js +11 -10
  18. package/dist/cjs/ldf-editable-preference-option.cjs.entry.js +4 -3
  19. package/dist/cjs/ldf-editable-preference.cjs.entry.js +4 -3
  20. package/dist/cjs/ldf-editable-preferences.cjs.entry.js +4 -3
  21. package/dist/cjs/ldf-editable-string-list.cjs.entry.js +3 -2
  22. package/dist/cjs/ldf-editor.cjs.entry.js +14 -14
  23. package/dist/cjs/ldf.cjs.js +1 -1
  24. package/dist/cjs/loader.cjs.js +1 -1
  25. package/dist/cjs/{option-a078d432.js → option-6fb78f5c.js} +5 -17
  26. package/dist/cjs/{preference-a4bd51c4.js → preference-1365e161.js} +0 -0
  27. package/dist/cjs/{refrain-91fb446b.js → refrain-f51fd88d.js} +2 -2
  28. package/dist/cjs/{rubric-586cf42b.js → rubric-ad2f926f.js} +15 -170
  29. package/dist/cjs/{specific-class-35eb52b1.js → specific-class-071762e7.js} +5 -5
  30. package/dist/cjs/{text-5edb80f3.js → text-8d8d32e7.js} +2 -2
  31. package/dist/collection/components/string/dist/string.js +2 -2
  32. package/dist/collection/components/string/string.js +3 -3
  33. package/dist/collection/components/text/dist/text.js +43 -16
  34. package/dist/collection/components/text/text.css +14 -1
  35. package/dist/collection/components/text/text.i18n.en.json +2 -1
  36. package/dist/collection/components/text/text.i18n.es.json +2 -1
  37. package/dist/collection/components/text/text.js +71 -19
  38. package/dist/collection/i18n/text.i18n.en.json +2 -1
  39. package/dist/collection/i18n/text.i18n.es.json +2 -1
  40. package/dist/esm/{change-ea574d32.js → change-b077b77c.js} +0 -0
  41. package/dist/esm/{cursor-0e47f111.js → cursor-cb97384b.js} +0 -0
  42. package/dist/esm/{heading-cc5ffa8a.js → heading-c03fbe8b.js} +1 -1
  43. package/dist/esm/{image-c6a3f0c5.js → image-a1336f0a.js} +1 -1
  44. package/dist/esm/{book-31b8cdde.js → index-2e220677.js} +96 -2
  45. package/dist/esm/ion-button_13.entry.js +3 -2
  46. package/dist/esm/ion-card-content_6.entry.js +4 -3
  47. package/dist/esm/ion-checkbox_3.entry.js +3 -2
  48. package/dist/esm/ion-input_2.entry.js +3 -3
  49. package/dist/esm/ion-segment_16.entry.js +7 -7
  50. package/dist/esm/ldf-day-name_5.entry.js +34 -20
  51. package/dist/esm/ldf-editable-add-block-menu.entry.js +8 -7
  52. package/dist/esm/ldf-editable-condition-piece.entry.js +3 -2
  53. package/dist/esm/ldf-editable-condition.entry.js +3 -2
  54. package/dist/esm/ldf-editable-filter-documents.entry.js +3 -2
  55. package/dist/esm/ldf-editable-lookup_2.entry.js +9 -8
  56. package/dist/esm/ldf-editable-metadata.entry.js +9 -8
  57. package/dist/esm/ldf-editable-preference-option.entry.js +4 -3
  58. package/dist/esm/ldf-editable-preference.entry.js +4 -3
  59. package/dist/esm/ldf-editable-preferences.entry.js +4 -3
  60. package/dist/esm/ldf-editable-string-list.entry.js +3 -2
  61. package/dist/esm/ldf-editor.entry.js +3 -3
  62. package/dist/esm/ldf.js +1 -1
  63. package/dist/esm/loader.js +1 -1
  64. package/dist/esm/{option-c16af13a.js → option-e130a4b2.js} +4 -16
  65. package/dist/esm/{preference-d070d4cb.js → preference-60cdfde3.js} +0 -0
  66. package/dist/esm/{refrain-75a412cb.js → refrain-9b9f05cc.js} +1 -1
  67. package/dist/esm/{rubric-54f45eb5.js → rubric-0d2b870d.js} +8 -163
  68. package/dist/esm/{specific-class-4cec1eaf.js → specific-class-3f0e0c45.js} +5 -5
  69. package/dist/esm/{text-ed75fbd4.js → text-801eb7de.js} +1 -1
  70. package/dist/ldf/i18n/text.i18n.en.json +2 -1
  71. package/dist/ldf/i18n/text.i18n.es.json +2 -1
  72. package/dist/ldf/ldf.esm.js +1 -1
  73. package/dist/ldf/{p-3c7997be.entry.js → p-05ac8045.entry.js} +1 -1
  74. package/dist/ldf/{p-23af1bc3.entry.js → p-0d9b71a8.entry.js} +1 -1
  75. package/dist/ldf/{p-8ec26587.js → p-12d81208.js} +0 -0
  76. package/dist/ldf/{p-991c0877.js → p-2a08ff25.js} +0 -0
  77. package/dist/ldf/p-31a1f740.js +1 -0
  78. package/dist/ldf/p-34e37c39.entry.js +1 -0
  79. package/dist/ldf/p-37d9f551.entry.js +1 -0
  80. package/dist/ldf/p-3a7cb4d5.entry.js +1 -0
  81. package/dist/ldf/p-3e0814c2.entry.js +1 -0
  82. package/dist/ldf/p-405928d1.js +1 -0
  83. package/dist/ldf/p-4ed034a1.js +1 -0
  84. package/dist/ldf/p-5eef960d.entry.js +1 -0
  85. package/dist/ldf/p-67c52455.entry.js +1 -0
  86. package/dist/ldf/p-69d493f3.entry.js +1 -0
  87. package/dist/ldf/{p-5066eaa5.js → p-6a68fa7b.js} +0 -0
  88. package/dist/ldf/p-80f6ec9f.js +1 -0
  89. package/dist/ldf/p-82f2facb.entry.js +1 -0
  90. package/dist/ldf/{p-5b43e6be.js → p-93911ad1.js} +1 -1
  91. package/dist/ldf/p-9424ca03.entry.js +1 -0
  92. package/dist/ldf/p-952f8992.entry.js +1 -0
  93. package/dist/ldf/p-9b008ca8.entry.js +1 -0
  94. package/dist/ldf/p-a712728b.js +1 -0
  95. package/dist/ldf/p-b3b245a2.entry.js +1 -0
  96. package/dist/ldf/p-bc84c531.entry.js +1 -0
  97. package/dist/ldf/p-be6c5df8.entry.js +1 -0
  98. package/dist/ldf/p-c02098e2.entry.js +1 -0
  99. package/dist/ldf/p-cec60628.js +1 -0
  100. package/dist/ldf/p-ff0452c1.js +3 -0
  101. package/dist/types/components/text/text.d.ts +4 -0
  102. package/dist/types/components.d.ts +5 -0
  103. package/package.json +2 -2
  104. package/dist/ldf/p-03afc8cb.entry.js +0 -1
  105. package/dist/ldf/p-1e137d0e.entry.js +0 -1
  106. package/dist/ldf/p-2ae548b3.entry.js +0 -1
  107. package/dist/ldf/p-304a2bdb.entry.js +0 -1
  108. package/dist/ldf/p-3f8ef67b.entry.js +0 -1
  109. package/dist/ldf/p-476327d6.js +0 -1
  110. package/dist/ldf/p-4aa9a6f2.js +0 -1
  111. package/dist/ldf/p-594fa9d4.entry.js +0 -1
  112. package/dist/ldf/p-65563763.entry.js +0 -1
  113. package/dist/ldf/p-65d26c45.js +0 -1
  114. package/dist/ldf/p-65ea7ab3.entry.js +0 -1
  115. package/dist/ldf/p-800a115c.entry.js +0 -1
  116. package/dist/ldf/p-883425cd.js +0 -3
  117. package/dist/ldf/p-9c1973a6.entry.js +0 -1
  118. package/dist/ldf/p-9ea7c254.js +0 -1
  119. package/dist/ldf/p-a1729dbd.js +0 -1
  120. package/dist/ldf/p-aea3213d.entry.js +0 -1
  121. package/dist/ldf/p-d324dc19.entry.js +0 -1
  122. package/dist/ldf/p-e4f0cd91.entry.js +0 -1
  123. package/dist/ldf/p-e7a449d7.js +0 -1
  124. package/dist/ldf/p-f0de7628.entry.js +0 -1
  125. package/dist/ldf/p-fa191f47.entry.js +0 -1
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const book = require('./book-1a92678a.js');
3
+ const index = require('./index-c9b940c7.js');
4
4
 
5
5
  const STYLES = ['text', 'day', 'date'];
6
- class Heading extends book.LiturgicalDocument {
6
+ class Heading extends index.LiturgicalDocument {
7
7
  //** Constructor takes a Javascript object containing the class's properties */
8
8
  constructor(data = {}) {
9
9
  super(data);
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- const book = require('./book-1a92678a.js');
3
+ const index = require('./index-c9b940c7.js');
4
4
 
5
5
  const STYLES = ['normal', 'slideshow', 'carousel'];
6
6
  /** Refrain represents a short text like the Gloria Patri, Hail Mary, or an Antiphon */
7
- class Image extends book.LiturgicalDocument {
7
+ class Image extends index.LiturgicalDocument {
8
8
  //** Constructor takes a Javascript object containing the class's properties */
9
9
  constructor(data = {}) {
10
10
  super(data);
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ const _commonjsHelpers = require('./_commonjsHelpers-bcc1208a.js');
4
+
3
5
  // strip away everything but year, month, day
4
6
  function dateOnly(d) {
5
7
  d.setHours(0);
@@ -142,14 +144,17 @@ const TYPES = [
142
144
  'psalm',
143
145
  'meditation',
144
146
  'image',
145
- 'parallel',
146
147
  ];
147
148
  const LOOKUP_TYPES = ['lectionary', 'canticle', 'category', 'slug', 'collect'];
148
- const DISPLAY_FORMATS = ['default', 'omit', 'unison', 'abbreviated', 'force_dropcap'];
149
+ const DISPLAY_FORMATS = ['default', 'omit', 'unison', 'abbreviated'];
149
150
  /** Represents a liturgy of any scope and concreteness, from a complete bullletin to a single prayer. */
150
151
  class LiturgicalDocument {
151
152
  //** Constructor takes a Javascript object containing the class's properties */
152
153
  constructor(data = {}) {
154
+ /** Marks a document hidden, so it will not display but will not be deleted
155
+ * Typically used to a hide a subdocument within a larger liturgy without removing it entirely from the structure,
156
+ * making it easier to restore or toggle on and off */
157
+ this.hidden = false;
153
158
  Object.assign(this, data);
154
159
  }
155
160
  /** Evaluates the full set of conditions attached to the document and returns a boolean of whether it should be included
@@ -281,6 +286,95 @@ var Book;
281
286
  Book["Bel"] = "Bel";
282
287
  })(Book || (Book = {}));
283
288
 
289
+ _commonjsHelpers.createCommonjsModule(function (module, exports) {
290
+ // Reference: https://www.geeksforgeeks.org/jaro-and-jaro-winkler-similarity/
291
+ Object.defineProperty(exports, "__esModule", { value: true });
292
+ exports.jaroWinkler = exports.jaro = void 0;
293
+ /**
294
+ *
295
+ * @param str1 String 1 for compare
296
+ * @param str2 String 2 for compare
297
+ * @param options to control case sensitive or not
298
+ */
299
+ function jaro(str1, str2, options) {
300
+ // Exit early if either are empty.
301
+ if (str1.length === 0 || str2.length === 0) {
302
+ return 0;
303
+ }
304
+ // Convert to upper if case-sensitive is false.
305
+ if (options && !options.caseSensitive) {
306
+ str1 = str1.toUpperCase();
307
+ str2 = str2.toUpperCase();
308
+ }
309
+ // Exact match
310
+ if (str1 === str2) {
311
+ return 1;
312
+ }
313
+ // Number of matches
314
+ var m = 0;
315
+ // Length of two Strings
316
+ var len1 = str1.length;
317
+ var len2 = str2.length;
318
+ // Maximum distance
319
+ var window = Math.floor(Math.max(len1, len2) / 2) - 1;
320
+ // Hash for matches
321
+ var str1Hash = new Array(len1);
322
+ var str2Hash = new Array(len2);
323
+ for (var i = 0; i < len1; i++) {
324
+ for (var j = Math.max(0, i - window); j <= Math.min(len2, i + window + 1); j++) {
325
+ if (!str1Hash[i] && !str2Hash[j] && str1[i] === str2[j]) {
326
+ ++m;
327
+ str1Hash[i] = str2Hash[j] = true;
328
+ break;
329
+ }
330
+ }
331
+ }
332
+ // Exit early if no matches were found.
333
+ if (m === 0) {
334
+ return 0;
335
+ }
336
+ // Count the transpositions.
337
+ var t = 0;
338
+ var point = 0;
339
+ for (var i = 0; i < len1; i++) {
340
+ if (str1Hash[i]) {
341
+ while (!str2Hash[point]) {
342
+ point++;
343
+ }
344
+ if (str1.charAt(i) !== str2.charAt(point++)) {
345
+ t++;
346
+ }
347
+ }
348
+ }
349
+ t /= 2;
350
+ return (m / len1 + m / len2 + (m - t) / m) / 3;
351
+ }
352
+ exports.jaro = jaro;
353
+ /**
354
+ *
355
+ * @param str1 String 1 for compare
356
+ * @param str2 String 2 for compare
357
+ * @param options to control case sensitive or not
358
+ */
359
+ function jaroWinkler(str1, str2, options) {
360
+ // Jaro Distance
361
+ var jaroDist = jaro(str1, str2, options);
362
+ // Same prefix length, maxium is 4
363
+ var prefix = 0;
364
+ if (jaroDist > 0.7) {
365
+ var minIndex = Math.min(str1.length, str2.length);
366
+ var i = 0;
367
+ while (str1[i] === str2[i] && i < 4 && i < minIndex) {
368
+ ++prefix;
369
+ i++;
370
+ }
371
+ jaroDist += 0.1 * prefix * (1 - jaroDist);
372
+ }
373
+ return jaroDist;
374
+ }
375
+ exports.jaroWinkler = jaroWinkler;
376
+ });
377
+
284
378
  exports.Condition = Condition;
285
379
  exports.LiturgicalDocument = LiturgicalDocument;
286
380
  exports.dateFromYMDString = dateFromYMDString;
@@ -7,10 +7,11 @@ const ionicGlobal = require('./ionic-global-581fb4f8.js');
7
7
  const helpers = require('./helpers-41dfb43a.js');
8
8
  const theme = require('./theme-81caa5b0.js');
9
9
  const overlays = require('./overlays-eb464d6d.js');
10
- require('./book-1a92678a.js');
11
- const change = require('./change-cdb1e8c0.js');
10
+ require('./index-c9b940c7.js');
11
+ const change = require('./change-deff223a.js');
12
12
  const locale = require('./locale-d4e925b1.js');
13
13
  require('./hardware-back-button-8c2f48d2.js');
14
+ require('./_commonjsHelpers-bcc1208a.js');
14
15
 
15
16
  const buttonIosCss = ":host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;pointer-events:auto;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;display:block;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;display:block;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;box-sizing:border-box;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::-moz-focus-inner{border:0}.button-inner{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:10px;--padding-top:0;--padding-bottom:0;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:2.8em;font-size:16px;font-weight:500;letter-spacing:-0.03em}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:10px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:17px;font-weight:normal;letter-spacing:0}:host(.button-large){--border-radius:12px;--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--border-radius:6px;--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:hover),:host(.button-outline:hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native::after{background:#fff;opacity:0.1}}";
16
17
 
@@ -6,11 +6,12 @@ const index = require('./index-8fe0df8d.js');
6
6
  const ionicGlobal = require('./ionic-global-581fb4f8.js');
7
7
  const theme = require('./theme-81caa5b0.js');
8
8
  const overlays = require('./overlays-eb464d6d.js');
9
- require('./book-1a92678a.js');
10
- const refrain = require('./refrain-91fb446b.js');
11
- const change = require('./change-cdb1e8c0.js');
9
+ require('./index-c9b940c7.js');
10
+ const refrain = require('./refrain-f51fd88d.js');
11
+ const change = require('./change-deff223a.js');
12
12
  const locale = require('./locale-d4e925b1.js');
13
13
  require('./hardware-back-button-8c2f48d2.js');
14
+ require('./_commonjsHelpers-bcc1208a.js');
14
15
 
15
16
  const cardContentIosCss = "ion-card-content{display:block;position:relative}.card-content-ios{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:20px;font-size:16px;line-height:1.4}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.card-content-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px}ion-card-header+.card-content-ios{padding-top:0}";
16
17
 
@@ -6,10 +6,11 @@ const index = require('./index-8fe0df8d.js');
6
6
  const ionicGlobal = require('./ionic-global-581fb4f8.js');
7
7
  const helpers = require('./helpers-41dfb43a.js');
8
8
  const theme = require('./theme-81caa5b0.js');
9
- require('./book-1a92678a.js');
10
- const change = require('./change-cdb1e8c0.js');
9
+ require('./index-c9b940c7.js');
10
+ const change = require('./change-deff223a.js');
11
11
  const overlays = require('./overlays-eb464d6d.js');
12
12
  const locale = require('./locale-d4e925b1.js');
13
+ require('./_commonjsHelpers-bcc1208a.js');
13
14
  require('./hardware-back-button-8c2f48d2.js');
14
15
 
15
16
  const checkboxIosCss = ":host{--background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;user-select:none;z-index:2}:host(.ion-color){--background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}button{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;appearance:none;outline:none}[dir=rtl] button,:host-context([dir=rtl]) button{left:unset;right:unset;right:0}button::-moz-focus-inner{border:0}.checkbox-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:1px;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--background:var(--ion-item-background, var(--ion-background-color, #fff));--size:26px;width:var(--size);height:var(--size)}:host(.checkbox-disabled){opacity:0.3}:host(.in-item){margin-left:0;margin-right:8px;margin-top:10px;margin-bottom:9px;display:block;position:static}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}:host(.in-item[slot=start]){margin-left:2px;margin-right:20px;margin-top:8px;margin-bottom:8px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:20px;margin-inline-end:20px}}";
@@ -7,9 +7,9 @@ const ionicGlobal = require('./ionic-global-581fb4f8.js');
7
7
  const helpers = require('./helpers-41dfb43a.js');
8
8
  const theme = require('./theme-81caa5b0.js');
9
9
  const index$1 = require('./index-7aa21373.js');
10
- require('./book-1a92678a.js');
11
- const cursor = require('./cursor-81bfd01e.js');
12
- const change = require('./change-cdb1e8c0.js');
10
+ require('./index-c9b940c7.js');
11
+ const cursor = require('./cursor-849a5372.js');
12
+ const change = require('./change-deff223a.js');
13
13
  const _commonjsHelpers = require('./_commonjsHelpers-bcc1208a.js');
14
14
  const locale = require('./locale-d4e925b1.js');
15
15
 
@@ -7,15 +7,15 @@ const ionicGlobal = require('./ionic-global-581fb4f8.js');
7
7
  const helpers = require('./helpers-41dfb43a.js');
8
8
  const theme = require('./theme-81caa5b0.js');
9
9
  const overlays = require('./overlays-eb464d6d.js');
10
- const book$1 = require('./book-1a92678a.js');
11
- const rubric = require('./rubric-586cf42b.js');
12
- const heading$1 = require('./heading-5afc2b24.js');
13
- const option$1 = require('./option-a078d432.js');
14
- const change = require('./change-cdb1e8c0.js');
10
+ const index$1 = require('./index-c9b940c7.js');
11
+ const rubric = require('./rubric-ad2f926f.js');
12
+ const heading$1 = require('./heading-fae3ce98.js');
13
+ const option$1 = require('./option-6fb78f5c.js');
14
+ const change = require('./change-deff223a.js');
15
15
  const locale = require('./locale-d4e925b1.js');
16
- const image = require('./image-3bee3e73.js');
17
- const index$1 = require('./index-7aa21373.js');
18
- const refrain = require('./refrain-91fb446b.js');
16
+ const image = require('./image-41000c7b.js');
17
+ const index$2 = require('./index-7aa21373.js');
18
+ const refrain = require('./refrain-f51fd88d.js');
19
19
  require('./hardware-back-button-8c2f48d2.js');
20
20
  require('./_commonjsHelpers-bcc1208a.js');
21
21
 
@@ -802,19 +802,19 @@ const EditableMetadataButtonsComponent = class {
802
802
  {
803
803
  name: 'value',
804
804
  type: 'radio',
805
- value: book$1.Responsive.AllSizes,
805
+ value: index$1.Responsive.AllSizes,
806
806
  label: this.localeStrings.responsiveAll
807
807
  },
808
808
  {
809
809
  name: 'value',
810
810
  type: 'radio',
811
- value: book$1.Responsive.SmallOnly,
811
+ value: index$1.Responsive.SmallOnly,
812
812
  label: this.localeStrings.responsiveSmallOnly
813
813
  },
814
814
  {
815
815
  name: 'value',
816
816
  type: 'radio',
817
- value: book$1.Responsive.SmallHidden,
817
+ value: index$1.Responsive.SmallHidden,
818
818
  label: this.localeStrings.responsiveSmallHidden
819
819
  }
820
820
  ],
@@ -1170,7 +1170,7 @@ const ImageComponent = class {
1170
1170
  }; }
1171
1171
  };
1172
1172
  __decorate([
1173
- index$1.Debounce(250)
1173
+ index$2.Debounce(250)
1174
1174
  ], ImageComponent.prototype, "updateDoc", null);
1175
1175
  ImageComponent.style = imageCss;
1176
1176
 
@@ -1446,17 +1446,17 @@ const LiturgicalDocumentComponent = class {
1446
1446
  let provisionalObj;
1447
1447
  try {
1448
1448
  if (typeof newDoc == 'string') {
1449
- provisionalObj = new book$1.LiturgicalDocument(JSON.parse(newDoc));
1449
+ provisionalObj = new index$1.LiturgicalDocument(JSON.parse(newDoc));
1450
1450
  }
1451
1451
  else {
1452
- provisionalObj = new book$1.LiturgicalDocument(newDoc);
1452
+ provisionalObj = new index$1.LiturgicalDocument(newDoc);
1453
1453
  }
1454
1454
  }
1455
1455
  catch (e) {
1456
1456
  console.warn(e);
1457
- provisionalObj = new book$1.LiturgicalDocument();
1457
+ provisionalObj = new index$1.LiturgicalDocument();
1458
1458
  }
1459
- this.obj = provisionalObj || new book$1.LiturgicalDocument();
1459
+ this.obj = provisionalObj || new index$1.LiturgicalDocument();
1460
1460
  }
1461
1461
  // Listeners
1462
1462
  onDragOver() {
@@ -1616,9 +1616,9 @@ const LiturgicalDocumentComponent = class {
1616
1616
  return (node && index.h(index.Host, { lang: ((_a = this.obj) === null || _a === void 0 ? void 0 : _a.language) || 'en' }, index.h("div", { class: {
1617
1617
  container: true,
1618
1618
  editable: this.editable || this.preview,
1619
- "small-only": !this.editable && !this.preview && ((_b = this.obj) === null || _b === void 0 ? void 0 : _b.responsive) !== undefined && ((_c = this.obj) === null || _c === void 0 ? void 0 : _c.responsive) == book$1.Responsive.SmallOnly,
1620
- "small-hidden": !this.editable && !this.preview && ((_d = this.obj) === null || _d === void 0 ? void 0 : _d.responsive) !== undefined && ((_e = this.obj) === null || _e === void 0 ? void 0 : _e.responsive) == book$1.Responsive.SmallHidden,
1621
- } }, (this.editable || this.preview) && index.h("ldf-editable-metadata-buttons", { visible: this.hasFocus, base: this.base, index: this.index, obj: this.obj, parentType: this.parentType, preview: this.preview, onLdfTogglePreview: (e) => this.setPreview(e.detail), class: { 'top-level': ((_f = this.obj) === null || _f === void 0 ? void 0 : _f.type) === 'liturgy' || ((_g = this.obj) === null || _g === void 0 ? void 0 : _g.type) === 'option' } }), (this.editable || this.preview) && (((_h = this.obj) === null || _h === void 0 ? void 0 : _h.responsive) === book$1.Responsive.SmallHidden || ((_j = this.obj) === null || _j === void 0 ? void 0 : _j.responsive) === book$1.Responsive.SmallOnly) && index.h("ion-chip", { class: "responsive-banner" }, index.h("ion-icon", { name: "phone-portrait-outline" }), ((_k = this.obj) === null || _k === void 0 ? void 0 : _k.responsive) === book$1.Responsive.SmallOnly && index.h("ion-label", null, this.localeStrings.smallOnly), ((_l = this.obj) === null || _l === void 0 ? void 0 : _l.responsive) === book$1.Responsive.SmallHidden && index.h("ion-label", null, this.localeStrings.smallHidden)), index.h("div", { id: (this.path || '').replace(/\//g, '-'), class: {
1619
+ "small-only": !this.editable && !this.preview && ((_b = this.obj) === null || _b === void 0 ? void 0 : _b.responsive) !== undefined && ((_c = this.obj) === null || _c === void 0 ? void 0 : _c.responsive) == index$1.Responsive.SmallOnly,
1620
+ "small-hidden": !this.editable && !this.preview && ((_d = this.obj) === null || _d === void 0 ? void 0 : _d.responsive) !== undefined && ((_e = this.obj) === null || _e === void 0 ? void 0 : _e.responsive) == index$1.Responsive.SmallHidden,
1621
+ } }, (this.editable || this.preview) && index.h("ldf-editable-metadata-buttons", { visible: this.hasFocus, base: this.base, index: this.index, obj: this.obj, parentType: this.parentType, preview: this.preview, onLdfTogglePreview: (e) => this.setPreview(e.detail), class: { 'top-level': ((_f = this.obj) === null || _f === void 0 ? void 0 : _f.type) === 'liturgy' || ((_g = this.obj) === null || _g === void 0 ? void 0 : _g.type) === 'option' } }), (this.editable || this.preview) && (((_h = this.obj) === null || _h === void 0 ? void 0 : _h.responsive) === index$1.Responsive.SmallHidden || ((_j = this.obj) === null || _j === void 0 ? void 0 : _j.responsive) === index$1.Responsive.SmallOnly) && index.h("ion-chip", { class: "responsive-banner" }, index.h("ion-icon", { name: "phone-portrait-outline" }), ((_k = this.obj) === null || _k === void 0 ? void 0 : _k.responsive) === index$1.Responsive.SmallOnly && index.h("ion-label", null, this.localeStrings.smallOnly), ((_l = this.obj) === null || _l === void 0 ? void 0 : _l.responsive) === index$1.Responsive.SmallHidden && index.h("ion-label", null, this.localeStrings.smallHidden)), index.h("div", { id: (this.path || '').replace(/\//g, '-'), class: {
1622
1622
  doc: true,
1623
1623
  editable: this.editable || this.preview
1624
1624
  }, style: { padding: this.padding } }, node))));
@@ -2141,7 +2141,7 @@ const PsalmComponent = class {
2141
2141
  // antiphon is something like an O antiphon tree:
2142
2142
  // dates can be either MM/DD or MM-DD
2143
2143
  // { '12/23': '...', '12/24': '...' }
2144
- const date = this.obj.day ? book$1.dateFromYMDString((_b = (_a = this.obj) === null || _a === void 0 ? void 0 : _a.day) === null || _b === void 0 ? void 0 : _b.date) : new Date();
2144
+ const date = this.obj.day ? index$1.dateFromYMDString((_b = (_a = this.obj) === null || _a === void 0 ? void 0 : _a.day) === null || _b === void 0 ? void 0 : _b.date) : new Date();
2145
2145
  return this.antiphonNode(antiphon[`${date.getMonth() + 1}/${date.getDate()}`] || antiphon[`${date.getMonth() + 1}-${date.getDate()}`], true);
2146
2146
  }
2147
2147
  }