@jooler/jooler-websites-shared 0.0.7 → 0.0.8

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.
@@ -1,4 +1,4 @@
1
- import { Component, Input } from '@angular/core';
1
+ import { Component, EventEmitter, Input, Output } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  import * as i1 from "@angular/common";
4
4
  import * as i2 from "@angular/material/expansion";
@@ -7,18 +7,27 @@ export class PageSectionStyleTenComponent {
7
7
  constructor() {
8
8
  this.iconName = "circle";
9
9
  this.panelOpenState = false;
10
+ this.panelChanged = new EventEmitter();
10
11
  }
11
- ngOnInit() {
12
+ ngOnInit() { }
13
+ onClickPanel(index) {
14
+ this.selectedPanel = index;
15
+ console.log(this.selectedPanel);
16
+ this.panelChanged.emit(this.selectedPanel);
12
17
  }
13
18
  }
14
19
  PageSectionStyleTenComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: PageSectionStyleTenComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
15
- PageSectionStyleTenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: PageSectionStyleTenComponent, selector: "page-section-style-ten", inputs: { data: "data", iconName: "iconName" }, ngImport: i0, template: "<mat-accordion class=\"mat-mdc-form-field\">\n <mat-expansion-panel (opened)=\"panelOpenState = true\" (closed)=\"panelOpenState = false\" *ngFor=\"let item of data\">\n <mat-expansion-panel-header>\n <div class=\"panel-headline\">\n <mat-panel-title>\n <fa-icon [icon]=\"iconName\">\n </fa-icon>\n {{item.question}}\n </mat-panel-title>\n </div>\n </mat-expansion-panel-header>\n <div class=\"panel-content\">\n <ul>\n <li>\n {{item.answer}}\n </li>\n </ul>\n </div>\n </mat-expansion-panel>\n</mat-accordion>", styles: ["mat-card{height:10rem;width:40rem;margin:4.5rem 4.5rem 4.5rem 25rem}.mat-mdc-form-field{display:grid;row-gap:1rem}.main-container{width:100%;height:90vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-self:stretch;margin:2rem auto;z-index:1;max-width:130rem;padding:0 5rem}mat-expansion-panel{background:#FAFAFA}mat-expansion-panel fa-icon{font-size:.7rem;margin-right:1rem}mat-expansion-panel-header{height:100%;min-height:7rem;font-size:1.7rem;font-weight:600}.mat-expansion-panel-header.mat-expanded{height:auto}@media only screen and (max-width: 37.5em){mat-expansion-panel{margin:0rem 1rem}}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.MatAccordion, selector: "mat-accordion", inputs: ["multi", "hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: i2.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i2.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i2.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "component", type: i3.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] });
20
+ PageSectionStyleTenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: PageSectionStyleTenComponent, selector: "page-section-style-ten", inputs: { data: "data", iconName: "iconName", selectedPanel: "selectedPanel" }, outputs: { panelChanged: "panelChanged" }, ngImport: i0, template: "<mat-accordion class=\"mat-mdc-form-field\">\n <mat-expansion-panel (opened)=\"panelOpenState = true\" (closed)=\"panelOpenState = false\" *ngFor=\"let item of data; let i = index\" (click)=\"onClickPanel(i)\">\n <mat-expansion-panel-header>\n <div class=\"panel-headline\">\n <mat-panel-title>\n <fa-icon [icon]=\"iconName\">\n </fa-icon>\n {{item.question}}\n </mat-panel-title>\n </div>\n </mat-expansion-panel-header>\n <div class=\"panel-content\">\n <ul>\n <li>\n {{item.answer}}\n </li>\n </ul>\n </div>\n </mat-expansion-panel>\n</mat-accordion>", styles: ["mat-card{height:10rem;width:40rem;margin:4.5rem 4.5rem 4.5rem 25rem}.mat-mdc-form-field{display:grid;row-gap:1rem}.main-container{width:100%;height:90vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-self:stretch;margin:2rem auto;z-index:1;max-width:130rem;padding:0 5rem}mat-expansion-panel{background:#FAFAFA}mat-expansion-panel fa-icon{font-size:.7rem;margin-right:1rem}mat-expansion-panel-header{height:100%;min-height:7rem;font-size:1.7rem;font-weight:600}.mat-expansion-panel-header.mat-expanded{height:auto}@media only screen and (max-width: 37.5em){mat-expansion-panel{margin:0rem 1rem}}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.MatAccordion, selector: "mat-accordion", inputs: ["multi", "hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: i2.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i2.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i2.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "component", type: i3.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] });
16
21
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: PageSectionStyleTenComponent, decorators: [{
17
22
  type: Component,
18
- args: [{ selector: 'page-section-style-ten', template: "<mat-accordion class=\"mat-mdc-form-field\">\n <mat-expansion-panel (opened)=\"panelOpenState = true\" (closed)=\"panelOpenState = false\" *ngFor=\"let item of data\">\n <mat-expansion-panel-header>\n <div class=\"panel-headline\">\n <mat-panel-title>\n <fa-icon [icon]=\"iconName\">\n </fa-icon>\n {{item.question}}\n </mat-panel-title>\n </div>\n </mat-expansion-panel-header>\n <div class=\"panel-content\">\n <ul>\n <li>\n {{item.answer}}\n </li>\n </ul>\n </div>\n </mat-expansion-panel>\n</mat-accordion>", styles: ["mat-card{height:10rem;width:40rem;margin:4.5rem 4.5rem 4.5rem 25rem}.mat-mdc-form-field{display:grid;row-gap:1rem}.main-container{width:100%;height:90vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-self:stretch;margin:2rem auto;z-index:1;max-width:130rem;padding:0 5rem}mat-expansion-panel{background:#FAFAFA}mat-expansion-panel fa-icon{font-size:.7rem;margin-right:1rem}mat-expansion-panel-header{height:100%;min-height:7rem;font-size:1.7rem;font-weight:600}.mat-expansion-panel-header.mat-expanded{height:auto}@media only screen and (max-width: 37.5em){mat-expansion-panel{margin:0rem 1rem}}\n"] }]
23
+ args: [{ selector: 'page-section-style-ten', template: "<mat-accordion class=\"mat-mdc-form-field\">\n <mat-expansion-panel (opened)=\"panelOpenState = true\" (closed)=\"panelOpenState = false\" *ngFor=\"let item of data; let i = index\" (click)=\"onClickPanel(i)\">\n <mat-expansion-panel-header>\n <div class=\"panel-headline\">\n <mat-panel-title>\n <fa-icon [icon]=\"iconName\">\n </fa-icon>\n {{item.question}}\n </mat-panel-title>\n </div>\n </mat-expansion-panel-header>\n <div class=\"panel-content\">\n <ul>\n <li>\n {{item.answer}}\n </li>\n </ul>\n </div>\n </mat-expansion-panel>\n</mat-accordion>", styles: ["mat-card{height:10rem;width:40rem;margin:4.5rem 4.5rem 4.5rem 25rem}.mat-mdc-form-field{display:grid;row-gap:1rem}.main-container{width:100%;height:90vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-self:stretch;margin:2rem auto;z-index:1;max-width:130rem;padding:0 5rem}mat-expansion-panel{background:#FAFAFA}mat-expansion-panel fa-icon{font-size:.7rem;margin-right:1rem}mat-expansion-panel-header{height:100%;min-height:7rem;font-size:1.7rem;font-weight:600}.mat-expansion-panel-header.mat-expanded{height:auto}@media only screen and (max-width: 37.5em){mat-expansion-panel{margin:0rem 1rem}}\n"] }]
19
24
  }], ctorParameters: function () { return []; }, propDecorators: { data: [{
20
25
  type: Input
21
26
  }], iconName: [{
22
27
  type: Input
28
+ }], selectedPanel: [{
29
+ type: Input
30
+ }], panelChanged: [{
31
+ type: Output
23
32
  }] } });
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS1zZWN0aW9uLXN0eWxlLXRlbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9qb29sZXItd2Vic2l0ZXMtc2hhcmVkL3NyYy9saWIvcGFnZS1zZWN0aW9uLXN0eWxlLXRlbi9wYWdlLXNlY3Rpb24tc3R5bGUtdGVuLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2pvb2xlci13ZWJzaXRlcy1zaGFyZWQvc3JjL2xpYi9wYWdlLXNlY3Rpb24tc3R5bGUtdGVuL3BhZ2Utc2VjdGlvbi1zdHlsZS10ZW4uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7Ozs7O0FBUXpELE1BQU0sT0FBTyw0QkFBNEI7SUFNdkM7UUFKUyxhQUFRLEdBQVEsUU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QtZXhwYW5zaW9uLXBhbmVsIChvcGVuZWQpPVwicGFuZWxPcGVuU3RhdGUgPSB0cnVlXCIgKGNsb3NlZCk9XCJwYW5lbE9wZW5TdGF0ZSA9IGZhbHNlXCIgKm5nRm9yPVwibGV0IGl0ZW0gb2YgZGF0YVwiPlxuICAgICAgICA8bWF0LWV4cGFuc2lvbi1wYW5lbC1oZWFkZXI+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwicGFuZWwtaGVhZGxpbmVcIj5cbiAgICAgICAgICAgICAgICA8bWF0LXBhbmVsLXRpdGxlPlxuICAgICAgICAgICAgICAgICAgICA8ZmEtaWNvbiBbaWNvbl09XCJpY29uTmFtZVwiPlxuICAgICAgICAgICAgICAgICAgICA8L2ZhLWljb24+XG4gICAgICAgICAgICAgICAgICAgIHt7aXRlbS5xdWVzdGlvbn19XG4gICAgICAgICAgICAgICAgPC9tYXQtcGFuZWwtdGl0bGU+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9tYXQtZXhwYW5zaW9uLXBhbmVsLWhlYWRlcj5cbiAgICAgICAgPGRpdiBjbGFzcz1cInBhbmVsLWNvbnRlbnRcIj5cbiAgICAgICAgICAgIDx1bD5cbiAgICAgICAgICAgICAgICA8bGk+XG4gICAgICAgICAgICAgICAgICAgIHt7aXRlbS5hbnN3ZXJ9fVxuICAgICAgICAgICAgICAgIDwvbGk+XG4gICAgICAgICAgICA8L3VsPlxuICAgICAgICA8L2Rpdj5cbiAgICA8L21hdC1leHBhbnNpb24tcGFuZWw+XG48L21hdC1hY2NvcmRpb24+Il19
33
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS1zZWN0aW9uLXN0eWxlLXRlbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9qb29sZXItd2Vic2l0ZXMtc2hhcmVkL3NyYy9saWIvcGF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FBhbmVsKTtcbiAgfVxufVxuIiwiPG1hdC1hY2NvcmRpb24gY2xhc3M9XCJtYXQtbWRjLWZvcm0tZmllbGRcIj5cbiAgICA8bWF0LWV4cGFuc2lvbi1wYW5lbCAob3BlbmVkKT1cInBhbmVsT3BlblN0YXRlID0gdHJ1ZVwiIChjbG9zZWQpPVwicGFuZWxPcGVuU3RhdGUgPSBmYWxzZVwiICpuZ0Zvcj1cImxldCBpdGVtIG9mIGRhdGE7IGxldCBpID0gaW5kZXhcIiAgKGNsaWNrKT1cIm9uQ2xpY2tQYW5lbChpKVwiPlxuICAgICAgICA8bWF0LWV4cGFuc2lvbi1wYW5lbC1oZWFkZXI+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwicGFuZWwtaGVhZGxpbmVcIj5cbiAgICAgICAgICAgICAgICA8bWF0LXBhbmVsLXRpdGxlPlxuICAgICAgICAgICAgICAgICAgICA8ZmEtaWNvbiBbaWNvbl09XCJpY29uTmFtZVwiPlxuICAgICAgICAgICAgICAgICAgICA8L2ZhLWljb24+XG4gICAgICAgICAgICAgICAgICAgIHt7aXRlbS5xdWVzdGlvbn19XG4gICAgICAgICAgICAgICAgPC9tYXQtcGFuZWwtdGl0bGU+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9tYXQtZXhwYW5zaW9uLXBhbmVsLWhlYWRlcj5cbiAgICAgICAgPGRpdiBjbGFzcz1cInBhbmVsLWNvbnRlbnRcIj5cbiAgICAgICAgICAgIDx1bD5cbiAgICAgICAgICAgICAgICA8bGk+XG4gICAgICAgICAgICAgICAgICAgIHt7aXRlbS5hbnN3ZXJ9fVxuICAgICAgICAgICAgICAgIDwvbGk+XG4gICAgICAgICAgICA8L3VsPlxuICAgICAgICA8L2Rpdj5cbiAgICA8L21hdC1leHBhbnNpb24tcGFuZWw+XG48L21hdC1hY2NvcmRpb24+Il19
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Input, NgModule } from '@angular/core';
2
+ import { Component, Input, EventEmitter, Output, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i2 from '@angular/material/expansion';
@@ -33,19 +33,28 @@ class PageSectionStyleTenComponent {
33
33
  constructor() {
34
34
  this.iconName = "circle";
35
35
  this.panelOpenState = false;
36
+ this.panelChanged = new EventEmitter();
36
37
  }
37
- ngOnInit() {
38
+ ngOnInit() { }
39
+ onClickPanel(index) {
40
+ this.selectedPanel = index;
41
+ console.log(this.selectedPanel);
42
+ this.panelChanged.emit(this.selectedPanel);
38
43
  }
39
44
  }
40
45
  PageSectionStyleTenComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: PageSectionStyleTenComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
41
- PageSectionStyleTenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: PageSectionStyleTenComponent, selector: "page-section-style-ten", inputs: { data: "data", iconName: "iconName" }, ngImport: i0, template: "<mat-accordion class=\"mat-mdc-form-field\">\n <mat-expansion-panel (opened)=\"panelOpenState = true\" (closed)=\"panelOpenState = false\" *ngFor=\"let item of data\">\n <mat-expansion-panel-header>\n <div class=\"panel-headline\">\n <mat-panel-title>\n <fa-icon [icon]=\"iconName\">\n </fa-icon>\n {{item.question}}\n </mat-panel-title>\n </div>\n </mat-expansion-panel-header>\n <div class=\"panel-content\">\n <ul>\n <li>\n {{item.answer}}\n </li>\n </ul>\n </div>\n </mat-expansion-panel>\n</mat-accordion>", styles: ["mat-card{height:10rem;width:40rem;margin:4.5rem 4.5rem 4.5rem 25rem}.mat-mdc-form-field{display:grid;row-gap:1rem}.main-container{width:100%;height:90vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-self:stretch;margin:2rem auto;z-index:1;max-width:130rem;padding:0 5rem}mat-expansion-panel{background:#FAFAFA}mat-expansion-panel fa-icon{font-size:.7rem;margin-right:1rem}mat-expansion-panel-header{height:100%;min-height:7rem;font-size:1.7rem;font-weight:600}.mat-expansion-panel-header.mat-expanded{height:auto}@media only screen and (max-width: 37.5em){mat-expansion-panel{margin:0rem 1rem}}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.MatAccordion, selector: "mat-accordion", inputs: ["multi", "hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: i2.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i2.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i2.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "component", type: i3.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] });
46
+ PageSectionStyleTenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: PageSectionStyleTenComponent, selector: "page-section-style-ten", inputs: { data: "data", iconName: "iconName", selectedPanel: "selectedPanel" }, outputs: { panelChanged: "panelChanged" }, ngImport: i0, template: "<mat-accordion class=\"mat-mdc-form-field\">\n <mat-expansion-panel (opened)=\"panelOpenState = true\" (closed)=\"panelOpenState = false\" *ngFor=\"let item of data; let i = index\" (click)=\"onClickPanel(i)\">\n <mat-expansion-panel-header>\n <div class=\"panel-headline\">\n <mat-panel-title>\n <fa-icon [icon]=\"iconName\">\n </fa-icon>\n {{item.question}}\n </mat-panel-title>\n </div>\n </mat-expansion-panel-header>\n <div class=\"panel-content\">\n <ul>\n <li>\n {{item.answer}}\n </li>\n </ul>\n </div>\n </mat-expansion-panel>\n</mat-accordion>", styles: ["mat-card{height:10rem;width:40rem;margin:4.5rem 4.5rem 4.5rem 25rem}.mat-mdc-form-field{display:grid;row-gap:1rem}.main-container{width:100%;height:90vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-self:stretch;margin:2rem auto;z-index:1;max-width:130rem;padding:0 5rem}mat-expansion-panel{background:#FAFAFA}mat-expansion-panel fa-icon{font-size:.7rem;margin-right:1rem}mat-expansion-panel-header{height:100%;min-height:7rem;font-size:1.7rem;font-weight:600}.mat-expansion-panel-header.mat-expanded{height:auto}@media only screen and (max-width: 37.5em){mat-expansion-panel{margin:0rem 1rem}}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.MatAccordion, selector: "mat-accordion", inputs: ["multi", "hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: i2.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i2.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i2.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "component", type: i3.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] });
42
47
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: PageSectionStyleTenComponent, decorators: [{
43
48
  type: Component,
44
- args: [{ selector: 'page-section-style-ten', template: "<mat-accordion class=\"mat-mdc-form-field\">\n <mat-expansion-panel (opened)=\"panelOpenState = true\" (closed)=\"panelOpenState = false\" *ngFor=\"let item of data\">\n <mat-expansion-panel-header>\n <div class=\"panel-headline\">\n <mat-panel-title>\n <fa-icon [icon]=\"iconName\">\n </fa-icon>\n {{item.question}}\n </mat-panel-title>\n </div>\n </mat-expansion-panel-header>\n <div class=\"panel-content\">\n <ul>\n <li>\n {{item.answer}}\n </li>\n </ul>\n </div>\n </mat-expansion-panel>\n</mat-accordion>", styles: ["mat-card{height:10rem;width:40rem;margin:4.5rem 4.5rem 4.5rem 25rem}.mat-mdc-form-field{display:grid;row-gap:1rem}.main-container{width:100%;height:90vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-self:stretch;margin:2rem auto;z-index:1;max-width:130rem;padding:0 5rem}mat-expansion-panel{background:#FAFAFA}mat-expansion-panel fa-icon{font-size:.7rem;margin-right:1rem}mat-expansion-panel-header{height:100%;min-height:7rem;font-size:1.7rem;font-weight:600}.mat-expansion-panel-header.mat-expanded{height:auto}@media only screen and (max-width: 37.5em){mat-expansion-panel{margin:0rem 1rem}}\n"] }]
49
+ args: [{ selector: 'page-section-style-ten', template: "<mat-accordion class=\"mat-mdc-form-field\">\n <mat-expansion-panel (opened)=\"panelOpenState = true\" (closed)=\"panelOpenState = false\" *ngFor=\"let item of data; let i = index\" (click)=\"onClickPanel(i)\">\n <mat-expansion-panel-header>\n <div class=\"panel-headline\">\n <mat-panel-title>\n <fa-icon [icon]=\"iconName\">\n </fa-icon>\n {{item.question}}\n </mat-panel-title>\n </div>\n </mat-expansion-panel-header>\n <div class=\"panel-content\">\n <ul>\n <li>\n {{item.answer}}\n </li>\n </ul>\n </div>\n </mat-expansion-panel>\n</mat-accordion>", styles: ["mat-card{height:10rem;width:40rem;margin:4.5rem 4.5rem 4.5rem 25rem}.mat-mdc-form-field{display:grid;row-gap:1rem}.main-container{width:100%;height:90vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-self:stretch;margin:2rem auto;z-index:1;max-width:130rem;padding:0 5rem}mat-expansion-panel{background:#FAFAFA}mat-expansion-panel fa-icon{font-size:.7rem;margin-right:1rem}mat-expansion-panel-header{height:100%;min-height:7rem;font-size:1.7rem;font-weight:600}.mat-expansion-panel-header.mat-expanded{height:auto}@media only screen and (max-width: 37.5em){mat-expansion-panel{margin:0rem 1rem}}\n"] }]
45
50
  }], ctorParameters: function () { return []; }, propDecorators: { data: [{
46
51
  type: Input
47
52
  }], iconName: [{
48
53
  type: Input
54
+ }], selectedPanel: [{
55
+ type: Input
56
+ }], panelChanged: [{
57
+ type: Output
49
58
  }] } });
