@colijnit/corecomponents_v12 300.1.2 → 300.1.3
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
|
@@ -2134,6 +2134,7 @@ declare class PopupWindowShellComponent implements AfterViewInit, OnDestroy, OnI
|
|
|
2134
2134
|
popupWindow: PopupWindowModel;
|
|
2135
2135
|
hasMobileSizings: boolean;
|
|
2136
2136
|
protected _viewContainer: ViewContainerRef;
|
|
2137
|
+
protected _blankViewContainer: ViewContainerRef;
|
|
2137
2138
|
protected _appPopupButtons: PopupButtonsComponent;
|
|
2138
2139
|
isError: boolean;
|
|
2139
2140
|
isWarning: boolean;
|
|
@@ -2793,6 +2794,7 @@ declare class ListOfValuesComponent extends BaseInputComponent<any> implements O
|
|
|
2793
2794
|
searchPlaceholder: string;
|
|
2794
2795
|
searchDisabled: boolean;
|
|
2795
2796
|
showChips: boolean;
|
|
2797
|
+
leftIconClick: EventEmitter<void>;
|
|
2796
2798
|
showClass(): boolean;
|
|
2797
2799
|
isSelectOpen: boolean;
|
|
2798
2800
|
state: string;
|
|
@@ -2822,7 +2824,7 @@ declare class ListOfValuesComponent extends BaseInputComponent<any> implements O
|
|
|
2822
2824
|
checkModel(): void;
|
|
2823
2825
|
private _setSelectedModel;
|
|
2824
2826
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListOfValuesComponent, [{ optional: true; }, null, null, null, null, null, null]>;
|
|
2825
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListOfValuesComponent, "co-list-of-values", never, { "model": { "alias": "model"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "showToggleAll": { "alias": "showToggleAll"; "required": false; }; "largeCollection": { "alias": "largeCollection"; "required": false; }; "displayField": { "alias": "displayField"; "required": false; }; "optionIcon": { "alias": "optionIcon"; "required": false; }; "collection": { "alias": "collection"; "required": false; }; "collectionLoadFn": { "alias": "collectionLoadFn"; "required": false; }; "collectionLoadFnProp": { "alias": "collectionLoadFnProp"; "required": false; }; "leftIconData": { "alias": "leftIconData"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "searchDisabled": { "alias": "searchDisabled"; "required": false; }; "showChips": { "alias": "showChips"; "required": false; }; }, {}, never, never, false, never>;
|
|
2827
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListOfValuesComponent, "co-list-of-values", never, { "model": { "alias": "model"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "showToggleAll": { "alias": "showToggleAll"; "required": false; }; "largeCollection": { "alias": "largeCollection"; "required": false; }; "displayField": { "alias": "displayField"; "required": false; }; "optionIcon": { "alias": "optionIcon"; "required": false; }; "collection": { "alias": "collection"; "required": false; }; "collectionLoadFn": { "alias": "collectionLoadFn"; "required": false; }; "collectionLoadFnProp": { "alias": "collectionLoadFnProp"; "required": false; }; "leftIconData": { "alias": "leftIconData"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "searchDisabled": { "alias": "searchDisabled"; "required": false; }; "showChips": { "alias": "showChips"; "required": false; }; }, { "leftIconClick": "leftIconClick"; }, never, never, false, never>;
|
|
2826
2828
|
}
|
|
2827
2829
|
|
|
2828
2830
|
interface lovViewModel {
|
|
@@ -3751,6 +3753,10 @@ declare class HourSchedulingExpandableComponent implements OnInit {
|
|
|
3751
3753
|
hourLabels: string[];
|
|
3752
3754
|
scheduledObjects: SchedulingObject[];
|
|
3753
3755
|
selectedHour: string;
|
|
3756
|
+
layouts: {
|
|
3757
|
+
leftPercent: number;
|
|
3758
|
+
widthPercent: number;
|
|
3759
|
+
}[];
|
|
3754
3760
|
private resizing;
|
|
3755
3761
|
private resizeDirection;
|
|
3756
3762
|
private initialY;
|
|
@@ -3813,6 +3819,10 @@ declare class HourSchedulingExpandableComponent implements OnInit {
|
|
|
3813
3819
|
handleDeselectAll(): void;
|
|
3814
3820
|
selectHalfHourBlock(mouseEvent: MouseEvent, hour: string, first?: boolean): void;
|
|
3815
3821
|
handleHourTaskCreate(mouseEvent: MouseEvent, hour: string, first?: boolean): void;
|
|
3822
|
+
calculateLeftAndWidthOfObjects(): {
|
|
3823
|
+
leftPercent: number;
|
|
3824
|
+
widthPercent: number;
|
|
3825
|
+
}[];
|
|
3816
3826
|
static ɵfac: i0.ɵɵFactoryDeclaration<HourSchedulingExpandableComponent, never>;
|
|
3817
3827
|
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>;
|
|
3818
3828
|
}
|
|
@@ -3833,12 +3843,8 @@ declare class HourSchedulingExpandableTemplateComponent {
|
|
|
3833
3843
|
endTimeProp: string;
|
|
3834
3844
|
showClass(): boolean;
|
|
3835
3845
|
onExpandableDragStart(event: DragEvent, obj: SchedulingObject$1): void;
|
|
3836
|
-
calculateLeftAndWidthOfObjects(): {
|
|
3837
|
-
leftPercent: number;
|
|
3838
|
-
widthPercent: number;
|
|
3839
|
-
}[];
|
|
3840
3846
|
static ɵfac: i0.ɵɵFactoryDeclaration<HourSchedulingExpandableTemplateComponent, never>;
|
|
3841
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HourSchedulingExpandableTemplateComponent, "co-hour-scheduling-expandable-template", never, { "objectTemplate": { "alias": "objectTemplate"; "required": false; }; "objects": { "alias": "objects"; "required": false; }; "onDragStartCustom": { "alias": "onDragStartCustom"; "required": false; }; "onResizeStart": { "alias": "onResizeStart"; "required": false; }; "onSelectBlock": { "alias": "onSelectBlock"; "required": false; }; "startTimeProp": { "alias": "startTimeProp"; "required": false; }; "endTimeProp": { "alias": "endTimeProp"; "required": false; }; }, {}, never, never, false, never>;
|
|
3847
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HourSchedulingExpandableTemplateComponent, "co-hour-scheduling-expandable-template", never, { "layouts": { "alias": "layouts"; "required": false; }; "objectTemplate": { "alias": "objectTemplate"; "required": false; }; "objects": { "alias": "objects"; "required": false; }; "onDragStartCustom": { "alias": "onDragStartCustom"; "required": false; }; "onResizeStart": { "alias": "onResizeStart"; "required": false; }; "onSelectBlock": { "alias": "onSelectBlock"; "required": false; }; "startTimeProp": { "alias": "startTimeProp"; "required": false; }; "endTimeProp": { "alias": "endTimeProp"; "required": false; }; }, {}, never, never, false, never>;
|
|
3842
3848
|
}
|
|
3843
3849
|
|
|
3844
3850
|
declare class HourSchedulingExpandableTemplateModule {
|
|
@@ -1,26 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
1
|
@include export-module('cc-hour-scheduling-expandable-layout') {
|
|
4
2
|
.co-hour-scheduling-expandable {
|
|
3
|
+
--hour-ledger-width: 80px;
|
|
4
|
+
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
padding: 30px 0;
|
|
8
8
|
background: #FFF;
|
|
9
9
|
|
|
10
|
+
.wrapper {
|
|
11
|
+
position: relative;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.scheduled-objects {
|
|
15
|
+
position: absolute;
|
|
16
|
+
top: 0;
|
|
17
|
+
right: 0;
|
|
18
|
+
bottom: 0;
|
|
19
|
+
left: var(--hour-ledger-width);
|
|
20
|
+
|
|
21
|
+
pointer-events: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
10
24
|
.custom-scheduled-object {
|
|
11
25
|
position: absolute;
|
|
12
|
-
left: calc(55px + var(--left));
|
|
13
|
-
width: calc(var(--width) - 55px);
|
|
14
26
|
|
|
27
|
+
left: var(--left);
|
|
28
|
+
width: var(--width);
|
|
15
29
|
top: var(--top);
|
|
16
30
|
height: var(--height);
|
|
31
|
+
|
|
32
|
+
box-sizing: border-box;
|
|
33
|
+
pointer-events: auto;
|
|
34
|
+
|
|
17
35
|
cursor: grab;
|
|
18
36
|
background: #F5F5FC;
|
|
19
37
|
border: 1px solid #F5F5FC;
|
|
20
38
|
transition: background-color 0.3s ease;
|
|
21
39
|
padding: 0;
|
|
22
40
|
margin: 0 0.5em;
|
|
23
|
-
|
|
41
|
+
|
|
42
|
+
.top-resizer,
|
|
43
|
+
.bottom-resizer {
|
|
24
44
|
height: 5px;
|
|
25
45
|
position: absolute;
|
|
26
46
|
width: 100%;
|
|
@@ -35,53 +55,55 @@
|
|
|
35
55
|
cursor: s-resize;
|
|
36
56
|
bottom: 0;
|
|
37
57
|
}
|
|
58
|
+
|
|
38
59
|
&:hover {
|
|
39
60
|
}
|
|
61
|
+
|
|
40
62
|
&.selected {
|
|
41
63
|
border: 1px solid #1A73E8;
|
|
42
64
|
cursor: pointer;
|
|
43
65
|
}
|
|
44
66
|
}
|
|
45
67
|
|
|
46
|
-
.wrapper {
|
|
47
|
-
position: relative;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.scheduled-objects {
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-direction: column;
|
|
53
|
-
height: 100%;
|
|
54
|
-
|
|
55
|
-
}
|
|
56
68
|
.time-block {
|
|
57
69
|
display: flex;
|
|
58
70
|
justify-content: space-between;
|
|
59
71
|
align-items: flex-start;
|
|
60
|
-
background-color: #
|
|
72
|
+
background-color: #FFFFFF;
|
|
61
73
|
}
|
|
62
74
|
|
|
63
75
|
.hour-label {
|
|
64
|
-
|
|
65
|
-
|
|
76
|
+
box-sizing: border-box;
|
|
77
|
+
flex: 0 0 var(--hour-ledger-width);
|
|
78
|
+
width: var(--hour-ledger-width);
|
|
66
79
|
padding: 0 10px;
|
|
80
|
+
|
|
81
|
+
font-weight: bold;
|
|
67
82
|
position: relative;
|
|
68
83
|
top: -10px;
|
|
69
84
|
}
|
|
85
|
+
|
|
70
86
|
.drag-over {
|
|
71
87
|
background-color: rgba(26, 115, 232, 0.2);
|
|
72
88
|
transition: background-color 0.1s ease;
|
|
73
89
|
}
|
|
90
|
+
|
|
74
91
|
.object-display {
|
|
75
92
|
display: flex;
|
|
76
|
-
|
|
93
|
+
flex: 1 1 auto;
|
|
94
|
+
min-width: 0;
|
|
95
|
+
width: auto;
|
|
77
96
|
flex-direction: column;
|
|
78
97
|
|
|
79
|
-
.first-half-hour,
|
|
98
|
+
.first-half-hour,
|
|
99
|
+
.second-half-hour {
|
|
80
100
|
background: none;
|
|
101
|
+
|
|
81
102
|
&.selected {
|
|
82
103
|
background-color: rgba(26, 115, 232, 0.2);
|
|
83
104
|
transition: background-color 0.1s ease;
|
|
84
105
|
}
|
|
106
|
+
|
|
85
107
|
.toggle-icon {
|
|
86
108
|
height: 20px;
|
|
87
109
|
width: 20px;
|
|
@@ -90,7 +112,6 @@
|
|
|
90
112
|
display: flex;
|
|
91
113
|
align-items: center;
|
|
92
114
|
right: 8px;
|
|
93
|
-
|
|
94
115
|
left: auto;
|
|
95
116
|
|
|
96
117
|
&.visible {
|
|
@@ -99,7 +120,6 @@
|
|
|
99
120
|
}
|
|
100
121
|
}
|
|
101
122
|
|
|
102
|
-
|
|
103
123
|
.object-half {
|
|
104
124
|
padding: 5px;
|
|
105
125
|
min-height: 30px;
|
|
@@ -107,13 +127,16 @@
|
|
|
107
127
|
border-color: #F5F5FC;
|
|
108
128
|
border-width: 1px 0 1px 0;
|
|
109
129
|
transition: background-color 0.3s ease;
|
|
130
|
+
|
|
110
131
|
&.has-objects {
|
|
111
132
|
cursor: grab;
|
|
112
133
|
background: #F5F5FC;
|
|
113
134
|
border: 1px solid #F5F5FC;
|
|
135
|
+
|
|
114
136
|
&:hover {
|
|
115
137
|
background-color: rgba(26, 115, 232, 0.2);
|
|
116
138
|
}
|
|
139
|
+
|
|
117
140
|
&.active {
|
|
118
141
|
background-color: rgba(26, 115, 232, 0.2);
|
|
119
142
|
border: 1px solid #1A73E8;
|