@venite/components 0.16.7 → 0.16.13

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.
Files changed (729) hide show
  1. package/dist/cjs/_commonjsHelpers-bcc1208a.js +25 -0
  2. package/dist/cjs/animation-34a434a2.js +957 -0
  3. package/dist/cjs/app-globals-60a4f972.js +7 -0
  4. package/dist/cjs/book-1a92678a.js +287 -0
  5. package/dist/cjs/change-cdb1e8c0.js +16 -0
  6. package/dist/cjs/cubic-bezier-f3b34d27.js +91 -0
  7. package/dist/cjs/cursor-81bfd01e.js +12 -0
  8. package/dist/cjs/focus-visible-5621d6b1.js +45 -0
  9. package/dist/cjs/framework-delegate-84d33ff0.js +37 -0
  10. package/dist/cjs/gesture-controller-5bd9d825.js +193 -0
  11. package/dist/cjs/haptic-88c261ab.js +49 -0
  12. package/dist/cjs/hardware-back-button-8c2f48d2.js +59 -0
  13. package/dist/cjs/heading-5afc2b24.js +21 -0
  14. package/dist/cjs/helpers-41dfb43a.js +110 -0
  15. package/dist/cjs/image-3bee3e73.js +21 -0
  16. package/dist/cjs/index-1a73a70c.js +211 -0
  17. package/dist/cjs/index-4b7e4228.js +135 -0
  18. package/dist/cjs/index-7aa21373.js +92 -0
  19. package/dist/cjs/index-8197bb45.js +441 -0
  20. package/dist/{ldf/index-ea7a35b9.js → cjs/index-8fe0df8d.js} +213 -1242
  21. package/dist/cjs/index-c5bdf2bc.js +167 -0
  22. package/dist/cjs/index-de13bd01.js +463 -0
  23. package/dist/cjs/index-e4c51e4d.js +307 -0
  24. package/dist/cjs/index.cjs.js +8 -0
  25. package/dist/cjs/input-shims-9c2d56bd.js +357 -0
  26. package/dist/cjs/ion-action-sheet.cjs.entry.js +230 -0
  27. package/dist/cjs/ion-alert.cjs.entry.js +386 -0
  28. package/dist/cjs/ion-app.cjs.entry.js +60 -0
  29. package/dist/cjs/ion-avatar.cjs.entry.js +25 -0
  30. package/dist/cjs/ion-back-button.cjs.entry.js +79 -0
  31. package/dist/cjs/ion-backdrop.cjs.entry.js +67 -0
  32. package/dist/cjs/ion-badge.cjs.entry.js +27 -0
  33. package/dist/cjs/ion-button_13.cjs.entry.js +1786 -0
  34. package/dist/cjs/ion-card-content_6.cjs.entry.js +405 -0
  35. package/dist/cjs/ion-card-subtitle.cjs.entry.js +27 -0
  36. package/dist/cjs/ion-card_2.cjs.entry.js +91 -0
  37. package/dist/cjs/ion-checkbox_3.cjs.entry.js +234 -0
  38. package/dist/cjs/ion-chip.cjs.entry.js +31 -0
  39. package/dist/cjs/ion-datetime_2.cjs.entry.js +1125 -0
  40. package/dist/cjs/ion-fab-button.cjs.entry.js +74 -0
  41. package/dist/cjs/ion-fab-list.cjs.entry.js +45 -0
  42. package/dist/cjs/ion-fab.cjs.entry.js +74 -0
  43. package/dist/cjs/ion-footer.cjs.entry.js +43 -0
  44. package/dist/cjs/ion-img.cjs.entry.js +72 -0
  45. package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +37 -0
  46. package/dist/cjs/ion-infinite-scroll.cjs.entry.js +206 -0
  47. package/dist/cjs/ion-input_2.cjs.entry.js +2645 -0
  48. package/dist/cjs/ion-item-divider.cjs.entry.js +36 -0
  49. package/dist/cjs/ion-item-group.cjs.entry.js +31 -0
  50. package/dist/cjs/ion-item-option.cjs.entry.js +55 -0
  51. package/dist/cjs/ion-item-options.cjs.entry.js +47 -0
  52. package/dist/cjs/ion-item-sliding.cjs.entry.js +359 -0
  53. package/dist/cjs/ion-list-header.cjs.entry.js +28 -0
  54. package/dist/cjs/ion-loading.cjs.entry.js +213 -0
  55. package/dist/cjs/ion-menu-button.cjs.entry.js +61 -0
  56. package/dist/cjs/ion-menu-toggle.cjs.entry.js +47 -0
  57. package/dist/cjs/ion-menu.cjs.entry.js +456 -0
  58. package/dist/cjs/ion-modal.cjs.entry.js +488 -0
  59. package/dist/cjs/ion-nav-link.cjs.entry.js +44 -0
  60. package/dist/cjs/ion-nav.cjs.entry.js +812 -0
  61. package/dist/cjs/ion-note.cjs.entry.js +27 -0
  62. package/dist/cjs/ion-picker-column.cjs.entry.js +327 -0
  63. package/dist/cjs/ion-picker.cjs.entry.js +214 -0
  64. package/dist/cjs/ion-popover.cjs.entry.js +363 -0
  65. package/dist/cjs/ion-progress-bar.cjs.entry.js +67 -0
  66. package/dist/cjs/ion-radio_2.cjs.entry.js +149 -0
  67. package/dist/cjs/ion-range.cjs.entry.js +395 -0
  68. package/dist/cjs/ion-refresher-content.cjs.entry.js +40 -0
  69. package/dist/cjs/ion-refresher.cjs.entry.js +832 -0
  70. package/dist/cjs/ion-reorder-group.cjs.entry.js +281 -0
  71. package/dist/cjs/ion-reorder.cjs.entry.js +31 -0
  72. package/dist/cjs/ion-route-redirect.cjs.entry.js +24 -0
  73. package/dist/cjs/ion-route.cjs.entry.js +49 -0
  74. package/dist/cjs/ion-router-link.cjs.entry.js +35 -0
  75. package/dist/cjs/ion-router-outlet.cjs.entry.js +160 -0
  76. package/dist/cjs/ion-router.cjs.entry.js +631 -0
  77. package/dist/cjs/ion-segment_16.cjs.entry.js +2507 -0
  78. package/dist/cjs/ion-select-popover.cjs.entry.js +33 -0
  79. package/dist/cjs/ion-select_2.cjs.entry.js +444 -0
  80. package/dist/cjs/ion-slide.cjs.entry.js +25 -0
  81. package/dist/cjs/ion-slides.cjs.entry.js +404 -0
  82. package/dist/cjs/ion-spinner.cjs.entry.js +60 -0
  83. package/dist/cjs/ion-split-pane.cjs.entry.js +150 -0
  84. package/dist/cjs/ion-tab-bar.cjs.entry.js +58 -0
  85. package/dist/cjs/ion-tab-button.cjs.entry.js +99 -0
  86. package/dist/cjs/ion-tab.cjs.entry.js +58 -0
  87. package/dist/cjs/ion-tabs.cjs.entry.js +155 -0
  88. package/dist/cjs/ion-text.cjs.entry.js +22 -0
  89. package/dist/cjs/ion-textarea.cjs.entry.js +217 -0
  90. package/dist/cjs/ion-thumbnail.cjs.entry.js +20 -0
  91. package/dist/cjs/ion-toast.cjs.entry.js +280 -0
  92. package/dist/cjs/ion-virtual-scroll.cjs.entry.js +544 -0
  93. package/dist/cjs/ionic-global-581fb4f8.js +204 -0
  94. package/dist/cjs/ios.transition-7244ac4e.js +459 -0
  95. package/dist/cjs/ldf-day-name_5.cjs.entry.js +5682 -0
  96. package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +573 -0
  97. package/dist/cjs/ldf-editable-condition-piece.cjs.entry.js +220 -0
  98. package/dist/cjs/ldf-editable-condition.cjs.entry.js +106 -0
  99. package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +152 -0
  100. package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +496 -0
  101. package/dist/cjs/ldf-editable-metadata.cjs.entry.js +186 -0
  102. package/dist/cjs/ldf-editable-preference-option.cjs.entry.js +72 -0
  103. package/dist/cjs/ldf-editable-preference.cjs.entry.js +89 -0
  104. package/dist/cjs/ldf-editable-preferences.cjs.entry.js +200 -0
  105. package/dist/cjs/ldf-editable-string-list.cjs.entry.js +134 -0
  106. package/dist/cjs/ldf-editor-cursors.cjs.entry.js +276 -0
  107. package/dist/cjs/ldf-editor.cjs.entry.js +238 -0
  108. package/dist/cjs/ldf.cjs.js +22 -0
  109. package/dist/cjs/loader.cjs.js +24 -0
  110. package/dist/cjs/locale-d4e925b1.js +8 -0
  111. package/dist/cjs/md.transition-d86b1ef0.js +62 -0
  112. package/dist/cjs/menu-toggle-util-293e388b.js +11 -0
  113. package/dist/cjs/option-24f3d13a.js +167 -0
  114. package/dist/cjs/overlays-eb464d6d.js +228 -0
  115. package/dist/cjs/preference-a4bd51c4.js +23 -0
  116. package/dist/cjs/refrain-91fb446b.js +21 -0
  117. package/dist/cjs/rubric-5b467a6a.js +1220 -0
  118. package/dist/cjs/specific-class-a1112e78.js +38 -0
  119. package/dist/cjs/spinner-configs-b0bec093.js +112 -0
  120. package/dist/cjs/status-tap-7afb25f5.js +25 -0
  121. package/dist/cjs/swipe-back-f887168e.js +52 -0
  122. package/dist/cjs/swiper.bundle-cb0f61f7.js +6246 -0
  123. package/dist/cjs/tap-click-e0af5237.js +169 -0
  124. package/dist/cjs/text-5edb80f3.js +18 -0
  125. package/dist/cjs/theme-81caa5b0.js +47 -0
  126. package/dist/collection/collection-manifest.json +146 -0
  127. package/dist/collection/components/bible-reading/bible-reading.css +84 -0
  128. package/dist/collection/components/bible-reading/bible-reading.i18n.en.json +13 -0
  129. package/dist/collection/components/bible-reading/bible-reading.i18n.es.json +4 -0
  130. package/dist/collection/components/bible-reading/bible-reading.js +328 -0
  131. package/dist/collection/components/bible-reading/dist/bible-reading.js +354 -0
  132. package/dist/collection/components/bible-reading/fetch-reading.js +17 -0
  133. package/dist/collection/components/day-name/day-name.css +18 -0
  134. package/dist/collection/components/day-name/day-name.i18n.en.json +4 -0
  135. package/dist/{ldf/ldf-day-name.entry.js → collection/components/day-name/day-name.js} +54 -27
  136. package/dist/collection/components/editable-add-block/editable-add-block.css +93 -0
  137. package/dist/collection/components/editable-add-block/editable-add-block.i18n.en.json +5 -0
  138. package/dist/collection/components/editable-add-block/editable-add-block.js +135 -0
  139. package/dist/collection/components/editable-add-block-menu/dist/menu-options.js +230 -0
  140. package/dist/collection/components/editable-add-block-menu/editable-add-block-menu.css +33 -0
  141. package/dist/collection/components/editable-add-block-menu/editable-add-block-menu.i18n.en.json +48 -0
  142. package/dist/collection/components/editable-add-block-menu/editable-add-block-menu.js +101 -0
  143. package/dist/collection/components/editable-add-block-menu/menu-options.js +423 -0
  144. package/dist/collection/components/editable-antiphon-field/editable-antiphon-field.i18n.en.json +11 -0
  145. package/dist/collection/components/editable-antiphon-field/editable-antiphon-field.js +332 -0
  146. package/dist/collection/components/editable-antiphon-field/ldf-editable-antiphon-field.css +7 -0
  147. package/dist/collection/components/editable-boolean/editable-boolean.js +117 -0
  148. package/dist/collection/components/editable-condition/editable-condition.i18n.en.json +7 -0
  149. package/dist/collection/components/editable-condition/editable-condition.js +192 -0
  150. package/dist/collection/components/editable-condition-piece/dist/editable-condition-piece.js +257 -0
  151. package/dist/collection/components/editable-condition-piece/editable-condition-piece.css +34 -0
  152. package/dist/collection/components/editable-condition-piece/editable-condition-piece.i18n.en.json +21 -0
  153. package/dist/collection/components/editable-condition-piece/editable-condition-piece.js +233 -0
  154. package/dist/collection/components/editable-condition-piece/except-only-strings.js +12 -0
  155. package/dist/collection/components/editable-condition-piece/except-only.js +20 -0
  156. package/dist/collection/components/editable-delete/editable-delete.i18n.en.json +6 -0
  157. package/dist/collection/components/editable-delete/editable-delete.js +175 -0
  158. package/dist/collection/components/editable-filter-documents/dist/editable-filter-documents.js +242 -0
  159. package/dist/collection/components/editable-filter-documents/editable-filter-documents.css +11 -0
  160. package/dist/collection/components/editable-filter-documents/editable-filter-documents.i18n.en.json +9 -0
  161. package/dist/collection/components/editable-filter-documents/editable-filter-documents.js +294 -0
  162. package/dist/collection/components/editable-lookup/editable-lookup.js +210 -0
  163. package/dist/collection/components/editable-metadata/editable-metadata.css +44 -0
  164. package/dist/collection/components/editable-metadata/editable-metadata.i18n.en.json +51 -0
  165. package/dist/collection/components/editable-metadata/editable-metadata.js +261 -0
  166. package/dist/collection/components/editable-metadata-buttons/dist/editable-metadata-buttons.js +444 -0
  167. package/dist/collection/components/editable-metadata-buttons/editable-metadata-buttons.css +37 -0
  168. package/dist/collection/components/editable-metadata-buttons/editable-metadata-buttons.i18n.en.json +31 -0
  169. package/dist/collection/components/editable-metadata-buttons/editable-metadata-buttons.js +433 -0
  170. package/dist/collection/components/editable-metadata-metadata-fields/dist/editable-metadata-metadata-fields.js +399 -0
  171. package/dist/collection/components/editable-metadata-metadata-fields/editable-metadata-metadata-fields.i18n.en.json +48 -0
  172. package/dist/collection/components/editable-metadata-metadata-fields/editable-metadata-metadata-fields.js +438 -0
  173. package/dist/collection/components/editable-preference/editable-preference.i18n.en.json +8 -0
  174. package/dist/collection/components/editable-preference/editable-preference.js +166 -0
  175. package/dist/collection/components/editable-preference-option/editable-preference-option.i18n.en.json +9 -0
  176. package/dist/collection/components/editable-preference-option/editable-preference-option.js +128 -0
  177. package/dist/collection/components/editable-preferences/dist/editable-preferences.js +281 -0
  178. package/dist/collection/components/editable-preferences/editable-preferences.css +3 -0
  179. package/dist/collection/components/editable-preferences/editable-preferences.i18n.en.json +10 -0
  180. package/dist/collection/components/editable-preferences/editable-preferences.js +230 -0
  181. package/dist/collection/components/editable-preferences/preference-tree.js +24 -0
  182. package/dist/collection/components/editable-select/dist/editable-select.js +69 -0
  183. package/dist/collection/components/editable-select/editable-select.css +0 -0
  184. package/dist/collection/components/editable-select/editable-select.js +157 -0
  185. package/dist/collection/components/editable-string-list/dist/editable-string-list.js +207 -0
  186. package/dist/collection/components/editable-string-list/editable-string-list.css +21 -0
  187. package/dist/collection/components/editable-string-list/editable-string-list.i18n.en.json +18 -0
  188. package/dist/collection/components/editable-string-list/editable-string-list.js +194 -0
  189. package/dist/collection/components/editable-text/dist/editable-text.js +300 -0
  190. package/dist/collection/components/editable-text/dist/handle-input.js +52 -0
  191. package/dist/collection/components/editable-text/editable-text.css +53 -0
  192. package/dist/collection/components/editable-text/editable-text.i18n.en.json +3 -0
  193. package/dist/collection/components/editable-text/editable-text.js +473 -0
  194. package/dist/collection/components/editable-text/handle-input.js +47 -0
  195. package/dist/collection/components/editor/dist/editor.js +403 -0
  196. package/dist/collection/components/editor/editor.css +41 -0
  197. package/dist/collection/components/editor/editor.js +579 -0
  198. package/dist/collection/components/editor-cursors/editor-cursors.css +43 -0
  199. package/dist/collection/components/editor-cursors/editor-cursors.js +228 -0
  200. package/dist/collection/components/heading/dist/heading.js +210 -0
  201. package/dist/collection/components/heading/editable-node.js +2 -0
  202. package/dist/collection/components/heading/heading.css +96 -0
  203. package/dist/collection/components/heading/heading.i18n.en.json +4 -0
  204. package/dist/collection/components/heading/heading.js +198 -0
  205. package/dist/collection/components/image/image.css +75 -0
  206. package/dist/collection/components/image/image.i18n.en.json +4 -0
  207. package/dist/collection/components/image/image.js +303 -0
  208. package/dist/collection/components/label-bar/label-bar.css +40 -0
  209. package/dist/collection/components/label-bar/label-bar.js +49 -0
  210. package/dist/collection/components/liturgical-document/condition-node.js +86 -0
  211. package/dist/collection/components/liturgical-document/dist/liturgical-document.js +341 -0
  212. package/dist/collection/components/liturgical-document/liturgical-document.css +73 -0
  213. package/dist/collection/components/liturgical-document/liturgical-document.i18n.en.json +45 -0
  214. package/dist/collection/components/liturgical-document/liturgical-document.js +465 -0
  215. package/dist/collection/components/liturgical-document/lookup-node.js +80 -0
  216. package/dist/collection/components/liturgy/liturgy.js +138 -0
  217. package/dist/collection/components/meditation/dist/meditation.js +345 -0
  218. package/dist/collection/components/meditation/meditation.css +63 -0
  219. package/dist/collection/components/meditation/meditation.i18n.en.json +8 -0
  220. package/dist/collection/components/meditation/meditation.js +409 -0
  221. package/dist/collection/components/option/dist/option.js +318 -0
  222. package/dist/collection/components/option/option.css +8 -0
  223. package/dist/collection/components/option/option.i18n.en.json +3 -0
  224. package/dist/{ldf/ldf-option.entry.js → collection/components/option/option.js} +214 -31
  225. package/dist/collection/components/prayers-and-thanksgivings/dist/prayers-and-thanksgivings.js +258 -0
  226. package/dist/collection/components/prayers-and-thanksgivings/prayers-and-thanksgivings.css +3 -0
  227. package/dist/collection/components/prayers-and-thanksgivings/prayers-and-thanksgivings.i18n.en.json +3 -0
  228. package/dist/collection/components/prayers-and-thanksgivings/prayers-and-thanksgivings.js +265 -0
  229. package/dist/collection/components/psalm/dist/psalm.js +383 -0
  230. package/dist/collection/components/psalm/psalm.css +152 -0
  231. package/dist/collection/components/psalm/psalm.i18n.en.json +10 -0
  232. package/dist/collection/components/psalm/psalm.js +361 -0
  233. package/dist/collection/components/refrain/refrain.css +42 -0
  234. package/dist/collection/components/refrain/refrain.js +105 -0
  235. package/dist/collection/components/responsive-prayer/responsive-prayer.css +83 -0
  236. package/dist/collection/components/responsive-prayer/responsive-prayer.i18n.en.json +7 -0
  237. package/dist/collection/components/responsive-prayer/responsive-prayer.js +215 -0
  238. package/dist/collection/components/rubric/rubric.css +9 -0
  239. package/dist/collection/components/rubric/rubric.js +104 -0
  240. package/dist/collection/components/string/dist/string.js +194 -0
  241. package/dist/collection/components/string/string.css +60 -0
  242. package/dist/{ldf/ldf-string.entry.js → collection/components/string/string.js} +179 -18
  243. package/dist/collection/components/text/dist/text.js +234 -0
  244. package/dist/collection/components/text/text.css +52 -0
  245. package/dist/collection/components/text/text.i18n.en.json +7 -0
  246. package/dist/collection/components/text/text.i18n.es.json +3 -0
  247. package/dist/collection/components/text/text.js +224 -0
  248. package/dist/collection/i18n/bible-reading.i18n.en.json +13 -0
  249. package/dist/collection/i18n/bible-reading.i18n.es.json +4 -0
  250. package/dist/collection/i18n/day-name.i18n.en.json +4 -0
  251. package/dist/collection/i18n/editable-add-block-menu.i18n.en.json +48 -0
  252. package/dist/collection/i18n/editable-add-block.i18n.en.json +5 -0
  253. package/dist/collection/i18n/editable-antiphon-field.i18n.en.json +11 -0
  254. package/dist/collection/i18n/editable-condition-piece.i18n.en.json +21 -0
  255. package/dist/collection/i18n/editable-condition.i18n.en.json +7 -0
  256. package/dist/collection/i18n/editable-delete.i18n.en.json +6 -0
  257. package/dist/collection/i18n/editable-filter-documents.i18n.en.json +9 -0
  258. package/dist/collection/i18n/editable-metadata-buttons.i18n.en.json +31 -0
  259. package/dist/collection/i18n/editable-metadata-metadata-fields.i18n.en.json +48 -0
  260. package/dist/collection/i18n/editable-metadata.i18n.en.json +51 -0
  261. package/dist/collection/i18n/editable-preference-option.i18n.en.json +9 -0
  262. package/dist/collection/i18n/editable-preference.i18n.en.json +8 -0
  263. package/dist/collection/i18n/editable-preferences.i18n.en.json +10 -0
  264. package/dist/collection/i18n/editable-string-list.i18n.en.json +18 -0
  265. package/dist/collection/i18n/editable-text.i18n.en.json +3 -0
  266. package/dist/collection/i18n/heading.i18n.en.json +4 -0
  267. package/dist/collection/i18n/image.i18n.en.json +4 -0
  268. package/dist/collection/i18n/liturgical-document.i18n.en.json +45 -0
  269. package/dist/collection/i18n/meditation.i18n.en.json +8 -0
  270. package/dist/collection/i18n/option.i18n.en.json +3 -0
  271. package/dist/collection/i18n/prayers-and-thanksgivings.i18n.en.json +3 -0
  272. package/dist/collection/i18n/psalm.i18n.en.json +10 -0
  273. package/dist/collection/i18n/responsive-prayer.i18n.en.json +7 -0
  274. package/dist/collection/i18n/text.i18n.en.json +7 -0
  275. package/dist/collection/i18n/text.i18n.es.json +3 -0
  276. package/dist/collection/index.js +2 -0
  277. package/dist/collection/interfaces/add-option-to-doc.js +1 -0
  278. package/dist/collection/interfaces/dist/menu-option.js +9 -0
  279. package/dist/collection/interfaces/index.js +2 -0
  280. package/dist/collection/interfaces/menu-option.js +2 -0
  281. package/dist/collection/utils/element-from-path.js +14 -0
  282. package/dist/{ldf/locale-d595f8f6.js → collection/utils/locale.js} +2 -4
  283. package/dist/esm/_commonjsHelpers-ba3f0406.js +21 -0
  284. package/dist/{ldf/animation-6b850b6a.js → esm/animation-7a1025d0.js} +1 -1
  285. package/dist/{ldf/app-globals-d4376e8c.js → esm/app-globals-729b03cf.js} +1 -1
  286. package/dist/esm/book-31b8cdde.js +282 -0
  287. package/dist/esm/change-ea574d32.js +14 -0
  288. package/dist/{ldf → esm}/cubic-bezier-89113939.js +0 -0
  289. package/dist/esm/cursor-0e47f111.js +10 -0
  290. package/dist/{ldf → esm}/focus-visible-571e113e.js +0 -0
  291. package/dist/{ldf → esm}/framework-delegate-7af2c551.js +0 -0
  292. package/dist/esm/gesture-controller-5bf8565e.js +191 -0
  293. package/dist/{ldf/haptic-0d102c16.js → esm/haptic-fc16a4d8.js} +0 -24
  294. package/dist/{ldf → esm}/hardware-back-button-b3b61715.js +0 -0
  295. package/dist/esm/heading-cc5ffa8a.js +19 -0
  296. package/dist/{ldf/helpers-e9bf4204.js → esm/helpers-8c93393b.js} +0 -3
  297. package/dist/esm/image-c6a3f0c5.js +19 -0
  298. package/dist/{ldf/index-dd274afe.js → esm/index-1bf6d100.js} +3 -31
  299. package/dist/{ldf/index-4505cc02.js → esm/index-734a6b69.js} +2 -2
  300. package/dist/{ldf/index-9b41fcc6.js → esm/index-82044e24.js} +3 -190
  301. package/dist/{ldf → esm}/index-86d5f3ab.js +0 -0
  302. package/dist/{ldf/index-fc8c2f30.js → esm/index-9579282b.js} +3 -3
  303. package/dist/{ldf → esm}/index-c7ecbd63.js +0 -0
  304. package/dist/{ldf/index-7845c707.js → esm/index-f08f6130.js} +1 -6
  305. package/dist/esm/index-f0f6a379.js +1765 -0
  306. package/dist/esm/index.js +4 -0
  307. package/dist/{ldf/input-shims-b58afc2a.js → esm/input-shims-a4ad2743.js} +5 -7
  308. package/dist/{ldf → esm}/ion-action-sheet.entry.js +5 -5
  309. package/dist/{ldf → esm}/ion-alert.entry.js +5 -5
  310. package/dist/{ldf → esm}/ion-app.entry.js +6 -6
  311. package/dist/{ldf → esm}/ion-avatar.entry.js +2 -2
  312. package/dist/{ldf → esm}/ion-back-button.entry.js +2 -2
  313. package/dist/{ldf → esm}/ion-backdrop.entry.js +3 -3
  314. package/dist/{ldf → esm}/ion-badge.entry.js +2 -2
  315. package/dist/esm/ion-button_13.entry.js +1770 -0
  316. package/dist/esm/ion-card-content_6.entry.js +396 -0
  317. package/dist/{ldf → esm}/ion-card-subtitle.entry.js +2 -2
  318. package/dist/{ldf/ion-card.entry.js → esm/ion-card_2.entry.js} +27 -3
  319. package/dist/{ldf/ion-checkbox.entry.js → esm/ion-checkbox_3.entry.js} +123 -4
  320. package/dist/{ldf → esm}/ion-chip.entry.js +2 -2
  321. package/dist/{ldf/ion-datetime.entry.js → esm/ion-datetime_2.entry.js} +152 -6
  322. package/dist/{ldf → esm}/ion-fab-button.entry.js +3 -3
  323. package/dist/{ldf → esm}/ion-fab-list.entry.js +2 -2
  324. package/dist/{ldf → esm}/ion-fab.entry.js +2 -2
  325. package/dist/{ldf → esm}/ion-footer.entry.js +2 -2
  326. package/dist/{ldf → esm}/ion-img.entry.js +2 -2
  327. package/dist/{ldf → esm}/ion-infinite-scroll-content.entry.js +2 -2
  328. package/dist/{ldf → esm}/ion-infinite-scroll.entry.js +2 -2
  329. package/dist/{ldf/ldf-editable-text.entry.js → esm/ion-input_2.entry.js} +222 -12
  330. package/dist/{ldf → esm}/ion-item-divider.entry.js +2 -2
  331. package/dist/{ldf → esm}/ion-item-group.entry.js +2 -2
  332. package/dist/{ldf → esm}/ion-item-option.entry.js +2 -2
  333. package/dist/{ldf → esm}/ion-item-options.entry.js +3 -3
  334. package/dist/{ldf → esm}/ion-item-sliding.entry.js +4 -4
  335. package/dist/{ldf → esm}/ion-list-header.entry.js +2 -2
  336. package/dist/{ldf → esm}/ion-loading.entry.js +5 -5
  337. package/dist/{ldf → esm}/ion-menu-button.entry.js +6 -6
  338. package/dist/{ldf → esm}/ion-menu-toggle.entry.js +6 -6
  339. package/dist/{ldf → esm}/ion-menu.entry.js +7 -11
  340. package/dist/{ldf → esm}/ion-modal.entry.js +8 -7
  341. package/dist/{ldf → esm}/ion-nav-link.entry.js +1 -1
  342. package/dist/{ldf → esm}/ion-nav.entry.js +5 -9
  343. package/dist/{ldf → esm}/ion-note.entry.js +2 -2
  344. package/dist/{ldf → esm}/ion-picker-column.entry.js +5 -5
  345. package/dist/{ldf → esm}/ion-picker.entry.js +5 -5
  346. package/dist/{ldf → esm}/ion-popover.entry.js +6 -6
  347. package/dist/{ldf → esm}/ion-progress-bar.entry.js +3 -3
  348. package/dist/{ldf/ion-radio.entry.js → esm/ion-radio_2.entry.js} +57 -4
  349. package/dist/{ldf → esm}/ion-range.entry.js +4 -4
  350. package/dist/{ldf → esm}/ion-refresher-content.entry.js +2 -2
  351. package/dist/{ldf → esm}/ion-refresher.entry.js +7 -57
  352. package/dist/{ldf → esm}/ion-reorder-group.entry.js +4 -4
  353. package/dist/{ldf → esm}/ion-reorder.entry.js +2 -2
  354. package/dist/{ldf → esm}/ion-route-redirect.entry.js +1 -1
  355. package/dist/{ldf → esm}/ion-route.entry.js +1 -1
  356. package/dist/{ldf → esm}/ion-router-link.entry.js +2 -2
  357. package/dist/{ldf → esm}/ion-router-outlet.entry.js +4 -4
  358. package/dist/{ldf → esm}/ion-router.entry.js +2 -2
  359. package/dist/esm/ion-segment_16.entry.js +2488 -0
  360. package/dist/{ldf → esm}/ion-select-popover.entry.js +3 -3
  361. package/dist/{ldf/ion-select.entry.js → esm/ion-select_2.entry.js} +24 -5
  362. package/dist/{ldf → esm}/ion-slide.entry.js +2 -2
  363. package/dist/{ldf → esm}/ion-slides.entry.js +3 -3
  364. package/dist/{ldf → esm}/ion-spinner.entry.js +2 -2
  365. package/dist/{ldf → esm}/ion-split-pane.entry.js +2 -8
  366. package/dist/{ldf → esm}/ion-tab-bar.entry.js +2 -2
  367. package/dist/{ldf → esm}/ion-tab-button.entry.js +2 -2
  368. package/dist/{ldf → esm}/ion-tab.entry.js +1 -9
  369. package/dist/{ldf → esm}/ion-tabs.entry.js +1 -1
  370. package/dist/{ldf → esm}/ion-text.entry.js +2 -2
  371. package/dist/{ldf → esm}/ion-textarea.entry.js +5 -5
  372. package/dist/{ldf → esm}/ion-thumbnail.entry.js +2 -2
  373. package/dist/{ldf → esm}/ion-toast.entry.js +5 -5
  374. package/dist/{ldf → esm}/ion-virtual-scroll.entry.js +1 -1
  375. package/dist/{ldf/ionic-global-98eeb119.js → esm/ionic-global-ef89a0a5.js} +1 -2
  376. package/dist/{ldf/ios.transition-1d534d59.js → esm/ios.transition-b1be0863.js} +4 -4
  377. package/dist/{ldf/ldf-text.entry.js → esm/ldf-day-name_5.entry.js} +508 -126
  378. package/dist/{ldf → esm}/ldf-editable-add-block-menu.entry.js +9 -4
  379. package/dist/{ldf → esm}/ldf-editable-condition-piece.entry.js +24 -4
  380. package/dist/{ldf → esm}/ldf-editable-condition.entry.js +4 -4
  381. package/dist/{ldf → esm}/ldf-editable-filter-documents.entry.js +32 -4
  382. package/dist/{ldf/ldf-editable-metadata-metadata-fields.entry.js → esm/ldf-editable-lookup_2.entry.js} +121 -5
  383. package/dist/{ldf → esm}/ldf-editable-metadata.entry.js +10 -4
  384. package/dist/{ldf → esm}/ldf-editable-preference-option.entry.js +5 -4
  385. package/dist/{ldf → esm}/ldf-editable-preference.entry.js +5 -4
  386. package/dist/{ldf → esm}/ldf-editable-preferences.entry.js +20 -17
  387. package/dist/{ldf → esm}/ldf-editable-string-list.entry.js +4 -4
  388. package/dist/{ldf → esm}/ldf-editor-cursors.entry.js +5 -9
  389. package/dist/{ldf → esm}/ldf-editor.entry.js +6 -4
  390. package/dist/esm/ldf.js +20 -0
  391. package/dist/esm/loader.js +20 -0
  392. package/dist/esm/locale-ec8e14e6.js +6 -0
  393. package/dist/{ldf/md.transition-a8cd439c.js → esm/md.transition-1763f475.js} +4 -4
  394. package/dist/{ldf/menu-toggle-util-9f807d31.js → esm/menu-toggle-util-29e61ff3.js} +1 -1
  395. package/dist/esm/option-da8390ad.js +164 -0
  396. package/dist/{ldf/overlays-10805282.js → esm/overlays-06b43b65.js} +2 -2
  397. package/dist/esm/polyfills/core-js.js +11 -0
  398. package/dist/esm/polyfills/css-shim.js +1 -0
  399. package/dist/esm/polyfills/dom.js +79 -0
  400. package/dist/esm/polyfills/es5-html-element.js +1 -0
  401. package/dist/esm/polyfills/index.js +34 -0
  402. package/dist/esm/polyfills/system.js +6 -0
  403. package/dist/esm/preference-d070d4cb.js +20 -0
  404. package/dist/esm/refrain-75a412cb.js +19 -0
  405. package/dist/esm/rubric-91bf7fed.js +1213 -0
  406. package/dist/esm/specific-class-ef83cfb6.js +36 -0
  407. package/dist/{ldf → esm}/spinner-configs-5dd6891e.js +0 -0
  408. package/dist/{ldf/status-tap-b8afd87d.js → esm/status-tap-7458bd71.js} +1 -1
  409. package/dist/{ldf/swipe-back-2b2f4e51.js → esm/swipe-back-762284df.js} +3 -2
  410. package/dist/{ldf/swiper.bundle-49d79db9.js → esm/swiper.bundle-13b9da83.js} +2 -2
  411. package/dist/{ldf/tap-click-fccc5499.js → esm/tap-click-9b3d603b.js} +1 -1
  412. package/dist/esm/text-ed75fbd4.js +16 -0
  413. package/dist/{ldf → esm}/theme-74c22054.js +0 -0
  414. package/dist/index.cjs.js +1 -0
  415. package/dist/index.js +1 -0
  416. package/dist/ldf/index.esm.js +1 -4
  417. package/dist/ldf/ldf.css +3 -122
  418. package/dist/ldf/ldf.esm.js +1 -123
  419. package/dist/ldf/p-018e57db.entry.js +1 -0
  420. package/dist/ldf/p-03389897.js +1 -0
  421. package/dist/ldf/p-03afc8cb.entry.js +1 -0
  422. package/dist/ldf/p-04715bf0.entry.js +1 -0
  423. package/dist/ldf/p-0491d1d2.js +1 -0
  424. package/dist/ldf/p-07d6d3ad.entry.js +1 -0
  425. package/dist/ldf/p-08584ccc.entry.js +1 -0
  426. package/dist/ldf/p-0873a34a.entry.js +1 -0
  427. package/dist/ldf/p-0ab55cf6.js +1 -0
  428. package/dist/ldf/p-1482a707.js +1 -0
  429. package/dist/ldf/p-177ede88.js +1 -0
  430. package/dist/ldf/p-1902f41e.entry.js +1 -0
  431. package/dist/ldf/p-1a8e2899.entry.js +1 -0
  432. package/dist/ldf/p-1c8cc5bf.entry.js +1 -0
  433. package/dist/ldf/p-1ff665a7.entry.js +1 -0
  434. package/dist/ldf/p-21e2f0a3.entry.js +1 -0
  435. package/dist/ldf/p-23af1bc3.entry.js +1 -0
  436. package/dist/ldf/p-25a736f1.entry.js +1 -0
  437. package/dist/ldf/p-2ae548b3.entry.js +1 -0
  438. package/dist/ldf/p-2c36a583.entry.js +1 -0
  439. package/dist/ldf/p-302dc0d5.entry.js +1 -0
  440. package/dist/ldf/p-327b14ac.entry.js +1 -0
  441. package/dist/ldf/p-32f7ba8e.entry.js +1 -0
  442. package/dist/ldf/p-3545fcdc.entry.js +1 -0
  443. package/dist/ldf/p-374118d7.entry.js +1 -0
  444. package/dist/ldf/p-380f8655.entry.js +1 -0
  445. package/dist/ldf/p-3c9930ff.entry.js +1 -0
  446. package/dist/ldf/p-3ca74c80.js +8 -0
  447. package/dist/ldf/p-3e8ff66b.js +1 -0
  448. package/dist/ldf/p-3f39c2ad.entry.js +1 -0
  449. package/dist/ldf/p-3f8ef67b.entry.js +1 -0
  450. package/dist/ldf/p-402c811f.js +1 -0
  451. package/dist/ldf/p-430c418a.entry.js +1 -0
  452. package/dist/ldf/p-476327d6.js +1 -0
  453. package/dist/ldf/p-48e44122.js +1 -0
  454. package/dist/ldf/p-4a4380fa.entry.js +1 -0
  455. package/dist/ldf/p-4aa9a6f2.js +1 -0
  456. package/dist/ldf/p-4b80de48.js +1 -0
  457. package/dist/ldf/p-4e0b3c0f.entry.js +1 -0
  458. package/dist/ldf/p-5066eaa5.js +1 -0
  459. package/dist/ldf/p-52656429.entry.js +1 -0
  460. package/dist/ldf/p-55d797c1.js +1 -0
  461. package/dist/ldf/p-59340423.entry.js +1 -0
  462. package/dist/ldf/p-594fa9d4.entry.js +1 -0
  463. package/dist/ldf/p-5b43e6be.js +1 -0
  464. package/dist/ldf/p-5b51185b.js +1 -0
  465. package/dist/ldf/p-5be7ff17.entry.js +1 -0
  466. package/dist/ldf/p-5ea6de28.entry.js +1 -0
  467. package/dist/ldf/p-63b5daf6.entry.js +1 -0
  468. package/dist/ldf/p-65563763.entry.js +1 -0
  469. package/dist/ldf/p-65d26c45.js +1 -0
  470. package/dist/ldf/p-65ea7ab3.entry.js +1 -0
  471. package/dist/ldf/p-66a7385e.entry.js +1 -0
  472. package/dist/ldf/p-6857574d.js +1 -0
  473. package/dist/ldf/p-69f85ad3.entry.js +1 -0
  474. package/dist/ldf/p-6fe24d85.entry.js +1 -0
  475. package/dist/ldf/p-70e47f8b.entry.js +1 -0
  476. package/dist/ldf/p-714cf0b2.js +1 -0
  477. package/dist/ldf/p-718ae824.js +1 -0
  478. package/dist/ldf/p-78da8fe1.js +1 -0
  479. package/dist/ldf/p-79a526a1.entry.js +1 -0
  480. package/dist/ldf/p-7abeb82c.entry.js +1 -0
  481. package/dist/ldf/p-7efa633b.entry.js +1 -0
  482. package/dist/ldf/p-800a115c.entry.js +1 -0
  483. package/dist/ldf/p-84f38db6.entry.js +1 -0
  484. package/dist/ldf/p-8767a74e.entry.js +1 -0
  485. package/dist/ldf/p-88dbd8b6.js +1 -0
  486. package/dist/ldf/p-8932ec85.entry.js +1 -0
  487. package/dist/ldf/p-8c2727db.entry.js +1 -0
  488. package/dist/ldf/p-8ec26587.js +1 -0
  489. package/dist/ldf/p-8f67abb8.js +3 -0
  490. package/dist/ldf/p-9155f066.js +1 -0
  491. package/dist/ldf/p-978e2c6d.js +1 -0
  492. package/dist/ldf/p-991c0877.js +1 -0
  493. package/dist/ldf/p-9bd5d1d4.entry.js +1 -0
  494. package/dist/ldf/p-9c1973a6.entry.js +1 -0
  495. package/dist/ldf/p-9c397c49.entry.js +1 -0
  496. package/dist/ldf/p-9e2c172e.entry.js +1 -0
  497. package/dist/ldf/p-a1729dbd.js +1 -0
  498. package/dist/ldf/p-ac7a17ce.entry.js +1 -0
  499. package/dist/ldf/p-acbbd1ec.js +1 -0
  500. package/dist/ldf/p-afc1a02c.js +1 -0
  501. package/dist/ldf/p-b1242016.js +1 -0
  502. package/dist/ldf/p-b62e8f49.js +1 -0
  503. package/dist/ldf/p-b7388aec.entry.js +1 -0
  504. package/dist/ldf/p-b78336d7.entry.js +1 -0
  505. package/dist/ldf/p-ba021918.entry.js +1 -0
  506. package/dist/ldf/p-bdcf2b02.entry.js +1 -0
  507. package/dist/ldf/p-c1df632d.entry.js +1 -0
  508. package/dist/ldf/p-c3042920.entry.js +1 -0
  509. package/dist/ldf/p-c3807857.entry.js +1 -0
  510. package/dist/ldf/p-c3841978.entry.js +1 -0
  511. package/dist/ldf/p-c41e055c.entry.js +1 -0
  512. package/dist/ldf/p-c60a875b.js +1 -0
  513. package/dist/ldf/p-c6163f81.entry.js +1 -0
  514. package/dist/ldf/p-c6a8f4aa.js +1 -0
  515. package/dist/ldf/p-c6b42618.entry.js +1 -0
  516. package/dist/ldf/p-c74d3fd0.entry.js +1 -0
  517. package/dist/ldf/p-c82dd468.entry.js +1 -0
  518. package/dist/ldf/p-ca698b8f.entry.js +1 -0
  519. package/dist/ldf/p-cbfbb80c.entry.js +1 -0
  520. package/dist/ldf/p-d195c957.entry.js +1 -0
  521. package/dist/ldf/p-d282d4f9.js +1 -0
  522. package/dist/ldf/p-d7966e9b.entry.js +1 -0
  523. package/dist/ldf/p-d7f8c770.js +1 -0
  524. package/dist/ldf/p-d9c1c1f6.js +1 -0
  525. package/dist/ldf/p-dc445c36.entry.js +1 -0
  526. package/dist/ldf/p-dd99e42a.entry.js +1 -0
  527. package/dist/ldf/p-de5bb5ad.js +1 -0
  528. package/dist/ldf/p-e0e12ae3.entry.js +1 -0
  529. package/dist/ldf/p-e215fd02.entry.js +1 -0
  530. package/dist/ldf/p-e4be11ad.entry.js +1 -0
  531. package/dist/ldf/p-e4f0cd91.entry.js +1 -0
  532. package/dist/ldf/p-e911e60d.js +1 -0
  533. package/dist/ldf/p-ea66c343.entry.js +1 -0
  534. package/dist/ldf/p-ec5eecdc.entry.js +1 -0
  535. package/dist/ldf/p-ed3327fa.js +1 -0
  536. package/dist/ldf/p-f0de7628.entry.js +1 -0
  537. package/dist/ldf/p-f2ce126e.js +1 -0
  538. package/dist/ldf/p-f3a0c163.js +1 -0
  539. package/dist/ldf/p-fa191f47.entry.js +1 -0
  540. package/dist/ldf/p-fe59a676.entry.js +1 -0
  541. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.ios.css +363 -0
  542. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.md.css +285 -0
  543. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.ios.css +483 -0
  544. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.md.css +501 -0
  545. package/dist/node_modules/@ionic/core/dist/collection/components/app/app.css +7 -0
  546. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.ios.css +22 -0
  547. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.md.css +22 -0
  548. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.ios.css +277 -0
  549. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.md.css +305 -0
  550. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.ios.css +26 -0
  551. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.md.css +26 -0
  552. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.ios.css +58 -0
  553. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.md.css +62 -0
  554. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.ios.css +440 -0
  555. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.md.css +428 -0
  556. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.ios.css +128 -0
  557. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.md.css +151 -0
  558. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.ios.css +101 -0
  559. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.md.css +95 -0
  560. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.ios.css +61 -0
  561. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.md.css +63 -0
  562. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.ios.css +37 -0
  563. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.md.css +35 -0
  564. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.ios.css +28 -0
  565. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.md.css +26 -0
  566. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.ios.css +27 -0
  567. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.md.css +27 -0
  568. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.ios.css +147 -0
  569. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.md.css +150 -0
  570. package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.ios.css +194 -0
  571. package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.md.css +194 -0
  572. package/dist/node_modules/@ionic/core/dist/collection/components/col/col.css +108 -0
  573. package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +167 -0
  574. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +106 -0
  575. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +106 -0
  576. package/dist/node_modules/@ionic/core/dist/collection/components/fab/fab.css +61 -0
  577. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.ios.css +324 -0
  578. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.md.css +293 -0
  579. package/dist/node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.css +116 -0
  580. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.ios.css +33 -0
  581. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.md.css +37 -0
  582. package/dist/node_modules/@ionic/core/dist/collection/components/grid/grid.css +151 -0
  583. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.ios.css +92 -0
  584. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.md.css +40 -0
  585. package/dist/node_modules/@ionic/core/dist/collection/components/img/img.css +12 -0
  586. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.css +8 -0
  587. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +54 -0
  588. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +54 -0
  589. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.ios.css +172 -0
  590. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.md.css +172 -0
  591. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +563 -0
  592. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +630 -0
  593. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.ios.css +204 -0
  594. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.md.css +297 -0
  595. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.ios.css +3 -0
  596. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.md.css +3 -0
  597. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +186 -0
  598. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +180 -0
  599. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css +88 -0
  600. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css +85 -0
  601. package/dist/node_modules/@ionic/core/dist/collection/components/item-sliding/item-sliding.css +42 -0
  602. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +152 -0
  603. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.md.css +163 -0
  604. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.ios.css +91 -0
  605. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.md.css +114 -0
  606. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.ios.css +118 -0
  607. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.md.css +94 -0
  608. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +113 -0
  609. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +104 -0
  610. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +131 -0
  611. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +127 -0
  612. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.ios.css +175 -0
  613. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.md.css +178 -0
  614. package/dist/node_modules/@ionic/core/dist/collection/components/menu-toggle/menu-toggle.css +3 -0
  615. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +158 -0
  616. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +104 -0
  617. package/dist/node_modules/@ionic/core/dist/collection/components/nav/nav.css +10 -0
  618. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.ios.css +16 -0
  619. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.md.css +17 -0
  620. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.ios.css +216 -0
  621. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.md.css +203 -0
  622. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.ios.css +122 -0
  623. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.md.css +123 -0
  624. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.ios.css +117 -0
  625. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.md.css +82 -0
  626. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.ios.css +191 -0
  627. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.md.css +191 -0
  628. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.ios.css +151 -0
  629. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.md.css +152 -0
  630. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +275 -0
  631. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +320 -0
  632. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.ios.css +177 -0
  633. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.md.css +210 -0
  634. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.ios.css +15 -0
  635. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.md.css +15 -0
  636. package/dist/node_modules/@ionic/core/dist/collection/components/reorder-group/reorder-group.css +33 -0
  637. package/dist/node_modules/@ionic/core/dist/collection/components/ripple-effect/ripple-effect.css +58 -0
  638. package/dist/node_modules/@ionic/core/dist/collection/components/router-link/router-link.css +29 -0
  639. package/dist/node_modules/@ionic/core/dist/collection/components/router-outlet/route-outlet.css +10 -0
  640. package/dist/node_modules/@ionic/core/dist/collection/components/row/row.css +4 -0
  641. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.ios.css +348 -0
  642. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.md.css +279 -0
  643. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css +64 -0
  644. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.md.css +35 -0
  645. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.ios.css +442 -0
  646. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.md.css +424 -0
  647. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.ios.css +123 -0
  648. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.md.css +123 -0
  649. package/dist/node_modules/@ionic/core/dist/collection/components/select-option/select-option.css +3 -0
  650. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.css +14 -0
  651. package/dist/node_modules/@ionic/core/dist/collection/components/skeleton-text/skeleton-text.css +53 -0
  652. package/dist/node_modules/@ionic/core/dist/collection/components/slide/slide.css +31 -0
  653. package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.ios.css +764 -0
  654. package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.md.css +764 -0
  655. package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +154 -0
  656. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.ios.css +108 -0
  657. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.md.css +108 -0
  658. package/dist/node_modules/@ionic/core/dist/collection/components/tab/tab.css +4 -0
  659. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.ios.css +96 -0
  660. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.md.css +81 -0
  661. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.ios.css +308 -0
  662. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.md.css +331 -0
  663. package/dist/node_modules/@ionic/core/dist/collection/components/tabs/tabs.css +19 -0
  664. package/dist/node_modules/@ionic/core/dist/collection/components/text/text.css +3 -0
  665. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +142 -0
  666. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +146 -0
  667. package/dist/node_modules/@ionic/core/dist/collection/components/thumbnail/thumbnail.css +21 -0
  668. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.ios.css +110 -0
  669. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.md.css +55 -0
  670. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.ios.css +249 -0
  671. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.md.css +282 -0
  672. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +214 -0
  673. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +211 -0
  674. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.ios.css +174 -0
  675. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.md.css +167 -0
  676. package/dist/node_modules/@ionic/core/dist/collection/components/virtual-scroll/virtual-scroll.css +21 -0
  677. package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +101 -0
  678. package/package.json +2 -2
  679. package/dist/ldf/_commonjsHelpers-8fe71198.js +0 -44
  680. package/dist/ldf/css-shim-5630fd5e.js +0 -4
  681. package/dist/ldf/dom-bd0bf1dc.js +0 -73
  682. package/dist/ldf/index-f441adec.js +0 -2901
  683. package/dist/ldf/index-f4e3260e.js +0 -36
  684. package/dist/ldf/ion-button.entry.js +0 -109
  685. package/dist/ldf/ion-buttons.entry.js +0 -38
  686. package/dist/ldf/ion-card-content.entry.js +0 -26
  687. package/dist/ldf/ion-card-header.entry.js +0 -29
  688. package/dist/ldf/ion-card-title.entry.js +0 -23
  689. package/dist/ldf/ion-col.entry.js +0 -114
  690. package/dist/ldf/ion-content.entry.js +0 -299
  691. package/dist/ldf/ion-grid.entry.js +0 -24
  692. package/dist/ldf/ion-header.entry.js +0 -255
  693. package/dist/ldf/ion-icon.entry.js +0 -172
  694. package/dist/ldf/ion-input.entry.js +0 -216
  695. package/dist/ldf/ion-item.entry.js +0 -119
  696. package/dist/ldf/ion-label.entry.js +0 -51
  697. package/dist/ldf/ion-list.entry.js +0 -48
  698. package/dist/ldf/ion-radio-group.entry.js +0 -57
  699. package/dist/ldf/ion-ripple-effect.entry.js +0 -89
  700. package/dist/ldf/ion-row.entry.js +0 -16
  701. package/dist/ldf/ion-searchbar.entry.js +0 -326
  702. package/dist/ldf/ion-segment-button.entry.js +0 -88
  703. package/dist/ldf/ion-segment.entry.js +0 -296
  704. package/dist/ldf/ion-select-option.entry.js +0 -23
  705. package/dist/ldf/ion-skeleton-text.entry.js +0 -29
  706. package/dist/ldf/ion-title.entry.js +0 -44
  707. package/dist/ldf/ion-toggle.entry.js +0 -152
  708. package/dist/ldf/ion-toolbar.entry.js +0 -67
  709. package/dist/ldf/ldf-bible-reading.entry.js +0 -252
  710. package/dist/ldf/ldf-editable-add-block.entry.js +0 -49
  711. package/dist/ldf/ldf-editable-antiphon-field.entry.js +0 -223
  712. package/dist/ldf/ldf-editable-boolean.entry.js +0 -42
  713. package/dist/ldf/ldf-editable-delete.entry.js +0 -97
  714. package/dist/ldf/ldf-editable-lookup.entry.js +0 -115
  715. package/dist/ldf/ldf-editable-metadata-buttons.entry.js +0 -293
  716. package/dist/ldf/ldf-editable-select.entry.js +0 -33
  717. package/dist/ldf/ldf-heading.entry.js +0 -124
  718. package/dist/ldf/ldf-image.entry.js +0 -195
  719. package/dist/ldf/ldf-label-bar.entry.js +0 -22
  720. package/dist/ldf/ldf-liturgical-document.entry.js +0 -462
  721. package/dist/ldf/ldf-liturgy.entry.js +0 -49
  722. package/dist/ldf/ldf-meditation.entry.js +0 -180
  723. package/dist/ldf/ldf-prayers-and-thanksgivings.entry.js +0 -136
  724. package/dist/ldf/ldf-psalm.entry.js +0 -267
  725. package/dist/ldf/ldf-refrain.entry.js +0 -42
  726. package/dist/ldf/ldf-responsive-prayer.entry.js +0 -137
  727. package/dist/ldf/ldf-rubric.entry.js +0 -41
  728. package/dist/ldf/shadow-css-10669ec3.js +0 -383
  729. package/dist/ldf/utils-8d15f916.js +0 -91
