@dartcom/ui-kit 10.1.23 → 10.1.24

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 (50) hide show
  1. package/dist/components/layers/leaflet/config/constants.d.ts +3 -1
  2. package/dist/components/layers/leaflet/config/constants.d.ts.map +1 -1
  3. package/dist/components/layers/leaflet/config/schema.d.ts +4 -0
  4. package/dist/components/layers/leaflet/config/schema.d.ts.map +1 -1
  5. package/dist/components/layers/leaflet/layers/camera/ui/forms/create/schema.d.ts.map +1 -1
  6. package/dist/components/layers/leaflet/layers/camera/ui/forms/schema.d.ts +1 -1
  7. package/dist/components/layers/leaflet/layers/camera/ui/forms/schema.d.ts.map +1 -1
  8. package/dist/components/layers/leaflet/layers/pillar/config/constants.d.ts +5 -0
  9. package/dist/components/layers/leaflet/layers/pillar/config/constants.d.ts.map +1 -1
  10. package/dist/components/layers/leaflet/layers/pillar/index.d.ts +1 -0
  11. package/dist/components/layers/leaflet/layers/pillar/index.d.ts.map +1 -1
  12. package/dist/components/layers/leaflet/layers/pillar/lib/types.d.ts +14 -9
  13. package/dist/components/layers/leaflet/layers/pillar/lib/types.d.ts.map +1 -1
  14. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/create.d.ts +5 -0
  15. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/create.d.ts.map +1 -0
  16. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/create.stories.d.ts +7 -0
  17. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/create.stories.d.ts.map +1 -0
  18. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/index.d.ts +3 -0
  19. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/index.d.ts.map +1 -0
  20. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/schema.d.ts +4 -0
  21. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/schema.d.ts.map +1 -0
  22. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/types.d.ts +6 -0
  23. package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/types.d.ts.map +1 -0
  24. package/dist/components/layers/leaflet/layers/pillar/ui/forms/index.d.ts +3 -0
  25. package/dist/components/layers/leaflet/layers/pillar/ui/forms/index.d.ts.map +1 -0
  26. package/dist/components/layers/leaflet/layers/pillar/ui/forms/schema.d.ts +11 -0
  27. package/dist/components/layers/leaflet/layers/pillar/ui/forms/schema.d.ts.map +1 -0
  28. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/index.d.ts +3 -0
  29. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/index.d.ts.map +1 -0
  30. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/schema.d.ts +4 -0
  31. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/schema.d.ts.map +1 -0
  32. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/types.d.ts +9 -0
  33. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/types.d.ts.map +1 -0
  34. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/update.d.ts +5 -0
  35. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/update.d.ts.map +1 -0
  36. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/update.stories.d.ts +7 -0
  37. package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/update.stories.d.ts.map +1 -0
  38. package/dist/components/layers/leaflet/layers/pillar/ui/index.d.ts +2 -0
  39. package/dist/components/layers/leaflet/layers/pillar/ui/index.d.ts.map +1 -0
  40. package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/create/schema.d.ts.map +1 -1
  41. package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/schema.d.ts +1 -1
  42. package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/schema.d.ts.map +1 -1
  43. package/dist/components/layers/leaflet/layers/traffic-signal/ui/forms/create/schema.d.ts.map +1 -1
  44. package/dist/components/layers/leaflet/layers/traffic-signal/ui/forms/schema.d.ts +1 -1
  45. package/dist/components/layers/leaflet/layers/traffic-signal/ui/forms/schema.d.ts.map +1 -1
  46. package/dist/index.cjs +448 -278
  47. package/dist/index.cjs.map +1 -1
  48. package/dist/index.esm.js +2 -2
  49. package/dist/index.esm.js.map +1 -1
  50. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { SelectOptionItem } from '../../../../components/select';
2
- import { Camera, TrafficSign, TrafficSignal, TrafficSignDop } from '../layers';
2
+ import { Camera, Pillar, TrafficSign, TrafficSignal, TrafficSignDop } from '../layers';
3
3
  import { LayerBackendDates, LayerDatesFields, LayerFrontendDates, LayerServiceIds, TangramCustomLayer, TangramSourceNames } from '../lib/types';
4
4
  export declare const tile_size = 256;
5
5
  export declare const imagesPath = "https://dalganmap.ru/api-image/images";
@@ -28,6 +28,8 @@ export declare const trafficTitles: {
28
28
  [K in keyof TrafficSignal]: string;
29
29
  } & {
30
30
  [K in keyof Camera]: string;
31
+ } & {
32
+ [K in keyof Pillar]: string;
31
33
  };
32
34
  export declare const layerDateFormat = "dd.MM.yyyy";
33
35
  //# 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":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,OAAO,EACL,MAAM,EACN,MAAM,EACN,WAAW,EACX,aAAa,EACb,cAAc,EACf,MAAM,WAAW,CAAC;AACnB,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;CAC5B,GAAG;KACD,CAAC,IAAI,MAAM,MAAM,GAAG,MAAM;CA2C5B,CAAC;AAEF,eAAO,MAAM,eAAe,eAAe,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 +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,5 +1,10 @@
1
+ import { CreatedPillar, PillarConnectionFields, PillarMainFields } from '../lib';
1
2
  export declare const pillarConfig: {
2
3
  size: number;
3
4
  extension: string;
5
+ apiName: string;
4
6
  };
7
+ export declare const pillarMainFields: PillarMainFields;
8
+ export declare const pillarConnectionFields: PillarConnectionFields;
9
+ export declare const defaultPillar: CreatedPillar;
5
10
  //# 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":"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":"AAEA,OAAO,EACL,aAAa,EACb,sBAAsB,EACtB,gBAAgB,EACjB,MAAM,QAAQ,CAAC;AAEhB,eAAO,MAAM,YAAY;;;;CAMxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,gBAI9B,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,sBAIpC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,aAI3B,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from './lib';
2
2
  export * from './config';
3
+ export * from './ui';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -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;AAEzB,cAAc,MAAM,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 +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 +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
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/layers/leaflet/layers/traffic-signal/ui/forms/schema.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,eAAO,MAAM,gBAAgB;;;;;CAO5B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;CAO3B,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/layers/leaflet/layers/traffic-signal/ui/forms/schema.ts"],"names":[],"mappings":"AAMA,OAAO,EAAyB,aAAa,EAAE,MAAM,cAAc,CAAC;AAEpE,eAAO,MAAM,gBAAgB;;;;;CAO5B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;CAK3B,CAAC"}