wacom 21.1.4 → 21.1.5
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/fesm2022/wacom.mjs +7 -1
- package/fesm2022/wacom.mjs.map +1 -1
- package/package.json +1 -1
- package/types/wacom.d.ts +193 -187
package/fesm2022/wacom.mjs
CHANGED
|
@@ -709,6 +709,12 @@ class CrudComponent {
|
|
|
709
709
|
this.__core = inject(CoreService);
|
|
710
710
|
/** ChangeDetectorRef handles on push strategy */
|
|
711
711
|
this.__cdr = inject(ChangeDetectorRef);
|
|
712
|
+
/**
|
|
713
|
+
* Optional client-side predicate used when `configType === 'local'`.
|
|
714
|
+
* Only documents for which this function returns `true` will be included
|
|
715
|
+
* in the list returned by `setDocuments()` in local mode.
|
|
716
|
+
*/
|
|
717
|
+
this.localDocumentsFilter = () => true;
|
|
712
718
|
/** Fields considered when performing bulk updates. */
|
|
713
719
|
this.updatableFields = ['_id', 'name', 'description', 'data'];
|
|
714
720
|
/** Data source mode used for document retrieval. */
|
|
@@ -742,7 +748,7 @@ class CrudComponent {
|
|
|
742
748
|
}
|
|
743
749
|
else {
|
|
744
750
|
this.documents.update(() => this.crudService
|
|
745
|
-
.getDocs()
|
|
751
|
+
.getDocs(this.localDocumentsFilter)
|
|
746
752
|
.map((doc) => this.crudService.getSignal(doc)));
|
|
747
753
|
this.crudService.loaded.pipe(take(1)).subscribe(() => {
|
|
748
754
|
resolve();
|