jmapcloud-ng-core-types 2.0.14-qa.1 → 2.0.14-qa.2

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.d.ts CHANGED
@@ -33,6 +33,7 @@ export interface JCoreService extends JCoreMainService {
33
33
  Layer: JLayerService
34
34
  User: JUserService
35
35
  Language: JLanguageService
36
+ Message: JAppMessageService
36
37
  Feature: JFeatureService
37
38
  Map: JMapService
38
39
  Geocoding: JGeocodingService
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmapcloud-ng-core-types",
3
- "version": "2.0.14-qa.1",
3
+ "version": "2.0.14-qa.2",
4
4
  "description": "JMap Cloud specific version of JMap Cloud NG Core types and interfaces",
5
5
  "main": "index.js",
6
6
  "types": "ambient.d.ts",
package/public/core.d.ts CHANGED
@@ -221,6 +221,89 @@ export namespace JMap {
221
221
  * ```
222
222
  */
223
223
  function getOS(): JOPERATING_SYSTEMS
224
+ /**
225
+ * **JMap.Message**
226
+ *
227
+ * You can manage application messages here.
228
+ */
229
+ namespace Message {
230
+ /**
231
+ * ***JMap.Message.error***
232
+ *
233
+ * Adds an error message in the application message stack for the current session.
234
+ *
235
+ * @param message the text of the message
236
+ * @param options a JAppMessageOptions object
237
+ */
238
+ function error(message: string, options?: JAppMessageOptions): void
239
+
240
+ /**
241
+ * ***JMap.Message.warning***
242
+ *
243
+ * Adds a warning message in the application message stack for the current session.
244
+ *
245
+ * @param message the text of the message
246
+ * @param options a JAppMessageOptions object
247
+ */
248
+ function warning(message: string, options?: JAppMessageOptions): void
249
+
250
+ /**
251
+ * ***JMap.Message.info***
252
+ *
253
+ * Adds an info message in the application message stack for the current session.
254
+ *
255
+ * @param message the text of the message
256
+ * @param options a JAppMessageOptions object
257
+ */
258
+ function info(message: string, options?: JAppMessageOptions): void
259
+
260
+ /**
261
+ * ***JMap.Message.success***
262
+ *
263
+ * Adds a success message in the application message stack for the current session.
264
+ *
265
+ * @param message the text of the message
266
+ * @param options a JAppMessageOptions object
267
+ */
268
+ function success(message: string, options?: JAppMessageOptions): void
269
+
270
+ /**
271
+ * ***JMap.Message.confirmMessage***
272
+ *
273
+ * Prompts a confirmation dialog message on the screen.
274
+ *
275
+ * @param params message parameters
276
+ */
277
+ function confirmMessage(params: JAppConfirmMessage): void
278
+
279
+ /**
280
+ * ***JMap.Message.display***
281
+ *
282
+ * Adds a generic message in the application message stack for the current session.
283
+ *
284
+ * @param message the text of the message
285
+ * @param options a JAppMessageOptions object
286
+ */
287
+ function display(message: string, options?: JAppMessageOptions): void
288
+
289
+ /**
290
+ * ***JMap.Message.displayWaitingOverlay***
291
+ *
292
+ * Opens an overlay panel that displays your message and a loading bar.
293
+ *
294
+ * @param message the text to show in the overlay
295
+ */
296
+ function displayWaitingOverlay(message: string): string
297
+
298
+ /**
299
+ * ***JMap.Message.closeWaitingOverlay***
300
+ *
301
+ * Closes one waiting overlay by id, or all of them when called without params.
302
+ *
303
+ * @param messageId optional waiting overlay id
304
+ */
305
+ function closeWaitingOverlay(messageId?: string): void
306
+ }
224
307
  /* **JMap.Server**
225
308
  *
226
309
  * This is where you can find JMap Server relative methods