chrv-components 1.12.3 → 1.12.5

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/index.d.ts CHANGED
@@ -9,6 +9,7 @@ import { MatAutocomplete } from '@angular/material/autocomplete';
9
9
  import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
10
10
  import { HttpClient, HttpInterceptorFn, HttpEvent, HttpFeature } from '@angular/common/http';
11
11
  import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
12
+ import { Overlay } from '@angular/cdk/overlay';
12
13
  export * from 'ngx-pagination';
13
14
  export * from 'chrv-pipes';
14
15
 
@@ -1976,6 +1977,25 @@ declare class ColumnFilter {
1976
1977
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnFilter, "app-column-filter, chr-column-filter", never, { "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "by": { "alias": "by"; "required": true; "isSignal": true; }; "suggestions": { "alias": "suggestions"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "columnMetadata": { "alias": "columnMetadata"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "isOpen": "isOpenChange"; "mode": "modeChange"; "value": "valueChange"; "filterChange": "filterChange"; }, never, never, true, never>;
1977
1978
  }
1978
1979
 
1980
+ declare class ColumnGroup {
1981
+ readonly formatterService: DataFormatterService;
1982
+ readonly Aggregation: typeof DGGroupAggregationEnum;
1983
+ input: _angular_core.Signal<ElementRef<any> | undefined>;
1984
+ isOpen: _angular_core.ModelSignal<boolean>;
1985
+ by: _angular_core.InputSignal<string>;
1986
+ mode: _angular_core.ModelSignal<DGGroupAggregationEnum | null>;
1987
+ aggregations: _angular_core.Signal<string[]>;
1988
+ textValue: _angular_core.Signal<string>;
1989
+ groupChange: _angular_core.OutputEmitterRef<IDGGroup>;
1990
+ constructor();
1991
+ toggle: () => void;
1992
+ apply: () => void;
1993
+ onOptionSelected: (modeLabel: string) => void;
1994
+ getModeLabel: (mode: DGGroupAggregationEnum) => string;
1995
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnGroup, never>;
1996
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnGroup, "app-column-group, chr-column-group", never, { "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "by": { "alias": "by"; "required": true; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; }, { "isOpen": "isOpenChange"; "mode": "modeChange"; "groupChange": "groupChange"; }, never, never, true, never>;
1997
+ }
1998
+
1979
1999
  declare class EditableCell implements OnInit, OnDestroy {
1980
2000
  readonly formatterService: DataFormatterService;
1981
2001
  allowUpdate: _angular_core.InputSignal<boolean>;
@@ -2019,6 +2039,54 @@ declare class MessageBanner {
2019
2039
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<MessageBanner, "chr-message-banner", never, { "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
2020
2040
  }
2021
2041
 
2042
+ declare class DataListComponent implements OnDestroy {
2043
+ overlay: Overlay;
2044
+ suggestions: _angular_core.InputSignal<any[]>;
2045
+ for: _angular_core.InputSignal<string | null>;
2046
+ allowStringify: _angular_core.InputSignal<boolean>;
2047
+ display: _angular_core.InputSignal<((item: any) => string) | undefined>;
2048
+ targetElement: _angular_core.InputSignal<HTMLInputElement | null>;
2049
+ targetInput: _angular_core.Signal<HTMLInputElement>;
2050
+ displayFn: _angular_core.Signal<(item: any) => string>;
2051
+ isOpen: _angular_core.WritableSignal<boolean>;
2052
+ filterValue: _angular_core.WritableSignal<string>;
2053
+ focusedIndex: _angular_core.WritableSignal<number>;
2054
+ optionSelected: _angular_core.OutputEmitterRef<{
2055
+ value: any;
2056
+ index: number;
2057
+ }>;
2058
+ protected position: _angular_core.WritableSignal<{
2059
+ top: number;
2060
+ left: number;
2061
+ width: number;
2062
+ height: number;
2063
+ zIndex: string;
2064
+ }>;
2065
+ private optionElements;
2066
+ private renderer;
2067
+ private eventListeners;
2068
+ private overlayRef;
2069
+ filteredSuggestions: _angular_core.Signal<{
2070
+ display: string;
2071
+ index: number;
2072
+ }[]>;
2073
+ constructor();
2074
+ ngOnDestroy(): void;
2075
+ open(): void;
2076
+ close(): void;
2077
+ updateFilter(value: string): void;
2078
+ selectOption(index: number): void;
2079
+ selectFocused(): void;
2080
+ private scrollSelectedIntoView;
2081
+ focusNext(): void;
2082
+ focusPrevious(): void;
2083
+ private positionDropdown;
2084
+ private setupEventListeners;
2085
+ private removeEventListeners;
2086
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataListComponent, never>;
2087
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataListComponent, "chr-data-list", never, { "suggestions": { "alias": "suggestions"; "required": true; "isSignal": true; }; "for": { "alias": "for"; "required": false; "isSignal": true; }; "allowStringify": { "alias": "allowStringify"; "required": false; "isSignal": true; }; "display": { "alias": "display"; "required": false; "isSignal": true; }; "targetElement": { "alias": "targetElement"; "required": false; "isSignal": true; }; }, { "optionSelected": "optionSelected"; }, never, never, true, never>;
2088
+ }
2089
+
2022
2090
  declare class TabToInputHandlerDirective {
2023
2091
  private el;
2024
2092
  handleTab(event: KeyboardEvent): void;
@@ -2295,5 +2363,5 @@ declare const XSRFHEADERNAME: InjectionToken<string>;
2295
2363
  declare const XSRFCOOKIENAME: InjectionToken<string>;
2296
2364
  declare const HUBURL: InjectionToken<string>;
2297
2365
 
2298
- export { Aligments, AnonymousTable, AutofocusDirective, BaseErrorDisplays, BaseTable, BreadcrumbComponent, ButtonComponent, CHR_MODAL_DATA, CHR_MODAL_REF, CarouselComponent, ChrBaseInputComponent, ChrButtonComponent, ChrCheckboxComponent, ChrColorInputComponent, ChrContextMenuComponent, ChrDataTable, ChrDateInputComponent, ChrDatetimeInputComponent, ChrDefaultModalComponent, ChrDeleteModalComponent, ChrDropdownComponent, ChrFile, ChrFileInputComponent, ChrFormComponent, ChrModalComponent, ChrNiceFileInputComponent, ChrPaginatorComponent, ChrSearchSelectComponent, ChrSearchbarComponent, ChrSeparatorComponent, ChrSpinnerComponent, ChrTableComponent, ChrTableHeaderCellComponent, ChrTagSelectComponent, ChrTextareaInputComponent, ChrToastComponent, ChrToggleInputComponent, Colors, ColorsVariables, ColumnFilter, ColumnMetadata, ContextMenuDirective, ControlClickDirective, CookiesService, CrossCellNavigationDirective, DEFAULTLIVEUPDATEMESSAGE, DGFilterMode, DataExporterService, DataFormatterService, DataGrid, DataService, DecimalValidatorDirective, DefaultLiveUpdateMessage, EditableCell, FileService, HUBURL, InlineSvgComponent, LiveUpdateService, LiveUpdateStatus, LoaderService, MaxDateValidatorDirective, MaxFileSizeValidator, MaxLengthValidatorDirective, MessageBanner, MinFileSizeValidator, MinLengthValidatorDirective, ModalRef, ModalService, OutsideClickAwareDirective, RequiredValidatorDirective, ScrollIntoViewDirective, SpinnerInterceptor, SyncValidatorToAsync, TabComponent, TabGroupComponent, TabToEnterHandlerDirective, TabToInputHandlerDirective, TableConstraint, TableConstraintColumn, TableConstraintReference, ToastService, TypeValidatorDirective, WaitAndStoreXsrfToken, XSRFCOOKIENAME, XSRFHEADERNAME, XsrfInterceptor, decimal, getAsyncValidators, getBackgroundColor, getBorderColor, getContrastBackgroundColor, getContrastBorderColor, getContrastTextColor, getSyncValidators, getTextColor, getValidators, getVariableColor, getVariableContrastColor, maxDate, maxFileSize, maxLength, minFileSize, minLength, provideXsrfHttpClient, required, type };
2366
+ export { Aligments, AnonymousTable, AutofocusDirective, BaseErrorDisplays, BaseTable, BreadcrumbComponent, ButtonComponent, CHR_MODAL_DATA, CHR_MODAL_REF, CarouselComponent, ChrBaseInputComponent, ChrButtonComponent, ChrCheckboxComponent, ChrColorInputComponent, ChrContextMenuComponent, ChrDataTable, ChrDateInputComponent, ChrDatetimeInputComponent, ChrDefaultModalComponent, ChrDeleteModalComponent, ChrDropdownComponent, ChrFile, ChrFileInputComponent, ChrFormComponent, ChrModalComponent, ChrNiceFileInputComponent, ChrPaginatorComponent, ChrSearchSelectComponent, ChrSearchbarComponent, ChrSeparatorComponent, ChrSpinnerComponent, ChrTableComponent, ChrTableHeaderCellComponent, ChrTagSelectComponent, ChrTextareaInputComponent, ChrToastComponent, ChrToggleInputComponent, Colors, ColorsVariables, ColumnFilter, ColumnGroup, ColumnMetadata, ContextMenuDirective, ControlClickDirective, CookiesService, CrossCellNavigationDirective, DEFAULTLIVEUPDATEMESSAGE, DGFilterMode, DGGroupAggregationEnum, DataExporterService, DataFormatterService, DataGrid, DataListComponent, DataService, DecimalValidatorDirective, DefaultLiveUpdateMessage, EditableCell, FileService, HUBURL, InlineSvgComponent, LiveUpdateService, LiveUpdateStatus, LoaderService, MaxDateValidatorDirective, MaxFileSizeValidator, MaxLengthValidatorDirective, MessageBanner, MinFileSizeValidator, MinLengthValidatorDirective, ModalRef, ModalService, OutsideClickAwareDirective, RequiredValidatorDirective, ScrollIntoViewDirective, SpinnerInterceptor, SyncValidatorToAsync, TabComponent, TabGroupComponent, TabToEnterHandlerDirective, TabToInputHandlerDirective, TableConstraint, TableConstraintColumn, TableConstraintReference, ToastService, TypeValidatorDirective, WaitAndStoreXsrfToken, XSRFCOOKIENAME, XSRFHEADERNAME, XsrfInterceptor, decimal, getAsyncValidators, getBackgroundColor, getBorderColor, getContrastBackgroundColor, getContrastBorderColor, getContrastTextColor, getSyncValidators, getTextColor, getValidators, getVariableColor, getVariableContrastColor, maxDate, maxFileSize, maxLength, minFileSize, minLength, provideXsrfHttpClient, required, type };
2299
2367
  export type { Alignment, Breadcrumb, Color, IAction, IAnonymousTable, IChip, IChips, IColumn, IComputedColumn, IComputedRow, IContextMenuItem, IControl, IControlValidation, IDB2ColumnMetadata, IDGAddedEntry, IDGChangedEntry, IDGDeletedEntry, IDGFilter, IDGGroup, IDGRow, IDGSort, IDGTrackByMode, IDataTable, IFile, IFormSection, IFormatter, IInputSearchFilter, ILiveUpdateMessage, IMinimumColumnMetadata, IMinimumTableConstraint, IMinimumTableConstraintColumn, IMinimumTableConstraintReference, IModalRef, ISearchFilter, ITableConstraint, ITableConstraintColumn, ITableConstraintReference, IXsrfProviderParams, InputType, ModalData, ModalOptions, TColumn, TColumnType, Toast, ValidationResult };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chrv-components",
3
- "version": "1.12.3",
3
+ "version": "1.12.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0",
Binary file