@colijnit/corecomponents_v12 300.1.1 → 300.1.2

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/index.d.ts CHANGED
@@ -192,6 +192,7 @@ declare enum CoreComponentsIcon {
192
192
  Linechart = "linechart",
193
193
  LinkedProducts = "linked_products",
194
194
  LinkCircle = "link_circle",
195
+ ListRegular = "list_regular",
195
196
  ListView = "list_view",
196
197
  Location = "location",
197
198
  Lock = "lock",
@@ -3745,8 +3746,11 @@ interface SchedulingObject {
3745
3746
  declare class HourSchedulingExpandableComponent implements OnInit {
3746
3747
  private cdRef;
3747
3748
  private eRef;
3749
+ iconCacheService: IconCacheService;
3750
+ readonly icons: typeof CoreComponentsIcon;
3748
3751
  hourLabels: string[];
3749
3752
  scheduledObjects: SchedulingObject[];
3753
+ selectedHour: string;
3750
3754
  private resizing;
3751
3755
  private resizeDirection;
3752
3756
  private initialY;
@@ -3771,6 +3775,7 @@ declare class HourSchedulingExpandableComponent implements OnInit {
3771
3775
  currentHour: string;
3772
3776
  data: string;
3773
3777
  }>;
3778
+ taskCreationEvent: EventEmitter<string>;
3774
3779
  moveBetweenCalendarsEvent: EventEmitter<{
3775
3780
  hour: string;
3776
3781
  data: SchedulingObject;
@@ -3784,7 +3789,7 @@ declare class HourSchedulingExpandableComponent implements OnInit {
3784
3789
  clickOut(event: {
3785
3790
  target: any;
3786
3791
  }): void;
3787
- constructor(cdRef: ChangeDetectorRef, eRef: ElementRef);
3792
+ constructor(cdRef: ChangeDetectorRef, eRef: ElementRef, iconCacheService: IconCacheService);
3788
3793
  ngOnInit(): void;
3789
3794
  private _findNextObject;
3790
3795
  private _findPreviousObject;
@@ -3806,8 +3811,10 @@ declare class HourSchedulingExpandableComponent implements OnInit {
3806
3811
  convertTZ(date: any, tzString: any): Date;
3807
3812
  convertDateToEuropean(date: Date): Date;
3808
3813
  handleDeselectAll(): void;
3814
+ selectHalfHourBlock(mouseEvent: MouseEvent, hour: string, first?: boolean): void;
3815
+ handleHourTaskCreate(mouseEvent: MouseEvent, hour: string, first?: boolean): void;
3809
3816
  static ɵfac: i0.ɵɵFactoryDeclaration<HourSchedulingExpandableComponent, never>;
3810
- static ɵcmp: i0.ɵɵComponentDeclaration<HourSchedulingExpandableComponent, "co-hour-scheduling-expandable", never, { "schedule": { "alias": "schedule"; "required": false; }; "startTimeProp": { "alias": "startTimeProp"; "required": false; }; "endTimeProp": { "alias": "endTimeProp"; "required": false; }; "objectsProp": { "alias": "objectsProp"; "required": false; }; "childProp": { "alias": "childProp"; "required": false; }; "customTemplate": { "alias": "customTemplate"; "required": false; }; "idProp": { "alias": "idProp"; "required": false; }; }, { "timeChangeEvent": "timeChangeEvent"; "newObjectPlanEvent": "newObjectPlanEvent"; "moveBetweenCalendarsEvent": "moveBetweenCalendarsEvent"; }, never, ["*"], false, never>;
3817
+ static ɵcmp: i0.ɵɵComponentDeclaration<HourSchedulingExpandableComponent, "co-hour-scheduling-expandable", never, { "schedule": { "alias": "schedule"; "required": false; }; "startTimeProp": { "alias": "startTimeProp"; "required": false; }; "endTimeProp": { "alias": "endTimeProp"; "required": false; }; "objectsProp": { "alias": "objectsProp"; "required": false; }; "childProp": { "alias": "childProp"; "required": false; }; "customTemplate": { "alias": "customTemplate"; "required": false; }; "idProp": { "alias": "idProp"; "required": false; }; }, { "timeChangeEvent": "timeChangeEvent"; "newObjectPlanEvent": "newObjectPlanEvent"; "taskCreationEvent": "taskCreationEvent"; "moveBetweenCalendarsEvent": "moveBetweenCalendarsEvent"; }, never, ["*"], false, never>;
3811
3818
  }
3812
3819
 
3813
3820
  declare class HourSchedulingExpandableTemplateComponent {
@@ -3842,7 +3849,7 @@ declare class HourSchedulingExpandableTemplateModule {
3842
3849
 
3843
3850
  declare class HourSchedulingExpandableComponentModule {
3844
3851
  static ɵfac: i0.ɵɵFactoryDeclaration<HourSchedulingExpandableComponentModule, never>;
3845
- static ɵmod: i0.ɵɵNgModuleDeclaration<HourSchedulingExpandableComponentModule, [typeof HourSchedulingExpandableComponent], [typeof i2.CommonModule, typeof HourSchedulingComponentModule, typeof HourSchedulingExpandableTemplateModule], [typeof HourSchedulingExpandableComponent]>;
3852
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HourSchedulingExpandableComponentModule, [typeof HourSchedulingExpandableComponent], [typeof i2.CommonModule, typeof HourSchedulingComponentModule, typeof HourSchedulingExpandableTemplateModule, typeof IconModule], [typeof HourSchedulingExpandableComponent]>;
3846
3853
  static ɵinj: i0.ɵɵInjectorDeclaration<HourSchedulingExpandableComponentModule>;
3847
3854
  }
3848
3855
 
@@ -75,6 +75,31 @@
75
75
  display: flex;
76
76
  width: 100%;
77
77
  flex-direction: column;
78
+
79
+ .first-half-hour, .second-half-hour {
80
+ background: none;
81
+ &.selected {
82
+ background-color: rgba(26, 115, 232, 0.2);
83
+ transition: background-color 0.1s ease;
84
+ }
85
+ .toggle-icon {
86
+ height: 20px;
87
+ width: 20px;
88
+ opacity: 0;
89
+ position: absolute;
90
+ display: flex;
91
+ align-items: center;
92
+ right: 8px;
93
+
94
+ left: auto;
95
+
96
+ &.visible {
97
+ opacity: 1;
98
+ }
99
+ }
100
+ }
101
+
102
+
78
103
  .object-half {
79
104
  padding: 5px;
80
105
  min-height: 30px;
@@ -1,8 +1,8 @@
1
- @include export-module('co-list-of-values-theme') {
2
- .co-list-of-values-popup {
3
- .lov-highlight {
4
- background-color: $cc-co-list-of-values-highlight-background-color;
5
- color: $cc-co-list-of-values-highlight-text-color;
6
- }
7
- }
8
- }
1
+ @include export-module('co-list-of-values-theme') {
2
+ .co-list-of-values-popup {
3
+ .lov-highlight {
4
+ background-color: $cc-co-list-of-values-highlight-background-color;
5
+ color: $cc-co-list-of-values-highlight-text-color;
6
+ }
7
+ }
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/corecomponents_v12",
3
- "version": "300.1.1",
3
+ "version": "300.1.2",
4
4
  "description": "Colijn IT core components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {