@alfresco/adf-insights 8.3.0 → 8.3.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.
@@ -19,7 +19,7 @@ import { ReportQuery } from '../../diagram/models/report/report-query.model';
19
19
  import { Chart } from '../../diagram/models/chart/chart.model';
20
20
  import * as i0 from "@angular/core";
21
21
  export declare class AnalyticsGeneratorComponent implements OnChanges {
22
- private analyticsService;
22
+ private readonly analyticsService;
23
23
  /** reportId. */
24
24
  reportId: string;
25
25
  /** reportParamQuery. */
@@ -15,13 +15,12 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  import { EventEmitter, OnInit } from '@angular/core';
18
- import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
19
- import { AnalyticsService } from '../services/analytics.service';
18
+ import { UntypedFormGroup } from '@angular/forms';
20
19
  import { ParameterValueModel } from '../../diagram/models/report/parameter-value.model';
21
20
  import * as i0 from "@angular/core";
22
21
  export declare class AnalyticsReportHeatMapComponent implements OnInit {
23
- private analyticsService;
24
- private formBuilder;
22
+ private readonly analyticsService;
23
+ private readonly formBuilder;
25
24
  /** reportId. */
26
25
  report: any;
27
26
  /** success. */
@@ -33,7 +32,6 @@ export declare class AnalyticsReportHeatMapComponent implements OnInit {
33
32
  currentMetric: string;
34
33
  currentMetricColors: any;
35
34
  metricType: string;
36
- constructor(analyticsService: AnalyticsService, formBuilder: UntypedFormBuilder);
37
35
  ngOnInit(): void;
38
36
  onMetricChanges(field: any): void;
39
37
  initForm(): void;
@@ -17,12 +17,11 @@
17
17
  import { EventEmitter, OnInit } from '@angular/core';
18
18
  import { Observable } from 'rxjs';
19
19
  import { ReportParametersModel } from '../../diagram/models/report/report-parameters.model';
20
- import { AnalyticsService } from '../services/analytics.service';
21
20
  import * as i0 from "@angular/core";
22
21
  export declare const LAYOUT_LIST = "LIST";
23
22
  export declare const LAYOUT_GRID = "GRID";
24
23
  export declare class AnalyticsReportListComponent implements OnInit {
25
- private analyticsService;
24
+ private readonly analyticsService;
26
25
  /** layout Type LIST or GRID. */
27
26
  layoutType: string;
28
27
  /** appId ID of the target app. */
@@ -39,7 +38,7 @@ export declare class AnalyticsReportListComponent implements OnInit {
39
38
  currentReport: ReportParametersModel;
40
39
  reports: ReportParametersModel[];
41
40
  private reportObserver;
42
- constructor(analyticsService: AnalyticsService);
41
+ constructor();
43
42
  ngOnInit(): void;
44
43
  initObserver(): void;
45
44
  /**
@@ -1,27 +1,8 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { AdfDateFnsAdapter, DownloadService } from '@alfresco/adf-core';
18
1
  import { AfterContentChecked, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
19
- import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
20
- import { MatDialog } from '@angular/material/dialog';
2
+ import { FormControl, FormGroup } from '@angular/forms';
21
3
  import { ReportParameterDetailsModel } from '../../diagram/models/report/report-parameter-details.model';
22
4
  import { ReportParametersModel } from '../../diagram/models/report/report-parameters.model';
23
5
  import { ReportQuery } from '../../diagram/models/report/report-query.model';
24
- import { AnalyticsService } from '../services/analytics.service';
25
6
  import * as i0 from "@angular/core";
26
7
  export interface ReportFormProps {
27
8
  taskGroup?: FormGroup<{
@@ -78,11 +59,11 @@ export interface ReportFormValues {
78
59
  };
79
60
  }
80
61
  export declare class AnalyticsReportParametersComponent implements OnInit, OnChanges, AfterContentChecked {
81
- private analyticsService;
82
- private formBuilder;
83
- private downloadService;
84
- private dialog;
85
- private dateAdapter;
62
+ private readonly analyticsService;
63
+ private readonly formBuilder;
64
+ private readonly downloadService;
65
+ private readonly dialog;
66
+ private readonly dateAdapter;
86
67
  /** appId ID of the target app. */
87
68
  appId: number;
88
69
  /** reportId. */
@@ -114,7 +95,6 @@ export declare class AnalyticsReportParametersComponent implements OnInit, OnCha
114
95
  formValidState: boolean;
115
96
  private hideParameters;
116
97
  private readonly destroyRef;
117
- constructor(analyticsService: AnalyticsService, formBuilder: FormBuilder, downloadService: DownloadService, dialog: MatDialog, dateAdapter: AdfDateFnsAdapter);
118
98
  ngOnInit(): void;
119
99
  ngOnChanges(changes: SimpleChanges): void;
120
100
  getReportParams(reportId: string): void;
@@ -1,6 +1,5 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { FormControl, FormGroup } from '@angular/forms';
3
- import { DateAdapter } from '@angular/material/core';
4
3
  import { ReportParameterDetailsModel } from '../../../../diagram/models/report/report-parameter-details.model';
5
4
  import * as i0 from "@angular/core";
6
5
  interface DateRangeProps {
@@ -8,7 +7,7 @@ interface DateRangeProps {
8
7
  endDate: FormControl<Date>;
9
8
  }
10
9
  export declare class DateRangeWidgetComponent implements OnInit {
11
- private dateAdapter;
10
+ private readonly dateAdapter;
12
11
  dateRange: FormGroup<DateRangeProps>;
13
12
  field: ReportParameterDetailsModel;
14
13
  dateRangeChanged: EventEmitter<{
@@ -19,7 +18,6 @@ export declare class DateRangeWidgetComponent implements OnInit {
19
18
  maxDate: Date;
20
19
  startDateValue: Date;
21
20
  endDateValue: Date;
22
- constructor(dateAdapter: DateAdapter<Date>);
23
21
  ngOnInit(): void;
24
22
  onGroupValueChanged(): void;
25
23
  private formatDateTime;
@@ -1,20 +1,3 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { AlfrescoApiService } from '@alfresco/adf-content-services';
18
1
  import { Observable } from 'rxjs';
19
2
  import { ParameterValueModel } from '../../diagram/models/report/parameter-value.model';
20
3
  import { ReportParametersModel } from '../../diagram/models/report/report-parameters.model';
@@ -23,12 +6,11 @@ import { ProcessDefinitionsApi, ReportApi } from '@alfresco/js-api';
23
6
  import { ReportQuery } from '../../diagram/models/report/report-query.model';
24
7
  import * as i0 from "@angular/core";
25
8
  export declare class AnalyticsService {
26
- private apiService;
9
+ private readonly apiService;
27
10
  private _reportApi;
28
11
  get reportApi(): ReportApi;
29
12
  private _processDefinitionsApi;
30
13
  get processDefinitionsApi(): ProcessDefinitionsApi;
31
- constructor(apiService: AlfrescoApiService);
32
14
  /**
33
15
  * Retrieve all the Deployed app
34
16
  * @param appId application id
@@ -16,14 +16,11 @@
16
16
  */
17
17
  import { EventEmitter, OnChanges } from '@angular/core';
18
18
  import { DiagramModel } from '../models/diagram/diagram.model';
19
- import { DiagramColorService } from '../services/diagram-color.service';
20
- import { DiagramsService } from '../services/diagrams.service';
21
- import { RaphaelService } from './raphael/raphael.service';
22
19
  import * as i0 from "@angular/core";
23
20
  export declare class DiagramComponent implements OnChanges {
24
- private diagramColorService;
25
- private raphaelService;
26
- private diagramsService;
21
+ private readonly diagramColorService;
22
+ private readonly raphaelService;
23
+ private readonly diagramsService;
27
24
  /** processDefinitionId. */
28
25
  processDefinitionId: any;
29
26
  /** processInstanceId. */
@@ -43,7 +40,6 @@ export declare class DiagramComponent implements OnChanges {
43
40
  /** error. */
44
41
  error: EventEmitter<any>;
45
42
  diagram: DiagramModel;
46
- constructor(diagramColorService: DiagramColorService, raphaelService: RaphaelService, diagramsService: DiagramsService);
47
43
  ngOnChanges(): void;
48
44
  getRunningProcessDefinitionModel(processInstanceId: string): void;
49
45
  getProcessDefinitionModel(processDefinitionId: string): void;
@@ -1,7 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class RaphaelBase {
3
- private raphaelService;
4
- private element;
3
+ private readonly raphaelService;
4
+ private readonly element;
5
5
  paper: any;
6
6
  constructor();
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<RaphaelBase, never>;
@@ -1,28 +1,10 @@
1
- /*!
2
- * @license
3
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- import { AlfrescoApiService } from '@alfresco/adf-content-services';
18
1
  import { Observable } from 'rxjs';
19
2
  import { ModelJsonBpmnApi } from '@alfresco/js-api';
20
3
  import * as i0 from "@angular/core";
21
4
  export declare class DiagramsService {
22
- private apiService;
5
+ private readonly apiService;
23
6
  private _modelJsonBpmnApi;
24
7
  get modelJsonBpmnApi(): ModelJsonBpmnApi;
25
- constructor(apiService: AlfrescoApiService);
26
8
  getProcessDefinitionModel(processDefinitionId: string): Observable<any>;
27
9
  getRunningProcessDefinitionModel(processInstanceId: string): Observable<any>;
28
10
  static ɵfac: i0.ɵɵFactoryDeclaration<DiagramsService, never>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alfresco/adf-insights",
3
3
  "description": "Alfresco ADF insights",
4
- "version": "8.3.0",
4
+ "version": "8.3.1",
5
5
  "author": "Hyland Software, Inc. and its affiliates",
6
6
  "repository": {
7
7
  "type": "git",
@@ -11,8 +11,8 @@
11
11
  "url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
12
12
  },
13
13
  "dependencies": {
14
- "@alfresco/adf-core": ">=8.2.0",
15
- "@alfresco/adf-content-services": ">=8.2.0",
14
+ "@alfresco/adf-core": ">=8.3.1",
15
+ "@alfresco/adf-content-services": ">=8.3.1",
16
16
  "@ngx-translate/core": ">=14.0.0",
17
17
  "chart.js": "^4.3.0",
18
18
  "ng2-charts": "^4.1.1",