ngx-techlify-core 22.13.0 → 22.14.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-techlify-core",
3
- "version": "22.13.0",
3
+ "version": "22.14.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=22",
6
6
  "@angular/core": ">=22",
@@ -27,9 +27,9 @@ import * as i9 from "@angular/material/menu";
27
27
  import { MatMenuTrigger } from "@angular/material/menu";
28
28
  import * as i10 from "@angular/material/progress-spinner";
29
29
  import * as i11 from "@angular/material/select";
30
- import * as i12$1 from "@angular/material/sort";
30
+ import * as i12 from "@angular/material/sort";
31
31
  import { MatSort, Sort } from "@angular/material/sort";
32
- import * as i13 from "@angular/material/table";
32
+ import * as i13$1 from "@angular/material/table";
33
33
  import * as i14 from "@angular/material/card";
34
34
  import * as i15 from "@angular/material/divider";
35
35
  import * as i16 from "@angular/material/chips";
@@ -47,7 +47,7 @@ import * as i24 from "@angular/material/tabs";
47
47
  import * as i3$4 from "ngx-doc-viewer";
48
48
  import * as XLSX from "xlsx";
49
49
  import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
50
- import * as i12 from "ngx-permissions";
50
+ import * as i13 from "ngx-permissions";
51
51
  import { NgxPermissionsService } from "ngx-permissions";
52
52
  import { FocusMonitor } from "@angular/cdk/a11y";
53
53
  import { ComponentType } from "@angular/cdk/portal";
@@ -930,6 +930,15 @@ export declare class ColumnSelectorComponent implements OnInit {
930
930
  "displayedColumnsChange": "displayedColumnsChange";
931
931
  }, never, never, false, never>;
932
932
  }
