@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.
- package/dist/cjs/_commonjsHelpers-bcc1208a.js +25 -0
- package/dist/cjs/animation-34a434a2.js +957 -0
- package/dist/cjs/app-globals-60a4f972.js +7 -0
- package/dist/cjs/book-1a92678a.js +287 -0
- package/dist/cjs/change-cdb1e8c0.js +16 -0
- package/dist/cjs/cubic-bezier-f3b34d27.js +91 -0
- package/dist/cjs/cursor-81bfd01e.js +12 -0
- package/dist/cjs/focus-visible-5621d6b1.js +45 -0
- package/dist/cjs/framework-delegate-84d33ff0.js +37 -0
- package/dist/cjs/gesture-controller-5bd9d825.js +193 -0
- package/dist/cjs/haptic-88c261ab.js +49 -0
- package/dist/cjs/hardware-back-button-8c2f48d2.js +59 -0
- package/dist/cjs/heading-5afc2b24.js +21 -0
- package/dist/cjs/helpers-41dfb43a.js +110 -0
- package/dist/cjs/image-3bee3e73.js +21 -0
- package/dist/cjs/index-1a73a70c.js +211 -0
- package/dist/cjs/index-4b7e4228.js +135 -0
- package/dist/cjs/index-7aa21373.js +92 -0
- package/dist/cjs/index-8197bb45.js +441 -0
- package/dist/{ldf/index-ea7a35b9.js → cjs/index-8fe0df8d.js} +213 -1242
- package/dist/cjs/index-c5bdf2bc.js +167 -0
- package/dist/cjs/index-de13bd01.js +463 -0
- package/dist/cjs/index-e4c51e4d.js +307 -0
- package/dist/cjs/index.cjs.js +8 -0
- package/dist/cjs/input-shims-9c2d56bd.js +357 -0
- package/dist/cjs/ion-action-sheet.cjs.entry.js +230 -0
- package/dist/cjs/ion-alert.cjs.entry.js +386 -0
- package/dist/cjs/ion-app.cjs.entry.js +60 -0
- package/dist/cjs/ion-avatar.cjs.entry.js +25 -0
- package/dist/cjs/ion-back-button.cjs.entry.js +79 -0
- package/dist/cjs/ion-backdrop.cjs.entry.js +67 -0
- package/dist/cjs/ion-badge.cjs.entry.js +27 -0
- package/dist/cjs/ion-button_13.cjs.entry.js +1786 -0
- package/dist/cjs/ion-card-content_6.cjs.entry.js +405 -0
- package/dist/cjs/ion-card-subtitle.cjs.entry.js +27 -0
- package/dist/cjs/ion-card_2.cjs.entry.js +91 -0
- package/dist/cjs/ion-checkbox_3.cjs.entry.js +234 -0
- package/dist/cjs/ion-chip.cjs.entry.js +31 -0
- package/dist/cjs/ion-datetime_2.cjs.entry.js +1125 -0
- package/dist/cjs/ion-fab-button.cjs.entry.js +74 -0
- package/dist/cjs/ion-fab-list.cjs.entry.js +45 -0
- package/dist/cjs/ion-fab.cjs.entry.js +74 -0
- package/dist/cjs/ion-footer.cjs.entry.js +43 -0
- package/dist/cjs/ion-img.cjs.entry.js +72 -0
- package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +37 -0
- package/dist/cjs/ion-infinite-scroll.cjs.entry.js +206 -0
- package/dist/cjs/ion-input_2.cjs.entry.js +2645 -0
- package/dist/cjs/ion-item-divider.cjs.entry.js +36 -0
- package/dist/cjs/ion-item-group.cjs.entry.js +31 -0
- package/dist/cjs/ion-item-option.cjs.entry.js +55 -0
- package/dist/cjs/ion-item-options.cjs.entry.js +47 -0
- package/dist/cjs/ion-item-sliding.cjs.entry.js +359 -0
- package/dist/cjs/ion-list-header.cjs.entry.js +28 -0
- package/dist/cjs/ion-loading.cjs.entry.js +213 -0
- package/dist/cjs/ion-menu-button.cjs.entry.js +61 -0
- package/dist/cjs/ion-menu-toggle.cjs.entry.js +47 -0
- package/dist/cjs/ion-menu.cjs.entry.js +456 -0
- package/dist/cjs/ion-modal.cjs.entry.js +488 -0
- package/dist/cjs/ion-nav-link.cjs.entry.js +44 -0
- package/dist/cjs/ion-nav.cjs.entry.js +812 -0
- package/dist/cjs/ion-note.cjs.entry.js +27 -0
- package/dist/cjs/ion-picker-column.cjs.entry.js +327 -0
- package/dist/cjs/ion-picker.cjs.entry.js +214 -0
- package/dist/cjs/ion-popover.cjs.entry.js +363 -0
- package/dist/cjs/ion-progress-bar.cjs.entry.js +67 -0
- package/dist/cjs/ion-radio_2.cjs.entry.js +149 -0
- package/dist/cjs/ion-range.cjs.entry.js +395 -0
- package/dist/cjs/ion-refresher-content.cjs.entry.js +40 -0
- package/dist/cjs/ion-refresher.cjs.entry.js +832 -0
- package/dist/cjs/ion-reorder-group.cjs.entry.js +281 -0
- package/dist/cjs/ion-reorder.cjs.entry.js +31 -0
- package/dist/cjs/ion-route-redirect.cjs.entry.js +24 -0
- package/dist/cjs/ion-route.cjs.entry.js +49 -0
- package/dist/cjs/ion-router-link.cjs.entry.js +35 -0
- package/dist/cjs/ion-router-outlet.cjs.entry.js +160 -0
- package/dist/cjs/ion-router.cjs.entry.js +631 -0
- package/dist/cjs/ion-segment_16.cjs.entry.js +2507 -0
- package/dist/cjs/ion-select-popover.cjs.entry.js +33 -0
- package/dist/cjs/ion-select_2.cjs.entry.js +444 -0
- package/dist/cjs/ion-slide.cjs.entry.js +25 -0
- package/dist/cjs/ion-slides.cjs.entry.js +404 -0
- package/dist/cjs/ion-spinner.cjs.entry.js +60 -0
- package/dist/cjs/ion-split-pane.cjs.entry.js +150 -0
- package/dist/cjs/ion-tab-bar.cjs.entry.js +58 -0
- package/dist/cjs/ion-tab-button.cjs.entry.js +99 -0
- package/dist/cjs/ion-tab.cjs.entry.js +58 -0
- package/dist/cjs/ion-tabs.cjs.entry.js +155 -0
- package/dist/cjs/ion-text.cjs.entry.js +22 -0
- package/dist/cjs/ion-textarea.cjs.entry.js +217 -0
- package/dist/cjs/ion-thumbnail.cjs.entry.js +20 -0
- package/dist/cjs/ion-toast.cjs.entry.js +280 -0
- package/dist/cjs/ion-virtual-scroll.cjs.entry.js +544 -0
- package/dist/cjs/ionic-global-581fb4f8.js +204 -0
- package/dist/cjs/ios.transition-7244ac4e.js +459 -0
- package/dist/cjs/ldf-day-name_5.cjs.entry.js +5682 -0
- package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +573 -0
- package/dist/cjs/ldf-editable-condition-piece.cjs.entry.js +220 -0
- package/dist/cjs/ldf-editable-condition.cjs.entry.js +106 -0
- package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +152 -0
- package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +496 -0
- package/dist/cjs/ldf-editable-metadata.cjs.entry.js +186 -0
- package/dist/cjs/ldf-editable-preference-option.cjs.entry.js +72 -0
- package/dist/cjs/ldf-editable-preference.cjs.entry.js +89 -0
- package/dist/cjs/ldf-editable-preferences.cjs.entry.js +200 -0
- package/dist/cjs/ldf-editable-string-list.cjs.entry.js +134 -0
- package/dist/cjs/ldf-editor-cursors.cjs.entry.js +276 -0
- package/dist/cjs/ldf-editor.cjs.entry.js +238 -0
- package/dist/cjs/ldf.cjs.js +22 -0
- package/dist/cjs/loader.cjs.js +24 -0
- package/dist/cjs/locale-d4e925b1.js +8 -0
- package/dist/cjs/md.transition-d86b1ef0.js +62 -0
- package/dist/cjs/menu-toggle-util-293e388b.js +11 -0
- package/dist/cjs/option-24f3d13a.js +167 -0
- package/dist/cjs/overlays-eb464d6d.js +228 -0
- package/dist/cjs/preference-a4bd51c4.js +23 -0
- package/dist/cjs/refrain-91fb446b.js +21 -0
- package/dist/cjs/rubric-5b467a6a.js +1220 -0
- package/dist/cjs/specific-class-a1112e78.js +38 -0
- package/dist/cjs/spinner-configs-b0bec093.js +112 -0
- package/dist/cjs/status-tap-7afb25f5.js +25 -0
- package/dist/cjs/swipe-back-f887168e.js +52 -0
- package/dist/cjs/swiper.bundle-cb0f61f7.js +6246 -0
- package/dist/cjs/tap-click-e0af5237.js +169 -0
- package/dist/cjs/text-5edb80f3.js +18 -0
- package/dist/cjs/theme-81caa5b0.js +47 -0
- package/dist/collection/collection-manifest.json +146 -0
- package/dist/collection/components/bible-reading/bible-reading.css +84 -0
- package/dist/collection/components/bible-reading/bible-reading.i18n.en.json +13 -0
- package/dist/collection/components/bible-reading/bible-reading.i18n.es.json +4 -0
- package/dist/collection/components/bible-reading/bible-reading.js +328 -0
- package/dist/collection/components/bible-reading/dist/bible-reading.js +354 -0
- package/dist/collection/components/bible-reading/fetch-reading.js +17 -0
- package/dist/collection/components/day-name/day-name.css +18 -0
- package/dist/collection/components/day-name/day-name.i18n.en.json +4 -0
- package/dist/{ldf/ldf-day-name.entry.js → collection/components/day-name/day-name.js} +54 -27
- package/dist/collection/components/editable-add-block/editable-add-block.css +93 -0
- package/dist/collection/components/editable-add-block/editable-add-block.i18n.en.json +5 -0
- package/dist/collection/components/editable-add-block/editable-add-block.js +135 -0
- package/dist/collection/components/editable-add-block-menu/dist/menu-options.js +230 -0
- package/dist/collection/components/editable-add-block-menu/editable-add-block-menu.css +33 -0
- package/dist/collection/components/editable-add-block-menu/editable-add-block-menu.i18n.en.json +48 -0
- package/dist/collection/components/editable-add-block-menu/editable-add-block-menu.js +101 -0
- package/dist/collection/components/editable-add-block-menu/menu-options.js +423 -0
- package/dist/collection/components/editable-antiphon-field/editable-antiphon-field.i18n.en.json +11 -0
- package/dist/collection/components/editable-antiphon-field/editable-antiphon-field.js +332 -0
- package/dist/collection/components/editable-antiphon-field/ldf-editable-antiphon-field.css +7 -0
- package/dist/collection/components/editable-boolean/editable-boolean.js +117 -0
- package/dist/collection/components/editable-condition/editable-condition.i18n.en.json +7 -0
- package/dist/collection/components/editable-condition/editable-condition.js +192 -0
- package/dist/collection/components/editable-condition-piece/dist/editable-condition-piece.js +257 -0
- package/dist/collection/components/editable-condition-piece/editable-condition-piece.css +34 -0
- package/dist/collection/components/editable-condition-piece/editable-condition-piece.i18n.en.json +21 -0
- package/dist/collection/components/editable-condition-piece/editable-condition-piece.js +233 -0
- package/dist/collection/components/editable-condition-piece/except-only-strings.js +12 -0
- package/dist/collection/components/editable-condition-piece/except-only.js +20 -0
- package/dist/collection/components/editable-delete/editable-delete.i18n.en.json +6 -0
- package/dist/collection/components/editable-delete/editable-delete.js +175 -0
- package/dist/collection/components/editable-filter-documents/dist/editable-filter-documents.js +242 -0
- package/dist/collection/components/editable-filter-documents/editable-filter-documents.css +11 -0
- package/dist/collection/components/editable-filter-documents/editable-filter-documents.i18n.en.json +9 -0
- package/dist/collection/components/editable-filter-documents/editable-filter-documents.js +294 -0
- package/dist/collection/components/editable-lookup/editable-lookup.js +210 -0
- package/dist/collection/components/editable-metadata/editable-metadata.css +44 -0
- package/dist/collection/components/editable-metadata/editable-metadata.i18n.en.json +51 -0
- package/dist/collection/components/editable-metadata/editable-metadata.js +261 -0
- package/dist/collection/components/editable-metadata-buttons/dist/editable-metadata-buttons.js +444 -0
- package/dist/collection/components/editable-metadata-buttons/editable-metadata-buttons.css +37 -0
- package/dist/collection/components/editable-metadata-buttons/editable-metadata-buttons.i18n.en.json +31 -0
- package/dist/collection/components/editable-metadata-buttons/editable-metadata-buttons.js +433 -0
- package/dist/collection/components/editable-metadata-metadata-fields/dist/editable-metadata-metadata-fields.js +399 -0
- package/dist/collection/components/editable-metadata-metadata-fields/editable-metadata-metadata-fields.i18n.en.json +48 -0
- package/dist/collection/components/editable-metadata-metadata-fields/editable-metadata-metadata-fields.js +438 -0
- package/dist/collection/components/editable-preference/editable-preference.i18n.en.json +8 -0
- package/dist/collection/components/editable-preference/editable-preference.js +166 -0
- package/dist/collection/components/editable-preference-option/editable-preference-option.i18n.en.json +9 -0
- package/dist/collection/components/editable-preference-option/editable-preference-option.js +128 -0
- package/dist/collection/components/editable-preferences/dist/editable-preferences.js +281 -0
- package/dist/collection/components/editable-preferences/editable-preferences.css +3 -0
- package/dist/collection/components/editable-preferences/editable-preferences.i18n.en.json +10 -0
- package/dist/collection/components/editable-preferences/editable-preferences.js +230 -0
- package/dist/collection/components/editable-preferences/preference-tree.js +24 -0
- package/dist/collection/components/editable-select/dist/editable-select.js +69 -0
- package/dist/collection/components/editable-select/editable-select.css +0 -0
- package/dist/collection/components/editable-select/editable-select.js +157 -0
- package/dist/collection/components/editable-string-list/dist/editable-string-list.js +207 -0
- package/dist/collection/components/editable-string-list/editable-string-list.css +21 -0
- package/dist/collection/components/editable-string-list/editable-string-list.i18n.en.json +18 -0
- package/dist/collection/components/editable-string-list/editable-string-list.js +194 -0
- package/dist/collection/components/editable-text/dist/editable-text.js +300 -0
- package/dist/collection/components/editable-text/dist/handle-input.js +52 -0
- package/dist/collection/components/editable-text/editable-text.css +53 -0
- package/dist/collection/components/editable-text/editable-text.i18n.en.json +3 -0
- package/dist/collection/components/editable-text/editable-text.js +473 -0
- package/dist/collection/components/editable-text/handle-input.js +47 -0
- package/dist/collection/components/editor/dist/editor.js +403 -0
- package/dist/collection/components/editor/editor.css +41 -0
- package/dist/collection/components/editor/editor.js +579 -0
- package/dist/collection/components/editor-cursors/editor-cursors.css +43 -0
- package/dist/collection/components/editor-cursors/editor-cursors.js +228 -0
- package/dist/collection/components/heading/dist/heading.js +210 -0
- package/dist/collection/components/heading/editable-node.js +2 -0
- package/dist/collection/components/heading/heading.css +96 -0
- package/dist/collection/components/heading/heading.i18n.en.json +4 -0
- package/dist/collection/components/heading/heading.js +198 -0
- package/dist/collection/components/image/image.css +75 -0
- package/dist/collection/components/image/image.i18n.en.json +4 -0
- package/dist/collection/components/image/image.js +303 -0
- package/dist/collection/components/label-bar/label-bar.css +40 -0
- package/dist/collection/components/label-bar/label-bar.js +49 -0
- package/dist/collection/components/liturgical-document/condition-node.js +86 -0
- package/dist/collection/components/liturgical-document/dist/liturgical-document.js +341 -0
- package/dist/collection/components/liturgical-document/liturgical-document.css +73 -0
- package/dist/collection/components/liturgical-document/liturgical-document.i18n.en.json +45 -0
- package/dist/collection/components/liturgical-document/liturgical-document.js +465 -0
- package/dist/collection/components/liturgical-document/lookup-node.js +80 -0
- package/dist/collection/components/liturgy/liturgy.js +138 -0
- package/dist/collection/components/meditation/dist/meditation.js +345 -0
- package/dist/collection/components/meditation/meditation.css +63 -0
- package/dist/collection/components/meditation/meditation.i18n.en.json +8 -0
- package/dist/collection/components/meditation/meditation.js +409 -0
- package/dist/collection/components/option/dist/option.js +318 -0
- package/dist/collection/components/option/option.css +8 -0
- package/dist/collection/components/option/option.i18n.en.json +3 -0
- package/dist/{ldf/ldf-option.entry.js → collection/components/option/option.js} +214 -31
- package/dist/collection/components/prayers-and-thanksgivings/dist/prayers-and-thanksgivings.js +258 -0
- package/dist/collection/components/prayers-and-thanksgivings/prayers-and-thanksgivings.css +3 -0
- package/dist/collection/components/prayers-and-thanksgivings/prayers-and-thanksgivings.i18n.en.json +3 -0
- package/dist/collection/components/prayers-and-thanksgivings/prayers-and-thanksgivings.js +265 -0
- package/dist/collection/components/psalm/dist/psalm.js +383 -0
- package/dist/collection/components/psalm/psalm.css +152 -0
- package/dist/collection/components/psalm/psalm.i18n.en.json +10 -0
- package/dist/collection/components/psalm/psalm.js +361 -0
- package/dist/collection/components/refrain/refrain.css +42 -0
- package/dist/collection/components/refrain/refrain.js +105 -0
- package/dist/collection/components/responsive-prayer/responsive-prayer.css +83 -0
- package/dist/collection/components/responsive-prayer/responsive-prayer.i18n.en.json +7 -0
- package/dist/collection/components/responsive-prayer/responsive-prayer.js +215 -0
- package/dist/collection/components/rubric/rubric.css +9 -0
- package/dist/collection/components/rubric/rubric.js +104 -0
- package/dist/collection/components/string/dist/string.js +194 -0
- package/dist/collection/components/string/string.css +60 -0
- package/dist/{ldf/ldf-string.entry.js → collection/components/string/string.js} +179 -18
- package/dist/collection/components/text/dist/text.js +234 -0
- package/dist/collection/components/text/text.css +52 -0
- package/dist/collection/components/text/text.i18n.en.json +7 -0
- package/dist/collection/components/text/text.i18n.es.json +3 -0
- package/dist/collection/components/text/text.js +224 -0
- package/dist/collection/i18n/bible-reading.i18n.en.json +13 -0
- package/dist/collection/i18n/bible-reading.i18n.es.json +4 -0
- package/dist/collection/i18n/day-name.i18n.en.json +4 -0
- package/dist/collection/i18n/editable-add-block-menu.i18n.en.json +48 -0
- package/dist/collection/i18n/editable-add-block.i18n.en.json +5 -0
- package/dist/collection/i18n/editable-antiphon-field.i18n.en.json +11 -0
- package/dist/collection/i18n/editable-condition-piece.i18n.en.json +21 -0
- package/dist/collection/i18n/editable-condition.i18n.en.json +7 -0
- package/dist/collection/i18n/editable-delete.i18n.en.json +6 -0
- package/dist/collection/i18n/editable-filter-documents.i18n.en.json +9 -0
- package/dist/collection/i18n/editable-metadata-buttons.i18n.en.json +31 -0
- package/dist/collection/i18n/editable-metadata-metadata-fields.i18n.en.json +48 -0
- package/dist/collection/i18n/editable-metadata.i18n.en.json +51 -0
- package/dist/collection/i18n/editable-preference-option.i18n.en.json +9 -0
- package/dist/collection/i18n/editable-preference.i18n.en.json +8 -0
- package/dist/collection/i18n/editable-preferences.i18n.en.json +10 -0
- package/dist/collection/i18n/editable-string-list.i18n.en.json +18 -0
- package/dist/collection/i18n/editable-text.i18n.en.json +3 -0
- package/dist/collection/i18n/heading.i18n.en.json +4 -0
- package/dist/collection/i18n/image.i18n.en.json +4 -0
- package/dist/collection/i18n/liturgical-document.i18n.en.json +45 -0
- package/dist/collection/i18n/meditation.i18n.en.json +8 -0
- package/dist/collection/i18n/option.i18n.en.json +3 -0
- package/dist/collection/i18n/prayers-and-thanksgivings.i18n.en.json +3 -0
- package/dist/collection/i18n/psalm.i18n.en.json +10 -0
- package/dist/collection/i18n/responsive-prayer.i18n.en.json +7 -0
- package/dist/collection/i18n/text.i18n.en.json +7 -0
- package/dist/collection/i18n/text.i18n.es.json +3 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/interfaces/add-option-to-doc.js +1 -0
- package/dist/collection/interfaces/dist/menu-option.js +9 -0
- package/dist/collection/interfaces/index.js +2 -0
- package/dist/collection/interfaces/menu-option.js +2 -0
- package/dist/collection/utils/element-from-path.js +14 -0
- package/dist/{ldf/locale-d595f8f6.js → collection/utils/locale.js} +2 -4
- package/dist/esm/_commonjsHelpers-ba3f0406.js +21 -0
- package/dist/{ldf/animation-6b850b6a.js → esm/animation-7a1025d0.js} +1 -1
- package/dist/{ldf/app-globals-d4376e8c.js → esm/app-globals-729b03cf.js} +1 -1
- package/dist/esm/book-31b8cdde.js +282 -0
- package/dist/esm/change-ea574d32.js +14 -0
- package/dist/{ldf → esm}/cubic-bezier-89113939.js +0 -0
- package/dist/esm/cursor-0e47f111.js +10 -0
- package/dist/{ldf → esm}/focus-visible-571e113e.js +0 -0
- package/dist/{ldf → esm}/framework-delegate-7af2c551.js +0 -0
- package/dist/esm/gesture-controller-5bf8565e.js +191 -0
- package/dist/{ldf/haptic-0d102c16.js → esm/haptic-fc16a4d8.js} +0 -24
- package/dist/{ldf → esm}/hardware-back-button-b3b61715.js +0 -0
- package/dist/esm/heading-cc5ffa8a.js +19 -0
- package/dist/{ldf/helpers-e9bf4204.js → esm/helpers-8c93393b.js} +0 -3
- package/dist/esm/image-c6a3f0c5.js +19 -0
- package/dist/{ldf/index-dd274afe.js → esm/index-1bf6d100.js} +3 -31
- package/dist/{ldf/index-4505cc02.js → esm/index-734a6b69.js} +2 -2
- package/dist/{ldf/index-9b41fcc6.js → esm/index-82044e24.js} +3 -190
- package/dist/{ldf → esm}/index-86d5f3ab.js +0 -0
- package/dist/{ldf/index-fc8c2f30.js → esm/index-9579282b.js} +3 -3
- package/dist/{ldf → esm}/index-c7ecbd63.js +0 -0
- package/dist/{ldf/index-7845c707.js → esm/index-f08f6130.js} +1 -6
- package/dist/esm/index-f0f6a379.js +1765 -0
- package/dist/esm/index.js +4 -0
- package/dist/{ldf/input-shims-b58afc2a.js → esm/input-shims-a4ad2743.js} +5 -7
- package/dist/{ldf → esm}/ion-action-sheet.entry.js +5 -5
- package/dist/{ldf → esm}/ion-alert.entry.js +5 -5
- package/dist/{ldf → esm}/ion-app.entry.js +6 -6
- package/dist/{ldf → esm}/ion-avatar.entry.js +2 -2
- package/dist/{ldf → esm}/ion-back-button.entry.js +2 -2
- package/dist/{ldf → esm}/ion-backdrop.entry.js +3 -3
- package/dist/{ldf → esm}/ion-badge.entry.js +2 -2
- package/dist/esm/ion-button_13.entry.js +1770 -0
- package/dist/esm/ion-card-content_6.entry.js +396 -0
- package/dist/{ldf → esm}/ion-card-subtitle.entry.js +2 -2
- package/dist/{ldf/ion-card.entry.js → esm/ion-card_2.entry.js} +27 -3
- package/dist/{ldf/ion-checkbox.entry.js → esm/ion-checkbox_3.entry.js} +123 -4
- package/dist/{ldf → esm}/ion-chip.entry.js +2 -2
- package/dist/{ldf/ion-datetime.entry.js → esm/ion-datetime_2.entry.js} +152 -6
- package/dist/{ldf → esm}/ion-fab-button.entry.js +3 -3
- package/dist/{ldf → esm}/ion-fab-list.entry.js +2 -2
- package/dist/{ldf → esm}/ion-fab.entry.js +2 -2
- package/dist/{ldf → esm}/ion-footer.entry.js +2 -2
- package/dist/{ldf → esm}/ion-img.entry.js +2 -2
- package/dist/{ldf → esm}/ion-infinite-scroll-content.entry.js +2 -2
- package/dist/{ldf → esm}/ion-infinite-scroll.entry.js +2 -2
- package/dist/{ldf/ldf-editable-text.entry.js → esm/ion-input_2.entry.js} +222 -12
- package/dist/{ldf → esm}/ion-item-divider.entry.js +2 -2
- package/dist/{ldf → esm}/ion-item-group.entry.js +2 -2
- package/dist/{ldf → esm}/ion-item-option.entry.js +2 -2
- package/dist/{ldf → esm}/ion-item-options.entry.js +3 -3
- package/dist/{ldf → esm}/ion-item-sliding.entry.js +4 -4
- package/dist/{ldf → esm}/ion-list-header.entry.js +2 -2
- package/dist/{ldf → esm}/ion-loading.entry.js +5 -5
- package/dist/{ldf → esm}/ion-menu-button.entry.js +6 -6
- package/dist/{ldf → esm}/ion-menu-toggle.entry.js +6 -6
- package/dist/{ldf → esm}/ion-menu.entry.js +7 -11
- package/dist/{ldf → esm}/ion-modal.entry.js +8 -7
- package/dist/{ldf → esm}/ion-nav-link.entry.js +1 -1
- package/dist/{ldf → esm}/ion-nav.entry.js +5 -9
- package/dist/{ldf → esm}/ion-note.entry.js +2 -2
- package/dist/{ldf → esm}/ion-picker-column.entry.js +5 -5
- package/dist/{ldf → esm}/ion-picker.entry.js +5 -5
- package/dist/{ldf → esm}/ion-popover.entry.js +6 -6
- package/dist/{ldf → esm}/ion-progress-bar.entry.js +3 -3
- package/dist/{ldf/ion-radio.entry.js → esm/ion-radio_2.entry.js} +57 -4
- package/dist/{ldf → esm}/ion-range.entry.js +4 -4
- package/dist/{ldf → esm}/ion-refresher-content.entry.js +2 -2
- package/dist/{ldf → esm}/ion-refresher.entry.js +7 -57
- package/dist/{ldf → esm}/ion-reorder-group.entry.js +4 -4
- package/dist/{ldf → esm}/ion-reorder.entry.js +2 -2
- package/dist/{ldf → esm}/ion-route-redirect.entry.js +1 -1
- package/dist/{ldf → esm}/ion-route.entry.js +1 -1
- package/dist/{ldf → esm}/ion-router-link.entry.js +2 -2
- package/dist/{ldf → esm}/ion-router-outlet.entry.js +4 -4
- package/dist/{ldf → esm}/ion-router.entry.js +2 -2
- package/dist/esm/ion-segment_16.entry.js +2488 -0
- package/dist/{ldf → esm}/ion-select-popover.entry.js +3 -3
- package/dist/{ldf/ion-select.entry.js → esm/ion-select_2.entry.js} +24 -5
- package/dist/{ldf → esm}/ion-slide.entry.js +2 -2
- package/dist/{ldf → esm}/ion-slides.entry.js +3 -3
- package/dist/{ldf → esm}/ion-spinner.entry.js +2 -2
- package/dist/{ldf → esm}/ion-split-pane.entry.js +2 -8
- package/dist/{ldf → esm}/ion-tab-bar.entry.js +2 -2
- package/dist/{ldf → esm}/ion-tab-button.entry.js +2 -2
- package/dist/{ldf → esm}/ion-tab.entry.js +1 -9
- package/dist/{ldf → esm}/ion-tabs.entry.js +1 -1
- package/dist/{ldf → esm}/ion-text.entry.js +2 -2
- package/dist/{ldf → esm}/ion-textarea.entry.js +5 -5
- package/dist/{ldf → esm}/ion-thumbnail.entry.js +2 -2
- package/dist/{ldf → esm}/ion-toast.entry.js +5 -5
- package/dist/{ldf → esm}/ion-virtual-scroll.entry.js +1 -1
- package/dist/{ldf/ionic-global-98eeb119.js → esm/ionic-global-ef89a0a5.js} +1 -2
- package/dist/{ldf/ios.transition-1d534d59.js → esm/ios.transition-b1be0863.js} +4 -4
- package/dist/{ldf/ldf-text.entry.js → esm/ldf-day-name_5.entry.js} +508 -126
- package/dist/{ldf → esm}/ldf-editable-add-block-menu.entry.js +9 -4
- package/dist/{ldf → esm}/ldf-editable-condition-piece.entry.js +24 -4
- package/dist/{ldf → esm}/ldf-editable-condition.entry.js +4 -4
- package/dist/{ldf → esm}/ldf-editable-filter-documents.entry.js +32 -4
- package/dist/{ldf/ldf-editable-metadata-metadata-fields.entry.js → esm/ldf-editable-lookup_2.entry.js} +121 -5
- package/dist/{ldf → esm}/ldf-editable-metadata.entry.js +10 -4
- package/dist/{ldf → esm}/ldf-editable-preference-option.entry.js +5 -4
- package/dist/{ldf → esm}/ldf-editable-preference.entry.js +5 -4
- package/dist/{ldf → esm}/ldf-editable-preferences.entry.js +20 -17
- package/dist/{ldf → esm}/ldf-editable-string-list.entry.js +4 -4
- package/dist/{ldf → esm}/ldf-editor-cursors.entry.js +5 -9
- package/dist/{ldf → esm}/ldf-editor.entry.js +6 -4
- package/dist/esm/ldf.js +20 -0
- package/dist/esm/loader.js +20 -0
- package/dist/esm/locale-ec8e14e6.js +6 -0
- package/dist/{ldf/md.transition-a8cd439c.js → esm/md.transition-1763f475.js} +4 -4
- package/dist/{ldf/menu-toggle-util-9f807d31.js → esm/menu-toggle-util-29e61ff3.js} +1 -1
- package/dist/esm/option-da8390ad.js +164 -0
- package/dist/{ldf/overlays-10805282.js → esm/overlays-06b43b65.js} +2 -2
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/preference-d070d4cb.js +20 -0
- package/dist/esm/refrain-75a412cb.js +19 -0
- package/dist/esm/rubric-91bf7fed.js +1213 -0
- package/dist/esm/specific-class-ef83cfb6.js +36 -0
- package/dist/{ldf → esm}/spinner-configs-5dd6891e.js +0 -0
- package/dist/{ldf/status-tap-b8afd87d.js → esm/status-tap-7458bd71.js} +1 -1
- package/dist/{ldf/swipe-back-2b2f4e51.js → esm/swipe-back-762284df.js} +3 -2
- package/dist/{ldf/swiper.bundle-49d79db9.js → esm/swiper.bundle-13b9da83.js} +2 -2
- package/dist/{ldf/tap-click-fccc5499.js → esm/tap-click-9b3d603b.js} +1 -1
- package/dist/esm/text-ed75fbd4.js +16 -0
- package/dist/{ldf → esm}/theme-74c22054.js +0 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/ldf/index.esm.js +1 -4
- package/dist/ldf/ldf.css +3 -122
- package/dist/ldf/ldf.esm.js +1 -123
- package/dist/ldf/p-018e57db.entry.js +1 -0
- package/dist/ldf/p-03389897.js +1 -0
- package/dist/ldf/p-03afc8cb.entry.js +1 -0
- package/dist/ldf/p-04715bf0.entry.js +1 -0
- package/dist/ldf/p-0491d1d2.js +1 -0
- package/dist/ldf/p-07d6d3ad.entry.js +1 -0
- package/dist/ldf/p-08584ccc.entry.js +1 -0
- package/dist/ldf/p-0873a34a.entry.js +1 -0
- package/dist/ldf/p-0ab55cf6.js +1 -0
- package/dist/ldf/p-1482a707.js +1 -0
- package/dist/ldf/p-177ede88.js +1 -0
- package/dist/ldf/p-1902f41e.entry.js +1 -0
- package/dist/ldf/p-1a8e2899.entry.js +1 -0
- package/dist/ldf/p-1c8cc5bf.entry.js +1 -0
- package/dist/ldf/p-1ff665a7.entry.js +1 -0
- package/dist/ldf/p-21e2f0a3.entry.js +1 -0
- package/dist/ldf/p-23af1bc3.entry.js +1 -0
- package/dist/ldf/p-25a736f1.entry.js +1 -0
- package/dist/ldf/p-2ae548b3.entry.js +1 -0
- package/dist/ldf/p-2c36a583.entry.js +1 -0
- package/dist/ldf/p-302dc0d5.entry.js +1 -0
- package/dist/ldf/p-327b14ac.entry.js +1 -0
- package/dist/ldf/p-32f7ba8e.entry.js +1 -0
- package/dist/ldf/p-3545fcdc.entry.js +1 -0
- package/dist/ldf/p-374118d7.entry.js +1 -0
- package/dist/ldf/p-380f8655.entry.js +1 -0
- package/dist/ldf/p-3c9930ff.entry.js +1 -0
- package/dist/ldf/p-3ca74c80.js +8 -0
- package/dist/ldf/p-3e8ff66b.js +1 -0
- package/dist/ldf/p-3f39c2ad.entry.js +1 -0
- package/dist/ldf/p-3f8ef67b.entry.js +1 -0
- package/dist/ldf/p-402c811f.js +1 -0
- package/dist/ldf/p-430c418a.entry.js +1 -0
- package/dist/ldf/p-476327d6.js +1 -0
- package/dist/ldf/p-48e44122.js +1 -0
- package/dist/ldf/p-4a4380fa.entry.js +1 -0
- package/dist/ldf/p-4aa9a6f2.js +1 -0
- package/dist/ldf/p-4b80de48.js +1 -0
- package/dist/ldf/p-4e0b3c0f.entry.js +1 -0
- package/dist/ldf/p-5066eaa5.js +1 -0
- package/dist/ldf/p-52656429.entry.js +1 -0
- package/dist/ldf/p-55d797c1.js +1 -0
- package/dist/ldf/p-59340423.entry.js +1 -0
- package/dist/ldf/p-594fa9d4.entry.js +1 -0
- package/dist/ldf/p-5b43e6be.js +1 -0
- package/dist/ldf/p-5b51185b.js +1 -0
- package/dist/ldf/p-5be7ff17.entry.js +1 -0
- package/dist/ldf/p-5ea6de28.entry.js +1 -0
- package/dist/ldf/p-63b5daf6.entry.js +1 -0
- package/dist/ldf/p-65563763.entry.js +1 -0
- package/dist/ldf/p-65d26c45.js +1 -0
- package/dist/ldf/p-65ea7ab3.entry.js +1 -0
- package/dist/ldf/p-66a7385e.entry.js +1 -0
- package/dist/ldf/p-6857574d.js +1 -0
- package/dist/ldf/p-69f85ad3.entry.js +1 -0
- package/dist/ldf/p-6fe24d85.entry.js +1 -0
- package/dist/ldf/p-70e47f8b.entry.js +1 -0
- package/dist/ldf/p-714cf0b2.js +1 -0
- package/dist/ldf/p-718ae824.js +1 -0
- package/dist/ldf/p-78da8fe1.js +1 -0
- package/dist/ldf/p-79a526a1.entry.js +1 -0
- package/dist/ldf/p-7abeb82c.entry.js +1 -0
- package/dist/ldf/p-7efa633b.entry.js +1 -0
- package/dist/ldf/p-800a115c.entry.js +1 -0
- package/dist/ldf/p-84f38db6.entry.js +1 -0
- package/dist/ldf/p-8767a74e.entry.js +1 -0
- package/dist/ldf/p-88dbd8b6.js +1 -0
- package/dist/ldf/p-8932ec85.entry.js +1 -0
- package/dist/ldf/p-8c2727db.entry.js +1 -0
- package/dist/ldf/p-8ec26587.js +1 -0
- package/dist/ldf/p-8f67abb8.js +3 -0
- package/dist/ldf/p-9155f066.js +1 -0
- package/dist/ldf/p-978e2c6d.js +1 -0
- package/dist/ldf/p-991c0877.js +1 -0
- package/dist/ldf/p-9bd5d1d4.entry.js +1 -0
- package/dist/ldf/p-9c1973a6.entry.js +1 -0
- package/dist/ldf/p-9c397c49.entry.js +1 -0
- package/dist/ldf/p-9e2c172e.entry.js +1 -0
- package/dist/ldf/p-a1729dbd.js +1 -0
- package/dist/ldf/p-ac7a17ce.entry.js +1 -0
- package/dist/ldf/p-acbbd1ec.js +1 -0
- package/dist/ldf/p-afc1a02c.js +1 -0
- package/dist/ldf/p-b1242016.js +1 -0
- package/dist/ldf/p-b62e8f49.js +1 -0
- package/dist/ldf/p-b7388aec.entry.js +1 -0
- package/dist/ldf/p-b78336d7.entry.js +1 -0
- package/dist/ldf/p-ba021918.entry.js +1 -0
- package/dist/ldf/p-bdcf2b02.entry.js +1 -0
- package/dist/ldf/p-c1df632d.entry.js +1 -0
- package/dist/ldf/p-c3042920.entry.js +1 -0
- package/dist/ldf/p-c3807857.entry.js +1 -0
- package/dist/ldf/p-c3841978.entry.js +1 -0
- package/dist/ldf/p-c41e055c.entry.js +1 -0
- package/dist/ldf/p-c60a875b.js +1 -0
- package/dist/ldf/p-c6163f81.entry.js +1 -0
- package/dist/ldf/p-c6a8f4aa.js +1 -0
- package/dist/ldf/p-c6b42618.entry.js +1 -0
- package/dist/ldf/p-c74d3fd0.entry.js +1 -0
- package/dist/ldf/p-c82dd468.entry.js +1 -0
- package/dist/ldf/p-ca698b8f.entry.js +1 -0
- package/dist/ldf/p-cbfbb80c.entry.js +1 -0
- package/dist/ldf/p-d195c957.entry.js +1 -0
- package/dist/ldf/p-d282d4f9.js +1 -0
- package/dist/ldf/p-d7966e9b.entry.js +1 -0
- package/dist/ldf/p-d7f8c770.js +1 -0
- package/dist/ldf/p-d9c1c1f6.js +1 -0
- package/dist/ldf/p-dc445c36.entry.js +1 -0
- package/dist/ldf/p-dd99e42a.entry.js +1 -0
- package/dist/ldf/p-de5bb5ad.js +1 -0
- package/dist/ldf/p-e0e12ae3.entry.js +1 -0
- package/dist/ldf/p-e215fd02.entry.js +1 -0
- package/dist/ldf/p-e4be11ad.entry.js +1 -0
- package/dist/ldf/p-e4f0cd91.entry.js +1 -0
- package/dist/ldf/p-e911e60d.js +1 -0
- package/dist/ldf/p-ea66c343.entry.js +1 -0
- package/dist/ldf/p-ec5eecdc.entry.js +1 -0
- package/dist/ldf/p-ed3327fa.js +1 -0
- package/dist/ldf/p-f0de7628.entry.js +1 -0
- package/dist/ldf/p-f2ce126e.js +1 -0
- package/dist/ldf/p-f3a0c163.js +1 -0
- package/dist/ldf/p-fa191f47.entry.js +1 -0
- package/dist/ldf/p-fe59a676.entry.js +1 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.ios.css +363 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.md.css +285 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.ios.css +483 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.md.css +501 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/app/app.css +7 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.ios.css +22 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.md.css +22 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.ios.css +277 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.md.css +305 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.ios.css +26 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.md.css +26 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.ios.css +58 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.md.css +62 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/button/button.ios.css +440 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/button/button.md.css +428 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.ios.css +128 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.md.css +151 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card/card.ios.css +101 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card/card.md.css +95 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.ios.css +61 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.md.css +63 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.ios.css +37 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.md.css +35 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.ios.css +28 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.md.css +26 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.ios.css +27 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.md.css +27 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.ios.css +147 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.md.css +150 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.ios.css +194 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.md.css +194 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/col/col.css +108 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +167 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +106 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +106 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab/fab.css +61 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.ios.css +324 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.md.css +293 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.css +116 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.ios.css +33 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.md.css +37 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/grid/grid.css +151 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/header/header.ios.css +92 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/header/header.md.css +40 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/img/img.css +12 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.css +8 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +54 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +54 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/input/input.ios.css +172 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/input/input.md.css +172 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +563 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +630 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.ios.css +204 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.md.css +297 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.ios.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.md.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +186 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +180 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css +88 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css +85 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-sliding/item-sliding.css +42 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +152 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.md.css +163 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list/list.ios.css +91 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list/list.md.css +114 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.ios.css +118 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.md.css +94 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +113 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +104 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +131 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +127 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.ios.css +175 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.md.css +178 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-toggle/menu-toggle.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +158 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +104 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/nav/nav.css +10 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/note/note.ios.css +16 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/note/note.md.css +17 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.ios.css +216 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.md.css +203 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.ios.css +122 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.md.css +123 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.ios.css +117 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.md.css +82 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.ios.css +191 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.md.css +191 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.ios.css +151 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.md.css +152 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +275 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +320 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.ios.css +177 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.md.css +210 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.ios.css +15 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.md.css +15 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder-group/reorder-group.css +33 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/ripple-effect/ripple-effect.css +58 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/router-link/router-link.css +29 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/router-outlet/route-outlet.css +10 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/row/row.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.ios.css +348 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.md.css +279 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css +64 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.md.css +35 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.ios.css +442 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.md.css +424 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select/select.ios.css +123 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select/select.md.css +123 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select-option/select-option.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.css +14 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/skeleton-text/skeleton-text.css +53 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/slide/slide.css +31 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.ios.css +764 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.md.css +764 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +154 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.ios.css +108 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.md.css +108 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab/tab.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.ios.css +96 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.md.css +81 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.ios.css +308 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.md.css +331 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tabs/tabs.css +19 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/text/text.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +142 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +146 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/thumbnail/thumbnail.css +21 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/title/title.ios.css +110 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/title/title.md.css +55 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.ios.css +249 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.md.css +282 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +214 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +211 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.ios.css +174 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.md.css +167 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/virtual-scroll/virtual-scroll.css +21 -0
- package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +101 -0
- package/package.json +2 -2
- package/dist/ldf/_commonjsHelpers-8fe71198.js +0 -44
- package/dist/ldf/css-shim-5630fd5e.js +0 -4
- package/dist/ldf/dom-bd0bf1dc.js +0 -73
- package/dist/ldf/index-f441adec.js +0 -2901
- package/dist/ldf/index-f4e3260e.js +0 -36
- package/dist/ldf/ion-button.entry.js +0 -109
- package/dist/ldf/ion-buttons.entry.js +0 -38
- package/dist/ldf/ion-card-content.entry.js +0 -26
- package/dist/ldf/ion-card-header.entry.js +0 -29
- package/dist/ldf/ion-card-title.entry.js +0 -23
- package/dist/ldf/ion-col.entry.js +0 -114
- package/dist/ldf/ion-content.entry.js +0 -299
- package/dist/ldf/ion-grid.entry.js +0 -24
- package/dist/ldf/ion-header.entry.js +0 -255
- package/dist/ldf/ion-icon.entry.js +0 -172
- package/dist/ldf/ion-input.entry.js +0 -216
- package/dist/ldf/ion-item.entry.js +0 -119
- package/dist/ldf/ion-label.entry.js +0 -51
- package/dist/ldf/ion-list.entry.js +0 -48
- package/dist/ldf/ion-radio-group.entry.js +0 -57
- package/dist/ldf/ion-ripple-effect.entry.js +0 -89
- package/dist/ldf/ion-row.entry.js +0 -16
- package/dist/ldf/ion-searchbar.entry.js +0 -326
- package/dist/ldf/ion-segment-button.entry.js +0 -88
- package/dist/ldf/ion-segment.entry.js +0 -296
- package/dist/ldf/ion-select-option.entry.js +0 -23
- package/dist/ldf/ion-skeleton-text.entry.js +0 -29
- package/dist/ldf/ion-title.entry.js +0 -44
- package/dist/ldf/ion-toggle.entry.js +0 -152
- package/dist/ldf/ion-toolbar.entry.js +0 -67
- package/dist/ldf/ldf-bible-reading.entry.js +0 -252
- package/dist/ldf/ldf-editable-add-block.entry.js +0 -49
- package/dist/ldf/ldf-editable-antiphon-field.entry.js +0 -223
- package/dist/ldf/ldf-editable-boolean.entry.js +0 -42
- package/dist/ldf/ldf-editable-delete.entry.js +0 -97
- package/dist/ldf/ldf-editable-lookup.entry.js +0 -115
- package/dist/ldf/ldf-editable-metadata-buttons.entry.js +0 -293
- package/dist/ldf/ldf-editable-select.entry.js +0 -33
- package/dist/ldf/ldf-heading.entry.js +0 -124
- package/dist/ldf/ldf-image.entry.js +0 -195
- package/dist/ldf/ldf-label-bar.entry.js +0 -22
- package/dist/ldf/ldf-liturgical-document.entry.js +0 -462
- package/dist/ldf/ldf-liturgy.entry.js +0 -49
- package/dist/ldf/ldf-meditation.entry.js +0 -180
- package/dist/ldf/ldf-prayers-and-thanksgivings.entry.js +0 -136
- package/dist/ldf/ldf-psalm.entry.js +0 -267
- package/dist/ldf/ldf-refrain.entry.js +0 -42
- package/dist/ldf/ldf-responsive-prayer.entry.js +0 -137
- package/dist/ldf/ldf-rubric.entry.js +0 -41
- package/dist/ldf/shadow-css-10669ec3.js +0 -383
- package/dist/ldf/utils-8d15f916.js +0 -91
|
@@ -1,31 +1,513 @@
|
|
|
1
|
-
import { r as registerInstance,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import './
|
|
6
|
-
import {
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './helpers-e9bf4204.js';
|
|
10
|
-
import './ios.transition-1d534d59.js';
|
|
11
|
-
import './index-fc8c2f30.js';
|
|
12
|
-
import './md.transition-a8cd439c.js';
|
|
13
|
-
import './cubic-bezier-89113939.js';
|
|
14
|
-
import './index-9b41fcc6.js';
|
|
15
|
-
import './ionic-global-98eeb119.js';
|
|
16
|
-
import './index-86d5f3ab.js';
|
|
17
|
-
import './index-4505cc02.js';
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement, c as createEvent } from './index-f0f6a379.js';
|
|
2
|
+
import { d as dateFromYMDString, a as dateOnly } from './book-31b8cdde.js';
|
|
3
|
+
import { T as Text } from './text-ed75fbd4.js';
|
|
4
|
+
import { g as getComponentClosestLanguage } from './locale-ec8e14e6.js';
|
|
5
|
+
import { H as Heading } from './heading-cc5ffa8a.js';
|
|
6
|
+
import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-ba3f0406.js';
|
|
7
|
+
import { m as modalController } from './overlays-06b43b65.js';
|
|
8
|
+
import './ionic-global-ef89a0a5.js';
|
|
18
9
|
import './hardware-back-button-b3b61715.js';
|
|
19
10
|
|
|
11
|
+
/**
|
|
12
|
+
* LiturgicalDay represents a particular moment in the liturgical calendar,
|
|
13
|
+
* like "Monday in Holy Week" or "The Eve of the Epiphany."
|
|
14
|
+
*/
|
|
15
|
+
class LiturgicalDay {
|
|
16
|
+
//** Constructor takes a Javascript object containing the class's properties */
|
|
17
|
+
constructor(data = {}) {
|
|
18
|
+
/** True if this moment is the evening. Used to indicate the eve of feasts. */
|
|
19
|
+
this.evening = false;
|
|
20
|
+
Object.assign(this, data);
|
|
21
|
+
}
|
|
22
|
+
/** Returns a native Date from the day's date string */
|
|
23
|
+
getDate() {
|
|
24
|
+
return dateFromYMDString(this.date);
|
|
25
|
+
}
|
|
26
|
+
/** Given a LiturgicalDay, returns a new LiturgicalDay that includes the feasts passed */
|
|
27
|
+
addHolyDays(holydays) {
|
|
28
|
+
var _a, _b, _c, _d;
|
|
29
|
+
const day = this;
|
|
30
|
+
holydays = holydays
|
|
31
|
+
// filter out eves if it's not evening
|
|
32
|
+
.filter((feast) => !feast.eve || this.evening)
|
|
33
|
+
// filter out days that are supposed to stop after a certain Sunday
|
|
34
|
+
// viz., the 1979 daily lectionary for January 8, 9, 10, 11, etc., stops at the 1st Sunday after the Epiphany
|
|
35
|
+
.filter((feast) => feast.stops_at_sunday !== day.week.slug)
|
|
36
|
+
.map((feast) => {
|
|
37
|
+
// if a feast has an `evening` field and it's evening, use that
|
|
38
|
+
if (feast.hasOwnProperty('evening') && this.evening == true) {
|
|
39
|
+
return feast.evening;
|
|
40
|
+
}
|
|
41
|
+
// if a feast has a `morning` field and it's morning, use that
|
|
42
|
+
else if (feast.hasOwnProperty('morning') && this.evening == false) {
|
|
43
|
+
return feast.morning;
|
|
44
|
+
}
|
|
45
|
+
// if a feast is the eve of something and it's evening, use that feast
|
|
46
|
+
else if (feast && feast.eve && this.evening == true) {
|
|
47
|
+
return feast;
|
|
48
|
+
}
|
|
49
|
+
// if none of these, just return the feast
|
|
50
|
+
else {
|
|
51
|
+
return feast;
|
|
52
|
+
}
|
|
53
|
+
})
|
|
54
|
+
.filter((feast) => !!feast);
|
|
55
|
+
// Determine whether a holy day takes precedence over the ordinary day
|
|
56
|
+
const observed = this.observedDay(this, (this.holy_days || new Array()).concat(holydays));
|
|
57
|
+
// overwrite the day's slug with the observed day's slug if they differ
|
|
58
|
+
const holy_day_rank = Number((_b = (_a = observed) === null || _a === void 0 ? void 0 : _a.type) === null || _b === void 0 ? void 0 : _b.rank), holy_day_is_observed = (observed === null || observed === void 0 ? void 0 : observed.slug) && ((observed === null || observed === void 0 ? void 0 : observed.slug) !== day.slug || holy_day_rank > 2), slug = holy_day_is_observed && holy_day_rank > 2 ? observed.slug : day.slug;
|
|
59
|
+
let propers = this.propers;
|
|
60
|
+
if (slug !== this.slug) {
|
|
61
|
+
propers = slug;
|
|
62
|
+
}
|
|
63
|
+
const color = observed.color || this.color, collect = observed.collect || this.collect, season = observed.season || this.season, octave = (_d = (_c = (this.holy_days || [])) === null || _c === void 0 ? void 0 : _c.concat(holydays)) === null || _d === void 0 ? void 0 : _d.map((holyday) => holyday.octave).filter((octave) => Boolean(octave)).reduce((acc, curr) => (acc ? acc : curr || acc), undefined);
|
|
64
|
+
return new LiturgicalDay(Object.assign(Object.assign({}, this), { slug, propers: holy_day_is_observed && holy_day_rank > 2 ? (observed === null || observed === void 0 ? void 0 : observed.propers) || (observed === null || observed === void 0 ? void 0 : observed.slug) : propers, color,
|
|
65
|
+
season,
|
|
66
|
+
octave,
|
|
67
|
+
collect, holy_days: (this.holy_days || new Array()).concat(holydays), holy_day_observed: holy_day_is_observed ? observed : this.holy_day_observed }));
|
|
68
|
+
}
|
|
69
|
+
/** Given a `LiturgicalDay` and a set of `HolyDay`s, it returns whichever option takes precedence */
|
|
70
|
+
observedDay(day, holydays) {
|
|
71
|
+
// rank: Principal Feast (5), Sunday (4), Holy Day (3), random other days (2), ferial weekday (1)
|
|
72
|
+
function getRank(item, type) {
|
|
73
|
+
var _a;
|
|
74
|
+
// ranked items => go with rank
|
|
75
|
+
if (type == 'holyday') {
|
|
76
|
+
return ((_a = item === null || item === void 0 ? void 0 : item.type) === null || _a === void 0 ? void 0 : _a.rank) || 2;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
// if `day.date` is defined, used it to generate a date
|
|
80
|
+
// otherwise, use the current date
|
|
81
|
+
const date = day.date ? dateFromYMDString(day.date) : dateOnly(new Date());
|
|
82
|
+
// Sundays => 4
|
|
83
|
+
if (date.getDay() == 0) {
|
|
84
|
+
return 4;
|
|
85
|
+
}
|
|
86
|
+
// weekdays => 1
|
|
87
|
+
else {
|
|
88
|
+
return 1;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
const sorted = holydays
|
|
93
|
+
.map((holyday) => ({ rank: getRank(holyday, 'holyday'), obj: holyday }))
|
|
94
|
+
.concat({ rank: getRank(day, 'weekday'), obj: day })
|
|
95
|
+
.sort((a, b) => {
|
|
96
|
+
// equal rank => choose earlier feast (probably )
|
|
97
|
+
if (a.rank === b.rank && a.obj.mmdd && b.obj.mmdd) {
|
|
98
|
+
const [bMM, bDD] = b.obj.mmdd.split('/'), [aMM, aDD] = a.obj.mmdd.split('/'), bDate = new Date(), aDate = new Date();
|
|
99
|
+
bDate.setMonth(parseInt(bMM) - 1);
|
|
100
|
+
bDate.setDate(parseInt(bDD));
|
|
101
|
+
aDate.setMonth(parseInt(aMM) - 1);
|
|
102
|
+
aDate.setDate(parseInt(aDD));
|
|
103
|
+
return a.obj.mmdd === b.obj.mmdd && a.obj.kalendar !== b.obj.kalendar
|
|
104
|
+
? a.obj.kalendar === day.kalendar
|
|
105
|
+
? -1
|
|
106
|
+
: 1
|
|
107
|
+
: aDate.getTime() - bDate.getTime();
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
return b.rank - a.rank;
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
return Object.assign({}, sorted[0].obj);
|
|
114
|
+
}
|
|
115
|
+
// whether this day is ranked as a Major Feast
|
|
116
|
+
isFeast() {
|
|
117
|
+
var _a, _b, _c, _d;
|
|
118
|
+
const isSunday = this.getDate().getDay() === 0, hasRank = (((_b = (_a = this.holy_day_observed) === null || _a === void 0 ? void 0 : _a.type) === null || _b === void 0 ? void 0 : _b.rank) || 1) >= 3, holyWeek = (_c = this.slug) === null || _c === void 0 ? void 0 : _c.includes('holy-week'), easterWeek = ((_d = this.week) === null || _d === void 0 ? void 0 : _d.slug) === 'easter';
|
|
119
|
+
return isSunday || (hasRank && !holyWeek && !easterWeek);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
class Citation {
|
|
124
|
+
//** Constructor takes a Javascript object containing the class's properties */
|
|
125
|
+
constructor(data = {}) {
|
|
126
|
+
/** The URL (as a string) for the API from which more information about the source can be found */
|
|
127
|
+
this.api = 'https://www.venite.app/api';
|
|
128
|
+
Object.assign(this, data);
|
|
129
|
+
}
|
|
130
|
+
/** Provides a human-readable string form of the citation */
|
|
131
|
+
toString(suppressSource = false) {
|
|
132
|
+
return suppressSource ? this.citation : `${this.source} ${this.citation}`;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
const after = " after ";
|
|
137
|
+
const the = " the ";
|
|
138
|
+
const EN$2 = {
|
|
139
|
+
after: after,
|
|
140
|
+
the: the
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
const dayNameCss = ".icon.sc-ldf-day-name{display:var(--ldf-icon-display, none);margin:1em auto;width:400px;max-width:90%}.holy-day-name.sc-ldf-day-name{font-style:var(--ldf-holy-day-name-font-style);font-weight:var(--ldf-holy-day-name-font-weight);font-size:var(--ldf-holy-day-name-font-size)}.holy-day-subtitle.sc-ldf-day-name{font-style:var(--ldf-holy-day-subtitle-font-style);font-weight:var(--ldf-holy-day-subtitle-font-weight);font-size:var(--ldf-holy-day-subtitle-font-size)}";
|
|
144
|
+
|
|
145
|
+
const LOCALE$2 = {
|
|
146
|
+
'en': EN$2,
|
|
147
|
+
};
|
|
148
|
+
const DayNameComponent = class {
|
|
149
|
+
constructor(hostRef) {
|
|
150
|
+
registerInstance(this, hostRef);
|
|
151
|
+
}
|
|
152
|
+
dayChange(newDay) {
|
|
153
|
+
let provisionalObj;
|
|
154
|
+
try {
|
|
155
|
+
if (typeof newDay == 'string') {
|
|
156
|
+
provisionalObj = new LiturgicalDay(JSON.parse(newDay));
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
provisionalObj = new LiturgicalDay(newDay);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
catch (e) {
|
|
163
|
+
console.warn('(ldf-day-name)', e);
|
|
164
|
+
provisionalObj = new LiturgicalDay();
|
|
165
|
+
}
|
|
166
|
+
this.obj = provisionalObj || new LiturgicalDay();
|
|
167
|
+
}
|
|
168
|
+
// Lifecycle events
|
|
169
|
+
componentWillLoad() {
|
|
170
|
+
this.loadLocaleStrings();
|
|
171
|
+
this.dayChange(this.day);
|
|
172
|
+
}
|
|
173
|
+
async loadLocaleStrings() {
|
|
174
|
+
try {
|
|
175
|
+
this.localeStrings = LOCALE$2[getComponentClosestLanguage(this.el)];
|
|
176
|
+
}
|
|
177
|
+
catch (e) {
|
|
178
|
+
console.warn(e);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
// Render day as string
|
|
182
|
+
dayToNodes(day, localeStrings) {
|
|
183
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
184
|
+
// Holy Day => name of day
|
|
185
|
+
if (((_a = day === null || day === void 0 ? void 0 : day.holy_day_observed) === null || _a === void 0 ? void 0 : _a.name) && ((_c = (_b = day === null || day === void 0 ? void 0 : day.holy_day_observed) === null || _b === void 0 ? void 0 : _b.type) === null || _c === void 0 ? void 0 : _c.rank) >= 3) {
|
|
186
|
+
return !day.holy_day_observed.bio
|
|
187
|
+
? [h("p", { class: "holy-day-name" }, (_d = day === null || day === void 0 ? void 0 : day.holy_day_observed) === null || _d === void 0 ? void 0 : _d.name), ((_e = day === null || day === void 0 ? void 0 : day.holy_day_observed) === null || _e === void 0 ? void 0 : _e.subtitle) ? h("p", { class: "holy-day-subtitle" }, day.holy_day_observed.subtitle) : undefined]
|
|
188
|
+
: h("details", null, h("summary", null, day.holy_day_observed.name), h("ldf-text", { doc: new Text({ type: "text", style: "text", value: day.holy_day_observed.bio }) }));
|
|
189
|
+
}
|
|
190
|
+
else {
|
|
191
|
+
const date = dateFromYMDString(day === null || day === void 0 ? void 0 : day.date), locale = ((_g = (_f = this.el) === null || _f === void 0 ? void 0 : _f.closest('[lang]')) === null || _g === void 0 ? void 0 : _g.lang) || 'en';
|
|
192
|
+
// Sunday => name of week
|
|
193
|
+
if (date.getDay() == 0) {
|
|
194
|
+
const the = localeStrings.the || ' the ';
|
|
195
|
+
return [
|
|
196
|
+
((_h = day === null || day === void 0 ? void 0 : day.week) === null || _h === void 0 ? void 0 : _h.omit_the) ? '' : ` ${the[1].toUpperCase()}${the.slice(2, localeStrings.the.length)} `,
|
|
197
|
+
,
|
|
198
|
+
(_j = day === null || day === void 0 ? void 0 : day.week) === null || _j === void 0 ? void 0 : _j.name
|
|
199
|
+
];
|
|
200
|
+
}
|
|
201
|
+
// weekday => [weekday] after (the) [Sunday]
|
|
202
|
+
else {
|
|
203
|
+
return [
|
|
204
|
+
date.toLocaleDateString(locale, { weekday: 'long' }),
|
|
205
|
+
localeStrings.after || ' after the ',
|
|
206
|
+
((_k = day === null || day === void 0 ? void 0 : day.week) === null || _k === void 0 ? void 0 : _k.omit_the) ? '' : localeStrings.the,
|
|
207
|
+
(_l = day === null || day === void 0 ? void 0 : day.week) === null || _l === void 0 ? void 0 : _l.name
|
|
208
|
+
];
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
render() {
|
|
213
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
214
|
+
const image = (typeof ((_a = this.obj) === null || _a === void 0 ? void 0 : _a.color) !== 'string' && ((_c = (_b = this.obj) === null || _b === void 0 ? void 0 : _b.color) === null || _c === void 0 ? void 0 : _c.image)) || this.obj.image || ((_d = this.obj.holy_day_observed) === null || _d === void 0 ? void 0 : _d.image), imageUrl = (typeof ((_e = this.obj) === null || _e === void 0 ? void 0 : _e.color) !== 'string' && ((_g = (_f = this.obj) === null || _f === void 0 ? void 0 : _f.color) === null || _g === void 0 ? void 0 : _g.imageUrl)) || this.obj.imageURL || this.obj['imageUrl'];
|
|
215
|
+
return (h(Host, null, this.localeStrings && this.dayToNodes(this.obj, this.localeStrings), image && imageUrl && h("a", { href: imageUrl, target: "_system" }, h("img", { class: "icon", src: image })), image && !imageUrl && h("img", { class: "icon", src: image })));
|
|
216
|
+
}
|
|
217
|
+
get el() { return getElement(this); }
|
|
218
|
+
static get watchers() { return {
|
|
219
|
+
"day": ["dayChange"]
|
|
220
|
+
}; }
|
|
221
|
+
};
|
|
222
|
+
DayNameComponent.style = dayNameCss;
|
|
223
|
+
|
|
224
|
+
const EditableNode = ({ uidOrSlug, path, text, index, bodyText }) => h("ldf-editable-text", { class: { 'body-text': bodyText }, id: `${uidOrSlug}-heading-${index}`, text: text, path: `${path}/value/${index}`, short: true, inputType: "text" });
|
|
225
|
+
|
|
226
|
+
const date = "The Date of the Liturgy";
|
|
227
|
+
const day = "The Name of the Liturgical Day";
|
|
228
|
+
const EN$1 = {
|
|
229
|
+
date: date,
|
|
230
|
+
day: day
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
const headingCss = "ldf-heading,:host{font-family:var(--ldf-font-face)}ldf-heading ldf-string,:host ldf-string{display:block}ldf-heading ldf-label-bar.text,:host ldf-label-bar.text{margin-top:var(--ldf-heading-margin-top)}ldf-heading h1,:host h1{text-align:var(--ldf-title-text-align);font-weight:var(--ldf-title-font-weight);font-style:var(--ldf-title-font-style);font-variant:var(--ldf-title-font-variant);font-size:var(--ldf-title-font-size);text-transform:var(--ldf-title-text-transform)}ldf-heading h2,:host h2{text-align:var(--ldf-subtitle-text-align);font-weight:var(--ldf-subtitle-font-weight);font-style:var(--ldf-subtitle-font-style);font-variant:var(--ldf-subtitle-font-variant);font-size:var(--ldf-subtitle-font-size);text-transform:var(--ldf-subtitle-text-transform)}ldf-heading h3,:host h3{text-align:var(--ldf-h3-text-align);font-weight:var(--ldf-h3-font-weight);font-style:var(--ldf-h3-font-style);font-variant:var(--ldf-h3-font-variant);font-size:var(--ldf-h3-font-size);text-transform:var(--ldf-h3-text-transform)}ldf-heading h4,:host h4{text-align:var(--ldf-h4-text-align);font-weight:var(--ldf-h4-font-weight);font-style:var(--ldf-h4-font-style);font-variant:var(--ldf-h4-font-variant);font-size:var(--ldf-h4-font-size);text-transform:var(--ldf-h4-text-transform)}ldf-heading h5,:host h5{text-align:var(--ldf-h5-text-align);font-weight:var(--ldf-h5-font-weight);font-style:var(--ldf-h5-font-style);font-variant:var(--ldf-h5-font-variant);font-size:var(--ldf-h5-font-size);text-transform:var(--ldf-h5-text-transform)}ldf-heading .date,ldf-heading .holy-days,ldf-heading .holy-day,:host .date,:host .holy-days,:host .holy-day{font-size:var(--ldf-date-font-size);text-transform:var(--ldf-date-text-transform);text-align:var(--ldf-date-text-align);font-style:var(--ldf-date-font-style)}ldf-heading .holy-days,:host .holy-days{list-style-type:none;margin:0;padding:0;text-align:center}ldf-heading .holy-day,:host .holy-day{margin:var(--ldf-holy-day-margin);padding:0}.lookup{background-color:var(--ldf-editable-lookup-background-color);color:var(--ldf-editable-lookup-color);border-radius:4px;padding:1em;width:100%}::slotted[slot=citation]{text-align:right;width:100%}.citation{font-style:var(--ldf-heading-citation-font-style, italic);display:var(--ldf-heading-citation-display, block)}.source{width:100%}ldf-editable-text.body-text{display:block;padding-bottom:1em}";
|
|
234
|
+
|
|
235
|
+
const LOCALE$1 = {
|
|
236
|
+
'en': EN$1
|
|
237
|
+
};
|
|
238
|
+
const HeadingComponent = class {
|
|
239
|
+
constructor(hostRef) {
|
|
240
|
+
registerInstance(this, hostRef);
|
|
241
|
+
}
|
|
242
|
+
docChanged(newDoc) {
|
|
243
|
+
try {
|
|
244
|
+
if (typeof newDoc == 'string') {
|
|
245
|
+
this.obj = new Heading(JSON.parse(newDoc));
|
|
246
|
+
}
|
|
247
|
+
else {
|
|
248
|
+
this.obj = new Heading(newDoc);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
catch (e) {
|
|
252
|
+
console.warn('HEADING ERROR', e);
|
|
253
|
+
this.obj = new Heading();
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
// Lifecycle events
|
|
257
|
+
componentWillLoad() {
|
|
258
|
+
this.docChanged(this.doc);
|
|
259
|
+
this.loadLocaleStrings();
|
|
260
|
+
}
|
|
261
|
+
async loadLocaleStrings() {
|
|
262
|
+
try {
|
|
263
|
+
this.localeStrings = LOCALE$1[getComponentClosestLanguage(this.element)];
|
|
264
|
+
}
|
|
265
|
+
catch (e) {
|
|
266
|
+
console.warn(e);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
// Convert level/text into an H... node
|
|
270
|
+
headerNode(level, contentNode, display = true) {
|
|
271
|
+
let node;
|
|
272
|
+
switch (level) {
|
|
273
|
+
case 1:
|
|
274
|
+
node = h("h1", null, contentNode);
|
|
275
|
+
break;
|
|
276
|
+
case 2:
|
|
277
|
+
node = h("h2", null, contentNode);
|
|
278
|
+
break;
|
|
279
|
+
case 3:
|
|
280
|
+
node = h("h3", { slot: 'start' }, contentNode);
|
|
281
|
+
break;
|
|
282
|
+
case 4:
|
|
283
|
+
node = h("h4", { slot: 'start' }, contentNode);
|
|
284
|
+
break;
|
|
285
|
+
case 5:
|
|
286
|
+
node = h("h5", { slot: 'start' }, contentNode);
|
|
287
|
+
break;
|
|
288
|
+
default:
|
|
289
|
+
node = h("h6", null, contentNode);
|
|
290
|
+
}
|
|
291
|
+
return display && node;
|
|
292
|
+
}
|
|
293
|
+
textNode(text, index, bodyText) {
|
|
294
|
+
return this.editable
|
|
295
|
+
? h(EditableNode, { uidOrSlug: this.obj.uid || this.obj.slug || '', path: this.path, text: text, index: index, bodyText: Boolean(bodyText) })
|
|
296
|
+
: h("ldf-string", { text: text, fragment: this.path });
|
|
297
|
+
}
|
|
298
|
+
dateNode() {
|
|
299
|
+
var _a, _b, _c, _d, _e, _f;
|
|
300
|
+
const hasDate = !!((_b = (_a = this.obj) === null || _a === void 0 ? void 0 : _a.day) === null || _b === void 0 ? void 0 : _b.date);
|
|
301
|
+
if (hasDate) {
|
|
302
|
+
const date = dateFromYMDString((_d = (_c = this.obj) === null || _c === void 0 ? void 0 : _c.day) === null || _d === void 0 ? void 0 : _d.date), locale = ((_f = (_e = this.element) === null || _e === void 0 ? void 0 : _e.closest('[lang]')) === null || _f === void 0 ? void 0 : _f.lang) || 'en';
|
|
303
|
+
return h("div", { class: "date" }, date.toLocaleDateString(locale, { year: 'numeric', month: 'long', day: 'numeric' }));
|
|
304
|
+
}
|
|
305
|
+
else {
|
|
306
|
+
return [];
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
citationNode(c, slot = 'end') {
|
|
310
|
+
return (h("div", { class: 'citation', slot: slot }, this.editable ?
|
|
311
|
+
h("ldf-editable-text", { id: `${this.obj.uid || this.obj.slug}-citation`, text: c, path: `${this.path}/citation` }) :
|
|
312
|
+
c));
|
|
313
|
+
}
|
|
314
|
+
sourceNode(c) {
|
|
315
|
+
const text = new Citation(c).toString().replace('bcp1979', 'BCP');
|
|
316
|
+
return (h("div", { slot: 'end', class: 'source' }, this.editable ?
|
|
317
|
+
[
|
|
318
|
+
h("ldf-editable-text", { id: `${this.obj.uid || this.obj.slug}-source-source`, text: c === null || c === void 0 ? void 0 : c.source, path: `${this.path}/source/source` }),
|
|
319
|
+
h("ldf-editable-text", { id: `${this.obj.uid || this.obj.slug}-source-citation`, text: c === null || c === void 0 ? void 0 : c.citation, path: `${this.path}/source/citation` }),
|
|
320
|
+
] :
|
|
321
|
+
text));
|
|
322
|
+
}
|
|
323
|
+
// Render
|
|
324
|
+
render() {
|
|
325
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
|
|
326
|
+
const localeStrings = this.localeStrings || {};
|
|
327
|
+
const level = this.obj.metadata ? this.obj.metadata.level : 4, hasCitation = Boolean((_a = this.obj) === null || _a === void 0 ? void 0 : _a.citation), hasSource = Boolean((_b = this.obj) === null || _b === void 0 ? void 0 : _b.source), isDate = ((_c = this.obj) === null || _c === void 0 ? void 0 : _c.style) == 'date', isDay = ((_d = this.obj) === null || _d === void 0 ? void 0 : _d.style) == 'day', isText = ((_e = this.obj) === null || _e === void 0 ? void 0 : _e.style) == undefined || ((_f = this.obj) === null || _f === void 0 ? void 0 : _f.style) == 'text' || (!isDate && !isDay);
|
|
328
|
+
// Render
|
|
329
|
+
return (h(Host, { lang: ((_g = this.obj) === null || _g === void 0 ? void 0 : _g.language) || 'en' }, this.editable && h("ldf-label-bar", null, h("slot", { slot: 'end', name: 'controls' })), h("ldf-label-bar", { center: ((_j = (_h = this.obj) === null || _h === void 0 ? void 0 : _h.metadata) === null || _j === void 0 ? void 0 : _j.level) <= 2, class: {
|
|
330
|
+
'text': isText && (((_k = this === null || this === void 0 ? void 0 : this.obj) === null || _k === void 0 ? void 0 : _k.value) || []).filter(n => Boolean(n)).length > 0
|
|
331
|
+
} }, isText && ((_m = (_l = this.obj) === null || _l === void 0 ? void 0 : _l.value) === null || _m === void 0 ? void 0 : _m.length) > 0 && this.headerNode(level, this.textNode(this.obj.value[0], 0), true), isDate && !this.editable && this.dateNode(), isDate && this.editable && h("code", { class: "lookup" }, localeStrings.date), isDay && !this.editable && h("div", { class: "date" }, h("ldf-day-name", { day: (_o = this.obj) === null || _o === void 0 ? void 0 : _o.day })), isDay && !this.editable && ((_r = (_q = (_p = this.obj) === null || _p === void 0 ? void 0 : _p.day) === null || _q === void 0 ? void 0 : _q.holy_days) === null || _r === void 0 ? void 0 : _r.length) > 0 && h("ul", { class: "holy-days" }, (_t = (_s = this.obj) === null || _s === void 0 ? void 0 : _s.day) === null || _t === void 0 ? void 0 : _t.holy_days.filter(day => { var _a; return ((_a = day.type) === null || _a === void 0 ? void 0 : _a.rank) < 3; }).map(day => day.bio
|
|
332
|
+
? h("li", { class: "holy-day" }, h("details", null, h("summary", null, day.name), h("ldf-text", { doc: new Text({ type: "text", style: "text", value: day.bio }) })))
|
|
333
|
+
: h("li", { class: "holy-day" }, day.name))), isDay && this.editable && h("code", { class: "lookup" }, localeStrings.day), ((_v = (_u = this.obj) === null || _u === void 0 ? void 0 : _u.value) === null || _v === void 0 ? void 0 : _v.length) > 1 && this.textNode(this.obj.value[1], 1), h("slot", { name: 'additional' }), h("slot", { name: 'citation', slot: 'end' }, hasSource && this.sourceNode(this.obj.source), hasCitation && !hasSource && this.obj.citation !== this.obj.label && this.obj.citation !== this.obj.value[0] && this.citationNode(this.obj.citation))), h("div", null, hasSource && hasCitation && this.obj.citation !== this.obj.label && this.citationNode(this.obj.citation, 'none')), ((_x = (_w = this.obj) === null || _w === void 0 ? void 0 : _w.value) === null || _x === void 0 ? void 0 : _x.length) > 2 && this.obj.value.slice(2, this.obj.value.length).map((text, index) => this.textNode(text, index + 2, true))));
|
|
334
|
+
}
|
|
335
|
+
get element() { return getElement(this); }
|
|
336
|
+
static get watchers() { return {
|
|
337
|
+
"doc": ["docChanged"]
|
|
338
|
+
}; }
|
|
339
|
+
};
|
|
340
|
+
HeadingComponent.style = headingCss;
|
|
341
|
+
|
|
342
|
+
const labelBarCss = ".label-bar{display:flex;flex-direction:row;flex-wrap:wrap;align-items:baseline;max-width:100%}.label-bar.left{justify-content:flex-start}.label-bar.left slot{display:flex;flex-direction:row;margin-left:0}.label-bar.left slot:first-of-type{margin-left:0;flex-grow:2}.label-bar.left slot:nth-of-type(2){flex-grow:2}.label-bar.left slot:last-of-type{margin-left:auto;text-align:right}.label-bar.left ::slotted[slot=end]{text-align:right}.label-bar.center{justify-content:space-between}.label-bar.center slot{display:block}.label-bar.center slot:nth-child(1){text-align:center}";
|
|
343
|
+
|
|
344
|
+
const LabelBarComponent = class {
|
|
345
|
+
constructor(hostRef) {
|
|
346
|
+
registerInstance(this, hostRef);
|
|
347
|
+
this.center = false;
|
|
348
|
+
}
|
|
349
|
+
// Render
|
|
350
|
+
render() {
|
|
351
|
+
if (this.center) {
|
|
352
|
+
return (h("div", { class: 'label-bar center' }, h("slot", { name: 'start' }), h("slot", null), h("slot", { name: 'end' })));
|
|
353
|
+
}
|
|
354
|
+
else {
|
|
355
|
+
return (h("div", { class: 'label-bar left' }, h("slot", { name: 'start' }), h("slot", null), h("slot", { name: 'end' })));
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
};
|
|
359
|
+
LabelBarComponent.style = labelBarCss;
|
|
360
|
+
|
|
361
|
+
const stringCss = "span.sc-ldf-string{font-family:var(--ldf-font-face);font-weight:inherit;font-style:inherit}.tab.sc-ldf-string{display:inline;margin-left:var(--ldf-tab-width)}.half-tab.sc-ldf-string{display:inline;margin-left:var(--ldf-half-tab-width)}.sc.sc-ldf-string{font-variant:small-caps}.drop.sc-ldf-string{font-size:200%}.firstword.sc-ldf-string{font-variant:var(--ldf-drop-firstword-font-variant)}.drop.sc-ldf-string{float:var(--ldf-drop-float);font-family:var(--ldf-drop-font-family);font-size:var(--ldf-drop-font-size);margin-right:var(--ldf-drop-margin-right);margin-top:var(--ldf-drop-margin-top);line-height:var(--ldf-drop-line-height);color:var(--ldf-drop-color)}.buffered-drop.sc-ldf-string{margin-right:var(--ldf-buffered-drop-margin-right)}[dir=rtl].sc-ldf-string-h .drop.sc-ldf-string{float:right;font-family:\"Times New Roman\"}.drop-J.sc-ldf-string{margin-top:0;line-height:clamp(0.5em, calc(var(--ldf-drop-line-height) + 0.3em), 1em)}.selected.sc-ldf-string{background-color:var(--ldf-selected-background)}.liked.sc-ldf-string{background-color:var(--ldf-liked-background)}";
|
|
362
|
+
|
|
363
|
+
const StringComponent = class {
|
|
364
|
+
constructor(hostRef) {
|
|
365
|
+
registerInstance(this, hostRef);
|
|
366
|
+
this.ldfStringClicked = createEvent(this, "ldfStringClicked", 7);
|
|
367
|
+
/**
|
|
368
|
+
* Enable, disable, or force dropcap on the first letter of the text.
|
|
369
|
+
*/
|
|
370
|
+
this.dropcap = 'enabled';
|
|
371
|
+
/**
|
|
372
|
+
* Minimum length (in characters) a string must be to have a dropcap.
|
|
373
|
+
*/
|
|
374
|
+
this.dropcapMinLength = 200;
|
|
375
|
+
/**
|
|
376
|
+
* Enable or disable replacement of tetragrammaton.
|
|
377
|
+
*/
|
|
378
|
+
this.replaceTetragrammaton = true;
|
|
379
|
+
}
|
|
380
|
+
textChanged() {
|
|
381
|
+
this.processString();
|
|
382
|
+
}
|
|
383
|
+
// Private methods
|
|
384
|
+
processString() {
|
|
385
|
+
const withoutEntities = this.processEntities(this.text);
|
|
386
|
+
let processed = this.processMarkup(withoutEntities);
|
|
387
|
+
if (this.replaceTetragrammaton) {
|
|
388
|
+
processed = processed.map(node => typeof node === 'string' ? this.processTetragrammaton(node) : node).flat();
|
|
389
|
+
}
|
|
390
|
+
if (this.dropcap == 'force' || (this.dropcap == 'enabled' && (this.index == 0 || !this.index) && this.text && this.text.length > this.dropcapMinLength)) {
|
|
391
|
+
processed = this.processDropcap(processed);
|
|
392
|
+
}
|
|
393
|
+
this.processedString = processed;
|
|
394
|
+
}
|
|
395
|
+
processEntities(str) {
|
|
396
|
+
try {
|
|
397
|
+
const e = document.createElement('textarea');
|
|
398
|
+
e.innerHTML = str;
|
|
399
|
+
// handle case of empty input
|
|
400
|
+
return e.childNodes.length === 0 ? "" : e.childNodes[0].nodeValue;
|
|
401
|
+
}
|
|
402
|
+
catch (e) {
|
|
403
|
+
console.warn(`(processEntities) error while processing "${str}": `, e);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
processMarkup(s) {
|
|
407
|
+
const nodes = s
|
|
408
|
+
.replace(/^([A-Z]{2,})/, (match) => this.maintainCasing(match) ? match : match[0] + match.slice(1).toLowerCase())
|
|
409
|
+
.replace(/([A-Z]{2,})/g, '^$1^') // all caps => ^...^; don't match if first word, as these should become dropcaps
|
|
410
|
+
.replace(/\[\*/g, '__BRACKET_ASTERISK')
|
|
411
|
+
.split(/([\*\^\%][^\*\^\%]*[\*\^\%])/g) // markdown ** => italics
|
|
412
|
+
.map(node => {
|
|
413
|
+
if (node == '-') {
|
|
414
|
+
return '';
|
|
415
|
+
}
|
|
416
|
+
else if ((node.startsWith('*') && node.endsWith('*')) || node.startsWith('%') && node.endsWith('%')) {
|
|
417
|
+
return h("em", null, node.slice(1, node.length - 1));
|
|
418
|
+
}
|
|
419
|
+
else if (node.startsWith('^') && node.endsWith('^')) {
|
|
420
|
+
if (this.maintainCasing(node)) {
|
|
421
|
+
return node.replace(/\^/g, '');
|
|
422
|
+
}
|
|
423
|
+
else {
|
|
424
|
+
return h("span", { class: "sc" }, node[1], node.slice(2, node.length - 1).toLowerCase());
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
else {
|
|
428
|
+
return node.replace(/__BRACKET_ASTERISK/g, '[*');
|
|
429
|
+
}
|
|
430
|
+
});
|
|
431
|
+
return nodes;
|
|
432
|
+
}
|
|
433
|
+
processTetragrammaton(s) {
|
|
434
|
+
if (s) {
|
|
435
|
+
const replacements = {
|
|
436
|
+
'\n': () => h("br", null),
|
|
437
|
+
'’S': () => '’s',
|
|
438
|
+
'\'S': () => '’s',
|
|
439
|
+
'LORD’S': () => 'LORD’s',
|
|
440
|
+
"LORD'S": () => 'LORD’s',
|
|
441
|
+
'LORD': () => h("span", { class: "sc" }, "Lord"),
|
|
442
|
+
'Lord GOD': () => h("span", null, "Lord ", h("span", { class: "sc" }, "God")),
|
|
443
|
+
'GOD': () => h("span", { class: "sc" }, "God"),
|
|
444
|
+
'YHWH': () => h("span", { class: "sc" }, "Yhwh"),
|
|
445
|
+
'Yhwh': () => h("span", { class: "sc" }, "Yhwh"),
|
|
446
|
+
'YAHWEH': () => h("span", { class: "sc" }, "Yhwh"),
|
|
447
|
+
'Yahweh': () => h("span", { class: "sc" }, "Yhwh"),
|
|
448
|
+
'\t': () => h("span", { class: 'tab' }, "\u00A0"),
|
|
449
|
+
' ': () => h("span", { class: 'half-tab' }, "\u00A0")
|
|
450
|
+
};
|
|
451
|
+
const split = s.split(/(( )|\n|LORD[\'’]S|[\'’]S|LORD|Lord GOD|GOD|YHWH|YAHWEH|Yhwh|Yahweh|\t)/g);
|
|
452
|
+
return split.map(phrase => replacements.hasOwnProperty(phrase) ? replacements[phrase]() : phrase);
|
|
453
|
+
}
|
|
454
|
+
else {
|
|
455
|
+
return new Array();
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
maintainCasing(st) {
|
|
459
|
+
if (!st) {
|
|
460
|
+
return true;
|
|
461
|
+
}
|
|
462
|
+
else {
|
|
463
|
+
const s = st.replace(/\^/g, '');
|
|
464
|
+
// don't lower-case if only the first letter is capitalized but others aren't (e.g., God, Lord)
|
|
465
|
+
return !(s.split("").map(char => char >= 'A' && char <= 'Z').reduce((a, b) => a && b, true))
|
|
466
|
+
// or if it's a Roman numeral
|
|
467
|
+
|| Boolean(((s === null || s === void 0 ? void 0 : s.match(/^I+$/)) || [])[0]) || ['IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X'].includes(s)
|
|
468
|
+
// or if it's the word "I"
|
|
469
|
+
|| (s === null || s === void 0 ? void 0 : s.toLowerCase()) == 'i ';
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
processDropcap(processed) {
|
|
473
|
+
var _a;
|
|
474
|
+
const first = processed[0], firstChunk = typeof first === 'string' ? first : '';
|
|
475
|
+
let final = processed;
|
|
476
|
+
if (firstChunk) {
|
|
477
|
+
const splitTest = (firstChunk || '').split(/[\s.!?\\]/);
|
|
478
|
+
const firstWord = splitTest ? splitTest[0] : '', re = firstWord.length > 2
|
|
479
|
+
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\w\u0590-\u05ff\u0370-\u03ff])([\w\u0590-\u05ff\u0370-\u03ff\,]*)/
|
|
480
|
+
: /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\w\u0590-\u05ff\u0370-\u03ff])([\w\u0590-\u05ff\u0370-\u03ff\,]*[\s.!?]*[\w\u0590-\u05ff\u0370-\u03ff]*)/, reIncludingPunctuation = ((_a = firstWord[0]) === null || _a === void 0 ? void 0 : _a.match(/[\"\'“”‘’\!\?\[\]\(\)]/))
|
|
481
|
+
? /^ ?([\"\'“”‘’\!\?\[\]\(\)\,\w\u0590-\u05ff\u0370-\u03ff]{2})\s*([\w\u0590-\u05ff\u0370-\u03ff]*)/
|
|
482
|
+
: re, buffer = firstWord.length == 1, split = firstChunk.split(reIncludingPunctuation).filter(s => s !== ''), [match1, match2, nextWord] = split;
|
|
483
|
+
final = new Array(h("span", { class: 'firstword' }, h("span", { class: buffer ? `drop buffered-drop drop-${match1}` : `drop drop-${match1}` }, match1), this.maintainCasing(match2) ? match2 : match2 === null || match2 === void 0 ? void 0 : match2.toLowerCase()))
|
|
484
|
+
.concat(nextWord)
|
|
485
|
+
.concat(processed.slice(1));
|
|
486
|
+
}
|
|
487
|
+
return final;
|
|
488
|
+
}
|
|
489
|
+
// Lifecycle events
|
|
490
|
+
componentWillLoad() {
|
|
491
|
+
this.processString();
|
|
492
|
+
}
|
|
493
|
+
// Render
|
|
494
|
+
render() {
|
|
495
|
+
return this.text && h("span", { onClick: () => this.ldfStringClicked.emit({ target: this.element, text: this.text, citation: this.citation, fragment: this.fragment }) }, this.processedString);
|
|
496
|
+
}
|
|
497
|
+
get element() { return getElement(this); }
|
|
498
|
+
static get watchers() { return {
|
|
499
|
+
"text": ["textChanged"]
|
|
500
|
+
}; }
|
|
501
|
+
};
|
|
502
|
+
StringComponent.style = stringCss;
|
|
503
|
+
|
|
20
504
|
var showdown = createCommonjsModule(function (module) {
|
|
21
|
-
;/*! showdown v 1.9.1 - 02-11-2019 */
|
|
22
505
|
(function(){
|
|
23
506
|
/**
|
|
24
507
|
* Created by Tivie on 13-07-2015.
|
|
25
508
|
*/
|
|
26
509
|
|
|
27
510
|
function getDefaultOpts (simple) {
|
|
28
|
-
'use strict';
|
|
29
511
|
|
|
30
512
|
var defaultOptions = {
|
|
31
513
|
omitExtraWLInCodeBlocks: {
|
|
@@ -202,7 +684,6 @@ function getDefaultOpts (simple) {
|
|
|
202
684
|
}
|
|
203
685
|
|
|
204
686
|
function allOptionsOn () {
|
|
205
|
-
'use strict';
|
|
206
687
|
var options = getDefaultOpts(true),
|
|
207
688
|
ret = {};
|
|
208
689
|
for (var opt in options) {
|
|
@@ -288,7 +769,6 @@ showdown.extensions = {};
|
|
|
288
769
|
* @returns {showdown}
|
|
289
770
|
*/
|
|
290
771
|
showdown.setOption = function (key, value) {
|
|
291
|
-
'use strict';
|
|
292
772
|
globalOptions[key] = value;
|
|
293
773
|
return this;
|
|
294
774
|
};
|
|
@@ -300,7 +780,6 @@ showdown.setOption = function (key, value) {
|
|
|
300
780
|
* @returns {*}
|
|
301
781
|
*/
|
|
302
782
|
showdown.getOption = function (key) {
|
|
303
|
-
'use strict';
|
|
304
783
|
return globalOptions[key];
|
|
305
784
|
};
|
|
306
785
|
|
|
@@ -310,7 +789,6 @@ showdown.getOption = function (key) {
|
|
|
310
789
|
* @returns {{}}
|
|
311
790
|
*/
|
|
312
791
|
showdown.getOptions = function () {
|
|
313
|
-
'use strict';
|
|
314
792
|
return globalOptions;
|
|
315
793
|
};
|
|
316
794
|
|
|
@@ -319,7 +797,6 @@ showdown.getOptions = function () {
|
|
|
319
797
|
* @static
|
|
320
798
|
*/
|
|
321
799
|
showdown.resetOptions = function () {
|
|
322
|
-
'use strict';
|
|
323
800
|
globalOptions = getDefaultOpts(true);
|
|
324
801
|
};
|
|
325
802
|
|
|
@@ -328,7 +805,6 @@ showdown.resetOptions = function () {
|
|
|
328
805
|
* @param {string} name
|
|
329
806
|
*/
|
|
330
807
|
showdown.setFlavor = function (name) {
|
|
331
|
-
'use strict';
|
|
332
808
|
if (!flavor.hasOwnProperty(name)) {
|
|
333
809
|
throw Error(name + ' flavor was not found');
|
|
334
810
|
}
|
|
@@ -347,7 +823,6 @@ showdown.setFlavor = function (name) {
|
|
|
347
823
|
* @returns {string}
|
|
348
824
|
*/
|
|
349
825
|
showdown.getFlavor = function () {
|
|
350
|
-
'use strict';
|
|
351
826
|
return setFlavor;
|
|
352
827
|
};
|
|
353
828
|
|
|
@@ -357,7 +832,6 @@ showdown.getFlavor = function () {
|
|
|
357
832
|
* @returns {{}|undefined}
|
|
358
833
|
*/
|
|
359
834
|
showdown.getFlavorOptions = function (name) {
|
|
360
|
-
'use strict';
|
|
361
835
|
if (flavor.hasOwnProperty(name)) {
|
|
362
836
|
return flavor[name];
|
|
363
837
|
}
|
|
@@ -370,7 +844,6 @@ showdown.getFlavorOptions = function (name) {
|
|
|
370
844
|
* @returns {{}}
|
|
371
845
|
*/
|
|
372
846
|
showdown.getDefaultOptions = function (simple) {
|
|
373
|
-
'use strict';
|
|
374
847
|
return getDefaultOpts(simple);
|
|
375
848
|
};
|
|
376
849
|
|
|
@@ -385,7 +858,6 @@ showdown.getDefaultOptions = function (simple) {
|
|
|
385
858
|
* @returns {*}
|
|
386
859
|
*/
|
|
387
860
|
showdown.subParser = function (name, func) {
|
|
388
|
-
'use strict';
|
|
389
861
|
if (showdown.helper.isString(name)) {
|
|
390
862
|
if (typeof func !== 'undefined') {
|
|
391
863
|
parsers[name] = func;
|
|
@@ -407,7 +879,6 @@ showdown.subParser = function (name, func) {
|
|
|
407
879
|
* @returns {*}
|
|
408
880
|
*/
|
|
409
881
|
showdown.extension = function (name, ext) {
|
|
410
|
-
'use strict';
|
|
411
882
|
|
|
412
883
|
if (!showdown.helper.isString(name)) {
|
|
413
884
|
throw Error('Extension \'name\' must be a string');
|
|
@@ -449,7 +920,6 @@ showdown.extension = function (name, ext) {
|
|
|
449
920
|
* @returns {{}}
|
|
450
921
|
*/
|
|
451
922
|
showdown.getAllExtensions = function () {
|
|
452
|
-
'use strict';
|
|
453
923
|
return extensions;
|
|
454
924
|
};
|
|
455
925
|
|
|
@@ -458,7 +928,6 @@ showdown.getAllExtensions = function () {
|
|
|
458
928
|
* @param {string} name
|
|
459
929
|
*/
|
|
460
930
|
showdown.removeExtension = function (name) {
|
|
461
|
-
'use strict';
|
|
462
931
|
delete extensions[name];
|
|
463
932
|
};
|
|
464
933
|
|
|
@@ -466,7 +935,6 @@ showdown.removeExtension = function (name) {
|
|
|
466
935
|
* Removes all extensions
|
|
467
936
|
*/
|
|
468
937
|
showdown.resetExtensions = function () {
|
|
469
|
-
'use strict';
|
|
470
938
|
extensions = {};
|
|
471
939
|
};
|
|
472
940
|
|
|
@@ -477,7 +945,6 @@ showdown.resetExtensions = function () {
|
|
|
477
945
|
* @returns {{valid: boolean, error: string}}
|
|
478
946
|
*/
|
|
479
947
|
function validate (extension, name) {
|
|
480
|
-
'use strict';
|
|
481
948
|
|
|
482
949
|
var errMsg = (name) ? 'Error in ' + name + ' extension->' : 'Error in unnamed extension',
|
|
483
950
|
ret = {
|
|
@@ -584,7 +1051,6 @@ function validate (extension, name) {
|
|
|
584
1051
|
* @returns {boolean}
|
|
585
1052
|
*/
|
|
586
1053
|
showdown.validateExtension = function (ext) {
|
|
587
|
-
'use strict';
|
|
588
1054
|
|
|
589
1055
|
var validateExtension = validate(ext, null);
|
|
590
1056
|
if (!validateExtension.valid) {
|
|
@@ -609,7 +1075,6 @@ if (!showdown.hasOwnProperty('helper')) {
|
|
|
609
1075
|
* @returns {boolean}
|
|
610
1076
|
*/
|
|
611
1077
|
showdown.helper.isString = function (a) {
|
|
612
|
-
'use strict';
|
|
613
1078
|
return (typeof a === 'string' || a instanceof String);
|
|
614
1079
|
};
|
|
615
1080
|
|
|
@@ -620,7 +1085,6 @@ showdown.helper.isString = function (a) {
|
|
|
620
1085
|
* @returns {boolean}
|
|
621
1086
|
*/
|
|
622
1087
|
showdown.helper.isFunction = function (a) {
|
|
623
|
-
'use strict';
|
|
624
1088
|
var getType = {};
|
|
625
1089
|
return a && getType.toString.call(a) === '[object Function]';
|
|
626
1090
|
};
|
|
@@ -632,7 +1096,6 @@ showdown.helper.isFunction = function (a) {
|
|
|
632
1096
|
* @returns {boolean}
|
|
633
1097
|
*/
|
|
634
1098
|
showdown.helper.isArray = function (a) {
|
|
635
|
-
'use strict';
|
|
636
1099
|
return Array.isArray(a);
|
|
637
1100
|
};
|
|
638
1101
|
|
|
@@ -643,7 +1106,6 @@ showdown.helper.isArray = function (a) {
|
|
|
643
1106
|
* @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
|
|
644
1107
|
*/
|
|
645
1108
|
showdown.helper.isUndefined = function (value) {
|
|
646
|
-
'use strict';
|
|
647
1109
|
return typeof value === 'undefined';
|
|
648
1110
|
};
|
|
649
1111
|
|
|
@@ -655,7 +1117,6 @@ showdown.helper.isUndefined = function (value) {
|
|
|
655
1117
|
* @param {function} callback Accepts 3 params: 1. value, 2. key, 3. the original array/object
|
|
656
1118
|
*/
|
|
657
1119
|
showdown.helper.forEach = function (obj, callback) {
|
|
658
|
-
'use strict';
|
|
659
1120
|
// check if obj is defined
|
|
660
1121
|
if (showdown.helper.isUndefined(obj)) {
|
|
661
1122
|
throw new Error('obj param is required');
|
|
@@ -693,12 +1154,10 @@ showdown.helper.forEach = function (obj, callback) {
|
|
|
693
1154
|
* @returns {string}
|
|
694
1155
|
*/
|
|
695
1156
|
showdown.helper.stdExtName = function (s) {
|
|
696
|
-
'use strict';
|
|
697
1157
|
return s.replace(/[_?*+\/\\.^-]/g, '').replace(/\s/g, '').toLowerCase();
|
|
698
1158
|
};
|
|
699
1159
|
|
|
700
1160
|
function escapeCharactersCallback (wholeMatch, m1) {
|
|
701
|
-
'use strict';
|
|
702
1161
|
var charCodeToEscape = m1.charCodeAt(0);
|
|
703
1162
|
return '¨E' + charCodeToEscape + 'E';
|
|
704
1163
|
}
|
|
@@ -721,7 +1180,6 @@ showdown.helper.escapeCharactersCallback = escapeCharactersCallback;
|
|
|
721
1180
|
* @returns {XML|string|void|*}
|
|
722
1181
|
*/
|
|
723
1182
|
showdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash) {
|
|
724
|
-
'use strict';
|
|
725
1183
|
// First we have to escape the escape characters so that
|
|
726
1184
|
// we can build a character class out of them
|
|
727
1185
|
var regexString = '([' + charsToEscape.replace(/([\[\]\\])/g, '\\$1') + '])';
|
|
@@ -742,7 +1200,6 @@ showdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash
|
|
|
742
1200
|
* @returns {string}
|
|
743
1201
|
*/
|
|
744
1202
|
showdown.helper.unescapeHTMLEntities = function (txt) {
|
|
745
|
-
'use strict';
|
|
746
1203
|
|
|
747
1204
|
return txt
|
|
748
1205
|
.replace(/"/g, '"')
|
|
@@ -752,7 +1209,6 @@ showdown.helper.unescapeHTMLEntities = function (txt) {
|
|
|
752
1209
|
};
|
|
753
1210
|
|
|
754
1211
|
var rgxFindMatchPos = function (str, left, right, flags) {
|
|
755
|
-
'use strict';
|
|
756
1212
|
var f = flags || '',
|
|
757
1213
|
g = f.indexOf('g') > -1,
|
|
758
1214
|
x = new RegExp(left + '|' + right, 'g' + f.replace(/g/g, '')),
|
|
@@ -819,7 +1275,6 @@ var rgxFindMatchPos = function (str, left, right, flags) {
|
|
|
819
1275
|
* returns: ["test"]
|
|
820
1276
|
*/
|
|
821
1277
|
showdown.helper.matchRecursiveRegExp = function (str, left, right, flags) {
|
|
822
|
-
'use strict';
|
|
823
1278
|
|
|
824
1279
|
var matchPos = rgxFindMatchPos (str, left, right, flags),
|
|
825
1280
|
results = [];
|
|
@@ -845,7 +1300,6 @@ showdown.helper.matchRecursiveRegExp = function (str, left, right, flags) {
|
|
|
845
1300
|
* @returns {string}
|
|
846
1301
|
*/
|
|
847
1302
|
showdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right, flags) {
|
|
848
|
-
'use strict';
|
|
849
1303
|
|
|
850
1304
|
if (!showdown.helper.isFunction(replacement)) {
|
|
851
1305
|
var repStr = replacement;
|
|
@@ -895,7 +1349,6 @@ showdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right
|
|
|
895
1349
|
* @throws InvalidArgumentError
|
|
896
1350
|
*/
|
|
897
1351
|
showdown.helper.regexIndexOf = function (str, regex, fromIndex) {
|
|
898
|
-
'use strict';
|
|
899
1352
|
if (!showdown.helper.isString(str)) {
|
|
900
1353
|
throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';
|
|
901
1354
|
}
|
|
@@ -914,7 +1367,6 @@ showdown.helper.regexIndexOf = function (str, regex, fromIndex) {
|
|
|
914
1367
|
* @throws InvalidArgumentError
|
|
915
1368
|
*/
|
|
916
1369
|
showdown.helper.splitAtIndex = function (str, index) {
|
|
917
|
-
'use strict';
|
|
918
1370
|
if (!showdown.helper.isString(str)) {
|
|
919
1371
|
throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';
|
|
920
1372
|
}
|
|
@@ -931,7 +1383,6 @@ showdown.helper.splitAtIndex = function (str, index) {
|
|
|
931
1383
|
* @returns {string}
|
|
932
1384
|
*/
|
|
933
1385
|
showdown.helper.encodeEmailAddress = function (mail) {
|
|
934
|
-
'use strict';
|
|
935
1386
|
var encode = [
|
|
936
1387
|
function (ch) {
|
|
937
1388
|
return '&#' + ch.charCodeAt(0) + ';';
|
|
@@ -969,7 +1420,6 @@ showdown.helper.encodeEmailAddress = function (mail) {
|
|
|
969
1420
|
* @returns {string}
|
|
970
1421
|
*/
|
|
971
1422
|
showdown.helper.padEnd = function padEnd (str, targetLength, padString) {
|
|
972
|
-
'use strict';
|
|
973
1423
|
/*jshint bitwise: false*/
|
|
974
1424
|
// eslint-disable-next-line space-infix-ops
|
|
975
1425
|
targetLength = targetLength>>0; //floor if number or convert non-number to 0;
|
|
@@ -993,15 +1443,12 @@ showdown.helper.padEnd = function padEnd (str, targetLength, padString) {
|
|
|
993
1443
|
if (typeof console === 'undefined') {
|
|
994
1444
|
console = {
|
|
995
1445
|
warn: function (msg) {
|
|
996
|
-
'use strict';
|
|
997
1446
|
alert(msg);
|
|
998
1447
|
},
|
|
999
1448
|
log: function (msg) {
|
|
1000
|
-
'use strict';
|
|
1001
1449
|
alert(msg);
|
|
1002
1450
|
},
|
|
1003
1451
|
error: function (msg) {
|
|
1004
|
-
'use strict';
|
|
1005
1452
|
throw msg;
|
|
1006
1453
|
}
|
|
1007
1454
|
};
|
|
@@ -2209,7 +2656,6 @@ showdown.helper.emojis = {
|
|
|
2209
2656
|
* @returns {Converter}
|
|
2210
2657
|
*/
|
|
2211
2658
|
showdown.Converter = function (converterOptions) {
|
|
2212
|
-
'use strict';
|
|
2213
2659
|
|
|
2214
2660
|
var
|
|
2215
2661
|
/**
|
|
@@ -2805,7 +3251,6 @@ showdown.Converter = function (converterOptions) {
|
|
|
2805
3251
|
* Turn Markdown link shortcuts into XHTML <a> tags.
|
|
2806
3252
|
*/
|
|
2807
3253
|
showdown.subParser('anchors', function (text, options, globals) {
|
|
2808
|
-
'use strict';
|
|
2809
3254
|
|
|
2810
3255
|
text = globals.converter._dispatch('anchors.before', text, options, globals);
|
|
2811
3256
|
|
|
@@ -2909,7 +3354,6 @@ var simpleURLRegex = /([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'
|
|
|
2909
3354
|
delimMailRegex = /<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,
|
|
2910
3355
|
|
|
2911
3356
|
replaceLink = function (options) {
|
|
2912
|
-
'use strict';
|
|
2913
3357
|
return function (wm, leadingMagicChars, link, m2, m3, trailingPunctuation, trailingMagicChars) {
|
|
2914
3358
|
link = link.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);
|
|
2915
3359
|
var lnkTxt = link,
|
|
@@ -2931,7 +3375,6 @@ var simpleURLRegex = /([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'
|
|
|
2931
3375
|
},
|
|
2932
3376
|
|
|
2933
3377
|
replaceMail = function (options, globals) {
|
|
2934
|
-
'use strict';
|
|
2935
3378
|
return function (wholeMatch, b, mail) {
|
|
2936
3379
|
var href = 'mailto:';
|
|
2937
3380
|
b = b || '';
|
|
@@ -2947,7 +3390,6 @@ var simpleURLRegex = /([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'
|
|
|
2947
3390
|
};
|
|
2948
3391
|
|
|
2949
3392
|
showdown.subParser('autoLinks', function (text, options, globals) {
|
|
2950
|
-
'use strict';
|
|
2951
3393
|
|
|
2952
3394
|
text = globals.converter._dispatch('autoLinks.before', text, options, globals);
|
|
2953
3395
|
|
|
@@ -2960,7 +3402,6 @@ showdown.subParser('autoLinks', function (text, options, globals) {
|
|
|
2960
3402
|
});
|
|
2961
3403
|
|
|
2962
3404
|
showdown.subParser('simplifiedAutoLinks', function (text, options, globals) {
|
|
2963
|
-
'use strict';
|
|
2964
3405
|
|
|
2965
3406
|
if (!options.simplifiedAutoLink) {
|
|
2966
3407
|
return text;
|
|
@@ -2985,7 +3426,6 @@ showdown.subParser('simplifiedAutoLinks', function (text, options, globals) {
|
|
|
2985
3426
|
* tags like paragraphs, headers, and list items.
|
|
2986
3427
|
*/
|
|
2987
3428
|
showdown.subParser('blockGamut', function (text, options, globals) {
|
|
2988
|
-
'use strict';
|
|
2989
3429
|
|
|
2990
3430
|
text = globals.converter._dispatch('blockGamut.before', text, options, globals);
|
|
2991
3431
|
|
|
@@ -3014,7 +3454,6 @@ showdown.subParser('blockGamut', function (text, options, globals) {
|
|
|
3014
3454
|
});
|
|
3015
3455
|
|
|
3016
3456
|
showdown.subParser('blockQuotes', function (text, options, globals) {
|
|
3017
|
-
'use strict';
|
|
3018
3457
|
|
|
3019
3458
|
text = globals.converter._dispatch('blockQuotes.before', text, options, globals);
|
|
3020
3459
|
|
|
@@ -3060,7 +3499,6 @@ showdown.subParser('blockQuotes', function (text, options, globals) {
|
|
|
3060
3499
|
* Process Markdown `<pre><code>` blocks.
|
|
3061
3500
|
*/
|
|
3062
3501
|
showdown.subParser('codeBlocks', function (text, options, globals) {
|
|
3063
|
-
'use strict';
|
|
3064
3502
|
|
|
3065
3503
|
text = globals.converter._dispatch('codeBlocks.before', text, options, globals);
|
|
3066
3504
|
|
|
@@ -3121,7 +3559,6 @@ showdown.subParser('codeBlocks', function (text, options, globals) {
|
|
|
3121
3559
|
* ... type <code>`bar`</code> ...
|
|
3122
3560
|
*/
|
|
3123
3561
|
showdown.subParser('codeSpans', function (text, options, globals) {
|
|
3124
|
-
'use strict';
|
|
3125
3562
|
|
|
3126
3563
|
text = globals.converter._dispatch('codeSpans.before', text, options, globals);
|
|
3127
3564
|
|
|
@@ -3148,7 +3585,6 @@ showdown.subParser('codeSpans', function (text, options, globals) {
|
|
|
3148
3585
|
* Create a full HTML document from the processed markdown
|
|
3149
3586
|
*/
|
|
3150
3587
|
showdown.subParser('completeHTMLDocument', function (text, options, globals) {
|
|
3151
|
-
'use strict';
|
|
3152
3588
|
|
|
3153
3589
|
if (!options.completeHTMLDocument) {
|
|
3154
3590
|
return text;
|
|
@@ -3211,7 +3647,6 @@ showdown.subParser('completeHTMLDocument', function (text, options, globals) {
|
|
|
3211
3647
|
* Convert all tabs to spaces
|
|
3212
3648
|
*/
|
|
3213
3649
|
showdown.subParser('detab', function (text, options, globals) {
|
|
3214
|
-
'use strict';
|
|
3215
3650
|
text = globals.converter._dispatch('detab.before', text, options, globals);
|
|
3216
3651
|
|
|
3217
3652
|
// expand first n-1 tabs
|
|
@@ -3242,7 +3677,6 @@ showdown.subParser('detab', function (text, options, globals) {
|
|
|
3242
3677
|
});
|
|
3243
3678
|
|
|
3244
3679
|
showdown.subParser('ellipsis', function (text, options, globals) {
|
|
3245
|
-
'use strict';
|
|
3246
3680
|
|
|
3247
3681
|
text = globals.converter._dispatch('ellipsis.before', text, options, globals);
|
|
3248
3682
|
|
|
@@ -3259,7 +3693,6 @@ showdown.subParser('ellipsis', function (text, options, globals) {
|
|
|
3259
3693
|
* List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis
|
|
3260
3694
|
*/
|
|
3261
3695
|
showdown.subParser('emoji', function (text, options, globals) {
|
|
3262
|
-
'use strict';
|
|
3263
3696
|
|
|
3264
3697
|
if (!options.emoji) {
|
|
3265
3698
|
return text;
|
|
@@ -3285,7 +3718,6 @@ showdown.subParser('emoji', function (text, options, globals) {
|
|
|
3285
3718
|
* Smart processing for ampersands and angle brackets that need to be encoded.
|
|
3286
3719
|
*/
|
|
3287
3720
|
showdown.subParser('encodeAmpsAndAngles', function (text, options, globals) {
|
|
3288
|
-
'use strict';
|
|
3289
3721
|
text = globals.converter._dispatch('encodeAmpsAndAngles.before', text, options, globals);
|
|
3290
3722
|
|
|
3291
3723
|
// Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin:
|
|
@@ -3317,7 +3749,6 @@ showdown.subParser('encodeAmpsAndAngles', function (text, options, globals) {
|
|
|
3317
3749
|
* as an optimization for Firefox. This function gets called a LOT.
|
|
3318
3750
|
*/
|
|
3319
3751
|
showdown.subParser('encodeBackslashEscapes', function (text, options, globals) {
|
|
3320
|
-
'use strict';
|
|
3321
3752
|
text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals);
|
|
3322
3753
|
|
|
3323
3754
|
text = text.replace(/\\(\\)/g, showdown.helper.escapeCharactersCallback);
|
|
@@ -3333,7 +3764,6 @@ showdown.subParser('encodeBackslashEscapes', function (text, options, globals) {
|
|
|
3333
3764
|
* and lose their special Markdown meanings.
|
|
3334
3765
|
*/
|
|
3335
3766
|
showdown.subParser('encodeCode', function (text, options, globals) {
|
|
3336
|
-
'use strict';
|
|
3337
3767
|
|
|
3338
3768
|
text = globals.converter._dispatch('encodeCode.before', text, options, globals);
|
|
3339
3769
|
|
|
@@ -3356,7 +3786,6 @@ showdown.subParser('encodeCode', function (text, options, globals) {
|
|
|
3356
3786
|
* don't conflict with their use in Markdown for code, italics and strong.
|
|
3357
3787
|
*/
|
|
3358
3788
|
showdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, options, globals) {
|
|
3359
|
-
'use strict';
|
|
3360
3789
|
text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before', text, options, globals);
|
|
3361
3790
|
|
|
3362
3791
|
// Build a regex to find HTML tags.
|
|
@@ -3389,7 +3818,6 @@ showdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, opti
|
|
|
3389
3818
|
* ```
|
|
3390
3819
|
*/
|
|
3391
3820
|
showdown.subParser('githubCodeBlocks', function (text, options, globals) {
|
|
3392
|
-
'use strict';
|
|
3393
3821
|
|
|
3394
3822
|
// early exit if option is not enabled
|
|
3395
3823
|
if (!options.ghCodeBlocks) {
|
|
@@ -3426,7 +3854,6 @@ showdown.subParser('githubCodeBlocks', function (text, options, globals) {
|
|
|
3426
3854
|
});
|
|
3427
3855
|
|
|
3428
3856
|
showdown.subParser('hashBlock', function (text, options, globals) {
|
|
3429
|
-
'use strict';
|
|
3430
3857
|
text = globals.converter._dispatch('hashBlock.before', text, options, globals);
|
|
3431
3858
|
text = text.replace(/(^\n+|\n+$)/g, '');
|
|
3432
3859
|
text = '\n\n¨K' + (globals.gHtmlBlocks.push(text) - 1) + 'K\n\n';
|
|
@@ -3438,7 +3865,6 @@ showdown.subParser('hashBlock', function (text, options, globals) {
|
|
|
3438
3865
|
* Hash and escape <code> elements that should not be parsed as markdown
|
|
3439
3866
|
*/
|
|
3440
3867
|
showdown.subParser('hashCodeTags', function (text, options, globals) {
|
|
3441
|
-
'use strict';
|
|
3442
3868
|
text = globals.converter._dispatch('hashCodeTags.before', text, options, globals);
|
|
3443
3869
|
|
|
3444
3870
|
var repFunc = function (wholeMatch, match, left, right) {
|
|
@@ -3454,7 +3880,6 @@ showdown.subParser('hashCodeTags', function (text, options, globals) {
|
|
|
3454
3880
|
});
|
|
3455
3881
|
|
|
3456
3882
|
showdown.subParser('hashElement', function (text, options, globals) {
|
|
3457
|
-
'use strict';
|
|
3458
3883
|
|
|
3459
3884
|
return function (wholeMatch, m1) {
|
|
3460
3885
|
var blockText = m1;
|
|
@@ -3474,7 +3899,6 @@ showdown.subParser('hashElement', function (text, options, globals) {
|
|
|
3474
3899
|
});
|
|
3475
3900
|
|
|
3476
3901
|
showdown.subParser('hashHTMLBlocks', function (text, options, globals) {
|
|
3477
|
-
'use strict';
|
|
3478
3902
|
text = globals.converter._dispatch('hashHTMLBlocks.before', text, options, globals);
|
|
3479
3903
|
|
|
3480
3904
|
var blockTags = [
|
|
@@ -3576,7 +4000,6 @@ showdown.subParser('hashHTMLBlocks', function (text, options, globals) {
|
|
|
3576
4000
|
* Hash span elements that should not be parsed as markdown
|
|
3577
4001
|
*/
|
|
3578
4002
|
showdown.subParser('hashHTMLSpans', function (text, options, globals) {
|
|
3579
|
-
'use strict';
|
|
3580
4003
|
text = globals.converter._dispatch('hashHTMLSpans.before', text, options, globals);
|
|
3581
4004
|
|
|
3582
4005
|
function hashHTMLSpan (html) {
|
|
@@ -3613,7 +4036,6 @@ showdown.subParser('hashHTMLSpans', function (text, options, globals) {
|
|
|
3613
4036
|
* Unhash HTML spans
|
|
3614
4037
|
*/
|
|
3615
4038
|
showdown.subParser('unhashHTMLSpans', function (text, options, globals) {
|
|
3616
|
-
'use strict';
|
|
3617
4039
|
text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals);
|
|
3618
4040
|
|
|
3619
4041
|
for (var i = 0; i < globals.gHtmlSpans.length; ++i) {
|
|
@@ -3641,7 +4063,6 @@ showdown.subParser('unhashHTMLSpans', function (text, options, globals) {
|
|
|
3641
4063
|
* Hash and escape <pre><code> elements that should not be parsed as markdown
|
|
3642
4064
|
*/
|
|
3643
4065
|
showdown.subParser('hashPreCodeTags', function (text, options, globals) {
|
|
3644
|
-
'use strict';
|
|
3645
4066
|
text = globals.converter._dispatch('hashPreCodeTags.before', text, options, globals);
|
|
3646
4067
|
|
|
3647
4068
|
var repFunc = function (wholeMatch, match, left, right) {
|
|
@@ -3658,7 +4079,6 @@ showdown.subParser('hashPreCodeTags', function (text, options, globals) {
|
|
|
3658
4079
|
});
|
|
3659
4080
|
|
|
3660
4081
|
showdown.subParser('headers', function (text, options, globals) {
|
|
3661
|
-
'use strict';
|
|
3662
4082
|
|
|
3663
4083
|
text = globals.converter._dispatch('headers.before', text, options, globals);
|
|
3664
4084
|
|
|
@@ -3788,7 +4208,6 @@ showdown.subParser('headers', function (text, options, globals) {
|
|
|
3788
4208
|
* Turn Markdown link shortcuts into XHTML <a> tags.
|
|
3789
4209
|
*/
|
|
3790
4210
|
showdown.subParser('horizontalRule', function (text, options, globals) {
|
|
3791
|
-
'use strict';
|
|
3792
4211
|
text = globals.converter._dispatch('horizontalRule.before', text, options, globals);
|
|
3793
4212
|
|
|
3794
4213
|
var key = showdown.subParser('hashBlock')('<hr />', options, globals);
|
|
@@ -3804,7 +4223,6 @@ showdown.subParser('horizontalRule', function (text, options, globals) {
|
|
|
3804
4223
|
* Turn Markdown image shortcuts into <img> tags.
|
|
3805
4224
|
*/
|
|
3806
4225
|
showdown.subParser('images', function (text, options, globals) {
|
|
3807
|
-
'use strict';
|
|
3808
4226
|
|
|
3809
4227
|
text = globals.converter._dispatch('images.before', text, options, globals);
|
|
3810
4228
|
|
|
@@ -3906,7 +4324,6 @@ showdown.subParser('images', function (text, options, globals) {
|
|
|
3906
4324
|
});
|
|
3907
4325
|
|
|
3908
4326
|
showdown.subParser('italicsAndBold', function (text, options, globals) {
|
|
3909
|
-
'use strict';
|
|
3910
4327
|
|
|
3911
4328
|
text = globals.converter._dispatch('italicsAndBold.before', text, options, globals);
|
|
3912
4329
|
|
|
@@ -3980,7 +4397,6 @@ showdown.subParser('italicsAndBold', function (text, options, globals) {
|
|
|
3980
4397
|
* Form HTML ordered (numbered) and unordered (bulleted) lists.
|
|
3981
4398
|
*/
|
|
3982
4399
|
showdown.subParser('lists', function (text, options, globals) {
|
|
3983
|
-
'use strict';
|
|
3984
4400
|
|
|
3985
4401
|
/**
|
|
3986
4402
|
* Process the contents of a single ordered or unordered list, splitting it
|
|
@@ -4184,7 +4600,6 @@ showdown.subParser('lists', function (text, options, globals) {
|
|
|
4184
4600
|
* Parse metadata at the top of the document
|
|
4185
4601
|
*/
|
|
4186
4602
|
showdown.subParser('metadata', function (text, options, globals) {
|
|
4187
|
-
'use strict';
|
|
4188
4603
|
|
|
4189
4604
|
if (!options.metadata) {
|
|
4190
4605
|
return text;
|
|
@@ -4234,7 +4649,6 @@ showdown.subParser('metadata', function (text, options, globals) {
|
|
|
4234
4649
|
* Remove one level of line-leading tabs or spaces
|
|
4235
4650
|
*/
|
|
4236
4651
|
showdown.subParser('outdent', function (text, options, globals) {
|
|
4237
|
-
'use strict';
|
|
4238
4652
|
text = globals.converter._dispatch('outdent.before', text, options, globals);
|
|
4239
4653
|
|
|
4240
4654
|
// attacklab: hack around Konqueror 3.5.4 bug:
|
|
@@ -4252,7 +4666,6 @@ showdown.subParser('outdent', function (text, options, globals) {
|
|
|
4252
4666
|
*
|
|
4253
4667
|
*/
|
|
4254
4668
|
showdown.subParser('paragraphs', function (text, options, globals) {
|
|
4255
|
-
'use strict';
|
|
4256
4669
|
|
|
4257
4670
|
text = globals.converter._dispatch('paragraphs.before', text, options, globals);
|
|
4258
4671
|
// Strip leading and trailing lines:
|
|
@@ -4323,7 +4736,6 @@ showdown.subParser('paragraphs', function (text, options, globals) {
|
|
|
4323
4736
|
* Run extension
|
|
4324
4737
|
*/
|
|
4325
4738
|
showdown.subParser('runExtension', function (ext, text, options, globals) {
|
|
4326
|
-
'use strict';
|
|
4327
4739
|
|
|
4328
4740
|
if (ext.filter) {
|
|
4329
4741
|
text = ext.filter(text, globals.converter, options);
|
|
@@ -4345,7 +4757,6 @@ showdown.subParser('runExtension', function (ext, text, options, globals) {
|
|
|
4345
4757
|
* tags like paragraphs, headers, and list items.
|
|
4346
4758
|
*/
|
|
4347
4759
|
showdown.subParser('spanGamut', function (text, options, globals) {
|
|
4348
|
-
'use strict';
|
|
4349
4760
|
|
|
4350
4761
|
text = globals.converter._dispatch('spanGamut.before', text, options, globals);
|
|
4351
4762
|
text = showdown.subParser('codeSpans')(text, options, globals);
|
|
@@ -4391,7 +4802,6 @@ showdown.subParser('spanGamut', function (text, options, globals) {
|
|
|
4391
4802
|
});
|
|
4392
4803
|
|
|
4393
4804
|
showdown.subParser('strikethrough', function (text, options, globals) {
|
|
4394
|
-
'use strict';
|
|
4395
4805
|
|
|
4396
4806
|
function parseInside (txt) {
|
|
4397
4807
|
if (options.simplifiedAutoLink) {
|
|
@@ -4415,7 +4825,6 @@ showdown.subParser('strikethrough', function (text, options, globals) {
|
|
|
4415
4825
|
* Link defs are in the form: ^[id]: url "optional title"
|
|
4416
4826
|
*/
|
|
4417
4827
|
showdown.subParser('stripLinkDefinitions', function (text, options, globals) {
|
|
4418
|
-
'use strict';
|
|
4419
4828
|
|
|
4420
4829
|
var regex = /^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,
|
|
4421
4830
|
base64Regex = /^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;
|
|
@@ -4464,7 +4873,6 @@ showdown.subParser('stripLinkDefinitions', function (text, options, globals) {
|
|
|
4464
4873
|
});
|
|
4465
4874
|
|
|
4466
4875
|
showdown.subParser('tables', function (text, options, globals) {
|
|
4467
|
-
'use strict';
|
|
4468
4876
|
|
|
4469
4877
|
if (!options.tables) {
|
|
4470
4878
|
return text;
|
|
@@ -4579,9 +4987,7 @@ showdown.subParser('tables', function (text, options, globals) {
|
|
|
4579
4987
|
for (i = 0; i < rawCells.length; ++i) {
|
|
4580
4988
|
var row = [];
|
|
4581
4989
|
for (var ii = 0; ii < headers.length; ++ii) {
|
|
4582
|
-
if (showdown.helper.isUndefined(rawCells[i][ii]))
|
|
4583
|
-
|
|
4584
|
-
}
|
|
4990
|
+
if (showdown.helper.isUndefined(rawCells[i][ii])) ;
|
|
4585
4991
|
row.push(parseCells(rawCells[i][ii], styles[ii]));
|
|
4586
4992
|
}
|
|
4587
4993
|
cells.push(row);
|
|
@@ -4607,7 +5013,6 @@ showdown.subParser('tables', function (text, options, globals) {
|
|
|
4607
5013
|
});
|
|
4608
5014
|
|
|
4609
5015
|
showdown.subParser('underline', function (text, options, globals) {
|
|
4610
|
-
'use strict';
|
|
4611
5016
|
|
|
4612
5017
|
if (!options.underline) {
|
|
4613
5018
|
return text;
|
|
@@ -4643,7 +5048,6 @@ showdown.subParser('underline', function (text, options, globals) {
|
|
|
4643
5048
|
* Swap back in all the special characters we've hidden.
|
|
4644
5049
|
*/
|
|
4645
5050
|
showdown.subParser('unescapeSpecialChars', function (text, options, globals) {
|
|
4646
|
-
'use strict';
|
|
4647
5051
|
text = globals.converter._dispatch('unescapeSpecialChars.before', text, options, globals);
|
|
4648
5052
|
|
|
4649
5053
|
text = text.replace(/¨E(\d+)E/g, function (wholeMatch, m1) {
|
|
@@ -4656,7 +5060,6 @@ showdown.subParser('unescapeSpecialChars', function (text, options, globals) {
|
|
|
4656
5060
|
});
|
|
4657
5061
|
|
|
4658
5062
|
showdown.subParser('makeMarkdown.blockquote', function (node, globals) {
|
|
4659
|
-
'use strict';
|
|
4660
5063
|
|
|
4661
5064
|
var txt = '';
|
|
4662
5065
|
if (node.hasChildNodes()) {
|
|
@@ -4679,7 +5082,6 @@ showdown.subParser('makeMarkdown.blockquote', function (node, globals) {
|
|
|
4679
5082
|
});
|
|
4680
5083
|
|
|
4681
5084
|
showdown.subParser('makeMarkdown.codeBlock', function (node, globals) {
|
|
4682
|
-
'use strict';
|
|
4683
5085
|
|
|
4684
5086
|
var lang = node.getAttribute('language'),
|
|
4685
5087
|
num = node.getAttribute('precodenum');
|
|
@@ -4687,13 +5089,11 @@ showdown.subParser('makeMarkdown.codeBlock', function (node, globals) {
|
|
|
4687
5089
|
});
|
|
4688
5090
|
|
|
4689
5091
|
showdown.subParser('makeMarkdown.codeSpan', function (node) {
|
|
4690
|
-
'use strict';
|
|
4691
5092
|
|
|
4692
5093
|
return '`' + node.innerHTML + '`';
|
|
4693
5094
|
});
|
|
4694
5095
|
|
|
4695
5096
|
showdown.subParser('makeMarkdown.emphasis', function (node, globals) {
|
|
4696
|
-
'use strict';
|
|
4697
5097
|
|
|
4698
5098
|
var txt = '';
|
|
4699
5099
|
if (node.hasChildNodes()) {
|
|
@@ -4709,7 +5109,6 @@ showdown.subParser('makeMarkdown.emphasis', function (node, globals) {
|
|
|
4709
5109
|
});
|
|
4710
5110
|
|
|
4711
5111
|
showdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) {
|
|
4712
|
-
'use strict';
|
|
4713
5112
|
|
|
4714
5113
|
var headerMark = new Array(headerLevel + 1).join('#'),
|
|
4715
5114
|
txt = '';
|
|
@@ -4727,13 +5126,11 @@ showdown.subParser('makeMarkdown.header', function (node, globals, headerLevel)
|
|
|
4727
5126
|
});
|
|
4728
5127
|
|
|
4729
5128
|
showdown.subParser('makeMarkdown.hr', function () {
|
|
4730
|
-
'use strict';
|
|
4731
5129
|
|
|
4732
5130
|
return '---';
|
|
4733
5131
|
});
|
|
4734
5132
|
|
|
4735
5133
|
showdown.subParser('makeMarkdown.image', function (node) {
|
|
4736
|
-
'use strict';
|
|
4737
5134
|
|
|
4738
5135
|
var txt = '';
|
|
4739
5136
|
if (node.hasAttribute('src')) {
|
|
@@ -4752,7 +5149,6 @@ showdown.subParser('makeMarkdown.image', function (node) {
|
|
|
4752
5149
|
});
|
|
4753
5150
|
|
|
4754
5151
|
showdown.subParser('makeMarkdown.links', function (node, globals) {
|
|
4755
|
-
'use strict';
|
|
4756
5152
|
|
|
4757
5153
|
var txt = '';
|
|
4758
5154
|
if (node.hasChildNodes() && node.hasAttribute('href')) {
|
|
@@ -4773,7 +5169,6 @@ showdown.subParser('makeMarkdown.links', function (node, globals) {
|
|
|
4773
5169
|
});
|
|
4774
5170
|
|
|
4775
5171
|
showdown.subParser('makeMarkdown.list', function (node, globals, type) {
|
|
4776
|
-
'use strict';
|
|
4777
5172
|
|
|
4778
5173
|
var txt = '';
|
|
4779
5174
|
if (!node.hasChildNodes()) {
|
|
@@ -4807,7 +5202,6 @@ showdown.subParser('makeMarkdown.list', function (node, globals, type) {
|
|
|
4807
5202
|
});
|
|
4808
5203
|
|
|
4809
5204
|
showdown.subParser('makeMarkdown.listItem', function (node, globals) {
|
|
4810
|
-
'use strict';
|
|
4811
5205
|
|
|
4812
5206
|
var listItemTxt = '';
|
|
4813
5207
|
|
|
@@ -4835,7 +5229,6 @@ showdown.subParser('makeMarkdown.listItem', function (node, globals) {
|
|
|
4835
5229
|
|
|
4836
5230
|
|
|
4837
5231
|
showdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {
|
|
4838
|
-
'use strict';
|
|
4839
5232
|
|
|
4840
5233
|
spansOnly = spansOnly || false;
|
|
4841
5234
|
|
|
@@ -4954,7 +5347,6 @@ showdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {
|
|
|
4954
5347
|
});
|
|
4955
5348
|
|
|
4956
5349
|
showdown.subParser('makeMarkdown.paragraph', function (node, globals) {
|
|
4957
|
-
'use strict';
|
|
4958
5350
|
|
|
4959
5351
|
var txt = '';
|
|
4960
5352
|
if (node.hasChildNodes()) {
|
|
@@ -4972,14 +5364,12 @@ showdown.subParser('makeMarkdown.paragraph', function (node, globals) {
|
|
|
4972
5364
|
});
|
|
4973
5365
|
|
|
4974
5366
|
showdown.subParser('makeMarkdown.pre', function (node, globals) {
|
|
4975
|
-
'use strict';
|
|
4976
5367
|
|
|
4977
5368
|
var num = node.getAttribute('prenum');
|
|
4978
5369
|
return '<pre>' + globals.preList[num] + '</pre>';
|
|
4979
5370
|
});
|
|
4980
5371
|
|
|
4981
5372
|
showdown.subParser('makeMarkdown.strikethrough', function (node, globals) {
|
|
4982
|
-
'use strict';
|
|
4983
5373
|
|
|
4984
5374
|
var txt = '';
|
|
4985
5375
|
if (node.hasChildNodes()) {
|
|
@@ -4995,7 +5385,6 @@ showdown.subParser('makeMarkdown.strikethrough', function (node, globals) {
|
|
|
4995
5385
|
});
|
|
4996
5386
|
|
|
4997
5387
|
showdown.subParser('makeMarkdown.strong', function (node, globals) {
|
|
4998
|
-
'use strict';
|
|
4999
5388
|
|
|
5000
5389
|
var txt = '';
|
|
5001
5390
|
if (node.hasChildNodes()) {
|
|
@@ -5011,7 +5400,6 @@ showdown.subParser('makeMarkdown.strong', function (node, globals) {
|
|
|
5011
5400
|
});
|
|
5012
5401
|
|
|
5013
5402
|
showdown.subParser('makeMarkdown.table', function (node, globals) {
|
|
5014
|
-
'use strict';
|
|
5015
5403
|
|
|
5016
5404
|
var txt = '',
|
|
5017
5405
|
tableArray = [[], []],
|
|
@@ -5082,7 +5470,6 @@ showdown.subParser('makeMarkdown.table', function (node, globals) {
|
|
|
5082
5470
|
});
|
|
5083
5471
|
|
|
5084
5472
|
showdown.subParser('makeMarkdown.tableCell', function (node, globals) {
|
|
5085
|
-
'use strict';
|
|
5086
5473
|
|
|
5087
5474
|
var txt = '';
|
|
5088
5475
|
if (!node.hasChildNodes()) {
|
|
@@ -5098,7 +5485,6 @@ showdown.subParser('makeMarkdown.tableCell', function (node, globals) {
|
|
|
5098
5485
|
});
|
|
5099
5486
|
|
|
5100
5487
|
showdown.subParser('makeMarkdown.txt', function (node) {
|
|
5101
|
-
'use strict';
|
|
5102
5488
|
|
|
5103
5489
|
var txt = node.nodeValue;
|
|
5104
5490
|
|
|
@@ -5144,14 +5530,7 @@ showdown.subParser('makeMarkdown.txt', function (node) {
|
|
|
5144
5530
|
var root = this;
|
|
5145
5531
|
|
|
5146
5532
|
// AMD Loader
|
|
5147
|
-
if (
|
|
5148
|
-
undefined(function () {
|
|
5149
|
-
'use strict';
|
|
5150
|
-
return showdown;
|
|
5151
|
-
});
|
|
5152
|
-
|
|
5153
|
-
// CommonJS/nodeJS Loader
|
|
5154
|
-
} else if ('object' !== 'undefined' && module.exports) {
|
|
5533
|
+
if (module.exports) {
|
|
5155
5534
|
module.exports = showdown;
|
|
5156
5535
|
|
|
5157
5536
|
// Regular Browser loader
|
|
@@ -5276,7 +5655,10 @@ const TextComponent = class {
|
|
|
5276
5655
|
return (h("div", { lang: ((_z = this.obj) === null || _z === void 0 ? void 0 : _z.language) || 'en', class: `text ${((_0 = this.obj) === null || _0 === void 0 ? void 0 : _0.display_format) || 'default'}` }, ((((_1 = this.obj) === null || _1 === void 0 ? void 0 : _1.label) && !((_3 = (_2 = this.obj) === null || _2 === void 0 ? void 0 : _2.metadata) === null || _3 === void 0 ? void 0 : _3.omit_label)) || ((_4 = this.obj) === null || _4 === void 0 ? void 0 : _4.citation)) && h("ldf-heading", { path: this.path, doc: new Heading({ type: 'heading', metadata: { level: 3 }, value: [((_5 = this.obj.metadata) === null || _5 === void 0 ? void 0 : _5.omit_label) ? '' : this.obj.label], citation: this.obj.citation, source: this.obj.source }) }), compiledValue.map((prayer, prayerIndex) => {
|
|
5277
5656
|
var _a, _b, _c, _d;
|
|
5278
5657
|
return h("p", { class: "text-body", id: `${this.obj.uid || this.obj.slug}-prayerIndex` }, prayer === null || prayer === void 0 ? void 0 :
|
|
5279
|
-
prayer.map((chunk, chunkIndex) =>
|
|
5658
|
+
prayer.map((chunk, chunkIndex) => {
|
|
5659
|
+
var _a;
|
|
5660
|
+
return h("span", { id: `${this.obj.uid || this.obj.slug}-${prayerIndex}-${chunkIndex}` }, h("ldf-string", { text: chunk, citation: { label: this.obj.label }, dropcap: ((_a = this.obj) === null || _a === void 0 ? void 0 : _a.display_format) == "force_dropcap" && prayerIndex === 0 && chunkIndex === 0 ? "force" : (prayerIndex === 0 && chunkIndex <= 1 ? "enabled" : "disabled"), index: prayerIndex + chunkIndex, fragment: this.path }));
|
|
5661
|
+
}), ((_b = (_a = this.obj) === null || _a === void 0 ? void 0 : _a.metadata) === null || _b === void 0 ? void 0 : _b.response) && prayerIndex == compiledValue.length - 1 && h("span", { class: "response" }, " ", this.obj.metadata.response), !((_d = (_c = this.obj) === null || _c === void 0 ? void 0 : _c.metadata) === null || _d === void 0 ? void 0 : _d.response) && this.obj.style == 'prayer' && prayerIndex == compiledValue.length - 1 && h("span", { class: "response" }, " ", localeStrings.amen));
|
|
5280
5662
|
})));
|
|
5281
5663
|
}
|
|
5282
5664
|
}
|
|
@@ -5289,4 +5671,4 @@ const TextComponent = class {
|
|
|
5289
5671
|
};
|
|
5290
5672
|
TextComponent.style = textCss;
|
|
5291
5673
|
|
|
5292
|
-
export { TextComponent as ldf_text };
|
|
5674
|
+
export { DayNameComponent as ldf_day_name, HeadingComponent as ldf_heading, LabelBarComponent as ldf_label_bar, StringComponent as ldf_string, TextComponent as ldf_text };
|