@ngrdt/forms 0.0.41 → 0.0.44
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 +27 -5
- package/fesm2022/ngrdt-forms.mjs.map +1 -1
- package/index.d.ts +10 -0
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -237,6 +237,7 @@ declare class RdtOfflineSelectDatasource<TValue extends string | number> extends
|
|
|
237
237
|
|
|
238
238
|
declare abstract class RdtSelectOfflineDatasourceProviderDirective<TValue extends string | number> {
|
|
239
239
|
readonly store: {
|
|
240
|
+
initialized: _angular_core.Signal<boolean>;
|
|
240
241
|
query: _angular_core.Signal<string | null>;
|
|
241
242
|
nextPageIndex: _angular_core.Signal<number | null>;
|
|
242
243
|
pageSize: _angular_core.Signal<number>;
|
|
@@ -253,6 +254,7 @@ declare abstract class RdtSelectOfflineDatasourceProviderDirective<TValue extend
|
|
|
253
254
|
loadingMissing: _angular_core.Signal<boolean>;
|
|
254
255
|
loading: _angular_core.Signal<boolean>;
|
|
255
256
|
visibleOptions: _angular_core.Signal<_ngrdt_forms.RdtRenderedSelectOption<any, any>[]>;
|
|
257
|
+
init: (initialValue: any[] | null) => void;
|
|
256
258
|
fetch: () => void;
|
|
257
259
|
setDatasource: (datasource: _ngrdt_forms.RdtSelectDatasource<any, any>) => void;
|
|
258
260
|
setQuery: (query: string | null) => void;
|
|
@@ -267,6 +269,7 @@ declare abstract class RdtSelectOfflineDatasourceProviderDirective<TValue extend
|
|
|
267
269
|
isSelected: (item: any) => boolean;
|
|
268
270
|
setPageSize: (size: number) => void;
|
|
269
271
|
} & _ngrx_signals.StateSource<{
|
|
272
|
+
initialized: boolean;
|
|
270
273
|
query: string | null;
|
|
271
274
|
nextPageIndex: number | null;
|
|
272
275
|
pageSize: number;
|
|
@@ -304,6 +307,7 @@ declare class RdtSelectOptionDirective<TValue> implements Highlightable {
|
|
|
304
307
|
}
|
|
305
308
|
|
|
306
309
|
interface RdtSelectState<TItem, TId> {
|
|
310
|
+
initialized: boolean;
|
|
307
311
|
query: string | null;
|
|
308
312
|
nextPageIndex: number | null;
|
|
309
313
|
pageSize: number;
|
|
@@ -321,6 +325,7 @@ interface RdtSelectState<TItem, TId> {
|
|
|
321
325
|
declare const rdtSelectInitialState: RdtSelectState<any, any>;
|
|
322
326
|
|
|
323
327
|
declare function getRdtSelectStore<T, TId>(initialState?: RdtSelectState<any, any>): _angular_core.Type<{
|
|
328
|
+
initialized: _angular_core.Signal<boolean>;
|
|
324
329
|
query: _angular_core.Signal<string | null>;
|
|
325
330
|
nextPageIndex: _angular_core.Signal<number | null>;
|
|
326
331
|
pageSize: _angular_core.Signal<number>;
|
|
@@ -337,6 +342,7 @@ declare function getRdtSelectStore<T, TId>(initialState?: RdtSelectState<any, an
|
|
|
337
342
|
loadingMissing: _angular_core.Signal<boolean>;
|
|
338
343
|
loading: _angular_core.Signal<boolean>;
|
|
339
344
|
visibleOptions: _angular_core.Signal<RdtRenderedSelectOption<T, TId>[]>;
|
|
345
|
+
init: (initialValue: TId[] | null) => void;
|
|
340
346
|
fetch: () => void;
|
|
341
347
|
setDatasource: (datasource: RdtSelectDatasource<T, TId>) => void;
|
|
342
348
|
setQuery: (query: string | null) => void;
|
|
@@ -351,6 +357,7 @@ declare function getRdtSelectStore<T, TId>(initialState?: RdtSelectState<any, an
|
|
|
351
357
|
isSelected: (item: T) => boolean;
|
|
352
358
|
setPageSize: (size: number) => void;
|
|
353
359
|
} & _ngrx_signals.StateSource<{
|
|
360
|
+
initialized: boolean;
|
|
354
361
|
query: string | null;
|
|
355
362
|
nextPageIndex: number | null;
|
|
356
363
|
pageSize: number;
|
|
@@ -363,6 +370,7 @@ declare function getRdtSelectStore<T, TId>(initialState?: RdtSelectState<any, an
|
|
|
363
370
|
missingValuePlaceholder: string;
|
|
364
371
|
}>>;
|
|
365
372
|
declare const RdtSelectStore: _angular_core.Type<{
|
|
373
|
+
initialized: _angular_core.Signal<boolean>;
|
|
366
374
|
query: _angular_core.Signal<string | null>;
|
|
367
375
|
nextPageIndex: _angular_core.Signal<number | null>;
|
|
368
376
|
pageSize: _angular_core.Signal<number>;
|
|
@@ -379,6 +387,7 @@ declare const RdtSelectStore: _angular_core.Type<{
|
|
|
379
387
|
loadingMissing: _angular_core.Signal<boolean>;
|
|
380
388
|
loading: _angular_core.Signal<boolean>;
|
|
381
389
|
visibleOptions: _angular_core.Signal<RdtRenderedSelectOption<any, any>[]>;
|
|
390
|
+
init: (initialValue: any[] | null) => void;
|
|
382
391
|
fetch: () => void;
|
|
383
392
|
setDatasource: (datasource: RdtSelectDatasource<any, any>) => void;
|
|
384
393
|
setQuery: (query: string | null) => void;
|
|
@@ -393,6 +402,7 @@ declare const RdtSelectStore: _angular_core.Type<{
|
|
|
393
402
|
isSelected: (item: any) => boolean;
|
|
394
403
|
setPageSize: (size: number) => void;
|
|
395
404
|
} & _ngrx_signals.StateSource<{
|
|
405
|
+
initialized: boolean;
|
|
396
406
|
query: string | null;
|
|
397
407
|
nextPageIndex: number | null;
|
|
398
408
|
pageSize: number;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngrdt/forms",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.44",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@ngrdt/core": "^0.0.
|
|
6
|
-
"@ngrdt/utils": "^0.0.
|
|
5
|
+
"@ngrdt/core": "^0.0.44",
|
|
6
|
+
"@ngrdt/utils": "^0.0.44",
|
|
7
7
|
"@angular/core": ">=18.2.0",
|
|
8
8
|
"@angular/forms": ">=18.2.0",
|
|
9
9
|
"rxjs": ">=7.0.0",
|