@colijnit/corecomponents_v12 258.1.3 → 258.1.5
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 +64 -21
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/calendar/calendar-template.component.js +11 -6
- package/esm2015/lib/components/hour-scheduling/hour-scheduling.component.js +1 -1
- package/esm2015/lib/components/hour-scheduling/model/enum/scheduling-object.interface.js +2 -0
- package/esm2015/lib/components/hour-scheduling-expandable/components/hour-scheduling-expandable-template/hour-scheduling-expandable-template.component.js +59 -26
- package/esm2015/public-api.js +2 -1
- package/fesm2015/colijnit-corecomponents_v12.js +69 -31
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/hour-scheduling/hour-scheduling.component.d.ts +1 -8
- package/lib/components/hour-scheduling/model/enum/scheduling-object.interface.d.ts +10 -0
- package/lib/components/hour-scheduling-expandable/components/hour-scheduling-expandable-template/hour-scheduling-expandable-template.component.d.ts +14 -3
- package/lib/components/hour-scheduling-expandable/style/_layout.scss +1 -4
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { OnInit, ChangeDetectorRef, TemplateRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
2
|
import { DatePipe } from '@angular/common';
|
|
3
|
-
|
|
4
|
-
start: number;
|
|
5
|
-
end: number;
|
|
6
|
-
title?: string;
|
|
7
|
-
subTitle?: string;
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
}
|
|
3
|
+
import { SchedulingObject } from './model/enum/scheduling-object.interface';
|
|
10
4
|
export declare class HourSchedulingComponent implements OnInit {
|
|
11
5
|
private cdRef;
|
|
12
6
|
private datePipe;
|
|
@@ -52,4 +46,3 @@ export declare class HourSchedulingComponent implements OnInit {
|
|
|
52
46
|
onObjectDisplayClick(hour: string, half: 'firstHalf' | 'secondHalf'): void;
|
|
53
47
|
tryParseJSONObject(jsonString: string): any;
|
|
54
48
|
}
|
|
55
|
-
export {};
|
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
import { TemplateRef } from "@angular/core";
|
|
2
|
+
import { SchedulingObject } from '../../../hour-scheduling/model/enum/scheduling-object.interface';
|
|
2
3
|
export declare class HourSchedulingExpandableTemplateComponent {
|
|
4
|
+
private _objects;
|
|
5
|
+
layouts: {
|
|
6
|
+
leftPercent: number;
|
|
7
|
+
widthPercent: number;
|
|
8
|
+
}[];
|
|
3
9
|
objectTemplate: TemplateRef<any>;
|
|
4
|
-
objects:
|
|
10
|
+
set objects(objects: SchedulingObject[]);
|
|
11
|
+
get objects(): SchedulingObject[];
|
|
5
12
|
onDragStartCustom: Function;
|
|
6
13
|
onResizeStart: Function;
|
|
7
14
|
onSelectBlock: Function;
|
|
15
|
+
startTimeProp: string;
|
|
16
|
+
endTimeProp: string;
|
|
8
17
|
showClass(): boolean;
|
|
9
18
|
onExpandableDragStart(event: DragEvent, obj: Object, onDragStartCustom: Function): void;
|
|
10
|
-
|
|
11
|
-
|
|
19
|
+
calculateLeftAndWidthOfObjects(): {
|
|
20
|
+
leftPercent: number;
|
|
21
|
+
widthPercent: number;
|
|
22
|
+
}[];
|
|
12
23
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -132,3 +132,4 @@ export * from './lib/components/hour-scheduling-expandable/components/hour-sched
|
|
|
132
132
|
export * from './lib/components/hour-scheduling/hour-scheduling.module';
|
|
133
133
|
export * from './lib/components/hour-scheduling-expandable/hour-scheduling-expandable.module';
|
|
134
134
|
export * from './lib/components/hour-scheduling-expandable/hour-scheduling-expandable.module';
|
|
135
|
+
export * from './lib/components/hour-scheduling/model/enum/scheduling-object.interface';
|