@open-pioneer/editing 0.9.0 → 0.10.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/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @open-pioneer/editing
2
2
 
3
+ ## 0.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 193068a: Deprecate the method signatures taking `mapId` on the `EditingService`.
8
+ Use an instance of `MapModel` as a parameter instead.
9
+
10
+ ### Patch Changes
11
+
12
+ - cd1435b: Update ol to 10.5.0
13
+ - 032eed7: Bump dependencies.
14
+ - cd1435b: Update to react 19.1.0
15
+ - Updated dependencies [2bafdad]
16
+ - Updated dependencies [cd1435b]
17
+ - Updated dependencies [193068a]
18
+ - Updated dependencies [032eed7]
19
+ - Updated dependencies [cd1435b]
20
+ - Updated dependencies [7558df4]
21
+ - @open-pioneer/map@0.10.0
22
+
3
23
  ## 0.9.0
4
24
 
5
25
  ### Minor Changes
@@ -15,7 +15,7 @@ export declare class EditingServiceImpl implements EditingService {
15
15
  constructor(serviceOptions: ServiceOptions<References>);
16
16
  createFeature(map: MapModel, ogcApiFeatureLayerUrl: URL): EditingCreateWorkflowImpl;
17
17
  updateFeature(map: MapModel, ogcApiFeatureLayerUrl: URL, feature: Feature): EditingUpdateWorkflowImpl;
18
- stop(mapId: string): void;
19
- reset(mapId: string): void;
18
+ stop(map: string | MapModel): void;
19
+ reset(map: string | MapModel): void;
20
20
  _connectToWorkflowDestroyEvent(workflow: EditingCreateWorkflowImpl | EditingUpdateWorkflowImpl, mapId: string): void;
21
21
  }
@@ -56,13 +56,15 @@ class EditingServiceImpl {
56
56
  this._connectToWorkflowDestroyEvent(workflow, mapId);
57
57
  return workflow;
58
58
  }
