jmapcloud-ng-core-types 1.0.1003 → 1.1.0

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/all-enums.ts CHANGED
@@ -139,16 +139,15 @@ export const ALL_LAYER_THEMATIC_FAMILY_TYPES: JLAYER_THEMATIC_FAMILY_TYPES[] = [
139
139
  export const ALL_LAYER_STYLE_TYPES: JLAYER_STYLE_TYPES[] = [
140
140
  JLAYER_STYLE_TYPES.POINT,
141
141
  JLAYER_STYLE_TYPES.LINE,
142
- JLAYER_STYLE_TYPES.SURFACE,
143
- JLAYER_STYLE_TYPES.ANNOTATION,
144
142
  JLAYER_STYLE_TYPES.IMAGE,
145
- JLAYER_STYLE_TYPES.MIXED
143
+ JLAYER_STYLE_TYPES.TEXT,
144
+ JLAYER_STYLE_TYPES.IMAGE
146
145
  ]
147
146
 
148
- export const ALL_LAYER_STYLE_ARROWS: JLAYER_STYLE_ARROWS[] = [
149
- JLAYER_STYLE_ARROWS.NONE,
150
- JLAYER_STYLE_ARROWS.FORWARD,
151
- JLAYER_STYLE_ARROWS.BACKWARD
147
+ export const ALL_LAYER_STYLE_ARROW_TYPES: JLAYER_STYLE_ARROW_TYPES[] = [
148
+ JLAYER_STYLE_ARROW_TYPES.NONE,
149
+ JLAYER_STYLE_ARROW_TYPES.FORWARD,
150
+ JLAYER_STYLE_ARROW_TYPES.BACKWARD
152
151
  ]
153
152
 
154
153
  export const ALL_LAYER_INFORMATION_REPORT_TYPES: JLAYER_INFORMATION_REPORT_TYPES[] = [
@@ -192,16 +191,16 @@ export const ALL_LAYER_DYNAMIC_FILTER_OPERATORS: JLAYER_DYNAMIC_FILTER_OPERATORS
192
191
  JLAYER_DYNAMIC_FILTER_OPERATORS.INTERVAL
193
192
  ]
194
193
 
195
- export const ALL_LAYER_STYLE_LINE_STROKE_CAP: JLAYER_STYLE_LINE_STROKE_CAP[] = [
196
- JLAYER_STYLE_LINE_STROKE_CAP.BUTT,
197
- JLAYER_STYLE_LINE_STROKE_CAP.ROUND,
198
- JLAYER_STYLE_LINE_STROKE_CAP.SQUARE
194
+ export const ALL_LAYER_STYLE_LINE_CAP: JLAYER_STYLE_LINE_CAP[] = [
195
+ JLAYER_STYLE_LINE_CAP.BUTT,
196
+ JLAYER_STYLE_LINE_CAP.ROUND,
197
+ JLAYER_STYLE_LINE_CAP.SQUARE
199
198
  ]
200
199
 
201
- export const ALL_LAYER_STYLE_LINE_STROKE_JOIN: JLAYER_STYLE_LINE_STROKE_JOIN[] = [
202
- JLAYER_STYLE_LINE_STROKE_JOIN.MITER,
203
- JLAYER_STYLE_LINE_STROKE_JOIN.ROUND,
204
- JLAYER_STYLE_LINE_STROKE_JOIN.BEVEL
200
+ export const ALL_LAYER_STYLE_LINE_JOIN: JLAYER_STYLE_LINE_JOIN[] = [
201
+ JLAYER_STYLE_LINE_JOIN.MITER,
202
+ JLAYER_STYLE_LINE_JOIN.ROUND,
203
+ JLAYER_STYLE_LINE_JOIN.BEVEL
205
204
  ]
206
205
 
207
206
  export const ALL_LAYER_METADATA_TYPES: JLAYER_METADATA_TYPES[] = [
@@ -246,8 +245,6 @@ export const ALL_MAP_CONTEXT_SORT_BY_DIRECTIONS: JMAP_CONTEXT_SORT_BY_DIRECTIONS
246
245
  JMAP_CONTEXT_SORT_BY_DIRECTIONS.DESC
247
246
  ]
248
247
 
249
- export const ALL_MAP_CONTEXT_VERSIONS: JMAP_CONTEXT_VERSIONS[] = [JMAP_CONTEXT_VERSIONS.V0, JMAP_CONTEXT_VERSIONS.V1]
250
-
251
248
  export const ALL_MAP_MODIFICATION_TYPES: JMAP_MODIFICATION_TYPES[] = [
252
249
  JMAP_MODIFICATION_TYPES.NONE,
253
250
  JMAP_MODIFICATION_TYPES.CENTER,
@@ -278,14 +275,42 @@ export const ALL_MAP_RASTER_SCHEME_TYPES: JMAP_RASTER_SCHEME_TYPES[] = [
278
275
  JMAP_RASTER_SCHEME_TYPES.XYZ
279
276
  ]
280
277
 
281
- export const ALL_SERVER_TYPES: JSERVER_TYPES[] = [JSERVER_TYPES.LEGACY, JSERVER_TYPES.SAAS]
278
+ export const ALL_SERVER_IDENTITY_PROVIDER_TYPES: JSERVER_IDENTITY_PROVIDER_TYPES[] = [
279
+ JSERVER_IDENTITY_PROVIDER_TYPES.AUTH0_SPA,
280
+ JSERVER_IDENTITY_PROVIDER_TYPES.JMAP_CLOUD,
281
+ JSERVER_IDENTITY_PROVIDER_TYPES.ANONYMOUS
282
+ ]
282
283
 
283
- export const ALL_SERVER_SAAS_STATUS: JSERVER_SAAS_STATUS[] = [
284
- JSERVER_SAAS_STATUS.STARTING,
285
- JSERVER_SAAS_STATUS.UP,
286
- JSERVER_SAAS_STATUS.DOWN
284
+ export const ALL_SERVER_MICRO_SERVICE_STATUSES: JSERVER_MICRO_SERVICE_STATUSES[] = [
285
+ JSERVER_MICRO_SERVICE_STATUSES.STARTING,
286
+ JSERVER_MICRO_SERVICE_STATUSES.UP,
287
+ JSERVER_MICRO_SERVICE_STATUSES.DOWN
287
288
  ]
288
289
 
289
290
  export const ALL_JORGANIZATION_EXTERNAL_API_KEY_TYPES: JORGANIZATION_EXTERNAL_API_KEY_TYPES[] = [
290
291
  JORGANIZATION_EXTERNAL_API_KEY_TYPES.MAPBOX_ACCESS_TOKEN
291
292
  ]
293
+
294
+ export const ALL_TERRAIN_ILLUMINATION_ANCHOR_TYPES: JTERRAIN_ILLUMINATION_ANCHOR_TYPES[] = [
295
+ JTERRAIN_ILLUMINATION_ANCHOR_TYPES.MAP,
296
+ JTERRAIN_ILLUMINATION_ANCHOR_TYPES.VIEWPORT
297
+ ]
298
+
299
+ export const ALL_LOGIN_STATUS: LOGIN_STATUS[] = [
300
+ LOGIN_STATUS.LOGGED_IN,
301
+ LOGIN_STATUS.LOGGED_OUT,
302
+ LOGIN_STATUS.LOGGING_IN,
303
+ LOGIN_STATUS.LOGIN_ERROR,
304
+ LOGIN_STATUS.LOGIN_ERROR_INSUFFICIENT_ROLES,
305
+ LOGIN_STATUS.SWITCHING_ORG
306
+ ]
307
+
308
+ export const ALL_ROLES: ROLES[] = [
309
+ ROLES.ORG_ADMIN,
310
+ ROLES.ORG_EDITOR,
311
+ ROLES.ORG_VIEWER,
312
+ ROLES.ACCOUNT_MANAGER,
313
+ ROLES.SYS_ADMIN
314
+ ]
315
+
316
+ export const ALL_MEMBER_ROLES: MEMBER_ROLES[] = [ROLES.ORG_ADMIN, ROLES.ORG_EDITOR, ROLES.ORG_VIEWER]
package/index.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { Feature, FeatureCollection, LineString, MultiLineString, Point, Polygon } from "geojson"
2
- import { Map } from "maplibre-gl"
3
2
  import { Store } from "redux"
4
3
 
5
4
  export interface JCoreService extends JCoreMainService {
@@ -14,7 +13,7 @@ export interface JCoreService extends JCoreMainService {
14
13
  Geometry: JGeometryService
15
14
  MouseOver: JMouseOverService
16
15
  Form: JFormService
17
- Query: JQueryService
16
+ FormJMC: JFormJMCService
18
17
  Event: JEventService
19
18
  History: JHistoryService
20
19
  Extension: JExtensionService
@@ -26,6 +25,7 @@ export interface JCoreService extends JCoreMainService {
26
25
  MapContext: JMapContextService
27
26
  UI: JUIService
28
27
  SimpleSearch: JSimpleSearchService
28
+ Table: JTableService
29
29
  }
30
30
 
31
31
  export interface JUIService {
@@ -148,12 +148,15 @@ export interface JPhotoService {
148
148
  export interface JFeatureService {
149
149
  getById(layerId: JId, featureId: JId): Promise<GeoJSON.Feature>
150
150
  getByIds(layerId: JId, featureIds: JId[]): Promise<GeoJSON.Feature[]>
151
+ getByLayerId(layerId: JId, bbox: JBoundaryBox): Promise<GeoJSON.Feature[]>
151
152
  geometryUpdateById(params: JFeatureGeometryUpdateParams): Promise<GeoJSON.Feature>
153
+ propertiesUpdateById(params: JFeaturePropertiesUpdateParams): Promise<GeoJSON.Feature>
152
154
  deleteById(layerId: JId, featureId: JId): Promise<JId>
153
155
  // deleteByIds(layerId: JId, featureIds: JId[]): Promise<JFeatureDeleteByIdsResult>
154
156
  // TODO: see if the future endpoint will return detail about individual deleted features success or failure
155
157
  // https://k2geospatial.atlassian.net/browse/JMAP8-1589
156
158
  deleteByIds(layerId: JId, featureIds: JId[]): Promise<JId[]>
159
+ geometryCreate(params: JFeatureGeometryCreateParams): Promise<GeoJSON.Feature>
157
160
  }
158
161
 
159
162
  export interface JCoreMainService {
@@ -180,18 +183,6 @@ export interface JGeolocationService {
180
183
  goToMyLocation(options?: JPanAndZoomOptions): Promise<JLocation>
181
184
  }
182
185
 
183
- export interface JQueryService {
184
- initializeQueryFormById(layerId: JId, queryId: string): Promise<JQuery>
185
- getAllGroups(): JQueryGroup[]
186
- groupExist(groupId: JId): boolean
187
- getQueriesByLayerId(layerId: JId): JQuery[]
188
- getQueryByLayerId(layerId: JId, queryId: string): JQuery
189
- getQueriesByGroupId(groupId: JId): JQuery[]
190
- getQueryByGroupId(groupId: JId, queryId: string): JQuery
191
- queryExist(groupId: JId, queryId: string): boolean
192
- fetchFeatures(layerId: JId, queryId: string, data: any): Promise<Feature[]>
193
- }
194
-
195
186
  export interface JAjaxService {
196
187
  get(config: JRequestConfig): Promise<any>
197
188
  post(config: JRequestConfig): Promise<any>
@@ -216,7 +207,6 @@ export interface JEventService {
216
207
  MouseOver: JMouseOverEventModule
217
208
  MapContext: JMapContextEventModule
218
209
  Server: JServerEventModule
219
- Query: JQueryEventModule
220
210
  }
221
211
 
222
212
  export type JEventFunction = (params?: any) => void | Promise<any>
@@ -242,15 +232,6 @@ export interface JEventModule {
242
232
  remove(listenerId: string): void
243
233
  }
244
234
 
245
- export interface JQueryEventModule extends JEventModule {
246
- on: {
247
- queryFormLoad(listenerId: string, fn: (params: JQueryQueryFormHasLoadedEventParams) => void): void
248
- beforeSubmit(listenerId: string, fn: (params: JQueryBeforeEventParams) => void): void
249
- success(listenerId: string, fn: (params: JQuerySuccessEventParams) => void): void
250
- error(listenerId: string, fn: (params: JQueryErrorEventParams) => void): void
251
- }
252
- }
253
-
254
235
  export interface JServerEventModule extends JEventModule {
255
236
  on: {
256
237
  infoReady(listenerId: string, fn: (params: JServerInfoReadyEventParams) => void): void
@@ -330,6 +311,8 @@ export interface JLayerEventModule extends JEventModule {
330
311
  sourceChange(listenerId: string, fn: (params: JLayerEventParams) => void): void
331
312
  selectabilityWillChange(listenerId: string, fn: (params: JLayerEventSelectabilityParams) => void): void
332
313
  layerDeletion(listenerId: string, fn: (params: JLayerEventParams) => void): void
314
+ thematicAddition(listenerId: string, fn: (params: JAddMapThematicEventParams) => void): void
315
+ thematicDeletion(listenerId: string, fn: (params: JLayerThematicEventParams) => void): void
333
316
  initialSearchApplied(listenerId: string, fn: (params: JLayerInitialSearchEventParams) => void): void
334
317
  dynamicFilterSet(listenerId: string, fn: (params: JLayerDynamicFilterSetParams) => void): void
335
318
  dynamicFilterActivationChange(listenerId: string, fn: (params: JLayerDynamicFilterActivationParams) => void): void
@@ -409,10 +392,10 @@ export interface JCoreState {
409
392
  map: JMapState
410
393
  project: JProjectState
411
394
  layer: JLayerState
395
+ table: JTableState
412
396
  user: JUserState
413
397
  language: JLanguageState
414
398
  photo: JPhotoState
415
- query: JQueryState
416
399
  geocoding: JGeocodingState
417
400
  simpleSearch: JSimpleSearchState
418
401
  geolocation: JGeolocationState
@@ -436,7 +419,7 @@ export interface JMapContextState {
436
419
  isApplying: boolean
437
420
  activeTab: JMAP_CONTEXT_TABS
438
421
  contexts: JMapContext[]
439
- defaultContextId: JId | undefined
422
+ defaultContextId: string | undefined
440
423
  filter: string
441
424
  sortBy: JMAP_CONTEXT_SORT_BY_OPTIONS
442
425
  sortByDirection: JMAP_CONTEXT_SORT_BY_DIRECTIONS
@@ -472,7 +455,7 @@ export interface JSimpleSearchState {
472
455
  isLoading: boolean
473
456
  hasLoadingError: boolean
474
457
  queryString: string
475
- results: JSimpleSearchResult
458
+ results: JSimpleSearchResult[]
476
459
  }
477
460
 
478
461
  export interface JGeolocationState {
@@ -501,9 +484,12 @@ export interface JMapState {
501
484
  scaleControlPosition: JMAP_POSITIONS
502
485
  distanceUnit: JMAP_DISTANCE_UNITS
503
486
  isNavigationHistoryControlVisible: boolean
487
+ isTerrainAvailable: boolean
488
+ isTerrainActive: boolean
504
489
  isScaleControlVisible: boolean
505
490
  isMapRotationControlVisible: boolean
506
- isInfoControlVisible: boolean
491
+ isTerrainControlVisible: boolean
492
+ isMapInfoControlVisible: boolean
507
493
  isInfoControlExpanded: boolean
508
494
  defaultZoomOptions: JZoomOptions
509
495
  containerWidth: number
@@ -511,6 +497,7 @@ export interface JMapState {
511
497
  modificationType: JMAP_MODIFICATION_TYPES
512
498
  attributions: JMapAttribution[]
513
499
  rasterOpacityByLayerId: { [id: JId]: number }
500
+ projection: JProjection
514
501
  }
515
502
 
516
503
  export interface JProjectState {
@@ -532,6 +519,12 @@ export interface JLayerState {
532
519
  vectorLayerIds: JId[]
533
520
  }
534
521
 
522
+ export interface JTableState {
523
+ isLoading: boolean
524
+ hasLoadingError: boolean
525
+ tables: JTable[]
526
+ }
527
+
535
528
  export interface JPhotoState {
536
529
  selectedPhotoId: JId | undefined
537
530
  photos: JPhoto[]
@@ -541,21 +534,23 @@ export interface JPhotoState {
541
534
  isDownloading: boolean
542
535
  }
543
536
 
544
- export interface JQueryState {
545
- groups: JQueryGroup[]
546
- queriesByLayerId: { [key in JId]: JQuery[] }
547
- }
548
-
549
537
  export interface JUserState extends JTokenInfo {
550
538
  isAnonymous: boolean
539
+ anonymousOrganizationId: string
540
+ anonymousProjectId: JId
551
541
  isLoggingIn: boolean
552
542
  isLoggingIntoOrganization: boolean
553
543
  isReloadingSession: boolean
554
- identity: JUserIdentity
544
+ identity: JUser
555
545
  currentOrganization: JOrganization // the organization in which the user is currently logged in
556
546
  organizationInfos: JOrganizationInfo[] // the info about all organizations the user belongs to
557
547
  informations: JUserInfo[]
558
548
  changePasswordAllowed: boolean
549
+ identityProviderType: JSERVER_IDENTITY_PROVIDER_TYPES
550
+ // from portal
551
+ loginStatus: LOGIN_STATUS
552
+ loginStatusDetailTranslationKey: string
553
+ callbackAtTokenRefresh: (() => void) | null
559
554
  }
560
555
 
561
556
  export interface JLanguageState {
@@ -570,6 +565,11 @@ export interface JServerState extends JServerInfo {
570
565
 
571
566
  export type JHistoryListener = (oldValue: string | undefined, newValue: string | undefined) => void
572
567
 
568
+ export interface JFormJMCService {
569
+ getJsonForm(dataSourceId: string): Promise<JJsonFormSchemas>
570
+ getForm(layerId: string): Promise<JFormJMC>
571
+ }
572
+
573
573
  export interface JFormService {
574
574
  // REPO METHODS
575
575
  getFormsMetaDataByLayerId(layerId: JId): Promise<JFormMetaData[]>
@@ -678,7 +678,7 @@ export interface JMapService {
678
678
  Selection: JMapSelectionService
679
679
  Basemap: JMapBasemapService
680
680
  Attribution: JMapAttributionService
681
- getMap(): Map
681
+ getMap(): maplibregl.Map
682
682
  getMapJSLib(): any
683
683
  getDomContainerId(): string
684
684
  getAllDistanceUnits(): JMAP_DISTANCE_UNITS[]
@@ -691,6 +691,12 @@ export interface JMapService {
691
691
  getZoom(): number
692
692
  getMaplibreSourceIdByJMapLayerId(layerId: JId): string
693
693
  isScaleControlVisible(): boolean
694
+ isTerrainAvailable(): boolean
695
+ isTerrainActive(): boolean
696
+ setTerrainActive(active: boolean): void
697
+ isTerrainControlVisible(): boolean
698
+ setSelectionStyle(layerId: JId, style: JLayerSetStyleParams): void
699
+ resetSelectionStyle(layerId: JId): void
694
700
  setScaleControlVisibility(isVisible: boolean, position?: JMAP_POSITIONS): void
695
701
  setScaleControlUnits(units: "imperial" | "metric" | "nautical"): void
696
702
  setScaleControlPosition(position: JMAP_POSITIONS): void
@@ -701,16 +707,13 @@ export interface JMapService {
701
707
  setMapRotationControlVisibility(isVisible: boolean): void
702
708
  isMapInfoControlVisible(): boolean
703
709
  setMapInfoControlVisibility(isVisible: boolean): void
710
+ setTerrainControlVisibility(isVisible: boolean): void
704
711
  isMapInfoControlExpanded(): boolean
705
712
  setMapInfoControlExpansion(isExpanded: boolean): void
706
- isLayerRendered(layerId: JId): boolean
707
- getLayersVisibilityStatus(): JMapLayersVisibilityStatus
708
- getLayersVisibilityStatusAsArray(): JMapLayerVisibilityStatus[]
709
713
  getMaplibreSupportedJMapLayerIds(): JId[]
710
714
  getMaplibreSupportedJMapLayerIdBefore(layerId: JId): JId | undefined
711
715
  getMaplibreSupportedJMapLayerIdAfter(layerId: JId): JId | undefined
712
716
  refreshLayerById(layerId: JId): void
713
- getRenderedJMapLayerIds(): JId[]
714
717
  getRenderedFeatures(layerId: JId, params?: JLocation | JBoundaryBox | JCircle | JGetRenderedFeaturesParams): Feature[]
715
718
  getSourceFeatures(layerId: JId, params?: JGetSourceFeaturesParams): Feature[]
716
719
  getRenderedFeaturesAttributeValues(
@@ -820,8 +823,8 @@ export interface JMapFilterService {
820
823
  }
821
824
 
822
825
  export interface JProjectionService {
823
- reprojectLocation(location: JLocation, toProjection: string, fromProjection?: string): JLocation
824
- reprojectBoundaryBox(boundaryBox: JBoundaryBox, toProjection: string, fromProjection?: string): JBoundaryBox
826
+ reprojectLocation(location: JLocation, toProjection: string, fromProjection?: string): Promise<JLocation>
827
+ reprojectBoundaryBox(boundaryBox: JBoundaryBox, toProjection: string, fromProjection?: string): Promise<JBoundaryBox>
825
828
  }
826
829
 
827
830
  export interface JProjectService {
@@ -850,6 +853,8 @@ export interface JProjectService {
850
853
  isChangeDisabled(): boolean
851
854
  setChangeEnabled(): void
852
855
  setChangeDisabled(): void
856
+ getElevationAtLocation(location: JLocation): Promise<number | null>
857
+ hasTerrain(): boolean
853
858
  }
854
859
 
855
860
  export interface JLayerService {
@@ -887,6 +892,16 @@ export interface JLayerService {
887
892
  deleteLayer(layerId: JId): void
888
893
  hasInformationReport(layerId: JId): boolean
889
894
  openInformationReportInNewTab(layerId: JId, featureIds: JId[]): Promise<string>
895
+ getDataSourceAttributes(dataSourceId: JId): Promise<JAttribute[]>
896
+ }
897
+
898
+ export interface JTableService {
899
+ getTables(): JTable[]
900
+ getTableData(dataSourceId: JId, params: JTableDataParams): Promise<JTableData>
901
+ getById(tableId: JId): JTable
902
+ createRow(dataSourceId: JId, row: { [key: string]: any }): Promise<void>
903
+ updateRow(dataSourceId: JId, rowId: number, row: { [key: string]: any }): Promise<void>
904
+ deleteRow(dataSourceId: JId, rowId: number): Promise<void>
890
905
  }
891
906
 
892
907
  export interface JLayerSearchService {
@@ -894,6 +909,8 @@ export interface JLayerSearchService {
894
909
  }
895
910
 
896
911
  export interface JLayerThematicService {
912
+ addThematic(params: JLayerAddThematicParams): Promise<void>
913
+ deleteThematic(layerId: JId, thematicId: JId): void
897
914
  getAllByLayerId(layerId: JId): JLayerThematic[]
898
915
  getById(layerId: JId, thematicId: JId): JLayerThematic
899
916
  existsById(layerId: JId, thematicId: JId): boolean
@@ -913,16 +930,19 @@ export interface JUserService {
913
930
  getOrganization(): JOrganization
914
931
  getFullName(): string
915
932
  getUsername(): string
933
+ getEmail(): string
916
934
  getPreference(name: string): Promise<string | null>
917
935
  hasPreference(name: string): Promise<boolean>
918
936
  removePreference(name: string): Promise<string | null>
919
937
  setPreference(name: string, value: string | undefined): Promise<void>
920
938
  setToken(token: string, organizationId?: string): Promise<JSessionData>
921
- login(login: string, password: string): Promise<JSessionData>
922
- loginIntoOrganization(organizationId: string): Promise<JSessionData>
939
+ login(login?: string, password?: string): Promise<JSessionData> | Promise<void>
940
+ loginIntoOrganization(organizationId: string): Promise<JSessionData> | Promise<void>
923
941
  loginWithIdentityProvider(providerId: string): void
924
942
  logout(): Promise<void>
925
943
  isLoggedIn(): boolean
944
+ isLoggedInOrAnonymous(): boolean
945
+ isAnonymous(): boolean
926
946
  getAllInfos(): JUserInfo[]
927
947
  addInfo(info: JUserInfo): void
928
948
  removeInfo(infoId: string): void
@@ -930,10 +950,7 @@ export interface JUserService {
930
950
  changeFullName(newFullName: string): Promise<void>
931
951
  getMinimumPasswordLength(): number
932
952
  isPasswordCompliant(password: string): boolean
933
- getPasswordPolicyCompliance(
934
- password: string
935
- ): JJMapServerPasswordPolicyCompliance | JJMapCloudPasswordPolicyCompliance
936
- isPseudoUser(): boolean
953
+ getPasswordPolicyCompliance(password: string): JJMapPasswordPolicyCompliance
937
954
  getOrganizationId(): string
938
955
  }
939
956
 
@@ -960,7 +977,7 @@ export interface JMouseOverService {
960
977
  openPopup(params: JMouseOverOpenPopupParams): void
961
978
  openPopupForSelection(params: JMouseOverOpenPopupForSelectionParams): void
962
979
  renderForFeaturesAtLocation(containerId: string, location: JLocation): boolean // return true if has mouseover
963
- renderForFeaturesSelection(containerId: string, selection: JMapSelection): boolean // return true if has mouseover
980
+ renderForFeaturesSelection(containerId: string, selection: JMapSelection, location?: JLocation): boolean // return true if has mouseover
964
981
  openInformationReportInNewTab(layerId: JId): Promise<string>
965
982
  }
966
983
 
@@ -975,10 +992,8 @@ export interface JExtensionService {
975
992
  export interface JServerService {
976
993
  isReady(): boolean
977
994
  getVersion(): JServerVersion
978
- getType(): JSERVER_TYPES
979
- isSaas(): boolean
980
- isLegacy(): boolean
981
- getMinimumVersion(): JMinimumServerVersion
995
+ //TODO: JIRA JMAP8-1655
996
+ getMinimumVersion(): JServerVersion
982
997
  isMinimumVersionRespected(serverInfo?: JServerInfo): boolean
983
998
  getShortVersion(): string
984
999
  isStandardLoginAvailable(): boolean
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "jmapcloud-ng-core-types",
3
- "version": "1.0.1003",
3
+ "version": "1.1.0",
4
4
  "description": "JMap Cloud specific version of JMap Cloud NG Core types and interfaces",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
8
8
  "pub": "export NODE_ENV='production'; node build/buildfile.js publish;",
9
- "copy": "export NODE_ENV='production'; node build/buildfile.js copy;",
10
9
  "commit-doc": "export NODE_ENV='production'; node build/buildfile.js commit-doc;",
11
10
  "doc-test": "export DOC_DIR='./docs/latest'; node build/buildfile.js doc-test;",
12
11
  "copy-latest": "node build/buildfile.js copy-latest;"
@@ -28,12 +27,14 @@
28
27
  },
29
28
  "homepage": "https://github.com/k2geospatial/jmapcloud-ng-core-types#readme",
30
29
  "devDependencies": {
31
- "typedoc": "^0.24.8"
30
+ "typedoc": "^0.25.13",
31
+ "patch-package": "^8.0.0"
32
32
  },
33
33
  "dependencies": {
34
- "@types/geojson": "^7946.0.7",
34
+ "@auth0/auth0-spa-js": "^2.1.3",
35
+ "@types/geojson": "^7946.0.14",
35
36
  "geojson": "^0.5.0",
36
- "maplibre-gl": "^3.2.1",
37
- "redux": "^4.0.0"
37
+ "maplibre-gl": "^4.7.1",
38
+ "redux": "^5.0.1"
38
39
  }
39
40
  }