jmapcloud-ng-types 1.1.7 → 1.1.10

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.7",
3
+ "version": "1.1.10",
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
@@ -1628,49 +1628,51 @@ declare namespace JMap {
1628
1628
  */
1629
1629
  function closePanel(): void
1630
1630
 
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
1631
+ // TODO JMAP8-3266 : refactor this
1632
+
1633
+ // /**
1634
+ // * **JMap.Application.Layer.Edition.DynamicFilter.openCreateDialog**
1635
+ // *
1636
+ // * Opens the dynamic filter creation dialog for the given layer id.
1637
+ // *
1638
+ // * @throws if layer not found
1639
+ // * @param layerId the JMap layer id
1640
+ // * @example
1641
+ // * ```ts
1642
+ // * // opens the dynamic filter creation dialog for layer id=3
1643
+ // * JMap.Application.Layer.Edition.DynamicFilter.openCreateDialog(3)
1644
+ // * ```
1645
+ // */
1646
+ // function openCreateDialog(layerId: JId): void
1647
+
1648
+ // /**
1649
+ // * **JMap.Application.Layer.Edition.DynamicFilter.openUpdateDialog**
1650
+ // *
1651
+ // * Opens the dynamic filter update dialog for the given layer id.
1652
+ // *
1653
+ // * @throws if layer or condition not found
1654
+ // * @param layerId the JMap layer id
1655
+ // * @param conditionId the JMap dynamic filter condition id
1656
+ // * @example
1657
+ // * ```ts
1658
+ // * // opens the dynamic filter condition creation dialog for layer id=3
1659
+ // * JMap.Application.Layer.Edition.DynamicFilter.openUpdateDialog(3)
1660
+ // * ```
1661
+ // */
1662
+ // function openUpdateDialog(layerId: JId, conditionId: number): void
1663
+
1664
+ // /**
1665
+ // * **JMap.Application.Layer.Edition.DynamicFilter.closeDialog**
1666
+ // *
1667
+ // * If open, close the dynamic filter dialog (as well for creation or update).
1668
+ // *
1669
+ // * @example
1670
+ // * ```ts
1671
+ // * // closes the edition (any tab) panel if open.
1672
+ // * JMap.Application.Layer.Edition.DynamicFilter.closeDialog()
1673
+ // * ```
1674
+ // */
1675
+ // function closeDialog(): void
1674
1676
  }
1675
1677
 
1676
1678
  /**
package/public/form.d.ts CHANGED
@@ -3,7 +3,7 @@ declare type JFormDialogParams = JFormDialogLayerParams | JFormDialogTableParams
3
3
  declare type JFormDialogLayerParams = {
4
4
  layerId: JId
5
5
  featureId?: JId
6
- feature?: GeoJSON.Feature
6
+ feature: GeoJSON.Feature
7
7
  isReadOnly: boolean
8
8
  onSubmit?: () => void
9
9
  }
@@ -13,4 +13,4 @@ declare type JFormDialogTableParams = {
13
13
  row?: { [key: string]: any }
14
14
  isReadOnly: boolean
15
15
  onSubmit?: () => void
16
- }
16
+ }