@net7/components 3.0.2-rc.2 → 3.2.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.
- package/esm2020/lib/components/advanced-autocomplete/advanced-autocomplete.mjs +3 -3
- package/esm2020/lib/components/alert/alert.mjs +3 -3
- package/esm2020/lib/components/anchor-wrapper/anchor-wrapper.mjs +3 -3
- package/esm2020/lib/components/breadcrumbs/breadcrumbs.mjs +3 -3
- package/esm2020/lib/components/bubble-chart/bubble-chart.mjs +179 -134
- package/esm2020/lib/components/carousel/carousel.mjs +3 -3
- package/esm2020/lib/components/chart/chart.mjs +3 -3
- package/esm2020/lib/components/content-placeholder/content-placeholder.mjs +3 -3
- package/esm2020/lib/components/data-widget/data-widget.mjs +3 -3
- package/esm2020/lib/components/datepicker/datepicker.mjs +3 -3
- package/esm2020/lib/components/facet/facet.mjs +3 -3
- package/esm2020/lib/components/facet-header/facet-header.mjs +3 -3
- package/esm2020/lib/components/facet-year-range/facet-year-range.mjs +3 -3
- package/esm2020/lib/components/footer/footer.mjs +3 -3
- package/esm2020/lib/components/header/header.mjs +3 -3
- package/esm2020/lib/components/hero/hero.mjs +3 -3
- package/esm2020/lib/components/histogram-range/histogram-range.mjs +27 -13
- package/esm2020/lib/components/histogram-range/histogram-range.mock.mjs +3 -3
- package/esm2020/lib/components/image-viewer/image-viewer.mjs +3 -3
- package/esm2020/lib/components/image-viewer-tools/image-viewer-tools.mjs +5 -5
- package/esm2020/lib/components/inner-title/inner-title.mjs +3 -3
- package/esm2020/lib/components/input-checkbox/input-checkbox.mjs +5 -5
- package/esm2020/lib/components/input-link/input-link.mjs +3 -3
- package/esm2020/lib/components/input-select/input-select.mjs +5 -5
- package/esm2020/lib/components/input-text/input-text.mjs +5 -5
- package/esm2020/lib/components/item-preview/item-preview.mjs +3 -3
- package/esm2020/lib/components/loader/loader.mjs +3 -3
- package/esm2020/lib/components/map/map.mjs +3 -3
- package/esm2020/lib/components/metadata-viewer/metadata-viewer.mjs +3 -3
- package/esm2020/lib/components/nav/nav.mjs +3 -3
- package/esm2020/lib/components/pagination/pagination.mjs +3 -3
- package/esm2020/lib/components/progress-line/progress-line.mjs +3 -3
- package/esm2020/lib/components/sidebar-header/sidebar-header.mjs +3 -3
- package/esm2020/lib/components/signup/signup.mjs +3 -3
- package/esm2020/lib/components/simple-autocomplete/simple-autocomplete.mjs +3 -3
- package/esm2020/lib/components/table/table.mjs +3 -3
- package/esm2020/lib/components/tag/tag.mjs +3 -3
- package/esm2020/lib/components/text-viewer/text-viewer.mjs +15 -5
- package/esm2020/lib/components/text-viewer/text-viewer.mock.mjs +29 -26
- package/esm2020/lib/components/timeline/timeline.mjs +3 -3
- package/esm2020/lib/components/toast/toast.mjs +3 -3
- package/esm2020/lib/components/tooltip-content/tooltip-content.mjs +3 -3
- package/esm2020/lib/components/tree/tree.mjs +3 -3
- package/esm2020/lib/components/wizard/wizard.mjs +3 -3
- package/esm2020/lib/dv-components-lib.module.mjs +4 -4
- package/fesm2015/net7-components.mjs +374 -301
- package/fesm2015/net7-components.mjs.map +1 -1
- package/fesm2020/net7-components.mjs +373 -301
- package/fesm2020/net7-components.mjs.map +1 -1
- package/lib/components/bubble-chart/bubble-chart.d.ts +36 -17
- package/lib/components/histogram-range/histogram-range.d.ts +11 -1
- package/lib/components/text-viewer/text-viewer.d.ts +2 -0
- package/package.json +1 -1
- package/src/lib/styles/components/_text-viewer.scss +7 -1
|
@@ -6,9 +6,9 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
import * as i1 from "@angular/common";
|
|
7
7
|
export class ContentPlaceholderComponent {
|
|
8
8
|
}
|
|
9
|
-
ContentPlaceholderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
10
|
-
ContentPlaceholderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
9
|
+
ContentPlaceholderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ContentPlaceholderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
+
ContentPlaceholderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: ContentPlaceholderComponent, selector: "n7-content-placeholder", inputs: { data: "data" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-content-placeholder\">\n <ng-container *ngFor=\"let b of data.blocks\">\n <div *ngIf=\"!b.image\" class=\"n7-content-placeholder__item {{b.classes || ''}}\"></div>\n <img *ngIf=\"b.image\" class=\"n7-content-placeholder__image {{b.classes || ''}}\" src=\"{{b.image}}\" alt=\"{{ b.alt || '' }}\">\n </ng-container>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ContentPlaceholderComponent, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{ selector: 'n7-content-placeholder', template: "<div *ngIf=\"data\" class=\"n7-content-placeholder\">\n <ng-container *ngFor=\"let b of data.blocks\">\n <div *ngIf=\"!b.image\" class=\"n7-content-placeholder__item {{b.classes || ''}}\"></div>\n <img *ngIf=\"b.image\" class=\"n7-content-placeholder__image {{b.classes || ''}}\" src=\"{{b.image}}\" alt=\"{{ b.alt || '' }}\">\n </ng-container>\n</div>" }]
|
|
14
14
|
}], propDecorators: { data: [{
|
|
@@ -16,9 +16,9 @@ export class DataWidgetComponent {
|
|
|
16
16
|
this.emit('mouseleave', payload);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
DataWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
20
|
-
DataWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
19
|
+
DataWidgetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DataWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
DataWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: DataWidgetComponent, selector: "n7-data-widget", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-data-widget {{ data.classes || '' }}\">\n <div class=\"n7-data-widget__main\">\n <span *ngIf=\"data.icon\"\n class=\"n7-data-widget__main-icon {{data.icon}}\"\n (mouseenter)=\"onMouseEnter(data.payload)\"\n (mouseleave)=\"onMouseLeave(data.payload)\">\n </span>\n <h2 class=\"n7-data-widget__main-title\"\n [innerHTML]=\"data.text\">\n </h2>\n </div>\n \n <div *ngIf=\"data.subtitle && (data.subtitle.text || data.subtitle.icon || data.subtitle.value)\"\n class=\"n7-data-widget__sub\">\n <p *ngIf=\"data.subtitle.text\"\n class=\"n7-data-widget__sub-title\"\n [innerHTML]=\"data.subtitle.text\">\n </p>\n <span *ngIf=\"data.subtitle.icon || data.subtitle.value\"\n class=\"n7-data-widget__sub-info\"\n (mouseenter)=\"onMouseEnter(data.subtitle.payload)\"\n (mouseleave)=\"onMouseLeave(data.subtitle.payload)\">\n <span *ngIf=\"data.subtitle.icon\"\n class=\"n7-data-widget__sub-info-icon {{data.subtitle.icon}}\">\n </span>\n <span *ngIf=\"data.subtitle.value\"\n class=\"n7-data-widget__sub-info-label\"\n [innerHTML]=\"data.subtitle.value\">\n </span>\n </span>\n </div>\n</div>\n", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DataWidgetComponent, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
23
|
args: [{ selector: 'n7-data-widget', template: "<div *ngIf=\"data\" class=\"n7-data-widget {{ data.classes || '' }}\">\n <div class=\"n7-data-widget__main\">\n <span *ngIf=\"data.icon\"\n class=\"n7-data-widget__main-icon {{data.icon}}\"\n (mouseenter)=\"onMouseEnter(data.payload)\"\n (mouseleave)=\"onMouseLeave(data.payload)\">\n </span>\n <h2 class=\"n7-data-widget__main-title\"\n [innerHTML]=\"data.text\">\n </h2>\n </div>\n \n <div *ngIf=\"data.subtitle && (data.subtitle.text || data.subtitle.icon || data.subtitle.value)\"\n class=\"n7-data-widget__sub\">\n <p *ngIf=\"data.subtitle.text\"\n class=\"n7-data-widget__sub-title\"\n [innerHTML]=\"data.subtitle.text\">\n </p>\n <span *ngIf=\"data.subtitle.icon || data.subtitle.value\"\n class=\"n7-data-widget__sub-info\"\n (mouseenter)=\"onMouseEnter(data.subtitle.payload)\"\n (mouseleave)=\"onMouseLeave(data.subtitle.payload)\">\n <span *ngIf=\"data.subtitle.icon\"\n class=\"n7-data-widget__sub-info-icon {{data.subtitle.icon}}\">\n </span>\n <span *ngIf=\"data.subtitle.value\"\n class=\"n7-data-widget__sub-info-label\"\n [innerHTML]=\"data.subtitle.value\">\n </span>\n </span>\n </div>\n</div>\n" }]
|
|
24
24
|
}], propDecorators: { data: [{
|
|
@@ -31,9 +31,9 @@ export class DatepickerComponent {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
DatepickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
35
|
-
DatepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
34
|
+
DatepickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DatepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
+
DatepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: DatepickerComponent, selector: "n7-datepicker", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-datepicker {{ data.classes || '' }}\">\n <input type=\"text\" id=\"{{this.data.id}}\"/>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: DatepickerComponent, decorators: [{
|
|
37
37
|
type: Component,
|
|
38
38
|
args: [{ selector: 'n7-datepicker', template: "<div *ngIf=\"data\" class=\"n7-datepicker {{ data.classes || '' }}\">\n <input type=\"text\" id=\"{{this.data.id}}\"/>\n</div>" }]
|
|
39
39
|
}], propDecorators: { data: [{
|
|
@@ -11,9 +11,9 @@ export class FacetComponent {
|
|
|
11
11
|
this.emit('change', { inputPayload, value });
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
FacetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
15
|
-
FacetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
14
|
+
FacetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FacetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
FacetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: FacetComponent, selector: "n7-facet", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-facet\">\n <div *ngFor=\"let section of data.sections\" class=\"n7-facet__section {{ section.classes || '' }}\">\n <div *ngFor=\"let input of section.inputs\"\n class=\"n7-facet__section-input n7-facet__section-input-{{ input.type }} {{ input.classes || '' }}\">\n\n <ng-container [ngSwitch]=\"input.type\">\n\n <!-- Checkbox -->\n <ng-container *ngSwitchCase=\"'checkbox'\">\n <input type=\"checkbox\" id=\"{{ input.id }}\" class=\"n7-facet__input-checkbox-input\"\n [checked]=\"input.checked\"\n [disabled]=\"input.disabled\"\n (change)=\"onChange(input.payload, $event.target.checked)\">\n <label *ngIf=\"input.label\" class=\"n7-facet__checkbox-label\" for=\"{{ input.id }}\">\n {{ input.label }}\n </label>\n </ng-container>\n\n <!-- Text -->\n <ng-container *ngSwitchCase=\"'text'\">\n <label *ngIf=\"input.label\" class=\"n7-facet__input-text-label\" for=\"{{ input.id }}\">\n {{ input.label }}\n </label>\n <div class=\"n7-facet__input-text-wrapper\">\n <input type=\"text\" id=\"{{ input.id }}\" class=\"n7-facet__input-text {{input.classes || ''}}\"\n placeholder=\"{{input.placeholder || ''}}\"\n [value]=\"input.value || null\"\n [disabled]=\"input.disabled\"\n (input)=\"onChange(input.inputPayload, $event.target.value)\"\n (keyup.enter)=\"onChange(input.enterPayload, $event.target.value)\">\n <span *ngIf=\"input.icon\" class=\"n7-facet__input-text-icon {{input.icon || ''}}\" \n (click)=\"onChange(input.iconPayload)\">\n </span>\n </div>\n </ng-container>\n\n <!-- Link -->\n <ng-container *ngSwitchCase=\"'link'\">\n <div class=\"n7-facet__input-link {{ input.classes || '' }}\"\n (click)=\"onChange(input.payload)\">\n <span *ngIf=\"input.icon\" class=\"n7-facet__input-link-icon {{ input.icon }}\"></span>\n <span class=\"n7-facet__input-link-text\">{{ input.text }}</span>\n <span *ngIf=\"input.counter || input.counter === 0\" class=\"n7-facet__input-link-counter\">{{ input.counter }}</span>\n </div>\n </ng-container>\n\n <!-- Select -->\n <ng-container *ngSwitchCase=\"'select'\">\n <label *ngIf=\"input.label\" for=\"{{ input.id }}\">{{ input.label }}</label>\n <select (change)=\"onChange(input.payload, $event.target.value)\" \n id=\"{{ input.id }}\"\n class=\"n7-facet__input-select {{ input.classes || '' }}\"\n [disabled]=\"input.disabled\">\n <option *ngFor=\"let option of input.options\" \n [value]=\"option.value\" \n [disabled]=\"option.disabled\" \n [selected]=\"option.selected\">{{ option.label }}</option>\n </select>\n </ng-container>\n </ng-container>\n\n </div>\n </div>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }] });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FacetComponent, decorators: [{
|
|
17
17
|
type: Component,
|
|
18
18
|
args: [{ selector: 'n7-facet', template: "<div *ngIf=\"data\" class=\"n7-facet\">\n <div *ngFor=\"let section of data.sections\" class=\"n7-facet__section {{ section.classes || '' }}\">\n <div *ngFor=\"let input of section.inputs\"\n class=\"n7-facet__section-input n7-facet__section-input-{{ input.type }} {{ input.classes || '' }}\">\n\n <ng-container [ngSwitch]=\"input.type\">\n\n <!-- Checkbox -->\n <ng-container *ngSwitchCase=\"'checkbox'\">\n <input type=\"checkbox\" id=\"{{ input.id }}\" class=\"n7-facet__input-checkbox-input\"\n [checked]=\"input.checked\"\n [disabled]=\"input.disabled\"\n (change)=\"onChange(input.payload, $event.target.checked)\">\n <label *ngIf=\"input.label\" class=\"n7-facet__checkbox-label\" for=\"{{ input.id }}\">\n {{ input.label }}\n </label>\n </ng-container>\n\n <!-- Text -->\n <ng-container *ngSwitchCase=\"'text'\">\n <label *ngIf=\"input.label\" class=\"n7-facet__input-text-label\" for=\"{{ input.id }}\">\n {{ input.label }}\n </label>\n <div class=\"n7-facet__input-text-wrapper\">\n <input type=\"text\" id=\"{{ input.id }}\" class=\"n7-facet__input-text {{input.classes || ''}}\"\n placeholder=\"{{input.placeholder || ''}}\"\n [value]=\"input.value || null\"\n [disabled]=\"input.disabled\"\n (input)=\"onChange(input.inputPayload, $event.target.value)\"\n (keyup.enter)=\"onChange(input.enterPayload, $event.target.value)\">\n <span *ngIf=\"input.icon\" class=\"n7-facet__input-text-icon {{input.icon || ''}}\" \n (click)=\"onChange(input.iconPayload)\">\n </span>\n </div>\n </ng-container>\n\n <!-- Link -->\n <ng-container *ngSwitchCase=\"'link'\">\n <div class=\"n7-facet__input-link {{ input.classes || '' }}\"\n (click)=\"onChange(input.payload)\">\n <span *ngIf=\"input.icon\" class=\"n7-facet__input-link-icon {{ input.icon }}\"></span>\n <span class=\"n7-facet__input-link-text\">{{ input.text }}</span>\n <span *ngIf=\"input.counter || input.counter === 0\" class=\"n7-facet__input-link-counter\">{{ input.counter }}</span>\n </div>\n </ng-container>\n\n <!-- Select -->\n <ng-container *ngSwitchCase=\"'select'\">\n <label *ngIf=\"input.label\" for=\"{{ input.id }}\">{{ input.label }}</label>\n <select (change)=\"onChange(input.payload, $event.target.value)\" \n id=\"{{ input.id }}\"\n class=\"n7-facet__input-select {{ input.classes || '' }}\"\n [disabled]=\"input.disabled\">\n <option *ngFor=\"let option of input.options\" \n [value]=\"option.value\" \n [disabled]=\"option.disabled\" \n [selected]=\"option.selected\">{{ option.label }}</option>\n </select>\n </ng-container>\n </ng-container>\n\n </div>\n </div>\n</div>" }]
|
|
19
19
|
}], propDecorators: { data: [{
|
|
@@ -11,9 +11,9 @@ export class FacetHeaderComponent {
|
|
|
11
11
|
this.emit('click', payload);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
FacetHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
15
|
-
FacetHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
14
|
+
FacetHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FacetHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
FacetHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: FacetHeaderComponent, selector: "n7-facet-header", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" \nclass=\"n7-facet-header {{ data.classes || '' }}\" \n(click)=\"onClick(data.payload)\">\n <span *ngIf=\"data.iconLeft\"\n class=\"n7-facet-header__icon-left {{ data.iconLeft }}\">\n </span>\n <span class=\"n7-facet-header__text-wrapper\">\n <span class=\"n7-facet-header__text\">\n {{data.text}}\n </span>\n <span class=\"n7-facet-header__secondary-text\" *ngIf=\"data.additionalText\">\n {{data.additionalText}}\n </span>\n </span>\n <span *ngIf=\"data.iconRight\" \n class=\"n7-facet-header__icon-right {{ data.iconRight }}\">\n </span>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FacetHeaderComponent, decorators: [{
|
|
17
17
|
type: Component,
|
|
18
18
|
args: [{ selector: 'n7-facet-header', template: "<div *ngIf=\"data\" \nclass=\"n7-facet-header {{ data.classes || '' }}\" \n(click)=\"onClick(data.payload)\">\n <span *ngIf=\"data.iconLeft\"\n class=\"n7-facet-header__icon-left {{ data.iconLeft }}\">\n </span>\n <span class=\"n7-facet-header__text-wrapper\">\n <span class=\"n7-facet-header__text\">\n {{data.text}}\n </span>\n <span class=\"n7-facet-header__secondary-text\" *ngIf=\"data.additionalText\">\n {{data.additionalText}}\n </span>\n </span>\n <span *ngIf=\"data.iconRight\" \n class=\"n7-facet-header__icon-right {{ data.iconRight }}\">\n </span>\n</div>" }]
|
|
19
19
|
}], propDecorators: { data: [{
|
|
@@ -40,9 +40,9 @@ export class FacetYearRangeComponent {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
FacetYearRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
44
|
-
FacetYearRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
43
|
+
FacetYearRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FacetYearRangeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
+
FacetYearRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: FacetYearRangeComponent, selector: "n7-facet-year-range", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-facet-year-range\">\n\n <!-- Select starting year -->\n <div class=\"n7-facet-year-range__in\">\n <label class=\"n7-facet-year-range__in-label\">\n {{ data.inDate.text }}\n </label>\n <select (change)=\"onChange(data.inDate.payload, $event.target.value)\"\n class=\"n7-facet-year-range__in-select {{ data.inDate.classes || '' }}\">\n <!-- Placeholder option -->\n <option *ngIf=\"data.inDate.placeholder.length > 0\" value=\"{{ data.inDate.placeholder }}\" disabled selected>\n {{ data.inDate.placeholder }}\n </option>\n <option *ngFor=\"let opt of data.inDate.options\" value=\"{{ opt.value }}\">\n {{ opt.value }}\n </option>\n </select>\n </div>\n\n <!-- Select final year -->\n <div class=\"n7-facet-year-range__out\">\n <label class=\"n7-facet-year-range__out-label\">\n {{ data.outDate.text }}\n </label>\n <select (change)=\"onChange(data.outDate.payload, $event.target.value)\"\n class=\"n7-facet-year-range__out-select {{ data.outDate.classes || '' }}\"\n formControlName=\"outDate\">\n <!-- Placeholder option -->\n <option *ngIf=\"data.outDate.placeholder.length > 0\" value=\"{{ data.outDate.placeholder }}\" disabled selected>\n {{ data.outDate.placeholder }}\n </option>\n <option *ngFor=\"let opt of data.outDate.options\" value=\"{{ opt.value }}\">\n {{ opt.value }}\n </option>\n </select>\n </div>\n</div>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FacetYearRangeComponent, decorators: [{
|
|
46
46
|
type: Component,
|
|
47
47
|
args: [{ selector: 'n7-facet-year-range', template: "<div *ngIf=\"data\" class=\"n7-facet-year-range\">\n\n <!-- Select starting year -->\n <div class=\"n7-facet-year-range__in\">\n <label class=\"n7-facet-year-range__in-label\">\n {{ data.inDate.text }}\n </label>\n <select (change)=\"onChange(data.inDate.payload, $event.target.value)\"\n class=\"n7-facet-year-range__in-select {{ data.inDate.classes || '' }}\">\n <!-- Placeholder option -->\n <option *ngIf=\"data.inDate.placeholder.length > 0\" value=\"{{ data.inDate.placeholder }}\" disabled selected>\n {{ data.inDate.placeholder }}\n </option>\n <option *ngFor=\"let opt of data.inDate.options\" value=\"{{ opt.value }}\">\n {{ opt.value }}\n </option>\n </select>\n </div>\n\n <!-- Select final year -->\n <div class=\"n7-facet-year-range__out\">\n <label class=\"n7-facet-year-range__out-label\">\n {{ data.outDate.text }}\n </label>\n <select (change)=\"onChange(data.outDate.payload, $event.target.value)\"\n class=\"n7-facet-year-range__out-select {{ data.outDate.classes || '' }}\"\n formControlName=\"outDate\">\n <!-- Placeholder option -->\n <option *ngIf=\"data.outDate.placeholder.length > 0\" value=\"{{ data.outDate.placeholder }}\" disabled selected>\n {{ data.outDate.placeholder }}\n </option>\n <option *ngFor=\"let opt of data.outDate.options\" value=\"{{ opt.value }}\">\n {{ opt.value }}\n </option>\n </select>\n </div>\n</div>" }]
|
|
48
48
|
}], propDecorators: { data: [{
|
|
@@ -12,9 +12,9 @@ export class FooterComponent {
|
|
|
12
12
|
this.emit('click', payload);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
FooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
16
|
-
FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
15
|
+
FooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: FooterComponent, selector: "n7-footer", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-footer {{data.classes || ''}}\">\n <div class=\"n7-footer__content\">\n <!-- Loop footer content columns -->\n <div class=\"n7-footer__column {{column.classes || ''}}\" *ngFor=\"let column of data.columns\">\n <ng-container *ngTemplateOutlet=\"footerColumn; context:{$implicit: column}\"></ng-container>\n </div>\n </div>\n</div>\n\n<!-- Template: Columns -->\n<ng-template #footerColumn let-column>\n <h2 *ngIf=\"column.title\" class=\"n7-footer__column-title\">\n {{ column.title }}\n </h2>\n <p *ngIf=\"column.text\" \n class=\"n7-footer__column-text\"\n [innerHTML]=\"column.text\">\n </p>\n <div *ngIf=\"column.links\" class=\"n7-footer__column-nav\">\n <ul class=\"n7-footer__column-nav-list\">\n <li *ngFor=\"let link of column.links\"\n class=\"n7-footer__column-nav-item {{link.classes || ''}}\">\n <n7-anchor-wrapper [classes]=\"'n7-footer__column-nav-link'\"\n [data]=\"link.anchor\"\n (clicked)=\"onClick($event)\">\n {{ link.text }}\n </n7-anchor-wrapper>\n </li>\n </ul>\n </div>\n\n <div *ngIf=\"column.images\" class=\"n7-footer__column-images\">\n <n7-anchor-wrapper *ngFor=\"let image of column.images\"\n [classes]=\"image.classes || ''\"\n [data]=\"image.anchor\"\n (clicked)=\"onClick($event)\">\n <img \n [src]=\"image.url\" \n [attr.alt]=\"image.alttext\" />\n </n7-anchor-wrapper>\n </div>\n</ng-template>", components: [{ type: i1.AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FooterComponent, decorators: [{
|
|
18
18
|
type: Component,
|
|
19
19
|
args: [{ selector: 'n7-footer', template: "<div *ngIf=\"data\" class=\"n7-footer {{data.classes || ''}}\">\n <div class=\"n7-footer__content\">\n <!-- Loop footer content columns -->\n <div class=\"n7-footer__column {{column.classes || ''}}\" *ngFor=\"let column of data.columns\">\n <ng-container *ngTemplateOutlet=\"footerColumn; context:{$implicit: column}\"></ng-container>\n </div>\n </div>\n</div>\n\n<!-- Template: Columns -->\n<ng-template #footerColumn let-column>\n <h2 *ngIf=\"column.title\" class=\"n7-footer__column-title\">\n {{ column.title }}\n </h2>\n <p *ngIf=\"column.text\" \n class=\"n7-footer__column-text\"\n [innerHTML]=\"column.text\">\n </p>\n <div *ngIf=\"column.links\" class=\"n7-footer__column-nav\">\n <ul class=\"n7-footer__column-nav-list\">\n <li *ngFor=\"let link of column.links\"\n class=\"n7-footer__column-nav-item {{link.classes || ''}}\">\n <n7-anchor-wrapper [classes]=\"'n7-footer__column-nav-link'\"\n [data]=\"link.anchor\"\n (clicked)=\"onClick($event)\">\n {{ link.text }}\n </n7-anchor-wrapper>\n </li>\n </ul>\n </div>\n\n <div *ngIf=\"column.images\" class=\"n7-footer__column-images\">\n <n7-anchor-wrapper *ngFor=\"let image of column.images\"\n [classes]=\"image.classes || ''\"\n [data]=\"image.anchor\"\n (clicked)=\"onClick($event)\">\n <img \n [src]=\"image.url\" \n [attr.alt]=\"image.alttext\" />\n </n7-anchor-wrapper>\n </div>\n</ng-template>" }]
|
|
20
20
|
}], propDecorators: { data: [{
|
|
@@ -38,9 +38,9 @@ export class HeaderComponent {
|
|
|
38
38
|
this.emit('keyup', { payload, keyCode, value });
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
42
|
-
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
41
|
+
HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: HeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
+
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: HeaderComponent, selector: "n7-header", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<header *ngIf=\"data\" class=\"n7-header {{data.classes || ''}}\">\n <div class=\"n7-header__content\">\n\n <!-- Logo and title -->\n <div class=\"n7-header__logo-title {{data.logo.classes || ''}}\">\n <n7-anchor-wrapper [classes]=\"'n7-header__logo-link'\"\n [data]=\"data.logo.anchor\"\n (clicked)=\"onClick($event)\">\n <img class=\"n7-header__logo\"\n *ngIf=\"data.logo.image\"\n [src]=\"data.logo.image\"\n alt=\"{{ data.logo.title }}\" />\n <div class=\"n7-header__title-subtitle\">\n <h1 class=\"n7-header__title\">\n {{ data.logo.title }}\n </h1>\n <h2 class=\"n7-header__subtitle\" *ngIf=\"data.logo.subtitle\">\n {{ data.logo.subtitle }}\n </h2>\n </div>\n </n7-anchor-wrapper>\n </div>\n\n <!-- Main menu -->\n <nav class=\"n7-header__nav {{data.nav.classes || ''}}\" *ngIf=\"data.nav\">\n <div class=\"n7-header__nav-content\">\n <ul class=\"n7-header__nav-list\">\n <li class=\"n7-header__nav-item {{item.classes || ''}}\" *ngFor=\"let item of data.nav.items\">\n <n7-anchor-wrapper [classes]=\"'n7-header__nav-link'\"\n [data]=\"item.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"n7-header__nav-icon {{item.icon}}\" *ngIf=\"item.icon\"></span>\n <span class=\"n7-header__nav-label\" *ngIf=\"item.text\">\n {{ item.text }}\n </span>\n </n7-anchor-wrapper>\n <!-- Sublevel -->\n <ul class=\"n7-header__subnav-list\" *ngIf=\"item.subnav\">\n <li class=\"n7-header__subnav-item {{subitem.classes || ''}}\" *ngFor=\"let subitem of item.subnav\">\n <n7-anchor-wrapper [classes]=\"'n7-header__subnav-link'\"\n [data]=\"subitem.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"n7-header__subnav-icon {{subitem.icon}}\" *ngIf=\"subitem.icon\"></span>\n <span class=\"n7-header__subnav-label\" *ngIf=\"subitem.text\">\n {{ subitem.text }}\n </span>\n </n7-anchor-wrapper>\n </li>\n </ul>\n </li>\n </ul>\n </div>\n </nav>\n\n <!-- Mobile menu toggle -->\n <div class=\"n7-header__mobile-menu-toggle\">\n <span class=\"n7-header__mobile-menu-icon n7-icon-menu\" \n (click)=\"onClick(data.menuToggle.open.payload)\"></span>\n </div>\n\n <!-- Mobile menu close -->\n <span class=\"n7-header__mobile-menu-close n7-icon-close\" \n (click)=\"onClick(data.menuToggle.close.payload)\"></span>\n\n <!-- Tools: search, notifications, use profile or login/signup -->\n <div class=\"n7-header__tools\">\n \n <div class=\"n7-header__search {{data.search.classes || ''}}\" *ngIf=\"data.search\">\n <input class=\"n7-header__search-input\" \n type=\"search\" \n name=\"search\" \n placeholder=\"{{ data.search.hint || ''}}\" \n (keyup)=\"onKeyUp(data.search.payload, $event.keyCode, $event.target.value)\"/>\n <button class=\"n7-header__search-btn\" type=\"submit\" (click)=\"onClick(data.search.payload)\">\n <span class=\"n7-header__search-btn-label\">\n Search\n </span>\n </button>\n </div>\n \n <div class=\"n7-header__actions\" *ngIf=\"data.actions\">\n <n7-anchor-wrapper *ngFor=\"let action of data.actions\" \n [classes]=\"'n7-header__action' + (action.classes || '')\"\n [data]=\"action.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"n7-header__action-icon {{ action.icon }}\"></span>\n <span *ngIf=\"action.badge\" class=\"n7-header__action-badge {{ action.badge.text ? 'has-text' : '' }}\">\n {{ action.badge.text }}\n </span>\n </n7-anchor-wrapper>\n </div>\n\n <div class=\"n7-header__buttons\" *ngIf=\"data.buttons\">\n <n7-anchor-wrapper *ngFor=\"let button of data.buttons\"\n [classes]=\"button.classes\" \n [data]=\"button.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"\" *ngIf=\"button.text\">\n {{ button.text }}\n </span>\n <span class=\"{{button.icon}}\" *ngIf=\"button.icon\"></span>\n </n7-anchor-wrapper>\n </div>\n\n <div class=\"n7-header__user {{data.user.classes || ''}}\" *ngIf=\"data.user\">\n <n7-anchor-wrapper [classes]=\"'n7-header__user-content'\"\n [data]=\"data.user.anchor\"\n (clicked)=\"onClick($event)\">\n <img *ngIf=\"data.user.img\"\n class=\"n7-header__user-img\" \n [src]=\"data.user.img\"/>\n <p class=\"n7-header__user-name\" *ngIf=\"data.user.name\">\n <span class=\"n7-header__user-name-label\">\n {{ data.user.name }}\n </span>\n </p>\n </n7-anchor-wrapper>\n </div>\n </div>\n\n </div>\n</header>\n\n", components: [{ type: i1.AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
44
44
|
type: Component,
|
|
45
45
|
args: [{ selector: 'n7-header', template: "<header *ngIf=\"data\" class=\"n7-header {{data.classes || ''}}\">\n <div class=\"n7-header__content\">\n\n <!-- Logo and title -->\n <div class=\"n7-header__logo-title {{data.logo.classes || ''}}\">\n <n7-anchor-wrapper [classes]=\"'n7-header__logo-link'\"\n [data]=\"data.logo.anchor\"\n (clicked)=\"onClick($event)\">\n <img class=\"n7-header__logo\"\n *ngIf=\"data.logo.image\"\n [src]=\"data.logo.image\"\n alt=\"{{ data.logo.title }}\" />\n <div class=\"n7-header__title-subtitle\">\n <h1 class=\"n7-header__title\">\n {{ data.logo.title }}\n </h1>\n <h2 class=\"n7-header__subtitle\" *ngIf=\"data.logo.subtitle\">\n {{ data.logo.subtitle }}\n </h2>\n </div>\n </n7-anchor-wrapper>\n </div>\n\n <!-- Main menu -->\n <nav class=\"n7-header__nav {{data.nav.classes || ''}}\" *ngIf=\"data.nav\">\n <div class=\"n7-header__nav-content\">\n <ul class=\"n7-header__nav-list\">\n <li class=\"n7-header__nav-item {{item.classes || ''}}\" *ngFor=\"let item of data.nav.items\">\n <n7-anchor-wrapper [classes]=\"'n7-header__nav-link'\"\n [data]=\"item.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"n7-header__nav-icon {{item.icon}}\" *ngIf=\"item.icon\"></span>\n <span class=\"n7-header__nav-label\" *ngIf=\"item.text\">\n {{ item.text }}\n </span>\n </n7-anchor-wrapper>\n <!-- Sublevel -->\n <ul class=\"n7-header__subnav-list\" *ngIf=\"item.subnav\">\n <li class=\"n7-header__subnav-item {{subitem.classes || ''}}\" *ngFor=\"let subitem of item.subnav\">\n <n7-anchor-wrapper [classes]=\"'n7-header__subnav-link'\"\n [data]=\"subitem.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"n7-header__subnav-icon {{subitem.icon}}\" *ngIf=\"subitem.icon\"></span>\n <span class=\"n7-header__subnav-label\" *ngIf=\"subitem.text\">\n {{ subitem.text }}\n </span>\n </n7-anchor-wrapper>\n </li>\n </ul>\n </li>\n </ul>\n </div>\n </nav>\n\n <!-- Mobile menu toggle -->\n <div class=\"n7-header__mobile-menu-toggle\">\n <span class=\"n7-header__mobile-menu-icon n7-icon-menu\" \n (click)=\"onClick(data.menuToggle.open.payload)\"></span>\n </div>\n\n <!-- Mobile menu close -->\n <span class=\"n7-header__mobile-menu-close n7-icon-close\" \n (click)=\"onClick(data.menuToggle.close.payload)\"></span>\n\n <!-- Tools: search, notifications, use profile or login/signup -->\n <div class=\"n7-header__tools\">\n \n <div class=\"n7-header__search {{data.search.classes || ''}}\" *ngIf=\"data.search\">\n <input class=\"n7-header__search-input\" \n type=\"search\" \n name=\"search\" \n placeholder=\"{{ data.search.hint || ''}}\" \n (keyup)=\"onKeyUp(data.search.payload, $event.keyCode, $event.target.value)\"/>\n <button class=\"n7-header__search-btn\" type=\"submit\" (click)=\"onClick(data.search.payload)\">\n <span class=\"n7-header__search-btn-label\">\n Search\n </span>\n </button>\n </div>\n \n <div class=\"n7-header__actions\" *ngIf=\"data.actions\">\n <n7-anchor-wrapper *ngFor=\"let action of data.actions\" \n [classes]=\"'n7-header__action' + (action.classes || '')\"\n [data]=\"action.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"n7-header__action-icon {{ action.icon }}\"></span>\n <span *ngIf=\"action.badge\" class=\"n7-header__action-badge {{ action.badge.text ? 'has-text' : '' }}\">\n {{ action.badge.text }}\n </span>\n </n7-anchor-wrapper>\n </div>\n\n <div class=\"n7-header__buttons\" *ngIf=\"data.buttons\">\n <n7-anchor-wrapper *ngFor=\"let button of data.buttons\"\n [classes]=\"button.classes\" \n [data]=\"button.anchor\"\n (clicked)=\"onClick($event)\">\n <span class=\"\" *ngIf=\"button.text\">\n {{ button.text }}\n </span>\n <span class=\"{{button.icon}}\" *ngIf=\"button.icon\"></span>\n </n7-anchor-wrapper>\n </div>\n\n <div class=\"n7-header__user {{data.user.classes || ''}}\" *ngIf=\"data.user\">\n <n7-anchor-wrapper [classes]=\"'n7-header__user-content'\"\n [data]=\"data.user.anchor\"\n (clicked)=\"onClick($event)\">\n <img *ngIf=\"data.user.img\"\n class=\"n7-header__user-img\" \n [src]=\"data.user.img\"/>\n <p class=\"n7-header__user-name\" *ngIf=\"data.user.name\">\n <span class=\"n7-header__user-name-label\">\n {{ data.user.name }}\n </span>\n </p>\n </n7-anchor-wrapper>\n </div>\n </div>\n\n </div>\n</header>\n\n" }]
|
|
46
46
|
}], propDecorators: { data: [{
|
|
@@ -28,9 +28,9 @@ export class HeroComponent {
|
|
|
28
28
|
this.emit('enter', { inputPayload: payload, value });
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
HeroComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
|
32
|
-
HeroComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
|
31
|
+
HeroComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: HeroComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
+
HeroComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: HeroComponent, selector: "n7-hero", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<section *ngIf=\"data\" class=\"n7-hero {{data.classes || ''}}\" \n [ngClass]=\"{ \n 'has-image' : !!data.image, \n 'has-background-image': !!data.backgroundImage \n }\"\n [ngStyle]=\"{ \n 'background-image': getBackgroundImageCssValue(data.backgroundImage)\n }\">\n <div class=\"n7-hero__content\">\n \n <div class=\"n7-hero__text-wrapper\">\n <h1 class=\"n7-hero__title\" [innerHTML]=\"data.title\"></h1>\n <div class=\"n7-hero__text\" *ngIf=\"data.text\" [innerHTML]=\"data.text\"></div>\n <div class=\"n7-hero__input-wrapper\" *ngIf=\"data.input || data.button\">\n <input type=\"text\" \n class=\"n7-hero__input\" \n placeholder=\"{{data.input.placeholder || ''}}\" \n *ngIf=\"data.input\" \n (input)=\"onInputChange(data.input.payload, $event.target.value)\" \n (keyup.enter)=\"onInputEnter(data.input.payload, $event.target.value)\">\n <span class=\"n7-hero__input-icon {{data.input.icon || ''}}\" \n *ngIf=\"data.input && data.input.icon\" \n (click)=\"onClick(data.input.payload)\"></span>\n <ng-container *ngIf=\"data.button\">\n <n7-anchor-wrapper [classes]=\"'n7-hero__btn n7-btn n7-btn-cta n7-btn-l'\"\n [data]=\"data.button.anchor\"\n (clicked)=\"onClick($event)\">\n {{data.button.text}}\n </n7-anchor-wrapper>\n </ng-container>\n </div>\n </div>\n \n <div class=\"n7-hero__image-wrapper\" *ngIf=\"data.image\">\n <img class=\"n7-hero__image\" src=\"{{data.image}}\" alt=\"\">\n </div>\n\n </div>\n</section>", components: [{ type: i1.AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: HeroComponent, decorators: [{
|
|
34
34
|
type: Component,
|
|
35
35
|
args: [{ selector: 'n7-hero', template: "<section *ngIf=\"data\" class=\"n7-hero {{data.classes || ''}}\" \n [ngClass]=\"{ \n 'has-image' : !!data.image, \n 'has-background-image': !!data.backgroundImage \n }\"\n [ngStyle]=\"{ \n 'background-image': getBackgroundImageCssValue(data.backgroundImage)\n }\">\n <div class=\"n7-hero__content\">\n \n <div class=\"n7-hero__text-wrapper\">\n <h1 class=\"n7-hero__title\" [innerHTML]=\"data.title\"></h1>\n <div class=\"n7-hero__text\" *ngIf=\"data.text\" [innerHTML]=\"data.text\"></div>\n <div class=\"n7-hero__input-wrapper\" *ngIf=\"data.input || data.button\">\n <input type=\"text\" \n class=\"n7-hero__input\" \n placeholder=\"{{data.input.placeholder || ''}}\" \n *ngIf=\"data.input\" \n (input)=\"onInputChange(data.input.payload, $event.target.value)\" \n (keyup.enter)=\"onInputEnter(data.input.payload, $event.target.value)\">\n <span class=\"n7-hero__input-icon {{data.input.icon || ''}}\" \n *ngIf=\"data.input && data.input.icon\" \n (click)=\"onClick(data.input.payload)\"></span>\n <ng-container *ngIf=\"data.button\">\n <n7-anchor-wrapper [classes]=\"'n7-hero__btn n7-btn n7-btn-cta n7-btn-l'\"\n [data]=\"data.button.anchor\"\n (clicked)=\"onClick($event)\">\n {{data.button.text}}\n </n7-anchor-wrapper>\n </ng-container>\n </div>\n </div>\n \n <div class=\"n7-hero__image-wrapper\" *ngIf=\"data.image\">\n <img class=\"n7-hero__image\" src=\"{{data.image}}\" alt=\"\">\n </div>\n\n </div>\n</section>" }]
|
|
36
36
|
}], propDecorators: { data: [{
|