@acontplus/ng-components 2.0.1 → 2.1.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.
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@acontplus/ng-components",
3
- "version": "2.0.1",
3
+ "version": "2.1.1",
4
4
  "description": "Comprehensive Angular Material UI component library featuring dynamic Tabulator tables, theme toggle with dark mode, dialog wrappers, autocomplete components, cards, buttons, icons, input chips, spinners, directives, pipes, and SCSS styling utilities.",
5
5
  "peerDependencies": {
6
6
  "@acontplus/ui-kit": "^1.0.2",
7
- "@angular/cdk": "^21.0.5",
8
- "@angular/common": "^21.0.6",
9
- "@angular/core": "^21.0.6",
10
- "@angular/material": "^21.0.5",
7
+ "@angular/cdk": "^21.0.0",
8
+ "@angular/common": "^21.0.0",
9
+ "@angular/core": "^21.0.0",
10
+ "@angular/material": "^21.0.0",
11
11
  "tabulator-tables": "^6.3.1"
12
12
  },
13
13
  "sideEffects": true,
@@ -1,5 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { Type, AfterViewInit, OnDestroy, ViewContainerRef, ElementRef, OnInit, TemplateRef, AfterContentInit, OnChanges, SimpleChanges, InjectionToken, QueryList, TrackByFunction, KeyValueChangeRecord, PipeTransform } from '@angular/core';
2
+ import { Type, AfterViewInit, OnDestroy, ViewContainerRef, ElementRef, OnInit, TemplateRef, OnChanges, SimpleChanges, InjectionToken, QueryList, TrackByFunction, KeyValueChangeRecord, PipeTransform } from '@angular/core';
3
3
  import { MatDialogRef } from '@angular/material/dialog';
4
4
  import { ScrollStrategy } from '@angular/cdk/overlay';
5
5
  import { FormControl, ControlValueAccessor } from '@angular/forms';
