@m4l/components 9.1.124 → 9.1.126
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/@types/types.d.ts +19 -9
- package/components/Chip/Chip.js +1 -2
- package/components/Chip/ChipStyles.js +49 -35
- package/components/Chip/types.d.ts +0 -4
- package/components/CommonActions/classes/index.js +1 -1
- package/components/DataGrid/formatters/index.d.ts +1 -0
- package/components/DragResizeWindow/index.d.ts +1 -2
- package/components/DynamicFilter/DynamicFIlter.styles.js +1 -1
- package/components/DynamicFilter/constants.d.ts +3 -2
- package/components/DynamicFilter/constants.js +4 -2
- package/components/DynamicFilter/helpers/formatToInitialFilters.js +3 -3
- package/components/DynamicFilter/helpers/formatToRowFilter.js +6 -2
- package/components/DynamicFilter/helpers/getPurgedInitialFiltersApplied.d.ts +2 -2
- package/components/DynamicFilter/index.d.ts +1 -1
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +28 -28
- package/components/DynamicFilter/store/DynamicFilterContext.d.ts +1 -9
- package/components/DynamicFilter/store/DynamicFilterContext.js +7 -4
- package/components/DynamicFilter/store/DynamicFilterStore.d.ts +3 -199
- package/components/DynamicFilter/store/DynamicFilterStore.js +28 -14
- package/components/DynamicFilter/store/DynamicFilterStoreTypes.d.ts +200 -0
- package/components/DynamicFilter/store/useDynamicFilterStore.d.ts +1 -1
- package/components/DynamicFilter/store/useDynamicFilterStore.js +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/AppliedFilterChip.js +2 -2
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/useAppliedFilterChip.js +4 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/AppliedFilters.js +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/helpers.d.ts +5 -5
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/helpers.d.ts +5 -5
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/helpers.js +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/index.js +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/FieldTypeInterface.d.ts +5 -5
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/helpers.d.ts +5 -5
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/helpers.d.ts +42 -0
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/helpers.js +121 -0
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/index.d.ts +5 -0
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectAsyncFilter/index.js +49 -0
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/helpers.d.ts +7 -7
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/helpers.js +8 -12
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/index.js +5 -8
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/helpers.d.ts +5 -5
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/helpers.js +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/index.js +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/fieldFactory.d.ts +2 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/fieldFactory.js +2 -0
- package/components/DynamicFilter/subcomponents/InputFilter/InputFilter.js +8 -1
- package/components/DynamicFilter/subcomponents/InputFilter/useInputFilter.d.ts +7 -3
- package/components/DynamicFilter/subcomponents/InputFilter/useInputFilter.js +15 -14
- package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +4 -3
- package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.js +3 -2
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.d.ts +2 -2
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.js +5 -4
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/usePopoverMenuFields.d.ts +6 -4
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/usePopoverMenuFields.js +8 -5
- package/components/DynamicFilter/types.d.ts +52 -25
- package/components/DynamicSort/DynamicSort.js +14 -0
- package/components/DynamicSort/DynamicSort.styles.js +365 -0
- package/components/DynamicSort/constants.js +16 -0
- package/components/DynamicSort/dictionary.js +28 -0
- package/components/DynamicSort/helpers/formatToInitialSorts.js +12 -0
- package/components/DynamicSort/helpers/formatToRowSort.js +10 -0
- package/components/DynamicSort/helpers/getPurgedInitialSortApplyed.d.ts +2 -2
- package/components/DynamicSort/helpers/getPurgedInitialSortApplyed.js +55 -0
- package/components/DynamicSort/index.d.ts +1 -1
- package/components/DynamicSort/slots/DynamicSortSlots.js +146 -0
- package/components/DynamicSort/slots/SlotsEnum.js +34 -0
- package/components/DynamicSort/store/DynamicSortContext.js +76 -0
- package/components/DynamicSort/store/DynamicSortStore.d.ts +6 -6
- package/components/DynamicSort/store/DynamicSortStore.js +227 -0
- package/components/DynamicSort/store/useDynamicSortStore.js +14 -0
- package/components/DynamicSort/subcomponents/AppliedSortChip/AppliedSortChip.js +27 -0
- package/components/DynamicSort/subcomponents/AppliedSortChip/useAppliedSortChip.js +37 -0
- package/components/DynamicSort/subcomponents/AppliedSorts/AppliedSorts.js +15 -0
- package/components/DynamicSort/subcomponents/AppliedSorts/useAppliedSorts.js +15 -0
- package/components/DynamicSort/subcomponents/DynamicSortBase/DynamicSortBase.js +35 -0
- package/components/DynamicSort/subcomponents/DynamicSortBase/useDynamicSortBase.js +9 -0
- package/components/DynamicSort/subcomponents/FieldTypes/DataTypeComponent.js +16 -0
- package/components/DynamicSort/subcomponents/FieldTypes/FieldTypeInterface.d.ts +5 -5
- package/components/DynamicSort/subcomponents/FieldTypes/StringSort/helpers.d.ts +5 -5
- package/components/DynamicSort/subcomponents/FieldTypes/StringSort/helpers.js +84 -0
- package/components/DynamicSort/subcomponents/FieldTypes/StringSort/index.js +36 -0
- package/components/DynamicSort/subcomponents/FieldTypes/fieldFactory.js +17 -0
- package/components/DynamicSort/subcomponents/InputSort/InputSort.js +36 -0
- package/components/DynamicSort/subcomponents/InputSort/InputSortSkeleton.js +19 -0
- package/components/DynamicSort/subcomponents/InputSort/useInputSort.d.ts +2 -2
- package/components/DynamicSort/subcomponents/InputSort/useInputSort.js +132 -0
- package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.d.ts +2 -2
- package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.js +38 -0
- package/components/DynamicSort/subcomponents/PopoverMenuFields/usePopoverMenuFields.d.ts +3 -3
- package/components/DynamicSort/subcomponents/PopoverMenuFields/usePopoverMenuFields.js +29 -0
- package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.js +64 -0
- package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +2 -2
- package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.js +99 -0
- package/components/DynamicSort/subcomponents/SortActions/SortActions.js +44 -0
- package/components/DynamicSort/subcomponents/SortActions/SortActionsSkeleton.js +12 -0
- package/components/DynamicSort/subcomponents/SortActions/useSortActions.js +39 -0
- package/components/DynamicSort/types.d.ts +3 -3
- package/components/Icon/Icon.js +1 -1
- package/components/Icon/constants.js +2 -2
- package/components/Icon/slots/IconSlots.js +1 -1
- package/components/LoadingError/LoadingError.d.ts +37 -12
- package/components/LoadingError/LoadingError.js +82 -44
- package/components/LoadingError/LoadingError.styles.d.ts +2 -0
- package/components/LoadingError/LoadingError.styles.js +121 -0
- package/components/LoadingError/constants.d.ts +1 -0
- package/components/LoadingError/constants.js +4 -0
- package/components/LoadingError/dictionary.d.ts +7 -0
- package/components/LoadingError/dictionary.js +9 -1
- package/components/LoadingError/slots/LoadingErrorEnum.d.ts +13 -0
- package/components/LoadingError/slots/LoadingErrorEnum.js +17 -0
- package/components/LoadingError/slots/LoadingErrorSlots.d.ts +14 -0
- package/components/LoadingError/slots/LoadingErrorSlots.js +64 -0
- package/components/LoadingError/slots/index.d.ts +2 -0
- package/components/LoadingError/types.d.ts +16 -0
- package/components/MenuActions/MenuActions.js +21 -25
- package/components/ModalDialog/ModalDialog.js +21 -27
- package/components/ModalDialog/slots/ModalDialogSlots.d.ts +1 -1
- package/components/PrintingSystem/classes/index.js +1 -1
- package/components/PropertyValue/PropertyValue.js +7 -4
- package/components/PropertyValue/PropertyValue.styles.js +6 -6
- package/components/PropertyValue/slots/PropertyValueEnum.d.ts +1 -1
- package/components/PropertyValue/slots/PropertyValueEnum.js +1 -1
- package/components/PropertyValue/slots/PropertyValueSlots.d.ts +3 -3
- package/components/PropertyValue/slots/PropertyValueSlots.js +6 -6
- package/components/PropertyValue/types.d.ts +4 -4
- package/components/ScrollBar/ScrollBar.js +3 -1
- package/components/animate/index.d.ts +0 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +1 -2
- package/components/areas/components/AreasViewer/types.d.ts +1 -1
- package/components/commercial/AppBarCommercial/classes/index.js +1 -1
- package/components/commercial/SectionCommercial/classes/index.js +1 -1
- package/components/commercial/TopBar/classes/index.js +1 -1
- package/components/extended/React-Spinners/PropagateLoaderSpinner/index.d.ts +1 -0
- package/components/extended/React-Spinners/index.d.ts +1 -0
- package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/SplitLayout.js +3 -3
- package/components/extended/React-Splitter-Layout/index.d.ts +1 -0
- package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/types.d.ts +1 -1
- package/components/extended/React-Window/FixedSizeList/FixedSizeList.d.ts +6 -0
- package/components/extended/React-Window/FixedSizeList/FixedSizeList.js +11 -0
- package/components/extended/React-Window/FixedSizeList/FixedSizeList.styles.d.ts +2 -0
- package/components/extended/React-Window/FixedSizeList/FixedSizeList.styles.js +6 -0
- package/components/extended/React-Window/FixedSizeList/constants.d.ts +2 -0
- package/components/extended/React-Window/FixedSizeList/constants.js +7 -0
- package/components/extended/React-Window/FixedSizeList/index.d.ts +1 -0
- package/components/extended/React-Window/FixedSizeList/slots/FixedSizeListSlots.d.ts +4 -0
- package/components/extended/React-Window/FixedSizeList/slots/FixedSizeListSlots.js +14 -0
- package/components/extended/React-Window/FixedSizeList/slots/slots.d.ts +3 -0
- package/components/extended/React-Window/FixedSizeList/slots/slots.js +7 -0
- package/components/extended/React-Window/FixedSizeList/types.d.ts +9 -0
- package/components/extended/React-Window/VariableSizeList/VariableSizeList.d.ts +7 -0
- package/components/extended/React-Window/VariableSizeList/VariableSizeList.js +14 -0
- package/components/extended/React-Window/VariableSizeList/VariableSizeList.styles.d.ts +2 -0
- package/components/extended/React-Window/VariableSizeList/constants.d.ts +2 -0
- package/components/extended/React-Window/VariableSizeList/constants.js +6 -0
- package/components/extended/React-Window/VariableSizeList/index.d.ts +2 -0
- package/components/extended/React-Window/VariableSizeList/slots/VariableSizeListSlots.d.ts +4 -0
- package/components/extended/React-Window/VariableSizeList/slots/slots.d.ts +3 -0
- package/components/extended/React-Window/VariableSizeList/types.d.ts +9 -0
- package/components/extended/React-Window/index.d.ts +2 -0
- package/components/extended/index.d.ts +4 -0
- package/components/formatters/DistanceToNowFormatter/DistanceToNowFormatter.d.ts +2 -1
- package/components/formatters/DistanceToNowFormatter/DistanceToNowFormatter.js +22 -6
- package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.d.ts +1 -1
- package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.js +3 -2
- package/components/formatters/DistanceToNowFormatter/types.d.ts +11 -3
- package/components/index.d.ts +5 -6
- package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +1 -1
- package/components/mui_extended/MenuItem/MenuItem.js +2 -1
- package/components/mui_extended/MenuItem/MenuItem.styles.js +28 -21
- package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +6 -6
- package/components/mui_extended/MenuItem/types.d.ts +2 -2
- package/components/mui_extended/Popover/Popover.js +3 -0
- package/components/mui_extended/TabContext/index.js +2 -2
- package/components/mui_extended/Typography/typography.styles.js +1 -0
- package/components/mui_extended/index.d.ts +1 -0
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/PopupsContext.js +4 -4
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/store.js +1 -1
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +2 -2
- package/components/popups/components/PopupsProvider/hooks/usePopupsStore/index.js +1 -1
- package/contexts/index.d.ts +0 -1
- package/hooks/index.d.ts +3 -1
- package/hooks/useSvgColor/constants.d.ts +2 -1
- package/hooks/useSvgColor/constants.js +7 -5
- package/hooks/useSvgColor/helpers.js +3 -3
- package/hooks/useSvgColor/types.d.ts +3 -1
- package/hooks/useSvgColor/useSvgColor.js +10 -9
- package/hooks/useTab/index.js +1 -1
- package/index.d.ts +2 -0
- package/index.js +177 -174
- package/not_recognized/index.js +23261 -0
- package/package.json +4 -3
- package/patchLibErrors/defaultPropsError.d.ts +3 -0
- package/test/TestAppWrapper.d.ts +1 -1
- package/utils/ObjectQueue.d.ts +18 -0
- package/utils/ObjectQueue.js +33 -0
- package/utils/capitalizeFirstLetter.js +10 -1
- package/utils/getComponentUtilityClass.js +7 -0
- package/utils/getPaletteColor.js +18 -0
- package/utils/index.d.ts +8 -16
- package/utils/index.js +1 -11
- package/utils/isValidDate.js +6 -0
- package/vendor.js +171 -0
- package/.storybook/decorators/WithMapProvider/constants.d.ts +0 -2
- package/.storybook/decorators/WithMapProvider/index.d.ts +0 -1
- package/components/DynamicFilter/DynamicFilter.stories.d.ts +0 -29
- package/components/LoadingError/classes/constants.d.ts +0 -1
- package/components/LoadingError/classes/constants.js +0 -4
- package/components/LoadingError/classes/index.d.ts +0 -26
- package/components/LoadingError/classes/index.js +0 -39
- package/components/LoadingError/classes/types.d.ts +0 -14
- package/components/LoadingError/styles.d.ts +0 -1
- package/components/LoadingError/styles.js +0 -7
- package/components/formatters/CourseFormatter/CourseFormatter.d.ts +0 -14
- package/components/formatters/CourseFormatter/CourseFormatter.js +0 -33
- package/components/formatters/CourseFormatter/CourseFormatter.styles.d.ts +0 -2
- package/components/formatters/CourseFormatter/CourseFormatter.styles.js +0 -23
- package/components/formatters/CourseFormatter/constants.d.ts +0 -3
- package/components/formatters/CourseFormatter/constants.js +0 -6
- package/components/formatters/CourseFormatter/dictionary.d.ts +0 -12
- package/components/formatters/CourseFormatter/dictionary.js +0 -18
- package/components/formatters/CourseFormatter/helper.d.ts +0 -4
- package/components/formatters/CourseFormatter/helper.js +0 -28
- package/components/formatters/CourseFormatter/index.d.ts +0 -2
- package/components/formatters/CourseFormatter/slots/CourseFormatterEnum.d.ts +0 -3
- package/components/formatters/CourseFormatter/slots/CourseFormatterEnum.js +0 -7
- package/components/formatters/CourseFormatter/slots/CourseFormatterSlots.d.ts +0 -3
- package/components/formatters/CourseFormatter/slots/CourseFormatterSlots.js +0 -12
- package/components/formatters/CourseFormatter/types.d.ts +0 -24
- package/components/formatters/DistanceToNowFormatter/stories/basic.stories.d.ts +0 -157
- package/components/formatters/DistanceToNowFormatter/stories/constants.d.ts +0 -3
- package/components/formatters/DistanceToNowFormatter/stories/dictionary.d.ts +0 -0
- package/components/formatters/DistanceToNowFormatter/stories/subcomponents/WithDTNFProvider.d.ts +0 -6
- package/components/formatters/DistanceToNowFormatter/stories/types.d.ts +0 -3
- package/components/gclick/MyDevice/MyDevice.d.ts +0 -6
- package/components/gclick/MyDevice/MyDevice.js +0 -26
- package/components/gclick/MyDevice/MyDevice.styles.d.ts +0 -2
- package/components/gclick/MyDevice/MyDevice.styles.js +0 -22
- package/components/gclick/MyDevice/constants.d.ts +0 -2
- package/components/gclick/MyDevice/constants.js +0 -4
- package/components/gclick/MyDevice/index.d.ts +0 -1
- package/components/gclick/MyDevice/slots/MyDeviceSlots.d.ts +0 -3
- package/components/gclick/MyDevice/slots/MyDeviceSlots.js +0 -22
- package/components/gclick/MyDevice/slots/slots.d.ts +0 -5
- package/components/gclick/MyDevice/slots/slots.js +0 -9
- package/components/gclick/MyDevice/stories/basic.stories.d.ts +0 -9
- package/components/gclick/MyDevice/stories/constants.d.ts +0 -3
- package/components/gclick/MyDevice/stories/dictionary.d.ts +0 -0
- package/components/gclick/MyDevice/stories/subcomponents/WithMyDeviceProvider.d.ts +0 -2
- package/components/gclick/MyDevice/stories/types.d.ts +0 -3
- package/components/gclick/MyDevice/subcomponents/PropertyValue/index.d.ts +0 -5
- package/components/gclick/MyDevice/subcomponents/PropertyValue/types.d.ts +0 -5
- package/components/gclick/MyDevice/types.d.ts +0 -18
- package/components/gclick/MyDeviceStatus/MyDeviceStatus.d.ts +0 -6
- package/components/gclick/MyDeviceStatus/MyDeviceStatus.js +0 -68
- package/components/gclick/MyDeviceStatus/MyDeviceStatus.styles.d.ts +0 -2
- package/components/gclick/MyDeviceStatus/MyDeviceStatus.styles.js +0 -22
- package/components/gclick/MyDeviceStatus/constants.d.ts +0 -13
- package/components/gclick/MyDeviceStatus/constants.js +0 -17
- package/components/gclick/MyDeviceStatus/dictionary.d.ts +0 -13
- package/components/gclick/MyDeviceStatus/dictionary.js +0 -19
- package/components/gclick/MyDeviceStatus/icons.d.ts +0 -11
- package/components/gclick/MyDeviceStatus/icons.js +0 -14
- package/components/gclick/MyDeviceStatus/index.d.ts +0 -1
- package/components/gclick/MyDeviceStatus/slots/MyDeviceStatusSlots.d.ts +0 -3
- package/components/gclick/MyDeviceStatus/slots/MyDeviceStatusSlots.js +0 -22
- package/components/gclick/MyDeviceStatus/slots/slots.d.ts +0 -5
- package/components/gclick/MyDeviceStatus/slots/slots.js +0 -9
- package/components/gclick/MyDeviceStatus/stories/basic.stories.d.ts +0 -41
- package/components/gclick/MyDeviceStatus/stories/constants.d.ts +0 -3
- package/components/gclick/MyDeviceStatus/stories/dataMocks.d.ts +0 -55
- package/components/gclick/MyDeviceStatus/stories/subcomponents/WithMyDeviceProvider.d.ts +0 -2
- package/components/gclick/MyDeviceStatus/stories/types.d.ts +0 -3
- package/components/gclick/MyDeviceStatus/subcomponents/PropertyValue/index.d.ts +0 -5
- package/components/gclick/MyDeviceStatus/subcomponents/PropertyValue/types.d.ts +0 -5
- package/components/gclick/MyDeviceStatus/types.d.ts +0 -14
- package/components/gclick/constants.d.ts +0 -1
- package/components/gclick/constants.js +0 -4
- package/components/gclick/types.d.ts +0 -60
- package/components/maps/components/Map/Map.d.ts +0 -8
- package/components/maps/components/Map/Map.js +0 -34
- package/components/maps/components/Map/Map.styles.d.ts +0 -2
- package/components/maps/components/Map/Map.styles.js +0 -227
- package/components/maps/components/Map/classes/index.d.ts +0 -8
- package/components/maps/components/Map/classes/index.js +0 -110
- package/components/maps/components/Map/classes/types.d.ts +0 -69
- package/components/maps/components/Map/constants.d.ts +0 -36
- package/components/maps/components/Map/constants.js +0 -49
- package/components/maps/components/Map/contexts/MapContext/MapContext.d.ts +0 -21
- package/components/maps/components/Map/contexts/MapContext/MapContext.js +0 -58
- package/components/maps/components/Map/contexts/MapContext/helper.d.ts +0 -8
- package/components/maps/components/Map/contexts/MapContext/index.d.ts +0 -2
- package/components/maps/components/Map/contexts/MapContext/store.d.ts +0 -19
- package/components/maps/components/Map/contexts/MapContext/store.js +0 -369
- package/components/maps/components/Map/contexts/MapContext/types.d.ts +0 -597
- package/components/maps/components/Map/dictionary.d.ts +0 -32
- package/components/maps/components/Map/dictionary.js +0 -38
- package/components/maps/components/Map/external/Control/index.d.ts +0 -9
- package/components/maps/components/Map/external/Control/index.js +0 -42
- package/components/maps/components/Map/external/Control/types.d.ts +0 -7
- package/components/maps/components/Map/external/Popup/component.d.ts +0 -4
- package/components/maps/components/Map/external/Popup/div-overlay.d.ts +0 -4
- package/components/maps/components/Map/external/Popup/element.d.ts +0 -4
- package/components/maps/components/Map/external/Popup/generic.d.ts +0 -4
- package/components/maps/components/Map/external/Popup/index.d.ts +0 -4
- package/components/maps/components/Map/external/googleMutant/LRUMap.d.ts +0 -99
- package/components/maps/components/Map/external/googleMutant/googleMutant.d.ts +0 -1
- package/components/maps/components/Map/external/googleMutant/googleMutantNoDelete.d.ts +0 -1
- package/components/maps/components/Map/external/googleMutant/index.d.ts +0 -132
- package/components/maps/components/Map/featureRenders/CommonFeatureRender/index.d.ts +0 -8
- package/components/maps/components/Map/featureRenders/CommonFeatureRender/index.js +0 -257
- package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/FeatureDivIconLabel/index.d.ts +0 -6
- package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/FeatureDivIconLabel/index.js +0 -33
- package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/FeatureDivIconLabel/types.d.ts +0 -7
- package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/MarkerIconLabel/index.d.ts +0 -5
- package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/MarkerIconLabel/index.js +0 -76
- package/components/maps/components/Map/featureRenders/CommonFeatureRender/subcomponents/MarkerIconLabel/types.d.ts +0 -12
- package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarker.d.ts +0 -9
- package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerGrua.d.ts +0 -4
- package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerTaxi.d.ts +0 -4
- package/components/maps/components/Map/featureRenders/MarkerFeatureRender/index.d.ts +0 -5
- package/components/maps/components/Map/featureRenders/MarkerFeatureRender/index.js +0 -79
- package/components/maps/components/Map/featureRenders/index.d.ts +0 -2
- package/components/maps/components/Map/hooks/useAutoFocus/index.d.ts +0 -6
- package/components/maps/components/Map/hooks/useAutoFocus/index.js +0 -78
- package/components/maps/components/Map/hooks/useAutoFocus/types.d.ts +0 -15
- package/components/maps/components/Map/hooks/useDisableClickEvents/index.d.ts +0 -6
- package/components/maps/components/Map/hooks/useDisableZoomEvents/index.d.ts +0 -6
- package/components/maps/components/Map/hooks/useDisableZoomEvents/index.js +0 -21
- package/components/maps/components/Map/hooks/useMapStore/index.d.ts +0 -6
- package/components/maps/components/Map/hooks/useMapStore/index.js +0 -13
- package/components/maps/components/Map/icons.d.ts +0 -45
- package/components/maps/components/Map/icons.js +0 -61
- package/components/maps/components/Map/index.d.ts +0 -9
- package/components/maps/components/Map/pluginLayers/PolylineWithArrows/index.d.ts +0 -11
- package/components/maps/components/Map/pluginLayers/PolylineWithArrows/index.js +0 -74
- package/components/maps/components/Map/pluginLayers/index.d.ts +0 -1
- package/components/maps/components/Map/popups/MapPopupMyGps/MapPopupMyGps.d.ts +0 -7
- package/components/maps/components/Map/popups/MapPopupMyGps/MapPopupMyGps.js +0 -97
- package/components/maps/components/Map/popups/MapPopupMyGps/MapPopupMyGps.styles.d.ts +0 -2
- package/components/maps/components/Map/popups/MapPopupMyGps/MapPopupMyGps.styles.js +0 -34
- package/components/maps/components/Map/popups/MapPopupMyGps/constants.d.ts +0 -3
- package/components/maps/components/Map/popups/MapPopupMyGps/constants.js +0 -6
- package/components/maps/components/Map/popups/MapPopupMyGps/dictionary.d.ts +0 -15
- package/components/maps/components/Map/popups/MapPopupMyGps/dictionary.js +0 -21
- package/components/maps/components/Map/popups/MapPopupMyGps/index.d.ts +0 -2
- package/components/maps/components/Map/popups/MapPopupMyGps/slots/ MapPopupMyGpsSlots.d.ts +0 -3
- package/components/maps/components/Map/popups/MapPopupMyGps/slots/ MapPopupMyGpsSlots.js +0 -21
- package/components/maps/components/Map/popups/MapPopupMyGps/slots/slots.d.ts +0 -5
- package/components/maps/components/Map/popups/MapPopupMyGps/slots/slots.js +0 -9
- package/components/maps/components/Map/popups/MapPopupMyGps/stories/basic.stories.d.ts +0 -9
- package/components/maps/components/Map/popups/MapPopupMyGps/stories/constants.d.ts +0 -3
- package/components/maps/components/Map/popups/MapPopupMyGps/stories/dictionary.d.ts +0 -0
- package/components/maps/components/Map/popups/MapPopupMyGps/stories/subcomponents/WithMapOpenPopup.d.ts +0 -5
- package/components/maps/components/Map/popups/MapPopupMyGps/stories/types.d.ts +0 -3
- package/components/maps/components/Map/popups/MapPopupMyGps/subcomponents/PropertyValue/index.d.ts +0 -5
- package/components/maps/components/Map/popups/MapPopupMyGps/subcomponents/PropertyValue/index.js +0 -14
- package/components/maps/components/Map/popups/MapPopupMyGps/subcomponents/PropertyValue/types.d.ts +0 -5
- package/components/maps/components/Map/popups/MapPopupMyGps/types.d.ts +0 -7
- package/components/maps/components/Map/popups/index.d.ts +0 -1
- package/components/maps/components/Map/popups/types.d.ts +0 -10
- package/components/maps/components/Map/slots/MapSlots.d.ts +0 -4
- package/components/maps/components/Map/slots/MapSlots.js +0 -24
- package/components/maps/components/Map/slots/slots.d.ts +0 -6
- package/components/maps/components/Map/slots/slots.js +0 -10
- package/components/maps/components/Map/stories/basic.stories.d.ts +0 -13
- package/components/maps/components/Map/stories/constants.d.ts +0 -3
- package/components/maps/components/Map/stories/dictionary.d.ts +0 -0
- package/components/maps/components/Map/stories/subcomponents/ContentExample.d.ts +0 -4
- package/components/maps/components/Map/stories/types.d.ts +0 -3
- package/components/maps/components/Map/subcomponents/Controls/index.d.ts +0 -17
- package/components/maps/components/Map/subcomponents/Controls/index.js +0 -31
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/index.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/index.js +0 -13
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/index.d.ts +0 -10
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/index.js +0 -59
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useCheckedLayers.d.ts +0 -9
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useCheckedLayers.js +0 -17
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useColumns.d.ts +0 -18
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useColumns.js +0 -140
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useMaster.d.ts +0 -12
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useMaster.js +0 -52
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.d.ts +0 -8
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.js +0 -43
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/index.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/index.js +0 -30
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/model.d.ts +0 -26
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/index.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/index.js +0 -134
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/bing.d.ts +0 -2
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/bing.js +0 -39
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/google.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/google.js +0 -73
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/osm.d.ts +0 -2
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/osm.js +0 -25
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/utils.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/utils.js +0 -19
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/types.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/types.d.ts +0 -5
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/index.d.ts +0 -11
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/index.js +0 -101
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/constants.d.ts +0 -30
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/constants.js +0 -34
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/helpers.d.ts +0 -11
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/helpers.js +0 -45
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/index.d.ts +0 -13
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/index.js +0 -245
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/types.d.ts +0 -13
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useValidation.d.ts +0 -13
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useValidation.js +0 -17
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/index.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/index.js +0 -41
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/model.d.ts +0 -17
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.d.ts +0 -5
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.js +0 -33
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/types.d.ts +0 -6
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/validations.d.ts +0 -2
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/validations.js +0 -6
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MyActions/index.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MyActions/index.js +0 -32
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/types.d.ts +0 -9
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ZoomButtons/index.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ZoomButtons/index.js +0 -52
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/types.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/Controls/types.d.ts +0 -22
- package/components/maps/components/Map/subcomponents/LayersContainer/index.d.ts +0 -5
- package/components/maps/components/Map/subcomponents/LayersContainer/index.js +0 -33
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/index.d.ts +0 -14
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/index.js +0 -132
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.d.ts +0 -9
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.js +0 -24
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/types.d.ts +0 -11
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/index.d.ts +0 -11
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/index.js +0 -13
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/types.d.ts +0 -5
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/types.d.ts +0 -2
- package/components/maps/components/Map/subcomponents/TileLayers/index.d.ts +0 -6
- package/components/maps/components/Map/subcomponents/TileLayers/index.js +0 -13
- package/components/maps/components/Map/subcomponents/TileLayers/subcomponents/TileLayerGoogle/index.d.ts +0 -4
- package/components/maps/components/Map/subcomponents/TileLayers/subcomponents/TileLayerGoogle/index.js +0 -100
- package/components/maps/components/Map/subcomponents/TileLayers/subcomponents/TileLayerOthers/index.d.ts +0 -6
- package/components/maps/components/Map/subcomponents/TileLayers/subcomponents/TileLayerOthers/index.js +0 -35
- package/components/maps/components/Map/types.d.ts +0 -56
- package/components/maps/components/MapGpsTools/MapGpsTools.d.ts +0 -4
- package/components/maps/components/MapGpsTools/MapGpsTools.js +0 -10
- package/components/maps/components/MapGpsTools/classes/index.d.ts +0 -7
- package/components/maps/components/MapGpsTools/classes/index.js +0 -21
- package/components/maps/components/MapGpsTools/classes/types.d.ts +0 -14
- package/components/maps/components/MapGpsTools/constants.d.ts +0 -8
- package/components/maps/components/MapGpsTools/constants.js +0 -71
- package/components/maps/components/MapGpsTools/contexts/MapGpsToolsContext/index.d.ts +0 -21
- package/components/maps/components/MapGpsTools/contexts/MapGpsToolsContext/index.js +0 -48
- package/components/maps/components/MapGpsTools/contexts/MapGpsToolsContext/store.d.ts +0 -19
- package/components/maps/components/MapGpsTools/contexts/MapGpsToolsContext/store.js +0 -155
- package/components/maps/components/MapGpsTools/contexts/MapGpsToolsContext/types.d.ts +0 -160
- package/components/maps/components/MapGpsTools/dictionary.d.ts +0 -62
- package/components/maps/components/MapGpsTools/dictionary.js +0 -73
- package/components/maps/components/MapGpsTools/hooks/useLayers/index.d.ts +0 -4
- package/components/maps/components/MapGpsTools/hooks/useLayers/index.js +0 -57
- package/components/maps/components/MapGpsTools/hooks/useMapGpsToolsStore/index.d.ts +0 -5
- package/components/maps/components/MapGpsTools/hooks/useMapGpsToolsStore/index.js +0 -13
- package/components/maps/components/MapGpsTools/icons.d.ts +0 -23
- package/components/maps/components/MapGpsTools/icons.js +0 -26
- package/components/maps/components/MapGpsTools/index.d.ts +0 -4
- package/components/maps/components/MapGpsTools/styles.d.ts +0 -1
- package/components/maps/components/MapGpsTools/styles.js +0 -18
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/index.d.ts +0 -9
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/index.js +0 -88
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/constants.d.ts +0 -20
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/constants.js +0 -40
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/helpers.d.ts +0 -34
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/helpers.js +0 -77
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts +0 -14
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useDrawing.js +0 -216
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSubmit.d.ts +0 -11
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSubmit.js +0 -63
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.d.ts +0 -5
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.js +0 -36
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useValidation.d.ts +0 -25
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useValidation.js +0 -19
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/index.d.ts +0 -5
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/index.js +0 -73
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/styles.d.ts +0 -1
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/styles.js +0 -8
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.d.ts +0 -4
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.js +0 -52
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/types.d.ts +0 -6
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.d.ts +0 -8
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.js +0 -11
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.d.ts +0 -4
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.js +0 -132
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +0 -7
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.d.ts +0 -9
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.js +0 -12
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.d.ts +0 -5
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.js +0 -61
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/types.d.ts +0 -2
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +0 -4
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.js +0 -80
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/types.d.ts +0 -7
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.d.ts +0 -4
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.js +0 -12
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.d.ts +0 -4
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.js +0 -49
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.d.ts +0 -4
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.js +0 -89
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +0 -10
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/types.d.ts +0 -27
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedFeatures.d.ts +0 -9
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedFeatures.js +0 -86
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedGeofences.d.ts +0 -7
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedGeofences.js +0 -85
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.d.ts +0 -12
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.js +0 -116
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useMaster.d.ts +0 -22
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useMaster.js +0 -162
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +0 -12
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.js +0 -113
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/index.d.ts +0 -4
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/index.js +0 -75
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/styles.d.ts +0 -1
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/styles.js +0 -8
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/subcomponents/Filter/index.d.ts +0 -9
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/subcomponents/Filter/index.js +0 -49
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/constants.d.ts +0 -7
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/constants.js +0 -13
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/model.d.ts +0 -114
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/types.d.ts +0 -7
- package/components/maps/components/MapGpsTools/types.d.ts +0 -34
- package/components/maps/index.d.ts +0 -4
- package/components/maps/utils/courseToCartesianAngle.d.ts +0 -6
- package/components/maps/utils/courseToCartesianAngle.js +0 -8
- package/components/maps/utils/courseToCssAngle.d.ts +0 -9
- package/components/maps/utils/courseToCssAngle.js +0 -13
- package/components/maps/utils/index.d.ts +0 -6
- package/components/maps/utils/isFeature.d.ts +0 -2
- package/components/maps/utils/isFeature.js +0 -6
- package/components/maps/utils/isFeatureCollection.d.ts +0 -2
- package/components/maps/utils/isFeatureCollection.js +0 -6
- package/components/maps/utils/isFeatureCollectionDraft.d.ts +0 -6
- package/components/maps/utils/isFeatureCollectionDraft.js +0 -6
- package/components/maps/utils/isGeometry.d.ts +0 -2
- package/components/maps/utils/isGeometry.js +0 -6
- package/contexts/RealTimeContext/RealTimeContext.d.ts +0 -19
- package/contexts/RealTimeContext/RealTimeContext.js +0 -76
- package/contexts/RealTimeContext/index.d.ts +0 -1
- package/contexts/RealTimeContext/store.d.ts +0 -19
- package/contexts/RealTimeContext/store.js +0 -58
- package/contexts/RealTimeContext/types.d.ts +0 -96
- package/hooks/useRealTime/index.d.ts +0 -6
- /package/components/{PaperForm → DynamicSort}/index.js +0 -0
- /package/components/{formatters/CourseFormatter → DynamicSort/slots}/index.js +0 -0
- /package/components/{gclick/MyDevice → DynamicSort/subcomponents/AppliedSortChip}/index.js +0 -0
- /package/components/{gclick/MyDeviceStatus → DynamicSort/subcomponents/AppliedSorts}/index.js +0 -0
- /package/components/{maps/components/Map/external/googleMutant → DynamicSort/subcomponents/DynamicSortBase}/index.js +0 -0
- /package/components/{maps/components/Map/featureRenders → DynamicSort/subcomponents/InputSort}/index.js +0 -0
- /package/components/{maps/components/Map → DynamicSort/subcomponents/PopoverMenuFields}/index.js +0 -0
- /package/components/{maps/components/Map/pluginLayers → DynamicSort/subcomponents/PopoverSort}/index.js +0 -0
- /package/components/{maps/components/Map/popups/MapPopupMyGps → DynamicSort/subcomponents/SortActions}/index.js +0 -0
- /package/components/{maps/components/Map/popups → LoadingError/slots}/index.js +0 -0
- /package/components/{extended/React-Splitter/SplitLayout/tests/SplitLayout.test.d.ts → LoadingError/tests/LoadingError.test.d.ts} +0 -0
- /package/components/{maps/components/MapGpsTools → extended/React-Spinners/PropagateLoaderSpinner}/index.js +0 -0
- /package/components/{maps → extended/React-Spinners}/index.js +0 -0
- /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/SplitLayout.d.ts +0 -0
- /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/SplitLayout.styles.d.ts +0 -0
- /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/SplitLayout.styles.js +0 -0
- /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/constants.d.ts +0 -0
- /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/constants.js +0 -0
- /package/components/{maps/utils → extended/React-Splitter-Layout}/index.js +0 -0
- /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/slots/SplitLayoutEnum.d.ts +0 -0
- /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/slots/SplitLayoutEnum.js +0 -0
- /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/slots/SplitLayoutSlots.d.ts +0 -0
- /package/components/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/slots/SplitLayoutSlots.js +0 -0
- /package/components/{formatters/CourseFormatter/test/CourserFormatter.test.d.ts → extended/React-Splitter-Layout/tests/SplitLayout.test.d.ts} +0 -0
- /package/{contexts/RealTimeContext → components/extended/React-Window/FixedSizeList}/index.js +0 -0
- /package/components/{maps/components/Map/contexts/MapContext/helper.js → extended/React-Window/VariableSizeList/index.js} +0 -0
- /package/components/{maps/components/Map/external/googleMutant/LRUMap.js → extended/React-Window/index.js} +0 -0
- /package/components/{maps/components/Map/external/googleMutant/googleMutant.js → extended/index.js} +0 -0
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { useEffect } from "react";
|
|
2
|
-
import { shallow } from "zustand/shallow";
|
|
3
|
-
import { u as useMapGpsToolsStore } from "../useMapGpsToolsStore/index.js";
|
|
4
|
-
import { C as CommonFeatureRender } from "../../../Map/featureRenders/CommonFeatureRender/index.js";
|
|
5
|
-
import { G as GeofencesFeaturesLayers } from "../../subcomponents/TabsGpsTools/subcomponents/constants.js";
|
|
6
|
-
import { u as useMapStore } from "../../../Map/hooks/useMapStore/index.js";
|
|
7
|
-
function useLayers() {
|
|
8
|
-
const { addLayer, removeLayer } = useMapStore((state) => state.mapActions, shallow);
|
|
9
|
-
const { init } = useMapGpsToolsStore((state) => state.gpsToolsActions, shallow);
|
|
10
|
-
useEffect(() => {
|
|
11
|
-
addLayer({
|
|
12
|
-
layerId: GeofencesFeaturesLayers.LAYER_GEOFENCES,
|
|
13
|
-
name: "Geocercas",
|
|
14
|
-
renderFeature: CommonFeatureRender,
|
|
15
|
-
geoJsonObject: {
|
|
16
|
-
object: {
|
|
17
|
-
type: "FeatureCollection",
|
|
18
|
-
features: []
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
autoFocus: false
|
|
22
|
-
});
|
|
23
|
-
addLayer({
|
|
24
|
-
layerId: GeofencesFeaturesLayers.LAYER_GEOFENCES_TRANSIT_FEATURES,
|
|
25
|
-
name: "Geometrías de tránsito",
|
|
26
|
-
renderFeature: CommonFeatureRender,
|
|
27
|
-
geoJsonObject: {
|
|
28
|
-
object: {
|
|
29
|
-
type: "FeatureCollection",
|
|
30
|
-
features: []
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
autoFocus: false
|
|
34
|
-
});
|
|
35
|
-
addLayer({
|
|
36
|
-
layerId: GeofencesFeaturesLayers.LAYER_GEOFENCES_INTERNAL_FEATURES,
|
|
37
|
-
name: "Geometrías internas",
|
|
38
|
-
renderFeature: CommonFeatureRender,
|
|
39
|
-
geoJsonObject: {
|
|
40
|
-
object: {
|
|
41
|
-
type: "FeatureCollection",
|
|
42
|
-
features: []
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
autoFocus: false
|
|
46
|
-
});
|
|
47
|
-
init();
|
|
48
|
-
return () => {
|
|
49
|
-
removeLayer(GeofencesFeaturesLayers.LAYER_GEOFENCES);
|
|
50
|
-
removeLayer(GeofencesFeaturesLayers.LAYER_GEOFENCES_INTERNAL_FEATURES);
|
|
51
|
-
removeLayer(GeofencesFeaturesLayers.LAYER_GEOFENCES_TRANSIT_FEATURES);
|
|
52
|
-
};
|
|
53
|
-
}, []);
|
|
54
|
-
}
|
|
55
|
-
export {
|
|
56
|
-
useLayers as u
|
|
57
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { useContext } from "react";
|
|
2
|
-
import { useStore } from "zustand";
|
|
3
|
-
import { M as MapGpsToolsContext } from "../../contexts/MapGpsToolsContext/index.js";
|
|
4
|
-
function useMapGpsToolsStore(selector, equalityFn) {
|
|
5
|
-
const context = useContext(MapGpsToolsContext);
|
|
6
|
-
if (!context) {
|
|
7
|
-
throw new Error("useGpsToolsStore context must be use inside GpsToolsContext");
|
|
8
|
-
}
|
|
9
|
-
return useStore(context, selector, equalityFn);
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
useMapGpsToolsStore as u
|
|
13
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const MAP_GPSTOOLS_ICONS: {
|
|
2
|
-
/**
|
|
3
|
-
* GpsTools
|
|
4
|
-
*/
|
|
5
|
-
MAP_GPS_TOOLS_TOOL: string;
|
|
6
|
-
GEOFENCES: string;
|
|
7
|
-
GEOFENCE_ID: string;
|
|
8
|
-
GEOFENCE_NAME: string;
|
|
9
|
-
GEOFENCE_ADD: string;
|
|
10
|
-
GEOFENCE_EDIT: string;
|
|
11
|
-
GEOFENCE_DELETE: string;
|
|
12
|
-
GENERAL: string;
|
|
13
|
-
DATA: string;
|
|
14
|
-
STYLE: string;
|
|
15
|
-
GEOFENCE_DRAW: string;
|
|
16
|
-
GEOFENCE_FINISH: string;
|
|
17
|
-
GEOFENCE_TYPE_CIRCLE: string;
|
|
18
|
-
GEOFENCE_TYPE_RECTANGLE: string;
|
|
19
|
-
GEOFENCE_TYPE_POLYGON: string;
|
|
20
|
-
CONFIG: string;
|
|
21
|
-
STROKE: string;
|
|
22
|
-
FILL: string;
|
|
23
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
const MAP_GPSTOOLS_ICONS = {
|
|
2
|
-
/**
|
|
3
|
-
* GpsTools
|
|
4
|
-
*/
|
|
5
|
-
MAP_GPS_TOOLS_TOOL: "cmp_map_gpstools_tool.svg",
|
|
6
|
-
GEOFENCES: "cmp_map_gpstools_geofences.svg",
|
|
7
|
-
GEOFENCE_ID: "cmp_map_gpstools_geofence_id.svg",
|
|
8
|
-
GEOFENCE_NAME: "cmp_map_gpstools_geofence_name.svg",
|
|
9
|
-
GEOFENCE_ADD: "cmp_map_gpstools_add-geofence.svg",
|
|
10
|
-
GEOFENCE_EDIT: "cmp_map_gpstools_edit-geofence.svg",
|
|
11
|
-
GEOFENCE_DELETE: "cmp_map_gpstools_delete-geofence.svg",
|
|
12
|
-
GENERAL: "cmp_map_gpstools_general.svg",
|
|
13
|
-
DATA: "cmp_map_gpstools_data.svg",
|
|
14
|
-
STYLE: "cmp_map_gpstools_style.svg",
|
|
15
|
-
GEOFENCE_DRAW: "cmp_map_gpstools_draw.svg",
|
|
16
|
-
GEOFENCE_FINISH: "cmp_map_gpstools_finish.svg",
|
|
17
|
-
GEOFENCE_TYPE_CIRCLE: "cmp_map_gpstools_circle.svg",
|
|
18
|
-
GEOFENCE_TYPE_RECTANGLE: "cmp_map_gpstools_rectangle.svg",
|
|
19
|
-
GEOFENCE_TYPE_POLYGON: "cmp_map_gpstools_polygon.svg",
|
|
20
|
-
CONFIG: "cmp_map_gpstools_config.svg",
|
|
21
|
-
STROKE: "cmp_map_gpstools_stroke.svg",
|
|
22
|
-
FILL: "cmp_map_gpstools_fill.svg"
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
MAP_GPSTOOLS_ICONS as M
|
|
26
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DivTabGpsToolsRoot: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { styled } from "@mui/material/styles";
|
|
2
|
-
import { g as gpsToolsClasses } from "./classes/index.js";
|
|
3
|
-
const DivTabGpsToolsRoot = styled("div")`
|
|
4
|
-
.${gpsToolsClasses.gpsToolsTabContent}.${gpsToolsClasses.hidden} {
|
|
5
|
-
display: none;
|
|
6
|
-
}
|
|
7
|
-
.${gpsToolsClasses.gpsToolsGeofencesList} .M4LDataGrid-root {
|
|
8
|
-
height: unset !important;
|
|
9
|
-
flex-grow: 1;
|
|
10
|
-
}
|
|
11
|
-
.${gpsToolsClasses.toolGeofencesAddEditGeneral} {
|
|
12
|
-
flex-grow: 1;
|
|
13
|
-
}
|
|
14
|
-
${(props) => props.theme.components?.M4LMapGpsTools?.styleOverrides}
|
|
15
|
-
`;
|
|
16
|
-
export {
|
|
17
|
-
DivTabGpsToolsRoot as D
|
|
18
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Componente que renderiza las herramientas de GPS a traves de los tabs
|
|
3
|
-
* Funcionalidad:
|
|
4
|
-
* - Cuando se cambia el tab, se actualiza el subtitulo del popup
|
|
5
|
-
* - Los tabs no visible se ocultan a traves de css, para que no destruyan los componentes evitando
|
|
6
|
-
* la recargar de los mismos entre cambio de pestañas.
|
|
7
|
-
* @returns Tabs con las herramientas de GPS
|
|
8
|
-
*/
|
|
9
|
-
export declare function TabsGpsTools(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useMemo, useEffect } from "react";
|
|
3
|
-
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
4
|
-
import "leaflet";
|
|
5
|
-
import { shallow } from "zustand/shallow";
|
|
6
|
-
import "@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css";
|
|
7
|
-
import "@geoman-io/leaflet-geoman-free";
|
|
8
|
-
import clsx from "clsx";
|
|
9
|
-
import { D as DivTabGpsToolsRoot } from "../../styles.js";
|
|
10
|
-
import { T as Tab } from "../../../../../mui_extended/Tab/Tab.js";
|
|
11
|
-
import { G as GeofencesList } from "./subcomponents/GeofencesList/index.js";
|
|
12
|
-
import { u as useLayers } from "../../hooks/useLayers/index.js";
|
|
13
|
-
import { M as MAP_GPSTOOLS_DICCTIONARY } from "../../dictionary.js";
|
|
14
|
-
import { g as gpsToolsClasses } from "../../classes/index.js";
|
|
15
|
-
import { M as MAP_GPSTOOLS_ICONS } from "../../icons.js";
|
|
16
|
-
import { G as GPS_TOOLS_POPUP_ID } from "../../../Map/constants.js";
|
|
17
|
-
import { u as useMapGpsToolsStore } from "../../hooks/useMapGpsToolsStore/index.js";
|
|
18
|
-
import { u as usePopupsStore } from "../../../../../popups/components/PopupsProvider/hooks/usePopupsStore/index.js";
|
|
19
|
-
import { T as Tabs } from "../../../../../mui_extended/Tabs/Tabs.js";
|
|
20
|
-
import { T as TabContent } from "../../../../../mui_extended/TabContent/TabContent.js";
|
|
21
|
-
import { I as Icon } from "../../../../../Icon/Icon.js";
|
|
22
|
-
function TabsGpsTools() {
|
|
23
|
-
const { getLabel } = useModuleDictionary();
|
|
24
|
-
const { host_static_assets, environment_assets } = useEnvironment();
|
|
25
|
-
const status = useMapGpsToolsStore((state) => state.ownerState.status, shallow);
|
|
26
|
-
const currentTabTool = useMapGpsToolsStore((state) => state.currentTabGpsTool, shallow);
|
|
27
|
-
const { setCurrentTabTool } = useMapGpsToolsStore((state) => state.gpsToolsActions, shallow);
|
|
28
|
-
const { updatePopup } = usePopupsStore((state) => state.popupsActions, shallow);
|
|
29
|
-
const toolTabs = useMemo(() => {
|
|
30
|
-
return [
|
|
31
|
-
{
|
|
32
|
-
id: "geofences",
|
|
33
|
-
iconUrl: `${host_static_assets}/${environment_assets}/frontend/components/map_gpstools/assets/icons/${MAP_GPSTOOLS_ICONS.GEOFENCES}`,
|
|
34
|
-
component: /* @__PURE__ */ jsx(GeofencesList, {}),
|
|
35
|
-
label: getLabel(MAP_GPSTOOLS_DICCTIONARY.LABEL_TAB_GEO),
|
|
36
|
-
className: gpsToolsClasses.gpsToolsGeofencesList
|
|
37
|
-
}
|
|
38
|
-
];
|
|
39
|
-
}, [getLabel]);
|
|
40
|
-
useEffect(() => {
|
|
41
|
-
updatePopup(GPS_TOOLS_POPUP_ID, {
|
|
42
|
-
subTitle: currentTabTool === "geofences" ? getLabel(MAP_GPSTOOLS_DICCTIONARY.LABEL_TAB_GEO) : ""
|
|
43
|
-
});
|
|
44
|
-
}, [currentTabTool]);
|
|
45
|
-
useLayers();
|
|
46
|
-
if (status !== "ready") {
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
return /* @__PURE__ */ jsxs(DivTabGpsToolsRoot, { className: gpsToolsClasses.gpsToolsRoot, children: [
|
|
50
|
-
/* @__PURE__ */ jsx(
|
|
51
|
-
Tabs,
|
|
52
|
-
{
|
|
53
|
-
value: currentTabTool,
|
|
54
|
-
scrollButtons: "auto",
|
|
55
|
-
variant: "scrollable",
|
|
56
|
-
allowScrollButtonsMobile: true,
|
|
57
|
-
onChange: (_e, value) => setCurrentTabTool(value),
|
|
58
|
-
children: toolTabs.map((tab) => /* @__PURE__ */ jsx(
|
|
59
|
-
Tab,
|
|
60
|
-
{
|
|
61
|
-
value: tab.id,
|
|
62
|
-
icon: /* @__PURE__ */ jsx(Icon, { src: tab.iconUrl }),
|
|
63
|
-
className: clsx(gpsToolsClasses.gpsToolsTab, tab.className)
|
|
64
|
-
},
|
|
65
|
-
tab.id
|
|
66
|
-
))
|
|
67
|
-
}
|
|
68
|
-
),
|
|
69
|
-
toolTabs.map((tab) => {
|
|
70
|
-
const isMatched = tab.id === currentTabTool;
|
|
71
|
-
return /* @__PURE__ */ jsx(
|
|
72
|
-
TabContent,
|
|
73
|
-
{
|
|
74
|
-
className: clsx(
|
|
75
|
-
gpsToolsClasses.gpsToolsTabContent,
|
|
76
|
-
tab.className,
|
|
77
|
-
isMatched ? gpsToolsClasses.visible : gpsToolsClasses.hidden
|
|
78
|
-
),
|
|
79
|
-
children: tab.component
|
|
80
|
-
},
|
|
81
|
-
tab.id
|
|
82
|
-
);
|
|
83
|
-
})
|
|
84
|
-
] });
|
|
85
|
-
}
|
|
86
|
-
export {
|
|
87
|
-
TabsGpsTools as T
|
|
88
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { FormAddEditValues } from './types';
|
|
2
|
-
export declare const STROKE_COLOR_DEFAULT = "#aaccaa";
|
|
3
|
-
export declare const STROKE_OPACITY_DEFAULT: {
|
|
4
|
-
value: number;
|
|
5
|
-
label: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const STROKE_WHEIGTH_DEFAULT: {
|
|
8
|
-
value: number;
|
|
9
|
-
label: string;
|
|
10
|
-
};
|
|
11
|
-
export declare const STROKE_DASH_ARRAY_DEFAULT: {
|
|
12
|
-
value: string;
|
|
13
|
-
label: string;
|
|
14
|
-
};
|
|
15
|
-
export declare const FILL_COLOR_DEFAULT = "#aa3000";
|
|
16
|
-
export declare const FILL_OPACITY_DEFAULT: {
|
|
17
|
-
value: number;
|
|
18
|
-
label: string;
|
|
19
|
-
};
|
|
20
|
-
export declare const initialValues: FormAddEditValues;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
const STROKE_COLOR_DEFAULT = "#aaccaa";
|
|
2
|
-
const STROKE_OPACITY_DEFAULT = { value: 1, label: "100%" };
|
|
3
|
-
const STROKE_WHEIGTH_DEFAULT = { value: 1, label: "1 px" };
|
|
4
|
-
const STROKE_DASH_ARRAY_DEFAULT = { value: "", label: "-----" };
|
|
5
|
-
const FILL_COLOR_DEFAULT = "#aa3000";
|
|
6
|
-
const FILL_OPACITY_DEFAULT = { value: 0.2, label: "20%" };
|
|
7
|
-
const initialValues = {
|
|
8
|
-
/** General Data */
|
|
9
|
-
name: "",
|
|
10
|
-
geofenceType: null,
|
|
11
|
-
/** Config Data */
|
|
12
|
-
alias: null,
|
|
13
|
-
customerId: null,
|
|
14
|
-
timeMinInSeconds: 5,
|
|
15
|
-
timeMinOutSeconds: 5,
|
|
16
|
-
/** de Apoyo */
|
|
17
|
-
inEdition: false,
|
|
18
|
-
geometry: null,
|
|
19
|
-
lat: null,
|
|
20
|
-
lng: null,
|
|
21
|
-
properties: {
|
|
22
|
-
radius: null,
|
|
23
|
-
/** Style Data */
|
|
24
|
-
strokeColor: STROKE_COLOR_DEFAULT,
|
|
25
|
-
strokeOpacity: STROKE_OPACITY_DEFAULT,
|
|
26
|
-
strokeWeight: STROKE_WHEIGTH_DEFAULT,
|
|
27
|
-
strokeDashArray: STROKE_DASH_ARRAY_DEFAULT,
|
|
28
|
-
fillColor: FILL_COLOR_DEFAULT,
|
|
29
|
-
fillOpacity: FILL_OPACITY_DEFAULT
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
FILL_COLOR_DEFAULT as F,
|
|
34
|
-
STROKE_COLOR_DEFAULT as S,
|
|
35
|
-
STROKE_OPACITY_DEFAULT as a,
|
|
36
|
-
STROKE_WHEIGTH_DEFAULT as b,
|
|
37
|
-
STROKE_DASH_ARRAY_DEFAULT as c,
|
|
38
|
-
FILL_OPACITY_DEFAULT as d,
|
|
39
|
-
initialValues as i
|
|
40
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { GeofenceGeometry, GeofenceGetModel, GeofenceTypeId } from '../model';
|
|
2
|
-
import { FormAddEditValues } from './types';
|
|
3
|
-
import * as L from 'leaflet';
|
|
4
|
-
/**
|
|
5
|
-
* TODO: Documentar
|
|
6
|
-
*/
|
|
7
|
-
export declare const getFormStrokeOpacityFromData: (strokeOpacity?: number) => {
|
|
8
|
-
value: number;
|
|
9
|
-
label: string;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* TODO: Documentar
|
|
13
|
-
*/
|
|
14
|
-
export declare const getFormStrokeWeightFromData: (strokeWeight?: number) => {
|
|
15
|
-
value: number;
|
|
16
|
-
label: string;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* TODO: Documentar
|
|
20
|
-
*/
|
|
21
|
-
export declare const getFormstrokeDashArrayFromData: (strokeDashArray?: string) => {
|
|
22
|
-
value: string;
|
|
23
|
-
label: string;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* TODO: Documentar
|
|
27
|
-
*/
|
|
28
|
-
export declare const formatDataEnpoint: (response: {
|
|
29
|
-
data: GeofenceGetModel;
|
|
30
|
-
}) => FormAddEditValues;
|
|
31
|
-
/**
|
|
32
|
-
* TODO: Documentar
|
|
33
|
-
*/
|
|
34
|
-
export declare const getLayerFromGeometry: (geometry: GeofenceGeometry | null, geofenceTypeId: GeofenceTypeId | null, radius: number | null, options?: L.PolylineOptions | L.CircleOptions) => L.Circle<any> | L.Polygon<any> | null;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { i as initialValues, S as STROKE_COLOR_DEFAULT, a as STROKE_OPACITY_DEFAULT, b as STROKE_WHEIGTH_DEFAULT, c as STROKE_DASH_ARRAY_DEFAULT, F as FILL_COLOR_DEFAULT, d as FILL_OPACITY_DEFAULT } from "./constants.js";
|
|
2
|
-
import * as L from "leaflet";
|
|
3
|
-
const formatDataEnpoint = (response) => {
|
|
4
|
-
try {
|
|
5
|
-
const { data } = response;
|
|
6
|
-
const obRet = {
|
|
7
|
-
...initialValues,
|
|
8
|
-
inEdition: false,
|
|
9
|
-
name: data.name,
|
|
10
|
-
geometry: data.geometry,
|
|
11
|
-
geofenceType: { id: data.type.id, name: data.type.name, url: "" },
|
|
12
|
-
properties: {
|
|
13
|
-
strokeColor: data.properties.strokeColor || STROKE_COLOR_DEFAULT,
|
|
14
|
-
strokeOpacity: STROKE_OPACITY_DEFAULT,
|
|
15
|
-
//getFormStrokeOpacityFromData(data.properties.strokeOpacity),
|
|
16
|
-
strokeWeight: STROKE_WHEIGTH_DEFAULT,
|
|
17
|
-
//,getFormStrokeWeightFromData(data.properties.strokeWeight) ,
|
|
18
|
-
strokeDashArray: STROKE_DASH_ARRAY_DEFAULT,
|
|
19
|
-
// getFormstrokeDashArrayFromData(data.properties.strokeDashArray) ,
|
|
20
|
-
fillColor: data.properties.fillColor || FILL_COLOR_DEFAULT,
|
|
21
|
-
fillOpacity: FILL_OPACITY_DEFAULT
|
|
22
|
-
//data.properties.fillOpacity || FILL_OPACITY_DEFAULT,
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
if (obRet.geofenceType?.id === "gt_circle") {
|
|
26
|
-
if (data.properties.radius) {
|
|
27
|
-
obRet.properties.radius = data.properties.radius;
|
|
28
|
-
}
|
|
29
|
-
if (data.geometry && data.geometry.type === "Point") {
|
|
30
|
-
obRet.lng = data.geometry.coordinates[0];
|
|
31
|
-
obRet.lat = data.geometry.coordinates[1];
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
return obRet;
|
|
35
|
-
} catch (_e) {
|
|
36
|
-
return { ...initialValues };
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
const getLayerFromGeometry = (geometry, geofenceTypeId, radius, options) => {
|
|
40
|
-
if (geometry) {
|
|
41
|
-
if (geofenceTypeId === "gt_circle" && geometry.type === "Point") {
|
|
42
|
-
return L.circle([geometry.coordinates[1], geometry.coordinates[0]], {
|
|
43
|
-
...options,
|
|
44
|
-
radius: radius || 0
|
|
45
|
-
});
|
|
46
|
-
} else if (geofenceTypeId === "gt_polygon" && geometry.type === "Polygon") {
|
|
47
|
-
const coordinates = geometry.coordinates.map(
|
|
48
|
-
(ring) => ring.map((position) => [position[1], position[0]])
|
|
49
|
-
);
|
|
50
|
-
return L.polygon(coordinates, options);
|
|
51
|
-
} else if (geofenceTypeId === "gt_rectangle" && geometry.type === "Polygon") {
|
|
52
|
-
const latLngs = geometry.coordinates[0].map(
|
|
53
|
-
(coord) => [coord[1], coord[0]]
|
|
54
|
-
);
|
|
55
|
-
const lats = latLngs.map((coord) => {
|
|
56
|
-
if (Array.isArray(coord)) {
|
|
57
|
-
return coord[0];
|
|
58
|
-
}
|
|
59
|
-
return 0;
|
|
60
|
-
});
|
|
61
|
-
const lngs = latLngs.map((coord) => {
|
|
62
|
-
if (Array.isArray(coord)) {
|
|
63
|
-
return coord[1];
|
|
64
|
-
}
|
|
65
|
-
return 0;
|
|
66
|
-
});
|
|
67
|
-
const southWest = [Math.min(...lats), Math.min(...lngs)];
|
|
68
|
-
const northEast = [Math.max(...lats), Math.max(...lngs)];
|
|
69
|
-
return L.rectangle([southWest, northEast], options);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
return null;
|
|
73
|
-
};
|
|
74
|
-
export {
|
|
75
|
-
formatDataEnpoint as f,
|
|
76
|
-
getLayerFromGeometry as g
|
|
77
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* hook Encargado manejar los eventos de dibujo y setear en hook forms values,
|
|
3
|
-
* los datos asociados a una geocerca
|
|
4
|
-
* @returns
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* TODO: Documentar
|
|
8
|
-
*/
|
|
9
|
-
export declare function useDrawing(): {
|
|
10
|
-
inEdition: boolean;
|
|
11
|
-
handleDraw: () => void;
|
|
12
|
-
handleFinish: () => void;
|
|
13
|
-
geometrTypeIdCached: "gt_polygon" | "gt_circle" | "gt_rectangle" | null;
|
|
14
|
-
};
|
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
import { useState, useRef, useEffect, useCallback } from "react";
|
|
2
|
-
import { useFormContext, useWatch } from "react-hook-form";
|
|
3
|
-
import { useModuleDictionary } from "@m4l/core";
|
|
4
|
-
import { useMap } from "react-leaflet";
|
|
5
|
-
import { g as getLayerFromGeometry } from "../helpers.js";
|
|
6
|
-
import { u as useFormReadyForUpdate } from "../../../../../../../../../hooks/useFormReadyForUpdate/index.js";
|
|
7
|
-
import { M as MAP_GPSTOOLS_DICCTIONARY } from "../../../../../dictionary.js";
|
|
8
|
-
function useDrawing() {
|
|
9
|
-
const { getLabel } = useModuleDictionary();
|
|
10
|
-
const readyToUpdate = useFormReadyForUpdate();
|
|
11
|
-
const map = useMap();
|
|
12
|
-
const { control, setValue } = useFormContext();
|
|
13
|
-
const fieldsWatch = useWatch({
|
|
14
|
-
control,
|
|
15
|
-
name: [
|
|
16
|
-
"geofenceType",
|
|
17
|
-
"inEdition",
|
|
18
|
-
"properties.strokeColor",
|
|
19
|
-
"properties.strokeOpacity",
|
|
20
|
-
"properties.strokeWeight",
|
|
21
|
-
"properties.strokeDashArray",
|
|
22
|
-
"properties.fillColor",
|
|
23
|
-
"properties.fillOpacity",
|
|
24
|
-
"geometry",
|
|
25
|
-
"properties.radius"
|
|
26
|
-
]
|
|
27
|
-
});
|
|
28
|
-
const geofenceTypeId = fieldsWatch[0]?.id;
|
|
29
|
-
const inEdition = fieldsWatch[1];
|
|
30
|
-
const strokeColor = fieldsWatch[2];
|
|
31
|
-
const strokeOpacity = fieldsWatch[3].value;
|
|
32
|
-
const strokeWeight = fieldsWatch[4].value;
|
|
33
|
-
const strokeDashArray = fieldsWatch[5].value;
|
|
34
|
-
const fillColor = fieldsWatch[6];
|
|
35
|
-
const fillOpacity = fieldsWatch[7].value;
|
|
36
|
-
const geometry = fieldsWatch[8];
|
|
37
|
-
const radius = fieldsWatch[9];
|
|
38
|
-
const [drawing, setDrawing] = useState(false);
|
|
39
|
-
const currentLayer = useRef(null);
|
|
40
|
-
const [geometrTypeIdCached, setgeofenceTypeIdCached] = useState(geofenceTypeId);
|
|
41
|
-
useEffect(() => {
|
|
42
|
-
if (geometry) {
|
|
43
|
-
currentLayer.current = getLayerFromGeometry(geometry, geofenceTypeId, radius, {
|
|
44
|
-
color: strokeColor,
|
|
45
|
-
opacity: strokeOpacity,
|
|
46
|
-
weight: strokeWeight,
|
|
47
|
-
dashArray: strokeDashArray,
|
|
48
|
-
fillColor,
|
|
49
|
-
fillOpacity
|
|
50
|
-
});
|
|
51
|
-
if (currentLayer.current) {
|
|
52
|
-
map.addLayer(currentLayer.current);
|
|
53
|
-
map.fitBounds(currentLayer.current.getBounds());
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
return () => {
|
|
57
|
-
if (currentLayer.current) {
|
|
58
|
-
currentLayer.current.remove();
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
}, [map]);
|
|
62
|
-
useEffect(() => {
|
|
63
|
-
if (currentLayer.current) {
|
|
64
|
-
currentLayer.current.setStyle({
|
|
65
|
-
color: strokeColor,
|
|
66
|
-
opacity: strokeOpacity,
|
|
67
|
-
weight: strokeWeight,
|
|
68
|
-
dashArray: strokeDashArray,
|
|
69
|
-
fillColor,
|
|
70
|
-
fillOpacity
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
}, [strokeColor, strokeOpacity, strokeWeight, strokeDashArray, fillColor, fillOpacity]);
|
|
74
|
-
useEffect(() => {
|
|
75
|
-
map.pm.setLang("en", {
|
|
76
|
-
tooltips: {
|
|
77
|
-
placeMarker: void 0,
|
|
78
|
-
firstVertex: getLabel(MAP_GPSTOOLS_DICCTIONARY.LABEL_FIRST_VERTEX),
|
|
79
|
-
continueLine: getLabel(MAP_GPSTOOLS_DICCTIONARY.LABEL_CONTINUE_LINE),
|
|
80
|
-
finishLine: getLabel(MAP_GPSTOOLS_DICCTIONARY.LABEL_FINISH_LINE),
|
|
81
|
-
finishPoly: getLabel(MAP_GPSTOOLS_DICCTIONARY.LABEL_FINISH_POLY),
|
|
82
|
-
finishRect: getLabel(MAP_GPSTOOLS_DICCTIONARY.LABEL_FINISH_RECT),
|
|
83
|
-
startCircle: getLabel(MAP_GPSTOOLS_DICCTIONARY.LABEL_START_CIRCLE),
|
|
84
|
-
finishCircle: getLabel(MAP_GPSTOOLS_DICCTIONARY.LABEL_FINISH_CIRCLE),
|
|
85
|
-
placeCircleMarker: getLabel(MAP_GPSTOOLS_DICCTIONARY.LABEL_PLACE_CIRCLE_MARKER)
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
}, [map, getLabel]);
|
|
89
|
-
useEffect(() => {
|
|
90
|
-
if (map) {
|
|
91
|
-
let shape = "Circle";
|
|
92
|
-
if (geometrTypeIdCached === "gt_polygon") {
|
|
93
|
-
shape = "Polygon";
|
|
94
|
-
} else if (geometrTypeIdCached === "gt_rectangle") {
|
|
95
|
-
shape = "Rectangle";
|
|
96
|
-
}
|
|
97
|
-
if (drawing) {
|
|
98
|
-
if (!currentLayer.current) {
|
|
99
|
-
setValue("inEdition", true);
|
|
100
|
-
if (shape === "Circle") {
|
|
101
|
-
map.on("pm:drawstart", ({ workingLayer }) => {
|
|
102
|
-
workingLayer.on("pm:centerplaced", (e) => {
|
|
103
|
-
const layer = e.workingLayer;
|
|
104
|
-
layer.setStyle({
|
|
105
|
-
color: strokeColor,
|
|
106
|
-
opacity: strokeOpacity,
|
|
107
|
-
weight: strokeWeight,
|
|
108
|
-
dashArray: strokeDashArray,
|
|
109
|
-
fillColor,
|
|
110
|
-
fillOpacity
|
|
111
|
-
});
|
|
112
|
-
setValue("lat", Number(layer.getLatLng().lat.toFixed(8)));
|
|
113
|
-
setValue("lng", Number(layer.getLatLng().lng.toFixed(8)));
|
|
114
|
-
layer.on("pm:change", (_e) => {
|
|
115
|
-
setValue("properties.radius", Number(layer.getRadius().toFixed(1)));
|
|
116
|
-
});
|
|
117
|
-
});
|
|
118
|
-
});
|
|
119
|
-
setValue("properties.subType", shape);
|
|
120
|
-
} else if (shape === "Polygon") {
|
|
121
|
-
map.on("pm:drawstart", ({ workingLayer }) => {
|
|
122
|
-
workingLayer.on("pm:vertexadded", (e) => {
|
|
123
|
-
const layer = e.workingLayer;
|
|
124
|
-
layer.setStyle({
|
|
125
|
-
color: strokeColor,
|
|
126
|
-
opacity: strokeOpacity,
|
|
127
|
-
weight: strokeWeight,
|
|
128
|
-
dashArray: strokeDashArray,
|
|
129
|
-
fillColor,
|
|
130
|
-
fillOpacity
|
|
131
|
-
});
|
|
132
|
-
});
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
map.pm.enableDraw(shape);
|
|
136
|
-
map.pm.setPathOptions({
|
|
137
|
-
color: strokeColor,
|
|
138
|
-
opacity: strokeOpacity,
|
|
139
|
-
weight: strokeWeight,
|
|
140
|
-
dashArray: strokeDashArray,
|
|
141
|
-
fillColor,
|
|
142
|
-
fillOpacity
|
|
143
|
-
});
|
|
144
|
-
map.on("pm:create", (e) => {
|
|
145
|
-
currentLayer.current = e.layer;
|
|
146
|
-
setValue("geometry", currentLayer.current.toGeoJSON()?.geometry, {
|
|
147
|
-
shouldTouch: false,
|
|
148
|
-
shouldValidate: true
|
|
149
|
-
});
|
|
150
|
-
setValue("inEdition", false);
|
|
151
|
-
setDrawing(false);
|
|
152
|
-
});
|
|
153
|
-
} else {
|
|
154
|
-
currentLayer.current.pm.enable();
|
|
155
|
-
setValue("inEdition", true);
|
|
156
|
-
currentLayer.current.on("pm:disable", (e) => {
|
|
157
|
-
currentLayer.current = e.layer;
|
|
158
|
-
setValue("geometry", currentLayer.current.toGeoJSON()?.geometry, {
|
|
159
|
-
shouldTouch: false,
|
|
160
|
-
shouldValidate: true
|
|
161
|
-
});
|
|
162
|
-
setValue("inEdition", false);
|
|
163
|
-
setDrawing(false);
|
|
164
|
-
});
|
|
165
|
-
if (shape === "Circle") {
|
|
166
|
-
currentLayer.current.on("pm:change", (e) => {
|
|
167
|
-
currentLayer.current = e.layer;
|
|
168
|
-
setValue("lat", Number(currentLayer.current.getLatLng().lat.toFixed(8)));
|
|
169
|
-
setValue("lng", Number(currentLayer.current.getLatLng().lng.toFixed(8)));
|
|
170
|
-
setValue("properties.radius", currentLayer.current.getRadius());
|
|
171
|
-
setValue("properties.radius", Number(currentLayer.current.getRadius().toFixed(1)));
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
} else {
|
|
176
|
-
map.pm.disableDraw("Polygon");
|
|
177
|
-
map.off("pm:create");
|
|
178
|
-
map.off("pm:edit");
|
|
179
|
-
map.off("pm:drawstart");
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}, [map, drawing]);
|
|
183
|
-
const handleDraw = useCallback(() => {
|
|
184
|
-
setDrawing(true);
|
|
185
|
-
}, []);
|
|
186
|
-
const handleFinish = useCallback(() => {
|
|
187
|
-
if (currentLayer.current) {
|
|
188
|
-
currentLayer.current.pm.disable();
|
|
189
|
-
currentLayer.current.setStyle({ color: "#ff0000", fillColor: "#ff0000" });
|
|
190
|
-
}
|
|
191
|
-
}, []);
|
|
192
|
-
useEffect(() => {
|
|
193
|
-
if (!readyToUpdate) {
|
|
194
|
-
return;
|
|
195
|
-
}
|
|
196
|
-
if (geofenceTypeId) {
|
|
197
|
-
if (geofenceTypeId !== geometrTypeIdCached) {
|
|
198
|
-
setgeofenceTypeIdCached(geofenceTypeId);
|
|
199
|
-
if (geometrTypeIdCached !== "gt_circle") {
|
|
200
|
-
setValue("properties.radius", null);
|
|
201
|
-
setValue("lat", null);
|
|
202
|
-
setValue("lng", null);
|
|
203
|
-
}
|
|
204
|
-
setValue("geometry", null);
|
|
205
|
-
if (currentLayer.current) {
|
|
206
|
-
currentLayer.current.remove();
|
|
207
|
-
currentLayer.current = null;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}, [geofenceTypeId]);
|
|
212
|
-
return { inEdition, handleDraw, handleFinish, geometrTypeIdCached };
|
|
213
|
-
}
|
|
214
|
-
export {
|
|
215
|
-
useDrawing as u
|
|
216
|
-
};
|