ctt-babylon 0.8.3 → 0.8.5
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/core/babylon-offer-popup/babylon-offer-popup.component.mjs +5 -3
- package/esm2022/lib/directives/link-type/link-type.directive.mjs +61 -4
- package/esm2022/lib/services/mapper/mapper.service.mjs +2 -1
- package/esm2022/lib/utils/complex-links.token.mjs +3 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/ctt-babylon.mjs +68 -8
- package/fesm2022/ctt-babylon.mjs.map +1 -1
- package/lib/components/core/babylon-offer-popup/babylon-offer-popup.component.d.ts +2 -1
- package/lib/directives/link-type/link-type.directive.d.ts +6 -0
- package/lib/utils/complex-links.token.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -10,6 +10,7 @@ export declare class BabylonOfferPopupComponent implements AfterViewInit {
|
|
|
10
10
|
image?: BabylonImageI;
|
|
11
11
|
button?: BabylonButtonI;
|
|
12
12
|
texts?: BabylonTextInfoI;
|
|
13
|
+
additionalButtons?: BabylonButtonI[];
|
|
13
14
|
popupOfferOpen: boolean;
|
|
14
15
|
hasAnyValue: boolean;
|
|
15
16
|
private platformId;
|
|
@@ -17,5 +18,5 @@ export declare class BabylonOfferPopupComponent implements AfterViewInit {
|
|
|
17
18
|
ngAfterViewInit(): void;
|
|
18
19
|
close(): void;
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<BabylonOfferPopupComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonOfferPopupComponent, "lib-babylon-offer-popup", never, { "image": { "alias": "image"; "required": false; }; "button": { "alias": "button"; "required": false; }; "texts": { "alias": "texts"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonOfferPopupComponent, "lib-babylon-offer-popup", never, { "image": { "alias": "image"; "required": false; }; "button": { "alias": "button"; "required": false; }; "texts": { "alias": "texts"; "required": false; }; "additionalButtons": { "alias": "additionalButtons"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
22
|
}
|
|
@@ -10,6 +10,9 @@ export declare class BabylonLinkTypeDirective implements OnChanges {
|
|
|
10
10
|
clickPopup?: EventEmitter<string>;
|
|
11
11
|
anchorClicked: EventEmitter<void>;
|
|
12
12
|
private platformId;
|
|
13
|
+
private hasComplexLinks;
|
|
14
|
+
private readonly siteSvc;
|
|
15
|
+
private readonly ngZone;
|
|
13
16
|
private readonly PHONE_RE;
|
|
14
17
|
private readonly MAILTO_RE;
|
|
15
18
|
private readonly ADDRESS_RE;
|
|
@@ -28,6 +31,9 @@ export declare class BabylonLinkTypeDirective implements OnChanges {
|
|
|
28
31
|
private buildMapsUrl;
|
|
29
32
|
private isExternalType;
|
|
30
33
|
private detectExternalKind;
|
|
34
|
+
private checkExternalLanguages;
|
|
35
|
+
private redirectToHomeAnchor;
|
|
36
|
+
private scrollToSection;
|
|
31
37
|
private applyNormalizedHref;
|
|
32
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<BabylonLinkTypeDirective, never>;
|
|
33
39
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BabylonLinkTypeDirective, "[linkType]", never, { "linkType": { "alias": "linkType"; "required": false; }; "href": { "alias": "href"; "required": false; }; "modalClick": { "alias": "modalClick"; "required": false; }; "clickPopup": { "alias": "clickPopup"; "required": false; }; }, { "anchorClicked": "anchorClicked"; }, never, never, true, never>;
|
package/package.json
CHANGED