@colijnit/corecomponents_v12 257.1.11 → 257.1.13

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;
@@ -64,5 +67,6 @@ export declare class InputTextComponent extends BaseInputComponent<any> implemen
64
67
  handleRightIconMouseUp(event: MouseEvent): void;
65
68
  handleInputFocus(event: FocusEvent): void;
66
69
  handleBlur(event: FocusEvent): void;
70
+ handleDoFocus(event: MouseEvent): void;
67
71
  clearInput(event: MouseEvent): void;
68
72
  }
@@ -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
+ visibility: hidden;
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
+ visibility: visible;
26
+ }
24
27
  }
25
28
 
26
29
  .input-input-hidden { // positioned way of so it looks hidden
@@ -91,14 +94,15 @@
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;
98
101
  align-self: end;
99
102
  overflow: hidden;
100
103
  text-overflow: ellipsis;
101
- width: 100%;
104
+ min-width: 100%;
105
+ min-height: $cc-co-input-text-input-height;
102
106
  }
103
107
  .input-content-wrapper {
104
108
  width: 100%;
@@ -7,6 +7,7 @@ $cc-co-input-placeholder-color: $cc-color-border !default;
7
7
  $cc-co-input-placeholder-font-style: italic !default;
8
8
  $cc-co-input-text-small-height: 45px !default;
9
9
  $cc-co-input-text-icon-max-height: $cc-item-size !default;
10
+ $cc-co-input-text-input-height: 20px !default;
10
11
  $cc-co-input-text-icon-size: 50% !default;
11
12
  $cc-co-input-text-icon-margin-number: 0 !default;
12
13
  $cc-co-input-text-spacer-width: $cc-input-border-width !default;
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.13",
4
4
  "description": "Colijn IT core components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {