@colijnit/corecomponents_v12 255.1.5 → 255.1.7

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,31 +1,41 @@
1
1
  import { OnInit, ChangeDetectorRef, TemplateRef } from '@angular/core';
2
+ import { DatePipe } from '@angular/common';
2
3
  interface SchedulingObject {
3
4
  start: number;
4
5
  end: number;
5
6
  title?: string;
6
7
  subTitle?: string;
8
+ [key: string]: any;
7
9
  }
8
10
  export declare class HourSchedulingComponent implements OnInit {
9
11
  private cdRef;
12
+ private _datepipe;
10
13
  showClass: boolean;
14
+ startTime: number;
15
+ endTime: number;
11
16
  schedule: any;
12
17
  startTimeProp: string;
13
18
  endTimeProp: string;
14
19
  objectsProp: string;
20
+ childProp: string;
15
21
  customTemplate: TemplateRef<any>;
16
22
  customTemplateUsed: boolean;
23
+ idProp: string;
17
24
  hours: string[];
18
25
  scheduledObjects: {
19
26
  [hour: string]: SchedulingObject[];
20
27
  };
21
28
  private draggedObject;
22
- constructor(cdRef: ChangeDetectorRef);
29
+ constructor(cdRef: ChangeDetectorRef, _datepipe: DatePipe);
23
30
  ngOnInit(): void;
24
- private generateTimeBlocks;
25
- private getObjectsForHour;
31
+ generateTimeBlocks(): void;
32
+ private _getObjectsForHour;
26
33
  formatHour(hour: number): string;
27
- onDragStart(event: DragEvent, obj: SchedulingObject): void;
34
+ onDragStart(event: DragEvent, obj: any): void;
35
+ onCustomDragStart(event: DragEvent, obj: SchedulingObject): void;
28
36
  onDragOver(event: DragEvent): void;
29
37
  onDrop(event: DragEvent, hour: string): void;
38
+ convertToHourNotation(date: Date): number;
39
+ createDate(hours: number): Date;
30
40
  }
31
41
  export {};
@@ -2,6 +2,7 @@ import { EventEmitter, OnInit } from "@angular/core";
2
2
  import { IconCacheService } from "../icon/icon-cache.service";
3
3
  import { IconListItem } from "../../model/icon-list-item";
4
4
  export declare class ListOfIconsComponent implements OnInit {
5
+ iconCacheService: IconCacheService;
5
6
  icons: IconCacheService;
6
7
  set collection(value: IconListItem[]);
7
8
  get collection(): IconListItem[];
@@ -11,9 +12,13 @@ export declare class ListOfIconsComponent implements OnInit {
11
12
  showClass(): boolean;
12
13
  readonly Icon: any;
13
14
  showMenu: boolean;
15
+ showSubCategories: boolean;
14
16
  private _collection;
15
- constructor(icons: IconCacheService);
17
+ subCategories: IconListItem[];
18
+ constructor(iconCacheService: IconCacheService, icons: IconCacheService);
16
19
  ngOnInit(): void;
17
20
  toggleMenu(): void;
18
21
  selectItem(item: IconListItem): void;
22
+ handlePickingCategoryClicked(subCategory: IconListItem): void;
23
+ onClickOutside(): void;
19
24
  }
@@ -55,16 +55,15 @@
55
55
  position: absolute;
56
56
  top: 100%;
57
57
  left: 0;
58
- padding: 10px 0;
59
- background-color: white;
58
+ width: 65px;
59
+ padding-top: 10px;
60
+ box-shadow: -3px 0px 16px 1px rgba(0, 0, 0, 0.2);
61
+ border-radius: 5px;
62
+ background: #FFF;
60
63
 
61
64
  .icon-item {
62
65
  margin-bottom: 12px;
63
66
 
64
- &:last-of-type {
65
- margin: 0;
66
- }
67
-
68
67
  &.active {
69
68
  flex-direction: column;
70
69
 
@@ -79,6 +78,36 @@
79
78
  }
80
79
  }
81
80
  }
81
+
82
+ .picking-type-wrapper {
83
+ position: absolute;
84
+ top: 106px;
85
+ left: 100%;
86
+ z-index: 1;
87
+ padding-top: 8px;
88
+ //box-shadow: -3px 0px 16px 1px rgba(0, 0, 0, 0.2);
89
+ box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.2), 4px 0px 10px rgba(0, 0, 0, 0.2), 0px 4px 10px rgba(0, 0, 0, 0.2);
90
+ border-radius: 5px;
91
+ background: #FFF;
92
+
93
+ .button-wrapper {
94
+ display: flex;
95
+ flex-direction: column;
96
+ align-items: center;
97
+ justify-content: center;
98
+ width: 65px;
99
+ margin-bottom: 8px;
100
+ text-align: center;
101
+
102
+ &:hover {
103
+ co-icon svg *,
104
+ span {
105
+ fill: $color-action;
106
+ color: $color-action;
107
+ }
108
+ }
109
+ }
110
+ }
82
111
  }
83
112
  }
84
113
 
@@ -27,6 +27,7 @@ export declare enum CoreComponentsIcon {
27
27
  Barcode = "Barcode",
28
28
  BigMac = "big_mac",
29
29
  Boxes = "boxes",
30
+ BoxesPackingRegular = "boxes_packing_regular",
30
31
  Brush = "brush",
31
32
  BrushRoundOpen = "brush_round_open",
32
33
  BuildingColumns = "building_columns",
@@ -212,6 +213,7 @@ export declare enum CoreComponentsIcon {
212
213
  RangeSelect = "range_select",
213
214
  Rectangles = "rectangles",
214
215
  Refresh = "refresh",
216
+ RegularBoxesPackingCircleCheck = "regular_boxes_packing_circle_check",
215
217
  Relations = "relations",
216
218
  Remark = "remark",
217
219
  RemarkRoundOpen = "remark_round_open",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/corecomponents_v12",
3
- "version": "255.1.5",
3
+ "version": "255.1.7",
4
4
  "description": "Colijn IT core components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {