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5B4B,OAAOC,aAAaZ,aAAe,CAAC,GACpCF,EAAQE,aAEY,MAAMa,EAAiB,CAAC,EAC/BA,EAAe,mEAAqE,CAC5FZ,EAAGA,IAAMC,EAAQ,MACjBY,GAAI,yCAEpBH,OAAOC,aAAeD,OAAOC,cAAgB,CAAC,EAC9CD,OAAOC,aAAaC,eAAc9B,EAAAA,EAAA,GACP4B,OAAOC,aAAaC,gBAAkB,CAAC,GACvCA,UCtC3BE,EAAOC,QAAUxD,cCAjBuD,EAAOC,QAAUC","sources":["webpack://Msdyn365.Commerce.Online/./src/modules/ecomm-job-details/ecomm-job-details.tsx?c462","webpack://Msdyn365.Commerce.Online/./src/modules/ecomm-job-details/ecomm-job-details.view.tsx?dd74","webpack://Msdyn365.Commerce.Online/./lib/ecomm-job-details/module-registration.js?ff8e","webpack://Msdyn365.Commerce.Online/external var \"React\"?0d3b","webpack://Msdyn365.Commerce.Online/external var \"ReactDOM\"?853b"],"sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\nimport * as React from 'react';\r\n\r\nimport * as MsDyn365 from '@msdyn365-commerce/core';\r\n\r\nimport { IEcommJobDetailsData } from './ecomm-job-details.data';\r\nimport { IEcommJobDetailsProps } from './ecomm-job-details.props.autogenerated';\r\n\r\nexport interface IEcommJobDetailsViewProps extends IEcommJobDetailsProps {\r\n intro: React.ReactNode;\r\n description: React.ReactNode;\r\n requirements: React.ReactNode;\r\n}\r\n\r\n/**\r\n *\r\n * EcommJobDetails component\r\n * @extends {React.PureComponent>}\r\n */\r\nclass EcommJobDetails extends React.PureComponent> {\r\n public render(): JSX.Element | null {\r\n const { config } = this.props;\r\n\r\n const intro = config.intro && ;\r\n const description = config.description && ;\r\n const requirements = config.requirements && ;\r\n\r\n const EcommJobDetailsViewProps = {\r\n ...this.props,\r\n intro: intro,\r\n description: description,\r\n requirements: requirements\r\n };\r\n\r\n return this.props.renderView(EcommJobDetailsViewProps);\r\n }\r\n\r\n private _handleIntroChange = (event: MsDyn365.ContentEditableEvent) => this.props.config.intro = event.target.value;\r\n\r\n private _handleDescriptionChange = (event: MsDyn365.ContentEditableEvent) => this.props.config.description = event.target.value;\r\n\r\n private _handleRequirementsChange = (event: MsDyn365.ContentEditableEvent) => this.props.config.requirements = event.target.value;\r\n}\r\n\r\nexport default EcommJobDetails;\r\n","/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\n\r\nimport * as React from 'react';\r\n\r\nimport { IEcommJobDetailsViewProps } from './ecomm-job-details';\r\n\r\n/**\r\n *\r\n * EcommContentTemplate1View component\r\n * @extends {React.PureComponent}\r\n */\r\nexport class EcommJobDetailsView extends React.PureComponent {\r\n public render(): JSX.Element | null {\r\n const { intro, description, requirements } = this.props;\r\n\r\n return (\r\n
\r\n
\r\n

{this.props.config.title}

\r\n {this._renderSocialMedia()}\r\n

\r\n {intro}\r\n

\r\n
\r\n
\r\n

{this.props.config.descriptionTitle}

\r\n

\r\n {description}\r\n

\r\n
\r\n
\r\n

{this.props.config.reqTitle}

\r\n

\r\n {requirements}\r\n

\r\n
\r\n
\r\n );\r\n }\r\n\r\n private _renderSocialMedia(): JSX.Element | undefined {\r\n if (!this.props.slots || !this.props.slots.socialShare || this.props.slots.socialShare.length === 0) {\r\n return undefined;\r\n }\r\n\r\n return
{this.props.slots.socialShare}
;\r\n }\r\n}\r\n\r\nexport default EcommJobDetailsView;","const binding = { modules: {}, dataActions: {} };\n\n (binding.modules['ecomm-job-details'] = {\n c: () => require('partner/modules/ecomm-job-details/ecomm-job-details.tsx'),\n $type: 'containerModule',\n da: [],\n \n iNM: false,\n ns: '__local__',\n n: 'ecomm-job-details',\n p: '__local__',\n \n pdp: '',\n \n \n md: 'src/modules/ecomm-job-details'\n });\n \n\n \n window.__bindings__ = window.__bindings__ || {};\n window.__bindings__.modules = {\n ...window.__bindings__.modules || {},\n ...binding.modules\n };\n \n window.__bindings__.dataActions = {\n ...window.__bindings__.dataActions || {},\n ...binding.dataActions\n };\n export const viewDictionary = {};\n viewDictionary['__local__|__local__|modules|ecomm-job-details|ecomm-job-details'] = {\n c: () => require('partner/modules/ecomm-job-details/ecomm-job-details.view.tsx'),\n cn: '__local__-__local__-ecomm-job-details'\n };\nwindow.__bindings__ = window.__bindings__ || {};\nwindow.__bindings__.viewDictionary = {\n ...window.__bindings__.viewDictionary || {},\n ...viewDictionary\n };","module.exports = React;","module.exports = ReactDOM;"],"names":["EcommJobDetails","React","constructor","_handleIntroChange","event","this","props","config","intro","target","value","_handleDescriptionChange","description","_handleRequirementsChange","requirements","render","MsDyn365","text","editProps","onEdit","requestContext","context","request","EcommJobDetailsViewProps","_objectSpread","renderView","EcommJobDetailsView","className","title","_renderSocialMedia","Object","assign","id","renderModuleAttributes","descriptionTitle","reqTitle","slots","socialShare","length","binding","modules","dataActions","c","require","$type","da","iNM","ns","n","p","pdp","md","window","__bindings__","viewDictionary","cn","module","exports","ReactDOM"],"sourceRoot":""}