@lukfel/ng-scaffold 21.1.4 → 21.1.8

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukfel/ng-scaffold",
3
- "version": "21.1.4",
3
+ "version": "21.1.8",
4
4
  "description": "This Angular library provides a basic UI scaffold and services for modern web and mobile apps",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -48,8 +48,8 @@
48
48
  --bottom-bar-height: 56px;
49
49
 
50
50
  --placeholder-icon-size: 96px;
51
- --placeholder-title-font-size: 28px;
52
- --placeholder-message-font-size: 18px;
51
+ --placeholder-title-font-size: 20px;
52
+ --placeholder-message-font-size: 16px;
53
53
 
54
54
  --list-item-height: 72px;
55
55
  --list-item-border-radius: 4px;
@@ -173,6 +173,7 @@ interface ListHeader {
173
173
  }
174
174
  interface ListConfig {
175
175
  enableSelection?: boolean;
176
+ disableMultiselect?: boolean;
176
177
  enableDragging?: boolean;
177
178
  mode?: 'flat' | 'group';
178
179
  initialSortToken?: string;
@@ -430,31 +431,6 @@ declare class ScaffoldModule {
430
431
  static ɵinj: i0.ɵɵInjectorDeclaration<ScaffoldModule>;
431
432
  }
432
433
 
433
- declare class PlaceholderComponent {
434
- libraryConfig: ScaffoldLibraryConfig | null;
435
- placeholderConfig: PlaceholderConfig;
436
- buttonClickEvent: EventEmitter<void>;
437
- static ɵfac: i0.ɵɵFactoryDeclaration<PlaceholderComponent, never>;
438
- static ɵcmp: i0.ɵɵComponentDeclaration<PlaceholderComponent, "lf-placeholder", never, { "placeholderConfig": { "alias": "placeholderConfig"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; }, never, never, true, never>;
439
- }
440
-
441
- declare class FileUploadComponent {
442
- libraryConfig: ScaffoldLibraryConfig | null;
443
- private logger;
444
- fileElement: ElementRef;
445
- color: 'primary' | 'accent' | 'warn';
446
- label: string;
447
- matIcon: string;
448
- disabled: boolean;
449
- accept: string;
450
- tooltip: string;
451
- fileChangeEvent: EventEmitter<File>;
452
- selectFile(event: Event): void;
453
- triggerInput(): void;
454
- static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
455
- static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "lf-file-upload", never, { "color": { "alias": "color"; "required": false; }; "label": { "alias": "label"; "required": false; }; "matIcon": { "alias": "matIcon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, { "fileChangeEvent": "fileChangeEvent"; }, never, never, true, never>;
456
- }
457
-
458
434
  declare class ListItemAvatarDirective {
459
435
  templateRef: TemplateRef<any>;
460
436
  static ɵfac: i0.ɵɵFactoryDeclaration<ListItemAvatarDirective, never>;
@@ -529,6 +505,46 @@ declare class ListComponent implements OnInit, OnChanges {
529
505
  static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "lf-list", never, { "config": { "alias": "config"; "required": false; }; "header": { "alias": "header"; "required": false; }; "items": { "alias": "items"; "required": false; }; "groupedItems": { "alias": "groupedItems"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "dropListId": { "alias": "dropListId"; "required": false; }; "connectedDropListIds": { "alias": "connectedDropListIds"; "required": false; }; }, { "sortChangeEvent": "sortChangeEvent"; "selectionChangeEvent": "selectionChangeEvent"; "itemClickEvent": "itemClickEvent"; "itemDropEvent": "itemDropEvent"; "buttonClickEvent": "buttonClickEvent"; }, ["avatarTemplate", "titleTemplate", "subtitleTemplate", "buttonsTemplate"], never, true, never>;
530
506
  }
531
507
 
508
+ declare class FileUploadComponent {
509
+ libraryConfig: ScaffoldLibraryConfig | null;
510
+ private logger;
511
+ color: 'primary' | 'accent' | 'warn';
512
+ label: string;
513
+ matIcon: string;
514
+ disabled: boolean;
515
+ accept: string;
516
+ tooltip: string;
517
+ fileChangeEvent: EventEmitter<File>;
518
+ selectFile(event: Event): void;
519
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
520
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "lf-file-upload", never, { "color": { "alias": "color"; "required": false; }; "label": { "alias": "label"; "required": false; }; "matIcon": { "alias": "matIcon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, { "fileChangeEvent": "fileChangeEvent"; }, never, never, true, never>;
521
+ }
522
+
523
+ declare class ColorPickerComponent {
524
+ libraryConfig: ScaffoldLibraryConfig | null;
525
+ private logger;
526
+ color: 'primary' | 'accent' | 'warn';
527
+ label: string;
528
+ matIcon: string;
529
+ disabled: boolean;
530
+ accept: string;
531
+ tooltip: string;
532
+ colorChangeEvent: EventEmitter<string>;
533
+ selectedColor: string;
534
+ selectColor(event: string): void;
535
+ getContrastTextColor(hexColor: string): string;
536
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerComponent, never>;
537
+ static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerComponent, "lf-color-picker", never, { "color": { "alias": "color"; "required": false; }; "label": { "alias": "label"; "required": false; }; "matIcon": { "alias": "matIcon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, { "colorChangeEvent": "colorChangeEvent"; }, never, never, true, never>;
538
+ }
539
+
540
+ declare class PlaceholderComponent {
541
+ libraryConfig: ScaffoldLibraryConfig | null;
542
+ placeholderConfig: PlaceholderConfig;
543
+ buttonClickEvent: EventEmitter<void>;
544
+ static ɵfac: i0.ɵɵFactoryDeclaration<PlaceholderComponent, never>;
545
+ static ɵcmp: i0.ɵɵComponentDeclaration<PlaceholderComponent, "lf-placeholder", never, { "placeholderConfig": { "alias": "placeholderConfig"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; }, never, never, true, never>;
546
+ }
547
+
532
548
  declare class BreakpointService {
533
549
  private breakpointObserver;
534
550
  readonly breakpoint$: rxjs.Observable<_angular_cdk_layout.BreakpointState>;
@@ -770,5 +786,5 @@ declare class ScaffoldLoadingInterceptor implements HttpInterceptor {
770
786
  static ɵprov: i0.ɵɵInjectableDeclaration<ScaffoldLoadingInterceptor>;
771
787
  }
772
788
 
773
- export { BreakpointService, CONFIG, DialogService, FileUploadComponent, ListComponent, ListItemAvatarDirective, ListItemButtonsDirective, ListItemSubtitleDirective, ListItemTitleDirective, LocalStorageService, Logger, OverlayService, PlaceholderComponent, RouterService, ScaffoldComponent, ScaffoldLoadingInterceptor, ScaffoldModule, ScaffoldService, SeoService, SnackbarService, ThemeService };
789
+ export { BreakpointService, CONFIG, ColorPickerComponent, DialogService, FileUploadComponent, ListComponent, ListItemAvatarDirective, ListItemButtonsDirective, ListItemSubtitleDirective, ListItemTitleDirective, LocalStorageService, Logger, OverlayService, PlaceholderComponent, RouterService, ScaffoldComponent, ScaffoldLoadingInterceptor, ScaffoldModule, ScaffoldService, SeoService, SnackbarService, ThemeService };
774
790
  export type { BottomBarConfig, Button, ConfirmDialogConfig, ContentTitleCardConfig, DrawerConfig, FloatingButtonConfig, FooterConfig, HeaderConfig, HeaderInputConfig, HeaderResponsiveConfig, ListConfig, ListHeader, ListItem, LoadingOverlayConfig, MenuButton, NavbarConfig, NavigationLink, PlaceholderConfig, ScaffoldConfig, ScaffoldLibraryConfig, SeoConfig };