@jooler/jooler-websites-shared 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # JoolerWebsitesShared
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.1.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project jooler-websites-shared` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project jooler-websites-shared`.
8
+ > Note: Don't forget to add `--project jooler-websites-shared` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build jooler-websites-shared` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build jooler-websites-shared`, go to the dist folder `cd dist/jooler-websites-shared` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test jooler-websites-shared` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiam9vbGVyLXdlYnNpdGVzLXNoYXJlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2pvb2xlci13ZWJzaXRlcy1zaGFyZWQvc3JjL2pvb2xlci13ZWJzaXRlcy1zaGFyZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
@@ -0,0 +1,24 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { SectionTitleComponent } from './section-title/section-title.component';
3
+ import { CommonModule } from '@angular/common';
4
+ import * as i0 from "@angular/core";
5
+ export class JoolerWebsitesSharedModule {
6
+ }
7
+ JoolerWebsitesSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: JoolerWebsitesSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ JoolerWebsitesSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.0", ngImport: i0, type: JoolerWebsitesSharedModule, declarations: [SectionTitleComponent], imports: [CommonModule], exports: [SectionTitleComponent] });
9
+ JoolerWebsitesSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: JoolerWebsitesSharedModule, imports: [CommonModule] });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: JoolerWebsitesSharedModule, decorators: [{
11
+ type: NgModule,
12
+ args: [{
13
+ declarations: [
14
+ SectionTitleComponent
15
+ ],
16
+ imports: [
17
+ CommonModule
18
+ ],
19
+ exports: [
20
+ SectionTitleComponent
21
+ ]
22
+ }]
23
+ }] });
24
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiam9vbGVyLXdlYnNpdGVzLXNoYXJlZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9qb29sZXItd2Vic2l0ZXMtc2hhcmVkL3NyYy9saWIvam9vbGVyLXdlYnNpdGVzLXNoYXJlZC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncy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{ Component, Input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ export class SectionTitleComponent {
5
+ constructor() {
6
+ this.isDarkBg = false;
7
+ }
8
+ }
9
+ SectionTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: SectionTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10
+ SectionTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: SectionTitleComponent, selector: "section-title", inputs: { title: "title", subtitle: "subtitle", alignLeft: "alignLeft", isDarkBg: "isDarkBg" }, ngImport: i0, template: "<div class=\"section-container\"\r\n [ngClass]=\"{'align-left':alignLeft,'align-center':!alignLeft,'dark-background':isDarkBg ,'light-background':!isDarkBg}\">\r\n <div class=\"title\">{{title}}</div>\r\n <div class=\"divider\">\r\n </div>\r\n <div class=\"description\">\r\n {{subtitle}}\r\n </div>\r\n</div>", styles: [".section-container{width:90%;margin:auto}@media only screen and (min-width: 1500px){.section-container{max-width:150rem}}.align-center{text-align:center}.align-center .divider{margin:2rem auto;width:20%}@media only screen and (max-width: 56.25em){.align-center .divider{width:60%}}.align-center .description{margin:auto;width:70%}.title{font-weight:650;font-size:3.2rem;width:80%;margin:auto}.divider{height:.4rem;width:70%;border-radius:4rem}.dark-background .divider{background-image:linear-gradient(to right,#fff 0%,#054386 70%)}.dark-background .title,.dark-background .description{color:#fff}.light-background .divider{background-image:linear-gradient(to right,#155ED4 0%,#313338 70%)}.description{width:80%;font-weight:500;font-size:1.6rem}.align-left .title{margin:0}.align-left .divider{margin:2rem 0;width:40%}.align-left .description{width:90%;margin:0}@media only screen and (max-width: 37.5em){.align-left .title,.align-center .title{font-size:2.6rem}.align-left .description,.align-center .description{width:85%}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: SectionTitleComponent, decorators: [{
12
+ type: Component,
13
+ args: [{ selector: 'section-title', template: "<div class=\"section-container\"\r\n [ngClass]=\"{'align-left':alignLeft,'align-center':!alignLeft,'dark-background':isDarkBg ,'light-background':!isDarkBg}\">\r\n <div class=\"title\">{{title}}</div>\r\n <div class=\"divider\">\r\n </div>\r\n <div class=\"description\">\r\n {{subtitle}}\r\n </div>\r\n</div>", styles: [".section-container{width:90%;margin:auto}@media only screen and (min-width: 1500px){.section-container{max-width:150rem}}.align-center{text-align:center}.align-center .divider{margin:2rem auto;width:20%}@media only screen and (max-width: 56.25em){.align-center .divider{width:60%}}.align-center .description{margin:auto;width:70%}.title{font-weight:650;font-size:3.2rem;width:80%;margin:auto}.divider{height:.4rem;width:70%;border-radius:4rem}.dark-background .divider{background-image:linear-gradient(to right,#fff 0%,#054386 70%)}.dark-background .title,.dark-background .description{color:#fff}.light-background .divider{background-image:linear-gradient(to right,#155ED4 0%,#313338 70%)}.description{width:80%;font-weight:500;font-size:1.6rem}.align-left .title{margin:0}.align-left .divider{margin:2rem 0;width:40%}.align-left .description{width:90%;margin:0}@media only screen and (max-width: 37.5em){.align-left .title,.align-center .title{font-size:2.6rem}.align-left .description,.align-center .description{width:85%}}\n"] }]
14
+ }], propDecorators: { title: [{
15
+ type: Input
16
+ }], subtitle: [{
17
+ type: Input
18
+ }], alignLeft: [{
19
+ type: Input
20
+ }], isDarkBg: [{
21
+ type: Input
22
+ }] } });
23
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi10aXRsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9qb29sZXItd2Vic2l0ZXMtc2hhcmVkL3NyYy9saWIvc2VjdGlvbi10aXRsZS9zZWN0aW9uLXRpdGxlLmNvbXBvbmVudC50cyIsIi4uL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lO1xyXG59XHJcbiIsIjxkaXYgY2xhc3M9XCJzZWN0aW9uLWNvbnRhaW5lclwiXHJcbiAgICBbbmdDbGFzc109XCJ7J2FsaWduLWxlZnQnOmFsaWduTGVmdCwnYWxpZ24tY2VudGVyJzohYWxpZ25MZWZ0LCdkYXJrLWJhY2tncm91bmQnOmlzRGFya0JnICwnbGlnaHQtYmFja2dyb3VuZCc6IWlzRGFya0JnfVwiPlxyXG4gICAgPGRpdiBjbGFzcz1cInRpdGxlXCI+e3t0aXRsZX19PC9kaXY+XHJcbiAgICA8ZGl2IGNsYXNzPVwiZGl2aWRlclwiPlxyXG4gICAgPC9kaXY+XHJcbiAgICA8ZGl2IGNsYXNzPVwiZGVzY3JpcHRpb25cIj5cclxuICAgICAgICB7e3N1YnRpdGxlfX1cclxuICAgIDwvZGl2PlxyXG48L2Rpdj4iXX0=
@@ -0,0 +1,6 @@
1
+ /*
2
+ * Public API Surface of jooler-websites-shared
3
+ */
4
+ export * from './lib/jooler-websites-shared.module';
5
+ export * from './lib/section-title/section-title.component';
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2pvb2xlci13ZWJzaXRlcy1zaGFyZWQvc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLHFDQUFxQyxDQUFDO0FBQ3BELGNBQWMsNkNBQTZDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIGpvb2xlci13ZWJzaXRlcy1zaGFyZWRcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9qb29sZXItd2Vic2l0ZXMtc2hhcmVkLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZWN0aW9uLXRpdGxlL3NlY3Rpb24tdGl0bGUuY29tcG9uZW50JzsiXX0=
@@ -0,0 +1,55 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, Input, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ class SectionTitleComponent {
7
+ constructor() {
8
+ this.isDarkBg = false;
9
+ }
10
+ }
11
+ SectionTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: SectionTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
+ SectionTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: SectionTitleComponent, selector: "section-title", inputs: { title: "title", subtitle: "subtitle", alignLeft: "alignLeft", isDarkBg: "isDarkBg" }, ngImport: i0, template: "<div class=\"section-container\"\r\n [ngClass]=\"{'align-left':alignLeft,'align-center':!alignLeft,'dark-background':isDarkBg ,'light-background':!isDarkBg}\">\r\n <div class=\"title\">{{title}}</div>\r\n <div class=\"divider\">\r\n </div>\r\n <div class=\"description\">\r\n {{subtitle}}\r\n </div>\r\n</div>", styles: [".section-container{width:90%;margin:auto}@media only screen and (min-width: 1500px){.section-container{max-width:150rem}}.align-center{text-align:center}.align-center .divider{margin:2rem auto;width:20%}@media only screen and (max-width: 56.25em){.align-center .divider{width:60%}}.align-center .description{margin:auto;width:70%}.title{font-weight:650;font-size:3.2rem;width:80%;margin:auto}.divider{height:.4rem;width:70%;border-radius:4rem}.dark-background .divider{background-image:linear-gradient(to right,#fff 0%,#054386 70%)}.dark-background .title,.dark-background .description{color:#fff}.light-background .divider{background-image:linear-gradient(to right,#155ED4 0%,#313338 70%)}.description{width:80%;font-weight:500;font-size:1.6rem}.align-left .title{margin:0}.align-left .divider{margin:2rem 0;width:40%}.align-left .description{width:90%;margin:0}@media only screen and (max-width: 37.5em){.align-left .title,.align-center .title{font-size:2.6rem}.align-left .description,.align-center .description{width:85%}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: SectionTitleComponent, decorators: [{
14
+ type: Component,
15
+ args: [{ selector: 'section-title', template: "<div class=\"section-container\"\r\n [ngClass]=\"{'align-left':alignLeft,'align-center':!alignLeft,'dark-background':isDarkBg ,'light-background':!isDarkBg}\">\r\n <div class=\"title\">{{title}}</div>\r\n <div class=\"divider\">\r\n </div>\r\n <div class=\"description\">\r\n {{subtitle}}\r\n </div>\r\n</div>", styles: [".section-container{width:90%;margin:auto}@media only screen and (min-width: 1500px){.section-container{max-width:150rem}}.align-center{text-align:center}.align-center .divider{margin:2rem auto;width:20%}@media only screen and (max-width: 56.25em){.align-center .divider{width:60%}}.align-center .description{margin:auto;width:70%}.title{font-weight:650;font-size:3.2rem;width:80%;margin:auto}.divider{height:.4rem;width:70%;border-radius:4rem}.dark-background .divider{background-image:linear-gradient(to right,#fff 0%,#054386 70%)}.dark-background .title,.dark-background .description{color:#fff}.light-background .divider{background-image:linear-gradient(to right,#155ED4 0%,#313338 70%)}.description{width:80%;font-weight:500;font-size:1.6rem}.align-left .title{margin:0}.align-left .divider{margin:2rem 0;width:40%}.align-left .description{width:90%;margin:0}@media only screen and (max-width: 37.5em){.align-left .title,.align-center .title{font-size:2.6rem}.align-left .description,.align-center .description{width:85%}}\n"] }]
16
+ }], propDecorators: { title: [{
17
+ type: Input
18
+ }], subtitle: [{
19
+ type: Input
20
+ }], alignLeft: [{
21
+ type: Input
22
+ }], isDarkBg: [{
23
+ type: Input
24
+ }] } });
25
+
26
+ class JoolerWebsitesSharedModule {
27
+ }
28
+ JoolerWebsitesSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: JoolerWebsitesSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
29
+ JoolerWebsitesSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.0", ngImport: i0, type: JoolerWebsitesSharedModule, declarations: [SectionTitleComponent], imports: [CommonModule], exports: [SectionTitleComponent] });
30
+ JoolerWebsitesSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: JoolerWebsitesSharedModule, imports: [CommonModule] });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: JoolerWebsitesSharedModule, decorators: [{
32
+ type: NgModule,
33
+ args: [{
34
+ declarations: [
35
+ SectionTitleComponent
36
+ ],
37
+ imports: [
38
+ CommonModule
39
+ ],
40
+ exports: [
41
+ SectionTitleComponent
42
+ ]
43
+ }]
44
+ }] });
45
+
46
+ /*
47
+ * Public API Surface of jooler-websites-shared
48
+ */
49
+
50
+ /**
51
+ * Generated bundle index. Do not edit.
52
+ */
53
+
54
+ export { JoolerWebsitesSharedModule, SectionTitleComponent };
55
+ //# sourceMappingURL=jooler-websites-shared.mjs.map
@@ -0,0 +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/jooler-websites-shared.module.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';\r\n\r\n@Component({\r\n selector: 'section-title',\r\n templateUrl: './section-title.component.html',\r\n styleUrls: ['./section-title.component.scss']\r\n})\r\nexport class SectionTitleComponent {\r\n @Input() title: string;\r\n @Input() subtitle: string;\r\n @Input() alignLeft: boolean;\r\n @Input() isDarkBg: boolean = false;\r\n}\r\n","<div class=\"section-container\"\r\n [ngClass]=\"{'align-left':alignLeft,'align-center':!alignLeft,'dark-background':isDarkBg ,'light-background':!isDarkBg}\">\r\n <div class=\"title\">{{title}}</div>\r\n <div class=\"divider\">\r\n </div>\r\n <div class=\"description\">\r\n {{subtitle}}\r\n </div>\r\n</div>","import { NgModule } from '@angular/core';\nimport { SectionTitleComponent } from './section-title/section-title.component';\nimport { CommonModule } from '@angular/common';\n\n\n\n@NgModule({\n declarations: [\n SectionTitleComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n SectionTitleComponent\n ]\n})\nexport class JoolerWebsitesSharedModule { }\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';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"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,gVAQM,EAAA,MAAA,EAAA,CAAA,sgCAAA,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,CAAA,EAAA,CAAA,CAAA;2FDDO,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,SAAS;+BACE,eAAe,EAAA,QAAA,EAAA,gVAAA,EAAA,MAAA,EAAA,CAAA,sgCAAA,CAAA,EAAA,CAAA;8BAKhB,KAAK,EAAA,CAAA;sBAAb,KAAK;gBACG,QAAQ,EAAA,CAAA;sBAAhB,KAAK;gBACG,SAAS,EAAA,CAAA;sBAAjB,KAAK;gBACG,QAAQ,EAAA,CAAA;sBAAhB,KAAK;;;MEMK,0BAA0B,CAAA;;uHAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA1B,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,EATnC,YAAA,EAAA,CAAA,qBAAqB,CAGrB,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAGZ,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,YANnC,YAAY,CAAA,EAAA,CAAA,CAAA;2FAMH,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAXtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,qBAAqB;AACtB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,qBAAqB;AACtB,qBAAA;iBACF,CAAA;;;AChBD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -0,0 +1,55 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, Input, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ class SectionTitleComponent {
7
+ constructor() {
8
+ this.isDarkBg = false;
9
+ }
10
+ }
11
+ SectionTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: SectionTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
12
+ SectionTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: SectionTitleComponent, selector: "section-title", inputs: { title: "title", subtitle: "subtitle", alignLeft: "alignLeft", isDarkBg: "isDarkBg" }, ngImport: i0, template: "<div class=\"section-container\"\r\n [ngClass]=\"{'align-left':alignLeft,'align-center':!alignLeft,'dark-background':isDarkBg ,'light-background':!isDarkBg}\">\r\n <div class=\"title\">{{title}}</div>\r\n <div class=\"divider\">\r\n </div>\r\n <div class=\"description\">\r\n {{subtitle}}\r\n </div>\r\n</div>", styles: [".section-container{width:90%;margin:auto}@media only screen and (min-width: 1500px){.section-container{max-width:150rem}}.align-center{text-align:center}.align-center .divider{margin:2rem auto;width:20%}@media only screen and (max-width: 56.25em){.align-center .divider{width:60%}}.align-center .description{margin:auto;width:70%}.title{font-weight:650;font-size:3.2rem;width:80%;margin:auto}.divider{height:.4rem;width:70%;border-radius:4rem}.dark-background .divider{background-image:linear-gradient(to right,#fff 0%,#054386 70%)}.dark-background .title,.dark-background .description{color:#fff}.light-background .divider{background-image:linear-gradient(to right,#155ED4 0%,#313338 70%)}.description{width:80%;font-weight:500;font-size:1.6rem}.align-left .title{margin:0}.align-left .divider{margin:2rem 0;width:40%}.align-left .description{width:90%;margin:0}@media only screen and (max-width: 37.5em){.align-left .title,.align-center .title{font-size:2.6rem}.align-left .description,.align-center .description{width:85%}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: SectionTitleComponent, decorators: [{
14
+ type: Component,
15
+ args: [{ selector: 'section-title', template: "<div class=\"section-container\"\r\n [ngClass]=\"{'align-left':alignLeft,'align-center':!alignLeft,'dark-background':isDarkBg ,'light-background':!isDarkBg}\">\r\n <div class=\"title\">{{title}}</div>\r\n <div class=\"divider\">\r\n </div>\r\n <div class=\"description\">\r\n {{subtitle}}\r\n </div>\r\n</div>", styles: [".section-container{width:90%;margin:auto}@media only screen and (min-width: 1500px){.section-container{max-width:150rem}}.align-center{text-align:center}.align-center .divider{margin:2rem auto;width:20%}@media only screen and (max-width: 56.25em){.align-center .divider{width:60%}}.align-center .description{margin:auto;width:70%}.title{font-weight:650;font-size:3.2rem;width:80%;margin:auto}.divider{height:.4rem;width:70%;border-radius:4rem}.dark-background .divider{background-image:linear-gradient(to right,#fff 0%,#054386 70%)}.dark-background .title,.dark-background .description{color:#fff}.light-background .divider{background-image:linear-gradient(to right,#155ED4 0%,#313338 70%)}.description{width:80%;font-weight:500;font-size:1.6rem}.align-left .title{margin:0}.align-left .divider{margin:2rem 0;width:40%}.align-left .description{width:90%;margin:0}@media only screen and (max-width: 37.5em){.align-left .title,.align-center .title{font-size:2.6rem}.align-left .description,.align-center .description{width:85%}}\n"] }]
16
+ }], propDecorators: { title: [{
17
+ type: Input
18
+ }], subtitle: [{
19
+ type: Input
20
+ }], alignLeft: [{
21
+ type: Input
22
+ }], isDarkBg: [{
23
+ type: Input
24
+ }] } });
25
+
26
+ class JoolerWebsitesSharedModule {
27
+ }
28
+ JoolerWebsitesSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: JoolerWebsitesSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
29
+ JoolerWebsitesSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.0", ngImport: i0, type: JoolerWebsitesSharedModule, declarations: [SectionTitleComponent], imports: [CommonModule], exports: [SectionTitleComponent] });
30
+ JoolerWebsitesSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: JoolerWebsitesSharedModule, imports: [CommonModule] });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: JoolerWebsitesSharedModule, decorators: [{
32
+ type: NgModule,
33
+ args: [{
34
+ declarations: [
35
+ SectionTitleComponent
36
+ ],
37
+ imports: [
38
+ CommonModule
39
+ ],
40
+ exports: [
41
+ SectionTitleComponent
42
+ ]
43
+ }]
44
+ }] });
45
+
46
+ /*
47
+ * Public API Surface of jooler-websites-shared
48
+ */
49
+
50
+ /**
51
+ * Generated bundle index. Do not edit.
52
+ */
53
+
54
+ export { JoolerWebsitesSharedModule, SectionTitleComponent };
55
+ //# sourceMappingURL=jooler-websites-shared.mjs.map
@@ -0,0 +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/jooler-websites-shared.module.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';\r\n\r\n@Component({\r\n selector: 'section-title',\r\n templateUrl: './section-title.component.html',\r\n styleUrls: ['./section-title.component.scss']\r\n})\r\nexport class SectionTitleComponent {\r\n @Input() title: string;\r\n @Input() subtitle: string;\r\n @Input() alignLeft: boolean;\r\n @Input() isDarkBg: boolean = false;\r\n}\r\n","<div class=\"section-container\"\r\n [ngClass]=\"{'align-left':alignLeft,'align-center':!alignLeft,'dark-background':isDarkBg ,'light-background':!isDarkBg}\">\r\n <div class=\"title\">{{title}}</div>\r\n <div class=\"divider\">\r\n </div>\r\n <div class=\"description\">\r\n {{subtitle}}\r\n </div>\r\n</div>","import { NgModule } from '@angular/core';\nimport { SectionTitleComponent } from './section-title/section-title.component';\nimport { CommonModule } from '@angular/common';\n\n\n\n@NgModule({\n declarations: [\n SectionTitleComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n SectionTitleComponent\n ]\n})\nexport class JoolerWebsitesSharedModule { }\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';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"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,gVAQM,EAAA,MAAA,EAAA,CAAA,sgCAAA,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,CAAA,EAAA,CAAA,CAAA;2FDDO,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,SAAS;+BACE,eAAe,EAAA,QAAA,EAAA,gVAAA,EAAA,MAAA,EAAA,CAAA,sgCAAA,CAAA,EAAA,CAAA;8BAKhB,KAAK,EAAA,CAAA;sBAAb,KAAK;gBACG,QAAQ,EAAA,CAAA;sBAAhB,KAAK;gBACG,SAAS,EAAA,CAAA;sBAAjB,KAAK;gBACG,QAAQ,EAAA,CAAA;sBAAhB,KAAK;;;MEMK,0BAA0B,CAAA;;uHAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA1B,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,EATnC,YAAA,EAAA,CAAA,qBAAqB,CAGrB,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAGZ,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,YANnC,YAAY,CAAA,EAAA,CAAA,CAAA;2FAMH,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAXtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,qBAAqB;AACtB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,qBAAqB;AACtB,qBAAA;AACF,iBAAA,CAAA;;;AChBD;;AAEG;;ACFH;;AAEG;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="jooler-websites-shared" />
5
+ export * from './public-api';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./section-title/section-title.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class JoolerWebsitesSharedModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<JoolerWebsitesSharedModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<JoolerWebsitesSharedModule, [typeof i1.SectionTitleComponent], [typeof i2.CommonModule], [typeof i1.SectionTitleComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<JoolerWebsitesSharedModule>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class SectionTitleComponent {
3
+ title: string;
4
+ subtitle: string;
5
+ alignLeft: boolean;
6
+ isDarkBg: boolean;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SectionTitleComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<SectionTitleComponent, "section-title", never, { "title": "title"; "subtitle": "subtitle"; "alignLeft": "alignLeft"; "isDarkBg": "isDarkBg"; }, {}, never, never, false>;
9
+ }
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@jooler/jooler-websites-shared",
3
+ "version": "0.0.1",
4
+ "peerDependencies": {
5
+ "@angular/common": ">=13.1.0",
6
+ "@angular/core": ">=13.1.0"
7
+ },
8
+ "dependencies": {
9
+ "tslib": ">=2.3.0"
10
+ },
11
+ "module": "fesm2015/jooler-websites-shared.mjs",
12
+ "es2020": "fesm2020/jooler-websites-shared.mjs",
13
+ "esm2020": "esm2020/jooler-websites-shared.mjs",
14
+ "fesm2020": "fesm2020/jooler-websites-shared.mjs",
15
+ "fesm2015": "fesm2015/jooler-websites-shared.mjs",
16
+ "typings": "index.d.ts",
17
+ "exports": {
18
+ "./package.json": {
19
+ "default": "./package.json"
20
+ },
21
+ ".": {
22
+ "types": "./index.d.ts",
23
+ "esm2020": "./esm2020/jooler-websites-shared.mjs",
24
+ "es2020": "./fesm2020/jooler-websites-shared.mjs",
25
+ "es2015": "./fesm2015/jooler-websites-shared.mjs",
26
+ "node": "./fesm2015/jooler-websites-shared.mjs",
27
+ "default": "./fesm2020/jooler-websites-shared.mjs"
28
+ }
29
+ },
30
+ "sideEffects": false,
31
+ "description": "This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.1.0.",
32
+ "main": "index.js",
33
+ "directories": {
34
+ "lib": "lib"
35
+ },
36
+ "scripts": {
37
+ "test": "echo \"Error: no test specified\" && exit 1"
38
+ },
39
+ "repository": {
40
+ "type": "git",
41
+ "url": "git+https://github.com/HenryHamamji/erp-shared-library.git"
42
+ },
43
+ "author": "Beatrice Beshay",
44
+ "license": "UNLICENSED",
45
+ "bugs": {
46
+ "url": "https://github.com/HenryHamamji/erp-shared-library/issues"
47
+ },
48
+ "homepage": "https://github.com/HenryHamamji/erp-shared-library#readme"
49
+ }
@@ -0,0 +1,2 @@
1
+ export * from './lib/jooler-websites-shared.module';
2
+ export * from './lib/section-title/section-title.component';