@dartcom/ui-kit 10.1.23 → 10.2.0

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.
Files changed (81) hide show
  1. package/dist/components/layers/leaflet/config/constants.d.ts +1 -23
  2. package/dist/components/layers/leaflet/config/constants.d.ts.map +1 -1
  3. package/dist/components/layers/leaflet/config/index.d.ts +0 -1
  4. package/dist/components/layers/leaflet/config/index.d.ts.map +1 -1
  5. package/dist/components/layers/leaflet/config/schema.d.ts +4 -0
  6. package/dist/components/layers/leaflet/config/schema.d.ts.map +1 -1
  7. package/dist/components/layers/leaflet/layers/camera/config/constants.d.ts +0 -4
  8. package/dist/components/layers/leaflet/layers/camera/config/constants.d.ts.map +1 -1
  9. package/dist/components/layers/leaflet/layers/camera/index.d.ts +0 -1
  10. package/dist/components/layers/leaflet/layers/camera/index.d.ts.map +1 -1
  11. package/dist/components/layers/leaflet/layers/camera/lib/index.d.ts +0 -1
  12. package/dist/components/layers/leaflet/layers/camera/lib/index.d.ts.map +1 -1
  13. package/dist/components/layers/leaflet/layers/camera/lib/utils.d.ts +0 -3
  14. package/dist/components/layers/leaflet/layers/camera/lib/utils.d.ts.map +1 -1
  15. package/dist/components/layers/leaflet/layers/camera/ui/forms/create/schema.d.ts.map +1 -1
  16. package/dist/components/layers/leaflet/layers/camera/ui/forms/schema.d.ts +1 -1
  17. package/dist/components/layers/leaflet/layers/camera/ui/forms/schema.d.ts.map +1 -1
  18. package/dist/components/layers/leaflet/layers/pillar/config/constants.d.ts.map +1 -1
  19. package/dist/components/layers/leaflet/layers/pillar/lib/index.d.ts +0 -1
  20. package/dist/components/layers/leaflet/layers/pillar/lib/index.d.ts.map +1 -1
  21. package/dist/components/layers/leaflet/layers/pillar/lib/types.d.ts +14 -9
  22. package/dist/components/layers/leaflet/layers/pillar/lib/types.d.ts.map +1 -1
  23. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/create.d.ts +5 -0
  24. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/create.d.ts.map +1 -0
  25. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/create.stories.d.ts +7 -0
  26. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/create.stories.d.ts.map +1 -0
  27. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/index.d.ts +3 -0
  28. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/index.d.ts.map +1 -0
  29. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/schema.d.ts +4 -0
  30. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/schema.d.ts.map +1 -0
  31. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/types.d.ts +6 -0
  32. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/types.d.ts.map +1 -0
  33. package/dist/components/layers/leaflet/layers/pillar/ui/forms/index.d.ts +3 -0
  34. package/dist/components/layers/leaflet/layers/pillar/ui/forms/index.d.ts.map +1 -0
  35. package/dist/components/layers/leaflet/layers/pillar/ui/forms/schema.d.ts +11 -0
  36. package/dist/components/layers/leaflet/layers/pillar/ui/forms/schema.d.ts.map +1 -0
  37. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/index.d.ts +3 -0
  38. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/index.d.ts.map +1 -0
  39. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/schema.d.ts +4 -0
  40. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/schema.d.ts.map +1 -0
  41. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/types.d.ts +9 -0
  42. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/types.d.ts.map +1 -0
  43. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/update.d.ts +5 -0
  44. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/update.d.ts.map +1 -0
  45. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/update.stories.d.ts +7 -0
  46. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/update.stories.d.ts.map +1 -0
  47. package/dist/components/layers/leaflet/layers/pillar/ui/index.d.ts +2 -0
  48. package/dist/components/layers/leaflet/layers/pillar/ui/index.d.ts.map +1 -0
  49. package/dist/components/layers/leaflet/layers/traffic-sign/config/constants.d.ts +9 -21
  50. package/dist/components/layers/leaflet/layers/traffic-sign/config/constants.d.ts.map +1 -1
  51. package/dist/components/layers/leaflet/layers/traffic-sign/index.d.ts +0 -2
  52. package/dist/components/layers/leaflet/layers/traffic-sign/index.d.ts.map +1 -1
  53. package/dist/components/layers/leaflet/layers/traffic-sign/lib/types.d.ts +2 -40
  54. package/dist/components/layers/leaflet/layers/traffic-sign/lib/types.d.ts.map +1 -1
  55. package/dist/components/layers/leaflet/layers/traffic-sign/lib/utils.d.ts +2 -5
  56. package/dist/components/layers/leaflet/layers/traffic-sign/lib/utils.d.ts.map +1 -1
  57. package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/create/schema.d.ts.map +1 -1
  58. package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/schema.d.ts +1 -1
  59. package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/schema.d.ts.map +1 -1
  60. package/dist/components/layers/leaflet/layers/traffic-signal/config/constants.d.ts +0 -4
  61. package/dist/components/layers/leaflet/layers/traffic-signal/config/constants.d.ts.map +1 -1
  62. package/dist/components/layers/leaflet/layers/traffic-signal/index.d.ts +0 -1
  63. package/dist/components/layers/leaflet/layers/traffic-signal/index.d.ts.map +1 -1
  64. package/dist/components/layers/leaflet/layers/traffic-signal/lib/index.d.ts +0 -1
  65. package/dist/components/layers/leaflet/layers/traffic-signal/lib/index.d.ts.map +1 -1
  66. package/dist/components/layers/leaflet/layers/traffic-signal/ui/forms/create/schema.d.ts.map +1 -1
  67. package/dist/components/layers/leaflet/layers/traffic-signal/ui/forms/schema.d.ts +1 -1
  68. package/dist/components/layers/leaflet/layers/traffic-signal/ui/forms/schema.d.ts.map +1 -1
  69. package/dist/components/layers/leaflet/lib/types.d.ts +0 -16
  70. package/dist/components/layers/leaflet/lib/types.d.ts.map +1 -1
  71. package/dist/components/layers/leaflet/lib/utils.d.ts +6 -3
  72. package/dist/components/layers/leaflet/lib/utils.d.ts.map +1 -1
  73. package/dist/constants/index.d.ts +1 -0
  74. package/dist/constants/index.d.ts.map +1 -1
  75. package/dist/index.cjs +6406 -11086
  76. package/dist/index.cjs.map +1 -1
  77. package/dist/index.esm.js +8 -23
  78. package/dist/index.esm.js.map +1 -1
  79. package/dist/lib/types.d.ts +5 -0
  80. package/dist/lib/types.d.ts.map +1 -1
  81. package/package.json +1 -1
