@venite/components 0.16.24 → 0.16.27
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-b22a8b22.js → index-de13bd01.js} +0 -0
- package/dist/cjs/ion-segment_16.cjs.entry.js +81 -41
- package/dist/cjs/ldf-day-name_5.cjs.entry.js +21 -15
- package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editor-cursors.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editor.cjs.entry.js +1 -1
- package/dist/collection/components/bible-reading/bible-reading.i18n.es.json +11 -2
- package/dist/collection/components/bible-reading/bible-reading.js +12 -12
- package/dist/collection/components/bible-reading/dist/bible-reading.js +12 -12
- package/dist/collection/components/editable-add-block/editable-add-block.i18n.es.json +5 -0
- package/dist/collection/components/editable-add-block-menu/editable-add-block-menu.i18n.es.json +48 -0
- package/dist/collection/components/editable-antiphon-field/editable-antiphon-field.i18n.es.json +11 -0
- package/dist/collection/components/editable-condition/editable-condition.i18n.es.json +7 -0
- package/dist/collection/components/editable-condition-piece/editable-condition-piece.i18n.es.json +21 -0
- package/dist/collection/components/editable-delete/editable-delete.i18n.es.json +6 -0
- package/dist/collection/components/editable-filter-documents/dist/editable-filter-documents.js +1 -1
- package/dist/collection/components/editable-filter-documents/editable-filter-documents.i18n.es.json +9 -0
- package/dist/collection/components/editable-filter-documents/editable-filter-documents.js +1 -1
- package/dist/collection/components/editable-metadata/editable-metadata.i18n.es.json +51 -0
- package/dist/collection/components/editable-metadata-buttons/editable-metadata-buttons.i18n.es.json +31 -0
- package/dist/collection/components/editable-metadata-metadata-fields/editable-metadata-metadata-fields.i18n.es.json +48 -0
- package/dist/collection/components/editable-preference-option/editable-preference-option.i18n.es.json +9 -0
- package/dist/collection/components/editable-preferences/editable-preferences.i18n.es.json +10 -0
- package/dist/collection/components/editable-string-list/editable-string-list.i18n.es.json +18 -0
- package/dist/collection/components/editable-text/editable-text.i18n.es.json +3 -0
- package/dist/collection/components/heading/heading.i18n.es.json +4 -0
- package/dist/collection/components/image/image.i18n.es.json +4 -0
- package/dist/collection/components/liturgical-document/liturgical-document.i18n.es.json +45 -0
- package/dist/collection/components/meditation/meditation.i18n.es.json +8 -0
- package/dist/collection/components/psalm/dist/psalm.js +3 -1
- package/dist/collection/components/psalm/psalm.i18n.es.json +10 -0
- package/dist/collection/components/psalm/psalm.js +2 -0
- package/dist/collection/components/responsive-prayer/responsive-prayer.i18n.es.json +7 -0
- package/dist/collection/components/string/dist/string.js +4 -4
- package/dist/collection/components/string/string.js +6 -6
- package/dist/collection/components/text/text.i18n.es.json +6 -3
- package/dist/collection/i18n/bible-reading.i18n.es.json +11 -2
- package/dist/collection/i18n/editable-add-block-menu.i18n.es.json +48 -0
- package/dist/collection/i18n/editable-add-block.i18n.es.json +5 -0
- package/dist/collection/i18n/editable-antiphon-field.i18n.es.json +11 -0
- package/dist/collection/i18n/editable-condition-piece.i18n.es.json +21 -0
- package/dist/collection/i18n/editable-condition.i18n.es.json +7 -0
- package/dist/collection/i18n/editable-delete.i18n.es.json +6 -0
- package/dist/collection/i18n/editable-filter-documents.i18n.es.json +9 -0
- package/dist/collection/i18n/editable-metadata-buttons.i18n.es.json +31 -0
- package/dist/collection/i18n/editable-metadata-metadata-fields.i18n.es.json +48 -0
- package/dist/collection/i18n/editable-metadata.i18n.es.json +51 -0
- package/dist/collection/i18n/editable-preference-option.i18n.es.json +9 -0
- package/dist/collection/i18n/editable-preferences.i18n.es.json +10 -0
- package/dist/collection/i18n/editable-string-list.i18n.es.json +18 -0
- package/dist/collection/i18n/editable-text.i18n.es.json +3 -0
- package/dist/collection/i18n/heading.i18n.es.json +4 -0
- package/dist/collection/i18n/image.i18n.es.json +4 -0
- package/dist/collection/i18n/liturgical-document.i18n.es.json +45 -0
- package/dist/collection/i18n/meditation.i18n.es.json +8 -0
- package/dist/collection/i18n/psalm.i18n.es.json +10 -0
- package/dist/collection/i18n/responsive-prayer.i18n.es.json +7 -0
- package/dist/collection/i18n/text.i18n.es.json +6 -3
- package/dist/esm/{index-a3645557.js → index-1bf6d100.js} +0 -0
- package/dist/esm/ion-segment_16.entry.js +69 -29
- package/dist/esm/ldf-day-name_5.entry.js +21 -15
- package/dist/esm/ldf-editable-filter-documents.entry.js +1 -1
- package/dist/esm/ldf-editor-cursors.entry.js +1 -1
- package/dist/esm/ldf-editor.entry.js +1 -1
- package/dist/ldf/i18n/bible-reading.i18n.es.json +11 -2
- package/dist/ldf/i18n/editable-add-block-menu.i18n.es.json +48 -0
- package/dist/ldf/i18n/editable-add-block.i18n.es.json +5 -0
- package/dist/ldf/i18n/editable-antiphon-field.i18n.es.json +11 -0
- package/dist/ldf/i18n/editable-condition-piece.i18n.es.json +21 -0
- package/dist/ldf/i18n/editable-condition.i18n.es.json +7 -0
- package/dist/ldf/i18n/editable-delete.i18n.es.json +6 -0
- package/dist/ldf/i18n/editable-filter-documents.i18n.es.json +9 -0
- package/dist/ldf/i18n/editable-metadata-buttons.i18n.es.json +31 -0
- package/dist/ldf/i18n/editable-metadata-metadata-fields.i18n.es.json +48 -0
- package/dist/ldf/i18n/editable-metadata.i18n.es.json +51 -0
- package/dist/ldf/i18n/editable-preference-option.i18n.es.json +9 -0
- package/dist/ldf/i18n/editable-preferences.i18n.es.json +10 -0
- package/dist/ldf/i18n/editable-string-list.i18n.es.json +18 -0
- package/dist/ldf/i18n/editable-text.i18n.es.json +3 -0
- package/dist/ldf/i18n/heading.i18n.es.json +4 -0
- package/dist/ldf/i18n/image.i18n.es.json +4 -0
- package/dist/ldf/i18n/liturgical-document.i18n.es.json +45 -0
- package/dist/ldf/i18n/meditation.i18n.es.json +8 -0
- package/dist/ldf/i18n/psalm.i18n.es.json +10 -0
- package/dist/ldf/i18n/responsive-prayer.i18n.es.json +7 -0
- package/dist/ldf/i18n/text.i18n.es.json +6 -3
- package/dist/ldf/ldf.esm.js +1 -1
- package/dist/ldf/{p-ba9eda0b.entry.js → p-23af1bc3.entry.js} +1 -1
- package/dist/ldf/{p-8e00a6ae.js → p-3ca74c80.js} +0 -0
- package/dist/ldf/{p-39d4be39.entry.js → p-70e47f8b.entry.js} +1 -1
- package/dist/ldf/p-94949614.entry.js +1 -0
- package/dist/ldf/p-be040ae6.entry.js +1 -0
- package/dist/ldf/{p-304a2bdb.entry.js → p-c1a86b14.entry.js} +1 -1
- package/package.json +2 -2
- package/dist/ldf/p-95650471.entry.js +0 -1
- package/dist/ldf/p-e301606a.entry.js +0 -1
package/dist/collection/components/editable-filter-documents/dist/editable-filter-documents.js
CHANGED
|
@@ -168,7 +168,7 @@ var EditableFilterDocumentsComponent = /** @class */ (function () {
|
|
|
168
168
|
React.createElement("ion-list", null,
|
|
169
169
|
React.createElement("ion-button", { fill: "clear", onClick: function () { _this.chooseDoc(ldf_1.docsToOption(_this.filteredOptions)); _this.choose(); } },
|
|
170
170
|
React.createElement("ion-label", null, localeStrings.includeAll)),
|
|
171
|
-
this.versions && React.createElement("ion-item", null,
|
|
171
|
+
this.versions && Object.values(this.versions).length > 1 && React.createElement("ion-item", null,
|
|
172
172
|
React.createElement("ion-label", null, localeStrings.version),
|
|
173
173
|
React.createElement("ion-select", { value: this.version, onIonChange: function (ev) { return _this.chooseVersion(ev.detail.value); } }, Object.entries(this.versions)
|
|
174
174
|
.sort(function (a, b) { return a[0] > b[0] ? 1 : -1; })
|
|
@@ -90,7 +90,7 @@ export class EditableFilterDocumentsComponent {
|
|
|
90
90
|
h("ion-list", null,
|
|
91
91
|
h("ion-button", { fill: "clear", onClick: () => { this.chooseDoc(docsToOption(this.filteredOptions)); this.choose(); } },
|
|
92
92
|
h("ion-label", null, localeStrings.includeAll)),
|
|
93
|
-
this.versions && h("ion-item", null,
|
|
93
|
+
this.versions && Object.values(this.versions).length > 1 && h("ion-item", null,
|
|
94
94
|
h("ion-label", null, localeStrings.version),
|
|
95
95
|
h("ion-select", { value: this.version, onIonChange: (ev) => this.chooseVersion(ev.detail.value) }, Object.entries(this.versions)
|
|
96
96
|
.sort((a, b) => a[0] > b[0] ? 1 : -1)
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"abbreviated": "Abbreviated",
|
|
3
|
+
"advanced": "Advanced Settings",
|
|
4
|
+
"antiphon": "Antiphon",
|
|
5
|
+
"authorized-prayers": "Prayers & Thanksgivings",
|
|
6
|
+
"bible-reading": "Bible Reading",
|
|
7
|
+
"canticle": "Canticle",
|
|
8
|
+
"category": "Category",
|
|
9
|
+
"citation": "Biblical Citation",
|
|
10
|
+
"collect": "Collect",
|
|
11
|
+
"condition": "Condition",
|
|
12
|
+
"default": "Default",
|
|
13
|
+
"delete": "Delete",
|
|
14
|
+
"display_format": "Display Format",
|
|
15
|
+
"gloria": "Gloria",
|
|
16
|
+
"halfverse": "By Half-Verse",
|
|
17
|
+
"heading": "Heading",
|
|
18
|
+
"invitatory": "Invitatory",
|
|
19
|
+
"label": "Label",
|
|
20
|
+
"language": "Language",
|
|
21
|
+
"lectionary": "Lectionary",
|
|
22
|
+
"litany": "Litany",
|
|
23
|
+
"liturgy": "Liturgy",
|
|
24
|
+
"long": "Long",
|
|
25
|
+
"markdown": "Rich Text (Markdown)",
|
|
26
|
+
"meditation": "Meditation",
|
|
27
|
+
"modalTitle": "Edit Settings",
|
|
28
|
+
"normal": "Normal",
|
|
29
|
+
"omit": "Omit Text",
|
|
30
|
+
"option": "Option",
|
|
31
|
+
"prayer": "Prayer",
|
|
32
|
+
"preces": "Preces",
|
|
33
|
+
"psalm": "Psalm",
|
|
34
|
+
"refrain": "Refrain",
|
|
35
|
+
"responsive": "Responsive Prayer",
|
|
36
|
+
"rubric": "Rubric",
|
|
37
|
+
"settings": "Settings",
|
|
38
|
+
"short": "Short",
|
|
39
|
+
"slug": "Slug",
|
|
40
|
+
"source/source": "Source",
|
|
41
|
+
"source/citation": "Citation within Source",
|
|
42
|
+
"style": "Style",
|
|
43
|
+
"text": "Text",
|
|
44
|
+
"title": "General Settings",
|
|
45
|
+
"tradition": "Tradition",
|
|
46
|
+
"type": "Type",
|
|
47
|
+
"unison": "Unison",
|
|
48
|
+
"version": "Version",
|
|
49
|
+
"version_label": "Version Label",
|
|
50
|
+
"wholeverse": "By Whole Verse"
|
|
51
|
+
}
|
package/dist/collection/components/editable-metadata-buttons/editable-metadata-buttons.i18n.es.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"abbreviated": "Abbreviated",
|
|
3
|
+
"addOption": "Add an Option",
|
|
4
|
+
"cancel": "Cancel",
|
|
5
|
+
"condition": "Conditions",
|
|
6
|
+
"copy": "Copy",
|
|
7
|
+
"copied": "Copied to Clipboard",
|
|
8
|
+
"default": "Default",
|
|
9
|
+
"displayFormat": "Display",
|
|
10
|
+
"halfverse": "By Half Verse",
|
|
11
|
+
"heading": "Heading Level",
|
|
12
|
+
"heading1": "1. Title",
|
|
13
|
+
"heading2": "2. Section Title",
|
|
14
|
+
"heading3": "3. Label",
|
|
15
|
+
"heading4": "4. Sub-Section Label",
|
|
16
|
+
"move_down": "Move Down",
|
|
17
|
+
"move_up": "Move Up",
|
|
18
|
+
"ok": "OK",
|
|
19
|
+
"omit": "Omit",
|
|
20
|
+
"preferences": "Preferences",
|
|
21
|
+
"settings": "Settings",
|
|
22
|
+
"edit": "Edit",
|
|
23
|
+
"preview": "Preview",
|
|
24
|
+
"responsive": "Responsive Display Settings",
|
|
25
|
+
"responsiveMsg": "What size devices should this appear on?",
|
|
26
|
+
"responsiveAll": "All devices",
|
|
27
|
+
"responsiveSmallOnly": "Only on small screens",
|
|
28
|
+
"responsiveSmallHidden": "Not on small screens",
|
|
29
|
+
"unison": "Unison",
|
|
30
|
+
"wholeverse": "By Whole Verse"
|
|
31
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bible-reading": "Bible Reading",
|
|
3
|
+
"changeable": "Changeable (show 'Change ...')",
|
|
4
|
+
"delay": "Delay before Starting",
|
|
5
|
+
"evening": "Evening Liturgy",
|
|
6
|
+
"heading": "Heading",
|
|
7
|
+
"heading1": "1. Title",
|
|
8
|
+
"heading2": "2. Section Title",
|
|
9
|
+
"heading3": "3. Label",
|
|
10
|
+
"heading4": "4. Sub-Section Label",
|
|
11
|
+
"insert_seasonal_antiphon": "Insert Seasonal Antiphon",
|
|
12
|
+
"insert_gloria": "Insert Gloria Patri",
|
|
13
|
+
"intro": "Introduction",
|
|
14
|
+
"label": "Short Label",
|
|
15
|
+
"latinname": "Latin Name",
|
|
16
|
+
"level": "Level",
|
|
17
|
+
"length": "Length of Meditation",
|
|
18
|
+
"liturgy": "Liturgy",
|
|
19
|
+
"liturgyversions": "Liturgy Versions",
|
|
20
|
+
"localname": "English Name",
|
|
21
|
+
"meditation": "Meditation",
|
|
22
|
+
"none": "None",
|
|
23
|
+
"number": "Psalm Number",
|
|
24
|
+
"omit_antiphon": "Omit Antiphon",
|
|
25
|
+
"omit_gloria": "Omit Gloria Patri",
|
|
26
|
+
"omit_label": "Omit Label",
|
|
27
|
+
"omit_response": "Omit Response",
|
|
28
|
+
"preferences": "Preferences",
|
|
29
|
+
"pronouns": "Pronouns to Replace",
|
|
30
|
+
"psalm": "Psalm",
|
|
31
|
+
"response": "Response",
|
|
32
|
+
"responsive": "Responsive Prayer",
|
|
33
|
+
"rollup": "Roll Up (Remove Whitespace)",
|
|
34
|
+
"slug": "End of URL (venite.app/[church name]/____)",
|
|
35
|
+
"special_preferences": "Special Preferences (not saved)",
|
|
36
|
+
"supplement": "Supplemental Devotion",
|
|
37
|
+
"title": "Settings",
|
|
38
|
+
"text": "Text",
|
|
39
|
+
"gloria": "Gloria Patri",
|
|
40
|
+
"insert_gloria_patri": "Insert the Gloria Patri",
|
|
41
|
+
"antiphon": "Antiphon",
|
|
42
|
+
"left": "Left",
|
|
43
|
+
"center": "Center",
|
|
44
|
+
"right": "Right",
|
|
45
|
+
"align": "Alignment",
|
|
46
|
+
"height": "Height",
|
|
47
|
+
"width": "Width"
|
|
48
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"addPreference": "Add Preference",
|
|
3
|
+
"cancel": "Cancel",
|
|
4
|
+
"label": "Label",
|
|
5
|
+
"new_preference": "New Preference",
|
|
6
|
+
"ok": "OK",
|
|
7
|
+
"preferences": "Preferences",
|
|
8
|
+
"special_preferences": "Special Preferences",
|
|
9
|
+
"special_preferences_desc": "These won’t be saved between sessions. (For example, you might include a ‘Footwashing’ setting to be used on Maundy Thursday.)"
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"category": {
|
|
3
|
+
"add": "Add a Category",
|
|
4
|
+
"list": "Categories"
|
|
5
|
+
},
|
|
6
|
+
"except": {
|
|
7
|
+
"add": "Except...",
|
|
8
|
+
"list": "Except the Following"
|
|
9
|
+
},
|
|
10
|
+
"liturgyversions": {
|
|
11
|
+
"add": "Add a Liturgy Version",
|
|
12
|
+
"list": "Liturgy Versions"
|
|
13
|
+
},
|
|
14
|
+
"only": {
|
|
15
|
+
"add": "Only",
|
|
16
|
+
"list": "Only the Following"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bible_version": " in the version ",
|
|
3
|
+
"canticle-1": "The first canticle ",
|
|
4
|
+
"canticle-2": "The second canticle ",
|
|
5
|
+
"category": "All items that match the category ",
|
|
6
|
+
"collect": "The Collect of the Day.",
|
|
7
|
+
"day_of_month_1": "It is the ",
|
|
8
|
+
"day_of_month_2": " day of the month",
|
|
9
|
+
"definedByPreference": " defined by the preference ",
|
|
10
|
+
"fromCanticleTable": " from the canticle table ",
|
|
11
|
+
"fromLectionary": " from the lectionary ",
|
|
12
|
+
"lectionaryReading": "The lectionary reading ",
|
|
13
|
+
"filter-seasonal": " and the current season",
|
|
14
|
+
"filter-evening-true": " and are in the evening ",
|
|
15
|
+
"filter-evening-false": " and are not in the evening ",
|
|
16
|
+
"filter-day": " and the liturgical day ",
|
|
17
|
+
"rotate-true": " (rotating by day)",
|
|
18
|
+
"rotate-false": " (including all possibilities)",
|
|
19
|
+
"slug": "All items with the slug ",
|
|
20
|
+
"condition": "Included when ",
|
|
21
|
+
"and": "all",
|
|
22
|
+
"or": "any",
|
|
23
|
+
"the_day": " the day ",
|
|
24
|
+
"of_the_following": " of the following are true: ",
|
|
25
|
+
"day": "the liturgical day",
|
|
26
|
+
"season": "the liturgical season",
|
|
27
|
+
"week": "the liturgical week",
|
|
28
|
+
"weekday": "the day of the week",
|
|
29
|
+
"feastDay": "a Sunday or Holy Day",
|
|
30
|
+
"is": " is ",
|
|
31
|
+
"is_not": " is not ",
|
|
32
|
+
"only": " one of: ",
|
|
33
|
+
"only_1": "",
|
|
34
|
+
"except": " anything but: ",
|
|
35
|
+
"except_1": " not ",
|
|
36
|
+
"the_preference": "the preference ",
|
|
37
|
+
"the_preference_specified": "chosen in the preference ",
|
|
38
|
+
"the_date": "the date ",
|
|
39
|
+
"lte": " ≤ ",
|
|
40
|
+
"lt": " < ",
|
|
41
|
+
"gt": " > ",
|
|
42
|
+
"gte": " ≥ ",
|
|
43
|
+
"smallOnly": "Only appears on small screens",
|
|
44
|
+
"smallHidden": "Doesn't appear on small screens"
|
|
45
|
+
}
|
|
@@ -59,8 +59,10 @@ var core_2 = require("@stencil/core");
|
|
|
59
59
|
var ldf_1 = require("@venite/ldf");
|
|
60
60
|
var locale_1 = require("../../utils/locale");
|
|
61
61
|
var psalm_i18n_en_json_1 = require("./psalm.i18n.en.json");
|
|
62
|
+
var psalm_i18n_es_json_1 = require("./psalm.i18n.es.json");
|
|
62
63
|
var LOCALE = {
|
|
63
|
-
'en': psalm_i18n_en_json_1["default"]
|
|
64
|
+
'en': psalm_i18n_en_json_1["default"],
|
|
65
|
+
'es': psalm_i18n_es_json_1["default"]
|
|
64
66
|
};
|
|
65
67
|
var PsalmComponent = /** @class */ (function () {
|
|
66
68
|
function PsalmComponent() {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"changeCanticle": "Change Canticle",
|
|
3
|
+
"citation": "(Biblical) Citation",
|
|
4
|
+
"label": "Label",
|
|
5
|
+
"latinname": "Latin Name",
|
|
6
|
+
"section_break_insert": "+ insert section break",
|
|
7
|
+
"section_break_remove": "x remove section break",
|
|
8
|
+
"source": "Source",
|
|
9
|
+
"source_citation": "Citation"
|
|
10
|
+
}
|
|
@@ -3,8 +3,10 @@ import { Component, Element, Prop, Event, Watch, State, h, Host } from '@stencil
|
|
|
3
3
|
import { Psalm, Refrain, Heading, dateFromYMDString, Change } from '@venite/ldf';
|
|
4
4
|
import { getComponentClosestLanguage } from '../../utils/locale';
|
|
5
5
|
import EN from './psalm.i18n.en.json';
|
|
6
|
+
import ES from './psalm.i18n.es.json';
|
|
6
7
|
const LOCALE = {
|
|
7
8
|
'en': EN,
|
|
9
|
+
'es': ES
|
|
8
10
|
};
|
|
9
11
|
export class PsalmComponent {
|
|
10
12
|
constructor() {
|
|
@@ -17,7 +17,7 @@ var StringComponent = /** @class */ (function () {
|
|
|
17
17
|
/**
|
|
18
18
|
* Minimum length (in characters) a string must be to have a dropcap.
|
|
19
19
|
*/
|
|
20
|
-
this.dropcapMinLength =
|
|
20
|
+
this.dropcapMinLength = 180;
|
|
21
21
|
/**
|
|
22
22
|
* Enable or disable replacement of tetragrammaton.
|
|
23
23
|
*/
|
|
@@ -34,7 +34,7 @@ var StringComponent = /** @class */ (function () {
|
|
|
34
34
|
if (this.replaceTetragrammaton) {
|
|
35
35
|
processed = processed.map(function (node) { return typeof node === 'string' ? _this.processTetragrammaton(node) : node; }).flat();
|
|
36
36
|
}
|
|
37
|
-
if (this.dropcap == 'force' || (this.dropcap == 'enabled' && (this.index == 0 || !this.index) && this.text && this.text.length
|
|
37
|
+
if (this.dropcap == 'force' || (this.dropcap == 'enabled' && (this.index == 0 || !this.index) && this.text && this.text.length >= this.dropcapMinLength)) {
|
|
38
38
|
processed = this.processDropcap(processed);
|
|
39
39
|
}
|
|
40
40
|
this.processedString = processed;
|
|
@@ -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
|
-
? /^ ?([\"\'
|
|
132
|
-
: /^ ?([\"\'
|
|
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),
|
|
@@ -8,7 +8,7 @@ export class StringComponent {
|
|
|
8
8
|
/**
|
|
9
9
|
* Minimum length (in characters) a string must be to have a dropcap.
|
|
10
10
|
*/
|
|
11
|
-
this.dropcapMinLength =
|
|
11
|
+
this.dropcapMinLength = 180;
|
|
12
12
|
/**
|
|
13
13
|
* Enable or disable replacement of tetragrammaton.
|
|
14
14
|
*/
|
|
@@ -24,7 +24,7 @@ export class StringComponent {
|
|
|
24
24
|
if (this.replaceTetragrammaton) {
|
|
25
25
|
processed = processed.map(node => typeof node === 'string' ? this.processTetragrammaton(node) : node).flat();
|
|
26
26
|
}
|
|
27
|
-
if (this.dropcap == 'force' || (this.dropcap == 'enabled' && (this.index == 0 || !this.index) && this.text && this.text.length
|
|
27
|
+
if (this.dropcap == 'force' || (this.dropcap == 'enabled' && (this.index == 0 || !this.index) && this.text && this.text.length >= this.dropcapMinLength)) {
|
|
28
28
|
processed = this.processDropcap(processed);
|
|
29
29
|
}
|
|
30
30
|
this.processedString = processed;
|
|
@@ -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
|
-
? /^ ?([\"\'
|
|
121
|
-
: /^ ?([\"\'
|
|
122
|
-
? /^ ?([\"\'
|
|
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),
|
|
@@ -217,7 +217,7 @@ export class StringComponent {
|
|
|
217
217
|
},
|
|
218
218
|
"attribute": "dropcap-min-length",
|
|
219
219
|
"reflect": false,
|
|
220
|
-
"defaultValue": "
|
|
220
|
+
"defaultValue": "180"
|
|
221
221
|
},
|
|
222
222
|
"replaceTetragrammaton": {
|
|
223
223
|
"type": "boolean",
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"amen": "
|
|
3
|
-
"
|
|
4
|
-
"
|
|
2
|
+
"amen": "Amen.",
|
|
3
|
+
"authorized_prayers": "Prayers and Thanksgivings",
|
|
4
|
+
"label": "Label",
|
|
5
|
+
"source": "Source",
|
|
6
|
+
"source_citation": "Citation",
|
|
7
|
+
"prayer-list": "Prayer List"
|
|
5
8
|
}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"amen": "
|
|
3
|
-
"
|
|
2
|
+
"amen": "Amen.",
|
|
3
|
+
"book": "Book",
|
|
4
|
+
"chapter": "Chapter",
|
|
5
|
+
"citation": "Citation (e.g., John 1:1)",
|
|
6
|
+
"label": "Label",
|
|
7
|
+
"loading": "Loading...",
|
|
8
|
+
"verse": "Verse",
|
|
9
|
+
"changeReading": "Change Reading",
|
|
10
|
+
"newCitation": "Biblical citation.",
|
|
11
|
+
"cancel": "Cancel",
|
|
12
|
+
"ok": "OK"
|
|
4
13
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"alleluia": "Alleluia",
|
|
3
|
+
"antiphon": "Antiphon",
|
|
4
|
+
"anthem": "Anthem",
|
|
5
|
+
"authorized-prayers": "Intercessions & Thanksgivings",
|
|
6
|
+
"bible": "Reading",
|
|
7
|
+
"canticle": "Canticle",
|
|
8
|
+
"canticle-blank": "Canticle (Custom)",
|
|
9
|
+
"closing-sentence": "Closing Sentence",
|
|
10
|
+
"collect_of_the_day": "Collect of the Day",
|
|
11
|
+
"confession": "Confession",
|
|
12
|
+
"date": "Date",
|
|
13
|
+
"day": "Liturgical Day",
|
|
14
|
+
"eucharistic-prayer": "Eucharistic Prayer",
|
|
15
|
+
"gloria_patri": "Gloria Patri",
|
|
16
|
+
"heading": "Heading",
|
|
17
|
+
"hymn": "Hymn",
|
|
18
|
+
"image": "Image",
|
|
19
|
+
"invitatory": "Invitatory",
|
|
20
|
+
"lectionary-reading": "Lectionary Reading",
|
|
21
|
+
"litany": "Litany",
|
|
22
|
+
"liturgy": "Liturgy",
|
|
23
|
+
"liturgy-template": "Liturgy (for Templates)",
|
|
24
|
+
"meditation": "Meditation",
|
|
25
|
+
"option": "Option",
|
|
26
|
+
"offertory-sentence": "Offertory Sentence",
|
|
27
|
+
"opening-sentence": "Opening Sentence",
|
|
28
|
+
"our-father": "Lord’s Prayer",
|
|
29
|
+
"postlude": "Postlude",
|
|
30
|
+
"prayer": "Prayer",
|
|
31
|
+
"preces": "Preces",
|
|
32
|
+
"prelude": "Prelude",
|
|
33
|
+
"prayers-of-the-people": "Prayers of the People",
|
|
34
|
+
"proper-preface": "Proper Preface",
|
|
35
|
+
"psalm": "Psalm",
|
|
36
|
+
"psalm-template": "Psalm (for Templates)",
|
|
37
|
+
"psalter": "Lectionary Psalms",
|
|
38
|
+
"refrain": "Refrain",
|
|
39
|
+
"responsive": "Responsive Prayer",
|
|
40
|
+
"rich-text": "Rich Text",
|
|
41
|
+
"rubric": "Rubric",
|
|
42
|
+
"text": "Text",
|
|
43
|
+
"title": "Add a Block",
|
|
44
|
+
"Reading": "Reading",
|
|
45
|
+
"Prayer": "Prayer",
|
|
46
|
+
"Liturgy": "Liturgy",
|
|
47
|
+
"Music": "Music"
|
|
48
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"antiphon": "Antiphon",
|
|
3
|
+
"omit": "Omit Antiphon",
|
|
4
|
+
"insert": "Insert Seasonal Antiphon",
|
|
5
|
+
"text": "Text",
|
|
6
|
+
"table": "Table",
|
|
7
|
+
"add_table_value_header": "Add Antiphon for Date",
|
|
8
|
+
"add_table_value_message": "What date should the antiphon appear? (MM-DD)",
|
|
9
|
+
"cancel": "Cancel",
|
|
10
|
+
"ok": "Okay"
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"date": "Date (Month/Day)",
|
|
3
|
+
"day": "Liturgical Day",
|
|
4
|
+
"dayOfMonth": "Day of Month",
|
|
5
|
+
"dayOfMonthIs": "Day of Month Is",
|
|
6
|
+
"dayOfMonthIsNot": "Day of Month Is Not",
|
|
7
|
+
"except": "Except",
|
|
8
|
+
"feastDay": "Only on Holy Days and Sundays",
|
|
9
|
+
"gt": "After",
|
|
10
|
+
"gte": "On or After",
|
|
11
|
+
"lt": "Before",
|
|
12
|
+
"lte": "Before or On",
|
|
13
|
+
"only": "Only",
|
|
14
|
+
"preference": "Preference",
|
|
15
|
+
"preferenceIs": "=",
|
|
16
|
+
"preferenceIsNot": "≠",
|
|
17
|
+
"preferenceKey": "Key",
|
|
18
|
+
"preferenceValue": "Value",
|
|
19
|
+
"season": "Season",
|
|
20
|
+
"weekday": "Day of the Week"
|
|
21
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"abbreviated": "Abbreviated",
|
|
3
|
+
"addOption": "Add an Option",
|
|
4
|
+
"cancel": "Cancel",
|
|
5
|
+
"condition": "Conditions",
|
|
6
|
+
"copy": "Copy",
|
|
7
|
+
"copied": "Copied to Clipboard",
|
|
8
|
+
"default": "Default",
|
|
9
|
+
"displayFormat": "Display",
|
|
10
|
+
"halfverse": "By Half Verse",
|
|
11
|
+
"heading": "Heading Level",
|
|
12
|
+
"heading1": "1. Title",
|
|
13
|
+
"heading2": "2. Section Title",
|
|
14
|
+
"heading3": "3. Label",
|
|
15
|
+
"heading4": "4. Sub-Section Label",
|
|
16
|
+
"move_down": "Move Down",
|
|
17
|
+
"move_up": "Move Up",
|
|
18
|
+
"ok": "OK",
|
|
19
|
+
"omit": "Omit",
|
|
20
|
+
"preferences": "Preferences",
|
|
21
|
+
"settings": "Settings",
|
|
22
|
+
"edit": "Edit",
|
|
23
|
+
"preview": "Preview",
|
|
24
|
+
"responsive": "Responsive Display Settings",
|
|
25
|
+
"responsiveMsg": "What size devices should this appear on?",
|
|
26
|
+
"responsiveAll": "All devices",
|
|
27
|
+
"responsiveSmallOnly": "Only on small screens",
|
|
28
|
+
"responsiveSmallHidden": "Not on small screens",
|
|
29
|
+
"unison": "Unison",
|
|
30
|
+
"wholeverse": "By Whole Verse"
|
|
31
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bible-reading": "Bible Reading",
|
|
3
|
+
"changeable": "Changeable (show 'Change ...')",
|
|
4
|
+
"delay": "Delay before Starting",
|
|
5
|
+
"evening": "Evening Liturgy",
|
|
6
|
+
"heading": "Heading",
|
|
7
|
+
"heading1": "1. Title",
|
|
8
|
+
"heading2": "2. Section Title",
|
|
9
|
+
"heading3": "3. Label",
|
|
10
|
+
"heading4": "4. Sub-Section Label",
|
|
11
|
+
"insert_seasonal_antiphon": "Insert Seasonal Antiphon",
|
|
12
|
+
"insert_gloria": "Insert Gloria Patri",
|
|
13
|
+
"intro": "Introduction",
|
|
14
|
+
"label": "Short Label",
|
|
15
|
+
"latinname": "Latin Name",
|
|
16
|
+
"level": "Level",
|
|
17
|
+
"length": "Length of Meditation",
|
|
18
|
+
"liturgy": "Liturgy",
|
|
19
|
+
"liturgyversions": "Liturgy Versions",
|
|
20
|
+
"localname": "English Name",
|
|
21
|
+
"meditation": "Meditation",
|
|
22
|
+
"none": "None",
|
|
23
|
+
"number": "Psalm Number",
|
|
24
|
+
"omit_antiphon": "Omit Antiphon",
|
|
25
|
+
"omit_gloria": "Omit Gloria Patri",
|
|
26
|
+
"omit_label": "Omit Label",
|
|
27
|
+
"omit_response": "Omit Response",
|
|
28
|
+
"preferences": "Preferences",
|
|
29
|
+
"pronouns": "Pronouns to Replace",
|
|
30
|
+
"psalm": "Psalm",
|
|
31
|
+
"response": "Response",
|
|
32
|
+
"responsive": "Responsive Prayer",
|
|
33
|
+
"rollup": "Roll Up (Remove Whitespace)",
|
|
34
|
+
"slug": "End of URL (venite.app/[church name]/____)",
|
|
35
|
+
"special_preferences": "Special Preferences (not saved)",
|
|
36
|
+
"supplement": "Supplemental Devotion",
|
|
37
|
+
"title": "Settings",
|
|
38
|
+
"text": "Text",
|
|
39
|
+
"gloria": "Gloria Patri",
|
|
40
|
+
"insert_gloria_patri": "Insert the Gloria Patri",
|
|
41
|
+
"antiphon": "Antiphon",
|
|
42
|
+
"left": "Left",
|
|
43
|
+
"center": "Center",
|
|
44
|
+
"right": "Right",
|
|
45
|
+
"align": "Alignment",
|
|
46
|
+
"height": "Height",
|
|
47
|
+
"width": "Width"
|
|
48
|
+
}
|