@c8y/ngx-components 1018.0.203 → 1018.0.206
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/api/api.service.d.ts +7 -1
- package/esm2020/api/api.service.mjs +17 -2
- package/esm2020/assets-navigator/asset-node.service.mjs +2 -2
- package/esm2020/core/drop-area/drop-area.component.mjs +3 -1
- package/fesm2015/c8y-ngx-components-api.mjs +16 -1
- package/fesm2015/c8y-ngx-components-api.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components-assets-navigator.mjs +1 -1
- package/fesm2015/c8y-ngx-components-assets-navigator.mjs.map +1 -1
- package/fesm2015/c8y-ngx-components.mjs +2 -0
- package/fesm2015/c8y-ngx-components.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-api.mjs +16 -1
- package/fesm2020/c8y-ngx-components-api.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components-assets-navigator.mjs +1 -1
- package/fesm2020/c8y-ngx-components-assets-navigator.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components.mjs +2 -0
- package/fesm2020/c8y-ngx-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -20100,6 +20100,7 @@ class DropAreaComponent {
|
|
|
20100
20100
|
this.clearErrors();
|
|
20101
20101
|
this.dropped.emit(null);
|
|
20102
20102
|
this.onChange(null);
|
|
20103
|
+
this.onTouched();
|
|
20103
20104
|
this.cd.markForCheck();
|
|
20104
20105
|
}
|
|
20105
20106
|
writeValue(value) {
|
|
@@ -20119,6 +20120,7 @@ class DropAreaComponent {
|
|
|
20119
20120
|
this.onTouched = fn;
|
|
20120
20121
|
}
|
|
20121
20122
|
async onFilesSelected(files) {
|
|
20123
|
+
this.onTouched();
|
|
20122
20124
|
const hasValidNameLength = this.filesService.checkMaxLength(files);
|
|
20123
20125
|
if (!hasValidNameLength) {
|
|
20124
20126
|
this.onFileInvalidNameLength();
|