bpm-core 0.0.140 → 0.0.141
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/fesm2022/bpm-core.mjs
CHANGED
|
@@ -4622,12 +4622,13 @@ class DocsUploaderComponent extends ControlValueAccessorDirective {
|
|
|
4622
4622
|
}
|
|
4623
4623
|
reset() {
|
|
4624
4624
|
this.control.reset();
|
|
4625
|
-
this.emitedValue.emit(null);
|
|
4626
|
-
this.selectedTemplateAttachment.emit(null);
|
|
4627
4625
|
if (this.multiple) {
|
|
4628
4626
|
this.allAttachments = [];
|
|
4629
4627
|
this.displayedFiles = [];
|
|
4630
4628
|
}
|
|
4629
|
+
this.emitedValue.emit(null);
|
|
4630
|
+
this.selectedTemplateAttachment.emit(null);
|
|
4631
|
+
console.log(this.allAttachments, this.displayedFiles);
|
|
4631
4632
|
}
|
|
4632
4633
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DocsUploaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4633
4634
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: DocsUploaderComponent, isStandalone: true, selector: "app-file-uploader", inputs: { useCrop: "useCrop", formKey: "formKey", showLabel: "showLabel", downloadLink: "downloadLink", showActions: "showActions", styleHeight: "styleHeight", fileInputHeight: "fileInputHeight", styleWidth: "styleWidth", hints: "hints", allowedExtensions: "allowedExtensions", callApi: "callApi", display: "display", attachType: "attachType", error: "error", displayedFiles: "displayedFiles", getDataFromTemplate: "getDataFromTemplate", allowFileContentsWithMultiAttachments: "allowFileContentsWithMultiAttachments", accept: "accept", allAttachments: "allAttachments", signType: "signType", customDownload: "customDownload", showSignButton: "showSignButton", printType: "printType", showPrintButton: "showPrintButton", downloadType: "downloadType", showDownloadButton: "showDownloadButton", preventFileContents: "preventFileContents", maxSize: "maxSize", maxLength: "maxLength" }, outputs: { selectedTemplateAttachment: "selectedTemplateAttachment", addSignatureClicked: "addSignatureClicked", printActionClicked: "printActionClicked", emitedValue: "emitedValue", downloadActionClicked: "downloadActionClicked" }, providers: [
|