@@ -1,6 +1,4 @@
1
- import { SelectOptionItem } from '../../../../components/select';
2
- import { Camera, 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,24 +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
- export declare const layerDateFormat = "dd.MM.yyyy";
33
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":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC/E,OAAO,EACL,iBAAiB,EAEjB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EAEf,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;AAEF,eAAO,MAAM,eAAe,EAAE,eAG7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,gBAAgB,EAM9C,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,kBAMvC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,iBAMtC,CAAC;AAEF,oBAAY,aAAa;IACvB,MAAM,uEAAgB;IACtB,QAAQ,mFAAkB;IAC1B,SAAS,2DAAc;CACxB;AAED,eAAO,MAAM,oBAAoB,oBAK9B,CAAC;AAEJ,eAAO,MAAM,aAAa,EAAE;KACzB,CAAC,IAAI,MAAM,WAAW,GAAG,MAAM;CACjC,GAAG;KACD,CAAC,IAAI,MAAM,cAAc,GAAG,MAAM;CACpC,GAAG;KACD,CAAC,IAAI,MAAM,aAAa,GAAG,MAAM;CACnC,GAAG;KACD,CAAC,IAAI,MAAM,MAAM,GAAG,MAAM;CAqC5B,CAAC;AAEF,eAAO,MAAM,eAAe,eAAe,CAAC"}
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,4 +1,3 @@
1
1
  export * from './constants';
2
2
  export * from './schema';
3
- export * from './styles';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAE5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAE5B,cAAc,UAAU,CAAC"}
@@ -9,4 +9,8 @@ export declare const layerCoordinateSchema: {
9
9
  lat: import("yup").NumberSchema<number, import("yup").AnyObject, undefined, "">;
10
10
  lon: import("yup").NumberSchema<number, import("yup").AnyObject, undefined, "">;
11
11
  };
12
+ export declare const layerServiceIdsSchema: {
13
+ dit_id: import("yup").NumberSchema<number, import("yup").AnyObject, undefined, "">;
14
+ tsodd_id: import("yup").NumberSchema<number, import("yup").AnyObject, undefined, "">;
15
+ };
12
16
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/config/schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB;;;;;;CAMlC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;CAGjC,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/config/schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB;;;;;;CAMlC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;CAGjC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;CAGjC,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":"AAMA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEzD,eAAO,MAAM,YAAY;;;;CAMxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,gBAQ9B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,aAI3B,CAAC"}
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,4 +1,3 @@
1
1
  export * from './lib';