@@ -0,0 +1,1220 @@
1
+ 'use strict';
2
+
3
+ const book = require('./book-1a92678a.js');
4
+
5
+ const BIBLE_BOOK_ABBREVIATIONS = [
6
+ {
7
+ name: 'Genesis',
8
+ aliases: ['Gn', 'Gen', 'Genesis'],
9
+ },
10
+ {
11
+ name: 'Exodus',
12
+ aliases: ['Exod', 'Ex', 'Exo', 'Exodus'],
13
+ },
14
+ {
15
+ name: 'Leviticus',
16
+ aliases: ['Lev', 'Lv', 'Leviticus'],
17
+ },
18
+ {
19
+ name: 'Numbers',
20
+ aliases: ['Num', 'Numbers'],
21
+ },
22
+ {
23
+ name: 'Deuteronomy',
24
+ aliases: ['Deut', 'Deuteronomy'],
25
+ },
26
+ {
27
+ name: 'Joshua',
28
+ aliases: ['Josh', 'Joshua'],
29
+ },
30
+ {
31
+ name: 'Judges',
32
+ aliases: ['Judg', 'Jdg', 'Judges'],
33
+ },
34
+ {
35
+ name: 'Ruth',
36
+ aliases: ['Ruth'],
37
+ },
38
+ {
39
+ name: '1 Samuel',
40
+ aliases: ['1Sam', '1 Sam', '1st Sam', '1st Samuel', 'First Samuel', '1 Samuel'],
41
+ },
42
+ {
43
+ name: '2 Samuel',
44
+ aliases: ['2Sam', '2 Sam', '2nd Sam', '2nd Samuel', 'Second Samuel', '2 Samuel'],
45
+ },
46
+ {
47
+ name: '1 Kings',
48
+ aliases: ['1Kgs', '1 Kgs', '1st Kgs', '1st Kings', 'First Kings', '1 Kings'],
49
+ },
50
+ {
51
+ name: '2 Kings',
52
+ aliases: ['2Kgs', '2 Kgs', '2nd Kgs', '2nd Kings', 'Second Kings', '2 Kings'],
53
+ },
54
+ {
55
+ name: '1 Chronicles',
56
+ aliases: ['1Chr', '1 Chr', '1st Chr', '1st Chronicles', 'First Chronicles', '1 Chronicles'],
57
+ },
58
+ {
59
+ name: '2 Chronicles',
60
+ aliases: ['2Chr', '2 Chr', '2nd Chr', '2nd Chronicles', 'Second Chronicles', '2 Chronicles'],
61
+ },
62
+ {
63
+ name: 'Ezra',
64
+ aliases: ['Ezra'],
65
+ },
66
+ {
67
+ name: 'Nehemiah',
68
+ aliases: ['Neh', 'Nehemiah'],
69
+ },
70
+ {
71
+ name: 'Esther',
72
+ aliases: ['Esth', 'Est', 'Esther'],
73
+ },
74
+ {
75
+ name: 'Job',
76
+ aliases: ['Jb', 'Job'],
77
+ },
78
+ {
79
+ name: 'Psalms',
80
+ aliases: ['Ps', 'Psalm', 'Psalms'],
81
+ },
82
+ {
83
+ name: 'Proverbs',
84
+ aliases: ['Prov', 'Pro', 'Proverbs'],
85
+ },
86
+ {
87
+ name: 'Ecclesiastes',
88
+ aliases: ['Eccl', 'Ecc', 'Ecclesiastes'],
89
+ },
90
+ {
91
+ name: 'The Song of Solomon',
92
+ aliases: ['Song', 'Song of Songs', 'Song of Solomon', 'Cant'],
93
+ },
94
+ {
95
+ name: 'Isaiah',
96
+ aliases: ['Isa', 'Is', 'Isaiah'],
97
+ },
98
+ {
99
+ name: 'Jeremiah',
100
+ aliases: ['Jer', 'Jeremiah'],
101
+ },
102
+ {
103
+ name: 'Letter of Jeremiah',
104
+ aliases: ['EJer', 'EpJer', 'Epistle of Jeremiah'],
105
+ },
106
+ {
107
+ name: 'Lamentations',
108
+ aliases: ['Lam', 'Lamentations'],
109
+ },
110
+ {
111
+ name: 'Ezekiel',
112
+ aliases: ['Ezek', 'Ezekiel'],
113
+ },
114
+ {
115
+ name: 'Daniel',
116
+ aliases: ['Dan', 'Daniel'],
117
+ },
118
+ {
119
+ name: 'Hosea',
120
+ aliases: ['Hos', 'Hosea'],
121
+ },
122
+ {
123
+ name: 'Joel',
124
+ aliases: ['Joel'],
125
+ },
126
+ {
127
+ name: 'Amos',
128
+ aliases: ['Amos'],
129
+ },
130
+ {
131
+ name: 'Obadiah',
132
+ aliases: ['Obad', 'Oba', 'Obadiah'],
133
+ },
134
+ {
135
+ name: 'Jonah',
136
+ aliases: ['Jon', 'Jonah'],
137
+ },
138
+ {
139
+ name: 'Micah',
140
+ aliases: ['Mic', 'Micah'],
141
+ },
142
+ {
143
+ name: 'Nahum',
144
+ aliases: ['Nah', 'Nahum'],
145
+ },
146
+ {
147
+ name: 'Habakkuk',
148
+ aliases: ['Hab', 'Habakkuk'],
149
+ },
150
+ {
151
+ name: 'Zephaniah',
152
+ aliases: ['Zeph', 'Zephaniah'],
153
+ },
154
+ {
155
+ name: 'Haggai',
156
+ aliases: ['Hag', 'Haggai'],
157
+ },
158
+ {
159
+ name: 'Zechariah',
160
+ aliases: ['Zech', 'Zechariah'],
161
+ },
162
+ {
163
+ name: 'Malachi',
164
+ aliases: ['Mal', 'Malachi'],
165
+ },
166
+ {
167
+ name: 'Tobit',
168
+ aliases: ['Tob', 'Tobit'],
169
+ },
170
+ {
171
+ name: 'Judith',
172
+ aliases: ['Jdt', 'Judith'],
173
+ },
174
+ {
175
+ name: 'Baruch',
176
+ aliases: ['Bar', 'Baruch'],
177
+ },
178
+ {
179
+ name: '1 Maccabees',
180
+ aliases: ['1Macc', '1 Maccabees', 'First Maccabees', '1 Macc'],
181
+ },
182
+ {
183
+ name: '2 Maccabees',
184
+ aliases: ['2Macc', '2 Maccabees', 'Second Maccabees', '2 Macc'],
185
+ },
186
+ {
187
+ name: 'Wisdom',
188
+ aliases: ['Wis', 'Wisdom'],
189
+ },
190
+ {
191
+ name: 'Sirach',
192
+ aliases: ['Sir', 'Ecclus', 'Ben Sira', 'Ecclesiasticus'],
193
+ },
194
+ {
195
+ name: '1 Esdras',
196
+ aliases: ['1 Esdr', '1 Esdras', '1 Esd', '1Esdras', '1Esdr', '1Esd'],
197
+ },
198
+ {
199
+ name: '2 Esdras',
200
+ aliases: ['2 Esdr', '2 Esdras', '2 Esd', '2Esdras', '2Esdr', '2Esd'],
201
+ },
202
+ {
203
+ name: 'Bel',
204
+ aliases: ['Bel', 'Bel & the Dragon'],
205
+ },
206
+ {
207
+ name: 'Azariah',
208
+ aliases: ['Azariah', 'Song of the Three Young Men', 'Song of the Three Childr.', 'Song of the Three Children'],
209
+ },
210
+ {
211
+ name: 'Matthew',
212
+ aliases: ['Matt', 'Matthew', 'Mt'],
213
+ },
214
+ {
215
+ name: 'Mark',
216
+ aliases: ['Mark', 'Mk'],
217
+ },
218
+ {
219
+ name: 'Luke',
220
+ aliases: ['Luke', 'Lk'],
221
+ },
222
+ {
223
+ name: 'John',
224
+ aliases: ['Jn', 'John', 'Joh'],
225
+ },
226
+ {
227
+ name: 'Acts',
228
+ aliases: ['Acts'],
229
+ },
230
+ {
231
+ name: 'Romans',
232
+ aliases: ['Rom', 'Romans'],
233
+ },
234
+ {
235
+ name: '1 Corinthians',
236
+ aliases: ['1Cor', '1 Cor', '1st Cor', '1st Corinthians', 'First Corinthians', '1 Corinthians'],
237
+ },
238
+ {
239
+ name: '2 Corinthians',
240
+ aliases: ['2Cor', '2 Cor', '2nd Cor', '2nd Corinthians', 'Second Corinthians', '2 Corinthians'],
241
+ },
242
+ {
243
+ name: 'Galatians',
244
+ aliases: ['Gal', 'Galatians'],
245
+ },
246
+ {
247
+ name: 'Ephesians',
248
+ aliases: ['Eph', 'Ephesians'],
249
+ },
250
+ {
251
+ name: 'Philippians',
252
+ aliases: ['Phil', 'Philippians'],
253
+ },
254
+ {
255
+ name: 'Colossians',
256
+ aliases: ['Col', 'Colossians'],
257
+ },
258
+ {
259
+ name: '1 Thessalonians',
260
+ aliases: ['1Thess', '1 Thess', '1st Thess', '1st Thessalonians', 'First Thessalonians', '1 Thessalonians'],
261
+ },
262
+ {
263
+ name: '2 Thessalonians',
264
+ aliases: ['2Thess', '2 Thess', '2nd Thess', '2nd Thessalonians', 'Second Thessalonians', '2 Thessalonians'],
265
+ },
266
+ {
267
+ name: '1 Timothy',
268
+ aliases: ['1 Tim', '1Tim', '1st Tim', '1st Timothy', 'First Timothy', '1 Timothy'],
269
+ },
270
+ {
271
+ name: '2 Timothy',
272
+ aliases: ['2 Tim', '2Tim', '2nd Tim', '2nd Timothy', 'Second Timothy', '2 Timothy'],
273
+ },
274
+ {
275
+ name: 'Titus',
276
+ aliases: ['Titus'],
277
+ },
278
+ {
279
+ name: 'Philemon',
280
+ aliases: ['Phlm', 'Philemon'],
281
+ },
282
+ {
283
+ name: 'Hebrews',
284
+ aliases: ['Heb', 'Hebrews'],
285
+ },
286
+ {
287
+ name: 'James',
288
+ aliases: ['Jas', 'James'],
289
+ },
290
+ {
291
+ name: '1 Peter',
292
+ aliases: ['1Pet', '1 Pet', '1st Pet', '1st Peter', 'First Peter', '1 Peter'],
293
+ },
294
+ {
295
+ name: '2 Peter',
296
+ aliases: ['2Pet', '2 Pet', '2nd Pet', '2nd Peter', 'Second Peter', '2 Peter'],
297
+ },
298
+ {
299
+ name: '1 John',
300
+ aliases: ['1John', '1 John', '1st John', 'First John', '1 Joh'],
301
+ },
302
+ {
303
+ name: '2 John',
304
+ aliases: ['2John', '2 John', '2nd John', 'Second John', '2 Joh'],
305
+ },
306
+ {
307
+ name: '3 John',
308
+ aliases: ['3John', '3 John', '3rd John', 'Third John', '3 Joh'],
309
+ },
310
+ {
311
+ name: 'Jude',
312
+ aliases: ['Jude', 'Jd'],
313
+ },
314
+ {
315
+ name: 'Revelation',
316
+ aliases: ['Rev', 'Revelation', 'Revelations', 'Apocalypse', 'Apoc'],
317
+ },
318
+ ];
319
+
320
+ const BIBLE_BOOK_NAMES = {
321
+ Genesis: {
322
+ en: {
323
+ short: 'Genesis',
324
+ long: 'The Book of Genesis',
325
+ },
326
+ },
327
+ Exodus: {
328
+ en: {
329
+ short: 'Exodus',
330
+ long: 'The Book of Exodus',
331
+ },
332
+ },
333
+ Leviticus: {
334
+ en: {
335
+ short: 'Leviticus',
336
+ long: 'The Book of Leviticus',
337
+ },
338
+ },
339
+ Numbers: {
340
+ en: {
341
+ short: 'Numbers',
342
+ long: 'The Book of Numbers',
343
+ },
344
+ },
345
+ Deuteronomy: {
346
+ en: {
347
+ short: 'Deuteronomy',
348
+ long: 'The Book of Deuteronomy',
349
+ },
350
+ },
351
+ Joshua: {
352
+ en: {
353
+ short: 'Joshua',
354
+ long: 'The Book of Joshua',
355
+ },
356
+ },
357
+ Judges: {
358
+ en: {
359
+ short: 'Judges',
360
+ long: 'The Book of Judges',
361
+ },
362
+ },
363
+ Ruth: {
364
+ en: {
365
+ short: 'Ruth',
366
+ long: 'The Book of Ruth',
367
+ },
368
+ },
369
+ '1 Samuel': {
370
+ en: {
371
+ short: '1 Samuel',
372
+ long: 'The First Book of Samuel',
373
+ },
374
+ },
375
+ '2 Samuel': {
376
+ en: {
377
+ short: '2 Samuel',
378
+ long: 'The Second Book of Samuel',
379
+ },
380
+ },
381
+ '1 Kings': {
382
+ en: {
383
+ short: '1 Kings',
384
+ long: 'The First Book of Kings',
385
+ },
386
+ },
387
+ '2 Kings': {
388
+ en: {
389
+ short: '2 Kings',
390
+ long: 'The Second Book of Kings',
391
+ },
392
+ },
393
+ '1 Chronicles': {
394
+ en: {
395
+ short: '1 Chronicles',
396
+ long: 'The First Book of Chronicles',
397
+ },
398
+ },
399
+ '2 Chronicles': {
400
+ en: {
401
+ short: '2 Chronicles',
402
+ long: 'The Second Book of Chronicles',
403
+ },
404
+ },
405
+ Ezra: {
406
+ en: {
407
+ short: 'Ezra',
408
+ long: 'The Book of Ezra',
409
+ },
410
+ },
411
+ Nehemiah: {
412
+ en: {
413
+ short: 'Nehemiah',
414
+ long: 'The Book of Nehemiah',
415
+ },
416
+ },
417
+ Esther: {
418
+ en: {
419
+ short: 'Esther',
420
+ long: 'The Book of Esther',
421
+ },
422
+ },
423
+ Job: {
424
+ en: {
425
+ short: 'Job',
426
+ long: 'The Book of Job',
427
+ },
428
+ },
429
+ Psalms: {
430
+ en: {
431
+ short: 'Psalms',
432
+ long: 'The Psalms',
433
+ },
434
+ },
435
+ Proverbs: {
436
+ en: {
437
+ short: 'Proverbs',
438
+ long: 'The Book of Proverbs',
439
+ },
440
+ },
441
+ Ecclesiastes: {
442
+ en: {
443
+ short: 'Ecclesiastes',
444
+ long: 'The Book of Ecclesiastes',
445
+ },
446
+ },
447
+ 'The Song of Solomon': {
448
+ en: {
449
+ short: 'The Song of Solomon',
450
+ long: 'The Song of Solomon',
451
+ },
452
+ },
453
+ Isaiah: {
454
+ en: {
455
+ short: 'Isaiah',
456
+ long: 'The Book of the Prophet Isaiah',
457
+ },
458
+ },
459
+ Jeremiah: {
460
+ en: {
461
+ short: 'Jeremiah',
462
+ long: 'The Book of the Prophet Jeremiah',
463
+ },
464
+ },
465
+ Lamentations: {
466
+ en: {
467
+ short: 'Lamentations',
468
+ long: 'The Book of Lamentations',
469
+ },
470
+ },
471
+ Ezekiel: {
472
+ en: {
473
+ short: 'Ezekiel',
474
+ long: 'The Book of the Prophet Ezekiel',
475
+ },
476
+ },
477
+ Daniel: {
478
+ en: {
479
+ short: 'Daniel',
480
+ long: 'The Book of Daniel',
481
+ },
482
+ 'en-CA': {
483
+ short: 'Daniel',
484
+ long: 'The Book of the Prophet Daniel',
485
+ },
486
+ },
487
+ Hosea: {
488
+ en: {
489
+ short: 'Hosea',
490
+ long: 'The Book of the Prophet Hosea',
491
+ },
492
+ },
493
+ Joel: {
494
+ en: {
495
+ short: 'Joel',
496
+ long: 'The Book of the Prophet Joel',
497
+ },
498
+ },
499
+ Amos: {
500
+ en: {
501
+ short: 'Amos',
502
+ long: 'The Book of the Prophet Amos',
503
+ },
504
+ },
505
+ Obadiah: {
506
+ en: {
507
+ short: 'Obadiah',
508
+ long: 'The Book of the Prophet Obadiah',
509
+ },
510
+ },
511
+ Jonah: {
512
+ en: {
513
+ short: 'Jonah',
514
+ long: 'The Book of the Prophet Jonah',
515
+ },
516
+ },
517
+ Micah: {
518
+ en: {
519
+ short: 'Micah',
520
+ long: 'The Book of the Prophet Micah',
521
+ },
522
+ },
523
+ Nahum: {
524
+ en: {
525
+ short: 'Nahum',
526
+ long: 'The Book of the Prophet Nahum',
527
+ },
528
+ },
529
+ Habakkuk: {
530
+ en: {
531
+ short: 'Habakkuk',
532
+ long: 'The Book of the Prophet Habakkuk',
533
+ },
534
+ },
535
+ Zephaniah: {
536
+ en: {
537
+ short: 'Zephaniah',
538
+ long: 'The Book of the Prophet Zephaniah',
539
+ },
540
+ },
541
+ Haggai: {
542
+ en: {
543
+ short: 'Haggai',
544
+ long: 'The Book of the Prophet Haggai',
545
+ },
546
+ },
547
+ Zechariah: {
548
+ en: {
549
+ short: 'Zechariah',
550
+ long: 'The Book of the Prophet Zechariah',
551
+ },
552
+ },
553
+ Malachi: {
554
+ en: {
555
+ short: 'Malachi',
556
+ long: 'The Book of the Prophet Malachi',
557
+ },
558
+ },
559
+ Tobit: {
560
+ en: {
561
+ short: 'Tobit',
562
+ long: 'The Book of Tobit',
563
+ },
564
+ },
565
+ Azariah: {
566
+ en: {
567
+ short: 'The Song of the Three Children',
568
+ long: 'The Song of the Three Children',
569
+ },
570
+ },
571
+ Judith: {
572
+ en: {
573
+ short: 'Judith',
574
+ long: 'The Book of Judith',
575
+ },
576
+ },
577
+ Baruch: {
578
+ en: {
579
+ short: 'Baruch',
580
+ long: 'The Book of Baruch',
581
+ },
582
+ },
583
+ '1 Maccabees': {
584
+ en: {
585
+ short: '1 Maccabees',
586
+ long: 'The First Book of Maccabees',
587
+ },
588
+ },
589
+ '2 Maccabees': {
590
+ en: {
591
+ short: '2 Maccabees',
592
+ long: 'The Second Book of Maccabees',
593
+ },
594
+ },
595
+ Wisdom: {
596
+ en: {
597
+ short: 'Wisdom',
598
+ long: 'The Wisdom of Solomon',
599
+ },
600
+ },
601
+ Sirach: {
602
+ en: {
603
+ short: 'Sirach',
604
+ long: 'The Wisdom of Ben Sira',
605
+ },
606
+ 'en-CA': {
607
+ short: 'Sirach',
608
+ long: 'The Book of Ecclesiasticus',
609
+ },
610
+ },
611
+ Matthew: {
612
+ en: {
613
+ short: 'Matthew',
614
+ long: 'The Gospel According to Matthew',
615
+ },
616
+ 'en-CA': {
617
+ short: 'Matthew',
618
+ long: 'The Gospel According to St. Matthew',
619
+ },
620
+ },
621
+ Mark: {
622
+ en: {
623
+ short: 'Mark',
624
+ long: 'The Gospel According to Mark',
625
+ },
626
+ 'en-CA': {
627
+ short: 'Mark',
628
+ long: 'The Gospel According to St. Mark',
629
+ },
630
+ },
631
+ Luke: {
632
+ en: {
633
+ short: 'Luke',
634
+ long: 'The Gospel According to Luke',
635
+ },
636
+ 'en-CA': {
637
+ short: 'Luke',
638
+ long: 'The Gospel According to St. Luke',
639
+ },
640
+ },
641
+ John: {
642
+ en: {
643
+ short: 'John',
644
+ long: 'The Gospel According to John',
645
+ },
646
+ 'en-CA': {
647
+ short: 'John',
648
+ long: 'The Gospel According to St. John',
649
+ },
650
+ },
651
+ Acts: {
652
+ en: {
653
+ short: 'Acts',
654
+ long: 'The Acts of the Apostles',
655
+ },
656
+ 'en-CA': {
657
+ short: 'Acts',
658
+ long: 'The Book of the Acts of the Apostles',
659
+ },
660
+ },
661
+ Romans: {
662
+ en: {
663
+ short: 'Romans',
664
+ long: 'The Letter to the Romans',
665
+ },
666
+ 'en-CA': {
667
+ short: 'Romans',
668
+ long: 'The Epistle of St. Paul the Apostle to the Romans',
669
+ },
670
+ },
671
+ '1 Corinthians': {
672
+ en: {
673
+ short: '1 Corinthians',
674
+ long: 'The First Letter to the Corinthians',
675
+ },
676
+ 'en-CA': {
677
+ short: '1 Corinthians',
678
+ long: 'The First Epistle of St. Paul the Apostle to the Corinthians',
679
+ },
680
+ },
681
+ '2 Corinthians': {
682
+ en: {
683
+ short: '2 Corinthians',
684
+ long: 'The Second Letter to the Corinthians',
685
+ },
686
+ 'en-CA': {
687
+ short: '2 Corinthians',
688
+ long: 'The Second Epistle of St. Paul the Apostle to the Corinthians',
689
+ },
690
+ },
691
+ Galatians: {
692
+ en: {
693
+ short: 'Galatians',
694
+ long: 'The Letter to the Galatians',
695
+ },
696
+ 'en-CA': {
697
+ short: 'Galatians',
698
+ long: 'The Epistle of St. Paul the Apostle to the Galatians',
699
+ },
700
+ },
701
+ Ephesians: {
702
+ en: {
703
+ short: 'Ephesians',
704
+ long: 'The Letter to the Ephesians',
705
+ },
706
+ 'en-CA': {
707
+ short: 'Ephesians',
708
+ long: 'The Epistle of St. Paul the Apostle to the Ephesians',
709
+ },
710
+ },
711
+ Philippians: {
712
+ en: {
713
+ short: 'Philippians',
714
+ long: 'The Letter to the Philippians',
715
+ },
716
+ 'en-CA': {
717
+ short: 'Philippians',
718
+ long: 'The Epistle of St. Paul the Apostle to the Philippians',
719
+ },
720
+ },
721
+ Colossians: {
722
+ en: {
723
+ short: 'Colossians',
724
+ long: 'The Letter to the Colossians',
725
+ },
726
+ 'en-CA': {
727
+ short: 'Colossians',
728
+ long: 'The Epistle of St. Paul the Apostle to the Colossians',
729
+ },
730
+ },
731
+ '1 Thessalonians': {
732
+ en: {
733
+ short: '1 Thessalonians',
734
+ long: 'The First Letter to the Thessalonians',
735
+ },
736
+ 'en-CA': {
737
+ short: '1 Thessalonians',
738
+ long: 'The First Epistle of St. Paul the Apostle to the Thessalonians',
739
+ },
740
+ },
741
+ '2 Thessalonians': {
742
+ en: {
743
+ short: '2 Thessalonians',
744
+ long: 'The Second Letter to the Thessalonians',
745
+ },
746
+ 'en-CA': {
747
+ short: '2 Thessalonians',
748
+ long: 'The Second Epistle of St. Paul the Apostle to the Thessalonians',
749
+ },
750
+ },
751
+ '1 Timothy': {
752
+ en: {
753
+ short: '1 Timothy',
754
+ long: 'The First Letter to Timothy',
755
+ },
756
+ 'en-CA': {
757
+ short: '1 Timothy',
758
+ long: 'The First Epistle of St. Paul the Apostle to Timothy',
759
+ },
760
+ },
761
+ '2 Timothy': {
762
+ en: {
763
+ short: '2 Timothy',
764
+ long: 'The Second Letter to Timothy',
765
+ },
766
+ 'en-CA': {
767
+ short: '2 Timothy',
768
+ long: 'The Second Epistle of St. Paul the Apostle to Timothy',
769
+ },
770
+ },
771
+ Titus: {
772
+ en: {
773
+ short: 'Titus',
774
+ long: 'The Letter to Titus',
775
+ },
776
+ 'en-CA': {
777
+ short: 'Titus',
778
+ long: 'The Epistle of St. Paul the Apostle to Titus',
779
+ },
780
+ },
781
+ Philemon: {
782
+ en: {
783
+ short: 'Philemon',
784
+ long: 'The Letter to Philemon',
785
+ },
786
+ 'en-CA': {
787
+ short: 'Philemon',
788
+ long: 'The Epistle of St. Paul the Apostle to Philemon',
789
+ },
790
+ },
791
+ Hebrews: {
792
+ en: {
793
+ short: 'Hebrews',
794
+ long: 'The Book of Hebrews',
795
+ },
796
+ 'en-CA': {
797
+ short: 'Hebrews',
798
+ long: 'The Epistle to the Hebrews',
799
+ },
800
+ },
801
+ James: {
802
+ en: {
803
+ short: 'James',
804
+ long: 'The Letter of James',
805
+ },
806
+ 'en-CA': {
807
+ short: 'James',
808
+ long: 'The Epistle General of St. James',
809
+ },
810
+ },
811
+ '1 Peter': {
812
+ en: {
813
+ short: '1 Peter',
814
+ long: 'The First Letter of Peter',
815
+ },
816
+ 'en-CA': {
817
+ short: '1 Peter',
818
+ long: 'The First Epistle General of St. Peter',
819
+ },
820
+ },
821
+ '2 Peter': {
822
+ en: {
823
+ short: '2 Peter',
824
+ long: 'The Second Letter of Peter',
825
+ },
826
+ 'en-CA': {
827
+ short: '2 Peter',
828
+ long: 'The Second Epistle General of St. Peter',
829
+ },
830
+ },
831
+ '1 John': {
832
+ en: {
833
+ short: '1 John',
834
+ long: 'The First Letter of John',
835
+ },
836
+ 'en-CA': {
837
+ short: '2 John',
838
+ long: 'The First Epistle General of St. John',
839
+ },
840
+ },
841
+ '2 John': {
842
+ en: {
843
+ short: '2 John',
844
+ long: 'The Second Letter of John',
845
+ },
846
+ 'en-CA': {
847
+ short: '2 John',
848
+ long: 'The Second Epistle General of St. John',
849
+ },
850
+ },
851
+ '3 John': {
852
+ en: {
853
+ short: '3 John',
854
+ long: 'The Third Letter of John',
855
+ },
856
+ 'en-CA': {
857
+ short: '3 John',
858
+ long: 'The Third Epistle General of St. John',
859
+ },
860
+ },
861
+ Jude: {
862
+ en: {
863
+ short: 'Jude',
864
+ long: 'The Letter of Jude',
865
+ },
866
+ 'en-CA': {
867
+ short: 'Jude',
868
+ long: 'The Epistle General of St. Jude',
869
+ },
870
+ },
871
+ Revelation: {
872
+ en: {
873
+ short: 'Revelation',
874
+ long: 'The Book of Revelation',
875
+ },
876
+ 'en-CA': {
877
+ short: 'Revelation',
878
+ long: 'The Revelation to St. John the Divine',
879
+ },
880
+ },
881
+ '1 Esdras': {
882
+ en: {
883
+ short: '1 Esdras',
884
+ long: 'The Second Book of Esdras',
885
+ },
886
+ },
887
+ '2 Esdras': {
888
+ en: {
889
+ short: '2 Esdras',
890
+ long: 'The Second Book of Esdras',
891
+ },
892
+ },
893
+ Bel: {
894
+ en: {
895
+ short: 'Bel',
896
+ long: 'Bel and the Dragon',
897
+ },
898
+ },
899
+ 'Letter of Jeremiah': {
900
+ en: {
901
+ short: 'Letter of Jeremiah',
902
+ long: 'The Letter of Jeremiah',
903
+ },
904
+ },
905
+ };
906
+
907
+ function ordinalSuffix(i) {
908
+ var j = i % 10, k = i % 100;
909
+ if (j == 1 && k != 11) {
910
+ return i + 'st';
911
+ }
912
+ if (j == 2 && k != 12) {
913
+ return i + 'nd';
914
+ }
915
+ if (j == 3 && k != 13) {
916
+ return i + 'rd';
917
+ }
918
+ return i + 'th';
919
+ }
920
+
921
+ const STYLES$2 = ['long', 'short'];
922
+ /** BibleReading represents liturgical instructions. */
923
+ class BibleReading extends book.LiturgicalDocument {
924
+ //** Constructor takes a Javascript object containing the class's properties */
925
+ constructor(data = {}) {
926
+ super(data);
927
+ }
928
+ /** Replaces ${longName} or ${shortName} in LD passed as intro with appropriate value */
929
+ compileIntro() {
930
+ var _a, _b, _c, _d;
931
+ if (this.metadata && this.metadata.intro) {
932
+ const abbrev = (_a = this.abbrevFromCitation()) !== null && _a !== void 0 ? _a : this.citation, bookCode = this.bookCodeFromAbbrev(abbrev !== null && abbrev !== void 0 ? abbrev : ''), longName = abbrev ? this.longNameFromBookCode(bookCode !== null && bookCode !== void 0 ? bookCode : '', this.language || 'en') : '—', shortName = abbrev ? this.shortNameFromBookCode(bookCode !== null && bookCode !== void 0 ? bookCode : '', this.language || 'en') : '—', chapter = this.chapterFromCitation(), verse = this.verseFromCitation();
933
+ const newValue = new Array();
934
+ const process = (s) => s
935
+ .replace(/\$\{longName\}/g, (longName !== null && longName !== void 0 ? longName : abbrev).replace('The', 'the'))
936
+ .replace(/\$\{shortName\}/g, shortName !== null && shortName !== void 0 ? shortName : abbrev)
937
+ .replace(/\$\{chapter\}/g, `${ordinalSuffix(Number(chapter) || 1)}`)
938
+ .replace(/\$\{verse\}/g, `${ordinalSuffix(Number(verse) || 1)}`);
939
+ (_d = (_c = (_b = this.metadata) === null || _b === void 0 ? void 0 : _b.intro) === null || _c === void 0 ? void 0 : _c.value) === null || _d === void 0 ? void 0 : _d.forEach((introValue) => {
940
+ // Intro is presumably a Text or similar
941
+ if (typeof introValue == 'string') {
942
+ newValue.push(process(introValue));
943
+ }
944
+ // Intro is presumably a ResponsivePrayer or similar
945
+ else if (introValue.hasOwnProperty('text')) {
946
+ newValue.push(Object.assign(Object.assign({}, introValue), { text: process(introValue.text) }));
947
+ }
948
+ // if it's neither of those, do nothing at all to it
949
+ else {
950
+ newValue.push(process(introValue));
951
+ }
952
+ });
953
+ this.metadata.compiled_intro = new book.LiturgicalDocument(Object.assign(Object.assign({}, this.metadata.intro), { value: newValue }));
954
+ }
955
+ }
956
+ /** Generates an abbreviated book name from citation
957
+ * @example
958
+ * // returns 'Genesis'
959
+ * this.citation = 'Gen. 3:4'
960
+ * this.abbrevFromCitation() */
961
+ abbrevFromCitation() {
962
+ let citation;
963
+ try {
964
+ const matches = (this.citation || '').match(/(\d*\s*[a-zA-Z]+)/);
965
+ citation = matches ? matches[0] : '';
966
+ }
967
+ catch (e) {
968
+ citation = this.citation;
969
+ }
970
+ return citation.replace(/\./g, '');
971
+ }
972
+ /** Gives number of first chapter of citation */
973
+ chapterFromCitation() {
974
+ var _a;
975
+ const matches = (_a = (this.citation || '').split(';')[0]) === null || _a === void 0 ? void 0 : _a.match(/[\s\.:](\d+)/g);
976
+ if (matches) {
977
+ const [chapter] = matches;
978
+ return typeof chapter === 'string' ? chapter.trim().replace(/[\.,:]/g, '') : undefined;
979
+ }
980
+ else {
981
+ return undefined;
982
+ }
983
+ }
984
+ /** Gives number of first verse of citation */
985
+ verseFromCitation() {
986
+ var _a;
987
+ const matches = (_a = (this.citation || '').split(';')[0]) === null || _a === void 0 ? void 0 : _a.match(/[\s\.:](\d+)/g);
988
+ if (matches) {
989
+ const [, verse] = matches;
990
+ return typeof verse === 'string' ? verse.trim().replace(/[\.,:]/g, '') : undefined;
991
+ }
992
+ else {
993
+ return undefined;
994
+ }
995
+ }
996
+ /** Given an abbreviated book name, returns the name of the book
997
+ * @example
998
+ * // returns 'Genesis'
999
+ * this.bookCodeFromAbbrev('Gen') */
1000
+ bookCodeFromAbbrev(a) {
1001
+ if (a) {
1002
+ const abbrev = a.replace(/\./g, ''), searchResult = BIBLE_BOOK_ABBREVIATIONS.find((book) => book.name == abbrev || book.aliases.includes(abbrev) || book.name.includes(abbrev));
1003
+ return searchResult ? searchResult.name : a;
1004
+ }
1005
+ else {
1006
+ return undefined;
1007
+ }
1008
+ }
1009
+ /** Given a book name, returns the full name in the language passed; if not found, returns book name given
1010
+ * @example
1011
+ * // returns 'The Book of Genesis'
1012
+ * this.longNameFromBookCode('Genesis') */
1013
+ longNameFromBookCode(bookName, lang = 'en') {
1014
+ const bookCode = this.bookCodeFromAbbrev(bookName);
1015
+ if (bookCode) {
1016
+ const bookResult = BIBLE_BOOK_NAMES[bookCode];
1017
+ let searchResult = (bookResult || {})[lang];
1018
+ if (!searchResult) {
1019
+ searchResult = (bookResult || {})['en'];
1020
+ }
1021
+ return searchResult ? searchResult.long : bookName;
1022
+ }
1023
+ else {
1024
+ return undefined;
1025
+ }
1026
+ }
1027
+ /** Given a book name, returns the short name in the language passed; if not found, returns book name given
1028
+ * @example
1029
+ * // returns 'Genesis'
1030
+ * this.shortNameFromBookCode('Genesis') */
1031
+ shortNameFromBookCode(bookName, lang = 'en') {
1032
+ var _a;
1033
+ const bookResult = BIBLE_BOOK_NAMES[(_a = this.bookCodeFromAbbrev(bookName)) !== null && _a !== void 0 ? _a : ''], searchResult = (bookResult || {})[lang];
1034
+ return searchResult ? searchResult.short : bookName;
1035
+ }
1036
+ /** Returns the list of all possible `style` values. */
1037
+ availableStyles() {
1038
+ return STYLES$2;
1039
+ }
1040
+ /** No meaningful difference in display formats for this type */
1041
+ availableDisplayFormats() {
1042
+ return ['default', 'omit'];
1043
+ }
1044
+ }
1045
+
1046
+ /** Represents the "recipe" to compile a liturgy */
1047
+ class Liturgy extends book.LiturgicalDocument {
1048
+ /** No meaningful differences in display format for liturgies */
1049
+ availableDisplayFormats() {
1050
+ return [];
1051
+ }
1052
+ }
1053
+
1054
+ class Meditation extends book.LiturgicalDocument {
1055
+ //** Constructor takes a Javascript object containing the class's properties */
1056
+ constructor(data = {}) {
1057
+ super(data);
1058
+ }
1059
+ }
1060
+
1061
+ const STYLES$1 = ['psalm', 'canticle', 'invitatory'];
1062
+ /** Psalm represents liturgical instructions. */
1063
+ class Psalm extends book.LiturgicalDocument {
1064
+ //** Constructor takes a Javascript object containing the class's properties */
1065
+ constructor(data = {}) {
1066
+ super(data);
1067
+ }
1068
+ /** Returns a filtered list of verses based on citation */
1069
+ filteredVerses() {
1070
+ let filtered = new Array();
1071
+ if (this.citation && (this.citation.match(/Ps[^\s]*\s*\d+/) || this.citation == '')) {
1072
+ const versesInCitation = this.versesInCitation(this.citation);
1073
+ if (versesInCitation.length == 0) {
1074
+ /* if `versesInCitation` is empty, it's probably because
1075
+ * something like 'Psalm 80' was passed as citation */
1076
+ filtered = this.value;
1077
+ }
1078
+ else {
1079
+ (this.value || []).forEach((section) => {
1080
+ const newSection = new Array();
1081
+ // okay, this is O(4n)...
1082
+ (section.value || []).forEach((verse) => {
1083
+ if (!verse.number || versesInCitation.includes(verse.number)) {
1084
+ newSection.push(verse);
1085
+ }
1086
+ else if (versesInCitation.includes(`[${verse.number}`)) {
1087
+ newSection.push(Object.assign(Object.assign({}, verse), { verse: '[' + verse.verse }));
1088
+ }
1089
+ else if (versesInCitation.includes(`${verse.number}]`)) {
1090
+ newSection.push(Object.assign(Object.assign({}, verse), { halfverse: verse.halfverse + ']' }));
1091
+ }
1092
+ else if (versesInCitation.includes(`[${verse.number}]`)) {
1093
+ newSection.push(Object.assign(Object.assign({}, verse), { verse: '[' + verse.verse, halfverse: verse.halfverse + ']' }));
1094
+ }
1095
+ });
1096
+ filtered.push(Object.assign(Object.assign({}, section), { value: newSection }));
1097
+ });
1098
+ }
1099
+ }
1100
+ else {
1101
+ filtered = this.value;
1102
+ }
1103
+ return filtered;
1104
+ }
1105
+ /** Transforms an ordinary citation into a list of included verse numbers
1106
+ * @example
1107
+ * // returns ['1', '2', '3', '6', '7', '11']
1108
+ * versesInCitation('Psalm 100:1-3,6-7, 11a')
1109
+ * */
1110
+ versesInCitation(citation) {
1111
+ function makeVerseNumber(startBracket, endBracket, num) {
1112
+ if (startBracket && endBracket) {
1113
+ return '[' + num + ']';
1114
+ }
1115
+ else if (startBracket) {
1116
+ return '[' + num;
1117
+ }
1118
+ else if (endBracket) {
1119
+ return num + ']';
1120
+ }
1121
+ else {
1122
+ return num;
1123
+ }
1124
+ }
1125
+ // comments assume versesInCitation('Psalm 100:1-3,6-7, 11a')
1126
+ // search = [ "Psalm 100", "1-3", "6-7", "11a" ]
1127
+ const search = citation.replace(/Ps[\w\.]*\s*/g, '').split(/\s*([\[\]\(\),:\s])\s*/),
1128
+ // whole = 'Psalm 100', psalm = 'Psalm', number = '100'
1129
+ // [whole, psalm, number] = search[0].match(/(Ps[^\s]*)\s(\d+)/),
1130
+ // verseRanges = [ "1-3", "6-7", "11a" ]
1131
+ verseRanges = search.slice(1);
1132
+ let verses = new Array();
1133
+ let startBracket = false;
1134
+ let endBracket = false;
1135
+ (verseRanges || []).forEach((range, rangeIndex) => {
1136
+ if (range === '[' || range === '(') {
1137
+ startBracket = true;
1138
+ }
1139
+ if (verseRanges[rangeIndex + 1] === ']' || verseRanges[rangeIndex + 1] === ')') {
1140
+ endBracket = true;
1141
+ }
1142
+ const [first, last] = range.replace(/[^\d-s–]/g, '').split(/-|–/);
1143
+ if (first && last) {
1144
+ const hasEndBracket = endBracket;
1145
+ for (let ii = parseInt(first); ii <= parseInt(last); ii++) {
1146
+ endBracket = hasEndBracket && ii == parseInt(last);
1147
+ verses.push(makeVerseNumber(startBracket, endBracket, ii.toString()));
1148
+ startBracket = false;
1149
+ }
1150
+ }
1151
+ else {
1152
+ if (first) {
1153
+ verses.push(makeVerseNumber(startBracket, endBracket, first));
1154
+ startBracket = false;
1155
+ }
1156
+ endBracket = false;
1157
+ }
1158
+ });
1159
+ return verses;
1160
+ }
1161
+ /** Whether the antiphon should be included */
1162
+ includeAntiphon() {
1163
+ const metadata = this.metadata || {};
1164
+ return (!!metadata.antiphon && !metadata.omit_antiphon // must have an antiphon
1165
+ ); //&& // if we're supposed to omit it, omit it
1166
+ //!(this.style == 'canticle' && !metadata.omit_gloria);
1167
+ }
1168
+ /** Whether the antiphon should be repeated after a section of the given index */
1169
+ repeatAntiphon(setIndex, filteredValueLength = 0) {
1170
+ const metadata = this.metadata || {};
1171
+ if (filteredValueLength == 0) {
1172
+ filteredValueLength = this.filteredVerses().length;
1173
+ }
1174
+ return (this.includeAntiphon() && // only if there's an antiphon
1175
+ !((metadata.omit_gloria && setIndex == filteredValueLength - 1) // antiphon will repeat after Gloria, so don't include it here as well
1176
+ )); // if there's no Gloria, and this is the final set
1177
+ }
1178
+ /** Returns the list of all possible `style` values. */
1179
+ availableStyles() {
1180
+ return STYLES$1;
1181
+ }
1182
+ /** Returns the list ofall possible `display_format` values. */
1183
+ availableDisplayFormats() {
1184
+ return ['default', 'omit', 'unison', 'wholeverse', 'halfverse'];
1185
+ }
1186
+ }
1187
+
1188
+ const STYLES = ['preces', 'litany', 'responsive'];
1189
+ /** Text represents collect or any other short prayer. */
1190
+ class ResponsivePrayer extends book.LiturgicalDocument {
1191
+ //** Constructor takes a Javascript object containing the class's properties */
1192
+ constructor(data = {}) {
1193
+ super(data);
1194
+ }
1195
+ /** Returns the list of all possible `style` values. */
1196
+ availableStyles() {
1197
+ return STYLES;
1198
+ }
1199
+ availableDisplayFormats() {
1200
+ return [];
1201
+ }
1202
+ }
1203
+
1204
+ /** Rubric represents liturgical instructions. */
1205
+ class Rubric extends book.LiturgicalDocument {
1206
+ //** Constructor takes a Javascript object containing the class's properties */
1207
+ constructor(data = {}) {
1208
+ super(data);
1209
+ }
1210
+ availableDisplayFormats() {
1211
+ return [];
1212
+ }
1213
+ }
1214
+
1215
+ exports.BibleReading = BibleReading;
1216
+ exports.Liturgy = Liturgy;
1217
+ exports.Meditation = Meditation;
1218
+ exports.Psalm = Psalm;
1219
+ exports.ResponsivePrayer = ResponsivePrayer;
1220
+ exports.Rubric = Rubric;