@mapcomponents/ra-geospatial 1.5.3 → 1.5.4-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/.babelrc +12 -0
  2. package/.storybook/main.ts +25 -0
  3. package/.storybook/manager.js +6 -0
  4. package/.storybook/mapcomponents_logo.png +0 -0
  5. package/.storybook/preview.ts +27 -0
  6. package/.storybook/style.css +20 -0
  7. package/.storybook/wheregroupTheme.js +9 -0
  8. package/README.md +1 -2
  9. package/assets/ra_geospatial_screenshots.png +0 -0
  10. package/dist/README.md +74 -0
  11. package/dist/components/GeospatialInput.d.ts +9 -0
  12. package/dist/components/GeospatialInput.d.ts.map +1 -0
  13. package/dist/components/GeospatialInputMap.d.ts +18 -0
  14. package/dist/components/GeospatialInputMap.d.ts.map +1 -0
  15. package/dist/components/GeospatialShow.d.ts +9 -0
  16. package/dist/components/GeospatialShow.d.ts.map +1 -0
  17. package/dist/components/GeospatialShowMap.d.ts +11 -0
  18. package/dist/components/GeospatialShowMap.d.ts.map +1 -0
  19. package/dist/contexts/DataContext.d.ts +4 -0
  20. package/dist/contexts/DataContext.d.ts.map +1 -0
  21. package/dist/contexts/dataProvider.d.ts +35 -0
  22. package/dist/contexts/dataProvider.d.ts.map +1 -0
  23. package/dist/contexts/lsDataProvider.d.ts +44 -0
  24. package/dist/contexts/lsDataProvider.d.ts.map +1 -0
  25. package/dist/decorators/ReactAdminDefaultDecorator.d.ts +3 -0
  26. package/dist/decorators/ReactAdminDefaultDecorator.d.ts.map +1 -0
  27. package/dist/favicon.ico +0 -0
  28. package/dist/html2canvas.esm-CUkZERmf.cjs +23 -0
  29. package/dist/html2canvas.esm-CUkZERmf.cjs.map +1 -0
  30. package/dist/html2canvas.esm-Dmi1NfiH.js +4872 -0
  31. package/dist/html2canvas.esm-Dmi1NfiH.js.map +1 -0
  32. package/dist/index-BYtSitNR.js +61509 -0
  33. package/dist/index-BYtSitNR.js.map +1 -0
  34. package/dist/index-DD78QbMh.cjs +1222 -0
  35. package/dist/index-DD78QbMh.cjs.map +1 -0
  36. package/dist/index.cjs +2 -0
  37. package/dist/index.cjs.map +1 -0
  38. package/dist/index.css +1 -0
  39. package/dist/index.d.ts +3 -0
  40. package/dist/index.d.ts.map +1 -0
  41. package/dist/index.es-DBcuOIG0.js +6675 -0
  42. package/dist/index.es-DBcuOIG0.js.map +1 -0
  43. package/dist/index.es-YxBXdzDQ.cjs +19 -0
  44. package/dist/index.es-YxBXdzDQ.cjs.map +1 -0
  45. package/dist/index.js +6 -0
  46. package/dist/index.js.map +1 -0
  47. package/dist/layout/GisLayout.d.ts +6 -0
  48. package/dist/layout/GisLayout.d.ts.map +1 -0
  49. package/dist/logo.png +0 -0
  50. package/dist/manifest.json +25 -0
  51. package/dist/package.json +24 -0
  52. package/dist/purify.es-D1I7B1hP.cjs +3 -0
  53. package/dist/purify.es-D1I7B1hP.cjs.map +1 -0
  54. package/dist/purify.es-DHbHSKL1.js +529 -0
  55. package/dist/purify.es-DHbHSKL1.js.map +1 -0
  56. package/dist/ra_components/Poi.d.ts +5 -0
  57. package/dist/ra_components/Poi.d.ts.map +1 -0
  58. package/dist/ra_components/Property.d.ts +5 -0
  59. package/dist/ra_components/Property.d.ts.map +1 -0
  60. package/dist/ra_components/Route.d.ts +5 -0
  61. package/dist/ra_components/Route.d.ts.map +1 -0
  62. package/dist/ra_components/raGeospatialProps.d.ts +12 -0
  63. package/dist/ra_components/raGeospatialProps.d.ts.map +1 -0
  64. package/dist/ra_components/raGeospatialWebGisProps.d.ts +12 -0
  65. package/dist/ra_components/raGeospatialWebGisProps.d.ts.map +1 -0
  66. package/eslint.config.cjs +3 -0
  67. package/index.html +16 -0
  68. package/package.json +23 -42
  69. package/project.json +14 -0
  70. package/public/favicon.ico +0 -0
  71. package/public/logo.png +0 -0
  72. package/public/manifest.json +25 -0
  73. package/src/components/GeospatialInput.stories.tsx +83 -0
  74. package/src/components/GeospatialInput.tsx +14 -17
  75. package/src/components/GeospatialInputMap.tsx +172 -165
  76. package/src/components/GeospatialShow.stories.tsx +84 -0
  77. package/src/components/GeospatialShow.tsx +14 -17
  78. package/src/components/GeospatialShowMap.tsx +53 -58
  79. package/src/contexts/DataContext.jsx +66 -0
  80. package/src/contexts/dataProvider.tsx +30 -0
  81. package/src/contexts/lsDataProvider.js +138 -0
  82. package/src/decorators/ReactAdminDefaultDecorator.tsx +40 -0
  83. package/src/index.ts +2 -2
  84. package/src/layout/GisLayout.jsx +90 -0
  85. package/src/ra_components/Poi.tsx +42 -0
  86. package/src/ra_components/Property.tsx +42 -0
  87. package/src/ra_components/Route.tsx +42 -0
  88. package/src/ra_components/raGeospatialProps.ts +5 -0
  89. package/src/ra_components/raGeospatialWebGisProps.ts +5 -0
  90. package/src/types.d.ts +3 -2
  91. package/tsconfig.json +7 -101
  92. package/tsconfig.lib.json +29 -0
  93. package/vite.config.ts +58 -0
  94. package/dist/index.esm.js +0 -157
  95. package/dist/index.esm.js.map +0 -1
  96. package/rollup.config.js +0 -50
