@ngrdt/forms 0.0.54 → 0.0.56
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/ngrdt-forms.mjs +8 -3
- package/fesm2022/ngrdt-forms.mjs.map +1 -1
- package/index.d.ts +11 -2
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -224,14 +224,22 @@ declare class RdtOfflineSelectDatasource<TValue extends string | number> extends
|
|
|
224
224
|
readonly data: RdtLabelValue<TValue>[];
|
|
225
225
|
readonly totalCountKnown = true;
|
|
226
226
|
readonly queryRequired = false;
|
|
227
|
-
protected readonly preprocessedData:
|
|
227
|
+
protected readonly preprocessedData: {
|
|
228
|
+
label: string;
|
|
229
|
+
prepLabel: string;
|
|
230
|
+
value: TValue;
|
|
231
|
+
}[];
|
|
228
232
|
constructor(data: RdtLabelValue<TValue>[]);
|
|
229
233
|
getData(params: RdtSelectRequestParams): Observable<RdtSelectPage<RdtLabelValue<TValue>>>;
|
|
230
234
|
getLabel(item: RdtLabelValue<TValue>): string;
|
|
231
235
|
getId(item: RdtLabelValue<TValue>): TValue;
|
|
232
236
|
getItemsByIds(ids: TValue[]): Observable<Map<TValue, RdtLabelValue<TValue>>>;
|
|
233
237
|
protected preprocessLabel(label: string): string;
|
|
234
|
-
protected preprocessData(data: RdtLabelValue<TValue>[]):
|
|
238
|
+
protected preprocessData(data: RdtLabelValue<TValue>[]): {
|
|
239
|
+
label: string;
|
|
240
|
+
prepLabel: string;
|
|
241
|
+
value: TValue;
|
|
242
|
+
}[];
|
|
235
243
|
protected filterData(query: string | null): RdtLabelValue<TValue>[];
|
|
236
244
|
}
|
|
237
245
|
|
|
@@ -284,6 +292,7 @@ declare abstract class RdtSelectOfflineDatasourceProviderDirective<TValue extend
|
|
|
284
292
|
readonly optionsInput: _angular_core.InputSignal<RdtLabelValue<TValue>[] | TValue[] | undefined>;
|
|
285
293
|
readonly options: _angular_core.Signal<RdtLabelValue<TValue>[]>;
|
|
286
294
|
private parseOptions;
|
|
295
|
+
protected getDatasourceClass(): typeof RdtOfflineSelectDatasource<TValue>;
|
|
287
296
|
private readonly optionsEffect;
|
|
288
297
|
private setDatasource;
|
|
289
298
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdtSelectOfflineDatasourceProviderDirective<any>, never>;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngrdt/forms",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.56",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@ngrdt/core": "^0.0.
|
|
6
|
-
"@ngrdt/utils": "^0.0.
|
|
5
|
+
"@ngrdt/core": "^0.0.56",
|
|
6
|
+
"@ngrdt/utils": "^0.0.56",
|
|
7
7
|
"@angular/core": ">=18.2.0",
|
|
8
8
|
"@angular/forms": ">=18.2.0",
|
|
9
9
|
"rxjs": ">=7.0.0",
|