@colijnit/corecomponents_v12 259.1.20 → 259.1.22
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 +78 -39
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/hour-scheduling-expandable/components/hour-scheduling-expandable-template/hour-scheduling-expandable-template.component.js +36 -33
- package/esm2015/lib/components/hour-scheduling-expandable/components/hour-scheduling-expandable-template/hour-scheduling-expandable-template.module.js +20 -0
- package/esm2015/lib/components/hour-scheduling-expandable/hour-scheduling-expandable.component.js +10 -5
- package/esm2015/lib/components/hour-scheduling-expandable/hour-scheduling-expandable.module.js +3 -4
- package/esm2015/lib/components/list-of-icons/list-of-icons.component.js +29 -32
- package/esm2015/lib/components/list-of-values/list-of-values-popup.component.js +61 -32
- package/esm2015/lib/components/list-of-values/list-of-values.component.js +4 -1
- package/esm2015/lib/components/list-of-values/list-of-values.module.js +4 -2
- package/esm2015/lib/components/simple-grid/simple-grid.component.js +28 -28
- package/esm2015/lib/model/icon-list-item.js +1 -1
- package/esm2015/public-api.js +2 -1
- package/fesm2015/colijnit-corecomponents_v12.js +182 -140
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/hour-scheduling-expandable/components/hour-scheduling-expandable-template/hour-scheduling-expandable-template.component.d.ts +1 -1
- package/lib/components/hour-scheduling-expandable/components/hour-scheduling-expandable-template/hour-scheduling-expandable-template.module.d.ts +2 -0
- package/lib/components/hour-scheduling-expandable/style/_layout.scss +1 -0
- package/lib/components/list-of-icons/list-of-icons.component.d.ts +1 -3
- package/lib/components/list-of-icons/style/_layout.scss +3 -2
- package/lib/components/list-of-values/list-of-values-popup.component.d.ts +4 -0
- package/lib/components/list-of-values/list-of-values.component.d.ts +1 -0
- package/lib/components/list-of-values/style/_layout.scss +7 -0
- package/lib/components/simple-grid/style/_layout.scss +47 -8
- package/lib/model/icon-list-item.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/esm2015/lib/core/enum/batch-delivery-category.enum.js +0 -13
- package/lib/core/enum/batch-delivery-category.enum.d.ts +0 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef } from
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { SchedulingObject } from '../../../hour-scheduling/model/enum/scheduling-object.interface';
|
|
3
3
|
export declare class HourSchedulingExpandableTemplateComponent {
|
|
4
4
|
private _objects;
|
|
@@ -2,7 +2,6 @@ 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;
|
|
6
5
|
icons: IconCacheService;
|
|
7
6
|
set collection(value: IconListItem[]);
|
|
8
7
|
get collection(): IconListItem[];
|
|
@@ -14,8 +13,7 @@ export declare class ListOfIconsComponent implements OnInit {
|
|
|
14
13
|
showMenu: boolean;
|
|
15
14
|
showSubCategories: boolean;
|
|
16
15
|
private _collection;
|
|
17
|
-
|
|
18
|
-
constructor(iconCacheService: IconCacheService, icons: IconCacheService);
|
|
16
|
+
constructor(icons: IconCacheService);
|
|
19
17
|
ngOnInit(): void;
|
|
20
18
|
toggleMenu(): void;
|
|
21
19
|
selectItem(item: IconListItem): void;
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
background: #FFF;
|
|
56
56
|
|
|
57
57
|
.icon-item {
|
|
58
|
+
position: relative;
|
|
58
59
|
margin-bottom: 12px;
|
|
59
60
|
|
|
60
61
|
&.active {
|
|
@@ -74,8 +75,8 @@
|
|
|
74
75
|
|
|
75
76
|
.picking-type-wrapper {
|
|
76
77
|
position: absolute;
|
|
77
|
-
top:
|
|
78
|
-
left:
|
|
78
|
+
top: -10px;
|
|
79
|
+
left: 106%;
|
|
79
80
|
z-index: 1;
|
|
80
81
|
padding: 8px 6px 0;
|
|
81
82
|
border-radius: 3px;
|
|
@@ -13,6 +13,7 @@ export declare class ListOfValuesPopupComponent implements OnInit {
|
|
|
13
13
|
set inputSearch(component: InputSearchComponent);
|
|
14
14
|
model: any;
|
|
15
15
|
multiselect: boolean;
|
|
16
|
+
showToggleAll: boolean;
|
|
16
17
|
displayField: string;
|
|
17
18
|
searchPlaceholder: string;
|
|
18
19
|
customCssClass: string;
|
|
@@ -30,6 +31,7 @@ export declare class ListOfValuesPopupComponent implements OnInit {
|
|
|
30
31
|
viewModels: lovViewModel[];
|
|
31
32
|
viewModelsMain: lovViewModel[];
|
|
32
33
|
highLightModel: lovViewModel;
|
|
34
|
+
allSelected: boolean;
|
|
33
35
|
private _collection;
|
|
34
36
|
private _searchTerm;
|
|
35
37
|
private _lovItems;
|
|
@@ -43,6 +45,8 @@ export declare class ListOfValuesPopupComponent implements OnInit {
|
|
|
43
45
|
selectOptionAndClosePopup(): void;
|
|
44
46
|
selectOptions(): void;
|
|
45
47
|
selectNextOption(back?: boolean): void;
|
|
48
|
+
selectAll(): void;
|
|
49
|
+
toggleAll(): void;
|
|
46
50
|
private _prepareViewModelsMain;
|
|
47
51
|
private _prepareViewModels;
|
|
48
52
|
private _scrollIntoView;
|
|
@@ -21,6 +21,7 @@ export declare class ListOfValuesComponent extends BaseInputComponent<any> imple
|
|
|
21
21
|
get model(): any;
|
|
22
22
|
parentForOverlay: ElementRef;
|
|
23
23
|
multiselect: boolean;
|
|
24
|
+
showToggleAll: boolean;
|
|
24
25
|
largeCollection: boolean;
|
|
25
26
|
displayField: string;
|
|
26
27
|
optionIcon: string;
|
|
@@ -154,5 +154,12 @@
|
|
|
154
154
|
background-color: $cc-co-list-of-values-lov-options-li-selected;
|
|
155
155
|
color: $cc-co-list-of-values-lov-options-li-selected-text-color;
|
|
156
156
|
}
|
|
157
|
+
|
|
158
|
+
.gap {
|
|
159
|
+
display: flex;
|
|
160
|
+
align-items: center;
|
|
161
|
+
gap: 0.1em;
|
|
162
|
+
padding: 0.25em;
|
|
163
|
+
}
|
|
157
164
|
}
|
|
158
165
|
}
|
|
@@ -10,9 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
co-input-checkbox {
|
|
12
12
|
justify-content: center;
|
|
13
|
+
|
|
13
14
|
.checkbox {
|
|
14
15
|
.checkmark {
|
|
15
16
|
left: $cc-simple-grid-input-checkbox-check-mark-width * .15;
|
|
17
|
+
|
|
16
18
|
&.show {
|
|
17
19
|
}
|
|
18
20
|
}
|
|
@@ -24,6 +26,38 @@
|
|
|
24
26
|
table-layout: fixed;
|
|
25
27
|
width: 100%;
|
|
26
28
|
border-collapse: collapse;
|
|
29
|
+
|
|
30
|
+
colgroup {
|
|
31
|
+
col {
|
|
32
|
+
&:last-child.icons-col {
|
|
33
|
+
min-width: 30px;
|
|
34
|
+
max-width: 100%;
|
|
35
|
+
|
|
36
|
+
&.col-width-row-buttons {
|
|
37
|
+
width: 140px;
|
|
38
|
+
max-width: 140px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.col-width-delete {
|
|
42
|
+
width: 30px;
|
|
43
|
+
max-width: 30px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
td {
|
|
51
|
+
&:last-child.icons-container {
|
|
52
|
+
width: auto;
|
|
53
|
+
padding: 0;
|
|
54
|
+
height: 100%;
|
|
55
|
+
display: flex;
|
|
56
|
+
justify-content: center;
|
|
57
|
+
align-items: center;
|
|
58
|
+
gap: 4px;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
27
61
|
}
|
|
28
62
|
// styling outside of grid because of drag and drop functionality
|
|
29
63
|
.simple-grid-column-auto-fit {
|
|
@@ -70,12 +104,15 @@
|
|
|
70
104
|
}
|
|
71
105
|
.co-simple-grid-cell {
|
|
72
106
|
width: 100%;
|
|
107
|
+
|
|
73
108
|
.co-icon {
|
|
74
109
|
width: $cc-simple-grid-cell-icon-size;
|
|
75
110
|
height: $cc-simple-grid-cell-icon-size;
|
|
76
111
|
}
|
|
112
|
+
|
|
77
113
|
.co-button {
|
|
78
114
|
background-color: $cc-simple-grid-button-background-color;
|
|
115
|
+
|
|
79
116
|
.co-icon {
|
|
80
117
|
width: $cc-simple-grid-cell-icon-size;
|
|
81
118
|
height: $cc-simple-grid-cell-icon-size;
|
|
@@ -85,6 +122,7 @@
|
|
|
85
122
|
.simple-grid-column-cell-value {
|
|
86
123
|
height: 100%;
|
|
87
124
|
width: 100%;
|
|
125
|
+
|
|
88
126
|
> * {
|
|
89
127
|
height: 100%;
|
|
90
128
|
width: 100%;
|
|
@@ -97,11 +135,13 @@
|
|
|
97
135
|
border-width: $cc-simple-grid-cell-field-border-width;
|
|
98
136
|
padding: $cc-simple-grid-cell-field-padding;
|
|
99
137
|
border-radius: $cc-simple-grid-cell-field-radius;
|
|
138
|
+
|
|
100
139
|
span {
|
|
101
140
|
white-space: normal;
|
|
102
141
|
text-overflow: ellipsis;
|
|
103
142
|
overflow: hidden;
|
|
104
143
|
}
|
|
144
|
+
|
|
105
145
|
.form-input {
|
|
106
146
|
width: 100%;
|
|
107
147
|
}
|
|
@@ -116,9 +156,11 @@
|
|
|
116
156
|
text-overflow: ellipsis;
|
|
117
157
|
white-space: nowrap;
|
|
118
158
|
border-bottom: 2px solid $cc-color-grid-row-hover-background;
|
|
159
|
+
|
|
119
160
|
&.with-menu {
|
|
120
161
|
cursor: pointer;
|
|
121
162
|
}
|
|
163
|
+
|
|
122
164
|
&.with-sort {
|
|
123
165
|
cursor: pointer;
|
|
124
166
|
}
|
|
@@ -134,6 +176,7 @@
|
|
|
134
176
|
visibility: hidden;
|
|
135
177
|
overflow: hidden;
|
|
136
178
|
transition: opacity .3s ease-in-out;
|
|
179
|
+
|
|
137
180
|
.co-button {
|
|
138
181
|
width: 20px;
|
|
139
182
|
height: 20px;
|
|
@@ -142,6 +185,7 @@
|
|
|
142
185
|
}
|
|
143
186
|
.simple-grid-column-header {
|
|
144
187
|
position: relative;
|
|
188
|
+
|
|
145
189
|
&:hover {
|
|
146
190
|
.sort-column {
|
|
147
191
|
opacity: 1;
|
|
@@ -168,10 +212,12 @@
|
|
|
168
212
|
border-width: $cc-simple-grid-row-border-width;
|
|
169
213
|
border-style: solid;
|
|
170
214
|
border-color: $cc-simple-grid-row-border-color;
|
|
215
|
+
|
|
171
216
|
&.disabled {
|
|
172
217
|
opacity: $cc-simple-grid-row-disabled-opacity;
|
|
173
218
|
background: $cc-simple-grid-row-disabled-background-color;
|
|
174
219
|
}
|
|
220
|
+
|
|
175
221
|
&.editing {
|
|
176
222
|
.form-input {
|
|
177
223
|
&:before, &:hover, &:hover:before, &.cc-input-focused, &.cc-input-focused:before {
|
|
@@ -214,6 +260,7 @@
|
|
|
214
260
|
0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
215
261
|
0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
216
262
|
display: table;
|
|
263
|
+
|
|
217
264
|
td {
|
|
218
265
|
flex-grow: 2;
|
|
219
266
|
font-size: 10px;
|
|
@@ -285,14 +332,6 @@
|
|
|
285
332
|
}
|
|
286
333
|
}
|
|
287
334
|
|
|
288
|
-
.icons-container {
|
|
289
|
-
display: flex;
|
|
290
|
-
justify-content: center;
|
|
291
|
-
align-items: center;
|
|
292
|
-
height: 100%;
|
|
293
|
-
gap: 4px;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
335
|
.icon-item {
|
|
297
336
|
&:hover {
|
|
298
337
|
cursor: pointer;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -131,6 +131,7 @@ export * from './lib/translation/core-components-translation.service';
|
|
|
131
131
|
export * from './lib/components/hour-scheduling/hour-scheduling.component';
|
|
132
132
|
export * from './lib/components/hour-scheduling-expandable/hour-scheduling-expandable.component';
|
|
133
133
|
export * from './lib/components/hour-scheduling-expandable/components/hour-scheduling-expandable-template/hour-scheduling-expandable-template.component';
|
|
134
|
+
export * from './lib/components/hour-scheduling-expandable/components/hour-scheduling-expandable-template/hour-scheduling-expandable-template.module';
|
|
134
135
|
export * from './lib/components/hour-scheduling/hour-scheduling.module';
|
|
135
136
|
export * from './lib/components/hour-scheduling-expandable/hour-scheduling-expandable.module';
|
|
136
137
|
export * from './lib/components/hour-scheduling-expandable/hour-scheduling-expandable.module';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// Values are corresponding dictionary keys in text_nl.
|
|
2
|
-
export var BatchDeliveryCategory;
|
|
3
|
-
(function (BatchDeliveryCategory) {
|
|
4
|
-
BatchDeliveryCategory["Overview"] = "OVERVIEW";
|
|
5
|
-
BatchDeliveryCategory["Purchase"] = "COST_OF_SALES";
|
|
6
|
-
BatchDeliveryCategory["Allocate"] = "ALLOCATION";
|
|
7
|
-
BatchDeliveryCategory["Logistics"] = "LOGISTICS";
|
|
8
|
-
BatchDeliveryCategory["DeliveryOrder"] = "DELIVERY_ORDER";
|
|
9
|
-
BatchDeliveryCategory["Invoice"] = "INVOICE";
|
|
10
|
-
BatchDeliveryCategory["ToPick"] = "TO_PICK";
|
|
11
|
-
BatchDeliveryCategory["Picked"] = "PICKED";
|
|
12
|
-
})(BatchDeliveryCategory || (BatchDeliveryCategory = {}));
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmF0Y2gtZGVsaXZlcnktY2F0ZWdvcnkuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmVjb21wb25lbnRzL3NyYy9saWIvY29yZS9lbnVtL2JhdGNoLWRlbGl2ZXJ5LWNhdGVnb3J5LmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsdURBQXVEO0FBQ3ZELE1BQU0sQ0FBTixJQUFZLHFCQVNYO0FBVEQsV0FBWSxxQkFBcUI7SUFDL0IsOENBQXFCLENBQUE7SUFDckIsbURBQTBCLENBQUE7SUFDMUIsZ0RBQXVCLENBQUE7SUFDdkIsZ0RBQXVCLENBQUE7SUFDdkIseURBQWdDLENBQUE7SUFDaEMsNENBQW1CLENBQUE7SUFDbkIsMkNBQWtCLENBQUE7SUFDbEIsMENBQWlCLENBQUE7QUFDbkIsQ0FBQyxFQVRXLHFCQUFxQixLQUFyQixxQkFBcUIsUUFTaEMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBWYWx1ZXMgYXJlIGNvcnJlc3BvbmRpbmcgZGljdGlvbmFyeSBrZXlzIGluIHRleHRfbmwuXHJcbmV4cG9ydCBlbnVtIEJhdGNoRGVsaXZlcnlDYXRlZ29yeSB7XHJcbiAgT3ZlcnZpZXcgPSBcIk9WRVJWSUVXXCIsXHJcbiAgUHVyY2hhc2UgPSBcIkNPU1RfT0ZfU0FMRVNcIixcclxuICBBbGxvY2F0ZSA9IFwiQUxMT0NBVElPTlwiLFxyXG4gIExvZ2lzdGljcyA9IFwiTE9HSVNUSUNTXCIsXHJcbiAgRGVsaXZlcnlPcmRlciA9IFwiREVMSVZFUllfT1JERVJcIixcclxuICBJbnZvaWNlID0gXCJJTlZPSUNFXCIsXHJcbiAgVG9QaWNrID0gXCJUT19QSUNLXCIsXHJcbiAgUGlja2VkID0gXCJQSUNLRURcIlxyXG59XHJcbiJdfQ==
|