2
2
  export * from './config';
3
- export * from './ui';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -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;AAEzB,cAAc,MAAM,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,3 +1,2 @@
1
- export * from './types';
2
1
  export * from './utils';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -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;AAExB,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,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAE5E,eAAO,MAAM,eAAe,GAAI,QAAQ,kBAAkB,yBA2CzD,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,oBAAoB,uBAAuB,EAAE,KAC5C,wBAAwB,EAI1B,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,qBAAqB,wBAAwB,EAAE,KAC9C,uBAAuB,EAEzB,CAAC"}
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 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/create/schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEjD,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,eAAO,MAAM,MAAM,EAAE,GAAG,CAAC,YAAY,CAAC,sBAAsB,CAQxD,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/create/schema.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEjD,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,eAAO,MAAM,MAAM,EAAE,GAAG,CAAC,YAAY,CAAC,sBAAsB,CAMxD,CAAC"}
@@ -16,8 +16,8 @@ export declare const mainFieldsSchema: {
16
16
  };
17
17
  export declare const idsFieldsSchema: {
18
18
  camera_id: yup.StringSchema<string, yup.AnyObject, undefined, "">;
19
+ pillar_id: yup.StringSchema<string | null | undefined, yup.AnyObject, undefined, "">;
19
20
  dit_id: yup.NumberSchema<number, yup.AnyObject, undefined, "">;
20
21
  tsodd_id: yup.NumberSchema<number, yup.AnyObject, undefined, "">;
21
- pillar_id: yup.StringSchema<string | null | undefined, yup.AnyObject, undefined, "">;
22
22
  };
23
23
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/schema.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,eAAO,MAAM,gBAAgB;;;;MAKhB,CAAC;AAEd,eAAO,MAAM,gBAAgB;;;;;;;;CAM5B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;CAK3B,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/schema.ts"],"names":[],"mappings":"AAOA,OAAO,EAAyB,aAAa,EAAE,MAAM,cAAc,CAAC;AAEpE,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,eAAO,MAAM,gBAAgB;;;;MAKhB,CAAC;AAEd,eAAO,MAAM,gBAAgB;;;;;;;;CAM5B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;CAK3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/pillar/config/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;CAGxB,CAAC"}
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,3 +1,2 @@
1
- export * from './types';
2
1
  export * from './utils';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -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;AAExB,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,18 +1,23 @@
1
1
  import { Coordinate } from '../../../../../../lib';
2
- import { LayerBackendDates, LayerServiceIds } from '../../../lib';
2
+ import { Nullable } from '../../../../../../types';
3
+ import { CreatedLayerTemplate, LayerBackendDates, LayerServiceIds } from '../../../lib';
4
+ import { Camera } from '../../camera';
3
5
  import { TrafficSign } from '../../traffic-sign';
