neo.mjs 4.0.58 → 4.0.59
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/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
@import "global/all";
|
|
2
2
|
|
|
3
3
|
html, .neo-body-viewport {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
align-items : center;
|
|
5
|
+
display : flex;
|
|
6
|
+
height : 100%;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
overflow : hidden; // chrome can overscroll the full page (bug)
|
|
9
|
+
width : 100%;
|
|
7
10
|
}
|
|
8
11
|
|
|
9
12
|
.neo-body {
|
|
@@ -18,12 +18,9 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.neo-dialog-wrapper {
|
|
21
|
-
display
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
top : 50%;
|
|
25
|
-
transform: translate(-50%, -50%);
|
|
26
|
-
z-index : 20; // ensure to be on top of table headers
|
|
21
|
+
display : flex;
|
|
22
|
+
position: absolute;
|
|
23
|
+
z-index : 20; // ensure to be on top of table headers
|
|
27
24
|
|
|
28
25
|
transition-duration : 200ms;
|
|
29
26
|
transition-property : height, left, top, transform, width;
|
|
@@ -238,7 +238,7 @@ class EditEventContainer extends FormContainer {
|
|
|
238
238
|
*/
|
|
239
239
|
onCalendarFieldChange(data) {
|
|
240
240
|
if (!Neo.isEmpty(data.value)) {
|
|
241
|
-
this.record.calendarId = data.
|
|
241
|
+
this.record.calendarId = data.record[data.component.store.keyProperty];
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
|
package/src/dialog/Base.mjs
CHANGED
|
@@ -391,9 +391,7 @@ class Base extends Panel {
|
|
|
391
391
|
cls = ['neo-header-toolbar', 'neo-toolbar'],
|
|
392
392
|
headers = me.headers || [];
|
|
393
393
|
|
|
394
|
-
|
|
395
|
-
cls.push('neo-draggable');
|
|
396
|
-
}
|
|
394
|
+
me.draggable && cls.push('neo-draggable');
|
|
397
395
|
|
|
398
396
|
headers.unshift({
|
|
399
397
|
cls : cls,
|