herum-shared 1.0.13 → 1.0.14-tal-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"herum-shared-decorators.mjs","sources":["../../../projects/herum-shared/decorators/table-row-height.decorator.ts","../../../projects/herum-shared/decorators/index.ts","../../../projects/herum-shared/decorators/herum-shared-decorators.ts"],"sourcesContent":["export const TableRowHeight = (value: number) => {\r\n return function (constructor: any) {\r\n constructor.tableRowHeight = value;\r\n }\r\n}","/**\r\n * @file Automatically generated by barrelsby.\r\n */\r\n\r\nexport * from \"./table-row-height.decorator\";\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAO,MAAM,cAAc,GAAG,CAAC,KAAa,KAAI;AAC5C,IAAA,OAAO,UAAU,WAAgB,EAAA;AAC7B,QAAA,WAAW,CAAC,cAAc,GAAG,KAAK;AACtC,IAAA,CAAC;AACL;;ACJA;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"herum-shared-decorators.mjs","sources":["../../../projects/herum-shared/decorators/table-row-height.decorator.ts","../../../projects/herum-shared/decorators/index.ts","../../../projects/herum-shared/decorators/herum-shared-decorators.ts"],"sourcesContent":["export const TableRowHeight = (value: number) => {\r\n return function (constructor: any) {\r\n constructor.tableRowHeight = value;\r\n }\r\n}","/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./table-row-height.decorator\";\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAO,MAAM,cAAc,GAAG,CAAC,KAAa,KAAI;AAC5C,IAAA,OAAO,UAAU,WAAgB,EAAA;AAC7B,QAAA,WAAW,CAAC,cAAc,GAAG,KAAK;AACtC,IAAA,CAAC;AACL;;ACJA;;AAEG;;ACFH;;AAEG;;;;"}
@@ -7,9 +7,8 @@ import * as i2 from '@angular/common';
7
7
  import { CommonModule } from '@angular/common';
8
8
  import * as i3 from 'herum-shared/atoms';
9
9
  import { AtomsModule } from 'herum-shared/atoms';
10
- import * as i2$1 from 'herum-shared/molecules';
11
- import { MoleculesModule } from 'herum-shared/molecules';
12
10
  import { PipesModule } from 'herum-shared/pipes';
11
+ import { MoleculesModule } from 'herum-shared/molecules';
13
12
 
14
13
  class InsuranceDialogComponent {
15
14
  dialogRef;
@@ -46,39 +45,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
46
45
  args: [HERUM_SHARED_CONFIG_TOKEN]
47
46
  }] }] });
48
47
 
49
- class HerumFilesViewerDialogComponent {
50
- dialogRef;
51
- data;
52
- fileData;
53
- constructor(dialogRef, data) {
54
- this.dialogRef = dialogRef;
55
- this.data = data;
56
- }
57
- ngOnInit() {
58
- this.fileData = this.data;
59
- }
60
- _downloadFile() {
61
- this.dialogRef.close(this.fileData);
62
- }
63
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: HerumFilesViewerDialogComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
64
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.17", type: HerumFilesViewerDialogComponent, isStandalone: false, selector: "herum-files-viewer-dialog", ngImport: i0, template: "<herum-files-viewer [fileData]=\"fileData\" (downloadFile)=\"_downloadFile()\">\r\n</herum-files-viewer>", styles: ["::ng-deep .mat-mdc-dialog-container{padding:0!important;display:block}:host{height:100%;width:100%;display:flex}\n"], dependencies: [{ kind: "component", type: i2$1.HerumFilesViewerComponent, selector: "herum-files-viewer", inputs: ["fileData", "showDeleteFileButton"], outputs: ["downloadFile", "deleteFile"] }] });
65
- }
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: HerumFilesViewerDialogComponent, decorators: [{
67
- type: Component,
68
- args: [{ standalone: false, selector: 'herum-files-viewer-dialog', template: "<herum-files-viewer [fileData]=\"fileData\" (downloadFile)=\"_downloadFile()\">\r\n</herum-files-viewer>", styles: ["::ng-deep .mat-mdc-dialog-container{padding:0!important;display:block}:host{height:100%;width:100%;display:flex}\n"] }]
69
- }], ctorParameters: () => [{ type: i1.MatDialogRef }, { type: undefined, decorators: [{
70
- type: Inject,
71
- args: [MAT_DIALOG_DATA]
72
- }] }] });
73
-
74
48
  class DialogsModule {
75
49
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: DialogsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
76
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.17", ngImport: i0, type: DialogsModule, declarations: [InsuranceDialogComponent,
77
- HerumFilesViewerDialogComponent], imports: [CommonModule,
50
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.17", ngImport: i0, type: DialogsModule, declarations: [InsuranceDialogComponent], imports: [CommonModule,
78
51
  AtomsModule,
79
52
  PipesModule,
80
- MoleculesModule], exports: [InsuranceDialogComponent,
81
- HerumFilesViewerDialogComponent] });
53
+ MoleculesModule], exports: [InsuranceDialogComponent] });
82
54
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: DialogsModule, imports: [CommonModule,
83
55
  AtomsModule,
84
56
  PipesModule,
@@ -89,7 +61,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
89
61
  args: [{
90
62
  declarations: [
91
63
  InsuranceDialogComponent,
92
- HerumFilesViewerDialogComponent,
93
64
  ],
94
65
  imports: [
95
66
  CommonModule,
@@ -99,7 +70,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
99
70
  ],
100
71
  exports: [
101
72
  InsuranceDialogComponent,
102
- HerumFilesViewerDialogComponent,
103
73
  ]
104
74
  }]
105
75
  }] });
@@ -112,5 +82,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
112
82
  * Generated bundle index. Do not edit.
113
83
  */
114
84
 
