ctt-puro 0.2.0 → 0.3.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/esm2022/lib/components/puro-404/puro-404.component.mjs +3 -3
- package/esm2022/lib/components/puro-thanks/index.mjs +2 -1
- package/esm2022/lib/components/puro-thanks/puro-thanks.component.mjs +15 -5
- package/esm2022/lib/components/puro-thanks/puro-thanks.interface.mjs +2 -0
- package/fesm2022/ctt-puro.mjs +13 -5
- package/fesm2022/ctt-puro.mjs.map +1 -1
- package/lib/components/puro-thanks/index.d.ts +1 -0
- package/lib/components/puro-thanks/puro-thanks.component.d.ts +6 -1
- package/lib/components/puro-thanks/puro-thanks.interface.d.ts +7 -0
- package/lib/styles/styles-puro.scss +5 -0
- package/package.json +1 -1
|
@@ -4,11 +4,11 @@ import { PuroLinkTypeDirective } from '../../directives';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class Puro404Component {
|
|
6
6
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Puro404Component, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: Puro404Component, isStandalone: true, selector: "lib-puro-404", inputs: { title: "title", subtitle: "subtitle", description: "description", contact: "contact", link: "link", address: "address" }, ngImport: i0, template: "<div class=\"puro404\">\n <div class=\"puro404__pageNotFound\">\n <div class=\"puro404__pageNotFound--inner\">\n @if (title) {\n <h2 class=\"puro404__heading\">{{ title }}</h2>\n }\n @if (subtitle) {\n <h3 class=\"puro404__subHeading\">{{ subtitle }}</h3>\n }\n <div class=\"puro404__content\">\n @if (description || link) {\n <p class=\"puro404__text\">\n @if (description) {\n <span [innerHTML]=\"description\"></span>\n }\n <br />\n @if (link) {\n <a\n [href]=\"link.url\"\n [linkType]=\"link.linkType\"\n class=\"btn__link\"\n >{{ link.label }}</a\n >\n }\n </p>\n }\n </div>\n </div>\n </div>\n <div class=\"puro404__contact\">\n <div class=\"puro404__contact--inner\">\n @if (contact) {\n <div>\n @if (contact.title) {\n <h4 class=\"puro404__contactHeading\">\n {{ contact.title }}\n </h4>\n }\n @if (contact.links && contact.links.length) {\n <p class=\"puro404__contactText\">\n @for (link of contact.links; track $index) {\n <a [href]=\"link.url\">{{ link.label }}</a\n
|
|
7
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: Puro404Component, isStandalone: true, selector: "lib-puro-404", inputs: { title: "title", subtitle: "subtitle", description: "description", contact: "contact", link: "link", address: "address" }, ngImport: i0, template: "<div class=\"puro404\">\n <div class=\"puro404__pageNotFound\">\n <div class=\"puro404__pageNotFound--inner\">\n @if (title) {\n <h2 class=\"puro404__heading\">{{ title }}</h2>\n }\n @if (subtitle) {\n <h3 class=\"puro404__subHeading\">{{ subtitle }}</h3>\n }\n <div class=\"puro404__content\">\n @if (description || link) {\n <p class=\"puro404__text\">\n @if (description) {\n <span [innerHTML]=\"description\"></span>\n }\n <br />\n @if (link) {\n <a\n [href]=\"link.url\"\n [linkType]=\"link.linkType\"\n class=\"btn__link\"\n >{{ link.label }}</a\n >\n }\n </p>\n }\n </div>\n </div>\n </div>\n <div class=\"puro404__contact\">\n <div class=\"puro404__contact--inner\">\n @if (contact) {\n <div>\n @if (contact.title) {\n <h4 class=\"puro404__contactHeading\">\n {{ contact.title }}\n </h4>\n }\n @if (contact.links && contact.links.length) {\n <p class=\"puro404__contactText\">\n @for (link of contact.links; track $index) {\n @if (link) {\n <a [href]=\"link.url\">{{ link.label }}</a\n ><br />\n }\n }\n @if (contact.button) {\n <a\n [href]=\"contact.button.url\"\n [linkType]=\"contact.button.linkType\"\n class=\"btn__link\"\n >{{ contact.button.label }}</a\n >\n }\n </p>\n }\n </div>\n }\n @if (address) {\n <div>\n @if (address.title) {\n <h4 class=\"puro404__contactHeading\">\n {{ address.title }}\n </h4>\n }\n @if (address.text || address.button) {\n <p class=\"puro404__contactText\">\n @if (address.text) {\n <span [innerHTML]=\"address.text\"></span>\n }\n @if (address.button) {\n <a\n [href]=\"address.button.url\"\n [linkType]=\"address.button.linkType\"\n class=\"btn__link\"\n >{{ address.button.label }}</a\n >\n }\n </p>\n }\n </div>\n }\n </div>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8
8
|
}
|
|
9
9
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Puro404Component, decorators: [{
|
|
10
10
|
type: Component,
|
|
11
|
-
args: [{ selector: 'lib-puro-404', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"puro404\">\n <div class=\"puro404__pageNotFound\">\n <div class=\"puro404__pageNotFound--inner\">\n @if (title) {\n <h2 class=\"puro404__heading\">{{ title }}</h2>\n }\n @if (subtitle) {\n <h3 class=\"puro404__subHeading\">{{ subtitle }}</h3>\n }\n <div class=\"puro404__content\">\n @if (description || link) {\n <p class=\"puro404__text\">\n @if (description) {\n <span [innerHTML]=\"description\"></span>\n }\n <br />\n @if (link) {\n <a\n [href]=\"link.url\"\n [linkType]=\"link.linkType\"\n class=\"btn__link\"\n >{{ link.label }}</a\n >\n }\n </p>\n }\n </div>\n </div>\n </div>\n <div class=\"puro404__contact\">\n <div class=\"puro404__contact--inner\">\n @if (contact) {\n <div>\n @if (contact.title) {\n <h4 class=\"puro404__contactHeading\">\n {{ contact.title }}\n </h4>\n }\n @if (contact.links && contact.links.length) {\n <p class=\"puro404__contactText\">\n @for (link of contact.links; track $index) {\n <a [href]=\"link.url\">{{ link.label }}</a\n
|
|
11
|
+
args: [{ selector: 'lib-puro-404', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"puro404\">\n <div class=\"puro404__pageNotFound\">\n <div class=\"puro404__pageNotFound--inner\">\n @if (title) {\n <h2 class=\"puro404__heading\">{{ title }}</h2>\n }\n @if (subtitle) {\n <h3 class=\"puro404__subHeading\">{{ subtitle }}</h3>\n }\n <div class=\"puro404__content\">\n @if (description || link) {\n <p class=\"puro404__text\">\n @if (description) {\n <span [innerHTML]=\"description\"></span>\n }\n <br />\n @if (link) {\n <a\n [href]=\"link.url\"\n [linkType]=\"link.linkType\"\n class=\"btn__link\"\n >{{ link.label }}</a\n >\n }\n </p>\n }\n </div>\n </div>\n </div>\n <div class=\"puro404__contact\">\n <div class=\"puro404__contact--inner\">\n @if (contact) {\n <div>\n @if (contact.title) {\n <h4 class=\"puro404__contactHeading\">\n {{ contact.title }}\n </h4>\n }\n @if (contact.links && contact.links.length) {\n <p class=\"puro404__contactText\">\n @for (link of contact.links; track $index) {\n @if (link) {\n <a [href]=\"link.url\">{{ link.label }}</a\n ><br />\n }\n }\n @if (contact.button) {\n <a\n [href]=\"contact.button.url\"\n [linkType]=\"contact.button.linkType\"\n class=\"btn__link\"\n >{{ contact.button.label }}</a\n >\n }\n </p>\n }\n </div>\n }\n @if (address) {\n <div>\n @if (address.title) {\n <h4 class=\"puro404__contactHeading\">\n {{ address.title }}\n </h4>\n }\n @if (address.text || address.button) {\n <p class=\"puro404__contactText\">\n @if (address.text) {\n <span [innerHTML]=\"address.text\"></span>\n }\n @if (address.button) {\n <a\n [href]=\"address.button.url\"\n [linkType]=\"address.button.linkType\"\n class=\"btn__link\"\n >{{ address.button.label }}</a\n >\n }\n </p>\n }\n </div>\n }\n </div>\n </div>\n</div>\n" }]
|
|
12
12
|
}], propDecorators: { title: [{
|
|
13
13
|
type: Input
|
|
14
14
|
}], subtitle: [{
|
|
@@ -22,4 +22,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
22
22
|
}], address: [{
|
|
23
23
|
type: Input
|
|
24
24
|
}] } });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVyby00MDQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHVyby9zcmMvbGliL2NvbXBvbmVudHMvcHVyby00MDQvcHVyby00MDQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHVyby9zcmMvbGliL2NvbXBvbmVudHMvcHVyby00MDQvcHVyby00MDQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLGtCQUFrQixDQUFDOztBQVd6RCxNQUFNLE9BQU8sZ0JBQWdCOytHQUFoQixnQkFBZ0I7bUdBQWhCLGdCQUFnQiw0TUNiN0IsdTZHQXFGQSx5REQ3RWMsWUFBWSwrQkFBRSxxQkFBcUI7OzRGQUtwQyxnQkFBZ0I7a0JBUjVCLFNBQVM7K0JBQ0ksY0FBYyxjQUNaLElBQUksV0FDUCxDQUFDLFlBQVksRUFBRSxxQkFBcUIsQ0FBQyxtQkFHN0IsdUJBQXVCLENBQUMsTUFBTTs4QkFHdEMsS0FBSztzQkFBYixLQUFLO2dCQUNHLFFBQVE7c0JBQWhCLEtBQUs7Z0JBQ0csV0FBVztzQkFBbkIsS0FBSztnQkFDRyxPQUFPO3NCQUFmLEtBQUs7Z0JBQ0csSUFBSTtzQkFBWixLQUFLO2dCQUNHLE9BQU87c0JBQWYsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgQ29tcG9uZW50LCBJbnB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgUHVyb0xpbmtUeXBlRGlyZWN0aXZlIH0gZnJvbSAnLi4vLi4vZGlyZWN0aXZlcyc7XG5pbXBvcnQgeyBQdXJvQnV0dG9uSSB9IGZyb20gJy4uLy4uL2ludGVyZmFjZXMnO1xuXG5AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ2xpYi1wdXJvLTQwNCcsXG4gICAgc3RhbmRhbG9uZTogdHJ1ZSxcbiAgICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBQdXJvTGlua1R5cGVEaXJlY3RpdmVdLFxuICAgIHRlbXBsYXRlVXJsOiAnLi9wdXJvLTQwNC5jb21wb25lbnQuaHRtbCcsXG4gICAgc3R5bGVVcmw6ICcuL3B1cm8tNDA0LmNvbXBvbmVudC5zY3NzJyxcbiAgICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbn0pXG5leHBvcnQgY2xhc3MgUHVybzQwNENvbXBvbmVudCB7XG4gICAgQElucHV0KCkgdGl0bGU/OiBzdHJpbmc7XG4gICAgQElucHV0KCkgc3VidGl0bGU/OiBzdHJpbmc7XG4gICAgQElucHV0KCkgZGVzY3JpcHRpb24/OiBzdHJpbmc7XG4gICAgQElucHV0KCkgY29udGFjdD86IFB1cm80MDRJbmZvO1xuICAgIEBJbnB1dCgpIGxpbms/OiBQdXJvQnV0dG9uSTtcbiAgICBASW5wdXQoKSBhZGRyZXNzPzogUHVybzQwNEluZm87XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgUHVybzQwNEluZm8ge1xuICAgIHRpdGxlPzogc3RyaW5nO1xuICAgIGxpbmtzPzogUHVyb0J1dHRvbklbXTtcbiAgICBidXR0b24/OiBQdXJvQnV0dG9uSTtcbiAgICB0ZXh0Pzogc3RyaW5nO1xufVxuIiwiPGRpdiBjbGFzcz1cInB1cm80MDRcIj5cbiAgICA8ZGl2IGNsYXNzPVwicHVybzQwNF9fcGFnZU5vdEZvdW5kXCI+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJwdXJvNDA0X19wYWdlTm90Rm91bmQtLWlubmVyXCI+XG4gICAgICAgICAgICBAaWYgKHRpdGxlKSB7XG4gICAgICAgICAgICAgICAgPGgyIGNsYXNzPVwicHVybzQwNF9faGVhZGluZ1wiPnt7IHRpdGxlIH19PC9oMj5cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIEBpZiAoc3VidGl0bGUpIHtcbiAgICAgICAgICAgICAgICA8aDMgY2xhc3M9XCJwdXJvNDA0X19zdWJIZWFkaW5nXCI+e3sgc3VidGl0bGUgfX08L2gzPlxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cInB1cm80MDRfX2NvbnRlbnRcIj5cbiAgICAgICAgICAgICAgICBAaWYgKGRlc2NyaXB0aW9uIHx8IGxpbmspIHtcbiAgICAgICAgICAgICAgICAgICAgPHAgY2xhc3M9XCJwdXJvNDA0X190ZXh0XCI+XG4gICAgICAgICAgICAgICAgICAgICAgICBAaWYgKGRlc2NyaXB0aW9uKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gW2lubmVySFRNTF09XCJkZXNjcmlwdGlvblwiPjwvc3Bhbj5cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIDxiciAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgQGlmIChsaW5rKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGFcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2hyZWZdPVwibGluay51cmxcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbbGlua1R5cGVdPVwibGluay5saW5rVHlwZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiYnRuX19saW5rXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPnt7IGxpbmsubGFiZWwgfX08L2FcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIDwvcD5cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gICAgPGRpdiBjbGFzcz1cInB1cm80MDRfX2NvbnRhY3RcIj5cbiAgICAgICAgPGRpdiBjbGFzcz1cInB1cm80MDRfX2NvbnRhY3QtLWlubmVyXCI+XG4gICAgICAgICAgICBAaWYgKGNvbnRhY3QpIHtcbiAgICAgICAgICAgICAgICA8ZGl2PlxuICAgICAgICAgICAgICAgICAgICBAaWYgKGNvbnRhY3QudGl0bGUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIDxoNCBjbGFzcz1cInB1cm80MDRfX2NvbnRhY3RIZWFkaW5nXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge3sgY29udGFjdC50aXRsZSB9fVxuICAgICAgICAgICAgICAgICAgICAgICAgPC9oND5cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBAaWYgKGNvbnRhY3QubGlua3MgJiYgY29udGFjdC5saW5rcy5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIDxwIGNsYXNzPVwicHVybzQwNF9fY29udGFjdFRleHRcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBAZm9yIChsaW5rIG9mIGNvbnRhY3QubGlua3M7IHRyYWNrICRpbmRleCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBAaWYgKGxpbmspIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhIFtocmVmXT1cImxpbmsudXJsXCI+e3sgbGluay5sYWJlbCB9fTwvYVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPjxiciAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEBpZiAoY29udGFjdC5idXR0b24pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGFcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtocmVmXT1cImNvbnRhY3QuYnV0dG9uLnVybFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbbGlua1R5cGVdPVwiY29udGFjdC5idXR0b24ubGlua1R5cGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG5fX2xpbmtcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPnt7IGNvbnRhY3QuYnV0dG9uLmxhYmVsIH19PC9hXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICA8L3A+XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIEBpZiAoYWRkcmVzcykge1xuICAgICAgICAgICAgICAgIDxkaXY+XG4gICAgICAgICAgICAgICAgICAgIEBpZiAoYWRkcmVzcy50aXRsZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgPGg0IGNsYXNzPVwicHVybzQwNF9fY29udGFjdEhlYWRpbmdcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7eyBhZGRyZXNzLnRpdGxlIH19XG4gICAgICAgICAgICAgICAgICAgICAgICA8L2g0PlxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIEBpZiAoYWRkcmVzcy50ZXh0IHx8IGFkZHJlc3MuYnV0dG9uKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICA8cCBjbGFzcz1cInB1cm80MDRfX2NvbnRhY3RUZXh0XCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgQGlmIChhZGRyZXNzLnRleHQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gW2lubmVySFRNTF09XCJhZGRyZXNzLnRleHRcIj48L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEBpZiAoYWRkcmVzcy5idXR0b24pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGFcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtocmVmXT1cImFkZHJlc3MuYnV0dG9uLnVybFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbbGlua1R5cGVdPVwiYWRkcmVzcy5idXR0b24ubGlua1R5cGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG5fX2xpbmtcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPnt7IGFkZHJlc3MuYnV0dG9uLmxhYmVsIH19PC9hXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICA8L3A+XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIH1cbiAgICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export * from './puro-thanks.component';
|
|
2
|
-
|
|
2
|
+
export * from './puro-thanks.interface';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9wdXJvL3NyYy9saWIvY29tcG9uZW50cy9wdXJvLXRoYW5rcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3B1cm8tdGhhbmtzLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vcHVyby10aGFua3MuaW50ZXJmYWNlJztcclxuIl19
|
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
3
|
+
import { PuroLinkTypeDirective } from '../../directives';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
export class PuroThanksComponent {
|
|
4
6
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroThanksComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroThanksComponent, isStandalone: true, selector: "lib-puro-thanks", inputs: { title: "title", description: "description", img: "img", button: "button" }, ngImport: i0, template: "<div class=\"modal modal--solidCreamDark modal--thankyou\">\n <div class=\"modal__inner\">\n <div class=\"modal__body\">\n <div class=\"modal__thankyou\">\n <div class=\"modal__content\">\n @if (title) {\n <h2 class=\"modal__heading\">{{ title }}</h2>\n }\n @if (description) {\n <p class=\"modal__paragraph\">\n {{ description }}\n </p>\n }\n @if (button) {\n <div class=\"btn__group\">\n <a\n [href]=\"button.url\"\n [linkType]=\"button.linkType\"\n class=\"btn btn__primary--outline\"\n ><span>{{ button.label }}</span>\n </a>\n </div>\n }\n </div>\n @if (img) {\n <div class=\"modal__graphic\">\n <img\n [src]=\"img.src\"\n [alt]=\"img.alt\"\n class=\"modal__graphic--img\"\n width=\"\"\n height=\"\"\n />\n </div>\n }\n </div>\n </div>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6
8
|
}
|
|
7
9
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroThanksComponent, decorators: [{
|
|
8
10
|
type: Component,
|
|
9
|
-
args: [{ selector: 'lib-puro-thanks', standalone: true, imports: [], template: "<
|
|
10
|
-
}]
|
|
11
|
-
|
|
11
|
+
args: [{ selector: 'lib-puro-thanks', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"modal modal--solidCreamDark modal--thankyou\">\n <div class=\"modal__inner\">\n <div class=\"modal__body\">\n <div class=\"modal__thankyou\">\n <div class=\"modal__content\">\n @if (title) {\n <h2 class=\"modal__heading\">{{ title }}</h2>\n }\n @if (description) {\n <p class=\"modal__paragraph\">\n {{ description }}\n </p>\n }\n @if (button) {\n <div class=\"btn__group\">\n <a\n [href]=\"button.url\"\n [linkType]=\"button.linkType\"\n class=\"btn btn__primary--outline\"\n ><span>{{ button.label }}</span>\n </a>\n </div>\n }\n </div>\n @if (img) {\n <div class=\"modal__graphic\">\n <img\n [src]=\"img.src\"\n [alt]=\"img.alt\"\n class=\"modal__graphic--img\"\n width=\"\"\n height=\"\"\n />\n </div>\n }\n </div>\n </div>\n </div>\n</div>\n" }]
|
|
12
|
+
}], propDecorators: { title: [{
|
|
13
|
+
type: Input
|
|
14
|
+
}], description: [{
|
|
15
|
+
type: Input
|
|
16
|
+
}], img: [{
|
|
17
|
+
type: Input
|
|
18
|
+
}], button: [{
|
|
19
|
+
type: Input
|
|
20
|
+
}] } });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVyby10aGFua3MuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHVyby9zcmMvbGliL2NvbXBvbmVudHMvcHVyby10aGFua3MvcHVyby10aGFua3MuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHVyby9zcmMvbGliL2NvbXBvbmVudHMvcHVyby10aGFua3MvcHVyby10aGFua3MuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLGtCQUFrQixDQUFDOztBQVd6RCxNQUFNLE9BQU8sbUJBQW1COytHQUFuQixtQkFBbUI7bUdBQW5CLG1CQUFtQixpS0NiaEMsNCtDQXVDQSx5REQvQmMsWUFBWSwrQkFBRSxxQkFBcUI7OzRGQUtwQyxtQkFBbUI7a0JBUi9CLFNBQVM7K0JBQ0ksaUJBQWlCLGNBQ2YsSUFBSSxXQUNQLENBQUMsWUFBWSxFQUFFLHFCQUFxQixDQUFDLG1CQUc3Qix1QkFBdUIsQ0FBQyxNQUFNOzhCQUd0QyxLQUFLO3NCQUFiLEtBQUs7Z0JBQ0csV0FBVztzQkFBbkIsS0FBSztnQkFDRyxHQUFHO3NCQUFYLEtBQUs7Z0JBQ0csTUFBTTtzQkFBZCxLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IENoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBDb21wb25lbnQsIElucHV0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBQdXJvTGlua1R5cGVEaXJlY3RpdmUgfSBmcm9tICcuLi8uLi9kaXJlY3RpdmVzJztcbmltcG9ydCB7IFB1cm9CdXR0b25JLCBQdXJvSW1hZ2VJIH0gZnJvbSAnLi4vLi4vaW50ZXJmYWNlcyc7XG5cbkBDb21wb25lbnQoe1xuICAgIHNlbGVjdG9yOiAnbGliLXB1cm8tdGhhbmtzJyxcbiAgICBzdGFuZGFsb25lOiB0cnVlLFxuICAgIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIFB1cm9MaW5rVHlwZURpcmVjdGl2ZV0sXG4gICAgdGVtcGxhdGVVcmw6ICcuL3B1cm8tdGhhbmtzLmNvbXBvbmVudC5odG1sJyxcbiAgICBzdHlsZVVybDogJy4vcHVyby10aGFua3MuY29tcG9uZW50LnNjc3MnLFxuICAgIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBQdXJvVGhhbmtzQ29tcG9uZW50IHtcbiAgICBASW5wdXQoKSB0aXRsZT86IHN0cmluZztcbiAgICBASW5wdXQoKSBkZXNjcmlwdGlvbj86IHN0cmluZztcbiAgICBASW5wdXQoKSBpbWc/OiBQdXJvSW1hZ2VJO1xuICAgIEBJbnB1dCgpIGJ1dHRvbj86IFB1cm9CdXR0b25JO1xufVxuIiwiPGRpdiBjbGFzcz1cIm1vZGFsIG1vZGFsLS1zb2xpZENyZWFtRGFyayBtb2RhbC0tdGhhbmt5b3VcIj5cbiAgICA8ZGl2IGNsYXNzPVwibW9kYWxfX2lubmVyXCI+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJtb2RhbF9fYm9keVwiPlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cIm1vZGFsX190aGFua3lvdVwiPlxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJtb2RhbF9fY29udGVudFwiPlxuICAgICAgICAgICAgICAgICAgICBAaWYgKHRpdGxlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICA8aDIgY2xhc3M9XCJtb2RhbF9faGVhZGluZ1wiPnt7IHRpdGxlIH19PC9oMj5cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBAaWYgKGRlc2NyaXB0aW9uKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICA8cCBjbGFzcz1cIm1vZGFsX19wYXJhZ3JhcGhcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7eyBkZXNjcmlwdGlvbiB9fVxuICAgICAgICAgICAgICAgICAgICAgICAgPC9wPlxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIEBpZiAoYnV0dG9uKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiYnRuX19ncm91cFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtocmVmXT1cImJ1dHRvbi51cmxcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbbGlua1R5cGVdPVwiYnV0dG9uLmxpbmtUeXBlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG4gYnRuX19wcmltYXJ5LS1vdXRsaW5lXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPjxzcGFuPnt7IGJ1dHRvbi5sYWJlbCB9fTwvc3Bhbj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2E+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIEBpZiAoaW1nKSB7XG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJtb2RhbF9fZ3JhcGhpY1wiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGltZ1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzcmNdPVwiaW1nLnNyY1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW2FsdF09XCJpbWcuYWx0XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cIm1vZGFsX19ncmFwaGljLS1pbWdcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdpZHRoPVwiXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBoZWlnaHQ9XCJcIlxuICAgICAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVyby10aGFua3MuaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHVyby9zcmMvbGliL2NvbXBvbmVudHMvcHVyby10aGFua3MvcHVyby10aGFua3MuaW50ZXJmYWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQdXJvQnV0dG9uSSwgUHVyb0ltYWdlSSB9IGZyb20gJy4uLy4uL2ludGVyZmFjZXMnO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBQdXJvVGhhbmtzSSB7XHJcbiAgICB0aXRsZT86IHN0cmluZztcclxuICAgIGRlc2NyaXB0aW9uPzogc3RyaW5nO1xyXG4gICAgaW1nPzogUHVyb0ltYWdlSTtcclxuICAgIGJ1dHRvbj86IFB1cm9CdXR0b25JO1xyXG59XHJcbiJdfQ==
|
package/fesm2022/ctt-puro.mjs
CHANGED
|
@@ -754,11 +754,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
754
754
|
|
|
755
755
|
class Puro404Component {
|
|
756
756
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Puro404Component, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
757
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: Puro404Component, isStandalone: true, selector: "lib-puro-404", inputs: { title: "title", subtitle: "subtitle", description: "description", contact: "contact", link: "link", address: "address" }, ngImport: i0, template: "<div class=\"puro404\">\n <div class=\"puro404__pageNotFound\">\n <div class=\"puro404__pageNotFound--inner\">\n @if (title) {\n <h2 class=\"puro404__heading\">{{ title }}</h2>\n }\n @if (subtitle) {\n <h3 class=\"puro404__subHeading\">{{ subtitle }}</h3>\n }\n <div class=\"puro404__content\">\n @if (description || link) {\n <p class=\"puro404__text\">\n @if (description) {\n <span [innerHTML]=\"description\"></span>\n }\n <br />\n @if (link) {\n <a\n [href]=\"link.url\"\n [linkType]=\"link.linkType\"\n class=\"btn__link\"\n >{{ link.label }}</a\n >\n }\n </p>\n }\n </div>\n </div>\n </div>\n <div class=\"puro404__contact\">\n <div class=\"puro404__contact--inner\">\n @if (contact) {\n <div>\n @if (contact.title) {\n <h4 class=\"puro404__contactHeading\">\n {{ contact.title }}\n </h4>\n }\n @if (contact.links && contact.links.length) {\n <p class=\"puro404__contactText\">\n @for (link of contact.links; track $index) {\n <a [href]=\"link.url\">{{ link.label }}</a\n
|
|
757
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: Puro404Component, isStandalone: true, selector: "lib-puro-404", inputs: { title: "title", subtitle: "subtitle", description: "description", contact: "contact", link: "link", address: "address" }, ngImport: i0, template: "<div class=\"puro404\">\n <div class=\"puro404__pageNotFound\">\n <div class=\"puro404__pageNotFound--inner\">\n @if (title) {\n <h2 class=\"puro404__heading\">{{ title }}</h2>\n }\n @if (subtitle) {\n <h3 class=\"puro404__subHeading\">{{ subtitle }}</h3>\n }\n <div class=\"puro404__content\">\n @if (description || link) {\n <p class=\"puro404__text\">\n @if (description) {\n <span [innerHTML]=\"description\"></span>\n }\n <br />\n @if (link) {\n <a\n [href]=\"link.url\"\n [linkType]=\"link.linkType\"\n class=\"btn__link\"\n >{{ link.label }}</a\n >\n }\n </p>\n }\n </div>\n </div>\n </div>\n <div class=\"puro404__contact\">\n <div class=\"puro404__contact--inner\">\n @if (contact) {\n <div>\n @if (contact.title) {\n <h4 class=\"puro404__contactHeading\">\n {{ contact.title }}\n </h4>\n }\n @if (contact.links && contact.links.length) {\n <p class=\"puro404__contactText\">\n @for (link of contact.links; track $index) {\n @if (link) {\n <a [href]=\"link.url\">{{ link.label }}</a\n ><br />\n }\n }\n @if (contact.button) {\n <a\n [href]=\"contact.button.url\"\n [linkType]=\"contact.button.linkType\"\n class=\"btn__link\"\n >{{ contact.button.label }}</a\n >\n }\n </p>\n }\n </div>\n }\n @if (address) {\n <div>\n @if (address.title) {\n <h4 class=\"puro404__contactHeading\">\n {{ address.title }}\n </h4>\n }\n @if (address.text || address.button) {\n <p class=\"puro404__contactText\">\n @if (address.text) {\n <span [innerHTML]=\"address.text\"></span>\n }\n @if (address.button) {\n <a\n [href]=\"address.button.url\"\n [linkType]=\"address.button.linkType\"\n class=\"btn__link\"\n >{{ address.button.label }}</a\n >\n }\n </p>\n }\n </div>\n }\n </div>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
758
758
|
}
|
|
759
759
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Puro404Component, decorators: [{
|
|
760
760
|
type: Component,
|
|
761
|
-
args: [{ selector: 'lib-puro-404', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"puro404\">\n <div class=\"puro404__pageNotFound\">\n <div class=\"puro404__pageNotFound--inner\">\n @if (title) {\n <h2 class=\"puro404__heading\">{{ title }}</h2>\n }\n @if (subtitle) {\n <h3 class=\"puro404__subHeading\">{{ subtitle }}</h3>\n }\n <div class=\"puro404__content\">\n @if (description || link) {\n <p class=\"puro404__text\">\n @if (description) {\n <span [innerHTML]=\"description\"></span>\n }\n <br />\n @if (link) {\n <a\n [href]=\"link.url\"\n [linkType]=\"link.linkType\"\n class=\"btn__link\"\n >{{ link.label }}</a\n >\n }\n </p>\n }\n </div>\n </div>\n </div>\n <div class=\"puro404__contact\">\n <div class=\"puro404__contact--inner\">\n @if (contact) {\n <div>\n @if (contact.title) {\n <h4 class=\"puro404__contactHeading\">\n {{ contact.title }}\n </h4>\n }\n @if (contact.links && contact.links.length) {\n <p class=\"puro404__contactText\">\n @for (link of contact.links; track $index) {\n <a [href]=\"link.url\">{{ link.label }}</a\n
|
|
761
|
+
args: [{ selector: 'lib-puro-404', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"puro404\">\n <div class=\"puro404__pageNotFound\">\n <div class=\"puro404__pageNotFound--inner\">\n @if (title) {\n <h2 class=\"puro404__heading\">{{ title }}</h2>\n }\n @if (subtitle) {\n <h3 class=\"puro404__subHeading\">{{ subtitle }}</h3>\n }\n <div class=\"puro404__content\">\n @if (description || link) {\n <p class=\"puro404__text\">\n @if (description) {\n <span [innerHTML]=\"description\"></span>\n }\n <br />\n @if (link) {\n <a\n [href]=\"link.url\"\n [linkType]=\"link.linkType\"\n class=\"btn__link\"\n >{{ link.label }}</a\n >\n }\n </p>\n }\n </div>\n </div>\n </div>\n <div class=\"puro404__contact\">\n <div class=\"puro404__contact--inner\">\n @if (contact) {\n <div>\n @if (contact.title) {\n <h4 class=\"puro404__contactHeading\">\n {{ contact.title }}\n </h4>\n }\n @if (contact.links && contact.links.length) {\n <p class=\"puro404__contactText\">\n @for (link of contact.links; track $index) {\n @if (link) {\n <a [href]=\"link.url\">{{ link.label }}</a\n ><br />\n }\n }\n @if (contact.button) {\n <a\n [href]=\"contact.button.url\"\n [linkType]=\"contact.button.linkType\"\n class=\"btn__link\"\n >{{ contact.button.label }}</a\n >\n }\n </p>\n }\n </div>\n }\n @if (address) {\n <div>\n @if (address.title) {\n <h4 class=\"puro404__contactHeading\">\n {{ address.title }}\n </h4>\n }\n @if (address.text || address.button) {\n <p class=\"puro404__contactText\">\n @if (address.text) {\n <span [innerHTML]=\"address.text\"></span>\n }\n @if (address.button) {\n <a\n [href]=\"address.button.url\"\n [linkType]=\"address.button.linkType\"\n class=\"btn__link\"\n >{{ address.button.label }}</a\n >\n }\n </p>\n }\n </div>\n }\n </div>\n </div>\n</div>\n" }]
|
|
762
762
|
}], propDecorators: { title: [{
|
|
763
763
|
type: Input
|
|
764
764
|
}], subtitle: [{
|
|
@@ -1218,12 +1218,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
1218
1218
|
|
|
1219
1219
|
class PuroThanksComponent {
|
|
1220
1220
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroThanksComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1221
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1221
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroThanksComponent, isStandalone: true, selector: "lib-puro-thanks", inputs: { title: "title", description: "description", img: "img", button: "button" }, ngImport: i0, template: "<div class=\"modal modal--solidCreamDark modal--thankyou\">\n <div class=\"modal__inner\">\n <div class=\"modal__body\">\n <div class=\"modal__thankyou\">\n <div class=\"modal__content\">\n @if (title) {\n <h2 class=\"modal__heading\">{{ title }}</h2>\n }\n @if (description) {\n <p class=\"modal__paragraph\">\n {{ description }}\n </p>\n }\n @if (button) {\n <div class=\"btn__group\">\n <a\n [href]=\"button.url\"\n [linkType]=\"button.linkType\"\n class=\"btn btn__primary--outline\"\n ><span>{{ button.label }}</span>\n </a>\n </div>\n }\n </div>\n @if (img) {\n <div class=\"modal__graphic\">\n <img\n [src]=\"img.src\"\n [alt]=\"img.alt\"\n class=\"modal__graphic--img\"\n width=\"\"\n height=\"\"\n />\n </div>\n }\n </div>\n </div>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1222
1222
|
}
|
|
1223
1223
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroThanksComponent, decorators: [{
|
|
1224
1224
|
type: Component,
|
|
1225
|
-
args: [{ selector: 'lib-puro-thanks', standalone: true, imports: [], template: "<
|
|
1226
|
-
}]
|
|
1225
|
+
args: [{ selector: 'lib-puro-thanks', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"modal modal--solidCreamDark modal--thankyou\">\n <div class=\"modal__inner\">\n <div class=\"modal__body\">\n <div class=\"modal__thankyou\">\n <div class=\"modal__content\">\n @if (title) {\n <h2 class=\"modal__heading\">{{ title }}</h2>\n }\n @if (description) {\n <p class=\"modal__paragraph\">\n {{ description }}\n </p>\n }\n @if (button) {\n <div class=\"btn__group\">\n <a\n [href]=\"button.url\"\n [linkType]=\"button.linkType\"\n class=\"btn btn__primary--outline\"\n ><span>{{ button.label }}</span>\n </a>\n </div>\n }\n </div>\n @if (img) {\n <div class=\"modal__graphic\">\n <img\n [src]=\"img.src\"\n [alt]=\"img.alt\"\n class=\"modal__graphic--img\"\n width=\"\"\n height=\"\"\n />\n </div>\n }\n </div>\n </div>\n </div>\n</div>\n" }]
|
|
1226
|
+
}], propDecorators: { title: [{
|
|
1227
|
+
type: Input
|
|
1228
|
+
}], description: [{
|
|
1229
|
+
type: Input
|
|
1230
|
+
}], img: [{
|
|
1231
|
+
type: Input
|
|
1232
|
+
}], button: [{
|
|
1233
|
+
type: Input
|
|
1234
|
+
}] } });
|
|
1227
1235
|
|
|
1228
1236
|
class PuroTopSliderComponent {
|
|
1229
1237
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroTopSliderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|