@colijnit/corecomponents_v12 257.1.11 → 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.
@@ -17,4 +17,5 @@ export declare class InputSearchComponent extends BaseInputComponent<string> imp
17
17
  showClass(): boolean;
18
18
  handleKeyDown(event: KeyboardEvent): void;
19
19
  handleModelChange(model: string): void;
20
+ private isMobileDevice;
20
21
  }
@@ -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
- input {
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/corecomponents_v12",
3
- "version": "257.1.11",
3
+ "version": "257.1.12",
4
4
  "description": "Colijn IT core components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {