@m4l/components 0.2.4 → 0.2.6

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.
Files changed (97) hide show
  1. package/components/DataGrid/{index.8fbcf147.js → index.d14640ca.js} +5 -5
  2. package/components/DataGrid/subcomponents/Actions/{index.bad681dc.js → index.3afb1664.js} +1 -1
  3. package/components/DynamicFilter/{index.cd7691e0.js → index.118c9d62.js} +1 -1
  4. package/components/ObjectLogs/{index.9c353020.js → index.070914d9.js} +2 -2
  5. package/components/PropertyValue/{index.37d91d0c.js → index.3b5c9ac7.js} +1 -1
  6. package/components/areas/components/AreasAdmin/{index.a14ba797.js → index.27c6d03e.js} +1 -1
  7. package/components/areas/components/AreasViewer/{index.c4545f2d.js → index.374d105d.js} +3 -3
  8. package/components/areas/contexts/AreasContext/{index.54893ef7.js → index.287ec96e.js} +2 -2
  9. package/components/areas/hooks/useAreas/{index.a15b3d9c.js → index.66c6cf2f.js} +1 -1
  10. package/components/hook-form/RHFRadioGroup/{index.7deb4e48.js → index.3b17819b.js} +1 -1
  11. package/components/index.d.ts +0 -1
  12. package/components/mui_extended/Accordion/{index.b9b427d7.js → index.22b4a776.js} +1 -1
  13. package/components/mui_extended/Tab/{index.724d5948.js → index.32349e95.js} +5 -5
  14. package/hooks/useTab/{index.991b13a7.js → index.f24a704c.js} +1 -1
  15. package/index.js +35 -52
  16. package/package.json +1 -1
  17. package/{vendor.8f8b0ac9.js → vendor.632361a1.js} +11 -13
  18. package/components/hook-form/HelperError/index.66bbcac3.js +0 -30
  19. package/components/hook-form/RHFHelperError/index.d.ts +0 -4
  20. package/components/maps/components/GpsTools/GpsTools.d.ts +0 -1
  21. package/components/maps/components/GpsTools/classes/index.d.ts +0 -4
  22. package/components/maps/components/GpsTools/classes/types.d.ts +0 -20
  23. package/components/maps/components/GpsTools/constants.d.ts +0 -8
  24. package/components/maps/components/GpsTools/contexts/GpsToolsContext/index.d.ts +0 -19
  25. package/components/maps/components/GpsTools/contexts/GpsToolsContext/store.d.ts +0 -16
  26. package/components/maps/components/GpsTools/contexts/GpsToolsContext/types.d.ts +0 -173
  27. package/components/maps/components/GpsTools/dictionary.d.ts +0 -64
  28. package/components/maps/components/GpsTools/hooks/useLayers/index.d.ts +0 -1
  29. package/components/maps/components/GpsTools/hooks/useMapTools/index.d.ts +0 -2
  30. package/components/maps/components/GpsTools/icons.d.ts +0 -15
  31. package/components/maps/components/GpsTools/index.889b0c39.js +0 -2313
  32. package/components/maps/components/GpsTools/index.d.ts +0 -2
  33. package/components/maps/components/GpsTools/subcomponents/TabTools/index.d.ts +0 -9
  34. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/constants.d.ts +0 -7
  35. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/hooks/useCheckedFeatures.d.ts +0 -9
  36. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/hooks/useCheckedGeofences.d.ts +0 -4
  37. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/hooks/useColumns.d.ts +0 -9
  38. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/hooks/useMaster.d.ts +0 -20
  39. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/hooks/useRowActionsGetter.d.ts +0 -9
  40. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/index.d.ts +0 -1
  41. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/model.d.ts +0 -122
  42. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/ColumnSetCheckFormatter/index.d.ts +0 -8
  43. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/ColumnSetCheckFormatter/types.d.ts +0 -5
  44. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/constants.d.ts +0 -20
  45. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/helpers.d.ts +0 -7
  46. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts +0 -11
  47. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useSubmit.d.ts +0 -8
  48. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.d.ts +0 -5
  49. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useValidation.d.ts +0 -22
  50. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/index.d.ts +0 -1
  51. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.d.ts +0 -1
  52. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/types.d.ts +0 -6
  53. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.d.ts +0 -5
  54. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.d.ts +0 -1
  55. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +0 -7
  56. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.d.ts +0 -6
  57. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.d.ts +0 -1
  58. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +0 -1
  59. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.d.ts +0 -1
  60. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.d.ts +0 -1
  61. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.d.ts +0 -1
  62. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +0 -10
  63. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/types.d.ts +0 -25
  64. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/index.d.ts +0 -1
  65. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/subcomponents/Filter/index.d.ts +0 -7
  66. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/PolylineWithArrows/index.d.ts +0 -9
  67. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/constants.d.ts +0 -30
  68. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/hooks/useMeasure.d.ts +0 -31
  69. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/hooks/useValidation.d.ts +0 -10
  70. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/index.d.ts +0 -1
  71. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.d.ts +0 -1
  72. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/types.d.ts +0 -6
  73. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/validations.d.ts +0 -2
  74. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MyActions/index.d.ts +0 -1
  75. package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/types.d.ts +0 -9
  76. package/components/maps/components/GpsTools/types.d.ts +0 -34
  77. package/components/maps/components/Map/Map.d.ts +0 -2
  78. package/components/maps/components/Map/classes/index.d.ts +0 -5
  79. package/components/maps/components/Map/classes/types.d.ts +0 -19
  80. package/components/maps/components/Map/constants.d.ts +0 -10
  81. package/components/maps/components/Map/contexts/MapContext/MapContext.d.ts +0 -19
  82. package/components/maps/components/Map/contexts/MapContext/helper.d.ts +0 -8
  83. package/components/maps/components/Map/contexts/MapContext/index.d.ts +0 -2
  84. package/components/maps/components/Map/contexts/MapContext/store.d.ts +0 -16
  85. package/components/maps/components/Map/contexts/MapContext/types.d.ts +0 -354
  86. package/components/maps/components/Map/hooks/useMapStore/index.d.ts +0 -3
  87. package/components/maps/components/Map/index.665e5c5d.js +0 -474
  88. package/components/maps/components/Map/index.d.ts +0 -5
  89. package/components/maps/components/Map/subcomponents/LayersContainer/index.d.ts +0 -2
  90. package/components/maps/components/Map/subcomponents/LeafletLayer/index.d.ts +0 -3
  91. package/components/maps/components/Map/subcomponents/LeafletLayer/types.d.ts +0 -2
  92. package/components/maps/components/Map/subcomponents/MainTools/index.d.ts +0 -2
  93. package/components/maps/components/Map/subcomponents/MainTools/types.d.ts +0 -5
  94. package/components/maps/components/Map/types.d.ts +0 -28
  95. package/components/maps/index.d.ts +0 -3
  96. package/hooks/useFormReadyForUpdate/index.d.ts +0 -6
  97. package/hooks/useFormReadyForUpdate/index.f60f500e.js +0 -20
