@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.
@@ -298,6 +298,7 @@ export declare const enTranslations: {
298
298
  restricted: string;
299
299
  type: string;
300
300
  users: string;
301
+ noGroups: string;
301
302
  conflict: {
302
303
  title: string;
303
304
  main: string;
@@ -299,6 +299,7 @@ export declare const frTranslations: {
299
299
  restricted: string;
300
300
  type: string;
301
301
  users: string;
302
+ noGroups: string;
302
303
  conflict: {
303
304
  title: string;
304
305
  main: string;
@@ -0,0 +1,5 @@
1
+ import { HttpUrlEncodingCodec } from '@angular/common/http';
2
+ export declare class FilterParamEncoder extends HttpUrlEncodingCodec {
3
+ constructor();
4
+ encodeValue(v: string): string;
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.25.0",
3
+ "version": "0.25.1",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "16.x || 17.x",
@@ -1,25 +1,31 @@
1
1
  import { TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import { Store } from '@ngrx/store';
3
- import { GlobalManifest, ManifestDescription, ViewMode } from '@provoly/dashboard';
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
- changeVisibility(): void;
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
  }