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.
Files changed (32) hide show
  1. package/assets/css/_dark-theme.scss +0 -5
  2. package/assets/css/_global.scss +12 -1
  3. package/assets/css/_light-theme.scss +0 -5
  4. package/assets/css/_themes.scss +2 -1
  5. package/assets/css/material/_mdc-light-theme.scss +5 -0
  6. package/assets/css/material/_mdc.scss +15 -2
  7. package/assets/i18n/front-common/de.json +6 -0
  8. package/assets/i18n/front-common/en.json +6 -0
  9. package/assets/i18n/front-common/fr.json +6 -0
  10. package/esm2022/lib/util/component/header/header.component.mjs +11 -3
  11. package/esm2022/lib/util/i18n/de.mjs +3 -2
  12. package/esm2022/lib/util/i18n/en.mjs +3 -2
  13. package/esm2022/lib/util/i18n/fr.mjs +3 -2
  14. package/esm2022/lib/util/models/commercial/invoice-rapid-search-model.mjs +9 -0
  15. package/esm2022/lib/util/models/commercial/work-record-rapid-search-model.mjs +1 -12
  16. package/esm2022/lib/util/models/legal/contract-rapid-search-model.mjs +1 -1
  17. package/esm2022/lib/util/paginator/custom-paginator-configuration.mjs +59 -0
  18. package/esm2022/lib/util/services/elasticsearch/elasticsearch.service.mjs +17 -6
  19. package/esm2022/lib/util/util.module.mjs +4 -1
  20. package/esm2022/public-api.mjs +2 -1
  21. package/fesm2022/new-front-common-library.mjs +115 -39
  22. package/fesm2022/new-front-common-library.mjs.map +1 -1
  23. package/lib/util/component/header/header.component.d.ts +2 -1
  24. package/lib/util/i18n/de.d.ts +2 -1
  25. package/lib/util/i18n/en.d.ts +2 -1
  26. package/lib/util/i18n/fr.d.ts +2 -1
  27. package/lib/util/models/commercial/invoice-rapid-search-model.d.ts +18 -0
  28. package/lib/util/models/commercial/work-record-rapid-search-model.d.ts +0 -1
  29. package/lib/util/models/legal/contract-rapid-search-model.d.ts +2 -1
  30. package/lib/util/paginator/custom-paginator-configuration.d.ts +16 -0
  31. package/package.json +1 -1
  32. package/public-api.d.ts +1 -0
@@ -525,11 +525,6 @@
525
525
  color: $blue-primary !important;
526
526
  }
527
527
 
528
- .mat-datepicker-content .mat-calendar {
529
- width: 220px;
530
- height: auto;
531
- }
532
-
533
528
  .mat-calendar-controls {
534
529
  display: flex;
535
530
  margin: 0% calc(33% / 7 - 16px);
@@ -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: 4px;
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 {
@@ -549,11 +549,6 @@
549
549
  color: $blue-primary !important;
550
550
  }
551
551
 
552
- .mat-datepicker-content .mat-calendar {
553
- width: 220px;
554
- height: auto;
555
- }
556
-
557
552
  .mat-calendar-controls {
558
553
  display: flex;
559
554
  margin: 0% calc(33% / 7 - 16px);
@@ -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: 10px !important;
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
+ }
@@ -20,5 +20,11 @@
20
20
  "PASSWORD":"Password",
21
21
  "SIGN_IN": "Log in"
22
22
  }
23
+ },
24
+ "PAGINATOR": {
25
+ "ITEMS_PER_PAGE": "Items per page:",
26
+ "NEXT_PAGE": "Next page",
27
+ "PREVIOUS_PAGE": "Previous page",
28
+ "OF_LABEL": "of"
23
29
  }
24
30
  }
@@ -20,5 +20,11 @@
20
20
  "PASSWORD":"Password",
21
21
  "SIGN_IN": "Log in"
22
22
  }
23
+ },
24
+ "PAGINATOR": {
25
+ "ITEMS_PER_PAGE": "Items per page:",
26
+ "NEXT_PAGE": "Next page",
27
+ "PREVIOUS_PAGE": "Previous page",
28
+ "OF_LABEL": "of"
23
29
  }
24
30
  }
@@ -20,5 +20,11 @@
20
20
  "PASSWORD":"Mot de passe",
21
21
  "SIGN_IN": "Connexion"
22
22
  }
23
+ },
24
+ "PAGINATOR": {
25
+ "ITEMS_PER_PAGE": "Eléments par page:",
26
+ "NEXT_PAGE": "Page suivante",
27
+ "PREVIOUS_PAGE": "Page précédente",
28
+ "OF_LABEL": "sur"
23
29
  }
24
30
  }