@evergis/react 3.1.7 → 3.1.9
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/README.md +2 -0
- package/dist/components/Layer/Layer.d.ts +1 -1
- package/dist/components/Layer/RasterLayer.d.ts +1 -1
- package/dist/components/Layer/VectorLayer.d.ts +1 -1
- package/dist/components/Layer/types.d.ts +1 -1
- package/dist/components/Map/Map.d.ts +1 -1
- package/dist/components/Map/styled.d.ts +1 -1
- package/dist/components/Map/types.d.ts +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/contexts/MapContext/MapContext.d.ts +1 -1
- package/dist/contexts/MapContext/MapProvider.d.ts +1 -1
- package/dist/contexts/MapContext/types.d.ts +1 -1
- package/dist/contexts/ServerNotificationsContext/ServerNotificationsContext.d.ts +1 -1
- package/dist/contexts/ServerNotificationsContext/ServerNotificationsProvider.d.ts +1 -1
- package/dist/contexts/ServerNotificationsContext/types.d.ts +1 -1
- package/dist/index.js +71 -7353
- package/dist/index.js.map +1 -1
- package/dist/react.esm.js +41 -7322
- package/dist/react.esm.js.map +1 -1
- package/dist/types/attribute.d.ts +1 -1
- package/package.json +24 -23
- package/dist/assets/index-CTzhzVha.css +0 -90
- package/dist/assets/react.esm-CTzhzVha.css +0 -90
- package/dist/components/ErrorBoundary/index.d.ts +0 -12
- package/dist/components/ErrorBoundary/types.d.ts +0 -7
- package/dist/dist/react.esm.d.ts +0 -99
- package/dist/src/components/ErrorBoundary/index.d.ts +0 -12
- package/dist/src/components/ErrorBoundary/types.d.ts +0 -7
- package/dist/src/components/Layer/Layer.d.ts +0 -3
- package/dist/src/components/Layer/RasterLayer.d.ts +0 -3
- package/dist/src/components/Layer/VectorLayer.d.ts +0 -3
- package/dist/src/components/Layer/constants.d.ts +0 -5
- package/dist/src/components/Layer/index.d.ts +0 -3
- package/dist/src/components/Layer/types.d.ts +0 -12
- package/dist/src/components/Layer/utils/getClientStyleItemPrefixSuffix.d.ts +0 -3
- package/dist/src/components/Map/Map.d.ts +0 -3
- package/dist/src/components/Map/index.d.ts +0 -2
- package/dist/src/components/Map/styled.d.ts +0 -4
- package/dist/src/components/Map/types.d.ts +0 -8
- package/dist/src/components/index.d.ts +0 -3
- package/dist/src/contexts/MapContext/MapContext.d.ts +0 -2
- package/dist/src/contexts/MapContext/MapProvider.d.ts +0 -3
- package/dist/src/contexts/MapContext/index.d.ts +0 -3
- package/dist/src/contexts/MapContext/types.d.ts +0 -31
- package/dist/src/contexts/ServerNotificationsContext/ServerNotificationsContext.d.ts +0 -2
- package/dist/src/contexts/ServerNotificationsContext/ServerNotificationsProvider.d.ts +0 -3
- package/dist/src/contexts/ServerNotificationsContext/hooks/useServerNotifications.d.ts +0 -2
- package/dist/src/contexts/ServerNotificationsContext/index.d.ts +0 -3
- package/dist/src/contexts/ServerNotificationsContext/types.d.ts +0 -12
- package/dist/src/contexts/index.d.ts +0 -2
- package/dist/src/core/classification/findAttributeInExpression.d.ts +0 -2
- package/dist/src/core/classification/getActualExtrusionHeight.d.ts +0 -2
- package/dist/src/core/classification/index.d.ts +0 -3
- package/dist/src/core/classification/parseClientStyle.d.ts +0 -2
- package/dist/src/core/feature/convertSpToTurfFeature.d.ts +0 -3
- package/dist/src/core/feature/index.d.ts +0 -1
- package/dist/src/core/index.d.ts +0 -2
- package/dist/src/hooks/index.d.ts +0 -5
- package/dist/src/hooks/map/index.d.ts +0 -5
- package/dist/src/hooks/map/useMapContext.d.ts +0 -1
- package/dist/src/hooks/map/useMapDraw/customModes.d.ts +0 -7
- package/dist/src/hooks/map/useMapDraw/customStyles.d.ts +0 -58
- package/dist/src/hooks/map/useMapDraw/index.d.ts +0 -1
- package/dist/src/hooks/map/useRedrawLayer.d.ts +0 -1
- package/dist/src/hooks/map/useZoomToFeatures.d.ts +0 -2
- package/dist/src/hooks/map/useZoomToPoint.d.ts +0 -1
- package/dist/src/hooks/serverNotifications/index.d.ts +0 -1
- package/dist/src/hooks/serverNotifications/useServerNotificationsContext.d.ts +0 -1
- package/dist/src/hooks/useDebouncedCallback.d.ts +0 -1
- package/dist/src/hooks/useToggle.d.ts +0 -1
- package/dist/src/hooks/useWindowResize.d.ts +0 -1
- package/dist/src/index.d.ts +0 -6
- package/dist/src/types/attribute.d.ts +0 -20
- package/dist/src/types/index.d.ts +0 -2
- package/dist/src/types/styling.d.ts +0 -15
- package/dist/src/utils/date.d.ts +0 -16
- package/dist/src/utils/debounce.d.ts +0 -1
- package/dist/src/utils/index.d.ts +0 -4
- package/dist/src/utils/isNumeric.d.ts +0 -1
- package/dist/src/utils/isObject.d.ts +0 -1
package/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
# @evergis/react
|
|
2
2
|
|
|
3
3
|
В данном репозитории находятся специфичные (в отличии от `@evergis/uilib-gl`) для `Evergis Online`, но в целом переиспользуемые на других проектах, построенных на Evergis API, React-компоненты.
|
|
4
|
+
|
|
5
|
+
***ВАЖНО!!!***: Разрабатываемые компоненты не должны иметь зависимостей от системы поддержки мультиязычности `Evergis Online`!
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EffectCallback } from '
|
|
1
|
+
import { EffectCallback } from 'react';
|
|
2
2
|
import { FeatureLayerServiceInfoDc, QueryLayerServiceInfoDc } from '@evergis/api';
|
|
3
3
|
import { ClientStyle, ClientStyleItem } from '../../types';
|
|
4
4
|
export interface LayerProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties, ReactNode } from '
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { MapProps as MapGLProps } from 'react-map-gl/mapbox';
|
|
3
3
|
export interface MapProps extends MapGLProps {
|
|
4
4
|
zIndex?: CSSProperties["zIndex"];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MapContextProps } from './types';
|
|
2
|
-
export declare const MapContext: import('
|
|
2
|
+
export declare const MapContext: import('react').Context<MapContextProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dispatch, MutableRefObject, PropsWithChildren, SetStateAction } from '
|
|
1
|
+
import { Dispatch, MutableRefObject, PropsWithChildren, SetStateAction } from 'react';
|
|
2
2
|
import { Map as MapboxGLMap } from 'mapbox-gl';
|
|
3
3
|
import { default as MapboxDraw } from '@mapbox/mapbox-gl-draw';
|
|
4
4
|
export declare enum BaseMapTheme {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ServerNotificationsContextProps } from './types';
|
|
2
|
-
export declare const ServerNotificationsContext: import('
|
|
2
|
+
export declare const ServerNotificationsContext: import('react').Context<ServerNotificationsContextProps>;
|