@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.
- package/bundles/colijnit-corecomponents_v12.umd.js +128 -0
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.d.ts +1 -0
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/colijnit-corecomponents_v12.js +2 -1
- package/esm2015/lib/components/hour-scheduling/components/hour-scheduling-test-object/hour-scheduling-test-object.component.js +22 -0
- package/esm2015/lib/components/hour-scheduling/hour-scheduling.component.js +104 -0
- package/esm2015/lib/components/hour-scheduling/hour-scheduling.module.js +22 -0
- package/esm2015/public-api.js +3 -1
- package/fesm2015/colijnit-corecomponents_v12.js +143 -1
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/hour-scheduling/components/hour-scheduling-test-object/hour-scheduling-test-object.component.d.ts +5 -0
- package/lib/components/hour-scheduling/hour-scheduling.component.d.ts +31 -0
- package/lib/components/hour-scheduling/hour-scheduling.module.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -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 {};
|
package/package.json
CHANGED
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';
|