@arsedizioni/ars-utils 21.2.277 → 21.2.278

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": "21.2.277",
3
+ "version": "21.2.278",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -799,6 +799,7 @@ interface ClipperDocumentDialogData {
799
799
  queryChunks?: string;
800
800
  theme?: ThemeType;
801
801
  canUseArchive?: boolean;
802
+ canUseNotes?: boolean;
802
803
  canHandleTooManyResults?: boolean;
803
804
  }
804
805
  declare class ClipperDocumentComponent extends ClipperDocumentManager {
@@ -1019,7 +1020,7 @@ declare class ClipperDocumentMenuComponent {
1019
1020
  /** Internal counter incremented on each external selection-model change to drive signal re-evaluation. */
1020
1021
  private readonly selectionChangeTick;
1021
1022
  readonly useSelections: _angular_core.InputSignal<boolean>;
1022
- readonly selectionSource: _angular_core.InputSignal<"bag" | "selection" | "none">;
1023
+ readonly selectionSource: _angular_core.InputSignal<"none" | "bag" | "selection">;
1023
1024
  /**
1024
1025
  * Computed signal that returns the current effective document selection.
1025
1026
  * Re-evaluates when any input signal or the underlying selection model changes.
@@ -1407,11 +1408,12 @@ declare class ClipperDocumentsUtils {
1407
1408
  * @param selectableModules - The list of Clipper modules available for selection.
1408
1409
  * @param theme - The UI theme to apply. Defaults to the system theme.
1409
1410
  * @param canUseArchive - When `true`, archive access is enabled inside the viewer.
1411
+ * @param canUseNotes - When `true`, notes access is enabled inside the viewer.
1410
1412
  * @param canHandleTooManyResults - When `true`, the component handles oversized result sets.
1411
1413
  * @param replaceUrl - When provided, after the dialog closes the method calls `window.close()`
1412
1414
  * if the page was opened by another window, or navigates to this URL otherwise.
1413
1415
  */
1414
- static openDocument(injector: Injector, documentId: string, query?: string, queryChunks?: string, selectionMode?: ClipperSelectionMode, selectableModules?: ClipperModule[], theme?: ThemeType, canUseArchive?: boolean, canHandleTooManyResults?: boolean, replaceUrl?: string): void;
1416
+ static openDocument(injector: Injector, documentId: string, query?: string, queryChunks?: string, selectionMode?: ClipperSelectionMode, selectableModules?: ClipperModule[], theme?: ThemeType, canUseArchive?: boolean, canUseNotes?: boolean, canHandleTooManyResults?: boolean, replaceUrl?: string): void;
1415
1417
  /**
1416
1418
  * Extracts the display title from a full document title by stripping any trailing `[...]` suffix.
1417
1419
  * @param title - The full document title, which may contain a bracketed qualifier.