@sparkle-learning/core 0.0.32 → 0.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/PrivateRoute-4abc9d29.js +35 -0
- package/dist/cjs/{active-router-eedb3bfe.js → active-router-f9e18bd8.js} +1 -1
- package/dist/cjs/{animation-6132e37f.js → animation-ee586546.js} +83 -78
- package/dist/cjs/{app-globals-9869bf67.js → app-globals-33c9f31b.js} +1 -1
- package/dist/cjs/{PrivateRoute-043bb7d3.js → auth.service-4b584cd7.js} +4 -33
- package/dist/cjs/{auth.store-ff3fda09.js → auth.store-1e630a7d.js} +48 -725
- package/dist/cjs/compass-svg.cjs.entry.js +1 -1
- package/dist/cjs/context-consumer.cjs.entry.js +1 -1
- package/dist/cjs/course-select.cjs.entry.js +1 -1
- package/dist/cjs/{cubic-bezier-293f4663.js → cubic-bezier-53d26d05.js} +10 -11
- package/dist/cjs/dom-utils-b8befdd5.js +63 -0
- package/dist/cjs/{facilitator.service-faac5c0c.js → facilitator.service-9e990274.js} +8 -7
- package/dist/cjs/{feed.service-66405969.js → feed.service-b4f09441.js} +8 -7
- package/dist/cjs/{focus-visible-ad3828a7.js → focus-visible-b0b07ba6.js} +19 -6
- package/dist/cjs/{framework-delegate-2470a246.js → framework-delegate-59a98abd.js} +11 -13
- package/dist/cjs/{gesture-controller-07c31f70.js → gesture-controller-0eb5579e.js} +1 -1
- package/dist/cjs/{haptic-91e86eb7.js → haptic-780f33c4.js} +3 -2
- package/dist/cjs/{hardware-back-button-f7b5d99e.js → hardware-back-button-92d97ff8.js} +8 -8
- package/dist/cjs/header-mobile-collapse_2.cjs.entry.js +112 -0
- package/dist/cjs/{helpers-7e28976c.js → helpers-c2496722.js} +81 -14
- package/dist/cjs/httpService-7211d93b.js +685 -0
- package/dist/cjs/{icons-80d477f6.js → icons-c61db785.js} +1 -1
- package/dist/cjs/{index-43642662.js → index-12082cba.js} +21 -18
- package/dist/cjs/{index-459a5fa9.js → index-15ea05f5.js} +19 -28
- package/dist/cjs/{index-bae2a754.js → index-51e8292e.js} +18 -11
- package/dist/cjs/index-70e63f5b.js +3071 -0
- package/dist/cjs/{index-b12edb26.js → index-787d4498.js} +17 -25
- package/dist/cjs/{tap-click-1caf1780.js → index-8b5629a6.js} +30 -20
- package/dist/cjs/{index-8540d72e.js → index-975586fd.js} +7 -1
- package/dist/cjs/index-9c7b27e4.js +140 -0
- package/dist/cjs/{index-185f9c5a.js → index-af080b50.js} +9 -8
- package/dist/cjs/index-e56e09b8.js +38 -0
- package/dist/cjs/index.cjs.js +13 -11
- package/dist/cjs/{index.es-ef3efdfb.js → index.es-38cbcdbe.js} +2 -7
- package/dist/cjs/injectHistory-7206bbb9.js +9 -0
- package/dist/cjs/{input-shims-6c442c9f.js → input-shims-eff63b88.js} +21 -24
- package/dist/cjs/ion-accordion-group.cjs.entry.js +17 -9
- package/dist/cjs/ion-accordion.cjs.entry.js +19 -23
- package/dist/cjs/ion-action-sheet_4.cjs.entry.js +216 -212
- package/dist/cjs/ion-app.cjs.entry.js +8 -8
- package/dist/cjs/ion-avatar_16.cjs.entry.js +1907 -0
- package/dist/cjs/ion-back-button.cjs.entry.js +11 -11
- package/dist/cjs/ion-backdrop.cjs.entry.js +4 -4
- package/dist/cjs/ion-badge.cjs.entry.js +3 -3
- package/dist/cjs/ion-breadcrumb.cjs.entry.js +13 -21
- package/dist/cjs/ion-breadcrumbs.cjs.entry.js +12 -14
- package/dist/cjs/ion-buttons_3.cjs.entry.js +13 -13
- package/dist/cjs/ion-card-header.cjs.entry.js +4 -4
- package/dist/cjs/ion-card-subtitle.cjs.entry.js +4 -4
- package/dist/cjs/ion-checkbox_4.cjs.entry.js +360 -0
- package/dist/cjs/ion-chip.cjs.entry.js +3 -3
- package/dist/cjs/ion-col_3.cjs.entry.js +159 -0
- package/dist/cjs/ion-content_2.cjs.entry.js +59 -52
- package/dist/cjs/ion-datetime-button.cjs.entry.js +312 -0
- package/dist/cjs/ion-datetime.cjs.entry.js +752 -1245
- package/dist/cjs/ion-fab-button.cjs.entry.js +25 -9
- package/dist/cjs/ion-fab-list.cjs.entry.js +4 -4
- package/dist/cjs/ion-fab.cjs.entry.js +15 -13
- package/dist/cjs/ion-footer.cjs.entry.js +16 -14
- package/dist/cjs/ion-img.cjs.entry.js +4 -4
- package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +5 -5
- package/dist/cjs/ion-infinite-scroll.cjs.entry.js +13 -15
- package/dist/cjs/ion-item-divider.cjs.entry.js +4 -4
- package/dist/cjs/ion-item-group.cjs.entry.js +3 -3
- package/dist/cjs/ion-item-option.cjs.entry.js +8 -8
- package/dist/cjs/ion-item-options.cjs.entry.js +5 -5
- package/dist/cjs/ion-item-sliding.cjs.entry.js +41 -46
- package/dist/cjs/ion-loading.cjs.entry.js +23 -35
- package/dist/cjs/ion-menu-button.cjs.entry.js +13 -13
- package/dist/cjs/ion-menu-toggle.cjs.entry.js +7 -7
- package/dist/cjs/ion-menu.cjs.entry.js +47 -40
- package/dist/cjs/ion-modal.cjs.entry.js +935 -282
- package/dist/cjs/ion-nav-link.cjs.entry.js +2 -2
- package/dist/cjs/ion-nav.cjs.entry.js +45 -35
- package/dist/cjs/ion-picker-column-internal_2.cjs.entry.js +151 -43
- package/dist/cjs/ion-picker-column.cjs.entry.js +23 -25
- package/dist/cjs/ion-picker.cjs.entry.js +15 -17
- package/dist/cjs/ion-progress-bar.cjs.entry.js +6 -8
- package/dist/cjs/ion-range.cjs.entry.js +515 -0
- package/dist/cjs/ion-refresher-content.cjs.entry.js +6 -12
- package/dist/cjs/ion-refresher.cjs.entry.js +68 -50
- package/dist/cjs/ion-reorder-group.cjs.entry.js +15 -16
- package/dist/cjs/ion-reorder.cjs.entry.js +3 -3
- package/dist/cjs/ion-route-redirect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route.cjs.entry.js +1 -1
- package/dist/cjs/ion-router-link.cjs.entry.js +5 -5
- package/dist/cjs/ion-router-outlet.cjs.entry.js +22 -20
- package/dist/cjs/ion-router.cjs.entry.js +32 -31
- package/dist/cjs/ion-searchbar.cjs.entry.js +14 -16
- package/dist/cjs/ion-segment-button.cjs.entry.js +8 -8
- package/dist/cjs/ion-segment.cjs.entry.js +24 -26
- package/dist/cjs/ion-select_2.cjs.entry.js +59 -56
- package/dist/cjs/ion-skeleton-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-slide.cjs.entry.js +3 -3
- package/dist/cjs/ion-slides.cjs.entry.js +23 -23
- package/dist/cjs/ion-split-pane.cjs.entry.js +10 -11
- package/dist/cjs/ion-tab-bar.cjs.entry.js +5 -5
- package/dist/cjs/ion-tab-button.cjs.entry.js +6 -6
- package/dist/cjs/ion-tab.cjs.entry.js +4 -4
- package/dist/cjs/ion-tabs.cjs.entry.js +4 -5
- package/dist/cjs/ion-text.cjs.entry.js +24 -0
- package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +23 -43
- package/dist/cjs/ion-virtual-scroll.cjs.entry.js +29 -28
- package/dist/cjs/{ionic-global-878073d1.js → ionic-global-2cde9d3a.js} +27 -31
- package/dist/cjs/{ios.transition-c3bfb096.js → ios.transition-da235483.js} +71 -51
- package/dist/cjs/{keyboard-dfd76ac3.js → keyboard-91096619.js} +3 -3
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/match-path-84c9f7ca.js +511 -0
- package/dist/cjs/{md.transition-7eb9a1a7.js → md.transition-be429e07.js} +9 -16
- package/dist/cjs/{menu-toggle-util-cb549c2c.js → menu-toggle-util-7a01448c.js} +2 -2
- package/dist/cjs/{overlays-0a748609.js → overlays-32df265a.js} +29 -29
- package/dist/cjs/parse-d0071120.js +1237 -0
- package/dist/cjs/{purify-d0ad2883.js → purify-fb9c107e.js} +1 -1
- package/dist/cjs/sparkle-animation-player.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-card_3.cjs.entry.js +91 -0
- package/dist/cjs/sparkle-character-intro.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-code.cjs.entry.js +2 -2
- package/dist/cjs/sparkle-compass-post.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-compass.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-core.cjs.js +5 -5
- package/dist/cjs/sparkle-course-root.cjs.entry.js +146 -0
- package/dist/cjs/sparkle-dropdown.cjs.entry.js +61 -0
- package/dist/cjs/sparkle-emoji.cjs.entry.js +1 -1
- package/dist/cjs/{header-mobile-collapse_61.cjs.entry.js → sparkle-export-lessons_6.cjs.entry.js} +8865 -17663
- package/dist/cjs/sparkle-facilitator-header_19.cjs.entry.js +2130 -0
- package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +8 -7
- package/dist/cjs/sparkle-feedback.cjs.entry.js +9 -7
- package/dist/cjs/sparkle-goal-form.cjs.entry.js +8 -7
- package/dist/cjs/sparkle-goal-progress.cjs.entry.js +19 -0
- package/dist/cjs/sparkle-gww-comment-list.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-gww-graph.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-gww-item.cjs.entry.js +74 -0
- package/dist/cjs/sparkle-intro.cjs.entry.js +26 -0
- package/dist/cjs/sparkle-lower-content-nav.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +2 -2
- package/dist/cjs/sparkle-menu-toggle_3.cjs.entry.js +236 -0
- package/dist/cjs/sparkle-modal-image.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-notfound-page.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-overlay.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-poll.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-quiz-container.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-quiz.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-select.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-tab.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-table-of-contents.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-tabs.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-validation-error.cjs.entry.js +21 -0
- package/dist/cjs/sparkle-youtube.cjs.entry.js +1 -1
- package/dist/cjs/{spinner-configs-6f6b7ef0.js → spinner-configs-0ac05f2d.js} +43 -43
- package/dist/cjs/{status-tap-8697433c.js → status-tap-033befa2.js} +7 -5
- package/dist/cjs/stencil-async-content.cjs.entry.js +1 -1
- package/dist/cjs/stencil-route-link.cjs.entry.js +77 -0
- package/dist/cjs/stencil-route-title.cjs.entry.js +2 -2
- package/dist/cjs/stencil-router-prompt.cjs.entry.js +2 -2
- package/dist/cjs/stencil-router-redirect.cjs.entry.js +32 -0
- package/dist/cjs/student.service-d48f1c99.js +61 -0
- package/dist/cjs/{swipe-back-7e08b5e0.js → swipe-back-4a826f9b.js} +5 -5
- package/dist/cjs/{theme-4252ac15.js → theme-b0b295c1.js} +6 -5
- package/dist/cjs/user.store-8a049c4e.js +21 -0
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.css +16 -0
- package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +197 -3
- package/dist/collection/components/sparkle-intro/sparkle-intro.css +15 -0
- package/dist/collection/components/sparkle-intro/sparkle-intro.js +35 -0
- package/dist/esm/PrivateRoute-530ef873.js +33 -0
- package/dist/esm/{active-router-909088d6.js → active-router-9843e205.js} +1 -1
- package/dist/esm/{animation-b306f6c2.js → animation-d98d3e81.js} +83 -78
- package/dist/esm/{app-globals-5c736ae5.js → app-globals-08edc964.js} +1 -1
- package/dist/esm/{PrivateRoute-b9937c45.js → auth.service-79389d86.js} +4 -32
- package/dist/esm/{auth.store-3ed2389e.js → auth.store-b812b34b.js} +45 -725
- package/dist/esm/compass-svg.entry.js +1 -1
- package/dist/esm/context-consumer.entry.js +1 -1
- package/dist/esm/course-select.entry.js +1 -1
- package/dist/esm/{cubic-bezier-a7ad9c8e.js → cubic-bezier-4c0db14f.js} +10 -11
- package/dist/esm/dom-utils-8e73e88b.js +55 -0
- package/dist/esm/{facilitator.service-ec0a9739.js → facilitator.service-7babc526.js} +2 -1
- package/dist/esm/{feed.service-33b83cb7.js → feed.service-80fbe79d.js} +3 -2
- package/dist/esm/{focus-visible-40cda868.js → focus-visible-4e9a0764.js} +19 -6
- package/dist/esm/{framework-delegate-3bc58c27.js → framework-delegate-9b329182.js} +11 -13
- package/dist/esm/{gesture-controller-686622ba.js → gesture-controller-7be18351.js} +1 -1
- package/dist/esm/{haptic-99c9e346.js → haptic-3a76a65c.js} +4 -3
- package/dist/esm/{hardware-back-button-b6ccf74a.js → hardware-back-button-fa04d6e9.js} +8 -8
- package/dist/esm/header-mobile-collapse_2.entry.js +107 -0
- package/dist/esm/{helpers-39367fe1.js → helpers-94a5855b.js} +81 -15
- package/dist/esm/httpService-b2b7a1ad.js +683 -0
- package/dist/esm/{icons-61dec176.js → icons-16f1a80b.js} +2 -2
- package/dist/esm/{index-a12c14bd.js → index-21661af2.js} +22 -19
- package/dist/esm/{tap-click-13f1fb0d.js → index-230a26c9.js} +30 -20
- package/dist/esm/{index-c26d8655.js → index-478745be.js} +17 -25
- package/dist/esm/{index-dc61f152.js → index-4ec6b9c2.js} +5 -2
- package/dist/esm/{index-9594837e.js → index-95307148.js} +19 -28
- package/dist/esm/{index-5568e3fa.js → index-9db08224.js} +19 -12
- package/dist/esm/index-ab1c6a9f.js +3067 -0
- package/dist/esm/{index-435af8e6.js → index-be6112f8.js} +9 -8
- package/dist/esm/index-c23a1826.js +128 -0
- package/dist/esm/index-dad75b83.js +34 -0
- package/dist/esm/{index.es-97dd8174.js → index.es-1c3b1ef3.js} +2 -7
- package/dist/esm/index.js +9 -7
- package/dist/esm/injectHistory-4bfff188.js +7 -0
- package/dist/esm/{input-shims-cc98ea92.js → input-shims-ce5c01df.js} +21 -24
- package/dist/esm/ion-accordion-group.entry.js +17 -9
- package/dist/esm/ion-accordion.entry.js +19 -23
- package/dist/esm/ion-action-sheet_4.entry.js +216 -212
- package/dist/esm/ion-app.entry.js +8 -8
- package/dist/esm/ion-avatar_16.entry.js +1888 -0
- package/dist/esm/ion-back-button.entry.js +11 -11
- package/dist/esm/ion-backdrop.entry.js +4 -4
- package/dist/esm/ion-badge.entry.js +3 -3
- package/dist/esm/ion-breadcrumb.entry.js +13 -21
- package/dist/esm/ion-breadcrumbs.entry.js +12 -14
- package/dist/esm/ion-buttons_3.entry.js +13 -13
- package/dist/esm/ion-card-header.entry.js +4 -4
- package/dist/esm/ion-card-subtitle.entry.js +4 -4
- package/dist/esm/ion-checkbox_4.entry.js +353 -0
- package/dist/esm/ion-chip.entry.js +3 -3
- package/dist/esm/ion-col_3.entry.js +153 -0
- package/dist/esm/ion-content_2.entry.js +59 -52
- package/dist/esm/ion-datetime-button.entry.js +308 -0
- package/dist/esm/ion-datetime.entry.js +723 -1216
- package/dist/esm/ion-fab-button.entry.js +25 -9
- package/dist/esm/ion-fab-list.entry.js +4 -4
- package/dist/esm/ion-fab.entry.js +15 -13
- package/dist/esm/ion-footer.entry.js +16 -14
- package/dist/esm/ion-img.entry.js +4 -4
- package/dist/esm/ion-infinite-scroll-content.entry.js +5 -5
- package/dist/esm/ion-infinite-scroll.entry.js +13 -15
- package/dist/esm/ion-item-divider.entry.js +4 -4
- package/dist/esm/ion-item-group.entry.js +3 -3
- package/dist/esm/ion-item-option.entry.js +8 -8
- package/dist/esm/ion-item-options.entry.js +5 -5
- package/dist/esm/ion-item-sliding.entry.js +41 -46
- package/dist/esm/ion-loading.entry.js +23 -35
- package/dist/esm/ion-menu-button.entry.js +13 -13
- package/dist/esm/ion-menu-toggle.entry.js +7 -7
- package/dist/esm/ion-menu.entry.js +47 -40
- package/dist/esm/ion-modal.entry.js +921 -268
- package/dist/esm/ion-nav-link.entry.js +2 -2
- package/dist/esm/ion-nav.entry.js +45 -35
- package/dist/esm/ion-picker-column-internal_2.entry.js +151 -43
- package/dist/esm/ion-picker-column.entry.js +23 -25
- package/dist/esm/ion-picker.entry.js +15 -17
- package/dist/esm/ion-progress-bar.entry.js +6 -8
- package/dist/esm/ion-range.entry.js +511 -0
- package/dist/esm/ion-refresher-content.entry.js +6 -12
- package/dist/esm/ion-refresher.entry.js +68 -50
- package/dist/esm/ion-reorder-group.entry.js +15 -16
- package/dist/esm/ion-reorder.entry.js +3 -3
- package/dist/esm/ion-route-redirect.entry.js +1 -1
- package/dist/esm/ion-route.entry.js +1 -1
- package/dist/esm/ion-router-link.entry.js +5 -5
- package/dist/esm/ion-router-outlet.entry.js +22 -20
- package/dist/esm/ion-router.entry.js +32 -31
- package/dist/esm/ion-searchbar.entry.js +14 -16
- package/dist/esm/ion-segment-button.entry.js +8 -8
- package/dist/esm/ion-segment.entry.js +24 -26
- package/dist/esm/ion-select_2.entry.js +59 -56
- package/dist/esm/ion-skeleton-text.entry.js +4 -4
- package/dist/esm/ion-slide.entry.js +3 -3
- package/dist/esm/ion-slides.entry.js +23 -23
- package/dist/esm/ion-split-pane.entry.js +10 -11
- package/dist/esm/ion-tab-bar.entry.js +5 -5
- package/dist/esm/ion-tab-button.entry.js +6 -6
- package/dist/esm/ion-tab.entry.js +4 -4
- package/dist/esm/ion-tabs.entry.js +4 -5
- package/dist/esm/ion-text.entry.js +20 -0
- package/dist/esm/ion-thumbnail.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +23 -43
- package/dist/esm/ion-virtual-scroll.entry.js +29 -28
- package/dist/esm/{ionic-global-0939c477.js → ionic-global-293e882b.js} +27 -31
- package/dist/esm/{ios.transition-b4ca8a33.js → ios.transition-7cd34deb.js} +71 -51
- package/dist/esm/{keyboard-2503e874.js → keyboard-7e8329b3.js} +3 -3
- package/dist/esm/loader.js +5 -5
- package/dist/esm/match-path-36fdf5c7.js +499 -0
- package/dist/esm/{md.transition-ca5e0322.js → md.transition-2589a5b1.js} +9 -16
- package/dist/esm/{menu-toggle-util-7fa22c2f.js → menu-toggle-util-f92ba2f0.js} +2 -2
- package/dist/esm/{overlays-34cfa9e0.js → overlays-dfa730c8.js} +30 -30
- package/dist/esm/parse-1ae3a9bb.js +1196 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{purify-ffce2b4c.js → purify-79af871f.js} +1 -1
- package/dist/esm/sparkle-animation-player.entry.js +2 -2
- package/dist/esm/sparkle-card_3.entry.js +85 -0
- package/dist/esm/sparkle-character-intro.entry.js +1 -1
- package/dist/esm/sparkle-code.entry.js +2 -2
- package/dist/esm/sparkle-compass-post.entry.js +1 -1
- package/dist/esm/sparkle-compass.entry.js +1 -1
- package/dist/esm/sparkle-core.js +5 -5
- package/dist/esm/sparkle-course-root.entry.js +142 -0
- package/dist/esm/sparkle-dropdown.entry.js +57 -0
- package/dist/esm/sparkle-emoji.entry.js +1 -1
- package/dist/esm/{header-mobile-collapse_61.entry.js → sparkle-export-lessons_6.entry.js} +8860 -17603
- package/dist/esm/sparkle-facilitator-header_19.entry.js +2108 -0
- package/dist/esm/sparkle-facilitator-notes-form.entry.js +8 -7
- package/dist/esm/sparkle-feedback.entry.js +9 -7
- package/dist/esm/sparkle-goal-form.entry.js +9 -8
- package/dist/esm/sparkle-goal-progress.entry.js +15 -0
- package/dist/esm/sparkle-gww-comment-list.entry.js +1 -1
- package/dist/esm/sparkle-gww-graph.entry.js +1 -1
- package/dist/esm/sparkle-gww-item.entry.js +70 -0
- package/dist/esm/sparkle-intro.entry.js +22 -0
- package/dist/esm/sparkle-lower-content-nav.entry.js +1 -1
- package/dist/esm/sparkle-menu-collapsible.entry.js +2 -2
- package/dist/esm/sparkle-menu-toggle_3.entry.js +230 -0
- package/dist/esm/sparkle-modal-image.entry.js +1 -1
- package/dist/esm/sparkle-notfound-page.entry.js +1 -1
- package/dist/esm/sparkle-overlay.entry.js +1 -1
- package/dist/esm/sparkle-poll.entry.js +1 -1
- package/dist/esm/sparkle-quiz-container.entry.js +1 -1
- package/dist/esm/sparkle-quiz-feedback_5.entry.js +1 -1
- package/dist/esm/sparkle-quiz.entry.js +1 -1
- package/dist/esm/sparkle-select.entry.js +1 -1
- package/dist/esm/sparkle-sidebar.entry.js +1 -1
- package/dist/esm/sparkle-tab.entry.js +1 -1
- package/dist/esm/sparkle-table-of-contents.entry.js +1 -1
- package/dist/esm/sparkle-tabs.entry.js +1 -1
- package/dist/esm/sparkle-validation-error.entry.js +17 -0
- package/dist/esm/sparkle-youtube.entry.js +1 -1
- package/dist/esm/{spinner-configs-f609a655.js → spinner-configs-a37e628a.js} +43 -43
- package/dist/esm/{status-tap-6351a0cb.js → status-tap-79b6199d.js} +7 -5
- package/dist/esm/stencil-async-content.entry.js +1 -1
- package/dist/esm/stencil-route-link.entry.js +73 -0
- package/dist/esm/stencil-route-title.entry.js +2 -2
- package/dist/esm/stencil-router-prompt.entry.js +2 -2
- package/dist/esm/stencil-router-redirect.entry.js +28 -0
- package/dist/esm/{student.service-29b688ba.js → student.service-0caed0f4.js} +3 -18
- package/dist/esm/{swipe-back-34251834.js → swipe-back-ad7a0361.js} +5 -5
- package/dist/esm/{theme-c336c9d9.js → theme-7ef00c83.js} +6 -5
- package/dist/esm/user.store-8477642a.js +19 -0
- package/dist/esm/{util-6ef753e9.js → util-a831d09d.js} +1 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +8 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +46 -22
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +43 -19
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +60 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +2 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +2 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +6 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +6 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +3 -3
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +1 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +1 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +1 -5
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +1 -5
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +31 -3
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +29 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +24 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +24 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +2 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +2 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +8 -8
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +34 -17
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +34 -17
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +50 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +27 -0
- package/dist/sparkle-core/index.esm.js +1 -1
- package/dist/sparkle-core/p-0127a61a.entry.js +1 -0
- package/dist/sparkle-core/p-01743e3e.js +4 -0
- package/dist/sparkle-core/p-06af1bc8.entry.js +1 -0
- package/dist/sparkle-core/{p-703ca87c.js → p-076f0239.js} +0 -0
- package/dist/sparkle-core/p-0798d46a.entry.js +1 -0
- package/dist/sparkle-core/p-085eb951.entry.js +4 -0
- package/dist/sparkle-core/{p-39e5a90f.entry.js → p-0b92326d.entry.js} +1 -1
- package/dist/sparkle-core/{p-5ff6416d.entry.js → p-0c603495.entry.js} +2 -2
- package/dist/sparkle-core/{p-6bbabb80.entry.js → p-0d7cceaa.entry.js} +1 -1
- package/dist/sparkle-core/p-0d813026.entry.js +1 -0
- package/dist/sparkle-core/{p-69e7783d.js → p-0e4de1d0.js} +0 -0
- package/dist/sparkle-core/p-11ed6b7f.entry.js +1 -0
- package/dist/sparkle-core/p-122427b7.entry.js +1 -0
- package/dist/sparkle-core/p-12c4f45c.entry.js +1 -0
- package/dist/sparkle-core/p-136b93d5.entry.js +4 -0
- package/dist/sparkle-core/{p-e225581a.js → p-1394cbb8.js} +2 -2
- package/dist/sparkle-core/{p-c48bbc7c.entry.js → p-14340143.entry.js} +1 -1
- package/dist/sparkle-core/p-14a06a91.entry.js +1 -0
- package/dist/sparkle-core/{p-a9ee3f6d.entry.js → p-16b7974e.entry.js} +1 -1
- package/dist/sparkle-core/p-16c81890.entry.js +1 -0
- package/dist/sparkle-core/{p-5c9aa1f9.entry.js → p-1701723e.entry.js} +1 -1
- package/dist/sparkle-core/p-1728ead7.js +1 -0
- package/dist/sparkle-core/p-17aef6f9.js +1 -0
- package/dist/sparkle-core/p-180857a2.entry.js +1 -0
- package/dist/sparkle-core/p-1acc7870.entry.js +1 -0
- package/dist/sparkle-core/{p-513794b0.js → p-1c2aee9c.js} +1 -1
- package/dist/sparkle-core/p-1cd4c3cc.entry.js +1 -0
- package/dist/sparkle-core/p-21d9833d.js +1 -0
- package/dist/sparkle-core/p-23d713e2.js +1 -0
- package/dist/sparkle-core/p-25c13612.entry.js +1 -0
- package/dist/sparkle-core/p-2699868a.entry.js +1 -0
- package/dist/sparkle-core/p-27075abe.js +4 -0
- package/dist/sparkle-core/{p-713590fc.js → p-280e938d.js} +1 -1
- package/dist/sparkle-core/p-2bd4c60e.js +1 -0
- package/dist/sparkle-core/p-2c89a6c2.entry.js +1 -0
- package/dist/sparkle-core/p-308517b3.js +4 -0
- package/dist/sparkle-core/p-3227afcb.entry.js +1 -0
- package/dist/sparkle-core/{p-173d5461.entry.js → p-34d93a39.entry.js} +1 -1
- package/dist/sparkle-core/p-34ebfc8a.entry.js +1 -0
- package/dist/sparkle-core/p-351b82a8.entry.js +1 -0
- package/dist/sparkle-core/p-363a2d6d.js +4 -0
- package/dist/sparkle-core/p-36c48760.entry.js +1 -0
- package/dist/sparkle-core/p-3810777d.js +4 -0
- package/dist/sparkle-core/p-384911d7.entry.js +1 -0
- package/dist/sparkle-core/p-3b618eda.entry.js +1 -0
- package/dist/sparkle-core/p-3c752205.entry.js +1 -0
- package/dist/sparkle-core/{p-50aac721.entry.js → p-3d2c0e24.entry.js} +2 -2
- package/dist/sparkle-core/{p-350adbaa.entry.js → p-3eb56165.entry.js} +1 -1
- package/dist/sparkle-core/{p-ed0e9d29.entry.js → p-3ef53ebf.entry.js} +1 -1
- package/dist/sparkle-core/{p-fbd7eeca.entry.js → p-3fd92216.entry.js} +1 -1
- package/dist/sparkle-core/{p-1df05176.js → p-4338e1e3.js} +2 -2
- package/dist/sparkle-core/p-442eadcf.entry.js +1 -0
- package/dist/sparkle-core/{p-5f45d206.entry.js → p-4af496a8.entry.js} +1 -1
- package/dist/sparkle-core/{p-935e7cfc.js → p-4bd4dab2.js} +1 -1
- package/dist/sparkle-core/{p-18e62133.entry.js → p-4c9e010d.entry.js} +1 -1
- package/dist/sparkle-core/p-4d0dfbc9.js +1 -0
- package/dist/sparkle-core/{p-8c6b6038.js → p-4d4077ea.js} +0 -0
- package/dist/sparkle-core/p-4e0502b8.entry.js +4 -0
- package/dist/sparkle-core/p-506f3c5f.js +4 -0
- package/dist/sparkle-core/p-524a6174.entry.js +1 -0
- package/dist/sparkle-core/p-53aac9d7.entry.js +1 -0
- package/dist/sparkle-core/{p-0580419b.entry.js → p-56700a40.entry.js} +1 -1
- package/dist/sparkle-core/p-5722be24.entry.js +1 -0
- package/dist/sparkle-core/p-58389020.entry.js +348 -0
- package/dist/sparkle-core/{p-11cf398a.entry.js → p-58f74119.entry.js} +1 -1
- package/dist/sparkle-core/p-5979f253.entry.js +1 -0
- package/dist/sparkle-core/p-5a3de051.entry.js +4 -0
- package/dist/sparkle-core/p-5a850731.entry.js +1 -0
- package/dist/sparkle-core/{p-950effe7.entry.js → p-5dcf33fb.entry.js} +1 -1
- package/dist/sparkle-core/p-5e8fa1ac.entry.js +1 -0
- package/dist/sparkle-core/p-5ef50959.js +1 -0
- package/dist/sparkle-core/p-615b8f64.entry.js +1 -0
- package/dist/sparkle-core/{p-90389886.entry.js → p-63d8a5b7.entry.js} +1 -1
- package/dist/sparkle-core/p-6a337ad1.entry.js +1 -0
- package/dist/sparkle-core/p-6a5ace01.js +2 -0
- package/dist/sparkle-core/{p-d7baf31e.entry.js → p-6ae9c743.entry.js} +1 -1
- package/dist/sparkle-core/p-76206f80.entry.js +1 -0
- package/dist/sparkle-core/{p-99b43ee1.entry.js → p-767c9db8.entry.js} +1 -1
- package/dist/sparkle-core/p-76a6e202.entry.js +1 -0
- package/dist/sparkle-core/{p-ee0d7f19.entry.js → p-785f1879.entry.js} +1 -1
- package/dist/sparkle-core/p-788735b9.entry.js +1 -0
- package/dist/sparkle-core/{p-057f6a23.entry.js → p-7b21bd70.entry.js} +1 -1
- package/dist/sparkle-core/p-7b3d1457.js +1 -0
- package/dist/sparkle-core/p-7d8427eb.js +4 -0
- package/dist/sparkle-core/{p-5264da79.js → p-7e7ce516.js} +0 -0
- package/dist/sparkle-core/{p-838fa86d.entry.js → p-8cbe019a.entry.js} +5 -5
- package/dist/sparkle-core/{p-9c1772c3.js → p-8d630960.js} +1 -1
- package/dist/sparkle-core/{p-7052c43a.entry.js → p-8e42e634.entry.js} +1 -1
- package/dist/sparkle-core/p-8e56f9ee.entry.js +1 -0
- package/dist/sparkle-core/p-8ed0cefb.entry.js +1 -0
- package/dist/sparkle-core/{p-d4c07aca.js → p-924b2917.js} +0 -0
- package/dist/sparkle-core/p-9484e34b.entry.js +1 -0
- package/dist/sparkle-core/p-966817ec.js +1 -0
- package/dist/sparkle-core/p-969e98e5.entry.js +1 -0
- package/dist/sparkle-core/p-98f3925b.js +4 -0
- package/dist/sparkle-core/{p-a1cab0f3.js → p-99231c00.js} +2 -2
- package/dist/sparkle-core/p-9a383065.entry.js +7 -0
- package/dist/sparkle-core/p-9b4979b5.entry.js +4 -0
- package/dist/sparkle-core/{p-c69b0a7a.entry.js → p-9cd95e7e.entry.js} +1 -1
- package/dist/sparkle-core/p-9dc42d70.entry.js +1 -0
- package/dist/sparkle-core/p-9eea81f2.js +1 -0
- package/dist/sparkle-core/{p-797c23ed.entry.js → p-9ef14088.entry.js} +1 -1
- package/dist/sparkle-core/p-a05871e6.js +1 -0
- package/dist/sparkle-core/p-a111c567.entry.js +1 -0
- package/dist/sparkle-core/{p-1af044f7.js → p-a19b42f0.js} +1 -1
- package/dist/sparkle-core/p-a208ab2d.js +4 -0
- package/dist/sparkle-core/p-a2f7c751.entry.js +1 -0
- package/dist/sparkle-core/p-a458b415.entry.js +1 -0
- package/dist/sparkle-core/p-a6c1a55a.entry.js +5 -0
- package/dist/sparkle-core/{p-145e40f5.entry.js → p-ab3a8f5e.entry.js} +1 -1
- package/dist/sparkle-core/p-ac0e4d8c.entry.js +1 -0
- package/dist/sparkle-core/p-add30d46.js +4 -0
- package/dist/sparkle-core/{p-5b40aae5.entry.js → p-b00d0a47.entry.js} +1 -1
- package/dist/sparkle-core/p-b2827978.entry.js +1 -0
- package/dist/sparkle-core/p-b8ba8164.entry.js +1 -0
- package/dist/sparkle-core/{p-6823e6c1.entry.js → p-ba775d8e.entry.js} +1 -1
- package/dist/sparkle-core/{p-37c00e39.entry.js → p-bae8cd7d.entry.js} +1 -1
- package/dist/sparkle-core/p-bb3e3482.entry.js +1 -0
- package/dist/sparkle-core/p-bb575dba.entry.js +1 -0
- package/dist/sparkle-core/p-bd2c8e30.entry.js +10 -0
- package/dist/sparkle-core/p-c48352cf.js +4 -0
- package/dist/sparkle-core/{p-667accac.entry.js → p-c5eb4404.entry.js} +1 -1
- package/dist/sparkle-core/p-c8ad5a5b.entry.js +4 -0
- package/dist/sparkle-core/p-c9f474d0.js +4 -0
- package/dist/sparkle-core/p-ca0edc9b.entry.js +1 -0
- package/dist/sparkle-core/{p-680663a2.entry.js → p-cb04b18a.entry.js} +1 -1
- package/dist/sparkle-core/{p-b3909012.entry.js → p-d0d0e5e5.entry.js} +1 -1
- package/dist/sparkle-core/{p-7d61177b.entry.js → p-d220a642.entry.js} +1 -1
- package/dist/sparkle-core/p-d38a2511.entry.js +1 -0
- package/dist/sparkle-core/{p-b07a2cf2.entry.js → p-d5b8302f.entry.js} +1 -1
- package/dist/sparkle-core/p-d5ba8e80.entry.js +1 -0
- package/dist/sparkle-core/{p-3a202a38.entry.js → p-d6637b48.entry.js} +1 -1
- package/dist/sparkle-core/p-d6788642.entry.js +1 -0
- package/dist/sparkle-core/p-d6a3a639.entry.js +1 -0
- package/dist/sparkle-core/p-d86f8633.entry.js +1 -0
- package/dist/sparkle-core/{p-9cfdeb18.entry.js → p-defeaa5c.entry.js} +1 -1
- package/dist/sparkle-core/p-df5cfa7f.entry.js +1 -0
- package/dist/sparkle-core/p-df5efe0d.entry.js +1 -0
- package/dist/sparkle-core/p-dff8325e.js +4 -0
- package/dist/sparkle-core/p-e09de7ac.js +1 -0
- package/dist/sparkle-core/{p-016a7aaf.entry.js → p-e1743d82.entry.js} +1 -1
- package/dist/sparkle-core/p-e28a106d.entry.js +1 -0
- package/dist/sparkle-core/p-e566c0b3.entry.js +1 -0
- package/dist/sparkle-core/{p-bca0e465.entry.js → p-e6d39f6e.entry.js} +1 -1
- package/dist/sparkle-core/p-e9431eeb.js +7 -0
- package/dist/sparkle-core/p-ea4a9f0d.entry.js +1 -0
- package/dist/sparkle-core/p-ea7d7a3b.js +1 -0
- package/dist/sparkle-core/p-eaa8bbee.js +4 -0
- package/dist/sparkle-core/p-ed3dfd89.js +4 -0
- package/dist/sparkle-core/{p-3defe550.entry.js → p-efe37368.entry.js} +1 -1
- package/dist/sparkle-core/p-f187d129.entry.js +1 -0
- package/dist/sparkle-core/{p-a9ccb0df.js → p-f3cba72a.js} +0 -0
- package/dist/sparkle-core/{p-052caa63.js → p-f5e7bfa5.js} +1 -1
- package/dist/sparkle-core/{p-ecd39170.entry.js → p-f63a13d8.entry.js} +1 -1
- package/dist/sparkle-core/{p-1726da2f.entry.js → p-fdb9a613.entry.js} +1 -1
- package/dist/sparkle-core/p-fde96f7c.js +4 -0
- package/dist/sparkle-core/{p-aa87c7f0.entry.js → p-fe214d79.entry.js} +1 -1
- package/dist/sparkle-core/p-fe3a7bca.js +1 -0
- package/dist/sparkle-core/{p-aa9ebc39.entry.js → p-fea20ec2.entry.js} +1 -1
- package/dist/sparkle-core/p-ff26d891.entry.js +1 -0
- package/dist/sparkle-core/sparkle-core.css +1 -1
- package/dist/sparkle-core/sparkle-core.esm.js +1 -1
- package/dist/types/components/sparkle-feed-post/sparkle-feed-post.d.ts +16 -0
- package/dist/types/components/sparkle-intro/sparkle-intro.d.ts +7 -0
- package/dist/types/components.d.ts +73 -11
- package/package.json +3 -3
- package/dist/cjs/ion-card-title.cjs.entry.js +0 -30
- package/dist/cjs/ion-textarea.cjs.entry.js +0 -247
- package/dist/cjs/ion-toggle.cjs.entry.js +0 -160
- package/dist/cjs/sparkle-feed-post.cjs.entry.js +0 -19
- package/dist/cjs/student.service-744c3155.js +0 -77
- package/dist/esm/ion-card-title.entry.js +0 -26
- package/dist/esm/ion-textarea.entry.js +0 -243
- package/dist/esm/ion-toggle.entry.js +0 -156
- package/dist/esm/sparkle-feed-post.entry.js +0 -15
- package/dist/sparkle-core/p-0187adef.entry.js +0 -1
- package/dist/sparkle-core/p-03189863.js +0 -1
- package/dist/sparkle-core/p-03ec54a8.entry.js +0 -1
- package/dist/sparkle-core/p-04583c51.entry.js +0 -1
- package/dist/sparkle-core/p-063cd168.js +0 -4
- package/dist/sparkle-core/p-081968cc.entry.js +0 -1
- package/dist/sparkle-core/p-0934f5dd.entry.js +0 -1
- package/dist/sparkle-core/p-0f899097.entry.js +0 -352
- package/dist/sparkle-core/p-1339830f.entry.js +0 -1
- package/dist/sparkle-core/p-1b78dea1.entry.js +0 -1
- package/dist/sparkle-core/p-1cef8572.js +0 -4
- package/dist/sparkle-core/p-21bf4ca0.entry.js +0 -1
- package/dist/sparkle-core/p-21db4e8e.entry.js +0 -1
- package/dist/sparkle-core/p-23a9f7d1.entry.js +0 -1
- package/dist/sparkle-core/p-289a35ed.entry.js +0 -1
- package/dist/sparkle-core/p-2ee6a5f9.entry.js +0 -1
- package/dist/sparkle-core/p-35a7bd6c.entry.js +0 -1
- package/dist/sparkle-core/p-389500fd.js +0 -4
- package/dist/sparkle-core/p-45e6db62.entry.js +0 -1
- package/dist/sparkle-core/p-48f9b960.entry.js +0 -1
- package/dist/sparkle-core/p-4dc3ef96.entry.js +0 -1
- package/dist/sparkle-core/p-547b70c6.entry.js +0 -1
- package/dist/sparkle-core/p-5598650a.entry.js +0 -1
- package/dist/sparkle-core/p-55ae49e1.js +0 -4
- package/dist/sparkle-core/p-58e98f89.entry.js +0 -1
- package/dist/sparkle-core/p-59f7bf6e.entry.js +0 -1
- package/dist/sparkle-core/p-5a3d0e6b.js +0 -4
- package/dist/sparkle-core/p-5d2e54ee.entry.js +0 -1
- package/dist/sparkle-core/p-62a6c96f.entry.js +0 -1
- package/dist/sparkle-core/p-64e72f8f.js +0 -4
- package/dist/sparkle-core/p-660e0742.js +0 -1
- package/dist/sparkle-core/p-6bf07a28.js +0 -1
- package/dist/sparkle-core/p-6c6145cd.js +0 -4
- package/dist/sparkle-core/p-6c90bde6.entry.js +0 -5
- package/dist/sparkle-core/p-6e88764b.entry.js +0 -4
- package/dist/sparkle-core/p-6ee40949.js +0 -1
- package/dist/sparkle-core/p-6fbe3ca3.entry.js +0 -1
- package/dist/sparkle-core/p-6fd4985d.js +0 -4
- package/dist/sparkle-core/p-70b2452c.js +0 -4
- package/dist/sparkle-core/p-7493ee15.entry.js +0 -1
- package/dist/sparkle-core/p-75572037.js +0 -1
- package/dist/sparkle-core/p-768bcc9e.entry.js +0 -1
- package/dist/sparkle-core/p-7e61973d.entry.js +0 -7
- package/dist/sparkle-core/p-855ca600.js +0 -1
- package/dist/sparkle-core/p-857f3696.entry.js +0 -1
- package/dist/sparkle-core/p-8fe2e51f.entry.js +0 -4
- package/dist/sparkle-core/p-932bfb69.entry.js +0 -1
- package/dist/sparkle-core/p-941eaa3a.entry.js +0 -1
- package/dist/sparkle-core/p-95004267.entry.js +0 -1
- package/dist/sparkle-core/p-996361f9.entry.js +0 -1
- package/dist/sparkle-core/p-9a17f2ad.js +0 -4
- package/dist/sparkle-core/p-9babd345.js +0 -1
- package/dist/sparkle-core/p-a080e768.entry.js +0 -1
- package/dist/sparkle-core/p-a7cc0052.entry.js +0 -4
- package/dist/sparkle-core/p-ae1f145d.entry.js +0 -1
- package/dist/sparkle-core/p-b3e6427d.js +0 -7
- package/dist/sparkle-core/p-b49ca0ea.entry.js +0 -1
- package/dist/sparkle-core/p-b81e20fe.entry.js +0 -4
- package/dist/sparkle-core/p-c1279cc9.entry.js +0 -1
- package/dist/sparkle-core/p-c1376096.entry.js +0 -1
- package/dist/sparkle-core/p-c3986a52.entry.js +0 -1
- package/dist/sparkle-core/p-c3d3d5c4.entry.js +0 -1
- package/dist/sparkle-core/p-c5b9bdd6.entry.js +0 -1
- package/dist/sparkle-core/p-cbbeed67.entry.js +0 -1
- package/dist/sparkle-core/p-d4a435f8.entry.js +0 -1
- package/dist/sparkle-core/p-d5b05ece.entry.js +0 -5
- package/dist/sparkle-core/p-d8d3524a.js +0 -1
- package/dist/sparkle-core/p-e0fced48.entry.js +0 -1
- package/dist/sparkle-core/p-e1cba44b.entry.js +0 -4
- package/dist/sparkle-core/p-e3fdd0a8.entry.js +0 -1
- package/dist/sparkle-core/p-e6b66cef.entry.js +0 -1
- package/dist/sparkle-core/p-e72d4450.js +0 -4
- package/dist/sparkle-core/p-eb70a23c.entry.js +0 -1
- package/dist/sparkle-core/p-f4001fdf.js +0 -4
- package/dist/sparkle-core/p-f9b73032.entry.js +0 -1
- package/dist/sparkle-core/p-faa912d7.entry.js +0 -1
- package/dist/sparkle-core/p-fc933591.entry.js +0 -1
- package/dist/sparkle-core/p-fef04ab5.js +0 -4
@@ -1,6 +1,8 @@
|
|
1
|
-
import { r as registerInstance,
|
2
|
-
import { g as getIonMode } from './ionic-global-
|
3
|
-
import {
|
1
|
+
import { r as registerInstance, e as createEvent, h, i as getElement, H as Host } from './index-9db08224.js';
|
2
|
+
import { g as getIonMode } from './ionic-global-293e882b.js';
|
3
|
+
import { a as findClosestIonContent, d as disableContentScrollY, r as resetContentScrollY } from './index-c23a1826.js';
|
4
|
+
import { n as isEndSide } from './helpers-94a5855b.js';
|
5
|
+
import './index-dad75b83.js';
|
4
6
|
|
5
7
|
const itemSlidingCss = "ion-item-sliding{display:block;position:relative;width:100%;overflow:hidden;user-select:none}ion-item-sliding .item{user-select:none}.item-sliding-active-slide .item{position:relative;transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);opacity:1;z-index:2;pointer-events:none;will-change:transform}.item-sliding-active-swipe-end .item-options-end .item-option-expandable{padding-left:100%;order:1;transition-duration:0.6s;transition-property:padding-left}[dir=rtl] .item-sliding-active-swipe-end .item-options-end .item-option-expandable,:host-context([dir=rtl]) .item-sliding-active-swipe-end .item-options-end .item-option-expandable{order:-1}.item-sliding-active-swipe-start .item-options-start .item-option-expandable{padding-right:100%;order:-1;transition-duration:0.6s;transition-property:padding-right}[dir=rtl] .item-sliding-active-swipe-start .item-options-start .item-option-expandable,:host-context([dir=rtl]) .item-sliding-active-swipe-start .item-options-start .item-option-expandable{order:1}";
|
6
8
|
|
@@ -18,7 +20,7 @@ const ItemSliding = class {
|
|
18
20
|
this.optsWidthLeftSide = 0;
|
19
21
|
this.sides = 0 /* None */;
|
20
22
|
this.optsDirty = true;
|
21
|
-
this.
|
23
|
+
this.contentEl = null;
|
22
24
|
this.initialContentScrollY = true;
|
23
25
|
this.state = 2 /* Disabled */;
|
24
26
|
/**
|
@@ -33,17 +35,17 @@ const ItemSliding = class {
|
|
33
35
|
}
|
34
36
|
async connectedCallback() {
|
35
37
|
this.item = this.el.querySelector('ion-item');
|
36
|
-
this.
|
38
|
+
this.contentEl = findClosestIonContent(this.el);
|
37
39
|
await this.updateOptions();
|
38
|
-
this.gesture = (await import('./index-
|
40
|
+
this.gesture = (await import('./index-21661af2.js')).createGesture({
|
39
41
|
el: this.el,
|
40
42
|
gestureName: 'item-swipe',
|
41
43
|
gesturePriority: 100,
|
42
44
|
threshold: 5,
|
43
|
-
canStart: ev => this.canStart(ev),
|
45
|
+
canStart: (ev) => this.canStart(ev),
|
44
46
|
onStart: () => this.onStart(),
|
45
|
-
onMove: ev => this.onMove(ev),
|
46
|
-
onEnd: ev => this.onEnd(ev),
|
47
|
+
onMove: (ev) => this.onMove(ev),
|
48
|
+
onEnd: (ev) => this.onEnd(ev),
|
47
49
|
});
|
48
50
|
this.disabledChanged();
|
49
51
|
}
|
@@ -92,7 +94,7 @@ const ItemSliding = class {
|
|
92
94
|
* so we know which direction to move the options
|
93
95
|
*/
|
94
96
|
if (side === undefined) {
|
95
|
-
side =
|
97
|
+
side = optionsToOpen === this.leftOptions ? 'start' : 'end';
|
96
98
|
}
|
97
99
|
// In RTL we want to switch the sides
|
98
100
|
side = isEndSide(side) ? 'end' : 'start';
|
@@ -112,10 +114,10 @@ const ItemSliding = class {
|
|
112
114
|
this.state = 4 /* Enabled */;
|
113
115
|
requestAnimationFrame(() => {
|
114
116
|
this.calculateOptsWidth();
|
115
|
-
const width =
|
117
|
+
const width = side === 'end' ? this.optsWidthRightSide : -this.optsWidthLeftSide;
|
116
118
|
openSlidingItem = this.el;
|
117
119
|
this.setOpenAmount(width, false);
|
118
|
-
this.state =
|
120
|
+
this.state = side === 'end' ? 8 /* End */ : 16 /* Start */;
|
119
121
|
});
|
120
122
|
}
|
121
123
|
/**
|
@@ -164,7 +166,7 @@ const ItemSliding = class {
|
|
164
166
|
* util here since we need to wait for all of these items
|
165
167
|
* to be ready before we set `this.sides` and `this.optsDirty`.
|
166
168
|
*/
|
167
|
-
const option =
|
169
|
+
const option = item.componentOnReady !== undefined ? await item.componentOnReady() : item;
|
168
170
|
const side = isEndSide(option.side) ? 'end' : 'start';
|
169
171
|
if (side === 'start') {
|
170
172
|
this.leftOptions = option;
|
@@ -185,7 +187,7 @@ const ItemSliding = class {
|
|
185
187
|
* back will still work.
|
186
188
|
*/
|
187
189
|
const rtl = document.dir === 'rtl';
|
188
|
-
const atEdge =
|
190
|
+
const atEdge = rtl ? window.innerWidth - gesture.startX < 15 : gesture.startX < 15;
|
189
191
|
if (atEdge) {
|
190
192
|
return false;
|
191
193
|
}
|
@@ -195,19 +197,6 @@ const ItemSliding = class {
|
|
195
197
|
}
|
196
198
|
return !!(this.rightOptions || this.leftOptions);
|
197
199
|
}
|
198
|
-
disableContentScrollY() {
|
199
|
-
if (this.closestContent === null) {
|
200
|
-
return;
|
201
|
-
}
|
202
|
-
this.initialContentScrollY = this.closestContent.scrollY;
|
203
|
-
this.closestContent.scrollY = false;
|
204
|
-
}
|
205
|
-
restoreContentScrollY() {
|
206
|
-
if (this.closestContent === null) {
|
207
|
-
return;
|
208
|
-
}
|
209
|
-
this.closestContent.scrollY = this.initialContentScrollY;
|
210
|
-
}
|
211
200
|
onStart() {
|
212
201
|
/**
|
213
202
|
* We need to query for the ion-item
|
@@ -215,8 +204,10 @@ const ItemSliding = class {
|
|
215
204
|
* may toggle ion-item elements via *ngIf.
|
216
205
|
*/
|
217
206
|
this.item = this.el.querySelector('ion-item');
|
218
|
-
|
219
|
-
|
207
|
+
const { contentEl } = this;
|
208
|
+
if (contentEl) {
|
209
|
+
this.initialContentScrollY = disableContentScrollY(contentEl);
|
210
|
+
}
|
220
211
|
openSlidingItem = this.el;
|
221
212
|
if (this.tmr !== undefined) {
|
222
213
|
clearTimeout(this.tmr);
|
@@ -243,8 +234,10 @@ const ItemSliding = class {
|
|
243
234
|
case 1 /* Start */:
|
244
235
|
openAmount = Math.min(0, openAmount);
|
245
236
|
break;
|
246
|
-
case 3 /* Both */:
|
247
|
-
|
237
|
+
case 3 /* Both */:
|
238
|
+
break;
|
239
|
+
case 0 /* None */:
|
240
|
+
return;
|
248
241
|
default:
|
249
242
|
console.warn('invalid ItemSideFlags value', this.sides);
|
250
243
|
break;
|
@@ -261,15 +254,15 @@ const ItemSliding = class {
|
|
261
254
|
this.setOpenAmount(openAmount, false);
|
262
255
|
}
|
263
256
|
onEnd(gesture) {
|
264
|
-
|
265
|
-
|
257
|
+
const { contentEl, initialContentScrollY } = this;
|
258
|
+
if (contentEl) {
|
259
|
+
resetContentScrollY(contentEl, initialContentScrollY);
|
260
|
+
}
|
266
261
|
const velocity = gesture.velocityX;
|
267
|
-
let restingPoint =
|
268
|
-
? this.optsWidthRightSide
|
269
|
-
: -this.optsWidthLeftSide;
|
262
|
+
let restingPoint = this.openAmount > 0 ? this.optsWidthRightSide : -this.optsWidthLeftSide;
|
270
263
|
// Check if the drag didn't clear the buttons mid-point
|
271
264
|
// and we aren't moving fast enough to swipe open
|
272
|
-
const isResetDirection =
|
265
|
+
const isResetDirection = this.openAmount > 0 === !(velocity < 0);
|
273
266
|
const isMovingFast = Math.abs(velocity) > 0.3;
|
274
267
|
const isOnCloseZone = Math.abs(this.openAmount) < Math.abs(restingPoint / 2);
|
275
268
|
if (swipeShouldReset(isResetDirection, isMovingFast, isOnCloseZone)) {
|
@@ -313,14 +306,16 @@ const ItemSliding = class {
|
|
313
306
|
style.transition = '';
|
314
307
|
}
|
315
308
|
if (openAmount > 0) {
|
316
|
-
this.state =
|
317
|
-
|
318
|
-
|
309
|
+
this.state =
|
310
|
+
openAmount >= this.optsWidthRightSide + SWIPE_MARGIN
|
311
|
+
? 8 /* End */ | 32 /* SwipeEnd */
|
312
|
+
: 8 /* End */;
|
319
313
|
}
|
320
314
|
else if (openAmount < 0) {
|
321
|
-
this.state =
|
322
|
-
|
323
|
-
|
315
|
+
this.state =
|
316
|
+
openAmount <= -this.optsWidthLeftSide - SWIPE_MARGIN
|
317
|
+
? 16 /* Start */ | 64 /* SwipeStart */
|
318
|
+
: 16 /* Start */;
|
324
319
|
}
|
325
320
|
else {
|
326
321
|
/**
|
@@ -347,7 +342,7 @@ const ItemSliding = class {
|
|
347
342
|
style.transform = `translate3d(${-openAmount}px,0,0)`;
|
348
343
|
this.ionDrag.emit({
|
349
344
|
amount: openAmount,
|
350
|
-
ratio: this.getSlidingRatioSync()
|
345
|
+
ratio: this.getSlidingRatioSync(),
|
351
346
|
});
|
352
347
|
}
|
353
348
|
getSlidingRatioSync() {
|
@@ -365,11 +360,11 @@ const ItemSliding = class {
|
|
365
360
|
const mode = getIonMode(this);
|
366
361
|
return (h(Host, { class: {
|
367
362
|
[mode]: true,
|
368
|
-
'item-sliding-active-slide':
|
363
|
+
'item-sliding-active-slide': this.state !== 2 /* Disabled */,
|
369
364
|
'item-sliding-active-options-end': (this.state & 8 /* End */) !== 0,
|
370
365
|
'item-sliding-active-options-start': (this.state & 16 /* Start */) !== 0,
|
371
366
|
'item-sliding-active-swipe-end': (this.state & 32 /* SwipeEnd */) !== 0,
|
372
|
-
'item-sliding-active-swipe-start': (this.state & 64 /* SwipeStart */) !== 0
|
367
|
+
'item-sliding-active-swipe-start': (this.state & 64 /* SwipeStart */) !== 0,
|
373
368
|
} }));
|
374
369
|
}
|
375
370
|
get el() { return getElement(this); }
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { r as registerInstance,
|
2
|
-
import { g as getIonMode, c as config } from './ionic-global-
|
3
|
-
import { B as BACKDROP, p as prepareOverlay,
|
4
|
-
import { s as sanitizeDOMString } from './index-
|
5
|
-
import { g as getClassMap } from './theme-
|
6
|
-
import { c as createAnimation } from './animation-
|
7
|
-
import './hardware-back-button-
|
8
|
-
import './helpers-
|
1
|
+
import { r as registerInstance, e as createEvent, h, H as Host, i as getElement } from './index-9db08224.js';
|
2
|
+
import { g as getIonMode, c as config } from './ionic-global-293e882b.js';
|
3
|
+
import { B as BACKDROP, p as prepareOverlay, a as present, d as dismiss, e as eventMethod } from './overlays-dfa730c8.js';
|
4
|
+
import { s as sanitizeDOMString } from './index-be6112f8.js';
|
5
|
+
import { g as getClassMap } from './theme-7ef00c83.js';
|
6
|
+
import { c as createAnimation } from './animation-d98d3e81.js';
|
7
|
+
import './hardware-back-button-fa04d6e9.js';
|
8
|
+
import './helpers-94a5855b.js';
|
9
9
|
|
10
10
|
/*!
|
11
11
|
* (C) Ionic http://ionicframework.com - MIT License
|
@@ -21,14 +21,12 @@ const iosEnterAnimation = (baseEl) => {
|
|
21
21
|
.addElement(baseEl.querySelector('ion-backdrop'))
|
22
22
|
.fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
|
23
23
|
.beforeStyles({
|
24
|
-
'pointer-events': 'none'
|
24
|
+
'pointer-events': 'none',
|
25
25
|
})
|
26
26
|
.afterClearStyles(['pointer-events']);
|
27
|
-
wrapperAnimation
|
28
|
-
.addElement(baseEl.querySelector('.loading-wrapper'))
|
29
|
-
.keyframes([
|
27
|
+
wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper')).keyframes([
|
30
28
|
{ offset: 0, opacity: 0.01, transform: 'scale(1.1)' },
|
31
|
-
{ offset: 1, opacity: 1, transform: 'scale(1)' }
|
29
|
+
{ offset: 1, opacity: 1, transform: 'scale(1)' },
|
32
30
|
]);
|
33
31
|
return baseAnimation
|
34
32
|
.addElement(baseEl)
|
@@ -47,14 +45,10 @@ const iosLeaveAnimation = (baseEl) => {
|
|
47
45
|
const baseAnimation = createAnimation();
|
48
46
|
const backdropAnimation = createAnimation();
|
49
47
|
const wrapperAnimation = createAnimation();
|
50
|
-
backdropAnimation
|
51
|
-
|
52
|
-
.fromTo('opacity', 'var(--backdrop-opacity)', 0);
|
53
|
-
wrapperAnimation
|
54
|
-
.addElement(baseEl.querySelector('.loading-wrapper'))
|
55
|
-
.keyframes([
|
48
|
+
backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
|
49
|
+
wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper')).keyframes([
|
56
50
|
{ offset: 0, opacity: 0.99, transform: 'scale(1)' },
|
57
|
-
{ offset: 1, opacity: 0, transform: 'scale(0.9)' }
|
51
|
+
{ offset: 1, opacity: 0, transform: 'scale(0.9)' },
|
58
52
|
]);
|
59
53
|
return baseAnimation
|
60
54
|
.addElement(baseEl)
|
@@ -77,14 +71,12 @@ const mdEnterAnimation = (baseEl) => {
|
|
77
71
|
.addElement(baseEl.querySelector('ion-backdrop'))
|
78
72
|
.fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
|
79
73
|
.beforeStyles({
|
80
|
-
'pointer-events': 'none'
|
74
|
+
'pointer-events': 'none',
|
81
75
|
})
|
82
76
|
.afterClearStyles(['pointer-events']);
|
83
|
-
wrapperAnimation
|
84
|
-
.addElement(baseEl.querySelector('.loading-wrapper'))
|
85
|
-
.keyframes([
|
77
|
+
wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper')).keyframes([
|
86
78
|
{ offset: 0, opacity: 0.01, transform: 'scale(1.1)' },
|
87
|
-
{ offset: 1, opacity: 1, transform: 'scale(1)' }
|
79
|
+
{ offset: 1, opacity: 1, transform: 'scale(1)' },
|
88
80
|
]);
|
89
81
|
return baseAnimation
|
90
82
|
.addElement(baseEl)
|
@@ -103,14 +95,10 @@ const mdLeaveAnimation = (baseEl) => {
|
|
103
95
|
const baseAnimation = createAnimation();
|
104
96
|
const backdropAnimation = createAnimation();
|
105
97
|
const wrapperAnimation = createAnimation();
|
106
|
-
backdropAnimation
|
107
|
-
|
108
|
-
.fromTo('opacity', 'var(--backdrop-opacity)', 0);
|
109
|
-
wrapperAnimation
|
110
|
-
.addElement(baseEl.querySelector('.loading-wrapper'))
|
111
|
-
.keyframes([
|
98
|
+
backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
|
99
|
+
wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper')).keyframes([
|
112
100
|
{ offset: 0, opacity: 0.99, transform: 'scale(1)' },
|
113
|
-
{ offset: 1, opacity: 0, transform: 'scale(0.9)' }
|
101
|
+
{ offset: 1, opacity: 0, transform: 'scale(0.9)' },
|
114
102
|
]);
|
115
103
|
return baseAnimation
|
116
104
|
.addElement(baseEl)
|
@@ -119,9 +107,9 @@ const mdLeaveAnimation = (baseEl) => {
|
|
119
107
|
.addAnimation([backdropAnimation, wrapperAnimation]);
|
120
108
|
};
|
121
109
|
|
122
|
-
const loadingIosCss = ".sc-ion-loading-ios-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:flex;position:fixed;align-items:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;touch-action:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-ios-h{display:none}.loading-wrapper.sc-ion-loading-ios{display:flex;align-items:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}
|
110
|
+
const loadingIosCss = ".sc-ion-loading-ios-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:flex;position:fixed;align-items:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;touch-action:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-ios-h{display:none}.loading-wrapper.sc-ion-loading-ios{display:flex;align-items:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}ion-spinner.sc-ion-loading-ios{color:var(--spinner-color)}.sc-ion-loading-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--max-height:90%;--spinner-color:var(--ion-color-step-600, #666666);--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);color:var(--ion-text-color, #000);font-size:14px}.loading-wrapper.sc-ion-loading-ios{border-radius:8px;padding-left:34px;padding-right:34px;padding-top:24px;padding-bottom:24px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.loading-wrapper.sc-ion-loading-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:34px;padding-inline-start:34px;-webkit-padding-end:34px;padding-inline-end:34px}}@supports (backdrop-filter: blur(0)){.loading-translucent.sc-ion-loading-ios-h .loading-wrapper.sc-ion-loading-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);backdrop-filter:saturate(180%) blur(20px)}}.loading-content.sc-ion-loading-ios{font-weight:bold}.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{margin-left:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}";
|
123
111
|
|
124
|
-
const loadingMdCss = ".sc-ion-loading-md-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:flex;position:fixed;align-items:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;touch-action:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-md-h{display:none}.loading-wrapper.sc-ion-loading-md{display:flex;align-items:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}
|
112
|
+
const loadingMdCss = ".sc-ion-loading-md-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:flex;position:fixed;align-items:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;touch-action:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-md-h{display:none}.loading-wrapper.sc-ion-loading-md{display:flex;align-items:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}ion-spinner.sc-ion-loading-md{color:var(--spinner-color)}.sc-ion-loading-md-h{--background:var(--ion-color-step-50, #f2f2f2);--max-width:280px;--max-height:90%;--spinner-color:var(--ion-color-primary, #3880ff);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);color:var(--ion-color-step-850, #262626);font-size:14px}.loading-wrapper.sc-ion-loading-md{border-radius:2px;padding-left:24px;padding-right:24px;padding-top:24px;padding-bottom:24px;box-shadow:0 16px 20px rgba(0, 0, 0, 0.4)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.loading-wrapper.sc-ion-loading-md{padding-left:unset;padding-right:unset;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px}}.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{margin-left:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}";
|
125
113
|
|
126
114
|
const Loading = class {
|
127
115
|
constructor(hostRef) {
|
@@ -210,7 +198,7 @@ const Loading = class {
|
|
210
198
|
const { message, spinner, htmlAttributes } = this;
|
211
199
|
const mode = getIonMode(this);
|
212
200
|
return (h(Host, Object.assign({ tabindex: "-1" }, htmlAttributes, { style: {
|
213
|
-
zIndex: `${40000 + this.overlayIndex}
|
201
|
+
zIndex: `${40000 + this.overlayIndex}`,
|
214
202
|
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { tabindex: "0" }), h("div", { class: "loading-wrapper ion-overlay-wrapper", role: "dialog" }, spinner && (h("div", { class: "loading-spinner" }, h("ion-spinner", { name: spinner, "aria-hidden": "true" }))), message && h("div", { class: "loading-content", innerHTML: sanitizeDOMString(message) })), h("div", { tabindex: "0" })));
|
215
203
|
}
|
216
204
|
get el() { return getElement(this); }
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { r as registerInstance, h, H as Host,
|
2
|
-
import { m as menuOutline,
|
3
|
-
import { g as getIonMode, c as config } from './ionic-global-
|
4
|
-
import { i as
|
5
|
-
import { m as menuController } from './index-
|
6
|
-
import { c as createColorClasses, h as hostContext } from './theme-
|
7
|
-
import { u as updateVisibility } from './menu-toggle-util-
|
8
|
-
import './hardware-back-button-
|
9
|
-
import './animation-
|
1
|
+
import { r as registerInstance, h, H as Host, i as getElement } from './index-9db08224.js';
|
2
|
+
import { m as menuOutline, k as menuSharp } from './index-4ec6b9c2.js';
|
3
|
+
import { g as getIonMode, c as config } from './ionic-global-293e882b.js';
|
4
|
+
import { i as inheritAriaAttributes } from './helpers-94a5855b.js';
|
5
|
+
import { m as menuController } from './index-95307148.js';
|
6
|
+
import { c as createColorClasses, h as hostContext } from './theme-7ef00c83.js';
|
7
|
+
import { u as updateVisibility } from './menu-toggle-util-f92ba2f0.js';
|
8
|
+
import './hardware-back-button-fa04d6e9.js';
|
9
|
+
import './animation-d98d3e81.js';
|
10
10
|
|
11
11
|
const menuButtonIosCss = ":host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;user-select:none;z-index:0;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--padding-start:5px;--padding-end:5px;height:32px;font-size:31px}:host(.ion-activated){opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}";
|
12
12
|
|
@@ -34,7 +34,7 @@ const MenuButton = class {
|
|
34
34
|
};
|
35
35
|
}
|
36
36
|
componentWillLoad() {
|
37
|
-
this.inheritedAttributes =
|
37
|
+
this.inheritedAttributes = inheritAriaAttributes(this.el);
|
38
38
|
}
|
39
39
|
componentDidLoad() {
|
40
40
|
this.visibilityChanged();
|
@@ -48,18 +48,18 @@ const MenuButton = class {
|
|
48
48
|
const menuIcon = config.get('menuIcon', mode === 'ios' ? menuOutline : menuSharp);
|
49
49
|
const hidden = this.autoHide && !this.visible;
|
50
50
|
const attrs = {
|
51
|
-
type: this.type
|
51
|
+
type: this.type,
|
52
52
|
};
|
53
53
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
54
54
|
return (h(Host, { onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
|
55
55
|
[mode]: true,
|
56
|
-
|
56
|
+
button: true,
|
57
57
|
'menu-button-hidden': hidden,
|
58
58
|
'menu-button-disabled': disabled,
|
59
59
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
60
60
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
61
61
|
'ion-activatable': true,
|
62
|
-
'ion-focusable': true
|
62
|
+
'ion-focusable': true,
|
63
63
|
}) }, h("button", Object.assign({}, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { class: "button-inner" }, h("slot", null, h("ion-icon", { part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && h("ion-ripple-effect", { type: "unbounded" }))));
|
64
64
|
}
|
65
65
|
get el() { return getElement(this); }
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
2
|
-
import { g as getIonMode } from './ionic-global-
|
3
|
-
import { m as menuController } from './index-
|
4
|
-
import { u as updateVisibility } from './menu-toggle-util-
|
5
|
-
import './hardware-back-button-
|
6
|
-
import './helpers-
|
7
|
-
import './animation-
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-9db08224.js';
|
2
|
+
import { g as getIonMode } from './ionic-global-293e882b.js';
|
3
|
+
import { m as menuController } from './index-95307148.js';
|
4
|
+
import { u as updateVisibility } from './menu-toggle-util-f92ba2f0.js';
|
5
|
+
import './hardware-back-button-fa04d6e9.js';
|
6
|
+
import './helpers-94a5855b.js';
|
7
|
+
import './animation-d98d3e81.js';
|
8
8
|
|
9
9
|
const menuToggleCss = ":host(.menu-toggle-hidden){display:none}";
|
10
10
|
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import { r as registerInstance,
|
2
|
-
import { c as config, g as getIonMode } from './ionic-global-
|
3
|
-
import { g as getTimeGivenProgression } from './cubic-bezier-
|
4
|
-
import { G as GESTURE_CONTROLLER } from './gesture-controller-
|
5
|
-
import {
|
6
|
-
import { m as menuController } from './index-
|
7
|
-
import { g as getOverlay } from './overlays-
|
8
|
-
import './hardware-back-button-
|
9
|
-
import './animation-
|
1
|
+
import { r as registerInstance, e as createEvent, h, H as Host, i as getElement } from './index-9db08224.js';
|
2
|
+
import { c as config, g as getIonMode } from './ionic-global-293e882b.js';
|
3
|
+
import { g as getTimeGivenProgression } from './cubic-bezier-4c0db14f.js';
|
4
|
+
import { G as GESTURE_CONTROLLER } from './gesture-controller-7be18351.js';
|
5
|
+
import { n as isEndSide, i as inheritAriaAttributes, o as assert, m as clamp } from './helpers-94a5855b.js';
|
6
|
+
import { m as menuController } from './index-95307148.js';
|
7
|
+
import { g as getOverlay } from './overlays-dfa730c8.js';
|
8
|
+
import './hardware-back-button-fa04d6e9.js';
|
9
|
+
import './animation-d98d3e81.js';
|
10
10
|
|
11
|
-
const menuIosCss = ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{left:0;right:auto;top:0;bottom:0;transform:
|
11
|
+
const menuIosCss = ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{left:0;right:auto;top:0;bottom:0;transform:translateX(-9999px);display:flex;position:absolute;flex-direction:column;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}[dir=rtl] .menu-inner,:host-context([dir=rtl]) .menu-inner{left:unset;right:unset;left:auto;right:0}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;right:auto;left:0}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;right:0;left:auto;}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;transform:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}";
|
12
12
|
|
13
|
-
const menuMdCss = ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{left:0;right:auto;top:0;bottom:0;transform:
|
13
|
+
const menuMdCss = ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{left:0;right:auto;top:0;bottom:0;transform:translateX(-9999px);display:flex;position:absolute;flex-direction:column;justify-content:space-between;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:strict}[dir=rtl] .menu-inner,:host-context([dir=rtl]) .menu-inner{left:unset;right:unset;left:auto;right:0}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;right:auto;left:0}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;right:0;left:auto;}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;transform:none !important;box-shadow:none !important}:host(.menu-pane-visible) ion-backdrop{display:hidden !important;}:host(.menu-type-overlay) .menu-inner{box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}";
|
14
14
|
|
15
15
|
const iosEasing = 'cubic-bezier(0.32,0.72,0,1)';
|
16
16
|
const mdEasing = 'cubic-bezier(0.0,0.0,0.2,1)';
|
@@ -83,7 +83,7 @@ const Menu = class {
|
|
83
83
|
this.updateState();
|
84
84
|
this.ionMenuChange.emit({
|
85
85
|
disabled: this.disabled,
|
86
|
-
open: this._isOpen
|
86
|
+
open: this._isOpen,
|
87
87
|
});
|
88
88
|
}
|
89
89
|
sideChanged() {
|
@@ -101,9 +101,7 @@ const Menu = class {
|
|
101
101
|
if (this.type === undefined) {
|
102
102
|
this.type = config.get('menuType', 'overlay');
|
103
103
|
}
|
104
|
-
const content = this.contentId !== undefined
|
105
|
-
? document.getElementById(this.contentId)
|
106
|
-
: null;
|
104
|
+
const content = this.contentId !== undefined ? document.getElementById(this.contentId) : null;
|
107
105
|
if (content === null) {
|
108
106
|
console.error('Menu: must have a "content" element to listen for drag events on.');
|
109
107
|
return;
|
@@ -118,22 +116,22 @@ const Menu = class {
|
|
118
116
|
this.sideChanged();
|
119
117
|
// register this menu with the app's menu controller
|
120
118
|
menuController._register(this);
|
121
|
-
this.gesture = (await import('./index-
|
119
|
+
this.gesture = (await import('./index-21661af2.js')).createGesture({
|
122
120
|
el: document,
|
123
121
|
gestureName: 'menu-swipe',
|
124
122
|
gesturePriority: 30,
|
125
123
|
threshold: 10,
|
126
124
|
blurOnStart: true,
|
127
|
-
canStart: ev => this.canStart(ev),
|
125
|
+
canStart: (ev) => this.canStart(ev),
|
128
126
|
onWillStart: () => this.onWillStart(),
|
129
127
|
onStart: () => this.onStart(),
|
130
|
-
onMove: ev => this.onMove(ev),
|
131
|
-
onEnd: ev => this.onEnd(ev),
|
128
|
+
onMove: (ev) => this.onMove(ev),
|
129
|
+
onEnd: (ev) => this.onEnd(ev),
|
132
130
|
});
|
133
131
|
this.updateState();
|
134
132
|
}
|
135
133
|
componentWillLoad() {
|
136
|
-
this.inheritedAttributes =
|
134
|
+
this.inheritedAttributes = inheritAriaAttributes(this.el);
|
137
135
|
}
|
138
136
|
async componentDidLoad() {
|
139
137
|
this.ionMenuChange.emit({ disabled: this.disabled, open: this._isOpen });
|
@@ -158,9 +156,7 @@ const Menu = class {
|
|
158
156
|
}
|
159
157
|
onBackdropClick(ev) {
|
160
158
|
if (this._isOpen && this.lastOnEnd < ev.timeStamp - 100) {
|
161
|
-
const shouldClose =
|
162
|
-
? !ev.composedPath().includes(this.menuInnerEl)
|
163
|
-
: false;
|
159
|
+
const shouldClose = ev.composedPath ? !ev.composedPath().includes(this.menuInnerEl) : false;
|
164
160
|
if (shouldClose) {
|
165
161
|
ev.preventDefault();
|
166
162
|
ev.stopPropagation();
|
@@ -309,8 +305,8 @@ const Menu = class {
|
|
309
305
|
const easing = mode === 'ios' ? iosEasing : mdEasing;
|
310
306
|
const easingReverse = mode === 'ios' ? iosEasingReverse : mdEasingReverse;
|
311
307
|
const ani = this.animation
|
312
|
-
.direction(
|
313
|
-
.easing(
|
308
|
+
.direction(isReversed ? 'reverse' : 'normal')
|
309
|
+
.easing(isReversed ? easingReverse : easing)
|
314
310
|
.onFinish(() => {
|
315
311
|
if (ani.getDirection() === 'reverse') {
|
316
312
|
ani.direction('normal');
|
@@ -354,7 +350,7 @@ const Menu = class {
|
|
354
350
|
return;
|
355
351
|
}
|
356
352
|
// the cloned animation should not use an easing curve during seek
|
357
|
-
this.animation.progressStart(true,
|
353
|
+
this.animation.progressStart(true, this._isOpen ? 1 : 0);
|
358
354
|
}
|
359
355
|
onMove(detail) {
|
360
356
|
if (!this.isAnimating || !this.animation) {
|
@@ -363,7 +359,7 @@ const Menu = class {
|
|
363
359
|
}
|
364
360
|
const delta = computeDelta(detail.deltaX, this._isOpen, this.isEndSide);
|
365
361
|
const stepValue = delta / this.width;
|
366
|
-
this.animation.progressStep(
|
362
|
+
this.animation.progressStep(this._isOpen ? 1 - stepValue : stepValue);
|
367
363
|
}
|
368
364
|
onEnd(detail) {
|
369
365
|
if (!this.isAnimating || !this.animation) {
|
@@ -380,22 +376,26 @@ const Menu = class {
|
|
380
376
|
const shouldCompleteRight = velocity >= 0 && (velocity > 0.2 || detail.deltaX > z);
|
381
377
|
const shouldCompleteLeft = velocity <= 0 && (velocity < -0.2 || detail.deltaX < -z);
|
382
378
|
const shouldComplete = isOpen
|
383
|
-
? isEndSide
|
384
|
-
|
379
|
+
? isEndSide
|
380
|
+
? shouldCompleteRight
|
381
|
+
: shouldCompleteLeft
|
382
|
+
: isEndSide
|
383
|
+
? shouldCompleteLeft
|
384
|
+
: shouldCompleteRight;
|
385
385
|
let shouldOpen = !isOpen && shouldComplete;
|
386
386
|
if (isOpen && !shouldComplete) {
|
387
387
|
shouldOpen = true;
|
388
388
|
}
|
389
389
|
this.lastOnEnd = detail.currentTime;
|
390
390
|
// Account for rounding errors in JS
|
391
|
-
let newStepValue =
|
391
|
+
let newStepValue = shouldComplete ? 0.001 : -0.001;
|
392
392
|
/**
|
393
393
|
* TODO: stepValue can sometimes return a negative
|
394
394
|
* value, but you can't have a negative time value
|
395
395
|
* for the cubic bezier curve (at least with web animations)
|
396
396
|
* Not sure if the negative step value is an error or not
|
397
397
|
*/
|
398
|
-
const adjustedStepValue =
|
398
|
+
const adjustedStepValue = stepValue < 0 ? 0.01 : stepValue;
|
399
399
|
/**
|
400
400
|
* Animation will be reversed here, so need to
|
401
401
|
* reverse the easing curve as well
|
@@ -404,12 +404,13 @@ const Menu = class {
|
|
404
404
|
* to the new easing curve, as `stepValue` is going to be given
|
405
405
|
* in terms of a linear curve.
|
406
406
|
*/
|
407
|
-
newStepValue +=
|
408
|
-
|
407
|
+
newStepValue +=
|
408
|
+
getTimeGivenProgression([0, 0], [0.4, 0], [0.6, 1], [1, 1], clamp(0, adjustedStepValue, 0.9999))[0] || 0;
|
409
|
+
const playTo = this._isOpen ? !shouldComplete : shouldComplete;
|
409
410
|
this.animation
|
410
411
|
.easing('cubic-bezier(0.4, 0.0, 0.6, 1)')
|
411
412
|
.onFinish(() => this.afterAnimation(shouldOpen), { oneTimeCallback: true })
|
412
|
-
.progressEnd(
|
413
|
+
.progressEnd(playTo ? 1 : 0, this._isOpen ? 1 - newStepValue : newStepValue, 300);
|
413
414
|
}
|
414
415
|
beforeAnimation(shouldOpen) {
|
415
416
|
assert(!this.isAnimating, '_before() should not be called while animating');
|
@@ -438,6 +439,7 @@ const Menu = class {
|
|
438
439
|
}
|
439
440
|
}
|
440
441
|
afterAnimation(isOpen) {
|
442
|
+
var _a;
|
441
443
|
assert(this.isAnimating, '_before() should be called while animating');
|
442
444
|
// keep opening/closing the menu disabled for a touch more yet
|
443
445
|
// only add listeners/css if it's enabled and isOpen
|
@@ -464,11 +466,16 @@ const Menu = class {
|
|
464
466
|
}
|
465
467
|
// emit open event
|
466
468
|
this.ionDidOpen.emit();
|
467
|
-
|
468
|
-
|
469
|
-
|
469
|
+
/**
|
470
|
+
* Move focus to the menu to prepare focus trapping, as long as
|
471
|
+
* it isn't already focused. Use the host element instead of the
|
472
|
+
* first descendant to avoid the scroll position jumping around.
|
473
|
+
*/
|
474
|
+
const focusedMenu = (_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.closest('ion-menu');
|
475
|
+
if (focusedMenu !== this.el) {
|
476
|
+
this.el.focus();
|
470
477
|
}
|
471
|
-
//
|
478
|
+
// start focus trapping
|
472
479
|
document.addEventListener('focus', this.handleFocus, true);
|
473
480
|
}
|
474
481
|
else {
|
@@ -531,8 +538,8 @@ const Menu = class {
|
|
531
538
|
'menu-enabled': !disabled,
|
532
539
|
'menu-side-end': isEndSide,
|
533
540
|
'menu-side-start': !isEndSide,
|
534
|
-
'menu-pane-visible': isPaneVisible
|
535
|
-
} }, h("div", { class: "menu-inner", part: "container", ref: el => this.menuInnerEl = el }, h("slot", null)), h("ion-backdrop", { ref: el => this.backdropEl = el, class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
541
|
+
'menu-pane-visible': isPaneVisible,
|
542
|
+
} }, h("div", { class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", null)), h("ion-backdrop", { ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
536
543
|
}
|
537
544
|
get el() { return getElement(this); }
|
538
545
|
static get watchers() { return {
|