59
- stop(mapId) {
59
+ stop(map) {
60
+ const mapId = typeof map === "string" ? map : map.id;
60
61
  const workflow = this._workflows.get(mapId);
61
62
  if (workflow) {
62
63
  workflow.stop();
63
64
  }
64
65
  }
65
- reset(mapId) {
66
+ reset(map) {
67
+ const mapId = typeof map === "string" ? map : map.id;
66
68
  const workflow = this._workflows.get(mapId);
67
69
  if (workflow) {
68
70
  workflow.reset();
@@ -1 +1 @@
1
- {"version":3,"file":"EditingServiceImpl.js","sources":["EditingServiceImpl.ts"],"sourcesContent":["// SPDX-FileCopyrightText: 2023-2025 Open Pioneer project (https://github.com/open-pioneer)\n// SPDX-License-Identifier: Apache-2.0\nimport { MapModel, MapRegistry } from \"@open-pioneer/map\";\nimport { EditingService } from \"./api\";\nimport { EditingCreateWorkflowImpl } from \"./EditingCreateWorkflowImpl\";\nimport { EditingUpdateWorkflowImpl } from \"./EditingUpdateWorkflowImpl\";\nimport { FlatStyle } from \"ol/style/flat\";\nimport { ServiceOptions } from \"@open-pioneer/runtime\";\nimport { HttpService } from \"@open-pioneer/http\";\nimport { Feature } from \"ol\";\nimport { syncWatch } from \"@conterra/reactivity-core\";\n\nexport interface References {\n mapRegistry: MapRegistry;\n httpService: HttpService;\n}\n\nexport class EditingServiceImpl implements EditingService {\n private _serviceOptions: ServiceOptions<References>;\n private _workflows: Map<string, EditingCreateWorkflowImpl | EditingUpdateWorkflowImpl>;\n\n constructor(serviceOptions: ServiceOptions<References>) {\n this._serviceOptions = serviceOptions;\n this._workflows = new Map();\n }\n\n createFeature(map: MapModel, ogcApiFeatureLayerUrl: URL): EditingCreateWorkflowImpl {\n if (!ogcApiFeatureLayerUrl || !map || !map.id) {\n throw new Error(\"Map, mapId or url is undefined.\");\n }\n\n const mapId = map.id;\n\n let workflow = this._workflows.get(mapId);\n if (workflow) {\n throw new Error(\n \"EditingWorkflow could not be started. EditingWorkflow already in progress for this map.\"\n );\n }\n\n workflow = new EditingCreateWorkflowImpl({\n map,\n ogcApiFeatureLayerUrl,\n polygonStyle: this._serviceOptions.properties.polygonStyle as FlatStyle,\n vertexStyle: this._serviceOptions.properties.vertexStyle as FlatStyle,\n httpService: this._serviceOptions.references.httpService,\n intl: this._serviceOptions.intl\n });\n this._workflows.set(mapId, workflow);\n this._connectToWorkflowDestroyEvent(workflow, mapId);\n\n return workflow;\n }\n\n updateFeature(\n map: MapModel,\n ogcApiFeatureLayerUrl: URL,\n feature: Feature\n ): EditingUpdateWorkflowImpl {\n if (!ogcApiFeatureLayerUrl || !map || !map.id) {\n throw new Error(\"Map, mapId or url is undefined.\");\n }\n\n const mapId = map.id;\n\n let workflow = this._workflows.get(mapId);\n if (workflow) {\n throw new Error(\n \"EditingWorkflow could not be started. EditingWorkflow already in progress for this map.\"\n );\n }\n\n workflow = new EditingUpdateWorkflowImpl({\n map,\n ogcApiFeatureLayerUrl,\n feature,\n polygonStyle: this._serviceOptions.properties.polygonStyle as FlatStyle,\n vertexStyle: this._serviceOptions.properties.vertexStyle as FlatStyle,\n httpService: this._serviceOptions.references.httpService,\n intl: this._serviceOptions.intl\n });\n this._workflows.set(mapId, workflow);\n this._connectToWorkflowDestroyEvent(workflow, mapId);\n\n return workflow;\n }\n\n stop(mapId: string): void {\n const workflow = this._workflows.get(mapId);\n if (workflow) {\n workflow.stop();\n }\n // A missing workflow is not an error if all we want to do is stop it.\n }\n\n reset(mapId: string): void {\n const workflow = this._workflows.get(mapId);\n if (workflow) {\n workflow.reset();\n } else {\n throw new Error(\"No workflow found for mapId: \" + mapId);\n }\n }\n\n _connectToWorkflowDestroyEvent(\n workflow: EditingCreateWorkflowImpl | EditingUpdateWorkflowImpl,\n mapId: string\n ) {\n const watchStateHandle = syncWatch(\n () => [workflow.getState()],\n ([newState]) => {\n if (newState === \"destroyed\") {\n if (this._workflows.get(mapId) === workflow) {\n this._workflows.delete(mapId);\n }\n watchStateHandle.destroy();\n }\n }\n );\n }\n}\n"],"names":[],"mappings":";;;;AAiBO,MAAM,kBAA6C,CAAA;AAAA,EAC9C,eAAA;AAAA,EACA,UAAA;AAAA,EAER,YAAY,cAA4C,EAAA;AACpD,IAAA,IAAA,CAAK,eAAkB,GAAA,cAAA;AACvB,IAAK,IAAA,CAAA,UAAA,uBAAiB,GAAI,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A;AACZ,QAAA,IAAI,aAAa,WAAa,EAAA;AAC1B,UAAA,IAAI,IAAK,CAAA,UAAA,CAAW,GAAI,CAAA,KAAK,MAAM,QAAU,EAAA;AACzC,YAAK,IAAA,CAAA,UAAA,CAAW,OAAO,KAAK,CAAA;AAAA;AAEhC,UAAA,gBAAA,CAAiB,OAAQ,EAAA;AAAA;AAC7B;AACJ,KACJ;AAAA;AAER;;;;"}
1
+ {"version":3,"file":"EditingServiceImpl.js","sources":["EditingServiceImpl.ts"],"sourcesContent":["// SPDX-FileCopyrightText: 2023-2025 Open Pioneer project (https://github.com/open-pioneer)\n// SPDX-License-Identifier: Apache-2.0\nimport { MapModel, MapRegistry } from \"@open-pioneer/map\";\nimport { EditingService } from \"./api\";\nimport { EditingCreateWorkflowImpl } from \"./EditingCreateWorkflowImpl\";\nimport { EditingUpdateWorkflowImpl } from \"./EditingUpdateWorkflowImpl\";\nimport { FlatStyle } from \"ol/style/flat\";\nimport { ServiceOptions } from \"@open-pioneer/runtime\";\nimport { HttpService } from \"@open-pioneer/http\";\nimport { Feature } from \"ol\";\nimport { syncWatch } from \"@conterra/reactivity-core\";\n\nexport interface References {\n mapRegistry: MapRegistry;\n httpService: HttpService;\n}\n\nexport class EditingServiceImpl implements EditingService {\n private _serviceOptions: ServiceOptions<References>;\n private _workflows: Map<string, EditingCreateWorkflowImpl | EditingUpdateWorkflowImpl>;\n\n constructor(serviceOptions: ServiceOptions<References>) {\n this._serviceOptions = serviceOptions;\n this._workflows = new Map();\n }\n\n createFeature(map: MapModel, ogcApiFeatureLayerUrl: URL): EditingCreateWorkflowImpl {\n if (!ogcApiFeatureLayerUrl || !map || !map.id) {\n throw new Error(\"Map, mapId or url is undefined.\");\n }\n\n const mapId = map.id;\n\n let workflow = this._workflows.get(mapId);\n if (workflow) {\n throw new Error(\n \"EditingWorkflow could not be started. EditingWorkflow already in progress for this map.\"\n );\n }\n\n workflow = new EditingCreateWorkflowImpl({\n map,\n ogcApiFeatureLayerUrl,\n polygonStyle: this._serviceOptions.properties.polygonStyle as FlatStyle,\n vertexStyle: this._serviceOptions.properties.vertexStyle as FlatStyle,\n httpService: this._serviceOptions.references.httpService,\n intl: this._serviceOptions.intl\n });\n this._workflows.set(mapId, workflow);\n this._connectToWorkflowDestroyEvent(workflow, mapId);\n\n return workflow;\n }\n\n updateFeature(\n map: MapModel,\n ogcApiFeatureLayerUrl: URL,\n feature: Feature\n ): EditingUpdateWorkflowImpl {\n if (!ogcApiFeatureLayerUrl || !map || !map.id) {\n throw new Error(\"Map, mapId or url is undefined.\");\n }\n\n const mapId = map.id;\n\n let workflow = this._workflows.get(mapId);\n if (workflow) {\n throw new Error(\n \"EditingWorkflow could not be started. EditingWorkflow already in progress for this map.\"\n );\n }\n\n workflow = new EditingUpdateWorkflowImpl({\n map,\n ogcApiFeatureLayerUrl,\n feature,\n polygonStyle: this._serviceOptions.properties.polygonStyle as FlatStyle,\n vertexStyle: this._serviceOptions.properties.vertexStyle as FlatStyle,\n httpService: this._serviceOptions.references.httpService,\n intl: this._serviceOptions.intl\n });\n this._workflows.set(mapId, workflow);\n this._connectToWorkflowDestroyEvent(workflow, mapId);\n\n return workflow;\n }\n\n stop(map: string | MapModel): void {\n const mapId = typeof map === \"string\" ? map : map.id;\n const workflow = this._workflows.get(mapId);\n if (workflow) {\n workflow.stop();\n }\n // A missing workflow is not an error if all we want to do is stop it.\n }\n\n reset(map: string | MapModel): void {\n const mapId = typeof map === \"string\" ? map : map.id;\n const workflow = this._workflows.get(mapId);\n if (workflow) {\n workflow.reset();\n } else {\n throw new Error(\"No workflow found for mapId: \" + mapId);\n }\n }\n\n _connectToWorkflowDestroyEvent(\n workflow: EditingCreateWorkflowImpl | EditingUpdateWorkflowImpl,\n mapId: string\n ) {\n const watchStateHandle = syncWatch(\n () => [workflow.getState()],\n ([newState]) => {\n if (newState === \"destroyed\") {\n if (this._workflows.get(mapId) === workflow) {\n this._workflows.delete(mapId);\n }\n watchStateHandle.destroy();\n }\n }\n );\n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A,IAAA,CAAK,UAAW,CAAA,GAAA,CAAI,KAAK,CAAA;AAC1C,IAAA,IAAI,QAAU,EAAA;AACV,MAAA,QAAA,CAAS,KAAM,EAAA;AAAA,KACZ,MAAA;AACH,MAAM,MAAA,IAAI,KAAM,CAAA,+BAAA,GAAkC,KAAK,CAAA;AAAA;AAC3D;AACJ,EAEA,8BAAA,CACI,UACA,KACF,EAAA;AACE,IAAA,MAAM,gBAAmB,GAAA,SAAA;AAAA,MACrB,MAAM,CAAC,QAAS,CAAA,QAAA,EAAU,CAAA;AAAA,MAC1B,CAAC,CAAC,QAAQ,CAAM,KAAA;AACZ,QAAA,IAAI,aAAa,WAAa,EAAA;AAC1B,UAAA,IAAI,IAAK,CAAA,UAAA,CAAW,GAAI,CAAA,KAAK,MAAM,QAAU,EAAA;AACzC,YAAK,IAAA,CAAA,UAAA,CAAW,OAAO,KAAK,CAAA;AAAA;AAEhC,UAAA,gBAAA,CAAiB,OAAQ,EAAA;AAAA;AAC7B;AACJ,KACJ;AAAA;AAER;;;;"}
package/README.md CHANGED
@@ -46,8 +46,8 @@ An editing workflow can be stopped completely or the current drawing can be rese
46
46
  Example:
47
47
 
48
48
  ```js
49
- editingService.reset("mapId");
50
- editingService.stop("mapId");
49
+ editingService.reset(map);
50
+ editingService.stop(map);
51
51
  ```
52
52
 
53
53
  ### Watch editing workflow states
package/api.d.ts CHANGED
@@ -77,9 +77,21 @@ export interface EditingService extends DeclaredService<"editing.EditingService"
77
77
  /**
78
78
  * Stops the edit mode and removes an existing {@link EditingWorkflow}.
79
79
  */
80
+ stop(map: MapModel): void;
81
+ /**
82
+ * Stops the edit mode and removes an existing {@link EditingWorkflow}.
83
+ *
84
+ * @deprecated Use the `stop(map: MapModel)` method instead.
85
+ */
80
86
  stop(mapId: string): void;
81
87
  /**
82
88
  * Resets the unfinished geometry from an existing {@link EditingWorkflow} without leaving the edit mode.
83
89
  */
90
+ reset(map: MapModel): void;
91
+ /**
92
+ * Resets the unfinished geometry from an existing {@link EditingWorkflow} without leaving the edit mode.
93
+ *
94
+ * @deprecated Use the `reset(map: MapModel)` method instead.
95
+ */
84
96
  reset(mapId: string): void;
85
97
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@open-pioneer/editing",
4
- "version": "0.9.0",
4
+ "version": "0.10.0",
5
5
  "description": "This package provides an editing service that allows to start and handle geometry editing workflows.",
6
6
  "keywords": [
7
7
  "open-pioneer-trails"
@@ -14,12 +14,12 @@
14
14
  "directory": "src/packages/editing"
15
15
  },
16
16
  "dependencies": {
17
- "@open-pioneer/core": "^3.0.0",
18
- "@open-pioneer/http": "^3.0.0",
19
- "@open-pioneer/runtime": "^3.0.0",
20
- "ol": "^10.4.0",
21
- "@conterra/reactivity-core": "^0.4.3",
22
- "@open-pioneer/map": "^0.9.0"
17
+ "@open-pioneer/core": "^3.1.0",
18
+ "@open-pioneer/http": "^3.1.0",
19
+ "@open-pioneer/runtime": "^3.1.0",
20
+ "ol": "^10.5.0",
21
+ "@conterra/reactivity-core": "^0.5.0",
22
+ "@open-pioneer/map": "^0.10.0"
23
23
  },
24
24
  "exports": {
25
25
  "./package.json": "./package.json",