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gBAAC,IAAK,KACH3G,EAAE,kBAAmBqQ,IAAWrQ,EAAG,WAAUgD,MAC9C,gBAAC,IAAY,SAKf,8DCzBV,IAR0BpD,GAEtB,gBAAC,EAAA2Q,EAAA,kBAAiC3Q,EAChC,gBAAC,IAAY,CAACS,MAAO,CAAEmQ,SAAU,iEC+JvC,IAnKoB,CAACC,EAAY,MAC/B,MAAMC,EAAcC,IAAOF,GAAWG,OAAO,IAAKC,MAC5CC,EAAeH,IAAOF,GAAWM,MAAM,IAAKF,MAClD,OAAOG,EAAAA,EAAI;;0BAEaF;;;;;;;;;eASXL;;;eAGAC;;;cAGDD;;;gBAGEA;;;eAGDA;;;cAGDA;;;0BAGYA;;;sBAGJA;;;eAGPA;;;oBAGKA;;;cAGNA;;;8BAGgBE,IAAOF,GAAWM,MAAM,IAAKF;;;eAG5CJ;;;sBAGOA;;;eAGPA;;;eAGAA;;;0BAGWC;;;eAGXD;;;eAGAC;;;0BAGWD;;;eAGXA;sBACOA;;;eAGPC;sBACOA;;;0BAGID;sBACJA;;;0BAGIC;sBACJA;;;sBAGAD;;;sBAGAA;;;sBAGAA;0BACIA;;;0BAGAK;;;8BAGIA;sBACRL;;;0BAGIK;;;;;;eAMXL;;;;;;sBAMOA;;;0BAGIA;;;sBAGJA;;;sBAGAA;0BACIA;;;0BAGAA;;;8BAGIK;;;sBAGRL;;;eAGPA;;;eAGAA;;;sBAGOA;;8BAEQK;;;;;;0BAMJL;;;0BAGAA;;GAEvB","sources":["webpack://talent-sup/./node_modules/@fortawesome/free-solid-svg-icons/faCircleQuestion.js","webpack://talent-sup/./app/javascript/react/Public/pages/offers/new.tsx","webpack://talent-sup/./app/javascript/react/Public/routes.ts","webpack://talent-sup/./app/javascript/react/Public/pages/relocations/Show.tsx","webpack://talent-sup/./app/javascript/react/Public/App.tsx","webpack://talent-sup/./app/javascript/packs/public.js","webpack://talent-sup/./app/javascript/react/Admin/pages/offers/components/Offer/useOffer.tsx","webpack://talent-sup/./app/javascript/react/Admin/pages/offers/components/OfferForm/schemas.tsx","webpack://talent-sup/./app/javascript/react/Admin/pages/offers/components/OfferForm/index.tsx","webpack://talent-sup/./app/javascript/react/Student/models/index.ts","webpack://talent-sup/./app/javascript/react/Student/store.ts","webpack://talent-sup/./app/javascript/react/shared/LocaleSwitcher/index.tsx","webpack://talent-sup/./app/javascript/react/shared/components/ReactSelect/DropdownIndicator.tsx","webpack://talent-sup/./app/javascript/react/utils/tenantTheme.ts"],"sourcesContent":["'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar prefix = 'fas';\nvar iconName = 'circle-question';\nvar width = 512;\nvar height = 512;\nvar aliases = [62108,\"question-circle\"];\nvar unicode = 'f059';\nvar svgPathData = 'M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM288 352c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z';\n\nexports.definition = {\n prefix: prefix,\n iconName: iconName,\n icon: [\n width,\n height,\n aliases,\n unicode,\n svgPathData\n ]};\n\nexports.faCircleQuestion = exports.definition;\nexports.prefix = prefix;\nexports.iconName = iconName;\nexports.width = width;\nexports.height = height;\nexports.ligatures = aliases;\nexports.unicode = unicode;\nexports.svgPathData = svgPathData;\nexports.aliases = aliases;","import { useI18n } from '@9troisquarts/wand';\nimport { Button, Card, Col, PageHeader, Row, Typography } from 'antd';\nimport React, { useState } from 'react';\nimport OfferForm from '../../../Admin/pages/offers/components/OfferForm';\nimport { OfferType } from '../../../types';\n\nconst PublicNewOffer = (props) => {\n const {\n token\n } = props.match.params;\n const { t } = useI18n();\n const [created, setCreated] = useState(false);\n\n const onCompleted = () => {\n window.scroll(0, 0)\n setCreated(true);\n }\n\n if (created) {\n return (\n \n \n \n \n {t('sentences.your_offer_has_been_created_title')}\n \n \n {t('sentences.your_offer_has_been_created_description')}\n \n
\n \n
\n
\n \n
\n )\n }\n return (\n <>\n \n \n \n \n \n
\n \n \n \n
\n \n )\n}\n\nexport default PublicNewOffer;","import { Route } from '../AdminTalentSup/routes';\nimport PublicNewOffer from './pages/offers/new';\nimport PublicRelocationShow from './pages/relocations/Show';\nimport StudentRelocationShow from './pages/relocations/Show';\n\nconst routes: Route[] = [\n {\n path: '/public/:token/offers/new',\n name: 'newOffer',\n features: ['offers'],\n hideInMenu: true,\n component: PublicNewOffer,\n },\n {\n path: '/public/relocations/:token',\n name: 'relocation',\n features: ['relocation'],\n hideInMenu: true,\n component: PublicRelocationShow,\n },\n];\n\nexport default routes;\n","import React, { useState } from 'react';\nimport PageHeader from '../../../shared/components/PageHeader';\nimport Flag from 'react-world-flags'\nimport RelocationConvention from '../../../shared/components/RelocationConvention';\nimport { Space, Spin } from 'antd';\nimport queryString from 'query-string';\nimport useRelocation from '../../../utils/hooks/useRelocation';\nimport LocaleSwitcher from '../../../shared/LocaleSwitcher';\n\nconst PublicRelocationShow = props => {\n const {\n token: relocationToken\n } = props.match.params;\n const { record: relocation, loading } = useRelocation(relocationToken, { fetch: true });\n\n if (!loading && !relocation?.id)\n window.location.href = \"/404\"\n\n if(!relocation || loading)\n return (\n
\n \n
\n );\n\n const parsedHash = queryString.parse(location.search);\n const locale = parsedHash.locale || 'fr'\n const onLocaleChange = (locale) => {\n window.location.href = `${window.location.origin}${window.location.pathname}?locale=${locale}`\n }\n\n return (\n <>\n ]}\n title={(\n \n \n {relocation.uniqueIdentifier}\n \n {relocation.countryIso && (\n
\n \n
\n )}\n
\n )}\n />\n
\n \n
\n \n )\n}\n\nexport default PublicRelocationShow;","// @ts-nocheck\nimport React from \"react\";\nimport { Provider } from \"react-redux\";\nimport { Route, Switch } from \"react-router-dom\";\nimport { ConnectedRouter } from \"connected-react-router\";\nimport { ApolloProvider } from '@apollo/client';\nimport { ConfigProvider } from 'antd';\nimport \"../Student/assets/stylesheets/global.sass\"\nimport \"../shared/assets/stylesheets/global.sass\"\nimport fr from 'antd/lib/locale/fr_FR';\n\nimport store, { history} from '../Student/store';\nimport AntForm, { AntFormRailsNested, AntFormGooglePlaces, AntFormRichMarkdownEditor } from \"@9troisquarts/ant-form\";\nimport routes from \"./routes\";\nimport TranslationProvider from \"../utils/TranslationProvider\";\nimport graphqlClient from \"../utils/graphqlClient\";\nimport tenantTheme from \"../utils/tenantTheme\";\nimport flattenRoutes from \"../utils/flattenRoutes\";\nimport DropdownIndicator from \"../shared/components/ReactSelect/DropdownIndicator\";\nimport moment from 'moment';\nimport 'moment/locale/fr'\nimport { hasFeature } from \"../utils/access\";\nimport tracker from \"../utils/tracker\";\nimport UploadInput from \"../shared/components/AntFormUpload\";\nimport { useI18n } from \"@9troisquarts/wand\";\n\ntracker.start();\ntracker.setMetadata('environment', process.env.NODE_ENV || 'unset');\n\nmoment.locale('fr');\n\nAntForm.configure({\n formProps: {\n layout: 'vertical',\n },\n});\n\nexport const dictionary = {\n addColumnAfter: \"Insert column after\",\n addColumnBefore: \"Insert column before\",\n addRowAfter: \"Insert row after\",\n addRowBefore: \"Insert row before\",\n alignCenter: \"Align center\",\n alignLeft: \"Align left\",\n alignRight: \"Align right\",\n bulletList: \"Bulleted list\",\n checkboxList: \"Todo list\",\n codeBlock: \"Code block\",\n codeCopied: \"Copied to clipboard\",\n codeInline: \"Code\",\n createLink: \"Create link\",\n createLinkError: \"Sorry, an error occurred creating the link\",\n createNewDoc: \"Create a new doc\",\n deleteColumn: \"Delete column\",\n deleteRow: \"Supprimer la ligne\",\n deleteTable: \"Supprimer le tableau\",\n deleteImage: \"Supprimer l'image\",\n downloadImage: \"Télécharger l'image\",\n replaceImage: \"Replace image\",\n alignImageLeft: \"Float left half width\",\n alignImageRight: \"Float right half width\",\n alignImageDefault: \"Center large\",\n em: \"Italic\",\n embedInvalidLink: \"Sorry, that link won’t work for this embed type\",\n findOrCreateDoc: \"Find or create a doc…\",\n h1: \"Titre 1\",\n h2: \"Titre 2\",\n h3: \"Titre 3\",\n heading: \"Titre\",\n hr: \"Divider\",\n image: \"Image\",\n imageUploadError: \"Sorry, an error occurred uploading the image\",\n imageCaptionPlaceholder: \"Write a caption\",\n info: \"Info\",\n infoNotice: \"Info notice\",\n link: \"Link\",\n linkCopied: \"Le lien a été copié\",\n mark: \"Highlight\",\n newLineEmpty: \"Tapez '/' pour insérer un contenu…\",\n newLineWithSlash: \"Keep typing to filter…\",\n noResults: \"Aucun résultat\",\n openLink: \"Ouvrir le lien\",\n orderedList: \"Liste ordonnée\",\n pageBreak: \"Page break\",\n pasteLink: \"Paste a link…\",\n pasteLinkWithTitle: (title: string): string => `Paste a ${title} link…`,\n placeholder: \"Placeholder\",\n quote: \"Quote\",\n removeLink: \"Remove link\",\n searchOrPasteLink: \"Search or paste a link…\",\n strikethrough: \"Strikethrough\",\n strong: \"Bold\",\n subheading: \"Subheading\",\n table: \"Table\",\n tip: \"Tip\",\n tipNotice: \"Tip notice\",\n warning: \"Warning\",\n warningNotice: \"Warning notice\",\n};\n\n\nAntForm.addField('nested', {\n component: AntFormRailsNested,\n showFormItemError: false,\n});\n\nAntForm.addField('formasupUpload', {\n component: UploadInput,\n});\n\nAntForm.addField('places', {\n component: AntFormGooglePlaces,\n apiKey: \"AIzaSyBSBiyQ2XtcOa2ja7ue_eQkTRVt2aWUmso\",\n geocoding: true,\n autocompletionRequest: {\n componentRestrictions: { country: ['fr'] }\n },\n selectProps: {\n placeholder: 'Rechercher...',\n noOptionsMessage: () => 'Aucun résultat ne correspond à votre recherche',\n loadingMessage: () => \"Recherche en cours...\",\n classNamePrefix: 'talentsup-react-select',\n components: { DropdownIndicator },\n }\n});\n\nAntForm.addField('localisation', {\n component: AntFormGooglePlaces,\n apiKey: \"AIzaSyBSBiyQ2XtcOa2ja7ue_eQkTRVt2aWUmso\",\n geocoding: true,\n autocompletionRequest: {\n componentRestrictions: { country: ['fr'] },\n types: ['(regions)']\n },\n selectProps: {\n placeholder: 'Rechercher...',\n noOptionsMessage: () => 'Aucun résultat ne correspond à votre recherche',\n loadingMessage: () => \"Recherche en cours...\",\n components: { DropdownIndicator },\n formatOptionLabel: ({ label, value }) => {\n if(value?.terms?.length > 0) {\n return value.terms[0].value;\n }\n return label;\n },\n classNamePrefix: 'talentsup-react-select'\n }\n});\n\ntype IProps = {\n user: any;\n}\n\nconst { client } = graphqlClient({ url: '/public/graphql' });\n\nconst App: React.FC = props => {\n document.body.classList.add(\n tenantTheme(props.school.main_color)\n );\n const { t } = useI18n();\n const rts = flattenRoutes(routes).filter(r => r.component).filter(hasFeature(props.school)).filter(hasFeature(props.client));\n return (\n \n \n \n \n \n {rts.map(route => (\n \n ))}\n \n \n \n \n \n )\n}\n\nexport default TranslationProvider(App);\n","// This file is automatically compiled by Webpack, along with any other files\n// present in this directory. You're encouraged to place your actual application logic in\n// a relevant structure within app/javascript and only use these pack files to reference\n// that code so it'll be compiled.\nimport ReactOnRails from 'react-on-rails';\nimport 'antd/dist/antd.less';\nimport '../assets/stylesheets/global.sass';\n\nimport Rails from \"@rails/ujs\";\nimport App from '../react/Public/App';\nimport * as ActiveStorage from \"@rails/activestorage\";\nimport \"channels\";\n\nRails.start();\nActiveStorage.start();\nReactOnRails.register({\n App,\n});\n","import {gql, useMutation} from '@apollo/client';\nimport {ID, OfferType} from \"../../../../../types\";\nimport castAttributesFromModel, { ModelDefinitionType } from '../../../../../utils/castAttributesFromDefinition';\nimport { DOMAIN_FRAGMENT, LEVEL_FRAGMENT, OFFER_BASE_FRAGMENT, PATHWAY_FRAGMENT } from \"../../../../../utils/fragments\";\n\nexport const orderSearchDefinition: ModelDefinitionType = {\n location: {\n city: \"String\",\n lat: \"Float\",\n lng: \"Float\",\n },\n createdAtGteq: 'Date',\n createdAtLteq: 'Date',\n companyNameICont: \"String\",\n onlyFavorites: 'Boolean',\n typeOfContractEq: \"String\",\n sectorEq: \"String\",\n offerPublicationsDomainIdEq: \"String\",\n offerPublicationsPathwayIdEq: \"String\",\n offerPublicationsLevelIdEq: \"String\",\n keywordsICont: \"String\",\n publicationStateEq: \"String\",\n createdByEq: \"String\",\n proximity: \"Integer\",\n}\n\nexport type OfferSearchType = {\n location?: {\n city?: string;\n lat?: string;\n lng?: string;\n };\n createdByEq?: string;\n onlyFavorites?: boolean;\n typeOfContractEq?: string;\n sectorEq?: string;\n companyNameICont?: string;\n offerPublicationsDomainIdEq?: string;\n offerPublicationsPathwayIdEq?: string;\n offerPublicationsLevelIdEq?: string;\n keywordsICont?: string;\n publicationStateEq?: string;\n proximity?: number\n};\n\nexport const UPDATE_MULTIPLE_OFFER_STATUS_MUTATION = gql`\n mutation updateMultipleOfferStatus($input: UpdateMultipleOfferStatusInput!) {\n updateMultipleOfferStatus(input: $input) {\n flashMessages\n offers {\n id\n publicationState\n }\n } \n }\n`\n\nconst SHOW_OFFER_FRAGMENT = gql`\n fragment ShowOffer on Offer {\n ...OfferInfo\n viewCount\n publisher {\n id\n firstName\n lastName\n }\n offerPublications {\n id\n pathwayId\n levelId\n domainId\n domain {\n ...DomainInfo\n }\n pathway {\n ...PathwayInfo\n }\n level {\n ...LevelInfo\n }\n }\n }\n ${DOMAIN_FRAGMENT}\n ${LEVEL_FRAGMENT}\n ${PATHWAY_FRAGMENT}\n ${OFFER_BASE_FRAGMENT}\n`\n\nconst CREATE_OFFER = gql`\n mutation createOffer($input: CreateOfferInput!) {\n createOffer(input: $input) {\n offer {\n ...OfferInfo\n }\n }\n }\n ${OFFER_BASE_FRAGMENT}\n`;\n\nconst UPDATE_OFFER = gql`\n mutation updateOffer($input: UpdateOfferInput!) {\n updateOffer(input: $input) {\n offer {\n ...OfferInfo\n }\n }\n }\n ${OFFER_BASE_FRAGMENT}\n`;\n\nconst DESTROY_OFFER = gql`\n mutation destroyOffer($input: DestroyOfferInput!) {\n destroyOffer(input: $input) {\n offer {\n id\n }\n flashMessages\n }\n }\n`;\n\nconst UPDATE_STATUS = gql`\n mutation updateOfferStatus($input: UpdateOfferStatusInput!) {\n updateOfferStatus(input: $input) {\n flashMessages\n }\n }\n`\n\nconst UPDATE_OFFER_PUBLICATIONS = gql`\n mutation updateOfferPublications($input: UpdateOfferPublicationsInput!) {\n updateOfferPublications(input: $input) {\n flashMessages\n offer {\n ...ShowOffer\n }\n }\n }\n ${SHOW_OFFER_FRAGMENT}\n`\n\nexport const OFFERS_QUERY = gql`\n query offers($search: OffersSearch, $page: Int, $perPage: Int!) {\n offers(search: $search, page: $page, perPage: $perPage) {\n offers {\n id\n title\n companyName\n publicationState\n typeOfContract\n publishedAt\n location\n publisher {\n id\n firstName\n lastName\n }\n creator {\n id\n firstName\n lastName\n }\n city\n school {\n id\n title\n }\n }\n pagination {\n page\n totalPage\n perPage\n total\n }\n }\n }\n`;\n\nconst offerPublicationDefinition: ModelDefinitionType = {\n id: \"String\",\n _destroy: \"Boolean\",\n levelId: \"String\",\n domainId: \"String\",\n pathwayId: \"String\"\n}\n\nconst offerDefinition: ModelDefinitionType = {\n title: \"String\",\n companyDetails: \"String\",\n missionDetails: \"String\",\n profileDetails: \"String\",\n contactFirstName: \"String\",\n contactLastName: \"String\",\n contactEmail: \"String\",\n contactPhone: \"String\",\n keywords: \"String\",\n shared: \"Boolean\",\n location: {\n type: 'Places',\n options: {\n formattedAddress: 'location',\n }\n },\n companyName: \"String\",\n typeOfContract: \"String\",\n sector: 'String',\n minDurationMonths: 'Integer',\n applicationUrl: 'String',\n attachment: 'File'\n}\n\nexport const GET_OFFER = gql`\n query offer($id: ID!) {\n offer(id: $id) {\n ...ShowOffer\n createdAt\n location\n applicationCount\n school {\n id\n title\n }\n applications {\n id\n createdAt\n student {\n id\n firstName\n lastName\n }\n }\n pdfFile {\n id\n url\n }\n }\n }\n ${SHOW_OFFER_FRAGMENT}\n`;\n\nconst useOffer = (id?: ID, mutationOptions = {}) => {\n const [createOffer] = useMutation(CREATE_OFFER, {\n context: {\n hasUpload: true,\n },\n ...(mutationOptions || {})\n });\n const [updateOffer] = useMutation(UPDATE_OFFER, {\n context: {\n hasUpload: true,\n },\n ...(mutationOptions || {})\n });\n const [destroyOffer] = useMutation(DESTROY_OFFER, {\n ...(mutationOptions || {})\n });\n\n const [updateOfferStatus] = useMutation(UPDATE_STATUS, {\n ...(mutationOptions || {})\n })\n\n const [updateOfferPublications] = useMutation(UPDATE_OFFER_PUBLICATIONS, {\n ...(mutationOptions || {})\n })\n\n const onDestroy = (mutationOptions) => {\n destroyOffer({\n variables: {\n input: {\n id: id,\n },\n },\n ...(mutationOptions || {})\n });\n }\n\n const onStatusChange = (payload: string) => updateOfferStatus({\n variables: {\n input: {\n offerId: id,\n publicationState: payload\n }\n }\n })\n\n const onSave = (payload: OfferType, options = {}) => {\n if (id) {\n updateOffer({\n variables: {\n input: {\n id: id,\n attributes: castAttributesFromModel(offerDefinition, payload),\n ...(options.variables || {})\n },\n },\n });\n } else {\n createOffer({\n variables: {\n input: {\n attributes: castAttributesFromModel(offerDefinition, payload),\n ...(options.variables || {})\n },\n },\n });\n }\n };\n\n const onPublicationsSave = (payload: OfferType) => updateOfferPublications({\n variables: {\n input: {\n offerId: id,\n offerPublications: payload.offerPublications.map(p => castAttributesFromModel(offerPublicationDefinition, p))\n }\n }\n })\n\n return {\n onSave,\n onStatusChange,\n onDelete: onDestroy,\n onPublicationsSave\n };\n};\n\nexport default useOffer;\n","\n// @ts-nocheck\nimport React from 'react';\nimport { AntSchema } from '@9troisquarts/ant-form';\nimport { sectors, typeOfContracts } from '../../../../../utils/itemList';\nimport {Alert, Col, Tooltip} from 'antd';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { solid } from '@fortawesome/fontawesome-svg-core/import.macro'\n\nexport const offerInformationsSchema: AntSchema = (intl) => [\n {\n name: 'typeOfContract',\n label: intl.formatMessage({ id: 'activerecord.attributes.offer.type_of_contract' }),\n required: true,\n input: {\n type: 'select',\n options: typeOfContracts.map((contract) => ({\n label: intl.formatMessage({ id: `type_of_contracts.${contract}` }),\n value: contract,\n })),\n },\n colProps: {\n xs: 24,\n md: 24,\n },\n },\n {\n name: 'companyName',\n label: intl.formatMessage({ id: 'activerecord.attributes.offer.company_name' }),\n input: {\n type: 'string',\n },\n colProps: {\n xs: 24,\n md: 24,\n },\n },\n {\n name: 'title',\n label: intl.formatMessage({ id: 'activerecord.attributes.offer.offer_title' }),\n required: true,\n input: {\n type: 'string',\n },\n colProps: {\n xs: 24,\n md: 24,\n },\n },\n {\n name: 'location',\n label: intl.formatMessage({ id: 'activerecord.attributes.offer.location' }),\n input: {\n type: 'places',\n },\n colProps: {\n xs: 24,\n md: 24,\n },\n },\n {\n name: 'sector',\n label: intl.formatMessage({ id: 'activerecord.attributes.offer.sector' }),\n required: true,\n input: {\n type: 'select',\n required: true,\n options: sectors.map((sector) => ({\n label: intl.formatMessage({ id: `sectors.${sector}` }),\n value: sector,\n })),\n },\n colProps: {\n xs: 24,\n md: 24,\n },\n },\n {\n name: 'minDurationMonths',\n label: intl.formatMessage({ id: 'activerecord.attributes.offer.min_duration_months' }),\n input: {\n type: 'number',\n },\n colProps: {\n xs: 24,\n md: 24,\n },\n },\n];\n\nexport const contactInformationsSchema: AntSchema = (intl, admin = true) => [\n {\n name: 'contactFirstName',\n label: intl.formatMessage({ id: 'words.first_name' }),\n input: {\n type: 'string',\n },\n colProps: {\n xs: 24,\n md: 24,\n },\n },\n {\n name: 'contactLastName',\n label: intl.formatMessage({ id: 'words.last_name' }),\n input: {\n type: 'string',\n },\n colProps: {\n xs: 24,\n md: 24,\n },\n },\n \n \n ,\n {\n name: 'contactEmail',\n required: true,\n label: intl.formatMessage({ id: 'words.email' }),\n input: {\n type: 'string',\n },\n colProps: {\n xs: 24,\n md: 24,\n },\n },\n {\n name: 'contactPhone',\n required: true,\n label: intl.formatMessage({ id: 'words.phone' }),\n input: {\n type: 'string',\n },\n colProps: {\n xs: 24,\n md: 24,\n },\n },\n {\n name: 'applicationUrl',\n required: true,\n label: intl.formatMessage({ id: 'words.application_url' }),\n input: {\n type: 'string'\n },\n colProps: {\n xs: 24\n }\n },\n admin && {\n name: 'shared',\n input: {\n type: 'checkbox',\n text: intl.formatMessage({ id: 'sentences.share_informations' }),\n },\n colProps: {\n xs: 24,\n md: 24,\n },\n },\n];\n\nexport const offerDetailsSchema: AntSchema = (intl) => [\n {\n name: 'companyDetails',\n label: intl.formatMessage({ id: 'activerecord.attributes.offer.company_details' }),\n input: {\n type: 'markdown',\n inputProps: {\n displayOptions: [\"Bold\", \"Italic\", \"bullet\", \"number\", \"createLink\"]\n },\n },\n style: {\n marginTop: \"18px\",\n },\n colProps: {\n xs: 24,\n md: 24,\n },\n },\n {\n name: 'missionDetails',\n label: intl.formatMessage({ id: 'activerecord.attributes.offer.mission_details' }),\n input: {\n type: 'markdown',\n inputProps: {\n displayOptions: [\"Bold\", \"Italic\", \"bullet\", \"number\", \"createLink\"]\n },\n },\n colProps: {\n xs: 24,\n md: 24,\n },\n },\n {\n name: 'profileDetails',\n label: intl.formatMessage({ id: 'activerecord.attributes.offer.profile_details' }),\n input: {\n type: 'markdown',\n inputProps: {\n displayOptions: [\"Bold\", \"Italic\", \"bullet\", \"number\", \"createLink\"]\n },\n },\n colProps: {\n xs: 24,\n md: 24,\n },\n }\n]\n\nexport const keywordsSchema: AntSchema = (intl) => [\n {\n name: 'keywords',\n label:\n \n {intl.formatMessage({ id: 'activerecord.attributes.offer.keywords' })}\n \n   {}\n \n ,\n input: {\n type: 'string',\n inputProps: {\n placeholder: 'Renseignez des mots clés (société, compétences ....)'\n },\n },\n colProps: {\n xs: 24,\n md: 24,\n },\n },\n]\n\n\n","import {Button, Col, Divider, Popconfirm, Radio, Row, Space, Typography} from \"antd\";\nimport { DeleteOutlined } from '@ant-design/icons'\nimport React, {useEffect, useState} from \"react\";\nimport {useIntl} from \"react-intl\";\nimport AntForm, { useAntForm } from \"@9troisquarts/ant-form\";\nimport {contactInformationsSchema, offerDetailsSchema, offerInformationsSchema, keywordsSchema} from \"./schemas\";\nimport useOffer from \"../Offer/useOffer\";\nimport {push, replace} from \"connected-react-router\";\nimport {useDispatch} from \"react-redux\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { solid } from '@fortawesome/fontawesome-svg-core/import.macro'\nimport \"../../../../../../../../node_modules/@9troisquarts/ant-form/dist/style.css\"\n\nconst OfferForm = (props) => {\n const {\n admin = true,\n extraVariables = {}\n } = props;\n const { set, onChange, object: offer } = useAntForm(props.offer || { });\n const intl = useIntl();\n const dispatch = useDispatch();\n const [value, setValue] = useState(1);\n const onRadioChange = e => {\n setValue(e.target.value);\n };\n\n useEffect(() => set(props.offer || {}), [props.offer?.id]);\n \n const [errors, setErrors] = useState({});\n\n const { onSave, onDelete } = useOffer(offer?.id, {\n onCompleted: (data: any) => {\n const { recordErrors, createOffer, updateOffer } = data;\n if (recordErrors) setErrors(recordErrors);\n else if(createOffer?.offer || updateOffer?.offer) {\n if (props.onCompleted) {\n props.onCompleted(createOffer?.offer || updateOffer?.offer);\n } else {\n dispatch(push(`/admin/offers/${updateOffer?.offer?.id || createOffer?.offer?.id}`));\n }\n }\n },\n });\n\n useEffect(() => setErrors({}), []);\n\n const handleDelete = () => onDelete({\n onCompleted: () => {\n dispatch(replace(`/admin/offers`))\n }\n })\n\n return (\n <>\n \n \n \n {intl.formatMessage({ id: 'sentences.offer_informations' })}\n \n \n \n \n \n {intl.formatMessage({ id: 'sentences.employer_contact_informations' })}\n \n \n \n \n \n \n \n \n {intl.formatMessage({ id: 'words.details' })}\n \n \n Rédiger l'offre\n Insérer un pdf\n \n {value === 1 && (\n \n )}\n {value === 2 && (\n \n \n \n Insérer un pdf\n \n ),\n },\n }\n }\n ]}\n // @ts-ignore\n onChange={onChange}\n />\n \n )}\n \n \n
\n \n {props.offer?.id && (\n \n \n\n \n )}\n \n \n
\n \n
\n \n )\n}\n\nexport default OfferForm;\n","import { all } from \"@redux-saga/core/effects\";\nimport { connectRouter } from 'connected-react-router';\nimport { combineReducers } from \"redux\";\n\nconst userReducer = (state = {}, action) => {\n return state;\n}\n\nconst schoolReducer = (state = {}, action) => {\n return state;\n}\n\nconst clientReducer = (state = {}, action) => {\n return state;\n}\n\nconst rootReducer = history => combineReducers({\n router: connectRouter(history),\n user: userReducer,\n school: schoolReducer,\n client: clientReducer,\n});\n\nexport function* rootSaga() {\n yield all([]);\n};\n\nexport default rootReducer;\n","// @ts-nocheck\nimport { routerMiddleware } from \"connected-react-router\";\nimport { composeWithDevTools } from \"redux-devtools-extension\";\nimport { createStore, applyMiddleware } from \"redux\";\nimport { createBrowserHistory } from 'history';\nimport createSagaMiddleware from 'redux-saga'\nimport rootReducer, { rootSaga } from './models';\n\nexport const history = createBrowserHistory();\n\nconst sagaMiddleware = createSagaMiddleware();\n\nconst createReducer = props => {\n const store = createStore(\n rootReducer(history),\n {\n user: {\n current: props.user,\n },\n school: props.school,\n client: props.client\n },\n composeWithDevTools(\n applyMiddleware(\n routerMiddleware(history), sagaMiddleware,\n ),\n ),\n );\n sagaMiddleware.run(rootSaga)\n return store\n}\n\nexport default createReducer;\n","import { DownOutlined } from '@ant-design/icons';\nimport upperFirst from \"lodash/upperFirst\";\nimport { useI18n } from '@9troisquarts/wand';\nimport { Dropdown, Space } from 'antd';\nimport React from 'react';\n\nconst locales = ['en', 'fr'];\n\ntype LocaleSwitcherProps = {\n value: string;\n onChange: (locale: string) => void;\n}\n\nconst LocaleSwitcher: React.FC = props => {\n const {\n value,\n onChange\n } = props;\n const { t } = useI18n();\n\n const items = locales.map(l => ({\n key: l,\n label: upperFirst(t(`locales.${l}`))\n }))\n\n return (\n \n )\n}\n\nexport default LocaleSwitcher;","// @ts-nocheck\nimport React from 'react';\nimport { components } from 'react-select';\nimport { DownOutlined } from '@ant-design/icons'\n\nconst DropdownIndicator = props => {\n return (\n \n \n \n );\n};\n\nexport default DropdownIndicator;\n","// @ts-nocheck\nimport chroma from 'chroma-js';\nimport { css } from '@emotion/css';\n\nconst tenantTheme = (mainColor = '') => {\n const darkenColor = chroma(mainColor).darken(0.5).hex();\n const lightenColor = chroma(mainColor).alpha(0.1).hex();\n return css`\n .lighten-background {\n background-color: ${lightenColor} !important;\n }\n .ant-menu-title-content {\n color: #2E2B2B;\n }\n .talent-sup__back-button {\n cursor: pointer;\n }\n .ant-descriptions-item .ant-descriptions-item-label, a {\n color: ${mainColor} !important;\n }\n a:hover, .talent-sup__back-button:hover {\n color: ${darkenColor} !important;\n }\n .path-main-color path {\n fill: ${mainColor} !important;\n }\n .ant-menu-item-selected .ant-menu-item-icon path, .ant-menu-item:hover .ant-menu-item-icon path {\n fill: ${mainColor};\n }\n .ant-menu-item-selected .ant-menu-title-content, ant-menu-submenu-active span.ant-menu-title-content, .ant-menu-item-active span.ant-menu-title-content, .ant-menu-item:hover .ant-menu-title-content {\n color: ${mainColor} !important;\n }\n .ant-menu-item:hover .ant-menu-item-icon svg path {\n fill: ${mainColor} !important;\n }\n .ant-menu-item-selected .ant-menu-title-content::after, .ant-menu-submenu span.ant-menu-title-content::after, .ant-menu-item-active span.ant-menu-title-content::after {\n background-color: ${mainColor};\n }\n .ant-input-search .ant-input:hover, .ant-input-search .ant-input:focus {\n border-color: ${mainColor};\n }\n .ant-menu-submenu:hover ant-menu-submenu-title span.ant-menu-title-content {\n color: ${mainColor};\n }\n .ant-badge-count {\n background: ${mainColor};\n }\n .ant-menu-submenu-title:hover svg path {\n fill: ${mainColor};\n }\n .ant-input:focus, .ant-input-focused {\n box-shadow: 0 0 0 2px ${chroma(mainColor).alpha(0.2).hex()};\n }\n .tenant-color, .main-color {\n color: ${mainColor};\n }\n .tenant-border {\n border-color: ${mainColor} !important;\n }\n .ant-table-thead > tr > th {\n color: ${mainColor} !important;\n }\n .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n color: ${mainColor};\n }\n .ant-btn-compact-item.ant-btn-primary:not([disabled]) + .ant-btn-compact-item.ant-btn-primary:not([disabled])::after {\n background-color: ${darkenColor} !important;\n }\n .ant-menu-submenu:hover > .ant-menu-submenu-title > .ant-menu-submenu-expand-icon, .ant-menu-submenu:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow, .ant-menu-submenu-title:hover span.ant-menu-title-content {\n color: ${mainColor} !important;\n }\n .ant-tabs-tab:hover {\n color: ${darkenColor} !important;\n }\n .ant-tabs-ink-bar {\n background-color: ${mainColor};\n }\n .ant-btn:not(.ant-btn-dangerous):not(.ant-btn-primary) {\n color: ${mainColor};\n border-color: ${mainColor};\n }\n .ant-btn:not(.ant-btn-dangerous):not(.ant-btn-primary):hover {\n color: ${darkenColor};\n border-color: ${darkenColor};\n }\n .ant-btn-primary {\n background-color: ${mainColor};\n border-color: ${mainColor};\n }\n .ant-btn-primary:hover {\n background-color: ${darkenColor};\n border-color: ${darkenColor};\n }\n .ant-checkbox-checked::after {\n border-color: ${mainColor} !important;\n }\n .ant-input:hover, .ant-select:not(.ant-select-disabled):hover .ant-select-selector {\n border-color: ${mainColor};\n }\n .ant-checkbox-checked .ant-checkbox-inner {\n border-color: ${mainColor};\n background-color: ${mainColor};\n }\n .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .lighten-background {\n background-color: ${lightenColor} !important;\n }\n .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {\n box-shadow: 0 0 0 2px ${lightenColor} !important;\n border-color: ${mainColor};\n }\n .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {\n background-color: ${lightenColor};\n }\n .ant-pagination-item a {\n color: #D9D9D9 !important;\n }\n .ant-pagination-item.ant-pagination-item-active a, .ant-pagination-item:hover a {\n color: ${mainColor} !important;\n }\n .text-black {\n color: #2E2B2B !important;\n }\n .ant-radio-checked .ant-radio-inner {\n border-color: ${mainColor} !important;\n }\n .ant-radio-inner::after {\n background-color: ${mainColor} !important;\n }\n .ant-checkbox-wrapper:hover .ant-checkbox-inner, .ant-checkbox:hover .ant-checkbox-inner, .ant-checkbox-input:focus + .ant-checkbox-inner, .ant-radio-wrapper:hover .ant-radio, .ant-radio:hover .ant-radio-inner, .ant-radio-input:focus + .ant-radio-inner {\n border-color: ${mainColor} !important;\n }\n .ant-radio-checked::after {\n border-color: ${mainColor} !important;\n background-color: ${mainColor} !important;\n }\n .ant-slider-track, .ant-slider:hover .ant-slider-track {\n background-color: ${mainColor};\n }\n .ant-slider-handle:focus {\n box-shadow: 0 0 0 5px ${lightenColor};\n }\n .ant-slider-handle.ant-tooltip-open {\n border-color: ${mainColor};\n }\n .ant-menu-light .ant-menu-submenu-title:hover {\n color: ${mainColor};\n }\n .ant-menu-submenu-active span.ant-menu-title-content {\n color: ${mainColor};\n }\n .talentsup-react-select__control--is-focused {\n border-color: ${mainColor} !important;\n border-width: 1px !important;\n box-shadow: 0 0 0 2px ${lightenColor} !important;\n }\n .talentsup-react-select__option--is-focused {\n background-color: #F5F5F5;\n }\n .layout-footer {\n background-color: ${mainColor};\n }\n .ant-progress-bg, .progress-bar-inner {\n background-color: ${mainColor} !important;\n }\n `;\n};\n\nexport default tenantTheme;\n"],"names":["iconName","aliases","unicode","svgPathData","exports","prefix","icon","props","token","match","params","t","useI18n","useState","created","setCreated","style","justifyContent","marginTop","xs","md","lg","xl","level","textAlign","onClick","window","location","reload","title","className","OfferForm","extraVariables","onCompleted","scroll","path","name","features","hideInMenu","component","PublicNewOffer","relocationToken","useRelocation","fetch","relocation","record","loading","id","href","paddingTop","locale","queryString","search","PageHeader","extra","LocaleSwitcher","onChange","origin","pathname","value","uniqueIdentifier","countryIso","code","width","paddingBottom","RelocationConvention","relocationId","showRelocationPeriodsForm","tracker","process","moment","AntForm","formProps","layout","AntFormRailsNested","showFormItemError","UploadInput","AntFormGooglePlaces","apiKey","geocoding","autocompletionRequest","componentRestrictions","country","selectProps","placeholder","noOptionsMessage","loadingMessage","classNamePrefix","components","DropdownIndicator","types","formatOptionLabel","label","terms","length","client","graphqlClient","url","TranslationProvider","document","body","classList","add","tenantTheme","school","main_color","rts","flattenRoutes","routes","filter","r","hasFeature","fr","store","history","ApolloProvider","map","route","key","exact","Rails","ActiveStorage","ReactOnRails","App","orderSearchDefinition","city","lat","lng","createdAtGteq","createdAtLteq","companyNameICont","onlyFavorites","typeOfContractEq","sectorEq","offerPublicationsDomainIdEq","offerPublicationsPathwayIdEq","offerPublicationsLevelIdEq","keywordsICont","publicationStateEq","createdByEq","proximity","UPDATE_MULTIPLE_OFFER_STATUS_MUTATION","gql","SHOW_OFFER_FRAGMENT","DOMAIN_FRAGMENT","LEVEL_FRAGMENT","PATHWAY_FRAGMENT","OFFER_BASE_FRAGMENT","CREATE_OFFER","UPDATE_OFFER","DESTROY_OFFER","UPDATE_STATUS","UPDATE_OFFER_PUBLICATIONS","OFFERS_QUERY","offerPublicationDefinition","_destroy","levelId","domainId","pathwayId","offerDefinition","companyDetails","missionDetails","profileDetails","contactFirstName","contactLastName","contactEmail","contactPhone","keywords","shared","type","options","formattedAddress","companyName","typeOfContract","sector","minDurationMonths","applicationUrl","attachment","GET_OFFER","mutationOptions","createOffer","useMutation","context","hasUpload","updateOffer","destroyOffer","updateOfferStatus","updateOfferPublications","onSave","payload","variables","input","attributes","castAttributesFromModel","onStatusChange","offerId","publicationState","onDelete","onPublicationsSave","offerPublications","p","offerInformationsSchema","intl","formatMessage","required","typeOfContracts","contract","colProps","sectors","contactInformationsSchema","admin","marginBottom","message","text","offerDetailsSchema","inputProps","displayOptions","keywordsSchema","useAntForm","offer","set","object","useIntl","dispatch","useDispatch","setValue","useEffect","errors","setErrors","useOffer","data","recordErrors","push","gutter","schema","e","target","borderRadius","accept","addComponent","marginRight","okText","cancelText","onConfirm","replace","danger","DeleteOutlined","i","rootSaga","userReducer","state","action","schoolReducer","clientReducer","all","combineReducers","router","connectRouter","user","createBrowserHistory","sagaMiddleware","createSagaMiddleware","createStore","rootReducer","current","composeWithDevTools","applyMiddleware","routerMiddleware","run","locales","items","l","upperFirst","menu","c","fontSize","mainColor","darkenColor","chroma","darken","hex","lightenColor","alpha","css"],"sourceRoot":""}