You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
18 KiB

{"ast":null,"code":"function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { PropTypes } from 'prop-types';\nimport Draw from 'leaflet-draw'; // eslint-disable-line\n\nimport isEqual from 'fast-deep-equal';\nimport React, { useRef } from 'react';\nimport { useLeafletContext } from '@react-leaflet/core';\nimport leaflet, { Map, Control } from 'leaflet';\nvar eventHandlers = {\n onEdited: 'draw:edited',\n onDrawStart: 'draw:drawstart',\n onDrawStop: 'draw:drawstop',\n onDrawVertex: 'draw:drawvertex',\n onEditStart: 'draw:editstart',\n onEditMove: 'draw:editmove',\n onEditResize: 'draw:editresize',\n onEditVertex: 'draw:editvertex',\n onEditStop: 'draw:editstop',\n onDeleted: 'draw:deleted',\n onDeleteStart: 'draw:deletestart',\n onDeleteStop: 'draw:deletestop'\n};\n\nfunction EditControl(props) {\n var context = useLeafletContext();\n var drawRef = useRef();\n var propsRef = useRef(props);\n\n var onDrawCreate = function onDrawCreate(e) {\n var onCreated = props.onCreated;\n var container = context.layerContainer || context.map;\n container.addLayer(e.layer);\n onCreated && onCreated(e);\n };\n\n React.useEffect(function () {\n var map = context.map;\n var onMounted = props.onMounted;\n\n for (var key in eventHandlers) {\n map.on(eventHandlers[key], function (evt) {\n var handlers = Object.keys(eventHandlers).filter(function (handler) {\n return eventHandlers[handler] === evt.type;\n });\n\n if (handlers.length === 1) {\n var handler = handlers[0];\n props[handler] && props[handler](evt);\n }\n });\n }\n\n map.on(leaflet.Draw.Event.CREATED, onDrawCreate);\n drawRef.current = createDrawElement(props, context);\n map.addControl(drawRef.current);\n onMounted && onMounted(drawRef.current);\n return function () {\n map.off(leaflet.Draw.Event.CREATED, onDrawCreate);\n\n for (var _key in eventHandlers) {\n if (props[_key]) {\n map.off(eventHandlers[_key], props[_key]);\n }\n }\n };\n }, []);\n React.useEffect(function () {\n if (isEqual(props.draw, propsRef.current.draw) && isEqual(props.edit, propsRef.current.edit) && props.position === propsRef.current.position) {\n return;\n }\n\n var map = context.map;\n drawRef.current.remove(map);\n drawRef.current = createDrawElement(props, context);\n drawRef.current.addTo(map);\n var onMounted = props.onMounted;\n onMounted && onMounted(drawRef.current);\n }, [props.draw, props.edit, props.position]);\n return null;\n}\n\nfunction createDrawElement(props, context) {\n var layerContainer = context.layerContainer;\n var draw = props.draw,\n edit = props.edit,\n position = props.position;\n var options = {\n edit: _objectSpread(_objectSpread({}, edit), {}, {\n featureGroup: layerContainer\n })\n };\n\n if (draw) {\n options.draw = _objectSpread({}, draw);\n }\n\n if (position) {\n options.position = position;\n }\n\n return new Control.Draw(options);\n}\n\nEditControl.propTypes = _objectSpread(_objectSpread({}, Object.keys(eventHandlers).reduce(function (acc, val) {\n acc[val] = PropTypes.func;\n return acc;\n}, {})), {}, {\n onCreated: PropTypes.func,\n onMounted: PropTypes.func,\n draw: PropTypes.shape({\n polyline: PropTypes.oneOfType([PropTypes.object, PropTypes.bool]),\n polygon: PropTypes.oneOfType([PropTypes.object, PropTypes.bool]),\n rectangle: PropTypes.oneOfType([PropTypes.object, PropTypes.bool]),\n circle: PropTypes.oneOfType([PropTypes.object, PropTypes.bool]),\n marker: PropTypes.oneOfType([PropTypes.object, PropTypes.bool])\n }),\n edit: PropTypes.shape({\n edit: PropTypes.oneOfType([PropTypes.object, PropTypes.bool]),\n remove: PropTypes.oneOfType([PropTypes.object, PropTypes.bool]),\n poly: PropTypes.oneOfType([PropTypes.object, PropTypes.bool]),\n allowIntersection: PropTypes.bool\n }),\n position: PropTypes.oneOf(['topright', 'topleft', 'bottomright', 'bottomleft']),\n leaflet: PropTypes.shape({\n map: PropTypes.instanceOf(Map),\n layerContainer: PropTypes.shape({\n addLayer: PropTypes.func.isRequired,\n removeLayer: PropTypes.func.isRequired\n })\n })\n});\nexport default EditControl;","map":{"version":3,"names":["ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","obj","value","configurable","writable","PropTypes","Draw","isEqual","React","useRef","useLeafletContext","leaflet","Map","Control","eventHandlers","onEdited","onDrawStart","onDrawStop","onDrawVertex","onEditStart","onEditMove","onEditResize","onEditVertex","onEditStop","onDeleted","onDeleteStart","onDeleteStop","EditControl","props","context","drawRef","propsRef","onDrawCreate","e","onCreated","container","layerContainer","map","addLayer","layer","useEffect","onMounted","on","evt","handlers","handler","type","Event","CREATED","current","createDrawElement","addControl","off","_key","draw","edit","position","remove","addTo","options","featureGroup","propTypes","reduce","acc","val","func","shape","polyline","oneOfType","bool","polygon","rectangle","circle","marker","poly","allowIntersection","oneOf","instanceOf","isRequired","removeLayer"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/node_modules/react-leaflet-draw/dist/esm/EditControl.js"],"sourcesContent":["function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { PropTypes } from 'prop-types';\nimport Draw from 'leaflet-draw'; // eslint-disable-line\n\nimport isEqual from 'fast-deep-equal';\nimport React, { useRef } from 'react';\nimport { useLeafletContext } from '@react-leaflet/core';\nimport leaflet, { Map, Control } from 'leaflet';\nvar eventHandlers = {\n onEdited: 'draw:edited',\n onDrawStart: 'draw:drawstart',\n onDrawStop: 'draw:drawstop',\n onDrawVertex: 'draw:drawvertex',\n onEditStart: 'draw:editstart',\n onEditMove: 'draw:editmove',\n onEditResize: 'draw:editresize',\n onEditVertex: 'draw:editvertex',\n onEditStop: 'draw:editstop',\n onDeleted: 'draw:deleted',\n onDeleteStart: 'draw:deletestart',\n onDeleteStop: 'draw:deletestop'\n};\n\nfunction EditControl(props) {\n var context = useLeafletContext();\n var drawRef = useRef();\n var propsRef = useRef(props);\n\n var onDrawCreate = function onDrawCreate(e) {\n var onCreated = props.onCreated;\n var container = context.layerContainer || context.map;\n container.addLayer(e.layer);\n onCreated && onCreated(e);\n };\n\n React.useEffect(function () {\n var map = context.map;\n var onMounted = props.onMounted;\n\n for (var key in eventHandlers) {\n map.on(eventHandlers[key], function (evt) {\n var handlers = Object.keys(eventHandlers).filter(function (handler) {\n return eventHandlers[handler] === evt.type;\n });\n\n if (handlers.length === 1) {\n var handler = handlers[0];\n props[handler] && props[handler](evt);\n }\n });\n }\n\n map.on(leaflet.Draw.Event.CREATED, onDrawCreate);\n drawRef.current = createDrawElement(props, context);\n map.addControl(drawRef.current);\n onMounted && onMounted(drawRef.current);\n return function () {\n map.off(leaflet.Draw.Event.CREATED, onDrawCreate);\n\n for (var _key in eventHandlers) {\n if (props[_key]) {\n map.off(eventHandlers[_key], props[_key]);\n }\n }\n };\n }, []);\n React.useEffect(function () {\n if (isEqual(props.draw, propsRef.current.draw) && isEqual(props.edit, propsRef.current.edit) && props.position === propsRef.current.position) {\n return;\n }\n\n var map = context.map;\n drawRef.current.remove(map);\n drawRef.current = createDrawElement(props, context);\n drawRef.current.addTo(map);\n var onMounted = props.onMounted;\n onMounted && onMounted(drawRef.current);\n }, [props.draw, props.edit, props.position]);\n return null;\n}\n\nfunction createDrawElement(props, context) {\n var layerContainer = context.layerContainer;\n var draw = props.draw,\n edit = props.edit,\n position = props.position;\n var options = {\n edit: _objectSpread(_objectSpread({}, edit), {}, {\n featureGroup: layerContainer\n })\n };\n\n if (draw) {\n options.draw = _objectSpread({}, draw);\n }\n\n if (position) {\n options.position = position;\n }\n\n return new Control.Draw(options);\n}\n\nEditControl.propTypes = _objectSpread(_objectSpread({}, Object.keys(eventHandlers).reduce(function (acc, val) {\n acc[val] = PropTypes.func;\n return acc;\n}, {})), {}, {\n onCreated: PropTypes.func,\n onMounted: PropTypes.func,\n draw: PropTypes.shape({\n polyline: PropTypes.oneOfType([PropTypes.object, PropTypes.bool]),\n polygon: PropTypes.oneOfType([PropTypes.object, PropTypes.bool]),\n rectangle: PropTypes.oneOfType([PropTypes.object, PropTypes.bool]),\n circle: PropTypes.oneOfType([PropTypes.object, PropTypes.bool]),\n marker: PropTypes.oneOfType([PropTypes.object, PropTypes.bool])\n }),\n edit: PropTypes.shape({\n edit: PropTypes.oneOfType([PropTypes.object, PropTypes.bool]),\n remove: PropTypes.oneOfType([PropTypes.object, PropTypes.bool]),\n poly: PropTypes.oneOfType([PropTypes.object, PropTypes.bool]),\n allowIntersection: PropTypes.bool\n }),\n position: PropTypes.oneOf(['topright', 'topleft', 'bottomright', 'bottomleft']),\n leaflet: PropTypes.shape({\n map: PropTypes.instanceOf(Map),\n layerContainer: PropTypes.shape({\n addLayer: PropTypes.func.isRequired,\n removeLayer: PropTypes.func.isRequired\n })\n })\n});\nexport default EditControl;"],"mappings":"AAAA,SAASA,OAAT,CAAiBC,MAAjB,EAAyBC,cAAzB,EAAyC;EAAE,IAAIC,IAAI,GAAGC,MAAM,CAACD,IAAP,CAAYF,MAAZ,CAAX;;EAAgC,IAAIG,MAAM,CAACC,qBAAX,EAAkC;IAAE,IAAIC,OAAO,GAAGF,MAAM,CAACC,qBAAP,CAA6BJ,MAA7B,CAAd;IAAoDC,cAAc,KAAKI,OAAO,GAAGA,OAAO,CAACC,MAAR,CAAe,UAAUC,GAAV,EAAe;MAAE,OAAOJ,MAAM,CAACK,wBAAP,CAAgCR,MAAhC,EAAwCO,GAAxC,EAA6CE,UAApD;IAAiE,CAAjG,CAAf,CAAd,EAAkIP,IAAI,CAACQ,IAAL,CAAUC,KAAV,CAAgBT,IAAhB,EAAsBG,OAAtB,CAAlI;EAAmK;;EAAC,OAAOH,IAAP;AAAc;;AAErV,SAASU,aAAT,CAAuBC,MAAvB,EAA+B;EAAE,KAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGC,SAAS,CAACC,MAA9B,EAAsCF,CAAC,EAAvC,EAA2C;IAAE,IAAIG,MAAM,GAAG,QAAQF,SAAS,CAACD,CAAD,CAAjB,GAAuBC,SAAS,CAACD,CAAD,CAAhC,GAAsC,EAAnD;IAAuDA,CAAC,GAAG,CAAJ,GAAQf,OAAO,CAACI,MAAM,CAACc,MAAD,CAAP,EAAiB,CAAC,CAAlB,CAAP,CAA4BC,OAA5B,CAAoC,UAAUC,GAAV,EAAe;MAAEC,eA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