@mediusinc/mng-commons-layout 6.2.1 → 7.0.0-rc.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.
Files changed (97) hide show
  1. package/components/index.d.ts +168 -10
  2. package/components/pages/error/index.d.ts +10 -1
  3. package/components/pages/main/index.d.ts +35 -2
  4. package/components/pages/main/lazy/index.d.ts +11 -1
  5. package/components/pages/not-found/index.d.ts +10 -1
  6. package/fesm2022/mediusinc-mng-commons-layout-components-pages-error.mjs +4 -4
  7. package/fesm2022/mediusinc-mng-commons-layout-components-pages-error.mjs.map +1 -1
  8. package/fesm2022/mediusinc-mng-commons-layout-components-pages-main-lazy.mjs.map +1 -1
  9. package/fesm2022/mediusinc-mng-commons-layout-components-pages-main.mjs +9 -9
  10. package/fesm2022/mediusinc-mng-commons-layout-components-pages-main.mjs.map +1 -1
  11. package/fesm2022/mediusinc-mng-commons-layout-components-pages-not-found.mjs +4 -4
  12. package/fesm2022/mediusinc-mng-commons-layout-components-pages-not-found.mjs.map +1 -1
  13. package/fesm2022/mediusinc-mng-commons-layout-components.mjs +66 -65
  14. package/fesm2022/mediusinc-mng-commons-layout-components.mjs.map +1 -1
  15. package/fesm2022/mediusinc-mng-commons-layout.mjs +40 -41
  16. package/fesm2022/mediusinc-mng-commons-layout.mjs.map +1 -1
  17. package/index.d.ts +206 -8
  18. package/package.json +25 -16
  19. package/styles/atlantis/index.scss +16 -0
  20. package/{scss → styles/atlantis}/layout/_content.scss +1 -1
  21. package/{scss → styles/atlantis}/layout/_main.scss +17 -2
  22. package/{scss → styles/atlantis}/layout/_profile.scss +1 -1
  23. package/styles/atlantis/layout/_sass_variables.scss +1 -0
  24. package/{scss → styles/atlantis}/layout/_sidebar_drawer.scss +5 -3
  25. package/{scss → styles/atlantis}/layout/_sidebar_horizontal.scss +8 -10
  26. package/{scss → styles/atlantis}/layout/_sidebar_reveal.scss +9 -12
  27. package/{scss → styles/atlantis}/layout/_sidebar_slim.scss +1 -2
  28. package/{scss → styles/atlantis}/layout/_sidebar_slim_plus.scss +1 -2
  29. package/{scss → styles/atlantis}/layout/_sidebar_vertical.scss +3 -1
  30. package/{scss → styles/atlantis}/layout/_topbar.scss +0 -1
  31. package/styles/atlantis/layout/atlantis.scss +0 -0
  32. package/{scss → styles/atlantis}/layout/layout.scss +3 -3
  33. package/{scss → styles/atlantis}/layout/variables/_dark.scss +2 -2
  34. package/{scss → styles/atlantis}/layout/variables/_light.scss +2 -2
  35. package/styles/tailwindcss-commons/atlantis/index.css +20 -0
  36. package/styles/tailwindcss-commons/atlantis/layout/breadcrumb.css +100 -0
  37. package/styles/tailwindcss-commons/atlantis/layout/content.css +3 -0
  38. package/styles/tailwindcss-commons/atlantis/layout/main.css +67 -0
  39. package/styles/tailwindcss-commons/atlantis/layout/profile.css +10 -0
  40. package/styles/tailwindcss-commons/atlantis/layout/responsive.css +131 -0
  41. package/styles/tailwindcss-commons/atlantis/layout/sidebar-drawer.css +286 -0
  42. package/styles/tailwindcss-commons/atlantis/layout/sidebar-reveal.css +204 -0
  43. package/styles/tailwindcss-commons/atlantis/layout/sidebar-slim-plus.css +166 -0
  44. package/styles/tailwindcss-commons/atlantis/layout/sidebar-slim.css +156 -0
  45. package/styles/tailwindcss-commons/atlantis/layout/sidebar-vertical.css +184 -0
  46. package/styles/tailwindcss-commons/atlantis/layout/topbar.css +203 -0
  47. package/styles/tailwindcss-commons/atlantis/layout/utils.css +29 -0
  48. package/styles/tailwindcss-commons/atlantis/variables/common.css +15 -0
  49. package/styles/tailwindcss-commons/atlantis/variables/dark.css +10 -0
  50. package/styles/tailwindcss-commons/atlantis/variables/light.css +10 -0
  51. package/styles/tailwindcss-commons/index.css +15 -0
  52. package/styles/tailwindcss-commons/index_wo_atlantis.css +14 -0
  53. package/styles/tailwindcss-commons/setup/breakpoints.css +15 -0
  54. package/styles/tailwindcss-commons/setup/dark.css +2 -0
  55. package/styles/tailwindcss-commons/setup/heading.css +26 -0
  56. package/{scss/layout/mng/variables/_mng-variables-common.scss → styles/tailwindcss-commons/setup/variables.css} +9 -0
  57. package/{scss/layout/mng/theme/_mng_theme_button.scss → styles/tailwindcss-commons/styles/button.css} +2 -2
  58. package/{scss/layout/mng/theme/_mng_theme_dialog.scss → styles/tailwindcss-commons/styles/dialog.css} +22 -18
  59. package/styles/tailwindcss-commons/styles/topbar.css +24 -0
  60. package/version-info.json +6 -6
  61. package/components/lib/components/breadcrumb.component.d.ts +0 -9
  62. package/components/lib/components/footer.component.d.ts +0 -13
  63. package/components/lib/components/main-layout.component.d.ts +0 -23
  64. package/components/lib/components/menu-item.component.d.ts +0 -26
  65. package/components/lib/components/menu.component.d.ts +0 -12
  66. package/components/lib/components/settings.component.d.ts +0 -28
  67. package/components/lib/components/sidebar.component.d.ts +0 -15
  68. package/components/lib/components/topbar-user.component.d.ts +0 -16
  69. package/components/lib/components/topbar.component.d.ts +0 -16
  70. package/components/lib/components/version.component.d.ts +0 -19
  71. package/components/pages/error/lib/error.page.component.d.ts +0 -7
  72. package/components/pages/main/lazy/lib/route-builder.d.ts +0 -8
  73. package/components/pages/main/lib/main-layout.component.d.ts +0 -23
  74. package/components/pages/main/lib/route-builder.d.ts +0 -8
  75. package/components/pages/not-found/lib/not-found.page.component.d.ts +0 -7
  76. package/lib/helpers/menu-items.d.ts +0 -5
  77. package/lib/models/layout-state.model.d.ts +0 -10
  78. package/lib/models/menu.model.d.ts +0 -4
  79. package/lib/provide.d.ts +0 -8
  80. package/lib/services/layout-feature-config.token.d.ts +0 -91
  81. package/lib/services/layout.service.d.ts +0 -48
  82. package/lib/services/menu.service.d.ts +0 -22
  83. package/lib/services/version.service.d.ts +0 -14
  84. package/scss/commons.scss +0 -1
  85. package/scss/layout/_sass_variables.scss +0 -1
  86. package/scss/layout/mng/layout/_mng_layout_topbar.scss +0 -18
  87. /package/{scss → styles/atlantis}/layout/_breadcrumb.scss +0 -0
  88. /package/{scss → styles/atlantis}/layout/_config.scss +0 -0
  89. /package/{scss → styles/atlantis}/layout/_responsive.scss +0 -0
  90. /package/{scss → styles/atlantis}/layout/_utils.scss +0 -0
  91. /package/{scss → styles/atlantis}/layout/variables/_common.scss +0 -0
  92. /package/{scss/layout/mng/layout/_mng_layout_footer.scss → styles/tailwindcss-commons/styles/footer.css} +0 -0
  93. /package/{scss/layout/mng/layout/_mng_layout.scss → styles/tailwindcss-commons/styles/layout.css} +0 -0
  94. /package/{scss/layout/mng/layout/_mng_layout_menu.scss → styles/tailwindcss-commons/styles/menu.css} +0 -0
  95. /package/{scss/layout/mng/layout/_mng_sidebar_vertical.scss → styles/tailwindcss-commons/styles/sidebar.css} +0 -0
  96. /package/{scss/layout/mng/theme/_mng_theme_toast.scss → styles/tailwindcss-commons/styles/toast.css} +0 -0
  97. /package/{scss/layout/mng/theme/_mng_theme_toggleswitch.scss → styles/tailwindcss-commons/styles/toggleswitch.css} +0 -0
