@arsedizioni/ars-utils 18.2.198 → 18.2.199
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/clipper.common/common/definitions.d.ts +13 -0
- package/clipper.common/common/services/clipper.service.d.ts +10 -10
- package/clipper.ui/ui/search-calendar/search-calendar.component.d.ts +1 -1
- package/esm2022/clipper.common/common/definitions.mjs +1 -1
- package/esm2022/clipper.common/common/services/clipper.service.mjs +25 -21
- package/esm2022/clipper.ui/ui/browser-dialog/browser-dialog.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/references/references.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/search-calendar/search-calendar.component.mjs +2 -2
- package/esm2022/support.common/common/services/support.service.mjs +2 -17
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +23 -19
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +5 -5
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +1 -16
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/package.json +7 -7
- package/support.common/common/services/support.service.d.ts +3 -8
|
@@ -768,9 +768,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImpor
|
|
|
768
768
|
class ClipperSearchCalendarComponent {
|
|
769
769
|
constructor() {
|
|
770
770
|
this.changed = new EventEmitter();
|
|
771
|
+
this.changeDetector = inject(ChangeDetectorRef);
|
|
771
772
|
this.busy = signal(false);
|
|
772
773
|
this.months = signal(null);
|
|
773
|
-
this.changeDetector = inject(ChangeDetectorRef);
|
|
774
774
|
this.calendarSpecialDays = null;
|
|
775
775
|
this.calendarEmptyHeader = CalendarEmptyHeader;
|
|
776
776
|
this.calendarDate = startOfToday();
|
|
@@ -1484,7 +1484,7 @@ class ClipperReferencesComponent extends ClipperSearchResultManager {
|
|
|
1484
1484
|
this.title += " - " + this.dialogData.anchorTitle;
|
|
1485
1485
|
}
|
|
1486
1486
|
// Use service snapshot
|
|
1487
|
-
this.snapshot = this.clipperService.referencesSnapshot ?? { searchParams: new ClipperSearchParams(), interval: "-1" };
|
|
1487
|
+
this.snapshot = this.clipperService.referencesSnapshot() ?? { searchParams: new ClipperSearchParams(), interval: "-1" };
|
|
1488
1488
|
if (this.filterParams.mode !== this.dialogData.mode ||
|
|
1489
1489
|
this.filterParams.id !== this.dialogData.documentId ||
|
|
1490
1490
|
this.filterParams.anchor !== this.dialogData.anchor) {
|
|
@@ -1495,7 +1495,7 @@ class ClipperReferencesComponent extends ClipperSearchResultManager {
|
|
|
1495
1495
|
this.filterParams.id = this.dialogData.documentId;
|
|
1496
1496
|
this.filterParams.useModifierInfo = this.dialogData.mode === ClipperQueryReferencesMode.ChangesOut;
|
|
1497
1497
|
this.filterParams.returnModifierInfo = this.dialogData.mode !== ClipperQueryReferencesMode.ChangesOut;
|
|
1498
|
-
this.clipperService.referencesSnapshot
|
|
1498
|
+
this.clipperService.referencesSnapshot.set(this.snapshot);
|
|
1499
1499
|
}
|
|
1500
1500
|
}
|
|
1501
1501
|
// Initialize selection
|
|
@@ -2969,7 +2969,7 @@ class ClipperBrowserDialogComponent extends ClipperSearchResultManager {
|
|
|
2969
2969
|
}
|
|
2970
2970
|
ngOnInit() {
|
|
2971
2971
|
// Use service snapshot
|
|
2972
|
-
this.snapshot = this.clipperService.snapshot;
|
|
2972
|
+
this.snapshot = this.clipperService.snapshot();
|
|
2973
2973
|
if (!this.snapshot)
|
|
2974
2974
|
this.snapshot = {
|
|
2975
2975
|
searchInfo: null,
|
|
@@ -2978,7 +2978,7 @@ class ClipperBrowserDialogComponent extends ClipperSearchResultManager {
|
|
|
2978
2978
|
if (!this.filterParams) {
|
|
2979
2979
|
this.filterParams = new ClipperSearchParams();
|
|
2980
2980
|
// Store snapshot
|
|
2981
|
-
this.clipperService.snapshot
|
|
2981
|
+
this.clipperService.snapshot.set(this.snapshot);
|
|
2982
2982
|
}
|
|
2983
2983
|
// Initialize selection
|
|
2984
2984
|
this.selection = new SelectableModel(true, 'documentId');
|