tent-lib 0.0.556 → 0.0.558
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/atomic/badge/badge.component.mjs +3 -3
- package/esm2022/lib/components/atomic/breadcrump/breadcrump.component.mjs +3 -3
- package/esm2022/lib/components/atomic/button/button.component.mjs +3 -3
- package/esm2022/lib/components/atomic/datepicker/datepicker.component.mjs +3 -3
- package/esm2022/lib/components/atomic/dropdown/dropdown.component.mjs +9 -4
- package/esm2022/lib/components/atomic/input/input.component.mjs +12 -4
- package/esm2022/lib/components/core/advantages/advantages.component.mjs +3 -3
- package/esm2022/lib/components/core/brunch/brunch.component.mjs +3 -3
- package/esm2022/lib/components/core/brunch-gallery/brunch-gallery.component.mjs +2 -2
- package/esm2022/lib/components/core/cards-2col/cards-2col.component.mjs +3 -3
- package/esm2022/lib/components/core/cards-3col/cards-3col.component.mjs +3 -3
- package/esm2022/lib/components/core/contact-form/contact-form.component.mjs +10 -3
- package/esm2022/lib/components/core/contact-office/contact-office.component.mjs +3 -3
- package/esm2022/lib/components/core/delivery-app/delivery-app.component.mjs +3 -3
- package/esm2022/lib/components/core/destination-hotels/destination-hotels.component.mjs +3 -3
- package/esm2022/lib/components/core/destination-info/destination-info.component.mjs +3 -3
- package/esm2022/lib/components/core/destination-list/destination-list.component.mjs +3 -3
- package/esm2022/lib/components/core/employment-benefits/employment-benefits.component.mjs +2 -2
- package/esm2022/lib/components/core/employment-form/employment-form.component.mjs +3 -3
- package/esm2022/lib/components/core/facilities-slider/facilities-slider.component.mjs +3 -3
- package/esm2022/lib/components/core/footer-a/footer-a.component.mjs +3 -3
- package/esm2022/lib/components/core/footer-b/footer-b.component.mjs +3 -3
- package/esm2022/lib/components/core/footer-static/footer-static.component.mjs +3 -3
- package/esm2022/lib/components/core/gallery-photos/gallery-photos.component.mjs +3 -3
- package/esm2022/lib/components/core/generic-head/generic-head.component.mjs +3 -3
- package/esm2022/lib/components/core/guests-popup/guests-popup.component.mjs +3 -3
- package/esm2022/lib/components/core/header/header.component.mjs +3 -3
- package/esm2022/lib/components/core/header-mobile/header-mobile.component.mjs +3 -3
- package/esm2022/lib/components/core/hotel-about/hotel-about.component.mjs +3 -3
- package/esm2022/lib/components/core/hotel-app/hotel-app.component.mjs +3 -3
- package/esm2022/lib/components/core/hotel-equipment/hotel-equipment.component.mjs +3 -3
- package/esm2022/lib/components/core/hotel-location/hotel-location.component.mjs +3 -3
- package/esm2022/lib/components/core/hotel-services/hotel-services.component.mjs +3 -3
- package/esm2022/lib/components/core/hotel-slider/hotel-slider.component.mjs +3 -3
- package/esm2022/lib/components/core/hotels-list/hotels-list.component.mjs +3 -21
- package/esm2022/lib/components/core/info-slider/info-slider.component.mjs +3 -3
- package/esm2022/lib/components/core/location-beach/location-beach.component.mjs +3 -3
- package/esm2022/lib/components/core/location-how/location-how.component.mjs +3 -3
- package/esm2022/lib/components/core/location-map/location-map.component.mjs +3 -3
- package/esm2022/lib/components/core/modals/books-modal/books-modal.component.mjs +3 -3
- package/esm2022/lib/components/core/modals/checkin-modal/checkin-modal.component.mjs +3 -3
- package/esm2022/lib/components/core/modals/gallery-category/gallery-category.component.mjs +3 -3
- package/esm2022/lib/components/core/modals/hotel-list-modal/hotel-list-modal.component.mjs +3 -3
- package/esm2022/lib/components/core/modals/menu-modal/menu-modal.component.mjs +3 -3
- package/esm2022/lib/components/core/modals/newsletter-modal/newsletter-modal.component.mjs +3 -3
- package/esm2022/lib/components/core/modals/room-zoom-modal/room-zoom-modal.component.mjs +3 -3
- package/esm2022/lib/components/core/module-404/module-404.component.mjs +3 -3
- package/esm2022/lib/components/core/module-google-maps/module-google-maps.component.mjs +3 -3
- package/esm2022/lib/components/core/module-search/module-search.component.mjs +3 -3
- package/esm2022/lib/components/core/motor/motor.component.mjs +3 -3
- package/esm2022/lib/components/core/offer/offer.component.mjs +3 -3
- package/esm2022/lib/components/core/offer-banner/offer-banner.component.mjs +3 -3
- package/esm2022/lib/components/core/offer-details/offer-details.component.mjs +3 -3
- package/esm2022/lib/components/core/offer-list/offer-list.component.mjs +3 -3
- package/esm2022/lib/components/core/offer-slider/offer-slider.component.mjs +3 -3
- package/esm2022/lib/components/core/registration/registration.component.mjs +3 -3
- package/esm2022/lib/components/core/room-slider/room-slider.component.mjs +3 -3
- package/esm2022/lib/components/core/services-details/services-details.component.mjs +3 -3
- package/esm2022/lib/components/core/submenu/submenu.component.mjs +3 -3
- package/esm2022/lib/components/core/thanks/thanks.component.mjs +2 -2
- package/esm2022/lib/components/core/top-module/top-module.component.mjs +3 -3
- package/esm2022/lib/components/core/travelers/travelers.component.mjs +3 -3
- package/esm2022/lib/components/core/webmap/webmap.component.mjs +2 -2
- package/fesm2022/tent-lib.mjs +148 -146
- package/fesm2022/tent-lib.mjs.map +1 -1
- package/lib/components/atomic/dropdown/dropdown.component.d.ts +3 -1
- package/lib/components/atomic/input/input.component.d.ts +4 -1
- package/lib/components/core/contact-form/contact-form.component.d.ts +2 -0
- package/lib/components/core/hotels-list/hotels-list.component.d.ts +0 -7
- package/package.json +1 -1
|
@@ -10,6 +10,8 @@ export declare class DropdownComponent implements ControlValueAccessor, OnInit {
|
|
|
10
10
|
options?: DropdownOption[];
|
|
11
11
|
name: string;
|
|
12
12
|
iconLeft?: string;
|
|
13
|
+
error?: string;
|
|
14
|
+
valid: boolean;
|
|
13
15
|
isDisabled: boolean;
|
|
14
16
|
light: boolean;
|
|
15
17
|
showTitleTop: boolean;
|
|
@@ -29,7 +31,7 @@ export declare class DropdownComponent implements ControlValueAccessor, OnInit {
|
|
|
29
31
|
registerOnTouched(fn: any): void;
|
|
30
32
|
setDisabledState(isDisabled: boolean): void;
|
|
31
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "tent-dropdown", never, { "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "title": { "alias": "title"; "required": false; }; "smallTitle": { "alias": "smallTitle"; "required": false; }; "options": { "alias": "options"; "required": false; }; "name": { "alias": "name"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "light": { "alias": "light"; "required": false; }; "showTitleTop": { "alias": "showTitleTop"; "required": false; }; "sameTitlePlaceholder": { "alias": "sameTitlePlaceholder"; "required": false; }; "staticPosition": { "alias": "staticPosition"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "tent-dropdown", never, { "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "title": { "alias": "title"; "required": false; }; "smallTitle": { "alias": "smallTitle"; "required": false; }; "options": { "alias": "options"; "required": false; }; "name": { "alias": "name"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "error": { "alias": "error"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "light": { "alias": "light"; "required": false; }; "showTitleTop": { "alias": "showTitleTop"; "required": false; }; "sameTitlePlaceholder": { "alias": "sameTitlePlaceholder"; "required": false; }; "staticPosition": { "alias": "staticPosition"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
|
|
33
35
|
}
|
|
34
36
|
export interface DropdownOption {
|
|
35
37
|
name: string;
|
|
@@ -10,8 +10,11 @@ export declare class InputComponent implements InputI, ControlValueAccessor {
|
|
|
10
10
|
title?: string;
|
|
11
11
|
required?: boolean;
|
|
12
12
|
name: string;
|
|
13
|
+
error?: string;
|
|
13
14
|
isDisabled: boolean;
|
|
15
|
+
valid: boolean;
|
|
14
16
|
change: EventEmitter<string | File[]>;
|
|
17
|
+
inputBlur: EventEmitter<void>;
|
|
15
18
|
onChange: (_: string | File[]) => void;
|
|
16
19
|
onTouch: () => void;
|
|
17
20
|
onInputChange(event: Event): void;
|
|
@@ -22,5 +25,5 @@ export declare class InputComponent implements InputI, ControlValueAccessor {
|
|
|
22
25
|
registerOnTouched(fn: any): void;
|
|
23
26
|
setDisabledState(isDisabled: boolean): void;
|
|
24
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "tent-input", never, { "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "required": { "alias": "required"; "required": false; }; "name": { "alias": "name"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "tent-input", never, { "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "required": { "alias": "required"; "required": false; }; "name": { "alias": "name"; "required": false; }; "error": { "alias": "error"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "valid": { "alias": "valid"; "required": false; }; }, { "change": "change"; "inputBlur": "inputBlur"; }, never, never, true, never>;
|
|
26
29
|
}
|
|
@@ -23,6 +23,8 @@ export declare class ContactFormComponent implements AfterViewInit {
|
|
|
23
23
|
constructor(fb: FormBuilder);
|
|
24
24
|
ngAfterViewInit(): void;
|
|
25
25
|
initializeForm(): void;
|
|
26
|
+
validateInput(name: string): void;
|
|
27
|
+
validateDropdown(): void;
|
|
26
28
|
submitForm(): void;
|
|
27
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContactFormComponent, never>;
|
|
28
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<ContactFormComponent, "tent-contact-form", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "conditions": { "alias": "conditions"; "required": false; }; "requiredFieldsLabel": { "alias": "requiredFieldsLabel"; "required": false; }; "dropdown": { "alias": "dropdown"; "required": true; }; "inputs": { "alias": "inputs"; "required": true; }; "textarea": { "alias": "textarea"; "required": true; }; "button": { "alias": "button"; "required": false; }; }, { "formSubmit": "formSubmit"; }, never, never, true, never>;
|
|
@@ -11,11 +11,9 @@ export declare class HotelsListComponent implements OnInit, OnChanges {
|
|
|
11
11
|
items?: HotelsListItem[];
|
|
12
12
|
hotelClick: EventEmitter<HotelsListItem>;
|
|
13
13
|
collapsed?: boolean[];
|
|
14
|
-
groupedItems: HotelsListRow[];
|
|
15
14
|
constructor(sanitizer: DomSanitizer);
|
|
16
15
|
ngOnInit(): void;
|
|
17
16
|
ngOnChanges(changes: SimpleChanges): void;
|
|
18
|
-
groupItems(): void;
|
|
19
17
|
getImage(image: string): SafeStyle;
|
|
20
18
|
toggleCollapse(index: number): void;
|
|
21
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<HotelsListComponent, never>;
|
|
@@ -36,10 +34,5 @@ export interface HotelsListItem {
|
|
|
36
34
|
button?: ButtonI;
|
|
37
35
|
hotelUrl?: string;
|
|
38
36
|
destinyId?: string | number;
|
|
39
|
-
parentDestiny?: string;
|
|
40
37
|
id: number;
|
|
41
38
|
}
|
|
42
|
-
export interface HotelsListRow {
|
|
43
|
-
parentDestiny?: string;
|
|
44
|
-
items?: HotelsListItem[];
|
|
45
|
-
}
|