@@ -7,34 +7,26 @@ import { SelectOption, IconDefinition, ButtonVariant, ButtonType, MaterialButton
7
7
  import { SafeHtml } from '@angular/platform-browser';
8
8
  import { MatChipInputEvent, MatChipEditedEvent } from '@angular/material/chips';
9
9
  import { LiveAnnouncer } from '@angular/cdk/a11y';
10
- import * as _angular_material_paginator from '@angular/material/paginator';
11
- import { PageEvent, MatPaginator } from '@angular/material/paginator';
12
- import { MatTableDataSource, MatHeaderRowDef, MatRowDef, MatFooterRowDef, MatColumnDef, MatTable } from '@angular/material/table';
13
- import { SelectionModel } from '@angular/cdk/collections';
14
10
  import { Tabulator } from 'tabulator-tables';
15
11
  import * as rxjs from 'rxjs';
16
- import { Observable } from 'rxjs';
12
+ import { Observable, Subject } from 'rxjs';
13
+ import { MatTable, MatRowDef, MatHeaderRowDef, MatFooterRowDef, MatTableDataSource } from '@angular/material/table';
14
+ import { PageEvent, MatPaginator } from '@angular/material/paginator';
17
15
  import { SortDirection, MatSort, Sort } from '@angular/material/sort';
16
+ import { SelectionModel } from '@angular/cdk/collections';
18
17
  import { MatBadgePosition, MatBadgeSize } from '@angular/material/badge';
19
18
  import { MatButtonAppearance } from '@angular/material/button';
20
19
  import { ThemePalette } from '@angular/material/core';
21
20
  import { TooltipPosition, TooltipTouchGestures } from '@angular/material/tooltip';
21
+ import { MatFormFieldControl } from '@angular/material/form-field';
22
+ import { DatexOptions, DatexTheme } from 'datex-ui';
23
+ export { BOOTSTRAP_THEME, DEFAULT_THEME, Datex, DatexCallback, DatexLocale, DatexOptions, DatexTheme, MATERIAL_THEME, SPANISH_LOCALE, SPANISH_LOCALE_WITH_TIME } from 'datex-ui';
22
24
  import { ComponentType } from '@angular/cdk/portal';
23
25
 
24
26
  /**
25
27
  * A versatile card component that wraps Angular Material's mat-card with additional functionality
26
28
  * and customization options. This component provides a consistent card layout with configurable
27
29
  * header, content, and action areas.
28
- *
29
- * @example
30
- * <acp-dynamic-card
31
- * [cardTitle]="'Card Title'"
32
- * [cardSubtitle]="'Card Subtitle'"
33
- * [isHeaderVisible]="true"
34
- * [areActionsVisible]="true"
35
- * (primaryButtonClicked)="onPrimaryAction()">
36
- * Card content goes here
37
- * </acp-dynamic-card>
38
30
  */
39
31
  declare class DynamicCard {
40
32
  /**
@@ -174,15 +166,6 @@ interface MatCustomDialogConfig<T = unknown> {
174
166
  *
175
167
  * @interface DialogWrapperConfig
176
168
  * @template T The type of data to pass to the content component
177
- *
178
- * @example
179
- * const config: DialogWrapperConfig = {
180
- * component: YourDialogContentComponent,
181
- * title: 'Dialog Title',
182
- * icon: 'info',
183
- * data: { message: 'This is some data passed to the dialog content component' },
184
- * hideHeader: false
185
- * };
186
169
  */
187
170
  interface DialogWrapperConfig<T = unknown> {
188
171
  /**
@@ -454,15 +437,6 @@ declare class AutocompleteWrapperService {
454
437
  * including a draggable header and the ability to dynamically create components inside the dialog.
455
438
  *
456
439
  * This component is typically used with the AdvancedDialogService's openInWrapper method.
457
- *
458
- * @example
459
- * // In your service or component:
460
- * this.dialogService.openInWrapper({
461
- * component: YourDialogContentComponent,
462
- * title: 'Dialog Title',
463
- * icon: 'info',
464
- * data: { message: 'This is some data passed to the dialog content component' }
465
- * });
466
440
  */
467
441
  declare class DialogWrapper implements AfterViewInit, OnDestroy {
468
442
  dialogRef: MatDialogRef<DialogWrapper, any>;
@@ -749,169 +723,6 @@ declare class Spinner {
749
723
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<Spinner, "acp-spinner", never, {}, {}, never, never, true, never>;
750
724
  }
751
725
 
752
- interface DateRangeConfig<T = any> {
753
- startDate: FieldDefinition<T>;
754
- endDate: FieldDefinition<T>;
755
- }
756
- declare type ControlType = 'textbox' | 'ktextbox' | 'combobox' | 'textboxNum' | 'dropdown' | 'dropdownlist' | 'multiselect' | 'autocomplete' | 'checkbox' | 'radiobutton' | 'inquiryInDialog' | 'timepicker' | 'datepicker' | 'daterange' | 'textarea' | 'slideToggle' | 'slider' | 'switch' | 'buttonToggleGroup';
757
- declare type FieldType = 'number' | 'string' | 'boolean' | 'date' | 'month' | 'email' | 'password' | 'tel' | 'hidden' | 'image' | 'url' | 'week' | 'search' | 'reset' | 'template' | 'custom' | 'expand';
758
- declare type ColumnType = 'text' | 'component' | 'html' | 'template';
759
- declare class FieldDefinition<T = any> {
760
- value?: T;
761
- valueLabel?: string;
762
- defaultValue?: T;
763
- defaultValueLabel?: string;
764
- key: string;
765
- label: string;
766
- dateRangeConfig?: DateRangeConfig<T>;
767
- isDefaultSearchField?: boolean;
768
- required?: boolean;
769
- disabled?: boolean;
770
- order?: number;
771
- icon?: string;
772
- controlType?: ControlType;
773
- type?: FieldType;
774
- editor?: 'numeric' | 'boolean' | '';
775
- options?: {
776
- label: string;
777
- value: T;
778
- }[];
779
- valueOptions?: string[];
780
- valuePrimitive?: boolean;
781
- textField?: string;
782
- valueField?: string;
783
- errorMessage?: string;
784
- width?: string;
785
- valueChangeCallback?: (value: T) => void;
786
- columnType?: ColumnType;
787
- body?: any;
788
- constructor(options?: Partial<FieldDefinition<T>>);
789
- }
790
-
791
- interface TableContext<T = any> {
792
- $implicit: T;
793
- index?: number;
794
- }
795
- declare class ColumnDefinition<T = any> extends FieldDefinition<T> {
796
- index?: number;
797
- format?: any;
798
- hasFooter?: boolean;
799
- hideInOverlay?: boolean;
800
- optionsAttribut?: string;
801
- templateOutlet?: TemplateRef<TableContext<T>>;
802
- constructor(options?: Partial<ColumnDefinition<T>>);
803
- }
804
-
805
- interface OptionSearchConfig {
806
- displayedColumns?: string[];
807
- displayColumnDefs?: ColumnDefinition[];
808
- close?: boolean;
809
- }
810
-
811
- declare class TableCellIndex {
812
- row: number;
813
- column: number;
814
- constructor(row: number, column: number);
815
- }
816
-
817
- interface TableRow {
818
- rowStyle?: {
819
- backgroundColor?: string;
820
- color?: string;
821
- [key: string]: any;
822
- };
823
- disableSelection?: boolean;
824
- [key: string]: any;
825
- }
826
-
827
- declare class Pagination {
828
- totalRecords: number;
829
- pageSize: number;
830
- pageIndex: number;
831
- pageSizeOptions: number[];
832
- hidePageSize: boolean;
833
- showPageSizeOptions: boolean;
834
- showFirstLastButtons: boolean;
835
- disabled: boolean;
836
- /**
837
- * @param pageIndex Current page index (0-based for MatPaginator compatibility)
838
- * @param pageSize Number of records per page
839
- * @param totalRecords Total number of records
840
- * @param pageSizeOptions Available page size options
841
- * @param hidePageSize Whether to hide the page size selector
842
- * @param showPageSizeOptions Whether to show page size options
843
- * @param showFirstLastButtons Whether to show first/last buttons
844
- * @param disabled Whether the paginator is disabled
845
- */
846
- constructor(pageIndex?: number, // MatPaginator starts at 0
847
- pageSize?: number, totalRecords?: number, pageSizeOptions?: number[], hidePageSize?: boolean, showPageSizeOptions?: boolean, showFirstLastButtons?: boolean, disabled?: boolean);
848
- /**
849
- * Calculates the total number of pages.
850
- */
851
- getTotalPages(): number;
852
- /**
853
- * Handles page event similar to Angular Material example.
854
- * @param event MatPaginator PageEvent
855
- */
856
- handlePageEvent(event: PageEvent): void;
857
- }
858
-
859
- declare class DynamicTable<T extends TableRow> implements AfterContentInit, OnChanges, OnInit, OnDestroy {
860
- private componentRefs;
861
- private embeddedViews;
862
- private cdr;
863
- readonly showExpand: _angular_core.InputSignal<boolean>;
864
- readonly showFooter: _angular_core.InputSignal<boolean>;
865
- readonly locale: _angular_core.InputSignal<string>;
866
- readonly highlightRowIndex: _angular_core.InputSignal<number>;
867
- visibleColumns: string[];
868
- columnDefinitions: ColumnDefinition<T>[];
869
- readonly showSelectBox: _angular_core.InputSignal<boolean>;
870
- readonly multipleSelection: _angular_core.InputSignal<boolean>;
871
- readonly tableData: _angular_core.InputSignal<T[]>;
872
- readonly rowTemplate: _angular_core.InputSignal<TemplateRef<TableContext<T>> | null>;
873
- expandedDetail: TemplateRef<TableContext<T>> | null;
874
- readonly enablePagination: _angular_core.InputSignal<boolean>;
875
- paginationConfig: Pagination | null;
876
- readonly isLoadingData: _angular_core.InputSignal<boolean>;
877
- readonly rowSelected: _angular_core.OutputEmitterRef<T[]>;
878
- readonly copyRow: _angular_core.OutputEmitterRef<T>;
879
- readonly showExpanded: _angular_core.OutputEmitterRef<T>;
880
- readonly hideExpanded: _angular_core.OutputEmitterRef<T>;
881
- readonly pageEvent: _angular_core.OutputEmitterRef<PageEvent>;
882
- isNormalRow: (_: number, row: T) => boolean;
883
- isExpandedRow: (_: number, row: T) => boolean;
884
- dataSource: MatTableDataSource<T, _angular_material_paginator.MatPaginator>;
885
- selection: SelectionModel<T>;
886
- expandedElement: T | null;
887
- columnsToDisplayWithExpand: string[];
888
- readonly headerRowDefs: _angular_core.Signal<readonly MatHeaderRowDef[]>;
889
- readonly rowDefs: _angular_core.Signal<readonly MatRowDef<unknown>[]>;
890
- readonly footerRowDefs: _angular_core.Signal<readonly MatFooterRowDef[]>;
891
- readonly columnDefs: _angular_core.Signal<readonly MatColumnDef[]>;
892
- readonly table: _angular_core.Signal<MatTable<any>>;
893
- readonly rows: _angular_core.Signal<readonly ViewContainerRef[]>;
894
- ngOnInit(): void;
895
- ngOnChanges(changes: SimpleChanges): void;
896
- ngAfterContentInit(): void;
897
- ngOnDestroy(): void;
898
- private updateTableData;
899
- private updateColumnsToDisplay;
900
- private initializeSelection;
901
- private registerTableContent;
902
- private initializeTable;
903
- private cleanupDynamicComponents;
904
- isAllSelected(): boolean;
905
- masterToggle(): void;
906
- checkboxLabel(row?: T): string;
907
- selectRow(row: T): void;
908
- onExpand(event: Event, element: T): void;
909
- getRowStyle(element: T): Record<string, string>;
910
- handlePageEvent(e: PageEvent): void;
911
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DynamicTable<any>, never>;
912
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DynamicTable<any>, "acp-dynamic-table", never, { "showExpand": { "alias": "showExpand"; "required": false; "isSignal": true; }; "showFooter": { "alias": "showFooter"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "highlightRowIndex": { "alias": "highlightRowIndex"; "required": false; "isSignal": true; }; "visibleColumns": { "alias": "visibleColumns"; "required": false; }; "columnDefinitions": { "alias": "columnDefinitions"; "required": false; }; "showSelectBox": { "alias": "showSelectBox"; "required": false; "isSignal": true; }; "multipleSelection": { "alias": "multipleSelection"; "required": false; "isSignal": true; }; "tableData": { "alias": "tableData"; "required": false; "isSignal": true; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; "isSignal": true; }; "expandedDetail": { "alias": "expandedDetail"; "required": false; }; "enablePagination": { "alias": "enablePagination"; "required": false; "isSignal": true; }; "paginationConfig": { "alias": "paginationConfig"; "required": false; }; "isLoadingData": { "alias": "isLoadingData"; "required": false; "isSignal": true; }; }, { "rowSelected": "rowSelected"; "copyRow": "copyRow"; "showExpanded": "showExpanded"; "hideExpanded": "hideExpanded"; "pageEvent": "pageEvent"; }, ["headerRowDefs", "rowDefs", "footerRowDefs", "columnDefs", "rows"], never, true, never>;
913
- }
914
-
915
726
  interface TabulatorColumn {
916
727
  title: string;
917
728
  field: string;
@@ -1210,13 +1021,64 @@ declare class TabulatorTable implements OnChanges, AfterViewInit, OnDestroy {
1210
1021
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabulatorTable, "acp-tabulator-table", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "dataTree": { "alias": "dataTree"; "required": false; "isSignal": true; }; "dataTreeChildField": { "alias": "dataTreeChildField"; "required": false; "isSignal": true; }; "dataTreeStartExpanded": { "alias": "dataTreeStartExpanded"; "required": false; "isSignal": true; }; "dataTreeSelectPropagate": { "alias": "dataTreeSelectPropagate"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "reactiveData": { "alias": "reactiveData"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "autoResize": { "alias": "autoResize"; "required": false; "isSignal": true; }; "selectableRows": { "alias": "selectableRows"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "customClass": { "alias": "customClass"; "required": false; "isSignal": true; }; "rowFormatter": { "alias": "rowFormatter"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, { "rowDeleted": "rowDeleted"; "cellEdited": "cellEdited"; "rowClick": "rowClick"; "rowSelected": "rowSelected"; "tableReady": "tableReady"; }, never, never, true, never>;
1211
1022
  }
1212
1023
 
1024
+ /**
1025
+ * A theme toggle button component that allows users to switch between
1026
+ * light and dark modes. Follows WAI-ARIA best practices for toggle buttons.
1027
+ */
1213
1028
  declare class ThemeToggle {
1214
- private themeService;
1215
- darkMode$: Observable<boolean>;
1216
- constructor();
1029
+ private readonly themeSwitcher;
1030
+ /** Icon to display when in dark mode (clicking will switch to light) */
1031
+ readonly lightModeIcon: _angular_core.InputSignal<string>;
1032
+ /** Icon to display when in light mode (clicking will switch to dark) */
1033
+ readonly darkModeIcon: _angular_core.InputSignal<string>;
1034
+ /** Accessible label for when in dark mode */
1035
+ readonly lightModeLabel: _angular_core.InputSignal<string>;
1036
+ /** Accessible label for when in light mode */
1037
+ readonly darkModeLabel: _angular_core.InputSignal<string>;
1038
+ /** Test ID for automated testing */
1039
+ readonly testId: _angular_core.InputSignal<string>;
1040
+ /** Current dark mode state as a signal */
1041
+ protected readonly isDarkMode: _angular_core.Signal<boolean>;
1042
+ /** Computed icon based on current theme */
1043
+ protected readonly currentIcon: _angular_core.Signal<string>;
1044
+ /** Computed accessible label based on current theme */
1045
+ protected readonly currentLabel: _angular_core.Signal<string>;
1046
+ /** Toggle between dark and light mode */
1217
1047
  toggleDarkMode(): void;
1218
1048
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThemeToggle, never>;
1219
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThemeToggle, "acp-theme-toggle", never, {}, {}, never, never, true, never>;
1049
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThemeToggle, "acp-theme-toggle", never, { "lightModeIcon": { "alias": "lightModeIcon"; "required": false; "isSignal": true; }; "darkModeIcon": { "alias": "darkModeIcon"; "required": false; "isSignal": true; }; "lightModeLabel": { "alias": "lightModeLabel"; "required": false; "isSignal": true; }; "darkModeLabel": { "alias": "darkModeLabel"; "required": false; "isSignal": true; }; "testId": { "alias": "testId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1050
+ }
1051
+
1052
+ declare class Pagination {
1053
+ totalRecords: number;
1054
+ pageSize: number;
1055
+ pageIndex: number;
1056
+ pageSizeOptions: number[];
1057
+ hidePageSize: boolean;
1058
+ showPageSizeOptions: boolean;
1059
+ showFirstLastButtons: boolean;
1060
+ disabled: boolean;
1061
+ /**
1062
+ * @param pageIndex Current page index (0-based for MatPaginator compatibility)
1063
+ * @param pageSize Number of records per page
1064
+ * @param totalRecords Total number of records
1065
+ * @param pageSizeOptions Available page size options
1066
+ * @param hidePageSize Whether to hide the page size selector
1067
+ * @param showPageSizeOptions Whether to show page size options
1068
+ * @param showFirstLastButtons Whether to show first/last buttons
1069
+ * @param disabled Whether the paginator is disabled
1070
+ */
1071
+ constructor(pageIndex?: number, // MatPaginator starts at 0
1072
+ pageSize?: number, totalRecords?: number, pageSizeOptions?: number[], hidePageSize?: boolean, showPageSizeOptions?: boolean, showFirstLastButtons?: boolean, disabled?: boolean);
1073
+ /**
1074
+ * Calculates the total number of pages.
1075
+ */
1076
+ getTotalPages(): number;
1077
+ /**
1078
+ * Handles page event similar to Angular Material example.
1079
+ * @param event MatPaginator PageEvent
1080
+ */
1081
+ handlePageEvent(event: PageEvent): void;
1220
1082
  }
1221
1083
 
1222
1084
  declare class ReusableAutocompleteComponent implements OnInit, OnDestroy {
@@ -1377,6 +1239,7 @@ declare class DataGrid<T = any> implements AfterViewInit, OnDestroy, OnChanges {
1377
1239
  infiniteScrollDisabled: _angular_core.InputSignal<boolean>;
1378
1240
  keyboardNavigation: _angular_core.InputSignal<boolean>;
1379
1241
  focusedRowIndex: _angular_core.Signal<number>;
1242
+ highlightedRowIndex: _angular_core.InputSignal<number>;
1380
1243
  sortOnFront: _angular_core.InputSignal<boolean>;
1381
1244
  sortActive: _angular_core.InputSignal<string>;
1382
1245
  sortDirection: _angular_core.InputSignal<SortDirection>;
@@ -1461,7 +1324,99 @@ declare class DataGrid<T = any> implements AfterViewInit, OnDestroy, OnChanges {
1461
1324
  isColumnHide(item: DataGridColumn): boolean;
1462
1325
  getIndex(index: number | undefined, dataIndex: number): number;
1463
1326
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataGrid<any>, never>;
1464
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataGrid<any>, "acp-data-grid", ["dataGrid"], { "showToolbar": { "alias": "showToolbar"; "required": false; "isSignal": true; }; "showColumnMenuButton": { "alias": "showColumnMenuButton"; "required": false; "isSignal": true; }; "toolbarTitle": { "alias": "toolbarTitle"; "required": false; "isSignal": true; }; "toolbarTemplate": { "alias": "toolbarTemplate"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "length": { "alias": "length"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyValuePlaceholder": { "alias": "emptyValuePlaceholder"; "required": false; "isSignal": true; }; "trackBy": { "alias": "trackBy"; "required": false; "isSignal": true; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; "isSignal": true; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; "isSignal": true; }; "headerExtraTemplate": { "alias": "headerExtraTemplate"; "required": false; "isSignal": true; }; "noResultTemplate": { "alias": "noResultTemplate"; "required": false; "isSignal": true; }; "paginationTemplate": { "alias": "paginationTemplate"; "required": false; "isSignal": true; }; "summaryTemplate": { "alias": "summaryTemplate"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "headerCellTemplate": { "alias": "headerCellTemplate"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "expansionTemplate": { "alias": "expansionTemplate"; "required": false; "isSignal": true; }; "closeOthersOnExpand": { "alias": "closeOthersOnExpand"; "required": false; "isSignal": true; }; "pageOnFront": { "alias": "pageOnFront"; "required": false; "isSignal": true; }; "showPaginator": { "alias": "showPaginator"; "required": false; "isSignal": true; }; "pageDisabled": { "alias": "pageDisabled"; "required": false; "isSignal": true; }; "showFirstLastButtons": { "alias": "showFirstLastButtons"; "required": false; "isSignal": true; }; "pageIndex": { "alias": "pageIndex"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "hidePageSize": { "alias": "hidePageSize"; "required": false; "isSignal": true; }; "infiniteScroll": { "alias": "infiniteScroll"; "required": false; "isSignal": true; }; "infiniteScrollThreshold": { "alias": "infiniteScrollThreshold"; "required": false; "isSignal": true; }; "infiniteScrollDisabled": { "alias": "infiniteScrollDisabled"; "required": false; "isSignal": true; }; "keyboardNavigation": { "alias": "keyboardNavigation"; "required": false; "isSignal": true; }; "sortOnFront": { "alias": "sortOnFront"; "required": false; "isSignal": true; }; "sortActive": { "alias": "sortActive"; "required": false; "isSignal": true; }; "sortDirection": { "alias": "sortDirection"; "required": false; "isSignal": true; }; "sortDisableClear": { "alias": "sortDisableClear"; "required": false; "isSignal": true; }; "sortDisabled": { "alias": "sortDisabled"; "required": false; "isSignal": true; }; "sortStart": { "alias": "sortStart"; "required": false; "isSignal": true; }; "rowHover": { "alias": "rowHover"; "required": false; "isSignal": true; }; "rowStriped": { "alias": "rowStriped"; "required": false; "isSignal": true; }; "rowSelectable": { "alias": "rowSelectable"; "required": false; "isSignal": true; }; "multiSelectable": { "alias": "multiSelectable"; "required": false; "isSignal": true; }; "multiSelectionWithClick": { "alias": "multiSelectionWithClick"; "required": false; "isSignal": true; }; "hideRowSelectionCheckbox": { "alias": "hideRowSelectionCheckbox"; "required": false; "isSignal": true; }; "disableRowClickSelection": { "alias": "disableRowClickSelection"; "required": false; "isSignal": true; }; "rowClassFormatter": { "alias": "rowClassFormatter"; "required": false; "isSignal": true; }; "rowSelected": { "alias": "rowSelected"; "required": false; "isSignal": true; }; "rowSelectionFormatter": { "alias": "rowSelectionFormatter"; "required": false; "isSignal": true; }; "cellSelectable": { "alias": "cellSelectable"; "required": false; "isSignal": true; }; "useContentRowTemplate": { "alias": "useContentRowTemplate"; "required": false; "isSignal": true; }; "useContentHeaderRowTemplate": { "alias": "useContentHeaderRowTemplate"; "required": false; "isSignal": true; }; "useContentFooterRowTemplate": { "alias": "useContentFooterRowTemplate"; "required": false; "isSignal": true; }; "showSummary": { "alias": "showSummary"; "required": false; "isSignal": true; }; "noResultText": { "alias": "noResultText"; "required": false; "isSignal": true; }; }, { "page": "page"; "sortChange": "sortChange"; "rowClick": "rowClick"; "rowSelectedChange": "rowSelectedChange"; "selectionChange": "selectionChange"; "cellClick": "cellClick"; "cellSelectedChange": "cellSelectedChange"; "expansionChange": "expansionChange"; "rowContextMenu": "rowContextMenu"; "infiniteScrollLoad": "infiniteScrollLoad"; "focusedRowChange": "focusedRowChange"; }, ["rowDefs", "headerRowDefs", "footerRowDefs"], never, true, never>;
1327
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataGrid<any>, "acp-data-grid", ["dataGrid"], { "showToolbar": { "alias": "showToolbar"; "required": false; "isSignal": true; }; "showColumnMenuButton": { "alias": "showColumnMenuButton"; "required": false; "isSignal": true; }; "toolbarTitle": { "alias": "toolbarTitle"; "required": false; "isSignal": true; }; "toolbarTemplate": { "alias": "toolbarTemplate"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "length": { "alias": "length"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyValuePlaceholder": { "alias": "emptyValuePlaceholder"; "required": false; "isSignal": true; }; "trackBy": { "alias": "trackBy"; "required": false; "isSignal": true; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; "isSignal": true; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; "isSignal": true; }; "headerExtraTemplate": { "alias": "headerExtraTemplate"; "required": false; "isSignal": true; }; "noResultTemplate": { "alias": "noResultTemplate"; "required": false; "isSignal": true; }; "paginationTemplate": { "alias": "paginationTemplate"; "required": false; "isSignal": true; }; "summaryTemplate": { "alias": "summaryTemplate"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "headerCellTemplate": { "alias": "headerCellTemplate"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "expansionTemplate": { "alias": "expansionTemplate"; "required": false; "isSignal": true; }; "closeOthersOnExpand": { "alias": "closeOthersOnExpand"; "required": false; "isSignal": true; }; "pageOnFront": { "alias": "pageOnFront"; "required": false; "isSignal": true; }; "showPaginator": { "alias": "showPaginator"; "required": false; "isSignal": true; }; "pageDisabled": { "alias": "pageDisabled"; "required": false; "isSignal": true; }; "showFirstLastButtons": { "alias": "showFirstLastButtons"; "required": false; "isSignal": true; }; "pageIndex": { "alias": "pageIndex"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "hidePageSize": { "alias": "hidePageSize"; "required": false; "isSignal": true; }; "infiniteScroll": { "alias": "infiniteScroll"; "required": false; "isSignal": true; }; "infiniteScrollThreshold": { "alias": "infiniteScrollThreshold"; "required": false; "isSignal": true; }; "infiniteScrollDisabled": { "alias": "infiniteScrollDisabled"; "required": false; "isSignal": true; }; "keyboardNavigation": { "alias": "keyboardNavigation"; "required": false; "isSignal": true; }; "highlightedRowIndex": { "alias": "highlightedRowIndex"; "required": false; "isSignal": true; }; "sortOnFront": { "alias": "sortOnFront"; "required": false; "isSignal": true; }; "sortActive": { "alias": "sortActive"; "required": false; "isSignal": true; }; "sortDirection": { "alias": "sortDirection"; "required": false; "isSignal": true; }; "sortDisableClear": { "alias": "sortDisableClear"; "required": false; "isSignal": true; }; "sortDisabled": { "alias": "sortDisabled"; "required": false; "isSignal": true; }; "sortStart": { "alias": "sortStart"; "required": false; "isSignal": true; }; "rowHover": { "alias": "rowHover"; "required": false; "isSignal": true; }; "rowStriped": { "alias": "rowStriped"; "required": false; "isSignal": true; }; "rowSelectable": { "alias": "rowSelectable"; "required": false; "isSignal": true; }; "multiSelectable": { "alias": "multiSelectable"; "required": false; "isSignal": true; }; "multiSelectionWithClick": { "alias": "multiSelectionWithClick"; "required": false; "isSignal": true; }; "hideRowSelectionCheckbox": { "alias": "hideRowSelectionCheckbox"; "required": false; "isSignal": true; }; "disableRowClickSelection": { "alias": "disableRowClickSelection"; "required": false; "isSignal": true; }; "rowClassFormatter": { "alias": "rowClassFormatter"; "required": false; "isSignal": true; }; "rowSelected": { "alias": "rowSelected"; "required": false; "isSignal": true; }; "rowSelectionFormatter": { "alias": "rowSelectionFormatter"; "required": false; "isSignal": true; }; "cellSelectable": { "alias": "cellSelectable"; "required": false; "isSignal": true; }; "useContentRowTemplate": { "alias": "useContentRowTemplate"; "required": false; "isSignal": true; }; "useContentHeaderRowTemplate": { "alias": "useContentHeaderRowTemplate"; "required": false; "isSignal": true; }; "useContentFooterRowTemplate": { "alias": "useContentFooterRowTemplate"; "required": false; "isSignal": true; }; "showSummary": { "alias": "showSummary"; "required": false; "isSignal": true; }; "noResultText": { "alias": "noResultText"; "required": false; "isSignal": true; }; }, { "page": "page"; "sortChange": "sortChange"; "rowClick": "rowClick"; "rowSelectedChange": "rowSelectedChange"; "selectionChange": "selectionChange"; "cellClick": "cellClick"; "cellSelectedChange": "cellSelectedChange"; "expansionChange": "expansionChange"; "rowContextMenu": "rowContextMenu"; "infiniteScrollLoad": "infiniteScrollLoad"; "focusedRowChange": "focusedRowChange"; }, ["rowDefs", "headerRowDefs", "footerRowDefs"], never, true, never>;
1328
+ }
1329
+
1330
+ interface DateRangePickerOptions extends DatexOptions {
1331
+ presetTheme?: 'default' | 'bootstrap' | 'material' | 'custom';
1332
+ }
1333
+ interface DateRangeValue {
1334
+ startDate: Date;
1335
+ endDate: Date;
1336
+ }
1337
+ declare class DateRangePicker implements OnInit, OnChanges, OnDestroy, ControlValueAccessor, MatFormFieldControl<DateRangeValue | Date> {
1338
+ static nextId: number;
1339
+ dateInput: ElementRef<HTMLInputElement>;
1340
+ readonly stateChanges: Subject<void>;
1341
+ readonly id: string;
1342
+ readonly controlType = "acp-date-range-picker";
1343
+ readonly autofilled = false;
1344
+ private _focused;
1345
+ private _required;
1346
+ private _value;
1347
+ get focused(): boolean;
1348
+ get empty(): boolean;
1349
+ get shouldLabelFloat(): boolean;
1350
+ get required(): boolean;
1351
+ get value(): DateRangeValue | Date | null;
1352
+ set value(val: DateRangeValue | Date | null);
1353
+ private readonly _errorState;
1354
+ get errorState(): boolean;
1355
+ get userAriaDescribedBy(): string | undefined;
1356
+ get placeholder(): string;
1357
+ get disabled(): boolean;
1358
+ ngControl: any;
1359
+ options: _angular_core.InputSignal<DateRangePickerOptions>;
1360
+ placeholderText: _angular_core.InputSignal<string>;
1361
+ isDisabled: _angular_core.InputSignal<boolean>;
1362
+ inputReadonly: _angular_core.InputSignal<boolean>;
1363
+ label: _angular_core.InputSignal<string | undefined>;
1364
+ hint: _angular_core.InputSignal<string | undefined>;
1365
+ errorMessage: _angular_core.InputSignal<string | undefined>;
1366
+ appearance: _angular_core.InputSignal<"fill" | "outline">;
1367
+ calendarIcon: _angular_core.InputSignal<string>;
1368
+ showCalendarButton: _angular_core.InputSignal<boolean>;
1369
+ showCheckbox: _angular_core.InputSignal<boolean>;
1370
+ checkboxChecked: _angular_core.InputSignal<boolean>;
1371
+ checkboxReadonly: _angular_core.InputSignal<boolean>;
1372
+ checkboxAriaLabel: _angular_core.InputSignal<string>;
1373
+ checkboxPosition: _angular_core.InputSignal<"prefix" | "suffix">;
1374
+ dateRangeSelected: _angular_core.OutputEmitterRef<{
1375
+ startDate: Date;
1376
+ endDate: Date;
1377
+ label?: string;
1378
+ }>;
1379
+ pickerShow: _angular_core.OutputEmitterRef<void>;
1380
+ pickerHide: _angular_core.OutputEmitterRef<void>;
1381
+ pickerApply: _angular_core.OutputEmitterRef<void>;
1382
+ pickerCancel: _angular_core.OutputEmitterRef<void>;
1383
+ checkboxChange: _angular_core.OutputEmitterRef<boolean>;
1384
+ private picker?;
1385
+ private isInitialized;
1386
+ private onChange;
1387
+ private onTouched;
1388
+ constructor();
1389
+ ngOnInit(): void;
1390
+ ngOnChanges(changes: SimpleChanges): void;
1391
+ ngOnDestroy(): void;
1392
+ setDescribedByIds(_ids: string[]): void;
1393
+ onContainerClick(_event: MouseEvent): void;
1394
+ focus(): void;
1395
+ blur(): void;
1396
+ private initializePicker;
1397
+ private updateOptions;
1398
+ private reinitializePicker;
1399
+ private buildDatexOptions;
1400
+ private getTheme;
1401
+ private setupEventListeners;
1402
+ writeValue(value: any): void;
1403
+ registerOnChange(fn: any): void;
1404
+ registerOnTouched(fn: any): void;
1405
+ setDisabledState(isDisabled: boolean): void;
1406
+ show(): void;
1407
+ hide(): void;
1408
+ toggle(): void;
1409
+ getStartDate(): Date | null;
1410
+ getEndDate(): Date | null;
1411
+ setStartDate(date: Date): void;
1412
+ setEndDate(date: Date): void;
1413
+ updateTheme(theme: DatexTheme): void;
1414
+ updateRanges(ranges: Record<string, [Date, Date]>): void;
1415
+ updateConfiguration(): void;
1416
+ forceReinitialize(): void;
1417
+ onCheckboxToggle(event: any): void;
1418
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateRangePicker, never>;
1419
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateRangePicker, "acp-date-range-picker", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "placeholderText": { "alias": "placeholderText"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "inputReadonly": { "alias": "inputReadonly"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "calendarIcon": { "alias": "calendarIcon"; "required": false; "isSignal": true; }; "showCalendarButton": { "alias": "showCalendarButton"; "required": false; "isSignal": true; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; "isSignal": true; }; "checkboxChecked": { "alias": "checkboxChecked"; "required": false; "isSignal": true; }; "checkboxReadonly": { "alias": "checkboxReadonly"; "required": false; "isSignal": true; }; "checkboxAriaLabel": { "alias": "checkboxAriaLabel"; "required": false; "isSignal": true; }; "checkboxPosition": { "alias": "checkboxPosition"; "required": false; "isSignal": true; }; }, { "dateRangeSelected": "dateRangeSelected"; "pickerShow": "pickerShow"; "pickerHide": "pickerHide"; "pickerApply": "pickerApply"; "pickerCancel": "pickerCancel"; "checkboxChange": "checkboxChange"; }, never, never, true, never>;
1465
1420
  }
1466
1421
 
1467
1422
  declare class ToUpperCase implements ControlValueAccessor {
@@ -1507,5 +1462,5 @@ declare class StatusDisplayPipe implements PipeTransform {
1507
1462
  static ɵpipe: _angular_core.ɵɵPipeDeclaration<StatusDisplayPipe, "statusDisplay", true>;
1508
1463
  }
1509
1464
 
1510
- export { AUTOCOMPLETE_WRAPPER_CUSTOMER_CONFIG, AUTOCOMPLETE_WRAPPER_DEFAULT_CONFIG, AUTOCOMPLETE_WRAPPER_LOCAL_CONFIG, AUTOCOMPLETE_WRAPPER_PAGINATED_CONFIG, AUTOCOMPLETE_WRAPPER_PRODUCT_CONFIG, AUTOCOMPLETE_WRAPPER_SIMPLE_CONFIG, AdvancedDialogService, AutocompleteWrapperService, Button, ColumnDefinition, DATA_GRID_DEFAULT_OPTIONS, DataGrid, DialogWrapper, DynamicCard, DynamicSelect, DynamicTable, FieldDefinition, GetTotalPipe, IconRegistryService, InputChip, OverlayService, Pagination, ReusableAutocompleteComponent, Spinner, StatusDisplayPipe, SvgIcon, TableCellIndex, TabulatorTable, ThemeSwitcher, ThemeToggle, ToUpperCase, UserIcon, createAutocompleteWrapperConfig };
1511
- export type { AutocompleteWrapperActions, AutocompleteWrapperConfig, AutocompleteWrapperEventHandler, AutocompleteWrapperEvents, AutocompleteWrapperFilters, AutocompleteWrapperItem, AutocompleteWrapperItemProperty, AutocompleteWrapperPaginationInfo, AutocompleteWrapperSearchField, AutocompleteWrapperSearchFunction, AutocompleteWrapperSearchMode, AutocompleteWrapperSearchResult, AutocompleteWrapperState, AutocompleteWrapperStockOption, ColumnType, ControlType, DataGridButtonType, DataGridCellTemplate, DataGridColumn, DataGridColumnButton, DataGridColumnButtonBadge, DataGridColumnButtonPop, DataGridColumnButtonTooltip, DataGridColumnPinOption, DataGridColumnPinValue, DataGridColumnTag, DataGridColumnTagValue, DataGridColumnType, DataGridColumnTypeParameter, DataGridDefaultOptions, DataGridMenuItem, DataGridRowClassFormatter, DataGridRowSelectionFormatter, DataGridSortProp, DateRangeConfig, DialogSize, DialogWrapperConfig, FieldType, IconRegistryConfig, MatCustomDialogConfig, OptionSearchConfig, ReusableAutocompleteWrapperComponent, TableContext, TableRow, TabulatorColumn, TabulatorConfig, TabulatorEventHandlers, TabulatorTheme };
1465
+ export { AUTOCOMPLETE_WRAPPER_CUSTOMER_CONFIG, AUTOCOMPLETE_WRAPPER_DEFAULT_CONFIG, AUTOCOMPLETE_WRAPPER_LOCAL_CONFIG, AUTOCOMPLETE_WRAPPER_PAGINATED_CONFIG, AUTOCOMPLETE_WRAPPER_PRODUCT_CONFIG, AUTOCOMPLETE_WRAPPER_SIMPLE_CONFIG, AdvancedDialogService, AutocompleteWrapperService, Button, DATA_GRID_DEFAULT_OPTIONS, DataGrid, DateRangePicker, DialogWrapper, DynamicCard, DynamicSelect, GetTotalPipe, IconRegistryService, InputChip, OverlayService, Pagination, ReusableAutocompleteComponent, Spinner, StatusDisplayPipe, SvgIcon, TabulatorTable, ThemeSwitcher, ThemeToggle, ToUpperCase, UserIcon, createAutocompleteWrapperConfig };
1466
+ export type { AutocompleteWrapperActions, AutocompleteWrapperConfig, AutocompleteWrapperEventHandler, AutocompleteWrapperEvents, AutocompleteWrapperFilters, AutocompleteWrapperItem, AutocompleteWrapperItemProperty, AutocompleteWrapperPaginationInfo, AutocompleteWrapperSearchField, AutocompleteWrapperSearchFunction, AutocompleteWrapperSearchMode, AutocompleteWrapperSearchResult, AutocompleteWrapperState, AutocompleteWrapperStockOption, DataGridButtonType, DataGridCellTemplate, DataGridColumn, DataGridColumnButton, DataGridColumnButtonBadge, DataGridColumnButtonPop, DataGridColumnButtonTooltip, DataGridColumnPinOption, DataGridColumnPinValue, DataGridColumnTag, DataGridColumnTagValue, DataGridColumnType, DataGridColumnTypeParameter, DataGridDefaultOptions, DataGridMenuItem, DataGridRowClassFormatter, DataGridRowSelectionFormatter, DataGridSortProp, DateRangePickerOptions, DateRangeValue, DialogSize, DialogWrapperConfig, IconRegistryConfig, MatCustomDialogConfig, ReusableAutocompleteWrapperComponent, TabulatorColumn, TabulatorConfig, TabulatorEventHandlers, TabulatorTheme };