@m4l/gclick 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.storybook/constants.d.ts +30 -0
- package/.storybook/decorators/StorybookWithMapProvider/constants.d.ts +2 -0
- package/.storybook/decorators/StorybookWithMapProvider/index.d.ts +1 -0
- package/.storybook/decorators/WithContexts/constants.d.ts +10 -0
- package/.storybook/decorators/WithContexts/index.d.ts +1 -0
- package/.storybook/decorators/WithContexts/types.d.ts +7 -0
- package/.storybook/decorators/WithWindowsContainer/index.d.ts +2 -0
- package/.storybook/decorators/WithWindowsContainer/subcomponents/WindowsContainer/index.d.ts +1 -0
- package/.storybook/decorators/WithWindowsContainer/subcomponents/WindowsContainer/types.d.ts +4 -0
- package/.storybook/main.d.ts +3 -0
- package/.storybook/mocks/config-msw.d.ts +21 -0
- package/.storybook/mocks/index.d.ts +2 -0
- package/.storybook/mocks/network-mocks.d.ts +1 -0
- package/.storybook/storybook.vite.d.ts +2 -0
- package/@types/augmentations.d.ts +38 -0
- package/@types/constants.d.ts +26 -0
- package/@types/constants.js +21 -0
- package/@types/deviceData.d.ts +90 -0
- package/@types/general.d.ts +21 -0
- package/@types/index.d.ts +2 -0
- package/@types/index.js +1 -0
- package/@types/types.d.js +1 -0
- package/@types/types.d.ts +43 -0
- package/@types/vpts.d.ts +49 -0
- package/components/DataGrid/assets/icons/datagrid.svg +4 -0
- package/components/DeviceLabel/DeviceLabel.d.ts +6 -0
- package/components/DeviceLabel/DeviceLabel.js +32 -0
- package/components/DeviceLabel/DeviceLabel.styles.d.ts +2 -0
- package/components/DeviceLabel/DeviceLabel.styles.js +33 -0
- package/components/DeviceLabel/constants.d.ts +2 -0
- package/components/DeviceLabel/constants.js +4 -0
- package/components/DeviceLabel/index.d.ts +1 -0
- package/components/DeviceLabel/index.js +1 -0
- package/components/DeviceLabel/slots/DeviceLabelSlots.d.ts +3 -0
- package/components/DeviceLabel/slots/DeviceLabelSlots.js +22 -0
- package/components/DeviceLabel/slots/slots.d.ts +5 -0
- package/components/DeviceLabel/slots/slots.js +9 -0
- package/components/DeviceLabel/types.d.ts +26 -0
- package/components/DeviceStatus/DeviceStatus.d.ts +6 -0
- package/components/DeviceStatus/DeviceStatus.js +15 -0
- package/components/DeviceStatus/DeviceStatus.styles.d.ts +2 -0
- package/components/DeviceStatus/DeviceStatus.styles.js +13 -0
- package/components/DeviceStatus/constants.d.ts +2 -0
- package/components/DeviceStatus/constants.js +4 -0
- package/components/DeviceStatus/dictionary.d.ts +13 -0
- package/components/DeviceStatus/dictionary.js +18 -0
- package/components/DeviceStatus/hooks/constants.d.ts +11 -0
- package/components/DeviceStatus/hooks/constants.js +79 -0
- package/components/DeviceStatus/hooks/helper.d.ts +7 -0
- package/components/DeviceStatus/hooks/helper.js +22 -0
- package/components/DeviceStatus/hooks/useDeviceStatus.d.ts +12 -0
- package/components/DeviceStatus/hooks/useDeviceStatus.js +25 -0
- package/components/DeviceStatus/icons.d.ts +11 -0
- package/components/DeviceStatus/icons.js +13 -0
- package/components/DeviceStatus/index.d.ts +4 -0
- package/components/DeviceStatus/index.js +1 -0
- package/components/DeviceStatus/slots/DeviceStatusSlots.d.ts +1 -0
- package/components/DeviceStatus/slots/DeviceStatusSlots.js +11 -0
- package/components/DeviceStatus/slots/slots.d.ts +3 -0
- package/components/DeviceStatus/slots/slots.js +7 -0
- package/components/DeviceStatus/types.d.ts +16 -0
- package/components/gauges/Gauge/Gauge.d.ts +22 -0
- package/components/gauges/Gauge/Gauge.js +25 -0
- package/components/gauges/Gauge/Gauge.styles.d.ts +2 -0
- package/components/gauges/Gauge/Gauge.styles.js +9 -0
- package/components/gauges/Gauge/constants.d.ts +2 -0
- package/components/gauges/Gauge/constants.js +8 -0
- package/components/gauges/Gauge/index.d.ts +1 -0
- package/components/gauges/Gauge/index.js +1 -0
- package/components/gauges/Gauge/slots/GaugeEnum.d.ts +3 -0
- package/components/gauges/Gauge/slots/GaugeEnum.js +7 -0
- package/components/gauges/Gauge/slots/GaugeSlots.d.ts +3 -0
- package/components/gauges/Gauge/slots/GaugeSlots.js +12 -0
- package/components/gauges/Gauge/types.d.ts +16 -0
- package/components/gauges/index.d.ts +1 -0
- package/components/gauges/index.js +1 -0
- package/components/index.d.ts +4 -0
- package/components/index.js +1 -0
- package/components/indicators/IndicatorCSQ/IndicatorCSQ.d.ts +7 -0
- package/components/indicators/IndicatorCSQ/IndicatorCSQ.styles.d.ts +2 -0
- package/components/indicators/IndicatorCSQ/constants.d.ts +8 -0
- package/components/indicators/IndicatorCSQ/dictionary.d.ts +9 -0
- package/components/indicators/IndicatorCSQ/helpers/getQualityLabel/getQualityLabel.d.ts +40 -0
- package/components/indicators/IndicatorCSQ/helpers/getQualityLabel/index.d.ts +0 -0
- package/components/indicators/IndicatorCSQ/helpers/getQualityLabel/types.d.ts +11 -0
- package/components/indicators/IndicatorCSQ/icons.d.ts +1 -0
- package/components/indicators/IndicatorCSQ/index.d.ts +3 -0
- package/components/indicators/IndicatorCSQ/slots/IndicatorCSQEnum.d.ts +7 -0
- package/components/indicators/IndicatorCSQ/slots/IndicatorCSQSlots.d.ts +15 -0
- package/components/indicators/IndicatorCSQ/subcomponents/SignalIcon/SignalIcon.d.ts +7 -0
- package/components/indicators/IndicatorCSQ/subcomponents/SignalIcon/index.d.ts +1 -0
- package/components/indicators/IndicatorCSQ/subcomponents/SignalIcon/types.d.ts +5 -0
- package/components/indicators/IndicatorCSQ/tests/IndicatorCSQ.test.d.ts +1 -0
- package/components/indicators/IndicatorCSQ/types.d.ts +21 -0
- package/components/maps/components/GpsMap/GpsMap.d.ts +8 -0
- package/components/maps/components/GpsMap/GpsMap.js +34 -0
- package/components/maps/components/GpsMap/GpsMap.styles.d.ts +2 -0
- package/components/maps/components/GpsMap/GpsMap.styles.js +228 -0
- package/components/maps/components/GpsMap/classes/index.d.ts +8 -0
- package/components/maps/components/GpsMap/classes/index.js +110 -0
- package/components/maps/components/GpsMap/classes/types.d.ts +69 -0
- package/components/maps/components/GpsMap/constants.d.ts +36 -0
- package/components/maps/components/GpsMap/constants.js +49 -0
- package/components/maps/components/GpsMap/contexts/MapContext/MapContext.d.ts +13 -0
- package/components/maps/components/GpsMap/contexts/MapContext/MapContext.js +59 -0
- package/components/maps/components/GpsMap/contexts/MapContext/helper.d.ts +8 -0
- package/components/maps/components/GpsMap/contexts/MapContext/helper.js +1 -0
- package/components/maps/components/GpsMap/contexts/MapContext/index.d.ts +2 -0
- package/components/maps/components/GpsMap/contexts/MapContext/index.js +1 -0
- package/components/maps/components/GpsMap/contexts/MapContext/store.d.ts +6 -0
- package/components/maps/components/GpsMap/contexts/MapContext/store.js +375 -0
- package/components/maps/components/GpsMap/contexts/MapContext/types.d.ts +569 -0
- package/components/maps/components/GpsMap/dictionary.d.ts +32 -0
- package/components/maps/components/GpsMap/dictionary.js +32 -0
- package/components/maps/components/GpsMap/external/Control/index.d.ts +9 -0
- package/components/maps/components/GpsMap/external/Control/index.js +42 -0
- package/components/maps/components/GpsMap/external/Control/types.d.ts +7 -0
- package/components/maps/components/GpsMap/external/Popup/component.d.ts +4 -0
- package/components/maps/components/GpsMap/external/Popup/div-overlay.d.ts +4 -0
- package/components/maps/components/GpsMap/external/Popup/element.d.ts +4 -0
- package/components/maps/components/GpsMap/external/Popup/generic.d.ts +4 -0
- package/components/maps/components/GpsMap/external/Popup/index.d.ts +4 -0
- package/components/maps/components/GpsMap/external/googleMutant/LRUMap.d.ts +99 -0
- package/components/maps/components/GpsMap/external/googleMutant/LRUMap.js +1 -0
- package/components/maps/components/GpsMap/external/googleMutant/googleMutant.d.ts +1 -0
- package/components/maps/components/GpsMap/external/googleMutant/googleMutant.js +1 -0
- package/components/maps/components/GpsMap/external/googleMutant/googleMutantNoDelete.d.ts +1 -0
- package/components/maps/components/GpsMap/external/googleMutant/index.d.ts +132 -0
- package/components/maps/components/GpsMap/external/googleMutant/index.js +1 -0
- package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/constants.d.ts +1 -0
- package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/constants.js +4 -0
- package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/index.d.ts +8 -0
- package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/index.js +263 -0
- package/components/maps/components/GpsMap/featureRenders/DeviceFeatureRender/constants.d.ts +1 -0
- package/components/maps/components/GpsMap/featureRenders/DeviceFeatureRender/constants.js +4 -0
- package/components/maps/components/GpsMap/featureRenders/DeviceFeatureRender/index.d.ts +8 -0
- package/components/maps/components/GpsMap/featureRenders/DeviceFeatureRender/index.js +112 -0
- package/components/maps/components/GpsMap/featureRenders/FeatureDivIconLabel/index.d.ts +6 -0
- package/components/maps/components/GpsMap/featureRenders/FeatureDivIconLabel/index.js +33 -0
- package/components/maps/components/GpsMap/featureRenders/FeatureDivIconLabel/types.d.ts +7 -0
- package/components/maps/components/GpsMap/featureRenders/MarkerFeatureRender/IconMarker.d.ts +9 -0
- package/components/maps/components/GpsMap/featureRenders/MarkerFeatureRender/IconMarkerGrua.d.ts +4 -0
- package/components/maps/components/GpsMap/featureRenders/MarkerFeatureRender/IconMarkerTaxi.d.ts +4 -0
- package/components/maps/components/GpsMap/featureRenders/MarkerFeatureRender/index.d.ts +5 -0
- package/components/maps/components/GpsMap/featureRenders/MarkerFeatureRender/index.js +80 -0
- package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/index.d.ts +5 -0
- package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/index.js +83 -0
- package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/types.d.ts +15 -0
- package/components/maps/components/GpsMap/featureRenders/index.d.ts +3 -0
- package/components/maps/components/GpsMap/featureRenders/index.js +1 -0
- package/components/maps/components/GpsMap/hooks/useAutoFocus/index.d.ts +7 -0
- package/components/maps/components/GpsMap/hooks/useAutoFocus/index.js +78 -0
- package/components/maps/components/GpsMap/hooks/useAutoFocus/types.d.ts +15 -0
- package/components/maps/components/GpsMap/hooks/useDisableClickEvents/index.d.ts +6 -0
- package/components/maps/components/GpsMap/hooks/useDisableZoomEvents/index.d.ts +6 -0
- package/components/maps/components/GpsMap/hooks/useDisableZoomEvents/index.js +21 -0
- package/components/maps/components/GpsMap/hooks/useMapStore/index.d.ts +6 -0
- package/components/maps/components/GpsMap/hooks/useMapStore/index.js +13 -0
- package/components/maps/components/GpsMap/icons.d.ts +45 -0
- package/components/maps/components/GpsMap/icons.js +39 -0
- package/components/maps/components/GpsMap/index.d.ts +9 -0
- package/components/maps/components/GpsMap/index.js +1 -0
- package/components/maps/components/GpsMap/pluginLayers/PolylineWithArrows/index.d.ts +11 -0
- package/components/maps/components/GpsMap/pluginLayers/PolylineWithArrows/index.js +74 -0
- package/components/maps/components/GpsMap/pluginLayers/index.d.ts +1 -0
- package/components/maps/components/GpsMap/pluginLayers/index.js +1 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/MapPopupDevice.d.ts +7 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/MapPopupDevice.js +30 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/MapPopupDevice.styles.d.ts +2 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/MapPopupDevice.styles.js +146 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/constants.d.ts +5 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/constants.js +8 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/dictionary.d.ts +16 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/dictionary.js +20 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/index.d.ts +2 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/index.js +1 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/slots/MapPopupDeviceSlots.d.ts +33 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/slots/MapPopupDeviceSlots.js +63 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/slots/slots.d.ts +13 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/slots/slots.js +17 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/subcomponents/Content/GpsDeviceContent.d.ts +6 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/subcomponents/Content/GpsDeviceContent.js +122 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/subcomponents/Header/GpsDeviceHeader.d.ts +5 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/subcomponents/Header/GpsDeviceHeader.js +22 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/subcomponents/PropertyValue/index.d.ts +5 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/subcomponents/PropertyValue/types.d.ts +6 -0
- package/components/maps/components/GpsMap/popups/MapPopupDevice/types.d.ts +10 -0
- package/components/maps/components/GpsMap/popups/index.d.ts +1 -0
- package/components/maps/components/GpsMap/popups/index.js +1 -0
- package/components/maps/components/GpsMap/popups/types.d.ts +10 -0
- package/components/maps/components/GpsMap/slots/GpsMapSlots.d.ts +4 -0
- package/components/maps/components/GpsMap/slots/GpsMapSlots.js +24 -0
- package/components/maps/components/GpsMap/slots/slots.d.ts +6 -0
- package/components/maps/components/GpsMap/slots/slots.js +10 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/index.d.ts +17 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/index.js +32 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/index.d.ts +4 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/index.js +13 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/index.d.ts +10 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/index.js +58 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useCheckedLayers.d.ts +9 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useCheckedLayers.js +17 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useColumns.d.ts +18 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useColumns.js +139 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useMaster.d.ts +12 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useMaster.js +52 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.d.ts +8 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.js +43 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/index.d.ts +4 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/index.js +30 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/model.d.ts +26 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/index.d.ts +4 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/index.js +133 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/bing.d.ts +2 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/bing.js +39 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/google.d.ts +4 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/google.js +73 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/osm.d.ts +2 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/osm.js +25 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/utils.d.ts +4 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/utils.js +19 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/types.d.ts +4 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/types.d.ts +5 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/index.d.ts +11 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/index.js +103 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/constants.d.ts +30 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/constants.js +34 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/helpers.d.ts +11 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/helpers.js +45 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/index.d.ts +13 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/index.js +245 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/types.d.ts +13 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useValidation.d.ts +13 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useValidation.js +17 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/index.d.ts +4 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/index.js +40 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/model.d.ts +17 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.d.ts +5 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.js +32 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/types.d.ts +6 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/validations.d.ts +2 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/validations.js +6 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MyActions/index.d.ts +4 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MyActions/index.js +31 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/types.d.ts +9 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ZoomButtons/index.d.ts +4 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ZoomButtons/index.js +52 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/types.d.ts +7 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/types.d.ts +22 -0
- package/components/maps/components/GpsMap/subcomponents/LayersContainer/index.d.ts +5 -0
- package/components/maps/components/GpsMap/subcomponents/LayersContainer/index.js +33 -0
- package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/MyLayer/index.d.ts +14 -0
- package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/MyLayer/index.js +132 -0
- package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.d.ts +9 -0
- package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.js +24 -0
- package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/types.d.ts +11 -0
- package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/index.d.ts +11 -0
- package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/index.js +13 -0
- package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/types.d.ts +5 -0
- package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/MyLayer/types.d.ts +2 -0
- package/components/maps/components/GpsMap/subcomponents/TileLayers/index.d.ts +6 -0
- package/components/maps/components/GpsMap/subcomponents/TileLayers/index.js +27 -0
- package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerGoogle/index.d.ts +4 -0
- package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerGoogle/index.js +100 -0
- package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerOthers/index.d.ts +6 -0
- package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerOthers/index.js +35 -0
- package/components/maps/components/GpsMap/types.d.ts +56 -0
- package/components/maps/components/GpsMapTools/GpsMapTools.d.ts +4 -0
- package/components/maps/components/GpsMapTools/GpsMapTools.js +10 -0
- package/components/maps/components/GpsMapTools/classes/index.d.ts +7 -0
- package/components/maps/components/GpsMapTools/classes/index.js +21 -0
- package/components/maps/components/GpsMapTools/classes/types.d.ts +14 -0
- package/components/maps/components/GpsMapTools/constants.d.ts +8 -0
- package/components/maps/components/GpsMapTools/constants.js +71 -0
- package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/index.d.ts +21 -0
- package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/index.js +48 -0
- package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/store.d.ts +19 -0
- package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/store.js +155 -0
- package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/types.d.ts +160 -0
- package/components/maps/components/GpsMapTools/dictionary.d.ts +62 -0
- package/components/maps/components/GpsMapTools/dictionary.js +66 -0
- package/components/maps/components/GpsMapTools/hooks/useGpsMapToolsStore/index.d.ts +5 -0
- package/components/maps/components/GpsMapTools/hooks/useGpsMapToolsStore/index.js +13 -0
- package/components/maps/components/GpsMapTools/hooks/useLayers/index.d.ts +4 -0
- package/components/maps/components/GpsMapTools/hooks/useLayers/index.js +57 -0
- package/components/maps/components/GpsMapTools/icons.d.ts +23 -0
- package/components/maps/components/GpsMapTools/icons.js +22 -0
- package/components/maps/components/GpsMapTools/index.d.ts +4 -0
- package/components/maps/components/GpsMapTools/index.js +1 -0
- package/components/maps/components/GpsMapTools/styles.d.ts +1 -0
- package/components/maps/components/GpsMapTools/styles.js +18 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/index.d.ts +9 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/index.js +84 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/constants.d.ts +20 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/constants.js +40 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/helpers.d.ts +34 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/helpers.js +77 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts +14 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useDrawing.js +216 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSubmit.d.ts +11 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSubmit.js +63 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.d.ts +5 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.js +36 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useValidation.d.ts +25 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useValidation.js +19 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/index.d.ts +5 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/index.js +71 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/styles.d.ts +1 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/styles.js +8 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.d.ts +4 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.js +51 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/types.d.ts +6 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.d.ts +8 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.js +11 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.d.ts +4 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.js +128 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +7 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.d.ts +9 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.js +12 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.d.ts +5 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.js +55 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/types.d.ts +2 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +4 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.js +76 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/types.d.ts +7 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.d.ts +4 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.js +12 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.d.ts +4 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.js +46 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.d.ts +4 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.js +86 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +10 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/types.d.ts +27 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedFeatures.d.ts +9 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedFeatures.js +86 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedGeofences.d.ts +7 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedGeofences.js +85 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.d.ts +12 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.js +114 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useMaster.d.ts +22 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useMaster.js +164 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +12 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.js +113 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/index.d.ts +4 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/index.js +73 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/styles.d.ts +1 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/styles.js +8 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/subcomponents/Filter/index.d.ts +9 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/subcomponents/Filter/index.js +49 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/constants.d.ts +7 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/constants.js +13 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/model.d.ts +114 -0
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/types.d.ts +7 -0
- package/components/maps/components/GpsMapTools/types.d.ts +34 -0
- package/components/maps/index.d.ts +4 -0
- package/components/maps/index.js +1 -0
- package/components/maps/utils/courseToCartesianAngle.d.ts +6 -0
- package/components/maps/utils/courseToCartesianAngle.js +8 -0
- package/components/maps/utils/courseToCssAngle.d.ts +9 -0
- package/components/maps/utils/courseToCssAngle.js +13 -0
- package/components/maps/utils/index.d.ts +6 -0
- package/components/maps/utils/index.js +1 -0
- package/components/maps/utils/isFeature.d.ts +2 -0
- package/components/maps/utils/isFeature.js +6 -0
- package/components/maps/utils/isFeatureCollection.d.ts +2 -0
- package/components/maps/utils/isFeatureCollection.js +6 -0
- package/components/maps/utils/isFeatureCollectionDraft.d.ts +6 -0
- package/components/maps/utils/isFeatureCollectionDraft.js +6 -0
- package/components/maps/utils/isGeometry.d.ts +2 -0
- package/components/maps/utils/isGeometry.js +6 -0
- package/contexts/RealTimeConsumerContext/RealTimeConsumerContext.d.ts +11 -0
- package/contexts/RealTimeConsumerContext/RealTimeConsumerContext.js +39 -0
- package/contexts/RealTimeConsumerContext/constants.d.ts +3 -0
- package/contexts/RealTimeConsumerContext/constants.js +8 -0
- package/contexts/RealTimeConsumerContext/index.d.ts +3 -0
- package/contexts/RealTimeConsumerContext/index.js +1 -0
- package/contexts/RealTimeConsumerContext/store.d.ts +6 -0
- package/contexts/RealTimeConsumerContext/store.js +115 -0
- package/contexts/RealTimeConsumerContext/types.d.ts +64 -0
- package/contexts/RealTimeProducerContext/RealTimeProducerContext.d.ts +11 -0
- package/contexts/RealTimeProducerContext/RealTimeProducerContext.js +20 -0
- package/contexts/RealTimeProducerContext/constants.d.ts +6 -0
- package/contexts/RealTimeProducerContext/constants.js +12 -0
- package/contexts/RealTimeProducerContext/index.d.ts +4 -0
- package/contexts/RealTimeProducerContext/index.js +1 -0
- package/contexts/RealTimeProducerContext/sourceDataMechanisms/athmospherejs/index.d.ts +33 -0
- package/contexts/RealTimeProducerContext/sourceDataMechanisms/athmospherejs/index.js +140 -0
- package/contexts/RealTimeProducerContext/sourceDataMechanisms/athmospherejs/types.d.ts +28 -0
- package/contexts/RealTimeProducerContext/sourceDataMechanisms/base.d.ts +15 -0
- package/contexts/RealTimeProducerContext/sourceDataMechanisms/base.js +14 -0
- package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/constants.d.ts +23 -0
- package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/constants.js +136 -0
- package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/dummy.d.ts +23 -0
- package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/dummy.js +66 -0
- package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/group.d.ts +36 -0
- package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/group.js +45 -0
- package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/helpers.d.ts +10 -0
- package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/helpers.js +15 -0
- package/contexts/RealTimeProducerContext/sourceDataMechanisms/factory.d.ts +12 -0
- package/contexts/RealTimeProducerContext/sourceDataMechanisms/factory.js +20 -0
- package/contexts/RealTimeProducerContext/store.d.ts +6 -0
- package/contexts/RealTimeProducerContext/store.js +136 -0
- package/contexts/RealTimeProducerContext/types.d.ts +196 -0
- package/contexts/index.d.ts +2 -0
- package/contexts/index.js +1 -0
- package/formatters/CourseFormatter/CourseFormatter.d.ts +14 -0
- package/formatters/CourseFormatter/CourseFormatter.js +33 -0
- package/formatters/CourseFormatter/CourseFormatter.styles.d.ts +2 -0
- package/formatters/CourseFormatter/CourseFormatter.styles.js +23 -0
- package/formatters/CourseFormatter/constants.d.ts +3 -0
- package/formatters/CourseFormatter/constants.js +6 -0
- package/formatters/CourseFormatter/dictionary.d.ts +12 -0
- package/formatters/CourseFormatter/dictionary.js +18 -0
- package/formatters/CourseFormatter/helper.d.ts +4 -0
- package/formatters/CourseFormatter/helper.js +28 -0
- package/formatters/CourseFormatter/index.d.ts +2 -0
- package/formatters/CourseFormatter/index.js +1 -0
- package/formatters/CourseFormatter/slots/CourseFormatterEnum.d.ts +3 -0
- package/formatters/CourseFormatter/slots/CourseFormatterEnum.js +7 -0
- package/formatters/CourseFormatter/slots/CourseFormatterSlots.d.ts +3 -0
- package/formatters/CourseFormatter/slots/CourseFormatterSlots.js +12 -0
- package/formatters/CourseFormatter/test/CourserFormatter.test.d.ts +1 -0
- package/formatters/CourseFormatter/types.d.ts +24 -0
- package/formatters/index.d.ts +1 -0
- package/hooks/index.d.ts +2 -0
- package/hooks/index.js +1 -0
- package/hooks/useRealTimeConsumer/index.d.ts +6 -0
- package/hooks/useRealTimeConsumer/index.js +13 -0
- package/hooks/useRealTimeProducer/index.d.ts +6 -0
- package/hooks/useRealTimeProducer/index.js +13 -0
- package/index.d.ts +9 -0
- package/index.js +90 -0
- package/mockServiceWorker.js +307 -0
- package/not_recognized/index.js +406 -0
- package/package.json +93 -0
- package/test/HostThemeProviderMock.d.ts +10 -0
- package/test/TestAppWrapper.d.ts +29 -0
- package/test/TestFormAutoValidation.d.ts +4 -0
- package/test/constants.d.ts +69 -0
- package/test/constants_no_mock.d.ts +1 -0
- package/test/getNameDataTestId.d.ts +15 -0
- package/test/getNameDataTestId.js +16 -0
- package/test/index.d.ts +4 -0
- package/test/mocks.d.ts +27 -0
- package/test/setup.d.ts +0 -0
- package/test/types.d.ts +4 -0
- package/test/utils.d.ts +29 -0
- package/utils/ObjectQueue.d.ts +18 -0
- package/utils/ObjectQueue.js +33 -0
- package/utils/capitalizeFirstLetter.d.ts +4 -0
- package/utils/capitalizeFirstLetter.js +10 -0
- package/utils/containerQuery.d.ts +5 -0
- package/utils/formatDistanceToNow/formatDistanteToNow.d.ts +5 -0
- package/utils/formatDistanceToNow/index.d.ts +2 -0
- package/utils/formatDistanceToNow/types.d.ts +21 -0
- package/utils/getComponentSlotRoot.d.ts +9 -0
- package/utils/getComponentSlotRoot.js +13 -0
- package/utils/getComponentUtilityClass.d.ts +1 -0
- package/utils/getComponentUtilityClass.js +7 -0
- package/utils/getPaletteColor.d.ts +5 -0
- package/utils/getPaletteColor.js +18 -0
- package/utils/getSizeStyles/_test_/getSizeStyles.test.d.ts +1 -0
- package/utils/getSizeStyles/getSizeStyles.d.ts +28 -0
- package/utils/getSizeStyles/getSizeStyles.js +13 -0
- package/utils/getSizeStyles/index.d.ts +1 -0
- package/utils/getSizeStyles/index.js +1 -0
- package/utils/getThemeVariantColor.d.ts +6 -0
- package/utils/getTransformXY.d.ts +7 -0
- package/utils/getTypographyStyles.d.ts +11 -0
- package/utils/getTypographyStyles.js +8 -0
- package/utils/index.d.ts +8 -0
- package/utils/index.js +1 -0
- package/utils/isValidDate.d.ts +1 -0
- package/utils/isValidDate.js +6 -0
- package/utils/types.d.ts +23 -0
- package/vite-env.d.ts +4 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TODO: Documentar
|
|
3
|
+
*/
|
|
4
|
+
export class LRUMap {
|
|
5
|
+
/**
|
|
6
|
+
* TODO: Documentar
|
|
7
|
+
*/
|
|
8
|
+
constructor(limit: any, entries: any);
|
|
9
|
+
size: number;
|
|
10
|
+
limit: any;
|
|
11
|
+
oldest: any;
|
|
12
|
+
newest: any;
|
|
13
|
+
_keymap: Map<any, any>;
|
|
14
|
+
/**
|
|
15
|
+
* TODO: Documentar
|
|
16
|
+
*/
|
|
17
|
+
_markEntryAsUsed(entry: any): void;
|
|
18
|
+
/**
|
|
19
|
+
* TODO: Documentar
|
|
20
|
+
*/
|
|
21
|
+
assign(entries: any): void;
|
|
22
|
+
/**
|
|
23
|
+
* TODO: Documentar
|
|
24
|
+
*/
|
|
25
|
+
get(key: any): any;
|
|
26
|
+
/**
|
|
27
|
+
* TODO: Documentar
|
|
28
|
+
*/
|
|
29
|
+
set(key: any, value: any): this;
|
|
30
|
+
/**
|
|
31
|
+
* TODO: Documentar
|
|
32
|
+
*/
|
|
33
|
+
shift(): any[] | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* TODO: Documentar
|
|
36
|
+
*/
|
|
37
|
+
find(key: any): any;
|
|
38
|
+
has(key: any): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* TODO: Documentar
|
|
41
|
+
*/
|
|
42
|
+
delete(key: any): any;
|
|
43
|
+
/**
|
|
44
|
+
* TODO: Documentar
|
|
45
|
+
*/
|
|
46
|
+
clear(): void;
|
|
47
|
+
keys(): KeyIterator;
|
|
48
|
+
values(): ValueIterator;
|
|
49
|
+
entries(): this;
|
|
50
|
+
/**
|
|
51
|
+
* TODO: Documentar
|
|
52
|
+
*/
|
|
53
|
+
forEach(fun: any, thisObj: any): void;
|
|
54
|
+
/** Returns a JSON (array) representation */
|
|
55
|
+
toJSON(): any[];
|
|
56
|
+
/** Returns a String representation */
|
|
57
|
+
toString(): string;
|
|
58
|
+
[Symbol.iterator](): EntryIterator;
|
|
59
|
+
}
|
|
60
|
+
declare function KeyIterator(oldestEntry: any): void;
|
|
61
|
+
declare class KeyIterator {
|
|
62
|
+
constructor(oldestEntry: any);
|
|
63
|
+
entry: any;
|
|
64
|
+
/**
|
|
65
|
+
* TODO: Documentar
|
|
66
|
+
*/
|
|
67
|
+
next(): {
|
|
68
|
+
done: boolean;
|
|
69
|
+
value: any;
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
declare function ValueIterator(oldestEntry: any): void;
|
|
73
|
+
declare class ValueIterator {
|
|
74
|
+
constructor(oldestEntry: any);
|
|
75
|
+
entry: any;
|
|
76
|
+
/**
|
|
77
|
+
* TODO: Documentar
|
|
78
|
+
*/
|
|
79
|
+
next(): {
|
|
80
|
+
done: boolean;
|
|
81
|
+
value: any;
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
declare function EntryIterator(oldestEntry: any): void;
|
|
85
|
+
declare class EntryIterator {
|
|
86
|
+
constructor(oldestEntry: any);
|
|
87
|
+
entry: any;
|
|
88
|
+
/**
|
|
89
|
+
* TODO: Documentar
|
|
90
|
+
*/
|
|
91
|
+
next(): {
|
|
92
|
+
done: boolean;
|
|
93
|
+
value: any[];
|
|
94
|
+
} | {
|
|
95
|
+
done: boolean;
|
|
96
|
+
value: undefined;
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import 'leaflet';
|
|
2
|
+
declare module 'leaflet' {
|
|
3
|
+
namespace gridLayer {
|
|
4
|
+
interface GoogleMutant extends GridLayer {
|
|
5
|
+
setElementSize(e: HTMLElement, size: Point): void;
|
|
6
|
+
/**
|
|
7
|
+
* Add additional Google Maps layer.
|
|
8
|
+
*
|
|
9
|
+
* https://developers.google.com/maps/documentation/javascript/trafficlayer
|
|
10
|
+
* @param googleLayerName such as BicyclingLayer, TrafficLayer, or TransitLayer.
|
|
11
|
+
* @param options? constructor arguments to pass through to the google layer.
|
|
12
|
+
* @returns Promise for the native Google Maps Layer instance.
|
|
13
|
+
*/
|
|
14
|
+
addGoogleLayer(googleLayerName: string, options?: object): Promise<object>;
|
|
15
|
+
/**
|
|
16
|
+
* Removes Google Maps layer.
|
|
17
|
+
*
|
|
18
|
+
* https://developers.google.com/maps/documentation/javascript/trafficlayer
|
|
19
|
+
* @param googleLayerName such as BicyclingLayer, TrafficLayer, or TransitLayer.
|
|
20
|
+
*/
|
|
21
|
+
removeGoogleLayer(googleLayerName: string): void;
|
|
22
|
+
}
|
|
23
|
+
type GoogleMutantType = 'roadmap' | 'satellite' | 'terrain' | 'hybrid';
|
|
24
|
+
interface GoogleMutantStyler {
|
|
25
|
+
hue?: string | undefined;
|
|
26
|
+
lightness?: number | undefined;
|
|
27
|
+
saturation?: number | undefined;
|
|
28
|
+
gamma?: number | undefined;
|
|
29
|
+
invert_lightness?: boolean | undefined;
|
|
30
|
+
visibility?: string | undefined;
|
|
31
|
+
color?: string | undefined;
|
|
32
|
+
weight?: number | undefined;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Google's map style.
|
|
36
|
+
*
|
|
37
|
+
* https://developers.google.com/maps/documentation/javascript/style-reference
|
|
38
|
+
*/
|
|
39
|
+
interface GoogleMutantStyle {
|
|
40
|
+
/**
|
|
41
|
+
* https://developers.google.com/maps/documentation/javascript/style-reference#style-features
|
|
42
|
+
*/
|
|
43
|
+
featureType?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* https://developers.google.com/maps/documentation/javascript/style-reference#style-elements
|
|
46
|
+
*/
|
|
47
|
+
elementType?: string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* https://developers.google.com/maps/documentation/javascript/style-reference#stylers
|
|
50
|
+
*/
|
|
51
|
+
stylers?: GoogleMutantStyler[] | undefined;
|
|
52
|
+
}
|
|
53
|
+
interface GoogleMutantOptions extends TileLayerOptions {
|
|
54
|
+
minZoom?: number | undefined;
|
|
55
|
+
maxZoom?: number | undefined;
|
|
56
|
+
maxNativeZoom?: number | undefined;
|
|
57
|
+
tileSize?: number | Point | undefined;
|
|
58
|
+
subdomains?: string | string[] | undefined;
|
|
59
|
+
errorTileUrl?: string | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* The mutant container will add its own attribution anyways.
|
|
62
|
+
*/
|
|
63
|
+
attribution?: string | undefined;
|
|
64
|
+
opacity?: number | undefined;
|
|
65
|
+
continuousWorld?: boolean | undefined;
|
|
66
|
+
noWrap?: boolean | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Google's map type. 'hybrid' is not really supported.
|
|
69
|
+
*/
|
|
70
|
+
type?: GoogleMutantType | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* Google's map styles.
|
|
73
|
+
*/
|
|
74
|
+
styles?: GoogleMutantStyle[] | undefined;
|
|
75
|
+
}
|
|
76
|
+
function googleMutant(options?: GoogleMutantOptions): GoogleMutant;
|
|
77
|
+
// Remove the duplicate declaration of GoogleMutantType
|
|
78
|
+
interface GoogleMutantStyler {
|
|
79
|
+
hue?: string | undefined;
|
|
80
|
+
lightness?: number | undefined;
|
|
81
|
+
saturation?: number | undefined;
|
|
82
|
+
gamma?: number | undefined;
|
|
83
|
+
invert_lightness?: boolean | undefined;
|
|
84
|
+
visibility?: string | undefined;
|
|
85
|
+
color?: string | undefined;
|
|
86
|
+
weight?: number | undefined;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Google's map style.
|
|
90
|
+
*
|
|
91
|
+
* https://developers.google.com/maps/documentation/javascript/style-reference
|
|
92
|
+
*/
|
|
93
|
+
interface GoogleMutantStyle {
|
|
94
|
+
/**
|
|
95
|
+
* https://developers.google.com/maps/documentation/javascript/style-reference#style-features
|
|
96
|
+
*/
|
|
97
|
+
featureType?: string | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* https://developers.google.com/maps/documentation/javascript/style-reference#style-elements
|
|
100
|
+
*/
|
|
101
|
+
elementType?: string | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* https://developers.google.com/maps/documentation/javascript/style-reference#stylers
|
|
104
|
+
*/
|
|
105
|
+
stylers?: GoogleMutantStyler[] | undefined;
|
|
106
|
+
}
|
|
107
|
+
interface GoogleMutantOptions extends TileLayerOptions {
|
|
108
|
+
minZoom?: number | undefined;
|
|
109
|
+
maxZoom?: number | undefined;
|
|
110
|
+
maxNativeZoom?: number | undefined;
|
|
111
|
+
tileSize?: number | Point | undefined;
|
|
112
|
+
subdomains?: string | string[] | undefined;
|
|
113
|
+
errorTileUrl?: string | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* The mutant container will add its own attribution anyways.
|
|
116
|
+
*/
|
|
117
|
+
attribution?: string | undefined;
|
|
118
|
+
opacity?: number | undefined;
|
|
119
|
+
continuousWorld?: boolean | undefined;
|
|
120
|
+
noWrap?: boolean | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* Google's map type. 'hybrid' is not really supported.
|
|
123
|
+
*/
|
|
124
|
+
type?: GoogleMutantType | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* Google's map styles.
|
|
127
|
+
*/
|
|
128
|
+
styles?: GoogleMutantStyle[] | undefined;
|
|
129
|
+
}
|
|
130
|
+
function googleMutant(options?: GoogleMutantOptions): GoogleMutant;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FALLBACK_SVG = "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8IS0tIENyZWF0b3I6IENvcmVsRFJBVyBYOCAtLT4NCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWw6c3BhY2U9InByZXNlcnZlIiBoZWlnaHQ9IjI5IiB3aWR0aD0iNjIiIHZlcnNpb249IjEuMSIgc3R5bGU9InNoYXBlLXJlbmRlcmluZzpnZW9tZXRyaWNQcmVjaXNpb247IHRleHQtcmVuZGVyaW5nOmdlb21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ZnPg0K";
|
|
2
|
+
export {
|
|
3
|
+
FALLBACK_SVG as F
|
|
4
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentRenderPropFeature } from '../../contexts/MapContext';
|
|
2
|
+
/**
|
|
3
|
+
* "CommonFeatureRender" es un renderizador de features común, que se utiliza para renderizar
|
|
4
|
+
* los features de los layers
|
|
5
|
+
* @param props
|
|
6
|
+
* @returns
|
|
7
|
+
*/
|
|
8
|
+
export declare const CommonFeatureRender: ComponentRenderPropFeature;
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { Circle, Polyline, Polygon } from "react-leaflet";
|
|
3
|
+
import { shallow } from "zustand/shallow";
|
|
4
|
+
import { u as useMapStore } from "../../hooks/useMapStore/index.js";
|
|
5
|
+
import React, { useState, useEffect, useCallback } from "react";
|
|
6
|
+
import { M as MARKER_COLOR_DEFAULT, L as LABEL_BK_COLOR_DEFAULT, a as LABEL_COLOR_DEFAULT, S as SVG_ICON_DEFAULT } from "../../constants.js";
|
|
7
|
+
import { M as MarkerIconLabel } from "../MarkerIconLabel/index.js";
|
|
8
|
+
import { F as FALLBACK_SVG } from "./constants.js";
|
|
9
|
+
import { P as PolylineWithArrows } from "../../pluginLayers/PolylineWithArrows/index.js";
|
|
10
|
+
const CommonFeatureRender = (props) => {
|
|
11
|
+
const { id, layerId } = props;
|
|
12
|
+
const feature = useMapStore((state) => {
|
|
13
|
+
const gObject = state.hashLayers[layerId].geoJsonObject;
|
|
14
|
+
if (!gObject) {
|
|
15
|
+
return null;
|
|
16
|
+
}
|
|
17
|
+
if (gObject.object.type === "Feature") {
|
|
18
|
+
return {
|
|
19
|
+
id: gObject.object.id,
|
|
20
|
+
geometry: gObject.object.geometry,
|
|
21
|
+
properties: gObject.object.properties,
|
|
22
|
+
featureLabel: gObject.object.featureLabel,
|
|
23
|
+
popupRender: state.hashLayers[layerId].popupComponent,
|
|
24
|
+
popupOptions: state.hashLayers[layerId].popupOptions
|
|
25
|
+
};
|
|
26
|
+
} else {
|
|
27
|
+
const feat = gObject.object.features.find((f) => f.id === id);
|
|
28
|
+
if (feat) {
|
|
29
|
+
return {
|
|
30
|
+
id: feat.id,
|
|
31
|
+
geometry: feat.geometry,
|
|
32
|
+
properties: feat.properties,
|
|
33
|
+
featureLabel: feat.featureLabel,
|
|
34
|
+
popupRender: state.hashLayers[layerId].popupComponent,
|
|
35
|
+
popupOptions: state.hashLayers[layerId].popupOptions
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
}, shallow);
|
|
41
|
+
const { addLayerDataToFeature } = useMapStore((state) => state.mapActions, shallow);
|
|
42
|
+
const [svg, setSvg] = useState(null);
|
|
43
|
+
useEffect(() => {
|
|
44
|
+
if (!feature) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
if (feature.geometry?.type === "Point" && (feature.properties?.subType === "Marker" || feature.properties?.subType === void 0)) {
|
|
48
|
+
const { iconUrl, markerColor = MARKER_COLOR_DEFAULT } = feature?.properties;
|
|
49
|
+
const fetchData = async () => {
|
|
50
|
+
if (svg && svg.path === iconUrl && svg.color === markerColor) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
let data;
|
|
54
|
+
if (iconUrl) {
|
|
55
|
+
try {
|
|
56
|
+
data = await fetch(iconUrl).then((i) => i.text());
|
|
57
|
+
} catch (_e) {
|
|
58
|
+
data = FALLBACK_SVG;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
if (!data) {
|
|
62
|
+
data = SVG_ICON_DEFAULT;
|
|
63
|
+
}
|
|
64
|
+
data = "data:image/svg+xml;base64," + btoa((data || "").replace(/#1E96DC/g, markerColor));
|
|
65
|
+
setSvg({
|
|
66
|
+
color: markerColor,
|
|
67
|
+
path: iconUrl,
|
|
68
|
+
data
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
fetchData();
|
|
72
|
+
}
|
|
73
|
+
}, [feature]);
|
|
74
|
+
const onAddPointLayer = useCallback((e) => {
|
|
75
|
+
if (!feature) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
const layerData = {
|
|
79
|
+
// visible: true,
|
|
80
|
+
boundsNW: e.target?._latlng,
|
|
81
|
+
boundsSE: e.target?._latlng,
|
|
82
|
+
getTarget: () => e.target
|
|
83
|
+
// {
|
|
84
|
+
// id: e.target?._leaflet_id,
|
|
85
|
+
// openPopup: e.target?.openPopup,
|
|
86
|
+
// },
|
|
87
|
+
// target: e.target,
|
|
88
|
+
};
|
|
89
|
+
addLayerDataToFeature(layerId, feature.id, layerData);
|
|
90
|
+
}, [feature]);
|
|
91
|
+
const onAddMultipointLayer = useCallback((e) => {
|
|
92
|
+
if (!feature) {
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
const layerData = {
|
|
96
|
+
// visible: true,
|
|
97
|
+
boundsNW: e.target.getBounds().getNorthWest(),
|
|
98
|
+
boundsSE: e.target.getBounds().getSouthEast(),
|
|
99
|
+
getTarget: () => e.target
|
|
100
|
+
// target: e.target,
|
|
101
|
+
};
|
|
102
|
+
addLayerDataToFeature(layerId, feature.id, layerData);
|
|
103
|
+
}, [feature, addLayerDataToFeature, layerId]);
|
|
104
|
+
if (!feature) {
|
|
105
|
+
return null;
|
|
106
|
+
}
|
|
107
|
+
const propFeature = {
|
|
108
|
+
featureId: feature.id
|
|
109
|
+
};
|
|
110
|
+
if (feature.geometry?.type === "Point") {
|
|
111
|
+
const [lng, lat] = feature.geometry.coordinates;
|
|
112
|
+
if (feature.properties?.subType === "Marker" || feature.properties?.subType === void 0) {
|
|
113
|
+
const {
|
|
114
|
+
iconUrl,
|
|
115
|
+
iconRotate = 0,
|
|
116
|
+
scaleIcon = 1,
|
|
117
|
+
iconHeight,
|
|
118
|
+
iconWidth,
|
|
119
|
+
className,
|
|
120
|
+
label,
|
|
121
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
122
|
+
markerColor = MARKER_COLOR_DEFAULT,
|
|
123
|
+
labelBkColor = LABEL_BK_COLOR_DEFAULT,
|
|
124
|
+
labelColor = LABEL_COLOR_DEFAULT,
|
|
125
|
+
offsetLeftTop = [42, 0],
|
|
126
|
+
...styleProperties
|
|
127
|
+
} = feature.properties;
|
|
128
|
+
if (iconUrl && !svg) {
|
|
129
|
+
return null;
|
|
130
|
+
}
|
|
131
|
+
return /* @__PURE__ */ jsx(
|
|
132
|
+
MarkerIconLabel,
|
|
133
|
+
{
|
|
134
|
+
position: { lat, lng },
|
|
135
|
+
...{
|
|
136
|
+
label,
|
|
137
|
+
iconSrc: svg?.data,
|
|
138
|
+
iconScale: scaleIcon,
|
|
139
|
+
iconRotate,
|
|
140
|
+
iconWidth,
|
|
141
|
+
iconHeight,
|
|
142
|
+
labelBkColor,
|
|
143
|
+
labelColor,
|
|
144
|
+
offsetLeftTop
|
|
145
|
+
},
|
|
146
|
+
draggable: false,
|
|
147
|
+
eventHandlers: {
|
|
148
|
+
add: onAddPointLayer
|
|
149
|
+
},
|
|
150
|
+
popupRender: feature.popupRender,
|
|
151
|
+
properties: feature.properties,
|
|
152
|
+
popupOptions: feature.popupOptions,
|
|
153
|
+
...styleProperties,
|
|
154
|
+
...propFeature
|
|
155
|
+
}
|
|
156
|
+
);
|
|
157
|
+
} else if (feature.properties?.subType === "Circle" && feature.properties?.radius) {
|
|
158
|
+
const { subType, radius, ...styleProperties } = feature.properties;
|
|
159
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
160
|
+
/* @__PURE__ */ jsx(
|
|
161
|
+
Circle,
|
|
162
|
+
{
|
|
163
|
+
center: { lat, lng },
|
|
164
|
+
radius: feature.properties?.radius,
|
|
165
|
+
eventHandlers: {
|
|
166
|
+
add: onAddMultipointLayer
|
|
167
|
+
// remove: () => {
|
|
168
|
+
// removeLefletLayerToFeature(layerId, feature.id)
|
|
169
|
+
// },
|
|
170
|
+
},
|
|
171
|
+
...styleProperties,
|
|
172
|
+
...propFeature
|
|
173
|
+
},
|
|
174
|
+
Math.random()
|
|
175
|
+
),
|
|
176
|
+
feature?.featureLabel && /* @__PURE__ */ jsx(
|
|
177
|
+
MarkerIconLabel,
|
|
178
|
+
{
|
|
179
|
+
position: [lat + feature.properties.radius / 111319, lng],
|
|
180
|
+
...feature?.featureLabel
|
|
181
|
+
}
|
|
182
|
+
)
|
|
183
|
+
] });
|
|
184
|
+
}
|
|
185
|
+
} else if (feature.geometry?.type === "LineString") {
|
|
186
|
+
const polylinePositions = feature.geometry.coordinates.map(
|
|
187
|
+
(coord) => [coord[1], coord[0]]
|
|
188
|
+
);
|
|
189
|
+
if (feature.properties?.subType === "PolylineWithArrows") {
|
|
190
|
+
return /* @__PURE__ */ jsx(
|
|
191
|
+
PolylineWithArrows,
|
|
192
|
+
{
|
|
193
|
+
positions: polylinePositions,
|
|
194
|
+
stroke: true,
|
|
195
|
+
weight: 10,
|
|
196
|
+
eventHandlers: {
|
|
197
|
+
add: onAddMultipointLayer
|
|
198
|
+
// remove: () => {;
|
|
199
|
+
// removeLefletLayerToFeature(layerId, feature.id)
|
|
200
|
+
// },
|
|
201
|
+
},
|
|
202
|
+
dashArray: "20 30",
|
|
203
|
+
...feature.properties,
|
|
204
|
+
...propFeature
|
|
205
|
+
},
|
|
206
|
+
Math.random()
|
|
207
|
+
);
|
|
208
|
+
} else {
|
|
209
|
+
return /* @__PURE__ */ jsx(
|
|
210
|
+
Polyline,
|
|
211
|
+
{
|
|
212
|
+
positions: polylinePositions,
|
|
213
|
+
stroke: true,
|
|
214
|
+
weight: 10,
|
|
215
|
+
eventHandlers: {
|
|
216
|
+
add: onAddMultipointLayer
|
|
217
|
+
// remove: () => {
|
|
218
|
+
// removeLefletLayerToFeature(layerId, feature.id)
|
|
219
|
+
// },
|
|
220
|
+
},
|
|
221
|
+
dashArray: "20 30",
|
|
222
|
+
...feature.properties,
|
|
223
|
+
...propFeature
|
|
224
|
+
},
|
|
225
|
+
Math.random()
|
|
226
|
+
);
|
|
227
|
+
}
|
|
228
|
+
} else if (feature.geometry?.type === "Polygon") {
|
|
229
|
+
const polygonPositions = feature.geometry.coordinates.map(
|
|
230
|
+
(ring) => ring.map(([lng, lat]) => [lat, lng])
|
|
231
|
+
);
|
|
232
|
+
let topRightPoint = null;
|
|
233
|
+
polygonPositions[0].forEach((coord) => {
|
|
234
|
+
const [lat, lng] = coord;
|
|
235
|
+
if (!topRightPoint || lat >= topRightPoint[0] && lng >= topRightPoint[1]) {
|
|
236
|
+
topRightPoint = coord;
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
topRightPoint = topRightPoint || polygonPositions[0][0];
|
|
240
|
+
return /* @__PURE__ */ jsxs(React.Fragment, { children: [
|
|
241
|
+
/* @__PURE__ */ jsx(
|
|
242
|
+
Polygon,
|
|
243
|
+
{
|
|
244
|
+
positions: polygonPositions,
|
|
245
|
+
opacity: 1,
|
|
246
|
+
eventHandlers: {
|
|
247
|
+
add: onAddMultipointLayer
|
|
248
|
+
// remove: () => {
|
|
249
|
+
// removeLefletLayerToFeature(layerId, feature.id)
|
|
250
|
+
// },
|
|
251
|
+
},
|
|
252
|
+
...feature.properties,
|
|
253
|
+
...propFeature
|
|
254
|
+
}
|
|
255
|
+
),
|
|
256
|
+
feature?.featureLabel && /* @__PURE__ */ jsx(MarkerIconLabel, { position: topRightPoint, ...feature?.featureLabel })
|
|
257
|
+
] });
|
|
258
|
+
}
|
|
259
|
+
return null;
|
|
260
|
+
};
|
|
261
|
+
export {
|
|
262
|
+
CommonFeatureRender as C
|
|
263
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FALLBACK_SVG = "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoa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iTTg1IDMyYy0yLDMgLTMsNSAtNiw1bC01MCAwIDEgMmMwLDAgLTEsLTEgLTIsLTJsLTIwIDBjLTIsMCAtNSwtMiAtNywtNSAwLDAgLTEsLTUgLTEsLTEzIDAsLTcgMSwtMTEgMSwtMTEgMSwtMyA1LC02IDcsLTZsMjAgMGMxLC0xIDIsLTIgMiwtMmwtMSAyIDUwIDBjMywwIDUsMyA2LDYgMCwwIDEsNCAxLDExIDAsOCAtMSwxMyAtMSwxM3oiLz4NCiAgPC9nPg0KIDwvZz4NCjwvc3ZnPg0K";
|
|
2
|
+
export {
|
|
3
|
+
FALLBACK_SVG as F
|
|
4
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentRenderPropFeature } from '../../contexts/MapContext';
|
|
2
|
+
/**
|
|
3
|
+
* "DeviceFeatureRender" es un renderizador de Marker para los dispositivos gps
|
|
4
|
+
* Tiene en cuenta el deviceData para calcular el estado del dispositivo y renderizar el icono correspondiente
|
|
5
|
+
* @param props
|
|
6
|
+
* @returns
|
|
7
|
+
*/
|
|
8
|
+
export declare const DeviceFeatureRender: ComponentRenderPropFeature;
|