@@ -0,0 +1,203 @@
1
+ .layout-rightmenu-button {
2
+ background: linear-gradient(271.89deg, rgba(70, 82, 104, 1), rgba(115, 130, 161, 1)) !important;
3
+ border-radius: 6px 0px 0px 6px !important;
4
+ border-color: transparent !important;
5
+ border-left: 0 none !important;
6
+ box-shadow: 0px 0px 10px rgb(15 139 253 / 25%) !important;
7
+ right: 0;
8
+ color: #fff !important;
9
+
10
+ span {
11
+ font-weight: 400 !important;
12
+ }
13
+
14
+ &:enabled:hover {
15
+ background: linear-gradient(271.89deg, rgba(70, 82, 104, 0.5), rgba(115, 130, 161, 0.5));
16
+ border-color: transparent;
17
+ }
18
+ }
19
+ .layout-topbar {
20
+ margin-bottom: 2rem;
21
+ display: flex;
22
+ justify-content: space-between;
23
+ align-items: center;
24
+
25
+ .topbar-start {
26
+ display: flex;
27
+ align-items: center;
28
+ position: relative;
29
+ z-index: 999;
30
+
31
+ .topbar-menubutton {
32
+ margin-right: 1.5rem;
33
+ width: 2.5rem;
34
+ height: 2.5rem;
35
+
36
+ i {
37
+ font-size: 1.25rem;
38
+ }
39
+ }
40
+ }
41
+
42
+ .topbar-menu {
43
+ display: flex;
44
+ justify-content: flex-end;
45
+ align-items: center;
46
+ margin: 0;
47
+ padding: 0 1.15rem 0 0.85rem;
48
+ padding-right: 0;
49
+ list-style: none;
50
+ flex-grow: 1;
51
+ margin-right: -2rem;
52
+
53
+ li {
54
+ margin-left: 1.5rem;
55
+
56
+ &.topbar-item {
57
+ margin-left: 1.5rem;
58
+ display: inline-flex;
59
+ flex-shrink: 0;
60
+ align-items: center;
61
+ justify-content: center;
62
+ position: relative;
63
+
64
+ img {
65
+ width: 2rem;
66
+ height: 2rem;
67
+ }
68
+
69
+ button {
70
+ border-radius: 50%;
71
+ width: 2rem;
72
+ height: 2rem;
73
+ transition: box-shadow var(--layout-section-transition-duration);
74
+
75
+ &:focus {
76
+ box-shadow: var(--focus-ring-shadow);
77
+ }
78
+ }
79
+
80
+ ul {
81
+ position: absolute;
82
+ bottom: -9.4rem;
83
+ right: 0;
84
+ display: none;
85
+ color: var(--text-color);
86
+ background: var(--surface-ground);
87
+
88
+ &.active-topbar-menu {
89
+ display: block;
90
+ }
91
+
92
+ a {
93
+ color: var(--text-color);
94
+ }
95
+ }
96
+ }
97
+
98
+ .topbar-search {
99
+ display: flex;
100
+ align-items: center;
101
+ flex-shrink: 0;
102
+
103
+ .topbar-searchbutton {
104
+ display: flex;
105
+ }
106
+
107
+ .search-input-wrapper {
108
+ position: relative;
109
+ width: 0;
110
+ opacity: 0;
111
+ visibility: hidden;
112
+ transition: 400ms cubic-bezier(0.86, 0, 0.07, 1);
113
+
114
+ .p-inputtext {
115
+ width: 100%;
116
+ position: relative;
117
+ border-radius: 40px;
118
+ }
119
+
120
+ span {
121
+ font-size: 18px;
122
+ margin-top: -9px;
123
+ }
124
+ }
125
+
126
+ &.topbar-search-active {
127
+ .topbar-searchbutton {
128
+ opacity: 0;
129
+ display: none;
130
+ pointer-events: none;
131
+ cursor: default;
132
+ transition: opacity 0.1s;
133
+ transition-delay: 0.1s;
134
+ }
135
+
136
+ .search-input-wrapper {
137
+ width: 190px;
138
+ opacity: 1;
139
+ visibility: visible;
140
+ border-radius: var(--border-radius);
141
+
142
+ i {
143
+ display: block;
144
+ }
145
+ input {
146
+ border-radius: var(--border-radius);
147
+ }
148
+ }
149
+ }
150
+ }
151
+ }
152
+
153
+ .config-button {
154
+ position: relative;
155
+
156
+ &::before,
157
+ &::after {
158
+ content: '';
159
+ position: absolute;
160
+ inset: 0;
161
+ border: 1px solid var(--primary-color);
162
+ transition: all 0.5s;
163
+ animation: clippath 10s infinite linear;
164
+ border-radius: 50%;
165
+ opacity: 1;
166
+ }
167
+
168
+ &::after {
169
+ animation: clippath 10s infinite -5s linear;
170
+ }
171
+ }
172
+ }
173
+ }
174
+
175
+ @keyframes clippath {
176
+ 0% {
177
+ clip-path: inset(0 0 98% 0);
178
+ }
179
+ 12.5% {
180
+ clip-path: inset(0 0 60% 0);
181
+ }
182
+ 25% {
183
+ clip-path: inset(0 98% 0 0);
184
+ }
185
+ 37.5% {
186
+ clip-path: inset(0 60% 0 0);
187
+ }
188
+ 50% {
189
+ clip-path: inset(98% 0 0 0);
190
+ }
191
+ 62.5% {
192
+ clip-path: inset(60% 0 0 0);
193
+ }
194
+ 75% {
195
+ clip-path: inset(0 0 0 98%);
196
+ }
197
+ 87.5% {
198
+ clip-path: inset(0 0 0 60%);
199
+ }
200
+ 100% {
201
+ clip-path: inset(0 0 98% 0);
202
+ }
203
+ }
@@ -0,0 +1,29 @@
1
+ .card {
2
+ border-radius: 8px;
3
+ background: var(--surface-card);
4
+ padding: 16px;
5
+ box-sizing: border-box;
6
+ margin-bottom: 16px;
7
+
8
+ .card-header {
9
+ font-weight: 500;
10
+ display: flex;
11
+ align-items: center;
12
+ justify-content: space-between;
13
+ }
14
+
15
+ .card-subtitle {
16
+ color: var(--text-color-secondary);
17
+ font-size: 0.857rem;
18
+ font-weight: 500;
19
+ margin: -1rem 0 1rem 0;
20
+ }
21
+ }
22
+
23
+ .p-toast {
24
+ &.p-toast-top-right,
25
+ &.p-toast-top-left,
26
+ &.p-toast-top-center {
27
+ top: 70px !important;
28
+ }
29
+ }
@@ -0,0 +1,15 @@
1
+ :root {
2
+ --primary-color: var(--p-primary-color);
3
+ --primary-color-text: var(--p-primary-contrast-color);
4
+ --text-color: var(--p-text-color);
5
+ --text-color-secondary: var(--p-text-muted-color);
6
+ --surface-border: var(--p-content-border-color);
7
+ --surface-card: var(--p-content-background);
8
+ --surface-hover: var(--p-content-hover-background);
9
+ --surface-overlay: var(--p-overlay-popover-background);
10
+ --transition-duration: var(--p-transition-duration);
11
+ --maskbg: var(--p-mask-background);
12
+ --border-radius: var(--p-content-border-radius);
13
+ --layout-section-transition-duration: 0.2s;
14
+ --focus-ring-shadow: var(--p-focus-ring-shadow);
15
+ }
@@ -0,0 +1,10 @@
1
+ :root[class*='app-dark'] {
2
+ --surface-ground: var(--p-surface-950);
3
+ --sidebar-shadow: none;
4
+ --sidebar-border: 1px solid var(--surface-border);
5
+ --card-shadow: none;
6
+ --body-bg: var(--p-surface-950);
7
+ --body-image: url('/images/effect-ondark.svg');
8
+ --root-menu-item-hover-bg: rgba(255, 255, 255, 0.05);
9
+ --exception-pages-image: url('/images/pages/exception-ondark.png');
10
+ }
@@ -0,0 +1,10 @@
1
+ :root {
2
+ --surface-ground: var(--p-surface-100);
3
+ --sidebar-shadow: 0px 4px 50px #d9ddfc;
4
+ --sidebar-border: 1px solid transparent;
5
+ --card-shadow: 0px 4px 30px rgba(221, 224, 255, 0.54);
6
+ --body-bg: var(--p-surface-50);
7
+ --body-image: url('/images/effect-onlight.svg');
8
+ --root-menu-item-hover-bg: rgba(68, 72, 109, 0.07);
9
+ --exception-pages-image: url('/images/pages/exception-onlight.png');
10
+ }
@@ -0,0 +1,15 @@
1
+ @import './atlantis/index.css';
2
+ @import './setup/variables.css';
3
+ @import './setup/breakpoints.css';
4
+ @import './setup/dark.css';
5
+ @import './setup/heading.css';
6
+ @import './styles/dialog.css';
7
+ @import './styles/button.css';
8
+ @import './styles/dialog.css';
9
+ @import './styles/footer.css';
10
+ @import './styles/layout.css';
11
+ @import './styles/menu.css';
12
+ @import './styles/sidebar.css';
13
+ @import './styles/toast.css';
14
+ @import './styles/toggleswitch.css';
15
+ @import './styles/topbar.css';
@@ -0,0 +1,14 @@
1
+ @import './setup/variables.css';
2
+ @import './setup/breakpoints.css';
3
+ @import './setup/dark.css';
4
+ @import './setup/heading.css';
5
+ @import './styles/dialog.css';
6
+ @import './styles/button.css';
7
+ @import './styles/dialog.css';
8
+ @import './styles/footer.css';
9
+ @import './styles/layout.css';
10
+ @import './styles/menu.css';
11
+ @import './styles/sidebar.css';
12
+ @import './styles/toast.css';
13
+ @import './styles/toggleswitch.css';
14
+ @import './styles/topbar.css';
@@ -0,0 +1,15 @@
1
+ @theme {
2
+ --breakpoint-sm: 576px;
3
+ --breakpoint-md: 768px;
4
+ --breakpoint-lg: 992px;
5
+ --breakpoint-xl: 1200px;
6
+ --breakpoint-2xl: 1920px;
7
+ }
8
+
9
+ /* media queries */
10
+ @custom-variant media-sm (@media screen and (min-width: 576px));
11
+ @custom-variant media-md (@media screen and (min-width: 768px));
12
+ @custom-variant media-lg (@media screen and (min-width: 992px));
13
+ @custom-variant media-lg-max (@media screen and (max-width: 991px));
14
+ @custom-variant media-xl (@media screen and (min-width: 1200px));
15
+ @custom-variant media-2xl (@media screen and (min-width: 1920px));
@@ -0,0 +1,2 @@
1
+ /* dark theme */
2
+ @custom-variant dark (&:where(.app-dark, .app-dark *));
@@ -0,0 +1,26 @@
1
+ @layer base {
2
+ h1 {
3
+ @apply text-3xl;
4
+ @apply font-bold mb-4 mt-0;
5
+ }
6
+ h2 {
7
+ @apply text-2xl;
8
+ @apply font-bold mb-4 mt-0;
9
+ }
10
+ h3 {
11
+ @apply text-xl;
12
+ @apply font-bold mb-4 mt-0;
13
+ }
14
+ h4 {
15
+ @apply text-lg;
16
+ @apply font-bold mb-4 mt-0;
17
+ }
18
+ h5 {
19
+ @apply text-base;
20
+ @apply font-bold mb-3 mt-0;
21
+ }
22
+ h6 {
23
+ @apply text-base;
24
+ @apply font-bold mb-3 mt-0;
25
+ }
26
+ }
@@ -19,4 +19,13 @@
19
19
  --mng-action-button-margin-x: 0.15rem;
