@js-smart/ng-kit 20.5.0 → 20.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, ChangeDetectorRef, input, signal, output, effect, Component, Pipe, Injectable, HostListener, ViewChild, forwardRef, Input, Optional, Directive, ElementRef, Renderer2, Inject, computed } from '@angular/core';
2
+ import { inject, ChangeDetectorRef, input, signal, output, effect, Component, Pipe, Injectable, HostListener, ViewChild, forwardRef, Input, Optional, DOCUMENT, Directive, ElementRef, ViewContainerRef, Inject, computed } from '@angular/core';
3
3
  import { trigger, state, transition, style, animate } from '@angular/animations';
4
4
  import { BehaviorSubject, Subject, throttleTime } from 'rxjs';
5
5
  import { filter, takeUntil, startWith, map } from 'rxjs/operators';
@@ -602,6 +602,7 @@ class PrintOptions {
602
602
  */
603
603
  class NgxPrintDirective {
604
604
  constructor() {
605
+ this.document = inject(DOCUMENT);
605
606
  /**
606
607
  * If `true`, uses CSS of HTMl element, otherwise no CSS applied
607
608
  *
@@ -670,8 +671,7 @@ class NgxPrintDirective {
670
671
  */
671
672
  set printStyle({ values }) {
672
673
  for (const key in values) {
673
- if (values.hasOwnProperty(key)) {
674
- // @ts-ignore
674
+ if (Object.prototype.hasOwnProperty.call(values, key)) {
675
675
  this.printStyleArray.push((key + JSON.stringify(values[key])).replace(/['"]+/g, ''));
676
676
  }
677
677
  }
@@ -745,7 +745,7 @@ class NgxPrintDirective {
745
745
  links = NgxPrintDirective.getElementTag('link');
746
746
  }
747
747
  if (this.printSectionId) {
748
- printContents = document.getElementById(this.printSectionId)?.innerHTML;
748
+ printContents = this.document.getElementById(this.printSectionId)?.innerHTML;
749
749
  popupWin = window.open('', '_blank', 'top=0,left=0,height=auto,width=auto');
750
750
  popupWin?.document.open();
751
751
  popupWin?.document.write(`
@@ -787,10 +787,10 @@ class NgxPrintDirective {
787
787
  */
788
788
  hideMatPaginatorBeforePrinting() {
789
789
  // @ts-ignore
790
- document.getElementById(this.paginatorId).style.display = 'none';
791
- if (document.getElementById(this.inputFilterId) != null) {
790
+ this.document.getElementById(this.paginatorId).style.display = 'none';
791
+ if (this.document.getElementById(this.inputFilterId) != null) {
792
792
  // @ts-ignore
793
- document.getElementById(this.inputFilterId).style.display = 'none';
793
+ this.document.getElementById(this.inputFilterId).style.display = 'none';
794
794
  }
795
795
  }
796
796
  /**
@@ -802,10 +802,10 @@ class NgxPrintDirective {
802
802
  showMatPaginatorAfterPrinting() {
803
803
  this.matTableDataSource.paginator = this.paginator;
804
804
  // @ts-ignore
805
- document.getElementById(this.paginatorId).style.display = 'block';
806
- if (document.getElementById(this.inputFilterId) != null) {
805
+ this.document.getElementById(this.paginatorId).style.display = 'block';
806
+ if (this.document.getElementById(this.inputFilterId) != null) {
807
807
  // @ts-ignore
808
- document.getElementById(this.inputFilterId).style.display = 'block';
808
+ this.document.getElementById(this.inputFilterId).style.display = 'block';
809
809
  }
810
810
  }
811
811
  /**
@@ -896,6 +896,84 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
896
896
  args: ['click', ['$event']]
897
897
  }] } });
898
898
 
899
+ class BaseButtonDirective {
900
+ constructor() {
901
+ this.icon = input('', ...(ngDevMode ? [{ debugName: "icon" }] : []));
902
+ this.loadingLabel = input('Loading...', ...(ngDevMode ? [{ debugName: "loadingLabel" }] : []));
903
+ this.loading = input(false, ...(ngDevMode ? [{ debugName: "loading" }] : []));
904
+ this.elementRef = inject(ElementRef);
905
+ this.document = inject(DOCUMENT);
906
+ this.originalText = signal('', ...(ngDevMode ? [{ debugName: "originalText" }] : []));
907
+ this.iconSpan = signal(null, ...(ngDevMode ? [{ debugName: "iconSpan" }] : []));
908
+ this.elementRef.nativeElement.classList.add('btn');
909
+ effect(() => {
910
+ this.updateContent();
911
+ });
912
+ }
913
+ ngOnInit() {
914
+ // Capture original text before creating icon
915
+ this.originalText.set(this.elementRef.nativeElement.textContent?.trim() || 'Button');
916
+ // Create icon after capturing text
917
+ this.createIcon();
918
+ }
919
+ /**
920
+ * Create icon element if icon name is provided
921
+ */
922
+ createIcon() {
923
+ if (this.icon()) {
924
+ const iconElement = this.document.createElement('mat-icon');
925
+ iconElement.classList.add('mat-icon', 'material-icons', 'pe-2');
926
+ iconElement.textContent = this.icon();
927
+ this.iconSpan.set(iconElement);
928
+ }
929
+ }
930
+ /**
931
+ * Update content of the button
932
+ */
933
+ updateContent() {
934
+ const element = this.elementRef.nativeElement;
935
+ element.innerHTML = '';
936
+ if (this.loading()) {
937
+ this.showLoadingState(element);
938
+ }
939
+ else {
940
+ this.showNormalState(element);
941
+ }
942
+ }
943
+ /**
944
+ * Show loading state. Add spinner and loadingLabel text
945
+ */
946
+ showLoadingState(element) {
947
+ // Create a new span element
948
+ const newSpan = this.document.createElement('span');
949
+ // Set its text content
950
+ newSpan.classList.add('spinner-border', 'spinner-border-sm', 'me-2');
951
+ newSpan.setAttribute('role', 'status');
952
+ // Append the new element to the host element
953
+ element.appendChild(newSpan);
954
+ element.appendChild(this.document.createTextNode(this.loadingLabel()));
955
+ element.setAttribute('disabled', 'true');
956
+ }
957
+ /**
958
+ * Show normal state. Add icon and original text
959
+ */
960
+ showNormalState(element) {
961
+ // Add icon and original text
962
+ const iconElement = this.iconSpan();
963
+ if (iconElement) {
964
+ element.appendChild(iconElement);
965
+ }
966
+ // Append text node instead of setting textContent (which overwrites the icon)
967
+ element.appendChild(this.document.createTextNode(this.originalText()));
968
+ element.removeAttribute('disabled');
969
+ }
970
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: BaseButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
971
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.0", type: BaseButtonDirective, isStandalone: true, inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, loadingLabel: { classPropertyName: "loadingLabel", publicName: "loadingLabel", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
972
+ }
973
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: BaseButtonDirective, decorators: [{
974
+ type: Directive
975
+ }], ctorParameters: () => [] });
976
+
899
977
  class BaseButtonComponent {
900
978
  constructor() {
901
979
  /**
@@ -1023,11 +1101,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
1023
1101
  `, styles: [".primary-button,.primary-button:hover,.primary-button:active,.primary-button:visited{color:#fff!important;background-color:var(--primary-color)!important}.secondary-button,.secondary-button:hover,.secondary-button:active,.secondary-button:visited{color:#fff!important;background-color:var(--secondary-color)!important}.success-button,.success-button:hover,.success-button:active,.success-button:visited{color:#fff!important;background-color:var(--success-color)!important}.delete-button,.delete-button:hover,.delete-button:active,.success-button:visited{color:#fff!important;background-color:var(--delete-color)!important}\n"] }]
1024
1102
  }], ctorParameters: () => [] });
1025
1103
 
1104
+ class BsLinkButtonDirective {
1105
+ constructor() {
1106
+ this.icon = input('search', ...(ngDevMode ? [{ debugName: "icon" }] : []));
1107
+ this.elementRef = inject(ElementRef);
1108
+ this.document = inject(DOCUMENT);
1109
+ this.elementRef.nativeElement.classList.add('btn', 'text-primary');
1110
+ effect(() => {
1111
+ this.updateContent();
1112
+ });
1113
+ }
1114
+ updateContent() {
1115
+ // if icon present, add material-icons class and set text content
1116
+ if (this.icon()) {
1117
+ const iconSpan = this.document.createElement('span');
1118
+ iconSpan.classList.add('material-icons', 'pe-2');
1119
+ iconSpan.textContent = this.icon();
1120
+ this.elementRef.nativeElement.appendChild(iconSpan);
1121
+ }
1122
+ }
1123
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: BsLinkButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1124
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.0", type: BsLinkButtonDirective, isStandalone: true, selector: "[bsLinkButton]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
1125
+ }
1126
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: BsLinkButtonDirective, decorators: [{
1127
+ type: Directive,
1128
+ args: [{
1129
+ selector: '[bsLinkButton]',
1130
+ }]
1131
+ }], ctorParameters: () => [] });
1132
+
1026
1133
  class CloseButtonDirective {
1027
1134
  constructor() {
1028
1135
  this.elementRef = inject(ElementRef);
1029
- this.renderer = inject(Renderer2);
1030
- this.renderer.addClass(this.elementRef.nativeElement, 'secondary-button');
1136
+ this.elementRef.nativeElement.classList.add('secondary-button');
1031
1137
  }
1032
1138
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: CloseButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1033
1139
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.0", type: CloseButtonDirective, isStandalone: true, selector: "[closeButton]", ngImport: i0 }); }
@@ -1097,6 +1203,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
1097
1203
  `, styles: [".primary-button,.primary-button:hover,.primary-button:active,.primary-button:visited{color:#fff!important;background-color:var(--primary-color)!important}.secondary-button,.secondary-button:hover,.secondary-button:active,.secondary-button:visited{color:#fff!important;background-color:var(--secondary-color)!important}.success-button,.success-button:hover,.success-button:active,.success-button:visited{color:#fff!important;background-color:var(--success-color)!important}.delete-button,.delete-button:hover,.delete-button:active,.success-button:visited{color:#fff!important;background-color:var(--delete-color)!important}\n"] }]
1098
1204
  }], ctorParameters: () => [] });
1099
1205
 
1206
+ class DeleteButtonDirective extends BaseButtonDirective {
1207
+ constructor() {
1208
+ super();
1209
+ this.icon = input('delete', ...(ngDevMode ? [{ debugName: "icon" }] : []));
1210
+ this.loadingLabel = input('Deleting...', ...(ngDevMode ? [{ debugName: "loadingLabel" }] : []));
1211
+ this.elementRef.nativeElement.classList.add('delete-button');
1212
+ }
1213
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: DeleteButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1214
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.0", type: DeleteButtonDirective, isStandalone: true, selector: "[deleteButton]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, loadingLabel: { classPropertyName: "loadingLabel", publicName: "loadingLabel", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
1215
+ }
1216
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: DeleteButtonDirective, decorators: [{
1217
+ type: Directive,
1218
+ args: [{
1219
+ selector: '[deleteButton]',
1220
+ }]
1221
+ }], ctorParameters: () => [] });
1222
+
1100
1223
  const EDIT_ICON = `
1101
1224
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
1102
1225
  <path d="M490.3 40.4C512.2 62.27 512.2 97.73 490.3 119.6L460.3 149.7L362.3 51.72L392.4 21.66C414.3-.2135 449.7-.2135 471.6 21.66L490.3 40.4zM172.4 241.7L339.7 74.34L437.7 172.3L270.3 339.6C264.2 345.8 256.7 350.4 248.4 353.2L159.6 382.8C150.1 385.6 141.5 383.4 135 376.1C128.6 370.5 126.4 361 129.2 352.4L158.8 263.6C161.6 255.3 166.2 247.8 172.4 241.7V241.7zM192 63.1C209.7 63.1 224 78.33 224 95.1C224 113.7 209.7 127.1 192 127.1H96C78.33 127.1 64 142.3 64 159.1V416C64 433.7 78.33 448 96 448H352C369.7 448 384 433.7 384 416V319.1C384 302.3 398.3 287.1 416 287.1C433.7 287.1 448 302.3 448 319.1V416C448 469 405 512 352 512H96C42.98 512 0 469 0 416V159.1C0 106.1 42.98 63.1 96 63.1H192z"/>
@@ -1107,11 +1230,15 @@ class EditSolidSvgComponent {
1107
1230
  iconRegistry.addSvgIconLiteral('edit-solid', sanitizer.bypassSecurityTrustHtml(EDIT_ICON));
1108
1231
  }
1109
1232
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: EditSolidSvgComponent, deps: [{ token: i1$4.MatIconRegistry }, { token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
1110
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.0", type: EditSolidSvgComponent, isStandalone: true, selector: "edit-solid-svg", ngImport: i0, template: ` <mat-icon aria-hidden="false" aria-label="Edit" svgIcon="edit-solid"></mat-icon> `, isInline: true, styles: [".mat-icon{vertical-align:bottom;padding-left:5px}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
1233
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.0", type: EditSolidSvgComponent, isStandalone: true, selector: "edit-solid-svg", ngImport: i0, template: ` <mat-icon aria-hidden="false" aria-label="Edit" svgIcon="edit-solid" class="pe-2 align-bottom"></mat-icon> `, isInline: true, dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
1111
1234
  }
1112
1235
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: EditSolidSvgComponent, decorators: [{
1113
1236
  type: Component,
1114
- args: [{ selector: 'edit-solid-svg', imports: [MatIconModule], template: ` <mat-icon aria-hidden="false" aria-label="Edit" svgIcon="edit-solid"></mat-icon> `, styles: [".mat-icon{vertical-align:bottom;padding-left:5px}\n"] }]
1237
+ args: [{
1238
+ selector: 'edit-solid-svg',
1239
+ imports: [MatIconModule],
1240
+ template: ` <mat-icon aria-hidden="false" aria-label="Edit" svgIcon="edit-solid" class="pe-2 align-bottom"></mat-icon> `,
1241
+ }]
1115
1242
  }], ctorParameters: () => [{ type: i1$4.MatIconRegistry }, { type: i1.DomSanitizer }] });
1116
1243
 
1117
1244
  class EditBsButtonComponent extends BaseButtonComponent {
@@ -1164,6 +1291,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
1164
1291
  `, styles: [".primary-button,.primary-button:hover,.primary-button:active,.primary-button:visited{color:#fff!important;background-color:var(--primary-color)!important}.secondary-button,.secondary-button:hover,.secondary-button:active,.secondary-button:visited{color:#fff!important;background-color:var(--secondary-color)!important}.success-button,.success-button:hover,.success-button:active,.success-button:visited{color:#fff!important;background-color:var(--success-color)!important}.delete-button,.delete-button:hover,.delete-button:active,.success-button:visited{color:#fff!important;background-color:var(--delete-color)!important}\n"] }]
1165
1292
  }], ctorParameters: () => [] });
1166
1293
 
1294
+ class EditBsButtonDirective {
1295
+ constructor() {
1296
+ this.elementRef = inject(ElementRef);
1297
+ this.viewContainerRef = inject(ViewContainerRef);
1298
+ this.document = inject(DOCUMENT);
1299
+ this.originalText = signal('', ...(ngDevMode ? [{ debugName: "originalText" }] : []));
1300
+ this.iconComponentRef = signal(null, ...(ngDevMode ? [{ debugName: "iconComponentRef" }] : []));
1301
+ }
1302
+ ngOnInit() {
1303
+ // Add the btn class first
1304
+ this.elementRef.nativeElement.classList.add('btn', 'text-primary');
1305
+ // Capture original text before creating icon
1306
+ this.originalText.set(this.elementRef.nativeElement.textContent?.trim() || 'Edit');
1307
+ // Update content to show icon and text
1308
+ this.updateContent();
1309
+ }
1310
+ updateContent() {
1311
+ // Create the EditSolidSvgComponent properly using Angular's component system
1312
+ const componentRef = this.viewContainerRef.createComponent(EditSolidSvgComponent);
1313
+ this.iconComponentRef.set(componentRef);
1314
+ // Clear the original content and append the icon component
1315
+ this.elementRef.nativeElement.textContent = '';
1316
+ this.elementRef.nativeElement.appendChild(componentRef.location.nativeElement);
1317
+ // Add text after the icon
1318
+ this.elementRef.nativeElement.appendChild(this.document.createTextNode(' ' + this.originalText()));
1319
+ }
1320
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: EditBsButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1321
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.0", type: EditBsButtonDirective, isStandalone: true, selector: "[editBsButton]", ngImport: i0 }); }
1322
+ }
1323
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: EditBsButtonDirective, decorators: [{
1324
+ type: Directive,
1325
+ args: [{
1326
+ selector: '[editBsButton]',
1327
+ }]
1328
+ }] });
1329
+
1167
1330
  class EditButtonComponent extends BaseButtonComponent {
1168
1331
  constructor() {
1169
1332
  super();
@@ -1211,6 +1374,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
1211
1374
  `, styles: [".primary-button,.primary-button:hover,.primary-button:active,.primary-button:visited{color:#fff!important;background-color:var(--primary-color)!important}.secondary-button,.secondary-button:hover,.secondary-button:active,.secondary-button:visited{color:#fff!important;background-color:var(--secondary-color)!important}.success-button,.success-button:hover,.success-button:active,.success-button:visited{color:#fff!important;background-color:var(--success-color)!important}.delete-button,.delete-button:hover,.delete-button:active,.success-button:visited{color:#fff!important;background-color:var(--delete-color)!important}\n"] }]
1212
1375
  }], ctorParameters: () => [] });
