@lucca-front/ng 17.4.3 → 17.4.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/a11y/public-api.d.ts +1 -0
- package/a11y/skip-links/skip-links.translate.d.ts +3 -3
- package/a11y/skip-links/translations.d.ts +50 -0
- package/callout/callout.translate.d.ts +3 -3
- package/callout/translations.d.ts +26 -0
- package/core/translate/intl.model.d.ts +2 -5
- package/core/translate/translation.model.d.ts +4 -0
- package/core-select/public-api.d.ts +1 -0
- package/core-select/select.translate.d.ts +3 -3
- package/core-select/translations.d.ts +26 -0
- package/core-select/user/public-api.d.ts +1 -0
- package/core-select/user/translations.d.ts +26 -0
- package/core-select/user/user.translate.d.ts +3 -3
- package/date/input/date-input.translate.d.ts +3 -4
- package/date/input/translations.d.ts +58 -0
- package/date/select/date-select-input.translate.d.ts +3 -4
- package/date/select/translations.d.ts +58 -0
- package/department/select/input/department-select-input.translate.d.ts +3 -3
- package/department/select/input/translations.d.ts +26 -0
- package/dialog/dialog-header/dialog-header.translate.d.ts +3 -3
- package/dialog/dialog-header/translations.d.ts +26 -0
- package/dialog/public-api.d.ts +6 -5
- package/esm2022/a11y/public-api.mjs +2 -1
- package/esm2022/a11y/skip-links/skip-links.translate.mjs +3 -21
- package/esm2022/a11y/skip-links/translations.mjs +51 -0
- package/esm2022/callout/callout.translate.mjs +3 -12
- package/esm2022/callout/translations.mjs +27 -0
- package/esm2022/core/translate/intl.model.mjs +4 -7
- package/esm2022/core/translate/translation.model.mjs +1 -1
- package/esm2022/core-select/public-api.mjs +2 -1
- package/esm2022/core-select/select.translate.mjs +3 -18
- package/esm2022/core-select/translations.mjs +27 -0
- package/esm2022/core-select/user/public-api.mjs +2 -1
- package/esm2022/core-select/user/translations.mjs +27 -0
- package/esm2022/core-select/user/user.translate.mjs +3 -18
- package/esm2022/date/input/date-input.directive.mjs +2 -2
- package/esm2022/date/input/date-input.translate.mjs +3 -35
- package/esm2022/date/input/translations.mjs +59 -0
- package/esm2022/date/select/date-select-input.component.mjs +2 -2
- package/esm2022/date/select/date-select-input.translate.mjs +3 -27
- package/esm2022/date/select/translations.mjs +59 -0
- package/esm2022/department/select/input/department-select-input.translate.mjs +3 -12
- package/esm2022/department/select/input/translations.mjs +27 -0
- package/esm2022/dialog/dialog-header/dialog-header.translate.mjs +3 -18
- package/esm2022/dialog/dialog-header/translations.mjs +27 -0
- package/esm2022/dialog/public-api.mjs +7 -6
- package/esm2022/establishment/select/input/establishment-select-input.translate.mjs +3 -12
- package/esm2022/establishment/select/input/translations.mjs +27 -0
- package/esm2022/establishment/select/select-all/index.mjs +1 -2
- package/esm2022/form-field/form-field.translate.mjs +3 -9
- package/esm2022/form-field/public-api.mjs +4 -3
- package/esm2022/form-field/translations.mjs +27 -0
- package/esm2022/forms/number-input/number-input.translate.mjs +3 -9
- package/esm2022/forms/number-input/translations.mjs +27 -0
- package/esm2022/forms/public-api.mjs +3 -1
- package/esm2022/forms/text-input/text-input.translate.mjs +3 -11
- package/esm2022/forms/text-input/translations.mjs +35 -0
- package/esm2022/modal/modal.translate.mjs +3 -28
- package/esm2022/modal/translations.mjs +43 -0
- package/esm2022/multi-select/displayer/default-displayer.translate.mjs +3 -33
- package/esm2022/multi-select/displayer/index.mjs +3 -2
- package/esm2022/multi-select/displayer/translations.mjs +51 -0
- package/esm2022/multi-select/select.translate.mjs +3 -68
- package/esm2022/multi-select/translations.mjs +107 -0
- package/esm2022/option/item/translations.mjs +35 -0
- package/esm2022/option/item/tree-option-item.translate.mjs +3 -11
- package/esm2022/option/placeholder/option-placeholder.translate.mjs +3 -15
- package/esm2022/option/placeholder/translations.mjs +35 -0
- package/esm2022/option/selector/all/select-all.translate.mjs +3 -23
- package/esm2022/option/selector/all/translations.mjs +35 -0
- package/esm2022/popup-employee/popup-employee.translate.mjs +3 -68
- package/esm2022/popup-employee/public-api.mjs +2 -1
- package/esm2022/popup-employee/translations.mjs +107 -0
- package/esm2022/qualification/select/input/qualification-select-input.translate.mjs +3 -12
- package/esm2022/qualification/select/input/translations.mjs +27 -0
- package/esm2022/sidepanel/sidepanel.model.mjs +2 -2
- package/esm2022/simple-select/select.translate.mjs +3 -38
- package/esm2022/simple-select/translations.mjs +59 -0
- package/esm2022/toast/toasts.translate.mjs +3 -12
- package/esm2022/toast/translations.mjs +27 -0
- package/esm2022/user/select/input/translations.mjs +35 -0
- package/esm2022/user/select/input/user-select-input.translate.mjs +3 -15
- package/esm2022/user/select/searcher/translations.mjs +27 -0
- package/esm2022/user/select/searcher/user-searcher.translate.mjs +3 -12
- package/establishment/select/input/establishment-select-input.translate.d.ts +3 -3
- package/establishment/select/input/translations.d.ts +26 -0
- package/establishment/select/select-all/index.d.ts +0 -1
- package/fesm2022/lucca-front-ng-a11y.mjs +42 -10
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +21 -4
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +33 -22
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +19 -8
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +3 -6
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +94 -34
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +21 -4
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +135 -124
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +23 -29
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +27 -7
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +55 -9
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +25 -8
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +124 -63
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +83 -21
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popup-employee.mjs +62 -21
- package/fesm2022/lucca-front-ng-popup-employee.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-qualification.mjs +22 -5
- package/fesm2022/lucca-front-ng-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +33 -10
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-toast.mjs +21 -4
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +48 -9
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/form-field/form-field.translate.d.ts +3 -3
- package/form-field/public-api.d.ts +3 -2
- package/form-field/translations.d.ts +26 -0
- package/forms/number-input/number-input.translate.d.ts +3 -3
- package/forms/number-input/translations.d.ts +26 -0
- package/forms/public-api.d.ts +2 -0
- package/forms/text-input/text-input.translate.d.ts +3 -3
- package/forms/text-input/translations.d.ts +34 -0
- package/modal/modal.translate.d.ts +3 -3
- package/modal/translations.d.ts +42 -0
- package/multi-select/displayer/default-displayer.translate.d.ts +3 -3
- package/multi-select/displayer/index.d.ts +2 -1
- package/multi-select/displayer/translations.d.ts +50 -0
- package/multi-select/select.translate.d.ts +3 -3
- package/multi-select/translations.d.ts +106 -0
- package/option/item/translations.d.ts +34 -0
- package/option/item/tree-option-item.translate.d.ts +3 -3
- package/option/placeholder/option-placeholder.translate.d.ts +3 -3
- package/option/placeholder/translations.d.ts +34 -0
- package/option/selector/all/select-all.translate.d.ts +3 -3
- package/option/selector/all/translations.d.ts +34 -0
- package/package.json +26 -26
- package/popup-employee/popup-employee.translate.d.ts +3 -3
- package/popup-employee/public-api.d.ts +1 -0
- package/popup-employee/translations.d.ts +106 -0
- package/qualification/select/input/qualification-select-input.translate.d.ts +3 -3
- package/qualification/select/input/translations.d.ts +26 -0
- package/sidepanel/sidepanel.model.d.ts +3 -3
- package/simple-select/select.translate.d.ts +3 -3
- package/simple-select/translations.d.ts +58 -0
- package/toast/toasts.translate.d.ts +3 -3
- package/toast/translations.d.ts +26 -0
- package/user/select/input/translations.d.ts +34 -0
- package/user/select/input/user-select-input.translate.d.ts +3 -3
- package/user/select/searcher/translations.d.ts +26 -0
- package/user/select/searcher/user-searcher.translate.d.ts +3 -3
- package/esm2022/establishment/select/select-all/establishment-select-all.translate.mjs +0 -23
- package/establishment/select/select-all/establishment-select-all.translate.d.ts +0 -3
|
@@ -14,10 +14,7 @@ import { shareReplay, catchError, switchMap, tap, map } from 'rxjs/operators';
|
|
|
14
14
|
import { isFuture, isToday, isTomorrow } from 'date-fns';
|
|
15
15
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
16
16
|
|
|
17
|
-
const
|
|
18
|
-
factory: () => luPopupEmployeeTranslations,
|
|
19
|
-
});
|
|
20
|
-
const luPopupEmployeeTranslations = {
|
|
17
|
+
const Translations = {
|
|
21
18
|
en: {
|
|
22
19
|
EMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Arrival expected on {{date}}',
|
|
23
20
|
EMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Absent',
|
|
@@ -28,9 +25,22 @@ const luPopupEmployeeTranslations = {
|
|
|
28
25
|
EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'This morning',
|
|
29
26
|
EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: 'Until tomorrow',
|
|
30
27
|
EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Until tomorrow morning',
|
|
31
|
-
EMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Until {{date}}
|
|
28
|
+
EMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Until {{date}} inclusive',
|
|
32
29
|
EMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: 'Until {{date}} morning',
|
|
33
30
|
},
|
|
31
|
+
de: {
|
|
32
|
+
EMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Geplanter Dienstantritt am {{date}}',
|
|
33
|
+
EMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Abwesend',
|
|
34
|
+
EMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Vormittag',
|
|
35
|
+
EMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Anwesend',
|
|
36
|
+
EMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Ausgeschieden',
|
|
37
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: 'Heute',
|
|
38
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'Heute Morgen',
|
|
39
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: 'Bis morgen',
|
|
40
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Bis morgen Vormittag',
|
|
41
|
+
EMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Bis einschließlich {{date}}',
|
|
42
|
+
EMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: 'Bis {{date}} morgens',
|
|
43
|
+
},
|
|
34
44
|
fr: {
|
|
35
45
|
EMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Arrivée prévue le {{date}}',
|
|
36
46
|
EMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Absent',
|
|
@@ -44,18 +54,44 @@ const luPopupEmployeeTranslations = {
|
|
|
44
54
|
EMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: "Jusqu'au {{date}} inclus",
|
|
45
55
|
EMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: "Jusqu'au {{date}} matin",
|
|
46
56
|
},
|
|
47
|
-
|
|
48
|
-
EMPLOYEE_CARD_PANEL_COMING_ON_LABEL: '
|
|
49
|
-
EMPLOYEE_CARD_PANEL_ABSENCE_LABEL: '
|
|
50
|
-
EMPLOYEE_CARD_PANEL_MORNING_LABEL: '
|
|
51
|
-
EMPLOYEE_CARD_PANEL_PRESENT_LABEL: '
|
|
52
|
-
EMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: '
|
|
53
|
-
EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: '
|
|
54
|
-
EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: '
|
|
55
|
-
EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: '
|
|
56
|
-
EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: '
|
|
57
|
-
EMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: '
|
|
58
|
-
EMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: '
|
|
57
|
+
it: {
|
|
58
|
+
EMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Arrivo previsto il{{date}}',
|
|
59
|
+
EMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Assente',
|
|
60
|
+
EMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Mattina',
|
|
61
|
+
EMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Presente',
|
|
62
|
+
EMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Ex',
|
|
63
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: 'Oggi',
|
|
64
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'Questa mattina',
|
|
65
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: 'Fino a domani',
|
|
66
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Fino a domani mattina',
|
|
67
|
+
EMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Fino al {{date}} incluso',
|
|
68
|
+
EMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: 'Fino al mattino del {{date}}',
|
|
69
|
+
},
|
|
70
|
+
nl: {
|
|
71
|
+
EMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Verwachte aankomst op {{date}}',
|
|
72
|
+
EMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Afwezig',
|
|
73
|
+
EMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Ochtend',
|
|
74
|
+
EMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Aanwezig',
|
|
75
|
+
EMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Vertrokken',
|
|
76
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: 'Vandaag',
|
|
77
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'Vanochtend',
|
|
78
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: 'Tot morgen',
|
|
79
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Tot morgenochtend',
|
|
80
|
+
EMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Tot en met {{date}}',
|
|
81
|
+
EMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: 'Tot {{date}} ochtend',
|
|
82
|
+
},
|
|
83
|
+
'nl-BE': {
|
|
84
|
+
EMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Verwachte aankomst op {{date}}',
|
|
85
|
+
EMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Afwezig',
|
|
86
|
+
EMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Ochtend',
|
|
87
|
+
EMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Aanwezig',
|
|
88
|
+
EMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Vertrokken',
|
|
89
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: 'Vandaag',
|
|
90
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'Vanochtend',
|
|
91
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: 'Tot morgen',
|
|
92
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Tot morgenochtend',
|
|
93
|
+
EMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Tot en met {{date}}',
|
|
94
|
+
EMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: 'Tot {{date}} ochtend',
|
|
59
95
|
},
|
|
60
96
|
es: {
|
|
61
97
|
EMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Llegada prevista el {{date}}',
|
|
@@ -63,12 +99,12 @@ const luPopupEmployeeTranslations = {
|
|
|
63
99
|
EMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Por la mañana',
|
|
64
100
|
EMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Presente',
|
|
65
101
|
EMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Se ha marchado',
|
|
66
|
-
EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: '
|
|
67
|
-
EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: '
|
|
102
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: 'Hoy',
|
|
103
|
+
EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'Esta mañana',
|
|
68
104
|
EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: 'Hasta mañana',
|
|
69
105
|
EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Hasta mañana por la mañana',
|
|
70
106
|
EMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Hasta el {{date}} incluido',
|
|
71
|
-
EMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: '
|
|
107
|
+
EMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: 'Hasta el {{date}} por la mañana',
|
|
72
108
|
},
|
|
73
109
|
pt: {
|
|
74
110
|
EMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Chegada prevista para {{date}}',
|
|
@@ -85,6 +121,11 @@ const luPopupEmployeeTranslations = {
|
|
|
85
121
|
},
|
|
86
122
|
};
|
|
87
123
|
|
|
124
|
+
const LU_POPUP_EMPLOYEE_TRANSLATIONS = new InjectionToken('LuPopupEmployeeTranslations', {
|
|
125
|
+
factory: () => luPopupEmployeeTranslations,
|
|
126
|
+
});
|
|
127
|
+
const luPopupEmployeeTranslations = Translations;
|
|
128
|
+
|
|
88
129
|
class LuUserPopoverStore {
|
|
89
130
|
constructor() {
|
|
90
131
|
this.#http = inject(HttpClient);
|
|
@@ -543,5 +584,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImpor
|
|
|
543
584
|
* Generated bundle index. Do not edit.
|
|
544
585
|
*/
|
|
545
586
|
|
|
546
|
-
export { LuUserPopoverDirective, USER_POPOVER_IS_ACTIVATED, provideLuUserPopover };
|
|
587
|
+
export { LU_POPUP_EMPLOYEE_TRANSLATIONS, LuUserPopoverDirective, USER_POPOVER_IS_ACTIVATED, luPopupEmployeeTranslations, provideLuUserPopover };
|
|
547
588
|
//# sourceMappingURL=lucca-front-ng-popup-employee.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-popup-employee.mjs","sources":["../../../packages/ng/popup-employee/popup-employee.translate.ts","../../../packages/ng/popup-employee/service/user-popover.store.ts","../../../packages/ng/popup-employee/card/pipe/inject-parameter.pipe.ts","../../../packages/ng/popup-employee/card/pipe/is-future.pipe.ts","../../../packages/ng/popup-employee/card/pipe/leave-ends-display.pipe.ts","../../../packages/ng/popup-employee/card/panel/user-popover-panel.component.ts","../../../packages/ng/popup-employee/card/panel/user-popover-panel.component.html","../../../packages/ng/popup-employee/user-popover.providers.ts","../../../packages/ng/popup-employee/card/trigger/user-popover-trigger.directive.ts","../../../packages/ng/popup-employee/lucca-front-ng-popup-employee.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { ILuTranslation } from '@lucca-front/ng/core';\n\nexport const LU_POPUP_EMPLOYEE_TRANSLATIONS = new InjectionToken('LuPopupEmployeeTranslations', {\n\tfactory: () => luPopupEmployeeTranslations,\n});\n\nexport interface LuPopupEmployeeTranslations {\n\tEMPLOYEE_CARD_PANEL_COMING_ON_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_ABSENCE_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_MORNING_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_PRESENT_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: string;\n\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: string;\n}\n\nexport const luPopupEmployeeTranslations: ILuTranslation<LuPopupEmployeeTranslations> = {\n\ten: {\n\t\tEMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Arrival expected on {{date}}',\n\t\tEMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Absent',\n\t\tEMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Morning',\n\t\tEMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Present',\n\t\tEMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Left',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: 'Today',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'This morning',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: 'Until tomorrow',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Until tomorrow morning',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Until {{date}} included',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: 'Until {{date}} morning',\n\t},\n\tfr: {\n\t\tEMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Arrivée prévue le {{date}}',\n\t\tEMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Absent',\n\t\tEMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Matin',\n\t\tEMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Présent(e)',\n\t\tEMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Parti(e)',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: \"Aujourd'hui\",\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'Ce matin',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: \"Jusqu'à demain\",\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Jusqu’à demain matin',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: \"Jusqu'au {{date}} inclus\",\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: \"Jusqu'au {{date}} matin\",\n\t},\n\tde: {\n\t\tEMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Geplanter Dienstantritt am {{date}}',\n\t\tEMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Abwesend',\n\t\tEMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Vormittag',\n\t\tEMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Anwesend',\n\t\tEMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Ausgeschieden',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: 'Bis heute',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'heute Vormittag',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: 'Bis morgen',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'bis morgen früh',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Bis einschließlich {{date}}',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: 'Bis {{date}} morgens',\n\t},\n\tes: {\n\t\tEMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Llegada prevista el {{date}}',\n\t\tEMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Ausente',\n\t\tEMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Por la mañana',\n\t\tEMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Presente',\n\t\tEMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Se ha marchado',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: 'Hasta hoy',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'esta mañana',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: 'Hasta mañana',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Hasta mañana por la mañana',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Hasta el {{date}} incluido',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: 'hasta el {{date}} mañana',\n\t},\n\tpt: {\n\t\tEMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Chegada prevista para {{date}}',\n\t\tEMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Ausente',\n\t\tEMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Manhã',\n\t\tEMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Presente',\n\t\tEMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Papel',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: 'Até hoje',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'Esta manhã',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: 'Até amanhã',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Até amanhã de manhã',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Até {{date}} incluído',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: 'Até {{date}} de manhã',\n\t},\n};\n","import { HttpClient } from '@angular/common/http';\nimport { inject, Injectable } from '@angular/core';\nimport { Observable, OperatorFunction } from 'rxjs';\nimport { shareReplay } from 'rxjs/operators';\n\nimport { ILuUserPopoverStore } from './user-popover-service.model';\nimport { LuUserPopover } from '../user-popover.model';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\nexport class LuUserPopoverStore implements ILuUserPopoverStore {\n\t#http = inject(HttpClient);\n\t#cache = new Map<number, Observable<LuUserPopover>>();\n\tprotected _api = '/work-locations/api/employee-profile-card';\n\n\tpublic get(id: number): Observable<LuUserPopover> {\n\t\tif (this.#cache.has(id)) {\n\t\t\treturn this.#cache.get(id)!;\n\t\t}\n\t\tconst userPopoverObservable = this.#http.get<LuUserPopover>(`${this._api}/${id}`).pipe(\n\t\t\tcacheImage((c) => c.pictureHref),\n\t\t\tshareReplay(1),\n\t\t);\n\n\t\tthis.#cache.set(id, userPopoverObservable);\n\t\treturn userPopoverObservable;\n\t}\n\n\tpublic clearCache(userId?: number) {\n\t\tif (userId) {\n\t\t\tthis.#cache.delete(userId);\n\t\t} else {\n\t\t\tthis.#cache.clear();\n\t\t}\n\t}\n}\n\nexport function cacheImage<T>(accessor: (value: T) => string | undefined): OperatorFunction<T, T> {\n\treturn (source: Observable<T>): Observable<T> =>\n\t\tnew Observable((subscriber) => {\n\t\t\tsource.subscribe({\n\t\t\t\tnext(value) {\n\t\t\t\t\tconst imagePath = accessor(value);\n\t\t\t\t\tif (!imagePath) {\n\t\t\t\t\t\tsubscriber.next(value);\n\t\t\t\t\t}\n\t\t\t\t\tconst img = new Image();\n\t\t\t\t\timg.src = imagePath!;\n\t\t\t\t\timg.onload = () => {\n\t\t\t\t\t\tsubscriber.next(value);\n\t\t\t\t\t};\n\t\t\t\t\timg.onerror = () => {\n\t\t\t\t\t\tsubscriber.next(value);\n\t\t\t\t\t};\n\t\t\t\t},\n\t\t\t});\n\t\t});\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n// TODO Remplacer par la version de Flavien\n@Pipe({\n\tname: 'injectParameter',\n\tstandalone: true,\n})\nexport class InjectParameterPipe implements PipeTransform {\n\tpublic transform(value: string, date: string): string {\n\t\treturn value.replace('{{date}}', date);\n\t}\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { isFuture, isToday } from 'date-fns';\n\n@Pipe({\n\tname: 'isFuture',\n\tstandalone: true,\n})\nexport class IsFuturePipe implements PipeTransform {\n\tpublic transform(value: Date | undefined): boolean {\n\t\treturn !!value && isFuture(value);\n\t}\n}\n\n@Pipe({\n\tname: 'isFutureOrToday',\n\tstandalone: true,\n})\nexport class isFutureOrTodayPipe implements PipeTransform {\n\tpublic transform(value: Date | undefined): boolean {\n\t\treturn !value || isFuture(value) || isToday(value);\n\t}\n}\n","import { inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core';\nimport { isToday, isTomorrow } from 'date-fns';\nimport { getIntl } from '@lucca-front/ng/core';\nimport { LU_POPUP_EMPLOYEE_TRANSLATIONS } from '../../popup-employee.translate';\nimport { formatDate } from '@angular/common';\n\n@Pipe({\n\tname: 'leaveEndsDisplay',\n\tstandalone: true,\n})\nexport class LeaveEndsDisplayPipe implements PipeTransform {\n\tintl = getIntl(LU_POPUP_EMPLOYEE_TRANSLATIONS);\n\tlocale = inject(LOCALE_ID);\n\tpublic transform(leaveEndsOn: Date, leaveEndIsFirstHalfDay: boolean): string {\n\t\tif (isToday(leaveEndsOn)) {\n\t\t\tif (leaveEndIsFirstHalfDay) {\n\t\t\t\treturn this.intl.EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING;\n\t\t\t} else {\n\t\t\t\treturn this.intl.EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL;\n\t\t\t}\n\t\t} else if (isTomorrow(leaveEndsOn)) {\n\t\t\tif (leaveEndIsFirstHalfDay) {\n\t\t\t\treturn this.intl.EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL;\n\t\t\t}\n\t\t\treturn this.intl.EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL;\n\t\t} else {\n\t\t\tif (leaveEndIsFirstHalfDay) {\n\t\t\t\treturn this.intl.EMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL.replace('{{date}}', formatDate(leaveEndsOn, 'longDate', this.locale));\n\t\t\t}\n\t\t\treturn this.intl.EMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL.replace('{{date}}', formatDate(leaveEndsOn, 'longDate', this.locale));\n\t\t}\n\t}\n}\n","/* eslint-disable @angular-eslint/no-input-rename */\n\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { AsyncPipe, DatePipe, NgClass, NgIf, NgOptimizedImage, NgSwitch, NgSwitchCase, NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Inject, Input, OnDestroy, Output, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { RouterLink } from '@angular/router';\nimport { ALuPopoverPanel, luTransformPopover } from '@lucca-front/ng/popover';\nimport { ILuUser, LuUserPictureModule } from '@lucca-front/ng/user';\nimport { BehaviorSubject, combineLatest, Observable, of, ReplaySubject, Subscription } from 'rxjs';\n\nimport { getIntl } from '@lucca-front/ng/core';\nimport { LuUserPopover } from '../../user-popover.model';\nimport { LU_POPUP_EMPLOYEE_TRANSLATIONS } from '../../popup-employee.translate';\nimport { LuUserPopoverStore } from '../../service/user-popover.store';\nimport { ILuUserPopoverStore } from '../../service/user-popover-service.model';\nimport { InjectParameterPipe } from '../pipe/inject-parameter.pipe';\nimport { isFutureOrTodayPipe, IsFuturePipe } from '../pipe/is-future.pipe';\nimport { LeaveEndsDisplayPipe } from '../pipe/leave-ends-display.pipe';\nimport { ILuUserPopoverPanel } from './user-popover-panel.model';\nimport { catchError, map, switchMap, tap } from 'rxjs/operators';\n\n@Component({\n\tstandalone: true,\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'lu-user-popover-panel',\n\ttemplateUrl: './user-popover-panel.component.html',\n\tstyleUrls: ['./user-popover-panel.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\tanimations: [luTransformPopover],\n\texportAs: 'LuUserPopoverPanel',\n\timports: [\n\t\tLuUserPictureModule,\n\t\tNgClass,\n\t\tRouterLink,\n\t\tNgIf,\n\t\tNgTemplateOutlet,\n\t\tDatePipe,\n\t\tOverlayModule,\n\t\tLeaveEndsDisplayPipe,\n\t\tAsyncPipe,\n\t\tIsFuturePipe,\n\t\tisFutureOrTodayPipe,\n\t\tInjectParameterPipe,\n\t\tNgSwitch,\n\t\tNgSwitchCase,\n\t\tNgOptimizedImage,\n\t],\n})\nexport class LuUserPopoverPanelComponent extends ALuPopoverPanel implements ILuUserPopoverPanel, OnDestroy {\n\t#user$ = new ReplaySubject<ILuUser>();\n\t#errorImage$ = new BehaviorSubject<boolean>(false);\n\tpublic employee$: Observable<LuUserPopover> = this.#user$.pipe(\n\t\tswitchMap((user) =>\n\t\t\tthis._service.get(user.id).pipe(\n\t\t\t\tcatchError(() =>\n\t\t\t\t\tof({\n\t\t\t\t\t\tid: user.id,\n\t\t\t\t\t\tfirstName: user.firstName,\n\t\t\t\t\t\tlastName: user.lastName,\n\t\t\t\t\t\tleaveEndIsFirstHalfDay: false,\n\t\t\t\t\t}),\n\t\t\t\t),\n\t\t\t),\n\t\t),\n\t\ttap(() => this.overlayRef.updatePosition()),\n\t);\n\n\tpublic userPictureDisplay$ = combineLatest([this.employee$, this.#errorImage$]).pipe(\n\t\tmap(([employee, isError]) => {\n\t\t\tif (employee.pictureHref && !isError) {\n\t\t\t\treturn 'img';\n\t\t\t} else {\n\t\t\t\treturn 'initials';\n\t\t\t}\n\t\t}),\n\t);\n\n\tpictureError() {\n\t\tthis.#errorImage$.next(true);\n\t}\n\n\tpublic userPictureHref$ = this.employee$.pipe(map((employee) => employee.pictureHref));\n\n\tpublic userInitials$ = this.employee$.pipe(\n\t\t// TODO: verifier s'il y a besoin de créer un lien avec la locale\n\t\tmap((employee) => {\n\t\t\tconst initials = `${employee.firstName[0]}${employee.lastName[0]}`;\n\n\t\t\treturn {\n\t\t\t\tinitials,\n\t\t\t\tcolor: `${employee.firstName} ${employee.lastName}`.split('').reduce((sum, a) => sum + a.charCodeAt(0), 0) % 360,\n\t\t\t};\n\t\t}),\n\t);\n\n\tintl = getIntl(LU_POPUP_EMPLOYEE_TRANSLATIONS);\n\n\tpublic set user(user: ILuUser) {\n\t\tif (user) {\n\t\t\tthis.#user$.next(user);\n\t\t\tthis._changeDetectorRef.markForCheck();\n\t\t}\n\t}\n\n\t/**\n\t * This method takes classes set on the host lu-popover element and applies them on the\n\t * popover template that displays in the overlay container. Otherwise, it's difficult\n\t * to style the containing popover from outside the component.\n\t * @param classes list of class names\n\t */\n\t@Input('panel-classes')\n\tpublic set inputPanelClasses(classes: string) {\n\t\tthis.panelClasses = classes;\n\t}\n\n\t/**\n\t * This method takes classes set on the host lu-popover element and applies them on the\n\t * popover template that displays in the overlay container. Otherwise, it's difficult\n\t * to style the containing popover from outside the component.\n\t * @param classes list of class names\n\t */\n\t@Input('content-classes')\n\tpublic set inputContentClasses(classes: string) {\n\t\tthis.contentClasses = classes;\n\t}\n\n\t/** Event emitted when the popover is closed. */\n\t// eslint-disable-next-line @angular-eslint/no-output-native\n\t@Output() public override close = new EventEmitter<void>();\n\t// eslint-disable-next-line @angular-eslint/no-output-native\n\t@Output() public override open = new EventEmitter<void>();\n\t@Output() public override hovered = new EventEmitter<boolean>();\n\n\t@ViewChild(TemplateRef, { static: true })\n\tpublic set vcTemplateRef(tr: TemplateRef<unknown>) {\n\t\tthis.templateRef = tr;\n\t}\n\n\tprivate _subs = new Subscription();\n\n\tpublic constructor(private _changeDetectorRef: ChangeDetectorRef, @Inject(LuUserPopoverStore) private _service: ILuUserPopoverStore) {\n\t\tsuper();\n\t}\n\n\tpublic ngOnDestroy() {\n\t\tthis.onClose();\n\t\tthis.close.complete();\n\t\tthis._subs.unsubscribe();\n\t}\n\n\tpublic _emitCloseEvent(): void {\n\t\tthis.close.emit();\n\t}\n\n\tpublic _emitOpenEvent(): void {\n\t\tthis.open.emit();\n\t}\n\n\tpublic _emitHoveredEvent(hovered: boolean): void {\n\t\tthis.hovered.emit(hovered);\n\t}\n\n\tpublic override onOpen() {\n\t\tthis.focusFirstItem();\n\t}\n\n\tprivate focusFirstItem() {\n\t\t// const firstItem = this._items[0];\n\t\t// if (firstItem) {\n\t\t// firstItem.focus();\n\t\t// }\n\t}\n}\n","<div\n\tclass=\"lu-popover-panel mod-cornerRounded mod-XL mod-boxShadowXL\"\n\t[ngClass]=\"panelClassesMap\"\n\t[attr.id]=\"panelId\"\n\t[attr.aria-labelledby]=\"triggerId\"\n\t[@transformPopover]=\"'enter'\"\n\t(focus)=\"onMouseOver()\"\n\t(mouseover)=\"onMouseOver()\"\n\t(mouseleave)=\"onMouseLeave()\"\n\t(mousedown)=\"onMouseDown()\"\n>\n\t<div *ngIf=\"employee$ | async as employee\" class=\"lu-popover-content userPopover\">\n\t\t<div class=\"userPopover-details\">\n\t\t\t<div [ngSwitch]=\"userPictureDisplay$ | async\" class=\"userPopover-details-avatar\">\n\t\t\t\t<ng-container *ngSwitchCase=\"'img'\">\n\t\t\t\t\t<img class=\"picture\" [src]=\"userPictureHref$ | async\" [alt]=\"(userInitials$ | async)?.initials\" (error)=\"pictureError()\" />\n\t\t\t\t</ng-container>\n\t\t\t\t<ng-container *ngSwitchCase=\"'initials'\">\n\t\t\t\t\t<div class=\"picture\" *ngIf=\"userInitials$ | async as initials\" style.background-color=\"hsl({{initials.color}}, 60%, 60%)\">\n\t\t\t\t\t\t<span class=\"userPicture-initials\">{{ initials.initials }}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</ng-container>\n\t\t\t</div>\n\t\t\t<div class=\"userPopover-details-info\">\n\t\t\t\t<h3 class=\"userPopover-details-info-name\">\n\t\t\t\t\t<div *ngIf=\"!employee._links?.hrCard?.href; else fullNameDisplayLink\">\n\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"fullNameDisplay\" />\n\t\t\t\t\t</div>\n\t\t\t\t</h3>\n\t\t\t\t<ng-template #fullNameDisplayLink>\n\t\t\t\t\t<a class=\"userPopover-details-info-name-link\" [href]=\"employee._links?.hrCard?.href\">\n\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"fullNameDisplay\" />\n\t\t\t\t\t</a>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-template #fullNameDisplay> {{employee.firstName}} {{employee.lastName}} </ng-template>\n\n\t\t\t\t<p *ngIf=\"employee.jobTitle\" class=\"userPopover-details-info-detail\">{{employee.jobTitle}}</p>\n\t\t\t\t<p *ngIf=\"employee.userDepartment\" class=\"userPopover-details-info-detail\">{{employee.userDepartment?.name}}</p>\n\n\t\t\t\t<p class=\"userPopover-details-info-detail\">\n\t\t\t\t\t<!-- HORS CONTRAT-->\n\t\t\t\t\t<span *ngIf=\"employee.dtContractStart | isFuture\" class=\"userPopover-details-info-detail-workplace\">\n\t\t\t\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-calendarPlanning mod-S\"></span>\n\t\t\t\t\t\t<span class=\"userPopover-details-info-detail-link-state\">\n\t\t\t\t\t\t\t{{intl.EMPLOYEE_CARD_PANEL_COMING_ON_LABEL | injectParameter : (employee.dtContractStart | date: 'longDate') }}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</span>\n\t\t\t\t\t<span\n\t\t\t\t\t\t*ngIf=\"!(employee.dtContractStart | isFuture) && !(employee.dtContractEnd | isFutureOrToday)\"\n\t\t\t\t\t\tclass=\"userPopover-details-info-detail-workplace\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-calendarStrikethrough mod-S\"></span>\n\t\t\t\t\t\t<span class=\"userPopover-details-info-detail-link-state\"> {{intl.EMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL }} </span>\n\t\t\t\t\t</span>\n\t\t\t\t\t<!-- EN CONTRAT-->\n\t\t\t\t\t<a\n\t\t\t\t\t\t*ngIf=\"employee._links?.schedule && !(employee.dtContractStart | isFuture) && (employee.dtContractEnd | isFutureOrToday)\"\n\t\t\t\t\t\tclass=\"userPopover-details-info-detail-workplace mod-link\"\n\t\t\t\t\t\t[href]=\"employee._links?.schedule?.href\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<span\n\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\tclass=\"lucca-icon mod-S\"\n\t\t\t\t\t\t\t[class.icon-mapPin]=\"employee.isWorkingNow && employee.currentWorkLocation\"\n\t\t\t\t\t\t\t[class.icon-calendarPlanning]=\"!employee.isWorkingNow || !employee.currentWorkLocation\"\n\t\t\t\t\t\t></span>\n\t\t\t\t\t\t<span class=\"userPopover-details-info-detail-workplace-state\">\n\t\t\t\t\t\t\t<ng-container *ngIf=\"employee.isWorkingNow === true\">\n\t\t\t\t\t\t\t\t<ng-container *ngIf=\"employee.currentWorkLocation\">\n\t\t\t\t\t\t\t\t\t{{ employee.currentWorkLocation?.name }}\n\t\t\t\t\t\t\t\t\t<ng-container *ngIf=\"employee.currentWorkLocation?.area\">\n\t\t\t\t\t\t\t\t\t\t-\n\t\t\t\t\t\t\t\t\t\t<span class=\"u-textGrey600\">{{employee.currentWorkLocation?.area?.name}}</span>\n\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t<ng-container *ngIf=\"!employee.currentWorkLocation\"> {{intl.EMPLOYEE_CARD_PANEL_PRESENT_LABEL }} </ng-container>\n\t\t\t\t\t\t\t</ng-container>\n\n\t\t\t\t\t\t\t<ng-container *ngIf=\"employee.isWorkingNow === false\">\n\t\t\t\t\t\t\t\t<ng-container *ngIf=\"!(employee.dtContractStart | isFuture) && (employee.dtContractEnd | isFutureOrToday)\">\n\t\t\t\t\t\t\t\t\t{{ intl.EMPLOYEE_CARD_PANEL_ABSENCE_LABEL }}\n\t\t\t\t\t\t\t\t\t<span *ngIf=\"employee.leaveEndsOn\" class=\"u-textGrey600\">\n\t\t\t\t\t\t\t\t\t\t- {{ employee.leaveEndsOn | leaveEndsDisplay: employee.leaveEndIsFirstHalfDay }}\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</a>\n\t\t\t\t</p>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n","import { Observable, of } from 'rxjs';\nimport { importProvidersFrom, inject, InjectionToken, makeEnvironmentProviders } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport { catchError, map, shareReplay } from 'rxjs/operators';\nimport { OverlayModule } from '@angular/cdk/overlay';\n\nexport const USER_POPOVER_IS_ACTIVATED = new InjectionToken<Observable<boolean>>('user-popover-is-activated', {\n\tfactory: () =>\n\t\tinject(HttpClient)\n\t\t\t.get<{ key: string; status: string }>('/lucca-banner/meta/api/feature-flag-statuses/user-popover-is-activated')\n\t\t\t.pipe(\n\t\t\t\tmap((flag) => flag.status === 'Enabled'),\n\t\t\t\tcatchError(() => of(false)),\n\t\t\t\tshareReplay(1),\n\t\t\t),\n});\n\nexport function provideLuUserPopover() {\n\treturn makeEnvironmentProviders([importProvidersFrom(OverlayModule)]);\n}\n","/* eslint-disable @angular-eslint/no-output-on-prefix */\n/* eslint-disable @angular-eslint/no-input-rename */\n\nimport { FlexibleConnectedPositionStrategy, Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { AfterViewInit, Directive, ElementRef, HostBinding, HostListener, inject, Input, OnDestroy, ViewContainerRef } from '@angular/core';\nimport { ALuPopoverTrigger, LuPopoverScrollStrategy, LuPopoverTarget } from '@lucca-front/ng/popover';\nimport { ILuUser } from '@lucca-front/ng/user';\nimport { LuUserPopoverPanelComponent } from '../panel/user-popover-panel.component';\nimport { Observable } from 'rxjs';\nimport { USER_POPOVER_IS_ACTIVATED } from '../../user-popover.providers';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\n/**\n * This directive is intended to be used in conjunction with an lu-dropdown tag. It is\n * responsible for toggling the display of the provided dropdown instance.\n */\n@Directive({\n\t// eslint-disable-next-line @angular-eslint/directive-selector\n\tselector: '[luUserPopover]',\n\tstandalone: true,\n\texportAs: 'LuUserPopoverDirective',\n})\nexport class LuUserPopoverDirective extends ALuPopoverTrigger<LuUserPopoverPanelComponent, LuPopoverTarget> implements AfterViewInit, OnDestroy {\n\t@Input('luUserPopover')\n\tpublic set user(c: ILuUser) {\n\t\tif (this.panel) {\n\t\t\tthis.panel.user = c;\n\t\t}\n\t\tthis._user = c;\n\t}\n\n\t/** when trigger = hover, delay before the popover panel appears, default 300ms */\n\t@Input('luUserPopoverEnterDelay')\n\tpublic set inputEnterDelay(d: number) {\n\t\tthis.enterDelay = d;\n\t}\n\n\t/** when trigger = hover, delay before the popover panel disappears, default 100ms */\n\t@Input('luUserPopoverLeaveDelay')\n\tpublic set inputLeaveDelay(d: number) {\n\t\tthis.leaveDelay = d;\n\t}\n\n\t// TODO : put this back when uniform alignment and position\n\t// /** how you want to position the panel relative to the target, allowed values: above, below, before, after */\n\t// @Input('luEmployeeCardPosition') public set inputPosition(pos: LuPopoverPosition) {\n\t// \tthis.target.position = pos;\n\t// }\n\t// /** how the panel will be aligned with the target, allowed values: top, bottom, left, right */\n\t// @Input('luEmployeeCardAlignment') public set inputAlignment(al: LuPopoverAlignment) {\n\t// \tthis.target.alignment = al;\n\t// }\n\t/** disable popover apparition */\n\t@Input('luUserPopoverDisabled')\n\tpublic set inputDisabled(d: boolean) {\n\t\tthis.disabled = d;\n\t}\n\n\t/** accessibility attribute - dont override */\n\t@HostBinding('attr.aria-expanded')\n\tpublic get _attrAriaExpanded() {\n\t\treturn this._popoverOpen;\n\t}\n\n\t/** accessibility attribute - dont override */\n\t@HostBinding('attr.id')\n\tpublic get _attrId() {\n\t\treturn this._triggerId;\n\t}\n\n\t/** accessibility attribute - dont override */\n\t@HostBinding('attr.aria-controls')\n\tpublic get _attrAriaControls() {\n\t\treturn this._panelId;\n\t}\n\n\tprivate _handleTabindex = false;\n\t// @HostBinding('attr.tabindex') tabindex;\n\t// private set tabindex(i: number = null) {\n\n\t// }\n\n\t// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n\tprotected override _portal: ComponentPortal<LuUserPopoverPanelComponent>;\n\tprotected _user: ILuUser = { id: 0, firstName: '', lastName: '' };\n\n\tpublic constructor(protected override _overlay: Overlay, protected override _elementRef: ElementRef<HTMLElement>, protected override _viewContainerRef: ViewContainerRef) {\n\t\tsuper(_overlay, _elementRef, _viewContainerRef);\n\t\tthis.target = new LuPopoverTarget();\n\t\tthis.target.elementRef = this._elementRef;\n\t\tthis._triggerId = this._elementRef.nativeElement.getAttribute('id') || this._triggerId;\n\t\tthis.target.position = 'above';\n\t\tthis.target.alignment = 'left';\n\t\tthis.triggerEvent = 'none';\n\t\tthis.enterDelay = 300;\n\t\tthis.leaveDelay = 100;\n\n\t\tinject(USER_POPOVER_IS_ACTIVATED)\n\t\t\t.pipe(takeUntilDestroyed())\n\t\t\t.subscribe((isActivated) => {\n\t\t\t\tthis.triggerEvent = isActivated ? 'hover' : 'none';\n\t\t\t});\n\n\t\tthis._handleTabindex = this._shouldHandleTabindex();\n\n\t\tif (this._handleTabindex) {\n\t\t\tthis._setTabindex(0);\n\t\t}\n\t}\n\n\t@HostListener('mouseenter')\n\tpublic override onMouseEnter() {\n\t\tsuper.onMouseEnter();\n\t}\n\n\t@HostListener('mouseleave')\n\tpublic override onMouseLeave() {\n\t\tsuper.onMouseLeave();\n\t}\n\n\t@HostListener('focus')\n\tpublic override onFocus() {\n\t\tsuper.onFocus();\n\t}\n\n\t@HostListener('blur')\n\tpublic override onBlur() {\n\t\tsuper.onBlur();\n\t}\n\n\tpublic ngAfterViewInit() {\n\t\tthis._checkTarget();\n\t}\n\n\tpublic ngOnDestroy() {\n\t\tthis._cleanUpSubscriptions();\n\t\tif (this._popoverOpen) {\n\t\t\tthis.closePopover();\n\t\t}\n\t\tthis.destroyPopover();\n\t}\n\n\tprotected override _createOverlay(): OverlayRef {\n\t\tif (!this._overlayRef) {\n\t\t\tthis._portal = new ComponentPortal(LuUserPopoverPanelComponent, this._viewContainerRef);\n\t\t\tconst config = this._getOverlayConfig();\n\t\t\tthis._subscribeToPositions(config.positionStrategy as FlexibleConnectedPositionStrategy);\n\t\t\tthis._overlayRef = this._overlay.create(config);\n\t\t}\n\n\t\treturn this._overlayRef;\n\t}\n\n\tprotected override _attachPortalToOverlay(): void {\n\t\tconst componentRef = this._overlayRef.attach(this._portal);\n\t\tthis._panel = componentRef.instance;\n\t\tthis._panel.user = this._user;\n\t\tthis._panel.overlayRef = this._overlayRef;\n\t}\n\n\tprotected override _getPanelScrollStrategy(): LuPopoverScrollStrategy {\n\t\treturn 'close';\n\t}\n\n\tprivate _shouldHandleTabindex(): boolean {\n\t\tconst tag = this._elementRef.nativeElement.tagName?.toLowerCase();\n\t\t// https://allyjs.io/data-tables/focusable.html\n\t\t// i'm choosing to not support area and iframe, dont @ me\n\t\tconst nativelyFocusableTags = ['a', 'button', 'input', 'select', 'textarea'];\n\t\tconst isNatevelyFocusableTag = nativelyFocusableTags.includes(tag);\n\n\t\tconst hasATabIndex = this._elementRef.nativeElement.getAttribute('tabindex') !== null;\n\n\t\treturn !isNatevelyFocusableTag && !hasATabIndex;\n\t}\n\n\t// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n\tprivate _setTabindex(i: number = null): void {\n\t\tthis._elementRef.nativeElement.setAttribute('tabindex', `${i}`);\n\t}\n\n\t// Mandatory but useless\n\tonClose: Observable<void>;\n\tonOpen: Observable<void>;\n\n\tprotected override _emitOpen(): void {}\n\n\tprotected override _emitClose(): void {}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGO,MAAM,8BAA8B,GAAG,IAAI,cAAc,CAAC,6BAA6B,EAAE;AAC/F,IAAA,OAAO,EAAE,MAAM,2BAA2B;AAC1C,CAAA,CAAC,CAAC;AAgBI,MAAM,2BAA2B,GAAgD;AACvF,IAAA,EAAE,EAAE;AACH,QAAA,mCAAmC,EAAE,8BAA8B;AACnE,QAAA,iCAAiC,EAAE,QAAQ;AAC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AA,CAAA;sBADzB,KAAK;uBAAC,yBAAyB,CAAA;gBAgBrB,aAAa,EAAA,CAAA;sBADvB,KAAK;uBAAC,uBAAuB,CAAA;gBAOnB,iBAAiB,EAAA,CAAA;sBAD3B,WAAW;uBAAC,oBAAoB,CAAA;gBAOtB,OAAO,EAAA,CAAA;sBADjB,WAAW;uBAAC,SAAS,CAAA;gBAOX,iBAAiB,EAAA,CAAA;sBAD3B,WAAW;uBAAC,oBAAoB,CAAA;gBAwCjB,YAAY,EAAA,CAAA;sBAD3B,YAAY;uBAAC,YAAY,CAAA;gBAMV,YAAY,EAAA,CAAA;sBAD3B,YAAY;uBAAC,YAAY,CAAA;gBAMV,OAAO,EAAA,CAAA;sBADtB,YAAY;uBAAC,OAAO,CAAA;gBAML,MAAM,EAAA,CAAA;sBADrB,YAAY;uBAAC,MAAM,CAAA;;;AC9HrB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-popup-employee.mjs","sources":["../../../packages/ng/popup-employee/translations.ts","../../../packages/ng/popup-employee/popup-employee.translate.ts","../../../packages/ng/popup-employee/service/user-popover.store.ts","../../../packages/ng/popup-employee/card/pipe/inject-parameter.pipe.ts","../../../packages/ng/popup-employee/card/pipe/is-future.pipe.ts","../../../packages/ng/popup-employee/card/pipe/leave-ends-display.pipe.ts","../../../packages/ng/popup-employee/card/panel/user-popover-panel.component.ts","../../../packages/ng/popup-employee/card/panel/user-popover-panel.component.html","../../../packages/ng/popup-employee/user-popover.providers.ts","../../../packages/ng/popup-employee/card/trigger/user-popover-trigger.directive.ts","../../../packages/ng/popup-employee/lucca-front-ng-popup-employee.ts"],"sourcesContent":["export const Translations = {\n\ten: {\n\t\tEMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Arrival expected on {{date}}',\n\t\tEMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Absent',\n\t\tEMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Morning',\n\t\tEMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Present',\n\t\tEMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Left',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: 'Today',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'This morning',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: 'Until tomorrow',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Until tomorrow morning',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Until {{date}} inclusive',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: 'Until {{date}} morning',\n\t},\n\tde: {\n\t\tEMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Geplanter Dienstantritt am {{date}}',\n\t\tEMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Abwesend',\n\t\tEMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Vormittag',\n\t\tEMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Anwesend',\n\t\tEMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Ausgeschieden',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: 'Heute',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'Heute Morgen',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: 'Bis morgen',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Bis morgen Vormittag',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Bis einschließlich {{date}}',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: 'Bis {{date}} morgens',\n\t},\n\tfr: {\n\t\tEMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Arrivée prévue le {{date}}',\n\t\tEMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Absent',\n\t\tEMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Matin',\n\t\tEMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Présent(e)',\n\t\tEMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Parti(e)',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: \"Aujourd'hui\",\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'Ce matin',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: \"Jusqu'à demain\",\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Jusqu’à demain matin',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: \"Jusqu'au {{date}} inclus\",\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: \"Jusqu'au {{date}} matin\",\n\t},\n\tit: {\n\t\tEMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Arrivo previsto il{{date}}',\n\t\tEMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Assente',\n\t\tEMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Mattina',\n\t\tEMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Presente',\n\t\tEMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Ex',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: 'Oggi',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'Questa mattina',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: 'Fino a domani',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Fino a domani mattina',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Fino al {{date}} incluso',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: 'Fino al mattino del {{date}}',\n\t},\n\tnl: {\n\t\tEMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Verwachte aankomst op {{date}}',\n\t\tEMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Afwezig',\n\t\tEMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Ochtend',\n\t\tEMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Aanwezig',\n\t\tEMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Vertrokken',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: 'Vandaag',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'Vanochtend',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: 'Tot morgen',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Tot morgenochtend',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Tot en met {{date}}',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: 'Tot {{date}} ochtend',\n\t},\n\t'nl-BE': {\n\t\tEMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Verwachte aankomst op {{date}}',\n\t\tEMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Afwezig',\n\t\tEMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Ochtend',\n\t\tEMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Aanwezig',\n\t\tEMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Vertrokken',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: 'Vandaag',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'Vanochtend',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: 'Tot morgen',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Tot morgenochtend',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Tot en met {{date}}',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: 'Tot {{date}} ochtend',\n\t},\n\tes: {\n\t\tEMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Llegada prevista el {{date}}',\n\t\tEMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Ausente',\n\t\tEMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Por la mañana',\n\t\tEMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Presente',\n\t\tEMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Se ha marchado',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: 'Hoy',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'Esta mañana',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: 'Hasta mañana',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Hasta mañana por la mañana',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Hasta el {{date}} incluido',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: 'Hasta el {{date}} por la mañana',\n\t},\n\tpt: {\n\t\tEMPLOYEE_CARD_PANEL_COMING_ON_LABEL: 'Chegada prevista para {{date}}',\n\t\tEMPLOYEE_CARD_PANEL_ABSENCE_LABEL: 'Ausente',\n\t\tEMPLOYEE_CARD_PANEL_MORNING_LABEL: 'Manhã',\n\t\tEMPLOYEE_CARD_PANEL_PRESENT_LABEL: 'Presente',\n\t\tEMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: 'Papel',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: 'Até hoje',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: 'Esta manhã',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: 'Até amanhã',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: 'Até amanhã de manhã',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: 'Até {{date}} incluído',\n\t\tEMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: 'Até {{date}} de manhã',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_POPUP_EMPLOYEE_TRANSLATIONS = new InjectionToken('LuPopupEmployeeTranslations', {\n\tfactory: () => luPopupEmployeeTranslations,\n});\n\nexport interface LuPopupEmployeeTranslations {\n\tEMPLOYEE_CARD_PANEL_COMING_ON_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_ABSENCE_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_MORNING_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_PRESENT_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: string;\n\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: string;\n\tEMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: string;\n}\n\nexport const luPopupEmployeeTranslations: LuTranslation<LuPopupEmployeeTranslations> = Translations;\n","import { HttpClient } from '@angular/common/http';\nimport { inject, Injectable } from '@angular/core';\nimport { Observable, OperatorFunction } from 'rxjs';\nimport { shareReplay } from 'rxjs/operators';\n\nimport { ILuUserPopoverStore } from './user-popover-service.model';\nimport { LuUserPopover } from '../user-popover.model';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\nexport class LuUserPopoverStore implements ILuUserPopoverStore {\n\t#http = inject(HttpClient);\n\t#cache = new Map<number, Observable<LuUserPopover>>();\n\tprotected _api = '/work-locations/api/employee-profile-card';\n\n\tpublic get(id: number): Observable<LuUserPopover> {\n\t\tif (this.#cache.has(id)) {\n\t\t\treturn this.#cache.get(id)!;\n\t\t}\n\t\tconst userPopoverObservable = this.#http.get<LuUserPopover>(`${this._api}/${id}`).pipe(\n\t\t\tcacheImage((c) => c.pictureHref),\n\t\t\tshareReplay(1),\n\t\t);\n\n\t\tthis.#cache.set(id, userPopoverObservable);\n\t\treturn userPopoverObservable;\n\t}\n\n\tpublic clearCache(userId?: number) {\n\t\tif (userId) {\n\t\t\tthis.#cache.delete(userId);\n\t\t} else {\n\t\t\tthis.#cache.clear();\n\t\t}\n\t}\n}\n\nexport function cacheImage<T>(accessor: (value: T) => string | undefined): OperatorFunction<T, T> {\n\treturn (source: Observable<T>): Observable<T> =>\n\t\tnew Observable((subscriber) => {\n\t\t\tsource.subscribe({\n\t\t\t\tnext(value) {\n\t\t\t\t\tconst imagePath = accessor(value);\n\t\t\t\t\tif (!imagePath) {\n\t\t\t\t\t\tsubscriber.next(value);\n\t\t\t\t\t}\n\t\t\t\t\tconst img = new Image();\n\t\t\t\t\timg.src = imagePath!;\n\t\t\t\t\timg.onload = () => {\n\t\t\t\t\t\tsubscriber.next(value);\n\t\t\t\t\t};\n\t\t\t\t\timg.onerror = () => {\n\t\t\t\t\t\tsubscriber.next(value);\n\t\t\t\t\t};\n\t\t\t\t},\n\t\t\t});\n\t\t});\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n// TODO Remplacer par la version de Flavien\n@Pipe({\n\tname: 'injectParameter',\n\tstandalone: true,\n})\nexport class InjectParameterPipe implements PipeTransform {\n\tpublic transform(value: string, date: string): string {\n\t\treturn value.replace('{{date}}', date);\n\t}\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { isFuture, isToday } from 'date-fns';\n\n@Pipe({\n\tname: 'isFuture',\n\tstandalone: true,\n})\nexport class IsFuturePipe implements PipeTransform {\n\tpublic transform(value: Date | undefined): boolean {\n\t\treturn !!value && isFuture(value);\n\t}\n}\n\n@Pipe({\n\tname: 'isFutureOrToday',\n\tstandalone: true,\n})\nexport class isFutureOrTodayPipe implements PipeTransform {\n\tpublic transform(value: Date | undefined): boolean {\n\t\treturn !value || isFuture(value) || isToday(value);\n\t}\n}\n","import { inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core';\nimport { isToday, isTomorrow } from 'date-fns';\nimport { getIntl } from '@lucca-front/ng/core';\nimport { LU_POPUP_EMPLOYEE_TRANSLATIONS } from '../../popup-employee.translate';\nimport { formatDate } from '@angular/common';\n\n@Pipe({\n\tname: 'leaveEndsDisplay',\n\tstandalone: true,\n})\nexport class LeaveEndsDisplayPipe implements PipeTransform {\n\tintl = getIntl(LU_POPUP_EMPLOYEE_TRANSLATIONS);\n\tlocale = inject(LOCALE_ID);\n\tpublic transform(leaveEndsOn: Date, leaveEndIsFirstHalfDay: boolean): string {\n\t\tif (isToday(leaveEndsOn)) {\n\t\t\tif (leaveEndIsFirstHalfDay) {\n\t\t\t\treturn this.intl.EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING;\n\t\t\t} else {\n\t\t\t\treturn this.intl.EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL;\n\t\t\t}\n\t\t} else if (isTomorrow(leaveEndsOn)) {\n\t\t\tif (leaveEndIsFirstHalfDay) {\n\t\t\t\treturn this.intl.EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL;\n\t\t\t}\n\t\t\treturn this.intl.EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL;\n\t\t} else {\n\t\t\tif (leaveEndIsFirstHalfDay) {\n\t\t\t\treturn this.intl.EMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL.replace('{{date}}', formatDate(leaveEndsOn, 'longDate', this.locale));\n\t\t\t}\n\t\t\treturn this.intl.EMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL.replace('{{date}}', formatDate(leaveEndsOn, 'longDate', this.locale));\n\t\t}\n\t}\n}\n","/* eslint-disable @angular-eslint/no-input-rename */\n\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { AsyncPipe, DatePipe, NgClass, NgIf, NgOptimizedImage, NgSwitch, NgSwitchCase, NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Inject, Input, OnDestroy, Output, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { RouterLink } from '@angular/router';\nimport { ALuPopoverPanel, luTransformPopover } from '@lucca-front/ng/popover';\nimport { ILuUser, LuUserPictureModule } from '@lucca-front/ng/user';\nimport { BehaviorSubject, combineLatest, Observable, of, ReplaySubject, Subscription } from 'rxjs';\n\nimport { getIntl } from '@lucca-front/ng/core';\nimport { LuUserPopover } from '../../user-popover.model';\nimport { LU_POPUP_EMPLOYEE_TRANSLATIONS } from '../../popup-employee.translate';\nimport { LuUserPopoverStore } from '../../service/user-popover.store';\nimport { ILuUserPopoverStore } from '../../service/user-popover-service.model';\nimport { InjectParameterPipe } from '../pipe/inject-parameter.pipe';\nimport { isFutureOrTodayPipe, IsFuturePipe } from '../pipe/is-future.pipe';\nimport { LeaveEndsDisplayPipe } from '../pipe/leave-ends-display.pipe';\nimport { ILuUserPopoverPanel } from './user-popover-panel.model';\nimport { catchError, map, switchMap, tap } from 'rxjs/operators';\n\n@Component({\n\tstandalone: true,\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'lu-user-popover-panel',\n\ttemplateUrl: './user-popover-panel.component.html',\n\tstyleUrls: ['./user-popover-panel.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tencapsulation: ViewEncapsulation.None,\n\tanimations: [luTransformPopover],\n\texportAs: 'LuUserPopoverPanel',\n\timports: [\n\t\tLuUserPictureModule,\n\t\tNgClass,\n\t\tRouterLink,\n\t\tNgIf,\n\t\tNgTemplateOutlet,\n\t\tDatePipe,\n\t\tOverlayModule,\n\t\tLeaveEndsDisplayPipe,\n\t\tAsyncPipe,\n\t\tIsFuturePipe,\n\t\tisFutureOrTodayPipe,\n\t\tInjectParameterPipe,\n\t\tNgSwitch,\n\t\tNgSwitchCase,\n\t\tNgOptimizedImage,\n\t],\n})\nexport class LuUserPopoverPanelComponent extends ALuPopoverPanel implements ILuUserPopoverPanel, OnDestroy {\n\t#user$ = new ReplaySubject<ILuUser>();\n\t#errorImage$ = new BehaviorSubject<boolean>(false);\n\tpublic employee$: Observable<LuUserPopover> = this.#user$.pipe(\n\t\tswitchMap((user) =>\n\t\t\tthis._service.get(user.id).pipe(\n\t\t\t\tcatchError(() =>\n\t\t\t\t\tof({\n\t\t\t\t\t\tid: user.id,\n\t\t\t\t\t\tfirstName: user.firstName,\n\t\t\t\t\t\tlastName: user.lastName,\n\t\t\t\t\t\tleaveEndIsFirstHalfDay: false,\n\t\t\t\t\t}),\n\t\t\t\t),\n\t\t\t),\n\t\t),\n\t\ttap(() => this.overlayRef.updatePosition()),\n\t);\n\n\tpublic userPictureDisplay$ = combineLatest([this.employee$, this.#errorImage$]).pipe(\n\t\tmap(([employee, isError]) => {\n\t\t\tif (employee.pictureHref && !isError) {\n\t\t\t\treturn 'img';\n\t\t\t} else {\n\t\t\t\treturn 'initials';\n\t\t\t}\n\t\t}),\n\t);\n\n\tpictureError() {\n\t\tthis.#errorImage$.next(true);\n\t}\n\n\tpublic userPictureHref$ = this.employee$.pipe(map((employee) => employee.pictureHref));\n\n\tpublic userInitials$ = this.employee$.pipe(\n\t\t// TODO: verifier s'il y a besoin de créer un lien avec la locale\n\t\tmap((employee) => {\n\t\t\tconst initials = `${employee.firstName[0]}${employee.lastName[0]}`;\n\n\t\t\treturn {\n\t\t\t\tinitials,\n\t\t\t\tcolor: `${employee.firstName} ${employee.lastName}`.split('').reduce((sum, a) => sum + a.charCodeAt(0), 0) % 360,\n\t\t\t};\n\t\t}),\n\t);\n\n\tintl = getIntl(LU_POPUP_EMPLOYEE_TRANSLATIONS);\n\n\tpublic set user(user: ILuUser) {\n\t\tif (user) {\n\t\t\tthis.#user$.next(user);\n\t\t\tthis._changeDetectorRef.markForCheck();\n\t\t}\n\t}\n\n\t/**\n\t * This method takes classes set on the host lu-popover element and applies them on the\n\t * popover template that displays in the overlay container. Otherwise, it's difficult\n\t * to style the containing popover from outside the component.\n\t * @param classes list of class names\n\t */\n\t@Input('panel-classes')\n\tpublic set inputPanelClasses(classes: string) {\n\t\tthis.panelClasses = classes;\n\t}\n\n\t/**\n\t * This method takes classes set on the host lu-popover element and applies them on the\n\t * popover template that displays in the overlay container. Otherwise, it's difficult\n\t * to style the containing popover from outside the component.\n\t * @param classes list of class names\n\t */\n\t@Input('content-classes')\n\tpublic set inputContentClasses(classes: string) {\n\t\tthis.contentClasses = classes;\n\t}\n\n\t/** Event emitted when the popover is closed. */\n\t// eslint-disable-next-line @angular-eslint/no-output-native\n\t@Output() public override close = new EventEmitter<void>();\n\t// eslint-disable-next-line @angular-eslint/no-output-native\n\t@Output() public override open = new EventEmitter<void>();\n\t@Output() public override hovered = new EventEmitter<boolean>();\n\n\t@ViewChild(TemplateRef, { static: true })\n\tpublic set vcTemplateRef(tr: TemplateRef<unknown>) {\n\t\tthis.templateRef = tr;\n\t}\n\n\tprivate _subs = new Subscription();\n\n\tpublic constructor(private _changeDetectorRef: ChangeDetectorRef, @Inject(LuUserPopoverStore) private _service: ILuUserPopoverStore) {\n\t\tsuper();\n\t}\n\n\tpublic ngOnDestroy() {\n\t\tthis.onClose();\n\t\tthis.close.complete();\n\t\tthis._subs.unsubscribe();\n\t}\n\n\tpublic _emitCloseEvent(): void {\n\t\tthis.close.emit();\n\t}\n\n\tpublic _emitOpenEvent(): void {\n\t\tthis.open.emit();\n\t}\n\n\tpublic _emitHoveredEvent(hovered: boolean): void {\n\t\tthis.hovered.emit(hovered);\n\t}\n\n\tpublic override onOpen() {\n\t\tthis.focusFirstItem();\n\t}\n\n\tprivate focusFirstItem() {\n\t\t// const firstItem = this._items[0];\n\t\t// if (firstItem) {\n\t\t// firstItem.focus();\n\t\t// }\n\t}\n}\n","<div\n\tclass=\"lu-popover-panel mod-cornerRounded mod-XL mod-boxShadowXL\"\n\t[ngClass]=\"panelClassesMap\"\n\t[attr.id]=\"panelId\"\n\t[attr.aria-labelledby]=\"triggerId\"\n\t[@transformPopover]=\"'enter'\"\n\t(focus)=\"onMouseOver()\"\n\t(mouseover)=\"onMouseOver()\"\n\t(mouseleave)=\"onMouseLeave()\"\n\t(mousedown)=\"onMouseDown()\"\n>\n\t<div *ngIf=\"employee$ | async as employee\" class=\"lu-popover-content userPopover\">\n\t\t<div class=\"userPopover-details\">\n\t\t\t<div [ngSwitch]=\"userPictureDisplay$ | async\" class=\"userPopover-details-avatar\">\n\t\t\t\t<ng-container *ngSwitchCase=\"'img'\">\n\t\t\t\t\t<img class=\"picture\" [src]=\"userPictureHref$ | async\" [alt]=\"(userInitials$ | async)?.initials\" (error)=\"pictureError()\" />\n\t\t\t\t</ng-container>\n\t\t\t\t<ng-container *ngSwitchCase=\"'initials'\">\n\t\t\t\t\t<div class=\"picture\" *ngIf=\"userInitials$ | async as initials\" style.background-color=\"hsl({{initials.color}}, 60%, 60%)\">\n\t\t\t\t\t\t<span class=\"userPicture-initials\">{{ initials.initials }}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</ng-container>\n\t\t\t</div>\n\t\t\t<div class=\"userPopover-details-info\">\n\t\t\t\t<h3 class=\"userPopover-details-info-name\">\n\t\t\t\t\t<div *ngIf=\"!employee._links?.hrCard?.href; else fullNameDisplayLink\">\n\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"fullNameDisplay\" />\n\t\t\t\t\t</div>\n\t\t\t\t</h3>\n\t\t\t\t<ng-template #fullNameDisplayLink>\n\t\t\t\t\t<a class=\"userPopover-details-info-name-link\" [href]=\"employee._links?.hrCard?.href\">\n\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"fullNameDisplay\" />\n\t\t\t\t\t</a>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-template #fullNameDisplay> {{employee.firstName}} {{employee.lastName}} </ng-template>\n\n\t\t\t\t<p *ngIf=\"employee.jobTitle\" class=\"userPopover-details-info-detail\">{{employee.jobTitle}}</p>\n\t\t\t\t<p *ngIf=\"employee.userDepartment\" class=\"userPopover-details-info-detail\">{{employee.userDepartment?.name}}</p>\n\n\t\t\t\t<p class=\"userPopover-details-info-detail\">\n\t\t\t\t\t<!-- HORS CONTRAT-->\n\t\t\t\t\t<span *ngIf=\"employee.dtContractStart | isFuture\" class=\"userPopover-details-info-detail-workplace\">\n\t\t\t\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-calendarPlanning mod-S\"></span>\n\t\t\t\t\t\t<span class=\"userPopover-details-info-detail-link-state\">\n\t\t\t\t\t\t\t{{intl.EMPLOYEE_CARD_PANEL_COMING_ON_LABEL | injectParameter : (employee.dtContractStart | date: 'longDate') }}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</span>\n\t\t\t\t\t<span\n\t\t\t\t\t\t*ngIf=\"!(employee.dtContractStart | isFuture) && !(employee.dtContractEnd | isFutureOrToday)\"\n\t\t\t\t\t\tclass=\"userPopover-details-info-detail-workplace\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-calendarStrikethrough mod-S\"></span>\n\t\t\t\t\t\t<span class=\"userPopover-details-info-detail-link-state\"> {{intl.EMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL }} </span>\n\t\t\t\t\t</span>\n\t\t\t\t\t<!-- EN CONTRAT-->\n\t\t\t\t\t<a\n\t\t\t\t\t\t*ngIf=\"employee._links?.schedule && !(employee.dtContractStart | isFuture) && (employee.dtContractEnd | isFutureOrToday)\"\n\t\t\t\t\t\tclass=\"userPopover-details-info-detail-workplace mod-link\"\n\t\t\t\t\t\t[href]=\"employee._links?.schedule?.href\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<span\n\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\tclass=\"lucca-icon mod-S\"\n\t\t\t\t\t\t\t[class.icon-mapPin]=\"employee.isWorkingNow && employee.currentWorkLocation\"\n\t\t\t\t\t\t\t[class.icon-calendarPlanning]=\"!employee.isWorkingNow || !employee.currentWorkLocation\"\n\t\t\t\t\t\t></span>\n\t\t\t\t\t\t<span class=\"userPopover-details-info-detail-workplace-state\">\n\t\t\t\t\t\t\t<ng-container *ngIf=\"employee.isWorkingNow === true\">\n\t\t\t\t\t\t\t\t<ng-container *ngIf=\"employee.currentWorkLocation\">\n\t\t\t\t\t\t\t\t\t{{ employee.currentWorkLocation?.name }}\n\t\t\t\t\t\t\t\t\t<ng-container *ngIf=\"employee.currentWorkLocation?.area\">\n\t\t\t\t\t\t\t\t\t\t-\n\t\t\t\t\t\t\t\t\t\t<span class=\"u-textGrey600\">{{employee.currentWorkLocation?.area?.name}}</span>\n\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t<ng-container *ngIf=\"!employee.currentWorkLocation\"> {{intl.EMPLOYEE_CARD_PANEL_PRESENT_LABEL }} </ng-container>\n\t\t\t\t\t\t\t</ng-container>\n\n\t\t\t\t\t\t\t<ng-container *ngIf=\"employee.isWorkingNow === false\">\n\t\t\t\t\t\t\t\t<ng-container *ngIf=\"!(employee.dtContractStart | isFuture) && (employee.dtContractEnd | isFutureOrToday)\">\n\t\t\t\t\t\t\t\t\t{{ intl.EMPLOYEE_CARD_PANEL_ABSENCE_LABEL }}\n\t\t\t\t\t\t\t\t\t<span *ngIf=\"employee.leaveEndsOn\" class=\"u-textGrey600\">\n\t\t\t\t\t\t\t\t\t\t- {{ employee.leaveEndsOn | leaveEndsDisplay: employee.leaveEndIsFirstHalfDay }}\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</a>\n\t\t\t\t</p>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n","import { Observable, of } from 'rxjs';\nimport { importProvidersFrom, inject, InjectionToken, makeEnvironmentProviders } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport { catchError, map, shareReplay } from 'rxjs/operators';\nimport { OverlayModule } from '@angular/cdk/overlay';\n\nexport const USER_POPOVER_IS_ACTIVATED = new InjectionToken<Observable<boolean>>('user-popover-is-activated', {\n\tfactory: () =>\n\t\tinject(HttpClient)\n\t\t\t.get<{ key: string; status: string }>('/lucca-banner/meta/api/feature-flag-statuses/user-popover-is-activated')\n\t\t\t.pipe(\n\t\t\t\tmap((flag) => flag.status === 'Enabled'),\n\t\t\t\tcatchError(() => of(false)),\n\t\t\t\tshareReplay(1),\n\t\t\t),\n});\n\nexport function provideLuUserPopover() {\n\treturn makeEnvironmentProviders([importProvidersFrom(OverlayModule)]);\n}\n","/* eslint-disable @angular-eslint/no-output-on-prefix */\n/* eslint-disable @angular-eslint/no-input-rename */\n\nimport { FlexibleConnectedPositionStrategy, Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { AfterViewInit, Directive, ElementRef, HostBinding, HostListener, inject, Input, OnDestroy, ViewContainerRef } from '@angular/core';\nimport { ALuPopoverTrigger, LuPopoverScrollStrategy, LuPopoverTarget } from '@lucca-front/ng/popover';\nimport { ILuUser } from '@lucca-front/ng/user';\nimport { LuUserPopoverPanelComponent } from '../panel/user-popover-panel.component';\nimport { Observable } from 'rxjs';\nimport { USER_POPOVER_IS_ACTIVATED } from '../../user-popover.providers';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\n/**\n * This directive is intended to be used in conjunction with an lu-dropdown tag. It is\n * responsible for toggling the display of the provided dropdown instance.\n */\n@Directive({\n\t// eslint-disable-next-line @angular-eslint/directive-selector\n\tselector: '[luUserPopover]',\n\tstandalone: true,\n\texportAs: 'LuUserPopoverDirective',\n})\nexport class LuUserPopoverDirective extends ALuPopoverTrigger<LuUserPopoverPanelComponent, LuPopoverTarget> implements AfterViewInit, OnDestroy {\n\t@Input('luUserPopover')\n\tpublic set user(c: ILuUser) {\n\t\tif (this.panel) {\n\t\t\tthis.panel.user = c;\n\t\t}\n\t\tthis._user = c;\n\t}\n\n\t/** when trigger = hover, delay before the popover panel appears, default 300ms */\n\t@Input('luUserPopoverEnterDelay')\n\tpublic set inputEnterDelay(d: number) {\n\t\tthis.enterDelay = d;\n\t}\n\n\t/** when trigger = hover, delay before the popover panel disappears, default 100ms */\n\t@Input('luUserPopoverLeaveDelay')\n\tpublic set inputLeaveDelay(d: number) {\n\t\tthis.leaveDelay = d;\n\t}\n\n\t// TODO : put this back when uniform alignment and position\n\t// /** how you want to position the panel relative to the target, allowed values: above, below, before, after */\n\t// @Input('luEmployeeCardPosition') public set inputPosition(pos: LuPopoverPosition) {\n\t// \tthis.target.position = pos;\n\t// }\n\t// /** how the panel will be aligned with the target, allowed values: top, bottom, left, right */\n\t// @Input('luEmployeeCardAlignment') public set inputAlignment(al: LuPopoverAlignment) {\n\t// \tthis.target.alignment = al;\n\t// }\n\t/** disable popover apparition */\n\t@Input('luUserPopoverDisabled')\n\tpublic set inputDisabled(d: boolean) {\n\t\tthis.disabled = d;\n\t}\n\n\t/** accessibility attribute - dont override */\n\t@HostBinding('attr.aria-expanded')\n\tpublic get _attrAriaExpanded() {\n\t\treturn this._popoverOpen;\n\t}\n\n\t/** accessibility attribute - dont override */\n\t@HostBinding('attr.id')\n\tpublic get _attrId() {\n\t\treturn this._triggerId;\n\t}\n\n\t/** accessibility attribute - dont override */\n\t@HostBinding('attr.aria-controls')\n\tpublic get _attrAriaControls() {\n\t\treturn this._panelId;\n\t}\n\n\tprivate _handleTabindex = false;\n\t// @HostBinding('attr.tabindex') tabindex;\n\t// private set tabindex(i: number = null) {\n\n\t// }\n\n\t// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n\tprotected override _portal: ComponentPortal<LuUserPopoverPanelComponent>;\n\tprotected _user: ILuUser = { id: 0, firstName: '', lastName: '' };\n\n\tpublic constructor(protected override _overlay: Overlay, protected override _elementRef: ElementRef<HTMLElement>, protected override _viewContainerRef: ViewContainerRef) {\n\t\tsuper(_overlay, _elementRef, _viewContainerRef);\n\t\tthis.target = new LuPopoverTarget();\n\t\tthis.target.elementRef = this._elementRef;\n\t\tthis._triggerId = this._elementRef.nativeElement.getAttribute('id') || this._triggerId;\n\t\tthis.target.position = 'above';\n\t\tthis.target.alignment = 'left';\n\t\tthis.triggerEvent = 'none';\n\t\tthis.enterDelay = 300;\n\t\tthis.leaveDelay = 100;\n\n\t\tinject(USER_POPOVER_IS_ACTIVATED)\n\t\t\t.pipe(takeUntilDestroyed())\n\t\t\t.subscribe((isActivated) => {\n\t\t\t\tthis.triggerEvent = isActivated ? 'hover' : 'none';\n\t\t\t});\n\n\t\tthis._handleTabindex = this._shouldHandleTabindex();\n\n\t\tif (this._handleTabindex) {\n\t\t\tthis._setTabindex(0);\n\t\t}\n\t}\n\n\t@HostListener('mouseenter')\n\tpublic override onMouseEnter() {\n\t\tsuper.onMouseEnter();\n\t}\n\n\t@HostListener('mouseleave')\n\tpublic override onMouseLeave() {\n\t\tsuper.onMouseLeave();\n\t}\n\n\t@HostListener('focus')\n\tpublic override onFocus() {\n\t\tsuper.onFocus();\n\t}\n\n\t@HostListener('blur')\n\tpublic override onBlur() {\n\t\tsuper.onBlur();\n\t}\n\n\tpublic ngAfterViewInit() {\n\t\tthis._checkTarget();\n\t}\n\n\tpublic ngOnDestroy() {\n\t\tthis._cleanUpSubscriptions();\n\t\tif (this._popoverOpen) {\n\t\t\tthis.closePopover();\n\t\t}\n\t\tthis.destroyPopover();\n\t}\n\n\tprotected override _createOverlay(): OverlayRef {\n\t\tif (!this._overlayRef) {\n\t\t\tthis._portal = new ComponentPortal(LuUserPopoverPanelComponent, this._viewContainerRef);\n\t\t\tconst config = this._getOverlayConfig();\n\t\t\tthis._subscribeToPositions(config.positionStrategy as FlexibleConnectedPositionStrategy);\n\t\t\tthis._overlayRef = this._overlay.create(config);\n\t\t}\n\n\t\treturn this._overlayRef;\n\t}\n\n\tprotected override _attachPortalToOverlay(): void {\n\t\tconst componentRef = this._overlayRef.attach(this._portal);\n\t\tthis._panel = componentRef.instance;\n\t\tthis._panel.user = this._user;\n\t\tthis._panel.overlayRef = this._overlayRef;\n\t}\n\n\tprotected override _getPanelScrollStrategy(): LuPopoverScrollStrategy {\n\t\treturn 'close';\n\t}\n\n\tprivate _shouldHandleTabindex(): boolean {\n\t\tconst tag = this._elementRef.nativeElement.tagName?.toLowerCase();\n\t\t// https://allyjs.io/data-tables/focusable.html\n\t\t// i'm choosing to not support area and iframe, dont @ me\n\t\tconst nativelyFocusableTags = ['a', 'button', 'input', 'select', 'textarea'];\n\t\tconst isNatevelyFocusableTag = nativelyFocusableTags.includes(tag);\n\n\t\tconst hasATabIndex = this._elementRef.nativeElement.getAttribute('tabindex') !== null;\n\n\t\treturn !isNatevelyFocusableTag && !hasATabIndex;\n\t}\n\n\t// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n\tprivate _setTabindex(i: number = null): void {\n\t\tthis._elementRef.nativeElement.setAttribute('tabindex', `${i}`);\n\t}\n\n\t// Mandatory but useless\n\tonClose: Observable<void>;\n\tonOpen: Observable<void>;\n\n\tprotected override _emitOpen(): void {}\n\n\tprotected override _emitClose(): void {}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;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AAA;;AAEV,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,iBAAA,CAAA;oIAGW,IAAI,EAAA,CAAA;sBADd,KAAK;uBAAC,eAAe,CAAA;gBAUX,eAAe,EAAA,CAAA;sBADzB,KAAK;uBAAC,yBAAyB,CAAA;gBAOrB,eAAe,EAAA,CAAA;sBADzB,KAAK;uBAAC,yBAAyB,CAAA;gBAgBrB,aAAa,EAAA,CAAA;sBADvB,KAAK;uBAAC,uBAAuB,CAAA;gBAOnB,iBAAiB,EAAA,CAAA;sBAD3B,WAAW;uBAAC,oBAAoB,CAAA;gBAOtB,OAAO,EAAA,CAAA;sBADjB,WAAW;uBAAC,SAAS,CAAA;gBAOX,iBAAiB,EAAA,CAAA;sBAD3B,WAAW;uBAAC,oBAAoB,CAAA;gBAwCjB,YAAY,EAAA,CAAA;sBAD3B,YAAY;uBAAC,YAAY,CAAA;gBAMV,YAAY,EAAA,CAAA;sBAD3B,YAAY;uBAAC,YAAY,CAAA;gBAMV,OAAO,EAAA,CAAA;sBADtB,YAAY;uBAAC,OAAO,CAAA;gBAML,MAAM,EAAA,CAAA;sBADrB,YAAY;uBAAC,MAAM,CAAA;;;AC9HrB;;AAEG;;;;"}
|
|
@@ -11,21 +11,38 @@ import { LuInputClearerComponent, LuInputDisplayerDirective } from '@lucca-front
|
|
|
11
11
|
import { LuOptionPickerAdvancedComponent, LuOptionItemComponent, LuForGroupsDirective } from '@lucca-front/ng/option';
|
|
12
12
|
import { ALuSelectInputComponent } from '@lucca-front/ng/select';
|
|
13
13
|
|
|
14
|
-
const
|
|
15
|
-
factory: () => luQualificationSelectInputTranslations,
|
|
16
|
-
});
|
|
17
|
-
const luQualificationSelectInputTranslations = {
|
|
14
|
+
const Translations = {
|
|
18
15
|
en: {
|
|
19
16
|
qualifications: 'qualifications',
|
|
20
17
|
},
|
|
18
|
+
de: {
|
|
19
|
+
qualifications: 'Qualifikationen',
|
|
20
|
+
},
|
|
21
21
|
fr: {
|
|
22
22
|
qualifications: 'qualifications',
|
|
23
23
|
},
|
|
24
|
+
it: {
|
|
25
|
+
qualifications: 'qualifiche',
|
|
26
|
+
},
|
|
27
|
+
nl: {
|
|
28
|
+
qualifications: 'kwalificaties',
|
|
29
|
+
},
|
|
30
|
+
'nl-BE': {
|
|
31
|
+
qualifications: 'kwalificaties',
|
|
32
|
+
},
|
|
24
33
|
es: {
|
|
25
|
-
qualifications: '
|
|
34
|
+
qualifications: 'cualificaciones',
|
|
35
|
+
},
|
|
36
|
+
pt: {
|
|
37
|
+
qualifications: 'qualificações',
|
|
26
38
|
},
|
|
27
39
|
};
|
|
28
40
|
|
|
41
|
+
const LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS = new InjectionToken('LuQualificationSelectTranslations', {
|
|
42
|
+
factory: () => luQualificationSelectInputTranslations,
|
|
43
|
+
});
|
|
44
|
+
const luQualificationSelectInputTranslations = Translations;
|
|
45
|
+
|
|
29
46
|
/**
|
|
30
47
|
* @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive
|
|
31
48
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-qualification.mjs","sources":["../../../packages/ng/qualification/select/input/qualification-select-input.translate.ts","../../../packages/ng/qualification/select/input/qualification-select-input.component.ts","../../../packages/ng/qualification/select/input/qualification-select-input.component.html","../../../packages/ng/qualification/select/input/qualification-select-input.module.ts","../../../packages/ng/qualification/select/qualification-select.module.ts","../../../packages/ng/qualification/qualification.module.ts","../../../packages/ng/qualification/lucca-front-ng-qualification.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { ILuTranslation } from '@lucca-front/ng/core';\n\nexport const LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS = new InjectionToken('LuQualificationSelectTranslations', {\n\tfactory: () => luQualificationSelectInputTranslations,\n});\n\nexport interface ILuQualificationSelectInputLabel {\n\tqualifications: string;\n}\n\nexport const luQualificationSelectInputTranslations: ILuTranslation<ILuQualificationSelectInputLabel> = {\n\ten: {\n\t\tqualifications: 'qualifications',\n\t},\n\tfr: {\n\t\tqualifications: 'qualifications',\n\t},\n\tes: {\n\t\tqualifications: 'calificaciones',\n\t},\n};\n","import { Overlay, OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, Input, Renderer2, ViewContainerRef } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { LuApiPagedSearcherComponent } from '@lucca-front/ng/api';\nimport { getIntl } from '@lucca-front/ng/core';\nimport { LuInputClearerComponent, LuInputDisplayerDirective } from '@lucca-front/ng/input';\nimport { ILuOptionPickerPanel, LuForGroupsDirective, LuOptionComparer, LuOptionItemComponent, LuOptionPickerAdvancedComponent } from '@lucca-front/ng/option';\nimport { ILuInputWithPicker } from '@lucca-front/ng/picker';\nimport { ALuSelectInputComponent } from '@lucca-front/ng/select';\nimport { ILuQualification } from '../../qualification.model';\nimport { LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS } from './qualification-select-input.translate';\n\n/**\n * @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive\n */\n@Component({\n\tselector: 'lu-qualification-select',\n\ttemplateUrl: './qualification-select-input.component.html',\n\tstyleUrls: ['./qualification-select-input.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [CommonModule, OverlayModule, LuInputClearerComponent, LuOptionPickerAdvancedComponent, LuApiPagedSearcherComponent, LuOptionItemComponent, LuForGroupsDirective, LuInputDisplayerDirective],\n\tproviders: [\n\t\t{\n\t\t\tprovide: NG_VALUE_ACCESSOR,\n\t\t\tuseExisting: forwardRef(() => LuQualificationSelectInputComponent),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuQualificationSelectInputComponent<\n\t\tD extends import('../../qualification.model').ILuQualification = import('../../qualification.model').ILuQualification,\n\t\tP extends ILuOptionPickerPanel<D> = ILuOptionPickerPanel<D>,\n\t>\n\textends ALuSelectInputComponent<D, P>\n\timplements ControlValueAccessor, ILuInputWithPicker<D>, AfterViewInit\n{\n\tbyId: LuOptionComparer<D> = (option1: D, option2: D) => option1 && option2 && option1.id === option2.id;\n\n\t@Input() filters: string[];\n\n\tisSearching = false;\n\n\tpublic intl = getIntl(LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS);\n\n\tconstructor(\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\n\t\tprotected override _overlay: Overlay,\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\n\t\tprotected override _viewContainerRef: ViewContainerRef,\n\t\tprotected override _renderer: Renderer2,\n\t) {\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\n\t}\n\n\tonIsSearchingChanged(isSearching: boolean) {\n\t\tthis.isSearching = isSearching;\n\t\tthis._changeDetectorRef.detectChanges();\n\t}\n\n\ttrackById(_: number, item: ILuQualification): number {\n\t\treturn item.id;\n\t}\n\n\tgroupByJobName(qualification: ILuQualification): string {\n\t\treturn qualification.job.name;\n\t}\n}\n","<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div class=\"lu-select-suffix\">\n\t<lu-input-clearer></lu-input-clearer>\n</div>\n\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\n\t\t><span class=\"numericBadge\">{{ values.length }}</span> {{ intl.qualifications }}</span\n\t>\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\n</ng-template>\n\n<lu-option-picker-advanced [option-comparer]=\"byId\">\n\t<lu-api-paged-searcher\n\t\tapi=\"/organization/structure/api/job-qualifications\"\n\t\tstandard=\"v4\"\n\t\t[filters]=\"filters\"\n\t\tsort=\"job.name,level.position\"\n\t></lu-api-paged-searcher>\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\n\t\t<div class=\"lu-picker-content-option\">\n\t\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\">\n\t\t\t\t{{ qualification.name }}\n\t\t\t</lu-option>\n\t\t</div>\n\t</ng-template>\n</lu-option-picker-advanced>\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectInputComponent } from './qualification-select-input.component';\n\n/**\n * @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive\n */\n@NgModule({\n\timports: [LuQualificationSelectInputComponent],\n\texports: [LuQualificationSelectInputComponent],\n})\nexport class LuQualificationSelectInputModule {}\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectInputModule } from './input/index';\n\n/**\n * @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive\n */\n@NgModule({\n\timports: [LuQualificationSelectInputModule],\n\texports: [LuQualificationSelectInputModule],\n})\nexport class LuQualificationSelectModule {}\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectModule } from './select/qualification-select.module';\n\n/**\n * @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive\n */\n@NgModule({\n\timports: [LuQualificationSelectModule],\n\texports: [LuQualificationSelectModule],\n})\nexport class LuQualificationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;MAGa,0CAA0C,GAAG,IAAI,cAAc,CAAC,mCAAmC,EAAE;AACjH,IAAA,OAAO,EAAE,MAAM,sCAAsC;AACrD,CAAA,EAAE;AAMU,MAAA,sCAAsC,GAAqD;AACvG,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,gBAAgB;AAChC,KAAA;AACD,IAAA,EAAE,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,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAE9B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAJvC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,gCAAgC,CAAC;oBAC3C,OAAO,EAAE,CAAC,gCAAgC,CAAC;AAC3C,iBAAA,CAAA;;;ACND;;AAEG;MAKU,qBAAqB,CAAA;8GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAArB,qBAAqB,EAAA,OAAA,EAAA,CAHvB,2BAA2B,CAAA,EAAA,OAAA,EAAA,CAC3B,2BAA2B,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEzB,qBAAqB,EAAA,OAAA,EAAA,CAHvB,2BAA2B,EAC3B,2BAA2B,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAEzB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,2BAA2B,CAAC;oBACtC,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACtC,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-qualification.mjs","sources":["../../../packages/ng/qualification/select/input/translations.ts","../../../packages/ng/qualification/select/input/qualification-select-input.translate.ts","../../../packages/ng/qualification/select/input/qualification-select-input.component.ts","../../../packages/ng/qualification/select/input/qualification-select-input.component.html","../../../packages/ng/qualification/select/input/qualification-select-input.module.ts","../../../packages/ng/qualification/select/qualification-select.module.ts","../../../packages/ng/qualification/qualification.module.ts","../../../packages/ng/qualification/lucca-front-ng-qualification.ts"],"sourcesContent":["export const Translations = {\n\ten: {\n\t\tqualifications: 'qualifications',\n\t},\n\tde: {\n\t\tqualifications: 'Qualifikationen',\n\t},\n\tfr: {\n\t\tqualifications: 'qualifications',\n\t},\n\tit: {\n\t\tqualifications: 'qualifiche',\n\t},\n\tnl: {\n\t\tqualifications: 'kwalificaties',\n\t},\n\t'nl-BE': {\n\t\tqualifications: 'kwalificaties',\n\t},\n\tes: {\n\t\tqualifications: 'cualificaciones',\n\t},\n\tpt: {\n\t\tqualifications: 'qualificações',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS = new InjectionToken('LuQualificationSelectTranslations', {\n\tfactory: () => luQualificationSelectInputTranslations,\n});\n\nexport interface ILuQualificationSelectInputLabel {\n\tqualifications: string;\n}\n\nexport const luQualificationSelectInputTranslations: LuTranslation<ILuQualificationSelectInputLabel> = Translations;\n","import { Overlay, OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, Input, Renderer2, ViewContainerRef } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { LuApiPagedSearcherComponent } from '@lucca-front/ng/api';\nimport { getIntl } from '@lucca-front/ng/core';\nimport { LuInputClearerComponent, LuInputDisplayerDirective } from '@lucca-front/ng/input';\nimport { ILuOptionPickerPanel, LuForGroupsDirective, LuOptionComparer, LuOptionItemComponent, LuOptionPickerAdvancedComponent } from '@lucca-front/ng/option';\nimport { ILuInputWithPicker } from '@lucca-front/ng/picker';\nimport { ALuSelectInputComponent } from '@lucca-front/ng/select';\nimport { ILuQualification } from '../../qualification.model';\nimport { LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS } from './qualification-select-input.translate';\n\n/**\n * @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive\n */\n@Component({\n\tselector: 'lu-qualification-select',\n\ttemplateUrl: './qualification-select-input.component.html',\n\tstyleUrls: ['./qualification-select-input.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [CommonModule, OverlayModule, LuInputClearerComponent, LuOptionPickerAdvancedComponent, LuApiPagedSearcherComponent, LuOptionItemComponent, LuForGroupsDirective, LuInputDisplayerDirective],\n\tproviders: [\n\t\t{\n\t\t\tprovide: NG_VALUE_ACCESSOR,\n\t\t\tuseExisting: forwardRef(() => LuQualificationSelectInputComponent),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuQualificationSelectInputComponent<\n\t\tD extends import('../../qualification.model').ILuQualification = import('../../qualification.model').ILuQualification,\n\t\tP extends ILuOptionPickerPanel<D> = ILuOptionPickerPanel<D>,\n\t>\n\textends ALuSelectInputComponent<D, P>\n\timplements ControlValueAccessor, ILuInputWithPicker<D>, AfterViewInit\n{\n\tbyId: LuOptionComparer<D> = (option1: D, option2: D) => option1 && option2 && option1.id === option2.id;\n\n\t@Input() filters: string[];\n\n\tisSearching = false;\n\n\tpublic intl = getIntl(LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS);\n\n\tconstructor(\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\n\t\tprotected override _overlay: Overlay,\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\n\t\tprotected override _viewContainerRef: ViewContainerRef,\n\t\tprotected override _renderer: Renderer2,\n\t) {\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\n\t}\n\n\tonIsSearchingChanged(isSearching: boolean) {\n\t\tthis.isSearching = isSearching;\n\t\tthis._changeDetectorRef.detectChanges();\n\t}\n\n\ttrackById(_: number, item: ILuQualification): number {\n\t\treturn item.id;\n\t}\n\n\tgroupByJobName(qualification: ILuQualification): string {\n\t\treturn qualification.job.name;\n\t}\n}\n","<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div class=\"lu-select-suffix\">\n\t<lu-input-clearer></lu-input-clearer>\n</div>\n\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\n\t\t><span class=\"numericBadge\">{{ values.length }}</span> {{ intl.qualifications }}</span\n\t>\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\n</ng-template>\n\n<lu-option-picker-advanced [option-comparer]=\"byId\">\n\t<lu-api-paged-searcher\n\t\tapi=\"/organization/structure/api/job-qualifications\"\n\t\tstandard=\"v4\"\n\t\t[filters]=\"filters\"\n\t\tsort=\"job.name,level.position\"\n\t></lu-api-paged-searcher>\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\n\t\t<div class=\"lu-picker-content-option\">\n\t\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\">\n\t\t\t\t{{ qualification.name }}\n\t\t\t</lu-option>\n\t\t</div>\n\t</ng-template>\n</lu-option-picker-advanced>\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectInputComponent } from './qualification-select-input.component';\n\n/**\n * @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive\n */\n@NgModule({\n\timports: [LuQualificationSelectInputComponent],\n\texports: [LuQualificationSelectInputComponent],\n})\nexport class LuQualificationSelectInputModule {}\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectInputModule } from './input/index';\n\n/**\n * @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive\n */\n@NgModule({\n\timports: [LuQualificationSelectInputModule],\n\texports: [LuQualificationSelectInputModule],\n})\nexport class LuQualificationSelectModule {}\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectModule } from './select/qualification-select.module';\n\n/**\n * @deprecated prefer SimpleSelect or MultipleSelect with jobQualifications directive\n */\n@NgModule({\n\timports: [LuQualificationSelectModule],\n\texports: [LuQualificationSelectModule],\n})\nexport class LuQualificationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAAO,MAAM,YAAY,GAAG;AAC3B,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,gBAAgB;AAChC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,iBAAiB;AACjC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,gBAAgB;AAChC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,YAAY;AAC5B,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,eAAe;AAC/B,KAAA;AACD,IAAA,OAAO,EAAE;AACR,QAAA,cAAc,EAAE,eAAe;AAC/B,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,iBAAiB;AACjC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,eAAe;AAC/B,KAAA;CACD;;MCrBY,0CAA0C,GAAG,IAAI,cAAc,CAAC,mCAAmC,EAAE;AACjH,IAAA,OAAO,EAAE,MAAM,sCAAsC;AACrD,CAAA,EAAE;AAMI,MAAM,sCAAsC,GAAoD;;ACCvG;;AAEG;AAgBG,MAAO,mCAIZ,SAAQ,uBAA6B,CAAA;IAWrC,WACoB,CAAA,kBAAqC,EACrC,QAAiB,EACjB,WAAoC,EACpC,iBAAmC,EACnC,SAAoB,EAAA;QAEvC,KAAK,CAAC,kBAAkB,EAAE,QAAQ,EAAE,WAAW,EAAE,iBAAiB,EAAE,SAAS,CAAC,CAAC;QAN5D,IAAkB,CAAA,kBAAA,GAAlB,kBAAkB,CAAmB;QACrC,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAS;QACjB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAyB;QACpC,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAkB;QACnC,IAAS,CAAA,SAAA,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AA,CAAA,EAAA;;2FAEzB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,2BAA2B,CAAC;oBACtC,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACtC,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucca-front-ng-sidepanel.mjs","sources":["../../../packages/ng/sidepanel/sidepanel.model.ts","../../../packages/ng/sidepanel/sidepanel.service.ts","../../../packages/ng/sidepanel/sidepanel.module.ts","../../../packages/ng/sidepanel/lucca-front-ng-sidepanel.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport {
|
|
1
|
+
{"version":3,"file":"lucca-front-ng-sidepanel.mjs","sources":["../../../packages/ng/sidepanel/sidepanel.model.ts","../../../packages/ng/sidepanel/sidepanel.service.ts","../../../packages/ng/sidepanel/sidepanel.module.ts","../../../packages/ng/sidepanel/lucca-front-ng-sidepanel.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { ALuModalRef as ALuSidepanelRef, ILuModalContent, ILuModalLabel, ILuModalRef, LU_MODAL_DATA, LuModalConfig, luDefaultSidepanelConfig, luModalTranslations } from '@lucca-front/ng/modal';\n\n/**\n * For backward compatibility, we re-export modal tokens as sidepanel tokens.\n * We should remove all sidepanel related files in the next major version (16+).\n */\n\n/**\n * @deprecated Use LU_MODAL_CONFIG from @lucca-front/ng/modal instead.\n */\nexport const LU_SIDEPANEL_CONFIG = new InjectionToken<LuSidepanelConfig>('LuSidepanelDefaultConfig', {\n\tfactory: () => luDefaultSidepanelConfig,\n});\n\n/**\n * @deprecated Use LU_MODAL_DATA from @lucca-front/ng/modal instead.\n */\nexport const LU_SIDEPANEL_DATA = LU_MODAL_DATA;\n\n/**\n * @deprecated Use LU_MODAL_TRANSLATIONS from @lucca-front/ng/modal instead.\n */\nexport const LU_SIDEPANEL_TRANSLATIONS = new InjectionToken('LuSidepanelTranslations', {\n\tfactory: () => luSidepanelTranslations,\n});\n\n/**\n * @deprecated Use ILuModalLabel from @lucca-front/ng/modal instead.\n */\nexport type ILuSidepanelLabel = ILuModalLabel;\n\n/**\n * @deprecated Use luModalTranslations from @lucca-front/ng/modal instead.\n */\nexport const luSidepanelTranslations: LuTranslation<ILuSidepanelLabel> = luModalTranslations;\n\n/**\n * @deprecated Use LuModalConfig from @lucca-front/ng/modal instead.\n */\nexport type LuSidepanelConfig = LuModalConfig;\n\n/**\n * @deprecated Use LuModalConfig from @lucca-front/ng/modal instead.\n */\nexport type ILuSidepanelConfig = LuModalConfig;\n\n/**\n * @deprecated Use ILuModalContent from @lucca-front/ng/modal instead.\n */\nexport type ILuSidepanelContent<T = unknown> = ILuModalContent<T>;\n\n/**\n * @deprecated Use ILuModalRef from @lucca-front/ng/modal instead.\n */\nexport type ILuSidepanelRef<D = unknown, R = unknown> = ILuModalRef<D, R>;\n\nexport {\n\t/**\n\t * @deprecated Use ALuModalRef from @lucca-front/ng/modal instead.\n\t */\n\tALuSidepanelRef,\n};\n","import { ComponentType } from '@angular/cdk/overlay';\nimport { inject, Injectable } from '@angular/core';\nimport { ILuModalContent, LuModal, LuModalContentResult } from '@lucca-front/ng/modal';\nimport { ILuSidepanelRef, LuSidepanelConfig, LU_SIDEPANEL_CONFIG } from './sidepanel.model';\n\n/**\n * @deprecated Use LuModal with `modal.open(component, data, { mode: 'sidepanel' })` instead.\n */\n@Injectable()\nexport class LuSidepanel extends LuModal {\n\tprotected override _config = inject(LU_SIDEPANEL_CONFIG);\n\n\t/**\n\t * @deprecated Use LuModal with `modal.open(component, data, { mode: 'sidepanel' })` instead.\n\t */\n\toverride open<T extends ILuModalContent, D>(component: ComponentType<T>, data: D = undefined, config: Partial<LuSidepanelConfig> = {}): ILuSidepanelRef<D, LuModalContentResult<T>> {\n\t\treturn super.open(component, data, config);\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { LuModalModule } from '@lucca-front/ng/modal';\nimport { LuSidepanel } from './sidepanel.service';\n\n/**\n * @deprecated Use LuModal with `modal.open(component, data, { mode: 'sidepanel' })` instead.\n */\n@NgModule({\n\timports: [LuModalModule],\n\tproviders: [LuSidepanel],\n})\nexport class LuSidepanelModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAIA;;;AAGG;AAEH;;AAEG;MACU,mBAAmB,GAAG,IAAI,cAAc,CAAoB,0BAA0B,EAAE;AACpG,IAAA,OAAO,EAAE,MAAM,wBAAwB;AACvC,CAAA,EAAE;AAEH;;AAEG;AACI,MAAM,iBAAiB,GAAG,cAAc;AAE/C;;AAEG;MACU,yBAAyB,GAAG,IAAI,cAAc,CAAC,yBAAyB,EAAE;AACtF,IAAA,OAAO,EAAE,MAAM,uBAAuB;AACtC,CAAA,EAAE;AAOH;;AAEG;AACI,MAAM,uBAAuB,GAAqC;;AC/BzE;;AAEG;AAEG,MAAO,WAAY,SAAQ,OAAO,CAAA;AADxC,IAAA,WAAA,GAAA;;AAEoB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAC;AAQzD,KAAA;AANA;;AAEG;AACM,IAAA,IAAI,CAA+B,SAA2B,EAAE,OAAU,SAAS,EAAE,SAAqC,EAAE,EAAA;QACpI,OAAO,KAAK,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;KAC3C;8GARW,WAAW,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;kHAAX,WAAW,EAAA,CAAA,CAAA,EAAA;;2FAAX,WAAW,EAAA,UAAA,EAAA,CAAA;kBADvB,UAAU;;;ACJX;;AAEG;MAKU,iBAAiB,CAAA;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAHnB,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;AAGX,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,EAFlB,SAAA,EAAA,CAAC,WAAW,CAAC,YADd,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGX,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,aAAa,CAAC;oBACxB,SAAS,EAAE,CAAC,WAAW,CAAC;AACxB,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -14,10 +14,7 @@ import * as i1 from '@angular/cdk/a11y';
|
|
|
14
14
|
import { ActiveDescendantKeyManager, A11yModule } from '@angular/cdk/a11y';
|
|
15
15
|
import { switchMap, debounceTime } from 'rxjs/operators';
|
|
16
16
|
|
|
17
|
-
const
|
|
18
|
-
factory: () => luSimpleSelectTranslations,
|
|
19
|
-
});
|
|
20
|
-
const luSimpleSelectTranslations = {
|
|
17
|
+
const Translations = {
|
|
21
18
|
en: {
|
|
22
19
|
placeholder: 'Select an option',
|
|
23
20
|
clear: 'Clear',
|
|
@@ -25,6 +22,13 @@ const luSimpleSelectTranslations = {
|
|
|
25
22
|
emptyResults: 'No results',
|
|
26
23
|
loading: 'Loading...',
|
|
27
24
|
},
|
|
25
|
+
de: {
|
|
26
|
+
placeholder: 'Wählen Sie eine Option',
|
|
27
|
+
clear: 'Löschen',
|
|
28
|
+
clearSearch: 'Suche löschen',
|
|
29
|
+
emptyResults: 'Keine Ergebnisse für Ihre Suche',
|
|
30
|
+
loading: 'Wird geladen...',
|
|
31
|
+
},
|
|
28
32
|
fr: {
|
|
29
33
|
placeholder: 'Sélectionnez une option',
|
|
30
34
|
clear: 'Effacer',
|
|
@@ -32,12 +36,26 @@ const luSimpleSelectTranslations = {
|
|
|
32
36
|
emptyResults: 'Aucun résultat pour votre recherche',
|
|
33
37
|
loading: 'Chargement en cours...',
|
|
34
38
|
},
|
|
35
|
-
|
|
36
|
-
placeholder: '
|
|
37
|
-
clear: '
|
|
38
|
-
clearSearch: '
|
|
39
|
-
emptyResults: '
|
|
40
|
-
loading: '
|
|
39
|
+
it: {
|
|
40
|
+
placeholder: 'Seleziona un’opzione',
|
|
41
|
+
clear: 'Cancellare',
|
|
42
|
+
clearSearch: 'Cancellare la ricerca',
|
|
43
|
+
emptyResults: 'Nessun risultato per la ricerca',
|
|
44
|
+
loading: 'Caricamento in corso...',
|
|
45
|
+
},
|
|
46
|
+
nl: {
|
|
47
|
+
placeholder: 'Selecteer een optie',
|
|
48
|
+
clear: 'Wissen',
|
|
49
|
+
clearSearch: 'Zoekopdracht leegmaken',
|
|
50
|
+
emptyResults: 'Geen resultaten voor uw zoekopdracht',
|
|
51
|
+
loading: 'Bezig met laden...',
|
|
52
|
+
},
|
|
53
|
+
'nl-BE': {
|
|
54
|
+
placeholder: 'Selecteer een optie',
|
|
55
|
+
clear: 'Wissen',
|
|
56
|
+
clearSearch: 'Zoekopdracht leegmaken',
|
|
57
|
+
emptyResults: 'Geen resultaten voor uw zoekopdracht',
|
|
58
|
+
loading: 'Bezig met laden...',
|
|
41
59
|
},
|
|
42
60
|
es: {
|
|
43
61
|
placeholder: 'Seleccione una opción',
|
|
@@ -55,6 +73,11 @@ const luSimpleSelectTranslations = {
|
|
|
55
73
|
},
|
|
56
74
|
};
|
|
57
75
|
|
|
76
|
+
const LU_SIMPLE_SELECT_TRANSLATIONS = new InjectionToken('LuSimpleSelectTranslations', {
|
|
77
|
+
factory: () => luSimpleSelectTranslations,
|
|
78
|
+
});
|
|
79
|
+
const luSimpleSelectTranslations = Translations;
|
|
80
|
+
|
|
58
81
|
const SIMPLE_SELECT_INPUT = new InjectionToken('SimpleSelectInput');
|
|
59
82
|
|
|
60
83
|
class LuIsOptionSelectedPipe {
|