@coorpacademy/components 10.3.26 → 10.3.27
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/es/atom/autocomplete/test/fixtures/error.js +1 -1
- package/es/atom/autocomplete/test/fixtures/error.js.map +1 -1
- package/es/atom/autocomplete/test/fixtures/filled.js +1 -1
- package/es/atom/autocomplete/test/fixtures/filled.js.map +1 -1
- package/es/atom/autocomplete/test/fixtures/modified.js +1 -1
- package/es/atom/autocomplete/test/fixtures/modified.js.map +1 -1
- package/es/atom/clue/index.js.map +1 -1
- package/es/atom/cta/test/fixtures/certification.js +1 -1
- package/es/atom/cta/test/fixtures/certification.js.map +1 -1
- package/es/atom/cta/test/fixtures/disabled.js +1 -1
- package/es/atom/cta/test/fixtures/disabled.js.map +1 -1
- package/es/atom/cta/test/fixtures/light-small.js +1 -1
- package/es/atom/cta/test/fixtures/light-small.js.map +1 -1
- package/es/atom/cta/test/fixtures/light.js +1 -1
- package/es/atom/cta/test/fixtures/light.js.map +1 -1
- package/es/atom/cta/test/fixtures/logout.js +1 -1
- package/es/atom/cta/test/fixtures/logout.js.map +1 -1
- package/es/atom/cta/test/fixtures/primary-small.js +1 -1
- package/es/atom/cta/test/fixtures/primary-small.js.map +1 -1
- package/es/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js +1 -1
- package/es/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js.map +1 -1
- package/es/atom/cta/test/fixtures/rectangular-secondary.js +1 -1
- package/es/atom/cta/test/fixtures/rectangular-secondary.js.map +1 -1
- package/es/atom/cta/test/fixtures/rectangular.js +1 -1
- package/es/atom/cta/test/fixtures/rectangular.js.map +1 -1
- package/es/atom/cta/test/fixtures/secondary-small.js +1 -1
- package/es/atom/cta/test/fixtures/secondary-small.js.map +1 -1
- package/es/atom/cta/test/fixtures/secondary.js +1 -1
- package/es/atom/cta/test/fixtures/secondary.js.map +1 -1
- package/es/atom/drag-and-drop/index.js +1 -1
- package/es/atom/drag-and-drop/index.js.map +1 -1
- package/es/atom/drag-and-drop/test/fixtures/loading.js +1 -1
- package/es/atom/drag-and-drop/test/fixtures/loading.js.map +1 -1
- package/es/atom/drag-and-drop/test/fixtures/with-image-reset.js +1 -1
- package/es/atom/drag-and-drop/test/fixtures/with-image-reset.js.map +1 -1
- package/es/atom/image-upload/index.js +1 -1
- package/es/atom/image-upload/index.js.map +1 -1
- package/es/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js +1 -1
- package/es/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js.map +1 -1
- package/es/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js +1 -1
- package/es/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js.map +1 -1
- package/es/atom/image-upload/test/fixtures/desktop-reset-description.js +1 -1
- package/es/atom/image-upload/test/fixtures/desktop-reset-description.js.map +1 -1
- package/es/atom/image-upload/test/fixtures/desktop-reset-no-description.js +1 -1
- package/es/atom/image-upload/test/fixtures/desktop-reset-no-description.js.map +1 -1
- package/es/atom/image-upload/test/fixtures/email.js +1 -1
- package/es/atom/image-upload/test/fixtures/email.js.map +1 -1
- package/es/atom/image-upload/test/fixtures/mobile.js +1 -1
- package/es/atom/image-upload/test/fixtures/mobile.js.map +1 -1
- package/es/atom/image-upload/test/fixtures/modified.js +1 -1
- package/es/atom/image-upload/test/fixtures/modified.js.map +1 -1
- package/es/atom/input-html/index.js.map +1 -1
- package/es/atom/input-switch/test/fixtures/cm-right-disabled.js +1 -1
- package/es/atom/input-switch/test/fixtures/cm-right-disabled.js.map +1 -1
- package/es/atom/input-switch/test/fixtures/disabled.js +1 -1
- package/es/atom/input-switch/test/fixtures/disabled.js.map +1 -1
- package/es/atom/input-switch/test/fixtures.js +0 -10
- package/es/atom/input-switch/test/fixtures.js.map +1 -1
- package/es/atom/link/index.js +2 -3
- package/es/atom/link/index.js.map +1 -1
- package/es/atom/loader/test/fixtures.js +2 -0
- package/es/atom/loader/test/fixtures.js.map +1 -1
- package/es/atom/promo-code/index.js.map +1 -1
- package/es/atom/provider/index.js.map +1 -1
- package/es/atom/provider/test/index.js +1 -1
- package/es/atom/provider/test/index.js.map +1 -1
- package/es/atom/range/index.js +1 -1
- package/es/atom/range/index.js.map +1 -1
- package/es/atom/range/test/fixtures/multi.js +1 -1
- package/es/atom/range/test/fixtures/multi.js.map +1 -1
- package/es/atom/range/test/index.js +9 -9
- package/es/atom/range/test/index.js.map +1 -1
- package/es/atom/video-upload/index.js +1 -1
- package/es/atom/video-upload/index.js.map +1 -1
- package/es/atom/video-upload/test/fixtures/loading.js +1 -1
- package/es/atom/video-upload/test/fixtures/loading.js.map +1 -1
- package/es/atom/video-upload/test/fixtures/modified.js +1 -1
- package/es/atom/video-upload/test/fixtures/modified.js.map +1 -1
- package/es/hoc/animation-scheduler/index.js +3 -3
- package/es/hoc/animation-scheduler/index.js.map +1 -1
- package/es/hoc/swapper/index.js +2 -4
- package/es/hoc/swapper/index.js.map +1 -1
- package/es/hoc/transition/index.js +1 -1
- package/es/hoc/transition/index.js.map +1 -1
- package/es/molecule/add-to-my-list/index.js +1 -1
- package/es/molecule/add-to-my-list/index.js.map +1 -1
- package/es/molecule/answer/index.js +2 -3
- package/es/molecule/answer/index.js.map +1 -1
- package/es/molecule/answer/test/fixtures/audio.js +1 -1
- package/es/molecule/answer/test/fixtures/audio.js.map +1 -1
- package/es/molecule/answer/test/fixtures/default.js +1 -1
- package/es/molecule/answer/test/fixtures/default.js.map +1 -1
- package/es/molecule/answer/test/fixtures/drop-down.js +1 -1
- package/es/molecule/answer/test/fixtures/drop-down.js.map +1 -1
- package/es/molecule/answer/test/fixtures/qcm-arabic.js +1 -1
- package/es/molecule/answer/test/fixtures/qcm-arabic.js.map +1 -1
- package/es/molecule/answer/test/fixtures/qcm-drag.js +1 -1
- package/es/molecule/answer/test/fixtures/qcm-drag.js.map +1 -1
- package/es/molecule/answer/test/fixtures/qcm-graphic.js +1 -1
- package/es/molecule/answer/test/fixtures/qcm-graphic.js.map +1 -1
- package/es/molecule/answer/test/fixtures/qcm-short-audio.js +1 -1
- package/es/molecule/answer/test/fixtures/qcm-short-audio.js.map +1 -1
- package/es/molecule/answer/test/fixtures/qcm-short-video.js +1 -1
- package/es/molecule/answer/test/fixtures/qcm-short-video.js.map +1 -1
- package/es/molecule/answer/test/fixtures/qcm-short.js +1 -1
- package/es/molecule/answer/test/fixtures/qcm-short.js.map +1 -1
- package/es/molecule/answer/test/fixtures/qcm.js +1 -1
- package/es/molecule/answer/test/fixtures/qcm.js.map +1 -1
- package/es/molecule/answer/test/fixtures/range.js +1 -1
- package/es/molecule/answer/test/fixtures/range.js.map +1 -1
- package/es/molecule/answer/test/fixtures/template.js +1 -1
- package/es/molecule/answer/test/fixtures/template.js.map +1 -1
- package/es/molecule/brand-form-group/index.js +18 -18
- package/es/molecule/brand-form-group/index.js.map +1 -1
- package/es/molecule/brand-form-group/test/fixtures/analytics.js +1 -1
- package/es/molecule/brand-form-group/test/fixtures/analytics.js.map +1 -1
- package/es/molecule/brand-form-group/test/fixtures/animations.js +2 -2
- package/es/molecule/brand-form-group/test/fixtures/animations.js.map +1 -1
- package/es/molecule/brand-form-group/test/fixtures/cohort.js +1 -1
- package/es/molecule/brand-form-group/test/fixtures/cohort.js.map +1 -1
- package/es/molecule/brand-form-group/test/fixtures/dashboard.js +1 -1
- package/es/molecule/brand-form-group/test/fixtures/dashboard.js.map +1 -1
- package/es/molecule/brand-form-group/test/fixtures/images.js +3 -3
- package/es/molecule/brand-form-group/test/fixtures/images.js.map +1 -1
- package/es/molecule/brand-form-group/test/fixtures/slider.js +1 -1
- package/es/molecule/brand-form-group/test/fixtures/slider.js.map +1 -1
- package/es/molecule/card/index.js +1 -1
- package/es/molecule/card/index.js.map +1 -1
- package/es/molecule/card/test/fixtures/adaptiv-and-disabled.js +1 -1
- package/es/molecule/card/test/fixtures/adaptiv-and-disabled.js.map +1 -1
- package/es/molecule/card/test/fixtures/adaptiv.js +1 -1
- package/es/molecule/card/test/fixtures/adaptiv.js.map +1 -1
- package/es/molecule/card/test/fixtures/disabled.js +1 -1
- package/es/molecule/card/test/fixtures/disabled.js.map +1 -1
- package/es/molecule/card-content/test/fixtures/adaptiv-and-disabled.js +1 -1
- package/es/molecule/card-content/test/fixtures/adaptiv-and-disabled.js.map +1 -1
- package/es/molecule/card-content/test/fixtures/adaptiv.js +1 -1
- package/es/molecule/card-content/test/fixtures/adaptiv.js.map +1 -1
- package/es/molecule/card-content/test/fixtures/disabled.js +1 -1
- package/es/molecule/card-content/test/fixtures/disabled.js.map +1 -1
- package/es/molecule/card-with-button/index.js.map +1 -1
- package/es/molecule/coorp-manager-roles/index.js +1 -1
- package/es/molecule/coorp-manager-roles/index.js.map +1 -1
- package/es/molecule/dashboard/battle-request-list/index.js +1 -1
- package/es/molecule/dashboard/battle-request-list/index.js.map +1 -1
- package/es/molecule/dashboard/cards-list/test/fixtures/microlearning.js +1 -1
- package/es/molecule/dashboard/cards-list/test/fixtures/microlearning.js.map +1 -1
- package/es/molecule/dashboard/cards-list/test/fixtures/performance.js +1 -1
- package/es/molecule/dashboard/cards-list/test/fixtures/performance.js.map +1 -1
- package/es/molecule/dashboard/cards-list/test/index.js +1 -1
- package/es/molecule/dashboard/cards-list/test/index.js.map +1 -1
- package/es/molecule/dashboard/news-list/index.js +1 -1
- package/es/molecule/dashboard/news-list/index.js.map +1 -1
- package/es/molecule/dashboard/start-battle/index.js +1 -1
- package/es/molecule/dashboard/start-battle/index.js.map +1 -1
- package/es/molecule/discipline-header/test/fixtures/long-description.js.map +1 -1
- package/es/molecule/drag-and-drop/index.js +1 -1
- package/es/molecule/drag-and-drop/index.js.map +1 -1
- package/es/molecule/drag-and-drop/test/fixtures/error.js +1 -1
- package/es/molecule/drag-and-drop/test/fixtures/error.js.map +1 -1
- package/es/molecule/drag-and-drop/test/fixtures/loading.js +1 -1
- package/es/molecule/drag-and-drop/test/fixtures/loading.js.map +1 -1
- package/es/molecule/drag-and-drop/test/fixtures/ready-invalid.js +1 -1
- package/es/molecule/drag-and-drop/test/fixtures/ready-invalid.js.map +1 -1
- package/es/molecule/drag-and-drop/test/fixtures/ready.js +1 -1
- package/es/molecule/drag-and-drop/test/fixtures/ready.js.map +1 -1
- package/es/molecule/drag-and-drop/test/fixtures/success-video.js +1 -1
- package/es/molecule/drag-and-drop/test/fixtures/success-video.js.map +1 -1
- package/es/molecule/drag-and-drop/test/fixtures/success.js +1 -1
- package/es/molecule/drag-and-drop/test/fixtures/success.js.map +1 -1
- package/es/molecule/drag-and-drop/test/on-click.js +2 -2
- package/es/molecule/drag-and-drop/test/on-click.js.map +1 -1
- package/es/molecule/drag-and-drop/upload-report.js +1 -1
- package/es/molecule/drag-and-drop/upload-report.js.map +1 -1
- package/es/molecule/feedback/index.js +1 -1
- package/es/molecule/feedback/index.js.map +1 -1
- package/es/molecule/filters/test/fixtures/default.js +4 -4
- package/es/molecule/filters/test/fixtures/default.js.map +1 -1
- package/es/molecule/filters/test/fixtures/filters-list.js +6 -6
- package/es/molecule/filters/test/fixtures/filters-list.js.map +1 -1
- package/es/molecule/filters/test/fixtures/one.js +2 -2
- package/es/molecule/filters/test/fixtures/one.js.map +1 -1
- package/es/molecule/filters/test/fixtures/only-radio-group.js +1 -1
- package/es/molecule/filters/test/fixtures/only-radio-group.js.map +1 -1
- package/es/molecule/filters/test/fixtures/only-timer.js +1 -1
- package/es/molecule/filters/test/fixtures/only-timer.js.map +1 -1
- package/es/molecule/filters/test/fixtures/three.js +3 -3
- package/es/molecule/filters/test/fixtures/three.js.map +1 -1
- package/es/molecule/filters/test/fixtures/two.js +3 -3
- package/es/molecule/filters/test/fixtures/two.js.map +1 -1
- package/es/molecule/filters/test/fixtures/zero.js +1 -1
- package/es/molecule/filters/test/fixtures/zero.js.map +1 -1
- package/es/molecule/forum/forum-thread/test/fixtures/deep-answers.js +4 -4
- package/es/molecule/forum/forum-thread/test/fixtures/deep-answers.js.map +1 -1
- package/es/molecule/forum/forum-thread/test/fixtures/with-answers.js +1 -1
- package/es/molecule/forum/forum-thread/test/fixtures/with-answers.js.map +1 -1
- package/es/molecule/hero/test/fixtures/arabic.js +1 -1
- package/es/molecule/hero/test/fixtures/arabic.js.map +1 -1
- package/es/molecule/hero/test/fixtures/hero.js +1 -1
- package/es/molecule/hero/test/fixtures/hero.js.map +1 -1
- package/es/molecule/news/test/fixtures/long-description.js +1 -1
- package/es/molecule/news/test/fixtures/long-description.js.map +1 -1
- package/es/molecule/news/test/fixtures/long-title.js +1 -1
- package/es/molecule/news/test/fixtures/long-title.js.map +1 -1
- package/es/molecule/news/test/fixtures/small-desciption.js +1 -1
- package/es/molecule/news/test/fixtures/small-desciption.js.map +1 -1
- package/es/molecule/news/test/fixtures/small-title.js +1 -1
- package/es/molecule/news/test/fixtures/small-title.js.map +1 -1
- package/es/molecule/popin/index.js +1 -1
- package/es/molecule/popin/index.js.map +1 -1
- package/es/molecule/progress-bar/index.js +1 -1
- package/es/molecule/progress-bar/index.js.map +1 -1
- package/es/molecule/questions/drop-down/index.js +1 -1
- package/es/molecule/questions/drop-down/index.js.map +1 -1
- package/es/molecule/questions/question-range/index.js +2 -3
- package/es/molecule/questions/question-range/index.js.map +1 -1
- package/es/molecule/questions/template/index.js +2 -2
- package/es/molecule/questions/template/index.js.map +1 -1
- package/es/molecule/questions/template/test/index.js +1 -1
- package/es/molecule/questions/template/test/index.js.map +1 -1
- package/es/molecule/quick-access-card/index.js.map +1 -1
- package/es/molecule/resource-player/index.js +1 -2
- package/es/molecule/resource-player/index.js.map +1 -1
- package/es/molecule/select-multiple/index.js +3 -3
- package/es/molecule/select-multiple/index.js.map +1 -1
- package/es/molecule/select-multiple/test/index.js +2 -2
- package/es/molecule/select-multiple/test/index.js.map +1 -1
- package/es/molecule/setup-section/index.js +1 -1
- package/es/molecule/setup-section/index.js.map +1 -1
- package/es/molecule/setup-section/test/fixtures/first.js +1 -1
- package/es/molecule/setup-section/test/fixtures/first.js.map +1 -1
- package/es/molecule/setup-slide/index.js +8 -8
- package/es/molecule/setup-slide/index.js.map +1 -1
- package/es/molecule/share/index.js +1 -1
- package/es/molecule/share/index.js.map +1 -1
- package/es/molecule/vertical-tabs/test/fixtures.js +2 -0
- package/es/molecule/vertical-tabs/test/fixtures.js.map +1 -1
- package/es/molecule/video-iframe/index.js +1 -1
- package/es/molecule/video-iframe/index.js.map +1 -1
- package/es/molecule/video-player/index.js +1 -3
- package/es/molecule/video-player/index.js.map +1 -1
- package/es/molecule/video-player/jwplayer.js +2 -2
- package/es/molecule/video-player/jwplayer.js.map +1 -1
- package/es/molecule/video-player/test/fixtures/youtube.js +1 -1
- package/es/molecule/video-player/test/fixtures/youtube.js.map +1 -1
- package/es/molecule/video-player/vimeo.js +1 -1
- package/es/molecule/video-player/vimeo.js.map +1 -1
- package/es/organism/accordion/coorp-manager/index.js +1 -1
- package/es/organism/accordion/coorp-manager/index.js.map +1 -1
- package/es/organism/accordion/toggler/index.js +1 -1
- package/es/organism/accordion/toggler/index.js.map +1 -1
- package/es/organism/accordion/toggler/test/render.js +2 -2
- package/es/organism/accordion/toggler/test/render.js.map +1 -1
- package/es/organism/brand-form/test/fixtures/sso.js +3 -3
- package/es/organism/brand-form/test/fixtures/sso.js.map +1 -1
- package/es/organism/content-translation/index.js +2 -2
- package/es/organism/content-translation/index.js.map +1 -1
- package/es/organism/content-translation/style.css +1 -0
- package/es/organism/content-translation/test/fixtures/default.js +2 -2
- package/es/organism/content-translation/test/fixtures/default.js.map +1 -1
- package/es/organism/course-selection/index.js +5 -3
- package/es/organism/course-selection/index.js.map +1 -1
- package/es/organism/course-selection/test/fixtures/default.js +6 -5
- package/es/organism/course-selection/test/fixtures/default.js.map +1 -1
- package/es/organism/course-selection/test/fixtures/filtered.js +2 -2
- package/es/organism/course-selection/test/fixtures/filtered.js.map +1 -1
- package/es/organism/course-selection/test/fixtures/sorted-selected.js +5 -5
- package/es/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
- package/es/organism/course-selection/test/fixtures/unsorted-selected.js +5 -5
- package/es/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
- package/es/organism/course-selection/test/fixtures.js +0 -2
- package/es/organism/course-selection/test/fixtures.js.map +1 -1
- package/es/organism/discussion/test/fixtures/default.js +1 -1
- package/es/organism/discussion/test/fixtures/default.js.map +1 -1
- package/es/organism/discussion/test/fixtures/loading-more.js +1 -1
- package/es/organism/discussion/test/fixtures/loading-more.js.map +1 -1
- package/es/organism/discussion/test/fixtures/new-discussion.js +1 -1
- package/es/organism/discussion/test/fixtures/new-discussion.js.map +1 -1
- package/es/organism/get-the-app/index.js +2 -2
- package/es/organism/get-the-app/index.js.map +1 -1
- package/es/organism/list-items/test/fixtures/archived.js +1 -1
- package/es/organism/list-items/test/fixtures/archived.js.map +1 -1
- package/es/organism/list-items/test/fixtures/draft.js +1 -1
- package/es/organism/list-items/test/fixtures/draft.js.map +1 -1
- package/es/organism/list-items/test/fixtures/published.js +1 -1
- package/es/organism/list-items/test/fixtures/published.js.map +1 -1
- package/es/organism/mooc/image-slider/test/fixtures/multiple-slides.js +2 -2
- package/es/organism/mooc/image-slider/test/fixtures/multiple-slides.js.map +1 -1
- package/es/organism/mooc-header/test/fixtures/default.js +1 -1
- package/es/organism/mooc-header/test/fixtures/default.js.map +1 -1
- package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
- package/es/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
- package/es/organism/popin/test/fixtures/default.js.map +1 -1
- package/es/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js +1 -1
- package/es/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js.map +1 -1
- package/es/organism/resource-browser/test/fixtures/jwplayer.js +1 -1
- package/es/organism/resource-browser/test/fixtures/jwplayer.js.map +1 -1
- package/es/organism/resource-browser/test/fixtures/kontiki.js +1 -1
- package/es/organism/resource-browser/test/fixtures/kontiki.js.map +1 -1
- package/es/organism/resource-browser/test/fixtures/mp4.js +1 -1
- package/es/organism/resource-browser/test/fixtures/mp4.js.map +1 -1
- package/es/organism/search-and-chips-results/index.js +5 -3
- package/es/organism/search-and-chips-results/index.js.map +1 -1
- package/es/organism/search-and-chips-results/test/fixtures/default.js +1 -0
- package/es/organism/search-and-chips-results/test/fixtures/default.js.map +1 -1
- package/es/organism/settings/index.js +2 -3
- package/es/organism/settings/index.js.map +1 -1
- package/es/organism/sidebar/index.js +10 -11
- package/es/organism/sidebar/index.js.map +1 -1
- package/es/organism/user-preferences/index.js +2 -3
- package/es/organism/user-preferences/index.js.map +1 -1
- package/es/organism/wizard-contents/index.js +11 -7
- package/es/organism/wizard-contents/index.js.map +1 -1
- package/es/organism/wizard-contents/style.css +6 -0
- package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js +1 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js +1 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js +1 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js.map +1 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js +1 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js +1 -1
- package/es/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
- package/es/template/activity/index.js +1 -1
- package/es/template/activity/index.js.map +1 -1
- package/es/template/activity/test/progression-item-test.js +1 -1
- package/es/template/activity/test/progression-item-test.js.map +1 -1
- package/es/template/app-player/player/slides/footer/index.js +1 -1
- package/es/template/app-player/player/slides/footer/index.js.map +1 -1
- package/es/template/app-player/player/slides/index.js +11 -14
- package/es/template/app-player/player/slides/index.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/arabic-context.js +2 -2
- package/es/template/app-player/player/slides/test/fixtures/arabic-context.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/arabic-qcm.js +1 -1
- package/es/template/app-player/player/slides/test/fixtures/arabic-qcm.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/arabic-resources.js +2 -2
- package/es/template/app-player/player/slides/test/fixtures/arabic-resources.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/arabic.js +2 -2
- package/es/template/app-player/player/slides/test/fixtures/arabic.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/clue.js +2 -2
- package/es/template/app-player/player/slides/test/fixtures/clue.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/context-with-audio.js +2 -2
- package/es/template/app-player/player/slides/test/fixtures/context-with-audio.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/context-with-image.js +2 -2
- package/es/template/app-player/player/slides/test/fixtures/context-with-image.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/context-with-pdf.js +2 -2
- package/es/template/app-player/player/slides/test/fixtures/context-with-pdf.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/context-with-video.js +2 -2
- package/es/template/app-player/player/slides/test/fixtures/context-with-video.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/context.js +2 -2
- package/es/template/app-player/player/slides/test/fixtures/context.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/default.js +2 -2
- package/es/template/app-player/player/slides/test/fixtures/default.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/drop-down.js +1 -1
- package/es/template/app-player/player/slides/test/fixtures/drop-down.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/free-text.js +1 -1
- package/es/template/app-player/player/slides/test/fixtures/free-text.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/media-h5p.js +2 -2
- package/es/template/app-player/player/slides/test/fixtures/media-h5p.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/media-omni-player.js +2 -2
- package/es/template/app-player/player/slides/test/fixtures/media-omni-player.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/media.js +2 -2
- package/es/template/app-player/player/slides/test/fixtures/media.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/no-clue.js +2 -2
- package/es/template/app-player/player/slides/test/fixtures/no-clue.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/no-question.js +2 -2
- package/es/template/app-player/player/slides/test/fixtures/no-question.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/no-total.js +1 -1
- package/es/template/app-player/player/slides/test/fixtures/no-total.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/only-clue.js +2 -2
- package/es/template/app-player/player/slides/test/fixtures/only-clue.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/qcm-drag.js +1 -1
- package/es/template/app-player/player/slides/test/fixtures/qcm-drag.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/qcm-graphic.js +1 -1
- package/es/template/app-player/player/slides/test/fixtures/qcm-graphic.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js +1 -1
- package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js +1 -1
- package/es/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/qcm-short.js +1 -1
- package/es/template/app-player/player/slides/test/fixtures/qcm-short.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/qcm-template.js +1 -1
- package/es/template/app-player/player/slides/test/fixtures/qcm-template.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js +1 -1
- package/es/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/qcm.js +1 -1
- package/es/template/app-player/player/slides/test/fixtures/qcm.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/range.js +1 -1
- package/es/template/app-player/player/slides/test/fixtures/range.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/template.js +1 -1
- package/es/template/app-player/player/slides/test/fixtures/template.js.map +1 -1
- package/es/template/app-player/player/slides/test/fixtures/with-min-height.js +1 -1
- package/es/template/app-player/player/slides/test/fixtures/with-min-height.js.map +1 -1
- package/es/template/app-player/player/test/fixtures/background.js +1 -1
- package/es/template/app-player/player/test/fixtures/background.js.map +1 -1
- package/es/template/app-player/popin-correction/index.js +2 -3
- package/es/template/app-player/popin-correction/index.js.map +1 -1
- package/es/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js +1 -1
- package/es/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js.map +1 -1
- package/es/template/app-player/popin-correction/test/fixtures/correct-closed.js +1 -1
- package/es/template/app-player/popin-correction/test/fixtures/correct-closed.js.map +1 -1
- package/es/template/app-player/popin-end/summary.js +7 -11
- package/es/template/app-player/popin-end/summary.js.map +1 -1
- package/es/template/app-player/popin-end/test/fixtures/adaptive.js +2 -2
- package/es/template/app-player/popin-end/test/fixtures/adaptive.js.map +1 -1
- package/es/template/app-player/popin-end/test/fixtures/infinite-lives.js +2 -2
- package/es/template/app-player/popin-end/test/fixtures/infinite-lives.js.map +1 -1
- package/es/template/app-player/popin-header/index.js +3 -4
- package/es/template/app-player/popin-header/index.js.map +1 -1
- package/es/template/back-office/brand-create/test/fixtures/default.js +1 -1
- package/es/template/back-office/brand-create/test/fixtures/default.js.map +1 -1
- package/es/template/back-office/brand-create/test/fixtures/loading.js +1 -1
- package/es/template/back-office/brand-create/test/fixtures/loading.js.map +1 -1
- package/es/template/back-office/brand-create/test/fixtures/modified.js +1 -1
- package/es/template/back-office/brand-create/test/fixtures/modified.js.map +1 -1
- package/es/template/back-office/brand-list/test/fixtures/default.js +1 -1
- package/es/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
- package/es/template/back-office/brand-list/test/fixtures/rh.js +1 -1
- package/es/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
- package/es/template/back-office/brand-update/index.js +8 -8
- package/es/template/back-office/brand-update/index.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures/list-items-archived.js +1 -1
- package/es/template/back-office/brand-update/test/fixtures/list-items-archived.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures/list-items-draft.js +1 -1
- package/es/template/back-office/brand-update/test/fixtures/list-items-draft.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js +1 -1
- package/es/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures/list-items-published.js +1 -1
- package/es/template/back-office/brand-update/test/fixtures/list-items-published.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures/manageusers-edit.js +1 -1
- package/es/template/back-office/brand-update/test/fixtures/manageusers-edit.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures/quick-access.js +1 -1
- package/es/template/back-office/brand-update/test/fixtures/quick-access.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures/uploadusers-loading.js +1 -1
- package/es/template/back-office/brand-update/test/fixtures/uploadusers-loading.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures/uploadusers-successful.js +1 -1
- package/es/template/back-office/brand-update/test/fixtures/uploadusers-successful.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures/uploadusers.js +1 -1
- package/es/template/back-office/brand-update/test/fixtures/uploadusers.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js +1 -1
- package/es/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js +1 -1
- package/es/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js +1 -1
- package/es/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js +1 -1
- package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js +1 -1
- package/es/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js +1 -1
- package/es/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js.map +1 -1
- package/es/template/cockpit/jw-uploader/index.js +1 -1
- package/es/template/cockpit/jw-uploader/index.js.map +1 -1
- package/es/template/common/dashboard/index.js +1 -1
- package/es/template/common/dashboard/index.js.map +1 -1
- package/es/template/common/dashboard/test/fixtures/empty-requests.js +1 -1
- package/es/template/common/dashboard/test/fixtures/empty-requests.js.map +1 -1
- package/es/template/common/dashboard/test/fixtures/with-hero-card.js +1 -1
- package/es/template/common/dashboard/test/fixtures/with-hero-card.js.map +1 -1
- package/es/template/common/discipline/test/fixtures/add-to-my-list.js +1 -1
- package/es/template/common/discipline/test/fixtures/add-to-my-list.js.map +1 -1
- package/es/template/common/discipline/test/fixtures/arabic.js +1 -1
- package/es/template/common/discipline/test/fixtures/arabic.js.map +1 -1
- package/es/template/common/discipline/test/fixtures/default.js +2 -2
- package/es/template/common/discipline/test/fixtures/default.js.map +1 -1
- package/es/template/common/discipline/test/fixtures/external-course-with-video.js +2 -2
- package/es/template/common/discipline/test/fixtures/external-course-with-video.js.map +1 -1
- package/es/template/common/discipline/test/fixtures/external-course-without-image.js +2 -2
- package/es/template/common/discipline/test/fixtures/external-course-without-image.js.map +1 -1
- package/es/template/common/discipline/test/fixtures/external-course.js +2 -2
- package/es/template/common/discipline/test/fixtures/external-course.js.map +1 -1
- package/es/template/common/discipline/test/fixtures/share.js +1 -1
- package/es/template/common/discipline/test/fixtures/share.js.map +1 -1
- package/es/template/teams-dashboard/test/fixtures/default.js +1 -1
- package/es/template/teams-dashboard/test/fixtures/default.js.map +1 -1
- package/es/template/teams-dashboard/test/fixtures/is-loading.js +1 -1
- package/es/template/teams-dashboard/test/fixtures/is-loading.js.map +1 -1
- package/es/template/teams-dashboard/test/fixtures/mobile.js +1 -1
- package/es/template/teams-dashboard/test/fixtures/mobile.js.map +1 -1
- package/es/util/shallow-compare.js.map +1 -1
- package/es/util/test/navigation.js +3 -4
- package/es/util/test/navigation.js.map +1 -1
- package/lib/atom/autocomplete/index.js +2 -2
- package/lib/atom/autocomplete/test/fixtures/error.js +1 -1
- package/lib/atom/autocomplete/test/fixtures/error.js.map +1 -1
- package/lib/atom/autocomplete/test/fixtures/filled.js +1 -1
- package/lib/atom/autocomplete/test/fixtures/filled.js.map +1 -1
- package/lib/atom/autocomplete/test/fixtures/modified.js +1 -1
- package/lib/atom/autocomplete/test/fixtures/modified.js.map +1 -1
- package/lib/atom/button-link/index.js +2 -2
- package/lib/atom/button-link-icon-only/index.js +2 -2
- package/lib/atom/button-menu/index.js +2 -2
- package/lib/atom/button-menu/test/fixtures/default.js +1 -1
- package/lib/atom/button-menu/test/fixtures/multiple-buttons.js +1 -1
- package/lib/atom/chips/index.js +2 -2
- package/lib/atom/clue/index.js.map +1 -1
- package/lib/atom/cta/test/fixtures/certification.js +1 -1
- package/lib/atom/cta/test/fixtures/certification.js.map +1 -1
- package/lib/atom/cta/test/fixtures/disabled.js +1 -1
- package/lib/atom/cta/test/fixtures/disabled.js.map +1 -1
- package/lib/atom/cta/test/fixtures/light-small.js +1 -1
- package/lib/atom/cta/test/fixtures/light-small.js.map +1 -1
- package/lib/atom/cta/test/fixtures/light.js +1 -1
- package/lib/atom/cta/test/fixtures/light.js.map +1 -1
- package/lib/atom/cta/test/fixtures/logout.js +1 -1
- package/lib/atom/cta/test/fixtures/logout.js.map +1 -1
- package/lib/atom/cta/test/fixtures/primary-small.js +1 -1
- package/lib/atom/cta/test/fixtures/primary-small.js.map +1 -1
- package/lib/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js +1 -1
- package/lib/atom/cta/test/fixtures/rectangular-secondary-fullwidth.js.map +1 -1
- package/lib/atom/cta/test/fixtures/rectangular-secondary.js +1 -1
- package/lib/atom/cta/test/fixtures/rectangular-secondary.js.map +1 -1
- package/lib/atom/cta/test/fixtures/rectangular.js +1 -1
- package/lib/atom/cta/test/fixtures/rectangular.js.map +1 -1
- package/lib/atom/cta/test/fixtures/secondary-small.js +1 -1
- package/lib/atom/cta/test/fixtures/secondary-small.js.map +1 -1
- package/lib/atom/cta/test/fixtures/secondary.js +1 -1
- package/lib/atom/cta/test/fixtures/secondary.js.map +1 -1
- package/lib/atom/drag-and-drop/index.js +1 -1
- package/lib/atom/drag-and-drop/index.js.map +1 -1
- package/lib/atom/drag-and-drop/test/fixtures/loading.js +1 -1
- package/lib/atom/drag-and-drop/test/fixtures/loading.js.map +1 -1
- package/lib/atom/drag-and-drop/test/fixtures/with-image-reset.js +1 -1
- package/lib/atom/drag-and-drop/test/fixtures/with-image-reset.js.map +1 -1
- package/lib/atom/image-upload/index.js +3 -3
- package/lib/atom/image-upload/index.js.map +1 -1
- package/lib/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js +1 -1
- package/lib/atom/image-upload/test/fixtures/desktop-reset-description-multiple.js.map +1 -1
- package/lib/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js +1 -1
- package/lib/atom/image-upload/test/fixtures/desktop-reset-description-only-png.js.map +1 -1
- package/lib/atom/image-upload/test/fixtures/desktop-reset-description.js +1 -1
- package/lib/atom/image-upload/test/fixtures/desktop-reset-description.js.map +1 -1
- package/lib/atom/image-upload/test/fixtures/desktop-reset-no-description.js +1 -1
- package/lib/atom/image-upload/test/fixtures/desktop-reset-no-description.js.map +1 -1
- package/lib/atom/image-upload/test/fixtures/email.js +1 -1
- package/lib/atom/image-upload/test/fixtures/email.js.map +1 -1
- package/lib/atom/image-upload/test/fixtures/mobile.js +1 -1
- package/lib/atom/image-upload/test/fixtures/mobile.js.map +1 -1
- package/lib/atom/image-upload/test/fixtures/modified.js +1 -1
- package/lib/atom/image-upload/test/fixtures/modified.js.map +1 -1
- package/lib/atom/input-checkbox/index.js +2 -2
- package/lib/atom/input-color/index.js +2 -2
- package/lib/atom/input-doublestep/index.js +2 -2
- package/lib/atom/input-html/index.js.map +1 -1
- package/lib/atom/input-search/index.js +2 -2
- package/lib/atom/input-switch/index.js +2 -2
- package/lib/atom/input-switch/test/fixtures/cm-right-disabled.js +1 -1
- package/lib/atom/input-switch/test/fixtures/cm-right-disabled.js.map +1 -1
- package/lib/atom/input-switch/test/fixtures/disabled.js +1 -1
- package/lib/atom/input-switch/test/fixtures/disabled.js.map +1 -1
- package/lib/atom/input-switch/test/fixtures.js +0 -15
- package/lib/atom/input-switch/test/fixtures.js.map +1 -1
- package/lib/atom/input-text/index.js +2 -2
- package/lib/atom/input-textarea/index.js +2 -2
- package/lib/atom/link/index.js +2 -4
- package/lib/atom/link/index.js.map +1 -1
- package/lib/atom/loader/test/fixtures.js +3 -0
- package/lib/atom/loader/test/fixtures.js.map +1 -1
- package/lib/atom/promo-code/index.js.map +1 -1
- package/lib/atom/provider/index.js.map +1 -1
- package/lib/atom/provider/test/index.js +1 -1
- package/lib/atom/provider/test/index.js.map +1 -1
- package/lib/atom/range/index.js +1 -1
- package/lib/atom/range/index.js.map +1 -1
- package/lib/atom/range/test/fixtures/multi.js +1 -1
- package/lib/atom/range/test/fixtures/multi.js.map +1 -1
- package/lib/atom/range/test/index.js +9 -9
- package/lib/atom/range/test/index.js.map +1 -1
- package/lib/atom/select/index.js +2 -2
- package/lib/atom/tab/index.js +2 -2
- package/lib/atom/video-upload/index.js +1 -1
- package/lib/atom/video-upload/index.js.map +1 -1
- package/lib/atom/video-upload/test/fixtures/loading.js +1 -1
- package/lib/atom/video-upload/test/fixtures/loading.js.map +1 -1
- package/lib/atom/video-upload/test/fixtures/modified.js +1 -1
- package/lib/atom/video-upload/test/fixtures/modified.js.map +1 -1
- package/lib/hoc/animation/index.js +1 -1
- package/lib/hoc/animation/test/on-mount.js +2 -2
- package/lib/hoc/animation-scheduler/index.js +4 -4
- package/lib/hoc/animation-scheduler/index.js.map +1 -1
- package/lib/hoc/animation-scheduler/test/fixtures/parallel.js +3 -3
- package/lib/hoc/animation-scheduler/test/fixtures/series.js +2 -2
- package/lib/hoc/animation-scheduler/test/on-mount.js +2 -2
- package/lib/hoc/swapper/index.js +3 -5
- package/lib/hoc/swapper/index.js.map +1 -1
- package/lib/hoc/swapper/test/on-mount.js +2 -2
- package/lib/hoc/transition/index.js +3 -3
- package/lib/hoc/transition/index.js.map +1 -1
- package/lib/molecule/add-to-my-list/index.js +4 -4
- package/lib/molecule/add-to-my-list/index.js.map +1 -1
- package/lib/molecule/answer/index.js +3 -5
- package/lib/molecule/answer/index.js.map +1 -1
- package/lib/molecule/answer/test/fixtures/audio.js +1 -1
- package/lib/molecule/answer/test/fixtures/audio.js.map +1 -1
- package/lib/molecule/answer/test/fixtures/default.js +1 -1
- package/lib/molecule/answer/test/fixtures/default.js.map +1 -1
- package/lib/molecule/answer/test/fixtures/drop-down.js +1 -1
- package/lib/molecule/answer/test/fixtures/drop-down.js.map +1 -1
- package/lib/molecule/answer/test/fixtures/qcm-arabic.js +1 -1
- package/lib/molecule/answer/test/fixtures/qcm-arabic.js.map +1 -1
- package/lib/molecule/answer/test/fixtures/qcm-drag.js +1 -1
- package/lib/molecule/answer/test/fixtures/qcm-drag.js.map +1 -1
- package/lib/molecule/answer/test/fixtures/qcm-graphic.js +1 -1
- package/lib/molecule/answer/test/fixtures/qcm-graphic.js.map +1 -1
- package/lib/molecule/answer/test/fixtures/qcm-short-audio.js +1 -1
- package/lib/molecule/answer/test/fixtures/qcm-short-audio.js.map +1 -1
- package/lib/molecule/answer/test/fixtures/qcm-short-video.js +1 -1
- package/lib/molecule/answer/test/fixtures/qcm-short-video.js.map +1 -1
- package/lib/molecule/answer/test/fixtures/qcm-short.js +1 -1
- package/lib/molecule/answer/test/fixtures/qcm-short.js.map +1 -1
- package/lib/molecule/answer/test/fixtures/qcm.js +1 -1
- package/lib/molecule/answer/test/fixtures/qcm.js.map +1 -1
- package/lib/molecule/answer/test/fixtures/range.js +1 -1
- package/lib/molecule/answer/test/fixtures/range.js.map +1 -1
- package/lib/molecule/answer/test/fixtures/template.js +1 -1
- package/lib/molecule/answer/test/fixtures/template.js.map +1 -1
- package/lib/molecule/brand-create-form/index.js +2 -2
- package/lib/molecule/brand-form-group/index.js +18 -18
- package/lib/molecule/brand-form-group/index.js.map +1 -1
- package/lib/molecule/brand-form-group/test/fixtures/analytics.js +1 -1
- package/lib/molecule/brand-form-group/test/fixtures/analytics.js.map +1 -1
- package/lib/molecule/brand-form-group/test/fixtures/animations.js +2 -2
- package/lib/molecule/brand-form-group/test/fixtures/animations.js.map +1 -1
- package/lib/molecule/brand-form-group/test/fixtures/cohort.js +1 -1
- package/lib/molecule/brand-form-group/test/fixtures/cohort.js.map +1 -1
- package/lib/molecule/brand-form-group/test/fixtures/dashboard.js +1 -1
- package/lib/molecule/brand-form-group/test/fixtures/dashboard.js.map +1 -1
- package/lib/molecule/brand-form-group/test/fixtures/images.js +3 -3
- package/lib/molecule/brand-form-group/test/fixtures/images.js.map +1 -1
- package/lib/molecule/brand-form-group/test/fixtures/slider.js +1 -1
- package/lib/molecule/brand-form-group/test/fixtures/slider.js.map +1 -1
- package/lib/molecule/bullet-point-menu-button/index.js +2 -2
- package/lib/molecule/card/index.js +3 -3
- package/lib/molecule/card/index.js.map +1 -1
- package/lib/molecule/card/test/fixtures/adaptiv-and-disabled.js +1 -1
- package/lib/molecule/card/test/fixtures/adaptiv-and-disabled.js.map +1 -1
- package/lib/molecule/card/test/fixtures/adaptiv.js +1 -1
- package/lib/molecule/card/test/fixtures/adaptiv.js.map +1 -1
- package/lib/molecule/card/test/fixtures/disabled.js +1 -1
- package/lib/molecule/card/test/fixtures/disabled.js.map +1 -1
- package/lib/molecule/card-content/test/fixtures/adaptiv-and-disabled.js +1 -1
- package/lib/molecule/card-content/test/fixtures/adaptiv-and-disabled.js.map +1 -1
- package/lib/molecule/card-content/test/fixtures/adaptiv.js +1 -1
- package/lib/molecule/card-content/test/fixtures/adaptiv.js.map +1 -1
- package/lib/molecule/card-content/test/fixtures/disabled.js +1 -1
- package/lib/molecule/card-content/test/fixtures/disabled.js.map +1 -1
- package/lib/molecule/card-with-button/index.js.map +1 -1
- package/lib/molecule/coorp-manager-roles/index.js +1 -1
- package/lib/molecule/coorp-manager-roles/index.js.map +1 -1
- package/lib/molecule/dashboard/battle-request-list/index.js +1 -1
- package/lib/molecule/dashboard/battle-request-list/index.js.map +1 -1
- package/lib/molecule/dashboard/cards-list/test/fixtures/microlearning.js +1 -1
- package/lib/molecule/dashboard/cards-list/test/fixtures/microlearning.js.map +1 -1
- package/lib/molecule/dashboard/cards-list/test/fixtures/performance.js +1 -1
- package/lib/molecule/dashboard/cards-list/test/fixtures/performance.js.map +1 -1
- package/lib/molecule/dashboard/cards-list/test/index.js +1 -1
- package/lib/molecule/dashboard/cards-list/test/index.js.map +1 -1
- package/lib/molecule/dashboard/news-list/index.js +1 -1
- package/lib/molecule/dashboard/news-list/index.js.map +1 -1
- package/lib/molecule/dashboard/start-battle/index.js +1 -1
- package/lib/molecule/dashboard/start-battle/index.js.map +1 -1
- package/lib/molecule/discipline-header/test/fixtures/long-description.js.map +1 -1
- package/lib/molecule/drag-and-drop/index.js +3 -3
- package/lib/molecule/drag-and-drop/index.js.map +1 -1
- package/lib/molecule/drag-and-drop/test/fixtures/error.js +1 -1
- package/lib/molecule/drag-and-drop/test/fixtures/error.js.map +1 -1
- package/lib/molecule/drag-and-drop/test/fixtures/loading.js +1 -1
- package/lib/molecule/drag-and-drop/test/fixtures/loading.js.map +1 -1
- package/lib/molecule/drag-and-drop/test/fixtures/ready-invalid.js +1 -1
- package/lib/molecule/drag-and-drop/test/fixtures/ready-invalid.js.map +1 -1
- package/lib/molecule/drag-and-drop/test/fixtures/ready.js +1 -1
- package/lib/molecule/drag-and-drop/test/fixtures/ready.js.map +1 -1
- package/lib/molecule/drag-and-drop/test/fixtures/success-video.js +1 -1
- package/lib/molecule/drag-and-drop/test/fixtures/success-video.js.map +1 -1
- package/lib/molecule/drag-and-drop/test/fixtures/success.js +1 -1
- package/lib/molecule/drag-and-drop/test/fixtures/success.js.map +1 -1
- package/lib/molecule/drag-and-drop/test/on-click.js +2 -2
- package/lib/molecule/drag-and-drop/test/on-click.js.map +1 -1
- package/lib/molecule/drag-and-drop/upload-report.js +3 -3
- package/lib/molecule/drag-and-drop/upload-report.js.map +1 -1
- package/lib/molecule/feedback/index.js +3 -3
- package/lib/molecule/feedback/index.js.map +1 -1
- package/lib/molecule/filters/test/fixtures/default.js +4 -4
- package/lib/molecule/filters/test/fixtures/default.js.map +1 -1
- package/lib/molecule/filters/test/fixtures/filters-list.js +6 -6
- package/lib/molecule/filters/test/fixtures/filters-list.js.map +1 -1
- package/lib/molecule/filters/test/fixtures/one.js +2 -2
- package/lib/molecule/filters/test/fixtures/one.js.map +1 -1
- package/lib/molecule/filters/test/fixtures/only-radio-group.js +1 -1
- package/lib/molecule/filters/test/fixtures/only-radio-group.js.map +1 -1
- package/lib/molecule/filters/test/fixtures/only-timer.js +1 -1
- package/lib/molecule/filters/test/fixtures/only-timer.js.map +1 -1
- package/lib/molecule/filters/test/fixtures/three.js +3 -3
- package/lib/molecule/filters/test/fixtures/three.js.map +1 -1
- package/lib/molecule/filters/test/fixtures/two.js +3 -3
- package/lib/molecule/filters/test/fixtures/two.js.map +1 -1
- package/lib/molecule/filters/test/fixtures/zero.js +1 -1
- package/lib/molecule/filters/test/fixtures/zero.js.map +1 -1
- package/lib/molecule/forum/forum-thread/test/fixtures/deep-answers.js +4 -4
- package/lib/molecule/forum/forum-thread/test/fixtures/deep-answers.js.map +1 -1
- package/lib/molecule/forum/forum-thread/test/fixtures/with-answers.js +1 -1
- package/lib/molecule/forum/forum-thread/test/fixtures/with-answers.js.map +1 -1
- package/lib/molecule/hero/index.js +2 -2
- package/lib/molecule/hero/test/fixtures/arabic.js +1 -1
- package/lib/molecule/hero/test/fixtures/arabic.js.map +1 -1
- package/lib/molecule/hero/test/fixtures/hero.js +1 -1
- package/lib/molecule/hero/test/fixtures/hero.js.map +1 -1
- package/lib/molecule/news/test/fixtures/long-description.js +1 -1
- package/lib/molecule/news/test/fixtures/long-description.js.map +1 -1
- package/lib/molecule/news/test/fixtures/long-title.js +1 -1
- package/lib/molecule/news/test/fixtures/long-title.js.map +1 -1
- package/lib/molecule/news/test/fixtures/small-desciption.js +1 -1
- package/lib/molecule/news/test/fixtures/small-desciption.js.map +1 -1
- package/lib/molecule/news/test/fixtures/small-title.js +1 -1
- package/lib/molecule/news/test/fixtures/small-title.js.map +1 -1
- package/lib/molecule/popin/index.js +3 -3
- package/lib/molecule/popin/index.js.map +1 -1
- package/lib/molecule/progress-bar/index.js +1 -1
- package/lib/molecule/progress-bar/index.js.map +1 -1
- package/lib/molecule/questions/drop-down/index.js +3 -3
- package/lib/molecule/questions/drop-down/index.js.map +1 -1
- package/lib/molecule/questions/free-text/index.js +2 -2
- package/lib/molecule/questions/question-range/index.js +2 -4
- package/lib/molecule/questions/question-range/index.js.map +1 -1
- package/lib/molecule/questions/template/index.js +2 -2
- package/lib/molecule/questions/template/index.js.map +1 -1
- package/lib/molecule/questions/template/test/index.js +1 -1
- package/lib/molecule/questions/template/test/index.js.map +1 -1
- package/lib/molecule/quick-access-card/index.js.map +1 -1
- package/lib/molecule/resource-player/index.js +2 -4
- package/lib/molecule/resource-player/index.js.map +1 -1
- package/lib/molecule/scope-tabs/index.js +2 -2
- package/lib/molecule/search-form/index.js +2 -2
- package/lib/molecule/select-multiple/index.js +6 -6
- package/lib/molecule/select-multiple/index.js.map +1 -1
- package/lib/molecule/select-multiple/test/index.js +4 -4
- package/lib/molecule/select-multiple/test/index.js.map +1 -1
- package/lib/molecule/setup-section/index.js +1 -1
- package/lib/molecule/setup-section/index.js.map +1 -1
- package/lib/molecule/setup-section/test/fixtures/first.js +1 -1
- package/lib/molecule/setup-section/test/fixtures/first.js.map +1 -1
- package/lib/molecule/setup-sections/index.js +2 -2
- package/lib/molecule/setup-slide/index.js +8 -8
- package/lib/molecule/setup-slide/index.js.map +1 -1
- package/lib/molecule/share/index.js +4 -4
- package/lib/molecule/share/index.js.map +1 -1
- package/lib/molecule/titled-checkbox/index.js +2 -2
- package/lib/molecule/vertical-tabs/test/fixtures/default.js +1 -1
- package/lib/molecule/vertical-tabs/test/fixtures.js +3 -0
- package/lib/molecule/vertical-tabs/test/fixtures.js.map +1 -1
- package/lib/molecule/video-iframe/index.js +1 -1
- package/lib/molecule/video-iframe/index.js.map +1 -1
- package/lib/molecule/video-player/index.js +1 -3
- package/lib/molecule/video-player/index.js.map +1 -1
- package/lib/molecule/video-player/jwplayer.js +2 -2
- package/lib/molecule/video-player/jwplayer.js.map +1 -1
- package/lib/molecule/video-player/test/fixtures/youtube.js +1 -1
- package/lib/molecule/video-player/test/fixtures/youtube.js.map +1 -1
- package/lib/molecule/video-player/vimeo.js +1 -1
- package/lib/molecule/video-player/vimeo.js.map +1 -1
- package/lib/molecule/wizard-summary/index.js +2 -2
- package/lib/organism/accordion/container/index.js +2 -2
- package/lib/organism/accordion/coorp-manager/index.js +3 -3
- package/lib/organism/accordion/coorp-manager/index.js.map +1 -1
- package/lib/organism/accordion/toggler/index.js +1 -1
- package/lib/organism/accordion/toggler/index.js.map +1 -1
- package/lib/organism/accordion/toggler/test/render.js +2 -2
- package/lib/organism/accordion/toggler/test/render.js.map +1 -1
- package/lib/organism/brand-form/index.js +2 -2
- package/lib/organism/brand-form/test/fixtures/sso.js +3 -3
- package/lib/organism/brand-form/test/fixtures/sso.js.map +1 -1
- package/lib/organism/content-translation/index.js +2 -2
- package/lib/organism/content-translation/index.js.map +1 -1
- package/lib/organism/content-translation/style.css +1 -0
- package/lib/organism/content-translation/test/fixtures/default.js +2 -2
- package/lib/organism/content-translation/test/fixtures/default.js.map +1 -1
- package/lib/organism/course-selection/index.js +5 -3
- package/lib/organism/course-selection/index.js.map +1 -1
- package/lib/organism/course-selection/test/fixtures/default.js +6 -5
- package/lib/organism/course-selection/test/fixtures/default.js.map +1 -1
- package/lib/organism/course-selection/test/fixtures/filtered.js +2 -2
- package/lib/organism/course-selection/test/fixtures/filtered.js.map +1 -1
- package/lib/organism/course-selection/test/fixtures/sorted-selected.js +5 -5
- package/lib/organism/course-selection/test/fixtures/sorted-selected.js.map +1 -1
- package/lib/organism/course-selection/test/fixtures/unsorted-selected.js +5 -5
- package/lib/organism/course-selection/test/fixtures/unsorted-selected.js.map +1 -1
- package/lib/organism/course-selection/test/fixtures.js +0 -3
- package/lib/organism/course-selection/test/fixtures.js.map +1 -1
- package/lib/organism/discussion/test/fixtures/default.js +1 -1
- package/lib/organism/discussion/test/fixtures/default.js.map +1 -1
- package/lib/organism/discussion/test/fixtures/loading-more.js +1 -1
- package/lib/organism/discussion/test/fixtures/loading-more.js.map +1 -1
- package/lib/organism/discussion/test/fixtures/new-discussion.js +1 -1
- package/lib/organism/discussion/test/fixtures/new-discussion.js.map +1 -1
- package/lib/organism/get-the-app/index.js +2 -2
- package/lib/organism/get-the-app/index.js.map +1 -1
- package/lib/organism/list-items/test/fixtures/archived.js +1 -1
- package/lib/organism/list-items/test/fixtures/archived.js.map +1 -1
- package/lib/organism/list-items/test/fixtures/draft.js +1 -1
- package/lib/organism/list-items/test/fixtures/draft.js.map +1 -1
- package/lib/organism/list-items/test/fixtures/published.js +1 -1
- package/lib/organism/list-items/test/fixtures/published.js.map +1 -1
- package/lib/organism/mooc/image-slider/test/fixtures/multiple-slides.js +2 -2
- package/lib/organism/mooc/image-slider/test/fixtures/multiple-slides.js.map +1 -1
- package/lib/organism/mooc-header/test/fixtures/default.js +1 -1
- package/lib/organism/mooc-header/test/fixtures/default.js.map +1 -1
- package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js +1 -1
- package/lib/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js.map +1 -1
- package/lib/organism/popin/test/fixtures/default.js.map +1 -1
- package/lib/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js +1 -1
- package/lib/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js.map +1 -1
- package/lib/organism/resource-browser/test/fixtures/jwplayer.js +1 -1
- package/lib/organism/resource-browser/test/fixtures/jwplayer.js.map +1 -1
- package/lib/organism/resource-browser/test/fixtures/kontiki.js +1 -1
- package/lib/organism/resource-browser/test/fixtures/kontiki.js.map +1 -1
- package/lib/organism/resource-browser/test/fixtures/mp4.js +1 -1
- package/lib/organism/resource-browser/test/fixtures/mp4.js.map +1 -1
- package/lib/organism/search-and-chips-results/index.js +5 -3
- package/lib/organism/search-and-chips-results/index.js.map +1 -1
- package/lib/organism/search-and-chips-results/test/fixtures/default.js +1 -0
- package/lib/organism/search-and-chips-results/test/fixtures/default.js.map +1 -1
- package/lib/organism/settings/index.js +2 -4
- package/lib/organism/settings/index.js.map +1 -1
- package/lib/organism/sidebar/index.js +13 -15
- package/lib/organism/sidebar/index.js.map +1 -1
- package/lib/organism/user-preferences/index.js +2 -4
- package/lib/organism/user-preferences/index.js.map +1 -1
- package/lib/organism/wizard-contents/index.js +11 -7
- package/lib/organism/wizard-contents/index.js.map +1 -1
- package/lib/organism/wizard-contents/style.css +6 -0
- package/lib/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js +1 -1
- package/lib/organism/wizard-contents/test/fixtures/playlist-add-courses-create.js.map +1 -1
- package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js +1 -1
- package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-create.js.map +1 -1
- package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js +1 -1
- package/lib/organism/wizard-contents/test/fixtures/playlist-general-settings-edit.js.map +1 -1
- package/lib/organism/wizard-contents/test/fixtures/playlist-populations-create.js +1 -1
- package/lib/organism/wizard-contents/test/fixtures/playlist-populations-create.js.map +1 -1
- package/lib/organism/wizard-contents/test/fixtures/playlist-translate-edit.js +1 -1
- package/lib/organism/wizard-contents/test/fixtures/playlist-translate-edit.js.map +1 -1
- package/lib/template/activity/index.js +1 -1
- package/lib/template/activity/index.js.map +1 -1
- package/lib/template/activity/progression-item.js +2 -2
- package/lib/template/activity/test/progression-item-test.js +1 -1
- package/lib/template/activity/test/progression-item-test.js.map +1 -1
- package/lib/template/app-player/player/slides/footer/index.js +1 -1
- package/lib/template/app-player/player/slides/footer/index.js.map +1 -1
- package/lib/template/app-player/player/slides/index.js +11 -15
- package/lib/template/app-player/player/slides/index.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/arabic-context.js +2 -2
- package/lib/template/app-player/player/slides/test/fixtures/arabic-context.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/arabic-qcm.js +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/arabic-qcm.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/arabic-resources.js +2 -2
- package/lib/template/app-player/player/slides/test/fixtures/arabic-resources.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/arabic.js +2 -2
- package/lib/template/app-player/player/slides/test/fixtures/arabic.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/clue.js +2 -2
- package/lib/template/app-player/player/slides/test/fixtures/clue.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/context-with-audio.js +2 -2
- package/lib/template/app-player/player/slides/test/fixtures/context-with-audio.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/context-with-image.js +2 -2
- package/lib/template/app-player/player/slides/test/fixtures/context-with-image.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/context-with-pdf.js +2 -2
- package/lib/template/app-player/player/slides/test/fixtures/context-with-pdf.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/context-with-video.js +2 -2
- package/lib/template/app-player/player/slides/test/fixtures/context-with-video.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/context.js +2 -2
- package/lib/template/app-player/player/slides/test/fixtures/context.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/default.js +2 -2
- package/lib/template/app-player/player/slides/test/fixtures/default.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/drop-down.js +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/drop-down.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/free-text.js +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/free-text.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/media-h5p.js +2 -2
- package/lib/template/app-player/player/slides/test/fixtures/media-h5p.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/media-omni-player.js +2 -2
- package/lib/template/app-player/player/slides/test/fixtures/media-omni-player.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/media.js +2 -2
- package/lib/template/app-player/player/slides/test/fixtures/media.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/no-clue.js +2 -2
- package/lib/template/app-player/player/slides/test/fixtures/no-clue.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/no-question.js +2 -2
- package/lib/template/app-player/player/slides/test/fixtures/no-question.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/no-total.js +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/no-total.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/only-clue.js +2 -2
- package/lib/template/app-player/player/slides/test/fixtures/only-clue.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/qcm-drag.js +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/qcm-drag.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/qcm-graphic.js +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/qcm-graphic.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson-no-step.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/qcm-see-lesson.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/qcm-short.js +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/qcm-short.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/qcm-template.js +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/qcm-template.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/qcm-with-review-lesson.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/qcm.js +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/qcm.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/range.js +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/range.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/template.js +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/template.js.map +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/with-min-height.js +1 -1
- package/lib/template/app-player/player/slides/test/fixtures/with-min-height.js.map +1 -1
- package/lib/template/app-player/player/test/fixtures/background.js +1 -1
- package/lib/template/app-player/player/test/fixtures/background.js.map +1 -1
- package/lib/template/app-player/popin-correction/index.js +4 -6
- package/lib/template/app-player/popin-correction/index.js.map +1 -1
- package/lib/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js +1 -1
- package/lib/template/app-player/popin-correction/test/fixtures/correct-closed-without-klf-and-tips.js.map +1 -1
- package/lib/template/app-player/popin-correction/test/fixtures/correct-closed.js +1 -1
- package/lib/template/app-player/popin-correction/test/fixtures/correct-closed.js.map +1 -1
- package/lib/template/app-player/popin-end/summary.js +7 -12
- package/lib/template/app-player/popin-end/summary.js.map +1 -1
- package/lib/template/app-player/popin-end/test/fixtures/adaptive.js +2 -2
- package/lib/template/app-player/popin-end/test/fixtures/adaptive.js.map +1 -1
- package/lib/template/app-player/popin-end/test/fixtures/infinite-lives.js +2 -2
- package/lib/template/app-player/popin-end/test/fixtures/infinite-lives.js.map +1 -1
- package/lib/template/app-player/popin-header/index.js +5 -7
- package/lib/template/app-player/popin-header/index.js.map +1 -1
- package/lib/template/back-office/brand-create/test/fixtures/default.js +1 -1
- package/lib/template/back-office/brand-create/test/fixtures/default.js.map +1 -1
- package/lib/template/back-office/brand-create/test/fixtures/loading.js +1 -1
- package/lib/template/back-office/brand-create/test/fixtures/loading.js.map +1 -1
- package/lib/template/back-office/brand-create/test/fixtures/modified.js +1 -1
- package/lib/template/back-office/brand-create/test/fixtures/modified.js.map +1 -1
- package/lib/template/back-office/brand-list/test/fixtures/default.js +1 -1
- package/lib/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
- package/lib/template/back-office/brand-list/test/fixtures/rh.js +1 -1
- package/lib/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
- package/lib/template/back-office/brand-update/index.js +8 -8
- package/lib/template/back-office/brand-update/index.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/analytics.js +2 -2
- package/lib/template/back-office/brand-update/test/fixtures/animations.js +2 -2
- package/lib/template/back-office/brand-update/test/fixtures/cohort-error.js +2 -2
- package/lib/template/back-office/brand-update/test/fixtures/cohort.js +2 -2
- package/lib/template/back-office/brand-update/test/fixtures/dashboard.js +2 -2
- package/lib/template/back-office/brand-update/test/fixtures/dashboards-analytics.js +2 -2
- package/lib/template/back-office/brand-update/test/fixtures/default.js +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/list-items-archived.js +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/list-items-archived.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/list-items-draft.js +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/list-items-draft.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/list-items-published-with-popin.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/list-items-published.js +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/list-items-published.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/lms-error.js +2 -2
- package/lib/template/back-office/brand-update/test/fixtures/lms-modified.js +2 -2
- package/lib/template/back-office/brand-update/test/fixtures/lms-success.js +2 -2
- package/lib/template/back-office/brand-update/test/fixtures/lms.js +2 -2
- package/lib/template/back-office/brand-update/test/fixtures/lookandfeel.js +2 -2
- package/lib/template/back-office/brand-update/test/fixtures/manageusers-edit.js +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/manageusers-edit.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/quick-access.js +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/quick-access.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/sso.js +2 -2
- package/lib/template/back-office/brand-update/test/fixtures/uploadusers-loading.js +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/uploadusers-loading.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/uploadusers-successful.js +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/uploadusers-successful.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/uploadusers.js +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/uploadusers.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/wizard-add-courses-playlist.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/wizard-form-create-playlist.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/wizard-form-edit-playlist.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist-with-popin.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/wizard-populations-playlist.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js +1 -1
- package/lib/template/back-office/brand-update/test/fixtures/wizard-translate-playlist.js.map +1 -1
- package/lib/template/cockpit/jw-uploader/index.js +1 -1
- package/lib/template/cockpit/jw-uploader/index.js.map +1 -1
- package/lib/template/common/dashboard/index.js +1 -1
- package/lib/template/common/dashboard/index.js.map +1 -1
- package/lib/template/common/dashboard/test/fixtures/empty-requests.js +1 -1
- package/lib/template/common/dashboard/test/fixtures/empty-requests.js.map +1 -1
- package/lib/template/common/dashboard/test/fixtures/with-hero-card.js +1 -1
- package/lib/template/common/dashboard/test/fixtures/with-hero-card.js.map +1 -1
- package/lib/template/common/discipline/index.js +2 -2
- package/lib/template/common/discipline/test/fixtures/add-to-my-list.js +1 -1
- package/lib/template/common/discipline/test/fixtures/add-to-my-list.js.map +1 -1
- package/lib/template/common/discipline/test/fixtures/arabic.js +1 -1
- package/lib/template/common/discipline/test/fixtures/arabic.js.map +1 -1
- package/lib/template/common/discipline/test/fixtures/default.js +2 -2
- package/lib/template/common/discipline/test/fixtures/default.js.map +1 -1
- package/lib/template/common/discipline/test/fixtures/external-course-with-video.js +2 -2
- package/lib/template/common/discipline/test/fixtures/external-course-with-video.js.map +1 -1
- package/lib/template/common/discipline/test/fixtures/external-course-without-image.js +2 -2
- package/lib/template/common/discipline/test/fixtures/external-course-without-image.js.map +1 -1
- package/lib/template/common/discipline/test/fixtures/external-course.js +2 -2
- package/lib/template/common/discipline/test/fixtures/external-course.js.map +1 -1
- package/lib/template/common/discipline/test/fixtures/share.js +1 -1
- package/lib/template/common/discipline/test/fixtures/share.js.map +1 -1
- package/lib/template/teams-dashboard/index.js +2 -2
- package/lib/template/teams-dashboard/test/fixtures/default.js +2 -2
- package/lib/template/teams-dashboard/test/fixtures/default.js.map +1 -1
- package/lib/template/teams-dashboard/test/fixtures/is-loading.js +1 -1
- package/lib/template/teams-dashboard/test/fixtures/is-loading.js.map +1 -1
- package/lib/template/teams-dashboard/test/fixtures/mobile.js +1 -1
- package/lib/template/teams-dashboard/test/fixtures/mobile.js.map +1 -1
- package/lib/test/helpers/render-component.js +1 -1
- package/lib/util/external-content.js +1 -1
- package/lib/util/proptypes.js +1 -1
- package/lib/util/shallow-compare.js.map +1 -1
- package/lib/util/test/navigation.js +3 -5
- package/lib/util/test/navigation.js.map +1 -1
- package/package.json +2 -2
- package/es/molecule/search/test/fixtures.js +0 -15
- package/es/molecule/search/test/fixtures.js.map +0 -1
- package/es/organism/playlist-translation/test/fixtures.js +0 -15
- package/es/organism/playlist-translation/test/fixtures.js.map +0 -1
- package/lib/molecule/search/test/fixtures.js +0 -25
- package/lib/molecule/search/test/fixtures.js.map +0 -1
- package/lib/organism/playlist-translation/test/fixtures.js +0 -25
- package/lib/organism/playlist-translation/test/fixtures.js.map +0 -1
|
@@ -6,7 +6,6 @@ import fixtureDefault from './fixtures/default';
|
|
|
6
6
|
import fixtureEmpty from './fixtures/empty';
|
|
7
7
|
import fixtureFiltered from './fixtures/filtered';
|
|
8
8
|
import fixtureSortedSelected from './fixtures/sorted-selected';
|
|
9
|
-
import fixtureSwitchActivated from './fixtures/switch-activated';
|
|
10
9
|
import fixtureUnsortedSelected from './fixtures/unsorted-selected';
|
|
11
10
|
test('Organism › OrganismCourseSelection > should have valid propTypes', t => {
|
|
12
11
|
t.pass();
|
|
@@ -18,6 +17,5 @@ test('Organism › OrganismCourseSelection › Default › should be rendered',
|
|
|
18
17
|
test('Organism › OrganismCourseSelection › Empty › should be rendered', renderComponentMacro, OrganismCourseSelection, fixtureEmpty);
|
|
19
18
|
test('Organism › OrganismCourseSelection › Filtered › should be rendered', renderComponentMacro, OrganismCourseSelection, fixtureFiltered);
|
|
20
19
|
test('Organism › OrganismCourseSelection › SortedSelected › should be rendered', renderComponentMacro, OrganismCourseSelection, fixtureSortedSelected);
|
|
21
|
-
test('Organism › OrganismCourseSelection › SwitchActivated › should be rendered', renderComponentMacro, OrganismCourseSelection, fixtureSwitchActivated);
|
|
22
20
|
test('Organism › OrganismCourseSelection › UnsortedSelected › should be rendered', renderComponentMacro, OrganismCourseSelection, fixtureUnsortedSelected);
|
|
23
21
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/organism/course-selection/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismCourseSelection","fixtureDefault","fixtureEmpty","fixtureFiltered","fixtureSortedSelected","
|
|
1
|
+
{"version":3,"sources":["../../../../src/organism/course-selection/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","OrganismCourseSelection","fixtureDefault","fixtureEmpty","fixtureFiltered","fixtureSortedSelected","fixtureUnsortedSelected","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,uBAAP,MAAoC,IAApC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAAOC,eAAP,MAA4B,qBAA5B;AACA,OAAOC,qBAAP,MAAkC,4BAAlC;AACA,OAAOC,uBAAP,MAAoC,8BAApC;AAEAR,IAAI,CAAC,kEAAD,EAAqES,CAAC,IAAI;AAC5EA,EAAAA,CAAC,CAACC,IAAF;AACAT,EAAAA,OAAO,CAACE,uBAAuB,CAACQ,SAAzB,EAAoC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACzDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,4DAA2DF,GAAI,mEAAxF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAb,IAAI,CAAC,mEAAD,EAAsEE,oBAAtE,EAA4FC,uBAA5F,EAAqHC,cAArH,CAAJ;AACAJ,IAAI,CAAC,iEAAD,EAAoEE,oBAApE,EAA0FC,uBAA1F,EAAmHE,YAAnH,CAAJ;AACAL,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,uBAA7F,EAAsHG,eAAtH,CAAJ;AACAN,IAAI,CAAC,0EAAD,EAA6EE,oBAA7E,EAAmGC,uBAAnG,EAA4HI,qBAA5H,CAAJ;AACAP,IAAI,CAAC,4EAAD,EAA+EE,oBAA/E,EAAqGC,uBAArG,EAA8HK,uBAA9H,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport OrganismCourseSelection from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureEmpty from './fixtures/empty';\nimport fixtureFiltered from './fixtures/filtered';\nimport fixtureSortedSelected from './fixtures/sorted-selected';\nimport fixtureUnsortedSelected from './fixtures/unsorted-selected';\n\ntest('Organism › OrganismCourseSelection > should have valid propTypes', t => {\n t.pass();\n forEach(OrganismCourseSelection.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Organism.OrganismCourseSelection.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Organism › OrganismCourseSelection › Default › should be rendered', renderComponentMacro, OrganismCourseSelection, fixtureDefault);\ntest('Organism › OrganismCourseSelection › Empty › should be rendered', renderComponentMacro, OrganismCourseSelection, fixtureEmpty);\ntest('Organism › OrganismCourseSelection › Filtered › should be rendered', renderComponentMacro, OrganismCourseSelection, fixtureFiltered);\ntest('Organism › OrganismCourseSelection › SortedSelected › should be rendered', renderComponentMacro, OrganismCourseSelection, fixtureSortedSelected);\ntest('Organism › OrganismCourseSelection › UnsortedSelected › should be rendered', renderComponentMacro, OrganismCourseSelection, fixtureUnsortedSelected);\n"],"file":"fixtures.js"}
|
|
@@ -10,7 +10,7 @@ const thread = Thread.props;
|
|
|
10
10
|
const thread2 = ThreadDeep.props;
|
|
11
11
|
const threads = [thread, thread2, thread, thread2].map(_update('id', () => _uniqueId()));
|
|
12
12
|
export default {
|
|
13
|
-
props: _extends({}, ForumComment.props, {
|
|
13
|
+
props: _extends(_extends({}, ForumComment.props), {}, {
|
|
14
14
|
title: 'Sandbox discussion',
|
|
15
15
|
threads
|
|
16
16
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/discussion/test/fixtures/default.js"],"names":["Thread","ThreadDeep","ForumComment","thread","props","thread2","threads","map","title"],"mappings":";;;;;AACA,OAAOA,MAAP,MAAmB,+DAAnB;AACA,OAAOC,UAAP,MAAuB,oEAAvB;AACA,OAAOC,YAAP,MAAyB,gEAAzB;AAEA,MAAMC,MAAM,GAAGH,MAAM,CAACI,KAAtB;AACA,MAAMC,OAAO,GAAGJ,UAAU,CAACG,KAA3B;AAEA,MAAME,OAAO,GAAG,CAACH,MAAD,EAASE,OAAT,EAAkBF,MAAlB,EAA0BE,OAA1B,EAAmCE,GAAnC,CAAuC,QAAO,IAAP,EAAa,MAAM,WAAnB,CAAvC,CAAhB;AAEA,eAAe;AACbH,EAAAA,KAAK,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/discussion/test/fixtures/default.js"],"names":["Thread","ThreadDeep","ForumComment","thread","props","thread2","threads","map","title"],"mappings":";;;;;AACA,OAAOA,MAAP,MAAmB,+DAAnB;AACA,OAAOC,UAAP,MAAuB,oEAAvB;AACA,OAAOC,YAAP,MAAyB,gEAAzB;AAEA,MAAMC,MAAM,GAAGH,MAAM,CAACI,KAAtB;AACA,MAAMC,OAAO,GAAGJ,UAAU,CAACG,KAA3B;AAEA,MAAME,OAAO,GAAG,CAACH,MAAD,EAASE,OAAT,EAAkBF,MAAlB,EAA0BE,OAA1B,EAAmCE,GAAnC,CAAuC,QAAO,IAAP,EAAa,MAAM,WAAnB,CAAvC,CAAhB;AAEA,eAAe;AACbH,EAAAA,KAAK,wBACAF,YAAY,CAACE,KADb;AAEHI,IAAAA,KAAK,EAAE,oBAFJ;AAGHF,IAAAA;AAHG;AADQ,CAAf","sourcesContent":["import {update, uniqueId} from 'lodash/fp';\nimport Thread from '../../../../molecule/forum/forum-thread/test/fixtures/default';\nimport ThreadDeep from '../../../../molecule/forum/forum-thread/test/fixtures/deep-answers';\nimport ForumComment from '../../../../molecule/forum/forum-comment/test/fixtures/default';\n\nconst thread = Thread.props;\nconst thread2 = ThreadDeep.props;\n\nconst threads = [thread, thread2, thread, thread2].map(update('id', () => uniqueId()));\n\nexport default {\n props: {\n ...ForumComment.props,\n title: 'Sandbox discussion',\n threads\n }\n};\n"],"file":"default.js"}
|
|
@@ -4,7 +4,7 @@ import ForumComment from '../../../../molecule/forum/forum-comment/test/fixtures
|
|
|
4
4
|
import Thread from '../../../../molecule/forum/forum-thread/test/fixtures/default';
|
|
5
5
|
const thread = Thread.props;
|
|
6
6
|
export default {
|
|
7
|
-
props: _extends({}, ForumComment.props, {
|
|
7
|
+
props: _extends(_extends({}, ForumComment.props), {}, {
|
|
8
8
|
title: 'Loading more posts',
|
|
9
9
|
loading: true,
|
|
10
10
|
threads: [thread]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/discussion/test/fixtures/loading-more.js"],"names":["ForumComment","Thread","thread","props","title","loading","threads"],"mappings":";;AAAA,OAAOA,YAAP,MAAyB,gEAAzB;AACA,OAAOC,MAAP,MAAmB,+DAAnB;AAEA,MAAMC,MAAM,GAAGD,MAAM,CAACE,KAAtB;AAEA,eAAe;AACbA,EAAAA,KAAK,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/discussion/test/fixtures/loading-more.js"],"names":["ForumComment","Thread","thread","props","title","loading","threads"],"mappings":";;AAAA,OAAOA,YAAP,MAAyB,gEAAzB;AACA,OAAOC,MAAP,MAAmB,+DAAnB;AAEA,MAAMC,MAAM,GAAGD,MAAM,CAACE,KAAtB;AAEA,eAAe;AACbA,EAAAA,KAAK,wBACAH,YAAY,CAACG,KADb;AAEHC,IAAAA,KAAK,EAAE,oBAFJ;AAGHC,IAAAA,OAAO,EAAE,IAHN;AAIHC,IAAAA,OAAO,EAAE,CAACJ,MAAD;AAJN;AADQ,CAAf","sourcesContent":["import ForumComment from '../../../../molecule/forum/forum-comment/test/fixtures/default';\nimport Thread from '../../../../molecule/forum/forum-thread/test/fixtures/default';\n\nconst thread = Thread.props;\n\nexport default {\n props: {\n ...ForumComment.props,\n title: 'Loading more posts',\n loading: true,\n threads: [thread]\n }\n};\n"],"file":"loading-more.js"}
|
|
@@ -2,7 +2,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
2
2
|
|
|
3
3
|
import ForumComment from '../../../../molecule/forum/forum-comment/test/fixtures/default';
|
|
4
4
|
export default {
|
|
5
|
-
props: _extends({}, ForumComment.props, {
|
|
5
|
+
props: _extends(_extends({}, ForumComment.props), {}, {
|
|
6
6
|
title: 'New discussion',
|
|
7
7
|
postDisabled: true
|
|
8
8
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/discussion/test/fixtures/new-discussion.js"],"names":["ForumComment","props","title","postDisabled"],"mappings":";;AAAA,OAAOA,YAAP,MAAyB,gEAAzB;AAEA,eAAe;AACbC,EAAAA,KAAK,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/discussion/test/fixtures/new-discussion.js"],"names":["ForumComment","props","title","postDisabled"],"mappings":";;AAAA,OAAOA,YAAP,MAAyB,gEAAzB;AAEA,eAAe;AACbC,EAAAA,KAAK,wBACAD,YAAY,CAACC,KADb;AAEHC,IAAAA,KAAK,EAAE,gBAFJ;AAGHC,IAAAA,YAAY,EAAE;AAHX;AADQ,CAAf","sourcesContent":["import ForumComment from '../../../../molecule/forum/forum-comment/test/fixtures/default';\n\nexport default {\n props: {\n ...ForumComment.props,\n title: 'New discussion',\n postDisabled: true\n }\n};\n"],"file":"new-discussion.js"}
|
|
@@ -192,12 +192,12 @@ const GetTheApp = (props, context) => {
|
|
|
192
192
|
})))));
|
|
193
193
|
};
|
|
194
194
|
|
|
195
|
-
GetTheApp.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, StoresLinks.propTypes, {
|
|
195
|
+
GetTheApp.propTypes = process.env.NODE_ENV !== "production" ? _extends(_extends(_extends({}, StoresLinks.propTypes), {}, {
|
|
196
196
|
storeStep: PropTypes.shape(Header.propTypes),
|
|
197
197
|
connectionStep: PropTypes.shape(Header.propTypes),
|
|
198
198
|
qrCodeStep: PropTypes.shape(Header.propTypes),
|
|
199
199
|
magicLinkStep: PropTypes.shape(Header.propTypes)
|
|
200
|
-
}, QrCodeImage.propTypes, {
|
|
200
|
+
}, QrCodeImage.propTypes), {}, {
|
|
201
201
|
diviserWord: Divider.propTypes.word
|
|
202
202
|
}, MagicLink.propTypes) : {};
|
|
203
203
|
export default GetTheApp;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/organism/get-the-app/index.js"],"names":["React","PropTypes","NovaCompositionCoorpacademyMagicWand","MagicWand","NovaCompositionCoorpacademyCoorpApp","CoorpAppLogo","Button","style","Header","step","header","subHeader","headerContainer","headerWrapper","propTypes","string","QrCodeImage","showMobileAppAccess","qrCodeImageUrl","preMessage","linkMessage","endMessage","qrcodeWrapper","qrcodeOverlay","qrcodeModal","qrcodeModalLink","bool","MagicLink","disabled","submitValue","magicLinkUrl","color","buttonWrapper","iconWrapper","magicLinkIcon","StoresLinks","onAppStoreButtonClick","appStoreButtonImageUrl","playStoreButtonImageUrl","onPlayStoreButtonClick","storeLinksContainer","img","func","Divider","word","dividerWrapper","divider","GetTheApp","props","context","storeStep","connectionStep","qrCodeStep","magicLinkStep","diviserWord","skin","primaryColor","container","coorpAppLogoWrapper","coorpAppLogo","store","secondStepWrapper","connectionWrapper","wrapper","shape"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,SACEC,oCAAoC,IAAIC,SA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AAIE,IAAA,WAAW,EAAEC,WAJf;AAKE,IAAA,UAAU,EAAEC;AALd,IAFF,CADF,eAWE,oBAAC,OAAD;AAAS,IAAA,IAAI,EAAEiC;AAAf,IAXF,eAYE;AAAK,IAAA,SAAS,EAAE/C,KAAK,CAACwD;AAAtB,kBACE,oBAAC,MAAD,EAAYV,aAAZ,CADF,eAEE,oBAAC,SAAD;AACE,IAAA,KAAK,EAAEG,YADT;AAEE,IAAA,WAAW,EAAE3B,WAFf;AAGE,IAAA,QAAQ,EAAED,QAHZ;AAIE,IAAA,YAAY,EAAEE;AAJhB,IAFF,CAZF,CAFF,CAbF,CADF;AAyCD,CA/DD;;AAiEAiB,SAAS,CAACjC,SAAV,wDACKqB,WAAW,CAACrB,SADjB;AAEEoC,EAAAA,SAAS,EAAEjD,SAAS,CAAC+D,KAAV,CAAgBxD,MAAM,CAACM,SAAvB,CAFb;AAGEqC,EAAAA,cAAc,EAAElD,SAAS,CAAC+D,KAAV,CAAgBxD,MAAM,CAACM,SAAvB,CAHlB;AAIEsC,EAAAA,UAAU,EAAEnD,SAAS,CAAC+D,KAAV,CAAgBxD,MAAM,CAACM,SAAvB,CAJd;AAKEuC,EAAAA,aAAa,EAAEpD,SAAS,CAAC+D,KAAV,CAAgBxD,MAAM,CAACM,SAAvB;AALjB,GAMKE,WAAW,CAACF,SANjB;AAOEwC,EAAAA,WAAW,EAAEX,OAAO,CAAC7B,SAAR,CAAkB8B;AAPjC,GAQKjB,SAAS,CAACb,SARf;AAWA,eAAeiC,SAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n NovaCompositionCoorpacademyMagicWand as MagicWand,\n NovaCompositionCoorpacademyCoorpApp as CoorpAppLogo\n} from '@coorpacademy/nova-icons';\nimport {get} from 'lodash/fp';\nimport Button from '../../atom/button';\nimport style from './style.css';\n\nconst Header = ({step, header, subHeader}) => (\n <div className={style.headerContainer}>\n {step ? (\n <div className={style.headerWrapper}>\n <h1 className={style.step}>{step}</h1>\n <h1 className={style.header}>{header}</h1>\n </div>\n ) : (\n <h1 className={style.header}>{header} </h1>\n )}\n {subHeader ? <h4 className={style.subHeader}>{subHeader} </h4> : null}\n </div>\n);\n\nHeader.propTypes = {\n step: PropTypes.string,\n header: PropTypes.string,\n subHeader: PropTypes.string\n};\n\nconst QrCodeImage = ({\n showMobileAppAccess,\n qrCodeImageUrl,\n preMessage,\n linkMessage,\n endMessage\n}) => {\n return (\n <div className={style.qrcodeWrapper}>\n <img src={qrCodeImageUrl} />\n {showMobileAppAccess ? (\n <div className={style.qrcodeOverlay}>\n <div className={style.qrcodeModal}>\n <span>{preMessage} </span>\n <a href=\"mailto:assistance@coorpacademy.com\" className={style.qrcodeModalLink}>\n <span>{linkMessage} </span>\n </a>\n <span>{endMessage} </span>\n </div>\n </div>\n ) : null}\n </div>\n );\n};\nQrCodeImage.propTypes = {\n showMobileAppAccess: PropTypes.bool,\n qrCodeImageUrl: PropTypes.string,\n preMessage: PropTypes.string,\n linkMessage: PropTypes.string,\n endMessage: PropTypes.string\n};\n\nconst MagicLink = ({disabled, submitValue, magicLinkUrl, color}) => {\n return (\n <div className={style.buttonWrapper}>\n <Button\n color={color}\n disabled={disabled}\n isLinkDisabled={disabled}\n href={magicLinkUrl}\n type=\"link\"\n submitValue={null}\n >\n <div className={style.iconWrapper}>\n <MagicWand className={style.magicLinkIcon} />\n <p>{submitValue}</p>\n </div>\n </Button>\n </div>\n );\n};\n\nMagicLink.propTypes = {\n magicLinkUrl: PropTypes.string,\n disabled: PropTypes.bool,\n submitValue: PropTypes.string\n};\n\nconst StoresLinks = ({\n onAppStoreButtonClick,\n appStoreButtonImageUrl,\n playStoreButtonImageUrl,\n onPlayStoreButtonClick\n}) => (\n <div className={style.storeLinksContainer}>\n <img className={style.img} src={appStoreButtonImageUrl} onClick={onAppStoreButtonClick} />\n <img className={style.img} src={playStoreButtonImageUrl} onClick={onPlayStoreButtonClick} />\n </div>\n);\n\nStoresLinks.propTypes = {\n onAppStoreButtonClick: PropTypes.func,\n appStoreButtonImageUrl: PropTypes.string,\n playStoreButtonImageUrl: PropTypes.string,\n onPlayStoreButtonClick: PropTypes.func\n};\n\nconst Divider = ({word}) => (\n <div className={style.dividerWrapper}>\n <div className={style.divider} />\n <p>{word}</p>\n <div className={style.divider} />\n </div>\n);\n\nDivider.propTypes = {\n word: PropTypes.string\n};\n\nconst GetTheApp = (props, context) => {\n const {\n onAppStoreButtonClick,\n appStoreButtonImageUrl,\n playStoreButtonImageUrl,\n onPlayStoreButtonClick,\n storeStep,\n connectionStep,\n qrCodeStep,\n magicLinkStep,\n diviserWord,\n qrCodeImageUrl,\n magicLinkUrl,\n disabled,\n showMobileAppAccess,\n submitValue,\n preMessage,\n linkMessage,\n endMessage\n } = props;\n const {skin} = context;\n const primaryColor = get('common.primary', skin);\n return (\n <div className={style.container}>\n <div className={style.coorpAppLogoWrapper}>\n <CoorpAppLogo height={51} width={250} className={style.coorpAppLogo} />\n </div>\n <div className={style.store}>\n <Header {...storeStep} />\n <StoresLinks\n onAppStoreButtonClick={onAppStoreButtonClick}\n appStoreButtonImageUrl={appStoreButtonImageUrl}\n playStoreButtonImageUrl={playStoreButtonImageUrl}\n onPlayStoreButtonClick={onPlayStoreButtonClick}\n />\n </div>\n <div className={style.secondStepWrapper}>\n <Header {...connectionStep} />\n <div className={style.connectionWrapper}>\n <div className={style.wrapper}>\n <Header {...qrCodeStep} />\n <QrCodeImage\n showMobileAppAccess={showMobileAppAccess}\n qrCodeImageUrl={qrCodeImageUrl}\n preMessage={preMessage}\n linkMessage={linkMessage}\n endMessage={endMessage}\n />\n </div>\n <Divider word={diviserWord} />\n <div className={style.wrapper}>\n <Header {...magicLinkStep} />\n <MagicLink\n color={primaryColor}\n submitValue={submitValue}\n disabled={disabled}\n magicLinkUrl={magicLinkUrl}\n />\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nGetTheApp.propTypes = {\n ...StoresLinks.propTypes,\n storeStep: PropTypes.shape(Header.propTypes),\n connectionStep: PropTypes.shape(Header.propTypes),\n qrCodeStep: PropTypes.shape(Header.propTypes),\n magicLinkStep: PropTypes.shape(Header.propTypes),\n ...QrCodeImage.propTypes,\n diviserWord: Divider.propTypes.word,\n ...MagicLink.propTypes\n};\n\nexport default GetTheApp;\n"],"file":"index.js"}
|
|
1
|
+
{"version":3,"sources":["../../../src/organism/get-the-app/index.js"],"names":["React","PropTypes","NovaCompositionCoorpacademyMagicWand","MagicWand","NovaCompositionCoorpacademyCoorpApp","CoorpAppLogo","Button","style","Header","step","header","subHeader","headerContainer","headerWrapper","propTypes","string","QrCodeImage","showMobileAppAccess","qrCodeImageUrl","preMessage","linkMessage","endMessage","qrcodeWrapper","qrcodeOverlay","qrcodeModal","qrcodeModalLink","bool","MagicLink","disabled","submitValue","magicLinkUrl","color","buttonWrapper","iconWrapper","magicLinkIcon","StoresLinks","onAppStoreButtonClick","appStoreButtonImageUrl","playStoreButtonImageUrl","onPlayStoreButtonClick","storeLinksContainer","img","func","Divider","word","dividerWrapper","divider","GetTheApp","props","context","storeStep","connectionStep","qrCodeStep","magicLinkStep","diviserWord","skin","primaryColor","container","coorpAppLogoWrapper","coorpAppLogo","store","secondStepWrapper","connectionWrapper","wrapper","shape"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,SACEC,oCAAoC,IAAIC,SAD1C,EAEEC,mCAAmC,IAAIC,YAFzC,QAGO,0BAHP;AAKA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,MAAM,GAAG,CAAC;AAACC,EAAAA,IAAD;AAAOC,EAAAA,MAAP;AAAeC,EAAAA;AAAf,CAAD,kBACb;AAAK,EAAA,SAAS,EAAEJ,KAAK,CAACK;AAAtB,GACGH,IAAI,gBACH;AAAK,EAAA,SAAS,EAAEF,KAAK,CAACM;AAAtB,gBACE;AAAI,EAAA,SAAS,EAAEN,KAAK,C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IAFF,CAZF,CAFF,CAbF,CADF;AAyCD,CA/DD;;AAiEAiB,SAAS,CAACjC,SAAV,0EACKqB,WAAW,CAACrB,SADjB;AAEEoC,EAAAA,SAAS,EAAEjD,SAAS,CAAC+D,KAAV,CAAgBxD,MAAM,CAACM,SAAvB,CAFb;AAGEqC,EAAAA,cAAc,EAAElD,SAAS,CAAC+D,KAAV,CAAgBxD,MAAM,CAACM,SAAvB,CAHlB;AAIEsC,EAAAA,UAAU,EAAEnD,SAAS,CAAC+D,KAAV,CAAgBxD,MAAM,CAACM,SAAvB,CAJd;AAKEuC,EAAAA,aAAa,EAAEpD,SAAS,CAAC+D,KAAV,CAAgBxD,MAAM,CAACM,SAAvB;AALjB,GAMKE,WAAW,CAACF,SANjB;AAOEwC,EAAAA,WAAW,EAAEX,OAAO,CAAC7B,SAAR,CAAkB8B;AAPjC,GAQKjB,SAAS,CAACb,SARf;AAWA,eAAeiC,SAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n NovaCompositionCoorpacademyMagicWand as MagicWand,\n NovaCompositionCoorpacademyCoorpApp as CoorpAppLogo\n} from '@coorpacademy/nova-icons';\nimport {get} from 'lodash/fp';\nimport Button from '../../atom/button';\nimport style from './style.css';\n\nconst Header = ({step, header, subHeader}) => (\n <div className={style.headerContainer}>\n {step ? (\n <div className={style.headerWrapper}>\n <h1 className={style.step}>{step}</h1>\n <h1 className={style.header}>{header}</h1>\n </div>\n ) : (\n <h1 className={style.header}>{header} </h1>\n )}\n {subHeader ? <h4 className={style.subHeader}>{subHeader} </h4> : null}\n </div>\n);\n\nHeader.propTypes = {\n step: PropTypes.string,\n header: PropTypes.string,\n subHeader: PropTypes.string\n};\n\nconst QrCodeImage = ({\n showMobileAppAccess,\n qrCodeImageUrl,\n preMessage,\n linkMessage,\n endMessage\n}) => {\n return (\n <div className={style.qrcodeWrapper}>\n <img src={qrCodeImageUrl} />\n {showMobileAppAccess ? (\n <div className={style.qrcodeOverlay}>\n <div className={style.qrcodeModal}>\n <span>{preMessage} </span>\n <a href=\"mailto:assistance@coorpacademy.com\" className={style.qrcodeModalLink}>\n <span>{linkMessage} </span>\n </a>\n <span>{endMessage} </span>\n </div>\n </div>\n ) : null}\n </div>\n );\n};\nQrCodeImage.propTypes = {\n showMobileAppAccess: PropTypes.bool,\n qrCodeImageUrl: PropTypes.string,\n preMessage: PropTypes.string,\n linkMessage: PropTypes.string,\n endMessage: PropTypes.string\n};\n\nconst MagicLink = ({disabled, submitValue, magicLinkUrl, color}) => {\n return (\n <div className={style.buttonWrapper}>\n <Button\n color={color}\n disabled={disabled}\n isLinkDisabled={disabled}\n href={magicLinkUrl}\n type=\"link\"\n submitValue={null}\n >\n <div className={style.iconWrapper}>\n <MagicWand className={style.magicLinkIcon} />\n <p>{submitValue}</p>\n </div>\n </Button>\n </div>\n );\n};\n\nMagicLink.propTypes = {\n magicLinkUrl: PropTypes.string,\n disabled: PropTypes.bool,\n submitValue: PropTypes.string\n};\n\nconst StoresLinks = ({\n onAppStoreButtonClick,\n appStoreButtonImageUrl,\n playStoreButtonImageUrl,\n onPlayStoreButtonClick\n}) => (\n <div className={style.storeLinksContainer}>\n <img className={style.img} src={appStoreButtonImageUrl} onClick={onAppStoreButtonClick} />\n <img className={style.img} src={playStoreButtonImageUrl} onClick={onPlayStoreButtonClick} />\n </div>\n);\n\nStoresLinks.propTypes = {\n onAppStoreButtonClick: PropTypes.func,\n appStoreButtonImageUrl: PropTypes.string,\n playStoreButtonImageUrl: PropTypes.string,\n onPlayStoreButtonClick: PropTypes.func\n};\n\nconst Divider = ({word}) => (\n <div className={style.dividerWrapper}>\n <div className={style.divider} />\n <p>{word}</p>\n <div className={style.divider} />\n </div>\n);\n\nDivider.propTypes = {\n word: PropTypes.string\n};\n\nconst GetTheApp = (props, context) => {\n const {\n onAppStoreButtonClick,\n appStoreButtonImageUrl,\n playStoreButtonImageUrl,\n onPlayStoreButtonClick,\n storeStep,\n connectionStep,\n qrCodeStep,\n magicLinkStep,\n diviserWord,\n qrCodeImageUrl,\n magicLinkUrl,\n disabled,\n showMobileAppAccess,\n submitValue,\n preMessage,\n linkMessage,\n endMessage\n } = props;\n const {skin} = context;\n const primaryColor = get('common.primary', skin);\n return (\n <div className={style.container}>\n <div className={style.coorpAppLogoWrapper}>\n <CoorpAppLogo height={51} width={250} className={style.coorpAppLogo} />\n </div>\n <div className={style.store}>\n <Header {...storeStep} />\n <StoresLinks\n onAppStoreButtonClick={onAppStoreButtonClick}\n appStoreButtonImageUrl={appStoreButtonImageUrl}\n playStoreButtonImageUrl={playStoreButtonImageUrl}\n onPlayStoreButtonClick={onPlayStoreButtonClick}\n />\n </div>\n <div className={style.secondStepWrapper}>\n <Header {...connectionStep} />\n <div className={style.connectionWrapper}>\n <div className={style.wrapper}>\n <Header {...qrCodeStep} />\n <QrCodeImage\n showMobileAppAccess={showMobileAppAccess}\n qrCodeImageUrl={qrCodeImageUrl}\n preMessage={preMessage}\n linkMessage={linkMessage}\n endMessage={endMessage}\n />\n </div>\n <Divider word={diviserWord} />\n <div className={style.wrapper}>\n <Header {...magicLinkStep} />\n <MagicLink\n color={primaryColor}\n submitValue={submitValue}\n disabled={disabled}\n magicLinkUrl={magicLinkUrl}\n />\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nGetTheApp.propTypes = {\n ...StoresLinks.propTypes,\n storeStep: PropTypes.shape(Header.propTypes),\n connectionStep: PropTypes.shape(Header.propTypes),\n qrCodeStep: PropTypes.shape(Header.propTypes),\n magicLinkStep: PropTypes.shape(Header.propTypes),\n ...QrCodeImage.propTypes,\n diviserWord: Divider.propTypes.word,\n ...MagicLink.propTypes\n};\n\nexport default GetTheApp;\n"],"file":"index.js"}
|
|
@@ -3,7 +3,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
3
3
|
import archivedItem from '../../../list-item/test/fixtures/archived';
|
|
4
4
|
const ids = ['1', '2', '3'];
|
|
5
5
|
const listeItems = ids.map(id => {
|
|
6
|
-
return _extends({}, archivedItem.props, {
|
|
6
|
+
return _extends(_extends({}, archivedItem.props), {}, {
|
|
7
7
|
id
|
|
8
8
|
});
|
|
9
9
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/list-items/test/fixtures/archived.js"],"names":["archivedItem","ids","listeItems","map","id","props","title","length","buttonLink","type","label","onClick","console","log","items"],"mappings":";;AAAA,OAAOA,YAAP,MAAyB,2CAAzB;AAEA,MAAMC,GAAG,GAAG,CAAC,GAAD,EAAM,GAAN,EAAW,GAAX,CAAZ;AACA,MAAMC,UAAU,GAAGD,GAAG,CAACE,GAAJ,CAAQC,EAAE,IAAI;AAC/B,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/list-items/test/fixtures/archived.js"],"names":["archivedItem","ids","listeItems","map","id","props","title","length","buttonLink","type","label","onClick","console","log","items"],"mappings":";;AAAA,OAAOA,YAAP,MAAyB,2CAAzB;AAEA,MAAMC,GAAG,GAAG,CAAC,GAAD,EAAM,GAAN,EAAW,GAAX,CAAZ;AACA,MAAMC,UAAU,GAAGD,GAAG,CAACE,GAAJ,CAAQC,EAAE,IAAI;AAC/B,+BACKJ,YAAY,CAACK,KADlB;AAEED,IAAAA;AAFF;AAID,CALkB,CAAnB;AAOA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAG,GAAEJ,UAAU,CAACK,MAAO,mBADvB;AAEL,kBAAc,WAFT;AAGLC,IAAAA,UAAU,EAAE;AACVC,MAAAA,IAAI,EAAE,SADI;AAEVC,MAAAA,KAAK,EAAE,wBAFG;AAGV,oBAAc,aAHJ;AAIV,mBAAa,gBAJH;AAKVC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AALL,KAHP;AAULC,IAAAA,KAAK,EAAEZ;AAVF;AADM,CAAf","sourcesContent":["import archivedItem from '../../../list-item/test/fixtures/archived';\n\nconst ids = ['1', '2', '3'];\nconst listeItems = ids.map(id => {\n return {\n ...archivedItem.props,\n id\n };\n});\n\nexport default {\n props: {\n title: `${listeItems.length} custom playlists`,\n 'aria-label': 'aria list',\n buttonLink: {\n type: 'primary',\n label: 'Create custom playlist',\n 'aria-label': 'aria button',\n 'data-name': 'default-button',\n onClick: () => console.log('click')\n },\n items: listeItems\n }\n};\n"],"file":"archived.js"}
|
|
@@ -3,7 +3,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
3
3
|
import draftItem from '../../../list-item/test/fixtures/draft';
|
|
4
4
|
const ids = ['1', '2', '3'];
|
|
5
5
|
const listeItems = ids.map(id => {
|
|
6
|
-
return _extends({}, draftItem.props, {
|
|
6
|
+
return _extends(_extends({}, draftItem.props), {}, {
|
|
7
7
|
id
|
|
8
8
|
});
|
|
9
9
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/list-items/test/fixtures/draft.js"],"names":["draftItem","ids","listeItems","map","id","props","title","length","buttonLink","type","label","onClick","console","log","items"],"mappings":";;AAAA,OAAOA,SAAP,MAAsB,wCAAtB;AAEA,MAAMC,GAAG,GAAG,CAAC,GAAD,EAAM,GAAN,EAAW,GAAX,CAAZ;AACA,MAAMC,UAAU,GAAGD,GAAG,CAACE,GAAJ,CAAQC,EAAE,IAAI;AAC/B,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/list-items/test/fixtures/draft.js"],"names":["draftItem","ids","listeItems","map","id","props","title","length","buttonLink","type","label","onClick","console","log","items"],"mappings":";;AAAA,OAAOA,SAAP,MAAsB,wCAAtB;AAEA,MAAMC,GAAG,GAAG,CAAC,GAAD,EAAM,GAAN,EAAW,GAAX,CAAZ;AACA,MAAMC,UAAU,GAAGD,GAAG,CAACE,GAAJ,CAAQC,EAAE,IAAI;AAC/B,+BACKJ,SAAS,CAACK,KADf;AAEED,IAAAA;AAFF;AAID,CALkB,CAAnB;AAOA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAG,GAAEJ,UAAU,CAACK,MAAO,mBADvB;AAEL,kBAAc,WAFT;AAGLC,IAAAA,UAAU,EAAE;AACVC,MAAAA,IAAI,EAAE,SADI;AAEVC,MAAAA,KAAK,EAAE,wBAFG;AAGV,oBAAc,aAHJ;AAIV,mBAAa,gBAJH;AAKVC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AALL,KAHP;AAULC,IAAAA,KAAK,EAAEZ;AAVF;AADM,CAAf","sourcesContent":["import draftItem from '../../../list-item/test/fixtures/draft';\n\nconst ids = ['1', '2', '3'];\nconst listeItems = ids.map(id => {\n return {\n ...draftItem.props,\n id\n };\n});\n\nexport default {\n props: {\n title: `${listeItems.length} custom playlists`,\n 'aria-label': 'aria list',\n buttonLink: {\n type: 'primary',\n label: 'Create custom playlist',\n 'aria-label': 'aria button',\n 'data-name': 'default-button',\n onClick: () => console.log('click')\n },\n items: listeItems\n }\n};\n"],"file":"draft.js"}
|
|
@@ -5,7 +5,7 @@ import revisedItem from '../../../list-item/test/fixtures/revised';
|
|
|
5
5
|
const propsRevised = revisedItem.props;
|
|
6
6
|
const ids = ['1', '2', '3'];
|
|
7
7
|
const listePublishedItems = ids.map(id => {
|
|
8
|
-
return _extends({}, publishedItem.props, {
|
|
8
|
+
return _extends(_extends({}, publishedItem.props), {}, {
|
|
9
9
|
id
|
|
10
10
|
});
|
|
11
11
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/list-items/test/fixtures/published.js"],"names":["publishedItem","revisedItem","propsRevised","props","ids","listePublishedItems","map","id","title","length","buttonLink","type","label","onClick","console","log","items"],"mappings":";;AAAA,OAAOA,aAAP,MAA0B,4CAA1B;AACA,OAAOC,WAAP,MAAwB,0CAAxB;AAEA,MAAMC,YAAY,GAAGD,WAAW,CAACE,KAAjC;AAEA,MAAMC,GAAG,GAAG,CAAC,GAAD,EAAM,GAAN,EAAW,GAAX,CAAZ;AACA,MAAMC,mBAAmB,GAAGD,GAAG,CAACE,GAAJ,CAAQC,EAAE,IAAI;AACxC,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/list-items/test/fixtures/published.js"],"names":["publishedItem","revisedItem","propsRevised","props","ids","listePublishedItems","map","id","title","length","buttonLink","type","label","onClick","console","log","items"],"mappings":";;AAAA,OAAOA,aAAP,MAA0B,4CAA1B;AACA,OAAOC,WAAP,MAAwB,0CAAxB;AAEA,MAAMC,YAAY,GAAGD,WAAW,CAACE,KAAjC;AAEA,MAAMC,GAAG,GAAG,CAAC,GAAD,EAAM,GAAN,EAAW,GAAX,CAAZ;AACA,MAAMC,mBAAmB,GAAGD,GAAG,CAACE,GAAJ,CAAQC,EAAE,IAAI;AACxC,+BACKP,aAAa,CAACG,KADnB;AAEEI,IAAAA;AAFF;AAID,CAL2B,CAA5B;AAOA,eAAe;AACbJ,EAAAA,KAAK,EAAE;AACLK,IAAAA,KAAK,EAAG,GAAEH,mBAAmB,CAACI,MAApB,GAA6B,CAAE,mBADpC;AAEL,kBAAc,WAFT;AAGLC,IAAAA,UAAU,EAAE;AACVC,MAAAA,IAAI,EAAE,SADI;AAEVC,MAAAA,KAAK,EAAE,wBAFG;AAGV,oBAAc,aAHJ;AAIV,mBAAa,gBAJH;AAKVC,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,OAAZ;AALL,KAHP;AAULC,IAAAA,KAAK,EAAE,CAAC,GAAGX,mBAAJ,EAAyBH,YAAzB;AAVF;AADM,CAAf","sourcesContent":["import publishedItem from '../../../list-item/test/fixtures/published';\nimport revisedItem from '../../../list-item/test/fixtures/revised';\n\nconst propsRevised = revisedItem.props;\n\nconst ids = ['1', '2', '3'];\nconst listePublishedItems = ids.map(id => {\n return {\n ...publishedItem.props,\n id\n };\n});\n\nexport default {\n props: {\n title: `${listePublishedItems.length + 1} custom playlists`,\n 'aria-label': 'aria list',\n buttonLink: {\n type: 'primary',\n label: 'Create custom playlist',\n 'aria-label': 'aria button',\n 'data-name': 'default-button',\n onClick: () => console.log('click')\n },\n items: [...listePublishedItems, propsRevised]\n }\n};\n"],"file":"published.js"}
|
|
@@ -4,7 +4,7 @@ import slideFixtures from '../../../../../atom/slide/test/fixtures/default';
|
|
|
4
4
|
const slide = slideFixtures.props;
|
|
5
5
|
export default {
|
|
6
6
|
props: {
|
|
7
|
-
slides: [slide, _extends({}, slide, {
|
|
7
|
+
slides: [slide, _extends(_extends({}, slide), {}, {
|
|
8
8
|
cover: 'http://www.lorempixel.com/200/200/nature/2',
|
|
9
9
|
title: 'Hi XXX, check your battle requests,',
|
|
10
10
|
subtitle: 'You have N battle requests!',
|
|
@@ -13,7 +13,7 @@ export default {
|
|
|
13
13
|
href: '#',
|
|
14
14
|
title: 'Start Battling'
|
|
15
15
|
}
|
|
16
|
-
}), _extends({}, slide, {
|
|
16
|
+
}), _extends(_extends({}, slide), {}, {
|
|
17
17
|
cover: 'http://www.lorempixel.com/200/200/nature/3',
|
|
18
18
|
title: 'Welcome back Jane, continue your course',
|
|
19
19
|
subtitle: 'The Mobile Revolution',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/organism/mooc/image-slider/test/fixtures/multiple-slides.js"],"names":["slideFixtures","slide","props","slides","cover","title","subtitle","light","cta","href"],"mappings":";;AAAA,OAAOA,aAAP,MAA0B,iDAA1B;AAEA,MAAMC,KAAK,GAAGD,aAAa,CAACE,KAA5B;AAEA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE,CACNF,KADM,
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/organism/mooc/image-slider/test/fixtures/multiple-slides.js"],"names":["slideFixtures","slide","props","slides","cover","title","subtitle","light","cta","href"],"mappings":";;AAAA,OAAOA,aAAP,MAA0B,iDAA1B;AAEA,MAAMC,KAAK,GAAGD,aAAa,CAACE,KAA5B;AAEA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE,CACNF,KADM,wBAGDA,KAHC;AAIJG,MAAAA,KAAK,EAAE,4CAJH;AAKJC,MAAAA,KAAK,EAAE,qCALH;AAMJC,MAAAA,QAAQ,EAAE,6BANN;AAOJC,MAAAA,KAAK,EAAE,IAPH;AAQJC,MAAAA,GAAG,EAAE;AACHC,QAAAA,IAAI,EAAE,GADH;AAEHJ,QAAAA,KAAK,EAAE;AAFJ;AARD,8BAcDJ,KAdC;AAeJG,MAAAA,KAAK,EAAE,4CAfH;AAgBJC,MAAAA,KAAK,EAAE,yCAhBH;AAiBJC,MAAAA,QAAQ,EAAE,uBAjBN;AAkBJE,MAAAA,GAAG,EAAE;AACHC,QAAAA,IAAI,EAAE,GADH;AAEHJ,QAAAA,KAAK,EAAE;AAFJ;AAlBD;AADH;AADM,CAAf","sourcesContent":["import slideFixtures from '../../../../../atom/slide/test/fixtures/default';\n\nconst slide = slideFixtures.props;\n\nexport default {\n props: {\n slides: [\n slide,\n {\n ...slide,\n cover: 'http://www.lorempixel.com/200/200/nature/2',\n title: 'Hi XXX, check your battle requests,',\n subtitle: 'You have N battle requests!',\n light: true,\n cta: {\n href: '#',\n title: 'Start Battling'\n }\n },\n {\n ...slide,\n cover: 'http://www.lorempixel.com/200/200/nature/3',\n title: 'Welcome back Jane, continue your course',\n subtitle: 'The Mobile Revolution',\n cta: {\n href: '#',\n title: 'Continue Learning'\n }\n }\n ]\n }\n};\n"],"file":"multiple-slides.js"}
|
|
@@ -11,7 +11,7 @@ export default {
|
|
|
11
11
|
'aria-label': 'brand logo up.coorpacademy.com',
|
|
12
12
|
'button-aria-label': 'brand logo used to open menu'
|
|
13
13
|
},
|
|
14
|
-
search: _extends({}, research, {
|
|
14
|
+
search: _extends(_extends({}, research), {}, {
|
|
15
15
|
onChange: value => console.log(value),
|
|
16
16
|
onFocus: () => console.log('on Focus'),
|
|
17
17
|
onBlur: () => console.log('blur'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/mooc-header/test/fixtures/default.js"],"names":["SearchBar","research","props","logo","src","srcMobile","href","search","onChange","value","console","log","onFocus","onBlur","onSubmitSearch","onResetSearch","themes","title","selected","pages","displayed","more","links","submitValue","target","light","small","secondary","settings","type","options","values","name","color","hoverColor"],"mappings":";;AAAA,OAAOA,SAAP,MAAsB,wDAAtB;AAEA,MAAMC,QAAQ,GAAGD,SAAS,CAACE,KAA3B;AAEA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE;AACJC,MAAAA,GAAG,EAAE,6EADD;AAEJC,MAAAA,SAAS,EAAE,gFAFP;AAGJC,MAAAA,IAAI,EAAE,GAHF;AAIJ,oBAAc,gCAJV;AAKJ,2BAAqB;AALjB,KADD;AAQLC,IAAAA,MAAM,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/mooc-header/test/fixtures/default.js"],"names":["SearchBar","research","props","logo","src","srcMobile","href","search","onChange","value","console","log","onFocus","onBlur","onSubmitSearch","onResetSearch","themes","title","selected","pages","displayed","more","links","submitValue","target","light","small","secondary","settings","type","options","values","name","color","hoverColor"],"mappings":";;AAAA,OAAOA,SAAP,MAAsB,wDAAtB;AAEA,MAAMC,QAAQ,GAAGD,SAAS,CAACE,KAA3B;AAEA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE;AACJC,MAAAA,GAAG,EAAE,6EADD;AAEJC,MAAAA,SAAS,EAAE,gFAFP;AAGJC,MAAAA,IAAI,EAAE,GAHF;AAIJ,oBAAc,gCAJV;AAKJ,2BAAqB;AALjB,KADD;AAQLC,IAAAA,MAAM,wBACDN,QADC;AAEJO,MAAAA,QAAQ,EAAEC,KAAK,IAAIC,OAAO,CAACC,GAAR,CAAYF,KAAZ,CAFf;AAGJG,MAAAA,OAAO,EAAE,MAAMF,OAAO,CAACC,GAAR,CAAY,UAAZ,CAHX;AAIJE,MAAAA,MAAM,EAAE,MAAMH,OAAO,CAACC,GAAR,C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,EA0BR;AACED,MAAAA,KAAK,EAAE,YADT;AAEEY,MAAAA,IAAI,EAAE,MAFR;AAGE,oBAAc,kBAHhB;AAIEC,MAAAA,OAAO,EAAE;AACPN,QAAAA,MAAM,EAAE,QADD;AAEPlB,QAAAA,IAAI,EAAE;AAFC;AAJX,KA1BQ,EAmCR;AACEW,MAAAA,KAAK,EAAE,gBADT;AAEE,oBAAc,QAFhB;AAGEY,MAAAA,IAAI,EAAE,MAHR;AAIEI,MAAAA,KAAK,EAAE,SAJT;AAKEC,MAAAA,UAAU,EAAE,SALd;AAMEJ,MAAAA,OAAO,EAAE;AACPxB,QAAAA,IAAI,EAAE;AADC;AANX,KAnCQ,EA6CR;AACEW,MAAAA,KAAK,EAAE,SADT;AAEEY,MAAAA,IAAI,EAAE,QAFR;AAGE,oBAAc,kBAHhB;AAIEC,MAAAA,OAAO,EAAE;AACPtB,QAAAA,QAAQ,EAAEC,KAAK,IAAIC,OAAO,CAACC,GAAR,CAAYF,KAAZ,CADZ;AAEPA,QAAAA,KAAK,EAAE;AAFA;AAJX,KA7CQ,EAsDR;AACEQ,MAAAA,KAAK,EAAE,aADT;AAEEY,MAAAA,IAAI,EAAE,QAFR;AAGE,oBAAc,sBAHhB;AAIEC,MAAAA,OAAO,EAAE;AACPtB,QAAAA,QAAQ,EAAEC,KAAK,IAAIC,OAAO,CAACC,GAAR,CAAYF,KAAZ,CADZ;AAEPA,QAAAA,KAAK,EAAE;AAFA;AAJX,KAtDQ;AA9FL;AADM,CAAf","sourcesContent":["import SearchBar from '../../../../atom/input-search/test/fixtures/with-value';\n\nconst research = SearchBar.props;\n\nexport default {\n props: {\n logo: {\n src: 'https://static.coorpacademy.com/content/up/raw/logo_coorp-1491561426926.svg',\n srcMobile: 'https://static.coorpacademy.com/content/up/raw/logo-generique-teams-mobile.png',\n href: '#',\n 'aria-label': 'brand logo up.coorpacademy.com',\n 'button-aria-label': 'brand logo used to open menu'\n },\n search: {\n ...research,\n onChange: value => console.log(value),\n onFocus: () => console.log('on Focus'),\n onBlur: () => console.log('blur'),\n 'search-reset-aria-label': 'reset search input value'\n },\n onSubmitSearch: () => console.log('onSubmitSearch'),\n onResetSearch: () => console.log('onResetSearch'),\n themes: [\n {\n title: 'Digital',\n selected: true\n },\n {\n title: 'All',\n href: '#',\n selected: false\n },\n {\n title: 'Esprit du temps',\n href: '#',\n selected: false\n },\n {\n title: 'Gérer son épargne',\n href: '#',\n selected: false\n }\n ],\n pages: {\n displayed: [\n {\n title: 'Explore',\n href: '#',\n selected: true\n },\n {\n title: 'Battles',\n href: '#',\n selected: false\n }\n ],\n more: [\n {\n title: 'News',\n href: '#',\n selected: false\n },\n {\n title: 'Médias',\n href: '#',\n selected: false\n },\n {\n title: 'Discussions',\n href: '#',\n selected: false\n },\n {\n title: 'FAQ',\n href: '#',\n selected: false\n }\n ]\n },\n links: [\n {\n submitValue: 'Connexion',\n href: '#',\n target: '_self',\n light: false,\n small: true,\n secondary: true\n },\n {\n submitValue: 'Inscription',\n href: '#',\n target: '_self',\n light: false,\n small: true,\n secondary: false\n }\n ],\n 'settings-aria-label': 'account settings',\n 'close-settings-aria-label': 'close account settings',\n settings: [\n {\n title: 'Language',\n type: 'select',\n 'aria-label': 'select language',\n options: {\n onChange: value => console.log(value),\n values: [\n {\n name: 'Pouet',\n value: 'Pouet',\n selected: false\n },\n {\n name: 'Pouet2',\n value: 'Pouet2',\n selected: true\n },\n {\n name: 'Pouet3',\n value: 'Pouet3',\n selected: false\n }\n ]\n }\n },\n {\n title: 'Mon compte',\n type: 'link',\n 'aria-label': 'go to my account',\n options: {\n target: '_blank',\n href: 'https://google.fr'\n }\n },\n {\n title: 'Se déconnecter',\n 'aria-label': 'logout',\n type: 'link',\n color: '#f73f52',\n hoverColor: '#C51023',\n options: {\n href: 'https://google.fr'\n }\n },\n {\n title: 'Godmode',\n type: 'switch',\n 'aria-label': 'activate godmode',\n options: {\n onChange: value => console.log(value),\n value: true\n }\n },\n {\n title: 'Fast slides',\n type: 'switch',\n 'aria-label': 'activate fast slides',\n options: {\n onChange: value => console.log(value),\n value: false\n }\n }\n ]\n }\n};\n"],"file":"default.js"}
|
|
@@ -16,7 +16,7 @@ export default {
|
|
|
16
16
|
'page-count-aria-label': 'You have 3 waiting battles'
|
|
17
17
|
}]
|
|
18
18
|
},
|
|
19
|
-
search: _extends({}, research, {
|
|
19
|
+
search: _extends(_extends({}, research), {}, {
|
|
20
20
|
onChange: value => console.log(value),
|
|
21
21
|
onFocus: () => console.log('on Focus'),
|
|
22
22
|
onBlur: () => console.log('blur')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js"],"names":["SearchBar","Default","research","props","pages","displayed","counter","search","onChange","value","console","log","onFocus","onBlur","onSubmitSearch","onResetSearch","user","picture","notifications","href","stats","stars","label","ranking","badge"],"mappings":";;;;AACA,OAAOA,SAAP,MAAsB,qDAAtB;AACA,OAAOC,OAAP,MAAoB,WAApB;AAEA,MAAMC,QAAQ,GAAGF,SAAS,CAACG,KAA3B;AAEA,MAAM;AAACA,EAAAA;AAAD,IAAUF,OAAhB;AAEA,eAAe;AACbE,EAAAA,KAAK,EAAE,cAAaA,KAAb,EAAoB;AACzBC,IAAAA,KAAK,EAAE;AACLC,MAAAA,SAAS,EAAE,CACT,EADS,EAET;AACEC,QAAAA,OAAO,EAAE,CADX;AAEE,iCAAyB;AAF3B,OAFS;AADN,KADkB;AAUzBC,IAAAA,MAAM,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/mooc-header/test/fixtures/logged-with-battle-notifications.js"],"names":["SearchBar","Default","research","props","pages","displayed","counter","search","onChange","value","console","log","onFocus","onBlur","onSubmitSearch","onResetSearch","user","picture","notifications","href","stats","stars","label","ranking","badge"],"mappings":";;;;AACA,OAAOA,SAAP,MAAsB,qDAAtB;AACA,OAAOC,OAAP,MAAoB,WAApB;AAEA,MAAMC,QAAQ,GAAGF,SAAS,CAACG,KAA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BAAc;AAHT;AAXF;AATH;AAlBmB,GAApB;AADM,CAAf","sourcesContent":["import {defaultsDeep} from 'lodash/fp';\nimport SearchBar from '../../../../atom/input-search/test/fixtures/default';\nimport Default from './default';\n\nconst research = SearchBar.props;\n\nconst {props} = Default;\n\nexport default {\n props: defaultsDeep(props, {\n pages: {\n displayed: [\n {},\n {\n counter: 3,\n 'page-count-aria-label': 'You have 3 waiting battles'\n }\n ]\n },\n search: {\n ...research,\n onChange: value => console.log(value),\n onFocus: () => console.log('on Focus'),\n onBlur: () => console.log('blur')\n },\n onSubmitSearch: () => console.log('onSubmitSearch'),\n onResetSearch: () => console.log('onResetSearch'),\n user: {\n picture: 'https://image.freepik.com/free-icon/male-user-shadow_318-34042.jpg',\n 'picture-aria-label': 'Your picture',\n notifications: {\n href: '#notifications',\n value: 5,\n 'aria-label': 'you have 5 new notificationss'\n },\n href: '#account',\n stats: {\n stars: {\n href: '#',\n label: '124',\n 'aria-label': 'You have 124 stars'\n },\n ranking: {\n href: '#',\n label: '5ème',\n 'aria-label': 'You are ranked 5th'\n },\n badge: {\n href: '#',\n label: 'Gold',\n 'aria-label': 'You have a gold badge'\n }\n }\n }\n })\n};\n"],"file":"logged-with-battle-notifications.js"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/popin/test/fixtures/default.js"],"names":["props","ctaLabel","ctaOnClick","console","log","closeOnClick","header","content"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,QAAQ,EAAE,gBADL;AAELC,IAAAA,UAAU,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,YAAZ,CAFb;AAGLC,IAAAA,YAAY,EAAE,MAAMF,OAAO,CAACC,GAAR,CAAY,cAAZ,CAHf;AAILE,IAAAA,MAAM,EAAE,YAJH;AAKLC,IAAAA,OAAO,EAAG
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/popin/test/fixtures/default.js"],"names":["props","ctaLabel","ctaOnClick","console","log","closeOnClick","header","content"],"mappings":"AAAA,eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,QAAQ,EAAE,gBADL;AAELC,IAAAA,UAAU,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,YAAZ,CAFb;AAGLC,IAAAA,YAAY,EAAE,MAAMF,OAAO,CAACC,GAAR,CAAY,cAAZ,CAHf;AAILE,IAAAA,MAAM,EAAE,YAJH;AAKLC,IAAAA,OAAO,EAAG;;;;;;;;;;;;;;;;;;;;;;AAsBV;;AA3BK;AADM,CAAf","sourcesContent":["export default {\n props: {\n ctaLabel: 'Start Learning',\n ctaOnClick: () => console.log('ctaOnClick'),\n closeOnClick: () => console.log('closeOnClick'),\n header: 'skip intro',\n content: `<h1>Welcome!</h1>\n Welcome to this e-training on mental health and human rights! This training is part of the World Health Organization’s initiative called QualityRights. The e-training - what it covers and who it is for - is described in the video below. <br />\n <br />\n <h2> Please watch the introductory video! </h2>\n <div><p><img src=\"https://static.coorpacademy.com/content/capgeminiconsulting/en/cms/newcooc/newcoocdigitalbankingadvanced.png\" alt=\"alt text\"></p></div>\n <br />\n For more information on WHO QualityRights please go to www.who.int/mental_health/policy/quality_rights/en/.\n <br />\n <br />\n <h2>\n How to use the e-training platform</h2>\n For the etraining we recommend that you first review the course material in the right hand menu to help you answer the questions. The course material changes every time you progress to a new chapter within a module. You gain stars for all main course videos or PDFs that you view, the questions that you answer correctly and also when you win challenges. The more stars you gain, the greater chance you will have to rank amongst the top 20 participants of the etraining. You lose a life if you answer a question incorrectly, and if you lose three lives you have to repeat the chapter – but also remember you can gain a life back if you review the main course PDF or Video of the chapter again.\n We strongly recommend that you read the instructions on how to use the platform. The Course Instructions are available in the footer menu on the bottom of every page and also through the left side menu.\n <h2>\n Acknowledgements</h2>\n This WHO QualityRights e-training has benefited from the important contributions of many experts including people with lived experience, mental health practitioners, human rights experts, NGOs, disabled people organizations and other advocates.It has been made possible through the generous financial support of the Mental Health Commission, Government of Western Australia, and Grand Challenges Canada funded by the Government of Canada.\n Please refer to the Acknowledgement page available on the left menu. <br />\n <br />\n <h2>\n To close this page (if it is your first visit on the e-training), click on the cross in the upper right corner of the screen!</h2><br />\n <img src=\"https://static.coorpacademy.com/content/qualityrights/img/QR_logo_small.png\" />\n `\n /* eslint-enable max-len */\n }\n};\n"],"file":"default.js"}
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
text: 'Récupérez une vie en regardant la leçon !',
|
|
9
9
|
lifeAmount: 1
|
|
10
10
|
},
|
|
11
|
-
resources: [_extends({}, JWPlayer.props, {
|
|
11
|
+
resources: [_extends(_extends({}, JWPlayer.props), {}, {
|
|
12
12
|
type: 'video',
|
|
13
13
|
poster: '//static.coorpacademy.com/content/digital/miniatures_cours/avance/1A1.png',
|
|
14
14
|
description: 'Le concept de Knowledge Graph',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js"],"names":["JWPlayer","props","overlay","title","text","lifeAmount","resources","type","poster","description","_id","subtitles","posters","src","onClick","onPlay","console","log","onPause","onResume","onEnded","selected","mimeType","videoId"],"mappings":";;AAAA,OAAOA,QAAP,MAAqB,yEAArB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,OAAO,EAAE;AACPC,MAAAA,KAAK,EAAE,SADA;AAEPC,MAAAA,IAAI,EAAE,2CAFC;AAGPC,MAAAA,UAAU,EAAE;AAHL,KADJ;AAMLC,IAAAA,SAAS,EAAE,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/resource-browser/test/fixtures/jwplayer-with-overlay.js"],"names":["JWPlayer","props","overlay","title","text","lifeAmount","resources","type","poster","description","_id","subtitles","posters","src","onClick","onPlay","console","log","onPause","onResume","onEnded","selected","mimeType","videoId"],"mappings":";;AAAA,OAAOA,QAAP,MAAqB,yEAArB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAA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\n props: {\n overlay: {\n title: 'Bonus !',\n text: 'Récupérez une vie en regardant la leçon !',\n lifeAmount: 1\n },\n resources: [\n {\n ...JWPlayer.props,\n type: 'video',\n poster: '//static.coorpacademy.com/content/digital/miniatures_cours/avance/1A1.png',\n description: 'Le concept de Knowledge Graph',\n _id: '590b862e2e967f64333ad45f',\n subtitles: [],\n posters: [],\n src: [],\n onClick: () => {},\n onPlay: () => console.log('play'),\n onPause: () => console.log('pause'),\n onResume: () => console.log('resume'),\n onEnded: () => console.log('end'),\n selected: true\n },\n {\n type: 'video',\n poster: '//static.coorpacademy.com/content/digital/miniatures_cours/avance/1A1.png',\n description: 'Le concept de Knowledge Graph',\n mimeType: 'application/vimeo',\n videoId: '89404998\\n',\n _id: '590b862e2e967f64333ad45e',\n subtitles: [],\n posters: [],\n src: [],\n selected: false,\n onClick: () => {}\n }\n ]\n }\n};\n"],"file":"jwplayer-with-overlay.js"}
|
|
@@ -3,7 +3,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
3
3
|
import JWPlayer from '../../../../molecule/video-player/test/fixtures/jwplayer';
|
|
4
4
|
export default {
|
|
5
5
|
props: {
|
|
6
|
-
resources: [_extends({}, JWPlayer.props, {
|
|
6
|
+
resources: [_extends(_extends({}, JWPlayer.props), {}, {
|
|
7
7
|
type: 'video',
|
|
8
8
|
poster: '//static.coorpacademy.com/content/digital/miniatures_cours/avance/1A1.png',
|
|
9
9
|
description: 'Le concept de Knowledge Graph',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/resource-browser/test/fixtures/jwplayer.js"],"names":["JWPlayer","props","resources","type","poster","description","_id","subtitles","posters","src","onClick","selected","mimeType","videoId"],"mappings":";;AAAA,OAAOA,QAAP,MAAqB,0DAArB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/resource-browser/test/fixtures/jwplayer.js"],"names":["JWPlayer","props","resources","type","poster","description","_id","subtitles","posters","src","onClick","selected","mimeType","videoId"],"mappings":";;AAAA,OAAOA,QAAP,MAAqB,0DAArB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,uBAEJF,QAAQ,CAACC,KAFL;AAGPE,MAAAA,IAAI,EAAE,OAHC;AAIPC,MAAAA,MAAM,EAAE,2EAJD;AAKPC,MAAAA,WAAW,EAAE,+BALN;AAMPC,MAAAA,GAAG,EAAE,0BANE;AAOPC,MAAAA,SAAS,EAAE,EAPJ;AAQPC,MAAAA,OAAO,EAAE,EARF;AASPC,MAAAA,GAAG,EAAE,EATE;AAUPC,MAAAA,OAAO,EAAE,MAAM,CAAE,CAVV;AAWPC,MAAAA,QAAQ,EAAE;AAXH,QAaT;AACER,MAAAA,IAAI,EAAE,OADR;AAEEC,MAAAA,MAAM,EAAE,2EAFV;AAGEC,MAAAA,WAAW,EAAE,+BAHf;AAIEO,MAAAA,QAAQ,EAAE,mBAJZ;AAKEC,MAAAA,OAAO,EAAE,YALX;AAMEP,MAAAA,GAAG,EAAE,0BANP;AAOEC,MAAAA,SAAS,EAAE,EAPb;AAQEC,MAAAA,OAAO,EAAE,EARX;AASEC,MAAAA,GAAG,EAAE,EATP;AAUEE,MAAAA,QAAQ,EAAE,KAVZ;AAWED,MAAAA,OAAO,EAAE,MAAM,CAAE;AAXnB,KAbS;AADN;AADM,CAAf","sourcesContent":["import JWPlayer from '../../../../molecule/video-player/test/fixtures/jwplayer';\n\nexport default {\n props: {\n resources: [\n {\n ...JWPlayer.props,\n type: 'video',\n poster: '//static.coorpacademy.com/content/digital/miniatures_cours/avance/1A1.png',\n description: 'Le concept de Knowledge Graph',\n _id: '590b862e2e967f64333ad45f',\n subtitles: [],\n posters: [],\n src: [],\n onClick: () => {},\n selected: true\n },\n {\n type: 'video',\n poster: '//static.coorpacademy.com/content/digital/miniatures_cours/avance/1A1.png',\n description: 'Le concept de Knowledge Graph',\n mimeType: 'application/vimeo',\n videoId: '89404998\\n',\n _id: '590b862e2e967f64333ad45e',\n subtitles: [],\n posters: [],\n src: [],\n selected: false,\n onClick: () => {}\n }\n ]\n }\n};\n"],"file":"jwplayer.js"}
|
|
@@ -3,7 +3,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
3
3
|
import Kontiki from '../../../../molecule/video-player/test/fixtures/kontiki';
|
|
4
4
|
export default {
|
|
5
5
|
props: {
|
|
6
|
-
resources: [_extends({}, Kontiki.props, {
|
|
6
|
+
resources: [_extends(_extends({}, Kontiki.props), {}, {
|
|
7
7
|
type: 'video',
|
|
8
8
|
poster: 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/schneider-electric/en/medias/img/poster/vlcsnap-2015-08-18-19h41m19s916-1439919822187.png&h=250&w=250&q=90',
|
|
9
9
|
description: 'R&ED Program',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/resource-browser/test/fixtures/kontiki.js"],"names":["Kontiki","props","resources","type","poster","description","mimeType","_id","subtitles","posters","src","url","videoId","onClick","selected"],"mappings":";;AAAA,OAAOA,OAAP,MAAoB,yDAApB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/resource-browser/test/fixtures/kontiki.js"],"names":["Kontiki","props","resources","type","poster","description","mimeType","_id","subtitles","posters","src","url","videoId","onClick","selected"],"mappings":";;AAAA,OAAOA,OAAP,MAAoB,yDAApB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,uBAEJF,OAAO,CAACC,KAFJ;AAGPE,MAAAA,IAAI,EAAE,OAHC;AAIPC,MAAAA,MAAM,EACJ,wMALK;AAMPC,MAAAA,WAAW,EAAE,cANN;AAOPC,MAAAA,QAAQ,EAAE,qBAPH;AAQPC,MAAAA,GAAG,EAAE,0BARE;AASPC,MAAAA,SAAS,EAAE,EATJ;AAUPC,MAAAA,OAAO,EAAE,EAVF;AAWPC,MAAAA,GAAG,EAAE,EAXE;AAYPC,MAAAA,GAAG,EACD,qMAbK;AAcPC,MAAAA,OAAO,EAAE,sCAdF;AAePC,MAAAA,OAAO,EAAE,MAAM,CAAE,CAfV;AAgBPC,MAAAA,QAAQ,EAAE;AAhBH,QAkBT;AACEX,MAAAA,IAAI,EAAE,OADR;AAEEC,MAAAA,MAAM,EAAE,2EAFV;AAGEC,MAAAA,WAAW,EAAE,+BAHf;AAIEC,MAAAA,QAAQ,EAAE,mBAJZ;AAKEM,MAAAA,OAAO,EAAE,YALX;AAMEL,MAAAA,GAAG,EAAE,0BANP;AAOEC,MAAAA,SAAS,EAAE,EAPb;AAQEC,MAAAA,OAAO,EAAE,EARX;AASEC,MAAAA,GAAG,EAAE,EATP;AAUEI,MAAAA,QAAQ,EAAE,KAVZ;AAWED,MAAAA,OAAO,EAAE,MAAM,CAAE;AAXnB,KAlBS;AADN;AADM,CAAf","sourcesContent":["import Kontiki from '../../../../molecule/video-player/test/fixtures/kontiki';\n\nexport default {\n props: {\n resources: [\n {\n ...Kontiki.props,\n type: 'video',\n poster:\n 'https://api.coorpacademy.com/api-service/medias?url=https://static.coorpacademy.com/content/schneider-electric/en/medias/img/poster/vlcsnap-2015-08-18-19h41m19s916-1439919822187.png&h=250&w=250&q=90',\n description: 'R&ED Program',\n mimeType: 'application/kontiki',\n _id: '590b862e2e967f64333ad45f',\n subtitles: [],\n posters: [],\n src: [],\n url:\n '//schneider-electric.mc.eu1.kontiki.com/global/player?moid=3be700ca-9a15-4c43-bb90-45eae470c55d&repeat=false&client=false&context=embed&overlay=false&name=false&description=false&created_by=false',\n videoId: '3be700ca-9a15-4c43-bb90-45eae470c55d',\n onClick: () => {},\n selected: true\n },\n {\n type: 'video',\n poster: '//static.coorpacademy.com/content/digital/miniatures_cours/avance/1A1.png',\n description: 'Le concept de Knowledge Graph',\n mimeType: 'application/vimeo',\n videoId: '89404998\\n',\n _id: '590b862e2e967f64333ad45e',\n subtitles: [],\n posters: [],\n src: [],\n selected: false,\n onClick: () => {}\n }\n ]\n }\n};\n"],"file":"kontiki.js"}
|
|
@@ -3,7 +3,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
3
3
|
import mp4 from '../../../../molecule/video-player/test/fixtures/mp4';
|
|
4
4
|
export default {
|
|
5
5
|
props: {
|
|
6
|
-
resources: [_extends({}, mp4.props, {
|
|
6
|
+
resources: [_extends(_extends({}, mp4.props), {}, {
|
|
7
7
|
type: 'video',
|
|
8
8
|
poster: '//static.coorpacademy.com/content/digital/miniatures_cours/avance/1A1.png',
|
|
9
9
|
description: 'Big Buck Bunny video',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/resource-browser/test/fixtures/mp4.js"],"names":["mp4","props","resources","type","poster","description","_id","subtitles","posters","src","onClick","selected","height","mimeType","videoId"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,qDAAhB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/resource-browser/test/fixtures/mp4.js"],"names":["mp4","props","resources","type","poster","description","_id","subtitles","posters","src","onClick","selected","height","mimeType","videoId"],"mappings":";;AAAA,OAAOA,GAAP,MAAgB,qDAAhB;AAEA,eAAe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,SAAS,EAAE,uBAEJF,GAAG,CAACC,KAFA;AAGPE,MAAAA,IAAI,EAAE,OAHC;AAIPC,MAAAA,MAAM,EAAE,2EAJD;AAKPC,MAAAA,WAAW,EAAE,sBALN;AAMPC,MAAAA,GAAG,EAAE,0BANE;AAOPC,MAAAA,SAAS,EAAE,EAPJ;AAQPC,MAAAA,OAAO,EAAE,EARF;AASPC,MAAAA,GAAG,EAAE,EATE;AAUPC,MAAAA,OAAO,EAAE,MAAM,CAAE,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W,EAAE,+BAHf;AAIEQ,MAAAA,QAAQ,EAAE,mBAJZ;AAKEC,MAAAA,OAAO,EAAE,YALX;AAMER,MAAAA,GAAG,EAAE,0BANP;AAOEC,MAAAA,SAAS,EAAE,EAPb;AAQEC,MAAAA,OAAO,EAAE,EARX;AASEC,MAAAA,GAAG,EAAE,EATP;AAUEE,MAAAA,QAAQ,EAAE,KAVZ;AAWED,MAAAA,OAAO,EAAE,MAAM,CAAE;AAXnB,KA5FS;AADN;AADM,CAAf","sourcesContent":["import mp4 from '../../../../molecule/video-player/test/fixtures/mp4';\n\nexport default {\n props: {\n resources: [\n {\n ...mp4.props,\n type: 'video',\n poster: '//static.coorpacademy.com/content/digital/miniatures_cours/avance/1A1.png',\n description: 'Big Buck Bunny video',\n _id: '590b862e2e967f64333ad45d',\n subtitles: [],\n posters: [],\n src: [],\n onClick: () => {},\n selected: true,\n height: '343px'\n },\n {\n type: 'video',\n poster: '//static.coorpacademy.com/content/digital/miniatures_cours/avance/1A1.png',\n description: 'Le concept de Knowledge Graph',\n mimeType: 'application/vimeo',\n videoId: '89404998\\n',\n _id: '590b862e2e967f64333ad45e',\n subtitles: [],\n posters: [],\n src: [],\n selected: false,\n onClick: () => {}\n },\n {\n type: 'video',\n poster: '//static.coorpacademy.com/content/digital/miniatures_cours/avance/1A1.png',\n description: 'Le concept de Knowledge Graph',\n mimeType: 'application/vimeo',\n videoId: '89404998\\n',\n _id: '590b862e2e967f64333ad45f',\n subtitles: [],\n posters: [],\n src: [],\n selected: false,\n onClick: () => {}\n },\n {\n type: 'video',\n poster: '//static.coorpacademy.com/content/digital/miniatures_cours/avance/1A1.png',\n description: 'Le concept de Knowledge Graph',\n mimeType: 'application/vimeo',\n videoId: '89404998\\n',\n _id: '590b862e2e967f64333ad45g',\n subtitles: [],\n posters: [],\n src: [],\n selected: false,\n onClick: () => {}\n },\n {\n type: 'video',\n poster: '//static.coorpacademy.com/content/digital/miniatures_cours/avance/1A1.png',\n description: 'Le concept de Knowledge Graph',\n mimeType: 'application/vimeo',\n videoId: '89404998\\n',\n _id: '590b862e2e967f64333ad45h',\n subtitles: [],\n posters: [],\n src: [],\n selected: false,\n onClick: () => {}\n },\n {\n type: 'video',\n poster: '//static.coorpacademy.com/content/digital/miniatures_cours/avance/1A1.png',\n description: 'Le concept de Knowledge Graph',\n mimeType: 'application/vimeo',\n videoId: '89404998\\n',\n _id: '590b862e2e967f64333ad45i',\n subtitles: [],\n posters: [],\n src: [],\n selected: false,\n onClick: () => {}\n },\n {\n type: 'video',\n poster: '//static.coorpacademy.com/content/digital/miniatures_cours/avance/1A1.png',\n description: 'Le concept de Knowledge Graph',\n mimeType: 'application/vimeo',\n videoId: '89404998\\n',\n _id: '590b862e2e967f64333ad45j',\n subtitles: [],\n posters: [],\n src: [],\n selected: false,\n onClick: () => {}\n },\n {\n type: 'video',\n poster: '//static.coorpacademy.com/content/digital/miniatures_cours/avance/1A1.png',\n description: 'Le concept de Knowledge Graph',\n mimeType: 'application/vimeo',\n videoId: '89404998\\n',\n _id: '590b862e2e967f64333ad45k',\n subtitles: [],\n posters: [],\n src: [],\n selected: false,\n onClick: () => {}\n }\n ]\n }\n};\n"],"file":"mp4.js"}
|
|
@@ -10,8 +10,8 @@ import ButtonLink from '../../atom/button-link';
|
|
|
10
10
|
import Chips from '../../atom/chips';
|
|
11
11
|
import style from './style.css';
|
|
12
12
|
|
|
13
|
-
const buildResultView = (results, resultsAriaLabel, emptyMessages) => {
|
|
14
|
-
if (_isEmpty(results)) {
|
|
13
|
+
const buildResultView = (results, resultsAriaLabel, emptyMessages, isLoading) => {
|
|
14
|
+
if (!isLoading && _isEmpty(results)) {
|
|
15
15
|
return /*#__PURE__*/React.createElement(EmptySearchResult, emptyMessages);
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -33,6 +33,7 @@ const SearchAndChipsResults = props => {
|
|
|
33
33
|
selectAllButton,
|
|
34
34
|
results,
|
|
35
35
|
emptyMessages,
|
|
36
|
+
isLoading = false,
|
|
36
37
|
'results-aria-label': resultsAriaLabel
|
|
37
38
|
} = props;
|
|
38
39
|
const {
|
|
@@ -41,7 +42,7 @@ const SearchAndChipsResults = props => {
|
|
|
41
42
|
disabled = false,
|
|
42
43
|
'aria-label': ariaLabel
|
|
43
44
|
} = selectAllButton;
|
|
44
|
-
const resultView = buildResultView(results, resultsAriaLabel, emptyMessages);
|
|
45
|
+
const resultView = buildResultView(results, resultsAriaLabel, emptyMessages, isLoading);
|
|
45
46
|
const buttonProps = {
|
|
46
47
|
type: 'secondary',
|
|
47
48
|
label,
|
|
@@ -76,6 +77,7 @@ SearchAndChipsResults.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
76
77
|
disabled: PropTypes.bool,
|
|
77
78
|
'aria-label': PropTypes.string
|
|
78
79
|
}),
|
|
80
|
+
isLoading: PropTypes.bool,
|
|
79
81
|
search: PropTypes.shape(Search.PropTypes),
|
|
80
82
|
results: PropTypes.arrayOf(PropTypes.shape(Chips.propTypes)),
|
|
81
83
|
'results-aria-label': PropTypes.string,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/organism/search-and-chips-results/index.js"],"names":["React","PropTypes","EmptySearchResult","Search","ButtonLink","Chips","style","buildResultView","results","resultsAriaLabel","emptyMessages","items","map","result","index","SearchAndChipsResults","props","search","selectAllButton","onClick","label","disabled","ariaLabel","resultView","buttonProps","type","icon","position","container","header","button","resultContainer","propTypes","shape","string","func","bool","arrayOf","firstMessage","secondMessage"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,iBAAP,MAA8B,gCAA9B;AACA,OAAOC,MAAP,MAAmB,yBAAnB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,KAAP,MAAkB,kBAAlB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,eAAe,GAAG,CAACC,OAAD,EAAUC,gBAAV,EAA4BC,aAA5B,
|
|
1
|
+
{"version":3,"sources":["../../../src/organism/search-and-chips-results/index.js"],"names":["React","PropTypes","EmptySearchResult","Search","ButtonLink","Chips","style","buildResultView","results","resultsAriaLabel","emptyMessages","isLoading","items","map","result","index","SearchAndChipsResults","props","search","selectAllButton","onClick","label","disabled","ariaLabel","resultView","buttonProps","type","icon","position","container","header","button","resultContainer","propTypes","shape","string","func","bool","arrayOf","firstMessage","secondMessage"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,iBAAP,MAA8B,gCAA9B;AACA,OAAOC,MAAP,MAAmB,yBAAnB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,KAAP,MAAkB,kBAAlB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,eAAe,GAAG,CAACC,OAAD,EAAUC,gBAAV,EAA4BC,aAA5B,EAA2CC,SAA3C,KAAyD;AAC/E,MAAI,CAACA,SAAD,IAAc,SAAQH,OAAR,CAAlB,EAAoC;AAClC,wBAAO,oBAAC,iBAAD,EAAuBE,aAAvB,CAAP;AACD;;AAED,QAAME,KAAK,GAAGJ,OAAO,CAACK,GAAR,CAAY,CAACC,MAAD,EAASC,KAAT,KAAmB;AAC3C,wBACE;AAAI,MAAA,SAAS,EAAET,KAAK,CAACQ,MAArB;AAA6B,MAAA,GAAG,EAAG,UAASC,KAAM,EAAlD;AAAqD,mBAAY,UAASA,KAAM;AAAhF,oBACE,oBAAC,KAAD,EAAWD,MAAX,CADF,CADF;AAKD,GANa,CAAd;AAQA,sBAAO;AAAI,kBAAYL;AAAhB,KAAmCG,KAAnC,CAAP;AACD,CAdD;;AAgBA,MAAMI,qBAAqB,GAAGC,KAAK,IAAI;AACrC,QAAM;AACJC,IAAAA,MADI;AAEJC,IAAAA,eAFI;AAGJX,IAAAA,OAHI;AAIJE,IAAAA,aAJI;AAKJC,IAAAA,SAAS,GAAG,KALR;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kC;AAJO,GAAhB,CADe;AAOhCxB,EAAAA,SAAS,EAAEV,SAAS,CAACoC,IAPW;AAQhCnB,EAAAA,MAAM,EAAEjB,SAAS,CAACiC,KAAV,CAAgB/B,MAAM,CAACF,SAAvB,CARwB;AAShCO,EAAAA,OAAO,EAAEP,SAAS,CAACqC,OAAV,CAAkBrC,SAAS,CAACiC,KAAV,CAAgB7B,KAAK,CAAC4B,SAAtB,CAAlB,CATuB;AAUhC,wBAAsBhC,SAAS,CAACkC,MAVA;AAWhCzB,EAAAA,aAAa,EAAET,SAAS,CAACiC,KAAV,CAAgB;AAC7BK,IAAAA,YAAY,EAAEtC,SAAS,CAACkC,MADK;AAE7BK,IAAAA,aAAa,EAAEvC,SAAS,CAACkC;AAFI,GAAhB;AAXiB,CAAlC;AAiBA,eAAenB,qBAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {isEmpty} from 'lodash/fp';\nimport EmptySearchResult from '../../atom/empty-search-result';\nimport Search from '../../atom/input-search';\nimport ButtonLink from '../../atom/button-link';\nimport Chips from '../../atom/chips';\nimport style from './style.css';\n\nconst buildResultView = (results, resultsAriaLabel, emptyMessages, isLoading) => {\n if (!isLoading && isEmpty(results)) {\n return <EmptySearchResult {...emptyMessages} />;\n }\n\n const items = results.map((result, index) => {\n return (\n <li className={style.result} key={`result-${index}`} data-name={`result-${index}`}>\n <Chips {...result} />\n </li>\n );\n });\n\n return <ul aria-label={resultsAriaLabel}>{items}</ul>;\n};\n\nconst SearchAndChipsResults = props => {\n const {\n search,\n selectAllButton,\n results,\n emptyMessages,\n isLoading = false,\n 'results-aria-label': resultsAriaLabel\n } = props;\n\n const {onClick, label, disabled = false, 'aria-label': ariaLabel} = selectAllButton;\n const resultView = buildResultView(results, resultsAriaLabel, emptyMessages, isLoading);\n const buttonProps = {\n type: 'secondary',\n label,\n 'aria-label': ariaLabel,\n 'data-name': `select-all-button`,\n icon: {\n position: 'right',\n type: 'add'\n },\n onClick,\n disabled\n };\n\n return (\n <div className={style.container}>\n <div className={style.header}>\n <div className={style.button}>\n <ButtonLink {...buttonProps} />\n </div>\n <div className={style.search}>\n <Search {...search} theme=\"coorpmanager\" />\n </div>\n </div>\n <div className={style.resultContainer}>{resultView}</div>\n </div>\n );\n};\n\nSearchAndChipsResults.propTypes = {\n selectAllButton: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func,\n disabled: PropTypes.bool,\n 'aria-label': PropTypes.string\n }),\n isLoading: PropTypes.bool,\n search: PropTypes.shape(Search.PropTypes),\n results: PropTypes.arrayOf(PropTypes.shape(Chips.propTypes)),\n 'results-aria-label': PropTypes.string,\n emptyMessages: PropTypes.shape({\n firstMessage: PropTypes.string,\n secondMessage: PropTypes.string\n })\n};\n\nexport default SearchAndChipsResults;\n"],"file":"index.js"}
|