@edx/frontend-plugin-learner-dashboard 3.3.4 → 3.4.0

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.
Files changed (72) hide show
  1. package/dist/dynamic-experience-slot/DynamicExperienceSlot.js +7 -2
  2. package/dist/dynamic-experience-slot/DynamicExperienceSlot.js.map +1 -1
  3. package/dist/index.js +7 -0
  4. package/dist/index.js.map +1 -1
  5. package/dist/package.json +6 -3
  6. package/dist/progressive-profiling-dashboard/api/service.js +32 -0
  7. package/dist/progressive-profiling-dashboard/api/service.js.map +1 -0
  8. package/dist/progressive-profiling-dashboard/data/progressiveProfilingFields.js +60 -0
  9. package/dist/progressive-profiling-dashboard/data/progressiveProfilingFields.js.map +1 -0
  10. package/dist/progressive-profiling-dashboard/field-renderer/FieldRenderer.js +86 -0
  11. package/dist/progressive-profiling-dashboard/field-renderer/FieldRenderer.js.map +1 -0
  12. package/dist/progressive-profiling-dashboard/field-renderer/index.js +14 -0
  13. package/dist/progressive-profiling-dashboard/field-renderer/index.js.map +1 -0
  14. package/dist/progressive-profiling-dashboard/hooks/useProgressiveProfilingForm.js +58 -0
  15. package/dist/progressive-profiling-dashboard/hooks/useProgressiveProfilingForm.js.map +1 -0
  16. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/ProgressiveProfiling.js +157 -0
  17. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/ProgressiveProfiling.js.map +1 -0
  18. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/ProgressiveProfilingPageModal.js +62 -0
  19. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/ProgressiveProfilingPageModal.js.map +1 -0
  20. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/LargeLayout.js +101 -0
  21. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/LargeLayout.js.map +1 -0
  22. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/MediumLayout.js +125 -0
  23. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/MediumLayout.js.map +1 -0
  24. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/SmallLayout.js +106 -0
  25. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/SmallLayout.js.map +1 -0
  26. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/index.js +28 -0
  27. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/index.js.map +1 -0
  28. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/messages.js +40 -0
  29. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/messages.js.map +1 -0
  30. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/index.js +59 -0
  31. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/index.js.map +1 -0
  32. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/index.js +14 -0
  33. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/index.js.map +1 -0
  34. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/index.scss +269 -0
  35. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/messages.js +68 -0
  36. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/messages.js.map +1 -0
  37. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/service/getThirdPartyAuthContext.js +28 -0
  38. package/dist/progressive-profiling-dashboard/progressive-profiling-authn-replica/service/getThirdPartyAuthContext.js.map +1 -0
  39. package/dist/progressive-profiling-dashboard/utils/constants.js +12 -0
  40. package/dist/progressive-profiling-dashboard/utils/constants.js.map +1 -0
  41. package/dist/tracking/constants.js +2 -1
  42. package/dist/tracking/constants.js.map +1 -1
  43. package/dist/tracking/trackers/progressiveProfiling.js +42 -0
  44. package/dist/tracking/trackers/progressiveProfiling.js.map +1 -0
  45. package/dist/tracking/utils.js +15 -2
  46. package/dist/tracking/utils.js.map +1 -1
  47. package/package.json +7 -4
  48. package/src/dynamic-experience-slot/DynamicExperienceSlot.jsx +9 -2
  49. package/src/index.jsx +2 -0
  50. package/src/progressive-profiling-dashboard/api/service.js +24 -0
  51. package/src/progressive-profiling-dashboard/data/progressiveProfilingFields.js +85 -0
  52. package/src/progressive-profiling-dashboard/field-renderer/FieldRenderer.jsx +87 -0
  53. package/src/progressive-profiling-dashboard/field-renderer/index.jsx +1 -0
  54. package/src/progressive-profiling-dashboard/hooks/useProgressiveProfilingForm.jsx +55 -0
  55. package/src/progressive-profiling-dashboard/progressive-profiling-authn-replica/ProgressiveProfiling.jsx +156 -0
  56. package/src/progressive-profiling-dashboard/progressive-profiling-authn-replica/ProgressiveProfilingPageModal.jsx +59 -0
  57. package/src/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/LargeLayout.jsx +105 -0
  58. package/src/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/MediumLayout.jsx +95 -0
  59. package/src/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/SmallLayout.jsx +85 -0
  60. package/src/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/index.jsx +3 -0
  61. package/src/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/messages.js +35 -0
  62. package/src/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/index.jsx +46 -0
  63. package/src/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/tests/BaseContainer.test.jsx +76 -0
  64. package/src/progressive-profiling-dashboard/progressive-profiling-authn-replica/index.jsx +1 -0
  65. package/src/progressive-profiling-dashboard/progressive-profiling-authn-replica/index.scss +269 -0
  66. package/src/progressive-profiling-dashboard/progressive-profiling-authn-replica/messages.jsx +62 -0
  67. package/src/progressive-profiling-dashboard/progressive-profiling-authn-replica/service/getThirdPartyAuthContext.js +24 -0
  68. package/src/progressive-profiling-dashboard/progressive-profiling-authn-replica/tests/ProgressiveProfiling.test.jsx +165 -0
  69. package/src/progressive-profiling-dashboard/utils/constants.jsx +5 -0
  70. package/src/tracking/constants.js +2 -0
  71. package/src/tracking/trackers/progressiveProfiling.js +38 -0
  72. package/src/tracking/utils.js +16 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgressiveProfiling.js","names":["_react","_interopRequireWildcard","require","_reactRouterDom","_reactHelmet","_i18n","_frontendPlatform","_auth","_analytics","_paragon","_messages","_interopRequireDefault","_useProgressiveProfilingForm","_baseContainer","_fieldRenderer","_ProgressiveProfilingPageModal","_getThirdPartyAuthContext","_progressiveProfiling","_constants","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ProgressiveProfilingPage","navigate","useNavigate","formatMessage","useIntl","authenticatedUser","getAuthenticatedUser","client","getAuthenticatedHttpClient","loadState","submitState","error","values","fieldList","onChangeHandler","submit","useProgressiveProfilingForm","username","showModal","setShowModal","useState","handleSubmit","preventDefault","success","trackProgressiveProfilingSubmitClick","isGenderSelected","gender","isYearOfBirthSelected","year_of_birth","isLevelOfEducationSelected","level_of_education","isWorkExperienceSelected","work_experience","replace","handleSkip","trackProgressiveProfilingSkipLinkClick","mfeContext","setMfeContext","useEffect","fetchContext","data","getThirdPartyAuthContext","err","userId","identifyAuthenticatedUser","trackProgressiveProfilingPageViewed","jsxs","enterpriseBranding","children","jsx","Helmet","messages","siteName","getConfig","SITE_NAME","isOpen","redirectUrl","className","Alert","variant","Heading","Form","map","fieldData","FormFieldRenderer","value","name","AUTHN_PROGRESSIVE_PROFILING_SUPPORT_LINK","Hyperlink","isInline","destination","target","showLaunchIcon","onClick","trackProgressiveProfilingSupportLinkClick","StatefulButton","type","state","labels","pending","onMouseDown","disabled","COMPLETE_STATE","PENDING_STATE","_default","exports"],"sources":["../../../src/progressive-profiling-dashboard/progressive-profiling-authn-replica/ProgressiveProfiling.jsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport { useNavigate } from 'react-router-dom';\nimport { Helmet } from 'react-helmet';\nimport { useIntl } from '@edx/frontend-platform/i18n';\nimport { getConfig } from '@edx/frontend-platform';\nimport { getAuthenticatedUser, getAuthenticatedHttpClient } from '@edx/frontend-platform/auth';\nimport { identifyAuthenticatedUser } from '@edx/frontend-platform/analytics';\nimport {\n Form, Hyperlink, StatefulButton, Alert,\n} from '@openedx/paragon';\nimport messages from './messages';\n\nimport useProgressiveProfilingForm from '../hooks/useProgressiveProfilingForm';\n\nimport BaseContainer from './base-container';\nimport { FormFieldRenderer } from '../field-renderer';\nimport ProgressiveProfilingPageModal from './ProgressiveProfilingPageModal';\n\nimport getThirdPartyAuthContext from './service/getThirdPartyAuthContext';\n\nimport {\n trackProgressiveProfilingSkipLinkClick, trackProgressiveProfilingSubmitClick,\n trackProgressiveProfilingSupportLinkClick, trackProgressiveProfilingPageViewed,\n} from '../../tracking/trackers/progressiveProfiling';\n\nimport { PENDING_STATE, COMPLETE_STATE } from '../utils/constants';\n\nimport './index.scss';\n\nconst ProgressiveProfilingPage = () => {\n const navigate = useNavigate();\n const { formatMessage } = useIntl();\n const authenticatedUser = getAuthenticatedUser();\n const client = getAuthenticatedHttpClient();\n const {\n loadState, submitState, error, values, fieldList, onChangeHandler, submit,\n } = useProgressiveProfilingForm(authenticatedUser.username, client);\n const [showModal, setShowModal] = useState(false);\n\n const handleSubmit = async (e) => {\n e.preventDefault();\n const success = await submit();\n if (!success) { return; }\n\n trackProgressiveProfilingSubmitClick({\n isGenderSelected: !!values.gender,\n isYearOfBirthSelected: !!values.year_of_birth,\n isLevelOfEducationSelected: !!values.level_of_education,\n isWorkExperienceSelected: !!values.work_experience,\n });\n navigate('/', { replace: true });\n };\n\n const handleSkip = () => {\n trackProgressiveProfilingSkipLinkClick();\n setShowModal(true);\n };\n\n const [mfeContext, setMfeContext] = useState(null);\n\n useEffect(() => {\n const fetchContext = async () => {\n try {\n const data = await getThirdPartyAuthContext();\n setMfeContext(data);\n } catch (err) {\n // Allow the page to render even if enterprise context cannot be fetched.\n setMfeContext(null);\n }\n };\n fetchContext();\n }, []);\n\n useEffect(() => {\n const userId = authenticatedUser?.userId;\n if (userId) {\n identifyAuthenticatedUser(userId);\n trackProgressiveProfilingPageViewed();\n }\n }, [authenticatedUser?.userId]);\n\n return (\n <BaseContainer enterpriseBranding={mfeContext}>\n <Helmet>\n <title>{formatMessage(\n messages['progressive.profiling.page.title'],\n { siteName: getConfig().SITE_NAME },\n )}\n </title>\n </Helmet>\n <ProgressiveProfilingPageModal isOpen={showModal} redirectUrl=\"/\" />\n <div className=\"mw-xs m-4 pp-page-content\">\n <div>\n <h2 className=\"pp-page__heading text-primary\">{formatMessage(messages['progressive.profiling.page.heading'])}</h2>\n </div><hr className=\"border-light-700 mb-4\" />\n {error && (\n <Alert variant=\"danger\">\n <Alert.Heading>{formatMessage(messages['welcome.page.error.heading'])}</Alert.Heading>\n <p>{formatMessage(messages['welcome.page.error.message'])}</p>\n </Alert>\n )}\n <Form>\n {fieldList.map((fieldData) => (\n <FormFieldRenderer\n key={fieldData.name}\n fieldData={fieldData}\n value={values[fieldData.name]}\n onChangeHandler={onChangeHandler}\n />\n ))}\n {(getConfig().AUTHN_PROGRESSIVE_PROFILING_SUPPORT_LINK) && (\n <span className=\"pp-page__support-link\">\n <Hyperlink\n isInline\n variant=\"muted\"\n destination={getConfig().AUTHN_PROGRESSIVE_PROFILING_SUPPORT_LINK}\n target=\"_blank\"\n showLaunchIcon={false}\n onClick={() => (trackProgressiveProfilingSupportLinkClick())}\n >\n {formatMessage(messages['optional.fields.information.link'])}\n </Hyperlink>\n </span>\n )}\n <div className=\"d-flex mt-4 mb-3\">\n <StatefulButton\n type=\"submit\"\n variant=\"brand\"\n className=\"pp-page__button-width\"\n state={submitState}\n labels={{\n default: formatMessage(messages['optional.fields.submit.button']),\n pending: '',\n }}\n onClick={handleSubmit}\n onMouseDown={(e) => e.preventDefault()}\n disabled={loadState !== COMPLETE_STATE || submitState === PENDING_STATE}\n />\n <StatefulButton\n className=\"text-gray-700 font-weight-500\"\n type=\"button\"\n variant=\"link\"\n labels={{\n default: formatMessage(messages['optional.fields.skip.button']),\n }}\n onClick={handleSkip}\n onMouseDown={(e) => e.preventDefault()}\n />\n </div>\n </Form>\n </div>\n </BaseContainer>\n );\n};\n\nexport default ProgressiveProfilingPage;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,iBAAA,GAAAJ,OAAA;AACA,IAAAK,KAAA,GAAAL,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AACA,IAAAO,QAAA,GAAAP,OAAA;AAGA,IAAAQ,SAAA,GAAAC,sBAAA,CAAAT,OAAA;AAEA,IAAAU,4BAAA,GAAAD,sBAAA,CAAAT,OAAA;AAEA,IAAAW,cAAA,GAAAF,sBAAA,CAAAT,OAAA;AACA,IAAAY,cAAA,GAAAZ,OAAA;AACA,IAAAa,8BAAA,GAAAJ,sBAAA,CAAAT,OAAA;AAEA,IAAAc,yBAAA,GAAAL,sBAAA,CAAAT,OAAA;AAEA,IAAAe,qBAAA,GAAAf,OAAA;AAKA,IAAAgB,UAAA,GAAAhB,OAAA;AAEAA,OAAA;AAAsB,IAAAiB,WAAA,GAAAjB,OAAA;AAAA,SAAAS,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAnB,wBAAAmB,CAAA,EAAAG,CAAA,6BAAAC,O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A,EAAC/E,QAAA,CAAAyG,cAAc;YACbC,IAAI,EAAC,QAAQ;YACbjB,OAAO,EAAC,OAAO;YACfF,SAAS,EAAC,uBAAuB;YACjCoB,KAAK,EAAEnE,WAAY;YACnBoE,MAAM,EAAE;cACN/F,OAAO,EAAEoB,aAAa,CAACgD,iBAAQ,CAAC,+BAA+B,CAAC,CAAC;cACjE4B,OAAO,EAAE;YACX,CAAE;YACFN,OAAO,EAAEpD,YAAa;YACtB2D,WAAW,EAAGnG,CAAC,IAAKA,CAAC,CAACyC,cAAc,CAAC,CAAE;YACvC2D,QAAQ,EAAExE,SAAS,KAAKyE,yBAAc,IAAIxE,WAAW,KAAKyE;UAAc,CACzE,CAAC,eACF,IAAAvG,WAAA,CAAAqE,GAAA,EAAC/E,QAAA,CAAAyG,cAAc;YACblB,SAAS,EAAC,+BAA+B;YACzCmB,IAAI,EAAC,QAAQ;YACbjB,OAAO,EAAC,MAAM;YACdmB,MAAM,EAAE;cACN/F,OAAO,EAAEoB,aAAa,CAACgD,iBAAQ,CAAC,6BAA6B,CAAC;YAChE,CAAE;YACFsB,OAAO,EAAEvC,UAAW;YACpB8C,WAAW,EAAGnG,CAAC,IAAKA,CAAC,CAACyC,cAAc,CAAC;UAAE,CACxC,CAAC;QAAA,CACC,CAAC;MAAA,CACF,CAAC;IAAA,CACJ,CAAC;EAAA,CACO,CAAC;AAEpB,CAAC;AAAC,IAAA8D,QAAA,GAAAC,OAAA,CAAAtG,OAAA,GAEaiB,wBAAwB","ignoreList":[]}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _frontendPlatform = require("@edx/frontend-platform");
9
+ var _i18n = require("@edx/frontend-platform/i18n");
10
+ var _paragon = require("@openedx/paragon");
11
+ var _propTypes = _interopRequireDefault(require("prop-types"));
12
+ var _messages = _interopRequireDefault(require("./messages"));
13
+ var _jsxRuntime = require("react/jsx-runtime");
14
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
+ const ProgressiveProfilingPageModal = props => {
16
+ const {
17
+ formatMessage
18
+ } = (0, _i18n.useIntl)();
19
+ const {
20
+ isOpen,
21
+ redirectUrl
22
+ } = props;
23
+ const platformName = (0, _frontendPlatform.getConfig)().SITE_NAME;
24
+ const handleSubmit = e => {
25
+ e.preventDefault();
26
+ window.location.href = redirectUrl;
27
+ };
28
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_paragon.ModalDialog, {
29
+ title: formatMessage(_messages.default['modal.title']),
30
+ isOpen: isOpen,
31
+ onClose: () => {},
32
+ size: "sm",
33
+ variant: "default",
34
+ hasCloseButton: false,
35
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_paragon.ModalDialog.Header, {
36
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_paragon.ModalDialog.Title, {
37
+ children: formatMessage(_messages.default['modal.title'])
38
+ })
39
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_paragon.ModalDialog.Body, {
40
+ children: formatMessage(_messages.default['modal.description'])
41
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_paragon.ModalDialog.Footer, {
42
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_paragon.ActionRow, {
43
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_paragon.Button, {
44
+ onClick: handleSubmit,
45
+ variant: "primary",
46
+ children: formatMessage(_messages.default['continue.to.platform'], {
47
+ platformName
48
+ })
49
+ })
50
+ })
51
+ })]
52
+ });
53
+ };
54
+ ProgressiveProfilingPageModal.propTypes = {
55
+ isOpen: _propTypes.default.bool,
56
+ redirectUrl: _propTypes.default.string.isRequired
57
+ };
58
+ ProgressiveProfilingPageModal.defaultProps = {
59
+ isOpen: false
60
+ };
61
+ var _default = exports.default = ProgressiveProfilingPageModal;
62
+ //# sourceMappingURL=ProgressiveProfilingPageModal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgressiveProfilingPageModal.js","names":["_react","_interopRequireDefault","require","_frontendPlatform","_i18n","_paragon","_propTypes","_messages","_jsxRuntime","e","__esModule","default","ProgressiveProfilingPageModal","props","formatMessage","useIntl","isOpen","redirectUrl","platformName","getConfig","SITE_NAME","handleSubmit","preventDefault","window","location","href","jsxs","ModalDialog","title","messages","onClose","size","variant","hasCloseButton","children","jsx","Header","Title","Body","Footer","ActionRow","Button","onClick","propTypes","PropTypes","bool","string","isRequired","defaultProps","_default","exports"],"sources":["../../../src/progressive-profiling-dashboard/progressive-profiling-authn-replica/ProgressiveProfilingPageModal.jsx"],"sourcesContent":["import React from 'react';\n\nimport { getConfig } from '@edx/frontend-platform';\nimport { useIntl } from '@edx/frontend-platform/i18n';\nimport { ActionRow, Button, ModalDialog } from '@openedx/paragon';\nimport PropTypes from 'prop-types';\n\nimport messages from './messages';\n\nconst ProgressiveProfilingPageModal = (props) => {\n const { formatMessage } = useIntl();\n const { isOpen, redirectUrl } = props;\n const platformName = getConfig().SITE_NAME;\n\n const handleSubmit = (e) => {\n e.preventDefault();\n window.location.href = redirectUrl;\n };\n\n return (\n <ModalDialog\n title={formatMessage(messages['modal.title'])}\n isOpen={isOpen}\n onClose={() => {}}\n size=\"sm\"\n variant=\"default\"\n hasCloseButton={false}\n >\n <ModalDialog.Header>\n <ModalDialog.Title>\n {formatMessage(messages['modal.title'])}\n </ModalDialog.Title>\n </ModalDialog.Header>\n\n <ModalDialog.Body>\n {formatMessage(messages['modal.description'])}\n </ModalDialog.Body>\n\n <ModalDialog.Footer>\n <ActionRow>\n <Button onClick={handleSubmit} variant=\"primary\">\n {formatMessage(messages['continue.to.platform'], { platformName })}\n </Button>\n </ActionRow>\n </ModalDialog.Footer>\n </ModalDialog>\n );\n};\n\nProgressiveProfilingPageModal.propTypes = {\n isOpen: PropTypes.bool,\n redirectUrl: PropTypes.string.isRequired,\n};\n\nProgressiveProfilingPageModal.defaultProps = {\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AAA,CAAAsB,WAAW,CAACU,KAAK;QAAAH,QAAA,EACfpB,aAAa,CAACe,iBAAQ,CAAC,aAAa,CAAC;MAAC,CACtB;IAAC,CACF,CAAC,eAErB,IAAArB,WAAA,CAAA2B,GAAA,EAAC9B,QAAA,CAAAsB,WAAW,CAACW,IAAI;MAAAJ,QAAA,EACdpB,aAAa,CAACe,iBAAQ,CAAC,mBAAmB,CAAC;IAAC,CAC7B,CAAC,eAEnB,IAAArB,WAAA,CAAA2B,GAAA,EAAC9B,QAAA,CAAAsB,WAAW,CAACY,MAAM;MAAAL,QAAA,eACjB,IAAA1B,WAAA,CAAA2B,GAAA,EAAC9B,QAAA,CAAAmC,SAAS;QAAAN,QAAA,eACR,IAAA1B,WAAA,CAAA2B,GAAA,EAAC9B,QAAA,CAAAoC,MAAM;UAACC,OAAO,EAAErB,YAAa;UAACW,OAAO,EAAC,SAAS;UAAAE,QAAA,EAC7CpB,aAAa,CAACe,iBAAQ,CAAC,sBAAsB,CAAC,EAAE;YAAEX;UAAa,CAAC;QAAC,CAC5D;MAAC,CACA;IAAC,CACM,CAAC;EAAA,CACV,CAAC;AAElB,CAAC;AAEDN,6BAA6B,CAAC+B,SAAS,GAAG;EACxC3B,MAAM,EAAE4B,kBAAS,CAACC,IAAI;EACtB5B,WAAW,EAAE2B,kBAAS,CAACE,MAAM,CAACC;AAChC,CAAC;AAEDnC,6BAA6B,CAACoC,YAAY,GAAG;EAC3ChC,MAAM,EAAE;AACV,CAAC;AAAC,IAAAiC,QAAA,GAAAC,OAAA,CAAAvC,OAAA,GAEaC,6BAA6B","ignoreList":[]}
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
9
+ var _frontendPlatform = require("@edx/frontend-platform");
10
+ var _i18n = require("@edx/frontend-platform/i18n");
11
+ var _paragon = require("@openedx/paragon");
12
+ var _classnames = _interopRequireDefault(require("classnames"));
13
+ var _messages = _interopRequireDefault(require("./messages"));
14
+ var _jsxRuntime = require("react/jsx-runtime");
15
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
16
+ const LargeLayout = ({
17
+ enterpriseBranding
18
+ }) => {
19
+ const {
20
+ formatMessage
21
+ } = (0, _i18n.useIntl)();
22
+ const enterpriseLogoUrl = enterpriseBranding?.enterpriseLogoUrl || null;
23
+ const enterpriseName = enterpriseBranding?.enterpriseName || null;
24
+ const enterpriseWelcomeHtml = enterpriseBranding?.enterpriseBrandedWelcomeString || enterpriseBranding?.platformWelcomeString || '';
25
+ const siteName = (0, _frontendPlatform.getConfig)().SITE_NAME;
26
+ const baseLogoSrc = (0, _frontendPlatform.getConfig)().LOGO_WHITE_URL || (0, _frontendPlatform.getConfig)().LOGO_URL;
27
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
28
+ className: "w-50 d-flex",
29
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
30
+ className: "col-md-10 bg-primary-400 auth-hero-left position-relative",
31
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_paragon.Hyperlink, {
32
+ destination: (0, _frontendPlatform.getConfig)().MARKETING_SITE_BASE_URL,
33
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_paragon.Image, {
34
+ className: "welcome-page-logo auth-hero-base-logo",
35
+ alt: siteName,
36
+ src: baseLogoSrc
37
+ })
38
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
39
+ className: "auth-hero-content d-flex flex-column",
40
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
41
+ className: "d-flex align-items-center",
42
+ children: [enterpriseLogoUrl && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
43
+ className: "auth-hero-enterprise-logo-wrapper mr-4",
44
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_paragon.Image, {
45
+ alt: enterpriseName || 'Enterprise',
46
+ src: enterpriseLogoUrl,
47
+ className: "auth-hero-enterprise-logo"
48
+ })
49
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
50
+ className: "auth-hero-slash mr-4",
51
+ "aria-hidden": "true"
52
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
53
+ className: "auth-hero-heading",
54
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
55
+ className: (0, _classnames.default)('auth-hero-heading-line text-white'),
56
+ children: formatMessage(_messages.default['start.learning'])
57
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
58
+ className: "auth-hero-heading-line text-accent-a",
59
+ children: formatMessage(_messages.default['with.edx'])
60
+ })]
61
+ })]
62
+ }), enterpriseWelcomeHtml && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
63
+ className: "auth-hero-message mt-4"
64
+ // eslint-disable-next-line react/no-danger
65
+ ,
66
+ dangerouslySetInnerHTML: {
67
+ __html: enterpriseWelcomeHtml
68
+ }
69
+ })]
70
+ })]
71
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
72
+ className: "col-md-3 bg-white p-0",
73
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
74
+ className: "m1-n1 w-100 h-100 large-screen-svg-primary",
75
+ preserveAspectRatio: "xMaxYMin meet",
76
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
77
+ transform: "skewX(171.6)",
78
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
79
+ x: "0",
80
+ y: "0",
81
+ height: "100%",
82
+ width: "100%"
83
+ })
84
+ })
85
+ })
86
+ })]
87
+ });
88
+ };
89
+ LargeLayout.propTypes = {
90
+ enterpriseBranding: _propTypes.default.shape({
91
+ enterpriseLogoUrl: _propTypes.default.string,
92
+ enterpriseName: _propTypes.default.string,
93
+ enterpriseBrandedWelcomeString: _propTypes.default.string,
94
+ platformWelcomeString: _propTypes.default.string
95
+ })
96
+ };
97
+ LargeLayout.defaultProps = {
98
+ enterpriseBranding: null
99
+ };
100
+ var _default = exports.default = LargeLayout;
101
+ //# sourceMappingURL=LargeLayout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LargeLayout.js","names":["_react","_interopRequireDefault","require","_propTypes","_frontendPlatform","_i18n","_paragon","_classnames","_messages","_jsxRuntime","e","__esModule","default","LargeLayout","enterpriseBranding","formatMessage","useIntl","enterpriseLogoUrl","enterpriseName","enterpriseWelcomeHtml","enterpriseBrandedWelcomeString","platformWelcomeString","siteName","getConfig","SITE_NAME","baseLogoSrc","LOGO_WHITE_URL","LOGO_URL","jsxs","className","children","jsx","Hyperlink","destination","MARKETING_SITE_BASE_URL","Image","alt","src","classNames","messages","dangerouslySetInnerHTML","__html","preserveAspectRatio","transform","x","y","height","width","propTypes","PropTypes","shape","string","defaultProps","_default","exports"],"sources":["../../../../../../src/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/LargeLayout.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { getConfig } from '@edx/frontend-platform';\nimport { useIntl } from '@edx/frontend-platform/i18n';\nimport { Hyperlink, Image } from '@openedx/paragon';\nimport classNames from 'classnames';\n\nimport messages from './messages';\n\nconst LargeLayout = ({ enterpriseBranding }) => {\n const { formatMessage } = useIntl();\n\n const enterpriseLogoUrl = enterpriseBranding?.enterpriseLogoUrl || null;\n const enterpriseName = enterpriseBranding?.enterpriseName || null;\n\n const enterpriseWelcomeHtml = enterpriseBranding?.enterpriseBrandedWelcomeString\n || enterpriseBranding?.platformWelcomeString\n || '';\n\n const siteName = getConfig().SITE_NAME;\n const baseLogoSrc = getConfig().LOGO_WHITE_URL || getConfig().LOGO_URL;\n\n return (\n <div className=\"w-50 d-flex\">\n <div className=\"col-md-10 bg-primary-400 auth-hero-left position-relative\">\n {/* base edX logo at very top-left */}\n <Hyperlink destination={getConfig().MARKETING_SITE_BASE_URL}>\n <Image\n className=\"welcome-page-logo auth-hero-base-logo\"\n alt={siteName}\n src={baseLogoSrc}\n />\n </Hyperlink>\n\n {/* main hero content block, aligned like Figma */}\n <div className=\"auth-hero-content d-flex flex-column\">\n {/* row: [enterprise logo] [yellow slash] [Start learning with edX] */}\n <div className=\"d-flex align-items-center\">\n {enterpriseLogoUrl && (\n <div className=\"auth-hero-enterprise-logo-wrapper mr-4\">\n <Image\n alt={enterpriseName || 'Enterprise'}\n src={enterpriseLogoUrl}\n className=\"auth-hero-enterprise-logo\"\n />\n </div>\n )}\n\n <div className=\"auth-hero-slash mr-4\" aria-hidden=\"true\" />\n\n <div className=\"auth-hero-heading\">\n <div\n className={classNames(\n 'auth-hero-heading-line text-white',\n )}\n >\n {formatMessage(messages['start.learning'])}\n </div>\n <div className=\"auth-hero-heading-line text-accent-a\">\n {formatMessage(messages['with.edx'])}\n </div>\n </div>\n </div>\n\n {/* enterprise-specific message aligned under heading */}\n {enterpriseWelcomeHtml && (\n <div\n className=\"auth-hero-message mt-4\"\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{ __html: enterpriseWelcomeHtml }}\n />\n )}\n </div>\n </div>\n\n {/* keep existing right decorative triangle */}\n <div className=\"col-md-3 bg-white p-0\">\n <svg\n className=\"m1-n1 w-100 h-100 large-screen-svg-primary\"\n preserveAspectRatio=\"xMaxYMin meet\"\n >\n <g transform=\"skewX(171.6)\">\n <rect x=\"0\" y=\"0\" height=\"100%\" width=\"100%\" />\n </g>\n </svg>\n </div>\n </div>\n );\n};\n\nLargeLayout.propTypes = {\n enterpriseBranding: PropTypes.shape({\n enterpriseLogoUrl: PropTypes.string,\n enterpriseName: PropTypes.string,\n enterpriseBrandedWelcomeString: PropTypes.string,\n platformWelcomeString: PropTypes.string,\n }),\n};\n\nLargeLayout.defaultProps = {\n enterpriseBranding: null,\n};\n\nexport default LargeLayout;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAA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A,CACH,CAAC,eAGN,IAAAV,WAAA,CAAAsB,GAAA;MAAKF,SAAS,EAAC,uBAAuB;MAAAC,QAAA,eACpC,IAAArB,WAAA,CAAAsB,GAAA;QACEF,SAAS,EAAC,4CAA4C;QACtDa,mBAAmB,EAAC,eAAe;QAAAZ,QAAA,eAEnC,IAAArB,WAAA,CAAAsB,GAAA;UAAGY,SAAS,EAAC,cAAc;UAAAb,QAAA,eACzB,IAAArB,WAAA,CAAAsB,GAAA;YAAMa,CAAC,EAAC,GAAG;YAACC,CAAC,EAAC,GAAG;YAACC,MAAM,EAAC,MAAM;YAACC,KAAK,EAAC;UAAM,CAAE;QAAC,CAC9C;MAAC,CACD;IAAC,CACH,CAAC;EAAA,CACH,CAAC;AAEV,CAAC;AAEDlC,WAAW,CAACmC,SAAS,GAAG;EACtBlC,kBAAkB,EAAEmC,kBAAS,CAACC,KAAK,CAAC;IAClCjC,iBAAiB,EAAEgC,kBAAS,CAACE,MAAM;IACnCjC,cAAc,EAAE+B,kBAAS,CAACE,MAAM;IAChC/B,8BAA8B,EAAE6B,kBAAS,CAACE,MAAM;IAChD9B,qBAAqB,EAAE4B,kBAAS,CAACE;EACnC,CAAC;AACH,CAAC;AAEDtC,WAAW,CAACuC,YAAY,GAAG;EACzBtC,kBAAkB,EAAE;AACtB,CAAC;AAAC,IAAAuC,QAAA,GAAAC,OAAA,CAAA1C,OAAA,GAEaC,WAAW","ignoreList":[]}
@@ -0,0 +1,125 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
9
+ var _frontendPlatform = require("@edx/frontend-platform");
10
+ var _i18n = require("@edx/frontend-platform/i18n");
11
+ var _paragon = require("@openedx/paragon");
12
+ var _messages = _interopRequireDefault(require("./messages"));
13
+ var _jsxRuntime = require("react/jsx-runtime");
14
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
+ const MediumLayout = ({
16
+ enterpriseBranding
17
+ }) => {
18
+ const {
19
+ formatMessage
20
+ } = (0, _i18n.useIntl)();
21
+ const enterpriseLogoUrl = enterpriseBranding?.enterpriseLogoUrl || null;
22
+ const enterpriseName = enterpriseBranding?.enterpriseName || null;
23
+ const enterpriseWelcomeHtml = enterpriseBranding?.enterpriseBrandedWelcomeString || enterpriseBranding?.platformWelcomeString || '';
24
+ const siteName = (0, _frontendPlatform.getConfig)().SITE_NAME;
25
+ const baseLogoSrc = (0, _frontendPlatform.getConfig)().LOGO_WHITE_URL || (0, _frontendPlatform.getConfig)().LOGO_URL;
26
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
27
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
28
+ className: "w-100 medium-screen-top-stripe"
29
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
30
+ className: "w-100 p-0 mb-3 d-flex",
31
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
32
+ className: "col-md-10 bg-primary-400 auth-hero-left",
33
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_paragon.Hyperlink, {
34
+ destination: (0, _frontendPlatform.getConfig)().MARKETING_SITE_BASE_URL,
35
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_paragon.Image, {
36
+ className: "welcome-page-logo auth-hero-base-logo",
37
+ alt: siteName,
38
+ src: baseLogoSrc
39
+ })
40
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
41
+ className: "auth-hero-content d-flex flex-column",
42
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
43
+ className: "d-flex align-items-center",
44
+ children: [enterpriseLogoUrl && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
45
+ className: "auth-hero-enterprise-logo-wrapper mr-4",
46
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_paragon.Image, {
47
+ alt: enterpriseName || 'Enterprise',
48
+ src: enterpriseLogoUrl,
49
+ className: "auth-hero-enterprise-logo"
50
+ })
51
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
52
+ className: "auth-hero-slash mr-4",
53
+ "aria-hidden": "true",
54
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
55
+ xmlns: "http://www.w3.org/2000/svg",
56
+ width: "191",
57
+ height: "250",
58
+ viewBox: "0 0 191 250",
59
+ fill: "none",
60
+ style: {
61
+ width: '100%',
62
+ height: '100%'
63
+ },
64
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("line", {
65
+ x1: "69.8107",
66
+ y1: "33.833",
67
+ x2: "32.9503",
68
+ y2: "206.952",
69
+ stroke: "#F0CC00",
70
+ strokeWidth: "8"
71
+ })
72
+ })
73
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
74
+ className: "auth-hero-heading",
75
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
76
+ className: "auth-hero-heading-line text-white",
77
+ children: formatMessage(_messages.default['start.learning'])
78
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
79
+ className: "auth-hero-heading-line text-accent-a",
80
+ children: formatMessage(_messages.default['with.site.name'], {
81
+ siteName
82
+ })
83
+ })]
84
+ })]
85
+ }), enterpriseWelcomeHtml && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
86
+ className: "auth-hero-message mt-3"
87
+ // eslint-disable-next-line react/no-danger
88
+ ,
89
+ dangerouslySetInnerHTML: {
90
+ __html: enterpriseWelcomeHtml
91
+ }
92
+ })]
93
+ })]
94
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
95
+ className: "col-md-2 bg-white p-0",
96
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
97
+ className: "w-100 h-100 medium-screen-svg-primary",
98
+ preserveAspectRatio: "xMaxYMin meet",
99
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
100
+ transform: "skewX(168)",
101
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
102
+ x: "0",
103
+ y: "0",
104
+ height: "100%",
105
+ width: "100%"
106
+ })
107
+ })
108
+ })
109
+ })]
110
+ })]
111
+ });
112
+ };
113
+ MediumLayout.propTypes = {
114
+ enterpriseBranding: _propTypes.default.shape({
115
+ enterpriseLogoUrl: _propTypes.default.string,
116
+ enterpriseName: _propTypes.default.string,
117
+ enterpriseBrandedWelcomeString: _propTypes.default.string,
118
+ platformWelcomeString: _propTypes.default.string
119
+ })
120
+ };
121
+ MediumLayout.defaultProps = {
122
+ enterpriseBranding: null
123
+ };
124
+ var _default = exports.default = MediumLayout;
125
+ //# sourceMappingURL=MediumLayout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MediumLayout.js","names":["_react","_interopRequireDefault","require","_propTypes","_frontendPlatform","_i18n","_paragon","_messages","_jsxRuntime","e","__esModule","default","MediumLayout","enterpriseBranding","formatMessage","useIntl","enterpriseLogoUrl","enterpriseName","enterpriseWelcomeHtml","enterpriseBrandedWelcomeString","platformWelcomeString","siteName","getConfig","SITE_NAME","baseLogoSrc","LOGO_WHITE_URL","LOGO_URL","jsxs","Fragment","children","jsx","className","Hyperlink","destination","MARKETING_SITE_BASE_URL","Image","alt","src","xmlns","width","height","viewBox","fill","style","x1","y1","x2","y2","stroke","strokeWidth","messages","dangerouslySetInnerHTML","__html","preserveAspectRatio","transform","x","y","propTypes","PropTypes","shape","string","defaultProps","_default","exports"],"sources":["../../../../../../src/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/MediumLayout.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { getConfig } from '@edx/frontend-platform';\nimport { useIntl } from '@edx/frontend-platform/i18n';\nimport { Hyperlink, Image } from '@openedx/paragon';\n\nimport messages from './messages';\n\nconst MediumLayout = ({ enterpriseBranding }) => {\n const { formatMessage } = useIntl();\n\n const enterpriseLogoUrl = enterpriseBranding?.enterpriseLogoUrl || null;\n const enterpriseName = enterpriseBranding?.enterpriseName || null;\n const enterpriseWelcomeHtml = enterpriseBranding?.enterpriseBrandedWelcomeString\n || enterpriseBranding?.platformWelcomeString\n || '';\n\n const siteName = getConfig().SITE_NAME;\n const baseLogoSrc = getConfig().LOGO_WHITE_URL || getConfig().LOGO_URL;\n\n return (\n <>\n <div className=\"w-100 medium-screen-top-stripe\" />\n <div className=\"w-100 p-0 mb-3 d-flex\">\n <div className=\"col-md-10 bg-primary-400 auth-hero-left\">\n <Hyperlink destination={getConfig().MARKETING_SITE_BASE_URL}>\n <Image className=\"welcome-page-logo auth-hero-base-logo\" alt={siteName} src={baseLogoSrc} />\n </Hyperlink>\n\n <div className=\"auth-hero-content d-flex flex-column\">\n <div className=\"d-flex align-items-center\">\n {enterpriseLogoUrl && (\n <div className=\"auth-hero-enterprise-logo-wrapper mr-4\">\n <Image\n alt={enterpriseName || 'Enterprise'}\n src={enterpriseLogoUrl}\n className=\"auth-hero-enterprise-logo\"\n />\n </div>\n )}\n\n <div className=\"auth-hero-slash mr-4\" aria-hidden=\"true\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"191\" height=\"250\" viewBox=\"0 0 191 250\" fill=\"none\" style={{ width: '100%', height: '100%' }}>\n <line x1=\"69.8107\" y1=\"33.833\" x2=\"32.9503\" y2=\"206.952\" stroke=\"#F0CC00\" strokeWidth=\"8\" />\n </svg>\n </div>\n\n <div className=\"auth-hero-heading\">\n <div className=\"auth-hero-heading-line text-white\">\n {formatMessage(messages['start.learning'])}\n </div>\n <div className=\"auth-hero-heading-line text-accent-a\">\n {formatMessage(messages['with.site.name'], { siteName })}\n </div>\n </div>\n </div>\n\n {enterpriseWelcomeHtml && (\n <div\n className=\"auth-hero-message mt-3\"\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{\n __html: enterpriseWelcomeHtml,\n }}\n />\n )}\n </div>\n </div>\n <div className=\"col-md-2 bg-white p-0\">\n <svg className=\"w-100 h-100 medium-screen-svg-primary\" preserveAspectRatio=\"xMaxYMin meet\">\n <g transform=\"skewX(168)\">\n <rect x=\"0\" y=\"0\" height=\"100%\" width=\"100%\" />\n </g>\n </svg>\n </div>\n </div>\n </>\n );\n};\n\nMediumLayout.propTypes = {\n enterpriseBranding: PropTypes.shape({\n enterpriseLogoUrl: PropTypes.string,\n enterpriseName: PropTypes.string,\n enterpriseBrandedWelcomeString: PropTypes.string,\n platformWelcomeString: PropTypes.string,\n }),\n};\n\nMediumLayout.defaultProps = {\n enterpriseBranding: null,\n};\n\nexport default MediumLayout;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,iBAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AAEA,IAAAK,SAAA,GAAAN,sBAAA,CAAAC,OAAA;AAAkC,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAD,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAElC,MAAMG,YAAY,GAAGA,CAAC;EAAEC;AAAmB,CAAC,KAAK;EAC/C,MAAM;IAAEC;EAAc,CAAC,GAAG,IAAAC,aAAO,EAAC,CAAC;EAEnC,MAAMC,iBAAiB,GAAGH,kBAAkB,EAAEG,iBAAiB,IAAI,IAAI;EACvE,MAAMC,cAAc,GAAGJ,kBAAkB,EAAEI,cAAc,IAAI,IAAI;EACjE,MAAMC,qBAAqB,GAAGL,kBAAkB,EAAEM,8BAA8B,IAC3EN,kBAAkB,EAAEO,qBAAqB,IACzC,EAAE;EAEP,MAAMC,QAAQ,GAAG,IAAAC,2BAAS,EAAC,CAAC,CAACC,SAAS;EACtC,MAAMC,WAAW,GA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Ae;UAAAxB,QAAA,eACxF,IAAArB,WAAA,CAAAsB,GAAA;YAAGwB,SAAS,EAAC,YAAY;YAAAzB,QAAA,eACvB,IAAArB,WAAA,CAAAsB,GAAA;cAAMyB,CAAC,EAAC,GAAG;cAACC,CAAC,EAAC,GAAG;cAAChB,MAAM,EAAC,MAAM;cAACD,KAAK,EAAC;YAAM,CAAE;UAAC,CAC9C;QAAC,CACD;MAAC,CACH,CAAC;IAAA,CACH,CAAC;EAAA,CACN,CAAC;AAEP,CAAC;AAED3B,YAAY,CAAC6C,SAAS,GAAG;EACvB5C,kBAAkB,EAAE6C,kBAAS,CAACC,KAAK,CAAC;IAClC3C,iBAAiB,EAAE0C,kBAAS,CAACE,MAAM;IACnC3C,cAAc,EAAEyC,kBAAS,CAACE,MAAM;IAChCzC,8BAA8B,EAAEuC,kBAAS,CAACE,MAAM;IAChDxC,qBAAqB,EAAEsC,kBAAS,CAACE;EACnC,CAAC;AACH,CAAC;AAEDhD,YAAY,CAACiD,YAAY,GAAG;EAC1BhD,kBAAkB,EAAE;AACtB,CAAC;AAAC,IAAAiD,QAAA,GAAAC,OAAA,CAAApD,OAAA,GAEaC,YAAY","ignoreList":[]}
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
9
+ var _frontendPlatform = require("@edx/frontend-platform");
10
+ var _i18n = require("@edx/frontend-platform/i18n");
11
+ var _paragon = require("@openedx/paragon");
12
+ var _messages = _interopRequireDefault(require("./messages"));
13
+ var _jsxRuntime = require("react/jsx-runtime");
14
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
+ const SmallLayout = ({
16
+ enterpriseBranding
17
+ }) => {
18
+ const {
19
+ formatMessage
20
+ } = (0, _i18n.useIntl)();
21
+ const enterpriseLogoUrl = enterpriseBranding?.enterpriseLogoUrl || null;
22
+ const enterpriseName = enterpriseBranding?.enterpriseName || null;
23
+ const enterpriseWelcomeHtml = enterpriseBranding?.enterpriseBrandedWelcomeString || enterpriseBranding?.platformWelcomeString || '';
24
+ const siteName = (0, _frontendPlatform.getConfig)().SITE_NAME;
25
+ const baseLogoSrc = (0, _frontendPlatform.getConfig)().LOGO_WHITE_URL || (0, _frontendPlatform.getConfig)().LOGO_URL;
26
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
27
+ className: "min-vw-100 bg-primary-400 auth-hero-left",
28
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
29
+ className: "col-md-12 small-screen-top-stripe"
30
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_paragon.Hyperlink, {
31
+ destination: (0, _frontendPlatform.getConfig)().MARKETING_SITE_BASE_URL,
32
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_paragon.Image, {
33
+ className: "logo-small auth-hero-base-logo",
34
+ alt: siteName,
35
+ src: baseLogoSrc
36
+ })
37
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
38
+ className: "auth-hero-content d-flex flex-column",
39
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
40
+ className: "d-flex align-items-center",
41
+ children: [enterpriseLogoUrl && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
42
+ className: "auth-hero-enterprise-logo-wrapper mr-4",
43
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_paragon.Image, {
44
+ alt: enterpriseName || 'Enterprise',
45
+ src: enterpriseLogoUrl,
46
+ className: "auth-hero-enterprise-logo"
47
+ })
48
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
49
+ className: "auth-hero-slash mr-4",
50
+ "aria-hidden": "true",
51
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
52
+ xmlns: "http://www.w3.org/2000/svg",
53
+ width: "191",
54
+ height: "250",
55
+ viewBox: "0 0 191 250",
56
+ fill: "none",
57
+ style: {
58
+ width: '100%',
59
+ height: '100%'
60
+ },
61
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("line", {
62
+ x1: "69.8107",
63
+ y1: "33.833",
64
+ x2: "32.9503",
65
+ y2: "206.952",
66
+ stroke: "#F0CC00",
67
+ strokeWidth: "8"
68
+ })
69
+ })
70
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
71
+ className: "auth-hero-heading",
72
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
73
+ className: "auth-hero-heading-line text-white",
74
+ children: formatMessage(_messages.default['start.learning'])
75
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
76
+ className: "auth-hero-heading-line text-accent-a",
77
+ children: formatMessage(_messages.default['with.site.name'], {
78
+ siteName
79
+ })
80
+ })]
81
+ })]
82
+ }), enterpriseWelcomeHtml && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
83
+ className: "auth-hero-message mt-3"
84
+ // eslint-disable-next-line react/no-danger
85
+ // HTML is provided by trusted enterprise branding config (sanitized upstream).
86
+ ,
87
+ dangerouslySetInnerHTML: {
88
+ __html: enterpriseWelcomeHtml
89
+ }
90
+ })]
91
+ })]
92
+ });
93
+ };
94
+ SmallLayout.propTypes = {
95
+ enterpriseBranding: _propTypes.default.shape({
96
+ enterpriseLogoUrl: _propTypes.default.string,
97
+ enterpriseName: _propTypes.default.string,
98
+ enterpriseBrandedWelcomeString: _propTypes.default.string,
99
+ platformWelcomeString: _propTypes.default.string
100
+ })
101
+ };
102
+ SmallLayout.defaultProps = {
103
+ enterpriseBranding: null
104
+ };
105
+ var _default = exports.default = SmallLayout;
106
+ //# sourceMappingURL=SmallLayout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SmallLayout.js","names":["_react","_interopRequireDefault","require","_propTypes","_frontendPlatform","_i18n","_paragon","_messages","_jsxRuntime","e","__esModule","default","SmallLayout","enterpriseBranding","formatMessage","useIntl","enterpriseLogoUrl","enterpriseName","enterpriseWelcomeHtml","enterpriseBrandedWelcomeString","platformWelcomeString","siteName","getConfig","SITE_NAME","baseLogoSrc","LOGO_WHITE_URL","LOGO_URL","jsxs","className","children","jsx","Hyperlink","destination","MARKETING_SITE_BASE_URL","Image","alt","src","xmlns","width","height","viewBox","fill","style","x1","y1","x2","y2","stroke","strokeWidth","messages","dangerouslySetInnerHTML","__html","propTypes","PropTypes","shape","string","defaultProps","_default","exports"],"sources":["../../../../../../src/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/SmallLayout.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { getConfig } from '@edx/frontend-platform';\nimport { useIntl } from '@edx/frontend-platform/i18n';\nimport { Hyperlink, Image } from '@openedx/paragon';\n\nimport messages from './messages';\n\nconst SmallLayout = ({ enterpriseBranding }) => {\n const { formatMessage } = useIntl();\n\n const enterpriseLogoUrl = enterpriseBranding?.enterpriseLogoUrl || null;\n const enterpriseName = enterpriseBranding?.enterpriseName || null;\n const enterpriseWelcomeHtml = enterpriseBranding?.enterpriseBrandedWelcomeString\n || enterpriseBranding?.platformWelcomeString\n || '';\n\n const siteName = getConfig().SITE_NAME;\n const baseLogoSrc = getConfig().LOGO_WHITE_URL || getConfig().LOGO_URL;\n\n return (\n <div className=\"min-vw-100 bg-primary-400 auth-hero-left\">\n <div className=\"col-md-12 small-screen-top-stripe\" />\n <Hyperlink destination={getConfig().MARKETING_SITE_BASE_URL}>\n <Image className=\"logo-small auth-hero-base-logo\" alt={siteName} src={baseLogoSrc} />\n </Hyperlink>\n\n <div className=\"auth-hero-content d-flex flex-column\">\n <div className=\"d-flex align-items-center\">\n {enterpriseLogoUrl && (\n <div className=\"auth-hero-enterprise-logo-wrapper mr-4\">\n <Image\n alt={enterpriseName || 'Enterprise'}\n src={enterpriseLogoUrl}\n className=\"auth-hero-enterprise-logo\"\n />\n </div>\n )}\n\n <div className=\"auth-hero-slash mr-4\" aria-hidden=\"true\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"191\" height=\"250\" viewBox=\"0 0 191 250\" fill=\"none\" style={{ width: '100%', height: '100%' }}>\n <line x1=\"69.8107\" y1=\"33.833\" x2=\"32.9503\" y2=\"206.952\" stroke=\"#F0CC00\" strokeWidth=\"8\" />\n </svg>\n </div>\n\n <div className=\"auth-hero-heading\">\n <div className=\"auth-hero-heading-line text-white\">\n {formatMessage(messages['start.learning'])}\n </div>\n <div className=\"auth-hero-heading-line text-accent-a\">\n {formatMessage(messages['with.site.name'], { siteName })}\n </div>\n </div>\n </div>\n\n {enterpriseWelcomeHtml && (\n <div\n className=\"auth-hero-message mt-3\"\n // eslint-disable-next-line react/no-danger\n // HTML is provided by trusted enterprise branding config (sanitized upstream).\n dangerouslySetInnerHTML={{\n __html: enterpriseWelcomeHtml,\n }}\n />\n )}\n </div>\n </div>\n );\n};\n\nSmallLayout.propTypes = {\n enterpriseBranding: PropTypes.shape({\n enterpriseLogoUrl: PropTypes.string,\n enterpriseName: PropTypes.string,\n enterpriseBrandedWelcomeString: PropTypes.string,\n platformWelcomeString: PropTypes.string,\n }),\n};\n\nSmallLayout.defaultProps = {\n enterpriseBranding: null,\n};\n\nexport default SmallLayout;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,iBAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AAEA,IAAAK,SAAA,GAAAN,sBAAA,CAAAC,OAAA;AAAkC,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAD,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAElC,MAAMG,WAAW,GAAGA,CAAC;EAAEC;AAAmB,CAAC,K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ACH,CACF;IAAA,CACE,CAAC;EAAA,CACH,CAAC;AAEV,CAAC;AAEDN,WAAW,CAACwC,SAAS,GAAG;EACtBvC,kBAAkB,EAAEwC,kBAAS,CAACC,KAAK,CAAC;IAClCtC,iBAAiB,EAAEqC,kBAAS,CAACE,MAAM;IACnCtC,cAAc,EAAEoC,kBAAS,CAACE,MAAM;IAChCpC,8BAA8B,EAAEkC,kBAAS,CAACE,MAAM;IAChDnC,qBAAqB,EAAEiC,kBAAS,CAACE;EACnC,CAAC;AACH,CAAC;AAED3C,WAAW,CAAC4C,YAAY,GAAG;EACzB3C,kBAAkB,EAAE;AACtB,CAAC;AAAC,IAAA4C,QAAA,GAAAC,OAAA,CAAA/C,OAAA,GAEaC,WAAW","ignoreList":[]}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "AuthLargeLayout", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _LargeLayout.default;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "AuthMediumLayout", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _MediumLayout.default;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "AuthSmallLayout", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _SmallLayout.default;
22
+ }
23
+ });
24
+ var _LargeLayout = _interopRequireDefault(require("./LargeLayout"));
25
+ var _MediumLayout = _interopRequireDefault(require("./MediumLayout"));
26
+ var _SmallLayout = _interopRequireDefault(require("./SmallLayout"));
27
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["_LargeLayout","_interopRequireDefault","require","_MediumLayout","_SmallLayout","e","__esModule","default"],"sources":["../../../../../../src/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/index.jsx"],"sourcesContent":["export { default as AuthLargeLayout } from './LargeLayout';\nexport { default as AuthMediumLayout } from './MediumLayout';\nexport { default as AuthSmallLayout } from './SmallLayout';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,YAAA,GAAAH,sBAAA,CAAAC,OAAA;AAA2D,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _i18n = require("@edx/frontend-platform/i18n");
8
+ const messages = (0, _i18n.defineMessages)({
9
+ 'welcome.to.platform': {
10
+ id: 'welcome.to.platform',
11
+ defaultMessage: 'Welcome to {siteName}, {fullName}!',
12
+ description: 'Welcome message that appears on progressive profile page'
13
+ },
14
+ 'start.learning': {
15
+ id: 'start.learning',
16
+ defaultMessage: 'Start learning',
17
+ description: 'Header text for logistration MFE pages'
18
+ },
19
+ 'with.site.name': {
20
+ id: 'with.site.name',
21
+ defaultMessage: 'with {siteName}',
22
+ description: 'Header text with site name for logistration MFE pages'
23
+ },
24
+ 'with.edx': {
25
+ id: 'with.edx',
26
+ defaultMessage: ' with edX'
27
+ },
28
+ 'complete.your.profile.1': {
29
+ id: 'complete.your.profile.1',
30
+ defaultMessage: 'Complete',
31
+ description: 'part of text "complete your profile"'
32
+ },
33
+ 'complete.your.profile.2': {
34
+ id: 'complete.your.profile.2',
35
+ defaultMessage: 'your profile',
36
+ description: 'part of text "complete your profile"'
37
+ }
38
+ });
39
+ var _default = exports.default = messages;
40
+ //# sourceMappingURL=messages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages.js","names":["_i18n","require","messages","defineMessages","id","defaultMessage","description","_default","exports","default"],"sources":["../../../../../../src/progressive-profiling-dashboard/progressive-profiling-authn-replica/base-container/components/welcome-page-layout/messages.js"],"sourcesContent":["import { defineMessages } from '@edx/frontend-platform/i18n';\n\nconst messages = defineMessages({\n 'welcome.to.platform': {\n id: 'welcome.to.platform',\n defaultMessage: 'Welcome to {siteName}, {fullName}!',\n description: 'Welcome message that appears on progressive profile page',\n },\n 'start.learning': {\n id: 'start.learning',\n defaultMessage: 'Start learning',\n description: 'Header text for logistration MFE pages',\n },\n 'with.site.name': {\n id: 'with.site.name',\n defaultMessage: 'with {siteName}',\n description: 'Header text with site name for logistration MFE pages',\n },\n 'with.edx': {\n id: 'with.edx',\n defaultMessage: ' with edX',\n },\n 'complete.your.profile.1': {\n id: 'complete.your.profile.1',\n defaultMessage: 'Complete',\n description: 'part of text \"complete your profile\"',\n },\n 'complete.your.profile.2': {\n id: 'complete.your.profile.2',\n defaultMessage: 'your profile',\n description: 'part of text \"complete your profile\"',\n },\n});\n\nexport default messages;\n"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAEA,MAAMC,QAAQ,GAAG,IAAAC,oBAAc,EAAC;EAC9B,qBAAqB,EAAE;IACrBC,EAAE,EAAE,qBAAqB;IACzBC,cAAc,EAAE,oCAAoC;IACpDC,WAAW,EAAE;EACf,CAAC;EACD,gBAAgB,EAAE;IAChBF,EAAE,EAAE,gBAAgB;IACpBC,cAAc,EAAE,gBAAgB;IAChCC,WAAW,EAAE;EACf,CAAC;EACD,gBAAgB,EAAE;IAChBF,EAAE,EAAE,gBAAgB;IACpBC,cAAc,EAAE,iBAAiB;IACjCC,WAAW,EAAE;EACf,CAAC;EACD,UAAU,EAAE;IACVF,EAAE,EAAE,UAAU;IACdC,cAAc,EAAE;EAClB,CAAC;EACD,yBAAyB,EAAE;IACzBD,EAAE,EAAE,yBAAyB;IAC7BC,cAAc,EAAE,UAAU;IAC1BC,WAAW,EAAE;EACf,CAAC;EACD,yBAAyB,EAAE;IACzBF,EAAE,EAAE,yBAAyB;IAC7BC,cAAc,EAAE,cAAc;IAC9BC,WAAW,EAAE;EACf;AACF,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEYP,QAAQ","ignoreList":[]}