@arsedizioni/ars-utils 19.1.27 → 19.1.29

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.
@@ -1,6 +1,6 @@
1
1
  import { MatDialogRef } from '@angular/material/dialog';
2
2
  import { DialogService } from '@arsedizioni/ars-utils/ui';
3
- import { ClipperService } from '@arsedizioni/ars-utils/clipper.common';
3
+ import { ClipperModule, ClipperService } from '@arsedizioni/ars-utils/clipper.common';
4
4
  import { ClipperDocumentComponent } from './ui/document/document.component';
5
5
  import { ThemeType } from '@arsedizioni/ars-utils/core';
6
6
  export declare class ClipperDocumentsUtils {
@@ -13,7 +13,7 @@ export declare class ClipperDocumentsUtils {
13
13
  * @param selectionMode : the selection mode (1 = single, 2 = multiple, 3 = any selection)
14
14
  * @param theme: the theme to use. Default is system
15
15
  */
16
- static openDocument(dialogService: DialogService, clipperService: ClipperService, documentId: string, query?: string | null | undefined, selectionMode?: number | null, theme?: ThemeType | null): MatDialogRef<ClipperDocumentComponent> | null;
16
+ static openDocument(dialogService: DialogService, clipperService: ClipperService, documentId: string, query?: string | null | undefined, selectionMode?: number | null, selectableModules?: ClipperModule[] | null, theme?: ThemeType | null): MatDialogRef<ClipperDocumentComponent> | null;
17
17
  /**
18
18
  * Extract document title
19
19
  * @param title : the full document title
@@ -11,7 +11,6 @@
11
11
  width: 150px;
12
12
  font-size: small;
13
13
  font-weight: 600;
14
- text-transform: uppercase;
15
14
  }
16
15
 
17
16
  .clipper-selection-icon-button {
@@ -1,11 +1,12 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { MatDrawer } from '@angular/material/sidenav';
3
- import { ClipperDocumentAnchorInfo, ClipperDocumentInfo, ClipperDocumentRelevants, ClipperQueryReferencesMode, ClipperUserInfo } from '@arsedizioni/ars-utils/clipper.common';
3
+ import { ClipperDocumentAnchorInfo, ClipperDocumentInfo, ClipperDocumentRelevants, ClipperModule, ClipperQueryReferencesMode, ClipperUserInfo } from '@arsedizioni/ars-utils/clipper.common';
4
4
  import { ThemeType } from '@arsedizioni/ars-utils/core';
5
5
  import { ClipperDocumentManager } from '../document-manager/document-manager';
6
6
  import * as i0 from "@angular/core";
7
7
  export interface ClipperDocumentDialogData {
8
- selectionMode: number;
8
+ selectionMode?: number | null;
9
+ selectableModules?: ClipperModule[] | null;
9
10
  id: string;
10
11
  query?: string | null;
11
12
  theme?: ThemeType | null;