jmapcloud-ng-types 2.0.17-qa.2 → 2.0.17-qa.3

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/all-enums.ts CHANGED
@@ -12,8 +12,6 @@ export const ALL_APP_DRAW_TYPES: JAPP_DRAW_TYPES[] = [
12
12
 
13
13
  export const ALL_APP_MEASUREMENT_SYSTEMS: JAPP_MEASUREMENT_SYSTEMS[] = [JAPP_MEASUREMENT_SYSTEMS.GEODETIC, JAPP_MEASUREMENT_SYSTEMS.PLANAR]
14
14
 
15
- export const ALL_APP_GEOMETRY_WIZARD_STEPS: JAPP_GEOMETRY_WIZARD_STEPS[] = [JAPP_GEOMETRY_WIZARD_STEPS.SELECT_LAYER, JAPP_GEOMETRY_WIZARD_STEPS.DRAW]
16
-
17
15
  /** @deprecated The legacy layer dynamic-filter API was removed. */
18
16
  export const ALL_APP_LAYER_DATE_FILTER_OPERATOR_TYPES: JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES[] = [
19
17
  JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES.BEFORE,
package/enums.ts CHANGED
@@ -82,9 +82,3 @@ export enum JAPP_DRAW_TYPES {
82
82
  CIRCLE = "circle",
83
83
  TEXT = "text"
84
84
  }
85
-
86
- // From geometry.d.ts
87
- export enum JAPP_GEOMETRY_WIZARD_STEPS {
88
- SELECT_LAYER = "select-layer",
89
- DRAW = "draw"
90
- }
package/index.ts CHANGED
@@ -28,16 +28,17 @@ export interface JAppDataGridState {
28
28
 
29
29
  export type { JApplicationOptions } from "./public/startup-options.d.ts"
30
30
 
31
+ export type JAppCoordinateInputMode = "project" | "web-mercator" | "wgs84-decimal" | "wgs84-dms"
32
+
31
33
  export interface JAppGeometryState {
34
+ /** Selected CRS and format; undefined uses the project default. */
35
+ coordinateInputMode: JAppCoordinateInputMode | undefined
32
36
  layerId: JId | undefined
33
37
  featureId: JId | undefined // needed for update
34
38
  hasChanged: boolean
35
39
  feature: GeoJSON.Feature | undefined
36
40
  isUpdate: boolean
37
- wizardStep: JAPP_GEOMETRY_WIZARD_STEPS
38
- activeType: JAPP_DRAW_TYPES
39
41
  snap: JAppSnapState
40
- isAttributesEditing: boolean
41
42
  }
42
43
 
43
44
  export interface JAppFeatureState {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmapcloud-ng-types",
3
- "version": "2.0.17-qa.2",
3
+ "version": "2.0.17-qa.3",
4
4
  "description": "JMap Cloud specific version of JMap Cloud NG types and interfaces",
5
5
  "main": "src/app.ts",
6
6
  "types": "ambient.d.ts",
@@ -1,10 +1,4 @@
1
1
  export {}
2
- // ALL_APP_GEOMETRY_WIZARD_STEPS in all-enum.ts
3
- export enum JAPP_GEOMETRY_WIZARD_STEPS {
4
- SELECT_LAYER = "select-layer",
5
- DRAW = "draw"
6
- }
7
-
8
2
  export interface JAppGeometryUpdateParams {
9
3
  layerId: JId
10
4
  feature: GeoJSON.Feature
@@ -28,8 +28,6 @@ declare global {
28
28
  /** @internal */ type JAppExtensionEventParams = extensiondts.JAppExtensionEventParams
29
29
  /** @internal */ type JFormDialogParams = formdts.JFormDialogParams
30
30
  /** @internal */ type JSubFormDialogParams = formdts.JSubFormDialogParams
31
- /** @internal */ type JAPP_GEOMETRY_WIZARD_STEPS = geometrydts.JAPP_GEOMETRY_WIZARD_STEPS
32
- /** @internal */ const JAPP_GEOMETRY_WIZARD_STEPS: typeof geometrydts.JAPP_GEOMETRY_WIZARD_STEPS
33
31
  /** @internal */ type JAppGeometryUpdateParams = geometrydts.JAppGeometryUpdateParams
34
32
  /** @internal */ type JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES = layerdts.JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES
35
33
  /** @internal */ const JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES: typeof layerdts.JAPP_LAYER_DATE_FILTER_OPERATOR_TYPES