new-front-common-library 16.0.1-REF-1 → 16.0.1-REF-2
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/assets/css/_dark-theme.scss +0 -5
- package/assets/css/_global.scss +12 -1
- package/assets/css/_light-theme.scss +0 -5
- package/assets/css/_themes.scss +2 -1
- package/assets/css/material/_mdc-light-theme.scss +5 -0
- package/assets/css/material/_mdc.scss +15 -2
- package/assets/i18n/front-common/de.json +6 -0
- package/assets/i18n/front-common/en.json +6 -0
- package/assets/i18n/front-common/fr.json +6 -0
- package/esm2022/lib/util/component/header/header.component.mjs +11 -3
- package/esm2022/lib/util/i18n/de.mjs +3 -2
- package/esm2022/lib/util/i18n/en.mjs +3 -2
- package/esm2022/lib/util/i18n/fr.mjs +3 -2
- package/esm2022/lib/util/models/commercial/invoice-rapid-search-model.mjs +9 -0
- package/esm2022/lib/util/models/commercial/work-record-rapid-search-model.mjs +1 -12
- package/esm2022/lib/util/models/legal/contract-rapid-search-model.mjs +1 -1
- package/esm2022/lib/util/paginator/custom-paginator-configuration.mjs +59 -0
- package/esm2022/lib/util/services/elasticsearch/elasticsearch.service.mjs +17 -6
- package/esm2022/lib/util/util.module.mjs +4 -1
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/new-front-common-library.mjs +115 -39
- package/fesm2022/new-front-common-library.mjs.map +1 -1
- package/lib/util/component/header/header.component.d.ts +2 -1
- package/lib/util/i18n/de.d.ts +2 -1
- package/lib/util/i18n/en.d.ts +2 -1
- package/lib/util/i18n/fr.d.ts +2 -1
- package/lib/util/models/commercial/invoice-rapid-search-model.d.ts +18 -0
- package/lib/util/models/commercial/work-record-rapid-search-model.d.ts +0 -1
- package/lib/util/models/legal/contract-rapid-search-model.d.ts +2 -1
- package/lib/util/paginator/custom-paginator-configuration.d.ts +16 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
package/assets/css/_global.scss
CHANGED
|
@@ -105,6 +105,11 @@ body, html {
|
|
|
105
105
|
height: 1em !important;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
+
.mat-datepicker-content .mat-calendar {
|
|
109
|
+
width: 230px;
|
|
110
|
+
height: auto;
|
|
111
|
+
}
|
|
112
|
+
|
|
108
113
|
.mat-row .mat-form-field .mat-datepicker-toggle-default-icon {
|
|
109
114
|
height: 15px !important;
|
|
110
115
|
margin-top: -8px;
|
|
@@ -324,7 +329,7 @@ textarea {
|
|
|
324
329
|
|
|
325
330
|
.mat-standard-chip.mat-chip-with-trailing-icon{
|
|
326
331
|
padding-right: 2px;
|
|
327
|
-
padding-left:
|
|
332
|
+
padding-left: 2px;
|
|
328
333
|
}
|
|
329
334
|
|
|
330
335
|
.mat-standard-chip .mat-chip-remove, .mat-standard-chip .mat-chip-trailing-icon{
|
|
@@ -434,6 +439,10 @@ mat-paginator .mat-select-trigger {
|
|
|
434
439
|
vertical-align: middle;
|
|
435
440
|
}
|
|
436
441
|
|
|
442
|
+
.action-menu.mat-menu-panel {
|
|
443
|
+
max-width: 100%;
|
|
444
|
+
}
|
|
445
|
+
|
|
437
446
|
.mat-menu-panel {
|
|
438
447
|
min-height: auto !important;
|
|
439
448
|
}
|
|
@@ -447,6 +456,7 @@ mat-paginator .mat-select-trigger {
|
|
|
447
456
|
border-radius: 6px;
|
|
448
457
|
width: auto;
|
|
449
458
|
padding: 0 8px 0 8px;
|
|
459
|
+
height: 24px !important;
|
|
450
460
|
}
|
|
451
461
|
|
|
452
462
|
.cancel-button {
|
|
@@ -458,6 +468,7 @@ mat-paginator .mat-select-trigger {
|
|
|
458
468
|
width: auto;
|
|
459
469
|
padding: 0 8px 0 8px;
|
|
460
470
|
cursor: pointer;
|
|
471
|
+
height: 24px !important;
|
|
461
472
|
}
|
|
462
473
|
|
|
463
474
|
.expand-button {
|
package/assets/css/_themes.scss
CHANGED
|
@@ -22,7 +22,8 @@ $mat-theme-ignore-duplication-warnings: true;
|
|
|
22
22
|
$light-primary: mat.define-palette($light-unity-palette);
|
|
23
23
|
$light-accent: mat.define-palette($light-unity-palette);
|
|
24
24
|
$light-typography: mat.define-typography-config(
|
|
25
|
-
$font-family: '"Roboto","Source Sans Pro",Poppins'
|
|
25
|
+
$font-family: '"Roboto","Source Sans Pro",Poppins',
|
|
26
|
+
$button: mat.define-typography-level(14px, 14px, 500, $letter-spacing: normal)
|
|
26
27
|
);
|
|
27
28
|
$light-theme: mat.define-light-theme((
|
|
28
29
|
color: (
|
|
@@ -259,4 +259,9 @@
|
|
|
259
259
|
border-bottom: $light-border-color 1px solid;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
+
--mdc-checkbox-selected-icon-color: #{$blue-primary};
|
|
263
|
+
--mdc-checkbox-selected-hover-icon-color: #{$blue-primary};
|
|
264
|
+
--mdc-checkbox-selected-focus-icon-color: #{$blue-primary};
|
|
265
|
+
--mdc-checkbox-selected-pressed-icon-color: #{$blue-primary};
|
|
266
|
+
|
|
262
267
|
}
|
|
@@ -172,7 +172,7 @@ mat-paginator .mat-mdc-select-trigger {
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
.global-search .mat-mdc-form-field-infix {
|
|
175
|
-
padding-top:
|
|
175
|
+
padding-top: 8px !important;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
// chips
|
|
@@ -199,6 +199,11 @@ mat-paginator .mat-mdc-select-trigger {
|
|
|
199
199
|
margin-left: 4px;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
+
.mat-mdc-standard-chip .mdc-evolution-chip__action--primary {
|
|
203
|
+
padding-left: 5px;
|
|
204
|
+
padding-right: 5px;
|
|
205
|
+
}
|
|
206
|
+
|
|
202
207
|
// Styles for specific buttons in dialog containers
|
|
203
208
|
.mat-mdc-dialog-container .btn-primary,
|
|
204
209
|
.mat-mdc-dialog-container .btn-danger,
|
|
@@ -283,6 +288,10 @@ mat-label {
|
|
|
283
288
|
background: none !important;
|
|
284
289
|
}
|
|
285
290
|
|
|
291
|
+
.action-menu.mat-mdc-menu-panel {
|
|
292
|
+
max-width: 100%;
|
|
293
|
+
}
|
|
294
|
+
|
|
286
295
|
.action-menu .mat-mdc-menu-item {
|
|
287
296
|
min-height: 24px;
|
|
288
297
|
line-height: 24px;
|
|
@@ -324,7 +333,7 @@ mat-label {
|
|
|
324
333
|
border-bottom: none;
|
|
325
334
|
}
|
|
326
335
|
|
|
327
|
-
.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input {
|
|
336
|
+
.mat-mdc-table .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input {
|
|
328
337
|
top: 0;
|
|
329
338
|
}
|
|
330
339
|
|
|
@@ -334,3 +343,7 @@ input:-webkit-autofill:focus,
|
|
|
334
343
|
input:-webkit-autofill:active{
|
|
335
344
|
transition: background-color 5000000s ease-in-out 0s !important;
|
|
336
345
|
}
|
|
346
|
+
|
|
347
|
+
.mat-mdc-paginator-page-size-select {
|
|
348
|
+
width: 56px;
|
|
349
|
+
}
|