@unifylib/ui-lib 1.0.3 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/ng-package.json +7 -7
  2. package/package.json +14 -12
  3. package/src/lib/base-model/SearchStrConfig.ts +12 -12
  4. package/src/lib/base-model/api-response.ts +23 -23
  5. package/src/lib/base-model/audit-log-entry.ts +7 -7
  6. package/src/lib/base-model/button-action-settings.ts +29 -25
  7. package/src/lib/base-model/column-def.model.ts +34 -34
  8. package/src/lib/base-model/do-action-request.ts +11 -11
  9. package/src/lib/base-model/feature-item.ts +9 -0
  10. package/src/lib/base-model/field-action.ts +7 -7
  11. package/src/lib/base-model/field-filter.model.ts +7 -14
  12. package/src/lib/base-model/field-info.ts +102 -98
  13. package/src/lib/base-model/field-predicate.model.ts +7 -7
  14. package/src/lib/base-model/filter-request.ts +27 -27
  15. package/src/lib/base-model/filter.model.ts +49 -49
  16. package/src/lib/base-model/get-items-list.ts +24 -24
  17. package/src/lib/base-model/index.ts +11 -11
  18. package/src/lib/base-model/items-total.model.ts +12 -0
  19. package/src/lib/base-model/line-item.model.ts +18 -0
  20. package/src/lib/base-model/lookupItem.ts +21 -21
  21. package/src/lib/base-model/null-snackmessage.ts +9 -9
  22. package/src/lib/base-model/page-info.ts +54 -51
  23. package/src/lib/base-model/report-request.model.ts +33 -33
  24. package/src/lib/base-model/response-envelop.model.ts +15 -15
  25. package/src/lib/base-model/snack-message.model.ts +14 -14
  26. package/src/lib/base-model/snackmessage-interface.ts +7 -7
  27. package/src/lib/base-model/table-column.interface.ts +29 -29
  28. package/src/lib/base-model/table-page-user-action.interface.ts +33 -33
  29. package/src/lib/base-model/workflow/workflow-steps.model.ts +9 -9
  30. package/src/lib/base-model/workflow/workflow.model.ts +52 -52
  31. package/src/lib/components/action-comment/action-comment.component.css +52 -0
  32. package/src/lib/components/action-comment/action-comment.component.html +47 -0
  33. package/src/lib/components/{rejection-comment → action-comment}/action-comment.component.spec.ts +23 -23
  34. package/src/lib/components/{rejection-comment → action-comment}/action-comment.component.ts +102 -86
  35. package/src/lib/components/action-confirmation/action-confirmation.component.css +46 -34
  36. package/src/lib/components/action-confirmation/action-confirmation.component.html +32 -18
  37. package/src/lib/components/action-confirmation/action-confirmation.component.spec.ts +23 -23
  38. package/src/lib/components/action-confirmation/action-confirmation.component.ts +58 -58
  39. package/src/lib/components/activity-report-form/activity-report-form.component.html +110 -109
  40. package/src/lib/components/activity-report-form/activity-report-form.component.scss +69 -0
  41. package/src/lib/components/activity-report-form/activity-report-form.component.spec.ts +25 -25
  42. package/src/lib/components/activity-report-form/activity-report-form.component.ts +616 -605
  43. package/src/lib/components/advanced-filter/field-filter/field-filter.component.html +8 -0
  44. package/src/lib/components/advanced-filter/field-filter/field-filter.component.scss +0 -0
  45. package/src/lib/components/advanced-filter/field-filter/field-filter.component.spec.ts +25 -0
  46. package/src/lib/components/advanced-filter/field-filter/field-filter.component.ts +55 -0
  47. package/src/lib/components/advanced-filter/filter-builder/filter-builder.component.html +36 -0
  48. package/src/lib/components/advanced-filter/filter-builder/filter-builder.component.scss +130 -0
  49. package/src/lib/components/advanced-filter/filter-builder/filter-builder.component.spec.ts +25 -0
  50. package/src/lib/components/advanced-filter/filter-builder/filter-builder.component.ts +186 -0
  51. package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.css +51 -51
  52. package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.html +23 -23
  53. package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.spec.ts +23 -23
  54. package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.ts +69 -69
  55. package/src/lib/components/audit-log-list/audit-log.component.html +26 -23
  56. package/src/lib/components/audit-log-list/audit-log.component.scss +50 -0
  57. package/src/lib/components/audit-log-list/audit-log.component.spec.ts +25 -25
  58. package/src/lib/components/audit-log-list/audit-log.component.ts +114 -116
  59. package/src/lib/components/auto-complete/auto-complete.component.css +55 -14
  60. package/src/lib/components/auto-complete/auto-complete.component.html +45 -29
  61. package/src/lib/components/auto-complete/auto-complete.component.spec.ts +23 -23
  62. package/src/lib/components/auto-complete/auto-complete.component.ts +331 -330
  63. package/src/lib/components/base-form/base-form.component.html +59 -58
  64. package/src/lib/components/base-form/base-form.component.scss +68 -0
  65. package/src/lib/components/base-form/base-form.component.spec.ts +25 -25
  66. package/src/lib/components/base-form/base-form.component.ts +323 -305
  67. package/src/lib/components/base-form-canvas/base-form-canvas.component.css +196 -22
  68. package/src/lib/components/base-form-canvas/base-form-canvas.component.html +1095 -1006
  69. package/src/lib/components/base-form-canvas/base-form-canvas.component.spec.ts +23 -23
  70. package/src/lib/components/base-form-canvas/base-form-canvas.component.ts +680 -573
  71. package/src/lib/components/base-input-dialog/base-input-dialog.component.css +67 -0
  72. package/src/lib/components/base-input-dialog/base-input-dialog.component.html +47 -42
  73. package/src/lib/components/base-input-dialog/base-input-dialog.component.spec.ts +23 -23
  74. package/src/lib/components/base-input-dialog/base-input-dialog.component.ts +77 -78
  75. package/src/lib/components/base-table/base-table.component.html +268 -242
  76. package/src/lib/components/base-table/base-table.component.scss +140 -31
  77. package/src/lib/components/base-table/base-table.component.spec.ts +25 -25
  78. package/src/lib/components/base-table/base-table.component.ts +621 -568
  79. package/src/lib/components/button-actions/button-actions.component.html +27 -28
  80. package/src/lib/components/button-actions/button-actions.component.scss +101 -6
  81. package/src/lib/components/button-actions/button-actions.component.spec.ts +23 -23
  82. package/src/lib/components/button-actions/button-actions.component.ts +70 -72
  83. package/src/lib/components/editable-base-table/editable-base-table.component.html +337 -372
  84. package/src/lib/components/editable-base-table/editable-base-table.component.scss +126 -44
  85. package/src/lib/components/editable-base-table/editable-base-table.component.spec.ts +25 -25
  86. package/src/lib/components/editable-base-table/editable-base-table.component.ts +579 -570
  87. package/src/lib/components/equation-builder/equation-builder.component.css +39 -0
  88. package/src/lib/components/equation-builder/equation-builder.component.html +31 -31
  89. package/src/lib/components/equation-builder/equation-builder.component.spec.ts +23 -23
  90. package/src/lib/components/equation-builder/equation-builder.component.ts +119 -121
  91. package/src/lib/components/item-line-editor/item-line-editor.component.html +102 -0
  92. package/src/lib/components/item-line-editor/item-line-editor.component.scss +152 -0
  93. package/src/lib/components/item-line-editor/item-line-editor.component.spec.ts +23 -0
  94. package/src/lib/components/item-line-editor/item-line-editor.component.ts +306 -0
  95. package/src/lib/components/multi-auto-complete/multi-auto-complete.component.css +19 -11
  96. package/src/lib/components/multi-auto-complete/multi-auto-complete.component.html +38 -38
  97. package/src/lib/components/multi-auto-complete/multi-auto-complete.component.spec.ts +23 -23
  98. package/src/lib/components/multi-auto-complete/multi-auto-complete.component.ts +315 -317
  99. package/src/lib/components/paginator/paginator.component.css +65 -25
  100. package/src/lib/components/paginator/paginator.component.html +30 -34
  101. package/src/lib/components/paginator/paginator.component.ts +87 -94
  102. package/src/lib/components/report-details-dialog/report-details-dialog.component.css +17 -17
  103. package/src/lib/components/report-details-dialog/report-details-dialog.component.html +16 -16
  104. package/src/lib/components/report-details-dialog/report-details-dialog.component.spec.ts +23 -23
  105. package/src/lib/components/report-details-dialog/report-details-dialog.component.ts +111 -113
  106. package/src/lib/components/report-form/report-form.component.html +92 -94
  107. package/src/lib/components/report-form/report-form.component.scss +51 -0
  108. package/src/lib/components/report-form/report-form.component.spec.ts +25 -25
  109. package/src/lib/components/report-form/report-form.component.ts +599 -588
  110. package/src/lib/components/search-bar/search-bar.component.html +51 -62
  111. package/src/lib/components/search-bar/search-bar.component.scss +63 -8
  112. package/src/lib/components/search-bar/search-bar.component.spec.ts +25 -25
  113. package/src/lib/components/search-bar/search-bar.component.ts +68 -70
  114. package/src/lib/components/section-form-canvas/section-form-canvas.component.html +43 -0
  115. package/src/lib/components/section-form-canvas/section-form-canvas.component.scss +81 -0
  116. package/src/lib/components/section-form-canvas/section-form-canvas.component.spec.ts +23 -0
  117. package/src/lib/components/section-form-canvas/section-form-canvas.component.ts +67 -0
  118. package/src/lib/components/shared/action-button/action-button.component.html +12 -0
  119. package/src/lib/components/shared/action-button/action-button.component.scss +45 -0
  120. package/src/lib/components/shared/action-button/action-button.component.ts +51 -0
  121. package/src/lib/components/shared/action-card/action-card.component.html +78 -0
  122. package/src/lib/components/shared/action-card/action-card.component.scss +238 -0
  123. package/src/lib/components/shared/action-card/action-card.component.ts +56 -0
  124. package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.css +135 -54
  125. package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.html +36 -22
  126. package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.spec.ts +23 -23
  127. package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.ts +71 -45
  128. package/src/lib/components/shared-list/shared-list.component.html +17 -17
  129. package/src/lib/components/shared-list/shared-list.component.spec.ts +23 -23
  130. package/src/lib/components/shared-list/shared-list.component.ts +53 -53
  131. package/src/lib/components/snackbar-static/snackbar-static.component.html +20 -0
  132. package/src/lib/components/snackbar-static/snackbar-static.component.scss +135 -0
  133. package/src/lib/components/snackbar-static/snackbar-static.component.ts +26 -0
  134. package/src/lib/components/title-bar/title-bar.component.html +35 -31
  135. package/src/lib/components/title-bar/title-bar.component.scss +126 -23
  136. package/src/lib/components/title-bar/title-bar.component.spec.ts +23 -23
  137. package/src/lib/components/title-bar/title-bar.component.ts +126 -119
  138. package/src/lib/services/backend-service.ts +287 -286
  139. package/src/lib/services/index.ts +3 -3
  140. package/src/lib/services/top-panel.ts +17 -17
  141. package/src/lib/services/trigger-form.service.ts +11 -11
  142. package/src/lib/share-module/shared-module.ts +10 -10
  143. package/src/lib/utils/base-utils.ts +102 -102
  144. package/src/lib/validators/date-range-validator.ts +31 -31
  145. package/src/lib/validators/index.ts +3 -3
  146. package/src/lib/validators/match-list.validator.ts +10 -10
  147. package/src/lib/validators/multi-email-validator.ts +15 -15
  148. package/src/public-api.ts +29 -21
  149. package/tsconfig.lib.json +15 -15
  150. package/tsconfig.lib.prod.json +11 -11
  151. package/tsconfig.spec.json +15 -15
  152. package/src/lib/components/rejection-comment/action-comment.component.css +0 -33
  153. package/src/lib/components/rejection-comment/action-comment.component.html +0 -46
  154. package/src/lib/styles/invoiceq-theme.scss +0 -252
  155. package/src/lib/styles/styles.scss +0 -1723
