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