@venite/components 0.16.20 → 0.16.24
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/{index-c9b940c7.js → book-1a92678a.js} +2 -96
- package/dist/cjs/{change-deff223a.js → change-cdb1e8c0.js} +0 -0
- package/dist/cjs/{cursor-849a5372.js → cursor-81bfd01e.js} +0 -0
- package/dist/cjs/{heading-fae3ce98.js → heading-5afc2b24.js} +2 -2
- package/dist/cjs/{image-41000c7b.js → image-3bee3e73.js} +2 -2
- package/dist/cjs/{index-de13bd01.js → index-b22a8b22.js} +0 -0
- package/dist/cjs/ion-button_13.cjs.entry.js +25 -6
- package/dist/cjs/ion-card-content_6.cjs.entry.js +3 -4
- package/dist/cjs/ion-checkbox_3.cjs.entry.js +2 -3
- package/dist/cjs/ion-input_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment_16.cjs.entry.js +20 -20
- package/dist/cjs/ldf-day-name_5.cjs.entry.js +73 -71
- package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +9 -10
- package/dist/cjs/ldf-editable-condition-piece.cjs.entry.js +6 -7
- package/dist/cjs/ldf-editable-condition.cjs.entry.js +4 -5
- package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +10 -11
- package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +9 -10
- package/dist/cjs/ldf-editable-metadata.cjs.entry.js +10 -11
- package/dist/cjs/ldf-editable-preference-option.cjs.entry.js +3 -4
- package/dist/cjs/ldf-editable-preference.cjs.entry.js +3 -4
- package/dist/cjs/ldf-editable-preferences.cjs.entry.js +3 -4
- package/dist/cjs/ldf-editable-string-list.cjs.entry.js +2 -3
- package/dist/cjs/ldf-editor-cursors.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editor.cjs.entry.js +14 -14
- package/dist/cjs/{option-6fb78f5c.js → option-a078d432.js} +17 -5
- package/dist/cjs/{preference-1365e161.js → preference-a4bd51c4.js} +0 -0
- package/dist/cjs/{refrain-f51fd88d.js → refrain-91fb446b.js} +2 -2
- package/dist/cjs/{rubric-ad2f926f.js → rubric-0afbe4c0.js} +485 -16
- package/dist/cjs/{specific-class-071762e7.js → specific-class-76b4d343.js} +5 -5
- package/dist/cjs/{text-8d8d32e7.js → text-5edb80f3.js} +2 -2
- package/dist/collection/components/prayers-and-thanksgivings/dist/prayers-and-thanksgivings.js +22 -6
- package/dist/collection/components/prayers-and-thanksgivings/prayers-and-thanksgivings.i18n.es.json +3 -0
- package/dist/collection/components/prayers-and-thanksgivings/prayers-and-thanksgivings.js +21 -5
- package/dist/collection/components/text/text.i18n.es.json +2 -1
- package/dist/collection/i18n/prayers-and-thanksgivings.i18n.es.json +3 -0
- package/dist/collection/i18n/text.i18n.es.json +2 -1
- package/dist/esm/{index-2e220677.js → book-31b8cdde.js} +2 -96
- package/dist/esm/{change-b077b77c.js → change-ea574d32.js} +0 -0
- package/dist/esm/{cursor-cb97384b.js → cursor-0e47f111.js} +0 -0
- package/dist/esm/{heading-c03fbe8b.js → heading-cc5ffa8a.js} +1 -1
- package/dist/esm/{image-a1336f0a.js → image-c6a3f0c5.js} +1 -1
- package/dist/esm/{index-1bf6d100.js → index-a3645557.js} +0 -0
- package/dist/esm/ion-button_13.entry.js +25 -6
- package/dist/esm/ion-card-content_6.entry.js +3 -4
- package/dist/esm/ion-checkbox_3.entry.js +2 -3
- package/dist/esm/ion-input_2.entry.js +3 -3
- package/dist/esm/ion-segment_16.entry.js +7 -7
- package/dist/esm/ldf-day-name_5.entry.js +9 -7
- package/dist/esm/ldf-editable-add-block-menu.entry.js +7 -8
- package/dist/esm/ldf-editable-condition-piece.entry.js +2 -3
- package/dist/esm/ldf-editable-condition.entry.js +2 -3
- package/dist/esm/ldf-editable-filter-documents.entry.js +2 -3
- package/dist/esm/ldf-editable-lookup_2.entry.js +8 -9
- package/dist/esm/ldf-editable-metadata.entry.js +8 -9
- package/dist/esm/ldf-editable-preference-option.entry.js +3 -4
- package/dist/esm/ldf-editable-preference.entry.js +3 -4
- package/dist/esm/ldf-editable-preferences.entry.js +3 -4
- package/dist/esm/ldf-editable-string-list.entry.js +2 -3
- package/dist/esm/ldf-editor-cursors.entry.js +1 -1
- package/dist/esm/ldf-editor.entry.js +4 -4
- package/dist/esm/{option-e130a4b2.js → option-c16af13a.js} +16 -4
- package/dist/esm/{preference-60cdfde3.js → preference-d070d4cb.js} +0 -0
- package/dist/esm/{refrain-9b9f05cc.js → refrain-75a412cb.js} +1 -1
- package/dist/esm/{rubric-0d2b870d.js → rubric-f779c469.js} +478 -9
- package/dist/esm/{specific-class-3f0e0c45.js → specific-class-09c98625.js} +5 -5
- package/dist/esm/{text-801eb7de.js → text-ed75fbd4.js} +1 -1
- package/dist/ldf/i18n/prayers-and-thanksgivings.i18n.es.json +3 -0
- package/dist/ldf/i18n/text.i18n.es.json +2 -1
- package/dist/ldf/ldf.esm.js +1 -1
- package/dist/ldf/p-005ad01b.entry.js +1 -0
- package/dist/ldf/p-00e5ee6b.js +1 -0
- package/dist/ldf/p-03afc8cb.entry.js +1 -0
- package/dist/ldf/p-2ae548b3.entry.js +1 -0
- package/dist/ldf/p-2c39ce94.entry.js +1 -0
- package/dist/ldf/p-304a2bdb.entry.js +1 -0
- package/dist/ldf/{p-70e47f8b.entry.js → p-39d4be39.entry.js} +1 -1
- package/dist/ldf/p-476327d6.js +1 -0
- package/dist/ldf/p-4aa9a6f2.js +1 -0
- package/dist/ldf/{p-6a68fa7b.js → p-5066eaa5.js} +0 -0
- package/dist/ldf/p-594fa9d4.entry.js +1 -0
- package/dist/ldf/{p-93911ad1.js → p-5b43e6be.js} +1 -1
- package/dist/ldf/p-65563763.entry.js +1 -0
- package/dist/ldf/p-65d26c45.js +1 -0
- package/dist/ldf/p-65ea7ab3.entry.js +1 -0
- package/dist/ldf/p-7a9ab85c.entry.js +1 -0
- package/dist/ldf/p-800a115c.entry.js +1 -0
- package/dist/ldf/{p-3ca74c80.js → p-8e00a6ae.js} +0 -0
- package/dist/ldf/{p-12d81208.js → p-8ec26587.js} +0 -0
- package/dist/ldf/{p-05ac8045.entry.js → p-95650471.entry.js} +1 -1
- package/dist/ldf/{p-2a08ff25.js → p-991c0877.js} +0 -0
- package/dist/ldf/p-9c1973a6.entry.js +1 -0
- package/dist/ldf/p-a1729dbd.js +1 -0
- package/dist/ldf/{p-0d9b71a8.entry.js → p-ba9eda0b.entry.js} +1 -1
- package/dist/ldf/p-c0ef6296.entry.js +1 -0
- package/dist/ldf/p-d56dff05.js +3 -0
- package/dist/ldf/p-e301606a.entry.js +1 -0
- package/dist/ldf/p-e7a449d7.js +1 -0
- package/dist/ldf/p-f0de7628.entry.js +1 -0
- package/dist/ldf/p-fa191f47.entry.js +1 -0
- package/package.json +1 -1
- package/dist/ldf/p-31a1f740.js +0 -1
- package/dist/ldf/p-34e37c39.entry.js +0 -1
- package/dist/ldf/p-37d9f551.entry.js +0 -1
- package/dist/ldf/p-3a7cb4d5.entry.js +0 -1
- package/dist/ldf/p-3e0814c2.entry.js +0 -1
- package/dist/ldf/p-405928d1.js +0 -1
- package/dist/ldf/p-4ed034a1.js +0 -1
- package/dist/ldf/p-5eef960d.entry.js +0 -1
- package/dist/ldf/p-67c52455.entry.js +0 -1
- package/dist/ldf/p-69d493f3.entry.js +0 -1
- package/dist/ldf/p-80f6ec9f.js +0 -1
- package/dist/ldf/p-82f2facb.entry.js +0 -1
- package/dist/ldf/p-9424ca03.entry.js +0 -1
- package/dist/ldf/p-952f8992.entry.js +0 -1
- package/dist/ldf/p-9b008ca8.entry.js +0 -1
- package/dist/ldf/p-a712728b.js +0 -1
- package/dist/ldf/p-b3b245a2.entry.js +0 -1
- package/dist/ldf/p-bc84c531.entry.js +0 -1
- package/dist/ldf/p-be6c5df8.entry.js +0 -1
- package/dist/ldf/p-c02098e2.entry.js +0 -1
- package/dist/ldf/p-cec60628.js +0 -1
- package/dist/ldf/p-ff0452c1.js +0 -3
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-f0f6a379.js';
|
|
2
|
-
import './
|
|
3
|
-
import { a as PreferenceOption } from './preference-
|
|
4
|
-
import { C as Change } from './change-
|
|
2
|
+
import './book-31b8cdde.js';
|
|
3
|
+
import { a as PreferenceOption } from './preference-d070d4cb.js';
|
|
4
|
+
import { C as Change } from './change-ea574d32.js';
|
|
5
5
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
6
|
-
import './_commonjsHelpers-ba3f0406.js';
|
|
7
6
|
|
|
8
7
|
const additional = "Advanced Settings";
|
|
9
8
|
const alternateYear = "“Alternate Year” Reading";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-f0f6a379.js';
|
|
2
|
-
import './
|
|
3
|
-
import { P as Preference, a as PreferenceOption } from './preference-
|
|
4
|
-
import { C as Change } from './change-
|
|
2
|
+
import './book-31b8cdde.js';
|
|
3
|
+
import { P as Preference, a as PreferenceOption } from './preference-d070d4cb.js';
|
|
4
|
+
import { C as Change } from './change-ea574d32.js';
|
|
5
5
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
6
|
-
import './_commonjsHelpers-ba3f0406.js';
|
|
7
6
|
|
|
8
7
|
const add = "Add an Option";
|
|
9
8
|
const category = "Category";
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, H as Host, a as getElement } from './index-f0f6a379.js';
|
|
2
2
|
import { f as alertController } from './overlays-06b43b65.js';
|
|
3
|
-
import './
|
|
4
|
-
import { P as Preference } from './preference-
|
|
5
|
-
import { C as Change } from './change-
|
|
3
|
+
import './book-31b8cdde.js';
|
|
4
|
+
import { P as Preference } from './preference-d070d4cb.js';
|
|
5
|
+
import { C as Change } from './change-ea574d32.js';
|
|
6
6
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
7
7
|
import './ionic-global-ef89a0a5.js';
|
|
8
8
|
import './hardware-back-button-b3b61715.js';
|
|
9
|
-
import './_commonjsHelpers-ba3f0406.js';
|
|
10
9
|
|
|
11
10
|
function categoriesToPreferenceTree(categories, preferences) {
|
|
12
11
|
return categories.reduce((obj, category) => (Object.assign(Object.assign({}, obj), { [category]: Object.entries(preferences)
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, a as getElement } from './index-f0f6a379.js';
|
|
2
|
-
import './
|
|
3
|
-
import { C as Change } from './change-
|
|
2
|
+
import './book-31b8cdde.js';
|
|
3
|
+
import { C as Change } from './change-ea574d32.js';
|
|
4
4
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
5
|
-
import './_commonjsHelpers-ba3f0406.js';
|
|
6
5
|
|
|
7
6
|
const category = {
|
|
8
7
|
add: "Add a Category",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-f0f6a379.js';
|
|
2
2
|
import { D as Debounce } from './index-f08f6130.js';
|
|
3
|
-
import { e as elementFromPath, v as values_js } from './index-
|
|
3
|
+
import { e as elementFromPath, v as values_js } from './index-a3645557.js';
|
|
4
4
|
import { c as createCommonjsModule } from './_commonjsHelpers-ba3f0406.js';
|
|
5
5
|
|
|
6
6
|
var textareaCaret = createCommonjsModule(function (module) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-f0f6a379.js';
|
|
2
|
-
import { L as LiturgicalDocument } from './
|
|
3
|
-
import { C as Cursor } from './cursor-
|
|
4
|
-
import { C as Change } from './change-
|
|
5
|
-
import { e as elementFromPath, q as querySelectorDeep, v as values_js } from './index-
|
|
2
|
+
import { L as LiturgicalDocument } from './book-31b8cdde.js';
|
|
3
|
+
import { C as Cursor } from './cursor-0e47f111.js';
|
|
4
|
+
import { C as Change } from './change-ea574d32.js';
|
|
5
|
+
import { e as elementFromPath, q as querySelectorDeep, v as values_js } from './index-a3645557.js';
|
|
6
6
|
import './_commonjsHelpers-ba3f0406.js';
|
|
7
7
|
|
|
8
8
|
const editorCss = "ldf-editor.sc-ldf-editor, .sc-ldf-editor-h {\n display: block;\n}\n\n.sc-ldf-editor-h textarea.sc-ldf-editor {\n display: block;\n\n width: 100%;\n max-width: 100%;\n max-height: 100%;\n\n border: 1px solid grey;\n\n outline: none;\n\n background: transparent;\n box-sizing: border-box;\n resize: none;\n appearance: none;\n\n font-family: inherit;\n}\n\n@keyframes \"blink\" {\n from, to {\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n}\n\n.user.sc-ldf-editor {\n padding-top: 3px;\n padding-bottom: 3px;\n border-left-width: 2px;\n border-right-width: 2px;\n border-style: solid;\n border-top-width: 0;\n border-bottom-width: 0;\n}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as LiturgicalDocument } from './
|
|
1
|
+
import { L as LiturgicalDocument } from './book-31b8cdde.js';
|
|
2
2
|
|
|
3
3
|
function versionToString(version) {
|
|
4
4
|
if (typeof version === 'string') {
|
|
@@ -16,6 +16,8 @@ const VERSIONS = {
|
|
|
16
16
|
eow: 'EOW',
|
|
17
17
|
coverdale: 'Coverdale',
|
|
18
18
|
rite_i: 'Rite I',
|
|
19
|
+
bhs: 'Hebrew',
|
|
20
|
+
hebrew: 'Hebrew',
|
|
19
21
|
};
|
|
20
22
|
function modifiedVersion(option) {
|
|
21
23
|
return option.type === 'psalm' && option.style === 'psalm' && option.version === 'bcp1979'
|
|
@@ -54,7 +56,10 @@ class Option extends LiturgicalDocument {
|
|
|
54
56
|
var _a, _b, _c;
|
|
55
57
|
const uniqueVersions = this.uniqueVersions(), uniqueLabels = this.uniqueLabels(), uniqueCitations = this.uniqueCitations(), uniqueCanticleNumbers = this.uniqueCanticleNumbers();
|
|
56
58
|
let label = '';
|
|
57
|
-
if (option.
|
|
59
|
+
if (option.version_label) {
|
|
60
|
+
label = option.version_label;
|
|
61
|
+
}
|
|
62
|
+
else if (option.type == 'liturgy') {
|
|
58
63
|
label = option.label || option.version_label || 'Option';
|
|
59
64
|
}
|
|
60
65
|
// Psalm 119 parts => Psalm 119: Aleph
|
|
@@ -64,6 +69,9 @@ class Option extends LiturgicalDocument {
|
|
|
64
69
|
(((_a = option.slug) === null || _a === void 0 ? void 0 : _a.match(/psalm_119_/)) || ((_b = option.citation) === null || _b === void 0 ? void 0 : _b.toString().match(/Ps[^\d]+119/)))) {
|
|
65
70
|
label = option.label;
|
|
66
71
|
}
|
|
72
|
+
else if (option.type == 'psalm' && uniqueVersions > 1) {
|
|
73
|
+
label = option.version_label || VERSIONS[versionToString(option.version)];
|
|
74
|
+
}
|
|
67
75
|
// Other psalms: Psalm 121
|
|
68
76
|
else if (option.type == 'psalm' &&
|
|
69
77
|
option.style == 'psalm' &&
|
|
@@ -88,13 +96,17 @@ class Option extends LiturgicalDocument {
|
|
|
88
96
|
label = `${option.citation.toString()}${formattedText}`;
|
|
89
97
|
}
|
|
90
98
|
}
|
|
99
|
+
// Readings with same citation + different versions => Version
|
|
100
|
+
else if (option.type == 'bible-reading' && uniqueCitations == 1) {
|
|
101
|
+
label = versionToString(option.version);
|
|
102
|
+
}
|
|
91
103
|
// Readings with one version => John 1:1-4
|
|
92
104
|
else if (option.type == 'bible-reading' && option.citation && uniqueVersions == 1) {
|
|
93
105
|
label = option.citation.toString();
|
|
94
106
|
}
|
|
95
|
-
// Readings with multiple versions => John 1:1-4
|
|
107
|
+
// Readings with multiple versions => John 1:1-4 (Version)
|
|
96
108
|
else if (option.type == 'bible-reading' && option.citation && uniqueVersions > 1) {
|
|
97
|
-
label = `${option.citation.toString()} (${option.version})`;
|
|
109
|
+
label = `${option.citation.toString()} (${versionToString(option.version)})`;
|
|
98
110
|
}
|
|
99
111
|
// Canticles, if only one version
|
|
100
112
|
else if (uniqueVersions == 1 &&
|
|
File without changes
|