@colijnit/corecomponents_v12 12.2.5 → 12.2.7

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.
@@ -57,7 +57,7 @@ export declare abstract class BaseInputComponent<T> implements OnInit, OnDestroy
57
57
  redErrorBackground: boolean;
58
58
  set myFormInputInstance(value: BaseInputComponent<T>);
59
59
  get myFormInputInstance(): BaseInputComponent<T>;
60
- private _myFormInputInstance;
60
+ commitOnBlur: boolean;
61
61
  readonly nativeBlur: EventEmitter<any>;
62
62
  readonly blur: EventEmitter<any>;
63
63
  readonly enter: EventEmitter<any>;
@@ -105,8 +105,10 @@ export declare abstract class BaseInputComponent<T> implements OnInit, OnDestroy
105
105
  protected _destroyed: boolean;
106
106
  protected _hasOnPushCdStrategy: boolean;
107
107
  protected _model: T;
108
+ protected _modelDirtyForCommit: boolean;
108
109
  protected _initialModel: T;
109
110
  protected _initialModelSet: boolean;
111
+ private _myFormInputInstance;
110
112
  private _errorValidationComponent;
111
113
  private _decimals;
112
114
  private _hidden;
@@ -130,7 +132,6 @@ export declare abstract class BaseInputComponent<T> implements OnInit, OnDestroy
130
132
  ngAfterViewInit(): void;
131
133
  ngOnDestroy(): void;
132
134
  commit: (model: any) => Promise<boolean>;
133
- commitClick(event?: MouseEvent): Promise<boolean>;
134
135
  cancelClick(event?: MouseEvent): void;
135
136
  showValidationError(error: string): void;
136
137
  /**
@@ -140,7 +141,7 @@ export declare abstract class BaseInputComponent<T> implements OnInit, OnDestroy
140
141
  setModel(value: any): void;
141
142
  requestFocus(): void;
142
143
  doFocus(event?: any): any;
143
- doBlur(event?: any): any;
144
+ doBlur(event?: any, handleCommit?: boolean): Promise<any>;
144
145
  detectChanges(): void;
145
146
  markForCheck(): void;
146
147
  detectChangesAfterAngular(): void;
@@ -158,6 +159,7 @@ export declare abstract class BaseInputComponent<T> implements OnInit, OnDestroy
158
159
  protected _markAsOnPush(): void;
159
160
  protected _checkState(): boolean;
160
161
  protected _updateControlValidatorsAndOwnFlags(): void;
162
+ private _handleCommit;
161
163
  private _commitFinished;
162
164
  private _clearErrorComponent;
163
165
  private _controlExists;
@@ -1,7 +1,9 @@
1
- import { ElementRef, EventEmitter, OnDestroy } from "@angular/core";
1
+ import { ElementRef, EventEmitter, OnDestroy, TemplateRef } from "@angular/core";
2
2
  import { SafeHtml } from "@angular/platform-browser";
3
3
  export declare class CollapsibleComponent implements OnDestroy {
4
4
  private _elementRef;
5
+ headerContent: TemplateRef<any>;
6
+ customHeaderContent: boolean;
5
7
  headerTitle: string;
6
8
  buttonText: string;
7
9
  iconData: SafeHtml | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/corecomponents_v12",
3
- "version": "12.2.5",
3
+ "version": "12.2.7",
4
4
  "description": "Colijn IT core components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {