@sparkle-learning/core 0.0.34 → 0.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{PrivateRoute-482697a6.js → PrivateRoute-4abc9d29.js} +2 -2
- package/dist/cjs/{active-router-eedb3bfe.js → active-router-f9e18bd8.js} +1 -1
- package/dist/cjs/{animation-6132e37f.js → animation-ee586546.js} +83 -78
- package/dist/cjs/{app-globals-9869bf67.js → app-globals-33c9f31b.js} +1 -1
- package/dist/cjs/{auth.service-f878f6ab.js → auth.service-4b584cd7.js} +4 -3
- package/dist/cjs/{auth.store-ff3fda09.js → auth.store-1e630a7d.js} +48 -725
- package/dist/cjs/compass-svg.cjs.entry.js +1 -1
- package/dist/cjs/context-consumer.cjs.entry.js +1 -1
- package/dist/cjs/course-select.cjs.entry.js +1 -1
- package/dist/cjs/{cubic-bezier-293f4663.js → cubic-bezier-53d26d05.js} +10 -11
- package/dist/cjs/{facilitator.service-faac5c0c.js → facilitator.service-9e990274.js} +8 -7
- package/dist/cjs/{feed.service-66405969.js → feed.service-b4f09441.js} +8 -7
- package/dist/cjs/{focus-visible-ad3828a7.js → focus-visible-b0b07ba6.js} +19 -6
- package/dist/cjs/{framework-delegate-2470a246.js → framework-delegate-59a98abd.js} +11 -13
- package/dist/cjs/{gesture-controller-07c31f70.js → gesture-controller-0eb5579e.js} +1 -1
- package/dist/cjs/{haptic-91e86eb7.js → haptic-780f33c4.js} +3 -2
- package/dist/cjs/{hardware-back-button-f7b5d99e.js → hardware-back-button-92d97ff8.js} +8 -8
- package/dist/cjs/{header-mobile-collapse_2.cjs.entry.js → header-mobile-collapse.cjs.entry.js} +2 -24
- package/dist/cjs/{helpers-7e28976c.js → helpers-c2496722.js} +81 -14
- package/dist/cjs/httpService-7211d93b.js +685 -0
- package/dist/cjs/{icons-80d477f6.js → icons-c61db785.js} +1 -1
- package/dist/cjs/{index-43642662.js → index-12082cba.js} +21 -18
- package/dist/cjs/{index-459a5fa9.js → index-15ea05f5.js} +19 -28
- package/dist/cjs/{index-bae2a754.js → index-51e8292e.js} +18 -11
- package/dist/cjs/{index-07e8aa51.js → index-70e63f5b.js} +2 -2
- package/dist/cjs/{index-b12edb26.js → index-787d4498.js} +17 -25
- package/dist/cjs/{tap-click-1caf1780.js → index-8b5629a6.js} +30 -20
- package/dist/cjs/{index-8540d72e.js → index-975586fd.js} +7 -1
- package/dist/cjs/index-9c7b27e4.js +140 -0
- package/dist/cjs/{index-185f9c5a.js → index-af080b50.js} +9 -8
- package/dist/cjs/index-e56e09b8.js +38 -0
- package/dist/cjs/index.cjs.js +9 -8
- package/dist/cjs/{index.es-ef3efdfb.js → index.es-38cbcdbe.js} +2 -7
- package/dist/cjs/{injectHistory-77d41284.js → injectHistory-7206bbb9.js} +1 -1
- package/dist/cjs/{input-shims-6c442c9f.js → input-shims-eff63b88.js} +21 -24
- package/dist/cjs/ion-accordion-group.cjs.entry.js +17 -9
- package/dist/cjs/ion-accordion.cjs.entry.js +19 -23
- package/dist/cjs/ion-action-sheet_4.cjs.entry.js +216 -212
- package/dist/cjs/ion-app.cjs.entry.js +8 -8
- package/dist/cjs/ion-avatar.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +11 -11
- package/dist/cjs/ion-backdrop.cjs.entry.js +4 -4
- package/dist/cjs/ion-badge.cjs.entry.js +3 -3
- package/dist/cjs/ion-breadcrumb.cjs.entry.js +13 -21
- package/dist/cjs/ion-breadcrumbs.cjs.entry.js +12 -14
- package/dist/cjs/ion-button.cjs.entry.js +129 -0
- package/dist/cjs/ion-buttons_3.cjs.entry.js +13 -13
- package/dist/cjs/ion-card-header.cjs.entry.js +4 -4
- package/dist/cjs/ion-card-subtitle.cjs.entry.js +4 -4
- package/dist/cjs/ion-card-title.cjs.entry.js +4 -4
- package/dist/cjs/ion-card_2.cjs.entry.js +9 -11
- package/dist/cjs/ion-checkbox_4.cjs.entry.js +22 -32
- package/dist/cjs/ion-chip.cjs.entry.js +3 -3
- package/dist/cjs/ion-col_3.cjs.entry.js +29 -25
- package/dist/cjs/ion-content_2.cjs.entry.js +59 -52
- package/dist/cjs/ion-datetime-button.cjs.entry.js +312 -0
- package/dist/cjs/ion-datetime.cjs.entry.js +752 -1245
- package/dist/cjs/ion-fab-button.cjs.entry.js +25 -9
- package/dist/cjs/ion-fab-list.cjs.entry.js +4 -4
- package/dist/cjs/ion-fab.cjs.entry.js +15 -13
- package/dist/cjs/ion-footer.cjs.entry.js +16 -14
- package/dist/cjs/ion-icon_13.cjs.entry.js +1505 -0
- package/dist/cjs/ion-img.cjs.entry.js +4 -4
- package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +5 -5
- package/dist/cjs/ion-infinite-scroll.cjs.entry.js +13 -15
- package/dist/cjs/ion-input_2.cjs.entry.js +13 -16
- package/dist/cjs/ion-item-divider.cjs.entry.js +4 -4
- package/dist/cjs/ion-item-group.cjs.entry.js +3 -3
- package/dist/cjs/ion-item-option.cjs.entry.js +8 -8
- package/dist/cjs/ion-item-options.cjs.entry.js +5 -5
- package/dist/cjs/ion-item-sliding.cjs.entry.js +41 -46
- package/dist/cjs/ion-label_2.cjs.entry.js +13 -13
- package/dist/cjs/ion-loading.cjs.entry.js +23 -35
- package/dist/cjs/ion-menu-button.cjs.entry.js +13 -13
- package/dist/cjs/ion-menu-toggle.cjs.entry.js +7 -7
- package/dist/cjs/ion-menu.cjs.entry.js +47 -40
- package/dist/cjs/ion-modal.cjs.entry.js +935 -282
- package/dist/cjs/ion-nav-link.cjs.entry.js +2 -2
- package/dist/cjs/ion-nav.cjs.entry.js +45 -35
- package/dist/cjs/ion-picker-column-internal_2.cjs.entry.js +151 -43
- package/dist/cjs/ion-picker-column.cjs.entry.js +23 -25
- package/dist/cjs/ion-picker.cjs.entry.js +15 -17
- package/dist/cjs/ion-progress-bar.cjs.entry.js +6 -8
- package/dist/cjs/ion-refresher-content.cjs.entry.js +6 -12
- package/dist/cjs/ion-refresher.cjs.entry.js +68 -50
- package/dist/cjs/ion-reorder-group.cjs.entry.js +15 -16
- package/dist/cjs/ion-reorder.cjs.entry.js +3 -3
- package/dist/cjs/ion-route-redirect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route.cjs.entry.js +1 -1
- package/dist/cjs/ion-router-link.cjs.entry.js +5 -5
- package/dist/cjs/ion-router-outlet.cjs.entry.js +22 -20
- package/dist/cjs/ion-router.cjs.entry.js +32 -31
- package/dist/cjs/ion-searchbar.cjs.entry.js +14 -16
- package/dist/cjs/ion-segment-button.cjs.entry.js +8 -8
- package/dist/cjs/ion-segment.cjs.entry.js +24 -26
- package/dist/cjs/ion-select_2.cjs.entry.js +59 -56
- package/dist/cjs/ion-skeleton-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-slide.cjs.entry.js +3 -3
- package/dist/cjs/ion-slides.cjs.entry.js +23 -23
- package/dist/cjs/ion-spinner.cjs.entry.js +8 -8
- package/dist/cjs/ion-split-pane.cjs.entry.js +10 -11
- package/dist/cjs/ion-tab-bar.cjs.entry.js +5 -5
- package/dist/cjs/ion-tab-button.cjs.entry.js +6 -6
- package/dist/cjs/ion-tab.cjs.entry.js +4 -4
- package/dist/cjs/ion-tabs.cjs.entry.js +4 -5
- package/dist/cjs/ion-textarea.cjs.entry.js +29 -28
- package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +23 -43
- package/dist/cjs/ion-toggle.cjs.entry.js +36 -19
- package/dist/cjs/ion-virtual-scroll.cjs.entry.js +29 -28
- package/dist/cjs/{ionic-global-878073d1.js → ionic-global-2cde9d3a.js} +27 -31
- package/dist/cjs/{ios.transition-c3bfb096.js → ios.transition-da235483.js} +71 -51
- package/dist/cjs/{keyboard-dfd76ac3.js → keyboard-91096619.js} +3 -3
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{md.transition-7eb9a1a7.js → md.transition-be429e07.js} +9 -16
- package/dist/cjs/{menu-toggle-util-cb549c2c.js → menu-toggle-util-7a01448c.js} +2 -2
- package/dist/cjs/{overlays-0a748609.js → overlays-32df265a.js} +29 -29
- package/dist/cjs/parse-d0071120.js +1237 -0
- package/dist/cjs/{purify-d0ad2883.js → purify-fb9c107e.js} +1 -1
- package/dist/cjs/sparkle-animation-player.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-card_3.cjs.entry.js +2 -2
- package/dist/cjs/sparkle-character-intro.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-code.cjs.entry.js +2 -2
- package/dist/cjs/sparkle-compass-post.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-compass.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-core.cjs.js +5 -5
- package/dist/cjs/sparkle-course-root.cjs.entry.js +12 -11
- package/dist/cjs/sparkle-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/sparkle-emoji.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-export-lessons_6.cjs.entry.js +12 -11
- package/dist/cjs/sparkle-facilitator-header_19.cjs.entry.js +23 -22
- package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +8 -7
- package/dist/cjs/sparkle-feed-post.cjs.entry.js +104 -3
- package/dist/cjs/sparkle-feedback.cjs.entry.js +9 -8
- package/dist/cjs/sparkle-goal-form.cjs.entry.js +8 -7
- package/dist/cjs/sparkle-goal-progress.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-gww-comment-list.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-gww-graph.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-gww-item.cjs.entry.js +5 -5
- package/dist/cjs/sparkle-intro.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-lower-content-nav.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +2 -2
- package/dist/cjs/sparkle-menu-toggle_3.cjs.entry.js +3 -3
- package/dist/cjs/sparkle-modal-image.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-notfound-page.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-overlay.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-poll.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-quiz-container.cjs.entry.js +1 -1
- package/dist/cjs/{sparkle-quiz.cjs.entry.js → sparkle-quiz-v1.cjs.entry.js} +5 -5
- package/dist/cjs/sparkle-select.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-tab.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-table-of-contents.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-tabs.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-validation-error.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-youtube.cjs.entry.js +1 -1
- package/dist/cjs/{spinner-configs-6f6b7ef0.js → spinner-configs-0ac05f2d.js} +43 -43
- package/dist/cjs/{status-tap-8697433c.js → status-tap-033befa2.js} +7 -5
- package/dist/cjs/stencil-async-content.cjs.entry.js +1 -1
- package/dist/cjs/stencil-route-title.cjs.entry.js +2 -2
- package/dist/cjs/stencil-router-prompt.cjs.entry.js +2 -2
- package/dist/cjs/stencil-router-redirect.cjs.entry.js +2 -2
- package/dist/cjs/{student.service-7af424fe.js → student.service-d48f1c99.js} +7 -7
- package/dist/cjs/{swipe-back-7e08b5e0.js → swipe-back-4a826f9b.js} +5 -5
- package/dist/cjs/{theme-4252ac15.js → theme-b0b295c1.js} +6 -5
- package/dist/cjs/{user.store-3d29139d.js → user.store-8a049c4e.js} +1 -1
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.css +16 -0
- package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +197 -3
- package/dist/collection/components/sparkle-quiz/{sparkle-quiz.css → sparkle-quiz/sparkle-quiz.css} +0 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz/sparkle-quiz.js +327 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-v1.css +48 -0
- package/dist/collection/components/sparkle-quiz/{sparkle-quiz.js → sparkle-quiz-v1.js} +4 -4
- package/dist/esm/{PrivateRoute-f59ba6b5.js → PrivateRoute-7b526801.js} +2 -2
- package/dist/esm/{active-router-909088d6.js → active-router-fc9e4e06.js} +1 -1
- package/dist/esm/{animation-7b083379.js → animation-e0716b39.js} +83 -78
- package/dist/esm/{app-globals-5c736ae5.js → app-globals-3f0347b0.js} +1 -1
- package/dist/esm/{auth.service-7ab0ac58.js → auth.service-9fb86455.js} +3 -2
- package/dist/esm/{auth.store-98fad96d.js → auth.store-633e8414.js} +45 -725
- package/dist/esm/compass-svg.entry.js +1 -1
- package/dist/esm/context-consumer.entry.js +1 -1
- package/dist/esm/course-select.entry.js +1 -1
- package/dist/esm/{cubic-bezier-a7ad9c8e.js → cubic-bezier-4c0db14f.js} +10 -11
- package/dist/esm/{dom-utils-8e73e88b.js → dom-utils-109a7d75.js} +1 -1
- package/dist/esm/{facilitator.service-1524bf89.js → facilitator.service-8fd435bf.js} +2 -1
- package/dist/esm/{feed.service-4900fc62.js → feed.service-ace049e5.js} +2 -1
- package/dist/esm/{focus-visible-40cda868.js → focus-visible-4e9a0764.js} +19 -6
- package/dist/esm/{framework-delegate-518bd233.js → framework-delegate-e4f8013b.js} +11 -13
- package/dist/esm/{gesture-controller-686622ba.js → gesture-controller-7be18351.js} +1 -1
- package/dist/esm/{haptic-99c9e346.js → haptic-522f76f2.js} +3 -2
- package/dist/esm/{hardware-back-button-b6ccf74a.js → hardware-back-button-fa04d6e9.js} +8 -8
- package/dist/esm/{header-mobile-collapse_2.entry.js → header-mobile-collapse.entry.js} +3 -24
- package/dist/esm/{helpers-9d0930de.js → helpers-03073fe4.js} +81 -15
- package/dist/esm/httpService-61864992.js +683 -0
- package/dist/esm/{icons-05b6ce86.js → icons-90b957ab.js} +1 -1
- package/dist/esm/{index-a12c14bd.js → index-21661af2.js} +22 -19
- package/dist/esm/index-37004831.js +128 -0
- package/dist/esm/{index-ea26196a.js → index-4044fde9.js} +5 -2
- package/dist/esm/{tap-click-cca25060.js → index-a2d2941d.js} +30 -20
- package/dist/esm/{index-8de9446b.js → index-b4b4e503.js} +17 -25
- package/dist/esm/{index-435af8e6.js → index-be6112f8.js} +9 -8
- package/dist/esm/{index-5568e3fa.js → index-c04b9ed5.js} +18 -11
- package/dist/esm/index-dad75b83.js +34 -0
- package/dist/esm/{index-fa5e93c5.js → index-dedabca0.js} +19 -28
- package/dist/esm/{index-c92f99d4.js → index-f9b9ba5d.js} +2 -2
- package/dist/esm/{index.es-89cff481.js → index.es-283fbd2e.js} +2 -7
- package/dist/esm/index.js +9 -8
- package/dist/esm/{injectHistory-52d0c7eb.js → injectHistory-968f626d.js} +1 -1
- package/dist/esm/{input-shims-7f04e044.js → input-shims-cc3720a0.js} +21 -24
- package/dist/esm/ion-accordion-group.entry.js +17 -9
- package/dist/esm/ion-accordion.entry.js +19 -23
- package/dist/esm/ion-action-sheet_4.entry.js +216 -212
- package/dist/esm/ion-app.entry.js +8 -8
- package/dist/esm/ion-avatar.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +11 -11
- package/dist/esm/ion-backdrop.entry.js +4 -4
- package/dist/esm/ion-badge.entry.js +3 -3
- package/dist/esm/ion-breadcrumb.entry.js +13 -21
- package/dist/esm/ion-breadcrumbs.entry.js +12 -14
- package/dist/esm/ion-button.entry.js +125 -0
- package/dist/esm/ion-buttons_3.entry.js +13 -13
- package/dist/esm/ion-card-header.entry.js +4 -4
- package/dist/esm/ion-card-subtitle.entry.js +4 -4
- package/dist/esm/ion-card-title.entry.js +4 -4
- package/dist/esm/ion-card_2.entry.js +9 -11
- package/dist/esm/ion-checkbox_4.entry.js +22 -32
- package/dist/esm/ion-chip.entry.js +3 -3
- package/dist/esm/ion-col_3.entry.js +29 -25
- package/dist/esm/ion-content_2.entry.js +59 -52
- package/dist/esm/ion-datetime-button.entry.js +308 -0
- package/dist/esm/ion-datetime.entry.js +723 -1216
- package/dist/esm/ion-fab-button.entry.js +25 -9
- package/dist/esm/ion-fab-list.entry.js +4 -4
- package/dist/esm/ion-fab.entry.js +15 -13
- package/dist/esm/ion-footer.entry.js +16 -14
- package/dist/esm/ion-icon_13.entry.js +1489 -0
- package/dist/esm/ion-img.entry.js +4 -4
- package/dist/esm/ion-infinite-scroll-content.entry.js +5 -5
- package/dist/esm/ion-infinite-scroll.entry.js +13 -15
- package/dist/esm/ion-input_2.entry.js +13 -16
- package/dist/esm/ion-item-divider.entry.js +4 -4
- package/dist/esm/ion-item-group.entry.js +3 -3
- package/dist/esm/ion-item-option.entry.js +8 -8
- package/dist/esm/ion-item-options.entry.js +5 -5
- package/dist/esm/ion-item-sliding.entry.js +41 -46
- package/dist/esm/ion-label_2.entry.js +13 -13
- package/dist/esm/ion-loading.entry.js +23 -35
- package/dist/esm/ion-menu-button.entry.js +13 -13
- package/dist/esm/ion-menu-toggle.entry.js +7 -7
- package/dist/esm/ion-menu.entry.js +47 -40
- package/dist/esm/ion-modal.entry.js +921 -268
- package/dist/esm/ion-nav-link.entry.js +2 -2
- package/dist/esm/ion-nav.entry.js +45 -35
- package/dist/esm/ion-picker-column-internal_2.entry.js +151 -43
- package/dist/esm/ion-picker-column.entry.js +23 -25
- package/dist/esm/ion-picker.entry.js +15 -17
- package/dist/esm/ion-progress-bar.entry.js +6 -8
- package/dist/esm/ion-refresher-content.entry.js +6 -12
- package/dist/esm/ion-refresher.entry.js +68 -50
- package/dist/esm/ion-reorder-group.entry.js +15 -16
- package/dist/esm/ion-reorder.entry.js +3 -3
- package/dist/esm/ion-route-redirect.entry.js +1 -1
- package/dist/esm/ion-route.entry.js +1 -1
- package/dist/esm/ion-router-link.entry.js +5 -5
- package/dist/esm/ion-router-outlet.entry.js +22 -20
- package/dist/esm/ion-router.entry.js +32 -31
- package/dist/esm/ion-searchbar.entry.js +14 -16
- package/dist/esm/ion-segment-button.entry.js +8 -8
- package/dist/esm/ion-segment.entry.js +24 -26
- package/dist/esm/ion-select_2.entry.js +59 -56
- package/dist/esm/ion-skeleton-text.entry.js +4 -4
- package/dist/esm/ion-slide.entry.js +3 -3
- package/dist/esm/ion-slides.entry.js +23 -23
- package/dist/esm/ion-spinner.entry.js +8 -8
- package/dist/esm/ion-split-pane.entry.js +10 -11
- package/dist/esm/ion-tab-bar.entry.js +5 -5
- package/dist/esm/ion-tab-button.entry.js +6 -6
- package/dist/esm/ion-tab.entry.js +4 -4
- package/dist/esm/ion-tabs.entry.js +4 -5
- package/dist/esm/ion-textarea.entry.js +29 -28
- package/dist/esm/ion-thumbnail.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +23 -43
- package/dist/esm/ion-toggle.entry.js +36 -19
- package/dist/esm/ion-virtual-scroll.entry.js +29 -28
- package/dist/esm/{ionic-global-0939c477.js → ionic-global-4903e23e.js} +27 -31
- package/dist/esm/{ios.transition-db4f4ca6.js → ios.transition-3a6179bb.js} +71 -51
- package/dist/esm/{keyboard-2503e874.js → keyboard-7e8329b3.js} +3 -3
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-8294b503.js → md.transition-cff16bf3.js} +9 -16
- package/dist/esm/{menu-toggle-util-06adade3.js → menu-toggle-util-59241733.js} +2 -2
- package/dist/esm/{overlays-5c777f10.js → overlays-bdd9344a.js} +29 -29
- package/dist/esm/parse-1ae3a9bb.js +1196 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{purify-eb68cf1d.js → purify-7085b248.js} +1 -1
- package/dist/esm/sparkle-animation-player.entry.js +1 -1
- package/dist/esm/sparkle-card_3.entry.js +2 -2
- package/dist/esm/sparkle-character-intro.entry.js +1 -1
- package/dist/esm/sparkle-code.entry.js +2 -2
- package/dist/esm/sparkle-compass-post.entry.js +1 -1
- package/dist/esm/sparkle-compass.entry.js +1 -1
- package/dist/esm/sparkle-core.js +5 -5
- package/dist/esm/sparkle-course-root.entry.js +12 -11
- package/dist/esm/sparkle-dropdown.entry.js +2 -2
- package/dist/esm/sparkle-emoji.entry.js +1 -1
- package/dist/esm/sparkle-export-lessons_6.entry.js +12 -11
- package/dist/esm/sparkle-facilitator-header_19.entry.js +18 -17
- package/dist/esm/sparkle-facilitator-notes-form.entry.js +8 -7
- package/dist/esm/sparkle-feed-post.entry.js +104 -3
- package/dist/esm/sparkle-feedback.entry.js +9 -8
- package/dist/esm/sparkle-goal-form.entry.js +8 -7
- package/dist/esm/sparkle-goal-progress.entry.js +1 -1
- package/dist/esm/sparkle-gww-comment-list.entry.js +1 -1
- package/dist/esm/sparkle-gww-graph.entry.js +1 -1
- package/dist/esm/sparkle-gww-item.entry.js +5 -5
- package/dist/esm/sparkle-intro.entry.js +1 -1
- package/dist/esm/sparkle-lower-content-nav.entry.js +1 -1
- package/dist/esm/sparkle-menu-collapsible.entry.js +2 -2
- package/dist/esm/sparkle-menu-toggle_3.entry.js +3 -3
- package/dist/esm/sparkle-modal-image.entry.js +1 -1
- package/dist/esm/sparkle-notfound-page.entry.js +1 -1
- package/dist/esm/sparkle-overlay.entry.js +1 -1
- package/dist/esm/sparkle-poll.entry.js +1 -1
- package/dist/esm/sparkle-quiz-container.entry.js +1 -1
- package/dist/esm/{sparkle-quiz.entry.js → sparkle-quiz-v1.entry.js} +5 -5
- package/dist/esm/sparkle-select.entry.js +1 -1
- package/dist/esm/sparkle-sidebar.entry.js +1 -1
- package/dist/esm/sparkle-tab.entry.js +1 -1
- package/dist/esm/sparkle-table-of-contents.entry.js +1 -1
- package/dist/esm/sparkle-tabs.entry.js +1 -1
- package/dist/esm/sparkle-validation-error.entry.js +1 -1
- package/dist/esm/sparkle-youtube.entry.js +1 -1
- package/dist/esm/{spinner-configs-f609a655.js → spinner-configs-a37e628a.js} +43 -43
- package/dist/esm/{status-tap-e8c0c752.js → status-tap-463d0f87.js} +7 -5
- package/dist/esm/stencil-async-content.entry.js +1 -1
- package/dist/esm/stencil-route-title.entry.js +2 -2
- package/dist/esm/stencil-router-prompt.entry.js +2 -2
- package/dist/esm/stencil-router-redirect.entry.js +2 -2
- package/dist/esm/{student.service-c2f44f3a.js → student.service-e6eb1f99.js} +2 -2
- package/dist/esm/{swipe-back-9a3b2cdd.js → swipe-back-f8765ac9.js} +5 -5
- package/dist/esm/{theme-c336c9d9.js → theme-7ef00c83.js} +6 -5
- package/dist/esm/{user.store-e6ff7558.js → user.store-b8645067.js} +1 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +8 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +46 -22
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +43 -19
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +60 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +2 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +2 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +6 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +6 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +3 -3
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +1 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +1 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +1 -5
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +1 -5
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +31 -3
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +29 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +24 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +24 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +2 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +2 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +8 -8
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +34 -17
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +34 -17
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +50 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +27 -0
- package/dist/sparkle-core/index.esm.js +1 -1
- package/dist/sparkle-core/p-0147266a.js +1 -0
- package/dist/sparkle-core/{p-c8ae9e47.entry.js → p-014b5707.entry.js} +1 -1
- package/dist/sparkle-core/p-03585916.js +1 -0
- package/dist/sparkle-core/{p-797c23ed.entry.js → p-04c7b276.entry.js} +1 -1
- package/dist/sparkle-core/{p-5f45d206.entry.js → p-06642405.entry.js} +1 -1
- package/dist/sparkle-core/{p-39e5a90f.entry.js → p-06c7d0f2.entry.js} +1 -1
- package/dist/sparkle-core/{p-703ca87c.js → p-076f0239.js} +0 -0
- package/dist/sparkle-core/p-0bb0cf41.entry.js +1 -0
- package/dist/sparkle-core/p-0c0f8acd.entry.js +4 -0
- package/dist/sparkle-core/{p-69e7783d.js → p-0e4de1d0.js} +0 -0
- package/dist/sparkle-core/p-0ea2518d.entry.js +1 -0
- package/dist/sparkle-core/p-1019ebc3.js +1 -0
- package/dist/sparkle-core/{p-21db4e8e.entry.js → p-162bff1a.entry.js} +1 -1
- package/dist/sparkle-core/p-17eb4633.js +4 -0
- package/dist/sparkle-core/p-1b1ba156.entry.js +1 -0
- package/dist/sparkle-core/{p-5b40aae5.entry.js → p-1e4782af.entry.js} +1 -1
- package/dist/sparkle-core/p-1f0b3ff9.entry.js +4 -0
- package/dist/sparkle-core/{p-ed0e9d29.entry.js → p-214d1229.entry.js} +1 -1
- package/dist/sparkle-core/p-25e556cc.entry.js +1 -0
- package/dist/sparkle-core/{p-37c00e39.entry.js → p-27fbabc3.entry.js} +1 -1
- package/dist/sparkle-core/{p-52f1d1ca.entry.js → p-285ab4ed.entry.js} +1 -1
- package/dist/sparkle-core/{p-7d61177b.entry.js → p-2ba70507.entry.js} +1 -1
- package/dist/sparkle-core/p-2d4a5ddf.entry.js +4 -0
- package/dist/sparkle-core/{p-23a9f7d1.entry.js → p-2d9659e2.entry.js} +1 -1
- package/dist/sparkle-core/p-2e035338.entry.js +1 -0
- package/dist/sparkle-core/p-2e2b813c.js +4 -0
- package/dist/sparkle-core/p-2f10208d.entry.js +1 -0
- package/dist/sparkle-core/p-2fba9a3a.entry.js +1 -0
- package/dist/sparkle-core/p-317037de.entry.js +1 -0
- package/dist/sparkle-core/{p-d48e95c1.entry.js → p-32762a44.entry.js} +1 -1
- package/dist/sparkle-core/p-32f4e565.entry.js +1 -0
- package/dist/sparkle-core/p-340754ed.js +1 -0
- package/dist/sparkle-core/{p-057f6a23.entry.js → p-352677e6.entry.js} +1 -1
- package/dist/sparkle-core/{p-b49ca0ea.entry.js → p-370609ba.entry.js} +1 -1
- package/dist/sparkle-core/{p-aa9ebc39.entry.js → p-38b7cf68.entry.js} +1 -1
- package/dist/sparkle-core/{p-667accac.entry.js → p-3963e02b.entry.js} +1 -1
- package/dist/sparkle-core/p-3bc68dd0.js +1 -0
- package/dist/sparkle-core/p-3c133235.entry.js +1 -0
- package/dist/sparkle-core/p-3f85e1ca.js +4 -0
- package/dist/sparkle-core/{p-04583c51.entry.js → p-4053ecdb.entry.js} +1 -1
- package/dist/sparkle-core/{p-f6bafe1d.js → p-405f7c58.js} +2 -2
- package/dist/sparkle-core/p-4320dac0.entry.js +1 -0
- package/dist/sparkle-core/p-44f813b7.entry.js +1 -0
- package/dist/sparkle-core/p-46869031.entry.js +1 -0
- package/dist/sparkle-core/{p-232cc3bc.js → p-4a5f2b2b.js} +1 -1
- package/dist/sparkle-core/p-4ae75caa.entry.js +1 -0
- package/dist/sparkle-core/p-4c6a7e52.js +1 -0
- package/dist/sparkle-core/{p-8c6b6038.js → p-4d4077ea.js} +0 -0
- package/dist/sparkle-core/{p-3a202a38.entry.js → p-5096739e.entry.js} +1 -1
- package/dist/sparkle-core/p-5322c920.entry.js +1 -0
- package/dist/sparkle-core/p-539bf742.js +4 -0
- package/dist/sparkle-core/{p-2bd4c60e.js → p-53bcbd1d.js} +1 -1
- package/dist/sparkle-core/{p-6c5b5ea2.entry.js → p-54ada5e3.entry.js} +1 -1
- package/dist/sparkle-core/p-5519d283.entry.js +1 -0
- package/dist/sparkle-core/p-554da5b8.entry.js +1 -0
- package/dist/sparkle-core/{p-401feeb0.js → p-56a2e8a2.js} +1 -1
- package/dist/sparkle-core/{p-b3909012.entry.js → p-5893bbe5.entry.js} +1 -1
- package/dist/sparkle-core/p-594a6982.entry.js +1 -0
- package/dist/sparkle-core/{p-e1aee41e.entry.js → p-5c435d5a.entry.js} +1 -1
- package/dist/sparkle-core/{p-f61ca75c.entry.js → p-5da2d95a.entry.js} +1 -1
- package/dist/sparkle-core/{p-0ad99881.js → p-5fc26938.js} +1 -1
- package/dist/sparkle-core/{p-a9ee3f6d.entry.js → p-601397df.entry.js} +1 -1
- package/dist/sparkle-core/p-604a7987.js +4 -0
- package/dist/sparkle-core/{p-11cf398a.entry.js → p-616941c6.entry.js} +1 -1
- package/dist/sparkle-core/{p-aa87c7f0.entry.js → p-6316d124.entry.js} +1 -1
- package/dist/sparkle-core/p-63f69cdc.entry.js +1 -0
- package/dist/sparkle-core/p-63f71ada.entry.js +1 -0
- package/dist/sparkle-core/p-64e814b9.entry.js +1 -0
- package/dist/sparkle-core/{p-b21d0d9f.entry.js → p-66a85393.entry.js} +2 -2
- package/dist/sparkle-core/p-69487d90.entry.js +1 -0
- package/dist/sparkle-core/{p-848fe770.entry.js → p-6b05a1d3.entry.js} +1 -1
- package/dist/sparkle-core/{p-c4104929.entry.js → p-6c894fa2.entry.js} +1 -1
- package/dist/sparkle-core/p-6ea246fe.js +4 -0
- package/dist/sparkle-core/{p-021fde3c.entry.js → p-6ed0236e.entry.js} +1 -1
- package/dist/sparkle-core/{p-c748f64e.entry.js → p-6f0545b3.entry.js} +1 -1
- package/dist/sparkle-core/{p-337f92b0.entry.js → p-727e1c28.entry.js} +5 -5
- package/dist/sparkle-core/p-7d8427eb.js +4 -0
- package/dist/sparkle-core/{p-5264da79.js → p-7e7ce516.js} +0 -0
- package/dist/sparkle-core/{p-c5b9bdd6.entry.js → p-81714d94.entry.js} +1 -1
- package/dist/sparkle-core/{p-90466494.entry.js → p-82ad4e7c.entry.js} +1 -1
- package/dist/sparkle-core/p-859563db.entry.js +1 -0
- package/dist/sparkle-core/{p-4dc3ef96.entry.js → p-865f36a8.entry.js} +1 -1
- package/dist/sparkle-core/p-871106e0.js +4 -0
- package/dist/sparkle-core/{p-7493ee15.entry.js → p-8a41b502.entry.js} +1 -1
- package/dist/sparkle-core/p-8c74cbb6.entry.js +1 -0
- package/dist/sparkle-core/p-91accfc1.js +1 -0
- package/dist/sparkle-core/{p-d4c07aca.js → p-924b2917.js} +0 -0
- package/dist/sparkle-core/p-93e74f1b.entry.js +1 -0
- package/dist/sparkle-core/{p-d7baf31e.entry.js → p-975b99ee.entry.js} +1 -1
- package/dist/sparkle-core/p-99ee9919.js +1 -0
- package/dist/sparkle-core/{p-fbd7eeca.entry.js → p-9e309b3e.entry.js} +1 -1
- package/dist/sparkle-core/{p-996361f9.entry.js → p-9e7fee8f.entry.js} +1 -1
- package/dist/sparkle-core/{p-52d4715a.js → p-a019ad0c.js} +1 -1
- package/dist/sparkle-core/p-a208ab2d.js +4 -0
- package/dist/sparkle-core/p-a2638250.entry.js +1 -0
- package/dist/sparkle-core/{p-016a7aaf.entry.js → p-a2ebcf0a.entry.js} +1 -1
- package/dist/sparkle-core/p-a5c5da9a.entry.js +1 -0
- package/dist/sparkle-core/p-a85598ad.js +1 -0
- package/dist/sparkle-core/{p-954c89c2.entry.js → p-a8a77bec.entry.js} +1 -1
- package/dist/sparkle-core/{p-6823e6c1.entry.js → p-a98d7ebe.entry.js} +1 -1
- package/dist/sparkle-core/p-ad102371.js +4 -0
- package/dist/sparkle-core/p-add30d46.js +4 -0
- package/dist/sparkle-core/p-b236d258.entry.js +10 -0
- package/dist/sparkle-core/p-b4b01fa2.entry.js +1 -0
- package/dist/sparkle-core/{p-5a98d42e.entry.js → p-b4bc8b02.entry.js} +2 -2
- package/dist/sparkle-core/{p-5e4ec238.entry.js → p-b5ec8fb0.entry.js} +1 -1
- package/dist/sparkle-core/p-b83444c7.entry.js +1 -0
- package/dist/sparkle-core/p-b9933822.js +4 -0
- package/dist/sparkle-core/{p-beb401e3.entry.js → p-b9b1d4da.entry.js} +1 -1
- package/dist/sparkle-core/p-be28346b.js +4 -0
- package/dist/sparkle-core/p-c278db5f.entry.js +1 -0
- package/dist/sparkle-core/p-c2990b24.entry.js +1 -0
- package/dist/sparkle-core/p-c2bbaf55.entry.js +5 -0
- package/dist/sparkle-core/p-c4af184b.entry.js +1 -0
- package/dist/sparkle-core/p-c71cbbf7.entry.js +1 -0
- package/dist/sparkle-core/p-c8c73fa7.js +4 -0
- package/dist/sparkle-core/{p-11234d0f.entry.js → p-c8fe45df.entry.js} +1 -1
- package/dist/sparkle-core/p-c9cd4ff1.js +1 -0
- package/dist/sparkle-core/{p-a7832a51.js → p-ca4c8a10.js} +1 -1
- package/dist/sparkle-core/{p-4550e10f.entry.js → p-cab3da3c.entry.js} +1 -1
- package/dist/sparkle-core/p-cc518c36.entry.js +1 -0
- package/dist/sparkle-core/p-cd832fbf.entry.js +1 -0
- package/dist/sparkle-core/p-ce94efdb.entry.js +4 -0
- package/dist/sparkle-core/p-cffd4817.entry.js +1 -0
- package/dist/sparkle-core/{p-034306e2.js → p-d0ac5f17.js} +1 -1
- package/dist/sparkle-core/{p-c69b0a7a.entry.js → p-d0adf726.entry.js} +1 -1
- package/dist/sparkle-core/p-d1fcbfc2.js +4 -0
- package/dist/sparkle-core/{p-03ec54a8.entry.js → p-d20e4fcf.entry.js} +1 -1
- package/dist/sparkle-core/p-d24e53ab.entry.js +1 -0
- package/dist/sparkle-core/p-d288e6c1.entry.js +1 -0
- package/dist/sparkle-core/p-d432d3ac.entry.js +1 -0
- package/dist/sparkle-core/{p-ee0d7f19.entry.js → p-d601810e.entry.js} +1 -1
- package/dist/sparkle-core/p-d81a0680.js +1 -0
- package/dist/sparkle-core/{p-2f437793.entry.js → p-d969f7d0.entry.js} +14 -14
- package/dist/sparkle-core/p-dabc80c4.entry.js +1 -0
- package/dist/sparkle-core/p-db8387eb.entry.js +1 -0
- package/dist/sparkle-core/{p-67f71099.entry.js → p-dca90a55.entry.js} +1 -1
- package/dist/sparkle-core/p-dd2e7f84.js +4 -0
- package/dist/sparkle-core/p-e0429a19.entry.js +1 -0
- package/dist/sparkle-core/{p-b07a2cf2.entry.js → p-e249aebf.entry.js} +1 -1
- package/dist/sparkle-core/p-e3e36ce9.entry.js +1 -0
- package/dist/sparkle-core/{p-1726da2f.entry.js → p-e421d638.entry.js} +1 -1
- package/dist/sparkle-core/{p-85429b12.entry.js → p-e65c72cc.entry.js} +1 -1
- package/dist/sparkle-core/p-e7066c64.entry.js +1 -0
- package/dist/sparkle-core/{p-ff4d6858.js → p-e7568d4b.js} +2 -2
- package/dist/sparkle-core/{p-3defe550.entry.js → p-e8988989.entry.js} +1 -1
- package/dist/sparkle-core/p-e9431eeb.js +7 -0
- package/dist/sparkle-core/p-ea962e1b.entry.js +1 -0
- package/dist/sparkle-core/p-eaa8bbee.js +4 -0
- package/dist/sparkle-core/p-eb40a191.entry.js +1 -0
- package/dist/sparkle-core/{p-330ccc7c.entry.js → p-ecdea569.entry.js} +1 -1
- package/dist/sparkle-core/p-ed9f48c4.entry.js +1 -0
- package/dist/sparkle-core/p-ee1e0eb4.js +2 -0
- package/dist/sparkle-core/{p-d394eed1.entry.js → p-ef6c2352.entry.js} +1 -1
- package/dist/sparkle-core/p-f0cf4a8f.entry.js +1 -0
- package/dist/sparkle-core/{p-a9ccb0df.js → p-f3cba72a.js} +0 -0
- package/dist/sparkle-core/{p-08923b40.entry.js → p-f4b0b6a4.entry.js} +1 -1
- package/dist/sparkle-core/{p-d00f550b.entry.js → p-fc965b88.entry.js} +1 -1
- package/dist/sparkle-core/p-fd430a82.entry.js +1 -0
- package/dist/sparkle-core/p-fd8d0738.entry.js +4 -0
- package/dist/sparkle-core/{p-90389886.entry.js → p-fda95b6e.entry.js} +1 -1
- package/dist/sparkle-core/p-fde382f0.entry.js +4 -0
- package/dist/sparkle-core/{p-350adbaa.entry.js → p-fe6dc976.entry.js} +1 -1
- package/dist/sparkle-core/{p-ecd39170.entry.js → p-ff0e0d4e.entry.js} +1 -1
- package/dist/sparkle-core/sparkle-core.css +1 -1
- package/dist/sparkle-core/sparkle-core.esm.js +1 -1
- package/dist/types/components/sparkle-feed-post/sparkle-feed-post.d.ts +16 -0
- package/dist/types/components/sparkle-quiz/sparkle-quiz/sparkle-quiz.d.ts +42 -0
- package/dist/types/components/sparkle-quiz/sparkle-quiz-v1.d.ts +41 -0
- package/dist/types/components/sparkle-quiz/sparkle-quiz.d.ts +36 -36
- package/dist/types/components.d.ts +96 -11
- package/package.json +3 -3
- package/dist/cjs/ion-button_3.cjs.entry.js +0 -383
- package/dist/cjs/ion-icon_2.cjs.entry.js +0 -397
- package/dist/cjs/ion-range.cjs.entry.js +0 -445
- package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +0 -117
- package/dist/cjs/stencil-route-link.cjs.entry.js +0 -77
- package/dist/esm/ion-button_3.entry.js +0 -377
- package/dist/esm/ion-icon_2.entry.js +0 -392
- package/dist/esm/ion-range.entry.js +0 -441
- package/dist/esm/sparkle-quiz-feedback_5.entry.js +0 -109
- package/dist/esm/stencil-route-link.entry.js +0 -73
- package/dist/sparkle-core/p-034aa29f.entry.js +0 -5
- package/dist/sparkle-core/p-052caa63.js +0 -1
- package/dist/sparkle-core/p-0580419b.entry.js +0 -1
- package/dist/sparkle-core/p-063cd168.js +0 -4
- package/dist/sparkle-core/p-06c0cce3.entry.js +0 -1
- package/dist/sparkle-core/p-081968cc.entry.js +0 -1
- package/dist/sparkle-core/p-0934f5dd.entry.js +0 -1
- package/dist/sparkle-core/p-1133fcbd.js +0 -4
- package/dist/sparkle-core/p-1551190a.entry.js +0 -1
- package/dist/sparkle-core/p-1e8c22e0.entry.js +0 -1
- package/dist/sparkle-core/p-21bf4ca0.entry.js +0 -1
- package/dist/sparkle-core/p-28950db0.entry.js +0 -1
- package/dist/sparkle-core/p-2af82cc1.entry.js +0 -1
- package/dist/sparkle-core/p-35a7bd6c.entry.js +0 -1
- package/dist/sparkle-core/p-35c5c110.entry.js +0 -1
- package/dist/sparkle-core/p-3ff617d5.js +0 -1
- package/dist/sparkle-core/p-4028676b.js +0 -4
- package/dist/sparkle-core/p-41124baa.js +0 -4
- package/dist/sparkle-core/p-41af3793.entry.js +0 -1
- package/dist/sparkle-core/p-43a7391b.entry.js +0 -1
- package/dist/sparkle-core/p-44c23f72.js +0 -1
- package/dist/sparkle-core/p-45e6db62.entry.js +0 -1
- package/dist/sparkle-core/p-48f9b960.entry.js +0 -1
- package/dist/sparkle-core/p-4a72626a.js +0 -1
- package/dist/sparkle-core/p-4ba57978.entry.js +0 -4
- package/dist/sparkle-core/p-4ef4b8bd.entry.js +0 -5
- package/dist/sparkle-core/p-4f144efa.js +0 -4
- package/dist/sparkle-core/p-58e98f89.entry.js +0 -1
- package/dist/sparkle-core/p-59f7bf6e.entry.js +0 -1
- package/dist/sparkle-core/p-5ec7fd67.entry.js +0 -1
- package/dist/sparkle-core/p-618f6f82.entry.js +0 -1
- package/dist/sparkle-core/p-62a6c96f.entry.js +0 -1
- package/dist/sparkle-core/p-65ca1fb2.entry.js +0 -1
- package/dist/sparkle-core/p-663fafa9.entry.js +0 -1
- package/dist/sparkle-core/p-680663a2.entry.js +0 -1
- package/dist/sparkle-core/p-6a16b9ef.entry.js +0 -4
- package/dist/sparkle-core/p-6b6a8f0a.entry.js +0 -1
- package/dist/sparkle-core/p-6ebf52fb.entry.js +0 -1
- package/dist/sparkle-core/p-6f45db93.js +0 -1
- package/dist/sparkle-core/p-6fd4985d.js +0 -4
- package/dist/sparkle-core/p-7052c43a.entry.js +0 -1
- package/dist/sparkle-core/p-70b2452c.js +0 -4
- package/dist/sparkle-core/p-74106ca8.entry.js +0 -1
- package/dist/sparkle-core/p-75572037.js +0 -1
- package/dist/sparkle-core/p-7568dcab.entry.js +0 -1
- package/dist/sparkle-core/p-768bcc9e.entry.js +0 -1
- package/dist/sparkle-core/p-7703bae9.entry.js +0 -1
- package/dist/sparkle-core/p-77c23496.entry.js +0 -1
- package/dist/sparkle-core/p-79606a41.entry.js +0 -1
- package/dist/sparkle-core/p-7976e88c.entry.js +0 -1
- package/dist/sparkle-core/p-7c1f59ec.js +0 -1
- package/dist/sparkle-core/p-7de0a22b.entry.js +0 -1
- package/dist/sparkle-core/p-86d099f1.js +0 -4
- package/dist/sparkle-core/p-87549bb7.js +0 -4
- package/dist/sparkle-core/p-8c470e28.entry.js +0 -1
- package/dist/sparkle-core/p-95d01c4c.js +0 -4
- package/dist/sparkle-core/p-987c64eb.js +0 -1
- package/dist/sparkle-core/p-9babd345.js +0 -1
- package/dist/sparkle-core/p-a89dea80.entry.js +0 -1
- package/dist/sparkle-core/p-b17dd6df.js +0 -4
- package/dist/sparkle-core/p-b3e6427d.js +0 -7
- package/dist/sparkle-core/p-b7dafaae.entry.js +0 -1
- package/dist/sparkle-core/p-bd062288.entry.js +0 -1
- package/dist/sparkle-core/p-bef34cfe.entry.js +0 -1
- package/dist/sparkle-core/p-c1c59771.js +0 -1
- package/dist/sparkle-core/p-c3d3d5c4.entry.js +0 -1
- package/dist/sparkle-core/p-c48bbc7c.entry.js +0 -4
- package/dist/sparkle-core/p-c753207f.entry.js +0 -1
- package/dist/sparkle-core/p-c8ed0575.js +0 -1
- package/dist/sparkle-core/p-c96b24bd.entry.js +0 -4
- package/dist/sparkle-core/p-ce13171b.entry.js +0 -1
- package/dist/sparkle-core/p-d4b1a14a.entry.js +0 -1
- package/dist/sparkle-core/p-d56efeac.entry.js +0 -4
- package/dist/sparkle-core/p-d59a5984.entry.js +0 -1
- package/dist/sparkle-core/p-d8aff730.entry.js +0 -1
- package/dist/sparkle-core/p-da8921d0.entry.js +0 -1
- package/dist/sparkle-core/p-e08059b6.js +0 -4
- package/dist/sparkle-core/p-e3fdd0a8.entry.js +0 -1
- package/dist/sparkle-core/p-ec4d22e3.entry.js +0 -1
- package/dist/sparkle-core/p-ed3eed72.entry.js +0 -1
- package/dist/sparkle-core/p-ee0717e1.entry.js +0 -4
- package/dist/sparkle-core/p-ef2dace6.js +0 -4
- package/dist/sparkle-core/p-f1106984.entry.js +0 -1
- package/dist/sparkle-core/p-f9b73032.entry.js +0 -1
- package/dist/sparkle-core/p-fef04ab5.js +0 -4
@@ -4,40 +4,40 @@
|
|
4
4
|
* (C) Ionic http://ionicframework.com - MIT License
|
5
5
|
*/
|
6
6
|
const spinners = {
|
7
|
-
|
7
|
+
bubbles: {
|
8
8
|
dur: 1000,
|
9
9
|
circles: 9,
|
10
10
|
fn: (dur, index, total) => {
|
11
|
-
const animationDelay = `${(dur * index / total
|
12
|
-
const angle = 2 * Math.PI * index / total;
|
11
|
+
const animationDelay = `${(dur * index) / total - dur}ms`;
|
12
|
+
const angle = (2 * Math.PI * index) / total;
|
13
13
|
return {
|
14
14
|
r: 5,
|
15
15
|
style: {
|
16
|
-
|
17
|
-
|
16
|
+
top: `${9 * Math.sin(angle)}px`,
|
17
|
+
left: `${9 * Math.cos(angle)}px`,
|
18
18
|
'animation-delay': animationDelay,
|
19
|
-
}
|
19
|
+
},
|
20
20
|
};
|
21
|
-
}
|
21
|
+
},
|
22
22
|
},
|
23
|
-
|
23
|
+
circles: {
|
24
24
|
dur: 1000,
|
25
25
|
circles: 8,
|
26
26
|
fn: (dur, index, total) => {
|
27
27
|
const step = index / total;
|
28
|
-
const animationDelay = `${
|
28
|
+
const animationDelay = `${dur * step - dur}ms`;
|
29
29
|
const angle = 2 * Math.PI * step;
|
30
30
|
return {
|
31
31
|
r: 5,
|
32
32
|
style: {
|
33
|
-
|
34
|
-
|
33
|
+
top: `${9 * Math.sin(angle)}px`,
|
34
|
+
left: `${9 * Math.cos(angle)}px`,
|
35
35
|
'animation-delay': animationDelay,
|
36
|
-
}
|
36
|
+
},
|
37
37
|
};
|
38
|
-
}
|
38
|
+
},
|
39
39
|
},
|
40
|
-
|
40
|
+
circular: {
|
41
41
|
dur: 1400,
|
42
42
|
elmDuration: true,
|
43
43
|
circles: 1,
|
@@ -49,21 +49,21 @@ const spinners = {
|
|
49
49
|
fill: 'none',
|
50
50
|
viewBox: '24 24 48 48',
|
51
51
|
transform: 'translate(0,0)',
|
52
|
-
style: {}
|
52
|
+
style: {},
|
53
53
|
};
|
54
|
-
}
|
54
|
+
},
|
55
55
|
},
|
56
|
-
|
56
|
+
crescent: {
|
57
57
|
dur: 750,
|
58
58
|
circles: 1,
|
59
59
|
fn: () => {
|
60
60
|
return {
|
61
61
|
r: 26,
|
62
|
-
style: {}
|
62
|
+
style: {},
|
63
63
|
};
|
64
|
-
}
|
64
|
+
},
|
65
65
|
},
|
66
|
-
|
66
|
+
dots: {
|
67
67
|
dur: 750,
|
68
68
|
circles: 3,
|
69
69
|
fn: (_, index) => {
|
@@ -71,76 +71,76 @@ const spinners = {
|
|
71
71
|
return {
|
72
72
|
r: 6,
|
73
73
|
style: {
|
74
|
-
|
74
|
+
left: `${9 - 9 * index}px`,
|
75
75
|
'animation-delay': animationDelay,
|
76
|
-
}
|
76
|
+
},
|
77
77
|
};
|
78
|
-
}
|
78
|
+
},
|
79
79
|
},
|
80
|
-
|
80
|
+
lines: {
|
81
81
|
dur: 1000,
|
82
82
|
lines: 8,
|
83
83
|
fn: (dur, index, total) => {
|
84
|
-
const transform = `rotate(${(360 / total) * index + (index <
|
85
|
-
const animationDelay = `${(dur * index / total
|
84
|
+
const transform = `rotate(${(360 / total) * index + (index < total / 2 ? 180 : -180)}deg)`;
|
85
|
+
const animationDelay = `${(dur * index) / total - dur}ms`;
|
86
86
|
return {
|
87
87
|
y1: 14,
|
88
88
|
y2: 26,
|
89
89
|
style: {
|
90
|
-
|
90
|
+
transform: transform,
|
91
91
|
'animation-delay': animationDelay,
|
92
|
-
}
|
92
|
+
},
|
93
93
|
};
|
94
|
-
}
|
94
|
+
},
|
95
95
|
},
|
96
96
|
'lines-small': {
|
97
97
|
dur: 1000,
|
98
98
|
lines: 8,
|
99
99
|
fn: (dur, index, total) => {
|
100
|
-
const transform = `rotate(${(360 / total) * index + (index <
|
101
|
-
const animationDelay = `${(dur * index / total
|
100
|
+
const transform = `rotate(${(360 / total) * index + (index < total / 2 ? 180 : -180)}deg)`;
|
101
|
+
const animationDelay = `${(dur * index) / total - dur}ms`;
|
102
102
|
return {
|
103
103
|
y1: 12,
|
104
104
|
y2: 20,
|
105
105
|
style: {
|
106
|
-
|
106
|
+
transform: transform,
|
107
107
|
'animation-delay': animationDelay,
|
108
|
-
}
|
108
|
+
},
|
109
109
|
};
|
110
|
-
}
|
110
|
+
},
|
111
111
|
},
|
112
112
|
'lines-sharp': {
|
113
113
|
dur: 1000,
|
114
114
|
lines: 12,
|
115
115
|
fn: (dur, index, total) => {
|
116
116
|
const transform = `rotate(${30 * index + (index < 6 ? 180 : -180)}deg)`;
|
117
|
-
const animationDelay = `${(dur * index / total
|
117
|
+
const animationDelay = `${(dur * index) / total - dur}ms`;
|
118
118
|
return {
|
119
119
|
y1: 17,
|
120
120
|
y2: 29,
|
121
121
|
style: {
|
122
|
-
|
122
|
+
transform: transform,
|
123
123
|
'animation-delay': animationDelay,
|
124
|
-
}
|
124
|
+
},
|
125
125
|
};
|
126
|
-
}
|
126
|
+
},
|
127
127
|
},
|
128
128
|
'lines-sharp-small': {
|
129
129
|
dur: 1000,
|
130
130
|
lines: 12,
|
131
131
|
fn: (dur, index, total) => {
|
132
132
|
const transform = `rotate(${30 * index + (index < 6 ? 180 : -180)}deg)`;
|
133
|
-
const animationDelay = `${(dur * index / total
|
133
|
+
const animationDelay = `${(dur * index) / total - dur}ms`;
|
134
134
|
return {
|
135
135
|
y1: 12,
|
136
136
|
y2: 20,
|
137
137
|
style: {
|
138
|
-
|
138
|
+
transform: transform,
|
139
139
|
'animation-delay': animationDelay,
|
140
|
-
}
|
140
|
+
},
|
141
141
|
};
|
142
|
-
}
|
143
|
-
}
|
142
|
+
},
|
143
|
+
},
|
144
144
|
};
|
145
145
|
const SPINNERS = spinners;
|
146
146
|
|
@@ -1,7 +1,9 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
const index = require('./index-
|
4
|
-
const
|
3
|
+
const index = require('./index-51e8292e.js');
|
4
|
+
const index$1 = require('./index-9c7b27e4.js');
|
5
|
+
const helpers = require('./helpers-c2496722.js');
|
6
|
+
require('./index-e56e09b8.js');
|
5
7
|
|
6
8
|
/*!
|
7
9
|
* (C) Ionic http://ionicframework.com - MIT License
|
@@ -16,9 +18,9 @@ const startStatusTap = () => {
|
|
16
18
|
if (!el) {
|
17
19
|
return;
|
18
20
|
}
|
19
|
-
const contentEl =
|
21
|
+
const contentEl = index$1.findClosestIonContent(el);
|
20
22
|
if (contentEl) {
|
21
|
-
new Promise(resolve => helpers.componentOnReady(contentEl, resolve)).then(() => {
|
23
|
+
new Promise((resolve) => helpers.componentOnReady(contentEl, resolve)).then(() => {
|
22
24
|
index.writeTask(async () => {
|
23
25
|
/**
|
24
26
|
* If scrolling and user taps status bar,
|
@@ -28,7 +30,7 @@ const startStatusTap = () => {
|
|
28
30
|
* any in-progress momentum scrolling.
|
29
31
|
*/
|
30
32
|
contentEl.style.setProperty('--overflow', 'hidden');
|
31
|
-
await
|
33
|
+
await index$1.scrollToTop(contentEl, 300);
|
32
34
|
contentEl.style.removeProperty('--overflow');
|
33
35
|
});
|
34
36
|
});
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
6
|
-
const activeRouter = require('./active-router-
|
5
|
+
const index = require('./index-51e8292e.js');
|
6
|
+
const activeRouter = require('./active-router-f9e18bd8.js');
|
7
7
|
|
8
8
|
const RouteTitle = class {
|
9
9
|
constructor(hostRef) {
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
6
|
-
const activeRouter = require('./active-router-
|
5
|
+
const index = require('./index-51e8292e.js');
|
6
|
+
const activeRouter = require('./active-router-f9e18bd8.js');
|
7
7
|
|
8
8
|
const StencilRouterPrompt = class {
|
9
9
|
constructor(hostRef) {
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
6
|
-
const activeRouter = require('./active-router-
|
5
|
+
const index = require('./index-51e8292e.js');
|
6
|
+
const activeRouter = require('./active-router-f9e18bd8.js');
|
7
7
|
|
8
8
|
// Get the URL for this route link without the root from the router
|
9
9
|
const getUrl = (url, root) => {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
const
|
4
|
-
const user_store = require('./user.store-
|
3
|
+
const httpService = require('./httpService-7211d93b.js');
|
4
|
+
const user_store = require('./user.store-8a049c4e.js');
|
5
5
|
|
6
6
|
class StudentService {
|
7
7
|
constructor() { }
|
@@ -12,7 +12,7 @@ class StudentService {
|
|
12
12
|
return StudentService.instance;
|
13
13
|
}
|
14
14
|
async enrollClass(enrollInput) {
|
15
|
-
let result = await
|
15
|
+
let result = await httpService.HttpService.http.post('api/v1/Student/EnrollClass', enrollInput);
|
16
16
|
if (result) {
|
17
17
|
user_store.userStore.state.enrollmentList = [
|
18
18
|
...user_store.userStore.state.enrollmentList,
|
@@ -22,14 +22,14 @@ class StudentService {
|
|
22
22
|
return result;
|
23
23
|
}
|
24
24
|
async leaveClass(leaveInput) {
|
25
|
-
let result = await
|
25
|
+
let result = await httpService.HttpService.http.post('api/v1/Student/LeaveClass', leaveInput);
|
26
26
|
if (result) {
|
27
27
|
user_store.userStore.state.enrollmentList = user_store.userStore.state.enrollmentList.filter((item) => item.Id != result.Data);
|
28
28
|
}
|
29
29
|
return result;
|
30
30
|
}
|
31
31
|
async fetchUserConfiguration() {
|
32
|
-
let result = await
|
32
|
+
let result = await httpService.HttpService.http.get('api/v1/Student/UserConfiguration');
|
33
33
|
if (result) {
|
34
34
|
user_store.userStore.state.enrollmentList = result.Data.EnrollmentList;
|
35
35
|
user_store.userStore.state.user.FirstName = result.Data.FirstName;
|
@@ -44,7 +44,7 @@ class StudentService {
|
|
44
44
|
}
|
45
45
|
async updateProfile(updateProfileInput) {
|
46
46
|
user_store.userStore.state.updateLoading = true;
|
47
|
-
let result = await
|
47
|
+
let result = await httpService.HttpService.http.post('api/Account/update-profile', updateProfileInput);
|
48
48
|
console.log('after fetch', result);
|
49
49
|
if (result) {
|
50
50
|
user_store.userStore.state.updateLoading = false;
|
@@ -53,7 +53,7 @@ class StudentService {
|
|
53
53
|
return result;
|
54
54
|
}
|
55
55
|
async submitFeedback(feedbackInput) {
|
56
|
-
let result = await
|
56
|
+
let result = await httpService.HttpService.http.post('api/v1/Feedback', feedbackInput);
|
57
57
|
return result;
|
58
58
|
}
|
59
59
|
}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
const helpers = require('./helpers-
|
3
|
+
const helpers = require('./helpers-c2496722.js');
|
4
4
|
const dir = require('./dir-5af5259a.js');
|
5
|
-
const index = require('./index-
|
6
|
-
require('./gesture-controller-
|
5
|
+
const index = require('./index-12082cba.js');
|
6
|
+
require('./gesture-controller-0eb5579e.js');
|
7
7
|
|
8
8
|
/*!
|
9
9
|
* (C) Ionic http://ionicframework.com - MIT License
|
@@ -59,7 +59,7 @@ const createSwipeBackGesture = (el, canStartHandler, onStartHandler, onMoveHandl
|
|
59
59
|
* or values greater than 1 which should not be possible.
|
60
60
|
* Need to investigate more to find where the issue is.
|
61
61
|
*/
|
62
|
-
onEndHandler(shouldComplete,
|
62
|
+
onEndHandler(shouldComplete, stepValue <= 0 ? 0.01 : helpers.clamp(0, stepValue, 0.9999), realDur);
|
63
63
|
};
|
64
64
|
return index.createGesture({
|
65
65
|
el,
|
@@ -69,7 +69,7 @@ const createSwipeBackGesture = (el, canStartHandler, onStartHandler, onMoveHandl
|
|
69
69
|
canStart,
|
70
70
|
onStart: onStartHandler,
|
71
71
|
onMove,
|
72
|
-
onEnd
|
72
|
+
onEnd,
|
73
73
|
});
|
74
74
|
};
|
75
75
|
|
@@ -10,21 +10,22 @@ const hostContext = (selector, el) => {
|
|
10
10
|
* Create the mode and color classes for the component based on the classes passed in
|
11
11
|
*/
|
12
12
|
const createColorClasses = (color, cssClassMap) => {
|
13
|
-
return
|
13
|
+
return typeof color === 'string' && color.length > 0
|
14
|
+
? Object.assign({ 'ion-color': true, [`ion-color-${color}`]: true }, cssClassMap) : cssClassMap;
|
14
15
|
};
|
15
16
|
const getClassList = (classes) => {
|
16
17
|
if (classes !== undefined) {
|
17
18
|
const array = Array.isArray(classes) ? classes : classes.split(' ');
|
18
19
|
return array
|
19
|
-
.filter(c => c != null)
|
20
|
-
.map(c => c.trim())
|
21
|
-
.filter(c => c !== '');
|
20
|
+
.filter((c) => c != null)
|
21
|
+
.map((c) => c.trim())
|
22
|
+
.filter((c) => c !== '');
|
22
23
|
}
|
23
24
|
return [];
|
24
25
|
};
|
25
26
|
const getClassMap = (classes) => {
|
26
27
|
const map = {};
|
27
|
-
getClassList(classes).forEach(c => map[c] = true);
|
28
|
+
getClassList(classes).forEach((c) => (map[c] = true));
|
28
29
|
return map;
|
29
30
|
};
|
30
31
|
const SCHEME = /^[a-z][a-z0-9+\-.]*:/;
|
@@ -32,7 +32,8 @@
|
|
32
32
|
"./components/sparkle-intro/sparkle-intro.js",
|
33
33
|
"./components/sparkle-login/sparkle-login.js",
|
34
34
|
"./components/sparkle-poll/sparkle-poll.js",
|
35
|
-
"./components/sparkle-quiz/sparkle-quiz.js",
|
35
|
+
"./components/sparkle-quiz/sparkle-quiz-v1.js",
|
36
|
+
"./components/sparkle-quiz/sparkle-quiz/sparkle-quiz.js",
|
36
37
|
"./components/sparkle-quiz/sparkle-quiz-feedback/sparkle-quiz-feedback.js",
|
37
38
|
"./components/sparkle-quiz/sparkle-quiz-input/sparkle-quiz-input.js",
|
38
39
|
"./components/sparkle-quiz/sparkle-quiz-opinion/sparkle-quiz-opinion.js",
|
@@ -50,7 +51,7 @@
|
|
50
51
|
],
|
51
52
|
"compiler": {
|
52
53
|
"name": "@stencil/core",
|
53
|
-
"version": "2.
|
54
|
+
"version": "2.17.3",
|
54
55
|
"typescriptVersion": "4.5.4"
|
55
56
|
},
|
56
57
|
"collections": [
|
@@ -80,6 +81,7 @@
|
|
80
81
|
"ion-col",
|
81
82
|
"ion-content",
|
82
83
|
"ion-datetime",
|
84
|
+
"ion-datetime-button",
|
83
85
|
"ion-fab",
|
84
86
|
"ion-fab-button",
|
85
87
|
"ion-fab-list",
|
@@ -1,3 +1,19 @@
|
|
1
1
|
:host {
|
2
2
|
display: block;
|
3
3
|
}
|
4
|
+
|
5
|
+
.post-footer{
|
6
|
+
display: flex;
|
7
|
+
justify-content: space-between;
|
8
|
+
}
|
9
|
+
.error{
|
10
|
+
color:red;
|
11
|
+
}
|
12
|
+
.success{
|
13
|
+
color:green;
|
14
|
+
}
|
15
|
+
.uploaded-image{
|
16
|
+
display: block;
|
17
|
+
max-height: 140px;
|
18
|
+
width : auto !important
|
19
|
+
}
|
@@ -1,8 +1,140 @@
|
|
1
|
-
import { Component,
|
1
|
+
import { Component, Element, State, Prop, Method, h } from '@stencil/core';
|
2
|
+
import { EnvironmentConfigService } from '../../services';
|
2
3
|
export class SparkleFeedPost {
|
4
|
+
// @Prop({ connect: 'ion-toast-controller' })
|
5
|
+
// toastCtrl: HTMLIonToastControllerElement;
|
6
|
+
componentDidLoad() {
|
7
|
+
this.postText = this.textValue;
|
8
|
+
}
|
9
|
+
setText(text) {
|
10
|
+
this.postText = text;
|
11
|
+
}
|
12
|
+
// async postToFeed() {
|
13
|
+
// const sparkleConfig: EnvironmentSparkleConfig = EnvironmentConfigService.getInstance().get('sparkle');
|
14
|
+
// const tocData = await AssetsService.getInstance().loadJsonFile<ICourse>(sparkleConfig.tocPath);
|
15
|
+
// var model = {
|
16
|
+
// CourseId: tocData.id,
|
17
|
+
// MiniAppId: SparkleGlobal.MY_GOALS_APP_ID,
|
18
|
+
// PostText: MyGoalTemplate(this.name.value, this.goalUpdateText.value, this.progress),
|
19
|
+
// PostTextJSON: MyGoalTemplateJSON(this.name.value, this.goalUpdateText.value, this.progress),
|
20
|
+
// IsPublic: this.public,
|
21
|
+
// ExternalResourceUrl: "",
|
22
|
+
// }
|
23
|
+
// const result = await FeedService.getInstance().createPost(model);
|
24
|
+
// if (result.Succeeded) {
|
25
|
+
// //show success toast
|
26
|
+
// }
|
27
|
+
// }
|
28
|
+
isAuthenticated() {
|
29
|
+
try {
|
30
|
+
var sparkleConfig = EnvironmentConfigService.getInstance().get('sparkle');
|
31
|
+
if (!!sparkleConfig && !!sparkleConfig.auth && !!sparkleConfig.auth.getToken()) {
|
32
|
+
return true;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
catch (_a) {
|
36
|
+
return false;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
submitPost() {
|
40
|
+
this.errorMessage = '';
|
41
|
+
this.successMessage = '';
|
42
|
+
//let formData = new FormData(this.el.querySelector("form")) as any;
|
43
|
+
//var postText = this.el.getElementsByClassName("PostText")[0] as HTMLInputElement;
|
44
|
+
var postExternalUrl = this.el.getElementsByClassName('PostExternalUrl')[0];
|
45
|
+
var isPublic = this.el.getElementsByClassName('IsPublic')[0];
|
46
|
+
var data = {
|
47
|
+
PostText: this.postText,
|
48
|
+
IsPublic: isPublic.checked,
|
49
|
+
ExternalResourceUrl: postExternalUrl.value,
|
50
|
+
MiniAppId: 1,
|
51
|
+
AssignmentName: this.assignmentName,
|
52
|
+
AssignmentData: '',
|
53
|
+
};
|
54
|
+
// this.dataSvc.saveData(data, '/api/class/feed').subscribe(
|
55
|
+
// x => {
|
56
|
+
// this.successMessage = 'Posted Successfully.';
|
57
|
+
// // this.presentToast('Success');
|
58
|
+
// },
|
59
|
+
// error => {
|
60
|
+
// this.errorMessage = 'There is an error while posting.';
|
61
|
+
// // this.presentToast('There is an error');
|
62
|
+
// },
|
63
|
+
// );
|
64
|
+
//TODO can we return data from the dataSvc so we know if it's successful and can update the form? (Perhaps replace it with the post itself?)
|
65
|
+
// if (this.assignmentName) {
|
66
|
+
// data.AssignmentData = JSON.stringify({ text: data.PostText, url: data.ExternalResourceUrl });
|
67
|
+
// this.dataSvc.saveData(data, '/api/student/assignment-response').subscribe(
|
68
|
+
// x => {
|
69
|
+
// this.successMessage = 'Posted Successfully.';
|
70
|
+
// // this.presentToast('Success');
|
71
|
+
// },
|
72
|
+
// error => {
|
73
|
+
// this.errorMessage = 'There is an error while posting.';
|
74
|
+
// // this.presentToast('There is an error');
|
75
|
+
// },
|
76
|
+
// );
|
77
|
+
// }
|
78
|
+
}
|
79
|
+
uploadImage(evt) {
|
80
|
+
// this.uploadImageLoading = true;
|
81
|
+
// var files = evt.target.files;
|
82
|
+
// this.dataSvc.uploadImage(files, '/api/mediaitems/upload').subscribe(
|
83
|
+
// x => {
|
84
|
+
// this.uploadImageLoading = false;
|
85
|
+
// this.uploadedImage = x.length > 0 ? x[0].FullImageUrl : '';
|
86
|
+
// this.externalResourceUrl = x.length > 0 ? x[0].FullImageUrl : '';
|
87
|
+
// //this.successMessage = 'Posted Successfully.'
|
88
|
+
// // this.presentToast('Success');
|
89
|
+
// },
|
90
|
+
// error => {
|
91
|
+
// this.uploadImageLoading = false;
|
92
|
+
// this.errorMessage = 'There is an error while uploading an image.';
|
93
|
+
// },
|
94
|
+
// );
|
95
|
+
}
|
96
|
+
selectFile() {
|
97
|
+
var fileInput = document.getElementById('fileInput');
|
98
|
+
fileInput.click();
|
99
|
+
}
|
100
|
+
renderUserInfo() {
|
101
|
+
var tokenInfo = { Token: null, ProfileImageUrl: null };
|
102
|
+
if (tokenInfo != null && tokenInfo.Token) {
|
103
|
+
return (h("ion-avatar", { class: "header-avatar", slot: "end" }, tokenInfo.ProfileImageUrl ? h("img", { src: tokenInfo.ProfileImageUrl }) : h("img", { src: "/assets/img/avatar.png" })));
|
104
|
+
}
|
105
|
+
else {
|
106
|
+
return (h("ion-button", { slot: "end", href: "/login" }, "Login to Post"));
|
107
|
+
}
|
108
|
+
}
|
3
109
|
render() {
|
4
|
-
|
5
|
-
|
110
|
+
const userInfo = this.renderUserInfo();
|
111
|
+
return (h("ion-card", null,
|
112
|
+
h("ion-item", { class: "header" },
|
113
|
+
h("ion-card-title", null, "Bulletin Board"),
|
114
|
+
userInfo),
|
115
|
+
h("ion-card-content", null,
|
116
|
+
h("form", null,
|
117
|
+
h("ion-list", null,
|
118
|
+
h("ion-item", { lines: "none" },
|
119
|
+
h("ion-label", null, "Public"),
|
120
|
+
h("ion-toggle", { class: "IsPublic", slot: "end", color: "primary", name: "IsPublic" })),
|
121
|
+
h("ion-item", { class: "padding" },
|
122
|
+
h("ion-textarea", { class: "PostText", required: true, placeholder: "Post Text", name: "PostText", value: this.postText })),
|
123
|
+
h("ion-item", { class: "padding" },
|
124
|
+
h("ion-input", { class: "PostExternalUrl", required: true, type: "text", placeholder: "URL", name: "ExternalResourceUrl", value: this.externalResourceUrl })),
|
125
|
+
this.uploadedImage ? (h("ion-item", { class: "padding" },
|
126
|
+
h("img", { class: "uploaded-image", src: this.uploadedImage }))) : (''),
|
127
|
+
h("ion-item", { lines: "none" },
|
128
|
+
h("input", { type: "file", id: "fileInput", onChange: evt => this.uploadImage(evt), style: { display: 'none' }, accept: "image/*" }),
|
129
|
+
this.uploadImageLoading ? h("ion-spinner", { color: "primary" }) : '',
|
130
|
+
h("ion-button", { slot: "start", onClick: evt => this.selectFile() },
|
131
|
+
h("ion-icon", { name: "add" }),
|
132
|
+
"Upload Image")),
|
133
|
+
h("ion-item", { class: "post-footer", lines: "none" },
|
134
|
+
h("div", null,
|
135
|
+
h("div", { class: "error" }, this.errorMessage),
|
136
|
+
h("div", { class: "success" }, this.successMessage)),
|
137
|
+
h("ion-button", { slot: "end", size: "default", onClick: evt => this.submitPost(), disabled: !this.isAuthenticated() }, "Post")))))));
|
6
138
|
}
|
7
139
|
static get is() { return "sparkle-feed-post"; }
|
8
140
|
static get originalStyleUrls() { return {
|
@@ -11,4 +143,66 @@ export class SparkleFeedPost {
|
|
11
143
|
static get styleUrls() { return {
|
12
144
|
"$": ["sparkle-feed-post.css"]
|
13
145
|
}; }
|
146
|
+
static get properties() { return {
|
147
|
+
"assignmentName": {
|
148
|
+
"type": "string",
|
149
|
+
"mutable": false,
|
150
|
+
"complexType": {
|
151
|
+
"original": "string",
|
152
|
+
"resolved": "string",
|
153
|
+
"references": {}
|
154
|
+
},
|
155
|
+
"required": false,
|
156
|
+
"optional": false,
|
157
|
+
"docs": {
|
158
|
+
"tags": [],
|
159
|
+
"text": ""
|
160
|
+
},
|
161
|
+
"attribute": "assignment-name",
|
162
|
+
"reflect": false
|
163
|
+
},
|
164
|
+
"textValue": {
|
165
|
+
"type": "string",
|
166
|
+
"mutable": false,
|
167
|
+
"complexType": {
|
168
|
+
"original": "string",
|
169
|
+
"resolved": "string",
|
170
|
+
"references": {}
|
171
|
+
},
|
172
|
+
"required": false,
|
173
|
+
"optional": false,
|
174
|
+
"docs": {
|
175
|
+
"tags": [],
|
176
|
+
"text": ""
|
177
|
+
},
|
178
|
+
"attribute": "text-value",
|
179
|
+
"reflect": false
|
180
|
+
}
|
181
|
+
}; }
|
182
|
+
static get states() { return {
|
183
|
+
"postText": {},
|
184
|
+
"errorMessage": {},
|
185
|
+
"uploadedImage": {},
|
186
|
+
"successMessage": {},
|
187
|
+
"externalResourceUrl": {},
|
188
|
+
"uploadImageLoading": {}
|
189
|
+
}; }
|
190
|
+
static get methods() { return {
|
191
|
+
"setText": {
|
192
|
+
"complexType": {
|
193
|
+
"signature": "(text: any) => Promise<void>",
|
194
|
+
"parameters": [{
|
195
|
+
"tags": [],
|
196
|
+
"text": ""
|
197
|
+
}],
|
198
|
+
"references": {},
|
199
|
+
"return": "Promise<void>"
|
200
|
+
},
|
201
|
+
"docs": {
|
202
|
+
"text": "",
|
203
|
+
"tags": []
|
204
|
+
}
|
205
|
+
}
|
206
|
+
}; }
|
207
|
+
static get elementRef() { return "el"; }
|
14
208
|
}
|
package/dist/collection/components/sparkle-quiz/{sparkle-quiz.css → sparkle-quiz/sparkle-quiz.css}
RENAMED
File without changes
|