@sparkle-learning/core 0.0.32 → 0.0.35
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/PrivateRoute-4abc9d29.js +35 -0
- package/dist/cjs/{active-router-eedb3bfe.js → active-router-f9e18bd8.js} +1 -1
- package/dist/cjs/{animation-6132e37f.js → animation-ee586546.js} +83 -78
- package/dist/cjs/{app-globals-9869bf67.js → app-globals-33c9f31b.js} +1 -1
- package/dist/cjs/{PrivateRoute-043bb7d3.js → auth.service-4b584cd7.js} +4 -33
- package/dist/cjs/{auth.store-ff3fda09.js → auth.store-1e630a7d.js} +48 -725
- package/dist/cjs/compass-svg.cjs.entry.js +1 -1
- package/dist/cjs/context-consumer.cjs.entry.js +1 -1
- package/dist/cjs/course-select.cjs.entry.js +1 -1
- package/dist/cjs/{cubic-bezier-293f4663.js → cubic-bezier-53d26d05.js} +10 -11
- package/dist/cjs/dom-utils-b8befdd5.js +63 -0
- package/dist/cjs/{facilitator.service-faac5c0c.js → facilitator.service-9e990274.js} +8 -7
- package/dist/cjs/{feed.service-66405969.js → feed.service-b4f09441.js} +8 -7
- package/dist/cjs/{focus-visible-ad3828a7.js → focus-visible-b0b07ba6.js} +19 -6
- package/dist/cjs/{framework-delegate-2470a246.js → framework-delegate-59a98abd.js} +11 -13
- package/dist/cjs/{gesture-controller-07c31f70.js → gesture-controller-0eb5579e.js} +1 -1
- package/dist/cjs/{haptic-91e86eb7.js → haptic-780f33c4.js} +3 -2
- package/dist/cjs/{hardware-back-button-f7b5d99e.js → hardware-back-button-92d97ff8.js} +8 -8
- package/dist/cjs/header-mobile-collapse_2.cjs.entry.js +112 -0
- package/dist/cjs/{helpers-7e28976c.js → helpers-c2496722.js} +81 -14
- package/dist/cjs/httpService-7211d93b.js +685 -0
- package/dist/cjs/{icons-80d477f6.js → icons-c61db785.js} +1 -1
- package/dist/cjs/{index-43642662.js → index-12082cba.js} +21 -18
- package/dist/cjs/{index-459a5fa9.js → index-15ea05f5.js} +19 -28
- package/dist/cjs/{index-bae2a754.js → index-51e8292e.js} +18 -11
- package/dist/cjs/index-70e63f5b.js +3071 -0
- package/dist/cjs/{index-b12edb26.js → index-787d4498.js} +17 -25
- package/dist/cjs/{tap-click-1caf1780.js → index-8b5629a6.js} +30 -20
- package/dist/cjs/{index-8540d72e.js → index-975586fd.js} +7 -1
- package/dist/cjs/index-9c7b27e4.js +140 -0
- package/dist/cjs/{index-185f9c5a.js → index-af080b50.js} +9 -8
- package/dist/cjs/index-e56e09b8.js +38 -0
- package/dist/cjs/index.cjs.js +13 -11
- package/dist/cjs/{index.es-ef3efdfb.js → index.es-38cbcdbe.js} +2 -7
- package/dist/cjs/injectHistory-7206bbb9.js +9 -0
- package/dist/cjs/{input-shims-6c442c9f.js → input-shims-eff63b88.js} +21 -24
- package/dist/cjs/ion-accordion-group.cjs.entry.js +17 -9
- package/dist/cjs/ion-accordion.cjs.entry.js +19 -23
- package/dist/cjs/ion-action-sheet_4.cjs.entry.js +216 -212
- package/dist/cjs/ion-app.cjs.entry.js +8 -8
- package/dist/cjs/ion-avatar_16.cjs.entry.js +1907 -0
- package/dist/cjs/ion-back-button.cjs.entry.js +11 -11
- package/dist/cjs/ion-backdrop.cjs.entry.js +4 -4
- package/dist/cjs/ion-badge.cjs.entry.js +3 -3
- package/dist/cjs/ion-breadcrumb.cjs.entry.js +13 -21
- package/dist/cjs/ion-breadcrumbs.cjs.entry.js +12 -14
- package/dist/cjs/ion-buttons_3.cjs.entry.js +13 -13
- package/dist/cjs/ion-card-header.cjs.entry.js +4 -4
- package/dist/cjs/ion-card-subtitle.cjs.entry.js +4 -4
- package/dist/cjs/ion-checkbox_4.cjs.entry.js +360 -0
- package/dist/cjs/ion-chip.cjs.entry.js +3 -3
- package/dist/cjs/ion-col_3.cjs.entry.js +159 -0
- package/dist/cjs/ion-content_2.cjs.entry.js +59 -52
- package/dist/cjs/ion-datetime-button.cjs.entry.js +312 -0
- package/dist/cjs/ion-datetime.cjs.entry.js +752 -1245
- package/dist/cjs/ion-fab-button.cjs.entry.js +25 -9
- package/dist/cjs/ion-fab-list.cjs.entry.js +4 -4
- package/dist/cjs/ion-fab.cjs.entry.js +15 -13
- package/dist/cjs/ion-footer.cjs.entry.js +16 -14
- package/dist/cjs/ion-img.cjs.entry.js +4 -4
- package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +5 -5
- package/dist/cjs/ion-infinite-scroll.cjs.entry.js +13 -15
- package/dist/cjs/ion-item-divider.cjs.entry.js +4 -4
- package/dist/cjs/ion-item-group.cjs.entry.js +3 -3
- package/dist/cjs/ion-item-option.cjs.entry.js +8 -8
- package/dist/cjs/ion-item-options.cjs.entry.js +5 -5
- package/dist/cjs/ion-item-sliding.cjs.entry.js +41 -46
- package/dist/cjs/ion-loading.cjs.entry.js +23 -35
- package/dist/cjs/ion-menu-button.cjs.entry.js +13 -13
- package/dist/cjs/ion-menu-toggle.cjs.entry.js +7 -7
- package/dist/cjs/ion-menu.cjs.entry.js +47 -40
- package/dist/cjs/ion-modal.cjs.entry.js +935 -282
- package/dist/cjs/ion-nav-link.cjs.entry.js +2 -2
- package/dist/cjs/ion-nav.cjs.entry.js +45 -35
- package/dist/cjs/ion-picker-column-internal_2.cjs.entry.js +151 -43
- package/dist/cjs/ion-picker-column.cjs.entry.js +23 -25
- package/dist/cjs/ion-picker.cjs.entry.js +15 -17
- package/dist/cjs/ion-progress-bar.cjs.entry.js +6 -8
- package/dist/cjs/ion-range.cjs.entry.js +515 -0
- package/dist/cjs/ion-refresher-content.cjs.entry.js +6 -12
- package/dist/cjs/ion-refresher.cjs.entry.js +68 -50
- package/dist/cjs/ion-reorder-group.cjs.entry.js +15 -16
- package/dist/cjs/ion-reorder.cjs.entry.js +3 -3
- package/dist/cjs/ion-route-redirect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route.cjs.entry.js +1 -1
- package/dist/cjs/ion-router-link.cjs.entry.js +5 -5
- package/dist/cjs/ion-router-outlet.cjs.entry.js +22 -20
- package/dist/cjs/ion-router.cjs.entry.js +32 -31
- package/dist/cjs/ion-searchbar.cjs.entry.js +14 -16
- package/dist/cjs/ion-segment-button.cjs.entry.js +8 -8
- package/dist/cjs/ion-segment.cjs.entry.js +24 -26
- package/dist/cjs/ion-select_2.cjs.entry.js +59 -56
- package/dist/cjs/ion-skeleton-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-slide.cjs.entry.js +3 -3
- package/dist/cjs/ion-slides.cjs.entry.js +23 -23
- package/dist/cjs/ion-split-pane.cjs.entry.js +10 -11
- package/dist/cjs/ion-tab-bar.cjs.entry.js +5 -5
- package/dist/cjs/ion-tab-button.cjs.entry.js +6 -6
- package/dist/cjs/ion-tab.cjs.entry.js +4 -4
- package/dist/cjs/ion-tabs.cjs.entry.js +4 -5
- package/dist/cjs/ion-text.cjs.entry.js +24 -0
- package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +23 -43
- package/dist/cjs/ion-virtual-scroll.cjs.entry.js +29 -28
- package/dist/cjs/{ionic-global-878073d1.js → ionic-global-2cde9d3a.js} +27 -31
- package/dist/cjs/{ios.transition-c3bfb096.js → ios.transition-da235483.js} +71 -51
- package/dist/cjs/{keyboard-dfd76ac3.js → keyboard-91096619.js} +3 -3
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/match-path-84c9f7ca.js +511 -0
- package/dist/cjs/{md.transition-7eb9a1a7.js → md.transition-be429e07.js} +9 -16
- package/dist/cjs/{menu-toggle-util-cb549c2c.js → menu-toggle-util-7a01448c.js} +2 -2
- package/dist/cjs/{overlays-0a748609.js → overlays-32df265a.js} +29 -29
- package/dist/cjs/parse-d0071120.js +1237 -0
- package/dist/cjs/{purify-d0ad2883.js → purify-fb9c107e.js} +1 -1
- package/dist/cjs/sparkle-animation-player.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-card_3.cjs.entry.js +91 -0
- package/dist/cjs/sparkle-character-intro.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-code.cjs.entry.js +2 -2
- package/dist/cjs/sparkle-compass-post.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-compass.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-core.cjs.js +5 -5
- package/dist/cjs/sparkle-course-root.cjs.entry.js +146 -0
- package/dist/cjs/sparkle-dropdown.cjs.entry.js +61 -0
- package/dist/cjs/sparkle-emoji.cjs.entry.js +1 -1
- package/dist/cjs/{header-mobile-collapse_61.cjs.entry.js → sparkle-export-lessons_6.cjs.entry.js} +8865 -17663
- package/dist/cjs/sparkle-facilitator-header_19.cjs.entry.js +2130 -0
- package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +8 -7
- package/dist/cjs/sparkle-feedback.cjs.entry.js +9 -7
- package/dist/cjs/sparkle-goal-form.cjs.entry.js +8 -7
- package/dist/cjs/sparkle-goal-progress.cjs.entry.js +19 -0
- package/dist/cjs/sparkle-gww-comment-list.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-gww-graph.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-gww-item.cjs.entry.js +74 -0
- package/dist/cjs/sparkle-intro.cjs.entry.js +26 -0
- package/dist/cjs/sparkle-lower-content-nav.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +2 -2
- package/dist/cjs/sparkle-menu-toggle_3.cjs.entry.js +236 -0
- package/dist/cjs/sparkle-modal-image.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-notfound-page.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-overlay.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-poll.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-quiz-container.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-quiz.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-select.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-tab.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-table-of-contents.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-tabs.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-validation-error.cjs.entry.js +21 -0
- package/dist/cjs/sparkle-youtube.cjs.entry.js +1 -1
- package/dist/cjs/{spinner-configs-6f6b7ef0.js → spinner-configs-0ac05f2d.js} +43 -43
- package/dist/cjs/{status-tap-8697433c.js → status-tap-033befa2.js} +7 -5
- package/dist/cjs/stencil-async-content.cjs.entry.js +1 -1
- package/dist/cjs/stencil-route-link.cjs.entry.js +77 -0
- package/dist/cjs/stencil-route-title.cjs.entry.js +2 -2
- package/dist/cjs/stencil-router-prompt.cjs.entry.js +2 -2
- package/dist/cjs/stencil-router-redirect.cjs.entry.js +32 -0
- package/dist/cjs/student.service-d48f1c99.js +61 -0
- package/dist/cjs/{swipe-back-7e08b5e0.js → swipe-back-4a826f9b.js} +5 -5
- package/dist/cjs/{theme-4252ac15.js → theme-b0b295c1.js} +6 -5
- package/dist/cjs/user.store-8a049c4e.js +21 -0
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.css +16 -0
- package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +197 -3
- package/dist/collection/components/sparkle-intro/sparkle-intro.css +15 -0
- package/dist/collection/components/sparkle-intro/sparkle-intro.js +35 -0
- package/dist/esm/PrivateRoute-530ef873.js +33 -0
- package/dist/esm/{active-router-909088d6.js → active-router-9843e205.js} +1 -1
- package/dist/esm/{animation-b306f6c2.js → animation-d98d3e81.js} +83 -78
- package/dist/esm/{app-globals-5c736ae5.js → app-globals-08edc964.js} +1 -1
- package/dist/esm/{PrivateRoute-b9937c45.js → auth.service-79389d86.js} +4 -32
- package/dist/esm/{auth.store-3ed2389e.js → auth.store-b812b34b.js} +45 -725
- package/dist/esm/compass-svg.entry.js +1 -1
- package/dist/esm/context-consumer.entry.js +1 -1
- package/dist/esm/course-select.entry.js +1 -1
- package/dist/esm/{cubic-bezier-a7ad9c8e.js → cubic-bezier-4c0db14f.js} +10 -11
- package/dist/esm/dom-utils-8e73e88b.js +55 -0
- package/dist/esm/{facilitator.service-ec0a9739.js → facilitator.service-7babc526.js} +2 -1
- package/dist/esm/{feed.service-33b83cb7.js → feed.service-80fbe79d.js} +3 -2
- package/dist/esm/{focus-visible-40cda868.js → focus-visible-4e9a0764.js} +19 -6
- package/dist/esm/{framework-delegate-3bc58c27.js → framework-delegate-9b329182.js} +11 -13
- package/dist/esm/{gesture-controller-686622ba.js → gesture-controller-7be18351.js} +1 -1
- package/dist/esm/{haptic-99c9e346.js → haptic-3a76a65c.js} +4 -3
- package/dist/esm/{hardware-back-button-b6ccf74a.js → hardware-back-button-fa04d6e9.js} +8 -8
- package/dist/esm/header-mobile-collapse_2.entry.js +107 -0
- package/dist/esm/{helpers-39367fe1.js → helpers-94a5855b.js} +81 -15
- package/dist/esm/httpService-b2b7a1ad.js +683 -0
- package/dist/esm/{icons-61dec176.js → icons-16f1a80b.js} +2 -2
- package/dist/esm/{index-a12c14bd.js → index-21661af2.js} +22 -19
- package/dist/esm/{tap-click-13f1fb0d.js → index-230a26c9.js} +30 -20
- package/dist/esm/{index-c26d8655.js → index-478745be.js} +17 -25
- package/dist/esm/{index-dc61f152.js → index-4ec6b9c2.js} +5 -2
- package/dist/esm/{index-9594837e.js → index-95307148.js} +19 -28
- package/dist/esm/{index-5568e3fa.js → index-9db08224.js} +19 -12
- package/dist/esm/index-ab1c6a9f.js +3067 -0
- package/dist/esm/{index-435af8e6.js → index-be6112f8.js} +9 -8
- package/dist/esm/index-c23a1826.js +128 -0
- package/dist/esm/index-dad75b83.js +34 -0
- package/dist/esm/{index.es-97dd8174.js → index.es-1c3b1ef3.js} +2 -7
- package/dist/esm/index.js +9 -7
- package/dist/esm/injectHistory-4bfff188.js +7 -0
- package/dist/esm/{input-shims-cc98ea92.js → input-shims-ce5c01df.js} +21 -24
- package/dist/esm/ion-accordion-group.entry.js +17 -9
- package/dist/esm/ion-accordion.entry.js +19 -23
- package/dist/esm/ion-action-sheet_4.entry.js +216 -212
- package/dist/esm/ion-app.entry.js +8 -8
- package/dist/esm/ion-avatar_16.entry.js +1888 -0
- package/dist/esm/ion-back-button.entry.js +11 -11
- package/dist/esm/ion-backdrop.entry.js +4 -4
- package/dist/esm/ion-badge.entry.js +3 -3
- package/dist/esm/ion-breadcrumb.entry.js +13 -21
- package/dist/esm/ion-breadcrumbs.entry.js +12 -14
- package/dist/esm/ion-buttons_3.entry.js +13 -13
- package/dist/esm/ion-card-header.entry.js +4 -4
- package/dist/esm/ion-card-subtitle.entry.js +4 -4
- package/dist/esm/ion-checkbox_4.entry.js +353 -0
- package/dist/esm/ion-chip.entry.js +3 -3
- package/dist/esm/ion-col_3.entry.js +153 -0
- package/dist/esm/ion-content_2.entry.js +59 -52
- package/dist/esm/ion-datetime-button.entry.js +308 -0
- package/dist/esm/ion-datetime.entry.js +723 -1216
- package/dist/esm/ion-fab-button.entry.js +25 -9
- package/dist/esm/ion-fab-list.entry.js +4 -4
- package/dist/esm/ion-fab.entry.js +15 -13
- package/dist/esm/ion-footer.entry.js +16 -14
- package/dist/esm/ion-img.entry.js +4 -4
- package/dist/esm/ion-infinite-scroll-content.entry.js +5 -5
- package/dist/esm/ion-infinite-scroll.entry.js +13 -15
- package/dist/esm/ion-item-divider.entry.js +4 -4
- package/dist/esm/ion-item-group.entry.js +3 -3
- package/dist/esm/ion-item-option.entry.js +8 -8
- package/dist/esm/ion-item-options.entry.js +5 -5
- package/dist/esm/ion-item-sliding.entry.js +41 -46
- package/dist/esm/ion-loading.entry.js +23 -35
- package/dist/esm/ion-menu-button.entry.js +13 -13
- package/dist/esm/ion-menu-toggle.entry.js +7 -7
- package/dist/esm/ion-menu.entry.js +47 -40
- package/dist/esm/ion-modal.entry.js +921 -268
- package/dist/esm/ion-nav-link.entry.js +2 -2
- package/dist/esm/ion-nav.entry.js +45 -35
- package/dist/esm/ion-picker-column-internal_2.entry.js +151 -43
- package/dist/esm/ion-picker-column.entry.js +23 -25
- package/dist/esm/ion-picker.entry.js +15 -17
- package/dist/esm/ion-progress-bar.entry.js +6 -8
- package/dist/esm/ion-range.entry.js +511 -0
- package/dist/esm/ion-refresher-content.entry.js +6 -12
- package/dist/esm/ion-refresher.entry.js +68 -50
- package/dist/esm/ion-reorder-group.entry.js +15 -16
- package/dist/esm/ion-reorder.entry.js +3 -3
- package/dist/esm/ion-route-redirect.entry.js +1 -1
- package/dist/esm/ion-route.entry.js +1 -1
- package/dist/esm/ion-router-link.entry.js +5 -5
- package/dist/esm/ion-router-outlet.entry.js +22 -20
- package/dist/esm/ion-router.entry.js +32 -31
- package/dist/esm/ion-searchbar.entry.js +14 -16
- package/dist/esm/ion-segment-button.entry.js +8 -8
- package/dist/esm/ion-segment.entry.js +24 -26
- package/dist/esm/ion-select_2.entry.js +59 -56
- package/dist/esm/ion-skeleton-text.entry.js +4 -4
- package/dist/esm/ion-slide.entry.js +3 -3
- package/dist/esm/ion-slides.entry.js +23 -23
- package/dist/esm/ion-split-pane.entry.js +10 -11
- package/dist/esm/ion-tab-bar.entry.js +5 -5
- package/dist/esm/ion-tab-button.entry.js +6 -6
- package/dist/esm/ion-tab.entry.js +4 -4
- package/dist/esm/ion-tabs.entry.js +4 -5
- package/dist/esm/ion-text.entry.js +20 -0
- package/dist/esm/ion-thumbnail.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +23 -43
- package/dist/esm/ion-virtual-scroll.entry.js +29 -28
- package/dist/esm/{ionic-global-0939c477.js → ionic-global-293e882b.js} +27 -31
- package/dist/esm/{ios.transition-b4ca8a33.js → ios.transition-7cd34deb.js} +71 -51
- package/dist/esm/{keyboard-2503e874.js → keyboard-7e8329b3.js} +3 -3
- package/dist/esm/loader.js +5 -5
- package/dist/esm/match-path-36fdf5c7.js +499 -0
- package/dist/esm/{md.transition-ca5e0322.js → md.transition-2589a5b1.js} +9 -16
- package/dist/esm/{menu-toggle-util-7fa22c2f.js → menu-toggle-util-f92ba2f0.js} +2 -2
- package/dist/esm/{overlays-34cfa9e0.js → overlays-dfa730c8.js} +30 -30
- package/dist/esm/parse-1ae3a9bb.js +1196 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{purify-ffce2b4c.js → purify-79af871f.js} +1 -1
- package/dist/esm/sparkle-animation-player.entry.js +2 -2
- package/dist/esm/sparkle-card_3.entry.js +85 -0
- package/dist/esm/sparkle-character-intro.entry.js +1 -1
- package/dist/esm/sparkle-code.entry.js +2 -2
- package/dist/esm/sparkle-compass-post.entry.js +1 -1
- package/dist/esm/sparkle-compass.entry.js +1 -1
- package/dist/esm/sparkle-core.js +5 -5
- package/dist/esm/sparkle-course-root.entry.js +142 -0
- package/dist/esm/sparkle-dropdown.entry.js +57 -0
- package/dist/esm/sparkle-emoji.entry.js +1 -1
- package/dist/esm/{header-mobile-collapse_61.entry.js → sparkle-export-lessons_6.entry.js} +8860 -17603
- package/dist/esm/sparkle-facilitator-header_19.entry.js +2108 -0
- package/dist/esm/sparkle-facilitator-notes-form.entry.js +8 -7
- package/dist/esm/sparkle-feedback.entry.js +9 -7
- package/dist/esm/sparkle-goal-form.entry.js +9 -8
- package/dist/esm/sparkle-goal-progress.entry.js +15 -0
- package/dist/esm/sparkle-gww-comment-list.entry.js +1 -1
- package/dist/esm/sparkle-gww-graph.entry.js +1 -1
- package/dist/esm/sparkle-gww-item.entry.js +70 -0
- package/dist/esm/sparkle-intro.entry.js +22 -0
- package/dist/esm/sparkle-lower-content-nav.entry.js +1 -1
- package/dist/esm/sparkle-menu-collapsible.entry.js +2 -2
- package/dist/esm/sparkle-menu-toggle_3.entry.js +230 -0
- package/dist/esm/sparkle-modal-image.entry.js +1 -1
- package/dist/esm/sparkle-notfound-page.entry.js +1 -1
- package/dist/esm/sparkle-overlay.entry.js +1 -1
- package/dist/esm/sparkle-poll.entry.js +1 -1
- package/dist/esm/sparkle-quiz-container.entry.js +1 -1
- package/dist/esm/sparkle-quiz-feedback_5.entry.js +1 -1
- package/dist/esm/sparkle-quiz.entry.js +1 -1
- package/dist/esm/sparkle-select.entry.js +1 -1
- package/dist/esm/sparkle-sidebar.entry.js +1 -1
- package/dist/esm/sparkle-tab.entry.js +1 -1
- package/dist/esm/sparkle-table-of-contents.entry.js +1 -1
- package/dist/esm/sparkle-tabs.entry.js +1 -1
- package/dist/esm/sparkle-validation-error.entry.js +17 -0
- package/dist/esm/sparkle-youtube.entry.js +1 -1
- package/dist/esm/{spinner-configs-f609a655.js → spinner-configs-a37e628a.js} +43 -43
- package/dist/esm/{status-tap-6351a0cb.js → status-tap-79b6199d.js} +7 -5
- package/dist/esm/stencil-async-content.entry.js +1 -1
- package/dist/esm/stencil-route-link.entry.js +73 -0
- package/dist/esm/stencil-route-title.entry.js +2 -2
- package/dist/esm/stencil-router-prompt.entry.js +2 -2
- package/dist/esm/stencil-router-redirect.entry.js +28 -0
- package/dist/esm/{student.service-29b688ba.js → student.service-0caed0f4.js} +3 -18
- package/dist/esm/{swipe-back-34251834.js → swipe-back-ad7a0361.js} +5 -5
- package/dist/esm/{theme-c336c9d9.js → theme-7ef00c83.js} +6 -5
- package/dist/esm/user.store-8477642a.js +19 -0
- package/dist/esm/{util-6ef753e9.js → util-a831d09d.js} +1 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +8 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +46 -22
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +43 -19
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +60 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +2 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +2 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +6 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +6 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +3 -3
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +1 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +1 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +1 -5
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +1 -5
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +31 -3
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +29 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +24 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +24 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +2 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +2 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +8 -8
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +34 -17
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +34 -17
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +50 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +27 -0
- package/dist/sparkle-core/index.esm.js +1 -1
- package/dist/sparkle-core/p-0127a61a.entry.js +1 -0
- package/dist/sparkle-core/p-01743e3e.js +4 -0
- package/dist/sparkle-core/p-06af1bc8.entry.js +1 -0
- package/dist/sparkle-core/{p-703ca87c.js → p-076f0239.js} +0 -0
- package/dist/sparkle-core/p-0798d46a.entry.js +1 -0
- package/dist/sparkle-core/p-085eb951.entry.js +4 -0
- package/dist/sparkle-core/{p-39e5a90f.entry.js → p-0b92326d.entry.js} +1 -1
- package/dist/sparkle-core/{p-5ff6416d.entry.js → p-0c603495.entry.js} +2 -2
- package/dist/sparkle-core/{p-6bbabb80.entry.js → p-0d7cceaa.entry.js} +1 -1
- package/dist/sparkle-core/p-0d813026.entry.js +1 -0
- package/dist/sparkle-core/{p-69e7783d.js → p-0e4de1d0.js} +0 -0
- package/dist/sparkle-core/p-11ed6b7f.entry.js +1 -0
- package/dist/sparkle-core/p-122427b7.entry.js +1 -0
- package/dist/sparkle-core/p-12c4f45c.entry.js +1 -0
- package/dist/sparkle-core/p-136b93d5.entry.js +4 -0
- package/dist/sparkle-core/{p-e225581a.js → p-1394cbb8.js} +2 -2
- package/dist/sparkle-core/{p-c48bbc7c.entry.js → p-14340143.entry.js} +1 -1
- package/dist/sparkle-core/p-14a06a91.entry.js +1 -0
- package/dist/sparkle-core/{p-a9ee3f6d.entry.js → p-16b7974e.entry.js} +1 -1
- package/dist/sparkle-core/p-16c81890.entry.js +1 -0
- package/dist/sparkle-core/{p-5c9aa1f9.entry.js → p-1701723e.entry.js} +1 -1
- package/dist/sparkle-core/p-1728ead7.js +1 -0
- package/dist/sparkle-core/p-17aef6f9.js +1 -0
- package/dist/sparkle-core/p-180857a2.entry.js +1 -0
- package/dist/sparkle-core/p-1acc7870.entry.js +1 -0
- package/dist/sparkle-core/{p-513794b0.js → p-1c2aee9c.js} +1 -1
- package/dist/sparkle-core/p-1cd4c3cc.entry.js +1 -0
- package/dist/sparkle-core/p-21d9833d.js +1 -0
- package/dist/sparkle-core/p-23d713e2.js +1 -0
- package/dist/sparkle-core/p-25c13612.entry.js +1 -0
- package/dist/sparkle-core/p-2699868a.entry.js +1 -0
- package/dist/sparkle-core/p-27075abe.js +4 -0
- package/dist/sparkle-core/{p-713590fc.js → p-280e938d.js} +1 -1
- package/dist/sparkle-core/p-2bd4c60e.js +1 -0
- package/dist/sparkle-core/p-2c89a6c2.entry.js +1 -0
- package/dist/sparkle-core/p-308517b3.js +4 -0
- package/dist/sparkle-core/p-3227afcb.entry.js +1 -0
- package/dist/sparkle-core/{p-173d5461.entry.js → p-34d93a39.entry.js} +1 -1
- package/dist/sparkle-core/p-34ebfc8a.entry.js +1 -0
- package/dist/sparkle-core/p-351b82a8.entry.js +1 -0
- package/dist/sparkle-core/p-363a2d6d.js +4 -0
- package/dist/sparkle-core/p-36c48760.entry.js +1 -0
- package/dist/sparkle-core/p-3810777d.js +4 -0
- package/dist/sparkle-core/p-384911d7.entry.js +1 -0
- package/dist/sparkle-core/p-3b618eda.entry.js +1 -0
- package/dist/sparkle-core/p-3c752205.entry.js +1 -0
- package/dist/sparkle-core/{p-50aac721.entry.js → p-3d2c0e24.entry.js} +2 -2
- package/dist/sparkle-core/{p-350adbaa.entry.js → p-3eb56165.entry.js} +1 -1
- package/dist/sparkle-core/{p-ed0e9d29.entry.js → p-3ef53ebf.entry.js} +1 -1
- package/dist/sparkle-core/{p-fbd7eeca.entry.js → p-3fd92216.entry.js} +1 -1
- package/dist/sparkle-core/{p-1df05176.js → p-4338e1e3.js} +2 -2
- package/dist/sparkle-core/p-442eadcf.entry.js +1 -0
- package/dist/sparkle-core/{p-5f45d206.entry.js → p-4af496a8.entry.js} +1 -1
- package/dist/sparkle-core/{p-935e7cfc.js → p-4bd4dab2.js} +1 -1
- package/dist/sparkle-core/{p-18e62133.entry.js → p-4c9e010d.entry.js} +1 -1
- package/dist/sparkle-core/p-4d0dfbc9.js +1 -0
- package/dist/sparkle-core/{p-8c6b6038.js → p-4d4077ea.js} +0 -0
- package/dist/sparkle-core/p-4e0502b8.entry.js +4 -0
- package/dist/sparkle-core/p-506f3c5f.js +4 -0
- package/dist/sparkle-core/p-524a6174.entry.js +1 -0
- package/dist/sparkle-core/p-53aac9d7.entry.js +1 -0
- package/dist/sparkle-core/{p-0580419b.entry.js → p-56700a40.entry.js} +1 -1
- package/dist/sparkle-core/p-5722be24.entry.js +1 -0
- package/dist/sparkle-core/p-58389020.entry.js +348 -0
- package/dist/sparkle-core/{p-11cf398a.entry.js → p-58f74119.entry.js} +1 -1
- package/dist/sparkle-core/p-5979f253.entry.js +1 -0
- package/dist/sparkle-core/p-5a3de051.entry.js +4 -0
- package/dist/sparkle-core/p-5a850731.entry.js +1 -0
- package/dist/sparkle-core/{p-950effe7.entry.js → p-5dcf33fb.entry.js} +1 -1
- package/dist/sparkle-core/p-5e8fa1ac.entry.js +1 -0
- package/dist/sparkle-core/p-5ef50959.js +1 -0
- package/dist/sparkle-core/p-615b8f64.entry.js +1 -0
- package/dist/sparkle-core/{p-90389886.entry.js → p-63d8a5b7.entry.js} +1 -1
- package/dist/sparkle-core/p-6a337ad1.entry.js +1 -0
- package/dist/sparkle-core/p-6a5ace01.js +2 -0
- package/dist/sparkle-core/{p-d7baf31e.entry.js → p-6ae9c743.entry.js} +1 -1
- package/dist/sparkle-core/p-76206f80.entry.js +1 -0
- package/dist/sparkle-core/{p-99b43ee1.entry.js → p-767c9db8.entry.js} +1 -1
- package/dist/sparkle-core/p-76a6e202.entry.js +1 -0
- package/dist/sparkle-core/{p-ee0d7f19.entry.js → p-785f1879.entry.js} +1 -1
- package/dist/sparkle-core/p-788735b9.entry.js +1 -0
- package/dist/sparkle-core/{p-057f6a23.entry.js → p-7b21bd70.entry.js} +1 -1
- package/dist/sparkle-core/p-7b3d1457.js +1 -0
- package/dist/sparkle-core/p-7d8427eb.js +4 -0
- package/dist/sparkle-core/{p-5264da79.js → p-7e7ce516.js} +0 -0
- package/dist/sparkle-core/{p-838fa86d.entry.js → p-8cbe019a.entry.js} +5 -5
- package/dist/sparkle-core/{p-9c1772c3.js → p-8d630960.js} +1 -1
- package/dist/sparkle-core/{p-7052c43a.entry.js → p-8e42e634.entry.js} +1 -1
- package/dist/sparkle-core/p-8e56f9ee.entry.js +1 -0
- package/dist/sparkle-core/p-8ed0cefb.entry.js +1 -0
- package/dist/sparkle-core/{p-d4c07aca.js → p-924b2917.js} +0 -0
- package/dist/sparkle-core/p-9484e34b.entry.js +1 -0
- package/dist/sparkle-core/p-966817ec.js +1 -0
- package/dist/sparkle-core/p-969e98e5.entry.js +1 -0
- package/dist/sparkle-core/p-98f3925b.js +4 -0
- package/dist/sparkle-core/{p-a1cab0f3.js → p-99231c00.js} +2 -2
- package/dist/sparkle-core/p-9a383065.entry.js +7 -0
- package/dist/sparkle-core/p-9b4979b5.entry.js +4 -0
- package/dist/sparkle-core/{p-c69b0a7a.entry.js → p-9cd95e7e.entry.js} +1 -1
- package/dist/sparkle-core/p-9dc42d70.entry.js +1 -0
- package/dist/sparkle-core/p-9eea81f2.js +1 -0
- package/dist/sparkle-core/{p-797c23ed.entry.js → p-9ef14088.entry.js} +1 -1
- package/dist/sparkle-core/p-a05871e6.js +1 -0
- package/dist/sparkle-core/p-a111c567.entry.js +1 -0
- package/dist/sparkle-core/{p-1af044f7.js → p-a19b42f0.js} +1 -1
- package/dist/sparkle-core/p-a208ab2d.js +4 -0
- package/dist/sparkle-core/p-a2f7c751.entry.js +1 -0
- package/dist/sparkle-core/p-a458b415.entry.js +1 -0
- package/dist/sparkle-core/p-a6c1a55a.entry.js +5 -0
- package/dist/sparkle-core/{p-145e40f5.entry.js → p-ab3a8f5e.entry.js} +1 -1
- package/dist/sparkle-core/p-ac0e4d8c.entry.js +1 -0
- package/dist/sparkle-core/p-add30d46.js +4 -0
- package/dist/sparkle-core/{p-5b40aae5.entry.js → p-b00d0a47.entry.js} +1 -1
- package/dist/sparkle-core/p-b2827978.entry.js +1 -0
- package/dist/sparkle-core/p-b8ba8164.entry.js +1 -0
- package/dist/sparkle-core/{p-6823e6c1.entry.js → p-ba775d8e.entry.js} +1 -1
- package/dist/sparkle-core/{p-37c00e39.entry.js → p-bae8cd7d.entry.js} +1 -1
- package/dist/sparkle-core/p-bb3e3482.entry.js +1 -0
- package/dist/sparkle-core/p-bb575dba.entry.js +1 -0
- package/dist/sparkle-core/p-bd2c8e30.entry.js +10 -0
- package/dist/sparkle-core/p-c48352cf.js +4 -0
- package/dist/sparkle-core/{p-667accac.entry.js → p-c5eb4404.entry.js} +1 -1
- package/dist/sparkle-core/p-c8ad5a5b.entry.js +4 -0
- package/dist/sparkle-core/p-c9f474d0.js +4 -0
- package/dist/sparkle-core/p-ca0edc9b.entry.js +1 -0
- package/dist/sparkle-core/{p-680663a2.entry.js → p-cb04b18a.entry.js} +1 -1
- package/dist/sparkle-core/{p-b3909012.entry.js → p-d0d0e5e5.entry.js} +1 -1
- package/dist/sparkle-core/{p-7d61177b.entry.js → p-d220a642.entry.js} +1 -1
- package/dist/sparkle-core/p-d38a2511.entry.js +1 -0
- package/dist/sparkle-core/{p-b07a2cf2.entry.js → p-d5b8302f.entry.js} +1 -1
- package/dist/sparkle-core/p-d5ba8e80.entry.js +1 -0
- package/dist/sparkle-core/{p-3a202a38.entry.js → p-d6637b48.entry.js} +1 -1
- package/dist/sparkle-core/p-d6788642.entry.js +1 -0
- package/dist/sparkle-core/p-d6a3a639.entry.js +1 -0
- package/dist/sparkle-core/p-d86f8633.entry.js +1 -0
- package/dist/sparkle-core/{p-9cfdeb18.entry.js → p-defeaa5c.entry.js} +1 -1
- package/dist/sparkle-core/p-df5cfa7f.entry.js +1 -0
- package/dist/sparkle-core/p-df5efe0d.entry.js +1 -0
- package/dist/sparkle-core/p-dff8325e.js +4 -0
- package/dist/sparkle-core/p-e09de7ac.js +1 -0
- package/dist/sparkle-core/{p-016a7aaf.entry.js → p-e1743d82.entry.js} +1 -1
- package/dist/sparkle-core/p-e28a106d.entry.js +1 -0
- package/dist/sparkle-core/p-e566c0b3.entry.js +1 -0
- package/dist/sparkle-core/{p-bca0e465.entry.js → p-e6d39f6e.entry.js} +1 -1
- package/dist/sparkle-core/p-e9431eeb.js +7 -0
- package/dist/sparkle-core/p-ea4a9f0d.entry.js +1 -0
- package/dist/sparkle-core/p-ea7d7a3b.js +1 -0
- package/dist/sparkle-core/p-eaa8bbee.js +4 -0
- package/dist/sparkle-core/p-ed3dfd89.js +4 -0
- package/dist/sparkle-core/{p-3defe550.entry.js → p-efe37368.entry.js} +1 -1
- package/dist/sparkle-core/p-f187d129.entry.js +1 -0
- package/dist/sparkle-core/{p-a9ccb0df.js → p-f3cba72a.js} +0 -0
- package/dist/sparkle-core/{p-052caa63.js → p-f5e7bfa5.js} +1 -1
- package/dist/sparkle-core/{p-ecd39170.entry.js → p-f63a13d8.entry.js} +1 -1
- package/dist/sparkle-core/{p-1726da2f.entry.js → p-fdb9a613.entry.js} +1 -1
- package/dist/sparkle-core/p-fde96f7c.js +4 -0
- package/dist/sparkle-core/{p-aa87c7f0.entry.js → p-fe214d79.entry.js} +1 -1
- package/dist/sparkle-core/p-fe3a7bca.js +1 -0
- package/dist/sparkle-core/{p-aa9ebc39.entry.js → p-fea20ec2.entry.js} +1 -1
- package/dist/sparkle-core/p-ff26d891.entry.js +1 -0
- package/dist/sparkle-core/sparkle-core.css +1 -1
- package/dist/sparkle-core/sparkle-core.esm.js +1 -1
- package/dist/types/components/sparkle-feed-post/sparkle-feed-post.d.ts +16 -0
- package/dist/types/components/sparkle-intro/sparkle-intro.d.ts +7 -0
- package/dist/types/components.d.ts +73 -11
- package/package.json +3 -3
- package/dist/cjs/ion-card-title.cjs.entry.js +0 -30
- package/dist/cjs/ion-textarea.cjs.entry.js +0 -247
- package/dist/cjs/ion-toggle.cjs.entry.js +0 -160
- package/dist/cjs/sparkle-feed-post.cjs.entry.js +0 -19
- package/dist/cjs/student.service-744c3155.js +0 -77
- package/dist/esm/ion-card-title.entry.js +0 -26
- package/dist/esm/ion-textarea.entry.js +0 -243
- package/dist/esm/ion-toggle.entry.js +0 -156
- package/dist/esm/sparkle-feed-post.entry.js +0 -15
- package/dist/sparkle-core/p-0187adef.entry.js +0 -1
- package/dist/sparkle-core/p-03189863.js +0 -1
- package/dist/sparkle-core/p-03ec54a8.entry.js +0 -1
- package/dist/sparkle-core/p-04583c51.entry.js +0 -1
- package/dist/sparkle-core/p-063cd168.js +0 -4
- package/dist/sparkle-core/p-081968cc.entry.js +0 -1
- package/dist/sparkle-core/p-0934f5dd.entry.js +0 -1
- package/dist/sparkle-core/p-0f899097.entry.js +0 -352
- package/dist/sparkle-core/p-1339830f.entry.js +0 -1
- package/dist/sparkle-core/p-1b78dea1.entry.js +0 -1
- package/dist/sparkle-core/p-1cef8572.js +0 -4
- package/dist/sparkle-core/p-21bf4ca0.entry.js +0 -1
- package/dist/sparkle-core/p-21db4e8e.entry.js +0 -1
- package/dist/sparkle-core/p-23a9f7d1.entry.js +0 -1
- package/dist/sparkle-core/p-289a35ed.entry.js +0 -1
- package/dist/sparkle-core/p-2ee6a5f9.entry.js +0 -1
- package/dist/sparkle-core/p-35a7bd6c.entry.js +0 -1
- package/dist/sparkle-core/p-389500fd.js +0 -4
- package/dist/sparkle-core/p-45e6db62.entry.js +0 -1
- package/dist/sparkle-core/p-48f9b960.entry.js +0 -1
- package/dist/sparkle-core/p-4dc3ef96.entry.js +0 -1
- package/dist/sparkle-core/p-547b70c6.entry.js +0 -1
- package/dist/sparkle-core/p-5598650a.entry.js +0 -1
- package/dist/sparkle-core/p-55ae49e1.js +0 -4
- package/dist/sparkle-core/p-58e98f89.entry.js +0 -1
- package/dist/sparkle-core/p-59f7bf6e.entry.js +0 -1
- package/dist/sparkle-core/p-5a3d0e6b.js +0 -4
- package/dist/sparkle-core/p-5d2e54ee.entry.js +0 -1
- package/dist/sparkle-core/p-62a6c96f.entry.js +0 -1
- package/dist/sparkle-core/p-64e72f8f.js +0 -4
- package/dist/sparkle-core/p-660e0742.js +0 -1
- package/dist/sparkle-core/p-6bf07a28.js +0 -1
- package/dist/sparkle-core/p-6c6145cd.js +0 -4
- package/dist/sparkle-core/p-6c90bde6.entry.js +0 -5
- package/dist/sparkle-core/p-6e88764b.entry.js +0 -4
- package/dist/sparkle-core/p-6ee40949.js +0 -1
- package/dist/sparkle-core/p-6fbe3ca3.entry.js +0 -1
- package/dist/sparkle-core/p-6fd4985d.js +0 -4
- package/dist/sparkle-core/p-70b2452c.js +0 -4
- package/dist/sparkle-core/p-7493ee15.entry.js +0 -1
- package/dist/sparkle-core/p-75572037.js +0 -1
- package/dist/sparkle-core/p-768bcc9e.entry.js +0 -1
- package/dist/sparkle-core/p-7e61973d.entry.js +0 -7
- package/dist/sparkle-core/p-855ca600.js +0 -1
- package/dist/sparkle-core/p-857f3696.entry.js +0 -1
- package/dist/sparkle-core/p-8fe2e51f.entry.js +0 -4
- package/dist/sparkle-core/p-932bfb69.entry.js +0 -1
- package/dist/sparkle-core/p-941eaa3a.entry.js +0 -1
- package/dist/sparkle-core/p-95004267.entry.js +0 -1
- package/dist/sparkle-core/p-996361f9.entry.js +0 -1
- package/dist/sparkle-core/p-9a17f2ad.js +0 -4
- package/dist/sparkle-core/p-9babd345.js +0 -1
- package/dist/sparkle-core/p-a080e768.entry.js +0 -1
- package/dist/sparkle-core/p-a7cc0052.entry.js +0 -4
- package/dist/sparkle-core/p-ae1f145d.entry.js +0 -1
- package/dist/sparkle-core/p-b3e6427d.js +0 -7
- package/dist/sparkle-core/p-b49ca0ea.entry.js +0 -1
- package/dist/sparkle-core/p-b81e20fe.entry.js +0 -4
- package/dist/sparkle-core/p-c1279cc9.entry.js +0 -1
- package/dist/sparkle-core/p-c1376096.entry.js +0 -1
- package/dist/sparkle-core/p-c3986a52.entry.js +0 -1
- package/dist/sparkle-core/p-c3d3d5c4.entry.js +0 -1
- package/dist/sparkle-core/p-c5b9bdd6.entry.js +0 -1
- package/dist/sparkle-core/p-cbbeed67.entry.js +0 -1
- package/dist/sparkle-core/p-d4a435f8.entry.js +0 -1
- package/dist/sparkle-core/p-d5b05ece.entry.js +0 -5
- package/dist/sparkle-core/p-d8d3524a.js +0 -1
- package/dist/sparkle-core/p-e0fced48.entry.js +0 -1
- package/dist/sparkle-core/p-e1cba44b.entry.js +0 -4
- package/dist/sparkle-core/p-e3fdd0a8.entry.js +0 -1
- package/dist/sparkle-core/p-e6b66cef.entry.js +0 -1
- package/dist/sparkle-core/p-e72d4450.js +0 -4
- package/dist/sparkle-core/p-eb70a23c.entry.js +0 -1
- package/dist/sparkle-core/p-f4001fdf.js +0 -4
- package/dist/sparkle-core/p-f9b73032.entry.js +0 -1
- package/dist/sparkle-core/p-faa912d7.entry.js +0 -1
- package/dist/sparkle-core/p-fc933591.entry.js +0 -1
- package/dist/sparkle-core/p-fef04ab5.js +0 -4
@@ -26,7 +26,7 @@ const sanitizeDOMString = (untrustedString) => {
|
|
26
26
|
* Remove any elements
|
27
27
|
* that are blocked
|
28
28
|
*/
|
29
|
-
blockedTags.forEach(blockedTag => {
|
29
|
+
blockedTags.forEach((blockedTag) => {
|
30
30
|
const getElementsToRemove = documentFragment.querySelectorAll(blockedTag);
|
31
31
|
for (let elementIndex = getElementsToRemove.length - 1; elementIndex >= 0; elementIndex--) {
|
32
32
|
const element = getElementsToRemove[elementIndex];
|
@@ -42,7 +42,7 @@ const sanitizeDOMString = (untrustedString) => {
|
|
42
42
|
* as they are left behind
|
43
43
|
*/
|
44
44
|
const childElements = getElementChildren(element);
|
45
|
-
/*
|
45
|
+
/* eslint-disable-next-line */
|
46
46
|
for (let childIndex = 0; childIndex < childElements.length; childIndex++) {
|
47
47
|
sanitizeElement(childElements[childIndex]);
|
48
48
|
}
|
@@ -54,7 +54,7 @@ const sanitizeDOMString = (untrustedString) => {
|
|
54
54
|
*/
|
55
55
|
// IE does not support .children on document fragments, only .childNodes
|
56
56
|
const dfChildren = getElementChildren(documentFragment);
|
57
|
-
/*
|
57
|
+
/* eslint-disable-next-line */
|
58
58
|
for (let childIndex = 0; childIndex < dfChildren.length; childIndex++) {
|
59
59
|
sanitizeElement(dfChildren[childIndex]);
|
60
60
|
}
|
@@ -63,7 +63,7 @@ const sanitizeDOMString = (untrustedString) => {
|
|
63
63
|
fragmentDiv.appendChild(documentFragment);
|
64
64
|
// First child is always the div we did our work in
|
65
65
|
const getInnerDiv = fragmentDiv.querySelector('div');
|
66
|
-
return
|
66
|
+
return getInnerDiv !== null ? getInnerDiv.innerHTML : fragmentDiv.innerHTML;
|
67
67
|
}
|
68
68
|
catch (err) {
|
69
69
|
console.error(err);
|
@@ -91,7 +91,7 @@ const sanitizeElement = (element) => {
|
|
91
91
|
// clean up any allowed attribs
|
92
92
|
// that attempt to do any JS funny-business
|
93
93
|
const attributeValue = attribute.value;
|
94
|
-
/*
|
94
|
+
/* eslint-disable-next-line */
|
95
95
|
if (attributeValue != null && attributeValue.toLowerCase().includes('javascript:')) {
|
96
96
|
element.removeAttribute(attributeName);
|
97
97
|
}
|
@@ -100,7 +100,7 @@ const sanitizeElement = (element) => {
|
|
100
100
|
* Sanitize any nested children
|
101
101
|
*/
|
102
102
|
const childElements = getElementChildren(element);
|
103
|
-
/*
|
103
|
+
/* eslint-disable-next-line */
|
104
104
|
for (let i = 0; i < childElements.length; i++) {
|
105
105
|
sanitizeElement(childElements[i]);
|
106
106
|
}
|
@@ -110,11 +110,12 @@ const sanitizeElement = (element) => {
|
|
110
110
|
* so we revert to .childNodes instead
|
111
111
|
*/
|
112
112
|
const getElementChildren = (el) => {
|
113
|
-
return
|
113
|
+
return el.children != null ? el.children : el.childNodes;
|
114
114
|
};
|
115
115
|
const isSanitizerEnabled = () => {
|
116
|
+
var _a;
|
116
117
|
const win = window;
|
117
|
-
const config = win
|
118
|
+
const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
|
118
119
|
if (config) {
|
119
120
|
if (config.get) {
|
120
121
|
return config.get('sanitizerEnabled', true);
|
@@ -0,0 +1,128 @@
|
|
1
|
+
import { c as componentOnReady } from './helpers-94a5855b.js';
|
2
|
+
import { b as printRequiredElementError } from './index-dad75b83.js';
|
3
|
+
|
4
|
+
/*!
|
5
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
6
|
+
*/
|
7
|
+
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
8
|
+
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
9
|
+
const ION_CONTENT_CLASS_SELECTOR = '.ion-content-scroll-host';
|
10
|
+
/**
|
11
|
+
* Selector used for implementations reliant on `<ion-content>` for scroll event changes.
|
12
|
+
*
|
13
|
+
* Developers should use the `.ion-content-scroll-host` selector to target the element emitting
|
14
|
+
* scroll events. With virtual scroll implementations this will be the host element for
|
15
|
+
* the scroll viewport.
|
16
|
+
*/
|
17
|
+
const ION_CONTENT_SELECTOR = `${ION_CONTENT_ELEMENT_SELECTOR}, ${ION_CONTENT_CLASS_SELECTOR}`;
|
18
|
+
const isIonContent = (el) => el && el.tagName === ION_CONTENT_TAG_NAME;
|
19
|
+
/**
|
20
|
+
* Waits for the element host fully initialize before
|
21
|
+
* returning the inner scroll element.
|
22
|
+
*
|
23
|
+
* For `ion-content` the scroll target will be the result
|
24
|
+
* of the `getScrollElement` function.
|
25
|
+
*
|
26
|
+
* For custom implementations it will be the element host
|
27
|
+
* or a selector within the host, if supplied through `scrollTarget`.
|
28
|
+
*/
|
29
|
+
const getScrollElement = async (el) => {
|
30
|
+
if (isIonContent(el)) {
|
31
|
+
await new Promise((resolve) => componentOnReady(el, resolve));
|
32
|
+
return el.getScrollElement();
|
33
|
+
}
|
34
|
+
return el;
|
35
|
+
};
|
36
|
+
/**
|
37
|
+
* Queries the element matching the selector for IonContent.
|
38
|
+
* See ION_CONTENT_SELECTOR for the selector used.
|
39
|
+
*/
|
40
|
+
const findIonContent = (el) => {
|
41
|
+
/**
|
42
|
+
* First we try to query the custom scroll host selector in cases where
|
43
|
+
* the implementation is using an outer `ion-content` with an inner custom
|
44
|
+
* scroll container.
|
45
|
+
*/
|
46
|
+
const customContentHost = el.querySelector(ION_CONTENT_CLASS_SELECTOR);
|
47
|
+
if (customContentHost) {
|
48
|
+
return customContentHost;
|
49
|
+
}
|
50
|
+
return el.querySelector(ION_CONTENT_SELECTOR);
|
51
|
+
};
|
52
|
+
/**
|
53
|
+
* Queries the closest element matching the selector for IonContent.
|
54
|
+
*/
|
55
|
+
const findClosestIonContent = (el) => {
|
56
|
+
return el.closest(ION_CONTENT_SELECTOR);
|
57
|
+
};
|
58
|
+
/**
|
59
|
+
* Scrolls to the top of the element. If an `ion-content` is found, it will scroll
|
60
|
+
* using the public API `scrollToTop` with a duration.
|
61
|
+
*/
|
62
|
+
const scrollToTop = (el, durationMs) => {
|
63
|
+
if (isIonContent(el)) {
|
64
|
+
const content = el;
|
65
|
+
return content.scrollToTop(durationMs);
|
66
|
+
}
|
67
|
+
return Promise.resolve(el.scrollTo({
|
68
|
+
top: 0,
|
69
|
+
left: 0,
|
70
|
+
behavior: durationMs > 0 ? 'smooth' : 'auto',
|
71
|
+
}));
|
72
|
+
};
|
73
|
+
/**
|
74
|
+
* Scrolls by a specified X/Y distance in the component. If an `ion-content` is found, it will scroll
|
75
|
+
* using the public API `scrollByPoint` with a duration.
|
76
|
+
*/
|
77
|
+
const scrollByPoint = (el, x, y, durationMs) => {
|
78
|
+
if (isIonContent(el)) {
|
79
|
+
const content = el;
|
80
|
+
return content.scrollByPoint(x, y, durationMs);
|
81
|
+
}
|
82
|
+
return Promise.resolve(el.scrollBy({
|
83
|
+
top: y,
|
84
|
+
left: x,
|
85
|
+
behavior: durationMs > 0 ? 'smooth' : 'auto',
|
86
|
+
}));
|
87
|
+
};
|
88
|
+
/**
|
89
|
+
* Prints an error informing developers that an implementation requires an element to be used
|
90
|
+
* within either the `ion-content` selector or the `.ion-content-scroll-host` class.
|
91
|
+
*/
|
92
|
+
const printIonContentErrorMsg = (el) => {
|
93
|
+
return printRequiredElementError(el, ION_CONTENT_ELEMENT_SELECTOR);
|
94
|
+
};
|
95
|
+
/**
|
96
|
+
* Several components in Ionic need to prevent scrolling
|
97
|
+
* during a gesture (card modal, range, item sliding, etc).
|
98
|
+
* Use this utility to account for ion-content and custom content hosts.
|
99
|
+
*/
|
100
|
+
const disableContentScrollY = (contentEl) => {
|
101
|
+
if (isIonContent(contentEl)) {
|
102
|
+
const ionContent = contentEl;
|
103
|
+
const initialScrollY = ionContent.scrollY;
|
104
|
+
ionContent.scrollY = false;
|
105
|
+
/**
|
106
|
+
* This should be passed into resetContentScrollY
|
107
|
+
* so that we can revert ion-content's scrollY to the
|
108
|
+
* correct state. For example, if scrollY = false
|
109
|
+
* initially, we do not want to enable scrolling
|
110
|
+
* when we call resetContentScrollY.
|
111
|
+
*/
|
112
|
+
return initialScrollY;
|
113
|
+
}
|
114
|
+
else {
|
115
|
+
contentEl.style.setProperty('overflow', 'hidden');
|
116
|
+
return true;
|
117
|
+
}
|
118
|
+
};
|
119
|
+
const resetContentScrollY = (contentEl, initialScrollY) => {
|
120
|
+
if (isIonContent(contentEl)) {
|
121
|
+
contentEl.scrollY = initialScrollY;
|
122
|
+
}
|
123
|
+
else {
|
124
|
+
contentEl.style.removeProperty('overflow');
|
125
|
+
}
|
126
|
+
};
|
127
|
+
|
128
|
+
export { ION_CONTENT_ELEMENT_SELECTOR as I, findClosestIonContent as a, ION_CONTENT_CLASS_SELECTOR as b, scrollByPoint as c, disableContentScrollY as d, findIonContent as f, getScrollElement as g, isIonContent as i, printIonContentErrorMsg as p, resetContentScrollY as r, scrollToTop as s };
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/*!
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
3
|
+
*/
|
4
|
+
/**
|
5
|
+
* Logs a warning to the console with an Ionic prefix
|
6
|
+
* to indicate the library that is warning the developer.
|
7
|
+
*
|
8
|
+
* @param message - The string message to be logged to the console.
|
9
|
+
*/
|
10
|
+
const printIonWarning = (message, ...params) => {
|
11
|
+
return console.warn(`[Ionic Warning]: ${message}`, ...params);
|
12
|
+
};
|
13
|
+
/*
|
14
|
+
* Logs an error to the console with an Ionic prefix
|
15
|
+
* to indicate the library that is warning the developer.
|
16
|
+
*
|
17
|
+
* @param message - The string message to be logged to the console.
|
18
|
+
* @param params - Additional arguments to supply to the console.error.
|
19
|
+
*/
|
20
|
+
const printIonError = (message, ...params) => {
|
21
|
+
return console.error(`[Ionic Error]: ${message}`, ...params);
|
22
|
+
};
|
23
|
+
/**
|
24
|
+
* Prints an error informing developers that an implementation requires an element to be used
|
25
|
+
* within a specific selector.
|
26
|
+
*
|
27
|
+
* @param el The web component element this is requiring the element.
|
28
|
+
* @param targetSelectors The selector or selectors that were not found.
|
29
|
+
*/
|
30
|
+
const printRequiredElementError = (el, ...targetSelectors) => {
|
31
|
+
return console.error(`<${el.tagName.toLowerCase()}> must be used inside ${targetSelectors.join(' or ')}.`);
|
32
|
+
};
|
33
|
+
|
34
|
+
export { printIonWarning as a, printRequiredElementError as b, printIonError as p };
|
@@ -1,10 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
import './
|
3
|
-
import './ionic-global-0939c477.js';
|
4
|
-
import './index-5568e3fa.js';
|
5
|
-
import './hardware-back-button-b6ccf74a.js';
|
6
|
-
import './helpers-39367fe1.js';
|
7
|
-
import './environment-config.service-2b5d692b.js';
|
1
|
+
import { d as commonjsGlobal, b as createCommonjsModule, g as getDefaultExportFromCjs } from './auth.store-b812b34b.js';
|
2
|
+
import './index-9db08224.js';
|
8
3
|
|
9
4
|
var check = function (it) {
|
10
5
|
return it && it.Math == Math && it;
|
package/dist/esm/index.js
CHANGED
@@ -1,10 +1,12 @@
|
|
1
|
-
export { A as AuthService,
|
1
|
+
export { A as AuthService, i as initSetupEnvironmentConfig, s as setupEnvironmentConfig } from './auth.service-79389d86.js';
|
2
2
|
export { E as EnvironmentConfigService } from './environment-config.service-2b5d692b.js';
|
3
3
|
export { A as AssetsService } from './assets.service-66e848b8.js';
|
4
|
-
export { A as AuthStore } from './auth.store-
|
5
|
-
|
4
|
+
export { A as AuthStore } from './auth.store-b812b34b.js';
|
5
|
+
export { P as PrivateRoute } from './PrivateRoute-530ef873.js';
|
6
|
+
import './index-9db08224.js';
|
6
7
|
import './localstorage.service-4bf408c8.js';
|
7
|
-
import './
|
8
|
-
import './
|
9
|
-
import './
|
10
|
-
import './
|
8
|
+
import './httpService-b2b7a1ad.js';
|
9
|
+
import './overlays-dfa730c8.js';
|
10
|
+
import './ionic-global-293e882b.js';
|
11
|
+
import './hardware-back-button-fa04d6e9.js';
|
12
|
+
import './helpers-94a5855b.js';
|
@@ -1,4 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { g as getScrollElement, c as scrollByPoint, a as findClosestIonContent } from './index-c23a1826.js';
|
2
|
+
import { a as addEventListener, r as removeEventListener, j as raf, q as pointerCoord, c as componentOnReady } from './helpers-94a5855b.js';
|
3
|
+
import './index-dad75b83.js';
|
2
4
|
|
3
5
|
/*!
|
4
6
|
* (C) Ionic http://ionicframework.com - MIT License
|
@@ -55,7 +57,9 @@ const removeClone = (componentEl, inputEl) => {
|
|
55
57
|
*/
|
56
58
|
const enableHideCaretOnScroll = (componentEl, inputEl, scrollEl) => {
|
57
59
|
if (!scrollEl || !inputEl) {
|
58
|
-
return () => {
|
60
|
+
return () => {
|
61
|
+
return;
|
62
|
+
};
|
59
63
|
}
|
60
64
|
const scrollHideCaret = (shouldHideCaret) => {
|
61
65
|
if (isFocused(inputEl)) {
|
@@ -151,11 +155,7 @@ const calcScrollData = (inputRect, contentRect, keyboardHeight, platformHeight)
|
|
151
155
|
const distanceToBottom = safeAreaBottom - inputBottom;
|
152
156
|
const distanceToTop = safeAreaTop - inputTop;
|
153
157
|
// desiredScrollAmount is the negated distance to the safe area according to our calculations.
|
154
|
-
const desiredScrollAmount = Math.round(
|
155
|
-
? -distanceToBottom
|
156
|
-
: (distanceToTop > 0)
|
157
|
-
? -distanceToTop
|
158
|
-
: 0);
|
158
|
+
const desiredScrollAmount = Math.round(distanceToBottom < 0 ? -distanceToBottom : distanceToTop > 0 ? -distanceToTop : 0);
|
159
159
|
// our calculations make some assumptions that aren't always true, like the keyboard being closed when an input
|
160
160
|
// gets focus, so make sure we don't scroll the input above the visible area
|
161
161
|
const scrollAmount = Math.min(desiredScrollAmount, inputTop - visibleAreaTop);
|
@@ -166,7 +166,7 @@ const calcScrollData = (inputRect, contentRect, keyboardHeight, platformHeight)
|
|
166
166
|
scrollAmount,
|
167
167
|
scrollDuration,
|
168
168
|
scrollPadding: keyboardHeight,
|
169
|
-
inputSafeY: -(inputTop - safeAreaTop) + 4
|
169
|
+
inputSafeY: -(inputTop - safeAreaTop) + 4,
|
170
170
|
};
|
171
171
|
};
|
172
172
|
|
@@ -188,12 +188,11 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
|
|
188
188
|
// focus this input if the pointer hasn't moved XX pixels
|
189
189
|
// and the input doesn't already have focus
|
190
190
|
if (!hasPointerMoved(6, coord, endCoord) && !isFocused(inputEl)) {
|
191
|
-
ev.stopPropagation();
|
192
191
|
// begin the input focus process
|
193
192
|
jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight);
|
194
193
|
}
|
195
194
|
};
|
196
|
-
componentEl.addEventListener('touchstart', touchStart, true);
|
195
|
+
componentEl.addEventListener('touchstart', touchStart, { capture: true, passive: true });
|
197
196
|
componentEl.addEventListener('touchend', touchEnd, true);
|
198
197
|
return () => {
|
199
198
|
componentEl.removeEventListener('touchstart', touchStart, true);
|
@@ -222,7 +221,6 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
|
|
222
221
|
* manually fire one here.
|
223
222
|
*/
|
224
223
|
raf(() => componentEl.click());
|
225
|
-
/* tslint:disable-next-line */
|
226
224
|
if (typeof window !== 'undefined') {
|
227
225
|
let scrollContentTimeout;
|
228
226
|
const scrollContent = async () => {
|
@@ -234,7 +232,7 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
|
|
234
232
|
window.removeEventListener('ionKeyboardDidShow', scrollContent);
|
235
233
|
// scroll the input into place
|
236
234
|
if (contentEl) {
|
237
|
-
await
|
235
|
+
await scrollByPoint(contentEl, 0, scrollData.scrollAmount, scrollData.scrollDuration);
|
238
236
|
}
|
239
237
|
// the scroll view is in the correct position now
|
240
238
|
// give the native text input focus
|
@@ -247,7 +245,7 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
|
|
247
245
|
window.addEventListener('ionKeyboardDidShow', scrollContent);
|
248
246
|
};
|
249
247
|
if (contentEl) {
|
250
|
-
const scrollEl = await
|
248
|
+
const scrollEl = await getScrollElement(contentEl);
|
251
249
|
/**
|
252
250
|
* scrollData will only consider the amount we need
|
253
251
|
* to scroll in order to properly bring the input
|
@@ -261,7 +259,7 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
|
|
261
259
|
* bandwidth to become available.
|
262
260
|
*/
|
263
261
|
const totalScrollAmount = scrollEl.scrollHeight - scrollEl.clientHeight;
|
264
|
-
if (scrollData.scrollAmount >
|
262
|
+
if (scrollData.scrollAmount > totalScrollAmount - scrollEl.scrollTop) {
|
265
263
|
/**
|
266
264
|
* On iOS devices, the system will show a "Passwords" bar above the keyboard
|
267
265
|
* after the initial keyboard is shown. This prevents the webview from resizing
|
@@ -290,10 +288,10 @@ const jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHei
|
|
290
288
|
};
|
291
289
|
const hasPointerMoved = (threshold, startCoord, endCoord) => {
|
292
290
|
if (startCoord && endCoord) {
|
293
|
-
const deltaX =
|
294
|
-
const deltaY =
|
291
|
+
const deltaX = startCoord.x - endCoord.x;
|
292
|
+
const deltaY = startCoord.y - endCoord.y;
|
295
293
|
const distance = deltaX * deltaX + deltaY * deltaY;
|
296
|
-
return distance >
|
294
|
+
return distance > threshold * threshold;
|
297
295
|
}
|
298
296
|
return false;
|
299
297
|
};
|
@@ -318,18 +316,17 @@ const enableScrollPadding = (keyboardHeight) => {
|
|
318
316
|
};
|
319
317
|
};
|
320
318
|
const setScrollPadding = (input, keyboardHeight) => {
|
319
|
+
var _a, _b;
|
321
320
|
if (input.tagName !== 'INPUT') {
|
322
321
|
return;
|
323
322
|
}
|
324
323
|
if (input.parentElement && input.parentElement.tagName === 'ION-INPUT') {
|
325
324
|
return;
|
326
325
|
}
|
327
|
-
if (input.parentElement
|
328
|
-
input.parentElement.parentElement &&
|
329
|
-
input.parentElement.parentElement.tagName === 'ION-SEARCHBAR') {
|
326
|
+
if (((_b = (_a = input.parentElement) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.tagName) === 'ION-SEARCHBAR') {
|
330
327
|
return;
|
331
328
|
}
|
332
|
-
const el = input
|
329
|
+
const el = findClosestIonContent(input);
|
333
330
|
if (el === null) {
|
334
331
|
return;
|
335
332
|
}
|
@@ -363,11 +360,11 @@ const startInputShims = (config) => {
|
|
363
360
|
const hideCaretMap = new WeakMap();
|
364
361
|
const scrollAssistMap = new WeakMap();
|
365
362
|
const registerInput = async (componentEl) => {
|
366
|
-
await new Promise(resolve => componentOnReady(componentEl, resolve));
|
363
|
+
await new Promise((resolve) => componentOnReady(componentEl, resolve));
|
367
364
|
const inputRoot = componentEl.shadowRoot || componentEl;
|
368
365
|
const inputEl = inputRoot.querySelector('input') || inputRoot.querySelector('textarea');
|
369
|
-
const scrollEl = componentEl
|
370
|
-
const footerEl =
|
366
|
+
const scrollEl = findClosestIonContent(componentEl);
|
367
|
+
const footerEl = !scrollEl ? componentEl.closest('ion-footer') : null;
|
371
368
|
if (!inputEl) {
|
372
369
|
return;
|
373
370
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { r as registerInstance,
|
2
|
-
import { g as getIonMode } from './ionic-global-
|
1
|
+
import { r as registerInstance, e as createEvent, h, H as Host, i as getElement } from './index-9db08224.js';
|
2
|
+
import { g as getIonMode } from './ionic-global-293e882b.js';
|
3
3
|
|
4
4
|
const accordionGroupIosCss = ":host{display:block}:host(.accordion-group-expand-inset){margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.accordion-group-expand-inset){margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}";
|
5
5
|
|
@@ -65,7 +65,17 @@ const AccordionGroup = class {
|
|
65
65
|
if (!activeElement) {
|
66
66
|
return;
|
67
67
|
}
|
68
|
-
|
68
|
+
/**
|
69
|
+
* Make sure focus is in the header, not the body, of the accordion. This ensures
|
70
|
+
* that if there are any interactable elements in the body, their keyboard
|
71
|
+
* interaction doesn't get stolen by the accordion. Example: using up/down keys
|
72
|
+
* in ion-textarea.
|
73
|
+
*/
|
74
|
+
const activeAccordionHeader = activeElement.closest('ion-accordion [slot="header"]');
|
75
|
+
if (!activeAccordionHeader) {
|
76
|
+
return;
|
77
|
+
}
|
78
|
+
const accordionEl = activeElement.tagName === 'ION-ACCORDION' ? activeElement : activeElement.closest('ion-accordion');
|
69
79
|
if (!accordionEl) {
|
70
80
|
return;
|
71
81
|
}
|
@@ -75,7 +85,7 @@ const AccordionGroup = class {
|
|
75
85
|
}
|
76
86
|
// If the active accordion is not in the current array of accordions, do not do anything
|
77
87
|
const accordions = await this.getAccordions();
|
78
|
-
const startingIndex = accordions.findIndex(a => a === accordionEl);
|
88
|
+
const startingIndex = accordions.findIndex((a) => a === accordionEl);
|
79
89
|
if (startingIndex === -1) {
|
80
90
|
return;
|
81
91
|
}
|
@@ -122,7 +132,7 @@ const AccordionGroup = class {
|
|
122
132
|
if (multiple) {
|
123
133
|
const groupValue = value || [];
|
124
134
|
const processedValue = Array.isArray(groupValue) ? groupValue : [groupValue];
|
125
|
-
const valueExists = processedValue.find(v => v === accordionValue);
|
135
|
+
const valueExists = processedValue.find((v) => v === accordionValue);
|
126
136
|
if (valueExists === undefined && accordionValue !== undefined) {
|
127
137
|
this.value = [...processedValue, accordionValue];
|
128
138
|
}
|
@@ -139,7 +149,7 @@ const AccordionGroup = class {
|
|
139
149
|
if (multiple) {
|
140
150
|
const groupValue = value || [];
|
141
151
|
const processedValue = Array.isArray(groupValue) ? groupValue : [groupValue];
|
142
|
-
this.value = processedValue.filter(v => v !== accordionValue);
|
152
|
+
this.value = processedValue.filter((v) => v !== accordionValue);
|
143
153
|
}
|
144
154
|
else {
|
145
155
|
this.value = undefined;
|
@@ -148,7 +158,6 @@ const AccordionGroup = class {
|
|
148
158
|
}
|
149
159
|
findNextAccordion(accordions, startingIndex) {
|
150
160
|
const nextAccordion = accordions[startingIndex + 1];
|
151
|
-
// tslint:disable-next-line:strict-type-predicates
|
152
161
|
if (nextAccordion === undefined) {
|
153
162
|
return accordions[0];
|
154
163
|
}
|
@@ -156,7 +165,6 @@ const AccordionGroup = class {
|
|
156
165
|
}
|
157
166
|
findPreviousAccordion(accordions, startingIndex) {
|
158
167
|
const prevAccordion = accordions[startingIndex - 1];
|
159
|
-
// tslint:disable-next-line:strict-type-predicates
|
160
168
|
if (prevAccordion === undefined) {
|
161
169
|
return accordions[accordions.length - 1];
|
162
170
|
}
|
@@ -175,7 +183,7 @@ const AccordionGroup = class {
|
|
175
183
|
[mode]: true,
|
176
184
|
'accordion-group-disabled': disabled,
|
177
185
|
'accordion-group-readonly': readonly,
|
178
|
-
[`accordion-group-expand-${expand}`]: true
|
186
|
+
[`accordion-group-expand-${expand}`]: true,
|
179
187
|
}, role: "presentation" }, h("slot", null)));
|
180
188
|
}
|
181
189
|
get el() { return getElement(this); }
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { r as registerInstance, h, H as Host,
|
2
|
-
import {
|
3
|
-
import { c as config, g as getIonMode } from './ionic-global-
|
4
|
-
import {
|
1
|
+
import { r as registerInstance, h, H as Host, i as getElement } from './index-9db08224.js';
|
2
|
+
import { b as chevronDown } from './index-4ec6b9c2.js';
|
3
|
+
import { c as config, g as getIonMode } from './ionic-global-293e882b.js';
|
4
|
+
import { j as raf, a as addEventListener, r as removeEventListener, g as getElementRoot, t as transitionEndAsync } from './helpers-94a5855b.js';
|
5
5
|
|
6
6
|
const accordionIosCss = ":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}";
|
7
7
|
|
@@ -76,7 +76,8 @@ const Accordion = class {
|
|
76
76
|
return;
|
77
77
|
}
|
78
78
|
// This is not defined in unit tests
|
79
|
-
const ionItem = slot.assignedElements &&
|
79
|
+
const ionItem = slot.assignedElements &&
|
80
|
+
slot.assignedElements().find((el) => el.tagName === 'ION-ITEM');
|
80
81
|
return ionItem;
|
81
82
|
};
|
82
83
|
this.setAria = (expanded = false) => {
|
@@ -118,17 +119,14 @@ const Accordion = class {
|
|
118
119
|
ionItem.appendChild(iconEl);
|
119
120
|
};
|
120
121
|
this.expandAccordion = (initialUpdate = false) => {
|
121
|
-
|
122
|
+
const { contentEl, contentElWrapper } = this;
|
123
|
+
if (initialUpdate || contentEl === undefined || contentElWrapper === undefined) {
|
122
124
|
this.state = 4 /* Expanded */;
|
123
125
|
return;
|
124
126
|
}
|
125
127
|
if (this.state === 4 /* Expanded */) {
|
126
128
|
return;
|
127
129
|
}
|
128
|
-
const { contentEl, contentElWrapper } = this;
|
129
|
-
if (contentEl === undefined || contentElWrapper === undefined) {
|
130
|
-
return;
|
131
|
-
}
|
132
130
|
if (this.currentRaf !== undefined) {
|
133
131
|
cancelAnimationFrame(this.currentRaf);
|
134
132
|
}
|
@@ -150,17 +148,14 @@ const Accordion = class {
|
|
150
148
|
}
|
151
149
|
};
|
152
150
|
this.collapseAccordion = (initialUpdate = false) => {
|
153
|
-
|
151
|
+
const { contentEl } = this;
|
152
|
+
if (initialUpdate || contentEl === undefined) {
|
154
153
|
this.state = 1 /* Collapsed */;
|
155
154
|
return;
|
156
155
|
}
|
157
156
|
if (this.state === 1 /* Collapsed */) {
|
158
157
|
return;
|
159
158
|
}
|
160
|
-
const { contentEl } = this;
|
161
|
-
if (contentEl === undefined) {
|
162
|
-
return;
|
163
|
-
}
|
164
159
|
if (this.currentRaf !== undefined) {
|
165
160
|
cancelAnimationFrame(this.currentRaf);
|
166
161
|
}
|
@@ -212,7 +207,7 @@ const Accordion = class {
|
|
212
207
|
return;
|
213
208
|
}
|
214
209
|
const value = accordionGroup.value;
|
215
|
-
const shouldExpand =
|
210
|
+
const shouldExpand = Array.isArray(value) ? value.includes(accordionValue) : value === accordionValue;
|
216
211
|
if (shouldExpand) {
|
217
212
|
this.expandAccordion(initialUpdate);
|
218
213
|
this.isNext = this.isPrevious = false;
|
@@ -227,14 +222,14 @@ const Accordion = class {
|
|
227
222
|
* next or previous accordion is selected.
|
228
223
|
*/
|
229
224
|
const nextAccordion = this.getNextSibling();
|
230
|
-
const nextAccordionValue = nextAccordion
|
225
|
+
const nextAccordionValue = nextAccordion === null || nextAccordion === void 0 ? void 0 : nextAccordion.value;
|
231
226
|
if (nextAccordionValue !== undefined) {
|
232
|
-
this.isPrevious =
|
227
|
+
this.isPrevious = Array.isArray(value) ? value.includes(nextAccordionValue) : value === nextAccordionValue;
|
233
228
|
}
|
234
229
|
const previousAccordion = this.getPreviousSibling();
|
235
|
-
const previousAccordionValue = previousAccordion
|
230
|
+
const previousAccordionValue = previousAccordion === null || previousAccordion === void 0 ? void 0 : previousAccordion.value;
|
236
231
|
if (previousAccordionValue !== undefined) {
|
237
|
-
this.isNext =
|
232
|
+
this.isNext = Array.isArray(value) ? value.includes(previousAccordionValue) : value === previousAccordionValue;
|
238
233
|
}
|
239
234
|
}
|
240
235
|
};
|
@@ -260,7 +255,8 @@ const Accordion = class {
|
|
260
255
|
};
|
261
256
|
}
|
262
257
|
connectedCallback() {
|
263
|
-
|
258
|
+
var _a;
|
259
|
+
const accordionGroupEl = (this.accordionGroupEl = (_a = this.el) === null || _a === void 0 ? void 0 : _a.closest('ion-accordion-group'));
|
264
260
|
if (accordionGroupEl) {
|
265
261
|
this.updateState(true);
|
266
262
|
addEventListener(accordionGroupEl, 'ionChange', this.updateListener);
|
@@ -321,8 +317,8 @@ const Accordion = class {
|
|
321
317
|
'accordion-previous': this.isPrevious,
|
322
318
|
'accordion-disabled': disabled,
|
323
319
|
'accordion-readonly': readonly,
|
324
|
-
'accordion-animated': config.getBoolean('animated', true)
|
325
|
-
} }, h("div", { onClick: () => this.toggleExpanded(), id: "header", part: headerPart, "aria-controls": "content", ref: headerEl => this.headerEl = headerEl }, h("slot", { name: "header" })), h("div", { id: "content", part: contentPart, role: "region", "aria-labelledby": "header", ref: contentEl => this.contentEl = contentEl }, h("div", { id: "content-wrapper", ref: contentElWrapper => this.contentElWrapper = contentElWrapper }, h("slot", { name: "content" })))));
|
320
|
+
'accordion-animated': config.getBoolean('animated', true),
|
321
|
+
} }, h("div", { onClick: () => this.toggleExpanded(), id: "header", part: headerPart, "aria-controls": "content", ref: (headerEl) => (this.headerEl = headerEl) }, h("slot", { name: "header" })), h("div", { id: "content", part: contentPart, role: "region", "aria-labelledby": "header", ref: (contentEl) => (this.contentEl = contentEl) }, h("div", { id: "content-wrapper", ref: (contentElWrapper) => (this.contentElWrapper = contentElWrapper) }, h("slot", { name: "content" })))));
|
326
322
|
}
|
327
323
|
static get delegatesFocus() { return true; }
|
328
324
|
get el() { return getElement(this); }
|