@mediusinc/mng-commons 0.4.4 → 0.5.0
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/api/services/api.abstract.service.mjs +15 -4
- package/esm2020/lib/api/services/crud-api.abstract.service.mjs +3 -3
- package/esm2020/lib/components/action/action.component.mjs +52 -8
- package/esm2020/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +25 -1
- package/esm2020/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +12 -3
- package/esm2020/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +26 -1
- package/esm2020/lib/components/form/formly/fields/formly-field-label/formly-field-label.component.mjs +17 -0
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +8 -4
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +3 -3
- package/esm2020/lib/components/form/formly/fields/index.mjs +2 -1
- package/esm2020/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.mjs +3 -3
- package/esm2020/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.mjs +3 -3
- package/esm2020/lib/config/formly.config.mjs +7 -2
- package/esm2020/lib/config/models/mng-config.model.mjs +1 -1
- package/esm2020/lib/descriptors/action.descriptor.mjs +34 -6
- package/esm2020/lib/descriptors/field.descriptor.mjs +48 -10
- package/esm2020/lib/descriptors/table.descriptor.mjs +3 -13
- package/esm2020/lib/mng-commons.module.mjs +9 -4
- package/esm2020/lib/pipes/enum.pipe.mjs +2 -2
- package/esm2020/lib/services/action-executor.service.mjs +28 -5
- package/esm2020/lib/services/commons.service.mjs +9 -10
- package/esm2020/lib/services/configuration.service.mjs +53 -19
- package/esm2020/lib/services/internal/commons-init.provider.mjs +4 -0
- package/esm2020/lib/services/internal/commons-init.service.mjs +44 -0
- package/esm2020/lib/services/internal/index.mjs +3 -0
- package/esm2020/lib/services/providers/config-service.provider.mjs +13 -3
- package/esm2020/lib/services/providers/index.mjs +1 -2
- package/esm2020/lib/services/tokens/commons-init.token.mjs +3 -0
- package/esm2020/lib/services/tokens/index.mjs +2 -1
- package/esm2020/lib/utils/editor-formly.util.mjs +5 -5
- package/esm2020/public-api.mjs +3 -1
- package/fesm2015/mediusinc-mng-commons.mjs +395 -92
- package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
- package/fesm2020/mediusinc-mng-commons.mjs +381 -89
- package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
- package/lib/api/services/api.abstract.service.d.ts +1 -1
- package/lib/api/services/crud-api.abstract.service.d.ts +8 -8
- package/lib/components/action/action.component.d.ts +13 -2
- package/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +4 -2
- package/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts +7 -1
- package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts +4 -2
- package/lib/components/form/formly/fields/formly-field-label/formly-field-label.component.d.ts +6 -0
- package/lib/components/form/formly/fields/index.d.ts +1 -0
- package/lib/config/models/mng-config.model.d.ts +1 -1
- package/lib/descriptors/action.descriptor.d.ts +28 -3
- package/lib/descriptors/field.descriptor.d.ts +26 -12
- package/lib/descriptors/table.descriptor.d.ts +0 -1
- package/lib/mng-commons.module.d.ts +58 -57
- package/lib/pipes/enum.pipe.d.ts +2 -1
- package/lib/services/commons.service.d.ts +4 -4
- package/lib/services/configuration.service.d.ts +3 -2
- package/lib/services/internal/commons-init.provider.d.ts +3 -0
- package/lib/services/internal/commons-init.service.d.ts +16 -0
- package/lib/services/internal/index.d.ts +2 -0
- package/lib/services/providers/config-service.provider.d.ts +2 -1
- package/lib/services/providers/index.d.ts +0 -1
- package/lib/services/tokens/commons-init.token.d.ts +3 -0
- package/lib/services/tokens/index.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/scss/mng-overrides/_layout_dialog.scss +44 -14
- package/scss/mng-overrides/_theme_dialog.scss +2 -3
- package/esm2020/lib/services/providers/commons-init.provider.mjs +0 -4
- package/lib/services/providers/commons-init.provider.d.ts +0 -2
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './lib/api/services';
|
|
|
3
3
|
export * from './lib/components/layout/services';
|
|
4
4
|
export * from './lib/services';
|
|
5
5
|
export * from './lib/services/providers';
|
|
6
|
+
export * from './lib/services/tokens';
|
|
6
7
|
export * from './lib/api/utils';
|
|
7
8
|
export * from './lib/utils';
|
|
8
9
|
export * from './lib/components/action';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
@import 'mixins';
|
|
2
2
|
|
|
3
3
|
.p-dialog {
|
|
4
|
-
&.mng-
|
|
5
|
-
|
|
6
|
-
height: 90%;
|
|
4
|
+
&.mng-action-editor-dialog {
|
|
5
|
+
height: 90vh;
|
|
7
6
|
width: 60vw;
|
|
8
7
|
|
|
9
8
|
@include mediaMaxLg() {
|
|
@@ -11,25 +10,56 @@
|
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
@include mediaMaxMd() {
|
|
14
|
-
width:
|
|
13
|
+
width: 90vw;
|
|
15
14
|
}
|
|
16
|
-
}
|
|
17
15
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
&.mng-action-editor-dialog-xl {
|
|
17
|
+
height: 100vh;
|
|
18
|
+
width: 100vw;
|
|
19
|
+
}
|
|
22
20
|
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
&.mng-action-editor-dialog-lg {
|
|
22
|
+
height: 95vh;
|
|
23
|
+
width: 80vw;
|
|
24
|
+
|
|
25
|
+
@include mediaMaxLg() {
|
|
26
|
+
width: 85vw;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@include mediaMaxMd() {
|
|
30
|
+
width: 90vw;
|
|
31
|
+
}
|
|
25
32
|
}
|
|
26
33
|
|
|
27
|
-
|
|
28
|
-
width:
|
|
34
|
+
&.mng-action-editor-dialog-sm {
|
|
35
|
+
width: 50vw;
|
|
36
|
+
height: initial;
|
|
37
|
+
|
|
38
|
+
@include mediaMaxLg() {
|
|
39
|
+
width: 70vw;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@include mediaMaxMd() {
|
|
43
|
+
width: 80vw;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.mng-action-editor-dialog-xs {
|
|
48
|
+
width: 40vw;
|
|
49
|
+
|
|
50
|
+
@include mediaMaxLg() {
|
|
51
|
+
width: 60vw;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@include mediaMaxMd() {
|
|
55
|
+
width: 70vw;
|
|
56
|
+
}
|
|
29
57
|
}
|
|
30
58
|
}
|
|
31
59
|
|
|
32
|
-
&.
|
|
60
|
+
&.mng-formly-field-table-form-dialog,
|
|
61
|
+
&.mng-formly-field-table-multiselect-dialog,
|
|
62
|
+
&.mng-formly-field-lookup-dialog &.p-confirm-dialog {
|
|
33
63
|
width: 450px;
|
|
34
64
|
|
|
35
65
|
@include mediaMaxXs() {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
.p-dialog {
|
|
2
|
-
&.mng-
|
|
3
|
-
&.mng-
|
|
4
|
-
&.mng-formly-field-table-form-dialog {
|
|
2
|
+
&.mng-action-editor-dialog,
|
|
3
|
+
&.mng-field-dialog {
|
|
5
4
|
.p-dialog-content {
|
|
6
5
|
border-bottom-left-radius: $dialogBorderRadius;
|
|
7
6
|
border-bottom-right-radius: $dialogBorderRadius;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export function mngCommonsInitializerProvider(mngCommons) {
|
|
2
|
-
return () => mngCommons.initialize();
|
|
3
|
-
}
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9ucy1pbml0LnByb3ZpZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9zZXJ2aWNlcy9wcm92aWRlcnMvY29tbW9ucy1pbml0LnByb3ZpZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sVUFBVSw2QkFBNkIsQ0FBQyxVQUE2QjtJQUN2RSxPQUFPLEdBQUcsRUFBRSxDQUFDLFVBQVUsQ0FBQyxVQUFVLEVBQUUsQ0FBQztBQUN6QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtNbmdDb21tb25zU2VydmljZX0gZnJvbSAnLi4vY29tbW9ucy5zZXJ2aWNlJztcblxuZXhwb3J0IGZ1bmN0aW9uIG1uZ0NvbW1vbnNJbml0aWFsaXplclByb3ZpZGVyKG1uZ0NvbW1vbnM6IE1uZ0NvbW1vbnNTZXJ2aWNlKSB7XG4gICAgcmV0dXJuICgpID0+IG1uZ0NvbW1vbnMuaW5pdGlhbGl6ZSgpO1xufVxuIl19
|