1213
1376
 
1377
+ class EditButtonDirective extends BaseButtonDirective {
1378
+ constructor() {
1379
+ super();
1380
+ this.icon = input('edit', ...(ngDevMode ? [{ debugName: "icon" }] : []));
1381
+ this.loadingLabel = input('Editing...', ...(ngDevMode ? [{ debugName: "loadingLabel" }] : []));
1382
+ this.elementRef.nativeElement.classList.add('primary-button');
1383
+ }
1384
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: EditButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1385
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.0", type: EditButtonDirective, isStandalone: true, selector: "[editButton]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, loadingLabel: { classPropertyName: "loadingLabel", publicName: "loadingLabel", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
1386
+ }
1387
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: EditButtonDirective, decorators: [{
1388
+ type: Directive,
1389
+ args: [{
1390
+ selector: '[editButton]',
1391
+ }]
1392
+ }], ctorParameters: () => [] });
1393
+
1214
1394
  class EditSvgIconButtonComponent extends BaseButtonComponent {
1215
1395
  constructor() {
1216
1396
  super();
@@ -1260,6 +1440,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
1260
1440
  `, styles: [".primary-button,.primary-button:hover,.primary-button:active,.primary-button:visited{color:#fff!important;background-color:var(--primary-color)!important}.secondary-button,.secondary-button:hover,.secondary-button:active,.secondary-button:visited{color:#fff!important;background-color:var(--secondary-color)!important}.success-button,.success-button:hover,.success-button:active,.success-button:visited{color:#fff!important;background-color:var(--success-color)!important}.delete-button,.delete-button:hover,.delete-button:active,.success-button:visited{color:#fff!important;background-color:var(--delete-color)!important}\n"] }]
1261
1441
  }], ctorParameters: () => [] });
1262
1442
 
1443
+ class EditSvgIconButtonDirective {
1444
+ constructor() {
1445
+ this.elementRef = inject(ElementRef);
1446
+ this.viewContainerRef = inject(ViewContainerRef);
1447
+ this.document = inject(DOCUMENT);
1448
+ this.originalText = signal('', ...(ngDevMode ? [{ debugName: "originalText" }] : []));
1449
+ this.iconComponentRef = signal(null, ...(ngDevMode ? [{ debugName: "iconComponentRef" }] : []));
1450
+ }
1451
+ ngOnInit() {
1452
+ // Add Material Design button classes
1453
+ this.elementRef.nativeElement.classList.add('mat-raised-button', 'primary-button');
1454
+ // Capture original text before creating icon
1455
+ this.originalText.set(this.elementRef.nativeElement.textContent?.trim() || 'Edit');
1456
+ // Set data-cy attribute for testing
1457
+ this.elementRef.nativeElement.setAttribute('data-cy', 'edit-svg-icon-button');
1458
+ // Update content to show icon and text
1459
+ this.updateContent();
1460
+ }
1461
+ updateContent() {
1462
+ // Create the EditSolidSvgComponent properly using Angular's component system
1463
+ const componentRef = this.viewContainerRef.createComponent(EditSolidSvgComponent);
1464
+ this.iconComponentRef.set(componentRef);
1465
+ // Clear the original content and append the icon component
1466
+ this.elementRef.nativeElement.textContent = '';
1467
+ this.elementRef.nativeElement.appendChild(componentRef.location.nativeElement);
1468
+ this.elementRef.nativeElement.appendChild(this.document.createTextNode(' ' + this.originalText()));
1469
+ }
1470
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: EditSvgIconButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1471
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.0", type: EditSvgIconButtonDirective, isStandalone: true, selector: "[editSvgIconButton]", ngImport: i0 }); }
1472
+ }
1473
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: EditSvgIconButtonDirective, decorators: [{
1474
+ type: Directive,
1475
+ args: [{
1476
+ selector: '[editSvgIconButton]',
1477
+ }]
1478
+ }] });
1479
+
1263
1480
  class ExcelExportButtonComponent {
1264
1481
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ExcelExportButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1265
1482
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.0", type: ExcelExportButtonComponent, isStandalone: true, selector: "excel-export-button", ngImport: i0, template: ` <button class="excel-export-button" mat-raised-button type="button" data-cy="excel-export-button">Excel</button> `, isInline: true, styles: [".primary-button,.primary-button:hover,.primary-button:active,.primary-button:visited{color:#fff!important;background-color:var(--primary-color)!important}.secondary-button,.secondary-button:hover,.secondary-button:active,.secondary-button:visited{color:#fff!important;background-color:var(--secondary-color)!important}.success-button,.success-button:hover,.success-button:active,.success-button:visited{color:#fff!important;background-color:var(--success-color)!important}.delete-button,.delete-button:hover,.delete-button:active,.success-button:visited{color:#fff!important;background-color:var(--delete-color)!important}\n", ".excel-export-button{margin-left:20px!important;margin-right:20px!important;width:100px;color:#fff!important;background-color:#006400!important;border-radius:24px!important}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$3.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }] }); }
@@ -1269,6 +1486,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
1269
1486
  args: [{ selector: 'excel-export-button', imports: [MatButtonModule], template: ` <button class="excel-export-button" mat-raised-button type="button" data-cy="excel-export-button">Excel</button> `, styles: [".primary-button,.primary-button:hover,.primary-button:active,.primary-button:visited{color:#fff!important;background-color:var(--primary-color)!important}.secondary-button,.secondary-button:hover,.secondary-button:active,.secondary-button:visited{color:#fff!important;background-color:var(--secondary-color)!important}.success-button,.success-button:hover,.success-button:active,.success-button:visited{color:#fff!important;background-color:var(--success-color)!important}.delete-button,.delete-button:hover,.delete-button:active,.success-button:visited{color:#fff!important;background-color:var(--delete-color)!important}\n", ".excel-export-button{margin-left:20px!important;margin-right:20px!important;width:100px;color:#fff!important;background-color:#006400!important;border-radius:24px!important}\n"] }]
1270
1487
  }] });
1271
1488
 
1489
+ class ExcelExportButtonDirective extends BaseButtonDirective {
1490
+ constructor() {
1491
+ super();
1492
+ const styles = [
1493
+ { property: 'margin-left', value: '20px' },
1494
+ { property: 'margin-right', value: '20px' },
1495
+ { property: 'width', value: '100px' },
1496
+ { property: 'color', value: 'white' },
1497
+ { property: 'background-color', value: 'darkgreen' },
1498
+ { property: 'border-radius', value: '24px' },
1499
+ ];
1500
+ styles.forEach((style) => {
1501
+ this.elementRef.nativeElement.style[style.property] = style.value;
1502
+ });
1503
+ }
1504
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ExcelExportButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1505
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.0", type: ExcelExportButtonDirective, isStandalone: true, selector: "[excelExportButton]", usesInheritance: true, ngImport: i0 }); }
1506
+ }
1507
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ExcelExportButtonDirective, decorators: [{
1508
+ type: Directive,
1509
+ args: [{
1510
+ selector: '[excelExportButton]',
1511
+ }]
1512
+ }], ctorParameters: () => [] });
1513
+
1272
1514
  class ManageButtonComponent extends BaseButtonComponent {
1273
1515
  constructor() {
1274
1516
  super();
@@ -1312,6 +1554,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
1312
1554
  `, styles: [".primary-button,.primary-button:hover,.primary-button:active,.primary-button:visited{color:#fff!important;background-color:var(--primary-color)!important}.secondary-button,.secondary-button:hover,.secondary-button:active,.secondary-button:visited{color:#fff!important;background-color:var(--secondary-color)!important}.success-button,.success-button:hover,.success-button:active,.success-button:visited{color:#fff!important;background-color:var(--success-color)!important}.delete-button,.delete-button:hover,.delete-button:active,.success-button:visited{color:#fff!important;background-color:var(--delete-color)!important}\n"] }]
