@sparkle-learning/core 0.0.57 → 0.0.58
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-f97245ce.js +217 -0
- package/dist/cjs/active-router-f9e18bd8.js +75 -0
- package/dist/cjs/animation-ee586546.js +986 -0
- package/dist/cjs/app-globals-33c9f31b.js +9 -0
- package/dist/cjs/appdata.service-c8d71e05.js +73 -0
- package/dist/cjs/assets.service-bfa75092.js +50 -0
- package/dist/cjs/assignment.service-690fb59c.js +19 -0
- package/dist/cjs/auth.store-1e630a7d.js +3392 -0
- package/dist/cjs/compass-svg.cjs.entry.js +132 -0
- package/dist/cjs/context-consumer.cjs.entry.js +29 -0
- package/dist/cjs/course-select.cjs.entry.js +30 -0
- package/dist/cjs/cubic-bezier-53d26d05.js +93 -0
- package/dist/cjs/dir-5af5259a.js +20 -0
- package/dist/cjs/environment-config.service-c8ff1f3d.js +28 -0
- package/dist/cjs/facilitator.service-ff0e1659.js +95 -0
- package/dist/cjs/feed.service-8eca4de6.js +57 -0
- package/dist/cjs/focus-visible-b0b07ba6.js +76 -0
- package/dist/cjs/framework-delegate-59a98abd.js +111 -0
- package/dist/cjs/gesture-controller-0eb5579e.js +196 -0
- package/dist/cjs/haptic-780f33c4.js +116 -0
- package/dist/cjs/hardware-back-button-92d97ff8.js +76 -0
- package/dist/cjs/header-mobile-collapse_61.cjs.entry.js +15124 -0
- package/dist/cjs/helpers-c2496722.js +425 -0
- package/dist/cjs/httpService-d2e7bf8f.js +687 -0
- package/dist/cjs/icons-fda820af.js +26 -0
- package/dist/cjs/index-12082cba.js +465 -0
- package/dist/cjs/index-15ea05f5.js +314 -0
- package/dist/cjs/index-51e8292e.js +1928 -0
- package/dist/cjs/index-787d4498.js +232 -0
- package/dist/cjs/index-8b5629a6.js +186 -0
- package/dist/cjs/index-975586fd.js +48 -0
- package/dist/cjs/index-9c7b27e4.js +140 -0
- package/dist/cjs/index-af080b50.js +139 -0
- package/dist/cjs/index-e56e09b8.js +38 -0
- package/dist/cjs/index.cjs.js +26 -0
- package/dist/cjs/index.es-38cbcdbe.js +10666 -0
- package/dist/cjs/input-shims-eff63b88.js +418 -0
- package/dist/cjs/ion-accordion-group.cjs.entry.js +205 -0
- package/dist/cjs/ion-accordion.cjs.entry.js +336 -0
- package/dist/cjs/ion-action-sheet_7.cjs.entry.js +2935 -0
- package/dist/cjs/ion-app.cjs.entry.js +79 -0
- package/dist/cjs/ion-back-button.cjs.entry.js +94 -0
- package/dist/cjs/ion-backdrop.cjs.entry.js +67 -0
- package/dist/cjs/ion-badge.cjs.entry.js +29 -0
- package/dist/cjs/ion-breadcrumb.cjs.entry.js +95 -0
- package/dist/cjs/ion-breadcrumbs.cjs.entry.js +133 -0
- package/dist/cjs/ion-buttons_3.cjs.entry.js +153 -0
- package/dist/cjs/ion-card-header.cjs.entry.js +37 -0
- package/dist/cjs/ion-card-subtitle.cjs.entry.js +30 -0
- package/dist/cjs/ion-card-title.cjs.entry.js +30 -0
- package/dist/cjs/ion-chip.cjs.entry.js +40 -0
- package/dist/cjs/ion-content_2.cjs.entry.js +659 -0
- package/dist/cjs/ion-datetime-button.cjs.entry.js +312 -0
- package/dist/cjs/ion-datetime.cjs.entry.js +1623 -0
- package/dist/cjs/ion-fab-button.cjs.entry.js +108 -0
- package/dist/cjs/ion-fab-list.cjs.entry.js +45 -0
- package/dist/cjs/ion-fab.cjs.entry.js +76 -0
- package/dist/cjs/ion-footer.cjs.entry.js +120 -0
- package/dist/cjs/ion-img.cjs.entry.js +101 -0
- package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +37 -0
- package/dist/cjs/ion-infinite-scroll.cjs.entry.js +206 -0
- package/dist/cjs/ion-item-divider.cjs.entry.js +40 -0
- package/dist/cjs/ion-item-group.cjs.entry.js +31 -0
- package/dist/cjs/ion-item-option.cjs.entry.js +60 -0
- package/dist/cjs/ion-item-options.cjs.entry.js +47 -0
- package/dist/cjs/ion-item-sliding.cjs.entry.js +398 -0
- package/dist/cjs/ion-loading.cjs.entry.js +215 -0
- package/dist/cjs/ion-menu-button.cjs.entry.js +76 -0
- package/dist/cjs/ion-menu-toggle.cjs.entry.js +47 -0
- package/dist/cjs/ion-menu.cjs.entry.js +575 -0
- package/dist/cjs/ion-modal.cjs.entry.js +1711 -0
- package/dist/cjs/ion-nav-link.cjs.entry.js +47 -0
- package/dist/cjs/ion-nav.cjs.entry.js +872 -0
- package/dist/cjs/ion-picker-column-internal_2.cjs.entry.js +808 -0
- package/dist/cjs/ion-picker-column.cjs.entry.js +331 -0
- package/dist/cjs/ion-picker.cjs.entry.js +221 -0
- package/dist/cjs/ion-progress-bar.cjs.entry.js +74 -0
- package/dist/cjs/ion-refresher-content.cjs.entry.js +35 -0
- package/dist/cjs/ion-refresher.cjs.entry.js +802 -0
- package/dist/cjs/ion-reorder-group.cjs.entry.js +281 -0
- package/dist/cjs/ion-reorder.cjs.entry.js +38 -0
- package/dist/cjs/ion-route-redirect.cjs.entry.js +24 -0
- package/dist/cjs/ion-route.cjs.entry.js +49 -0
- package/dist/cjs/ion-router-link.cjs.entry.js +38 -0
- package/dist/cjs/ion-router-outlet.cjs.entry.js +200 -0
- package/dist/cjs/ion-router.cjs.entry.js +831 -0
- package/dist/cjs/ion-searchbar.cjs.entry.js +370 -0
- package/dist/cjs/ion-segment-button.cjs.entry.js +102 -0
- package/dist/cjs/ion-segment.cjs.entry.js +417 -0
- package/dist/cjs/ion-skeleton-text.cjs.entry.js +33 -0
- package/dist/cjs/ion-slide.cjs.entry.js +25 -0
- package/dist/cjs/ion-slides.cjs.entry.js +391 -0
- package/dist/cjs/ion-split-pane.cjs.entry.js +154 -0
- package/dist/cjs/ion-tab-bar.cjs.entry.js +75 -0
- package/dist/cjs/ion-tab-button.cjs.entry.js +103 -0
- package/dist/cjs/ion-tab.cjs.entry.js +59 -0
- package/dist/cjs/ion-tabs.cjs.entry.js +154 -0
- package/dist/cjs/ion-thumbnail.cjs.entry.js +20 -0
- package/dist/cjs/ion-toast.cjs.entry.js +272 -0
- package/dist/cjs/ion-toggle.cjs.entry.js +177 -0
- package/dist/cjs/ion-virtual-scroll.cjs.entry.js +555 -0
- package/dist/cjs/ionic-global-2cde9d3a.js +231 -0
- package/dist/cjs/ios.transition-da235483.js +482 -0
- package/dist/cjs/keyboard-91096619.js +140 -0
- package/dist/cjs/loader.cjs.js +24 -0
- package/dist/cjs/localstorage.service-6346a41d.js +40 -0
- package/dist/cjs/md.transition-be429e07.js +57 -0
- package/dist/cjs/media.service-8a1b9bc5.js +40 -0
- package/dist/cjs/menu-toggle-util-7a01448c.js +14 -0
- package/dist/cjs/overlays-32df265a.js +507 -0
- package/dist/cjs/parse-d0071120.js +1237 -0
- package/dist/cjs/purify-fb9c107e.js +1468 -0
- package/dist/cjs/signalR.service-bd6b42f9.js +2985 -0
- package/dist/cjs/sparkle-animation-player.cjs.entry.js +515 -0
- package/dist/cjs/sparkle-assignment.cjs.entry.js +110 -0
- package/dist/cjs/sparkle-character-intro.cjs.entry.js +26 -0
- package/dist/cjs/sparkle-code.cjs.entry.js +43 -0
- package/dist/cjs/sparkle-compass-post.cjs.entry.js +133 -0
- package/dist/cjs/sparkle-compass.cjs.entry.js +126 -0
- package/dist/cjs/sparkle-core.cjs.js +22 -0
- package/dist/cjs/sparkle-discussion-questions_2.cjs.entry.js +281 -0
- package/dist/cjs/sparkle-discussion.cjs.entry.js +42 -0
- package/dist/cjs/sparkle-emoji.cjs.entry.js +80 -0
- package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +121 -0
- package/dist/cjs/sparkle-feed-post.cjs.entry.js +122 -0
- package/dist/cjs/sparkle-feedback.cjs.entry.js +101 -0
- package/dist/cjs/sparkle-file-upload.cjs.entry.js +53 -0
- package/dist/cjs/sparkle-goal-form.cjs.entry.js +179 -0
- package/dist/cjs/sparkle-gww-comment-list.cjs.entry.js +26 -0
- package/dist/cjs/sparkle-gww-graph.cjs.entry.js +19 -0
- package/dist/cjs/sparkle-input.cjs.entry.js +56 -0
- package/dist/cjs/sparkle-intro.cjs.entry.js +26 -0
- package/dist/cjs/sparkle-lower-content-nav.cjs.entry.js +22 -0
- package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +46 -0
- package/dist/cjs/sparkle-modal-image.cjs.entry.js +34 -0
- package/dist/cjs/sparkle-notfound-page.cjs.entry.js +25 -0
- package/dist/cjs/sparkle-overlay.cjs.entry.js +92 -0
- package/dist/cjs/sparkle-poll.cjs.entry.js +19 -0
- package/dist/cjs/sparkle-quiz-container.cjs.entry.js +47 -0
- package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +117 -0
- package/dist/cjs/sparkle-quiz-old.cjs.entry.js +120 -0
- package/dist/cjs/sparkle-quiz.cjs.entry.js +103 -0
- package/dist/cjs/sparkle-select.cjs.entry.js +61 -0
- package/dist/cjs/sparkle-sidebar.cjs.entry.js +43 -0
- package/dist/cjs/sparkle-tab.cjs.entry.js +26 -0
- package/dist/cjs/sparkle-table-of-contents.cjs.entry.js +71 -0
- package/dist/cjs/sparkle-tabs.cjs.entry.js +66 -0
- package/dist/cjs/sparkle-video-player.cjs.entry.js +22 -0
- package/dist/cjs/sparkle-youtube.cjs.entry.js +39 -0
- package/dist/cjs/spinner-configs-0ac05f2d.js +147 -0
- package/dist/cjs/status-tap-033befa2.js +42 -0
- package/dist/cjs/stencil-async-content.cjs.entry.js +32 -0
- package/dist/cjs/stencil-route-title.cjs.entry.js +32 -0
- package/dist/cjs/stencil-router-prompt.cjs.entry.js +59 -0
- package/dist/cjs/student.service-7e5385be.js +78 -0
- package/dist/cjs/swipe-back-4a826f9b.js +76 -0
- package/dist/cjs/swiper.bundle-8c897c07.js +6420 -0
- package/dist/cjs/theme-b0b295c1.js +48 -0
- package/dist/cjs/token.service-7a41953d.js +97 -0
- package/dist/cjs/util-47e320b2.js +2462 -0
- package/dist/collection/PrivateRoute.js +27 -0
- package/dist/collection/appconst.js +13 -0
- package/dist/collection/assets/img/forward.svg +5 -0
- package/dist/collection/assets/img/help/fitt-logo.svg +1 -0
- package/dist/collection/assets/img/home/big-white-wall.svg +15 -0
- package/dist/collection/assets/img/home/find-help.svg +23 -0
- package/dist/collection/assets/img/home/lessons.svg +26 -0
- package/dist/collection/assets/img/home/my-goals.svg +19 -0
- package/dist/collection/assets/img/home/my-health.svg +17 -0
- package/dist/collection/assets/img/home/my-mood.svg +26 -0
- package/dist/collection/assets/img/pause.svg +5 -0
- package/dist/collection/assets/img/play-symbol.svg +8 -0
- package/dist/collection/assets/img/play.svg +4 -0
- package/dist/collection/assets/img/rewind.svg +5 -0
- package/dist/collection/assets/lib/SignalRAspNetCoreHelper.js +17 -0
- package/dist/collection/assets/lib/sparkleUtility.js +8 -0
- package/dist/collection/assets/svg/profile.svg +2 -0
- package/dist/collection/collection-manifest.json +219 -0
- package/dist/collection/components/compass-svg/compass-svg.css +15 -0
- package/dist/collection/components/compass-svg/compass-svg.js +156 -0
- package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.css +7 -0
- package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.js +110 -0
- package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.css +3 -0
- package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.js +214 -0
- package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header-mobile-collapse/facilitator-header-mobile-collapse.js +0 -0
- package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header.css +172 -0
- package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header.js +104 -0
- package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.css +3 -0
- package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.js +144 -0
- package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.css +14 -0
- package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.js +64 -0
- package/dist/collection/components/layout/facilitator/facilitator-page.css +196 -0
- package/dist/collection/components/layout/facilitator/facilitator-page.js +281 -0
- package/dist/collection/components/layout/facilitator/online-students/online-students.css +0 -0
- package/dist/collection/components/layout/facilitator/online-students/online-students.js +70 -0
- package/dist/collection/components/layout/page/page.css +183 -0
- package/dist/collection/components/layout/page/page.js +321 -0
- package/dist/collection/components/layout/page/templates/default.js +9 -0
- package/dist/collection/components/layout/page/templates/error.js +33 -0
- package/dist/collection/components/layout/page/templates/index.js +8 -0
- package/dist/collection/components/layout/page/templates/pdf.js +8 -0
- package/dist/collection/components/layout/page/to-hypertext.js +27 -0
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.css +3 -0
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.js +252 -0
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.css +12 -0
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.js +59 -0
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.css +33 -0
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.js +37 -0
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.css +8 -0
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.js +40 -0
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.css +7 -0
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.js +52 -0
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-graph/sparkle-gww-graph.css +3 -0
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-graph/sparkle-gww-graph.js +14 -0
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.css +30 -0
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.js +187 -0
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.css +3 -0
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.js +43 -0
- package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.css +10 -0
- package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.js +111 -0
- package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.css +11 -0
- package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.js +127 -0
- package/dist/collection/components/modal-image/modal-image.css +61 -0
- package/dist/collection/components/modal-image/modal-image.js +159 -0
- package/dist/collection/components/sparkle-animation-player/assets/play-button-disabled-overlay.png +0 -0
- package/dist/collection/components/sparkle-animation-player/assets/play-button-overlay.png +0 -0
- package/dist/collection/components/sparkle-animation-player/caption-parser.js +94 -0
- package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.css +157 -0
- package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.js +598 -0
- package/dist/collection/components/sparkle-assignment/sparkle-assignment.css +30 -0
- package/dist/collection/components/sparkle-assignment/sparkle-assignment.js +159 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/character-img.jpg +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/jen.png +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/kimberly.png +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/valeria.png +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/yuna.png +0 -0
- package/dist/collection/components/sparkle-character-intro/assets/characters/zynab.png +0 -0
- package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.css +74 -0
- package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.js +68 -0
- package/dist/collection/components/sparkle-compass/sparkle-compass-post/sparkle-compass-post.css +35 -0
- package/dist/collection/components/sparkle-compass/sparkle-compass-post/sparkle-compass-post.js +171 -0
- package/dist/collection/components/sparkle-compass/sparkle-compass.css +25 -0
- package/dist/collection/components/sparkle-compass/sparkle-compass.js +283 -0
- package/dist/collection/components/sparkle-course-root/sparkle-course-root.css +3 -0
- package/dist/collection/components/sparkle-course-root/sparkle-course-root.js +196 -0
- package/dist/collection/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.css +157 -0
- package/dist/collection/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.js +232 -0
- package/dist/collection/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.css +158 -0
- package/dist/collection/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.js +274 -0
- package/dist/collection/components/sparkle-discussion/sparkle-discussion.css +5 -0
- package/dist/collection/components/sparkle-discussion/sparkle-discussion.js +112 -0
- package/dist/collection/components/sparkle-emoji/sparkle-emoji.css +16 -0
- package/dist/collection/components/sparkle-emoji/sparkle-emoji.js +116 -0
- package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.css +35 -0
- package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +199 -0
- package/dist/collection/components/sparkle-feedback/sparkle-feedback.css +3 -0
- package/dist/collection/components/sparkle-feedback/sparkle-feedback.js +118 -0
- package/dist/collection/components/sparkle-file-upload/sparkle-file-upload.css +0 -0
- package/dist/collection/components/sparkle-file-upload/sparkle-file-upload.js +105 -0
- package/dist/collection/components/sparkle-forgot-password/sparkle-forgot-password.css +4 -0
- package/dist/collection/components/sparkle-forgot-password/sparkle-forgot-password.js +107 -0
- package/dist/collection/components/sparkle-input/sparkle-input.css +0 -0
- package/dist/collection/components/sparkle-input/sparkle-input.js +212 -0
- package/dist/collection/components/sparkle-intro/sparkle-intro.css +15 -0
- package/dist/collection/components/sparkle-intro/sparkle-intro.js +35 -0
- package/dist/collection/components/sparkle-login/sparkle-login.css +4 -0
- package/dist/collection/components/sparkle-login/sparkle-login.js +173 -0
- package/dist/collection/components/sparkle-poll/sparkle-poll.css +3 -0
- package/dist/collection/components/sparkle-poll/sparkle-poll.js +15 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-feedback/sparkle-quiz-feedback.css +3 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-feedback/sparkle-quiz-feedback.js +69 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-input/sparkle-quiz-input.css +3 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-input/sparkle-quiz-input.js +59 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-old/sparkle-quiz-old.css +48 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-old/sparkle-quiz-old.js +327 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-opinion/sparkle-quiz-opinion.css +18 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-opinion/sparkle-quiz-opinion.js +106 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-poll/sparkle-quiz-poll.css +3 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-poll/sparkle-quiz-poll.js +59 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-select/sparkle-quiz-select.css +3 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-select/sparkle-quiz-select.js +100 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz.css +48 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz.js +221 -0
- package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.css +3 -0
- package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.js +98 -0
- package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.css +3 -0
- package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.js +126 -0
- package/dist/collection/components/sparkle-root/sparkle-root.css +61 -0
- package/dist/collection/components/sparkle-root/sparkle-root.js +86 -0
- package/dist/collection/components/sparkle-signup/sparkle-signup.css +6 -0
- package/dist/collection/components/sparkle-signup/sparkle-signup.js +197 -0
- package/dist/collection/components/sparkle-unauthorized/sparkle-unauthorized.css +13 -0
- package/dist/collection/components/sparkle-unauthorized/sparkle-unauthorized.js +18 -0
- package/dist/collection/components/sparkle-user-enrollment/sparkle-user-enrollment.css +3 -0
- package/dist/collection/components/sparkle-user-enrollment/sparkle-user-enrollment.js +93 -0
- package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.css +54 -0
- package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.js +151 -0
- package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.css +11 -0
- package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.js +44 -0
- package/dist/collection/components/sparkle-video-player/sparkle-video-player.css +0 -0
- package/dist/collection/components/sparkle-video-player/sparkle-video-player.js +92 -0
- package/dist/collection/components/sparkle-youtube/sparkle-youtube.css +24 -0
- package/dist/collection/components/sparkle-youtube/sparkle-youtube.js +99 -0
- package/dist/collection/global/app.js +4 -0
- package/dist/collection/helpers/utils.js +3 -0
- package/dist/collection/icons.js +36 -0
- package/dist/collection/index.js +3 -0
- package/dist/collection/l10n.js +18 -0
- package/dist/collection/models/api.model.js +7 -0
- package/dist/collection/models/assets.model.js +1 -0
- package/dist/collection/models/auth/auth.user.js +1 -0
- package/dist/collection/models/class.model.js +5 -0
- package/dist/collection/models/course.model.js +10 -0
- package/dist/collection/models/definitions.js +1 -0
- package/dist/collection/models/facilitator-dashboard.model.js +5 -0
- package/dist/collection/models/goal.model.js +1 -0
- package/dist/collection/models/index.js +1 -0
- package/dist/collection/models/markdown.model.js +1 -0
- package/dist/collection/models/page.model.js +1 -0
- package/dist/collection/models/quiz.model.js +3 -0
- package/dist/collection/models/user.model.js +1 -0
- package/dist/collection/pages/course/welcome-to-mind-body/introduction/animation/m4l1p1_part1.js +2727 -0
- package/dist/collection/pages/course/welcome-to-mind-body/introduction/animation/m4l1p1_part2.js +2042 -0
- package/dist/collection/services/account.service.js +61 -0
- package/dist/collection/services/appdata.service.js +60 -0
- package/dist/collection/services/assignment.service.js +14 -0
- package/dist/collection/services/auth/auth.service.js +64 -0
- package/dist/collection/services/core/assets.service.js +45 -0
- package/dist/collection/services/core/localstorage.service.js +34 -0
- package/dist/collection/services/environment/environment-config.js +24 -0
- package/dist/collection/services/environment/environment-config.service.js +24 -0
- package/dist/collection/services/facilitator.service.js +76 -0
- package/dist/collection/services/feed.service.js +43 -0
- package/dist/collection/services/httpService.js +103 -0
- package/dist/collection/services/index.js +4 -0
- package/dist/collection/services/media.service.js +29 -0
- package/dist/collection/services/signalR.service.js +83 -0
- package/dist/collection/services/store.service.js +13 -0
- package/dist/collection/services/student.service.js +56 -0
- package/dist/collection/services/token.service.js +79 -0
- package/dist/collection/stores/auth.store.js +12 -0
- package/dist/collection/stores/class.store.js +5 -0
- package/dist/collection/stores/error.store.js +5 -0
- package/dist/collection/stores/facilitator.store.js +15 -0
- package/dist/collection/stores/feed.store.js +8 -0
- package/dist/collection/stores/goal.store.js +7 -0
- package/dist/collection/stores/index.js +1 -0
- package/dist/collection/stores/media.store.js +5 -0
- package/dist/collection/stores/mood.store.js +5 -0
- package/dist/collection/stores/nav.store.js +11 -0
- package/dist/collection/stores/signalR.store.js +6 -0
- package/dist/collection/stores/theme.store.js +9 -0
- package/dist/collection/stores/toc.store.js +5 -0
- package/dist/collection/stores/user.store.js +16 -0
- package/dist/collection/util.js +55 -0
- package/dist/collection/utils.js +92 -0
- package/dist/esm/PrivateRoute-90ac95b8.js +212 -0
- package/dist/esm/active-router-fc9e4e06.js +73 -0
- package/dist/esm/animation-12377cb3.js +984 -0
- package/dist/esm/app-globals-3f0347b0.js +7 -0
- package/dist/esm/appdata.service-2e84e167.js +70 -0
- package/dist/esm/assets.service-def1d63c.js +48 -0
- package/dist/esm/assignment.service-8d31f141.js +17 -0
- package/dist/esm/auth.store-dba2c2da.js +3381 -0
- package/dist/esm/compass-svg.entry.js +128 -0
- package/dist/esm/context-consumer.entry.js +25 -0
- package/dist/esm/course-select.entry.js +26 -0
- package/dist/esm/dir-03012648.js +18 -0
- package/dist/esm/environment-config.service-b191f276.js +26 -0
- package/dist/esm/facilitator.service-18c47bdf.js +92 -0
- package/dist/esm/feed.service-b4f3cae4.js +54 -0
- package/dist/esm/framework-delegate-3e634a5c.js +107 -0
- package/dist/esm/gesture-controller-7be18351.js +194 -0
- package/dist/esm/haptic-522f76f2.js +110 -0
- package/dist/esm/header-mobile-collapse_61.entry.js +15060 -0
- package/dist/esm/helpers-bf0e23d6.js +403 -0
- package/dist/esm/httpService-7986aeed.js +685 -0
- package/dist/esm/icons-1c794c74.js +18 -0
- package/dist/esm/index-21661af2.js +463 -0
- package/dist/esm/index-2b84cad2.js +223 -0
- package/dist/esm/index-4044fde9.js +25 -0
- package/dist/esm/index-45fec1e7.js +184 -0
- package/dist/esm/index-5e8971ae.js +128 -0
- package/dist/esm/index-c04b9ed5.js +1888 -0
- package/dist/esm/index-cded2d87.js +312 -0
- package/dist/esm/index-dad75b83.js +34 -0
- package/dist/esm/index.es-e0c0f891.js +10580 -0
- package/dist/esm/index.js +12 -0
- package/dist/esm/input-shims-671d8d9f.js +416 -0
- package/dist/esm/ion-accordion-group.entry.js +201 -0
- package/dist/esm/ion-accordion.entry.js +332 -0
- package/dist/esm/ion-action-sheet_7.entry.js +2925 -0
- package/dist/esm/ion-app.entry.js +75 -0
- package/dist/esm/ion-back-button.entry.js +90 -0
- package/dist/esm/ion-backdrop.entry.js +63 -0
- package/dist/esm/ion-badge.entry.js +25 -0
- package/dist/esm/ion-breadcrumb.entry.js +91 -0
- package/dist/esm/ion-breadcrumbs.entry.js +129 -0
- package/dist/esm/ion-buttons_3.entry.js +147 -0
- package/dist/esm/ion-card-header.entry.js +33 -0
- package/dist/esm/ion-card-subtitle.entry.js +26 -0
- package/dist/esm/ion-card-title.entry.js +26 -0
- package/dist/esm/ion-chip.entry.js +36 -0
- package/dist/esm/ion-content_2.entry.js +654 -0
- package/dist/esm/ion-datetime-button.entry.js +308 -0
- package/dist/esm/ion-datetime.entry.js +1619 -0
- package/dist/esm/ion-fab-button.entry.js +104 -0
- package/dist/esm/ion-fab-list.entry.js +41 -0
- package/dist/esm/ion-fab.entry.js +72 -0
- package/dist/esm/ion-footer.entry.js +116 -0
- package/dist/esm/ion-img.entry.js +97 -0
- package/dist/esm/ion-infinite-scroll-content.entry.js +33 -0
- package/dist/esm/ion-infinite-scroll.entry.js +202 -0
- package/dist/esm/ion-item-divider.entry.js +36 -0
- package/dist/esm/ion-item-group.entry.js +27 -0
- package/dist/esm/ion-item-option.entry.js +56 -0
- package/dist/esm/ion-item-options.entry.js +43 -0
- package/dist/esm/ion-item-sliding.entry.js +394 -0
- package/dist/esm/ion-loading.entry.js +211 -0
- package/dist/esm/ion-menu-button.entry.js +72 -0
- package/dist/esm/ion-menu-toggle.entry.js +43 -0
- package/dist/esm/ion-menu.entry.js +571 -0
- package/dist/esm/ion-modal.entry.js +1707 -0
- package/dist/esm/ion-nav-link.entry.js +43 -0
- package/dist/esm/ion-nav.entry.js +868 -0
- package/dist/esm/ion-picker-column-internal_2.entry.js +803 -0
- package/dist/esm/ion-picker-column.entry.js +327 -0
- package/dist/esm/ion-picker.entry.js +217 -0
- package/dist/esm/ion-progress-bar.entry.js +70 -0
- package/dist/esm/ion-refresher-content.entry.js +31 -0
- package/dist/esm/ion-refresher.entry.js +798 -0
- package/dist/esm/ion-reorder-group.entry.js +277 -0
- package/dist/esm/ion-reorder.entry.js +34 -0
- package/dist/esm/ion-route-redirect.entry.js +20 -0
- package/dist/esm/ion-route.entry.js +45 -0
- package/dist/esm/ion-router-link.entry.js +34 -0
- package/dist/esm/ion-router-outlet.entry.js +196 -0
- package/dist/esm/ion-router.entry.js +827 -0
- package/dist/esm/ion-searchbar.entry.js +366 -0
- package/dist/esm/ion-segment-button.entry.js +98 -0
- package/dist/esm/ion-segment.entry.js +413 -0
- package/dist/esm/ion-skeleton-text.entry.js +29 -0
- package/dist/esm/ion-slide.entry.js +21 -0
- package/dist/esm/ion-slides.entry.js +387 -0
- package/dist/esm/ion-split-pane.entry.js +150 -0
- package/dist/esm/ion-tab-bar.entry.js +71 -0
- package/dist/esm/ion-tab-button.entry.js +99 -0
- package/dist/esm/ion-tab.entry.js +55 -0
- package/dist/esm/ion-tabs.entry.js +150 -0
- package/dist/esm/ion-thumbnail.entry.js +16 -0
- package/dist/esm/ion-toast.entry.js +268 -0
- package/dist/esm/ion-toggle.entry.js +173 -0
- package/dist/esm/ion-virtual-scroll.entry.js +551 -0
- package/dist/esm/ionic-global-4903e23e.js +226 -0
- package/dist/esm/ios.transition-131d64fe.js +479 -0
- package/dist/esm/loader.js +20 -0
- package/dist/esm/md.transition-f6126011.js +55 -0
- package/dist/esm/media.service-6e90bc41.js +37 -0
- package/dist/esm/menu-toggle-util-bace8ae6.js +12 -0
- package/dist/esm/overlays-4233a39d.js +491 -0
- package/dist/esm/parse-1ae3a9bb.js +1196 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/purify-85bfcc69.js +1466 -0
- package/dist/esm/signalR.service-c33fba50.js +2982 -0
- package/dist/esm/sparkle-animation-player.entry.js +511 -0
- package/dist/esm/sparkle-assignment.entry.js +106 -0
- package/dist/esm/sparkle-character-intro.entry.js +22 -0
- package/dist/esm/sparkle-code.entry.js +39 -0
- package/dist/esm/sparkle-compass-post.entry.js +129 -0
- package/dist/esm/sparkle-compass.entry.js +122 -0
- package/dist/esm/sparkle-core.js +20 -0
- package/dist/esm/sparkle-discussion-questions_2.entry.js +276 -0
- package/dist/esm/sparkle-discussion.entry.js +38 -0
- package/dist/esm/sparkle-emoji.entry.js +76 -0
- package/dist/esm/sparkle-facilitator-notes-form.entry.js +117 -0
- package/dist/esm/sparkle-feed-post.entry.js +118 -0
- package/dist/esm/sparkle-feedback.entry.js +97 -0
- package/dist/esm/sparkle-file-upload.entry.js +49 -0
- package/dist/esm/sparkle-goal-form.entry.js +175 -0
- package/dist/esm/sparkle-gww-comment-list.entry.js +22 -0
- package/dist/esm/sparkle-gww-graph.entry.js +15 -0
- package/dist/esm/sparkle-input.entry.js +52 -0
- package/dist/esm/sparkle-intro.entry.js +22 -0
- package/dist/esm/sparkle-lower-content-nav.entry.js +18 -0
- package/dist/esm/sparkle-menu-collapsible.entry.js +42 -0
- package/dist/esm/sparkle-modal-image.entry.js +30 -0
- package/dist/esm/sparkle-notfound-page.entry.js +21 -0
- package/dist/esm/sparkle-overlay.entry.js +88 -0
- package/dist/esm/sparkle-poll.entry.js +15 -0
- package/dist/esm/sparkle-quiz-container.entry.js +43 -0
- package/dist/esm/sparkle-quiz-feedback_5.entry.js +109 -0
- package/dist/esm/sparkle-quiz-old.entry.js +116 -0
- package/dist/esm/sparkle-quiz.entry.js +99 -0
- package/dist/esm/sparkle-select.entry.js +57 -0
- package/dist/esm/sparkle-sidebar.entry.js +39 -0
- package/dist/esm/sparkle-tab.entry.js +22 -0
- package/dist/esm/sparkle-table-of-contents.entry.js +67 -0
- package/dist/esm/sparkle-tabs.entry.js +62 -0
- package/dist/esm/sparkle-video-player.entry.js +18 -0
- package/dist/esm/sparkle-youtube.entry.js +35 -0
- package/dist/esm/status-tap-dde52787.js +40 -0
- package/dist/esm/stencil-async-content.entry.js +28 -0
- package/dist/esm/stencil-route-title.entry.js +28 -0
- package/dist/esm/stencil-router-prompt.entry.js +55 -0
- package/dist/esm/student.service-08af124f.js +75 -0
- package/dist/esm/swipe-back-7847a0c1.js +74 -0
- package/dist/esm/swiper.bundle-b6a959de.js +6418 -0
- package/dist/esm/token.service-71a5d33f.js +94 -0
- package/dist/esm/util-57cc8006.js +2451 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +3 -0
- package/dist/loader/index.cjs.js +3 -0
- package/dist/loader/index.d.ts +12 -0
- package/dist/loader/index.es2017.js +3 -0
- package/dist/loader/index.js +4 -0
- package/dist/loader/package.json +10 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.ios.css +75 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.md.css +72 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.ios.css +25 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.md.css +59 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.ios.css +357 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.md.css +290 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.ios.css +494 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.md.css +502 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/app/app.css +17 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.ios.css +22 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.md.css +22 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.ios.css +281 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.md.css +309 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.ios.css +26 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.md.css +26 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.ios.css +58 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.md.css +62 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.ios.css +234 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.md.css +237 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +38 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.md.css +37 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/button/button.ios.css +439 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/button/button.md.css +428 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.ios.css +128 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.md.css +151 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card/card.ios.css +101 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card/card.md.css +95 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.ios.css +61 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.md.css +63 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.ios.css +37 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.md.css +35 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.ios.css +28 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.md.css +26 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.ios.css +27 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.md.css +27 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.ios.css +169 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.md.css +172 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.ios.css +200 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.md.css +200 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/col/col.css +108 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +237 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +648 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +637 -0
- 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/fab/fab.css +61 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.ios.css +338 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.md.css +307 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.css +116 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.ios.css +37 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.md.css +37 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/grid/grid.css +151 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/header/header.ios.css +108 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/header/header.md.css +40 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/img/img.css +12 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.css +8 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +54 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +54 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/input/input.ios.css +185 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/input/input.md.css +185 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +669 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +928 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.ios.css +204 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.md.css +297 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.ios.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.md.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +186 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +180 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css +88 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css +85 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item-sliding/item-sliding.css +42 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +156 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.md.css +250 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list/list.ios.css +91 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list/list.md.css +114 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.ios.css +118 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.md.css +94 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +109 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +100 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +127 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +123 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.ios.css +175 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.md.css +178 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-toggle/menu-toggle.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +250 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +177 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/nav/nav.css +10 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/note/note.ios.css +16 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/note/note.md.css +17 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.ios.css +217 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.md.css +204 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.ios.css +122 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.md.css +123 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +82 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +85 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +126 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +122 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.ios.css +201 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.md.css +132 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.ios.css +206 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.md.css +206 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.ios.css +177 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.md.css +178 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +275 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +320 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.ios.css +189 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.md.css +210 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.ios.css +15 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.md.css +15 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder-group/reorder-group.css +33 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/ripple-effect/ripple-effect.css +58 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/router-link/router-link.css +29 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/router-outlet/route-outlet.css +10 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/row/row.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.ios.css +348 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.md.css +279 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css +65 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.md.css +36 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.ios.css +446 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.md.css +424 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select/select.ios.css +145 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select/select.md.css +177 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select-option/select-option.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.ios.css +14 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.md.css +37 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/skeleton-text/skeleton-text.css +53 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/slide/slide.css +31 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.ios.css +764 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.md.css +764 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +167 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.ios.css +108 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.md.css +108 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab/tab.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.ios.css +97 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.md.css +82 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.ios.css +308 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.md.css +331 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/tabs/tabs.css +19 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/text/text.css +3 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +175 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +179 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/thumbnail/thumbnail.css +21 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/title/title.ios.css +122 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/title/title.md.css +55 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.ios.css +262 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.md.css +295 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +286 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +261 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.ios.css +175 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.md.css +168 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/virtual-scroll/virtual-scroll.css +21 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/button/button.css +49 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/card/card.css +208 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/cards.css +31 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/code/code.css +245 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/dropdown/dropdown.css +115 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header-mobile-collapse/header-mobile-collapse.css +255 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header.css +232 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/collapsible/collapsible.css +3 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu-toggle/menu-toggle.css +25 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu.css +71 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/nav/nav.css +194 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/notfound-page/notfound-page.css +4 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/overlay/overlay.css +67 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/page-footer/page-footer.css +25 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/pagination/pagination.css +93 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/select/select.css +52 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sidebar/sidebar.css +98 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sparkle-lower-content-nav/sparkle-lower-content-nav.css +8 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/table-of-contents/table-of-contents.css +37 -0
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/tabs/tabs.css +64 -0
- package/dist/node_modules/@stencil/router/dist/collection/components/route/route.css +3 -0
- package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +101 -0
- package/dist/sparkle-core/index.esm.js +1 -19
- package/dist/sparkle-core/p-00d10dc9.js +4 -0
- package/dist/sparkle-core/p-0147266a.js +1 -0
- package/dist/sparkle-core/p-04c7b276.entry.js +1 -0
- package/dist/sparkle-core/p-05c032dd.js +4 -0
- package/dist/sparkle-core/p-06642405.entry.js +1 -0
- package/dist/sparkle-core/p-0664370b.entry.js +1 -0
- package/dist/sparkle-core/p-06c7d0f2.entry.js +1 -0
- package/dist/sparkle-core/p-076f0239.js +4 -0
- package/dist/sparkle-core/p-077c732b.js +4 -0
- package/dist/sparkle-core/p-08420531.entry.js +1 -0
- package/dist/sparkle-core/p-0ad5c123.entry.js +1 -0
- package/dist/sparkle-core/p-0afa3a4d.entry.js +1 -0
- package/dist/sparkle-core/p-0c3f3ea6.entry.js +1 -0
- package/dist/sparkle-core/p-0e4de1d0.js +4 -0
- package/dist/sparkle-core/p-0e8e539f.entry.js +1 -0
- package/dist/sparkle-core/p-11356b03.entry.js +1 -0
- package/dist/sparkle-core/p-11a6c175.entry.js +1 -0
- package/dist/sparkle-core/p-12dd96d7.js +4 -0
- package/dist/sparkle-core/p-13ec39db.entry.js +1 -0
- package/dist/sparkle-core/p-1adc98f6.js +1 -0
- package/dist/sparkle-core/p-1b1ba156.entry.js +1 -0
- package/dist/sparkle-core/p-1e125ca5.entry.js +1 -0
- package/dist/sparkle-core/p-1e4782af.entry.js +1 -0
- package/dist/sparkle-core/p-2033cd86.js +7 -0
- package/dist/sparkle-core/p-214d1229.entry.js +1 -0
- package/dist/sparkle-core/p-23aca7ca.js +4 -0
- package/dist/sparkle-core/p-24cb9a33.entry.js +1 -0
- package/dist/sparkle-core/p-27fbabc3.entry.js +1 -0
- package/dist/sparkle-core/p-2ba70507.entry.js +1 -0
- package/dist/sparkle-core/p-2c1ca854.entry.js +1 -0
- package/dist/sparkle-core/p-2caed39f.entry.js +1 -0
- package/dist/sparkle-core/p-2d9659e2.entry.js +1 -0
- package/dist/sparkle-core/p-2f569553.js +1 -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-352677e6.entry.js +1 -0
- package/dist/sparkle-core/p-38b7cf68.entry.js +1 -0
- package/dist/sparkle-core/p-38c842d5.entry.js +1 -0
- package/dist/sparkle-core/p-3963e02b.entry.js +1 -0
- package/dist/sparkle-core/p-39712c56.entry.js +4 -0
- package/dist/sparkle-core/p-39a31e43.js +1 -0
- package/dist/sparkle-core/p-3daf2915.entry.js +352 -0
- package/dist/sparkle-core/p-3de0e00c.js +4 -0
- package/dist/sparkle-core/p-4053ecdb.entry.js +1 -0
- package/dist/sparkle-core/p-408176ba.js +1 -0
- package/dist/sparkle-core/p-42ed7d5f.entry.js +1 -0
- package/dist/sparkle-core/p-48f72e63.js +4 -0
- package/dist/sparkle-core/p-4b4a8703.js +1 -0
- package/dist/sparkle-core/p-4c6a7e52.js +1 -0
- package/dist/sparkle-core/p-4d1cfcbe.entry.js +1 -0
- package/dist/sparkle-core/p-4d4077ea.js +4 -0
- package/dist/sparkle-core/p-4fba3e4c.js +1 -0
- package/dist/sparkle-core/p-506221fe.js +4 -0
- package/dist/sparkle-core/p-5096739e.entry.js +1 -0
- package/dist/sparkle-core/p-5322c920.entry.js +1 -0
- package/dist/sparkle-core/p-5893bbe5.entry.js +1 -0
- package/dist/sparkle-core/p-594a6982.entry.js +1 -0
- package/dist/sparkle-core/p-5c435d5a.entry.js +1 -0
- package/dist/sparkle-core/p-5cad23f1.js +3 -0
- package/dist/sparkle-core/p-5d409601.js +1 -0
- package/dist/sparkle-core/p-601397df.entry.js +1 -0
- package/dist/sparkle-core/p-604a7987.js +4 -0
- package/dist/sparkle-core/p-616941c6.entry.js +1 -0
- package/dist/sparkle-core/p-6316d124.entry.js +1 -0
- package/dist/sparkle-core/p-63f71ada.entry.js +1 -0
- package/dist/sparkle-core/p-69487d90.entry.js +1 -0
- package/dist/sparkle-core/p-6bde0192.entry.js +7 -0
- package/dist/sparkle-core/p-6d2f4093.entry.js +7 -0
- package/dist/sparkle-core/p-6ffd2420.entry.js +1 -0
- package/dist/sparkle-core/p-72053ae0.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-7dae0f0e.js +1 -0
- package/dist/sparkle-core/p-7dbfc316.js +1 -0
- package/dist/sparkle-core/p-7e7ce516.js +4 -0
- package/dist/sparkle-core/p-81714d94.entry.js +1 -0
- 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-85d4cd5c.entry.js +1 -0
- package/dist/sparkle-core/p-865f36a8.entry.js +1 -0
- package/dist/sparkle-core/p-86ed13f0.js +5 -0
- package/dist/sparkle-core/p-871106e0.js +4 -0
- package/dist/sparkle-core/p-894ff7e6.entry.js +1 -0
- package/dist/sparkle-core/p-8a41b502.entry.js +1 -0
- package/dist/sparkle-core/p-8b56f734.js +1 -0
- package/dist/sparkle-core/p-8c74cbb6.entry.js +1 -0
- package/dist/sparkle-core/p-924b2917.js +4 -0
- package/dist/sparkle-core/p-9289cdbc.entry.js +1 -0
- package/dist/sparkle-core/p-957715c5.entry.js +1 -0
- package/dist/sparkle-core/p-973fe404.entry.js +22 -0
- package/dist/sparkle-core/p-975b99ee.entry.js +1 -0
- package/dist/sparkle-core/p-98daeddb.entry.js +1 -0
- package/dist/sparkle-core/p-99ee9919.js +1 -0
- package/dist/sparkle-core/p-9abbd715.entry.js +1 -0
- package/dist/sparkle-core/p-9d894ed4.js +4 -0
- package/dist/sparkle-core/p-9e309b3e.entry.js +1 -0
- package/dist/sparkle-core/p-9e7fee8f.entry.js +1 -0
- package/dist/sparkle-core/p-9ebf0537.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-a2ebcf0a.entry.js +1 -0
- package/dist/sparkle-core/p-a98d7ebe.entry.js +1 -0
- package/dist/sparkle-core/p-add30d46.js +4 -0
- package/dist/sparkle-core/p-b0603d19.js +16 -0
- package/dist/sparkle-core/p-b06e2bef.js +1 -0
- 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-b6fec622.entry.js +1 -0
- package/dist/sparkle-core/p-b8d71ff4.js +1 -0
- package/dist/sparkle-core/p-b96f3c84.entry.js +7 -0
- package/dist/sparkle-core/p-bd80ff43.js +4 -0
- package/dist/sparkle-core/p-bd90903e.js +1 -0
- package/dist/sparkle-core/p-be64105c.entry.js +1 -0
- package/dist/sparkle-core/p-c0533c23.entry.js +1 -0
- package/dist/sparkle-core/p-c2990b24.entry.js +1 -0
- package/dist/sparkle-core/p-c3cadfc6.entry.js +1 -0
- package/dist/sparkle-core/p-c60b29bd.entry.js +4 -0
- package/dist/sparkle-core/p-c64a34cd.entry.js +1 -0
- package/dist/sparkle-core/p-c7e21070.entry.js +1 -0
- package/dist/sparkle-core/p-c9f753a4.js +1 -0
- package/dist/sparkle-core/p-cabe9139.js +1 -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-cffd4817.entry.js +1 -0
- package/dist/sparkle-core/p-d0adf726.entry.js +1 -0
- package/dist/sparkle-core/p-d20e4fcf.entry.js +1 -0
- 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-d601810e.entry.js +1 -0
- package/dist/sparkle-core/p-d68092b7.js +4 -0
- package/dist/sparkle-core/p-da391f3f.js +1 -0
- package/dist/sparkle-core/p-de4deb61.entry.js +1 -0
- package/dist/sparkle-core/p-e0cad1bb.js +1 -0
- package/dist/sparkle-core/p-e249aebf.entry.js +1 -0
- package/dist/sparkle-core/p-e3e36ce9.entry.js +1 -0
- package/dist/sparkle-core/p-e421d638.entry.js +1 -0
- package/dist/sparkle-core/p-e686d8b5.entry.js +4 -0
- package/dist/sparkle-core/p-e8988989.entry.js +1 -0
- 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-ebd4354b.entry.js +1 -0
- package/dist/sparkle-core/p-ee1e0eb4.js +2 -0
- package/dist/sparkle-core/p-ef4edc48.entry.js +4 -0
- package/dist/sparkle-core/p-f196c124.entry.js +7 -0
- package/dist/sparkle-core/p-f3cba72a.js +4 -0
- package/dist/sparkle-core/p-f47fe1fe.entry.js +1 -0
- package/dist/sparkle-core/p-f714f77a.entry.js +1 -0
- package/dist/sparkle-core/p-f891c79a.entry.js +1 -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-fd8d0738.entry.js +4 -0
- package/dist/sparkle-core/p-fda95b6e.entry.js +1 -0
- package/dist/sparkle-core/p-fe6dc976.entry.js +1 -0
- package/dist/sparkle-core/p-ff080f82.entry.js +10 -0
- package/dist/sparkle-core/p-ff7a8a71.js +4 -0
- package/dist/sparkle-core/sparkle-core.css +1 -2660
- package/dist/sparkle-core/sparkle-core.esm.js +1 -130
- package/package.json +1 -1
- package/dist/sparkle-core/PrivateRoute-a12e7ee5.js +0 -37
- package/dist/sparkle-core/account.service-e711795d.js +0 -63
- package/dist/sparkle-core/active-router-af86c9b4.js +0 -73
- package/dist/sparkle-core/animation-676a644d.js +0 -984
- package/dist/sparkle-core/app-globals-9ffa9ec3.js +0 -10
- package/dist/sparkle-core/appdata.service-703dff70.js +0 -69
- package/dist/sparkle-core/assets/user.png +0 -0
- package/dist/sparkle-core/assets.service-6508aae6.js +0 -71
- package/dist/sparkle-core/assignment.service-e42e9368.js +0 -17
- package/dist/sparkle-core/button-active-d68c5eb7.js +0 -67
- package/dist/sparkle-core/compass-svg.entry.js +0 -128
- package/dist/sparkle-core/context-consumer.entry.js +0 -25
- package/dist/sparkle-core/course-select.entry.js +0 -26
- package/dist/sparkle-core/css-shim-04165e59.js +0 -4
- package/dist/sparkle-core/dom-26e7cb2c.js +0 -73
- package/dist/sparkle-core/dom-utils-8e73e88b.js +0 -55
- package/dist/sparkle-core/facilitator.service-00a88935.js +0 -79
- package/dist/sparkle-core/facilitator.store-01be0386.js +0 -18
- package/dist/sparkle-core/feed.service-d495f3e1.js +0 -53
- package/dist/sparkle-core/framework-delegate-d3fa493f.js +0 -107
- package/dist/sparkle-core/haptic-a9e94599.js +0 -124
- package/dist/sparkle-core/header-mobile-collapse.entry.js +0 -86
- package/dist/sparkle-core/helpers-f11f0674.js +0 -406
- package/dist/sparkle-core/icons-758d1417.js +0 -41
- package/dist/sparkle-core/index-05b398c2.js +0 -34
- package/dist/sparkle-core/index-0af0deac.js +0 -312
- package/dist/sparkle-core/index-0df264ee.js +0 -4518
- package/dist/sparkle-core/index-183cda39.js +0 -223
- package/dist/sparkle-core/index-18a69883.js +0 -1336
- package/dist/sparkle-core/index-1d7a6fa0.js +0 -269
- package/dist/sparkle-core/index-1dec9544.js +0 -3064
- package/dist/sparkle-core/index-81dab78f.js +0 -85
- package/dist/sparkle-core/index-9b5bcea1.js +0 -22
- package/dist/sparkle-core/index-bb469fe3.js +0 -128
- package/dist/sparkle-core/index-d2990a48.js +0 -184
- package/dist/sparkle-core/index-dd414b33.js +0 -653
- package/dist/sparkle-core/index-faeec85a.js +0 -8
- package/dist/sparkle-core/index.es-1f6eedc5.js +0 -11066
- package/dist/sparkle-core/input-shims-0b2f5522.js +0 -418
- package/dist/sparkle-core/ion-accordion-group.entry.js +0 -201
- package/dist/sparkle-core/ion-accordion.entry.js +0 -332
- package/dist/sparkle-core/ion-action-sheet.entry.js +0 -263
- package/dist/sparkle-core/ion-alert.entry.js +0 -448
- package/dist/sparkle-core/ion-app.entry.js +0 -75
- package/dist/sparkle-core/ion-avatar.entry.js +0 -21
- package/dist/sparkle-core/ion-back-button.entry.js +0 -90
- package/dist/sparkle-core/ion-backdrop.entry.js +0 -63
- package/dist/sparkle-core/ion-badge.entry.js +0 -25
- package/dist/sparkle-core/ion-breadcrumb.entry.js +0 -91
- package/dist/sparkle-core/ion-breadcrumbs.entry.js +0 -129
- package/dist/sparkle-core/ion-button.entry.js +0 -125
- package/dist/sparkle-core/ion-buttons.entry.js +0 -38
- package/dist/sparkle-core/ion-card-content.entry.js +0 -26
- package/dist/sparkle-core/ion-card-header.entry.js +0 -33
- package/dist/sparkle-core/ion-card-subtitle.entry.js +0 -26
- package/dist/sparkle-core/ion-card-title.entry.js +0 -26
- package/dist/sparkle-core/ion-card.entry.js +0 -64
- package/dist/sparkle-core/ion-checkbox.entry.js +0 -109
- package/dist/sparkle-core/ion-chip.entry.js +0 -36
- package/dist/sparkle-core/ion-col.entry.js +0 -121
- package/dist/sparkle-core/ion-content.entry.js +0 -319
- package/dist/sparkle-core/ion-datetime-button.entry.js +0 -308
- package/dist/sparkle-core/ion-datetime.entry.js +0 -1619
- package/dist/sparkle-core/ion-fab-button.entry.js +0 -104
- package/dist/sparkle-core/ion-fab-list.entry.js +0 -41
- package/dist/sparkle-core/ion-fab.entry.js +0 -72
- package/dist/sparkle-core/ion-footer.entry.js +0 -116
- package/dist/sparkle-core/ion-grid.entry.js +0 -24
- package/dist/sparkle-core/ion-header.entry.js +0 -341
- package/dist/sparkle-core/ion-icon.entry.js +0 -200
- package/dist/sparkle-core/ion-img.entry.js +0 -97
- package/dist/sparkle-core/ion-infinite-scroll-content.entry.js +0 -33
- package/dist/sparkle-core/ion-infinite-scroll.entry.js +0 -202
- package/dist/sparkle-core/ion-input.entry.js +0 -293
- package/dist/sparkle-core/ion-item-divider.entry.js +0 -36
- package/dist/sparkle-core/ion-item-group.entry.js +0 -27
- package/dist/sparkle-core/ion-item-option.entry.js +0 -56
- package/dist/sparkle-core/ion-item-options.entry.js +0 -43
- package/dist/sparkle-core/ion-item-sliding.entry.js +0 -394
- package/dist/sparkle-core/ion-item.entry.js +0 -267
- package/dist/sparkle-core/ion-label.entry.js +0 -77
- package/dist/sparkle-core/ion-list-header.entry.js +0 -27
- package/dist/sparkle-core/ion-list.entry.js +0 -48
- package/dist/sparkle-core/ion-loading.entry.js +0 -211
- package/dist/sparkle-core/ion-menu-button.entry.js +0 -72
- package/dist/sparkle-core/ion-menu-toggle.entry.js +0 -43
- package/dist/sparkle-core/ion-menu.entry.js +0 -575
- package/dist/sparkle-core/ion-modal.entry.js +0 -1706
- package/dist/sparkle-core/ion-nav-link.entry.js +0 -43
- package/dist/sparkle-core/ion-nav.entry.js +0 -872
- package/dist/sparkle-core/ion-note.entry.js +0 -25
- package/dist/sparkle-core/ion-picker-column-internal.entry.js +0 -363
- package/dist/sparkle-core/ion-picker-column.entry.js +0 -327
- package/dist/sparkle-core/ion-picker-internal.entry.js +0 -454
- package/dist/sparkle-core/ion-picker.entry.js +0 -217
- package/dist/sparkle-core/ion-popover.entry.js +0 -1362
- package/dist/sparkle-core/ion-progress-bar.entry.js +0 -70
- package/dist/sparkle-core/ion-radio-group.entry.js +0 -121
- package/dist/sparkle-core/ion-radio.entry.js +0 -111
- package/dist/sparkle-core/ion-range.entry.js +0 -511
- package/dist/sparkle-core/ion-refresher-content.entry.js +0 -31
- package/dist/sparkle-core/ion-refresher.entry.js +0 -798
- package/dist/sparkle-core/ion-reorder-group.entry.js +0 -277
- package/dist/sparkle-core/ion-reorder.entry.js +0 -34
- package/dist/sparkle-core/ion-ripple-effect.entry.js +0 -89
- package/dist/sparkle-core/ion-route-redirect.entry.js +0 -20
- package/dist/sparkle-core/ion-route.entry.js +0 -45
- package/dist/sparkle-core/ion-router-link.entry.js +0 -34
- package/dist/sparkle-core/ion-router-outlet.entry.js +0 -196
- package/dist/sparkle-core/ion-router.entry.js +0 -827
- package/dist/sparkle-core/ion-row.entry.js +0 -16
- package/dist/sparkle-core/ion-searchbar.entry.js +0 -366
- package/dist/sparkle-core/ion-segment-button.entry.js +0 -98
- package/dist/sparkle-core/ion-segment.entry.js +0 -415
- package/dist/sparkle-core/ion-select-option.entry.js +0 -23
- package/dist/sparkle-core/ion-select-popover.entry.js +0 -96
- package/dist/sparkle-core/ion-select.entry.js +0 -510
- package/dist/sparkle-core/ion-skeleton-text.entry.js +0 -29
- package/dist/sparkle-core/ion-slide.entry.js +0 -21
- package/dist/sparkle-core/ion-slides.entry.js +0 -387
- package/dist/sparkle-core/ion-spinner.entry.js +0 -60
- package/dist/sparkle-core/ion-split-pane.entry.js +0 -156
- package/dist/sparkle-core/ion-tab-bar.entry.js +0 -71
- package/dist/sparkle-core/ion-tab-button.entry.js +0 -99
- package/dist/sparkle-core/ion-tab.entry.js +0 -63
- package/dist/sparkle-core/ion-tabs.entry.js +0 -150
- package/dist/sparkle-core/ion-text.entry.js +0 -20
- package/dist/sparkle-core/ion-textarea.entry.js +0 -244
- package/dist/sparkle-core/ion-thumbnail.entry.js +0 -16
- package/dist/sparkle-core/ion-title.entry.js +0 -48
- package/dist/sparkle-core/ion-toast.entry.js +0 -268
- package/dist/sparkle-core/ion-toggle.entry.js +0 -173
- package/dist/sparkle-core/ion-toolbar.entry.js +0 -70
- package/dist/sparkle-core/ion-virtual-scroll.entry.js +0 -551
- package/dist/sparkle-core/ionic-global-127576f6.js +0 -226
- package/dist/sparkle-core/ios.transition-02531dda.js +0 -479
- package/dist/sparkle-core/location-utils-fea12957.js +0 -229
- package/dist/sparkle-core/match-path-760e1797.js +0 -343
- package/dist/sparkle-core/md.transition-f8765467.js +0 -55
- package/dist/sparkle-core/media.service-2609406e.js +0 -36
- package/dist/sparkle-core/menu-toggle-util-6cc13cbd.js +0 -12
- package/dist/sparkle-core/overlays-fd3cfa13.js +0 -493
- package/dist/sparkle-core/parse-60474840.js +0 -1196
- package/dist/sparkle-core/purify-d9093094.js +0 -1469
- package/dist/sparkle-core/quiz.model-1cff62e4.js +0 -5
- package/dist/sparkle-core/shadow-css-1257b266.js +0 -387
- package/dist/sparkle-core/signalR.service-2b7645c1.js +0 -2983
- package/dist/sparkle-core/sparkle-animation-player.entry.js +0 -513
- package/dist/sparkle-core/sparkle-assignment.entry.js +0 -114
- package/dist/sparkle-core/sparkle-button.entry.js +0 -24
- package/dist/sparkle-core/sparkle-card.entry.js +0 -61
- package/dist/sparkle-core/sparkle-cards.entry.js +0 -15
- package/dist/sparkle-core/sparkle-character-intro.entry.js +0 -22
- package/dist/sparkle-core/sparkle-code.entry.js +0 -39
- package/dist/sparkle-core/sparkle-compass-post.entry.js +0 -129
- package/dist/sparkle-core/sparkle-compass.entry.js +0 -122
- package/dist/sparkle-core/sparkle-course-root.entry.js +0 -155
- package/dist/sparkle-core/sparkle-discussion-questions.entry.js +0 -122
- package/dist/sparkle-core/sparkle-discussion-results.entry.js +0 -189
- package/dist/sparkle-core/sparkle-discussion.entry.js +0 -52
- package/dist/sparkle-core/sparkle-dropdown.entry.js +0 -57
- package/dist/sparkle-core/sparkle-emoji.entry.js +0 -77
- package/dist/sparkle-core/sparkle-export-lessons.entry.js +0 -10081
- package/dist/sparkle-core/sparkle-facilitator-dashboard.entry.js +0 -93
- package/dist/sparkle-core/sparkle-facilitator-header.entry.js +0 -60
- package/dist/sparkle-core/sparkle-facilitator-notes-form.entry.js +0 -160
- package/dist/sparkle-core/sparkle-facilitator-notes.entry.js +0 -65
- package/dist/sparkle-core/sparkle-facilitator-page.entry.js +0 -198
- package/dist/sparkle-core/sparkle-feed-post.entry.js +0 -131
- package/dist/sparkle-core/sparkle-feedback.entry.js +0 -106
- package/dist/sparkle-core/sparkle-file-upload.entry.js +0 -57
- package/dist/sparkle-core/sparkle-forgot-password.entry.js +0 -80
- package/dist/sparkle-core/sparkle-goal-form.entry.js +0 -182
- package/dist/sparkle-core/sparkle-goal-item.entry.js +0 -15
- package/dist/sparkle-core/sparkle-goal-progress.entry.js +0 -15
- package/dist/sparkle-core/sparkle-goals.entry.js +0 -47
- package/dist/sparkle-core/sparkle-gww-comment-list.entry.js +0 -22
- package/dist/sparkle-core/sparkle-gww-graph.entry.js +0 -15
- package/dist/sparkle-core/sparkle-gww-item.entry.js +0 -80
- package/dist/sparkle-core/sparkle-gww.entry.js +0 -44
- package/dist/sparkle-core/sparkle-header.entry.js +0 -97
- package/dist/sparkle-core/sparkle-health.entry.js +0 -70
- package/dist/sparkle-core/sparkle-input.entry.js +0 -52
- package/dist/sparkle-core/sparkle-intro.entry.js +0 -22
- package/dist/sparkle-core/sparkle-login.entry.js +0 -116
- package/dist/sparkle-core/sparkle-lower-content-nav.entry.js +0 -18
- package/dist/sparkle-core/sparkle-menu-collapsible.entry.js +0 -42
- package/dist/sparkle-core/sparkle-menu-toggle.entry.js +0 -24
- package/dist/sparkle-core/sparkle-menu.entry.js +0 -26
- package/dist/sparkle-core/sparkle-modal-image.entry.js +0 -33
- package/dist/sparkle-core/sparkle-mood.entry.js +0 -76
- package/dist/sparkle-core/sparkle-nav.entry.js +0 -113
- package/dist/sparkle-core/sparkle-notfound-page.entry.js +0 -25
- package/dist/sparkle-core/sparkle-online-students.entry.js +0 -55
- package/dist/sparkle-core/sparkle-overlay.entry.js +0 -90
- package/dist/sparkle-core/sparkle-page-footer.entry.js +0 -24
- package/dist/sparkle-core/sparkle-page.entry.js +0 -245
- package/dist/sparkle-core/sparkle-pagination.entry.js +0 -67
- package/dist/sparkle-core/sparkle-poll.entry.js +0 -15
- package/dist/sparkle-core/sparkle-quiz-container.entry.js +0 -43
- package/dist/sparkle-core/sparkle-quiz-feedback.entry.js +0 -18
- package/dist/sparkle-core/sparkle-quiz-input.entry.js +0 -16
- package/dist/sparkle-core/sparkle-quiz-old.entry.js +0 -116
- package/dist/sparkle-core/sparkle-quiz-opinion.entry.js +0 -41
- package/dist/sparkle-core/sparkle-quiz-poll.entry.js +0 -16
- package/dist/sparkle-core/sparkle-quiz-select.entry.js +0 -29
- package/dist/sparkle-core/sparkle-quiz.entry.js +0 -98
- package/dist/sparkle-core/sparkle-reset-password.entry.js +0 -96
- package/dist/sparkle-core/sparkle-root.entry.js +0 -79
- package/dist/sparkle-core/sparkle-select.entry.js +0 -57
- package/dist/sparkle-core/sparkle-sidebar.entry.js +0 -39
- package/dist/sparkle-core/sparkle-signup.entry.js +0 -144
- package/dist/sparkle-core/sparkle-tab.entry.js +0 -22
- package/dist/sparkle-core/sparkle-table-of-contents.entry.js +0 -67
- package/dist/sparkle-core/sparkle-tabs.entry.js +0 -62
- package/dist/sparkle-core/sparkle-unauthorized.entry.js +0 -17
- package/dist/sparkle-core/sparkle-user-enrollment.entry.js +0 -85
- package/dist/sparkle-core/sparkle-user-profile.entry.js +0 -129
- package/dist/sparkle-core/sparkle-validation-error.entry.js +0 -17
- package/dist/sparkle-core/sparkle-video-player.entry.js +0 -18
- package/dist/sparkle-core/sparkle-youtube.entry.js +0 -35
- package/dist/sparkle-core/status-tap-52feb1b1.js +0 -40
- package/dist/sparkle-core/stencil-async-content.entry.js +0 -28
- package/dist/sparkle-core/stencil-route-link.entry.js +0 -74
- package/dist/sparkle-core/stencil-route-switch.entry.js +0 -100
- package/dist/sparkle-core/stencil-route-title.entry.js +0 -28
- package/dist/sparkle-core/stencil-route.entry.js +0 -93
- package/dist/sparkle-core/stencil-router-prompt.entry.js +0 -55
- package/dist/sparkle-core/stencil-router-redirect.entry.js +0 -28
- package/dist/sparkle-core/stencil-router.entry.js +0 -636
- package/dist/sparkle-core/store.service-0f7d998b.js +0 -16
- package/dist/sparkle-core/student.service-f0375229.js +0 -59
- package/dist/sparkle-core/swipe-back-9a614189.js +0 -73
- package/dist/sparkle-core/swiper.bundle-4274e115.js +0 -6418
- package/dist/sparkle-core/user.store-3d052406.js +0 -19
- package/dist/sparkle-core/util-ba470e54.js +0 -14683
- package/dist/sparkle-core/utils-cae23bce.js +0 -114
- /package/dist/{sparkle-core → esm}/cubic-bezier-4c0db14f.js +0 -0
- /package/dist/{sparkle-core → esm}/focus-visible-4e9a0764.js +0 -0
- /package/dist/{sparkle-core → esm}/hardware-back-button-fa04d6e9.js +0 -0
- /package/dist/{sparkle-core → esm}/index-be6112f8.js +0 -0
- /package/dist/{sparkle-core → esm}/keyboard-7e8329b3.js +0 -0
- /package/dist/{sparkle-core → esm}/localstorage.service-4bf408c8.js +0 -0
- /package/dist/{sparkle-core → esm}/spinner-configs-a37e628a.js +0 -0
- /package/dist/{sparkle-core → esm}/theme-7ef00c83.js +0 -0
@@ -0,0 +1,331 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-51e8292e.js');
|
6
|
+
const ionicGlobal = require('./ionic-global-2cde9d3a.js');
|
7
|
+
const helpers = require('./helpers-c2496722.js');
|
8
|
+
const haptic = require('./haptic-780f33c4.js');
|
9
|
+
|
10
|
+
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}";
|
11
|
+
|
12
|
+
const pickerColumnMdCss = ".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:8px;padding-right:8px;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:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.picker-prefix,.picker-suffix,.picker-opts{top:77px;transform-style:preserve-3d;color:inherit;font-size:22px;line-height:42px;pointer-events:none}.picker-opt{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;height:43px;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:22px;line-height:42px;backface-visibility:hidden;pointer-events:auto}.picker-prefix,.picker-suffix,.picker-opt.picker-opt-selected{color:var(--ion-color-primary, #3880ff)}";
|
13
|
+
|
14
|
+
const PickerColumnCmp = class {
|
15
|
+
constructor(hostRef) {
|
16
|
+
index.registerInstance(this, hostRef);
|
17
|
+
this.ionPickerColChange = index.createEvent(this, "ionPickerColChange", 7);
|
18
|
+
this.optHeight = 0;
|
19
|
+
this.rotateFactor = 0;
|
20
|
+
this.scaleFactor = 1;
|
21
|
+
this.velocity = 0;
|
22
|
+
this.y = 0;
|
23
|
+
this.noAnimate = true;
|
24
|
+
}
|
25
|
+
colChanged() {
|
26
|
+
this.refresh();
|
27
|
+
}
|
28
|
+
async connectedCallback() {
|
29
|
+
let pickerRotateFactor = 0;
|
30
|
+
let pickerScaleFactor = 0.81;
|
31
|
+
const mode = ionicGlobal.getIonMode(this);
|
32
|
+
if (mode === 'ios') {
|
33
|
+
pickerRotateFactor = -0.46;
|
34
|
+
pickerScaleFactor = 1;
|
35
|
+
}
|
36
|
+
this.rotateFactor = pickerRotateFactor;
|
37
|
+
this.scaleFactor = pickerScaleFactor;
|
38
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-12082cba.js'); })).createGesture({
|
39
|
+
el: this.el,
|
40
|
+
gestureName: 'picker-swipe',
|
41
|
+
gesturePriority: 100,
|
42
|
+
threshold: 0,
|
43
|
+
passive: false,
|
44
|
+
onStart: (ev) => this.onStart(ev),
|
45
|
+
onMove: (ev) => this.onMove(ev),
|
46
|
+
onEnd: (ev) => this.onEnd(ev),
|
47
|
+
});
|
48
|
+
this.gesture.enable();
|
49
|
+
this.tmrId = setTimeout(() => {
|
50
|
+
this.noAnimate = false;
|
51
|
+
this.refresh(true);
|
52
|
+
}, 250);
|
53
|
+
}
|
54
|
+
componentDidLoad() {
|
55
|
+
const colEl = this.optsEl;
|
56
|
+
if (colEl) {
|
57
|
+
// DOM READ
|
58
|
+
// We perfom a DOM read over a rendered item, this needs to happen after the first render
|
59
|
+
this.optHeight = colEl.firstElementChild ? colEl.firstElementChild.clientHeight : 0;
|
60
|
+
}
|
61
|
+
this.refresh();
|
62
|
+
}
|
63
|
+
disconnectedCallback() {
|
64
|
+
cancelAnimationFrame(this.rafId);
|
65
|
+
clearTimeout(this.tmrId);
|
66
|
+
if (this.gesture) {
|
67
|
+
this.gesture.destroy();
|
68
|
+
this.gesture = undefined;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
emitColChange() {
|
72
|
+
this.ionPickerColChange.emit(this.col);
|
73
|
+
}
|
74
|
+
setSelected(selectedIndex, duration) {
|
75
|
+
// if there is a selected index, then figure out it's y position
|
76
|
+
// if there isn't a selected index, then just use the top y position
|
77
|
+
const y = selectedIndex > -1 ? -(selectedIndex * this.optHeight) : 0;
|
78
|
+
this.velocity = 0;
|
79
|
+
// set what y position we're at
|
80
|
+
cancelAnimationFrame(this.rafId);
|
81
|
+
this.update(y, duration, true);
|
82
|
+
this.emitColChange();
|
83
|
+
}
|
84
|
+
update(y, duration, saveY) {
|
85
|
+
if (!this.optsEl) {
|
86
|
+
return;
|
87
|
+
}
|
88
|
+
// ensure we've got a good round number :)
|
89
|
+
let translateY = 0;
|
90
|
+
let translateZ = 0;
|
91
|
+
const { col, rotateFactor } = this;
|
92
|
+
const selectedIndex = (col.selectedIndex = this.indexForY(-y));
|
93
|
+
const durationStr = duration === 0 ? '' : duration + 'ms';
|
94
|
+
const scaleStr = `scale(${this.scaleFactor})`;
|
95
|
+
const children = this.optsEl.children;
|
96
|
+
for (let i = 0; i < children.length; i++) {
|
97
|
+
const button = children[i];
|
98
|
+
const opt = col.options[i];
|
99
|
+
const optOffset = i * this.optHeight + y;
|
100
|
+
let transform = '';
|
101
|
+
if (rotateFactor !== 0) {
|
102
|
+
const rotateX = optOffset * rotateFactor;
|
103
|
+
if (Math.abs(rotateX) <= 90) {
|
104
|
+
translateY = 0;
|
105
|
+
translateZ = 90;
|
106
|
+
transform = `rotateX(${rotateX}deg) `;
|
107
|
+
}
|
108
|
+
else {
|
109
|
+
translateY = -9999;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
else {
|
113
|
+
translateZ = 0;
|
114
|
+
translateY = optOffset;
|
115
|
+
}
|
116
|
+
const selected = selectedIndex === i;
|
117
|
+
transform += `translate3d(0px,${translateY}px,${translateZ}px) `;
|
118
|
+
if (this.scaleFactor !== 1 && !selected) {
|
119
|
+
transform += scaleStr;
|
120
|
+
}
|
121
|
+
// Update transition duration
|
122
|
+
if (this.noAnimate) {
|
123
|
+
opt.duration = 0;
|
124
|
+
button.style.transitionDuration = '';
|
125
|
+
}
|
126
|
+
else if (duration !== opt.duration) {
|
127
|
+
opt.duration = duration;
|
128
|
+
button.style.transitionDuration = durationStr;
|
129
|
+
}
|
130
|
+
// Update transform
|
131
|
+
if (transform !== opt.transform) {
|
132
|
+
opt.transform = transform;
|
133
|
+
}
|
134
|
+
button.style.transform = transform;
|
135
|
+
// Update selected item
|
136
|
+
if (selected !== opt.selected) {
|
137
|
+
opt.selected = selected;
|
138
|
+
if (selected) {
|
139
|
+
button.classList.add(PICKER_OPT_SELECTED);
|
140
|
+
}
|
141
|
+
else {
|
142
|
+
button.classList.remove(PICKER_OPT_SELECTED);
|
143
|
+
}
|
144
|
+
}
|
145
|
+
}
|
146
|
+
this.col.prevSelected = selectedIndex;
|
147
|
+
if (saveY) {
|
148
|
+
this.y = y;
|
149
|
+
}
|
150
|
+
if (this.lastIndex !== selectedIndex) {
|
151
|
+
// have not set a last index yet
|
152
|
+
haptic.hapticSelectionChanged();
|
153
|
+
this.lastIndex = selectedIndex;
|
154
|
+
}
|
155
|
+
}
|
156
|
+
decelerate() {
|
157
|
+
if (this.velocity !== 0) {
|
158
|
+
// still decelerating
|
159
|
+
this.velocity *= DECELERATION_FRICTION;
|
160
|
+
// do not let it go slower than a velocity of 1
|
161
|
+
this.velocity = this.velocity > 0 ? Math.max(this.velocity, 1) : Math.min(this.velocity, -1);
|
162
|
+
let y = this.y + this.velocity;
|
163
|
+
if (y > this.minY) {
|
164
|
+
// whoops, it's trying to scroll up farther than the options we have!
|
165
|
+
y = this.minY;
|
166
|
+
this.velocity = 0;
|
167
|
+
}
|
168
|
+
else if (y < this.maxY) {
|
169
|
+
// gahh, it's trying to scroll down farther than we can!
|
170
|
+
y = this.maxY;
|
171
|
+
this.velocity = 0;
|
172
|
+
}
|
173
|
+
this.update(y, 0, true);
|
174
|
+
const notLockedIn = Math.round(y) % this.optHeight !== 0 || Math.abs(this.velocity) > 1;
|
175
|
+
if (notLockedIn) {
|
176
|
+
// isn't locked in yet, keep decelerating until it is
|
177
|
+
this.rafId = requestAnimationFrame(() => this.decelerate());
|
178
|
+
}
|
179
|
+
else {
|
180
|
+
this.velocity = 0;
|
181
|
+
this.emitColChange();
|
182
|
+
haptic.hapticSelectionEnd();
|
183
|
+
}
|
184
|
+
}
|
185
|
+
else if (this.y % this.optHeight !== 0) {
|
186
|
+
// needs to still get locked into a position so options line up
|
187
|
+
const currentPos = Math.abs(this.y % this.optHeight);
|
188
|
+
// create a velocity in the direction it needs to scroll
|
189
|
+
this.velocity = currentPos > this.optHeight / 2 ? 1 : -1;
|
190
|
+
this.decelerate();
|
191
|
+
}
|
192
|
+
}
|
193
|
+
indexForY(y) {
|
194
|
+
return Math.min(Math.max(Math.abs(Math.round(y / this.optHeight)), 0), this.col.options.length - 1);
|
195
|
+
}
|
196
|
+
// TODO should this check disabled?
|
197
|
+
onStart(detail) {
|
198
|
+
// We have to prevent default in order to block scrolling under the picker
|
199
|
+
// but we DO NOT have to stop propagation, since we still want
|
200
|
+
// some "click" events to capture
|
201
|
+
if (detail.event.cancelable) {
|
202
|
+
detail.event.preventDefault();
|
203
|
+
}
|
204
|
+
detail.event.stopPropagation();
|
205
|
+
haptic.hapticSelectionStart();
|
206
|
+
// reset everything
|
207
|
+
cancelAnimationFrame(this.rafId);
|
208
|
+
const options = this.col.options;
|
209
|
+
let minY = options.length - 1;
|
210
|
+
let maxY = 0;
|
211
|
+
for (let i = 0; i < options.length; i++) {
|
212
|
+
if (!options[i].disabled) {
|
213
|
+
minY = Math.min(minY, i);
|
214
|
+
maxY = Math.max(maxY, i);
|
215
|
+
}
|
216
|
+
}
|
217
|
+
this.minY = -(minY * this.optHeight);
|
218
|
+
this.maxY = -(maxY * this.optHeight);
|
219
|
+
}
|
220
|
+
onMove(detail) {
|
221
|
+
if (detail.event.cancelable) {
|
222
|
+
detail.event.preventDefault();
|
223
|
+
}
|
224
|
+
detail.event.stopPropagation();
|
225
|
+
// update the scroll position relative to pointer start position
|
226
|
+
let y = this.y + detail.deltaY;
|
227
|
+
if (y > this.minY) {
|
228
|
+
// scrolling up higher than scroll area
|
229
|
+
y = Math.pow(y, 0.8);
|
230
|
+
this.bounceFrom = y;
|
231
|
+
}
|
232
|
+
else if (y < this.maxY) {
|
233
|
+
// scrolling down below scroll area
|
234
|
+
y += Math.pow(this.maxY - y, 0.9);
|
235
|
+
this.bounceFrom = y;
|
236
|
+
}
|
237
|
+
else {
|
238
|
+
this.bounceFrom = 0;
|
239
|
+
}
|
240
|
+
this.update(y, 0, false);
|
241
|
+
}
|
242
|
+
onEnd(detail) {
|
243
|
+
if (this.bounceFrom > 0) {
|
244
|
+
// bounce back up
|
245
|
+
this.update(this.minY, 100, true);
|
246
|
+
this.emitColChange();
|
247
|
+
return;
|
248
|
+
}
|
249
|
+
else if (this.bounceFrom < 0) {
|
250
|
+
// bounce back down
|
251
|
+
this.update(this.maxY, 100, true);
|
252
|
+
this.emitColChange();
|
253
|
+
return;
|
254
|
+
}
|
255
|
+
this.velocity = helpers.clamp(-MAX_PICKER_SPEED, detail.velocityY * 23, MAX_PICKER_SPEED);
|
256
|
+
if (this.velocity === 0 && detail.deltaY === 0) {
|
257
|
+
const opt = detail.event.target.closest('.picker-opt');
|
258
|
+
if (opt === null || opt === void 0 ? void 0 : opt.hasAttribute('opt-index')) {
|
259
|
+
this.setSelected(parseInt(opt.getAttribute('opt-index'), 10), TRANSITION_DURATION);
|
260
|
+
}
|
261
|
+
}
|
262
|
+
else {
|
263
|
+
this.y += detail.deltaY;
|
264
|
+
if (Math.abs(detail.velocityY) < 0.05) {
|
265
|
+
const isScrollingUp = detail.deltaY > 0;
|
266
|
+
const optHeightFraction = (Math.abs(this.y) % this.optHeight) / this.optHeight;
|
267
|
+
if (isScrollingUp && optHeightFraction > 0.5) {
|
268
|
+
this.velocity = Math.abs(this.velocity) * -1;
|
269
|
+
}
|
270
|
+
else if (!isScrollingUp && optHeightFraction <= 0.5) {
|
271
|
+
this.velocity = Math.abs(this.velocity);
|
272
|
+
}
|
273
|
+
}
|
274
|
+
this.decelerate();
|
275
|
+
}
|
276
|
+
}
|
277
|
+
refresh(forceRefresh) {
|
278
|
+
let min = this.col.options.length - 1;
|
279
|
+
let max = 0;
|
280
|
+
const options = this.col.options;
|
281
|
+
for (let i = 0; i < options.length; i++) {
|
282
|
+
if (!options[i].disabled) {
|
283
|
+
min = Math.min(min, i);
|
284
|
+
max = Math.max(max, i);
|
285
|
+
}
|
286
|
+
}
|
287
|
+
/**
|
288
|
+
* Only update selected value if column has a
|
289
|
+
* velocity of 0. If it does not, then the
|
290
|
+
* column is animating might land on
|
291
|
+
* a value different than the value at
|
292
|
+
* selectedIndex
|
293
|
+
*/
|
294
|
+
if (this.velocity !== 0) {
|
295
|
+
return;
|
296
|
+
}
|
297
|
+
const selectedIndex = helpers.clamp(min, this.col.selectedIndex || 0, max);
|
298
|
+
if (this.col.prevSelected !== selectedIndex || forceRefresh) {
|
299
|
+
const y = selectedIndex * this.optHeight * -1;
|
300
|
+
this.velocity = 0;
|
301
|
+
this.update(y, TRANSITION_DURATION, true);
|
302
|
+
}
|
303
|
+
}
|
304
|
+
render() {
|
305
|
+
const col = this.col;
|
306
|
+
const Button = 'button';
|
307
|
+
const mode = ionicGlobal.getIonMode(this);
|
308
|
+
return (index.h(index.Host, { class: {
|
309
|
+
[mode]: true,
|
310
|
+
'picker-col': true,
|
311
|
+
'picker-opts-left': this.col.align === 'left',
|
312
|
+
'picker-opts-right': this.col.align === 'right',
|
313
|
+
}, style: {
|
314
|
+
'max-width': this.col.columnWidth,
|
315
|
+
} }, col.prefix && (index.h("div", { class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), index.h("div", { class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index$1) => (index.h(Button, { type: "button", class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index$1 }, o.text)))), col.suffix && (index.h("div", { class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
316
|
+
}
|
317
|
+
get el() { return index.getElement(this); }
|
318
|
+
static get watchers() { return {
|
319
|
+
"col": ["colChanged"]
|
320
|
+
}; }
|
321
|
+
};
|
322
|
+
const PICKER_OPT_SELECTED = 'picker-opt-selected';
|
323
|
+
const DECELERATION_FRICTION = 0.97;
|
324
|
+
const MAX_PICKER_SPEED = 90;
|
325
|
+
const TRANSITION_DURATION = 150;
|
326
|
+
PickerColumnCmp.style = {
|
327
|
+
ios: pickerColumnIosCss,
|
328
|
+
md: pickerColumnMdCss
|
329
|
+
};
|
330
|
+
|
331
|
+
exports.ion_picker_column = PickerColumnCmp;
|
@@ -0,0 +1,221 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-51e8292e.js');
|
6
|
+
const ionicGlobal = require('./ionic-global-2cde9d3a.js');
|
7
|
+
const overlays = require('./overlays-32df265a.js');
|
8
|
+
const theme = require('./theme-b0b295c1.js');
|
9
|
+
const animation = require('./animation-ee586546.js');
|
10
|
+
require('./hardware-back-button-92d97ff8.js');
|
11
|
+
require('./helpers-c2496722.js');
|
12
|
+
|
13
|
+
/*!
|
14
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
15
|
+
*/
|
16
|
+
/**
|
17
|
+
* iOS Picker Enter Animation
|
18
|
+
*/
|
19
|
+
const iosEnterAnimation = (baseEl) => {
|
20
|
+
const baseAnimation = animation.createAnimation();
|
21
|
+
const backdropAnimation = animation.createAnimation();
|
22
|
+
const wrapperAnimation = animation.createAnimation();
|
23
|
+
backdropAnimation
|
24
|
+
.addElement(baseEl.querySelector('ion-backdrop'))
|
25
|
+
.fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
|
26
|
+
.beforeStyles({
|
27
|
+
'pointer-events': 'none',
|
28
|
+
})
|
29
|
+
.afterClearStyles(['pointer-events']);
|
30
|
+
wrapperAnimation
|
31
|
+
.addElement(baseEl.querySelector('.picker-wrapper'))
|
32
|
+
.fromTo('transform', 'translateY(100%)', 'translateY(0%)');
|
33
|
+
return baseAnimation
|
34
|
+
.addElement(baseEl)
|
35
|
+
.easing('cubic-bezier(.36,.66,.04,1)')
|
36
|
+
.duration(400)
|
37
|
+
.addAnimation([backdropAnimation, wrapperAnimation]);
|
38
|
+
};
|
39
|
+
|
40
|
+
/*!
|
41
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
42
|
+
*/
|
43
|
+
/**
|
44
|
+
* iOS Picker Leave Animation
|
45
|
+
*/
|
46
|
+
const iosLeaveAnimation = (baseEl) => {
|
47
|
+
const baseAnimation = animation.createAnimation();
|
48
|
+
const backdropAnimation = animation.createAnimation();
|
49
|
+
const wrapperAnimation = animation.createAnimation();
|
50
|
+
backdropAnimation
|
51
|
+
.addElement(baseEl.querySelector('ion-backdrop'))
|
52
|
+
.fromTo('opacity', 'var(--backdrop-opacity)', 0.01);
|
53
|
+
wrapperAnimation
|
54
|
+
.addElement(baseEl.querySelector('.picker-wrapper'))
|
55
|
+
.fromTo('transform', 'translateY(0%)', 'translateY(100%)');
|
56
|
+
return baseAnimation
|
57
|
+
.addElement(baseEl)
|
58
|
+
.easing('cubic-bezier(.36,.66,.04,1)')
|
59
|
+
.duration(400)
|
60
|
+
.addAnimation([backdropAnimation, wrapperAnimation]);
|
61
|
+
};
|
62
|
+
|
63
|
+
const pickerIosCss = ".sc-ion-picker-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;user-select:none;z-index:1001}[dir=rtl].sc-ion-picker-ios-h,[dir=rtl] .sc-ion-picker-ios-h{left:unset;right:unset;right:0}.overlay-hidden.sc-ion-picker-ios-h{display:none}.picker-wrapper.sc-ion-picker-ios{border-radius:var(--border-radius);left:0;right:0;bottom:0;margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;transform:translate3d(0, 100%, 0);display:flex;position:absolute;flex-direction:column;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);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.picker-wrapper.sc-ion-picker-ios{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.picker-toolbar.sc-ion-picker-ios{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-ios{border:0;font-family:inherit}.picker-button.sc-ion-picker-ios:active,.picker-button.sc-ion-picker-ios:focus{outline:none}.picker-columns.sc-ion-picker-ios{display:flex;position:relative;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;direction:ltr;overflow:hidden}.picker-above-highlight.sc-ion-picker-ios,.picker-below-highlight.sc-ion-picker-ios{display:none;pointer-events:none}.sc-ion-picker-ios-h{--background:var(--ion-background-color, #fff);--border-width:1px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-ios{display:flex;height:44px;border-bottom:0.55px solid var(--border-color)}.picker-toolbar-button.sc-ion-picker-ios{flex:1;text-align:end}.picker-toolbar-button.sc-ion-picker-ios:last-child .picker-button.sc-ion-picker-ios{font-weight:600}.picker-toolbar-button.sc-ion-picker-ios:first-child{font-weight:normal;text-align:start}.picker-button.sc-ion-picker-ios,.picker-button.ion-activated.sc-ion-picker-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:1em;padding-right:1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.picker-button.sc-ion-picker-ios,.picker-button.ion-activated.sc-ion-picker-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:1em;padding-inline-start:1em;-webkit-padding-end:1em;padding-inline-end:1em}}.picker-columns.sc-ion-picker-ios{height:215px;perspective:1000px}.picker-above-highlight.sc-ion-picker-ios{left:0;top:0;transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:81px;border-bottom:1px solid var(--border-color);background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:10}[dir=rtl].sc-ion-picker-ios .picker-above-highlight.sc-ion-picker-ios,[dir=rtl].sc-ion-picker-ios-h .picker-above-highlight.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-above-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}.picker-below-highlight.sc-ion-picker-ios{left:0;top:115px;transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:119px;border-top:1px solid var(--border-color);background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:11}[dir=rtl].sc-ion-picker-ios .picker-below-highlight.sc-ion-picker-ios,[dir=rtl].sc-ion-picker-ios-h .picker-below-highlight.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-below-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}";
|
64
|
+
|
65
|
+
const pickerMdCss = ".sc-ion-picker-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;user-select:none;z-index:1001}[dir=rtl].sc-ion-picker-md-h,[dir=rtl] .sc-ion-picker-md-h{left:unset;right:unset;right:0}.overlay-hidden.sc-ion-picker-md-h{display:none}.picker-wrapper.sc-ion-picker-md{border-radius:var(--border-radius);left:0;right:0;bottom:0;margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;transform:translate3d(0, 100%, 0);display:flex;position:absolute;flex-direction:column;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);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.picker-wrapper.sc-ion-picker-md{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.picker-toolbar.sc-ion-picker-md{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-md{border:0;font-family:inherit}.picker-button.sc-ion-picker-md:active,.picker-button.sc-ion-picker-md:focus{outline:none}.picker-columns.sc-ion-picker-md{display:flex;position:relative;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;direction:ltr;overflow:hidden}.picker-above-highlight.sc-ion-picker-md,.picker-below-highlight.sc-ion-picker-md{display:none;pointer-events:none}.sc-ion-picker-md-h{--background:var(--ion-background-color, #fff);--border-width:0.55px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-md{display:flex;justify-content:flex-end;height:44px}.picker-button.sc-ion-picker-md,.picker-button.ion-activated.sc-ion-picker-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:1.1em;padding-right:1.1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:14px;font-weight:500;text-transform:uppercase;box-shadow:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.picker-button.sc-ion-picker-md,.picker-button.ion-activated.sc-ion-picker-md{padding-left:unset;padding-right:unset;-webkit-padding-start:1.1em;padding-inline-start:1.1em;-webkit-padding-end:1.1em;padding-inline-end:1.1em}}.picker-columns.sc-ion-picker-md{height:216px;perspective:1800px}.picker-above-highlight.sc-ion-picker-md{left:0;top:0;transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:81px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:linear-gradient(to bottom, var(--ion-background-color, #fff) 20%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:10}[dir=rtl].sc-ion-picker-md .picker-above-highlight.sc-ion-picker-md,[dir=rtl].sc-ion-picker-md-h .picker-above-highlight.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-above-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}.picker-below-highlight.sc-ion-picker-md{left:0;top:115px;transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:119px;border-top:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:linear-gradient(to top, var(--ion-background-color, #fff) 30%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:11}[dir=rtl].sc-ion-picker-md .picker-below-highlight.sc-ion-picker-md,[dir=rtl].sc-ion-picker-md-h .picker-below-highlight.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-below-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}";
|
66
|
+
|
67
|
+
const Picker = class {
|
68
|
+
constructor(hostRef) {
|
69
|
+
index.registerInstance(this, hostRef);
|
70
|
+
this.didPresent = index.createEvent(this, "ionPickerDidPresent", 7);
|
71
|
+
this.willPresent = index.createEvent(this, "ionPickerWillPresent", 7);
|
72
|
+
this.willDismiss = index.createEvent(this, "ionPickerWillDismiss", 7);
|
73
|
+
this.didDismiss = index.createEvent(this, "ionPickerDidDismiss", 7);
|
74
|
+
this.presented = false;
|
75
|
+
/**
|
76
|
+
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
77
|
+
*/
|
78
|
+
this.keyboardClose = true;
|
79
|
+
/**
|
80
|
+
* Array of buttons to be displayed at the top of the picker.
|
81
|
+
*/
|
82
|
+
this.buttons = [];
|
83
|
+
/**
|
84
|
+
* Array of columns to be displayed in the picker.
|
85
|
+
*/
|
86
|
+
this.columns = [];
|
87
|
+
/**
|
88
|
+
* Number of milliseconds to wait before dismissing the picker.
|
89
|
+
*/
|
90
|
+
this.duration = 0;
|
91
|
+
/**
|
92
|
+
* If `true`, a backdrop will be displayed behind the picker.
|
93
|
+
*/
|
94
|
+
this.showBackdrop = true;
|
95
|
+
/**
|
96
|
+
* If `true`, the picker will be dismissed when the backdrop is clicked.
|
97
|
+
*/
|
98
|
+
this.backdropDismiss = true;
|
99
|
+
/**
|
100
|
+
* If `true`, the picker will animate.
|
101
|
+
*/
|
102
|
+
this.animated = true;
|
103
|
+
this.onBackdropTap = () => {
|
104
|
+
this.dismiss(undefined, overlays.BACKDROP);
|
105
|
+
};
|
106
|
+
this.dispatchCancelHandler = (ev) => {
|
107
|
+
const role = ev.detail.role;
|
108
|
+
if (overlays.isCancel(role)) {
|
109
|
+
const cancelButton = this.buttons.find((b) => b.role === 'cancel');
|
110
|
+
this.callButtonHandler(cancelButton);
|
111
|
+
}
|
112
|
+
};
|
113
|
+
}
|
114
|
+
connectedCallback() {
|
115
|
+
overlays.prepareOverlay(this.el);
|
116
|
+
}
|
117
|
+
/**
|
118
|
+
* Present the picker overlay after it has been created.
|
119
|
+
*/
|
120
|
+
async present() {
|
121
|
+
await overlays.present(this, 'pickerEnter', iosEnterAnimation, iosEnterAnimation, undefined);
|
122
|
+
if (this.duration > 0) {
|
123
|
+
this.durationTimeout = setTimeout(() => this.dismiss(), this.duration);
|
124
|
+
}
|
125
|
+
}
|
126
|
+
/**
|
127
|
+
* Dismiss the picker overlay after it has been presented.
|
128
|
+
*
|
129
|
+
* @param data Any data to emit in the dismiss events.
|
130
|
+
* @param role The role of the element that is dismissing the picker.
|
131
|
+
* This can be useful in a button handler for determining which button was
|
132
|
+
* clicked to dismiss the picker.
|
133
|
+
* Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
|
134
|
+
*/
|
135
|
+
dismiss(data, role) {
|
136
|
+
if (this.durationTimeout) {
|
137
|
+
clearTimeout(this.durationTimeout);
|
138
|
+
}
|
139
|
+
return overlays.dismiss(this, data, role, 'pickerLeave', iosLeaveAnimation, iosLeaveAnimation);
|
140
|
+
}
|
141
|
+
/**
|
142
|
+
* Returns a promise that resolves when the picker did dismiss.
|
143
|
+
*/
|
144
|
+
onDidDismiss() {
|
145
|
+
return overlays.eventMethod(this.el, 'ionPickerDidDismiss');
|
146
|
+
}
|
147
|
+
/**
|
148
|
+
* Returns a promise that resolves when the picker will dismiss.
|
149
|
+
*/
|
150
|
+
onWillDismiss() {
|
151
|
+
return overlays.eventMethod(this.el, 'ionPickerWillDismiss');
|
152
|
+
}
|
153
|
+
/**
|
154
|
+
* Get the column that matches the specified name.
|
155
|
+
*
|
156
|
+
* @param name The name of the column.
|
157
|
+
*/
|
158
|
+
getColumn(name) {
|
159
|
+
return Promise.resolve(this.columns.find((column) => column.name === name));
|
160
|
+
}
|
161
|
+
async buttonClick(button) {
|
162
|
+
const role = button.role;
|
163
|
+
if (overlays.isCancel(role)) {
|
164
|
+
return this.dismiss(undefined, role);
|
165
|
+
}
|
166
|
+
const shouldDismiss = await this.callButtonHandler(button);
|
167
|
+
if (shouldDismiss) {
|
168
|
+
return this.dismiss(this.getSelected(), button.role);
|
169
|
+
}
|
170
|
+
return Promise.resolve();
|
171
|
+
}
|
172
|
+
async callButtonHandler(button) {
|
173
|
+
if (button) {
|
174
|
+
// a handler has been provided, execute it
|
175
|
+
// pass the handler the values from the inputs
|
176
|
+
const rtn = await overlays.safeCall(button.handler, this.getSelected());
|
177
|
+
if (rtn === false) {
|
178
|
+
// if the return value of the handler is false then do not dismiss
|
179
|
+
return false;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
return true;
|
183
|
+
}
|
184
|
+
getSelected() {
|
185
|
+
const selected = {};
|
186
|
+
this.columns.forEach((col, index) => {
|
187
|
+
const selectedColumn = col.selectedIndex !== undefined ? col.options[col.selectedIndex] : undefined;
|
188
|
+
selected[col.name] = {
|
189
|
+
text: selectedColumn ? selectedColumn.text : undefined,
|
190
|
+
value: selectedColumn ? selectedColumn.value : undefined,
|
191
|
+
columnIndex: index,
|
192
|
+
};
|
193
|
+
});
|
194
|
+
return selected;
|
195
|
+
}
|
196
|
+
render() {
|
197
|
+
const { htmlAttributes } = this;
|
198
|
+
const mode = ionicGlobal.getIonMode(this);
|
199
|
+
return (index.h(index.Host, Object.assign({ "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
200
|
+
zIndex: `${20000 + this.overlayIndex}`,
|
201
|
+
}, class: Object.assign({ [mode]: true,
|
202
|
+
// Used internally for styling
|
203
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), index.h("ion-backdrop", { visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h("div", { tabindex: "0" }), index.h("div", { class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, index.h("div", { class: "picker-toolbar" }, this.buttons.map((b) => (index.h("div", { class: buttonWrapperClass(b) }, index.h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), index.h("div", { class: "picker-columns" }, index.h("div", { class: "picker-above-highlight" }), this.presented && this.columns.map((c) => index.h("ion-picker-column", { col: c })), index.h("div", { class: "picker-below-highlight" }))), index.h("div", { tabindex: "0" })));
|
204
|
+
}
|
205
|
+
get el() { return index.getElement(this); }
|
206
|
+
};
|
207
|
+
const buttonWrapperClass = (button) => {
|
208
|
+
return {
|
209
|
+
[`picker-toolbar-${button.role}`]: button.role !== undefined,
|
210
|
+
'picker-toolbar-button': true,
|
211
|
+
};
|
212
|
+
};
|
213
|
+
const buttonClass = (button) => {
|
214
|
+
return Object.assign({ 'picker-button': true, 'ion-activatable': true }, theme.getClassMap(button.cssClass));
|
215
|
+
};
|
216
|
+
Picker.style = {
|
217
|
+
ios: pickerIosCss,
|
218
|
+
md: pickerMdCss
|
219
|
+
};
|
220
|
+
|
221
|
+
exports.ion_picker = Picker;
|
@@ -0,0 +1,74 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-51e8292e.js');
|
6
|
+
const ionicGlobal = require('./ionic-global-2cde9d3a.js');
|
7
|
+
const helpers = require('./helpers-c2496722.js');
|
8
|
+
const theme = require('./theme-b0b295c1.js');
|
9
|
+
|
10
|
+
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}";
|
11
|
+
|
12
|
+
const progressBarMdCss = ":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:4px}";
|
13
|
+
|
14
|
+
const ProgressBar = class {
|
15
|
+
constructor(hostRef) {
|
16
|
+
index.registerInstance(this, hostRef);
|
17
|
+
/**
|
18
|
+
* The state of the progress bar, based on if the time the process takes is known or not.
|
19
|
+
* Default options are: `"determinate"` (no animation), `"indeterminate"` (animate from left to right).
|
20
|
+
*/
|
21
|
+
this.type = 'determinate';
|
22
|
+
/**
|
23
|
+
* If true, reverse the progress bar direction.
|
24
|
+
*/
|
25
|
+
this.reversed = false;
|
26
|
+
/**
|
27
|
+
* The value determines how much of the active bar should display when the
|
28
|
+
* `type` is `"determinate"`.
|
29
|
+
* The value should be between [0, 1].
|
30
|
+
*/
|
31
|
+
this.value = 0;
|
32
|
+
/**
|
33
|
+
* If the buffer and value are smaller than 1, the buffer circles will show.
|
34
|
+
* The buffer should be between [0, 1].
|
35
|
+
*/
|
36
|
+
this.buffer = 1;
|
37
|
+
}
|
38
|
+
render() {
|
39
|
+
const { color, type, reversed, value, buffer } = this;
|
40
|
+
const paused = ionicGlobal.config.getBoolean('_testing');
|
41
|
+
const mode = ionicGlobal.getIonMode(this);
|
42
|
+
return (index.h(index.Host, { role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: theme.createColorClasses(color, {
|
43
|
+
[mode]: true,
|
44
|
+
[`progress-bar-${type}`]: true,
|
45
|
+
'progress-paused': paused,
|
46
|
+
'progress-bar-reversed': document.dir === 'rtl' ? !reversed : reversed,
|
47
|
+
}) }, type === 'indeterminate' ? renderIndeterminate() : renderProgress(value, buffer)));
|
48
|
+
}
|
49
|
+
};
|
50
|
+
const renderIndeterminate = () => {
|
51
|
+
return (index.h("div", { part: "track", class: "progress-buffer-bar" }, index.h("div", { class: "indeterminate-bar-primary" }, index.h("span", { part: "progress", class: "progress-indeterminate" })), index.h("div", { class: "indeterminate-bar-secondary" }, index.h("span", { part: "progress", class: "progress-indeterminate" }))));
|
52
|
+
};
|
53
|
+
const renderProgress = (value, buffer) => {
|
54
|
+
const finalValue = helpers.clamp(0, value, 1);
|
55
|
+
const finalBuffer = helpers.clamp(0, buffer, 1);
|
56
|
+
return [
|
57
|
+
index.h("div", { part: "progress", class: "progress", style: { transform: `scaleX(${finalValue})` } }),
|
58
|
+
/**
|
59
|
+
* Buffer circles with two container to move
|
60
|
+
* the circles behind the buffer progress
|
61
|
+
* with respecting the animation.
|
62
|
+
* When finalBuffer === 1, we use display: none
|
63
|
+
* instead of removing the element to avoid flickering.
|
64
|
+
*/
|
65
|
+
index.h("div", { class: { 'buffer-circles-container': true, 'ion-hide': finalBuffer === 1 }, style: { transform: `translateX(${finalBuffer * 100}%)` } }, index.h("div", { class: "buffer-circles-container", style: { transform: `translateX(-${finalBuffer * 100}%)` } }, index.h("div", { part: "stream", class: "buffer-circles" }))),
|
66
|
+
index.h("div", { part: "track", class: "progress-buffer-bar", style: { transform: `scaleX(${finalBuffer})` } }),
|
67
|
+
];
|
68
|
+
};
|
69
|
+
ProgressBar.style = {
|
70
|
+
ios: progressBarIosCss,
|
71
|
+
md: progressBarMdCss
|
72
|
+
};
|
73
|
+
|
74
|
+
exports.ion_progress_bar = ProgressBar;
|