windows-plus-utilities 0.0.91 → 0.0.93

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.
Files changed (48) hide show
  1. package/esm2022/context-menu/components/context-menu/context-menu.component.mjs +4 -4
  2. package/esm2022/context-menu/context-menu.module.mjs +5 -5
  3. package/esm2022/custom-card/components/custom-card/custom-card.component.mjs +4 -4
  4. package/esm2022/custom-card/custom-card.module.mjs +5 -5
  5. package/esm2022/empty-display/components/empty-display/empty-display.component.mjs +4 -4
  6. package/esm2022/empty-display/empty-display.module.mjs +5 -5
  7. package/esm2022/job-label/component/job-label-display/job-label-display.component.mjs +4 -4
  8. package/esm2022/job-label/component/job-label-stack/job-label-stack.component.mjs +4 -4
  9. package/esm2022/main-menu/components/action-link/action-link.component.mjs +4 -4
  10. package/esm2022/main-menu/components/menu/menu.component.mjs +4 -4
  11. package/esm2022/main-menu/components/menu-link/menu-link.component.mjs +4 -4
  12. package/esm2022/main-menu/main-menu.module.mjs +5 -5
  13. package/esm2022/modal-wizard/components/step/step.component.mjs +4 -4
  14. package/esm2022/modal-wizard/util/service/step.service.mjs +4 -4
  15. package/esm2022/modal-wizard/util/service/wizard-step.service.mjs +4 -4
  16. package/esm2022/section-header/components/section-header/section-header.component.mjs +4 -4
  17. package/esm2022/section-header/section-header.module.mjs +5 -5
  18. package/esm2022/util/pipe/beautify-text/beautify-text.module.mjs +5 -5
  19. package/esm2022/util/pipe/beautify-text/beautify-text.pipe.mjs +4 -4
  20. package/esm2022/util/pipe/format-date/format-date.module.mjs +5 -5
  21. package/esm2022/util/pipe/format-date/format-date.pipe.mjs +4 -4
  22. package/esm2022/util/pipe/format-date-time/format-date-time.module.mjs +5 -5
  23. package/esm2022/util/pipe/format-date-time/format-date-time.pipe.mjs +6 -8
  24. package/esm2022/util/pipe/format-time/format-time.module.mjs +5 -5
  25. package/esm2022/util/pipe/format-time/format-time.pipe.mjs +5 -5
  26. package/esm2022/util/pipe/hex-to-rgba/hex-to-rgba.module.mjs +5 -5
  27. package/esm2022/util/pipe/hex-to-rgba/hex-to-rgba.pipe.mjs +4 -4
  28. package/esm2022/util/pipe/initialism/initialism.module.mjs +5 -5
  29. package/esm2022/util/pipe/initialism/initialism.pipe.mjs +4 -4
  30. package/esm2022/util/pipe/replace/replace.module.mjs +5 -5
  31. package/esm2022/util/pipe/replace/replace.pipe.mjs +4 -4
  32. package/fesm2022/windows-plus-utilities-context-menu.mjs +8 -8
  33. package/fesm2022/windows-plus-utilities-context-menu.mjs.map +1 -1
  34. package/fesm2022/windows-plus-utilities-custom-card.mjs +8 -8
  35. package/fesm2022/windows-plus-utilities-custom-card.mjs.map +1 -1
  36. package/fesm2022/windows-plus-utilities-empty-display.mjs +7 -7
  37. package/fesm2022/windows-plus-utilities-empty-display.mjs.map +1 -1
  38. package/fesm2022/windows-plus-utilities-job-label.mjs +7 -7
  39. package/fesm2022/windows-plus-utilities-job-label.mjs.map +1 -1
  40. package/fesm2022/windows-plus-utilities-main-menu.mjs +14 -14
  41. package/fesm2022/windows-plus-utilities-main-menu.mjs.map +1 -1
  42. package/fesm2022/windows-plus-utilities-modal-wizard.mjs +9 -9
  43. package/fesm2022/windows-plus-utilities-modal-wizard.mjs.map +1 -1
  44. package/fesm2022/windows-plus-utilities-section-header.mjs +8 -8
  45. package/fesm2022/windows-plus-utilities-section-header.mjs.map +1 -1
  46. package/fesm2022/windows-plus-utilities-util.mjs +99 -100
  47. package/fesm2022/windows-plus-utilities-util.mjs.map +1 -1
  48. package/package.json +7 -7
@@ -9,13 +9,13 @@ export class InitialismPipe {
9
9
  const letters = elements.map(element => element[0]).join('').toUpperCase();
10
10
  return letters;
11
11
  }
12
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: InitialismPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
13
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: InitialismPipe, name: "initialism" }); }
12
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InitialismPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
13
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: InitialismPipe, name: "initialism" }); }
14
14
  }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: InitialismPipe, decorators: [{
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InitialismPipe, decorators: [{
16
16
  type: Pipe,
17
17
  args: [{
18
18
  name: 'initialism'
19
19
  }]
20
20
  }] });
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5pdGlhbGlzbS5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvd2luZG93cy1wbHVzLXV0aWxpdGllcy91dGlsL3BpcGUvaW5pdGlhbGlzbS9pbml0aWFsaXNtLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBS3BELE1BQU0sT0FBTyxjQUFjO0lBRXpCLFNBQVMsQ0FBQyxLQUFhLEVBQUUsWUFBb0IsRUFBRTtRQUM3QyxPQUFPLElBQUksQ0FBQyxNQUFNLENBQUMsS0FBSyxFQUFFLFNBQVMsQ0FBQyxDQUFDO0lBQ3ZDLENBQUM7SUFFTSxNQUFNLENBQUMsS0FBYSxFQUFFLFNBQWlCO1FBQzlDLE1BQU0sUUFBUSxHQUFHLENBQUMsQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxLQUFLLENBQ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KLElBQUksRUFBRSxZQUFZO2lCQUNuQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFBpcGUsIFBpcGVUcmFuc2Zvcm0gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBQaXBlKHtcclxuICBuYW1lOiAnaW5pdGlhbGlzbSdcclxufSlcclxuZXhwb3J0IGNsYXNzIEluaXRpYWxpc21QaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XHJcblxyXG4gIHRyYW5zZm9ybSh2YWx1ZTogc3RyaW5nLCBkZWxpbWl0ZXI6IHN0cmluZyA9ICcnKTogc3RyaW5nIHtcclxuICAgIHJldHVybiB0aGlzLmZvcm1hdCh2YWx1ZSwgZGVsaW1pdGVyKTtcclxuICB9XHJcblxyXG5cdHByaXZhdGUgZm9ybWF0KHZhbHVlOiBzdHJpbmcsIGRlbGltaXRlcjogc3RyaW5nKTogc3RyaW5nIHtcclxuXHRcdGNvbnN0IGVsZW1lbnRzID0gISFkZWxpbWl0ZXIgPyB2YWx1ZS5zcGxpdChkZWxpbWl0ZXIpIDogW3ZhbHVlXVxyXG5cdFx0Y29uc3QgbGV0dGVycyA9IGVsZW1lbnRzLm1hcChlbGVtZW50ID0+IGVsZW1lbnRbMF0pLmpvaW4oJycpLnRvVXBwZXJDYXNlKClcclxuXHJcblx0XHRyZXR1cm4gbGV0dGVyc1xyXG5cdH1cclxufVxyXG4iXX0=
@@ -2,11 +2,11 @@ import { NgModule } from '@angular/core';
2
2
  import { ReplacePipe } from './replace.pipe';
3
3
  import * as i0 from "@angular/core";
4
4
  export class ReplaceModule {
5
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ReplaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: ReplaceModule, declarations: [ReplacePipe], exports: [ReplacePipe] }); }
7
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ReplaceModule }); }
5
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ReplaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: ReplaceModule, declarations: [ReplacePipe], exports: [ReplacePipe] }); }
7
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ReplaceModule }); }
8
8
  }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ReplaceModule, decorators: [{
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ReplaceModule, decorators: [{
10
10
  type: NgModule,
11
11
  args: [{
12
12
  imports: [],
@@ -18,4 +18,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImpor
18
18
  ]
19
19
  }]
20
20
  }] });
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwbGFjZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy93aW5kb3dzLXBsdXMtdXRpbGl0aWVzL3V0aWwvcGlwZS9yZXBsYWNlL3JlcGxhY2UubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUE7QUFDeEMsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFBOztBQVc1QyxNQUFNLE9BQU8sYUFBYTs4R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FdBQVcsYUFHWCxXQUFXO2dIQUdGLGFBQWE7OzRGQUFiLGFBQWE7a0JBVHpCLFFBQVE7bUJBQUM7b0JBQ1IsT0FBTyxFQUFFLEVBQUU7b0JBQ1gsWUFBWSxFQUFFO3dCQUNaLFdBQVc7cUJBQ1o7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLFdBQVc7cUJBQ1o7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnXHJcbmltcG9ydCB7IFJlcGxhY2VQaXBlIH0gZnJvbSAnLi9yZXBsYWNlLnBpcGUnXHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGltcG9ydHM6IFtdLFxyXG4gIGRlY2xhcmF0aW9uczogWyBcclxuICAgIFJlcGxhY2VQaXBlXHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBSZXBsYWNlUGlwZVxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIFJlcGxhY2VNb2R1bGV7fSJdfQ==
@@ -23,13 +23,13 @@ export class ReplacePipe {
23
23
  format(value, replace, withThis) {
24
24
  return value.replace(new RegExp(replace, 'g'), withThis);
25
25
  }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ReplacePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
27
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: ReplacePipe, name: "replace" }); }
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ReplacePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
27
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: ReplacePipe, name: "replace" }); }
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ReplacePipe, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ReplacePipe, decorators: [{
30
30
  type: Pipe,
31
31
  args: [{
32
32
  name: 'replace'
33
33
  }]
34
34
  }] });
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwbGFjZS5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvd2luZG93cy1wbHVzLXV0aWxpdGllcy91dGlsL3BpcGUvcmVwbGFjZS9yZXBsYWNlLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBS3BELE1BQU0sT0FBTyxXQUFXO0lBQ3ZCOzs7Ozs7O09BT0c7SUFDSCxTQUFTLENBQUMsS0FBYSxFQUFFLE9BQWUsRUFBRSxRQUFnQjtRQUN6RCxPQUFPLElBQUksQ0FBQyxNQUFNLENBQUMsS0FBSyxFQUFFLE9BQU8sRUFBRSxRQUFRLENBQUMsQ0FBQTtJQUM3QyxDQUFDO0lBRUQ7Ozs7Ozs7T0FPRztJQUNLLE1BQU0sQ0FBQyxLQUFhLEVBQUUsT0FBZSxFQUFFLFFBQWdCO1FBQzlELE9BQU8sS0FBSyxDQUFDLE9BQU8sQ0FBQyxJQUFJLE1BQU0sQ0FBQyxPQUFPLEVBQUUsR0FBRyxDQUFDLEVBQUUsUUFBUSxDQUFDLENBQUE7SUFDekQsQ0FBQzs4R0F2QlcsV0FBVzs0R0FBWCxXQUFXOzsyRkFBWCxXQUFXO2tCQUh2QixJQUFJO21CQUFDO29CQUNKLElBQUksRUFBRSxTQUFTO2lCQUNoQiIsInNvdXJjZXNDb250ZW50Ijpb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ZXNjcmlwdGlvbiByZXBsYWNlcyBhIHN1YnN0cmluZyB3aXRoIHRoZSBnaXZlbiByZXBsYWNlbWVudCBpbiBhIHZhbHVlXHJcblx0ICogQHBhcmFtIHZhbHVlIHRoZSB2YWx1ZSBvZiB0aGUgSFRNTCBlbGVtZW50XHJcblx0ICogQHBhcmFtIHJlcGxhY2UgdGhlIHN0cmluZyB0byBiZSByZXBsYWNlZFxyXG5cdCAqIEBwYXJhbSB3aXRoVGhpcyB0aGUgcmVwbGFjZW1lbnQgc3RyaW5nXHJcblx0ICogQHJldHVybnMgdGhlIGZvcm1hdHRlZCB2YWx1ZVxyXG5cdCAqL1xyXG5cdHByaXZhdGUgZm9ybWF0KHZhbHVlOiBzdHJpbmcsIHJlcGxhY2U6IHN0cmluZywgd2l0aFRoaXM6IHN0cmluZyk6IHN0cmluZyB7XHJcblx0XHRyZXR1cm4gdmFsdWUucmVwbGFjZShuZXcgUmVnRXhwKHJlcGxhY2UsICdnJyksIHdpdGhUaGlzKVxyXG5cdH1cclxufVxyXG4iXX0=
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, Input, Output, HostListener, NgModule } from '@angular/core';
2
+ import { EventEmitter, HostListener, Output, Input, Component, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
 
@@ -47,10 +47,10 @@ class ContextMenuComponent {
47
47
  if (this.showContextMenu)
48
48
  this.toggleContextMenu();
49
49
  }
50
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ContextMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
51
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: ContextMenuComponent, selector: "wp-context-menu", inputs: { items: "items", positions: "positions" }, outputs: { handleClick: "handleClick" }, host: { listeners: { "document:click": "handleClose()", "document:contextmenu": "handleClose($event)", "document:keyup.escape": "handleClose()" } }, usesOnChanges: true, ngImport: i0, template: "<div id=\"context-menu\" [ngClass]=\"{ 'show': showContextMenu }\" [ngStyle]=\"positions\">\r\n\t<div id=\"context-menu-container\" class=\"context-menu\">\r\n\t\t<ul class=\"menu\">\r\n\t\t\t<li class=\"text-grey\" *ngFor=\"let element of items\" (click)=\"handleItemClick(element)\">{{element.label}}</li>\r\n\t\t</ul>\r\n\t</div>\r\n</div>", styles: ["#context-menu.show{display:block;position:absolute;left:0;right:0}#context-menu{display:none;position:relative;max-width:200px}#context-menu #context-menu-container{border:1px solid var(--wp-lightGrey);background:#fff;width:100%;box-shadow:0 8px 16px #0000004d}#context-menu #context-menu-container ul{list-style-type:none;padding:0;margin:0}#context-menu #context-menu-container ul li{padding:.5rem 1rem;border-bottom:1px solid var(--wp-lightGrey)}#context-menu #context-menu-container ul li:hover{background:var(--wp-lightGrey);cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
50
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ContextMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
51
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ContextMenuComponent, selector: "wp-context-menu", inputs: { items: "items", positions: "positions" }, outputs: { handleClick: "handleClick" }, host: { listeners: { "document:click": "handleClose()", "document:contextmenu": "handleClose($event)", "document:keyup.escape": "handleClose()" } }, usesOnChanges: true, ngImport: i0, template: "<div id=\"context-menu\" [ngClass]=\"{ 'show': showContextMenu }\" [ngStyle]=\"positions\">\r\n\t<div id=\"context-menu-container\" class=\"context-menu\">\r\n\t\t<ul class=\"menu\">\r\n\t\t\t<li class=\"text-grey\" *ngFor=\"let element of items\" (click)=\"handleItemClick(element)\">{{element.label}}</li>\r\n\t\t</ul>\r\n\t</div>\r\n</div>", styles: ["#context-menu.show{display:block;position:absolute;left:0;right:0}#context-menu{display:none;position:relative;max-width:200px}#context-menu #context-menu-container{border:1px solid var(--wp-lightGrey);background:#fff;width:100%;box-shadow:0 8px 16px #0000004d}#context-menu #context-menu-container ul{list-style-type:none;padding:0;margin:0}#context-menu #context-menu-container ul li{padding:.5rem 1rem;border-bottom:1px solid var(--wp-lightGrey)}#context-menu #context-menu-container ul li:hover{background:var(--wp-lightGrey);cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
52
52
  }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ContextMenuComponent, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ContextMenuComponent, decorators: [{
54
54
  type: Component,
55
55
  args: [{ selector: 'wp-context-menu', template: "<div id=\"context-menu\" [ngClass]=\"{ 'show': showContextMenu }\" [ngStyle]=\"positions\">\r\n\t<div id=\"context-menu-container\" class=\"context-menu\">\r\n\t\t<ul class=\"menu\">\r\n\t\t\t<li class=\"text-grey\" *ngFor=\"let element of items\" (click)=\"handleItemClick(element)\">{{element.label}}</li>\r\n\t\t</ul>\r\n\t</div>\r\n</div>", styles: ["#context-menu.show{display:block;position:absolute;left:0;right:0}#context-menu{display:none;position:relative;max-width:200px}#context-menu #context-menu-container{border:1px solid var(--wp-lightGrey);background:#fff;width:100%;box-shadow:0 8px 16px #0000004d}#context-menu #context-menu-container ul{list-style-type:none;padding:0;margin:0}#context-menu #context-menu-container ul li{padding:.5rem 1rem;border-bottom:1px solid var(--wp-lightGrey)}#context-menu #context-menu-container ul li:hover{background:var(--wp-lightGrey);cursor:pointer}\n"] }]
56
56
  }], propDecorators: { items: [{
@@ -71,11 +71,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImpor
71
71
  }] } });
