raain-app 1.6.21 → 1.6.24
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/CHANGELOG.md +17 -1
- package/cumulative-selector/cumulative-selector.component.d.ts +45 -0
- package/esm2020/cumulative-selector/cumulative-selector.component.mjs +199 -0
- package/esm2020/index.mjs +2 -1
- package/esm2020/profile.service.mjs +55 -1
- package/esm2020/raain-compare-stack/raain-compare-stack.component.mjs +3 -3
- package/esm2020/raain-details/raain-details.component.mjs +73 -7
- package/esm2020/shared.module.mjs +8 -3
- package/esm2020/tools/CompareManager.mjs +31 -8
- package/esm2020/tools/RefreshManager.mjs +2 -2
- package/fesm2015/raain-app.mjs +1622 -1267
- package/fesm2015/raain-app.mjs.map +1 -1
- package/fesm2020/raain-app.mjs +1515 -1175
- package/fesm2020/raain-app.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +2 -2
- package/profile.service.d.ts +14 -1
- package/raain-details/raain-details.component.d.ts +7 -1
- package/shared.module.d.ts +6 -5
- package/tools/CompareManager.d.ts +8 -2
package/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './raain-speed/raain-speed.component';
|
|
|
7
7
|
export * from './raain-compare-stack/raain-compare-stack.component';
|
|
8
8
|
export * from './raain-globe/raain-globe.component';
|
|
9
9
|
export * from './raain-details/raain-details.component';
|
|
10
|
+
export * from './cumulative-selector/cumulative-selector.component';
|
|
10
11
|
export * from './tools';
|
|
11
12
|
export * from './cache.service';
|
|
12
13
|
export * from './fidj-storage.model';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "raain-app",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.24",
|
|
4
4
|
"author": "contact@radartorain.com",
|
|
5
5
|
"homepage": "https://app.radartorain.com",
|
|
6
6
|
"description": "RadarToRain app",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"ionicons": "~6.0.3",
|
|
26
26
|
"leaflet": "~1.9.3",
|
|
27
27
|
"pixi.js": "~5.3.12",
|
|
28
|
-
"raain-model": "~3.1.
|
|
28
|
+
"raain-model": "~3.1.15",
|
|
29
29
|
"raain-ui": "~2.3.25",
|
|
30
30
|
"rxjs": "~7.5.0",
|
|
31
31
|
"tslib": "~2.3.0",
|
package/profile.service.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { EventNode, GaugeMeasure, GaugeNode, LatLng, RaainApiRainsIndicatorsResponse, RadarNode, RainComputationMap, RainComputationQuality, RainNode, TeamNode } from 'raain-model';
|
|
3
|
+
import { EventNode, GaugeMeasure, GaugeNode, LatLng, RaainApiRainsIndicatorsResponse, RaainApiRainsCumulativesListResponse, RaainApiRainsCumulativesCreateResponse, RadarNode, RainComputationMap, RainComputationQuality, RainNode, TeamNode } from 'raain-model';
|
|
4
4
|
import { Storage } from './storage.service';
|
|
5
5
|
import { FidjStorage, FidjStorageNode } from './fidj-storage.model';
|
|
6
6
|
import { ErrorInterface, FidjService } from 'fidj-angular';
|
|
@@ -74,6 +74,19 @@ export declare class ProfileService {
|
|
|
74
74
|
getRainCumulativeCumulativesCompareByDate(rainNode: RainNode, rainComputationCumulativeId: string, date: Date, cumulativeHours: number): Promise<RainComputationQuality>;
|
|
75
75
|
getRainProgress(rainId: string): Promise<number>;
|
|
76
76
|
getIndicators(rainId: string): Promise<RaainApiRainsIndicatorsResponse>;
|
|
77
|
+
getCumulativePeriods(rainId: string, filters?: {
|
|
78
|
+
windowInMinutes?: number;
|
|
79
|
+
provider?: string;
|
|
80
|
+
isReady?: boolean;
|
|
81
|
+
forced?: boolean;
|
|
82
|
+
}): Promise<RaainApiRainsCumulativesListResponse>;
|
|
83
|
+
createCumulativePeriod(rainId: string, params: {
|
|
84
|
+
periodBegin: Date;
|
|
85
|
+
periodEnd: Date;
|
|
86
|
+
provider: string;
|
|
87
|
+
confName?: string;
|
|
88
|
+
timeStepInMinutes?: number;
|
|
89
|
+
}): Promise<RaainApiRainsCumulativesCreateResponse>;
|
|
77
90
|
getGauge(gaugeId: string): Promise<GaugeNode>;
|
|
78
91
|
getGauges(rainId: string, aroundLatLng: LatLng, pageCount?: number): Promise<Array<GaugeNodeFilter>>;
|
|
79
92
|
getGaugeMeasures(gaugeId: string, begin: Date, end: Date): Promise<GaugeMeasure[]>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { IonToggle } from '@ionic/angular';
|
|
2
3
|
import { ProfileService } from '../profile.service';
|
|
3
4
|
import { QualityIndicator, RainNode, TeamNode } from 'raain-model';
|
|
4
5
|
import { DateRange, MapLatLng, TimeframeContainers } from 'raain-ui';
|
|
@@ -6,6 +7,7 @@ import { CompareManager, FrameSet, RefreshManager } from '../tools';
|
|
|
6
7
|
import { XYType } from '../xytype';
|
|
7
8
|
import { RadarService } from '../radar.service';
|
|
8
9
|
import { Storage } from '../storage.service';
|
|
10
|
+
import { CumulativeSelection } from '../cumulative-selector/cumulative-selector.component';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
12
|
export declare class RaainDetailsComponent implements OnDestroy, OnChanges {
|
|
11
13
|
protected storage: Storage;
|
|
@@ -69,6 +71,8 @@ export declare class RaainDetailsComponent implements OnDestroy, OnChanges {
|
|
|
69
71
|
showQualityModal: boolean;
|
|
70
72
|
qualityIndicators: QualityIndicator[];
|
|
71
73
|
qualityIndicatorsLoading: boolean;
|
|
74
|
+
showCumulativeSelector: boolean;
|
|
75
|
+
cumulativeToggleRef: IonToggle;
|
|
72
76
|
percentOfComputations: number;
|
|
73
77
|
percentOfImages: number;
|
|
74
78
|
truncatedError: string;
|
|
@@ -111,7 +115,9 @@ export declare class RaainDetailsComponent implements OnDestroy, OnChanges {
|
|
|
111
115
|
}): Promise<void>;
|
|
112
116
|
onToggleMap($event: Event): Promise<void>;
|
|
113
117
|
onTogglePixelMarkers(): void;
|
|
114
|
-
|
|
118
|
+
onCumulativeToggleClick($event: Event): Promise<void>;
|
|
119
|
+
onCumulativePeriodSelected(selection: CumulativeSelection): Promise<void>;
|
|
120
|
+
onCumulativeSelectorCancelled(): void;
|
|
115
121
|
updateCumulativeDurationInMinutes(): void;
|
|
116
122
|
onProviderChanged($event: Event): Promise<void>;
|
|
117
123
|
onTimeStepChanged($event: Event): Promise<void>;
|
package/shared.module.d.ts
CHANGED
|
@@ -9,13 +9,14 @@ import * as i7 from "./raain-speed/raain-speed.component";
|
|
|
9
9
|
import * as i8 from "./raain-globe/raain-globe.component";
|
|
10
10
|
import * as i9 from "./profile-icon.directive";
|
|
11
11
|
import * as i10 from "./raain-details/raain-details.component";
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "@angular/
|
|
14
|
-
import * as i13 from "@
|
|
15
|
-
import * as i14 from "
|
|
12
|
+
import * as i11 from "./cumulative-selector/cumulative-selector.component";
|
|
13
|
+
import * as i12 from "@angular/common";
|
|
14
|
+
import * as i13 from "@angular/forms";
|
|
15
|
+
import * as i14 from "@ionic/angular";
|
|
16
|
+
import * as i15 from "./pipes.module";
|
|
16
17
|
export declare class SharedModule {
|
|
17
18
|
constructor(parentModule?: SharedModule);
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, [{ optional: true; skipSelf: true; }]>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.RaainMapComponent, typeof i2.RaainCompareComponent, typeof i3.RaainCompareStackComponent, typeof i4.RaainDateFocusComponent, typeof i5.RaainDateDynamicComponent, typeof i6.RaainConfigurationComponent, typeof i7.RaainSpeedComponent, typeof i8.RaainGlobeComponent, typeof i9.ProfileIconDirective, typeof i10.RaainDetailsComponent], [typeof
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.RaainMapComponent, typeof i2.RaainCompareComponent, typeof i3.RaainCompareStackComponent, typeof i4.RaainDateFocusComponent, typeof i5.RaainDateDynamicComponent, typeof i6.RaainConfigurationComponent, typeof i7.RaainSpeedComponent, typeof i8.RaainGlobeComponent, typeof i9.ProfileIconDirective, typeof i10.RaainDetailsComponent, typeof i11.CumulativeSelectorComponent], [typeof i12.CommonModule, typeof i13.FormsModule, typeof i14.IonicModule, typeof i12.NgOptimizedImage, typeof i15.PipesModule], [typeof i12.CommonModule, typeof i12.NgStyle, typeof i15.PipesModule, typeof i1.RaainMapComponent, typeof i2.RaainCompareComponent, typeof i3.RaainCompareStackComponent, typeof i4.RaainDateFocusComponent, typeof i5.RaainDateDynamicComponent, typeof i6.RaainConfigurationComponent, typeof i7.RaainSpeedComponent, typeof i8.RaainGlobeComponent, typeof i9.ProfileIconDirective, typeof i10.RaainDetailsComponent, typeof i11.CumulativeSelectorComponent]>;
|
|
20
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
21
22
|
}
|
|
@@ -51,7 +51,10 @@ export declare class CompareManager {
|
|
|
51
51
|
set rainNode(rainNode: RainNode);
|
|
52
52
|
cleanAll(): void;
|
|
53
53
|
refreshCompareQuality(frameSet: FrameSet, onlyOne: boolean): Promise<void>;
|
|
54
|
-
refreshGlobalCompareQuality(targetsOrdered: ICompareTarget[],
|
|
54
|
+
refreshGlobalCompareQuality(targetsOrdered: ICompareTarget[], period: {
|
|
55
|
+
begin: Date;
|
|
56
|
+
end: Date;
|
|
57
|
+
}, withCompareDuplicate: boolean, cumulativeHours?: number): Promise<void>;
|
|
55
58
|
setGaugesInMap(): Promise<void>;
|
|
56
59
|
setGaugesInCompare(): Promise<void>;
|
|
57
60
|
selectGauge(gaugeId: string, compareIndex: number): Promise<void>;
|
|
@@ -61,7 +64,10 @@ export declare class CompareManager {
|
|
|
61
64
|
gaugeValue: number;
|
|
62
65
|
pixelValue: number;
|
|
63
66
|
}[];
|
|
64
|
-
protected buildComparesTimeline(targetsOrdered: ICompareTarget[],
|
|
67
|
+
protected buildComparesTimeline(targetsOrdered: ICompareTarget[], period: {
|
|
68
|
+
begin: Date;
|
|
69
|
+
end: Date;
|
|
70
|
+
}, withCompareDuplicate: boolean): Promise<ICompares>;
|
|
65
71
|
protected getComparePerDate(date: Date): IComparePerDate;
|
|
66
72
|
protected getCurrentQualityPoints(compareIndex: number): QualityPoint[];
|
|
67
73
|
protected cleanCompareQuality(details?: string): void;
|