@rededor/site-front-end-lib 1.0.16 → 1.0.18
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/esm2022/lib/components/cards/expandable-card/expandable-card.component.mjs +10 -6
- package/esm2022/lib/components/error/error-service/error.service.mjs +2 -2
- package/esm2022/lib/components/error/error.component.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib.mjs +13 -9
- package/fesm2022/rededor-site-front-end-lib.mjs.map +1 -1
- package/lib/components/cards/expandable-card/expandable-card.component.d.ts +4 -2
- package/lib/components/error/error-service/error.service.d.ts +2 -11
- package/lib/components/error/error.component.d.ts +3 -2
- package/package.json +1 -1
|
@@ -5,16 +5,18 @@ export declare class ExpandableCardComponent implements OnChanges {
|
|
|
5
5
|
private readonly curaService;
|
|
6
6
|
opened: boolean;
|
|
7
7
|
label: string;
|
|
8
|
+
linkLabel: string;
|
|
9
|
+
link: string;
|
|
8
10
|
badgeLabel: string;
|
|
9
11
|
openIcon: string;
|
|
10
12
|
closeIcon: string;
|
|
11
|
-
url: string;
|
|
12
13
|
disabled: boolean;
|
|
13
14
|
toggle: EventEmitter<boolean>;
|
|
14
15
|
styleBinding: {
|
|
15
16
|
'--neutral-light': string | null;
|
|
16
17
|
'--neutral-base': string | null;
|
|
17
18
|
'--neutral-purewhite': string | null;
|
|
19
|
+
'--neutral-black': string | null;
|
|
18
20
|
'--color-one-dark': string | null;
|
|
19
21
|
};
|
|
20
22
|
classes: string[];
|
|
@@ -23,5 +25,5 @@ export declare class ExpandableCardComponent implements OnChanges {
|
|
|
23
25
|
toggleCard(): void;
|
|
24
26
|
checkDisabledCard(): void;
|
|
25
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandableCardComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandableCardComponent, "rdsite-expandable-card", never, { "opened": { "alias": "opened"; "required": false; }; "label": { "alias": "label"; "required": false; }; "
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandableCardComponent, "rdsite-expandable-card", never, { "opened": { "alias": "opened"; "required": false; }; "label": { "alias": "label"; "required": false; }; "linkLabel": { "alias": "linkLabel"; "required": false; }; "link": { "alias": "link"; "required": false; }; "badgeLabel": { "alias": "badgeLabel"; "required": false; }; "openIcon": { "alias": "openIcon"; "required": false; }; "closeIcon": { "alias": "closeIcon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "toggle": "toggle"; }, never, ["*"], true, never>;
|
|
27
29
|
}
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import { CtaWrapper } from '../../../models/cta-wrapper.model';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export interface ctasError {
|
|
4
|
-
label: string;
|
|
5
|
-
link: string;
|
|
6
|
-
icon: string;
|
|
7
|
-
}
|
|
8
|
-
export interface ctasArea {
|
|
9
|
-
label: string;
|
|
10
|
-
link: string;
|
|
11
|
-
icon: string;
|
|
12
|
-
}
|
|
13
4
|
export declare class ErrorService {
|
|
14
|
-
ctas: BehaviorSubject<
|
|
5
|
+
ctas: BehaviorSubject<CtaWrapper>;
|
|
15
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorService, never>;
|
|
16
7
|
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorService>;
|
|
17
8
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ErrorService
|
|
2
|
+
import { ErrorService } from './error-service/error.service';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
4
|
import { CuraService, LogService, SeoService, ServerResponseService } from '../../services';
|
|
5
5
|
import { BreadcrumbsItems } from '../../models/breadcrumbs/breadcrumbs-items.model';
|
|
6
6
|
import { Errors, Themes } from '../../enums';
|
|
7
|
+
import { CtaWrapper } from '../../models/cta-wrapper.model';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class ErrorComponent implements OnInit, OnDestroy {
|
|
9
10
|
private errorService;
|
|
@@ -20,7 +21,7 @@ export declare class ErrorComponent implements OnInit, OnDestroy {
|
|
|
20
21
|
component: string;
|
|
21
22
|
breadcrumbsItems: BreadcrumbsItems[];
|
|
22
23
|
ctasSubscription: Subscription;
|
|
23
|
-
|
|
24
|
+
ctasContent: CtaWrapper;
|
|
24
25
|
responseText: string;
|
|
25
26
|
backgroundColor: string;
|
|
26
27
|
labelColor: string;
|