20
20
  --mng-action-button-margin-y: 0.15rem;
21
21
  --mng-tag-secondary-outlined-border: var(--p-content-border-color);
22
+
23
+ --body-image: url('/assets/images/mng/effect-onlight.svg');
24
+ --exception-pages-image: url('/assets/images/mng/pages/exception-onlight.png');
25
+ }
26
+
27
+ :root[class*='app-dark'] {
28
+ --body-image: url('/assets/images/mng/effect-ondark.svg');
29
+ --root-menu-item-hover-bg: rgba(255, 255, 255, 0.05);
30
+ --exception-pages-image: url('/assets/images/mng/pages/exception-ondark.png');
22
31
  }
@@ -5,14 +5,14 @@
5
5
  padding-inline: var(--mng-button-xs-padding-x);
6
6
  }
7
7
 
8
- // double that, just in case
8
+ /*double that, just in case*/
9
9
  &.mng-button-sm {
10
10
  font-size: var(--p-button-sm-font-size);
11
11
  padding-block: var(--p-button-sm-padding-y);
12
12
  padding-inline: var(--p-button-sm-padding-x);
13
13
  }
14
14
 
15
- // double that, just in case
15
+ /*double that, just in case*/
16
16
  &.mng-button-lg {
17
17
  font-size: var(--p-button-lg-font-size);
18
18
  padding-block: var(--p-button-lg-padding-y);
@@ -13,11 +13,15 @@
13
13
  height: 90vh;
14
14
  width: 90vw;
15
15
 
16
- @media (screen(md)) {
16
+ .p-dialog-content {
17
+ flex-grow: 1;
18
+ }
19
+
20
+ @variant media-md {
17
21
  width: 80vw;
18
22
  }
19
23
 
20
- @media (screen(lg)) {
24
+ @variant media-lg {
21
25
  width: 60vw;
22
26
  }
23
27
 
@@ -30,11 +34,11 @@
30
34
  height: 95vh;
31
35
  width: 90vw;
32
36
 
33
- @media (screen(md)) {
37
+ @variant media-md {
34
38
  width: 85vw;
35
39
  }
36
40
 
37
- @media (screen(lg)) {
41
+ @variant media-lg {
38
42
  width: 80vw;
39
43
  }
40
44
  }
@@ -43,15 +47,15 @@
43
47
  width: 90vw;
44
48
  height: 80vh;
45
49
 
46
- @media (screen(sm)) {
50
+ @variant media-sm {
47
51
  width: 80vw;
48
52
  }
49
53
 
50
- @media (screen(md)) {
54
+ @variant media-md {
51
55
  width: 70vw;
52
56
  }
53
57
 
54
- @media (screen(lg)) {
58
+ @variant media-lg {
55
59
  width: 50vw;
56
60
  height: 70vh;
57
61
  }
@@ -61,19 +65,19 @@
61
65
  width: 90vw;
62
66
  height: initial;
63
67
 
64
- @media (screen(sm)) {
68
+ @variant media-sm {
65
69
  width: 70vw;
66
70
  }
67
71
 
68
- @media (screen(md)) {
72
+ @variant media-md {
69
73
  width: 60vw;
70
74
  }
71
75
 
72
- @media (screen(lg)) {
76
+ @variant media-lg {
73
77
  width: 45vw;
74
78
  }
75
79
 
76
- @media (screen(2xl)) {
80
+ @variant media-2xl {
77
81
  width: 30vw;
78
82
  }
79
83
  }
@@ -83,15 +87,15 @@
83
87
  height: initial;
84
88
  max-height: 90vh;
85
89
 
86
- @media (screen(sm)) {
90
+ @variant media-sm {
87
91
  width: 90vw;
88
92
  }
89
93
 
90
- @media (screen(md)) {
94
+ @variant media-md {
91
95
  width: 80vw;
92
96
  }
93
97
 
94
- @media (screen(lg)) {
98
+ @variant media-lg {
95
99
  width: 70vw;
96
100
  }
97
101
  }
@@ -170,25 +174,25 @@
170
174
  border-radius: 0 !important;
171
175
  }
172
176
 
173
- &-info {
177
+ &.mng-message-detail-dialog-info {
174
178
  .p-dialog-header,
175
179
  .p-dialog-content {
176
180
  border-left-color: var(--p-toast-info-color);
177
181
  }
178
182
  }
179
- &-success {
183
+ &.mng-message-detail-dialog-success {
180
184
  .p-dialog-header,
181
185
  .p-dialog-content {
182
186
  border-left-color: var(--p-toast-success-color);
183
187
  }
184
188
  }
185
- &-warn {
189
+ &.mng-message-detail-dialog-warn {
186
190
  .p-dialog-header,
187
191
  .p-dialog-content {
188
192
  border-left-color: var(--p-toast-warn-color);
189
193
  }
190
194
  }
191
- &-error {
195
+ &.mng-message-detail-dialog-error {
192
196
  .p-dialog-header,
193
197
  .p-dialog-content {
194
198
  border-left-color: var(--p-toast-error-color);
@@ -0,0 +1,24 @@
1
+ .layout-topbar .topbar-menu li.topbar-item {
2
+ a {
3
+ display: flex;
4
+ align-items: center;
5
+ }
6
+
7
+ .p-select-list li.p-select-option {
8
+ margin-left: 0;
9
+ }
10
+
11
+ ul {
12
+ padding: 8px 0 8px 0;
13
+ background: var(--surface-card);
14
+ box-shadow: var(--p-overlay-navigation-shadow);
15
+
16
+ & li {
17
+ margin-left: 0;
18
+
19
+ a {
20
+ padding: 10px;
21
+ }
22
+ }
23
+ }
24
+ }
package/version-info.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@mediusinc/mng-commons-layout",
3
- "version": "6.2.1",
4
- "tag": "v6.2.1",
5
- "distance": 0,
6
- "hash": "462a3813",
3
+ "version": "7.0.0-rc.1",
4
+ "tag": "v6.2.0-rc.0",
5
+ "distance": 24,
6
+ "hash": "a9e3e81d",
7
7
  "dirty": true,
8
- "semver": "6.2.1+0.g462a3813.dirty",
8
+ "semver": "6.2.0-rc.0+24.ga9e3e81d.dirty",
9
9
  "buildTimestamp": null,
10
- "raw": "v6.2.1-462a3813-dirty"
10
+ "raw": "v6.2.0-rc.0-24-a9e3e81d-dirty"
11
11
  }
@@ -1,9 +0,0 @@
1
- import { MenuItem } from 'primeng/api';
2
- import * as i0 from "@angular/core";
3
- export declare class BreadcrumbComponent {
4
- private commons;
5
- mappedBreadcrumbs: import("@angular/core").Signal<MenuItem[]>;
6
- private mapMenuItem;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "mng-breadcrumb", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,13 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { LayoutService } from '@mediusinc/mng-commons-layout';
3
- import { CommonsService } from '@mediusinc/mng-commons/core';
4
- import * as i0 from "@angular/core";
5
- export declare class FooterComponent {
6
- private config;
7
- readonly layout: LayoutService;
8
- commons: CommonsService;
9
- currentYear: import("@angular/core").WritableSignal<number>;
10
- versionComponent: import("@angular/core").WritableSignal<Type<any> | undefined>;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "mng-footer", never, {}, {}, never, never, true, never>;
13
- }
@@ -1,23 +0,0 @@
1
- import { OnDestroy, Type } from '@angular/core';
2
- import { LayoutService } from '@mediusinc/mng-commons-layout';
3
- import * as i0 from "@angular/core";
4
- export declare class MainLayoutComponent implements OnDestroy {
5
- private readonly config;
6
- readonly layout: LayoutService;
7
- private readonly menuService;
8
- private readonly renderer;
9
- private appTopbar;
10
- readonly ripple: import("@angular/core").WritableSignal<boolean>;
11
- topbarComponent: import("@angular/core").WritableSignal<Type<any> | undefined>;
12
- breadcrumbsComponent: import("@angular/core").WritableSignal<Type<any> | undefined>;
13
- footerComponent: import("@angular/core").WritableSignal<Type<any> | undefined>;
14
- useNotificationWrapper: import("@angular/core").WritableSignal<boolean>;
15
- private menuOutsideClickListener;
16
- constructor();
17
- blockBodyScroll(): void;
18
- unblockBodyScroll(): void;
19
- hideMenu(): void;
20
- ngOnDestroy(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<MainLayoutComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<MainLayoutComponent, "mng-main-layout", never, {}, {}, never, never, true, never>;
23
- }
@@ -1,26 +0,0 @@
1
- import { AnimationEvent } from '@angular/animations';
2
- import { LayoutService } from '@mediusinc/mng-commons-layout';
3
- import { InternalCommonsMenuItem } from '@mediusinc/mng-commons/core';
4
- import * as i0 from "@angular/core";
5
- export declare class MenuItemComponent {
6
- private readonly menuService;
7
- private readonly permissionService;
8
- readonly layout: LayoutService;
9
- item: import("@angular/core").InputSignal<InternalCommonsMenuItem>;
10
- root: import("@angular/core").InputSignal<boolean>;
11
- visibleChange: import("@angular/core").OutputEmitterRef<boolean>;
12
- private submenuElRef;
13
- isPermitted: import("@angular/core").Signal<boolean | undefined>;
14
- isVisibleFromItemSettings: import("@angular/core").Signal<boolean | undefined>;
15
- private menuChangeEvents;
16
- active: import("@angular/core").Signal<boolean>;
17
- visible: import("@angular/core").Signal<boolean>;
18
- submenuAnimation: import("@angular/core").Signal<"collapsed" | "expanded" | "hidden" | "visible">;
19
- constructor();
20
- itemClick(event: Event): void;
21
- onSubmenuAnimated(event: AnimationEvent): void;
22
- onChildVisibleChange(visible: boolean, item: InternalCommonsMenuItem, idx: number): void;
23
- private calculatePosition;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemComponent, "[mng-menuitem]", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; "root": { "alias": "root"; "required": false; "isSignal": true; }; }, { "visibleChange": "visibleChange"; }, never, never, true, never>;
26
- }
@@ -1,12 +0,0 @@
1
- import { MenuService } from '@mediusinc/mng-commons-layout';
2
- import * as i0 from "@angular/core";
3
- export declare class MenuComponent {
4
- private readonly route;
5
- private readonly config;
6
- private readonly layout;
7
- readonly menuService: MenuService;
8
- routeData: import("@angular/core").Signal<import("@angular/router").Data | undefined>;
9
- constructor();
10
- static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "mng-menu", never, {}, {}, never, never, true, never>;
12
- }
@@ -1,28 +0,0 @@
1
- import { Injector } from '@angular/core';
2
- import { TranslateService } from '@ngx-translate/core';
3
- import { LayoutMenuMode, LayoutService } from '@mediusinc/mng-commons-layout';
4
- import { ColorScheme, CommonsService } from '@mediusinc/mng-commons/core';
5
- import * as i0 from "@angular/core";
6
- interface ColorSchemeOption {
7
- value: ColorScheme;
8
- label: string;
9
- }
10
- export declare class SettingsComponent {
11
- private readonly dynamicDialogConfig;
12
- private readonly dynamicDialogRef;
13
- readonly injector: Injector;
14
- readonly translate: TranslateService;
15
- readonly commons: CommonsService;
16
- readonly layout: LayoutService;
17
- readonly menuModes: LayoutMenuMode[];
18
- colorSchemeOptions: import("@angular/core").WritableSignal<ColorSchemeOption[]>;
19
- constructor();
20
- switchLocale(language: string): void;
21
- switchDataLocale(language: string): void;
22
- onMenuModeChange(mode: LayoutMenuMode): void;
23
- onColorSchemeChange(scheme: ColorScheme): void;
24
- closeDialog(): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<SettingsComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<SettingsComponent, "mng-settings", never, {}, {}, never, never, true, never>;
27
- }
28
- export {};