@evergis/react 4.0.54 → 4.0.56
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/dist/components/Dashboard/containers/AttachmentContainer/usePreviewImages.d.ts +8 -0
- package/dist/components/Dashboard/containers/styled.d.ts +6 -1
- package/dist/components/Dashboard/elements/registry.d.ts +0 -1
- package/dist/components/Dashboard/headers/FeatureCardDefaultHeader/styled.d.ts +1 -1
- package/dist/components/Dashboard/headers/FeatureCardGradientHeader/styled.d.ts +4 -0
- package/dist/components/Dashboard/headers/components/HeaderLayerIcon.d.ts +2 -0
- package/dist/components/Dashboard/headers/components/styled.d.ts +1 -0
- package/dist/components/Dashboard/headers/index.d.ts +0 -1
- package/dist/components/Dashboard/hooks/useEditControl.d.ts +1 -1
- package/dist/components/Dashboard/types.d.ts +3 -3
- package/dist/components/Dashboard/utils/getThemeByName.d.ts +2 -0
- package/dist/components/Dashboard/utils/index.d.ts +1 -0
- package/dist/index.js +178 -137
- package/dist/index.js.map +1 -1
- package/dist/react.esm.js +179 -138
- package/dist/react.esm.js.map +1 -1
- package/package.json +3 -3
- package/dist/components/Dashboard/elements/ElementLayerName/index.d.ts +0 -3
- package/dist/components/Dashboard/headers/FeatureCardIconHeader/index.d.ts +0 -3
- package/dist/components/Dashboard/headers/FeatureCardIconHeader/styled.d.ts +0 -7
- /package/dist/components/Dashboard/headers/{FeatureCardDefaultHeader/components → components}/HeaderTitle.d.ts +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IPreviewImage } from '@evergis/uilib-gl';
|
|
2
|
+
import { Attachment } from './types';
|
|
3
|
+
interface UsePreviewImagesParams {
|
|
4
|
+
items: Attachment[];
|
|
5
|
+
active: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const usePreviewImages: ({ items, active }: UsePreviewImagesParams) => IPreviewImage[];
|
|
8
|
+
export {};
|
|
@@ -18,4 +18,9 @@ export declare const SvgContainer: import('styled-components').StyledComponent<"
|
|
|
18
18
|
$width?: number;
|
|
19
19
|
$fontColor?: string;
|
|
20
20
|
}, never>;
|
|
21
|
-
export declare const TwoColumnContainerWrapper: import('styled-components').StyledComponent<"div", any, import('@evergis/uilib-gl').FlexProps
|
|
21
|
+
export declare const TwoColumnContainerWrapper: import('styled-components').StyledComponent<"div", any, import('@evergis/uilib-gl').FlexProps & {
|
|
22
|
+
isTitle?: boolean;
|
|
23
|
+
isColumn?: boolean;
|
|
24
|
+
isMain?: boolean;
|
|
25
|
+
noBorders?: boolean;
|
|
26
|
+
}, never>;
|
|
@@ -16,5 +16,4 @@ export declare const elementComponents: {
|
|
|
16
16
|
readonly markdown: import('react').FC<import('..').ContainerProps>;
|
|
17
17
|
readonly uploader: import('react').FC<import('..').ContainerProps>;
|
|
18
18
|
readonly modal: import('react').FC<import('..').ContainerProps>;
|
|
19
|
-
readonly layerName: import('react').FC<import('..').ContainerProps>;
|
|
20
19
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const HeaderFrontView: import('styled-components').StyledComponent<"div", any, import('@evergis/uilib-gl').FlexProps & {
|
|
2
2
|
isDefault?: boolean;
|
|
3
3
|
}, never>;
|
|
4
|
-
export declare const HeaderContainer: import('styled-components').StyledComponent<"
|
|
4
|
+
export declare const HeaderContainer: import('styled-components').StyledComponent<"div", any, import('@evergis/uilib-gl').FlexProps, never>;
|
|
5
5
|
export declare const FeatureTitleContainer: import('styled-components').StyledComponent<"div", any, {
|
|
6
6
|
clickable?: boolean;
|
|
7
7
|
}, never>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
export declare const HeaderIcon: import('styled-components').StyledComponent<"div", any, import('@evergis/uilib-gl').FlexProps, never>;
|
|
1
2
|
export declare const GradientHeaderWrapper: import('styled-components').StyledComponent<"div", any, {
|
|
2
3
|
$fontColor?: string;
|
|
3
4
|
$bgColor?: string;
|
|
5
|
+
$bigIcon?: boolean;
|
|
6
|
+
$withPadding?: boolean;
|
|
7
|
+
$bottomBlur?: boolean;
|
|
4
8
|
}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LayerIconClickable: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
@@ -3,5 +3,4 @@ export * from './DashboardDefaultHeader/styled';
|
|
|
3
3
|
export * from './FeatureCardDefaultHeader';
|
|
4
4
|
export * from './FeatureCardDefaultHeader/styled';
|
|
5
5
|
export * from './FeatureCardGradientHeader';
|
|
6
|
-
export * from './FeatureCardIconHeader';
|
|
7
6
|
export * from './FeatureCardSlideshowHeader';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ConfigContainerChild, EditAttributeValue, WidgetType } from '../types';
|
|
2
2
|
export declare const useEditControl: (type: WidgetType, elementConfig: ConfigContainerChild) => {
|
|
3
3
|
control: import('../types').ConfigControl;
|
|
4
|
-
value: Date | import('../../..').FeaturedDcExtendedGeometry |
|
|
4
|
+
value: Date | import('../../..').FeaturedDcExtendedGeometry | EditAttributeValue;
|
|
5
5
|
dataSource: import('../types').WidgetDataSource;
|
|
6
6
|
items: any[];
|
|
7
7
|
onChange: (newValue: EditAttributeValue) => void;
|
|
@@ -44,7 +44,7 @@ export interface BaseMapSettings {
|
|
|
44
44
|
opacity?: number;
|
|
45
45
|
showBuildings?: boolean;
|
|
46
46
|
}
|
|
47
|
-
export type EditAttributeValue = string | number | boolean
|
|
47
|
+
export type EditAttributeValue = string | number | boolean | unknown[] | Record<string, unknown>;
|
|
48
48
|
export interface CustomFeatureSelect {
|
|
49
49
|
point?: {
|
|
50
50
|
paint?: CircleLayerSpecification["paint"];
|
|
@@ -84,6 +84,7 @@ export interface ConfigOptions {
|
|
|
84
84
|
withPadding?: boolean;
|
|
85
85
|
withDivider?: boolean;
|
|
86
86
|
dotSnapping?: boolean;
|
|
87
|
+
bottomBlur?: boolean;
|
|
87
88
|
tagView?: boolean;
|
|
88
89
|
simple?: boolean;
|
|
89
90
|
downloadById?: string;
|
|
@@ -345,8 +346,7 @@ export declare enum ContainerTemplate {
|
|
|
345
346
|
export declare enum HeaderTemplate {
|
|
346
347
|
Default = "Default",
|
|
347
348
|
Slideshow = "Slideshow",
|
|
348
|
-
Gradient = "Gradient"
|
|
349
|
-
Icon = "Icon"
|
|
349
|
+
Gradient = "Gradient"
|
|
350
350
|
}
|
|
351
351
|
export interface GetRenderElementProps extends Omit<ContainerProps, "renderElement"> {
|
|
352
352
|
expandedContainers?: Record<string, boolean>;
|
|
@@ -43,6 +43,7 @@ export * from './getSelectedFilterValue';
|
|
|
43
43
|
export * from './getSlideshowImages';
|
|
44
44
|
export * from './getSvgUrl';
|
|
45
45
|
export * from './getTemplateNameFromAttribute';
|
|
46
|
+
export * from './getThemeByName';
|
|
46
47
|
export * from './getDisplayTemplateNameFromAttribute';
|
|
47
48
|
export * from './getTotalFromAttributes';
|
|
48
49
|
export * from './getTotalFromRelatedFeatures';
|