@arsedizioni/ars-utils 19.2.19 → 19.2.20
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 +1 -1
- 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 +2 -2
- 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 +10 -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 +35 -39
- 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 +5 -5
- 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 +1 -1
- 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
|
@@ -560,7 +560,7 @@ export declare class ClipperDashboard {
|
|
|
560
560
|
* @param model : the optional model
|
|
561
561
|
* @returns the module unread items
|
|
562
562
|
*/
|
|
563
|
-
getUnreadItems(module: ClipperModule, model
|
|
563
|
+
getUnreadItems(module: ClipperModule, model?: ClipperModel | undefined): number;
|
|
564
564
|
/**
|
|
565
565
|
* Return total unread items
|
|
566
566
|
* @returns : the total unread items
|
|
@@ -15,8 +15,8 @@ export declare class ClipperService implements OnDestroy {
|
|
|
15
15
|
get serviceUri(): string;
|
|
16
16
|
private _flags;
|
|
17
17
|
get flags(): ClipperServiceFlags;
|
|
18
|
-
private _loginInfo
|
|
19
|
-
get loginInfo(): ClipperLoginInfo
|
|
18
|
+
private _loginInfo?;
|
|
19
|
+
get loginInfo(): ClipperLoginInfo;
|
|
20
20
|
readonly loggedIn: import("@angular/core").WritableSignal<boolean>;
|
|
21
21
|
readonly loggingIn: import("@angular/core").WritableSignal<boolean>;
|
|
22
22
|
readonly snapshot: import("@angular/core").WritableSignal<ClipperSearchResult>;
|
|
@@ -83,12 +83,12 @@ export declare class ClipperService implements OnDestroy {
|
|
|
83
83
|
* @param oauthAccessToken: the optional OAuth2 access token
|
|
84
84
|
* @param onSucces: function to execute on seccess
|
|
85
85
|
*/
|
|
86
|
-
autoLogin(email?: string |
|
|
86
|
+
autoLogin(email?: string | undefined, password?: string | undefined, remember?: boolean | undefined, oauth?: LoginOAuthType | undefined, oauthAccessToken?: string | undefined, onSucces?: Function | undefined): boolean;
|
|
87
87
|
/**
|
|
88
88
|
* Perform auto logout
|
|
89
89
|
* @param onSucces: function to execute on seccess
|
|
90
90
|
*/
|
|
91
|
-
autoLogout(onSucces?: Function |
|
|
91
|
+
autoLogout(onSucces?: Function | undefined): void;
|
|
92
92
|
/**
|
|
93
93
|
* Perform login
|
|
94
94
|
* @param email: the optioanl email if using OAuth2
|
|
@@ -98,7 +98,7 @@ export declare class ClipperService implements OnDestroy {
|
|
|
98
98
|
* @param oauthAccessToken: the optional OAuth2 access token
|
|
99
99
|
* @returns: the login result
|
|
100
100
|
*/
|
|
101
|
-
login(email?: string |
|
|
101
|
+
login(email?: string | undefined, password?: string | undefined, remember?: boolean | undefined, oauth?: LoginOAuthType | undefined, oauthAccessToken?: string | undefined): import("rxjs").Observable<ApiResult<ClipperLoginResult>>;
|
|
102
102
|
/**
|
|
103
103
|
* Perform logout
|
|
104
104
|
*/
|
|
@@ -201,7 +201,7 @@ export declare class ClipperService implements OnDestroy {
|
|
|
201
201
|
/**
|
|
202
202
|
* Retrieve the taxonomy
|
|
203
203
|
*/
|
|
204
|
-
getTaxonomy(params?: ClipperTaxonomyParams |
|
|
204
|
+
getTaxonomy(params?: ClipperTaxonomyParams | undefined): import("rxjs").Observable<ApiResult<FolderTree>>;
|
|
205
205
|
/**
|
|
206
206
|
* Retrieve topics
|
|
207
207
|
*/
|
|
@@ -377,7 +377,7 @@ export declare class ClipperService implements OnDestroy {
|
|
|
377
377
|
* @param id: the folder id or null to export all folders
|
|
378
378
|
* @param teamId: the optional team id. Default null (personal)
|
|
379
379
|
*/
|
|
380
|
-
exportArchiveFolders(id?: string |
|
|
380
|
+
exportArchiveFolders(id?: string | undefined, teamId?: string | undefined): import("rxjs").Observable<Blob>;
|
|
381
381
|
/**
|
|
382
382
|
* Import folders
|
|
383
383
|
* @param params : parameters
|
|
@@ -413,7 +413,7 @@ export declare class ClipperService implements OnDestroy {
|
|
|
413
413
|
* @param id : the binary id to download
|
|
414
414
|
* @param otp : the optional one time password
|
|
415
415
|
*/
|
|
416
|
-
downloadArchiveFile(id: number, otp?: string |
|
|
416
|
+
downloadArchiveFile(id: number, otp?: string | undefined): import("rxjs").Observable<Blob>;
|
|
417
417
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClipperService, never>;
|
|
418
418
|
static ɵprov: i0.ɵɵInjectableDeclaration<ClipperService>;
|
|
419
419
|
}
|
|
@@ -14,7 +14,7 @@ export declare class ClipperDocumentsUtils {
|
|
|
14
14
|
* @param selectableModules : the clipper selectable modules
|
|
15
15
|
* @param theme: the theme to use. Default is system
|
|
16
16
|
*/
|
|
17
|
-
static openDocument(dialogService: DialogService, clipperService: ClipperService, documentId: string, query?: string |
|
|
17
|
+
static openDocument(dialogService: DialogService, clipperService: ClipperService, documentId: string, query?: string | undefined, selectionMode?: ClipperSelectionMode | undefined, selectableModules?: ClipperModule[] | undefined, theme?: ThemeType | undefined): MatDialogRef<ClipperDocumentComponent> | null;
|
|
18
18
|
/**
|
|
19
19
|
* Extract document title
|
|
20
20
|
* @param title : the full document title
|
|
@@ -4,12 +4,12 @@ import { ThemeType } from '@arsedizioni/ars-utils/core';
|
|
|
4
4
|
import { ClipperBrowserComponent } from '../browser.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export interface ClipperBrowserDialogData {
|
|
7
|
-
showChannels?: boolean
|
|
8
|
-
selectionMode?: ClipperSelectionMode
|
|
9
|
-
selectableModules?: ClipperModule[]
|
|
10
|
-
selectionMessage?: string
|
|
11
|
-
initialModule?: number
|
|
12
|
-
theme?: ThemeType
|
|
7
|
+
showChannels?: boolean;
|
|
8
|
+
selectionMode?: ClipperSelectionMode;
|
|
9
|
+
selectableModules?: ClipperModule[];
|
|
10
|
+
selectionMessage?: string;
|
|
11
|
+
initialModule?: number;
|
|
12
|
+
theme?: ThemeType;
|
|
13
13
|
}
|
|
14
14
|
export declare class ClipperBrowserDialogComponent implements OnInit, AfterViewInit {
|
|
15
15
|
private unsubscribe;
|
|
@@ -28,7 +28,7 @@ export declare class ClipperBrowserComponent extends ClipperSearchResultManager
|
|
|
28
28
|
protected scrollDispatcher: ScrollDispatcher;
|
|
29
29
|
protected filterDescription: import("@angular/core").WritableSignal<string>;
|
|
30
30
|
protected filters: import("@angular/core").WritableSignal<NameValueItem<ClipperUserSearch>[]>;
|
|
31
|
-
protected filter: Signal<NameValueItem<ClipperUserSearch> |
|
|
31
|
+
protected filter: Signal<NameValueItem<ClipperUserSearch> | undefined>;
|
|
32
32
|
protected hasAIAssistant: boolean;
|
|
33
33
|
protected hasFilters: Signal<boolean>;
|
|
34
34
|
protected isLaws: (allowEmpty?: boolean) => boolean;
|
|
@@ -52,7 +52,7 @@ export declare class ClipperBrowserComponent extends ClipperSearchResultManager
|
|
|
52
52
|
protected modules: import("@angular/core").WritableSignal<NameValueItem<ClipperModule>[]>;
|
|
53
53
|
protected interval: DateInterval;
|
|
54
54
|
protected sourceInterval: DateInterval;
|
|
55
|
-
protected user: ClipperUserInfo |
|
|
55
|
+
protected user: ClipperUserInfo | undefined;
|
|
56
56
|
ngOnInit(): void;
|
|
57
57
|
ngAfterViewInit(): void;
|
|
58
58
|
ngOnDestroy(): void;
|
|
@@ -5,11 +5,11 @@ import { ThemeType } from '@arsedizioni/ars-utils/core';
|
|
|
5
5
|
import { ClipperDocumentManager } from '../document-manager/document-manager';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export interface ClipperDocumentDialogData {
|
|
8
|
-
selectionMode?: ClipperSelectionMode
|
|
9
|
-
selectableModules?: ClipperModule[]
|
|
8
|
+
selectionMode?: ClipperSelectionMode;
|
|
9
|
+
selectableModules?: ClipperModule[];
|
|
10
10
|
id: string;
|
|
11
|
-
query?: string
|
|
12
|
-
theme?: ThemeType
|
|
11
|
+
query?: string;
|
|
12
|
+
theme?: ThemeType;
|
|
13
13
|
}
|
|
14
14
|
export declare class ClipperDocumentComponent extends ClipperDocumentManager implements OnInit, OnDestroy {
|
|
15
15
|
readonly relevantsPane: import("@angular/core").Signal<MatDrawer>;
|
|
@@ -26,15 +26,15 @@ export declare class ClipperDocumentComponent extends ClipperDocumentManager imp
|
|
|
26
26
|
protected url: import("@angular/core").WritableSignal<string>;
|
|
27
27
|
protected title: import("@angular/core").WritableSignal<string>;
|
|
28
28
|
protected busy: import("@angular/core").WritableSignal<boolean>;
|
|
29
|
-
protected lastQuery?: string |
|
|
30
|
-
protected lastAugmentedQuery?: string[]
|
|
31
|
-
protected lastDocument?: ClipperDocumentInfo |
|
|
29
|
+
protected lastQuery?: string | undefined;
|
|
30
|
+
protected lastAugmentedQuery?: string[];
|
|
31
|
+
protected lastDocument?: ClipperDocumentInfo | undefined;
|
|
32
32
|
protected relevants: ClipperDocumentRelevants;
|
|
33
33
|
protected relevantsPaneHasBackdrop: boolean;
|
|
34
34
|
protected relevantsPaneClosed: boolean;
|
|
35
35
|
protected relevantsBusy: import("@angular/core").WritableSignal<boolean>;
|
|
36
36
|
protected hasRelevants: import("@angular/core").WritableSignal<boolean>;
|
|
37
|
-
protected user: ClipperUserInfo |
|
|
37
|
+
protected user: ClipperUserInfo | undefined;
|
|
38
38
|
ngOnInit(): void;
|
|
39
39
|
ngOnDestroy(): void;
|
|
40
40
|
/**
|
|
@@ -131,7 +131,7 @@ export declare class ClipperDocumentComponent extends ClipperDocumentManager imp
|
|
|
131
131
|
* @param query: the current query or null
|
|
132
132
|
* @param newWindow: true if the document must be open into a new window
|
|
133
133
|
*/
|
|
134
|
-
open(documentId: string, query?: string |
|
|
134
|
+
open(documentId: string, query?: string | undefined, newWindow?: boolean): void;
|
|
135
135
|
/**
|
|
136
136
|
* Open a document
|
|
137
137
|
* @param documentId : the document id
|
|
@@ -19,7 +19,7 @@ export declare class ClipperDocumentManager {
|
|
|
19
19
|
* @param searchParams: the search params
|
|
20
20
|
* @param format: the export format: 1) list 2) deadlines
|
|
21
21
|
*/
|
|
22
|
-
exportItems(documentIds: string[] |
|
|
22
|
+
exportItems(documentIds: string[] | undefined, searchParams?: ClipperSearchParams | undefined, format?: number): void;
|
|
23
23
|
/**
|
|
24
24
|
* Export a single deadline
|
|
25
25
|
* @param item : the document to export
|
|
@@ -65,7 +65,7 @@ export declare class ClipperDocumentManager {
|
|
|
65
65
|
* @param documentId : the document id
|
|
66
66
|
* @param title: the document short title
|
|
67
67
|
*/
|
|
68
|
-
openReport(documentId: string, title?: string |
|
|
68
|
+
openReport(documentId: string, title?: string | undefined): void;
|
|
69
69
|
/**
|
|
70
70
|
* Open an item
|
|
71
71
|
* This should be always overridden
|
|
@@ -73,7 +73,7 @@ export declare class ClipperDocumentManager {
|
|
|
73
73
|
* @param query : the query document
|
|
74
74
|
* @param newWindow: true if the document must be open into a new window
|
|
75
75
|
*/
|
|
76
|
-
open(_documentId: string |
|
|
76
|
+
open(_documentId: string | undefined, _query?: string | undefined, _newWindow?: boolean): void;
|
|
77
77
|
/**
|
|
78
78
|
* Display a document report
|
|
79
79
|
* @param item : the document
|
|
@@ -46,7 +46,7 @@ export declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
|
|
|
46
46
|
* Get a single selection
|
|
47
47
|
* @returns the single selection or null
|
|
48
48
|
*/
|
|
49
|
-
protected getSingleSelection(): ClipperDocumentInfo |
|
|
49
|
+
protected getSingleSelection(): ClipperDocumentInfo | undefined;
|
|
50
50
|
/**
|
|
51
51
|
* Get multiple selection
|
|
52
52
|
* @returns : the multiple selection or array empty
|
|
@@ -61,7 +61,7 @@ export declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
|
|
|
61
61
|
* Show and hide sub menus
|
|
62
62
|
* @param trigger: the trigger to use or null to deselect
|
|
63
63
|
*/
|
|
64
|
-
protected showSubMenu(trigger?: MatMenuTrigger |
|
|
64
|
+
protected showSubMenu(trigger?: MatMenuTrigger | undefined): void;
|
|
65
65
|
/**
|
|
66
66
|
* Reset sub menu
|
|
67
67
|
* @param trigger: the trigger to use
|
|
@@ -5,9 +5,9 @@ import { ClipperDocumentInfo, ClipperQueryReferencesMode, ClipperSearchParams, C
|
|
|
5
5
|
import { ClipperSearchResultManager } from '../search-result-manager/search-result-manager';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export interface ClipperReferencesDialogData {
|
|
8
|
-
mode?: ClipperQueryReferencesMode
|
|
9
|
-
anchor?: string
|
|
10
|
-
anchorTitle?: string
|
|
8
|
+
mode?: ClipperQueryReferencesMode;
|
|
9
|
+
anchor?: string;
|
|
10
|
+
anchorTitle?: string;
|
|
11
11
|
documentId: string;
|
|
12
12
|
model: number;
|
|
13
13
|
}
|
|
@@ -18,9 +18,9 @@ export declare class ClipperReferencesComponent extends ClipperSearchResultManag
|
|
|
18
18
|
readonly filterPane: import("@angular/core").Signal<MatDrawer>;
|
|
19
19
|
private dialogRef;
|
|
20
20
|
protected dialogData: ClipperReferencesDialogData;
|
|
21
|
-
protected title: string |
|
|
22
|
-
protected item: ClipperDocumentInfo |
|
|
23
|
-
protected user: ClipperUserInfo |
|
|
21
|
+
protected title: string | undefined;
|
|
22
|
+
protected item: ClipperDocumentInfo | undefined;
|
|
23
|
+
protected user: ClipperUserInfo | undefined;
|
|
24
24
|
ngOnInit(): void;
|
|
25
25
|
ngOnDestroy(): void;
|
|
26
26
|
ngAfterViewInit(): void;
|
|
@@ -9,7 +9,7 @@ export declare class ClipperSearchCalendarComponent {
|
|
|
9
9
|
private changeDetector;
|
|
10
10
|
protected busy: import("@angular/core").WritableSignal<boolean>;
|
|
11
11
|
protected months: import("@angular/core").WritableSignal<ClipperSearchCalendarSnapshotMonth[]>;
|
|
12
|
-
protected calendarSpecialDays?: number[] |
|
|
12
|
+
protected calendarSpecialDays?: number[] | undefined;
|
|
13
13
|
protected calendarEmptyHeader: typeof CalendarEmptyHeader;
|
|
14
14
|
calendarDate: Date;
|
|
15
15
|
protected calendarDateClass: MatCalendarCellClassFunction<Date>;
|
|
@@ -21,7 +21,7 @@ export declare class ClipperSearchCalendarComponent {
|
|
|
21
21
|
* @param months : the months snapshot
|
|
22
22
|
* @param date : the new current date
|
|
23
23
|
*/
|
|
24
|
-
update(month: ClipperSearchCalendarSnapshotResult |
|
|
24
|
+
update(month: ClipperSearchCalendarSnapshotResult | undefined, months: ClipperSearchCalendarSnapshotResult | undefined, date: Date): void;
|
|
25
25
|
/**
|
|
26
26
|
* Filter by date
|
|
27
27
|
* @param date : the date to filter to or "month" to filter by the whole month.
|
|
@@ -10,7 +10,7 @@ export declare class ClipperSearchFacetsComponent {
|
|
|
10
10
|
* @param values : the facets values
|
|
11
11
|
* @param interval : the date interval for YEAR facets
|
|
12
12
|
*/
|
|
13
|
-
update(values?: ClipperSearchFacet[][] |
|
|
13
|
+
update(values?: ClipperSearchFacet[][] | undefined, interval?: string | undefined): void;
|
|
14
14
|
/**
|
|
15
15
|
* Use a facet item as filter
|
|
16
16
|
* @param group : the facet group
|
|
@@ -17,9 +17,9 @@ export declare class ClipperSearchResultManager extends ClipperDocumentManager i
|
|
|
17
17
|
protected breakpointObserver: BreakpointObserver;
|
|
18
18
|
private themeService;
|
|
19
19
|
screenService: ScreenService;
|
|
20
|
-
selection: SelectableModel<ClipperDocumentInfo, string> |
|
|
20
|
+
selection: SelectableModel<ClipperDocumentInfo, string> | undefined;
|
|
21
21
|
selectionMode: import("@angular/core").WritableSignal<ClipperSelectionMode>;
|
|
22
|
-
protected snapshot: ClipperSearchResult
|
|
22
|
+
protected snapshot: ClipperSearchResult;
|
|
23
23
|
protected filterBusy: import("@angular/core").WritableSignal<boolean>;
|
|
24
24
|
protected filterParams: ClipperSearchParams;
|
|
25
25
|
protected filterPaneHasBackdrop: boolean;
|
|
@@ -27,10 +27,10 @@ export declare class ClipperSearchResultManager extends ClipperDocumentManager i
|
|
|
27
27
|
protected filterPane2HasBackdrop: boolean;
|
|
28
28
|
protected filterPane2Closed: boolean;
|
|
29
29
|
protected sortOptions: NameValueItem<ClipperSort>[];
|
|
30
|
-
protected sortMode: NameValueItem<ClipperSort> |
|
|
30
|
+
protected sortMode: NameValueItem<ClipperSort> | undefined;
|
|
31
31
|
protected scrollPos: number;
|
|
32
32
|
protected scrollerId: string;
|
|
33
|
-
protected restorableId: string |
|
|
33
|
+
protected restorableId: string | undefined;
|
|
34
34
|
protected hasFacets: import("@angular/core").WritableSignal<boolean>;
|
|
35
35
|
protected hasRegions: () => boolean;
|
|
36
36
|
ngOnDestroy(): void;
|
|
@@ -125,32 +125,32 @@ export declare class ClipperSearchResultManager extends ClipperDocumentManager i
|
|
|
125
125
|
* @param item : the item to update
|
|
126
126
|
* @paran e: the optional click event
|
|
127
127
|
*/
|
|
128
|
-
toggleRead(item: ClipperDocumentInfo, e?: Event |
|
|
128
|
+
toggleRead(item: ClipperDocumentInfo, e?: Event | undefined): void;
|
|
129
129
|
/**
|
|
130
130
|
* Toggle the selection flag
|
|
131
131
|
* @param item : the item to update
|
|
132
132
|
* @paran e: the optional click event
|
|
133
133
|
*/
|
|
134
|
-
toggleSelection(item: ClipperDocumentInfo, e?: Event |
|
|
134
|
+
toggleSelection(item: ClipperDocumentInfo, e?: Event | undefined): void;
|
|
135
135
|
/**
|
|
136
136
|
* Set read flag
|
|
137
137
|
* @param value: the flag value
|
|
138
138
|
* @param item: the item to set or null to use current selection
|
|
139
139
|
*/
|
|
140
|
-
setRead(value: boolean, item?: ClipperDocumentInfo |
|
|
140
|
+
setRead(value: boolean, item?: ClipperDocumentInfo | undefined): import("rxjs").Subscription;
|
|
141
141
|
/**
|
|
142
142
|
* Open an item
|
|
143
143
|
* @param documentId : the document id
|
|
144
144
|
* @param query: the current query or null
|
|
145
145
|
* @param newWindow: true if the document must be open into a new window
|
|
146
146
|
*/
|
|
147
|
-
open(documentId: string, query?: string |
|
|
147
|
+
open(documentId: string, query?: string | undefined, newWindow?: boolean): void;
|
|
148
148
|
/**
|
|
149
149
|
* Open a document
|
|
150
150
|
* @param documentId : the document id
|
|
151
151
|
* @param query: the current query or null
|
|
152
152
|
*/
|
|
153
|
-
openDocument(documentId: string, query?: string |
|
|
153
|
+
openDocument(documentId: string, query?: string | undefined): void;
|
|
154
154
|
/**
|
|
155
155
|
* Save restorable data
|
|
156
156
|
* @param id : the restorable id
|
package/core/definitions.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { INode } from './system';
|
|
2
2
|
export interface DoneResult<T> {
|
|
3
|
-
isNew?: boolean
|
|
3
|
+
isNew?: boolean;
|
|
4
4
|
data?: T;
|
|
5
5
|
}
|
|
6
6
|
export interface ApiResponse {
|
|
@@ -11,20 +11,20 @@ export interface ApiResult<T> extends ApiResponse {
|
|
|
11
11
|
value: T;
|
|
12
12
|
}
|
|
13
13
|
export interface Folder extends INode {
|
|
14
|
-
teamId?: string
|
|
15
|
-
parentId?: string
|
|
16
|
-
position?: number
|
|
17
|
-
isPrivate?: boolean
|
|
18
|
-
itemsCount?: number
|
|
19
|
-
subItemsCount?: number
|
|
14
|
+
teamId?: string;
|
|
15
|
+
parentId?: string;
|
|
16
|
+
position?: number;
|
|
17
|
+
isPrivate?: boolean;
|
|
18
|
+
itemsCount?: number;
|
|
19
|
+
subItemsCount?: number;
|
|
20
20
|
}
|
|
21
21
|
export interface FolderTree extends Folder {
|
|
22
|
-
children?: Folder[]
|
|
22
|
+
children?: Folder[];
|
|
23
23
|
path: string;
|
|
24
24
|
}
|
|
25
25
|
export interface File<T> {
|
|
26
|
-
ownerId?: T
|
|
27
|
-
id?: number
|
|
26
|
+
ownerId?: T;
|
|
27
|
+
id?: number;
|
|
28
28
|
fileName: string;
|
|
29
29
|
fileData: any;
|
|
30
30
|
}
|
|
@@ -39,17 +39,17 @@ export declare class FileInfo implements Validated {
|
|
|
39
39
|
export interface NameValueItem<T> {
|
|
40
40
|
name: string;
|
|
41
41
|
value: T;
|
|
42
|
-
shortName?: string
|
|
43
|
-
parentName?: string
|
|
44
|
-
parentValue?: T
|
|
45
|
-
header?: string
|
|
46
|
-
bag?: any
|
|
47
|
-
bagInfo?: string
|
|
48
|
-
disabled?: boolean
|
|
49
|
-
selected?: boolean
|
|
42
|
+
shortName?: string;
|
|
43
|
+
parentName?: string;
|
|
44
|
+
parentValue?: T;
|
|
45
|
+
header?: string;
|
|
46
|
+
bag?: any;
|
|
47
|
+
bagInfo?: string;
|
|
48
|
+
disabled?: boolean;
|
|
49
|
+
selected?: boolean;
|
|
50
50
|
}
|
|
51
51
|
export interface Checkable {
|
|
52
|
-
checked?: boolean
|
|
52
|
+
checked?: boolean;
|
|
53
53
|
bag: any;
|
|
54
54
|
getId(): any;
|
|
55
55
|
}
|
|
@@ -66,10 +66,10 @@ export declare class DeleteModel<T> extends GroupModel<T> {
|
|
|
66
66
|
mode: number;
|
|
67
67
|
}
|
|
68
68
|
export interface DeleteResultModel<T> {
|
|
69
|
-
items?: T[]
|
|
70
|
-
deleted?: number
|
|
71
|
-
total?: number
|
|
72
|
-
log?: string
|
|
69
|
+
items?: T[];
|
|
70
|
+
deleted?: number;
|
|
71
|
+
total?: number;
|
|
72
|
+
log?: string;
|
|
73
73
|
}
|
|
74
74
|
export declare class RelationModel<T> {
|
|
75
75
|
id: T;
|
|
@@ -80,40 +80,40 @@ export declare class UpdateRelationsModel<T> {
|
|
|
80
80
|
relatedIds: T[];
|
|
81
81
|
}
|
|
82
82
|
export declare class QueryModel {
|
|
83
|
-
any?: string
|
|
84
|
-
sortBy?: string
|
|
85
|
-
sortDescending?: boolean
|
|
83
|
+
any?: string;
|
|
84
|
+
sortBy?: string;
|
|
85
|
+
sortDescending?: boolean;
|
|
86
86
|
first: number;
|
|
87
87
|
count: number;
|
|
88
88
|
}
|
|
89
89
|
export interface QueryResultModel<T> {
|
|
90
|
-
interval?: string
|
|
90
|
+
interval?: string;
|
|
91
91
|
items: T[];
|
|
92
|
-
total?: number
|
|
92
|
+
total?: number;
|
|
93
93
|
}
|
|
94
94
|
export interface UpdateModel<T> {
|
|
95
|
-
parentId?: T
|
|
95
|
+
parentId?: T;
|
|
96
96
|
ids: T[];
|
|
97
97
|
}
|
|
98
98
|
export interface UpdateResultModel<T> {
|
|
99
|
-
items?: T[]
|
|
100
|
-
updated?: number
|
|
101
|
-
total?: number
|
|
102
|
-
log?: string
|
|
99
|
+
items?: T[];
|
|
100
|
+
updated?: number;
|
|
101
|
+
total?: number;
|
|
102
|
+
log?: string;
|
|
103
103
|
}
|
|
104
104
|
export interface AddModel<T> extends UpdateModel<T> {
|
|
105
105
|
}
|
|
106
106
|
export interface AddResultModel<T> {
|
|
107
|
-
items?: T[]
|
|
108
|
-
added?: number
|
|
109
|
-
total?: number
|
|
110
|
-
log?: string
|
|
107
|
+
items?: T[];
|
|
108
|
+
added?: number;
|
|
109
|
+
total?: number;
|
|
110
|
+
log?: string;
|
|
111
111
|
}
|
|
112
112
|
export declare class ImportModel {
|
|
113
113
|
origin: string;
|
|
114
114
|
dataFile: any;
|
|
115
|
-
jumpFirstLine?: boolean
|
|
116
|
-
map?: any
|
|
115
|
+
jumpFirstLine?: boolean;
|
|
116
|
+
map?: any;
|
|
117
117
|
}
|
|
118
118
|
export interface EnableDisableModel {
|
|
119
119
|
value: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class FormatPipe implements PipeTransform {
|
|
4
|
-
transform(value: any |
|
|
4
|
+
transform(value: any | undefined, type?: string, pattern?: string): string | null;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormatPipe, never>;
|
|
6
6
|
static ɵpipe: i0.ɵɵPipeDeclaration<FormatPipe, "format", true>;
|
|
7
7
|
static ɵprov: i0.ɵɵInjectableDeclaration<FormatPipe>;
|
|
@@ -3,7 +3,7 @@ import { SafeHtml } from '@angular/platform-browser';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ReplacePipe implements PipeTransform {
|
|
5
5
|
private sanitizer;
|
|
6
|
-
transform(value: string |
|
|
6
|
+
transform(value: string | undefined, regexValue: string, replaceValue: string): SafeHtml;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReplacePipe, never>;
|
|
8
8
|
static ɵpipe: i0.ɵɵPipeDeclaration<ReplacePipe, "replace", true>;
|
|
9
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<ReplacePipe>;
|
|
@@ -3,7 +3,7 @@ import { SafeHtml } from '@angular/platform-browser';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SafeHtmlPipe implements PipeTransform {
|
|
5
5
|
private sanitizer;
|
|
6
|
-
transform(value: string |
|
|
6
|
+
transform(value: string | undefined): SafeHtml;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
|
|
8
8
|
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", true>;
|
|
9
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<SafeHtmlPipe>;
|
|
@@ -3,7 +3,7 @@ import { SafeHtml } from '@angular/platform-browser';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SafeUrlPipe implements PipeTransform {
|
|
5
5
|
private sanitizer;
|
|
6
|
-
transform(value: string |
|
|
6
|
+
transform(value: string | undefined): SafeHtml;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<SafeUrlPipe, never>;
|
|
8
8
|
static ɵpipe: i0.ɵɵPipeDeclaration<SafeUrlPipe, "safeUrl", true>;
|
|
9
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<SafeUrlPipe>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class SearchCallbackPipe implements PipeTransform {
|
|
4
|
-
transform(items: any[] |
|
|
4
|
+
transform(items: any[] | undefined, callback: (item: any) => boolean): any;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchCallbackPipe, never>;
|
|
6
6
|
static ɵpipe: i0.ɵɵPipeDeclaration<SearchCallbackPipe, "callback", true>;
|
|
7
7
|
}
|
|
@@ -2,7 +2,7 @@ import { PipeTransform } from '@angular/core';
|
|
|
2
2
|
import { SearchFilterMetadata } from '../definitions';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SearchFilterPipe implements PipeTransform {
|
|
5
|
-
transform(items: any[] |
|
|
5
|
+
transform(items: any[] | undefined, value: string | undefined, metadata?: SearchFilterMetadata): any;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchFilterPipe, never>;
|
|
7
7
|
static ɵpipe: i0.ɵɵPipeDeclaration<SearchFilterPipe, "search", true>;
|
|
8
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<SearchFilterPipe>;
|
package/core/selectable.d.ts
CHANGED
|
@@ -19,19 +19,19 @@ export declare class SelectableModel<T, V> {
|
|
|
19
19
|
* @param item : the item to update
|
|
20
20
|
* @param lookupValue : the value
|
|
21
21
|
*/
|
|
22
|
-
toggle(item: T, lookupValue: V |
|
|
22
|
+
toggle(item: T, lookupValue: V | undefined): void;
|
|
23
23
|
/**
|
|
24
24
|
* Select an item
|
|
25
25
|
* @param item : the item to update
|
|
26
26
|
* @param lookupValue : the value
|
|
27
27
|
*/
|
|
28
|
-
select(item: T, lookupValue: V |
|
|
28
|
+
select(item: T, lookupValue: V | undefined): void;
|
|
29
29
|
/**
|
|
30
30
|
* Deselect an item
|
|
31
31
|
* @param item : the item to update
|
|
32
32
|
* @param lookupValue : the value
|
|
33
33
|
*/
|
|
34
|
-
deselect(item: T, lookupValue: V |
|
|
34
|
+
deselect(item: T, lookupValue: V | undefined): void;
|
|
35
35
|
/**
|
|
36
36
|
* Deselect all specified item lookup values
|
|
37
37
|
* @param lookupValues : the values
|
|
@@ -51,7 +51,7 @@ export declare class SelectableModel<T, V> {
|
|
|
51
51
|
* @param lookupValue : the value
|
|
52
52
|
* @returns : true if the value is selected
|
|
53
53
|
*/
|
|
54
|
-
isSelected(lookupValue: V |
|
|
54
|
+
isSelected(lookupValue: V | undefined): boolean;
|
|
55
55
|
/**
|
|
56
56
|
* Checks if a selection exists
|
|
57
57
|
* @returns : true if at least one selection exists
|
package/core/system.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { DateInterval } from './definitions';
|
|
2
2
|
export interface INode {
|
|
3
3
|
id: string;
|
|
4
|
-
name?: string
|
|
5
|
-
count?: number
|
|
6
|
-
children?: INode[]
|
|
7
|
-
parent?: INode
|
|
8
|
-
bag?: any
|
|
4
|
+
name?: string;
|
|
5
|
+
count?: number;
|
|
6
|
+
children?: INode[];
|
|
7
|
+
parent?: INode;
|
|
8
|
+
bag?: any;
|
|
9
9
|
}
|
|
10
10
|
export declare enum DateFormat {
|
|
11
11
|
Short = 1,// dd/mm/yyyy
|
|
@@ -29,7 +29,7 @@ export declare class SystemUtils {
|
|
|
29
29
|
* @param value : the value to search for
|
|
30
30
|
* @returns : the property value or null
|
|
31
31
|
*/
|
|
32
|
-
static arrayFindByKey<T>(array: T[] |
|
|
32
|
+
static arrayFindByKey<T>(array: T[] | undefined, key: string, value: any): T | null;
|
|
33
33
|
/**
|
|
34
34
|
* Array find index by key
|
|
35
35
|
* @param array : the array to scan
|
|
@@ -37,14 +37,14 @@ export declare class SystemUtils {
|
|
|
37
37
|
* @param value : the value to search for
|
|
38
38
|
* @returns : the array index or -1 if not found
|
|
39
39
|
*/
|
|
40
|
-
static arrayFindIndexByKey<T>(array: T[] |
|
|
40
|
+
static arrayFindIndexByKey<T>(array: T[] | undefined, key: string, value: any): number;
|
|
41
41
|
/**
|
|
42
42
|
* Get a value from and array made of name|value items
|
|
43
43
|
* @param array : the array to scan
|
|
44
44
|
* @param value : the value to search for
|
|
45
45
|
* @returns : the property value or null if not found
|
|
46
46
|
*/
|
|
47
|
-
static arrayGetValue<T>(array: T[] |
|
|
47
|
+
static arrayGetValue<T>(array: T[] | undefined, value: any): any;
|
|
48
48
|
/**
|
|
49
49
|
* Convert items to nodes into a tree structure
|
|
50
50
|
* @param items : list of nodes
|