jmapcloud-ng-types 2.0.20-qa.1 → 2.0.20-qa.3
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 +4 -0
- package/package.json +5 -4
- package/public/app.d.ts +11 -12
package/index.ts
CHANGED
|
@@ -145,6 +145,7 @@ export interface JAppSelectionState {
|
|
|
145
145
|
displayedLayerId: JId
|
|
146
146
|
isNewElement: boolean
|
|
147
147
|
tableVisibility: boolean
|
|
148
|
+
/** @deprecated Always false. Use tableVisibility for the in-app selection table. */
|
|
148
149
|
isTabOpened: boolean
|
|
149
150
|
activeType: JAPP_SELECTION_TYPES
|
|
150
151
|
}
|
|
@@ -290,8 +291,11 @@ export interface JAppSelectionService {
|
|
|
290
291
|
getActiveSelectionType(): JAPP_SELECTION_TYPES
|
|
291
292
|
getTableVisibility(): boolean
|
|
292
293
|
setTableVisibility(tableVisibility: boolean): void
|
|
294
|
+
/** @deprecated Always false. Use getTableVisibility for the in-app selection table. */
|
|
293
295
|
isTableDisplayedInTab(): boolean
|
|
296
|
+
/** @deprecated No-op that warns once. Use setTableVisibility(true) for the in-app selection table. */
|
|
294
297
|
openTableInTab(): void
|
|
298
|
+
/** @deprecated No-op that warns once. Use setTableVisibility(false) for the in-app selection table. */
|
|
295
299
|
closeTableTab(): void
|
|
296
300
|
clearSelectionForLayer(layerId: JId): void
|
|
297
301
|
clearSelection(): void
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jmapcloud-ng-types",
|
|
3
|
-
"version": "2.0.20-qa.
|
|
3
|
+
"version": "2.0.20-qa.3",
|
|
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",
|
|
@@ -11,14 +11,15 @@
|
|
|
11
11
|
},
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
|
-
"url": "
|
|
14
|
+
"url": "https://github.com/k2geospatial/jmapcloud-frontend.git",
|
|
15
|
+
"directory": "app/jmapcloud-ng/ng-types"
|
|
15
16
|
},
|
|
16
17
|
"author": "K2 Geospatial",
|
|
17
18
|
"license": "ISC",
|
|
18
19
|
"bugs": {
|
|
19
|
-
"url": "https://github.com/k2geospatial/jmapcloud-
|
|
20
|
+
"url": "https://github.com/k2geospatial/jmapcloud-frontend/issues"
|
|
20
21
|
},
|
|
21
|
-
"homepage": "https://github.com/k2geospatial/jmapcloud-ng-types#readme",
|
|
22
|
+
"homepage": "https://github.com/k2geospatial/jmapcloud-frontend/tree/master/app/jmapcloud-ng/ng-types#readme",
|
|
22
23
|
"devDependencies": {
|
|
23
24
|
"@fortawesome/fontawesome-svg-core": "7.2.0",
|
|
24
25
|
"@types/react": "^19.2.17",
|
package/public/app.d.ts
CHANGED
|
@@ -1148,11 +1148,12 @@ declare global {
|
|
|
1148
1148
|
/**
|
|
1149
1149
|
* **JMap.Application.Selection.isTableDisplayedInTab**
|
|
1150
1150
|
*
|
|
1151
|
-
*
|
|
1151
|
+
* Always returns false; the external selection page was removed.
|
|
1152
1152
|
*
|
|
1153
|
+
* @deprecated Use {@link JMap.Application.Selection.getTableVisibility} for the in-app selection table.
|
|
1153
1154
|
* @example
|
|
1154
1155
|
* ```ts
|
|
1155
|
-
* // returns
|
|
1156
|
+
* // returns false.
|
|
1156
1157
|
* JMap.Application.Selection.isTableDisplayedInTab()
|
|
1157
1158
|
* ```
|
|
1158
1159
|
*/
|
|
@@ -1161,13 +1162,13 @@ declare global {
|
|
|
1161
1162
|
/**
|
|
1162
1163
|
* **JMap.Application.Selection.openTableInTab**
|
|
1163
1164
|
*
|
|
1164
|
-
*
|
|
1165
|
-
*
|
|
1166
|
-
* If the table is not visible, make it visible.
|
|
1165
|
+
* Does nothing and warns once per page load. The external selection page was removed.
|
|
1166
|
+
* Does not change the in-app table's visibility.
|
|
1167
1167
|
*
|
|
1168
|
+
* @deprecated Use {@link JMap.Application.Selection.setTableVisibility} with true to show the in-app selection table.
|
|
1168
1169
|
* @example
|
|
1169
1170
|
* ```ts
|
|
1170
|
-
* //
|
|
1171
|
+
* // deprecated no-op; warns once.
|
|
1171
1172
|
* JMap.Application.Selection.openTableInTab()
|
|
1172
1173
|
* ```
|
|
1173
1174
|
*/
|
|
@@ -1176,15 +1177,13 @@ declare global {
|
|
|
1176
1177
|
/**
|
|
1177
1178
|
* **JMap.Application.Selection.closeTableTab**
|
|
1178
1179
|
*
|
|
1179
|
-
*
|
|
1180
|
-
*
|
|
1181
|
-
* If the table is not visible, or not opened in another tab, do nothing.
|
|
1182
|
-
*
|
|
1183
|
-
* If the table is opened in another tab, close the tab and display the table over the map.
|
|
1180
|
+
* Does nothing and warns once per page load. The external selection page was removed.
|
|
1181
|
+
* Does not change the in-app table's visibility.
|
|
1184
1182
|
*
|
|
1183
|
+
* @deprecated Use {@link JMap.Application.Selection.setTableVisibility} with false to hide the in-app selection table.
|
|
1185
1184
|
* @example
|
|
1186
1185
|
* ```ts
|
|
1187
|
-
* //
|
|
1186
|
+
* // deprecated no-op; warns once.
|
|
1188
1187
|
* JMap.Application.Selection.closeTableTab()
|
|
1189
1188
|
* ```
|
|
1190
1189
|
*/
|