@colijnit/corecomponents_v12 257.1.1 → 257.1.12
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 +30 -8
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/input-search/input-search.component.js +11 -7
- package/esm2015/lib/components/input-text/input-text.component.js +24 -4
- package/fesm2015/colijnit-corecomponents_v12.js +32 -8
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/input-search/input-search.component.d.ts +1 -0
- package/lib/components/input-text/input-text.component.d.ts +5 -2
- package/lib/components/input-text/style/_layout.scss +6 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ComponentFactoryResolver, ElementRef, EventEmitter } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ComponentFactoryResolver, ElementRef, EventEmitter, Injector } from '@angular/core';
|
|
2
2
|
import { BaseInputComponent } from '../base/base-input.component';
|
|
3
3
|
import { CoreComponentsIcon } from '../../core/enum/core-components-icon.enum';
|
|
4
4
|
import { KeyboardCode } from '../../core/enum/keyboard-code.enum';
|
|
@@ -9,6 +9,7 @@ import { SafeHtml } from '@angular/platform-browser';
|
|
|
9
9
|
import { OverlayService } from '../../service/overlay.service';
|
|
10
10
|
export declare class InputTextComponent extends BaseInputComponent<any> implements AfterViewInit {
|
|
11
11
|
formComponent: FormComponent;
|
|
12
|
+
protected injector: Injector;
|
|
12
13
|
protected changeDetector: ChangeDetectorRef;
|
|
13
14
|
protected overlayService: OverlayService;
|
|
14
15
|
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
@@ -19,6 +20,7 @@ export declare class InputTextComponent extends BaseInputComponent<any> implemen
|
|
|
19
20
|
placeholder: string;
|
|
20
21
|
align: string;
|
|
21
22
|
type: string;
|
|
23
|
+
formatPipe: any;
|
|
22
24
|
min: number;
|
|
23
25
|
max: number;
|
|
24
26
|
pattern: string;
|
|
@@ -51,10 +53,11 @@ export declare class InputTextComponent extends BaseInputComponent<any> implemen
|
|
|
51
53
|
handleDocumentMouseUp(event: MouseEvent): void;
|
|
52
54
|
set model(value: any);
|
|
53
55
|
get model(): any;
|
|
56
|
+
get pipedModel(): any;
|
|
54
57
|
isFocusedOnDate: boolean;
|
|
55
58
|
private _isLeftIconMouseDown;
|
|
56
59
|
private _isRightIconMouseDown;
|
|
57
|
-
constructor(formComponent: FormComponent, changeDetector: ChangeDetectorRef, overlayService: OverlayService, componentFactoryResolver: ComponentFactoryResolver, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
60
|
+
constructor(formComponent: FormComponent, injector: Injector, changeDetector: ChangeDetectorRef, overlayService: OverlayService, componentFactoryResolver: ComponentFactoryResolver, formUserChangeListener?: FormInputUserModelChangeListenerService, ngZoneWrapper?: NgZoneWrapperService, elementRef?: ElementRef);
|
|
58
61
|
excludeNonDigitChars(event: any): boolean;
|
|
59
62
|
handleLeftIconClick(event: MouseEvent): void;
|
|
60
63
|
handleLeftIconMouseDown(event: MouseEvent): void;
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
white-space: nowrap;
|
|
11
11
|
text-overflow: ellipsis;
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
input, .input-text-formatted {
|
|
14
|
+
display: none;
|
|
15
15
|
max-width: 100%;
|
|
16
16
|
font-family: $cc-co-input-text-font-family;
|
|
17
17
|
font-size: $cc-co-input-text-font-size;
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
&.right {
|
|
22
22
|
text-align: right;
|
|
23
23
|
}
|
|
24
|
+
&.show {
|
|
25
|
+
display: block;
|
|
26
|
+
}
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
.input-input-hidden { // positioned way of so it looks hidden
|
|
@@ -91,7 +94,7 @@
|
|
|
91
94
|
flex-basis: 100%;
|
|
92
95
|
position: relative;
|
|
93
96
|
}
|
|
94
|
-
input {
|
|
97
|
+
input, .input-text-formatted {
|
|
95
98
|
border: none;
|
|
96
99
|
outline: none;
|
|
97
100
|
padding: $cc-input-input-padding;
|