chrv-components 1.12.235 → 1.12.237

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.235",
3
+ "version": "1.12.237",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=22.0.0",
6
6
  "@angular/core": ">=22.0.0",
@@ -53,12 +53,12 @@ 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>;
60
60
  readonly tooltip: _angular_core.InputSignal<string | undefined>;
61
- readonly tooltipPosition: _angular_core.InputSignal<"left" | "right" | "above" | "below" | undefined>;
61
+ readonly tooltipPosition: _angular_core.InputSignal<"above" | "below" | "left" | "right" | undefined>;
62
62
  constructor();
63
63
  doClick: () => void;
64
64
  getBackgroundColor: (color: Color) => string;
@@ -2547,7 +2547,7 @@ declare class DataListComponent implements OnInit, AfterViewInit, OnDestroy {
2547
2547
 
2548
2548
  declare class ChrHoverTitleComponent {
2549
2549
  title: _angular_core.InputSignal<string>;
2550
- position: _angular_core.InputSignal<"left" | "right" | "above" | "below">;
2550
+ position: _angular_core.InputSignal<"above" | "below" | "left" | "right">;
2551
2551
  originElement: _angular_core.InputSignal<HTMLElement | null>;
2552
2552
  color: _angular_core.Signal<string>;
2553
2553
  backgroundColor: _angular_core.Signal<string>;
@@ -2614,16 +2614,23 @@ declare class Spinner {
2614
2614
  declare class ChrSimpleTableComponent<T> {
2615
2615
  readonly id: _angular_core.InputSignal<`${string}-${string}-${string}-${string}-${string}`>;
2616
2616
  readonly data: _angular_core.InputSignal<T[]>;
2617
- readonly layout: _angular_core.InputSignal<"fixed" | "auto">;
2617
+ readonly layout: _angular_core.InputSignal<"auto" | "fixed">;
2618
2618
  readonly page: _angular_core.ModelSignal<number>;
2619
2619
  readonly pageSize: _angular_core.ModelSignal<number>;
2620
- protected readonly captionTemplate?: TemplateRef<unknown>;
2621
- protected readonly headerTemplate?: TemplateRef<unknown>;
2622
- protected readonly rowTemplate?: TemplateRef<{
2620
+ protected readonly captionTemplate: _angular_core.Signal<TemplateRef<unknown> | undefined>;
2621
+ protected readonly headerTemplate: _angular_core.Signal<TemplateRef<unknown> | undefined>;
2622
+ protected readonly rowTemplate?: _angular_core.Signal<TemplateRef<{
2623
2623
  $implicit: T;
2624
- }>;
2624
+ }> | undefined> | undefined;
2625
+ protected readonly actionsTemplate: _angular_core.Signal<TemplateRef<{
2626
+ $implicit: T;
2627
+ }> | undefined>;
2625
2628
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrSimpleTableComponent<any>, never>;
2626
- 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>;
2629
+ 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", "actionsTemplate"], never, true, never>;
2630
+ }
2631
+ declare class ChrSimpleTableActions<T> {
2632
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChrSimpleTableActions<any>, never>;
2633
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChrSimpleTableActions<any>, "chr-table-actions", never, {}, {}, never, ["*"], true, never>;
2627
2634
  }
2628
2635
 
2629
2636
  declare class TabToInputHandlerDirective {
@@ -2736,7 +2743,7 @@ declare class OutsideClickAwareDirective {
2736
2743
  declare class ChrHoverTitleDirective implements OnInit, OnDestroy {
2737
2744
  defaults: chrv_components.DebounceDefaults;
2738
2745
  chrTitle: _angular_core.ModelSignal<string | null | undefined>;
2739
- chrTitlePosition: _angular_core.InputSignal<"left" | "right" | "above" | "below">;
2746
+ chrTitlePosition: _angular_core.InputSignal<"above" | "below" | "left" | "right">;
2740
2747
  chrTitleSnap: _angular_core.InputSignal<boolean>;
2741
2748
  chrTitleDebounce: _angular_core.InputSignal<number>;
2742
2749
  private elementRef;
@@ -2801,7 +2808,7 @@ declare class ChrHoverDirective implements OnInit, OnDestroy {
2801
2808
  template: TemplateRef<any>;
2802
2809
  chrHoverContext: _angular_core.InputSignal<any>;
2803
2810
  chrHoverSnap: _angular_core.InputSignal<boolean>;
2804
- chrHoverPosition: _angular_core.InputSignal<"left" | "right" | "above" | "below">;
2811
+ chrHoverPosition: _angular_core.InputSignal<"above" | "below" | "left" | "right">;
2805
2812
  chrHoverCloseDelay: _angular_core.InputSignal<number>;
2806
2813
  private overlayRef;
2807
2814
  private portal?;
@@ -2828,7 +2835,7 @@ declare class ChrHoverDirective implements OnInit, OnDestroy {
2828
2835
  */
2829
2836
  declare class ChrPopoverDirective implements OnInit, AfterViewInit {
2830
2837
  readonly chrPopover: _angular_core.InputSignal<string | TemplateRef<any>>;
2831
- readonly chrPopoverPosition: _angular_core.InputSignal<"left" | "right" | "top" | "bottom" | "center">;
2838
+ readonly chrPopoverPosition: _angular_core.InputSignal<"left" | "right" | "center" | "top" | "bottom">;
2832
2839
  readonly chrPopoverData: _angular_core.InputSignal<any>;
2833
2840
  readonly chrPopoverOnHover: _angular_core.InputSignal<boolean>;
2834
2841
  readonly chrPopoverIsOpen: _angular_core.ModelSignal<boolean>;
@@ -3213,6 +3220,7 @@ interface DataSourceConfig<T extends BaseTable = BaseTable> {
3213
3220
  }
3214
3221
  declare class AutoDataSource<T extends AutoDataTable = AutoDataTable> {
3215
3222
  private _subscriptions;
3223
+ private readonly destroyRef;
3216
3224
  protected _datagrid: _angular_core.WritableSignal<DataGrid | null>;
3217
3225
  protected _datagridElement: _angular_core.WritableSignal<ElementRef<any> | null>;
3218
3226
  protected _data: _angular_core.WritableSignal<T | undefined>;
@@ -3293,5 +3301,5 @@ declare const provideDebounceEventPlugin: () => {
3293
3301
  useClass: typeof DebounceEventPlugin;
3294
3302
  }[];
3295
3303
 
3296
- 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, ChrCellDefDirective, 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 };
3304
+ 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, ChrCellDefDirective, 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, ChrSimpleTableActions, 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 };
3297
3305
  export type { Alignment, Breadcrumb, ButtonColors, ChrCellTemplateContext, 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