@sparkle-learning/core 0.0.32 → 0.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/PrivateRoute-4abc9d29.js +35 -0
- package/dist/cjs/{active-router-eedb3bfe.js → active-router-f9e18bd8.js} +1 -1
- package/dist/cjs/{animation-6132e37f.js → animation-ee586546.js} +83 -78
- package/dist/cjs/{app-globals-9869bf67.js → app-globals-33c9f31b.js} +1 -1
- package/dist/cjs/{PrivateRoute-043bb7d3.js → auth.service-4b584cd7.js} +4 -33
- package/dist/cjs/{auth.store-ff3fda09.js → auth.store-1e630a7d.js} +48 -725
- package/dist/cjs/compass-svg.cjs.entry.js +1 -1
- package/dist/cjs/context-consumer.cjs.entry.js +1 -1
- package/dist/cjs/course-select.cjs.entry.js +1 -1
- package/dist/cjs/{cubic-bezier-293f4663.js → cubic-bezier-53d26d05.js} +10 -11
- package/dist/cjs/dom-utils-b8befdd5.js +63 -0
- package/dist/cjs/{facilitator.service-faac5c0c.js → facilitator.service-9e990274.js} +8 -7
- package/dist/cjs/{feed.service-66405969.js → feed.service-b4f09441.js} +8 -7
- package/dist/cjs/{focus-visible-ad3828a7.js → focus-visible-b0b07ba6.js} +19 -6
- package/dist/cjs/{framework-delegate-2470a246.js → framework-delegate-59a98abd.js} +11 -13
- package/dist/cjs/{gesture-controller-07c31f70.js → gesture-controller-0eb5579e.js} +1 -1
- package/dist/cjs/{haptic-91e86eb7.js → haptic-780f33c4.js} +3 -2
- package/dist/cjs/{hardware-back-button-f7b5d99e.js → hardware-back-button-92d97ff8.js} +8 -8
- package/dist/cjs/header-mobile-collapse_2.cjs.entry.js +112 -0
- package/dist/cjs/{helpers-7e28976c.js → helpers-c2496722.js} +81 -14
- package/dist/cjs/httpService-7211d93b.js +685 -0
- package/dist/cjs/{icons-80d477f6.js → icons-c61db785.js} +1 -1
- package/dist/cjs/{index-43642662.js → index-12082cba.js} +21 -18
- package/dist/cjs/{index-459a5fa9.js → index-15ea05f5.js} +19 -28
- package/dist/cjs/{index-bae2a754.js → index-51e8292e.js} +18 -11
- package/dist/cjs/index-70e63f5b.js +3071 -0
- package/dist/cjs/{index-b12edb26.js → index-787d4498.js} +17 -25
- package/dist/cjs/{tap-click-1caf1780.js → index-8b5629a6.js} +30 -20
- package/dist/cjs/{index-8540d72e.js → index-975586fd.js} +7 -1
- package/dist/cjs/index-9c7b27e4.js +140 -0
- package/dist/cjs/{index-185f9c5a.js → index-af080b50.js} +9 -8
- package/dist/cjs/index-e56e09b8.js +38 -0
- package/dist/cjs/index.cjs.js +13 -11
- package/dist/cjs/{index.es-ef3efdfb.js → index.es-38cbcdbe.js} +2 -7
- package/dist/cjs/injectHistory-7206bbb9.js +9 -0
- package/dist/cjs/{input-shims-6c442c9f.js → input-shims-eff63b88.js} +21 -24
- package/dist/cjs/ion-accordion-group.cjs.entry.js +17 -9
- package/dist/cjs/ion-accordion.cjs.entry.js +19 -23
- package/dist/cjs/ion-action-sheet_4.cjs.entry.js +216 -212
- package/dist/cjs/ion-app.cjs.entry.js +8 -8
- package/dist/cjs/ion-avatar_16.cjs.entry.js +1907 -0
- package/dist/cjs/ion-back-button.cjs.entry.js +11 -11
- package/dist/cjs/ion-backdrop.cjs.entry.js +4 -4
- package/dist/cjs/ion-badge.cjs.entry.js +3 -3
- package/dist/cjs/ion-breadcrumb.cjs.entry.js +13 -21
- package/dist/cjs/ion-breadcrumbs.cjs.entry.js +12 -14
- package/dist/cjs/ion-buttons_3.cjs.entry.js +13 -13
- package/dist/cjs/ion-card-header.cjs.entry.js +4 -4
- package/dist/cjs/ion-card-subtitle.cjs.entry.js +4 -4
- package/dist/cjs/ion-checkbox_4.cjs.entry.js +360 -0
- package/dist/cjs/ion-chip.cjs.entry.js +3 -3
- package/dist/cjs/ion-col_3.cjs.entry.js +159 -0
- package/dist/cjs/ion-content_2.cjs.entry.js +59 -52
- package/dist/cjs/ion-datetime-button.cjs.entry.js +312 -0
- package/dist/cjs/ion-datetime.cjs.entry.js +752 -1245
- package/dist/cjs/ion-fab-button.cjs.entry.js +25 -9
- package/dist/cjs/ion-fab-list.cjs.entry.js +4 -4
- package/dist/cjs/ion-fab.cjs.entry.js +15 -13
- package/dist/cjs/ion-footer.cjs.entry.js +16 -14
- package/dist/cjs/ion-img.cjs.entry.js +4 -4
- package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +5 -5
- package/dist/cjs/ion-infinite-scroll.cjs.entry.js +13 -15
- package/dist/cjs/ion-item-divider.cjs.entry.js +4 -4
- package/dist/cjs/ion-item-group.cjs.entry.js +3 -3
- package/dist/cjs/ion-item-option.cjs.entry.js +8 -8
- package/dist/cjs/ion-item-options.cjs.entry.js +5 -5
- package/dist/cjs/ion-item-sliding.cjs.entry.js +41 -46
- package/dist/cjs/ion-loading.cjs.entry.js +23 -35
- package/dist/cjs/ion-menu-button.cjs.entry.js +13 -13
- package/dist/cjs/ion-menu-toggle.cjs.entry.js +7 -7
- package/dist/cjs/ion-menu.cjs.entry.js +47 -40
- package/dist/cjs/ion-modal.cjs.entry.js +935 -282
- package/dist/cjs/ion-nav-link.cjs.entry.js +2 -2
- package/dist/cjs/ion-nav.cjs.entry.js +45 -35
- package/dist/cjs/ion-picker-column-internal_2.cjs.entry.js +151 -43
- package/dist/cjs/ion-picker-column.cjs.entry.js +23 -25
- package/dist/cjs/ion-picker.cjs.entry.js +15 -17
- package/dist/cjs/ion-progress-bar.cjs.entry.js +6 -8
- package/dist/cjs/ion-range.cjs.entry.js +515 -0
- package/dist/cjs/ion-refresher-content.cjs.entry.js +6 -12
- package/dist/cjs/ion-refresher.cjs.entry.js +68 -50
- package/dist/cjs/ion-reorder-group.cjs.entry.js +15 -16
- package/dist/cjs/ion-reorder.cjs.entry.js +3 -3
- package/dist/cjs/ion-route-redirect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route.cjs.entry.js +1 -1
- package/dist/cjs/ion-router-link.cjs.entry.js +5 -5
- package/dist/cjs/ion-router-outlet.cjs.entry.js +22 -20
- package/dist/cjs/ion-router.cjs.entry.js +32 -31
- package/dist/cjs/ion-searchbar.cjs.entry.js +14 -16
- package/dist/cjs/ion-segment-button.cjs.entry.js +8 -8
- package/dist/cjs/ion-segment.cjs.entry.js +24 -26
- package/dist/cjs/ion-select_2.cjs.entry.js +59 -56
- package/dist/cjs/ion-skeleton-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-slide.cjs.entry.js +3 -3
- package/dist/cjs/ion-slides.cjs.entry.js +23 -23
- package/dist/cjs/ion-split-pane.cjs.entry.js +10 -11
- package/dist/cjs/ion-tab-bar.cjs.entry.js +5 -5
- package/dist/cjs/ion-tab-button.cjs.entry.js +6 -6
- package/dist/cjs/ion-tab.cjs.entry.js +4 -4
- package/dist/cjs/ion-tabs.cjs.entry.js +4 -5
- package/dist/cjs/ion-text.cjs.entry.js +24 -0
- package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +23 -43
- package/dist/cjs/ion-virtual-scroll.cjs.entry.js +29 -28
- package/dist/cjs/{ionic-global-878073d1.js → ionic-global-2cde9d3a.js} +27 -31
- package/dist/cjs/{ios.transition-c3bfb096.js → ios.transition-da235483.js} +71 -51
- package/dist/cjs/{keyboard-dfd76ac3.js → keyboard-91096619.js} +3 -3
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/match-path-84c9f7ca.js +511 -0
- package/dist/cjs/{md.transition-7eb9a1a7.js → md.transition-be429e07.js} +9 -16
- package/dist/cjs/{menu-toggle-util-cb549c2c.js → menu-toggle-util-7a01448c.js} +2 -2
- package/dist/cjs/{overlays-0a748609.js → overlays-32df265a.js} +29 -29
- package/dist/cjs/parse-d0071120.js +1237 -0
- package/dist/cjs/{purify-d0ad2883.js → purify-fb9c107e.js} +1 -1
- package/dist/cjs/sparkle-animation-player.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-card_3.cjs.entry.js +91 -0
- package/dist/cjs/sparkle-character-intro.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-code.cjs.entry.js +2 -2
- package/dist/cjs/sparkle-compass-post.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-compass.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-core.cjs.js +5 -5
- package/dist/cjs/sparkle-course-root.cjs.entry.js +146 -0
- package/dist/cjs/sparkle-dropdown.cjs.entry.js +61 -0
- package/dist/cjs/sparkle-emoji.cjs.entry.js +1 -1
- package/dist/cjs/{header-mobile-collapse_61.cjs.entry.js → sparkle-export-lessons_6.cjs.entry.js} +8865 -17663
- package/dist/cjs/sparkle-facilitator-header_19.cjs.entry.js +2130 -0
- package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +8 -7
- package/dist/cjs/sparkle-feedback.cjs.entry.js +9 -7
- package/dist/cjs/sparkle-goal-form.cjs.entry.js +8 -7
- package/dist/cjs/sparkle-goal-progress.cjs.entry.js +19 -0
- package/dist/cjs/sparkle-gww-comment-list.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-gww-graph.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-gww-item.cjs.entry.js +74 -0
- package/dist/cjs/sparkle-intro.cjs.entry.js +26 -0
- package/dist/cjs/sparkle-lower-content-nav.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +2 -2
- package/dist/cjs/sparkle-menu-toggle_3.cjs.entry.js +236 -0
- package/dist/cjs/sparkle-modal-image.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-notfound-page.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-overlay.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-poll.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-quiz-container.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-quiz.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-select.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-tab.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-table-of-contents.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-tabs.cjs.entry.js +1 -1
- package/dist/cjs/sparkle-validation-error.cjs.entry.js +21 -0
- package/dist/cjs/sparkle-youtube.cjs.entry.js +1 -1
- package/dist/cjs/{spinner-configs-6f6b7ef0.js → spinner-configs-0ac05f2d.js} +43 -43
- package/dist/cjs/{status-tap-8697433c.js → status-tap-033befa2.js} +7 -5
- package/dist/cjs/stencil-async-content.cjs.entry.js +1 -1
- package/dist/cjs/stencil-route-link.cjs.entry.js +77 -0
- package/dist/cjs/stencil-route-title.cjs.entry.js +2 -2
- package/dist/cjs/stencil-router-prompt.cjs.entry.js +2 -2
- package/dist/cjs/stencil-router-redirect.cjs.entry.js +32 -0
- package/dist/cjs/student.service-d48f1c99.js +61 -0
- package/dist/cjs/{swipe-back-7e08b5e0.js → swipe-back-4a826f9b.js} +5 -5
- package/dist/cjs/{theme-4252ac15.js → theme-b0b295c1.js} +6 -5
- package/dist/cjs/user.store-8a049c4e.js +21 -0
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.css +16 -0
- package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +197 -3
- package/dist/collection/components/sparkle-intro/sparkle-intro.css +15 -0
- package/dist/collection/components/sparkle-intro/sparkle-intro.js +35 -0
- package/dist/esm/PrivateRoute-530ef873.js +33 -0
- package/dist/esm/{active-router-909088d6.js → active-router-9843e205.js} +1 -1
- package/dist/esm/{animation-b306f6c2.js → animation-d98d3e81.js} +83 -78
- package/dist/esm/{app-globals-5c736ae5.js → app-globals-08edc964.js} +1 -1
- package/dist/esm/{PrivateRoute-b9937c45.js → auth.service-79389d86.js} +4 -32
- package/dist/esm/{auth.store-3ed2389e.js → auth.store-b812b34b.js} +45 -725
- package/dist/esm/compass-svg.entry.js +1 -1
- package/dist/esm/context-consumer.entry.js +1 -1
- package/dist/esm/course-select.entry.js +1 -1
- package/dist/esm/{cubic-bezier-a7ad9c8e.js → cubic-bezier-4c0db14f.js} +10 -11
- package/dist/esm/dom-utils-8e73e88b.js +55 -0
- package/dist/esm/{facilitator.service-ec0a9739.js → facilitator.service-7babc526.js} +2 -1
- package/dist/esm/{feed.service-33b83cb7.js → feed.service-80fbe79d.js} +3 -2
- package/dist/esm/{focus-visible-40cda868.js → focus-visible-4e9a0764.js} +19 -6
- package/dist/esm/{framework-delegate-3bc58c27.js → framework-delegate-9b329182.js} +11 -13
- package/dist/esm/{gesture-controller-686622ba.js → gesture-controller-7be18351.js} +1 -1
- package/dist/esm/{haptic-99c9e346.js → haptic-3a76a65c.js} +4 -3
- package/dist/esm/{hardware-back-button-b6ccf74a.js → hardware-back-button-fa04d6e9.js} +8 -8
- package/dist/esm/header-mobile-collapse_2.entry.js +107 -0
- package/dist/esm/{helpers-39367fe1.js → helpers-94a5855b.js} +81 -15
- package/dist/esm/httpService-b2b7a1ad.js +683 -0
- package/dist/esm/{icons-61dec176.js → icons-16f1a80b.js} +2 -2
- package/dist/esm/{index-a12c14bd.js → index-21661af2.js} +22 -19
- package/dist/esm/{tap-click-13f1fb0d.js → index-230a26c9.js} +30 -20
- package/dist/esm/{index-c26d8655.js → index-478745be.js} +17 -25
- package/dist/esm/{index-dc61f152.js → index-4ec6b9c2.js} +5 -2
- package/dist/esm/{index-9594837e.js → index-95307148.js} +19 -28
- package/dist/esm/{index-5568e3fa.js → index-9db08224.js} +19 -12
- package/dist/esm/index-ab1c6a9f.js +3067 -0
- package/dist/esm/{index-435af8e6.js → index-be6112f8.js} +9 -8
- package/dist/esm/index-c23a1826.js +128 -0
- package/dist/esm/index-dad75b83.js +34 -0
- package/dist/esm/{index.es-97dd8174.js → index.es-1c3b1ef3.js} +2 -7
- package/dist/esm/index.js +9 -7
- package/dist/esm/injectHistory-4bfff188.js +7 -0
- package/dist/esm/{input-shims-cc98ea92.js → input-shims-ce5c01df.js} +21 -24
- package/dist/esm/ion-accordion-group.entry.js +17 -9
- package/dist/esm/ion-accordion.entry.js +19 -23
- package/dist/esm/ion-action-sheet_4.entry.js +216 -212
- package/dist/esm/ion-app.entry.js +8 -8
- package/dist/esm/ion-avatar_16.entry.js +1888 -0
- package/dist/esm/ion-back-button.entry.js +11 -11
- package/dist/esm/ion-backdrop.entry.js +4 -4
- package/dist/esm/ion-badge.entry.js +3 -3
- package/dist/esm/ion-breadcrumb.entry.js +13 -21
- package/dist/esm/ion-breadcrumbs.entry.js +12 -14
- package/dist/esm/ion-buttons_3.entry.js +13 -13
- package/dist/esm/ion-card-header.entry.js +4 -4
- package/dist/esm/ion-card-subtitle.entry.js +4 -4
- package/dist/esm/ion-checkbox_4.entry.js +353 -0
- package/dist/esm/ion-chip.entry.js +3 -3
- package/dist/esm/ion-col_3.entry.js +153 -0
- package/dist/esm/ion-content_2.entry.js +59 -52
- package/dist/esm/ion-datetime-button.entry.js +308 -0
- package/dist/esm/ion-datetime.entry.js +723 -1216
- package/dist/esm/ion-fab-button.entry.js +25 -9
- package/dist/esm/ion-fab-list.entry.js +4 -4
- package/dist/esm/ion-fab.entry.js +15 -13
- package/dist/esm/ion-footer.entry.js +16 -14
- package/dist/esm/ion-img.entry.js +4 -4
- package/dist/esm/ion-infinite-scroll-content.entry.js +5 -5
- package/dist/esm/ion-infinite-scroll.entry.js +13 -15
- package/dist/esm/ion-item-divider.entry.js +4 -4
- package/dist/esm/ion-item-group.entry.js +3 -3
- package/dist/esm/ion-item-option.entry.js +8 -8
- package/dist/esm/ion-item-options.entry.js +5 -5
- package/dist/esm/ion-item-sliding.entry.js +41 -46
- package/dist/esm/ion-loading.entry.js +23 -35
- package/dist/esm/ion-menu-button.entry.js +13 -13
- package/dist/esm/ion-menu-toggle.entry.js +7 -7
- package/dist/esm/ion-menu.entry.js +47 -40
- package/dist/esm/ion-modal.entry.js +921 -268
- package/dist/esm/ion-nav-link.entry.js +2 -2
- package/dist/esm/ion-nav.entry.js +45 -35
- package/dist/esm/ion-picker-column-internal_2.entry.js +151 -43
- package/dist/esm/ion-picker-column.entry.js +23 -25
- package/dist/esm/ion-picker.entry.js +15 -17
- package/dist/esm/ion-progress-bar.entry.js +6 -8
- package/dist/esm/ion-range.entry.js +511 -0
- package/dist/esm/ion-refresher-content.entry.js +6 -12
- package/dist/esm/ion-refresher.entry.js +68 -50
- package/dist/esm/ion-reorder-group.entry.js +15 -16
- package/dist/esm/ion-reorder.entry.js +3 -3
- package/dist/esm/ion-route-redirect.entry.js +1 -1
- package/dist/esm/ion-route.entry.js +1 -1
- package/dist/esm/ion-router-link.entry.js +5 -5
- package/dist/esm/ion-router-outlet.entry.js +22 -20
- package/dist/esm/ion-router.entry.js +32 -31
- package/dist/esm/ion-searchbar.entry.js +14 -16
- package/dist/esm/ion-segment-button.entry.js +8 -8
- package/dist/esm/ion-segment.entry.js +24 -26
- package/dist/esm/ion-select_2.entry.js +59 -56
- package/dist/esm/ion-skeleton-text.entry.js +4 -4
- package/dist/esm/ion-slide.entry.js +3 -3
- package/dist/esm/ion-slides.entry.js +23 -23
- package/dist/esm/ion-split-pane.entry.js +10 -11
- package/dist/esm/ion-tab-bar.entry.js +5 -5
- package/dist/esm/ion-tab-button.entry.js +6 -6
- package/dist/esm/ion-tab.entry.js +4 -4
- package/dist/esm/ion-tabs.entry.js +4 -5
- package/dist/esm/ion-text.entry.js +20 -0
- package/dist/esm/ion-thumbnail.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +23 -43
- package/dist/esm/ion-virtual-scroll.entry.js +29 -28
- package/dist/esm/{ionic-global-0939c477.js → ionic-global-293e882b.js} +27 -31
- package/dist/esm/{ios.transition-b4ca8a33.js → ios.transition-7cd34deb.js} +71 -51
- package/dist/esm/{keyboard-2503e874.js → keyboard-7e8329b3.js} +3 -3
- package/dist/esm/loader.js +5 -5
- package/dist/esm/match-path-36fdf5c7.js +499 -0
- package/dist/esm/{md.transition-ca5e0322.js → md.transition-2589a5b1.js} +9 -16
- package/dist/esm/{menu-toggle-util-7fa22c2f.js → menu-toggle-util-f92ba2f0.js} +2 -2
- package/dist/esm/{overlays-34cfa9e0.js → overlays-dfa730c8.js} +30 -30
- package/dist/esm/parse-1ae3a9bb.js +1196 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{purify-ffce2b4c.js → purify-79af871f.js} +1 -1
- package/dist/esm/sparkle-animation-player.entry.js +2 -2
- package/dist/esm/sparkle-card_3.entry.js +85 -0
- package/dist/esm/sparkle-character-intro.entry.js +1 -1
- package/dist/esm/sparkle-code.entry.js +2 -2
- package/dist/esm/sparkle-compass-post.entry.js +1 -1
- package/dist/esm/sparkle-compass.entry.js +1 -1
- package/dist/esm/sparkle-core.js +5 -5
- package/dist/esm/sparkle-course-root.entry.js +142 -0
- package/dist/esm/sparkle-dropdown.entry.js +57 -0
- package/dist/esm/sparkle-emoji.entry.js +1 -1
- package/dist/esm/{header-mobile-collapse_61.entry.js → sparkle-export-lessons_6.entry.js} +8860 -17603
- package/dist/esm/sparkle-facilitator-header_19.entry.js +2108 -0
- package/dist/esm/sparkle-facilitator-notes-form.entry.js +8 -7
- package/dist/esm/sparkle-feedback.entry.js +9 -7
- package/dist/esm/sparkle-goal-form.entry.js +9 -8
- package/dist/esm/sparkle-goal-progress.entry.js +15 -0
- package/dist/esm/sparkle-gww-comment-list.entry.js +1 -1
- package/dist/esm/sparkle-gww-graph.entry.js +1 -1
- package/dist/esm/sparkle-gww-item.entry.js +70 -0
- package/dist/esm/sparkle-intro.entry.js +22 -0
- package/dist/esm/sparkle-lower-content-nav.entry.js +1 -1
- package/dist/esm/sparkle-menu-collapsible.entry.js +2 -2
- package/dist/esm/sparkle-menu-toggle_3.entry.js +230 -0
- package/dist/esm/sparkle-modal-image.entry.js +1 -1
- package/dist/esm/sparkle-notfound-page.entry.js +1 -1
- package/dist/esm/sparkle-overlay.entry.js +1 -1
- package/dist/esm/sparkle-poll.entry.js +1 -1
- package/dist/esm/sparkle-quiz-container.entry.js +1 -1
- package/dist/esm/sparkle-quiz-feedback_5.entry.js +1 -1
- package/dist/esm/sparkle-quiz.entry.js +1 -1
- package/dist/esm/sparkle-select.entry.js +1 -1
- package/dist/esm/sparkle-sidebar.entry.js +1 -1
- package/dist/esm/sparkle-tab.entry.js +1 -1
- package/dist/esm/sparkle-table-of-contents.entry.js +1 -1
- package/dist/esm/sparkle-tabs.entry.js +1 -1
- package/dist/esm/sparkle-validation-error.entry.js +17 -0
- package/dist/esm/sparkle-youtube.entry.js +1 -1
- package/dist/esm/{spinner-configs-f609a655.js → spinner-configs-a37e628a.js} +43 -43
- package/dist/esm/{status-tap-6351a0cb.js → status-tap-79b6199d.js} +7 -5
- package/dist/esm/stencil-async-content.entry.js +1 -1
- package/dist/esm/stencil-route-link.entry.js +73 -0
- package/dist/esm/stencil-route-title.entry.js +2 -2
- package/dist/esm/stencil-router-prompt.entry.js +2 -2
- package/dist/esm/stencil-router-redirect.entry.js +28 -0
- package/dist/esm/{student.service-29b688ba.js → student.service-0caed0f4.js} +3 -18
- package/dist/esm/{swipe-back-34251834.js → swipe-back-ad7a0361.js} +5 -5
- package/dist/esm/{theme-c336c9d9.js → theme-7ef00c83.js} +6 -5
- package/dist/esm/user.store-8477642a.js +19 -0
- package/dist/esm/{util-6ef753e9.js → util-a831d09d.js} +1 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +8 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +46 -22
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +43 -19
- package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +60 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +2 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +2 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +6 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +6 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +3 -3
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +1 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +1 -6
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +1 -5
- package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +1 -5
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +31 -3
- package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +29 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +24 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +24 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +4 -0
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +2 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +2 -2
- package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +8 -8
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +34 -17
- package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +34 -17
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +50 -1
- package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +27 -0
- package/dist/sparkle-core/index.esm.js +1 -1
- package/dist/sparkle-core/p-0127a61a.entry.js +1 -0
- package/dist/sparkle-core/p-01743e3e.js +4 -0
- package/dist/sparkle-core/p-06af1bc8.entry.js +1 -0
- package/dist/sparkle-core/{p-703ca87c.js → p-076f0239.js} +0 -0
- package/dist/sparkle-core/p-0798d46a.entry.js +1 -0
- package/dist/sparkle-core/p-085eb951.entry.js +4 -0
- package/dist/sparkle-core/{p-39e5a90f.entry.js → p-0b92326d.entry.js} +1 -1
- package/dist/sparkle-core/{p-5ff6416d.entry.js → p-0c603495.entry.js} +2 -2
- package/dist/sparkle-core/{p-6bbabb80.entry.js → p-0d7cceaa.entry.js} +1 -1
- package/dist/sparkle-core/p-0d813026.entry.js +1 -0
- package/dist/sparkle-core/{p-69e7783d.js → p-0e4de1d0.js} +0 -0
- package/dist/sparkle-core/p-11ed6b7f.entry.js +1 -0
- package/dist/sparkle-core/p-122427b7.entry.js +1 -0
- package/dist/sparkle-core/p-12c4f45c.entry.js +1 -0
- package/dist/sparkle-core/p-136b93d5.entry.js +4 -0
- package/dist/sparkle-core/{p-e225581a.js → p-1394cbb8.js} +2 -2
- package/dist/sparkle-core/{p-c48bbc7c.entry.js → p-14340143.entry.js} +1 -1
- package/dist/sparkle-core/p-14a06a91.entry.js +1 -0
- package/dist/sparkle-core/{p-a9ee3f6d.entry.js → p-16b7974e.entry.js} +1 -1
- package/dist/sparkle-core/p-16c81890.entry.js +1 -0
- package/dist/sparkle-core/{p-5c9aa1f9.entry.js → p-1701723e.entry.js} +1 -1
- package/dist/sparkle-core/p-1728ead7.js +1 -0
- package/dist/sparkle-core/p-17aef6f9.js +1 -0
- package/dist/sparkle-core/p-180857a2.entry.js +1 -0
- package/dist/sparkle-core/p-1acc7870.entry.js +1 -0
- package/dist/sparkle-core/{p-513794b0.js → p-1c2aee9c.js} +1 -1
- package/dist/sparkle-core/p-1cd4c3cc.entry.js +1 -0
- package/dist/sparkle-core/p-21d9833d.js +1 -0
- package/dist/sparkle-core/p-23d713e2.js +1 -0
- package/dist/sparkle-core/p-25c13612.entry.js +1 -0
- package/dist/sparkle-core/p-2699868a.entry.js +1 -0
- package/dist/sparkle-core/p-27075abe.js +4 -0
- package/dist/sparkle-core/{p-713590fc.js → p-280e938d.js} +1 -1
- package/dist/sparkle-core/p-2bd4c60e.js +1 -0
- package/dist/sparkle-core/p-2c89a6c2.entry.js +1 -0
- package/dist/sparkle-core/p-308517b3.js +4 -0
- package/dist/sparkle-core/p-3227afcb.entry.js +1 -0
- package/dist/sparkle-core/{p-173d5461.entry.js → p-34d93a39.entry.js} +1 -1
- package/dist/sparkle-core/p-34ebfc8a.entry.js +1 -0
- package/dist/sparkle-core/p-351b82a8.entry.js +1 -0
- package/dist/sparkle-core/p-363a2d6d.js +4 -0
- package/dist/sparkle-core/p-36c48760.entry.js +1 -0
- package/dist/sparkle-core/p-3810777d.js +4 -0
- package/dist/sparkle-core/p-384911d7.entry.js +1 -0
- package/dist/sparkle-core/p-3b618eda.entry.js +1 -0
- package/dist/sparkle-core/p-3c752205.entry.js +1 -0
- package/dist/sparkle-core/{p-50aac721.entry.js → p-3d2c0e24.entry.js} +2 -2
- package/dist/sparkle-core/{p-350adbaa.entry.js → p-3eb56165.entry.js} +1 -1
- package/dist/sparkle-core/{p-ed0e9d29.entry.js → p-3ef53ebf.entry.js} +1 -1
- package/dist/sparkle-core/{p-fbd7eeca.entry.js → p-3fd92216.entry.js} +1 -1
- package/dist/sparkle-core/{p-1df05176.js → p-4338e1e3.js} +2 -2
- package/dist/sparkle-core/p-442eadcf.entry.js +1 -0
- package/dist/sparkle-core/{p-5f45d206.entry.js → p-4af496a8.entry.js} +1 -1
- package/dist/sparkle-core/{p-935e7cfc.js → p-4bd4dab2.js} +1 -1
- package/dist/sparkle-core/{p-18e62133.entry.js → p-4c9e010d.entry.js} +1 -1
- package/dist/sparkle-core/p-4d0dfbc9.js +1 -0
- package/dist/sparkle-core/{p-8c6b6038.js → p-4d4077ea.js} +0 -0
- package/dist/sparkle-core/p-4e0502b8.entry.js +4 -0
- package/dist/sparkle-core/p-506f3c5f.js +4 -0
- package/dist/sparkle-core/p-524a6174.entry.js +1 -0
- package/dist/sparkle-core/p-53aac9d7.entry.js +1 -0
- package/dist/sparkle-core/{p-0580419b.entry.js → p-56700a40.entry.js} +1 -1
- package/dist/sparkle-core/p-5722be24.entry.js +1 -0
- package/dist/sparkle-core/p-58389020.entry.js +348 -0
- package/dist/sparkle-core/{p-11cf398a.entry.js → p-58f74119.entry.js} +1 -1
- package/dist/sparkle-core/p-5979f253.entry.js +1 -0
- package/dist/sparkle-core/p-5a3de051.entry.js +4 -0
- package/dist/sparkle-core/p-5a850731.entry.js +1 -0
- package/dist/sparkle-core/{p-950effe7.entry.js → p-5dcf33fb.entry.js} +1 -1
- package/dist/sparkle-core/p-5e8fa1ac.entry.js +1 -0
- package/dist/sparkle-core/p-5ef50959.js +1 -0
- package/dist/sparkle-core/p-615b8f64.entry.js +1 -0
- package/dist/sparkle-core/{p-90389886.entry.js → p-63d8a5b7.entry.js} +1 -1
- package/dist/sparkle-core/p-6a337ad1.entry.js +1 -0
- package/dist/sparkle-core/p-6a5ace01.js +2 -0
- package/dist/sparkle-core/{p-d7baf31e.entry.js → p-6ae9c743.entry.js} +1 -1
- package/dist/sparkle-core/p-76206f80.entry.js +1 -0
- package/dist/sparkle-core/{p-99b43ee1.entry.js → p-767c9db8.entry.js} +1 -1
- package/dist/sparkle-core/p-76a6e202.entry.js +1 -0
- package/dist/sparkle-core/{p-ee0d7f19.entry.js → p-785f1879.entry.js} +1 -1
- package/dist/sparkle-core/p-788735b9.entry.js +1 -0
- package/dist/sparkle-core/{p-057f6a23.entry.js → p-7b21bd70.entry.js} +1 -1
- package/dist/sparkle-core/p-7b3d1457.js +1 -0
- package/dist/sparkle-core/p-7d8427eb.js +4 -0
- package/dist/sparkle-core/{p-5264da79.js → p-7e7ce516.js} +0 -0
- package/dist/sparkle-core/{p-838fa86d.entry.js → p-8cbe019a.entry.js} +5 -5
- package/dist/sparkle-core/{p-9c1772c3.js → p-8d630960.js} +1 -1
- package/dist/sparkle-core/{p-7052c43a.entry.js → p-8e42e634.entry.js} +1 -1
- package/dist/sparkle-core/p-8e56f9ee.entry.js +1 -0
- package/dist/sparkle-core/p-8ed0cefb.entry.js +1 -0
- package/dist/sparkle-core/{p-d4c07aca.js → p-924b2917.js} +0 -0
- package/dist/sparkle-core/p-9484e34b.entry.js +1 -0
- package/dist/sparkle-core/p-966817ec.js +1 -0
- package/dist/sparkle-core/p-969e98e5.entry.js +1 -0
- package/dist/sparkle-core/p-98f3925b.js +4 -0
- package/dist/sparkle-core/{p-a1cab0f3.js → p-99231c00.js} +2 -2
- package/dist/sparkle-core/p-9a383065.entry.js +7 -0
- package/dist/sparkle-core/p-9b4979b5.entry.js +4 -0
- package/dist/sparkle-core/{p-c69b0a7a.entry.js → p-9cd95e7e.entry.js} +1 -1
- package/dist/sparkle-core/p-9dc42d70.entry.js +1 -0
- package/dist/sparkle-core/p-9eea81f2.js +1 -0
- package/dist/sparkle-core/{p-797c23ed.entry.js → p-9ef14088.entry.js} +1 -1
- package/dist/sparkle-core/p-a05871e6.js +1 -0
- package/dist/sparkle-core/p-a111c567.entry.js +1 -0
- package/dist/sparkle-core/{p-1af044f7.js → p-a19b42f0.js} +1 -1
- package/dist/sparkle-core/p-a208ab2d.js +4 -0
- package/dist/sparkle-core/p-a2f7c751.entry.js +1 -0
- package/dist/sparkle-core/p-a458b415.entry.js +1 -0
- package/dist/sparkle-core/p-a6c1a55a.entry.js +5 -0
- package/dist/sparkle-core/{p-145e40f5.entry.js → p-ab3a8f5e.entry.js} +1 -1
- package/dist/sparkle-core/p-ac0e4d8c.entry.js +1 -0
- package/dist/sparkle-core/p-add30d46.js +4 -0
- package/dist/sparkle-core/{p-5b40aae5.entry.js → p-b00d0a47.entry.js} +1 -1
- package/dist/sparkle-core/p-b2827978.entry.js +1 -0
- package/dist/sparkle-core/p-b8ba8164.entry.js +1 -0
- package/dist/sparkle-core/{p-6823e6c1.entry.js → p-ba775d8e.entry.js} +1 -1
- package/dist/sparkle-core/{p-37c00e39.entry.js → p-bae8cd7d.entry.js} +1 -1
- package/dist/sparkle-core/p-bb3e3482.entry.js +1 -0
- package/dist/sparkle-core/p-bb575dba.entry.js +1 -0
- package/dist/sparkle-core/p-bd2c8e30.entry.js +10 -0
- package/dist/sparkle-core/p-c48352cf.js +4 -0
- package/dist/sparkle-core/{p-667accac.entry.js → p-c5eb4404.entry.js} +1 -1
- package/dist/sparkle-core/p-c8ad5a5b.entry.js +4 -0
- package/dist/sparkle-core/p-c9f474d0.js +4 -0
- package/dist/sparkle-core/p-ca0edc9b.entry.js +1 -0
- package/dist/sparkle-core/{p-680663a2.entry.js → p-cb04b18a.entry.js} +1 -1
- package/dist/sparkle-core/{p-b3909012.entry.js → p-d0d0e5e5.entry.js} +1 -1
- package/dist/sparkle-core/{p-7d61177b.entry.js → p-d220a642.entry.js} +1 -1
- package/dist/sparkle-core/p-d38a2511.entry.js +1 -0
- package/dist/sparkle-core/{p-b07a2cf2.entry.js → p-d5b8302f.entry.js} +1 -1
- package/dist/sparkle-core/p-d5ba8e80.entry.js +1 -0
- package/dist/sparkle-core/{p-3a202a38.entry.js → p-d6637b48.entry.js} +1 -1
- package/dist/sparkle-core/p-d6788642.entry.js +1 -0
- package/dist/sparkle-core/p-d6a3a639.entry.js +1 -0
- package/dist/sparkle-core/p-d86f8633.entry.js +1 -0
- package/dist/sparkle-core/{p-9cfdeb18.entry.js → p-defeaa5c.entry.js} +1 -1
- package/dist/sparkle-core/p-df5cfa7f.entry.js +1 -0
- package/dist/sparkle-core/p-df5efe0d.entry.js +1 -0
- package/dist/sparkle-core/p-dff8325e.js +4 -0
- package/dist/sparkle-core/p-e09de7ac.js +1 -0
- package/dist/sparkle-core/{p-016a7aaf.entry.js → p-e1743d82.entry.js} +1 -1
- package/dist/sparkle-core/p-e28a106d.entry.js +1 -0
- package/dist/sparkle-core/p-e566c0b3.entry.js +1 -0
- package/dist/sparkle-core/{p-bca0e465.entry.js → p-e6d39f6e.entry.js} +1 -1
- package/dist/sparkle-core/p-e9431eeb.js +7 -0
- package/dist/sparkle-core/p-ea4a9f0d.entry.js +1 -0
- package/dist/sparkle-core/p-ea7d7a3b.js +1 -0
- package/dist/sparkle-core/p-eaa8bbee.js +4 -0
- package/dist/sparkle-core/p-ed3dfd89.js +4 -0
- package/dist/sparkle-core/{p-3defe550.entry.js → p-efe37368.entry.js} +1 -1
- package/dist/sparkle-core/p-f187d129.entry.js +1 -0
- package/dist/sparkle-core/{p-a9ccb0df.js → p-f3cba72a.js} +0 -0
- package/dist/sparkle-core/{p-052caa63.js → p-f5e7bfa5.js} +1 -1
- package/dist/sparkle-core/{p-ecd39170.entry.js → p-f63a13d8.entry.js} +1 -1
- package/dist/sparkle-core/{p-1726da2f.entry.js → p-fdb9a613.entry.js} +1 -1
- package/dist/sparkle-core/p-fde96f7c.js +4 -0
- package/dist/sparkle-core/{p-aa87c7f0.entry.js → p-fe214d79.entry.js} +1 -1
- package/dist/sparkle-core/p-fe3a7bca.js +1 -0
- package/dist/sparkle-core/{p-aa9ebc39.entry.js → p-fea20ec2.entry.js} +1 -1
- package/dist/sparkle-core/p-ff26d891.entry.js +1 -0
- package/dist/sparkle-core/sparkle-core.css +1 -1
- package/dist/sparkle-core/sparkle-core.esm.js +1 -1
- package/dist/types/components/sparkle-feed-post/sparkle-feed-post.d.ts +16 -0
- package/dist/types/components/sparkle-intro/sparkle-intro.d.ts +7 -0
- package/dist/types/components.d.ts +73 -11
- package/package.json +3 -3
- package/dist/cjs/ion-card-title.cjs.entry.js +0 -30
- package/dist/cjs/ion-textarea.cjs.entry.js +0 -247
- package/dist/cjs/ion-toggle.cjs.entry.js +0 -160
- package/dist/cjs/sparkle-feed-post.cjs.entry.js +0 -19
- package/dist/cjs/student.service-744c3155.js +0 -77
- package/dist/esm/ion-card-title.entry.js +0 -26
- package/dist/esm/ion-textarea.entry.js +0 -243
- package/dist/esm/ion-toggle.entry.js +0 -156
- package/dist/esm/sparkle-feed-post.entry.js +0 -15
- package/dist/sparkle-core/p-0187adef.entry.js +0 -1
- package/dist/sparkle-core/p-03189863.js +0 -1
- package/dist/sparkle-core/p-03ec54a8.entry.js +0 -1
- package/dist/sparkle-core/p-04583c51.entry.js +0 -1
- package/dist/sparkle-core/p-063cd168.js +0 -4
- package/dist/sparkle-core/p-081968cc.entry.js +0 -1
- package/dist/sparkle-core/p-0934f5dd.entry.js +0 -1
- package/dist/sparkle-core/p-0f899097.entry.js +0 -352
- package/dist/sparkle-core/p-1339830f.entry.js +0 -1
- package/dist/sparkle-core/p-1b78dea1.entry.js +0 -1
- package/dist/sparkle-core/p-1cef8572.js +0 -4
- package/dist/sparkle-core/p-21bf4ca0.entry.js +0 -1
- package/dist/sparkle-core/p-21db4e8e.entry.js +0 -1
- package/dist/sparkle-core/p-23a9f7d1.entry.js +0 -1
- package/dist/sparkle-core/p-289a35ed.entry.js +0 -1
- package/dist/sparkle-core/p-2ee6a5f9.entry.js +0 -1
- package/dist/sparkle-core/p-35a7bd6c.entry.js +0 -1
- package/dist/sparkle-core/p-389500fd.js +0 -4
- package/dist/sparkle-core/p-45e6db62.entry.js +0 -1
- package/dist/sparkle-core/p-48f9b960.entry.js +0 -1
- package/dist/sparkle-core/p-4dc3ef96.entry.js +0 -1
- package/dist/sparkle-core/p-547b70c6.entry.js +0 -1
- package/dist/sparkle-core/p-5598650a.entry.js +0 -1
- package/dist/sparkle-core/p-55ae49e1.js +0 -4
- package/dist/sparkle-core/p-58e98f89.entry.js +0 -1
- package/dist/sparkle-core/p-59f7bf6e.entry.js +0 -1
- package/dist/sparkle-core/p-5a3d0e6b.js +0 -4
- package/dist/sparkle-core/p-5d2e54ee.entry.js +0 -1
- package/dist/sparkle-core/p-62a6c96f.entry.js +0 -1
- package/dist/sparkle-core/p-64e72f8f.js +0 -4
- package/dist/sparkle-core/p-660e0742.js +0 -1
- package/dist/sparkle-core/p-6bf07a28.js +0 -1
- package/dist/sparkle-core/p-6c6145cd.js +0 -4
- package/dist/sparkle-core/p-6c90bde6.entry.js +0 -5
- package/dist/sparkle-core/p-6e88764b.entry.js +0 -4
- package/dist/sparkle-core/p-6ee40949.js +0 -1
- package/dist/sparkle-core/p-6fbe3ca3.entry.js +0 -1
- package/dist/sparkle-core/p-6fd4985d.js +0 -4
- package/dist/sparkle-core/p-70b2452c.js +0 -4
- package/dist/sparkle-core/p-7493ee15.entry.js +0 -1
- package/dist/sparkle-core/p-75572037.js +0 -1
- package/dist/sparkle-core/p-768bcc9e.entry.js +0 -1
- package/dist/sparkle-core/p-7e61973d.entry.js +0 -7
- package/dist/sparkle-core/p-855ca600.js +0 -1
- package/dist/sparkle-core/p-857f3696.entry.js +0 -1
- package/dist/sparkle-core/p-8fe2e51f.entry.js +0 -4
- package/dist/sparkle-core/p-932bfb69.entry.js +0 -1
- package/dist/sparkle-core/p-941eaa3a.entry.js +0 -1
- package/dist/sparkle-core/p-95004267.entry.js +0 -1
- package/dist/sparkle-core/p-996361f9.entry.js +0 -1
- package/dist/sparkle-core/p-9a17f2ad.js +0 -4
- package/dist/sparkle-core/p-9babd345.js +0 -1
- package/dist/sparkle-core/p-a080e768.entry.js +0 -1
- package/dist/sparkle-core/p-a7cc0052.entry.js +0 -4
- package/dist/sparkle-core/p-ae1f145d.entry.js +0 -1
- package/dist/sparkle-core/p-b3e6427d.js +0 -7
- package/dist/sparkle-core/p-b49ca0ea.entry.js +0 -1
- package/dist/sparkle-core/p-b81e20fe.entry.js +0 -4
- package/dist/sparkle-core/p-c1279cc9.entry.js +0 -1
- package/dist/sparkle-core/p-c1376096.entry.js +0 -1
- package/dist/sparkle-core/p-c3986a52.entry.js +0 -1
- package/dist/sparkle-core/p-c3d3d5c4.entry.js +0 -1
- package/dist/sparkle-core/p-c5b9bdd6.entry.js +0 -1
- package/dist/sparkle-core/p-cbbeed67.entry.js +0 -1
- package/dist/sparkle-core/p-d4a435f8.entry.js +0 -1
- package/dist/sparkle-core/p-d5b05ece.entry.js +0 -5
- package/dist/sparkle-core/p-d8d3524a.js +0 -1
- package/dist/sparkle-core/p-e0fced48.entry.js +0 -1
- package/dist/sparkle-core/p-e1cba44b.entry.js +0 -4
- package/dist/sparkle-core/p-e3fdd0a8.entry.js +0 -1
- package/dist/sparkle-core/p-e6b66cef.entry.js +0 -1
- package/dist/sparkle-core/p-e72d4450.js +0 -4
- package/dist/sparkle-core/p-eb70a23c.entry.js +0 -1
- package/dist/sparkle-core/p-f4001fdf.js +0 -4
- package/dist/sparkle-core/p-f9b73032.entry.js +0 -1
- package/dist/sparkle-core/p-faa912d7.entry.js +0 -1
- package/dist/sparkle-core/p-fc933591.entry.js +0 -1
- package/dist/sparkle-core/p-fef04ab5.js +0 -4
@@ -1,8 +1,6 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
const
|
4
|
-
const environmentConfig_service = require('./environment-config.service-0e02b049.js');
|
5
|
-
const index = require('./index-bae2a754.js');
|
3
|
+
const index = require('./index-51e8292e.js');
|
6
4
|
|
7
5
|
var bind = function bind(fn, thisArg) {
|
8
6
|
return function wrap() {
|
@@ -24,7 +22,7 @@ var toString = Object.prototype.toString;
|
|
24
22
|
* @param {Object} val The value to test
|
25
23
|
* @returns {boolean} True if value is an Array, otherwise false
|
26
24
|
*/
|
27
|
-
function isArray$
|
25
|
+
function isArray$2(val) {
|
28
26
|
return Array.isArray(val);
|
29
27
|
}
|
30
28
|
|
@@ -251,7 +249,7 @@ function forEach(obj, fn) {
|
|
251
249
|
obj = [obj];
|
252
250
|
}
|
253
251
|
|
254
|
-
if (isArray$
|
252
|
+
if (isArray$2(obj)) {
|
255
253
|
// Iterate over array values
|
256
254
|
for (var i = 0, l = obj.length; i < l; i++) {
|
257
255
|
fn.call(null, obj[i], i, obj);
|
@@ -290,7 +288,7 @@ function merge$1(/* obj1, obj2, obj3, ... */) {
|
|
290
288
|
result[key] = merge$1(result[key], val);
|
291
289
|
} else if (isPlainObject(val)) {
|
292
290
|
result[key] = merge$1({}, val);
|
293
|
-
} else if (isArray$
|
291
|
+
} else if (isArray$2(val)) {
|
294
292
|
result[key] = val.slice();
|
295
293
|
} else {
|
296
294
|
result[key] = val;
|
@@ -336,7 +334,7 @@ function stripBOM(content) {
|
|
336
334
|
}
|
337
335
|
|
338
336
|
var utils$1 = {
|
339
|
-
isArray: isArray$
|
337
|
+
isArray: isArray$2,
|
340
338
|
isArrayBuffer: isArrayBuffer,
|
341
339
|
isBuffer: isBuffer$1,
|
342
340
|
isFormData: isFormData,
|
@@ -1034,7 +1032,7 @@ function stringifySafely(rawValue, parser, encoder) {
|
|
1034
1032
|
return (encoder || JSON.stringify)(rawValue);
|
1035
1033
|
}
|
1036
1034
|
|
1037
|
-
var defaults
|
1035
|
+
var defaults = {
|
1038
1036
|
|
1039
1037
|
transitional: transitional,
|
1040
1038
|
|
@@ -1068,7 +1066,7 @@ var defaults$2 = {
|
|
1068
1066
|
}],
|
1069
1067
|
|
1070
1068
|
transformResponse: [function transformResponse(data) {
|
1071
|
-
var transitional = this.transitional || defaults
|
1069
|
+
var transitional = this.transitional || defaults.transitional;
|
1072
1070
|
var silentJSONParsing = transitional && transitional.silentJSONParsing;
|
1073
1071
|
var forcedJSONParsing = transitional && transitional.forcedJSONParsing;
|
1074
1072
|
var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';
|
@@ -1113,14 +1111,14 @@ var defaults$2 = {
|
|
1113
1111
|
};
|
1114
1112
|
|
1115
1113
|
utils$1.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {
|
1116
|
-
defaults
|
1114
|
+
defaults.headers[method] = {};
|
1117
1115
|
});
|
1118
1116
|
|
1119
1117
|
utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
1120
|
-
defaults
|
1118
|
+
defaults.headers[method] = utils$1.merge(DEFAULT_CONTENT_TYPE);
|
1121
1119
|
});
|
1122
1120
|
|
1123
|
-
var defaults_1 = defaults
|
1121
|
+
var defaults_1 = defaults;
|
1124
1122
|
|
1125
1123
|
/**
|
1126
1124
|
* Transform the data for a request or a response
|
@@ -1722,34 +1720,32 @@ function createInstance(defaultConfig) {
|
|
1722
1720
|
}
|
1723
1721
|
|
1724
1722
|
// Create the default instance to be exported
|
1725
|
-
var axios
|
1723
|
+
var axios = createInstance(defaults_1);
|
1726
1724
|
|
1727
1725
|
// Expose Axios class to allow class inheritance
|
1728
|
-
axios
|
1726
|
+
axios.Axios = Axios_1;
|
1729
1727
|
|
1730
1728
|
// Expose Cancel & CancelToken
|
1731
|
-
axios
|
1732
|
-
axios
|
1733
|
-
axios
|
1734
|
-
axios
|
1729
|
+
axios.Cancel = Cancel_1;
|
1730
|
+
axios.CancelToken = CancelToken_1;
|
1731
|
+
axios.isCancel = isCancel;
|
1732
|
+
axios.VERSION = data.version;
|
1735
1733
|
|
1736
1734
|
// Expose all/spread
|
1737
|
-
axios
|
1735
|
+
axios.all = function all(promises) {
|
1738
1736
|
return Promise.all(promises);
|
1739
1737
|
};
|
1740
|
-
axios
|
1738
|
+
axios.spread = spread;
|
1741
1739
|
|
1742
1740
|
// Expose isAxiosError
|
1743
|
-
axios
|
1741
|
+
axios.isAxiosError = isAxiosError;
|
1744
1742
|
|
1745
|
-
var axios_1 = axios
|
1743
|
+
var axios_1 = axios;
|
1746
1744
|
|
1747
1745
|
// Allow use of default import syntax in TypeScript
|
1748
|
-
var _default = axios
|
1746
|
+
var _default = axios;
|
1749
1747
|
axios_1.default = _default;
|
1750
1748
|
|
1751
|
-
var axios = axios_1;
|
1752
|
-
|
1753
1749
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
1754
1750
|
var shams = function hasSymbols() {
|
1755
1751
|
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
@@ -2354,31 +2350,31 @@ var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : n
|
|
2354
2350
|
var objectInspect = function inspect_(obj, options, depth, seen) {
|
2355
2351
|
var opts = options || {};
|
2356
2352
|
|
2357
|
-
if (has$
|
2353
|
+
if (has$1(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
|
2358
2354
|
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
2359
2355
|
}
|
2360
2356
|
if (
|
2361
|
-
has$
|
2357
|
+
has$1(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
|
2362
2358
|
? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
|
2363
2359
|
: opts.maxStringLength !== null
|
2364
2360
|
)
|
2365
2361
|
) {
|
2366
2362
|
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
2367
2363
|
}
|
2368
|
-
var customInspect = has$
|
2364
|
+
var customInspect = has$1(opts, 'customInspect') ? opts.customInspect : true;
|
2369
2365
|
if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
|
2370
2366
|
throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
|
2371
2367
|
}
|
2372
2368
|
|
2373
2369
|
if (
|
2374
|
-
has$
|
2370
|
+
has$1(opts, 'indent')
|
2375
2371
|
&& opts.indent !== null
|
2376
2372
|
&& opts.indent !== '\t'
|
2377
2373
|
&& !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
|
2378
2374
|
) {
|
2379
2375
|
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
2380
2376
|
}
|
2381
|
-
if (has$
|
2377
|
+
if (has$1(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
|
2382
2378
|
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
2383
2379
|
}
|
2384
2380
|
var numericSeparator = opts.numericSeparator;
|
@@ -2411,7 +2407,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
2411
2407
|
var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
|
2412
2408
|
if (typeof depth === 'undefined') { depth = 0; }
|
2413
2409
|
if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
|
2414
|
-
return isArray$
|
2410
|
+
return isArray$1(obj) ? '[Array]' : '[Object]';
|
2415
2411
|
}
|
2416
2412
|
|
2417
2413
|
var indent = getIndent(opts, depth);
|
@@ -2431,7 +2427,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
2431
2427
|
var newOpts = {
|
2432
2428
|
depth: opts.depth
|
2433
2429
|
};
|
2434
|
-
if (has$
|
2430
|
+
if (has$1(opts, 'quoteStyle')) {
|
2435
2431
|
newOpts.quoteStyle = opts.quoteStyle;
|
2436
2432
|
}
|
2437
2433
|
return inspect_(value, newOpts, depth + 1, seen);
|
@@ -2459,7 +2455,7 @@ var objectInspect = function inspect_(obj, options, depth, seen) {
|
|
2459
2455
|
s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
|
2460
2456
|
return s;
|
2461
2457
|
}
|
2462
|
-
if (isArray$
|
2458
|
+
if (isArray$1(obj)) {
|
2463
2459
|
if (obj.length === 0) { return '[]'; }
|
2464
2460
|
var xs = arrObjKeys(obj, inspect);
|
2465
2461
|
if (indent && !singleLineValues(xs)) {
|
@@ -2542,7 +2538,7 @@ function quote(s) {
|
|
2542
2538
|
return $replace.call(String(s), /"/g, '"');
|
2543
2539
|
}
|
2544
2540
|
|
2545
|
-
function isArray$
|
2541
|
+
function isArray$1(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
2546
2542
|
function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
2547
2543
|
function isRegExp$1(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
2548
2544
|
function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
@@ -2580,7 +2576,7 @@ function isBigInt(obj) {
|
|
2580
2576
|
}
|
2581
2577
|
|
2582
2578
|
var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };
|
2583
|
-
function has$
|
2579
|
+
function has$1(obj, key) {
|
2584
2580
|
return hasOwn.call(obj, key);
|
2585
2581
|
}
|
2586
2582
|
|
@@ -2754,12 +2750,12 @@ function indentedJoin(xs, indent) {
|
|
2754
2750
|
}
|
2755
2751
|
|
2756
2752
|
function arrObjKeys(obj, inspect) {
|
2757
|
-
var isArr = isArray$
|
2753
|
+
var isArr = isArray$1(obj);
|
2758
2754
|
var xs = [];
|
2759
2755
|
if (isArr) {
|
2760
2756
|
xs.length = obj.length;
|
2761
2757
|
for (var i = 0; i < obj.length; i++) {
|
2762
|
-
xs[i] = has$
|
2758
|
+
xs[i] = has$1(obj, i) ? inspect(obj[i], obj) : '';
|
2763
2759
|
}
|
2764
2760
|
}
|
2765
2761
|
var syms = typeof gOPS === 'function' ? gOPS(obj) : [];
|
@@ -2772,7 +2768,7 @@ function arrObjKeys(obj, inspect) {
|
|
2772
2768
|
}
|
2773
2769
|
|
2774
2770
|
for (var key in obj) { // eslint-disable-line no-restricted-syntax
|
2775
|
-
if (!has$
|
2771
|
+
if (!has$1(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
|
2776
2772
|
if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
|
2777
2773
|
if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
|
2778
2774
|
// this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
|
@@ -2934,8 +2930,8 @@ var formats = {
|
|
2934
2930
|
RFC3986: Format.RFC3986
|
2935
2931
|
};
|
2936
2932
|
|
2937
|
-
var has
|
2938
|
-
var isArray
|
2933
|
+
var has = Object.prototype.hasOwnProperty;
|
2934
|
+
var isArray = Array.isArray;
|
2939
2935
|
|
2940
2936
|
var hexTable = (function () {
|
2941
2937
|
var array = [];
|
@@ -2951,7 +2947,7 @@ var compactQueue = function compactQueue(queue) {
|
|
2951
2947
|
var item = queue.pop();
|
2952
2948
|
var obj = item.obj[item.prop];
|
2953
2949
|
|
2954
|
-
if (isArray
|
2950
|
+
if (isArray(obj)) {
|
2955
2951
|
var compacted = [];
|
2956
2952
|
|
2957
2953
|
for (var j = 0; j < obj.length; ++j) {
|
@@ -2983,10 +2979,10 @@ var merge = function merge(target, source, options) {
|
|
2983
2979
|
}
|
2984
2980
|
|
2985
2981
|
if (typeof source !== 'object') {
|
2986
|
-
if (isArray
|
2982
|
+
if (isArray(target)) {
|
2987
2983
|
target.push(source);
|
2988
2984
|
} else if (target && typeof target === 'object') {
|
2989
|
-
if ((options && (options.plainObjects || options.allowPrototypes)) || !has
|
2985
|
+
if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
|
2990
2986
|
target[source] = true;
|
2991
2987
|
}
|
2992
2988
|
} else {
|
@@ -3001,13 +2997,13 @@ var merge = function merge(target, source, options) {
|
|
3001
2997
|
}
|
3002
2998
|
|
3003
2999
|
var mergeTarget = target;
|
3004
|
-
if (isArray
|
3000
|
+
if (isArray(target) && !isArray(source)) {
|
3005
3001
|
mergeTarget = arrayToObject(target, options);
|
3006
3002
|
}
|
3007
3003
|
|
3008
|
-
if (isArray
|
3004
|
+
if (isArray(target) && isArray(source)) {
|
3009
3005
|
source.forEach(function (item, i) {
|
3010
|
-
if (has
|
3006
|
+
if (has.call(target, i)) {
|
3011
3007
|
var targetItem = target[i];
|
3012
3008
|
if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {
|
3013
3009
|
target[i] = merge(targetItem, item, options);
|
@@ -3024,7 +3020,7 @@ var merge = function merge(target, source, options) {
|
|
3024
3020
|
return Object.keys(source).reduce(function (acc, key) {
|
3025
3021
|
var value = source[key];
|
3026
3022
|
|
3027
|
-
if (has
|
3023
|
+
if (has.call(acc, key)) {
|
3028
3024
|
acc[key] = merge(acc[key], value, options);
|
3029
3025
|
} else {
|
3030
3026
|
acc[key] = value;
|
@@ -3160,7 +3156,7 @@ var combine = function combine(a, b) {
|
|
3160
3156
|
};
|
3161
3157
|
|
3162
3158
|
var maybeMap = function maybeMap(val, fn) {
|
3163
|
-
if (isArray
|
3159
|
+
if (isArray(val)) {
|
3164
3160
|
var mapped = [];
|
3165
3161
|
for (var i = 0; i < val.length; i += 1) {
|
3166
3162
|
mapped.push(fn(val[i]));
|
@@ -3183,585 +3179,6 @@ var utils = {
|
|
3183
3179
|
merge: merge
|
3184
3180
|
};
|
3185
3181
|
|
3186
|
-
var has$1 = Object.prototype.hasOwnProperty;
|
3187
|
-
|
3188
|
-
var arrayPrefixGenerators = {
|
3189
|
-
brackets: function brackets(prefix) {
|
3190
|
-
return prefix + '[]';
|
3191
|
-
},
|
3192
|
-
comma: 'comma',
|
3193
|
-
indices: function indices(prefix, key) {
|
3194
|
-
return prefix + '[' + key + ']';
|
3195
|
-
},
|
3196
|
-
repeat: function repeat(prefix) {
|
3197
|
-
return prefix;
|
3198
|
-
}
|
3199
|
-
};
|
3200
|
-
|
3201
|
-
var isArray$1 = Array.isArray;
|
3202
|
-
var split = String.prototype.split;
|
3203
|
-
var push = Array.prototype.push;
|
3204
|
-
var pushToArray = function (arr, valueOrArray) {
|
3205
|
-
push.apply(arr, isArray$1(valueOrArray) ? valueOrArray : [valueOrArray]);
|
3206
|
-
};
|
3207
|
-
|
3208
|
-
var toISO = Date.prototype.toISOString;
|
3209
|
-
|
3210
|
-
var defaultFormat = formats['default'];
|
3211
|
-
var defaults$1 = {
|
3212
|
-
addQueryPrefix: false,
|
3213
|
-
allowDots: false,
|
3214
|
-
charset: 'utf-8',
|
3215
|
-
charsetSentinel: false,
|
3216
|
-
delimiter: '&',
|
3217
|
-
encode: true,
|
3218
|
-
encoder: utils.encode,
|
3219
|
-
encodeValuesOnly: false,
|
3220
|
-
format: defaultFormat,
|
3221
|
-
formatter: formats.formatters[defaultFormat],
|
3222
|
-
// deprecated
|
3223
|
-
indices: false,
|
3224
|
-
serializeDate: function serializeDate(date) {
|
3225
|
-
return toISO.call(date);
|
3226
|
-
},
|
3227
|
-
skipNulls: false,
|
3228
|
-
strictNullHandling: false
|
3229
|
-
};
|
3230
|
-
|
3231
|
-
var isNonNullishPrimitive = function isNonNullishPrimitive(v) {
|
3232
|
-
return typeof v === 'string'
|
3233
|
-
|| typeof v === 'number'
|
3234
|
-
|| typeof v === 'boolean'
|
3235
|
-
|| typeof v === 'symbol'
|
3236
|
-
|| typeof v === 'bigint';
|
3237
|
-
};
|
3238
|
-
|
3239
|
-
var sentinel = {};
|
3240
|
-
|
3241
|
-
var stringify = function stringify(
|
3242
|
-
object,
|
3243
|
-
prefix,
|
3244
|
-
generateArrayPrefix,
|
3245
|
-
strictNullHandling,
|
3246
|
-
skipNulls,
|
3247
|
-
encoder,
|
3248
|
-
filter,
|
3249
|
-
sort,
|
3250
|
-
allowDots,
|
3251
|
-
serializeDate,
|
3252
|
-
format,
|
3253
|
-
formatter,
|
3254
|
-
encodeValuesOnly,
|
3255
|
-
charset,
|
3256
|
-
sideChannel$1
|
3257
|
-
) {
|
3258
|
-
var obj = object;
|
3259
|
-
|
3260
|
-
var tmpSc = sideChannel$1;
|
3261
|
-
var step = 0;
|
3262
|
-
var findFlag = false;
|
3263
|
-
while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {
|
3264
|
-
// Where object last appeared in the ref tree
|
3265
|
-
var pos = tmpSc.get(object);
|
3266
|
-
step += 1;
|
3267
|
-
if (typeof pos !== 'undefined') {
|
3268
|
-
if (pos === step) {
|
3269
|
-
throw new RangeError('Cyclic object value');
|
3270
|
-
} else {
|
3271
|
-
findFlag = true; // Break while
|
3272
|
-
}
|
3273
|
-
}
|
3274
|
-
if (typeof tmpSc.get(sentinel) === 'undefined') {
|
3275
|
-
step = 0;
|
3276
|
-
}
|
3277
|
-
}
|
3278
|
-
|
3279
|
-
if (typeof filter === 'function') {
|
3280
|
-
obj = filter(prefix, obj);
|
3281
|
-
} else if (obj instanceof Date) {
|
3282
|
-
obj = serializeDate(obj);
|
3283
|
-
} else if (generateArrayPrefix === 'comma' && isArray$1(obj)) {
|
3284
|
-
obj = utils.maybeMap(obj, function (value) {
|
3285
|
-
if (value instanceof Date) {
|
3286
|
-
return serializeDate(value);
|
3287
|
-
}
|
3288
|
-
return value;
|
3289
|
-
});
|
3290
|
-
}
|
3291
|
-
|
3292
|
-
if (obj === null) {
|
3293
|
-
if (strictNullHandling) {
|
3294
|
-
return encoder && !encodeValuesOnly ? encoder(prefix, defaults$1.encoder, charset, 'key', format) : prefix;
|
3295
|
-
}
|
3296
|
-
|
3297
|
-
obj = '';
|
3298
|
-
}
|
3299
|
-
|
3300
|
-
if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
|
3301
|
-
if (encoder) {
|
3302
|
-
var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults$1.encoder, charset, 'key', format);
|
3303
|
-
if (generateArrayPrefix === 'comma' && encodeValuesOnly) {
|
3304
|
-
var valuesArray = split.call(String(obj), ',');
|
3305
|
-
var valuesJoined = '';
|
3306
|
-
for (var i = 0; i < valuesArray.length; ++i) {
|
3307
|
-
valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults$1.encoder, charset, 'value', format));
|
3308
|
-
}
|
3309
|
-
return [formatter(keyValue) + '=' + valuesJoined];
|
3310
|
-
}
|
3311
|
-
return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults$1.encoder, charset, 'value', format))];
|
3312
|
-
}
|
3313
|
-
return [formatter(prefix) + '=' + formatter(String(obj))];
|
3314
|
-
}
|
3315
|
-
|
3316
|
-
var values = [];
|
3317
|
-
|
3318
|
-
if (typeof obj === 'undefined') {
|
3319
|
-
return values;
|
3320
|
-
}
|
3321
|
-
|
3322
|
-
var objKeys;
|
3323
|
-
if (generateArrayPrefix === 'comma' && isArray$1(obj)) {
|
3324
|
-
// we need to join elements in
|
3325
|
-
objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];
|
3326
|
-
} else if (isArray$1(filter)) {
|
3327
|
-
objKeys = filter;
|
3328
|
-
} else {
|
3329
|
-
var keys = Object.keys(obj);
|
3330
|
-
objKeys = sort ? keys.sort(sort) : keys;
|
3331
|
-
}
|
3332
|
-
|
3333
|
-
for (var j = 0; j < objKeys.length; ++j) {
|
3334
|
-
var key = objKeys[j];
|
3335
|
-
var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];
|
3336
|
-
|
3337
|
-
if (skipNulls && value === null) {
|
3338
|
-
continue;
|
3339
|
-
}
|
3340
|
-
|
3341
|
-
var keyPrefix = isArray$1(obj)
|
3342
|
-
? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix
|
3343
|
-
: prefix + (allowDots ? '.' + key : '[' + key + ']');
|
3344
|
-
|
3345
|
-
sideChannel$1.set(object, step);
|
3346
|
-
var valueSideChannel = sideChannel();
|
3347
|
-
valueSideChannel.set(sentinel, sideChannel$1);
|
3348
|
-
pushToArray(values, stringify(
|
3349
|
-
value,
|
3350
|
-
keyPrefix,
|
3351
|
-
generateArrayPrefix,
|
3352
|
-
strictNullHandling,
|
3353
|
-
skipNulls,
|
3354
|
-
encoder,
|
3355
|
-
filter,
|
3356
|
-
sort,
|
3357
|
-
allowDots,
|
3358
|
-
serializeDate,
|
3359
|
-
format,
|
3360
|
-
formatter,
|
3361
|
-
encodeValuesOnly,
|
3362
|
-
charset,
|
3363
|
-
valueSideChannel
|
3364
|
-
));
|
3365
|
-
}
|
3366
|
-
|
3367
|
-
return values;
|
3368
|
-
};
|
3369
|
-
|
3370
|
-
var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
|
3371
|
-
if (!opts) {
|
3372
|
-
return defaults$1;
|
3373
|
-
}
|
3374
|
-
|
3375
|
-
if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {
|
3376
|
-
throw new TypeError('Encoder has to be a function.');
|
3377
|
-
}
|
3378
|
-
|
3379
|
-
var charset = opts.charset || defaults$1.charset;
|
3380
|
-
if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
|
3381
|
-
throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
|
3382
|
-
}
|
3383
|
-
|
3384
|
-
var format = formats['default'];
|
3385
|
-
if (typeof opts.format !== 'undefined') {
|
3386
|
-
if (!has$1.call(formats.formatters, opts.format)) {
|
3387
|
-
throw new TypeError('Unknown format option provided.');
|
3388
|
-
}
|
3389
|
-
format = opts.format;
|
3390
|
-
}
|
3391
|
-
var formatter = formats.formatters[format];
|
3392
|
-
|
3393
|
-
var filter = defaults$1.filter;
|
3394
|
-
if (typeof opts.filter === 'function' || isArray$1(opts.filter)) {
|
3395
|
-
filter = opts.filter;
|
3396
|
-
}
|
3397
|
-
|
3398
|
-
return {
|
3399
|
-
addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults$1.addQueryPrefix,
|
3400
|
-
allowDots: typeof opts.allowDots === 'undefined' ? defaults$1.allowDots : !!opts.allowDots,
|
3401
|
-
charset: charset,
|
3402
|
-
charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults$1.charsetSentinel,
|
3403
|
-
delimiter: typeof opts.delimiter === 'undefined' ? defaults$1.delimiter : opts.delimiter,
|
3404
|
-
encode: typeof opts.encode === 'boolean' ? opts.encode : defaults$1.encode,
|
3405
|
-
encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults$1.encoder,
|
3406
|
-
encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults$1.encodeValuesOnly,
|
3407
|
-
filter: filter,
|
3408
|
-
format: format,
|
3409
|
-
formatter: formatter,
|
3410
|
-
serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults$1.serializeDate,
|
3411
|
-
skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults$1.skipNulls,
|
3412
|
-
sort: typeof opts.sort === 'function' ? opts.sort : null,
|
3413
|
-
strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults$1.strictNullHandling
|
3414
|
-
};
|
3415
|
-
};
|
3416
|
-
|
3417
|
-
var stringify_1 = function (object, opts) {
|
3418
|
-
var obj = object;
|
3419
|
-
var options = normalizeStringifyOptions(opts);
|
3420
|
-
|
3421
|
-
var objKeys;
|
3422
|
-
var filter;
|
3423
|
-
|
3424
|
-
if (typeof options.filter === 'function') {
|
3425
|
-
filter = options.filter;
|
3426
|
-
obj = filter('', obj);
|
3427
|
-
} else if (isArray$1(options.filter)) {
|
3428
|
-
filter = options.filter;
|
3429
|
-
objKeys = filter;
|
3430
|
-
}
|
3431
|
-
|
3432
|
-
var keys = [];
|
3433
|
-
|
3434
|
-
if (typeof obj !== 'object' || obj === null) {
|
3435
|
-
return '';
|
3436
|
-
}
|
3437
|
-
|
3438
|
-
var arrayFormat;
|
3439
|
-
if (opts && opts.arrayFormat in arrayPrefixGenerators) {
|
3440
|
-
arrayFormat = opts.arrayFormat;
|
3441
|
-
} else if (opts && 'indices' in opts) {
|
3442
|
-
arrayFormat = opts.indices ? 'indices' : 'repeat';
|
3443
|
-
} else {
|
3444
|
-
arrayFormat = 'indices';
|
3445
|
-
}
|
3446
|
-
|
3447
|
-
var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
|
3448
|
-
|
3449
|
-
if (!objKeys) {
|
3450
|
-
objKeys = Object.keys(obj);
|
3451
|
-
}
|
3452
|
-
|
3453
|
-
if (options.sort) {
|
3454
|
-
objKeys.sort(options.sort);
|
3455
|
-
}
|
3456
|
-
|
3457
|
-
var sideChannel$1 = sideChannel();
|
3458
|
-
for (var i = 0; i < objKeys.length; ++i) {
|
3459
|
-
var key = objKeys[i];
|
3460
|
-
|
3461
|
-
if (options.skipNulls && obj[key] === null) {
|
3462
|
-
continue;
|
3463
|
-
}
|
3464
|
-
pushToArray(keys, stringify(
|
3465
|
-
obj[key],
|
3466
|
-
key,
|
3467
|
-
generateArrayPrefix,
|
3468
|
-
options.strictNullHandling,
|
3469
|
-
options.skipNulls,
|
3470
|
-
options.encode ? options.encoder : null,
|
3471
|
-
options.filter,
|
3472
|
-
options.sort,
|
3473
|
-
options.allowDots,
|
3474
|
-
options.serializeDate,
|
3475
|
-
options.format,
|
3476
|
-
options.formatter,
|
3477
|
-
options.encodeValuesOnly,
|
3478
|
-
options.charset,
|
3479
|
-
sideChannel$1
|
3480
|
-
));
|
3481
|
-
}
|
3482
|
-
|
3483
|
-
var joined = keys.join(options.delimiter);
|
3484
|
-
var prefix = options.addQueryPrefix === true ? '?' : '';
|
3485
|
-
|
3486
|
-
if (options.charsetSentinel) {
|
3487
|
-
if (options.charset === 'iso-8859-1') {
|
3488
|
-
// encodeURIComponent('✓'), the "numeric entity" representation of a checkmark
|
3489
|
-
prefix += 'utf8=%26%2310003%3B&';
|
3490
|
-
} else {
|
3491
|
-
// encodeURIComponent('✓')
|
3492
|
-
prefix += 'utf8=%E2%9C%93&';
|
3493
|
-
}
|
3494
|
-
}
|
3495
|
-
|
3496
|
-
return joined.length > 0 ? prefix + joined : '';
|
3497
|
-
};
|
3498
|
-
|
3499
|
-
var has = Object.prototype.hasOwnProperty;
|
3500
|
-
var isArray = Array.isArray;
|
3501
|
-
|
3502
|
-
var defaults = {
|
3503
|
-
allowDots: false,
|
3504
|
-
allowPrototypes: false,
|
3505
|
-
allowSparse: false,
|
3506
|
-
arrayLimit: 20,
|
3507
|
-
charset: 'utf-8',
|
3508
|
-
charsetSentinel: false,
|
3509
|
-
comma: false,
|
3510
|
-
decoder: utils.decode,
|
3511
|
-
delimiter: '&',
|
3512
|
-
depth: 5,
|
3513
|
-
ignoreQueryPrefix: false,
|
3514
|
-
interpretNumericEntities: false,
|
3515
|
-
parameterLimit: 1000,
|
3516
|
-
parseArrays: true,
|
3517
|
-
plainObjects: false,
|
3518
|
-
strictNullHandling: false
|
3519
|
-
};
|
3520
|
-
|
3521
|
-
var interpretNumericEntities = function (str) {
|
3522
|
-
return str.replace(/&#(\d+);/g, function ($0, numberStr) {
|
3523
|
-
return String.fromCharCode(parseInt(numberStr, 10));
|
3524
|
-
});
|
3525
|
-
};
|
3526
|
-
|
3527
|
-
var parseArrayValue = function (val, options) {
|
3528
|
-
if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {
|
3529
|
-
return val.split(',');
|
3530
|
-
}
|
3531
|
-
|
3532
|
-
return val;
|
3533
|
-
};
|
3534
|
-
|
3535
|
-
// This is what browsers will submit when the ✓ character occurs in an
|
3536
|
-
// application/x-www-form-urlencoded body and the encoding of the page containing
|
3537
|
-
// the form is iso-8859-1, or when the submitted form has an accept-charset
|
3538
|
-
// attribute of iso-8859-1. Presumably also with other charsets that do not contain
|
3539
|
-
// the ✓ character, such as us-ascii.
|
3540
|
-
var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓')
|
3541
|
-
|
3542
|
-
// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.
|
3543
|
-
var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')
|
3544
|
-
|
3545
|
-
var parseValues = function parseQueryStringValues(str, options) {
|
3546
|
-
var obj = {};
|
3547
|
-
var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
|
3548
|
-
var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
|
3549
|
-
var parts = cleanStr.split(options.delimiter, limit);
|
3550
|
-
var skipIndex = -1; // Keep track of where the utf8 sentinel was found
|
3551
|
-
var i;
|
3552
|
-
|
3553
|
-
var charset = options.charset;
|
3554
|
-
if (options.charsetSentinel) {
|
3555
|
-
for (i = 0; i < parts.length; ++i) {
|
3556
|
-
if (parts[i].indexOf('utf8=') === 0) {
|
3557
|
-
if (parts[i] === charsetSentinel) {
|
3558
|
-
charset = 'utf-8';
|
3559
|
-
} else if (parts[i] === isoSentinel) {
|
3560
|
-
charset = 'iso-8859-1';
|
3561
|
-
}
|
3562
|
-
skipIndex = i;
|
3563
|
-
i = parts.length; // The eslint settings do not allow break;
|
3564
|
-
}
|
3565
|
-
}
|
3566
|
-
}
|
3567
|
-
|
3568
|
-
for (i = 0; i < parts.length; ++i) {
|
3569
|
-
if (i === skipIndex) {
|
3570
|
-
continue;
|
3571
|
-
}
|
3572
|
-
var part = parts[i];
|
3573
|
-
|
3574
|
-
var bracketEqualsPos = part.indexOf(']=');
|
3575
|
-
var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
|
3576
|
-
|
3577
|
-
var key, val;
|
3578
|
-
if (pos === -1) {
|
3579
|
-
key = options.decoder(part, defaults.decoder, charset, 'key');
|
3580
|
-
val = options.strictNullHandling ? null : '';
|
3581
|
-
} else {
|
3582
|
-
key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');
|
3583
|
-
val = utils.maybeMap(
|
3584
|
-
parseArrayValue(part.slice(pos + 1), options),
|
3585
|
-
function (encodedVal) {
|
3586
|
-
return options.decoder(encodedVal, defaults.decoder, charset, 'value');
|
3587
|
-
}
|
3588
|
-
);
|
3589
|
-
}
|
3590
|
-
|
3591
|
-
if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
|
3592
|
-
val = interpretNumericEntities(val);
|
3593
|
-
}
|
3594
|
-
|
3595
|
-
if (part.indexOf('[]=') > -1) {
|
3596
|
-
val = isArray(val) ? [val] : val;
|
3597
|
-
}
|
3598
|
-
|
3599
|
-
if (has.call(obj, key)) {
|
3600
|
-
obj[key] = utils.combine(obj[key], val);
|
3601
|
-
} else {
|
3602
|
-
obj[key] = val;
|
3603
|
-
}
|
3604
|
-
}
|
3605
|
-
|
3606
|
-
return obj;
|
3607
|
-
};
|
3608
|
-
|
3609
|
-
var parseObject = function (chain, val, options, valuesParsed) {
|
3610
|
-
var leaf = valuesParsed ? val : parseArrayValue(val, options);
|
3611
|
-
|
3612
|
-
for (var i = chain.length - 1; i >= 0; --i) {
|
3613
|
-
var obj;
|
3614
|
-
var root = chain[i];
|
3615
|
-
|
3616
|
-
if (root === '[]' && options.parseArrays) {
|
3617
|
-
obj = [].concat(leaf);
|
3618
|
-
} else {
|
3619
|
-
obj = options.plainObjects ? Object.create(null) : {};
|
3620
|
-
var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
|
3621
|
-
var index = parseInt(cleanRoot, 10);
|
3622
|
-
if (!options.parseArrays && cleanRoot === '') {
|
3623
|
-
obj = { 0: leaf };
|
3624
|
-
} else if (
|
3625
|
-
!isNaN(index)
|
3626
|
-
&& root !== cleanRoot
|
3627
|
-
&& String(index) === cleanRoot
|
3628
|
-
&& index >= 0
|
3629
|
-
&& (options.parseArrays && index <= options.arrayLimit)
|
3630
|
-
) {
|
3631
|
-
obj = [];
|
3632
|
-
obj[index] = leaf;
|
3633
|
-
} else if (cleanRoot !== '__proto__') {
|
3634
|
-
obj[cleanRoot] = leaf;
|
3635
|
-
}
|
3636
|
-
}
|
3637
|
-
|
3638
|
-
leaf = obj;
|
3639
|
-
}
|
3640
|
-
|
3641
|
-
return leaf;
|
3642
|
-
};
|
3643
|
-
|
3644
|
-
var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {
|
3645
|
-
if (!givenKey) {
|
3646
|
-
return;
|
3647
|
-
}
|
3648
|
-
|
3649
|
-
// Transform dot notation to bracket notation
|
3650
|
-
var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;
|
3651
|
-
|
3652
|
-
// The regex chunks
|
3653
|
-
|
3654
|
-
var brackets = /(\[[^[\]]*])/;
|
3655
|
-
var child = /(\[[^[\]]*])/g;
|
3656
|
-
|
3657
|
-
// Get the parent
|
3658
|
-
|
3659
|
-
var segment = options.depth > 0 && brackets.exec(key);
|
3660
|
-
var parent = segment ? key.slice(0, segment.index) : key;
|
3661
|
-
|
3662
|
-
// Stash the parent if it exists
|
3663
|
-
|
3664
|
-
var keys = [];
|
3665
|
-
if (parent) {
|
3666
|
-
// If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties
|
3667
|
-
if (!options.plainObjects && has.call(Object.prototype, parent)) {
|
3668
|
-
if (!options.allowPrototypes) {
|
3669
|
-
return;
|
3670
|
-
}
|
3671
|
-
}
|
3672
|
-
|
3673
|
-
keys.push(parent);
|
3674
|
-
}
|
3675
|
-
|
3676
|
-
// Loop through children appending to the array until we hit depth
|
3677
|
-
|
3678
|
-
var i = 0;
|
3679
|
-
while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {
|
3680
|
-
i += 1;
|
3681
|
-
if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
|
3682
|
-
if (!options.allowPrototypes) {
|
3683
|
-
return;
|
3684
|
-
}
|
3685
|
-
}
|
3686
|
-
keys.push(segment[1]);
|
3687
|
-
}
|
3688
|
-
|
3689
|
-
// If there's a remainder, just add whatever is left
|
3690
|
-
|
3691
|
-
if (segment) {
|
3692
|
-
keys.push('[' + key.slice(segment.index) + ']');
|
3693
|
-
}
|
3694
|
-
|
3695
|
-
return parseObject(keys, val, options, valuesParsed);
|
3696
|
-
};
|
3697
|
-
|
3698
|
-
var normalizeParseOptions = function normalizeParseOptions(opts) {
|
3699
|
-
if (!opts) {
|
3700
|
-
return defaults;
|
3701
|
-
}
|
3702
|
-
|
3703
|
-
if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {
|
3704
|
-
throw new TypeError('Decoder has to be a function.');
|
3705
|
-
}
|
3706
|
-
|
3707
|
-
if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
|
3708
|
-
throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
|
3709
|
-
}
|
3710
|
-
var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
|
3711
|
-
|
3712
|
-
return {
|
3713
|
-
allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
|
3714
|
-
allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,
|
3715
|
-
allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,
|
3716
|
-
arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,
|
3717
|
-
charset: charset,
|
3718
|
-
charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
|
3719
|
-
comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,
|
3720
|
-
decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,
|
3721
|
-
delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
|
3722
|
-
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
3723
|
-
depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,
|
3724
|
-
ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
|
3725
|
-
interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
|
3726
|
-
parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,
|
3727
|
-
parseArrays: opts.parseArrays !== false,
|
3728
|
-
plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
|
3729
|
-
strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
|
3730
|
-
};
|
3731
|
-
};
|
3732
|
-
|
3733
|
-
var parse = function (str, opts) {
|
3734
|
-
var options = normalizeParseOptions(opts);
|
3735
|
-
|
3736
|
-
if (str === '' || str === null || typeof str === 'undefined') {
|
3737
|
-
return options.plainObjects ? Object.create(null) : {};
|
3738
|
-
}
|
3739
|
-
|
3740
|
-
var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
|
3741
|
-
var obj = options.plainObjects ? Object.create(null) : {};
|
3742
|
-
|
3743
|
-
// Iterate over the keys and setup the new object
|
3744
|
-
|
3745
|
-
var keys = Object.keys(tempObj);
|
3746
|
-
for (var i = 0; i < keys.length; ++i) {
|
3747
|
-
var key = keys[i];
|
3748
|
-
var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');
|
3749
|
-
obj = utils.merge(obj, newObj, options);
|
3750
|
-
}
|
3751
|
-
|
3752
|
-
if (options.allowSparse === true) {
|
3753
|
-
return obj;
|
3754
|
-
}
|
3755
|
-
|
3756
|
-
return utils.compact(obj);
|
3757
|
-
};
|
3758
|
-
|
3759
|
-
var lib = {
|
3760
|
-
formats: formats,
|
3761
|
-
parse: parse,
|
3762
|
-
stringify: stringify_1
|
3763
|
-
};
|
3764
|
-
|
3765
3182
|
const appendToMap = (map, propName, value) => {
|
3766
3183
|
const items = map.get(propName);
|
3767
3184
|
if (!items) {
|
@@ -3951,103 +3368,6 @@ const { state: state$1, onChange: onChange$1, reset: reset$1 } = createStore({
|
|
3951
3368
|
});
|
3952
3369
|
const TocStore = { state: state$1, onChange: onChange$1, reset: reset$1 };
|
3953
3370
|
|
3954
|
-
class HttpService {
|
3955
|
-
constructor() { }
|
3956
|
-
static getInstance() {
|
3957
|
-
if (!HttpService.instance) {
|
3958
|
-
HttpService.instance = new HttpService();
|
3959
|
-
}
|
3960
|
-
return HttpService.instance;
|
3961
|
-
}
|
3962
|
-
static init() {
|
3963
|
-
var sparkleConfig = environmentConfig_service.EnvironmentConfigService.getInstance().get('sparkle');
|
3964
|
-
this.http = axios.create({
|
3965
|
-
baseURL: sparkleConfig.apiUrl,
|
3966
|
-
headers: {
|
3967
|
-
'Content-Type': 'application/json'
|
3968
|
-
},
|
3969
|
-
timeout: 30000,
|
3970
|
-
paramsSerializer: function (params) {
|
3971
|
-
return lib.stringify(params, {
|
3972
|
-
encode: false,
|
3973
|
-
});
|
3974
|
-
},
|
3975
|
-
});
|
3976
|
-
this.http.interceptors.request.use(function (config) {
|
3977
|
-
if (!!sparkleConfig && !!sparkleConfig.auth && !!sparkleConfig.auth.getToken()) {
|
3978
|
-
config.headers.common['Authorization'] = 'Bearer ' + sparkle.auth.getToken();
|
3979
|
-
}
|
3980
|
-
// //config.headers.common['.AspNetCore.Culture'] = sparkle.utils.getCookieValue('Sparkle.Localization.CultureName');
|
3981
|
-
config.headers.common['Sparkle.CourseId'] = sparkleConfig.courseId;
|
3982
|
-
console.log(TocStore.state.pageInfo);
|
3983
|
-
if (TocStore.state.pageInfo) {
|
3984
|
-
config.headers.common['Sparkle.CourseModuleId'] = TocStore.state.pageInfo.courseModuleId;
|
3985
|
-
config.headers.common['Sparkle.SessionId'] = TocStore.state.pageInfo.sessionId;
|
3986
|
-
config.headers.common['Sparkle.PageId'] = TocStore.state.pageInfo.pageId;
|
3987
|
-
}
|
3988
|
-
return config;
|
3989
|
-
}, function (error) {
|
3990
|
-
return Promise.reject(error);
|
3991
|
-
});
|
3992
|
-
this.http.interceptors.response.use(async (response) => {
|
3993
|
-
if (response.data.Message) {
|
3994
|
-
const toast = await overlays.toastController.create({
|
3995
|
-
message: response.data.Message,
|
3996
|
-
duration: 3000
|
3997
|
-
});
|
3998
|
-
toast.present();
|
3999
|
-
}
|
4000
|
-
return response.data.Failed ? null : response.data;
|
4001
|
-
}, async (error) => {
|
4002
|
-
if (error.response && error.response.data && error.response.data.ErrorMessage) {
|
4003
|
-
// The request was made and the server responded with a status code
|
4004
|
-
// that falls out of the range of 2xx
|
4005
|
-
const toast = await overlays.toastController.create({
|
4006
|
-
message: error.response.data.ErrorMessage,
|
4007
|
-
duration: 3000
|
4008
|
-
});
|
4009
|
-
toast.present();
|
4010
|
-
return Promise.reject(error);
|
4011
|
-
}
|
4012
|
-
else if (error.response && error.response.data && error.response.status == 400) {
|
4013
|
-
// The request was made and the server responded with a status code
|
4014
|
-
// that falls out of the range of 2xx
|
4015
|
-
const toast = await overlays.toastController.create({
|
4016
|
-
message: error.response.data.Message,
|
4017
|
-
duration: 3000
|
4018
|
-
});
|
4019
|
-
toast.present();
|
4020
|
-
return Promise.reject(error.response.data);
|
4021
|
-
}
|
4022
|
-
else if (error.response && error.response.data && error.response.data.Message) {
|
4023
|
-
// The request was made and the server responded with a status code
|
4024
|
-
// that falls out of the range of 2xx
|
4025
|
-
const toast = await overlays.toastController.create({
|
4026
|
-
message: error.response.data.Message,
|
4027
|
-
duration: 3000
|
4028
|
-
});
|
4029
|
-
toast.present();
|
4030
|
-
return Promise.reject(error);
|
4031
|
-
}
|
4032
|
-
else if (error.request) {
|
4033
|
-
// The request was made but no response was received
|
4034
|
-
// `error.request` is an instance of XMLHttpRequest in the browser and an instance of
|
4035
|
-
// http.ClientRequest in node.js
|
4036
|
-
console.log(error.request);
|
4037
|
-
}
|
4038
|
-
else {
|
4039
|
-
const toast = await overlays.toastController.create({
|
4040
|
-
message: "Unknown Error",
|
4041
|
-
duration: 3000
|
4042
|
-
});
|
4043
|
-
toast.present();
|
4044
|
-
}
|
4045
|
-
setTimeout(() => { }, 1000);
|
4046
|
-
return Promise.reject(error);
|
4047
|
-
});
|
4048
|
-
}
|
4049
|
-
}
|
4050
|
-
|
4051
3371
|
const { state, onChange, reset } = createStore({
|
4052
3372
|
authUser: null,
|
4053
3373
|
bearer: 'Bearer ',
|
@@ -4061,9 +3381,12 @@ onChange('authUser', (authUser) => {
|
|
4061
3381
|
const AuthStore = { state, onChange, reset };
|
4062
3382
|
|
4063
3383
|
exports.AuthStore = AuthStore;
|
4064
|
-
exports.HttpService = HttpService;
|
4065
3384
|
exports.TocStore = TocStore;
|
3385
|
+
exports.axios_1 = axios_1;
|
4066
3386
|
exports.commonjsGlobal = commonjsGlobal;
|
4067
3387
|
exports.createCommonjsModule = createCommonjsModule;
|
4068
3388
|
exports.createStore = createStore;
|
3389
|
+
exports.formats = formats;
|
4069
3390
|
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
3391
|
+
exports.sideChannel = sideChannel;
|
3392
|
+
exports.utils = utils;
|