@arsedizioni/ars-utils 22.0.50 → 22.0.52

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arsedizioni/ars-utils",
3
- "version": "22.0.50",
3
+ "version": "22.0.52",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -1049,7 +1049,7 @@ declare class ClipperDocumentMenuComponent {
1049
1049
  private readonly renderer2;
1050
1050
  private readonly clipperService;
1051
1051
  readonly useSelections: _angular_core.InputSignal<boolean>;
1052
- readonly selectionSource: _angular_core.InputSignal<"bag" | "selection" | "none">;
1052
+ readonly selectionSource: _angular_core.InputSignal<"selection" | "bag" | "none">;
1053
1053
  /**
1054
1054
  * Computed signal that returns the current effective document selection.
1055
1055
  * Re-evaluates when any input signal or the underlying selection model changes.
@@ -239,6 +239,13 @@ declare class SupportService {
239
239
  * @returns void
240
240
  */
241
241
  initialize(serviceUri: string, products?: SupportProduct, productModules?: SupportProductModule): void;
242
+ /**
243
+ * Updates the unread notifications count by fetching it from the server and setting the `unreadNotifications` signal. Sets `undefined` when the count is zero.
244
+ * @param products - Bitmask of `SupportProduct` values to scope the count (default: current value).
245
+ * @param productModules - Bitmask of `SupportProductModule` values to scope the count (default: current value).
246
+ * @returns void
247
+ */
248
+ setProducts(products: SupportProduct, productModules: SupportProductModule): void;
242
249
  static ɵfac: i0.ɵɵFactoryDeclaration<SupportService, never>;
243
250
  static ɵprov: i0.ɵɵInjectableDeclaration<SupportService>;
244
251
  }