@colijnit/corecomponents_v12 12.1.2 → 12.1.4
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 +142 -41
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/co-dialog/co-dialog.component.js +2 -2
- package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.component.js +6 -1
- package/esm2015/lib/components/input-text/input-text.component.js +3 -3
- package/esm2015/lib/components/list-of-values/list-of-values-popup.component.js +75 -34
- package/esm2015/lib/components/list-of-values/list-of-values.component.js +25 -9
- package/esm2015/lib/components/responsive-text/responsive-text.component.js +24 -0
- package/esm2015/lib/components/responsive-text/responsive-text.module.js +19 -0
- package/esm2015/public-api.js +3 -1
- package/fesm2015/colijnit-corecomponents_v12.js +145 -45
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/co-dialog/style/_layout.scss +28 -11
- package/lib/components/co-dialog/style/_material-definition.scss +4 -1
- package/lib/components/filter-item/style/_layout.scss +10 -0
- package/lib/components/filter-item/style/_material-definition.scss +5 -0
- package/lib/components/input-date-range-picker/input-date-range-picker.component.d.ts +1 -0
- package/lib/components/input-text/style/_material-definition.scss +1 -0
- package/lib/components/list-of-values/list-of-values-popup.component.d.ts +6 -5
- package/lib/components/list-of-values/list-of-values.component.d.ts +1 -0
- package/lib/components/list-of-values/style/_layout.scss +22 -3
- package/lib/components/list-of-values/style/_material-definition.scss +5 -0
- package/lib/components/responsive-text/responsive-text.component.d.ts +4 -0
- package/lib/components/responsive-text/responsive-text.module.d.ts +2 -0
- package/lib/components/responsive-text/style/_layout.scss +9 -0
- package/lib/components/responsive-text/style/_material-definition.scss +0 -0
- package/lib/components/responsive-text/style/_theme.scss +4 -0
- package/lib/components/responsive-text/style/material.scss +4 -0
- package/lib/components/simple-grid/style/_layout.scss +4 -0
- package/lib/components/simple-grid/style/_material-definition.scss +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
align-items: center;
|
|
41
41
|
font-family: $cc-co-dialog-header-font-family;
|
|
42
42
|
font-size: $cc-co-dialog-header-font-size;
|
|
43
|
+
padding: $cc-co-dialog-header-padding;
|
|
43
44
|
.dialog-header-caption {
|
|
44
45
|
width: 100%;
|
|
45
46
|
font-weight: $cc-co-dialog-header-font-weight;
|
|
46
|
-
padding: $cc-co-dialog-header-padding;
|
|
47
47
|
margin: $cc-co-dialog-header-margin;
|
|
48
48
|
border-style: $cc-co-dialog-header-border-style;
|
|
49
49
|
border-width: $cc-co-dialog-header-border-width;
|
|
@@ -52,16 +52,13 @@
|
|
|
52
52
|
display: flex;
|
|
53
53
|
align-items: center;
|
|
54
54
|
justify-content: center;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
right: 5px;
|
|
58
|
-
transform: translateY(-50%);
|
|
59
|
-
width: 36px;
|
|
60
|
-
height: 36px;
|
|
55
|
+
width: $cc-co-dialog-header-close-button-size;
|
|
56
|
+
height: $cc-co-dialog-header-close-button-size;
|
|
61
57
|
border-radius: 5px;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
58
|
+
position: absolute;
|
|
59
|
+
right: $cc-co-dialog-header-close-button-right;
|
|
60
|
+
top: $cc-co-dialog-header-close-button-top;
|
|
61
|
+
background: $cc-co-dialog-header-close-button-background-color;
|
|
65
62
|
}
|
|
66
63
|
}
|
|
67
64
|
.dialog-content {
|
|
@@ -79,7 +76,27 @@
|
|
|
79
76
|
margin: $cc-co-dialog-footer-margin;
|
|
80
77
|
border-style: $cc-co-dialog-footer-border-style;
|
|
81
78
|
border-width: $cc-co-dialog-footer-border-width;
|
|
82
|
-
|
|
79
|
+
co-button ::ng-deep {
|
|
80
|
+
cursor: pointer;
|
|
81
|
+
&.ok-click {
|
|
82
|
+
co-icon {
|
|
83
|
+
svg {
|
|
84
|
+
path {
|
|
85
|
+
fill: #5FDCB3;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
&.cancel-click {
|
|
91
|
+
co-icon {
|
|
92
|
+
svg {
|
|
93
|
+
path {
|
|
94
|
+
fill: #6b6e8a;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
83
100
|
}
|
|
84
101
|
.dialog-close-button {
|
|
85
102
|
cursor: pointer;
|
|
@@ -11,7 +11,10 @@ $cc-co-dialog-header-margin: 0 0 10px 0 !default;
|
|
|
11
11
|
$cc-co-dialog-header-border-style: solid !default;
|
|
12
12
|
$cc-co-dialog-header-border-color: $cc-color-border !default;
|
|
13
13
|
$cc-co-dialog-header-border-width: 0 0 1px 0 !default;
|
|
14
|
-
$cc-co-dialog-header-close-button-background-color:
|
|
14
|
+
$cc-co-dialog-header-close-button-background-color: transparent !default;
|
|
15
|
+
$cc-co-dialog-header-close-button-right: 20px !default;
|
|
16
|
+
$cc-co-dialog-header-close-button-top: 10px !default;
|
|
17
|
+
$cc-co-dialog-header-close-button-size: 30px !default;
|
|
15
18
|
$cc-co-dialog-min-width: 250px !default;
|
|
16
19
|
$cc-co-dialog-background-color: $cc-color-light !default;
|
|
17
20
|
$cc-co-dialog-box-shadow: 0 0 10px #484f6040 !default;
|
|
@@ -27,6 +27,16 @@
|
|
|
27
27
|
width: $cc-co-filter-item-header-icon-size;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
+
.collapsible-header {
|
|
31
|
+
.collapsible-button {
|
|
32
|
+
border-color: $cc-co-filter-item-collapsible-header-search-border;
|
|
33
|
+
color: $cc-co-filter-item-collapsible-header-search-color;
|
|
34
|
+
&:hover {
|
|
35
|
+
background: $cc-co-filter-item-collapsible-header-search-hover-background;
|
|
36
|
+
color: $cc-co-filter-item-collapsible-header-search-hover-color;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
30
40
|
}
|
|
31
41
|
|
|
32
42
|
.co-filter-item-collection-content {
|
|
@@ -13,8 +13,13 @@ $cc-co-filter-item-header-border-color: #DCE4EA !default;
|
|
|
13
13
|
$cc-co-filter-item-header-border-width: 0 !default;
|
|
14
14
|
$cc-co-filter-item-header-icon-size: 30px !default;
|
|
15
15
|
|
|
16
|
+
|
|
16
17
|
$cc-co-filter-item-collapsible-content-padding: 0 10px 20px 10px !default;
|
|
17
18
|
$cc-co-filter-item-collapsible-width: 95% !default;
|
|
19
|
+
$cc-co-filter-item-collapsible-header-search-color: $cc-color-action !default;
|
|
20
|
+
$cc-co-filter-item-collapsible-header-search-hover-background: $cc-color-action !default;
|
|
21
|
+
$cc-co-filter-item-collapsible-header-search-border: $cc-color-action !default;
|
|
22
|
+
$cc-co-filter-item-collapsible-header-search-hover-color: $cc-color-light !default;
|
|
18
23
|
|
|
19
24
|
$cc-co-filter-item-collection-results-container-padding: 10px !default;
|
|
20
25
|
$cc-co-filter-item-collection-results-background-color: $cc-color-light !default;
|
|
@@ -6,6 +6,7 @@ export declare class InputDateRangePickerComponent extends BaseInputDatePickerDi
|
|
|
6
6
|
showClass(): boolean;
|
|
7
7
|
handleDatesSelected(dates: Date[]): void;
|
|
8
8
|
handleSecondDateSelected(): void;
|
|
9
|
+
clearDate(index: number): void;
|
|
9
10
|
toggleCalendar(): void;
|
|
10
11
|
handleFirstDateChanged(value: string): void;
|
|
11
12
|
handleSecondDateChanged(value: string): void;
|
|
@@ -10,6 +10,7 @@ $cc-co-input-text-icon-max-height: 80px !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;
|
|
13
|
+
$cc-co-input-text-right-spacer-width: 0 !default;
|
|
13
14
|
$cc-co-input-text-spacer-color: $cc-input-border-color !default;
|
|
14
15
|
//$cc-co-input-label-color: $cc-color-border !default;
|
|
15
16
|
//$cc-co-input-label-font-style: normal !default;
|
|
@@ -24,18 +24,19 @@ export declare class ListOfValuesPopupComponent implements OnInit {
|
|
|
24
24
|
get searchTerm(): string;
|
|
25
25
|
viewModels: lovViewModel[];
|
|
26
26
|
viewModelsMain: lovViewModel[];
|
|
27
|
+
highLightModel: lovViewModel;
|
|
27
28
|
private _collection;
|
|
28
29
|
private _searchTerm;
|
|
29
30
|
private _lovItems;
|
|
30
|
-
private _activeIndex;
|
|
31
31
|
private _searchInput;
|
|
32
32
|
ngOnInit(): void;
|
|
33
|
+
handleInputKeyDown(event: KeyboardEvent): boolean;
|
|
33
34
|
filterViewModels(): void;
|
|
34
|
-
selectViewModel(viewModel: lovViewModel): void;
|
|
35
|
-
|
|
35
|
+
selectViewModel(viewModel: lovViewModel, closePopup?: boolean): void;
|
|
36
|
+
selectModelByViewModel(viewModel: lovViewModel, closePopup?: boolean): void;
|
|
37
|
+
selectOptionAndClosePopup(): void;
|
|
36
38
|
selectOptions(): void;
|
|
37
|
-
selectNextOption(): void;
|
|
38
|
-
selectPreviousOption(): void;
|
|
39
|
+
selectNextOption(back?: boolean): void;
|
|
39
40
|
private _prepareViewModelsMain;
|
|
40
41
|
private _prepareViewModels;
|
|
41
42
|
private _scrollIntoView;
|
|
@@ -32,6 +32,16 @@
|
|
|
32
32
|
box-shadow: none;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
+
.right-icon {
|
|
36
|
+
min-width: $cc-co-list-of-values-right-icon-spacer-width;
|
|
37
|
+
}
|
|
38
|
+
.input-text-right-icon svg {
|
|
39
|
+
width: $cc-co-list-of-values-right-icon-width;
|
|
40
|
+
height: $cc-co-list-of-values-right-icon-width;
|
|
41
|
+
padding: $cc-co-list-of-values-right-icon-padding;
|
|
42
|
+
background: $cc-co-list-of-values-right-icon-background;
|
|
43
|
+
border-radius: $cc-co-list-of-values-right-icon-radius;
|
|
44
|
+
}
|
|
35
45
|
}
|
|
36
46
|
//&.cc-input-focused:not(.no-focus-line) {
|
|
37
47
|
// @include focus($cc-co-list-of-values-border-focus-style, $cc-co-list-of-values-border-focus-width, $cc-co-list-of-values-border-focus-color, $cc-co-list-of-values-border-radius);
|
|
@@ -76,17 +86,26 @@
|
|
|
76
86
|
font-family: $cc-co-list-of-values-font-family;
|
|
77
87
|
font-size: $cc-co-list-of-values-font-size;
|
|
78
88
|
.lov-options {
|
|
89
|
+
display: flex;
|
|
90
|
+
flex-direction: column;
|
|
79
91
|
overflow: hidden;
|
|
80
92
|
position: fixed;
|
|
81
93
|
max-height: $cc-co-list-of-values-lov-options-max-height;
|
|
82
|
-
overflow-y: auto;
|
|
83
94
|
background-color: $cc-co-list-of-values-lov-options-background-color;
|
|
84
95
|
border: $cc-co-list-of-values-lov-options-border;
|
|
85
96
|
border-radius: $cc-co-list-of-values-lov-options-border-radius;
|
|
86
|
-
margin-top: $cc-co-list-of-values-lov-options-margin;
|
|
87
97
|
z-index: 99999999;
|
|
88
98
|
}
|
|
89
|
-
.
|
|
99
|
+
.co-input-search {
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-shrink: 0;
|
|
102
|
+
width: 100%;
|
|
103
|
+
.co-input-text {
|
|
104
|
+
width: 100%;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
.dropdown-list {
|
|
108
|
+
overflow-y: auto;
|
|
90
109
|
list-style-type: none;
|
|
91
110
|
padding: 0;
|
|
92
111
|
margin: 0;
|
|
@@ -9,6 +9,11 @@ $cc-co-list-of-values-border-radius: 5px !default;
|
|
|
9
9
|
$cc-co-list-of-values-border-hover-style: solid !default;
|
|
10
10
|
$cc-co-list-of-values-border-hover-width: 2px !default;
|
|
11
11
|
$cc-co-list-of-values-border-hover-color: $cc-color-input-lov !default;
|
|
12
|
+
$cc-co-list-of-values-right-icon-spacer-width: 0 !default;
|
|
13
|
+
$cc-co-list-of-values-right-icon-width: 24px !default;
|
|
14
|
+
$cc-co-list-of-values-right-icon-background: #f5f5fc !default;
|
|
15
|
+
$cc-co-list-of-values-right-icon-radius: 100% !default;
|
|
16
|
+
$cc-co-list-of-values-right-icon-padding: 5px !default;
|
|
12
17
|
|
|
13
18
|
$cc-co-list-of-values-border-focus-style: solid !default;
|
|
14
19
|
$cc-co-list-of-values-border-focus-width: 1px !default;
|
|
File without changes
|
|
@@ -27,6 +27,7 @@ $cc-simple-grid-row-border-width: 10px 0 0 0 !default;
|
|
|
27
27
|
$cc-simple-grid-cell-padding: 15px 5px !default;
|
|
28
28
|
$cc-simple-grid-row-height: auto !default;
|
|
29
29
|
$cc-simple-grid-row-even-background: #F5F5FC !default;
|
|
30
|
+
$cc-simple-grid-cell-icon-size: 20px !default;
|
|
30
31
|
|
|
31
32
|
$cc-simple-grid-pagination-background-color: white !default;
|
|
32
33
|
$cc-simple-grid-pagination-bar-margin: 10px 0 0 0 !default;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -73,6 +73,8 @@ export * from './lib/components/view-mode-buttons/content-view-mode.enum';
|
|
|
73
73
|
export * from './lib/components/list-of-values/list-of-values.component';
|
|
74
74
|
export * from './lib/components/list-of-values/list-of-values-popup.component';
|
|
75
75
|
export * from './lib/components/list-of-values/list-of-values.module';
|
|
76
|
+
export * from './lib/components/responsive-text/responsive-text.component';
|
|
77
|
+
export * from './lib/components/responsive-text/responsive-text.module';
|
|
76
78
|
export * from './lib/pipes/price-display.pipe';
|
|
77
79
|
export * from './lib/pipes/price-display-pipe.module';
|
|
78
80
|
export * from './lib/pipes/filter.pipe';
|