chrv-components 1.12.207 → 1.12.209

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.207",
3
+ "version": "1.12.209",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=22.0.0",
6
6
  "@angular/core": ">=22.0.0",
@@ -53,7 +53,7 @@ declare class ChrButtonLegacyComponent {
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<"fixed" | "none" | "responsive" | "table" | "full" | "small">;
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>;
@@ -1170,10 +1170,6 @@ declare class ChrNiceFileInputComponent extends ChrLegacyFileInputComponent impl
1170
1170
  }
1171
1171
 
1172
1172
  declare class ChrInputComponent implements ControlValueAccessor, OnInit {
1173
- /**
1174
- * NgControl attached to this input if there is any
1175
- */
1176
- ngControl: _angular_core.WritableSignal<NgControl | null>;
1177
1173
  /**
1178
1174
  * Label of the input
1179
1175
  */
@@ -1219,11 +1215,11 @@ declare class ChrInputComponent implements ControlValueAccessor, OnInit {
1219
1215
  /**
1220
1216
  * Current status of the input
1221
1217
  */
1222
- readonly isDisabled: _angular_core.Signal<boolean>;
1218
+ readonly isDisabled: _angular_core.ModelSignal<boolean>;
1223
1219
  /**
1224
1220
  * Current touch status of the input
1225
1221
  */
1226
- readonly isTouched: _angular_core.Signal<boolean>;
1222
+ readonly isTouched: _angular_core.WritableSignal<boolean>;
1227
1223
  /**
1228
1224
  * Current focus status of the input
1229
1225
  */
@@ -1244,6 +1240,10 @@ declare class ChrInputComponent implements ControlValueAccessor, OnInit {
1244
1240
  * Maximum value length for number (or other supporting input type) input
1245
1241
  */
1246
1242
  readonly maxLength: _angular_core.InputSignal<number | undefined>;
1243
+ /**
1244
+ * NgControl attached to this input if there is any
1245
+ */
1246
+ ngControl: _angular_core.ModelSignal<NgControl | null>;
1247
1247
  /**
1248
1248
  * Tooltip text to display when hovering over the input
1249
1249
  */
@@ -1255,7 +1255,7 @@ declare class ChrInputComponent implements ControlValueAccessor, OnInit {
1255
1255
  */
1256
1256
  readonly tooltipPosition: _angular_core.InputSignal<"top" | "bottom" | "left" | "right">;
1257
1257
  readonly required: _angular_core.ModelSignal<boolean>;
1258
- readonly state: _angular_core.ModelSignal<"VALID" | "INVALID" | "PENDING" | "DISABLED" | "WARNING" | "IDLE">;
1258
+ readonly state: _angular_core.ModelSignal<"VALID" | "INVALID" | "WARNING" | "DISABLED" | "PENDING" | "IDLE">;
1259
1259
  readonly errors: _angular_core.InputSignal<ValidationErrors | null | undefined>;
1260
1260
  readonly valid: _angular_core.Signal<void>;
1261
1261
  private readonly _elementRef;
@@ -1285,10 +1285,12 @@ declare class ChrInputComponent implements ControlValueAccessor, OnInit {
1285
1285
  registerOnChange(fn: (value: any) => any): void;
1286
1286
  registerOnTouched(fn: () => void): void;
1287
1287
  focusInput(): void;
1288
+ setDisabledState(isDisabled: boolean): void;
1288
1289
  getLastError(): string | null;
1290
+ protected trimmedErrorDisplay: (error: string, limit: any, actual: any) => string;
1289
1291
  private _getState;
1290
1292
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrInputComponent, never>;
1291
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrInputComponent, "chr-input", never, { "label": { "alias": "label"; "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; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "outputType": { "alias": "outputType"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; "isFocused": { "alias": "isFocused"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "isIndicatorsOpen": { "alias": "isIndicatorsOpen"; "required": false; "isSignal": true; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, { "id": "idChange"; "name": "nameChange"; "value": "valueChange"; "displayValue": "displayValueChange"; "outputType": "outputTypeChange"; "isFocused": "isFocusedChange"; "isIndicatorsOpen": "isIndicatorsOpenChange"; "required": "requiredChange"; "state": "stateChange"; "input": "input"; "change": "change"; "debouncedInput": "debouncedInput"; "focus": "focus"; "enter": "enter"; "blur": "blur"; }, never, ["chr-input-indicators", "chr-input-data-overlay", "*", "chr-input-data"], true, never>;
1293
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrInputComponent, "chr-input", never, { "label": { "alias": "label"; "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; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "outputType": { "alias": "outputType"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "isFocused": { "alias": "isFocused"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "ngControl": { "alias": "ngControl"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "isIndicatorsOpen": { "alias": "isIndicatorsOpen"; "required": false; "isSignal": true; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, { "id": "idChange"; "name": "nameChange"; "value": "valueChange"; "displayValue": "displayValueChange"; "outputType": "outputTypeChange"; "isDisabled": "isDisabledChange"; "isFocused": "isFocusedChange"; "ngControl": "ngControlChange"; "isIndicatorsOpen": "isIndicatorsOpenChange"; "required": "requiredChange"; "state": "stateChange"; "input": "input"; "change": "change"; "debouncedInput": "debouncedInput"; "focus": "focus"; "enter": "enter"; "blur": "blur"; }, never, ["chr-input-indicators", "chr-input-data-overlay", "*", "chr-input-data"], true, never>;
1292
1294
  }
1293
1295
  declare class ChrInputIndicators {
1294
1296
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrInputIndicators, never>;
@@ -1349,7 +1351,6 @@ declare class ChrFileInputComponent extends ChrInputComponent implements Control
1349
1351
  */
1350
1352
  readonly isDragging: _angular_core.WritableSignal<boolean>;
1351
1353
  private readonly fileEntries;
1352
- private readonly validationRevision;
1353
1354
  constructor();
1354
1355
  ngOnInit(): void;
1355
1356
  ngAfterContentInit(): void;
@@ -2562,6 +2563,21 @@ declare class Spinner {
2562
2563
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<Spinner, "chr-spinner", never, { "shown": { "alias": "shown"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2563
2564
  }
2564
2565
 
2566
+ declare class ChrSimpleTableComponent<T> {
2567
+ readonly id: _angular_core.InputSignal<`${string}-${string}-${string}-${string}-${string}`>;
2568
+ readonly data: _angular_core.InputSignal<T[]>;
2569
+ readonly layout: _angular_core.InputSignal<"auto" | "fixed">;
2570
+ readonly page: _angular_core.ModelSignal<number>;
2571
+ readonly pageSize: _angular_core.ModelSignal<number>;
2572
+ protected readonly captionTemplate?: TemplateRef<unknown>;
2573
+ protected readonly headerTemplate?: TemplateRef<unknown>;
2574
+ protected readonly rowTemplate?: TemplateRef<{
2575
+ $implicit: T;
2576
+ }>;
2577
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrSimpleTableComponent<any>, never>;
2578
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrSimpleTableComponent<any>, "chr-table", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": true; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; }, { "page": "pageChange"; "pageSize": "pageSizeChange"; }, ["captionTemplate", "headerTemplate", "rowTemplate"], never, true, never>;
2579
+ }
2580
+
2565
2581
  declare class TabToInputHandlerDirective {
2566
2582
  private el;
2567
2583
  handleTab(event: KeyboardEvent): void;
@@ -3256,5 +3272,5 @@ declare const provideDebounceEventPlugin: () => {
3256
3272
  useClass: typeof DebounceEventPlugin;
3257
3273
  }[];
3258
3274
 
3259
- 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, MinFileNameLengthValidator, 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, minFileNameLength, minFileSize, minLength, provideDebounceEventPlugin, provideXsrfHttpClient, required, type };
3275
+ 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, ChrSimpleTableComponent, 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, MinFileNameLengthValidator, 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, minFileNameLength, minFileSize, minLength, provideDebounceEventPlugin, provideXsrfHttpClient, required, type };
3260
3276
  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