@simpleangularcontrols/sac-common 10.0.0-rc.15 → 10.0.0-rc.16

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.
@@ -9759,9 +9759,13 @@
9759
9759
  */
9760
9760
  _this.maxfilesize = 0;
9761
9761
  /**
9762
- * Event wenn ein Error in der Komponente ausgelöst wird.
9762
+ * Event when an error is triggered in the component.
9763
9763
  */
9764
9764
  _this.onfileerror = new i0.EventEmitter();
9765
+ /**
9766
+ * Event when a file has been uploaded. The event is triggered for multiple uploads per file.
9767
+ */
9768
+ _this.onuploadcomplete = new i0.EventEmitter();
9765
9769
  /**
9766
9770
  * Resource Key für Validation Message Required bei Control
9767
9771
  */
@@ -10049,6 +10053,12 @@
10049
10053
  this.uploads[index].progress = ufile.progress;
10050
10054
  this.uploads[index].status = ufile.status;
10051
10055
  this.SetUploadValue(ufile);
10056
+ var uploadState = {
10057
+ name: ufile.name,
10058
+ size: ufile.size,
10059
+ uploadid: this.uploads[index].uploadId,
10060
+ };
10061
+ this.onuploadcomplete.emit(uploadState);
10052
10062
  }
10053
10063
  else {
10054
10064
  if (index >= 0) {
@@ -10184,6 +10194,7 @@
10184
10194
  isrequired: [{ type: i0.Input }],
10185
10195
  maxfilesize: [{ type: i0.Input }],
10186
10196
  onfileerror: [{ type: i0.Output }],
10197
+ onuploadcomplete: [{ type: i0.Output }],
10187
10198
  validationmessagerequired: [{ type: i0.Input }],
10188
10199
  validationmessagesummaryrequired: [{ type: i0.Input }],
10189
10200
  allowedtypes: [{ type: i0.Input }],