@dartcom/ui-kit 10.1.24 → 10.2.1
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/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/layers/leaflet/config/constants.d.ts +1 -25
- package/dist/components/layers/leaflet/config/constants.d.ts.map +1 -1
- package/dist/components/layers/leaflet/config/index.d.ts +0 -2
- package/dist/components/layers/leaflet/config/index.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/camera/config/constants.d.ts +0 -4
- package/dist/components/layers/leaflet/layers/camera/config/constants.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/camera/index.d.ts +0 -1
- package/dist/components/layers/leaflet/layers/camera/index.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/camera/lib/index.d.ts +0 -1
- package/dist/components/layers/leaflet/layers/camera/lib/index.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/camera/lib/utils.d.ts +0 -3
- package/dist/components/layers/leaflet/layers/camera/lib/utils.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/pillar/config/constants.d.ts +0 -5
- package/dist/components/layers/leaflet/layers/pillar/config/constants.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/pillar/index.d.ts +0 -1
- package/dist/components/layers/leaflet/layers/pillar/index.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/pillar/lib/index.d.ts +0 -1
- package/dist/components/layers/leaflet/layers/pillar/lib/index.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/traffic-sign/config/constants.d.ts +9 -21
- package/dist/components/layers/leaflet/layers/traffic-sign/config/constants.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/traffic-sign/index.d.ts +0 -2
- package/dist/components/layers/leaflet/layers/traffic-sign/index.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/traffic-sign/lib/types.d.ts +2 -40
- package/dist/components/layers/leaflet/layers/traffic-sign/lib/types.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/traffic-sign/lib/utils.d.ts +2 -5
- package/dist/components/layers/leaflet/layers/traffic-sign/lib/utils.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/traffic-signal/config/constants.d.ts +0 -4
- package/dist/components/layers/leaflet/layers/traffic-signal/config/constants.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/traffic-signal/index.d.ts +0 -1
- package/dist/components/layers/leaflet/layers/traffic-signal/index.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/traffic-signal/lib/index.d.ts +0 -1
- package/dist/components/layers/leaflet/layers/traffic-signal/lib/index.d.ts.map +1 -1
- package/dist/components/layers/leaflet/lib/types.d.ts +0 -16
- package/dist/components/layers/leaflet/lib/types.d.ts.map +1 -1
- package/dist/components/layers/leaflet/lib/utils.d.ts +6 -3
- package/dist/components/layers/leaflet/lib/utils.d.ts.map +1 -1
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/index.cjs +6203 -11071
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +8 -23
- package/dist/index.esm.js.map +1 -1
- package/dist/lib/types.d.ts +5 -0
- package/dist/lib/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Camera, Pillar, TrafficSign, TrafficSignal, TrafficSignDop } from '../layers';
|
|
3
|
-
import { LayerBackendDates, LayerDatesFields, LayerFrontendDates, LayerServiceIds, TangramCustomLayer, TangramSourceNames } from '../lib/types';
|
|
1
|
+
import { TangramCustomLayer, TangramSourceNames } from '../lib/types';
|
|
4
2
|
export declare const tile_size = 256;
|
|
5
3
|
export declare const imagesPath = "https://dalganmap.ru/api-image/images";
|
|
6
4
|
export declare const sourceUrl: {
|
|
@@ -10,26 +8,4 @@ export declare const getRoadPolyLayers: (source: TangramSourceNames) => TangramC
|
|
|
10
8
|
export declare const getLaneMarkingPolyLayers: (source: TangramSourceNames) => TangramCustomLayer[];
|
|
11
9
|
export declare const getLaneMarkingLineLayers: (source: TangramSourceNames) => TangramCustomLayer[];
|
|
12
10
|
export declare const getParkingLineLayers: (source: TangramSourceNames) => TangramCustomLayer[];
|
|
13
|
-
export declare const layerServiceIds: LayerServiceIds;
|
|
14
|
-
export declare const layerDatesFields: LayerDatesFields[];
|
|
15
|
-
export declare const layerDefaultFrontendDates: LayerFrontendDates;
|
|
16
|
-
export declare const layerDefaultBackendDates: LayerBackendDates;
|
|
17
|
-
export declare enum TrafficStatus {
|
|
18
|
-
ACTIVE = "\u0414\u0435\u0439\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0439",
|
|
19
|
-
INACTIVE = "\u041D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0439",
|
|
20
|
-
TEMPORARY = "\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0439"
|
|
21
|
-
}
|
|
22
|
-
export declare const trafficStatusOptions: SelectOptionItem[];
|
|
23
|
-
export declare const trafficTitles: {
|
|
24
|
-
[K in keyof TrafficSign]: string;
|
|
25
|
-
} & {
|
|
26
|
-
[K in keyof TrafficSignDop]: string;
|
|
27
|
-
} & {
|
|
28
|
-
[K in keyof TrafficSignal]: string;
|
|
29
|
-
} & {
|
|
30
|
-
[K in keyof Camera]: string;
|
|
31
|
-
} & {
|
|
32
|
-
[K in keyof Pillar]: string;
|
|
33
|
-
};
|
|
34
|
-
export declare const layerDateFormat = "dd.MM.yyyy";
|
|
35
11
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/config/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/config/constants.ts"],"names":[],"mappings":"AAGA,OAAO,EAGL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,cAAc,CAAC;AAEtB,eAAO,MAAM,SAAS,MAAM,CAAC;AAE7B,eAAO,MAAM,UAAU,0CAA0C,CAAC;AAIlE,eAAO,MAAM,SAAS,EAAE;KACrB,CAAC,IAAI,kBAAkB,GAAG,MAAM;CAKlC,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,QAAQ,kBAAkB,yBA2F3D,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,QAAQ,kBAAkB,yBAyDlE,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,QAAQ,kBAAkB,yBA4XlE,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,QAAQ,kBAAkB,yBAwB9D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import { CameraMainFields, CreatedCamera } from '../lib';
|
|
2
1
|
export declare const cameraConfig: {
|
|
3
2
|
size: number;
|
|
4
3
|
extension: string;
|
|
5
|
-
apiName: string;
|
|
6
4
|
};
|
|
7
|
-
export declare const cameraMainFields: CameraMainFields;
|
|
8
|
-
export declare const defaultCamera: CreatedCamera;
|
|
9
5
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/camera/config/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/camera/config/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;CAIxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/camera/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AAEtB,cAAc,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/camera/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AAEtB,cAAc,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/camera/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/camera/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
import { TangramCustomLayer, TangramSourceNames } from '../../../lib';
|
|
2
|
-
import { CameraBackendFixingType, CameraFrontendFixingType } from './types';
|
|
3
2
|
export declare const getCameraLayers: (source: TangramSourceNames) => TangramCustomLayer[];
|
|
4
|
-
export declare const getFrontendFixingType: (backendFixingTypes: CameraBackendFixingType[]) => CameraFrontendFixingType[];
|
|
5
|
-
export declare const getBackendFixingType: (frontendFixingTypes: CameraFrontendFixingType[]) => CameraBackendFixingType[];
|
|
6
3
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/camera/lib/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,WAAW,CAAC;AAInB,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/camera/lib/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,WAAW,CAAC;AAInB,eAAO,MAAM,eAAe,GAAI,QAAQ,kBAAkB,yBA2CzD,CAAC"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import { CreatedPillar, PillarConnectionFields, PillarMainFields } from '../lib';
|
|
2
1
|
export declare const pillarConfig: {
|
|
3
2
|
size: number;
|
|
4
3
|
extension: string;
|
|
5
|
-
apiName: string;
|
|
6
4
|
};
|
|
7
|
-
export declare const pillarMainFields: PillarMainFields;
|
|
8
|
-
export declare const pillarConnectionFields: PillarConnectionFields;
|
|
9
|
-
export declare const defaultPillar: CreatedPillar;
|
|
10
5
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/pillar/config/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/pillar/config/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;CAIxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/pillar/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AAEtB,cAAc,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/pillar/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AAEtB,cAAc,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/pillar/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/pillar/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -1,22 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const trafficSigns: {
|
|
3
|
-
[K: string]: TrafficSignData;
|
|
4
|
-
};
|
|
5
|
-
export declare const trafficSignsDop: {
|
|
6
|
-
[K: string]: TrafficSignData;
|
|
7
|
-
};
|
|
8
|
-
export declare const allTrafficSigns: {
|
|
9
|
-
[x: string]: TrafficSignData;
|
|
10
|
-
};
|
|
11
|
-
export declare const trafficSignMainFields: TrafficSignMainFields;
|
|
12
|
-
export declare const defaultTrafficSignIds: TrafficSignIds;
|
|
13
|
-
export declare const defaultTrafficSignDopIds: TrafficSignDopIds;
|
|
14
|
-
export declare const trafficSignDopMainFields: TrafficSignDopMainFields;
|
|
15
|
-
export declare const defaultTrafficSign: CreatedTrafficSign;
|
|
16
|
-
export declare const defaultTrafficSignDop: CreatedTrafficSignDop;
|
|
1
|
+
import { TrafficSignData, TrafficSignNumber } from '../lib';
|
|
17
2
|
export declare const trafficSignConfig: {
|
|
18
3
|
fileName: string;
|
|
19
|
-
apiName: string;
|
|
20
4
|
extension: string;
|
|
21
5
|
dopsCount: number;
|
|
22
6
|
widths: {
|
|
@@ -24,10 +8,14 @@ export declare const trafficSignConfig: {
|
|
|
24
8
|
preview: number;
|
|
25
9
|
};
|
|
26
10
|
};
|
|
27
|
-
export declare const
|
|
28
|
-
|
|
11
|
+
export declare const trafficSigns: {
|
|
12
|
+
[K in TrafficSignNumber]: TrafficSignData;
|
|
13
|
+
};
|
|
14
|
+
export declare const trafficSignsDop: {
|
|
15
|
+
[K: TrafficSignNumber]: TrafficSignData;
|
|
29
16
|
};
|
|
30
|
-
export declare const
|
|
31
|
-
|
|
17
|
+
export declare const allTrafficSigns: {
|
|
18
|
+
[x: string]: TrafficSignData;
|
|
19
|
+
[x: number]: TrafficSignData;
|
|
32
20
|
};
|
|
33
21
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/traffic-sign/config/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/traffic-sign/config/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAE5D,eAAO,MAAM,iBAAiB;;;;;;;;CAW7B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE;KACxB,CAAC,IAAI,iBAAiB,GAAG,eAAe;CAm8C1C,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE;IAC5B,CAAC,CAAC,EAAE,iBAAiB,GAAG,eAAe,CAAC;CA+WzC,CAAC;AAEF,eAAO,MAAM,eAAe;;;CAG3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/traffic-sign/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AAEtB,cAAc,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/traffic-sign/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AAEtB,cAAc,UAAU,CAAC"}
|
|
@@ -1,47 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TrafficStatus } from '../../../config';
|
|
3
|
-
import { BackendLayerTemplate, CreatedLayerTemplate, LayerBackendDates, LayerFrontendDates, UpdatedLayerTemplate } from '../../../lib';
|
|
4
|
-
import { Pillar } from '../../pillar';
|
|
1
|
+
import { StringOrNumber } from '../../../../../../types';
|
|
5
2
|
export type TrafficSignType = 'Предупреждающие знаки' | 'Знаки приоритета' | 'Запрещающие знаки' | 'Предписывающие знаки' | 'Знаки особых предписаний' | 'Информационные знаки' | 'Знаки сервиса' | 'Знаки дополнительной информации';
|
|
3
|
+
export type TrafficSignNumber = StringOrNumber;
|
|
6
4
|
export type TrafficSignData = {
|
|
7
5
|
height: number;
|
|
8
6
|
title: string;
|
|
9
7
|
type: TrafficSignType;
|
|
10
8
|
};
|
|
11
|
-
export type TrafficSignIds = {
|
|
12
|
-
readonly traffic_sign_id: string;
|
|
13
|
-
readonly pillar_id?: Nullable<Pillar['pillar_id']>;
|
|
14
|
-
};
|
|
15
|
-
export type TrafficSignDopIds = Pick<TrafficSignIds, 'traffic_sign_id'> & {
|
|
16
|
-
readonly dop_id: string;
|
|
17
|
-
};
|
|
18
|
-
export type TrafficSignMainFields = {
|
|
19
|
-
comment?: Nullable<string>;
|
|
20
|
-
direction?: Nullable<number>;
|
|
21
|
-
status: TrafficStatus;
|
|
22
|
-
traffic_sign_number: string;
|
|
23
|
-
traffic_sign_title: string;
|
|
24
|
-
traffic_sign_value?: Nullable<string>;
|
|
25
|
-
traffic_sign_type: TrafficSignType;
|
|
26
|
-
};
|
|
27
|
-
export type TrafficSignDopMainFields = Pick<TrafficSignMainFields, 'status' | 'comment'> & {
|
|
28
|
-
dop_sign_number: string;
|
|
29
|
-
dop_sign_title: string;
|
|
30
|
-
dop_sign_text?: Nullable<string>;
|
|
31
|
-
};
|
|
32
|
-
export type TrafficSignDop = LayerBackendDates & TrafficSignDopIds & TrafficSignDopMainFields & {};
|
|
33
|
-
export type CreatedTrafficSignDop = LayerFrontendDates & TrafficSignDopMainFields & {};
|
|
34
|
-
export type UpdatedTrafficSignDop = TrafficSignDopIds & LayerFrontendDates & TrafficSignDopMainFields & {};
|
|
35
|
-
export type TrafficSign = BackendLayerTemplate<TrafficSignIds & TrafficSignMainFields & {
|
|
36
|
-
dops: TrafficSignDop[];
|
|
37
|
-
}>;
|
|
38
|
-
export type CreatedTrafficSign = CreatedLayerTemplate<TrafficSignMainFields & {
|
|
39
|
-
dops: CreatedTrafficSignDop[];
|
|
40
|
-
}>;
|
|
41
|
-
export type UpdatedTrafficSign = UpdatedLayerTemplate<TrafficSignIds & TrafficSignMainFields & {
|
|
42
|
-
dops: UpdatedTrafficSignDop[];
|
|
43
|
-
}>;
|
|
44
|
-
export type TrafficSignTypes = {
|
|
45
|
-
[K in TrafficSignType]: TrafficSign['traffic_sign_number'][];
|
|
46
|
-
};
|
|
47
9
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/traffic-sign/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/traffic-sign/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,eAAe,GACvB,uBAAuB,GACvB,kBAAkB,GAClB,mBAAmB,GACnB,sBAAsB,GACtB,0BAA0B,GAC1B,sBAAsB,GACtB,eAAe,GACf,iCAAiC,CAAC;AAEtC,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC;AAE/C,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,eAAe,CAAC;CACvB,CAAC"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { SelectOptionItem } from '../../../../../../components/select';
|
|
2
1
|
import { TangramCustomLayer, TangramSourceNames } from '../../../lib/types';
|
|
3
2
|
import { trafficSignConfig } from '../config';
|
|
4
|
-
import {
|
|
3
|
+
import { TrafficSignNumber } from './types';
|
|
5
4
|
export declare const getTrafficSignLayers: (source: TangramSourceNames) => TangramCustomLayer[];
|
|
6
5
|
export declare const getTrafficSignImgSrc: ({ type, number, }: {
|
|
7
6
|
type: keyof typeof trafficSignConfig.widths;
|
|
8
|
-
number:
|
|
7
|
+
number: TrafficSignNumber;
|
|
9
8
|
}) => string;
|
|
10
|
-
export declare const getTrafficSignTitlesOptions: () => SelectOptionItem[];
|
|
11
9
|
export declare const parseTrafficSignCSVFile: (data: object) => void;
|
|
12
|
-
export declare const getTrafficSignTitleByNumber: (number: TrafficSign["traffic_sign_number"]) => string;
|
|
13
10
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/traffic-sign/lib/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/traffic-sign/lib/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,iBAAiB,EAAgB,MAAM,WAAW,CAAC;AAE5D,OAAO,EAAmB,iBAAiB,EAAmB,MAAM,SAAS,CAAC;AAE9E,eAAO,MAAM,oBAAoB,GAAI,QAAQ,kBAAkB,yBA8D9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,mBAGlC;IACD,IAAI,EAAE,MAAM,OAAO,iBAAiB,CAAC,MAAM,CAAC;IAC5C,MAAM,EAAE,iBAAiB,CAAC;CAC3B,WAMA,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,MAAM,MAAM,SA4BnD,CAAC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import { CreatedTrafficSignal, TrafficSignalMainFields } from '../lib';
|
|
2
1
|
export declare const trafficSignalConfig: {
|
|
3
2
|
size: number;
|
|
4
3
|
extension: string;
|
|
5
|
-
apiName: string;
|
|
6
4
|
};
|
|
7
|
-
export declare const trafficSignalMainFields: TrafficSignalMainFields;
|
|
8
|
-
export declare const defaultTrafficSignal: CreatedTrafficSignal;
|
|
9
5
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/traffic-signal/config/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/traffic-signal/config/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;CAI/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/traffic-signal/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AAEtB,cAAc,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/traffic-signal/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AAEtB,cAAc,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/traffic-signal/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/traffic-signal/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Coordinate } from '../../../../lib';
|
|
2
1
|
import { StringOrNumber } from '../../../../types';
|
|
3
2
|
import { LeafletMouseEvent } from 'leaflet';
|
|
4
3
|
export declare enum SourceLayers {
|
|
@@ -253,19 +252,4 @@ export declare enum TangramSourceNames {
|
|
|
253
252
|
NATURE_TILE = "nature_tile",
|
|
254
253
|
MSK = "msk"
|
|
255
254
|
}
|
|
256
|
-
export type GetLayersFunction = (source: TangramSourceNames) => TangramCustomLayer[];
|
|
257
|
-
export type LayerDatesFields = 'placement_date' | 'verification_date' | 'future_maintanance_date' | 'rapair_performed_date' | 'warranty_expr_date';
|
|
258
|
-
export type LayerFrontendDates = {
|
|
259
|
-
[K in LayerDatesFields]: Date;
|
|
260
|
-
};
|
|
261
|
-
export type LayerBackendDates = {
|
|
262
|
-
[K in LayerDatesFields]: string;
|
|
263
|
-
};
|
|
264
|
-
export type LayerServiceIds = {
|
|
265
|
-
readonly tsodd_id: number;
|
|
266
|
-
readonly dit_id: number;
|
|
267
|
-
};
|
|
268
|
-
export type BackendLayerTemplate<T> = LayerServiceIds & LayerBackendDates & Coordinate & T;
|
|
269
|
-
export type CreatedLayerTemplate<T> = LayerServiceIds & LayerFrontendDates & T;
|
|
270
|
-
export type UpdatedLayerTemplate<T> = LayerServiceIds & LayerFrontendDates & Coordinate & T;
|
|
271
255
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,oBAAY,YAAY;IACtB,OAAO,eAAa;IAEpB,aAAa,qBAAmB;IAEhC,aAAa,0BAAwB;IAErC,YAAY,4BAA0B;IAEtC,UAAU,qBAAmB;IAE7B,UAAU,qBAAmB;IAC7B,gBAAgB,0BAAwB;IAExC,aAAa,wBAAsB;IACnC,mBAAmB,6BAA2B;IAE9C,YAAY,uBAAqB;IACjC,kBAAkB,4BAA0B;IAE5C,YAAY,uBAAqB;IACjC,aAAa,wBAAsB;IAEnC,IAAI,aAAW;IAEf,aAAa,wBAAsB;IAEnC,UAAU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C7E,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,GAAG;IAC1C,kBAAkB,EAAE,CAAC,KAAK,EAAE;QAC1B,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,wBAAwB,KAAK,IAAI,CAAC;QAClD,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,wBAAwB,KAAK,IAAI,CAAC;KACnD,KAAK,IAAI,CAAC;IACX,KAAK,EAAE,YAAY,CAAC;CACrB,CAAC;AAEF,oBAAY,kBAAkB;IAC5B,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B,GAAG,QAAQ;CACZ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SourceLayerEventHandlers, SourceLayers, TangramCustomLayer, TangramSourceNames } from './types';
|
|
2
2
|
export declare const getLayerName: ({ id, data: { source, layer }, }: TangramCustomLayer) => string;
|
|
3
3
|
export declare const getValidLayer: ({ layer, order, eventHandlers, }: {
|
|
4
4
|
layer: TangramCustomLayer;
|
|
@@ -10,6 +10,9 @@ export declare const getAllPolylineLayers: (source: TangramSourceNames) => Tangr
|
|
|
10
10
|
export declare const getAllPointLayers: (source: TangramSourceNames) => TangramCustomLayer[];
|
|
11
11
|
export declare const getAllLayers: (source: TangramSourceNames) => TangramCustomLayer[];
|
|
12
12
|
export declare const getBackendDate: (date: Date) => string;
|
|
13
|
-
export declare const
|
|
14
|
-
|
|
13
|
+
export declare const getLayerModalsNames: (layer: SourceLayers) => {
|
|
14
|
+
create: string;
|
|
15
|
+
update: string;
|
|
16
|
+
delete: string;
|
|
17
|
+
};
|
|
15
18
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/lib/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/lib/utils.ts"],"names":[],"mappings":"AAgCA,OAAO,EACL,wBAAwB,EACxB,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,YAAY,GAAI,kCAG1B,kBAAkB,WAIpB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,kCAI3B;IACD,KAAK,EAAE,kBAAkB,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,wBAAwB,CAAC;CAC1C,uBA6HA,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,QAAQ,kBAAkB,yBA2C7D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,QAAQ,kBAAkB,yBAwB9D,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,QAAQ,kBAAkB,yBAoB3D,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,QAAQ,kBAAkB,yBA2CtD,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,MAAM,IAAI,WAQxC,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,OAAO,YAAY;;;;CActD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC"}
|