chrv-components 1.12.166 → 1.12.168

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.166",
3
+ "version": "1.12.168",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=22.0.0",
6
6
  "@angular/core": ">=22.0.0",
@@ -58,7 +58,7 @@ declare class ChrButtonLegacyComponent {
58
58
  readonly target: _angular_core.InputSignal<"_blank" | "_parent" | "_self" | "_top" | undefined>;
59
59
  readonly disabled: _angular_core.InputSignal<boolean>;
60
60
  readonly tooltip: _angular_core.InputSignal<string | undefined>;
61
- readonly tooltipPosition: _angular_core.InputSignal<"above" | "below" | "left" | "right" | undefined>;
61
+ readonly tooltipPosition: _angular_core.InputSignal<"left" | "right" | "above" | "below" | undefined>;
62
62
  constructor();
63
63
  doClick: () => void;
64
64
  getBackgroundColor: (color: Color) => string;
@@ -381,6 +381,7 @@ declare const BaseErrorDisplays: {
381
381
  maxdate: string;
382
382
  maxfilesize: string;
383
383
  minfilesize: string;
384
+ maxfilenamelength: string;
384
385
  };
385
386
 
386
387
  type InputType = 'text' | 'password' | 'email' | 'textArea' | 'number' | 'date' | 'datetime' | 'time' | 'time-seconds' | 'month' | 'week' | 'searchSelect' | 'tagSelect' | 'color' | 'toggle' | 'file' | 'range' | 'tel' | 'url' | 'hidden';
@@ -1250,9 +1251,9 @@ declare class ChrInputComponent implements ControlValueAccessor, OnInit {
1250
1251
  /**
1251
1252
  * Position of the tooltip relative to the input
1252
1253
  */
1253
- readonly tooltipPosition: _angular_core.InputSignal<"left" | "right" | "top" | "bottom">;
1254
+ readonly tooltipPosition: _angular_core.InputSignal<"top" | "bottom" | "left" | "right">;
1254
1255
  readonly required: _angular_core.Signal<boolean>;
1255
- readonly state: _angular_core.WritableSignal<"VALID" | "INVALID" | "PENDING" | "DISABLED" | "WARNING" | "IDLE">;
1256
+ readonly state: _angular_core.WritableSignal<"VALID" | "INVALID" | "WARNING" | "DISABLED" | "PENDING" | "IDLE">;
1256
1257
  readonly valid: _angular_core.Signal<void>;
1257
1258
  private readonly _elementRef;
1258
1259
  private readonly _element;
@@ -1804,7 +1805,7 @@ declare class ChrButtonComponent implements OnInit {
1804
1805
  /**
1805
1806
  * HTML Button type
1806
1807
  */
1807
- type: _angular_core.InputSignal<"button" | "submit">;
1808
+ type: _angular_core.InputSignal<"submit" | "button">;
1808
1809
  /**
1809
1810
  * Whether or not the button is disabled
1810
1811
  */
@@ -2502,7 +2503,7 @@ declare class DataListComponent implements OnInit, AfterViewInit, OnDestroy {
2502
2503
 
2503
2504
  declare class ChrHoverTitleComponent {
2504
2505
  title: _angular_core.InputSignal<string>;
2505
- position: _angular_core.InputSignal<"above" | "below" | "left" | "right">;
2506
+ position: _angular_core.InputSignal<"left" | "right" | "above" | "below">;
2506
2507
  originElement: _angular_core.InputSignal<HTMLElement | null>;
2507
2508
  color: _angular_core.Signal<string>;
2508
2509
  backgroundColor: _angular_core.Signal<string>;
@@ -2676,7 +2677,7 @@ declare class OutsideClickAwareDirective {
2676
2677
  declare class ChrHoverTitleDirective implements OnInit, OnDestroy {
2677
2678
  defaults: chrv_components.DebounceDefaults;
2678
2679
  chrTitle: _angular_core.ModelSignal<string | null | undefined>;
2679
- chrTitlePosition: _angular_core.InputSignal<"above" | "below" | "left" | "right">;
2680
+ chrTitlePosition: _angular_core.InputSignal<"left" | "right" | "above" | "below">;
2680
2681
  chrTitleSnap: _angular_core.InputSignal<boolean>;
2681
2682
  chrTitleDebounce: _angular_core.InputSignal<number>;
2682
2683
  private elementRef;
@@ -2741,7 +2742,7 @@ declare class ChrHoverDirective implements OnInit, OnDestroy {
2741
2742
  template: TemplateRef<any>;
2742
2743
  chrHoverContext: _angular_core.InputSignal<any>;
2743
2744
  chrHoverSnap: _angular_core.InputSignal<boolean>;
2744
- chrHoverPosition: _angular_core.InputSignal<"above" | "below" | "left" | "right">;
2745
+ chrHoverPosition: _angular_core.InputSignal<"left" | "right" | "above" | "below">;
2745
2746
  chrHoverCloseDelay: _angular_core.InputSignal<number>;
2746
2747
  private overlayRef;
2747
2748
  private portal?;
@@ -2768,7 +2769,7 @@ declare class ChrHoverDirective implements OnInit, OnDestroy {
2768
2769
  */
2769
2770
  declare class ChrPopoverDirective implements OnInit, AfterViewInit {
2770
2771
  readonly chrPopover: _angular_core.InputSignal<string | TemplateRef<any>>;
2771
- readonly chrPopoverPosition: _angular_core.InputSignal<"left" | "right" | "center" | "top" | "bottom">;
2772
+ readonly chrPopoverPosition: _angular_core.InputSignal<"top" | "bottom" | "left" | "right" | "center">;
2772
2773
  readonly chrPopoverData: _angular_core.InputSignal<any>;
2773
2774
  readonly chrPopoverOnHover: _angular_core.InputSignal<boolean>;
2774
2775
  readonly isOpen: _angular_core.WritableSignal<boolean>;
@@ -3122,6 +3123,15 @@ declare class TypeValidatorDirective implements Validator {
3122
3123
  }
3123
3124
  declare function type(type: string): ValidatorFn;
3124
3125
 
3126
+ declare class MaxFileNameLengthValidator implements Validator {
3127
+ readonly max: _angular_core.InputSignal<number>;
3128
+ validate(control: AbstractControl): ValidationErrors | null;
3129
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaxFileNameLengthValidator, never>;
3130
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MaxFileNameLengthValidator, "[app-max-file-size]", never, { "max": { "alias": "max"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3131
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<MaxFileNameLengthValidator>;
3132
+ }
3133
+ declare function maxFileNameLength(maxLength: number): ValidatorFn;
3134
+
3125
3135
  interface IDisplayableColumnMetadata extends IMinimumColumnMetadata {
3126
3136
  displayName: string;
3127
3137
  }
@@ -3242,5 +3252,5 @@ declare const provideDebounceEventPlugin: () => {
3242
3252
  useClass: typeof DebounceEventPlugin;
3243
3253
  }[];
3244
3254
 
3245
- 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, ChrInputComponent, ChrInputData, ChrInputDataOverlay, ChrInputIndicators, ChrLegacyFileInputComponent, ChrModalComponent, ChrNiceFileInputComponent, ChrPaginatorComponent, ChrPasswordInputComponent, ChrPopoverDirective, ChrPreventReloadDirective, ChrSearchSelectComponent, ChrSearchSelectInputComponent, ChrSearchbarComponent, ChrSeparatorComponent, ChrSpinnerComponent, ChrTableComponent, ChrTableHeaderCellComponent, ChrTagSelectComponent, ChrTagSelectInputComponent, ChrTextAreaInputComponent, 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 };
3255
+ 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, ChrInputComponent, ChrInputData, ChrInputDataOverlay, ChrInputIndicators, ChrLegacyFileInputComponent, ChrModalComponent, ChrNiceFileInputComponent, ChrPaginatorComponent, ChrPasswordInputComponent, ChrPopoverDirective, ChrPreventReloadDirective, ChrSearchSelectComponent, ChrSearchSelectInputComponent, ChrSearchbarComponent, ChrSeparatorComponent, ChrSpinnerComponent, ChrTableComponent, ChrTableHeaderCellComponent, ChrTagSelectComponent, ChrTagSelectInputComponent, ChrTextAreaInputComponent, 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, MaxFileNameLengthValidator, 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, maxFileNameLength, maxFileSize, maxLength, minFileSize, minLength, provideDebounceEventPlugin, provideXsrfHttpClient, required, type };
3246
3256
  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, Position, TColumn, TColumnType, Toast, ValidationResult };
Binary file