@arsedizioni/ars-utils 19.2.20 → 19.3.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.
- package/clipper.common/common/definitions.d.ts +402 -402
- package/clipper.common/common/services/clipper.service.d.ts +8 -8
- package/clipper.ui/documents.d.ts +1 -1
- package/clipper.ui/ui/browser/browser-dialog/browser-dialog.component.d.ts +6 -6
- package/clipper.ui/ui/browser/browser.component.d.ts +2 -2
- package/clipper.ui/ui/document/document.component.d.ts +9 -9
- package/clipper.ui/ui/document-manager/document-manager.d.ts +3 -3
- package/clipper.ui/ui/document-menu/document-menu.component.d.ts +3 -3
- package/clipper.ui/ui/references/references.component.d.ts +6 -6
- package/clipper.ui/ui/search-calendar/search-calendar.component.d.ts +2 -2
- package/clipper.ui/ui/search-facets/search-facets.component.d.ts +1 -1
- package/clipper.ui/ui/search-result-manager/search-result-manager.d.ts +9 -9
- package/core/definitions.d.ts +39 -39
- package/core/pipes/format.pipe.d.ts +1 -1
- package/core/pipes/replace.pipe.d.ts +1 -1
- package/core/pipes/safe-html.pipe.d.ts +1 -1
- package/core/pipes/safe-url.pipe.d.ts +1 -1
- package/core/pipes/search-callback.pipe.d.ts +1 -1
- package/core/pipes/search-filter.pipe.d.ts +1 -1
- package/core/selectable.d.ts +4 -4
- package/core/services/broadcast.service.d.ts +1 -1
- package/core/services/broadcastChannelManager.d.ts +1 -1
- package/core/system.d.ts +8 -8
- package/evolution.common/common/definitions.d.ts +218 -218
- package/evolution.common/common/services/evolution.service.d.ts +5 -5
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +136 -11
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +31 -31
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +7 -7
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-help.mjs +1 -1
- package/fesm2022/arsedizioni-ars-utils-help.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +4 -4
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-tinymce.mjs +1 -1
- package/fesm2022/arsedizioni-ars-utils-tinymce.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +39 -35
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.mjs +11 -11
- package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
- package/help/components/help-viewer/help-viewer.component.d.ts +4 -4
- package/help/definitions.d.ts +1 -1
- package/package.json +11 -11
- package/support.common/common/definitions.d.ts +23 -23
- package/support.common/common/services/support.service.d.ts +1 -1
- package/support.ui/ui/notifications-browser/notification/notification.component.d.ts +2 -2
- package/tinymce/full-screen-editor/full-screen-editor.component.d.ts +2 -2
- package/ui/ui/definitions.d.ts +4 -4
- package/ui/ui/dialogs/confirm/confirm-dialog.component.d.ts +7 -7
- package/ui/ui/dialogs/credentials/credentials-dialog.component.d.ts +9 -9
- package/ui/ui/dialogs/info/info-dialog.component.d.ts +5 -5
- package/ui/ui/dialogs/recover-password/recover-password-dialog.component.d.ts +1 -1
- package/ui/ui/dialogs/reset-password/reset-password-dialog.component.d.ts +3 -3
- package/ui/ui/dialogs/toast/toast.component.d.ts +2 -2
- package/ui/ui/services/dialog.service.d.ts +9 -9
- package/ui.application/ui/components/button-selector/button-selector.component.d.ts +2 -2
- package/ui.application/ui/components/chips-selector/chips-selector.component.d.ts +2 -2
- package/ui.application/ui/components/file-input/file-input.component.d.ts +1 -1
- package/ui.application/ui/components/file-preview/file-preview.component.d.ts +3 -3
- package/ui.application/ui/components/filter-bar/filter-bar.component.d.ts +3 -3
- package/ui.application/ui/definitions.d.ts +49 -49
- package/ui.application/ui/dialogs/prompt/prompt-dialog.component.d.ts +1 -1
- package/ui.application/ui/dialogs/prompt-date/prompt-date-dialog.component.d.ts +1 -1
- package/ui.application/ui/dialogs/prompt-time/prompt-time-dialog.component.d.ts +1 -1
- package/ui.application/ui/dialogs/select/select-dialog.component.d.ts +1 -1
- package/ui.application/ui/dialogs/select-file/select-file-dialog.component.d.ts +1 -1
- package/ui.application/ui/dialogs/select-picture/select-picture-dialog.component.d.ts +1 -1
- package/ui.application/ui/dialogs/send-to/send-to-dialog.component.d.ts +5 -5
- package/ui.application/ui/filters.d.ts +28 -28
- package/ui.application/ui/services/applicationDialog.service.d.ts +14 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arsedizioni/ars-utils",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.3.1",
|
|
4
4
|
"author": {
|
|
5
5
|
"email": "software@arsedizioni.it",
|
|
6
6
|
"name": "Fabio Buscaroli, Alberto Doria"
|
|
@@ -40,17 +40,17 @@
|
|
|
40
40
|
"types": "./clipper.ui/index.d.ts",
|
|
41
41
|
"default": "./fesm2022/arsedizioni-ars-utils-clipper.ui.mjs"
|
|
42
42
|
},
|
|
43
|
-
"./
|
|
44
|
-
"types": "./
|
|
45
|
-
"default": "./fesm2022/arsedizioni-ars-utils-
|
|
43
|
+
"./help": {
|
|
44
|
+
"types": "./help/index.d.ts",
|
|
45
|
+
"default": "./fesm2022/arsedizioni-ars-utils-help.mjs"
|
|
46
46
|
},
|
|
47
47
|
"./evolution.common": {
|
|
48
48
|
"types": "./evolution.common/index.d.ts",
|
|
49
49
|
"default": "./fesm2022/arsedizioni-ars-utils-evolution.common.mjs"
|
|
50
50
|
},
|
|
51
|
-
"./
|
|
52
|
-
"types": "./
|
|
53
|
-
"default": "./fesm2022/arsedizioni-ars-utils-
|
|
51
|
+
"./core": {
|
|
52
|
+
"types": "./core/index.d.ts",
|
|
53
|
+
"default": "./fesm2022/arsedizioni-ars-utils-core.mjs"
|
|
54
54
|
},
|
|
55
55
|
"./support.common": {
|
|
56
56
|
"types": "./support.common/index.d.ts",
|
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
"types": "./tinymce/index.d.ts",
|
|
65
65
|
"default": "./fesm2022/arsedizioni-ars-utils-tinymce.mjs"
|
|
66
66
|
},
|
|
67
|
-
"./ui": {
|
|
68
|
-
"types": "./ui/index.d.ts",
|
|
69
|
-
"default": "./fesm2022/arsedizioni-ars-utils-ui.mjs"
|
|
70
|
-
},
|
|
71
67
|
"./ui.application": {
|
|
72
68
|
"types": "./ui.application/index.d.ts",
|
|
73
69
|
"default": "./fesm2022/arsedizioni-ars-utils-ui.application.mjs"
|
|
74
70
|
},
|
|
71
|
+
"./ui": {
|
|
72
|
+
"types": "./ui/index.d.ts",
|
|
73
|
+
"default": "./fesm2022/arsedizioni-ars-utils-ui.mjs"
|
|
74
|
+
},
|
|
75
75
|
"./ui.oauth": {
|
|
76
76
|
"types": "./ui.oauth/index.d.ts",
|
|
77
77
|
"default": "./fesm2022/arsedizioni-ars-utils-ui.oauth.mjs"
|
|
@@ -6,18 +6,18 @@ export declare enum SupportServiceFlags {
|
|
|
6
6
|
}
|
|
7
7
|
export interface SupportUserInfo {
|
|
8
8
|
id: number;
|
|
9
|
-
groups?: number;
|
|
10
|
-
groupNames?: string;
|
|
11
|
-
displayName?: string;
|
|
12
|
-
dashboard?: string;
|
|
13
|
-
sessionId?: string;
|
|
14
|
-
email?: string;
|
|
15
|
-
customerId?: number;
|
|
16
|
-
companyName?: string;
|
|
9
|
+
groups?: number | null;
|
|
10
|
+
groupNames?: string | null;
|
|
11
|
+
displayName?: string | null;
|
|
12
|
+
dashboard?: string | null;
|
|
13
|
+
sessionId?: string | null;
|
|
14
|
+
email?: string | null;
|
|
15
|
+
customerId?: number | null;
|
|
16
|
+
companyName?: string | null;
|
|
17
17
|
role: number;
|
|
18
|
-
scopes?: string[];
|
|
18
|
+
scopes?: string[] | null;
|
|
19
19
|
sla: number;
|
|
20
|
-
isCommercial?: boolean;
|
|
20
|
+
isCommercial?: boolean | null;
|
|
21
21
|
isAdministrator: boolean;
|
|
22
22
|
isGuest: boolean;
|
|
23
23
|
isUser: boolean;
|
|
@@ -28,27 +28,27 @@ export interface SupportLoginResult extends LoginResult<SupportUserInfo> {
|
|
|
28
28
|
}
|
|
29
29
|
export interface SupportLoginInfo {
|
|
30
30
|
context: SupportUserInfo;
|
|
31
|
-
userCredentials?: string;
|
|
31
|
+
userCredentials?: string | null;
|
|
32
32
|
}
|
|
33
33
|
export interface SupportNotificationsSearchParams {
|
|
34
|
-
any?: string;
|
|
35
|
-
products?: number;
|
|
36
|
-
productModules?: number;
|
|
37
|
-
first?: number;
|
|
38
|
-
count?: number;
|
|
34
|
+
any?: string | null;
|
|
35
|
+
products?: number | null;
|
|
36
|
+
productModules?: number | null;
|
|
37
|
+
first?: number | null;
|
|
38
|
+
count?: number | null;
|
|
39
39
|
}
|
|
40
40
|
export interface SupportNotificationsSearchResult {
|
|
41
|
-
interval?: string;
|
|
42
|
-
items?: SupportNotificationInfo[];
|
|
43
|
-
total?: number;
|
|
41
|
+
interval?: string | null;
|
|
42
|
+
items?: SupportNotificationInfo[] | null;
|
|
43
|
+
total?: number | null;
|
|
44
44
|
}
|
|
45
45
|
export interface SupportNotificationInfo {
|
|
46
46
|
id: number;
|
|
47
47
|
products: number;
|
|
48
|
-
productNames?: string;
|
|
49
|
-
productModules?: number;
|
|
50
|
-
productModuleNames?: string;
|
|
51
|
-
publishingDate?: Date;
|
|
48
|
+
productNames?: string | null;
|
|
49
|
+
productModules?: number | null;
|
|
50
|
+
productModuleNames?: string | null;
|
|
51
|
+
publishingDate?: Date | null;
|
|
52
52
|
title: string;
|
|
53
53
|
text: string;
|
|
54
54
|
state: number;
|
|
@@ -65,7 +65,7 @@ export declare class SupportService implements OnDestroy {
|
|
|
65
65
|
* @param oauthAccessToken: the optional oauth2 access token
|
|
66
66
|
* @returns: the login result
|
|
67
67
|
*/
|
|
68
|
-
login(email?: string | undefined, oauth?: number | undefined, oauthAccessToken?: string | undefined): import("rxjs").Observable<ApiResult<SupportLoginResult>>;
|
|
68
|
+
login(email?: string | null | undefined, oauth?: number | null | undefined, oauthAccessToken?: string | null | undefined): import("rxjs").Observable<ApiResult<SupportLoginResult>>;
|
|
69
69
|
/**
|
|
70
70
|
* Perform logout
|
|
71
71
|
*/
|
|
@@ -2,7 +2,7 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { ScreenService } from '@arsedizioni/ars-utils/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface SupportNotificationData {
|
|
5
|
-
id?: number;
|
|
5
|
+
id?: number | null;
|
|
6
6
|
}
|
|
7
7
|
export declare class SupportNotificationComponent implements OnInit {
|
|
8
8
|
protected screenService: ScreenService;
|
|
@@ -12,7 +12,7 @@ export declare class SupportNotificationComponent implements OnInit {
|
|
|
12
12
|
private dialogService;
|
|
13
13
|
private dialogData;
|
|
14
14
|
protected id: number;
|
|
15
|
-
protected item: any |
|
|
15
|
+
protected item: any | null;
|
|
16
16
|
ngOnInit(): void;
|
|
17
17
|
/**
|
|
18
18
|
* Retrieve data
|
|
@@ -3,14 +3,14 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export interface FullScreenEditorDialogData {
|
|
4
4
|
text: string;
|
|
5
5
|
configuration: Record<string, any>;
|
|
6
|
-
disabled?: boolean;
|
|
6
|
+
disabled?: boolean | null;
|
|
7
7
|
}
|
|
8
8
|
export declare class FullScreenEditorComponent implements OnInit {
|
|
9
9
|
readonly saving: import("@angular/core").OutputEmitterRef<string>;
|
|
10
10
|
private dialogRef;
|
|
11
11
|
protected dialogData: FullScreenEditorDialogData;
|
|
12
12
|
protected disabled: import("@angular/core").WritableSignal<boolean>;
|
|
13
|
-
protected text?: string |
|
|
13
|
+
protected text?: string | null;
|
|
14
14
|
protected tinymceConfig: Record<string, any>;
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
/**
|
package/ui/ui/definitions.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface DialogResult {
|
|
2
|
-
result?: 'ok' | 'cancel' | 'other';
|
|
3
|
-
value?: any;
|
|
4
|
-
options?: any;
|
|
2
|
+
result?: 'ok' | 'cancel' | 'other' | null;
|
|
3
|
+
value?: any | null;
|
|
4
|
+
options?: any | null;
|
|
5
5
|
}
|
|
6
6
|
export interface RecoverPasswordDialogResult {
|
|
7
7
|
email: string;
|
|
@@ -17,5 +17,5 @@ export interface ResetPasswordDialogResult {
|
|
|
17
17
|
export interface CredentialsDialogResult {
|
|
18
18
|
user: string;
|
|
19
19
|
password: string;
|
|
20
|
-
rememberMe?: boolean;
|
|
20
|
+
rememberMe?: boolean | null;
|
|
21
21
|
}
|
|
@@ -6,13 +6,13 @@ export interface ConfirmDialogOption {
|
|
|
6
6
|
description: string;
|
|
7
7
|
}
|
|
8
8
|
export interface ConfirmDialogData {
|
|
9
|
-
title?: string;
|
|
9
|
+
title?: string | null;
|
|
10
10
|
message: string;
|
|
11
|
-
okCaption?: string;
|
|
12
|
-
cancelCaption?: string;
|
|
13
|
-
otherCaption?: string;
|
|
14
|
-
options?: ConfirmDialogOption[];
|
|
15
|
-
details?: string;
|
|
11
|
+
okCaption?: string | null;
|
|
12
|
+
cancelCaption?: string | null;
|
|
13
|
+
otherCaption?: string | null;
|
|
14
|
+
options?: ConfirmDialogOption[] | null;
|
|
15
|
+
details?: string | null;
|
|
16
16
|
}
|
|
17
17
|
export declare class ConfirmDialogComponent implements OnInit {
|
|
18
18
|
readonly choosen: import("@angular/core").OutputEmitterRef<DialogResult>;
|
|
@@ -44,4 +44,4 @@ export declare class ConfirmDialogComponent implements OnInit {
|
|
|
44
44
|
* @param options: check box options
|
|
45
45
|
* @param width: the preferred width
|
|
46
46
|
*/
|
|
47
|
-
export declare function confirm(message: string, title?: string, okCaption?: string, cancelCaption?: string, otherCaption?: string |
|
|
47
|
+
export declare function confirm(message: string, title?: string, okCaption?: string, cancelCaption?: string, otherCaption?: string | null, options?: ConfirmDialogOption[] | null, width?: number, details?: string | null): any;
|
|
@@ -2,15 +2,15 @@ import { OnInit } from "@angular/core";
|
|
|
2
2
|
import { CredentialsDialogResult } from "../../definitions";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface CredentialsDialogData {
|
|
5
|
-
title?: string;
|
|
6
|
-
message?: string;
|
|
7
|
-
remember?: boolean;
|
|
8
|
-
recoverPassword?: boolean;
|
|
9
|
-
recoverPasswordUrl?: string;
|
|
10
|
-
user?: string;
|
|
11
|
-
okCaption?: string;
|
|
12
|
-
mode?: number;
|
|
13
|
-
appearance?: string;
|
|
5
|
+
title?: string | null;
|
|
6
|
+
message?: string | null;
|
|
7
|
+
remember?: boolean | null;
|
|
8
|
+
recoverPassword?: boolean | null;
|
|
9
|
+
recoverPasswordUrl?: string | null;
|
|
10
|
+
user?: string | null;
|
|
11
|
+
okCaption?: string | null;
|
|
12
|
+
mode?: number | null;
|
|
13
|
+
appearance?: string | null;
|
|
14
14
|
}
|
|
15
15
|
export declare class CredentialsDialogComponent implements OnInit {
|
|
16
16
|
readonly done: import("@angular/core").OutputEmitterRef<CredentialsDialogResult>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export interface InfoDialogData {
|
|
4
|
-
title?: string;
|
|
4
|
+
title?: string | null;
|
|
5
5
|
message: string;
|
|
6
|
-
details?: string;
|
|
7
|
-
okCaption?: string;
|
|
8
|
-
dismissAfter?: number;
|
|
9
|
-
onNavigate?: (url: string) => void;
|
|
6
|
+
details?: string | null;
|
|
7
|
+
okCaption?: string | null;
|
|
8
|
+
dismissAfter?: number | null;
|
|
9
|
+
onNavigate?: (url: string) => void | null;
|
|
10
10
|
}
|
|
11
11
|
export declare class InfoDialogComponent implements OnInit {
|
|
12
12
|
private dialogRef;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RecoverPasswordDialogResult } from '../../definitions';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export interface RecoverPasswordDialogData {
|
|
4
|
-
appearance?: string;
|
|
4
|
+
appearance?: string | null;
|
|
5
5
|
}
|
|
6
6
|
export declare class RecoverPasswordDialogComponent {
|
|
7
7
|
readonly done: import("@angular/core").OutputEmitterRef<RecoverPasswordDialogResult>;
|
|
@@ -3,9 +3,9 @@ import { ResetPasswordDialogResult } from '../../definitions';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface ResetPasswordDialogData {
|
|
5
5
|
mode: number;
|
|
6
|
-
userId?: number;
|
|
7
|
-
userEmail?: string;
|
|
8
|
-
appearance?: string;
|
|
6
|
+
userId?: number | null;
|
|
7
|
+
userEmail?: string | null;
|
|
8
|
+
appearance?: string | null;
|
|
9
9
|
}
|
|
10
10
|
export declare class ResetPasswordDialogComponent implements OnInit {
|
|
11
11
|
readonly done: import("@angular/core").OutputEmitterRef<ResetPasswordDialogResult>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export interface ToastData {
|
|
3
3
|
message: string;
|
|
4
|
-
icon?: string;
|
|
5
|
-
actionCaption?: string;
|
|
4
|
+
icon?: string | null;
|
|
5
|
+
actionCaption?: string | null;
|
|
6
6
|
}
|
|
7
7
|
export declare class ToastComponent {
|
|
8
8
|
readonly action: import("@angular/core").OutputEmitterRef<void>;
|
|
@@ -84,7 +84,7 @@ export declare class DialogService extends UIService {
|
|
|
84
84
|
* @param action : action to do during the execution (optional)
|
|
85
85
|
* @returns true if a new popup has been opened
|
|
86
86
|
*/
|
|
87
|
-
setBusy(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', type?: 'bar' | 'spinner' | 'wait' | 'hourglass', action?: Observable<Object> |
|
|
87
|
+
setBusy(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', type?: 'bar' | 'spinner' | 'wait' | 'hourglass', action?: Observable<Object> | null): boolean;
|
|
88
88
|
/**
|
|
89
89
|
* Display a busy dialog
|
|
90
90
|
* @param message : new message
|
|
@@ -93,14 +93,14 @@ export declare class DialogService extends UIService {
|
|
|
93
93
|
* @param action : action to do during the execution (optional)
|
|
94
94
|
* @returns true if a new popup has been opened
|
|
95
95
|
*/
|
|
96
|
-
busy(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', action?: Observable<Object> |
|
|
96
|
+
busy(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', action?: Observable<Object> | null): boolean;
|
|
97
97
|
/**
|
|
98
98
|
* Display a busy indeterminate dialog as hourglass
|
|
99
99
|
* @param message : new message
|
|
100
100
|
* @param action : action to do during the execution (optional)
|
|
101
101
|
* @returns true if a new popup has been opened
|
|
102
102
|
*/
|
|
103
|
-
busyHourglass(message: string, action?: Observable<Object> |
|
|
103
|
+
busyHourglass(message: string, action?: Observable<Object> | null): boolean;
|
|
104
104
|
/**
|
|
105
105
|
* Display a busy spinner dialog
|
|
106
106
|
* @param message : new message
|
|
@@ -109,13 +109,13 @@ export declare class DialogService extends UIService {
|
|
|
109
109
|
* @param action : action to do during the execution (optional)
|
|
110
110
|
* @returns true if a new popup has been opened
|
|
111
111
|
*/
|
|
112
|
-
busySpinner(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', action?: Observable<Object> |
|
|
112
|
+
busySpinner(message: string, progress?: number, progressMode?: 'determinate' | 'indeterminate', action?: Observable<Object> | null): boolean;
|
|
113
113
|
/**
|
|
114
114
|
* Display a wait spinner
|
|
115
115
|
* @param action : action to do during the execution (optional)
|
|
116
116
|
* @returns true if a new popup has been opened
|
|
117
117
|
*/
|
|
118
|
-
wait(action?: Observable<Object> |
|
|
118
|
+
wait(action?: Observable<Object> | null): boolean;
|
|
119
119
|
/**
|
|
120
120
|
* Display an information dialog
|
|
121
121
|
* @param message : message
|
|
@@ -126,7 +126,7 @@ export declare class DialogService extends UIService {
|
|
|
126
126
|
* @param details: if specified, the details info
|
|
127
127
|
* @param onNavigate: the callback to use for navigation. Default is null
|
|
128
128
|
*/
|
|
129
|
-
info(message: string, title?: string, okCaption?: string, width?: number, dismissAfter?: number |
|
|
129
|
+
info(message: string, title?: string, okCaption?: string, width?: number, dismissAfter?: number | null, details?: string | null, onNavigate?: (url: string) => void): MatDialogRef<InfoDialogComponent>;
|
|
130
130
|
/**
|
|
131
131
|
* Display an error dialog
|
|
132
132
|
* @param message : message
|
|
@@ -136,7 +136,7 @@ export declare class DialogService extends UIService {
|
|
|
136
136
|
* @param width: the preferred width
|
|
137
137
|
* @param dismissAfter: if specified, the dialog will be closed after dismissAfter milliseconds
|
|
138
138
|
*/
|
|
139
|
-
error(message: string, log?: string |
|
|
139
|
+
error(message: string, log?: string | null, title?: string, okCaption?: string, width?: number, dismissAfter?: number | null): MatDialogRef<InfoDialogComponent>;
|
|
140
140
|
/**
|
|
141
141
|
* Display toast
|
|
142
142
|
* @param message : message to display
|
|
@@ -144,7 +144,7 @@ export declare class DialogService extends UIService {
|
|
|
144
144
|
* @param icon : the mat-icon to display
|
|
145
145
|
* @param actionCaption action button caption
|
|
146
146
|
*/
|
|
147
|
-
toast(message: string, duration?: number, icon?: string, actionCaption?: string |
|
|
147
|
+
toast(message: string, duration?: number, icon?: string, actionCaption?: string | null): MatSnackBarRef<ToastComponent>;
|
|
148
148
|
/**
|
|
149
149
|
* Display a confirm dialog
|
|
150
150
|
* @param message : html message
|
|
@@ -155,7 +155,7 @@ export declare class DialogService extends UIService {
|
|
|
155
155
|
* @param options: check box options
|
|
156
156
|
* @param width: the preferred width
|
|
157
157
|
*/
|
|
158
|
-
confirm(message: string, title?: string, okCaption?: string, cancelCaption?: string, otherCaption?: string |
|
|
158
|
+
confirm(message: string, title?: string, okCaption?: string, cancelCaption?: string, otherCaption?: string | null, options?: ConfirmDialogOption[] | null, width?: number, details?: string | null): MatDialogRef<any, any>;
|
|
159
159
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
160
160
|
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
161
161
|
}
|
|
@@ -10,8 +10,8 @@ export declare class ButtonSelectorComponent implements OnInit, OnDestroy, Contr
|
|
|
10
10
|
private stateChanges;
|
|
11
11
|
private focused;
|
|
12
12
|
private _value;
|
|
13
|
-
set value(value: NameValueItem<any> |
|
|
14
|
-
get value(): NameValueItem<any> |
|
|
13
|
+
set value(value: NameValueItem<any> | null);
|
|
14
|
+
get value(): NameValueItem<any> | null;
|
|
15
15
|
private _disabled;
|
|
16
16
|
get disabled(): boolean;
|
|
17
17
|
set disabled(value: boolean);
|
|
@@ -14,7 +14,7 @@ export declare class ChipsSelectorComponent implements OnInit, OnDestroy, AfterC
|
|
|
14
14
|
private changesEnabled;
|
|
15
15
|
readonly options: import("@angular/core").InputSignal<NameValueItem<any>[]>;
|
|
16
16
|
readonly collapsedWidth: import("@angular/core").InputSignal<number>;
|
|
17
|
-
readonly collapsedDisplayMode: import("@angular/core").InputSignal<"
|
|
17
|
+
readonly collapsedDisplayMode: import("@angular/core").InputSignal<"dropdown" | "button">;
|
|
18
18
|
readonly collapseAt: import("@angular/core").InputSignal<number>;
|
|
19
19
|
readonly collapseAtContainer: import("@angular/core").InputSignal<boolean>;
|
|
20
20
|
protected collapsed: Signal<boolean>;
|
|
@@ -44,7 +44,7 @@ export declare class ChipsSelectorComponent implements OnInit, OnDestroy, AfterC
|
|
|
44
44
|
describedBy: string;
|
|
45
45
|
private renderer;
|
|
46
46
|
protected selection: NameValueItem<any>[];
|
|
47
|
-
protected singleSelection: NameValueItem<any> |
|
|
47
|
+
protected singleSelection: NameValueItem<any> | null;
|
|
48
48
|
constructor(ngControl: NgControl);
|
|
49
49
|
ngOnInit(): void;
|
|
50
50
|
ngOnDestroy(): void;
|
|
@@ -29,7 +29,7 @@ export declare class FileInputComponent implements OnDestroy, AfterViewInit, DoC
|
|
|
29
29
|
private _placeholder;
|
|
30
30
|
get placeholder(): string;
|
|
31
31
|
set placeholder(value: string);
|
|
32
|
-
fileName: string |
|
|
32
|
+
fileName: string | null;
|
|
33
33
|
readonly maxSizeMb: import("@angular/core").InputSignal<number>;
|
|
34
34
|
readonly minSizeMb: import("@angular/core").InputSignal<number>;
|
|
35
35
|
readonly isNew: import("@angular/core").InputSignal<boolean>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export interface FilePreviewDialogData {
|
|
4
|
-
url?: string;
|
|
5
|
-
embed?: boolean;
|
|
6
|
-
authToken?: string;
|
|
4
|
+
url?: string | null;
|
|
5
|
+
embed?: boolean | null;
|
|
6
|
+
authToken?: string | null;
|
|
7
7
|
}
|
|
8
8
|
export declare class FilePreviewComponent implements OnInit, OnDestroy {
|
|
9
9
|
private unsubscribe;
|
|
@@ -24,9 +24,9 @@ export declare class FilterBarComponent implements OnInit {
|
|
|
24
24
|
readonly text3Length: import("@angular/core").InputSignal<string>;
|
|
25
25
|
readonly showTextSearchButton: import("@angular/core").InputSignal<boolean>;
|
|
26
26
|
readonly appearance: import("@angular/core").InputSignal<"fill" | "outline">;
|
|
27
|
-
protected text: string |
|
|
28
|
-
protected text2: string |
|
|
29
|
-
protected text3: string |
|
|
27
|
+
protected text: string | null;
|
|
28
|
+
protected text2: string | null;
|
|
29
|
+
protected text3: string | null;
|
|
30
30
|
protected flt1: FilterGroup;
|
|
31
31
|
protected flt2: FilterGroup;
|
|
32
32
|
protected flt3: FilterGroup;
|
|
@@ -4,13 +4,13 @@ export interface SelectDialogResult {
|
|
|
4
4
|
}
|
|
5
5
|
export interface SelectDialogLookup {
|
|
6
6
|
items: any[];
|
|
7
|
-
filter?: string;
|
|
7
|
+
filter?: string | null;
|
|
8
8
|
params?: any;
|
|
9
9
|
owner?: any;
|
|
10
10
|
}
|
|
11
11
|
export interface SelectDialogFilter {
|
|
12
12
|
items: any[];
|
|
13
|
-
filter?: string;
|
|
13
|
+
filter?: string | null;
|
|
14
14
|
filterOption?: any;
|
|
15
15
|
owner?: any;
|
|
16
16
|
}
|
|
@@ -28,47 +28,47 @@ export interface SelectFile {
|
|
|
28
28
|
}
|
|
29
29
|
export interface SelectDialogData {
|
|
30
30
|
title: string;
|
|
31
|
-
description?: string;
|
|
32
|
-
okCaption?: string;
|
|
33
|
-
maxItems?: number;
|
|
34
|
-
multipleSelection?: boolean;
|
|
35
|
-
mustSelect?: boolean;
|
|
36
|
-
width?: number;
|
|
37
|
-
filter?: string;
|
|
31
|
+
description?: string | null;
|
|
32
|
+
okCaption?: string | null;
|
|
33
|
+
maxItems?: number | null;
|
|
34
|
+
multipleSelection?: boolean | null;
|
|
35
|
+
mustSelect?: boolean | null;
|
|
36
|
+
width?: number | null;
|
|
37
|
+
filter?: string | null;
|
|
38
38
|
filters?: any;
|
|
39
39
|
items?: any;
|
|
40
|
-
total?: number;
|
|
40
|
+
total?: number | null;
|
|
41
41
|
lookupFields?: any;
|
|
42
|
-
lookupOnInit?: boolean;
|
|
43
|
-
emptyMessage?: string;
|
|
44
|
-
canLookupWithOptions?: boolean;
|
|
45
|
-
canLookup?: boolean;
|
|
46
|
-
canDelete?: boolean;
|
|
47
|
-
canAppend?: boolean;
|
|
48
|
-
canEdit?: boolean;
|
|
49
|
-
canView?: boolean;
|
|
50
|
-
canFilter?: boolean;
|
|
51
|
-
canPaginate?: boolean;
|
|
52
|
-
pageSize?: number;
|
|
53
|
-
appearance?: string;
|
|
54
|
-
header?: string;
|
|
42
|
+
lookupOnInit?: boolean | null;
|
|
43
|
+
emptyMessage?: string | null;
|
|
44
|
+
canLookupWithOptions?: boolean | null;
|
|
45
|
+
canLookup?: boolean | null;
|
|
46
|
+
canDelete?: boolean | null;
|
|
47
|
+
canAppend?: boolean | null;
|
|
48
|
+
canEdit?: boolean | null;
|
|
49
|
+
canView?: boolean | null;
|
|
50
|
+
canFilter?: boolean | null;
|
|
51
|
+
canPaginate?: boolean | null;
|
|
52
|
+
pageSize?: number | null;
|
|
53
|
+
appearance?: string | null;
|
|
54
|
+
header?: string | null;
|
|
55
55
|
}
|
|
56
56
|
export interface SelectTreeDialogData {
|
|
57
57
|
title: string;
|
|
58
|
-
description?: string;
|
|
59
|
-
okCaption?: string;
|
|
60
|
-
nodes?: any;
|
|
61
|
-
initialFilter?: string;
|
|
62
|
-
appearance?: string;
|
|
58
|
+
description?: string | null;
|
|
59
|
+
okCaption?: string | null;
|
|
60
|
+
nodes?: any | null;
|
|
61
|
+
initialFilter?: string | null;
|
|
62
|
+
appearance?: string | null;
|
|
63
63
|
}
|
|
64
64
|
export interface SelectFileDialogData {
|
|
65
65
|
title: string;
|
|
66
|
-
description?: string;
|
|
67
|
-
okCaption?: string;
|
|
68
|
-
helpLink?: string;
|
|
69
|
-
helpCaption?: string;
|
|
66
|
+
description?: string | null;
|
|
67
|
+
okCaption?: string | null;
|
|
68
|
+
helpLink?: string | null;
|
|
69
|
+
helpCaption?: string | null;
|
|
70
70
|
options?: any;
|
|
71
|
-
appearance?: string;
|
|
71
|
+
appearance?: string | null;
|
|
72
72
|
}
|
|
73
73
|
export declare class SelectableItem implements Searchable {
|
|
74
74
|
bag: any;
|
|
@@ -81,9 +81,9 @@ export declare class SelectableItem implements Searchable {
|
|
|
81
81
|
export declare class ItemNode {
|
|
82
82
|
id: string;
|
|
83
83
|
name: string;
|
|
84
|
-
count?: number;
|
|
85
|
-
parent?: ItemNode;
|
|
86
|
-
children?: ItemNode[];
|
|
84
|
+
count?: number | null;
|
|
85
|
+
parent?: ItemNode | null;
|
|
86
|
+
children?: ItemNode[] | null;
|
|
87
87
|
bag: any;
|
|
88
88
|
}
|
|
89
89
|
export declare class SelectableNode extends ItemNode implements Searchable {
|
|
@@ -99,11 +99,11 @@ export interface SendToDialogResult {
|
|
|
99
99
|
recipients: string;
|
|
100
100
|
subject: string;
|
|
101
101
|
text: string;
|
|
102
|
-
options?: any;
|
|
102
|
+
options?: any | null;
|
|
103
103
|
}
|
|
104
104
|
export interface PromptDialogResult {
|
|
105
|
-
value?: string;
|
|
106
|
-
options?: any;
|
|
105
|
+
value?: string | null;
|
|
106
|
+
options?: any | null;
|
|
107
107
|
}
|
|
108
108
|
export declare enum PromptDialogType {
|
|
109
109
|
Default = 0,
|
|
@@ -117,16 +117,16 @@ export declare enum PromptDialogType {
|
|
|
117
117
|
export interface PromptDialogData {
|
|
118
118
|
title: string;
|
|
119
119
|
type: PromptDialogType;
|
|
120
|
-
description?: string;
|
|
121
|
-
okCaption?: string;
|
|
122
|
-
cancelCaption?: string;
|
|
123
|
-
initialValue?: any;
|
|
124
|
-
minValue?: number;
|
|
125
|
-
maxValue?: number;
|
|
126
|
-
required?: boolean;
|
|
127
|
-
appearance?: string;
|
|
128
|
-
options?: any;
|
|
120
|
+
description?: string | null;
|
|
121
|
+
okCaption?: string | null;
|
|
122
|
+
cancelCaption?: string | null;
|
|
123
|
+
initialValue?: any | null;
|
|
124
|
+
minValue?: number | null;
|
|
125
|
+
maxValue?: number | null;
|
|
126
|
+
required?: boolean | null;
|
|
127
|
+
appearance?: string | null;
|
|
128
|
+
options?: any | null;
|
|
129
129
|
}
|
|
130
130
|
export interface PromptTimeDialogData extends PromptDialogData {
|
|
131
|
-
slots?: string;
|
|
131
|
+
slots?: string | null;
|
|
132
132
|
}
|
|
@@ -7,7 +7,7 @@ export declare class PromptDialogComponent implements OnInit {
|
|
|
7
7
|
readonly done: import("@angular/core").OutputEmitterRef<PromptDialogResult>;
|
|
8
8
|
private dialogService;
|
|
9
9
|
protected dialogData: PromptDialogData;
|
|
10
|
-
protected value: any |
|
|
10
|
+
protected value: any | null;
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
/**
|
|
13
13
|
* Done
|
|
@@ -7,7 +7,7 @@ export declare class PromptDateDialogComponent implements OnInit {
|
|
|
7
7
|
readonly done: import("@angular/core").OutputEmitterRef<PromptDialogResult>;
|
|
8
8
|
private dialogService;
|
|
9
9
|
protected dialogData: PromptDialogData;
|
|
10
|
-
protected value: any |
|
|
10
|
+
protected value: any | null;
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
/**
|
|
13
13
|
* Done
|
|
@@ -7,7 +7,7 @@ export declare class PromptTimeDialogComponent implements OnInit {
|
|
|
7
7
|
readonly done: import("@angular/core").OutputEmitterRef<PromptDialogResult>;
|
|
8
8
|
private dialogService;
|
|
9
9
|
protected dialogData: PromptTimeDialogData;
|
|
10
|
-
protected value: any |
|
|
10
|
+
protected value: any | null;
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
/**
|
|
13
13
|
* Done
|
|
@@ -37,7 +37,7 @@ export declare class SelectDialogComponent implements OnInit {
|
|
|
37
37
|
* Mark for check
|
|
38
38
|
* @param newTotal: the optional new total
|
|
39
39
|
*/
|
|
40
|
-
notifyChanges(newTotal?: number | undefined): void;
|
|
40
|
+
notifyChanges(newTotal?: number | null | undefined): void;
|
|
41
41
|
/**
|
|
42
42
|
* Check if every element are selected
|
|
43
43
|
*/
|
|
@@ -4,7 +4,7 @@ export declare class SelectFileDialogComponent {
|
|
|
4
4
|
readonly done: import("@angular/core").OutputEmitterRef<SelectFile>;
|
|
5
5
|
private dialogRef;
|
|
6
6
|
protected dialogData: SelectFileDialogData;
|
|
7
|
-
protected file: File |
|
|
7
|
+
protected file: File | null;
|
|
8
8
|
protected fileClass: import("@angular/core").WritableSignal<"selectfile-file" | "selectfile-file-drop">;
|
|
9
9
|
/**
|
|
10
10
|
* Update preview
|
|
@@ -4,7 +4,7 @@ export declare class SelectPictureDialogComponent {
|
|
|
4
4
|
readonly done: import("@angular/core").OutputEmitterRef<SelectFile>;
|
|
5
5
|
private dialogRef;
|
|
6
6
|
protected dialogData: SelectFileDialogData;
|
|
7
|
-
protected file: File |
|
|
7
|
+
protected file: File | null;
|
|
8
8
|
protected filePreview: import("@angular/core").WritableSignal<any>;
|
|
9
9
|
/**
|
|
10
10
|
* Update preview
|