@arsedizioni/ars-utils 18.1.16 → 18.1.18

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.
@@ -83,7 +83,7 @@ export declare class DialogService extends UIService {
83
83
  * @param action : action to do during the execution (optional)
84
84
  * @returns true if a new popup has been opened
85
85
  */
86
- setBusy(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', type?: 'bar' | 'spinner' | 'wait', action?: Observable<Object>): boolean;
86
+ setBusy(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', type?: 'bar' | 'spinner' | 'wait', action?: Observable<Object> | null): boolean;
87
87
  /**
88
88
  * Display a busy dialog
89
89
  * @param message : new message
@@ -92,7 +92,7 @@ export declare class DialogService extends UIService {
92
92
  * @param action : action to do during the execution (optional)
93
93
  * @returns true if a new popup has been opened
94
94
  */
95
- busy(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', action?: Observable<Object>): boolean;
95
+ busy(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', action?: Observable<Object> | null): boolean;
96
96
  /**
97
97
  * Display a busy spinner dialog
98
98
  * @param message : new message
@@ -101,32 +101,33 @@ export declare class DialogService extends UIService {
101
101
  * @param action : action to do during the execution (optional)
102
102
  * @returns true if a new popup has been opened
103
103
  */
104
- busySpinner(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', action?: Observable<Object>): boolean;
104
+ busySpinner(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', action?: Observable<Object> | null): boolean;
105
105
  /**
106
106
  * Display a wait spinner
107
107
  * @param action : action to do during the execution (optional)
108
108
  * @returns true if a new popup has been opened
109
109
  */
110
- wait(action?: Observable<Object>): boolean;
110
+ wait(action?: Observable<Object> | null): boolean;
111
111
  /**
112
112
  * Display an information dialog
113
113
  * @param message : message
114
- * @param title : dilog title
114
+ * @param title : dialog title
115
115
  * @param okCaption : ok button caption
116
116
  * @param width: the preferred width
117
- * @param dismissAfter: is specified, the dialog will be closed after dismissAfter milliseconds
117
+ * @param dismissAfter: if specified, the dialog will be closed after dismissAfter milliseconds
118
+ * @param details: if specified, the details info
118
119
  */
119
- info(message: string, title?: string, okCaption?: string, width?: number, dismissAfter?: number): MatDialogRef<InfoDialogComponent>;
120
+ info(message: string, title?: string, okCaption?: string, width?: number, dismissAfter?: number | null, details?: string | null): MatDialogRef<InfoDialogComponent>;
120
121
  /**
121
122
  * Display an error dialog
122
123
  * @param message : message
123
124
  * @param log : the error log
124
- * @param title : dilog title
125
+ * @param title : dialog title
125
126
  * @param okCaption : ok button caption
126
127
  * @param width: the preferred width
127
- * @param dismissAfter: is specified, the dialog will be closed after dismissAfter milliseconds
128
+ * @param dismissAfter: if specified, the dialog will be closed after dismissAfter milliseconds
128
129
  */
129
- error(message: string, log?: string, title?: string, okCaption?: string, width?: number, dismissAfter?: number): MatDialogRef<InfoDialogComponent>;
130
+ error(message: string, log?: string | null, title?: string, okCaption?: string, width?: number, dismissAfter?: number | null): MatDialogRef<InfoDialogComponent>;
130
131
  /**
131
132
  * Display toast
132
133
  * @param message : message to display
@@ -134,7 +135,7 @@ export declare class DialogService extends UIService {
134
135
  * @param icon : the mat-icon to display
135
136
  * @param actionCaption action button caption
136
137
  */
137
- toast(message: string, duration?: number, icon?: string, actionCaption?: string): MatSnackBarRef<ToastComponent>;
138
+ toast(message: string, duration?: number, icon?: string, actionCaption?: string | null): MatSnackBarRef<ToastComponent>;
138
139
  /**
139
140
  * Display a confirm dialog
140
141
  * @param message : html message
@@ -145,7 +146,7 @@ export declare class DialogService extends UIService {
145
146
  * @param options: check box options
146
147
  * @param width: the preferred width
147
148
  */
148
- confirm(message: string, title?: string, okCaption?: string, cancelCaption?: string, otherCaption?: string, options?: any, width?: number): MatDialogRef<any, any>;
149
+ confirm(message: string, title?: string, okCaption?: string, cancelCaption?: string, otherCaption?: string | null, options?: any | null, width?: number): MatDialogRef<any, any>;
149
150
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
150
151
  static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
151
152
  }
@@ -25,7 +25,7 @@ export declare class ApplicationDialogService extends DialogService {
25
25
  * @param options : checkable option list
26
26
  * @param width: the preferred width
27
27
  */
28
- sendTo(title?: string, allowPopulate?: boolean, count?: number, options?: any, width?: number): MatDialogRef<SendToDialogComponent, any>;
28
+ sendTo(title?: string, allowPopulate?: boolean, count?: number | null, options?: any | null, width?: number): MatDialogRef<SendToDialogComponent, any>;
29
29
  /**
30
30
  * Select a tree node
31
31
  * @param nodes : tree nodes
@@ -35,7 +35,7 @@ export declare class ApplicationDialogService extends DialogService {
35
35
  * @param width: the preferred width
36
36
  * @param okCaption : ok catpion button
37
37
  */
38
- selectTree(nodes: any, title?: string, description?: string, initialFilter?: string, width?: number, okCaption?: string): MatDialogRef<SelectTreeDialogComponent, any>;
38
+ selectTree(nodes: any, title?: string, description?: string | null, initialFilter?: string | null, width?: number, okCaption?: string): MatDialogRef<SelectTreeDialogComponent, any>;
39
39
  /**
40
40
  * Display a select a picture dialog
41
41
  * @param title : dialog title
@@ -44,7 +44,7 @@ export declare class ApplicationDialogService extends DialogService {
44
44
  * @param options : checkable option list
45
45
  * @param width: the preferred width
46
46
  */
47
- selectPicture(title?: string, descritpion?: string, okCaption?: string, options?: any, width?: number): MatDialogRef<SelectPictureDialogComponent, any>;
47
+ selectPicture(title?: string, descritpion?: string | null, okCaption?: string, options?: any | null, width?: number): MatDialogRef<SelectPictureDialogComponent, any>;
48
48
  /**
49
49
  * Display a select a file dialog
50
50
  * @param title : dialog title
@@ -55,7 +55,7 @@ export declare class ApplicationDialogService extends DialogService {
55
55
  * @param options : checkable option list
56
56
  * @param width: the preferred width
57
57
  */
58
- selectFile(title?: string, descritpion?: string, okCaption?: string, helpLink?: string, helpCaption?: string, options?: any, width?: number): MatDialogRef<SelectFileDialogComponent, any>;
58
+ selectFile(title?: string, descritpion?: string | null, okCaption?: string, helpLink?: string | null, helpCaption?: string | null, options?: any | null, width?: number): MatDialogRef<SelectFileDialogComponent, any>;
59
59
  /**
60
60
  * Display a multipourpose selection and CRUD dialog
61
61
  * @param data : the dialog configuration model
@@ -72,7 +72,7 @@ export declare class ApplicationDialogService extends DialogService {
72
72
  * @param options : checkable option list
73
73
  * @param width: the preferred width
74
74
  */
75
- prompt(title: string, type: number, description: string, initialValue?: any, okCaption?: string, cancelCaption?: string, options?: any, width?: number): MatDialogRef<PromptDialogComponent>;
75
+ prompt(title: string, type: number, description: string, initialValue?: any | null, okCaption?: string, cancelCaption?: string, options?: any | null, width?: number): MatDialogRef<PromptDialogComponent>;
76
76
  static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationDialogService, never>;
77
77
  static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationDialogService>;
78
78
  }