@colijnit/corecomponents_v12 255.1.13 → 255.1.14

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.
@@ -1,5 +1,4 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
- import { DatePipe } from '@angular/common';
3
2
  interface SchedulingObject {
4
3
  start: Date;
5
4
  end: Date;
@@ -15,7 +14,6 @@ interface SchedulingObject {
15
14
  }
16
15
  export declare class HourSchedulingExpandableComponent implements OnInit {
17
16
  private cdRef;
18
- private datePipe;
19
17
  private eRef;
20
18
  hourLabels: string[];
21
19
  scheduledObjects: SchedulingObject[];
@@ -41,6 +39,10 @@ export declare class HourSchedulingExpandableComponent implements OnInit {
41
39
  currentHour: string;
42
40
  data: string;
43
41
  }>;
42
+ moveBetweenCalendarsEvent: EventEmitter<{
43
+ hour: string;
44
+ data: SchedulingObject;
45
+ }>;
44
46
  showClass: boolean;
45
47
  onResize(event: {
46
48
  target: {
@@ -50,7 +52,7 @@ export declare class HourSchedulingExpandableComponent implements OnInit {
50
52
  clickOut(event: {
51
53
  target: any;
52
54
  }): void;
53
- constructor(cdRef: ChangeDetectorRef, datePipe: DatePipe, eRef: ElementRef);
55
+ constructor(cdRef: ChangeDetectorRef, eRef: ElementRef);
54
56
  ngOnInit(): void;
55
57
  private _calculateSchedulingObjectProperties;
56
58
  private _findNextObject;
@@ -9,26 +9,37 @@
9
9
 
10
10
  .custom-scheduled-object {
11
11
  position: absolute;
12
- width: 75%;
13
- margin: 0 0 0 50px;
12
+ width: calc(100% - 55px);
13
+ left: 55px;
14
14
  top: var(--top);
15
15
  height: var(--height);
16
- border: 1px solid black;
17
-
16
+ cursor: grab;
17
+ background: #F5F5FC;
18
+ border: 1px solid #F5F5FC;
19
+ transition: background-color 0.3s ease;
20
+ padding: 0;
18
21
  .top-resizer, .bottom-resizer {
19
22
  height: 5px;
23
+ position: absolute;
24
+ width: 100%;
20
25
  }
21
26
 
22
27
  .top-resizer {
23
28
  cursor: n-resize;
29
+ top: 0;
24
30
  }
25
31
 
26
32
  .bottom-resizer {
27
33
  cursor: s-resize;
34
+ bottom: 0;
35
+ }
36
+ &:hover {
37
+ background-color: rgba(26, 115, 232, 0.2);
28
38
  }
29
-
30
39
  &.selected {
31
- border: 1px solid red;
40
+ background-color: rgba(26, 115, 232, 0.2);
41
+ border: 1px solid #1A73E8;
42
+ cursor: pointer;
32
43
  }
33
44
  }
34
45
 
@@ -5,8 +5,8 @@ $cc-input-checkbox-margin: 0 10px 0 0 !default;
5
5
  $cc-input-checkbox-border-radius: $cc-checkbox-border-radius !default;
6
6
  $cc-input-checkbox-border-style: solid !default;
7
7
  $cc-input-checkbox-border-width: 2px !default;
8
- $cc-input-checkbox-border-color: $cc-checkbox-border-color !default;
9
- $cc-input-checkbox-background-color: $cc-checkbox-background-color !default;
8
+ $cc-input-checkbox-border-color: #EAEAF5 !default;
9
+ $cc-input-checkbox-background-color: #EAEAF5 !default;
10
10
  $cc-input-checkbox-check-mark-color: $cc-checkbox-check-color !default;
11
11
  $cc-input-checkbox-check-mark-thickness: 2px !default;
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/corecomponents_v12",
3
- "version": "255.1.13",
3
+ "version": "255.1.14",
4
4
  "description": "Colijn IT core components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {