@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.
- package/bundles/simpleangularcontrols-sac-common.umd.js +12 -1
- package/bundles/simpleangularcontrols-sac-common.umd.js.map +1 -1
- package/bundles/simpleangularcontrols-sac-common.umd.min.js +1 -1
- package/bundles/simpleangularcontrols-sac-common.umd.min.js.map +1 -1
- package/common/baseuploadcontrol.d.ts +6 -1
- package/esm2015/common/baseuploadcontrol.js +14 -3
- package/esm2015/interfaces/ISacUploadEventCompleteState.js +1 -0
- package/esm2015/interfaces/ISacUploadEventCompleteState.ngfactory.js +7 -0
- package/fesm2015/simpleangularcontrols-sac-common.js +12 -1
- package/fesm2015/simpleangularcontrols-sac-common.js.map +1 -1
- package/interfaces/ISacUploadEventCompleteState.d.ts +5 -0
- package/interfaces/ISacUploadEventCompleteState.ngfactory.d.ts +1 -0
- package/package.json +1 -1
- package/simpleangularcontrols-sac-common-10.0.0-rc.16.tgz +0 -0
- package/simpleangularcontrols-sac-common.metadata.json +1 -1
- package/simpleangularcontrols-sac-common-10.0.0-rc.15.tgz +0 -0
|
@@ -9759,9 +9759,13 @@
|
|
|
9759
9759
|
*/
|
|
9760
9760
|
_this.maxfilesize = 0;
|
|
9761
9761
|
/**
|
|
9762
|
-
* Event
|
|
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 }],
|