@eherve/angular-material-datatable 19.24.0 → 19.26.0
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/README.md +2 -0
- package/fesm2022/eherve-angular-material-datatable.mjs +3005 -1
- package/fesm2022/eherve-angular-material-datatable.mjs.map +1 -1
- package/lib/components/cell-date-value/cell-date-value.component.d.ts +2 -1
- package/lib/components/cell-select-value/cell-select-value.component.d.ts +2 -3
- package/lib/components/header-autocomplete-filter/header-autocomplete-filter.component.d.ts +2 -0
- package/lib/components/header-date-filter/header-date-filter.component.d.ts +2 -0
- package/lib/components/header-duration-filter/header-duration-filter.component.d.ts +2 -0
- package/lib/components/header-number-filter/header-number-filter.component.d.ts +2 -0
- package/lib/components/header-select-filter/header-select-filter.component.d.ts +3 -0
- package/lib/components/header-text-filter/header-text-filter.component.d.ts +2 -0
- package/lib/datasource.d.ts +4 -1
- package/lib/datatable.component.d.ts +6 -0
- package/lib/datatable.intl.d.ts +11 -0
- package/lib/date-refresh.service.d.ts +8 -0
- package/lib/directives/datatable-row-viewport.directive.d.ts +22 -0
- package/lib/pipes/safe-html.pipe.d.ts +2 -1
- package/lib/select-options-cache.service.d.ts +9 -0
- package/lib/types/action.type.d.ts +1 -0
- package/lib/types/datatable-column.type.d.ts +2 -1
- package/package.json +2 -2
- package/public-api.d.ts +1 -0
- package/fesm2022/eherve-angular-material-datatable-cell-checkbox-value.component-Dcer6VNu.mjs +0 -26
- package/fesm2022/eherve-angular-material-datatable-cell-checkbox-value.component-Dcer6VNu.mjs.map +0 -1
- package/fesm2022/eherve-angular-material-datatable-cell-date-value.component-CH38s3de.mjs +0 -83
- package/fesm2022/eherve-angular-material-datatable-cell-date-value.component-CH38s3de.mjs.map +0 -1
- package/fesm2022/eherve-angular-material-datatable-cell-duration-value.component-C96dDNf9.mjs +0 -35
- package/fesm2022/eherve-angular-material-datatable-cell-duration-value.component-C96dDNf9.mjs.map +0 -1
- package/fesm2022/eherve-angular-material-datatable-cell-number-value.component-YPEA9XOc.mjs +0 -26
- package/fesm2022/eherve-angular-material-datatable-cell-number-value.component-YPEA9XOc.mjs.map +0 -1
- package/fesm2022/eherve-angular-material-datatable-cell-select-value.component-DH-Kq9yJ.mjs +0 -44
- package/fesm2022/eherve-angular-material-datatable-cell-select-value.component-DH-Kq9yJ.mjs.map +0 -1
- package/fesm2022/eherve-angular-material-datatable-eherve-angular-material-datatable-yAj8iPwA.mjs +0 -2510
- package/fesm2022/eherve-angular-material-datatable-eherve-angular-material-datatable-yAj8iPwA.mjs.map +0 -1
- package/fesm2022/eherve-angular-material-datatable-get.pipe-kupjbnPY.mjs +0 -19
- package/fesm2022/eherve-angular-material-datatable-get.pipe-kupjbnPY.mjs.map +0 -1
- package/fesm2022/eherve-angular-material-datatable-suffix-function.pipe-CQO-ghpR.mjs +0 -20
- package/fesm2022/eherve-angular-material-datatable-suffix-function.pipe-CQO-ghpR.mjs.map +0 -1
- package/fesm2022/eherve-angular-material-datatable-transform.pipe-BOmcXXZU.mjs +0 -21
- package/fesm2022/eherve-angular-material-datatable-transform.pipe-BOmcXXZU.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -33,6 +33,8 @@ The main request fields are:
|
|
|
33
33
|
|
|
34
34
|
The companion `mongoose-datatable` backend converts pagination to a MongoDB offset using `start * length`.
|
|
35
35
|
|
|
36
|
+
Searchable columns may expose a backend search type through `columns[].type`. The library infers it for unambiguous column types: `text` -> `string`, `number` / `duration` -> `number`, `checkbox` -> `boolean`, and `date` -> `date`. Use the public `searchType` column option for ambiguous searchable types such as `select` or `autocomplete`, or when a `searchProperty` needs an explicit backend type such as `objectid`. When `searchProperty` differs from the displayed `property`, the displayed column keeps its own inferred type and `searchType` is applied only to the effective search column.
|
|
37
|
+
|
|
36
38
|
A datasource response contains `draw`, `recordsFiltered`, `data`, optional `facets`, and may also provide unfiltered total information when supported by the datasource.
|
|
37
39
|
|
|
38
40
|
## Projection expressions
|