@venite/components 0.16.19 → 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.
- package/dist/cjs/{change-cdb1e8c0.js → change-deff223a.js} +0 -0
- package/dist/cjs/{cursor-81bfd01e.js → cursor-849a5372.js} +0 -0
- package/dist/cjs/{heading-5afc2b24.js → heading-fae3ce98.js} +2 -2
- package/dist/cjs/{image-3bee3e73.js → image-41000c7b.js} +2 -2
- package/dist/cjs/{book-1a92678a.js → index-c9b940c7.js} +96 -2
- package/dist/cjs/ion-button_13.cjs.entry.js +3 -2
- package/dist/cjs/ion-card-content_6.cjs.entry.js +4 -3
- package/dist/cjs/ion-checkbox_3.cjs.entry.js +3 -2
- 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 +79 -77
- package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +10 -9
- package/dist/cjs/ldf-editable-condition-piece.cjs.entry.js +7 -6
- package/dist/cjs/ldf-editable-condition.cjs.entry.js +5 -4
- package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +11 -10
- package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +10 -9
- package/dist/cjs/ldf-editable-metadata.cjs.entry.js +11 -10
- package/dist/cjs/ldf-editable-preference-option.cjs.entry.js +4 -3
- package/dist/cjs/ldf-editable-preference.cjs.entry.js +4 -3
- package/dist/cjs/ldf-editable-preferences.cjs.entry.js +4 -3
- package/dist/cjs/ldf-editable-string-list.cjs.entry.js +3 -2
- package/dist/cjs/ldf-editor.cjs.entry.js +14 -14
- package/dist/cjs/{option-a078d432.js → option-6fb78f5c.js} +5 -17
- package/dist/cjs/{preference-a4bd51c4.js → preference-1365e161.js} +0 -0
- package/dist/cjs/{refrain-91fb446b.js → refrain-f51fd88d.js} +2 -2
- package/dist/cjs/{rubric-0afbe4c0.js → rubric-ad2f926f.js} +16 -485
- package/dist/cjs/{specific-class-76b4d343.js → specific-class-071762e7.js} +5 -5
- package/dist/cjs/{text-5edb80f3.js → text-8d8d32e7.js} +2 -2
- package/dist/collection/components/text/dist/text.js +15 -15
- package/dist/collection/components/text/text.css +14 -1
- package/dist/collection/components/text/text.i18n.en.json +2 -1
- package/dist/collection/components/text/text.i18n.es.json +2 -1
- package/dist/collection/components/text/text.js +16 -16
- package/dist/collection/i18n/text.i18n.en.json +2 -1
- package/dist/collection/i18n/text.i18n.es.json +2 -1
- package/dist/esm/{change-ea574d32.js → change-b077b77c.js} +0 -0
- package/dist/esm/{cursor-0e47f111.js → cursor-cb97384b.js} +0 -0
- package/dist/esm/{heading-cc5ffa8a.js → heading-c03fbe8b.js} +1 -1
- package/dist/esm/{image-c6a3f0c5.js → image-a1336f0a.js} +1 -1
- package/dist/esm/{book-31b8cdde.js → index-2e220677.js} +96 -2
- package/dist/esm/ion-button_13.entry.js +3 -2
- package/dist/esm/ion-card-content_6.entry.js +4 -3
- package/dist/esm/ion-checkbox_3.entry.js +3 -2
- 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 +19 -17
- package/dist/esm/ldf-editable-add-block-menu.entry.js +8 -7
- package/dist/esm/ldf-editable-condition-piece.entry.js +3 -2
- package/dist/esm/ldf-editable-condition.entry.js +3 -2
- package/dist/esm/ldf-editable-filter-documents.entry.js +3 -2
- package/dist/esm/ldf-editable-lookup_2.entry.js +9 -8
- package/dist/esm/ldf-editable-metadata.entry.js +9 -8
- package/dist/esm/ldf-editable-preference-option.entry.js +4 -3
- package/dist/esm/ldf-editable-preference.entry.js +4 -3
- package/dist/esm/ldf-editable-preferences.entry.js +4 -3
- package/dist/esm/ldf-editable-string-list.entry.js +3 -2
- package/dist/esm/ldf-editor.entry.js +3 -3
- package/dist/esm/{option-c16af13a.js → option-e130a4b2.js} +4 -16
- package/dist/esm/{preference-d070d4cb.js → preference-60cdfde3.js} +0 -0
- package/dist/esm/{refrain-75a412cb.js → refrain-9b9f05cc.js} +1 -1
- package/dist/esm/{rubric-f779c469.js → rubric-0d2b870d.js} +9 -478
- package/dist/esm/{specific-class-09c98625.js → specific-class-3f0e0c45.js} +5 -5
- package/dist/esm/{text-ed75fbd4.js → text-801eb7de.js} +1 -1
- package/dist/ldf/i18n/text.i18n.en.json +2 -1
- package/dist/ldf/i18n/text.i18n.es.json +2 -1
- package/dist/ldf/ldf.esm.js +1 -1
- package/dist/ldf/{p-95650471.entry.js → p-05ac8045.entry.js} +1 -1
- package/dist/ldf/{p-23af1bc3.entry.js → p-0d9b71a8.entry.js} +1 -1
- package/dist/ldf/{p-8ec26587.js → p-12d81208.js} +0 -0
- package/dist/ldf/{p-991c0877.js → p-2a08ff25.js} +0 -0
- package/dist/ldf/p-31a1f740.js +1 -0
- package/dist/ldf/p-34e37c39.entry.js +1 -0
- package/dist/ldf/p-37d9f551.entry.js +1 -0
- package/dist/ldf/p-3a7cb4d5.entry.js +1 -0
- package/dist/ldf/p-3e0814c2.entry.js +1 -0
- package/dist/ldf/p-405928d1.js +1 -0
- package/dist/ldf/p-4ed034a1.js +1 -0
- package/dist/ldf/p-5eef960d.entry.js +1 -0
- package/dist/ldf/p-67c52455.entry.js +1 -0
- package/dist/ldf/p-69d493f3.entry.js +1 -0
- package/dist/ldf/{p-5066eaa5.js → p-6a68fa7b.js} +0 -0
- package/dist/ldf/p-80f6ec9f.js +1 -0
- package/dist/ldf/p-82f2facb.entry.js +1 -0
- package/dist/ldf/{p-5b43e6be.js → p-93911ad1.js} +1 -1
- package/dist/ldf/p-9424ca03.entry.js +1 -0
- package/dist/ldf/p-952f8992.entry.js +1 -0
- package/dist/ldf/p-9b008ca8.entry.js +1 -0
- package/dist/ldf/p-a712728b.js +1 -0
- package/dist/ldf/p-b3b245a2.entry.js +1 -0
- package/dist/ldf/p-bc84c531.entry.js +1 -0
- package/dist/ldf/p-be6c5df8.entry.js +1 -0
- package/dist/ldf/p-c02098e2.entry.js +1 -0
- package/dist/ldf/p-cec60628.js +1 -0
- package/dist/ldf/p-ff0452c1.js +3 -0
- package/package.json +1 -1
- package/dist/ldf/p-005ad01b.entry.js +0 -1
- package/dist/ldf/p-00e5ee6b.js +0 -1
- package/dist/ldf/p-03afc8cb.entry.js +0 -1
- package/dist/ldf/p-2ae548b3.entry.js +0 -1
- package/dist/ldf/p-2c39ce94.entry.js +0 -1
- package/dist/ldf/p-304a2bdb.entry.js +0 -1
- package/dist/ldf/p-476327d6.js +0 -1
- package/dist/ldf/p-4aa9a6f2.js +0 -1
- package/dist/ldf/p-594fa9d4.entry.js +0 -1
- package/dist/ldf/p-59683bec.entry.js +0 -1
- package/dist/ldf/p-65563763.entry.js +0 -1
- package/dist/ldf/p-65d26c45.js +0 -1
- package/dist/ldf/p-65ea7ab3.entry.js +0 -1
- package/dist/ldf/p-800a115c.entry.js +0 -1
- package/dist/ldf/p-9c1973a6.entry.js +0 -1
- package/dist/ldf/p-a1729dbd.js +0 -1
- package/dist/ldf/p-c0ef6296.entry.js +0 -1
- package/dist/ldf/p-d56dff05.js +0 -3
- package/dist/ldf/p-e4f0cd91.entry.js +0 -1
- package/dist/ldf/p-e7a449d7.js +0 -1
- package/dist/ldf/p-f0de7628.entry.js +0 -1
- package/dist/ldf/p-fa191f47.entry.js +0 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, H as Host, a as getElement } from './index-f0f6a379.js';
|
|
2
|
-
import { L as LiturgicalDocument } from './
|
|
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 './index-2e220677.js';
|
|
3
|
+
import { B as BibleReading, P as Psalm, L as Liturgy$1, M as Meditation, R as ResponsivePrayer, a as Rubric } from './rubric-0d2b870d.js';
|
|
4
|
+
import { H as Heading } from './heading-c03fbe8b.js';
|
|
5
|
+
import { I as Image } from './image-a1336f0a.js';
|
|
6
|
+
import { O as Option } from './option-e130a4b2.js';
|
|
7
|
+
import { R as Refrain } from './refrain-9b9f05cc.js';
|
|
8
|
+
import { T as Text } from './text-801eb7de.js';
|
|
9
9
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
10
|
+
import './_commonjsHelpers-ba3f0406.js';
|
|
10
11
|
|
|
11
12
|
const MENU = [
|
|
12
13
|
{
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, H as Host, a as getElement } from './index-f0f6a379.js';
|
|
2
|
-
import { C as Condition } from './
|
|
3
|
-
import { C as Change } from './change-
|
|
2
|
+
import { C as Condition } from './index-2e220677.js';
|
|
3
|
+
import { C as Change } from './change-b077b77c.js';
|
|
4
4
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
5
|
+
import './_commonjsHelpers-ba3f0406.js';
|
|
5
6
|
|
|
6
7
|
//import { PROPERS } from './propers';
|
|
7
8
|
const WEEKDAYS = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-f0f6a379.js';
|
|
2
|
-
import { C as Condition } from './
|
|
3
|
-
import { C as Change } from './change-
|
|
2
|
+
import { C as Condition } from './index-2e220677.js';
|
|
3
|
+
import { C as Change } from './change-b077b77c.js';
|
|
4
4
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
5
|
+
import './_commonjsHelpers-ba3f0406.js';
|
|
5
6
|
|
|
6
7
|
const addCondition = "Add a Condition";
|
|
7
8
|
const and = "All of the following are true";
|
|
@@ -1,7 +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 { v as versionToString, O as Option } from './option-
|
|
2
|
+
import { L as LiturgicalDocument } from './index-2e220677.js';
|
|
3
|
+
import { v as versionToString, O as Option } from './option-e130a4b2.js';
|
|
4
4
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
5
|
+
import './_commonjsHelpers-ba3f0406.js';
|
|
5
6
|
|
|
6
7
|
/* Converts a list of documents into a single document showing options in parallel */
|
|
7
8
|
function docsToOption(d, versions = undefined) {
|
|
@@ -1,13 +1,14 @@
|
|
|
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 Change } from './change-
|
|
4
|
-
import { v as versionToString } from './option-
|
|
5
|
-
import { s as specificClass } from './specific-class-
|
|
2
|
+
import { L as LiturgicalDocument } from './index-2e220677.js';
|
|
3
|
+
import { C as Change } from './change-b077b77c.js';
|
|
4
|
+
import { v as versionToString } from './option-e130a4b2.js';
|
|
5
|
+
import { s as specificClass } from './specific-class-3f0e0c45.js';
|
|
6
6
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
7
|
+
import './_commonjsHelpers-ba3f0406.js';
|
|
8
|
+
import './rubric-0d2b870d.js';
|
|
9
|
+
import './heading-c03fbe8b.js';
|
|
10
|
+
import './refrain-9b9f05cc.js';
|
|
11
|
+
import './text-801eb7de.js';
|
|
11
12
|
|
|
12
13
|
const LOCALE_STRINGS = {
|
|
13
14
|
"allowMultiple": "Allow multiple options",
|
|
@@ -1,13 +1,14 @@
|
|
|
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 Change } from './change-
|
|
4
|
-
import { s as specificClass } from './specific-class-
|
|
2
|
+
import { L as LiturgicalDocument } from './index-2e220677.js';
|
|
3
|
+
import { C as Change } from './change-b077b77c.js';
|
|
4
|
+
import { s as specificClass } from './specific-class-3f0e0c45.js';
|
|
5
5
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
6
|
+
import './_commonjsHelpers-ba3f0406.js';
|
|
7
|
+
import './rubric-0d2b870d.js';
|
|
8
|
+
import './heading-c03fbe8b.js';
|
|
9
|
+
import './option-e130a4b2.js';
|
|
10
|
+
import './refrain-9b9f05cc.js';
|
|
11
|
+
import './text-801eb7de.js';
|
|
11
12
|
|
|
12
13
|
const abbreviated = "Abbreviated";
|
|
13
14
|
const advanced = "Advanced Settings";
|
|
@@ -1,8 +1,9 @@
|
|
|
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 './index-2e220677.js';
|
|
3
|
+
import { a as PreferenceOption } from './preference-60cdfde3.js';
|
|
4
|
+
import { C as Change } from './change-b077b77c.js';
|
|
5
5
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
6
|
+
import './_commonjsHelpers-ba3f0406.js';
|
|
6
7
|
|
|
7
8
|
const additional = "Advanced Settings";
|
|
8
9
|
const alternateYear = "“Alternate Year” Reading";
|
|
@@ -1,8 +1,9 @@
|
|
|
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 './index-2e220677.js';
|
|
3
|
+
import { P as Preference, a as PreferenceOption } from './preference-60cdfde3.js';
|
|
4
|
+
import { C as Change } from './change-b077b77c.js';
|
|
5
5
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
6
|
+
import './_commonjsHelpers-ba3f0406.js';
|
|
6
7
|
|
|
7
8
|
const add = "Add an Option";
|
|
8
9
|
const category = "Category";
|
|
@@ -1,11 +1,12 @@
|
|
|
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 './index-2e220677.js';
|
|
4
|
+
import { P as Preference } from './preference-60cdfde3.js';
|
|
5
|
+
import { C as Change } from './change-b077b77c.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';
|
|
9
10
|
|
|
10
11
|
function categoriesToPreferenceTree(categories, preferences) {
|
|
11
12
|
return categories.reduce((obj, category) => (Object.assign(Object.assign({}, obj), { [category]: Object.entries(preferences)
|
|
@@ -1,7 +1,8 @@
|
|
|
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 './index-2e220677.js';
|
|
3
|
+
import { C as Change } from './change-b077b77c.js';
|
|
4
4
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
5
|
+
import './_commonjsHelpers-ba3f0406.js';
|
|
5
6
|
|
|
6
7
|
const category = {
|
|
7
8
|
add: "Add a Category",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-f0f6a379.js';
|
|
2
|
-
import { L as LiturgicalDocument } from './
|
|
3
|
-
import { C as Cursor } from './cursor-
|
|
4
|
-
import { C as Change } from './change-
|
|
2
|
+
import { L as LiturgicalDocument } from './index-2e220677.js';
|
|
3
|
+
import { C as Cursor } from './cursor-cb97384b.js';
|
|
4
|
+
import { C as Change } from './change-b077b77c.js';
|
|
5
5
|
import { e as elementFromPath, q as querySelectorDeep, v as values_js } from './index-1bf6d100.js';
|
|
6
6
|
import './_commonjsHelpers-ba3f0406.js';
|
|
7
7
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as LiturgicalDocument } from './
|
|
1
|
+
import { L as LiturgicalDocument } from './index-2e220677.js';
|
|
2
2
|
|
|
3
3
|
function versionToString(version) {
|
|
4
4
|
if (typeof version === 'string') {
|
|
@@ -16,8 +16,6 @@ const VERSIONS = {
|
|
|
16
16
|
eow: 'EOW',
|
|
17
17
|
coverdale: 'Coverdale',
|
|
18
18
|
rite_i: 'Rite I',
|
|
19
|
-
bhs: 'Hebrew',
|
|
20
|
-
hebrew: 'Hebrew',
|
|
21
19
|
};
|
|
22
20
|
function modifiedVersion(option) {
|
|
23
21
|
return option.type === 'psalm' && option.style === 'psalm' && option.version === 'bcp1979'
|
|
@@ -56,10 +54,7 @@ class Option extends LiturgicalDocument {
|
|
|
56
54
|
var _a, _b, _c;
|
|
57
55
|
const uniqueVersions = this.uniqueVersions(), uniqueLabels = this.uniqueLabels(), uniqueCitations = this.uniqueCitations(), uniqueCanticleNumbers = this.uniqueCanticleNumbers();
|
|
58
56
|
let label = '';
|
|
59
|
-
if (option.
|
|
60
|
-
label = option.version_label;
|
|
61
|
-
}
|
|
62
|
-
else if (option.type == 'liturgy') {
|
|
57
|
+
if (option.type == 'liturgy') {
|
|
63
58
|
label = option.label || option.version_label || 'Option';
|
|
64
59
|
}
|
|
65
60
|
// Psalm 119 parts => Psalm 119: Aleph
|
|
@@ -69,9 +64,6 @@ class Option extends LiturgicalDocument {
|
|
|
69
64
|
(((_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/)))) {
|
|
70
65
|
label = option.label;
|
|
71
66
|
}
|
|
72
|
-
else if (option.type == 'psalm' && uniqueVersions > 1) {
|
|
73
|
-
label = option.version_label || VERSIONS[versionToString(option.version)];
|
|
74
|
-
}
|
|
75
67
|
// Other psalms: Psalm 121
|
|
76
68
|
else if (option.type == 'psalm' &&
|
|
77
69
|
option.style == 'psalm' &&
|
|
@@ -96,17 +88,13 @@ class Option extends LiturgicalDocument {
|
|
|
96
88
|
label = `${option.citation.toString()}${formattedText}`;
|
|
97
89
|
}
|
|
98
90
|
}
|
|
99
|
-
// Readings with same citation + different versions => Version
|
|
100
|
-
else if (option.type == 'bible-reading' && uniqueCitations == 1) {
|
|
101
|
-
label = versionToString(option.version);
|
|
102
|
-
}
|
|
103
91
|
// Readings with one version => John 1:1-4
|
|
104
92
|
else if (option.type == 'bible-reading' && option.citation && uniqueVersions == 1) {
|
|
105
93
|
label = option.citation.toString();
|
|
106
94
|
}
|
|
107
|
-
// Readings with multiple versions => John 1:1-4
|
|
95
|
+
// Readings with multiple versions => John 1:1-4
|
|
108
96
|
else if (option.type == 'bible-reading' && option.citation && uniqueVersions > 1) {
|
|
109
|
-
label = `${option.citation.toString()} (${
|
|
97
|
+
label = `${option.citation.toString()} (${option.version})`;
|
|
110
98
|
}
|
|
111
99
|
// Canticles, if only one version
|
|
112
100
|
else if (uniqueVersions == 1 &&
|
|
File without changes
|