@sparkle-learning/core 0.0.56 → 0.0.57
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/sparkle-core/PrivateRoute-a12e7ee5.js +37 -0
- package/dist/sparkle-core/account.service-e711795d.js +63 -0
- package/dist/sparkle-core/active-router-af86c9b4.js +73 -0
- package/dist/sparkle-core/animation-676a644d.js +984 -0
- package/dist/sparkle-core/app-globals-9ffa9ec3.js +10 -0
- package/dist/sparkle-core/appdata.service-703dff70.js +69 -0
- package/dist/sparkle-core/assets/user.png +0 -0
- package/dist/sparkle-core/assets.service-6508aae6.js +71 -0
- package/dist/sparkle-core/assignment.service-e42e9368.js +17 -0
- package/dist/sparkle-core/button-active-d68c5eb7.js +67 -0
- package/dist/sparkle-core/compass-svg.entry.js +128 -0
- package/dist/sparkle-core/context-consumer.entry.js +25 -0
- package/dist/sparkle-core/course-select.entry.js +26 -0
- package/dist/sparkle-core/css-shim-04165e59.js +4 -0
- package/dist/sparkle-core/dom-26e7cb2c.js +73 -0
- package/dist/sparkle-core/dom-utils-8e73e88b.js +55 -0
- package/dist/sparkle-core/facilitator.service-00a88935.js +79 -0
- package/dist/sparkle-core/facilitator.store-01be0386.js +18 -0
- package/dist/sparkle-core/feed.service-d495f3e1.js +53 -0
- package/dist/sparkle-core/framework-delegate-d3fa493f.js +107 -0
- package/dist/sparkle-core/haptic-a9e94599.js +124 -0
- package/dist/sparkle-core/header-mobile-collapse.entry.js +86 -0
- package/dist/sparkle-core/helpers-f11f0674.js +406 -0
- package/dist/sparkle-core/icons-758d1417.js +41 -0
- package/dist/sparkle-core/index-05b398c2.js +34 -0
- package/dist/sparkle-core/index-0af0deac.js +312 -0
- package/dist/sparkle-core/index-0df264ee.js +4518 -0
- package/dist/sparkle-core/index-183cda39.js +223 -0
- package/dist/sparkle-core/index-18a69883.js +1336 -0
- package/dist/sparkle-core/index-1d7a6fa0.js +269 -0
- package/dist/sparkle-core/index-1dec9544.js +3064 -0
- package/dist/sparkle-core/index-81dab78f.js +85 -0
- package/dist/sparkle-core/index-9b5bcea1.js +22 -0
- package/dist/sparkle-core/index-bb469fe3.js +128 -0
- package/dist/sparkle-core/index-d2990a48.js +184 -0
- package/dist/sparkle-core/index-dd414b33.js +653 -0
- package/dist/sparkle-core/index-faeec85a.js +8 -0
- package/dist/sparkle-core/index.es-1f6eedc5.js +11066 -0
- package/dist/sparkle-core/index.esm.js +19 -1
- package/dist/sparkle-core/input-shims-0b2f5522.js +418 -0
- package/dist/sparkle-core/ion-accordion-group.entry.js +201 -0
- package/dist/sparkle-core/ion-accordion.entry.js +332 -0
- package/dist/sparkle-core/ion-action-sheet.entry.js +263 -0
- package/dist/sparkle-core/ion-alert.entry.js +448 -0
- package/dist/sparkle-core/ion-app.entry.js +75 -0
- package/dist/sparkle-core/ion-avatar.entry.js +21 -0
- package/dist/sparkle-core/ion-back-button.entry.js +90 -0
- package/dist/sparkle-core/ion-backdrop.entry.js +63 -0
- package/dist/sparkle-core/ion-badge.entry.js +25 -0
- package/dist/sparkle-core/ion-breadcrumb.entry.js +91 -0
- package/dist/sparkle-core/ion-breadcrumbs.entry.js +129 -0
- package/dist/sparkle-core/ion-button.entry.js +125 -0
- package/dist/sparkle-core/ion-buttons.entry.js +38 -0
- package/dist/sparkle-core/ion-card-content.entry.js +26 -0
- package/dist/sparkle-core/ion-card-header.entry.js +33 -0
- package/dist/sparkle-core/ion-card-subtitle.entry.js +26 -0
- package/dist/sparkle-core/ion-card-title.entry.js +26 -0
- package/dist/sparkle-core/ion-card.entry.js +64 -0
- package/dist/sparkle-core/ion-checkbox.entry.js +109 -0
- package/dist/sparkle-core/ion-chip.entry.js +36 -0
- package/dist/sparkle-core/ion-col.entry.js +121 -0
- package/dist/sparkle-core/ion-content.entry.js +319 -0
- package/dist/sparkle-core/ion-datetime-button.entry.js +308 -0
- package/dist/sparkle-core/ion-datetime.entry.js +1619 -0
- package/dist/sparkle-core/ion-fab-button.entry.js +104 -0
- package/dist/sparkle-core/ion-fab-list.entry.js +41 -0
- package/dist/sparkle-core/ion-fab.entry.js +72 -0
- package/dist/sparkle-core/ion-footer.entry.js +116 -0
- package/dist/sparkle-core/ion-grid.entry.js +24 -0
- package/dist/sparkle-core/ion-header.entry.js +341 -0
- package/dist/sparkle-core/ion-icon.entry.js +200 -0
- package/dist/sparkle-core/ion-img.entry.js +97 -0
- package/dist/sparkle-core/ion-infinite-scroll-content.entry.js +33 -0
- package/dist/sparkle-core/ion-infinite-scroll.entry.js +202 -0
- package/dist/sparkle-core/ion-input.entry.js +293 -0
- package/dist/sparkle-core/ion-item-divider.entry.js +36 -0
- package/dist/sparkle-core/ion-item-group.entry.js +27 -0
- package/dist/sparkle-core/ion-item-option.entry.js +56 -0
- package/dist/sparkle-core/ion-item-options.entry.js +43 -0
- package/dist/sparkle-core/ion-item-sliding.entry.js +394 -0
- package/dist/sparkle-core/ion-item.entry.js +267 -0
- package/dist/sparkle-core/ion-label.entry.js +77 -0
- package/dist/sparkle-core/ion-list-header.entry.js +27 -0
- package/dist/sparkle-core/ion-list.entry.js +48 -0
- package/dist/sparkle-core/ion-loading.entry.js +211 -0
- package/dist/sparkle-core/ion-menu-button.entry.js +72 -0
- package/dist/sparkle-core/ion-menu-toggle.entry.js +43 -0
- package/dist/sparkle-core/ion-menu.entry.js +575 -0
- package/dist/sparkle-core/ion-modal.entry.js +1706 -0
- package/dist/sparkle-core/ion-nav-link.entry.js +43 -0
- package/dist/sparkle-core/ion-nav.entry.js +872 -0
- package/dist/sparkle-core/ion-note.entry.js +25 -0
- package/dist/sparkle-core/ion-picker-column-internal.entry.js +363 -0
- package/dist/sparkle-core/ion-picker-column.entry.js +327 -0
- package/dist/sparkle-core/ion-picker-internal.entry.js +454 -0
- package/dist/sparkle-core/ion-picker.entry.js +217 -0
- package/dist/sparkle-core/ion-popover.entry.js +1362 -0
- package/dist/sparkle-core/ion-progress-bar.entry.js +70 -0
- package/dist/sparkle-core/ion-radio-group.entry.js +121 -0
- package/dist/sparkle-core/ion-radio.entry.js +111 -0
- package/dist/sparkle-core/ion-range.entry.js +511 -0
- package/dist/sparkle-core/ion-refresher-content.entry.js +31 -0
- package/dist/sparkle-core/ion-refresher.entry.js +798 -0
- package/dist/sparkle-core/ion-reorder-group.entry.js +277 -0
- package/dist/sparkle-core/ion-reorder.entry.js +34 -0
- package/dist/sparkle-core/ion-ripple-effect.entry.js +89 -0
- package/dist/sparkle-core/ion-route-redirect.entry.js +20 -0
- package/dist/sparkle-core/ion-route.entry.js +45 -0
- package/dist/sparkle-core/ion-router-link.entry.js +34 -0
- package/dist/sparkle-core/ion-router-outlet.entry.js +196 -0
- package/dist/sparkle-core/ion-router.entry.js +827 -0
- package/dist/sparkle-core/ion-row.entry.js +16 -0
- package/dist/sparkle-core/ion-searchbar.entry.js +366 -0
- package/dist/sparkle-core/ion-segment-button.entry.js +98 -0
- package/dist/sparkle-core/ion-segment.entry.js +415 -0
- package/dist/sparkle-core/ion-select-option.entry.js +23 -0
- package/dist/sparkle-core/ion-select-popover.entry.js +96 -0
- package/dist/sparkle-core/ion-select.entry.js +510 -0
- package/dist/sparkle-core/ion-skeleton-text.entry.js +29 -0
- package/dist/sparkle-core/ion-slide.entry.js +21 -0
- package/dist/sparkle-core/ion-slides.entry.js +387 -0
- package/dist/sparkle-core/ion-spinner.entry.js +60 -0
- package/dist/sparkle-core/ion-split-pane.entry.js +156 -0
- package/dist/sparkle-core/ion-tab-bar.entry.js +71 -0
- package/dist/sparkle-core/ion-tab-button.entry.js +99 -0
- package/dist/sparkle-core/ion-tab.entry.js +63 -0
- package/dist/sparkle-core/ion-tabs.entry.js +150 -0
- package/dist/sparkle-core/ion-text.entry.js +20 -0
- package/dist/sparkle-core/ion-textarea.entry.js +244 -0
- package/dist/sparkle-core/ion-thumbnail.entry.js +16 -0
- package/dist/sparkle-core/ion-title.entry.js +48 -0
- package/dist/sparkle-core/ion-toast.entry.js +268 -0
- package/dist/sparkle-core/ion-toggle.entry.js +173 -0
- package/dist/sparkle-core/ion-toolbar.entry.js +70 -0
- package/dist/sparkle-core/ion-virtual-scroll.entry.js +551 -0
- package/dist/sparkle-core/ionic-global-127576f6.js +226 -0
- package/dist/sparkle-core/ios.transition-02531dda.js +479 -0
- package/dist/sparkle-core/location-utils-fea12957.js +229 -0
- package/dist/sparkle-core/match-path-760e1797.js +343 -0
- package/dist/sparkle-core/md.transition-f8765467.js +55 -0
- package/dist/sparkle-core/media.service-2609406e.js +36 -0
- package/dist/sparkle-core/menu-toggle-util-6cc13cbd.js +12 -0
- package/dist/sparkle-core/overlays-fd3cfa13.js +493 -0
- package/dist/sparkle-core/parse-60474840.js +1196 -0
- package/dist/sparkle-core/purify-d9093094.js +1469 -0
- package/dist/sparkle-core/quiz.model-1cff62e4.js +5 -0
- package/dist/sparkle-core/shadow-css-1257b266.js +387 -0
- package/dist/sparkle-core/signalR.service-2b7645c1.js +2983 -0
- package/dist/sparkle-core/sparkle-animation-player.entry.js +513 -0
- package/dist/sparkle-core/sparkle-assignment.entry.js +114 -0
- package/dist/sparkle-core/sparkle-button.entry.js +24 -0
- package/dist/sparkle-core/sparkle-card.entry.js +61 -0
- package/dist/sparkle-core/sparkle-cards.entry.js +15 -0
- package/dist/sparkle-core/sparkle-character-intro.entry.js +22 -0
- package/dist/sparkle-core/sparkle-code.entry.js +39 -0
- package/dist/sparkle-core/sparkle-compass-post.entry.js +129 -0
- package/dist/sparkle-core/sparkle-compass.entry.js +122 -0
- package/dist/sparkle-core/sparkle-core.css +2660 -1
- package/dist/sparkle-core/sparkle-core.esm.js +130 -1
- package/dist/sparkle-core/sparkle-course-root.entry.js +155 -0
- package/dist/sparkle-core/sparkle-discussion-questions.entry.js +122 -0
- package/dist/sparkle-core/sparkle-discussion-results.entry.js +189 -0
- package/dist/sparkle-core/sparkle-discussion.entry.js +52 -0
- package/dist/sparkle-core/sparkle-dropdown.entry.js +57 -0
- package/dist/sparkle-core/sparkle-emoji.entry.js +77 -0
- package/dist/sparkle-core/sparkle-export-lessons.entry.js +10081 -0
- package/dist/sparkle-core/sparkle-facilitator-dashboard.entry.js +93 -0
- package/dist/sparkle-core/sparkle-facilitator-header.entry.js +60 -0
- package/dist/sparkle-core/sparkle-facilitator-notes-form.entry.js +160 -0
- package/dist/sparkle-core/sparkle-facilitator-notes.entry.js +65 -0
- package/dist/sparkle-core/sparkle-facilitator-page.entry.js +198 -0
- package/dist/sparkle-core/sparkle-feed-post.entry.js +131 -0
- package/dist/sparkle-core/sparkle-feedback.entry.js +106 -0
- package/dist/sparkle-core/sparkle-file-upload.entry.js +57 -0
- package/dist/sparkle-core/sparkle-forgot-password.entry.js +80 -0
- package/dist/sparkle-core/sparkle-goal-form.entry.js +182 -0
- package/dist/sparkle-core/sparkle-goal-item.entry.js +15 -0
- package/dist/sparkle-core/sparkle-goal-progress.entry.js +15 -0
- package/dist/sparkle-core/sparkle-goals.entry.js +47 -0
- package/dist/sparkle-core/sparkle-gww-comment-list.entry.js +22 -0
- package/dist/sparkle-core/sparkle-gww-graph.entry.js +15 -0
- package/dist/sparkle-core/sparkle-gww-item.entry.js +80 -0
- package/dist/sparkle-core/sparkle-gww.entry.js +44 -0
- package/dist/sparkle-core/sparkle-header.entry.js +97 -0
- package/dist/sparkle-core/sparkle-health.entry.js +70 -0
- package/dist/sparkle-core/sparkle-input.entry.js +52 -0
- package/dist/sparkle-core/sparkle-intro.entry.js +22 -0
- package/dist/sparkle-core/sparkle-login.entry.js +116 -0
- package/dist/sparkle-core/sparkle-lower-content-nav.entry.js +18 -0
- package/dist/sparkle-core/sparkle-menu-collapsible.entry.js +42 -0
- package/dist/sparkle-core/sparkle-menu-toggle.entry.js +24 -0
- package/dist/sparkle-core/sparkle-menu.entry.js +26 -0
- package/dist/sparkle-core/sparkle-modal-image.entry.js +33 -0
- package/dist/sparkle-core/sparkle-mood.entry.js +76 -0
- package/dist/sparkle-core/sparkle-nav.entry.js +113 -0
- package/dist/sparkle-core/sparkle-notfound-page.entry.js +25 -0
- package/dist/sparkle-core/sparkle-online-students.entry.js +55 -0
- package/dist/sparkle-core/sparkle-overlay.entry.js +90 -0
- package/dist/sparkle-core/sparkle-page-footer.entry.js +24 -0
- package/dist/sparkle-core/sparkle-page.entry.js +245 -0
- package/dist/sparkle-core/sparkle-pagination.entry.js +67 -0
- package/dist/sparkle-core/sparkle-poll.entry.js +15 -0
- package/dist/sparkle-core/sparkle-quiz-container.entry.js +43 -0
- package/dist/sparkle-core/sparkle-quiz-feedback.entry.js +18 -0
- package/dist/sparkle-core/sparkle-quiz-input.entry.js +16 -0
- package/dist/sparkle-core/sparkle-quiz-old.entry.js +116 -0
- package/dist/sparkle-core/sparkle-quiz-opinion.entry.js +41 -0
- package/dist/sparkle-core/sparkle-quiz-poll.entry.js +16 -0
- package/dist/sparkle-core/sparkle-quiz-select.entry.js +29 -0
- package/dist/sparkle-core/sparkle-quiz.entry.js +98 -0
- package/dist/sparkle-core/sparkle-reset-password.entry.js +96 -0
- package/dist/sparkle-core/sparkle-root.entry.js +79 -0
- package/dist/sparkle-core/sparkle-select.entry.js +57 -0
- package/dist/sparkle-core/sparkle-sidebar.entry.js +39 -0
- package/dist/sparkle-core/sparkle-signup.entry.js +144 -0
- package/dist/sparkle-core/sparkle-tab.entry.js +22 -0
- package/dist/sparkle-core/sparkle-table-of-contents.entry.js +67 -0
- package/dist/sparkle-core/sparkle-tabs.entry.js +62 -0
- package/dist/sparkle-core/sparkle-unauthorized.entry.js +17 -0
- package/dist/sparkle-core/sparkle-user-enrollment.entry.js +85 -0
- package/dist/sparkle-core/sparkle-user-profile.entry.js +129 -0
- package/dist/sparkle-core/sparkle-validation-error.entry.js +17 -0
- package/dist/sparkle-core/sparkle-video-player.entry.js +18 -0
- package/dist/sparkle-core/sparkle-youtube.entry.js +35 -0
- package/dist/sparkle-core/status-tap-52feb1b1.js +40 -0
- package/dist/sparkle-core/stencil-async-content.entry.js +28 -0
- package/dist/sparkle-core/stencil-route-link.entry.js +74 -0
- package/dist/sparkle-core/stencil-route-switch.entry.js +100 -0
- package/dist/sparkle-core/stencil-route-title.entry.js +28 -0
- package/dist/sparkle-core/stencil-route.entry.js +93 -0
- package/dist/sparkle-core/stencil-router-prompt.entry.js +55 -0
- package/dist/sparkle-core/stencil-router-redirect.entry.js +28 -0
- package/dist/sparkle-core/stencil-router.entry.js +636 -0
- package/dist/sparkle-core/store.service-0f7d998b.js +16 -0
- package/dist/sparkle-core/student.service-f0375229.js +59 -0
- package/dist/sparkle-core/swipe-back-9a614189.js +73 -0
- package/dist/sparkle-core/swiper.bundle-4274e115.js +6418 -0
- package/dist/sparkle-core/user.store-3d052406.js +19 -0
- package/dist/sparkle-core/util-ba470e54.js +14683 -0
- package/dist/sparkle-core/utils-cae23bce.js +114 -0
- package/package.json +1 -1
- package/dist/cjs/PrivateRoute-f97245ce.js +0 -217
- package/dist/cjs/active-router-f9e18bd8.js +0 -75
- package/dist/cjs/animation-ee586546.js +0 -986
- package/dist/cjs/app-globals-33c9f31b.js +0 -9
- package/dist/cjs/appdata.service-c8d71e05.js +0 -73
- package/dist/cjs/assets.service-bfa75092.js +0 -50
- package/dist/cjs/assignment.service-690fb59c.js +0 -19
- package/dist/cjs/auth.store-1e630a7d.js +0 -3392
- package/dist/cjs/compass-svg.cjs.entry.js +0 -132
- package/dist/cjs/context-consumer.cjs.entry.js +0 -29
- package/dist/cjs/course-select.cjs.entry.js +0 -30
- package/dist/cjs/cubic-bezier-53d26d05.js +0 -93
- package/dist/cjs/dir-5af5259a.js +0 -20
- package/dist/cjs/environment-config.service-c8ff1f3d.js +0 -28
- package/dist/cjs/facilitator.service-ff0e1659.js +0 -95
- package/dist/cjs/feed.service-8eca4de6.js +0 -57
- package/dist/cjs/focus-visible-b0b07ba6.js +0 -76
- package/dist/cjs/framework-delegate-59a98abd.js +0 -111
- package/dist/cjs/gesture-controller-0eb5579e.js +0 -196
- package/dist/cjs/haptic-780f33c4.js +0 -116
- package/dist/cjs/hardware-back-button-92d97ff8.js +0 -76
- package/dist/cjs/header-mobile-collapse_61.cjs.entry.js +0 -15124
- package/dist/cjs/helpers-c2496722.js +0 -425
- package/dist/cjs/httpService-d2e7bf8f.js +0 -687
- package/dist/cjs/icons-fda820af.js +0 -26
- package/dist/cjs/index-12082cba.js +0 -465
- package/dist/cjs/index-15ea05f5.js +0 -314
- package/dist/cjs/index-51e8292e.js +0 -1928
- package/dist/cjs/index-787d4498.js +0 -232
- package/dist/cjs/index-8b5629a6.js +0 -186
- package/dist/cjs/index-975586fd.js +0 -48
- package/dist/cjs/index-9c7b27e4.js +0 -140
- package/dist/cjs/index-af080b50.js +0 -139
- package/dist/cjs/index-e56e09b8.js +0 -38
- package/dist/cjs/index.cjs.js +0 -26
- package/dist/cjs/index.es-38cbcdbe.js +0 -10666
- package/dist/cjs/input-shims-eff63b88.js +0 -418
- package/dist/cjs/ion-accordion-group.cjs.entry.js +0 -205
- package/dist/cjs/ion-accordion.cjs.entry.js +0 -336
- package/dist/cjs/ion-action-sheet_7.cjs.entry.js +0 -2935
- package/dist/cjs/ion-app.cjs.entry.js +0 -79
- package/dist/cjs/ion-back-button.cjs.entry.js +0 -94
- package/dist/cjs/ion-backdrop.cjs.entry.js +0 -67
- package/dist/cjs/ion-badge.cjs.entry.js +0 -29
- package/dist/cjs/ion-breadcrumb.cjs.entry.js +0 -95
- package/dist/cjs/ion-breadcrumbs.cjs.entry.js +0 -133
- package/dist/cjs/ion-buttons_3.cjs.entry.js +0 -153
- package/dist/cjs/ion-card-header.cjs.entry.js +0 -37
- package/dist/cjs/ion-card-subtitle.cjs.entry.js +0 -30
- package/dist/cjs/ion-card-title.cjs.entry.js +0 -30
- package/dist/cjs/ion-chip.cjs.entry.js +0 -40
- package/dist/cjs/ion-content_2.cjs.entry.js +0 -659
- package/dist/cjs/ion-datetime-button.cjs.entry.js +0 -312
- package/dist/cjs/ion-datetime.cjs.entry.js +0 -1623
- package/dist/cjs/ion-fab-button.cjs.entry.js +0 -108
- package/dist/cjs/ion-fab-list.cjs.entry.js +0 -45
- package/dist/cjs/ion-fab.cjs.entry.js +0 -76
- package/dist/cjs/ion-footer.cjs.entry.js +0 -120
- package/dist/cjs/ion-img.cjs.entry.js +0 -101
- package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +0 -37
- package/dist/cjs/ion-infinite-scroll.cjs.entry.js +0 -206
- package/dist/cjs/ion-item-divider.cjs.entry.js +0 -40
- package/dist/cjs/ion-item-group.cjs.entry.js +0 -31
- package/dist/cjs/ion-item-option.cjs.entry.js +0 -60
- package/dist/cjs/ion-item-options.cjs.entry.js +0 -47
- package/dist/cjs/ion-item-sliding.cjs.entry.js +0 -398
- package/dist/cjs/ion-loading.cjs.entry.js +0 -215
- package/dist/cjs/ion-menu-button.cjs.entry.js +0 -76
- package/dist/cjs/ion-menu-toggle.cjs.entry.js +0 -47
- package/dist/cjs/ion-menu.cjs.entry.js +0 -575
- package/dist/cjs/ion-modal.cjs.entry.js +0 -1711
- package/dist/cjs/ion-nav-link.cjs.entry.js +0 -47
- package/dist/cjs/ion-nav.cjs.entry.js +0 -872
- package/dist/cjs/ion-picker-column-internal_2.cjs.entry.js +0 -808
- package/dist/cjs/ion-picker-column.cjs.entry.js +0 -331
- package/dist/cjs/ion-picker.cjs.entry.js +0 -221
- package/dist/cjs/ion-progress-bar.cjs.entry.js +0 -74
- package/dist/cjs/ion-refresher-content.cjs.entry.js +0 -35
- package/dist/cjs/ion-refresher.cjs.entry.js +0 -802
- package/dist/cjs/ion-reorder-group.cjs.entry.js +0 -281
- package/dist/cjs/ion-reorder.cjs.entry.js +0 -38
- package/dist/cjs/ion-route-redirect.cjs.entry.js +0 -24
- package/dist/cjs/ion-route.cjs.entry.js +0 -49
- package/dist/cjs/ion-router-link.cjs.entry.js +0 -38
- package/dist/cjs/ion-router-outlet.cjs.entry.js +0 -200
- package/dist/cjs/ion-router.cjs.entry.js +0 -831
- package/dist/cjs/ion-searchbar.cjs.entry.js +0 -370
- package/dist/cjs/ion-segment-button.cjs.entry.js +0 -102
- package/dist/cjs/ion-segment.cjs.entry.js +0 -417
- package/dist/cjs/ion-skeleton-text.cjs.entry.js +0 -33
- package/dist/cjs/ion-slide.cjs.entry.js +0 -25
- package/dist/cjs/ion-slides.cjs.entry.js +0 -391
- package/dist/cjs/ion-split-pane.cjs.entry.js +0 -154
- package/dist/cjs/ion-tab-bar.cjs.entry.js +0 -75
- package/dist/cjs/ion-tab-button.cjs.entry.js +0 -103
- package/dist/cjs/ion-tab.cjs.entry.js +0 -59
- package/dist/cjs/ion-tabs.cjs.entry.js +0 -154
- package/dist/cjs/ion-thumbnail.cjs.entry.js +0 -20
- package/dist/cjs/ion-toast.cjs.entry.js +0 -272
- package/dist/cjs/ion-toggle.cjs.entry.js +0 -177
- package/dist/cjs/ion-virtual-scroll.cjs.entry.js +0 -555
- package/dist/cjs/ionic-global-2cde9d3a.js +0 -231
- package/dist/cjs/ios.transition-da235483.js +0 -482
- package/dist/cjs/keyboard-91096619.js +0 -140
- package/dist/cjs/loader.cjs.js +0 -24
- package/dist/cjs/localstorage.service-6346a41d.js +0 -40
- package/dist/cjs/md.transition-be429e07.js +0 -57
- package/dist/cjs/media.service-8a1b9bc5.js +0 -40
- package/dist/cjs/menu-toggle-util-7a01448c.js +0 -14
- package/dist/cjs/overlays-32df265a.js +0 -507
- package/dist/cjs/parse-d0071120.js +0 -1237
- package/dist/cjs/purify-fb9c107e.js +0 -1468
- package/dist/cjs/signalR.service-bd6b42f9.js +0 -2985
- package/dist/cjs/sparkle-animation-player.cjs.entry.js +0 -515
- package/dist/cjs/sparkle-assignment.cjs.entry.js +0 -110
- package/dist/cjs/sparkle-character-intro.cjs.entry.js +0 -26
- package/dist/cjs/sparkle-code.cjs.entry.js +0 -43
- package/dist/cjs/sparkle-compass-post.cjs.entry.js +0 -133
- package/dist/cjs/sparkle-compass.cjs.entry.js +0 -126
- package/dist/cjs/sparkle-core.cjs.js +0 -22
- package/dist/cjs/sparkle-discussion-questions_2.cjs.entry.js +0 -281
- package/dist/cjs/sparkle-discussion.cjs.entry.js +0 -42
- package/dist/cjs/sparkle-emoji.cjs.entry.js +0 -80
- package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +0 -121
- package/dist/cjs/sparkle-feed-post.cjs.entry.js +0 -116
- package/dist/cjs/sparkle-feedback.cjs.entry.js +0 -101
- package/dist/cjs/sparkle-file-upload.cjs.entry.js +0 -53
- package/dist/cjs/sparkle-goal-form.cjs.entry.js +0 -179
- package/dist/cjs/sparkle-gww-comment-list.cjs.entry.js +0 -26
- package/dist/cjs/sparkle-gww-graph.cjs.entry.js +0 -19
- package/dist/cjs/sparkle-input.cjs.entry.js +0 -56
- package/dist/cjs/sparkle-intro.cjs.entry.js +0 -26
- package/dist/cjs/sparkle-lower-content-nav.cjs.entry.js +0 -22
- package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +0 -46
- package/dist/cjs/sparkle-modal-image.cjs.entry.js +0 -34
- package/dist/cjs/sparkle-notfound-page.cjs.entry.js +0 -25
- package/dist/cjs/sparkle-overlay.cjs.entry.js +0 -92
- package/dist/cjs/sparkle-poll.cjs.entry.js +0 -19
- package/dist/cjs/sparkle-quiz-container.cjs.entry.js +0 -47
- package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +0 -117
- package/dist/cjs/sparkle-quiz-old.cjs.entry.js +0 -120
- package/dist/cjs/sparkle-quiz.cjs.entry.js +0 -103
- package/dist/cjs/sparkle-select.cjs.entry.js +0 -61
- package/dist/cjs/sparkle-sidebar.cjs.entry.js +0 -43
- package/dist/cjs/sparkle-tab.cjs.entry.js +0 -26
- package/dist/cjs/sparkle-table-of-contents.cjs.entry.js +0 -71
- package/dist/cjs/sparkle-tabs.cjs.entry.js +0 -66
- package/dist/cjs/sparkle-video-player.cjs.entry.js +0 -22
- package/dist/cjs/sparkle-youtube.cjs.entry.js +0 -39
- package/dist/cjs/spinner-configs-0ac05f2d.js +0 -147
- package/dist/cjs/status-tap-033befa2.js +0 -42
- package/dist/cjs/stencil-async-content.cjs.entry.js +0 -32
- package/dist/cjs/stencil-route-title.cjs.entry.js +0 -32
- package/dist/cjs/stencil-router-prompt.cjs.entry.js +0 -59
- package/dist/cjs/student.service-7e5385be.js +0 -78
- package/dist/cjs/swipe-back-4a826f9b.js +0 -76
- package/dist/cjs/swiper.bundle-8c897c07.js +0 -6420
- package/dist/cjs/theme-b0b295c1.js +0 -48
- package/dist/cjs/token.service-7a41953d.js +0 -97
- package/dist/cjs/util-47e320b2.js +0 -2462
- package/dist/collection/PrivateRoute.js +0 -27
- package/dist/collection/appconst.js +0 -13
- package/dist/collection/assets/img/forward.svg +0 -5
- package/dist/collection/assets/img/help/fitt-logo.svg +0 -1
- package/dist/collection/assets/img/home/big-white-wall.svg +0 -15
- package/dist/collection/assets/img/home/find-help.svg +0 -23
- package/dist/collection/assets/img/home/lessons.svg +0 -26
- package/dist/collection/assets/img/home/my-goals.svg +0 -19
- package/dist/collection/assets/img/home/my-health.svg +0 -17
- package/dist/collection/assets/img/home/my-mood.svg +0 -26
- package/dist/collection/assets/img/pause.svg +0 -5
- package/dist/collection/assets/img/play-symbol.svg +0 -8
- package/dist/collection/assets/img/play.svg +0 -4
- package/dist/collection/assets/img/rewind.svg +0 -5
- package/dist/collection/assets/lib/SignalRAspNetCoreHelper.js +0 -17
- package/dist/collection/assets/lib/sparkleUtility.js +0 -8
- package/dist/collection/assets/svg/profile.svg +0 -2
- package/dist/collection/collection-manifest.json +0 -219
- package/dist/collection/components/compass-svg/compass-svg.css +0 -15
- package/dist/collection/components/compass-svg/compass-svg.js +0 -156
- package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.css +0 -7
- package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.js +0 -110
- package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.css +0 -3
- package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.js +0 -214
- 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 +0 -172
- package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header.js +0 -104
- package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.css +0 -3
- package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.js +0 -144
- package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.css +0 -14
- package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.js +0 -64
- package/dist/collection/components/layout/facilitator/facilitator-page.css +0 -196
- package/dist/collection/components/layout/facilitator/facilitator-page.js +0 -281
- package/dist/collection/components/layout/facilitator/online-students/online-students.css +0 -0
- package/dist/collection/components/layout/facilitator/online-students/online-students.js +0 -70
- package/dist/collection/components/layout/page/page.css +0 -183
- package/dist/collection/components/layout/page/page.js +0 -321
- package/dist/collection/components/layout/page/templates/default.js +0 -9
- package/dist/collection/components/layout/page/templates/error.js +0 -33
- package/dist/collection/components/layout/page/templates/index.js +0 -8
- package/dist/collection/components/layout/page/templates/pdf.js +0 -8
- package/dist/collection/components/layout/page/to-hypertext.js +0 -27
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.css +0 -3
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.js +0 -252
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.css +0 -12
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.js +0 -59
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.css +0 -33
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.js +0 -37
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.css +0 -8
- package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.js +0 -40
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.css +0 -7
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.js +0 -52
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-graph/sparkle-gww-graph.css +0 -3
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-graph/sparkle-gww-graph.js +0 -14
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.css +0 -30
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.js +0 -187
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.css +0 -3
- package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.js +0 -43
- package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.css +0 -10
- package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.js +0 -111
- package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.css +0 -11
- package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.js +0 -127
- package/dist/collection/components/modal-image/modal-image.css +0 -61
- package/dist/collection/components/modal-image/modal-image.js +0 -159
- 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 +0 -94
- package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.css +0 -157
- package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.js +0 -598
- package/dist/collection/components/sparkle-assignment/sparkle-assignment.css +0 -30
- package/dist/collection/components/sparkle-assignment/sparkle-assignment.js +0 -159
- 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 +0 -74
- package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.js +0 -68
- package/dist/collection/components/sparkle-compass/sparkle-compass-post/sparkle-compass-post.css +0 -35
- package/dist/collection/components/sparkle-compass/sparkle-compass-post/sparkle-compass-post.js +0 -171
- package/dist/collection/components/sparkle-compass/sparkle-compass.css +0 -25
- package/dist/collection/components/sparkle-compass/sparkle-compass.js +0 -283
- package/dist/collection/components/sparkle-course-root/sparkle-course-root.css +0 -3
- package/dist/collection/components/sparkle-course-root/sparkle-course-root.js +0 -196
- package/dist/collection/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.css +0 -157
- package/dist/collection/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.js +0 -232
- package/dist/collection/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.css +0 -158
- package/dist/collection/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.js +0 -274
- package/dist/collection/components/sparkle-discussion/sparkle-discussion.css +0 -5
- package/dist/collection/components/sparkle-discussion/sparkle-discussion.js +0 -112
- package/dist/collection/components/sparkle-emoji/sparkle-emoji.css +0 -16
- package/dist/collection/components/sparkle-emoji/sparkle-emoji.js +0 -116
- package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.css +0 -35
- package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +0 -193
- package/dist/collection/components/sparkle-feedback/sparkle-feedback.css +0 -3
- package/dist/collection/components/sparkle-feedback/sparkle-feedback.js +0 -118
- package/dist/collection/components/sparkle-file-upload/sparkle-file-upload.css +0 -0
- package/dist/collection/components/sparkle-file-upload/sparkle-file-upload.js +0 -105
- package/dist/collection/components/sparkle-forgot-password/sparkle-forgot-password.css +0 -4
- package/dist/collection/components/sparkle-forgot-password/sparkle-forgot-password.js +0 -107
- package/dist/collection/components/sparkle-input/sparkle-input.css +0 -0
- package/dist/collection/components/sparkle-input/sparkle-input.js +0 -212
- package/dist/collection/components/sparkle-intro/sparkle-intro.css +0 -15
- package/dist/collection/components/sparkle-intro/sparkle-intro.js +0 -35
- package/dist/collection/components/sparkle-login/sparkle-login.css +0 -4
- package/dist/collection/components/sparkle-login/sparkle-login.js +0 -173
- package/dist/collection/components/sparkle-poll/sparkle-poll.css +0 -3
- package/dist/collection/components/sparkle-poll/sparkle-poll.js +0 -15
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-feedback/sparkle-quiz-feedback.css +0 -3
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-feedback/sparkle-quiz-feedback.js +0 -69
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-input/sparkle-quiz-input.css +0 -3
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-input/sparkle-quiz-input.js +0 -59
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-old/sparkle-quiz-old.css +0 -48
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-old/sparkle-quiz-old.js +0 -327
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-opinion/sparkle-quiz-opinion.css +0 -18
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-opinion/sparkle-quiz-opinion.js +0 -106
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-poll/sparkle-quiz-poll.css +0 -3
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-poll/sparkle-quiz-poll.js +0 -59
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-select/sparkle-quiz-select.css +0 -3
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-select/sparkle-quiz-select.js +0 -100
- package/dist/collection/components/sparkle-quiz/sparkle-quiz.css +0 -48
- package/dist/collection/components/sparkle-quiz/sparkle-quiz.js +0 -221
- package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.css +0 -3
- package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.js +0 -98
- package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.css +0 -3
- package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.js +0 -126
- package/dist/collection/components/sparkle-root/sparkle-root.css +0 -61
- package/dist/collection/components/sparkle-root/sparkle-root.js +0 -86
- package/dist/collection/components/sparkle-signup/sparkle-signup.css +0 -6
- package/dist/collection/components/sparkle-signup/sparkle-signup.js +0 -197
- package/dist/collection/components/sparkle-unauthorized/sparkle-unauthorized.css +0 -13
- package/dist/collection/components/sparkle-unauthorized/sparkle-unauthorized.js +0 -18
- package/dist/collection/components/sparkle-user-enrollment/sparkle-user-enrollment.css +0 -3
- package/dist/collection/components/sparkle-user-enrollment/sparkle-user-enrollment.js +0 -93
- package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.css +0 -54
- package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.js +0 -151
- package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.css +0 -11
- package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.js +0 -44
- package/dist/collection/components/sparkle-video-player/sparkle-video-player.css +0 -0
- package/dist/collection/components/sparkle-video-player/sparkle-video-player.js +0 -92
- package/dist/collection/components/sparkle-youtube/sparkle-youtube.css +0 -24
- package/dist/collection/components/sparkle-youtube/sparkle-youtube.js +0 -99
- package/dist/collection/global/app.js +0 -4
- package/dist/collection/helpers/utils.js +0 -3
- package/dist/collection/icons.js +0 -36
- package/dist/collection/index.js +0 -3
- package/dist/collection/l10n.js +0 -18
- package/dist/collection/models/api.model.js +0 -7
- package/dist/collection/models/assets.model.js +0 -1
- package/dist/collection/models/auth/auth.user.js +0 -1
- package/dist/collection/models/class.model.js +0 -5
- package/dist/collection/models/course.model.js +0 -10
- package/dist/collection/models/definitions.js +0 -1
- package/dist/collection/models/facilitator-dashboard.model.js +0 -5
- package/dist/collection/models/goal.model.js +0 -1
- package/dist/collection/models/index.js +0 -1
- package/dist/collection/models/markdown.model.js +0 -1
- package/dist/collection/models/page.model.js +0 -1
- package/dist/collection/models/quiz.model.js +0 -3
- package/dist/collection/models/user.model.js +0 -1
- package/dist/collection/pages/course/welcome-to-mind-body/introduction/animation/m4l1p1_part1.js +0 -2727
- package/dist/collection/pages/course/welcome-to-mind-body/introduction/animation/m4l1p1_part2.js +0 -2042
- package/dist/collection/services/account.service.js +0 -61
- package/dist/collection/services/appdata.service.js +0 -60
- package/dist/collection/services/assignment.service.js +0 -14
- package/dist/collection/services/auth/auth.service.js +0 -64
- package/dist/collection/services/core/assets.service.js +0 -45
- package/dist/collection/services/core/localstorage.service.js +0 -34
- package/dist/collection/services/environment/environment-config.js +0 -24
- package/dist/collection/services/environment/environment-config.service.js +0 -24
- package/dist/collection/services/facilitator.service.js +0 -76
- package/dist/collection/services/feed.service.js +0 -43
- package/dist/collection/services/httpService.js +0 -103
- package/dist/collection/services/index.js +0 -4
- package/dist/collection/services/media.service.js +0 -29
- package/dist/collection/services/signalR.service.js +0 -83
- package/dist/collection/services/store.service.js +0 -13
- package/dist/collection/services/student.service.js +0 -56
- package/dist/collection/services/token.service.js +0 -79
- package/dist/collection/stores/auth.store.js +0 -12
- package/dist/collection/stores/class.store.js +0 -5
- package/dist/collection/stores/error.store.js +0 -5
- package/dist/collection/stores/facilitator.store.js +0 -15
- package/dist/collection/stores/feed.store.js +0 -8
- package/dist/collection/stores/goal.store.js +0 -7
- package/dist/collection/stores/index.js +0 -1
- package/dist/collection/stores/media.store.js +0 -5
- package/dist/collection/stores/mood.store.js +0 -5
- package/dist/collection/stores/nav.store.js +0 -11
- package/dist/collection/stores/signalR.store.js +0 -6
- package/dist/collection/stores/theme.store.js +0 -9
- package/dist/collection/stores/toc.store.js +0 -5
- package/dist/collection/stores/user.store.js +0 -16
- package/dist/collection/util.js +0 -55
- package/dist/collection/utils.js +0 -92
- package/dist/esm/PrivateRoute-90ac95b8.js +0 -212
- package/dist/esm/active-router-fc9e4e06.js +0 -73
- package/dist/esm/animation-12377cb3.js +0 -984
- package/dist/esm/app-globals-3f0347b0.js +0 -7
- package/dist/esm/appdata.service-2e84e167.js +0 -70
- package/dist/esm/assets.service-def1d63c.js +0 -48
- package/dist/esm/assignment.service-8d31f141.js +0 -17
- package/dist/esm/auth.store-dba2c2da.js +0 -3381
- package/dist/esm/compass-svg.entry.js +0 -128
- package/dist/esm/context-consumer.entry.js +0 -25
- package/dist/esm/course-select.entry.js +0 -26
- package/dist/esm/dir-03012648.js +0 -18
- package/dist/esm/environment-config.service-b191f276.js +0 -26
- package/dist/esm/facilitator.service-18c47bdf.js +0 -92
- package/dist/esm/feed.service-b4f3cae4.js +0 -54
- package/dist/esm/framework-delegate-3e634a5c.js +0 -107
- package/dist/esm/gesture-controller-7be18351.js +0 -194
- package/dist/esm/haptic-522f76f2.js +0 -110
- package/dist/esm/header-mobile-collapse_61.entry.js +0 -15060
- package/dist/esm/helpers-bf0e23d6.js +0 -403
- package/dist/esm/httpService-7986aeed.js +0 -685
- package/dist/esm/icons-1c794c74.js +0 -18
- package/dist/esm/index-21661af2.js +0 -463
- package/dist/esm/index-2b84cad2.js +0 -223
- package/dist/esm/index-4044fde9.js +0 -25
- package/dist/esm/index-45fec1e7.js +0 -184
- package/dist/esm/index-5e8971ae.js +0 -128
- package/dist/esm/index-c04b9ed5.js +0 -1888
- package/dist/esm/index-cded2d87.js +0 -312
- package/dist/esm/index-dad75b83.js +0 -34
- package/dist/esm/index.es-e0c0f891.js +0 -10580
- package/dist/esm/index.js +0 -12
- package/dist/esm/input-shims-671d8d9f.js +0 -416
- package/dist/esm/ion-accordion-group.entry.js +0 -201
- package/dist/esm/ion-accordion.entry.js +0 -332
- package/dist/esm/ion-action-sheet_7.entry.js +0 -2925
- package/dist/esm/ion-app.entry.js +0 -75
- package/dist/esm/ion-back-button.entry.js +0 -90
- package/dist/esm/ion-backdrop.entry.js +0 -63
- package/dist/esm/ion-badge.entry.js +0 -25
- package/dist/esm/ion-breadcrumb.entry.js +0 -91
- package/dist/esm/ion-breadcrumbs.entry.js +0 -129
- package/dist/esm/ion-buttons_3.entry.js +0 -147
- package/dist/esm/ion-card-header.entry.js +0 -33
- package/dist/esm/ion-card-subtitle.entry.js +0 -26
- package/dist/esm/ion-card-title.entry.js +0 -26
- package/dist/esm/ion-chip.entry.js +0 -36
- package/dist/esm/ion-content_2.entry.js +0 -654
- package/dist/esm/ion-datetime-button.entry.js +0 -308
- package/dist/esm/ion-datetime.entry.js +0 -1619
- package/dist/esm/ion-fab-button.entry.js +0 -104
- package/dist/esm/ion-fab-list.entry.js +0 -41
- package/dist/esm/ion-fab.entry.js +0 -72
- package/dist/esm/ion-footer.entry.js +0 -116
- package/dist/esm/ion-img.entry.js +0 -97
- package/dist/esm/ion-infinite-scroll-content.entry.js +0 -33
- package/dist/esm/ion-infinite-scroll.entry.js +0 -202
- package/dist/esm/ion-item-divider.entry.js +0 -36
- package/dist/esm/ion-item-group.entry.js +0 -27
- package/dist/esm/ion-item-option.entry.js +0 -56
- package/dist/esm/ion-item-options.entry.js +0 -43
- package/dist/esm/ion-item-sliding.entry.js +0 -394
- package/dist/esm/ion-loading.entry.js +0 -211
- package/dist/esm/ion-menu-button.entry.js +0 -72
- package/dist/esm/ion-menu-toggle.entry.js +0 -43
- package/dist/esm/ion-menu.entry.js +0 -571
- package/dist/esm/ion-modal.entry.js +0 -1707
- package/dist/esm/ion-nav-link.entry.js +0 -43
- package/dist/esm/ion-nav.entry.js +0 -868
- package/dist/esm/ion-picker-column-internal_2.entry.js +0 -803
- package/dist/esm/ion-picker-column.entry.js +0 -327
- package/dist/esm/ion-picker.entry.js +0 -217
- package/dist/esm/ion-progress-bar.entry.js +0 -70
- package/dist/esm/ion-refresher-content.entry.js +0 -31
- package/dist/esm/ion-refresher.entry.js +0 -798
- package/dist/esm/ion-reorder-group.entry.js +0 -277
- package/dist/esm/ion-reorder.entry.js +0 -34
- package/dist/esm/ion-route-redirect.entry.js +0 -20
- package/dist/esm/ion-route.entry.js +0 -45
- package/dist/esm/ion-router-link.entry.js +0 -34
- package/dist/esm/ion-router-outlet.entry.js +0 -196
- package/dist/esm/ion-router.entry.js +0 -827
- package/dist/esm/ion-searchbar.entry.js +0 -366
- package/dist/esm/ion-segment-button.entry.js +0 -98
- package/dist/esm/ion-segment.entry.js +0 -413
- package/dist/esm/ion-skeleton-text.entry.js +0 -29
- package/dist/esm/ion-slide.entry.js +0 -21
- package/dist/esm/ion-slides.entry.js +0 -387
- package/dist/esm/ion-split-pane.entry.js +0 -150
- package/dist/esm/ion-tab-bar.entry.js +0 -71
- package/dist/esm/ion-tab-button.entry.js +0 -99
- package/dist/esm/ion-tab.entry.js +0 -55
- package/dist/esm/ion-tabs.entry.js +0 -150
- package/dist/esm/ion-thumbnail.entry.js +0 -16
- package/dist/esm/ion-toast.entry.js +0 -268
- package/dist/esm/ion-toggle.entry.js +0 -173
- package/dist/esm/ion-virtual-scroll.entry.js +0 -551
- package/dist/esm/ionic-global-4903e23e.js +0 -226
- package/dist/esm/ios.transition-131d64fe.js +0 -479
- package/dist/esm/loader.js +0 -20
- package/dist/esm/md.transition-f6126011.js +0 -55
- package/dist/esm/media.service-6e90bc41.js +0 -37
- package/dist/esm/menu-toggle-util-bace8ae6.js +0 -12
- package/dist/esm/overlays-4233a39d.js +0 -491
- package/dist/esm/parse-1ae3a9bb.js +0 -1196
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/purify-85bfcc69.js +0 -1466
- package/dist/esm/signalR.service-c33fba50.js +0 -2982
- package/dist/esm/sparkle-animation-player.entry.js +0 -511
- package/dist/esm/sparkle-assignment.entry.js +0 -106
- package/dist/esm/sparkle-character-intro.entry.js +0 -22
- package/dist/esm/sparkle-code.entry.js +0 -39
- package/dist/esm/sparkle-compass-post.entry.js +0 -129
- package/dist/esm/sparkle-compass.entry.js +0 -122
- package/dist/esm/sparkle-core.js +0 -20
- package/dist/esm/sparkle-discussion-questions_2.entry.js +0 -276
- package/dist/esm/sparkle-discussion.entry.js +0 -38
- package/dist/esm/sparkle-emoji.entry.js +0 -76
- package/dist/esm/sparkle-facilitator-notes-form.entry.js +0 -117
- package/dist/esm/sparkle-feed-post.entry.js +0 -112
- package/dist/esm/sparkle-feedback.entry.js +0 -97
- package/dist/esm/sparkle-file-upload.entry.js +0 -49
- package/dist/esm/sparkle-goal-form.entry.js +0 -175
- package/dist/esm/sparkle-gww-comment-list.entry.js +0 -22
- package/dist/esm/sparkle-gww-graph.entry.js +0 -15
- package/dist/esm/sparkle-input.entry.js +0 -52
- package/dist/esm/sparkle-intro.entry.js +0 -22
- package/dist/esm/sparkle-lower-content-nav.entry.js +0 -18
- package/dist/esm/sparkle-menu-collapsible.entry.js +0 -42
- package/dist/esm/sparkle-modal-image.entry.js +0 -30
- package/dist/esm/sparkle-notfound-page.entry.js +0 -21
- package/dist/esm/sparkle-overlay.entry.js +0 -88
- package/dist/esm/sparkle-poll.entry.js +0 -15
- package/dist/esm/sparkle-quiz-container.entry.js +0 -43
- package/dist/esm/sparkle-quiz-feedback_5.entry.js +0 -109
- package/dist/esm/sparkle-quiz-old.entry.js +0 -116
- package/dist/esm/sparkle-quiz.entry.js +0 -99
- package/dist/esm/sparkle-select.entry.js +0 -57
- package/dist/esm/sparkle-sidebar.entry.js +0 -39
- package/dist/esm/sparkle-tab.entry.js +0 -22
- package/dist/esm/sparkle-table-of-contents.entry.js +0 -67
- package/dist/esm/sparkle-tabs.entry.js +0 -62
- package/dist/esm/sparkle-video-player.entry.js +0 -18
- package/dist/esm/sparkle-youtube.entry.js +0 -35
- package/dist/esm/status-tap-dde52787.js +0 -40
- package/dist/esm/stencil-async-content.entry.js +0 -28
- package/dist/esm/stencil-route-title.entry.js +0 -28
- package/dist/esm/stencil-router-prompt.entry.js +0 -55
- package/dist/esm/student.service-08af124f.js +0 -75
- package/dist/esm/swipe-back-7847a0c1.js +0 -74
- package/dist/esm/swiper.bundle-b6a959de.js +0 -6418
- package/dist/esm/token.service-71a5d33f.js +0 -94
- package/dist/esm/util-57cc8006.js +0 -2451
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/loader/cdn.js +0 -3
- package/dist/loader/index.cjs.js +0 -3
- package/dist/loader/index.d.ts +0 -12
- package/dist/loader/index.es2017.js +0 -3
- package/dist/loader/index.js +0 -4
- package/dist/loader/package.json +0 -10
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.ios.css +0 -75
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.md.css +0 -72
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.ios.css +0 -25
- package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.md.css +0 -59
- package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.ios.css +0 -357
- package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.md.css +0 -290
- package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.ios.css +0 -494
- package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.md.css +0 -502
- package/dist/node_modules/@ionic/core/dist/collection/components/app/app.css +0 -17
- package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.ios.css +0 -22
- package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.md.css +0 -22
- package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.ios.css +0 -281
- package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.md.css +0 -309
- package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.ios.css +0 -26
- package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.md.css +0 -26
- package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.ios.css +0 -58
- package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.md.css +0 -62
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.ios.css +0 -234
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.md.css +0 -237
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -38
- package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -37
- package/dist/node_modules/@ionic/core/dist/collection/components/button/button.ios.css +0 -439
- package/dist/node_modules/@ionic/core/dist/collection/components/button/button.md.css +0 -428
- package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.ios.css +0 -128
- package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.md.css +0 -151
- package/dist/node_modules/@ionic/core/dist/collection/components/card/card.ios.css +0 -101
- package/dist/node_modules/@ionic/core/dist/collection/components/card/card.md.css +0 -95
- package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.ios.css +0 -61
- package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.md.css +0 -63
- package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.ios.css +0 -37
- package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.md.css +0 -35
- package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.ios.css +0 -28
- package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.md.css +0 -26
- package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.ios.css +0 -27
- package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.md.css +0 -27
- package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.ios.css +0 -169
- package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.md.css +0 -172
- package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.ios.css +0 -200
- package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.md.css +0 -200
- package/dist/node_modules/@ionic/core/dist/collection/components/col/col.css +0 -108
- package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +0 -237
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +0 -648
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +0 -637
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +0 -60
- package/dist/node_modules/@ionic/core/dist/collection/components/fab/fab.css +0 -61
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.ios.css +0 -338
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.md.css +0 -307
- package/dist/node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.css +0 -116
- package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.ios.css +0 -37
- package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.md.css +0 -37
- package/dist/node_modules/@ionic/core/dist/collection/components/grid/grid.css +0 -151
- package/dist/node_modules/@ionic/core/dist/collection/components/header/header.ios.css +0 -108
- package/dist/node_modules/@ionic/core/dist/collection/components/header/header.md.css +0 -40
- package/dist/node_modules/@ionic/core/dist/collection/components/img/img.css +0 -12
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.css +0 -8
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -54
- package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -54
- package/dist/node_modules/@ionic/core/dist/collection/components/input/input.ios.css +0 -185
- package/dist/node_modules/@ionic/core/dist/collection/components/input/input.md.css +0 -185
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +0 -669
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +0 -928
- package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.ios.css +0 -204
- package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.md.css +0 -297
- package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.ios.css +0 -3
- package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.md.css +0 -3
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +0 -186
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +0 -180
- package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css +0 -88
- package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css +0 -85
- package/dist/node_modules/@ionic/core/dist/collection/components/item-sliding/item-sliding.css +0 -42
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +0 -156
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.md.css +0 -250
- package/dist/node_modules/@ionic/core/dist/collection/components/list/list.ios.css +0 -91
- package/dist/node_modules/@ionic/core/dist/collection/components/list/list.md.css +0 -114
- package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.ios.css +0 -118
- package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.md.css +0 -94
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +0 -109
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +0 -100
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +0 -127
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +0 -123
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.ios.css +0 -175
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.md.css +0 -178
- package/dist/node_modules/@ionic/core/dist/collection/components/menu-toggle/menu-toggle.css +0 -3
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +0 -250
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +0 -177
- package/dist/node_modules/@ionic/core/dist/collection/components/nav/nav.css +0 -10
- package/dist/node_modules/@ionic/core/dist/collection/components/note/note.ios.css +0 -16
- package/dist/node_modules/@ionic/core/dist/collection/components/note/note.md.css +0 -17
- package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.ios.css +0 -217
- package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.md.css +0 -204
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.ios.css +0 -122
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.md.css +0 -123
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +0 -82
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +0 -85
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +0 -126
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +0 -122
- package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.ios.css +0 -201
- package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.md.css +0 -132
- package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.ios.css +0 -206
- package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.md.css +0 -206
- package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.ios.css +0 -177
- package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.md.css +0 -178
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +0 -275
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +0 -320
- package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.ios.css +0 -189
- package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.md.css +0 -210
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.ios.css +0 -15
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.md.css +0 -15
- package/dist/node_modules/@ionic/core/dist/collection/components/reorder-group/reorder-group.css +0 -33
- package/dist/node_modules/@ionic/core/dist/collection/components/ripple-effect/ripple-effect.css +0 -58
- package/dist/node_modules/@ionic/core/dist/collection/components/router-link/router-link.css +0 -29
- package/dist/node_modules/@ionic/core/dist/collection/components/router-outlet/route-outlet.css +0 -10
- package/dist/node_modules/@ionic/core/dist/collection/components/row/row.css +0 -4
- package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.ios.css +0 -348
- package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.md.css +0 -279
- package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css +0 -65
- package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.md.css +0 -36
- package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.ios.css +0 -446
- package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.md.css +0 -424
- package/dist/node_modules/@ionic/core/dist/collection/components/select/select.ios.css +0 -145
- package/dist/node_modules/@ionic/core/dist/collection/components/select/select.md.css +0 -177
- package/dist/node_modules/@ionic/core/dist/collection/components/select-option/select-option.css +0 -3
- package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.ios.css +0 -14
- package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.md.css +0 -37
- package/dist/node_modules/@ionic/core/dist/collection/components/skeleton-text/skeleton-text.css +0 -53
- package/dist/node_modules/@ionic/core/dist/collection/components/slide/slide.css +0 -31
- package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.ios.css +0 -764
- package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.md.css +0 -764
- package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +0 -167
- package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.ios.css +0 -108
- package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.md.css +0 -108
- package/dist/node_modules/@ionic/core/dist/collection/components/tab/tab.css +0 -4
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.ios.css +0 -97
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.md.css +0 -82
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.ios.css +0 -308
- package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.md.css +0 -331
- package/dist/node_modules/@ionic/core/dist/collection/components/tabs/tabs.css +0 -19
- package/dist/node_modules/@ionic/core/dist/collection/components/text/text.css +0 -3
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +0 -175
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +0 -179
- package/dist/node_modules/@ionic/core/dist/collection/components/thumbnail/thumbnail.css +0 -21
- package/dist/node_modules/@ionic/core/dist/collection/components/title/title.ios.css +0 -122
- package/dist/node_modules/@ionic/core/dist/collection/components/title/title.md.css +0 -55
- package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.ios.css +0 -262
- package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.md.css +0 -295
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +0 -286
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +0 -261
- package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.ios.css +0 -175
- package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.md.css +0 -168
- package/dist/node_modules/@ionic/core/dist/collection/components/virtual-scroll/virtual-scroll.css +0 -21
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/button/button.css +0 -49
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/card/card.css +0 -208
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/cards.css +0 -31
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/code/code.css +0 -245
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/dropdown/dropdown.css +0 -115
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header-mobile-collapse/header-mobile-collapse.css +0 -255
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header.css +0 -232
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/collapsible/collapsible.css +0 -3
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu-toggle/menu-toggle.css +0 -25
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu.css +0 -71
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/nav/nav.css +0 -194
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/notfound-page/notfound-page.css +0 -4
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/overlay/overlay.css +0 -67
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/page-footer/page-footer.css +0 -25
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/pagination/pagination.css +0 -93
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/select/select.css +0 -52
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sidebar/sidebar.css +0 -98
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sparkle-lower-content-nav/sparkle-lower-content-nav.css +0 -8
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/table-of-contents/table-of-contents.css +0 -37
- package/dist/node_modules/@sparkle-learning/components/dist/collection/components/tabs/tabs.css +0 -64
- package/dist/node_modules/@stencil/router/dist/collection/components/route/route.css +0 -3
- package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +0 -101
- package/dist/sparkle-core/p-00d10dc9.js +0 -4
- package/dist/sparkle-core/p-0147266a.js +0 -1
- package/dist/sparkle-core/p-04c7b276.entry.js +0 -1
- package/dist/sparkle-core/p-05c032dd.js +0 -4
- package/dist/sparkle-core/p-06642405.entry.js +0 -1
- package/dist/sparkle-core/p-0664370b.entry.js +0 -1
- package/dist/sparkle-core/p-06c7d0f2.entry.js +0 -1
- package/dist/sparkle-core/p-076f0239.js +0 -4
- package/dist/sparkle-core/p-077c732b.js +0 -4
- package/dist/sparkle-core/p-08420531.entry.js +0 -1
- package/dist/sparkle-core/p-08cca80d.entry.js +0 -1
- package/dist/sparkle-core/p-0ad5c123.entry.js +0 -1
- package/dist/sparkle-core/p-0afa3a4d.entry.js +0 -1
- package/dist/sparkle-core/p-0c3f3ea6.entry.js +0 -1
- package/dist/sparkle-core/p-0e4de1d0.js +0 -4
- package/dist/sparkle-core/p-0e8e539f.entry.js +0 -1
- package/dist/sparkle-core/p-11356b03.entry.js +0 -1
- package/dist/sparkle-core/p-11a6c175.entry.js +0 -1
- package/dist/sparkle-core/p-12dd96d7.js +0 -4
- package/dist/sparkle-core/p-13ec39db.entry.js +0 -1
- package/dist/sparkle-core/p-1adc98f6.js +0 -1
- package/dist/sparkle-core/p-1b1ba156.entry.js +0 -1
- package/dist/sparkle-core/p-1e125ca5.entry.js +0 -1
- package/dist/sparkle-core/p-1e4782af.entry.js +0 -1
- package/dist/sparkle-core/p-2033cd86.js +0 -7
- package/dist/sparkle-core/p-214d1229.entry.js +0 -1
- package/dist/sparkle-core/p-23aca7ca.js +0 -4
- package/dist/sparkle-core/p-24cb9a33.entry.js +0 -1
- package/dist/sparkle-core/p-27fbabc3.entry.js +0 -1
- package/dist/sparkle-core/p-2ba70507.entry.js +0 -1
- package/dist/sparkle-core/p-2c1ca854.entry.js +0 -1
- package/dist/sparkle-core/p-2d9659e2.entry.js +0 -1
- package/dist/sparkle-core/p-2f569553.js +0 -1
- package/dist/sparkle-core/p-30b810d1.entry.js +0 -4
- package/dist/sparkle-core/p-32f4e565.entry.js +0 -1
- package/dist/sparkle-core/p-352677e6.entry.js +0 -1
- package/dist/sparkle-core/p-38b7cf68.entry.js +0 -1
- package/dist/sparkle-core/p-38c842d5.entry.js +0 -1
- package/dist/sparkle-core/p-3963e02b.entry.js +0 -1
- package/dist/sparkle-core/p-39712c56.entry.js +0 -4
- package/dist/sparkle-core/p-39a31e43.js +0 -1
- package/dist/sparkle-core/p-3daf2915.entry.js +0 -352
- package/dist/sparkle-core/p-3de0e00c.js +0 -4
- package/dist/sparkle-core/p-4053ecdb.entry.js +0 -1
- package/dist/sparkle-core/p-408176ba.js +0 -1
- package/dist/sparkle-core/p-42ed7d5f.entry.js +0 -1
- package/dist/sparkle-core/p-48f72e63.js +0 -4
- package/dist/sparkle-core/p-4b4a8703.js +0 -1
- package/dist/sparkle-core/p-4c6a7e52.js +0 -1
- package/dist/sparkle-core/p-4d1cfcbe.entry.js +0 -1
- package/dist/sparkle-core/p-4d4077ea.js +0 -4
- package/dist/sparkle-core/p-4fba3e4c.js +0 -1
- package/dist/sparkle-core/p-506221fe.js +0 -4
- package/dist/sparkle-core/p-5096739e.entry.js +0 -1
- package/dist/sparkle-core/p-5322c920.entry.js +0 -1
- package/dist/sparkle-core/p-5893bbe5.entry.js +0 -1
- package/dist/sparkle-core/p-594a6982.entry.js +0 -1
- package/dist/sparkle-core/p-5c435d5a.entry.js +0 -1
- package/dist/sparkle-core/p-5cad23f1.js +0 -3
- package/dist/sparkle-core/p-5d409601.js +0 -1
- package/dist/sparkle-core/p-601397df.entry.js +0 -1
- package/dist/sparkle-core/p-604a7987.js +0 -4
- package/dist/sparkle-core/p-616941c6.entry.js +0 -1
- package/dist/sparkle-core/p-6316d124.entry.js +0 -1
- package/dist/sparkle-core/p-63f71ada.entry.js +0 -1
- package/dist/sparkle-core/p-69487d90.entry.js +0 -1
- package/dist/sparkle-core/p-6bde0192.entry.js +0 -7
- package/dist/sparkle-core/p-6d2f4093.entry.js +0 -7
- package/dist/sparkle-core/p-6ffd2420.entry.js +0 -1
- package/dist/sparkle-core/p-72053ae0.entry.js +0 -1
- package/dist/sparkle-core/p-73721c84.js +0 -4
- package/dist/sparkle-core/p-74864276.entry.js +0 -1
- package/dist/sparkle-core/p-7d8427eb.js +0 -4
- package/dist/sparkle-core/p-7dae0f0e.js +0 -1
- package/dist/sparkle-core/p-7dbfc316.js +0 -1
- package/dist/sparkle-core/p-7e7ce516.js +0 -4
- package/dist/sparkle-core/p-81714d94.entry.js +0 -1
- package/dist/sparkle-core/p-8492a765.entry.js +0 -1
- package/dist/sparkle-core/p-859563db.entry.js +0 -1
- package/dist/sparkle-core/p-85d4cd5c.entry.js +0 -1
- package/dist/sparkle-core/p-865f36a8.entry.js +0 -1
- package/dist/sparkle-core/p-86ed13f0.js +0 -5
- package/dist/sparkle-core/p-871106e0.js +0 -4
- package/dist/sparkle-core/p-894ff7e6.entry.js +0 -1
- package/dist/sparkle-core/p-8a41b502.entry.js +0 -1
- package/dist/sparkle-core/p-8b56f734.js +0 -1
- package/dist/sparkle-core/p-8c74cbb6.entry.js +0 -1
- package/dist/sparkle-core/p-924b2917.js +0 -4
- package/dist/sparkle-core/p-9289cdbc.entry.js +0 -1
- package/dist/sparkle-core/p-957715c5.entry.js +0 -1
- package/dist/sparkle-core/p-973fe404.entry.js +0 -22
- package/dist/sparkle-core/p-975b99ee.entry.js +0 -1
- package/dist/sparkle-core/p-98daeddb.entry.js +0 -1
- package/dist/sparkle-core/p-99ee9919.js +0 -1
- package/dist/sparkle-core/p-9abbd715.entry.js +0 -1
- package/dist/sparkle-core/p-9d894ed4.js +0 -4
- package/dist/sparkle-core/p-9e309b3e.entry.js +0 -1
- package/dist/sparkle-core/p-9e7fee8f.entry.js +0 -1
- package/dist/sparkle-core/p-9ebf0537.entry.js +0 -1
- package/dist/sparkle-core/p-a208ab2d.js +0 -4
- package/dist/sparkle-core/p-a2638250.entry.js +0 -1
- package/dist/sparkle-core/p-a2ebcf0a.entry.js +0 -1
- package/dist/sparkle-core/p-a98d7ebe.entry.js +0 -1
- package/dist/sparkle-core/p-add30d46.js +0 -4
- package/dist/sparkle-core/p-b0603d19.js +0 -16
- package/dist/sparkle-core/p-b06e2bef.js +0 -1
- package/dist/sparkle-core/p-b3f375fb.entry.js +0 -1
- package/dist/sparkle-core/p-b5f3e1bf.entry.js +0 -1
- package/dist/sparkle-core/p-b6fec622.entry.js +0 -1
- package/dist/sparkle-core/p-b8d71ff4.js +0 -1
- package/dist/sparkle-core/p-b96f3c84.entry.js +0 -7
- package/dist/sparkle-core/p-bd80ff43.js +0 -4
- package/dist/sparkle-core/p-bd90903e.js +0 -1
- package/dist/sparkle-core/p-be64105c.entry.js +0 -1
- package/dist/sparkle-core/p-c0533c23.entry.js +0 -1
- package/dist/sparkle-core/p-c2990b24.entry.js +0 -1
- package/dist/sparkle-core/p-c3cadfc6.entry.js +0 -1
- package/dist/sparkle-core/p-c60b29bd.entry.js +0 -4
- package/dist/sparkle-core/p-c64a34cd.entry.js +0 -1
- package/dist/sparkle-core/p-c7e21070.entry.js +0 -1
- package/dist/sparkle-core/p-c9f753a4.js +0 -1
- package/dist/sparkle-core/p-cabe9139.js +0 -1
- package/dist/sparkle-core/p-cabfbf22.entry.js +0 -1
- package/dist/sparkle-core/p-cc518c36.entry.js +0 -1
- package/dist/sparkle-core/p-cffd4817.entry.js +0 -1
- package/dist/sparkle-core/p-d0adf726.entry.js +0 -1
- package/dist/sparkle-core/p-d20e4fcf.entry.js +0 -1
- package/dist/sparkle-core/p-d24e53ab.entry.js +0 -1
- package/dist/sparkle-core/p-d288e6c1.entry.js +0 -1
- package/dist/sparkle-core/p-d601810e.entry.js +0 -1
- package/dist/sparkle-core/p-d68092b7.js +0 -4
- package/dist/sparkle-core/p-da391f3f.js +0 -1
- package/dist/sparkle-core/p-de4deb61.entry.js +0 -1
- package/dist/sparkle-core/p-e0cad1bb.js +0 -1
- package/dist/sparkle-core/p-e249aebf.entry.js +0 -1
- package/dist/sparkle-core/p-e3e36ce9.entry.js +0 -1
- package/dist/sparkle-core/p-e421d638.entry.js +0 -1
- package/dist/sparkle-core/p-e686d8b5.entry.js +0 -4
- package/dist/sparkle-core/p-e8988989.entry.js +0 -1
- package/dist/sparkle-core/p-e9431eeb.js +0 -7
- package/dist/sparkle-core/p-ea962e1b.entry.js +0 -1
- package/dist/sparkle-core/p-eaa8bbee.js +0 -4
- package/dist/sparkle-core/p-ebd4354b.entry.js +0 -1
- package/dist/sparkle-core/p-ee1e0eb4.js +0 -2
- package/dist/sparkle-core/p-ef4edc48.entry.js +0 -4
- package/dist/sparkle-core/p-f196c124.entry.js +0 -7
- package/dist/sparkle-core/p-f3cba72a.js +0 -4
- package/dist/sparkle-core/p-f47fe1fe.entry.js +0 -1
- package/dist/sparkle-core/p-f714f77a.entry.js +0 -1
- package/dist/sparkle-core/p-f891c79a.entry.js +0 -1
- package/dist/sparkle-core/p-fb0ca75e.entry.js +0 -5
- package/dist/sparkle-core/p-fb757951.entry.js +0 -1
- package/dist/sparkle-core/p-fd8d0738.entry.js +0 -4
- package/dist/sparkle-core/p-fda95b6e.entry.js +0 -1
- package/dist/sparkle-core/p-fe6dc976.entry.js +0 -1
- package/dist/sparkle-core/p-ff080f82.entry.js +0 -10
- package/dist/sparkle-core/p-ff7a8a71.js +0 -4
- /package/dist/{esm → sparkle-core}/cubic-bezier-4c0db14f.js +0 -0
- /package/dist/{esm → sparkle-core}/focus-visible-4e9a0764.js +0 -0
- /package/dist/{esm → sparkle-core}/hardware-back-button-fa04d6e9.js +0 -0
- /package/dist/{esm → sparkle-core}/index-be6112f8.js +0 -0
- /package/dist/{esm → sparkle-core}/keyboard-7e8329b3.js +0 -0
- /package/dist/{esm → sparkle-core}/localstorage.service-4bf408c8.js +0 -0
- /package/dist/{esm → sparkle-core}/spinner-configs-a37e628a.js +0 -0
- /package/dist/{esm → sparkle-core}/theme-7ef00c83.js +0 -0
@@ -0,0 +1,319 @@
|
|
1
|
+
import { r as registerInstance, q as createEvent, t as readTask, j as forceUpdate, k as h, n as Host, o as getElement } from './index-1dec9544.js';
|
2
|
+
import { g as getIonMode, a as isPlatform } from './ionic-global-127576f6.js';
|
3
|
+
import { c as componentOnReady } from './helpers-f11f0674.js';
|
4
|
+
import { i as isRTL } from './index-9b5bcea1.js';
|
5
|
+
import { c as createColorClasses, h as hostContext } from './theme-7ef00c83.js';
|
6
|
+
|
7
|
+
const contentCss = ":host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.outer-content){--background:var(--ion-color-step-50, #f2f2f2)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);box-sizing:border-box;overflow:hidden;touch-action:pan-x pan-y pinch-zoom}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.inner-scroll{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:\"\"}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:flex;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:10px;height:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAgCAYAAAAIXrg4AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTE3MDgzRkQ5QTkyMTFFOUEwNzQ5MkJFREE1NUY2MjQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTE3MDgzRkU5QTkyMTFFOUEwNzQ5MkJFREE1NUY2MjQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxMTcwODNGQjlBOTIxMUU5QTA3NDkyQkVEQTU1RjYyNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxMTcwODNGQzlBOTIxMUU5QTA3NDkyQkVEQTU1RjYyNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PmePEuQAAABNSURBVHjaYvz//z8DIxAwMDAwATGMhmFmPDQuOSZks0AMmoJBaQHjkPfB0Lfg/2gQjVow+HPy/yHvg9GiYjQfjMbBqAWjFgy/4hogwADYqwdzxy5BuwAAAABJRU5ErkJggg==);background-repeat:repeat-y;background-size:10px 16px}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;transform:translateZ(0)}";
|
8
|
+
|
9
|
+
const Content = class {
|
10
|
+
constructor(hostRef) {
|
11
|
+
registerInstance(this, hostRef);
|
12
|
+
this.ionScrollStart = createEvent(this, "ionScrollStart", 7);
|
13
|
+
this.ionScroll = createEvent(this, "ionScroll", 7);
|
14
|
+
this.ionScrollEnd = createEvent(this, "ionScrollEnd", 7);
|
15
|
+
this.isScrolling = false;
|
16
|
+
this.lastScroll = 0;
|
17
|
+
this.queued = false;
|
18
|
+
this.cTop = -1;
|
19
|
+
this.cBottom = -1;
|
20
|
+
this.isMainContent = true;
|
21
|
+
// Detail is used in a hot loop in the scroll event, by allocating it here
|
22
|
+
// V8 will be able to inline any read/write to it since it's a monomorphic class.
|
23
|
+
// https://mrale.ph/blog/2015/01/11/whats-up-with-monomorphism.html
|
24
|
+
this.detail = {
|
25
|
+
scrollTop: 0,
|
26
|
+
scrollLeft: 0,
|
27
|
+
type: 'scroll',
|
28
|
+
event: undefined,
|
29
|
+
startX: 0,
|
30
|
+
startY: 0,
|
31
|
+
startTime: 0,
|
32
|
+
currentX: 0,
|
33
|
+
currentY: 0,
|
34
|
+
velocityX: 0,
|
35
|
+
velocityY: 0,
|
36
|
+
deltaX: 0,
|
37
|
+
deltaY: 0,
|
38
|
+
currentTime: 0,
|
39
|
+
data: undefined,
|
40
|
+
isScrolling: true,
|
41
|
+
};
|
42
|
+
/**
|
43
|
+
* If `true`, the content will scroll behind the headers
|
44
|
+
* and footers. This effect can easily be seen by setting the toolbar
|
45
|
+
* to transparent.
|
46
|
+
*/
|
47
|
+
this.fullscreen = false;
|
48
|
+
/**
|
49
|
+
* If you want to enable the content scrolling in the X axis, set this property to `true`.
|
50
|
+
*/
|
51
|
+
this.scrollX = false;
|
52
|
+
/**
|
53
|
+
* If you want to disable the content scrolling in the Y axis, set this property to `false`.
|
54
|
+
*/
|
55
|
+
this.scrollY = true;
|
56
|
+
/**
|
57
|
+
* Because of performance reasons, ionScroll events are disabled by default, in order to enable them
|
58
|
+
* and start listening from (ionScroll), set this property to `true`.
|
59
|
+
*/
|
60
|
+
this.scrollEvents = false;
|
61
|
+
}
|
62
|
+
connectedCallback() {
|
63
|
+
this.isMainContent = this.el.closest('ion-menu, ion-popover, ion-modal') === null;
|
64
|
+
}
|
65
|
+
disconnectedCallback() {
|
66
|
+
this.onScrollEnd();
|
67
|
+
}
|
68
|
+
onAppLoad() {
|
69
|
+
this.resize();
|
70
|
+
}
|
71
|
+
shouldForceOverscroll() {
|
72
|
+
const { forceOverscroll } = this;
|
73
|
+
const mode = getIonMode(this);
|
74
|
+
return forceOverscroll === undefined ? mode === 'ios' && isPlatform('ios') : forceOverscroll;
|
75
|
+
}
|
76
|
+
resize() {
|
77
|
+
if (this.fullscreen) {
|
78
|
+
readTask(() => this.readDimensions());
|
79
|
+
}
|
80
|
+
else if (this.cTop !== 0 || this.cBottom !== 0) {
|
81
|
+
this.cTop = this.cBottom = 0;
|
82
|
+
forceUpdate(this);
|
83
|
+
}
|
84
|
+
}
|
85
|
+
readDimensions() {
|
86
|
+
const page = getPageElement(this.el);
|
87
|
+
const top = Math.max(this.el.offsetTop, 0);
|
88
|
+
const bottom = Math.max(page.offsetHeight - top - this.el.offsetHeight, 0);
|
89
|
+
const dirty = top !== this.cTop || bottom !== this.cBottom;
|
90
|
+
if (dirty) {
|
91
|
+
this.cTop = top;
|
92
|
+
this.cBottom = bottom;
|
93
|
+
forceUpdate(this);
|
94
|
+
}
|
95
|
+
}
|
96
|
+
onScroll(ev) {
|
97
|
+
const timeStamp = Date.now();
|
98
|
+
const shouldStart = !this.isScrolling;
|
99
|
+
this.lastScroll = timeStamp;
|
100
|
+
if (shouldStart) {
|
101
|
+
this.onScrollStart();
|
102
|
+
}
|
103
|
+
if (!this.queued && this.scrollEvents) {
|
104
|
+
this.queued = true;
|
105
|
+
readTask((ts) => {
|
106
|
+
this.queued = false;
|
107
|
+
this.detail.event = ev;
|
108
|
+
updateScrollDetail(this.detail, this.scrollEl, ts, shouldStart);
|
109
|
+
this.ionScroll.emit(this.detail);
|
110
|
+
});
|
111
|
+
}
|
112
|
+
}
|
113
|
+
/**
|
114
|
+
* Get the element where the actual scrolling takes place.
|
115
|
+
* This element can be used to subscribe to `scroll` events or manually modify
|
116
|
+
* `scrollTop`. However, it's recommended to use the API provided by `ion-content`:
|
117
|
+
*
|
118
|
+
* i.e. Using `ionScroll`, `ionScrollStart`, `ionScrollEnd` for scrolling events
|
119
|
+
* and `scrollToPoint()` to scroll the content into a certain point.
|
120
|
+
*/
|
121
|
+
async getScrollElement() {
|
122
|
+
/**
|
123
|
+
* If this gets called in certain early lifecycle hooks (ex: Vue onMounted),
|
124
|
+
* scrollEl won't be defined yet with the custom elements build, so wait for it to load in.
|
125
|
+
*/
|
126
|
+
if (!this.scrollEl) {
|
127
|
+
await new Promise((resolve) => componentOnReady(this.el, resolve));
|
128
|
+
}
|
129
|
+
return Promise.resolve(this.scrollEl);
|
130
|
+
}
|
131
|
+
/**
|
132
|
+
* Scroll to the top of the component.
|
133
|
+
*
|
134
|
+
* @param duration The amount of time to take scrolling to the top. Defaults to `0`.
|
135
|
+
*/
|
136
|
+
scrollToTop(duration = 0) {
|
137
|
+
return this.scrollToPoint(undefined, 0, duration);
|
138
|
+
}
|
139
|
+
/**
|
140
|
+
* Scroll to the bottom of the component.
|
141
|
+
*
|
142
|
+
* @param duration The amount of time to take scrolling to the bottom. Defaults to `0`.
|
143
|
+
*/
|
144
|
+
async scrollToBottom(duration = 0) {
|
145
|
+
const scrollEl = await this.getScrollElement();
|
146
|
+
const y = scrollEl.scrollHeight - scrollEl.clientHeight;
|
147
|
+
return this.scrollToPoint(undefined, y, duration);
|
148
|
+
}
|
149
|
+
/**
|
150
|
+
* Scroll by a specified X/Y distance in the component.
|
151
|
+
*
|
152
|
+
* @param x The amount to scroll by on the horizontal axis.
|
153
|
+
* @param y The amount to scroll by on the vertical axis.
|
154
|
+
* @param duration The amount of time to take scrolling by that amount.
|
155
|
+
*/
|
156
|
+
async scrollByPoint(x, y, duration) {
|
157
|
+
const scrollEl = await this.getScrollElement();
|
158
|
+
return this.scrollToPoint(x + scrollEl.scrollLeft, y + scrollEl.scrollTop, duration);
|
159
|
+
}
|
160
|
+
/**
|
161
|
+
* Scroll to a specified X/Y location in the component.
|
162
|
+
*
|
163
|
+
* @param x The point to scroll to on the horizontal axis.
|
164
|
+
* @param y The point to scroll to on the vertical axis.
|
165
|
+
* @param duration The amount of time to take scrolling to that point. Defaults to `0`.
|
166
|
+
*/
|
167
|
+
async scrollToPoint(x, y, duration = 0) {
|
168
|
+
const el = await this.getScrollElement();
|
169
|
+
if (duration < 32) {
|
170
|
+
if (y != null) {
|
171
|
+
el.scrollTop = y;
|
172
|
+
}
|
173
|
+
if (x != null) {
|
174
|
+
el.scrollLeft = x;
|
175
|
+
}
|
176
|
+
return;
|
177
|
+
}
|
178
|
+
let resolve;
|
179
|
+
let startTime = 0;
|
180
|
+
const promise = new Promise((r) => (resolve = r));
|
181
|
+
const fromY = el.scrollTop;
|
182
|
+
const fromX = el.scrollLeft;
|
183
|
+
const deltaY = y != null ? y - fromY : 0;
|
184
|
+
const deltaX = x != null ? x - fromX : 0;
|
185
|
+
// scroll loop
|
186
|
+
const step = (timeStamp) => {
|
187
|
+
const linearTime = Math.min(1, (timeStamp - startTime) / duration) - 1;
|
188
|
+
const easedT = Math.pow(linearTime, 3) + 1;
|
189
|
+
if (deltaY !== 0) {
|
190
|
+
el.scrollTop = Math.floor(easedT * deltaY + fromY);
|
191
|
+
}
|
192
|
+
if (deltaX !== 0) {
|
193
|
+
el.scrollLeft = Math.floor(easedT * deltaX + fromX);
|
194
|
+
}
|
195
|
+
if (easedT < 1) {
|
196
|
+
// do not use DomController here
|
197
|
+
// must use nativeRaf in order to fire in the next frame
|
198
|
+
// TODO: remove as any
|
199
|
+
requestAnimationFrame(step);
|
200
|
+
}
|
201
|
+
else {
|
202
|
+
resolve();
|
203
|
+
}
|
204
|
+
};
|
205
|
+
// chill out for a frame first
|
206
|
+
requestAnimationFrame((ts) => {
|
207
|
+
startTime = ts;
|
208
|
+
step(ts);
|
209
|
+
});
|
210
|
+
return promise;
|
211
|
+
}
|
212
|
+
onScrollStart() {
|
213
|
+
this.isScrolling = true;
|
214
|
+
this.ionScrollStart.emit({
|
215
|
+
isScrolling: true,
|
216
|
+
});
|
217
|
+
if (this.watchDog) {
|
218
|
+
clearInterval(this.watchDog);
|
219
|
+
}
|
220
|
+
// watchdog
|
221
|
+
this.watchDog = setInterval(() => {
|
222
|
+
if (this.lastScroll < Date.now() - 120) {
|
223
|
+
this.onScrollEnd();
|
224
|
+
}
|
225
|
+
}, 100);
|
226
|
+
}
|
227
|
+
onScrollEnd() {
|
228
|
+
clearInterval(this.watchDog);
|
229
|
+
this.watchDog = null;
|
230
|
+
if (this.isScrolling) {
|
231
|
+
this.isScrolling = false;
|
232
|
+
this.ionScrollEnd.emit({
|
233
|
+
isScrolling: false,
|
234
|
+
});
|
235
|
+
}
|
236
|
+
}
|
237
|
+
render() {
|
238
|
+
const { isMainContent, scrollX, scrollY, el } = this;
|
239
|
+
const rtl = isRTL(el) ? 'rtl' : 'ltr';
|
240
|
+
const mode = getIonMode(this);
|
241
|
+
const forceOverscroll = this.shouldForceOverscroll();
|
242
|
+
const transitionShadow = mode === 'ios';
|
243
|
+
const TagType = isMainContent ? 'main' : 'div';
|
244
|
+
this.resize();
|
245
|
+
return (h(Host, { class: createColorClasses(this.color, {
|
246
|
+
[mode]: true,
|
247
|
+
'content-sizing': hostContext('ion-popover', this.el),
|
248
|
+
overscroll: forceOverscroll,
|
249
|
+
[`content-${rtl}`]: true,
|
250
|
+
}), style: {
|
251
|
+
'--offset-top': `${this.cTop}px`,
|
252
|
+
'--offset-bottom': `${this.cBottom}px`,
|
253
|
+
} }, h("div", { id: "background-content", part: "background" }), h(TagType, { class: {
|
254
|
+
'inner-scroll': true,
|
255
|
+
'scroll-x': scrollX,
|
256
|
+
'scroll-y': scrollY,
|
257
|
+
overscroll: (scrollX || scrollY) && forceOverscroll,
|
258
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, h("slot", null)), transitionShadow ? (h("div", { class: "transition-effect" }, h("div", { class: "transition-cover" }), h("div", { class: "transition-shadow" }))) : null, h("slot", { name: "fixed" })));
|
259
|
+
}
|
260
|
+
get el() { return getElement(this); }
|
261
|
+
};
|
262
|
+
const getParentElement = (el) => {
|
263
|
+
var _a;
|
264
|
+
if (el.parentElement) {
|
265
|
+
// normal element with a parent element
|
266
|
+
return el.parentElement;
|
267
|
+
}
|
268
|
+
if ((_a = el.parentNode) === null || _a === void 0 ? void 0 : _a.host) {
|
269
|
+
// shadow dom's document fragment
|
270
|
+
return el.parentNode.host;
|
271
|
+
}
|
272
|
+
return null;
|
273
|
+
};
|
274
|
+
const getPageElement = (el) => {
|
275
|
+
const tabs = el.closest('ion-tabs');
|
276
|
+
if (tabs) {
|
277
|
+
return tabs;
|
278
|
+
}
|
279
|
+
/**
|
280
|
+
* If we're in a popover, we need to use its wrapper so we can account for space
|
281
|
+
* between the popover and the edges of the screen. But if the popover contains
|
282
|
+
* its own page element, we should use that instead.
|
283
|
+
*/
|
284
|
+
const page = el.closest('ion-app, ion-page, .ion-page, page-inner, .popover-content');
|
285
|
+
if (page) {
|
286
|
+
return page;
|
287
|
+
}
|
288
|
+
return getParentElement(el);
|
289
|
+
};
|
290
|
+
// ******** DOM READ ****************
|
291
|
+
const updateScrollDetail = (detail, el, timestamp, shouldStart) => {
|
292
|
+
const prevX = detail.currentX;
|
293
|
+
const prevY = detail.currentY;
|
294
|
+
const prevT = detail.currentTime;
|
295
|
+
const currentX = el.scrollLeft;
|
296
|
+
const currentY = el.scrollTop;
|
297
|
+
const timeDelta = timestamp - prevT;
|
298
|
+
if (shouldStart) {
|
299
|
+
// remember the start positions
|
300
|
+
detail.startTime = timestamp;
|
301
|
+
detail.startX = currentX;
|
302
|
+
detail.startY = currentY;
|
303
|
+
detail.velocityX = detail.velocityY = 0;
|
304
|
+
}
|
305
|
+
detail.currentTime = timestamp;
|
306
|
+
detail.currentX = detail.scrollLeft = currentX;
|
307
|
+
detail.currentY = detail.scrollTop = currentY;
|
308
|
+
detail.deltaX = currentX - detail.startX;
|
309
|
+
detail.deltaY = currentY - detail.startY;
|
310
|
+
if (timeDelta > 0 && timeDelta < 100) {
|
311
|
+
const velocityX = (currentX - prevX) / timeDelta;
|
312
|
+
const velocityY = (currentY - prevY) / timeDelta;
|
313
|
+
detail.velocityX = velocityX * 0.7 + detail.velocityX * 0.3;
|
314
|
+
detail.velocityY = velocityY * 0.7 + detail.velocityY * 0.3;
|
315
|
+
}
|
316
|
+
};
|
317
|
+
Content.style = contentCss;
|
318
|
+
|
319
|
+
export { Content as ion_content };
|
@@ -0,0 +1,308 @@
|
|
1
|
+
import { r as registerInstance, k as h, n as Host, o as getElement } from './index-1dec9544.js';
|
2
|
+
import { g as getIonMode } from './ionic-global-127576f6.js';
|
3
|
+
import { b as addEventListener, c as componentOnReady } from './helpers-f11f0674.js';
|
4
|
+
import { p as printIonWarning, a as printIonError } from './index-05b398c2.js';
|
5
|
+
import { c as createColorClasses } from './theme-7ef00c83.js';
|
6
|
+
import { p as parseDate, e as getToday, I as is24Hour, M as getLocalizedDateTime, F as getMonthAndYear, J as getLocalizedTime, N as getMonthDayAndYear } from './parse-60474840.js';
|
7
|
+
|
8
|
+
const iosDatetimeButtonCss = ":host{display:flex;align-items:center;justify-content:center}:host button{border-radius:8px;padding-left:12px;padding-right:12px;padding-top:6px;padding-bottom:6px;margin-left:2px;margin-right:2px;margin-top:0px;margin-bottom:0px;position:relative;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;appearance:none;overflow:hidden}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host button{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host button{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}";
|
9
|
+
|
10
|
+
const mdDatetimeButtonCss = ":host{display:flex;align-items:center;justify-content:center}:host button{border-radius:8px;padding-left:12px;padding-right:12px;padding-top:6px;padding-bottom:6px;margin-left:2px;margin-right:2px;margin-top:0px;margin-bottom:0px;position:relative;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;appearance:none;overflow:hidden}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host button{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host button{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}";
|
11
|
+
|
12
|
+
const DatetimeButton = class {
|
13
|
+
constructor(hostRef) {
|
14
|
+
registerInstance(this, hostRef);
|
15
|
+
this.datetimeEl = null;
|
16
|
+
this.overlayEl = null;
|
17
|
+
this.datetimePresentation = 'date-time';
|
18
|
+
this.datetimeActive = false;
|
19
|
+
/**
|
20
|
+
* The color to use from your application's color palette.
|
21
|
+
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
|
22
|
+
* For more information on colors, see [theming](/docs/theming/basics).
|
23
|
+
*/
|
24
|
+
this.color = 'primary';
|
25
|
+
/**
|
26
|
+
* If `true`, the user cannot interact with the button.
|
27
|
+
*/
|
28
|
+
this.disabled = false;
|
29
|
+
/**
|
30
|
+
* Check the value property on the linked
|
31
|
+
* ion-datetime and then format it according
|
32
|
+
* to the locale specified on ion-datetime.
|
33
|
+
*/
|
34
|
+
this.setDateTimeText = () => {
|
35
|
+
const { datetimeEl, datetimePresentation } = this;
|
36
|
+
if (!datetimeEl) {
|
37
|
+
return;
|
38
|
+
}
|
39
|
+
const { value, locale, hourCycle, preferWheel, multiple } = datetimeEl;
|
40
|
+
if (multiple) {
|
41
|
+
printIonWarning(`Multi-date selection cannot be used with ion-datetime-button.
|
42
|
+
|
43
|
+
Please upvote https://github.com/ionic-team/ionic-framework/issues/25668 if you are interested in seeing this functionality added.
|
44
|
+
`, this.el);
|
45
|
+
return;
|
46
|
+
}
|
47
|
+
/**
|
48
|
+
* Both ion-datetime and ion-datetime-button default
|
49
|
+
* to today's date and time if no value is set.
|
50
|
+
*/
|
51
|
+
const parsedDatetime = parseDate(value || getToday());
|
52
|
+
const use24Hour = is24Hour(locale, hourCycle);
|
53
|
+
// TODO(FW-1865) - Remove once FW-1831 is fixed.
|
54
|
+
parsedDatetime.tzOffset = undefined;
|
55
|
+
this.dateText = this.timeText = undefined;
|
56
|
+
switch (datetimePresentation) {
|
57
|
+
case 'date-time':
|
58
|
+
case 'time-date':
|
59
|
+
const dateText = getMonthDayAndYear(locale, parsedDatetime);
|
60
|
+
const timeText = getLocalizedTime(locale, parsedDatetime, use24Hour);
|
61
|
+
if (preferWheel) {
|
62
|
+
this.dateText = `${dateText} ${timeText}`;
|
63
|
+
}
|
64
|
+
else {
|
65
|
+
this.dateText = dateText;
|
66
|
+
this.timeText = timeText;
|
67
|
+
}
|
68
|
+
break;
|
69
|
+
case 'date':
|
70
|
+
this.dateText = getMonthDayAndYear(locale, parsedDatetime);
|
71
|
+
break;
|
72
|
+
case 'time':
|
73
|
+
this.timeText = getLocalizedTime(locale, parsedDatetime, use24Hour);
|
74
|
+
break;
|
75
|
+
case 'month-year':
|
76
|
+
this.dateText = getMonthAndYear(locale, parsedDatetime);
|
77
|
+
break;
|
78
|
+
case 'month':
|
79
|
+
this.dateText = getLocalizedDateTime(locale, parsedDatetime, { month: 'long' });
|
80
|
+
break;
|
81
|
+
case 'year':
|
82
|
+
this.dateText = getLocalizedDateTime(locale, parsedDatetime, { year: 'numeric' });
|
83
|
+
break;
|
84
|
+
}
|
85
|
+
};
|
86
|
+
/**
|
87
|
+
* Waits for the ion-datetime to re-render.
|
88
|
+
* This is needed in order to correctly position
|
89
|
+
* a popover relative to the trigger element.
|
90
|
+
*/
|
91
|
+
this.waitForDatetimeChanges = async () => {
|
92
|
+
const { datetimeEl } = this;
|
93
|
+
if (!datetimeEl) {
|
94
|
+
return Promise.resolve();
|
95
|
+
}
|
96
|
+
return new Promise((resolve) => {
|
97
|
+
addEventListener(datetimeEl, 'ionRender', resolve, { once: true });
|
98
|
+
});
|
99
|
+
};
|
100
|
+
this.handleDateClick = async (ev) => {
|
101
|
+
const { datetimeEl, datetimePresentation } = this;
|
102
|
+
if (!datetimeEl) {
|
103
|
+
return;
|
104
|
+
}
|
105
|
+
let needsPresentationChange = false;
|
106
|
+
/**
|
107
|
+
* When clicking the date button,
|
108
|
+
* we need to make sure that only a date
|
109
|
+
* picker is displayed. For presentation styles
|
110
|
+
* that display content other than a date picker,
|
111
|
+
* we need to update the presentation style.
|
112
|
+
*/
|
113
|
+
switch (datetimePresentation) {
|
114
|
+
case 'date-time':
|
115
|
+
case 'time-date':
|
116
|
+
const needsChange = datetimeEl.presentation !== 'date';
|
117
|
+
/**
|
118
|
+
* The date+time wheel picker
|
119
|
+
* shows date and time together,
|
120
|
+
* so do not adjust the presentation
|
121
|
+
* in that case.
|
122
|
+
*/
|
123
|
+
if (!datetimeEl.preferWheel && needsChange) {
|
124
|
+
datetimeEl.presentation = 'date';
|
125
|
+
needsPresentationChange = true;
|
126
|
+
}
|
127
|
+
break;
|
128
|
+
}
|
129
|
+
/**
|
130
|
+
* Track which button was clicked
|
131
|
+
* so that it can have the correct
|
132
|
+
* activated styles applied when
|
133
|
+
* the modal/popover containing
|
134
|
+
* the datetime is opened.
|
135
|
+
*/
|
136
|
+
this.selectedButton = 'date';
|
137
|
+
this.presentOverlay(ev, needsPresentationChange, this.dateTargetEl);
|
138
|
+
};
|
139
|
+
this.handleTimeClick = (ev) => {
|
140
|
+
const { datetimeEl, datetimePresentation } = this;
|
141
|
+
if (!datetimeEl) {
|
142
|
+
return;
|
143
|
+
}
|
144
|
+
let needsPresentationChange = false;
|
145
|
+
/**
|
146
|
+
* When clicking the time button,
|
147
|
+
* we need to make sure that only a time
|
148
|
+
* picker is displayed. For presentation styles
|
149
|
+
* that display content other than a time picker,
|
150
|
+
* we need to update the presentation style.
|
151
|
+
*/
|
152
|
+
switch (datetimePresentation) {
|
153
|
+
case 'date-time':
|
154
|
+
case 'time-date':
|
155
|
+
const needsChange = datetimeEl.presentation !== 'time';
|
156
|
+
if (needsChange) {
|
157
|
+
datetimeEl.presentation = 'time';
|
158
|
+
needsPresentationChange = true;
|
159
|
+
}
|
160
|
+
break;
|
161
|
+
}
|
162
|
+
/**
|
163
|
+
* Track which button was clicked
|
164
|
+
* so that it can have the correct
|
165
|
+
* activated styles applied when
|
166
|
+
* the modal/popover containing
|
167
|
+
* the datetime is opened.
|
168
|
+
*/
|
169
|
+
this.selectedButton = 'time';
|
170
|
+
this.presentOverlay(ev, needsPresentationChange, this.timeTargetEl);
|
171
|
+
};
|
172
|
+
/**
|
173
|
+
* If the datetime is presented in an
|
174
|
+
* overlay, the datetime and overlay
|
175
|
+
* should be appropriately sized.
|
176
|
+
* These classes provide default sizing values
|
177
|
+
* that developers can customize.
|
178
|
+
* The goal is to provide an overlay that is
|
179
|
+
* reasonably sized with a datetime that
|
180
|
+
* fills the entire container.
|
181
|
+
*/
|
182
|
+
this.presentOverlay = async (ev, needsPresentationChange, triggerEl) => {
|
183
|
+
const { overlayEl } = this;
|
184
|
+
if (!overlayEl) {
|
185
|
+
return;
|
186
|
+
}
|
187
|
+
if (overlayEl.tagName === 'ION-POPOVER') {
|
188
|
+
/**
|
189
|
+
* When the presentation on datetime changes,
|
190
|
+
* we need to wait for the component to re-render
|
191
|
+
* otherwise the computed width/height of the
|
192
|
+
* popover content will be wrong, causing
|
193
|
+
* the popover to not align with the trigger element.
|
194
|
+
*/
|
195
|
+
if (needsPresentationChange) {
|
196
|
+
await this.waitForDatetimeChanges();
|
197
|
+
}
|
198
|
+
/**
|
199
|
+
* We pass the trigger button element
|
200
|
+
* so that the popover aligns with the individual
|
201
|
+
* button that was clicked, not the component container.
|
202
|
+
*/
|
203
|
+
overlayEl.present(Object.assign(Object.assign({}, ev), { detail: {
|
204
|
+
ionShadowTarget: triggerEl,
|
205
|
+
} }));
|
206
|
+
}
|
207
|
+
else {
|
208
|
+
overlayEl.present();
|
209
|
+
}
|
210
|
+
};
|
211
|
+
}
|
212
|
+
async componentWillLoad() {
|
213
|
+
const { datetime } = this;
|
214
|
+
if (!datetime) {
|
215
|
+
printIonError('An ID associated with an ion-datetime instance is required for ion-datetime-button to function properly.', this.el);
|
216
|
+
return;
|
217
|
+
}
|
218
|
+
const datetimeEl = (this.datetimeEl = document.getElementById(datetime));
|
219
|
+
if (!datetimeEl) {
|
220
|
+
printIonError(`No ion-datetime instance found for ID '${datetime}'.`, this.el);
|
221
|
+
return;
|
222
|
+
}
|
223
|
+
/**
|
224
|
+
* Since the datetime can be used in any context (overlays, accordion, etc)
|
225
|
+
* we track when it is visible to determine when it is active.
|
226
|
+
* This informs which button is highlighted as well as the
|
227
|
+
* aria-expanded state.
|
228
|
+
*/
|
229
|
+
const io = new IntersectionObserver((entries) => {
|
230
|
+
const ev = entries[0];
|
231
|
+
this.datetimeActive = ev.isIntersecting;
|
232
|
+
}, {
|
233
|
+
threshold: 0.01,
|
234
|
+
});
|
235
|
+
io.observe(datetimeEl);
|
236
|
+
/**
|
237
|
+
* Get a reference to any modal/popover
|
238
|
+
* the datetime is being used in so we can
|
239
|
+
* correctly size it when it is presented.
|
240
|
+
*/
|
241
|
+
const overlayEl = (this.overlayEl = datetimeEl.closest('ion-modal, ion-popover'));
|
242
|
+
/**
|
243
|
+
* The .ion-datetime-button-overlay class contains
|
244
|
+
* styles that allow any modal/popover to be
|
245
|
+
* sized according to the dimensions of the datetime.
|
246
|
+
* If developers want a smaller/larger overlay all they need
|
247
|
+
* to do is change the width/height of the datetime.
|
248
|
+
* Additionally, this lets us avoid having to set
|
249
|
+
* explicit widths on each variant of datetime.
|
250
|
+
*/
|
251
|
+
if (overlayEl) {
|
252
|
+
overlayEl.classList.add('ion-datetime-button-overlay');
|
253
|
+
}
|
254
|
+
componentOnReady(datetimeEl, () => {
|
255
|
+
const datetimePresentation = (this.datetimePresentation = datetimeEl.presentation || 'date-time');
|
256
|
+
/**
|
257
|
+
* Set the initial display
|
258
|
+
* in the rendered buttons.
|
259
|
+
*
|
260
|
+
* From there, we need to listen
|
261
|
+
* for ionChange to be emitted
|
262
|
+
* from datetime so we know when
|
263
|
+
* to re-render the displayed
|
264
|
+
* text in the buttons.
|
265
|
+
*/
|
266
|
+
this.setDateTimeText();
|
267
|
+
addEventListener(datetimeEl, 'ionChange', this.setDateTimeText);
|
268
|
+
/**
|
269
|
+
* Configure the initial selected button
|
270
|
+
* in the event that the datetime is displayed
|
271
|
+
* without clicking one of the datetime buttons.
|
272
|
+
* For example, a datetime could be expanded
|
273
|
+
* in an accordion. In this case users only
|
274
|
+
* need to click the accordion header to show
|
275
|
+
* the datetime.
|
276
|
+
*/
|
277
|
+
switch (datetimePresentation) {
|
278
|
+
case 'date-time':
|
279
|
+
case 'date':
|
280
|
+
case 'month-year':
|
281
|
+
case 'month':
|
282
|
+
case 'year':
|
283
|
+
this.selectedButton = 'date';
|
284
|
+
break;
|
285
|
+
case 'time-date':
|
286
|
+
case 'time':
|
287
|
+
this.selectedButton = 'time';
|
288
|
+
break;
|
289
|
+
}
|
290
|
+
});
|
291
|
+
}
|
292
|
+
render() {
|
293
|
+
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
294
|
+
const mode = getIonMode(this);
|
295
|
+
return (h(Host, { class: createColorClasses(color, {
|
296
|
+
[mode]: true,
|
297
|
+
[`${selectedButton}-active`]: datetimeActive,
|
298
|
+
['datetime-button-disabled']: disabled,
|
299
|
+
}) }, dateText && (h("button", { class: "ion-activatable", id: "date-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleDateClick, disabled: disabled, part: "native", ref: (el) => (this.dateTargetEl = el) }, h("slot", { name: "date-target" }, dateText), mode === 'md' && h("ion-ripple-effect", null))), timeText && (h("button", { class: "ion-activatable", id: "time-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleTimeClick, disabled: disabled, part: "native", ref: (el) => (this.timeTargetEl = el) }, h("slot", { name: "time-target" }, timeText), mode === 'md' && h("ion-ripple-effect", null)))));
|
300
|
+
}
|
301
|
+
get el() { return getElement(this); }
|
302
|
+
};
|
303
|
+
DatetimeButton.style = {
|
304
|
+
ios: iosDatetimeButtonCss,
|
305
|
+
md: mdDatetimeButtonCss
|
306
|
+
};
|
307
|
+
|
308
|
+
export { DatetimeButton as ion_datetime_button };
|