@one-paragon/angular-utilities 2.0.4 → 2.0.6
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/one-paragon-angular-utilities.mjs +29 -5
- package/fesm2022/one-paragon-angular-utilities.mjs.map +1 -1
- package/ngrx/actionable-selector.d.ts +3 -2
- package/package.json +1 -1
- package/table-builder/classes/table-builder-general-settings.d.ts +4 -0
- package/table-builder/components/table-container/virtual-scroll-container.d.ts +1 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Injector } from "@angular/core";
|
|
2
|
-
import { Action, MemoizedSelector } from "@ngrx/store";
|
|
1
|
+
import { EnvironmentInjector, Injector } from "@angular/core";
|
|
2
|
+
import { Action, MemoizedSelector, Store } from "@ngrx/store";
|
|
3
3
|
/**
|
|
4
4
|
* Creates a selector that can dispatch an action if conditions are met.
|
|
5
5
|
* Note: The props of the selector factory must include the props of the action.
|
|
@@ -16,6 +16,7 @@ export declare const clearActionableSelectorRequestCache: () => {};
|
|
|
16
16
|
export declare function defaultFilter(data: any): boolean;
|
|
17
17
|
export declare function provideActionableSelector(): import("@angular/core").EnvironmentProviders;
|
|
18
18
|
export declare const setUpStoreFactory: () => void;
|
|
19
|
+
export declare function setUpStoreFactoryOld(store: Store, env: EnvironmentInjector): () => Promise<unknown>;
|
|
19
20
|
export interface CreateActionResultsOptions<State, Result, Props extends any[]> {
|
|
20
21
|
selectorFactory: (...props: Props) => MemoizedSelector<State, Result>;
|
|
21
22
|
action: (...props: Props) => () => void;
|
package/package.json
CHANGED
|
@@ -80,6 +80,10 @@ export declare class VirtualScrollOptions {
|
|
|
80
80
|
* If `maxViewPortHeight` is set that will be the max table size
|
|
81
81
|
*/
|
|
82
82
|
dynamicHeight: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* If `dynamicHeight` is set to true, we will try to add this amount of space from the bottom of view port
|
|
85
|
+
*/
|
|
86
|
+
dynamicalHeightBuffer: TbSize;
|
|
83
87
|
}
|
|
84
88
|
export declare class PaginatorOptions {
|
|
85
89
|
pageSize: number | undefined;
|
|
@@ -36,6 +36,7 @@ export declare class VirtualScrollContainer implements OnDestroy {
|
|
|
36
36
|
computedRowHeight: import("@angular/core").Signal<number>;
|
|
37
37
|
computedHeaderHeight: import("@angular/core").Signal<number>;
|
|
38
38
|
computedFooterHeight: import("@angular/core").Signal<number>;
|
|
39
|
+
computedBuffer: import("@angular/core").Signal<number>;
|
|
39
40
|
scrollStrategy: TableVirtualScrollStrategy;
|
|
40
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<VirtualScrollContainer, never>;
|
|
41
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<VirtualScrollContainer, "tb-virtual-scroll-container", never, {}, {}, ["genericTable"], ["*"], true, never>;
|