4
- export type PillarIds = {
6
+ import { TrafficSignal } from '../../traffic-signal';
7
+ export type PillarIdsFields = {
5
8
  readonly pillar_id: string;
6
9
  };
7
10
  export type PillarMainFields = {
8
- description?: string;
9
- height?: number;
10
- comment?: string;
11
+ description?: Nullable<string>;
12
+ height?: Nullable<number>;
13
+ comment?: Nullable<string>;
11
14
  };
12
- export type Pillar = LayerServiceIds & LayerBackendDates & PillarIds & Coordinate & PillarMainFields & {
15
+ export type PillarConnectionFields = {
13
16
  signs: TrafficSign[];
14
- signals: [];
15
- cameras: [];
17
+ signals: TrafficSignal[];
18
+ cameras: Camera[];
16
19
  };
17
- export type CreatedPillar = Coordinate & PillarMainFields;
20
+ export type Pillar = LayerServiceIds & LayerBackendDates & PillarIdsFields & Coordinate & PillarMainFields & PillarConnectionFields;
21
+ export type CreatedPillar = CreatedLayerTemplate<PillarMainFields>;
22
+ export type UpdatedPillar = CreatedLayerTemplate<PillarIdsFields & PillarMainFields>;
18
23
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/pillar/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,eAAe,GAClC,iBAAiB,GACjB,SAAS,GACT,UAAU,GACV,gBAAgB,GAAG;IACjB,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,OAAO,EAAE,EAAE,CAAC;IACZ,OAAO,EAAE,EAAE,CAAC;CACb,CAAC;AAEJ,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,gBAAgB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/pillar/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,eAAe,EAChB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,WAAW,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC1B,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,eAAe,GAClC,iBAAiB,GACjB,eAAe,GACf,UAAU,GACV,gBAAgB,GAChB,sBAAsB,CAAC;AAEzB,MAAM,MAAM,aAAa,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;AAEnE,MAAM,MAAM,aAAa,GAAG,oBAAoB,CAC9C,eAAe,GAAG,gBAAgB,CACnC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { PillarCreateFormProps } from './types';
3
+ declare const _default: React.FunctionComponent<PillarCreateFormProps>;
4
+ export default _default;
5
+ //# sourceMappingURL=create.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/pillar/ui/forms/create/create.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoB/B,OAAO,EAAE,qBAAqB,EAA0B,MAAM,SAAS,CAAC;;AA4DxE,wBAA0C"}
@@ -0,0 +1,7 @@
1
+ import { PillarCreateForm } from '.';
2
+ import type { Meta, StoryObj } from '@storybook/react-vite';
3
+ declare const meta: Meta<typeof PillarCreateForm>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ //# sourceMappingURL=create.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.stories.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/pillar/ui/forms/create/create.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,GAAG,CAAC;AAErC,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAqBvC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './types';
2
+ export { default as PillarCreateForm } from './create';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/pillar/ui/forms/create/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { PillarCreateFormValues } from './types';
2
+ import * as yup from 'yup';
3
+ export declare const schema: yup.ObjectSchema<PillarCreateFormValues>;
4
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/pillar/ui/forms/create/schema.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEjD,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,eAAO,MAAM,MAAM,EAAE,GAAG,CAAC,YAAY,CAAC,sBAAsB,CAMxD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { CreatedPillar } from '../../../../pillar/lib';
2
+ export type PillarCreateFormValues = CreatedPillar;
3
+ export type PillarCreateFormProps = {
4
+ onSubmit: (values: PillarCreateFormValues) => void;
5
+ };
6
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/pillar/ui/forms/create/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,CAAC,MAAM,EAAE,sBAAsB,KAAK,IAAI,CAAC;CACpD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './create';
2
+ export * from './update';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/layers/leaflet/layers/pillar/ui/forms/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
@@ -0,0 +1,11 @@
1
+ export declare const mainFieldsSchema: {
2
+ comment: import("yup").StringSchema<string | null | undefined, import("yup").AnyObject, undefined, "">;
3
+ description: import("yup").StringSchema<string | null | undefined, import("yup").AnyObject, undefined, "">;
4
+ height: import("yup").NumberSchema<number | null | undefined, import("yup").AnyObject, undefined, "">;
5
+ };
6
+ export declare const idsFieldsSchema: {
7
+ pillar_id: import("yup").StringSchema<string, import("yup").AnyObject, undefined, "">;
8
+ dit_id: import("yup").NumberSchema<number, import("yup").AnyObject, undefined, "">;
9
+ tsodd_id: import("yup").NumberSchema<number, import("yup").AnyObject, undefined, "">;
10
+ };
11
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/layers/leaflet/layers/pillar/ui/forms/schema.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,gBAAgB;;;;CAI5B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;CAI3B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './types';
2
+ export { default as PillarUpdateForm } from './update';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/pillar/ui/forms/update/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { TrafficSignalUpdateFormValues } from './types';
2
+ import * as yup from 'yup';
3
+ export declare const schema: yup.ObjectSchema<TrafficSignalUpdateFormValues>;
4
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/pillar/ui/forms/update/schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAExD,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,eAAO,MAAM,MAAM,EAAE,GAAG,CAAC,YAAY,CAAC,6BAA6B,CAO/D,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { Pillar, UpdatedPillar } from '../../../../pillar/lib';
2
+ export type PillarUpdateFormProps = {
3
+ pillar: Pillar;
4
+ onSubmit: (values: PillarUpdateFormValues) => void;
5
+ onDelete: (value: Pillar) => void;
6
+ getButtons?: (value: Pillar) => React.ReactNode;
7
+ };
8
+ export type PillarUpdateFormValues = UpdatedPillar;
9
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/pillar/ui/forms/update/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEtD,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,CAAC,MAAM,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACnD,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAElC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { PillarUpdateFormProps } from './types';
3
+ declare const _default: React.FunctionComponent<PillarUpdateFormProps>;
4
+ export default _default;
5
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/pillar/ui/forms/update/update.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA6B/B,OAAO,EAAE,qBAAqB,EAA0B,MAAM,SAAS,CAAC;;AA6QxE,wBAA0C"}
@@ -0,0 +1,7 @@
1
+ import { PillarUpdateForm } from '.';
2
+ import type { Meta, StoryObj } from '@storybook/react-vite';
3
+ declare const meta: Meta<typeof PillarUpdateForm>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ //# sourceMappingURL=update.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.stories.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/pillar/ui/forms/update/update.stories.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,GAAG,CAAC;AAErC,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAyB5D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAgCvC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './forms';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/pillar/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -1,22 +1,6 @@
1
- import { CreatedTrafficSign, CreatedTrafficSignDop, TrafficSignData, TrafficSignDopIds, TrafficSignDopMainFields, TrafficSignIds, TrafficSignMainFields } from '../../traffic-sign/lib';
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 trafficSignWords: {
28
- title: string;
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 trafficSignDopWords: {
31
- title: string;
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":"AAOA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,wBAAwB,EACxB,cAAc,EACd,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,YAAY,EAAE;IACzB,CAAC,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;CAm8C9B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE;IAC5B,CAAC,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;CA+W9B,CAAC;AAEF,eAAO,MAAM,eAAe;;CAG3B,CAAC;AAKF,eAAO,MAAM,qBAAqB,EAAE,qBASnC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,cAEnC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,iBAGtC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,wBAQtC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,kBAMhC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,qBAGnC,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;CAY7B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;CAE5B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;CAE/B,CAAC"}
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,5 +1,3 @@
1
1
  export * from './lib';
2
2
  export * from './config';
3
- export * from './ui';
4
- export * from './traffic-sign-dop';
5
3
  //# sourceMappingURL=index.d.ts.map
@@ -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;AAEzB,cAAc,MAAM,CAAC;AAErB,cAAc,oBAAoB,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 { Nullable } from '../../../../../../types';
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,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,MAAM,MAAM,eAAe,GACvB,uBAAuB,GACvB,kBAAkB,GAClB,mBAAmB,GACnB,sBAAsB,GACtB,0BAA0B,GAC1B,sBAAsB,GACtB,eAAe,GACf,iCAAiC,CAAC;AAEtC,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,eAAe,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,SAAS,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;CACpD,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG;IACxE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3B,SAAS,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC7B,MAAM,EAAE,aAAa,CAAC;IAEtB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kBAAkB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IACtC,iBAAiB,EAAE,eAAe,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,IAAI,CACzC,qBAAqB,EACrB,QAAQ,GAAG,SAAS,CACrB,GAAG;IACF,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,iBAAiB,GAC5C,iBAAiB,GACjB,wBAAwB,GAAG,EAAE,CAAC;AAEhC,MAAM,MAAM,qBAAqB,GAAG,kBAAkB,GACpD,wBAAwB,GAAG,EAAE,CAAC;AAEhC,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,GACnD,kBAAkB,GAClB,wBAAwB,GAAG,EAAE,CAAC;AAEhC,MAAM,MAAM,WAAW,GAAG,oBAAoB,CAC5C,cAAc,GACZ,qBAAqB,GAAG;IACtB,IAAI,EAAE,cAAc,EAAE,CAAC;CACxB,CACJ,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CACnD,qBAAqB,GAAG;IACtB,IAAI,EAAE,qBAAqB,EAAE,CAAC;CAC/B,CACF,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CACnD,cAAc,GACZ,qBAAqB,GAAG;IACtB,IAAI,EAAE,qBAAqB,EAAE,CAAC;CAC/B,CACJ,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;KAC5B,CAAC,IAAI,eAAe,GAAG,WAAW,CAAC,qBAAqB,CAAC,EAAE;CAC7D,CAAC"}
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 { TrafficSign } from './types';
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: TrafficSign["traffic_sign_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":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAKvD,OAAO,EAEL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAmB,iBAAiB,EAAgB,MAAM,WAAW,CAAC;AAE7E,OAAO,EAAE,WAAW,EAAoC,MAAM,SAAS,CAAC;AAExE,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,WAAW,CAAC,qBAAqB,CAAC,CAAC;CAC5C,WAMA,CAAC;AAEF,eAAO,MAAM,2BAA2B,0BAiBvC,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,MAAM,MAAM,SA4BnD,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,QAAQ,WAAW,CAAC,qBAAqB,CAAC,WAK3C,CAAC"}
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 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/traffic-sign/ui/forms/create/schema.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAEtD,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,eAAO,MAAM,MAAM,EAAE,GAAG,CAAC,YAAY,CAAC,2BAA2B,CAa7D,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/traffic-sign/ui/forms/create/schema.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAEtD,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,eAAO,MAAM,MAAM,EAAE,GAAG,CAAC,YAAY,CAAC,2BAA2B,CAW7D,CAAC"}
@@ -26,8 +26,8 @@ export declare const mainFieldsSchema: {
26
26
  };
27
27
  export declare const idsFieldsSchema: {
28
28
  traffic_sign_id: yup.StringSchema<string, yup.AnyObject, undefined, "">;
29
+ pillar_id: yup.StringSchema<string | null | undefined, yup.AnyObject, undefined, "">;
29
30
  dit_id: yup.NumberSchema<number, yup.AnyObject, undefined, "">;
30
31
  tsodd_id: yup.NumberSchema<number, yup.AnyObject, undefined, "">;
31
- pillar_id: yup.StringSchema<string | null | undefined, yup.AnyObject, undefined, "">;
32
32
  };
33
33
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/layers/leaflet/layers/traffic-sign/ui/forms/schema.ts"],"names":[],"mappings":"AAOA,OAAO,EAA0B,aAAa,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,eAAO,MAAM,YAAY,+DAA2C,CAAC;AAErE,eAAO,MAAM,6BAA6B;;;CAGzC,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;;;;CAO1C,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,GAAG,CAAC,YAAY,CAAC,qBAAqB,CAK5E,CAAC;AAEL,eAAO,MAAM,2BAA2B,EAAE,GAAG,CAAC,YAAY,CAAC,qBAAqB,CAI5E,CAAC;AAEL,eAAO,MAAM,gBAAgB;;;;;;;;CAS5B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;CAK3B,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/layers/leaflet/layers/traffic-sign/ui/forms/schema.ts"],"names":[],"mappings":"AAMA,OAAO,EAGL,aAAa,EACd,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,eAAO,MAAM,YAAY,+DAA2C,CAAC;AAErE,eAAO,MAAM,6BAA6B;;;CAGzC,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;;;;CAO1C,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,GAAG,CAAC,YAAY,CAAC,qBAAqB,CAK5E,CAAC;AAEL,eAAO,MAAM,2BAA2B,EAAE,GAAG,CAAC,YAAY,CAAC,qBAAqB,CAI5E,CAAC;AAEL,eAAO,MAAM,gBAAgB;;;;;;;;CAS5B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;CAM3B,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":"AAMA,OAAO,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,QAAQ,CAAC;AAEvE,eAAO,MAAM,mBAAmB;;;;CAM/B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,uBAIrC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,oBAIlC,CAAC"}
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,4 +1,3 @@
1
1
  export * from './lib';
2
2
  export * from './config';
3
- export * from './ui';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -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;AAEzB,cAAc,MAAM,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,3 +1,2 @@
1
- export * from './types';
2
1
  export * from './utils';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -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;AAExB,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 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/traffic-signal/ui/forms/create/schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAExD,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,eAAO,MAAM,MAAM,EAAE,GAAG,CAAC,YAAY,CAAC,6BAA6B,CAQ/D,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/traffic-signal/ui/forms/create/schema.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAExD,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,eAAO,MAAM,MAAM,EAAE,GAAG,CAAC,YAAY,CAAC,6BAA6B,CAM/D,CAAC"}
@@ -7,8 +7,8 @@ export declare const mainFieldsSchema: {
7
7
  };
8
8
  export declare const idsFieldsSchema: {
9
9
  traffic_signal_id: import("yup").StringSchema<string, import("yup").AnyObject, undefined, "">;
10
+ pillar_id: import("yup").StringSchema<string | null | undefined, import("yup").AnyObject, undefined, "">;
10
11
  dit_id: import("yup").NumberSchema<number, import("yup").AnyObject, undefined, "">;
11
12
  tsodd_id: import("yup").NumberSchema<number, import("yup").AnyObject, undefined, "">;
12
- pillar_id: import("yup").StringSchema<string | null | undefined, import("yup").AnyObject, undefined, "">;
13
13
  };
14
14
  //# sourceMappingURL=schema.d.ts.map