@lukfel/ng-scaffold 21.1.50 → 21.1.51
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/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { InjectionToken, EnvironmentProviders,
|
|
2
|
+
import { InjectionToken, EnvironmentProviders, ElementRef, TemplateRef, Type } from '@angular/core';
|
|
3
3
|
import { ComponentType, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
|
|
4
4
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
5
5
|
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
@@ -207,7 +207,7 @@ interface SeoConfig {
|
|
|
207
207
|
declare const CONFIG: InjectionToken<ScaffoldLibraryConfig>;
|
|
208
208
|
declare function provideScaffold(config?: ScaffoldLibraryConfig): EnvironmentProviders;
|
|
209
209
|
|
|
210
|
-
declare class ScaffoldComponent
|
|
210
|
+
declare class ScaffoldComponent {
|
|
211
211
|
libraryConfig: ScaffoldLibraryConfig | null;
|
|
212
212
|
private scaffoldService;
|
|
213
213
|
private breakpointService;
|
|
@@ -216,6 +216,7 @@ declare class ScaffoldComponent implements OnInit, OnDestroy {
|
|
|
216
216
|
private route;
|
|
217
217
|
private document;
|
|
218
218
|
private logger;
|
|
219
|
+
private destroyRef;
|
|
219
220
|
readonly scrollContainer: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
220
221
|
readonly content: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
221
222
|
readonly headerButtonClickEvent: _angular_core.OutputEmitterRef<string>;
|
|
@@ -224,24 +225,24 @@ declare class ScaffoldComponent implements OnInit, OnDestroy {
|
|
|
224
225
|
readonly navbarButtonClickEvent: _angular_core.OutputEmitterRef<string>;
|
|
225
226
|
readonly floatingButtonClickEvent: _angular_core.OutputEmitterRef<string>;
|
|
226
227
|
readonly bottomBarButtonClickEvent: _angular_core.OutputEmitterRef<string>;
|
|
227
|
-
scaffoldConfig: _angular_core.
|
|
228
|
-
headerConfig: _angular_core.
|
|
229
|
-
navbarConfig: _angular_core.
|
|
230
|
-
drawerConfig: _angular_core.
|
|
228
|
+
scaffoldConfig: _angular_core.Signal<ScaffoldConfig | null>;
|
|
229
|
+
headerConfig: _angular_core.Signal<HeaderConfig | null>;
|
|
230
|
+
navbarConfig: _angular_core.Signal<NavbarConfig | null>;
|
|
231
|
+
drawerConfig: _angular_core.Signal<DrawerConfig | null>;
|
|
231
232
|
drawerPortal: _angular_core.Signal<ComponentPortal<unknown> | TemplatePortal<unknown> | null | undefined>;
|
|
232
|
-
footerConfig: _angular_core.
|
|
233
|
-
contentTitleCardConfig: _angular_core.
|
|
234
|
-
floatingButtonConfig: _angular_core.
|
|
235
|
-
bottomBarConfig: _angular_core.
|
|
233
|
+
footerConfig: _angular_core.Signal<FooterConfig | null>;
|
|
234
|
+
contentTitleCardConfig: _angular_core.Signal<ContentTitleCardConfig | null>;
|
|
235
|
+
floatingButtonConfig: _angular_core.Signal<FloatingButtonConfig | null>;
|
|
236
|
+
bottomBarConfig: _angular_core.Signal<BottomBarConfig | null>;
|
|
236
237
|
routeHistory: _angular_core.Signal<string[] | undefined>;
|
|
237
238
|
currentRoute: _angular_core.Signal<string | undefined>;
|
|
238
239
|
routeLoading: _angular_core.Signal<boolean | undefined>;
|
|
239
240
|
isMobile: _angular_core.Signal<boolean | undefined>;
|
|
240
241
|
scrollTopPosition: _angular_core.WritableSignal<number>;
|
|
241
242
|
initialized: _angular_core.WritableSignal<boolean>;
|
|
242
|
-
private
|
|
243
|
-
|
|
244
|
-
|
|
243
|
+
private fragmentAnimationFrameId;
|
|
244
|
+
private readonly FRAGMENT_SCROLL_MAX_ATTEMPTS;
|
|
245
|
+
constructor();
|
|
245
246
|
headerConfigUpdated(headerConfig: Partial<HeaderConfig>): void;
|
|
246
247
|
headerButtonClicked(id: string): void;
|
|
247
248
|
headerInputSubmitted(value: string): void;
|
|
@@ -254,6 +255,9 @@ declare class ScaffoldComponent implements OnInit, OnDestroy {
|
|
|
254
255
|
bottomBarCloseClicked(id: string): void;
|
|
255
256
|
bottomBarButtonClicked(id: string): void;
|
|
256
257
|
private toggleLoadingOverlay;
|
|
258
|
+
private scrollToFragmentWhenReady;
|
|
259
|
+
private tryScrollToFragment;
|
|
260
|
+
private cancelFragmentScroll;
|
|
257
261
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScaffoldComponent, never>;
|
|
258
262
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ScaffoldComponent, "lf-scaffold", never, {}, { "headerButtonClickEvent": "headerButtonClickEvent"; "headerInputSubmitEvent": "headerInputSubmitEvent"; "headerInputChangeEvent": "headerInputChangeEvent"; "navbarButtonClickEvent": "navbarButtonClickEvent"; "floatingButtonClickEvent": "floatingButtonClickEvent"; "bottomBarButtonClickEvent": "bottomBarButtonClickEvent"; }, never, ["[drawerContent]", "*"], true, never>;
|
|
259
263
|
}
|
|
@@ -312,7 +316,7 @@ declare class ListItemTitleDirective {
|
|
|
312
316
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ListItemTitleDirective, "[lfListItemTitle]", never, {}, {}, never, never, true, never>;
|
|
313
317
|
}
|
|
314
318
|
|
|
315
|
-
declare class ListComponent
|
|
319
|
+
declare class ListComponent {
|
|
316
320
|
libraryConfig: ScaffoldLibraryConfig | null;
|
|
317
321
|
private breakpointService;
|
|
318
322
|
readonly avatarTemplate: _angular_core.Signal<ListItemAvatarDirective | undefined>;
|
|
@@ -346,8 +350,7 @@ declare class ListComponent implements OnInit, OnChanges {
|
|
|
346
350
|
allSelected: _angular_core.ModelSignal<boolean>;
|
|
347
351
|
get someSelected(): boolean;
|
|
348
352
|
get hasAvatars(): boolean;
|
|
349
|
-
|
|
350
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
353
|
+
constructor();
|
|
351
354
|
updateSortToken(sortToken: string | undefined, initial?: boolean): void;
|
|
352
355
|
selectAll(event: MatCheckboxChange): void;
|
|
353
356
|
selectItem(item: ListItem, event: MatCheckboxChange): void;
|