@sparkle-learning/core 0.0.33 → 0.0.36
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/{auth.service-f878f6ab.js → PrivateRoute-074c584e.js} +34 -3
- 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/{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/{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/{sparkle-export-lessons_6.cjs.entry.js → header-mobile-collapse_61.cjs.entry.js} +11608 -2721
- 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-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 +12 -12
- package/dist/cjs/{index.es-ef3efdfb.js → index.es-38cbcdbe.js} +2 -7
- 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-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-card-title.cjs.entry.js +4 -4
- package/dist/cjs/ion-chip.cjs.entry.js +3 -3
- 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-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-textarea.cjs.entry.js +29 -28
- package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +23 -43
- package/dist/cjs/ion-toggle.cjs.entry.js +36 -19
- 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/{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-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-emoji.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +8 -7
- package/dist/cjs/sparkle-feed-post.cjs.entry.js +104 -3
- package/dist/cjs/sparkle-feedback.cjs.entry.js +8 -8
- package/dist/cjs/sparkle-goal-form.cjs.entry.js +8 -7
- 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-intro.cjs.entry.js +2 -2
- 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-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-v1.cjs.entry.js +105 -0
- package/dist/cjs/sparkle-quiz.cjs.entry.js +55 -41
- 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-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-title.cjs.entry.js +2 -2
- package/dist/cjs/stencil-router-prompt.cjs.entry.js +2 -2
- package/dist/cjs/student.service-2e58f237.js +78 -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/collection/collection-manifest.json +4 -2
- 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 +0 -1
- package/dist/collection/components/sparkle-quiz/{sparkle-quiz.css → sparkle-quiz/sparkle-quiz.css} +0 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz/sparkle-quiz.js +326 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-v1.css +48 -0
- package/dist/collection/components/sparkle-quiz/{sparkle-quiz.js → sparkle-quiz-v1.js} +4 -4
- package/dist/esm/{auth.service-7ab0ac58.js → PrivateRoute-c5441f35.js} +33 -3
- package/dist/esm/{active-router-909088d6.js → active-router-fc9e4e06.js} +1 -1
- package/dist/esm/{animation-7b083379.js → animation-12377cb3.js} +83 -78
- package/dist/esm/{app-globals-5c736ae5.js → app-globals-3f0347b0.js} +1 -1
- package/dist/esm/{auth.store-98fad96d.js → auth.store-dba2c2da.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/{facilitator.service-1524bf89.js → facilitator.service-b0292f7f.js} +2 -1
- package/dist/esm/{feed.service-4900fc62.js → feed.service-8fbe4ce3.js} +3 -2
- package/dist/esm/{focus-visible-40cda868.js → focus-visible-4e9a0764.js} +19 -6
- package/dist/esm/{framework-delegate-518bd233.js → framework-delegate-3e634a5c.js} +11 -13
- package/dist/esm/{gesture-controller-686622ba.js → gesture-controller-7be18351.js} +1 -1
- package/dist/esm/{haptic-99c9e346.js → haptic-522f76f2.js} +3 -2
- package/dist/esm/{hardware-back-button-b6ccf74a.js → hardware-back-button-fa04d6e9.js} +8 -8
- package/dist/esm/{sparkle-export-lessons_6.entry.js → header-mobile-collapse_61.entry.js} +11502 -2670
- package/dist/esm/{helpers-9d0930de.js → helpers-bf0e23d6.js} +81 -15
- package/dist/esm/httpService-7b75b095.js +683 -0
- package/dist/esm/{icons-05b6ce86.js → icons-9b62a1ec.js} +2 -2
- package/dist/esm/{index-a12c14bd.js → index-21661af2.js} +22 -19
- package/dist/esm/{index-8de9446b.js → index-2b84cad2.js} +17 -25
- package/dist/esm/{index-ea26196a.js → index-4044fde9.js} +5 -2
- package/dist/esm/{tap-click-cca25060.js → index-45fec1e7.js} +30 -20
- package/dist/esm/index-5e8971ae.js +128 -0
- package/dist/esm/{index-435af8e6.js → index-be6112f8.js} +9 -8
- package/dist/esm/{index-5568e3fa.js → index-c04b9ed5.js} +18 -11
- package/dist/esm/{index-fa5e93c5.js → index-cded2d87.js} +19 -28
- package/dist/esm/index-dad75b83.js +34 -0
- package/dist/esm/{index.es-89cff481.js → index.es-e0c0f891.js} +2 -7
- package/dist/esm/index.js +8 -8
- package/dist/esm/{input-shims-7f04e044.js → input-shims-671d8d9f.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-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-card-title.entry.js +4 -4
- package/dist/esm/ion-chip.entry.js +3 -3
- 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-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-textarea.entry.js +29 -28
- package/dist/esm/ion-thumbnail.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +23 -43
- package/dist/esm/ion-toggle.entry.js +36 -19
- package/dist/esm/ion-virtual-scroll.entry.js +29 -28
- package/dist/esm/{ionic-global-0939c477.js → ionic-global-4903e23e.js} +27 -31
- package/dist/esm/{ios.transition-db4f4ca6.js → ios.transition-131d64fe.js} +71 -51
- package/dist/esm/{keyboard-2503e874.js → keyboard-7e8329b3.js} +3 -3
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-8294b503.js → md.transition-f6126011.js} +9 -16
- package/dist/esm/{menu-toggle-util-06adade3.js → menu-toggle-util-bace8ae6.js} +2 -2
- package/dist/esm/{overlays-5c777f10.js → overlays-3b4dca92.js} +30 -30
- package/dist/esm/parse-1ae3a9bb.js +1196 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{purify-eb68cf1d.js → purify-85bfcc69.js} +1 -1
- package/dist/esm/sparkle-animation-player.entry.js +2 -2
- 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-emoji.entry.js +1 -1
- package/dist/esm/sparkle-facilitator-notes-form.entry.js +8 -7
- package/dist/esm/sparkle-feed-post.entry.js +104 -3
- package/dist/esm/sparkle-feedback.entry.js +8 -8
- package/dist/esm/sparkle-goal-form.entry.js +9 -8
- 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-intro.entry.js +2 -2
- 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-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-v1.entry.js +101 -0
- package/dist/esm/sparkle-quiz.entry.js +55 -41
- 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-youtube.entry.js +1 -1
- package/dist/esm/{spinner-configs-f609a655.js → spinner-configs-a37e628a.js} +43 -43
- package/dist/esm/{status-tap-e8c0c752.js → status-tap-dde52787.js} +7 -5
- package/dist/esm/stencil-async-content.entry.js +1 -1
- package/dist/esm/stencil-route-title.entry.js +2 -2
- package/dist/esm/stencil-router-prompt.entry.js +2 -2
- package/dist/esm/{student.service-c2f44f3a.js → student.service-0746418b.js} +19 -3
- package/dist/esm/{swipe-back-9a3b2cdd.js → swipe-back-7847a0c1.js} +5 -5
- package/dist/esm/{theme-c336c9d9.js → theme-7ef00c83.js} +6 -5
- package/dist/esm/{util-a831d09d.js → util-6ef753e9.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-00d10dc9.js +4 -0
- package/dist/sparkle-core/p-0147266a.js +1 -0
- package/dist/sparkle-core/{p-797c23ed.entry.js → p-04c7b276.entry.js} +1 -1
- package/dist/sparkle-core/p-05c032dd.js +4 -0
- package/dist/sparkle-core/{p-5f45d206.entry.js → p-06642405.entry.js} +1 -1
- package/dist/sparkle-core/p-0664370b.entry.js +1 -0
- package/dist/sparkle-core/{p-39e5a90f.entry.js → p-06c7d0f2.entry.js} +1 -1
- package/dist/sparkle-core/{p-703ca87c.js → p-076f0239.js} +0 -0
- package/dist/sparkle-core/p-077c732b.js +4 -0
- package/dist/sparkle-core/p-0ad5c123.entry.js +1 -0
- package/dist/sparkle-core/{p-beb401e3.entry.js → p-0afa3a4d.entry.js} +1 -1
- package/dist/sparkle-core/{p-52f1d1ca.entry.js → p-0c3f3ea6.entry.js} +1 -1
- package/dist/sparkle-core/{p-69e7783d.js → p-0e4de1d0.js} +0 -0
- package/dist/sparkle-core/{p-337f92b0.entry.js → p-0f1c5899.entry.js} +5 -5
- package/dist/sparkle-core/{p-5e4ec238.entry.js → p-0fa3fd63.entry.js} +1 -1
- package/dist/sparkle-core/p-11356b03.entry.js +1 -0
- package/dist/sparkle-core/p-12dd96d7.js +4 -0
- package/dist/sparkle-core/{p-21db4e8e.entry.js → p-162bff1a.entry.js} +1 -1
- package/dist/sparkle-core/p-1b1ba156.entry.js +1 -0
- package/dist/sparkle-core/p-1d4c7c11.js +1 -0
- package/dist/sparkle-core/{p-11234d0f.entry.js → p-1e125ca5.entry.js} +1 -1
- package/dist/sparkle-core/{p-5b40aae5.entry.js → p-1e4782af.entry.js} +1 -1
- package/dist/sparkle-core/{p-4550e10f.entry.js → p-1e4f65ee.entry.js} +1 -1
- package/dist/sparkle-core/{p-f6bafe1d.js → p-2033cd86.js} +2 -2
- package/dist/sparkle-core/{p-ed0e9d29.entry.js → p-214d1229.entry.js} +1 -1
- package/dist/sparkle-core/p-23aca7ca.js +4 -0
- package/dist/sparkle-core/{p-85429b12.entry.js → p-24cb9a33.entry.js} +1 -1
- package/dist/sparkle-core/{p-37c00e39.entry.js → p-27fbabc3.entry.js} +1 -1
- package/dist/sparkle-core/{p-7d61177b.entry.js → p-2ba70507.entry.js} +1 -1
- package/dist/sparkle-core/{p-c8ae9e47.entry.js → p-2c1ca854.entry.js} +1 -1
- package/dist/sparkle-core/{p-23a9f7d1.entry.js → p-2d9659e2.entry.js} +1 -1
- package/dist/sparkle-core/p-2f569553.js +1 -0
- package/dist/sparkle-core/p-2ff67662.js +4 -0
- package/dist/sparkle-core/p-30b810d1.entry.js +4 -0
- package/dist/sparkle-core/p-32f4e565.entry.js +1 -0
- package/dist/sparkle-core/{p-057f6a23.entry.js → p-352677e6.entry.js} +1 -1
- package/dist/sparkle-core/{p-b49ca0ea.entry.js → p-370609ba.entry.js} +1 -1
- package/dist/sparkle-core/p-377b04c2.entry.js +10 -0
- package/dist/sparkle-core/{p-aa9ebc39.entry.js → p-38b7cf68.entry.js} +1 -1
- package/dist/sparkle-core/{p-667accac.entry.js → p-3963e02b.entry.js} +1 -1
- package/dist/sparkle-core/p-39712c56.entry.js +4 -0
- package/dist/sparkle-core/p-3a965828.entry.js +1 -0
- package/dist/sparkle-core/p-3de0e00c.js +4 -0
- package/dist/sparkle-core/{p-04583c51.entry.js → p-4053ecdb.entry.js} +1 -1
- package/dist/sparkle-core/p-462bffba.js +1 -0
- package/dist/sparkle-core/p-48f72e63.js +4 -0
- package/dist/sparkle-core/p-4c6a7e52.js +1 -0
- package/dist/sparkle-core/{p-8c6b6038.js → p-4d4077ea.js} +0 -0
- package/dist/sparkle-core/{p-3a202a38.entry.js → p-5096739e.entry.js} +1 -1
- package/dist/sparkle-core/p-5322c920.entry.js +1 -0
- package/dist/sparkle-core/{p-c748f64e.entry.js → p-54dd894f.entry.js} +1 -1
- package/dist/sparkle-core/p-564e64fc.entry.js +4 -0
- package/dist/sparkle-core/{p-b3909012.entry.js → p-5893bbe5.entry.js} +1 -1
- package/dist/sparkle-core/p-58e4bbe5.entry.js +1 -0
- package/dist/sparkle-core/p-590266d6.entry.js +1 -0
- package/dist/sparkle-core/p-594a6982.entry.js +1 -0
- package/dist/sparkle-core/{p-aef8aa31.entry.js → p-5c435d5a.entry.js} +1 -1
- package/dist/sparkle-core/{p-a7832a51.js → p-5cad23f1.js} +1 -1
- package/dist/sparkle-core/p-5efc6566.js +1 -0
- package/dist/sparkle-core/p-600cf6a3.js +1 -0
- package/dist/sparkle-core/{p-a9ee3f6d.entry.js → p-601397df.entry.js} +1 -1
- package/dist/sparkle-core/p-604a7987.js +4 -0
- package/dist/sparkle-core/{p-11cf398a.entry.js → p-616941c6.entry.js} +1 -1
- package/dist/sparkle-core/{p-aa87c7f0.entry.js → p-6316d124.entry.js} +1 -1
- package/dist/sparkle-core/p-63f71ada.entry.js +1 -0
- package/dist/sparkle-core/p-641bfc92.entry.js +1 -0
- package/dist/sparkle-core/p-69487d90.entry.js +1 -0
- package/dist/sparkle-core/{p-5a98d42e.entry.js → p-6faa194c.entry.js} +2 -2
- package/dist/sparkle-core/p-6ffd2420.entry.js +1 -0
- package/dist/sparkle-core/p-73721c84.js +4 -0
- package/dist/sparkle-core/p-74864276.entry.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-43a7391b.entry.js → p-80d6b0e6.entry.js} +1 -1
- package/dist/sparkle-core/{p-c5b9bdd6.entry.js → p-81714d94.entry.js} +1 -1
- package/dist/sparkle-core/p-8492a765.entry.js +1 -0
- package/dist/sparkle-core/p-859563db.entry.js +1 -0
- package/dist/sparkle-core/{p-4dc3ef96.entry.js → p-865f36a8.entry.js} +1 -1
- package/dist/sparkle-core/{p-52d4715a.js → p-86ed13f0.js} +1 -1
- package/dist/sparkle-core/p-871106e0.js +4 -0
- package/dist/sparkle-core/p-894ff7e6.entry.js +1 -0
- package/dist/sparkle-core/{p-7493ee15.entry.js → p-8a41b502.entry.js} +1 -1
- package/dist/sparkle-core/p-8c74cbb6.entry.js +1 -0
- package/dist/sparkle-core/{p-d4c07aca.js → p-924b2917.js} +0 -0
- package/dist/sparkle-core/p-9289cdbc.entry.js +1 -0
- package/dist/sparkle-core/{p-4bd4dab2.js → p-935e7cfc.js} +1 -1
- package/dist/sparkle-core/{p-d7baf31e.entry.js → p-975b99ee.entry.js} +1 -1
- package/dist/sparkle-core/p-99ee9919.js +1 -0
- package/dist/sparkle-core/p-9abbd715.entry.js +1 -0
- package/dist/sparkle-core/{p-ff4d6858.js → p-9d894ed4.js} +2 -2
- package/dist/sparkle-core/{p-fbd7eeca.entry.js → p-9e309b3e.entry.js} +1 -1
- package/dist/sparkle-core/{p-996361f9.entry.js → p-9e7fee8f.entry.js} +1 -1
- package/dist/sparkle-core/p-9ebf0537.entry.js +1 -0
- package/dist/sparkle-core/p-a102341e.entry.js +1 -0
- package/dist/sparkle-core/p-a208ab2d.js +4 -0
- package/dist/sparkle-core/p-a2638250.entry.js +1 -0
- package/dist/sparkle-core/{p-016a7aaf.entry.js → p-a2ebcf0a.entry.js} +1 -1
- package/dist/sparkle-core/{p-6823e6c1.entry.js → p-a98d7ebe.entry.js} +1 -1
- package/dist/sparkle-core/p-add30d46.js +4 -0
- package/dist/sparkle-core/p-af3cc111.entry.js +1 -0
- package/dist/sparkle-core/{p-0ad99881.js → p-b0603d19.js} +1 -1
- package/dist/sparkle-core/p-b3f375fb.entry.js +1 -0
- package/dist/sparkle-core/p-b5f3e1bf.entry.js +1 -0
- package/dist/sparkle-core/{p-90466494.entry.js → p-b96f3c84.entry.js} +2 -2
- package/dist/sparkle-core/p-bd80ff43.js +4 -0
- package/dist/sparkle-core/p-be64105c.entry.js +1 -0
- package/dist/sparkle-core/{p-08923b40.entry.js → p-c0533c23.entry.js} +1 -1
- package/dist/sparkle-core/p-c2990b24.entry.js +1 -0
- package/dist/sparkle-core/{p-c3d3d5c4.entry.js → p-c3cadfc6.entry.js} +1 -1
- package/dist/sparkle-core/p-c60b29bd.entry.js +4 -0
- package/dist/sparkle-core/p-cabfbf22.entry.js +1 -0
- package/dist/sparkle-core/p-cc518c36.entry.js +1 -0
- package/dist/sparkle-core/{p-b21d0d9f.entry.js → p-ce4b22f7.entry.js} +2 -2
- package/dist/sparkle-core/p-cffd4817.entry.js +1 -0
- package/dist/sparkle-core/{p-c69b0a7a.entry.js → p-d0adf726.entry.js} +1 -1
- package/dist/sparkle-core/{p-03ec54a8.entry.js → p-d20e4fcf.entry.js} +1 -1
- package/dist/sparkle-core/p-d24e53ab.entry.js +1 -0
- package/dist/sparkle-core/p-d288e6c1.entry.js +1 -0
- package/dist/sparkle-core/{p-ee0d7f19.entry.js → p-d601810e.entry.js} +1 -1
- package/dist/sparkle-core/p-d68092b7.js +4 -0
- package/dist/sparkle-core/p-de4deb61.entry.js +1 -0
- package/dist/sparkle-core/{p-b07a2cf2.entry.js → p-e249aebf.entry.js} +1 -1
- package/dist/sparkle-core/p-e3e36ce9.entry.js +1 -0
- package/dist/sparkle-core/{p-1726da2f.entry.js → p-e421d638.entry.js} +1 -1
- package/dist/sparkle-core/p-e686d8b5.entry.js +4 -0
- package/dist/sparkle-core/{p-401feeb0.js → p-e8073714.js} +1 -1
- package/dist/sparkle-core/p-e863bf1d.entry.js +1 -0
- package/dist/sparkle-core/{p-3defe550.entry.js → p-e8988989.entry.js} +1 -1
- package/dist/sparkle-core/p-e9431eeb.js +7 -0
- package/dist/sparkle-core/p-ea962e1b.entry.js +1 -0
- package/dist/sparkle-core/p-eaa8bbee.js +4 -0
- package/dist/sparkle-core/p-eaf76d1d.entry.js +352 -0
- package/dist/sparkle-core/p-ebd4354b.entry.js +1 -0
- package/dist/sparkle-core/p-ee1e0eb4.js +2 -0
- package/dist/sparkle-core/{p-d00f550b.entry.js → p-ef4edc48.entry.js} +1 -1
- package/dist/sparkle-core/{p-a9ccb0df.js → p-f3cba72a.js} +0 -0
- package/dist/sparkle-core/p-fb0ca75e.entry.js +5 -0
- package/dist/sparkle-core/p-fb757951.entry.js +1 -0
- package/dist/sparkle-core/p-fbccd30c.js +1 -0
- package/dist/sparkle-core/p-fd8d0738.entry.js +4 -0
- package/dist/sparkle-core/{p-90389886.entry.js → p-fda95b6e.entry.js} +1 -1
- package/dist/sparkle-core/{p-350adbaa.entry.js → p-fe6dc976.entry.js} +1 -1
- package/dist/sparkle-core/{p-ecd39170.entry.js → p-ff0e0d4e.entry.js} +1 -1
- 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-quiz/sparkle-quiz/sparkle-quiz.d.ts +42 -0
- package/dist/types/components/sparkle-quiz/sparkle-quiz-v1.d.ts +41 -0
- package/dist/types/components/sparkle-quiz/sparkle-quiz.d.ts +36 -36
- package/dist/types/components.d.ts +96 -11
- package/package.json +3 -3
- package/dist/cjs/PrivateRoute-482697a6.js +0 -35
- package/dist/cjs/dom-utils-b8befdd5.js +0 -63
- package/dist/cjs/header-mobile-collapse_2.cjs.entry.js +0 -112
- package/dist/cjs/index-07e8aa51.js +0 -3071
- package/dist/cjs/injectHistory-77d41284.js +0 -9
- package/dist/cjs/ion-avatar.cjs.entry.js +0 -25
- package/dist/cjs/ion-button_3.cjs.entry.js +0 -383
- package/dist/cjs/ion-card_2.cjs.entry.js +0 -93
- package/dist/cjs/ion-checkbox_4.cjs.entry.js +0 -370
- package/dist/cjs/ion-col_3.cjs.entry.js +0 -155
- package/dist/cjs/ion-icon_2.cjs.entry.js +0 -397
- package/dist/cjs/ion-input_2.cjs.entry.js +0 -316
- package/dist/cjs/ion-label_2.cjs.entry.js +0 -126
- package/dist/cjs/ion-range.cjs.entry.js +0 -445
- package/dist/cjs/ion-spinner.cjs.entry.js +0 -64
- package/dist/cjs/match-path-84c9f7ca.js +0 -511
- package/dist/cjs/sparkle-card_3.cjs.entry.js +0 -91
- package/dist/cjs/sparkle-course-root.cjs.entry.js +0 -145
- package/dist/cjs/sparkle-dropdown.cjs.entry.js +0 -61
- package/dist/cjs/sparkle-facilitator-header_19.cjs.entry.js +0 -2129
- package/dist/cjs/sparkle-goal-progress.cjs.entry.js +0 -19
- package/dist/cjs/sparkle-gww-item.cjs.entry.js +0 -74
- package/dist/cjs/sparkle-menu-toggle_3.cjs.entry.js +0 -236
- package/dist/cjs/sparkle-validation-error.cjs.entry.js +0 -21
- package/dist/cjs/stencil-route-link.cjs.entry.js +0 -77
- package/dist/cjs/stencil-router-redirect.cjs.entry.js +0 -32
- package/dist/cjs/student.service-7af424fe.js +0 -61
- package/dist/cjs/user.store-3d29139d.js +0 -21
- package/dist/esm/PrivateRoute-f59ba6b5.js +0 -33
- package/dist/esm/dom-utils-8e73e88b.js +0 -55
- package/dist/esm/header-mobile-collapse_2.entry.js +0 -107
- package/dist/esm/index-c92f99d4.js +0 -3067
- package/dist/esm/injectHistory-52d0c7eb.js +0 -7
- package/dist/esm/ion-avatar.entry.js +0 -21
- package/dist/esm/ion-button_3.entry.js +0 -377
- package/dist/esm/ion-card_2.entry.js +0 -88
- package/dist/esm/ion-checkbox_4.entry.js +0 -363
- package/dist/esm/ion-col_3.entry.js +0 -149
- package/dist/esm/ion-icon_2.entry.js +0 -392
- package/dist/esm/ion-input_2.entry.js +0 -311
- package/dist/esm/ion-label_2.entry.js +0 -121
- package/dist/esm/ion-range.entry.js +0 -441
- package/dist/esm/ion-spinner.entry.js +0 -60
- package/dist/esm/match-path-36fdf5c7.js +0 -499
- package/dist/esm/sparkle-card_3.entry.js +0 -85
- package/dist/esm/sparkle-course-root.entry.js +0 -141
- package/dist/esm/sparkle-dropdown.entry.js +0 -57
- package/dist/esm/sparkle-facilitator-header_19.entry.js +0 -2107
- package/dist/esm/sparkle-goal-progress.entry.js +0 -15
- package/dist/esm/sparkle-gww-item.entry.js +0 -70
- package/dist/esm/sparkle-menu-toggle_3.entry.js +0 -230
- package/dist/esm/sparkle-validation-error.entry.js +0 -17
- package/dist/esm/stencil-route-link.entry.js +0 -73
- package/dist/esm/stencil-router-redirect.entry.js +0 -28
- package/dist/esm/user.store-e6ff7558.js +0 -19
- package/dist/sparkle-core/p-021fde3c.entry.js +0 -1
- package/dist/sparkle-core/p-034306e2.js +0 -1
- package/dist/sparkle-core/p-034aa29f.entry.js +0 -5
- package/dist/sparkle-core/p-052caa63.js +0 -1
- package/dist/sparkle-core/p-0580419b.entry.js +0 -1
- package/dist/sparkle-core/p-063cd168.js +0 -4
- package/dist/sparkle-core/p-06c0cce3.entry.js +0 -1
- 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-1133fcbd.js +0 -4
- package/dist/sparkle-core/p-1551190a.entry.js +0 -1
- package/dist/sparkle-core/p-1728ead7.js +0 -1
- package/dist/sparkle-core/p-1e8c22e0.entry.js +0 -1
- package/dist/sparkle-core/p-21bf4ca0.entry.js +0 -1
- package/dist/sparkle-core/p-232cc3bc.js +0 -1
- package/dist/sparkle-core/p-28950db0.entry.js +0 -1
- package/dist/sparkle-core/p-2af82cc1.entry.js +0 -1
- package/dist/sparkle-core/p-2bd4c60e.js +0 -1
- package/dist/sparkle-core/p-2f437793.entry.js +0 -348
- package/dist/sparkle-core/p-330ccc7c.entry.js +0 -1
- package/dist/sparkle-core/p-35a7bd6c.entry.js +0 -1
- package/dist/sparkle-core/p-35c5c110.entry.js +0 -1
- package/dist/sparkle-core/p-3ff617d5.js +0 -1
- package/dist/sparkle-core/p-4028676b.js +0 -4
- package/dist/sparkle-core/p-41124baa.js +0 -4
- package/dist/sparkle-core/p-41af3793.entry.js +0 -1
- package/dist/sparkle-core/p-44c23f72.js +0 -1
- 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-4a72626a.js +0 -1
- package/dist/sparkle-core/p-4ba57978.entry.js +0 -4
- package/dist/sparkle-core/p-4ef4b8bd.entry.js +0 -5
- package/dist/sparkle-core/p-4f144efa.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-5ec7fd67.entry.js +0 -1
- package/dist/sparkle-core/p-618f6f82.entry.js +0 -1
- package/dist/sparkle-core/p-62a6c96f.entry.js +0 -1
- package/dist/sparkle-core/p-65ca1fb2.entry.js +0 -1
- package/dist/sparkle-core/p-663fafa9.entry.js +0 -1
- package/dist/sparkle-core/p-67f71099.entry.js +0 -4
- package/dist/sparkle-core/p-680663a2.entry.js +0 -1
- package/dist/sparkle-core/p-6a16b9ef.entry.js +0 -4
- package/dist/sparkle-core/p-6b6a8f0a.entry.js +0 -1
- package/dist/sparkle-core/p-6c5b5ea2.entry.js +0 -1
- package/dist/sparkle-core/p-6ebf52fb.entry.js +0 -1
- package/dist/sparkle-core/p-6f45db93.js +0 -1
- package/dist/sparkle-core/p-6fd4985d.js +0 -4
- package/dist/sparkle-core/p-7052c43a.entry.js +0 -1
- package/dist/sparkle-core/p-70b2452c.js +0 -4
- package/dist/sparkle-core/p-74106ca8.entry.js +0 -1
- package/dist/sparkle-core/p-75572037.js +0 -1
- package/dist/sparkle-core/p-7568dcab.entry.js +0 -1
- package/dist/sparkle-core/p-768bcc9e.entry.js +0 -1
- package/dist/sparkle-core/p-7703bae9.entry.js +0 -1
- package/dist/sparkle-core/p-77c23496.entry.js +0 -1
- package/dist/sparkle-core/p-79606a41.entry.js +0 -1
- package/dist/sparkle-core/p-7976e88c.entry.js +0 -1
- package/dist/sparkle-core/p-7c1f59ec.js +0 -1
- package/dist/sparkle-core/p-7de0a22b.entry.js +0 -1
- package/dist/sparkle-core/p-848fe770.entry.js +0 -1
- package/dist/sparkle-core/p-86d099f1.js +0 -4
- package/dist/sparkle-core/p-87549bb7.js +0 -4
- package/dist/sparkle-core/p-8c470e28.entry.js +0 -1
- package/dist/sparkle-core/p-954c89c2.entry.js +0 -1
- package/dist/sparkle-core/p-95d01c4c.js +0 -4
- package/dist/sparkle-core/p-987c64eb.js +0 -1
- package/dist/sparkle-core/p-9babd345.js +0 -1
- package/dist/sparkle-core/p-a89dea80.entry.js +0 -1
- package/dist/sparkle-core/p-b17dd6df.js +0 -4
- package/dist/sparkle-core/p-b3e6427d.js +0 -7
- package/dist/sparkle-core/p-b7dafaae.entry.js +0 -1
- package/dist/sparkle-core/p-bd062288.entry.js +0 -1
- package/dist/sparkle-core/p-bef34cfe.entry.js +0 -1
- package/dist/sparkle-core/p-c1c59771.js +0 -1
- package/dist/sparkle-core/p-c4104929.entry.js +0 -1
- package/dist/sparkle-core/p-c48bbc7c.entry.js +0 -4
- package/dist/sparkle-core/p-c753207f.entry.js +0 -1
- package/dist/sparkle-core/p-c8ed0575.js +0 -1
- package/dist/sparkle-core/p-c96b24bd.entry.js +0 -4
- package/dist/sparkle-core/p-ce13171b.entry.js +0 -1
- package/dist/sparkle-core/p-d394eed1.entry.js +0 -1
- package/dist/sparkle-core/p-d48e95c1.entry.js +0 -1
- package/dist/sparkle-core/p-d4b1a14a.entry.js +0 -1
- package/dist/sparkle-core/p-d56efeac.entry.js +0 -4
- package/dist/sparkle-core/p-d59a5984.entry.js +0 -1
- package/dist/sparkle-core/p-d8aff730.entry.js +0 -1
- package/dist/sparkle-core/p-da8921d0.entry.js +0 -1
- package/dist/sparkle-core/p-e08059b6.js +0 -4
- package/dist/sparkle-core/p-e3fdd0a8.entry.js +0 -1
- package/dist/sparkle-core/p-ec4d22e3.entry.js +0 -1
- package/dist/sparkle-core/p-ed3eed72.entry.js +0 -1
- package/dist/sparkle-core/p-ee0717e1.entry.js +0 -4
- package/dist/sparkle-core/p-ef2dace6.js +0 -4
- package/dist/sparkle-core/p-f1106984.entry.js +0 -1
- package/dist/sparkle-core/p-f61ca75c.entry.js +0 -1
- package/dist/sparkle-core/p-f9b73032.entry.js +0 -1
- package/dist/sparkle-core/p-fef04ab5.js +0 -4
@@ -1,5 +1,5 @@
|
|
1
|
-
import { G as GESTURE_CONTROLLER } from './gesture-controller-
|
2
|
-
export { G as GESTURE_CONTROLLER } from './gesture-controller-
|
1
|
+
import { G as GESTURE_CONTROLLER } from './gesture-controller-7be18351.js';
|
2
|
+
export { G as GESTURE_CONTROLLER } from './gesture-controller-7be18351.js';
|
3
3
|
|
4
4
|
/*!
|
5
5
|
* (C) Ionic http://ionicframework.com - MIT License
|
@@ -7,10 +7,12 @@ export { G as GESTURE_CONTROLLER } from './gesture-controller-686622ba.js';
|
|
7
7
|
const addEventListener = (el, eventName, callback, opts) => {
|
8
8
|
// use event listener options when supported
|
9
9
|
// otherwise it's just a boolean for the "capture" arg
|
10
|
-
const listenerOpts = supportsPassive(el)
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
const listenerOpts = supportsPassive(el)
|
11
|
+
? {
|
12
|
+
capture: !!opts.capture,
|
13
|
+
passive: !!opts.passive,
|
14
|
+
}
|
15
|
+
: !!opts.capture;
|
14
16
|
let add;
|
15
17
|
let remove;
|
16
18
|
if (el['__zone_symbol__addEventListener']) {
|
@@ -32,9 +34,11 @@ const supportsPassive = (node) => {
|
|
32
34
|
const opts = Object.defineProperty({}, 'passive', {
|
33
35
|
get: () => {
|
34
36
|
_sPassive = true;
|
35
|
-
}
|
37
|
+
},
|
36
38
|
});
|
37
|
-
node.addEventListener('optsTest', () => {
|
39
|
+
node.addEventListener('optsTest', () => {
|
40
|
+
return;
|
41
|
+
}, opts);
|
38
42
|
}
|
39
43
|
catch (e) {
|
40
44
|
_sPassive = false;
|
@@ -159,7 +163,7 @@ const createPointerEvents = (el, pointerDown, pointerMove, pointerUp, options) =
|
|
159
163
|
return {
|
160
164
|
enable,
|
161
165
|
stop,
|
162
|
-
destroy
|
166
|
+
destroy,
|
163
167
|
};
|
164
168
|
};
|
165
169
|
const getDocument = (node) => {
|
@@ -189,8 +193,8 @@ const createPanRecognizer = (direction, thresh, maxAngle) => {
|
|
189
193
|
if (!dirty) {
|
190
194
|
return false;
|
191
195
|
}
|
192
|
-
const deltaX =
|
193
|
-
const deltaY =
|
196
|
+
const deltaX = x - startX;
|
197
|
+
const deltaY = y - startY;
|
194
198
|
const distance = deltaX * deltaX + deltaY * deltaY;
|
195
199
|
if (distance < threshold) {
|
196
200
|
return false;
|
@@ -214,7 +218,7 @@ const createPanRecognizer = (direction, thresh, maxAngle) => {
|
|
214
218
|
},
|
215
219
|
getDirection() {
|
216
220
|
return isPan;
|
217
|
-
}
|
221
|
+
},
|
218
222
|
};
|
219
223
|
};
|
220
224
|
|
@@ -249,13 +253,13 @@ const createGesture = (config) => {
|
|
249
253
|
deltaY: 0,
|
250
254
|
currentTime: 0,
|
251
255
|
event: undefined,
|
252
|
-
data: undefined
|
256
|
+
data: undefined,
|
253
257
|
};
|
254
258
|
const pan = createPanRecognizer(finalConfig.direction, finalConfig.threshold, finalConfig.maxAngle);
|
255
259
|
const gesture = GESTURE_CONTROLLER.createGesture({
|
256
260
|
name: config.gestureName,
|
257
261
|
priority: config.gesturePriority,
|
258
|
-
disableScroll: config.disableScroll
|
262
|
+
disableScroll: config.disableScroll,
|
259
263
|
});
|
260
264
|
const pointerDown = (ev) => {
|
261
265
|
const timeStamp = now(ev);
|
@@ -339,10 +343,9 @@ const createGesture = (config) => {
|
|
339
343
|
return true;
|
340
344
|
};
|
341
345
|
const blurActiveElement = () => {
|
342
|
-
/* tslint:disable-next-line */
|
343
346
|
if (typeof document !== 'undefined') {
|
344
347
|
const activeElement = document.activeElement;
|
345
|
-
if (activeElement
|
348
|
+
if (activeElement === null || activeElement === void 0 ? void 0 : activeElement.blur) {
|
346
349
|
activeElement.blur();
|
347
350
|
}
|
348
351
|
}
|
@@ -386,7 +389,7 @@ const createGesture = (config) => {
|
|
386
389
|
};
|
387
390
|
const pointerEvents = createPointerEvents(finalConfig.el, pointerDown, pointerMove, pointerUp, {
|
388
391
|
capture: false,
|
389
|
-
passive
|
392
|
+
passive,
|
390
393
|
});
|
391
394
|
const abortGesture = () => {
|
392
395
|
reset();
|
@@ -408,7 +411,7 @@ const createGesture = (config) => {
|
|
408
411
|
destroy() {
|
409
412
|
gesture.destroy();
|
410
413
|
pointerEvents.destroy();
|
411
|
-
}
|
414
|
+
},
|
412
415
|
};
|
413
416
|
};
|
414
417
|
const calcGestureData = (detail, ev) => {
|
@@ -421,7 +424,7 @@ const calcGestureData = (detail, ev) => {
|
|
421
424
|
updateDetail(ev, detail);
|
422
425
|
const currentX = detail.currentX;
|
423
426
|
const currentY = detail.currentY;
|
424
|
-
const timestamp = detail.currentTime = now(ev);
|
427
|
+
const timestamp = (detail.currentTime = now(ev));
|
425
428
|
const timeDelta = timestamp - prevT;
|
426
429
|
if (timeDelta > 0 && timeDelta < 100) {
|
427
430
|
const velocityX = (currentX - prevX) / timeDelta;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { w as writeTask, B as Build } from './index-
|
2
|
-
import { c as componentOnReady,
|
1
|
+
import { w as writeTask, B as Build } from './index-c04b9ed5.js';
|
2
|
+
import { c as componentOnReady, l as raf } from './helpers-bf0e23d6.js';
|
3
3
|
|
4
4
|
/*!
|
5
5
|
* (C) Ionic http://ionicframework.com - MIT License
|
@@ -13,19 +13,19 @@ const LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';
|
|
13
13
|
/*!
|
14
14
|
* (C) Ionic http://ionicframework.com - MIT License
|
15
15
|
*/
|
16
|
-
const iosTransitionAnimation = () => import('./ios.transition-
|
17
|
-
const mdTransitionAnimation = () => import('./md.transition-
|
16
|
+
const iosTransitionAnimation = () => import('./ios.transition-131d64fe.js');
|
17
|
+
const mdTransitionAnimation = () => import('./md.transition-f6126011.js');
|
18
18
|
const transition = (opts) => {
|
19
19
|
return new Promise((resolve, reject) => {
|
20
20
|
writeTask(() => {
|
21
21
|
beforeTransition(opts);
|
22
|
-
runTransition(opts).then(result => {
|
22
|
+
runTransition(opts).then((result) => {
|
23
23
|
if (result.animation) {
|
24
24
|
result.animation.destroy();
|
25
25
|
}
|
26
26
|
afterTransition(opts);
|
27
27
|
resolve(result);
|
28
|
-
}, error => {
|
28
|
+
}, (error) => {
|
29
29
|
afterTransition(opts);
|
30
30
|
reject(error);
|
31
31
|
});
|
@@ -57,9 +57,7 @@ const beforeTransition = (opts) => {
|
|
57
57
|
};
|
58
58
|
const runTransition = async (opts) => {
|
59
59
|
const animationBuilder = await getAnimationBuilder(opts);
|
60
|
-
const ani =
|
61
|
-
? animation(animationBuilder, opts)
|
62
|
-
: noAnimation(opts); // fast path for no animation
|
60
|
+
const ani = animationBuilder && Build.isBrowser ? animation(animationBuilder, opts) : noAnimation(opts); // fast path for no animation
|
63
61
|
return ani;
|
64
62
|
};
|
65
63
|
const afterTransition = (opts) => {
|
@@ -79,7 +77,7 @@ const getAnimationBuilder = async (opts) => {
|
|
79
77
|
if (opts.animationBuilder) {
|
80
78
|
return opts.animationBuilder;
|
81
79
|
}
|
82
|
-
const getAnimation =
|
80
|
+
const getAnimation = opts.mode === 'ios'
|
83
81
|
? (await iosTransitionAnimation()).iosTransitionAnimation
|
84
82
|
: (await mdTransitionAnimation()).mdTransitionAnimation;
|
85
83
|
return getAnimation;
|
@@ -97,7 +95,7 @@ const animation = async (animationBuilder, opts) => {
|
|
97
95
|
}
|
98
96
|
return {
|
99
97
|
hasCompleted: didComplete,
|
100
|
-
animation: trans
|
98
|
+
animation: trans,
|
101
99
|
};
|
102
100
|
};
|
103
101
|
const noAnimation = async (opts) => {
|
@@ -107,18 +105,14 @@ const noAnimation = async (opts) => {
|
|
107
105
|
fireWillEvents(enteringEl, leavingEl);
|
108
106
|
fireDidEvents(enteringEl, leavingEl);
|
109
107
|
return {
|
110
|
-
hasCompleted: true
|
108
|
+
hasCompleted: true,
|
111
109
|
};
|
112
110
|
};
|
113
111
|
const waitForReady = async (opts, defaultDeep) => {
|
114
112
|
const deep = opts.deepWait !== undefined ? opts.deepWait : defaultDeep;
|
115
|
-
const promises = deep
|
116
|
-
deepReady(opts.enteringEl),
|
117
|
-
|
118
|
-
] : [
|
119
|
-
shallowReady(opts.enteringEl),
|
120
|
-
shallowReady(opts.leavingEl),
|
121
|
-
];
|
113
|
+
const promises = deep
|
114
|
+
? [deepReady(opts.enteringEl), deepReady(opts.leavingEl)]
|
115
|
+
: [shallowReady(opts.enteringEl), shallowReady(opts.leavingEl)];
|
122
116
|
await Promise.all(promises);
|
123
117
|
await notifyViewReady(opts.viewIsReady, opts.enteringEl);
|
124
118
|
};
|
@@ -129,7 +123,7 @@ const notifyViewReady = async (viewIsReady, enteringEl) => {
|
|
129
123
|
};
|
130
124
|
const playTransition = (trans, opts) => {
|
131
125
|
const progressCallback = opts.progressCallback;
|
132
|
-
const promise = new Promise(resolve => {
|
126
|
+
const promise = new Promise((resolve) => {
|
133
127
|
trans.onFinish((currentStep) => resolve(currentStep === 1));
|
134
128
|
});
|
135
129
|
// cool, let's do this, start the transition
|
@@ -167,7 +161,7 @@ const lifecycle = (el, eventName) => {
|
|
167
161
|
};
|
168
162
|
const shallowReady = (el) => {
|
169
163
|
if (el) {
|
170
|
-
return new Promise(resolve => componentOnReady(el, resolve));
|
164
|
+
return new Promise((resolve) => componentOnReady(el, resolve));
|
171
165
|
}
|
172
166
|
return Promise.resolve();
|
173
167
|
};
|
@@ -188,7 +182,7 @@ const deepReady = async (el) => {
|
|
188
182
|
* Non-lazy loaded custom elements need to wait
|
189
183
|
* one frame for component to be loaded.
|
190
184
|
*/
|
191
|
-
const waitForCustomElement = new Promise(resolve => raf(resolve));
|
185
|
+
const waitForCustomElement = new Promise((resolve) => raf(resolve));
|
192
186
|
await waitForCustomElement;
|
193
187
|
return;
|
194
188
|
}
|
@@ -208,9 +202,7 @@ const setPageHidden = (el, hidden) => {
|
|
208
202
|
};
|
209
203
|
const setZIndex = (enteringEl, leavingEl, direction) => {
|
210
204
|
if (enteringEl !== undefined) {
|
211
|
-
enteringEl.style.zIndex =
|
212
|
-
? '99'
|
213
|
-
: '101';
|
205
|
+
enteringEl.style.zIndex = direction === 'back' ? '99' : '101';
|
214
206
|
}
|
215
207
|
if (leavingEl !== undefined) {
|
216
208
|
leavingEl.style.zIndex = '100';
|
@@ -1,9 +1,10 @@
|
|
1
|
-
/* Ionicons v6.0.
|
1
|
+
/* Ionicons v6.0.2, ES Modules */
|
2
2
|
const arrowBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Arrow Back</title><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>";
|
3
3
|
const arrowDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Arrow Down</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>";
|
4
4
|
const caretBackSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Caret Back</title><path d='M368 64L144 256l224 192V64z'/></svg>";
|
5
5
|
const caretDownSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Caret Down</title><path d='M64 144l192 224 192-224H64z'/></svg>";
|
6
6
|
const caretUpSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Caret Up</title><path d='M448 368L256 144 64 368h384z'/></svg>";
|
7
|
+
const checkmarkOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Checkmark</title><path stroke-linecap='round' stroke-linejoin='round' d='M416 128L192 384l-96-96' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
7
8
|
const chevronBack = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Chevron Back</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M328 112L184 256l144 144' class='ionicon-fill-none'/></svg>";
|
8
9
|
const chevronDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Chevron Down</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' class='ionicon-fill-none'/></svg>";
|
9
10
|
const chevronForward = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Chevron Forward</title><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>";
|
@@ -11,12 +12,14 @@ const chevronForwardOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3
|
|
11
12
|
const close = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Close</title><path d='M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z'/></svg>";
|
12
13
|
const closeCircle = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Close Circle</title><path d='M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 11-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 01-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0122.62-22.62L256 233.37l52.69-52.68a16 16 0 0122.62 22.62L278.63 256z'/></svg>";
|
13
14
|
const closeSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Close</title><path d='M400 145.49L366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49z'/></svg>";
|
15
|
+
const ellipseOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Ellipse</title><circle cx='256' cy='256' r='192' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
14
16
|
const ellipsisHorizontal = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Ellipsis Horizontal</title><circle cx='256' cy='256' r='48'/><circle cx='416' cy='256' r='48'/><circle cx='96' cy='256' r='48'/></svg>";
|
15
17
|
const menuOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Menu</title><path stroke-linecap='round' stroke-miterlimit='10' d='M80 160h352M80 256h352M80 352h352' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
16
18
|
const menuSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Menu</title><path d='M64 384h384v-42.67H64zm0-106.67h384v-42.66H64zM64 128v42.67h384V128z'/></svg>";
|
19
|
+
const removeOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Remove</title><path stroke-linecap='round' stroke-linejoin='round' d='M400 256H112' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
17
20
|
const reorderThreeOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Reorder Three</title><path stroke-linecap='round' stroke-linejoin='round' d='M96 256h320M96 176h320M96 336h320' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
18
21
|
const reorderTwoSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Reorder Two</title><path stroke-linecap='square' stroke-linejoin='round' stroke-width='44' d='M118 304h276M118 208h276' class='ionicon-fill-none'/></svg>";
|
19
22
|
const searchOutline = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Search</title><path d='M221.09 64a157.09 157.09 0 10157.09 157.09A157.1 157.1 0 00221.09 64z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linecap='round' stroke-miterlimit='10' d='M338.29 338.29L448 448' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
|
20
23
|
const searchSharp = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><title>Search</title><path d='M464 428L339.92 303.9a160.48 160.48 0 0030.72-94.58C370.64 120.37 298.27 48 209.32 48S48 120.37 48 209.32s72.37 161.32 161.32 161.32a160.48 160.48 0 0094.58-30.72L428 464zM209.32 319.69a110.38 110.38 0 11110.37-110.37 110.5 110.5 0 01-110.37 110.37z'/></svg>";
|
21
24
|
|
22
|
-
export {
|
25
|
+
export { chevronDown as a, chevronForwardOutline as b, chevronForward as c, chevronBack as d, ellipsisHorizontal as e, caretUpSharp as f, caretDownSharp as g, close as h, menuSharp as i, caretBackSharp as j, arrowDown as k, reorderTwoSharp as l, menuOutline as m, arrowBackSharp as n, closeCircle as o, closeSharp as p, searchSharp as q, reorderThreeOutline as r, searchOutline as s, checkmarkOutline as t, removeOutline as u, ellipseOutline as v };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { u as now, q as pointerCoord } from './helpers-bf0e23d6.js';
|
2
2
|
|
3
3
|
/*!
|
4
4
|
* (C) Ionic http://ionicframework.com - MIT License
|
@@ -6,15 +6,11 @@ import { q as now, p as pointerCoord } from './helpers-9d0930de.js';
|
|
6
6
|
const startTapClick = (config) => {
|
7
7
|
let lastTouch = -MOUSE_WAIT * 10;
|
8
8
|
let lastActivated = 0;
|
9
|
-
let scrollingEl;
|
10
9
|
let activatableEle;
|
11
10
|
let activeRipple;
|
12
11
|
let activeDefer;
|
13
12
|
const useRippleEffect = config.getBoolean('animated', true) && config.getBoolean('rippleEffect', true);
|
14
13
|
const clearDefers = new WeakMap();
|
15
|
-
const isScrolling = () => {
|
16
|
-
return scrollingEl !== undefined && scrollingEl.parentElement !== null;
|
17
|
-
};
|
18
14
|
// Touch Events
|
19
15
|
const onTouchStart = (ev) => {
|
20
16
|
lastTouch = now(ev);
|
@@ -25,6 +21,10 @@ const startTapClick = (config) => {
|
|
25
21
|
pointerUp(ev);
|
26
22
|
};
|
27
23
|
const onMouseDown = (ev) => {
|
24
|
+
// Ignore right clicks
|
25
|
+
if (ev.button === 2) {
|
26
|
+
return;
|
27
|
+
}
|
28
28
|
const t = now(ev) - MOUSE_WAIT;
|
29
29
|
if (lastTouch < t) {
|
30
30
|
pointerDown(ev);
|
@@ -36,9 +36,6 @@ const startTapClick = (config) => {
|
|
36
36
|
pointerUp(ev);
|
37
37
|
}
|
38
38
|
};
|
39
|
-
const onContextMenu = (ev) => {
|
40
|
-
pointerUp(ev);
|
41
|
-
};
|
42
39
|
const cancelActive = () => {
|
43
40
|
clearTimeout(activeDefer);
|
44
41
|
activeDefer = undefined;
|
@@ -48,10 +45,9 @@ const startTapClick = (config) => {
|
|
48
45
|
}
|
49
46
|
};
|
50
47
|
const pointerDown = (ev) => {
|
51
|
-
if (activatableEle
|
48
|
+
if (activatableEle) {
|
52
49
|
return;
|
53
50
|
}
|
54
|
-
scrollingEl = undefined;
|
55
51
|
setActivatedElement(getActivatableTarget(ev), ev);
|
56
52
|
};
|
57
53
|
const pointerUp = (ev) => {
|
@@ -95,6 +91,7 @@ const startTapClick = (config) => {
|
|
95
91
|
lastActivated = Date.now();
|
96
92
|
el.classList.add(ACTIVATED);
|
97
93
|
const rippleEffect = useRippleEffect && getRippleEffect(el);
|
94
|
+
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
|
98
95
|
if (rippleEffect && rippleEffect.addRipple) {
|
99
96
|
removeRipple();
|
100
97
|
activeRipple = rippleEffect.addRipple(x, y);
|
@@ -102,7 +99,7 @@ const startTapClick = (config) => {
|
|
102
99
|
};
|
103
100
|
const removeRipple = () => {
|
104
101
|
if (activeRipple !== undefined) {
|
105
|
-
activeRipple.then(remove => remove());
|
102
|
+
activeRipple.then((remove) => remove());
|
106
103
|
activeRipple = undefined;
|
107
104
|
}
|
108
105
|
};
|
@@ -125,27 +122,40 @@ const startTapClick = (config) => {
|
|
125
122
|
}
|
126
123
|
};
|
127
124
|
const doc = document;
|
128
|
-
doc.addEventListener('ionScrollStart', ev => {
|
129
|
-
scrollingEl = ev.target;
|
130
|
-
cancelActive();
|
131
|
-
});
|
132
|
-
doc.addEventListener('ionScrollEnd', () => {
|
133
|
-
scrollingEl = undefined;
|
134
|
-
});
|
135
125
|
doc.addEventListener('ionGestureCaptured', cancelActive);
|
136
126
|
doc.addEventListener('touchstart', onTouchStart, true);
|
137
127
|
doc.addEventListener('touchcancel', onTouchEnd, true);
|
138
128
|
doc.addEventListener('touchend', onTouchEnd, true);
|
129
|
+
/**
|
130
|
+
* Tap click effects such as the ripple effect should
|
131
|
+
* not happen when scrolling. For example, if a user scrolls
|
132
|
+
* the page but also happens to do a touchstart on a button
|
133
|
+
* as part of the scroll, the ripple effect should not
|
134
|
+
* be dispatched. The ripple effect should only happen
|
135
|
+
* if the button is activated and the page is not scrolling.
|
136
|
+
*
|
137
|
+
* pointercancel is dispatched on a gesture when scrolling
|
138
|
+
* starts, so this lets us avoid having to listen for
|
139
|
+
* ion-content's scroll events.
|
140
|
+
*/
|
141
|
+
doc.addEventListener('pointercancel', cancelActive, true);
|
139
142
|
doc.addEventListener('mousedown', onMouseDown, true);
|
140
143
|
doc.addEventListener('mouseup', onMouseUp, true);
|
141
|
-
doc.addEventListener('contextmenu', onContextMenu, true);
|
142
144
|
};
|
143
145
|
const getActivatableTarget = (ev) => {
|
144
146
|
if (ev.composedPath) {
|
147
|
+
/**
|
148
|
+
* composedPath returns EventTarget[]. However,
|
149
|
+
* objects other than Element can be targets too.
|
150
|
+
* For example, AudioContext can be a target. In this
|
151
|
+
* case, we know that the event is a UIEvent so we
|
152
|
+
* can assume that the path will contain either Element
|
153
|
+
* or ShadowRoot.
|
154
|
+
*/
|
145
155
|
const path = ev.composedPath();
|
146
156
|
for (let i = 0; i < path.length - 2; i++) {
|
147
157
|
const el = path[i];
|
148
|
-
if (el
|
158
|
+
if (!(el instanceof ShadowRoot) && el.classList.contains('ion-activatable')) {
|
149
159
|
return el;
|
150
160
|
}
|
151
161
|
}
|
@@ -0,0 +1,128 @@
|
|
1
|
+
import { c as componentOnReady } from './helpers-bf0e23d6.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, findIonContent as a, ION_CONTENT_CLASS_SELECTOR as b, scrollByPoint as c, disableContentScrollY as d, findClosestIonContent as f, getScrollElement as g, isIonContent as i, printIonContentErrorMsg as p, resetContentScrollY as r, scrollToTop as s };
|
@@ -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);
|