@conboai/storybook.components 0.2.66 → 0.2.68
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/build/index.d.ts +1 -0
- package/dist/components/TrailPathView/TrailPathView.d.ts +21 -0
- package/dist/components/TrailPathView/index.d.ts +1 -0
- package/dist/components/TrailPathView/utils.d.ts +5 -0
- package/dist/helpers/utils/utils.d.ts +1 -0
- package/dist/storybook.components.mjs +40391 -31802
- package/package.json +11 -10
package/dist/build/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export { CustomInput } from '../components/CustomInput';
|
|
|
29
29
|
export { AlertPopup } from '../components/AlertPopup';
|
|
30
30
|
export { extractPrefix, extractZip, startsWithAny, parseSvg, getParsedSvgViewsFromZip } from '../components/MetroMap/MetroMapUtils';
|
|
31
31
|
export { TimelineChart } from '../components/TimelineChart';
|
|
32
|
+
export { TrailPathView } from '../components/TrailPathView';
|
|
32
33
|
export * from '../interfaces/filter';
|
|
33
34
|
export * from '../interfaces/tab';
|
|
34
35
|
export * from '../interfaces/detailsView';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare enum TrailPathType {
|
|
4
|
+
Geo = 0,
|
|
5
|
+
Feed = 1
|
|
6
|
+
}
|
|
7
|
+
interface IGeoPath {
|
|
8
|
+
type: TrailPathType.Geo;
|
|
9
|
+
coordinates: Array<[number, number]>;
|
|
10
|
+
points?: never;
|
|
11
|
+
feedUrl?: never;
|
|
12
|
+
}
|
|
13
|
+
interface IFeedPath {
|
|
14
|
+
type: TrailPathType.Feed;
|
|
15
|
+
points: Array<[number, number]>;
|
|
16
|
+
feedUrl: string;
|
|
17
|
+
coordinates?: never;
|
|
18
|
+
}
|
|
19
|
+
export type ITrailPathView = IGeoPath | IFeedPath;
|
|
20
|
+
declare const TrailPathView: React.FC<ITrailPathView>;
|
|
21
|
+
export default TrailPathView;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TrailPathView } from './TrailPathView';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Point } from '../../core/Shapes/types';
|
|
2
|
+
import { CoordinatePoint } from '../../core/Geo/types';
|
|
3
|
+
|
|
4
|
+
export declare const arrayToShapePoints: (points: number[][]) => Point[];
|
|
5
|
+
export declare const arrayToGeoCoordinates: (coordinates: number[][]) => CoordinatePoint[];
|