@colijnit/corecomponents_v12 255.1.3 → 255.1.4

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.
@@ -0,0 +1,5 @@
1
+ export declare class HourSchedulingTestObjectComponent {
2
+ showClass(): boolean;
3
+ title: string;
4
+ subTitle: string;
5
+ }
@@ -0,0 +1,31 @@
1
+ import { OnInit, ChangeDetectorRef, TemplateRef } from '@angular/core';
2
+ interface SchedulingObject {
3
+ start: number;
4
+ end: number;
5
+ title?: string;
6
+ subTitle?: string;
7
+ }
8
+ export declare class HourSchedulingComponent implements OnInit {
9
+ private cdRef;
10
+ showClass: boolean;
11
+ schedule: any;
12
+ startTimeProp: string;
13
+ endTimeProp: string;
14
+ objectsProp: string;
15
+ customTemplate: TemplateRef<any>;
16
+ customTemplateUsed: boolean;
17
+ hours: string[];
18
+ scheduledObjects: {
19
+ [hour: string]: SchedulingObject[];
20
+ };
21
+ private draggedObject;
22
+ constructor(cdRef: ChangeDetectorRef);
23
+ ngOnInit(): void;
24
+ private generateTimeBlocks;
25
+ private getObjectsForHour;
26
+ formatHour(hour: number): string;
27
+ onDragStart(event: DragEvent, obj: SchedulingObject): void;
28
+ onDragOver(event: DragEvent): void;
29
+ onDrop(event: DragEvent, hour: string): void;
30
+ }
31
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare class HourSchedulingComponentModule {
2
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/corecomponents_v12",
3
- "version": "255.1.3",
3
+ "version": "255.1.4",
4
4
  "description": "Colijn IT core components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {
package/public-api.d.ts CHANGED
@@ -126,3 +126,5 @@ export * from './lib/service/base-module-screen-config.service';
126
126
  export * from './lib/service/base-module.service';
127
127
  export * from './lib/translation/core-components-translation.module';
128
128
  export * from './lib/translation/core-components-translation.service';
129
+ export * from './lib/components/hour-scheduling/hour-scheduling.component';
130
+ export * from './lib/components/hour-scheduling/hour-scheduling.module';