@provoly/dashboard 1.3.3 → 1.3.4
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/dataset/components/dataset.component.mjs +1 -1
- package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-list/datasource-list.component.mjs +14 -4
- package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.mjs +14 -6
- package/esm2022/presentation/style/css.component.mjs +2 -2
- package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +6 -5
- package/esm2022/restitution/style/css.component.mjs +2 -2
- package/esm2022/widgets/widget-table/component/widget-table.component.mjs +1 -1
- package/fesm2022/provoly-dashboard-dataset.mjs +1 -1
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +2 -2
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs +7 -6
- package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-table.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +23 -7
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/dashboard/components/widgets/datasource-selector/datasource-list/datasource-list.component.d.ts +2 -1
- package/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.d.ts +3 -1
- package/package.json +1 -1
- package/presentation/style/_o-pry-presentation.scss +1 -1
- package/restitution/components/restitution-catalog/restitution-catalog.component.d.ts +1 -1
|
@@ -22,6 +22,7 @@ export declare class PryDatasourceListComponent extends SubscriptionnerDirective
|
|
|
22
22
|
set selectedDatasources(datasourceIds: string[]);
|
|
23
23
|
consultedDataset: EventEmitter<Dataset>;
|
|
24
24
|
datasourceSelected: EventEmitter<string[]>;
|
|
25
|
+
searchOrCategoryChanged: EventEmitter<void>;
|
|
25
26
|
constructor(store: Store<any>);
|
|
26
27
|
ngOnInit(): void;
|
|
27
28
|
search(datasets: DataSource[], search: string, categories: Category[]): DataSource[];
|
|
@@ -31,5 +32,5 @@ export declare class PryDatasourceListComponent extends SubscriptionnerDirective
|
|
|
31
32
|
datasource: DataSource;
|
|
32
33
|
}): void;
|
|
33
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryDatasourceListComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PryDatasourceListComponent, "pry-datasource-list", never, { "mode": { "alias": "mode"; "required": false; }; "selectedDatasources": { "alias": "selectedDatasources"; "required": false; }; }, { "consultedDataset": "consultedDataset"; "datasourceSelected": "datasourceSelected"; }, never, never, false, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PryDatasourceListComponent, "pry-datasource-list", never, { "mode": { "alias": "mode"; "required": false; }; "selectedDatasources": { "alias": "selectedDatasources"; "required": false; }; }, { "consultedDataset": "consultedDataset"; "datasourceSelected": "datasourceSelected"; "searchOrCategoryChanged": "searchOrCategoryChanged"; }, never, never, false, never>;
|
|
35
36
|
}
|
package/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
+
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
4
4
|
import { DataSource } from '../../../../core/store/data-source/data-source.model';
|
|
5
5
|
import { WidgetManifest } from '../../../../core/model/manifest.interface';
|
|
6
6
|
import { SubscriptionnerDirective } from '../../subscriptionner.directive';
|
|
@@ -11,6 +11,7 @@ export declare class DatasourceSelectorComponent extends SubscriptionnerDirectiv
|
|
|
11
11
|
manifest$: BehaviorSubject<WidgetManifest | null>;
|
|
12
12
|
selectedDatasources$: Observable<DataSource[]>;
|
|
13
13
|
selectedIds$: BehaviorSubject<string[]>;
|
|
14
|
+
searchOrCategoryChanged$: Subject<void>;
|
|
14
15
|
showButtons: boolean;
|
|
15
16
|
showTitle: boolean;
|
|
16
17
|
set manifest(manifest: WidgetManifest | null);
|
|
@@ -23,6 +24,7 @@ export declare class DatasourceSelectorComponent extends SubscriptionnerDirectiv
|
|
|
23
24
|
isGeo(item: DataSource): boolean;
|
|
24
25
|
toggleSelection(id: string): void;
|
|
25
26
|
updateDatasourceList(ids: string[]): void;
|
|
27
|
+
detectChanges(): void;
|
|
26
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatasourceSelectorComponent, never>;
|
|
27
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<DatasourceSelectorComponent, "pry-datasource-selector", never, { "showButtons": { "alias": "showButtons"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "manifest": { "alias": "manifest"; "required": false; }; }, { "previousTab": "previousTab"; "nextTab": "nextTab"; "cancel": "cancel"; "validated": "validated"; "itemsChanged": "itemsChanged"; }, never, never, false, never>;
|
|
28
30
|
}
|
package/package.json
CHANGED
|
@@ -18,7 +18,6 @@ export declare class PryRestitutionCatalogComponent {
|
|
|
18
18
|
restitution?: Widget;
|
|
19
19
|
overlayRef?: OverlayRef;
|
|
20
20
|
templateActions: TemplateRef<any>;
|
|
21
|
-
canModify$: Observable<boolean>;
|
|
22
21
|
constructor(store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef, access: PryBaseAccess);
|
|
23
22
|
selectMode(newMode: ViewMode): void;
|
|
24
23
|
selectRestitution(restitution: Widget): void;
|
|
@@ -26,6 +25,7 @@ export declare class PryRestitutionCatalogComponent {
|
|
|
26
25
|
deleteRestitution(id: string): void;
|
|
27
26
|
editRestitution(restitution: Widget): void;
|
|
28
27
|
toggleModalActions(restitution?: Widget, moreButton?: HTMLButtonElement): void;
|
|
28
|
+
canModify$(widget?: Widget): Observable<boolean>;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryRestitutionCatalogComponent, [null, null, null, { optional: true; }]>;
|
|
30
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<PryRestitutionCatalogComponent, "pry-restitution-catalog", never, {}, {}, never, never, false, never>;
|
|
31
31
|
}
|