tent-lib 0.0.550 → 0.0.552
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/hotel-app/hotel-app.component.mjs +3 -3
- package/esm2022/lib/components/core/location-beach/location-beach.component.mjs +3 -3
- package/esm2022/lib/components/core/offer-details/offer-details.component.mjs +42 -11
- package/esm2022/lib/components/core/offer-list/offer-list.component.mjs +20 -37
- package/esm2022/lib/interfaces/core/offer-details.interface.mjs +2 -0
- package/esm2022/lib/interfaces/core/offer-list.interface.mjs +2 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/tent-lib.mjs +60 -47
- package/fesm2022/tent-lib.mjs.map +1 -1
- package/lib/components/core/offer-details/offer-details.component.d.ts +22 -3
- package/lib/components/core/offer-list/offer-list.component.d.ts +10 -4
- package/lib/interfaces/core/offer-details.interface.d.ts +17 -0
- package/lib/interfaces/core/offer-list.interface.d.ts +10 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -1,9 +1,28 @@
|
|
|
1
|
+
import { BadgeI } from '../../../interfaces/atomic/badge.interface';
|
|
2
|
+
import { ButtonI } from '../../../interfaces/atomic/button.interface';
|
|
3
|
+
import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
|
|
1
4
|
import * as i0 from "@angular/core";
|
|
2
5
|
export declare class OfferDetailsComponent {
|
|
6
|
+
private readonly sanitizer;
|
|
7
|
+
image?: string;
|
|
8
|
+
badge?: BadgeI;
|
|
9
|
+
innerBadge?: BadgeI;
|
|
10
|
+
title?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
additionalDescription?: string;
|
|
13
|
+
links?: ButtonI[];
|
|
14
|
+
conditionsTitle?: string;
|
|
15
|
+
conditions?: string[];
|
|
16
|
+
priceLabel?: string;
|
|
17
|
+
price?: string | number;
|
|
18
|
+
currency?: string;
|
|
19
|
+
button?: ButtonI;
|
|
3
20
|
conditionActive: boolean;
|
|
4
|
-
|
|
5
|
-
|
|
21
|
+
collapsed: boolean;
|
|
22
|
+
get getImage(): SafeStyle;
|
|
23
|
+
constructor(sanitizer: DomSanitizer);
|
|
24
|
+
toggleCollapse(): void;
|
|
6
25
|
toggleConditions(): void;
|
|
7
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<OfferDetailsComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OfferDetailsComponent, "tent-offer-details", never, {}, {}, never, never, true, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OfferDetailsComponent, "tent-offer-details", never, { "image": { "alias": "image"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "innerBadge": { "alias": "innerBadge"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "additionalDescription": { "alias": "additionalDescription"; "required": false; }; "links": { "alias": "links"; "required": false; }; "conditionsTitle": { "alias": "conditionsTitle"; "required": false; }; "conditions": { "alias": "conditions"; "required": false; }; "priceLabel": { "alias": "priceLabel"; "required": false; }; "price": { "alias": "price"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "button": { "alias": "button"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
28
|
}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { OfferI } from '../../../interfaces/core/offer.interface';
|
|
2
|
+
import { ButtonI } from '../../../interfaces/atomic/button.interface';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class OfferListComponent {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
items?: OfferI[];
|
|
6
|
+
title?: string;
|
|
7
|
+
titleDark?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
additionalDescription?: string;
|
|
10
|
+
links?: ButtonI[];
|
|
11
|
+
collapsed: boolean;
|
|
12
|
+
toggleCollapse(): void;
|
|
7
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<OfferListComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OfferListComponent, "tent-offer-list", never, {}, {}, never, never, true, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OfferListComponent, "tent-offer-list", never, { "items": { "alias": "items"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleDark": { "alias": "titleDark"; "required": false; }; "description": { "alias": "description"; "required": false; }; "additionalDescription": { "alias": "additionalDescription"; "required": false; }; "links": { "alias": "links"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
15
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BadgeI } from '../atomic/badge.interface';
|
|
2
|
+
import { ButtonI } from '../atomic/button.interface';
|
|
3
|
+
export interface OfferDetailsI {
|
|
4
|
+
image?: string;
|
|
5
|
+
badge?: BadgeI;
|
|
6
|
+
innerBadge?: BadgeI;
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
additionalDescription?: string;
|
|
10
|
+
links?: ButtonI[];
|
|
11
|
+
conditionsTitle?: string;
|
|
12
|
+
conditions?: string[];
|
|
13
|
+
priceLabel?: string;
|
|
14
|
+
price?: string | number;
|
|
15
|
+
currency?: string;
|
|
16
|
+
button?: ButtonI;
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ButtonI } from '../atomic/button.interface';
|
|
2
|
+
import { OfferI } from './offer.interface';
|
|
3
|
+
export interface OfferListI {
|
|
4
|
+
items?: OfferI[];
|
|
5
|
+
title?: string;
|
|
6
|
+
titleDark?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
additionalDescription?: string;
|
|
9
|
+
links?: ButtonI[];
|
|
10
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -124,5 +124,7 @@ export * from './lib/interfaces/core/contact-office.interface';
|
|
|
124
124
|
export * from './lib/interfaces/core/contact-form.interface';
|
|
125
125
|
export * from './lib/interfaces/core/employment-benefits.interface';
|
|
126
126
|
export * from './lib/interfaces/core/employment-form.interface';
|
|
127
|
+
export * from './lib/interfaces/core/offer-list.interface';
|
|
128
|
+
export * from './lib/interfaces/core/offer-details.interface';
|
|
127
129
|
export * from './services';
|
|
128
130
|
export * from './lib/pipes/currency.pipe';
|