@arsedizioni/ars-utils 19.1.3 → 19.1.4
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<"
|
|
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>;
|
|
@@ -2041,7 +2041,12 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
|
|
|
2041
2041
|
n.model !== ClipperModel.GiurisprudenzaRecente &&
|
|
2042
2042
|
n.model !== ClipperModel.Juris &&
|
|
2043
2043
|
n.date) {
|
|
2044
|
-
|
|
2044
|
+
if (this.filterParams.modules?.length > 1) {
|
|
2045
|
+
n.date = startOfDay(new Date(n.publishingDate));
|
|
2046
|
+
}
|
|
2047
|
+
else {
|
|
2048
|
+
n.date = startOfDay(new Date(n.date ?? n.publishingDate));
|
|
2049
|
+
}
|
|
2045
2050
|
const d = startOfDay(subDays(startOfToday(), 7));
|
|
2046
2051
|
n.isNew = n.date > d;
|
|
2047
2052
|
}
|