@arsedizioni/ars-utils 21.2.223 → 21.2.226

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.223",
3
+ "version": "21.2.226",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -1402,10 +1402,10 @@ declare class ClipperDocumentsUtils {
1402
1402
  * @param theme - The UI theme to apply. Defaults to the system theme.
1403
1403
  * @param canUseArchive - When `true`, archive access is enabled inside the viewer.
1404
1404
  * @param canHandleTooManyResults - When `true`, the component handles oversized result sets.
1405
- * @returns The `MatDialogRef` for the opened dialog, or `undefined` when the user is not logged in
1406
- * or the document ID is invalid.
1405
+ * @param replaceUrl - When provided, after the dialog closes the method calls `window.close()`
1406
+ * if the page was opened by another window, or navigates to this URL otherwise.
1407
1407
  */
1408
- static openDocument(injector: Injector, documentId: string, query?: string, queryChunks?: string, selectionMode?: ClipperSelectionMode, selectableModules?: ClipperModule[], theme?: ThemeType, canUseArchive?: boolean, canHandleTooManyResults?: boolean): void;
1408
+ static openDocument(injector: Injector, documentId: string, query?: string, queryChunks?: string, selectionMode?: ClipperSelectionMode, selectableModules?: ClipperModule[], theme?: ThemeType, canUseArchive?: boolean, canHandleTooManyResults?: boolean, replaceUrl?: string): void;
1409
1409
  /**
1410
1410
  * Extracts the display title from a full document title by stripping any trailing `[...]` suffix.
1411
1411
  * @param title - The full document title, which may contain a bracketed qualifier.
@@ -219,9 +219,9 @@ interface SendToPopulateData {
219
219
  source: SendToDialogComponent;
220
220
  }
221
221
  interface SendToDialogResult {
222
- recipients: string | null;
223
- subject: string | undefined;
224
- text: string | undefined;
222
+ recipients?: string;
223
+ subject?: string;
224
+ text?: string;
225
225
  options?: any;
226
226
  }
227
227
  interface PromptDialogResult {