package/.babelrc ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "presets": [
3
+ [
4
+ "@nx/react/babel",
5
+ {
6
+ "runtime": "automatic",
7
+ "useBuiltIns": "usage"
8
+ }
9
+ ]
10
+ ],
11
+ "plugins": []
12
+ }
@@ -0,0 +1,25 @@
1
+ import { dirname, join } from 'node:path';
2
+ import type { StorybookConfig } from '@storybook/react-vite';
3
+
4
+ const config: StorybookConfig = {
5
+ stories: ['../src/**/*.@(mdx|stories.@(js|jsx|ts|tsx))'],
6
+ framework: {
7
+ name: getAbsolutePath("@storybook/react-vite"),
8
+ options: {
9
+ builder: {
10
+ viteConfigPath: 'vite.config.ts',
11
+ },
12
+ },
13
+ },
14
+ staticDirs: ['../public'],
15
+ };
16
+
17
+ export default config;
18
+
19
+ // To customize your Vite configuration you can use the viteFinal field.
20
+ // Check https://storybook.js.org/docs/react/builders/vite#configuration
21
+ // and https://nx.dev/recipes/storybook/custom-builder-configs
22
+
23
+ function getAbsolutePath(value: string): any {
24
+ return dirname(require.resolve(join(value, "package.json")));
25
+ }
@@ -0,0 +1,6 @@
1
+ import { addons } from "@storybook/addons";
2
+ import wheregroupTheme from "./wheregroupTheme";
3
+
4
+ addons.setConfig({
5
+ theme: wheregroupTheme,
6
+ });
@@ -0,0 +1,27 @@
1
+ import './style.css';
2
+
3
+ export const parameters = {
4
+ docs: {
5
+ inlineStories: false,
6
+ },
7
+ actions: { argTypesRegex: '^on[A-Z].*' },
8
+
9
+ };
10
+
11
+ export const globalTypes = {
12
+ theme: {
13
+ name: 'Theme',
14
+ title: 'Theme',
15
+ description: 'Theme for your components',
16
+ defaultValue: 'light',
17
+ toolbar: {
18
+ icon: 'paintbrush',
19
+ dynamicTitle: true,
20
+ items: [
21
+ { value: 'light', left: '☀️', title: 'Light mode' },
22
+ { value: 'dark', left: '🌙', title: 'Dark mode' },
23
+ ],
24
+ },
25
+ },
26
+ };
27
+ export const tags = ['autodocs'];
@@ -0,0 +1,20 @@
1
+ .docs-story > div:first-child{
2
+ z-index:0;
3
+ }
4
+
5
+ .docs-story > div > div:first-child, .innerZoomElementWrapper, .innerZoomElementWrapper > div:first-child, .innerZoomElementWrapper > div:first-child > div:first-child{
6
+
7
+ position: absolute;
8
+ top: 0;
9
+ bottom: 0;
10
+ left: 0;
11
+ right: 0;
12
+ }
13
+
14
+ .docs-story > div > div:first-child{
15
+ height: initial;
16
+ }
17
+
18
+ .innerZoomElementWrapper > div > div > div:first-child{
19
+ height: 100% !important;
20
+ }
@@ -0,0 +1,9 @@
1
+ import { create } from 'storybook/theming';
2
+ import logo from './mapcomponents_logo.png';
3
+
4
+ export default create({
5
+ base: 'light',
6
+ brandTitle: 'WhereGroup GmbH',
7
+ brandUrl: 'https://wheregroup.com',
8
+ brandImage: logo,
9
+ });
package/README.md CHANGED
@@ -4,7 +4,6 @@
4
4
 