72
72
 
73
73
  class ContextMenuModule {
74
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
75
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: ContextMenuModule, declarations: [ContextMenuComponent], imports: [CommonModule], exports: [ContextMenuComponent] }); }
76
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ContextMenuModule, imports: [CommonModule] }); }
74
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
75
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: ContextMenuModule, declarations: [ContextMenuComponent], imports: [CommonModule], exports: [ContextMenuComponent] }); }
76
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ContextMenuModule, imports: [CommonModule] }); }
77
77
  }
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ContextMenuModule, decorators: [{
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ContextMenuModule, decorators: [{
79
79
  type: NgModule,
80
80
  args: [{
81
81
  declarations: [
@@ -1 +1 @@
1
- {"version":3,"file":"windows-plus-utilities-context-menu.mjs","sources":["../../../projects/windows-plus-utilities/context-menu/components/context-menu/context-menu.component.ts","../../../projects/windows-plus-utilities/context-menu/components/context-menu/context-menu.component.html","../../../projects/windows-plus-utilities/context-menu/context-menu.module.ts","../../../projects/windows-plus-utilities/context-menu/public-api.ts","../../../projects/windows-plus-utilities/context-menu/windows-plus-utilities-context-menu.ts"],"sourcesContent":["import { Component, EventEmitter, HostListener, Input, OnChanges, Output, SimpleChanges } from '@angular/core';\r\nimport { ContextMenuPosition } from '../../util/interface/position/context-menu-positions.interface'\r\nimport { ContextMenuItem } from './../../util/interface/items/context-menu-items.interface'\r\n\r\n@Component({\r\n selector: 'wp-context-menu',\r\n templateUrl: './context-menu.component.html',\r\n styleUrls: ['./context-menu.component.sass']\r\n})\r\nexport class ContextMenuComponent implements OnChanges {\r\n\t/**\r\n\t * @description an array containing the context menu items to be displayed\r\n\t */\r\n\t@Input() items: ContextMenuItem[]\r\n\t/**\r\n\t * @description an object containing the required context menu position\r\n\t */\r\n\t@Input() positions: ContextMenuPosition\r\n\t/**\r\n\t * @description an event emitter which handles a menu item click\r\n\t */\r\n\t@Output() handleClick: EventEmitter<ContextMenuItem> = new EventEmitter<ContextMenuItem>()\r\n\t/**\r\n\t * @description indicates whether the context menu is being shown \r\n\t */\r\n\tshowContextMenu: boolean = false\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description handles a change in the components input properties\r\n\t * @param changes the changes to the component properties\r\n\t */\r\n\tngOnChanges(changes: SimpleChanges): void {\r\n\t\tif (changes['positions']) {\r\n\t\t\tthis.showContextMenu = true\r\n\t\t}\r\n\t}\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description handles a click on a menu item\r\n\t * @param item the menu item clicked\r\n\t */\r\n\thandleItemClick(item: ContextMenuItem): void {\r\n\t\tthis.handleClick.emit(item)\r\n\t}\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description toggles the component member which indicates the context menu visibility\r\n\t */\r\n\ttoggleContextMenu(): void {\r\n\t\tthis.showContextMenu = !this.showContextMenu\r\n\t}\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description handles a click outside of the context menu which will toggle the context menu display\r\n\t */\r\n\t@HostListener('document:click')\r\n\t@HostListener('document:contextmenu', ['$event'])\r\n @HostListener('document:keyup.escape')\r\n handleClose(): void {\r\n if (this.showContextMenu) this.toggleContextMenu()\r\n }\r\n}\r\n","<div id=\"context-menu\" [ngClass]=\"{ 'show': showContextMenu }\" [ngStyle]=\"positions\">\r\n\t<div id=\"context-menu-container\" class=\"context-menu\">\r\n\t\t<ul class=\"menu\">\r\n\t\t\t<li class=\"text-grey\" *ngFor=\"let element of items\" (click)=\"handleItemClick(element)\">{{element.label}}</li>\r\n\t\t</ul>\r\n\t</div>\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ContextMenuComponent } from './components/context-menu/context-menu.component';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n ContextMenuComponent\r\n ],\r\n imports: [\r\n CommonModule\r\n ],\r\n\texports: [\r\n ContextMenuComponent\r\n\t]\r\n})\r\nexport class ContextMenuModule { }\r\n","/*\r\n * Public API Surface of windows-plus-utilities\r\n */\r\n\r\nexport * from './components/context-menu/context-menu.component';\r\nexport * from './context-menu.module';\r\nexport * from './util/interface/items/context-menu-items.interface'\r\nexport * from './util/interface/main/context-menu.interface'\r\nexport * from './util/interface/position/context-menu-positions.interface'\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MASa,oBAAoB,CAAA;AALjC,IAAA,WAAA,GAAA;AAcC;;AAEG;AACO,QAAA,IAAA,CAAA,WAAW,GAAkC,IAAI,YAAY,EAAmB,CAAA;AAC1F;;AAEG;QACH,IAAe,CAAA,eAAA,GAAY,KAAK,CAAA;AAoChC,KAAA;AAnCA;;;;AAIG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AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACF,oBAAA,OAAO,EAAE;wBACN,oBAAoB;AACtB,qBAAA;AACD,iBAAA,CAAA;;;AChBD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"windows-plus-utilities-context-menu.mjs","sources":["../../../projects/windows-plus-utilities/context-menu/components/context-menu/context-menu.component.ts","../../../projects/windows-plus-utilities/context-menu/components/context-menu/context-menu.component.html","../../../projects/windows-plus-utilities/context-menu/context-menu.module.ts","../../../projects/windows-plus-utilities/context-menu/public-api.ts","../../../projects/windows-plus-utilities/context-menu/windows-plus-utilities-context-menu.ts"],"sourcesContent":["import { Component, EventEmitter, HostListener, Input, OnChanges, Output, SimpleChanges } from '@angular/core';\r\nimport { ContextMenuPosition } from '../../util/interface/position/context-menu-positions.interface'\r\nimport { ContextMenuItem } from './../../util/interface/items/context-menu-items.interface'\r\n\r\n@Component({\r\n selector: 'wp-context-menu',\r\n templateUrl: './context-menu.component.html',\r\n styleUrls: ['./context-menu.component.sass']\r\n})\r\nexport class ContextMenuComponent implements OnChanges {\r\n\t/**\r\n\t * @description an array containing the context menu items to be displayed\r\n\t */\r\n\t@Input() items: ContextMenuItem[]\r\n\t/**\r\n\t * @description an object containing the required context menu position\r\n\t */\r\n\t@Input() positions: ContextMenuPosition\r\n\t/**\r\n\t * @description an event emitter which handles a menu item click\r\n\t */\r\n\t@Output() handleClick: EventEmitter<ContextMenuItem> = new EventEmitter<ContextMenuItem>()\r\n\t/**\r\n\t * @description indicates whether the context menu is being shown \r\n\t */\r\n\tshowContextMenu: boolean = false\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description handles a change in the components input properties\r\n\t * @param changes the changes to the component properties\r\n\t */\r\n\tngOnChanges(changes: SimpleChanges): void {\r\n\t\tif (changes['positions']) {\r\n\t\t\tthis.showContextMenu = true\r\n\t\t}\r\n\t}\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description handles a click on a menu item\r\n\t * @param item the menu item clicked\r\n\t */\r\n\thandleItemClick(item: ContextMenuItem): void {\r\n\t\tthis.handleClick.emit(item)\r\n\t}\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description toggles the component member which indicates the context menu visibility\r\n\t */\r\n\ttoggleContextMenu(): void {\r\n\t\tthis.showContextMenu = !this.showContextMenu\r\n\t}\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description handles a click outside of the context menu which will toggle the context menu display\r\n\t */\r\n\t@HostListener('document:click')\r\n\t@HostListener('document:contextmenu', ['$event'])\r\n @HostListener('document:keyup.escape')\r\n handleClose(): void {\r\n if (this.showContextMenu) this.toggleContextMenu()\r\n }\r\n}\r\n","<div id=\"context-menu\" [ngClass]=\"{ 'show': showContextMenu }\" [ngStyle]=\"positions\">\r\n\t<div id=\"context-menu-container\" class=\"context-menu\">\r\n\t\t<ul class=\"menu\">\r\n\t\t\t<li class=\"text-grey\" *ngFor=\"let element of items\" (click)=\"handleItemClick(element)\">{{element.label}}</li>\r\n\t\t</ul>\r\n\t</div>\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ContextMenuComponent } from './components/context-menu/context-menu.component';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n ContextMenuComponent\r\n ],\r\n imports: [\r\n CommonModule\r\n ],\r\n\texports: [\r\n ContextMenuComponent\r\n\t]\r\n})\r\nexport class ContextMenuModule { }\r\n","/*\r\n * Public API Surface of windows-plus-utilities\r\n */\r\n\r\nexport * from './components/context-menu/context-menu.component';\r\nexport * from './context-menu.module';\r\nexport * from './util/interface/items/context-menu-items.interface'\r\nexport * from './util/interface/main/context-menu.interface'\r\nexport * from './util/interface/position/context-menu-positions.interface'\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MASa,oBAAoB,CAAA;AALjC,IAAA,WAAA,GAAA;AAcC;;AAEG;AACO,QAAA,IAAA,CAAA,W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BAAA;AACD,oBAAA,OAAO,EAAE;wBACP;AACD,qBAAA;AACF,oBAAA,OAAO,EAAE;wBACN;AACF;AACD,iBAAA;;;AChBD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Input, NgModule } from '@angular/core';
2
+ import { Input, Component, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
 
@@ -13,10 +13,10 @@ class CustomCardComponent {
13
13
  */
14
14
  ngOnInit() {
15
15
  }
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CustomCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: CustomCardComponent, selector: "wp-custom-card", inputs: { id: "id", active: "active", handleClick: "handleClick", label: "label" }, ngImport: i0, template: "<div \r\n\t[id]=\"id\"\r\n\tclass=\"custom-card\"\r\n\t[ngClass]=\"{'active': active}\"\r\n\t(click)=\"handleClick(id)\"\r\n>\r\n\t<div class=\"overlay\"></div>\r\n\t<div class=\"card-header\">\r\n\t\t<div class=\"card-title\">\r\n\t\t\t{{label}}\r\n\t\t</div>\r\n\t</div>\r\n</div>", styles: [".custom-card{cursor:pointer;max-width:250px;width:200px;box-shadow:0 8px 16px #0000004d;background-color:#fff;position:relative;overflow:hidden;transition:all .85s ease}.custom-card .card-header{padding:.5rem;display:flex;justify-content:center;background-color:unset;align-items:center;flex-direction:column;position:relative}.custom-card .card-header .card-title{padding:1rem 0;font-size:15px;font-weight:500;color:#24334e;transition:all .25s ease}.custom-card .overlay{width:100%;height:0;background-color:var(--wp-primaryBlue);position:absolute;transition:height .85s ease,opacity .55s ease-in-out}.custom-card.active,.custom-card.active .card-header .card-title,.custom-card.active .overlay{color:#fff!important;background-color:var(--wp-primaryGreen)!important}.custom-card:hover{color:#fff}.custom-card:hover .overlay{height:100%;transition:height .25s ease,opacity .55s ease-in-out}.custom-card:hover .card-header .card-title{color:#fff;z-index:999}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CustomCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CustomCardComponent, selector: "wp-custom-card", inputs: { id: "id", active: "active", handleClick: "handleClick", label: "label" }, ngImport: i0, template: "<div \r\n\t[id]=\"id\"\r\n\tclass=\"custom-card\"\r\n\t[ngClass]=\"{'active': active}\"\r\n\t(click)=\"handleClick(id)\"\r\n>\r\n\t<div class=\"overlay\"></div>\r\n\t<div class=\"card-header\">\r\n\t\t<div class=\"card-title\">\r\n\t\t\t{{label}}\r\n\t\t</div>\r\n\t</div>\r\n</div>", styles: [".custom-card{cursor:pointer;max-width:250px;width:200px;box-shadow:0 8px 16px #0000004d;background-color:#fff;position:relative;overflow:hidden;transition:all .85s ease}.custom-card .card-header{padding:.5rem;display:flex;justify-content:center;background-color:unset;align-items:center;flex-direction:column;position:relative}.custom-card .card-header .card-title{padding:1rem 0;font-size:15px;font-weight:500;color:#24334e;transition:all .25s ease}.custom-card .overlay{width:100%;height:0;background-color:var(--wp-primaryBlue);position:absolute;transition:height .85s ease,opacity .55s ease-in-out}.custom-card.active,.custom-card.active .card-header .card-title,.custom-card.active .overlay{color:#fff!important;background-color:var(--wp-primaryGreen)!important}.custom-card:hover{color:#fff}.custom-card:hover .overlay{height:100%;transition:height .25s ease,opacity .55s ease-in-out}.custom-card:hover .card-header .card-title{color:#fff;z-index:999}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CustomCardComponent, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CustomCardComponent, decorators: [{
20
20
  type: Component,
21
21
  args: [{ selector: 'wp-custom-card', template: "<div \r\n\t[id]=\"id\"\r\n\tclass=\"custom-card\"\r\n\t[ngClass]=\"{'active': active}\"\r\n\t(click)=\"handleClick(id)\"\r\n>\r\n\t<div class=\"overlay\"></div>\r\n\t<div class=\"card-header\">\r\n\t\t<div class=\"card-title\">\r\n\t\t\t{{label}}\r\n\t\t</div>\r\n\t</div>\r\n</div>", styles: [".custom-card{cursor:pointer;max-width:250px;width:200px;box-shadow:0 8px 16px #0000004d;background-color:#fff;position:relative;overflow:hidden;transition:all .85s ease}.custom-card .card-header{padding:.5rem;display:flex;justify-content:center;background-color:unset;align-items:center;flex-direction:column;position:relative}.custom-card .card-header .card-title{padding:1rem 0;font-size:15px;font-weight:500;color:#24334e;transition:all .25s ease}.custom-card .overlay{width:100%;height:0;background-color:var(--wp-primaryBlue);position:absolute;transition:height .85s ease,opacity .55s ease-in-out}.custom-card.active,.custom-card.active .card-header .card-title,.custom-card.active .overlay{color:#fff!important;background-color:var(--wp-primaryGreen)!important}.custom-card:hover{color:#fff}.custom-card:hover .overlay{height:100%;transition:height .25s ease,opacity .55s ease-in-out}.custom-card:hover .card-header .card-title{color:#fff;z-index:999}\n"] }]
22
22
  }], ctorParameters: () => [], propDecorators: { id: [{
@@ -30,11 +30,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImpor
30
30
  }] } });
31
31
 
32
32
  class CustomCardModule {
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CustomCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
34
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: CustomCardModule, declarations: [CustomCardComponent], imports: [CommonModule], exports: [CustomCardComponent] }); }
35
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CustomCardModule, imports: [CommonModule] }); }
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CustomCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
34
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: CustomCardModule, declarations: [CustomCardComponent], imports: [CommonModule], exports: [CustomCardComponent] }); }
35
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CustomCardModule, imports: [CommonModule] }); }
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CustomCardModule, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CustomCardModule, decorators: [{
38
38
  type: NgModule,
39
39
  args: [{
40
40
  declarations: [
@@ -1 +1 @@
1
- {"version":3,"file":"windows-plus-utilities-custom-card.mjs","sources":["../../../projects/windows-plus-utilities/custom-card/components/custom-card/custom-card.component.ts","../../../projects/windows-plus-utilities/custom-card/components/custom-card/custom-card.component.html","../../../projects/windows-plus-utilities/custom-card/custom-card.module.ts","../../../projects/windows-plus-utilities/custom-card/public-api.ts","../../../projects/windows-plus-utilities/custom-card/windows-plus-utilities-custom-card.ts"],"sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'wp-custom-card',\r\n templateUrl: './custom-card.component.html',\r\n styleUrls: ['./custom-card.component.sass']\r\n})\r\nexport class CustomCardComponent implements OnInit {\r\n\t/**\r\n\t * @description the cards HTML element identifier\r\n\t */\r\n\t@Input() id: string\r\n\t/**\r\n\t * @description whether the card is the active card\r\n\t */\r\n\t@Input() active: boolean\r\n\t/**\r\n\t * @description the method to be run when the card is clicked\r\n\t */\r\n\t@Input() handleClick: (...args: any[]) => void\r\n\t/**\r\n\t * @description the value to be displayed in the card\r\n\t */\r\n\t@Input() label: string\r\n\t/**\r\n\t * @description class constructor specifying the required properties and services\r\n\t */\r\n constructor() { }\r\n\t/**\r\n\t * @description the method to be run when the component is loaded\r\n\t */\r\n ngOnInit(): void {\r\n }\r\n}\r\n","<div \r\n\t[id]=\"id\"\r\n\tclass=\"custom-card\"\r\n\t[ngClass]=\"{'active': active}\"\r\n\t(click)=\"handleClick(id)\"\r\n>\r\n\t<div class=\"overlay\"></div>\r\n\t<div class=\"card-header\">\r\n\t\t<div class=\"card-title\">\r\n\t\t\t{{label}}\r\n\t\t</div>\r\n\t</div>\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { CustomCardComponent } from './components/custom-card/custom-card.component';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n CustomCardComponent\r\n ],\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n CustomCardComponent\r\n ]\r\n})\r\nexport class CustomCardModule { }\r\n","/*\r\n * Public API Surface of windows-plus-utilities\r\n */\r\n\r\nexport * from './components/custom-card/custom-card.component';\r\nexport * from './util/interface/config/custom-card-config.interface';\r\nexport * from './custom-card.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAOa,mBAAmB,CAAA;AAiB/B;;AAEG;AACF,IAAA,WAAA,GAAA,GAAiB;AAClB;;AAEG;IACF,QAAQ,GAAA;KACP;8GAzBU,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,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AA,gBAAgB,YANzB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAMH,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAX5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,mBAAmB;AACpB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,mBAAmB;AACpB,qBAAA;AACF,iBAAA,CAAA;;;AChBD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"windows-plus-utilities-custom-card.mjs","sources":["../../../projects/windows-plus-utilities/custom-card/components/custom-card/custom-card.component.ts","../../../projects/windows-plus-utilities/custom-card/components/custom-card/custom-card.component.html","../../../projects/windows-plus-utilities/custom-card/custom-card.module.ts","../../../projects/windows-plus-utilities/custom-card/public-api.ts","../../../projects/windows-plus-utilities/custom-card/windows-plus-utilities-custom-card.ts"],"sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'wp-custom-card',\r\n templateUrl: './custom-card.component.html',\r\n styleUrls: ['./custom-card.component.sass']\r\n})\r\nexport class CustomCardComponent implements OnInit {\r\n\t/**\r\n\t * @description the cards HTML element identifier\r\n\t */\r\n\t@Input() id: string\r\n\t/**\r\n\t * @description whether the card is the active card\r\n\t */\r\n\t@Input() active: boolean\r\n\t/**\r\n\t * @description the method to be run when the card is clicked\r\n\t */\r\n\t@Input() handleClick: (...args: any[]) => void\r\n\t/**\r\n\t * @description the value to be displayed in the card\r\n\t */\r\n\t@Input() label: string\r\n\t/**\r\n\t * @description class constructor specifying the required properties and services\r\n\t */\r\n constructor() { }\r\n\t/**\r\n\t * @description the method to be run when the component is loaded\r\n\t */\r\n ngOnInit(): void {\r\n }\r\n}\r\n","<div \r\n\t[id]=\"id\"\r\n\tclass=\"custom-card\"\r\n\t[ngClass]=\"{'active': active}\"\r\n\t(click)=\"handleClick(id)\"\r\n>\r\n\t<div class=\"overlay\"></div>\r\n\t<div class=\"card-header\">\r\n\t\t<div class=\"card-title\">\r\n\t\t\t{{label}}\r\n\t\t</div>\r\n\t</div>\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { CustomCardComponent } from './components/custom-card/custom-card.component';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n CustomCardComponent\r\n ],\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n CustomCardComponent\r\n ]\r\n})\r\nexport class CustomCardModule { }\r\n","/*\r\n * Public API Surface of windows-plus-utilities\r\n */\r\n\r\nexport * from './components/custom-card/custom-card.component';\r\nexport * from './util/interface/config/custom-card-config.interface';\r\nexport * from './custom-card.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAOa,mBAAmB,CAAA;AAiB/B;;AAEG;AACF,IAAA,WAAA,GAAA,EAAgB;AACjB;;AAEG;IACF,QAAQ,GAAA;IACR;+GAzBW,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAAmB,0ICPhC,4RAYM,EAAA,MAAA,EAAA,CAAA,i8BAAA,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;;4FDLO,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAL/B,SAAS;+BACE,gBAAgB,EAAA,QAAA,EAAA,4RAAA,EAAA,MAAA,EAAA,CAAA,i8BAAA,CAAA,EAAA;wDAQlB,EAAE,EAAA,CAAA;sBAAV;gBAIQ,MAAM,EAAA,CAAA;sBAAd;gBAIQ,WAAW,EAAA,CAAA;sBAAnB;gBAIQ,KAAK,EAAA,CAAA;sBAAb;;;MENW,gBAAgB,CAAA;+GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,EAAA,YAAA,EAAA,CATzB,mBAAmB,CAAA,EAAA,OAAA,EAAA,CAGnB,YAAY,aAGZ,mBAAmB,CAAA,EAAA,CAAA,CAAA;AAGV,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YANzB,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAMH,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAX5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP;AACD;AACF,iBAAA;;;AChBD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -3,20 +3,20 @@ import { Component, NgModule } from '@angular/core';
3
3
  import { CommonModule } from '@angular/common';
4
4
 
5
5
  class EmptyDisplayComponent {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EmptyDisplayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: EmptyDisplayComponent, selector: "wp-empty-display", ngImport: i0, template: "<div class=\"row\">\r\n\t<div class=\"col-12\">\r\n\t\t<p class=\"text-grey\">There is no data to show</p>\r\n\t</div>\r\n</div>", styles: [""] }); }
6
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmptyDisplayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: EmptyDisplayComponent, selector: "wp-empty-display", ngImport: i0, template: "<div class=\"row\">\r\n\t<div class=\"col-12\">\r\n\t\t<p class=\"text-grey\">There is no data to show</p>\r\n\t</div>\r\n</div>", styles: [""] }); }
8
8
  }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EmptyDisplayComponent, decorators: [{
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmptyDisplayComponent, decorators: [{
10
10
  type: Component,
11
11
  args: [{ selector: 'wp-empty-display', template: "<div class=\"row\">\r\n\t<div class=\"col-12\">\r\n\t\t<p class=\"text-grey\">There is no data to show</p>\r\n\t</div>\r\n</div>" }]
12
12
  }] });
