@provoly/dashboard 0.21.6 → 0.21.7
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/esm2022/lib/core/i18n/en.translations.mjs +2 -2
- package/esm2022/lib/core/i18n/fr.translations.mjs +2 -2
- package/esm2022/lib/core/model/manifest.interface.mjs +1 -1
- package/esm2022/lib/dashboard/store/dashboard.actions.mjs +1 -1
- package/esm2022/lib/dashboard/store/dashboard.effects.mjs +2 -3
- package/esm2022/lib/dashboard/store/manifest.service.mjs +3 -4
- package/esm2022/presentation/components/presentation.component.mjs +5 -9
- package/esm2022/toolbox/components/save-view/save-view.component.mjs +6 -10
- package/esm2022/toolbox/components/share/share.component.mjs +5 -8
- package/fesm2022/provoly-dashboard-presentation.mjs +4 -8
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +8 -15
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +5 -6
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/i18n/en.translations.d.ts +1 -1
- package/lib/core/i18n/fr.translations.d.ts +1 -1
- package/lib/core/model/manifest.interface.d.ts +0 -2
- package/lib/dashboard/store/dashboard.actions.d.ts +0 -3
- package/lib/dashboard/store/manifest.service.d.ts +1 -2
- package/package.json +1 -1
- package/presentation/components/presentation.component.d.ts +1 -3
- package/toolbox/components/save-view/save-view.component.d.ts +2 -3
- package/toolbox/components/share/share.component.d.ts +1 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PryVisibility } from '../components/share/share.model';
|
|
2
1
|
import { MetadataValue } from './admin-api.model';
|
|
3
2
|
import { Filter } from './filter.interface';
|
|
4
3
|
import { ChartAggregatedWidgetOptions } from './widget-aggregated-chart-manifest.interface';
|
|
@@ -21,7 +20,6 @@ export interface ManifestDescription {
|
|
|
21
20
|
cover: boolean;
|
|
22
21
|
creationDate: string;
|
|
23
22
|
modificationDate: string;
|
|
24
|
-
visibility?: PryVisibility;
|
|
25
23
|
groups: string[];
|
|
26
24
|
owner: boolean;
|
|
27
25
|
datasource: string[];
|
|
@@ -7,7 +7,6 @@ import { Relation } from '../../core/model/relation.interface';
|
|
|
7
7
|
import { OrderValue } from '../../core/model/result-order.interface';
|
|
8
8
|
import { ResultSet, ResultSets } from '../../core/model/result-set.interface';
|
|
9
9
|
import { GetCapabilitiesResponse } from './wms.service';
|
|
10
|
-
import { PryVisibility } from '../../core/components/share/share.model';
|
|
11
10
|
export type DashboardCellParams = {
|
|
12
11
|
gridWidth: number;
|
|
13
12
|
gridHeight: number;
|
|
@@ -249,7 +248,6 @@ export declare const DashboardActions: {
|
|
|
249
248
|
value: string;
|
|
250
249
|
}[] | undefined;
|
|
251
250
|
groups?: string[] | undefined;
|
|
252
|
-
visibility?: PryVisibility | undefined;
|
|
253
251
|
}) => {
|
|
254
252
|
name: string;
|
|
255
253
|
manifest?: GlobalManifest | undefined;
|
|
@@ -262,7 +260,6 @@ export declare const DashboardActions: {
|
|
|
262
260
|
value: string;
|
|
263
261
|
}[] | undefined;
|
|
264
262
|
groups?: string[] | undefined;
|
|
265
|
-
visibility?: PryVisibility | undefined;
|
|
266
263
|
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] save manifest">>;
|
|
267
264
|
solveCollisions: import("@ngrx/store").ActionCreator<"[Dashboard] solving collisions", () => import("@ngrx/store/src/models").TypedAction<"[Dashboard] solving collisions">>;
|
|
268
265
|
clearManifest: import("@ngrx/store").ActionCreator<"[Dashboard] clear manifest", () => import("@ngrx/store/src/models").TypedAction<"[Dashboard] clear manifest">>;
|
|
@@ -4,7 +4,6 @@ import { Observable } from 'rxjs';
|
|
|
4
4
|
import { PrySnackbarService } from '../../core/components/snackbar/snackbar.service';
|
|
5
5
|
import { PryI18nService } from '../../core/i18n/i18n.service';
|
|
6
6
|
import { GlobalManifest, ManifestDescription } from '../../core/model/manifest.interface';
|
|
7
|
-
import { PryVisibility } from '../../core/components/share/share.model';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
export declare class ManifestService {
|
|
10
9
|
private httpClient;
|
|
@@ -17,7 +16,7 @@ export declare class ManifestService {
|
|
|
17
16
|
save(name: string, manifest: GlobalManifest, id: string, description?: string, image?: string, cover?: boolean, metadata?: {
|
|
18
17
|
metadataDefId: string;
|
|
19
18
|
value: string;
|
|
20
|
-
}[], groups?: string[]
|
|
19
|
+
}[], groups?: string[]): Observable<{
|
|
21
20
|
id: string;
|
|
22
21
|
name: string;
|
|
23
22
|
manifest: GlobalManifest;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
|
2
2
|
import { ElementRef, NgZone, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { Store } from '@ngrx/store';
|
|
5
|
-
import { DashboardManifest, ManifestDescription, PryTitleService,
|
|
5
|
+
import { DashboardManifest, ManifestDescription, PryTitleService, SubscriptionnerDirective, ViewMode } from '@provoly/dashboard';
|
|
6
6
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class PryPresentationComponent extends SubscriptionnerDirective {
|
|
@@ -28,8 +28,6 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
|
|
|
28
28
|
crossVisibility: ElementRef<HTMLButtonElement>;
|
|
29
29
|
visibilityModal: ElementRef;
|
|
30
30
|
overlayRef?: OverlayRef;
|
|
31
|
-
visibility: PryVisibility;
|
|
32
|
-
PryVisibilityType: typeof PryVisibilityType;
|
|
33
31
|
accessGroups: string[];
|
|
34
32
|
editionStartUrl: string;
|
|
35
33
|
consultStartUrl: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
2
2
|
import { ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import { Store } from '@ngrx/store';
|
|
4
|
-
import { LibraryTypes, ManifestDescription,
|
|
4
|
+
import { LibraryTypes, ManifestDescription, ViewMode } from '@provoly/dashboard';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -21,7 +21,6 @@ export declare class SaveViewComponent extends ToolboxActionComponent {
|
|
|
21
21
|
templateSaveAs: TemplateRef<any>;
|
|
22
22
|
overlayRefDirectSaveType?: OverlayRef;
|
|
23
23
|
templateDirectSaveType: TemplateRef<any>;
|
|
24
|
-
visibility: PryVisibility;
|
|
25
24
|
accessGroups: string[];
|
|
26
25
|
type: LibraryTypes;
|
|
27
26
|
saveTypeOpened: boolean;
|
|
@@ -36,7 +35,7 @@ export declare class SaveViewComponent extends ToolboxActionComponent {
|
|
|
36
35
|
toggleSaveAs(): void;
|
|
37
36
|
save(): void;
|
|
38
37
|
closeModals(): void;
|
|
39
|
-
|
|
38
|
+
changeAccessGroups($event: string[]): void;
|
|
40
39
|
changeValue($event: string): void;
|
|
41
40
|
changeDescr($event: string): void;
|
|
42
41
|
openSaveAs(): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
|
-
import { GlobalManifest, ManifestDescription,
|
|
3
|
+
import { GlobalManifest, ManifestDescription, ViewMode } from '@provoly/dashboard';
|
|
4
4
|
import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
|
|
5
5
|
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -15,7 +15,6 @@ export declare class ShareComponent extends ToolboxActionComponent {
|
|
|
15
15
|
modalOpened: boolean;
|
|
16
16
|
overlayRef?: OverlayRef;
|
|
17
17
|
accessGroups: string[];
|
|
18
|
-
visibility: PryVisibility;
|
|
19
18
|
template: TemplateRef<any>;
|
|
20
19
|
constructor(store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef);
|
|
21
20
|
trigger(): void;
|