1313
1555
  }], ctorParameters: () => [] });
1314
1556
 
1557
+ class ManageButtonDirective extends BaseButtonDirective {
1558
+ constructor() {
1559
+ super();
1560
+ this.icon = input('settings', ...(ngDevMode ? [{ debugName: "icon" }] : []));
1561
+ this.elementRef.nativeElement.classList.add('mr-3');
1562
+ this.elementRef.nativeElement.classList.add('secondary-button');
1563
+ }
1564
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ManageButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1565
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.0", type: ManageButtonDirective, isStandalone: true, selector: "[manageButton]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
1566
+ }
1567
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ManageButtonDirective, decorators: [{
1568
+ type: Directive,
1569
+ args: [{
1570
+ selector: '[manageButton]',
1571
+ }]
1572
+ }], ctorParameters: () => [] });
1573
+
1315
1574
  class PdfExportButtonComponent {
1316
1575
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: PdfExportButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1317
1576
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.0", type: PdfExportButtonComponent, isStandalone: true, selector: "pdf-export-button", ngImport: i0, template: ` <button class="pdf-export-button" mat-raised-button type="button" data-cy="pdf-export-button">PDF</button> `, isInline: true, styles: [".pdf-export-button{margin-left:20px!important;width:100px;color:#fff!important;background-color:#a3071b!important;border-radius:24px!important}\n"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$3.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }] }); }
@@ -1321,6 +1580,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
1321
1580
  args: [{ selector: 'pdf-export-button', imports: [MatButtonModule], template: ` <button class="pdf-export-button" mat-raised-button type="button" data-cy="pdf-export-button">PDF</button> `, styles: [".pdf-export-button{margin-left:20px!important;width:100px;color:#fff!important;background-color:#a3071b!important;border-radius:24px!important}\n"] }]
1322
1581
  }] });
