@smartbit4all/ng-client 4.0.149 → 4.1.1

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.
Files changed (85) hide show
  1. package/esm2022/lib/smart-client/smart-component-api-client.mjs +32 -7
  2. package/esm2022/lib/smart-client/smart.component.mjs +12 -5
  3. package/esm2022/lib/smart-component-layout/smart-component-layout-utility.mjs +18 -1
  4. package/esm2022/lib/smart-component-layout/smart-component-layout.component.mjs +5 -2
  5. package/esm2022/lib/smart-map/abstract-map.mjs +74 -0
  6. package/esm2022/lib/smart-map/api/api/api.mjs +4 -0
  7. package/esm2022/lib/smart-map/api/api/geoMap.service.mjs +312 -0
  8. package/esm2022/lib/smart-map/api/api.module.mjs +40 -0
  9. package/esm2022/lib/smart-map/api/configuration.mjs +91 -0
  10. package/esm2022/lib/smart-map/api/encoder.mjs +19 -0
  11. package/esm2022/lib/smart-map/api/index.mjs +7 -0
  12. package/esm2022/lib/smart-map/api/model/gPSPosition.mjs +13 -0
  13. package/esm2022/lib/smart-map/api/model/geoMapChange.mjs +2 -0
  14. package/esm2022/lib/smart-map/api/model/geoMapDataLoadingMode.mjs +17 -0
  15. package/esm2022/lib/smart-map/api/model/geoMapDataSourceDescriptor.mjs +2 -0
  16. package/esm2022/lib/smart-map/api/model/geoMapDataSourceType.mjs +18 -0
  17. package/esm2022/lib/smart-map/api/model/geoMapInteraction.mjs +2 -0
  18. package/esm2022/lib/smart-map/api/model/geoMapItem.mjs +2 -0
  19. package/esm2022/lib/smart-map/api/model/geoMapItemKind.mjs +18 -0
  20. package/esm2022/lib/smart-map/api/model/geoMapLayer.mjs +2 -0
  21. package/esm2022/lib/smart-map/api/model/geoMapLayerChange.mjs +2 -0
  22. package/esm2022/lib/smart-map/api/model/geoMapLayerDescriptor.mjs +2 -0
  23. package/esm2022/lib/smart-map/api/model/geoMapModel.mjs +2 -0
  24. package/esm2022/lib/smart-map/api/model/geoMapOperationMode.mjs +18 -0
  25. package/esm2022/lib/smart-map/api/model/geoMapSelectionMode.mjs +18 -0
  26. package/esm2022/lib/smart-map/api/model/geoMapServerModel.mjs +2 -0
  27. package/esm2022/lib/smart-map/api/model/geoMapTextType.mjs +17 -0
  28. package/esm2022/lib/smart-map/api/model/geoMapViewState.mjs +2 -0
  29. package/esm2022/lib/smart-map/api/model/geoMapViewport.mjs +2 -0
  30. package/esm2022/lib/smart-map/api/model/models.mjs +19 -0
  31. package/esm2022/lib/smart-map/api/param.mjs +2 -0
  32. package/esm2022/lib/smart-map/api/variables.mjs +9 -0
  33. package/esm2022/lib/smart-map/api-default/api-default.mjs +2 -0
  34. package/esm2022/lib/smart-map/impl/google-map.mjs +220 -0
  35. package/esm2022/lib/smart-map/impl/leaflet-map.mjs +165 -0
  36. package/esm2022/lib/smart-map/projects.mjs +9 -0
  37. package/esm2022/lib/smart-map/smart-map.component.mjs +193 -0
  38. package/esm2022/lib/smart-map/smart-map.module.mjs +22 -0
  39. package/esm2022/lib/smart-map/smart-map.types.mjs +2 -0
  40. package/esm2022/projects.mjs +2 -1
  41. package/fesm2022/smartbit4all-ng-client.mjs +1415 -140
  42. package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
  43. package/lib/smart-client/smart-component-api-client.d.ts +9 -6
  44. package/lib/smart-client/smart.component.d.ts +7 -4
  45. package/lib/smart-component-layout/smart-component-layout-utility.d.ts +3 -1
  46. package/lib/smart-component-layout/smart-component-layout.component.d.ts +3 -0
  47. package/lib/smart-map/abstract-map.d.ts +32 -0
  48. package/lib/smart-map/api/api/api.d.ts +3 -0
  49. package/lib/smart-map/api/api/geoMap.service.d.ts +101 -0
  50. package/lib/smart-map/api/api.module.d.ts +11 -0
  51. package/lib/smart-map/api/configuration.d.ts +104 -0
  52. package/lib/smart-map/api/encoder.d.ts +11 -0
  53. package/lib/smart-map/api/index.d.ts +6 -0
  54. package/lib/smart-map/api/model/gPSPosition.d.ts +32 -0
  55. package/lib/smart-map/api/model/geoMapChange.d.ts +19 -0
  56. package/lib/smart-map/api/model/geoMapDataLoadingMode.d.ts +15 -0
  57. package/lib/smart-map/api/model/geoMapDataSourceDescriptor.d.ts +50 -0
  58. package/lib/smart-map/api/model/geoMapDataSourceType.d.ts +16 -0
  59. package/lib/smart-map/api/model/geoMapInteraction.d.ts +22 -0
  60. package/lib/smart-map/api/model/geoMapItem.d.ts +38 -0
  61. package/lib/smart-map/api/model/geoMapItemKind.d.ts +16 -0
  62. package/lib/smart-map/api/model/geoMapLayer.d.ts +19 -0
  63. package/lib/smart-map/api/model/geoMapLayerChange.d.ts +20 -0
  64. package/lib/smart-map/api/model/geoMapLayerDescriptor.d.ts +28 -0
  65. package/lib/smart-map/api/model/geoMapModel.d.ts +27 -0
  66. package/lib/smart-map/api/model/geoMapOperationMode.d.ts +16 -0
  67. package/lib/smart-map/api/model/geoMapSelectionMode.d.ts +16 -0
  68. package/lib/smart-map/api/model/geoMapServerModel.d.ts +28 -0
  69. package/lib/smart-map/api/model/geoMapTextType.d.ts +15 -0
  70. package/lib/smart-map/api/model/geoMapViewState.d.ts +25 -0
  71. package/lib/smart-map/api/model/geoMapViewport.d.ts +20 -0
  72. package/lib/smart-map/api/model/models.d.ts +18 -0
  73. package/lib/smart-map/api/param.d.ts +37 -0
  74. package/lib/smart-map/api/variables.d.ts +8 -0
  75. package/lib/smart-map/api-default/api-default.d.ts +2 -0
  76. package/lib/smart-map/impl/google-map.d.ts +21 -0
  77. package/lib/smart-map/impl/leaflet-map.d.ts +15 -0
  78. package/lib/smart-map/projects.d.ts +8 -0
  79. package/lib/smart-map/smart-map.component.d.ts +33 -0
  80. package/lib/smart-map/smart-map.module.d.ts +11 -0
  81. package/lib/smart-map/smart-map.types.d.ts +21 -0
  82. package/package.json +1 -1
  83. package/projects.d.ts +1 -0
  84. package/smartbit4all-ng-client-4.1.1.tgz +0 -0
  85. package/smartbit4all-ng-client-4.0.149.tgz +0 -0
