chrv-components 1.12.97 → 1.12.100

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,15 +1,15 @@
1
1
  {
2
2
  "name": "chrv-components",
3
- "version": "1.12.97",
3
+ "version": "1.12.100",
4
4
  "peerDependencies": {
5
- "@angular/common": ">=17.0.0",
6
- "@angular/core": ">=17.0.0",
7
- "@angular/forms": ">=17.0.0",
5
+ "@angular/common": ">=22.0.0",
6
+ "@angular/core": ">=22.0.0",
7
+ "@angular/forms": ">=22.0.0",
8
8
  "tailwindcss": ">=3.2.4"
9
9
  },
10
10
  "dependencies": {
11
11
  "tslib": ">=2.3.0",
12
- "@angular/material": ">=17.0.0",
12
+ "@angular/material": ">=22.0.0",
13
13
  "material-symbols": ">=0.38.0",
14
14
  "ngx-pagination": ">=6.0.3",
15
15
  "chrv-pipes": ">=1.3.5",
@@ -28,5 +28,6 @@
28
28
  "types": "./types/chrv-components.d.ts",
29
29
  "default": "./fesm2022/chrv-components.mjs"
30
30
  }
31
- }
31
+ },
32
+ "type": "module"
32
33
  }
@@ -2480,6 +2480,36 @@ declare class ChrHoverDirective implements OnInit, OnDestroy {
2480
2480
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChrHoverDirective, "[chrHover]", never, { "template": { "alias": "chrHover"; "required": false; }; "chrHoverContext": { "alias": "chrHoverContext"; "required": false; "isSignal": true; }; "chrHoverSnap": { "alias": "chrHoverSnap"; "required": false; "isSignal": true; }; "chrHoverPosition": { "alias": "chrHoverPosition"; "required": false; "isSignal": true; }; "chrHoverCloseDelay": { "alias": "chrHoverCloseDelay"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2481
2481
  }
2482
2482
 
2483
+ /**
2484
+ * A directive that accepts an HTMLElement's id or a TemplateRef that will show the desired element.
2485
+ * If chrPopoverOnHover is set, the element will be shown as soon as the user hovers it. Otherwise, it will be triggered on click.
2486
+ */
2487
+ declare class ChrPopoverDirectiveDirective implements AfterViewInit {
2488
+ readonly chrPopover: _angular_core.InputSignal<string | TemplateRef<any>>;
2489
+ readonly chrPopoverPosition: _angular_core.InputSignal<"left" | "right" | "center" | "top" | "bottom">;
2490
+ readonly chrPopoverOnHover: _angular_core.InputSignal<boolean>;
2491
+ private readonly renderer;
2492
+ private readonly hostElementRef;
2493
+ private readonly viewContainerRef;
2494
+ private readonly environmentInjector;
2495
+ private readonly applicationRef;
2496
+ private readonly hostElement;
2497
+ private readonly isInsideHost;
2498
+ private readonly isInsideTarget;
2499
+ private readonly _targetElementView;
2500
+ private readonly targetElement;
2501
+ private readonly targetElementId;
2502
+ ngOnInit(): void;
2503
+ ngAfterViewInit(): void;
2504
+ private isInsideHostBoundingBox;
2505
+ private isInsideTargetBoundingBox;
2506
+ private isInsideRect;
2507
+ private setupHostListeners;
2508
+ private setupTargetListeners;
2509
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrPopoverDirectiveDirective, never>;
2510
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChrPopoverDirectiveDirective, "[chrPopover]", never, { "chrPopover": { "alias": "chrPopover"; "required": true; "isSignal": true; }; "chrPopoverPosition": { "alias": "chrPopoverPosition"; "required": false; "isSignal": true; }; "chrPopoverOnHover": { "alias": "chrPopoverOnHover"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2511
+ }
2512
+
2483
2513
  interface IExporter {
2484
2514
  /**
2485
2515
  * Exports the given data to a file
@@ -2920,5 +2950,5 @@ declare const provideDebounceEventPlugin: () => {
2920
2950
  useClass: typeof DebounceEventPlugin;
2921
2951
  }[];
2922
2952
 
2923
- 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, ChrButtonLegacyComponent, 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, OldSpinnerInterceptor, OutsideClickAwareDirective, ProgressInterceptor, ProgressService, RequiredValidatorDirective, SHOW_SPINNER, SKIP_SPINNER, ScrollIntoViewDirective, Spinner, SpinnerInterceptor, SpinnerService, 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 };
2953
+ 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, ChrButtonLegacyComponent, ChrCheckboxComponent, ChrColorInputComponent, ChrContextMenuComponent, ChrDataTable, ChrDateInputComponent, ChrDatetimeInputComponent, ChrDeactivationGuard, ChrDebounceDirective, ChrDefaultModalComponent, ChrDeleteModalComponent, ChrDropdownComponent, ChrFile, ChrFileInputComponent, ChrFormComponent, ChrHoverDirective, ChrHoverTitleComponent, ChrHoverTitleDirective, ChrModalComponent, ChrNiceFileInputComponent, ChrPaginatorComponent, ChrPopoverDirectiveDirective, 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, OldSpinnerInterceptor, OutsideClickAwareDirective, ProgressInterceptor, ProgressService, RequiredValidatorDirective, SHOW_SPINNER, SKIP_SPINNER, ScrollIntoViewDirective, Spinner, SpinnerInterceptor, SpinnerService, 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 };
2924
2954
  export type { Alignment, Breadcrumb, ButtonColors, 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