@colijnit/corecomponents_v12 12.1.2 → 12.1.3

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.
@@ -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
- position: absolute;
56
- top: 0;
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
- .co-icon [fill] {
63
- fill: white;
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: #4682b4 !default;
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;
@@ -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;
@@ -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
- selectOptionByActiveIndex(closePopup?: boolean): void;
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,5 +32,6 @@ export declare class ListOfValuesComponent extends BaseInputComponent<any> imple
32
32
  removeOptionFromModel(chip: any): void;
33
33
  optionChosen(option: any): void;
34
34
  closePopup(): void;
35
+ checkModel(): void;
35
36
  private _setSelectedModel;
36
37
  }
@@ -76,17 +76,26 @@
76
76
  font-family: $cc-co-list-of-values-font-family;
77
77
  font-size: $cc-co-list-of-values-font-size;
78
78
  .lov-options {
79
+ display: flex;
80
+ flex-direction: column;
79
81
  overflow: hidden;
80
82
  position: fixed;
81
83
  max-height: $cc-co-list-of-values-lov-options-max-height;
82
- overflow-y: auto;
83
84
  background-color: $cc-co-list-of-values-lov-options-background-color;
84
85
  border: $cc-co-list-of-values-lov-options-border;
85
86
  border-radius: $cc-co-list-of-values-lov-options-border-radius;
86
- margin-top: $cc-co-list-of-values-lov-options-margin;
87
87
  z-index: 99999999;
88
88
  }
89
- .lov-options ul {
89
+ .co-input-search {
90
+ display: flex;
91
+ flex-shrink: 0;
92
+ width: 100%;
93
+ .co-input-text {
94
+ width: 100%;
95
+ }
96
+ }
97
+ .dropdown-list {
98
+ overflow-y: auto;
90
99
  list-style-type: none;
91
100
  padding: 0;
92
101
  margin: 0;
@@ -62,6 +62,10 @@
62
62
  }
63
63
  .co-simple-grid-cell {
64
64
  width: 100%;
65
+ .co-icon {
66
+ width: $cc-simple-grid-cell-icon-size;
67
+ height: $cc-simple-grid-cell-icon-size;
68
+ }
65
69
  }
66
70
  .simple-grid-column-cell-value {
67
71
  //height: 100%;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/corecomponents_v12",
3
- "version": "12.1.2",
3
+ "version": "12.1.3",
4
4
  "description": "Colijn IT core components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {