@arsedizioni/ars-utils 21.0.20 → 21.0.22

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.0.20",
3
+ "version": "21.0.22",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -24,6 +24,7 @@ declare class ClipperDocumentManager {
24
24
  protected broadcastService: BroadcastService;
25
25
  protected dialogService: ApplicationDialogService;
26
26
  protected canUseArchive: _angular_core.WritableSignal<boolean>;
27
+ protected canHandleTooManyResults: _angular_core.WritableSignal<boolean>;
27
28
  /**
28
29
  * Export a document in pdf format
29
30
  * @param item : the document to export
@@ -214,6 +215,7 @@ declare class ClipperSearchFacetsComponent {
214
215
  private changeDetector;
215
216
  protected snapshot: ClipperSearchFacetsSnapshot;
216
217
  hasFacets: () => boolean;
218
+ handleTooManyResults: _angular_core.InputSignal<boolean>;
217
219
  /**
218
220
  * Update facets
219
221
  * @param values : the facets values
@@ -256,7 +258,7 @@ declare class ClipperSearchFacetsComponent {
256
258
  */
257
259
  save(): ClipperSearchFacetsSnapshot;
258
260
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClipperSearchFacetsComponent, never>;
259
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClipperSearchFacetsComponent, "clipper-search-facets", never, {}, { "changed": "changed"; }, never, never, true, never>;
261
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClipperSearchFacetsComponent, "clipper-search-facets", never, { "handleTooManyResults": { "alias": "handleTooManyResults"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, never, true, never>;
260
262
  }
261
263
 
262
264
  declare class ClipperSearchResultManager extends ClipperDocumentManager implements OnDestroy {
@@ -427,6 +429,7 @@ interface ClipperReferencesDialogData {
427
429
  documentId: string;
428
430
  model: number;
429
431
  canUseArchive?: boolean;
432
+ canHandleTooManyResults?: boolean;
430
433
  }
431
434
  interface ClipperReferenceDialogResult {
432
435
  documentId: string;
@@ -836,6 +839,7 @@ interface ClipperDocumentDialogData {
836
839
  query?: string;
837
840
  theme?: ThemeType;
838
841
  canUseArchive?: boolean;
842
+ canHandleTooManyResults?: boolean;
839
843
  }
840
844
  declare class ClipperDocumentComponent extends ClipperDocumentManager implements OnInit, OnDestroy {
841
845
  readonly relevantsPane: _angular_core.Signal<MatDrawer>;
@@ -1033,7 +1037,7 @@ declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
1033
1037
  private changeDetector;
1034
1038
  private clipperService;
1035
1039
  readonly useSelections: _angular_core.InputSignal<boolean>;
1036
- readonly selectionSource: _angular_core.InputSignal<"none" | "selection" | "bag">;
1040
+ readonly selectionSource: _angular_core.InputSignal<"selection" | "bag" | "none">;
1037
1041
  protected selection: () => ClipperDocumentInfo[];
1038
1042
  readonly parent: _angular_core.InputSignal<ClipperSearchResultManager>;
1039
1043
  readonly item: _angular_core.InputSignal<ClipperDocumentInfo>;
@@ -1125,8 +1129,9 @@ declare class ClipperDocumentsUtils {
1125
1129
  * @param selectableModules : the clipper selectable modules
1126
1130
  * @param theme: the theme to use. Default is system
1127
1131
  * @param canUseArchive: ture if archive is available
1132
+ * @param canHandleTooManyResults: true if the component should handle too many results
1128
1133
  */
1129
- static openDocument(dialogService: DialogService, clipperService: ClipperService, documentId: string, query?: string, selectionMode?: ClipperSelectionMode, selectableModules?: ClipperModule[], theme?: ThemeType, canUseArchive?: boolean): MatDialogRef<ClipperDocumentComponent> | undefined;
1134
+ static openDocument(dialogService: DialogService, clipperService: ClipperService, documentId: string, query?: string, selectionMode?: ClipperSelectionMode, selectableModules?: ClipperModule[], theme?: ThemeType, canUseArchive?: boolean, canHandleTooManyResults?: boolean): MatDialogRef<ClipperDocumentComponent> | undefined;
1130
1135
  /**
1131
1136
  * Extract document title
1132
1137
  * @param title : the full document title