50
59
 
51
60
  class GetStartedCTAComponent {
@@ -1 +1 @@
1
- {"version":3,"file":"jooler-websites-shared.mjs","sources":["../../../projects/jooler-websites-shared/src/lib/section-title/section-title.component.ts","../../../projects/jooler-websites-shared/src/lib/section-title/section-title.component.html","../../../projects/jooler-websites-shared/src/lib/page-section-style-ten/page-section-style-ten.component.ts","../../../projects/jooler-websites-shared/src/lib/page-section-style-ten/page-section-style-ten.component.html","../../../projects/jooler-websites-shared/src/lib/get-started-cta/get-started-cta.component.ts","../../../projects/jooler-websites-shared/src/lib/get-started-cta/get-started-cta.component.html","../../../projects/jooler-websites-shared/src/lib/jooler-websites-shared.module.ts","../../../projects/jooler-websites-shared/src/lib/page-section-style-ten/page-section.model.ts","../../../projects/jooler-websites-shared/src/lib/page-section-style-ten/page-section-action.model.ts","../../../projects/jooler-websites-shared/src/public-api.ts","../../../projects/jooler-websites-shared/src/jooler-websites-shared.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'section-title',\n templateUrl: './section-title.component.html',\n styleUrls: ['./section-title.component.scss']\n})\nexport class SectionTitleComponent {\n @Input() title: string;\n @Input() subtitle: string;\n @Input() alignLeft: boolean;\n @Input() isDarkBg: boolean = false;\n}\n","<div class=\"section-container\"\n [ngClass]=\"{'align-left':alignLeft,'align-center':!alignLeft,'dark-background':isDarkBg ,'light-background':!isDarkBg}\">\n <div class=\"title\">{{title}}</div>\n <div class=\"divider\">\n </div>\n <div class=\"description\">\n {{subtitle}}\n </div>\n</div>","import { Component, Input, OnInit } from '@angular/core';\nimport { PageSection } from './page-section.model';\n\n@Component({\n selector: 'page-section-style-ten',\n templateUrl: './page-section-style-ten.component.html',\n styleUrls: ['./page-section-style-ten.component.scss']\n})\nexport class PageSectionStyleTenComponent implements OnInit {\n @Input() data: any | PageSection;\n @Input() iconName: any = \"circle\";\n\n panelOpenState: boolean = false;\n\n constructor() {\n\n }\n\n ngOnInit(): void {\n\n\n }\n}\n","<mat-accordion class=\"mat-mdc-form-field\">\n <mat-expansion-panel (opened)=\"panelOpenState = true\" (closed)=\"panelOpenState = false\" *ngFor=\"let item of data\">\n <mat-expansion-panel-header>\n <div class=\"panel-headline\">\n <mat-panel-title>\n <fa-icon [icon]=\"iconName\">\n </fa-icon>\n {{item.question}}\n </mat-panel-title>\n </div>\n </mat-expansion-panel-header>\n <div class=\"panel-content\">\n <ul>\n <li>\n {{item.answer}}\n </li>\n </ul>\n </div>\n </mat-expansion-panel>\n</mat-accordion>","import { Component } from '@angular/core';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'get-started-cta',\n templateUrl: './get-started-cta.component.html',\n styleUrls: ['./get-started-cta.component.scss']\n})\nexport class GetStartedCTAComponent {\n\n constructor(private _Router: Router) { }\n\n onClickCreateAccount() {\n this._Router.navigate([\"authentication/get-started\"]);\n }\n\n onClickLogo() {\n this._Router.navigate(['home-page']);\n }\n}\n","<div class=\"all\">\n <div class=\"get-started\">\n <div class=\"content\">\n <h1>Get Started</h1>\n <div class=\"description\">\n Join our community of jewelry enthusiasts and industry professionals today by signing\n up for an account. Let us help you make your mark in the world of jewelry.\n </div>\n <img src=\" ../../../assets/images/logo-white.png\" alt=\"\" (click)=\"onClickLogo()\" class=\"logo-img\">\n <div class=\"create-account\">\n <input type=\"email\" class=\"email-input\" placeholder=\"Email Address\">\n <button mat-raised-button class=\"sign-up-btn\" (click)=\"onClickCreateAccount()\">Create\n Account</button>\n </div>\n </div>\n </div>\n</div>","import { NgModule } from '@angular/core';\nimport { SectionTitleComponent } from './section-title/section-title.component';\nimport { PageSectionStyleTenComponent } from './page-section-style-ten/page-section-style-ten.component';\nimport { CommonModule } from '@angular/common';\nimport { AppMaterialModule } from '@jooler/app-material';\nimport { FontAwesomeSharedModule } from '@jooler/font-awesome-shared';\nimport { GetStartedCTAComponent } from './get-started-cta/get-started-cta.component';\n\n@NgModule({\n declarations: [\n SectionTitleComponent,\n PageSectionStyleTenComponent,\n GetStartedCTAComponent\n ],\n imports: [\n CommonModule,\n AppMaterialModule,\n FontAwesomeSharedModule\n ],\n exports: [\n AppMaterialModule,\n SectionTitleComponent,\n PageSectionStyleTenComponent,\n FontAwesomeSharedModule,\n GetStartedCTAComponent\n ]\n})\nexport class JoolerWebsitesSharedModule { }\n","import { PageSectionAction } from './page-section-action.model';\n\nexport class PageSection {\n id: number;\n icon: string;\n title: string;\n description: string;\n image: string;\n titleImage: string;\n subtitle: string;\n actions: PageSectionAction[];\n}","export class PageSectionAction {\n id: number;\n route: string;\n label: string;\n}","/*\n * Public API Surface of jooler-websites-shared\n */\n\nexport * from './lib/jooler-websites-shared.module';\nexport * from './lib/section-title/section-title.component';\nexport * from './lib/page-section-style-ten/page-section-style-ten.component';\nexport * from './lib/page-section-style-ten/page-section.model';\nexport * from './lib/page-section-style-ten/page-section-action.model';\nexport * from './lib/get-started-cta/get-started-cta.component';\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2"],"mappings":";;;;;;;;;;;MAOa,qBAAqB,CAAA;AALlC,IAAA,WAAA,GAAA;AASW,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK,CAAC;KACpC;;kHALY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,o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ib/section-title/section-title.component.ts","../../../projects/jooler-websites-shared/src/lib/section-title/section-title.component.html","../../../projects/jooler-websites-shared/src/lib/page-section-style-ten/page-section-style-ten.component.ts","../../../projects/jooler-websites-shared/src/lib/page-section-style-ten/page-section-style-ten.component.html","../../../projects/jooler-websites-shared/src/lib/get-started-cta/get-started-cta.component.ts","../../../projects/jooler-websites-shared/src/lib/get-started-cta/get-started-cta.component.html","../../../projects/jooler-websites-shared/src/lib/jooler-websites-shared.module.ts","../../../projects/jooler-websites-shared/src/lib/page-section-style-ten/page-section.model.ts","../../../projects/jooler-websites-shared/src/lib/page-section-style-ten/page-section-action.model.ts","../../../projects/jooler-websites-shared/src/public-api.ts","../../../projects/jooler-websites-shared/src/jooler-websites-shared.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'section-title',\n templateUrl: './section-title.component.html',\n styleUrls: ['./section-title.component.scss']\n})\nexport class SectionTitleComponent {\n @Input() title: string;\n @Input() subtitle: string;\n @Input() alignLeft: boolean;\n @Input() isDarkBg: boolean = false;\n}\n","<div class=\"section-container\"\n [ngClass]=\"{'align-left':alignLeft,'align-center':!alignLeft,'dark-background':isDarkBg ,'light-background':!isDarkBg}\">\n <div class=\"title\">{{title}}</div>\n <div class=\"divider\">\n </div>\n <div class=\"description\">\n {{subtitle}}\n </div>\n</div>","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { PageSection } from './page-section.model';\n\n@Component({\n selector: 'page-section-style-ten',\n templateUrl: './page-section-style-ten.component.html',\n styleUrls: ['./page-section-style-ten.component.scss']\n})\nexport class PageSectionStyleTenComponent implements OnInit {\n @Input() data: any | PageSection;\n @Input() iconName: any = \"circle\";\n panelOpenState: boolean = false;\n @Input() selectedPanel: number;\n @Output() panelChanged: EventEmitter<number> = new EventEmitter();\n\n constructor() {\n\n }\n\n ngOnInit(): void { }\n\n onClickPanel(index: number) {\n this.selectedPanel = index;\n console.log(this.selectedPanel)\n this.panelChanged.emit(this.selectedPanel);\n }\n}\n","<mat-accordion class=\"mat-mdc-form-field\">\n <mat-expansion-panel (opened)=\"panelOpenState = true\" (closed)=\"panelOpenState = false\" *ngFor=\"let item of data; let i = index\" (click)=\"onClickPanel(i)\">\n <mat-expansion-panel-header>\n <div class=\"panel-headline\">\n <mat-panel-title>\n <fa-icon [icon]=\"iconName\">\n </fa-icon>\n {{item.question}}\n </mat-panel-title>\n </div>\n </mat-expansion-panel-header>\n <div class=\"panel-content\">\n <ul>\n <li>\n {{item.answer}}\n </li>\n </ul>\n </div>\n </mat-expansion-panel>\n</mat-accordion>","import { Component } from '@angular/core';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'get-started-cta',\n templateUrl: './get-started-cta.component.html',\n styleUrls: ['./get-started-cta.component.scss']\n})\nexport class GetStartedCTAComponent {\n\n constructor(private _Router: Router) { }\n\n onClickCreateAccount() {\n this._Router.navigate([\"authentication/get-started\"]);\n }\n\n onClickLogo() {\n this._Router.navigate(['home-page']);\n }\n}\n","<div class=\"all\">\n <div class=\"get-started\">\n <div class=\"content\">\n <h1>Get Started</h1>\n <div class=\"description\">\n Join our community of jewelry enthusiasts and industry professionals today by signing\n up for an account. Let us help you make your mark in the world of jewelry.\n </div>\n <img src=\" ../../../assets/images/logo-white.png\" alt=\"\" (click)=\"onClickLogo()\" class=\"logo-img\">\n <div class=\"create-account\">\n <input type=\"email\" class=\"email-input\" placeholder=\"Email Address\">\n <button mat-raised-button class=\"sign-up-btn\" (click)=\"onClickCreateAccount()\">Create\n Account</button>\n </div>\n </div>\n </div>\n</div>","import { NgModule } from '@angular/core';\nimport { SectionTitleComponent } from './section-title/section-title.component';\nimport { PageSectionStyleTenComponent } from './page-section-style-ten/page-section-style-ten.component';\nimport { CommonModule } from '@angular/common';\nimport { AppMaterialModule } from '@jooler/app-material';\nimport { FontAwesomeSharedModule } from '@jooler/font-awesome-shared';\nimport { GetStartedCTAComponent } from './get-started-cta/get-started-cta.component';\n\n@NgModule({\n declarations: [\n SectionTitleComponent,\n PageSectionStyleTenComponent,\n GetStartedCTAComponent\n ],\n imports: [\n CommonModule,\n AppMaterialModule,\n FontAwesomeSharedModule\n ],\n exports: [\n AppMaterialModule,\n SectionTitleComponent,\n PageSectionStyleTenComponent,\n FontAwesomeSharedModule,\n GetStartedCTAComponent\n ]\n})\nexport class JoolerWebsitesSharedModule { }\n","import { PageSectionAction } from './page-section-action.model';\n\nexport class PageSection {\n id: number;\n icon: string;\n title: string;\n description: string;\n image: string;\n titleImage: string;\n subtitle: string;\n actions: PageSectionAction[];\n}","export class PageSectionAction {\n id: number;\n route: string;\n label: string;\n}","/*\n * Public API Surface of jooler-websites-shared\n */\n\nexport * from './lib/jooler-websites-shared.module';\nexport * from './lib/section-title/section-title.component';\nexport * from './lib/page-section-style-ten/page-section-style-ten.component';\nexport * from './lib/page-section-style-ten/page-section.model';\nexport * from './lib/page-section-style-ten/page-section-action.model';\nexport * from './lib/get-started-cta/get-started-cta.component';\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2"],"mappings":";;;;;;;;;;;MAOa,qBAAqB,CAAA;AALlC,IAAA,WAAA,GAAA;AASW,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK,CAAC;KACpC;;kHALY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,qJCPlC,gUAQM,EAAA,MAAA,EAAA,CAAA,26BAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,C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;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Input, NgModule } from '@angular/core';
2
+ import { Component, Input, EventEmitter, Output, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i2 from '@angular/material/expansion';
@@ -33,19 +33,28 @@ class PageSectionStyleTenComponent {
33
33
  constructor() {
34
34
  this.iconName = "circle";
35
35
  this.panelOpenState = false;
36
+ this.panelChanged = new EventEmitter();
36
37
  }
37
- ngOnInit() {
38
+ ngOnInit() { }
39
+ onClickPanel(index) {
40
+ this.selectedPanel = index;
41
+ console.log(this.selectedPanel);
42
+ this.panelChanged.emit(this.selectedPanel);
38
43
  }
39
44
  }
40
45
  PageSectionStyleTenComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: PageSectionStyleTenComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
41
- PageSectionStyleTenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: PageSectionStyleTenComponent, selector: "page-section-style-ten", inputs: { data: "data", iconName: "iconName" }, ngImport: i0, template: "<mat-accordion class=\"mat-mdc-form-field\">\n <mat-expansion-panel (opened)=\"panelOpenState = true\" (closed)=\"panelOpenState = false\" *ngFor=\"let item of data\">\n <mat-expansion-panel-header>\n <div class=\"panel-headline\">\n <mat-panel-title>\n <fa-icon [icon]=\"iconName\">\n </fa-icon>\n {{item.question}}\n </mat-panel-title>\n </div>\n </mat-expansion-panel-header>\n <div class=\"panel-content\">\n <ul>\n <li>\n {{item.answer}}\n </li>\n </ul>\n </div>\n </mat-expansion-panel>\n</mat-accordion>", styles: ["mat-card{height:10rem;width:40rem;margin:4.5rem 4.5rem 4.5rem 25rem}.mat-mdc-form-field{display:grid;row-gap:1rem}.main-container{width:100%;height:90vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-self:stretch;margin:2rem auto;z-index:1;max-width:130rem;padding:0 5rem}mat-expansion-panel{background:#FAFAFA}mat-expansion-panel fa-icon{font-size:.7rem;margin-right:1rem}mat-expansion-panel-header{height:100%;min-height:7rem;font-size:1.7rem;font-weight:600}.mat-expansion-panel-header.mat-expanded{height:auto}@media only screen and (max-width: 37.5em){mat-expansion-panel{margin:0rem 1rem}}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.MatAccordion, selector: "mat-accordion", inputs: ["multi", "hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: i2.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i2.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i2.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "component", type: i3.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] });
46
+ PageSectionStyleTenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: PageSectionStyleTenComponent, selector: "page-section-style-ten", inputs: { data: "data", iconName: "iconName", selectedPanel: "selectedPanel" }, outputs: { panelChanged: "panelChanged" }, ngImport: i0, template: "<mat-accordion class=\"mat-mdc-form-field\">\n <mat-expansion-panel (opened)=\"panelOpenState = true\" (closed)=\"panelOpenState = false\" *ngFor=\"let item of data; let i = index\" (click)=\"onClickPanel(i)\">\n <mat-expansion-panel-header>\n <div class=\"panel-headline\">\n <mat-panel-title>\n <fa-icon [icon]=\"iconName\">\n </fa-icon>\n {{item.question}}\n </mat-panel-title>\n </div>\n </mat-expansion-panel-header>\n <div class=\"panel-content\">\n <ul>\n <li>\n {{item.answer}}\n </li>\n </ul>\n </div>\n </mat-expansion-panel>\n</mat-accordion>", styles: ["mat-card{height:10rem;width:40rem;margin:4.5rem 4.5rem 4.5rem 25rem}.mat-mdc-form-field{display:grid;row-gap:1rem}.main-container{width:100%;height:90vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-self:stretch;margin:2rem auto;z-index:1;max-width:130rem;padding:0 5rem}mat-expansion-panel{background:#FAFAFA}mat-expansion-panel fa-icon{font-size:.7rem;margin-right:1rem}mat-expansion-panel-header{height:100%;min-height:7rem;font-size:1.7rem;font-weight:600}.mat-expansion-panel-header.mat-expanded{height:auto}@media only screen and (max-width: 37.5em){mat-expansion-panel{margin:0rem 1rem}}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.MatAccordion, selector: "mat-accordion", inputs: ["multi", "hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: i2.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i2.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i2.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "component", type: i3.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] });
42
47
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: PageSectionStyleTenComponent, decorators: [{
43
48
  type: Component,
44
- args: [{ selector: 'page-section-style-ten', template: "<mat-accordion class=\"mat-mdc-form-field\">\n <mat-expansion-panel (opened)=\"panelOpenState = true\" (closed)=\"panelOpenState = false\" *ngFor=\"let item of data\">\n <mat-expansion-panel-header>\n <div class=\"panel-headline\">\n <mat-panel-title>\n <fa-icon [icon]=\"iconName\">\n </fa-icon>\n {{item.question}}\n </mat-panel-title>\n </div>\n </mat-expansion-panel-header>\n <div class=\"panel-content\">\n <ul>\n <li>\n {{item.answer}}\n </li>\n </ul>\n </div>\n </mat-expansion-panel>\n</mat-accordion>", styles: ["mat-card{height:10rem;width:40rem;margin:4.5rem 4.5rem 4.5rem 25rem}.mat-mdc-form-field{display:grid;row-gap:1rem}.main-container{width:100%;height:90vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-self:stretch;margin:2rem auto;z-index:1;max-width:130rem;padding:0 5rem}mat-expansion-panel{background:#FAFAFA}mat-expansion-panel fa-icon{font-size:.7rem;margin-right:1rem}mat-expansion-panel-header{height:100%;min-height:7rem;font-size:1.7rem;font-weight:600}.mat-expansion-panel-header.mat-expanded{height:auto}@media only screen and (max-width: 37.5em){mat-expansion-panel{margin:0rem 1rem}}\n"] }]
49
+ args: [{ selector: 'page-section-style-ten', template: "<mat-accordion class=\"mat-mdc-form-field\">\n <mat-expansion-panel (opened)=\"panelOpenState = true\" (closed)=\"panelOpenState = false\" *ngFor=\"let item of data; let i = index\" (click)=\"onClickPanel(i)\">\n <mat-expansion-panel-header>\n <div class=\"panel-headline\">\n <mat-panel-title>\n <fa-icon [icon]=\"iconName\">\n </fa-icon>\n {{item.question}}\n </mat-panel-title>\n </div>\n </mat-expansion-panel-header>\n <div class=\"panel-content\">\n <ul>\n <li>\n {{item.answer}}\n </li>\n </ul>\n </div>\n </mat-expansion-panel>\n</mat-accordion>", styles: ["mat-card{height:10rem;width:40rem;margin:4.5rem 4.5rem 4.5rem 25rem}.mat-mdc-form-field{display:grid;row-gap:1rem}.main-container{width:100%;height:90vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-self:stretch;margin:2rem auto;z-index:1;max-width:130rem;padding:0 5rem}mat-expansion-panel{background:#FAFAFA}mat-expansion-panel fa-icon{font-size:.7rem;margin-right:1rem}mat-expansion-panel-header{height:100%;min-height:7rem;font-size:1.7rem;font-weight:600}.mat-expansion-panel-header.mat-expanded{height:auto}@media only screen and (max-width: 37.5em){mat-expansion-panel{margin:0rem 1rem}}\n"] }]
45
50
  }], ctorParameters: function () { return []; }, propDecorators: { data: [{
46
51
  type: Input
47
52
  }], iconName: [{
48
53
  type: Input
54
+ }], selectedPanel: [{
55
+ type: Input
56
+ }], panelChanged: [{
57
+ type: Output
49
58
  }] } });