1323
1582
 
1583
+ class PdfExportButtonDirective extends BaseButtonDirective {
1584
+ constructor() {
1585
+ super();
1586
+ const styles = [
1587
+ { property: 'margin-left', value: '20px' },
1588
+ { property: 'width', value: '100px' },
1589
+ { property: 'color', value: 'white' },
1590
+ { property: 'background-color', value: '#a3071b' },
1591
+ { property: 'border-radius', value: '24px' },
1592
+ ];
1593
+ styles.forEach((style) => {
1594
+ this.elementRef.nativeElement.style[style.property] = style.value;
1595
+ });
1596
+ }
1597
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: PdfExportButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1598
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.0", type: PdfExportButtonDirective, isStandalone: true, selector: "[pdfExportButton]", usesInheritance: true, ngImport: i0 }); }
1599
+ }
1600
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: PdfExportButtonDirective, decorators: [{
1601
+ type: Directive,
1602
+ args: [{
1603
+ selector: '[pdfExportButton]',
1604
+ }]
1605
+ }], ctorParameters: () => [] });
1606
+
1324
1607
  class PrimaryButtonComponent extends BaseButtonComponent {
1325
1608
  constructor() {
1326
1609
  super();
@@ -1380,6 +1663,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
1380
1663
  `, styles: [".primary-button,.primary-button:hover,.primary-button:active,.primary-button:visited{color:#fff!important;background-color:var(--primary-color)!important}.secondary-button,.secondary-button:hover,.secondary-button:active,.secondary-button:visited{color:#fff!important;background-color:var(--secondary-color)!important}.success-button,.success-button:hover,.success-button:active,.success-button:visited{color:#fff!important;background-color:var(--success-color)!important}.delete-button,.delete-button:hover,.delete-button:active,.success-button:visited{color:#fff!important;background-color:var(--delete-color)!important}\n"] }]
1381
1664
  }], ctorParameters: () => [] });
1382
1665
 
1666
+ class PrimaryButtonDirective extends BaseButtonDirective {
1667
+ constructor() {
1668
+ super();
1669
+ this.icon = input('save', ...(ngDevMode ? [{ debugName: "icon" }] : []));
1670
+ this.loadingLabel = input('Saving...', ...(ngDevMode ? [{ debugName: "loadingLabel" }] : []));
1671
+ this.elementRef.nativeElement.classList.add('btn-primary');
1672
+ this.elementRef.nativeElement.classList.add('primary-button');
1673
+ }
1674
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: PrimaryButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1675
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.0", type: PrimaryButtonDirective, isStandalone: true, selector: "[primaryButton]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, loadingLabel: { classPropertyName: "loadingLabel", publicName: "loadingLabel", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
1676
+ }
1677
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: PrimaryButtonDirective, decorators: [{
1678
+ type: Directive,
1679
+ args: [{
1680
+ selector: '[primaryButton]',
1681
+ }]
1682
+ }], ctorParameters: () => [] });
1683
+
1383
1684
  class SavePrimaryButtonComponent extends BaseButtonComponent {
1384
1685
  constructor() {
1385
1686
  super();
@@ -1438,6 +1739,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
1438
1739
  `, styles: [".primary-button,.primary-button:hover,.primary-button:active,.primary-button:visited{color:#fff!important;background-color:var(--primary-color)!important}.secondary-button,.secondary-button:hover,.secondary-button:active,.secondary-button:visited{color:#fff!important;background-color:var(--secondary-color)!important}.success-button,.success-button:hover,.success-button:active,.success-button:visited{color:#fff!important;background-color:var(--success-color)!important}.delete-button,.delete-button:hover,.delete-button:active,.success-button:visited{color:#fff!important;background-color:var(--delete-color)!important}\n"] }]