@@ -1,173 +0,0 @@
1
- import { GetLabelType } from '@m4l/core';
2
- import { ReactNode } from 'react';
3
- import { FeatureId } from '../../../Map';
4
- import { CrossingFeature, GeofenceListModel, InternalFeature } from '../../subcomponents/TabTools/subcomponents/GeofencesTool/model';
5
- export declare type MapToolsStatus = 'init' | 'ready';
6
- export declare type CurrentTabTool = 'geofences' | 'measure';
7
- export interface GeofenceFeature extends Pick<GeofenceListModel, 'id' | 'name' | 'type' | 'geometry' | 'properties' | 'createdAt' | 'updatedAt' | 'countCrossingFeatures' | 'countInternalFeatures' | 'timeMinInSeconds' | 'timeMinOutSeconds' | 'alias' | 'customerId'> {
8
- hasRenderizedGeofence: boolean;
9
- /**
10
- * "renderizedCrossingFeatures" indica si está renderizado los features de cruce
11
- */
12
- hasRenderizedCrossingFeatures: boolean;
13
- /**
14
- * "loadedCrossingFeatures" features cargados, mas no necesariamente visibles (incremental)
15
- */
16
- loadedCrossingFeatures: CrossingFeature[] | null;
17
- /**
18
- * "loadedInternalFeatures" features internos cargados, mas no necesariamente visibles (incremental)
19
- */
20
- loadedInternalFeatures: InternalFeature[] | null;
21
- /**
22
- * "renderizedInternalFeatures" indica si está renderizado los features internos
23
- */
24
- hasRenderizedInternalFeatures: boolean;
25
- }
26
- export declare type OwnerState = {
27
- status: MapToolsStatus;
28
- /**
29
- * "isMobile" cuando el navegador está en modo celular
30
- */
31
- isMobile: boolean;
32
- /**
33
- * "isSkeleton" indica si el componente está en skeleton.
34
- */
35
- isSkeleton: boolean;
36
- /**
37
- * focus: Estado de selección asignado por el usuario.
38
- *
39
- */
40
- focus: boolean;
41
- };
42
- /**
43
- * @type
44
- * @name ExternalOwnerState
45
- * @description Estados que se actulizan por fuera del store, a través de hooks
46
- */
47
- export declare type ExternalOwnerState = Pick<OwnerState, 'isMobile' | 'isSkeleton'>;
48
- export declare type CurrentGeofenceTool = 'list' | 'add_edit';
49
- /**
50
- * @description Tipo de dato del Id de la geocerca
51
- * @interface GeofenceId
52
- */
53
- export interface GeofenceState {
54
- /**
55
- * "geofenceId" indica el id de la geocerca en edición
56
- */
57
- geofenceId?: GeofenceId;
58
- rows: GeofenceListModel[];
59
- /**
60
- * "currentGeofenceTool" indica la herramienta de geocercas en uso
61
- */
62
- currentGeofenceTool: CurrentGeofenceTool;
63
- /**
64
- * "checkedGeofences" indica las geocercas visibles en el mapa
65
- */
66
- checkedGeofences: ReadonlySet<GeofenceId>;
67
- /**
68
- * "hashGeofences" Almacena las geocercas que se han cargado alguna vez, no necesariamente visibles
69
- */
70
- hashGeofences: Record<FeatureId, GeofenceFeature>;
71
- /**
72
- * "checkedCrossingFeatures" indica los crossing features visibles en el mapa
73
- */
74
- checkedCrossingFeatures: ReadonlySet<GeofenceId>;
75
- /**
76
- * "checkedInternalFeatures" indica los features internos visibles en el mapa
77
- */
78
- checkedInternalFeatures: ReadonlySet<GeofenceId>;
79
- }
80
- /**
81
- * @description Tipo de dato del Id de la geocerca
82
- * @interface GeofenceId
83
- */
84
- export declare type GeofenceId = number;
85
- /**
86
- * @interface
87
- * @description Interface que define el estado del componente (variables y funciones )
88
- */
89
- export interface MapToolsState<P = any> {
90
- ownerState: OwnerState;
91
- /**
92
- * "currentTabTool" indica la pestaña actual en uso
93
- */
94
- currentTabTool: CurrentTabTool;
95
- /**
96
- * "geofenceState" manejo del estado lo relacionado con geocercas
97
- */
98
- geofenceState: GeofenceState;
99
- /**
100
- * "getLabel" funcion que usará para traducir las etiquetas de diccionario
101
- */
102
- getLabel: GetLabelType;
103
- }
104
- export interface MapToolsStateWithActions extends MapToolsState {
105
- mapToolsActions: {
106
- /**
107
- * @description
108
- */
109
- init(): void;
110
- /**
111
- * @description Cambia el estado del map
112
- */
113
- setMapToolsState: (state: MapToolsStatus) => void;
114
- /**
115
- * @description Actualiza la variable de estado "getLabel"
116
- * @param newHandler handle o función que va a traducir las etiquetas, esto es necesario debido que getLabel de useModuleDictionary
117
- * cambia por el useCallback, cuando el diccionario se carga.
118
- * @returns void
119
- */
120
- setHandlerGetLabel: (newHandler: GetLabelType) => void;
121
- /**
122
- * @description Modifica los estados que se actualizan externamente al Store
123
- * @param newIsMobile
124
- * @returns
125
- */
126
- setExternalState: (newExternalState: ExternalOwnerState) => void;
127
- /**
128
- * @description Modifica los estados que se actualizan externamente al Store
129
- * @param newIsMobile
130
- * @returns
131
- */
132
- setCurrentTabTool: (newTabTool: CurrentTabTool) => void;
133
- };
134
- geofenceActions: {
135
- /**
136
- * @description Cambia la vista de la del modulo add/edit geocercas
137
- */
138
- goToAddEdit: (geofenceId?: GeofenceId) => void;
139
- /**
140
- * @description Cambia la vista de la del modulo add/edit geocercas
141
- */
142
- goToList: (geofenceId?: GeofenceId) => void;
143
- /**
144
- * @description Agrega una geocerca al store
145
- */
146
- addGeofence: (geofenceId: GeofenceId, geofence: GeofenceFeature) => void;
147
- /**
148
- * @description Actualizar parcialmente una geocerca
149
- */
150
- updatePartialGeofence: (geofenceId: GeofenceId, geofence: Partial<GeofenceFeature>) => void;
151
- /**
152
- * @description Actualizar la filas que son mostradas en el grid de geocercas
153
- */
154
- updateRows: (newRows: GeofenceListModel[]) => void;
155
- /**
156
- * @description Cambia el set de chequeo de las geocercas
157
- */
158
- setCheckedGeofences: (newGeofences: ReadonlySet<GeofenceId>) => void;
159
- /**
160
- * @description Cambia el set de chequeo de los crossing features
161
- */
162
- setCheckedCrossingFeatures: (newFeatures: ReadonlySet<GeofenceId>) => void;
163
- /**
164
- * @description Cambia el set de chequeo de los internal features
165
- */
166
- setCheckedInternalFeatures: (newFeatures: ReadonlySet<GeofenceId>) => void;
167
- };
168
- }
169
- export declare type DefaultMapToolsStoreProps = Omit<MapToolsState, 'currentLayer'>;
170
- export declare type InitialMapToolsStoreProps = Pick<MapToolsState, 'getLabel' | 'ownerState'> & Partial<DefaultMapToolsStoreProps>;
171
- export interface MapToolsProviderProps {
172
- children: ReactNode;
173
- }
@@ -1,64 +0,0 @@
1
- export declare const MAPTOOLS_DICTIONARY_ID = "gps_tools";
2
- export declare const DICCTIONARY: {
3
- readonly LABEL_TAB_GEO: "label_tab_geo";
4
- readonly TAB_GENERAL_CONFIG_TOOLTIP: "tab_general_config_tooltip";
5
- readonly PAPER_GENERAL: "paper_general";
6
- readonly LABEL_ID: "label_id";
7
- readonly LABEL_NAME: "label_name";
8
- readonly LABEL_GEOMETRY_TYPE: "label_geometry_type";
9
- readonly LABEL_GEOMETRY_CIRCLE: "label_geometry_circle";
10
- readonly LABEL_GEOMETRY_RECTANGLE: "label_geometry_rectangle";
11
- readonly LABEL_GEOMETRY_POLYGON: "label_geometry_polygon";
12
- readonly LABEL_DRAW: "label_draw";
13
- readonly LABEL_FINISH: "label_finish";
14
- readonly PAPER_CONFIG: "paper_config";
15
- readonly LABEL_ALIAS: "label_alias";
16
- readonly LABEL_CUSTOMER_ID: "label_customer_id";
17
- readonly LABEL_TIME_MIN_IN_SECONDS: "label_time_min_in_seconds";
18
- readonly LABEL_TIME_MIN_OUT_SECONDS: "label_time_min_out_seconds";
19
- readonly TAB_STYLE_CONFIG_TOOLTIP: "tab_style_tooltip";
20
- readonly PAPER_STROKE: "paper_stroke";
21
- readonly LABEL_COLOR: "label_color";
22
- readonly LABEL_OPACITY: "label_opacity";
23
- readonly LABEL_WEIGHT: "label_weight";
24
- readonly LABEL_DASH_ARRAY: "label_dash_array";
25
- readonly LABEL_DASH_OFFSET: "label_dash_offset";
26
- readonly LABEL_RADIUS: "label_radius";
27
- readonly LABEL_LAT: "label_lat";
28
- readonly LABEL_LON: "label_lon";
29
- readonly LABEL_PLACE_MARKER: "label_place_marker";
30
- readonly LABEL_FIRST_VERTEX: "label_first_vertex";
31
- readonly LABEL_CONTINUE_LINE: "label_continue_line";
32
- readonly LABEL_FINISH_LINE: "label_finish_line";
33
- readonly LABEL_FINISH_POLY: "label_finish_poly";
34
- readonly LABEL_FINISH_RECT: "label_finish_rect";
35
- readonly LABEL_START_CIRCLE: "label_start_circle";
36
- readonly LABEL_FINISH_CIRCLE: "label_finish_circle";
37
- readonly LABEL_PLACE_CIRCLE_MARKER: "label_place_circle_marker";
38
- readonly VALIDATION_GEOMETRY_REQUIRED: "validation_geometry_required";
39
- readonly VALIDATION_FIELD_REQUIRED: "validation_field_required";
40
- readonly VALIDATION_FIELD_TYPE_NUMBER_ERROR: "validation_field_type_number_error";
41
- readonly LABEL_VIEW_TRANSIT_FEATURES: "label_view_crossing_features";
42
- readonly LABEL_VIEW_INTERNAL_FEATURES: "label_view_internal_features";
43
- readonly LABEL_CREATED_AT: "label_created_at";
44
- readonly LABEL_UPDATED_AT: "label_updated_at";
45
- readonly MODAL_DELETE_GEO_TITLE: "modal_delete_geo_title";
46
- readonly MODAL_DELETE_GEO_MESSAGE: "modal_delete_geo_message";
47
- readonly MODAL_DISABLE_GEO_TITLE: "modal_disable_geo_title";
48
- readonly MODAL_DISABLE_MESSAGE: "modal_disable_geo_message";
49
- readonly ROW_ACTION_GEO_EDIT: "row_action_geo_edit";
50
- readonly ROW_ACTION_GEO_ENABLE: "row_action_geo_enable";
51
- readonly ROW_ACTION_GEO_DISABLE: "row_action_geo_disable";
52
- readonly ROW_ACTION_GEO_DELETE: "row_action_geo_delete";
53
- readonly LABEL_TAB_MEASURE: "label_tab_measure";
54
- readonly PAPER_MEASURE: "paper_measure";
55
- readonly LABEL_MEASURE_START: "label_measure_start";
56
- readonly LABEL_MEASURE_RESTART: "label_measure_restart";
57
- readonly LABEL_MEASURE_DISTANCE: "label_measure_distance";
58
- readonly LABEL_MEASURE_AREA: "label_measure_area";
59
- readonly LABEL_MEASURE_UNIT: "label_measure_unit";
60
- readonly LABEL_MEASURE_UNIT_BASE_KILOMETERS: "label_measure_unit_base_kilometers";
61
- readonly LABEL_MEASURE_REMOVE_POINT: "label_measure_remove_point";
62
- };
63
- export declare type TypeDictionary = typeof DICCTIONARY;
64
- export declare const getMapToolsDictionary: (key: keyof TypeDictionary) => string;
@@ -1 +0,0 @@
1
- export declare function useLayers(): void;
@@ -1,2 +0,0 @@
1
- import { MapToolsStateWithActions } from '../../contexts/GpsToolsContext/types';
2
- export declare function useMapToolsStore<T>(selector: (state: MapToolsStateWithActions) => T, equalityFn?: (left: T, right: T) => boolean): T;
@@ -1,15 +0,0 @@
1
- export declare const icons: {
2
- GEOMETRY_CIRCLE: string;
3
- GEOMETRY_RECTANGLE: string;
4
- GEOMETRY_POLYGON: string;
5
- ADD: string;
6
- MEASURE: string;
7
- GENERAL: string;
8
- CONFIG: string;
9
- STROKE: string;
10
- FILL: string;
11
- EDIT: string;
12
- DELETE: string;
13
- ACTIVE: string;
14
- NAME: string;
15
- };