@coorpacademy/components 10.0.39 → 10.0.40
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/molecule/brand-tabs/test/fixtures.js +0 -2
- package/es/molecule/brand-tabs/test/fixtures.js.map +1 -1
- package/es/molecule/discipline-scope/test/fixtures.js +0 -6
- package/es/molecule/discipline-scope/test/fixtures.js.map +1 -1
- package/es/molecule/quick-access-card/index.js +151 -0
- package/es/molecule/quick-access-card/index.js.map +1 -0
- package/es/molecule/quick-access-card/style.css +103 -0
- package/es/molecule/quick-access-card/test/fixtures/analytics.js +10 -0
- package/es/molecule/quick-access-card/test/fixtures/analytics.js.map +1 -0
- package/es/molecule/quick-access-card/test/fixtures/default.js +10 -0
- package/es/molecule/quick-access-card/test/fixtures/default.js.map +1 -0
- package/es/molecule/quick-access-card/test/fixtures/look-and-feel.js +9 -0
- package/es/molecule/quick-access-card/test/fixtures/look-and-feel.js.map +1 -0
- package/es/molecule/quick-access-card/test/fixtures/manage-email.js +9 -0
- package/es/molecule/quick-access-card/test/fixtures/manage-email.js.map +1 -0
- package/es/molecule/quick-access-card/test/fixtures/upload-users.js +9 -0
- package/es/molecule/quick-access-card/test/fixtures/upload-users.js.map +1 -0
- package/es/molecule/scope-content/test/fixtures.js +0 -6
- package/es/molecule/scope-content/test/fixtures.js.map +1 -1
- package/es/organism/mooc-header/test/fixtures.js +0 -6
- package/es/organism/mooc-header/test/fixtures.js.map +1 -1
- package/es/template/app-player/player/test/fixtures.js +0 -2
- package/es/template/app-player/player/test/fixtures.js.map +1 -1
- package/es/template/back-office/brand-update/test/fixtures.js +0 -2
- package/es/template/back-office/brand-update/test/fixtures.js.map +1 -1
- package/es/template/common/discipline/test/fixtures.js +0 -10
- package/es/template/common/discipline/test/fixtures.js.map +1 -1
- package/es/template/teams-dashboard/test/fixtures.js +0 -2
- package/es/template/teams-dashboard/test/fixtures.js.map +1 -1
- package/lib/molecule/brand-tabs/test/fixtures.js +0 -3
- package/lib/molecule/brand-tabs/test/fixtures.js.map +1 -1
- package/lib/molecule/discipline-scope/test/fixtures.js +0 -9
- package/lib/molecule/discipline-scope/test/fixtures.js.map +1 -1
- package/lib/molecule/quick-access-card/index.js +166 -0
- package/lib/molecule/quick-access-card/index.js.map +1 -0
- package/lib/molecule/quick-access-card/style.css +103 -0
- package/lib/molecule/quick-access-card/test/fixtures/analytics.js +15 -0
- package/lib/molecule/quick-access-card/test/fixtures/analytics.js.map +1 -0
- package/lib/molecule/quick-access-card/test/fixtures/default.js +15 -0
- package/lib/molecule/quick-access-card/test/fixtures/default.js.map +1 -0
- package/lib/molecule/quick-access-card/test/fixtures/look-and-feel.js +14 -0
- package/lib/molecule/quick-access-card/test/fixtures/look-and-feel.js.map +1 -0
- package/lib/molecule/quick-access-card/test/fixtures/manage-email.js +14 -0
- package/lib/molecule/quick-access-card/test/fixtures/manage-email.js.map +1 -0
- package/lib/molecule/quick-access-card/test/fixtures/upload-users.js +14 -0
- package/lib/molecule/quick-access-card/test/fixtures/upload-users.js.map +1 -0
- package/lib/molecule/scope-content/test/fixtures.js +0 -9
- package/lib/molecule/scope-content/test/fixtures.js.map +1 -1
- package/lib/organism/mooc-header/test/fixtures.js +0 -9
- package/lib/organism/mooc-header/test/fixtures.js.map +1 -1
- package/lib/template/app-player/player/test/fixtures.js +0 -3
- package/lib/template/app-player/player/test/fixtures.js.map +1 -1
- package/lib/template/back-office/brand-update/test/fixtures.js +0 -3
- package/lib/template/back-office/brand-update/test/fixtures.js.map +1 -1
- package/lib/template/common/discipline/test/fixtures.js +0 -15
- package/lib/template/common/discipline/test/fixtures.js.map +1 -1
- package/lib/template/teams-dashboard/test/fixtures.js +0 -3
- package/lib/template/teams-dashboard/test/fixtures.js.map +1 -1
- package/package.json +3 -3
- package/es/molecule/add-to-my-list/test/fixtures.js +0 -15
- package/es/molecule/add-to-my-list/test/fixtures.js.map +0 -1
- package/es/organism/accordion/coorp-manager/part/test/fixtures.js +0 -13
- package/es/organism/accordion/coorp-manager/part/test/fixtures.js.map +0 -1
- package/es/organism/accordion/coorp-manager/test/fixtures.js +0 -13
- package/es/organism/accordion/coorp-manager/test/fixtures.js.map +0 -1
- package/es/organism/brand-dashboard/test/fixtures.js +0 -23
- package/es/organism/brand-dashboard/test/fixtures.js.map +0 -1
- package/lib/molecule/add-to-my-list/test/fixtures.js +0 -25
- package/lib/molecule/add-to-my-list/test/fixtures.js.map +0 -1
- package/lib/organism/accordion/coorp-manager/part/test/fixtures.js +0 -22
- package/lib/organism/accordion/coorp-manager/part/test/fixtures.js.map +0 -1
- package/lib/organism/accordion/coorp-manager/test/fixtures.js +0 -22
- package/lib/organism/accordion/coorp-manager/test/fixtures.js.map +0 -1
- package/lib/organism/brand-dashboard/test/fixtures.js +0 -37
- package/lib/organism/brand-dashboard/test/fixtures.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/template/back-office/brand-update/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateBackOfficeBrandUpdate","fixtureAnalytics","fixtureAnimations","fixtureCohortError","fixtureCohort","fixtureDashboard","fixtureDashboardsAnalytics","fixtureDefault","fixtureGeneralSettingsSuccess","fixtureGeneralSettings","fixtureLmsError","fixtureLmsModified","fixtureLmsSuccess","fixtureLms","fixtureLoader","fixtureLookandfeelError","fixtureLookandfeelModified","fixtureLookandfeelPending","fixtureLookandfeelSuccess","fixtureLookandfeel","fixtureManageusersEdit","fixtureManageusersList","fixtureManageusers","fixtureSsoActivate","fixtureSso","fixtureUploadusersLoading","fixtureUploadusersSuccessful","fixtureUploadusers","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,6BAAP,MAA0C,IAA1C;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,iBAAP,MAA8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AAwHC,6BAAxH,EAAuJgB,0BAAvJ,CAAJ;AACAnB,IAAI,CAAC,8FAAD,EAAiGE,oBAAjG,EAAuHC,6BAAvH,EAAsJiB,yBAAtJ,CAAJ;AACApB,IAAI,CAAC,8FAAD,EAAiGE,oBAAjG,EAAuHC,6BAAvH,EAAsJkB,yBAAtJ,CAAJ;AACArB,IAAI,CAAC,uFAAD,EAA0FE,oBAA1F,EAAgHC,6BAAhH,EAA+ImB,kBAA/I,CAAJ;AACAtB,IAAI,CAAC,2FAAD,EAA8FE,oBAA9F,EAAoHC,6BAApH,EAAmJoB,sBAAnJ,CAAJ;AACAvB,IAAI,CAAC,2FAAD,EAA8FE,oBAA9F,EAAoHC,6BAApH,EAAmJqB,sBAAnJ,CAAJ;AACAxB,IAAI,CAAC,uFAAD,EAA0FE,oBAA1F,EAAgHC,6BAAhH,EAA+IsB,kBAA/I,CAAJ;AACAzB,IAAI,CAAC,uFAAD,EAA0FE,oBAA1F,EAAgHC,6BAAhH,EAA+IuB,kBAA/I,CAAJ;AACA1B,IAAI,CAAC,+EAAD,EAAkFE,oBAAlF,EAAwGC,6BAAxG,EAAuIwB,UAAvI,CAAJ;AACA3B,IAAI,CAAC,8FAAD,EAAiGE,oBAAjG,EAAuHC,6BAAvH,EAAsJyB,yBAAtJ,CAAJ;AACA5B,IAAI,CAAC,iGAAD,EAAoGE,oBAApG,EAA0HC,6BAA1H,EAAyJ0B,4BAAzJ,CAAJ;AACA7B,IAAI,CAAC,uFAAD,EAA0FE,oBAA1F,EAAgHC,6BAAhH,EAA+I2B,kBAA/I,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateBackOfficeBrandUpdate from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureAnimations from './fixtures/animations';\nimport fixtureCohortError from './fixtures/cohort-error';\nimport fixtureCohort from './fixtures/cohort';\nimport fixtureDashboard from './fixtures/dashboard';\nimport fixtureDashboardsAnalytics from './fixtures/dashboards-analytics';\nimport fixtureDefault from './fixtures/default';\nimport fixtureGeneralSettingsSuccess from './fixtures/general-settings-success';\nimport fixtureGeneralSettings from './fixtures/general-settings';\nimport fixtureLmsError from './fixtures/lms-error';\nimport fixtureLmsModified from './fixtures/lms-modified';\nimport fixtureLmsSuccess from './fixtures/lms-success';\nimport fixtureLms from './fixtures/lms';\nimport fixtureLoader from './fixtures/loader';\nimport fixtureLookandfeelError from './fixtures/lookandfeel-error';\nimport fixtureLookandfeelModified from './fixtures/lookandfeel-modified';\nimport fixtureLookandfeelPending from './fixtures/lookandfeel-pending';\nimport fixtureLookandfeelSuccess from './fixtures/lookandfeel-success';\nimport fixtureLookandfeel from './fixtures/lookandfeel';\nimport fixtureManageusersEdit from './fixtures/manageusers-edit';\nimport fixtureManageusersList from './fixtures/manageusers-list';\nimport fixtureManageusers from './fixtures/manageusers';\nimport fixtureSsoActivate from './fixtures/sso-activate';\nimport fixtureSso from './fixtures/sso';\nimport fixtureUploadusersLoading from './fixtures/uploadusers-loading';\nimport fixtureUploadusersSuccessful from './fixtures/uploadusers-successful';\nimport fixtureUploadusers from './fixtures/uploadusers';\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateBackOfficeBrandUpdate.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateBackOffice.TemplateBackOfficeBrandUpdate.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Analytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Animations › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnimations);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › CohortError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohortError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Cohort › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohort);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Dashboard › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboard);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › DashboardsAnalytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboardsAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Default › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDefault);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettingsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettingsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettings › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettings);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lms › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLms);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Loader › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLoader);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelPending › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelPending);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lookandfeel › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeel);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersEdit › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersEdit);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersList › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersList);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Manageusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusers);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › SsoActivate › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSsoActivate);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Sso › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSso);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersLoading › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersLoading);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersSuccessful › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersSuccessful);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Uploadusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusers);\n"],"file":"fixtures.js"}
|
|
1
|
+
{"version":3,"sources":["../../../../../src/template/back-office/brand-update/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateBackOfficeBrandUpdate","fixtureAnalytics","fixtureAnimations","fixtureCohortError","fixtureCohort","fixtureDashboard","fixtureDefault","fixtureGeneralSettingsSuccess","fixtureGeneralSettings","fixtureLmsError","fixtureLmsModified","fixtureLmsSuccess","fixtureLms","fixtureLoader","fixtureLookandfeelError","fixtureLookandfeelModified","fixtureLookandfeelPending","fixtureLookandfeelSuccess","fixtureLookandfeel","fixtureManageusersEdit","fixtureManageusersList","fixtureManageusers","fixtureSsoActivate","fixtureSso","fixtureUploadusersLoading","fixtureUploadusersSuccessful","fixtureUploadusers","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,6BAAP,MAA0C,IAA1C;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,iBAAP,MAA8B,uBAA9B;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,gBAAP,MAA6B,sBAA7B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,6BAAP,MAA0C,qCAA1C;AACA,OAAOC,sBAAP,MAAmC,6BAAnC;AACA,OAAOC,eAAP,MAA4B,sBAA5B;AACA,OAAOC,kBAAP,MAA+B,yBAA/B;AACA,OAAOC,iBAAP,MAA8B,wBAA9B;AACA,OAAOC,UAAP,MAAuB,gBAAvB;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,uBAAP,MAAoC,8BAApC;AACA,OAAOC,0BAAP,MAAuC,iCAAvC;AACA,OAAOC,yBAAP,MAAsC,gCAAtC;AACA,OAAOC,yBAAP,MAAsC,gCAAtC;AACA,OAAOC,kBAAP,MAA+B,wBAA/B;AACA,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GC,6BAAxG,EAAuIuB,UAAvI,CAAJ;AACA1B,IAAI,CAAC,8FAAD,EAAiGE,oBAAjG,EAAuHC,6BAAvH,EAAsJwB,yBAAtJ,CAAJ;AACA3B,IAAI,CAAC,iGAAD,EAAoGE,oBAApG,EAA0HC,6BAA1H,EAAyJyB,4BAAzJ,CAAJ;AACA5B,IAAI,CAAC,uFAAD,EAA0FE,oBAA1F,EAAgHC,6BAAhH,EAA+I0B,kBAA/I,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateBackOfficeBrandUpdate from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureAnimations from './fixtures/animations';\nimport fixtureCohortError from './fixtures/cohort-error';\nimport fixtureCohort from './fixtures/cohort';\nimport fixtureDashboard from './fixtures/dashboard';\nimport fixtureDefault from './fixtures/default';\nimport fixtureGeneralSettingsSuccess from './fixtures/general-settings-success';\nimport fixtureGeneralSettings from './fixtures/general-settings';\nimport fixtureLmsError from './fixtures/lms-error';\nimport fixtureLmsModified from './fixtures/lms-modified';\nimport fixtureLmsSuccess from './fixtures/lms-success';\nimport fixtureLms from './fixtures/lms';\nimport fixtureLoader from './fixtures/loader';\nimport fixtureLookandfeelError from './fixtures/lookandfeel-error';\nimport fixtureLookandfeelModified from './fixtures/lookandfeel-modified';\nimport fixtureLookandfeelPending from './fixtures/lookandfeel-pending';\nimport fixtureLookandfeelSuccess from './fixtures/lookandfeel-success';\nimport fixtureLookandfeel from './fixtures/lookandfeel';\nimport fixtureManageusersEdit from './fixtures/manageusers-edit';\nimport fixtureManageusersList from './fixtures/manageusers-list';\nimport fixtureManageusers from './fixtures/manageusers';\nimport fixtureSsoActivate from './fixtures/sso-activate';\nimport fixtureSso from './fixtures/sso';\nimport fixtureUploadusersLoading from './fixtures/uploadusers-loading';\nimport fixtureUploadusersSuccessful from './fixtures/uploadusers-successful';\nimport fixtureUploadusers from './fixtures/uploadusers';\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateBackOfficeBrandUpdate.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateBackOffice.TemplateBackOfficeBrandUpdate.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Analytics › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnalytics);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Animations › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureAnimations);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › CohortError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohortError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Cohort › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureCohort);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Dashboard › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDashboard);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Default › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureDefault);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettingsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettingsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › GeneralSettings › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureGeneralSettings);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LmsSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLmsSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lms › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLms);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Loader › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLoader);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelError › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelError);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelModified › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelModified);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelPending › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelPending);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › LookandfeelSuccess › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeelSuccess);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Lookandfeel › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureLookandfeel);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersEdit › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersEdit);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › ManageusersList › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusersList);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Manageusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureManageusers);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › SsoActivate › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSsoActivate);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Sso › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureSso);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersLoading › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersLoading);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › UploadusersSuccessful › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusersSuccessful);\ntest('TemplateBackOffice › TemplateBackOfficeBrandUpdate › Uploadusers › should be rendered', renderComponentMacro, TemplateBackOfficeBrandUpdate, fixtureUploadusers);\n"],"file":"fixtures.js"}
|
|
@@ -2,12 +2,8 @@ import test from 'ava';
|
|
|
2
2
|
import forEach from 'lodash/forEach';
|
|
3
3
|
import renderComponentMacro from '../../../../test/helpers/render-component';
|
|
4
4
|
import TemplateCommonDiscipline from '..';
|
|
5
|
-
import fixtureAddToMyList from './fixtures/add-to-my-list';
|
|
6
5
|
import fixtureArabic from './fixtures/arabic';
|
|
7
6
|
import fixtureDefault from './fixtures/default';
|
|
8
|
-
import fixtureDisableAddToMyList from './fixtures/disable-add-to-my-list';
|
|
9
|
-
import fixtureDisableShareAndAddToMyList from './fixtures/disable-share-and-add-to-my-list';
|
|
10
|
-
import fixtureDisableShare from './fixtures/disable-share';
|
|
11
7
|
import fixtureDoubleAuthor from './fixtures/double-author';
|
|
12
8
|
import fixtureEmpty from './fixtures/empty';
|
|
13
9
|
import fixtureExternalCourseWithVideo from './fixtures/external-course-with-video';
|
|
@@ -17,7 +13,6 @@ import fixtureJwplayer from './fixtures/jwplayer';
|
|
|
17
13
|
import fixtureLoading from './fixtures/loading';
|
|
18
14
|
import fixtureNoAuthor from './fixtures/no-author';
|
|
19
15
|
import fixtureNoVideo from './fixtures/no-video';
|
|
20
|
-
import fixtureShare from './fixtures/share';
|
|
21
16
|
import fixtureVimeo from './fixtures/vimeo';
|
|
22
17
|
import fixtureWithOnclick from './fixtures/with-onclick';
|
|
23
18
|
test('TemplateCommon › TemplateCommonDiscipline > should have valid propTypes', t => {
|
|
@@ -26,12 +21,8 @@ test('TemplateCommon › TemplateCommonDiscipline > should have valid propTypes'
|
|
|
26
21
|
t.not(value, undefined, `PropType for "TemplateCommon.TemplateCommonDiscipline.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
|
|
27
22
|
});
|
|
28
23
|
});
|
|
29
|
-
test('TemplateCommon › TemplateCommonDiscipline › AddToMyList › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureAddToMyList);
|
|
30
24
|
test('TemplateCommon › TemplateCommonDiscipline › Arabic › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureArabic);
|
|
31
25
|
test('TemplateCommon › TemplateCommonDiscipline › Default › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureDefault);
|
|
32
|
-
test('TemplateCommon › TemplateCommonDiscipline › DisableAddToMyList › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureDisableAddToMyList);
|
|
33
|
-
test('TemplateCommon › TemplateCommonDiscipline › DisableShareAndAddToMyList › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureDisableShareAndAddToMyList);
|
|
34
|
-
test('TemplateCommon › TemplateCommonDiscipline › DisableShare › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureDisableShare);
|
|
35
26
|
test('TemplateCommon › TemplateCommonDiscipline › DoubleAuthor › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureDoubleAuthor);
|
|
36
27
|
test('TemplateCommon › TemplateCommonDiscipline › Empty › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureEmpty);
|
|
37
28
|
test('TemplateCommon › TemplateCommonDiscipline › ExternalCourseWithVideo › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureExternalCourseWithVideo);
|
|
@@ -41,7 +32,6 @@ test('TemplateCommon › TemplateCommonDiscipline › Jwplayer › should be ren
|
|
|
41
32
|
test('TemplateCommon › TemplateCommonDiscipline › Loading › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureLoading);
|
|
42
33
|
test('TemplateCommon › TemplateCommonDiscipline › NoAuthor › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureNoAuthor);
|
|
43
34
|
test('TemplateCommon › TemplateCommonDiscipline › NoVideo › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureNoVideo);
|
|
44
|
-
test('TemplateCommon › TemplateCommonDiscipline › Share › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureShare);
|
|
45
35
|
test('TemplateCommon › TemplateCommonDiscipline › Vimeo › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureVimeo);
|
|
46
36
|
test('TemplateCommon › TemplateCommonDiscipline › WithOnclick › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureWithOnclick);
|
|
47
37
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/template/common/discipline/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateCommonDiscipline","
|
|
1
|
+
{"version":3,"sources":["../../../../../src/template/common/discipline/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateCommonDiscipline","fixtureArabic","fixtureDefault","fixtureDoubleAuthor","fixtureEmpty","fixtureExternalCourseWithVideo","fixtureExternalCourseWithoutImage","fixtureExternalCourse","fixtureJwplayer","fixtureLoading","fixtureNoAuthor","fixtureNoVideo","fixtureVimeo","fixtureWithOnclick","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,2CAAjC;AACA,OAAOC,wBAAP,MAAqC,IAArC;AACA,OAAOC,aAAP,MAA0B,mBAA1B;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,mBAAP,MAAgC,0BAAhC;AACA,OAAOC,YAAP,MAAyB,kBAAzB;AACA,OAA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G,EAA8HQ,eAA9H,CAAJ;AACAX,IAAI,CAAC,0EAAD,EAA6EE,oBAA7E,EAAmGC,wBAAnG,EAA6HS,cAA7H,CAAJ;AACAZ,IAAI,CAAC,2EAAD,EAA8EE,oBAA9E,EAAoGC,wBAApG,EAA8HU,eAA9H,CAAJ;AACAb,IAAI,CAAC,0EAAD,EAA6EE,oBAA7E,EAAmGC,wBAAnG,EAA6HW,cAA7H,CAAJ;AACAd,IAAI,CAAC,wEAAD,EAA2EE,oBAA3E,EAAiGC,wBAAjG,EAA2HY,YAA3H,CAAJ;AACAf,IAAI,CAAC,8EAAD,EAAiFE,oBAAjF,EAAuGC,wBAAvG,EAAiIa,kBAAjI,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../../test/helpers/render-component';\nimport TemplateCommonDiscipline from '..';\nimport fixtureArabic from './fixtures/arabic';\nimport fixtureDefault from './fixtures/default';\nimport fixtureDoubleAuthor from './fixtures/double-author';\nimport fixtureEmpty from './fixtures/empty';\nimport fixtureExternalCourseWithVideo from './fixtures/external-course-with-video';\nimport fixtureExternalCourseWithoutImage from './fixtures/external-course-without-image';\nimport fixtureExternalCourse from './fixtures/external-course';\nimport fixtureJwplayer from './fixtures/jwplayer';\nimport fixtureLoading from './fixtures/loading';\nimport fixtureNoAuthor from './fixtures/no-author';\nimport fixtureNoVideo from './fixtures/no-video';\nimport fixtureVimeo from './fixtures/vimeo';\nimport fixtureWithOnclick from './fixtures/with-onclick';\n\ntest('TemplateCommon › TemplateCommonDiscipline > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateCommonDiscipline.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"TemplateCommon.TemplateCommonDiscipline.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('TemplateCommon › TemplateCommonDiscipline › Arabic › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureArabic);\ntest('TemplateCommon › TemplateCommonDiscipline › Default › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureDefault);\ntest('TemplateCommon › TemplateCommonDiscipline › DoubleAuthor › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureDoubleAuthor);\ntest('TemplateCommon › TemplateCommonDiscipline › Empty › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureEmpty);\ntest('TemplateCommon › TemplateCommonDiscipline › ExternalCourseWithVideo › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureExternalCourseWithVideo);\ntest('TemplateCommon › TemplateCommonDiscipline › ExternalCourseWithoutImage › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureExternalCourseWithoutImage);\ntest('TemplateCommon › TemplateCommonDiscipline › ExternalCourse › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureExternalCourse);\ntest('TemplateCommon › TemplateCommonDiscipline › Jwplayer › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureJwplayer);\ntest('TemplateCommon › TemplateCommonDiscipline › Loading › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureLoading);\ntest('TemplateCommon › TemplateCommonDiscipline › NoAuthor › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureNoAuthor);\ntest('TemplateCommon › TemplateCommonDiscipline › NoVideo › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureNoVideo);\ntest('TemplateCommon › TemplateCommonDiscipline › Vimeo › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureVimeo);\ntest('TemplateCommon › TemplateCommonDiscipline › WithOnclick › should be rendered', renderComponentMacro, TemplateCommonDiscipline, fixtureWithOnclick);\n"],"file":"fixtures.js"}
|
|
@@ -4,7 +4,6 @@ import renderComponentMacro from '../../../test/helpers/render-component';
|
|
|
4
4
|
import TemplateTeamsDashboard from '..';
|
|
5
5
|
import fixtureDefault from './fixtures/default';
|
|
6
6
|
import fixtureIsLoading from './fixtures/is-loading';
|
|
7
|
-
import fixtureMobile from './fixtures/mobile';
|
|
8
7
|
test('Template › TemplateTeamsDashboard > should have valid propTypes', t => {
|
|
9
8
|
t.pass();
|
|
10
9
|
forEach(TemplateTeamsDashboard.propTypes, (value, key) => {
|
|
@@ -13,5 +12,4 @@ test('Template › TemplateTeamsDashboard > should have valid propTypes', t => {
|
|
|
13
12
|
});
|
|
14
13
|
test('Template › TemplateTeamsDashboard › Default › should be rendered', renderComponentMacro, TemplateTeamsDashboard, fixtureDefault);
|
|
15
14
|
test('Template › TemplateTeamsDashboard › IsLoading › should be rendered', renderComponentMacro, TemplateTeamsDashboard, fixtureIsLoading);
|
|
16
|
-
test('Template › TemplateTeamsDashboard › Mobile › should be rendered', renderComponentMacro, TemplateTeamsDashboard, fixtureMobile);
|
|
17
15
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/template/teams-dashboard/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateTeamsDashboard","fixtureDefault","fixtureIsLoading","
|
|
1
|
+
{"version":3,"sources":["../../../../src/template/teams-dashboard/test/fixtures.js"],"names":["test","forEach","renderComponentMacro","TemplateTeamsDashboard","fixtureDefault","fixtureIsLoading","t","pass","propTypes","value","key","not","undefined"],"mappings":"AAAA,OAAOA,IAAP,MAAiB,KAAjB;AACA,OAAOC,OAAP,MAAoB,gBAApB;AACA,OAAOC,oBAAP,MAAiC,wCAAjC;AACA,OAAOC,sBAAP,MAAmC,IAAnC;AACA,OAAOC,cAAP,MAA2B,oBAA3B;AACA,OAAOC,gBAAP,MAA6B,uBAA7B;AAEAL,IAAI,CAAC,iEAAD,EAAoEM,CAAC,IAAI;AAC3EA,EAAAA,CAAC,CAACC,IAAF;AACAN,EAAAA,OAAO,CAACE,sBAAsB,CAACK,SAAxB,EAAmC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACxDJ,IAAAA,CAAC,CAACK,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,2DAA0DF,GAAI,mEAAvF;AACD,GAFM,CAAP;AAGD,CALG,CAAJ;AAOAV,IAAI,CAAC,kEAAD,EAAqEE,oBAArE,EAA2FC,sBAA3F,EAAmHC,cAAnH,CAAJ;AACAJ,IAAI,CAAC,oEAAD,EAAuEE,oBAAvE,EAA6FC,sBAA7F,EAAqHE,gBAArH,CAAJ","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport TemplateTeamsDashboard from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureIsLoading from './fixtures/is-loading';\n\ntest('Template › TemplateTeamsDashboard > should have valid propTypes', t => {\n t.pass();\n forEach(TemplateTeamsDashboard.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Template.TemplateTeamsDashboard.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Template › TemplateTeamsDashboard › Default › should be rendered', renderComponentMacro, TemplateTeamsDashboard, fixtureDefault);\ntest('Template › TemplateTeamsDashboard › IsLoading › should be rendered', renderComponentMacro, TemplateTeamsDashboard, fixtureIsLoading);\n"],"file":"fixtures.js"}
|
|
@@ -16,8 +16,6 @@ var _default = _interopRequireDefault(require("./fixtures/default"));
|
|
|
16
16
|
|
|
17
17
|
var _importusers = _interopRequireDefault(require("./fixtures/importusers"));
|
|
18
18
|
|
|
19
|
-
var _light = _interopRequireDefault(require("./fixtures/light"));
|
|
20
|
-
|
|
21
19
|
var _lms = _interopRequireDefault(require("./fixtures/lms"));
|
|
22
20
|
|
|
23
21
|
var _lookandfeel = _interopRequireDefault(require("./fixtures/lookandfeel"));
|
|
@@ -38,7 +36,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
38
36
|
(0, _ava.default)('Molecule › MoleculeBrandTabs › Cohort › should be rendered', _renderComponent.default, _.default, _cohort.default);
|
|
39
37
|
(0, _ava.default)('Molecule › MoleculeBrandTabs › Default › should be rendered', _renderComponent.default, _.default, _default.default);
|
|
40
38
|
(0, _ava.default)('Molecule › MoleculeBrandTabs › Importusers › should be rendered', _renderComponent.default, _.default, _importusers.default);
|
|
41
|
-
(0, _ava.default)('Molecule › MoleculeBrandTabs › Light › should be rendered', _renderComponent.default, _.default, _light.default);
|
|
42
39
|
(0, _ava.default)('Molecule › MoleculeBrandTabs › Lms › should be rendered', _renderComponent.default, _.default, _lms.default);
|
|
43
40
|
(0, _ava.default)('Molecule › MoleculeBrandTabs › Lookandfeel › should be rendered', _renderComponent.default, _.default, _lookandfeel.default);
|
|
44
41
|
(0, _ava.default)('Molecule › MoleculeBrandTabs › Manageusers › should be rendered', _renderComponent.default, _.default, _manageusers.default);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/molecule/brand-tabs/test/fixtures.js"],"names":["t","pass","MoleculeBrandTabs","propTypes","value","key","not","undefined","renderComponentMacro","fixtureAnalytics","fixtureCohort","fixtureDefault","fixtureImportusers","
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/brand-tabs/test/fixtures.js"],"names":["t","pass","MoleculeBrandTabs","propTypes","value","key","not","undefined","renderComponentMacro","fixtureAnalytics","fixtureCohort","fixtureDefault","fixtureImportusers","fixtureLms","fixtureLookandfeel","fixtureManageusers","fixtureSso"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,4DAAL,EAAmEA,CAAC,IAAI;AACtEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAkBC,SAA1B,EAAqC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACnDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,sDAAqDF,GAAI,mEAAlF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,+DAAL,EAAsEG,wBAAtE,EAA4FN,SAA5F,EAA+GO,kBAA/G;AACA,kBAAK,4DAAL,EAAmED,wBAAnE,EAAyFN,SAAzF,EAA4GQ,eAA5G;AACA,kBAAK,6DAAL,EAAoEF,wBAApE,EAA0FN,SAA1F,EAA6GS,gBAA7G;AACA,kBAAK,iEAAL,EAAwEH,wBAAxE,EAA8FN,SAA9F,EAAiHU,oBAAjH;AACA,kBAAK,yDAAL,EAAgEJ,wBAAhE,EAAsFN,SAAtF,EAAyGW,YAAzG;AACA,kBAAK,iEAAL,EAAwEL,wBAAxE,EAA8FN,SAA9F,EAAiHY,oBAAjH;AACA,kBAAK,iEAAL,EAAwEN,wBAAxE,EAA8FN,SAA9F,EAAiHa,oBAAjH;AACA,kBAAK,yDAAL,EAAgEP,wBAAhE,EAAsFN,SAAtF,EAAyGc,YAAzG","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeBrandTabs from '..';\nimport fixtureAnalytics from './fixtures/analytics';\nimport fixtureCohort from './fixtures/cohort';\nimport fixtureDefault from './fixtures/default';\nimport fixtureImportusers from './fixtures/importusers';\nimport fixtureLms from './fixtures/lms';\nimport fixtureLookandfeel from './fixtures/lookandfeel';\nimport fixtureManageusers from './fixtures/manageusers';\nimport fixtureSso from './fixtures/sso';\n\ntest('Molecule › MoleculeBrandTabs > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeBrandTabs.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeBrandTabs.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeBrandTabs › Analytics › should be rendered', renderComponentMacro, MoleculeBrandTabs, fixtureAnalytics);\ntest('Molecule › MoleculeBrandTabs › Cohort › should be rendered', renderComponentMacro, MoleculeBrandTabs, fixtureCohort);\ntest('Molecule › MoleculeBrandTabs › Default › should be rendered', renderComponentMacro, MoleculeBrandTabs, fixtureDefault);\ntest('Molecule › MoleculeBrandTabs › Importusers › should be rendered', renderComponentMacro, MoleculeBrandTabs, fixtureImportusers);\ntest('Molecule › MoleculeBrandTabs › Lms › should be rendered', renderComponentMacro, MoleculeBrandTabs, fixtureLms);\ntest('Molecule › MoleculeBrandTabs › Lookandfeel › should be rendered', renderComponentMacro, MoleculeBrandTabs, fixtureLookandfeel);\ntest('Molecule › MoleculeBrandTabs › Manageusers › should be rendered', renderComponentMacro, MoleculeBrandTabs, fixtureManageusers);\ntest('Molecule › MoleculeBrandTabs › Sso › should be rendered', renderComponentMacro, MoleculeBrandTabs, fixtureSso);\n"],"file":"fixtures.js"}
|
|
@@ -10,18 +10,12 @@ var _ = _interopRequireDefault(require(".."));
|
|
|
10
10
|
|
|
11
11
|
var _arabic = _interopRequireDefault(require("./fixtures/arabic"));
|
|
12
12
|
|
|
13
|
-
var _audio = _interopRequireDefault(require("./fixtures/audio"));
|
|
14
|
-
|
|
15
13
|
var _default = _interopRequireDefault(require("./fixtures/default"));
|
|
16
14
|
|
|
17
15
|
var _empty = _interopRequireDefault(require("./fixtures/empty"));
|
|
18
16
|
|
|
19
17
|
var _medias = _interopRequireDefault(require("./fixtures/medias"));
|
|
20
18
|
|
|
21
|
-
var _pdf = _interopRequireDefault(require("./fixtures/pdf"));
|
|
22
|
-
|
|
23
|
-
var _vimeo = _interopRequireDefault(require("./fixtures/vimeo"));
|
|
24
|
-
|
|
25
19
|
var _withOnclick = _interopRequireDefault(require("./fixtures/with-onclick"));
|
|
26
20
|
|
|
27
21
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -33,11 +27,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
33
27
|
});
|
|
34
28
|
});
|
|
35
29
|
(0, _ava.default)('Molecule › MoleculeDisciplineScope › Arabic › should be rendered', _renderComponent.default, _.default, _arabic.default);
|
|
36
|
-
(0, _ava.default)('Molecule › MoleculeDisciplineScope › Audio › should be rendered', _renderComponent.default, _.default, _audio.default);
|
|
37
30
|
(0, _ava.default)('Molecule › MoleculeDisciplineScope › Default › should be rendered', _renderComponent.default, _.default, _default.default);
|
|
38
31
|
(0, _ava.default)('Molecule › MoleculeDisciplineScope › Empty › should be rendered', _renderComponent.default, _.default, _empty.default);
|
|
39
32
|
(0, _ava.default)('Molecule › MoleculeDisciplineScope › Medias › should be rendered', _renderComponent.default, _.default, _medias.default);
|
|
40
|
-
(0, _ava.default)('Molecule › MoleculeDisciplineScope › Pdf › should be rendered', _renderComponent.default, _.default, _pdf.default);
|
|
41
|
-
(0, _ava.default)('Molecule › MoleculeDisciplineScope › Vimeo › should be rendered', _renderComponent.default, _.default, _vimeo.default);
|
|
42
33
|
(0, _ava.default)('Molecule › MoleculeDisciplineScope › WithOnclick › should be rendered', _renderComponent.default, _.default, _withOnclick.default);
|
|
43
34
|
//# sourceMappingURL=fixtures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/molecule/discipline-scope/test/fixtures.js"],"names":["t","pass","MoleculeDisciplineScope","propTypes","value","key","not","undefined","renderComponentMacro","fixtureArabic","
|
|
1
|
+
{"version":3,"sources":["../../../../src/molecule/discipline-scope/test/fixtures.js"],"names":["t","pass","MoleculeDisciplineScope","propTypes","value","key","not","undefined","renderComponentMacro","fixtureArabic","fixtureDefault","fixtureEmpty","fixtureMedias","fixtureWithOnclick"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,kEAAL,EAAyEA,CAAC,IAAI;AAC5EA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAwBC,SAAhC,EAA2C,CAACC,KAAD,EAAQC,GAAR,KAAgB;AACzDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,4DAA2DF,GAAI,mEAAxF;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,kEAAL,EAAyEG,wBAAzE,EAA+FN,SAA/F,EAAwHO,eAAxH;AACA,kBAAK,mEAAL,EAA0ED,wBAA1E,EAAgGN,SAAhG,EAAyHQ,gBAAzH;AACA,kBAAK,iEAAL,EAAwEF,wBAAxE,EAA8FN,SAA9F,EAAuHS,cAAvH;AACA,kBAAK,kEAAL,EAAyEH,wBAAzE,EAA+FN,SAA/F,EAAwHU,eAAxH;AACA,kBAAK,uEAAL,EAA8EJ,wBAA9E,EAAoGN,SAApG,EAA6HW,oBAA7H","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeDisciplineScope from '..';\nimport fixtureArabic from './fixtures/arabic';\nimport fixtureDefault from './fixtures/default';\nimport fixtureEmpty from './fixtures/empty';\nimport fixtureMedias from './fixtures/medias';\nimport fixtureWithOnclick from './fixtures/with-onclick';\n\ntest('Molecule › MoleculeDisciplineScope > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeDisciplineScope.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeDisciplineScope.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeDisciplineScope › Arabic › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureArabic);\ntest('Molecule › MoleculeDisciplineScope › Default › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureDefault);\ntest('Molecule › MoleculeDisciplineScope › Empty › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureEmpty);\ntest('Molecule › MoleculeDisciplineScope › Medias › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureMedias);\ntest('Molecule › MoleculeDisciplineScope › WithOnclick › should be rendered', renderComponentMacro, MoleculeDisciplineScope, fixtureWithOnclick);\n"],"file":"fixtures.js"}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
|
|
6
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
7
|
+
|
|
8
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
+
|
|
10
|
+
var _novaIcons = require("@coorpacademy/nova-icons");
|
|
11
|
+
|
|
12
|
+
var _style = _interopRequireDefault(require("./style.css"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
|
17
|
+
|
|
18
|
+
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; }
|
|
19
|
+
|
|
20
|
+
const getIcon = feature => {
|
|
21
|
+
switch (feature) {
|
|
22
|
+
case 'manage_users':
|
|
23
|
+
return _novaIcons.NovaSolidUsersActionsUser;
|
|
24
|
+
|
|
25
|
+
case 'upload_users':
|
|
26
|
+
return _novaIcons.NovaSolidFilesBasicFileUpload2;
|
|
27
|
+
|
|
28
|
+
case 'manage_email':
|
|
29
|
+
return _novaIcons.NovaSolidEmailAtSign;
|
|
30
|
+
|
|
31
|
+
case 'massive_battle':
|
|
32
|
+
return _novaIcons.NovaSolidContentEditionFlash;
|
|
33
|
+
|
|
34
|
+
case 'cms':
|
|
35
|
+
return _novaIcons.NovaSolidApplicationsWindowApplication5;
|
|
36
|
+
|
|
37
|
+
case 'look_and_feel':
|
|
38
|
+
return _novaIcons.NovaSolidDesignPaintBrush2;
|
|
39
|
+
|
|
40
|
+
case 'dashboard':
|
|
41
|
+
return _novaIcons.NovaSolidContentContentViewList;
|
|
42
|
+
|
|
43
|
+
case 'cockpit':
|
|
44
|
+
return _novaIcons.NovaSolidContentContentBookAdd;
|
|
45
|
+
|
|
46
|
+
case 'analytics':
|
|
47
|
+
return _novaIcons.NovaSolidBusinessBusinessGraphLine2;
|
|
48
|
+
|
|
49
|
+
default:
|
|
50
|
+
return _novaIcons.NovaSolidContentContentBookAdd;
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
const getBackgroudRadialColors = feature => {
|
|
55
|
+
switch (feature) {
|
|
56
|
+
case 'manage_users':
|
|
57
|
+
case 'upload_users':
|
|
58
|
+
return {
|
|
59
|
+
iconColor: '#2EC1D6',
|
|
60
|
+
degrees: '187'
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
case 'look_and_feel':
|
|
64
|
+
case 'dashboard':
|
|
65
|
+
return {
|
|
66
|
+
iconColor: '#18BB98',
|
|
67
|
+
degrees: '167'
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
case 'cockpit':
|
|
71
|
+
return {
|
|
72
|
+
iconColor: '#FF7043',
|
|
73
|
+
degrees: '14'
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
case 'manage_email':
|
|
77
|
+
case 'massive_battle':
|
|
78
|
+
case 'cms':
|
|
79
|
+
return {
|
|
80
|
+
iconColor: '#7340FF',
|
|
81
|
+
degrees: '256'
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
case 'analytics':
|
|
85
|
+
return {
|
|
86
|
+
iconColor: '#FF4040',
|
|
87
|
+
degrees: '0'
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
default:
|
|
91
|
+
return null;
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
const QuickAccessCard = (props, context) => {
|
|
96
|
+
const {
|
|
97
|
+
title,
|
|
98
|
+
description,
|
|
99
|
+
feature,
|
|
100
|
+
onClick,
|
|
101
|
+
_blank
|
|
102
|
+
} = props;
|
|
103
|
+
const {
|
|
104
|
+
iconColor,
|
|
105
|
+
degrees
|
|
106
|
+
} = getBackgroudRadialColors(feature);
|
|
107
|
+
const Icon = getIcon(feature);
|
|
108
|
+
const handleClick = (0, _react.useMemo)(() => e => onClick(e), [onClick]);
|
|
109
|
+
const newTabOnClick = _blank ? /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademyOpenInNewTab, {
|
|
110
|
+
className: _style.default.newTabIcon
|
|
111
|
+
}) : null;
|
|
112
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
113
|
+
"data-name": "card",
|
|
114
|
+
"data-type": feature,
|
|
115
|
+
className: _style.default.quickAccess,
|
|
116
|
+
onClick: handleClick
|
|
117
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
118
|
+
style: {
|
|
119
|
+
background: `radial-gradient(62.12% 56.45% at 0% 77.29%,
|
|
120
|
+
hsl(${degrees}deg 68% 40% / 20%) 0%,
|
|
121
|
+
hsl(${degrees}deg 68% 40% / 0%) 100%),
|
|
122
|
+
radial-gradient(113.85% 103.46% at 93.27% 7.88%,
|
|
123
|
+
hsl(${degrees}deg 67% 51% / 15%) 0%,
|
|
124
|
+
hsl(${degrees}deg 67% 51% / 0%) 100%),
|
|
125
|
+
radial-gradient(49.66% 49.63% at 78.65% 86.26%,
|
|
126
|
+
hsl(${degrees}deg 87% 91%) 0%,
|
|
127
|
+
hsl(${degrees}deg 87% 91% / 0%) 100%),
|
|
128
|
+
#FAFAFA`
|
|
129
|
+
},
|
|
130
|
+
className: _style.default.content
|
|
131
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
132
|
+
className: _style.default.iconFeatureWrapper,
|
|
133
|
+
style: {
|
|
134
|
+
backgroundColor: iconColor
|
|
135
|
+
}
|
|
136
|
+
}, /*#__PURE__*/_react.default.createElement(Icon, {
|
|
137
|
+
className: _style.default.iconFeature
|
|
138
|
+
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
139
|
+
className: _style.default.title
|
|
140
|
+
}, title, newTabOnClick), /*#__PURE__*/_react.default.createElement("div", {
|
|
141
|
+
className: _style.default.description
|
|
142
|
+
}, description), /*#__PURE__*/_react.default.createElement("div", {
|
|
143
|
+
className: _style.default.iconGotoWrapper,
|
|
144
|
+
style: {
|
|
145
|
+
backgroundColor: iconColor
|
|
146
|
+
}
|
|
147
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
148
|
+
className: _style.default.hover,
|
|
149
|
+
style: {
|
|
150
|
+
color: iconColor
|
|
151
|
+
}
|
|
152
|
+
}, /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionNavigationArrowRight, {
|
|
153
|
+
className: _style.default.iconGoto
|
|
154
|
+
})))));
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
QuickAccessCard.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
158
|
+
title: _propTypes.default.string,
|
|
159
|
+
description: _propTypes.default.string,
|
|
160
|
+
onClick: _propTypes.default.func,
|
|
161
|
+
_blank: _propTypes.default.bool,
|
|
162
|
+
feature: _propTypes.default.oneOf(['analytics', 'cms', 'cockpit', 'massive_battle', 'manage_email', 'dashboard', 'look_and_feel', 'manage_users', 'upload_users'])
|
|
163
|
+
} : {};
|
|
164
|
+
var _default = QuickAccessCard;
|
|
165
|
+
exports.default = _default;
|
|
166
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/molecule/quick-access-card/index.js"],"names":["getIcon","feature","ManageUserIcon","UploadUserIcon","ManageEmailIcon","MassiveBattleIcon","CmsIcon","LookAndFeelIcon","DashboardIcon","CockpitIcon","AnalyticsIcon","getBackgroudRadialColors","iconColor","degrees","QuickAccessCard","props","context","title","description","onClick","_blank","Icon","handleClick","e","newTabOnClick","style","newTabIcon","quickAccess","background","content","iconFeatureWrapper","backgroundColor","iconFeature","iconGotoWrapper","hover","color","iconGoto","propTypes","PropTypes","string","func","bool","oneOf"],"mappings":";;;;;AAAA;;AACA;;AACA;;AAaA;;;;;;;;AAEA,MAAMA,OAAO,GAAGC,OAAO,IAAI;AACzB,UAAQA,OAAR;AACE,SAAK,cAAL;AACE,aAAOC,oCAAP;;AACF,SAAK,cAAL;AACE,aAAOC,yCAAP;;AACF,SAAK,cAAL;AACE,aAAOC,+BAAP;;AACF,SAAK,gBAAL;AACE,aAAOC,uCAAP;;AACF,SAAK,KAAL;AACE,aAAOC,kDAAP;;AACF,SAAK,eAAL;AACE,aAAOC,qCAAP;;AACF,SAAK,WAAL;AACE,aAAOC,0CAAP;;AACF,SAAK,SAAL;AACE,aAAOC,yCAAP;;AACF,SAAK,WAAL;AACE,aAAOC,8CAAP;;AACF;AACE,aAAOD,yCAAP;AApBJ;AAsBD,CAvBD;;AAyBA,MAAME,wBAAwB,GAAGV,OAAO,IAAI;AAC1C,UAAQA,OAAR;AACE,SAAK,cAAL;AACA,SAAK,cAAL;AACE,aAAO;AACLW,QAAAA,SAAS,EAAE,SADN;AAELC,QAAAA,OAAO,EAAE;AAFJ,OAAP;;AAIF,SAAK,eAAL;AACA,SAAK,WAAL;AACE,aAAO;AACLD,QAAAA,SAAS,EAAE,SADN;AAELC,QAAAA,OAAO,EAAE;AAFJ,OAAP;;AAIF,SAAK,SAAL;AACE,aAAO;AACLD,QAAAA,SAAS,EAAE,SADN;AAELC,QAAAA,OAAO,EAAE;AAFJ,OAAP;;AAIF,SAAK,cAAL;AACA,SAAK,gBAAL;AACA,SAAK,KAAL;AACE,aAAO;AACLD,QAAAA,SAAS,EAAE,SADN;AAELC,QAAAA,OAAO,EAAE;AAFJ,OAAP;;AAIF,SAAK,WAAL;AACE,aAAO;AACLD,QAAAA,SAAS,EAAE,SADN;AAELC,QAAAA,OAAO,EAAE;AAFJ,OAAP;;AAIF;AACE,aAAO,IAAP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,CA3BF,eA4BE;AACE,IAAA,SAAS,EAAEO,eAAMQ,eADnB;AAEE,IAAA,KAAK,EAAE;AACLF,MAAAA,eAAe,EAAEnB;AADZ;AAFT,kBAME;AACE,IAAA,SAAS,EAAEa,eAAMS,KADnB;AAEE,IAAA,KAAK,EAAE;AACLC,MAAAA,KAAK,EAAEvB;AADF;AAFT,kBAME,6BAAC,8CAAD;AAAY,IAAA,SAAS,EAAEa,eAAMW;AAA7B,IANF,CANF,CA5BF,CADF,CADF;AAgDD,CAvDD;;AAyDAtB,eAAe,CAACuB,SAAhB,2CAA4B;AAC1BpB,EAAAA,KAAK,EAAEqB,mBAAUC,MADS;AAE1BrB,EAAAA,WAAW,EAAEoB,mBAAUC,MAFG;AAG1BpB,EAAAA,OAAO,EAAEmB,mBAAUE,IAHO;AAI1BpB,EAAAA,MAAM,EAAEkB,mBAAUG,IAJQ;AAK1BxC,EAAAA,OAAO,EAAEqC,mBAAUI,KAAV,CAAgB,CACvB,WADuB,EAEvB,KAFuB,EAGvB,SAHuB,EAIvB,gBAJuB,EAKvB,cALuB,EAMvB,WANuB,EAOvB,eAPuB,EAQvB,cARuB,EASvB,cATuB,CAAhB;AALiB,CAA5B;eAkBe5B,e","sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport {\n NovaSolidContentContentBookAdd as CockpitIcon,\n NovaSolidUsersActionsUser as ManageUserIcon,\n NovaSolidFilesBasicFileUpload2 as UploadUserIcon,\n NovaSolidEmailAtSign as ManageEmailIcon,\n NovaSolidDesignPaintBrush2 as LookAndFeelIcon,\n NovaSolidContentContentViewList as DashboardIcon,\n NovaSolidContentEditionFlash as MassiveBattleIcon,\n NovaSolidApplicationsWindowApplication5 as CmsIcon,\n NovaSolidBusinessBusinessGraphLine2 as AnalyticsIcon,\n NovaCompositionNavigationArrowRight as ActionIcon,\n NovaCompositionCoorpacademyOpenInNewTab as NewTabIcon\n} from '@coorpacademy/nova-icons';\nimport style from './style.css';\n\nconst getIcon = feature => {\n switch (feature) {\n case 'manage_users':\n return ManageUserIcon;\n case 'upload_users':\n return UploadUserIcon;\n case 'manage_email':\n return ManageEmailIcon;\n case 'massive_battle':\n return MassiveBattleIcon;\n case 'cms':\n return CmsIcon;\n case 'look_and_feel':\n return LookAndFeelIcon;\n case 'dashboard':\n return DashboardIcon;\n case 'cockpit':\n return CockpitIcon;\n case 'analytics':\n return AnalyticsIcon;\n default:\n return CockpitIcon;\n }\n};\n\nconst getBackgroudRadialColors = feature => {\n switch (feature) {\n case 'manage_users':\n case 'upload_users':\n return {\n iconColor: '#2EC1D6',\n degrees: '187'\n };\n case 'look_and_feel':\n case 'dashboard':\n return {\n iconColor: '#18BB98',\n degrees: '167'\n };\n case 'cockpit':\n return {\n iconColor: '#FF7043',\n degrees: '14'\n };\n case 'manage_email':\n case 'massive_battle':\n case 'cms':\n return {\n iconColor: '#7340FF',\n degrees: '256'\n };\n case 'analytics':\n return {\n iconColor: '#FF4040',\n degrees: '0'\n };\n default:\n return null;\n }\n};\n\nconst QuickAccessCard = (props, context) => {\n const {title, description, feature, onClick, _blank} = props;\n const {iconColor, degrees} = getBackgroudRadialColors(feature);\n const Icon = getIcon(feature);\n const handleClick = useMemo(() => e => onClick(e), [onClick]);\n const newTabOnClick = _blank ? <NewTabIcon className={style.newTabIcon} /> : null;\n\n return (\n <div data-name=\"card\" data-type={feature} className={style.quickAccess} onClick={handleClick}>\n <div\n style={{\n background: `radial-gradient(62.12% 56.45% at 0% 77.29%, \n hsl(${degrees}deg 68% 40% / 20%) 0%, \n hsl(${degrees}deg 68% 40% / 0%) 100%), \n radial-gradient(113.85% 103.46% at 93.27% 7.88%,\n hsl(${degrees}deg 67% 51% / 15%) 0%, \n hsl(${degrees}deg 67% 51% / 0%) 100%),\n radial-gradient(49.66% 49.63% at 78.65% 86.26%, \n hsl(${degrees}deg 87% 91%) 0%, \n hsl(${degrees}deg 87% 91% / 0%) 100%), \n #FAFAFA`\n }}\n className={style.content}\n >\n <div\n className={style.iconFeatureWrapper}\n style={{\n backgroundColor: iconColor\n }}\n >\n <Icon className={style.iconFeature} />\n </div>\n <div className={style.title}>\n {title}\n {newTabOnClick}\n </div>\n <div className={style.description}>{description}</div>\n <div\n className={style.iconGotoWrapper}\n style={{\n backgroundColor: iconColor\n }}\n >\n <div\n className={style.hover}\n style={{\n color: iconColor\n }}\n >\n <ActionIcon className={style.iconGoto} />\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nQuickAccessCard.propTypes = {\n title: PropTypes.string,\n description: PropTypes.string,\n onClick: PropTypes.func,\n _blank: PropTypes.bool,\n feature: PropTypes.oneOf([\n 'analytics',\n 'cms',\n 'cockpit',\n 'massive_battle',\n 'manage_email',\n 'dashboard',\n 'look_and_feel',\n 'manage_users',\n 'upload_users'\n ])\n};\n\nexport default QuickAccessCard;\n"],"file":"index.js"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
@value colors: "../../variables/colors.css";
|
|
2
|
+
@value white from colors;
|
|
3
|
+
|
|
4
|
+
.quickAccess {
|
|
5
|
+
width: 268px;
|
|
6
|
+
height: 281px;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.content {
|
|
11
|
+
height: 100%;
|
|
12
|
+
width: 100%;
|
|
13
|
+
border-radius: 8px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.content:hover {
|
|
17
|
+
box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.1);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.title {
|
|
21
|
+
font-family: 'Gilroy';
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
font-style: normal;
|
|
24
|
+
font-size: 20px;
|
|
25
|
+
line-height: 28px;
|
|
26
|
+
top: 84px;
|
|
27
|
+
left: 24px;
|
|
28
|
+
position: absolute;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.description {
|
|
32
|
+
font-family: 'Gilroy';
|
|
33
|
+
font-weight: 500;
|
|
34
|
+
font-style: normal;
|
|
35
|
+
font-size: 16px;
|
|
36
|
+
line-height: 22px;
|
|
37
|
+
position: absolute;
|
|
38
|
+
top: 120px;
|
|
39
|
+
left: 24px;
|
|
40
|
+
max-width: 212px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.iconWrapper {
|
|
44
|
+
width: 44px;
|
|
45
|
+
height: 44px;
|
|
46
|
+
position: absolute;
|
|
47
|
+
border-radius: 8px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.iconFeatureWrapper {
|
|
51
|
+
composes: iconWrapper;
|
|
52
|
+
top: 24px;
|
|
53
|
+
left: 24px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.iconFeature {
|
|
57
|
+
color: white;
|
|
58
|
+
width: 20px;
|
|
59
|
+
height: 20px;
|
|
60
|
+
position: relative;
|
|
61
|
+
top: 12px;
|
|
62
|
+
left: 12px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.iconGotoWrapper {
|
|
66
|
+
composes: iconWrapper;
|
|
67
|
+
top: 213px;
|
|
68
|
+
left: 200px;
|
|
69
|
+
background-color: white;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.hover {
|
|
73
|
+
composes: iconWrapper;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.iconGotoWrapper:hover .hover{
|
|
77
|
+
background: inherit;
|
|
78
|
+
transition: all 0.5s linear;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.iconGotoWrapper .hover{
|
|
82
|
+
background: white;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.iconGoto {
|
|
86
|
+
width: 14px;
|
|
87
|
+
height: 14px;
|
|
88
|
+
position: relative;
|
|
89
|
+
top: 15px;
|
|
90
|
+
left: 15px;
|
|
91
|
+
color: inherit;
|
|
92
|
+
transition: all 0.5s linear;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.iconGotoWrapper:hover .iconGoto{
|
|
96
|
+
color: white;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.newTabIcon {
|
|
100
|
+
padding-left: 8px;
|
|
101
|
+
width: 20px;
|
|
102
|
+
height: 20px;
|
|
103
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
title: 'See analytics',
|
|
8
|
+
description: 'Access to the analytics page on your platform',
|
|
9
|
+
_blank: true,
|
|
10
|
+
feature: 'analytics',
|
|
11
|
+
onClick: () => console.log('click everywhere')
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
exports.default = _default;
|
|
15
|
+
//# sourceMappingURL=analytics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/quick-access-card/test/fixtures/analytics.js"],"names":["props","title","description","_blank","feature","onClick","console","log"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,eADF;AAELC,IAAAA,WAAW,EAAE,+CAFR;AAGLC,IAAAA,MAAM,EAAE,IAHH;AAILC,IAAAA,OAAO,EAAE,WAJJ;AAKLC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,kBAAZ;AALV;AADM,C","sourcesContent":["export default {\n props: {\n title: 'See analytics',\n description: 'Access to the analytics page on your platform',\n _blank: true,\n feature: 'analytics',\n onClick: () => console.log('click everywhere')\n }\n};\n"],"file":"analytics.js"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
title: 'Create course',
|
|
8
|
+
description: 'Access to cockpit to create courses',
|
|
9
|
+
_blank: true,
|
|
10
|
+
feature: 'cockpit',
|
|
11
|
+
onClick: () => console.log('click everywhere')
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
exports.default = _default;
|
|
15
|
+
//# sourceMappingURL=default.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/quick-access-card/test/fixtures/default.js"],"names":["props","title","description","_blank","feature","onClick","console","log"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,eADF;AAELC,IAAAA,WAAW,EAAE,qCAFR;AAGLC,IAAAA,MAAM,EAAE,IAHH;AAILC,IAAAA,OAAO,EAAE,SAJJ;AAKLC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,kBAAZ;AALV;AADM,C","sourcesContent":["export default {\n props: {\n title: 'Create course',\n description: 'Access to cockpit to create courses',\n _blank: true,\n feature: 'cockpit',\n onClick: () => console.log('click everywhere')\n }\n};\n"],"file":"default.js"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
title: 'Edit look & feel',
|
|
8
|
+
description: 'Edit logos and colors of your platform',
|
|
9
|
+
feature: 'look_and_feel',
|
|
10
|
+
onClick: () => console.log('click everywhere')
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
exports.default = _default;
|
|
14
|
+
//# sourceMappingURL=look-and-feel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/quick-access-card/test/fixtures/look-and-feel.js"],"names":["props","title","description","feature","onClick","console","log"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,kBADF;AAELC,IAAAA,WAAW,EAAE,wCAFR;AAGLC,IAAAA,OAAO,EAAE,eAHJ;AAILC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,kBAAZ;AAJV;AADM,C","sourcesContent":["export default {\n props: {\n title: 'Edit look & feel',\n description: 'Edit logos and colors of your platform',\n feature: 'look_and_feel',\n onClick: () => console.log('click everywhere')\n }\n};\n"],"file":"look-and-feel.js"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _default = {
|
|
6
|
+
props: {
|
|
7
|
+
title: 'Manage email',
|
|
8
|
+
description: 'Manage all the settings for your emails',
|
|
9
|
+
feature: 'manage_email',
|
|
10
|
+
onClick: () => console.log('click everywhere')
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
exports.default = _default;
|
|
14
|
+
//# sourceMappingURL=manage-email.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/molecule/quick-access-card/test/fixtures/manage-email.js"],"names":["props","title","description","feature","onClick","console","log"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,cADF;AAELC,IAAAA,WAAW,EAAE,yCAFR;AAGLC,IAAAA,OAAO,EAAE,cAHJ;AAILC,IAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,kBAAZ;AAJV;AADM,C","sourcesContent":["export default {\n props: {\n title: 'Manage email',\n description: 'Manage all the settings for your emails',\n feature: 'manage_email',\n onClick: () => console.log('click everywhere')\n }\n};\n"],"file":"manage-email.js"}
|