@@ -1,12 +1,13 @@
1
1
  import { ChangeDetectorRef, ElementRef, Injector, QueryList, Renderer2 } from '@angular/core';
2
2
  import { Subject, Subscription } from 'rxjs';
3
+ import { SmartComponentLayoutComponent } from '../smart-component-layout/projects';
4
+ import { SmartFilterEditorContentComponent } from '../smart-filter-editor/project';
5
+ import { SmartForm, SmartFormInvalidFields, SmartformComponent, SophisticatedValueChange } from '../smart-form/projects';
6
+ import { GridOptions, SmartGrid, SmartGridComponent } from '../smart-grid/projects';
7
+ import { SmartMapComponent } from '../smart-map/smart-map.component';
3
8
  import { SmarttreeGenericService } from '../smart-tree/projects';
4
9
  import { ComponentModel, ComponentModelChange, ExecuteUiActionOptions, SmartTranslateService, SmartViewContextService, UiAction, UiActionAdditionalParams, UiActionDescriptorService, UiActionModel, UiActionRequest, UiActionService, UiActionSpecificDemandResponse, UiActionToolbarComponent, UseUiAction2 } from '../view-context/projects';
5
10
  import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
6
- import { GridOptions, SmartGrid, SmartGridComponent } from '../smart-grid/projects';
7
- import { SmartForm, SmartFormInvalidFields, SmartformComponent, SophisticatedValueChange } from '../smart-form/projects';
8
- import { SmartComponentLayoutComponent } from '../smart-component-layout/projects';
9
- import { SmartFilterEditorContentComponent } from '../smart-filter-editor/project';
10
11
  export declare abstract class SmartComponentApiClient<T> implements UseUiAction2 {
11
12
  protected inject: Injector;
12
13
  protected auth: SmartAuthenticationServiceInterface;
@@ -37,7 +38,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
37
38
  private _smartTreeService?;
38
39
  get smartTreeService(): SmarttreeGenericService | undefined;
39
40
  set smartTreeService(smartTreeService: SmarttreeGenericService | undefined);
40
- widgets: Map<string, SmartGridComponent | SmarttreeGenericService | undefined>;
41
+ widgets: Map<string, SmartGridComponent | SmarttreeGenericService | SmartMapComponent | undefined>;
41
42
  formWidgets: Map<string, SmartformComponent | undefined>;
42
43
  useQueryLists: boolean;
43
44
  sendModelOnWidgetAction: boolean;
@@ -59,10 +60,12 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
59
60
  protected abstract getSmartFilterEditorContentComponentsQL(): QueryList<SmartFilterEditorContentComponent> | undefined;
60
61
  protected abstract getSmartUiActionToolbarsQL(): QueryList<UiActionToolbarComponent> | undefined;
61
62
  protected abstract getSmartComponentLayoutsQL(): QueryList<SmartComponentLayoutComponent> | undefined;
62
- protected getWidgets(): Map<string, SmartGridComponent | SmarttreeGenericService | SmartFilterEditorContentComponent | undefined>;
63
+ protected abstract getSmartMapQL(): QueryList<SmartMapComponent> | undefined;
64
+ protected getWidgets(): Map<string, SmartGridComponent | SmarttreeGenericService | SmartFilterEditorContentComponent | SmartMapComponent | undefined>;
63
65
  initComponentByModel(): void;
64
66
  protected getAllSmartFormComponents(): SmartformComponent[];
65
67
  protected getAllSmartGridComponents(): SmartGridComponent[];
68
+ protected getAllSmartMapComponents(): Array<SmartMapComponent>;
66
69
  protected getAllSmartTreeComponents(): SmarttreeGenericService[];
67
70
  protected getAllSmartFilterEditorContentComponents(): SmartFilterEditorContentComponent[];
68
71
  protected getAllSmartUiActionToolbars(): UiActionToolbarComponent[];
@@ -1,12 +1,13 @@
1
1
  import { AfterViewInit, ElementRef, Injector, OnDestroy, OnInit, QueryList, Renderer2 } from '@angular/core';
2
- import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
3
- import { SmartComponentApiClient } from './smart-component-api-client';
2
+ import { SmartComponentLayoutComponent } from '../smart-component-layout/projects';
3
+ import { SmartFilterEditorContentComponent } from '../smart-filter-editor/project';
4
4
  import { SmartformComponent } from '../smart-form/projects';
5
5
  import { SmartGridComponent } from '../smart-grid/projects';
6
+ import { SmartMapComponent } from '../smart-map/smart-map.component';
6
7
  import { SmarttreeGenericService } from '../smart-tree/projects';
7
- import { SmartComponentLayoutComponent } from '../smart-component-layout/projects';
8
- import { SmartFilterEditorContentComponent } from '../smart-filter-editor/project';
9
8
  import { UiActionToolbarComponent } from '../view-context/projects';
9
+ import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
10
+ import { SmartComponentApiClient } from './smart-component-api-client';
10
11
  import * as i0 from "@angular/core";
11
12
  export declare abstract class SmartComponent<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy, AfterViewInit {
12
13
  smartFormsQL: QueryList<SmartformComponent>;
@@ -15,6 +16,7 @@ export declare abstract class SmartComponent<T> extends SmartComponentApiClient<
15
16
  smartComponentLayoutsQL: QueryList<SmartComponentLayoutComponent>;
16
17
  smartFilterEditorContentComponentsQL: QueryList<SmartFilterEditorContentComponent>;
17
18
  smartUiActionToolbarsQL: QueryList<UiActionToolbarComponent>;
19
+ smartMapQL: QueryList<SmartMapComponent>;
18
20
  constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName?: string, _componentName?: string, element?: ElementRef, renderer?: Renderer2);
19
21
  ngOnInit(): void;
20
22
  ngOnDestroy(): void;
@@ -25,6 +27,7 @@ export declare abstract class SmartComponent<T> extends SmartComponentApiClient<
25
27
  getSmartComponentLayoutsQL(): QueryList<SmartComponentLayoutComponent> | undefined;
26
28
  getSmartFilterEditorContentComponentsQL(): QueryList<SmartFilterEditorContentComponent> | undefined;
27
29
  getSmartUiActionToolbarsQL(): QueryList<UiActionToolbarComponent> | undefined;
30
+ getSmartMapQL(): QueryList<SmartMapComponent> | undefined;
28
31
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponent<any>, never>;
29
32
  static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
30
33
  }
