@colijnit/corecomponents_v12 12.2.0 → 12.2.1
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 +35 -13
- 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 +7 -2
- package/esm2015/lib/components/input-search/input-search.component.js +2 -2
- package/esm2015/lib/components/input-text/input-text.component.js +7 -2
- package/esm2015/lib/components/list-of-values/list-of-values-popup.component.js +25 -8
- package/esm2015/lib/components/list-of-values/list-of-values.component.js +18 -15
- package/fesm2015/colijnit-corecomponents_v12.js +53 -23
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/base/base-input.component.d.ts +1 -0
- package/lib/components/grid-toolbar/style/_material-definition.scss +1 -1
- package/lib/components/input-text/style/_layout.scss +9 -0
- package/lib/components/input-text/style/_material-definition.scss +1 -1
- package/lib/components/list-of-values/list-of-values-popup.component.d.ts +3 -0
- package/lib/components/list-of-values/list-of-values.component.d.ts +0 -1
- package/lib/components/list-of-values/style/_layout.scss +22 -7
- package/lib/components/list-of-values/style/_material-definition.scss +0 -10
- package/lib/style/_variables.scss +1 -0
- package/package.json +1 -1
|
@@ -73,6 +73,7 @@ export declare abstract class BaseInputComponent<T> implements OnInit, OnDestroy
|
|
|
73
73
|
customWidth: boolean;
|
|
74
74
|
customHeight: boolean;
|
|
75
75
|
noTriangleGraphic: boolean;
|
|
76
|
+
keepFocussed: boolean;
|
|
76
77
|
halfWidth: boolean;
|
|
77
78
|
fullWidth: boolean;
|
|
78
79
|
excludeUserModelChange: boolean;
|
|
@@ -8,7 +8,7 @@ $cc-grid-toolbar-padding: 0 !default;
|
|
|
8
8
|
|
|
9
9
|
$cc-grid-toolbar-button-size: 30px !default;
|
|
10
10
|
$cc-grid-toolbar-button-background-color: white !default;
|
|
11
|
-
$cc-grid-toolbar-button-color:
|
|
11
|
+
$cc-grid-toolbar-button-color: #009EE0 !default;
|
|
12
12
|
$cc-grid-toolbar-button-border-style: solid !default;
|
|
13
13
|
$cc-grid-toolbar-button-border-color: black !default;
|
|
14
14
|
$cc-grid-toolbar-button-border-width: 1px !default;
|
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
text-align: right;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
+
.input-input-hidden { // positioned way of so it looks hidden
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: -200px;
|
|
26
|
+
opacity: 0;
|
|
27
|
+
}
|
|
23
28
|
&.hide-arrows {
|
|
24
29
|
input::-webkit-outer-spin-button,
|
|
25
30
|
input::-webkit-inner-spin-button {
|
|
@@ -83,6 +88,10 @@
|
|
|
83
88
|
text-overflow: ellipsis;
|
|
84
89
|
width: 100%;
|
|
85
90
|
}
|
|
91
|
+
.input-content-wrapper {
|
|
92
|
+
width: 100%;
|
|
93
|
+
padding: $cc-input-content-padding;
|
|
94
|
+
}
|
|
86
95
|
&.has-left-icon {
|
|
87
96
|
.input-text-left-icon {
|
|
88
97
|
border-radius: $cc-input-border-radius 0 0 $cc-input-border-radius;
|
|
@@ -6,7 +6,7 @@ $cc-co-input-text-border-color: $cc-color-border !default;
|
|
|
6
6
|
$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
|
-
$cc-co-input-text-icon-max-height:
|
|
9
|
+
$cc-co-input-text-icon-max-height: $cc-item-size !default;
|
|
10
10
|
$cc-co-input-text-icon-size: 50% !default;
|
|
11
11
|
$cc-co-input-text-icon-margin-number: 0 !default;
|
|
12
12
|
$cc-co-input-text-spacer-width: $cc-input-border-width !default;
|
|
@@ -5,6 +5,7 @@ export interface lovViewModel {
|
|
|
5
5
|
model: any;
|
|
6
6
|
}
|
|
7
7
|
export declare class ListOfValuesPopupComponent implements OnInit {
|
|
8
|
+
private _elementRef;
|
|
8
9
|
set lovItems(children: any);
|
|
9
10
|
dropDownList: ElementRef;
|
|
10
11
|
set inputSearch(component: InputSearchComponent);
|
|
@@ -19,6 +20,7 @@ export declare class ListOfValuesPopupComponent implements OnInit {
|
|
|
19
20
|
get collection(): any[];
|
|
20
21
|
modelChange: EventEmitter<any>;
|
|
21
22
|
closePopup: EventEmitter<Event>;
|
|
23
|
+
keyDown: EventEmitter<KeyboardEvent>;
|
|
22
24
|
showClass(): boolean;
|
|
23
25
|
set searchTerm(value: string);
|
|
24
26
|
get searchTerm(): string;
|
|
@@ -29,6 +31,7 @@ export declare class ListOfValuesPopupComponent implements OnInit {
|
|
|
29
31
|
private _searchTerm;
|
|
30
32
|
private _lovItems;
|
|
31
33
|
private _searchInput;
|
|
34
|
+
constructor(_elementRef: ElementRef);
|
|
32
35
|
ngOnInit(): void;
|
|
33
36
|
handleInputKeyDown(event: KeyboardEvent): boolean;
|
|
34
37
|
filterViewModels(): void;
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
font-size: $cc-co-list-of-values-font-size;
|
|
7
7
|
height: $cc-co-list-of-values-height;
|
|
8
8
|
background: $cc-co-list-of-values-background-color;
|
|
9
|
-
border-radius: $cc-
|
|
9
|
+
border-radius: $cc-input-border-radius;
|
|
10
10
|
overflow: hidden;
|
|
11
11
|
&:before {
|
|
12
12
|
content: '';
|
|
13
|
-
box-shadow: inset 0 0 0 $cc-
|
|
14
|
-
border-radius: $cc-
|
|
13
|
+
box-shadow: inset 0 0 0 $cc-input-border-width $cc-input-border-color;
|
|
14
|
+
border-radius: $cc-input-border-radius;
|
|
15
15
|
position: absolute;
|
|
16
16
|
pointer-events: none;
|
|
17
17
|
top: 0;
|
|
@@ -21,9 +21,10 @@
|
|
|
21
21
|
z-index: 1;
|
|
22
22
|
}
|
|
23
23
|
&:not(.read-only):hover {
|
|
24
|
-
@include hover($cc-
|
|
24
|
+
@include hover($cc-input-border-hover-style, $cc-input-border-hover-width, $cc-input-border-hover-color, $cc-input-border-radius);
|
|
25
25
|
}
|
|
26
26
|
.co-input-text {
|
|
27
|
+
height: 100%;
|
|
27
28
|
&:before {
|
|
28
29
|
box-shadow: none;
|
|
29
30
|
}
|
|
@@ -43,9 +44,11 @@
|
|
|
43
44
|
border-radius: $cc-co-list-of-values-right-icon-radius;
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
@if $cc-input-show-focus-line != false {
|
|
48
|
+
&.cc-input-focused:not(.no-focus-line) {
|
|
49
|
+
@include focus($cc-input-focused-border-style, $cc-input-focused-border-width, $cc-input-focused-border-color, $cc-input-border-radius);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
49
52
|
.multiselect-chips-wrapper {
|
|
50
53
|
display: flex;
|
|
51
54
|
flex-wrap: wrap;
|
|
@@ -77,6 +80,18 @@
|
|
|
77
80
|
fill: $cc-co-list-of-values-multiselect-chip-delete-icon-color;
|
|
78
81
|
}
|
|
79
82
|
}
|
|
83
|
+
.input-text-clear-button {
|
|
84
|
+
display: flex;
|
|
85
|
+
visibility: hidden;
|
|
86
|
+
cursor: pointer;
|
|
87
|
+
height: $cc-input-clear-icon-size;
|
|
88
|
+
width: $cc-input-clear-icon-size;
|
|
89
|
+
align-self: end;
|
|
90
|
+
padding: $cc-input-clear-icon-padding;
|
|
91
|
+
&.show {
|
|
92
|
+
visibility: visible;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
80
95
|
}
|
|
81
96
|
&.multi-select.hasvalue {
|
|
82
97
|
height: auto;
|
|
@@ -3,22 +3,12 @@ $cc-co-list-of-values-font-size: $cc-font-size-default !default;
|
|
|
3
3
|
$cc-co-list-of-values-height: $cc-item-size !default;
|
|
4
4
|
$cc-co-list-of-values-background-color: $cc-color-input-background-color !default;
|
|
5
5
|
$cc-co-list-of-values-border-style: solid !default;
|
|
6
|
-
$cc-co-list-of-values-border-width: 1px !default;
|
|
7
|
-
$cc-co-list-of-values-border-color: $cc-input-border-color !default;
|
|
8
|
-
$cc-co-list-of-values-border-radius: 5px !default;
|
|
9
|
-
$cc-co-list-of-values-border-hover-style: solid !default;
|
|
10
|
-
$cc-co-list-of-values-border-hover-width: 2px !default;
|
|
11
|
-
$cc-co-list-of-values-border-hover-color: $cc-color-input-lov !default;
|
|
12
6
|
$cc-co-list-of-values-right-icon-spacer-width: 0 !default;
|
|
13
7
|
$cc-co-list-of-values-right-icon-width: 24px !default;
|
|
14
8
|
$cc-co-list-of-values-right-icon-background: #f5f5fc !default;
|
|
15
9
|
$cc-co-list-of-values-right-icon-radius: 100% !default;
|
|
16
10
|
$cc-co-list-of-values-right-icon-padding: 5px !default;
|
|
17
11
|
|
|
18
|
-
$cc-co-list-of-values-border-focus-style: solid !default;
|
|
19
|
-
$cc-co-list-of-values-border-focus-width: 1px !default;
|
|
20
|
-
$cc-co-list-of-values-border-focus-color: $cc-color-input-lov !default;
|
|
21
|
-
|
|
22
12
|
$cc-co-list-of-values-lov-options-max-height: 250px !default;
|
|
23
13
|
$cc-co-list-of-values-lov-options-background-color: #fff !default;
|
|
24
14
|
$cc-co-list-of-values-lov-options-border: 1px solid $cc-input-border-color !default;
|
|
@@ -108,6 +108,7 @@ $cc-input-placeholder-font-style: normal !default;
|
|
|
108
108
|
$cc-input-width: 300px !default;
|
|
109
109
|
$cc-input-margin-left: 10px !default;
|
|
110
110
|
$cc-input-input-padding: 0 0 5px 10px !default;
|
|
111
|
+
$cc-input-content-padding: 20px 0 25px 0 !default;
|
|
111
112
|
$cc-input-margin-top: 16px !default;
|
|
112
113
|
$cc-input-show-focus-line: true !default;
|
|
113
114
|
$cc-input-focus-line-color: $cc-color-action !default;
|