@arsedizioni/ars-utils 18.2.242 → 18.2.244
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 +7 -3
- package/clipper.common/common/services/clipper.service.d.ts +6 -0
- package/esm2022/clipper.common/common/definitions.mjs +11 -21
- package/esm2022/clipper.common/common/services/clipper.service.mjs +11 -2
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +21 -21
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/package.json +12 -12
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SendToDialogResult } from '@arsedizioni/ars-utils/ui.application';
|
|
2
2
|
import { LoginResult, NameValueItem } from '@arsedizioni/ars-utils/core';
|
|
3
3
|
import { LoginOAuthType } from '@arsedizioni/ars-utils/ui.oauth';
|
|
4
|
-
import { Signal } from '@angular/core';
|
|
5
4
|
export declare enum ClipperSelectionMode {
|
|
6
5
|
Single = 1,
|
|
7
6
|
Multi = 2,
|
|
@@ -493,18 +492,23 @@ export interface ClipperDashboardResult {
|
|
|
493
492
|
documentUpdates?: number | null;
|
|
494
493
|
}
|
|
495
494
|
export declare class ClipperDashboard {
|
|
496
|
-
items
|
|
495
|
+
items: ClipperDashboardItem[];
|
|
497
496
|
isTrial?: boolean | null;
|
|
498
497
|
expiredDeadlines?: number | null;
|
|
499
498
|
expiringDeadlines?: number | null;
|
|
500
499
|
documentUpdates?: number | null;
|
|
501
|
-
unreadItems?: Signal<[ClipperModule, number][]>;
|
|
502
500
|
/**
|
|
503
501
|
* Update unread items
|
|
504
502
|
* @param module : the module
|
|
505
503
|
* @param increment : the increment (can be negative)
|
|
506
504
|
*/
|
|
507
505
|
updateUnreadItems(module: ClipperModule, increment: number): void;
|
|
506
|
+
/**
|
|
507
|
+
* Get the unread items of a module
|
|
508
|
+
* @param module : the module
|
|
509
|
+
* @returns : the number of unread items
|
|
510
|
+
*/
|
|
511
|
+
getUnreadItems(module: ClipperModule): number | null | undefined;
|
|
508
512
|
}
|
|
509
513
|
export declare class ClipperUtils {
|
|
510
514
|
/**
|
|
@@ -159,6 +159,12 @@ export declare class ClipperService implements OnDestroy {
|
|
|
159
159
|
* Retrieve current dashboard
|
|
160
160
|
*/
|
|
161
161
|
loadDashboard(): void;
|
|
162
|
+
/**
|
|
163
|
+
* Update unread items
|
|
164
|
+
* @param module : the module
|
|
165
|
+
* @param increment : the increment (can be negative)
|
|
166
|
+
*/
|
|
167
|
+
updateDashboardUnreadItems(module: ClipperModule, increment: number): void;
|
|
162
168
|
/**
|
|
163
169
|
* Save a user link
|
|
164
170
|
* @param item: the user link
|