@colijnit/corecomponents_v12 257.1.17 → 257.1.19

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.
@@ -25,7 +25,7 @@
25
25
  align-items: center;
26
26
  margin-bottom: $cc-co-calendar-header-margin-bottom;
27
27
  user-select: none;
28
- padding: 10px;
28
+ padding: 10px 15px;
29
29
 
30
30
  .calendar-change-month-button {
31
31
  cursor: pointer;
@@ -91,10 +91,10 @@
91
91
  background-color: $cc-co-calendar-day-hover-background-color;
92
92
  border-radius: $cc-co-calendar-selected-day-start-border-radius;
93
93
  position: absolute;
94
- top: 0;
95
- left: -5px;
96
- width: 40px;
97
- height: 40px;
94
+ top: -2px;
95
+ left: -2px;
96
+ width: 34px;
97
+ height: 34px;
98
98
  content: '';
99
99
  z-index: 0;
100
100
  }
@@ -155,10 +155,10 @@
155
155
  background-color: $cc-co-calendar-selected-day-background-color;
156
156
  border-radius: $cc-co-calendar-selected-day-start-border-radius;
157
157
  position: absolute;
158
- top: 0;
159
- left: -5px;
160
- width: 40px;
161
- height: 40px;
158
+ top: -2px;
159
+ left: -2px;
160
+ width: 34px;
161
+ height: 34px;
162
162
  content: '';
163
163
  z-index: 1;
164
164
  }
@@ -190,13 +190,13 @@
190
190
  .selected-date-display {
191
191
  display: flex;
192
192
  flex-direction: column;
193
- padding: 15px;
193
+ padding: 10px;
194
194
  background: $cc-co-calendar-selected-day-background-color;
195
195
  color: #FFF;
196
- font-size: 16px;
197
- min-height: 85px;
196
+ font-size: 14px;
197
+ min-height: 65px;
198
198
  .selected-date-day {
199
- font-size: 30px;
199
+ font-size: 24px;
200
200
  }
201
201
  }
202
202
  .calendar-action-buttons {
@@ -204,7 +204,7 @@
204
204
  flex-direction: column;
205
205
  align-items: flex-end;
206
206
  gap: 15px;
207
- padding: 15px 20px;
207
+ padding: 10px 20px 15px 20px;
208
208
  font-size: 12px;
209
209
  color: $cc-co-calendar-selected-day-background-color;
210
210
  cursor: pointer;
@@ -4,18 +4,18 @@ $cc-co-calendar-padding: 0 !default;
4
4
  $cc-co-calendar-background-color: white !default;
5
5
  $cc-co-calendar-border-radius: 5px !default;
6
6
  $cc-co-calendar-border: 1px solid #CCCCCC !default;
7
- $cc-co-calendar-header-margin-bottom: 5px !default;
7
+ $cc-co-calendar-header-margin-bottom: 0 !default;
8
8
  $cc-co-calendar-change-month-button-border-radius: 5px !default;
9
9
  $cc-co-calendar-change-month-button-border: 0px solid #CCCCCC !default;
10
10
  $cc-co-calendar-change-month-button-padding: 5px !default;
11
11
  $cc-co-calendar-header-title-font-size: 14px !default;
12
- $cc-co-calendar-day-height: 40px !default;
12
+ $cc-co-calendar-day-height: 30px !default;
13
13
  $cc-co-calendar-day-margin: 2px 0 !default;
14
14
  $cc-co-calendar-day-hover-background-color: #f8f8fa !default;
15
15
  $cc-co-calendar-day-hover-color: white !default;
16
16
  $cc-co-calendar-day-selected-background-color: $cc-color-action !default;
17
17
  $cc-co-calendar-day-selected-color: $cc-color-light !default;
18
- $cc-co-calendar-week-number-height: 40px !default;
18
+ $cc-co-calendar-week-number-height: 30px !default;
19
19
  $cc-co-calendar-week-number-margin: 0 2px 0 0 !default;
20
20
  $cc-co-calendar-week-number-font-size: 10px !default;
21
21
  $cc-co-calendar-week-number-width: 30px !default;
@@ -38,6 +38,8 @@ export declare class FilterItemComponent implements OnInit, ScreenConfigAdapterC
38
38
  collectionChange: EventEmitter<FilterItemViewmodel[]>;
39
39
  filterButtonClicked: EventEmitter<void>;
40
40
  get hasClass(): boolean;
41
+ dateInput: any;
42
+ dateRangeInput: any;
41
43
  filteredCollection: FilterItemViewmodel[];
42
44
  limitTo: number;
43
45
  filterText: string;
@@ -5,6 +5,9 @@ export declare class InputDatePickerComponent extends BaseInputDatePickerDirecti
5
5
  showClass(): boolean;
6
6
  handleDateSelected(date: Date): void;
7
7
  toggleCalendar(show: boolean): void;
8
+ finalizeDate(): void;
9
+ finalize(): void;
10
+ private isValidDateString;
8
11
  handleDateChange(value: string): void;
9
12
  protected modelSet(): void;
10
13
  private setModelAsString;
@@ -3,6 +3,8 @@ import { BaseInputDatePickerDirective } from "../base-input-date-picker/base-inp
3
3
  export declare class InputDateRangePickerComponent extends BaseInputDatePickerDirective {
4
4
  firstDateAsString: any;
5
5
  secondDateAsString: any;
6
+ private readonly EARLIEST_DATE;
7
+ private readonly LATEST_DATE;
6
8
  private _doubleCalendarComponentRef;
7
9
  firstInput: ElementRef;
8
10
  secondInput: ElementRef;
@@ -15,6 +17,10 @@ export declare class InputDateRangePickerComponent extends BaseInputDatePickerDi
15
17
  toggleCalendar(): void;
16
18
  handleFirstDateChanged(value: string): void;
17
19
  handleSecondDateChanged(value: string): void;
20
+ finalizeDates(): void;
21
+ finalize(): void;
22
+ private isValidDateString;
18
23
  protected modelSet(): void;
19
24
  private setModelAsString;
25
+ private formatDate;
20
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/corecomponents_v12",
3
- "version": "257.1.17",
3
+ "version": "257.1.19",
4
4
  "description": "Colijn IT core components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {