jmapcloud-ng-types 1.1.9 → 1.1.14

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 CHANGED
@@ -374,9 +374,10 @@ export interface JAppLayerService {
374
374
  export interface JAppDynamicFilterService {
375
375
  openPanel(layerId: JId): void
376
376
  closePanel(): void
377
- openCreateDialog(layerId: JId): void
378
- openUpdateDialog(layerId: JId, conditionId: number): void
379
- closeDialog(): void
377
+ // TODO JMAP8-3266 : remove the following methods
378
+ // openCreateDialog(layerId: JId): void
379
+ // openUpdateDialog(layerId: JId, conditionId: number): void
380
+ // closeDialog(): void
380
381
  }
381
382
 
382
383
  export interface JAppLayerEditionInfoService {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmapcloud-ng-types",
3
- "version": "1.1.9",
3
+ "version": "1.1.14",
4
4
  "description": "JMap Cloud specific version of JMap Cloud NG types and interfaces",
5
5
  "main": "src/app.ts",
6
6
  "scripts": {
package/public/app.d.ts CHANGED
@@ -1,4 +1,7 @@
1
- declare namespace JMap {
1
+ export {}
2
+
3
+ declare global {
4
+ namespace JMap {
2
5
  /**
3
6
  * **JMap.Application**
4
7
  *
@@ -1628,49 +1631,51 @@ declare namespace JMap {
1628
1631
  */
1629
1632
  function closePanel(): void
1630
1633
 
1631
- /**
1632
- * **JMap.Application.Layer.Edition.DynamicFilter.openCreateDialog**
1633
- *
1634
- * Opens the dynamic filter creation dialog for the given layer id.
1635
- *
1636
- * @throws if layer not found
1637
- * @param layerId the JMap layer id
1638
- * @example
1639
- * ```ts
1640
- * // opens the dynamic filter creation dialog for layer id=3
1641
- * JMap.Application.Layer.Edition.DynamicFilter.openCreateDialog(3)
1642
- * ```
1643
- */
1644
- function openCreateDialog(layerId: JId): void
1645
-
1646
- /**
1647
- * **JMap.Application.Layer.Edition.DynamicFilter.openUpdateDialog**
1648
- *
1649
- * Opens the dynamic filter update dialog for the given layer id.
1650
- *
1651
- * @throws if layer or condition not found
1652
- * @param layerId the JMap layer id
1653
- * @param conditionId the JMap dynamic filter condition id
1654
- * @example
1655
- * ```ts
1656
- * // opens the dynamic filter condition creation dialog for layer id=3
1657
- * JMap.Application.Layer.Edition.DynamicFilter.openUpdateDialog(3)
1658
- * ```
1659
- */
1660
- function openUpdateDialog(layerId: JId, conditionId: number): void
1661
-
1662
- /**
1663
- * **JMap.Application.Layer.Edition.DynamicFilter.closeDialog**
1664
- *
1665
- * If open, close the dynamic filter dialog (as well for creation or update).
1666
- *
1667
- * @example
1668
- * ```ts
1669
- * // closes the edition (any tab) panel if open.
1670
- * JMap.Application.Layer.Edition.DynamicFilter.closeDialog()
1671
- * ```
1672
- */
1673
- function closeDialog(): void
1634
+ // TODO JMAP8-3266 : refactor this
1635
+
1636
+ // /**
1637
+ // * **JMap.Application.Layer.Edition.DynamicFilter.openCreateDialog**
1638
+ // *
1639
+ // * Opens the dynamic filter creation dialog for the given layer id.
1640
+ // *
1641
+ // * @throws if layer not found
1642
+ // * @param layerId the JMap layer id
1643
+ // * @example
1644
+ // * ```ts
1645
+ // * // opens the dynamic filter creation dialog for layer id=3
1646
+ // * JMap.Application.Layer.Edition.DynamicFilter.openCreateDialog(3)
1647
+ // * ```
1648
+ // */
1649
+ // function openCreateDialog(layerId: JId): void
1650
+
1651
+ // /**
1652
+ // * **JMap.Application.Layer.Edition.DynamicFilter.openUpdateDialog**
1653
+ // *
1654
+ // * Opens the dynamic filter update dialog for the given layer id.
1655
+ // *
1656
+ // * @throws if layer or condition not found
1657
+ // * @param layerId the JMap layer id
1658
+ // * @param conditionId the JMap dynamic filter condition id
1659
+ // * @example
1660
+ // * ```ts
1661
+ // * // opens the dynamic filter condition creation dialog for layer id=3
1662
+ // * JMap.Application.Layer.Edition.DynamicFilter.openUpdateDialog(3)
1663
+ // * ```
1664
+ // */
1665
+ // function openUpdateDialog(layerId: JId, conditionId: number): void
1666
+
1667
+ // /**
1668
+ // * **JMap.Application.Layer.Edition.DynamicFilter.closeDialog**
1669
+ // *
1670
+ // * If open, close the dynamic filter dialog (as well for creation or update).
1671
+ // *
1672
+ // * @example
1673
+ // * ```ts
1674
+ // * // closes the edition (any tab) panel if open.
1675
+ // * JMap.Application.Layer.Edition.DynamicFilter.closeDialog()
1676
+ // * ```
1677
+ // */
1678
+ // function closeDialog(): void
1674
1679
  }
1675
1680
 
1676
1681
  /**
@@ -3482,3 +3487,5 @@ declare namespace JMap {
3482
3487
  }
3483
3488
  }
3484
3489
  }
3490
+
3491
+ }