@elderbyte/ngx-starter 15.9.8 → 15.10.0

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.
Files changed (36) hide show
  1. package/_index.scss +2 -0
  2. package/esm2020/lib/common/theme-sizes.mjs +1 -1
  3. package/esm2020/lib/components/badge/elder-badge/elder-badge.component.mjs +39 -0
  4. package/esm2020/lib/components/badge/elder-badge.directive.mjs +48 -0
  5. package/esm2020/lib/components/badge/elder-badge.module.mjs +40 -0
  6. package/esm2020/lib/components/data-view/common/elder-data-common.module.mjs +5 -4
  7. package/esm2020/lib/components/data-view/common/selection/elder-selection-master-checkbox/elder-selection-master-checkbox.component.mjs +4 -3
  8. package/esm2020/lib/components/files/drag-n-drop/elder-drop-zone/elder-drop-zone.component.mjs +43 -0
  9. package/esm2020/lib/components/files/drag-n-drop/global-drag-drop.service.mjs +56 -0
  10. package/esm2020/lib/components/files/elder-file-drop-zone.directive.mjs +13 -5
  11. package/esm2020/lib/components/files/elder-file.module.mjs +16 -8
  12. package/esm2020/lib/components/files/listing/file-entry.mjs +2 -2
  13. package/esm2020/lib/components/public_api.mjs +2 -1
  14. package/esm2020/lib/components/shell/shell/elder-shell.component.mjs +16 -13
  15. package/esm2020/lib/components/toasts/elder-toast.module.mjs +4 -3
  16. package/fesm2015/elderbyte-ngx-starter.mjs +469 -260
  17. package/fesm2015/elderbyte-ngx-starter.mjs.map +1 -1
  18. package/fesm2020/elderbyte-ngx-starter.mjs +464 -255
  19. package/fesm2020/elderbyte-ngx-starter.mjs.map +1 -1
  20. package/lib/common/theme-sizes.d.ts +1 -1
  21. package/lib/components/badge/elder-badge/elder-badge.component.d.ts +14 -0
  22. package/lib/components/badge/elder-badge.directive.d.ts +19 -0
  23. package/lib/components/badge/elder-badge.module.d.ts +13 -0
  24. package/lib/components/data-view/common/elder-data-common.module.d.ts +2 -1
  25. package/lib/components/files/drag-n-drop/elder-drop-zone/elder-drop-zone.component.d.ts +24 -0
  26. package/lib/components/files/drag-n-drop/global-drag-drop.service.d.ts +40 -0
  27. package/lib/components/files/elder-file-drop-zone.directive.d.ts +4 -2
  28. package/lib/components/files/elder-file.module.d.ts +11 -7
  29. package/lib/components/files/listing/file-entry.d.ts +1 -1
  30. package/lib/components/public_api.d.ts +1 -0
  31. package/lib/components/shell/shell/elder-shell.component.d.ts +3 -1
  32. package/lib/components/toasts/elder-toast.module.d.ts +2 -1
  33. package/package.json +1 -1
  34. package/src/lib/components/badge/elder-badge/elder-badge.component.scss +84 -0
  35. package/src/lib/components/files/drag-n-drop/elder-drop-zone/elder-drop-zone.component.scss +48 -0
  36. package/theming/_elder-common.scss +10 -0
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Defined in _elder-defautls.scss
2
+ * Defined in _elder-defaults.scss
3
3
  */
4
4
  export declare type ElderSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
