chrv-components 1.11.68 → 1.11.70

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
@@ -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, QueryList, AfterContentInit, InjectionToken } from '@angular/core';
2
+ import { OnInit, ViewContainerRef, AfterViewInit, Type, ApplicationRef, EnvironmentInjector, ComponentRef, OnDestroy, ElementRef, AfterViewChecked, AfterContentChecked, AfterContentInit, QueryList, InjectionToken } from '@angular/core';
3
3
  import { Router, UrlTree } from '@angular/router';
4
4
  import * as rxjs from 'rxjs';
5
5
  import { Observable, Subject, BehaviorSubject } from 'rxjs';
@@ -24,9 +24,12 @@ declare class BreadcrumbComponent {
24
24
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<BreadcrumbComponent, "app-chr-breadcrumb", never, { "crumbs": { "alias": "crumbs"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
25
25
  }
26
26
 
27
- type Color = 'primary' | 'primary-contrast' | 'secondary' | 'secondary-contrast' | 'tertiary' | 'tertiary-contrast' | 'warn' | 'warn-contrast' | 'error' | 'error-contrast' | 'black' | 'white' | 'none';
27
+ type Color = 'primary' | 'primary-contrast' | 'secondary' | 'secondary-contrast' | 'tertiary' | 'tertiary-contrast' | 'warn' | 'warn-contrast' | 'error' | 'error-contrast' | 'black' | 'white' | 'text' | 'neutral' | 'background' | 'none';
28
+ declare const ColorsVariables: {
29
+ [key in Color]: string;
30
+ };
28
31
  declare const Colors: {
29
- [key: string]: string;
32
+ [key in Color]: string;
30
33
  };
31
34
  declare function getTextColor(color?: Color): string;
32
35
  declare function getContrastTextColor(color: Color): string;
@@ -768,7 +771,7 @@ declare class ChrBaseInputComponent implements OnInit, ControlValueAccessor, Aft
768
771
  private configureValidityReplication;
769
772
  private configureFormControl;
770
773
  protected doCallback: () => void;
771
- protected visualState: () => "error" | "default" | "empty" | "valid";
774
+ protected visualState: () => "error" | "empty" | "valid" | "default";
772
775
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrBaseInputComponent, never>;
773
776
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrBaseInputComponent, "chr-base-input", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "displayValue": { "alias": "displayValue"; "required": false; "isSignal": true; }; "span": { "alias": "span"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconCallback": { "alias": "iconCallback"; "required": false; "isSignal": true; }; "iconCallbackDisabled": { "alias": "iconCallbackDisabled"; "required": false; "isSignal": true; }; "iconTooltip": { "alias": "iconTooltip"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; "validations": { "alias": "validations"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "autofocus": { "alias": "autofocus"; "required": false; "isSignal": true; }; "base64": { "alias": "base64"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "siblings": { "alias": "siblings"; "required": false; "isSignal": true; }; "mask": { "alias": "mask"; "required": false; "isSignal": true; }; "maskShownExpression": { "alias": "maskShownExpression"; "required": false; "isSignal": true; }; "maskValidation": { "alias": "maskValidation"; "required": false; "isSignal": true; }; "maskShownTemplate": { "alias": "maskShownTemplate"; "required": false; "isSignal": true; }; "maskPrefix": { "alias": "maskPrefix"; "required": false; "isSignal": true; }; "maskSuffix": { "alias": "maskSuffix"; "required": false; "isSignal": true; }; }, { "name": "nameChange"; "value": "valueChange"; "displayValue": "displayValueChange"; "focus": "focus"; "blur": "blur"; "disabled": "disabledChange"; }, never, never, true, never>;
774
777
  }
@@ -1356,13 +1359,14 @@ declare class TabComponent {
1356
1359
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabComponent, "chr-tab", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
1357
1360
  }
1358
1361
 
1359
- declare class TabGroupComponent {
1362
+ declare class TabGroupComponent implements AfterContentInit {
1360
1363
  tabs: QueryList<TabComponent>;
1361
1364
  protected selectedIndex: _angular_core.WritableSignal<number>;
1362
- color: _angular_core.InputSignal<"primary" | "secondary" | "tertiary" | undefined>;
1365
+ color: _angular_core.InputSignal<Color | undefined>;
1363
1366
  fade: _angular_core.InputSignal<boolean>;
1364
1367
  ngAfterContentInit(): void;
1365
1368
  selectTab: (index: number) => void;
1369
+ getVariableColor(color: Color): string;
1366
1370
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabGroupComponent, never>;
1367
1371
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabGroupComponent, "chr-tab-group", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "fade": { "alias": "fade"; "required": false; "isSignal": true; }; }, {}, ["tabs"], ["chr-tab"], true, never>;
1368
1372
  }
@@ -1483,8 +1487,8 @@ declare class ChrContextMenuComponent implements AfterViewInit {
1483
1487
  click: _angular_core.OutputEmitterRef<any>;
1484
1488
  trigger: (item: IContextMenuItem) => void;
1485
1489
  ngAfterViewInit(): void;
1486
- getHoverTextColor(item: any): string;
1487
- getHoverBgColor(item: any): string;
1490
+ getVariableColor(color: Color): string;
1491
+ getVariableContrastColor(color: Color): string;
1488
1492
  private position;
1489
1493
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrContextMenuComponent, never>;
1490
1494
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrContextMenuComponent, "chr-context-menu", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "origin": { "alias": "origin"; "required": true; "isSignal": true; }; }, { "click": "click"; }, never, never, true, never>;
@@ -1701,5 +1705,5 @@ declare const XSRFHEADERNAME: InjectionToken<string>;
1701
1705
  declare const XSRFCOOKIENAME: InjectionToken<string>;
1702
1706
  declare const HUBURL: InjectionToken<string>;
1703
1707
 
1704
- export { Aligments, AutofocusDirective, BaseErrorDisplays, 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, ContextMenuDirective, CookiesService, DEFAULTLIVEUPDATEMESSAGE, DataService, DecimalValidatorDirective, DefaultLiveUpdateMessage, FileService, HUBURL, InlineSvgComponent, LiveUpdateService, LiveUpdateStatus, LoaderService, MaxDateValidatorDirective, MaxFileSizeValidator, MaxLengthValidatorDirective, MinFileSizeValidator, MinLengthValidatorDirective, ModalRef, ModalService, RequiredValidatorDirective, SpinnerInterceptor, SyncValidatorToAsync, TabComponent, TabGroupComponent, TabToEnterHandlerDirective, TabToInputHandlerDirective, 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 };
1708
+ export { Aligments, AutofocusDirective, BaseErrorDisplays, 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, ContextMenuDirective, CookiesService, DEFAULTLIVEUPDATEMESSAGE, DataService, DecimalValidatorDirective, DefaultLiveUpdateMessage, FileService, HUBURL, InlineSvgComponent, LiveUpdateService, LiveUpdateStatus, LoaderService, MaxDateValidatorDirective, MaxFileSizeValidator, MaxLengthValidatorDirective, MinFileSizeValidator, MinLengthValidatorDirective, ModalRef, ModalService, RequiredValidatorDirective, SpinnerInterceptor, SyncValidatorToAsync, TabComponent, TabGroupComponent, TabToEnterHandlerDirective, TabToInputHandlerDirective, 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 };
1705
1709
  export type { Alignment, Breadcrumb, Color, IAction, IChip, IChips, IColumn, IComputedColumn, IComputedRow, IContextMenuItem, IControl, IControlValidation, IFile, IFormSection, IInputSearchFilter, ILiveUpdateMessage, IModalRef, ISearchFilter, IXsrfProviderParams, InputType, ModalData, ModalOptions, TColumn, TColumnType, Toast };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chrv-components",
3
- "version": "1.11.68",
3
+ "version": "1.11.70",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=17.0.0",
6
6
  "@angular/core": ">=17.0.0",
Binary file