@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,7 +1,7 @@
|
|
1
|
-
import { r as registerInstance, i as createEvent, h, H as Host, e as getElement } from './index-
|
2
|
-
import { g as getIonMode } from './ionic-global-
|
3
|
-
import {
|
4
|
-
import { b as hapticSelectionChanged, c as hapticSelectionEnd, a as hapticSelectionStart } from './haptic-
|
1
|
+
import { r as registerInstance, i as createEvent, h, H as Host, e as getElement } from './index-c04b9ed5.js';
|
2
|
+
import { g as getIonMode } from './ionic-global-4903e23e.js';
|
3
|
+
import { m as clamp } from './helpers-bf0e23d6.js';
|
4
|
+
import { b as hapticSelectionChanged, c as hapticSelectionEnd, a as hapticSelectionStart } from './haptic-522f76f2.js';
|
5
5
|
|
6
6
|
const pickerColumnIosCss = ".picker-col{display:flex;position:relative;flex:1;justify-content:center;height:100%;box-sizing:content-box;contain:content}.picker-opts{position:relative;flex:1;max-width:100%}.picker-opt{left:0;top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}[dir=rtl] .picker-opt,:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{justify-content:flex-start}.picker-opts-right{justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;flex:1;text-align:start;white-space:nowrap}.picker-col{padding-left:4px;padding-right:4px;padding-top:0;padding-bottom:0;transform-style:preserve-3d}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.picker-col{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px}}.picker-prefix,.picker-suffix,.picker-opts{top:77px;transform-style:preserve-3d;color:inherit;font-size:20px;line-height:42px;pointer-events:none}.picker-opt{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;transform-origin:center center;height:46px;transform-style:preserve-3d;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:20px;line-height:42px;backface-visibility:hidden;pointer-events:auto}[dir=rtl] .picker-opt,:host-context([dir=rtl]) .picker-opt{transform-origin:calc(100% - center) center}";
|
7
7
|
|
@@ -31,15 +31,15 @@ const PickerColumnCmp = class {
|
|
31
31
|
}
|
32
32
|
this.rotateFactor = pickerRotateFactor;
|
33
33
|
this.scaleFactor = pickerScaleFactor;
|
34
|
-
this.gesture = (await import('./index-
|
34
|
+
this.gesture = (await import('./index-21661af2.js')).createGesture({
|
35
35
|
el: this.el,
|
36
36
|
gestureName: 'picker-swipe',
|
37
37
|
gesturePriority: 100,
|
38
38
|
threshold: 0,
|
39
39
|
passive: false,
|
40
|
-
onStart: ev => this.onStart(ev),
|
41
|
-
onMove: ev => this.onMove(ev),
|
42
|
-
onEnd: ev => this.onEnd(ev),
|
40
|
+
onStart: (ev) => this.onStart(ev),
|
41
|
+
onMove: (ev) => this.onMove(ev),
|
42
|
+
onEnd: (ev) => this.onEnd(ev),
|
43
43
|
});
|
44
44
|
this.gesture.enable();
|
45
45
|
this.tmrId = setTimeout(() => {
|
@@ -52,7 +52,7 @@ const PickerColumnCmp = class {
|
|
52
52
|
if (colEl) {
|
53
53
|
// DOM READ
|
54
54
|
// We perfom a DOM read over a rendered item, this needs to happen after the first render
|
55
|
-
this.optHeight =
|
55
|
+
this.optHeight = colEl.firstElementChild ? colEl.firstElementChild.clientHeight : 0;
|
56
56
|
}
|
57
57
|
this.refresh();
|
58
58
|
}
|
@@ -70,7 +70,7 @@ const PickerColumnCmp = class {
|
|
70
70
|
setSelected(selectedIndex, duration) {
|
71
71
|
// if there is a selected index, then figure out it's y position
|
72
72
|
// if there isn't a selected index, then just use the top y position
|
73
|
-
const y =
|
73
|
+
const y = selectedIndex > -1 ? -(selectedIndex * this.optHeight) : 0;
|
74
74
|
this.velocity = 0;
|
75
75
|
// set what y position we're at
|
76
76
|
cancelAnimationFrame(this.rafId);
|
@@ -85,14 +85,14 @@ const PickerColumnCmp = class {
|
|
85
85
|
let translateY = 0;
|
86
86
|
let translateZ = 0;
|
87
87
|
const { col, rotateFactor } = this;
|
88
|
-
const selectedIndex = col.selectedIndex = this.indexForY(-y);
|
89
|
-
const durationStr =
|
88
|
+
const selectedIndex = (col.selectedIndex = this.indexForY(-y));
|
89
|
+
const durationStr = duration === 0 ? '' : duration + 'ms';
|
90
90
|
const scaleStr = `scale(${this.scaleFactor})`;
|
91
91
|
const children = this.optsEl.children;
|
92
92
|
for (let i = 0; i < children.length; i++) {
|
93
93
|
const button = children[i];
|
94
94
|
const opt = col.options[i];
|
95
|
-
const optOffset =
|
95
|
+
const optOffset = i * this.optHeight + y;
|
96
96
|
let transform = '';
|
97
97
|
if (rotateFactor !== 0) {
|
98
98
|
const rotateX = optOffset * rotateFactor;
|
@@ -126,8 +126,8 @@ const PickerColumnCmp = class {
|
|
126
126
|
// Update transform
|
127
127
|
if (transform !== opt.transform) {
|
128
128
|
opt.transform = transform;
|
129
|
-
button.style.transform = transform;
|
130
129
|
}
|
130
|
+
button.style.transform = transform;
|
131
131
|
// Update selected item
|
132
132
|
if (selected !== opt.selected) {
|
133
133
|
opt.selected = selected;
|
@@ -154,9 +154,7 @@ const PickerColumnCmp = class {
|
|
154
154
|
// still decelerating
|
155
155
|
this.velocity *= DECELERATION_FRICTION;
|
156
156
|
// do not let it go slower than a velocity of 1
|
157
|
-
this.velocity =
|
158
|
-
? Math.max(this.velocity, 1)
|
159
|
-
: Math.min(this.velocity, -1);
|
157
|
+
this.velocity = this.velocity > 0 ? Math.max(this.velocity, 1) : Math.min(this.velocity, -1);
|
160
158
|
let y = this.y + this.velocity;
|
161
159
|
if (y > this.minY) {
|
162
160
|
// whoops, it's trying to scroll up farther than the options we have!
|
@@ -169,7 +167,7 @@ const PickerColumnCmp = class {
|
|
169
167
|
this.velocity = 0;
|
170
168
|
}
|
171
169
|
this.update(y, 0, true);
|
172
|
-
const notLockedIn =
|
170
|
+
const notLockedIn = Math.round(y) % this.optHeight !== 0 || Math.abs(this.velocity) > 1;
|
173
171
|
if (notLockedIn) {
|
174
172
|
// isn't locked in yet, keep decelerating until it is
|
175
173
|
this.rafId = requestAnimationFrame(() => this.decelerate());
|
@@ -184,7 +182,7 @@ const PickerColumnCmp = class {
|
|
184
182
|
// needs to still get locked into a position so options line up
|
185
183
|
const currentPos = Math.abs(this.y % this.optHeight);
|
186
184
|
// create a velocity in the direction it needs to scroll
|
187
|
-
this.velocity =
|
185
|
+
this.velocity = currentPos > this.optHeight / 2 ? 1 : -1;
|
188
186
|
this.decelerate();
|
189
187
|
}
|
190
188
|
}
|
@@ -204,7 +202,7 @@ const PickerColumnCmp = class {
|
|
204
202
|
// reset everything
|
205
203
|
cancelAnimationFrame(this.rafId);
|
206
204
|
const options = this.col.options;
|
207
|
-
let minY =
|
205
|
+
let minY = options.length - 1;
|
208
206
|
let maxY = 0;
|
209
207
|
for (let i = 0; i < options.length; i++) {
|
210
208
|
if (!options[i].disabled) {
|
@@ -253,7 +251,7 @@ const PickerColumnCmp = class {
|
|
253
251
|
this.velocity = clamp(-MAX_PICKER_SPEED, detail.velocityY * 23, MAX_PICKER_SPEED);
|
254
252
|
if (this.velocity === 0 && detail.deltaY === 0) {
|
255
253
|
const opt = detail.event.target.closest('.picker-opt');
|
256
|
-
if (opt
|
254
|
+
if (opt === null || opt === void 0 ? void 0 : opt.hasAttribute('opt-index')) {
|
257
255
|
this.setSelected(parseInt(opt.getAttribute('opt-index'), 10), TRANSITION_DURATION);
|
258
256
|
}
|
259
257
|
}
|
@@ -294,7 +292,7 @@ const PickerColumnCmp = class {
|
|
294
292
|
}
|
295
293
|
const selectedIndex = clamp(min, this.col.selectedIndex || 0, max);
|
296
294
|
if (this.col.prevSelected !== selectedIndex || forceRefresh) {
|
297
|
-
const y =
|
295
|
+
const y = selectedIndex * this.optHeight * -1;
|
298
296
|
this.velocity = 0;
|
299
297
|
this.update(y, TRANSITION_DURATION, true);
|
300
298
|
}
|
@@ -307,10 +305,10 @@ const PickerColumnCmp = class {
|
|
307
305
|
[mode]: true,
|
308
306
|
'picker-col': true,
|
309
307
|
'picker-opts-left': this.col.align === 'left',
|
310
|
-
'picker-opts-right': this.col.align === 'right'
|
308
|
+
'picker-opts-right': this.col.align === 'right',
|
311
309
|
}, style: {
|
312
|
-
'max-width': this.col.columnWidth
|
313
|
-
} }, col.prefix && (h("div", { class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: el => this.optsEl = el }, col.options.map((o, index) => h(Button, { type: "button", class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text))), col.suffix && (h("div", { class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
310
|
+
'max-width': this.col.columnWidth,
|
311
|
+
} }, col.prefix && (h("div", { class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (h(Button, { type: "button", class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (h("div", { class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
314
312
|
}
|
315
313
|
get el() { return getElement(this); }
|
316
314
|
static get watchers() { return {
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { r as registerInstance, i as createEvent, h, H as Host, e as getElement } from './index-
|
2
|
-
import { g as getIonMode } from './ionic-global-
|
3
|
-
import { B as BACKDROP, i as isCancel, p as prepareOverlay,
|
4
|
-
import { g as getClassMap } from './theme-
|
5
|
-
import { c as createAnimation } from './animation-
|
6
|
-
import './hardware-back-button-
|
7
|
-
import './helpers-
|
1
|
+
import { r as registerInstance, i as createEvent, h, H as Host, e as getElement } from './index-c04b9ed5.js';
|
2
|
+
import { g as getIonMode } from './ionic-global-4903e23e.js';
|
3
|
+
import { B as BACKDROP, i as isCancel, p as prepareOverlay, b as present, d as dismiss, e as eventMethod, s as safeCall } from './overlays-3b4dca92.js';
|
4
|
+
import { g as getClassMap } from './theme-7ef00c83.js';
|
5
|
+
import { c as createAnimation } from './animation-12377cb3.js';
|
6
|
+
import './hardware-back-button-fa04d6e9.js';
|
7
|
+
import './helpers-bf0e23d6.js';
|
8
8
|
|
9
9
|
/*!
|
10
10
|
* (C) Ionic http://ionicframework.com - MIT License
|
@@ -20,7 +20,7 @@ const iosEnterAnimation = (baseEl) => {
|
|
20
20
|
.addElement(baseEl.querySelector('ion-backdrop'))
|
21
21
|
.fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
|
22
22
|
.beforeStyles({
|
23
|
-
'pointer-events': 'none'
|
23
|
+
'pointer-events': 'none',
|
24
24
|
})
|
25
25
|
.afterClearStyles(['pointer-events']);
|
26
26
|
wrapperAnimation
|
@@ -102,7 +102,7 @@ const Picker = class {
|
|
102
102
|
this.dispatchCancelHandler = (ev) => {
|
103
103
|
const role = ev.detail.role;
|
104
104
|
if (isCancel(role)) {
|
105
|
-
const cancelButton = this.buttons.find(b => b.role === 'cancel');
|
105
|
+
const cancelButton = this.buttons.find((b) => b.role === 'cancel');
|
106
106
|
this.callButtonHandler(cancelButton);
|
107
107
|
}
|
108
108
|
};
|
@@ -152,7 +152,7 @@ const Picker = class {
|
|
152
152
|
* @param name The name of the column.
|
153
153
|
*/
|
154
154
|
getColumn(name) {
|
155
|
-
return Promise.resolve(this.columns.find(column => column.name === name));
|
155
|
+
return Promise.resolve(this.columns.find((column) => column.name === name));
|
156
156
|
}
|
157
157
|
async buttonClick(button) {
|
158
158
|
const role = button.role;
|
@@ -180,13 +180,11 @@ const Picker = class {
|
|
180
180
|
getSelected() {
|
181
181
|
const selected = {};
|
182
182
|
this.columns.forEach((col, index) => {
|
183
|
-
const selectedColumn = col.selectedIndex !== undefined
|
184
|
-
? col.options[col.selectedIndex]
|
185
|
-
: undefined;
|
183
|
+
const selectedColumn = col.selectedIndex !== undefined ? col.options[col.selectedIndex] : undefined;
|
186
184
|
selected[col.name] = {
|
187
185
|
text: selectedColumn ? selectedColumn.text : undefined,
|
188
186
|
value: selectedColumn ? selectedColumn.value : undefined,
|
189
|
-
columnIndex: index
|
187
|
+
columnIndex: index,
|
190
188
|
};
|
191
189
|
});
|
192
190
|
return selected;
|
@@ -195,17 +193,17 @@ const Picker = class {
|
|
195
193
|
const { htmlAttributes } = this;
|
196
194
|
const mode = getIonMode(this);
|
197
195
|
return (h(Host, Object.assign({ "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
198
|
-
zIndex: `${20000 + this.overlayIndex}
|
196
|
+
zIndex: `${20000 + this.overlayIndex}`,
|
199
197
|
}, class: Object.assign({ [mode]: true,
|
200
198
|
// Used internally for styling
|
201
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { tabindex: "0" }), h("div", { class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { class: "picker-toolbar" }, this.buttons.map(b => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { class: "picker-columns" }, h("div", { class: "picker-above-highlight" }), this.presented && this.columns.map(c => h("ion-picker-column", { col: c })), h("div", { class: "picker-below-highlight" }))), h("div", { tabindex: "0" })));
|
199
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { tabindex: "0" }), h("div", { class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { class: "picker-toolbar" }, this.buttons.map((b) => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { class: "picker-columns" }, h("div", { class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-column", { col: c })), h("div", { class: "picker-below-highlight" }))), h("div", { tabindex: "0" })));
|
202
200
|
}
|
203
201
|
get el() { return getElement(this); }
|
204
202
|
};
|
205
203
|
const buttonWrapperClass = (button) => {
|
206
204
|
return {
|
207
205
|
[`picker-toolbar-${button.role}`]: button.role !== undefined,
|
208
|
-
'picker-toolbar-button': true
|
206
|
+
'picker-toolbar-button': true,
|
209
207
|
};
|
210
208
|
};
|
211
209
|
const buttonClass = (button) => {
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
2
|
-
import { c as config, g as getIonMode } from './ionic-global-
|
3
|
-
import {
|
4
|
-
import { c as createColorClasses } from './theme-
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-c04b9ed5.js';
|
2
|
+
import { c as config, g as getIonMode } from './ionic-global-4903e23e.js';
|
3
|
+
import { m as clamp } from './helpers-bf0e23d6.js';
|
4
|
+
import { c as createColorClasses } from './theme-7ef00c83.js';
|
5
5
|
|
6
6
|
const progressBarIosCss = ":host{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.3);--progress-background:var(--ion-color-primary, #3880ff);--buffer-background:var(--background);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{transform-origin:left top;transition:transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--buffer-background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{animation:primary-indeterminate-scale 2s infinite linear;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{animation:secondary-indeterminate-scale 2s infinite linear;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{animation-play-state:paused}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@keyframes primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes buffering{to{transform:translateX(-10px)}}:host{height:3px}";
|
7
7
|
|
@@ -39,10 +39,8 @@ const ProgressBar = class {
|
|
39
39
|
[mode]: true,
|
40
40
|
[`progress-bar-${type}`]: true,
|
41
41
|
'progress-paused': paused,
|
42
|
-
'progress-bar-reversed': document.dir === 'rtl' ? !reversed : reversed
|
43
|
-
}) }, type === 'indeterminate'
|
44
|
-
? renderIndeterminate()
|
45
|
-
: renderProgress(value, buffer)));
|
42
|
+
'progress-bar-reversed': document.dir === 'rtl' ? !reversed : reversed,
|
43
|
+
}) }, type === 'indeterminate' ? renderIndeterminate() : renderProgress(value, buffer)));
|
46
44
|
}
|
47
45
|
};
|
48
46
|
const renderIndeterminate = () => {
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { r as registerInstance, h, H as Host, e as getElement } from './index-
|
2
|
-
import { j as caretBackSharp, k as arrowDown } from './index-
|
3
|
-
import { g as getIonMode, c as config, a as isPlatform } from './ionic-global-
|
4
|
-
import { s as sanitizeDOMString } from './index-
|
5
|
-
import { S as SPINNERS } from './spinner-configs-
|
1
|
+
import { r as registerInstance, h, H as Host, e as getElement } from './index-c04b9ed5.js';
|
2
|
+
import { j as caretBackSharp, k as arrowDown } from './index-4044fde9.js';
|
3
|
+
import { g as getIonMode, c as config, a as isPlatform } from './ionic-global-4903e23e.js';
|
4
|
+
import { s as sanitizeDOMString } from './index-be6112f8.js';
|
5
|
+
import { S as SPINNERS } from './spinner-configs-a37e628a.js';
|
6
6
|
|
7
7
|
const RefresherContent = class {
|
8
8
|
constructor(hostRef) {
|
@@ -23,13 +23,7 @@ const RefresherContent = class {
|
|
23
23
|
const pullingIcon = this.pullingIcon;
|
24
24
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
25
25
|
const mode = getIonMode(this);
|
26
|
-
return (h(Host, { class: mode }, h("div", { class: "refresher-pulling" }, this.pullingIcon && hasSpinner &&
|
27
|
-
h("div", { class: "refresher-pulling-icon" }, h("div", { class: "spinner-arrow-container" }, h("ion-spinner", { name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' &&
|
28
|
-
h("div", { class: "arrow-container" }, h("ion-icon", { icon: caretBackSharp })))), this.pullingIcon && !hasSpinner &&
|
29
|
-
h("div", { class: "refresher-pulling-icon" }, h("ion-icon", { icon: this.pullingIcon, lazy: false })), this.pullingText &&
|
30
|
-
h("div", { class: "refresher-pulling-text", innerHTML: sanitizeDOMString(this.pullingText) })), h("div", { class: "refresher-refreshing" }, this.refreshingSpinner &&
|
31
|
-
h("div", { class: "refresher-refreshing-icon" }, h("ion-spinner", { name: this.refreshingSpinner })), this.refreshingText &&
|
32
|
-
h("div", { class: "refresher-refreshing-text", innerHTML: sanitizeDOMString(this.refreshingText) }))));
|
26
|
+
return (h(Host, { class: mode }, h("div", { class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("div", { class: "spinner-arrow-container" }, h("ion-spinner", { name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (h("div", { class: "arrow-container" }, h("ion-icon", { icon: caretBackSharp })))))), this.pullingIcon && !hasSpinner && (h("div", { class: "refresher-pulling-icon" }, h("ion-icon", { icon: this.pullingIcon, lazy: false }))), this.pullingText && (h("div", { class: "refresher-pulling-text", innerHTML: sanitizeDOMString(this.pullingText) }))), h("div", { class: "refresher-refreshing" }, this.refreshingSpinner && (h("div", { class: "refresher-refreshing-icon" }, h("ion-spinner", { name: this.refreshingSpinner }))), this.refreshingText && (h("div", { class: "refresher-refreshing-text", innerHTML: sanitizeDOMString(this.refreshingText) })))));
|
33
27
|
}
|
34
28
|
get el() { return getElement(this); }
|
35
29
|
};
|
@@ -1,9 +1,11 @@
|
|
1
|
-
import { w as writeTask, r as registerInstance, i as createEvent, j as readTask, h, e as getElement, H as Host } from './index-
|
2
|
-
import { a as isPlatform, g as getIonMode } from './ionic-global-
|
3
|
-
import { g as getTimeGivenProgression } from './cubic-bezier-
|
4
|
-
import {
|
5
|
-
import {
|
6
|
-
import {
|
1
|
+
import { w as writeTask, r as registerInstance, i as createEvent, j as readTask, h, e as getElement, H as Host } from './index-c04b9ed5.js';
|
2
|
+
import { a as isPlatform, g as getIonMode } from './ionic-global-4903e23e.js';
|
3
|
+
import { g as getTimeGivenProgression } from './cubic-bezier-4c0db14f.js';
|
4
|
+
import { I as ION_CONTENT_ELEMENT_SELECTOR, p as printIonContentErrorMsg, b as ION_CONTENT_CLASS_SELECTOR, g as getScrollElement } from './index-5e8971ae.js';
|
5
|
+
import { t as transitionEndAsync, c as componentOnReady, m as clamp, g as getElementRoot, l as raf } from './helpers-bf0e23d6.js';
|
6
|
+
import { h as hapticImpact } from './haptic-522f76f2.js';
|
7
|
+
import { c as createAnimation } from './animation-12377cb3.js';
|
8
|
+
import './index-dad75b83.js';
|
7
9
|
|
8
10
|
/*!
|
9
11
|
* (C) Ionic http://ionicframework.com - MIT License
|
@@ -14,38 +16,38 @@ const getRefresherAnimationType = (contentEl) => {
|
|
14
16
|
return hasHeader ? 'translate' : 'scale';
|
15
17
|
};
|
16
18
|
const createPullingAnimation = (type, pullingSpinner, refresherEl) => {
|
17
|
-
return type === 'scale'
|
19
|
+
return type === 'scale'
|
20
|
+
? createScaleAnimation(pullingSpinner, refresherEl)
|
21
|
+
: createTranslateAnimation(pullingSpinner, refresherEl);
|
18
22
|
};
|
19
23
|
const createBaseAnimation = (pullingRefresherIcon) => {
|
20
24
|
const spinner = pullingRefresherIcon.querySelector('ion-spinner');
|
21
25
|
const circle = spinner.shadowRoot.querySelector('circle');
|
22
26
|
const spinnerArrowContainer = pullingRefresherIcon.querySelector('.spinner-arrow-container');
|
23
27
|
const arrowContainer = pullingRefresherIcon.querySelector('.arrow-container');
|
24
|
-
const arrow =
|
25
|
-
const baseAnimation = createAnimation()
|
26
|
-
.duration(1000)
|
27
|
-
.easing('ease-out');
|
28
|
+
const arrow = arrowContainer ? arrowContainer.querySelector('ion-icon') : null;
|
29
|
+
const baseAnimation = createAnimation().duration(1000).easing('ease-out');
|
28
30
|
const spinnerArrowContainerAnimation = createAnimation()
|
29
31
|
.addElement(spinnerArrowContainer)
|
30
32
|
.keyframes([
|
31
33
|
{ offset: 0, opacity: '0.3' },
|
32
34
|
{ offset: 0.45, opacity: '0.3' },
|
33
35
|
{ offset: 0.55, opacity: '1' },
|
34
|
-
{ offset: 1, opacity: '1' }
|
36
|
+
{ offset: 1, opacity: '1' },
|
35
37
|
]);
|
36
38
|
const circleInnerAnimation = createAnimation()
|
37
39
|
.addElement(circle)
|
38
40
|
.keyframes([
|
39
41
|
{ offset: 0, strokeDasharray: '1px, 200px' },
|
40
|
-
{ offset: 0.
|
42
|
+
{ offset: 0.2, strokeDasharray: '1px, 200px' },
|
41
43
|
{ offset: 0.55, strokeDasharray: '100px, 200px' },
|
42
|
-
{ offset: 1, strokeDasharray: '100px, 200px' }
|
44
|
+
{ offset: 1, strokeDasharray: '100px, 200px' },
|
43
45
|
]);
|
44
46
|
const circleOuterAnimation = createAnimation()
|
45
47
|
.addElement(spinner)
|
46
48
|
.keyframes([
|
47
49
|
{ offset: 0, transform: 'rotate(-90deg)' },
|
48
|
-
{ offset: 1, transform: 'rotate(210deg)' }
|
50
|
+
{ offset: 1, transform: 'rotate(210deg)' },
|
49
51
|
]);
|
50
52
|
/**
|
51
53
|
* Only add arrow animation if present
|
@@ -57,17 +59,17 @@ const createBaseAnimation = (pullingRefresherIcon) => {
|
|
57
59
|
.addElement(arrowContainer)
|
58
60
|
.keyframes([
|
59
61
|
{ offset: 0, transform: 'rotate(0deg)' },
|
60
|
-
{ offset: 0.
|
62
|
+
{ offset: 0.3, transform: 'rotate(0deg)' },
|
61
63
|
{ offset: 0.55, transform: 'rotate(280deg)' },
|
62
|
-
{ offset: 1, transform: 'rotate(400deg)' }
|
64
|
+
{ offset: 1, transform: 'rotate(400deg)' },
|
63
65
|
]);
|
64
66
|
const arrowAnimation = createAnimation()
|
65
67
|
.addElement(arrow)
|
66
68
|
.keyframes([
|
67
69
|
{ offset: 0, transform: 'translateX(2px) scale(0)' },
|
68
|
-
{ offset: 0.
|
70
|
+
{ offset: 0.3, transform: 'translateX(2px) scale(0)' },
|
69
71
|
{ offset: 0.55, transform: 'translateX(-1.5px) scale(1)' },
|
70
|
-
{ offset: 1, transform: 'translateX(-1.5px) scale(1)' }
|
72
|
+
{ offset: 1, transform: 'translateX(-1.5px) scale(1)' },
|
71
73
|
]);
|
72
74
|
baseAnimation.addAnimation([arrowContainerAnimation, arrowAnimation]);
|
73
75
|
}
|
@@ -88,7 +90,7 @@ const createScaleAnimation = (pullingRefresherIcon, refresherEl) => {
|
|
88
90
|
.addElement(pullingRefresherIcon)
|
89
91
|
.keyframes([
|
90
92
|
{ offset: 0, transform: `scale(0) translateY(-${height}px)` },
|
91
|
-
{ offset: 1, transform: 'scale(1) translateY(100px)' }
|
93
|
+
{ offset: 1, transform: 'scale(1) translateY(100px)' },
|
92
94
|
]);
|
93
95
|
return createBaseAnimation(pullingRefresherIcon).addAnimation([spinnerAnimation]);
|
94
96
|
};
|
@@ -107,7 +109,7 @@ const createTranslateAnimation = (pullingRefresherIcon, refresherEl) => {
|
|
107
109
|
.addElement(pullingRefresherIcon)
|
108
110
|
.keyframes([
|
109
111
|
{ offset: 0, transform: `translateY(-${height}px)` },
|
110
|
-
{ offset: 1, transform: 'translateY(100px)' }
|
112
|
+
{ offset: 1, transform: 'translateY(100px)' },
|
111
113
|
]);
|
112
114
|
return createBaseAnimation(pullingRefresherIcon).addAnimation([spinnerAnimation]);
|
113
115
|
};
|
@@ -143,7 +145,7 @@ const handleScrollWhilePulling = (ticks, numTicks, pullAmount) => {
|
|
143
145
|
const handleScrollWhileRefreshing = (spinner, lastVelocityY) => {
|
144
146
|
writeTask(() => {
|
145
147
|
// If user pulls down quickly, the spinner should spin faster
|
146
|
-
spinner.style.setProperty('--refreshing-rotation-duration',
|
148
|
+
spinner.style.setProperty('--refreshing-rotation-duration', lastVelocityY >= 1.0 ? '0.5s' : '2s');
|
147
149
|
spinner.style.setProperty('opacity', '1');
|
148
150
|
});
|
149
151
|
};
|
@@ -170,7 +172,7 @@ const shouldUseNativeRefresher = async (referenceEl, mode) => {
|
|
170
172
|
if (!refresherContent) {
|
171
173
|
return Promise.resolve(false);
|
172
174
|
}
|
173
|
-
await new Promise(resolve => componentOnReady(refresherContent, resolve));
|
175
|
+
await new Promise((resolve) => componentOnReady(refresherContent, resolve));
|
174
176
|
const pullingSpinner = referenceEl.querySelector('ion-refresher-content .refresher-pulling ion-spinner');
|
175
177
|
const refreshingSpinner = referenceEl.querySelector('ion-refresher-content .refresher-refreshing ion-spinner');
|
176
178
|
return (pullingSpinner !== null &&
|
@@ -289,7 +291,7 @@ const Refresher = class {
|
|
289
291
|
this.didRefresh = false;
|
290
292
|
this.needsCompletion = false;
|
291
293
|
this.pointerDown = false;
|
292
|
-
this.animations.forEach(ani => ani.destroy());
|
294
|
+
this.animations.forEach((ani) => ani.destroy());
|
293
295
|
this.animations = [];
|
294
296
|
this.progress = 0;
|
295
297
|
this.state = 1 /* Inactive */;
|
@@ -299,7 +301,7 @@ const Refresher = class {
|
|
299
301
|
const ticks = pullingSpinner.shadowRoot.querySelectorAll('svg');
|
300
302
|
let MAX_PULL = this.scrollEl.clientHeight * 0.16;
|
301
303
|
const NUM_TICKS = ticks.length;
|
302
|
-
writeTask(() => ticks.forEach(el => el.style.setProperty('animation', 'none')));
|
304
|
+
writeTask(() => ticks.forEach((el) => el.style.setProperty('animation', 'none')));
|
303
305
|
this.scrollListenerCallback = () => {
|
304
306
|
// If pointer is not on screen or refresher is not active, ignore scroll
|
305
307
|
if (!this.pointerDown && this.state === 1 /* Inactive */) {
|
@@ -338,8 +340,8 @@ const Refresher = class {
|
|
338
340
|
* gesture before the refresher completes, we want the
|
339
341
|
* refresher tick marks to quickly fade out.
|
340
342
|
*/
|
341
|
-
const offset =
|
342
|
-
const pullAmount = this.progress = clamp(0, (Math.abs(scrollTop) - offset) / MAX_PULL, 1);
|
343
|
+
const offset = this.didStart ? 30 : 0;
|
344
|
+
const pullAmount = (this.progress = clamp(0, (Math.abs(scrollTop) - offset) / MAX_PULL, 1));
|
343
345
|
const shouldShowRefreshingSpinner = this.state === 8 /* Refreshing */ || pullAmount === 1;
|
344
346
|
if (shouldShowRefreshingSpinner) {
|
345
347
|
if (this.pointerDown) {
|
@@ -365,7 +367,7 @@ const Refresher = class {
|
|
365
367
|
});
|
366
368
|
};
|
367
369
|
this.scrollEl.addEventListener('scroll', this.scrollListenerCallback);
|
368
|
-
this.gesture = (await import('./index-
|
370
|
+
this.gesture = (await import('./index-21661af2.js')).createGesture({
|
369
371
|
el: this.scrollEl,
|
370
372
|
gestureName: 'refresher',
|
371
373
|
gesturePriority: 31,
|
@@ -388,7 +390,7 @@ const Refresher = class {
|
|
388
390
|
MAX_PULL = this.scrollEl.clientHeight * 0.16;
|
389
391
|
}
|
390
392
|
},
|
391
|
-
onMove: ev => {
|
393
|
+
onMove: (ev) => {
|
392
394
|
this.lastVelocityY = ev.velocityY;
|
393
395
|
},
|
394
396
|
onEnd: () => {
|
@@ -417,14 +419,17 @@ const Refresher = class {
|
|
417
419
|
refreshingCircle.style.setProperty('animation-delay', '-655ms');
|
418
420
|
});
|
419
421
|
}
|
420
|
-
this.gesture = (await import('./index-
|
422
|
+
this.gesture = (await import('./index-21661af2.js')).createGesture({
|
421
423
|
el: this.scrollEl,
|
422
424
|
gestureName: 'refresher',
|
423
425
|
gesturePriority: 31,
|
424
426
|
direction: 'y',
|
425
427
|
threshold: 5,
|
426
|
-
canStart: () => this.state !== 8 /* Refreshing */ &&
|
428
|
+
canStart: () => this.state !== 8 /* Refreshing */ &&
|
429
|
+
this.state !== 32 /* Completing */ &&
|
430
|
+
this.scrollEl.scrollTop === 0,
|
427
431
|
onStart: (ev) => {
|
432
|
+
this.progress = 0;
|
428
433
|
ev.data = { animation: undefined, didStart: false, cancelled: false };
|
429
434
|
},
|
430
435
|
onMove: (ev) => {
|
@@ -453,13 +458,11 @@ const Refresher = class {
|
|
453
458
|
if (!ev.data.didStart) {
|
454
459
|
return;
|
455
460
|
}
|
461
|
+
this.gesture.enable(false);
|
456
462
|
writeTask(() => this.scrollEl.style.removeProperty('--overflow'));
|
457
463
|
if (this.progress <= 0.4) {
|
458
|
-
this.
|
459
|
-
|
460
|
-
.progressEnd(0, this.progress, 500)
|
461
|
-
.onFinish(() => {
|
462
|
-
this.animations.forEach(ani => ani.destroy());
|
464
|
+
ev.data.animation.progressEnd(0, this.progress, 500).onFinish(() => {
|
465
|
+
this.animations.forEach((ani) => ani.destroy());
|
463
466
|
this.animations = [];
|
464
467
|
this.gesture.enable(true);
|
465
468
|
this.state = 1 /* Inactive */;
|
@@ -470,13 +473,14 @@ const Refresher = class {
|
|
470
473
|
const snapBackAnimation = createSnapBackAnimation(pullingRefresherIcon);
|
471
474
|
this.animations.push(snapBackAnimation);
|
472
475
|
writeTask(async () => {
|
473
|
-
pullingRefresherIcon.style.setProperty('--ion-pulling-refresher-translate', `${
|
476
|
+
pullingRefresherIcon.style.setProperty('--ion-pulling-refresher-translate', `${progress * 100}px`);
|
474
477
|
ev.data.animation.progressEnd();
|
475
478
|
await snapBackAnimation.play();
|
476
479
|
this.beginRefresh();
|
477
480
|
ev.data.animation.destroy();
|
481
|
+
this.gesture.enable(true);
|
478
482
|
});
|
479
|
-
}
|
483
|
+
},
|
480
484
|
});
|
481
485
|
this.disabledChanged();
|
482
486
|
}
|
@@ -510,19 +514,33 @@ const Refresher = class {
|
|
510
514
|
console.error('Make sure you use: <ion-refresher slot="fixed">');
|
511
515
|
return;
|
512
516
|
}
|
513
|
-
const contentEl = this.el.closest(
|
517
|
+
const contentEl = this.el.closest(ION_CONTENT_ELEMENT_SELECTOR);
|
514
518
|
if (!contentEl) {
|
515
|
-
|
519
|
+
printIonContentErrorMsg(this.el);
|
516
520
|
return;
|
517
521
|
}
|
518
|
-
|
519
|
-
|
520
|
-
|
522
|
+
const customScrollTarget = contentEl.querySelector(ION_CONTENT_CLASS_SELECTOR);
|
523
|
+
/**
|
524
|
+
* Query the custom scroll target (if available), first. In refresher implementations,
|
525
|
+
* the ion-refresher element will always be a direct child of ion-content (slot="fixed"). By
|
526
|
+
* querying the custom scroll target first and falling back to the ion-content element,
|
527
|
+
* the correct scroll element will be returned by the implementation.
|
528
|
+
*/
|
529
|
+
this.scrollEl = await getScrollElement(customScrollTarget !== null && customScrollTarget !== void 0 ? customScrollTarget : contentEl);
|
530
|
+
/**
|
531
|
+
* Query the host `ion-content` directly (if it is available), to use its
|
532
|
+
* inner #background-content has the target. Otherwise fallback to the
|
533
|
+
* custom scroll target host.
|
534
|
+
*
|
535
|
+
* This makes it so that implementers do not need to re-create the background content
|
536
|
+
* element and styles.
|
537
|
+
*/
|
538
|
+
this.backgroundContentEl = getElementRoot(contentEl !== null && contentEl !== void 0 ? contentEl : customScrollTarget).querySelector('#background-content');
|
521
539
|
if (await shouldUseNativeRefresher(this.el, getIonMode(this))) {
|
522
540
|
this.setupNativeRefresher(contentEl);
|
523
541
|
}
|
524
542
|
else {
|
525
|
-
this.gesture = (await import('./index-
|
543
|
+
this.gesture = (await import('./index-21661af2.js')).createGesture({
|
526
544
|
el: contentEl,
|
527
545
|
gestureName: 'refresher',
|
528
546
|
gesturePriority: 31,
|
@@ -531,7 +549,7 @@ const Refresher = class {
|
|
531
549
|
passive: false,
|
532
550
|
canStart: () => this.canStart(),
|
533
551
|
onStart: () => this.onStart(),
|
534
|
-
onMove: ev => this.onMove(ev),
|
552
|
+
onMove: (ev) => this.onMove(ev),
|
535
553
|
onEnd: () => this.onEnd(),
|
536
554
|
});
|
537
555
|
this.disabledChanged();
|
@@ -628,7 +646,7 @@ const Refresher = class {
|
|
628
646
|
if ((this.state & 56 /* _BUSY_ */) !== 0) {
|
629
647
|
return;
|
630
648
|
}
|
631
|
-
const pullFactor =
|
649
|
+
const pullFactor = Number.isNaN(this.pullFactor) || this.pullFactor < 0 ? 1 : this.pullFactor;
|
632
650
|
const deltaY = detail.deltaY * pullFactor;
|
633
651
|
// don't bother if they're scrolling up
|
634
652
|
// and have not already started dragging
|
@@ -719,7 +737,7 @@ const Refresher = class {
|
|
719
737
|
// emit "refresh" because it was pulled down far enough
|
720
738
|
// and they let go to begin refreshing
|
721
739
|
this.ionRefresh.emit({
|
722
|
-
complete: this.complete.bind(this)
|
740
|
+
complete: this.complete.bind(this),
|
723
741
|
});
|
724
742
|
}
|
725
743
|
close(state, delay) {
|
@@ -740,15 +758,15 @@ const Refresher = class {
|
|
740
758
|
if (this.nativeRefresher) {
|
741
759
|
return;
|
742
760
|
}
|
743
|
-
this.appliedStyles =
|
761
|
+
this.appliedStyles = y > 0;
|
744
762
|
writeTask(() => {
|
745
763
|
if (this.scrollEl && this.backgroundContentEl) {
|
746
764
|
const scrollStyle = this.scrollEl.style;
|
747
765
|
const backgroundStyle = this.backgroundContentEl.style;
|
748
|
-
scrollStyle.transform = backgroundStyle.transform =
|
766
|
+
scrollStyle.transform = backgroundStyle.transform = y > 0 ? `translateY(${y}px) translateZ(0px)` : '';
|
749
767
|
scrollStyle.transitionDuration = backgroundStyle.transitionDuration = duration;
|
750
768
|
scrollStyle.transitionDelay = backgroundStyle.transitionDelay = delay;
|
751
|
-
scrollStyle.overflow =
|
769
|
+
scrollStyle.overflow = overflowVisible ? 'hidden' : '';
|
752
770
|
}
|
753
771
|
});
|
754
772
|
}
|