@mediusinc/mng-commons 0.16.0 → 0.16.1
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/esm2020/lib/components/action/editor/action-editor.component.mjs +3 -3
- package/esm2020/lib/components/form/formly/fields/formly-field-lookup-dialog/formly-field-lookup-dialog.component.mjs +3 -3
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +1 -4
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +7 -9
- package/esm2020/lib/components/layout/topbar.component.mjs +2 -2
- package/esm2020/lib/descriptors/action.descriptor.mjs +1 -2
- package/esm2020/lib/services/action-executor.service.mjs +8 -12
- package/esm2020/lib/services/commons.service.mjs +21 -10
- package/fesm2015/mediusinc-mng-commons.mjs +54 -52
- package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
- package/fesm2020/mediusinc-mng-commons.mjs +53 -51
- package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
- package/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +0 -2
- package/lib/services/commons.service.d.ts +4 -2
- package/package.json +1 -1
- package/scss/mng-overrides/_layout_dialog.scss +6 -8
- package/scss/mng-overrides/_theme_dialog.scss +57 -1
- package/scss/mng-overrides/_variables.scss +3 -0
- package/version-info.json +5 -5
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FieldType } from '@ngx-formly/core';
|
|
3
|
-
import { Message } from 'primeng/api';
|
|
4
3
|
import { Observable, Subject } from 'rxjs';
|
|
5
4
|
import { MediusQueryResult } from '../../../../../api/models';
|
|
6
5
|
import { FieldManyToManyEditorDescriptor } from '../../../../../descriptors';
|
|
@@ -18,7 +17,6 @@ export declare class MngFormlyFieldTableDialogMultiselectComponent<T, ET> extend
|
|
|
18
17
|
isDialogVisible: boolean;
|
|
19
18
|
dialogAreItemsLoaded: boolean;
|
|
20
19
|
dialogSelectedAddItems: Array<any>;
|
|
21
|
-
dialogMessages: Message[];
|
|
22
20
|
dialogIsLoading$: Observable<boolean>;
|
|
23
21
|
hasAddAction: boolean;
|
|
24
22
|
hasDeleteAction: boolean;
|
|
@@ -39,8 +39,10 @@ export declare class MngCommonsService {
|
|
|
39
39
|
get appLogoNameLight(): string;
|
|
40
40
|
get appLogoNameDark(): string;
|
|
41
41
|
get appLanguages(): string[];
|
|
42
|
-
get appLanguage(): string;
|
|
43
|
-
set appLanguage(language: string);
|
|
42
|
+
get appLanguage(): string | null;
|
|
43
|
+
set appLanguage(language: string | null);
|
|
44
|
+
initLanguage(): string;
|
|
45
|
+
getOrInitLanguage(): string;
|
|
44
46
|
get appVersion(): import("../models").VersionConfigType;
|
|
45
47
|
get menuModeIsStatic(): boolean;
|
|
46
48
|
get menuModeIsStatic$(): Observable<boolean>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import 'mixins';
|
|
2
2
|
|
|
3
3
|
.p-dialog {
|
|
4
|
-
&.mng-
|
|
4
|
+
&.mng-dialog {
|
|
5
5
|
height: 90vh;
|
|
6
6
|
width: 60vw;
|
|
7
7
|
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
width: 90vw;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
&.mng-
|
|
16
|
+
&.mng-dialog-xl {
|
|
17
17
|
height: 100vh;
|
|
18
18
|
width: 100vw;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
&.mng-
|
|
21
|
+
&.mng-dialog-lg {
|
|
22
22
|
height: 95vh;
|
|
23
23
|
width: 80vw;
|
|
24
24
|
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
&.mng-
|
|
34
|
+
&.mng-dialog-sm {
|
|
35
35
|
width: 50vw;
|
|
36
36
|
height: initial;
|
|
37
37
|
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
&.mng-
|
|
47
|
+
&.mng-dialog-xs {
|
|
48
48
|
width: 40vw;
|
|
49
49
|
height: initial;
|
|
50
50
|
|
|
@@ -58,9 +58,7 @@
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
&.mng-formly-field-
|
|
62
|
-
&.mng-formly-field-table-multiselect-dialog,
|
|
63
|
-
&.mng-formly-field-lookup-dialog &.p-confirm-dialog {
|
|
61
|
+
&.mng-formly-field-lookup-dialog {
|
|
64
62
|
width: 450px;
|
|
65
63
|
|
|
66
64
|
@include mediaMaxXs() {
|
|
@@ -1,9 +1,65 @@
|
|
|
1
|
+
@import 'variables';
|
|
2
|
+
|
|
1
3
|
.p-dialog {
|
|
2
4
|
&.mng-action-editor-dialog,
|
|
3
|
-
&.mng-field-dialog {
|
|
5
|
+
&.mng-formly-field-table-multiselect-dialog {
|
|
4
6
|
.p-dialog-content {
|
|
5
7
|
border-bottom-left-radius: $dialogBorderRadius;
|
|
6
8
|
border-bottom-right-radius: $dialogBorderRadius;
|
|
7
9
|
}
|
|
8
10
|
}
|
|
11
|
+
|
|
12
|
+
&.mng-formly-field-table-multiselect-dialog {
|
|
13
|
+
.p-dialog-content {
|
|
14
|
+
padding: 0;
|
|
15
|
+
overflow-y: hidden;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.mng-formly-field-table-multiselect-dialog-table {
|
|
19
|
+
padding: $mngDialogContentPadding;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.mng-formly-field-table-multiselect-dialog-footer {
|
|
23
|
+
padding: $mngDialogFooterPadding;
|
|
24
|
+
|
|
25
|
+
button {
|
|
26
|
+
width: initial;
|
|
27
|
+
margin: 0.15rem 0.15rem;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.mng-formly-field-lookup-dialog {
|
|
33
|
+
.p-dialog-content {
|
|
34
|
+
padding-bottom: 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.mng-formly-field-table-multiselect-dialog-table {
|
|
38
|
+
padding: $mngDialogContentPadding;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.p-dialog-footer {
|
|
42
|
+
padding: $mngDialogFooterPadding;
|
|
43
|
+
|
|
44
|
+
button {
|
|
45
|
+
margin: 0.15rem 0.15rem;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.mng-action-editor-dialog {
|
|
51
|
+
.p-dialog-content {
|
|
52
|
+
padding: 0;
|
|
53
|
+
overflow-y: hidden;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.mng-action-editor-form-container {
|
|
57
|
+
padding: $mngDialogContentPadding;
|
|
58
|
+
overflow-y: auto;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.mng-action-editor-footer-container {
|
|
62
|
+
padding: $mngDialogFooterPadding;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
9
65
|
}
|
package/version-info.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mediusinc/mng-commons",
|
|
3
|
-
"version": "0.16.
|
|
4
|
-
"tag": "v0.16.
|
|
3
|
+
"version": "0.16.1",
|
|
4
|
+
"tag": "v0.16.1",
|
|
5
5
|
"distance": 0,
|
|
6
|
-
"hash": "
|
|
6
|
+
"hash": "95560438",
|
|
7
7
|
"dirty": false,
|
|
8
|
-
"semver": "0.16.
|
|
9
|
-
"raw": "v0.16.
|
|
8
|
+
"semver": "0.16.1",
|
|
9
|
+
"raw": "v0.16.1-95560438"
|
|
10
10
|
}
|