Newer
Older
FanFarm / system / V3fanfarm-ubuntu-local / V3fanfarm-frontend / node_modules / .cache / babel-loader / ae806dde5be3f1678b5bac08572db2e93ec51a175dc653aff829164d000e0b8e.json
@Fanfarm User Fanfarm User on 18 Dec 52 KB add all
{"ast":null,"code":"import _objectSpread from\"/home/fanfarm/FanFarm/system/V3fanfarm-ubuntu-local/V3fanfarm-frontend/node_modules/@babel/runtime/helpers/esm/objectSpread2.js\";import _taggedTemplateLiteral from\"/home/fanfarm/FanFarm/system/V3fanfarm-ubuntu-local/V3fanfarm-frontend/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js\";var _templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,_templateObject6,_templateObject7,_templateObject8,_templateObject9,_templateObject0,_templateObject1,_templateObject10,_templateObject11,_templateObject12,_templateObject13,_templateObject14,_templateObject15,_templateObject16,_templateObject17;// src/components/job/PostJob.js - 曜日自動計算・完全版\nimport React,{useState,useContext,useEffect}from'react';import{useNavigate}from'react-router-dom';import styled from'styled-components';import{JobPostings}from'../../api/api';import{AuthContext}from'../../context/AuthContext';import Button from'../common/Button';import Card from'../common/Card';// スタイルコンポーネント(既存のものと同じ)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";const PostJobContainer=styled.div(_templateObject||(_templateObject=_taggedTemplateLiteral([\"\\n  max-width: 800px;\\n  margin: 40px auto;\\n  padding: 0 24px;\\n\"])));const Title=styled.h1(_templateObject2||(_templateObject2=_taggedTemplateLiteral([\"\\n  text-align: center;\\n  margin-bottom: 32px;\\n  color: var(--primary-color);\\n\"])));const Form=styled.form(_templateObject3||(_templateObject3=_taggedTemplateLiteral([\"\\n  display: flex;\\n  flex-direction: column;\\n\"])));const InputGroup=styled.div(_templateObject4||(_templateObject4=_taggedTemplateLiteral([\"\\n  margin-bottom: 24px;\\n\"])));const Label=styled.label(_templateObject5||(_templateObject5=_taggedTemplateLiteral([\"\\n  display: block;\\n  font-size: 20px;\\n  font-weight: 700;\\n  margin-bottom: 8px;\\n\"])));const Input=styled.input(_templateObject6||(_templateObject6=_taggedTemplateLiteral([\"\\n  width: 100%;\\n  padding: 16px;\\n  font-size: 18px;\\n  border: 2px solid var(--border-color);\\n  border-radius: var(--border-radius);\\n  transition: border-color 0.3s;\\n\\n  &:focus {\\n    outline: none;\\n    border-color: var(--primary-color);\\n  }\\n\"])));const TextArea=styled.textarea(_templateObject7||(_templateObject7=_taggedTemplateLiteral([\"\\n  width: 100%;\\n  padding: 16px;\\n  font-size: 18px;\\n  border: 2px solid var(--border-color);\\n  border-radius: var(--border-radius);\\n  transition: border-color 0.3s;\\n  min-height: 150px;\\n\\n  &:focus {\\n    outline: none;\\n    border-color: var(--primary-color);\\n  }\\n\"])));const DatePickerGroup=styled.div(_templateObject8||(_templateObject8=_taggedTemplateLiteral([\"\\n  display: flex;\\n  flex-wrap: wrap;\\n  gap: 8px;\\n  margin-top: 12px;\\n\"])));const DateChip=styled.div(_templateObject9||(_templateObject9=_taggedTemplateLiteral([\"\\n  padding: 8px 12px;\\n  background: var(--primary-color);\\n  color: white;\\n  border-radius: 20px;\\n  font-size: 14px;\\n  display: flex;\\n  align-items: center;\\n  gap: 4px;\\n\"])));const RemoveDateButton=styled.button(_templateObject0||(_templateObject0=_taggedTemplateLiteral([\"\\n  background: none;\\n  border: none;\\n  color: white;\\n  cursor: pointer;\\n  padding: 0 4px;\\n  font-size: 16px;\\n  \\n  &:hover {\\n    opacity: 0.7;\\n  }\\n\"])));const DateInputContainer=styled.div(_templateObject1||(_templateObject1=_taggedTemplateLiteral([\"\\n  display: flex;\\n  gap: 12px;\\n  align-items: center;\\n  \\n  @media (max-width: 768px) {\\n    flex-direction: column;\\n    align-items: stretch;\\n  }\\n\"])));const DateInput=styled(Input)(_templateObject10||(_templateObject10=_taggedTemplateLiteral([\"\\n  max-width: 200px;\\n  \\n  @media (max-width: 768px) {\\n    max-width: 100%;\\n  }\\n\"])));const AddDateButton=styled.button(_templateObject11||(_templateObject11=_taggedTemplateLiteral([\"\\n  padding: 12px 20px;\\n  background: var(--secondary-color);\\n  color: white;\\n  border: none;\\n  border-radius: var(--border-radius);\\n  cursor: pointer;\\n  font-size: 16px;\\n  font-weight: bold;\\n  white-space: nowrap;\\n  \\n  &:hover {\\n    background: var(--primary-color);\\n  }\\n  \\n  &:disabled {\\n    background: #ccc;\\n    cursor: not-allowed;\\n  }\\n\"])));const HelpText=styled.div(_templateObject12||(_templateObject12=_taggedTemplateLiteral([\"\\n  font-size: 14px;\\n  color: var(--text-light);\\n  margin-top: 4px;\\n\"])));const ErrorMessage=styled.p(_templateObject13||(_templateObject13=_taggedTemplateLiteral([\"\\n  color: var(--error-color);\\n  font-size: 16px;\\n  margin-top: 8px;\\n\"])));const SuccessMessage=styled.p(_templateObject14||(_templateObject14=_taggedTemplateLiteral([\"\\n  color: var(--success-color);\\n  font-size: 18px;\\n  font-weight: 700;\\n  margin-top: 16px;\\n  text-align: center;\\n\"])));const ButtonGroup=styled.div(_templateObject15||(_templateObject15=_taggedTemplateLiteral([\"\\n  display: flex;\\n  justify-content: center;\\n  gap: 16px;\\n  margin-top: 16px;\\n\\n  @media (max-width: 768px) {\\n    flex-direction: column;\\n    gap: 8px;\\n  }\\n\"])));const Loading=styled.p(_templateObject16||(_templateObject16=_taggedTemplateLiteral([\"\\n  text-align: center;\\n  font-size: 18px;\\n  color: var(--text-light);\\n  margin: 48px 0;\\n\"])));const RequiredMark=styled.span(_templateObject17||(_templateObject17=_taggedTemplateLiteral([\"\\n  color: var(--error-color);\\n  margin-left: 4px;\\n\"])));const PostJob=()=>{const{currentUser}=useContext(AuthContext);const navigate=useNavigate();// 曜日を取得する関数\nconst getDayOfWeek=dateString=>{const days=['日','月','火','水','木','金','土'];const date=new Date(dateString);return days[date.getDay()];};const[formData,setFormData]=useState({company_name:'',location:'',meeting_place:'',contact:'',hourly_wage:'',work_dates:'',// 日付と曜日の文字列\nwork_days:'',// 曜日のみ(データベース互換性のため保持)\nwork_hours:'',seasonal_vegetables:'',belongings:'',job_description:'',remarks:'',positions_available:''});// カレンダー選択用のstate\nconst[selectedDates,setSelectedDates]=useState([]);const[currentDate,setCurrentDate]=useState('');const[error,setError]=useState('');const[success,setSuccess]=useState('');const[showConfirmation,setShowConfirmation]=useState(false);// ログインチェック\nuseEffect(()=>{if(!currentUser){navigate('/login');}else if(currentUser.user_type!=='farmer'){navigate('/');}},[currentUser,navigate]);if(!currentUser||currentUser.user_type!=='farmer'){return/*#__PURE__*/_jsx(Loading,{children:\"\\u30ED\\u30B0\\u30A4\\u30F3\\u60C5\\u5831\\u3092\\u78BA\\u8A8D\\u4E2D...\"});}const handleChange=e=>{const value=e.target.type==='number'?parseInt(e.target.value,10):e.target.value;const fieldName=e.target.id;setFormData(_objectSpread(_objectSpread({},formData),{},{[fieldName]:value}));};// 日付追加処理(曜日自動計算)\nconst handleAddDate=()=>{if(currentDate&&!selectedDates.some(d=>d.date===currentDate)){const dayOfWeek=getDayOfWeek(currentDate);const newDateObj={date:currentDate,dayOfWeek:dayOfWeek};const newDates=[...selectedDates,newDateObj].sort((a,b)=>new Date(a.date)-new Date(b.date));setSelectedDates(newDates);// フォーマット: \"2024-03-20(水), 2024-03-21(木)\"\nconst formattedDates=newDates.map(d=>\"\".concat(new Date(d.date).toLocaleDateString('ja-JP'),\"(\").concat(d.dayOfWeek,\")\")).join(', ');// 曜日のみを抽出してwork_daysに設定\nconst daysOnly=[...new Set(newDates.map(d=>d.dayOfWeek+'曜日'))].join('、');setFormData(_objectSpread(_objectSpread({},formData),{},{work_dates:formattedDates,work_days:daysOnly// データベース互換性のため\n}));setCurrentDate('');}};// 日付削除処理\nconst handleRemoveDate=dateToRemove=>{const newDates=selectedDates.filter(d=>d.date!==dateToRemove);setSelectedDates(newDates);if(newDates.length>0){const formattedDates=newDates.map(d=>\"\".concat(new Date(d.date).toLocaleDateString('ja-JP'),\"(\").concat(d.dayOfWeek,\")\")).join(', ');const daysOnly=[...new Set(newDates.map(d=>d.dayOfWeek+'曜日'))].join('、');setFormData(_objectSpread(_objectSpread({},formData),{},{work_dates:formattedDates,work_days:daysOnly}));}else{setFormData(_objectSpread(_objectSpread({},formData),{},{work_dates:'',work_days:''}));}};const handleSubmit=e=>{e.preventDefault();setError('');// 必須フィールドの検証(work_daysを除外)\nconst requiredFields=['company_name','location','contact','hourly_wage','work_hours','job_description','positions_available'];// 勤務日が設定されていない場合はエラー\nif(!formData.work_dates&&!formData.work_days){setError('勤務日を選択してください');return;}const missingFields=requiredFields.filter(field=>!formData[field]);if(missingFields.length>0){setError('必須項目(*印)をすべて入力してください');return;}// 数値フィールドの検証\nif(isNaN(formData.hourly_wage)||formData.hourly_wage<=0){setError('時給は0より大きい数値を入力してください');return;}if(isNaN(formData.positions_available)||formData.positions_available<=0){setError('募集人数は0より大きい数値を入力してください');return;}// 確認画面を表示\nsetShowConfirmation(true);};const handleConfirm=async()=>{try{const jobData=_objectSpread(_objectSpread({},formData),{},{user_id:currentUser.id,// work_daysが空の場合はwork_datesから生成\nwork_days:formData.work_days||'指定日あり'});const response=await JobPostings.create(jobData);console.log('求人作成成功:',response);setSuccess('求人の掲載が完了しました!');setTimeout(()=>{navigate('/profile');},2000);}catch(err){var _err$response,_err$response$data;console.error('求人作成エラー:',err);setError(((_err$response=err.response)===null||_err$response===void 0?void 0:(_err$response$data=_err$response.data)===null||_err$response$data===void 0?void 0:_err$response$data.error)||'求人の掲載に失敗しました');setShowConfirmation(false);}};const handleCancel=()=>{setShowConfirmation(false);};return/*#__PURE__*/_jsx(PostJobContainer,{children:/*#__PURE__*/_jsxs(Card,{children:[/*#__PURE__*/_jsx(Title,{children:\"\\u6C42\\u4EBA\\u3092\\u63B2\\u8F09\\u3059\\u308B\"}),showConfirmation?/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h2\",{children:\"\\u5165\\u529B\\u5185\\u5BB9\\u306E\\u78BA\\u8A8D\"}),/*#__PURE__*/_jsxs(\"p\",{children:[/*#__PURE__*/_jsx(\"strong\",{children:\"\\u4F1A\\u793E\\u540D:\"}),\" \",formData.company_name]}),/*#__PURE__*/_jsxs(\"p\",{children:[/*#__PURE__*/_jsx(\"strong\",{children:\"\\u52E4\\u52D9\\u5730:\"}),\" \",formData.location]}),formData.meeting_place&&/*#__PURE__*/_jsxs(\"p\",{children:[/*#__PURE__*/_jsx(\"strong\",{children:\"\\u96C6\\u5408\\u5834\\u6240:\"}),\" \",formData.meeting_place]}),/*#__PURE__*/_jsxs(\"p\",{children:[/*#__PURE__*/_jsx(\"strong\",{children:\"\\u9023\\u7D61\\u5148:\"}),\" \",formData.contact]}),/*#__PURE__*/_jsxs(\"p\",{children:[/*#__PURE__*/_jsx(\"strong\",{children:\"\\u6642\\u7D66:\"}),\" \",formData.hourly_wage,\"\\u5186\"]}),formData.work_dates&&/*#__PURE__*/_jsxs(\"p\",{children:[/*#__PURE__*/_jsx(\"strong\",{children:\"\\u52E4\\u52D9\\u65E5:\"}),\" \",formData.work_dates]}),/*#__PURE__*/_jsxs(\"p\",{children:[/*#__PURE__*/_jsx(\"strong\",{children:\"\\u52E4\\u52D9\\u6642\\u9593:\"}),\" \",formData.work_hours]}),/*#__PURE__*/_jsxs(\"p\",{children:[/*#__PURE__*/_jsx(\"strong\",{children:\"\\u65EC\\u306E\\u91CE\\u83DC:\"}),\" \",formData.seasonal_vegetables||'記載なし']}),/*#__PURE__*/_jsxs(\"p\",{children:[/*#__PURE__*/_jsx(\"strong\",{children:\"\\u696D\\u52D9\\u5185\\u5BB9:\"}),\" \",formData.job_description]}),formData.belongings&&/*#__PURE__*/_jsxs(\"p\",{children:[/*#__PURE__*/_jsx(\"strong\",{children:\"\\u6301\\u3061\\u7269:\"}),\" \",formData.belongings]}),formData.remarks&&/*#__PURE__*/_jsxs(\"p\",{children:[/*#__PURE__*/_jsx(\"strong\",{children:\"\\u5099\\u8003:\"}),\" \",formData.remarks]}),/*#__PURE__*/_jsxs(\"p\",{children:[/*#__PURE__*/_jsx(\"strong\",{children:\"\\u52DF\\u96C6\\u4EBA\\u6570:\"}),\" \",formData.positions_available,\"\\u4EBA\"]}),/*#__PURE__*/_jsxs(ButtonGroup,{children:[/*#__PURE__*/_jsx(Button,{onClick:handleConfirm,children:\"\\u6C42\\u4EBA\\u3092\\u63B2\\u8F09\\u3059\\u308B\"}),/*#__PURE__*/_jsx(Button,{$secondary:true,onClick:handleCancel,children:\"\\u623B\\u308B\"})]}),error&&/*#__PURE__*/_jsx(ErrorMessage,{children:error}),success&&/*#__PURE__*/_jsx(SuccessMessage,{children:success})]}):/*#__PURE__*/_jsxs(Form,{onSubmit:handleSubmit,children:[/*#__PURE__*/_jsxs(InputGroup,{children:[/*#__PURE__*/_jsxs(Label,{htmlFor:\"company_name\",children:[\"\\u4F1A\\u793E\\u540D\",/*#__PURE__*/_jsx(RequiredMark,{children:\"*\"})]}),/*#__PURE__*/_jsx(Input,{type:\"text\",id:\"company_name\",value:formData.company_name,onChange:handleChange,placeholder:\"\\u4F1A\\u793E\\u540D\\u307E\\u305F\\u306F\\u8FB2\\u5712\\u540D\\u3092\\u5165\\u529B\\u3057\\u3066\\u304F\\u3060\\u3055\\u3044\"})]}),/*#__PURE__*/_jsxs(InputGroup,{children:[/*#__PURE__*/_jsxs(Label,{htmlFor:\"location\",children:[\"\\u52E4\\u52D9\\u5730\",/*#__PURE__*/_jsx(RequiredMark,{children:\"*\"})]}),/*#__PURE__*/_jsx(Input,{type:\"text\",id:\"location\",value:formData.location,onChange:handleChange,placeholder:\"\\u4F8B: \\u5C71\\u5F62\\u770C\\u9152\\u7530\\u5E02\\u25EF\\u25EF\\u753A1-2-3\"})]}),/*#__PURE__*/_jsxs(InputGroup,{children:[/*#__PURE__*/_jsx(Label,{htmlFor:\"meeting_place\",children:\"\\u96C6\\u5408\\u5834\\u6240\"}),/*#__PURE__*/_jsx(Input,{type:\"text\",id:\"meeting_place\",value:formData.meeting_place,onChange:handleChange,placeholder:\"\\u4F8B: JR\\u9152\\u7530\\u99C5\\u524D\\u3001\\u73FE\\u5730\\u96C6\\u5408\\u306A\\u3069\"}),/*#__PURE__*/_jsx(HelpText,{children:\"\\u52E4\\u52D9\\u5730\\u3068\\u7570\\u306A\\u308B\\u5834\\u5408\\u306F\\u5165\\u529B\\u3057\\u3066\\u304F\\u3060\\u3055\\u3044\"})]}),/*#__PURE__*/_jsxs(InputGroup,{children:[/*#__PURE__*/_jsxs(Label,{htmlFor:\"contact\",children:[\"\\u9023\\u7D61\\u5148\",/*#__PURE__*/_jsx(RequiredMark,{children:\"*\"})]}),/*#__PURE__*/_jsx(Input,{type:\"text\",id:\"contact\",value:formData.contact,onChange:handleChange,placeholder:\"\\u96FB\\u8A71\\u756A\\u53F7\\u307E\\u305F\\u306F\\u30E1\\u30FC\\u30EB\\u30A2\\u30C9\\u30EC\\u30B9\"})]}),/*#__PURE__*/_jsxs(InputGroup,{children:[/*#__PURE__*/_jsxs(Label,{htmlFor:\"hourly_wage\",children:[\"\\u6642\\u7D66\\uFF08\\u5186\\uFF09\",/*#__PURE__*/_jsx(RequiredMark,{children:\"*\"})]}),/*#__PURE__*/_jsx(Input,{type:\"number\",id:\"hourly_wage\",value:formData.hourly_wage,onChange:handleChange,placeholder:\"\\u6642\\u7D66\\u3092\\u5165\\u529B\\u3057\\u3066\\u304F\\u3060\\u3055\\u3044\",min:\"1\"})]}),/*#__PURE__*/_jsxs(InputGroup,{children:[/*#__PURE__*/_jsxs(Label,{children:[\"\\u52E4\\u52D9\\u65E5\",/*#__PURE__*/_jsx(RequiredMark,{children:\"*\"})]}),/*#__PURE__*/_jsxs(DateInputContainer,{children:[/*#__PURE__*/_jsx(DateInput,{type:\"date\",value:currentDate,onChange:e=>setCurrentDate(e.target.value),min:new Date().toISOString().split('T')[0]}),/*#__PURE__*/_jsx(AddDateButton,{type:\"button\",onClick:handleAddDate,disabled:!currentDate,children:\"\\u65E5\\u4ED8\\u3092\\u8FFD\\u52A0\"})]}),selectedDates.length>0&&/*#__PURE__*/_jsx(DatePickerGroup,{children:selectedDates.map(dateObj=>/*#__PURE__*/_jsxs(DateChip,{children:[\"\\uD83D\\uDCC5 \",new Date(dateObj.date).toLocaleDateString('ja-JP'),\"(\",dateObj.dayOfWeek,\")\",/*#__PURE__*/_jsx(RemoveDateButton,{type:\"button\",onClick:()=>handleRemoveDate(dateObj.date),children:\"\\xD7\"})]},dateObj.date))}),/*#__PURE__*/_jsx(HelpText,{children:\"\\u52E4\\u52D9\\u3059\\u308B\\u65E5\\u4ED8\\u3092\\u9078\\u629E\\u3057\\u3066\\u304F\\u3060\\u3055\\u3044\\u3002\\u66DC\\u65E5\\u306F\\u81EA\\u52D5\\u7684\\u306B\\u8868\\u793A\\u3055\\u308C\\u307E\\u3059\\u3002\"})]}),/*#__PURE__*/_jsxs(InputGroup,{children:[/*#__PURE__*/_jsxs(Label,{htmlFor:\"work_hours\",children:[\"\\u52E4\\u52D9\\u6642\\u9593\",/*#__PURE__*/_jsx(RequiredMark,{children:\"*\"})]}),/*#__PURE__*/_jsx(Input,{type:\"text\",id:\"work_hours\",value:formData.work_hours,onChange:handleChange,placeholder:\"\\u4F8B: 9:00\\u301C17:00\\u3001\\u5FDC\\u76F8\\u8AC7 \\u306A\\u3069\"})]}),/*#__PURE__*/_jsxs(InputGroup,{children:[/*#__PURE__*/_jsx(Label,{htmlFor:\"seasonal_vegetables\",children:\"\\u65EC\\u306E\\u91CE\\u83DC\"}),/*#__PURE__*/_jsx(Input,{type:\"text\",id:\"seasonal_vegetables\",value:formData.seasonal_vegetables,onChange:handleChange,placeholder:\"\\u73FE\\u5728\\u53CE\\u7A6B\\u4E2D\\u3084\\u683D\\u57F9\\u4E2D\\u306E\\u91CE\\u83DC\\u30FB\\u679C\\u7269\"})]}),/*#__PURE__*/_jsxs(InputGroup,{children:[/*#__PURE__*/_jsxs(Label,{htmlFor:\"job_description\",children:[\"\\u696D\\u52D9\\u5185\\u5BB9\",/*#__PURE__*/_jsx(RequiredMark,{children:\"*\"})]}),/*#__PURE__*/_jsx(TextArea,{id:\"job_description\",value:formData.job_description,onChange:handleChange,placeholder:\"\\u5177\\u4F53\\u7684\\u306A\\u4ED5\\u4E8B\\u5185\\u5BB9\\u3092\\u5165\\u529B\\u3057\\u3066\\u304F\\u3060\\u3055\\u3044\"})]}),/*#__PURE__*/_jsxs(InputGroup,{children:[/*#__PURE__*/_jsx(Label,{htmlFor:\"belongings\",children:\"\\u6301\\u3061\\u7269\"}),/*#__PURE__*/_jsx(TextArea,{id:\"belongings\",value:formData.belongings,onChange:handleChange,placeholder:\"\\u4F8B: \\u8ECD\\u624B\\u3001\\u9577\\u9774\\u3001\\u5E3D\\u5B50\\u3001\\u30BF\\u30AA\\u30EB\\u3001\\u98F2\\u307F\\u7269\\u306A\\u3069\",style:{minHeight:'100px'}})]}),/*#__PURE__*/_jsxs(InputGroup,{children:[/*#__PURE__*/_jsx(Label,{htmlFor:\"remarks\",children:\"\\u5099\\u8003\"}),/*#__PURE__*/_jsx(TextArea,{id:\"remarks\",value:formData.remarks,onChange:handleChange,placeholder:\"\\u305D\\u306E\\u4ED6\\u306E\\u6CE8\\u610F\\u4E8B\\u9805\\u3084\\u88DC\\u8DB3\\u60C5\\u5831\\u304C\\u3042\\u308C\\u3070\\u5165\\u529B\\u3057\\u3066\\u304F\\u3060\\u3055\\u3044\",style:{minHeight:'100px'}})]}),/*#__PURE__*/_jsxs(InputGroup,{children:[/*#__PURE__*/_jsxs(Label,{htmlFor:\"positions_available\",children:[\"\\u52DF\\u96C6\\u4EBA\\u6570\",/*#__PURE__*/_jsx(RequiredMark,{children:\"*\"})]}),/*#__PURE__*/_jsx(Input,{type:\"number\",id:\"positions_available\",value:formData.positions_available,onChange:handleChange,placeholder:\"\\u52DF\\u96C6\\u4EBA\\u6570\\u3092\\u5165\\u529B\\u3057\\u3066\\u304F\\u3060\\u3055\\u3044\",min:\"1\"})]}),error&&/*#__PURE__*/_jsx(ErrorMessage,{children:error}),/*#__PURE__*/_jsx(Button,{type:\"submit\",$fullWidth:true,children:\"\\u78BA\\u8A8D\\u753B\\u9762\\u3078\\u9032\\u3080\"})]})]})});};export default PostJob;","map":{"version":3,"names":["React","useState","useContext","useEffect","useNavigate","styled","JobPostings","AuthContext","Button","Card","jsx","_jsx","jsxs","_jsxs","PostJobContainer","div","_templateObject","_taggedTemplateLiteral","Title","h1","_templateObject2","Form","form","_templateObject3","InputGroup","_templateObject4","Label","label","_templateObject5","Input","input","_templateObject6","TextArea","textarea","_templateObject7","DatePickerGroup","_templateObject8","DateChip","_templateObject9","RemoveDateButton","button","_templateObject0","DateInputContainer","_templateObject1","DateInput","_templateObject10","AddDateButton","_templateObject11","HelpText","_templateObject12","ErrorMessage","p","_templateObject13","SuccessMessage","_templateObject14","ButtonGroup","_templateObject15","Loading","_templateObject16","RequiredMark","span","_templateObject17","PostJob","currentUser","navigate","getDayOfWeek","dateString","days","date","Date","getDay","formData","setFormData","company_name","location","meeting_place","contact","hourly_wage","work_dates","work_days","work_hours","seasonal_vegetables","belongings","job_description","remarks","positions_available","selectedDates","setSelectedDates","currentDate","setCurrentDate","error","setError","success","setSuccess","showConfirmation","setShowConfirmation","user_type","children","handleChange","e","value","target","type","parseInt","fieldName","id","_objectSpread","handleAddDate","some","d","dayOfWeek","newDateObj","newDates","sort","a","b","formattedDates","map","concat","toLocaleDateString","join","daysOnly","Set","handleRemoveDate","dateToRemove","filter","length","handleSubmit","preventDefault","requiredFields","missingFields","field","isNaN","handleConfirm","jobData","user_id","response","create","console","log","setTimeout","err","_err$response","_err$response$data","data","handleCancel","onClick","$secondary","onSubmit","htmlFor","onChange","placeholder","min","toISOString","split","disabled","dateObj","style","minHeight","$fullWidth"],"sources":["/home/fanfarm/FanFarm/system/V3fanfarm-ubuntu-local/V3fanfarm-frontend/src/components/job/PostJob.js"],"sourcesContent":["// src/components/job/PostJob.js - 曜日自動計算・完全版\nimport React, { useState, useContext, useEffect } from 'react';\nimport { useNavigate } from 'react-router-dom';\nimport styled from 'styled-components';\nimport { JobPostings } from '../../api/api';\nimport { AuthContext } from '../../context/AuthContext';\nimport Button from '../common/Button';\nimport Card from '../common/Card';\n\n// スタイルコンポーネント(既存のものと同じ)\nconst PostJobContainer = styled.div`\n  max-width: 800px;\n  margin: 40px auto;\n  padding: 0 24px;\n`;\n\nconst Title = styled.h1`\n  text-align: center;\n  margin-bottom: 32px;\n  color: var(--primary-color);\n`;\n\nconst Form = styled.form`\n  display: flex;\n  flex-direction: column;\n`;\n\nconst InputGroup = styled.div`\n  margin-bottom: 24px;\n`;\n\nconst Label = styled.label`\n  display: block;\n  font-size: 20px;\n  font-weight: 700;\n  margin-bottom: 8px;\n`;\n\nconst Input = styled.input`\n  width: 100%;\n  padding: 16px;\n  font-size: 18px;\n  border: 2px solid var(--border-color);\n  border-radius: var(--border-radius);\n  transition: border-color 0.3s;\n\n  &:focus {\n    outline: none;\n    border-color: var(--primary-color);\n  }\n`;\n\nconst TextArea = styled.textarea`\n  width: 100%;\n  padding: 16px;\n  font-size: 18px;\n  border: 2px solid var(--border-color);\n  border-radius: var(--border-radius);\n  transition: border-color 0.3s;\n  min-height: 150px;\n\n  &:focus {\n    outline: none;\n    border-color: var(--primary-color);\n  }\n`;\n\nconst DatePickerGroup = styled.div`\n  display: flex;\n  flex-wrap: wrap;\n  gap: 8px;\n  margin-top: 12px;\n`;\n\nconst DateChip = styled.div`\n  padding: 8px 12px;\n  background: var(--primary-color);\n  color: white;\n  border-radius: 20px;\n  font-size: 14px;\n  display: flex;\n  align-items: center;\n  gap: 4px;\n`;\n\nconst RemoveDateButton = styled.button`\n  background: none;\n  border: none;\n  color: white;\n  cursor: pointer;\n  padding: 0 4px;\n  font-size: 16px;\n  \n  &:hover {\n    opacity: 0.7;\n  }\n`;\n\nconst DateInputContainer = styled.div`\n  display: flex;\n  gap: 12px;\n  align-items: center;\n  \n  @media (max-width: 768px) {\n    flex-direction: column;\n    align-items: stretch;\n  }\n`;\n\nconst DateInput = styled(Input)`\n  max-width: 200px;\n  \n  @media (max-width: 768px) {\n    max-width: 100%;\n  }\n`;\n\nconst AddDateButton = styled.button`\n  padding: 12px 20px;\n  background: var(--secondary-color);\n  color: white;\n  border: none;\n  border-radius: var(--border-radius);\n  cursor: pointer;\n  font-size: 16px;\n  font-weight: bold;\n  white-space: nowrap;\n  \n  &:hover {\n    background: var(--primary-color);\n  }\n  \n  &:disabled {\n    background: #ccc;\n    cursor: not-allowed;\n  }\n`;\n\nconst HelpText = styled.div`\n  font-size: 14px;\n  color: var(--text-light);\n  margin-top: 4px;\n`;\n\nconst ErrorMessage = styled.p`\n  color: var(--error-color);\n  font-size: 16px;\n  margin-top: 8px;\n`;\n\nconst SuccessMessage = styled.p`\n  color: var(--success-color);\n  font-size: 18px;\n  font-weight: 700;\n  margin-top: 16px;\n  text-align: center;\n`;\n\nconst ButtonGroup = styled.div`\n  display: flex;\n  justify-content: center;\n  gap: 16px;\n  margin-top: 16px;\n\n  @media (max-width: 768px) {\n    flex-direction: column;\n    gap: 8px;\n  }\n`;\n\nconst Loading = styled.p`\n  text-align: center;\n  font-size: 18px;\n  color: var(--text-light);\n  margin: 48px 0;\n`;\n\nconst RequiredMark = styled.span`\n  color: var(--error-color);\n  margin-left: 4px;\n`;\n\nconst PostJob = () => {\n  const { currentUser } = useContext(AuthContext);\n  const navigate = useNavigate();\n  \n  // 曜日を取得する関数\n  const getDayOfWeek = (dateString) => {\n    const days = ['日', '月', '火', '水', '木', '金', '土'];\n    const date = new Date(dateString);\n    return days[date.getDay()];\n  };\n  \n  const [formData, setFormData] = useState({\n    company_name: '',\n    location: '',\n    meeting_place: '',\n    contact: '',\n    hourly_wage: '',\n    work_dates: '', // 日付と曜日の文字列\n    work_days: '', // 曜日のみ(データベース互換性のため保持)\n    work_hours: '',\n    seasonal_vegetables: '',\n    belongings: '',\n    job_description: '',\n    remarks: '',\n    positions_available: ''\n  });\n  \n  // カレンダー選択用のstate\n  const [selectedDates, setSelectedDates] = useState([]);\n  const [currentDate, setCurrentDate] = useState('');\n  \n  const [error, setError] = useState('');\n  const [success, setSuccess] = useState('');\n  const [showConfirmation, setShowConfirmation] = useState(false);\n  \n  // ログインチェック\n  useEffect(() => {\n    if (!currentUser) {\n      navigate('/login');\n    } else if (currentUser.user_type !== 'farmer') {\n      navigate('/');\n    }\n  }, [currentUser, navigate]);\n\n  if (!currentUser || currentUser.user_type !== 'farmer') {\n    return <Loading>ログイン情報を確認中...</Loading>;\n  }\n\n  const handleChange = (e) => {\n    const value = e.target.type === 'number' ? parseInt(e.target.value, 10) : e.target.value;\n    const fieldName = e.target.id;\n    \n    setFormData({\n      ...formData,\n      [fieldName]: value\n    });\n  };\n  \n  // 日付追加処理(曜日自動計算)\n  const handleAddDate = () => {\n    if (currentDate && !selectedDates.some(d => d.date === currentDate)) {\n      const dayOfWeek = getDayOfWeek(currentDate);\n      const newDateObj = {\n        date: currentDate,\n        dayOfWeek: dayOfWeek\n      };\n      \n      const newDates = [...selectedDates, newDateObj].sort((a, b) => \n        new Date(a.date) - new Date(b.date)\n      );\n      \n      setSelectedDates(newDates);\n      \n      // フォーマット: \"2024-03-20(水), 2024-03-21(木)\"\n      const formattedDates = newDates.map(d => \n        `${new Date(d.date).toLocaleDateString('ja-JP')}(${d.dayOfWeek})`\n      ).join(', ');\n      \n      // 曜日のみを抽出してwork_daysに設定\n      const daysOnly = [...new Set(newDates.map(d => d.dayOfWeek + '曜日'))].join('、');\n      \n      setFormData({\n        ...formData,\n        work_dates: formattedDates,\n        work_days: daysOnly // データベース互換性のため\n      });\n      setCurrentDate('');\n    }\n  };\n  \n  // 日付削除処理\n  const handleRemoveDate = (dateToRemove) => {\n    const newDates = selectedDates.filter(d => d.date !== dateToRemove);\n    setSelectedDates(newDates);\n    \n    if (newDates.length > 0) {\n      const formattedDates = newDates.map(d => \n        `${new Date(d.date).toLocaleDateString('ja-JP')}(${d.dayOfWeek})`\n      ).join(', ');\n      \n      const daysOnly = [...new Set(newDates.map(d => d.dayOfWeek + '曜日'))].join('、');\n      \n      setFormData({\n        ...formData,\n        work_dates: formattedDates,\n        work_days: daysOnly\n      });\n    } else {\n      setFormData({\n        ...formData,\n        work_dates: '',\n        work_days: ''\n      });\n    }\n  };\n\n  const handleSubmit = (e) => {\n    e.preventDefault();\n    setError('');\n\n    // 必須フィールドの検証(work_daysを除外)\n    const requiredFields = [\n      'company_name', 'location', 'contact', 'hourly_wage',\n      'work_hours', 'job_description', 'positions_available'\n    ];\n    \n    // 勤務日が設定されていない場合はエラー\n    if (!formData.work_dates && !formData.work_days) {\n      setError('勤務日を選択してください');\n      return;\n    }\n    \n    const missingFields = requiredFields.filter(field => !formData[field]);\n\n    if (missingFields.length > 0) {\n      setError('必須項目(*印)をすべて入力してください');\n      return;\n    }\n\n    // 数値フィールドの検証\n    if (isNaN(formData.hourly_wage) || formData.hourly_wage <= 0) {\n      setError('時給は0より大きい数値を入力してください');\n      return;\n    }\n\n    if (isNaN(formData.positions_available) || formData.positions_available <= 0) {\n      setError('募集人数は0より大きい数値を入力してください');\n      return;\n    }\n\n    // 確認画面を表示\n    setShowConfirmation(true);\n  };\n\n  const handleConfirm = async () => {\n    try {\n      const jobData = {\n        ...formData,\n        user_id: currentUser.id,\n        // work_daysが空の場合はwork_datesから生成\n        work_days: formData.work_days || '指定日あり'\n      };\n\n      const response = await JobPostings.create(jobData);\n      console.log('求人作成成功:', response);\n      setSuccess('求人の掲載が完了しました!');\n      setTimeout(() => {\n        navigate('/profile');\n      }, 2000);\n    } catch (err) {\n      console.error('求人作成エラー:', err);\n      setError(err.response?.data?.error || '求人の掲載に失敗しました');\n      setShowConfirmation(false);\n    }\n  };\n\n  const handleCancel = () => {\n    setShowConfirmation(false);\n  };\n\n  return (\n    <PostJobContainer>\n      <Card>\n        <Title>求人を掲載する</Title>\n        \n        {showConfirmation ? (\n          <div>\n            <h2>入力内容の確認</h2>\n            <p><strong>会社名:</strong> {formData.company_name}</p>\n            <p><strong>勤務地:</strong> {formData.location}</p>\n            {formData.meeting_place && (\n              <p><strong>集合場所:</strong> {formData.meeting_place}</p>\n            )}\n            <p><strong>連絡先:</strong> {formData.contact}</p>\n            <p><strong>時給:</strong> {formData.hourly_wage}円</p>\n            {formData.work_dates && (\n              <p><strong>勤務日:</strong> {formData.work_dates}</p>\n            )}\n            <p><strong>勤務時間:</strong> {formData.work_hours}</p>\n            <p><strong>旬の野菜:</strong> {formData.seasonal_vegetables || '記載なし'}</p>\n            <p><strong>業務内容:</strong> {formData.job_description}</p>\n            {formData.belongings && (\n              <p><strong>持ち物:</strong> {formData.belongings}</p>\n            )}\n            {formData.remarks && (\n              <p><strong>備考:</strong> {formData.remarks}</p>\n            )}\n            <p><strong>募集人数:</strong> {formData.positions_available}人</p>\n            \n            <ButtonGroup>\n              <Button onClick={handleConfirm}>求人を掲載する</Button>\n              <Button $secondary onClick={handleCancel}>戻る</Button>\n            </ButtonGroup>\n            \n            {error && <ErrorMessage>{error}</ErrorMessage>}\n            {success && <SuccessMessage>{success}</SuccessMessage>}\n          </div>\n        ) : (\n          <Form onSubmit={handleSubmit}>\n            {/* 会社名から勤務地まで既存のフィールド */}\n            <InputGroup>\n              <Label htmlFor=\"company_name\">\n                会社名<RequiredMark>*</RequiredMark>\n              </Label>\n              <Input\n                type=\"text\"\n                id=\"company_name\"\n                value={formData.company_name}\n                onChange={handleChange}\n                placeholder=\"会社名または農園名を入力してください\"\n              />\n            </InputGroup>\n            \n            <InputGroup>\n              <Label htmlFor=\"location\">\n                勤務地<RequiredMark>*</RequiredMark>\n              </Label>\n              <Input\n                type=\"text\"\n                id=\"location\"\n                value={formData.location}\n                onChange={handleChange}\n                placeholder=\"例: 山形県酒田市◯◯町1-2-3\"\n              />\n            </InputGroup>\n            \n            <InputGroup>\n              <Label htmlFor=\"meeting_place\">集合場所</Label>\n              <Input\n                type=\"text\"\n                id=\"meeting_place\"\n                value={formData.meeting_place}\n                onChange={handleChange}\n                placeholder=\"例: JR酒田駅前、現地集合など\"\n              />\n              <HelpText>勤務地と異なる場合は入力してください</HelpText>\n            </InputGroup>\n            \n            <InputGroup>\n              <Label htmlFor=\"contact\">\n                連絡先<RequiredMark>*</RequiredMark>\n              </Label>\n              <Input\n                type=\"text\"\n                id=\"contact\"\n                value={formData.contact}\n                onChange={handleChange}\n                placeholder=\"電話番号またはメールアドレス\"\n              />\n            </InputGroup>\n            \n            <InputGroup>\n              <Label htmlFor=\"hourly_wage\">\n                時給(円)<RequiredMark>*</RequiredMark>\n              </Label>\n              <Input\n                type=\"number\"\n                id=\"hourly_wage\"\n                value={formData.hourly_wage}\n                onChange={handleChange}\n                placeholder=\"時給を入力してください\"\n                min=\"1\"\n              />\n            </InputGroup>\n            \n            {/* 勤務日カレンダー選択(曜日自動表示) */}\n            <InputGroup>\n              <Label>\n                勤務日<RequiredMark>*</RequiredMark>\n              </Label>\n              <DateInputContainer>\n                <DateInput\n                  type=\"date\"\n                  value={currentDate}\n                  onChange={(e) => setCurrentDate(e.target.value)}\n                  min={new Date().toISOString().split('T')[0]}\n                />\n                <AddDateButton \n                  type=\"button\"\n                  onClick={handleAddDate}\n                  disabled={!currentDate}\n                >\n                  日付を追加\n                </AddDateButton>\n              </DateInputContainer>\n              {selectedDates.length > 0 && (\n                <DatePickerGroup>\n                  {selectedDates.map(dateObj => (\n                    <DateChip key={dateObj.date}>\n                      📅 {new Date(dateObj.date).toLocaleDateString('ja-JP')}({dateObj.dayOfWeek})\n                      <RemoveDateButton \n                        type=\"button\"\n                        onClick={() => handleRemoveDate(dateObj.date)}\n                      >\n                        ×\n                      </RemoveDateButton>\n                    </DateChip>\n                  ))}\n                </DatePickerGroup>\n              )}\n              <HelpText>勤務する日付を選択してください。曜日は自動的に表示されます。</HelpText>\n            </InputGroup>\n            \n            {/* 以降は既存のフィールド */}\n            <InputGroup>\n              <Label htmlFor=\"work_hours\">\n                勤務時間<RequiredMark>*</RequiredMark>\n              </Label>\n              <Input\n                type=\"text\"\n                id=\"work_hours\"\n                value={formData.work_hours}\n                onChange={handleChange}\n                placeholder=\"例: 9:00〜17:00、応相談 など\"\n              />\n            </InputGroup>\n            \n            <InputGroup>\n              <Label htmlFor=\"seasonal_vegetables\">旬の野菜</Label>\n              <Input\n                type=\"text\"\n                id=\"seasonal_vegetables\"\n                value={formData.seasonal_vegetables}\n                onChange={handleChange}\n                placeholder=\"現在収穫中や栽培中の野菜・果物\"\n              />\n            </InputGroup>\n            \n            <InputGroup>\n              <Label htmlFor=\"job_description\">\n                業務内容<RequiredMark>*</RequiredMark>\n              </Label>\n              <TextArea\n                id=\"job_description\"\n                value={formData.job_description}\n                onChange={handleChange}\n                placeholder=\"具体的な仕事内容を入力してください\"\n              />\n            </InputGroup>\n            \n            <InputGroup>\n              <Label htmlFor=\"belongings\">持ち物</Label>\n              <TextArea\n                id=\"belongings\"\n                value={formData.belongings}\n                onChange={handleChange}\n                placeholder=\"例: 軍手、長靴、帽子、タオル、飲み物など\"\n                style={{ minHeight: '100px' }}\n              />\n            </InputGroup>\n            \n            <InputGroup>\n              <Label htmlFor=\"remarks\">備考</Label>\n              <TextArea\n                id=\"remarks\"\n                value={formData.remarks}\n                onChange={handleChange}\n                placeholder=\"その他の注意事項や補足情報があれば入力してください\"\n                style={{ minHeight: '100px' }}\n              />\n            </InputGroup>\n            \n            <InputGroup>\n              <Label htmlFor=\"positions_available\">\n                募集人数<RequiredMark>*</RequiredMark>\n              </Label>\n              <Input\n                type=\"number\"\n                id=\"positions_available\"\n                value={formData.positions_available}\n                onChange={handleChange}\n                placeholder=\"募集人数を入力してください\"\n                min=\"1\"\n              />\n            </InputGroup>\n            \n            {error && <ErrorMessage>{error}</ErrorMessage>}\n            \n            <Button type=\"submit\" $fullWidth>\n              確認画面へ進む\n            </Button>\n          </Form>\n        )}\n      </Card>\n    </PostJobContainer>\n  );\n};\n\nexport default PostJob;\n"],"mappings":"qpBAAA;AACA,MAAO,CAAAA,KAAK,EAAIC,QAAQ,CAAEC,UAAU,CAAEC,SAAS,KAAQ,OAAO,CAC9D,OAASC,WAAW,KAAQ,kBAAkB,CAC9C,MAAO,CAAAC,MAAM,KAAM,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