ol-wfst 4.1.1 → 4.2.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 (99) hide show
  1. package/README.md +20 -20
  2. package/dist/css/ol-wfst.bootstrap5.css +212 -23
  3. package/dist/css/ol-wfst.bootstrap5.min.css +1 -1
  4. package/dist/ol-wfst.js +2643 -2599
  5. package/dist/ol-wfst.js.map +1 -1
  6. package/dist/ol-wfst.min.js +3 -3
  7. package/dist/ol-wfst.min.js.map +1 -1
  8. package/dist/tsconfig.tsbuildinfo +1 -1
  9. package/lib/@enums.d.ts +16 -16
  10. package/lib/@types.d.ts +200 -200
  11. package/lib/Geoserver.d.ts +274 -274
  12. package/lib/WfsLayer.d.ts +52 -52
  13. package/lib/WfsLayer.d.ts.map +1 -1
  14. package/lib/WmsLayer.d.ts +68 -61
  15. package/lib/WmsLayer.d.ts.map +1 -1
  16. package/lib/defaults.d.ts +3 -3
  17. package/lib/index-umd.d.ts +3 -0
  18. package/lib/index-umd.d.ts.map +1 -0
  19. package/lib/modules/EditControlChanges.d.ts +17 -17
  20. package/lib/modules/EditFieldsModal.d.ts +18 -18
  21. package/lib/modules/EditOverlay.d.ts +7 -7
  22. package/lib/modules/LayersControl.d.ts +33 -33
  23. package/lib/modules/Uploads.d.ts +49 -49
  24. package/lib/modules/base/BaseLayer.d.ts +61 -61
  25. package/lib/modules/base/WfsSource.d.ts +47 -47
  26. package/lib/modules/base/WmsSource.d.ts +46 -46
  27. package/lib/modules/editLayer.d.ts +3 -3
  28. package/lib/modules/errors.d.ts +11 -11
  29. package/lib/modules/helpers.d.ts +6 -6
  30. package/lib/modules/i18n/en.d.ts +2 -2
  31. package/lib/modules/i18n/es.d.ts +2 -2
  32. package/lib/modules/i18n/index.d.ts +14 -14
  33. package/lib/modules/i18n/zh.d.ts +2 -2
  34. package/lib/modules/loading.d.ts +2 -2
  35. package/lib/modules/state.d.ts +21 -21
  36. package/lib/modules/styleFunction.d.ts +12 -12
  37. package/lib/myPragma.d.ts +1 -1
  38. package/lib/ol-wfst.d.ts +336 -336
  39. package/lib/ol-wfst.d.ts.map +1 -1
  40. package/lib/ol-wfst.js +2638 -2593
  41. package/lib/ol-wfst.js.map +1 -1
  42. package/lib/style/css/ol-wfst.bootstrap5.css +212 -23
  43. package/lib/style/scss/-ol-wfst.bootstrap5.scss +3 -0
  44. package/lib/style/scss/ol-wfst.scss +1 -0
  45. package/lib/tsconfig.tsbuildinfo +1 -1
  46. package/package.json +12 -13
  47. package/CHANGELOG.md +0 -123
  48. package/dist/@enums.d.ts +0 -17
  49. package/dist/@enums.d.ts.map +0 -1
  50. package/dist/@types.d.ts +0 -201
  51. package/dist/@types.d.ts.map +0 -1
  52. package/dist/Geoserver.d.ts +0 -275
  53. package/dist/Geoserver.d.ts.map +0 -1
  54. package/dist/WfsLayer.d.ts +0 -53
  55. package/dist/WfsLayer.d.ts.map +0 -1
  56. package/dist/WmsLayer.d.ts +0 -62
  57. package/dist/WmsLayer.d.ts.map +0 -1
  58. package/dist/defaults.d.ts +0 -4
  59. package/dist/defaults.d.ts.map +0 -1
  60. package/dist/modules/EditControlChanges.d.ts +0 -18
  61. package/dist/modules/EditControlChanges.d.ts.map +0 -1
  62. package/dist/modules/EditFieldsModal.d.ts +0 -19
  63. package/dist/modules/EditFieldsModal.d.ts.map +0 -1
  64. package/dist/modules/EditOverlay.d.ts +0 -8
  65. package/dist/modules/EditOverlay.d.ts.map +0 -1
  66. package/dist/modules/LayersControl.d.ts +0 -34
  67. package/dist/modules/LayersControl.d.ts.map +0 -1
  68. package/dist/modules/Uploads.d.ts +0 -50
  69. package/dist/modules/Uploads.d.ts.map +0 -1
  70. package/dist/modules/base/BaseLayer.d.ts +0 -62
  71. package/dist/modules/base/BaseLayer.d.ts.map +0 -1
  72. package/dist/modules/base/WfsSource.d.ts +0 -48
  73. package/dist/modules/base/WfsSource.d.ts.map +0 -1
  74. package/dist/modules/base/WmsSource.d.ts +0 -47
  75. package/dist/modules/base/WmsSource.d.ts.map +0 -1
  76. package/dist/modules/editLayer.d.ts +0 -4
  77. package/dist/modules/editLayer.d.ts.map +0 -1
  78. package/dist/modules/errors.d.ts +0 -12
  79. package/dist/modules/errors.d.ts.map +0 -1
  80. package/dist/modules/helpers.d.ts +0 -7
  81. package/dist/modules/helpers.d.ts.map +0 -1
  82. package/dist/modules/i18n/en.d.ts +0 -3
  83. package/dist/modules/i18n/en.d.ts.map +0 -1
  84. package/dist/modules/i18n/es.d.ts +0 -3
  85. package/dist/modules/i18n/es.d.ts.map +0 -1
  86. package/dist/modules/i18n/index.d.ts +0 -15
  87. package/dist/modules/i18n/index.d.ts.map +0 -1
  88. package/dist/modules/i18n/zh.d.ts +0 -3
  89. package/dist/modules/i18n/zh.d.ts.map +0 -1
  90. package/dist/modules/loading.d.ts +0 -3
  91. package/dist/modules/loading.d.ts.map +0 -1
  92. package/dist/modules/state.d.ts +0 -22
  93. package/dist/modules/state.d.ts.map +0 -1
  94. package/dist/modules/styleFunction.d.ts +0 -13
  95. package/dist/modules/styleFunction.d.ts.map +0 -1
  96. package/dist/myPragma.d.ts +0 -2
  97. package/dist/myPragma.d.ts.map +0 -1
  98. package/dist/ol-wfst.d.ts +0 -337
  99. package/dist/ol-wfst.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ol-wfst",