1439
1740
  }], ctorParameters: () => [] });
1440
1741
 
1742
+ class SavePrimaryButtonDirective extends BaseButtonDirective {
1743
+ constructor() {
1744
+ super();
1745
+ this.icon = input('save', ...(ngDevMode ? [{ debugName: "icon" }] : []));
1746
+ this.loadingLabel = input('Saving...', ...(ngDevMode ? [{ debugName: "loadingLabel" }] : []));
1747
+ this.elementRef.nativeElement.classList.add('btn-primary');
1748
+ this.elementRef.nativeElement.classList.add('primary-button');
1749
+ }
1750
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: SavePrimaryButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1751
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.0", type: SavePrimaryButtonDirective, isStandalone: true, selector: "[savePrimaryButton]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, loadingLabel: { classPropertyName: "loadingLabel", publicName: "loadingLabel", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
1752
+ }
1753
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: SavePrimaryButtonDirective, decorators: [{
1754
+ type: Directive,
1755
+ args: [{
1756
+ selector: '[savePrimaryButton]',
1757
+ }]
1758
+ }], ctorParameters: () => [] });
1759
+
1441
1760
  class SearchButtonComponent extends BaseButtonComponent {
1442
1761
  constructor() {
1443
1762
  super();
@@ -1554,6 +1873,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
1554
1873
  }]
