@arsedizioni/ars-utils 19.0.171 → 19.0.173

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.
@@ -13,7 +13,7 @@ export declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
13
13
  private changeDetector;
14
14
  private clipperService;
15
15
  readonly useSelections: import("@angular/core").InputSignal<boolean>;
16
- readonly selectionSource: import("@angular/core").InputSignal<"selection" | "bag" | "none">;
16
+ readonly selectionSource: import("@angular/core").InputSignal<"none" | "selection" | "bag">;
17
17
  protected selection: () => ClipperDocumentInfo[];
18
18
  readonly parent: import("@angular/core").InputSignal<ClipperSearchResultManager>;
19
19
  readonly item: import("@angular/core").InputSignal<ClipperDocumentInfo>;
@@ -53,7 +53,7 @@ export declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
53
53
  protected getMultipleSelection(): ClipperDocumentInfo[];
54
54
  /**
55
55
  * Check if only one element is selected
56
- * @returns true if only one element is selected
56
+ * @returns true if only one element is selectedf
57
57
  */
58
58
  protected hasSingleSelection(): boolean;
59
59
  /**
@@ -556,6 +556,7 @@ class ClipperDocumentManager {
556
556
  documents.forEach(n => {
557
557
  allow = n && (n.model === ClipperModel.NormativaVigente ||
558
558
  n.model === ClipperModel.AggiornamentoNormativo ||
559
+ n.model === ClipperModel.GiurisprudenzaRecente ||
559
560
  n.model === ClipperModel.Scadenze);
560
561
  if (!allow)
561
562
  return;
@@ -729,7 +730,7 @@ class ClipperDocumentMenuComponent {
729
730
  }
730
731
  /**
731
732
  * Check if only one element is selected
732
- * @returns true if only one element is selected
733
+ * @returns true if only one element is selectedf
733
734
  */
734
735
  hasSingleSelection() {
735
736
  return this.item()?.documentId?.length > 0 || this.selection().length === 1;
@@ -2147,6 +2148,7 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
2147
2148
  * @param item : the item to evaluate
2148
2149
  */
2149
2150
  getItemStateCssClass(item) {
2151
+ console.log(item.model);
2150
2152
  if (item.isRead !== true && ClipperUtils.isClipperModelReadable(item.model))
2151
2153
  return 'unread-bg';
2152
2154
  else if (item.isExpired)