@venite/components 0.16.46 → 0.16.48
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.
- package/dist/cjs/{book-82e0876b.js → book-6d16fad3.js} +1 -1
- package/dist/cjs/dropcaps-baa79b2d.js +21 -0
- package/dist/cjs/{heading-b7872a4d.js → heading-dff0a6f9.js} +1 -1
- package/dist/cjs/{image-75040cd8.js → image-527d7134.js} +1 -1
- package/dist/cjs/ion-button_14.cjs.entry.js +1 -1
- package/dist/cjs/ion-card-content_6.cjs.entry.js +2 -2
- package/dist/cjs/ion-input_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_16.cjs.entry.js +18 -17
- package/dist/cjs/ldf-day-name_5.cjs.entry.js +9 -9
- package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +7 -7
- package/dist/cjs/ldf-editable-boolean_2.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-condition-piece.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-condition.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +7 -7
- package/dist/cjs/ldf-editable-metadata.cjs.entry.js +7 -7
- package/dist/cjs/ldf-editable-preference-option.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-preference.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-preferences.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-string-list.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editor.cjs.entry.js +1 -1
- package/dist/cjs/{option-d7f9785e.js → option-af060fb4.js} +1 -1
- package/dist/cjs/{refrain-dcde813a.js → refrain-f867e88b.js} +1 -1
- package/dist/cjs/{rubric-cd1436af.js → rubric-9851b9bb.js} +1 -1
- package/dist/cjs/{specific-class-c2579d35.js → specific-class-a4d1cc65.js} +5 -5
- package/dist/cjs/{text-d86d8916.js → text-9dd495bb.js} +1 -1
- package/dist/collection/components/bible-reading/bible-reading.js +5 -4
- package/dist/collection/components/psalm/psalm.js +2 -1
- package/dist/collection/components/responsive-prayer/responsive-prayer.js +8 -7
- package/dist/collection/components/text/text.css +0 -1
- package/dist/collection/components/text/text.js +6 -11
- package/dist/collection/utils/dropcaps.js +17 -0
- package/dist/esm/{book-30d463e4.js → book-ffb2b7c9.js} +1 -1
- package/dist/esm/dropcaps-9409f9e0.js +19 -0
- package/dist/esm/{heading-3148493f.js → heading-32b75b51.js} +1 -1
- package/dist/esm/{image-72083f34.js → image-b773ce41.js} +1 -1
- package/dist/esm/ion-button_14.entry.js +1 -1
- package/dist/esm/ion-card-content_6.entry.js +2 -2
- package/dist/esm/ion-input_2.entry.js +1 -1
- package/dist/esm/ion-segment_16.entry.js +18 -17
- package/dist/esm/ldf-day-name_5.entry.js +9 -9
- package/dist/esm/ldf-editable-add-block-menu.entry.js +7 -7
- package/dist/esm/ldf-editable-boolean_2.entry.js +1 -1
- package/dist/esm/ldf-editable-condition-piece.entry.js +1 -1
- package/dist/esm/ldf-editable-condition.entry.js +1 -1
- package/dist/esm/ldf-editable-filter-documents.entry.js +2 -2
- package/dist/esm/ldf-editable-lookup_2.entry.js +7 -7
- package/dist/esm/ldf-editable-metadata.entry.js +7 -7
- package/dist/esm/ldf-editable-preference-option.entry.js +1 -1
- package/dist/esm/ldf-editable-preference.entry.js +1 -1
- package/dist/esm/ldf-editable-preferences.entry.js +1 -1
- package/dist/esm/ldf-editable-string-list.entry.js +1 -1
- package/dist/esm/ldf-editor.entry.js +1 -1
- package/dist/esm/{option-6f3f65cd.js → option-f5f45da6.js} +1 -1
- package/dist/esm/{refrain-7bd7ce8a.js → refrain-03edc2dd.js} +1 -1
- package/dist/esm/{rubric-4fcaa326.js → rubric-5e76db3e.js} +1 -1
- package/dist/esm/{specific-class-11a0f046.js → specific-class-19d5b8ae.js} +5 -5
- package/dist/esm/{text-8a1f3c31.js → text-035232e4.js} +1 -1
- package/dist/ldf/ldf.esm.js +1 -1
- package/dist/ldf/p-07a5654e.js +1 -0
- package/dist/ldf/{p-13c95df6.entry.js → p-1e912545.entry.js} +1 -1
- package/dist/ldf/{p-75945b61.entry.js → p-2a52fcd7.entry.js} +1 -1
- package/dist/ldf/{p-4cecd5be.js → p-3f3b5ab1.js} +1 -1
- package/dist/ldf/p-424ff111.entry.js +1 -0
- package/dist/ldf/{p-0275ff97.entry.js → p-4a2d5333.entry.js} +1 -1
- package/dist/ldf/{p-531b0af0.entry.js → p-5547df4c.entry.js} +1 -1
- package/dist/ldf/p-5c897bef.entry.js +1 -0
- package/dist/ldf/{p-809c58d3.js → p-619c1cd7.js} +1 -1
- package/dist/ldf/{p-b5f92da4.entry.js → p-64a75143.entry.js} +1 -1
- package/dist/ldf/{p-a54d398b.entry.js → p-6a61c406.entry.js} +1 -1
- package/dist/ldf/{p-28f67c35.entry.js → p-823625bb.entry.js} +1 -1
- package/dist/ldf/{p-be6a5a82.js → p-8e59a930.js} +1 -1
- package/dist/ldf/p-94095704.js +1 -0
- package/dist/ldf/{p-f51f98ee.entry.js → p-a745950c.entry.js} +1 -1
- package/dist/ldf/p-ae13ac48.js +1 -0
- package/dist/ldf/{p-49297483.js → p-c88be1ca.js} +1 -1
- package/dist/ldf/{p-76b4b747.entry.js → p-c9263178.entry.js} +1 -1
- package/dist/ldf/{p-4346d5f8.js → p-cf9d5530.js} +1 -1
- package/dist/ldf/{p-8bd9886e.entry.js → p-d15ff324.entry.js} +1 -1
- package/dist/ldf/p-d6b725e9.js +1 -0
- package/dist/ldf/{p-3d550f37.entry.js → p-dd824b02.entry.js} +1 -1
- package/dist/ldf/{p-3402f431.entry.js → p-e1f58e08.entry.js} +1 -1
- package/dist/ldf/{p-74080a1b.entry.js → p-e8a53a5e.entry.js} +1 -1
- package/dist/ldf/{p-c8423964.entry.js → p-e8bb8144.entry.js} +1 -1
- package/dist/ldf/{p-248ae134.entry.js → p-ea6696fa.entry.js} +1 -1
- package/dist/types/components/responsive-prayer/responsive-prayer.d.ts +2 -2
- package/dist/types/utils/dropcaps.d.ts +3 -0
- package/package.json +2 -2
- package/dist/ldf/p-0a291888.entry.js +0 -1
- package/dist/ldf/p-705e7fad.js +0 -1
- package/dist/ldf/p-ce877995.js +0 -1
- package/dist/ldf/p-cf7fede1.entry.js +0 -1
- package/dist/ldf/p-de7668ff.js +0 -1
|
@@ -5,6 +5,7 @@ import showdown from 'showdown';
|
|
|
5
5
|
import EN from './text.i18n.en.json';
|
|
6
6
|
import ES from './text.i18n.es.json';
|
|
7
7
|
import { modalController } from '@ionic/core';
|
|
8
|
+
import { useDropcap } from '../../utils/dropcaps';
|
|
8
9
|
const LOCALE = {
|
|
9
10
|
'en': EN,
|
|
10
11
|
'es': ES
|
|
@@ -16,11 +17,6 @@ export class TextComponent {
|
|
|
16
17
|
}
|
|
17
18
|
async setPrayerList(intentions) {
|
|
18
19
|
this.intentions = intentions;
|
|
19
|
-
if (typeof intentions === "string") {
|
|
20
|
-
if (typeof this.doc === "object") {
|
|
21
|
-
this.doc.style == "markdown";
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
20
|
}
|
|
25
21
|
docChanged(newDoc) {
|
|
26
22
|
var _a;
|
|
@@ -83,12 +79,14 @@ export class TextComponent {
|
|
|
83
79
|
/** `authorized-prayer` type */
|
|
84
80
|
if (((_a = this.obj) === null || _a === void 0 ? void 0 : _a.style) === 'authorized-prayers') {
|
|
85
81
|
const splits = this.path.split('/'), index = Number(splits[splits.length - 1]), base = splits.slice(0, splits.length - 1).join('/');
|
|
82
|
+
const converter = new showdown.Converter();
|
|
83
|
+
//return (this.obj?.value || []).map(value => <div innerHTML={converter.makeHtml(value)}></div>);
|
|
86
84
|
return h(Host, null,
|
|
87
85
|
h("ldf-label-bar", null,
|
|
88
86
|
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']),
|
|
89
87
|
Array.isArray(this.intentions)
|
|
90
88
|
? h("ul", { class: "prayer-list" }, this.intentions.map(intention => h("li", null, intention)))
|
|
91
|
-
: h("
|
|
89
|
+
: h("div", { class: "prayer-list formatted", innerHTML: converter.makeHtml(this.intentions) }));
|
|
92
90
|
}
|
|
93
91
|
else {
|
|
94
92
|
let value = ((_e = (_d = this.obj) === null || _d === void 0 ? void 0 : _d.metadata) === null || _e === void 0 ? void 0 : _e.rollup)
|
|
@@ -131,11 +129,8 @@ export class TextComponent {
|
|
|
131
129
|
compiledValue.map((prayer, prayerIndex) => {
|
|
132
130
|
var _a, _b, _c, _d;
|
|
133
131
|
return h("p", { class: "text-body", id: `${this.obj.uid || this.obj.slug}-prayerIndex` }, prayer === null || prayer === void 0 ? void 0 :
|
|
134
|
-
prayer.map((chunk, chunkIndex) => {
|
|
135
|
-
|
|
136
|
-
return h("span", { id: `${this.obj.uid || this.obj.slug}-${prayerIndex}-${chunkIndex}` },
|
|
137
|
-
h("ldf-string", { text: chunk, citation: { label: this.obj.label }, dropcap: ((_a = this.obj) === null || _a === void 0 ? void 0 : _a.display_format) == "force_dropcap" && prayerIndex === 0 && chunkIndex === 0 ? "force" : (prayerIndex === 0 && chunkIndex <= 1 ? "enabled" : "disabled"), index: prayerIndex + chunkIndex, fragment: this.path }));
|
|
138
|
-
}),
|
|
132
|
+
prayer.map((chunk, chunkIndex) => h("span", { id: `${this.obj.uid || this.obj.slug}-${prayerIndex}-${chunkIndex}` },
|
|
133
|
+
h("ldf-string", { text: chunk, citation: { label: this.obj.label }, dropcap: useDropcap(this.obj.language, this.obj.display_format, prayerIndex + chunkIndex), index: prayerIndex + chunkIndex, fragment: this.path }))),
|
|
139
134
|
((_b = (_a = this.obj) === null || _a === void 0 ? void 0 : _a.metadata) === null || _b === void 0 ? void 0 : _b.response) && prayerIndex == compiledValue.length - 1 && h("span", { class: "response" },
|
|
140
135
|
" ",
|
|
141
136
|
this.obj.metadata.response),
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export function useDropcap(language, display_format, index) {
|
|
2
|
+
if (language == "iu" || language == "he") {
|
|
3
|
+
return "disabled";
|
|
4
|
+
}
|
|
5
|
+
if (display_format === "force_dropcap") {
|
|
6
|
+
return "enabled";
|
|
7
|
+
}
|
|
8
|
+
if (display_format === "disable_dropcap") {
|
|
9
|
+
return "disabled";
|
|
10
|
+
}
|
|
11
|
+
if (index == 0) {
|
|
12
|
+
return "enabled";
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
return "disabled";
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -255,7 +255,7 @@ const TYPES = [
|
|
|
255
255
|
'parallel',
|
|
256
256
|
];
|
|
257
257
|
const LOOKUP_TYPES = ['lectionary', 'canticle', 'category', 'slug', 'collect'];
|
|
258
|
-
const DISPLAY_FORMATS = ['default', 'omit', 'unison', 'abbreviated', 'force_dropcap'];
|
|
258
|
+
const DISPLAY_FORMATS = ['default', 'omit', 'unison', 'abbreviated', 'force_dropcap', 'disable_dropcap'];
|
|
259
259
|
/** Represents a liturgy of any scope and concreteness, from a complete bullletin to a single prayer. */
|
|
260
260
|
class LiturgicalDocument {
|
|
261
261
|
//** Constructor takes a Javascript object containing the class's properties */
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
function useDropcap(language, display_format, index) {
|
|
2
|
+
if (language == "iu" || language == "he") {
|
|
3
|
+
return "disabled";
|
|
4
|
+
}
|
|
5
|
+
if (display_format === "force_dropcap") {
|
|
6
|
+
return "enabled";
|
|
7
|
+
}
|
|
8
|
+
if (display_format === "disable_dropcap") {
|
|
9
|
+
return "disabled";
|
|
10
|
+
}
|
|
11
|
+
if (index == 0) {
|
|
12
|
+
return "enabled";
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
return "disabled";
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { useDropcap as u };
|
|
@@ -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-
|
|
10
|
+
import './book-ffb2b7c9.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-
|
|
6
|
-
import { R as Refrain } from './refrain-
|
|
5
|
+
import './book-ffb2b7c9.js';
|
|
6
|
+
import { R as Refrain } from './refrain-03edc2dd.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-
|
|
6
|
+
import './book-ffb2b7c9.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,16 @@ 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-
|
|
8
|
-
import { B as BibleReading, L as Liturgy, M as Meditation, P as Psalm, R as ResponsivePrayer, a as Rubric } from './rubric-
|
|
9
|
-
import { H as Heading } from './heading-
|
|
10
|
-
import { v as versionToString, O as Option } from './option-
|
|
7
|
+
import { R as Responsive, L as LiturgicalDocument, d as dateFromYMDString } from './book-ffb2b7c9.js';
|
|
8
|
+
import { B as BibleReading, L as Liturgy, M as Meditation, P as Psalm, R as ResponsivePrayer, a as Rubric } from './rubric-5e76db3e.js';
|
|
9
|
+
import { H as Heading } from './heading-32b75b51.js';
|
|
10
|
+
import { v as versionToString, O as Option } from './option-f5f45da6.js';
|
|
11
11
|
import { C as Change } from './change-ea574d32.js';
|
|
12
12
|
import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
|
|
13
|
-
import {
|
|
13
|
+
import { u as useDropcap } from './dropcaps-9409f9e0.js';
|
|
14
|
+
import { I as Image } from './image-b773ce41.js';
|
|
14
15
|
import { D as Debounce } from './index-f08f6130.js';
|
|
15
|
-
import { R as Refrain } from './refrain-
|
|
16
|
+
import { R as Refrain } from './refrain-03edc2dd.js';
|
|
16
17
|
import './hardware-back-button-fa04d6e9.js';
|
|
17
18
|
import './_commonjsHelpers-ba3f0406.js';
|
|
18
19
|
|
|
@@ -764,22 +765,22 @@ const BibleReadingComponent = class {
|
|
|
764
765
|
_o.response);
|
|
765
766
|
}
|
|
766
767
|
return (h(Host, null, ((_p = this.obj) === null || _p === void 0 ? void 0 : _p.label) && h("ldf-heading", { doc: new Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label] }) }), h("div", { lang: (_q = this.obj) === null || _q === void 0 ? void 0 : _q.language, class: `bible-reading ${((_r = this.obj) === null || _r === void 0 ? void 0 : _r.display_format) || 'default'}` }, h("p", null, this.verses.map((verse, verseIndex) => {
|
|
767
|
-
var _a;
|
|
768
|
+
var _a, _b;
|
|
768
769
|
return verse.hasOwnProperty('type') && verse.type === 'heading'
|
|
769
770
|
? h("ldf-heading", { doc: new Heading(verse) })
|
|
770
|
-
: h("ldf-string", { citation: { book: verse.book, chapter: verse.chapter, verse: verse.verse }, id: this.obj.uid, text: verse.text, fragment: this.path, dropcap: ((_a = this.obj) === null || _a === void 0 ? void 0 : _a.
|
|
771
|
+
: h("ldf-string", { citation: { book: verse.book, chapter: verse.chapter, verse: verse.verse }, id: this.obj.uid, text: verse.text, fragment: this.path, dropcap: useDropcap((_a = this.obj) === null || _a === void 0 ? void 0 : _a.language, (_b = this.obj) === null || _b === void 0 ? void 0 : _b.display_format, verseIndex) });
|
|
771
772
|
}), shortResponse && !((_t = (_s = this.obj) === null || _s === void 0 ? void 0 : _s.metadata) === null || _t === void 0 ? void 0 : _t.omit_response) && responseNode, h("span", { class: "citation" }, this.obj.citation)), !shortResponse && !((_v = (_u = this.obj) === null || _u === void 0 ? void 0 : _u.metadata) === null || _v === void 0 ? void 0 : _v.omit_response) && h("p", null, responseNode))));
|
|
772
773
|
}
|
|
773
774
|
/* `long` render a typical Bible reading in the liturgy */
|
|
774
775
|
else {
|
|
775
776
|
const paragraphs = this.paragraphs();
|
|
776
777
|
return (h("div", { lang: (_w = this.obj) === null || _w === void 0 ? void 0 : _w.language, class: `bible-reading ${((_x = this.obj) === null || _x === void 0 ? void 0 : _x.display_format) || 'default'}` }, h("ldf-heading", { doc: new Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label], citation: this.obj.citation }) }), ((_z = (_y = this.obj) === null || _y === void 0 ? void 0 : _y.metadata) === null || _z === void 0 ? void 0 : _z.compiled_intro) && h("ldf-liturgical-document", { doc: this.obj.metadata.compiled_intro }), paragraphs.map((paragraph, paragraphIndex) => h("p", { lang: this.obj.language }, paragraph.map((verse, verseIndex) => {
|
|
777
|
-
var _a;
|
|
778
|
+
var _a, _b;
|
|
778
779
|
return verse.hasOwnProperty('type') && verse.type === 'heading'
|
|
779
780
|
? h("ldf-heading", { doc: new Heading(verse) })
|
|
780
781
|
: [
|
|
781
782
|
h("sup", null, verse.verse),
|
|
782
|
-
h("ldf-string", { citation: verse, dropcap:
|
|
783
|
+
h("ldf-string", { citation: verse, dropcap: useDropcap((_a = this.obj) === null || _a === void 0 ? void 0 : _a.language, (_b = this.obj) === null || _b === void 0 ? void 0 : _b.display_format, paragraphIndex + verseIndex), id: `${verse.chapter}-${verse.book}-${verse.verse}`, text: verse.text, index: verseIndex, fragment: this.path })
|
|
783
784
|
];
|
|
784
785
|
})))));
|
|
785
786
|
}
|
|
@@ -2423,7 +2424,7 @@ const PsalmComponent = class {
|
|
|
2423
2424
|
// 1st half of verse
|
|
2424
2425
|
nodes.push(h("div", { class: 'verse' }, this.editable ?
|
|
2425
2426
|
h("ldf-editable-text", { id: `${this.obj.uid || this.obj.slug}-${sectionIndex}-${verseIndex}-verse`, text: verse.verse, path: `${this.path}/value/${sectionIndex}/value/${verseIndex}/verse`, placeholder: 'Lorem ipsum sit dolor amet, *', template: pattern, templateMaker: templateMaker }) :
|
|
2426
|
-
h("ldf-string", { text: verse.verse, citation: { label: (_a = this.obj) === null || _a === void 0 ? void 0 : _a.label, book: ((_b = this.obj) === null || _b === void 0 ? void 0 : _b.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_d = (_c = this.obj) === null || _c === void 0 ? void 0 : _c.metadata) === null || _d === void 0 ? void 0 : _d.number, verse: verse.number }, dropcap: (
|
|
2427
|
+
h("ldf-string", { text: verse.verse, citation: { label: (_a = this.obj) === null || _a === void 0 ? void 0 : _a.label, book: ((_b = this.obj) === null || _b === void 0 ? void 0 : _b.style) === 'psalm' ? 'Psalm' : undefined, chapter: (_d = (_c = this.obj) === null || _c === void 0 ? void 0 : _c.metadata) === null || _d === void 0 ? void 0 : _d.number, verse: verse.number }, dropcap: useDropcap((_e = this.obj) === null || _e === void 0 ? void 0 : _e.language, (_f = this.obj) === null || _f === void 0 ? void 0 : _f.display_format, verseIndex), index: verseIndex, fragment: this.path })));
|
|
2427
2428
|
nodes.push(h("br", null));
|
|
2428
2429
|
// 2nd half of verse
|
|
2429
2430
|
nodes.push(h("div", { class: 'halfverse' }, this.editable ?
|
|
@@ -2541,8 +2542,8 @@ const ResponsivePrayerComponent = class {
|
|
|
2541
2542
|
return (h("ldf-editable-text", { id: `${this.obj.uid}-${index}-${part}`, text: line[part], path: `${this.path}/value/${index}/${part}`, template: template, templateMaker: templateMaker }));
|
|
2542
2543
|
}
|
|
2543
2544
|
/** renders a `ResponsivePrayerLine` as an `ldf-string` */
|
|
2544
|
-
stringNode(line, index, part) {
|
|
2545
|
-
return (h("ldf-string", { citation: { label: this.obj.label }, id: `${this.obj.uid}-${index}-${part}`, text: line[part], dropcap:
|
|
2545
|
+
stringNode(doc, line, index, part) {
|
|
2546
|
+
return (h("ldf-string", { citation: { label: this.obj.label }, id: `${this.obj.uid}-${index}-${part}`, text: line[part], dropcap: useDropcap(doc.language, doc.display_format, index), fragment: this.path }));
|
|
2546
2547
|
}
|
|
2547
2548
|
// Render the `response` in a litany, and handle `[Silence]` value
|
|
2548
2549
|
litanyResponseStringNode(line, index) {
|
|
@@ -2567,7 +2568,7 @@ const ResponsivePrayerComponent = class {
|
|
|
2567
2568
|
* V. O Lord, open our lips.
|
|
2568
2569
|
* R. And our mouth shall proclaim thy praise. */
|
|
2569
2570
|
const template = { label: '', text: '' }, templateMaker = (text) => ({ label: '', text });
|
|
2570
|
-
return (h(Host, { class: this.obj.style, lang: this.obj.language }, h("ldf-label-bar", null, h("slot", { slot: 'end', name: 'controls' })), !this.editable && needsHeader && h("ldf-heading", { doc: new Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label], citation: this.obj.citation, source: this.obj.source }) }), this.editable && needsHeader && this.editableHeader(), h("table", { class: "preces" }, this.obj.value.map((line, index) => h("tr", { class: "row" }, h("td", { class: "cell" }, this.editable ? this.editableNode(line, index, 'label', template, templateMaker) : this.stringNode(line, index, 'label')), h("td", { class: index % 2 == 0 ? 'cell' : 'cell response' }, this.editable ? this.editableNode(line, index, 'text', template, templateMaker) : this.stringNode(line, index, 'text')))))));
|
|
2571
|
+
return (h(Host, { class: this.obj.style, lang: this.obj.language }, h("ldf-label-bar", null, h("slot", { slot: 'end', name: 'controls' })), !this.editable && needsHeader && h("ldf-heading", { doc: new Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label], citation: this.obj.citation, source: this.obj.source }) }), this.editable && needsHeader && this.editableHeader(), h("table", { class: "preces" }, this.obj.value.map((line, index) => h("tr", { class: "row" }, h("td", { class: "cell" }, this.editable ? this.editableNode(line, index, 'label', template, templateMaker) : this.stringNode(this.obj, line, index, 'label')), h("td", { class: index % 2 == 0 ? 'cell' : 'cell response' }, this.editable ? this.editableNode(line, index, 'text', template, templateMaker) : this.stringNode(this.obj, line, index, 'text')))))));
|
|
2571
2572
|
}
|
|
2572
2573
|
else if (this.obj.style == 'litany') {
|
|
2573
2574
|
/* `litany`type returns prayers and responses with a break between each pair, like
|
|
@@ -2587,7 +2588,7 @@ const ResponsivePrayerComponent = class {
|
|
|
2587
2588
|
// Render the line
|
|
2588
2589
|
return h("div", { class: { "line": true, "editable": this.editable } }, h("p", { class: classes.join(' ') }, this.editable
|
|
2589
2590
|
? this.editableNode(line, index, 'text', template, templateMaker)
|
|
2590
|
-
: this.stringNode(line, index, 'text'), line.response && (this.editable ?
|
|
2591
|
+
: this.stringNode(this.obj, line, index, 'text'), line.response && (this.editable ?
|
|
2591
2592
|
h("span", { class: 'response' }, this.editableNode(line, index, 'response', template, templateMaker)) :
|
|
2592
2593
|
[h("br", null), this.litanyResponseStringNode(line, index)]), (!line.response && ((_a = this.obj.metadata) === null || _a === void 0 ? void 0 : _a.response)) && (this.editable ?
|
|
2593
2594
|
h("span", { class: 'response' }, h("ldf-editable-text", { id: `${this.obj.uid}-${index}-response`, text: this.obj.metadata.response, path: `${this.path}/response` })) :
|
|
@@ -2603,10 +2604,10 @@ const ResponsivePrayerComponent = class {
|
|
|
2603
2604
|
return (h(Host, { class: this.obj.style, lang: this.obj.language }, !this.editableHeader && needsHeader && h("ldf-heading", { doc: new Heading({ type: 'heading', metadata: { level: 3 }, value: [this.obj.label], citation: this.obj.citation, source: this.obj.source }) }), this.editable && needsHeader && this.editableHeader(), h("p", { class: 'responsive' }, this.obj.value.map((line, index) => [
|
|
2604
2605
|
this.editable ?
|
|
2605
2606
|
h("div", null, this.editableNode(line, index, 'text', template, templateMaker)) :
|
|
2606
|
-
h("div", null, this.stringNode(line, index, 'text')),
|
|
2607
|
+
h("div", null, this.stringNode(this.obj, line, index, 'text')),
|
|
2607
2608
|
this.editable ?
|
|
2608
2609
|
h("div", { class: 'response' }, this.editableNode(line, index, 'response', template, templateMaker)) :
|
|
2609
|
-
h("div", { class: 'response' }, this.stringNode(line, index, 'response'))
|
|
2610
|
+
h("div", { class: 'response' }, this.stringNode(this.obj, line, index, 'response'))
|
|
2610
2611
|
]))));
|
|
2611
2612
|
}
|
|
2612
2613
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
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-
|
|
3
|
-
import { T as Text } from './text-
|
|
2
|
+
import { a as LiturgicalDay, d as dateFromYMDString } from './book-ffb2b7c9.js';
|
|
3
|
+
import { T as Text } from './text-035232e4.js';
|
|
4
4
|
import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
|
|
5
|
-
import { H as Heading } from './heading-
|
|
5
|
+
import { H as Heading } from './heading-32b75b51.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
|
+
import { u as useDropcap } from './dropcaps-9409f9e0.js';
|
|
8
9
|
import './ionic-global-24253941.js';
|
|
9
10
|
import './hardware-back-button-fa04d6e9.js';
|
|
10
11
|
import './helpers-af86adf0.js';
|
|
@@ -5749,7 +5750,7 @@ const ES = {
|
|
|
5749
5750
|
"prayer-list": "Prayer List"
|
|
5750
5751
|
};
|
|
5751
5752
|
|
|
5752
|
-
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
|
|
5753
|
+
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}.prayer-list.sc-ldf-text li.sc-ldf-text{list-style-type:none;text-align:center;margin:0.5em 0;padding:0}";
|
|
5753
5754
|
|
|
5754
5755
|
const LOCALE = {
|
|
5755
5756
|
'en': EN,
|
|
@@ -5827,9 +5828,11 @@ const TextComponent = class {
|
|
|
5827
5828
|
/** `authorized-prayer` type */
|
|
5828
5829
|
if (((_a = this.obj) === null || _a === void 0 ? void 0 : _a.style) === 'authorized-prayers') {
|
|
5829
5830
|
const splits = this.path.split('/'), index = Number(splits[splits.length - 1]), base = splits.slice(0, splits.length - 1).join('/');
|
|
5831
|
+
const converter = new showdown.Converter();
|
|
5832
|
+
//return (this.obj?.value || []).map(value => <div innerHTML={converter.makeHtml(value)}></div>);
|
|
5830
5833
|
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)
|
|
5831
5834
|
? h("ul", { class: "prayer-list" }, this.intentions.map(intention => h("li", null, intention)))
|
|
5832
|
-
: h("
|
|
5835
|
+
: h("div", { class: "prayer-list formatted", innerHTML: converter.makeHtml(this.intentions) }));
|
|
5833
5836
|
}
|
|
5834
5837
|
else {
|
|
5835
5838
|
let value = ((_e = (_d = this.obj) === null || _d === void 0 ? void 0 : _d.metadata) === null || _e === void 0 ? void 0 : _e.rollup)
|
|
@@ -5858,10 +5861,7 @@ const TextComponent = class {
|
|
|
5858
5861
|
return (h("div", { lang: ((_1 = this.obj) === null || _1 === void 0 ? void 0 : _1.language) || 'en', class: `text ${((_2 = this.obj) === null || _2 === void 0 ? void 0 : _2.display_format) || 'default'}` }, ((((_3 = this.obj) === null || _3 === void 0 ? void 0 : _3.label) && !((_5 = (_4 = this.obj) === null || _4 === void 0 ? void 0 : _4.metadata) === null || _5 === void 0 ? void 0 : _5.omit_label)) || ((_6 = this.obj) === null || _6 === void 0 ? void 0 : _6.citation)) && h("ldf-heading", { path: this.path, doc: new Heading({ type: 'heading', metadata: { level: 3 }, value: [((_7 = this.obj.metadata) === null || _7 === void 0 ? void 0 : _7.omit_label) ? '' : this.obj.label], citation: this.obj.citation, source: this.obj.source }) }), compiledValue.map((prayer, prayerIndex) => {
|
|
5859
5862
|
var _a, _b, _c, _d;
|
|
5860
5863
|
return h("p", { class: "text-body", id: `${this.obj.uid || this.obj.slug}-prayerIndex` }, prayer === null || prayer === void 0 ? void 0 :
|
|
5861
|
-
prayer.map((chunk, chunkIndex) => {
|
|
5862
|
-
var _a;
|
|
5863
|
-
return h("span", { id: `${this.obj.uid || this.obj.slug}-${prayerIndex}-${chunkIndex}` }, h("ldf-string", { text: chunk, citation: { label: this.obj.label }, dropcap: ((_a = this.obj) === null || _a === void 0 ? void 0 : _a.display_format) == "force_dropcap" && prayerIndex === 0 && chunkIndex === 0 ? "force" : (prayerIndex === 0 && chunkIndex <= 1 ? "enabled" : "disabled"), index: prayerIndex + chunkIndex, fragment: this.path }));
|
|
5864
|
-
}), ((_b = (_a = this.obj) === null || _a === void 0 ? void 0 : _a.metadata) === null || _b === void 0 ? void 0 : _b.response) && prayerIndex == compiledValue.length - 1 && h("span", { class: "response" }, " ", this.obj.metadata.response), !((_d = (_c = this.obj) === null || _c === void 0 ? void 0 : _c.metadata) === null || _d === void 0 ? void 0 : _d.response) && this.obj.style == 'prayer' && prayerIndex == compiledValue.length - 1 && h("span", { class: "response" }, " ", localeStrings.amen));
|
|
5864
|
+
prayer.map((chunk, chunkIndex) => h("span", { id: `${this.obj.uid || this.obj.slug}-${prayerIndex}-${chunkIndex}` }, h("ldf-string", { text: chunk, citation: { label: this.obj.label }, dropcap: useDropcap(this.obj.language, this.obj.display_format, prayerIndex + chunkIndex), index: prayerIndex + chunkIndex, fragment: this.path }))), ((_b = (_a = this.obj) === null || _a === void 0 ? void 0 : _a.metadata) === null || _b === void 0 ? void 0 : _b.response) && prayerIndex == compiledValue.length - 1 && h("span", { class: "response" }, " ", this.obj.metadata.response), !((_d = (_c = this.obj) === null || _c === void 0 ? void 0 : _c.metadata) === null || _d === void 0 ? void 0 : _d.response) && this.obj.style == 'prayer' && prayerIndex == compiledValue.length - 1 && h("span", { class: "response" }, " ", localeStrings.amen));
|
|
5865
5865
|
})));
|
|
5866
5866
|
}
|
|
5867
5867
|
}
|
|
@@ -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-
|
|
3
|
-
import { B as BibleReading, P as Psalm, L as Liturgy$1, M as Meditation, R as ResponsivePrayer, a as Rubric } from './rubric-
|
|
4
|
-
import { H as Heading } from './heading-
|
|
5
|
-
import { I as Image } from './image-
|
|
6
|
-
import { O as Option } from './option-
|
|
7
|
-
import { R as Refrain } from './refrain-
|
|
8
|
-
import { T as Text } from './text-
|
|
2
|
+
import { L as LiturgicalDocument } from './book-ffb2b7c9.js';
|
|
3
|
+
import { B as BibleReading, P as Psalm, L as Liturgy$1, M as Meditation, R as ResponsivePrayer, a as Rubric } from './rubric-5e76db3e.js';
|
|
4
|
+
import { H as Heading } from './heading-32b75b51.js';
|
|
5
|
+
import { I as Image } from './image-b773ce41.js';
|
|
6
|
+
import { O as Option } from './option-f5f45da6.js';
|
|
7
|
+
import { R as Refrain } from './refrain-03edc2dd.js';
|
|
8
|
+
import { T as Text } from './text-035232e4.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-
|
|
2
|
+
import './book-ffb2b7c9.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-
|
|
2
|
+
import { C as Condition } from './book-ffb2b7c9.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-
|
|
2
|
+
import { C as Condition } from './book-ffb2b7c9.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-
|
|
3
|
-
import { v as versionToString, O as Option } from './option-
|
|
2
|
+
import { L as LiturgicalDocument } from './book-ffb2b7c9.js';
|
|
3
|
+
import { v as versionToString, O as Option } from './option-f5f45da6.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-
|
|
2
|
+
import { L as LiturgicalDocument } from './book-ffb2b7c9.js';
|
|
3
3
|
import { C as Change } from './change-ea574d32.js';
|
|
4
|
-
import { v as versionToString } from './option-
|
|
5
|
-
import { s as specificClass } from './specific-class-
|
|
4
|
+
import { v as versionToString } from './option-f5f45da6.js';
|
|
5
|
+
import { s as specificClass } from './specific-class-19d5b8ae.js';
|
|
6
6
|
import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
|
|
7
|
-
import './rubric-
|
|
8
|
-
import './heading-
|
|
9
|
-
import './refrain-
|
|
10
|
-
import './text-
|
|
7
|
+
import './rubric-5e76db3e.js';
|
|
8
|
+
import './heading-32b75b51.js';
|
|
9
|
+
import './refrain-03edc2dd.js';
|
|
10
|
+
import './text-035232e4.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-
|
|
2
|
+
import { L as LiturgicalDocument } from './book-ffb2b7c9.js';
|
|
3
3
|
import { C as Change } from './change-ea574d32.js';
|
|
4
|
-
import { s as specificClass } from './specific-class-
|
|
4
|
+
import { s as specificClass } from './specific-class-19d5b8ae.js';
|
|
5
5
|
import { g as getComponentClosestLanguage } from './locale-de430ca1.js';
|
|
6
|
-
import './rubric-
|
|
7
|
-
import './heading-
|
|
8
|
-
import './option-
|
|
9
|
-
import './refrain-
|
|
10
|
-
import './text-
|
|
6
|
+
import './rubric-5e76db3e.js';
|
|
7
|
+
import './heading-32b75b51.js';
|
|
8
|
+
import './option-f5f45da6.js';
|
|
9
|
+
import './refrain-03edc2dd.js';
|
|
10
|
+
import './text-035232e4.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-
|
|
2
|
+
import './book-ffb2b7c9.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-
|
|
2
|
+
import './book-ffb2b7c9.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-
|
|
3
|
+
import './book-ffb2b7c9.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-
|
|
2
|
+
import './book-ffb2b7c9.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-
|
|
2
|
+
import { L as LiturgicalDocument } from './book-ffb2b7c9.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,8 +1,8 @@
|
|
|
1
|
-
import { M as Meditation, P as Psalm, B as BibleReading, R as ResponsivePrayer, a as Rubric, L as Liturgy } from './rubric-
|
|
2
|
-
import { H as Heading } from './heading-
|
|
3
|
-
import { O as Option } from './option-
|
|
4
|
-
import { R as Refrain } from './refrain-
|
|
5
|
-
import { T as Text } from './text-
|
|
1
|
+
import { M as Meditation, P as Psalm, B as BibleReading, R as ResponsivePrayer, a as Rubric, L as Liturgy } from './rubric-5e76db3e.js';
|
|
2
|
+
import { H as Heading } from './heading-32b75b51.js';
|
|
3
|
+
import { O as Option } from './option-f5f45da6.js';
|
|
4
|
+
import { R as Refrain } from './refrain-03edc2dd.js';
|
|
5
|
+
import { T as Text } from './text-035232e4.js';
|
|
6
6
|
|
|
7
7
|
/** Transforms a generic `LiturgicalDocument` (either a class instance or an `Object` that matches the type),
|
|
8
8
|
* into an instance of a more-specific inherited class */
|