@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.
- package/bundles/colijnit-corecomponents_v12.umd.js +81 -55
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/base/base-input.component.js +52 -43
- package/esm2015/lib/components/collapsible/collapsible.component.js +13 -2
- package/fesm2015/colijnit-corecomponents_v12.js +62 -44
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/base/base-input.component.d.ts +5 -3
- package/lib/components/collapsible/collapsible.component.d.ts +3 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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;
|