@arsedizioni/ars-utils 18.2.69 → 18.2.71
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/esm2022/clipper.ui/ui/search-facets/search-facets.component.mjs +3 -11
- package/esm2022/clipper.ui/ui/search-result-manager/search-result-manager.mjs +3 -1
- package/esm2022/ui.application/ui/components/button-selector/button-selector.component.mjs +6 -2
- package/esm2022/ui.application/ui/components/chips-selector/chips-selector.component.mjs +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +4 -10
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +6 -2
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/package.json +7 -7
- package/ui.application/ui/components/button-selector/button-selector.component.d.ts +2 -1
|
@@ -319,16 +319,8 @@ class ClipperSearchFacetsComponent {
|
|
|
319
319
|
*/
|
|
320
320
|
restore(data) {
|
|
321
321
|
if (data) {
|
|
322
|
-
this.snapshot
|
|
323
|
-
this.
|
|
324
|
-
this.snapshot.hasFacets = data.hasFacets;
|
|
325
|
-
this.snapshot.fromDate = data.fromDate;
|
|
326
|
-
this.snapshot.toDate = data.toDate;
|
|
327
|
-
this.snapshot.sector = data.sector;
|
|
328
|
-
this.snapshot.author = data.author;
|
|
329
|
-
this.snapshot.anchor = data.anchor;
|
|
330
|
-
this.snapshot.type = data.type;
|
|
331
|
-
this.snapshot.reason = data.reason;
|
|
322
|
+
this.snapshot = data;
|
|
323
|
+
this.changeDetector.markForCheck();
|
|
332
324
|
}
|
|
333
325
|
}
|
|
334
326
|
/**
|
|
@@ -1291,6 +1283,8 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
|
|
|
1291
1283
|
scroll: scroll,
|
|
1292
1284
|
sort: { mode: this.sortMode, options: this.sortOptions },
|
|
1293
1285
|
data: this.snapshot
|
|
1286
|
+
? { items: this.snapshot.items, total: this.snapshot.total }
|
|
1287
|
+
: null
|
|
1294
1288
|
}));
|
|
1295
1289
|
}
|
|
1296
1290
|
/**
|