@lukfel/ng-scaffold 22.2.3 → 22.3.2
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 +36 -11
- package/fesm2022/lukfel-ng-scaffold.mjs +23 -48
- package/fesm2022/lukfel-ng-scaffold.mjs.map +1 -1
- package/package.json +1 -1
- package/types/lukfel-ng-scaffold.d.ts +24 -21
package/package.json
CHANGED
|
@@ -162,7 +162,7 @@ interface ListItem {
|
|
|
162
162
|
routerLink?: string | (string | number)[];
|
|
163
163
|
href?: string;
|
|
164
164
|
externalTab?: boolean;
|
|
165
|
-
buttons?:
|
|
165
|
+
buttons?: MenuButton[];
|
|
166
166
|
hiddenButtonIds?: string[];
|
|
167
167
|
disabledButtonIds?: string[];
|
|
168
168
|
data?: any;
|
|
@@ -173,7 +173,7 @@ interface ListHeader {
|
|
|
173
173
|
svgIcon?: string;
|
|
174
174
|
avatar?: string;
|
|
175
175
|
items?: ListHeaderItem[];
|
|
176
|
-
buttons?:
|
|
176
|
+
buttons?: MenuButton[];
|
|
177
177
|
}
|
|
178
178
|
interface ListConfig {
|
|
179
179
|
enableSelection?: boolean;
|
|
@@ -203,6 +203,22 @@ interface NavbarConfig {
|
|
|
203
203
|
cssClass?: string;
|
|
204
204
|
}
|
|
205
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
|
+
|
|
206
222
|
interface PlaceholderConfig {
|
|
207
223
|
matIcon?: string;
|
|
208
224
|
svgIcon?: string;
|
|
@@ -375,7 +391,7 @@ declare class ListComponent {
|
|
|
375
391
|
readonly header: _angular_core.InputSignal<ListHeader | null>;
|
|
376
392
|
readonly items: _angular_core.InputSignal<ListItem[]>;
|
|
377
393
|
readonly groupedItems: _angular_core.InputSignal<Map<string, ListItem[]>>;
|
|
378
|
-
readonly buttons: _angular_core.InputSignal<
|
|
394
|
+
readonly buttons: _angular_core.InputSignal<MenuButton[]>;
|
|
379
395
|
readonly dropListId: _angular_core.InputSignal<string | undefined>;
|
|
380
396
|
readonly connectedDropListIds: _angular_core.InputSignal<string[] | undefined>;
|
|
381
397
|
readonly sortChangeEvent: _angular_core.OutputEmitterRef<{
|
|
@@ -408,7 +424,7 @@ declare class ListComponent {
|
|
|
408
424
|
buttonId: string;
|
|
409
425
|
item: ListItem;
|
|
410
426
|
}, click: Event): void;
|
|
411
|
-
getCombinedButtons(item: ListItem):
|
|
427
|
+
getCombinedButtons(item: ListItem): MenuButton[];
|
|
412
428
|
isLink(item: ListItem): boolean;
|
|
413
429
|
onImageError(event: Event): void;
|
|
414
430
|
stopPropagation(click: Event): void;
|
|
@@ -418,24 +434,11 @@ declare class ListComponent {
|
|
|
418
434
|
|
|
419
435
|
declare class NotificationComponent {
|
|
420
436
|
private breakpointService;
|
|
421
|
-
readonly
|
|
422
|
-
readonly
|
|
423
|
-
readonly message: _angular_core.InputSignal<string>;
|
|
424
|
-
readonly link: _angular_core.InputSignal<string>;
|
|
425
|
-
readonly linkText: _angular_core.InputSignal<string>;
|
|
426
|
-
readonly action: _angular_core.InputSignal<string>;
|
|
427
|
-
readonly matIcon: _angular_core.InputSignal<string>;
|
|
428
|
-
readonly svgIcon: _angular_core.InputSignal<string>;
|
|
429
|
-
readonly static: _angular_core.InputSignal<boolean>;
|
|
430
|
-
readonly minimal: _angular_core.InputSignal<boolean>;
|
|
431
|
-
readonly gradient: _angular_core.InputSignal<boolean>;
|
|
432
|
-
readonly loading: _angular_core.InputSignal<boolean>;
|
|
433
|
-
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
434
|
-
readonly cssClass: _angular_core.InputSignal<string>;
|
|
435
|
-
readonly clickEvent: _angular_core.OutputEmitterRef<void>;
|
|
437
|
+
readonly notificationConfig: _angular_core.InputSignal<NotificationConfig | undefined>;
|
|
438
|
+
readonly buttonClickEvent: _angular_core.OutputEmitterRef<void>;
|
|
436
439
|
isMobile: _angular_core.Signal<boolean | undefined>;
|
|
437
440
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NotificationComponent, never>;
|
|
438
|
-
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>;
|
|
439
442
|
}
|
|
440
443
|
|
|
441
444
|
declare class PlaceholderComponent {
|
|
@@ -783,4 +786,4 @@ declare class ScaffoldLoadingInterceptor implements HttpInterceptor {
|
|
|
783
786
|
}
|
|
784
787
|
|
|
785
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 };
|
|
786
|
-
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 };
|