1555
1874
  }], ctorParameters: () => [] });
1556
1875
 
1876
+ class SuccessButtonDirective extends BaseButtonDirective {
1877
+ constructor() {
1878
+ super();
1879
+ this.icon = input('save', ...(ngDevMode ? [{ debugName: "icon" }] : []));
1880
+ this.loadingLabel = input('Updating...', ...(ngDevMode ? [{ debugName: "loadingLabel" }] : []));
1881
+ this.elementRef.nativeElement.classList.add('success-button');
1882
+ }
1883
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: SuccessButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1884
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.0", type: SuccessButtonDirective, isStandalone: true, selector: "[successButton]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, loadingLabel: { classPropertyName: "loadingLabel", publicName: "loadingLabel", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
1885
+ }
1886
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: SuccessButtonDirective, decorators: [{
1887
+ type: Directive,
1888
+ args: [{
1889
+ selector: '[successButton]',
1890
+ }]
1891
+ }], ctorParameters: () => [] });
1892
+
1557
1893
  class ViewButtonComponent extends BaseButtonComponent {
1558
1894
  constructor() {
1559
1895
  super();
@@ -1594,6 +1930,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
1594
1930
  `, styles: [".primary-button,.primary-button:hover,.primary-button:active,.primary-button:visited{color:#fff!important;background-color:var(--primary-color)!important}.secondary-button,.secondary-button:hover,.secondary-button:active,.secondary-button:visited{color:#fff!important;background-color:var(--secondary-color)!important}.success-button,.success-button:hover,.success-button:active,.success-button:visited{color:#fff!important;background-color:var(--success-color)!important}.delete-button,.delete-button:hover,.delete-button:active,.success-button:visited{color:#fff!important;background-color:var(--delete-color)!important}\n"] }]
1595
1931
  }], ctorParameters: () => [] });
1596
1932
 
1933
+ class ViewButtonDirective extends BaseButtonDirective {
1934
+ constructor() {
1935
+ super();
1936
+ this.icon = input('visibility', ...(ngDevMode ? [{ debugName: "icon" }] : []));
1937
+ this.loadingLabel = input('Loading...', ...(ngDevMode ? [{ debugName: "loadingLabel" }] : []));
1938
+ }
1939
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ViewButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1940
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.0", type: ViewButtonDirective, isStandalone: true, selector: "[viewButton]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, loadingLabel: { classPropertyName: "loadingLabel", publicName: "loadingLabel", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
1941
+ }
1942
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ViewButtonDirective, decorators: [{
1943
+ type: Directive,
1944
+ args: [{
1945
+ selector: '[viewButton]',
1946
+ }]
1947
+ }], ctorParameters: () => [] });
1948
+
1597
1949
  class ViewPrimaryButtonComponent extends BaseButtonComponent {
1598
1950
  constructor() {
1599
1951
  super();
@@ -1641,6 +1993,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
1641
1993
  `, styles: [".primary-button,.primary-button:hover,.primary-button:active,.primary-button:visited{color:#fff!important;background-color:var(--primary-color)!important}.secondary-button,.secondary-button:hover,.secondary-button:active,.secondary-button:visited{color:#fff!important;background-color:var(--secondary-color)!important}.success-button,.success-button:hover,.success-button:active,.success-button:visited{color:#fff!important;background-color:var(--success-color)!important}.delete-button,.delete-button:hover,.delete-button:active,.success-button:visited{color:#fff!important;background-color:var(--delete-color)!important}\n"] }]
