@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,1213 @@
1
+ import { L as LiturgicalDocument } from './book-31b8cdde.js';
2
+
3
+ const BIBLE_BOOK_ABBREVIATIONS = [
4
+ {
5
+ name: 'Genesis',
6
+ aliases: ['Gn', 'Gen', 'Genesis'],
7
+ },
8
+ {
9
+ name: 'Exodus',
10
+ aliases: ['Exod', 'Ex', 'Exo', 'Exodus'],
11
+ },
12
+ {
13
+ name: 'Leviticus',
14
+ aliases: ['Lev', 'Lv', 'Leviticus'],
15
+ },
16
+ {
17
+ name: 'Numbers',
18
+ aliases: ['Num', 'Numbers'],
19
+ },
20
+ {
21
+ name: 'Deuteronomy',
22
+ aliases: ['Deut', 'Deuteronomy'],
23
+ },
24
+ {
25
+ name: 'Joshua',
26
+ aliases: ['Josh', 'Joshua'],
27
+ },
28
+ {
29
+ name: 'Judges',
30
+ aliases: ['Judg', 'Jdg', 'Judges'],
31
+ },
32
+ {
33
+ name: 'Ruth',
34
+ aliases: ['Ruth'],
35
+ },
36
+ {
37
+ name: '1 Samuel',
38
+ aliases: ['1Sam', '1 Sam', '1st Sam', '1st Samuel', 'First Samuel', '1 Samuel'],
39
+ },
40
+ {
41
+ name: '2 Samuel',
42
+ aliases: ['2Sam', '2 Sam', '2nd Sam', '2nd Samuel', 'Second Samuel', '2 Samuel'],
43
+ },
44
+ {
45
+ name: '1 Kings',
46
+ aliases: ['1Kgs', '1 Kgs', '1st Kgs', '1st Kings', 'First Kings', '1 Kings'],
47
+ },
48
+ {
49
+ name: '2 Kings',
50
+ aliases: ['2Kgs', '2 Kgs', '2nd Kgs', '2nd Kings', 'Second Kings', '2 Kings'],
51
+ },
52
+ {
53
+ name: '1 Chronicles',
54
+ aliases: ['1Chr', '1 Chr', '1st Chr', '1st Chronicles', 'First Chronicles', '1 Chronicles'],
55
+ },
56
+ {
57
+ name: '2 Chronicles',
58
+ aliases: ['2Chr', '2 Chr', '2nd Chr', '2nd Chronicles', 'Second Chronicles', '2 Chronicles'],
59
+ },
60
+ {
61
+ name: 'Ezra',
62
+ aliases: ['Ezra'],
63
+ },
64
+ {
65
+ name: 'Nehemiah',
66
+ aliases: ['Neh', 'Nehemiah'],
67
+ },
68
+ {
69
+ name: 'Esther',
70
+ aliases: ['Esth', 'Est', 'Esther'],
71
+ },
72
+ {
73
+ name: 'Job',
74
+ aliases: ['Jb', 'Job'],
75
+ },
76
+ {
77
+ name: 'Psalms',
78
+ aliases: ['Ps', 'Psalm', 'Psalms'],
79
+ },
80
+ {
81
+ name: 'Proverbs',
82
+ aliases: ['Prov', 'Pro', 'Proverbs'],
83
+ },
84
+ {
85
+ name: 'Ecclesiastes',
86
+ aliases: ['Eccl', 'Ecc', 'Ecclesiastes'],
87
+ },
88
+ {
89
+ name: 'The Song of Solomon',
90
+ aliases: ['Song', 'Song of Songs', 'Song of Solomon', 'Cant'],
91
+ },
92
+ {
93
+ name: 'Isaiah',
94
+ aliases: ['Isa', 'Is', 'Isaiah'],
95
+ },
96
+ {
97
+ name: 'Jeremiah',
98
+ aliases: ['Jer', 'Jeremiah'],
99
+ },
100
+ {
101
+ name: 'Letter of Jeremiah',
102
+ aliases: ['EJer', 'EpJer', 'Epistle of Jeremiah'],
103
+ },
104
+ {
105
+ name: 'Lamentations',
106
+ aliases: ['Lam', 'Lamentations'],
107
+ },
108
+ {
109
+ name: 'Ezekiel',
110
+ aliases: ['Ezek', 'Ezekiel'],
111
+ },
112
+ {
113
+ name: 'Daniel',
114
+ aliases: ['Dan', 'Daniel'],
115
+ },
116
+ {
117
+ name: 'Hosea',
118
+ aliases: ['Hos', 'Hosea'],
119
+ },
120
+ {
121
+ name: 'Joel',
122
+ aliases: ['Joel'],
123
+ },
124
+ {
125
+ name: 'Amos',
126
+ aliases: ['Amos'],
127
+ },
128
+ {
129
+ name: 'Obadiah',
130
+ aliases: ['Obad', 'Oba', 'Obadiah'],
131
+ },
132
+ {
133
+ name: 'Jonah',
134
+ aliases: ['Jon', 'Jonah'],
135
+ },
136
+ {
137
+ name: 'Micah',
138
+ aliases: ['Mic', 'Micah'],
139
+ },
140
+ {
141
+ name: 'Nahum',
142
+ aliases: ['Nah', 'Nahum'],
143
+ },
144
+ {
145
+ name: 'Habakkuk',
146
+ aliases: ['Hab', 'Habakkuk'],
147
+ },
148
+ {
149
+ name: 'Zephaniah',
150
+ aliases: ['Zeph', 'Zephaniah'],
151
+ },
152
+ {
153
+ name: 'Haggai',
154
+ aliases: ['Hag', 'Haggai'],
155
+ },
156
+ {
157
+ name: 'Zechariah',
158
+ aliases: ['Zech', 'Zechariah'],
159
+ },
160
+ {
161
+ name: 'Malachi',
162
+ aliases: ['Mal', 'Malachi'],
163
+ },
164
+ {
165
+ name: 'Tobit',
166
+ aliases: ['Tob', 'Tobit'],
167
+ },
168
+ {
169
+ name: 'Judith',
170
+ aliases: ['Jdt', 'Judith'],
171
+ },
172
+ {
173
+ name: 'Baruch',
174
+ aliases: ['Bar', 'Baruch'],
175
+ },
176
+ {
177
+ name: '1 Maccabees',
178
+ aliases: ['1Macc', '1 Maccabees', 'First Maccabees', '1 Macc'],
179
+ },
180
+ {
181
+ name: '2 Maccabees',
182
+ aliases: ['2Macc', '2 Maccabees', 'Second Maccabees', '2 Macc'],
183
+ },
184
+ {
185
+ name: 'Wisdom',
186
+ aliases: ['Wis', 'Wisdom'],
187
+ },
188
+ {
189
+ name: 'Sirach',
190
+ aliases: ['Sir', 'Ecclus', 'Ben Sira', 'Ecclesiasticus'],
191
+ },
192
+ {
193
+ name: '1 Esdras',
194
+ aliases: ['1 Esdr', '1 Esdras', '1 Esd', '1Esdras', '1Esdr', '1Esd'],
195
+ },
196
+ {
197
+ name: '2 Esdras',
198
+ aliases: ['2 Esdr', '2 Esdras', '2 Esd', '2Esdras', '2Esdr', '2Esd'],
199
+ },
200
+ {
201
+ name: 'Bel',
202
+ aliases: ['Bel', 'Bel & the Dragon'],
203
+ },
204
+ {
205
+ name: 'Azariah',
206
+ aliases: ['Azariah', 'Song of the Three Young Men', 'Song of the Three Childr.', 'Song of the Three Children'],
207
+ },
208
+ {
209
+ name: 'Matthew',
210
+ aliases: ['Matt', 'Matthew', 'Mt'],
211
+ },
212
+ {
213
+ name: 'Mark',
214
+ aliases: ['Mark', 'Mk'],
215
+ },
216
+ {
217
+ name: 'Luke',
218
+ aliases: ['Luke', 'Lk'],
219
+ },
220
+ {
221
+ name: 'John',
222
+ aliases: ['Jn', 'John', 'Joh'],
223
+ },
224
+ {
225
+ name: 'Acts',
226
+ aliases: ['Acts'],
227
+ },
228
+ {
229
+ name: 'Romans',
230
+ aliases: ['Rom', 'Romans'],
231
+ },
232
+ {
233
+ name: '1 Corinthians',
234
+ aliases: ['1Cor', '1 Cor', '1st Cor', '1st Corinthians', 'First Corinthians', '1 Corinthians'],
235
+ },
236
+ {
237
+ name: '2 Corinthians',
238
+ aliases: ['2Cor', '2 Cor', '2nd Cor', '2nd Corinthians', 'Second Corinthians', '2 Corinthians'],
239
+ },
240
+ {
241
+ name: 'Galatians',
242
+ aliases: ['Gal', 'Galatians'],
243
+ },
244
+ {
245
+ name: 'Ephesians',
246
+ aliases: ['Eph', 'Ephesians'],
247
+ },
248
+ {
249
+ name: 'Philippians',
250
+ aliases: ['Phil', 'Philippians'],
251
+ },
252
+ {
253
+ name: 'Colossians',
254
+ aliases: ['Col', 'Colossians'],
255
+ },
256
+ {
257
+ name: '1 Thessalonians',
258
+ aliases: ['1Thess', '1 Thess', '1st Thess', '1st Thessalonians', 'First Thessalonians', '1 Thessalonians'],
259
+ },
260
+ {
261
+ name: '2 Thessalonians',
262
+ aliases: ['2Thess', '2 Thess', '2nd Thess', '2nd Thessalonians', 'Second Thessalonians', '2 Thessalonians'],
263
+ },
264
+ {
265
+ name: '1 Timothy',
266
+ aliases: ['1 Tim', '1Tim', '1st Tim', '1st Timothy', 'First Timothy', '1 Timothy'],
267
+ },
268
+ {
269
+ name: '2 Timothy',
270
+ aliases: ['2 Tim', '2Tim', '2nd Tim', '2nd Timothy', 'Second Timothy', '2 Timothy'],
271
+ },
272
+ {
273
+ name: 'Titus',
274
+ aliases: ['Titus'],
275
+ },
276
+ {
277
+ name: 'Philemon',
278
+ aliases: ['Phlm', 'Philemon'],
279
+ },
280
+ {
281
+ name: 'Hebrews',
282
+ aliases: ['Heb', 'Hebrews'],
283
+ },
284
+ {
285
+ name: 'James',
286
+ aliases: ['Jas', 'James'],
287
+ },
288
+ {
289
+ name: '1 Peter',
290
+ aliases: ['1Pet', '1 Pet', '1st Pet', '1st Peter', 'First Peter', '1 Peter'],
291
+ },
292
+ {
293
+ name: '2 Peter',
294
+ aliases: ['2Pet', '2 Pet', '2nd Pet', '2nd Peter', 'Second Peter', '2 Peter'],
295
+ },
296
+ {
297
+ name: '1 John',
298
+ aliases: ['1John', '1 John', '1st John', 'First John', '1 Joh'],
299
+ },
300
+ {
301
+ name: '2 John',
302
+ aliases: ['2John', '2 John', '2nd John', 'Second John', '2 Joh'],
303
+ },
304
+ {
305
+ name: '3 John',
306
+ aliases: ['3John', '3 John', '3rd John', 'Third John', '3 Joh'],
307
+ },
308
+ {
309
+ name: 'Jude',
310
+ aliases: ['Jude', 'Jd'],
311
+ },
312
+ {
313
+ name: 'Revelation',
314
+ aliases: ['Rev', 'Revelation', 'Revelations', 'Apocalypse', 'Apoc'],
315
+ },
316
+ ];
317
+
318
+ const BIBLE_BOOK_NAMES = {
319
+ Genesis: {
320
+ en: {
321
+ short: 'Genesis',
322
+ long: 'The Book of Genesis',
323
+ },
324
+ },
325
+ Exodus: {
326
+ en: {
327
+ short: 'Exodus',
328
+ long: 'The Book of Exodus',
329
+ },
330
+ },
331
+ Leviticus: {
332
+ en: {
333
+ short: 'Leviticus',
334
+ long: 'The Book of Leviticus',
335
+ },
336
+ },
337
+ Numbers: {
338
+ en: {
339
+ short: 'Numbers',
340
+ long: 'The Book of Numbers',
341
+ },
342
+ },
343
+ Deuteronomy: {
344
+ en: {
345
+ short: 'Deuteronomy',
346
+ long: 'The Book of Deuteronomy',
347
+ },
348
+ },
349
+ Joshua: {
350
+ en: {
351
+ short: 'Joshua',
352
+ long: 'The Book of Joshua',
353
+ },
354
+ },
355
+ Judges: {
356
+ en: {
357
+ short: 'Judges',
358
+ long: 'The Book of Judges',
359
+ },
360
+ },
361
+ Ruth: {
362
+ en: {
363
+ short: 'Ruth',
364
+ long: 'The Book of Ruth',
365
+ },
366
+ },
367
+ '1 Samuel': {
368
+ en: {
369
+ short: '1 Samuel',
370
+ long: 'The First Book of Samuel',
371
+ },
372
+ },
373
+ '2 Samuel': {
374
+ en: {
375
+ short: '2 Samuel',
376
+ long: 'The Second Book of Samuel',
377
+ },
378
+ },
379
+ '1 Kings': {
380
+ en: {
381
+ short: '1 Kings',
382
+ long: 'The First Book of Kings',
383
+ },
384
+ },
385
+ '2 Kings': {
386
+ en: {
387
+ short: '2 Kings',
388
+ long: 'The Second Book of Kings',
389
+ },
390
+ },
391
+ '1 Chronicles': {
392
+ en: {
393
+ short: '1 Chronicles',
394
+ long: 'The First Book of Chronicles',
395
+ },
396
+ },
397
+ '2 Chronicles': {
398
+ en: {
399
+ short: '2 Chronicles',
400
+ long: 'The Second Book of Chronicles',
401
+ },
402
+ },
403
+ Ezra: {
404
+ en: {
405
+ short: 'Ezra',
406
+ long: 'The Book of Ezra',
407
+ },
408
+ },
409
+ Nehemiah: {
410
+ en: {
411
+ short: 'Nehemiah',
412
+ long: 'The Book of Nehemiah',
413
+ },
414
+ },
415
+ Esther: {
416
+ en: {
417
+ short: 'Esther',
418
+ long: 'The Book of Esther',
419
+ },
420
+ },
421
+ Job: {
422
+ en: {
423
+ short: 'Job',
424
+ long: 'The Book of Job',
425
+ },
426
+ },
427
+ Psalms: {
428
+ en: {
429
+ short: 'Psalms',
430
+ long: 'The Psalms',
431
+ },
432
+ },
433
+ Proverbs: {
434
+ en: {
435
+ short: 'Proverbs',
436
+ long: 'The Book of Proverbs',
437
+ },
438
+ },
439
+ Ecclesiastes: {
440
+ en: {
441
+ short: 'Ecclesiastes',
442
+ long: 'The Book of Ecclesiastes',
443
+ },
444
+ },
445
+ 'The Song of Solomon': {
446
+ en: {
447
+ short: 'The Song of Solomon',
448
+ long: 'The Song of Solomon',
449
+ },
450
+ },
451
+ Isaiah: {
452
+ en: {
453
+ short: 'Isaiah',
454
+ long: 'The Book of the Prophet Isaiah',
455
+ },
456
+ },
457
+ Jeremiah: {
458
+ en: {
459
+ short: 'Jeremiah',
460
+ long: 'The Book of the Prophet Jeremiah',
461
+ },
462
+ },
463
+ Lamentations: {
464
+ en: {
465
+ short: 'Lamentations',
466
+ long: 'The Book of Lamentations',
467
+ },
468
+ },
469
+ Ezekiel: {
470
+ en: {
471
+ short: 'Ezekiel',
472
+ long: 'The Book of the Prophet Ezekiel',
473
+ },
474
+ },
475
+ Daniel: {
476
+ en: {
477
+ short: 'Daniel',
478
+ long: 'The Book of Daniel',
479
+ },
480
+ 'en-CA': {
481
+ short: 'Daniel',
482
+ long: 'The Book of the Prophet Daniel',
483
+ },
484
+ },
485
+ Hosea: {
486
+ en: {
487
+ short: 'Hosea',
488
+ long: 'The Book of the Prophet Hosea',
489
+ },
490
+ },
491
+ Joel: {
492
+ en: {
493
+ short: 'Joel',
494
+ long: 'The Book of the Prophet Joel',
495
+ },
496
+ },
497
+ Amos: {
498
+ en: {
499
+ short: 'Amos',
500
+ long: 'The Book of the Prophet Amos',
501
+ },
502
+ },
503
+ Obadiah: {
504
+ en: {
505
+ short: 'Obadiah',
506
+ long: 'The Book of the Prophet Obadiah',
507
+ },
508
+ },
509
+ Jonah: {
510
+ en: {
511
+ short: 'Jonah',
512
+ long: 'The Book of the Prophet Jonah',
513
+ },
514
+ },
515
+ Micah: {
516
+ en: {
517
+ short: 'Micah',
518
+ long: 'The Book of the Prophet Micah',
519
+ },
520
+ },
521
+ Nahum: {
522
+ en: {
523
+ short: 'Nahum',
524
+ long: 'The Book of the Prophet Nahum',
525
+ },
526
+ },
527
+ Habakkuk: {
528
+ en: {
529
+ short: 'Habakkuk',
530
+ long: 'The Book of the Prophet Habakkuk',
531
+ },
532
+ },
533
+ Zephaniah: {
534
+ en: {
535
+ short: 'Zephaniah',
536
+ long: 'The Book of the Prophet Zephaniah',
537
+ },
538
+ },
539
+ Haggai: {
540
+ en: {
541
+ short: 'Haggai',
542
+ long: 'The Book of the Prophet Haggai',
543
+ },
544
+ },
545
+ Zechariah: {
546
+ en: {
547
+ short: 'Zechariah',
548
+ long: 'The Book of the Prophet Zechariah',
549
+ },
550
+ },
551
+ Malachi: {
552
+ en: {
553
+ short: 'Malachi',
554
+ long: 'The Book of the Prophet Malachi',
555
+ },
556
+ },
557
+ Tobit: {
558
+ en: {
559
+ short: 'Tobit',
560
+ long: 'The Book of Tobit',
561
+ },
562
+ },
563
+ Azariah: {
564
+ en: {
565
+ short: 'The Song of the Three Children',
566
+ long: 'The Song of the Three Children',
567
+ },
568
+ },
569
+ Judith: {
570
+ en: {
571
+ short: 'Judith',
572
+ long: 'The Book of Judith',
573
+ },
574
+ },
575
+ Baruch: {
576
+ en: {
577
+ short: 'Baruch',
578
+ long: 'The Book of Baruch',
579
+ },
580
+ },
581
+ '1 Maccabees': {
582
+ en: {
583
+ short: '1 Maccabees',
584
+ long: 'The First Book of Maccabees',
585
+ },
586
+ },
587
+ '2 Maccabees': {
588
+ en: {
589
+ short: '2 Maccabees',
590
+ long: 'The Second Book of Maccabees',
591
+ },
592
+ },
593
+ Wisdom: {
594
+ en: {
595
+ short: 'Wisdom',
596
+ long: 'The Wisdom of Solomon',
597
+ },
598
+ },
599
+ Sirach: {
600
+ en: {
601
+ short: 'Sirach',
602
+ long: 'The Wisdom of Ben Sira',
603
+ },
604
+ 'en-CA': {
605
+ short: 'Sirach',
606
+ long: 'The Book of Ecclesiasticus',
607
+ },
608
+ },
609
+ Matthew: {
610
+ en: {
611
+ short: 'Matthew',
612
+ long: 'The Gospel According to Matthew',
613
+ },
614
+ 'en-CA': {
615
+ short: 'Matthew',
616
+ long: 'The Gospel According to St. Matthew',
617
+ },
618
+ },
619
+ Mark: {
620
+ en: {
621
+ short: 'Mark',
622
+ long: 'The Gospel According to Mark',
623
+ },
624
+ 'en-CA': {
625
+ short: 'Mark',
626
+ long: 'The Gospel According to St. Mark',
627
+ },
628
+ },
629
+ Luke: {
630
+ en: {
631
+ short: 'Luke',
632
+ long: 'The Gospel According to Luke',
633
+ },
634
+ 'en-CA': {
635
+ short: 'Luke',
636
+ long: 'The Gospel According to St. Luke',
637
+ },
638
+ },
639
+ John: {
640
+ en: {
641
+ short: 'John',
642
+ long: 'The Gospel According to John',
643
+ },
644
+ 'en-CA': {
645
+ short: 'John',
646
+ long: 'The Gospel According to St. John',
647
+ },
648
+ },
649
+ Acts: {
650
+ en: {
651
+ short: 'Acts',
652
+ long: 'The Acts of the Apostles',
653
+ },
654
+ 'en-CA': {
655
+ short: 'Acts',
656
+ long: 'The Book of the Acts of the Apostles',
657
+ },
658
+ },
659
+ Romans: {
660
+ en: {
661
+ short: 'Romans',
662
+ long: 'The Letter to the Romans',
663
+ },
664
+ 'en-CA': {
665
+ short: 'Romans',
666
+ long: 'The Epistle of St. Paul the Apostle to the Romans',
667
+ },
668
+ },
669
+ '1 Corinthians': {
670
+ en: {
671
+ short: '1 Corinthians',
672
+ long: 'The First Letter to the Corinthians',
673
+ },
674
+ 'en-CA': {
675
+ short: '1 Corinthians',
676
+ long: 'The First Epistle of St. Paul the Apostle to the Corinthians',
677
+ },
678
+ },
679
+ '2 Corinthians': {
680
+ en: {
681
+ short: '2 Corinthians',
682
+ long: 'The Second Letter to the Corinthians',
683
+ },
684
+ 'en-CA': {
685
+ short: '2 Corinthians',
686
+ long: 'The Second Epistle of St. Paul the Apostle to the Corinthians',
687
+ },
688
+ },
689
+ Galatians: {
690
+ en: {
691
+ short: 'Galatians',
692
+ long: 'The Letter to the Galatians',
693
+ },
694
+ 'en-CA': {
695
+ short: 'Galatians',
696
+ long: 'The Epistle of St. Paul the Apostle to the Galatians',
697
+ },
698
+ },
699
+ Ephesians: {
700
+ en: {
701
+ short: 'Ephesians',
702
+ long: 'The Letter to the Ephesians',
703
+ },
704
+ 'en-CA': {
705
+ short: 'Ephesians',
706
+ long: 'The Epistle of St. Paul the Apostle to the Ephesians',
707
+ },
708
+ },
709
+ Philippians: {
710
+ en: {
711
+ short: 'Philippians',
712
+ long: 'The Letter to the Philippians',
713
+ },
714
+ 'en-CA': {
715
+ short: 'Philippians',
716
+ long: 'The Epistle of St. Paul the Apostle to the Philippians',
717
+ },
718
+ },
719
+ Colossians: {
720
+ en: {
721
+ short: 'Colossians',
722
+ long: 'The Letter to the Colossians',
723
+ },
724
+ 'en-CA': {
725
+ short: 'Colossians',
726
+ long: 'The Epistle of St. Paul the Apostle to the Colossians',
727
+ },
728
+ },
729
+ '1 Thessalonians': {
730
+ en: {
731
+ short: '1 Thessalonians',
732
+ long: 'The First Letter to the Thessalonians',
733
+ },
734
+ 'en-CA': {
735
+ short: '1 Thessalonians',
736
+ long: 'The First Epistle of St. Paul the Apostle to the Thessalonians',
737
+ },
738
+ },
739
+ '2 Thessalonians': {
740
+ en: {
741
+ short: '2 Thessalonians',
742
+ long: 'The Second Letter to the Thessalonians',
743
+ },
744
+ 'en-CA': {
745
+ short: '2 Thessalonians',
746
+ long: 'The Second Epistle of St. Paul the Apostle to the Thessalonians',
747
+ },
748
+ },
749
+ '1 Timothy': {
750
+ en: {
751
+ short: '1 Timothy',
752
+ long: 'The First Letter to Timothy',
753
+ },
754
+ 'en-CA': {
755
+ short: '1 Timothy',
756
+ long: 'The First Epistle of St. Paul the Apostle to Timothy',
757
+ },
758
+ },
759
+ '2 Timothy': {
760
+ en: {
761
+ short: '2 Timothy',
762
+ long: 'The Second Letter to Timothy',
763
+ },
764
+ 'en-CA': {
765
+ short: '2 Timothy',
766
+ long: 'The Second Epistle of St. Paul the Apostle to Timothy',
767
+ },
768
+ },
769
+ Titus: {
770
+ en: {
771
+ short: 'Titus',
772
+ long: 'The Letter to Titus',
773
+ },
774
+ 'en-CA': {
775
+ short: 'Titus',
776
+ long: 'The Epistle of St. Paul the Apostle to Titus',
777
+ },
778
+ },
779
+ Philemon: {
780
+ en: {
781
+ short: 'Philemon',
782
+ long: 'The Letter to Philemon',
783
+ },
784
+ 'en-CA': {
785
+ short: 'Philemon',
786
+ long: 'The Epistle of St. Paul the Apostle to Philemon',
787
+ },
788
+ },
789
+ Hebrews: {
790
+ en: {
791
+ short: 'Hebrews',
792
+ long: 'The Book of Hebrews',
793
+ },
794
+ 'en-CA': {
795
+ short: 'Hebrews',
796
+ long: 'The Epistle to the Hebrews',
797
+ },
798
+ },
799
+ James: {
800
+ en: {
801
+ short: 'James',
802
+ long: 'The Letter of James',
803
+ },
804
+ 'en-CA': {
805
+ short: 'James',
806
+ long: 'The Epistle General of St. James',
807
+ },
808
+ },
809
+ '1 Peter': {
810
+ en: {
811
+ short: '1 Peter',
812
+ long: 'The First Letter of Peter',
813
+ },
814
+ 'en-CA': {
815
+ short: '1 Peter',
816
+ long: 'The First Epistle General of St. Peter',
817
+ },
818
+ },
819
+ '2 Peter': {
820
+ en: {
821
+ short: '2 Peter',
822
+ long: 'The Second Letter of Peter',
823
+ },
824
+ 'en-CA': {
825
+ short: '2 Peter',
826
+ long: 'The Second Epistle General of St. Peter',
827
+ },
828
+ },
829
+ '1 John': {
830
+ en: {
831
+ short: '1 John',
832
+ long: 'The First Letter of John',
833
+ },
834
+ 'en-CA': {
835
+ short: '2 John',
836
+ long: 'The First Epistle General of St. John',
837
+ },
838
+ },
839
+ '2 John': {
840
+ en: {
841
+ short: '2 John',
842
+ long: 'The Second Letter of John',
843
+ },
844
+ 'en-CA': {
845
+ short: '2 John',
846
+ long: 'The Second Epistle General of St. John',
847
+ },
848
+ },
849
+ '3 John': {
850
+ en: {
851
+ short: '3 John',
852
+ long: 'The Third Letter of John',
853
+ },
854
+ 'en-CA': {
855
+ short: '3 John',
856
+ long: 'The Third Epistle General of St. John',
857
+ },
858
+ },
859
+ Jude: {
860
+ en: {
861
+ short: 'Jude',
862
+ long: 'The Letter of Jude',
863
+ },
864
+ 'en-CA': {
865
+ short: 'Jude',
866
+ long: 'The Epistle General of St. Jude',
867
+ },
868
+ },
869
+ Revelation: {
870
+ en: {
871
+ short: 'Revelation',
872
+ long: 'The Book of Revelation',
873
+ },
874
+ 'en-CA': {
875
+ short: 'Revelation',
876
+ long: 'The Revelation to St. John the Divine',
877
+ },
878
+ },
879
+ '1 Esdras': {
880
+ en: {
881
+ short: '1 Esdras',
882
+ long: 'The Second Book of Esdras',
883
+ },
884
+ },
885
+ '2 Esdras': {
886
+ en: {
887
+ short: '2 Esdras',
888
+ long: 'The Second Book of Esdras',
889
+ },
890
+ },
891
+ Bel: {
892
+ en: {
893
+ short: 'Bel',
894
+ long: 'Bel and the Dragon',
895
+ },
896
+ },
897
+ 'Letter of Jeremiah': {
898
+ en: {
899
+ short: 'Letter of Jeremiah',
900
+ long: 'The Letter of Jeremiah',
901
+ },
902
+ },
903
+ };
904
+
905
+ function ordinalSuffix(i) {
906
+ var j = i % 10, k = i % 100;
907
+ if (j == 1 && k != 11) {
908
+ return i + 'st';
909
+ }
910
+ if (j == 2 && k != 12) {
911
+ return i + 'nd';
912
+ }
913
+ if (j == 3 && k != 13) {
914
+ return i + 'rd';
915
+ }
916
+ return i + 'th';
917
+ }
918
+
919
+ const STYLES$2 = ['long', 'short'];
920
+ /** BibleReading represents liturgical instructions. */
921
+ class BibleReading extends LiturgicalDocument {
922
+ //** Constructor takes a Javascript object containing the class's properties */
923
+ constructor(data = {}) {
924
+ super(data);
925
+ }
926
+ /** Replaces ${longName} or ${shortName} in LD passed as intro with appropriate value */
927
+ compileIntro() {
928
+ var _a, _b, _c, _d;
929
+ if (this.metadata && this.metadata.intro) {
930
+ 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();
931
+ const newValue = new Array();
932
+ const process = (s) => s
933
+ .replace(/\$\{longName\}/g, (longName !== null && longName !== void 0 ? longName : abbrev).replace('The', 'the'))
934
+ .replace(/\$\{shortName\}/g, shortName !== null && shortName !== void 0 ? shortName : abbrev)
935
+ .replace(/\$\{chapter\}/g, `${ordinalSuffix(Number(chapter) || 1)}`)
936
+ .replace(/\$\{verse\}/g, `${ordinalSuffix(Number(verse) || 1)}`);
937
+ (_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) => {
938
+ // Intro is presumably a Text or similar
939
+ if (typeof introValue == 'string') {
940
+ newValue.push(process(introValue));
941
+ }
942
+ // Intro is presumably a ResponsivePrayer or similar
943
+ else if (introValue.hasOwnProperty('text')) {
944
+ newValue.push(Object.assign(Object.assign({}, introValue), { text: process(introValue.text) }));
945
+ }
946
+ // if it's neither of those, do nothing at all to it
947
+ else {
948
+ newValue.push(process(introValue));
949
+ }
950
+ });
951
+ this.metadata.compiled_intro = new LiturgicalDocument(Object.assign(Object.assign({}, this.metadata.intro), { value: newValue }));
952
+ }
953
+ }
954
+ /** Generates an abbreviated book name from citation
955
+ * @example
956
+ * // returns 'Genesis'
957
+ * this.citation = 'Gen. 3:4'
958
+ * this.abbrevFromCitation() */
959
+ abbrevFromCitation() {
960
+ let citation;
961
+ try {
962
+ const matches = (this.citation || '').match(/(\d*\s*[a-zA-Z]+)/);
963
+ citation = matches ? matches[0] : '';
964
+ }
965
+ catch (e) {
966
+ citation = this.citation;
967
+ }
968
+ return citation.replace(/\./g, '');
969
+ }
970
+ /** Gives number of first chapter of citation */
971
+ chapterFromCitation() {
972
+ var _a;
973
+ const matches = (_a = (this.citation || '').split(';')[0]) === null || _a === void 0 ? void 0 : _a.match(/[\s\.:](\d+)/g);
974
+ if (matches) {
975
+ const [chapter] = matches;
976
+ return typeof chapter === 'string' ? chapter.trim().replace(/[\.,:]/g, '') : undefined;
977
+ }
978
+ else {
979
+ return undefined;
980
+ }
981
+ }
982
+ /** Gives number of first verse of citation */
983
+ verseFromCitation() {
984
+ var _a;
985
+ const matches = (_a = (this.citation || '').split(';')[0]) === null || _a === void 0 ? void 0 : _a.match(/[\s\.:](\d+)/g);
986
+ if (matches) {
987
+ const [, verse] = matches;
988
+ return typeof verse === 'string' ? verse.trim().replace(/[\.,:]/g, '') : undefined;
989
+ }
990
+ else {
991
+ return undefined;
992
+ }
993
+ }
994
+ /** Given an abbreviated book name, returns the name of the book
995
+ * @example
996
+ * // returns 'Genesis'
997
+ * this.bookCodeFromAbbrev('Gen') */
998
+ bookCodeFromAbbrev(a) {
999
+ if (a) {
1000
+ const abbrev = a.replace(/\./g, ''), searchResult = BIBLE_BOOK_ABBREVIATIONS.find((book) => book.name == abbrev || book.aliases.includes(abbrev) || book.name.includes(abbrev));
1001
+ return searchResult ? searchResult.name : a;
1002
+ }
1003
+ else {
1004
+ return undefined;
1005
+ }
1006
+ }
1007
+ /** Given a book name, returns the full name in the language passed; if not found, returns book name given
1008
+ * @example
1009
+ * // returns 'The Book of Genesis'
1010
+ * this.longNameFromBookCode('Genesis') */
1011
+ longNameFromBookCode(bookName, lang = 'en') {
1012
+ const bookCode = this.bookCodeFromAbbrev(bookName);
1013
+ if (bookCode) {
1014
+ const bookResult = BIBLE_BOOK_NAMES[bookCode];
1015
+ let searchResult = (bookResult || {})[lang];
1016
+ if (!searchResult) {
1017
+ searchResult = (bookResult || {})['en'];
1018
+ }
1019
+ return searchResult ? searchResult.long : bookName;
1020
+ }
1021
+ else {
1022
+ return undefined;
1023
+ }
1024
+ }
1025
+ /** Given a book name, returns the short name in the language passed; if not found, returns book name given
1026
+ * @example
1027
+ * // returns 'Genesis'
1028
+ * this.shortNameFromBookCode('Genesis') */
1029
+ shortNameFromBookCode(bookName, lang = 'en') {
1030
+ var _a;
1031
+ const bookResult = BIBLE_BOOK_NAMES[(_a = this.bookCodeFromAbbrev(bookName)) !== null && _a !== void 0 ? _a : ''], searchResult = (bookResult || {})[lang];
1032
+ return searchResult ? searchResult.short : bookName;
1033
+ }
1034
+ /** Returns the list of all possible `style` values. */
1035
+ availableStyles() {
1036
+ return STYLES$2;
1037
+ }
1038
+ /** No meaningful difference in display formats for this type */
1039
+ availableDisplayFormats() {
1040
+ return ['default', 'omit'];
1041
+ }
1042
+ }
1043
+
1044
+ /** Represents the "recipe" to compile a liturgy */
1045
+ class Liturgy extends LiturgicalDocument {
1046
+ /** No meaningful differences in display format for liturgies */
1047
+ availableDisplayFormats() {
1048
+ return [];
1049
+ }
1050
+ }
1051
+
1052
+ class Meditation extends LiturgicalDocument {
1053
+ //** Constructor takes a Javascript object containing the class's properties */
1054
+ constructor(data = {}) {
1055
+ super(data);
1056
+ }
1057
+ }
1058
+
1059
+ const STYLES$1 = ['psalm', 'canticle', 'invitatory'];
1060
+ /** Psalm represents liturgical instructions. */
1061
+ class Psalm extends LiturgicalDocument {
1062
+ //** Constructor takes a Javascript object containing the class's properties */
1063
+ constructor(data = {}) {
1064
+ super(data);
1065
+ }
1066
+ /** Returns a filtered list of verses based on citation */
1067
+ filteredVerses() {
1068
+ let filtered = new Array();
1069
+ if (this.citation && (this.citation.match(/Ps[^\s]*\s*\d+/) || this.citation == '')) {
1070
+ const versesInCitation = this.versesInCitation(this.citation);
1071
+ if (versesInCitation.length == 0) {
1072
+ /* if `versesInCitation` is empty, it's probably because
1073
+ * something like 'Psalm 80' was passed as citation */
1074
+ filtered = this.value;
1075
+ }
1076
+ else {
1077
+ (this.value || []).forEach((section) => {
1078
+ const newSection = new Array();
1079
+ // okay, this is O(4n)...
1080
+ (section.value || []).forEach((verse) => {
1081
+ if (!verse.number || versesInCitation.includes(verse.number)) {
1082
+ newSection.push(verse);
1083
+ }
1084
+ else if (versesInCitation.includes(`[${verse.number}`)) {
1085
+ newSection.push(Object.assign(Object.assign({}, verse), { verse: '[' + verse.verse }));
1086
+ }
1087
+ else if (versesInCitation.includes(`${verse.number}]`)) {
1088
+ newSection.push(Object.assign(Object.assign({}, verse), { halfverse: verse.halfverse + ']' }));
1089
+ }
1090
+ else if (versesInCitation.includes(`[${verse.number}]`)) {
1091
+ newSection.push(Object.assign(Object.assign({}, verse), { verse: '[' + verse.verse, halfverse: verse.halfverse + ']' }));
1092
+ }
1093
+ });
1094
+ filtered.push(Object.assign(Object.assign({}, section), { value: newSection }));
1095
+ });
1096
+ }
1097
+ }
1098
+ else {
1099
+ filtered = this.value;
1100
+ }
1101
+ return filtered;
1102
+ }
1103
+ /** Transforms an ordinary citation into a list of included verse numbers
1104
+ * @example
1105
+ * // returns ['1', '2', '3', '6', '7', '11']
1106
+ * versesInCitation('Psalm 100:1-3,6-7, 11a')
1107
+ * */
1108
+ versesInCitation(citation) {
1109
+ function makeVerseNumber(startBracket, endBracket, num) {
1110
+ if (startBracket && endBracket) {
1111
+ return '[' + num + ']';
1112
+ }
1113
+ else if (startBracket) {
1114
+ return '[' + num;
1115
+ }
1116
+ else if (endBracket) {
1117
+ return num + ']';
1118
+ }
1119
+ else {
1120
+ return num;
1121
+ }
1122
+ }
1123
+ // comments assume versesInCitation('Psalm 100:1-3,6-7, 11a')
1124
+ // search = [ "Psalm 100", "1-3", "6-7", "11a" ]
1125
+ const search = citation.replace(/Ps[\w\.]*\s*/g, '').split(/\s*([\[\]\(\),:\s])\s*/),
1126
+ // whole = 'Psalm 100', psalm = 'Psalm', number = '100'
1127
+ // [whole, psalm, number] = search[0].match(/(Ps[^\s]*)\s(\d+)/),
1128
+ // verseRanges = [ "1-3", "6-7", "11a" ]
1129
+ verseRanges = search.slice(1);
1130
+ let verses = new Array();
1131
+ let startBracket = false;
1132
+ let endBracket = false;
1133
+ (verseRanges || []).forEach((range, rangeIndex) => {
1134
+ if (range === '[' || range === '(') {
1135
+ startBracket = true;
1136
+ }
1137
+ if (verseRanges[rangeIndex + 1] === ']' || verseRanges[rangeIndex + 1] === ')') {
1138
+ endBracket = true;
1139
+ }
1140
+ const [first, last] = range.replace(/[^\d-s–]/g, '').split(/-|–/);
1141
+ if (first && last) {
1142
+ const hasEndBracket = endBracket;
1143
+ for (let ii = parseInt(first); ii <= parseInt(last); ii++) {
1144
+ endBracket = hasEndBracket && ii == parseInt(last);
1145
+ verses.push(makeVerseNumber(startBracket, endBracket, ii.toString()));
1146
+ startBracket = false;
1147
+ }
1148
+ }
1149
+ else {
1150
+ if (first) {
1151
+ verses.push(makeVerseNumber(startBracket, endBracket, first));
1152
+ startBracket = false;
1153
+ }
1154
+ endBracket = false;
1155
+ }
1156
+ });
1157
+ return verses;
1158
+ }
1159
+ /** Whether the antiphon should be included */
1160
+ includeAntiphon() {
1161
+ const metadata = this.metadata || {};
1162
+ return (!!metadata.antiphon && !metadata.omit_antiphon // must have an antiphon
1163
+ ); //&& // if we're supposed to omit it, omit it
1164
+ //!(this.style == 'canticle' && !metadata.omit_gloria);
1165
+ }
1166
+ /** Whether the antiphon should be repeated after a section of the given index */
1167
+ repeatAntiphon(setIndex, filteredValueLength = 0) {
1168
+ const metadata = this.metadata || {};
1169
+ if (filteredValueLength == 0) {
1170
+ filteredValueLength = this.filteredVerses().length;
1171
+ }
1172
+ return (this.includeAntiphon() && // only if there's an antiphon
1173
+ !((metadata.omit_gloria && setIndex == filteredValueLength - 1) // antiphon will repeat after Gloria, so don't include it here as well
1174
+ )); // if there's no Gloria, and this is the final set
1175
+ }
1176
+ /** Returns the list of all possible `style` values. */
1177
+ availableStyles() {
1178
+ return STYLES$1;
1179
+ }
1180
+ /** Returns the list ofall possible `display_format` values. */
1181
+ availableDisplayFormats() {
1182
+ return ['default', 'omit', 'unison', 'wholeverse', 'halfverse'];
1183
+ }
1184
+ }
1185
+
1186
+ const STYLES = ['preces', 'litany', 'responsive'];
1187
+ /** Text represents collect or any other short prayer. */
1188
+ class ResponsivePrayer extends LiturgicalDocument {
1189
+ //** Constructor takes a Javascript object containing the class's properties */
1190
+ constructor(data = {}) {
1191
+ super(data);
1192
+ }
1193
+ /** Returns the list of all possible `style` values. */
1194
+ availableStyles() {
1195
+ return STYLES;
1196
+ }
1197
+ availableDisplayFormats() {
1198
+ return [];
1199
+ }
1200
+ }
1201
+
1202
+ /** Rubric represents liturgical instructions. */
1203
+ class Rubric extends LiturgicalDocument {
1204
+ //** Constructor takes a Javascript object containing the class's properties */
1205
+ constructor(data = {}) {
1206
+ super(data);
1207
+ }
1208
+ availableDisplayFormats() {
1209
+ return [];
1210
+ }
1211
+ }
1212
+
1213
+ export { BibleReading as B, Liturgy as L, Meditation as M, Psalm as P, ResponsivePrayer as R, Rubric as a };