@m4l/components 9.1.125 → 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/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/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/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/test/CourserFormatter.test.d.ts +0 -1
- 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/googleMutant.js +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 → extended/React-Spinners/PropagateLoaderSpinner}/index.js +0 -0
- /package/components/{maps/components/MapGpsTools → 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 → 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/extended/{React-Splitter/SplitLayout → React-Splitter-Layout}/tests/SplitLayout.test.d.ts +0 -0
- /package/components/{maps/utils → extended/React-Window/FixedSizeList}/index.js +0 -0
- /package/{contexts/RealTimeContext → components/extended/React-Window/VariableSizeList}/index.js +0 -0
- /package/components/{maps/components/Map/contexts/MapContext/helper.js → extended/React-Window/index.js} +0 -0
- /package/components/{maps/components/Map/external/googleMutant/LRUMap.js → extended/index.js} +0 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { u as usePopoverSort } from "./usePopoverSort.js";
|
|
3
|
+
import { D as DataTypeComponent } from "../FieldTypes/DataTypeComponent.js";
|
|
4
|
+
import { n as PopoverStyled, o as PopoverHeaderStyled, p as PopoverHeaderIconStyled, q as PopoverHeaderTitleStyled, r as PopoverContainerFieldsStyled, s as PopoverHeaderActionsStyled } from "../../slots/DynamicSortSlots.js";
|
|
5
|
+
import { R as RHFormProvider } from "../../../hook-form/RHFormContext/index.js";
|
|
6
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/ActionCancel.js";
|
|
7
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/ActionIntro.js";
|
|
8
|
+
function PopoverSort() {
|
|
9
|
+
const {
|
|
10
|
+
field,
|
|
11
|
+
labelField,
|
|
12
|
+
anchorEl,
|
|
13
|
+
handleKeyDownPopper,
|
|
14
|
+
handleClosePopover,
|
|
15
|
+
onSubmit,
|
|
16
|
+
onClose,
|
|
17
|
+
sortFormValue,
|
|
18
|
+
formSort,
|
|
19
|
+
popupValidationSchema,
|
|
20
|
+
statusLoad,
|
|
21
|
+
canRender
|
|
22
|
+
} = usePopoverSort();
|
|
23
|
+
if (!canRender) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return /* @__PURE__ */ jsx(
|
|
27
|
+
PopoverStyled,
|
|
28
|
+
{
|
|
29
|
+
open: true,
|
|
30
|
+
disableRestoreFocus: true,
|
|
31
|
+
transitionDuration: 0,
|
|
32
|
+
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
33
|
+
transformOrigin: { vertical: "top", horizontal: "left" },
|
|
34
|
+
arrowType: "top-left",
|
|
35
|
+
anchorEl,
|
|
36
|
+
onKeyDown: handleKeyDownPopper,
|
|
37
|
+
onClose: handleClosePopover,
|
|
38
|
+
ownerState: {},
|
|
39
|
+
children: /* @__PURE__ */ jsxs(
|
|
40
|
+
RHFormProvider,
|
|
41
|
+
{
|
|
42
|
+
onSubmit,
|
|
43
|
+
values: sortFormValue,
|
|
44
|
+
validationSchema: popupValidationSchema,
|
|
45
|
+
statusLoad,
|
|
46
|
+
children: [
|
|
47
|
+
/* @__PURE__ */ jsxs(PopoverHeaderStyled, { ownerState: {}, children: [
|
|
48
|
+
field.urlIcon && /* @__PURE__ */ jsx(PopoverHeaderIconStyled, { src: field.urlIcon, ownerState: {} }),
|
|
49
|
+
/* @__PURE__ */ jsx(PopoverHeaderTitleStyled, { variant: "paragraphDens", ownerState: {}, children: labelField })
|
|
50
|
+
] }),
|
|
51
|
+
/* @__PURE__ */ jsx(PopoverContainerFieldsStyled, { ownerState: {}, children: /* @__PURE__ */ jsx(DataTypeComponent, { formSort, statusLoad }) }),
|
|
52
|
+
/* @__PURE__ */ jsxs(PopoverHeaderActionsStyled, { ownerState: {}, children: [
|
|
53
|
+
/* @__PURE__ */ jsx(ActionCancel, { onClick: onClose, skeletonWidth: "68px" }),
|
|
54
|
+
/* @__PURE__ */ jsx(ActionIntro, { skeletonWidth: "64px" })
|
|
55
|
+
] })
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
export {
|
|
63
|
+
PopoverSort as P
|
|
64
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { KeyboardEvent } from 'react';
|
|
2
2
|
import { FieldValues } from 'react-hook-form';
|
|
3
|
-
import { FormSortFieldApplied,
|
|
3
|
+
import { FormSortFieldApplied, SortField } from '../../types';
|
|
4
4
|
/**
|
|
5
5
|
* TODO: Documentar
|
|
6
6
|
*/
|
|
7
7
|
declare function usePopoverSort(): {
|
|
8
|
-
field:
|
|
8
|
+
field: SortField;
|
|
9
9
|
labelField: string;
|
|
10
10
|
canRender: boolean;
|
|
11
11
|
anchorEl: Element;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { useRef, useMemo, useCallback } from "react";
|
|
2
|
+
import { useModuleDictionary } from "@m4l/core";
|
|
3
|
+
import { u as useDynamicSortStore } from "../../store/useDynamicSortStore.js";
|
|
4
|
+
import { f as fieldFactory } from "../FieldTypes/fieldFactory.js";
|
|
5
|
+
function usePopoverSort() {
|
|
6
|
+
let anchorEl;
|
|
7
|
+
let field;
|
|
8
|
+
let formSort;
|
|
9
|
+
let sortFormValue;
|
|
10
|
+
let popupValidationSchema;
|
|
11
|
+
const { getLabel } = useModuleDictionary();
|
|
12
|
+
const popoverSortData = useDynamicSortStore((state) => state.popoverSortData);
|
|
13
|
+
const { hidePopoverSort, addSort, updateSort, getNewId } = useDynamicSortStore(
|
|
14
|
+
(state) => state.actions
|
|
15
|
+
);
|
|
16
|
+
const refPreviousPopoverSortData = useRef(popoverSortData);
|
|
17
|
+
const statusLoad = useMemo(() => {
|
|
18
|
+
let returnStatus;
|
|
19
|
+
if (popoverSortData && refPreviousPopoverSortData.current === void 0) {
|
|
20
|
+
returnStatus = "ready";
|
|
21
|
+
} else if (!popoverSortData) {
|
|
22
|
+
returnStatus = "initial";
|
|
23
|
+
} else {
|
|
24
|
+
returnStatus = "reload_values_provider";
|
|
25
|
+
}
|
|
26
|
+
refPreviousPopoverSortData.current = popoverSortData;
|
|
27
|
+
return returnStatus;
|
|
28
|
+
}, [popoverSortData]);
|
|
29
|
+
if (popoverSortData?.openFor === "add") {
|
|
30
|
+
anchorEl = popoverSortData?.fnAnchorEl();
|
|
31
|
+
field = popoverSortData.field;
|
|
32
|
+
const helperField = fieldFactory(field.type);
|
|
33
|
+
popupValidationSchema = helperField.getSchema(getLabel);
|
|
34
|
+
sortFormValue = helperField.getFormValue(field, getLabel);
|
|
35
|
+
formSort = {
|
|
36
|
+
field,
|
|
37
|
+
id: getNewId(),
|
|
38
|
+
isSet: true,
|
|
39
|
+
fixed: false,
|
|
40
|
+
...sortFormValue
|
|
41
|
+
};
|
|
42
|
+
} else if (popoverSortData) {
|
|
43
|
+
anchorEl = popoverSortData?.fnAnchorEl();
|
|
44
|
+
field = popoverSortData?.sort.field;
|
|
45
|
+
const helperField = fieldFactory(field.type);
|
|
46
|
+
popupValidationSchema = helperField.getSchema(getLabel);
|
|
47
|
+
sortFormValue = helperField.getFormValue(field, getLabel, popoverSortData.sort);
|
|
48
|
+
formSort = { ...popoverSortData?.sort, ...sortFormValue };
|
|
49
|
+
} else {
|
|
50
|
+
sortFormValue = {};
|
|
51
|
+
field = {};
|
|
52
|
+
formSort = {};
|
|
53
|
+
anchorEl = {};
|
|
54
|
+
}
|
|
55
|
+
const onClose = useCallback(() => {
|
|
56
|
+
hidePopoverSort(false);
|
|
57
|
+
}, []);
|
|
58
|
+
const handleKeyDownPopper = useCallback((event) => {
|
|
59
|
+
if (event.key === "Escape") {
|
|
60
|
+
onClose();
|
|
61
|
+
}
|
|
62
|
+
}, []);
|
|
63
|
+
function handleClosePopover() {
|
|
64
|
+
hidePopoverSort(false);
|
|
65
|
+
}
|
|
66
|
+
async function onSubmit(dataFieldValues) {
|
|
67
|
+
const sortField = { ...sortFormValue, ...dataFieldValues };
|
|
68
|
+
const newSort = {
|
|
69
|
+
...formSort,
|
|
70
|
+
// todo: mejorar el tipado que se le envía a getSortFromFormValue
|
|
71
|
+
...fieldFactory(sortField.fieldType).getSortFromFormValue(sortField),
|
|
72
|
+
isSet: true
|
|
73
|
+
};
|
|
74
|
+
if (popoverSortData?.openFor === "add") {
|
|
75
|
+
addSort(newSort);
|
|
76
|
+
} else {
|
|
77
|
+
updateSort(newSort);
|
|
78
|
+
}
|
|
79
|
+
hidePopoverSort(false);
|
|
80
|
+
}
|
|
81
|
+
const labelField = field?.label ?? getLabel(field?.dictionaryId ?? "");
|
|
82
|
+
return {
|
|
83
|
+
field,
|
|
84
|
+
labelField,
|
|
85
|
+
canRender: Boolean(popoverSortData),
|
|
86
|
+
anchorEl,
|
|
87
|
+
handleKeyDownPopper,
|
|
88
|
+
handleClosePopover,
|
|
89
|
+
onSubmit,
|
|
90
|
+
onClose,
|
|
91
|
+
sortFormValue,
|
|
92
|
+
formSort,
|
|
93
|
+
popupValidationSchema,
|
|
94
|
+
statusLoad
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
export {
|
|
98
|
+
usePopoverSort as u
|
|
99
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { u as useSortActions } from "./useSortActions.js";
|
|
3
|
+
import { S as SortActionsSkeleton } from "./SortActionsSkeleton.js";
|
|
4
|
+
import { g as getDynamicSortDictionary, D as DICCTIONARY } from "../../dictionary.js";
|
|
5
|
+
import { t as ActionsStyled, u as ActionsClearButtonStyled, v as ActionsSubmitButtonStyled } from "../../slots/DynamicSortSlots.js";
|
|
6
|
+
function SortActions() {
|
|
7
|
+
const {
|
|
8
|
+
isSkeleton,
|
|
9
|
+
sortIconUrl,
|
|
10
|
+
clearIconUrl,
|
|
11
|
+
canShowRemoveAction,
|
|
12
|
+
onClickClearSorts,
|
|
13
|
+
onClickSort,
|
|
14
|
+
sortButtonDictionaryTooltip,
|
|
15
|
+
ownerState
|
|
16
|
+
} = useSortActions();
|
|
17
|
+
if (isSkeleton) {
|
|
18
|
+
return /* @__PURE__ */ jsx(ActionsStyled, { ownerState: {}, children: /* @__PURE__ */ jsx(SortActionsSkeleton, {}) });
|
|
19
|
+
}
|
|
20
|
+
return /* @__PURE__ */ jsxs(ActionsStyled, { ownerState: {}, children: [
|
|
21
|
+
canShowRemoveAction && /* @__PURE__ */ jsx(
|
|
22
|
+
ActionsClearButtonStyled,
|
|
23
|
+
{
|
|
24
|
+
src: clearIconUrl,
|
|
25
|
+
onClick: onClickClearSorts,
|
|
26
|
+
dictionaryTooltipId: getDynamicSortDictionary(DICCTIONARY.tooltip_clear_sort),
|
|
27
|
+
ownerState: {}
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
/* @__PURE__ */ jsx(
|
|
31
|
+
ActionsSubmitButtonStyled,
|
|
32
|
+
{
|
|
33
|
+
src: sortIconUrl,
|
|
34
|
+
"aria-label": "settings",
|
|
35
|
+
dictionaryTooltipId: sortButtonDictionaryTooltip,
|
|
36
|
+
onClick: onClickSort,
|
|
37
|
+
ownerState: { ...ownerState }
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
] });
|
|
41
|
+
}
|
|
42
|
+
export {
|
|
43
|
+
SortActions as S
|
|
44
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Skeleton } from "@mui/material";
|
|
3
|
+
import { w as ActionsSkeletonButtonStyled } from "../../slots/DynamicSortSlots.js";
|
|
4
|
+
function SortActionsSkeleton() {
|
|
5
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
6
|
+
/* @__PURE__ */ jsx(ActionsSkeletonButtonStyled, { ownerState: {}, children: /* @__PURE__ */ jsx(Skeleton, { variant: "circular", width: "16px", height: "16px" }) }),
|
|
7
|
+
/* @__PURE__ */ jsx(ActionsSkeletonButtonStyled, { ownerState: {}, children: /* @__PURE__ */ jsx(Skeleton, { variant: "circular", width: "16px", height: "16px" }) })
|
|
8
|
+
] });
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
SortActionsSkeleton as S
|
|
12
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { useEnvironment } from "@m4l/core";
|
|
2
|
+
import { u as useDynamicSortStore } from "../../store/useDynamicSortStore.js";
|
|
3
|
+
import { g as getDynamicSortDictionary, D as DICCTIONARY } from "../../dictionary.js";
|
|
4
|
+
import { A as ASSETS_URL, a as ASSETS } from "../../constants.js";
|
|
5
|
+
function useSortActions() {
|
|
6
|
+
const { host_static_assets, environment_assets } = useEnvironment();
|
|
7
|
+
const automatic = useDynamicSortStore((state) => state.automatic);
|
|
8
|
+
const isSkeleton = useDynamicSortStore((state) => state.ownerState.isSkeleton);
|
|
9
|
+
const isValid = useDynamicSortStore((state) => state.ownerState.isValid);
|
|
10
|
+
const isDirty = useDynamicSortStore((state) => state.ownerState.isDirty);
|
|
11
|
+
const appliedSorts = useDynamicSortStore((state) => state.appliedSorts);
|
|
12
|
+
const { hidePopoverSort, clearSorts, fireOnChangeSorts } = useDynamicSortStore(
|
|
13
|
+
(state) => state.actions
|
|
14
|
+
);
|
|
15
|
+
function onClickClearSorts() {
|
|
16
|
+
hidePopoverSort(false);
|
|
17
|
+
clearSorts();
|
|
18
|
+
fireOnChangeSorts();
|
|
19
|
+
}
|
|
20
|
+
const sortIconUrl = `${host_static_assets}/${environment_assets}/${ASSETS_URL}/${automatic ? ASSETS.refresh : ASSETS.sort}`;
|
|
21
|
+
const clearIconUrl = `${host_static_assets}/${environment_assets}/${ASSETS_URL}/${ASSETS.clean}`;
|
|
22
|
+
const canShowRemoveAction = appliedSorts.findIndex((f) => !f.fixed) > -1;
|
|
23
|
+
const sortButtonDictionaryTooltip = getDynamicSortDictionary(
|
|
24
|
+
isValid ? isDirty ? DICCTIONARY.sort_tooltip_dirty : DICCTIONARY.sort_tooltip_refresh : DICCTIONARY.sort_tooltip_invalid
|
|
25
|
+
);
|
|
26
|
+
return {
|
|
27
|
+
isSkeleton,
|
|
28
|
+
sortIconUrl,
|
|
29
|
+
clearIconUrl,
|
|
30
|
+
canShowRemoveAction,
|
|
31
|
+
onClickClearSorts,
|
|
32
|
+
onClickSort: fireOnChangeSorts,
|
|
33
|
+
sortButtonDictionaryTooltip,
|
|
34
|
+
ownerState: { isValid }
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
useSortActions as u
|
|
39
|
+
};
|
|
@@ -26,10 +26,10 @@ export interface Label<T extends FieldType = FieldType> extends FieldBase<T> {
|
|
|
26
26
|
label: string;
|
|
27
27
|
dictionaryId?: undefined;
|
|
28
28
|
}
|
|
29
|
-
export type
|
|
29
|
+
export type SortField<T extends FieldType = FieldType> = FieldDictionaryId<T> | Label<T>;
|
|
30
30
|
export interface BaseApplySort<T extends FieldType = FieldType> {
|
|
31
31
|
id: number;
|
|
32
|
-
field:
|
|
32
|
+
field: SortField<T>;
|
|
33
33
|
isSet: boolean;
|
|
34
34
|
fixed: boolean;
|
|
35
35
|
}
|
|
@@ -122,7 +122,7 @@ export interface DynamicSortProps {
|
|
|
122
122
|
*/
|
|
123
123
|
automatic?: boolean;
|
|
124
124
|
/** Array con la configuración de cada campo por el que se podrá filtrar. */
|
|
125
|
-
fields: Array<
|
|
125
|
+
fields: Array<SortField>;
|
|
126
126
|
/** Array con la configuración de cada campo por el que se podrá hacer Sort.*/
|
|
127
127
|
initialAppliedSorts?: Array<InitialSortApplied>;
|
|
128
128
|
/** Handler que se dispara cuando el filtro cambia en automatico, o cuando es manual y se presion el boton de filtrar */
|
package/components/Icon/Icon.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { g as getPropDataTestId } from "../../test/getNameDataTestId.js";
|
|
5
|
-
import { I as
|
|
5
|
+
import { I as ICON_KEY_COMPONENT, a as ICON_PREFIX } from "./constants.js";
|
|
6
6
|
import { g as getComponentClasses, a as getComponentSlotRoot } from "../../utils/getComponentSlotRoot.js";
|
|
7
7
|
import { u as useComponentSize } from "../../hooks/useComponentSize/useComponentSize.js";
|
|
8
8
|
import { T as TooltipStyled, R as RootStyled, I as IconStyled, a as IconSkeletonStyled } from "./slots/IconSlots.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
2
|
import { I as IconSlots } from "./IconEnum.js";
|
|
3
|
-
import {
|
|
3
|
+
import { I as ICON_KEY_COMPONENT } from "../constants.js";
|
|
4
4
|
import { i as iconStyles } from "../Icon.styles.js";
|
|
5
5
|
import { T as Tooltip } from "../../mui_extended/Tooltip/Tooltip.js";
|
|
6
6
|
import { S as Skeleton } from "../../mui_extended/Skeleton/Skeleton.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import React, { useState, useMemo } from "react";
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React, { useState, useMemo, useCallback } from "react";
|
|
3
3
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import { u as useComponentSize } from "../../hooks/useComponentSize/useComponentSize.js";
|
|
5
5
|
import { P as Popover } from "../mui_extended/Popover/Popover.js";
|
|
@@ -7,7 +7,7 @@ import { M as MenuItem } from "../mui_extended/MenuItem/MenuItem.js";
|
|
|
7
7
|
import { I as ICON_PATH, a as ICONS, M as MENU_ACTIONS_ } from "./constants.js";
|
|
8
8
|
import { g as getMenuActionsDictionary, D as DICTIONARY } from "./dictionary.js";
|
|
9
9
|
import { M as MenuDivider } from "../mui_extended/MenuDivider/MenuDivider.js";
|
|
10
|
-
import {
|
|
10
|
+
import { M as MenuListStyled, a as MenuLoaderStyled, R as RootStyled, I as IconButtonStyled, H as HeaderMenuActionsStyled, F as FooterMenuActionsStyled } from "./slots/MenuActionsSlots.js";
|
|
11
11
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/CircularProgress.js";
|
|
12
12
|
function MenuActions(props) {
|
|
13
13
|
const {
|
|
@@ -38,26 +38,26 @@ function MenuActions(props) {
|
|
|
38
38
|
const { getLabel } = useModuleDictionary();
|
|
39
39
|
const [anchorEl, setAnchorEl] = useState(null);
|
|
40
40
|
const open = Boolean(externalOpen ?? anchorEl);
|
|
41
|
-
const ownerState = {
|
|
41
|
+
const ownerState = useMemo(() => ({
|
|
42
42
|
iconSize: currentSize,
|
|
43
43
|
selected: open,
|
|
44
44
|
paletteColor: color
|
|
45
|
-
};
|
|
45
|
+
}), [currentSize, open, color]);
|
|
46
46
|
const handleOpenClose = () => {
|
|
47
47
|
setAnchorEl(null);
|
|
48
48
|
};
|
|
49
49
|
const finalIcon = useMemo(() => {
|
|
50
50
|
return icon || urlIcon || `${host_static_assets}/${environment_assets}/${ICON_PATH}/${ICONS.MENU}`;
|
|
51
51
|
}, [urlIcon, icon, host_static_assets, environment_assets]);
|
|
52
|
-
const handleClick = (e, menuAction) => {
|
|
52
|
+
const handleClick = useCallback((e, menuAction) => {
|
|
53
53
|
e.stopPropagation();
|
|
54
54
|
setAnchorEl(null);
|
|
55
55
|
menuAction.onClick && menuAction.onClick(e);
|
|
56
|
-
};
|
|
57
|
-
const handleButtonClick = (e) => {
|
|
56
|
+
}, []);
|
|
57
|
+
const handleButtonClick = useCallback((e) => {
|
|
58
58
|
e.stopPropagation();
|
|
59
59
|
setAnchorEl(e.currentTarget);
|
|
60
|
-
};
|
|
60
|
+
}, []);
|
|
61
61
|
const finalActions = useMemo(() => {
|
|
62
62
|
if (!menuActions) {
|
|
63
63
|
return [];
|
|
@@ -68,28 +68,26 @@ function MenuActions(props) {
|
|
|
68
68
|
}
|
|
69
69
|
return processedActions.filter((action) => !!action.type);
|
|
70
70
|
}, [menuActions, objItem]);
|
|
71
|
-
const renderMenuContent = () => {
|
|
71
|
+
const renderMenuContent = useCallback(() => {
|
|
72
72
|
if (!finalActions.length) {
|
|
73
73
|
return /* @__PURE__ */ jsx(MenuItem, { disabled: true, role: "menu-no-actions", label: getLabel(getMenuActionsDictionary(DICTIONARY.no_actions_label)) });
|
|
74
74
|
}
|
|
75
|
-
const
|
|
75
|
+
const RenderHeader = () => {
|
|
76
76
|
return /* @__PURE__ */ jsx(HeaderMenuActionsStyled, { ownerState: {}, children: header });
|
|
77
77
|
};
|
|
78
|
-
const
|
|
78
|
+
const RenderFooter = () => {
|
|
79
79
|
return /* @__PURE__ */ jsx(FooterMenuActionsStyled, { ownerState: {}, children: footer });
|
|
80
80
|
};
|
|
81
|
-
return /* @__PURE__ */ jsxs(MenuListStyled, { ownerState: {
|
|
82
|
-
header && /* @__PURE__ */
|
|
83
|
-
|
|
84
|
-
/* @__PURE__ */ jsx(MenuDivider, { variant: "solid", size })
|
|
85
|
-
] }),
|
|
81
|
+
return /* @__PURE__ */ jsxs(MenuListStyled, { ownerState: {}, children: [
|
|
82
|
+
header && /* @__PURE__ */ jsx(RenderHeader, {}),
|
|
83
|
+
header && /* @__PURE__ */ jsx(MenuDivider, { variant: "solid", size }),
|
|
86
84
|
finalActions.map((menuAction, index) => {
|
|
87
85
|
const key = actionKey ?? index;
|
|
88
86
|
switch (menuAction.type) {
|
|
89
87
|
case "divider":
|
|
90
88
|
return /* @__PURE__ */ jsx(MenuDivider, { variant: "solid", size }, `divider-${key}`);
|
|
91
89
|
case "loader":
|
|
92
|
-
return /* @__PURE__ */ jsx(MenuLoaderStyled, { size, ownerState: {
|
|
90
|
+
return /* @__PURE__ */ jsx(MenuLoaderStyled, { size, ownerState: {}, children: /* @__PURE__ */ jsx(CircularProgress, { size }) }, `loader-${key}`);
|
|
93
91
|
case "customNode":
|
|
94
92
|
return /* @__PURE__ */ jsx(React.Fragment, { children: menuAction.customNode }, `customNode-${key}`);
|
|
95
93
|
case "menuItem":
|
|
@@ -107,13 +105,11 @@ function MenuActions(props) {
|
|
|
107
105
|
return null;
|
|
108
106
|
}
|
|
109
107
|
}),
|
|
110
|
-
footer && /* @__PURE__ */
|
|
111
|
-
|
|
112
|
-
renderFooter()
|
|
113
|
-
] }),
|
|
108
|
+
footer && /* @__PURE__ */ jsx(MenuDivider, { variant: "solid", size }),
|
|
109
|
+
footer && /* @__PURE__ */ jsx(RenderFooter, {}),
|
|
114
110
|
endListElement && endListElement
|
|
115
111
|
] });
|
|
116
|
-
};
|
|
112
|
+
}, [finalActions, header, size, footer, endListElement, getLabel, actionKey, handleClick]);
|
|
117
113
|
return /* @__PURE__ */ jsxs(RootStyled, { className, ownerState: { ownerState }, children: [
|
|
118
114
|
/* @__PURE__ */ jsx(
|
|
119
115
|
IconButtonStyled,
|
|
@@ -132,7 +128,7 @@ function MenuActions(props) {
|
|
|
132
128
|
"aria-label": "menu-actions"
|
|
133
129
|
}
|
|
134
130
|
),
|
|
135
|
-
|
|
131
|
+
/* @__PURE__ */ jsx(
|
|
136
132
|
Popover,
|
|
137
133
|
{
|
|
138
134
|
id: "Popover",
|
|
@@ -142,7 +138,7 @@ function MenuActions(props) {
|
|
|
142
138
|
arrowType,
|
|
143
139
|
slotProps: { paper: { ...paperProps } },
|
|
144
140
|
...other,
|
|
145
|
-
children: renderMenuContent()
|
|
141
|
+
children: open && renderMenuContent()
|
|
146
142
|
}
|
|
147
143
|
)
|
|
148
144
|
] });
|
|
@@ -3,11 +3,10 @@ import { u as useModal } from "../../hooks/useModal/index.js";
|
|
|
3
3
|
import { useIsMobile } from "@m4l/graphics";
|
|
4
4
|
import { useState, useEffect } from "react";
|
|
5
5
|
import { u as useStateRef } from "../../hooks/useStateRef/index.js";
|
|
6
|
-
import { BaseProvider, useBase } from "@m4l/core";
|
|
7
6
|
import { C as ContentComponent, D as DialogRootStyled, a as DragResizeWindowStyled, P as PaperModalDialogStyled, M as ModalDialogRootStyled } from "./slots/ModalDialogSlots.js";
|
|
8
|
-
const DraggablePaperComponent = (ref, setRef) => {
|
|
7
|
+
const DraggablePaperComponent = (ref, setRef, dialogProperties) => {
|
|
9
8
|
return (props) => {
|
|
10
|
-
const { initialWidth, initialHeight, maxWidth, maxHeight } =
|
|
9
|
+
const { initialWidth, initialHeight, maxWidth, maxHeight } = dialogProperties;
|
|
11
10
|
if (!ref) {
|
|
12
11
|
return props.children;
|
|
13
12
|
}
|
|
@@ -60,32 +59,27 @@ const ModalDialog = () => {
|
|
|
60
59
|
windowConfirmVariant: variant
|
|
61
60
|
};
|
|
62
61
|
const contentComponent = /* @__PURE__ */ jsx(ContentComponent, { children: typeof window2 === "function" ? window2() : window2 });
|
|
63
|
-
const
|
|
62
|
+
const dialogProperties = {
|
|
63
|
+
initialWidth,
|
|
64
|
+
initialHeight,
|
|
65
|
+
maxWidth,
|
|
66
|
+
maxHeight
|
|
67
|
+
};
|
|
68
|
+
const SelectedPaperComponent = isFullScreenMode || isMobile ? PaperComponent : DraggablePaperComponent(ref, setRef, dialogProperties);
|
|
64
69
|
return /* @__PURE__ */ jsx(
|
|
65
|
-
|
|
70
|
+
DialogRootStyled,
|
|
66
71
|
{
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"data-fullscreen": isFullScreenMode || isMobile ? "true" : "false",
|
|
79
|
-
ownerState,
|
|
80
|
-
open,
|
|
81
|
-
onClose: closeModal,
|
|
82
|
-
fullScreen: isFullScreenMode || isMobile,
|
|
83
|
-
"aria-labelledby": "child-modal-title",
|
|
84
|
-
PaperComponent: SelectedPaperComponent,
|
|
85
|
-
disableEnforceFocus: true,
|
|
86
|
-
children: contentComponent
|
|
87
|
-
}
|
|
88
|
-
)
|
|
72
|
+
ref: setRef,
|
|
73
|
+
role: "dialog-modal",
|
|
74
|
+
"data-fullscreen": isFullScreenMode || isMobile ? "true" : "false",
|
|
75
|
+
ownerState,
|
|
76
|
+
open,
|
|
77
|
+
onClose: closeModal,
|
|
78
|
+
fullScreen: isFullScreenMode || isMobile,
|
|
79
|
+
"aria-labelledby": "child-modal-title",
|
|
80
|
+
PaperComponent: SelectedPaperComponent,
|
|
81
|
+
disableEnforceFocus: true,
|
|
82
|
+
children: contentComponent
|
|
89
83
|
}
|
|
90
84
|
);
|
|
91
85
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const ModalDialogRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PaperOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
2
|
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
3
3
|
}, "children" | "style" | "square" | "variant" | "sx" | "classes" | "className" | "elevation">, "children" | "ref" | "title" | "id" | "hidden" | "color" | "content" | "style" | "square" | "variant" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "elevation"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
4
|
-
export declare const DialogRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/Dialog').DialogProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "children" | "onClose" | "title" | "component" | "scroll" | "id" | "container" | "components" | "hidden" | "color" | "content" | "style" | "open" | "variant" | "maxWidth" | "transitionDuration" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "componentsProps" | "slotProps" | "slots" | "TransitionComponent" | "TransitionProps" | "disablePortal" | "keepMounted" | keyof import('react').RefAttributes<HTMLDivElement> | "
|
|
4
|
+
export declare const DialogRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/Dialog').DialogProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "children" | "onClose" | "title" | "component" | "scroll" | "id" | "container" | "components" | "hidden" | "color" | "content" | "style" | "open" | "variant" | "maxWidth" | "transitionDuration" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "componentsProps" | "slotProps" | "slots" | "TransitionComponent" | "TransitionProps" | "disablePortal" | "keepMounted" | keyof import('react').RefAttributes<HTMLDivElement> | "BackdropComponent" | "BackdropProps" | "closeAfterTransition" | "disableAutoFocus" | "disableEnforceFocus" | "disableEscapeKeyDown" | "disableRestoreFocus" | "disableScrollLock" | "hideBackdrop" | "onBackdropClick" | "onTransitionEnter" | "onTransitionExited" | "PaperProps" | "dataTestId" | "fullWidth" | "fullScreen" | "PaperComponent"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
5
5
|
export declare const ContentComponent: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
6
6
|
export declare const DragResizeWindowStyled: import('@emotion/styled').StyledComponent<Pick<import('../../DragResizeWindow/types').DragResizeWindowProps & import('react').RefAttributes<HTMLDivElement>, keyof import('react').RefAttributes<HTMLDivElement> | keyof import('../../DragResizeWindow/types').DragResizeWindowProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
|
|
7
7
|
export declare const PaperModalDialogStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PaperOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { generateUtilityClasses } from "@mui/material";
|
|
2
2
|
import { unstable_composeClasses } from "@mui/base";
|
|
3
3
|
import { c as componentName } from "./constants.js";
|
|
4
|
-
import { g as getComponentUtilityClass } from "../../../utils/
|
|
4
|
+
import { g as getComponentUtilityClass } from "../../../utils/getComponentUtilityClass.js";
|
|
5
5
|
const classes = generateUtilityClasses(componentName, [
|
|
6
6
|
/* elements */
|
|
7
7
|
"root",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.js";
|
|
4
|
-
import {
|
|
4
|
+
import { P as PROPERTY_VALUE_KEY_COMPONENT, T as TEST_PROPS_DATA, C as COMPONENT_PREFIX } from "./constants.js";
|
|
5
5
|
import { g as getPropDataTestId, a as getNameDataTestId } from "../../test/getNameDataTestId.js";
|
|
6
|
-
import { P as PropertyValueRootStyled,
|
|
6
|
+
import { P as PropertyValueRootStyled, N as NameStyled, V as ValueStyled } from "./slots/PropertyValueSlots.js";
|
|
7
7
|
import { a as getComponentSlotRoot } from "../../utils/getComponentSlotRoot.js";
|
|
8
8
|
import { u as useComponentSize } from "../../hooks/useComponentSize/useComponentSize.js";
|
|
9
9
|
import React from "react";
|
|
@@ -23,12 +23,14 @@ function PropertyValue(props) {
|
|
|
23
23
|
mandatoryMessage,
|
|
24
24
|
helperMessage,
|
|
25
25
|
semanticWidth = "fullWidth",
|
|
26
|
+
propertyWidth = 200,
|
|
26
27
|
size = "medium",
|
|
27
28
|
valueHeight
|
|
28
29
|
} = props;
|
|
29
30
|
const { currentSize } = useComponentSize(size);
|
|
30
31
|
const normalizedSize = currentSize === "large" ? "medium" : currentSize;
|
|
31
32
|
const ownerState = {
|
|
33
|
+
propertyWidth,
|
|
32
34
|
disabled: isForm && disabled ? disabled : false,
|
|
33
35
|
isForm: isForm ? true : false,
|
|
34
36
|
semanticWidth,
|
|
@@ -42,7 +44,8 @@ function PropertyValue(props) {
|
|
|
42
44
|
return /* @__PURE__ */ jsx(
|
|
43
45
|
Icon,
|
|
44
46
|
{
|
|
45
|
-
src: startAdornment
|
|
47
|
+
src: startAdornment,
|
|
48
|
+
color: "text.secondary"
|
|
46
49
|
}
|
|
47
50
|
);
|
|
48
51
|
}
|
|
@@ -69,7 +72,7 @@ function PropertyValue(props) {
|
|
|
69
72
|
[TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "root", dataTestId)
|
|
70
73
|
} : {},
|
|
71
74
|
children: [
|
|
72
|
-
/* @__PURE__ */ jsxs(
|
|
75
|
+
/* @__PURE__ */ jsxs(NameStyled, { ownerState, children: [
|
|
73
76
|
renderIcon(),
|
|
74
77
|
/* @__PURE__ */ jsx(
|
|
75
78
|
Label,
|