3
- "version": "4.1.1",
4
- "description": "Tiny WFST-T client to insert (drawing or uploading), modify and delete features on GeoServers using OpenLayers.",
3
+ "version": "4.2.0",
4
+ "description": "Tiny WFS-T client to insert (drawing or uploading), modify and delete features on GeoServers using OpenLayers.",
5
5
  "main": "dist/ol-wfst.js",
6
6
  "module": "lib/ol-wfst.js",
7
7
  "types": "lib/ol-wfst.d.ts",
@@ -32,11 +32,11 @@
32
32
  },
33
33
  "homepage": "https://github.com/GastonZalba/ol-wfst#readme",
34
34
  "dependencies": {
35
- "ol-wfs-capabilities": "^1.0.2",
35
+ "ol-wfs-capabilities": "^1.0.3",
36
36
  "ts-mixer": "^6.0.3"
37
37
  },
38
38
  "peerDependencies": {
39
- "bootstrap": ">=5.0.0",
39
+ "bootstrap": ">=5.3.0",
40
40
  "modal-vanilla": ">=0.8.0",
41
41
  "ol": ">=5.0.0"
42
42
  },
@@ -46,18 +46,17 @@
46
46
  "@rollup/plugin-node-resolve": "^15.0.1",
47
47
  "@rollup/plugin-terser": "^0.4.0",
48
48
  "@rollup/plugin-typescript": "^11.0.0",
