@coorpacademy/components 10.4.3 → 10.4.4
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/card-image-preview/index.js +35 -0
- package/es/atom/card-image-preview/index.js.map +1 -0
- package/es/atom/card-image-preview/style.css +34 -0
- package/es/atom/card-image-preview/test/fixtures/default.js +6 -0
- package/es/atom/card-image-preview/test/fixtures/default.js.map +1 -0
- package/es/atom/card-image-preview/test/fixtures/empty.js +4 -0
- package/es/atom/card-image-preview/test/fixtures/empty.js.map +1 -0
- 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/disabled.js +1 -1
- package/es/atom/input-switch/test/fixtures/disabled.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/test/fixtures.js +2 -0
- package/es/molecule/card/test/fixtures.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/cockpit-popin/test/fixtures.js +17 -0
- package/es/molecule/cockpit-popin/test/fixtures.js.map +1 -0
- 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/test/fixtures/default.js +2 -2
- package/es/organism/content-translation/test/fixtures/default.js.map +1 -1
- package/es/organism/course-selection/test/fixtures/default.js +8 -8
- 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/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/settings/index.js +2 -3
- package/es/organism/settings/index.js.map +1 -1
- package/es/organism/setup-header/index.js +6 -17
- package/es/organism/setup-header/index.js.map +1 -1
- package/es/organism/setup-header/test/fixtures/default.js +4 -1
- package/es/organism/setup-header/test/fixtures/default.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 +5 -5
- package/es/organism/wizard-contents/index.js.map +1 -1
- 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/card-image-preview/index.js +47 -0
- package/lib/atom/card-image-preview/index.js.map +1 -0
- package/lib/atom/card-image-preview/style.css +34 -0
- package/lib/atom/card-image-preview/test/fixtures/default.js +11 -0
- package/lib/atom/card-image-preview/test/fixtures/default.js.map +1 -0
- package/lib/atom/card-image-preview/test/fixtures/empty.js +9 -0
- package/lib/atom/card-image-preview/test/fixtures/empty.js.map +1 -0
- 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/disabled.js +1 -1
- package/lib/atom/input-switch/test/fixtures/disabled.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/test/fixtures.js +3 -0
- package/lib/molecule/card/test/fixtures.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/cockpit-popin/test/fixtures.js +28 -0
- package/lib/molecule/cockpit-popin/test/fixtures.js.map +1 -0
- 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/test/fixtures/default.js +2 -2
- package/lib/organism/content-translation/test/fixtures/default.js.map +1 -1
- package/lib/organism/course-selection/test/fixtures/default.js +8 -8
- 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/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/settings/index.js +2 -4
- package/lib/organism/settings/index.js.map +1 -1
- package/lib/organism/setup-header/index.js +6 -17
- package/lib/organism/setup-header/index.js.map +1 -1
- package/lib/organism/setup-header/test/fixtures/default.js +4 -1
- package/lib/organism/setup-header/test/fixtures/default.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 +5 -5
- package/lib/organism/wizard-contents/index.js.map +1 -1
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/molecule/video-player/vimeo.js"],"names":["eventNames","ready","play","pause","ended","timeupdate","progress","seeked","texttrackchange","cuechange","cuepoint","volumechange","error","loaded","Vimeo","React","Component","constructor","props","context","refContainer","bind","state","isLoading","componentDidMount","createPlayer","componentDidUpdate","prevProps","changes","filter","key","current","prev","updateProps","getInitialOptions","id","width","height","autopause","autoplay","showByline","color","loop","showPortrait","showTitle","byline","portrait","title","propNames","player","forEach","value","element","loadVideo","unload","options","V","Player","container","on","setState","dmName","reactName","e","handler","render","className","Provider","childContextTypes","propTypes","PropTypes","oneOfType","number","string","paused","bool","onReady","func","onError","onPlay","onPause","onEnd","onTimeUpdate","onProgress","onSeeked","onTextTrackChange","onCueChange","onCuePoint","onVolumeChange","onLoaded"],"mappings":";;;;;;;AAIA;;AACA;;AAEA;;AACA;;;;;;;;AAEA,MAAMA,UAAU,GAAG;AACjBC,EAAAA,KAAK,EAAE,SADU;AAEjBC,EAAAA,IAAI,EAAE,QAFW;AAGjBC,EAAAA,KAAK,EAAE,SAHU;AAIjBC,EAAAA,KAAK,EAAE,SAJU;AAKjBC,EAAAA,UAAU,EAAE,cALK;AAMjBC,EAAAA,QAAQ,EAAE,YANO;AAOjBC,EAAAA,MAAM,EAAE,UAPS;AAQjBC,EAAAA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A+EjB;AACJ;AACA;AACA;AACII,EAAAA,KAAK,EAAEX,mBAAUO,IAnFA;;AAoFjB;AACJ;AACA;AACA;AACIK,EAAAA,YAAY,EAAEZ,mBAAUO,IAxFP;;AAyFjB;AACJ;AACA;AACA;AACIM,EAAAA,UAAU,EAAEb,mBAAUO,IA7FL;;AA8FjB;AACJ;AACA;AACA;AACIO,EAAAA,QAAQ,EAAEd,mBAAUO,IAlGH;;AAmGjB;AACJ;AACA;AACA;AACIQ,EAAAA,iBAAiB,EAAEf,mBAAUO,IAvGZ;;AAwGjB;AACJ;AACA;AACA;AACA;AACIS,EAAAA,WAAW,EAAEhB,mBAAUO,IA7GN;;AA8GjB;AACJ;AACA;AACIU,EAAAA,UAAU,EAAEjB,mBAAUO,IAjHL;;AAkHjB;AACJ;AACA;AACA;AACA;AACIW,EAAAA,cAAc,EAAElB,mBAAUO,IAvHT;;AAwHjB;AACJ;AACA;AACIY,EAAAA,QAAQ,EAAEnB,mBAAUO;AA3HH,C;eA8PN/D,K","sourcesContent":["/*\n from https://github.com/u-wave/react-vimeo\n adapted to use Vimeo.js from context and support width: 100%\n*/\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport {keys} from 'lodash/fp';\nimport Provider from '../../atom/provider';\nimport Loader from '../../atom/loader';\n\nconst eventNames = {\n ready: 'onReady',\n play: 'onPlay',\n pause: 'onPause',\n ended: 'onEnded',\n timeupdate: 'onTimeUpdate',\n progress: 'onProgress',\n seeked: 'onSeeked',\n texttrackchange: 'onTextTrackChange',\n cuechange: 'onCueChange',\n cuepoint: 'onCuePoint',\n volumechange: 'onVolumeChange',\n error: 'onError',\n loaded: 'onLoaded'\n};\n\nclass Vimeo extends React.Component {\n static propTypes = {\n /**\n * A Vimeo ID or URL.\n */\n id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * CSS className for the player element.\n */\n className: PropTypes.string,\n /**\n * Width of the player element.\n */\n width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Height of the player element.\n */\n height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Pause the video.\n */\n paused: PropTypes.bool,\n\n // Player parameters\n /**\n * Pause this video automatically when another one plays.\n */\n autopause: PropTypes.bool,\n\n /**\n * Automatically start playback of the video. Note that this won’t work on\n * some devices.\n */\n autoplay: PropTypes.bool,\n\n /**\n * Show the byline on the video.\n */\n showByline: PropTypes.bool,\n\n /**\n * Specify the color of the video controls. Colors may be overridden by the\n * embed settings of the video.\n */\n color: PropTypes.string,\n\n /**\n * Play the video again when it reaches the end.\n */\n loop: PropTypes.bool,\n\n /**\n * Show the portrait on the video.\n */\n showPortrait: PropTypes.bool,\n\n /**\n * Show the title on the video.\n */\n showTitle: PropTypes.bool,\n\n // Events\n\n /**\n * Sent when the Vimeo player API has loaded.\n */\n onReady: PropTypes.func,\n /**\n * Sent when the player triggers an error.\n */\n onError: PropTypes.func,\n /**\n * Triggered when the video plays.\n */\n onPlay: PropTypes.func,\n /**\n * Triggered when the video pauses.\n */\n onPause: PropTypes.func,\n /**\n * Triggered any time the video playback reaches the end.\n * Note: when `loop` is turned on, the ended event will not fire.\n */\n onEnd: PropTypes.func,\n /**\n * Triggered as the `currentTime` of the video updates. It generally fires\n * every 250ms, but it may vary depending on the browser.\n */\n onTimeUpdate: PropTypes.func,\n /**\n * Triggered as the video is loaded. Reports back the amount of the video\n * that has been buffered.\n */\n onProgress: PropTypes.func,\n /**\n * Triggered when the player seeks to a specific time. An `onTimeUpdate`\n * event will also be fired at the same time.\n */\n onSeeked: PropTypes.func,\n /**\n * Triggered when the active text track (captions/subtitles) changes. The\n * values will be `null` if text tracks are turned off.\n */\n onTextTrackChange: PropTypes.func,\n /**\n * Triggered when the active cue for the current text track changes. It also\n * fires when the active text track changes. There may be multiple cues\n * active.\n */\n onCueChange: PropTypes.func,\n /**\n * Triggered when the current time hits a registered cue point.\n */\n onCuePoint: PropTypes.func,\n /**\n * Triggered when the volume in the player changes. Some devices do not\n * support setting the volume of the video independently from the system\n * volume, so this event will never fire on those devices.\n */\n onVolumeChange: PropTypes.func,\n /**\n * Triggered when a new video is loaded in the player.\n */\n onLoaded: PropTypes.func\n };\n\n static contextTypes = {\n Vimeo: Provider.childContextTypes.Vimeo\n };\n\n static defaultProps = {\n autopause: true,\n autoplay: false,\n loop: false,\n showByline: true,\n showPortrait: true,\n showTitle: true\n };\n\n constructor(props, context) {\n super(props, context);\n this.refContainer = this.refContainer.bind(this);\n this.state = {\n isLoading: true\n };\n }\n\n componentDidMount() {\n this.createPlayer();\n }\n\n componentDidUpdate(prevProps) {\n const changes = keys(this.props).filter(key => {\n const {[key]: current} = this.props;\n const {[key]: prev} = prevProps;\n return current !== prev;\n });\n this.updateProps(changes);\n }\n\n getInitialOptions() {\n const {\n id,\n width,\n height,\n autopause,\n autoplay,\n showByline,\n color,\n loop,\n showPortrait,\n showTitle\n } = this.props;\n return {\n id,\n width,\n height,\n autopause,\n autoplay,\n byline: showByline,\n color,\n loop,\n portrait: showPortrait,\n title: showTitle\n };\n }\n\n updateProps(propNames) {\n const player = this.player;\n propNames.forEach(key => {\n const {[key]: value} = this.props;\n switch (key) {\n case 'width':\n case 'height':\n player.element[key] = value;\n break;\n case 'id':\n if (value) {\n player.loadVideo(value);\n } else {\n player.unload();\n }\n break;\n case 'autoplay':\n player.play();\n break;\n }\n });\n }\n\n createPlayer() {\n const options = this.getInitialOptions();\n const {Vimeo: V} = this.context;\n if (!V) return null;\n\n const {Player} = V;\n this.player = new Player(this.container, {\n ...options,\n width: '1',\n height: '1'\n });\n this.player.on('loaded', () => {\n this.updateProps(['width', 'height']);\n this.setState(state => ({\n isLoading: false\n }));\n });\n\n keys(eventNames).forEach(dmName => {\n const {[dmName]: reactName} = eventNames;\n this.player.on(dmName, e => {\n const {[reactName]: handler} = this.props;\n if (handler) {\n handler(e);\n }\n });\n });\n }\n\n refContainer(container) {\n this.container = container;\n }\n\n render() {\n const {className, height, width} = this.props;\n const {isLoading} = this.state;\n return (\n <div className={className} ref={this.refContainer} style={{height, width}}>\n {isLoading ? <Loader /> : null}\n </div>\n );\n }\n}\n\nexport default Vimeo;\n"],"file":"vimeo.js"}
|
|
1
|
+
{"version":3,"sources":["../../../src/molecule/video-player/vimeo.js"],"names":["eventNames","ready","play","pause","ended","timeupdate","progress","seeked","texttrackchange","cuechange","cuepoint","volumechange","error","loaded","Vimeo","React","Component","constructor","props","context","refContainer","bind","state","isLoading","componentDidMount","createPlayer","componentDidUpdate","prevProps","changes","filter","key","current","prev","updateProps","getInitialOptions","id","width","height","autopause","autoplay","showByline","color","loop","showPortrait","showTitle","byline","portrait","title","propNames","player","forEach","value","element","loadVideo","unload","options","V","Player","container","on","setState","dmName","reactName","e","handler","render","className","Provider","childContextTypes","propTypes","PropTypes","oneOfType","number","string","paused","bool","onReady","func","onError","onPlay","onPause","onEnd","onTimeUpdate","onProgress","onSeeked","onTextTrackChange","onCueChange","onCuePoint","onVolumeChange","onLoaded"],"mappings":";;;;;;;AAIA;;AACA;;AAEA;;AACA;;;;;;;;AAEA,MAAMA,UAAU,GAAG;AACjBC,EAAAA,KAAK,EAAE,SADU;AAEjBC,EAAAA,IAAI,EAAE,QAFW;AAGjBC,EAAAA,KAAK,EAAE,SAHU;AAIjBC,EAAAA,KAAK,EAAE,SAJU;AAKjBC,EAAAA,UAAU,EAAE,cALK;AAMjBC,EAAAA,QAAQ,EAAE,YANO;AAOjBC,EAAAA,MAAM,EAAE,UAPS;AAQjBC,EAAAA,eAAe,EAAE,mBARA;AASjBC,EAAAA,SAAS,EAAE,aATM;AAUjBC,EAAAA,QAAQ,EAAE,YAVO;AAWjBC,EAAAA,YAAY,EAAE,gBAXG;AAYjBC,EAAAA,KAAK,EAAE,SAZU;AAajBC,EAAAA,MAAM,EAAE;AAbS,CAAnB;;AAgBA,MAAMC,KAAN,SAAoBC,eAAMC,SAA1B,CAAoC;AA4IlCC,EAAAA,WAAW,CAACC,KAAD,EAAQC,OAAR,EAAiB;AAC1B,UAAMD,KAA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,mBAAUO,IAvHT;;AAwHjB;;;AAGAY,EAAAA,QAAQ,EAAEnB,mBAAUO;AA3HH,C;eA8PN/D,K","sourcesContent":["/*\n from https://github.com/u-wave/react-vimeo\n adapted to use Vimeo.js from context and support width: 100%\n*/\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport {keys} from 'lodash/fp';\nimport Provider from '../../atom/provider';\nimport Loader from '../../atom/loader';\n\nconst eventNames = {\n ready: 'onReady',\n play: 'onPlay',\n pause: 'onPause',\n ended: 'onEnded',\n timeupdate: 'onTimeUpdate',\n progress: 'onProgress',\n seeked: 'onSeeked',\n texttrackchange: 'onTextTrackChange',\n cuechange: 'onCueChange',\n cuepoint: 'onCuePoint',\n volumechange: 'onVolumeChange',\n error: 'onError',\n loaded: 'onLoaded'\n};\n\nclass Vimeo extends React.Component {\n static propTypes = {\n /**\n * A Vimeo ID or URL.\n */\n id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * CSS className for the player element.\n */\n className: PropTypes.string,\n /**\n * Width of the player element.\n */\n width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Height of the player element.\n */\n height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Pause the video.\n */\n paused: PropTypes.bool,\n\n // Player parameters\n /**\n * Pause this video automatically when another one plays.\n */\n autopause: PropTypes.bool,\n\n /**\n * Automatically start playback of the video. Note that this won’t work on\n * some devices.\n */\n autoplay: PropTypes.bool,\n\n /**\n * Show the byline on the video.\n */\n showByline: PropTypes.bool,\n\n /**\n * Specify the color of the video controls. Colors may be overridden by the\n * embed settings of the video.\n */\n color: PropTypes.string,\n\n /**\n * Play the video again when it reaches the end.\n */\n loop: PropTypes.bool,\n\n /**\n * Show the portrait on the video.\n */\n showPortrait: PropTypes.bool,\n\n /**\n * Show the title on the video.\n */\n showTitle: PropTypes.bool,\n\n // Events\n\n /**\n * Sent when the Vimeo player API has loaded.\n */\n onReady: PropTypes.func,\n /**\n * Sent when the player triggers an error.\n */\n onError: PropTypes.func,\n /**\n * Triggered when the video plays.\n */\n onPlay: PropTypes.func,\n /**\n * Triggered when the video pauses.\n */\n onPause: PropTypes.func,\n /**\n * Triggered any time the video playback reaches the end.\n * Note: when `loop` is turned on, the ended event will not fire.\n */\n onEnd: PropTypes.func,\n /**\n * Triggered as the `currentTime` of the video updates. It generally fires\n * every 250ms, but it may vary depending on the browser.\n */\n onTimeUpdate: PropTypes.func,\n /**\n * Triggered as the video is loaded. Reports back the amount of the video\n * that has been buffered.\n */\n onProgress: PropTypes.func,\n /**\n * Triggered when the player seeks to a specific time. An `onTimeUpdate`\n * event will also be fired at the same time.\n */\n onSeeked: PropTypes.func,\n /**\n * Triggered when the active text track (captions/subtitles) changes. The\n * values will be `null` if text tracks are turned off.\n */\n onTextTrackChange: PropTypes.func,\n /**\n * Triggered when the active cue for the current text track changes. It also\n * fires when the active text track changes. There may be multiple cues\n * active.\n */\n onCueChange: PropTypes.func,\n /**\n * Triggered when the current time hits a registered cue point.\n */\n onCuePoint: PropTypes.func,\n /**\n * Triggered when the volume in the player changes. Some devices do not\n * support setting the volume of the video independently from the system\n * volume, so this event will never fire on those devices.\n */\n onVolumeChange: PropTypes.func,\n /**\n * Triggered when a new video is loaded in the player.\n */\n onLoaded: PropTypes.func\n };\n\n static contextTypes = {\n Vimeo: Provider.childContextTypes.Vimeo\n };\n\n static defaultProps = {\n autopause: true,\n autoplay: false,\n loop: false,\n showByline: true,\n showPortrait: true,\n showTitle: true\n };\n\n constructor(props, context) {\n super(props, context);\n this.refContainer = this.refContainer.bind(this);\n this.state = {\n isLoading: true\n };\n }\n\n componentDidMount() {\n this.createPlayer();\n }\n\n componentDidUpdate(prevProps) {\n const changes = keys(this.props).filter(key => {\n const {[key]: current} = this.props;\n const {[key]: prev} = prevProps;\n return current !== prev;\n });\n this.updateProps(changes);\n }\n\n getInitialOptions() {\n const {\n id,\n width,\n height,\n autopause,\n autoplay,\n showByline,\n color,\n loop,\n showPortrait,\n showTitle\n } = this.props;\n return {\n id,\n width,\n height,\n autopause,\n autoplay,\n byline: showByline,\n color,\n loop,\n portrait: showPortrait,\n title: showTitle\n };\n }\n\n updateProps(propNames) {\n const player = this.player;\n propNames.forEach(key => {\n const {[key]: value} = this.props;\n switch (key) {\n case 'width':\n case 'height':\n player.element[key] = value;\n break;\n case 'id':\n if (value) {\n player.loadVideo(value);\n } else {\n player.unload();\n }\n break;\n case 'autoplay':\n player.play();\n break;\n }\n });\n }\n\n createPlayer() {\n const options = this.getInitialOptions();\n const {Vimeo: V} = this.context;\n if (!V) return null;\n\n const {Player} = V;\n this.player = new Player(this.container, {\n ...options,\n width: '1',\n height: '1'\n });\n this.player.on('loaded', () => {\n this.updateProps(['width', 'height']);\n this.setState(state => ({\n isLoading: false\n }));\n });\n\n keys(eventNames).forEach(dmName => {\n const {[dmName]: reactName} = eventNames;\n this.player.on(dmName, e => {\n const {[reactName]: handler} = this.props;\n if (handler) {\n handler(e);\n }\n });\n });\n }\n\n refContainer(container) {\n this.container = container;\n }\n\n render() {\n const {className, height, width} = this.props;\n const {isLoading} = this.state;\n return (\n <div className={className} ref={this.refContainer} style={{height, width}}>\n {isLoading ? <Loader /> : null}\n </div>\n );\n }\n}\n\nexport default Vimeo;\n"],"file":"vimeo.js"}
|
|
@@ -19,9 +19,9 @@ var _buttonLink = _interopRequireDefault(require("../../atom/button-link"));
|
|
|
19
19
|
|
|
20
20
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
21
21
|
|
|
22
|
-
function _getRequireWildcardCache(
|
|
22
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
23
23
|
|
|
24
|
-
function _interopRequireWildcard(obj
|
|
24
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
25
|
|
|
26
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
27
27
|
|
|
@@ -17,9 +17,9 @@ var _part = _interopRequireDefault(require("../part"));
|
|
|
17
17
|
|
|
18
18
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
19
19
|
|
|
20
|
-
function _getRequireWildcardCache(
|
|
20
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
21
21
|
|
|
22
|
-
function _interopRequireWildcard(obj
|
|
22
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
23
|
|
|
24
24
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
25
|
|
|
@@ -17,9 +17,9 @@ var _part = _interopRequireDefault(require("./part"));
|
|
|
17
17
|
|
|
18
18
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
19
19
|
|
|
20
|
-
function _getRequireWildcardCache(
|
|
20
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
21
21
|
|
|
22
|
-
function _interopRequireWildcard(obj
|
|
22
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
23
|
|
|
24
24
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
25
|
|
|
@@ -93,7 +93,7 @@ const Accordion = props => {
|
|
|
93
93
|
|
|
94
94
|
const tabs = _map2.default.convert({
|
|
95
95
|
cap: false
|
|
96
|
-
})((tab, index) => _extends({}, tab, {
|
|
96
|
+
})((tab, index) => _extends(_extends({}, tab), {}, {
|
|
97
97
|
child: children[index],
|
|
98
98
|
children: undefined
|
|
99
99
|
}))(tabProps);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/organism/accordion/coorp-manager/index.js"],"names":["themeStyle","setup","style","setupWrapper","default","wrapper","Tab","children","index","title","selected","iconType","onClick","href","type","theme","isOpen","onUpdateOpenedTab","handleOnClick","evt","wrapperHidden","propTypes","Part","content","PropTypes","number","Accordion","props","tabProps","selectedIndex","item","openedTab","updateOpenedTab","tabs","convert","cap","tab","child","undefined","accordion","defaultProps","arrayOf","shape","oneOf"],"mappings":";;;;;;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AA,KAAK,EAAEa,cAAKD,SAAL,CAAeZ,KAHR;AAIdE,EAAAA,QAAQ,EAAEW,cAAKD,SAAL,CAAeV,QAJX;AAKdI,EAAAA,KAAK,EAAEO,cAAKD,SAAL,CAAeN,KALR;AAMdH,EAAAA,OAAO,EAAEU,cAAKD,SAAL,CAAeT,OANV;AAOdF,EAAAA,QAAQ,EAAEY,cAAKD,SAAL,CAAeX,QAPX;AAQdI,EAAAA,IAAI,EAAEQ,cAAKD,SAAL,CAAeP,IARP;AASdD,EAAAA,IAAI,EAAES,cAAKD,SAAL,CAAeR,IATP;AAUdG,EAAAA,MAAM,EAAEM,cAAKD,SAAL,CAAeL,MAVT;AAWdC,EAAAA,iBAAiB,EAAEK,cAAKD,SAAL,CAAeJ;AAXpB,CAAhB;;AAcA,MAAMS,SAAS,GAAGC,KAAK,IAAI;AACzB,QAAM;AAACC,IAAAA,QAAD;AAAWrB,IAAAA,QAAX;AAAqBQ,IAAAA,KAAK,GAAG,SAA7B;AAAwCH,IAAAA,OAAO;AAA/C,MAA0De,KAAhE;AACA,QAAME,aAAa,GAAG,yBAAUC,IAAI,IAAIA,IAAI,CAACpB,QAAvB,EAAiCkB,QAAjC,CAAtB;AAEA,QAAM,CAACG,SAAD,EAAYC,eAAZ,IAA+B,qBAASH,aAAT,CAArC;AACA,wBAAU,MAAM;AACdG,IAAAA,eAAe,CAACH,aAAD,CAAf;AACD,GAFD,EAEG,CAACA,aAAD,CAFH;;AAIA,QAAMI,IAAI,GAAG,cAAIC,OAAJ,CAAY;AAACC,IAAAA,GAAG,EAAE;AAAN,GAAZ,EAA0B,CAACC,GAAD,EAAM5B,KAAN,
|
|
1
|
+
{"version":3,"sources":["../../../../src/organism/accordion/coorp-manager/index.js"],"names":["themeStyle","setup","style","setupWrapper","default","wrapper","Tab","children","index","title","selected","iconType","onClick","href","type","theme","isOpen","onUpdateOpenedTab","handleOnClick","evt","wrapperHidden","propTypes","Part","content","PropTypes","number","Accordion","props","tabProps","selectedIndex","item","openedTab","updateOpenedTab","tabs","convert","cap","tab","child","undefined","accordion","defaultProps","arrayOf","shape","oneOf"],"mappings":";;;;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;;;;;;;;;AAEA,MAAMA,UAAU,GAAG;AACjBC,EAAAA,KAAK,EAAEC,eAAMC,YADI;AAEjBC,EAAAA,OAAO,EAAEF,eAAMG;AAFE,CAAnB;;AAKA,MAAMC,GAAG,GAAG,CAAC;AACXC,EAAAA,QADW;AAEXC,EAAAA,KAFW;AAGXC,EAAAA,KAHW;AAIXC,EAAAA,QAJW;AAKXC,EAAAA,QALW;AAMXC,EAAAA,OANW;AAOXC,EAAAA,IAPW;AAQXC,EAAAA,IARW;AASXC,EAAAA,KATW;AAUXC,EAAAA,MAVW;AAWXC,EAAAA;AAXW,CAAD,KAYN;AACJ,QAAMC,aAAa,GAAG,oBAAQ,MAAMC,GAAG,IAAIP,OAAO,CAACJ,KAAD,EAAQW,GAAR,CAA5B,EAA0C,CAACX,KAAD,EAAQI,OAAR,CAA1C,CAAtB;AACA,SAAOL,QAAQ,gBACb;AAAK,iBAAU,WAAf;AAA2B,IAAA,SAAS,EAAEP,UAAU,CAACe,KAAD;AAAhD,kBACE,6BAAC,aAAD;AACE,IAAA,QAAQ,EAAEJ,QADZ;AAEE,IAAA,KAAK,EAAEF,KAFT;AAGE,IAAA,OAAO,EAAEF,QAHX;AAIE,IAAA,QAAQ,EAAEG,QAJZ;AAKE,IAAA,KAAK,EAAEK,KALT;AAME,IAAA,IAAI,EAAEF,IANR;AAOE,IAAA,IAAI,EAAEC,IAPR;AAQE,IAAA,OAAO,EAAEI,aARX;AASE,IAAA,iBAAiB,EAAED,iBATrB;AAUE,IAAA,MAAM,EAAED;AAVV,IADF,CADa,gBAgBb;AAAK,iBAAU,WAAf;AAA2B,IAAA,SAAS,EAAEd,eAAMkB;AAA5C,IAhBF;AAkBD,CAhCD;;AAkCAd,GAAG,CAACe,SAAJ,2CAAgB;AACdd,EAAAA,QAAQ,E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KAAK,EAAEF,GAAG,CAACe,SAAJ,CAAcb,KANP;AAOdD,IAAAA,QAAQ,EAAED,GAAG,CAACe,SAAJ,CAAcd;AAPV,GAAhB,CADQ,CAFU;AAapBK,EAAAA,OAAO,EAAEN,GAAG,CAACe,SAAJ,CAAcT,OAbH;AAcpBG,EAAAA,KAAK,EAAES,mBAAUmB,KAAV,CAAgB,CAAC,OAAD,EAAU,SAAV,CAAhB;AAda,CAAtB;eAiBejB,S","sourcesContent":["import React, {useMemo, useEffect, useState} from 'react';\nimport PropTypes from 'prop-types';\nimport {map, noop, findIndex} from 'lodash/fp';\nimport Part from './part';\nimport style from './style.css';\n\nconst themeStyle = {\n setup: style.setupWrapper,\n default: style.wrapper\n};\n\nconst Tab = ({\n children,\n index,\n title,\n selected,\n iconType,\n onClick,\n href,\n type,\n theme,\n isOpen,\n onUpdateOpenedTab\n}) => {\n const handleOnClick = useMemo(() => evt => onClick(index, evt), [index, onClick]);\n return children ? (\n <div data-name=\"accordion\" className={themeStyle[theme]}>\n <Part\n iconType={iconType}\n title={title}\n content={children}\n selected={selected}\n theme={theme}\n href={href}\n type={type}\n onClick={handleOnClick}\n onUpdateOpenedTab={onUpdateOpenedTab}\n isOpen={isOpen}\n />\n </div>\n ) : (\n <div data-name=\"accordion\" className={style.wrapperHidden} />\n );\n};\n\nTab.propTypes = {\n children: Part.propTypes.content,\n index: PropTypes.number,\n title: Part.propTypes.title,\n iconType: Part.propTypes.iconType,\n theme: Part.propTypes.theme,\n onClick: Part.propTypes.onClick,\n selected: Part.propTypes.selected,\n type: Part.propTypes.type,\n href: Part.propTypes.href,\n isOpen: Part.propTypes.isOpen,\n onUpdateOpenedTab: Part.propTypes.onUpdateOpenedTab\n};\n\nconst Accordion = props => {\n const {tabProps, children, theme = 'default', onClick = noop} = props;\n const selectedIndex = findIndex(item => item.selected, tabProps);\n\n const [openedTab, updateOpenedTab] = useState(selectedIndex);\n useEffect(() => {\n updateOpenedTab(selectedIndex);\n }, [selectedIndex]);\n\n const tabs = map.convert({cap: false})((tab, index) => ({\n ...tab,\n child: children[index],\n children: undefined\n }))(tabProps);\n\n const accordion = map.convert({cap: false})((tab, index) => {\n const isOpen = openedTab === index;\n function onUpdateOpenedTab() {\n updateOpenedTab(isOpen ? -1 : index);\n }\n return (\n <Tab\n {...tab}\n key={index}\n index={index}\n theme={theme}\n onClick={onClick}\n onUpdateOpenedTab={onUpdateOpenedTab}\n isOpen={isOpen}\n >\n {tab.child}\n </Tab>\n );\n }, tabs);\n\n return <div>{accordion}</div>;\n};\n\nAccordion.defaultProps = {\n children: []\n};\n\nAccordion.propTypes = {\n children: PropTypes.arrayOf(Tab.propTypes.children),\n tabProps: PropTypes.arrayOf(\n PropTypes.shape({\n title: Tab.propTypes.title,\n iconType: Tab.propTypes.iconType,\n selected: Tab.propTypes.selected,\n type: Tab.propTypes.type,\n href: Tab.propTypes.href,\n index: Tab.propTypes.index,\n children: Tab.propTypes.children\n })\n ),\n onClick: Tab.propTypes.onClick,\n theme: PropTypes.oneOf(['setup', 'default'])\n};\n\nexport default Accordion;\n"],"file":"index.js"}
|
|
@@ -64,7 +64,7 @@ class AccordionToggler extends _react.default.Component {
|
|
|
64
64
|
const {
|
|
65
65
|
isOpenValues
|
|
66
66
|
} = this.state;
|
|
67
|
-
return (0, _zipWith2.default)((props, isOpen) => _extends({}, props, {
|
|
67
|
+
return (0, _zipWith2.default)((props, isOpen) => _extends(_extends({}, props), {}, {
|
|
68
68
|
isOpen
|
|
69
69
|
}), tabProps, isOpenValues);
|
|
70
70
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/organism/accordion/toggler/index.js"],"names":["AccordionToggler","React","Component","getDerivedStateFromProps","props","state","isOpenValues","length","tabProps","constructor","handleOnClick","bind","key","oneTabOnly","setState","prevState","mergePropsAndState","isOpen","render","children","theme","propTypes","PropTypes","arrayOf","shape","Accordion","bool","string","node"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AAGA;;;;;;AAEA,MAAMA,gBAAN,SAA+BC,eAAMC,SAArC,CAA+C;
|
|
1
|
+
{"version":3,"sources":["../../../../src/organism/accordion/toggler/index.js"],"names":["AccordionToggler","React","Component","getDerivedStateFromProps","props","state","isOpenValues","length","tabProps","constructor","handleOnClick","bind","key","oneTabOnly","setState","prevState","mergePropsAndState","isOpen","render","children","theme","propTypes","PropTypes","arrayOf","shape","Accordion","bool","string","node"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AAGA;;;;;;AAEA,MAAMA,gBAAN,SAA+BC,eAAMC,SAArC,CAA+C;AAQ7C,SAAOC,wBAAP,CAAgCC,KAAhC,EAAuCC,KAAvC,EAA8C;AAC5C,QAAIA,KAAK,CAACC,YAAN,IAAsBD,KAAK,CAACC,YAAN,CAAmBC,MAAnB,KAA8BH,KAAK,CAACI,QAAN,CAAeD,MAAvE,EAA+E,OAAO,IAAP;AAE/E,UAAMD,YAAY,GAAG,mBAAI,qBAAM,KAAN,EAAa,QAAb,CAAJ,EAA4BF,KAAK,CAACI,QAAlC,CAArB;AACA,WAAO;AAACF,MAAAA;AAAD,KAAP;AACD;;AAEDG,EAAAA,WAAW,CAACL,KAAD,EAAQ;AACjB,UAAMA,KAAN;AAEA,SAAKC,KAAL,GAAa;AAACC,MAAAA,YAAY,EAAE;AAAf,KAAb;AAEA,SAAKI,aAAL,GAAqB,KAAKA,aAAL,CAAmBC,IAAnB,CAAwB,IAAxB,CAArB;AACD;;AAEDD,EAAAA,aAAa,CAACE,GAAD,EAAM;AACjB,UAAM;AAACC,MAAAA;AAAD,QAAe,KAAKT,KAA1B;AACA,SAAKU,QAAL,CAAcC,SAAS,IAAI;AACzB,aAAO;AACLT,QAAAA,YAAY,EAAE,oBACZO,UAAU,GAAG,mBAAI,wBAAS,KAAT,CAAJ,CAAH,qBADE,EAEZ,mBAAID,GAAJ,EAAS,CAAC,mBAAIA,GAAJ,EAASG,SAAS,CAACT,YAAnB,CAAV,CAFY,EAGZS,SAAS,CAACT,YAHE;AADT,OAAP;AAMD,KAPD;AAQD;;AAEDU,EAAAA,kBAAkB,GAAG;AACnB,UAAM;AAACR,MAAAA;AAAD,QAAa,KAAKJ,KAAxB;AACA,UAAM;AAACE,MAAAA;AAAD,QAAiB,KAAKD,KAA5B;AAEA,WAAO,uBACL,CAACD,KAAD,EAAQa,MAAR,2BACKb,KADL;AAEEa,MAAAA;AAFF,MADK,EAKLT,QALK,EAMLF,YANK,CAAP;AAQD;;AAEDY,EAAAA,MAAM,GAAG;AACP,UAAM;AAACC,MAAAA,QAAQ,GAAG,EAAZ;AAAgBC,MAAAA;AAAhB,QAAyB,KAAKhB,KAApC;AACA,wBACE,6BAAC,kBAAD;AAAW,MAAA,QAAQ,EAAE,KAAKY,kBAAL,EAArB;AAAgD,MAAA,OAAO,EAAE,KAAKN,aAA9D;AAA6E,MAAA,KAAK,EAAEU;AAApF,OACGD,QADH,CADF;AAKD;;AAxD4C;;AAAzCnB,gB,CACGqB,S,2CAAY;AACjBb,EAAAA,QAAQ,EAAEc,mBAAUC,OAAV,CAAkBD,mBAAUE,KAAV,CAAgBC,mBAAUJ,SAA1B,CAAlB,CADO;AAEjBR,EAAAA,UAAU,EAAES,mBAAUI,IAFL;AAGjBN,EAAAA,KAAK,EAAEE,mBAAUK,MAHA;AAIjBR,EAAAA,QAAQ,EAAEG,mBAAUM;AAJH,C;eA0DN5B,gB","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map, pipe, set, get, getOr, identity, constant, zipWith} from 'lodash/fp';\n\nimport Accordion from '../container';\n\nclass AccordionToggler extends React.Component {\n static propTypes = {\n tabProps: PropTypes.arrayOf(PropTypes.shape(Accordion.propTypes)),\n oneTabOnly: PropTypes.bool,\n theme: PropTypes.string,\n children: PropTypes.node\n };\n\n static getDerivedStateFromProps(props, state) {\n if (state.isOpenValues && state.isOpenValues.length === props.tabProps.length) return null;\n\n const isOpenValues = map(getOr(false, 'isOpen'), props.tabProps);\n return {isOpenValues};\n }\n\n constructor(props) {\n super(props);\n\n this.state = {isOpenValues: null};\n\n this.handleOnClick = this.handleOnClick.bind(this);\n }\n\n handleOnClick(key) {\n const {oneTabOnly} = this.props;\n this.setState(prevState => {\n return {\n isOpenValues: pipe(\n oneTabOnly ? map(constant(false)) : identity,\n set(key, !get(key, prevState.isOpenValues))\n )(prevState.isOpenValues)\n };\n });\n }\n\n mergePropsAndState() {\n const {tabProps} = this.props;\n const {isOpenValues} = this.state;\n\n return zipWith(\n (props, isOpen) => ({\n ...props,\n isOpen\n }),\n tabProps,\n isOpenValues\n );\n }\n\n render() {\n const {children = [], theme} = this.props;\n return (\n <Accordion tabProps={this.mergePropsAndState()} onClick={this.handleOnClick} theme={theme}>\n {children}\n </Accordion>\n );\n }\n}\n\nexport default AccordionToggler;\n"],"file":"index.js"}
|
|
@@ -25,7 +25,7 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
25
25
|
adapter: new _enzymeAdapterReact.default()
|
|
26
26
|
});
|
|
27
27
|
|
|
28
|
-
const SINGLE_TAB_PROPS = _extends({}, _onlyOne.default.props, {
|
|
28
|
+
const SINGLE_TAB_PROPS = _extends(_extends({}, _onlyOne.default.props), {}, {
|
|
29
29
|
tabProps: (0, _take2.default)(1, _onlyOne.default.props.tabProps),
|
|
30
30
|
children: (0, _take2.default)(1, _onlyOne.default.children)
|
|
31
31
|
});
|
|
@@ -42,7 +42,7 @@ const SINGLE_TAB_PROPS = _extends({}, _onlyOne.default.props, {
|
|
|
42
42
|
t.false(wrapper.find('.part__openHeader').exists());
|
|
43
43
|
wrapper.find('.part__header').at(0).simulate('click');
|
|
44
44
|
t.true(wrapper.find('.part__openHeader').exists());
|
|
45
|
-
wrapper.setProps(_extends({}, _onlyOne.default.props, {
|
|
45
|
+
wrapper.setProps(_extends(_extends({}, _onlyOne.default.props), {}, {
|
|
46
46
|
children: _onlyOne.default.children
|
|
47
47
|
}));
|
|
48
48
|
t.true(wrapper.find('.part__openHeader').exists());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/accordion/toggler/test/render.js"],"names":["adapter","Adapter","SINGLE_TAB_PROPS","onlyOneFixture","props","tabProps","children","t","multiPropsWrapper","setProps","singlePropsWrapper","is","html","wrapper","true","find","exists","false","at","simulate"],"mappings":";;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;;;;;AAEA;AACA,uBAAU;AAACA,EAAAA,OAAO,EAAE,IAAIC,2BAAJ;AAAV,CAAV;;AAEA,MAAMC,gBAAgB,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/accordion/toggler/test/render.js"],"names":["adapter","Adapter","SINGLE_TAB_PROPS","onlyOneFixture","props","tabProps","children","t","multiPropsWrapper","setProps","singlePropsWrapper","is","html","wrapper","true","find","exists","false","at","simulate"],"mappings":";;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;;;;;AAEA;AACA,uBAAU;AAACA,EAAAA,OAAO,EAAE,IAAIC,2BAAJ;AAAV,CAAV;;AAEA,MAAMC,gBAAgB,yBACjBC,iBAAeC,KADE;AAEpBC,EAAAA,QAAQ,EAAE,oBAAK,CAAL,EAAQF,iBAAeC,KAAf,CAAqBC,QAA7B,CAFU;AAGpBC,EAAAA,QAAQ,EAAE,oBAAK,CAAL,EAAQH,iBAAeG,QAAvB;AAHU,EAAtB;;AAMA,kBAAM,0BAAN,EAAiCC,CAAC,IAAI;AACpC,QAAMC,iBAAiB,GAAG,iCAAM,6BAAC,SAAD,OAAN,CAA1B;AACAA,EAAAA,iBAAiB,CAACC,QAAlB,CAA2BP,gBAA3B;AAEA,QAAMQ,kBAAkB,GAAG,iCAAM,6BAAC,SAAD,EAAeR,gBAAf,CAAN,CAA3B;AAEAK,EAAAA,CAAC,CAACI,EAAF,CAAKH,iBAAiB,CAACI,IAAlB,EAAL,EAA+BF,kBAAkB,CAACE,IAAnB,EAA/B;AACD,CAPD;AASA,kBAAM,6BAAN,EAAoCL,CAAC,IAAI;AACvC,QAAMM,OAAO,GAAG,iCAAM,6BAAC,SAAD,EAAeX,gBAAf,CAAN,CAAhB;AAEAK,EAAAA,CAAC,CAACO,IAAF,CAAOD,OAAO,CAACE,IAAR,CAAa,eAAb,EAA8BC,MAA9B,EAAP;AAEAT,EAAAA,CAAC,CAACU,KAAF,CAAQJ,OAAO,CAACE,IAAR,CAAa,mBAAb,EAAkCC,MAAlC,EAAR;AAEAH,EAAAA,OAAO,CAACE,IAAR,CAAa,eAAb,EAA8BG,EAA9B,CAAiC,CAAjC,EAAoCC,QAApC,CAA6C,OAA7C;AAEAZ,EAAAA,CAAC,CAACO,IAAF,CAAOD,OAAO,CAACE,IAAR,CAAa,mBAAb,EAAkCC,MAAlC,EAAP;AAEAH,EAAAA,OAAO,CAACJ,QAAR,uBACKN,iBAAeC,KADpB;AAEEE,IAAAA,QAAQ,EAAEH,iBAAeG;AAF3B;AAKAC,EAAAA,CAAC,CAACO,IAAF,CAAOD,OAAO,CAACE,IAAR,CAAa,mBAAb,EAAkCC,MAAlC,EAAP;AACD,CAjBD","sourcesContent":["import browserEnv from 'browser-env';\nimport test from 'ava';\nimport React from 'react';\nimport {take} from 'lodash/fp';\nimport {mount, configure} from 'enzyme';\nimport Adapter from 'enzyme-adapter-react-16';\nimport Accordion from '..';\nimport onlyOneFixture from './fixtures/only-one';\n\nbrowserEnv();\nconfigure({adapter: new Adapter()});\n\nconst SINGLE_TAB_PROPS = {\n ...onlyOneFixture.props,\n tabProps: take(1, onlyOneFixture.props.tabProps),\n children: take(1, onlyOneFixture.children)\n};\n\ntest(`shouldn't props in state`, t => {\n const multiPropsWrapper = mount(<Accordion />);\n multiPropsWrapper.setProps(SINGLE_TAB_PROPS);\n\n const singlePropsWrapper = mount(<Accordion {...SINGLE_TAB_PROPS} />);\n\n t.is(multiPropsWrapper.html(), singlePropsWrapper.html());\n});\n\ntest(`should keep isOpen in state`, t => {\n const wrapper = mount(<Accordion {...SINGLE_TAB_PROPS} />);\n\n t.true(wrapper.find('.part__header').exists());\n\n t.false(wrapper.find('.part__openHeader').exists());\n\n wrapper.find('.part__header').at(0).simulate('click');\n\n t.true(wrapper.find('.part__openHeader').exists());\n\n wrapper.setProps({\n ...onlyOneFixture.props,\n children: onlyOneFixture.children\n });\n\n t.true(wrapper.find('.part__openHeader').exists());\n});\n"],"file":"render.js"}
|
|
@@ -23,9 +23,9 @@ var _link = _interopRequireDefault(require("../../atom/link"));
|
|
|
23
23
|
|
|
24
24
|
var _style = _interopRequireDefault(require("./style.css"));
|
|
25
25
|
|
|
26
|
-
function _getRequireWildcardCache(
|
|
26
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
27
27
|
|
|
28
|
-
function _interopRequireWildcard(obj
|
|
28
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
29
29
|
|
|
30
30
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
31
31
|
|
|
@@ -20,7 +20,7 @@ var _default = {
|
|
|
20
20
|
subtitle: 'Setup your platform’s single-sign-on method. This lets users connect to the Coorpacademy platform using your compny’s loing/password, adn have seamless integration with their business identity. Follow the steps below to set up your platform’s SSO.'
|
|
21
21
|
}, {
|
|
22
22
|
title: '1. Download Coorpacademy’s Service Provider (SP) Metadata',
|
|
23
|
-
fields: [_extends({}, _sso.default.props, {
|
|
23
|
+
fields: [_extends(_extends({}, _sso.default.props), {}, {
|
|
24
24
|
type: 'downloadbox'
|
|
25
25
|
})]
|
|
26
26
|
}, {
|
|
@@ -57,12 +57,12 @@ var _default = {
|
|
|
57
57
|
}, {
|
|
58
58
|
title: 'Or Upload your Company’s Identity Provider (Idp)',
|
|
59
59
|
subtitle: 'This is the information Coorpacademy needs to connect to your IdP as a Service Provider',
|
|
60
|
-
fields: [_extends({}, _sso2.default.props, {
|
|
60
|
+
fields: [_extends(_extends({}, _sso2.default.props), {}, {
|
|
61
61
|
type: 'uploadbox'
|
|
62
62
|
})]
|
|
63
63
|
}, {
|
|
64
64
|
title: '5. Test your connection',
|
|
65
|
-
fields: [_extends({}, _sso3.default.props, {
|
|
65
|
+
fields: [_extends(_extends({}, _sso3.default.props), {}, {
|
|
66
66
|
type: 'button'
|
|
67
67
|
})]
|
|
68
68
|
}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/brand-form/test/fixtures/sso.js"],"names":["props","groups","title","subtitle","fields","Download","type","placeholder","value","description","onChange","Upload","Connection","disabled","values","onSubmit","submitValue"],"mappings":";;;;;AAAA;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE,CACN;AACEC,MAAAA,KAAK,EAAE,sBADT;AAEEC,MAAAA,QAAQ,EACN;AAHJ,KADM,EAMN;AACED,MAAAA,KAAK,EAAE,2DADT;AAEEE,MAAAA,MAAM,EAAE,cAEDC,aAASL,KAFR;AAGJM,QAAAA,IAAI,EAAE;AAHF;AAFV,KANM,EAeN;AACEJ,MAAAA,KAAK,EACH,yGAFJ;AAGEC,MAAAA,QAAQ,EACN;AAJJ,KAfM,EAqBN;AACED,MAAAA,KAAK,EAAE,sDADT;AAEEC,MAAAA,QAAQ,EACN;AAHJ,KArBM,EA0BN;AACED,MAAAA,KAAK,EAAE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N;AACER,QAAAA,KAAK,EAAE,yCADT;AAEEM,QAAAA,KAAK,EAAE,KAFT;AAGEF,QAAAA,IAAI,EAAE,QAHR;AAIEG,QAAAA,WAAW,EACT,6FALJ;AAMEC,QAAAA,QAAQ,EAAE,MAAM,CAAE;AANpB,OAjCM;AAHV,KArJM,CADH;AAqMLK,IAAAA,QAAQ,EAAE,MAAM,CAAE,CArMb;AAsMLC,IAAAA,WAAW,EAAE;AAtMR;AADM,C","sourcesContent":["import Download from '../../../../molecule/brand-download-box/test/fixtures/sso';\nimport Upload from '../../../../molecule/brand-upload-box/test/fixtures/sso';\nimport Connection from '../../../../atom/button/test/fixtures/sso';\n\nexport default {\n props: {\n groups: [\n {\n title: 'Single Sign On (SSO)',\n subtitle:\n 'Setup your platform’s single-sign-on method. This lets users connect to the Coorpacademy platform using your compny’s loing/password, adn have seamless integration with their business identity. Follow the steps below to set up your platform’s SSO.'\n },\n {\n title: '1. Download Coorpacademy’s Service Provider (SP) Metadata',\n fields: [\n {\n ...Download.props,\n type: 'downloadbox'\n }\n ]\n },\n {\n title:\n '2. Enter Coorpacademy’s Service Provider (SP) Metadata in your Company’s Identity Provider IdP Settings',\n subtitle:\n 'Go to your Company’s IdP Settings and follow the instructions they provide to connect to a Service Provider (in this case, Coorpacademy). Depending on your Idp, you wil either import the SAML Service Provider file that you downloaded Step 1, or manually add the Issuer ID, Callback URL, and PEM Certificate.'\n },\n {\n title: '3. Export Metadata from your Identity Provider (Idp)',\n subtitle:\n 'Get the metadata that Coorpacademy can use to connect to your IdP. Follow your IdP’s instructions for exporting a SAML metadata file.'\n },\n {\n title: '4. Enter your Company’s Identity Provider (Idp)',\n subtitle:\n 'This is the information Coorpacademy needs to connect to your IdP as a Service Provider',\n fields: [\n {\n title: 'Call Back Url*',\n placeholder: 'http://localhost:3000/sso/callback',\n value: '',\n type: 'text',\n description: 'Lorem Ipsum',\n onChange: () => {}\n },\n {\n title: 'entry Point URL*',\n placeholder: 'https://sts-test.adidas-group.com/adfs/ls/',\n value: '',\n type: 'text',\n description:\n 'This is the URL users are redirected to when they connect to Coorpacademy so that they can log in to the SSO',\n onChange: () => {}\n },\n {\n title: 'Issuer*',\n placeholder: 'http://localhost:3000',\n value: '',\n type: 'text',\n description: 'Lorem Ipsum',\n onChange: () => {}\n }\n ]\n },\n {\n title: 'Or Upload your Company’s Identity Provider (Idp)',\n subtitle:\n 'This is the information Coorpacademy needs to connect to your IdP as a Service Provider',\n fields: [\n {\n ...Upload.props,\n type: 'uploadbox'\n }\n ]\n },\n {\n title: '5. Test your connection',\n fields: [\n {\n ...Connection.props,\n type: 'button'\n }\n ]\n },\n {\n title: '6. User Attribute Mapping',\n subtitle:\n 'Match Coorpacademy’s attributes to your compny’s. These are the names under which the attributes are stored in your database. If an attribute is left blank, it will not be matched.',\n disabled: true,\n fields: [\n {\n title: 'Unique Login*',\n value: '',\n type: 'text',\n description: 'Mandatory',\n onChange: () => {}\n },\n {\n title: 'Email*',\n value: '',\n type: 'text',\n description: 'Mandatory',\n onChange: () => {}\n },\n {\n title: 'First Name',\n value: '',\n type: 'text',\n onChange: () => {}\n },\n {\n title: 'Last Name',\n value: '',\n type: 'text',\n onChange: () => {}\n },\n {\n title: 'Provider',\n value: '',\n type: 'text',\n onChange: () => {}\n },\n {\n title: 'Language',\n value: '',\n type: 'text',\n onChange: () => {}\n },\n {\n title: 'Country',\n value: '',\n type: 'text',\n onChange: () => {}\n }\n ]\n },\n {\n title: '7. Activate SSO',\n fields: [\n {\n title: 'Activate',\n value: false,\n type: 'switch',\n onChange: () => {}\n },\n {\n title: 'Default Route',\n value: false,\n type: 'switch',\n description:\n 'Turn this setting on to make the SSO connection the default way to access the platform, rather than the traditional Coorpacademy-specific login',\n onChange: () => {}\n }\n ]\n },\n {\n title: 'Advanced Options',\n disabled: true,\n fields: [\n {\n title: 'Hash algorithm',\n value: 'SHA-1',\n values: ['SHA-1', 'SHA-256', 'RSA-SHA512'],\n type: 'select',\n description: 'Lorem Ipsum dolor sit amet.',\n onChange: () => {}\n },\n {\n title: 'Clock skew',\n value: '0',\n type: 'text',\n description:\n 'if you geet an error that says \"SAML assertion not yet valid\", you can adjust this number (in ms) by trial and error to find a value that allows both servers to synchronize',\n onChange: () => {}\n },\n {\n title: 'Binding',\n value: 'HTTP POST',\n values: ['HTTP POST', 'HTTP_REDIRECT'],\n type: 'select',\n description: 'Lorem Ipsum dolor sit amet.',\n onChange: () => {}\n },\n {\n title: 'Force authorization (forceAuthn)',\n value: false,\n type: 'switch',\n description:\n 'Toggle this option to force users to re-identify if they reconnect to the platform after having connected to another service',\n onChange: () => {}\n },\n {\n title: 'Disable Requested Authorization Context',\n value: false,\n type: 'switch',\n description:\n 'Toggle this option to allow your IdP to use Microsoft Windows sessions as a login (winAuth)',\n onChange: () => {}\n }\n ]\n }\n ],\n onSubmit: () => {},\n submitValue: 'Save changes'\n }\n};\n"],"file":"sso.js"}
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/brand-form/test/fixtures/sso.js"],"names":["props","groups","title","subtitle","fields","Download","type","placeholder","value","description","onChange","Upload","Connection","disabled","values","onSubmit","submitValue"],"mappings":";;;;;AAAA;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE,CACN;AACEC,MAAAA,KAAK,EAAE,sBADT;AAEEC,MAAAA,QAAQ,EACN;AAHJ,KADM,EAMN;AACED,MAAAA,KAAK,EAAE,2DADT;AAEEE,MAAAA,MAAM,EAAE,uBAEDC,aAASL,KAFR;AAGJM,QAAAA,IAAI,EAAE;AAHF;AAFV,KANM,EAeN;AACEJ,MAAAA,KAAK,EACH,yGAFJ;AAGEC,MAAAA,QAAQ,EACN;AAJJ,KAfM,EAqBN;AACED,MAAAA,KAAK,EAAE,sDADT;AAEEC,MAAAA,QAAQ,EACN;AAHJ,KArBM,EA0BN;AACED,MAAAA,KAAK,EAAE,iDADT;AAEEC,MAAAA,QAAQ,EACN,yFAHJ;AAIEC,MAAAA,M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AE,KAFT;AAGEF,QAAAA,IAAI,EAAE,QAHR;AAIEG,QAAAA,WAAW,EACT,6FALJ;AAMEC,QAAAA,QAAQ,EAAE,MAAM,CAAE;AANpB,OAjCM;AAHV,KArJM,CADH;AAqMLK,IAAAA,QAAQ,EAAE,MAAM,CAAE,CArMb;AAsMLC,IAAAA,WAAW,EAAE;AAtMR;AADM,C","sourcesContent":["import Download from '../../../../molecule/brand-download-box/test/fixtures/sso';\nimport Upload from '../../../../molecule/brand-upload-box/test/fixtures/sso';\nimport Connection from '../../../../atom/button/test/fixtures/sso';\n\nexport default {\n props: {\n groups: [\n {\n title: 'Single Sign On (SSO)',\n subtitle:\n 'Setup your platform’s single-sign-on method. This lets users connect to the Coorpacademy platform using your compny’s loing/password, adn have seamless integration with their business identity. Follow the steps below to set up your platform’s SSO.'\n },\n {\n title: '1. Download Coorpacademy’s Service Provider (SP) Metadata',\n fields: [\n {\n ...Download.props,\n type: 'downloadbox'\n }\n ]\n },\n {\n title:\n '2. Enter Coorpacademy’s Service Provider (SP) Metadata in your Company’s Identity Provider IdP Settings',\n subtitle:\n 'Go to your Company’s IdP Settings and follow the instructions they provide to connect to a Service Provider (in this case, Coorpacademy). Depending on your Idp, you wil either import the SAML Service Provider file that you downloaded Step 1, or manually add the Issuer ID, Callback URL, and PEM Certificate.'\n },\n {\n title: '3. Export Metadata from your Identity Provider (Idp)',\n subtitle:\n 'Get the metadata that Coorpacademy can use to connect to your IdP. Follow your IdP’s instructions for exporting a SAML metadata file.'\n },\n {\n title: '4. Enter your Company’s Identity Provider (Idp)',\n subtitle:\n 'This is the information Coorpacademy needs to connect to your IdP as a Service Provider',\n fields: [\n {\n title: 'Call Back Url*',\n placeholder: 'http://localhost:3000/sso/callback',\n value: '',\n type: 'text',\n description: 'Lorem Ipsum',\n onChange: () => {}\n },\n {\n title: 'entry Point URL*',\n placeholder: 'https://sts-test.adidas-group.com/adfs/ls/',\n value: '',\n type: 'text',\n description:\n 'This is the URL users are redirected to when they connect to Coorpacademy so that they can log in to the SSO',\n onChange: () => {}\n },\n {\n title: 'Issuer*',\n placeholder: 'http://localhost:3000',\n value: '',\n type: 'text',\n description: 'Lorem Ipsum',\n onChange: () => {}\n }\n ]\n },\n {\n title: 'Or Upload your Company’s Identity Provider (Idp)',\n subtitle:\n 'This is the information Coorpacademy needs to connect to your IdP as a Service Provider',\n fields: [\n {\n ...Upload.props,\n type: 'uploadbox'\n }\n ]\n },\n {\n title: '5. Test your connection',\n fields: [\n {\n ...Connection.props,\n type: 'button'\n }\n ]\n },\n {\n title: '6. User Attribute Mapping',\n subtitle:\n 'Match Coorpacademy’s attributes to your compny’s. These are the names under which the attributes are stored in your database. If an attribute is left blank, it will not be matched.',\n disabled: true,\n fields: [\n {\n title: 'Unique Login*',\n value: '',\n type: 'text',\n description: 'Mandatory',\n onChange: () => {}\n },\n {\n title: 'Email*',\n value: '',\n type: 'text',\n description: 'Mandatory',\n onChange: () => {}\n },\n {\n title: 'First Name',\n value: '',\n type: 'text',\n onChange: () => {}\n },\n {\n title: 'Last Name',\n value: '',\n type: 'text',\n onChange: () => {}\n },\n {\n title: 'Provider',\n value: '',\n type: 'text',\n onChange: () => {}\n },\n {\n title: 'Language',\n value: '',\n type: 'text',\n onChange: () => {}\n },\n {\n title: 'Country',\n value: '',\n type: 'text',\n onChange: () => {}\n }\n ]\n },\n {\n title: '7. Activate SSO',\n fields: [\n {\n title: 'Activate',\n value: false,\n type: 'switch',\n onChange: () => {}\n },\n {\n title: 'Default Route',\n value: false,\n type: 'switch',\n description:\n 'Turn this setting on to make the SSO connection the default way to access the platform, rather than the traditional Coorpacademy-specific login',\n onChange: () => {}\n }\n ]\n },\n {\n title: 'Advanced Options',\n disabled: true,\n fields: [\n {\n title: 'Hash algorithm',\n value: 'SHA-1',\n values: ['SHA-1', 'SHA-256', 'RSA-SHA512'],\n type: 'select',\n description: 'Lorem Ipsum dolor sit amet.',\n onChange: () => {}\n },\n {\n title: 'Clock skew',\n value: '0',\n type: 'text',\n description:\n 'if you geet an error that says \"SAML assertion not yet valid\", you can adjust this number (in ms) by trial and error to find a value that allows both servers to synchronize',\n onChange: () => {}\n },\n {\n title: 'Binding',\n value: 'HTTP POST',\n values: ['HTTP POST', 'HTTP_REDIRECT'],\n type: 'select',\n description: 'Lorem Ipsum dolor sit amet.',\n onChange: () => {}\n },\n {\n title: 'Force authorization (forceAuthn)',\n value: false,\n type: 'switch',\n description:\n 'Toggle this option to force users to re-identify if they reconnect to the platform after having connected to another service',\n onChange: () => {}\n },\n {\n title: 'Disable Requested Authorization Context',\n value: false,\n type: 'switch',\n description:\n 'Toggle this option to allow your IdP to use Microsoft Windows sessions as a login (winAuth)',\n onChange: () => {}\n }\n ]\n }\n ],\n onSubmit: () => {},\n submitValue: 'Save changes'\n }\n};\n"],"file":"sso.js"}
|
|
@@ -69,10 +69,10 @@ const PlayListTranslation = props => {
|
|
|
69
69
|
|
|
70
70
|
PlayListTranslation.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
71
71
|
languageTabs: _verticalTabs.default.propTypes.tabs,
|
|
72
|
-
inputText: _propTypes.default.shape(_extends({}, _inputText.default.propTypes, {
|
|
72
|
+
inputText: _propTypes.default.shape(_extends(_extends({}, _inputText.default.propTypes), {}, {
|
|
73
73
|
theme: _propTypes.default.string
|
|
74
74
|
})),
|
|
75
|
-
textArea: _propTypes.default.shape(_extends({}, _inputTextarea.default.propTypes, {
|
|
75
|
+
textArea: _propTypes.default.shape(_extends(_extends({}, _inputTextarea.default.propTypes), {}, {
|
|
76
76
|
theme: _propTypes.default.string
|
|
77
77
|
})),
|
|
78
78
|
cta: _propTypes.default.shape({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/organism/content-translation/index.js"],"names":["buildCtaButton","cta","style","button","binButton","handleOnClick","type","position","label","PlayListTranslation","props","languageTabs","inputText","textArea","listAriaLabel","ctaButton","ariaLabel","container","menu","horizontalSection","input","propTypes","VerticalLanguageMenu","tabs","PropTypes","shape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;;AAqBAN,mBAAmB,CAACY,SAApB,2CAAgC;AAC9BV,EAAAA,YAAY,EAAEW,sBAAqBD,SAArB,CAA+BE,IADf;AAE9BX,EAAAA,SAAS,EAAEY,mBAAUC,KAAV,
|
|
1
|
+
{"version":3,"sources":["../../../src/organism/content-translation/index.js"],"names":["buildCtaButton","cta","style","button","binButton","handleOnClick","type","position","label","PlayListTranslation","props","languageTabs","inputText","textArea","listAriaLabel","ctaButton","ariaLabel","container","menu","horizontalSection","input","propTypes","VerticalLanguageMenu","tabs","PropTypes","shape","InputText","theme","string","TextArea","func","oneOf"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,cAAc,GAAGC,GAAG,IAAI;AAC5B,MAAI,CAACA,GAAL,EAAU;AACR;AACD;;AAED,sBACE;AAAK,IAAA,SAAS,EAAE,yBAAWC,eAAMC,MAAjB,EAAyBD,eAAME,SAA/B;AAAhB,kBACE,6BAAC,mBAAD;AACE,IAAA,OAAO,EAAEH,GAAG,CAACI,aADf;AAEE,IAAA,IAAI,EAAC,MAFP;AAGE,IAAA,IAAI,EAAE;AAACC,MAAAA,IAAI,EAAE,KAAP;AAAcC,MAAAA,QAAQ,EAAE;AAAxB,KAHR;AAIE,IAAA,KAAK,EAAEN,GAAG,CAACO;AAJb,IADF,CADF;AAUD,CAfD;;AAiBA,MAAMC,mBAAmB,GAAGC,KAAK,IAAI;AACnC,QAAM;AAACC,IAAAA,YAAD;AAAeC,IAAAA,SAAf;AAA0BC,IAAAA,QAA1B;AAAoCZ,IAAAA,GAApC;AAAyC,uBAAmBa;AAA5D,MAA6EJ,KAAnF;AACA,QAAMK,SAAS,GAAGf,cAAc,CAACC,GAAD,CAAhC;AAEA,QAAMe,SAAS,GAAG;AAAC,kBAAcF;AAAf,GAAlB;AACA,sBACE;AAAK,IAAA,SAAS,EAAEZ,eAAMe;AAAtB,kBACE,6BAAC,qBAAD,eAA0BD,SAA1B;AAAqC,IAAA,SAAS,EAAEd,eAAMgB,IAAtD;AAA4D,IAAA,IAAI,EAAEP;AAAlE,KADF,eAEE;AAAK,IAAA,SAAS,EAAET,eAAMiB;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAEjB,eAAMkB;AAAtB,kBACE,6BAAC,kBAAD,EAAeR,SAAf,CADF,CADF,eAIE;AAAK,IAAA,SAAS,EAAEV,eAAMkB;AAAtB,kBACE,6BAAC,sBAAD,EAAcP,QAAd,CADF,CAJF,EAOGE,SAPH,CAFF,CADF;AAcD,CAnBD;;AAqBAN,mBAAmB,CAACY,SAApB,2CAAgC;AAC9BV,EAAAA,YAAY,EAAEW,sBAAqBD,SAArB,CAA+BE,IADf;AAE9BX,EAAAA,SAAS,EAAEY,mBAAUC,KAAV,uBAAoBC,mBAAUL,SAA9B;AAAyCM,IAAAA,KAAK,EAAEH,mBAAUI;AAA1D,KAFmB;AAG9Bf,EAAAA,QAAQ,EAAEW,mBAAUC,KAAV,uBAAoBI,uBAASR,SAA7B;AAAwCM,IAAAA,KAAK,EAAEH,mBAAUI;AAAzD,KAHoB;AAI9B3B,EAAAA,GAAG,EAAEuB,mBAAUC,KAAV,CAAgB;AACnBjB,IAAAA,KAAK,EAAEgB,mBAAUI,MADE;AAEnBvB,IAAAA,aAAa,EAAEmB,mBAAUM,IAFN;AAGnBxB,IAAAA,IAAI,EAAEkB,mBAAUO,KAAV,CAAgB,CAAC,QAAD,CAAhB;AAHa,GAAhB,CAJyB;AAS9B,qBAAmBP,mBAAUI;AATC,CAAhC;eAYenB,mB","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport VerticalLanguageMenu from '../../molecule/vertical-tabs';\nimport InputText from '../../atom/input-text';\nimport TextArea from '../../atom/input-textarea';\nimport Button from '../../atom/button-link';\nimport style from './style.css';\n\nconst buildCtaButton = cta => {\n if (!cta) {\n return;\n }\n\n return (\n <div className={classNames(style.button, style.binButton)}>\n <Button\n onClick={cta.handleOnClick}\n type=\"text\"\n icon={{type: 'bin', position: 'left'}}\n label={cta.label}\n />\n </div>\n );\n};\n\nconst PlayListTranslation = props => {\n const {languageTabs, inputText, textArea, cta, 'list-aria-label': listAriaLabel} = props;\n const ctaButton = buildCtaButton(cta);\n\n const ariaLabel = {'aria-label': listAriaLabel};\n return (\n <div className={style.container}>\n <VerticalLanguageMenu {...ariaLabel} className={style.menu} tabs={languageTabs} />\n <div className={style.horizontalSection}>\n <div className={style.input}>\n <InputText {...inputText} />\n </div>\n <div className={style.input}>\n <TextArea {...textArea} />\n </div>\n {ctaButton}\n </div>\n </div>\n );\n};\n\nPlayListTranslation.propTypes = {\n languageTabs: VerticalLanguageMenu.propTypes.tabs,\n inputText: PropTypes.shape({...InputText.propTypes, theme: PropTypes.string}),\n textArea: PropTypes.shape({...TextArea.propTypes, theme: PropTypes.string}),\n cta: PropTypes.shape({\n label: PropTypes.string,\n handleOnClick: PropTypes.func,\n type: PropTypes.oneOf(['delete'])\n }),\n 'list-aria-label': PropTypes.string\n};\n\nexport default PlayListTranslation;\n"],"file":"index.js"}
|
|
@@ -17,10 +17,10 @@ const languageTabs = _withSelectedItem.default.props.tabs;
|
|
|
17
17
|
var _default = {
|
|
18
18
|
props: {
|
|
19
19
|
languageTabs,
|
|
20
|
-
inputText: _extends({}, _cmDefault.default.props, {
|
|
20
|
+
inputText: _extends(_extends({}, _cmDefault.default.props), {}, {
|
|
21
21
|
theme: 'coorpmanager'
|
|
22
22
|
}),
|
|
23
|
-
textArea: _extends({}, _cmDefault2.default.props, {
|
|
23
|
+
textArea: _extends(_extends({}, _cmDefault2.default.props), {}, {
|
|
24
24
|
theme: 'coorpmanager'
|
|
25
25
|
}),
|
|
26
26
|
'list-aria-label': 'Languages list'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/content-translation/test/fixtures/default.js"],"names":["languageTabs","verticalMenu","props","tabs","inputText","theme","textArea"],"mappings":";;;;;AAAA;;AACA;;AACA;;;;;;AAEA,MAAMA,YAAY,GAAGC,0BAAaC,KAAb,CAAmBC,IAAxC;eAEe;AACbD,EAAAA,KAAK,EAAE;AACLF,IAAAA,YADK;AAELI,IAAAA,SAAS,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/content-translation/test/fixtures/default.js"],"names":["languageTabs","verticalMenu","props","tabs","inputText","theme","textArea"],"mappings":";;;;;AAAA;;AACA;;AACA;;;;;;AAEA,MAAMA,YAAY,GAAGC,0BAAaC,KAAb,CAAmBC,IAAxC;eAEe;AACbD,EAAAA,KAAK,EAAE;AACLF,IAAAA,YADK;AAELI,IAAAA,SAAS,wBAAMA,mBAAUF,KAAhB;AAAuBG,MAAAA,KAAK,EAAE;AAA9B,MAFJ;AAGLC,IAAAA,QAAQ,wBAAMA,oBAASJ,KAAf;AAAsBG,MAAAA,KAAK,EAAE;AAA7B,MAHH;AAIL,uBAAmB;AAJd;AADM,C","sourcesContent":["import verticalMenu from '../../../../molecule/vertical-tabs/test/fixtures/with-selected-item';\nimport inputText from '../../../../atom/input-text/test/fixtures/cm-default';\nimport textArea from '../../../../atom/input-textarea/test/fixtures/cm-default';\n\nconst languageTabs = verticalMenu.props.tabs;\n\nexport default {\n props: {\n languageTabs,\n inputText: {...inputText.props, theme: 'coorpmanager'},\n textArea: {...textArea.props, theme: 'coorpmanager'},\n 'list-aria-label': 'Languages list'\n }\n};\n"],"file":"default.js"}
|
|
@@ -56,36 +56,36 @@ var _default = {
|
|
|
56
56
|
multiple: false
|
|
57
57
|
},
|
|
58
58
|
'courses-selection-aria-label': 'Courses results',
|
|
59
|
-
courses: [_extends({}, _selectableTrue.default.props, {
|
|
59
|
+
courses: [_extends(_extends({}, _selectableTrue.default.props), {}, {
|
|
60
60
|
theme: 'coorpmanager',
|
|
61
61
|
progress: undefined
|
|
62
|
-
}), _extends({}, _selectableFalse.default.props, {
|
|
62
|
+
}), _extends(_extends({}, _selectableFalse.default.props), {}, {
|
|
63
63
|
theme: 'coorpmanager',
|
|
64
64
|
progress: undefined
|
|
65
|
-
}), _extends({}, _article.default.props, {
|
|
65
|
+
}), _extends(_extends({}, _article.default.props), {}, {
|
|
66
66
|
isSelected: false,
|
|
67
67
|
theme: 'coorpmanager',
|
|
68
68
|
progress: undefined
|
|
69
|
-
}), _extends({}, _freerun.default.props, {
|
|
69
|
+
}), _extends(_extends({}, _freerun.default.props), {}, {
|
|
70
70
|
theme: 'coorpmanager',
|
|
71
71
|
progress: undefined,
|
|
72
72
|
isSelected: false,
|
|
73
73
|
favorite: false
|
|
74
|
-
}), _extends({}, _scorm.default.props, {
|
|
74
|
+
}), _extends(_extends({}, _scorm.default.props), {}, {
|
|
75
75
|
isSelected: true,
|
|
76
76
|
theme: 'coorpmanager',
|
|
77
77
|
progress: undefined
|
|
78
|
-
}), _extends({}, _selectableFalse.default.props, {
|
|
78
|
+
}), _extends(_extends({}, _selectableFalse.default.props), {}, {
|
|
79
79
|
isSelected: false,
|
|
80
80
|
title: 'Standard course',
|
|
81
81
|
theme: 'coorpmanager',
|
|
82
82
|
progress: undefined
|
|
83
|
-
}), _extends({}, _externalContent.default.props, {
|
|
83
|
+
}), _extends(_extends({}, _externalContent.default.props), {}, {
|
|
84
84
|
isSelected: false,
|
|
85
85
|
title: 'External course',
|
|
86
86
|
theme: 'coorpmanager',
|
|
87
87
|
progress: undefined
|
|
88
|
-
}), _extends({}, _scorm.default.props, {
|
|
88
|
+
}), _extends(_extends({}, _scorm.default.props), {}, {
|
|
89
89
|
isSelected: false,
|
|
90
90
|
title: 'Scorm course',
|
|
91
91
|
theme: 'coorpmanager',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/course-selection/test/fixtures/default.js"],"names":["props","search","title","placeholder","value","description","onChange","console","log","isLoading","contentTypeFilter","type","theme","size","options","name","selected","multiple","courses","SelectedCard","progress","undefined","UnSelectedCard","Article","isSelected","Chaptercard","favorite","Scorm","ExternalContent","switchButton","titlePosition"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,EAHD;AAINC,MAAAA,WAAW,EAAE,4BAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AALb,KADH;AAQLK,IAAAA,SAAS,EAAE,KARN;AASLC,IAAAA,iBAAiB,EAAE;AACjBC,MAAAA,IAAI,EAAE,gBADW;AAEjBT,MAAAA,KAAK,EAAE,cAFU;AAGjBC,MAAAA,WAAW,EAAE,cAHI;AAIjBE,MAAAA,WAAW,EAAE,0BAJI;AAKjBO,MAAAA,KAAK,EAAE,cALU;AAMjBC,MAAAA,IAAI,EAAE,SANW;AAOjBC,MAAAA,OAAO,EAAE,CACP;AACEC,QAAAA,IAAI,EAAE,QADR;AAEEX,QAAAA,KAAK,EAAE,QAFT;AAGEY,QAAAA,QAAQ,EAAE;AAHZ,OADO,EAMP;AACED,QAAAA,IAAI,EAAE,aADR;AAEEX,QAAAA,KAAK,EAAE,SAFT;AAGEY,QAAAA,QAAQ,EAAE;AAHZ,OANO,EAWP;AACED,QAAAA,IAAI,EAAE,oBADR;AAEEX,QAAAA,KAAK,EAAE,OAFT;AAGEY,QAAAA,QAAQ,EAAE;AAHZ,OAXO,EAgBP;AACED,QAAAA,IAAI,EAAE,OADR;AAEEX,QAAAA,KAAK,EAAE,OAFT;AAGEY,QAAAA,QAAQ,EAAE;AAHZ,OAhBO,CAPQ;AA6BjBC,MAAAA,QAAQ,EAAE;AA7BO,KATd;AAwCL,oCAAgC,iBAxC3B;AAyCLC,IAAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/course-selection/test/fixtures/default.js"],"names":["props","search","title","placeholder","value","description","onChange","console","log","isLoading","contentTypeFilter","type","theme","size","options","name","selected","multiple","courses","SelectedCard","progress","undefined","UnSelectedCard","Article","isSelected","Chaptercard","favorite","Scorm","ExternalContent","switchButton","titlePosition"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,EAHD;AAINC,MAAAA,WAAW,EAAE,4BAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AALb,KADH;AAQLK,IAAAA,SAAS,EAAE,KARN;AASLC,IAAAA,iBAAiB,EAAE;AACjBC,MAAAA,IAAI,EAAE,gBADW;AAEjBT,MAAAA,KAAK,EAAE,cAFU;AAGjBC,MAAAA,WAAW,EAAE,cAHI;AAIjBE,MAAAA,WAAW,EAAE,0BAJI;AAKjBO,MAAAA,KAAK,EAAE,cALU;AAMjBC,MAAAA,IAAI,EAAE,SANW;AAOjBC,MAAAA,OAAO,EAAE,CACP;AACEC,QAAAA,IAAI,EAAE,QADR;AAEEX,QAAAA,KAAK,EAAE,QAFT;AAGEY,QAAAA,QAAQ,EAAE;AAHZ,OADO,EAMP;AACED,QAAAA,IAAI,EAAE,aADR;AAEEX,QAAAA,KAAK,EAAE,SAFT;AAGEY,QAAAA,QAAQ,EAAE;AAHZ,OANO,EAWP;AACED,QAAAA,IAAI,EAAE,oBADR;AAEEX,QAAAA,KAAK,EAAE,OAFT;AAGEY,QAAAA,QAAQ,EAAE;AAHZ,OAXO,EAgBP;AACED,QAAAA,IAAI,EAAE,OADR;AAEEX,QAAAA,KAAK,EAAE,OAFT;AAGEY,QAAAA,QAAQ,EAAE;AAHZ,OAhBO,CAPQ;AA6BjBC,MAAAA,QAAQ,EAAE;AA7BO,KATd;AAwCL,oCAAgC,iBAxC3B;AAyC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4BAFK;AAGZE,MAAAA,KAAK,EAAE,KAHK;AAIZE,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ,CAJP;AAKZ0B,MAAAA,aAAa,EAAE,OALH;AAMZlB,MAAAA,KAAK,EAAE;AANK;AA3ET;AADM,C","sourcesContent":["import UnSelectedCard from '../../../../molecule/card/test/fixtures/selectable-false';\nimport SelectedCard from '../../../../molecule/card/test/fixtures/selectable-true';\nimport Article from '../../../../molecule/card/test/fixtures/article';\nimport Scorm from '../../../../molecule/card/test/fixtures/scorm';\nimport ExternalContent from '../../../../molecule/card/test/fixtures/external-content';\nimport Chaptercard from '../../../../molecule/card/test/fixtures/freerun';\n\nexport default {\n props: {\n search: {\n title: 'Search...',\n placeholder: 'Search...',\n value: '',\n description: 'Type to filter the courses',\n onChange: value => console.log(value)\n },\n isLoading: false,\n contentTypeFilter: {\n type: 'selectMultiple',\n title: 'Content type',\n placeholder: 'Content type',\n description: 'This filters the courses',\n theme: 'coorpmanager',\n size: 'default',\n options: [\n {\n name: 'Course',\n value: 'course',\n selected: false\n },\n {\n name: \"5' learning\",\n value: 'chapter',\n selected: false\n },\n {\n name: 'Interactive slides',\n value: 'scorm',\n selected: true\n },\n {\n name: 'Video',\n value: 'video',\n selected: false\n }\n ],\n multiple: false\n },\n 'courses-selection-aria-label': 'Courses results',\n courses: [\n {...SelectedCard.props, theme: 'coorpmanager', progress: undefined},\n {...UnSelectedCard.props, theme: 'coorpmanager', progress: undefined},\n {...Article.props, isSelected: false, theme: 'coorpmanager', progress: undefined},\n {\n ...Chaptercard.props,\n theme: 'coorpmanager',\n progress: undefined,\n isSelected: false,\n favorite: false\n },\n {...Scorm.props, isSelected: true, theme: 'coorpmanager', progress: undefined},\n {\n ...UnSelectedCard.props,\n isSelected: false,\n title: 'Standard course',\n theme: 'coorpmanager',\n progress: undefined\n },\n {\n ...ExternalContent.props,\n isSelected: false,\n title: 'External course',\n theme: 'coorpmanager',\n progress: undefined\n },\n {\n ...Scorm.props,\n isSelected: false,\n title: 'Scorm course',\n theme: 'coorpmanager',\n progress: undefined\n }\n ],\n switchButton: {\n type: 'switch',\n title: 'Show selected courses only',\n value: false,\n onChange: value => console.log(value),\n titlePosition: 'right',\n theme: 'coorpmanager'\n }\n }\n};\n"],"file":"default.js"}
|
|
@@ -25,9 +25,9 @@ var _default = {
|
|
|
25
25
|
onChange: value => console.log(value)
|
|
26
26
|
},
|
|
27
27
|
'courses-selection-aria-label': 'Courses results',
|
|
28
|
-
courses: [_selectableTrue.default.props, _extends({}, _scorm.default.props, {
|
|
28
|
+
courses: [_selectableTrue.default.props, _extends(_extends({}, _scorm.default.props), {}, {
|
|
29
29
|
isSelected: true
|
|
30
|
-
}), _selectableTrue.default.props, _selectableFalse.default.props, _extends({}, _article.default.props, {
|
|
30
|
+
}), _selectableTrue.default.props, _selectableFalse.default.props, _extends(_extends({}, _article.default.props), {}, {
|
|
31
31
|
isSelected: false
|
|
32
32
|
})],
|
|
33
33
|
switchButton: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/course-selection/test/fixtures/filtered.js"],"names":["props","search","title","placeholder","value","description","onChange","console","log","courses","SelectedCard","Scorm","isSelected","UnSelectedCard","Article","switchButton","type","titlePosition","theme"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,MAHD;AAINC,MAAAA,WAAW,EAAE,4BAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AALb,KADH;AAQL,oCAAgC,iBAR3B;AASLK,IAAAA,OAAO,EAAE,CACPC,wBAAaV,KADN,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/course-selection/test/fixtures/filtered.js"],"names":["props","search","title","placeholder","value","description","onChange","console","log","courses","SelectedCard","Scorm","isSelected","UnSelectedCard","Article","switchButton","type","titlePosition","theme"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,MAHD;AAINC,MAAAA,WAAW,EAAE,4BAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AALb,KADH;AAQL,oCAAgC,iBAR3B;AASLK,IAAAA,OAAO,EAAE,CACPC,wBAAaV,KADN,wBAEHW,eAAMX,KAFH;AAEUY,MAAAA,UAAU,EAAE;AAFtB,QAGPF,wBAAaV,KAHN,EAIPa,yBAAeb,KAJR,wBAKHc,iBAAQd,KALL;AAKYY,MAAAA,UAAU,EAAE;AALxB,OATJ;AAgBLG,IAAAA,YAAY,EAAE;AACZC,MAAAA,IAAI,EAAE,QADM;AAEZd,MAAAA,KAAK,EAAE,oBAFK;AAGZE,MAAAA,KAAK,EAAE,KAHK;AAIZE,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ,CAJP;AAKZa,MAAAA,aAAa,EAAE,OALH;AAMZC,MAAAA,KAAK,EAAE;AANK;AAhBT;AADM,C","sourcesContent":["import UnSelectedCard from '../../../../molecule/card/test/fixtures/selectable-false';\nimport SelectedCard from '../../../../molecule/card/test/fixtures/selectable-true';\nimport Article from '../../../../molecule/card/test/fixtures/article';\nimport Scorm from '../../../../molecule/card/test/fixtures/scorm';\n\nexport default {\n props: {\n search: {\n title: 'Search...',\n placeholder: 'Search...',\n value: 'from',\n description: 'Type to filter the courses',\n onChange: value => console.log(value)\n },\n 'courses-selection-aria-label': 'Courses results',\n courses: [\n SelectedCard.props,\n {...Scorm.props, isSelected: true},\n SelectedCard.props,\n UnSelectedCard.props,\n {...Article.props, isSelected: false}\n ],\n switchButton: {\n type: 'switch',\n title: 'Show selected only',\n value: false,\n onChange: value => console.log(value),\n titlePosition: 'right',\n theme: 'coorpmanager'\n }\n }\n};\n"],"file":"filtered.js"}
|
|
@@ -27,15 +27,15 @@ var _default = {
|
|
|
27
27
|
onChange: value => console.log(value)
|
|
28
28
|
},
|
|
29
29
|
'courses-selection-aria-label': 'Courses results',
|
|
30
|
-
courses: [_selectableTrue.default.props, _extends({}, _scorm.default.props, {
|
|
30
|
+
courses: [_selectableTrue.default.props, _extends(_extends({}, _scorm.default.props), {}, {
|
|
31
31
|
isSelected: true
|
|
32
|
-
}), _selectableTrue.default.props, _selectableFalse.default.props, _extends({}, _article.default.props, {
|
|
32
|
+
}), _selectableTrue.default.props, _selectableFalse.default.props, _extends(_extends({}, _article.default.props), {}, {
|
|
33
33
|
isSelected: false
|
|
34
|
-
}), _extends({}, _selectableFalse.default.props, {
|
|
34
|
+
}), _extends(_extends({}, _selectableFalse.default.props), {}, {
|
|
35
35
|
isSelected: false
|
|
36
|
-
}), _extends({}, _externalContent.default.props, {
|
|
36
|
+
}), _extends(_extends({}, _externalContent.default.props), {}, {
|
|
37
37
|
isSelected: false
|
|
38
|
-
}), _extends({}, _scorm.default.props, {
|
|
38
|
+
}), _extends(_extends({}, _scorm.default.props), {}, {
|
|
39
39
|
isSelected: false
|
|
40
40
|
})],
|
|
41
41
|
switchButton: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/course-selection/test/fixtures/sorted-selected.js"],"names":["props","search","title","placeholder","value","description","onChange","console","log","courses","SelectedCard","Scorm","isSelected","UnSelectedCard","Article","ExternalContent","switchButton","type","titlePosition","theme"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,EAHD;AAINC,MAAAA,WAAW,EAAE,4BAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AALb,KADH;AAQL,oCAAgC,iBAR3B;AASLK,IAAAA,OAAO,EAAE,CACPC,wBAAaV,KADN,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/course-selection/test/fixtures/sorted-selected.js"],"names":["props","search","title","placeholder","value","description","onChange","console","log","courses","SelectedCard","Scorm","isSelected","UnSelectedCard","Article","ExternalContent","switchButton","type","titlePosition","theme"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,EAHD;AAINC,MAAAA,WAAW,EAAE,4BAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AALb,KADH;AAQL,oCAAgC,iBAR3B;AASLK,IAAAA,OAAO,EAAE,CACPC,wBAAaV,KADN,wBAEHW,eAAMX,KAFH;AAEUY,MAAAA,UAAU,EAAE;AAFtB,QAGPF,wBAAaV,KAHN,EAIPa,yBAAeb,KAJR,wBAKHc,iBAAQd,KALL;AAKYY,MAAAA,UAAU,EAAE;AALxB,8BAMHC,yBAAeb,KANZ;AAMmBY,MAAAA,UAAU,EAAE;AAN/B,8BAOHG,yBAAgBf,KAPb;AAOoBY,MAAAA,UAAU,EAAE;AAPhC,8BAQHD,eAAMX,KARH;AAQUY,MAAAA,UAAU,EAAE;AARtB,OATJ;AAmBLI,IAAAA,YAAY,EAAE;AACZC,MAAAA,IAAI,EAAE,QADM;AAEZf,MAAAA,KAAK,EAAE,oBAFK;AAGZE,MAAAA,KAAK,EAAE,KAHK;AAIZE,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ,CAJP;AAKZc,MAAAA,aAAa,EAAE,OALH;AAMZC,MAAAA,KAAK,EAAE;AANK;AAnBT;AADM,C","sourcesContent":["import UnSelectedCard from '../../../../molecule/card/test/fixtures/selectable-false';\nimport SelectedCard from '../../../../molecule/card/test/fixtures/selectable-true';\nimport Article from '../../../../molecule/card/test/fixtures/article';\nimport Scorm from '../../../../molecule/card/test/fixtures/scorm';\nimport ExternalContent from '../../../../molecule/card/test/fixtures/external-content';\n\nexport default {\n props: {\n search: {\n title: 'Search...',\n placeholder: 'Search...',\n value: '',\n description: 'Type to filter the courses',\n onChange: value => console.log(value)\n },\n 'courses-selection-aria-label': 'Courses results',\n courses: [\n SelectedCard.props,\n {...Scorm.props, isSelected: true},\n SelectedCard.props,\n UnSelectedCard.props,\n {...Article.props, isSelected: false},\n {...UnSelectedCard.props, isSelected: false},\n {...ExternalContent.props, isSelected: false},\n {...Scorm.props, isSelected: false}\n ],\n switchButton: {\n type: 'switch',\n title: 'Show selected only',\n value: false,\n onChange: value => console.log(value),\n titlePosition: 'right',\n theme: 'coorpmanager'\n }\n }\n};\n"],"file":"sorted-selected.js"}
|
|
@@ -27,15 +27,15 @@ var _default = {
|
|
|
27
27
|
onChange: value => console.log(value)
|
|
28
28
|
},
|
|
29
29
|
'courses-selection-aria-label': 'Courses results',
|
|
30
|
-
courses: [_selectableTrue.default.props, _selectableFalse.default.props, _extends({}, _article.default.props, {
|
|
30
|
+
courses: [_selectableTrue.default.props, _selectableFalse.default.props, _extends(_extends({}, _article.default.props), {}, {
|
|
31
31
|
isSelected: false
|
|
32
|
-
}), _selectableTrue.default.props, _extends({}, _scorm.default.props, {
|
|
32
|
+
}), _selectableTrue.default.props, _extends(_extends({}, _scorm.default.props), {}, {
|
|
33
33
|
isSelected: true
|
|
34
|
-
}), _extends({}, _selectableFalse.default.props, {
|
|
34
|
+
}), _extends(_extends({}, _selectableFalse.default.props), {}, {
|
|
35
35
|
isSelected: false
|
|
36
|
-
}), _extends({}, _externalContent.default.props, {
|
|
36
|
+
}), _extends(_extends({}, _externalContent.default.props), {}, {
|
|
37
37
|
isSelected: false
|
|
38
|
-
}), _extends({}, _scorm.default.props, {
|
|
38
|
+
}), _extends(_extends({}, _scorm.default.props), {}, {
|
|
39
39
|
isSelected: false
|
|
40
40
|
})],
|
|
41
41
|
switchButton: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/organism/course-selection/test/fixtures/unsorted-selected.js"],"names":["props","search","title","placeholder","value","description","onChange","console","log","courses","SelectedCard","UnSelectedCard","Article","isSelected","Scorm","ExternalContent","switchButton","type","titlePosition","theme"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,EAHD;AAINC,MAAAA,WAAW,EAAE,4BAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AALb,KADH;AAQL,oCAAgC,iBAR3B;AASLK,IAAAA,OAAO,EAAE,CACPC,wBAAaV,KADN,EAEPW,yBAAeX,KAFR,
|
|
1
|
+
{"version":3,"sources":["../../../../../src/organism/course-selection/test/fixtures/unsorted-selected.js"],"names":["props","search","title","placeholder","value","description","onChange","console","log","courses","SelectedCard","UnSelectedCard","Article","isSelected","Scorm","ExternalContent","switchButton","type","titlePosition","theme"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;eAEe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,MAAM,EAAE;AACNC,MAAAA,KAAK,EAAE,WADD;AAENC,MAAAA,WAAW,EAAE,WAFP;AAGNC,MAAAA,KAAK,EAAE,EAHD;AAINC,MAAAA,WAAW,EAAE,4BAJP;AAKNC,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ;AALb,KADH;AAQL,oCAAgC,iBAR3B;AASLK,IAAAA,OAAO,EAAE,CACPC,wBAAaV,KADN,EAEPW,yBAAeX,KAFR,wBAGHY,iBAAQZ,KAHL;AAGYa,MAAAA,UAAU,EAAE;AAHxB,QAIPH,wBAAaV,KAJN,wBAKHc,eAAMd,KALH;AAKUa,MAAAA,UAAU,EAAE;AALtB,8BAMHF,yBAAeX,KANZ;AAMmBa,MAAAA,UAAU,EAAE;AAN/B,8BAOHE,yBAAgBf,KAPb;AAOoBa,MAAAA,UAAU,EAAE;AAPhC,8BAQHC,eAAMd,KARH;AAQUa,MAAAA,UAAU,EAAE;AARtB,OATJ;AAmBLG,IAAAA,YAAY,EAAE;AACZC,MAAAA,IAAI,EAAE,QADM;AAEZf,MAAAA,KAAK,EAAE,oBAFK;AAGZE,MAAAA,KAAK,EAAE,KAHK;AAIZE,MAAAA,QAAQ,EAAEF,KAAK,IAAIG,OAAO,CAACC,GAAR,CAAYJ,KAAZ,CAJP;AAKZc,MAAAA,aAAa,EAAE,OALH;AAMZC,MAAAA,KAAK,EAAE;AANK;AAnBT;AADM,C","sourcesContent":["import UnSelectedCard from '../../../../molecule/card/test/fixtures/selectable-false';\nimport SelectedCard from '../../../../molecule/card/test/fixtures/selectable-true';\nimport Article from '../../../../molecule/card/test/fixtures/article';\nimport Scorm from '../../../../molecule/card/test/fixtures/scorm';\nimport ExternalContent from '../../../../molecule/card/test/fixtures/external-content';\n\nexport default {\n props: {\n search: {\n title: 'Search...',\n placeholder: 'Search...',\n value: '',\n description: 'Type to filter the courses',\n onChange: value => console.log(value)\n },\n 'courses-selection-aria-label': 'Courses results',\n courses: [\n SelectedCard.props,\n UnSelectedCard.props,\n {...Article.props, isSelected: false},\n SelectedCard.props,\n {...Scorm.props, isSelected: true},\n {...UnSelectedCard.props, isSelected: false},\n {...ExternalContent.props, isSelected: false},\n {...Scorm.props, isSelected: false}\n ],\n switchButton: {\n type: 'switch',\n title: 'Show selected only',\n value: false,\n onChange: value => console.log(value),\n titlePosition: 'right',\n theme: 'coorpmanager'\n }\n }\n};\n"],"file":"unsorted-selected.js"}
|