jmapcloud-ng-types 2.0.18-qa.6 → 2.0.18-qa.8
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 +15 -6
- package/package.json +1 -1
- package/public/app.d.ts +31 -47
package/index.ts
CHANGED
|
@@ -10,6 +10,7 @@ export interface JAppState {
|
|
|
10
10
|
form: JAppFormState
|
|
11
11
|
selection: JAppSelectionState
|
|
12
12
|
layer: JAppLayerState
|
|
13
|
+
table: JAppTableState
|
|
13
14
|
ui: JAppUiState
|
|
14
15
|
map: JAppMapState
|
|
15
16
|
print: JAppPrintState
|
|
@@ -63,8 +64,10 @@ export interface JAppLayerState {
|
|
|
63
64
|
treeFilter: JAppLayerTreeFilterState
|
|
64
65
|
editionActiveTab: JAPP_LAYER_EDITION_TABS
|
|
65
66
|
inEditionLayerId: JId | undefined
|
|
66
|
-
|
|
67
|
-
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export interface JAppTableState {
|
|
70
|
+
inEditionTableId: JId | undefined
|
|
68
71
|
}
|
|
69
72
|
|
|
70
73
|
export interface JAppUiState {
|
|
@@ -152,6 +155,7 @@ export interface JApplicationService extends JApplicationMainService {
|
|
|
152
155
|
Measure: JAppMeasureService
|
|
153
156
|
Selection: JAppSelectionService
|
|
154
157
|
Layer: JAppLayerService
|
|
158
|
+
Table: JAppTableService
|
|
155
159
|
Print: JAppPrintService
|
|
156
160
|
UI: JApplicationUIService
|
|
157
161
|
Event: JAppEventService
|
|
@@ -379,10 +383,15 @@ export interface JAppLayerService {
|
|
|
379
383
|
export interface JAppDynamicFilterService {
|
|
380
384
|
openPanel(layerId: JId): void
|
|
381
385
|
closePanel(): void
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export interface JAppTableService {
|
|
389
|
+
Edition: {
|
|
390
|
+
DynamicFilter: {
|
|
391
|
+
openPanel(tableId: JId): void
|
|
392
|
+
closePanel(): void
|
|
393
|
+
}
|
|
394
|
+
}
|
|
386
395
|
}
|
|
387
396
|
|
|
388
397
|
export interface JAppLayerEditionInfoService {
|
package/package.json
CHANGED
package/public/app.d.ts
CHANGED
|
@@ -1319,6 +1319,36 @@ declare global {
|
|
|
1319
1319
|
function setPresentationShowOnOpen(value: boolean): void
|
|
1320
1320
|
}
|
|
1321
1321
|
|
|
1322
|
+
/** Table editing panels. Definitions are changed locally for the browser session. */
|
|
1323
|
+
namespace Table {
|
|
1324
|
+
namespace Edition {
|
|
1325
|
+
namespace DynamicFilter {
|
|
1326
|
+
/**
|
|
1327
|
+
* Opens the table dynamic filter sub-panel inside the Layers panel,
|
|
1328
|
+
* making the side panel visible. Includes creation, rename, expression
|
|
1329
|
+
* editing and deletion of local filters.
|
|
1330
|
+
*
|
|
1331
|
+
* @throws if the table is not found or the Layers panel is unavailable
|
|
1332
|
+
* @param tableId the table to edit
|
|
1333
|
+
* @example
|
|
1334
|
+
* ```ts
|
|
1335
|
+
* JMap.Application.Table.Edition.DynamicFilter.openPanel("table-id")
|
|
1336
|
+
* ```
|
|
1337
|
+
*/
|
|
1338
|
+
function openPanel(tableId: JId): void
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* Closes the table filter sub-panel and returns to the layer/table list.
|
|
1342
|
+
* @example
|
|
1343
|
+
* ```ts
|
|
1344
|
+
* JMap.Application.Table.Edition.DynamicFilter.closePanel()
|
|
1345
|
+
* ```
|
|
1346
|
+
*/
|
|
1347
|
+
function closePanel(): void
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1322
1352
|
/**
|
|
1323
1353
|
* **JMap.Application.Layer**
|
|
1324
1354
|
*
|
|
@@ -1559,7 +1589,7 @@ declare global {
|
|
|
1559
1589
|
/**
|
|
1560
1590
|
* **JMap.Application.Layer.Edition.DynamicFilter**
|
|
1561
1591
|
*
|
|
1562
|
-
*
|
|
1592
|
+
* Manage the layer dynamic filter editing panel.
|
|
1563
1593
|
*/
|
|
1564
1594
|
namespace DynamicFilter {
|
|
1565
1595
|
/**
|
|
@@ -1589,52 +1619,6 @@ declare global {
|
|
|
1589
1619
|
* ```
|
|
1590
1620
|
*/
|
|
1591
1621
|
function closePanel(): void
|
|
1592
|
-
|
|
1593
|
-
// TODO JMAP8-3266 : refactor this
|
|
1594
|
-
|
|
1595
|
-
// /**
|
|
1596
|
-
// * **JMap.Application.Layer.Edition.DynamicFilter.openCreateDialog**
|
|
1597
|
-
// *
|
|
1598
|
-
// * Opens the dynamic filter creation dialog for the given layer id.
|
|
1599
|
-
// *
|
|
1600
|
-
// * @throws if layer not found
|
|
1601
|
-
// * @param layerId the JMap layer id
|
|
1602
|
-
// * @example
|
|
1603
|
-
// * ```ts
|
|
1604
|
-
// * // opens the dynamic filter creation dialog for layer id=3
|
|
1605
|
-
// * JMap.Application.Layer.Edition.DynamicFilter.openCreateDialog(3)
|
|
1606
|
-
// * ```
|
|
1607
|
-
// */
|
|
1608
|
-
// function openCreateDialog(layerId: JId): void
|
|
1609
|
-
|
|
1610
|
-
// /**
|
|
1611
|
-
// * **JMap.Application.Layer.Edition.DynamicFilter.openUpdateDialog**
|
|
1612
|
-
// *
|
|
1613
|
-
// * Opens the dynamic filter update dialog for the given layer id.
|
|
1614
|
-
// *
|
|
1615
|
-
// * @throws if layer or condition not found
|
|
1616
|
-
// * @param layerId the JMap layer id
|
|
1617
|
-
// * @param conditionId the JMap dynamic filter condition id
|
|
1618
|
-
// * @example
|
|
1619
|
-
// * ```ts
|
|
1620
|
-
// * // opens the dynamic filter condition creation dialog for layer id=3
|
|
1621
|
-
// * JMap.Application.Layer.Edition.DynamicFilter.openUpdateDialog(3)
|
|
1622
|
-
// * ```
|
|
1623
|
-
// */
|
|
1624
|
-
// function openUpdateDialog(layerId: JId, conditionId: number): void
|
|
1625
|
-
|
|
1626
|
-
// /**
|
|
1627
|
-
// * **JMap.Application.Layer.Edition.DynamicFilter.closeDialog**
|
|
1628
|
-
// *
|
|
1629
|
-
// * If open, close the dynamic filter dialog (as well for creation or update).
|
|
1630
|
-
// *
|
|
1631
|
-
// * @example
|
|
1632
|
-
// * ```ts
|
|
1633
|
-
// * // closes the edition (any tab) panel if open.
|
|
1634
|
-
// * JMap.Application.Layer.Edition.DynamicFilter.closeDialog()
|
|
1635
|
-
// * ```
|
|
1636
|
-
// */
|
|
1637
|
-
// function closeDialog(): void
|
|
1638
1622
|
}
|
|
1639
1623
|
|
|
1640
1624
|
/**
|