13
13
 
14
14
  class EmptyDisplayModule {
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EmptyDisplayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
16
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: EmptyDisplayModule, declarations: [EmptyDisplayComponent], imports: [CommonModule], exports: [EmptyDisplayComponent] }); }
17
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EmptyDisplayModule, imports: [CommonModule] }); }
15
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmptyDisplayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
16
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: EmptyDisplayModule, declarations: [EmptyDisplayComponent], imports: [CommonModule], exports: [EmptyDisplayComponent] }); }
17
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmptyDisplayModule, imports: [CommonModule] }); }
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EmptyDisplayModule, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmptyDisplayModule, decorators: [{
20
20
  type: NgModule,
21
21
  args: [{
22
22
  declarations: [
@@ -1 +1 @@
1
- {"version":3,"file":"windows-plus-utilities-empty-display.mjs","sources":["../../../projects/windows-plus-utilities/empty-display/components/empty-display/empty-display.component.ts","../../../projects/windows-plus-utilities/empty-display/components/empty-display/empty-display.component.html","../../../projects/windows-plus-utilities/empty-display/empty-display.module.ts","../../../projects/windows-plus-utilities/empty-display/public-api.ts","../../../projects/windows-plus-utilities/empty-display/windows-plus-utilities-empty-display.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'wp-empty-display',\r\n templateUrl: './empty-display.component.html',\r\n styleUrls: ['./empty-display.component.sass']\r\n})\r\nexport class EmptyDisplayComponent {\r\n\r\n}\r\n","<div class=\"row\">\r\n\t<div class=\"col-12\">\r\n\t\t<p class=\"text-grey\">There is no data to show</p>\r\n\t</div>\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { EmptyDisplayComponent } from './components/empty-display/empty-display.component';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n EmptyDisplayComponent\r\n ],\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n EmptyDisplayComponent\r\n ]\r\n})\r\nexport class EmptyDisplayModule { }\r\n","/*\r\n * Public API Surface of windows-plus-utilities\r\n */\r\n\r\nexport * from './components/empty-display/empty-display.component';\r\nexport * from './empty-display.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAOa,qBAAqB,CAAA;8GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,wDCPlC,kIAIM,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FDGO,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,SAAS;+BACE,kBAAkB,EAAA,QAAA,EAAA,kIAAA,EAAA,CAAA;;;MEcjB,kBAAkB,CAAA;8GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EAT3B,YAAA,EAAA,CAAA,qBAAqB,CAGrB,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGZ,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAN3B,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAMH,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAX9B,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;;;;"}
1
+ {"version":3,"file":"windows-plus-utilities-empty-display.mjs","sources":["../../../projects/windows-plus-utilities/empty-display/components/empty-display/empty-display.component.ts","../../../projects/windows-plus-utilities/empty-display/components/empty-display/empty-display.component.html","../../../projects/windows-plus-utilities/empty-display/empty-display.module.ts","../../../projects/windows-plus-utilities/empty-display/public-api.ts","../../../projects/windows-plus-utilities/empty-display/windows-plus-utilities-empty-display.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'wp-empty-display',\r\n templateUrl: './empty-display.component.html',\r\n styleUrls: ['./empty-display.component.sass']\r\n})\r\nexport class EmptyDisplayComponent {\r\n\r\n}\r\n","<div class=\"row\">\r\n\t<div class=\"col-12\">\r\n\t\t<p class=\"text-grey\">There is no data to show</p>\r\n\t</div>\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { EmptyDisplayComponent } from './components/empty-display/empty-display.component';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n EmptyDisplayComponent\r\n ],\r\n imports: [\r\n CommonModule\r\n ],\r\n exports: [\r\n EmptyDisplayComponent\r\n ]\r\n})\r\nexport class EmptyDisplayModule { }\r\n","/*\r\n * Public API Surface of windows-plus-utilities\r\n */\r\n\r\nexport * from './components/empty-display/empty-display.component';\r\nexport * from './empty-display.module';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAOa,qBAAqB,CAAA;+GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,qBAAqB,wDCPlC,kIAIM,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FDGO,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,SAAS;+BACE,kBAAkB,EAAA,QAAA,EAAA,kIAAA,EAAA;;;MEcjB,kBAAkB,CAAA;+GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EAAA,YAAA,EAAA,CAT3B,qBAAqB,CAAA,EAAA,OAAA,EAAA,CAGrB,YAAY,aAGZ,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAGZ,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAN3B,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAMH,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAX9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP;AACD;AACF,iBAAA;;;AChBD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -1,13 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Input } from '@angular/core';
2
+ import { Input, Component } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
 
6
6
  class JobLabelDisplayComponent {
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: JobLabelDisplayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: JobLabelDisplayComponent, isStandalone: true, selector: "wp-job-label-display", inputs: { labelName: "labelName", labelColour: "labelColour" }, ngImport: i0, template: "<div class=\"job-label-text d-flex align-items-center\" [ngStyle]=\"{'background': labelColour}\">\r\n\t<span class=\"text-small text-grey text-white\">{{labelName}}</span>\r\n</div>", styles: [".job-label-text{padding:.25rem .5rem;display:inline-block;overflow:hidden;text-overflow:ellipsis;vertical-align:top;white-space:nowrap;max-width:100%;border-radius:6px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
7
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: JobLabelDisplayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: JobLabelDisplayComponent, isStandalone: true, selector: "wp-job-label-display", inputs: { labelName: "labelName", labelColour: "labelColour" }, ngImport: i0, template: "<div class=\"job-label-text d-flex align-items-center\" [ngStyle]=\"{'background': labelColour}\">\r\n\t<span class=\"text-small text-grey text-white\">{{labelName}}</span>\r\n</div>", styles: [".job-label-text{padding:.25rem .5rem;display:inline-block;overflow:hidden;text-overflow:ellipsis;vertical-align:top;white-space:nowrap;max-width:100%;border-radius:6px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
9
9
  }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: JobLabelDisplayComponent, decorators: [{
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: JobLabelDisplayComponent, decorators: [{
11
11
  type: Component,
12
12
  args: [{ selector: 'wp-job-label-display', standalone: true, imports: [CommonModule], template: "<div class=\"job-label-text d-flex align-items-center\" [ngStyle]=\"{'background': labelColour}\">\r\n\t<span class=\"text-small text-grey text-white\">{{labelName}}</span>\r\n</div>", styles: [".job-label-text{padding:.25rem .5rem;display:inline-block;overflow:hidden;text-overflow:ellipsis;vertical-align:top;white-space:nowrap;max-width:100%;border-radius:6px}\n"] }]
13
13
  }], propDecorators: { labelName: [{
@@ -17,10 +17,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImpor
17
17
  }] } });
18
18
 
19
19
  class JobLabelStackComponent {
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: JobLabelStackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
21
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: JobLabelStackComponent, isStandalone: true, selector: "wp-job-label-stack", inputs: { items: "items" }, ngImport: i0, template: "<div class=\"job-label-container\">\r\n\t<div *ngFor=\"let label of items\">\r\n\t\t<wp-job-label-display \r\n\t\t\t[labelName]=\"label.labelName\"\r\n\t\t\t[labelColour]=\"label.labelColour\"\r\n\t\t></wp-job-label-display>\r\n\t</div>\r\n</div>", styles: [".job-label-container{position:absolute;display:flex;right:4px;top:4px;font-weight:400;overflow:hidden;max-width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: JobLabelDisplayComponent, selector: "wp-job-label-display", inputs: ["labelName", "labelColour"] }] }); }
20
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: JobLabelStackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
21
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: JobLabelStackComponent, isStandalone: true, selector: "wp-job-label-stack", inputs: { items: "items" }, ngImport: i0, template: "<div class=\"job-label-container\">\r\n\t<div *ngFor=\"let label of items\">\r\n\t\t<wp-job-label-display \r\n\t\t\t[labelName]=\"label.labelName\"\r\n\t\t\t[labelColour]=\"label.labelColour\"\r\n\t\t></wp-job-label-display>\r\n\t</div>\r\n</div>", styles: [".job-label-container{position:absolute;display:flex;right:4px;top:4px;font-weight:400;overflow:hidden;max-width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: JobLabelDisplayComponent, selector: "wp-job-label-display", inputs: ["labelName", "labelColour"] }] }); }
22
22
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: JobLabelStackComponent, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: JobLabelStackComponent, decorators: [{
24
24
  type: Component,
25
25
  args: [{ selector: 'wp-job-label-stack', standalone: true, imports: [
26
26
  CommonModule,
@@ -1 +1 @@
1
- {"version":3,"file":"windows-plus-utilities-job-label.mjs","sources":["../../../projects/windows-plus-utilities/job-label/component/job-label-display/job-label-display.component.ts","../../../projects/windows-plus-utilities/job-label/component/job-label-display/job-label-display.component.html","../../../projects/windows-plus-utilities/job-label/component/job-label-stack/job-label-stack.component.ts","../../../projects/windows-plus-utilities/job-label/component/job-label-stack/job-label-stack.component.html","../../../projects/windows-plus-utilities/job-label/public-api.ts","../../../projects/windows-plus-utilities/job-label/windows-plus-utilities-job-label.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'wp-job-label-display',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './job-label-display.component.html',\r\n styleUrls: ['./job-label-display.component.sass']\r\n})\r\nexport class JobLabelDisplayComponent {\r\n\t/**\r\n\t * @description the label name to be displayed\r\n\t */\r\n\t@Input() labelName: string\r\n\t/**\r\n\t * @description the colour to be applied to the label\r\n\t */\r\n\t@Input() labelColour: string\r\n}\r\n","<div class=\"job-label-text d-flex align-items-center\" [ngStyle]=\"{'background': labelColour}\">\r\n\t<span class=\"text-small text-grey text-white\">{{labelName}}</span>\r\n</div>","import { Component, Input } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { JobLabelStackItems } from '../../util/interface/job-label-configuration.interface'\r\nimport { JobLabelDisplayComponent } from '../job-label-display/job-label-display.component'\r\n\r\n@Component({\r\n selector: 'wp-job-label-stack',\r\n standalone: true,\r\n imports: [\r\n\t\tCommonModule,\r\n\t\tJobLabelDisplayComponent\r\n\t],\r\n templateUrl: './job-label-stack.component.html',\r\n styleUrls: ['./job-label-stack.component.sass']\r\n})\r\nexport class JobLabelStackComponent {\r\n\t/**\r\n\t * @description the labels to be displayed\r\n\t */\r\n\t@Input() items: JobLabelStackItems\r\n}\r\n","<div class=\"job-label-container\">\r\n\t<div *ngFor=\"let label of items\">\r\n\t\t<wp-job-label-display \r\n\t\t\t[labelName]=\"label.labelName\"\r\n\t\t\t[labelColour]=\"label.labelColour\"\r\n\t\t></wp-job-label-display>\r\n\t</div>\r\n</div>","/*\r\n * Public API Surface of windows-plus-utilities\r\n */\r\n\r\nexport * from './component/job-label-display/job-label-display.component';\r\nexport * from './component/job-label-stack/job-label-stack.component';\r\n\r\nexport * from './util/interface/job-label-configuration.interface'\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAUa,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECVrC,wLAEM,EAAA,MAAA,EAAA,CAAA,4KAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDIM,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIX,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAPpC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,sBAAsB,EACpB,UAAA,EAAA,IAAI,EACP,OAAA,EAAA,CAAC,YAAY,CAAC,EAAA,QAAA,EAAA,wLAAA,EAAA,MAAA,EAAA,CAAA,4KAAA,CAAA,EAAA,CAAA;8BAQf,SAAS,EAAA,CAAA;sBAAjB,KAAK;gBAIG,WAAW,EAAA,CAAA;sBAAnB,KAAK;;;MEHM,sBAAsB,CAAA;8GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,ECfnC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,wPAOM,EDEJ,MAAA,EAAA,CAAA,qIAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,YAAY,4JACZ,wBAAwB,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,CAAA,WAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAKb,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAVlC,SAAS;+BACE,oBAAoB,EAAA,UAAA,EAClB,IAAI,EACP,OAAA,EAAA;wBACT,YAAY;wBACZ,wBAAwB;AACxB,qBAAA,EAAA,QAAA,EAAA,wPAAA,EAAA,MAAA,EAAA,CAAA,qIAAA,CAAA,EAAA,CAAA;8BAQQ,KAAK,EAAA,CAAA;sBAAb,KAAK;;;AEnBP;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"windows-plus-utilities-job-label.mjs","sources":["../../../projects/windows-plus-utilities/job-label/component/job-label-display/job-label-display.component.ts","../../../projects/windows-plus-utilities/job-label/component/job-label-display/job-label-display.component.html","../../../projects/windows-plus-utilities/job-label/component/job-label-stack/job-label-stack.component.ts","../../../projects/windows-plus-utilities/job-label/component/job-label-stack/job-label-stack.component.html","../../../projects/windows-plus-utilities/job-label/public-api.ts","../../../projects/windows-plus-utilities/job-label/windows-plus-utilities-job-label.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'wp-job-label-display',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './job-label-display.component.html',\r\n styleUrls: ['./job-label-display.component.sass']\r\n})\r\nexport class JobLabelDisplayComponent {\r\n\t/**\r\n\t * @description the label name to be displayed\r\n\t */\r\n\t@Input() labelName: string\r\n\t/**\r\n\t * @description the colour to be applied to the label\r\n\t */\r\n\t@Input() labelColour: string\r\n}\r\n","<div class=\"job-label-text d-flex align-items-center\" [ngStyle]=\"{'background': labelColour}\">\r\n\t<span class=\"text-small text-grey text-white\">{{labelName}}</span>\r\n</div>","import { Component, Input } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { JobLabelStackItems } from '../../util/interface/job-label-configuration.interface'\r\nimport { JobLabelDisplayComponent } from '../job-label-display/job-label-display.component'\r\n\r\n@Component({\r\n selector: 'wp-job-label-stack',\r\n standalone: true,\r\n imports: [\r\n\t\tCommonModule,\r\n\t\tJobLabelDisplayComponent\r\n\t],\r\n templateUrl: './job-label-stack.component.html',\r\n styleUrls: ['./job-label-stack.component.sass']\r\n})\r\nexport class JobLabelStackComponent {\r\n\t/**\r\n\t * @description the labels to be displayed\r\n\t */\r\n\t@Input() items: JobLabelStackItems\r\n}\r\n","<div class=\"job-label-container\">\r\n\t<div *ngFor=\"let label of items\">\r\n\t\t<wp-job-label-display \r\n\t\t\t[labelName]=\"label.labelName\"\r\n\t\t\t[labelColour]=\"label.labelColour\"\r\n\t\t></wp-job-label-display>\r\n\t</div>\r\n</div>","/*\r\n * Public API Surface of windows-plus-utilities\r\n */\r\n\r\nexport * from './component/job-label-display/job-label-display.component';\r\nexport * from './component/job-label-stack/job-label-stack.component';\r\n\r\nexport * from './util/interface/job-label-configuration.interface'\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAUa,wBAAwB,CAAA;+GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECVrC,wLAEM,EAAA,MAAA,EAAA,CAAA,4KAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDIM,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAIX,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAPpC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,sBAAsB,EAAA,UAAA,EACpB,IAAI,EAAA,OAAA,EACP,CAAC,YAAY,CAAC,EAAA,QAAA,EAAA,wLAAA,EAAA,MAAA,EAAA,CAAA,4KAAA,CAAA,EAAA;8BAQf,SAAS,EAAA,CAAA;sBAAjB;gBAIQ,WAAW,EAAA,CAAA;sBAAnB;;;MEHW,sBAAsB,CAAA;+GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECfnC,wPAOM,EAAA,MAAA,EAAA,CAAA,qIAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDEJ,YAAY,4JACZ,wBAAwB,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,CAAA,WAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAKb,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAVlC,SAAS;+BACE,oBAAoB,EAAA,UAAA,EAClB,IAAI,EAAA,OAAA,EACP;wBACT,YAAY;wBACZ;AACA,qBAAA,EAAA,QAAA,EAAA,wPAAA,EAAA,MAAA,EAAA,CAAA,qIAAA,CAAA,EAAA;8BAQQ,KAAK,EAAA,CAAA;sBAAb;;;AEnBF;;AAEG;;ACFH;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Input, EventEmitter, Output, ViewChild, NgModule } from '@angular/core';
2
+ import { Input, Component, EventEmitter, Output, ViewChild, NgModule } from '@angular/core';
3
3
  import { faSignOutAlt, faHome } from '@fortawesome/free-solid-svg-icons';
4
4
  import * as i1 from '@angular/common';
5
5
  import { CommonModule } from '@angular/common';
@@ -23,10 +23,10 @@ class ActionLinkComponent {
23
23
  */
24
24
  ngOnInit() {
25
25
  }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ActionLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
27
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: ActionLinkComponent, selector: "action-link", inputs: { actionLink: "actionLink", open: "open" }, ngImport: i0, template: "<li \r\n\tclass=\"cursor text-left\"\r\n>\r\n\t<div \r\n\t\tid=\"{{'content-wrap-' + actionLink.id}}\"\r\n\t\tclass=\"d-flex align-items-center cursor-pointer\"\r\n\t\t[ngClass]=\"{ 'justify-content-start': open, 'justify-content-center': !open}\"\r\n\t\t(click)=\"actionLink.handleClick()\"\r\n\t>\r\n\t\t<div>\r\n\t\t\t<fa-icon [icon]=\"actionLink.icon\"></fa-icon>\r\n\t\t</div>\r\n\t\t<div id=\"{{'text-wrap-' + actionLink.id}}\" class=\"ps-2\" *ngIf=\"open\">\r\n\t\t\t{{actionLink.value}}\r\n\t\t</div>\r\n\t</div>\r\n</li>", styles: ["li{padding:.75rem 1rem}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] }); }
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ActionLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
27
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ActionLinkComponent, selector: "action-link", inputs: { actionLink: "actionLink", open: "open" }, ngImport: i0, template: "<li \r\n\tclass=\"cursor text-left\"\r\n>\r\n\t<div \r\n\t\tid=\"{{'content-wrap-' + actionLink.id}}\"\r\n\t\tclass=\"d-flex align-items-center cursor-pointer\"\r\n\t\t[ngClass]=\"{ 'justify-content-start': open, 'justify-content-center': !open}\"\r\n\t\t(click)=\"actionLink.handleClick()\"\r\n\t>\r\n\t\t<div>\r\n\t\t\t<fa-icon [icon]=\"actionLink.icon\"></fa-icon>\r\n\t\t</div>\r\n\t\t<div id=\"{{'text-wrap-' + actionLink.id}}\" class=\"ps-2\" *ngIf=\"open\">\r\n\t\t\t{{actionLink.value}}\r\n\t\t</div>\r\n\t</div>\r\n</li>", styles: ["li{padding:.75rem 1rem}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] }); }
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ActionLinkComponent, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ActionLinkComponent, decorators: [{
30
30
  type: Component,
31
31
  args: [{ selector: 'action-link', template: "<li \r\n\tclass=\"cursor text-left\"\r\n>\r\n\t<div \r\n\t\tid=\"{{'content-wrap-' + actionLink.id}}\"\r\n\t\tclass=\"d-flex align-items-center cursor-pointer\"\r\n\t\t[ngClass]=\"{ 'justify-content-start': open, 'justify-content-center': !open}\"\r\n\t\t(click)=\"actionLink.handleClick()\"\r\n\t>\r\n\t\t<div>\r\n\t\t\t<fa-icon [icon]=\"actionLink.icon\"></fa-icon>\r\n\t\t</div>\r\n\t\t<div id=\"{{'text-wrap-' + actionLink.id}}\" class=\"ps-2\" *ngIf=\"open\">\r\n\t\t\t{{actionLink.value}}\r\n\t\t</div>\r\n\t</div>\r\n</li>", styles: ["li{padding:.75rem 1rem}\n"] }]
32
32
  }], ctorParameters: () => [], propDecorators: { actionLink: [{
@@ -61,10 +61,10 @@ class MenuLinkComponent {
61
61
  handleLinkClick() {
62
62
  this.navigateFromMenu.emit(this.link);
63
63
  }
64
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: MenuLinkComponent, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Component }); }
65
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: MenuLinkComponent, selector: "menu-link", inputs: { label: "label", link: "link" }, outputs: { navigateFromMenu: "navigateFromMenu" }, ngImport: i0, template: "<li \r\n\tclass=\"cursor-pointer\"\r\n\t(click)=\"handleLinkClick()\"\r\n>\r\n\t<p class=\"text-white\">{{label}}</p>\r\n</li>\r\n", styles: ["li{padding:.75rem 0 .75rem 1rem;border-bottom:1px solid rgba(0,0,0,.14)}li:last-child{border-bottom:none}li p{margin-bottom:0}\n"] }); }
64
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MenuLinkComponent, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Component }); }
65
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: MenuLinkComponent, selector: "menu-link", inputs: { label: "label", link: "link" }, outputs: { navigateFromMenu: "navigateFromMenu" }, ngImport: i0, template: "<li \r\n\tclass=\"cursor-pointer\"\r\n\t(click)=\"handleLinkClick()\"\r\n>\r\n\t<p class=\"text-white\">{{label}}</p>\r\n</li>\r\n", styles: ["li{padding:.75rem 0 .75rem 1rem;border-bottom:1px solid rgba(0,0,0,.14)}li:last-child{border-bottom:none}li p{margin-bottom:0}\n"] }); }
66
66
  }
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: MenuLinkComponent, decorators: [{
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MenuLinkComponent, decorators: [{
68
68
  type: Component,
69
69
  args: [{ selector: 'menu-link', template: "<li \r\n\tclass=\"cursor-pointer\"\r\n\t(click)=\"handleLinkClick()\"\r\n>\r\n\t<p class=\"text-white\">{{label}}</p>\r\n</li>\r\n", styles: ["li{padding:.75rem 0 .75rem 1rem;border-bottom:1px solid rgba(0,0,0,.14)}li:last-child{border-bottom:none}li p{margin-bottom:0}\n"] }]
70
70
  }], ctorParameters: () => [{ type: i1$1.Router }], propDecorators: { label: [{
@@ -173,10 +173,10 @@ class MenuComponent {
173
173
  emitLinkSelection(link) {
174
174
  this.navigateFromMenu.emit(link);
175
175
  }
176
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
177
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.8", type: MenuComponent, selector: "wp-menu", inputs: { showHome: "showHome", showLogOut: "showLogOut", privileges: "privileges" }, outputs: { navigateToDashboard: "navigateToDashboard", navigateToLogIn: "navigateToLogIn", navigateFromMenu: "navigateFromMenu" }, viewQueries: [{ propertyName: "menu", first: true, predicate: ["menu"], descendants: true }], ngImport: i0, template: "<div #menu id=\"menu-wrap\" class=\"menubar\" [ngClass]=\"menuStatus\">\r\n\t<div class=\"menuWrap\" [ngClass]=\"menuStatus\">\r\n\t\t<div class=\"mainMenuArea\">\r\n\t\t\t<!-- Menu Links Here -->\r\n\t\t\t<div id=\"privilege-wrap\" [ngClass]=\"menuStatus\">\r\n\t\t\t\t<ul>\r\n\t\t\t\t\t<div *ngFor=\"let element of privileges\">\r\n\t\t\t\t\t\t<menu-link [label]=\"element.label\" [link]=\"element.link\" (navigateFromMenu)=\"emitLinkSelection($event)\"></menu-link>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</ul>\r\n\t\t\t</div>\r\n\t\t\t<div id=\"hamburger-wrap\" class=\"hambclicker\" (click)=\"triggerMenu()\"></div>\r\n\t\t\t<div id=\"hambmenu\" [ngClass]=\"menuStatus\">\r\n\t\t\t\t<span></span>\r\n\t\t\t\t<span></span>\r\n\t\t\t\t<span></span>\r\n\t\t\t\t<span></span>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"actionMenuArea\">\r\n\t\t\t<ul>\r\n\t\t\t\t<div *ngFor=\"let element of actionLinks\">\r\n\t\t\t\t\t<action-link [actionLink]=\"element\" [open]=\"open\"></action-link>\r\n\t\t\t\t</div>\r\n\t\t\t</ul>\r\n\t\t</div>\r\n\t</div>\r\n</div>", styles: ["menu{padding-inline-start:0px;padding:0}.menubar{position:relative;background-color:var(--wp-primaryBlue);box-shadow:2px 5px 5px #0000001f;width:74px;height:100vh;transition:width .3s}.menubar span{display:inline-block;position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%);font-weight:300;font-size:1em;line-height:60px}.menuWrap{display:block;position:fixed;background-color:var(--wp-primaryBlue);text-align:center;width:74px;transition:width .3s}.menubar.isOpen,.menuWrap.isOpen{width:210px}#hambmenu{position:relative;width:40px;height:45px;float:left;-webkit-transition:.5s ease-in-out;transition:.5s ease-in-out;cursor:pointer}#hambmenu span{position:absolute;height:5px;width:100%;vertical-align:middle;margin:20px 0 0 15px;background:#fff;border-radius:var(--wp-borderRadius);opacity:1;left:0;-webkit-transform:rotate(0deg);transform:rotate(0);-webkit-transition:.25s ease-in-out;transition:.25s ease-in-out;padding:0}#hambmenu span:nth-child(1){top:0}#hambmenu span:nth-child(4){top:20px}#hambmenu.isOpen span:nth-child(1){top:18px;width:0;left:50%;opacity:0}#hambmenu.isOpen span:nth-child(2){-webkit-transform:rotate(45deg);transform:rotate(45deg)}#hambmenu.isOpen span:nth-child(3){-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}#hambmenu.isOpen span:nth-child(4){top:18px;width:0%;left:50%;opacity:0}.hambclicker{content:\"\";height:35px;width:42px;position:absolute;top:8px;left:8px;cursor:pointer;z-index:9}#hambmenu span:nth-child(2),#hambmenu span:nth-child(3){top:10px}#privilege-wrap{position:absolute;width:210px;margin-top:60px;-webkit-transform:translateX(-100%);transform:translate(-100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;overflow-y:auto;height:calc(87vh - 60px)}#privilege-wrap.isOpen{-webkit-transform:none;transform:none}#privilege-wrap ul,.actionMenuArea ul{width:100%;margin-top:0;padding:0;list-style-type:none;text-align:left}.actionMenuArea li p{color:#fff;margin-bottom:0}.fa{color:#000;padding-right:8px}.mainMenuArea{height:90vh}.actionMenuArea{height:10vh;color:#fff;display:flex;justify-content:center;align-items:flex-end}@media screen and (max-width: 420px){.menubar span{font-size:1.2em}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ActionLinkComponent, selector: "action-link", inputs: ["actionLink", "open"] }, { kind: "component", type: MenuLinkComponent, selector: "menu-link", inputs: ["label", "link"], outputs: ["navigateFromMenu"] }] }); }
176
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
177
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: MenuComponent, selector: "wp-menu", inputs: { showHome: "showHome", showLogOut: "showLogOut", privileges: "privileges" }, outputs: { navigateToDashboard: "navigateToDashboard", navigateToLogIn: "navigateToLogIn", navigateFromMenu: "navigateFromMenu" }, viewQueries: [{ propertyName: "menu", first: true, predicate: ["menu"], descendants: true }], ngImport: i0, template: "<div #menu id=\"menu-wrap\" class=\"menubar\" [ngClass]=\"menuStatus\">\r\n\t<div class=\"menuWrap\" [ngClass]=\"menuStatus\">\r\n\t\t<div class=\"mainMenuArea\">\r\n\t\t\t<!-- Menu Links Here -->\r\n\t\t\t<div id=\"privilege-wrap\" [ngClass]=\"menuStatus\">\r\n\t\t\t\t<ul>\r\n\t\t\t\t\t<div *ngFor=\"let element of privileges\">\r\n\t\t\t\t\t\t<menu-link [label]=\"element.label\" [link]=\"element.link\" (navigateFromMenu)=\"emitLinkSelection($event)\"></menu-link>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</ul>\r\n\t\t\t</div>\r\n\t\t\t<div id=\"hamburger-wrap\" class=\"hambclicker\" (click)=\"triggerMenu()\"></div>\r\n\t\t\t<div id=\"hambmenu\" [ngClass]=\"menuStatus\">\r\n\t\t\t\t<span></span>\r\n\t\t\t\t<span></span>\r\n\t\t\t\t<span></span>\r\n\t\t\t\t<span></span>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"actionMenuArea\">\r\n\t\t\t<ul>\r\n\t\t\t\t<div *ngFor=\"let element of actionLinks\">\r\n\t\t\t\t\t<action-link [actionLink]=\"element\" [open]=\"open\"></action-link>\r\n\t\t\t\t</div>\r\n\t\t\t</ul>\r\n\t\t</div>\r\n\t</div>\r\n</div>", styles: ["menu{padding-inline-start:0px;padding:0}.menubar{position:relative;background-color:var(--wp-primaryBlue);box-shadow:2px 5px 5px #0000001f;width:74px;height:100vh;transition:width .3s}.menubar span{display:inline-block;position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%);font-weight:300;font-size:1em;line-height:60px}.menuWrap{display:block;position:fixed;background-color:var(--wp-primaryBlue);text-align:center;width:74px;transition:width .3s}.menubar.isOpen,.menuWrap.isOpen{width:210px}#hambmenu{position:relative;width:40px;height:45px;float:left;-webkit-transition:.5s ease-in-out;transition:.5s ease-in-out;cursor:pointer}#hambmenu span{position:absolute;height:5px;width:100%;vertical-align:middle;margin:20px 0 0 15px;background:#fff;border-radius:var(--wp-borderRadius);opacity:1;left:0;-webkit-transform:rotate(0deg);transform:rotate(0);-webkit-transition:.25s ease-in-out;transition:.25s ease-in-out;padding:0}#hambmenu span:nth-child(1){top:0}#hambmenu span:nth-child(4){top:20px}#hambmenu.isOpen span:nth-child(1){top:18px;width:0;left:50%;opacity:0}#hambmenu.isOpen span:nth-child(2){-webkit-transform:rotate(45deg);transform:rotate(45deg)}#hambmenu.isOpen span:nth-child(3){-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}#hambmenu.isOpen span:nth-child(4){top:18px;width:0%;left:50%;opacity:0}.hambclicker{content:\"\";height:35px;width:42px;position:absolute;top:8px;left:8px;cursor:pointer;z-index:9}#hambmenu span:nth-child(2),#hambmenu span:nth-child(3){top:10px}#privilege-wrap{position:absolute;width:210px;margin-top:60px;-webkit-transform:translateX(-100%);transform:translate(-100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;overflow-y:auto;height:calc(87vh - 60px)}#privilege-wrap.isOpen{-webkit-transform:none;transform:none}#privilege-wrap ul,.actionMenuArea ul{width:100%;margin-top:0;padding:0;list-style-type:none;text-align:left}.actionMenuArea li p{color:#fff;margin-bottom:0}.fa{color:#000;padding-right:8px}.mainMenuArea{height:90vh}.actionMenuArea{height:10vh;color:#fff;display:flex;justify-content:center;align-items:flex-end}@media screen and (max-width: 420px){.menubar span{font-size:1.2em}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ActionLinkComponent, selector: "action-link", inputs: ["actionLink", "open"] }, { kind: "component", type: MenuLinkComponent, selector: "menu-link", inputs: ["label", "link"], outputs: ["navigateFromMenu"] }] }); }
178
178
  }
179
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: MenuComponent, decorators: [{
179
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MenuComponent, decorators: [{
180
180
  type: Component,
181
181
  args: [{ selector: 'wp-menu', template: "<div #menu id=\"menu-wrap\" class=\"menubar\" [ngClass]=\"menuStatus\">\r\n\t<div class=\"menuWrap\" [ngClass]=\"menuStatus\">\r\n\t\t<div class=\"mainMenuArea\">\r\n\t\t\t<!-- Menu Links Here -->\r\n\t\t\t<div id=\"privilege-wrap\" [ngClass]=\"menuStatus\">\r\n\t\t\t\t<ul>\r\n\t\t\t\t\t<div *ngFor=\"let element of privileges\">\r\n\t\t\t\t\t\t<menu-link [label]=\"element.label\" [link]=\"element.link\" (navigateFromMenu)=\"emitLinkSelection($event)\"></menu-link>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</ul>\r\n\t\t\t</div>\r\n\t\t\t<div id=\"hamburger-wrap\" class=\"hambclicker\" (click)=\"triggerMenu()\"></div>\r\n\t\t\t<div id=\"hambmenu\" [ngClass]=\"menuStatus\">\r\n\t\t\t\t<span></span>\r\n\t\t\t\t<span></span>\r\n\t\t\t\t<span></span>\r\n\t\t\t\t<span></span>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"actionMenuArea\">\r\n\t\t\t<ul>\r\n\t\t\t\t<div *ngFor=\"let element of actionLinks\">\r\n\t\t\t\t\t<action-link [actionLink]=\"element\" [open]=\"open\"></action-link>\r\n\t\t\t\t</div>\r\n\t\t\t</ul>\r\n\t\t</div>\r\n\t</div>\r\n</div>", styles: ["menu{padding-inline-start:0px;padding:0}.menubar{position:relative;background-color:var(--wp-primaryBlue);box-shadow:2px 5px 5px #0000001f;width:74px;height:100vh;transition:width .3s}.menubar span{display:inline-block;position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translate(-50%);font-weight:300;font-size:1em;line-height:60px}.menuWrap{display:block;position:fixed;background-color:var(--wp-primaryBlue);text-align:center;width:74px;transition:width .3s}.menubar.isOpen,.menuWrap.isOpen{width:210px}#hambmenu{position:relative;width:40px;height:45px;float:left;-webkit-transition:.5s ease-in-out;transition:.5s ease-in-out;cursor:pointer}#hambmenu span{position:absolute;height:5px;width:100%;vertical-align:middle;margin:20px 0 0 15px;background:#fff;border-radius:var(--wp-borderRadius);opacity:1;left:0;-webkit-transform:rotate(0deg);transform:rotate(0);-webkit-transition:.25s ease-in-out;transition:.25s ease-in-out;padding:0}#hambmenu span:nth-child(1){top:0}#hambmenu span:nth-child(4){top:20px}#hambmenu.isOpen span:nth-child(1){top:18px;width:0;left:50%;opacity:0}#hambmenu.isOpen span:nth-child(2){-webkit-transform:rotate(45deg);transform:rotate(45deg)}#hambmenu.isOpen span:nth-child(3){-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}#hambmenu.isOpen span:nth-child(4){top:18px;width:0%;left:50%;opacity:0}.hambclicker{content:\"\";height:35px;width:42px;position:absolute;top:8px;left:8px;cursor:pointer;z-index:9}#hambmenu span:nth-child(2),#hambmenu span:nth-child(3){top:10px}#privilege-wrap{position:absolute;width:210px;margin-top:60px;-webkit-transform:translateX(-100%);transform:translate(-100%);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;overflow-y:auto;height:calc(87vh - 60px)}#privilege-wrap.isOpen{-webkit-transform:none;transform:none}#privilege-wrap ul,.actionMenuArea ul{width:100%;margin-top:0;padding:0;list-style-type:none;text-align:left}.actionMenuArea li p{color:#fff;margin-bottom:0}.fa{color:#000;padding-right:8px}.mainMenuArea{height:90vh}.actionMenuArea{height:10vh;color:#fff;display:flex;justify-content:center;align-items:flex-end}@media screen and (max-width: 420px){.menubar span{font-size:1.2em}}\n"] }]
182
182
  }], ctorParameters: () => [], propDecorators: { showHome: [{
@@ -197,15 +197,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImpor
197
197
  }] } });
198
198
 
199
199
  class MainMenuModule {
200
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: MainMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
201
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: MainMenuModule, declarations: [MenuComponent,
200
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MainMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
201
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: MainMenuModule, declarations: [MenuComponent,
202
202
  ActionLinkComponent,
203
203
  MenuLinkComponent], imports: [CommonModule,
204
204
  FontAwesomeModule], exports: [MenuComponent] }); }
205
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: MainMenuModule, imports: [CommonModule,
205
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MainMenuModule, imports: [CommonModule,
206
206
  FontAwesomeModule] }); }
207
207
  }
208
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: MainMenuModule, decorators: [{
208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MainMenuModule, decorators: [{
209
209
  type: NgModule,
210
210
  args: [{
211
211
  declarations: [
@@ -1 +1 @@
1
- {"version":3,"file":"windows-plus-utilities-main-menu.mjs","sources":["../../../projects/windows-plus-utilities/main-menu/components/action-link/action-link.component.ts","../../../projects/windows-plus-utilities/main-menu/components/action-link/action-link.component.html","../../../projects/windows-plus-utilities/main-menu/components/menu-link/menu-link.component.ts","../../../projects/windows-plus-utilities/main-menu/components/menu-link/menu-link.component.html","../../../projects/windows-plus-utilities/main-menu/components/menu/menu.component.ts","../../../projects/windows-plus-utilities/main-menu/components/menu/menu.component.html","../../../projects/windows-plus-utilities/main-menu/main-menu.module.ts","../../../projects/windows-plus-utilities/main-menu/public-api.ts","../../../projects/windows-plus-utilities/main-menu/windows-plus-utilities-main-menu.ts"],"sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\r\nimport { ActionLink } from '../../util/interface/action-link/action-link.interface'\r\n\r\n@Component({\r\n selector: 'action-link',\r\n templateUrl: './action-link.component.html',\r\n styleUrls: ['./action-link.component.sass']\r\n})\r\n/**\r\n * @author Alex Hodson\r\n * @description the action link component provides the functionality for the action links inside the side navigation\r\n */\r\nexport class ActionLinkComponent implements OnInit {\r\n\t/**\r\n\t * @description the action link element provided by the parent which contains the action link properties\r\n\t */\r\n\t@Input()\r\n\tactionLink: ActionLink\r\n\r\n\t/**\r\n\t * @description whether the menu is open\r\n\t */\r\n\t@Input()\r\n\topen: boolean\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description class constructor which specifies the required services and properties for the component\r\n\t */\r\n constructor() { }\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the method to be run when the component is rendered\r\n\t */\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","<li \r\n\tclass=\"cursor text-left\"\r\n>\r\n\t<div \r\n\t\tid=\"{{'content-wrap-' + actionLink.id}}\"\r\n\t\tclass=\"d-flex align-items-center cursor-pointer\"\r\n\t\t[ngClass]=\"{ 'justify-content-start': open, 'justify-content-center': !open}\"\r\n\t\t(click)=\"actionLink.handleClick()\"\r\n\t>\r\n\t\t<div>\r\n\t\t\t<fa-icon [icon]=\"actionLink.icon\"></fa-icon>\r\n\t\t</div>\r\n\t\t<div id=\"{{'text-wrap-' + actionLink.id}}\" class=\"ps-2\" *ngIf=\"open\">\r\n\t\t\t{{actionLink.value}}\r\n\t\t</div>\r\n\t</div>\r\n</li>","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { Router } from '@angular/router'\r\n\r\n@Component({\r\n selector: 'menu-link',\r\n templateUrl: './menu-link.component.html',\r\n styleUrls: ['./menu-link.component.sass']\r\n})\r\n/**\r\n * @author Alex Hodson\r\n * @description the menu link class provides the functionality for the side navigation links\r\n */\r\nexport class MenuLinkComponent implements OnInit {\r\n\t/**\r\n\t * @description the string value which represents the area being display\r\n\t */\r\n\t@Input() label: string\r\n\r\n\t@Input() link: string\r\n\r\n\t@Output() navigateFromMenu: EventEmitter<string> = new EventEmitter()\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description class constructor specifying the required services and properties for the component\r\n\t */\r\n constructor(private router: Router) { }\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the method which runs when the component is rendered\r\n\t */\r\n ngOnInit(): void {\r\n }\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description handles the user clicking a link in the side navigation bar.\r\n\t */\r\n\thandleLinkClick(): void {\r\n\t\tthis.navigateFromMenu.emit(this.link)\r\n\t}\r\n}\r\n","<li \r\n\tclass=\"cursor-pointer\"\r\n\t(click)=\"handleLinkClick()\"\r\n>\r\n\t<p class=\"text-white\">{{label}}</p>\r\n</li>\r\n","import { Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core'\r\nimport { faHome, faSignOutAlt } from '@fortawesome/free-solid-svg-icons'\r\nimport { ActionLink } from '../../util/interface/action-link/action-link.interface'\r\nimport { MenuLink } from './../../util/interface/menu-link/menu-link.interface'\r\n\r\n@Component({\r\n\tselector: 'wp-menu',\r\n\ttemplateUrl: './menu.component.html',\r\n\tstyleUrls: ['./menu.component.sass']\r\n})\r\n/**\r\n * @author Alex Hodson\r\n * @description the menu component provides the functionality for interacting with the sidebar menu \r\n */\r\nexport class MenuComponent implements OnInit {\r\n\t/**\r\n\t * @description whether the home link should be displayed in the menu\r\n\t */\r\n\t@Input() showHome: boolean = true\r\n\t/**\r\n\t * @description handles the navigation to the dashboard screen\r\n\t */\r\n\t@Output() navigateToDashboard: EventEmitter<void> = new EventEmitter()\r\n\t/**\r\n\t * @description whether the log out link button should be displayed in the menu\r\n\t */\r\n\t@Input() showLogOut: boolean = true\r\n\t/**\r\n\t * @description handles the navigation to the log in screen\r\n\t */\r\n\t@Output() navigateToLogIn: EventEmitter<void> = new EventEmitter()\r\n\t/**\r\n\t * @description the privileges associated with the logged in account\r\n\t */\r\n\t@Input() privileges: MenuLink[]\r\n\t/**\r\n\t * @description handles the navigation from the main menu links\r\n\t */\r\n\t@Output() navigateFromMenu: EventEmitter<string> = new EventEmitter<string>()\r\n\t/**\r\n\t * @description the HTML menu element\r\n\t */\r\n\t@ViewChild('menu') menu: any\r\n\t/**\r\n\t * @description the font awesome icon for the sign out button\r\n\t */\r\n\tfaSignOutAlt = faSignOutAlt\r\n\t/**\r\n\t * @description the font awesome icon for the home button\r\n\t */\r\n\tfaHome = faHome\r\n\t/**\r\n\t * @description whether the side menu is open\r\n\t */\r\n\topen = false\r\n\t/**\r\n\t * @description the status class to be applies to the menu\r\n\t */\r\n\tmenuStatus = 'isClosed'\r\n\t/**\r\n\t * @description the action links to be displayed in the side navigation menu\r\n\t */\r\n\tactionLinks: ActionLink[] = []\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description class constructor specifying the required services and properties for the component\r\n\t */\r\n\tconstructor() { }\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the method which runs when the component is rendered. Retrieves the account privileges for the logged in user\r\n\t */\r\n\tasync ngOnInit(): Promise<void> {\r\n\t\tthis.handleBaseActionLinks()\r\n\t}\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description handles the assignment of the base action links\r\n\t */\r\n\thandleBaseActionLinks(): void {\r\n\t\tif (this.showHome) {\r\n\t\t\tthis.actionLinks.push({\r\n\t\t\t\t'id': 'dashboard',\r\n\t\t\t\t'value': 'Dashboard',\r\n\t\t\t\t'icon': faHome,\r\n\t\t\t\t'handleClick': () => this.navigateToDashboard.emit()\r\n\t\t\t})\r\n\t\t}\r\n\r\n\t\tif (this.showLogOut) {\r\n\t\t\tthis.actionLinks.push({\r\n\t\t\t\t'id': 'log-out',\r\n\t\t\t\t'value': 'Log Out',\r\n\t\t\t\t'icon': faSignOutAlt,\r\n\t\t\t\t'handleClick': () => {\r\n\t\t\t\t\tthis.navigateToLogIn.emit()\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description opens and closes the side menu according to the current menu state\r\n\t */\r\n\ttriggerMenu(): void {\r\n\t\tthis.open = !this.open\r\n\t\tthis.menuStatus = this.open ? 'isOpen' : 'isClosed'\r\n\t}\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description emits the given link through the output\r\n\t * @param link the link to be emitted\r\n\t */\r\n\temitLinkSelection(link: string) {\r\n\t\tthis.navigateFromMenu.emit(link)\r\n\t}\r\n}\r\n","<div #menu id=\"menu-wrap\" class=\"menubar\" [ngClass]=\"menuStatus\">\r\n\t<div class=\"menuWrap\" [ngClass]=\"menuStatus\">\r\n\t\t<div class=\"mainMenuArea\">\r\n\t\t\t<!-- Menu Links Here -->\r\n\t\t\t<div id=\"privilege-wrap\" [ngClass]=\"menuStatus\">\r\n\t\t\t\t<ul>\r\n\t\t\t\t\t<div *ngFor=\"let element of privileges\">\r\n\t\t\t\t\t\t<menu-link [label]=\"element.label\" [link]=\"element.link\" (navigateFromMenu)=\"emitLinkSelection($event)\"></menu-link>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</ul>\r\n\t\t\t</div>\r\n\t\t\t<div id=\"hamburger-wrap\" class=\"hambclicker\" (click)=\"triggerMenu()\"></div>\r\n\t\t\t<div id=\"hambmenu\" [ngClass]=\"menuStatus\">\r\n\t\t\t\t<span></span>\r\n\t\t\t\t<span></span>\r\n\t\t\t\t<span></span>\r\n\t\t\t\t<span></span>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"actionMenuArea\">\r\n\t\t\t<ul>\r\n\t\t\t\t<div *ngFor=\"let element of actionLinks\">\r\n\t\t\t\t\t<action-link [actionLink]=\"element\" [open]=\"open\"></action-link>\r\n\t\t\t\t</div>\r\n\t\t\t</ul>\r\n\t\t</div>\r\n\t</div>\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { MenuComponent } from './components/menu/menu.component';\r\nimport { ActionLinkComponent } from './components/action-link/action-link.component'\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome'\r\nimport { MenuLinkComponent } from './components/menu-link/menu-link.component'\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n MenuComponent,\r\n\t\tActionLinkComponent,\r\n\t\tMenuLinkComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n\t\tFontAwesomeModule\r\n ],\r\n exports: [\r\n MenuComponent\r\n ]\r\n})\r\nexport class MainMenuModule { }\r\n","/*\r\n * Public API Surface of windows-plus-utilities\r\n */\r\n\r\nexport * from './components/menu/menu.component';\r\nexport * from './main-menu.module';\r\n\r\nexport * from './util/interface/menu-link/menu-link.interface'","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2.ActionLinkComponent","i3.MenuLinkComponent"],"mappings":";;;;;;;;;AAQA;;;AAGG;MACU,mBAAmB,CAAA;AAY/B;;;AAGG;AACF,IAAA,WAAA,GAAA,GAAiB;AAClB;;;AAGG;IACF,QAAQ,GAAA;KACP;8GAtBU,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,uGCZhC,mhBAgBK,EAAA,MAAA,EAAA,CAAA,2BAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,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AC,MAAM,CAAA;;;MEpBL,cAAc,CAAA;8GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAd,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,iBAZvB,aAAa;YACf,mBAAmB;AACnB,YAAA,iBAAiB,aAGjB,YAAY;AACZ,YAAA,iBAAiB,aAGf,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;AAGJ,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAPzB,YAAY;YACZ,iBAAiB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAMN,cAAc,EAAA,UAAA,EAAA,CAAA;kBAd1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,aAAa;wBACf,mBAAmB;wBACnB,iBAAiB;AAChB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACT,YAAY;wBACZ,iBAAiB;AAChB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,aAAa;AACd,qBAAA;AACF,iBAAA,CAAA;;;ACrBD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"windows-plus-utilities-main-menu.mjs","sources":["../../../projects/windows-plus-utilities/main-menu/components/action-link/action-link.component.ts","../../../projects/windows-plus-utilities/main-menu/components/action-link/action-link.component.html","../../../projects/windows-plus-utilities/main-menu/components/menu-link/menu-link.component.ts","../../../projects/windows-plus-utilities/main-menu/components/menu-link/menu-link.component.html","../../../projects/windows-plus-utilities/main-menu/components/menu/menu.component.ts","../../../projects/windows-plus-utilities/main-menu/components/menu/menu.component.html","../../../projects/windows-plus-utilities/main-menu/main-menu.module.ts","../../../projects/windows-plus-utilities/main-menu/public-api.ts","../../../projects/windows-plus-utilities/main-menu/windows-plus-utilities-main-menu.ts"],"sourcesContent":["import { Component, Input, OnInit } from '@angular/core';\r\nimport { ActionLink } from '../../util/interface/action-link/action-link.interface'\r\n\r\n@Component({\r\n selector: 'action-link',\r\n templateUrl: './action-link.component.html',\r\n styleUrls: ['./action-link.component.sass']\r\n})\r\n/**\r\n * @author Alex Hodson\r\n * @description the action link component provides the functionality for the action links inside the side navigation\r\n */\r\nexport class ActionLinkComponent implements OnInit {\r\n\t/**\r\n\t * @description the action link element provided by the parent which contains the action link properties\r\n\t */\r\n\t@Input()\r\n\tactionLink: ActionLink\r\n\r\n\t/**\r\n\t * @description whether the menu is open\r\n\t */\r\n\t@Input()\r\n\topen: boolean\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description class constructor which specifies the required services and properties for the component\r\n\t */\r\n constructor() { }\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the method to be run when the component is rendered\r\n\t */\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","<li \r\n\tclass=\"cursor text-left\"\r\n>\r\n\t<div \r\n\t\tid=\"{{'content-wrap-' + actionLink.id}}\"\r\n\t\tclass=\"d-flex align-items-center cursor-pointer\"\r\n\t\t[ngClass]=\"{ 'justify-content-start': open, 'justify-content-center': !open}\"\r\n\t\t(click)=\"actionLink.handleClick()\"\r\n\t>\r\n\t\t<div>\r\n\t\t\t<fa-icon [icon]=\"actionLink.icon\"></fa-icon>\r\n\t\t</div>\r\n\t\t<div id=\"{{'text-wrap-' + actionLink.id}}\" class=\"ps-2\" *ngIf=\"open\">\r\n\t\t\t{{actionLink.value}}\r\n\t\t</div>\r\n\t</div>\r\n</li>","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { Router } from '@angular/router'\r\n\r\n@Component({\r\n selector: 'menu-link',\r\n templateUrl: './menu-link.component.html',\r\n styleUrls: ['./menu-link.component.sass']\r\n})\r\n/**\r\n * @author Alex Hodson\r\n * @description the menu link class provides the functionality for the side navigation links\r\n */\r\nexport class MenuLinkComponent implements OnInit {\r\n\t/**\r\n\t * @description the string value which represents the area being display\r\n\t */\r\n\t@Input() label: string\r\n\r\n\t@Input() link: string\r\n\r\n\t@Output() navigateFromMenu: EventEmitter<string> = new EventEmitter()\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description class constructor specifying the required services and properties for the component\r\n\t */\r\n constructor(private router: Router) { }\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the method which runs when the component is rendered\r\n\t */\r\n ngOnInit(): void {\r\n }\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description handles the user clicking a link in the side navigation bar.\r\n\t */\r\n\thandleLinkClick(): void {\r\n\t\tthis.navigateFromMenu.emit(this.link)\r\n\t}\r\n}\r\n","<li \r\n\tclass=\"cursor-pointer\"\r\n\t(click)=\"handleLinkClick()\"\r\n>\r\n\t<p class=\"text-white\">{{label}}</p>\r\n</li>\r\n","import { Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core'\r\nimport { faHome, faSignOutAlt } from '@fortawesome/free-solid-svg-icons'\r\nimport { ActionLink } from '../../util/interface/action-link/action-link.interface'\r\nimport { MenuLink } from './../../util/interface/menu-link/menu-link.interface'\r\n\r\n@Component({\r\n\tselector: 'wp-menu',\r\n\ttemplateUrl: './menu.component.html',\r\n\tstyleUrls: ['./menu.component.sass']\r\n})\r\n/**\r\n * @author Alex Hodson\r\n * @description the menu component provides the functionality for interacting with the sidebar menu \r\n */\r\nexport class MenuComponent implements OnInit {\r\n\t/**\r\n\t * @description whether the home link should be displayed in the menu\r\n\t */\r\n\t@Input() showHome: boolean = true\r\n\t/**\r\n\t * @description handles the navigation to the dashboard screen\r\n\t */\r\n\t@Output() navigateToDashboard: EventEmitter<void> = new EventEmitter()\r\n\t/**\r\n\t * @description whether the log out link button should be displayed in the menu\r\n\t */\r\n\t@Input() showLogOut: boolean = true\r\n\t/**\r\n\t * @description handles the navigation to the log in screen\r\n\t */\r\n\t@Output() navigateToLogIn: EventEmitter<void> = new EventEmitter()\r\n\t/**\r\n\t * @description the privileges associated with the logged in account\r\n\t */\r\n\t@Input() privileges: MenuLink[]\r\n\t/**\r\n\t * @description handles the navigation from the main menu links\r\n\t */\r\n\t@Output() navigateFromMenu: EventEmitter<string> = new EventEmitter<string>()\r\n\t/**\r\n\t * @description the HTML menu element\r\n\t */\r\n\t@ViewChild('menu') menu: any\r\n\t/**\r\n\t * @description the font awesome icon for the sign out button\r\n\t */\r\n\tfaSignOutAlt = faSignOutAlt\r\n\t/**\r\n\t * @description the font awesome icon for the home button\r\n\t */\r\n\tfaHome = faHome\r\n\t/**\r\n\t * @description whether the side menu is open\r\n\t */\r\n\topen = false\r\n\t/**\r\n\t * @description the status class to be applies to the menu\r\n\t */\r\n\tmenuStatus = 'isClosed'\r\n\t/**\r\n\t * @description the action links to be displayed in the side navigation menu\r\n\t */\r\n\tactionLinks: ActionLink[] = []\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description class constructor specifying the required services and properties for the component\r\n\t */\r\n\tconstructor() { }\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description the method which runs when the component is rendered. Retrieves the account privileges for the logged in user\r\n\t */\r\n\tasync ngOnInit(): Promise<void> {\r\n\t\tthis.handleBaseActionLinks()\r\n\t}\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description handles the assignment of the base action links\r\n\t */\r\n\thandleBaseActionLinks(): void {\r\n\t\tif (this.showHome) {\r\n\t\t\tthis.actionLinks.push({\r\n\t\t\t\t'id': 'dashboard',\r\n\t\t\t\t'value': 'Dashboard',\r\n\t\t\t\t'icon': faHome,\r\n\t\t\t\t'handleClick': () => this.navigateToDashboard.emit()\r\n\t\t\t})\r\n\t\t}\r\n\r\n\t\tif (this.showLogOut) {\r\n\t\t\tthis.actionLinks.push({\r\n\t\t\t\t'id': 'log-out',\r\n\t\t\t\t'value': 'Log Out',\r\n\t\t\t\t'icon': faSignOutAlt,\r\n\t\t\t\t'handleClick': () => {\r\n\t\t\t\t\tthis.navigateToLogIn.emit()\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description opens and closes the side menu according to the current menu state\r\n\t */\r\n\ttriggerMenu(): void {\r\n\t\tthis.open = !this.open\r\n\t\tthis.menuStatus = this.open ? 'isOpen' : 'isClosed'\r\n\t}\r\n\r\n\t/**\r\n\t * @author Alex Hodson\r\n\t * @description emits the given link through the output\r\n\t * @param link the link to be emitted\r\n\t */\r\n\temitLinkSelection(link: string) {\r\n\t\tthis.navigateFromMenu.emit(link)\r\n\t}\r\n}\r\n","<div #menu id=\"menu-wrap\" class=\"menubar\" [ngClass]=\"menuStatus\">\r\n\t<div class=\"menuWrap\" [ngClass]=\"menuStatus\">\r\n\t\t<div class=\"mainMenuArea\">\r\n\t\t\t<!-- Menu Links Here -->\r\n\t\t\t<div id=\"privilege-wrap\" [ngClass]=\"menuStatus\">\r\n\t\t\t\t<ul>\r\n\t\t\t\t\t<div *ngFor=\"let element of privileges\">\r\n\t\t\t\t\t\t<menu-link [label]=\"element.label\" [link]=\"element.link\" (navigateFromMenu)=\"emitLinkSelection($event)\"></menu-link>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</ul>\r\n\t\t\t</div>\r\n\t\t\t<div id=\"hamburger-wrap\" class=\"hambclicker\" (click)=\"triggerMenu()\"></div>\r\n\t\t\t<div id=\"hambmenu\" [ngClass]=\"menuStatus\">\r\n\t\t\t\t<span></span>\r\n\t\t\t\t<span></span>\r\n\t\t\t\t<span></span>\r\n\t\t\t\t<span></span>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div class=\"actionMenuArea\">\r\n\t\t\t<ul>\r\n\t\t\t\t<div *ngFor=\"let element of actionLinks\">\r\n\t\t\t\t\t<action-link [actionLink]=\"element\" [open]=\"open\"></action-link>\r\n\t\t\t\t</div>\r\n\t\t\t</ul>\r\n\t\t</div>\r\n\t</div>\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { MenuComponent } from './components/menu/menu.component';\r\nimport { ActionLinkComponent } from './components/action-link/action-link.component'\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome'\r\nimport { MenuLinkComponent } from './components/menu-link/menu-link.component'\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n MenuComponent,\r\n\t\tActionLinkComponent,\r\n\t\tMenuLinkComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n\t\tFontAwesomeModule\r\n ],\r\n exports: [\r\n MenuComponent\r\n ]\r\n})\r\nexport class MainMenuModule { }\r\n","/*\r\n * Public API Surface of windows-plus-utilities\r\n */\r\n\r\nexport * from './components/menu/menu.component';\r\nexport * from './main-menu.module';\r\n\r\nexport * from './util/interface/menu-link/menu-link.interface'","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2.ActionLinkComponent","i3.MenuLinkComponent"],"mappings":";;;;;;;;;AAQA;;;AAGG;MACU,mBAAmB,CAAA;AAY/B;;;AAGG;AACF,IAAA,WAAA,GAAA,EAAgB;AACjB;;;AAGG;IACF,QAAQ,GAAA;IACR;+GAtBW,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAAmB,uGCZhC,mhBAgBK,EAAA,MAAA,EAAA,CAAA,2BAAA,CAAA,EAAA,YAAA,EAAA,CAAA,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