@dartcom/ui-kit 3.5.2 → 3.6.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.
- package/dist/components/buttons/delete/delete.d.ts +5 -0
- package/dist/components/buttons/delete/delete.d.ts.map +1 -0
- package/dist/components/buttons/delete/delete.stories.d.ts +8 -0
- package/dist/components/buttons/delete/delete.stories.d.ts.map +1 -0
- package/dist/components/buttons/delete/index.d.ts +2 -0
- package/dist/components/buttons/delete/index.d.ts.map +1 -0
- package/dist/components/buttons/delete/types.d.ts +8 -0
- package/dist/components/buttons/delete/types.d.ts.map +1 -0
- package/dist/components/buttons/edit/edit.d.ts +5 -0
- package/dist/components/buttons/edit/edit.d.ts.map +1 -0
- package/dist/components/buttons/edit/edit.stories.d.ts +7 -0
- package/dist/components/buttons/edit/edit.stories.d.ts.map +1 -0
- package/dist/components/buttons/edit/index.d.ts +2 -0
- package/dist/components/buttons/edit/index.d.ts.map +1 -0
- package/dist/components/buttons/edit/types.d.ts +3 -0
- package/dist/components/buttons/edit/types.d.ts.map +1 -0
- package/dist/components/buttons/index.d.ts +3 -0
- package/dist/components/buttons/index.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.d.ts +16 -0
- package/dist/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.stories.d.ts +8 -0
- package/dist/components/checkbox/checkbox.stories.d.ts.map +1 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/checkbox/index.d.ts.map +1 -0
- package/dist/components/dialog/dialog.d.ts +5 -0
- package/dist/components/dialog/dialog.d.ts.map +1 -0
- package/dist/components/dialog/index.d.ts +2 -0
- package/dist/components/dialog/index.d.ts.map +1 -0
- package/dist/components/dialog/types.d.ts +5 -0
- package/dist/components/dialog/types.d.ts.map +1 -0
- package/dist/components/drag-list/drag-list.d.ts +4 -0
- package/dist/components/drag-list/drag-list.d.ts.map +1 -0
- package/dist/components/drag-list/drag-list.stories.d.ts +8 -0
- package/dist/components/drag-list/drag-list.stories.d.ts.map +1 -0
- package/dist/components/drag-list/draggable/draggable.d.ts +5 -0
- package/dist/components/drag-list/draggable/draggable.d.ts.map +1 -0
- package/dist/components/drag-list/draggable/index.d.ts +2 -0
- package/dist/components/drag-list/draggable/index.d.ts.map +1 -0
- package/dist/components/drag-list/draggable/types.d.ts +10 -0
- package/dist/components/drag-list/draggable/types.d.ts.map +1 -0
- package/dist/components/drag-list/droppable/droppable.d.ts +5 -0
- package/dist/components/drag-list/droppable/droppable.d.ts.map +1 -0
- package/dist/components/drag-list/droppable/index.d.ts +2 -0
- package/dist/components/drag-list/droppable/index.d.ts.map +1 -0
- package/dist/components/drag-list/droppable/types.d.ts +5 -0
- package/dist/components/drag-list/droppable/types.d.ts.map +1 -0
- package/dist/components/drag-list/index.d.ts +2 -0
- package/dist/components/drag-list/index.d.ts.map +1 -0
- package/dist/components/drag-list/types.d.ts +11 -0
- package/dist/components/drag-list/types.d.ts.map +1 -0
- package/dist/components/form/form.d.ts +21 -0
- package/dist/components/form/form.d.ts.map +1 -0
- package/dist/components/form/form.stories.d.ts +8 -0
- package/dist/components/form/form.stories.d.ts.map +1 -0
- package/dist/components/form/hooks/index.d.ts +2 -0
- package/dist/components/form/hooks/index.d.ts.map +1 -0
- package/dist/components/form/hooks/useFormContext.d.ts +2 -0
- package/dist/components/form/hooks/useFormContext.d.ts.map +1 -0
- package/dist/components/form/index.d.ts +3 -0
- package/dist/components/form/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/input/index.d.ts +3 -0
- package/dist/components/input/index.d.ts.map +1 -0
- package/dist/components/input/input.d.ts +4 -0
- package/dist/components/input/input.d.ts.map +1 -0
- package/dist/components/input/types.d.ts +6 -0
- package/dist/components/input/types.d.ts.map +1 -0
- package/dist/components/layers/index.d.ts +2 -0
- package/dist/components/layers/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/constants.d.ts +11 -0
- package/dist/components/layers/leaflet/constants.d.ts.map +1 -0
- package/dist/components/layers/leaflet/hooks/index.d.ts +2 -0
- package/dist/components/layers/leaflet/hooks/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/hooks/useGetLeafletLayer.d.ts +29 -0
- package/dist/components/layers/leaflet/hooks/useGetLeafletLayer.d.ts.map +1 -0
- package/dist/components/layers/leaflet/index.d.ts +5 -0
- package/dist/components/layers/leaflet/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/POI/constants.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/POI/constants.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/POI/index.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/POI/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/POI/utils.d.ts +7 -0
- package/dist/components/layers/leaflet/layers/POI/utils.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/admin-area/constants.d.ts +2 -0
- package/dist/components/layers/leaflet/layers/admin-area/constants.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/admin-area/index.d.ts +2 -0
- package/dist/components/layers/leaflet/layers/admin-area/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/admin-area/utils.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/admin-area/utils.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/building/index.d.ts +2 -0
- package/dist/components/layers/leaflet/layers/building/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/building/utils.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/building/utils.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/builtup-area/index.d.ts +2 -0
- package/dist/components/layers/leaflet/layers/builtup-area/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/builtup-area/utils.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/builtup-area/utils.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/city-POI/index.d.ts +2 -0
- package/dist/components/layers/leaflet/layers/city-POI/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/city-POI/utils.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/city-POI/utils.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/condition/index.d.ts +2 -0
- package/dist/components/layers/leaflet/layers/condition/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/condition/types.d.ts +7 -0
- package/dist/components/layers/leaflet/layers/condition/types.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/condition/utils.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/condition/utils.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/facility-area/index.d.ts +2 -0
- package/dist/components/layers/leaflet/layers/facility-area/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/facility-area/utils.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/facility-area/utils.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/index.d.ts +17 -0
- package/dist/components/layers/leaflet/layers/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/landuse-area/index.d.ts +2 -0
- package/dist/components/layers/leaflet/layers/landuse-area/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/landuse-area/utils.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/landuse-area/utils.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/link/constants.d.ts +8 -0
- package/dist/components/layers/leaflet/layers/link/constants.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/link/index.d.ts +2 -0
- package/dist/components/layers/leaflet/layers/link/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/link/utils.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/link/utils.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/nature-field/index.d.ts +2 -0
- package/dist/components/layers/leaflet/layers/nature-field/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/nature-field/utils.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/nature-field/utils.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/ocean-area/index.d.ts +2 -0
- package/dist/components/layers/leaflet/layers/ocean-area/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/ocean-area/utils.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/ocean-area/utils.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/one-way/index.d.ts +2 -0
- package/dist/components/layers/leaflet/layers/one-way/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/one-way/utils.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/one-way/utils.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/point-address/index.d.ts +2 -0
- package/dist/components/layers/leaflet/layers/point-address/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/point-address/utils.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/point-address/utils.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/railroad/index.d.ts +2 -0
- package/dist/components/layers/leaflet/layers/railroad/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/railroad/utils.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/railroad/utils.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/water-area/index.d.ts +2 -0
- package/dist/components/layers/leaflet/layers/water-area/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/water-area/utils.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/water-area/utils.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/water-link/index.d.ts +2 -0
- package/dist/components/layers/leaflet/layers/water-link/index.d.ts.map +1 -0
- package/dist/components/layers/leaflet/layers/water-link/utils.d.ts +3 -0
- package/dist/components/layers/leaflet/layers/water-link/utils.d.ts.map +1 -0
- package/dist/components/layers/leaflet/leaflet.d.ts +4 -0
- package/dist/components/layers/leaflet/leaflet.d.ts.map +1 -0
- package/dist/components/layers/leaflet/leaflet.stories.d.ts +8 -0
- package/dist/components/layers/leaflet/leaflet.stories.d.ts.map +1 -0
- package/dist/components/layers/leaflet/types.d.ts +148 -0
- package/dist/components/layers/leaflet/types.d.ts.map +1 -0
- package/dist/components/layers/leaflet/utils.d.ts +7 -0
- package/dist/components/layers/leaflet/utils.d.ts.map +1 -0
- package/dist/components/list/index.d.ts +2 -0
- package/dist/components/list/index.d.ts.map +1 -0
- package/dist/components/list/list.d.ts +21 -0
- package/dist/components/list/list.d.ts.map +1 -0
- package/dist/components/list/list.stories.d.ts +11 -0
- package/dist/components/list/list.stories.d.ts.map +1 -0
- package/dist/components/list/stories/constants.d.ts +4 -0
- package/dist/components/list/stories/constants.d.ts.map +1 -0
- package/dist/components/list/stories/types.d.ts +5 -0
- package/dist/components/list/stories/types.d.ts.map +1 -0
- package/dist/components/no-data/index.d.ts +2 -0
- package/dist/components/no-data/index.d.ts.map +1 -0
- package/dist/components/no-data/no-data.d.ts +7 -0
- package/dist/components/no-data/no-data.d.ts.map +1 -0
- package/dist/components/paragraph/index.d.ts +2 -0
- package/dist/components/paragraph/index.d.ts.map +1 -0
- package/dist/components/paragraph/paragraph.d.ts +5 -0
- package/dist/components/paragraph/paragraph.d.ts.map +1 -0
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/select/select.d.ts +16 -0
- package/dist/components/select/select.d.ts.map +1 -0
- package/dist/components/select/select.stories.d.ts +8 -0
- package/dist/components/select/select.stories.d.ts.map +1 -0
- package/dist/components/text-field/index.d.ts +3 -0
- package/dist/components/text-field/index.d.ts.map +1 -0
- package/dist/components/text-field/text-field.d.ts +5 -0
- package/dist/components/text-field/text-field.d.ts.map +1 -0
- package/dist/components/text-field/types.d.ts +3 -0
- package/dist/components/text-field/types.d.ts.map +1 -0
- package/dist/configs/global/constants.d.ts +7 -0
- package/dist/configs/global/constants.d.ts.map +1 -0
- package/dist/configs/global/global.d.ts +18 -0
- package/dist/configs/global/global.d.ts.map +1 -0
- package/dist/configs/global/global.spec.d.ts +2 -0
- package/dist/configs/global/global.spec.d.ts.map +1 -0
- package/dist/configs/global/index.d.ts +3 -0
- package/dist/configs/global/index.d.ts.map +1 -0
- package/dist/configs/global/types.d.ts +5 -0
- package/dist/configs/global/types.d.ts.map +1 -0
- package/dist/configs/index.d.ts +2 -0
- package/dist/configs/index.d.ts.map +1 -0
- package/dist/constants/api.d.ts +7 -0
- package/dist/constants/api.d.ts.map +1 -0
- package/dist/constants/index.d.ts +4 -0
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/constants/map.d.ts +7 -0
- package/dist/constants/map.d.ts.map +1 -0
- package/dist/constants/url.d.ts +2 -0
- package/dist/constants/url.d.ts.map +1 -0
- package/dist/index.cjs +661 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +13 -13
- package/dist/index.esm.js.map +1 -1
- package/dist/services/api/api.service.d.ts +27 -0
- package/dist/services/api/api.service.d.ts.map +1 -0
- package/dist/services/api/index.d.ts +2 -0
- package/dist/services/api/index.d.ts.map +1 -0
- package/dist/services/index.d.ts +2 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/setupTests.d.ts +1 -0
- package/dist/setupTests.d.ts.map +1 -0
- package/dist/types/__test__.d.ts +5 -0
- package/dist/types/__test__.d.ts.map +1 -0
- package/dist/types/global.d.ts +4 -0
- package/dist/types/global.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/delete/delete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAc/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAW5C,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA0E7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { DeleteButton } from '.';
|
|
3
|
+
declare const meta: Meta<typeof DeleteButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const WithNotification: Story;
|
|
8
|
+
//# sourceMappingURL=delete.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/delete/delete.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,MAAM,GAAG,CAAC;AAEjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAYnC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAS9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/delete/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/delete/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,MAAM,IAAI,CAAC;IAErB,YAAY,CAAC,EAAE;QACb,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;CACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/edit/edit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAUzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { EditButton } from '.';
|
|
3
|
+
declare const meta: Meta<typeof EditButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=edit.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/edit/edit.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC;AAE/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAUjC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/edit/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/edit/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
2
|
+
import { Path } from 'react-hook-form';
|
|
3
|
+
type Props<T> = CheckboxProps & {
|
|
4
|
+
name: Path<T>;
|
|
5
|
+
label?: string;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Основной компонент для boolean полей в приложениях.
|
|
9
|
+
*
|
|
10
|
+
* @param {Path<T>} name Название поле в форме
|
|
11
|
+
* @param {string} label Заголовок поля
|
|
12
|
+
* @param {CheckboxProps} props Additional props to pass to the checkbox component.
|
|
13
|
+
*/
|
|
14
|
+
declare function CustomCheckbox<T extends object>({ label, name, ...props }: Props<T>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default CustomCheckbox;
|
|
16
|
+
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.tsx"],"names":[],"mappings":"AACA,OAAiB,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGjE,OAAO,EAAc,IAAI,EAA6B,MAAM,iBAAiB,CAAC;AAe9E,KAAK,KAAK,CAAC,CAAC,IAAI,aAAa,GAAG;IAC9B,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;;;GAMG;AACH,iBAAS,cAAc,CAAC,CAAC,SAAS,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC,2CAmD5E;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Checkbox } from '.';
|
|
3
|
+
declare const meta: Meta<typeof Checkbox>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const WithNoLabel: Story;
|
|
8
|
+
//# sourceMappingURL=checkbox.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.stories.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAE,QAAQ,EAAE,MAAM,GAAG,CAAC;AAE7B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAO/B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAgBrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAgBzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAE7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drag-list.d.ts","sourceRoot":"","sources":["../../../src/components/drag-list/drag-list.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,iBAAS,QAAQ,CAAC,CAAC,EAAE,EACnB,KAAK,EACL,OAAO,EACP,KAAK,EACL,SAAS,EACT,EAAE,EACF,KAAK,EACL,WAAW,GACZ,EAAE,aAAa,CAAC,CAAC,CAAC,2CA4ClB;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { DragList } from '.';
|
|
3
|
+
type ComponentType = typeof DragList;
|
|
4
|
+
declare const meta: Meta<ComponentType>;
|
|
5
|
+
type Story = StoryObj<ComponentType>;
|
|
6
|
+
export declare const Base: Story;
|
|
7
|
+
export default meta;
|
|
8
|
+
//# sourceMappingURL=drag-list.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drag-list.stories.d.ts","sourceRoot":"","sources":["../../../src/components/drag-list/drag-list.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAOvD,OAAO,EAAE,QAAQ,EAAE,MAAM,GAAG,CAAC;AAE7B,KAAK,aAAa,GAAG,OAAO,QAAQ,CAAC;AAErC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,aAAa,CAG7B,CAAC;AAEF,KAAK,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAC;AAmBrC,eAAO,MAAM,IAAI,EAAE,KAmClB,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"draggable.d.ts","sourceRoot":"","sources":["../../../../src/components/drag-list/draggable/draggable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAgChE,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/drag-list/draggable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/drag-list/draggable/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,cAAc,CAAC;IAEnB,EAAE,CAAC,EAAE;QACH,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC;CACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"droppable.d.ts","sourceRoot":"","sources":["../../../../src/components/drag-list/droppable/droppable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAiBhE,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/drag-list/droppable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/drag-list/droppable/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,cAAc,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/drag-list/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { StringOrNumber } from '@/types';
|
|
2
|
+
import { List } from '../list';
|
|
3
|
+
import Draggable from './draggable';
|
|
4
|
+
export type DragListProps<T> = Pick<React.ComponentProps<typeof List>, 'sx' | 'title'> & {
|
|
5
|
+
items: T[];
|
|
6
|
+
getItem: (item: T, index: number) => React.ReactNode;
|
|
7
|
+
getId: (item: T) => StringOrNumber;
|
|
8
|
+
onDragEnd: (items: T[]) => void;
|
|
9
|
+
draggableSx?: React.ComponentProps<typeof Draggable>['sx'];
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/drag-list/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,IAAI,CACjC,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,EACjC,IAAI,GAAG,OAAO,CACf,GAAG;IACF,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IAErD,KAAK,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,cAAc,CAAC;IACnC,SAAS,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IAEhC,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;CAC5D,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
2
|
+
import { FieldValues, SubmitHandler, UseFormReturn } from 'react-hook-form';
|
|
3
|
+
interface CustomFormProp<T extends FieldValues> {
|
|
4
|
+
form: UseFormReturn<T>;
|
|
5
|
+
onSubmit: SubmitHandler<T>;
|
|
6
|
+
sx?: SxProps;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Используем этот компонент как основную обертку для формы
|
|
10
|
+
* Все поля должны хранится при инициализации формы и быть доступны через контекст формы
|
|
11
|
+
* @template T - Интрефейс данных формы.
|
|
12
|
+
* @param {React.ReactNode} children - Все компоненты, которым нужен контекст фор.
|
|
13
|
+
* @param {UseFormReturn<T>} form - Форма useForm, которая содержит все поля.
|
|
14
|
+
* @param {SxProps} [sx={}] - Опциональные стили самой формы.
|
|
15
|
+
* @param {SubmitHandler<T>} onSubmit - Функция обработки отправки формы.
|
|
16
|
+
*
|
|
17
|
+
* @returns {JSX.Element} The rendered form component with form context.
|
|
18
|
+
*/
|
|
19
|
+
declare function CustomForm<T extends FieldValues>({ form, sx, onSubmit, children, }: React.PropsWithChildren<CustomFormProp<T>>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export default CustomForm;
|
|
21
|
+
//# sourceMappingURL=form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/components/form/form.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,OAAO,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EACL,WAAW,EAEX,aAAa,EACb,aAAa,EACd,MAAM,iBAAiB,CAAC;AAEzB,UAAU,cAAc,CAAC,CAAC,SAAS,WAAW;IAC5C,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAEvB,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAE3B,EAAE,CAAC,EAAE,OAAO,CAAC;CACd;AAED;;;;;;;;;;GAUG;AACH,iBAAS,UAAU,CAAC,CAAC,SAAS,WAAW,EAAE,EACzC,IAAI,EACJ,EAAO,EACP,QAAQ,EACR,QAAQ,GACT,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,2CAmB5C;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Form } from '.';
|
|
3
|
+
type FormType = typeof Form;
|
|
4
|
+
declare const meta: Meta<FormType>;
|
|
5
|
+
type Story = StoryObj<FormType>;
|
|
6
|
+
export declare const Base: Story;
|
|
7
|
+
export default meta;
|
|
8
|
+
//# sourceMappingURL=form.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.stories.d.ts","sourceRoot":"","sources":["../../../src/components/form/form.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAMvD,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC;AAEzB,KAAK,QAAQ,GAAG,OAAO,IAAI,CAAC;AAE5B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,QAAQ,CAGxB,CAAC;AAOF,KAAK,KAAK,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAEhC,eAAO,MAAM,IAAI,EAAE,KAwDlB,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/form/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFormContext.d.ts","sourceRoot":"","sources":["../../../../src/components/form/hooks/useFormContext.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,kIAI1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './list';
|
|
2
|
+
export * from './no-data';
|
|
3
|
+
export * from './buttons';
|
|
4
|
+
export * from './checkbox';
|
|
5
|
+
export * from './form';
|
|
6
|
+
export * from './select';
|
|
7
|
+
export * from './input';
|
|
8
|
+
export * from './drag-list';
|
|
9
|
+
export * from './layers';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/components/input/input.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,iBAAS,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,2CAyCjD;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/input/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,oBAAoB,GAAG;IACvD,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;CACf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layers/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TangramCustomLayer, TangramSourceNames } from './types';
|
|
2
|
+
export declare const tile_size = 256;
|
|
3
|
+
export declare const sourceUrl: {
|
|
4
|
+
[K in TangramSourceNames]: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const getRoadPolyLayers: (source: TangramSourceNames) => TangramCustomLayer[];
|
|
7
|
+
export declare const getLaneMarkingPolyLayers: (source: TangramSourceNames) => TangramCustomLayer[];
|
|
8
|
+
export declare const getLaneMarkingLineLayers: (source: TangramSourceNames) => TangramCustomLayer[];
|
|
9
|
+
export declare const getLaneMarkingPointLayers: (source: TangramSourceNames) => TangramCustomLayer[];
|
|
10
|
+
export declare const getParkingLineLayers: (source: TangramSourceNames) => TangramCustomLayer[];
|
|
11
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/layers/leaflet/constants.ts"],"names":[],"mappings":"AAIA,OAAO,EAAa,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE5E,eAAO,MAAM,SAAS,MAAM,CAAC;AAE7B,eAAO,MAAM,SAAS,EAAE;KACrB,CAAC,IAAI,kBAAkB,GAAG,MAAM;CAMlC,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,QAAQ,kBAAkB,yBA2F3D,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,QAAQ,kBAAkB,yBAiClE,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,QAAQ,kBAAkB,yBA8HlE,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,QAAQ,kBAAkB,yBA+BnE,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,QAAQ,kBAAkB,yBAwB9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Nullable } from '@/types';
|
|
2
|
+
import { TangramCustomLayer, TangramEventConfig, TangramLeafletLayer, TangramScene, TangramSourceConfig } from '../types';
|
|
3
|
+
export declare const useGetLeafletLayer: () => {
|
|
4
|
+
layer: Nullable<TangramLeafletLayer>;
|
|
5
|
+
scene: Nullable<TangramScene>;
|
|
6
|
+
config: Nullable<TangramEventConfig>;
|
|
7
|
+
addSource: (sourceConfig: TangramSourceConfig) => string[] | undefined;
|
|
8
|
+
getSource: (sourceName: TangramSourceConfig["name"]) => {
|
|
9
|
+
tile_size: number;
|
|
10
|
+
type: string;
|
|
11
|
+
url: string;
|
|
12
|
+
} | undefined;
|
|
13
|
+
updateSource: (sourceName: TangramSourceConfig["name"], newUrl: TangramSourceConfig["url"]) => string[] | undefined;
|
|
14
|
+
addLayer: (layer: TangramCustomLayer) => string[] | undefined;
|
|
15
|
+
removeLayer: (layer: TangramCustomLayer) => string[] | undefined;
|
|
16
|
+
addStyle: ({ name, style }: {
|
|
17
|
+
name: string;
|
|
18
|
+
style: object;
|
|
19
|
+
}) => void;
|
|
20
|
+
getLayerVisibility: (layer: TangramCustomLayer) => boolean | undefined;
|
|
21
|
+
toggleLayerVisibility: ({ layer, visible }: {
|
|
22
|
+
layer: TangramCustomLayer;
|
|
23
|
+
visible: boolean;
|
|
24
|
+
}) => boolean | undefined;
|
|
25
|
+
getSources: () => string[];
|
|
26
|
+
getLayers: () => string[];
|
|
27
|
+
removeLayers: () => never[] | undefined;
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=useGetLeafletLayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetLeafletLayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/hooks/useGetLeafletLayer.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGnC,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,mBAAmB,EAEpB,MAAM,UAAU,CAAC;AAGlB,eAAO,MAAM,kBAAkB;;;;8BA0BZ,mBAAmB;4BAwBrB,mBAAmB,CAAC,MAAM,CAAC;;;;;+BAa1B,mBAAmB,CAAC,MAAM,CAAC,UAC/B,mBAAmB,CAAC,KAAK,CAAC;sBAwB5B,kBAAkB;yBA+ClB,kBAAkB;gCA2BR;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE;gCAqBzC,kBAAkB;gDAgBL;QAAE,KAAK,EAAE,kBAAkB,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE;;;;CA4MvE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layers/leaflet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,WAAW,CAAC;AACpD,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const text_source = "function() {\n const { poi_name, cat_id } = feature;\n\n switch (+cat_id) {\n case 4100: {\n const text = poi_name.replaceAll(/(\u041C\u0435\u0442\u0440\u043E-|\u0421\u0442\u0430\u043D\u0446\u0438\u044F-|\u041C\u0426\u0414-)/g, \"\");\n\n return text;\n }\n\n default: {\n return poi_name;\n }\n }\n}";
|
|
2
|
+
export declare const catIds: number[];
|
|
3
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/POI/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,+UActB,CAAC;AAEH,eAAO,MAAM,MAAM,UAGlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/POI/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LayerProps, TangramCustomLayer, TangramPointLayer, TangramSourceNames } from '@/components/layers/leaflet';
|
|
2
|
+
export declare const getDefaultPOI: (cat_id: number) => {
|
|
3
|
+
[x: string]: LayerProps;
|
|
4
|
+
};
|
|
5
|
+
export declare const getPOITypeLayer: (texture: string) => TangramPointLayer;
|
|
6
|
+
export declare const getPOILayers: (source: TangramSourceNames) => TangramCustomLayer[];
|
|
7
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/POI/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAIrC,eAAO,MAAM,aAAa,GAAI,QAAQ,MAAM;;CAsI3C,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,SAAS,MAAM,sBAS9C,CAAC;AAUF,eAAO,MAAM,YAAY,GAAI,QAAQ,kBAAkB,yBA8BtD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/admin-area/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,qBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/admin-area/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/admin-area/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAIrC,eAAO,MAAM,kBAAkB,GAAI,QAAQ,kBAAkB,yBAwE5D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/building/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/building/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,iBAAiB,GAAI,QAAQ,kBAAkB,yBA+C3D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/builtup-area/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/builtup-area/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,oBAAoB,GAAI,QAAQ,kBAAkB,yBAuB9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/city-POI/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|