50
59
 
51
60
  class GetStartedCTAComponent {
@@ -1 +1 @@
1
- {"version":3,"file":"jooler-websites-shared.mjs","sources":["../../../projects/jooler-websites-shared/src/lib/section-title/section-title.component.ts","../../../projects/jooler-websites-shared/src/lib/section-title/section-title.component.html","../../../projects/jooler-websites-shared/src/lib/page-section-style-ten/page-section-style-ten.component.ts","../../../projects/jooler-websites-shared/src/lib/page-section-style-ten/page-section-style-ten.component.html","../../../projects/jooler-websites-shared/src/lib/get-started-cta/get-started-cta.component.ts","../../../projects/jooler-websites-shared/src/lib/get-started-cta/get-started-cta.component.html","../../../projects/jooler-websites-shared/src/lib/jooler-websites-shared.module.ts","../../../projects/jooler-websites-shared/src/lib/page-section-style-ten/page-section.model.ts","../../../projects/jooler-websites-shared/src/lib/page-section-style-ten/page-section-action.model.ts","../../../projects/jooler-websites-shared/src/public-api.ts","../../../projects/jooler-websites-shared/src/jooler-websites-shared.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'section-title',\n templateUrl: './section-title.component.html',\n styleUrls: ['./section-title.component.scss']\n})\nexport class SectionTitleComponent {\n @Input() title: string;\n @Input() subtitle: string;\n @Input() alignLeft: boolean;\n @Input() isDarkBg: boolean = false;\n}\n","<div class=\"section-container\"\n [ngClass]=\"{'align-left':alignLeft,'align-center':!alignLeft,'dark-background':isDarkBg ,'light-background':!isDarkBg}\">\n <div class=\"title\">{{title}}</div>\n <div class=\"divider\">\n </div>\n <div class=\"description\">\n {{subtitle}}\n </div>\n</div>","import { Component, Input, OnInit } from '@angular/core';\nimport { PageSection } from './page-section.model';\n\n@Component({\n selector: 'page-section-style-ten',\n templateUrl: './page-section-style-ten.component.html',\n styleUrls: ['./page-section-style-ten.component.scss']\n})\nexport class PageSectionStyleTenComponent implements OnInit {\n @Input() data: any | PageSection;\n @Input() iconName: any = \"circle\";\n\n panelOpenState: boolean = false;\n\n constructor() {\n\n }\n\n ngOnInit(): void {\n\n\n }\n}\n","<mat-accordion class=\"mat-mdc-form-field\">\n <mat-expansion-panel (opened)=\"panelOpenState = true\" (closed)=\"panelOpenState = false\" *ngFor=\"let item of data\">\n <mat-expansion-panel-header>\n <div class=\"panel-headline\">\n <mat-panel-title>\n <fa-icon [icon]=\"iconName\">\n </fa-icon>\n {{item.question}}\n </mat-panel-title>\n </div>\n </mat-expansion-panel-header>\n <div class=\"panel-content\">\n <ul>\n <li>\n {{item.answer}}\n </li>\n </ul>\n </div>\n </mat-expansion-panel>\n</mat-accordion>","import { Component } from '@angular/core';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'get-started-cta',\n templateUrl: './get-started-cta.component.html',\n styleUrls: ['./get-started-cta.component.scss']\n})\nexport class GetStartedCTAComponent {\n\n constructor(private _Router: Router) { }\n\n onClickCreateAccount() {\n this._Router.navigate([\"authentication/get-started\"]);\n }\n\n onClickLogo() {\n this._Router.navigate(['home-page']);\n }\n}\n","<div class=\"all\">\n <div class=\"get-started\">\n <div class=\"content\">\n <h1>Get Started</h1>\n <div class=\"description\">\n Join our community of jewelry enthusiasts and industry professionals today by signing\n up for an account. Let us help you make your mark in the world of jewelry.\n </div>\n <img src=\" ../../../assets/images/logo-white.png\" alt=\"\" (click)=\"onClickLogo()\" class=\"logo-img\">\n <div class=\"create-account\">\n <input type=\"email\" class=\"email-input\" placeholder=\"Email Address\">\n <button mat-raised-button class=\"sign-up-btn\" (click)=\"onClickCreateAccount()\">Create\n Account</button>\n </div>\n </div>\n </div>\n</div>","import { NgModule } from '@angular/core';\nimport { SectionTitleComponent } from './section-title/section-title.component';\nimport { PageSectionStyleTenComponent } from './page-section-style-ten/page-section-style-ten.component';\nimport { CommonModule } from '@angular/common';\nimport { AppMaterialModule } from '@jooler/app-material';\nimport { FontAwesomeSharedModule } from '@jooler/font-awesome-shared';\nimport { GetStartedCTAComponent } from './get-started-cta/get-started-cta.component';\n\n@NgModule({\n declarations: [\n SectionTitleComponent,\n PageSectionStyleTenComponent,\n GetStartedCTAComponent\n ],\n imports: [\n CommonModule,\n AppMaterialModule,\n FontAwesomeSharedModule\n ],\n exports: [\n AppMaterialModule,\n SectionTitleComponent,\n PageSectionStyleTenComponent,\n FontAwesomeSharedModule,\n GetStartedCTAComponent\n ]\n})\nexport class JoolerWebsitesSharedModule { }\n","import { PageSectionAction } from './page-section-action.model';\n\nexport class PageSection {\n id: number;\n icon: string;\n title: string;\n description: string;\n image: string;\n titleImage: string;\n subtitle: string;\n actions: PageSectionAction[];\n}","export class PageSectionAction {\n id: number;\n route: string;\n label: string;\n}","/*\n * Public API Surface of jooler-websites-shared\n */\n\nexport * from './lib/jooler-websites-shared.module';\nexport * from './lib/section-title/section-title.component';\nexport * from './lib/page-section-style-ten/page-section-style-ten.component';\nexport * from './lib/page-section-style-ten/page-section.model';\nexport * from './lib/page-section-style-ten/page-section-action.model';\nexport * from './lib/get-started-cta/get-started-cta.component';\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2"],"mappings":";;;;;;;;;;;MAOa,qBAAqB,CAAA;AALlC,IAAA,WAAA,GAAA;QASW,IAAQ,CAAA,QAAA,GAAY,KAAK,CAAC;AACpC,KAAA;;kHALY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eA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;"}
1
+ {"version":3,"file":"jooler-websites-shared.mjs","sources":["../../../projects/jooler-websites-shared/src/lib/section-title/section-title.component.ts","../../../projects/jooler-websites-shared/src/lib/section-title/section-title.component.html","../../../projects/jooler-websites-shared/src/lib/page-section-style-ten/page-section-style-ten.component.ts","../../../projects/jooler-websites-shared/src/lib/page-section-style-ten/page-section-style-ten.component.html","../../../projects/jooler-websites-shared/src/lib/get-started-cta/get-started-cta.component.ts","../../../projects/jooler-websites-shared/src/lib/get-started-cta/get-started-cta.component.html","../../../projects/jooler-websites-shared/src/lib/jooler-websites-shared.module.ts","../../../projects/jooler-websites-shared/src/lib/page-section-style-ten/page-section.model.ts","../../../projects/jooler-websites-shared/src/lib/page-section-style-ten/page-section-action.model.ts","../../../projects/jooler-websites-shared/src/public-api.ts","../../../projects/jooler-websites-shared/src/jooler-websites-shared.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'section-title',\n templateUrl: './section-title.component.html',\n styleUrls: ['./section-title.component.scss']\n})\nexport class SectionTitleComponent {\n @Input() title: string;\n @Input() subtitle: string;\n @Input() alignLeft: boolean;\n @Input() isDarkBg: boolean = false;\n}\n","<div class=\"section-container\"\n [ngClass]=\"{'align-left':alignLeft,'align-center':!alignLeft,'dark-background':isDarkBg ,'light-background':!isDarkBg}\">\n <div class=\"title\">{{title}}</div>\n <div class=\"divider\">\n </div>\n <div class=\"description\">\n {{subtitle}}\n </div>\n</div>","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { PageSection } from './page-section.model';\n\n@Component({\n selector: 'page-section-style-ten',\n templateUrl: './page-section-style-ten.component.html',\n styleUrls: ['./page-section-style-ten.component.scss']\n})\nexport class PageSectionStyleTenComponent implements OnInit {\n @Input() data: any | PageSection;\n @Input() iconName: any = \"circle\";\n panelOpenState: boolean = false;\n @Input() selectedPanel: number;\n @Output() panelChanged: EventEmitter<number> = new EventEmitter();\n\n constructor() {\n\n }\n\n ngOnInit(): void { }\n\n onClickPanel(index: number) {\n this.selectedPanel = index;\n console.log(this.selectedPanel)\n this.panelChanged.emit(this.selectedPanel);\n }\n}\n","<mat-accordion class=\"mat-mdc-form-field\">\n <mat-expansion-panel (opened)=\"panelOpenState = true\" (closed)=\"panelOpenState = false\" *ngFor=\"let item of data; let i = index\" (click)=\"onClickPanel(i)\">\n <mat-expansion-panel-header>\n <div class=\"panel-headline\">\n <mat-panel-title>\n <fa-icon [icon]=\"iconName\">\n </fa-icon>\n {{item.question}}\n </mat-panel-title>\n </div>\n </mat-expansion-panel-header>\n <div class=\"panel-content\">\n <ul>\n <li>\n {{item.answer}}\n </li>\n </ul>\n </div>\n </mat-expansion-panel>\n</mat-accordion>","import { Component } from '@angular/core';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'get-started-cta',\n templateUrl: './get-started-cta.component.html',\n styleUrls: ['./get-started-cta.component.scss']\n})\nexport class GetStartedCTAComponent {\n\n constructor(private _Router: Router) { }\n\n onClickCreateAccount() {\n this._Router.navigate([\"authentication/get-started\"]);\n }\n\n onClickLogo() {\n this._Router.navigate(['home-page']);\n }\n}\n","<div class=\"all\">\n <div class=\"get-started\">\n <div class=\"content\">\n <h1>Get Started</h1>\n <div class=\"description\">\n Join our community of jewelry enthusiasts and industry professionals today by signing\n up for an account. Let us help you make your mark in the world of jewelry.\n </div>\n <img src=\" ../../../assets/images/logo-white.png\" alt=\"\" (click)=\"onClickLogo()\" class=\"logo-img\">\n <div class=\"create-account\">\n <input type=\"email\" class=\"email-input\" placeholder=\"Email Address\">\n <button mat-raised-button class=\"sign-up-btn\" (click)=\"onClickCreateAccount()\">Create\n Account</button>\n </div>\n </div>\n </div>\n</div>","import { NgModule } from '@angular/core';\nimport { SectionTitleComponent } from './section-title/section-title.component';\nimport { PageSectionStyleTenComponent } from './page-section-style-ten/page-section-style-ten.component';\nimport { CommonModule } from '@angular/common';\nimport { AppMaterialModule } from '@jooler/app-material';\nimport { FontAwesomeSharedModule } from '@jooler/font-awesome-shared';\nimport { GetStartedCTAComponent } from './get-started-cta/get-started-cta.component';\n\n@NgModule({\n declarations: [\n SectionTitleComponent,\n PageSectionStyleTenComponent,\n GetStartedCTAComponent\n ],\n imports: [\n CommonModule,\n AppMaterialModule,\n FontAwesomeSharedModule\n ],\n exports: [\n AppMaterialModule,\n SectionTitleComponent,\n PageSectionStyleTenComponent,\n FontAwesomeSharedModule,\n GetStartedCTAComponent\n ]\n})\nexport class JoolerWebsitesSharedModule { }\n","import { PageSectionAction } from './page-section-action.model';\n\nexport class PageSection {\n id: number;\n icon: string;\n title: string;\n description: string;\n image: string;\n titleImage: string;\n subtitle: string;\n actions: PageSectionAction[];\n}","export class PageSectionAction {\n id: number;\n route: string;\n label: string;\n}","/*\n * Public API Surface of jooler-websites-shared\n */\n\nexport * from './lib/jooler-websites-shared.module';\nexport * from './lib/section-title/section-title.component';\nexport * from './lib/page-section-style-ten/page-section-style-ten.component';\nexport * from './lib/page-section-style-ten/page-section.model';\nexport * from './lib/page-section-style-ten/page-section-action.model';\nexport * from './lib/get-started-cta/get-started-cta.component';\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2"],"mappings":";;;;;;;;;;;MAOa,qBAAqB,CAAA;AALlC,IAAA,WAAA,GAAA;QASW,IAAQ,CAAA,QAAA,GAAY,KAAK,CAAC;AACpC,KAAA;;kHALY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,qJCPlC,gUAQM,EAAA,MAAA,EAAA,CAAA,26BAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,E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CXY,iBAAiB,CAAA;AAI7B;;ACJD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -1,12 +1,15 @@
1
- import { OnInit } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { PageSection } from './page-section.model';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class PageSectionStyleTenComponent implements OnInit {
5
5
  data: any | PageSection;
6
6
  iconName: any;
7
7
  panelOpenState: boolean;
8
+ selectedPanel: number;
9
+ panelChanged: EventEmitter<number>;
8
10
  constructor();
9
11
  ngOnInit(): void;
12
+ onClickPanel(index: number): void;
10
13
  static ɵfac: i0.ɵɵFactoryDeclaration<PageSectionStyleTenComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<PageSectionStyleTenComponent, "page-section-style-ten", never, { "data": "data"; "iconName": "iconName"; }, {}, never, never, false>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageSectionStyleTenComponent, "page-section-style-ten", never, { "data": "data"; "iconName": "iconName"; "selectedPanel": "selectedPanel"; }, { "panelChanged": "panelChanged"; }, never, never, false>;
12
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jooler/jooler-websites-shared",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=13.1.0",
6
6
  "@angular/core": ">=13.1.0"