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AAA,cAAC+Z,EAAqB,CAAClR,IAAKrK,EAAGmS,OAAQA,EAAQC,UAAWA,EAAW3F,OAAQA,EAAQ4F,UAAWA,OAM/H7Q,EAAAA,cAACqE,EAAAA,GAAM,CAAC7D,UAAW,eAAgB8D,KAAM,UAAWgO,SAAS,EAAMoB,KAAK,SAASrT,EAAAA,EAAKrC,EAAE,kBAE5F,E,cC9EF,MAAMgc,EAAYC,SAASC,eAAe,wBACtCF,IACFG,EAAAA,EAAAA,GAAWH,GAAWI,OAAOpa,EAAAA,cAACqa,EAAAA,WAAU,KAACra,EAAAA,cAACkZ,EAAa,O","sources":["webpack://lionwheel/./node_modules/antd/es/time-picker/index.js","webpack://lionwheel/./app/javascript/src/react_components/tasks/EmptyCustom.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/ModalHeader.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/PhoneInput.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/ScalableSelect.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/actions.js","webpack://lionwheel/./app/javascript/src/react_components/tasks/common.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/hooks/useClientsOptions.js","webpack://lionwheel/./app/javascript/src/react_components/tasks/hooks/useCompanies.js","webpack://lionwheel/./app/javascript/src/react_components/tasks/hooks/useIsraelCities.js","webpack://lionwheel/./app/javascript/src/react_components/tasks/hooks/useIsraelStreets.js","webpack://lionwheel/./app/javascript/src/react_components/tasks/hooks/useLocationsOptions.js","webpack://lionwheel/./app/javascript/src/react_components/tasks/scheduled/cards/DaysManagementCard.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/scheduled/cards/DestinationCard.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/scheduled/single_visit/FormComponent.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/scheduled/cards/SourceCard.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/scheduled/multiple_visits/FormComponent.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/scheduled/NewTaskModule.jsx","webpack://lionwheel/./app/javascript/src/react_components/tasks/scheduled/index.js"],"sourcesContent":["\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport genPurePanel from '../_util/PurePanel';\nimport { devUseWarning } from '../_util/warning';\nimport DatePicker from '../date-picker';\nimport useVariant from '../form/hooks/useVariants';\nconst {\n TimePicker: InternalTimePicker,\n RangePicker: InternalRangePicker\n} = DatePicker;\nconst RangePicker = /*#__PURE__*/React.forwardRef((props, ref) => ( /*#__PURE__*/React.createElement(InternalRangePicker, Object.assign({}, props, {\n picker: \"time\",\n mode: undefined,\n ref: ref\n}))));\nconst TimePicker = /*#__PURE__*/React.forwardRef((_a, ref) => {\n var {\n addon,\n renderExtraFooter,\n variant,\n bordered\n } = _a,\n restProps = __rest(_a, [\"addon\", \"renderExtraFooter\", \"variant\", \"bordered\"]);\n if (process.env.NODE_ENV !== 'production') {\n const warning = devUseWarning('TimePicker');\n warning.deprecated(!addon, 'addon', 'renderExtraFooter');\n }\n const [mergedVariant] = useVariant('timePicker', variant, bordered);\n const internalRenderExtraFooter = React.useMemo(() => {\n if (renderExtraFooter) {\n return renderExtraFooter;\n }\n if (addon) {\n return addon;\n }\n return undefined;\n }, [addon, renderExtraFooter]);\n return /*#__PURE__*/React.createElement(InternalTimePicker, Object.assign({}, restProps, {\n mode: undefined,\n ref: ref,\n renderExtraFooter: internalRenderExtraFooter,\n variant: mergedVariant\n }));\n});\nif (process.env.NODE_ENV !== 'production') {\n TimePicker.displayName = 'TimePicker';\n}\n// We don't care debug panel\n/* istanbul ignore next */\nconst PurePanel = genPurePanel(TimePicker, 'picker');\nTimePicker._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nTimePicker.RangePicker = RangePicker;\nTimePicker._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;\nexport default TimePicker;","import React from 'react';\nimport {Empty} from \"antd\";\nimport {i18n} from \"../../helpers/i18n\";\n\nconst EmptyCustom = () => {\n return ()\n}\n\nexport default EmptyCustom\n","import React from 'react';\n\nconst ModalHeader = ({title}) => {\n return (\n
\n
\n {title}\n
\n
\n )\n}\n\nexport default ModalHeader\n","import { Form, Input } from \"antd\";\nimport React, { useCallback } from \"react\";\nimport { i18n } from \"../../helpers/i18n\";\nimport { formatPhoneNumber } from \"../../helpers/utils\";\n\nconst PhoneInput = ({ name = ['visits_attributes', 0, 'phone'], label = i18n.t('models.location.contact_phone'),\n disabled = false, required = false, onChange = () => {} }) => {\n\n const validatePhone = useCallback((_, value) => {\n if (!value && required) { return Promise.reject(new Error(i18n.t('mandatory_field'))); }\n\n if (!value || /^[0-9+\\-]*$/.test(value)) { return Promise.resolve(); }\n\n return Promise.reject(new Error(i18n.t('allowed_phone_format')));\n }, []);\n\n return (\n formatPhoneNumber(e.target.value)}>\n \n \n );\n};\n\nexport default PhoneInput;\n","import React, {useEffect, useRef, useState} from 'react';\nimport {Space, Select, Divider, Input, Button} from \"antd\";\nimport {PlusOutlined} from \"@ant-design/icons\";\nimport {i18n} from \"../../helpers/i18n\";\nimport EmptyCustom from \"./EmptyCustom\";\n\nconst ScalableSelect = ({placeholder = '', extraPlaceholder, items, setValueFn, ...props}) => {\n const [options, setOptions] = useState(items)\n const [open, setOpen] = useState(false)\n const [name, setName] = useState('')\n const inputRef = useRef(null)\n const onNameChange = (event) => {setName(event.target.value)}\n const addItem = (e) => {\n e.preventDefault()\n setOptions([...options, {label: name, value: name}])\n setName('')\n setValueFn(name)\n setOpen(false)\n }\n\n useEffect(() => {setOptions(items)}, [items])\n\n return (\n setOpen(visible)}\n onSearch={() => {}}\n notFoundContent={}\n dropdownRender={(menu) => (\n <>\n {menu}\n \n \n e.stopPropagation()}\n onPressEnter={addItem}\n />\n \n \n \n )}\n options={options}\n />\n )\n}\n\nexport default ScalableSelect\n","import {csrfToken, selectedIds} from \"../../helpers/utils\";\n\nexport const fetchIsraelCitiesAction = async () => {\n return await fetch('/israel_cities', {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const fetchIsraelStreetsAction = async (cityId) => {\n return await fetch(`/israel_cities/${cityId}/streets`, {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const fetchCompaniesAction = async () => {\n return await fetch('/api/web/companies', {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const fetchCompanyUsersAction = async id => {\n return await fetch(`/api/web/companies/${id}/users`, {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const fetchLocationsAction = async (companyId = null) => {\n const url = companyId ? `/api/web/locations/options?company_id=${companyId}` : '/api/web/locations/options'\n return await fetch(url, {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const fetchClientsAction = async (companyId = null) => {\n const url = companyId ? `/api/web/clients/options?company_id=${companyId}` : '/api/web/clients/options'\n return await fetch(url, {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const fetchRoutesAction = async () => {\n return await fetch('/api/web/routes/options', {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const fetchDriversAction = async () => {\n return await fetch('/api/web/drivers/options', {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const fetchProductsAction = async (page, search) => {\n return await fetch(`/api/web/products/options?page=${page}&search=${search}`, {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n }\n })\n}\n\nexport const createTaskAction = async data => {\n return await fetch('/api/web/tasks', {\n method: 'POST',\n headers: {\n 'X-CSRF-TOKEN': csrfToken()\n },\n body: data\n })\n}\n\nexport const calculatePriceAction = async data => {\n return await fetch('/api/web/tasks/calculate_price', {\n method: 'POST',\n headers: {\n 'X-CSRF-TOKEN': csrfToken()\n },\n body: data\n })\n}\n\nexport const createScheduledTaskAction = async data => {\n return await fetch('/api/web/scheduled_tasks', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n },\n body: JSON.stringify(data)\n })\n}\n\nexport const createDistributionAction = async data => {\n return await fetch('/api/web/distributions', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n },\n body: JSON.stringify(data)\n })\n}\n\nexport const fetchVehiclesAction = async (date) => {\n return await fetch('/api/web/vehicles/index_suggestion', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n },\n body: JSON.stringify({date: date})\n })\n}\n\nexport const fetchEndOptionsAction = async (ids) => {\n return await fetch('/api/web/vehicles/end_options', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n },\n body: JSON.stringify({ids: ids})\n })\n}\n\nexport const fetchVisitsSummaryAction = async (ids) => {\n return await fetch('/api/web/vehicles/visits_summary', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-TOKEN': csrfToken()\n },\n body: JSON.stringify({ids: ids})\n })\n}\n","import {i18n} from \"../../helpers/i18n\";\nimport React from \"react\";\nimport {Button} from \"antd\";\n\nexport const typeOptions = [\n {\n label: i18n.t('views.tasks.types.delivery'),\n value: 'delivery'\n },\n {\n label: i18n.t('views.tasks.types.pickup'),\n value: 'pickup'\n },\n {\n label: i18n.t('views.tasks.types.transfer'),\n value: 'transfer'\n }\n]\n\nexport const locationLabel = ({name, city, street, number}) => (\n \n {name || ''} {(city || '') + ', ' + (street || '') + ', ' + (number || '')}\n \n)\n\nexport const userLabel = ({username, name, email}) => (\n <>{username || ''} {(name || '') + ', ' + (email || '')}\n)\n\nexport const userSearchString = ({ username, name, email }) => `${username || ''} ${name || ''}, ${email || ''}`\n\nexport const afterCreateNotification = (task, notificationApi) => {\n const { id, ready_to_print: readyToPrint } = task\n notificationApi.success({\n message:
\n
{i18n.t('views.tasks.task_created.title', {id: id})}
\n
\n \n {readyToPrint && (\n \n )}\n
\n
,\n placement: 'top',\n style: {minWidth: 500}\n })\n}\n","import {fetchClientsAction} from \"../actions\";\nimport React, {useEffect, useState} from \"react\";\nimport {locationLabel} from \"../common\";\n\nexport const useClientsOptions = (companyId = null) => {\n const [clientsOptions, setClientsOptions] = useState([])\n\n useEffect(() => {\n fetchClientsAction(companyId)\n .then(res => res.json())\n .then(data => {\n setClientsOptions(data.map(c => ({value: c.id, item: c, kind: 'client', label: locationLabel(c), key: 'client' + c.id})))\n })\n }, [companyId])\n\n return clientsOptions\n}\n","import {fetchCompaniesAction} from \"../actions\";\nimport React, {useEffect, useState} from \"react\";\n\nexport const useCompanies = () => {\n const [companies, setCompanies] = useState([])\n\n useEffect(() => {\n fetchCompaniesAction()\n .then(res => res.json())\n .then(data => {setCompanies(data)})\n }, [])\n\n return companies\n}\n","import {fetchIsraelCitiesAction} from \"../actions\";\nimport {useEffect, useState} from \"react\";\nimport {isRTL} from \"../../../helpers/locale\";\n\nexport const useIsraelCities = (organizationId) => {\n const [cities, setCities] = useState([])\n\n useEffect(() => {\n if (!isRTL() || organizationId === 2011) return\n\n fetchIsraelCitiesAction()\n .then(res => res.json())\n .then(data => {\n setCities(data.map(c => ({label: c.id, cityId: c.city_id, value: c.id})))\n })\n }, [])\n\n return cities\n}\n","import {fetchIsraelStreetsAction} from \"../actions\";\nimport {useEffect, useState} from \"react\";\n\nexport const useIsraelStreets = (cityId) => {\n const [streets, setStreets] = useState([])\n\n useEffect(() => {\n if (!cityId) return\n\n fetchIsraelStreetsAction(cityId)\n .then(res => res.json())\n .then(data => {\n setStreets(data.map(s => ({label: s.id, value: s.id})))\n })\n }, [cityId])\n\n return streets\n}\n","import {fetchLocationsAction} from \"../actions\";\nimport React, {useEffect, useState} from \"react\";\nimport {locationLabel} from \"../common\";\n\nexport const useLocationsOptions = (companyId = null) => {\n const [locationsOptions, setLocationsOptions] = useState([])\n\n useEffect(() => {\n fetchLocationsAction(companyId)\n .then(res => res.json())\n .then(data => {\n setLocationsOptions(data.map(l => ({value: l.id, item: l, kind: 'location', label: locationLabel(l), key: 'location' + l.id})))\n })\n }, [companyId])\n\n return locationsOptions\n}\n","import React from 'react'\nimport {i18n} from \"../../../../helpers/i18n\";\nimport {Checkbox, DatePicker, Form, Select} from \"antd\";\nimport {getDateFormat} from \"../../../../helpers/date\";\nimport dayjs from \"dayjs\";\n\nconst DaysManagementCard = ({creationDayOptions}) => {\n return (\n
\n
\n
\n
\n
\n \n {i18n.t('views.scheduled_task_templates.time_management')}\n
\n
\n
\n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n )\n}\n\nexport default DaysManagementCard\n","import React, {useCallback, useMemo, useState} from 'react'\nimport {Form, Input, Select, TimePicker} from \"antd\";\nimport {i18n} from \"../../../../helpers/i18n\";\nimport {CloseCircleOutlined} from \"@ant-design/icons\";\nimport {isRTL} from \"../../../../helpers/locale\";\nimport ScalableSelect from \"../../ScalableSelect\";\nimport {useIsraelCities} from \"../../hooks/useIsraelCities\";\nimport {useIsraelStreets} from \"../../hooks/useIsraelStreets\";\nimport dayjs from \"dayjs\";\nimport {getTimeFormat} from \"../../../../helpers/date\";\nimport EmptyCustom from \"../../EmptyCustom\";\nimport {formatPhoneNumber} from \"../../../../helpers/utils\";\nimport PhoneInput from \"../../PhoneInput\";\n\nconst DestinationCard = ({config, form, locationsOptions, clientsOptions, driversOptions, setLatitude, setLongitude}) => {\n const {\n id: organizationId,\n support_destinations_only: supportDestinationsOnly,\n allow_destination_name: allowDestinationName,\n allow_zip_code: allowZipCode,\n allow_entrance: allowEntrance,\n allow_entrance_code: allowEntranceCode,\n required_task_fields: requiredTaskFields,\n allow_time_window: allowTimeWindow,\n allow_phone2: allowPhone2\n } = config\n\n const requiredFieldRule = useCallback((fieldName) => (\n { required: requiredTaskFields.includes(fieldName), message: i18n.t('mandatory_field') }\n ), [requiredTaskFields])\n\n const [cityId, setCityId] = useState(null)\n const israelCities = useIsraelCities(organizationId)\n const israelStreets = useIsraelStreets(cityId)\n\n const locationsCombinedOptions = useMemo(() => {\n if (clientsOptions.length > 0) {\n return [\n {label: i18n.t('views.locations.title'), options: [...locationsOptions]},\n {label: i18n.t('views.clients.clients'), options: [...clientsOptions]}\n ]\n } else {\n return [...locationsOptions]\n }\n }, [clientsOptions, locationsOptions])\n\n const filterLocationsOption = useCallback((search, optionOrGroup) => {\n const isGroup = Array.isArray(optionOrGroup.options);\n if (isGroup) {return false}\n\n const part1 = optionOrGroup.label.props.children[0].toLowerCase().includes(search.toLowerCase())\n const part2 = optionOrGroup.label.props.children[2].props.children.toLowerCase().includes(search.toLowerCase())\n return part1 || part2\n }, [])\n\n const destinationChange = (_v, opt) => {\n opt.kind === 'location' ? updateFormByLocation(opt.item) : updateFormByClient(opt.item)\n }\n\n const cityChange = (_v, opt) => {\n setCityId(opt.cityId)\n form.setFieldValue(['visits_attributes', 0, 'street'], null)\n clearCoordinates()\n }\n const clearCoordinates = () => {\n setLatitude(null)\n setLongitude(null)\n }\n\n const updateFormByLocation = loc => {\n clearLocationForm()\n if (!loc) return\n\n const fieldsValue = form.getFieldsValue()\n setLatitude(loc.latitude)\n setLongitude(loc.longitude)\n form.setFieldsValue({\n ...fieldsValue,\n visits_attributes: [{\n ...fieldsValue.visits_attributes[0],\n city: loc.city,\n street: loc.street,\n state: loc.state,\n name: loc.name,\n number: loc.number,\n zip_code: loc.zip_code,\n floor: loc.floor,\n apartment: loc.apartment,\n notes: loc.notes,\n recipient_name: loc.default_recipient_name,\n phone: formatPhoneNumber(loc.default_phone)\n }, {...fieldsValue.visits_attributes[1]}]\n })\n if (loc.earliest) {\n const date = new Date(loc.earliest)\n form.setFieldValue('earliest', dayjs(`${date.getHours()}:${date.getMinutes() === 0 ? '00' : date.getMinutes()}`, getTimeFormat()))\n }\n if (loc.latest) {\n const date = new Date(loc.latest)\n form.setFieldValue('latest', dayjs(`${date.getHours()}:${date.getMinutes() === 0 ? '00' : date.getMinutes()}`, getTimeFormat()))\n }\n }\n\n const updateFormByClient = client => {\n clearLocationForm()\n const fieldsValue = form.getFieldsValue()\n setLatitude(client.latitude)\n setLongitude(client.longitude)\n form.setFieldsValue({\n ...fieldsValue,\n visits_attributes: [\n {...fieldsValue.visits_attributes[0],\n city: client.city,\n street: client.street,\n name: client.name,\n number: client.number,\n floor: client.floor,\n apartment: client.apartment,\n recipient_name: client.name,\n phone: formatPhoneNumber(client.phone)\n }, {...fieldsValue.visits_attributes[1]}]\n })\n }\n\n const clearLocationForm = () => {\n setLatitude(null)\n setLongitude(null)\n const fieldsValue = form.getFieldsValue()\n form.setFieldsValue({\n ...fieldsValue,\n ordering_user: null,\n destination_search_address: null,\n earliest: null,\n latest: null,\n visits_attributes: [{\n ...fieldsValue.visits_attributes[0],\n city: null,\n street: null,\n state: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n entrance: null,\n entrance_code: null,\n notes: null,\n recipient_name: null,\n phone: null\n },\n {...fieldsValue.visits_attributes[1]}\n ],\n })\n }\n\n return (\n
\n
\n
\n \n {i18n.t('task_destination')}\n
\n
\n
\n
\n
\n \n \n \n
\n )}\n
\n \n {(isRTL()) ? (\n {form.setFieldValue(['visits_attributes', 0, 'city'], val)}}\n autoComplete=\"none\"\n />\n ) : (\n \n )}\n \n
\n
\n \n {(isRTL()) ? (\n clearCoordinates()}\n extraPlaceholder={i18n.t('views.tasks.add_street')}\n setValueFn={(val) => {form.setFieldValue(['visits_attributes', 0, 'street'], val)}}\n autoComplete=\"none\"\n />\n ) : (\n clearCoordinates()}/>\n )}\n \n
\n
\n \n clearCoordinates()}/>\n \n
\n {allowZipCode && (\n
\n \n clearCoordinates()}/>\n \n
\n )}\n
\n \n \n \n
\n
\n \n \n \n
\n {allowEntrance && (\n
\n \n \n \n
\n )}\n {allowEntranceCode && (\n
\n \n \n \n
\n )}\n
\n \n \n \n
\n {!supportDestinationsOnly && (\n
\n \n \n \n
\n )}\n {!supportDestinationsOnly && (\n
\n \n
\n )}\n {!supportDestinationsOnly && allowPhone2 && (\n
\n \n
\n )}\n {!supportDestinationsOnly && (\n
\n \n \n \n
\n )}\n
\n \n }}\n showSearch\n optionFilterProp={'label'}\n notFoundContent={}\n />\n \n
\n {(supportDestinationsOnly && allowTimeWindow) && (\n <>\n
\n \n \n \n
\n
\n \n \n \n
\n \n )}\n
\n
\n )\n}\n\nexport default DestinationCard\n","import React, {useEffect, useState} from 'react'\nimport {\n Button,\n Checkbox,\n ConfigProvider,\n Form,\n Input, InputNumber, Select,\n TimePicker, Modal, notification\n} from \"antd\";\nimport {isRTL} from \"../../../../helpers/locale\";\nimport {i18n} from \"../../../../helpers/i18n\";\nimport {getTimeFormat} from \"../../../../helpers/date\";\nimport {createScheduledTaskAction, fetchDriversAction} from \"../../actions\";\nimport dayjs from \"dayjs\";\nimport {useLocationsOptions} from \"../../hooks/useLocationsOptions\";\nimport {useClientsOptions} from \"../../hooks/useClientsOptions\";\nimport EmptyCustom from \"../../EmptyCustom\";\nimport ModalHeader from \"../../ModalHeader\";\nimport {useCompanies} from \"../../hooks/useCompanies\";\nimport DaysManagementCard from \"../cards/DaysManagementCard\";\nimport DestinationCard from \"../cards/DestinationCard\";\nimport PhoneInput from \"../../PhoneInput\";\n\nexport default ({isOpen, setIsOpen, config, antLocale}) => {\n const {\n bgColor,\n default_company_id: defaultCompanyId,\n urgency_details: urgencyDetails,\n allow_urgency: allowUrgency,\n allow_money_collect: allowMoneyCollect,\n allow_surfaces_quantity: allowSurfacesQuantity,\n allow_packages_quantity: allowPackagesQuantity,\n allow_self_pickup: allowSelfPickup,\n allow_companies: allowCompanies,\n custom_fields: customFields,\n default_packages_quantity: defaultPackagesQuantity,\n urgency_options: urgencyOptions,\n allow_phone2: allowPhone2,\n creation_day_options: creationDayOptions,\n required_task_fields: requiredTaskFields\n } = config\n\n const [loading, setLoading] = useState(false)\n const companies = useCompanies()\n const [activeCompany, setActiveCompany] = useState(null)\n const locationsOptions = useLocationsOptions(activeCompany?.id)\n const clientsOptions = useClientsOptions(activeCompany?.id)\n const [driversOptions, setDriversOptions] = useState([])\n const [latitude, setLatitude] = useState()\n const [longitude, setLongitude] = useState()\n const [form] = Form.useForm()\n const [notificationApi, notificationContext] = notification.useNotification()\n\n const presentResource = () => {\n const resource = {\n start_date: null,\n end_date: dayjs().add(10, 'year').endOf('year'),\n is_sunday: null,\n is_monday: null,\n is_tuesday: null,\n is_wednesday: null,\n is_thursday: null,\n is_friday: null,\n is_saturday: null,\n company_id: null,\n creation_day: creationDayOptions[0].value,\n urgency: urgencyOptions[0].value,\n price: null,\n notes: null,\n packages_quantity: defaultPackagesQuantity,\n stop_time: null,\n is_self_pickup: null,\n visits_attributes: [{\n city: null,\n street: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n entrance: null,\n entrance_code: null,\n notes: null,\n recipient_name: null,\n phone: null,\n phone2: null,\n earliest_at: null,\n latest_at: null\n }],\n extra: {}\n }\n if (customFields.length > 0) {\n const customFieldsObj = customFields.reduce((acc, field) => {\n acc[field.map_name] = null\n return acc\n }, {})\n resource.extra = customFieldsObj\n }\n return resource\n }\n\n const fetchDriversOptions = async () => {\n const res = await fetchDriversAction()\n const data = await res.json()\n setDriversOptions(data.map(d => ({label: d.name, value: d.id})))\n }\n\n const companyChange = id => {\n const company = companies.find(c => (c.id === id))\n setActiveCompany(company)\n form.setFieldValue('destination', null)\n }\n\n const renderCustomField = (field) => {\n const requiredRule = { required: field.required, message: i18n.t('mandatory_field') }\n\n switch (field.type) {\n case 'string':\n return (\n
\n \n \n \n
\n )\n case 'enum':\n const enumOpt = field.options.map(o => ({label: o.name, value: o.name}))\n enumOpt.unshift({label: '', value: ''})\n return (\n
\n \n \n \n
\n )}\n
\n \n \n \n \n
\n
\n {}\n
\n
\n
\n \n {i18n.t('models.organization.pricing')}\n
\n
\n
\n
\n \n \n \n
\n {allowMoneyCollect && (\n
\n
\n \n \n \n
\n
\n )}\n
\n
\n
\n
\n
\n
\n
\n \n {i18n.t('models.location.default_contact')}\n
\n
\n
\n
\n \n \n \n
\n
\n \n
\n {allowPhone2 && (\n
\n \n
\n )}\n
\n
\n
\n
\n
\n \n {i18n.t('details')}\n
\n
\n
\n
{customFields.map(field => (renderCustomField(field)))}
\n
\n \n \n \n
\n {allowPackagesQuantity && (\n
\n \n \n \n
\n )}\n
\n \n \n \n
\n {allowSurfacesQuantity && (\n
\n \n \n \n
\n )}\n {allowSelfPickup && (\n
\n \n \n \n
\n )}\n
\n
\n
\n
\n \n \n \n \n \n )\n}\n","import React, {useCallback, useEffect, useState} from 'react'\nimport {Form, Input, Select} from \"antd\";\nimport {i18n} from \"../../../../helpers/i18n\";\nimport {CloseCircleOutlined} from \"@ant-design/icons\";\nimport {isRTL} from \"../../../../helpers/locale\";\nimport ScalableSelect from \"../../ScalableSelect\";\nimport {useIsraelCities} from \"../../hooks/useIsraelCities\";\nimport {useIsraelStreets} from \"../../hooks/useIsraelStreets\";\nimport EmptyCustom from \"../../EmptyCustom\";\nimport PhoneInput from \"../../PhoneInput\";\n\nconst SourceCard = ({config, form, locationsOptions, setLatitude, setLongitude, driversOptions, defaultLocation}) => {\n const {\n id: organizationId,\n allow_zip_code: allowZipCode,\n required_task_fields: requiredTaskFields\n } = config\n\n const requiredFieldRule = useCallback((fieldName) => (\n { required: requiredTaskFields.includes(fieldName), message: i18n.t('mandatory_field') }\n ), [requiredTaskFields])\n\n const [cityId, setCityId] = useState(null)\n const israelCities = useIsraelCities(organizationId)\n const israelStreets = useIsraelStreets(cityId)\n\n const cityChange = (_v, opt) => {\n setCityId(opt.cityId)\n form.setFieldValue(['visits_attributes', 1, 'street'], null)\n clearCoordinates()\n }\n\n const sourceChange = (_v, opt) => {updateFormByLocation(opt.item)}\n\n const filterLocationsOption = useCallback((search, option) => {\n const part1 = option.label.props.children[0].toLowerCase().includes(search.toLowerCase())\n const part2 = option.label.props.children[2].props.children.toLowerCase().includes(search.toLowerCase())\n return part1 || part2\n }, [])\n\n const updateFormByLocation = loc => {\n clearLocationForm()\n if (!loc) return\n\n const fieldsValue = form.getFieldsValue()\n setLatitude(loc.latitude)\n setLongitude(loc.longitude)\n form.setFieldsValue({\n ...fieldsValue,\n visits_attributes: [\n {...fieldsValue.visits_attributes[0]},\n {...fieldsValue.visits_attributes[1],\n city: loc.city,\n street: loc.street,\n state: loc.state,\n name: loc.name,\n number: loc.number,\n zip_code: loc.zip_code,\n floor: loc.floor,\n apartment: loc.apartment,\n notes: loc.notes,\n recipient_name: loc.default_recipient_name,\n phone: loc.default_phone\n }]\n })\n }\n\n const clearLocationForm = () => {\n setLatitude(null)\n setLongitude(null)\n const fieldsValue = form.getFieldsValue()\n form.setFieldsValue({\n ...fieldsValue,\n visits_attributes: [\n {...fieldsValue.visits_attributes[0]},\n {...fieldsValue.visits_attributes[1],\n city: null,\n street: null,\n state: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n notes: null,\n recipient_name: null,\n phone: null\n }\n ],\n })\n }\n\n const clearCoordinates = () => {\n setLatitude(null)\n setLongitude(null)\n }\n\n useEffect(() => {\n if (defaultLocation) {\n form.setFieldValue('source', defaultLocation.id)\n updateFormByLocation(defaultLocation)\n } else {\n form.setFieldValue('source', null)\n clearLocationForm()\n }\n }, [defaultLocation])\n\n return (\n
\n
\n
\n \n \n {i18n.t('task_source')}\n \n
\n
\n
\n
\n
\n \n \n \n
\n
\n \n {(isRTL()) ? (\n {form.setFieldValue(['visits_attributes', 1, 'city'], val)}}\n autoComplete=\"none\"\n />\n ) : (\n clearCoordinates()}/>\n )}\n \n
\n
\n \n {(isRTL()) ? (\n clearCoordinates()}\n extraPlaceholder={i18n.t('views.tasks.add_street')}\n setValueFn={(val) => {form.setFieldValue(['visits_attributes', 1, 'street'], val)}}\n autoComplete=\"none\"\n />\n ) : (\n clearCoordinates()}/>\n )}\n \n
\n
\n \n clearCoordinates()}/>\n \n
\n {allowZipCode && (\n
\n \n \n \n
\n )}\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n
\n
\n \n \n \n
\n
\n \n }}\n showSearch\n optionFilterProp={'label'}\n notFoundContent={}\n />\n \n
\n
\n
\n
\n \n )\n}\n\nexport default SourceCard\n","import React, {useEffect, useState} from 'react'\nimport {\n Button,\n Checkbox,\n ConfigProvider,\n Form,\n Input, InputNumber, Select,\n TimePicker, Modal, notification\n} from \"antd\";\nimport {isRTL} from \"../../../../helpers/locale\";\nimport {i18n} from \"../../../../helpers/i18n\";\nimport {getTimeFormat} from \"../../../../helpers/date\";\nimport {createScheduledTaskAction, fetchDriversAction} from \"../../actions\";\nimport dayjs from \"dayjs\";\nimport {useLocationsOptions} from \"../../hooks/useLocationsOptions\";\nimport {useClientsOptions} from \"../../hooks/useClientsOptions\";\nimport EmptyCustom from \"../../EmptyCustom\";\nimport ModalHeader from \"../../ModalHeader\";\nimport {useCompanies} from \"../../hooks/useCompanies\";\nimport DaysManagementCard from \"../cards/DaysManagementCard\";\nimport DestinationCard from \"../cards/DestinationCard\";\nimport SourceCard from \"../cards/SourceCard\";\n\nexport default ({isOpen, setIsOpen, config, antLocale}) => {\n const {\n bgColor,\n default_company_id: defaultCompanyId,\n urgency_details: urgencyDetails,\n allow_urgency: allowUrgency,\n allow_money_collect: allowMoneyCollect,\n allow_companies: allowCompanies,\n allow_is_roundtrip: allowIsRoundtrip,\n allow_vehicle_kind: allowVehicleKind,\n allow_packages_quantity: allowPackagesQuantity,\n allow_surfaces_quantity: allowSurfacesQuantity,\n custom_fields: customFields,\n default_packages_quantity: defaultPackagesQuantity,\n default_location: orgDefaultLocation,\n urgency_options: urgencyOptions,\n vehicle_kind_options: vehicleKindOptions,\n creation_day_options: creationDayOptions\n } = config\n\n const [loading, setLoading] = useState(false)\n const companies = useCompanies()\n const [defaultLocation, setDefaultLocation] = useState(orgDefaultLocation)\n const [activeCompany, setActiveCompany] = useState(null)\n const locationsOptions = useLocationsOptions(activeCompany?.id)\n const clientsOptions = useClientsOptions(activeCompany?.id)\n const [driversOptions, setDriversOptions] = useState([])\n const [destinationLatitude, setDestinationLatitude] = useState()\n const [sourceLatitude, setSourceLatitude] = useState()\n const [destinationLongitude, setDestinationLongitude] = useState()\n const [sourceLongitude, setSourceLongitude] = useState()\n const [form] = Form.useForm()\n const [notificationApi, notificationContext] = notification.useNotification()\n\n const presentResource = () => {\n const resource = {\n start_date: null,\n end_date: dayjs().add(10, 'year').endOf('year'),\n is_sunday: null,\n is_monday: null,\n is_tuesday: null,\n is_wednesday: null,\n is_thursday: null,\n is_friday: null,\n is_saturday: null,\n company_id: null,\n creation_day: creationDayOptions[0].value,\n urgency: urgencyOptions[0].value,\n price: null,\n notes: null,\n packages_quantity: defaultPackagesQuantity,\n stop_time: null,\n is_self_pickup: null,\n visits_attributes: [{\n city: null,\n street: null,\n name: null,\n number: null,\n zip_code: null,\n floor: null,\n apartment: null,\n entrance: null,\n entrance_code: null,\n notes: null,\n recipient_name: null,\n phone: null,\n phone2: null,\n earliest_at: null,\n latest_at: null,\n driver_id: null\n }],\n extra: {}\n }\n if (customFields.length > 0) {\n const customFieldsObj = customFields.reduce((acc, field) => {\n acc[field.map_name] = null\n return acc\n }, {})\n resource.extra = customFieldsObj\n }\n return resource\n }\n\n const fetchDriversOptions = async () => {\n const res = await fetchDriversAction()\n const data = await res.json()\n setDriversOptions(data.map(d => ({label: d.name, value: d.id})))\n }\n\n const companyChange = id => {\n const company = companies.find(c => (c.id === id))\n setActiveCompany(company)\n form.setFieldValue('source', null)\n form.setFieldValue('destination', null)\n }\n\n const renderCustomField = (field) => {\n const requiredRule = { required: field.required, message: i18n.t('mandatory_field') }\n\n switch (field.type) {\n case 'string':\n return (\n
\n
\n \n \n \n
\n
\n )\n case 'enum':\n const enumOpt = field.options.map(o => ({label: o.name, value: o.name}))\n enumOpt.unshift({label: '', value: ''})\n return (\n
\n
\n \n \n \n
\n )}\n {(allowIsRoundtrip) && (\n
\n \n \n \n
\n )}\n
\n
\n
\n
\n {allowVehicleKind && (\n
\n \n