@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,812 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-8fe0df8d.js');
6
+ const ionicGlobal = require('./ionic-global-581fb4f8.js');
7
+ const cubicBezier = require('./cubic-bezier-f3b34d27.js');
8
+ const helpers = require('./helpers-41dfb43a.js');
9
+ const index$1 = require('./index-1a73a70c.js');
10
+ const frameworkDelegate = require('./framework-delegate-84d33ff0.js');
11
+
12
+ const VIEW_STATE_NEW = 1;
13
+ const VIEW_STATE_ATTACHED = 2;
14
+ const VIEW_STATE_DESTROYED = 3;
15
+ class ViewController {
16
+ constructor(component, params) {
17
+ this.component = component;
18
+ this.params = params;
19
+ this.state = VIEW_STATE_NEW;
20
+ }
21
+ async init(container) {
22
+ this.state = VIEW_STATE_ATTACHED;
23
+ if (!this.element) {
24
+ const component = this.component;
25
+ this.element = await frameworkDelegate.attachComponent(this.delegate, container, component, ['ion-page', 'ion-page-invisible'], this.params);
26
+ }
27
+ }
28
+ /**
29
+ * DOM WRITE
30
+ */
31
+ _destroy() {
32
+ helpers.assert(this.state !== VIEW_STATE_DESTROYED, 'view state must be ATTACHED');
33
+ const element = this.element;
34
+ if (element) {
35
+ if (this.delegate) {
36
+ this.delegate.removeViewFromDom(element.parentElement, element);
37
+ }
38
+ else {
39
+ element.remove();
40
+ }
41
+ }
42
+ this.nav = undefined;
43
+ this.state = VIEW_STATE_DESTROYED;
44
+ }
45
+ }
46
+ const matches = (view, id, params) => {
47
+ if (!view) {
48
+ return false;
49
+ }
50
+ if (view.component !== id) {
51
+ return false;
52
+ }
53
+ const currentParams = view.params;
54
+ if (currentParams === params) {
55
+ return true;
56
+ }
57
+ if (!currentParams && !params) {
58
+ return true;
59
+ }
60
+ if (!currentParams || !params) {
61
+ return false;
62
+ }
63
+ const keysA = Object.keys(currentParams);
64
+ const keysB = Object.keys(params);
65
+ if (keysA.length !== keysB.length) {
66
+ return false;
67
+ }
68
+ // Test for A's keys different from B.
69
+ for (const key of keysA) {
70
+ if (currentParams[key] !== params[key]) {
71
+ return false;
72
+ }
73
+ }
74
+ return true;
75
+ };
76
+ const convertToView = (page, params) => {
77
+ if (!page) {
78
+ return null;
79
+ }
80
+ if (page instanceof ViewController) {
81
+ return page;
82
+ }
83
+ return new ViewController(page, params);
84
+ };
85
+ const convertToViews = (pages) => {
86
+ return pages.map(page => {
87
+ if (page instanceof ViewController) {
88
+ return page;
89
+ }
90
+ if ('page' in page) {
91
+ return convertToView(page.page, page.params);
92
+ }
93
+ return convertToView(page, undefined);
94
+ }).filter(v => v !== null);
95
+ };
96
+
97
+ const navCss = ":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;overflow:hidden;z-index:0}";
98
+
99
+ const Nav = class {
100
+ constructor(hostRef) {
101
+ index.registerInstance(this, hostRef);
102
+ this.ionNavWillLoad = index.createEvent(this, "ionNavWillLoad", 7);
103
+ this.ionNavWillChange = index.createEvent(this, "ionNavWillChange", 3);
104
+ this.ionNavDidChange = index.createEvent(this, "ionNavDidChange", 3);
105
+ this.transInstr = [];
106
+ this.animationEnabled = true;
107
+ this.useRouter = false;
108
+ this.isTransitioning = false;
109
+ this.destroyed = false;
110
+ this.views = [];
111
+ /**
112
+ * If `true`, the nav should animate the transition of components.
113
+ */
114
+ this.animated = true;
115
+ }
116
+ swipeGestureChanged() {
117
+ if (this.gesture) {
118
+ this.gesture.enable(this.swipeGesture === true);
119
+ }
120
+ }
121
+ rootChanged() {
122
+ if (this.root !== undefined) {
123
+ if (!this.useRouter) {
124
+ this.setRoot(this.root, this.rootParams);
125
+ }
126
+ }
127
+ }
128
+ componentWillLoad() {
129
+ this.useRouter =
130
+ !!document.querySelector('ion-router') &&
131
+ !this.el.closest('[no-router]');
132
+ if (this.swipeGesture === undefined) {
133
+ const mode = ionicGlobal.getIonMode(this);
134
+ this.swipeGesture = ionicGlobal.config.getBoolean('swipeBackEnabled', mode === 'ios');
135
+ }
136
+ this.ionNavWillLoad.emit();
137
+ }
138
+ async componentDidLoad() {
139
+ this.rootChanged();
140
+ this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-f887168e.js'); })).createSwipeBackGesture(this.el, this.canStart.bind(this), this.onStart.bind(this), this.onMove.bind(this), this.onEnd.bind(this));
141
+ this.swipeGestureChanged();
142
+ }
143
+ componentDidUnload() {
144
+ for (const view of this.views) {
145
+ index$1.lifecycle(view.element, index$1.LIFECYCLE_WILL_UNLOAD);
146
+ view._destroy();
147
+ }
148
+ if (this.gesture) {
149
+ this.gesture.destroy();
150
+ this.gesture = undefined;
151
+ }
152
+ // release swipe back gesture and transition
153
+ this.transInstr.length = this.views.length = 0;
154
+ this.destroyed = true;
155
+ }
156
+ /**
157
+ * Push a new component onto the current navigation stack. Pass any additional
158
+ * information along as an object. This additional information is accessible
159
+ * through NavParams.
160
+ *
161
+ * @param component The component to push onto the navigation stack.
162
+ * @param componentProps Any properties of the component.
163
+ * @param opts The navigation options.
164
+ * @param done The transition complete function.
165
+ */
166
+ push(component, componentProps, opts, done) {
167
+ return this.queueTrns({
168
+ insertStart: -1,
169
+ insertViews: [{ page: component, params: componentProps }],
170
+ opts
171
+ }, done);
172
+ }
173
+ /**
174
+ * Inserts a component into the navigation stack at the specified index.
175
+ * This is useful to add a component at any point in the navigation stack.
176
+ *
177
+ * @param insertIndex The index to insert the component at in the stack.
178
+ * @param component The component to insert into the navigation stack.
179
+ * @param componentProps Any properties of the component.
180
+ * @param opts The navigation options.
181
+ * @param done The transition complete function.
182
+ */
183
+ insert(insertIndex, component, componentProps, opts, done) {
184
+ return this.queueTrns({
185
+ insertStart: insertIndex,
186
+ insertViews: [{ page: component, params: componentProps }],
187
+ opts
188
+ }, done);
189
+ }
190
+ /**
191
+ * Inserts an array of components into the navigation stack at the specified index.
192
+ * The last component in the array will become instantiated as a view, and animate
193
+ * in to become the active view.
194
+ *
195
+ * @param insertIndex The index to insert the components at in the stack.
196
+ * @param insertComponents The components to insert into the navigation stack.
197
+ * @param opts The navigation options.
198
+ * @param done The transition complete function.
199
+ */
200
+ insertPages(insertIndex, insertComponents, opts, done) {
201
+ return this.queueTrns({
202
+ insertStart: insertIndex,
203
+ insertViews: insertComponents,
204
+ opts
205
+ }, done);
206
+ }
207
+ /**
208
+ * Pop a component off of the navigation stack. Navigates back from the current
209
+ * component.
210
+ *
211
+ * @param opts The navigation options.
212
+ * @param done The transition complete function.
213
+ */
214
+ pop(opts, done) {
215
+ return this.queueTrns({
216
+ removeStart: -1,
217
+ removeCount: 1,
218
+ opts
219
+ }, done);
220
+ }
221
+ /**
222
+ * Pop to a specific index in the navigation stack.
223
+ *
224
+ * @param indexOrViewCtrl The index or view controller to pop to.
225
+ * @param opts The navigation options.
226
+ * @param done The transition complete function.
227
+ */
228
+ popTo(indexOrViewCtrl, opts, done) {
229
+ const tiConfig = {
230
+ removeStart: -1,
231
+ removeCount: -1,
232
+ opts
233
+ };
234
+ if (typeof indexOrViewCtrl === 'object' && indexOrViewCtrl.component) {
235
+ tiConfig.removeView = indexOrViewCtrl;
236
+ tiConfig.removeStart = 1;
237
+ }
238
+ else if (typeof indexOrViewCtrl === 'number') {
239
+ tiConfig.removeStart = indexOrViewCtrl + 1;
240
+ }
241
+ return this.queueTrns(tiConfig, done);
242
+ }
243
+ /**
244
+ * Navigate back to the root of the stack, no matter how far back that is.
245
+ *
246
+ * @param opts The navigation options.
247
+ * @param done The transition complete function.
248
+ */
249
+ popToRoot(opts, done) {
250
+ return this.queueTrns({
251
+ removeStart: 1,
252
+ removeCount: -1,
253
+ opts
254
+ }, done);
255
+ }
256
+ /**
257
+ * Removes a component from the navigation stack at the specified index.
258
+ *
259
+ * @param startIndex The number to begin removal at.
260
+ * @param removeCount The number of components to remove.
261
+ * @param opts The navigation options.
262
+ * @param done The transition complete function.
263
+ */
264
+ removeIndex(startIndex, removeCount = 1, opts, done) {
265
+ return this.queueTrns({
266
+ removeStart: startIndex,
267
+ removeCount,
268
+ opts
269
+ }, done);
270
+ }
271
+ /**
272
+ * Set the root for the current navigation stack to a component.
273
+ *
274
+ * @param component The component to set as the root of the navigation stack.
275
+ * @param componentProps Any properties of the component.
276
+ * @param opts The navigation options.
277
+ * @param done The transition complete function.
278
+ */
279
+ setRoot(component, componentProps, opts, done) {
280
+ return this.setPages([{ page: component, params: componentProps }], opts, done);
281
+ }
282
+ /**
283
+ * Set the views of the current navigation stack and navigate to the last view.
284
+ * By default animations are disabled, but they can be enabled by passing options
285
+ * to the navigation controller. Navigation parameters can also be passed to the
286
+ * individual pages in the array.
287
+ *
288
+ * @param views The list of views to set as the navigation stack.
289
+ * @param opts The navigation options.
290
+ * @param done The transition complete function.
291
+ */
292
+ setPages(views, opts, done) {
293
+ if (opts == null) {
294
+ opts = {};
295
+ }
296
+ // if animation wasn't set to true then default it to NOT animate
297
+ if (opts.animated !== true) {
298
+ opts.animated = false;
299
+ }
300
+ return this.queueTrns({
301
+ insertStart: 0,
302
+ insertViews: views,
303
+ removeStart: 0,
304
+ removeCount: -1,
305
+ opts
306
+ }, done);
307
+ }
308
+ /** @internal */
309
+ setRouteId(id, params, direction) {
310
+ const active = this.getActiveSync();
311
+ if (matches(active, id, params)) {
312
+ return Promise.resolve({
313
+ changed: false,
314
+ element: active.element
315
+ });
316
+ }
317
+ let resolve;
318
+ const promise = new Promise(r => (resolve = r));
319
+ let finish;
320
+ const commonOpts = {
321
+ updateURL: false,
322
+ viewIsReady: enteringEl => {
323
+ let mark;
324
+ const p = new Promise(r => (mark = r));
325
+ resolve({
326
+ changed: true,
327
+ element: enteringEl,
328
+ markVisible: async () => {
329
+ mark();
330
+ await finish;
331
+ }
332
+ });
333
+ return p;
334
+ }
335
+ };
336
+ if (direction === 'root') {
337
+ finish = this.setRoot(id, params, commonOpts);
338
+ }
339
+ else {
340
+ const viewController = this.views.find(v => matches(v, id, params));
341
+ if (viewController) {
342
+ finish = this.popTo(viewController, Object.assign(Object.assign({}, commonOpts), { direction: 'back' }));
343
+ }
344
+ else if (direction === 'forward') {
345
+ finish = this.push(id, params, commonOpts);
346
+ }
347
+ else if (direction === 'back') {
348
+ finish = this.setRoot(id, params, Object.assign(Object.assign({}, commonOpts), { direction: 'back', animated: true }));
349
+ }
350
+ }
351
+ return promise;
352
+ }
353
+ /** @internal */
354
+ async getRouteId() {
355
+ const active = this.getActiveSync();
356
+ return active
357
+ ? {
358
+ id: active.element.tagName,
359
+ params: active.params,
360
+ element: active.element
361
+ }
362
+ : undefined;
363
+ }
364
+ /**
365
+ * Get the active view.
366
+ */
367
+ getActive() {
368
+ return Promise.resolve(this.getActiveSync());
369
+ }
370
+ /**
371
+ * Get the view at the specified index.
372
+ *
373
+ * @param index The index of the view.
374
+ */
375
+ getByIndex(index) {
376
+ return Promise.resolve(this.views[index]);
377
+ }
378
+ /**
379
+ * Returns `true` if the current view can go back.
380
+ *
381
+ * @param view The view to check.
382
+ */
383
+ canGoBack(view) {
384
+ return Promise.resolve(this.canGoBackSync(view));
385
+ }
386
+ /**
387
+ * Get the previous view.
388
+ *
389
+ * @param view The view to get.
390
+ */
391
+ getPrevious(view) {
392
+ return Promise.resolve(this.getPreviousSync(view));
393
+ }
394
+ getLength() {
395
+ return this.views.length;
396
+ }
397
+ getActiveSync() {
398
+ return this.views[this.views.length - 1];
399
+ }
400
+ canGoBackSync(view = this.getActiveSync()) {
401
+ return !!(view && this.getPreviousSync(view));
402
+ }
403
+ getPreviousSync(view = this.getActiveSync()) {
404
+ if (!view) {
405
+ return undefined;
406
+ }
407
+ const views = this.views;
408
+ const index = views.indexOf(view);
409
+ return index > 0 ? views[index - 1] : undefined;
410
+ }
411
+ // _queueTrns() adds a navigation stack change to the queue and schedules it to run:
412
+ // 1. _nextTrns(): consumes the next transition in the queue
413
+ // 2. _viewInit(): initializes enteringView if required
414
+ // 3. _viewTest(): ensures canLeave/canEnter Returns `true`, so the operation can continue
415
+ // 4. _postViewInit(): add/remove the views from the navigation stack
416
+ // 5. _transitionInit(): initializes the visual transition if required and schedules it to run
417
+ // 6. _viewAttachToDOM(): attaches the enteringView to the DOM
418
+ // 7. _transitionStart(): called once the transition actually starts, it initializes the Animation underneath.
419
+ // 8. _transitionFinish(): called once the transition finishes
420
+ // 9. _cleanup(): syncs the navigation internal state with the DOM. For example it removes the pages from the DOM or hides/show them.
421
+ queueTrns(ti, done) {
422
+ if (this.isTransitioning && ti.opts != null && ti.opts.skipIfBusy) {
423
+ return Promise.resolve(false);
424
+ }
425
+ const promise = new Promise((resolve, reject) => {
426
+ ti.resolve = resolve;
427
+ ti.reject = reject;
428
+ });
429
+ ti.done = done;
430
+ // Normalize empty
431
+ if (ti.insertViews && ti.insertViews.length === 0) {
432
+ ti.insertViews = undefined;
433
+ }
434
+ // Enqueue transition instruction
435
+ this.transInstr.push(ti);
436
+ // if there isn't a transition already happening
437
+ // then this will kick off this transition
438
+ this.nextTrns();
439
+ return promise;
440
+ }
441
+ success(result, ti) {
442
+ if (this.destroyed) {
443
+ this.fireError('nav controller was destroyed', ti);
444
+ return;
445
+ }
446
+ if (ti.done) {
447
+ ti.done(result.hasCompleted, result.requiresTransition, result.enteringView, result.leavingView, result.direction);
448
+ }
449
+ ti.resolve(result.hasCompleted);
450
+ if (ti.opts.updateURL !== false && this.useRouter) {
451
+ const router = document.querySelector('ion-router');
452
+ if (router) {
453
+ const direction = result.direction === 'back' ? 'back' : 'forward';
454
+ router.navChanged(direction);
455
+ }
456
+ }
457
+ }
458
+ failed(rejectReason, ti) {
459
+ if (this.destroyed) {
460
+ this.fireError('nav controller was destroyed', ti);
461
+ return;
462
+ }
463
+ this.transInstr.length = 0;
464
+ this.fireError(rejectReason, ti);
465
+ }
466
+ fireError(rejectReason, ti) {
467
+ if (ti.done) {
468
+ ti.done(false, false, rejectReason);
469
+ }
470
+ if (ti.reject && !this.destroyed) {
471
+ ti.reject(rejectReason);
472
+ }
473
+ else {
474
+ ti.resolve(false);
475
+ }
476
+ }
477
+ nextTrns() {
478
+ // this is the framework's bread 'n butta function
479
+ // only one transition is allowed at any given time
480
+ if (this.isTransitioning) {
481
+ return false;
482
+ }
483
+ // there is no transition happening right now
484
+ // get the next instruction
485
+ const ti = this.transInstr.shift();
486
+ if (!ti) {
487
+ return false;
488
+ }
489
+ this.runTransition(ti);
490
+ return true;
491
+ }
492
+ async runTransition(ti) {
493
+ try {
494
+ // set that this nav is actively transitioning
495
+ this.ionNavWillChange.emit();
496
+ this.isTransitioning = true;
497
+ this.prepareTI(ti);
498
+ const leavingView = this.getActiveSync();
499
+ const enteringView = this.getEnteringView(ti, leavingView);
500
+ if (!leavingView && !enteringView) {
501
+ throw new Error('no views in the stack to be removed');
502
+ }
503
+ if (enteringView && enteringView.state === VIEW_STATE_NEW) {
504
+ await enteringView.init(this.el);
505
+ }
506
+ this.postViewInit(enteringView, leavingView, ti);
507
+ // Needs transition?
508
+ const requiresTransition = (ti.enteringRequiresTransition || ti.leavingRequiresTransition) &&
509
+ enteringView !== leavingView;
510
+ const result = requiresTransition
511
+ ? await this.transition(enteringView, leavingView, ti)
512
+ : {
513
+ // transition is not required, so we are already done!
514
+ // they're inserting/removing the views somewhere in the middle or
515
+ // beginning, so visually nothing needs to animate/transition
516
+ // resolve immediately because there's no animation that's happening
517
+ hasCompleted: true,
518
+ requiresTransition: false
519
+ };
520
+ this.success(result, ti);
521
+ this.ionNavDidChange.emit();
522
+ }
523
+ catch (rejectReason) {
524
+ this.failed(rejectReason, ti);
525
+ }
526
+ this.isTransitioning = false;
527
+ this.nextTrns();
528
+ }
529
+ prepareTI(ti) {
530
+ const viewsLength = this.views.length;
531
+ ti.opts = ti.opts || {};
532
+ if (ti.opts.delegate === undefined) {
533
+ ti.opts.delegate = this.delegate;
534
+ }
535
+ if (ti.removeView !== undefined) {
536
+ helpers.assert(ti.removeStart !== undefined, 'removeView needs removeStart');
537
+ helpers.assert(ti.removeCount !== undefined, 'removeView needs removeCount');
538
+ const index = this.views.indexOf(ti.removeView);
539
+ if (index < 0) {
540
+ throw new Error('removeView was not found');
541
+ }
542
+ ti.removeStart += index;
543
+ }
544
+ if (ti.removeStart !== undefined) {
545
+ if (ti.removeStart < 0) {
546
+ ti.removeStart = viewsLength - 1;
547
+ }
548
+ if (ti.removeCount < 0) {
549
+ ti.removeCount = viewsLength - ti.removeStart;
550
+ }
551
+ ti.leavingRequiresTransition =
552
+ ti.removeCount > 0 && ti.removeStart + ti.removeCount === viewsLength;
553
+ }
554
+ if (ti.insertViews) {
555
+ // allow -1 to be passed in to auto push it on the end
556
+ // and clean up the index if it's larger then the size of the stack
557
+ if (ti.insertStart < 0 || ti.insertStart > viewsLength) {
558
+ ti.insertStart = viewsLength;
559
+ }
560
+ ti.enteringRequiresTransition = ti.insertStart === viewsLength;
561
+ }
562
+ const insertViews = ti.insertViews;
563
+ if (!insertViews) {
564
+ return;
565
+ }
566
+ helpers.assert(insertViews.length > 0, 'length can not be zero');
567
+ const viewControllers = convertToViews(insertViews);
568
+ if (viewControllers.length === 0) {
569
+ throw new Error('invalid views to insert');
570
+ }
571
+ // Check all the inserted view are correct
572
+ for (const view of viewControllers) {
573
+ view.delegate = ti.opts.delegate;
574
+ const nav = view.nav;
575
+ if (nav && nav !== this) {
576
+ throw new Error('inserted view was already inserted');
577
+ }
578
+ if (view.state === VIEW_STATE_DESTROYED) {
579
+ throw new Error('inserted view was already destroyed');
580
+ }
581
+ }
582
+ ti.insertViews = viewControllers;
583
+ }
584
+ getEnteringView(ti, leavingView) {
585
+ const insertViews = ti.insertViews;
586
+ if (insertViews !== undefined) {
587
+ // grab the very last view of the views to be inserted
588
+ // and initialize it as the new entering view
589
+ return insertViews[insertViews.length - 1];
590
+ }
591
+ const removeStart = ti.removeStart;
592
+ if (removeStart !== undefined) {
593
+ const views = this.views;
594
+ const removeEnd = removeStart + ti.removeCount;
595
+ for (let i = views.length - 1; i >= 0; i--) {
596
+ const view = views[i];
597
+ if ((i < removeStart || i >= removeEnd) && view !== leavingView) {
598
+ return view;
599
+ }
600
+ }
601
+ }
602
+ return undefined;
603
+ }
604
+ postViewInit(enteringView, leavingView, ti) {
605
+ helpers.assert(leavingView || enteringView, 'Both leavingView and enteringView are null');
606
+ helpers.assert(ti.resolve, 'resolve must be valid');
607
+ helpers.assert(ti.reject, 'reject must be valid');
608
+ const opts = ti.opts;
609
+ const insertViews = ti.insertViews;
610
+ const removeStart = ti.removeStart;
611
+ const removeCount = ti.removeCount;
612
+ let destroyQueue;
613
+ // there are views to remove
614
+ if (removeStart !== undefined && removeCount !== undefined) {
615
+ helpers.assert(removeStart >= 0, 'removeStart can not be negative');
616
+ helpers.assert(removeCount >= 0, 'removeCount can not be negative');
617
+ destroyQueue = [];
618
+ for (let i = 0; i < removeCount; i++) {
619
+ const view = this.views[i + removeStart];
620
+ if (view && view !== enteringView && view !== leavingView) {
621
+ destroyQueue.push(view);
622
+ }
623
+ }
624
+ // default the direction to "back"
625
+ opts.direction = opts.direction || 'back';
626
+ }
627
+ const finalBalance = this.views.length +
628
+ (insertViews !== undefined ? insertViews.length : 0) -
629
+ (removeCount !== undefined ? removeCount : 0);
630
+ helpers.assert(finalBalance >= 0, 'final balance can not be negative');
631
+ if (finalBalance === 0) {
632
+ console.warn(`You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.`, this, this.el);
633
+ throw new Error('navigation stack needs at least one root page');
634
+ }
635
+ // At this point the transition can not be rejected, any throw should be an error
636
+ // there are views to insert
637
+ if (insertViews) {
638
+ // add the views to the
639
+ let insertIndex = ti.insertStart;
640
+ for (const view of insertViews) {
641
+ this.insertViewAt(view, insertIndex);
642
+ insertIndex++;
643
+ }
644
+ if (ti.enteringRequiresTransition) {
645
+ // default to forward if not already set
646
+ opts.direction = opts.direction || 'forward';
647
+ }
648
+ }
649
+ // if the views to be removed are in the beginning or middle
650
+ // and there is not a view that needs to visually transition out
651
+ // then just destroy them and don't transition anything
652
+ // batch all of lifecycles together
653
+ // let's make sure, callbacks are zoned
654
+ if (destroyQueue && destroyQueue.length > 0) {
655
+ for (const view of destroyQueue) {
656
+ index$1.lifecycle(view.element, index$1.LIFECYCLE_WILL_LEAVE);
657
+ index$1.lifecycle(view.element, index$1.LIFECYCLE_DID_LEAVE);
658
+ index$1.lifecycle(view.element, index$1.LIFECYCLE_WILL_UNLOAD);
659
+ }
660
+ // once all lifecycle events has been delivered, we can safely detroy the views
661
+ for (const view of destroyQueue) {
662
+ this.destroyView(view);
663
+ }
664
+ }
665
+ }
666
+ async transition(enteringView, leavingView, ti) {
667
+ // we should animate (duration > 0) if the pushed page is not the first one (startup)
668
+ // or if it is a portal (modal, actionsheet, etc.)
669
+ const opts = ti.opts;
670
+ const progressCallback = opts.progressAnimation
671
+ ? (ani) => this.sbAni = ani
672
+ : undefined;
673
+ const mode = ionicGlobal.getIonMode(this);
674
+ const enteringEl = enteringView.element;
675
+ const leavingEl = leavingView && leavingView.element;
676
+ const animationOpts = Object.assign({ mode, showGoBack: this.canGoBackSync(enteringView), baseEl: this.el, animationBuilder: this.animation || opts.animationBuilder || ionicGlobal.config.get('navAnimation'), progressCallback, animated: this.animated && ionicGlobal.config.getBoolean('animated', true), enteringEl,
677
+ leavingEl }, opts);
678
+ const { hasCompleted } = await index$1.transition(animationOpts);
679
+ return this.transitionFinish(hasCompleted, enteringView, leavingView, opts);
680
+ }
681
+ transitionFinish(hasCompleted, enteringView, leavingView, opts) {
682
+ const cleanupView = hasCompleted ? enteringView : leavingView;
683
+ if (cleanupView) {
684
+ this.cleanup(cleanupView);
685
+ }
686
+ return {
687
+ hasCompleted,
688
+ requiresTransition: true,
689
+ enteringView,
690
+ leavingView,
691
+ direction: opts.direction
692
+ };
693
+ }
694
+ insertViewAt(view, index) {
695
+ const views = this.views;
696
+ const existingIndex = views.indexOf(view);
697
+ if (existingIndex > -1) {
698
+ // this view is already in the stack!!
699
+ // move it to its new location
700
+ helpers.assert(view.nav === this, 'view is not part of the nav');
701
+ views.splice(index, 0, views.splice(existingIndex, 1)[0]);
702
+ }
703
+ else {
704
+ helpers.assert(!view.nav, 'nav is used');
705
+ // this is a new view to add to the stack
706
+ // create the new entering view
707
+ view.nav = this;
708
+ // insert the entering view into the correct index in the stack
709
+ views.splice(index, 0, view);
710
+ }
711
+ }
712
+ removeView(view) {
713
+ helpers.assert(view.state === VIEW_STATE_ATTACHED || view.state === VIEW_STATE_DESTROYED, 'view state should be loaded or destroyed');
714
+ const views = this.views;
715
+ const index = views.indexOf(view);
716
+ helpers.assert(index > -1, 'view must be part of the stack');
717
+ if (index >= 0) {
718
+ views.splice(index, 1);
719
+ }
720
+ }
721
+ destroyView(view) {
722
+ view._destroy();
723
+ this.removeView(view);
724
+ }
725
+ /**
726
+ * DOM WRITE
727
+ */
728
+ cleanup(activeView) {
729
+ // ok, cleanup time!! Destroy all of the views that are
730
+ // INACTIVE and come after the active view
731
+ // only do this if the views exist, though
732
+ if (this.destroyed) {
733
+ return;
734
+ }
735
+ const views = this.views;
736
+ const activeViewIndex = views.indexOf(activeView);
737
+ for (let i = views.length - 1; i >= 0; i--) {
738
+ const view = views[i];
739
+ const element = view.element;
740
+ if (i > activeViewIndex) {
741
+ // this view comes after the active view
742
+ // let's unload it
743
+ index$1.lifecycle(element, index$1.LIFECYCLE_WILL_UNLOAD);
744
+ this.destroyView(view);
745
+ }
746
+ else if (i < activeViewIndex) {
747
+ // this view comes before the active view
748
+ // and it is not a portal then ensure it is hidden
749
+ index$1.setPageHidden(element, true);
750
+ }
751
+ }
752
+ }
753
+ canStart() {
754
+ return (!!this.swipeGesture &&
755
+ !this.isTransitioning &&
756
+ this.transInstr.length === 0 &&
757
+ this.animationEnabled &&
758
+ this.canGoBackSync());
759
+ }
760
+ onStart() {
761
+ this.queueTrns({
762
+ removeStart: -1,
763
+ removeCount: 1,
764
+ opts: {
765
+ direction: 'back',
766
+ progressAnimation: true
767
+ }
768
+ }, undefined);
769
+ }
770
+ onMove(stepValue) {
771
+ if (this.sbAni) {
772
+ this.sbAni.progressStep(stepValue);
773
+ }
774
+ }
775
+ onEnd(shouldComplete, stepValue, dur) {
776
+ if (this.sbAni) {
777
+ this.animationEnabled = false;
778
+ this.sbAni.onFinish(() => {
779
+ this.animationEnabled = true;
780
+ }, { oneTimeCallback: true });
781
+ // Account for rounding errors in JS
782
+ let newStepValue = (shouldComplete) ? -0.001 : 0.001;
783
+ /**
784
+ * Animation will be reversed here, so need to
785
+ * reverse the easing curve as well
786
+ *
787
+ * Additionally, we need to account for the time relative
788
+ * to the new easing curve, as `stepValue` is going to be given
789
+ * in terms of a linear curve.
790
+ */
791
+ if (!shouldComplete) {
792
+ this.sbAni.easing('cubic-bezier(1, 0, 0.68, 0.28)');
793
+ newStepValue += cubicBezier.getTimeGivenProgression([0, 0], [1, 0], [0.68, 0.28], [1, 1], stepValue)[0];
794
+ }
795
+ else {
796
+ newStepValue += cubicBezier.getTimeGivenProgression([0, 0], [0.32, 0.72], [0, 1], [1, 1], stepValue)[0];
797
+ }
798
+ this.sbAni.progressEnd(shouldComplete ? 1 : 0, newStepValue, dur);
799
+ }
800
+ }
801
+ render() {
802
+ return (index.h("slot", null));
803
+ }
804
+ get el() { return index.getElement(this); }
805
+ static get watchers() { return {
806
+ "swipeGesture": ["swipeGestureChanged"],
807
+ "root": ["rootChanged"]
808
+ }; }
809
+ };
810
+ Nav.style = navCss;
811
+
812
+ exports.ion_nav = Nav;