@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.
@@ -1,4 +1,4 @@
1
- import { EventEmitter, ElementRef, OnInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecodev/natural",
3
- "version": "40.0.0",
3
+ "version": "41.1.2",
4
4
  "license": "MIT",
5
5
  "repository": "github:Ecodev/natural",
6
6
  "sideEffects": false,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  This is the single public entry point for the lib
3
- So it Natural styles can be imported into an application like so:
3
+ So Natural styles can be imported into an application like so:
4
4
 
5
5
  ```
6
6
  @use '~@ecodev/natural/theming/natural.theme';