@@ -0,0 +1,14 @@
1
+ import { BehaviorSubject } from "rxjs";
2
+ import { ThemePalette } from "@angular/material/core";
3
+ import * as i0 from "@angular/core";
4
+ export declare class ElderBadgeComponent {
5
+ readonly content$: BehaviorSubject<string>;
6
+ set content(count: string);
7
+ elementClass: string[];
8
+ setCssClass(val: string): void;
9
+ getColor(): ThemePalette;
10
+ private isContentANumberAndBiggerThanZero;
11
+ constructor();
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElderBadgeComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<ElderBadgeComponent, "elder-badge", never, { "content": "content"; "setCssClass": "cssClass"; }, {}, never, never, false, never>;
14
+ }
@@ -0,0 +1,19 @@
1
+ import { ElementRef, ViewContainerRef, OnInit } from "@angular/core";
2
+ import { DomSanitizer, SafeStyle } from "@angular/platform-browser";
3
+ import { Subject } from "rxjs";
4
+ import { MatBadge } from "@angular/material/badge";
5
+ import * as i0 from "@angular/core";
6
+ export declare class ElderBadgeDirective implements OnInit {
7
+ private element;
8
+ private sanitizer;
9
+ private viewContainerRef;
10
+ private matBadge;
11
+ private readonly elderBadge$;
12
+ readonly unsubscribe$: Subject<void>;
13
+ constructor(element: ElementRef, sanitizer: DomSanitizer, viewContainerRef: ViewContainerRef, matBadge: MatBadge);
14
+ style: SafeStyle;
15
+ set elderBadge(elderBadge: string);
16
+ ngOnInit(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElderBadgeDirective, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ElderBadgeDirective, "[elderBadge]", never, { "elderBadge": "elderBadge"; }, {}, never, never, false, never>;
19
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./elder-badge.directive";
3
+ import * as i2 from "./elder-badge/elder-badge.component";
4
+ import * as i3 from "@angular/material/chips";
5
+ import * as i4 from "../chips/elder-chips.module";
6
+ import * as i5 from "@angular/common";
7
+ export * from './elder-badge/elder-badge.component';
8
+ export * from './elder-badge.directive';
9
+ export declare class ElderBadgeModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElderBadgeModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ElderBadgeModule, [typeof i1.ElderBadgeDirective, typeof i2.ElderBadgeComponent], [typeof i3.MatChipsModule, typeof i4.ElderChipsModule, typeof i5.AsyncPipe, typeof i5.NgIf], [typeof i1.ElderBadgeDirective, typeof i2.ElderBadgeComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<ElderBadgeModule>;
13
+ }
@@ -16,6 +16,7 @@ import * as i14 from "@angular/material/progress-bar";
16
16
  import * as i15 from "@angular/material/dialog";
17
17
  import * as i16 from "@angular/material/tooltip";
18
18
  import * as i17 from "@ngx-translate/core";
19
+ import * as i18 from "../../badge/elder-badge.module";
19
20
  export { ElderSingleSortComponent } from './elder-single-sort/elder-single-sort.component';
20
21
  export { ElderDataToolbarComponent, ElderToolbarContentDirective, ElderToolbarContentSlot } from './elder-data-toolbar/elder-data-toolbar.component';
21
22
  export { ElderSelectionMasterCheckboxComponent } from './selection/elder-selection-master-checkbox/elder-selection-master-checkbox.component';
@@ -24,6 +25,6 @@ export { DataContextSelectionDirective } from './selection/data-context-selectio
24
25
  export { DataContextStateIndicatorComponent } from './data-context-state-indicator/data-context-state-indicator.component';
25
26
  export declare class ElderDataCommonModule {
26
27
  static ɵfac: i0.ɵɵFactoryDeclaration<ElderDataCommonModule, never>;
27
- static ɵmod: i0.ɵɵNgModuleDeclaration<ElderDataCommonModule, [typeof i1.ElderDataToolbarComponent, typeof i1.ElderToolbarContentDirective, typeof i2.ElderSingleSortComponent, typeof i3.ElderSelectionMasterCheckboxComponent, typeof i4.DataContextSelectionDirective, typeof i5.DataContextStateIndicatorComponent], [typeof i6.CommonModule, typeof i7.RouterModule, typeof i8.MatDividerModule, typeof i9.MatCheckboxModule, typeof i10.MatMenuModule, typeof i11.MatButtonModule, typeof i12.MatIconModule, typeof i13.MatBadgeModule, typeof i14.MatProgressBarModule, typeof i15.MatDialogModule, typeof i16.MatTooltipModule, typeof i17.TranslateModule], [typeof i1.ElderDataToolbarComponent, typeof i1.ElderToolbarContentDirective, typeof i2.ElderSingleSortComponent, typeof i3.ElderSelectionMasterCheckboxComponent, typeof i4.DataContextSelectionDirective, typeof i5.DataContextStateIndicatorComponent]>;
28
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ElderDataCommonModule, [typeof i1.ElderDataToolbarComponent, typeof i1.ElderToolbarContentDirective, typeof i2.ElderSingleSortComponent, typeof i3.ElderSelectionMasterCheckboxComponent, typeof i4.DataContextSelectionDirective, typeof i5.DataContextStateIndicatorComponent], [typeof i6.CommonModule, typeof i7.RouterModule, typeof i8.MatDividerModule, typeof i9.MatCheckboxModule, typeof i10.MatMenuModule, typeof i11.MatButtonModule, typeof i12.MatIconModule, typeof i13.MatBadgeModule, typeof i14.MatProgressBarModule, typeof i15.MatDialogModule, typeof i16.MatTooltipModule, typeof i17.TranslateModule, typeof i18.ElderBadgeModule], [typeof i1.ElderDataToolbarComponent, typeof i1.ElderToolbarContentDirective, typeof i2.ElderSingleSortComponent, typeof i3.ElderSelectionMasterCheckboxComponent, typeof i4.DataContextSelectionDirective, typeof i5.DataContextStateIndicatorComponent]>;
28
29
  static ɵinj: i0.ɵɵInjectorDeclaration<ElderDataCommonModule>;
29
30
  }
@@ -0,0 +1,24 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FileEntry } from '../../listing/file-entry';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ElderDropZoneComponent {
5
+ /***************************************************************************
6
+ * *
7
+ * Fields *
8
+ * *
9
+ **************************************************************************/
10
+ private readonly logger;
11
+ readonly filesDropped: EventEmitter<FileEntry[]>;
12
+ readonly dragOver: EventEmitter<DragEvent>;
13
+ readonly dragEnd: EventEmitter<DragEvent>;
14
+ icon: string;
15
+ prompt: string;
16
+ /***************************************************************************
17
+ * *
18
+ * Constructor *
19
+ * *
20
+ **************************************************************************/
21
+ constructor();
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElderDropZoneComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<ElderDropZoneComponent, "elder-drop-zone", never, { "icon": "icon"; "prompt": "prompt"; }, { "filesDropped": "filesDropped"; "dragOver": "dragOver"; "dragEnd": "dragEnd"; }, never, ["*"], false, never>;
24
+ }
@@ -0,0 +1,40 @@
1
+ import { Observable } from 'rxjs';
2
+ import * as i0 from "@angular/core";
3
+ export declare class GlobalDragDropService {
4
+ /***************************************************************************
5
+ * *
6
+ * Fields *
7
+ * *
8
+ **************************************************************************/
9
+ private readonly _onDragOver$;
10
+ private readonly _onDragLeave$;
11
+ private readonly _onDrop$;
12
+ private preventDefaultsSub;
13
+ /***************************************************************************
14
+ * *
15
+ * Constructor *
16
+ * *
17
+ **************************************************************************/
18
+ constructor();
19
+ /***************************************************************************
20
+ * *
21
+ * Properties *
22
+ * *
23
+ **************************************************************************/
24
+ get dragOver$(): Observable<DragEvent>;
25
+ get dragLeave$(): Observable<DragEvent>;
26
+ get drop$(): Observable<DragEvent>;
27
+ /***************************************************************************
28
+ * *
29
+ * Public API *
30
+ * *
31
+ **************************************************************************/
32
+ /**
33
+ * Prevents the browser from loading dropped files. If the user accidentally
34
+ * missed a drop zone and drops files anywhere in the active app, the browser would
35
+ * load the file and loose the current app context.
36
+ */
37
+ preventDefaultFileLoading(): void;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<GlobalDragDropService, never>;
39
+ static ɵprov: i0.ɵɵInjectableDeclaration<GlobalDragDropService>;
40
+ }
@@ -12,6 +12,8 @@ export declare class ElderFileDropZoneDirective {
12
12
  **************************************************************************/
13
13
  private readonly logger;
14
14
  readonly elderFileDropZoneChange: EventEmitter<FileEntry[]>;
15
+ readonly dragOver: EventEmitter<DragEvent>;
16
+ readonly dragEnd: EventEmitter<DragEvent>;
15
17
  dragOverClass: string;
16
18
  /***************************************************************************
17
19
  * *
@@ -32,8 +34,8 @@ export declare class ElderFileDropZoneDirective {
32
34
  * Private methods *
33
35
  * *
34
36
  **************************************************************************/
35
- private dragEnd;
37
+ private handleDragEnd;
36
38
  private collectFilesAsync;
37
39
  static ɵfac: i0.ɵɵFactoryDeclaration<ElderFileDropZoneDirective, never>;
38
- static ɵdir: i0.ɵɵDirectiveDeclaration<ElderFileDropZoneDirective, "[elderFileDropZone]", never, { "dragOverClass": "dragOverClass"; }, { "elderFileDropZoneChange": "elderFileDropZoneChange"; }, never, never, false, never>;
40
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ElderFileDropZoneDirective, "[elderFileDropZone]", never, { "dragOverClass": "dragOverClass"; }, { "elderFileDropZoneChange": "elderFileDropZoneChange"; "dragOver": "dragOver"; "dragEnd": "dragEnd"; }, never, never, false, never>;
39
41
  }
@@ -4,22 +4,26 @@ import * as i2 from "./file-upload/file-upload.component";
4
4
  import * as i3 from "./elder-file-select.directive";
5
5
  import * as i4 from "./elder-file-drop-zone.directive";
6
6
  import * as i5 from "./blob-viewer/elder-blob-viewer.component";
7
- import * as i6 from "@angular/common";
8
- import * as i7 from "@angular/material/list";
9
- import * as i8 from "@angular/material/button";
10
- import * as i9 from "@angular/material/icon";
11
- import * as i10 from "@angular/material/progress-bar";
12
- import * as i11 from "../../pipes/elder-pipes.module";
7
+ import * as i6 from "./drag-n-drop/elder-drop-zone/elder-drop-zone.component";
8
+ import * as i7 from "@angular/common";
9
+ import * as i8 from "@angular/material/list";
10
+ import * as i9 from "@angular/material/button";
11
+ import * as i10 from "@angular/material/icon";
12
+ import * as i11 from "@angular/material/progress-bar";
13
+ import * as i12 from "../../pipes/elder-pipes.module";
14
+ import * as i13 from "@ngx-translate/core";
13
15
  export { ElderFileSelectComponent } from './file-select/file-select.component';
14
16
  export { ElderFileUploadComponent } from './file-upload/file-upload.component';
15
17
  export { ElderFileSelectDirective } from './elder-file-select.directive';
16
18
  export { ElderFileDropZoneDirective } from './elder-file-drop-zone.directive';
17
19
  export { ElderBlobViewerComponent } from './blob-viewer/elder-blob-viewer.component';
20
+ export { ElderDropZoneComponent } from './drag-n-drop/elder-drop-zone/elder-drop-zone.component';
21
+ export * from './drag-n-drop/global-drag-drop.service';
18
22
  export * from './blob-url';
19
23
  export * from './listing/file-entry';
20
24
  export * from './listing/file-listing-rx';
21
25
  export declare class ElderFileModule {
22
26
  static ɵfac: i0.ɵɵFactoryDeclaration<ElderFileModule, never>;
23
- static ɵmod: i0.ɵɵNgModuleDeclaration<ElderFileModule, [typeof i1.ElderFileSelectComponent, typeof i2.ElderFileUploadComponent, typeof i3.ElderFileSelectDirective, typeof i4.ElderFileDropZoneDirective, typeof i5.ElderBlobViewerComponent], [typeof i6.CommonModule, typeof i7.MatListModule, typeof i8.MatButtonModule, typeof i9.MatIconModule, typeof i10.MatProgressBarModule, typeof i11.ElderPipesModule], [typeof i1.ElderFileSelectComponent, typeof i2.ElderFileUploadComponent, typeof i3.ElderFileSelectDirective, typeof i4.ElderFileDropZoneDirective, typeof i5.ElderBlobViewerComponent]>;
27
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ElderFileModule, [typeof i1.ElderFileSelectComponent, typeof i2.ElderFileUploadComponent, typeof i3.ElderFileSelectDirective, typeof i4.ElderFileDropZoneDirective, typeof i5.ElderBlobViewerComponent, typeof i6.ElderDropZoneComponent], [typeof i7.CommonModule, typeof i8.MatListModule, typeof i9.MatButtonModule, typeof i10.MatIconModule, typeof i11.MatProgressBarModule, typeof i12.ElderPipesModule, typeof i13.TranslateModule], [typeof i1.ElderFileSelectComponent, typeof i2.ElderFileUploadComponent, typeof i3.ElderFileSelectDirective, typeof i4.ElderFileDropZoneDirective, typeof i5.ElderBlobViewerComponent, typeof i6.ElderDropZoneComponent]>;
24
28
  static ɵinj: i0.ɵɵInjectorDeclaration<ElderFileModule>;
25
29
  }
@@ -13,7 +13,7 @@ export declare class FileEntry {
13
13
  /**
14
14
  * Creates a file Entry without an explicit relative parent.
15
15
  *
16
- * However, depending how the file was selected, some browsers
16
+ * However, depending on how the file was selected, some browsers
17
17
  * encode the relative parent path in the property 'webkitRelativePath'
18
18
  * which is also supported by this method.
19
19
  */
@@ -38,3 +38,4 @@ export * from './iframes/elder-iframe.module';
38
38
  export * from './errors/elder-error.module';
39
39
  export * from './auditing/elder-audit.module';
40
40
  export * from './tabs/elder-tab.module';
41
+ export * from './badge/elder-badge.module';
@@ -5,6 +5,7 @@ import { ElderRouteOutletDrawerService } from '../drawers/elder-route-outlet-dra
5
5
  import { BehaviorSubject, Observable } from 'rxjs';
6
6
  import { ThemePalette } from '@angular/material/core';
7
7
  import { ElderThemeService } from '../../theme/elder-theme.service';
8
+ import { GlobalDragDropService } from '../../files/drag-n-drop/global-drag-drop.service';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class ElderShellSideLeftDirective {
10
11
  templateRef: TemplateRef<any>;
@@ -32,6 +33,7 @@ export declare class ElderShellComponent implements OnInit, OnDestroy {
32
33
  private outletDrawerService;
33
34
  private changeDetectorRef;
34
35
  private themeService;
36
+ private globalDragDropService;
35
37
  /***************************************************************************
36
38
  * *
37
39
  * Fields *
@@ -60,7 +62,7 @@ export declare class ElderShellComponent implements OnInit, OnDestroy {
60
62
  * Constructor *
61
63
  * *
62
64
  **************************************************************************/
63
- constructor(shellService: ElderShellService, outletDrawerService: ElderRouteOutletDrawerService, changeDetectorRef: ChangeDetectorRef, themeService: ElderThemeService);
65
+ constructor(shellService: ElderShellService, outletDrawerService: ElderRouteOutletDrawerService, changeDetectorRef: ChangeDetectorRef, themeService: ElderThemeService, globalDragDropService: GlobalDragDropService);
64
66
  /***************************************************************************
65
67
  * *
66
68
  * Life Cycle *
@@ -5,8 +5,9 @@ import * as i3 from "@angular/material/snack-bar";
5
5
  import * as i4 from "@angular/material/icon";
6
6
  import * as i5 from "@angular/material/button";
7
7
  export * from './elder-toast.service';
8
+ export { StandardToastComponent } from './standard-toast/standard-toast.component';
8
9
  export declare class ElderToastModule {
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ElderToastModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<ElderToastModule, [typeof i1.StandardToastComponent], [typeof i2.CommonModule, typeof i3.MatSnackBarModule, typeof i4.MatIconModule, typeof i5.MatButtonModule], never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ElderToastModule, [typeof i1.StandardToastComponent], [typeof i2.CommonModule, typeof i3.MatSnackBarModule, typeof i4.MatIconModule, typeof i5.MatButtonModule], [typeof i1.StandardToastComponent]>;
11
12
  static ɵinj: i0.ɵɵInjectorDeclaration<ElderToastModule>;
12
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elderbyte/ngx-starter",
3
- "version": "15.9.8",
3
+ "version": "15.10.0",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^15.0.0 || ^16.0.0",
6
6
  "@angular/common": "^15.0.0 || ^16.0.0",
@@ -0,0 +1,84 @@
1
+ .elder-badge {
2
+ position: absolute !important;
3
+ width: unset !important;
4
+ max-width: unset !important;
5
+ box-sizing: border-box;
6
+ font-weight: 600;
7
+
8
+ .mdc-evolution-chip,
9
+ .mdc-evolution-chip__cell,
10
+ .mdc-evolution-chip__action {
11
+ justify-content: center;
12
+ }
13
+ }
14
+
15
+ // Small styling
16
+ .mat-badge-small .elder-badge.mat-badge-content {
17
+ border-radius: 16px;
18
+ min-width: 16px;
19
+ }
20
+ .mat-badge-small.mat-badge-above .elder-badge.mat-badge-content {
21
+ top: -7px !important;
22
+ }
23
+ .mat-badge-small.mat-badge-overlap.mat-badge-after .elder-badge.mat-badge-content {
24
+ right: -5px;
25
+ transform: translate(100%) !important;
26
+ }
27
+ .mat-badge-small.mat-badge-overlap.mat-badge-before .elder-badge.mat-badge-content {
28
+ left: -5px;
29
+ transform: translate(-100%) !important;
30
+ }
31
+ .mat-badge-small .elder-badge.mat-mdc-standard-chip .mdc-evolution-chip__action--primary {
32
+ padding: 0 3px !important;
33
+ }
34
+ .mat-badge-small .elder-badge.mat-badge-content {
35
+ line-height: 14px !important;
36
+ }
37
+
38
+ // Medium styling
39
+ .mat-badge-medium .elder-badge.mat-badge-content {
40
+ border-radius: 22px;
41
+ min-width: 22px;
42
+ }
43
+ .mat-badge-medium.mat-badge-overlap.mat-badge-after .elder-badge.mat-badge-content {
44
+ right: -5px;
45
+ transform: translate(100%) !important;
46
+ }
47
+ .mat-badge-medium.mat-badge-overlap.mat-badge-before .elder-badge.mat-badge-content {
48
+ left: -5px;
49
+ transform: translate(-100%) !important;
50
+ }
51
+ .mat-badge-medium .elder-badge.mat-mdc-standard-chip .mdc-evolution-chip__action--primary {
52
+ padding: 0 6px !important;
53
+ }
54
+ .mat-badge-medium .elder-badge.mat-badge-content {
55
+ line-height: 20px !important;
56
+ }
57
+
58
+ // Large styling
59
+ .mat-badge-large .elder-badge.mat-badge-content {
60
+ border-radius: 28px;
61
+ min-width: 28px;
62
+ }
63
+ .mat-badge-large.mat-badge-overlap.mat-badge-after .elder-badge.mat-badge-content {
64
+ right: -5px;
65
+ transform: translate(100%) !important;
66
+ }
67
+ .mat-badge-large.mat-badge-overlap.mat-badge-before .elder-badge.mat-badge-content {
68
+ left: -5px;
69
+ transform: translate(-100%) !important;
70
+ }
71
+ .mat-badge-large .elder-badge.mat-mdc-standard-chip .mdc-evolution-chip__action--primary {
72
+ padding: 0 6px !important;
73
+ }
74
+ .mat-badge-large .elder-badge.mat-badge-content {
75
+ line-height: 26px !important;
76
+ }
77
+
78
+ .elder-badge.mat-badge-content {
79
+ transform: unset !important;
80
+ }
81
+ //
82
+ //.elder-badge.elder-chip-label.color-primary.md3 {
83
+ // background-color: rgb(203 208 216) !important;
84
+ //}
@@ -0,0 +1,48 @@
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+ @use '@material/theme/theme-color' as mdc-theme-color;
4
+
5
+ $colorStateNone: rgb(0, 0, 0);
6
+
7
+
8
+ @mixin theme($config-or-theme) {
9
+
10
+ $primary: map-get($config-or-theme, primary);
11
+ $accent: map-get($config-or-theme, accent);
12
+ $warn: map-get($config-or-theme, warn);
13
+
14
+
15
+ .elder-drop-zone {
16
+ border: 4px dashed rgba($colorStateNone, 0.40);
17
+ -webkit-border-radius: 5px;
18
+ border-radius: 5px;
19
+ background-color: rgba($colorStateNone, 0.25);
20
+ cursor: pointer;
21
+
22
+ .elder-drop-zone-icon {
23
+ color: mat.get-color-from-palette($primary, default, 0.75);
24
+ font-size: 28px;
25
+ width: 28px;
26
+ height: 28px;
27
+ }
28
+
29
+ .elder-drop-zone-prompt {
30
+ color: mat.get-color-from-palette($primary, default, 0.75);
31
+ }
32
+
33
+ }
34
+
35
+ .elder-drop-zone.is-dragover {
36
+ border: 4px solid mat.get-color-from-palette($accent, default, 0.40);
37
+ background-color: mat.get-color-from-palette($accent, default, 0.25);
38
+
39
+ .elder-drop-zone-icon {
40
+ color: mat.get-color-from-palette($accent, default, 0.75);
41
+ }
42
+
43
+ .elder-drop-zone-prompt {
44
+ color: mat.get-color-from-palette($accent, default, 0.75);
45
+ }
46
+
47
+ }
48
+ }
@@ -273,6 +273,16 @@
273
273
  padding: 0;
274
274
  }
275
275
 
276
+ /***************************************************************************
277
+ * *
278
+ * Padding *
279
+ * *
280
+ **************************************************************************/
281
+
282
+ .elder-default-content:not(:only-child) {
283
+ display: none;
284
+ }
285
+
276
286
  /***************************************************************************
277
287
  * *
278
288
  * Padding *