@messaia/cdk 22.0.1 → 22.0.2-rc.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/README.md +8 -0
- package/fesm2022/messaia-cdk.mjs +130 -33
- package/fesm2022/messaia-cdk.mjs.map +1 -1
- package/package.json +1 -1
- package/types/messaia-cdk.d.ts +24 -3
package/package.json
CHANGED
package/types/messaia-cdk.d.ts
CHANGED
|
@@ -4081,8 +4081,8 @@ declare class TableDataSource<TEntity, TService extends GenericService<TEntity>>
|
|
|
4081
4081
|
_reloadChange: BehaviorSubject<number>;
|
|
4082
4082
|
/**
|
|
4083
4083
|
* @property onDataLoaded
|
|
4084
|
-
* @description Emits the latest
|
|
4085
|
-
* The initial value is `null` until the first
|
|
4084
|
+
* @description Emits the latest server page or a local empty page when filters rule out every row.
|
|
4085
|
+
* The initial value is `null` until the first page is available.
|
|
4086
4086
|
* @type {BehaviorSubject<Pagination<TEntity> | any>}
|
|
4087
4087
|
*/
|
|
4088
4088
|
onDataLoaded: BehaviorSubject<Pagination<TEntity> | any>;
|
|
@@ -4242,6 +4242,27 @@ declare class TableDataSource<TEntity, TService extends GenericService<TEntity>>
|
|
|
4242
4242
|
* @returns {Observable<TEntity[]>} An observable that emits the current page of entities.
|
|
4243
4243
|
*/
|
|
4244
4244
|
connect(_?: CollectionViewer): Observable<TEntity[]>;
|
|
4245
|
+
/**
|
|
4246
|
+
* Reads exact matches or exclusions without changing the values sent to the API.
|
|
4247
|
+
* @param filter A scalar or an array of values for one query key.
|
|
4248
|
+
* @returns The original values keyed by their serialized operands, or `undefined` for unsupported predicates.
|
|
4249
|
+
* @example A numeric `9` and the exclusion `'!9'` both use `'9'` as their comparison key.
|
|
4250
|
+
*/
|
|
4251
|
+
private static readExactFilter;
|
|
4252
|
+
/**
|
|
4253
|
+
* Narrows a field filter to values that also satisfy its static restriction.
|
|
4254
|
+
* @param fieldFilter The value selected in the table.
|
|
4255
|
+
* @param staticFilter The restriction configured for the list.
|
|
4256
|
+
* @returns Matching predicates, `[]` when nothing matches, or `undefined` when the intersection cannot be represented.
|
|
4257
|
+
* @example `intersectExactFilters([1, 9], ['!8', '!9'])` returns `[1]`.
|
|
4258
|
+
*/
|
|
4259
|
+
private static intersectExactFilters;
|
|
4260
|
+
/**
|
|
4261
|
+
* Merges both filter sets under their original query keys.
|
|
4262
|
+
* @param tableParams The pagination, sorting, and search parameters for the request.
|
|
4263
|
+
* @returns The merged parameters, or `null` when no row can satisfy both filters.
|
|
4264
|
+
*/
|
|
4265
|
+
private buildRequestParams;
|
|
4245
4266
|
/**
|
|
4246
4267
|
* @method disconnect
|
|
4247
4268
|
* @description Marks the data source as disconnected from its collection viewer.
|
|
@@ -6494,7 +6515,7 @@ declare abstract class GenericFormBaseComponent<TEntity extends IEntity, TServic
|
|
|
6494
6515
|
* Emitted when the form has been fully initialized
|
|
6495
6516
|
* and is ready to be accessed or modified.
|
|
6496
6517
|
*/
|
|
6497
|
-
formInitialized: EventEmitter<
|
|
6518
|
+
formInitialized: EventEmitter<FormGroup<any> | NgForm>;
|
|
6498
6519
|
/**
|
|
6499
6520
|
* The current date.
|
|
6500
6521
|
*/
|