933
+ /**
934
+ * Standard close/clear icon button, e.g. for clearing a filter field:
935
+ * <app-techlify-close-button *ngIf="filterForm.get('search').value" matSuffix (click)="resetFilter('search')">
936
+ * </app-techlify-close-button>
937
+ */
938
+ export declare class TechlifyCloseButtonComponent {
939
+ static ɵfac: i0.ɵɵFactoryDeclaration<TechlifyCloseButtonComponent, never>;
940
+ static ɵcmp: i0.ɵɵComponentDeclaration<TechlifyCloseButtonComponent, "app-techlify-close-button", never, {}, {}, never, never, true, never>;
941
+ }
933
942
  interface DeleteButtonData {
934
943
  title: string;
935
944
  type: string;
@@ -1043,7 +1052,7 @@ export declare class TechlifyFormButtonComponent {
1043
1052
  }
1044
1053
  export declare class MaterialModule {
1045
1054
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
1046
- static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, never, [typeof i1$1.MatAutocompleteModule, typeof i2.MatButtonModule, typeof i3$5.MatCheckboxModule, typeof i4.MatDialogModule, typeof i5.MatFormFieldModule, typeof i4$1.MatIconModule, typeof i7.MatInputModule, typeof i8.MatLineModule, typeof i9.MatMenuModule, typeof i8.MatNativeDateModule, typeof i8.MatOptionModule, typeof i10.MatProgressSpinnerModule, typeof i8.MatPseudoCheckboxModule, typeof i8.MatRippleModule, typeof i11.MatSelectModule, typeof i12$1.MatSortModule, typeof i13.MatTableModule, typeof i14.MatCardModule, typeof i15.MatDividerModule, typeof i16.MatChipsModule, typeof i17.MatDatepickerModule, typeof i18.MatListModule, typeof i19.MatTooltipModule, typeof i20.MatButtonToggleModule, typeof i21.MatSidenavModule, typeof i22.MatProgressBarModule, typeof i23.MatSlideToggleModule, typeof i24.MatTabsModule]>;
1055
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, never, [typeof i1$1.MatAutocompleteModule, typeof i2.MatButtonModule, typeof i3$5.MatCheckboxModule, typeof i4.MatDialogModule, typeof i5.MatFormFieldModule, typeof i4$1.MatIconModule, typeof i7.MatInputModule, typeof i8.MatLineModule, typeof i9.MatMenuModule, typeof i8.MatNativeDateModule, typeof i8.MatOptionModule, typeof i10.MatProgressSpinnerModule, typeof i8.MatPseudoCheckboxModule, typeof i8.MatRippleModule, typeof i11.MatSelectModule, typeof i12.MatSortModule, typeof i13$1.MatTableModule, typeof i14.MatCardModule, typeof i15.MatDividerModule, typeof i16.MatChipsModule, typeof i17.MatDatepickerModule, typeof i18.MatListModule, typeof i19.MatTooltipModule, typeof i20.MatButtonToggleModule, typeof i21.MatSidenavModule, typeof i22.MatProgressBarModule, typeof i23.MatSlideToggleModule, typeof i24.MatTabsModule]>;
1047
1056
  static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
1048
1057
  }
1049
1058
  export declare class ActionPopupModule {
@@ -1338,6 +1347,10 @@ export declare class SearchableSelectorComponent implements ControlValueAccessor
1338
1347
  itemsChange: EventEmitter<any>;
1339
1348
  focusSearchOnOpen: boolean;
1340
1349
  isItemsEmpty: EventEmitter<boolean>;
1350
+ /**
1351
+ * Shows a close button that clears the selected value. Hidden while empty or disabled.
1352
+ */
1353
+ isShowClose: boolean;
1341
1354
  /**
1342
1355
  * If this is set to true, if there is a pre-selected entity,
1343
1356
  * the entity that is populated will be emitted when it is set
@@ -1386,6 +1399,7 @@ export declare class SearchableSelectorComponent implements ControlValueAccessor
1386
1399
  reloadData(): void;
1387
1400
  search(event: any): void;
1388
1401
  filterItems(event: string): void;
1402
+ clear(event: Event): void;
1389
1403
  addItem(event: any): void;
1390
1404
  editItem(event: any): void;
1391
1405
  ngOnDestroy(): void;
@@ -1482,6 +1496,10 @@ export declare class SearchableSelectorComponent implements ControlValueAccessor
1482
1496
  "alias": "focusSearchOnOpen";
1483
1497
  "required": false;
1484
1498
  };
1499
+ "isShowClose": {
1500
+ "alias": "isShowClose";
1501
+ "required": false;
1502
+ };
1485
1503
  "isEmitInitialEvent": {
1486
1504
  "alias": "isEmitInitialEvent";
1487
1505
  "required": false;
@@ -1507,7 +1525,7 @@ export declare class SearchableSelectorComponent implements ControlValueAccessor
1507
1525
  }
1508
1526
  export declare class SearchableSelectorModule {
1509
1527
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchableSelectorModule, never>;
1510
- static ɵmod: i0.ɵɵNgModuleDeclaration<SearchableSelectorModule, [typeof SearchableSelectorComponent], [typeof i2$1.CommonModule, typeof i3$2.ReactiveFormsModule, typeof MaterialModule, typeof i22.MatProgressBar, typeof TechlifyIconModule], [typeof SearchableSelectorComponent]>;
1528
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SearchableSelectorModule, [typeof SearchableSelectorComponent], [typeof i2$1.CommonModule, typeof i3$2.ReactiveFormsModule, typeof MaterialModule, typeof i22.MatProgressBar, typeof TechlifyCloseButtonComponent, typeof TechlifyIconModule], [typeof SearchableSelectorComponent]>;
1511
1529
  static ɵinj: i0.ɵɵInjectorDeclaration<SearchableSelectorModule>;
1512
1530
  }
1513
1531
  export declare class TimelineFilterComponent implements OnInit, ControlValueAccessor {
@@ -1636,12 +1654,12 @@ declare class TimelineFilterRoutingModule {
1636
1654
  }
1637
1655
  export declare class TimelineFilterModule {
1638
1656
  static ɵfac: i0.ɵɵFactoryDeclaration<TimelineFilterModule, never>;
1639
- static ɵmod: i0.ɵɵNgModuleDeclaration<TimelineFilterModule, [typeof TimelineFilterComponent], [typeof i2$1.CommonModule, typeof TimelineFilterRoutingModule, typeof i3$2.ReactiveFormsModule, typeof i5.MatFormFieldModule, typeof i11.MatSelectModule, typeof i2.MatButtonModule, typeof i4$1.MatIconModule, typeof i7.MatInputModule, typeof i17.MatDatepickerModule, typeof i8.MatNativeDateModule, typeof TechlifyIconModule], [typeof TimelineFilterComponent]>;
1657
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TimelineFilterModule, [typeof TimelineFilterComponent], [typeof i2$1.CommonModule, typeof TimelineFilterRoutingModule, typeof i3$2.ReactiveFormsModule, typeof i5.MatFormFieldModule, typeof i11.MatSelectModule, typeof i2.MatButtonModule, typeof i4$1.MatIconModule, typeof i7.MatInputModule, typeof i17.MatDatepickerModule, typeof i8.MatNativeDateModule, typeof TechlifyIconModule, typeof TechlifyCloseButtonComponent], [typeof TimelineFilterComponent]>;
1640
1658
  static ɵinj: i0.ɵɵInjectorDeclaration<TimelineFilterModule>;
1641
1659
  }
1642
1660
  declare class SharedModule {
1643
1661
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
1644
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.InfiniteScrollDirective, typeof TechlifyDeleteButtonComponent, typeof TechlifyFormButtonComponent], [typeof ActionPopupModule, typeof i2$1.CommonModule, typeof DocumentViewerModule, typeof ExportExcelModule, typeof FileDropperModule, typeof FormConfigurationForFormModule, typeof i3$2.FormsModule, typeof i1.InfiniteScrollDirective, typeof MaterialModule, typeof i12.NgxPermissionsModule, typeof i3$2.ReactiveFormsModule, typeof ReadMoreModule, typeof SearchableSelectorModule, typeof TechlifyDeleteButtonComponent, typeof TimelineFilterModule, typeof TechlifyFormButtonComponent, typeof TechlifyIconModule]>;
1662
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.InfiniteScrollDirective, typeof TechlifyCloseButtonComponent, typeof TechlifyDeleteButtonComponent, typeof TechlifyFormButtonComponent], [typeof ActionPopupModule, typeof i2$1.CommonModule, typeof DocumentViewerModule, typeof ExportExcelModule, typeof FileDropperModule, typeof FormConfigurationForFormModule, typeof i3$2.FormsModule, typeof i1.InfiniteScrollDirective, typeof MaterialModule, typeof i13.NgxPermissionsModule, typeof i3$2.ReactiveFormsModule, typeof ReadMoreModule, typeof SearchableSelectorModule, typeof TechlifyCloseButtonComponent, typeof TechlifyDeleteButtonComponent, typeof TimelineFilterModule, typeof TechlifyFormButtonComponent, typeof TechlifyIconModule]>;
1645
1663
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
1646
1664
  }
1647
1665
  export declare class ColumnSelectorModule {
@@ -2810,8 +2828,6 @@ export declare class EmailSubscriptionUserListFilterComponent implements OnInit
2810
2828
  constructor(fb: UntypedFormBuilder);
2811
2829
  private createForm;
2812
2830
  ngOnInit(): void;
2813
- resetFieldValue(field: string): void;
2814
- getFieldValue(field: string): any;
2815
2831
  ngOnDestroy(): void;
2816
2832
  static ɵfac: i0.ɵɵFactoryDeclaration<EmailSubscriptionUserListFilterComponent, never>;
2817
2833
  static ɵcmp: i0.ɵɵComponentDeclaration<EmailSubscriptionUserListFilterComponent, "app-email-subscription-user-list-filter", never, {}, {