ontimize-web-ngx 15.0.0-beta.2 → 15.0.0-beta.4
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/app-sidenav/o-app-sidenav.component.mjs +2 -2
- package/esm2020/lib/components/contextmenu/context-menu/o-wrapper-content-menu/o-wrapper-content-menu.component.mjs +3 -3
- package/esm2020/lib/components/dual-list-selector/o-dual-list-selector.component.mjs +3 -3
- package/esm2020/lib/components/grid/o-grid.component.mjs +5 -5
- package/esm2020/lib/components/input/combo/o-combo.component.mjs +2 -2
- package/esm2020/lib/components/input/currency-input/o-currency-input.component.mjs +3 -11
- package/esm2020/lib/components/input/phone-input/o-phone-input.component.mjs +3 -3
- package/esm2020/lib/components/input/search-input/o-search-input.component.mjs +2 -2
- package/esm2020/lib/components/list/list-item/o-list-item.component.mjs +2 -2
- package/esm2020/lib/components/list/o-list.component.mjs +5 -14
- package/esm2020/lib/components/list/renderers/card/o-list-item-card.component.mjs +3 -3
- package/esm2020/lib/components/list/renderers/card-image/o-list-item-card-image.component.mjs +3 -3
- package/esm2020/lib/components/table/extensions/dialog/apply-configuration/o-table-apply-configuration-dialog.component.mjs +3 -3
- package/esm2020/lib/components/table/extensions/dialog/filter-by-column/o-table-filter-by-column-data-dialog.component.mjs +2 -2
- package/esm2020/lib/components/table/extensions/dialog/store-configuration/o-table-store-configuration-dialog.component.mjs +3 -3
- package/esm2020/lib/components/table/extensions/dialog/visible-columns/o-table-visible-columns-dialog.component.mjs +3 -3
- package/esm2020/lib/components/table/extensions/header/table-menu/o-table-menu.component.mjs +3 -3
- package/esm2020/lib/components/table/extensions/header/table-quickfilter/o-table-quickfilter.component.mjs +3 -3
- package/esm2020/lib/components/table/o-table.component.mjs +8 -8
- package/esm2020/lib/i18n/i18n.mjs +2 -2
- package/esm2020/lib/layouts/form-layout/tabgroup/o-form-layout-tabgroup.component.mjs +2 -2
- package/esm2020/lib/services/local-storage.service.mjs +5 -2
- package/esm2020/lib/shared/components/filter/load-filter/o-load-filter-dialog.component.mjs +3 -3
- package/esm2020/lib/util/currencyUtil.mjs +53 -0
- package/esm2020/lib/util/index.mjs +2 -1
- package/fesm2015/ontimize-web-ngx.mjs +109 -70
- package/fesm2015/ontimize-web-ngx.mjs.map +1 -1
- package/fesm2020/ontimize-web-ngx.mjs +108 -70
- package/fesm2020/ontimize-web-ngx.mjs.map +1 -1
- package/lib/components/input/currency-input/o-currency-input.component.d.ts +7 -0
- package/lib/components/list/o-list.component.d.ts +1 -3
- package/lib/util/currencyUtil.d.ts +41 -0
- package/lib/util/index.d.ts +1 -0
- package/ontimize.scss +2 -72
- package/package.json +1 -1
- package/theme.scss +147 -163
- package/theming/addons/report-on-demand.scss +5 -1
- package/theming/ontimize-style-v8.scss +3 -2
- package/theming/styles/density.scss +52 -23
- package/theming/styles/ontimize-v8/o-form-field-style.scss +3 -2
- package/theming/styles/ontimize-v8/o-table-style.scss +1 -1
|
@@ -5,6 +5,13 @@ export declare const DEFAULT_INPUTS_O_CURRENCY_INPUT: string[];
|
|
|
5
5
|
export declare class OCurrencyInputComponent extends ORealInputComponent implements OnInit {
|
|
6
6
|
static currency_icons: string[];
|
|
7
7
|
currency_symbols: {
|
|
8
|
+
EUR: string;
|
|
9
|
+
USD: string;
|
|
10
|
+
BRL: string;
|
|
11
|
+
JPY: string;
|
|
12
|
+
CNY: string;
|
|
13
|
+
RUB: string;
|
|
14
|
+
AED: string;
|
|
8
15
|
CRC: string;
|
|
9
16
|
NGN: string;
|
|
10
17
|
PHP: string;
|
|
@@ -20,7 +20,6 @@ export declare class OListComponent extends AbstractOServiceComponent<OListCompo
|
|
|
20
20
|
listItemDirectives: QueryList<OListItemDirective>;
|
|
21
21
|
refreshButton: boolean;
|
|
22
22
|
selectable: boolean;
|
|
23
|
-
odense: boolean;
|
|
24
23
|
deleteButton: boolean;
|
|
25
24
|
insertButtonFloatable: boolean;
|
|
26
25
|
showButtonsText: boolean;
|
|
@@ -52,7 +51,6 @@ export declare class OListComponent extends AbstractOServiceComponent<OListCompo
|
|
|
52
51
|
getComponentKey(): string;
|
|
53
52
|
initialize(): void;
|
|
54
53
|
reinitialize(options: OListInitializationOptions): void;
|
|
55
|
-
getDense(): boolean;
|
|
56
54
|
onListItemClicked(onNext: (item: OListItemDirective) => void): object;
|
|
57
55
|
onItemDetailClick(item: OListItemDirective | ListItem): void;
|
|
58
56
|
onItemDetailDoubleClick(item: OListItemDirective | ListItem): void;
|
|
@@ -75,5 +73,5 @@ export declare class OListComponent extends AbstractOServiceComponent<OListCompo
|
|
|
75
73
|
updateSelectedItems(): void;
|
|
76
74
|
getSqlTypes(): any;
|
|
77
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<OListComponent, [null, null, { optional: true; }]>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OListComponent, "o-list", never, { "quickFilterColumns": "quick-filter-columns"; "refreshButton": "refresh-button"; "route": "route"; "selectable": "selectable"; "
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OListComponent, "o-list", never, { "quickFilterColumns": "quick-filter-columns"; "refreshButton": "refresh-button"; "route": "route"; "selectable": "selectable"; "deleteButton": "delete-button"; "sortColumns": "sort-columns"; "insertButtonPosition": "insert-button-position"; "insertButtonFloatable": "insert-button-floatable"; "showButtonsText": "show-buttons-text"; "keysSqlTypes": "keys-sql-types"; }, { "onInsertButtonClick": "onInsertButtonClick"; "onItemDeleted": "onItemDeleted"; }, ["listItemDirectives"], ["[o-list-toolbar][position=start]", "[o-list-toolbar][position=end]", "[o-list-toolbar]", "*"], false, never>;
|
|
79
77
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare class CurrencyUtil {
|
|
2
|
+
static languageToCurrencyCode: {
|
|
3
|
+
es: string;
|
|
4
|
+
en: string;
|
|
5
|
+
pt: string;
|
|
6
|
+
fr: string;
|
|
7
|
+
de: string;
|
|
8
|
+
it: string;
|
|
9
|
+
ja: string;
|
|
10
|
+
zh: string;
|
|
11
|
+
ru: string;
|
|
12
|
+
ar: string;
|
|
13
|
+
cr: string;
|
|
14
|
+
ng: string;
|
|
15
|
+
ph: string;
|
|
16
|
+
pl: string;
|
|
17
|
+
py: string;
|
|
18
|
+
th: string;
|
|
19
|
+
ua: string;
|
|
20
|
+
vn: string;
|
|
21
|
+
};
|
|
22
|
+
static currencyCodeToSymbol: {
|
|
23
|
+
EUR: string;
|
|
24
|
+
USD: string;
|
|
25
|
+
BRL: string;
|
|
26
|
+
JPY: string;
|
|
27
|
+
CNY: string;
|
|
28
|
+
RUB: string;
|
|
29
|
+
AED: string;
|
|
30
|
+
CRC: string;
|
|
31
|
+
NGN: string;
|
|
32
|
+
PHP: string;
|
|
33
|
+
PLN: string;
|
|
34
|
+
PYG: string;
|
|
35
|
+
THB: string;
|
|
36
|
+
UAH: string;
|
|
37
|
+
VND: string;
|
|
38
|
+
};
|
|
39
|
+
static getCurrencyCode(language: string): string;
|
|
40
|
+
static getCurrencyCodeFromSymbol(symbol: string): string | undefined;
|
|
41
|
+
}
|
package/lib/util/index.d.ts
CHANGED
package/ontimize.scss
CHANGED
|
@@ -874,67 +874,6 @@ $mat-stroked-button-line-height: $mat-button-line-height - 2;
|
|
|
874
874
|
}
|
|
875
875
|
}
|
|
876
876
|
|
|
877
|
-
.mat-mdc-list-base {
|
|
878
|
-
|
|
879
|
-
&[dense] {
|
|
880
|
-
.mat-mdc-list-item {
|
|
881
|
-
min-height: 30px;
|
|
882
|
-
height: auto;
|
|
883
|
-
display: flex;
|
|
884
|
-
padding: 0 8px;
|
|
885
|
-
|
|
886
|
-
.mdc-list-item__content,
|
|
887
|
-
.mat-mdc-list-item-meta {
|
|
888
|
-
width: 100%;
|
|
889
|
-
align-self: center;
|
|
890
|
-
|
|
891
|
-
.mat-mdc-list-item-icon {
|
|
892
|
-
margin-top: 0;
|
|
893
|
-
padding: 4px;
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
.mdc-list-item__first-text,
|
|
897
|
-
.mdc-list-item__secondary-text {
|
|
898
|
-
&::before {
|
|
899
|
-
display: flex;
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
.mdc-list-item__secondary-text {
|
|
904
|
-
padding: 0 8px;
|
|
905
|
-
|
|
906
|
-
&::before {
|
|
907
|
-
height: auto;
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
&.mat-mdc-selection-list[dense] {
|
|
917
|
-
overflow: auto;
|
|
918
|
-
outline: none;
|
|
919
|
-
padding-top: 0;
|
|
920
|
-
min-height: 40px;
|
|
921
|
-
|
|
922
|
-
.mat-mdc-list-item {
|
|
923
|
-
margin: 6px 0;
|
|
924
|
-
border-radius: 4px;
|
|
925
|
-
cursor: default;
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
.mdc-list-item__start {
|
|
929
|
-
margin-top: 0;
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
p {
|
|
934
|
-
white-space: normal;
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
}
|
|
938
877
|
}
|
|
939
878
|
|
|
940
879
|
.mat-mdc-dialog-actions {
|
|
@@ -1013,7 +952,7 @@ button.mat-mdc-button-base {
|
|
|
1013
952
|
height: $mat-button-line-height;
|
|
1014
953
|
}
|
|
1015
954
|
|
|
1016
|
-
>.mat-icon{
|
|
955
|
+
>.mat-icon {
|
|
1017
956
|
line-height: 1;
|
|
1018
957
|
}
|
|
1019
958
|
}
|
|
@@ -1036,15 +975,6 @@ button.mat-mdc-button-base {
|
|
|
1036
975
|
}
|
|
1037
976
|
}
|
|
1038
977
|
|
|
1039
|
-
.o-table-apply-configuration-dialog-list.mat-mdc-selection-list.mat-mdc-list-base[dense],
|
|
1040
|
-
.o-table-load-filter-dialog-list.mat-mdc-list-base[dense] {
|
|
1041
|
-
|
|
1042
|
-
.o-table-apply-configuration-dialog-list-title,
|
|
1043
|
-
.o-table-load-filter-dialog-list-title {
|
|
1044
|
-
font-weight: bold;
|
|
1045
|
-
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
978
|
|
|
1049
979
|
|
|
1050
980
|
|
|
@@ -1059,4 +989,4 @@ button.mat-mdc-button-base {
|
|
|
1059
989
|
|
|
1060
990
|
.overlay-ref-display-none .cdk-overlay-pane.o-context-menu {
|
|
1061
991
|
display: none;
|
|
1062
|
-
}
|
|
992
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ontimize-web-ngx",
|
|
3
3
|
"homepage": "https://github.com/OntimizeWeb/ontimize-web-ngx#readme",
|
|
4
|
-
"version": "15.0.0-beta.
|
|
4
|
+
"version": "15.0.0-beta.4",
|
|
5
5
|
"description": "Ontimize Web framework using Angular 15",
|
|
6
6
|
"bugs": "https://github.com/OntimizeWeb/ontimize-web-ngx/issues",
|
|
7
7
|
"author": "Imatia S.L.",
|
package/theme.scss
CHANGED
|
@@ -73,7 +73,74 @@
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
}@mixin o-
|
|
76
|
+
}@mixin o-bar-menu-theme($theme-or-color-config) {
|
|
77
|
+
$theme: map.get($theme-or-color-config, color);
|
|
78
|
+
$primary: map.get($theme, primary);
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
$bg-color: #FFF;
|
|
82
|
+
$fg-color: rgba(0, 0, 0, 0.7);
|
|
83
|
+
|
|
84
|
+
$item-bg-color-hover-dark: rgba(0, 0, 0, 0.16);
|
|
85
|
+
$item-bg-color-hover-light: rgba(255, 255, 255, 0.16);
|
|
86
|
+
|
|
87
|
+
.o-bar-menu {
|
|
88
|
+
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
|
|
89
|
+
|
|
90
|
+
nav {
|
|
91
|
+
.fake-ul {
|
|
92
|
+
.fake-ul {
|
|
93
|
+
background-color: $bg-color;
|
|
94
|
+
|
|
95
|
+
.mat-icon,
|
|
96
|
+
.o-bar-menu-group-title,
|
|
97
|
+
.o-bar-menu-item-title,
|
|
98
|
+
label.toggle {
|
|
99
|
+
color: $fg-color;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.fake-li {
|
|
103
|
+
background-color: $bg-color;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
a {
|
|
109
|
+
color: $bg-color;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@media all and (min-width : 768px) {
|
|
114
|
+
nav .fake-ul {
|
|
115
|
+
.fake-li .fake-ul .fake-li-hover {
|
|
116
|
+
background: $item-bg-color-hover-dark;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.fake-li-hover {
|
|
120
|
+
background-color: $item-bg-color-hover-light;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@media all and (max-width : 767px) {
|
|
126
|
+
nav {
|
|
127
|
+
a:hover {
|
|
128
|
+
background-color: rgba(255, 255, 255, 0.15);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.fake-ul {
|
|
132
|
+
border-top: 1px solid rgba(255, 255, 255, 0.5);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.toggle {
|
|
137
|
+
&:hover {
|
|
138
|
+
background-color: rgba(255, 255, 255, 0.15);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}@mixin o-app-sidenav-theme($theme-or-color-config) {
|
|
77
144
|
$theme: map.get($theme-or-color-config, color);
|
|
78
145
|
$primary: map.get($theme, primary);
|
|
79
146
|
$accent: map.get($theme, accent);
|
|
@@ -149,74 +216,7 @@
|
|
|
149
216
|
}
|
|
150
217
|
}
|
|
151
218
|
}
|
|
152
|
-
}@mixin o-
|
|
153
|
-
$theme: map.get($theme-or-color-config, color);
|
|
154
|
-
$primary: map.get($theme, primary);
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
$bg-color: #FFF;
|
|
158
|
-
$fg-color: rgba(0, 0, 0, 0.7);
|
|
159
|
-
|
|
160
|
-
$item-bg-color-hover-dark: rgba(0, 0, 0, 0.16);
|
|
161
|
-
$item-bg-color-hover-light: rgba(255, 255, 255, 0.16);
|
|
162
|
-
|
|
163
|
-
.o-bar-menu {
|
|
164
|
-
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
|
|
165
|
-
|
|
166
|
-
nav {
|
|
167
|
-
.fake-ul {
|
|
168
|
-
.fake-ul {
|
|
169
|
-
background-color: $bg-color;
|
|
170
|
-
|
|
171
|
-
.mat-icon,
|
|
172
|
-
.o-bar-menu-group-title,
|
|
173
|
-
.o-bar-menu-item-title,
|
|
174
|
-
label.toggle {
|
|
175
|
-
color: $fg-color;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.fake-li {
|
|
179
|
-
background-color: $bg-color;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
a {
|
|
185
|
-
color: $bg-color;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
@media all and (min-width : 768px) {
|
|
190
|
-
nav .fake-ul {
|
|
191
|
-
.fake-li .fake-ul .fake-li-hover {
|
|
192
|
-
background: $item-bg-color-hover-dark;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.fake-li-hover {
|
|
196
|
-
background-color: $item-bg-color-hover-light;
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
@media all and (max-width : 767px) {
|
|
202
|
-
nav {
|
|
203
|
-
a:hover {
|
|
204
|
-
background-color: rgba(255, 255, 255, 0.15);
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.fake-ul {
|
|
208
|
-
border-top: 1px solid rgba(255, 255, 255, 0.5);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.toggle {
|
|
213
|
-
&:hover {
|
|
214
|
-
background-color: rgba(255, 255, 255, 0.15);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}@mixin o-breadcrumb-theme($theme-or-color-config) {
|
|
219
|
+
}@mixin o-breadcrumb-theme($theme-or-color-config) {
|
|
220
220
|
$theme: map.get($theme-or-color-config, color);
|
|
221
221
|
$primary: map.get($theme, primary);
|
|
222
222
|
$accent: map.get($theme, accent);
|
|
@@ -374,7 +374,10 @@
|
|
|
374
374
|
|
|
375
375
|
&[aria-selected="true"] {
|
|
376
376
|
background-color: mat.get-color-from-palette($primary, 100);
|
|
377
|
-
|
|
377
|
+
|
|
378
|
+
.mdc-list-item__secondary-text {
|
|
379
|
+
color: if($is-dark-theme, #121212, mat.get-color-from-palette($foreground, text));
|
|
380
|
+
}
|
|
378
381
|
}
|
|
379
382
|
}
|
|
380
383
|
|
|
@@ -681,16 +684,18 @@
|
|
|
681
684
|
.mat-mdc-dialog-container {
|
|
682
685
|
.mat-mdc-dialog-title {
|
|
683
686
|
border-bottom: 1px solid mat.get-color-from-palette($primary);
|
|
687
|
+
|
|
684
688
|
.mat-icon {
|
|
685
689
|
color: mat.get-color-from-palette($primary);
|
|
686
690
|
}
|
|
687
691
|
}
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
+
|
|
693
|
+
@if($typography) {
|
|
694
|
+
.mat-mdc-dialog-title {
|
|
695
|
+
line-height: mat.font-size($typography, subtitle-1);
|
|
696
|
+
font-size: mat.font-size($typography, subtitle-1);
|
|
697
|
+
}
|
|
692
698
|
}
|
|
693
|
-
}
|
|
694
699
|
|
|
695
700
|
|
|
696
701
|
.empty-filter-list {
|
|
@@ -709,117 +714,103 @@
|
|
|
709
714
|
|
|
710
715
|
}
|
|
711
716
|
|
|
712
|
-
.mdc-list[dense],
|
|
713
|
-
.mat-mdc-selection-list[dense] {
|
|
714
|
-
outline: none;
|
|
715
|
-
|
|
716
|
-
.mat-mdc-list-option-checkbox-before {
|
|
717
|
-
display: flex;
|
|
718
|
-
align-items: center;
|
|
719
|
-
padding-right: 0px;
|
|
720
|
-
margin-right: 0px;
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
}
|
|
725
717
|
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
718
|
+
.mdc-list {
|
|
719
|
+
padding: 0;
|
|
720
|
+
@include mat.list-density(-2);
|
|
729
721
|
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
.mat-mdc-list-item-line:nth-child(n+2) {
|
|
736
|
-
font-size: mat.font-size($typography, caption);
|
|
737
|
-
}
|
|
722
|
+
.mat-mdc-list-item.mdc-list-item {
|
|
723
|
+
margin: 6px 0;
|
|
724
|
+
border-radius: 4px;
|
|
738
725
|
|
|
726
|
+
&.mdc-list-item--with-leading-checkbox .mdc-list-item__start {
|
|
727
|
+
margin-right: 8px;
|
|
739
728
|
}
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
}
|
|
746
729
|
|
|
730
|
+
&.mdc-list-item--with-one-line,
|
|
731
|
+
&.mdc-list-item--with-two-lines,
|
|
732
|
+
&.mdc-list-item--with-three-lines {
|
|
733
|
+
height: auto;
|
|
734
|
+
min-height: 30px;
|
|
747
735
|
|
|
748
|
-
|
|
749
|
-
.mat-mdc-list[dense] {
|
|
750
|
-
.mat-mdc-list-item {
|
|
751
|
-
height: auto;
|
|
752
|
-
|
|
753
|
-
&.mdc-list-item--with-three-lines {
|
|
754
|
-
height: 76px;
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
&.mdc-list-item--with-two-lines {
|
|
758
|
-
height: 60px;
|
|
759
|
-
}
|
|
736
|
+
}
|
|
760
737
|
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
738
|
+
.mdc-list-item__content {
|
|
739
|
+
display: table;
|
|
740
|
+
align-self: center;
|
|
741
|
+
width: 100%;
|
|
764
742
|
|
|
765
743
|
|
|
744
|
+
.mdc-list-item__secondary-text,
|
|
745
|
+
.mdc-list-item__primary-text {
|
|
746
|
+
margin-bottom: 0;
|
|
747
|
+
align-self: center;
|
|
748
|
+
vertical-align: middle;
|
|
766
749
|
|
|
750
|
+
&::before,
|
|
751
|
+
&::after {
|
|
752
|
+
content: none;
|
|
753
|
+
}
|
|
767
754
|
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
755
|
+
&.mat-mdc-list-item-unscoped-content {
|
|
756
|
+
display: table-cell;
|
|
757
|
+
vertical-align: middle;
|
|
758
|
+
width: 100%;
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
}
|
|
771
762
|
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
763
|
+
.mdc-list-item__start {
|
|
764
|
+
align-self: center;
|
|
765
|
+
margin-top: 0;
|
|
766
|
+
}
|
|
776
767
|
|
|
777
|
-
|
|
778
|
-
font-size: mat.font-size($typography, caption);
|
|
768
|
+
}
|
|
779
769
|
}
|
|
780
770
|
|
|
781
771
|
}
|
|
782
772
|
}
|
|
783
773
|
}
|
|
784
774
|
|
|
775
|
+
|
|
776
|
+
|
|
785
777
|
/*global styles about drag/drop in dialogs table*/
|
|
786
778
|
.cdk-drag-preview,
|
|
787
779
|
.cdk-drag-dragging {
|
|
788
|
-
width: 100%;
|
|
789
|
-
display: block;
|
|
790
780
|
|
|
791
|
-
|
|
792
|
-
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
793
|
-
box-sizing: border-box;
|
|
794
|
-
border-radius: 2px;
|
|
781
|
+
&.mdc-list-item.mat-mdc-list-item {
|
|
795
782
|
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
}
|
|
783
|
+
background-color: mat.get-color-from-palette($background, background);
|
|
784
|
+
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
785
|
+
box-sizing: border-box;
|
|
786
|
+
border-radius: 2px;
|
|
801
787
|
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
flex-direction: row;
|
|
807
|
-
align-items: center;
|
|
808
|
-
//background-color: mat.get-color-from-palette($background, background);
|
|
809
|
-
//display: flex;
|
|
810
|
-
//box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
811
|
-
//box-sizing: border-box;
|
|
812
|
-
// border-radius: 2px;
|
|
788
|
+
.mdc-list-item__secondary-text,
|
|
789
|
+
.mdc-list-item__primary-text {
|
|
790
|
+
padding: 0 8px;
|
|
791
|
+
width: 100%;
|
|
813
792
|
|
|
814
|
-
|
|
815
|
-
|
|
793
|
+
&::before,
|
|
794
|
+
&::after {
|
|
795
|
+
content: none;
|
|
796
|
+
}
|
|
816
797
|
}
|
|
817
798
|
|
|
818
|
-
.
|
|
819
|
-
|
|
820
|
-
|
|
799
|
+
.mdc-list-item__start {
|
|
800
|
+
align-self: center;
|
|
801
|
+
margin-top: 0;
|
|
802
|
+
margin-right: 8px;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
.mdc-list-item__secondary-text {
|
|
806
|
+
color: mat.get-color-from-palette($foreground, icon);
|
|
807
|
+
|
|
808
|
+
@if($typography) {
|
|
809
|
+
font-size: mat.font-size($typography, body-1);
|
|
810
|
+
}
|
|
821
811
|
}
|
|
822
812
|
}
|
|
813
|
+
|
|
823
814
|
}
|
|
824
815
|
|
|
825
816
|
.cdk-drop-list-dragging .o-drag-list-item-box:not(.cdk-drag-placeholder) {
|
|
@@ -990,13 +981,6 @@
|
|
|
990
981
|
}
|
|
991
982
|
|
|
992
983
|
}
|
|
993
|
-
|
|
994
|
-
/*MAT MENU*/
|
|
995
|
-
.o-mat-menu.mat-mdc-menu-panel {
|
|
996
|
-
min-height: auto;
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
|
|
1000
984
|
}// Layout-padding-xxx & Layout-margin-xxxx
|
|
1001
985
|
// ------------------------------
|
|
1002
986
|
$baseline-grid: 8px !default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
|
-
@use '@angular/material'as mat;
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
3
|
|
|
4
4
|
@mixin report-on-demand($theme-or-color-config) {
|
|
5
5
|
$theme: map.get($theme-or-color-config, color);
|
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
|
|
8
8
|
.report-on-demand-sidenav {
|
|
9
9
|
.mat-expansion-panel {
|
|
10
|
+
border: 1px solid mat.get-color-from-palette($background, background);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.mat-expansion-panel-header {
|
|
10
14
|
background-color: mat.get-color-from-palette($background, background);
|
|
11
15
|
}
|
|
12
16
|
}
|
|
@@ -68,7 +68,7 @@ $app-background-color: #eaeaea;
|
|
|
68
68
|
@mixin ontimize-theme-styles($theme-or-color-config) {
|
|
69
69
|
|
|
70
70
|
$theme: map.get($theme-or-color-config, color);
|
|
71
|
-
|
|
71
|
+
$typography: mat.get-typography-config($theme-or-color-config);
|
|
72
72
|
$primary: map.get($theme, primary);
|
|
73
73
|
$accent: map.get($theme, accent);
|
|
74
74
|
$background: map.get($theme, background);
|
|
@@ -86,9 +86,10 @@ $app-background-color: #eaeaea;
|
|
|
86
86
|
|
|
87
87
|
@include theme.o-material-theme($theme-or-color-config);
|
|
88
88
|
@include layout.layout-padding-margin();
|
|
89
|
-
@include o-density.checkbox(
|
|
89
|
+
@include o-density.checkbox();
|
|
90
90
|
@include o-density.list();
|
|
91
91
|
@include o-density.radio();
|
|
92
|
+
@include o-density.menu($typography);
|
|
92
93
|
@include o-table-style.o-table-style($theme-or-color-config);
|
|
93
94
|
@include report-on-demand.report-on-demand($theme-or-color-config);
|
|
94
95
|
@include charts-on-demand.o-chart-on-demand($theme-or-color-config);
|