@ecodev/natural 40.0.0 → 41.1.2
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/ecodev-natural.umd.js +16 -4
- package/bundles/ecodev-natural.umd.js.map +1 -1
- package/ecodev-natural.metadata.json +1 -1
- package/esm2015/lib/modules/file/abstract-file.js +14 -4
- package/esm2015/lib/modules/file/file-drop.directive.js +4 -2
- package/esm2015/lib/modules/hierarchic-selector/hierarchic-selector-dialog/hierarchic-selector-dialog.component.js +1 -1
- package/fesm2015/ecodev-natural.js +15 -3
- package/fesm2015/ecodev-natural.js.map +1 -1
- package/lib/modules/file/abstract-file.d.ts +8 -1
- package/package.json +1 -1
- package/theming/_natural.theme.scss +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { NaturalFileService } from './file.service';
|
|
3
3
|
import { NaturalAbstractController } from '../../classes/abstract-controller';
|
|
4
4
|
export interface InvalidFile {
|
|
@@ -56,6 +56,13 @@ export declare abstract class NaturalAbstractFile extends NaturalAbstractControl
|
|
|
56
56
|
* no effect.
|
|
57
57
|
*/
|
|
58
58
|
selectable: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* If true, the file selection will be broadcast through `NaturalFileService.filesChanged`.
|
|
61
|
+
*
|
|
62
|
+
* It is useful to set this to false if there is two upload on a page with different purpose
|
|
63
|
+
* and the second upload should not be confused with the first one.
|
|
64
|
+
*/
|
|
65
|
+
broadcast: boolean;
|
|
59
66
|
/**
|
|
60
67
|
* The single valid file that has been selected.
|
|
61
68
|
*
|
package/package.json
CHANGED