jmapcloud-ng-types 2.0.14-qa.1 → 2.0.14-qa.11
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/index.ts +0 -1
- package/package.json +3 -4
- package/public/app.d.ts +19 -14
package/index.ts
CHANGED
|
@@ -165,7 +165,6 @@ export interface JAppGeometryService {
|
|
|
165
165
|
selectLayer(layerId: JId): void
|
|
166
166
|
startCreationDrawing(): void
|
|
167
167
|
stopCreationDrawing(): void
|
|
168
|
-
finishCreate(): void
|
|
169
168
|
finishUpdate(): Promise<void>
|
|
170
169
|
closePanel(): void
|
|
171
170
|
setSnapEnabled(isEnabled: boolean): void
|
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jmapcloud-ng-types",
|
|
3
|
-
"version": "2.0.14-qa.
|
|
3
|
+
"version": "2.0.14-qa.11",
|
|
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",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
8
|
"update-types-bridge": "node build/moduleize-dts.js && node build/auto-add-imports.js && node build/codemod-export-globals.js && node build/generate-ambient.js",
|
|
10
9
|
"pub-github": "cd ../../.. && npm --workspace app/jmapcloud-ng/ng-core-types run doc-test && npm --workspace app/jmapcloud-ng/ng-types run update-types-bridge && node app/jmapcloud-ng/ng-types/build/buildfile.js publish-github;",
|
|
11
10
|
"doc-test": "cd ../../.. && npm --workspace app/jmapcloud-ng/ng-core-types run doc-test && npm --workspace app/jmapcloud-ng/ng-types run update-types-bridge && node app/jmapcloud-ng/ng-types/build/buildfile.js doc-test;"
|
|
@@ -22,10 +21,10 @@
|
|
|
22
21
|
"homepage": "https://github.com/k2geospatial/jmapcloud-ng-types#readme",
|
|
23
22
|
"devDependencies": {
|
|
24
23
|
"@fortawesome/fontawesome-svg-core": "7.2.0",
|
|
25
|
-
"@types/react": "^
|
|
24
|
+
"@types/react": "^19.2.17",
|
|
26
25
|
"jmapcloud-ng-core-types": "../ng-core-types",
|
|
27
26
|
"maplibre-gl": "^4.7.1",
|
|
28
|
-
"react": "
|
|
27
|
+
"react": "19.2.6",
|
|
29
28
|
"rollup-plugin-visualizer": "^5.14.0",
|
|
30
29
|
"typedoc": "^0.25.13"
|
|
31
30
|
}
|
package/public/app.d.ts
CHANGED
|
@@ -673,20 +673,6 @@ declare global {
|
|
|
673
673
|
*/
|
|
674
674
|
function stopCreationDrawing(): void
|
|
675
675
|
|
|
676
|
-
/**
|
|
677
|
-
* **JMap.Application.Geometry.finishCreate**
|
|
678
|
-
*
|
|
679
|
-
* Finishes geometry creation.
|
|
680
|
-
*
|
|
681
|
-
* @throws if panel is not in creation mode, or if geometry has not yet been created.
|
|
682
|
-
* @example
|
|
683
|
-
* ```ts
|
|
684
|
-
* // finishe creating or updating the geometry
|
|
685
|
-
* JMap.Application.Geometry.finishCreate()
|
|
686
|
-
* ```
|
|
687
|
-
*/
|
|
688
|
-
function finishCreate(): void
|
|
689
|
-
|
|
690
676
|
/**
|
|
691
677
|
* **JMap.Application.Geometry.finishUpdate**
|
|
692
678
|
*
|
|
@@ -3273,6 +3259,9 @@ declare global {
|
|
|
3273
3259
|
* **JMap.Application.Message**
|
|
3274
3260
|
*
|
|
3275
3261
|
* You can manage the application Messages here.
|
|
3262
|
+
*
|
|
3263
|
+
* @deprecated Use `JMap.Message` instead. `JMap.Application.Message`
|
|
3264
|
+
* remains as a compatibility alias to the same underlying service.
|
|
3276
3265
|
*/
|
|
3277
3266
|
namespace Message {
|
|
3278
3267
|
/**
|
|
@@ -3280,6 +3269,8 @@ declare global {
|
|
|
3280
3269
|
*
|
|
3281
3270
|
* Adds an error message in the application message stack for the current session.
|
|
3282
3271
|
*
|
|
3272
|
+
* @deprecated Use `JMap.Message.error` instead.
|
|
3273
|
+
*
|
|
3283
3274
|
* @param message the text of the message
|
|
3284
3275
|
* @param options a JAppMessageOptions object
|
|
3285
3276
|
* @example
|
|
@@ -3295,6 +3286,8 @@ declare global {
|
|
|
3295
3286
|
*
|
|
3296
3287
|
* Adds an warning message in the application message stack for the current session.
|
|
3297
3288
|
*
|
|
3289
|
+
* @deprecated Use `JMap.Message.warning` instead.
|
|
3290
|
+
*
|
|
3298
3291
|
* @param message the text of the message
|
|
3299
3292
|
* @param options a JAppMessageOptions object
|
|
3300
3293
|
* @example
|
|
@@ -3310,6 +3303,8 @@ declare global {
|
|
|
3310
3303
|
*
|
|
3311
3304
|
* Adds an info message in the application message stack for the current session.
|
|
3312
3305
|
*
|
|
3306
|
+
* @deprecated Use `JMap.Message.info` instead.
|
|
3307
|
+
*
|
|
3313
3308
|
* @param message the text of the message
|
|
3314
3309
|
* @param options a JAppMessageOptions object
|
|
3315
3310
|
* @example
|
|
@@ -3325,6 +3320,8 @@ declare global {
|
|
|
3325
3320
|
*
|
|
3326
3321
|
* Adds an success message in the application message stack for the current session.
|
|
3327
3322
|
*
|
|
3323
|
+
* @deprecated Use `JMap.Message.success` instead.
|
|
3324
|
+
*
|
|
3328
3325
|
* @param message the text of the message
|
|
3329
3326
|
* @param options a JAppMessageOptions object
|
|
3330
3327
|
* @example
|
|
@@ -3340,6 +3337,8 @@ declare global {
|
|
|
3340
3337
|
*
|
|
3341
3338
|
* Prompts a confirmation dialog message on the screen.
|
|
3342
3339
|
*
|
|
3340
|
+
* @deprecated Use `JMap.Message.confirmMessage` instead.
|
|
3341
|
+
*
|
|
3343
3342
|
* The onSuccess callback is called when the user clicked "confirm" button.
|
|
3344
3343
|
*
|
|
3345
3344
|
* If it's an input confirm message, the onSuccess will get the input, else an empty string.
|
|
@@ -3384,6 +3383,8 @@ declare global {
|
|
|
3384
3383
|
* Adds an generic message in the application message stack for the current session.
|
|
3385
3384
|
* severity level should be passed (will default to "info")
|
|
3386
3385
|
*
|
|
3386
|
+
* @deprecated Use `JMap.Message.display` instead.
|
|
3387
|
+
*
|
|
3387
3388
|
* @param message the text of the message
|
|
3388
3389
|
* @param options a JAppMessageOptions object
|
|
3389
3390
|
* @example
|
|
@@ -3400,6 +3401,8 @@ declare global {
|
|
|
3400
3401
|
*
|
|
3401
3402
|
* Opens an overlay panel that displays your message and a loading bar.
|
|
3402
3403
|
*
|
|
3404
|
+
* @deprecated Use `JMap.Message.displayWaitingOverlay` instead.
|
|
3405
|
+
*
|
|
3403
3406
|
* User cannot hide or close this overlay, it aims to avoid user interactions while you are doing an async processing.
|
|
3404
3407
|
*
|
|
3405
3408
|
* If overlay is already displaying a previous message, it will display only the new message and hide the previous message (until you close the new message).
|
|
@@ -3442,6 +3445,8 @@ declare global {
|
|
|
3442
3445
|
*
|
|
3443
3446
|
* Close all overlay messages or just one.
|
|
3444
3447
|
*
|
|
3448
|
+
* @deprecated Use `JMap.Message.closeWaitingOverlay` instead.
|
|
3449
|
+
*
|
|
3445
3450
|
* If no overlay is displayed, do nothing.
|
|
3446
3451
|
*
|
|
3447
3452
|
* @param messageId the message to close
|