1642
1994
  }], ctorParameters: () => [] });
1643
1995
 
1996
+ class ViewPrimaryButtonDirective extends BaseButtonDirective {
1997
+ constructor() {
1998
+ super();
1999
+ this.icon = input('visibility', ...(ngDevMode ? [{ debugName: "icon" }] : []));
2000
+ this.elementRef.nativeElement.classList.add('btn-primary');
2001
+ this.elementRef.nativeElement.classList.add('primary-button');
2002
+ }
2003
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ViewPrimaryButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2004
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.0", type: ViewPrimaryButtonDirective, isStandalone: true, selector: "[viewPrimaryButton]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 }); }
2005
+ }
2006
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ViewPrimaryButtonDirective, decorators: [{
2007
+ type: Directive,
2008
+ args: [{
2009
+ selector: '[viewPrimaryButton]',
2010
+ }]
2011
+ }], ctorParameters: () => [] });
2012
+
1644
2013
  class ConfirmDialogComponent {
1645
2014
  constructor(data, dialogRef) {
1646
2015
  this.data = data;
@@ -2070,5 +2439,5 @@ const markError = (progressState, message) => {
2070
2439
  * Generated bundle index. Do not edit.
2071
2440
  */
2072
2441
 
2073
- export { AlertComponent, AutocompleteComponent, BsLinkButtonComponent, CloseButtonDirective, ConfirmDialogComponent, DeleteButtonComponent, EditBsButtonComponent, EditButtonComponent, EditSolidSvgComponent, EditSvgIconButtonComponent, EntityStore, ExcelExportButtonComponent, ManageButtonComponent, MatSnackBarService, NgxPrintDirective, NgxSpinnerComponent, NgxSpinnerService, PdfExportButtonComponent, PreventMultipleClicksDirective, PrimaryButtonComponent, SavePrimaryButtonComponent, SearchButtonComponent, SpinnerComponent, Store, SuccessButtonComponent, ViewButtonComponent, ViewPrimaryButtonComponent, initializeState, markError, markLoading, markSuccess };
2442
+ export { AlertComponent, AutocompleteComponent, BaseButtonDirective, BsLinkButtonComponent, BsLinkButtonDirective, CloseButtonDirective, ConfirmDialogComponent, DeleteButtonComponent, DeleteButtonDirective, EditBsButtonComponent, EditBsButtonDirective, EditButtonComponent, EditButtonDirective, EditSolidSvgComponent, EditSvgIconButtonComponent, EditSvgIconButtonDirective, EntityStore, ExcelExportButtonComponent, ExcelExportButtonDirective, ManageButtonComponent, ManageButtonDirective, MatSnackBarService, NgxPrintDirective, NgxSpinnerComponent, NgxSpinnerService, PdfExportButtonComponent, PdfExportButtonDirective, PreventMultipleClicksDirective, PrimaryButtonComponent, PrimaryButtonDirective, SavePrimaryButtonComponent, SavePrimaryButtonDirective, SearchButtonComponent, SpinnerComponent, Store, SuccessButtonComponent, SuccessButtonDirective, ViewButtonComponent, ViewButtonDirective, ViewPrimaryButtonComponent, ViewPrimaryButtonDirective, initializeState, markError, markLoading, markSuccess };
2074
2443
  //# sourceMappingURL=js-smart-ng-kit.mjs.map