coer-elements 0.0.27 → 0.0.29
Sign up to get free protection for your applications and to get access to all the features.
- package/components/lib/coer-sidenav/coer-menu-option/coer-menu-option.component.d.ts +22 -0
- package/components/lib/coer-sidenav/coer-sidenav.component.d.ts +41 -0
- package/components/lib/coer-sidenav/coer-toolbar/coer-toolbar.component.d.ts +11 -0
- package/components/lib/coer-sidenav/coer-tree-accordion/coer-tree-accordion.component.d.ts +35 -0
- package/components/lib/components.module.d.ts +28 -20
- package/components/public-api.d.ts +2 -0
- package/esm2022/components/lib/coer-numberbox/coer-numberbox.component.mjs +3 -3
- package/esm2022/components/lib/coer-page-title/coer-page-title.component.mjs +2 -2
- package/esm2022/components/lib/coer-selectbox/coer-selectbox.component.mjs +3 -3
- package/esm2022/components/lib/coer-sidenav/coer-menu-option/coer-menu-option.component.mjs +103 -0
- package/esm2022/components/lib/coer-sidenav/coer-sidenav.component.mjs +193 -0
- package/esm2022/components/lib/coer-sidenav/coer-toolbar/coer-toolbar.component.mjs +33 -0
- package/esm2022/components/lib/coer-sidenav/coer-tree-accordion/coer-tree-accordion.component.mjs +115 -0
- package/esm2022/components/lib/coer-textarea/coer-textarea.component.mjs +3 -3
- package/esm2022/components/lib/coer-textbox/coer-textbox.component.mjs +3 -3
- package/esm2022/components/lib/components.module.mjs +45 -7
- package/esm2022/components/public-api.mjs +3 -1
- package/esm2022/signals/lib/navigation.signal.mjs +3 -0
- package/esm2022/signals/public-api.mjs +2 -2
- package/esm2022/tools/lib/files.class.mjs +3 -3
- package/esm2022/tools/lib/menu.class.mjs +3 -3
- package/fesm2022/coer-elements-components.mjs +474 -20
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-signals.mjs +2 -2
- package/fesm2022/coer-elements-signals.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +4 -4
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/package.json +6 -4
- package/signals/lib/navigation.signal.d.ts +2 -0
- package/signals/public-api.d.ts +1 -1
- package/styles/angular-material.scss +3 -0
- package/styles/coer-elements.css +163 -0
- package/tools/lib/menu.class.d.ts +2 -2
- package/esm2022/signals/lib/menu.signal.mjs +0 -3
- package/signals/lib/menu.signal.d.ts +0 -2
package/styles/coer-elements.css
CHANGED
@@ -22,6 +22,169 @@ input[type=file] {
|
|
22
22
|
}
|
23
23
|
|
24
24
|
/********** COER styles **********/
|
25
|
+
mat-drawer-container {
|
26
|
+
height: calc(100vh - 45px) !important;
|
27
|
+
}
|
28
|
+
mat-drawer-container .margin-left-40px {
|
29
|
+
margin-left: 40px !important;
|
30
|
+
}
|
31
|
+
mat-drawer-container mat-drawer {
|
32
|
+
width: auto;
|
33
|
+
min-width: 200px;
|
34
|
+
background-color: var(--black) !important;
|
35
|
+
z-index: 1 !important;
|
36
|
+
}
|
37
|
+
mat-drawer-container mat-drawer div.mat-drawer-inner-container::-webkit-scrollbar {
|
38
|
+
width: 1px !important;
|
39
|
+
}
|
40
|
+
mat-drawer-container mat-drawer div.mat-drawer-inner-container::-webkit-scrollbar-thumb {
|
41
|
+
background-color: var(--gray) !important;
|
42
|
+
border-radius: 5px !important;
|
43
|
+
}
|
44
|
+
mat-drawer-container mat-drawer div.mat-drawer-inner-container::-webkit-scrollbar-thumb:hover {
|
45
|
+
background-color: var(--gray) !important;
|
46
|
+
}
|
47
|
+
mat-drawer-container mat-drawer div.mat-drawer-inner-container::-webkit-scrollbar-thumb:active {
|
48
|
+
background-color: var(--white) !important;
|
49
|
+
}
|
50
|
+
mat-drawer-container mat-drawer i {
|
51
|
+
font-size: 16px !important;
|
52
|
+
}
|
53
|
+
mat-drawer-container mat-drawer div.separator {
|
54
|
+
border: 0.5px solid rgba(245, 245, 245, 0.041) !important;
|
55
|
+
}
|
56
|
+
mat-drawer-container mat-drawer-content {
|
57
|
+
margin-right: 0px !important;
|
58
|
+
}
|
59
|
+
mat-drawer-container mat-drawer-content aside.side-nav {
|
60
|
+
background-color: var(--black) !important;
|
61
|
+
width: 40px !important;
|
62
|
+
position: fixed !important;
|
63
|
+
left: 0px !important;
|
64
|
+
top: 45px !important;
|
65
|
+
bottom: 0px !important;
|
66
|
+
cursor: pointer !important;
|
67
|
+
}
|
68
|
+
mat-drawer-container mat-drawer-content aside.side-nav span.icon-container {
|
69
|
+
width: 100% !important;
|
70
|
+
height: 49.6px !important;
|
71
|
+
display: flex !important;
|
72
|
+
align-items: center !important;
|
73
|
+
justify-content: center !important;
|
74
|
+
font-size: 16px !important;
|
75
|
+
border-bottom: 1px solid rgba(245, 245, 245, 0.041) !important;
|
76
|
+
color: var(--white);
|
77
|
+
}
|
78
|
+
mat-drawer-container mat-drawer-content aside.side-nav span.icon-container:hover {
|
79
|
+
background-color: #2f2f2f !important;
|
80
|
+
}
|
81
|
+
mat-drawer-container mat-drawer-content aside.side-nav span.icon-container.active-link {
|
82
|
+
color: var(--orange) !important;
|
83
|
+
}
|
84
|
+
mat-drawer-container div.backdrop {
|
85
|
+
position: absolute !important;
|
86
|
+
top: 0px !important;
|
87
|
+
left: 0px !important;
|
88
|
+
right: 0px !important;
|
89
|
+
bottom: 0px !important;
|
90
|
+
background-color: rgba(0, 0, 0, 0.3568627451) !important;
|
91
|
+
z-index: 1500 !important;
|
92
|
+
}
|
93
|
+
|
94
|
+
mat-accordion.coer-tree-accordion div, mat-accordion.coer-tree-accordion span {
|
95
|
+
font-size: 16px !important;
|
96
|
+
font-family: sans-serif !important;
|
97
|
+
font-weight: bold;
|
98
|
+
}
|
99
|
+
mat-accordion.coer-tree-accordion mat-expansion-panel {
|
100
|
+
background-color: var(--black) !important;
|
101
|
+
box-shadow: none !important;
|
102
|
+
border-radius: 0px !important;
|
103
|
+
}
|
104
|
+
mat-accordion.coer-tree-accordion mat-expansion-panel div.mat-expansion-panel-body {
|
105
|
+
padding: 0px !important;
|
106
|
+
}
|
107
|
+
mat-accordion.coer-tree-accordion mat-expansion-panel div.separator {
|
108
|
+
border: 0.5px solid rgba(245, 245, 245, 0.041) !important;
|
109
|
+
}
|
110
|
+
mat-accordion.coer-tree-accordion mat-expansion-panel span::selection {
|
111
|
+
background-color: transparent !important;
|
112
|
+
}
|
113
|
+
mat-accordion.coer-tree-accordion mat-expansion-panel mat-expansion-panel-header {
|
114
|
+
padding: 0px 10px;
|
115
|
+
height: 48px !important;
|
116
|
+
}
|
117
|
+
mat-accordion.coer-tree-accordion mat-expansion-panel mat-expansion-panel-header span.mat-expansion-indicator {
|
118
|
+
width: 10px !important;
|
119
|
+
margin-left: 15px !important;
|
120
|
+
}
|
121
|
+
mat-accordion.coer-tree-accordion mat-expansion-panel mat-expansion-panel-header span.mat-expansion-indicator::after {
|
122
|
+
color: var(--white) !important;
|
123
|
+
}
|
124
|
+
mat-accordion.coer-tree-accordion mat-expansion-panel mat-expansion-panel-header mat-panel-description {
|
125
|
+
margin-right: 0px !important;
|
126
|
+
}
|
127
|
+
mat-accordion.coer-tree-accordion mat-expansion-panel mat-expansion-panel-header mat-panel-description span.icon-container {
|
128
|
+
height: 48px !important;
|
129
|
+
min-width: 20px !important;
|
130
|
+
max-width: 20px !important;
|
131
|
+
display: flex !important;
|
132
|
+
align-items: center !important;
|
133
|
+
justify-content: center !important;
|
134
|
+
color: var(--white);
|
135
|
+
}
|
136
|
+
mat-accordion.coer-tree-accordion mat-expansion-panel mat-expansion-panel-header mat-panel-description span.label-container {
|
137
|
+
height: 48px !important;
|
138
|
+
margin-left: 10px !important;
|
139
|
+
display: flex !important;
|
140
|
+
align-items: center !important;
|
141
|
+
color: var(--white);
|
142
|
+
}
|
143
|
+
mat-accordion.coer-tree-accordion mat-expansion-panel mat-expansion-panel-header.text-orange span.mat-expansion-indicator::after {
|
144
|
+
color: var(--orange) !important;
|
145
|
+
}
|
146
|
+
mat-accordion.coer-tree-accordion mat-expansion-panel mat-expansion-panel-header:not(.background-orange):hover {
|
147
|
+
background-color: #2f2f2f !important;
|
148
|
+
}
|
149
|
+
|
150
|
+
mat-nav-list.coer-menu-option {
|
151
|
+
padding: 0px !important;
|
152
|
+
}
|
153
|
+
mat-nav-list.coer-menu-option div, mat-nav-list.coer-menu-option span {
|
154
|
+
font-size: 16px !important;
|
155
|
+
font-family: sans-serif !important;
|
156
|
+
font-weight: bold;
|
157
|
+
}
|
158
|
+
mat-nav-list.coer-menu-option mat-list-item {
|
159
|
+
padding: 0px 35px 0px 10px !important;
|
160
|
+
display: inline-flex !important;
|
161
|
+
height: 48px !important;
|
162
|
+
color: var(--white);
|
163
|
+
}
|
164
|
+
mat-nav-list.coer-menu-option mat-list-item span.icon-container {
|
165
|
+
display: inline-flex !important;
|
166
|
+
align-items: center !important;
|
167
|
+
justify-content: center !important;
|
168
|
+
height: 48px !important;
|
169
|
+
min-width: 20px !important;
|
170
|
+
max-width: 20px !important;
|
171
|
+
color: var(--white);
|
172
|
+
}
|
173
|
+
mat-nav-list.coer-menu-option mat-list-item span.label-container {
|
174
|
+
justify-content: flex-start !important;
|
175
|
+
display: inline-flex !important;
|
176
|
+
height: auto !important;
|
177
|
+
margin-left: 10px !important;
|
178
|
+
color: var(--white);
|
179
|
+
}
|
180
|
+
mat-nav-list.coer-menu-option mat-list-item span.icon-container.active-link,
|
181
|
+
mat-nav-list.coer-menu-option mat-list-item span.label-container.active-link {
|
182
|
+
color: var(--orange) !important;
|
183
|
+
}
|
184
|
+
mat-nav-list.coer-menu-option mat-list-item:hover {
|
185
|
+
background-color: #2f2f2f !important;
|
186
|
+
}
|
187
|
+
|
25
188
|
* {
|
26
189
|
--blue: #0d6efd;
|
27
190
|
--gray: #6c757d;
|
@@ -2,7 +2,7 @@ import { IMenuOptionSelected } from "coer-elements/interfaces";
|
|
2
2
|
export declare class Menu {
|
3
3
|
private static readonly storage;
|
4
4
|
/** */
|
5
|
-
static
|
5
|
+
static SetSelectedOption(menu: IMenuOptionSelected): void;
|
6
6
|
/** */
|
7
|
-
static
|
7
|
+
static GetSelectedOption(): IMenuOptionSelected | null;
|
8
8
|
}
|
@@ -1,3 +0,0 @@
|
|
1
|
-
import { signal } from "@angular/core";
|
2
|
-
export const menuSIGNAL = signal([]);
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS5zaWduYWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb2VyLWVsZW1lbnRzL3NpZ25hbHMvbGliL21lbnUuc2lnbmFsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFdkMsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHLE1BQU0sQ0FBVSxFQUFFLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHNpZ25hbCB9IGZyb20gXCJAYW5ndWxhci9jb3JlXCI7XHJcbmltcG9ydCB7IElNZW51IH0gZnJvbSBcImNvZXItZWxlbWVudHMvaW50ZXJmYWNlc1wiO1xyXG5leHBvcnQgY29uc3QgbWVudVNJR05BTCA9IHNpZ25hbDxJTWVudVtdPihbXSk7Il19
|