5
5
  [![npm version](https://badge.fury.io/js/@mapcomponents%2Fra-geospatial.svg)](https://badge.fury.io/js/@mapcomponents%2Fra-geospatial) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) ![downloads](https://img.shields.io/npm/dt/@mapcomponents%2Fra-geospatial.svg) ![downloads](https://img.shields.io/npm/dm/@mapcomponents%2Fra-geospatial.svg)
6
6
 
7
-
8
7
  Input and view components to work with geospatial data in react admin. This package is based on @mapcomponents/react-maplibre and uses MapLibre-gl to display geospatial data on a map.
9
8
 
10
9
  ![RaGeospatialInput & RaGeospatialShow](https://github.com/mapcomponents/ra-geospatial/blob/main/assets/ra_geospatial_screenshots.png?raw=true)
@@ -72,4 +71,4 @@ export const PoiShow = () => (
72
71
  </SimpleShowLayout>
73
72
  </Show>
74
73
  );
75
- ```
74
+ ```
package/dist/README.md ADDED
@@ -0,0 +1,74 @@
1
+ <img src="https://avatars.githubusercontent.com/u/64851912" alt="MapComponents logo" width="80"/>
2
+
3
+ # @mapcomponents/ra-geospatial
4
+
5
+ [![npm version](https://badge.fury.io/js/@mapcomponents%2Fra-geospatial.svg)](https://badge.fury.io/js/@mapcomponents%2Fra-geospatial) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) ![downloads](https://img.shields.io/npm/dt/@mapcomponents%2Fra-geospatial.svg) ![downloads](https://img.shields.io/npm/dm/@mapcomponents%2Fra-geospatial.svg)
6
+
7
+ Input and view components to work with geospatial data in react admin. This package is based on @mapcomponents/react-maplibre and uses MapLibre-gl to display geospatial data on a map.
8
+
9
+ ![RaGeospatialInput & RaGeospatialShow](https://github.com/mapcomponents/ra-geospatial/blob/main/assets/ra_geospatial_screenshots.png?raw=true)
10
+
11
+ RaGeospatialInput & RaGeospatialShow used to edit a polygon geometry in a react-admin application.
12
+
13
+ ## Demos
14
+
15
+ - [react admin & mapcomponents Demo](https://cioddi.github.io/mc-react-admin-apps/react-admin-demo)
16
+ - [webGIS Demo (embeddedMap: false)](https://cioddi.github.io/mc-react-admin-apps/webgis-demo)
17
+
18
+ ## Installation
19
+
20
+ ```bash
21
+ yarn add @mapcomponents/ra-geospatial
22
+ ```
23
+
24
+ ## Exports
25
+
26
+ ### RaGeospatialInput
27
+
28
+ Input component to edit or create geospatial data.
29
+
30
+ ### RaGeospatialShow
31
+
32
+ Show component to display geospatial data.
33
+
34
+ #### Props
35
+
36
+ - **embeddedMap**: boolean (default: false) - If true, the map will be embedded in the component. If false, the component will not create it's own MapContext and add a MapLibreMap component but instead expect a MapContext and a MapLibreMap component to be present in the parent component.
37
+
38
+ ## Examples
39
+
40
+ ```JSX
41
+ import {
42
+ RaGeospatialInput,
43
+ RaGeospatialShow,
44
+ } from "@mapcomponents/ra-geospatial";
45
+
46
+ export const PoiEdit = () => (
47
+ <Edit>
48
+ <SimpleForm>
49
+ <TextInput source="title" />
50
+ <TextInput source="geom" />
51
+ <RaGeospatialInput source="geom" />
52
+ </SimpleForm>
53
+ </Edit>
54
+ );
55
+ export const PoiCreate = () => (
56
+ <Create>
57
+ <SimpleForm>
58
+ <TextInput source="title" />
59
+ <TextInput source="geom" />
60
+ <RaGeospatialInput source="geom" />
61
+ </SimpleForm>
62
+ </Create>
63
+ );
64
+
65
+ export const PoiShow = () => (
66
+ <Show>
67
+ <SimpleShowLayout>
68
+ <TextField source="id" />
69
+ <TextField source="title" />
70
+ <RaGeospatialShow source="geom" />
71
+ </SimpleShowLayout>
72
+ </Show>
73
+ );
74
+ ```
@@ -0,0 +1,9 @@
1
+ import { GeospatialInputMapProps } from './GeospatialInputMap.js';
2
+ declare function GeospatialInput(props: GeospatialInputMapProps): import("react/jsx-runtime").JSX.Element;
3
+ declare namespace GeospatialInput {
4
+ var defaultProps: {
5
+ embeddedMap: boolean;
6
+ };
7
+ }
8
+ export default GeospatialInput;
9
+ //# sourceMappingURL=GeospatialInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GeospatialInput.d.ts","sourceRoot":"","sources":["../../src/components/GeospatialInput.tsx"],"names":[],"mappings":"AACA,OAA2B,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAEtF,iBAAS,eAAe,CAAC,KAAK,EAAE,uBAAuB,2CAYtD;kBAZQ,eAAe;;;;;AAiBxB,eAAe,eAAe,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { default as React } from 'react';
2
+ import { InputProps } from 'react-admin';
3
+ import { MapLibreMap } from '@mapcomponents/react-maplibre';
4
+ export interface GeospatialInputMapProps extends InputProps<any> {
5
+ MapLibreMapProps?: React.ComponentProps<typeof MapLibreMap>;
6
+ geometrytype?: 'point' | 'line' | 'polygon';
7
+ embeddedMap?: boolean;
8
+ mapId?: string;
9
+ }
10
+ declare function GeospatialInputMap(props: GeospatialInputMapProps): import("react/jsx-runtime").JSX.Element;
11
+ declare namespace GeospatialInputMap {
12
+ var defaultProps: {
13
+ type: string;
14
+ embeddedMap: boolean;
15
+ };
16
+ }
17
+ export default GeospatialInputMap;
18
+ //# sourceMappingURL=GeospatialInputMap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GeospatialInputMap.d.ts","sourceRoot":"","sources":["../../src/components/GeospatialInputMap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,UAAU,EAA8B,MAAM,aAAa,CAAC;AAGrE,OAAO,EACN,WAAW,EAIX,MAAM,+BAA+B,CAAC;AAMvC,MAAM,WAAW,uBAAwB,SAAQ,UAAU,CAAC,GAAG,CAAC;IAC/D,gBAAgB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;IAC5D,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IAC5C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED,iBAAS,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,2CA6JzD;kBA7JQ,kBAAkB;;;;;;AAoK3B,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { GeospatialShowMapProps } from './GeospatialShowMap.js';
2
+ declare function GeospatialShow(props: GeospatialShowMapProps): import("react/jsx-runtime").JSX.Element;
3
+ declare namespace GeospatialShow {
4
+ var defaultProps: {
5
+ embeddedMap: boolean;
6
+ };
7
+ }
8
+ export default GeospatialShow;
9
+ //# sourceMappingURL=GeospatialShow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GeospatialShow.d.ts","sourceRoot":"","sources":["../../src/components/GeospatialShow.tsx"],"names":[],"mappings":"AACA,OAAwB,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEjF,iBAAS,cAAc,CAAC,KAAK,EAAE,sBAAsB,2CAYpD;kBAZQ,cAAc;;;;;AAiBvB,eAAe,cAAc,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { InputProps } from 'react-admin';
3
+ import { MapLibreMap } from '@mapcomponents/react-maplibre';
4
+ export interface GeospatialShowMapProps extends InputProps<any> {
5
+ MapLibreMapProps?: React.ComponentProps<typeof MapLibreMap>;
6
+ embeddedMap?: boolean;
7
+ mapId?: string;
8
+ }
9
+ declare function GeospatialShowMap(props: GeospatialShowMapProps): import("react/jsx-runtime").JSX.Element;
10
+ export default GeospatialShowMap;
11
+ //# sourceMappingURL=GeospatialShowMap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GeospatialShowMap.d.ts","sourceRoot":"","sources":["../../src/components/GeospatialShowMap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,UAAU,EAAoB,MAAM,aAAa,CAAC;AAE3D,OAAO,EAAE,WAAW,EAA0B,MAAM,+BAA+B,CAAC;AAKpF,MAAM,WAAW,sBAAuB,SAAQ,UAAU,CAAC,GAAG,CAAC;IAC9D,gBAAgB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;IAC5D,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED,iBAAS,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAoDvD;AAED,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ export default function DataContextProvider(props: any): import("react/jsx-runtime").JSX.Element;
3
+ export const DataContext: React.Context<any>;
4
+ //# sourceMappingURL=DataContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataContext.d.ts","sourceRoot":"","sources":["../../src/contexts/DataContext.jsx"],"names":[],"mappings":"AAOA,iGA0DC;AA5DD,6CAAiD;kBALN,OAAO"}
@@ -0,0 +1,35 @@
1
+ export declare const defaultData: {
2
+ pois: {
3
+ id: number;
4
+ title: string;
5
+ geom: string;
6
+ }[];
7
+ properties: {
8
+ id: number;
9
+ title: string;
10
+ geom: string;
11
+ }[];
12
+ routes: {
13
+ id: number;
14
+ title: string;
15
+ geom: string;
16
+ }[];
17
+ };
18
+ export declare const dataProvider: {
19
+ getList: (resource: any, params: any) => Promise<import('react-admin').GetListResult<any> | {
20
+ data: never[];
21
+ total: number;
22
+ }>;
23
+ getOne: (resource: any, params: any) => Promise<import('react-admin').GetOneResult<any>>;
24
+ getMany: (resource: any, params: any) => Promise<import('react-admin').GetManyResult<any>>;
25
+ getManyReference: (resource: any, params: any) => Promise<import('react-admin').GetManyReferenceResult<any> | {
26
+ data: never[];
27
+ total: number;
28
+ }>;
29
+ update: (resource: any, params: any) => Promise<import('react-admin').UpdateResult<any>>;
30
+ updateMany: (resource: any, params: any) => Promise<import('react-admin').UpdateManyResult<any>>;
31
+ create: (resource: any, params: any) => Promise<import('react-admin').CreateResult<any>>;
32
+ delete: (resource: any, params: any) => Promise<import('react-admin').DeleteResult<any>>;
33
+ deleteMany: (resource: any, params: any) => Promise<import('react-admin').DeleteManyResult<any>>;
34
+ };
35
+ //# sourceMappingURL=dataProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataProvider.d.ts","sourceRoot":"","sources":["../../src/contexts/dataProvider.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;CAsBvB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;CAGvB,CAAC"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Respond to react-admin data queries using a local database persisted in localStorage
3
+ *
4
+ * Useful for local-first web apps. The storage is shared between tabs.
5
+ *
6
+ * @example // initialize with no data
7
+ *
8
+ * import localStorageDataProvider from 'ra-data-local-storage';
9
+ * const dataProvider.tsx = localStorageDataProvider();
10
+ *
11
+ * @example // initialize with default data (will be ignored if data has been modified by user)
12
+ *
13
+ * import localStorageDataProvider from 'ra-data-local-storage';
14
+ * const dataProvider.tsx = localStorageDataProvider({
15
+ * defaultData: {
16
+ * posts: [
17
+ * { id: 0, title: 'Hello, world!' },
18
+ * { id: 1, title: 'FooBar' },
19
+ * ],
20
+ * comments: [
21
+ * { id: 0, post_id: 0, author: 'John Doe', body: 'Sensational!' },
22
+ * { id: 1, post_id: 0, author: 'Jane Doe', body: 'I agree' },
23
+ * ],
24
+ * }
25
+ * });
26
+ */
27
+ export default function localStorageDataProvider(params: any): {
28
+ getList: (resource: any, params: any) => Promise<import('react-admin').GetListResult<any> | {
29
+ data: never[];
30
+ total: number;
31
+ }>;
32
+ getOne: (resource: any, params: any) => Promise<import('react-admin').GetOneResult<any>>;
33
+ getMany: (resource: any, params: any) => Promise<import('react-admin').GetManyResult<any>>;
34
+ getManyReference: (resource: any, params: any) => Promise<import('react-admin').GetManyReferenceResult<any> | {
35
+ data: never[];
36
+ total: number;
37
+ }>;
38
+ update: (resource: any, params: any) => Promise<import('react-admin').UpdateResult<any>>;
39
+ updateMany: (resource: any, params: any) => Promise<import('react-admin').UpdateManyResult<any>>;
40
+ create: (resource: any, params: any) => Promise<import('react-admin').CreateResult<any>>;
41
+ delete: (resource: any, params: any) => Promise<import('react-admin').DeleteResult<any>>;
42
+ deleteMany: (resource: any, params: any) => Promise<import('react-admin').DeleteManyResult<any>>;
43
+ };
44
+ //# sourceMappingURL=lsDataProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lsDataProvider.d.ts","sourceRoot":"","sources":["../../src/contexts/lsDataProvider.js"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH;;;;;;;;;;;;;;;;EA4GC"}
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ export declare const ReactAdminDefaultDecorator: (Story: React.ComponentType, context: any) => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=ReactAdminDefaultDecorator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactAdminDefaultDecorator.d.ts","sourceRoot":"","sources":["../../src/decorators/ReactAdminDefaultDecorator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,0BAA0B,GAAI,OAAO,KAAK,CAAC,aAAa,EAAE,SAAS,GAAG,4CAgClF,CAAC"}
Binary file