@smart-factor/gem-ui-map-component 0.0.15 → 0.0.17

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.
@@ -38,10 +38,9 @@ declare class MapService {
38
38
  };
39
39
  };
40
40
  };
41
- createFeatures(featureList: GEMFeature[], style: StyleDefinition, image: GEMVectorLayer['image']): Feature<GeometryOl>[];
42
- createFeature(feature: GEMFeature, style: StyleDefinition, image: GEMVectorLayer['image'], imageScale?: number | null): Feature<GeometryOl>;
41
+ createFeatures(featureList: GEMFeature[], style: StyleDefinition, image: GEMVectorLayer['image'], layerSymbol: string): Feature<GeometryOl>[];
42
+ createFeature(feature: GEMFeature, style: StyleDefinition, image: GEMVectorLayer['image'], layerSymbol: string, imageScale?: number | null): Feature<GeometryOl>;
43
43
  createLayer(style?: StyleDefinition): VectorLayer<VectorSource<Feature<GeometryOl>>, Feature<GeometryOl>>;
44
- createEmptyVectorLayer(layer_symbol: string): VectorLayer<VectorSource<Feature<GeometryOl>>, Feature<GeometryOl>>;
45
44
  createVectorLayer(layer: GEMVectorLayer, type: string, imageScale: number, config?: GEMLayerConfig | WMSLayerConfig): VectorLayer<VectorSource<Feature<GeometryOl>>, Feature<GeometryOl>>;
46
45
  groupWMSServices(layers: WMSLayer[]): GroupedWMSLayer[];
47
46
  processStyle(styleDefinition: StyleDefinition, imageSrc: string | null): Style;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smart-factor/gem-ui-map-component",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "private": false,
5
5
  "description": "Gem UI Map Component",
6
6
  "type": "module",
@@ -13,6 +13,7 @@
13
13
  "types": "./dist/main.d.ts",
14
14
  "scripts": {
15
15
  "build": "tsc && vite build",
16
+ "dev": "vite --config vite.dev.config.ts",
16
17
  "watch": "vite build --watch",
17
18
  "lint": "eslint 'src/**/*.{js,jsx,ts,tsx}' --report-unused-disable-directives --max-warnings 0",
18
19
  "lint:fix": "eslint 'src/**/*.{js,jsx,ts,tsx}' --fix",
@@ -28,47 +29,49 @@
28
29
  "react-dom": "^18.3.1"
29
30
  },
30
31
  "devDependencies": {
32
+ "@eslint/js": "^9.26.0",
31
33
  "@testing-library/dom": "^10.4.0",
32
34
  "@testing-library/jest-dom": "^6.6.3",
33
35
  "@testing-library/react": "^16.0.0",
34
36
  "@testing-library/user-event": "^14.5.2",
37
+ "@types/lodash-es": "^4.17.12",
35
38
  "@types/node": "^20.14.9",
36
39
  "@types/proj4": "^2.5.6",
37
40
  "@types/qs": "^6.9.18",
38
41
  "@types/react": "^18.3.3",
39
42
  "@types/react-dom": "^18.3.0",
40
- "@typescript-eslint/eslint-plugin": "^7.16.1",
41
- "@typescript-eslint/parser": "^7.16.1",
42
43
  "@vitejs/plugin-react": "^4.3.1",
43
44
  "@vitest/coverage-v8": "^2.0.5",
44
45
  "@vitest/ui": "^2.0.5",
45
- "eslint": "^8.57.0",
46
- "eslint-config-prettier": "^9.1.0",
46
+ "eslint": "^9.26.0",
47
47
  "eslint-plugin-react": "^7.34.2",
48
- "eslint-plugin-react-hooks": "^4.6.2",
48
+ "eslint-plugin-react-hooks": "^5.2.0",
49
49
  "eslint-plugin-react-refresh": "^0.4.7",
50
50
  "eslint-plugin-simple-import-sort": "^12.1.1",
51
+ "eslint-plugin-storybook": "^0.12.0",
51
52
  "glob": "10.3.12",
53
+ "globals": "^16.0.0",
52
54
  "jsdom": "^24.1.0",
53
55
  "knip": "^5.43.6",
54
56
  "prettier": "^3.4.2",
55
57
  "react": "^19.0.0",
56
58
  "react-dom": "^19.0.0",
57
59
  "typescript": "5.4.5",
60
+ "typescript-eslint": "^8.32.0",
58
61
  "vite": "^5.3.1",
59
62
  "vite-plugin-dts": "^4.0.0-beta.2",
60
63
  "vite-plugin-lib-inject-css": "2.0.1",
61
64
  "vitest": "^2.0.3"
62
65
  },
63
66
  "dependencies": {
64
- "@emotion/react": "^11.13.0",
65
- "@emotion/styled": "^11.13.0",
66
- "@hookform/resolvers": "^3.9.0",
67
- "@mui/icons-material": "^5.15.21",
68
- "@mui/material": "^5.16.7",
69
- "@mui/system": "^5.16.7",
70
- "@smart-factor/gem-ui-components": "^0.0.57",
71
- "@tanstack/react-query": "^5.49.2",
67
+ "@emotion/react": "^11.14.0",
68
+ "@emotion/styled": "^11.14.0",
69
+ "@hookform/resolvers": "^3.10.0",
70
+ "@mui/icons-material": "^7.0.2",
71
+ "@mui/material": "^7.0.2",
72
+ "@mui/system": "^7.0.2",
73
+ "@smart-factor/gem-ui-components": "^0.0.93",
74
+ "@tanstack/react-query": "^5.75.2",
72
75
  "@turf/bearing": "^7.1.0",
73
76
  "@turf/center": "^7.1.0",
74
77
  "@turf/destination": "^7.1.0",
@@ -82,9 +85,9 @@
82
85
  "ol": "^10.2.1",
83
86
  "proj4": "^2.12.0",
84
87
  "qs": "^6.14.0",
85
- "react-hook-form": "^7.53.0",
88
+ "react-hook-form": "^7.54.2",
86
89
  "react-router-dom": "^6.26.0",
87
- "zod": "^3.23.8"
90
+ "zod": "^3.24.4"
88
91
  },
89
92
  "lint-staged": {
90
93
  "src/**/*.{js,jsx,ts,tsx}": [