49
- "@types/node": "^14.14.10",
50
- "@typescript-eslint/eslint-plugin": "^5.57.0",
51
- "@typescript-eslint/parser": "^5.57.0",
52
- "bootstrap": "<=5.2.2",
49
+ "@typescript-eslint/eslint-plugin": "^6.7.3",
50
+ "@typescript-eslint/parser": "^6.7.3",
51
+ "bootstrap": "^5.3.0",
53
52
  "documentation": "^14.0.1",
54
53
  "eslint": "^8.8.0",
55
- "eslint-config-prettier": "^6.15.0",
56
- "eslint-plugin-prettier": "^3.1.4",
54
+ "eslint-config-prettier": "^9.0.0",
55
+ "eslint-plugin-prettier": "^5.0.0",
57
56
  "modal-vanilla": "^0.12.0",
58
- "ol": "^7.3.0",
57
+ "ol": "^8.1.0",
59
58
  "postcss-preset-env": "^7.3.1",
60
- "prettier": "^2.2.1",
59
+ "prettier": "^3.0.3",
61
60
  "rollup": "^3.20.2",
62
61
  "rollup-plugin-banner2": "^1.2.2",
63
62
  "rollup-plugin-copy": "^3.4.0",
@@ -68,6 +67,6 @@
68
67
  "rollup-plugin-postcss": "^4.0.2",
69
68
  "rollup-plugin-serve": "^2.0.2",
70
69
  "sass": "^1.49.7",
71
- "typescript": "^4.5.5"
70
+ "typescript": "^5.2.2"
72
71
  }
73
72
  }
