@wertzui/ngx-restworld-client 4.2.0 → 4.2.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.
@@ -1,11 +1,11 @@
1
- import { QueryList } from '@angular/core';
1
+ import { AfterViewInit, OnInit, QueryList } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { CropperPosition, ImageCroppedEvent, ImageCropperComponent, OutputFormat } from 'ngx-image-cropper';
4
4
  import { FileUpload } from 'primeng/fileupload';
5
+ import { Dialog } from 'primeng/dialog';
5
6
  import * as i0 from "@angular/core";
6
- export declare class RESTWorldImageViewComponent implements ControlValueAccessor {
7
+ export declare class RESTWorldImageViewComponent implements ControlValueAccessor, OnInit, AfterViewInit {
7
8
  private onChange?;
8
- private _dialogHasBeenOpenedBefore;
9
9
  alt?: string;
10
10
  accept?: string;
11
11
  fileName?: string;
@@ -31,6 +31,7 @@ export declare class RESTWorldImageViewComponent implements ControlValueAccessor
31
31
  roundCropper?: boolean;
32
32
  fileUploads?: QueryList<FileUpload>;
33
33
  imageCroppers?: QueryList<ImageCropperComponent>;
34
+ dialogs?: QueryList<Dialog>;
34
35
  disabled: boolean;
35
36
  uri?: string | null;
36
37
  tempImageFile?: File;
@@ -40,6 +41,8 @@ export declare class RESTWorldImageViewComponent implements ControlValueAccessor
40
41
  registerOnChange(fn?: Function): void;
41
42
  registerOnTouched(): void;
42
43
  setDisabledState?(isDisabled: boolean): void;
44
+ ngOnInit(): void;
45
+ ngAfterViewInit(): void;
43
46
  showCropDialog(): void;
44
47
  imageChanged(event: {
45
48
  files: File[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wertzui/ngx-restworld-client",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "author": "wertzui",
5
5
  "description": "An Angular client to consume a RESTworld service that serves application/hal+json or hal-forms+json.",
6
6
  "publishConfig": {
@@ -44,6 +44,7 @@
44
44
  "primeflex": "^3.1.3",
45
45
  "primeicons": "^5.0.0",
46
46
  "primeng": "^13.2.1",
47
+ "rxjs": "^7.5.5",
47
48
  "uri-templates-es": "^1.0.0",
48
49
  "zone.js": "^0.11.5"
49
50
  },