@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.
- package/dist/components/layers/leaflet/config/constants.d.ts +3 -1
- package/dist/components/layers/leaflet/config/constants.d.ts.map +1 -1
- package/dist/components/layers/leaflet/config/schema.d.ts +4 -0
- package/dist/components/layers/leaflet/config/schema.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/camera/ui/forms/create/schema.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/camera/ui/forms/schema.d.ts +1 -1
- package/dist/components/layers/leaflet/layers/camera/ui/forms/schema.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/pillar/config/constants.d.ts +5 -0
- package/dist/components/layers/leaflet/layers/pillar/config/constants.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/pillar/index.d.ts +1 -0
- package/dist/components/layers/leaflet/layers/pillar/index.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/pillar/lib/types.d.ts +14 -9
- package/dist/components/layers/leaflet/layers/pillar/lib/types.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/create.d.ts +5 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/create.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/create.stories.d.ts +7 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/create.stories.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/index.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/schema.d.ts +4 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/schema.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/types.d.ts +6 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/create/types.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/index.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/schema.d.ts +11 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/schema.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/index.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/schema.d.ts +4 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/schema.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/types.d.ts +9 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/types.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/update.d.ts +5 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/update.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/update.stories.d.ts +7 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/forms/update/update.stories.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/index.d.ts +2 -0
- package/dist/components/layers/leaflet/layers/pillar/ui/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/create/schema.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/schema.d.ts +1 -1
- package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/schema.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/traffic-signal/ui/forms/create/schema.d.ts.map +1 -1
- package/dist/components/layers/leaflet/layers/traffic-signal/ui/forms/schema.d.ts +1 -1
- package/dist/components/layers/leaflet/layers/traffic-signal/ui/forms/schema.d.ts.map +1 -1
- package/dist/index.cjs +448 -278
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- 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,
|
|
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":"
|
|
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":"
|
|
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":"
|
|
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 +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 {
|
|
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
|
-
|
|
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
|
|
15
|
+
export type PillarConnectionFields = {
|
|
13
16
|
signs: TrafficSign[];
|
|
14
|
-
signals: [];
|
|
15
|
-
cameras: [];
|
|
17
|
+
signals: TrafficSignal[];
|
|
18
|
+
cameras: Camera[];
|
|
16
19
|
};
|
|
17
|
-
export type
|
|
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;
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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":"
|
|
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":"
|
|
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"}
|
package/dist/components/layers/leaflet/layers/traffic-signal/ui/forms/create/schema.d.ts.map
CHANGED
|
@@ -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":"
|
|
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":"
|
|
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"}
|