@rededor/site-front-end-lib 0.0.64 → 0.0.66

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.
@@ -5,19 +5,22 @@ import * as i1 from "@angular/common";
5
5
  export class PageTemplateSidebarComponent {
6
6
  constructor() {
7
7
  this.header = null;
8
+ this.stickyContent = null;
8
9
  this.beforeContent = null;
9
10
  this.content = null;
10
11
  this.afterContent = null;
11
12
  this.sidebarContent = null;
12
13
  }
13
14
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PageTemplateSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
14
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PageTemplateSidebarComponent, isStandalone: true, selector: "rdsite-page-template-sidebar", inputs: { header: "header", beforeContent: "beforeContent", content: "content", afterContent: "afterContent", sidebarContent: "sidebarContent" }, ngImport: i0, template: "<div class=\"rdsite-template-header\">\r\n @if (header) {\r\n <ng-container *ngTemplateOutlet=\"header\"></ng-container>\r\n }\r\n</div>\r\n\r\n<div class=\"rdsite-template-before-content\">\r\n @if (beforeContent) {\r\n <ng-container *ngTemplateOutlet=\"beforeContent\"></ng-container>\r\n }\r\n</div>\r\n\r\n<div class=\"rdsite-template-container\">\r\n @if (content) {\r\n <section class=\"rdsite-content-container\">\r\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\r\n </section>\r\n }\r\n\r\n @if (sidebarContent) {\r\n <aside class=\"rdsite-sidebar-content-container\">\r\n <ng-container *ngTemplateOutlet=\"sidebarContent\"></ng-container>\r\n </aside>\r\n }\r\n</div>\r\n\r\n<div class=\"rdsite-template-after-content\">\r\n @if (afterContent) {\r\n <ng-container *ngTemplateOutlet=\"afterContent\"></ng-container>\r\n }\r\n</div>\r\n", styles: [":host{display:grid;grid-template-rows:auto auto auto auto;grid-template-columns:minmax(5%,1fr) minmax(auto,90%) minmax(5%,1fr);grid-template-areas:\"header header header\" \"beforecontent beforecontent beforecontent\" \". pagecontent .\" \"aftercontent aftercontent aftercontent\"}@media screen and (min-width: 1024px){:host{grid-template-columns:minmax(5%,1fr) minmax(auto,1366px) minmax(5%,1fr)}}:host .rdsite-template-header{grid-area:header}:host .rdsite-template-before-content{grid-area:beforecontent}:host .rdsite-template-container{grid-area:pagecontent}:host .rdsite-template-after-content{grid-area:aftercontent}:host .rdsite-template-container{display:grid;position:relative;width:100%;grid-template-rows:auto;grid-template-columns:1fr;grid-template-areas:\"content\" \"sidebarcontent\"}@media screen and (min-width: 1024px){:host .rdsite-template-container{grid-template-rows:1fr;grid-template-columns:3fr 20px 1fr;grid-template-areas:\"content . sidebarcontent\"}}:host .rdsite-template-container .rdsite-content-container{grid-area:content;position:relative;max-width:100%}:host .rdsite-template-container .rdsite-sidebar-content-container{grid-area:sidebarcontent;position:relative;z-index:3001}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
15
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PageTemplateSidebarComponent, isStandalone: true, selector: "rdsite-page-template-sidebar", inputs: { header: "header", stickyContent: "stickyContent", beforeContent: "beforeContent", content: "content", afterContent: "afterContent", sidebarContent: "sidebarContent" }, ngImport: i0, template: "<div class=\"rdsite-template-header\">\n @if (header) {\n <ng-container *ngTemplateOutlet=\"header\"></ng-container>\n }\n</div>\n\n@if (stickyContent) {\n <div class=\"rdsite-template-sticky-content\">\n <ng-container *ngTemplateOutlet=\"stickyContent\"></ng-container>\n </div>\n}\n\n<div class=\"rdsite-template-before-content\">\n @if (beforeContent) {\n <ng-container *ngTemplateOutlet=\"beforeContent\"></ng-container>\n }\n</div>\n\n<div class=\"rdsite-template-container\">\n @if (content) {\n <section class=\"rdsite-content-container\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </section>\n }\n\n @if (sidebarContent) {\n <aside class=\"rdsite-sidebar-content-container\">\n <ng-container *ngTemplateOutlet=\"sidebarContent\"></ng-container>\n </aside>\n }\n</div>\n\n<div class=\"rdsite-template-after-content\">\n @if (afterContent) {\n <ng-container *ngTemplateOutlet=\"afterContent\"></ng-container>\n }\n</div>\n", styles: [":host{display:grid;grid-template-rows:auto auto auto auto auto;grid-template-columns:minmax(5%,1fr) minmax(auto,90%) minmax(5%,1fr);grid-template-areas:\"header header header\" \"stickycontent stickycontent stickycontent\" \"beforecontent beforecontent beforecontent\" \". pagecontent .\" \"aftercontent aftercontent aftercontent\"}@media screen and (min-width: 1024px){:host{grid-template-columns:minmax(5%,1fr) minmax(auto,1366px) minmax(5%,1fr)}}:host .rdsite-template-header{grid-area:header}:host .rdsite-template-sticky-content{grid-area:stickycontent}:host .rdsite-template-before-content{grid-area:beforecontent}:host .rdsite-template-container{grid-area:pagecontent}:host .rdsite-template-after-content{grid-area:aftercontent}:host .rdsite-template-sticky-content{position:sticky;top:0;z-index:3002}:host .rdsite-template-container{display:grid;position:relative;width:100%;grid-template-rows:auto;grid-template-columns:1fr;grid-template-areas:\"content\" \"sidebarcontent\"}@media screen and (min-width: 1024px){:host .rdsite-template-container{grid-template-rows:1fr;grid-template-columns:3fr 20px 1fr;grid-template-areas:\"content . sidebarcontent\"}}:host .rdsite-template-container .rdsite-content-container{grid-area:content;position:relative;max-width:100%}:host .rdsite-template-container .rdsite-sidebar-content-container{grid-area:sidebarcontent;position:relative;z-index:3001}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
15
16
  }
16
17
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PageTemplateSidebarComponent, decorators: [{
17
18
  type: Component,
18
- args: [{ selector: 'rdsite-page-template-sidebar', standalone: true, imports: [CommonModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<div class=\"rdsite-template-header\">\r\n @if (header) {\r\n <ng-container *ngTemplateOutlet=\"header\"></ng-container>\r\n }\r\n</div>\r\n\r\n<div class=\"rdsite-template-before-content\">\r\n @if (beforeContent) {\r\n <ng-container *ngTemplateOutlet=\"beforeContent\"></ng-container>\r\n }\r\n</div>\r\n\r\n<div class=\"rdsite-template-container\">\r\n @if (content) {\r\n <section class=\"rdsite-content-container\">\r\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\r\n </section>\r\n }\r\n\r\n @if (sidebarContent) {\r\n <aside class=\"rdsite-sidebar-content-container\">\r\n <ng-container *ngTemplateOutlet=\"sidebarContent\"></ng-container>\r\n </aside>\r\n }\r\n</div>\r\n\r\n<div class=\"rdsite-template-after-content\">\r\n @if (afterContent) {\r\n <ng-container *ngTemplateOutlet=\"afterContent\"></ng-container>\r\n }\r\n</div>\r\n", styles: [":host{display:grid;grid-template-rows:auto auto auto auto;grid-template-columns:minmax(5%,1fr) minmax(auto,90%) minmax(5%,1fr);grid-template-areas:\"header header header\" \"beforecontent beforecontent beforecontent\" \". pagecontent .\" \"aftercontent aftercontent aftercontent\"}@media screen and (min-width: 1024px){:host{grid-template-columns:minmax(5%,1fr) minmax(auto,1366px) minmax(5%,1fr)}}:host .rdsite-template-header{grid-area:header}:host .rdsite-template-before-content{grid-area:beforecontent}:host .rdsite-template-container{grid-area:pagecontent}:host .rdsite-template-after-content{grid-area:aftercontent}:host .rdsite-template-container{display:grid;position:relative;width:100%;grid-template-rows:auto;grid-template-columns:1fr;grid-template-areas:\"content\" \"sidebarcontent\"}@media screen and (min-width: 1024px){:host .rdsite-template-container{grid-template-rows:1fr;grid-template-columns:3fr 20px 1fr;grid-template-areas:\"content . sidebarcontent\"}}:host .rdsite-template-container .rdsite-content-container{grid-area:content;position:relative;max-width:100%}:host .rdsite-template-container .rdsite-sidebar-content-container{grid-area:sidebarcontent;position:relative;z-index:3001}\n"] }]
19
+ args: [{ selector: 'rdsite-page-template-sidebar', standalone: true, imports: [CommonModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<div class=\"rdsite-template-header\">\n @if (header) {\n <ng-container *ngTemplateOutlet=\"header\"></ng-container>\n }\n</div>\n\n@if (stickyContent) {\n <div class=\"rdsite-template-sticky-content\">\n <ng-container *ngTemplateOutlet=\"stickyContent\"></ng-container>\n </div>\n}\n\n<div class=\"rdsite-template-before-content\">\n @if (beforeContent) {\n <ng-container *ngTemplateOutlet=\"beforeContent\"></ng-container>\n }\n</div>\n\n<div class=\"rdsite-template-container\">\n @if (content) {\n <section class=\"rdsite-content-container\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </section>\n }\n\n @if (sidebarContent) {\n <aside class=\"rdsite-sidebar-content-container\">\n <ng-container *ngTemplateOutlet=\"sidebarContent\"></ng-container>\n </aside>\n }\n</div>\n\n<div class=\"rdsite-template-after-content\">\n @if (afterContent) {\n <ng-container *ngTemplateOutlet=\"afterContent\"></ng-container>\n }\n</div>\n", styles: [":host{display:grid;grid-template-rows:auto auto auto auto auto;grid-template-columns:minmax(5%,1fr) minmax(auto,90%) minmax(5%,1fr);grid-template-areas:\"header header header\" \"stickycontent stickycontent stickycontent\" \"beforecontent beforecontent beforecontent\" \". pagecontent .\" \"aftercontent aftercontent aftercontent\"}@media screen and (min-width: 1024px){:host{grid-template-columns:minmax(5%,1fr) minmax(auto,1366px) minmax(5%,1fr)}}:host .rdsite-template-header{grid-area:header}:host .rdsite-template-sticky-content{grid-area:stickycontent}:host .rdsite-template-before-content{grid-area:beforecontent}:host .rdsite-template-container{grid-area:pagecontent}:host .rdsite-template-after-content{grid-area:aftercontent}:host .rdsite-template-sticky-content{position:sticky;top:0;z-index:3002}:host .rdsite-template-container{display:grid;position:relative;width:100%;grid-template-rows:auto;grid-template-columns:1fr;grid-template-areas:\"content\" \"sidebarcontent\"}@media screen and (min-width: 1024px){:host .rdsite-template-container{grid-template-rows:1fr;grid-template-columns:3fr 20px 1fr;grid-template-areas:\"content . sidebarcontent\"}}:host .rdsite-template-container .rdsite-content-container{grid-area:content;position:relative;max-width:100%}:host .rdsite-template-container .rdsite-sidebar-content-container{grid-area:sidebarcontent;position:relative;z-index:3001}\n"] }]
19
20
  }], propDecorators: { header: [{
20
21
  type: Input
22
+ }], stickyContent: [{
23
+ type: Input
21
24
  }], beforeContent: [{
22
25
  type: Input
23
26
  }], content: [{
@@ -27,4 +30,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
27
30
  }], sidebarContent: [{
28
31
  type: Input
29
32
  }] } });
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS10ZW1wbGF0ZS1zaWRlYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpdGUtZnJvbnQtZW5kLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvcGFnZS10ZW1wbGF0ZS1zaWRlYmFyL3BhZ2UtdGVtcGxhdGUtc2lkZWJhci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaXRlLWZyb250LWVuZC1saWIvc3JjL2xpYi9jb21wb25lbnRzL3BhZ2UtdGVtcGxhdGUtc2lkZWJhci9wYWdlLXRlbXBsYXRlLXNpZGViYXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxTQUFTLEVBQUUsc0JBQXNCLEVBQUUsS0FBSyxFQUFlLE1BQU0sZUFBZSxDQUFDOzs7Q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luZXIgKm5nVGVtcGxhdGVPdXRsZXQ9XCJhZnRlckNvbnRlbnRcIj48L25nLWNvbnRhaW5lcj5cbiAgfVxuPC9kaXY+XG4iXX0=
@@ -42,18 +42,21 @@ export class SectionNavigationComponent {
42
42
  }
43
43
  onSectionClick(section) {
44
44
  const config = this.config();
45
- const success = this.scrollService.scrollToElement(section.id, config?.offsetTop ?? 56, config?.smoothScroll ?? true);
45
+ if (!config) {
46
+ throw new Error('navigationConfig é obrigatório.');
47
+ }
48
+ const success = this.scrollService.scrollToElement(section.id, config.offsetTop, config.smoothScroll);
46
49
  if (success) {
47
50
  this.activeSection.set(section.id);
48
51
  this.sectionChange.emit(section);
49
52
  }
50
53
  }
51
54
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SectionNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
52
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: SectionNavigationComponent, isStandalone: true, selector: "rdsite-section-navigation", inputs: { navigationSections: "navigationSections", navigationConfig: "navigationConfig", ariaLabel: "ariaLabel" }, outputs: { sectionChange: "sectionChange" }, ngImport: i0, template: "<nav class=\"rdsite-section-navigation\" [attr.aria-label]=\"ariaLabel\">\r\n <ul class=\"rdsite-section-navigation-menu\" role=\"menubar\">\r\n @for (section of sections(); track section.id) {\r\n <li role=\"none\">\r\n @if (activeSection() === section.id) {\r\n <cura-button\r\n size=\"small\"\r\n type=\"button\"\r\n color=\"primary\"\r\n font-color=\"light\"\r\n target=\"_self\"\r\n role=\"menuitem\"\r\n [id]=\"'nav-' + section.id\"\r\n [attr.aria-current]=\"'page'\"\r\n (click)=\"onSectionClick(section)\"\r\n [attr.aria-label]=\"'Navigate to ' + section.title\"\r\n >\r\n {{ section.title }}\r\n </cura-button>\r\n } @else {\r\n <cura-button-transparent\r\n size=\"small\"\r\n type=\"button\"\r\n color=\"neutral\"\r\n font-color=\"dark\"\r\n target=\"_self\"\r\n text-align=\"center\"\r\n role=\"menuitem\"\r\n [id]=\"'nav-' + section.id\"\r\n [attr.aria-current]=\"null\"\r\n (click)=\"onSectionClick(section)\"\r\n [attr.aria-label]=\"'Navigate to ' + section.title\"\r\n >\r\n {{ section.title }}\r\n </cura-button-transparent>\r\n }\r\n </li>\r\n }\r\n </ul>\r\n</nav>\r\n", styles: [".rdsite-section-navigation{width:100vw;position:sticky;top:5rem;left:0;z-index:10;background-color:#fff;border-bottom:1px solid #b7b7b7;box-shadow:0 4px 8px #26262629;padding-top:26px}@media only screen and (min-width: 1366px){.rdsite-section-navigation{top:5.5rem}}.rdsite-section-navigation-menu{max-width:1366px;margin:0 auto;display:flex;list-style:none;padding:0}cura-button{position:relative;--border-radius: 4px 4px 0 0 !important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
55
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: SectionNavigationComponent, isStandalone: true, selector: "nav[rdsite-section-navigation]", inputs: { navigationSections: "navigationSections", navigationConfig: "navigationConfig", ariaLabel: "ariaLabel" }, outputs: { sectionChange: "sectionChange" }, ngImport: i0, template: "<nav class=\"rdsite-section-navigation\" [attr.aria-label]=\"ariaLabel\" [style.top.px]=\"config()?.offsetTop || 0\">\r\n <ul class=\"rdsite-section-navigation-menu\" role=\"menubar\">\r\n @for (section of sections(); track section.id) {\r\n <li role=\"none\">\r\n @if (activeSection() === section.id) {\r\n <cura-button\r\n size=\"small\"\r\n type=\"button\"\r\n color=\"primary\"\r\n font-color=\"light\"\r\n target=\"_self\"\r\n role=\"menuitem\"\r\n [id]=\"'nav-' + section.id\"\r\n [attr.aria-current]=\"'page'\"\r\n (click)=\"onSectionClick(section)\"\r\n [attr.aria-label]=\"'Navigate to ' + section.title\"\r\n >\r\n {{ section.title }}\r\n </cura-button>\r\n } @else {\r\n <cura-button-transparent\r\n size=\"small\"\r\n type=\"button\"\r\n color=\"neutral\"\r\n font-color=\"dark\"\r\n target=\"_self\"\r\n text-align=\"center\"\r\n role=\"menuitem\"\r\n [id]=\"'nav-' + section.id\"\r\n [attr.aria-current]=\"null\"\r\n (click)=\"onSectionClick(section)\"\r\n [attr.aria-label]=\"'Navigate to ' + section.title\"\r\n >\r\n {{ section.title }}\r\n </cura-button-transparent>\r\n }\r\n </li>\r\n }\r\n </ul>\r\n</nav>\r\n", styles: [".rdsite-section-navigation{width:100%;position:sticky;left:0;z-index:1000;background-color:#fff;border-bottom:1px solid #b7b7b7;box-shadow:0 4px 8px #26262629;padding-top:10px}.rdsite-section-navigation-menu{box-sizing:border-box;width:90%;position:relative;max-width:1366px;margin-left:auto;margin-right:auto;display:flex}.rdsite-section-navigation-menu.full-container{width:100%;max-width:100%}@media only screen and (max-width: 1366px){.rdsite-section-navigation-menu{overflow-x:auto;white-space:nowrap}}cura-button{position:relative;--border-radius: 4px 4px 0 0 !important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
53
56
  }
54
57
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SectionNavigationComponent, decorators: [{
55
58
  type: Component,
56
- args: [{ selector: 'rdsite-section-navigation', standalone: true, imports: [CommonModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<nav class=\"rdsite-section-navigation\" [attr.aria-label]=\"ariaLabel\">\r\n <ul class=\"rdsite-section-navigation-menu\" role=\"menubar\">\r\n @for (section of sections(); track section.id) {\r\n <li role=\"none\">\r\n @if (activeSection() === section.id) {\r\n <cura-button\r\n size=\"small\"\r\n type=\"button\"\r\n color=\"primary\"\r\n font-color=\"light\"\r\n target=\"_self\"\r\n role=\"menuitem\"\r\n [id]=\"'nav-' + section.id\"\r\n [attr.aria-current]=\"'page'\"\r\n (click)=\"onSectionClick(section)\"\r\n [attr.aria-label]=\"'Navigate to ' + section.title\"\r\n >\r\n {{ section.title }}\r\n </cura-button>\r\n } @else {\r\n <cura-button-transparent\r\n size=\"small\"\r\n type=\"button\"\r\n color=\"neutral\"\r\n font-color=\"dark\"\r\n target=\"_self\"\r\n text-align=\"center\"\r\n role=\"menuitem\"\r\n [id]=\"'nav-' + section.id\"\r\n [attr.aria-current]=\"null\"\r\n (click)=\"onSectionClick(section)\"\r\n [attr.aria-label]=\"'Navigate to ' + section.title\"\r\n >\r\n {{ section.title }}\r\n </cura-button-transparent>\r\n }\r\n </li>\r\n }\r\n </ul>\r\n</nav>\r\n", styles: [".rdsite-section-navigation{width:100vw;position:sticky;top:5rem;left:0;z-index:10;background-color:#fff;border-bottom:1px solid #b7b7b7;box-shadow:0 4px 8px #26262629;padding-top:26px}@media only screen and (min-width: 1366px){.rdsite-section-navigation{top:5.5rem}}.rdsite-section-navigation-menu{max-width:1366px;margin:0 auto;display:flex;list-style:none;padding:0}cura-button{position:relative;--border-radius: 4px 4px 0 0 !important}\n"] }]
59
+ args: [{ selector: 'nav[rdsite-section-navigation]', standalone: true, imports: [CommonModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<nav class=\"rdsite-section-navigation\" [attr.aria-label]=\"ariaLabel\" [style.top.px]=\"config()?.offsetTop || 0\">\r\n <ul class=\"rdsite-section-navigation-menu\" role=\"menubar\">\r\n @for (section of sections(); track section.id) {\r\n <li role=\"none\">\r\n @if (activeSection() === section.id) {\r\n <cura-button\r\n size=\"small\"\r\n type=\"button\"\r\n color=\"primary\"\r\n font-color=\"light\"\r\n target=\"_self\"\r\n role=\"menuitem\"\r\n [id]=\"'nav-' + section.id\"\r\n [attr.aria-current]=\"'page'\"\r\n (click)=\"onSectionClick(section)\"\r\n [attr.aria-label]=\"'Navigate to ' + section.title\"\r\n >\r\n {{ section.title }}\r\n </cura-button>\r\n } @else {\r\n <cura-button-transparent\r\n size=\"small\"\r\n type=\"button\"\r\n color=\"neutral\"\r\n font-color=\"dark\"\r\n target=\"_self\"\r\n text-align=\"center\"\r\n role=\"menuitem\"\r\n [id]=\"'nav-' + section.id\"\r\n [attr.aria-current]=\"null\"\r\n (click)=\"onSectionClick(section)\"\r\n [attr.aria-label]=\"'Navigate to ' + section.title\"\r\n >\r\n {{ section.title }}\r\n </cura-button-transparent>\r\n }\r\n </li>\r\n }\r\n </ul>\r\n</nav>\r\n", styles: [".rdsite-section-navigation{width:100%;position:sticky;left:0;z-index:1000;background-color:#fff;border-bottom:1px solid #b7b7b7;box-shadow:0 4px 8px #26262629;padding-top:10px}.rdsite-section-navigation-menu{box-sizing:border-box;width:90%;position:relative;max-width:1366px;margin-left:auto;margin-right:auto;display:flex}.rdsite-section-navigation-menu.full-container{width:100%;max-width:100%}@media only screen and (max-width: 1366px){.rdsite-section-navigation-menu{overflow-x:auto;white-space:nowrap}}cura-button{position:relative;--border-radius: 4px 4px 0 0 !important}\n"] }]
57
60
  }], ctorParameters: () => [], propDecorators: { navigationSections: [{
58
61
  type: Input,
59
62
  args: [{ required: true }]
@@ -64,4 +67,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
64
67
  }], sectionChange: [{
65
68
  type: Output
66
69
  }] } });
67
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi1uYXZpZ2F0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpdGUtZnJvbnQtZW5kLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvc2VjdGlvbi1uYXZpZ2F0aW9uL3NlY3Rpb24tbmF2aWdhdGlvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaXRlLWZyb250LWVuZC1saWIvc3JjL2xpYi9jb21wb25lbnRzL3NlY3Rpb24tbmF2aWdhdGlvbi9zZWN0aW9uLW5hdmlnYXRpb24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOlt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VudFxyXG4gICAgICAgICAgICBzaXplPVwic21hbGxcIlxyXG4gICAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcclxuICAgICAgICAgICAgY29sb3I9XCJuZXV0cmFsXCJcclxuICAgICAgICAgICAgZm9udC1jb2xvcj1cImRhcmtcIlxyXG4gICAgICAgICAgICB0YXJnZXQ9XCJfc2VsZlwiXHJcbiAgICAgICAgICAgIHRleHQtYWxpZ249XCJjZW50ZXJcIlxyXG4gICAgICAgICAgICByb2xlPVwibWVudWl0ZW1cIlxyXG4gICAgICAgICAgICBbaWRdPVwiJ25hdi0nICsgc2VjdGlvbi5pZFwiXHJcbiAgICAgICAgICAgIFthdHRyLmFyaWEtY3VycmVudF09XCJudWxsXCJcclxuICAgICAgICAgICAgKGNsaWNrKT1cIm9uU2VjdGlvbkNsaWNrKHNlY3Rpb24pXCJcclxuICAgICAgICAgICAgW2F0dHIuYXJpYS1sYWJlbF09XCInTmF2aWdhdGUgdG8gJyArIHNlY3Rpb24udGl0bGVcIlxyXG4gICAgICAgICAgPlxyXG4gICAgICAgICAgICB7eyBzZWN0aW9uLnRpdGxlIH19XHJcbiAgICAgICAgICA8L2N1cmEtYnV0dG9uLXRyYW5zcGFyZW50PlxyXG4gICAgICAgIH1cclxuICAgICAgPC9saT5cclxuICAgIH1cclxuICA8L3VsPlxyXG48L25hdj5cclxuIl19
70
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi1uYXZpZ2F0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpdGUtZnJvbnQtZW5kLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvc2VjdGlvbi1uYXZpZ2F0aW9uL3NlY3Rpb24tbmF2aWdhdGlvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9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4gICAgICAgICAgICBbaWRdPVwiJ25hdi0nICsgc2VjdGlvbi5pZFwiXHJcbiAgICAgICAgICAgIFthdHRyLmFyaWEtY3VycmVudF09XCIncGFnZSdcIlxyXG4gICAgICAgICAgICAoY2xpY2spPVwib25TZWN0aW9uQ2xpY2soc2VjdGlvbilcIlxyXG4gICAgICAgICAgICBbYXR0ci5hcmlhLWxhYmVsXT1cIidOYXZpZ2F0ZSB0byAnICsgc2VjdGlvbi50aXRsZVwiXHJcbiAgICAgICAgICA+XHJcbiAgICAgICAgICAgIHt7IHNlY3Rpb24udGl0bGUgfX1cclxuICAgICAgICAgIDwvY3VyYS1idXR0b24+XHJcbiAgICAgICAgfSBAZWxzZSB7XHJcbiAgICAgICAgICA8Y3VyYS1idXR0b24tdHJhbnNwYXJlbnRcclxuICAgICAgICAgICAgc2l6ZT1cInNtYWxsXCJcclxuICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXHJcbiAgICAgICAgICAgIGNvbG9yPVwibmV1dHJhbFwiXHJcbiAgICAgICAgICAgIGZvbnQtY29sb3I9XCJkYXJrXCJcclxuICAgICAgICAgICAgdGFyZ2V0PVwiX3NlbGZcIlxyXG4gICAgICAgICAgICB0ZXh0LWFsaWduPVwiY2VudGVyXCJcclxuICAgICAgICAgICAgcm9sZT1cIm1lbnVpdGVtXCJcclxuICAgICAgICAgICAgW2lkXT1cIiduYXYtJyArIHNlY3Rpb24uaWRcIlxyXG4gICAgICAgICAgICBbYXR0ci5hcmlhLWN1cnJlbnRdPVwibnVsbFwiXHJcbiAgICAgICAgICAgIChjbGljayk9XCJvblNlY3Rpb25DbGljayhzZWN0aW9uKVwiXHJcbiAgICAgICAgICAgIFthdHRyLmFyaWEtbGFiZWxdPVwiJ05hdmlnYXRlIHRvICcgKyBzZWN0aW9uLnRpdGxlXCJcclxuICAgICAgICAgID5cclxuICAgICAgICAgICAge3sgc2VjdGlvbi50aXRsZSB9fVxyXG4gICAgICAgICAgPC9jdXJhLWJ1dHRvbi10cmFuc3BhcmVudD5cclxuICAgICAgICB9XHJcbiAgICAgIDwvbGk+XHJcbiAgICB9XHJcbiAgPC91bD5cclxuPC9uYXY+XHJcbiJdfQ==
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi1uYXZpZ2F0aW9uLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2l0ZS1mcm9udC1lbmQtbGliL3NyYy9saWIvbW9kZWxzL3NlY3Rpb24tbmF2aWdhdGlvbi5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBOYXZpZ2F0aW9uU2VjdGlvbiB7XHJcbiAgaWQ6IHN0cmluZztcclxuICB0aXRsZTogc3RyaW5nO1xyXG59XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIFNlY3Rpb25OYXZpZ2F0aW9uQ29uZmlnIHtcclxuICBvZmZzZXRUb3A/OiBudW1iZXI7XHJcbiAgc21vb3RoU2Nyb2xsPzogYm9vbGVhbjtcclxuICBjb250YWluZXJDbGFzcz86IHN0cmluZztcclxufVxyXG4iXX0=
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi1uYXZpZ2F0aW9uLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2l0ZS1mcm9udC1lbmQtbGliL3NyYy9saWIvbW9kZWxzL3NlY3Rpb24tbmF2aWdhdGlvbi5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBTZWN0aW9uTmF2aWdhdGlvbkRhdGEge1xyXG4gIGlkOiBzdHJpbmc7XHJcbiAgdGl0bGU6IHN0cmluZztcclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBTZWN0aW9uTmF2aWdhdGlvbkNvbmZpZyB7XHJcbiAgb2Zmc2V0VG9wOiBudW1iZXI7XHJcbiAgc21vb3RoU2Nyb2xsOiBib29sZWFuO1xyXG4gIGNvbnRhaW5lckNsYXNzOiBzdHJpbmc7XHJcbn1cclxuIl19
@@ -19117,19 +19117,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
19117
19117
  class PageTemplateSidebarComponent {
19118
19118
  constructor() {
19119
19119
  this.header = null;
19120
+ this.stickyContent = null;
19120
19121
  this.beforeContent = null;
19121
19122
  this.content = null;
19122
19123
  this.afterContent = null;
19123
19124
  this.sidebarContent = null;
19124
19125
  }
19125
19126
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PageTemplateSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
19126
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PageTemplateSidebarComponent, isStandalone: true, selector: "rdsite-page-template-sidebar", inputs: { header: "header", beforeContent: "beforeContent", content: "content", afterContent: "afterContent", sidebarContent: "sidebarContent" }, ngImport: i0, template: "<div class=\"rdsite-template-header\">\r\n @if (header) {\r\n <ng-container *ngTemplateOutlet=\"header\"></ng-container>\r\n }\r\n</div>\r\n\r\n<div class=\"rdsite-template-before-content\">\r\n @if (beforeContent) {\r\n <ng-container *ngTemplateOutlet=\"beforeContent\"></ng-container>\r\n }\r\n</div>\r\n\r\n<div class=\"rdsite-template-container\">\r\n @if (content) {\r\n <section class=\"rdsite-content-container\">\r\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\r\n </section>\r\n }\r\n\r\n @if (sidebarContent) {\r\n <aside class=\"rdsite-sidebar-content-container\">\r\n <ng-container *ngTemplateOutlet=\"sidebarContent\"></ng-container>\r\n </aside>\r\n }\r\n</div>\r\n\r\n<div class=\"rdsite-template-after-content\">\r\n @if (afterContent) {\r\n <ng-container *ngTemplateOutlet=\"afterContent\"></ng-container>\r\n }\r\n</div>\r\n", styles: [":host{display:grid;grid-template-rows:auto auto auto auto;grid-template-columns:minmax(5%,1fr) minmax(auto,90%) minmax(5%,1fr);grid-template-areas:\"header header header\" \"beforecontent beforecontent beforecontent\" \". pagecontent .\" \"aftercontent aftercontent aftercontent\"}@media screen and (min-width: 1024px){:host{grid-template-columns:minmax(5%,1fr) minmax(auto,1366px) minmax(5%,1fr)}}:host .rdsite-template-header{grid-area:header}:host .rdsite-template-before-content{grid-area:beforecontent}:host .rdsite-template-container{grid-area:pagecontent}:host .rdsite-template-after-content{grid-area:aftercontent}:host .rdsite-template-container{display:grid;position:relative;width:100%;grid-template-rows:auto;grid-template-columns:1fr;grid-template-areas:\"content\" \"sidebarcontent\"}@media screen and (min-width: 1024px){:host .rdsite-template-container{grid-template-rows:1fr;grid-template-columns:3fr 20px 1fr;grid-template-areas:\"content . sidebarcontent\"}}:host .rdsite-template-container .rdsite-content-container{grid-area:content;position:relative;max-width:100%}:host .rdsite-template-container .rdsite-sidebar-content-container{grid-area:sidebarcontent;position:relative;z-index:3001}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
19127
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PageTemplateSidebarComponent, isStandalone: true, selector: "rdsite-page-template-sidebar", inputs: { header: "header", stickyContent: "stickyContent", beforeContent: "beforeContent", content: "content", afterContent: "afterContent", sidebarContent: "sidebarContent" }, ngImport: i0, template: "<div class=\"rdsite-template-header\">\n @if (header) {\n <ng-container *ngTemplateOutlet=\"header\"></ng-container>\n }\n</div>\n\n@if (stickyContent) {\n <div class=\"rdsite-template-sticky-content\">\n <ng-container *ngTemplateOutlet=\"stickyContent\"></ng-container>\n </div>\n}\n\n<div class=\"rdsite-template-before-content\">\n @if (beforeContent) {\n <ng-container *ngTemplateOutlet=\"beforeContent\"></ng-container>\n }\n</div>\n\n<div class=\"rdsite-template-container\">\n @if (content) {\n <section class=\"rdsite-content-container\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </section>\n }\n\n @if (sidebarContent) {\n <aside class=\"rdsite-sidebar-content-container\">\n <ng-container *ngTemplateOutlet=\"sidebarContent\"></ng-container>\n </aside>\n }\n</div>\n\n<div class=\"rdsite-template-after-content\">\n @if (afterContent) {\n <ng-container *ngTemplateOutlet=\"afterContent\"></ng-container>\n }\n</div>\n", styles: [":host{display:grid;grid-template-rows:auto auto auto auto auto;grid-template-columns:minmax(5%,1fr) minmax(auto,90%) minmax(5%,1fr);grid-template-areas:\"header header header\" \"stickycontent stickycontent stickycontent\" \"beforecontent beforecontent beforecontent\" \". pagecontent .\" \"aftercontent aftercontent aftercontent\"}@media screen and (min-width: 1024px){:host{grid-template-columns:minmax(5%,1fr) minmax(auto,1366px) minmax(5%,1fr)}}:host .rdsite-template-header{grid-area:header}:host .rdsite-template-sticky-content{grid-area:stickycontent}:host .rdsite-template-before-content{grid-area:beforecontent}:host .rdsite-template-container{grid-area:pagecontent}:host .rdsite-template-after-content{grid-area:aftercontent}:host .rdsite-template-sticky-content{position:sticky;top:0;z-index:3002}:host .rdsite-template-container{display:grid;position:relative;width:100%;grid-template-rows:auto;grid-template-columns:1fr;grid-template-areas:\"content\" \"sidebarcontent\"}@media screen and (min-width: 1024px){:host .rdsite-template-container{grid-template-rows:1fr;grid-template-columns:3fr 20px 1fr;grid-template-areas:\"content . sidebarcontent\"}}:host .rdsite-template-container .rdsite-content-container{grid-area:content;position:relative;max-width:100%}:host .rdsite-template-container .rdsite-sidebar-content-container{grid-area:sidebarcontent;position:relative;z-index:3001}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
19127
19128
  }
19128
19129
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PageTemplateSidebarComponent, decorators: [{
19129
19130
  type: Component,
19130
- args: [{ selector: 'rdsite-page-template-sidebar', standalone: true, imports: [CommonModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<div class=\"rdsite-template-header\">\r\n @if (header) {\r\n <ng-container *ngTemplateOutlet=\"header\"></ng-container>\r\n }\r\n</div>\r\n\r\n<div class=\"rdsite-template-before-content\">\r\n @if (beforeContent) {\r\n <ng-container *ngTemplateOutlet=\"beforeContent\"></ng-container>\r\n }\r\n</div>\r\n\r\n<div class=\"rdsite-template-container\">\r\n @if (content) {\r\n <section class=\"rdsite-content-container\">\r\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\r\n </section>\r\n }\r\n\r\n @if (sidebarContent) {\r\n <aside class=\"rdsite-sidebar-content-container\">\r\n <ng-container *ngTemplateOutlet=\"sidebarContent\"></ng-container>\r\n </aside>\r\n }\r\n</div>\r\n\r\n<div class=\"rdsite-template-after-content\">\r\n @if (afterContent) {\r\n <ng-container *ngTemplateOutlet=\"afterContent\"></ng-container>\r\n }\r\n</div>\r\n", styles: [":host{display:grid;grid-template-rows:auto auto auto auto;grid-template-columns:minmax(5%,1fr) minmax(auto,90%) minmax(5%,1fr);grid-template-areas:\"header header header\" \"beforecontent beforecontent beforecontent\" \". pagecontent .\" \"aftercontent aftercontent aftercontent\"}@media screen and (min-width: 1024px){:host{grid-template-columns:minmax(5%,1fr) minmax(auto,1366px) minmax(5%,1fr)}}:host .rdsite-template-header{grid-area:header}:host .rdsite-template-before-content{grid-area:beforecontent}:host .rdsite-template-container{grid-area:pagecontent}:host .rdsite-template-after-content{grid-area:aftercontent}:host .rdsite-template-container{display:grid;position:relative;width:100%;grid-template-rows:auto;grid-template-columns:1fr;grid-template-areas:\"content\" \"sidebarcontent\"}@media screen and (min-width: 1024px){:host .rdsite-template-container{grid-template-rows:1fr;grid-template-columns:3fr 20px 1fr;grid-template-areas:\"content . sidebarcontent\"}}:host .rdsite-template-container .rdsite-content-container{grid-area:content;position:relative;max-width:100%}:host .rdsite-template-container .rdsite-sidebar-content-container{grid-area:sidebarcontent;position:relative;z-index:3001}\n"] }]
19131
+ args: [{ selector: 'rdsite-page-template-sidebar', standalone: true, imports: [CommonModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<div class=\"rdsite-template-header\">\n @if (header) {\n <ng-container *ngTemplateOutlet=\"header\"></ng-container>\n }\n</div>\n\n@if (stickyContent) {\n <div class=\"rdsite-template-sticky-content\">\n <ng-container *ngTemplateOutlet=\"stickyContent\"></ng-container>\n </div>\n}\n\n<div class=\"rdsite-template-before-content\">\n @if (beforeContent) {\n <ng-container *ngTemplateOutlet=\"beforeContent\"></ng-container>\n }\n</div>\n\n<div class=\"rdsite-template-container\">\n @if (content) {\n <section class=\"rdsite-content-container\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </section>\n }\n\n @if (sidebarContent) {\n <aside class=\"rdsite-sidebar-content-container\">\n <ng-container *ngTemplateOutlet=\"sidebarContent\"></ng-container>\n </aside>\n }\n</div>\n\n<div class=\"rdsite-template-after-content\">\n @if (afterContent) {\n <ng-container *ngTemplateOutlet=\"afterContent\"></ng-container>\n }\n</div>\n", styles: [":host{display:grid;grid-template-rows:auto auto auto auto auto;grid-template-columns:minmax(5%,1fr) minmax(auto,90%) minmax(5%,1fr);grid-template-areas:\"header header header\" \"stickycontent stickycontent stickycontent\" \"beforecontent beforecontent beforecontent\" \". pagecontent .\" \"aftercontent aftercontent aftercontent\"}@media screen and (min-width: 1024px){:host{grid-template-columns:minmax(5%,1fr) minmax(auto,1366px) minmax(5%,1fr)}}:host .rdsite-template-header{grid-area:header}:host .rdsite-template-sticky-content{grid-area:stickycontent}:host .rdsite-template-before-content{grid-area:beforecontent}:host .rdsite-template-container{grid-area:pagecontent}:host .rdsite-template-after-content{grid-area:aftercontent}:host .rdsite-template-sticky-content{position:sticky;top:0;z-index:3002}:host .rdsite-template-container{display:grid;position:relative;width:100%;grid-template-rows:auto;grid-template-columns:1fr;grid-template-areas:\"content\" \"sidebarcontent\"}@media screen and (min-width: 1024px){:host .rdsite-template-container{grid-template-rows:1fr;grid-template-columns:3fr 20px 1fr;grid-template-areas:\"content . sidebarcontent\"}}:host .rdsite-template-container .rdsite-content-container{grid-area:content;position:relative;max-width:100%}:host .rdsite-template-container .rdsite-sidebar-content-container{grid-area:sidebarcontent;position:relative;z-index:3001}\n"] }]
19131
19132
  }], propDecorators: { header: [{
19132
19133
  type: Input
19134
+ }], stickyContent: [{
19135
+ type: Input
19133
19136
  }], beforeContent: [{
19134
19137
  type: Input
19135
19138
  }], content: [{
@@ -19358,18 +19361,21 @@ class SectionNavigationComponent {
19358
19361
  }
19359
19362
  onSectionClick(section) {
19360
19363
  const config = this.config();
19361
- const success = this.scrollService.scrollToElement(section.id, config?.offsetTop ?? 56, config?.smoothScroll ?? true);
19364
+ if (!config) {
19365
+ throw new Error('navigationConfig é obrigatório.');
19366
+ }
19367
+ const success = this.scrollService.scrollToElement(section.id, config.offsetTop, config.smoothScroll);
19362
19368
  if (success) {
19363
19369
  this.activeSection.set(section.id);
19364
19370
  this.sectionChange.emit(section);
19365
19371
  }
19366
19372
  }
19367
19373
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SectionNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
19368
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: SectionNavigationComponent, isStandalone: true, selector: "rdsite-section-navigation", inputs: { navigationSections: "navigationSections", navigationConfig: "navigationConfig", ariaLabel: "ariaLabel" }, outputs: { sectionChange: "sectionChange" }, ngImport: i0, template: "<nav class=\"rdsite-section-navigation\" [attr.aria-label]=\"ariaLabel\">\r\n <ul class=\"rdsite-section-navigation-menu\" role=\"menubar\">\r\n @for (section of sections(); track section.id) {\r\n <li role=\"none\">\r\n @if (activeSection() === section.id) {\r\n <cura-button\r\n size=\"small\"\r\n type=\"button\"\r\n color=\"primary\"\r\n font-color=\"light\"\r\n target=\"_self\"\r\n role=\"menuitem\"\r\n [id]=\"'nav-' + section.id\"\r\n [attr.aria-current]=\"'page'\"\r\n (click)=\"onSectionClick(section)\"\r\n [attr.aria-label]=\"'Navigate to ' + section.title\"\r\n >\r\n {{ section.title }}\r\n </cura-button>\r\n } @else {\r\n <cura-button-transparent\r\n size=\"small\"\r\n type=\"button\"\r\n color=\"neutral\"\r\n font-color=\"dark\"\r\n target=\"_self\"\r\n text-align=\"center\"\r\n role=\"menuitem\"\r\n [id]=\"'nav-' + section.id\"\r\n [attr.aria-current]=\"null\"\r\n (click)=\"onSectionClick(section)\"\r\n [attr.aria-label]=\"'Navigate to ' + section.title\"\r\n >\r\n {{ section.title }}\r\n </cura-button-transparent>\r\n }\r\n </li>\r\n }\r\n </ul>\r\n</nav>\r\n", styles: [".rdsite-section-navigation{width:100vw;position:sticky;top:5rem;left:0;z-index:10;background-color:#fff;border-bottom:1px solid #b7b7b7;box-shadow:0 4px 8px #26262629;padding-top:26px}@media only screen and (min-width: 1366px){.rdsite-section-navigation{top:5.5rem}}.rdsite-section-navigation-menu{max-width:1366px;margin:0 auto;display:flex;list-style:none;padding:0}cura-button{position:relative;--border-radius: 4px 4px 0 0 !important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
19374
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: SectionNavigationComponent, isStandalone: true, selector: "nav[rdsite-section-navigation]", inputs: { navigationSections: "navigationSections", navigationConfig: "navigationConfig", ariaLabel: "ariaLabel" }, outputs: { sectionChange: "sectionChange" }, ngImport: i0, template: "<nav class=\"rdsite-section-navigation\" [attr.aria-label]=\"ariaLabel\" [style.top.px]=\"config()?.offsetTop || 0\">\r\n <ul class=\"rdsite-section-navigation-menu\" role=\"menubar\">\r\n @for (section of sections(); track section.id) {\r\n <li role=\"none\">\r\n @if (activeSection() === section.id) {\r\n <cura-button\r\n size=\"small\"\r\n type=\"button\"\r\n color=\"primary\"\r\n font-color=\"light\"\r\n target=\"_self\"\r\n role=\"menuitem\"\r\n [id]=\"'nav-' + section.id\"\r\n [attr.aria-current]=\"'page'\"\r\n (click)=\"onSectionClick(section)\"\r\n [attr.aria-label]=\"'Navigate to ' + section.title\"\r\n >\r\n {{ section.title }}\r\n </cura-button>\r\n } @else {\r\n <cura-button-transparent\r\n size=\"small\"\r\n type=\"button\"\r\n color=\"neutral\"\r\n font-color=\"dark\"\r\n target=\"_self\"\r\n text-align=\"center\"\r\n role=\"menuitem\"\r\n [id]=\"'nav-' + section.id\"\r\n [attr.aria-current]=\"null\"\r\n (click)=\"onSectionClick(section)\"\r\n [attr.aria-label]=\"'Navigate to ' + section.title\"\r\n >\r\n {{ section.title }}\r\n </cura-button-transparent>\r\n }\r\n </li>\r\n }\r\n </ul>\r\n</nav>\r\n", styles: [".rdsite-section-navigation{width:100%;position:sticky;left:0;z-index:1000;background-color:#fff;border-bottom:1px solid #b7b7b7;box-shadow:0 4px 8px #26262629;padding-top:10px}.rdsite-section-navigation-menu{box-sizing:border-box;width:90%;position:relative;max-width:1366px;margin-left:auto;margin-right:auto;display:flex}.rdsite-section-navigation-menu.full-container{width:100%;max-width:100%}@media only screen and (max-width: 1366px){.rdsite-section-navigation-menu{overflow-x:auto;white-space:nowrap}}cura-button{position:relative;--border-radius: 4px 4px 0 0 !important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
19369
19375
  }
19370
19376
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SectionNavigationComponent, decorators: [{
19371
19377
  type: Component,
19372
- args: [{ selector: 'rdsite-section-navigation', standalone: true, imports: [CommonModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<nav class=\"rdsite-section-navigation\" [attr.aria-label]=\"ariaLabel\">\r\n <ul class=\"rdsite-section-navigation-menu\" role=\"menubar\">\r\n @for (section of sections(); track section.id) {\r\n <li role=\"none\">\r\n @if (activeSection() === section.id) {\r\n <cura-button\r\n size=\"small\"\r\n type=\"button\"\r\n color=\"primary\"\r\n font-color=\"light\"\r\n target=\"_self\"\r\n role=\"menuitem\"\r\n [id]=\"'nav-' + section.id\"\r\n [attr.aria-current]=\"'page'\"\r\n (click)=\"onSectionClick(section)\"\r\n [attr.aria-label]=\"'Navigate to ' + section.title\"\r\n >\r\n {{ section.title }}\r\n </cura-button>\r\n } @else {\r\n <cura-button-transparent\r\n size=\"small\"\r\n type=\"button\"\r\n color=\"neutral\"\r\n font-color=\"dark\"\r\n target=\"_self\"\r\n text-align=\"center\"\r\n role=\"menuitem\"\r\n [id]=\"'nav-' + section.id\"\r\n [attr.aria-current]=\"null\"\r\n (click)=\"onSectionClick(section)\"\r\n [attr.aria-label]=\"'Navigate to ' + section.title\"\r\n >\r\n {{ section.title }}\r\n </cura-button-transparent>\r\n }\r\n </li>\r\n }\r\n </ul>\r\n</nav>\r\n", styles: [".rdsite-section-navigation{width:100vw;position:sticky;top:5rem;left:0;z-index:10;background-color:#fff;border-bottom:1px solid #b7b7b7;box-shadow:0 4px 8px #26262629;padding-top:26px}@media only screen and (min-width: 1366px){.rdsite-section-navigation{top:5.5rem}}.rdsite-section-navigation-menu{max-width:1366px;margin:0 auto;display:flex;list-style:none;padding:0}cura-button{position:relative;--border-radius: 4px 4px 0 0 !important}\n"] }]
19378
+ args: [{ selector: 'nav[rdsite-section-navigation]', standalone: true, imports: [CommonModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<nav class=\"rdsite-section-navigation\" [attr.aria-label]=\"ariaLabel\" [style.top.px]=\"config()?.offsetTop || 0\">\r\n <ul class=\"rdsite-section-navigation-menu\" role=\"menubar\">\r\n @for (section of sections(); track section.id) {\r\n <li role=\"none\">\r\n @if (activeSection() === section.id) {\r\n <cura-button\r\n size=\"small\"\r\n type=\"button\"\r\n color=\"primary\"\r\n font-color=\"light\"\r\n target=\"_self\"\r\n role=\"menuitem\"\r\n [id]=\"'nav-' + section.id\"\r\n [attr.aria-current]=\"'page'\"\r\n (click)=\"onSectionClick(section)\"\r\n [attr.aria-label]=\"'Navigate to ' + section.title\"\r\n >\r\n {{ section.title }}\r\n </cura-button>\r\n } @else {\r\n <cura-button-transparent\r\n size=\"small\"\r\n type=\"button\"\r\n color=\"neutral\"\r\n font-color=\"dark\"\r\n target=\"_self\"\r\n text-align=\"center\"\r\n role=\"menuitem\"\r\n [id]=\"'nav-' + section.id\"\r\n [attr.aria-current]=\"null\"\r\n (click)=\"onSectionClick(section)\"\r\n [attr.aria-label]=\"'Navigate to ' + section.title\"\r\n >\r\n {{ section.title }}\r\n </cura-button-transparent>\r\n }\r\n </li>\r\n }\r\n </ul>\r\n</nav>\r\n", styles: [".rdsite-section-navigation{width:100%;position:sticky;left:0;z-index:1000;background-color:#fff;border-bottom:1px solid #b7b7b7;box-shadow:0 4px 8px #26262629;padding-top:10px}.rdsite-section-navigation-menu{box-sizing:border-box;width:90%;position:relative;max-width:1366px;margin-left:auto;margin-right:auto;display:flex}.rdsite-section-navigation-menu.full-container{width:100%;max-width:100%}@media only screen and (max-width: 1366px){.rdsite-section-navigation-menu{overflow-x:auto;white-space:nowrap}}cura-button{position:relative;--border-radius: 4px 4px 0 0 !important}\n"] }]
19373
19379
  }], ctorParameters: () => [], propDecorators: { navigationSections: [{
19374
19380
  type: Input,
19375
19381
  args: [{ required: true }]