@provoly/dashboard 0.25.0 → 0.25.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.
- package/esm2022/filters/autocomplete/autocomplete.component.mjs +2 -2
- package/esm2022/lib/core/components/share/group-share/group-share.component.mjs +3 -3
- package/esm2022/lib/core/i18n/en.translations.mjs +2 -1
- package/esm2022/lib/core/i18n/fr.translations.mjs +2 -1
- package/esm2022/lib/core/store/search/filter-param-encoder.mjs +27 -0
- package/esm2022/lib/core/store/search/search.selectors.mjs +2 -2
- package/esm2022/lib/core/store/search/search.service.mjs +4 -3
- package/esm2022/toolbox/components/share/share.component.mjs +47 -18
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +3 -3
- package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +1 -1
- package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +45 -17
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +2 -2
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +34 -6
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/i18n/en.translations.d.ts +1 -0
- package/lib/core/i18n/fr.translations.d.ts +1 -0
- package/lib/core/store/search/filter-param-encoder.d.ts +5 -0
- package/package.json +1 -1
- package/toolbox/components/share/share.component.d.ts +13 -7
package/package.json
CHANGED
|
@@ -1,25 +1,31 @@
|
|
|
1
1
|
import { TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
|
-
import {
|
|
3
|
+
import { ManifestDescription, PryVisibilityType } from '@provoly/dashboard';
|
|
4
4
|
import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
|
|
5
5
|
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
6
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class ShareComponent extends ToolboxActionComponent {
|
|
8
9
|
private overlay;
|
|
9
10
|
private viewContainerRef;
|
|
10
|
-
presentation
|
|
11
|
-
current: ManifestDescription | undefined;
|
|
12
|
-
viewMode?: ViewMode;
|
|
13
|
-
initial: GlobalManifest | undefined;
|
|
14
|
-
} | undefined;
|
|
11
|
+
presentation?: ManifestDescription;
|
|
15
12
|
modalOpened: boolean;
|
|
16
13
|
overlayRef?: OverlayRef;
|
|
17
14
|
accessGroups: string[];
|
|
18
15
|
template: TemplateRef<any>;
|
|
16
|
+
disableShareRadios$: Observable<{
|
|
17
|
+
[key in PryVisibilityType]: boolean;
|
|
18
|
+
}>;
|
|
19
|
+
allowedShareGroups$: Observable<string[]>;
|
|
20
|
+
shareRadioValue$: BehaviorSubject<PryVisibilityType | undefined>;
|
|
21
|
+
disableShareButton$: BehaviorSubject<boolean>;
|
|
19
22
|
constructor(store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef);
|
|
20
23
|
trigger(): void;
|
|
21
24
|
toggleModal(): void;
|
|
22
|
-
|
|
25
|
+
validate(): void;
|
|
26
|
+
updateAccessGroups($event: string[]): void;
|
|
27
|
+
updateVisibility($event: PryVisibilityType): void;
|
|
28
|
+
updateDisableButtonValue(): void;
|
|
23
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShareComponent, never>;
|
|
24
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<ShareComponent, "pry-share-pres", never, {}, {}, never, never, false, never>;
|
|
25
31
|
}
|