115
- export { DialogsModule, HerumFilesViewerDialogComponent, InsuranceDialogComponent };
85
+ export { DialogsModule, InsuranceDialogComponent };
116
86
  //# sourceMappingURL=herum-shared-dialogs.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"herum-shared-dialogs.mjs","sources":["../../../projects/herum-shared/dialogs/insurance-dialog/insurance-dialog.component.ts","../../../projects/herum-shared/dialogs/insurance-dialog/insurance-dialog.component.html","../../../projects/herum-shared/dialogs/herum-files-viewer-dialog/herum-files-viewer-dialog.component.ts","../../../projects/herum-shared/dialogs/herum-files-viewer-dialog/herum-files-viewer-dialog.component.html","../../../projects/herum-shared/dialogs/dialogs-module.ts","../../../projects/herum-shared/dialogs/index.ts","../../../projects/herum-shared/dialogs/herum-shared-dialogs.ts"],"sourcesContent":["import { Component, Inject } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { DialogConfig } from 'herum-types/Dialogs';\r\nimport { EnvironmentConfig, HERUM_SHARED_CONFIG_TOKEN } from 'herum-shared/environment';\r\n\r\n@Component({\r\n standalone: false,\r\n selector: 'app-insurance-dialog',\r\n templateUrl: './insurance-dialog.component.html',\r\n styleUrls: ['./insurance-dialog.component.scss', '../../styles/dialogs.scss']\r\n})\r\nexport class InsuranceDialogComponent {\r\n\r\n constructor(public dialogRef: MatDialogRef<InsuranceDialogComponent>, @Inject(MAT_DIALOG_DATA) public data: DialogConfig,\r\n @Inject(HERUM_SHARED_CONFIG_TOKEN) private environmentConfig: EnvironmentConfig) { }\r\n\r\n _onSubmit() {\r\n this.dialogRef.close(true);\r\n }\r\n\r\n _onClose() {\r\n this.dialogRef.close(false);\r\n }\r\n\r\n get systemIdentifier() {\r\n return this.environmentConfig?.environment?.systemIdentifier;\r\n }\r\n\r\n get isWarning() {\r\n return this.data.type == 'warning';\r\n }\r\n}","<div class=\"dialog-container cubes-background\" [class]=\"systemIdentifier\" [class.warning-dialog]=\"isWarning\">\r\n <div class=\"title-container\">\r\n <img class=\"warning-icon\" *ngIf=\"isWarning\" src=\"assets/hadracha/general/warningDialog.svg\" alt=\"close-icon\">\r\n <p class=\"section-title\">{{data.title}}</p>\r\n <img class=\"close-button\" src=\"assets/shared/icons/secondary-x.svg\" alt=\"close-icon\" (click)=\"_onClose()\">\r\n </div>\r\n\r\n <p class=\"description\">{{ data.description }}</p>\r\n\r\n <p *ngIf=\"data.note\" class=\"note\">{{ data.note }}</p>\r\n\r\n <div class=\"dialog-buttons-actions-container\" *ngIf=\"!!data.submitActionButton\">\r\n <herum-button (click)=\"_onClose()\" [type]=\"'ghost'\">{{ data.closeActionButton ?? 'בטל' }}</herum-button>\r\n <herum-button [color]=\"isWarning ? 'error' : 'regular'\" (click)=\"_onSubmit()\">{{ data.submitActionButton }}</herum-button>\r\n </div>\r\n</div>","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\nimport { FileData } from 'herum-types/Shared';\r\n\r\n@Component({\r\n standalone: false,\r\n selector: 'herum-files-viewer-dialog',\r\n templateUrl: './herum-files-viewer-dialog.component.html',\r\n styleUrls: ['./herum-files-viewer-dialog.component.scss']\r\n})\r\nexport class HerumFilesViewerDialogComponent implements OnInit {\r\n\r\n fileData: FileData;\r\n\r\n constructor(private dialogRef: MatDialogRef<FileData>, @Inject(MAT_DIALOG_DATA) public data) { }\r\n\r\n ngOnInit(): void {\r\n this.fileData = this.data;\r\n }\r\n\r\n _downloadFile() {\r\n this.dialogRef.close(this.fileData);\r\n }\r\n}","<herum-files-viewer [fileData]=\"fileData\" (downloadFile)=\"_downloadFile()\">\r\n</herum-files-viewer>","import { NgModule } from '@angular/core';\r\nimport { InsuranceDialogComponent } from './insurance-dialog/insurance-dialog.component';\r\nimport { HerumFilesViewerDialogComponent } from './herum-files-viewer-dialog/herum-files-viewer-dialog.component';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AtomsModule } from 'herum-shared/atoms';\r\nimport { PipesModule } from 'herum-shared/pipes';\r\nimport { MoleculesModule } from 'herum-shared/molecules';\r\n\r\n@NgModule({\r\n declarations: [\r\n InsuranceDialogComponent,\r\n HerumFilesViewerDialogComponent,\r\n],\r\nimports: [\r\n CommonModule,\r\n AtomsModule,\r\n PipesModule,\r\n MoleculesModule\r\n],\r\nexports: [\r\n InsuranceDialogComponent,\r\n HerumFilesViewerDialogComponent,\r\n ]\r\n})\r\nexport class DialogsModule { }","/**\r\n * @file Automatically generated by barrelsby.\r\n */\r\n\r\nexport * from \"./dialogs-module\";\r\nexport * from \"./herum-files-viewer-dialog/herum-files-viewer-dialog.component\";\r\nexport * from \"./insurance-dialog/insurance-dialog.component\";\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2"],"mappings":";;;;;;;;;;;;;MAWa,wBAAwB,CAAA;AAEhB,IAAA,SAAA;AAAmF,IAAA,IAAA;AACzD,IAAA,iBAAA;AAD7C,IAAA,WAAA,CAAmB,SAAiD,EAAkC,IAAkB,EAC3E,iBAAoC,EAAA;QAD9D,IAAA,CAAA,SAAS,GAAT,SAAS;QAA0E,IAAA,CAAA,IAAI,GAAJ,IAAI;QAC7D,IAAA,CAAA,iBAAiB,GAAjB,iBAAiB;IAAuB;IAErF,SAAS,GAAA;AACP,QAAA,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC;IAC5B;IAEA,QAAQ,GAAA;AACN,QAAA,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC;IAC7B;AAEA,IAAA,IAAI,gBAAgB,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,iBAAiB,EAAE,WAAW,EAAE,gBAAgB;IAC9D;AAEA,IAAA,IAAI,SAAS,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EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAb,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,iBAdtB,wBAAwB;AACxB,YAAA,+BAA+B,aAG/B,YAAY;YACZ,WAAW;YACX,WAAW;AACX,YAAA,eAAe,aAGf,wBAAwB;YACxB,+BAA+B,CAAA,EAAA,CAAA;AAGtB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YAVtB,YAAY;YACZ,WAAW;YACX,WAAW;YACX,eAAe,CAAA,EAAA,CAAA;;4FAON,aAAa,EAAA,UAAA,EAAA,CAAA;kBAhBzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,wBAAwB;wBACxB,+BAA+B;AAClC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,WAAW;wBACX,WAAW;wBACX;AACH,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,wBAAwB;wBACxB,+BAA+B;AAChC;AACF,iBAAA;;;ACvBD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"herum-shared-dialogs.mjs","sources":["../../../projects/herum-shared/dialogs/insurance-dialog/insurance-dialog.component.ts","../../../projects/herum-shared/dialogs/insurance-dialog/insurance-dialog.component.html","../../../projects/herum-shared/dialogs/dialogs-module.ts","../../../projects/herum-shared/dialogs/index.ts","../../../projects/herum-shared/dialogs/herum-shared-dialogs.ts"],"sourcesContent":["import { Component, Inject } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { DialogConfig } from 'herum-types/Dialogs';\r\nimport { EnvironmentConfig, HERUM_SHARED_CONFIG_TOKEN } from 'herum-shared/environment';\r\n\r\n@Component({\r\n standalone: false,\r\n selector: 'app-insurance-dialog',\r\n templateUrl: './insurance-dialog.component.html',\r\n styleUrls: ['./insurance-dialog.component.scss', '../../styles/dialogs.scss']\r\n})\r\nexport class InsuranceDialogComponent {\r\n\r\n constructor(public dialogRef: MatDialogRef<InsuranceDialogComponent>, @Inject(MAT_DIALOG_DATA) public data: DialogConfig,\r\n @Inject(HERUM_SHARED_CONFIG_TOKEN) private environmentConfig: EnvironmentConfig) { }\r\n\r\n _onSubmit() {\r\n this.dialogRef.close(true);\r\n }\r\n\r\n _onClose() {\r\n this.dialogRef.close(false);\r\n }\r\n\r\n get systemIdentifier() {\r\n return this.environmentConfig?.environment?.systemIdentifier;\r\n }\r\n\r\n get isWarning() {\r\n return this.data.type == 'warning';\r\n }\r\n}","<div class=\"dialog-container cubes-background\" [class]=\"systemIdentifier\" [class.warning-dialog]=\"isWarning\">\r\n <div class=\"title-container\">\r\n <img class=\"warning-icon\" *ngIf=\"isWarning\" src=\"assets/hadracha/general/warningDialog.svg\" alt=\"close-icon\">\r\n <p class=\"section-title\">{{data.title}}</p>\r\n <img class=\"close-button\" src=\"assets/shared/icons/secondary-x.svg\" alt=\"close-icon\" (click)=\"_onClose()\">\r\n </div>\r\n\r\n <p class=\"description\">{{ data.description }}</p>\r\n\r\n <p *ngIf=\"data.note\" class=\"note\">{{ data.note }}</p>\r\n\r\n <div class=\"dialog-buttons-actions-container\" *ngIf=\"!!data.submitActionButton\">\r\n <herum-button (click)=\"_onClose()\" [type]=\"'ghost'\">{{ data.closeActionButton ?? 'בטל' }}</herum-button>\r\n <herum-button [color]=\"isWarning ? 'error' : 'regular'\" (click)=\"_onSubmit()\">{{ data.submitActionButton }}</herum-button>\r\n </div>\r\n</div>","import { NgModule } from '@angular/core';\nimport { InsuranceDialogComponent } from './insurance-dialog/insurance-dialog.component';\nimport { CommonModule } from '@angular/common';\nimport { AtomsModule } from 'herum-shared/atoms';\nimport { PipesModule } from 'herum-shared/pipes';\nimport { MoleculesModule } from 'herum-shared/molecules';\n\r\n@NgModule({\r\n declarations: [\n InsuranceDialogComponent,\n],\nimports: [\n CommonModule,\n AtomsModule,\r\n PipesModule,\r\n MoleculesModule\r\n],\r\nexports: [\n InsuranceDialogComponent,\n ]\n})\nexport class DialogsModule { }\n","/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./dialogs-module\";\nexport * from \"./insurance-dialog/insurance-dialog.component\";\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;MAWa,wBAAwB,CAAA;AAEhB,IAAA,SAAA;AAAmF,IAAA,IAAA;AACzD,IAAA,iBAAA;AAD7C,IAAA,WAAA,CAAmB,SAAiD,EAAkC,IAAkB,EAC3E,iBAAoC,EAAA;QAD9D,IAAA,CAAA,SAAS,GAAT,SAAS;QAA0E,IAAA,CAAA,IAAI,GAAJ,IAAI;QAC7D,IAAA,CAAA,iBAAiB,GAAjB,iBAAiB;IAAuB;IAErF,SAAS,GAAA;AACP,QAAA,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC;IAC5B;IAEA,QAAQ,GAAA;AACN,QAAA,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC;IAC7B;AAEA,IAAA,IAAI,gBAAgB,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,iBAAiB,EAAE,WAAW,EAAE,gBAAgB;IAC9D;AAEA,IAAA,IAAI,SAAS,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,SAAS;IACpC;wGAnBW,wBAAwB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,YAAA,EAAA,EAAA,EAAA,KAAA,EAE2C,eAAe,EAAA,EAAA,EAAA,KAAA,EACnF,yBAAy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IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YATtB,YAAY;YACZ,WAAW;YACX,WAAW;YACX,eAAe,CAAA,EAAA,CAAA;;4FAMN,aAAa,EAAA,UAAA,EAAA,CAAA;kBAdzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,wBAAwB;AAC3B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,WAAW;wBACX,WAAW;wBACX;AACH,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,wBAAwB;AACzB;AACF,iBAAA;;;ACpBD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"herum-shared-directives.mjs","sources":["../../../projects/herum-shared/directives/herum-highlight.directive.ts","../../../projects/herum-shared/directives/herum-tool-tip.directive.ts","../../../projects/herum-shared/directives/svg-on-hover.directive.ts","../../../projects/herum-shared/directives/user-action.directive.ts","../../../projects/herum-shared/directives/directives-module.ts","../../../projects/herum-shared/directives/index.ts","../../../projects/herum-shared/directives/herum-shared-directives.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2, SimpleChanges } from '@angular/core';\r\n\r\n@Directive({\r\n standalone: false,\r\n selector: '[herumHighlight]'\r\n})\r\nexport class HerumHighlightDirective {\r\n\r\n @Input() highlightText: string | null | undefined = '';\r\n @Input('herumHighlight') highlightQuery: string | null | undefined = '';\r\n\r\n constructor(private el: ElementRef<HTMLElement>, private renderer: Renderer2) { }\r\n\r\n ngOnChanges(): void {\r\n const text = this.highlightText ?? '';\r\n const query = (this.highlightQuery ?? '').trim();\r\n\r\n if (!query) {\r\n this.renderer.setProperty(this.el.nativeElement, 'textContent', text);\r\n return;\r\n }\r\n\r\n const lowerText = text.toLowerCase();\r\n const lowerQuery = query.toLowerCase();\r\n const start = lowerText.indexOf(lowerQuery);\r\n\r\n if (start === -1) {\r\n this.renderer.setProperty(this.el.nativeElement, 'textContent', text);\r\n return;\r\n }\r\n\r\n const end = start + query.length;\r\n\r\n const before = this.escapeHtml(text.slice(0, start));\r\n const match = this.escapeHtml(text.slice(start, end));\r\n const after = this.escapeHtml(text.slice(end));\r\n\r\n const html = `${before}<strong>${match}</strong>${after}`;\r\n this.renderer.setProperty(this.el.nativeElement, 'innerHTML', html);\r\n }\r\n\r\n private escapeHtml(value: string): string {\r\n return value\r\n .replace(/&/g, '&amp;')\r\n .replace(/</g, '&lt;')\r\n .replace(/>/g, '&gt;')\r\n .replace(/\"/g, '&quot;')\r\n .replace(/'/g, '&#39;');\r\n }\r\n}\r\n","import { Directive, ElementRef, HostListener, Input } from '@angular/core';\r\n\r\n@Directive({\r\n standalone: false,\r\n selector: '[appHerumToolTip]'\r\n})\r\nexport class HerumToolTipDirective {\r\n\r\n @Input() tooltipText: string = '';\r\n\r\n private tooltip: HTMLElement;\r\n\r\n constructor(private el: ElementRef) {\r\n this.tooltip = document.createElement('div');\r\n this.tooltip.className = 'tooltip';\r\n }\r\n\r\n @HostListener('mouseenter') onMouseEnter() {\r\n this.showTooltip();\r\n }\r\n\r\n @HostListener('mouseleave') onMouseLeave() {\r\n this.hideTooltip();\r\n }\r\n\r\n private showTooltip() {\r\n const hostPosition = this.el.nativeElement.getBoundingClientRect();\r\n const tooltipPosition = {\r\n top: window.scrollY + hostPosition.top - this.tooltip.offsetHeight - 30,\r\n left: window.scrollX + hostPosition.left + hostPosition.width / 4 //+ this.tooltip.offsetWidth\r\n };\r\n\r\n const bodyRect = document.body.getBoundingClientRect();\r\n const tooltipRect = this.tooltip.getBoundingClientRect();\r\n\r\n if (tooltipPosition.left < bodyRect.left) {\r\n tooltipPosition.left = bodyRect.left;\r\n } else if (tooltipPosition.left + tooltipRect.width > bodyRect.right) {\r\n tooltipPosition.left = bodyRect.right - tooltipRect.width;\r\n }\r\n\r\n this.tooltip.style.top = `${tooltipPosition.top}px`;\r\n this.tooltip.style.left = `${tooltipPosition.left}px`;\r\n document.body.appendChild(this.tooltip);\r\n this.tooltip.innerText = this.tooltipText;\r\n }\r\n\r\n private hideTooltip() {\r\n document.body.removeChild(this.tooltip);\r\n }\r\n\r\n}","import { Directive, HostListener, HostBinding, ElementRef, Input } from '@angular/core';\r\n\r\nconst iconDefaultColor: string = '#7897a8';\r\n\r\nconst attribute: string = 'stroke';\r\nconst pathSelector: string = 'path';\r\nconst svgSelector: string = 'svg';\r\n\r\n@Directive({\r\n standalone: false,\r\n selector: '[svgOnHover]'\r\n})\r\nexport class SvgOnHoverDirective {\r\n\r\n @Input('svgOnHover') iconHoverColor!: string;\r\n\r\n @HostListener('mouseenter')\r\n onMouseEnter() {\r\n if (!this.iconHoverColor)\r\n this.iconHoverColor = window.getComputedStyle(document.body).getPropertyValue('--icons-color');\r\n\r\n if (this.element.nativeElement.querySelector(svgSelector)?.querySelectorAll(pathSelector).length === 1)\r\n this.setElementAttribute(this.iconHoverColor);\r\n else;\r\n this.setElementsAttribute(this.iconHoverColor);\r\n }\r\n\r\n @HostListener('mouseleave')\r\n onMouseLeave() {\r\n if (this.element.nativeElement.querySelector(svgSelector)?.querySelectorAll(pathSelector).length === 1)\r\n this.setElementAttribute(iconDefaultColor);\r\n else\r\n this.setElementsAttribute(iconDefaultColor);\r\n }\r\n\r\n @HostBinding()\r\n stroke: string;\r\n\r\n constructor(private element: ElementRef) { }\r\n\r\n setElementAttribute(color: string) {\r\n const element = this.element.nativeElement.querySelector(svgSelector)?.querySelector(pathSelector);\r\n element?.setAttribute(attribute, color);\r\n }\r\n\r\n setElementsAttribute(color: string) {\r\n const elements = this.element.nativeElement.querySelector(svgSelector)?.querySelectorAll(pathSelector);\r\n elements?.forEach(element => element.setAttribute(attribute, color));\r\n }\r\n}","import { HttpClient } from '@angular/common/http';\r\nimport { Directive, ElementRef, HostListener, Inject, Input } from '@angular/core';\r\nimport { EnvironmentConfig, HERUM_SHARED_CONFIG_TOKEN } from 'herum-shared/environment';\r\n\r\nconst unwantedSelectors = [\"div\", null]\r\n\r\n@Directive({\r\n standalone: false,\r\n selector: '[userAction]'\r\n})\r\nexport class UserActionDirective {\r\n\r\n @Input('userAction') description: string;\r\n\r\n constructor(private el: ElementRef, private http: HttpClient, @Inject(HERUM_SHARED_CONFIG_TOKEN) private environmentConfig: EnvironmentConfig) { }\r\n\r\n @HostListener('click', ['$event'])\r\n onClick(event) {\r\n var obj = {\r\n system: this.environmentConfig?.environment?.envName,\r\n currentUrl: this.el.nativeElement?.formAction,\r\n innerText: this.el.nativeElement?.innerText,\r\n attributes: Array.from(Object.values(this.el.nativeElement?.attributes)).map((attribute: any) => ({\r\n attribute: attribute.name,\r\n value: attribute.value\r\n })),\r\n selector: this.el.nativeElement?.tagName,\r\n viewPath: event.path?.map(viewElement => viewElement.localName).filter(selector => !unwantedSelectors.includes(selector) && selector),\r\n timeStamp: event.timeStamp,\r\n screenX: event.screenX,\r\n screenY: event.screenY,\r\n description: this.description\r\n }\r\n this.http.post(this.environmentConfig?.environment?.userAction, obj).subscribe();\r\n }\r\n}","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { HerumHighlightDirective } from './herum-highlight.directive';\r\nimport { HerumToolTipDirective } from './herum-tool-tip.directive';\r\nimport { SvgOnHoverDirective } from './svg-on-hover.directive';\r\nimport { UserActionDirective } from './user-action.directive';\r\n\r\n@NgModule({\r\n declarations: [\r\n HerumHighlightDirective,\r\n HerumToolTipDirective,\r\n SvgOnHoverDirective,\r\n UserActionDirective,\r\n ],\r\n exports: [\r\n HerumHighlightDirective,\r\n HerumToolTipDirective,\r\n SvgOnHoverDirective,\r\n UserActionDirective,\r\n ],\r\n imports: [\r\n CommonModule,\r\n ],\r\n})\r\nexport class DirectivesModule { }\r\n","/**\r\n * @file Automatically generated by barrelsby.\r\n */\r\n\r\nexport * from \"./directives-module\";\r\nexport * from \"./herum-highlight.directive\";\r\nexport * from \"./herum-tool-tip.directive\";\r\nexport * from \"./svg-on-hover.directive\";\r\nexport * from \"./user-action.directive\";\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAMa,uBAAuB,CAAA;AAKd,IAAA,EAAA;AAAqC,IAAA,QAAA;IAHhD,aAAa,GAA8B,EAAE;IAC7B,cAAc,GAA8B,EAAE;IAEvE,WAAA,CAAoB,EAA2B,EAAU,QAAmB,EAAA;QAAxD,IAAA,CAAA,EAAE,GAAF,EAAE;QAAmC,IAAA,CAAA,QAAQ,GAAR,QAAQ;IAAe;IAEhF,WAAW,GAAA;AACT,QAAA,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,IAAI,EAAE;AACrC,QAAA,MAAM,KAAK,GAAG,CAAC,IAAI,CAAC,cAAc,IAAI,EAAE,EAAE,IAAI,EAAE;QAEhD,IAAI,CAAC,KAAK,EAAE;AACV,YAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,aAAa,EAAE,IAAI,CAAC;YACrE;QACF;AAEA,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,EAAE;AACpC,QAAA,MAAM,UAAU,GAAG,KAAK,CAAC,WAAW,EAAE;QACtC,MAAM,KAAK,GAAG,SAAS,CAAC,OAAO,CAAC,UAAU,CAAC;AAE3C,QAAA,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE;AAChB,YAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,aAAa,EAAE,IAAI,CAAC;YACrE;QACF;AAEA,QAAA,MAAM,GAAG,GAAG,KAAK,GAAG,KAAK,CAAC,MAAM;AAEhC,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;AACpD,QAAA,MAAM,KAAK,GAA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;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,uBAAuB;wBACvB,qBAAqB;wBACrB,mBAAmB;wBACnB,mBAAmB;AACpB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,uBAAuB;wBACvB,qBAAqB;wBACrB,mBAAmB;wBACnB,mBAAmB;AACpB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACF,iBAAA;;;ACvBD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"herum-shared-directives.mjs","sources":["../../../projects/herum-shared/directives/herum-highlight.directive.ts","../../../projects/herum-shared/directives/herum-tool-tip.directive.ts","../../../projects/herum-shared/directives/svg-on-hover.directive.ts","../../../projects/herum-shared/directives/user-action.directive.ts","../../../projects/herum-shared/directives/directives-module.ts","../../../projects/herum-shared/directives/index.ts","../../../projects/herum-shared/directives/herum-shared-directives.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2, SimpleChanges } from '@angular/core';\r\n\r\n@Directive({\r\n standalone: false,\r\n selector: '[herumHighlight]'\r\n})\r\nexport class HerumHighlightDirective {\r\n\r\n @Input() highlightText: string | null | undefined = '';\r\n @Input('herumHighlight') highlightQuery: string | null | undefined = '';\r\n\r\n constructor(private el: ElementRef<HTMLElement>, private renderer: Renderer2) { }\r\n\r\n ngOnChanges(): void {\r\n const text = this.highlightText ?? '';\r\n const query = (this.highlightQuery ?? '').trim();\r\n\r\n if (!query) {\r\n this.renderer.setProperty(this.el.nativeElement, 'textContent', text);\r\n return;\r\n }\r\n\r\n const lowerText = text.toLowerCase();\r\n const lowerQuery = query.toLowerCase();\r\n const start = lowerText.indexOf(lowerQuery);\r\n\r\n if (start === -1) {\r\n this.renderer.setProperty(this.el.nativeElement, 'textContent', text);\r\n return;\r\n }\r\n\r\n const end = start + query.length;\r\n\r\n const before = this.escapeHtml(text.slice(0, start));\r\n const match = this.escapeHtml(text.slice(start, end));\r\n const after = this.escapeHtml(text.slice(end));\r\n\r\n const html = `${before}<strong>${match}</strong>${after}`;\r\n this.renderer.setProperty(this.el.nativeElement, 'innerHTML', html);\r\n }\r\n\r\n private escapeHtml(value: string): string {\r\n return value\r\n .replace(/&/g, '&amp;')\r\n .replace(/</g, '&lt;')\r\n .replace(/>/g, '&gt;')\r\n .replace(/\"/g, '&quot;')\r\n .replace(/'/g, '&#39;');\r\n }\r\n}\r\n","import { Directive, ElementRef, HostListener, Input } from '@angular/core';\r\n\r\n@Directive({\r\n standalone: false,\r\n selector: '[appHerumToolTip]'\r\n})\r\nexport class HerumToolTipDirective {\r\n\r\n @Input() tooltipText: string = '';\r\n\r\n private tooltip: HTMLElement;\r\n\r\n constructor(private el: ElementRef) {\r\n this.tooltip = document.createElement('div');\r\n this.tooltip.className = 'tooltip';\r\n }\r\n\r\n @HostListener('mouseenter') onMouseEnter() {\r\n this.showTooltip();\r\n }\r\n\r\n @HostListener('mouseleave') onMouseLeave() {\r\n this.hideTooltip();\r\n }\r\n\r\n private showTooltip() {\r\n const hostPosition = this.el.nativeElement.getBoundingClientRect();\r\n const tooltipPosition = {\r\n top: window.scrollY + hostPosition.top - this.tooltip.offsetHeight - 30,\r\n left: window.scrollX + hostPosition.left + hostPosition.width / 4 //+ this.tooltip.offsetWidth\r\n };\r\n\r\n const bodyRect = document.body.getBoundingClientRect();\r\n const tooltipRect = this.tooltip.getBoundingClientRect();\r\n\r\n if (tooltipPosition.left < bodyRect.left) {\r\n tooltipPosition.left = bodyRect.left;\r\n } else if (tooltipPosition.left + tooltipRect.width > bodyRect.right) {\r\n tooltipPosition.left = bodyRect.right - tooltipRect.width;\r\n }\r\n\r\n this.tooltip.style.top = `${tooltipPosition.top}px`;\r\n this.tooltip.style.left = `${tooltipPosition.left}px`;\r\n document.body.appendChild(this.tooltip);\r\n this.tooltip.innerText = this.tooltipText;\r\n }\r\n\r\n private hideTooltip() {\r\n document.body.removeChild(this.tooltip);\r\n }\r\n\r\n}","import { Directive, HostListener, HostBinding, ElementRef, Input } from '@angular/core';\r\n\r\nconst iconDefaultColor: string = '#7897a8';\r\n\r\nconst attribute: string = 'stroke';\r\nconst pathSelector: string = 'path';\r\nconst svgSelector: string = 'svg';\r\n\r\n@Directive({\r\n standalone: false,\r\n selector: '[svgOnHover]'\r\n})\r\nexport class SvgOnHoverDirective {\r\n\r\n @Input('svgOnHover') iconHoverColor!: string;\r\n\r\n @HostListener('mouseenter')\r\n onMouseEnter() {\r\n if (!this.iconHoverColor)\r\n this.iconHoverColor = window.getComputedStyle(document.body).getPropertyValue('--icons-color');\r\n\r\n if (this.element.nativeElement.querySelector(svgSelector)?.querySelectorAll(pathSelector).length === 1)\r\n this.setElementAttribute(this.iconHoverColor);\r\n else;\r\n this.setElementsAttribute(this.iconHoverColor);\r\n }\r\n\r\n @HostListener('mouseleave')\r\n onMouseLeave() {\r\n if (this.element.nativeElement.querySelector(svgSelector)?.querySelectorAll(pathSelector).length === 1)\r\n this.setElementAttribute(iconDefaultColor);\r\n else\r\n this.setElementsAttribute(iconDefaultColor);\r\n }\r\n\r\n @HostBinding()\r\n stroke: string;\r\n\r\n constructor(private element: ElementRef) { }\r\n\r\n setElementAttribute(color: string) {\r\n const element = this.element.nativeElement.querySelector(svgSelector)?.querySelector(pathSelector);\r\n element?.setAttribute(attribute, color);\r\n }\r\n\r\n setElementsAttribute(color: string) {\r\n const elements = this.element.nativeElement.querySelector(svgSelector)?.querySelectorAll(pathSelector);\r\n elements?.forEach(element => element.setAttribute(attribute, color));\r\n }\r\n}","import { HttpClient } from '@angular/common/http';\r\nimport { Directive, ElementRef, HostListener, Inject, Input } from '@angular/core';\r\nimport { EnvironmentConfig, HERUM_SHARED_CONFIG_TOKEN } from 'herum-shared/environment';\r\n\r\nconst unwantedSelectors = [\"div\", null]\r\n\r\n@Directive({\r\n standalone: false,\r\n selector: '[userAction]'\r\n})\r\nexport class UserActionDirective {\r\n\r\n @Input('userAction') description: string;\r\n\r\n constructor(private el: ElementRef, private http: HttpClient, @Inject(HERUM_SHARED_CONFIG_TOKEN) private environmentConfig: EnvironmentConfig) { }\r\n\r\n @HostListener('click', ['$event'])\r\n onClick(event) {\r\n var obj = {\r\n system: this.environmentConfig?.environment?.envName,\r\n currentUrl: this.el.nativeElement?.formAction,\r\n innerText: this.el.nativeElement?.innerText,\r\n attributes: Array.from(Object.values(this.el.nativeElement?.attributes)).map((attribute: any) => ({\r\n attribute: attribute.name,\r\n value: attribute.value\r\n })),\r\n selector: this.el.nativeElement?.tagName,\r\n viewPath: event.path?.map(viewElement => viewElement.localName).filter(selector => !unwantedSelectors.includes(selector) && selector),\r\n timeStamp: event.timeStamp,\r\n screenX: event.screenX,\r\n screenY: event.screenY,\r\n description: this.description\r\n }\r\n this.http.post(this.environmentConfig?.environment?.userAction, obj).subscribe();\r\n }\r\n}","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { HerumHighlightDirective } from './herum-highlight.directive';\r\nimport { HerumToolTipDirective } from './herum-tool-tip.directive';\r\nimport { SvgOnHoverDirective } from './svg-on-hover.directive';\r\nimport { UserActionDirective } from './user-action.directive';\r\n\r\n@NgModule({\r\n declarations: [\r\n HerumHighlightDirective,\r\n HerumToolTipDirective,\r\n SvgOnHoverDirective,\r\n UserActionDirective,\r\n ],\r\n exports: [\r\n HerumHighlightDirective,\r\n HerumToolTipDirective,\r\n SvgOnHoverDirective,\r\n UserActionDirective,\r\n ],\r\n imports: [\r\n CommonModule,\r\n ],\r\n})\r\nexport class DirectivesModule { }\r\n","/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./directives-module\";\nexport * from \"./herum-highlight.directive\";\nexport * from \"./herum-tool-tip.directive\";\nexport * from \"./svg-on-hover.directive\";\nexport * from \"./user-action.directive\";\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAMa,uBAAuB,CAAA;AAKd,IAAA,EAAA;AAAqC,IAAA,QAAA;IAHhD,aAAa,GA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AACpB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACF,iBAAA;;;ACvBD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"herum-shared-environment.mjs","sources":["../../../projects/herum-shared/environment/herumSharedConfigToken.ts","../../../projects/herum-shared/environment/index.ts","../../../projects/herum-shared/environment/herum-shared-environment.ts"],"sourcesContent":["import { InjectionToken } from \"@angular/core\";\r\nimport { EnvironmentConfig } from \"./EnvironmentConfig\";\r\n\r\nexport const HERUM_SHARED_CONFIG_TOKEN = new InjectionToken<EnvironmentConfig>('LIBRARY_ENV_CONFIG_TOKEN');","/**\r\n * @file Automatically generated by barrelsby.\r\n */\r\n\r\nexport * from \"./AuthenticationPaths\";\r\nexport * from \"./EnvironmentConfig\";\r\nexport * from \"./herumSharedConfigToken\";\r\nexport * from \"./MongoUpdates\";\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;MAGa,yBAAyB,GAAG,IAAI,cAAc,CAAoB,0BAA0B;;ACHzG;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"herum-shared-environment.mjs","sources":["../../../projects/herum-shared/environment/herumSharedConfigToken.ts","../../../projects/herum-shared/environment/index.ts","../../../projects/herum-shared/environment/herum-shared-environment.ts"],"sourcesContent":["import { InjectionToken } from \"@angular/core\";\r\nimport { EnvironmentConfig } from \"./EnvironmentConfig\";\r\n\r\nexport const HERUM_SHARED_CONFIG_TOKEN = new InjectionToken<EnvironmentConfig>('LIBRARY_ENV_CONFIG_TOKEN');","/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./AuthenticationPaths\";\nexport * from \"./EnvironmentConfig\";\nexport * from \"./herumSharedConfigToken\";\nexport * from \"./MongoUpdates\";\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;MAGa,yBAAyB,GAAG,IAAI,cAAc,CAAoB,0BAA0B;;ACHzG;;AAEG;;ACFH;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"herum-shared-errors.mjs","sources":["../../../projects/herum-shared/errors/error-message-dialog/error-message-dialog.component.ts","../../../projects/herum-shared/errors/error-message-dialog/error-message-dialog.component.html","../../../projects/herum-shared/errors/errors-module.ts","../../../projects/herum-shared/errors/index.ts","../../../projects/herum-shared/errors/herum-shared-errors.ts"],"sourcesContent":["import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { system } from 'herum-shared/constants';\r\nimport { EnvironmentConfig, HERUM_SHARED_CONFIG_TOKEN } from 'herum-shared/environment';\r\n\r\n@Component({\r\n standalone: false,\r\n selector: 'error-message-dialog',\r\n templateUrl: './error-message-dialog.component.html',\r\n styleUrls: ['./error-message-dialog.component.scss']\r\n})\r\nexport class ErrorMessageDialogComponent implements OnInit {\r\n\r\n errorImagePath: string;\r\n\r\n constructor(public dialogRef: MatDialogRef<ErrorMessageDialogComponent>, @Inject(MAT_DIALOG_DATA) public data: any, @Inject(HERUM_SHARED_CONFIG_TOKEN) private environmentConfig: EnvironmentConfig) { }\r\n\r\n ngOnInit(): void {\r\n this.errorImagePath = {\r\n [system.herum]: 'assets/general/errorOwl.png',\r\n [system.college]: 'assets/college/pagesIcons/EchoIcon.svg',\r\n [system.hadracha]: 'assets/hadracha/general/shapes.svg'\r\n }[this.environmentConfig?.environment?.systemIdentifier];\r\n }\r\n _onSubmit() {\r\n this.dialogRef.close(true);\r\n }\r\n\r\n _onClose() {\r\n this.dialogRef.close();\r\n }\r\n}\r\n","<div class=\"error-dialog-container\">\r\n <div class=\"w-100 d-flex justify-content-center\">\r\n <img [src]=\"errorImagePath\">\r\n </div>\r\n\r\n <p class=\"title\">{{ data.title }}</p>\r\n <p class=\"description\">{{ data.description }}</p>\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ErrorMessageDialogComponent } from './error-message-dialog/error-message-dialog.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n ErrorMessageDialogComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n ],\r\n exports: [\r\n ErrorMessageDialogComponent\r\n ]\r\n})\r\nexport class ErrorsModule { }","/**\r\n * @file Automatically generated by barrelsby.\r\n */\r\n\r\nexport * from \"./errors-module\";\r\nexport * from \"./error-message-dialog/error-message-dialog.component\";\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAWa,2BAA2B,CAAA;AAInB,IAAA,SAAA;AAAsF,IAAA,IAAA;AAAsD,IAAA,iBAAA;AAF/J,IAAA,cAAc;AAEd,IAAA,WAAA,CAAmB,SAAoD,EAAkC,IAAS,EAA6C,iBAAoC,EAAA;QAAhL,IAAA,CAAA,SAAS,GAAT,SAAS;QAA6E,IAAA,CAAA,IAAI,GAAJ,IAAI;QAAkD,IAAA,CAAA,iBAAiB,GAAjB,iBAAiB;IAAuB;IAEvM,QAAQ,GAAA;QACN,IAAI,CAAC,cAAc,GAAG;AACpB,YAAA,CAAC,MAAM,CAAC,KAAK,GAAG,6BAA6B;AAC7C,YAAA,CAAC,MAAM,CAAC,OAAO,GAAG,wCAAwC;AAC1D,YAAA,CAAC,MAAM,CAAC,QAAQ,GAAG;SACpB,CAAC,IAAI,CAAC,iBAAiB,EAAE,WAAW,EAAE,gBAAgB,CAAC;IAC1D;IACA,SAAS,GAAA;AACP,QAAA,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC;IAC5B;IAEA,QAAQ,GAAA;AACN,QAAA,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE;IACxB;wGAnBW,2BAA2B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,YAAA,EAAA,EAAA,EAAA,KAAA,EAI2C,eAAe,EAAA,EAAA,EAAA,KAAA,EAA4B,yBAAyB,EAAA,CAAA,E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,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL;AACH;AACJ,iBAAA;;;ACdD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"herum-shared-errors.mjs","sources":["../../../projects/herum-shared/errors/error-message-dialog/error-message-dialog.component.ts","../../../projects/herum-shared/errors/error-message-dialog/error-message-dialog.component.html","../../../projects/herum-shared/errors/errors-module.ts","../../../projects/herum-shared/errors/index.ts","../../../projects/herum-shared/errors/herum-shared-errors.ts"],"sourcesContent":["import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { system } from 'herum-shared/constants';\r\nimport { EnvironmentConfig, HERUM_SHARED_CONFIG_TOKEN } from 'herum-shared/environment';\r\n\r\n@Component({\r\n standalone: false,\r\n selector: 'error-message-dialog',\r\n templateUrl: './error-message-dialog.component.html',\r\n styleUrls: ['./error-message-dialog.component.scss']\r\n})\r\nexport class ErrorMessageDialogComponent implements OnInit {\r\n\r\n errorImagePath: string;\r\n\r\n constructor(public dialogRef: MatDialogRef<ErrorMessageDialogComponent>, @Inject(MAT_DIALOG_DATA) public data: any, @Inject(HERUM_SHARED_CONFIG_TOKEN) private environmentConfig: EnvironmentConfig) { }\r\n\r\n ngOnInit(): void {\r\n this.errorImagePath = {\r\n [system.herum]: 'assets/general/errorOwl.png',\r\n [system.college]: 'assets/college/pagesIcons/EchoIcon.svg',\r\n [system.hadracha]: 'assets/hadracha/general/shapes.svg'\r\n }[this.environmentConfig?.environment?.systemIdentifier];\r\n }\r\n _onSubmit() {\r\n this.dialogRef.close(true);\r\n }\r\n\r\n _onClose() {\r\n this.dialogRef.close();\r\n }\r\n}\r\n","<div class=\"error-dialog-container\">\r\n <div class=\"w-100 d-flex justify-content-center\">\r\n <img [src]=\"errorImagePath\">\r\n </div>\r\n\r\n <p class=\"title\">{{ data.title }}</p>\r\n <p class=\"description\">{{ data.description }}</p>\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ErrorMessageDialogComponent } from './error-message-dialog/error-message-dialog.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n ErrorMessageDialogComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n ],\r\n exports: [\r\n ErrorMessageDialogComponent\r\n ]\r\n})\r\nexport class ErrorsModule { }","/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./errors-module\";\nexport * from \"./error-message-dialog/error-message-dialog.component\";\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAWa,2BAA2B,CAAA;AAInB,IAAA,SAAA;AAAsF,IAAA,IAAA;AAAsD,IAAA,iBAAA;AAF/J,IAAA,cAAc;AAEd,IAAA,WAAA,CAAmB,SAAoD,EAAkC,IAAS,EAA6C,iBAAoC,EAAA;QAAhL,IAAA,CAAA,SAAS,GAAT,SAAS;QAA6E,IAAA,CAAA,IAAI,GAAJ,IAAI;QAAkD,IAAA,CAAA,iBAAiB,GAAjB,iBAAiB;IAAuB;IAEvM,QAAQ,GAAA;QACN,IAAI,CAAC,cAAc,GAAG;AACpB,YAAA,CAAC,MAAM,CAAC,KAAK,GAAG,6BAA6B;AAC7C,YAAA,CAAC,MAAM,CAAC,OAAO,GAAG,wCAAwC;AAC1D,YAAA,CAAC,MAAM,CAAC,QAAQ,GAAG;SACpB,CAAC,IAAI,CAAC,iBAAiB,EAAE,WAAW,EAAE,gBAAgB,CAAC;IAC1D;IACA,SAAS,GAAA;AACP,QAAA,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC;IAC5B;IAEA,QAAQ,GAAA;AACN,QAAA,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE;IACxB;wGAnBW,2BAA2B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,YAAA,EAAA,EAAA,EAAA,KAAA,EAI2C,eAAe,EAAA,EAAA,EAAA,KAAA,EAA4B,y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AAE;wBACL,YAAY;AACf,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL;AACH;AACJ,iBAAA;;;ACdD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"herum-shared-fetched-message.mjs","sources":["../../../projects/herum-shared/fetched-message/fetched-message-dialog/fetched-message-dialog.component.ts","../../../projects/herum-shared/fetched-message/fetched-message-dialog/fetched-message-dialog.component.html","../../../projects/herum-shared/fetched-message/fetched-message-module.ts","../../../projects/herum-shared/fetched-message/fetched-message.service.ts","../../../projects/herum-shared/fetched-message/index.ts","../../../projects/herum-shared/fetched-message/herum-shared-fetched-message.ts"],"sourcesContent":["import { Component, Inject } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { replaceInterpolateKeysWithObjectProperties } from 'herum-shared/utils';\r\nimport { FetchedMessage } from 'herum-types/Dialogs';\r\n\r\n@Component({\r\n standalone: false,\r\n selector: 'fetched-message-dialog',\r\n templateUrl: './fetched-message-dialog.component.html',\r\n styleUrls: ['./fetched-message-dialog.component.scss', '../../styles/dialogs.scss']\r\n})\r\nexport class FetchedMessageDialog {\r\n\r\n message!: FetchedMessage;\r\n\r\n constructor(\r\n public dialogRef: MatDialogRef<FetchedMessageDialog>,\r\n @Inject(MAT_DIALOG_DATA) public data: { fetchedMessage: FetchedMessage, recipient: Object }) { }\r\n\r\n ngOnInit() {\r\n if (this.data) {\r\n const parsedMessage = {};\r\n Object.entries(this.data.fetchedMessage).forEach(([key, value]) => \r\n parsedMessage[key] = replaceInterpolateKeysWithObjectProperties(value, this.data.recipient));\r\n this.message = (parsedMessage as FetchedMessage);\r\n }\r\n }\r\n\r\n _onCloseDialog() {\r\n this.dialogRef.close();\r\n }\r\n}","<div class=\"fetched-message-dialog-container\">\r\n <div class=\"message-content\">\r\n <div [innerHTML]=\"message?.image | safeHtml\"></div>\r\n\r\n <div>\r\n <div [innerHTML]=\"message?.title | safeHtml\"></div>\r\n <div [innerHTML]=\"message?.subTitle | safeHtml\"></div>\r\n <div [innerHTML]=\"message?.content | safeHtml\"></div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"dialog-buttons-actions-container\">\r\n <herum-button [name]=\"'fetched-messsage-dialog-submission'\" (click)=\"_onCloseDialog()\">\r\n {{message?.actionButtonText}}\r\n </herum-button>\r\n </div>\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FetchedMessageDialog } from './fetched-message-dialog/fetched-message-dialog.component';\r\nimport { AtomsModule } from 'herum-shared/atoms';\r\nimport { PipesModule } from 'herum-shared/pipes';\r\n\r\n@NgModule({\r\n declarations: [\r\n FetchedMessageDialog\r\n ],\r\n imports: [\r\n CommonModule,\r\n AtomsModule,\r\n PipesModule\r\n ],\r\n exports: [\r\n FetchedMessageDialog\r\n ]\r\n})\r\nexport class FetchedMessageModule { }","import { HttpClient } from '@angular/common/http';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { StorageService } from 'herum-shared/static-services';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { FetchedMessageDialog } from './fetched-message-dialog/fetched-message-dialog.component';\r\nimport { FetchedMessage } from 'herum-types/Dialogs';\r\nimport { EnvironmentConfig, HERUM_SHARED_CONFIG_TOKEN } from 'herum-shared/environment';\r\nimport { buildPath } from 'herum-shared/utils';\r\n\r\nconst suffixStorageKey: string = 'FETCHED_MESSAGE_HAS_SHOWN';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FetchedMessageService {\r\n\r\n private recipient!: Object;\r\n private messageKey!: string;\r\n\r\n constructor(private http: HttpClient, private dialog: MatDialog, @Inject(HERUM_SHARED_CONFIG_TOKEN) private environmentConfig: EnvironmentConfig) { }\r\n\r\n handleFetchedMessage(recipient: Object, messageKey: string, condition = true) {\r\n this.setMessageKey(messageKey);\r\n this.setRecipient(recipient);\r\n\r\n const fetchedMessageHasShownStorageKey = messageKey.toUpperCase() + '_' + suffixStorageKey;\r\n const panelClass = `${this.messageKey}-fetched-message-dialog`\r\n\r\n if (condition && !StorageService.getItem(fetchedMessageHasShownStorageKey)) {\r\n this.fetchedMessageData().subscribe((fetchedMessage: FetchedMessage) => this.dialog\r\n .open(FetchedMessageDialog, { \r\n data: { fetchedMessage, recipient: this.recipient },\r\n panelClass: panelClass\r\n })\r\n );\r\n StorageService.setItem(fetchedMessageHasShownStorageKey, fetchedMessageHasShownStorageKey);\r\n }\r\n }\r\n\r\n private setMessageKey(messageKey: string) {\r\n this.messageKey = messageKey;\r\n }\r\n\r\n private setRecipient(recipient: Object) {\r\n this.recipient = recipient;\r\n }\r\n\r\n fetchedMessageData(): Observable<Object> {\r\n return this.http.get(buildPath([this.environmentConfig?.environment?.siteServerPath, 'Messages', this.messageKey]));\r\n }\r\n}","/**\r\n * @file Automatically generated by barrelsby.\r\n */\r\n\r\nexport * from \"./fetched-message-module\";\r\nexport * from \"./fetched-message.service\";\r\nexport * from \"./fetched-message-dialog/fetched-message-dialog.component\";\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;MAWa,oBAAoB,CAAA;AAKtB,IAAA,SAAA;AACyB,IAAA,IAAA;AAJlC,IAAA,OAAO;IAEP,WAAA,CACS,SAA6C,EACpB,IAA2D,EAAA;QADpF,IAAA,CAAA,SAAS,GAAT,SAAS;QACgB,IAAA,CAAA,IAAI,GAAJ,IAAI;IAA2D;IAEjG,QAAQ,GAAA;AACN,QAAA,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,MAAM,aAAa,GAAG,EAAE;AACxB,YAAA,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,KAC5D,aAAa,CAAC,GAAG,CAAC,GAAG,0CAA0C,CAAC,KAAK,EAAE,IAAI,CAAC,IA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,EAAA,IAAA,EAAA,qBAAqB,cAFpB,MAAM,EAAA,CAAA;;4FAEP,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAHjC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE;AACb,iBAAA;;0BAMmE,MAAM;2BAAC,yBAAyB;;;ACpBpG;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"herum-shared-fetched-message.mjs","sources":["../../../projects/herum-shared/fetched-message/fetched-message-dialog/fetched-message-dialog.component.ts","../../../projects/herum-shared/fetched-message/fetched-message-dialog/fetched-message-dialog.component.html","../../../projects/herum-shared/fetched-message/fetched-message-module.ts","../../../projects/herum-shared/fetched-message/fetched-message.service.ts","../../../projects/herum-shared/fetched-message/index.ts","../../../projects/herum-shared/fetched-message/herum-shared-fetched-message.ts"],"sourcesContent":["import { Component, Inject } from '@angular/core';\r\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { replaceInterpolateKeysWithObjectProperties } from 'herum-shared/utils';\r\nimport { FetchedMessage } from 'herum-types/Dialogs';\r\n\r\n@Component({\r\n standalone: false,\r\n selector: 'fetched-message-dialog',\r\n templateUrl: './fetched-message-dialog.component.html',\r\n styleUrls: ['./fetched-message-dialog.component.scss', '../../styles/dialogs.scss']\r\n})\r\nexport class FetchedMessageDialog {\r\n\r\n message!: FetchedMessage;\r\n\r\n constructor(\r\n public dialogRef: MatDialogRef<FetchedMessageDialog>,\r\n @Inject(MAT_DIALOG_DATA) public data: { fetchedMessage: FetchedMessage, recipient: Object }) { }\r\n\r\n ngOnInit() {\r\n if (this.data) {\r\n const parsedMessage = {};\r\n Object.entries(this.data.fetchedMessage).forEach(([key, value]) => \r\n parsedMessage[key] = replaceInterpolateKeysWithObjectProperties(value, this.data.recipient));\r\n this.message = (parsedMessage as FetchedMessage);\r\n }\r\n }\r\n\r\n _onCloseDialog() {\r\n this.dialogRef.close();\r\n }\r\n}","<div class=\"fetched-message-dialog-container\">\r\n <div class=\"message-content\">\r\n <div [innerHTML]=\"message?.image | safeHtml\"></div>\r\n\r\n <div>\r\n <div [innerHTML]=\"message?.title | safeHtml\"></div>\r\n <div [innerHTML]=\"message?.subTitle | safeHtml\"></div>\r\n <div [innerHTML]=\"message?.content | safeHtml\"></div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"dialog-buttons-actions-container\">\r\n <herum-button [name]=\"'fetched-messsage-dialog-submission'\" (click)=\"_onCloseDialog()\">\r\n {{message?.actionButtonText}}\r\n </herum-button>\r\n </div>\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FetchedMessageDialog } from './fetched-message-dialog/fetched-message-dialog.component';\r\nimport { AtomsModule } from 'herum-shared/atoms';\r\nimport { PipesModule } from 'herum-shared/pipes';\r\n\r\n@NgModule({\r\n declarations: [\r\n FetchedMessageDialog\r\n ],\r\n imports: [\r\n CommonModule,\r\n AtomsModule,\r\n PipesModule\r\n ],\r\n exports: [\r\n FetchedMessageDialog\r\n ]\r\n})\r\nexport class FetchedMessageModule { }","import { HttpClient } from '@angular/common/http';\r\nimport { Inject, Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { StorageService } from 'herum-shared/static-services';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { FetchedMessageDialog } from './fetched-message-dialog/fetched-message-dialog.component';\r\nimport { FetchedMessage } from 'herum-types/Dialogs';\r\nimport { EnvironmentConfig, HERUM_SHARED_CONFIG_TOKEN } from 'herum-shared/environment';\r\nimport { buildPath } from 'herum-shared/utils';\r\n\r\nconst suffixStorageKey: string = 'FETCHED_MESSAGE_HAS_SHOWN';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FetchedMessageService {\r\n\r\n private recipient!: Object;\r\n private messageKey!: string;\r\n\r\n constructor(private http: HttpClient, private dialog: MatDialog, @Inject(HERUM_SHARED_CONFIG_TOKEN) private environmentConfig: EnvironmentConfig) { }\r\n\r\n handleFetchedMessage(recipient: Object, messageKey: string, condition = true) {\r\n this.setMessageKey(messageKey);\r\n this.setRecipient(recipient);\r\n\r\n const fetchedMessageHasShownStorageKey = messageKey.toUpperCase() + '_' + suffixStorageKey;\r\n const panelClass = `${this.messageKey}-fetched-message-dialog`\r\n\r\n if (condition && !StorageService.getItem(fetchedMessageHasShownStorageKey)) {\r\n this.fetchedMessageData().subscribe((fetchedMessage: FetchedMessage) => this.dialog\r\n .open(FetchedMessageDialog, { \r\n data: { fetchedMessage, recipient: this.recipient },\r\n panelClass: panelClass\r\n })\r\n );\r\n StorageService.setItem(fetchedMessageHasShownStorageKey, fetchedMessageHasShownStorageKey);\r\n }\r\n }\r\n\r\n private setMessageKey(messageKey: string) {\r\n this.messageKey = messageKey;\r\n }\r\n\r\n private setRecipient(recipient: Object) {\r\n this.recipient = recipient;\r\n }\r\n\r\n fetchedMessageData(): Observable<Object> {\r\n return this.http.get(buildPath([this.environmentConfig?.environment?.siteServerPath, 'Messages', this.messageKey]));\r\n }\r\n}","/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./fetched-message-module\";\nexport * from \"./fetched-message.service\";\nexport * from \"./fetched-message-dialog/fetched-message-dialog.component\";\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;MAWa,oBAAoB,CAAA;AAKtB,IAAA,SAAA;AACyB,IAAA,IAAA;AAJlC,IAAA,OAAO;IAEP,WAAA,CACS,SAA6C,EACpB,IAA2D,EAAA;QADpF,IAAA,CAAA,SAAS,GAAT,SAAS;QACgB,IAAA,CAAA,IAAI,GAAJ,IAAI;IAA2D;IAEjG,QAAQ,GAAA;AACN,QAAA,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,MAAM,aAAa,GAAG,EAAE;AACxB,YAAA,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,G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AAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,cAFpB,MAAM,EAAA,CAAA;;4FAEP,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAHjC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE;AACb,iBAAA;;0BAMmE,MAAM;2BAAC,yBAAyB;;;ACpBpG;;AAEG;;ACFH;;AAEG;;;;"}
