@ecodev/natural 63.2.0 → 63.2.1
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.
|
@@ -34,7 +34,7 @@ export declare abstract class NaturalAbstractFile implements OnInit, OnDestroy,
|
|
|
34
34
|
*/
|
|
35
35
|
multiple: boolean;
|
|
36
36
|
/**
|
|
37
|
-
* Comma-separated list of unique file type specifiers. Like the native element
|
|
37
|
+
* Comma-separated list of unique file type specifiers. Like the native element,
|
|
38
38
|
* it can be a mix of mime-type and file extensions.
|
|
39
39
|
*
|
|
40
40
|
* See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept
|
|
@@ -58,7 +58,7 @@ export declare abstract class NaturalAbstractFile implements OnInit, OnDestroy,
|
|
|
58
58
|
/**
|
|
59
59
|
* If true, the file selection will be broadcast through `NaturalFileService.filesChanged`.
|
|
60
60
|
*
|
|
61
|
-
* It is useful to set this to false if there
|
|
61
|
+
* It is useful to set this to false if there are two uploads on a page with different purposes,
|
|
62
62
|
* and the second upload should not be confused with the first one.
|
|
63
63
|
*/
|
|
64
64
|
broadcast: boolean;
|
|
@@ -59,14 +59,26 @@ export declare class NaturalPanelsService {
|
|
|
59
59
|
*/
|
|
60
60
|
private isVertical;
|
|
61
61
|
constructor();
|
|
62
|
+
/**
|
|
63
|
+
* Notify the service to start listening to route changes to open panels
|
|
64
|
+
*
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
62
67
|
start(route: ActivatedRoute): void;
|
|
63
68
|
/**
|
|
64
69
|
* Uses given configuration to add at the end of current url
|
|
65
70
|
*/
|
|
66
71
|
private appendConfigToCurrentUrl;
|
|
72
|
+
/**
|
|
73
|
+
* Notify the service that all panels were closed
|
|
74
|
+
*
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
67
77
|
stop(): void;
|
|
68
78
|
/**
|
|
69
79
|
* Go to panel matching given component. Causes an url change.
|
|
80
|
+
*
|
|
81
|
+
* @internal
|
|
70
82
|
*/
|
|
71
83
|
goToPanelByComponent(component: NaturalAbstractPanel): void;
|
|
72
84
|
/**
|
|
@@ -96,6 +108,10 @@ export declare class NaturalPanelsService {
|
|
|
96
108
|
* Return panel position (index) by searching matching component
|
|
97
109
|
*/
|
|
98
110
|
private getPanelIndex;
|
|
111
|
+
/**
|
|
112
|
+
* Whether the given panel is currently the top, visible, panel. If there are no panels opened at all, then any panel given is considered top, visible, panel.
|
|
113
|
+
*/
|
|
114
|
+
isTopPanel(component: NaturalAbstractPanel): boolean;
|
|
99
115
|
/**
|
|
100
116
|
* Repositions panels from start until given index
|
|
101
117
|
*/
|