@lukfel/ng-scaffold 22.2.2 → 22.3.1
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/README.md +22 -6
- package/fesm2022/lukfel-ng-scaffold.mjs +28 -49
- package/fesm2022/lukfel-ng-scaffold.mjs.map +1 -1
- package/package.json +1 -1
- package/types/lukfel-ng-scaffold.d.ts +24 -17
package/package.json
CHANGED
|
@@ -159,6 +159,9 @@ interface ListItem {
|
|
|
159
159
|
checked?: boolean;
|
|
160
160
|
disabled?: boolean;
|
|
161
161
|
clickable?: boolean;
|
|
162
|
+
routerLink?: string | (string | number)[];
|
|
163
|
+
href?: string;
|
|
164
|
+
externalTab?: boolean;
|
|
162
165
|
buttons?: Button[];
|
|
163
166
|
hiddenButtonIds?: string[];
|
|
164
167
|
disabledButtonIds?: string[];
|
|
@@ -200,6 +203,22 @@ interface NavbarConfig {
|
|
|
200
203
|
cssClass?: string;
|
|
201
204
|
}
|
|
202
205
|
|
|
206
|
+
interface NotificationConfig {
|
|
207
|
+
color?: 'primary' | 'accent' | 'warn';
|
|
208
|
+
title?: string;
|
|
209
|
+
message?: string;
|
|
210
|
+
link?: string;
|
|
211
|
+
linkText?: string;
|
|
212
|
+
matIcon?: string;
|
|
213
|
+
svgIcon?: string;
|
|
214
|
+
button?: Button;
|
|
215
|
+
static?: boolean;
|
|
216
|
+
minimal?: boolean;
|
|
217
|
+
gradient?: boolean;
|
|
218
|
+
loading?: boolean;
|
|
219
|
+
cssClass?: string;
|
|
220
|
+
}
|
|
221
|
+
|
|
203
222
|
interface PlaceholderConfig {
|
|
204
223
|
matIcon?: string;
|
|
205
224
|
svgIcon?: string;
|
|
@@ -406,6 +425,7 @@ declare class ListComponent {
|
|
|
406
425
|
item: ListItem;
|
|
407
426
|
}, click: Event): void;
|
|
408
427
|
getCombinedButtons(item: ListItem): Button[];
|
|
428
|
+
isLink(item: ListItem): boolean;
|
|
409
429
|
onImageError(event: Event): void;
|
|
410
430
|
stopPropagation(click: Event): void;
|
|
411
431
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
@@ -414,24 +434,11 @@ declare class ListComponent {
|
|
|
414
434
|
|
|
415
435
|
declare class NotificationComponent {
|
|
416
436
|
private breakpointService;
|
|
417
|
-
readonly
|
|
418
|
-
readonly
|
|
419
|
-
readonly message: _angular_core.InputSignal<string>;
|
|
420
|
-
readonly link: _angular_core.InputSignal<string>;
|
|
421
|
-
readonly linkText: _angular_core.InputSignal<string>;
|
|
422
|
-
readonly action: _angular_core.InputSignal<string>;
|
|
423
|
-
readonly matIcon: _angular_core.InputSignal<string>;
|
|
424
|
-
readonly svgIcon: _angular_core.InputSignal<string>;
|
|
425
|
-
readonly static: _angular_core.InputSignal<boolean>;
|
|
426
|
-
readonly minimal: _angular_core.InputSignal<boolean>;
|
|
427
|
-
readonly gradient: _angular_core.InputSignal<boolean>;
|
|
428
|
-
readonly loading: _angular_core.InputSignal<boolean>;
|
|
429
|
-
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
430
|
-
readonly cssClass: _angular_core.InputSignal<string>;
|
|
431
|
-
readonly clickEvent: _angular_core.OutputEmitterRef<void>;
|
|
437
|
+
readonly notificationConfig: _angular_core.InputSignal<NotificationConfig | undefined>;
|
|
438
|
+
readonly buttonClickEvent: _angular_core.OutputEmitterRef<void>;
|
|
432
439
|
isMobile: _angular_core.Signal<boolean | undefined>;
|
|
433
440
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NotificationComponent, never>;
|
|
434
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NotificationComponent, "lf-notification", never, { "
|
|
441
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NotificationComponent, "lf-notification", never, { "notificationConfig": { "alias": "notificationConfig"; "required": false; "isSignal": true; }; }, { "buttonClickEvent": "buttonClickEvent"; }, never, ["*"], true, never>;
|
|
435
442
|
}
|
|
436
443
|
|
|
437
444
|
declare class PlaceholderComponent {
|
|
@@ -779,4 +786,4 @@ declare class ScaffoldLoadingInterceptor implements HttpInterceptor {
|
|
|
779
786
|
}
|
|
780
787
|
|
|
781
788
|
export { BreakpointService, CONFIG, ColorPickerComponent, DialogService, FileUploadComponent, ListComponent, ListItemAvatarDirective, ListItemButtonsDirective, ListItemSubtitleDirective, ListItemTitleDirective, LocalStorageService, Logger, NotificationComponent, OverlayService, PlaceholderComponent, RouterService, ScaffoldComponent, ScaffoldLoadingInterceptor, ScaffoldMediaMatcher, ScaffoldService, SeoService, SnackbarService, ThemeService, TranslationService, matchesMediaQuery, provideScaffold };
|
|
782
|
-
export type { BottomBarConfig, Button, ConfirmDialogConfig, ContentTitleCardConfig, DrawerConfig, FloatingButtonConfig, FooterConfig, HeaderConfig, HeaderInputConfig, HeaderResponsiveConfig, ListConfig, ListHeader, ListItem, LoadingOverlayConfig, MenuButton, NavbarConfig, NavigationLink, PlaceholderConfig, ScaffoldConfig, ScaffoldLibraryConfig, SeoConfig, TransMap, TranslationConfig };
|
|
789
|
+
export type { BottomBarConfig, Button, ConfirmDialogConfig, ContentTitleCardConfig, DrawerConfig, FloatingButtonConfig, FooterConfig, HeaderConfig, HeaderInputConfig, HeaderResponsiveConfig, ListConfig, ListHeader, ListItem, LoadingOverlayConfig, MenuButton, NavbarConfig, NavigationLink, NotificationConfig, PlaceholderConfig, ScaffoldConfig, ScaffoldLibraryConfig, SeoConfig, TransMap, TranslationConfig };
|