wacom 21.2.0 → 21.2.1
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 -0
- package/fesm2022/wacom.mjs.map +1 -1
- package/package.json +1 -1
- package/types/wacom.d.ts +4 -0
package/fesm2022/wacom.mjs
CHANGED
|
@@ -519,10 +519,17 @@ class CrudComponent {
|
|
|
519
519
|
this.crudService = crudService;
|
|
520
520
|
this._module = module;
|
|
521
521
|
}
|
|
522
|
+
/**
|
|
523
|
+
* Allow set query customization
|
|
524
|
+
*/
|
|
525
|
+
setDocumentsQuery(query) {
|
|
526
|
+
return query;
|
|
527
|
+
}
|
|
522
528
|
/**
|
|
523
529
|
* Loads documents for a given page.
|
|
524
530
|
*/
|
|
525
531
|
setDocuments(page = this.page, query = '') {
|
|
532
|
+
query = this.setDocumentsQuery(query);
|
|
526
533
|
return new Promise((resolve) => {
|
|
527
534
|
if (this.configType === 'server') {
|
|
528
535
|
this.page = page;
|