ghocomps 1.2.25 → 1.4.25

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.
@@ -0,0 +1,901 @@
1
+ import * as i1 from '@angular/common';
2
+ import { CommonModule, DatePipe } from '@angular/common';
3
+ import * as i0 from '@angular/core';
4
+ import { EventEmitter, HostListener, Output, Input, ChangeDetectionStrategy, Component, forwardRef, inject } from '@angular/core';
5
+ import * as i2 from '@angular/forms';
6
+ import { FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
7
+ import { MatCardModule } from '@angular/material/card';
8
+ import { MatCalendar, MatDatepickerModule } from '@angular/material/datepicker';
9
+ import { provideNativeDateAdapter } from '@angular/material/core';
10
+ import { MatDialog, MatDialogRef, MAT_DIALOG_DATA, MatDialogClose } from '@angular/material/dialog';
11
+
12
+ class GHOdropdown {
13
+ el;
14
+ cdr;
15
+ ngZone;
16
+ constructor(el, cdr, ngZone) {
17
+ this.el = el;
18
+ this.cdr = cdr;
19
+ this.ngZone = ngZone;
20
+ }
21
+ options = [];
22
+ placeholder = 'Select an option';
23
+ showclear = true;
24
+ appearance = "outline";
25
+ label = "";
26
+ filter = true;
27
+ listdata = [];
28
+ isOpen = false;
29
+ selectedtxt = "";
30
+ sharedValue = '';
31
+ sharedValueChange = new EventEmitter();
32
+ selectionchange = new EventEmitter();
33
+ onModelChange(v) {
34
+ this.sharedValue = v;
35
+ this.sharedValueChange.emit(v);
36
+ this.setlabel();
37
+ }
38
+ setlabel() {
39
+ if (this.listdata.length > 0) {
40
+ for (let i = 0; i < this.listdata.length; i++) {
41
+ if (this.sharedValue && this.listdata[i].value.toString() == this.sharedValue.toString()) {
42
+ this.selectedtxt = this.listdata[i].label;
43
+ break;
44
+ }
45
+ else {
46
+ this.selectedtxt = this.label;
47
+ }
48
+ }
49
+ }
50
+ else {
51
+ this.selectedtxt = this.label;
52
+ }
53
+ }
54
+ ngOnChanges(changes) {
55
+ if (changes['options']) {
56
+ this.listdata = [];
57
+ debugger;
58
+ const allKeys = Array.from(new Set(this.options.flatMap(item => Object.keys(item))));
59
+ for (let i = 0; i < this.options.length; i++) {
60
+ if (allKeys.length == 1) {
61
+ this.listdata.push({ label: this.options[i][allKeys[0]], value: this.options[i][allKeys[0]] });
62
+ }
63
+ else {
64
+ this.listdata.push({ label: this.options[i][allKeys[1]], value: this.options[i][allKeys[0]] });
65
+ }
66
+ }
67
+ this.setlabel();
68
+ }
69
+ if (changes['sharedValue']) {
70
+ this.setlabel();
71
+ }
72
+ }
73
+ toggleDropdown() {
74
+ this.isOpen = !this.isOpen;
75
+ }
76
+ clear() {
77
+ this.onModelChange("");
78
+ this.isOpen = false;
79
+ }
80
+ closeDropdown() {
81
+ this.isOpen = false;
82
+ }
83
+ onSelectionChange(v) {
84
+ this.isOpen = false;
85
+ this.onModelChange(v.value);
86
+ this.selectionchange.emit(v);
87
+ }
88
+ datavalid() {
89
+ if (this.label != this.selectedtxt) {
90
+ return true;
91
+ }
92
+ if (this.label == this.selectedtxt) {
93
+ return false;
94
+ }
95
+ return false;
96
+ }
97
+ onOutsideClick(event) {
98
+ if (!this.el.nativeElement.contains(event.target)) {
99
+ this.isOpen = false;
100
+ }
101
+ }
102
+ getclearclass() {
103
+ if (this.appearance == "outline") {
104
+ if (this.datavalid() && this.showclear) {
105
+ return "input-outline-filter-img";
106
+ }
107
+ }
108
+ else {
109
+ return "input-mat-img ";
110
+ }
111
+ return "input-mat";
112
+ }
113
+ getclass() {
114
+ if (this.appearance == "outline") {
115
+ let css = " d-flex gap-3";
116
+ if (!this.filter) {
117
+ css = "input-outline";
118
+ }
119
+ if (this.filter) {
120
+ if (!this.datavalid()) {
121
+ css = "input-outline";
122
+ }
123
+ }
124
+ if (this.filter) {
125
+ if (this.datavalid()) {
126
+ css = "input-outline-filter ";
127
+ }
128
+ }
129
+ if (!this.showclear) {
130
+ css = "input-outline";
131
+ }
132
+ return css + " input d-flex gap-3 ";
133
+ }
134
+ else {
135
+ return "input-mat d-flex gap-3 ";
136
+ }
137
+ }
138
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: GHOdropdown, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
139
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: GHOdropdown, isStandalone: true, selector: "gho-dropdown", inputs: { options: "options", placeholder: "placeholder", showclear: "showclear", appearance: "appearance", label: "label", filter: "filter", sharedValue: "sharedValue" }, outputs: { sharedValueChange: "sharedValueChange", selectionchange: "selectionchange" }, host: { listeners: { "document:click": "onOutsideClick($event)" } }, usesOnChanges: true, ngImport: i0, template: `
140
+ <div style="height: 55px !important;">
141
+ <div style="height: 18px !important;">
142
+ @if(datavalid())
143
+ {
144
+ <div [ngStyle]="{ margin: '-3px 5px' }" class="input-label">{{label}}
145
+ </div>
146
+ }
147
+ </div>
148
+ <table>
149
+ <tr>
150
+ <td>
151
+ <div (click)="toggleDropdown()" [ngClass]="getclass()">
152
+ <span>{{selectedtxt}}</span>
153
+ <i class="bi bi-caret-down-fill arrow-icon" [class.rotate]="isOpen"></i>
154
+ </div>
155
+ </td>
156
+ @if(filter && datavalid() )
157
+ {
158
+ <td>
159
+ <div (click)="clear()" [ngClass]="getclearclass()">
160
+ <i class="bi bi-x-lg "></i>
161
+ </div>
162
+ </td> }
163
+ </tr>
164
+ </table>
165
+ </div>
166
+ @if(isOpen){
167
+ <div class="dropdown-menu show ">
168
+ <div class="list-panel">
169
+ @for (dlitem of listdata; track dlitem) {
170
+ <div class="list-item " (click)="onSelectionChange(dlitem)" [class.list-item-selected]="dlitem.value == sharedValue">
171
+ <table class="w100">
172
+ <tr>
173
+ <td>
174
+ {{ dlitem.label }}
175
+ </td>
176
+ @if(dlitem.value == sharedValue){
177
+ <td class="right" style="width:30px;"> <i class="bi bi-check2"></i> </td>}
178
+ </tr>
179
+ </table>
180
+ </div>
181
+ }
182
+ </div>
183
+ <table class=w100>
184
+ <tr class="bt ">
185
+ <td class="p10" (click)="clear()"><span matButton class="ghoddl-btn "> Clear </span> </td>
186
+ <td class="p10" (click)="closeDropdown()"><span matButton class="ghoddl-btn "> Cancel </span> </td>
187
+ </tr>
188
+ </table>
189
+ </div>
190
+ }
191
+ `, isInline: true, styles: [".input{cursor:pointer;border:1px solid #7c7b7bdf;padding:5px!important}.input-label{background-color:transparent;position:inherit;color:#202020;font-size:12px;padding-left:5px}input:focus{border:1px solid #7c7b7bdf;outline:none}.input:hover{background:var(--hover)}.input-outline{border-radius:5px!important}.input-outline-filter{border-top-left-radius:5px!important;border-bottom-left-radius:5px!important;background:var(--filter)}.input-filter{background:var(--filter)}.input-outline-filter-img{padding:5px!important;border-top-right-radius:5px!important;border-bottom-right-radius:5px!important;background:var(--filter);border:1px solid #7c7b7bdf;cursor:pointer}.input-mat,.input-mat-img{border-bottom:1px solid #7c7b7bdf;padding:5px!important;cursor:pointer}.list-item{padding:5px 12px;cursor:pointer;font-size:14px}.filterd{background-color:var(--selected);font-weight:400;cursor:pointer}.list-item-selected{color:var(--primary);font-weight:500}.list-item:hover{background:var(--hover)}.list-panel{background-color:#fff;max-height:400px!important;overflow-y:auto}.arrow-icon{transition:transform .2s ease}.arrow-icon.rotate{transform:rotate(180deg)}.date-dropdown{min-width:280px;padding:0;border:none;border-radius:10px;transition:min-width .25s ease;overflow:hidden}.date-dropdown.custom-open{min-width:560px}.preset-panel{display:flex;flex-direction:column;background-color:#fff}.preset-item{background:transparent;border:none;text-align:left;padding:10px 14px;font-size:14px;cursor:pointer;border-radius:6px;transition:background-color .15s ease}.preset-item:hover{background-color:#f1f3f5}.clear-item{color:#e63f3f;margin-top:6px}.custom-panel{background-color:#fff;border-top:1px solid #dee2e6}@media (min-width: 992px){.custom-panel{border-top:none;border-left:1px solid #dee2e6}}.form-label{font-size:12px;font-weight:500;color:#6c757d}.form-control{font-size:14px;padding:6px 10px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
192
+ }
193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: GHOdropdown, decorators: [{
194
+ type: Component,
195
+ args: [{ selector: 'gho-dropdown', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, FormsModule], template: `
196
+ <div style="height: 55px !important;">
197
+ <div style="height: 18px !important;">
198
+ @if(datavalid())
199
+ {
200
+ <div [ngStyle]="{ margin: '-3px 5px' }" class="input-label">{{label}}
201
+ </div>
202
+ }
203
+ </div>
204
+ <table>
205
+ <tr>
206
+ <td>
207
+ <div (click)="toggleDropdown()" [ngClass]="getclass()">
208
+ <span>{{selectedtxt}}</span>
209
+ <i class="bi bi-caret-down-fill arrow-icon" [class.rotate]="isOpen"></i>
210
+ </div>
211
+ </td>
212
+ @if(filter && datavalid() )
213
+ {
214
+ <td>
215
+ <div (click)="clear()" [ngClass]="getclearclass()">
216
+ <i class="bi bi-x-lg "></i>
217
+ </div>
218
+ </td> }
219
+ </tr>
220
+ </table>
221
+ </div>
222
+ @if(isOpen){
223
+ <div class="dropdown-menu show ">
224
+ <div class="list-panel">
225
+ @for (dlitem of listdata; track dlitem) {
226
+ <div class="list-item " (click)="onSelectionChange(dlitem)" [class.list-item-selected]="dlitem.value == sharedValue">
227
+ <table class="w100">
228
+ <tr>
229
+ <td>
230
+ {{ dlitem.label }}
231
+ </td>
232
+ @if(dlitem.value == sharedValue){
233
+ <td class="right" style="width:30px;"> <i class="bi bi-check2"></i> </td>}
234
+ </tr>
235
+ </table>
236
+ </div>
237
+ }
238
+ </div>
239
+ <table class=w100>
240
+ <tr class="bt ">
241
+ <td class="p10" (click)="clear()"><span matButton class="ghoddl-btn "> Clear </span> </td>
242
+ <td class="p10" (click)="closeDropdown()"><span matButton class="ghoddl-btn "> Cancel </span> </td>
243
+ </tr>
244
+ </table>
245
+ </div>
246
+ }
247
+ `, styles: [".input{cursor:pointer;border:1px solid #7c7b7bdf;padding:5px!important}.input-label{background-color:transparent;position:inherit;color:#202020;font-size:12px;padding-left:5px}input:focus{border:1px solid #7c7b7bdf;outline:none}.input:hover{background:var(--hover)}.input-outline{border-radius:5px!important}.input-outline-filter{border-top-left-radius:5px!important;border-bottom-left-radius:5px!important;background:var(--filter)}.input-filter{background:var(--filter)}.input-outline-filter-img{padding:5px!important;border-top-right-radius:5px!important;border-bottom-right-radius:5px!important;background:var(--filter);border:1px solid #7c7b7bdf;cursor:pointer}.input-mat,.input-mat-img{border-bottom:1px solid #7c7b7bdf;padding:5px!important;cursor:pointer}.list-item{padding:5px 12px;cursor:pointer;font-size:14px}.filterd{background-color:var(--selected);font-weight:400;cursor:pointer}.list-item-selected{color:var(--primary);font-weight:500}.list-item:hover{background:var(--hover)}.list-panel{background-color:#fff;max-height:400px!important;overflow-y:auto}.arrow-icon{transition:transform .2s ease}.arrow-icon.rotate{transform:rotate(180deg)}.date-dropdown{min-width:280px;padding:0;border:none;border-radius:10px;transition:min-width .25s ease;overflow:hidden}.date-dropdown.custom-open{min-width:560px}.preset-panel{display:flex;flex-direction:column;background-color:#fff}.preset-item{background:transparent;border:none;text-align:left;padding:10px 14px;font-size:14px;cursor:pointer;border-radius:6px;transition:background-color .15s ease}.preset-item:hover{background-color:#f1f3f5}.clear-item{color:#e63f3f;margin-top:6px}.custom-panel{background-color:#fff;border-top:1px solid #dee2e6}@media (min-width: 992px){.custom-panel{border-top:none;border-left:1px solid #dee2e6}}.form-label{font-size:12px;font-weight:500;color:#6c757d}.form-control{font-size:14px;padding:6px 10px}\n"] }]
248
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }], propDecorators: { options: [{
249
+ type: Input
250
+ }], placeholder: [{
251
+ type: Input
252
+ }], showclear: [{
253
+ type: Input
254
+ }], appearance: [{
255
+ type: Input
256
+ }], label: [{
257
+ type: Input
258
+ }], filter: [{
259
+ type: Input
260
+ }], sharedValue: [{
261
+ type: Input
262
+ }], sharedValueChange: [{
263
+ type: Output
264
+ }], selectionchange: [{
265
+ type: Output
266
+ }], onOutsideClick: [{
267
+ type: HostListener,
268
+ args: ['document:click', ['$event']]
269
+ }] } });
270
+
271
+ class GHOInput {
272
+ el;
273
+ cdr;
274
+ datePipe;
275
+ constructor(el, cdr, datePipe) {
276
+ this.el = el;
277
+ this.cdr = cdr;
278
+ this.datePipe = datePipe;
279
+ }
280
+ list = [];
281
+ label = "";
282
+ appearance = "outline";
283
+ filter = false;
284
+ showclear = false;
285
+ placeholder = "";
286
+ sharedValue = '';
287
+ sharedValueChange = new EventEmitter();
288
+ onInput(event) {
289
+ this.sharedValue = event.target.value;
290
+ this.sharedValueChange.emit(this.sharedValue);
291
+ this.setlabel();
292
+ }
293
+ clear() {
294
+ this.sharedValue = "";
295
+ this.sharedValueChange.emit(this.sharedValue);
296
+ this.setlabel();
297
+ }
298
+ setlabel() {
299
+ if (this.sharedValue.length > 0) {
300
+ this.placeholder = "";
301
+ }
302
+ else {
303
+ this.placeholder = this.label;
304
+ }
305
+ }
306
+ ngOnChanges(changes) {
307
+ if (changes['sharedValue']) {
308
+ this.setlabel();
309
+ }
310
+ }
311
+ getclass() {
312
+ if (this.appearance == "outline") {
313
+ let css = " d-flex gap-3";
314
+ if (!this.filter) {
315
+ css = "input-outline";
316
+ }
317
+ if (this.filter) {
318
+ if (!this.datavalid()) {
319
+ css = "input-outline";
320
+ }
321
+ }
322
+ if (this.filter) {
323
+ if (this.datavalid() && this.showclear) {
324
+ css = "input-outline-filter input-filter";
325
+ }
326
+ }
327
+ if (this.filter) {
328
+ if (this.datavalid() && !this.showclear) {
329
+ css = "input-outline input-filter ";
330
+ }
331
+ }
332
+ if (!this.showclear) {
333
+ css = "input-outline";
334
+ }
335
+ return css + " input";
336
+ }
337
+ else {
338
+ return "input-mat d-flex gap-3 ";
339
+ }
340
+ }
341
+ getclearclass() {
342
+ if (this.appearance == "outline") {
343
+ if (this.datavalid() && this.showclear) {
344
+ return "input-outline-filter-img";
345
+ }
346
+ }
347
+ else {
348
+ return "input-mat-img ";
349
+ }
350
+ return "input-mat";
351
+ }
352
+ datavalid() {
353
+ if (this.placeholder == this.label) {
354
+ return false;
355
+ }
356
+ else {
357
+ return true;
358
+ }
359
+ }
360
+ ngOnInit() {
361
+ }
362
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: GHOInput, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.DatePipe }], target: i0.ɵɵFactoryTarget.Component });
363
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: GHOInput, isStandalone: true, selector: "gho-input", inputs: { list: "list", label: "label", appearance: "appearance", filter: "filter", showclear: "showclear", sharedValue: "sharedValue" }, outputs: { sharedValueChange: "sharedValueChange" }, providers: [DatePipe], usesOnChanges: true, ngImport: i0, template: `<div style="height: 55px !important;">
364
+ <div style="height: 18px !important;">
365
+ @if(datavalid())
366
+ {
367
+ <div [ngStyle]="{ margin: '-2px 5px' }" class="input-label">{{label}}
368
+ </div>
369
+ }
370
+
371
+ </div>
372
+ <div >
373
+ <table>
374
+ <tr>
375
+ <td> <input type="text" [placeholder]="placeholder" [ngModel]="sharedValue" (input)="onInput($event)"
376
+ [ngClass]="getclass()"></td>
377
+ @if(filter && datavalid() )
378
+ {
379
+ <td>
380
+ <div (click)="clear()" [ngClass]="getclearclass()">
381
+ <i class="bi bi-x-lg "></i>
382
+ </div>
383
+ </td> }
384
+ </tr>
385
+ </table>
386
+ </div>
387
+ </div>`, isInline: true, styles: [".input{cursor:pointer;border:1px solid #7c7b7bdf;padding:5px!important}.input-label{background-color:transparent;position:inherit;color:#202020;font-size:12px;padding-left:5px}input:focus{border:1px solid #7c7b7bdf;outline:none}.input:hover{background:var(--hover)}.input-outline{border-radius:5px!important}.input-outline-filter{border-top-left-radius:5px!important;border-bottom-left-radius:5px!important;background:var(--filter)}.input-filter{background:var(--filter)}.input-outline-filter-img{padding:5px!important;border-top-right-radius:5px!important;border-bottom-right-radius:5px!important;background:var(--filter);border:1px solid #7c7b7bdf;cursor:pointer}.input-mat,.input-mat-img{border-bottom:1px solid #7c7b7bdf;padding:5px!important;cursor:pointer}.list-item{padding:5px 12px;cursor:pointer;font-size:14px}.filterd{background-color:var(--selected);font-weight:400;cursor:pointer}.list-item-selected{color:var(--primary);font-weight:500}.list-item:hover{background:var(--hover)}.list-panel{background-color:#fff;max-height:400px!important;overflow-y:auto}.arrow-icon{transition:transform .2s ease}.arrow-icon.rotate{transform:rotate(180deg)}.date-dropdown{min-width:280px;padding:0;border:none;border-radius:10px;transition:min-width .25s ease;overflow:hidden}.date-dropdown.custom-open{min-width:560px}.preset-panel{display:flex;flex-direction:column;background-color:#fff}.preset-item{background:transparent;border:none;text-align:left;padding:10px 14px;font-size:14px;cursor:pointer;border-radius:6px;transition:background-color .15s ease}.preset-item:hover{background-color:#f1f3f5}.clear-item{color:#e63f3f;margin-top:6px}.custom-panel{background-color:#fff;border-top:1px solid #dee2e6}@media (min-width: 992px){.custom-panel{border-top:none;border-left:1px solid #dee2e6}}.form-label{font-size:12px;font-weight:500;color:#6c757d}.form-control{font-size:14px;padding:6px 10px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
388
+ }
389
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: GHOInput, decorators: [{
390
+ type: Component,
391
+ args: [{ selector: 'gho-input', standalone: true, imports: [CommonModule, FormsModule,], template: `<div style="height: 55px !important;">
392
+ <div style="height: 18px !important;">
393
+ @if(datavalid())
394
+ {
395
+ <div [ngStyle]="{ margin: '-2px 5px' }" class="input-label">{{label}}
396
+ </div>
397
+ }
398
+
399
+ </div>
400
+ <div >
401
+ <table>
402
+ <tr>
403
+ <td> <input type="text" [placeholder]="placeholder" [ngModel]="sharedValue" (input)="onInput($event)"
404
+ [ngClass]="getclass()"></td>
405
+ @if(filter && datavalid() )
406
+ {
407
+ <td>
408
+ <div (click)="clear()" [ngClass]="getclearclass()">
409
+ <i class="bi bi-x-lg "></i>
410
+ </div>
411
+ </td> }
412
+ </tr>
413
+ </table>
414
+ </div>
415
+ </div>`, providers: [DatePipe], changeDetection: ChangeDetectionStrategy.OnPush, styles: [".input{cursor:pointer;border:1px solid #7c7b7bdf;padding:5px!important}.input-label{background-color:transparent;position:inherit;color:#202020;font-size:12px;padding-left:5px}input:focus{border:1px solid #7c7b7bdf;outline:none}.input:hover{background:var(--hover)}.input-outline{border-radius:5px!important}.input-outline-filter{border-top-left-radius:5px!important;border-bottom-left-radius:5px!important;background:var(--filter)}.input-filter{background:var(--filter)}.input-outline-filter-img{padding:5px!important;border-top-right-radius:5px!important;border-bottom-right-radius:5px!important;background:var(--filter);border:1px solid #7c7b7bdf;cursor:pointer}.input-mat,.input-mat-img{border-bottom:1px solid #7c7b7bdf;padding:5px!important;cursor:pointer}.list-item{padding:5px 12px;cursor:pointer;font-size:14px}.filterd{background-color:var(--selected);font-weight:400;cursor:pointer}.list-item-selected{color:var(--primary);font-weight:500}.list-item:hover{background:var(--hover)}.list-panel{background-color:#fff;max-height:400px!important;overflow-y:auto}.arrow-icon{transition:transform .2s ease}.arrow-icon.rotate{transform:rotate(180deg)}.date-dropdown{min-width:280px;padding:0;border:none;border-radius:10px;transition:min-width .25s ease;overflow:hidden}.date-dropdown.custom-open{min-width:560px}.preset-panel{display:flex;flex-direction:column;background-color:#fff}.preset-item{background:transparent;border:none;text-align:left;padding:10px 14px;font-size:14px;cursor:pointer;border-radius:6px;transition:background-color .15s ease}.preset-item:hover{background-color:#f1f3f5}.clear-item{color:#e63f3f;margin-top:6px}.custom-panel{background-color:#fff;border-top:1px solid #dee2e6}@media (min-width: 992px){.custom-panel{border-top:none;border-left:1px solid #dee2e6}}.form-label{font-size:12px;font-weight:500;color:#6c757d}.form-control{font-size:14px;padding:6px 10px}\n"] }]
416
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.DatePipe }], propDecorators: { list: [{
417
+ type: Input
418
+ }], label: [{
419
+ type: Input
420
+ }], appearance: [{
421
+ type: Input
422
+ }], filter: [{
423
+ type: Input
424
+ }], showclear: [{
425
+ type: Input
426
+ }], sharedValue: [{
427
+ type: Input
428
+ }], sharedValueChange: [{
429
+ type: Output
430
+ }] } });
431
+
432
+ class GHODate {
433
+ el;
434
+ cdr;
435
+ datePipe;
436
+ constructor(el, cdr, datePipe) {
437
+ this.el = el;
438
+ this.cdr = cdr;
439
+ this.datePipe = datePipe;
440
+ }
441
+ options = [];
442
+ placeholder = 'Select an option';
443
+ showclear = true;
444
+ appearance = "outline";
445
+ label = "";
446
+ filter = true;
447
+ value = "";
448
+ disabled = false;
449
+ listdata = [];
450
+ isOpen = false;
451
+ selectedtxt = "";
452
+ days = [];
453
+ years = [];
454
+ months = [];
455
+ currentYear = new Date().getFullYear();
456
+ d;
457
+ m;
458
+ y;
459
+ // Writes a new value to the element
460
+ writeValue(value) {
461
+ this.value = value;
462
+ if (this.value !== undefined && this.value !== null) {
463
+ const date = new Date(value);
464
+ if (!date) {
465
+ this.d = null;
466
+ this.m = null;
467
+ this.y = null;
468
+ }
469
+ else {
470
+ const formatted = this.datePipe.transform(date, 'MM/dd/yyyy');
471
+ if (formatted !== undefined && formatted !== null) {
472
+ const [month, day, year] = formatted.split('/').map(Number);
473
+ this.m = month,
474
+ this.y = year;
475
+ this.d = day;
476
+ }
477
+ }
478
+ }
479
+ }
480
+ onmodelchange(e, t) {
481
+ if (t == "d") {
482
+ this.d = e.value;
483
+ }
484
+ if (t == "m") {
485
+ this.m = e.value;
486
+ }
487
+ if (t == "y") {
488
+ this.y = e.value;
489
+ }
490
+ this.setdt();
491
+ }
492
+ ngOnInit() {
493
+ this.populateYears();
494
+ this.populateMonths();
495
+ this.populateDays(31);
496
+ }
497
+ setdt() {
498
+ if (this.d == 0 || this.m == 0 || this.y == 0) {
499
+ this.value = "";
500
+ }
501
+ else {
502
+ this.value = this.m + " - " + this.d + " - " + this.y;
503
+ }
504
+ this.onChange(this.value);
505
+ this.onTouched();
506
+ }
507
+ onDateChangeFromCalender(date) {
508
+ if (!date)
509
+ return;
510
+ const formatted = this.datePipe.transform(date, 'MM/dd/yyyy');
511
+ if (formatted !== undefined && formatted !== null) {
512
+ const [month, day, year] = formatted.split('/').map(Number);
513
+ this.m = month,
514
+ this.y = year;
515
+ this.d = day;
516
+ }
517
+ this.setdt();
518
+ this.isOpen = false;
519
+ this.cdr.detectChanges();
520
+ }
521
+ populateMonths() {
522
+ this.months = [
523
+ { value: "1", name: 'January' },
524
+ { value: "2", name: 'February' },
525
+ { value: "3", name: 'March' },
526
+ { value: "4", name: 'April' },
527
+ { value: "5", name: 'May' },
528
+ { value: "6", name: 'June' },
529
+ { value: "7", name: 'July' },
530
+ { value: "8", name: 'August' },
531
+ { value: "9", name: 'September' },
532
+ { value: "10", name: 'October' },
533
+ { value: "11", name: 'November' },
534
+ { value: "12", name: 'December' }
535
+ ];
536
+ }
537
+ populateYears(start = (this.currentYear - 95), end = 1 + new Date().getFullYear()) {
538
+ for (let year = end; year >= start; year--) {
539
+ this.years.push({ value: year.toString() });
540
+ }
541
+ }
542
+ populateDays(start = 1, end = 31) {
543
+ for (let i = 1; i < 32; i++) {
544
+ this.days.push({ value: i.toString() });
545
+ }
546
+ }
547
+ gettxt() {
548
+ if (this.datavalid()) {
549
+ return this.value;
550
+ }
551
+ else {
552
+ return this.label;
553
+ }
554
+ }
555
+ toggleDropdown() {
556
+ this.isOpen = !this.isOpen;
557
+ }
558
+ clear() {
559
+ this.value = "";
560
+ this.onChange(this.value);
561
+ this.onTouched();
562
+ }
563
+ closeDropdown() {
564
+ this.isOpen = false;
565
+ }
566
+ datavalid() {
567
+ if (this.value === undefined || this.value == null || this.value == "" || this.value == "0") {
568
+ return false;
569
+ }
570
+ else {
571
+ return true;
572
+ }
573
+ }
574
+ // Functions to call when the value changes or the control is touched
575
+ onChange = () => { };
576
+ onTouched = () => { };
577
+ // Registers a callback function that is called when the control's value changes in the UI
578
+ registerOnChange(fn) {
579
+ this.isOpen = false;
580
+ this.onChange = fn;
581
+ }
582
+ // Registers a callback function that is called whenever the control receives a touch event
583
+ registerOnTouched(fn) {
584
+ this.onTouched = fn;
585
+ }
586
+ // Sets the disabled state of the control
587
+ setDisabledState(isDisabled) {
588
+ this.disabled = isDisabled;
589
+ }
590
+ onSelectionChange(v) {
591
+ this.isOpen = false;
592
+ this.selectedtxt = v.label;
593
+ const newValue = v.value;
594
+ this.value = newValue;
595
+ this.onChange(newValue); // Notify Angular forms about the change
596
+ this.onTouched(); // Mark the control as touched
597
+ }
598
+ onOutsideClick(event) {
599
+ if (!this.el.nativeElement.contains(event.target)) {
600
+ this.isOpen = false;
601
+ }
602
+ }
603
+ getclearclass() {
604
+ if (this.appearance == "outline") {
605
+ if (this.datavalid() && this.showclear) {
606
+ return "input-outline-filter-img";
607
+ }
608
+ }
609
+ else {
610
+ return "input-mat-img ";
611
+ }
612
+ return "input-mat";
613
+ }
614
+ getclass() {
615
+ if (this.appearance == "outline") {
616
+ let css = " d-flex gap-3";
617
+ if (!this.filter) {
618
+ css = "input-outline";
619
+ }
620
+ if (this.filter) {
621
+ if (!this.datavalid()) {
622
+ css = "input-outline";
623
+ }
624
+ }
625
+ if (this.filter) {
626
+ if (this.datavalid()) {
627
+ css = "input-outline-filter ";
628
+ }
629
+ }
630
+ if (!this.showclear) {
631
+ css = "input-outline";
632
+ }
633
+ return css + " input d-flex gap-3 ";
634
+ }
635
+ else {
636
+ return "input-mat d-flex gap-3 ";
637
+ }
638
+ }
639
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: GHODate, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.DatePipe }], target: i0.ɵɵFactoryTarget.Component });
640
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: GHODate, isStandalone: true, selector: "gho-date", inputs: { options: "options", placeholder: "placeholder", showclear: "showclear", appearance: "appearance", label: "label", filter: "filter" }, host: { listeners: { "document:click": "onOutsideClick($event)" } }, providers: [provideNativeDateAdapter(), DatePipe,
641
+ {
642
+ provide: NG_VALUE_ACCESSOR,
643
+ useExisting: forwardRef(() => GHODate),
644
+ multi: true
645
+ }], ngImport: i0, template: `
646
+ <div style="height: 55px !important;">
647
+ <div style="height: 18px !important;">
648
+ @if(datavalid())
649
+ {
650
+ <div [ngStyle]="{ margin: '-3px 5px' }" class="input-label">{{label}}
651
+ </div>
652
+ }
653
+ </div>
654
+ <table>
655
+ <tr>
656
+ <td>
657
+ <div (click)="toggleDropdown()" [ngClass]="getclass()">
658
+ <span>{{ gettxt()}}</span>
659
+ <i class="bi bi-caret-down-fill arrow-icon" [class.rotate]="isOpen"></i>
660
+ </div>
661
+ </td>
662
+ @if(filter && datavalid() )
663
+ {
664
+ <td>
665
+ <div (click)="clear()" [ngClass]="getclearclass()">
666
+ <i class="bi bi-x-lg "></i>
667
+ </div>
668
+ </td> }
669
+
670
+
671
+ </tr>
672
+ </table>
673
+ </div>
674
+ @if(isOpen){
675
+ <div class="dropdown-menu show">
676
+ <table>
677
+ <tr class="bb">
678
+ <td class="pl10">
679
+ <gho-dropdown [options]="months" [(sharedValue)]="m" (selectionchange)="onmodelchange($event,'m')" [filter]=false
680
+ label="Month"></gho-dropdown>
681
+ </td>
682
+ <td class="">
683
+ <gho-dropdown [options]="days" [(sharedValue)]="d" (selectionchange)="onmodelchange($event,'d')" [filter]=false
684
+ label="Day"></gho-dropdown>
685
+ </td>
686
+ <td class="pr10">
687
+ <gho-dropdown [options]="years" [(sharedValue)]="y" (selectionchange)="onmodelchange($event,'y')" [filter]=false
688
+ label="Year"></gho-dropdown>
689
+
690
+ </td>
691
+
692
+ <td class="pr10 pointer" style="width: 30px; padding-top: 10px;">
693
+ <div (click)="isOpen=false" >
694
+ <i class="bi bi-check2 bold"></i>
695
+ </div>
696
+ </td>
697
+ </tr>
698
+
699
+ <tr>
700
+ <td colspan="5">
701
+ <mat-calendar (selectedChange)="onDateChangeFromCalender($event)">
702
+ </mat-calendar>
703
+ </td>
704
+ </tr>
705
+
706
+ </table>
707
+
708
+ </div>
709
+ }
710
+ `, isInline: true, styles: [".input{cursor:pointer;border:1px solid #7c7b7bdf;padding:5px!important}.input-label{background-color:transparent;position:inherit;color:#202020;font-size:12px;padding-left:5px}input:focus{border:1px solid #7c7b7bdf;outline:none}.input:hover{background:var(--hover)}.input-outline{border-radius:5px!important}.input-outline-filter{border-top-left-radius:5px!important;border-bottom-left-radius:5px!important;background:var(--filter)}.input-filter{background:var(--filter)}.input-outline-filter-img{padding:5px!important;border-top-right-radius:5px!important;border-bottom-right-radius:5px!important;background:var(--filter);border:1px solid #7c7b7bdf;cursor:pointer}.input-mat,.input-mat-img{border-bottom:1px solid #7c7b7bdf;padding:5px!important;cursor:pointer}.list-item{padding:5px 12px;cursor:pointer;font-size:14px}.filterd{background-color:var(--selected);font-weight:400;cursor:pointer}.list-item-selected{color:var(--primary);font-weight:500}.list-item:hover{background:var(--hover)}.list-panel{background-color:#fff;max-height:400px!important;overflow-y:auto}.arrow-icon{transition:transform .2s ease}.arrow-icon.rotate{transform:rotate(180deg)}.date-dropdown{min-width:280px;padding:0;border:none;border-radius:10px;transition:min-width .25s ease;overflow:hidden}.date-dropdown.custom-open{min-width:560px}.preset-panel{display:flex;flex-direction:column;background-color:#fff}.preset-item{background:transparent;border:none;text-align:left;padding:10px 14px;font-size:14px;cursor:pointer;border-radius:6px;transition:background-color .15s ease}.preset-item:hover{background-color:#f1f3f5}.clear-item{color:#e63f3f;margin-top:6px}.custom-panel{background-color:#fff;border-top:1px solid #dee2e6}@media (min-width: 992px){.custom-panel{border-top:none;border-left:1px solid #dee2e6}}.form-label{font-size:12px;font-weight:500;color:#6c757d}.form-control{font-size:14px;padding:6px 10px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: FormsModule }, { kind: "component", type: GHOdropdown, selector: "gho-dropdown", inputs: ["options", "placeholder", "showclear", "appearance", "label", "filter", "sharedValue"], outputs: ["sharedValueChange", "selectionchange"] }, { kind: "component", type: MatCalendar, selector: "mat-calendar", inputs: ["headerComponent", "startAt", "startView", "selected", "minDate", "maxDate", "dateFilter", "dateClass", "comparisonStart", "comparisonEnd", "startDateAccessibleName", "endDateAccessibleName"], outputs: ["selectedChange", "yearSelected", "monthSelected", "viewChanged", "_userSelection", "_userDragDrop"], exportAs: ["matCalendar"] }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "ngmodule", type: MatCardModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
711
+ }
712
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: GHODate, decorators: [{
713
+ type: Component,
714
+ args: [{ selector: 'gho-date', standalone: true, imports: [CommonModule, FormsModule, GHOdropdown, MatCalendar, MatDatepickerModule,
715
+ MatCardModule, DatePipe], template: `
716
+ <div style="height: 55px !important;">
717
+ <div style="height: 18px !important;">
718
+ @if(datavalid())
719
+ {
720
+ <div [ngStyle]="{ margin: '-3px 5px' }" class="input-label">{{label}}
721
+ </div>
722
+ }
723
+ </div>
724
+ <table>
725
+ <tr>
726
+ <td>
727
+ <div (click)="toggleDropdown()" [ngClass]="getclass()">
728
+ <span>{{ gettxt()}}</span>
729
+ <i class="bi bi-caret-down-fill arrow-icon" [class.rotate]="isOpen"></i>
730
+ </div>
731
+ </td>
732
+ @if(filter && datavalid() )
733
+ {
734
+ <td>
735
+ <div (click)="clear()" [ngClass]="getclearclass()">
736
+ <i class="bi bi-x-lg "></i>
737
+ </div>
738
+ </td> }
739
+
740
+
741
+ </tr>
742
+ </table>
743
+ </div>
744
+ @if(isOpen){
745
+ <div class="dropdown-menu show">
746
+ <table>
747
+ <tr class="bb">
748
+ <td class="pl10">
749
+ <gho-dropdown [options]="months" [(sharedValue)]="m" (selectionchange)="onmodelchange($event,'m')" [filter]=false
750
+ label="Month"></gho-dropdown>
751
+ </td>
752
+ <td class="">
753
+ <gho-dropdown [options]="days" [(sharedValue)]="d" (selectionchange)="onmodelchange($event,'d')" [filter]=false
754
+ label="Day"></gho-dropdown>
755
+ </td>
756
+ <td class="pr10">
757
+ <gho-dropdown [options]="years" [(sharedValue)]="y" (selectionchange)="onmodelchange($event,'y')" [filter]=false
758
+ label="Year"></gho-dropdown>
759
+
760
+ </td>
761
+
762
+ <td class="pr10 pointer" style="width: 30px; padding-top: 10px;">
763
+ <div (click)="isOpen=false" >
764
+ <i class="bi bi-check2 bold"></i>
765
+ </div>
766
+ </td>
767
+ </tr>
768
+
769
+ <tr>
770
+ <td colspan="5">
771
+ <mat-calendar (selectedChange)="onDateChangeFromCalender($event)">
772
+ </mat-calendar>
773
+ </td>
774
+ </tr>
775
+
776
+ </table>
777
+
778
+ </div>
779
+ }
780
+ `, providers: [provideNativeDateAdapter(), DatePipe,
781
+ {
782
+ provide: NG_VALUE_ACCESSOR,
783
+ useExisting: forwardRef(() => GHODate),
784
+ multi: true
785
+ }], changeDetection: ChangeDetectionStrategy.OnPush, styles: [".input{cursor:pointer;border:1px solid #7c7b7bdf;padding:5px!important}.input-label{background-color:transparent;position:inherit;color:#202020;font-size:12px;padding-left:5px}input:focus{border:1px solid #7c7b7bdf;outline:none}.input:hover{background:var(--hover)}.input-outline{border-radius:5px!important}.input-outline-filter{border-top-left-radius:5px!important;border-bottom-left-radius:5px!important;background:var(--filter)}.input-filter{background:var(--filter)}.input-outline-filter-img{padding:5px!important;border-top-right-radius:5px!important;border-bottom-right-radius:5px!important;background:var(--filter);border:1px solid #7c7b7bdf;cursor:pointer}.input-mat,.input-mat-img{border-bottom:1px solid #7c7b7bdf;padding:5px!important;cursor:pointer}.list-item{padding:5px 12px;cursor:pointer;font-size:14px}.filterd{background-color:var(--selected);font-weight:400;cursor:pointer}.list-item-selected{color:var(--primary);font-weight:500}.list-item:hover{background:var(--hover)}.list-panel{background-color:#fff;max-height:400px!important;overflow-y:auto}.arrow-icon{transition:transform .2s ease}.arrow-icon.rotate{transform:rotate(180deg)}.date-dropdown{min-width:280px;padding:0;border:none;border-radius:10px;transition:min-width .25s ease;overflow:hidden}.date-dropdown.custom-open{min-width:560px}.preset-panel{display:flex;flex-direction:column;background-color:#fff}.preset-item{background:transparent;border:none;text-align:left;padding:10px 14px;font-size:14px;cursor:pointer;border-radius:6px;transition:background-color .15s ease}.preset-item:hover{background-color:#f1f3f5}.clear-item{color:#e63f3f;margin-top:6px}.custom-panel{background-color:#fff;border-top:1px solid #dee2e6}@media (min-width: 992px){.custom-panel{border-top:none;border-left:1px solid #dee2e6}}.form-label{font-size:12px;font-weight:500;color:#6c757d}.form-control{font-size:14px;padding:6px 10px}\n"] }]
786
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.DatePipe }], propDecorators: { options: [{
787
+ type: Input
788
+ }], placeholder: [{
789
+ type: Input
790
+ }], showclear: [{
791
+ type: Input
792
+ }], appearance: [{
793
+ type: Input
794
+ }], label: [{
795
+ type: Input
796
+ }], filter: [{
797
+ type: Input
798
+ }], onOutsideClick: [{
799
+ type: HostListener,
800
+ args: ['document:click', ['$event']]
801
+ }] } });
802
+
803
+ class GHOHelp {
804
+ data;
805
+ dialog = inject(MatDialog);
806
+ asyncAction = new EventEmitter();
807
+ triggerParentAsync() {
808
+ const actionPromise = new Promise(resolve => {
809
+ this.asyncAction.emit(resolve);
810
+ });
811
+ actionPromise.then(result => {
812
+ this.data = result;
813
+ });
814
+ }
815
+ ngOnInit() {
816
+ this.triggerParentAsync();
817
+ }
818
+ openhelp() {
819
+ const headerHeight = 80;
820
+ const dialogRef = this.dialog.open(DialogHelp, {
821
+ data: this.data,
822
+ height: `calc(100vh - ${headerHeight}px)`,
823
+ position: { right: '10', top: `${headerHeight}px` },
824
+ panelClass: 'right-dialog-panel',
825
+ enterAnimationDuration: '250ms',
826
+ exitAnimationDuration: '200ms',
827
+ });
828
+ }
829
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: GHOHelp, deps: [], target: i0.ɵɵFactoryTarget.Component });
830
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: GHOHelp, isStandalone: true, selector: "gho-help", inputs: { data: "data" }, outputs: { asyncAction: "asyncAction" }, ngImport: i0, template: `<div class="right pointer" (click)="openhelp()" style="vertical-align: middle;">
831
+ <i class="bi bi-patch-question fs-5 pointer"></i>
832
+ </div>
833
+ `, isInline: true, styles: [".right-dialog-panel .mdc-dialog__surface{height:100%!important;padding:10;border-radius:0!important;animation:slideInRight .5s ease-out}.right-dialog-panel .mdc-dialog__surface .w100{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] });
834
+ }
835
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: GHOHelp, decorators: [{
836
+ type: Component,
837
+ args: [{ imports: [CommonModule], selector: 'gho-help', template: `<div class="right pointer" (click)="openhelp()" style="vertical-align: middle;">
838
+ <i class="bi bi-patch-question fs-5 pointer"></i>
839
+ </div>
840
+ `, styles: [".right-dialog-panel .mdc-dialog__surface{height:100%!important;padding:10;border-radius:0!important;animation:slideInRight .5s ease-out}.right-dialog-panel .mdc-dialog__surface .w100{width:100%}\n"] }]
841
+ }], propDecorators: { data: [{
842
+ type: Input
843
+ }], asyncAction: [{
844
+ type: Output
845
+ }] } });
846
+ class DialogHelp {
847
+ dialogRef = inject((MatDialogRef));
848
+ data = inject(MAT_DIALOG_DATA);
849
+ innerhtml = "No help available now";
850
+ title = "Topic not available";
851
+ ngOnInit() {
852
+ this.title = this.data.t;
853
+ this.innerhtml = this.data.m;
854
+ }
855
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DialogHelp, deps: [], target: i0.ɵɵFactoryTarget.Component });
856
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: DialogHelp, isStandalone: true, selector: "dialog-help", ngImport: i0, template: `
857
+ <div class=w100>
858
+ <table class="w100">
859
+ <tr>
860
+ <td class="section-title"> {{title}}
861
+ </td>
862
+ <td class="section-title right" >
863
+ <i mat-dialog-close class="right bi-x-lg bold pointer"></i>
864
+ </td>
865
+ </tr>
866
+ </table>
867
+ <div class="p10" [innerHTML]="innerhtml"></div>
868
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }] });
869
+ }
870
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: DialogHelp, decorators: [{
871
+ type: Component,
872
+ args: [{
873
+ selector: 'dialog-help',
874
+ template: `
875
+ <div class=w100>
876
+ <table class="w100">
877
+ <tr>
878
+ <td class="section-title"> {{title}}
879
+ </td>
880
+ <td class="section-title right" >
881
+ <i mat-dialog-close class="right bi-x-lg bold pointer"></i>
882
+ </td>
883
+ </tr>
884
+ </table>
885
+ <div class="p10" [innerHTML]="innerhtml"></div>
886
+ `,
887
+ imports: [FormsModule, MatDialogClose,
888
+ ],
889
+ }]
890
+ }] });
891
+
892
+ /*
893
+ * Public API Surface of ghocomps
894
+ */
895
+
896
+ /**
897
+ * Generated bundle index. Do not edit.
898
+ */
899
+
900
+ export { DialogHelp, GHODate, GHOHelp, GHOInput, GHOdropdown };
901
+ //# sourceMappingURL=ghocomps.mjs.map