@venite/components 0.16.14 → 0.16.18
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/ion-segment_16.cjs.entry.js +2 -2
- package/dist/cjs/ldf-day-name_5.cjs.entry.js +3 -3
- package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +3 -3
- package/dist/cjs/ldf-editable-metadata.cjs.entry.js +3 -3
- package/dist/cjs/{option-24f3d13a.js → option-a078d432.js} +4 -1
- package/dist/cjs/{rubric-5b467a6a.js → rubric-0afbe4c0.js} +431 -1
- package/dist/cjs/{specific-class-a1112e78.js → specific-class-76b4d343.js} +2 -2
- package/dist/collection/components/string/dist/string.js +2 -2
- package/dist/collection/components/string/string.js +3 -3
- package/dist/esm/ion-segment_16.entry.js +2 -2
- package/dist/esm/ldf-day-name_5.entry.js +3 -3
- package/dist/esm/ldf-editable-add-block-menu.entry.js +2 -2
- package/dist/esm/ldf-editable-filter-documents.entry.js +1 -1
- package/dist/esm/ldf-editable-lookup_2.entry.js +3 -3
- package/dist/esm/ldf-editable-metadata.entry.js +3 -3
- package/dist/esm/{option-da8390ad.js → option-c16af13a.js} +4 -1
- package/dist/esm/{rubric-91bf7fed.js → rubric-f779c469.js} +431 -1
- package/dist/esm/{specific-class-ef83cfb6.js → specific-class-09c98625.js} +2 -2
- package/dist/ldf/ldf.esm.js +1 -1
- package/dist/ldf/{p-5ea6de28.entry.js → p-005ad01b.entry.js} +1 -1
- package/dist/ldf/{p-c60a875b.js → p-00e5ee6b.js} +1 -1
- package/dist/ldf/{p-bdcf2b02.entry.js → p-2c39ce94.entry.js} +1 -1
- package/dist/ldf/{p-1ff665a7.entry.js → p-304a2bdb.entry.js} +1 -1
- package/dist/ldf/{p-1e8c8a66.entry.js → p-95650471.entry.js} +1 -1
- package/dist/ldf/{p-1902f41e.entry.js → p-c0ef6296.entry.js} +1 -1
- package/dist/ldf/p-d56dff05.js +3 -0
- package/dist/ldf/p-e7a449d7.js +1 -0
- package/dist/ldf/p-f184d804.entry.js +1 -0
- package/package.json +2 -2
- package/dist/ldf/p-3f8ef67b.entry.js +0 -1
- package/dist/ldf/p-8f67abb8.js +0 -3
- package/dist/ldf/p-9155f066.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const rubric = require('./rubric-
|
|
3
|
+
const rubric = require('./rubric-0afbe4c0.js');
|
|
4
4
|
const heading = require('./heading-5afc2b24.js');
|
|
5
|
-
const option = require('./option-
|
|
5
|
+
const option = require('./option-a078d432.js');
|
|
6
6
|
const refrain = require('./refrain-91fb446b.js');
|
|
7
7
|
const text = require('./text-5edb80f3.js');
|
|
8
8
|
|
|
@@ -128,8 +128,8 @@ var StringComponent = /** @class */ (function () {
|
|
|
128
128
|
if (firstChunk) {
|
|
129
129
|
var splitTest = (firstChunk || '').split(/[\s.!?\\]/);
|
|
130
130
|
var firstWord = splitTest ? splitTest[0] : '', re = firstWord.length > 2
|
|
131
|
-
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\w
|
|
132
|
-
: /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\w
|
|
131
|
+
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*)/
|
|
132
|
+
: /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*[\s.!?]*[\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/, reIncludingPunctuation = ((_a = firstWord[0]) === null || _a === void 0 ? void 0 : _a.match(/[\"\'“”‘’\!\?\[\]\(\)]/)) ? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff]{2})\s*([\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/
|
|
133
133
|
: re, buffer = firstWord.length == 1, split = firstChunk.split(reIncludingPunctuation).filter(function (s) { return s !== ''; }), match1 = split[0], match2 = split[1], nextWord = split[2];
|
|
134
134
|
final = new Array(React.createElement("span", { "class": 'firstword' },
|
|
135
135
|
React.createElement("span", { "class": buffer ? "drop buffered-drop drop-" + match1 : "drop drop-" + match1 }, match1),
|
|
@@ -117,9 +117,9 @@ export class StringComponent {
|
|
|
117
117
|
if (firstChunk) {
|
|
118
118
|
const splitTest = (firstChunk || '').split(/[\s.!?\\]/);
|
|
119
119
|
const firstWord = splitTest ? splitTest[0] : '', re = firstWord.length > 2
|
|
120
|
-
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\w
|
|
121
|
-
: /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\w
|
|
122
|
-
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\w
|
|
120
|
+
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*)/
|
|
121
|
+
: /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*[\s.!?]*[\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/, reIncludingPunctuation = ((_a = firstWord[0]) === null || _a === void 0 ? void 0 : _a.match(/[\"\'“”‘’\!\?\[\]\(\)]/))
|
|
122
|
+
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff]{2})\s*([\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/
|
|
123
123
|
: re, buffer = firstWord.length == 1, split = firstChunk.split(reIncludingPunctuation).filter(s => s !== ''), [match1, match2, nextWord] = split;
|
|
124
124
|
final = new Array(h("span", { class: 'firstword' },
|
|
125
125
|
h("span", { class: buffer ? `drop buffered-drop drop-${match1}` : `drop drop-${match1}` }, match1),
|
|
@@ -4,9 +4,9 @@ import { p as pointerCoord } from './helpers-8c93393b.js';
|
|
|
4
4
|
import { c as createColorClasses, h as hostContext } from './theme-74c22054.js';
|
|
5
5
|
import { f as alertController, l as loadingController, m as modalController, t as toastController } from './overlays-06b43b65.js';
|
|
6
6
|
import { R as Responsive, L as LiturgicalDocument, d as dateFromYMDString } from './book-31b8cdde.js';
|
|
7
|
-
import { B as BibleReading, L as Liturgy, M as Meditation, P as Psalm, R as ResponsivePrayer, a as Rubric } from './rubric-
|
|
7
|
+
import { B as BibleReading, L as Liturgy, M as Meditation, P as Psalm, R as ResponsivePrayer, a as Rubric } from './rubric-f779c469.js';
|
|
8
8
|
import { H as Heading } from './heading-cc5ffa8a.js';
|
|
9
|
-
import { v as versionToString, O as Option } from './option-
|
|
9
|
+
import { v as versionToString, O as Option } from './option-c16af13a.js';
|
|
10
10
|
import { C as Change } from './change-ea574d32.js';
|
|
11
11
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
12
12
|
import { I as Image } from './image-c6a3f0c5.js';
|
|
@@ -476,9 +476,9 @@ const StringComponent = class {
|
|
|
476
476
|
if (firstChunk) {
|
|
477
477
|
const splitTest = (firstChunk || '').split(/[\s.!?\\]/);
|
|
478
478
|
const firstWord = splitTest ? splitTest[0] : '', re = firstWord.length > 2
|
|
479
|
-
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\w
|
|
480
|
-
: /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\w
|
|
481
|
-
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\w
|
|
479
|
+
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*)/
|
|
480
|
+
: /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff])([\wñáéíóú\u0590-\u05ff\u0370-\u03ff\,]*[\s.!?]*[\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/, reIncludingPunctuation = ((_a = firstWord[0]) === null || _a === void 0 ? void 0 : _a.match(/[\"\'“”‘’\!\?\[\]\(\)]/))
|
|
481
|
+
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\wñáéíóú\u0590-\u05ff\u0370-\u03ff]{2})\s*([\wñáéíóú\u0590-\u05ff\u0370-\u03ff]*)/
|
|
482
482
|
: re, buffer = firstWord.length == 1, split = firstChunk.split(reIncludingPunctuation).filter(s => s !== ''), [match1, match2, nextWord] = split;
|
|
483
483
|
final = new Array(h("span", { class: 'firstword' }, h("span", { class: buffer ? `drop buffered-drop drop-${match1}` : `drop drop-${match1}` }, match1), this.maintainCasing(match2) ? match2 : match2 === null || match2 === void 0 ? void 0 : match2.toLowerCase()))
|
|
484
484
|
.concat(nextWord)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, H as Host, a as getElement } from './index-f0f6a379.js';
|
|
2
2
|
import { L as LiturgicalDocument } from './book-31b8cdde.js';
|
|
3
|
-
import { B as BibleReading, P as Psalm, L as Liturgy$1, M as Meditation, R as ResponsivePrayer, a as Rubric } from './rubric-
|
|
3
|
+
import { B as BibleReading, P as Psalm, L as Liturgy$1, M as Meditation, R as ResponsivePrayer, a as Rubric } from './rubric-f779c469.js';
|
|
4
4
|
import { H as Heading } from './heading-cc5ffa8a.js';
|
|
5
5
|
import { I as Image } from './image-c6a3f0c5.js';
|
|
6
|
-
import { O as Option } from './option-
|
|
6
|
+
import { O as Option } from './option-c16af13a.js';
|
|
7
7
|
import { R as Refrain } from './refrain-75a412cb.js';
|
|
8
8
|
import { T as Text } from './text-ed75fbd4.js';
|
|
9
9
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-f0f6a379.js';
|
|
2
2
|
import { L as LiturgicalDocument } from './book-31b8cdde.js';
|
|
3
|
-
import { v as versionToString, O as Option } from './option-
|
|
3
|
+
import { v as versionToString, O as Option } from './option-c16af13a.js';
|
|
4
4
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
5
5
|
|
|
6
6
|
/* Converts a list of documents into a single document showing options in parallel */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-f0f6a379.js';
|
|
2
2
|
import { L as LiturgicalDocument } from './book-31b8cdde.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-c16af13a.js';
|
|
5
|
+
import { s as specificClass } from './specific-class-09c98625.js';
|
|
6
6
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
7
|
-
import './rubric-
|
|
7
|
+
import './rubric-f779c469.js';
|
|
8
8
|
import './heading-cc5ffa8a.js';
|
|
9
9
|
import './refrain-75a412cb.js';
|
|
10
10
|
import './text-ed75fbd4.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-f0f6a379.js';
|
|
2
2
|
import { L as LiturgicalDocument } from './book-31b8cdde.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-09c98625.js';
|
|
5
5
|
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
6
|
-
import './rubric-
|
|
6
|
+
import './rubric-f779c469.js';
|
|
7
7
|
import './heading-cc5ffa8a.js';
|
|
8
|
-
import './option-
|
|
8
|
+
import './option-c16af13a.js';
|
|
9
9
|
import './refrain-75a412cb.js';
|
|
10
10
|
import './text-ed75fbd4.js';
|
|
11
11
|
|
|
@@ -56,7 +56,10 @@ class Option extends LiturgicalDocument {
|
|
|
56
56
|
var _a, _b, _c;
|
|
57
57
|
const uniqueVersions = this.uniqueVersions(), uniqueLabels = this.uniqueLabels(), uniqueCitations = this.uniqueCitations(), uniqueCanticleNumbers = this.uniqueCanticleNumbers();
|
|
58
58
|
let label = '';
|
|
59
|
-
if (option.
|
|
59
|
+
if (option.version_label) {
|
|
60
|
+
label = option.version_label;
|
|
61
|
+
}
|
|
62
|
+
else if (option.type == 'liturgy') {
|
|
60
63
|
label = option.label || option.version_label || 'Option';
|
|
61
64
|
}
|
|
62
65
|
// Psalm 119 parts => Psalm 119: Aleph
|