@@ -1,28 +1,27 @@
1
- <ng-container *ngIf="buttonsAction; else list_Action">
2
- <div fxLayout="row" fxLayoutAlign="start start" style="padding: 0 10px">
3
- <div fxLayout="column" *ngFor="let action of actions; let i = index" style="padding: 0 10px">
4
- <button [ngClass]="action.isPrimary ? 'btn-background-primary' : 'btn-none-background-primary'"
5
- (click)="getClickedAction(action)"
6
- [style]="'width: auto;border: var(--primary-color-2nd) solid 1px;cursor: pointer'"
7
- class="icon-design"
8
- [disabled]="disabled"
9
- >
10
- {{ action.label | translate}}
11
- <mat-icon *ngIf="action.icon?.length" svgIcon={{action.icon}} class="svgColor"></mat-icon>
12
- </button>
13
- </div>
14
- </div>
15
- </ng-container>
16
-
17
- <ng-template #list_Action>
18
- <div *ngIf="listAction?.length > 0">
19
- <button mat-icon-button [matMenuTriggerFor]="menu" (click)="$event.stopPropagation()" style="justify-content: center; color: grey">
20
- <mat-icon>more_vert</mat-icon>
21
- </button>
22
- <mat-menu #menu="matMenu">
23
- <button mat-menu-item *ngFor="let list_Action of listAction" (click)="getClickedAction(list_Action)">
24
- <span>{{list_Action.label}}</span>
25
- </button>
26
- </mat-menu>
27
- </div>
28
- </ng-template>
1
+ <ng-container *ngIf="buttonsAction; else list_Action">
2
+ <div class="action-buttons-container" *ngIf="(actions?.length ? actions : listAction)?.length > 0">
3
+ <button
4
+ *ngFor="let action of (actions?.length ? actions : listAction); let i = index"
5
+ class="action-button"
6
+ (click)="getClickedAction(action)"
7
+ [disabled]="disabled"
8
+ [attr.id]="action.id || ('actions-btn-' + action.label)"
9
+ [title]="action.label | translate"
10
+ >
11
+ <mat-icon *ngIf="action.icon?.length" class="action-icon">{{ action.icon }}</mat-icon>
12
+ </button>
13
+ </div>
14
+ </ng-container>
15
+
16
+ <ng-template #list_Action>
17
+ <div *ngIf="listAction?.length > 0">
18
+ <button mat-icon-button [matMenuTriggerFor]="menu" (click)="$event.stopPropagation()" style="justify-content: center; color: grey" id="actions-menu-trigger">
19
+ <mat-icon>more_vert</mat-icon>
20
+ </button>
21
+ <mat-menu #menu="matMenu">
22
+ <button mat-menu-item *ngFor="let list_Action of listAction" (click)="getClickedAction(list_Action)" [attr.id]="list_Action.id || ('actions-menu-item-' + list_Action.label)">
23
+ <span>{{ list_Action.label | translate }}</span>
24
+ </button>
25
+ </mat-menu>
26
+ </div>
27
+ </ng-template>
@@ -1,6 +1,101 @@
1
-
2
- .svgColor{
3
- fill: transparent !important;
4
- stroke: var(--accent-color) !important;
5
-
6
- }
1
+ .svgColor{
2
+ fill: transparent !important;
3
+ stroke: var(--accent-color) !important;
4
+ }
5
+
6
+ .action-buttons-container {
7
+ display: flex;
8
+ flex-direction: row;
9
+ gap: 16px;
10
+ align-items: center;
11
+ padding: 0;
12
+ }
13
+
14
+ .action-button {
15
+ display: flex;
16
+ align-items: center;
17
+ justify-content: center;
18
+ height: 28px;
19
+ min-width: 24px;
20
+ background: white;
21
+ border: 1px solid #a5c4d2;
22
+ border-radius: 9999px;
23
+ cursor: pointer;
24
+ padding: 0 16px;
25
+ transition: all 0.2s ease;
26
+ box-sizing: border-box;
27
+
28
+ &:hover:not(:disabled) {
29
+ border-color: #8ba8b8;
30
+ background: #f8fafb;
31
+ }
32
+
33
+ &:active:not(:disabled) {
34
+ transform: scale(0.98);
35
+ background: #f0f4f6;
36
+ }
37
+
38
+ &:disabled {
39
+ opacity: 0.5;
40
+ cursor: not-allowed;
41
+ }
42
+ }
43
+
44
+ .action-icon {
45
+ width: 18px;
46
+ height: 18px;
47
+ font-size: 18px;
48
+ color: #1a365d;
49
+ display: flex;
50
+ align-items: center;
51
+ justify-content: center;
52
+
53
+ ::ng-deep svg {
54
+ fill: #1a365d;
55
+ stroke: #1a365d;
56
+ width: 18px;
57
+ height: 18px;
58
+ }
59
+ }
60
+
61
+ .flex-row {
62
+ display: flex;
63
+ flex-direction: row;
64
+ }
65
+
66
+ .flex-column {
67
+ display: flex;
68
+ flex-direction: column;
69
+ }
70
+
71
+ .align-start {
72
+ justify-content: flex-start;
73
+ align-items: flex-start;
74
+ }
75
+
76
+ .align-center {
77
+ justify-content: center;
78
+ align-items: center;
79
+ }
80
+
81
+ .align-end {
82
+ justify-content: flex-end;
83
+ align-items: flex-end;
84
+ }
85
+
86
+ .gap-0 {
87
+ gap: 0;
88
+ }
89
+
90
+ .gap-5 {
91
+ gap: 5px;
92
+ }
93
+
94
+ .gap-10 {
95
+ gap: 10px;
96
+ }
97
+
98
+ .padding-horizontal-10 {
99
+ padding-left: 10px;
100
+ padding-right: 10px;
101
+ }
@@ -1,23 +1,23 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { ButtonActionsComponent } from './button-actions.component';
4
-
5
- describe('ButtonActionsComponent', () => {
6
- let component: ButtonActionsComponent;
7
- let fixture: ComponentFixture<ButtonActionsComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- imports: [ButtonActionsComponent]
12
- })
13
- .compileComponents();
14
-
15
- fixture = TestBed.createComponent(ButtonActionsComponent);
16
- component = fixture.componentInstance;
17
- fixture.detectChanges();
18
- });
19
-
20
- it('should create', () => {
21
- expect(component).toBeTruthy();
22
- });
23
- });
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { ButtonActionsComponent } from './button-actions.component';
4
+
5
+ describe('ButtonActionsComponent', () => {
6
+ let component: ButtonActionsComponent;
7
+ let fixture: ComponentFixture<ButtonActionsComponent>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ imports: [ButtonActionsComponent]
12
+ })
13
+ .compileComponents();
14
+
15
+ fixture = TestBed.createComponent(ButtonActionsComponent);
16
+ component = fixture.componentInstance;
17
+ fixture.detectChanges();
18
+ });
19
+
20
+ it('should create', () => {
21
+ expect(component).toBeTruthy();
22
+ });
23
+ });
@@ -1,72 +1,70 @@
1
- import {Component, EventEmitter, Input, Output} from '@angular/core';
2
- import {ButtonActionSettings} from "../../base-model/button-action-settings";
3
- import {MatDialog} from "@angular/material/dialog";
4
- import {ActionCommentComponent} from "../rejection-comment/action-comment.component";
5
- import {MatIcon} from "@angular/material/icon";
6
- import {MatMenu, MatMenuItem, MatMenuTrigger} from "@angular/material/menu";
7
- import {MatIconButton} from "@angular/material/button";
8
- import {NgClass, NgForOf, NgIf} from "@angular/common";
9
- import {TranslateModule} from "@ngx-translate/core";
10
- import {FlexModule} from "@angular/flex-layout";
11
-
12
- @Component({
13
- selector: 'app-button-actions',
14
- standalone: true,
15
- imports: [
16
- MatIcon,
17
- MatMenuTrigger,
18
- MatIconButton,
19
- MatMenu,
20
- MatMenuItem,
21
- NgIf,
22
- NgClass,
23
- FlexModule,
24
- NgForOf,
25
- TranslateModule
26
- ],
27
- templateUrl: './button-actions.component.html',
28
- styleUrl: './button-actions.component.scss'
29
- })
30
- export class ButtonActionsComponent {
31
- constructor(public dialog: MatDialog) { }
32
-
33
- @Input()
34
- actions: ButtonActionSettings[] =[];
35
- @Input()
36
- disabled?: boolean = false;
37
-
38
- @Output()
39
- clickedButton: EventEmitter<any> = new EventEmitter();
40
-
41
- @Input()
42
- buttonsAction: boolean = false;
43
-
44
- @Input()
45
- listAction: ButtonActionSettings[] = [];
46
- ngOnInit(): void {
47
- }
48
-
49
-
50
- getClickedAction(action: ButtonActionSettings) {
51
- if (action.showCommentDialog === true) {
52
- const dialogRef = this.dialog.open(ActionCommentComponent, {
53
- data: {label: action.label, isTermination: action.commentRequired, external: false,
54
- warningMsg: false},
55
- width: '600px',
56
- height: 'auto',
57
- direction: 'ltr' // this.authService.dir === 'rtl' ? 'rtl': 'ltr'
58
- });
59
- dialogRef.afterClosed().subscribe(result => {
60
- if (result) {
61
- action.comment = result.comment;
62
- action.shareExternal = result.shareExternal;
63
- this.clickedButton.emit(action);
64
- }
65
- });
66
-
67
- } else {
68
- this.clickedButton.emit(action);
69
- }
70
- }
71
-
72
- }
1
+ import {Component, EventEmitter, Input, Output} from '@angular/core';
2
+ import {ButtonActionSettings} from "../../base-model/button-action-settings";
3
+ import {MatDialog} from "@angular/material/dialog";
4
+ import {ActionCommentComponent} from "../action-comment/action-comment.component";
5
+ import {MatIcon} from "@angular/material/icon";
6
+ import {MatMenu, MatMenuItem, MatMenuTrigger} from "@angular/material/menu";
7
+ import {MatIconButton} from "@angular/material/button";
8
+ import {NgClass, NgForOf, NgIf} from "@angular/common";
9
+ import {TranslateModule} from "@ngx-translate/core";
10
+
11
+ @Component({
12
+ selector: 'app-button-actions',
13
+ standalone: true,
14
+ imports: [
15
+ MatIcon,
16
+ MatMenuTrigger,
17
+ MatIconButton,
18
+ MatMenu,
19
+ MatMenuItem,
20
+ NgIf,
21
+ NgClass,
22
+ NgForOf,
23
+ TranslateModule
24
+ ],
25
+ templateUrl: './button-actions.component.html',
26
+ styleUrl: './button-actions.component.scss'
27
+ })
28
+ export class ButtonActionsComponent {
29
+ constructor(public dialog: MatDialog) { }
30
+
31
+ @Input()
32
+ actions: ButtonActionSettings[] =[];
33
+ @Input()
34
+ disabled?: boolean = false;
35
+
36
+ @Output()
37
+ clickedButton: EventEmitter<any> = new EventEmitter();
38
+
39
+ @Input()
40
+ buttonsAction: boolean = false;
41
+
42
+ @Input()
43
+ listAction: ButtonActionSettings[] = [];
44
+ ngOnInit(): void {
45
+ }
46
+
47
+
48
+ getClickedAction(action: ButtonActionSettings) {
49
+ if (action.showCommentDialog === true) {
50
+ const dialogRef = this.dialog.open(ActionCommentComponent, {
51
+ data: {label: action.label, isTermination: action.commentRequired, external: false,
52
+ warningMsg: false},
53
+ width: '600px',
54
+ height: 'auto',
55
+ direction: 'ltr' // this.authService.dir === 'rtl' ? 'rtl': 'ltr'
56
+ });
57
+ dialogRef.afterClosed().subscribe(result => {
58
+ if (result) {
59
+ action.comment = result.comment;
60
+ action.shareExternal = result.shareExternal;
61
+ this.clickedButton.emit(action);
62
+ }
63
+ });
64
+
65
+ } else {
66
+ this.clickedButton.emit(action);
67
+ }
68
+ }
69
+
70
+ }