@@ -1,12 +1,14 @@
1
+ import { ElementRef, Renderer2 } from '@angular/core';
1
2
  import { SmartformComponent } from '../smart-form/projects';
2
3
  import { SmartGridComponent } from '../smart-grid/projects';
4
+ import { SmartMapComponent } from '../smart-map/smart-map.component';
3
5
  import { SmarttreeGenericService } from '../smart-tree/projects';
4
6
  import { Style, UiActionToolbarComponent } from '../view-context/projects';
5
7
  import { SmartComponentLayoutComponent } from './smart-component-layout.component';
6
- import { ElementRef, Renderer2 } from '@angular/core';
7
8
  export declare class SmartComponentLayoutUtility {
8
9
  static getForms(comp: SmartComponentLayoutComponent): SmartformComponent[];
9
10
  static getGrids(comp: SmartComponentLayoutComponent): SmartGridComponent[];
11
+ static getMaps(comp: SmartComponentLayoutComponent): Array<SmartMapComponent>;
10
12
  static getTrees(comp: SmartComponentLayoutComponent): SmarttreeGenericService[];
11
13
  static getToolbars(comp: SmartComponentLayoutComponent): UiActionToolbarComponent[];
12
14
  static getExpandableComponent(comp: SmartComponentLayoutComponent): SmartComponentLayoutComponent;
@@ -7,6 +7,7 @@ import { SmarttreeGenericService } from '../smart-tree/projects';
7
7
  import { ExpandableSection, ExpandableSectionComponent } from '../smart-expandable-section/projects';
8
8
  import { Subject } from 'rxjs';
9
9
  import { UiActionToolbarComponent } from '../view-context/projects';
10
+ import { SmartMapComponent } from "../smart-map/smart-map.component";
10
11
  import * as i0 from "@angular/core";
11
12
  export declare class SmartComponentLayoutComponent implements AfterViewInit, OnDestroy, OnChanges {
12
13
  private layoutService;
@@ -25,6 +26,8 @@ export declare class SmartComponentLayoutComponent implements AfterViewInit, OnD
25
26
  smartGridList: QueryList<SmartGridComponent>;
26
27
  smartGridComponent?: SmartGridComponent;
27
28
  smartGrid?: SmartGrid;
29
+ smartMapList: QueryList<SmartMapComponent>;
30
+ smartMapComponent?: SmartMapComponent;
28
31
  smartFilterList: QueryList<SmartFilterComponent>;
29
32
  smartFilterComponent?: SmartFilterComponent;
30
33
  smartFilter?: SmartFilter;
@@ -0,0 +1,32 @@
1
+ import { ChangeDetectorRef, EffectRef, ElementRef, EventEmitter, NgZone, Signal } from '@angular/core';
2
+ import { GeoMapItem, GeoMapModel, GeoMapOperationMode } from './api';
3
+ import { MapClickedEvent, MapDraggedEvent, MapItemClickedEvent, MapZoomChangedEvent } from './smart-map.types';
4
+ import * as i0 from "@angular/core";
5
+ export interface RecordWithId {
6
+ id: string;
7
+ record: any;
8
+ }
9
+ export type GeoMapItemFactory = (it: GeoMapItem) => any;
10
+ export declare abstract class AbstractMap {
11
+ el: ElementRef;
12
+ cd: ChangeDetectorRef;
13
+ zone: NgZone;
14
+ protected itemFactory: GeoMapItemFactory;
15
+ readonly model: import("@angular/core").InputSignal<GeoMapModel>;
16
+ readonly items: import("@angular/core").InputSignal<GeoMapItem[]>;
17
+ onMapClick: EventEmitter<MapClickedEvent>;
18
+ onOverlayClick: EventEmitter<MapItemClickedEvent>;
19
+ onMapDragEnd: EventEmitter<MapDraggedEvent>;
20
+ onZoomChanged: EventEmitter<MapZoomChangedEvent>;
21
+ selection: Signal<Array<string>>;
22
+ pending: Signal<Array<string>>;
23
+ operationMode: Signal<GeoMapOperationMode>;
24
+ protected readonly overlays: Map<string, any>;
25
+ protected readonly onItemsChanged: EffectRef;
26
+ map: any;
27
+ protected constructor(el: ElementRef, cd: ChangeDetectorRef, zone: NgZone, itemFactory: GeoMapItemFactory);
28
+ private initChangeEffect;
29
+ abstract handleItemChanges(toRemove: Array<RecordWithId>, toAdd: Array<RecordWithId>): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractMap, never>;
31
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractMap, never, never, { "model": { "alias": "model"; "required": true; "isSignal": true; }; "items": { "alias": "items"; "required": true; "isSignal": true; }; }, { "onMapClick": "onMapClick"; "onOverlayClick": "onOverlayClick"; "onMapDragEnd": "onMapDragEnd"; "onZoomChanged": "onZoomChanged"; }, never, never, false, never>;
32
+ }
@@ -0,0 +1,3 @@
1
+ export * from './geoMap.service';
2
+ import { GeoMapService } from './geoMap.service';
3
+ export declare const APIS: (typeof GeoMapService)[];
@@ -0,0 +1,101 @@
1
+ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { GeoMapChange } from '../model/geoMapChange';
4
+ import { GeoMapInteraction } from '../model/geoMapInteraction';
5
+ import { GeoMapModel } from '../model/geoMapModel';
6
+ import { GeoMapViewState } from '../model/geoMapViewState';
7
+ import { GeoMapViewport } from '../model/geoMapViewport';
8
+ import { ViewContextChange } from '../../../view-context/api/model/viewContextChange';
9
+ import { Configuration } from '../configuration';
10
+ import * as i0 from "@angular/core";
11
+ export declare class GeoMapService {
12
+ protected httpClient: HttpClient;
13
+ protected basePath: string;
14
+ defaultHeaders: HttpHeaders;
15
+ configuration: Configuration;
16
+ encoder: HttpParameterCodec;
17
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
18
+ private addToHttpParams;
19
+ private addToHttpParamsRecursive;
20
+ /**
21
+ *
22
+ * @param uuid
23
+ * @param identifier
24
+ * @param geoMapInteraction
25
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
26
+ * @param reportProgress flag to report request and response progress.
27
+ */
28
+ interact(uuid: string, identifier: string, geoMapInteraction: GeoMapInteraction, observe?: 'body', reportProgress?: boolean, options?: {
29
+ httpHeaderAccept?: 'application/json';
30
+ context?: HttpContext;
31
+ }): Observable<ViewContextChange>;
32
+ interact(uuid: string, identifier: string, geoMapInteraction: GeoMapInteraction, observe?: 'response', reportProgress?: boolean, options?: {
33
+ httpHeaderAccept?: 'application/json';
34
+ context?: HttpContext;
35
+ }): Observable<HttpResponse<ViewContextChange>>;
36
+ interact(uuid: string, identifier: string, geoMapInteraction: GeoMapInteraction, observe?: 'events', reportProgress?: boolean, options?: {
37
+ httpHeaderAccept?: 'application/json';
38
+ context?: HttpContext;
39
+ }): Observable<HttpEvent<ViewContextChange>>;
40
+ /**
41
+ *
42
+ * @param uuid
43
+ * @param identifier
44
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
45
+ * @param reportProgress flag to report request and response progress.
46
+ */
47
+ load(uuid: string, identifier: string, observe?: 'body', reportProgress?: boolean, options?: {
48
+ httpHeaderAccept?: 'application/json';
49
+ context?: HttpContext;
50
+ }): Observable<GeoMapModel>;
51
+ load(uuid: string, identifier: string, observe?: 'response', reportProgress?: boolean, options?: {
52
+ httpHeaderAccept?: 'application/json';
53
+ context?: HttpContext;
54
+ }): Observable<HttpResponse<GeoMapModel>>;
55
+ load(uuid: string, identifier: string, observe?: 'events', reportProgress?: boolean, options?: {
56
+ httpHeaderAccept?: 'application/json';
57
+ context?: HttpContext;
58
+ }): Observable<HttpEvent<GeoMapModel>>;
59
+ /**
60
+ *
61
+ * @param uuid
62
+ * @param identifier
63
+ * @param geoMapViewport
64
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
65
+ * @param reportProgress flag to report request and response progress.
66
+ */
67
+ move(uuid: string, identifier: string, geoMapViewport: GeoMapViewport, observe?: 'body', reportProgress?: boolean, options?: {
68
+ httpHeaderAccept?: 'application/json';
69
+ context?: HttpContext;
70
+ }): Observable<GeoMapChange>;
71
+ move(uuid: string, identifier: string, geoMapViewport: GeoMapViewport, observe?: 'response', reportProgress?: boolean, options?: {
72
+ httpHeaderAccept?: 'application/json';
73
+ context?: HttpContext;
74
+ }): Observable<HttpResponse<GeoMapChange>>;
75
+ move(uuid: string, identifier: string, geoMapViewport: GeoMapViewport, observe?: 'events', reportProgress?: boolean, options?: {
76
+ httpHeaderAccept?: 'application/json';
77
+ context?: HttpContext;
78
+ }): Observable<HttpEvent<GeoMapChange>>;
79
+ /**
80
+ *
81
+ * @param uuid
82
+ * @param identifier
83
+ * @param geoMapViewState
84
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
85
+ * @param reportProgress flag to report request and response progress.
86
+ */
87
+ update(uuid: string, identifier: string, geoMapViewState: GeoMapViewState, observe?: 'body', reportProgress?: boolean, options?: {
88
+ httpHeaderAccept?: 'application/json';
89
+ context?: HttpContext;
90
+ }): Observable<GeoMapChange>;
91
+ update(uuid: string, identifier: string, geoMapViewState: GeoMapViewState, observe?: 'response', reportProgress?: boolean, options?: {
92
+ httpHeaderAccept?: 'application/json';
93
+ context?: HttpContext;
94
+ }): Observable<HttpResponse<GeoMapChange>>;
95
+ update(uuid: string, identifier: string, geoMapViewState: GeoMapViewState, observe?: 'events', reportProgress?: boolean, options?: {
96
+ httpHeaderAccept?: 'application/json';
97
+ context?: HttpContext;
98
+ }): Observable<HttpEvent<GeoMapChange>>;
99
+ static ɵfac: i0.ɵɵFactoryDeclaration<GeoMapService, [null, { optional: true; }, { optional: true; }]>;
100
+ static ɵprov: i0.ɵɵInjectableDeclaration<GeoMapService>;
101
+ }
@@ -0,0 +1,11 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { Configuration } from './configuration';
3
+ import { HttpClient } from '@angular/common/http';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ApiModule {
6
+ static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule>;
7
+ constructor(parentModule: ApiModule, http: HttpClient);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ApiModule, never, never, never>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<ApiModule>;
11
+ }
@@ -0,0 +1,104 @@
1
+ import { HttpParameterCodec } from '@angular/common/http';
2
+ import { Param } from './param';
3
+ export interface ConfigurationParameters {
4
+ /**
5
+ * @deprecated Since 5.0. Use credentials instead
6
+ */
7
+ apiKeys?: {
8
+ [key: string]: string;
9
+ };
10
+ username?: string;
11
+ password?: string;
12
+ /**
13
+ * @deprecated Since 5.0. Use credentials instead
14
+ */
15
+ accessToken?: string | (() => string);
16
+ basePath?: string;
17
+ withCredentials?: boolean;
18
+ /**
19
+ * Takes care of encoding query- and form-parameters.
20
+ */
21
+ encoder?: HttpParameterCodec;
22
+ /**
23
+ * Override the default method for encoding path parameters in various
24
+ * <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
25
+ * <p>
26
+ * See {@link README.md} for more details
27
+ * </p>
28
+ */
29
+ encodeParam?: (param: Param) => string;
30
+ /**
31
+ * The keys are the names in the securitySchemes section of the OpenAPI
32
+ * document. They should map to the value used for authentication
33
+ * minus any standard prefixes such as 'Basic' or 'Bearer'.
34
+ */
35
+ credentials?: {
36
+ [key: string]: string | (() => string | undefined);
37
+ };
38
+ }
39
+ export declare class Configuration {
40
+ /**
41
+ * @deprecated Since 5.0. Use credentials instead
42
+ */
43
+ apiKeys?: {
44
+ [key: string]: string;
45
+ };
46
+ username?: string;
47
+ password?: string;
48
+ /**
49
+ * @deprecated Since 5.0. Use credentials instead
50
+ */
51
+ accessToken?: string | (() => string);
52
+ basePath?: string;
53
+ withCredentials?: boolean;
54
+ /**
55
+ * Takes care of encoding query- and form-parameters.
56
+ */
57
+ encoder?: HttpParameterCodec;
58
+ /**
59
+ * Encoding of various path parameter
60
+ * <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
61
+ * <p>
62
+ * See {@link README.md} for more details
63
+ * </p>
64
+ */
65
+ encodeParam: (param: Param) => string;
66
+ /**
67
+ * The keys are the names in the securitySchemes section of the OpenAPI
68
+ * document. They should map to the value used for authentication
69
+ * minus any standard prefixes such as 'Basic' or 'Bearer'.
70
+ */
71
+ credentials: {
72
+ [key: string]: string | (() => string | undefined);
73
+ };
74
+ constructor(configurationParameters?: ConfigurationParameters);
75
+ /**
76
+ * Select the correct content-type to use for a request.
77
+ * Uses {@link Configuration#isJsonMime} to determine the correct content-type.
78
+ * If no content type is found return the first found type if the contentTypes is not empty
79
+ * @param contentTypes - the array of content types that are available for selection
80
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
81
+ */
82
+ selectHeaderContentType(contentTypes: string[]): string | undefined;
83
+ /**
84
+ * Select the correct accept content-type to use for a request.
85
+ * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
86
+ * If no content type is found return the first found type if the contentTypes is not empty
87
+ * @param accepts - the array of content types that are available for selection.
88
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
89
+ */
90
+ selectHeaderAccept(accepts: string[]): string | undefined;
91
+ /**
92
+ * Check if the given MIME is a JSON MIME.
93
+ * JSON MIME examples:
94
+ * application/json
95
+ * application/json; charset=UTF8
96
+ * APPLICATION/JSON
97
+ * application/vnd.company+json
98
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
99
+ * @return True if the given MIME is JSON, false otherwise.
100
+ */
101
+ isJsonMime(mime: string): boolean;
102
+ lookupCredential(key: string): string | undefined;
103
+ private defaultEncodeParam;
104
+ }
@@ -0,0 +1,11 @@
1
+ import { HttpParameterCodec } from '@angular/common/http';
2
+ /**
3
+ * Custom HttpParameterCodec
4
+ * Workaround for https://github.com/angular/angular/issues/18261
5
+ */
6
+ export declare class CustomHttpParameterCodec implements HttpParameterCodec {
7
+ encodeKey(k: string): string;
8
+ encodeValue(v: string): string;
9
+ decodeKey(k: string): string;
10
+ decodeValue(v: string): string;
11
+ }
@@ -0,0 +1,6 @@
1
+ export * from './api/api';
2
+ export * from './model/models';
3
+ export * from './variables';
4
+ export * from './configuration';
5
+ export * from './api.module';
6
+ export * from './param';
@@ -0,0 +1,32 @@
1
+ /**
2
+ * GeoMap api
3
+ * The geomap api is resposible for the geomap components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * The position defined by the gps coordinates.
14
+ */
15
+ export interface GPSPosition {
16
+ /**
17
+ * The latitude of the GPS position
18
+ */
19
+ latitude: number;
20
+ /**
21
+ * The longitude of the GPS position
22
+ */
23
+ longitude: number;
24
+ /**
25
+ * The reference Sea that gives the zero height level. It is just an information not necessary to set.
26
+ */
27
+ referenceSea?: string;
28
+ /**
29
+ * The height above reference sea level.
30
+ */
31
+ height?: number;
32
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * GeoMap api
3
+ * The geomap api is resposible for the geomap components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { GeoMapLayerChange } from './geoMapLayerChange';
13
+ /**
14
+ * This object containt the page information of the content. The currently seen row range, the total row cont and other options.
15
+ */
16
+ export interface GeoMapChange {
17
+ code?: string;
18
+ items: Array<GeoMapLayerChange>;
19
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * GeoMap api
3
+ * The geomap api is resposible for the geomap components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare enum GeoMapDataLoadingMode {
13
+ INTERACTION = "ON_INTERACTION",
14
+ CREATION = "ON_CREATION"
15
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * GeoMap api
3
+ * The geomap api is resposible for the geomap components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { GeoMapDataLoadingMode } from './geoMapDataLoadingMode';
13
+ import { InvocationRequest } from '../../api-default/api-default';
14
+ import { StoredCollectionDescriptor } from '../../api-default/api-default';
15
+ import { GeoMapDataSourceType } from './geoMapDataSourceType';
16
+ import { FilterExpressionList } from '../../../smart-filter/api/filter/model/filterExpressionList';
17
+ import { GeoMapItemKind } from './geoMapItemKind';
18
+ export interface GeoMapDataSourceDescriptor {
19
+ /**
20
+ * Uniquely identifies the the data source for a given map. May be retrieved from GeoMapApi if the data source needs to be modified after map creation.
21
+ */
22
+ id?: string;
23
+ targetLayer?: string;
24
+ sourceType?: GeoMapDataSourceType;
25
+ itemKind?: GeoMapItemKind;
26
+ loadingMode?: GeoMapDataLoadingMode;
27
+ sourceCollection?: StoredCollectionDescriptor;
28
+ pathToId?: Array<string>;
29
+ pathToPosition?: Array<string>;
30
+ /**
31
+ * Define what kind of item to create
32
+ */
33
+ pathToBounds?: Array<string>;
34
+ pathToTitle?: Array<string>;
35
+ pathToDescription?: Array<string>;
36
+ includeIf?: Array<string>;
37
+ inclusionPredicate?: InvocationRequest;
38
+ searchIndexSchema?: string;
39
+ searchIndexName?: string;
40
+ idColumn?: string;
41
+ titleColumn?: string;
42
+ descriptionColumn?: string;
43
+ latitudeColumn?: string;
44
+ longitudeColumn?: string;
45
+ filterExpressionList?: FilterExpressionList;
46
+ /**
47
+ * GeoMapViewport -> List<GeoMapItem>
48
+ */
49
+ invocationRequest?: InvocationRequest;
50
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * GeoMap api
3
+ * The geomap api is resposible for the geomap components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare enum GeoMapDataSourceType {
13
+ STORED_COLLECTION = "STORED_COLLECTION",
14
+ SEARCH_INDEX = "SEARCH_INDEX",
15
+ INVOCATION_REQUEST = "INVOCATION_REQUEST"
16
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * GeoMap api
3
+ * The geomap api is resposible for the geomap components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { GeoMapOperationMode } from './geoMapOperationMode';
13
+ import { GeoMapItem } from './geoMapItem';
14
+ export interface GeoMapInteraction {
15
+ operationMode: GeoMapOperationMode;
16
+ targetLayer: string;
17
+ targetItem: GeoMapItem;
18
+ /**
19
+ * Marks inverse operations (unselect, remove pending placement)
20
+ */
21
+ inverse: boolean;
22
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * GeoMap api
3
+ * The geomap api is resposible for the geomap components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ImageResource } from '../../../view-context/api/model/imageResource';
13
+ import { Style } from '../../../view-context/api/model/style';
14
+ import { UiAction } from '../../../view-context/api/model/uiAction';
15
+ import { GeoMapItemKind } from './geoMapItemKind';
16
+ import { GPSPosition } from './gPSPosition';
17
+ /**
18
+ * This object is a geomap row containening the identifier and actions releted with the row.
19
+ */
20
+ export interface GeoMapItem {
21
+ id?: string;
22
+ kind?: GeoMapItemKind;
23
+ actions: Array<UiAction>;
24
+ data?: object;
25
+ selectable?: boolean;
26
+ selected?: boolean;
27
+ label?: string;
28
+ description?: string;
29
+ icons: {
30
+ [key: string]: Array<ImageResource>;
31
+ };
32
+ /**
33
+ * If present, this Style will be applied to the row.
34
+ */
35
+ style?: Style;
36
+ position?: GPSPosition;
37
+ bounds: Array<GPSPosition>;
38
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * GeoMap api
3
+ * The geomap api is resposible for the geomap components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare enum GeoMapItemKind {
13
+ MARKER = "MARKER",
14
+ POLYGON = "POLYGON",
15
+ LINE = "LINE"
16
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * GeoMap api
3
+ * The geomap api is resposible for the geomap components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { GeoMapItem } from './geoMapItem';
13
+ /**
14
+ * This object containt the page information of the content. The currently seen row range, the total row cont and other options.
15
+ */
16
+ export interface GeoMapLayer {
17
+ code?: string;
18
+ items: Array<GeoMapItem>;
19
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * GeoMap api
3
+ * The geomap api is resposible for the geomap components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { GeoMapItem } from './geoMapItem';
13
+ /**
14
+ * This object containt the page information of the content. The currently seen row range, the total row cont and other options.
15
+ */
16
+ export interface GeoMapLayerChange {
17
+ code?: string;
18
+ toAdd: Array<GeoMapItem>;
19
+ toRemove: Array<string>;
20
+ }