@porscheinformatik/material-addons 0.0.34 → 0.0.99
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/README.md +29 -29
- package/esm2022/lib/button/button.mjs +7 -0
- package/esm2022/lib/button/button.module.mjs +26 -0
- package/esm2022/lib/button/danger-button/danger-button.component.mjs +28 -0
- package/esm2022/lib/button/flat-button/link-button.component.mjs +28 -0
- package/esm2022/lib/button/icon-button/icon-button.component.mjs +28 -0
- package/esm2022/lib/button/mad-basic-button.mjs +39 -0
- package/esm2022/lib/button/outline-button/outline-button.component.mjs +28 -0
- package/esm2022/lib/button/primary-button/primary-button.component.mjs +28 -0
- package/esm2022/lib/card/card.component.mjs +129 -0
- package/esm2022/lib/card/card.mjs +2 -0
- package/esm2022/lib/card/card.module.mjs +23 -0
- package/esm2022/lib/content-panel/content-header/content-header.component.mjs +11 -0
- package/esm2022/lib/content-panel/content-panel-container/content-panel-container.component.mjs +11 -0
- package/esm2022/lib/content-panel/content-panel-container-content/content-panel-container-content.component.mjs +11 -0
- package/esm2022/lib/content-panel/content-panel-container-footer/content-panel-container-footer.component.mjs +11 -0
- package/esm2022/lib/content-panel/content-panel.module.mjs +42 -0
- package/esm2022/lib/content-panel/main-container/main-container.component.mjs +11 -0
- package/esm2022/lib/data-table/data-table-action-type.mjs +6 -0
- package/esm2022/lib/data-table/data-table-action.mjs +2 -0
- package/esm2022/lib/data-table/data-table-column-definition.mjs +2 -0
- package/esm2022/lib/data-table/data-table-column.mjs +2 -0
- package/esm2022/lib/data-table/data-table-columns-modal/data-table-columns-modal.component.mjs +103 -0
- package/esm2022/lib/data-table/data-table-row.mjs +2 -0
- package/esm2022/lib/data-table/data-table.component.mjs +529 -0
- package/esm2022/lib/data-table/data-table.mjs +3 -0
- package/esm2022/lib/data-table/data-table.module.mjs +81 -0
- package/esm2022/lib/file-upload/drag-and-drop-directive.directive.mjs +61 -0
- package/esm2022/lib/file-upload/file-upload.component.mjs +78 -0
- package/esm2022/lib/flowbar/flowbar.component.mjs +190 -0
- package/esm2022/lib/flowbar/flowbar.module.mjs +19 -0
- package/esm2022/lib/material-action-button/material-action-button.component.mjs +34 -0
- package/esm2022/lib/material-action-button/material-action-button.module.mjs +22 -0
- package/esm2022/lib/material-addons.module.mjs +45 -0
- package/esm2022/lib/numeric-field/number-format.service.mjs +139 -0
- package/esm2022/lib/numeric-field/numeric-field.directive.mjs +295 -0
- package/esm2022/lib/numeric-field/numeric-field.mjs +2 -0
- package/esm2022/lib/numeric-field/numeric-field.module.mjs +24 -0
- package/esm2022/lib/quick-list/base-quick-list.component.mjs +124 -0
- package/esm2022/lib/quick-list/quick-list-compact/quick-list-compact.component.mjs +22 -0
- package/esm2022/lib/quick-list/quick-list.component.mjs +23 -0
- package/esm2022/lib/quick-list/quick-list.mjs +6 -0
- package/esm2022/lib/quick-list/quick-list.module.mjs +46 -0
- package/esm2022/lib/quick-list/reactive-form-quick-list/reactive-form-quick-list.component.mjs +22 -0
- package/esm2022/lib/quick-list/reactive-form-quick-list-compact/reactive-form-quick-list-compact.component.mjs +22 -0
- package/esm2022/lib/readonly/readonly-form-field/readonly-form-field.component.mjs +181 -0
- package/esm2022/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.mjs +206 -0
- package/esm2022/lib/readonly/readonly-form-field.module.mjs +25 -0
- package/esm2022/lib/stepper/mad-stepper-animation.mjs +13 -0
- package/esm2022/lib/stepper/step-header/step-header.component.mjs +77 -0
- package/esm2022/lib/stepper/stepper.component.mjs +159 -0
- package/esm2022/lib/stepper/stepper.module.mjs +23 -0
- package/esm2022/lib/table/column-header.mjs +2 -0
- package/esm2022/lib/table/table-action.mjs +2 -0
- package/esm2022/lib/table/table.component.mjs +130 -0
- package/esm2022/lib/table/table.mjs +2 -0
- package/esm2022/lib/table/table.module.mjs +56 -0
- package/esm2022/lib/throttle-click/throttle-click.directive.mjs +38 -0
- package/esm2022/lib/throttle-click/throttle-click.module.mjs +18 -0
- package/esm2022/lib/toolbar/toolbar-action.interface.mjs +2 -0
- package/esm2022/lib/toolbar/toolbar.component.mjs +78 -0
- package/esm2022/lib/toolbar/toolbar.module.mjs +56 -0
- package/esm2022/lib/toolbar/toolbar.service.mjs +124 -0
- package/esm2022/porscheinformatik-material-addons.mjs +5 -0
- package/esm2022/public_api.mjs +42 -0
- package/fesm2022/porscheinformatik-material-addons.mjs +3229 -0
- package/fesm2022/porscheinformatik-material-addons.mjs.map +1 -0
- package/index.d.ts +6 -0
- package/lib/button/button.d.ts +7 -0
- package/lib/button/button.d.ts.map +1 -0
- package/lib/button/button.module.d.ts +17 -0
- package/lib/button/button.module.d.ts.map +1 -0
- package/lib/button/danger-button/danger-button.component.d.ts +13 -0
- package/lib/button/danger-button/danger-button.component.d.ts.map +1 -0
- package/lib/button/flat-button/link-button.component.d.ts +13 -0
- package/lib/button/flat-button/link-button.component.d.ts.map +1 -0
- package/lib/button/icon-button/icon-button.component.d.ts +13 -0
- package/lib/button/icon-button/icon-button.component.d.ts.map +1 -0
- package/lib/button/mad-basic-button.d.ts +14 -0
- package/lib/button/mad-basic-button.d.ts.map +1 -0
- package/lib/button/outline-button/outline-button.component.d.ts +13 -0
- package/lib/button/outline-button/outline-button.component.d.ts.map +1 -0
- package/lib/button/primary-button/primary-button.component.d.ts +13 -0
- package/lib/button/primary-button/primary-button.component.d.ts.map +1 -0
- package/lib/card/card.component.d.ts +28 -0
- package/lib/card/card.component.d.ts.map +1 -0
- package/lib/card/card.d.ts +2 -0
- package/lib/card/card.d.ts.map +1 -0
- package/lib/card/card.module.d.ts +14 -0
- package/lib/card/card.module.d.ts.map +1 -0
- package/lib/content-panel/content-header/content-header.component.d.ts +6 -0
- package/lib/content-panel/content-header/content-header.component.d.ts.map +1 -0
- package/lib/content-panel/content-panel-container/content-panel-container.component.d.ts +6 -0
- package/lib/content-panel/content-panel-container/content-panel-container.component.d.ts.map +1 -0
- package/lib/content-panel/content-panel-container-content/content-panel-container-content.component.d.ts +6 -0
- package/lib/content-panel/content-panel-container-content/content-panel-container-content.component.d.ts.map +1 -0
- package/lib/content-panel/content-panel-container-footer/content-panel-container-footer.component.d.ts +6 -0
- package/lib/content-panel/content-panel-container-footer/content-panel-container-footer.component.d.ts.map +1 -0
- package/lib/content-panel/content-panel.module.d.ts +13 -0
- package/lib/content-panel/content-panel.module.d.ts.map +1 -0
- package/lib/content-panel/main-container/main-container.component.d.ts +6 -0
- package/lib/content-panel/main-container/main-container.component.d.ts.map +1 -0
- package/lib/data-table/data-table-action-type.d.ts +6 -0
- package/lib/data-table/data-table-action-type.d.ts.map +1 -0
- package/lib/data-table/data-table-action.d.ts +8 -0
- package/lib/data-table/data-table-action.d.ts.map +1 -0
- package/lib/data-table/data-table-column-definition.d.ts +28 -0
- package/lib/data-table/data-table-column-definition.d.ts.map +1 -0
- package/lib/data-table/data-table-column.d.ts +11 -0
- package/lib/data-table/data-table-column.d.ts.map +1 -0
- package/lib/data-table/data-table-columns-modal/data-table-columns-modal.component.d.ts +27 -0
- package/lib/data-table/data-table-columns-modal/data-table-columns-modal.component.d.ts.map +1 -0
- package/lib/data-table/data-table-row.d.ts +7 -0
- package/lib/data-table/data-table-row.d.ts.map +1 -0
- package/lib/data-table/data-table.component.d.ts +123 -0
- package/lib/data-table/data-table.component.d.ts.map +1 -0
- package/lib/data-table/data-table.d.ts +6 -0
- package/lib/data-table/data-table.d.ts.map +1 -0
- package/lib/data-table/data-table.module.d.ts +25 -0
- package/lib/data-table/data-table.module.d.ts.map +1 -0
- package/lib/file-upload/drag-and-drop-directive.directive.d.ts +13 -0
- package/lib/file-upload/drag-and-drop-directive.directive.d.ts.map +1 -0
- package/lib/file-upload/file-upload.component.d.ts +22 -0
- package/lib/file-upload/file-upload.component.d.ts.map +1 -0
- package/lib/flowbar/flowbar.component.d.ts +47 -0
- package/lib/flowbar/flowbar.component.d.ts.map +1 -0
- package/lib/flowbar/flowbar.module.d.ts +10 -0
- package/lib/flowbar/flowbar.module.d.ts.map +1 -0
- package/lib/material-action-button/material-action-button.component.d.ts +12 -8
- package/lib/material-action-button/material-action-button.component.d.ts.map +1 -0
- package/lib/material-action-button/material-action-button.module.d.ts +13 -2
- package/lib/material-action-button/material-action-button.module.d.ts.map +1 -0
- package/lib/material-addons.module.d.ts +15 -2
- package/lib/material-addons.module.d.ts.map +1 -0
- package/lib/numeric-field/number-format.service.d.ts +31 -0
- package/lib/numeric-field/number-format.service.d.ts.map +1 -0
- package/lib/numeric-field/numeric-field.d.ts +2 -0
- package/lib/numeric-field/numeric-field.d.ts.map +1 -0
- package/lib/numeric-field/numeric-field.directive.d.ts +45 -0
- package/lib/numeric-field/numeric-field.directive.d.ts.map +1 -0
- package/lib/numeric-field/numeric-field.module.d.ts +10 -0
- package/lib/numeric-field/numeric-field.module.d.ts.map +1 -0
- package/lib/quick-list/base-quick-list.component.d.ts +41 -0
- package/lib/quick-list/base-quick-list.component.d.ts.map +1 -0
- package/lib/quick-list/quick-list-compact/quick-list-compact.component.d.ts +12 -0
- package/lib/quick-list/quick-list-compact/quick-list-compact.component.d.ts.map +1 -0
- package/lib/quick-list/quick-list.component.d.ts +12 -0
- package/lib/quick-list/quick-list.component.d.ts.map +1 -0
- package/lib/quick-list/quick-list.d.ts +6 -0
- package/lib/quick-list/quick-list.d.ts.map +1 -0
- package/lib/quick-list/quick-list.module.d.ts +17 -0
- package/lib/quick-list/quick-list.module.d.ts.map +1 -0
- package/lib/quick-list/reactive-form-quick-list/reactive-form-quick-list.component.d.ts +12 -0
- package/lib/quick-list/reactive-form-quick-list/reactive-form-quick-list.component.d.ts.map +1 -0
- package/lib/quick-list/reactive-form-quick-list-compact/reactive-form-quick-list-compact.component.d.ts +12 -0
- package/lib/quick-list/reactive-form-quick-list-compact/reactive-form-quick-list-compact.component.d.ts.map +1 -0
- package/lib/readonly/readonly-form-field/readonly-form-field.component.d.ts +56 -14
- package/lib/readonly/readonly-form-field/readonly-form-field.component.d.ts.map +1 -0
- package/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.d.ts +89 -31
- package/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.d.ts.map +1 -0
- package/lib/readonly/readonly-form-field.module.d.ts +16 -2
- package/lib/readonly/readonly-form-field.module.d.ts.map +1 -0
- package/lib/stepper/mad-stepper-animation.d.ts +8 -0
- package/lib/stepper/mad-stepper-animation.d.ts.map +1 -0
- package/lib/stepper/step-header/step-header.component.d.ts +27 -0
- package/lib/stepper/step-header/step-header.component.d.ts.map +1 -0
- package/lib/stepper/stepper.component.d.ts +53 -0
- package/lib/stepper/stepper.component.d.ts.map +1 -0
- package/lib/stepper/stepper.module.d.ts +14 -0
- package/lib/stepper/stepper.module.d.ts.map +1 -0
- package/lib/table/column-header.d.ts +8 -0
- package/lib/table/column-header.d.ts.map +1 -0
- package/lib/table/table-action.d.ts +6 -0
- package/lib/table/table-action.d.ts.map +1 -0
- package/lib/table/table.component.d.ts +43 -0
- package/lib/table/table.component.d.ts.map +1 -0
- package/lib/table/table.d.ts +4 -0
- package/lib/table/table.d.ts.map +1 -0
- package/lib/table/table.module.d.ts +18 -0
- package/lib/table/table.module.d.ts.map +1 -0
- package/lib/throttle-click/throttle-click.directive.d.ts +14 -0
- package/lib/throttle-click/throttle-click.directive.d.ts.map +1 -0
- package/lib/throttle-click/throttle-click.module.d.ts +9 -0
- package/lib/throttle-click/throttle-click.module.d.ts.map +1 -0
- package/lib/toolbar/toolbar-action.interface.d.ts +28 -18
- package/lib/toolbar/toolbar-action.interface.d.ts.map +1 -0
- package/lib/toolbar/toolbar.component.d.ts +28 -19
- package/lib/toolbar/toolbar.component.d.ts.map +1 -0
- package/lib/toolbar/toolbar.module.d.ts +18 -2
- package/lib/toolbar/toolbar.module.d.ts.map +1 -0
- package/lib/toolbar/toolbar.service.d.ts +44 -33
- package/lib/toolbar/toolbar.service.d.ts.map +1 -0
- package/package.json +29 -24
- package/porscheinformatik-material-addons.d.ts.map +1 -0
- package/public_api.d.ts +39 -0
- package/public_api.d.ts.map +1 -0
- package/themes/common/styles.scss +359 -303
- package/themes/pbv.scss +64 -56
- package/themes/poa.scss +64 -40
- package/bundles/porscheinformatik-material-addons.umd.js +0 -755
- package/esm2015/lib/material-action-button/material-action-button.component.js +0 -43
- package/esm2015/lib/material-action-button/material-action-button.module.js +0 -19
- package/esm2015/lib/material-addons.module.js +0 -16
- package/esm2015/lib/readonly/readonly-form-field/readonly-form-field.component.js +0 -61
- package/esm2015/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.js +0 -124
- package/esm2015/lib/readonly/readonly-form-field.module.js +0 -20
- package/esm2015/lib/toolbar/toolbar-action.interface.js +0 -47
- package/esm2015/lib/toolbar/toolbar.component.js +0 -112
- package/esm2015/lib/toolbar/toolbar.module.js +0 -29
- package/esm2015/lib/toolbar/toolbar.service.js +0 -197
- package/esm2015/porscheinformatik-material-addons.js +0 -9
- package/esm2015/public-api.js +0 -18
- package/esm5/lib/material-action-button/material-action-button.component.js +0 -45
- package/esm5/lib/material-action-button/material-action-button.module.js +0 -23
- package/esm5/lib/material-addons.module.js +0 -20
- package/esm5/lib/readonly/readonly-form-field/readonly-form-field.component.js +0 -67
- package/esm5/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.js +0 -145
- package/esm5/lib/readonly/readonly-form-field.module.js +0 -24
- package/esm5/lib/toolbar/toolbar-action.interface.js +0 -47
- package/esm5/lib/toolbar/toolbar.component.js +0 -131
- package/esm5/lib/toolbar/toolbar.module.js +0 -33
- package/esm5/lib/toolbar/toolbar.service.js +0 -245
- package/esm5/porscheinformatik-material-addons.js +0 -9
- package/esm5/public-api.js +0 -18
- package/porscheinformatik-material-addons.d.ts +0 -4
- package/porscheinformatik-material-addons.metadata.json +0 -1
- package/public-api.d.ts +0 -10
|
@@ -1,303 +1,359 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
@include mat-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
)
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
@
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
@
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
@
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
@
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
$
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
width:
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
.
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
text-
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.
|
|
233
|
-
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
height: 0 !important;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
}
|
|
303
|
-
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@include mat.all-component-typographies();
|
|
4
|
+
@include mat.all-component-densities(-2);
|
|
5
|
+
@include mat.core();
|
|
6
|
+
|
|
7
|
+
//TODO Contrasts should be part of the themes!
|
|
8
|
+
$contrast: (
|
|
9
|
+
50: rgba(black, 0.87),
|
|
10
|
+
100: rgba(black, 0.87),
|
|
11
|
+
200: rgba(black, 0.87),
|
|
12
|
+
300: rgba(black, 0.87),
|
|
13
|
+
400: rgba(black, 0.87),
|
|
14
|
+
500: white,
|
|
15
|
+
600: white,
|
|
16
|
+
700: white,
|
|
17
|
+
800: white,
|
|
18
|
+
900: white,
|
|
19
|
+
A100: rgba(black, 0.87),
|
|
20
|
+
A200: rgba(black, 0.87),
|
|
21
|
+
A400: rgba(black, 0.87),
|
|
22
|
+
A700: rgba(black, 0.87),
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
@function get-main-color($color-scheme) {
|
|
26
|
+
@return map-get($color-scheme, 500);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@function get-selection-background($color-scheme) {
|
|
30
|
+
@return map-get($color-scheme, 50);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@function get-table-hover-color($color) {
|
|
34
|
+
@return rgba($color, 0.08);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@function get-background-color($color-scheme) {
|
|
38
|
+
@return map-get($color-scheme, background-color);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin build-custom-theme($primary-palette, $warn-palette: mat.$red-palette, $theme-name: 'undefined') {
|
|
42
|
+
$material-addons-colors-primary: mat.define-palette($primary-palette);
|
|
43
|
+
$material-addons-colors-warn: mat.define-palette($warn-palette);
|
|
44
|
+
//$material-addons-theme: mat.define-light-theme($material-addons-colors-primary, $material-addons-colors-primary, $material-addons-colors-warn);
|
|
45
|
+
|
|
46
|
+
$material-addons-theme: mat.define-light-theme(
|
|
47
|
+
(
|
|
48
|
+
color: (
|
|
49
|
+
primary: $material-addons-colors-primary,
|
|
50
|
+
accent: $material-addons-colors-primary,
|
|
51
|
+
warn: $material-addons-colors-warn,
|
|
52
|
+
),
|
|
53
|
+
)
|
|
54
|
+
);
|
|
55
|
+
|
|
56
|
+
$hover-color: mat.define-palette($primary-palette, 50);
|
|
57
|
+
|
|
58
|
+
@include mat.all-component-themes($material-addons-theme);
|
|
59
|
+
//setting the density for the components
|
|
60
|
+
//@include mat.form-field-density(-5);
|
|
61
|
+
|
|
62
|
+
@if variable-exists(table-hover-color) {
|
|
63
|
+
.clickable-table-row:hover,
|
|
64
|
+
.mat-row-link:hover {
|
|
65
|
+
background-color: $table-hover-color;
|
|
66
|
+
}
|
|
67
|
+
} @else {
|
|
68
|
+
@warn 'variable $table-hover-color in theme #{$theme-name} is not defined';
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@if variable_exists(warn-color) {
|
|
72
|
+
.mat-mdc-form-field-required-marker {
|
|
73
|
+
color: $warn-color;
|
|
74
|
+
}
|
|
75
|
+
} @else {
|
|
76
|
+
@warn 'variable $warn-color in theme #{$theme-name} is not defined';
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@if variable_exists(main-primary) {
|
|
80
|
+
.mat-mdc-outlined-button {
|
|
81
|
+
border-color: $main-primary !important;
|
|
82
|
+
}
|
|
83
|
+
.selected-drag-list {
|
|
84
|
+
border-color: $main-primary !important;
|
|
85
|
+
}
|
|
86
|
+
.active-column-definition {
|
|
87
|
+
color: $main-primary !important;
|
|
88
|
+
}
|
|
89
|
+
} @else {
|
|
90
|
+
@warn 'variable $main-primary in theme #{$theme-name} is not defined';
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
body {
|
|
95
|
+
margin: 0;
|
|
96
|
+
font-family: Roboto, 'Helvetica Neue', sans-serif;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
a {
|
|
100
|
+
color: inherit;
|
|
101
|
+
text-decoration: inherit;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.spacer {
|
|
105
|
+
flex: 1 1 auto;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
table {
|
|
109
|
+
width: 100%;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.mat-mdc-input-element:disabled {
|
|
113
|
+
cursor: auto;
|
|
114
|
+
color: black;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.mat-mdc-select-disabled .mat-select-value {
|
|
118
|
+
color: black;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.mat-mdc-form-field .mat-mdc-select.mat-select-disabled .mat-select-arrow {
|
|
122
|
+
color: white;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.mat-mdc-checkbox-disabled .mat-checkbox-label {
|
|
126
|
+
color: black;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.clickable-table-row:hover,
|
|
130
|
+
.mat-row-link:hover {
|
|
131
|
+
cursor: pointer;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.button-panel {
|
|
135
|
+
padding-top: 16px;
|
|
136
|
+
padding-bottom: 8px;
|
|
137
|
+
padding-right: 16px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
mad-primary-button {
|
|
141
|
+
margin-right: 8px;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
mad-outline-button {
|
|
145
|
+
margin-right: 8px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
mad-link-button {
|
|
149
|
+
margin-right: 8px;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
mad-danger-button {
|
|
153
|
+
margin-right: 8px;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.simple-edit-section {
|
|
157
|
+
display: flex;
|
|
158
|
+
flex-direction: column;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.simple-edit-section > * {
|
|
162
|
+
width: 100%;
|
|
163
|
+
max-width: 640px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.tiny-table-section {
|
|
167
|
+
display: flex;
|
|
168
|
+
flex-direction: column;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.table-condensed > .mat-mdc-row {
|
|
172
|
+
min-height: 36px;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.small-input {
|
|
176
|
+
max-width: 90px !important;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.tiny-input {
|
|
180
|
+
max-width: 60px !important;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.main-content {
|
|
184
|
+
padding: 73px 16px 16px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.mat-mdc-tab-header {
|
|
188
|
+
margin: -16px -16px 16px;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.mat-mdc-row {
|
|
192
|
+
position: relative;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.mat-row-link {
|
|
196
|
+
position: absolute;
|
|
197
|
+
width: 100%;
|
|
198
|
+
height: 100%;
|
|
199
|
+
left: 0;
|
|
200
|
+
top: 0;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.mat-mdc-button,
|
|
204
|
+
.mat-mdc-unelevated-button,
|
|
205
|
+
.mat-mdc-raised-button,
|
|
206
|
+
.mat-mdc-outlined-button,
|
|
207
|
+
.mat-mdc-icon-button {
|
|
208
|
+
text-transform: uppercase;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.toolbar-title {
|
|
212
|
+
text-overflow: ellipsis;
|
|
213
|
+
white-space: nowrap;
|
|
214
|
+
overflow: hidden;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.mat-mdc-select-disabled {
|
|
218
|
+
color: rgba(0, 0, 0, 0.38);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.sticky-paginator {
|
|
222
|
+
background-color: white;
|
|
223
|
+
position: fixed;
|
|
224
|
+
padding-right: 16px;
|
|
225
|
+
bottom: 0;
|
|
226
|
+
right: 0;
|
|
227
|
+
left: 0;
|
|
228
|
+
z-index: 5;
|
|
229
|
+
text-align: right;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.with-sticky-paginator {
|
|
233
|
+
padding-bottom: 64px;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.criteria-panel {
|
|
237
|
+
display: flex;
|
|
238
|
+
flex-direction: row;
|
|
239
|
+
flex-wrap: wrap;
|
|
240
|
+
justify-content: flex-start;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.criteria-panel > * {
|
|
244
|
+
padding-right: 16px;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.mat-mdc-tab-group {
|
|
248
|
+
max-width: 100%;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.large-icon {
|
|
252
|
+
font-size: xx-large;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.transparent .mat-mdc-dialog-container {
|
|
256
|
+
box-shadow: none;
|
|
257
|
+
background: rgba(0, 0, 0, 0);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/*
|
|
261
|
+
* This class can be used to fix mat-tabs at the top of a page
|
|
262
|
+
*/
|
|
263
|
+
.fixedtabs > .mat-mdc-tab-header {
|
|
264
|
+
z-index: 10;
|
|
265
|
+
width: 100vw;
|
|
266
|
+
position: fixed;
|
|
267
|
+
background-color: white;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.mat-mdc-dialog-actions {
|
|
271
|
+
justify-content: flex-end;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.mat-md-card-header-text {
|
|
275
|
+
margin: 0 !important;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
@mixin ellipsis-text-overflow {
|
|
279
|
+
text-overflow: ellipsis;
|
|
280
|
+
overflow: hidden;
|
|
281
|
+
white-space: nowrap;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.ellipsis-text-overflow {
|
|
285
|
+
@include ellipsis-text-overflow;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
@media print {
|
|
289
|
+
.no-print,
|
|
290
|
+
.no-print * {
|
|
291
|
+
display: none !important;
|
|
292
|
+
width: 0 !important;
|
|
293
|
+
height: 0 !important;
|
|
294
|
+
}
|
|
295
|
+
mat-paginator {
|
|
296
|
+
display: none !important;
|
|
297
|
+
height: 0 !important;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
mat-sidenav-content {
|
|
301
|
+
margin: 0 !important;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.mat-mdc-raised-button,
|
|
305
|
+
.mat-mdc-outlined-button,
|
|
306
|
+
.button-panel {
|
|
307
|
+
display: none !important;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
mad-primary-button,
|
|
311
|
+
mad-outline-button,
|
|
312
|
+
mad-danger-button,
|
|
313
|
+
mad-link-button,
|
|
314
|
+
mad-icon-button {
|
|
315
|
+
display: none !important;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.criteria-panel {
|
|
319
|
+
display: none !important;
|
|
320
|
+
height: 0 !important;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
async-autocomplete mat-icon {
|
|
324
|
+
display: none !important;
|
|
325
|
+
}
|
|
326
|
+
.mat-mdc-tab-label:not(.mat-tab-label-active) {
|
|
327
|
+
display: none !important;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.mad-read-only {
|
|
332
|
+
mat-label {
|
|
333
|
+
color: black;
|
|
334
|
+
}
|
|
335
|
+
.content {
|
|
336
|
+
color: black !important;
|
|
337
|
+
}
|
|
338
|
+
.mdc-notched-outline__leading,
|
|
339
|
+
.mdc-notched-outline__notch,
|
|
340
|
+
.mdc-notched-outline__trailing {
|
|
341
|
+
border: none !important;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
// needed for the padding fix when subscriptSizing: 'dynamic'
|
|
346
|
+
mat-form-field .mat-mdc-form-field {
|
|
347
|
+
&-subscript-wrapper {
|
|
348
|
+
margin-bottom: 1.25em;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
// the label of the outline input is set into the padding of the form-field-component
|
|
353
|
+
.mat-form-field-appearance-outline {
|
|
354
|
+
margin-top: 8px;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.pointer {
|
|
358
|
+
cursor: pointer;
|
|
359
|
+
}
|