@evergis/react 4.0.107 → 4.0.109

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Everpoint
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Everpoint
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
- # @evergis/react
2
-
3
- В данном репозитории находятся специфичные (в отличии от `@evergis/uilib-gl`) для `Evergis Online`,
4
- но в целом переиспользуемые на других проектах, построенных на Evergis API, React-компоненты.
5
-
6
- ***ВАЖНО!!!***: Разрабатываемые компоненты не должны иметь зависимостей
7
- от системы поддержки мультиязычности `Evergis Online`!
1
+ # @evergis/react
2
+
3
+ В данном репозитории находятся специфичные (в отличии от `@evergis/uilib-gl`) для `Evergis Online`,
4
+ но в целом переиспользуемые на других проектах, построенных на Evergis API, React-компоненты.
5
+
6
+ ***ВАЖНО!!!***: Разрабатываемые компоненты не должны иметь зависимостей
7
+ от системы поддержки мультиязычности `Evergis Online`!
@@ -383,6 +383,7 @@ export interface ConfigDataSourceAttribute {
383
383
  attributeName: string;
384
384
  alias?: string;
385
385
  type?: AttributeType;
386
+ description?: string;
386
387
  stringFormat?: AttributeFormatConfigurationDc;
387
388
  }
388
389
  export interface ConfigDataSource {
@@ -463,6 +464,7 @@ export interface SelectedFilter {
463
464
  export type ScalarFilterValue = Exclude<SelectedFilter["value"], TreeFilterValue>;
464
465
  export interface ConfigLayer {
465
466
  name: string;
467
+ alias?: string;
466
468
  opacity?: number;
467
469
  condition?: string | string[];
468
470
  query?: string;
@@ -1,9 +1,8 @@
1
- import { PositionDc, ProjectContentItemDc } from '@evergis/api';
1
+ import { PositionDc } from '@evergis/api';
2
2
  import { ConfigContainer } from '../types';
3
- export declare const getDefaultConfig: ({ title, defaultTitle, items, baseMapName, position, resolution, srid, }: {
3
+ export declare const getDefaultConfig: ({ title, defaultTitle, baseMapName, position, resolution, srid, }: {
4
4
  title?: string;
5
5
  defaultTitle?: string;
6
- items?: ProjectContentItemDc[];
7
6
  baseMapName?: string;
8
7
  position?: PositionDc;
9
8
  resolution?: number;
@@ -1,3 +1,2 @@
1
- export * from './constants';
2
1
  export * from './Layer';
3
2
  export * from './types';
@@ -1,3 +1,3 @@
1
1
  import { FC } from 'react';
2
- import { LayerTreeProps } from '../../types';
2
+ import { LayerTreeProps } from './types';
3
3
  export declare const LayerTree: FC<LayerTreeProps>;
@@ -1,3 +1,2 @@
1
- export * from './components';
2
- export * from './utils';
1
+ export * from './LayerTree';
3
2
  export * from './types';
@@ -1,10 +1,10 @@
1
- import { ProjectContentItemDc } from '@evergis/api';
2
1
  import { DraggableTreeNode } from '@evergis/uilib-gl';
2
+ import { QueryLayerServiceInfoDc } from '@evergis/api';
3
3
  import { ConfigLayer } from '../Dashboard';
4
4
  export declare const LayersListWrapper: import('styled-components').StyledComponent<"div", any, import('@evergis/uilib-gl').FlexProps, never>;
5
5
  export declare const LayerListContainer: import('styled-components').StyledComponent<"div", any, import('@evergis/uilib-gl').FlexProps, never>;
6
6
  export interface LayerItemProps {
7
- layer?: ProjectContentItemDc;
7
+ layer?: QueryLayerServiceInfoDc;
8
8
  onlyMainTools?: boolean;
9
9
  }
10
10
  export interface LayerTreeProps {
@@ -0,0 +1 @@
1
+ export * from './styling';
@@ -0,0 +1,13 @@
1
+ import { ClientStyle, StyligClassificationTypes } from '../types';
2
+ export declare const NUMBER_CLASSIFICATION_TYPES: StyligClassificationTypes[];
3
+ export declare const DEFAULT_COLOR = "#00ffff";
4
+ export declare const DEFAULT_BLUR = 0;
5
+ export declare const DEFAULT_OPACITY = 0.5;
6
+ export declare const DEFAULT_SIZE = 4;
7
+ export declare const DEFAULT_LINE_WIDTH = 1;
8
+ export declare const DEFAULT_LINE_CAP = "butt";
9
+ export declare const DEFAULT_LINE_JOIN = "miter";
10
+ export declare const DEFAULT_FILL_STYLE: ClientStyle;
11
+ export declare const DEFAULT_FILL_EXTRUSION_STYLE: ClientStyle;
12
+ export declare const DEFAULT_LINE_STYLE: ClientStyle;
13
+ export declare const DEFAULT_CIRCLE_STYLE: ClientStyle;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './components';
2
+ export * from './constants';
2
3
  export * from './contexts';
3
4
  export * from './core';
4
5
  export * from './hooks';