@arsedizioni/ars-utils 21.1.9 → 21.1.10

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.1.9",
3
+ "version": "21.1.10",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -88,9 +88,10 @@ declare class ClipperDocumentManager {
88
88
  * This should be always overridden
89
89
  * @param documentId : the document id
90
90
  * @param query : the query document
91
+ * @param queryChunks : the query chunks for highlight as string (eg. "|1|2|3...")
91
92
  * @param newWindow: true if the document must be open into a new window
92
93
  */
93
- open(_documentId?: string, _query?: string, _newWindow?: boolean): void;
94
+ open(_documentId?: string, _query?: string, _queryChunks?: string, _newWindow?: boolean): void;
94
95
  /**
95
96
  * Display a document report
96
97
  * @param item : the document
@@ -397,11 +398,12 @@ declare class ClipperSearchResultManager extends ClipperDocumentManager implemen
397
398
  /**
398
399
  * Open an item
399
400
  * @param documentId : the document id
400
- * @param query: the current query or null
401
+ * @param query: the current query or undefined
402
+ * @param queryChunks : the query chunks for highlight as string (eg. "|1|2|3...")
401
403
  * @param newWindow: true if the document must be open into a new window
402
404
  * @param canUseArchive: true if archive is available
403
405
  */
404
- open(documentId: string, query?: string, newWindow?: boolean): void;
406
+ open(documentId: string, query?: string, queryChunks?: string, newWindow?: boolean): void;
405
407
  /**
406
408
  * Open a document
407
409
  * @param documentId : the document id
@@ -968,10 +970,11 @@ declare class ClipperDocumentComponent extends ClipperDocumentManager implements
968
970
  /**
969
971
  * Open an item
970
972
  * @param documentId : the document id
971
- * @param query: the current query or null
973
+ * @param query: the current query or undefined
974
+ * @param queryChunks : the query chunks for highlight as string (eg. "|1|2|3...")
972
975
  * @param newWindow: true if the document must be open into a new window
973
976
  */
974
- open(documentId: string, query?: string, newWindow?: boolean): void;
977
+ open(documentId: string, query?: string, queryChunks?: string, newWindow?: boolean): void;
975
978
  /**
976
979
  * Open a document
977
980
  * @param documentId : the document id
@@ -1047,7 +1050,7 @@ declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
1047
1050
  private changeDetector;
1048
1051
  private clipperService;
1049
1052
  readonly useSelections: _angular_core.InputSignal<boolean>;
1050
- readonly selectionSource: _angular_core.InputSignal<"none" | "selection" | "bag">;
1053
+ readonly selectionSource: _angular_core.InputSignal<"bag" | "selection" | "none">;
1051
1054
  protected selection: () => ClipperDocumentInfo[];
1052
1055
  readonly parent: _angular_core.InputSignal<ClipperSearchResultManager>;
1053
1056
  readonly item: _angular_core.InputSignal<ClipperDocumentInfo>;