@arsedizioni/ars-utils 18.2.154 → 18.2.156
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 +10 -9
- package/clipper.ui/ui/browser-dialog/browser-dialog.component.d.ts +2 -1
- package/clipper.ui/ui/document/document.component.d.ts +4 -7
- package/clipper.ui/ui/document-index/document-index.component.d.ts +4 -1
- package/clipper.ui/ui/document-manager/document-manager.d.ts +3 -3
- package/clipper.ui/ui/references/references.component.d.ts +3 -2
- package/clipper.ui/ui/search-result-item/search-result-item.component.d.ts +1 -1
- package/clipper.ui/ui/search-result-manager/search-result-manager.d.ts +7 -6
- package/esm2022/clipper.common/common/definitions.mjs +1 -1
- package/esm2022/clipper.ui/ui/browser-dialog/browser-dialog.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/document/document.component.mjs +20 -27
- package/esm2022/clipper.ui/ui/document-index/document-index.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/document-manager/document-manager.mjs +11 -13
- package/esm2022/clipper.ui/ui/references/references.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/search-dialog/search-dialog.component.mjs +10 -10
- package/esm2022/clipper.ui/ui/search-result-item/search-result-item.component.mjs +1 -1
- package/esm2022/clipper.ui/ui/search-result-manager/search-result-manager.mjs +10 -9
- package/esm2022/core/directives/validators.mjs +2 -2
- package/esm2022/core/selectable.mjs +4 -4
- package/esm2022/help/components/help-viewer/help-viewer.component.mjs +6 -6
- package/esm2022/help/services/help.service.mjs +1 -1
- package/esm2022/support.common/common/interceptors/auth.interceptor.mjs +2 -2
- package/esm2022/support.ui/ui/notifications-browser/notifications-browser.component.mjs +2 -2
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +53 -61
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs +4 -4
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-help.mjs +5 -5
- package/fesm2022/arsedizioni-ars-utils-help.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +1 -1
- 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/help/services/help.service.d.ts +3 -2
- package/package.json +7 -7
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SendToDialogResult } from '@arsedizioni/ars-utils/ui.application';
|
|
1
2
|
import { LoginResult, NameValueItem } from '@arsedizioni/ars-utils/core';
|
|
2
3
|
import { LoginOAuthType } from '@arsedizioni/ars-utils/ui.oauth';
|
|
3
4
|
export declare enum ClipperSelectionMode {
|
|
@@ -221,11 +222,11 @@ export interface ClipperDocumentAnchorInfo {
|
|
|
221
222
|
title?: string | null;
|
|
222
223
|
description?: string | null;
|
|
223
224
|
uri: string;
|
|
224
|
-
ordinal
|
|
225
|
-
score
|
|
225
|
+
ordinal?: string | null;
|
|
226
|
+
score?: number | null;
|
|
226
227
|
veryRelevant?: boolean | null;
|
|
227
|
-
value
|
|
228
|
-
level
|
|
228
|
+
value?: string | null;
|
|
229
|
+
level?: number | null;
|
|
229
230
|
}
|
|
230
231
|
export interface ClipperDocumentRelevants {
|
|
231
232
|
items: ClipperDocumentAnchorInfo[];
|
|
@@ -240,10 +241,12 @@ export interface ClipperDocumentInfo {
|
|
|
240
241
|
modelName?: string | null;
|
|
241
242
|
module?: number | null;
|
|
242
243
|
moduleName?: string | null;
|
|
244
|
+
channelName?: string | null;
|
|
243
245
|
group?: string | null;
|
|
244
246
|
title2?: string | null;
|
|
245
247
|
title1?: string | null;
|
|
246
248
|
tags?: string | null;
|
|
249
|
+
topics?: string | null;
|
|
247
250
|
number?: string | null;
|
|
248
251
|
date?: Date | null;
|
|
249
252
|
description?: string | null;
|
|
@@ -283,7 +286,7 @@ export interface ClipperDocumentInfo {
|
|
|
283
286
|
hasPrimary?: boolean | null;
|
|
284
287
|
secondaryId?: string | null;
|
|
285
288
|
bag?: any | null;
|
|
286
|
-
lastUpdate?:
|
|
289
|
+
lastUpdate?: string | null;
|
|
287
290
|
}
|
|
288
291
|
export declare class ClipperSearchResult {
|
|
289
292
|
days?: string | null;
|
|
@@ -387,10 +390,8 @@ export interface ClipperExportDocumentsParams {
|
|
|
387
390
|
ids: string[];
|
|
388
391
|
format?: ClipperExportDocumentsFormat | null;
|
|
389
392
|
}
|
|
390
|
-
export interface ClipperSendDocumentsByEmailParams {
|
|
391
|
-
|
|
392
|
-
recipients: string;
|
|
393
|
-
subject: string;
|
|
393
|
+
export interface ClipperSendDocumentsByEmailParams extends SendToDialogResult {
|
|
394
|
+
ids: string[];
|
|
394
395
|
public: string;
|
|
395
396
|
isCalendar: boolean;
|
|
396
397
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { PageEvent } from '@angular/material/paginator';
|
|
2
3
|
import { MatDrawer } from '@angular/material/sidenav';
|
|
3
4
|
import { ClipperSearchResult, ClipperSelectionMode } from '@arsedizioni/ars-utils/clipper.common';
|
|
4
5
|
import { ClipperSearchResultManager } from '../search-result-manager/search-result-manager';
|
|
@@ -79,7 +80,7 @@ export declare class ClipperBrowserDialogComponent extends ClipperSearchResultMa
|
|
|
79
80
|
* Show a new page result
|
|
80
81
|
* @param e : the MatPaginator PageEvent data
|
|
81
82
|
*/
|
|
82
|
-
fetchMore(e:
|
|
83
|
+
fetchMore(e: PageEvent): void;
|
|
83
84
|
/**
|
|
84
85
|
* Clear search
|
|
85
86
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MatDrawer } from '@angular/material/sidenav';
|
|
3
|
-
import { ClipperDocumentInfo, ClipperDocumentRelevants, ClipperQueryReferencesMode } from '@arsedizioni/ars-utils/clipper.common';
|
|
3
|
+
import { ClipperDocumentAnchorInfo, ClipperDocumentInfo, ClipperDocumentRelevants, ClipperQueryReferencesMode } from '@arsedizioni/ars-utils/clipper.common';
|
|
4
4
|
import { ClipperDocumentManager } from '../document-manager/document-manager';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export interface ClipperDocumentDialogData {
|
|
@@ -12,9 +12,6 @@ export declare class ClipperDocumentComponent extends ClipperDocumentManager imp
|
|
|
12
12
|
relevantsPane: MatDrawer;
|
|
13
13
|
closing: EventEmitter<any>;
|
|
14
14
|
opening: EventEmitter<any>;
|
|
15
|
-
onComplianceAnalysis: EventEmitter<any>;
|
|
16
|
-
onCompliancePlanning: EventEmitter<any>;
|
|
17
|
-
onComplianceUsageReport: EventEmitter<any>;
|
|
18
15
|
private unsubscribe;
|
|
19
16
|
private changeDetector;
|
|
20
17
|
private breakpointObserver;
|
|
@@ -103,7 +100,7 @@ export declare class ClipperDocumentComponent extends ClipperDocumentManager imp
|
|
|
103
100
|
* Goto a relevant item
|
|
104
101
|
* @param item : the item to go to
|
|
105
102
|
*/
|
|
106
|
-
protected gotoRelevant(item:
|
|
103
|
+
protected gotoRelevant(item: ClipperDocumentAnchorInfo): void;
|
|
107
104
|
/**
|
|
108
105
|
* Update relevant items
|
|
109
106
|
*/
|
|
@@ -151,7 +148,7 @@ export declare class ClipperDocumentComponent extends ClipperDocumentManager imp
|
|
|
151
148
|
* Display a report
|
|
152
149
|
* @param item
|
|
153
150
|
*/
|
|
154
|
-
protected displayReport(item:
|
|
151
|
+
protected displayReport(item: ClipperDocumentInfo): void;
|
|
155
152
|
/**
|
|
156
153
|
* Checks if documents can be selected and returned as message
|
|
157
154
|
*/
|
|
@@ -161,5 +158,5 @@ export declare class ClipperDocumentComponent extends ClipperDocumentManager imp
|
|
|
161
158
|
*/
|
|
162
159
|
protected select(): void;
|
|
163
160
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClipperDocumentComponent, never>;
|
|
164
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClipperDocumentComponent, "ng-component", never, {}, { "closing": "closing"; "opening": "opening";
|
|
161
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClipperDocumentComponent, "ng-component", never, {}, { "closing": "closing"; "opening": "opening"; }, never, never, true, never>;
|
|
165
162
|
}
|
|
@@ -7,9 +7,12 @@ export interface ClipperDocumentIndexDialogData {
|
|
|
7
7
|
excludedTypes?: number[] | null;
|
|
8
8
|
multiple?: boolean | null;
|
|
9
9
|
}
|
|
10
|
+
export interface ClipperDocumentIndexDialogResult {
|
|
11
|
+
data: ClipperDocumentAnchorInfo[];
|
|
12
|
+
}
|
|
10
13
|
export declare class ClipperDocumentIndexComponent implements OnInit {
|
|
11
14
|
selection: MatSelectionList;
|
|
12
|
-
done: EventEmitter<
|
|
15
|
+
done: EventEmitter<ClipperDocumentIndexDialogResult>;
|
|
13
16
|
private changeDetector;
|
|
14
17
|
private clipperService;
|
|
15
18
|
private dialogService;
|
|
@@ -48,7 +48,7 @@ export declare class ClipperDocumentManager {
|
|
|
48
48
|
* Show a document permalink
|
|
49
49
|
* @param item : the item to show the link for
|
|
50
50
|
*/
|
|
51
|
-
showLink(item:
|
|
51
|
+
showLink(item: ClipperDocumentInfo): void;
|
|
52
52
|
/**
|
|
53
53
|
* Send documents links by email
|
|
54
54
|
* @param items : the document list
|
|
@@ -105,10 +105,10 @@ export declare class ClipperDocumentManager {
|
|
|
105
105
|
isModelSupportedByRS(model: ClipperModel): boolean;
|
|
106
106
|
/**
|
|
107
107
|
* Checks if all documents are supported by RS
|
|
108
|
-
* @param
|
|
108
|
+
* @param documents : the list of documents
|
|
109
109
|
* @returns: true if all documents supports RS
|
|
110
110
|
*/
|
|
111
|
-
canSupportRS(
|
|
111
|
+
canSupportRS(documents: ClipperDocumentInfo[]): boolean;
|
|
112
112
|
/**
|
|
113
113
|
* Checks if RS is enabled for all given documents
|
|
114
114
|
* @param documents : the documents to check
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { PageEvent } from '@angular/material/paginator';
|
|
2
3
|
import { MatDrawer } from '@angular/material/sidenav';
|
|
3
4
|
import { ClipperDocumentInfo, ClipperQueryReferencesMode } from '@arsedizioni/ars-utils/clipper.common';
|
|
4
5
|
import { ClipperSearchResultManager } from '../search-result-manager/search-result-manager';
|
|
@@ -42,7 +43,7 @@ export declare class ClipperReferencesComponent extends ClipperSearchResultManag
|
|
|
42
43
|
* Send document links by email
|
|
43
44
|
* @param item : the item to add
|
|
44
45
|
*/
|
|
45
|
-
sendTo(item?:
|
|
46
|
+
sendTo(item?: ClipperDocumentInfo): void;
|
|
46
47
|
/**
|
|
47
48
|
* Perform a search
|
|
48
49
|
* @param newSearch: true if is a new search
|
|
@@ -52,7 +53,7 @@ export declare class ClipperReferencesComponent extends ClipperSearchResultManag
|
|
|
52
53
|
* Show a new page result
|
|
53
54
|
* @param e : the MatPaginator PageEvent data
|
|
54
55
|
*/
|
|
55
|
-
fetchMore(e:
|
|
56
|
+
fetchMore(e: PageEvent): void;
|
|
56
57
|
/**
|
|
57
58
|
* Get facets
|
|
58
59
|
*/
|
|
@@ -30,7 +30,7 @@ export declare class ClipperSearchResultItemComponent implements OnInit {
|
|
|
30
30
|
y: string;
|
|
31
31
|
};
|
|
32
32
|
ngOnInit(): void;
|
|
33
|
-
onContextMenu(event: MouseEvent, item:
|
|
33
|
+
onContextMenu(event: MouseEvent, item: ClipperDocumentInfo): void;
|
|
34
34
|
/**
|
|
35
35
|
* Checks if current item is selected
|
|
36
36
|
* @returns true if current item is selected
|
|
@@ -64,7 +64,7 @@ export declare class ClipperSearchResultManager extends ClipperDocumentManager i
|
|
|
64
64
|
* Get the first selected item
|
|
65
65
|
* @returns the selected item or null
|
|
66
66
|
*/
|
|
67
|
-
getSingleSelection():
|
|
67
|
+
getSingleSelection(): ClipperDocumentInfo | null;
|
|
68
68
|
/**
|
|
69
69
|
* Clear selection
|
|
70
70
|
*/
|
|
@@ -84,8 +84,9 @@ export declare class ClipperSearchResultManager extends ClipperDocumentManager i
|
|
|
84
84
|
getSeletectIds(): string[] | null;
|
|
85
85
|
/**
|
|
86
86
|
* Get all selected ids
|
|
87
|
+
* @returns a tuple list with id and data
|
|
87
88
|
*/
|
|
88
|
-
getSeletectIdsAndData():
|
|
89
|
+
getSeletectIdsAndData(): [string, ClipperDocumentInfo][] | null;
|
|
89
90
|
/**
|
|
90
91
|
* Prepare result items
|
|
91
92
|
* @param items : the items to process
|
|
@@ -109,17 +110,17 @@ export declare class ClipperSearchResultManager extends ClipperDocumentManager i
|
|
|
109
110
|
* Return item state css class
|
|
110
111
|
* @param item : the item to evaluate
|
|
111
112
|
*/
|
|
112
|
-
getItemStateCssClass(item:
|
|
113
|
+
getItemStateCssClass(item: ClipperDocumentInfo): string | null;
|
|
113
114
|
/**
|
|
114
115
|
* Return the item state tooltip text
|
|
115
116
|
* @param item : the item to evaluate
|
|
116
117
|
*/
|
|
117
|
-
getItemStateTooltip(item:
|
|
118
|
+
getItemStateTooltip(item: ClipperDocumentInfo): string;
|
|
118
119
|
/**
|
|
119
120
|
* Return the item icon
|
|
120
121
|
* @param item : the item to evaluate
|
|
121
122
|
*/
|
|
122
|
-
getItemIcon(item:
|
|
123
|
+
getItemIcon(item: ClipperDocumentInfo): string;
|
|
123
124
|
/**
|
|
124
125
|
* Toggle the read flag
|
|
125
126
|
* @param item : the item to update
|
|
@@ -131,7 +132,7 @@ export declare class ClipperSearchResultManager extends ClipperDocumentManager i
|
|
|
131
132
|
* @param item : the item to update
|
|
132
133
|
* @paran e: the optional click event
|
|
133
134
|
*/
|
|
134
|
-
toggleSelection(item:
|
|
135
|
+
toggleSelection(item: ClipperDocumentInfo, e?: Event | null): void;
|
|
135
136
|
/**
|
|
136
137
|
* Get the selected id
|
|
137
138
|
*/
|