chrv-components 1.12.69 → 1.12.72

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": "chrv-components",
3
- "version": "1.12.69",
3
+ "version": "1.12.72",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0",
@@ -1,5 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { OnInit, ViewContainerRef, AfterViewInit, Type, ApplicationRef, EnvironmentInjector, ComponentRef, OnDestroy, ElementRef, AfterViewChecked, AfterContentChecked, AfterContentInit, QueryList, EventEmitter, OutputEmitterRef, InputSignal, Injector, InjectionToken, Signal } from '@angular/core';
2
+ import { OnInit, ViewContainerRef, AfterViewInit, Type, ApplicationRef, EnvironmentInjector, ComponentRef, OnDestroy, ElementRef, AfterViewChecked, AfterContentChecked, AfterContentInit, QueryList, EventEmitter, OutputEmitterRef, InputSignal, TemplateRef, Injector, InjectionToken, Signal } from '@angular/core';
3
3
  import { Router, UrlTree, CanDeactivateFn } from '@angular/router';
4
4
  import * as rxjs from 'rxjs';
5
5
  import { Observable, Subject, BehaviorSubject } from 'rxjs';
@@ -53,7 +53,7 @@ declare class ChrButtonComponent {
53
53
  readonly textColor: _angular_core.InputSignal<Color | undefined>;
54
54
  readonly flat: _angular_core.InputSignal<boolean>;
55
55
  readonly predicate: _angular_core.InputSignal<boolean | undefined>;
56
- readonly type: _angular_core.InputSignal<"none" | "responsive" | "table" | "full" | "fixed" | "small">;
56
+ readonly type: _angular_core.InputSignal<"small" | "table" | "none" | "responsive" | "full" | "fixed">;
57
57
  readonly href: _angular_core.InputSignal<string | undefined>;
58
58
  readonly target: _angular_core.InputSignal<"_blank" | "_parent" | "_self" | "_top" | undefined>;
59
59
  readonly disabled: _angular_core.InputSignal<boolean>;
@@ -1520,11 +1520,12 @@ declare class ChrContextMenuComponent {
1520
1520
 
1521
1521
  declare class ChrDropdownComponent {
1522
1522
  isOpen: _angular_core.ModelSignal<boolean>;
1523
+ id: _angular_core.InputSignal<string | number | undefined>;
1523
1524
  title: _angular_core.InputSignal<string | undefined>;
1524
1525
  private children;
1525
1526
  hasContent: _angular_core.Signal<boolean>;
1526
1527
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrDropdownComponent, never>;
1527
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrDropdownComponent, "chr-dropdown", never, { "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; }, { "isOpen": "isOpenChange"; }, never, ["dropdown-title", "*", "*", "dropdown-content"], true, never>;
1528
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrDropdownComponent, "chr-dropdown", never, { "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; }, { "isOpen": "isOpenChange"; }, never, ["dropdown-title", "*", "*", "dropdown-content"], true, never>;
1528
1529
  }
1529
1530
  declare class DropdownTitle {
1530
1531
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DropdownTitle, never>;
@@ -2097,7 +2098,7 @@ declare class MessageBanner {
2097
2098
  title: _angular_core.InputSignal<string>;
2098
2099
  icon: _angular_core.InputSignal<string | null>;
2099
2100
  message: _angular_core.InputSignal<string | undefined>;
2100
- type: _angular_core.InputSignal<"error" | "none" | "info" | "warning">;
2101
+ type: _angular_core.InputSignal<"none" | "error" | "info" | "warning">;
2101
2102
  close: () => void;
2102
2103
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<MessageBanner, never>;
2103
2104
  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>;
@@ -2118,7 +2119,7 @@ interface IPosition {
2118
2119
  zIndex?: string | number;
2119
2120
  }
2120
2121
 
2121
- declare class DataListComponent implements OnDestroy {
2122
+ declare class DataListComponent implements OnInit, AfterViewInit, OnDestroy {
2122
2123
  overlay: Overlay;
2123
2124
  suggestions: _angular_core.InputSignal<any[]>;
2124
2125
  for: _angular_core.InputSignal<string | null>;
@@ -2145,6 +2146,8 @@ declare class DataListComponent implements OnDestroy {
2145
2146
  index: number;
2146
2147
  }[]>;
2147
2148
  constructor();
2149
+ ngOnInit(): void;
2150
+ ngAfterViewInit(): void;
2148
2151
  ngOnDestroy(): void;
2149
2152
  open(): void;
2150
2153
  close(): void;
@@ -2384,6 +2387,29 @@ declare class ChrDebounceDirective implements OnInit, OnDestroy {
2384
2387
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChrDebounceDirective, "[chrDebounce]", never, { "chrDebounceTime": { "alias": "chrDebounceTime"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2385
2388
  }
2386
2389
 
2390
+ declare class ChrHoverDirective implements OnInit, OnDestroy {
2391
+ private el;
2392
+ private overlay;
2393
+ private vcr;
2394
+ private renderer;
2395
+ private eventListeners;
2396
+ template: TemplateRef<any>;
2397
+ chrHoverSnap: _angular_core.InputSignal<boolean>;
2398
+ chrHoverPosition: _angular_core.InputSignal<"above" | "below" | "left" | "right">;
2399
+ private overlayRef;
2400
+ private portal?;
2401
+ constructor();
2402
+ ngOnInit(): void;
2403
+ ngOnDestroy(): void;
2404
+ private removeEventListeners;
2405
+ private open;
2406
+ private mousePositionStrategy;
2407
+ private snappedStrategy;
2408
+ private close;
2409
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrHoverDirective, never>;
2410
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChrHoverDirective, "[chrHover]", never, { "template": { "alias": "chrHover"; "required": false; }; "chrHoverSnap": { "alias": "chrHoverSnap"; "required": false; "isSignal": true; }; "chrHoverPosition": { "alias": "chrHoverPosition"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2411
+ }
2412
+
2387
2413
  interface IExporter {
2388
2414
  /**
2389
2415
  * Exports the given data to a file
@@ -2793,5 +2819,5 @@ declare const provideDebounceEventPlugin: () => {
2793
2819
  useClass: typeof DebounceEventPlugin;
2794
2820
  }[];
2795
2821
 
2796
- export { Aligments, AnonymousTable, AutoDataSource, AutoDataTable, AutofocusDirective, BaseErrorDisplays, BaseTable, BreadcrumbComponent, ButtonComponent, CHR_DEACTIVATION_MODAL, CHR_DEBOUNCE_DEFAULTS, CHR_MODAL_DATA, CHR_MODAL_REF, CacheService, CachingInterceptor, CarouselComponent, ChrBaseInputComponent, ChrButtonComponent, ChrCheckboxComponent, ChrColorInputComponent, ChrContextMenuComponent, ChrDataTable, ChrDateInputComponent, ChrDatetimeInputComponent, ChrDeactivationGuard, ChrDebounceDirective, ChrDefaultModalComponent, ChrDeleteModalComponent, ChrDropdownComponent, ChrFile, ChrFileInputComponent, ChrFormComponent, ChrHoverTitleComponent, ChrHoverTitleDirective, ChrModalComponent, ChrNiceFileInputComponent, ChrPaginatorComponent, ChrPreventReloadDirective, ChrSearchSelectComponent, ChrSearchbarComponent, ChrSeparatorComponent, ChrSpinnerComponent, ChrTableComponent, ChrTableHeaderCellComponent, ChrTagSelectComponent, ChrTextareaInputComponent, ChrToastComponent, ChrToggleInputComponent, Colors, ColorsVariables, ColumnFilter, ColumnGroup, ColumnMetadata, ContextMenuDirective, ControlClickDirective, CookiesService, CrossCellNavigationDirective, DEFAULTLIVEUPDATEMESSAGE, DEFAULT_TOAST_CONFIG, DGFilterMode, DGGroupAggregationEnum, DataExporterService, DataFormatterService, DataGrid, DataListComponent, DataService, DebounceDefaults, DebounceEventPlugin, DecimalValidatorDirective, DefaultLiveUpdateMessage, DropdownContent, DropdownTitle, ENABLE_CACHE, ENABLE_PROGRESS, EditableCell, FileService, HUBURL, INVALIDATE_CACHE, InlineSvgComponent, LegacyToastService, LiveUpdateService, LiveUpdateStatus, LoaderService, MaxDateValidatorDirective, MaxFileSizeValidator, MaxLengthValidatorDirective, MessageBanner, MinFileSizeValidator, MinLengthValidatorDirective, ModalRef, ModalService, OutsideClickAwareDirective, ProgressInterceptor, ProgressService, RequiredValidatorDirective, SHOW_SPINNER, ScrollIntoViewDirective, SpinnerInterceptor, SyncValidatorToAsync, TabComponent, TabGroupComponent, TabToEnterHandlerDirective, TabToInputHandlerDirective, TableConstraint, TableConstraintColumn, TableConstraintReference, ToastComponent, ToastDefaults, ToastRef, ToastService, TypeValidatorDirective, WaitAndStoreXsrfToken, XSRFCOOKIENAME, XSRFHEADERNAME, XsrfInterceptor, decimal, getAsyncValidators, getBackgroundColor, getBorderColor, getContrastBackgroundColor, getContrastBorderColor, getContrastTextColor, getSyncValidators, getTextColor, getValidators, getVariableColor, getVariableContrastColor, maxDate, maxFileSize, maxLength, minFileSize, minLength, provideDebounceEventPlugin, provideXsrfHttpClient, required, type };
2822
+ export { Aligments, AnonymousTable, AutoDataSource, AutoDataTable, AutofocusDirective, BaseErrorDisplays, BaseTable, BreadcrumbComponent, ButtonComponent, CHR_DEACTIVATION_MODAL, CHR_DEBOUNCE_DEFAULTS, CHR_MODAL_DATA, CHR_MODAL_REF, CacheService, CachingInterceptor, CarouselComponent, ChrBaseInputComponent, ChrButtonComponent, ChrCheckboxComponent, ChrColorInputComponent, ChrContextMenuComponent, ChrDataTable, ChrDateInputComponent, ChrDatetimeInputComponent, ChrDeactivationGuard, ChrDebounceDirective, ChrDefaultModalComponent, ChrDeleteModalComponent, ChrDropdownComponent, ChrFile, ChrFileInputComponent, ChrFormComponent, ChrHoverDirective, ChrHoverTitleComponent, ChrHoverTitleDirective, ChrModalComponent, ChrNiceFileInputComponent, ChrPaginatorComponent, ChrPreventReloadDirective, ChrSearchSelectComponent, ChrSearchbarComponent, ChrSeparatorComponent, ChrSpinnerComponent, ChrTableComponent, ChrTableHeaderCellComponent, ChrTagSelectComponent, ChrTextareaInputComponent, ChrToastComponent, ChrToggleInputComponent, Colors, ColorsVariables, ColumnFilter, ColumnGroup, ColumnMetadata, ContextMenuDirective, ControlClickDirective, CookiesService, CrossCellNavigationDirective, DEFAULTLIVEUPDATEMESSAGE, DEFAULT_TOAST_CONFIG, DGFilterMode, DGGroupAggregationEnum, DataExporterService, DataFormatterService, DataGrid, DataListComponent, DataService, DebounceDefaults, DebounceEventPlugin, DecimalValidatorDirective, DefaultLiveUpdateMessage, DropdownContent, DropdownTitle, ENABLE_CACHE, ENABLE_PROGRESS, EditableCell, FileService, HUBURL, INVALIDATE_CACHE, InlineSvgComponent, LegacyToastService, LiveUpdateService, LiveUpdateStatus, LoaderService, MaxDateValidatorDirective, MaxFileSizeValidator, MaxLengthValidatorDirective, MessageBanner, MinFileSizeValidator, MinLengthValidatorDirective, ModalRef, ModalService, OutsideClickAwareDirective, ProgressInterceptor, ProgressService, RequiredValidatorDirective, SHOW_SPINNER, ScrollIntoViewDirective, SpinnerInterceptor, SyncValidatorToAsync, TabComponent, TabGroupComponent, TabToEnterHandlerDirective, TabToInputHandlerDirective, TableConstraint, TableConstraintColumn, TableConstraintReference, ToastComponent, ToastDefaults, ToastRef, ToastService, TypeValidatorDirective, WaitAndStoreXsrfToken, XSRFCOOKIENAME, XSRFHEADERNAME, XsrfInterceptor, decimal, getAsyncValidators, getBackgroundColor, getBorderColor, getContrastBackgroundColor, getContrastBorderColor, getContrastTextColor, getSyncValidators, getTextColor, getValidators, getVariableColor, getVariableContrastColor, maxDate, maxFileSize, maxLength, minFileSize, minLength, provideDebounceEventPlugin, provideXsrfHttpClient, required, type };
2797
2823
  export type { Alignment, Breadcrumb, Color, DataSourceConfig, IAction, IAnonymousTable, IBaseAction, ICacheEntry, ICacheOptions, ICanBeDeactivated, IChip, IChips, ICloseable, IClosureData, IColumn, IComputedColumn, IComputedRow, IContextMenuItem, IControl, IControlValidation, IDB2ColumnMetadata, IDGAddedEntry, IDGChangedEntry, IDGDeletedEntry, IDGFilter, IDGGroup, IDGRow, IDGSort, IDGTrackByMode, IDataTable, IDebounceDefaults, IDisplayableColumn, IDisplayableColumnMetadata, IFile, IFormSection, IFormatter, IInputSearchFilter, ILiveUpdateMessage, IMinimumColumnMetadata, IMinimumTableConstraint, IMinimumTableConstraintColumn, IMinimumTableConstraintReference, IModalRef, IPartialAction, IProgressStateEntry, ISearchFilter, IStaticValueAction, ITableConstraint, ITableConstraintColumn, ITableConstraintReference, IToast, IToastComponent, IToastConfig, IXsrfProviderParams, InputType, ModalData, ModalOptions, TColumn, TColumnType, Toast, ValidationResult };
Binary file