package/CHANGELOG.md DELETED
@@ -1,123 +0,0 @@
1
- # Changelog
2
-
3
- ## v1.0.0
4
- * Module created
5
-
6
- ## v1.0.1
7
- * Improved widget controller:
8
- - Changed css style
9
- - Removed select tool
10
- - Added a visibility toggler on each layer
11
-
12
- ## v1.0.2
13
- * Added support for using different modes on each layer ('wfs' or 'wms')
14
- * Default value in layer mode is now 'wfs'
15
- * Extra Layer options can be set on each layer (styles, zindex, etc)
16
- * Improved loading indicator
17
- * Fixed the bug that did not show vertices in LineStrings
18
-
19
- ## v1.0.3
20
- * Specified the CRS in 'bbox' param
21
-
22
- ## v1.0.4
23
- * DescribeFeatureType request changed to version 1.1.0
24
-
25
- ## v1.0.5
26
- * Some minor improvements in the package configuration
27
-
28
- ## v1.0.6
29
- * Fixed bug: changed parameter typeNames to typeName on DescribeFeatureType requests
30
-
31
- ## v1.0.7
32
- * Fixed readme links
33
-
34
- ## v1.0.8
35
- * Fixed some css
36
- * Fixed bug on Open Layers 5 preventing select the features: getFeatureInfoUrl vs getGetFeatureInfoUrl
37
- * Fixed bug on Open Layers 5 when creating two Select on the same map
38
-
39
- ## v1.0.9
40
- * Fixed error notification on requesting to offlines geoservers
41
- * Fixed PeerDependencies
42
-
43
- ## v2.0.0
44
- * Improved css bootstrap
45
- * Added option "modal" to customize modals
46
- * Added option "i18n" to allow custom translations
47
-
48
- ## v3.0.0
49
- * Refactored code: class extends class ol.control.Control (breaking changes)
50
- * Added geoserverAdvanced to allow customizethe geoserver requests
51
- * Changed default projection to 'EPSG:3857'
52
- * Fixed types for recent versions of ol
53
- * Updated dependencies
54
- * Moved modal-vanilla to dependencies
55
- * Added events
56
- * Added Delete button on Edit Mode
57
- * css to scss
58
-
59
- ## v3.0.1
60
- * Fixed loading msg
61
-
62
- ## v3.0.2
63
- * Added Mandarin Chinese (zh) language
64
- * Fixed some english translations
65
-
66
- ## v3.0.3
67
- * Added _credentials_ option for fetch requests
68
-
69
- ## v3.0.5
70
- * Added public method to get the layers
71
- * Fix "loading" msg on init
72
- * Added event 'load'
73
-
74
- ## v3.0.6
75
- * Added event 'visible'
76
-
77
- ## v3.0.7
78
- * Improved error handling:
79
- * The original errors returned by the geoserver are now displayed
80
- * Only display one error modal per layer
81
- * Added extra geoserver options through the `geoserverOptions` attribute
82
-
83
- ## v4.0.0
84
- * Added Ol 7 compatibility
85
- * Overall refactoring
86
- * Improved README
87
- * Added events
88
- * Changed License
89
-
90
- ## v4.0.1
91
- * Created `setCustomParam` method on layers and removed from the sources
92
-
93
- ## v4.0.2
94
- * Add option to pass `undefined` or `null` values on the `setCustomParam` method on wfs layers to delete the param
95
-
96
- ## v4.0.3
97
- * Moved modal-vanilla to peer dependencies
98
-
99
- ## v4.0.4
100
- * Updated dependencies
101
-
102
- ## v4.0.5
103
- * Moved ts-mixer to prod dependencies
104
-
105
- ## v4.0.6
106
- * Updated dependencies
107
- * Added new event 'sourceready' (Ol 7.2.0)
108
- * Removed "browser" attribute from package.json
109
- * Improved error handling
110
-
111
- ## v4.1.0
112
- * Added ".js" extension on imports to work better with webpack 5 default's config
113
- * Lib is builded with es2017 target (downgraded from esnext)
114
- * Removed babel deps
115
- * Added header to dist files
116
- * Fixed example missing css
117
-
118
- ## v4.1.1
119
- * Fix `load` event dispatched before time
120
- * Changed default `getCapabilities` version to `2.0.0`
121
- * Added `ol-wfs-capabilities` dependency to parse `2.0.0` capabilities
122
- * Added `getParsedCapabilities` geoserver method (only for version `2.0.0`)
123
- * Limit bootstrap version
package/dist/@enums.d.ts DELETED
@@ -1,17 +0,0 @@
1
- export declare enum GeometryType {
2
- Point = "Point",
3
- LineString = "LineString",
4
- LinearRing = "LinearRing",
5
- Polygon = "Polygon",
6
- MultiPoint = "MultiPoint",
7
- MultiLineString = "MultiLineString",
8
- MultiPolygon = "MultiPolygon",
9
- GeometryCollection = "GeometryCollection",
10
- Circle = "Circle"
11
- }
12
- export declare enum TransactionType {
13
- Insert = "insert",
14
- Delete = "delete",
15
- Update = "update"
16
- }
17
- //# sourceMappingURL=@enums.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"@enums.d.ts","sourceRoot":"","sources":["../src/@enums.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACpB,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,eAAe,oBAAoB;IACnC,YAAY,iBAAiB;IAC7B,kBAAkB,uBAAuB;IACzC,MAAM,WAAW;CACpB;AAED,oBAAY,eAAe;IACvB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;CACpB"}
package/dist/@types.d.ts DELETED
@@ -1,201 +0,0 @@
1
- import { GeometryType } from './@enums';
2
- import WfsLayer from './WfsLayer';
3
- import WmsLayer from './WmsLayer';
4
- /**
5
- * @public
6
- */
7
- export interface BaseGeoserverVendor {
8
- /**
9
- * https://docs.geoserver.org/latest/en/user/services/wms/vendor.html#cql-filter
10
- */
11
- cql_filter?: string;
12
- /**
13
- * https://docs.geoserver.org/latest/en/user/services/wms/vendor.html#sortBy
14
- */
15
- sortBy?: string;
16
- /**
17
- * https://docs.geoserver.org/latest/en/user/services/wms/vendor.html#featureid
18
- */
19
- featureid?: string;
20
- /**
21
- * https://docs.geoserver.org/latest/en/user/services/wms/vendor.html#filter
22
- */
23
- filter?: string;
24
- /**
25
- * WMS: https://docs.geoserver.org/latest/en/user/services/wms/vendor.html#format-options
26
- * WFS: https://docs.geoserver.org/latest/en/user/services/wfs/vendor.html#format-options
27
- */
28
- format_options?: string;
29
- /**
30
- * https://docs.geoserver.org/latest/en/user/services/wms/vendor.html#maxfeatures-and-startindex
31
- */
32
- maxFeatures?: string | number;
33
- /**
34
- * https://docs.geoserver.org/latest/en/user/services/wms/vendor.html#maxfeatures-and-startindex
35
- */
36
- startIndex?: string | number;
37
- /**
38
- * https://docs.geoserver.org/latest/en/user/services/wms/vendor.html#propertyname
39
- */
40
- propertyname?: string;
41
- /**
42
- * Add any other param
43
- */
44
- [key: string]: any;
45
- }
46
- /**
47
- * **_[interface]_** - WFS geoserver options
48
- * https://docs.geoserver.org/latest/en/user/services/wfs/vendor.html
49
- * @public
50
- *
51
- */
52
- export interface WfsGeoserverVendor extends BaseGeoserverVendor {
53
- /**
54
- * https://docs.geoserver.org/latest/en/user/services/wfs/vendor.html#xml-request-validation
55
- */
56
- strict?: boolean;
57
- }
58
- /**
59
- * **_[interface]_** - WMS geoserver options
60
- * https://docs.geoserver.org/latest/en/user/services/wms/vendor.html
61
- * @public
62
- */
63
- export interface WmsGeoserverVendor extends BaseGeoserverVendor {
64
- /**
65
- * https://docs.geoserver.org/latest/en/user/services/wms/vendor.html#buffer
66
- */
67
- buffer?: string | number;
68
- /**
69
- * https://docs.geoserver.org/latest/en/user/services/wms/vendor.html#env
70
- */
71
- env?: string;
72
- /**
73
- * https://docs.geoserver.org/latest/en/user/services/wms/vendor.html#clip
74
- */
75
- clip?: string;
76
- /**
77
- * Styles in which layers are to be rendered.
78
- * Value is a comma-separated list of style names, or empty if default styling is required.
79
- * Style names may be empty in the list, to use default layer styling.
80
- */
81
- styles?: string;
82
- /**
83
- * Whether the map background should be transparent. Values are true or false. Default is false
84
- */
85
- transparent?: boolean;
86
- /**
87
- * Background color for the map image. Value is in the form RRGGBB. Default is FFFFFF (white).
88
- */
89
- bgcolor?: string;
90
- /**
91
- * Time value or range for map data.
92
- * See [Time Support in GeoServer WMS](https://docs.geoserver.org/stable/en/user/services/wms/time.html#wms-time) for more information.
93
- */
94
- time?: string;
95
- /**
96
- * A URL referencing a [StyledLayerDescriptor](https://docs.geoserver.org/stable/en/user/styling/index.html#styling)
97
- * XML file which controls or enhances map layers and styling
98
- */
99
- sld?: string;
100
- /**
101
- * A URL-encoded StyledLayerDescriptor XML document which controls or enhances map layers and styling
102
- */
103
- sld_body?: string;
104
- }
105
- export interface ExceptionGeoserver {
106
- code: string;
107
- locator: string;
108
- text: string;
109
- }
110
- /**
111
- * **_[interface]_** - Geoserver original response on DescribeFeature request
112
- * @public
113
- */
114
- export interface IGeoserverDescribeFeatureType {
115
- exceptions?: ExceptionGeoserver[];
116
- elementFormDefault: string;
117
- targetNamespace: string;
118
- targetPrefix: string;
119
- featureTypes: Array<{
120
- typeName: string;
121
- properties: Array<{
122
- name: string;
123
- nillable: boolean;
124
- maxOccurs: number;
125
- minOccurs: number;
126
- type: string;
127
- localType: string;
128
- }>;
129
- }>;
130
- /**
131
- * DescribeFeature request parsed
132
- */
133
- _parsed: {
134
- namespace: string;
135
- properties: any;
136
- geomType: GeometryType;
137
- geomField: string;
138
- };
139
- }
140
- /**
141
- * **_[interface]_**
142
- * @private
143
- */
144
- export interface IWfstLayersList {
145
- [key: string]: WfsLayer | WmsLayer;
146
- }
147
- /**
148
- * **_[interface]_**
149
- * @private
150
- */
151
- export interface IGeoserverOptions {
152
- hasTransaction?: boolean;
153
- hasLockFeature?: boolean;
154
- useLockFeature?: boolean;
155
- }
156
- /**
157
- * **_[interface]_** - Custom Language specified when creating a WFST instance
158
- * @public
159
- */
160
- export interface I18n {
161
- /** Labels section */
162
- labels?: {
163
- select?: string;
164
- addElement?: string;
165
- editElement?: string;
166
- save?: string;
167
- delete?: string;
168
- cancel?: string;
169
- apply?: string;
170
- upload?: string;
171
- editMode?: string;
172
- confirmDelete?: string;
173
- geomTypeNotSupported?: string;
174
- editFields?: string;
175
- editGeom?: string;
176
- selectDrawType?: string;
177
- uploadToLayer?: string;
178
- uploadFeatures?: string;
179
- validFeatures?: string;
180
- invalidFeatures?: string;
181
- loading?: string;
182
- toggleVisibility?: string;
183
- close?: string;
184
- };
185
- /** Errors section */
186
- errors?: {
187
- capabilities?: string;
188
- wfst?: string;
189
- layer?: string;
190
- layerNotFound?: string;
191
- layerNotVisible?: string;
192
- noValidGeometry?: string;
193
- geoserver?: string;
194
- badFormat?: string;
195
- badFile?: string;
196
- lockFeature?: string;
197
- transaction?: string;
198
- getFeatures?: string;
199
- };
200
- }
201
- //# sourceMappingURL=@types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"@types.d.ts","sourceRoot":"","sources":["../src/@types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,O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AC;QAChB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,qBAAqB;IACrB,MAAM,CAAC,EAAE;QACL,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,WAAW,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;CACL"}
@@ -1,275 +0,0 @@
1
- import BaseObject, { ObjectEvent } from 'ol/Object.js';
2
- import { Types as ObjectEventTypes } from 'ol/ObjectEventType.js';
3
- import { ProjectionLike } from 'ol/proj.js';
4
- import Circle from 'ol/geom/Circle.js';
5
- import Geometry from 'ol/geom/Geometry.js';
6
- import GeometryCollection from 'ol/geom/GeometryCollection.js';
7
- import Feature from 'ol/Feature.js';
8
- import GeoJSON from 'ol/format/GeoJSON.js';
9
- import KML from 'ol/format/KML.js';
10
- import WFS from 'ol/format/WFS.js';
11
- import { State } from 'ol/source/Source.js';
12
- import BaseEvent from 'ol/events/Event.js';
13
- import { CombinedOnSignature, EventTypes, OnSignature } from 'ol/Observable.js';
14
- import { EventsKey } from 'ol/events.js';
15
- import { TransactionResponse } from 'ol/format/WFS.js';
16
- import { TransactionType } from './@enums';
17
- /**
18
- * @fires change:capabilities
19
- * @extends {ol/Object~BaseObject}
20
- * @param options
21
- */
22
- export default class Geoserver extends BaseObject {
23
- protected _options: GeoserverOptions;
24
- protected _countRequests: number;
25
- protected _insertFeatures: Array<Feature<Geometry>>;
26
- protected _updateFeatures: Array<Feature<Geometry>>;
27
- protected _deleteFeatures: Array<Feature<Geometry>>;
28
- protected _formatWFS: WFS;
29
- protected _formatGeoJSON: GeoJSON;
30
- protected _formatKml: KML;
31
- protected _xs: XMLSerializer;
32
- protected state_: State;
33
- on: OnSignature<EventTypes, BaseEvent, EventsKey> & OnSignature<GeoserverEventTypes | ObjectEventTypes, ObjectEvent, EventsKey> & CombinedOnSignature<GeoserverEventTypes | ObjectEventTypes | EventTypes, EventsKey>;
34
- once: OnSignature<EventTypes, BaseEvent, EventsKey> & OnSignature<GeoserverEventTypes | ObjectEventTypes, ObjectEvent, EventsKey> & CombinedOnSignature<GeoserverEventTypes | ObjectEventTypes | EventTypes, EventsKey>;
35
- un: OnSignature<EventTypes, BaseEvent, void> & OnSignature<GeoserverEventTypes | ObjectEventTypes, ObjectEvent, void> & CombinedOnSignature<GeoserverEventTypes | ObjectEventTypes | EventTypes, void>;
36
- constructor(options: GeoserverOptions);
37
- /**
38
- *
39
- * @returns
40
- * @public
41
- */
42
- getCapabilities(): XMLDocument;
43
- /**
44
- * Only work for `2.0.0` getCapabilities version
45
- * @returns
46
- * @public
47
- */
48
- getParsedCapabilities(): any;
49
- /**
50
- *
51
- * @param url
52
- * @param opt_silent
53
- * @public
54
- */
55
- setUrl(url: string, opt_silent?: boolean): void;
56
- /**
57
- *
58
- * @returns
59
- */
60
- getUrl(): string;
61
- /**
62
- *
63
- * @param headers
64
- * @param opt_silent
65
- * @returns
66
- * @public
67
- */
68
- setHeaders(headers?: HeadersInit, opt_silent?: boolean): void;
69
- /**
70
- *
71
- * @returns
72
- * @public
73
- */
74
- getHeaders(): HeadersInit;
75
- /**
76
- *
77
- * @param credentials
78
- * @param opt_silent
79
- * @public
80
- */
81
- setCredentials(credentials?: RequestCredentials, opt_silent?: boolean): void;
82
- /**
83
- *
84
- * @returns
85
- * @public
86
- */
87
- getCredentials(): RequestCredentials;
88
- /**
89
- *
90
- * @returns
91
- * @public
92
- */
93
- setAdvanced(advanced?: GeoServerAdvanced, opt_silent?: boolean): void;
94
- /**
95
- *
96
- * @returns
97
- * @public
98
- */
99
- getAdvanced(): GeoServerAdvanced;
100
- /**
101
- *
102
- * @returns
103
- * @public
104
- */
105
- hasTransaction(): boolean;
106
- /**
107
- *
108
- * @returns
109
- * @public
110
- */
111
- hasLockFeature(): boolean;
112
- /**
113
- *
114
- * @returns
115
- * @public
116
- */
117
- getUseLockFeature(): boolean;
118
- /**
119
- *
120
- * @returns
121
- * @public
122
- */
123
- setUseLockFeature(useLockFeature: boolean, opt_silent?: boolean): void;
124
- /**
125
- *
126
- * @returns
127
- * @public
128
- */
129
- isLoaded(): boolean;
130
- /**
131
- *
132
- * @returns
133
- */
134
- getState(): State;
135
- /**
136
- * Get the capabilities from the GeoServer and check
137
- * all the available operations.
138
- *
139
- * @fires getcapabilities
140
- * @public
141
- */
142
- getAndUpdateCapabilities(): Promise<XMLDocument>;
143
- /**
144
- *
145
- * @private
146
- */
147
- _checkGeoserverCapabilities(): void;
148
- /**
149
- * Make the WFS Transactions
150
- *
151
- * @param transactionType
152
- * @param features
153
- * @param layerName
154
- * @private
155
- */
156
- transact(transactionType: TransactionType, features: Array<Feature<Geometry>> | Feature<Geometry>, layerName: string): Promise<TransactionResponse | false>;
157
- /**
158
- * @privatwe
159
- */
160
- _removeFeatures(features: Feature<Geometry>[]): void;
161
- /**
162
- *
163
- * @param feature
164
- * @param geom
165
- * @private
166
- */
167
- _transformCircleToPolygon(feature: Feature<Geometry>, geom: Circle): void;
168
- /**
169
- *
170
- * @param feature
171
- * @private
172
- * @param geom
173
- */
174
- _transformGeoemtryCollectionToGeometries(feature: Feature<Geometry>, geom: GeometryCollection): void;
175
- /**
176
- *
177
- * @param feature
178
- * @returns
179
- * @private
180
- */
181
- _cloneFeature(feature: Feature<Geometry>): Feature<Geometry>;
182
- /**
183
- * Lock a feature in the geoserver. Useful before editing a geometry,
184
- * to avoid changes from multiples suers
185
- *
186
- * @param featureId
187
- * @param layerName
188
- * @param retry
189
- * @public
190
- */
191
- lockFeature(featureId: string | number, layerName: string, retry?: number): Promise<string>;
192
- }
193
- /**
194
- * **_[interface]_**
195
- * @public
196
- */
197
- export interface GeoserverOptions {
198
- /**
199
- * Url for OWS services. This endpoint will recive the WFS, WFST and WMS requests
200
- *
201
- */
202
- url: string;
203
- /**
204
- * Advanced options for geoserver requests
205
- *
206
- */
207
- advanced?: GeoServerAdvanced;
208
- /**
209
- * Http headers for GeoServer requests
210
- * https://developer.mozilla.org/en-US/docs/Web/API/Request/headers
211
- *
212
- */
213
- headers?: HeadersInit;
214
- /**
215
- * Credentials for fetch requests
216
- * https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials
217
- *
218
- * Default is 'same-origin'
219
- */
220
- credentials?: RequestCredentials;
221
- /**
222
- * Use LockFeatue request on GeoServer when selecting features. Prevents a feature from being edited
223
- * through a persistent feature lock. This is not always supportedd by the GeoServer.
224
- * See https://docs.geoserver.org/stable/en/user/services/wfs/reference.html
225
- */
226
- useLockFeature?: boolean;
227
- }
228
- /**
229
- * **_[interface]_**
230
- *
231
- * * Default values:
232
- * ```javascript
233
- * {
234
- * getCapabilitiesVersion: '2.0.0',
235
- * getFeatureVersion: '1.0.0',
236
- * describeFeatureTypeVersion: '1.1.0',
237
- * lockFeatureVersion: '1.1.0',
238
- * wfsTransactionVersion: '1.1.0',
239
- * projection: 'EPSG:3857',
240
- * lockFeatureParams: {
241
- * expiry: 5,
242
- * lockId: 'Geoserver',
243
- * releaseAction: 'SOME'
244
- * }
245
- * }
246
- * @public
247
- */
248
- export interface GeoServerAdvanced {
249
- getCapabilitiesVersion?: string;
250
- getFeatureVersion?: string;
251
- lockFeatureVersion?: string;
252
- describeFeatureTypeVersion?: string;
253
- wfsTransactionVersion?: string;
254
- projection?: ProjectionLike;
255
- lockFeatureParams?: {
256
- expiry?: number | string;
257
- lockId?: string;
258
- releaseAction?: string;
259
- };
260
- }
261
- export declare enum GeoserverProperty {
262
- CAPABILITIES = "capabilities",
263
- PARSED_CAPABILITIES = "parsedCapabilities",
264
- URL = "url",
265
- HEADERS = "headers",
266
- CREDENTIALS = "credentials",
267
- ADVANCED = "advanced",
268
- HASTRASNACTION = "hasTransaction",
269
- HASLOCKFEATURE = "hasLockFeature",
270
- HASDESCRIBEFEATURETYPE = "hasDescribeFeatureType",
271
- USELOCKFEATURE = "useLockFeature",
272
- ISLOADED = "isLoaded"
273
- }
274
- export type GeoserverEventTypes = `change:${GeoserverProperty.CAPABILITIES}` | `change:${GeoserverProperty.PARSED_CAPABILITIES}` | `change:${GeoserverProperty.URL}` | `change:${GeoserverProperty.HEADERS}` | `change:${GeoserverProperty.CREDENTIALS}` | `change:${GeoserverProperty.ADVANCED}` | `change:${GeoserverProperty.HASTRASNACTION}` | `change:${GeoserverProperty.HASLOCKFEATURE}` | `change:${GeoserverProperty.HASDESCRIBEFEATURETYPE}` | `change:${GeoserverProperty.USELOCKFEATURE}` | `change:${GeoserverProperty.ISLOADED}`;
275
- //# sourceMappingURL=Geoserver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Geoserver.d.ts","sourceRoot":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