@lukfel/ng-scaffold 21.1.21 → 21.1.23
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/lukfel-ng-scaffold-confirm-dialog.component-B5MWYLUA.mjs +24 -0
- package/fesm2022/lukfel-ng-scaffold-confirm-dialog.component-B5MWYLUA.mjs.map +1 -0
- package/fesm2022/lukfel-ng-scaffold.mjs +234 -264
- package/fesm2022/lukfel-ng-scaffold.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/_classes.scss +4 -0
- package/types/lukfel-ng-scaffold.d.ts +100 -100
- package/fesm2022/lukfel-ng-scaffold-confirm-dialog.component-D92LeRJW.mjs +0 -24
- package/fesm2022/lukfel-ng-scaffold-confirm-dialog.component-D92LeRJW.mjs.map +0 -1
package/package.json
CHANGED
package/styles/_classes.scss
CHANGED
|
@@ -39,4 +39,8 @@ $init: 0;
|
|
|
39
39
|
|
|
40
40
|
.lf-gradient {
|
|
41
41
|
background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%) !important;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.lf-gradient-reverse {
|
|
45
|
+
background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 100%) !important;
|
|
42
46
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { InjectionToken, EnvironmentProviders, OnInit, OnDestroy, ElementRef, TemplateRef, OnChanges, SimpleChanges, Type } from '@angular/core';
|
|
3
3
|
import { ComponentType, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
|
|
4
4
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
@@ -216,29 +216,29 @@ declare class ScaffoldComponent implements OnInit, OnDestroy {
|
|
|
216
216
|
private route;
|
|
217
217
|
private document;
|
|
218
218
|
private logger;
|
|
219
|
-
readonly scrollContainer:
|
|
220
|
-
readonly content:
|
|
221
|
-
readonly headerButtonClickEvent:
|
|
222
|
-
readonly headerInputSubmitEvent:
|
|
223
|
-
readonly headerInputChangeEvent:
|
|
224
|
-
readonly navbarButtonClickEvent:
|
|
225
|
-
readonly floatingButtonClickEvent:
|
|
226
|
-
readonly bottomBarButtonClickEvent:
|
|
227
|
-
scaffoldConfig: ScaffoldConfig | null
|
|
228
|
-
headerConfig: HeaderConfig | null
|
|
229
|
-
navbarConfig: NavbarConfig | null
|
|
230
|
-
drawerConfig: DrawerConfig | null
|
|
231
|
-
drawerPortal: ComponentPortal<unknown> | TemplatePortal<unknown> | null
|
|
232
|
-
footerConfig: FooterConfig | null
|
|
233
|
-
contentTitleCardConfig: ContentTitleCardConfig | null
|
|
234
|
-
floatingButtonConfig: FloatingButtonConfig | null
|
|
235
|
-
bottomBarConfig: BottomBarConfig | null
|
|
236
|
-
routeHistory: string[]
|
|
237
|
-
currentRoute: string
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
scrollTopPosition: number
|
|
241
|
-
initialized: boolean
|
|
219
|
+
readonly scrollContainer: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
220
|
+
readonly content: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
221
|
+
readonly headerButtonClickEvent: _angular_core.OutputEmitterRef<string>;
|
|
222
|
+
readonly headerInputSubmitEvent: _angular_core.OutputEmitterRef<string>;
|
|
223
|
+
readonly headerInputChangeEvent: _angular_core.OutputEmitterRef<string>;
|
|
224
|
+
readonly navbarButtonClickEvent: _angular_core.OutputEmitterRef<string>;
|
|
225
|
+
readonly floatingButtonClickEvent: _angular_core.OutputEmitterRef<string>;
|
|
226
|
+
readonly bottomBarButtonClickEvent: _angular_core.OutputEmitterRef<string>;
|
|
227
|
+
scaffoldConfig: _angular_core.WritableSignal<ScaffoldConfig | null>;
|
|
228
|
+
headerConfig: _angular_core.WritableSignal<HeaderConfig | null>;
|
|
229
|
+
navbarConfig: _angular_core.WritableSignal<NavbarConfig | null>;
|
|
230
|
+
drawerConfig: _angular_core.WritableSignal<DrawerConfig | null>;
|
|
231
|
+
drawerPortal: _angular_core.Signal<ComponentPortal<unknown> | TemplatePortal<unknown> | null | undefined>;
|
|
232
|
+
footerConfig: _angular_core.WritableSignal<FooterConfig | null>;
|
|
233
|
+
contentTitleCardConfig: _angular_core.WritableSignal<ContentTitleCardConfig | null>;
|
|
234
|
+
floatingButtonConfig: _angular_core.WritableSignal<FloatingButtonConfig | null>;
|
|
235
|
+
bottomBarConfig: _angular_core.WritableSignal<BottomBarConfig | null>;
|
|
236
|
+
routeHistory: _angular_core.Signal<string[] | undefined>;
|
|
237
|
+
currentRoute: _angular_core.Signal<string | undefined>;
|
|
238
|
+
routeLoading: _angular_core.Signal<boolean | undefined>;
|
|
239
|
+
isMobile: _angular_core.Signal<boolean | undefined>;
|
|
240
|
+
scrollTopPosition: _angular_core.WritableSignal<number>;
|
|
241
|
+
initialized: _angular_core.WritableSignal<boolean>;
|
|
242
242
|
private _subscription;
|
|
243
243
|
ngOnInit(): void;
|
|
244
244
|
ngOnDestroy(): void;
|
|
@@ -254,64 +254,64 @@ declare class ScaffoldComponent implements OnInit, OnDestroy {
|
|
|
254
254
|
bottomBarCloseClicked(id: string): void;
|
|
255
255
|
bottomBarButtonClicked(id: string): void;
|
|
256
256
|
private toggleLoadingOverlay;
|
|
257
|
-
static ɵfac:
|
|
258
|
-
static ɵcmp:
|
|
257
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScaffoldComponent, never>;
|
|
258
|
+
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
259
|
}
|
|
260
260
|
|
|
261
261
|
declare class ListItemAvatarDirective {
|
|
262
262
|
templateRef: TemplateRef<any>;
|
|
263
|
-
static ɵfac:
|
|
264
|
-
static ɵdir:
|
|
263
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListItemAvatarDirective, never>;
|
|
264
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ListItemAvatarDirective, "[lfListItemAvatar]", never, {}, {}, never, never, true, never>;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
declare class ListItemButtonsDirective {
|
|
268
268
|
templateRef: TemplateRef<any>;
|
|
269
|
-
static ɵfac:
|
|
270
|
-
static ɵdir:
|
|
269
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListItemButtonsDirective, never>;
|
|
270
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ListItemButtonsDirective, "[lfListItemButtons]", never, {}, {}, never, never, true, never>;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
declare class ListItemSubtitleDirective {
|
|
274
274
|
templateRef: TemplateRef<any>;
|
|
275
|
-
static ɵfac:
|
|
276
|
-
static ɵdir:
|
|
275
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListItemSubtitleDirective, never>;
|
|
276
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ListItemSubtitleDirective, "[lfListItemSubtitle]", never, {}, {}, never, never, true, never>;
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
declare class ListItemTitleDirective {
|
|
280
280
|
templateRef: TemplateRef<any>;
|
|
281
|
-
static ɵfac:
|
|
282
|
-
static ɵdir:
|
|
281
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListItemTitleDirective, never>;
|
|
282
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ListItemTitleDirective, "[lfListItemTitle]", never, {}, {}, never, never, true, never>;
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
declare class ListComponent implements OnInit, OnChanges {
|
|
286
286
|
libraryConfig: ScaffoldLibraryConfig | null;
|
|
287
|
-
readonly avatarTemplate:
|
|
288
|
-
readonly titleTemplate:
|
|
289
|
-
readonly subtitleTemplate:
|
|
290
|
-
readonly buttonsTemplate:
|
|
291
|
-
readonly config:
|
|
292
|
-
readonly header:
|
|
293
|
-
readonly items:
|
|
294
|
-
readonly groupedItems:
|
|
295
|
-
readonly buttons:
|
|
296
|
-
readonly dropListId:
|
|
297
|
-
readonly connectedDropListIds:
|
|
298
|
-
readonly sortChangeEvent:
|
|
287
|
+
readonly avatarTemplate: _angular_core.Signal<ListItemAvatarDirective | undefined>;
|
|
288
|
+
readonly titleTemplate: _angular_core.Signal<ListItemTitleDirective | undefined>;
|
|
289
|
+
readonly subtitleTemplate: _angular_core.Signal<ListItemSubtitleDirective | undefined>;
|
|
290
|
+
readonly buttonsTemplate: _angular_core.Signal<ListItemButtonsDirective | undefined>;
|
|
291
|
+
readonly config: _angular_core.InputSignal<ListConfig | null>;
|
|
292
|
+
readonly header: _angular_core.InputSignal<ListHeader | null>;
|
|
293
|
+
readonly items: _angular_core.InputSignal<ListItem[]>;
|
|
294
|
+
readonly groupedItems: _angular_core.InputSignal<Map<string, ListItem[]>>;
|
|
295
|
+
readonly buttons: _angular_core.InputSignal<Button[]>;
|
|
296
|
+
readonly dropListId: _angular_core.InputSignal<string | undefined>;
|
|
297
|
+
readonly connectedDropListIds: _angular_core.InputSignal<string[] | undefined>;
|
|
298
|
+
readonly sortChangeEvent: _angular_core.OutputEmitterRef<{
|
|
299
299
|
sortToken: string;
|
|
300
300
|
sortAsc: boolean;
|
|
301
301
|
}>;
|
|
302
|
-
readonly selectionChangeEvent:
|
|
303
|
-
readonly itemClickEvent:
|
|
304
|
-
readonly itemDropEvent:
|
|
302
|
+
readonly selectionChangeEvent: _angular_core.OutputEmitterRef<ListItem[]>;
|
|
303
|
+
readonly itemClickEvent: _angular_core.OutputEmitterRef<ListItem>;
|
|
304
|
+
readonly itemDropEvent: _angular_core.OutputEmitterRef<{
|
|
305
305
|
items: ListItem[];
|
|
306
306
|
id: string;
|
|
307
307
|
}>;
|
|
308
|
-
readonly buttonClickEvent:
|
|
308
|
+
readonly buttonClickEvent: _angular_core.OutputEmitterRef<{
|
|
309
309
|
buttonId: string;
|
|
310
310
|
item: ListItem;
|
|
311
311
|
}>;
|
|
312
|
-
sortToken: string
|
|
313
|
-
sortAsc: boolean
|
|
314
|
-
allSelected: boolean
|
|
312
|
+
sortToken: _angular_core.WritableSignal<string>;
|
|
313
|
+
sortAsc: _angular_core.WritableSignal<boolean>;
|
|
314
|
+
allSelected: _angular_core.ModelSignal<boolean>;
|
|
315
315
|
get someSelected(): boolean;
|
|
316
316
|
get hasAvatars(): boolean;
|
|
317
317
|
ngOnInit(): void;
|
|
@@ -328,55 +328,55 @@ declare class ListComponent implements OnInit, OnChanges {
|
|
|
328
328
|
getCombinedButtons(item: ListItem): Button[];
|
|
329
329
|
onImageError(event: Event): void;
|
|
330
330
|
stopPropagation(click: Event): void;
|
|
331
|
-
static ɵfac:
|
|
332
|
-
static ɵcmp:
|
|
331
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
332
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListComponent, "lf-list", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "header": { "alias": "header"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "groupedItems": { "alias": "groupedItems"; "required": false; "isSignal": true; }; "buttons": { "alias": "buttons"; "required": false; "isSignal": true; }; "dropListId": { "alias": "dropListId"; "required": false; "isSignal": true; }; "connectedDropListIds": { "alias": "connectedDropListIds"; "required": false; "isSignal": true; }; "allSelected": { "alias": "allSelected"; "required": false; "isSignal": true; }; }, { "sortChangeEvent": "sortChangeEvent"; "selectionChangeEvent": "selectionChangeEvent"; "itemClickEvent": "itemClickEvent"; "itemDropEvent": "itemDropEvent"; "buttonClickEvent": "buttonClickEvent"; "allSelected": "allSelectedChange"; }, ["avatarTemplate", "titleTemplate", "subtitleTemplate", "buttonsTemplate"], never, true, never>;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
declare class FileUploadComponent {
|
|
336
336
|
libraryConfig: ScaffoldLibraryConfig | null;
|
|
337
337
|
private logger;
|
|
338
|
-
readonly color:
|
|
339
|
-
readonly label:
|
|
340
|
-
readonly matIcon:
|
|
341
|
-
readonly disabled:
|
|
342
|
-
readonly accept:
|
|
343
|
-
readonly tooltip:
|
|
344
|
-
readonly fileChangeEvent:
|
|
338
|
+
readonly color: _angular_core.InputSignal<"primary" | "accent" | "warn">;
|
|
339
|
+
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
340
|
+
readonly matIcon: _angular_core.InputSignal<string | undefined>;
|
|
341
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
342
|
+
readonly accept: _angular_core.InputSignal<string | undefined>;
|
|
343
|
+
readonly tooltip: _angular_core.InputSignal<string | undefined>;
|
|
344
|
+
readonly fileChangeEvent: _angular_core.OutputEmitterRef<File>;
|
|
345
345
|
selectFile(event: Event): void;
|
|
346
|
-
static ɵfac:
|
|
347
|
-
static ɵcmp:
|
|
346
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
347
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FileUploadComponent, "lf-file-upload", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "matIcon": { "alias": "matIcon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "fileChangeEvent": "fileChangeEvent"; }, never, never, true, never>;
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
declare class ColorPickerComponent implements OnInit {
|
|
351
351
|
libraryConfig: ScaffoldLibraryConfig | null;
|
|
352
352
|
private logger;
|
|
353
|
-
readonly color:
|
|
354
|
-
readonly label:
|
|
355
|
-
readonly matIcon:
|
|
356
|
-
readonly disabled:
|
|
357
|
-
readonly tooltip:
|
|
358
|
-
readonly colorChangeEvent:
|
|
359
|
-
selectedColor: string
|
|
353
|
+
readonly color: _angular_core.InputSignal<string>;
|
|
354
|
+
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
355
|
+
readonly matIcon: _angular_core.InputSignal<string | undefined>;
|
|
356
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
357
|
+
readonly tooltip: _angular_core.InputSignal<string | undefined>;
|
|
358
|
+
readonly colorChangeEvent: _angular_core.OutputEmitterRef<string>;
|
|
359
|
+
selectedColor: _angular_core.WritableSignal<string>;
|
|
360
|
+
backgroundColor: _angular_core.Signal<string>;
|
|
360
361
|
ngOnInit(): void;
|
|
361
362
|
selectColor(event: string): void;
|
|
362
|
-
|
|
363
|
-
static
|
|
364
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerComponent, "lf-color-picker", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "matIcon": { "alias": "matIcon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "colorChangeEvent": "colorChangeEvent"; }, never, never, true, never>;
|
|
363
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorPickerComponent, never>;
|
|
364
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColorPickerComponent, "lf-color-picker", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "matIcon": { "alias": "matIcon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "colorChangeEvent": "colorChangeEvent"; }, never, never, true, never>;
|
|
365
365
|
}
|
|
366
366
|
|
|
367
367
|
declare class PlaceholderComponent {
|
|
368
368
|
libraryConfig: ScaffoldLibraryConfig | null;
|
|
369
|
-
readonly placeholderConfig:
|
|
370
|
-
readonly buttonClickEvent:
|
|
371
|
-
static ɵfac:
|
|
372
|
-
static ɵcmp:
|
|
369
|
+
readonly placeholderConfig: _angular_core.InputSignal<PlaceholderConfig | undefined>;
|
|
370
|
+
readonly buttonClickEvent: _angular_core.OutputEmitterRef<void>;
|
|
371
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PlaceholderComponent, never>;
|
|
372
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PlaceholderComponent, "lf-placeholder", never, { "placeholderConfig": { "alias": "placeholderConfig"; "required": false; "isSignal": true; }; }, { "buttonClickEvent": "buttonClickEvent"; }, never, never, true, never>;
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
declare class BreakpointService {
|
|
376
376
|
private breakpointObserver;
|
|
377
377
|
readonly breakpoint$: rxjs.Observable<_angular_cdk_layout.BreakpointState>;
|
|
378
|
-
static ɵfac:
|
|
379
|
-
static ɵprov:
|
|
378
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BreakpointService, never>;
|
|
379
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<BreakpointService>;
|
|
380
380
|
}
|
|
381
381
|
|
|
382
382
|
declare class DialogService {
|
|
@@ -403,8 +403,8 @@ declare class DialogService {
|
|
|
403
403
|
* @returns an asynchronous string response
|
|
404
404
|
*/
|
|
405
405
|
openInputDialog(config: HeaderInputConfig): Promise<string | undefined>;
|
|
406
|
-
static ɵfac:
|
|
407
|
-
static ɵprov:
|
|
406
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DialogService, never>;
|
|
407
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<DialogService>;
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
declare class LocalStorageService {
|
|
@@ -458,8 +458,8 @@ declare class LocalStorageService {
|
|
|
458
458
|
*/
|
|
459
459
|
clear(): void;
|
|
460
460
|
private dateReviver;
|
|
461
|
-
static ɵfac:
|
|
462
|
-
static ɵprov:
|
|
461
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LocalStorageService, never>;
|
|
462
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<LocalStorageService>;
|
|
463
463
|
}
|
|
464
464
|
|
|
465
465
|
declare class Logger {
|
|
@@ -485,8 +485,8 @@ declare class Logger {
|
|
|
485
485
|
* @param args arguments of the error
|
|
486
486
|
*/
|
|
487
487
|
error(message: string, ...args: any[]): void;
|
|
488
|
-
static ɵfac:
|
|
489
|
-
static ɵprov:
|
|
488
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Logger, never>;
|
|
489
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<Logger>;
|
|
490
490
|
}
|
|
491
491
|
|
|
492
492
|
declare class OverlayService {
|
|
@@ -496,8 +496,8 @@ declare class OverlayService {
|
|
|
496
496
|
private overlayRef;
|
|
497
497
|
open<T>(component: ComponentType<T>): void;
|
|
498
498
|
close(): void;
|
|
499
|
-
static ɵfac:
|
|
500
|
-
static ɵprov:
|
|
499
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OverlayService, never>;
|
|
500
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<OverlayService>;
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
declare class RouterService {
|
|
@@ -524,8 +524,8 @@ declare class RouterService {
|
|
|
524
524
|
* Clear the current route history
|
|
525
525
|
*/
|
|
526
526
|
clearRouteHistory(): void;
|
|
527
|
-
static ɵfac:
|
|
528
|
-
static ɵprov:
|
|
527
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RouterService, never>;
|
|
528
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<RouterService>;
|
|
529
529
|
}
|
|
530
530
|
|
|
531
531
|
declare class ScaffoldService {
|
|
@@ -545,8 +545,8 @@ declare class ScaffoldService {
|
|
|
545
545
|
get drawerPortal$(): Observable<ComponentPortal<unknown> | TemplatePortal<unknown> | null>;
|
|
546
546
|
set drawerPortal(value: ComponentType<unknown>);
|
|
547
547
|
updateScaffoldProperty<K extends keyof ScaffoldConfig>(property: K, value: Partial<ScaffoldConfig[K]> | ScaffoldConfig[K]): void;
|
|
548
|
-
static ɵfac:
|
|
549
|
-
static ɵprov:
|
|
548
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScaffoldService, never>;
|
|
549
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ScaffoldService>;
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
declare class SeoService {
|
|
@@ -566,8 +566,8 @@ declare class SeoService {
|
|
|
566
566
|
private _setMetaTitle;
|
|
567
567
|
private _setMetaDescription;
|
|
568
568
|
private _setMetaImage;
|
|
569
|
-
static ɵfac:
|
|
570
|
-
static ɵprov:
|
|
569
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SeoService, never>;
|
|
570
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SeoService>;
|
|
571
571
|
}
|
|
572
572
|
|
|
573
573
|
declare class SnackbarService {
|
|
@@ -579,8 +579,8 @@ declare class SnackbarService {
|
|
|
579
579
|
private readonly defaultConfig;
|
|
580
580
|
openSnackbar(message: string, closeLabel?: string, config?: MatSnackBarConfig): void;
|
|
581
581
|
openSnackbarWithAction(message: string, action: string, config?: MatSnackBarConfig): Promise<void>;
|
|
582
|
-
static ɵfac:
|
|
583
|
-
static ɵprov:
|
|
582
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SnackbarService, never>;
|
|
583
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SnackbarService>;
|
|
584
584
|
}
|
|
585
585
|
|
|
586
586
|
declare class ThemeService {
|
|
@@ -602,8 +602,8 @@ declare class ThemeService {
|
|
|
602
602
|
*
|
|
603
603
|
*/
|
|
604
604
|
private loadTheme;
|
|
605
|
-
static ɵfac:
|
|
606
|
-
static ɵprov:
|
|
605
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThemeService, never>;
|
|
606
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ThemeService>;
|
|
607
607
|
}
|
|
608
608
|
|
|
609
609
|
declare class ScaffoldLoadingInterceptor implements HttpInterceptor {
|
|
@@ -614,8 +614,8 @@ declare class ScaffoldLoadingInterceptor implements HttpInterceptor {
|
|
|
614
614
|
private loadingDelay;
|
|
615
615
|
private spinnerTimeout;
|
|
616
616
|
intercept(req: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>;
|
|
617
|
-
static ɵfac:
|
|
618
|
-
static ɵprov:
|
|
617
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScaffoldLoadingInterceptor, never>;
|
|
618
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ScaffoldLoadingInterceptor>;
|
|
619
619
|
}
|
|
620
620
|
|
|
621
621
|
export { BreakpointService, CONFIG, ColorPickerComponent, DialogService, FileUploadComponent, ListComponent, ListItemAvatarDirective, ListItemButtonsDirective, ListItemSubtitleDirective, ListItemTitleDirective, LocalStorageService, Logger, OverlayService, PlaceholderComponent, RouterService, ScaffoldComponent, ScaffoldLoadingInterceptor, ScaffoldService, SeoService, SnackbarService, ThemeService, provideScaffold };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, Component } from '@angular/core';
|
|
3
|
-
import * as i2 from '@angular/material/button';
|
|
4
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
5
|
-
import * as i1 from '@angular/material/dialog';
|
|
6
|
-
import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
|
7
|
-
|
|
8
|
-
class ConfirmDialogComponent {
|
|
9
|
-
constructor() {
|
|
10
|
-
this.config = inject(MAT_DIALOG_DATA);
|
|
11
|
-
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ConfirmDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", type: ConfirmDialogComponent, isStandalone: true, selector: "lf-confirm-dialog", ngImport: i0, template: "@if (config) {\r\n @if (config.title) {\r\n <h2 mat-dialog-title>{{ config.title }}</h2>\r\n }\r\n\r\n <mat-dialog-content>\r\n @if (config.message) {\r\n <p>{{ config.message }}</p>\r\n }\r\n </mat-dialog-content>\r\n\r\n <mat-dialog-actions align=\"end\">\r\n @if (config.closeLabel) {\r\n <button mat-button [mat-dialog-close]=\"false\">\r\n {{ config.closeLabel }}\r\n </button>\r\n }\r\n @if (config.confirmLabel) {\r\n <button mat-button color=\"primary\" [mat-dialog-close]=\"true\">\r\n {{ config.confirmLabel }}\r\n </button>\r\n }\r\n </mat-dialog-actions>\r\n}\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }] }); }
|
|
14
|
-
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: ConfirmDialogComponent, decorators: [{
|
|
16
|
-
type: Component,
|
|
17
|
-
args: [{ selector: 'lf-confirm-dialog', standalone: true, imports: [
|
|
18
|
-
MatDialogModule,
|
|
19
|
-
MatButtonModule
|
|
20
|
-
], template: "@if (config) {\r\n @if (config.title) {\r\n <h2 mat-dialog-title>{{ config.title }}</h2>\r\n }\r\n\r\n <mat-dialog-content>\r\n @if (config.message) {\r\n <p>{{ config.message }}</p>\r\n }\r\n </mat-dialog-content>\r\n\r\n <mat-dialog-actions align=\"end\">\r\n @if (config.closeLabel) {\r\n <button mat-button [mat-dialog-close]=\"false\">\r\n {{ config.closeLabel }}\r\n </button>\r\n }\r\n @if (config.confirmLabel) {\r\n <button mat-button color=\"primary\" [mat-dialog-close]=\"true\">\r\n {{ config.confirmLabel }}\r\n </button>\r\n }\r\n </mat-dialog-actions>\r\n}\r\n" }]
|
|
21
|
-
}] });
|
|
22
|
-
|
|
23
|
-
export { ConfirmDialogComponent };
|
|
24
|
-
//# sourceMappingURL=lukfel-ng-scaffold-confirm-dialog.component-D92LeRJW.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lukfel-ng-scaffold-confirm-dialog.component-D92LeRJW.mjs","sources":["../../../projects/ng-scaffold/src/lib/shared/components/dialogs/confirm-dialog/confirm-dialog.component.ts","../../../projects/ng-scaffold/src/lib/shared/components/dialogs/confirm-dialog/confirm-dialog.component.html"],"sourcesContent":["import { Component, inject } from '@angular/core';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';\r\nimport { ConfirmDialogConfig } from '../../../../models';\r\n\r\n@Component({\r\n selector: 'lf-confirm-dialog',\r\n templateUrl: './confirm-dialog.component.html',\r\n styleUrls: ['./confirm-dialog.component.scss'],\r\n standalone: true,\r\n imports: [\r\n MatDialogModule,\r\n MatButtonModule\r\n ]\r\n})\r\nexport class ConfirmDialogComponent {\r\n public config = inject<ConfirmDialogConfig>(MAT_DIALOG_DATA);\r\n\r\n}\r\n","@if (config) {\r\n @if (config.title) {\r\n <h2 mat-dialog-title>{{ config.title }}</h2>\r\n }\r\n\r\n <mat-dialog-content>\r\n @if (config.message) {\r\n <p>{{ config.message }}</p>\r\n }\r\n </mat-dialog-content>\r\n\r\n <mat-dialog-actions align=\"end\">\r\n @if (config.closeLabel) {\r\n <button mat-button [mat-dialog-close]=\"false\">\r\n {{ config.closeLabel }}\r\n </button>\r\n }\r\n @if (config.confirmLabel) {\r\n <button mat-button color=\"primary\" [mat-dialog-close]=\"true\">\r\n {{ config.confirmLabel }}\r\n </button>\r\n }\r\n </mat-dialog-actions>\r\n}\r\n"],"names":[],"mappings":";;;;;;;MAea,sBAAsB,CAAA;AAVnC,IAAA,WAAA,GAAA;AAWS,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAsB,eAAe,CAAC;AAE7D,IAAA;8GAHY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECfnC,moBAwBA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDbI,eAAe,+nBACf,eAAe,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,QAAA,EAAA,iOAAA,EAAA,MAAA,EAAA,CAAA,WAAA,CAAA,EAAA,QAAA,EAAA,CAAA,WAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAGN,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAVlC,SAAS;+BACE,mBAAmB,EAAA,UAAA,EAGjB,IAAI,EAAA,OAAA,EACP;wBACP,eAAe;wBACf;AACD,qBAAA,EAAA,QAAA,EAAA,moBAAA,EAAA;;;;;"}
|