@@ -949,55 +949,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
949
949
  type: Input
950
950
  }] } });
951
951
 
952
- class HerumFilesViewerComponent {
953
- utilsService;
954
- fileData;
955
- showDeleteFileButton = false;
956
- downloadFile = new EventEmitter();
957
- deleteFile = new EventEmitter();
958
- srcPath;
959
- fileType;
960
- constructor(utilsService) {
961
- this.utilsService = utilsService;
962
- }
963
- ngOnChanges(changes) {
964
- if (changes['fileData']?.currentValue) {
965
- const fileToDisplay = this.fileData.file?.size === 0;
966
- if (this.fileData.file && !fileToDisplay) {
967
- const type = this.fileData.file.type;
968
- const typeIndex = type.includes('pdf') ? 1 : 0;
969
- this.fileType = type.split("/")[typeIndex];
970
- this.srcPath = URL.createObjectURL(this.fileData.file);
971
- return;
972
- }
973
- const type = this.fileData.type;
974
- const typeIndex = type?.includes('pdf') ? 1 : 0;
975
- this.fileType = type?.split("/")[typeIndex];
976
- this.srcPath = this.utilsService.getUrlFromFileData(this.fileData) ?? '';
977
- }
978
- }
979
- _onDeleteFile() {
980
- this.deleteFile.emit(this.fileData);
981
- }
982
- _downloadFile() {
983
- this.downloadFile.emit(this.fileData);
984
- }
985
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: HerumFilesViewerComponent, deps: [{ token: i1$2.UtilsService }], target: i0.ɵɵFactoryTarget.Component });
986
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.17", type: HerumFilesViewerComponent, isStandalone: false, selector: "herum-files-viewer", inputs: { fileData: "fileData", showDeleteFileButton: "showDeleteFileButton" }, outputs: { downloadFile: "downloadFile", deleteFile: "deleteFile" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [ngSwitch]=\"fileType\">\r\n <div class=\"image-container\" *ngSwitchCase=\"'image'\">\r\n <div *ngIf=\"showDeleteFileButton\" class=\"overlay-container\">\r\n <ng-container *ngTemplateOutlet=\"deleteFileButton\">\r\n </ng-container>\r\n </div>\r\n\r\n <img [src]=\"srcPath\">\r\n </div>\r\n\r\n <herum-video-player *ngSwitchCase=\"'video'\" [srcPath]=\"srcPath\" [isResourceInWideMode]=\"true\"></herum-video-player>\r\n\r\n <herum-pdf-viewer *ngSwitchCase=\"'pdf'\" [srcPath]=\"srcPath\" [isResourceInWideMode]=\"true\"></herum-pdf-viewer>\r\n\r\n <herum-audio-player *ngSwitchCase=\"'audio'\" [id]=\"fileData.key\" [bucketName]=\"fileData.bucket\"\r\n [audioFile]=\"fileData.file\">\r\n </herum-audio-player>\r\n\r\n <herum-download-file *ngSwitchDefault linkText=\"\u05D4\u05E7\u05D5\u05D1\u05E5 \u05D0\u05D9\u05E0\u05D5 \u05E0\u05EA\u05DE\u05DA, \u05E0\u05D9\u05EA\u05DF \u05DC\u05D4\u05D5\u05E8\u05D3\u05D5\" (downloadFile)=\"_downloadFile()\">\r\n </herum-download-file>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"fileType!=='image'\">\r\n <ng-container *ngTemplateOutlet=\"deleteFileButton\">\r\n </ng-container>\r\n</ng-container>\r\n\r\n<ng-template #deleteFileButton>\r\n <button *ngIf=\"showDeleteFileButton\" class=\"delete-file-button\" (click)=\"_onDeleteFile()\">\r\n <img src=\"assets/general/secondary-x.svg\" />\r\n </button>\r\n</ng-template>", styles: [":host{display:flex;position:relative;min-height:0;flex:1 1 0}herum-video-player,herum-pdf-viewer,herum-audio-player,herum-download-file{flex:1}herum-video-player{display:flex}herum-download-file{display:flex;align-items:center;justify-content:center;background-color:var(--icons-color-light-2);border-radius:var(--border-radius);padding:var(--standard-padding)}.image-container:hover .overlay-container{background-color:var(--dark-overlay);visibility:visible}.image-container{position:relative}.image-container .overlay-container{border-radius:var(--border-radius);width:100%;height:100%;position:absolute;visibility:hidden;transition:background-color .5s ease}.image-container img{height:100%;object-fit:contain;width:100%;border-radius:var(--border-radius)}.delete-file-button{background-color:transparent;border:none;position:absolute;top:var(--standard-padding);left:var(--standard-padding)}.delete-file-button img{height:14px;filter:brightness(0) invert(1)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i2.HerumDownloadFileComponent, selector: "herum-download-file", inputs: ["fileId", "filePath", "linkText"], outputs: ["downloadFile"] }] });
987
- }
988
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: HerumFilesViewerComponent, decorators: [{
989
- type: Component,
990
- args: [{ standalone: false, selector: 'herum-files-viewer', template: "<ng-container [ngSwitch]=\"fileType\">\r\n <div class=\"image-container\" *ngSwitchCase=\"'image'\">\r\n <div *ngIf=\"showDeleteFileButton\" class=\"overlay-container\">\r\n <ng-container *ngTemplateOutlet=\"deleteFileButton\">\r\n </ng-container>\r\n </div>\r\n\r\n <img [src]=\"srcPath\">\r\n </div>\r\n\r\n <herum-video-player *ngSwitchCase=\"'video'\" [srcPath]=\"srcPath\" [isResourceInWideMode]=\"true\"></herum-video-player>\r\n\r\n <herum-pdf-viewer *ngSwitchCase=\"'pdf'\" [srcPath]=\"srcPath\" [isResourceInWideMode]=\"true\"></herum-pdf-viewer>\r\n\r\n <herum-audio-player *ngSwitchCase=\"'audio'\" [id]=\"fileData.key\" [bucketName]=\"fileData.bucket\"\r\n [audioFile]=\"fileData.file\">\r\n </herum-audio-player>\r\n\r\n <herum-download-file *ngSwitchDefault linkText=\"\u05D4\u05E7\u05D5\u05D1\u05E5 \u05D0\u05D9\u05E0\u05D5 \u05E0\u05EA\u05DE\u05DA, \u05E0\u05D9\u05EA\u05DF \u05DC\u05D4\u05D5\u05E8\u05D3\u05D5\" (downloadFile)=\"_downloadFile()\">\r\n </herum-download-file>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"fileType!=='image'\">\r\n <ng-container *ngTemplateOutlet=\"deleteFileButton\">\r\n </ng-container>\r\n</ng-container>\r\n\r\n<ng-template #deleteFileButton>\r\n <button *ngIf=\"showDeleteFileButton\" class=\"delete-file-button\" (click)=\"_onDeleteFile()\">\r\n <img src=\"assets/general/secondary-x.svg\" />\r\n </button>\r\n</ng-template>", styles: [":host{display:flex;position:relative;min-height:0;flex:1 1 0}herum-video-player,herum-pdf-viewer,herum-audio-player,herum-download-file{flex:1}herum-video-player{display:flex}herum-download-file{display:flex;align-items:center;justify-content:center;background-color:var(--icons-color-light-2);border-radius:var(--border-radius);padding:var(--standard-padding)}.image-container:hover .overlay-container{background-color:var(--dark-overlay);visibility:visible}.image-container{position:relative}.image-container .overlay-container{border-radius:var(--border-radius);width:100%;height:100%;position:absolute;visibility:hidden;transition:background-color .5s ease}.image-container img{height:100%;object-fit:contain;width:100%;border-radius:var(--border-radius)}.delete-file-button{background-color:transparent;border:none;position:absolute;top:var(--standard-padding);left:var(--standard-padding)}.delete-file-button img{height:14px;filter:brightness(0) invert(1)}\n"] }]
991
- }], ctorParameters: () => [{ type: i1$2.UtilsService }], propDecorators: { fileData: [{
992
- type: Input
993
- }], showDeleteFileButton: [{
994
- type: Input
995
- }], downloadFile: [{
996
- type: Output
997
- }], deleteFile: [{
998
- type: Output
999
- }] } });
1000
-
1001
952
  class HerumHierarchyTreeNodeComponent {
1002
953
  changeDetectorRef;
1003
954
  environmentConfig;
@@ -1403,7 +1354,6 @@ class MoleculesModule {
1403
1354
  HerumDateTimePickerComponent,
1404
1355
  HerumDropZoneComponent,
1405
1356
  HerumExpendablePanelComponent,
1406
- HerumFilesViewerComponent,
1407
1357
  HerumHierarchyTreeNodeComponent,
1408
1358
  HerumMultiProgressBarComponent,
1409
1359
  HerumNavigatorComponent,
@@ -1442,7 +1392,6 @@ class MoleculesModule {
1442
1392
  HerumDateTimePickerComponent,
1443
1393
  HerumDropZoneComponent,
1444
1394
  HerumExpendablePanelComponent,
1445
- HerumFilesViewerComponent,
1446
1395
  HerumHierarchyTreeNodeComponent,
1447
1396
  HerumMultiProgressBarComponent,
1448
1397
  HerumNavigatorComponent,
@@ -1490,7 +1439,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
1490
1439
  HerumDateTimePickerComponent,
1491
1440
  HerumDropZoneComponent,
1492
1441
  HerumExpendablePanelComponent,
1493
- HerumFilesViewerComponent,
1494
1442
  HerumHierarchyTreeNodeComponent,
1495
1443
  HerumMultiProgressBarComponent,
1496
1444
  HerumNavigatorComponent,
@@ -1513,7 +1461,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
1513
1461
  HerumDateTimePickerComponent,
1514
1462
  HerumDropZoneComponent,
1515
1463
  HerumExpendablePanelComponent,
1516
- HerumFilesViewerComponent,
1517
1464
  HerumHierarchyTreeNodeComponent,
1518
1465
  HerumMultiProgressBarComponent,
1519
1466
  HerumNavigatorComponent,
@@ -1562,5 +1509,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImpo
1562
1509
  * Generated bundle index. Do not edit.
1563
1510
  */
1564
1511
 
1565
- export { HerumActiveLinkComponent, HerumActiveMenuComponent, HerumAutocompleteComponent, HerumClosedListMultiSelectComponent, HerumClosedListSelectComponent, HerumDateTimeInputComponent, HerumDateTimePickerComponent, HerumDropZoneComponent, HerumExpendablePanelComponent, HerumFilesViewerComponent, HerumHierarchyTreeNodeComponent, HerumMultiProgressBarComponent, HerumNavigatorComponent, HerumStepNavigatorComponent, HerumStepperComponent, HerumTimeSelectComponent, HerumUserProfileComponent, HerumUserProgressComponent, KeyValueListComponent, LabelsWithIconsListComponent, MoleculesModule, ProgressesOverViewComponent };
1512
+ export { HerumActiveLinkComponent, HerumActiveMenuComponent, HerumAutocompleteComponent, HerumClosedListMultiSelectComponent, HerumClosedListSelectComponent, HerumDateTimeInputComponent, HerumDateTimePickerComponent, HerumDropZoneComponent, HerumExpendablePanelComponent, HerumHierarchyTreeNodeComponent, HerumMultiProgressBarComponent, HerumNavigatorComponent, HerumStepNavigatorComponent, HerumStepperComponent, HerumTimeSelectComponent, HerumUserProfileComponent, HerumUserProgressComponent, KeyValueListComponent, LabelsWithIconsListComponent, MoleculesModule, ProgressesOverViewComponent };
1566
1513
  //# sourceMappingURL=herum-shared-molecules.mjs.map