@acorex/components 16.0.11 → 16.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -103,6 +103,10 @@ export class AXUploadFileComponent extends AXBaseComponent {
103
103
  this.fileInput.nativeElement.value = '';
104
104
  this.files = [];
105
105
  this.fileName = null;
106
+ if (this.type === 'box') {
107
+ this.rendrer.removeChild(this.dropRef, this.overlayDiv);
108
+ this.handleShowEmptyFile();
109
+ }
106
110
  this.onRemove.emit();
107
111
  }
108
112
  ngAfterViewInit() {
@@ -288,4 +292,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
288
292
  }], onRemove: [{
289
293
  type: Output
290
294
  }] } });
291
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLWZpbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdXBsb2FkLWZpbGUvdXBsb2FkLWZpbGUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvdXBsb2FkLWZpbGUvdXBsb2FkLWZpbGUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGVBQWUsRUFBRSxZQUFZLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDN0QsT0FBTyxFQUNMLGlCQUFpQixFQUNqQixTQUFTLEVBQ1QsVUFBVSxFQUNWLFlBQVksRUFDWixLQUFLLEVBQ0wsTUFBTSxFQUNOLFNBQVMsRUFDVCxXQUFXLEVBQ1gsU0FBUyxFQUNULGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQ0wsZUFBZSxHQUdoQixNQUFNLHVCQUF1QixDQUFDO0FBQy9CLE9BQU8sRUFBRSxzQk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MTAwKTtcbiAgICAgICAgY29tLnByb2dyZXNzID0gcHY7XG4gICAgICAgIHRoaXMub25Qcm9ncmVzcy5lbWl0KHtcbiAgICAgICAgICBmaWxlLFxuICAgICAgICAgIHRvdGFsOiBlLnRvdGFsLFxuICAgICAgICAgIHVwbG9hZGVkLFxuICAgICAgICAgIHZhbHVlOiBwdixcbiAgICAgICAgfSk7XG4gICAgICAgIC8vXG4gICAgICAgIGlmIChjb20ucHJvZ3Jlc3MgPj0gMTAwKSB7XG4gICAgICAgICAgY2xlYXJJbnRlcnZhbChpbnR2KTtcbiAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgICAgIHRoaXMucmVuZHJlci5yZW1vdmVDaGlsZCh0aGlzLnByb2dyZXNzUmVmLCBwcm9ncmVzc0Rpdik7XG4gICAgICAgICAgICBpZiAodGhpcy5maWxlTmFtZSkge1xuICAgICAgICAgICAgICB0aGlzLnJlbmRyZXIucmVtb3ZlQ2hpbGQodGhpcy5kcm9wUmVmLCB0aGlzLm92ZXJsYXlEaXYpO1xuICAgICAgICAgICAgICB0aGlzLm92ZXJsYXlEaXYgPSB0aGlzLnJlbmRyZXIuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICAgICAnZGl2J1xuICAgICAgICAgICAgICApIGFzIEhUTUxFbGVtZW50O1xuICAgICAgICAgICAgICB0aGlzLm92ZXJsYXlEaXYuY2xhc3NMaXN0LmFkZCgnb3ZlcmxheScpO1xuICAgICAgICAgICAgICB0aGlzLm92ZXJsYXlEaXYuaW5uZXJIVE1MID0gYFxuICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgIHN0eWxlPVwiXG4gICAgICAgICAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgICAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgICAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgICAgICAgICAgZ2FwOiA4cHg7XG4gICAgICAgICAgICAgIFwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICA8aSBzdHlsZT1cImNvbG9yOiB2YXIoLS1heC1kYW5nZXItY29sb3IpXCIgY2xhc3M9XCJmYXIgZmEtdGltZXMgZmEtM3hcIj48L2k+XG4gICAgICAgICAgICAgIDxzcGFuPiR7dGhpcy5maWxlTmFtZX08L3NwYW4+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIFxuICAgICAgICAgICAgYDtcbiAgICAgICAgICAgICAgY29uc3QgY2xvc2VJY29uID0gdGhpcy5vdmVybGF5RGl2LnF1ZXJ5U2VsZWN0b3IoJy5mYXIuZmEtdGltZXMnKTtcbiAgICAgICAgICAgICAgdGhpcy5yZW5kcmVyLmxpc3RlbihjbG9zZUljb24sICdjbGljaycsIChlKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5yZW1vdmUoKTtcbiAgICAgICAgICAgICAgICB0aGlzLnJlbmRyZXIucmVtb3ZlQ2hpbGQodGhpcy5kcm9wUmVmLCB0aGlzLm92ZXJsYXlEaXYpO1xuICAgICAgICAgICAgICAgIHRoaXMuaGFuZGxlU2hvd0VtcHR5RmlsZSgpO1xuICAgICAgICAgICAgICAgIGUuc3RvcFByb3BhZ2F0aW9uKCk7XG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICB0aGlzLnJlbmRyZXIuYXBwZW5kQ2hpbGQodGhpcy5kcm9wUmVmLCB0aGlzLm92ZXJsYXlEaXYpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sIDEwMDApO1xuICAgICAgICB9XG4gICAgICB9LCAxMDApO1xuICAgIH0pO1xuICAgIHJlYWRlci5yZWFkQXNEYXRhVVJMKGZpbGUpO1xuICAgIHRoaXMuZmlsZXMucHVzaChmaWxlKTtcbiAgfVxuXG4gIGdldCBhY2Nlc3NUeXBlcygpOiBzdHJpbmd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G5vbmVcIlxuICAoY2hhbmdlKT1cIm9uRmlsZUNoYW5nZSgkZXZlbnQpXCJcbi8+XG5cbjxuZy1jb250YWluZXIgKm5nSWY9XCJ0eXBlID09ICdpbmxpbmUnOyBlbHNlIGVsc2VUZW1wbGF0ZVwiPlxuICA8YXgtZm9ybS1ncm91cCBzaXplPVwie3sgc2l6ZSB9fVwiPlxuICAgIDxheC10ZXh0LWJveFxuICAgICAgW3ZhbHVlXT1cImZpbGVOYW1lXCJcbiAgICAgIHJlYWRvbmx5PVwidHJ1ZVwiXG4gICAgICBbZGlzYWJsZWRdPVwiZGlzYWJsZWRcIlxuICAgID48L2F4LXRleHQtYm94PlxuICAgIDxheC1idXR0b25cbiAgICAgIHR5cGU9XCJibGFuayBsaWdodFwiXG4gICAgICBpY29uPVwiZmFyIGZhLXRpbWVzXCJcbiAgICAgIChjbGljayk9XCJyZW1vdmUoKVwiXG4gICAgICAqbmdJZj1cImZpbGVOYW1lXCJcbiAgICAgIFt0YWJJbmRleF09XCItMVwiXG4gICAgPlxuICAgIDwvYXgtYnV0dG9uPlxuICAgIDxheC1idXR0b25cbiAgICAgIHR5cGU9XCJwcmltYXJ5IGJsYW5rXCJcbiAgICAgIGljb249XCJmYXIgZmEtdXBsb2FkXCJcbiAgICAgIChjbGljayk9XCJvcGVuKClcIlxuICAgICAgW2Rpc2FibGVkXT1cImRpc2FibGVkXCJcbiAgICAgIFt0YWJJbmRleF09XCItMVwiXG4gICAgPlxuICAgIDwvYXgtYnV0dG9uPlxuICA8L2F4LWZvcm0tZ3JvdXA+XG48L25nLWNvbnRhaW5lcj5cblxuPG5nLXRlbXBsYXRlICNlbHNlVGVtcGxhdGU+XG4gIDxkaXYgY2xhc3M9XCJheCB1cGxvYWQtZmlsZS1ib3hcIiAoY2xpY2spPVwib3BlbigpXCIgI2Ryb3BSZWY+PC9kaXY+XG48L25nLXRlbXBsYXRlPlxuIl19
295
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjoz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AgICAgIHRoaXMub25Qcm9ncmVzcy5lbWl0KHtcbiAgICAgICAgICBmaWxlLFxuICAgICAgICAgIHRvdGFsOiBlLnRvdGFsLFxuICAgICAgICAgIHVwbG9hZGVkLFxuICAgICAgICAgIHZhbHVlOiBwdixcbiAgICAgICAgfSk7XG4gICAgICAgIC8vXG4gICAgICAgIGlmIChjb20ucHJvZ3Jlc3MgPj0gMTAwKSB7XG4gICAgICAgICAgY2xlYXJJbnRlcnZhbChpbnR2KTtcbiAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgICAgIHRoaXMucmVuZHJlci5yZW1vdmVDaGlsZCh0aGlzLnByb2dyZXNzUmVmLCBwcm9ncmVzc0Rpdik7XG4gICAgICAgICAgICBpZiAodGhpcy5maWxlTmFtZSkge1xuICAgICAgICAgICAgICB0aGlzLnJlbmRyZXIucmVtb3ZlQ2hpbGQodGhpcy5kcm9wUmVmLCB0aGlzLm92ZXJsYXlEaXYpO1xuICAgICAgICAgICAgICB0aGlzLm92ZXJsYXlEaXYgPSB0aGlzLnJlbmRyZXIuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICAgICAnZGl2J1xuICAgICAgICAgICAgICApIGFzIEhUTUxFbGVtZW50O1xuICAgICAgICAgICAgICB0aGlzLm92ZXJsYXlEaXYuY2xhc3NMaXN0LmFkZCgnb3ZlcmxheScpO1xuICAgICAgICAgICAgICB0aGlzLm92ZXJsYXlEaXYuaW5uZXJIVE1MID0gYFxuICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgIHN0eWxlPVwiXG4gICAgICAgICAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgICAgICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgICAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgICAgICAgICAgZ2FwOiA4cHg7XG4gICAgICAgICAgICAgIFwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICA8aSBzdHlsZT1cImNvbG9yOiB2YXIoLS1heC1kYW5nZXItY29sb3IpXCIgY2xhc3M9XCJmYXIgZmEtdGltZXMgZmEtM3hcIj48L2k+XG4gICAgICAgICAgICAgIDxzcGFuPiR7dGhpcy5maWxlTmFtZX08L3NwYW4+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIFxuICAgICAgICAgICAgYDtcbiAgICAgICAgICAgICAgY29uc3QgY2xvc2VJY29uID0gdGhpcy5vdmVybGF5RGl2LnF1ZXJ5U2VsZWN0b3IoJy5mYXIuZmEtdGltZXMnKTtcbiAgICAgICAgICAgICAgdGhpcy5yZW5kcmVyLmxpc3RlbihjbG9zZUljb24sICdjbGljaycsIChlKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5yZW1vdmUoKTtcbiAgICAgICAgICAgICAgICB0aGlzLnJlbmRyZXIucmVtb3ZlQ2hpbGQodGhpcy5kcm9wUmVmLCB0aGlzLm92ZXJsYXlEaXYpO1xuICAgICAgICAgICAgICAgIHRoaXMuaGFuZGxlU2hvd0VtcHR5RmlsZSgpO1xuICAgICAgICAgICAgICAgIGUuc3RvcFByb3BhZ2F0aW9uKCk7XG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICB0aGlzLnJlbmRyZXIuYXBwZW5kQ2hpbGQodGhpcy5kcm9wUmVmLCB0aGlzLm92ZXJsYXlEaXYpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH0sIDEwMDApO1xuICAgICAgICB9XG4gICAgICB9LCAxMDApO1xuICAgIH0pO1xuICAgIHJlYWRlci5yZWFkQXNEYXRhVVJMKGZpbGUpO1xuICAgIHRoaXMuZmlsZXMucHVzaChmaWxlKTtcbiAgfVxuXG4gIGdldCBhY2Nlc3NUeXBlcygpOiBzdHJpbmdbXSB7XG4gICAgcmV0dXJuIHRoaXMuZmlsZVR5cGVzLmZp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gkZXZlbnQpXCJcbi8+XG5cbjxuZy1jb250YWluZXIgKm5nSWY9XCJ0eXBlID09ICdpbmxpbmUnOyBlbHNlIGVsc2VUZW1wbGF0ZVwiPlxuICA8YXgtZm9ybS1ncm91cCBzaXplPVwie3sgc2l6ZSB9fVwiPlxuICAgIDxheC10ZXh0LWJveFxuICAgICAgW3ZhbHVlXT1cImZpbGVOYW1lXCJcbiAgICAgIHJlYWRvbmx5PVwidHJ1ZVwiXG4gICAgICBbZGlzYWJsZWRdPVwiZGlzYWJsZWRcIlxuICAgID48L2F4LXRleHQtYm94PlxuICAgIDxheC1idXR0b25cbiAgICAgIHR5cGU9XCJibGFuayBsaWdodFwiXG4gICAgICBpY29uPVwiZmFyIGZhLXRpbWVzXCJcbiAgICAgIChjbGljayk9XCJyZW1vdmUoKVwiXG4gICAgICAqbmdJZj1cImZpbGVOYW1lXCJcbiAgICAgIFt0YWJJbmRleF09XCItMVwiXG4gICAgPlxuICAgIDwvYXgtYnV0dG9uPlxuICAgIDxheC1idXR0b25cbiAgICAgIHR5cGU9XCJwcmltYXJ5IGJsYW5rXCJcbiAgICAgIGljb249XCJmYXIgZmEtdXBsb2FkXCJcbiAgICAgIChjbGljayk9XCJvcGVuKClcIlxuICAgICAgW2Rpc2FibGVkXT1cImRpc2FibGVkXCJcbiAgICAgIFt0YWJJbmRleF09XCItMVwiXG4gICAgPlxuICAgIDwvYXgtYnV0dG9uPlxuICA8L2F4LWZvcm0tZ3JvdXA+XG48L25nLWNvbnRhaW5lcj5cblxuPG5nLXRlbXBsYXRlICNlbHNlVGVtcGxhdGU+XG4gIDxkaXYgY2xhc3M9XCJheCB1cGxvYWQtZmlsZS1ib3hcIiAoY2xpY2spPVwib3BlbigpXCIgI2Ryb3BSZWY+PC9kaXY+XG48L25nLXRlbXBsYXRlPlxuIl19
@@ -17229,6 +17229,10 @@ class AXUploadFileComponent extends AXBaseComponent {
17229
17229
  this.fileInput.nativeElement.value = '';
17230
17230
  this.files = [];
17231
17231
  this.fileName = null;
17232
+ if (this.type === 'box') {
17233
+ this.rendrer.removeChild(this.dropRef, this.overlayDiv);
17234
+ this.handleShowEmptyFile();
17235
+ }
17232
17236
  this.onRemove.emit();
17233
17237
  }
17234
17238
  ngAfterViewInit() {