@lucca-front/ng 18.1.1 → 18.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/api/api-v3.directive.d.ts +1 -0
- package/core-select/api/api-v4.directive.d.ts +1 -0
- package/core-select/api/api.directive.d.ts +8 -0
- package/core-select/establishment/establishments.directive.d.ts +1 -0
- package/core-select/input/select-input.component.d.ts +2 -1
- package/core-select/job-qualification/job-qualifications.directive.d.ts +1 -0
- package/core-select/panel/index.d.ts +1 -0
- package/core-select/panel/key-manager.d.ts +23 -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-homonym.service.d.ts +2 -2
- package/core-select/user/user.translate.d.ts +3 -3
- package/core-select/user/users.directive.d.ts +13 -2
- 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/model/dialog-config.d.ts +4 -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/api/select/input/api-select-input.component.mjs +3 -3
- package/esm2022/button/button.component.mjs +2 -2
- package/esm2022/callout/callout/callout.component.mjs +3 -3
- 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/api/api-v3.directive.mjs +2 -1
- package/esm2022/core-select/api/api-v4.directive.mjs +2 -1
- package/esm2022/core-select/api/api.directive.mjs +12 -5
- package/esm2022/core-select/establishment/establishments.directive.mjs +3 -8
- package/esm2022/core-select/input/select-input.component.mjs +5 -2
- package/esm2022/core-select/job-qualification/job-qualifications.directive.mjs +3 -8
- package/esm2022/core-select/option/default-option.component.mjs +3 -2
- package/esm2022/core-select/option/option.component.mjs +3 -3
- package/esm2022/core-select/panel/index.mjs +2 -1
- package/esm2022/core-select/panel/key-manager.mjs +79 -0
- 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-homonym.service.mjs +9 -14
- package/esm2022/core-select/user/user.translate.mjs +3 -18
- package/esm2022/core-select/user/users.directive.mjs +32 -33
- 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 +4 -4
- 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.component.mjs +3 -3
- 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/dialog.component.mjs +2 -2
- package/esm2022/dialog/dialog-footer/dialog-footer.component.mjs +2 -3
- package/esm2022/dialog/dialog-header/dialog-header.component.mjs +4 -5
- package/esm2022/dialog/dialog-header/dialog-header.translate.mjs +3 -18
- package/esm2022/dialog/dialog-header/translations.mjs +27 -0
- package/esm2022/dialog/dialog.service.mjs +4 -4
- package/esm2022/dialog/model/dialog-config.mjs +1 -1
- package/esm2022/dialog/public-api.mjs +7 -6
- package/esm2022/empty-state/empty-state-page/empty-state-page.component.mjs +3 -3
- package/esm2022/empty-state/empty-state-section/empty-state-section.component.mjs +3 -3
- package/esm2022/establishment/select/input/establishment-select-input.component.mjs +3 -3
- 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/radio-group-input/radio/radio.component.mjs +3 -3
- package/esm2022/forms/text-input/text-input.translate.mjs +3 -11
- package/esm2022/forms/text-input/translations.mjs +35 -0
- package/esm2022/icon/icon.component.mjs +3 -3
- 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/input/panel-ref.factory.mjs +2 -2
- package/esm2022/multi-select/input/select-input.component.mjs +3 -3
- package/esm2022/multi-select/panel/panel.component.mjs +20 -28
- package/esm2022/multi-select/select.translate.mjs +3 -68
- package/esm2022/multi-select/translations.mjs +107 -0
- package/esm2022/new-badge/new-badge.component.mjs +2 -2
- package/esm2022/numeric-badge/numeric-badge.component.mjs +2 -2
- package/esm2022/option/item/option-item.component.mjs +3 -3
- package/esm2022/option/item/translations.mjs +35 -0
- package/esm2022/option/item/tree-option-item.component.mjs +3 -3
- package/esm2022/option/item/tree-option-item.translate.mjs +3 -11
- package/esm2022/option/picker/option-picker.component.mjs +2 -2
- 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/popover2/content/popover-content/popover-content.component.mjs +3 -3
- package/esm2022/popover2/popover.directive.mjs +13 -11
- package/esm2022/popover2/popover.translate.mjs +3 -18
- package/esm2022/popover2/public-api.mjs +2 -1
- package/esm2022/popover2/translations.mjs +27 -0
- package/esm2022/popup-employee/card/panel/user-popover-panel.component.mjs +3 -3
- 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.component.mjs +3 -3
- package/esm2022/qualification/select/input/qualification-select-input.translate.mjs +3 -12
- package/esm2022/qualification/select/input/translations.mjs +27 -0
- package/esm2022/select/input/select-input.component.mjs +2 -2
- package/esm2022/sidepanel/sidepanel.model.mjs +2 -2
- package/esm2022/simple-select/input/select-input.component.mjs +3 -3
- package/esm2022/simple-select/panel/panel.component.mjs +18 -32
- package/esm2022/simple-select/select.translate.mjs +3 -38
- package/esm2022/simple-select/translations.mjs +59 -0
- package/esm2022/skeleton/skeleton-button/skeleton-button.component.mjs +2 -2
- package/esm2022/time/duration-picker/duration-picker.translate.mjs +7 -0
- package/esm2022/time/duration-picker/translations.mjs +43 -0
- package/esm2022/time/public-api.mjs +3 -1
- package/esm2022/time/time-picker/time-picker.translate.mjs +3 -13
- package/esm2022/time/time-picker/translations.mjs +43 -0
- package/esm2022/toast/toasts.translate.mjs +3 -12
- package/esm2022/toast/translations.mjs +27 -0
- package/esm2022/user/picture/user-picture.component.mjs +2 -2
- package/esm2022/user/select/input/translations.mjs +35 -0
- package/esm2022/user/select/input/user-select-input.component.mjs +3 -3
- package/esm2022/user/select/input/user-select-input.translate.mjs +3 -19
- package/esm2022/user/select/searcher/translations.mjs +27 -0
- package/esm2022/user/select/searcher/user-searcher.translate.mjs +3 -15
- package/esm2022/user/tile/user-tile.component.mjs +2 -2
- 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-api.mjs +2 -2
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-button.mjs +2 -2
- package/fesm2022/lucca-front-ng-button.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +23 -6
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-api.mjs +14 -5
- package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs +2 -7
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +2 -7
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +72 -67
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +105 -14
- 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 +96 -36
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +23 -6
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +139 -130
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +4 -4
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +25 -31
- 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 +57 -11
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-icon.mjs +2 -2
- package/fesm2022/lucca-front-ng-icon.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 +149 -95
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +2 -2
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +2 -2
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +88 -26
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +32 -19
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popup-employee.mjs +64 -23
- package/fesm2022/lucca-front-ng-popup-employee.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-qualification.mjs +24 -7
- package/fesm2022/lucca-front-ng-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +2 -2
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +52 -43
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +2 -2
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-time.mjs +87 -7
- package/fesm2022/lucca-front-ng-time.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 +52 -20
- 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/panel/panel.component.d.ts +6 -5
- 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 +15 -15
- package/popover2/popover.translate.d.ts +3 -3
- package/popover2/public-api.d.ts +1 -0
- package/popover2/translations.d.ts +26 -0
- 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/panel/panel.component.d.ts +6 -5
- package/simple-select/select.translate.d.ts +3 -3
- package/simple-select/translations.d.ts +58 -0
- package/src/definitions/user/user-tile.scss +1 -1
- package/time/duration-picker/duration-picker.translate.d.ts +9 -0
- package/time/duration-picker/translations.d.ts +42 -0
- package/time/public-api.d.ts +2 -0
- package/time/time-picker/time-picker.translate.d.ts +3 -3
- package/time/time-picker/translations.d.ts +42 -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
package/a11y/public-api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
export declare const LU_SKIP_LINKS_TRANSLATIONS: InjectionToken<
|
|
2
|
+
import { LuTranslation } from '@lucca-front/ng/core';
|
|
3
|
+
export declare const LU_SKIP_LINKS_TRANSLATIONS: InjectionToken<LuTranslation<ILuSkipLinksLabel>>;
|
|
4
4
|
export interface ILuSkipLinksLabel {
|
|
5
5
|
Goto: string;
|
|
6
6
|
Goto_Nav_Banner: string;
|
|
@@ -13,4 +13,4 @@ export declare abstract class ALuSkipLinksLabel {
|
|
|
13
13
|
Goto_Nav_Navside: string;
|
|
14
14
|
Goto_Content: string;
|
|
15
15
|
}
|
|
16
|
-
export declare const luSkipLinksTranslations:
|
|
16
|
+
export declare const luSkipLinksTranslations: LuTranslation<ILuSkipLinksLabel>;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const Translations: {
|
|
2
|
+
en: {
|
|
3
|
+
Goto: string;
|
|
4
|
+
Goto_Nav_Banner: string;
|
|
5
|
+
Goto_Nav_Navside: string;
|
|
6
|
+
Goto_Content: string;
|
|
7
|
+
};
|
|
8
|
+
de: {
|
|
9
|
+
Goto: string;
|
|
10
|
+
Goto_Nav_Banner: string;
|
|
11
|
+
Goto_Nav_Navside: string;
|
|
12
|
+
Goto_Content: string;
|
|
13
|
+
};
|
|
14
|
+
fr: {
|
|
15
|
+
Goto: string;
|
|
16
|
+
Goto_Nav_Banner: string;
|
|
17
|
+
Goto_Nav_Navside: string;
|
|
18
|
+
Goto_Content: string;
|
|
19
|
+
};
|
|
20
|
+
it: {
|
|
21
|
+
Goto: string;
|
|
22
|
+
Goto_Nav_Banner: string;
|
|
23
|
+
Goto_Nav_Navside: string;
|
|
24
|
+
Goto_Content: string;
|
|
25
|
+
};
|
|
26
|
+
nl: {
|
|
27
|
+
Goto: string;
|
|
28
|
+
Goto_Nav_Banner: string;
|
|
29
|
+
Goto_Nav_Navside: string;
|
|
30
|
+
Goto_Content: string;
|
|
31
|
+
};
|
|
32
|
+
'nl-BE': {
|
|
33
|
+
Goto: string;
|
|
34
|
+
Goto_Nav_Banner: string;
|
|
35
|
+
Goto_Nav_Navside: string;
|
|
36
|
+
Goto_Content: string;
|
|
37
|
+
};
|
|
38
|
+
es: {
|
|
39
|
+
Goto: string;
|
|
40
|
+
Goto_Nav_Banner: string;
|
|
41
|
+
Goto_Nav_Navside: string;
|
|
42
|
+
Goto_Content: string;
|
|
43
|
+
};
|
|
44
|
+
pt: {
|
|
45
|
+
Goto: string;
|
|
46
|
+
Goto_Nav_Banner: string;
|
|
47
|
+
Goto_Nav_Navside: string;
|
|
48
|
+
Goto_Content: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
export declare const LU_CALLOUT_TRANSLATIONS: InjectionToken<
|
|
2
|
+
import { LuTranslation } from '@lucca-front/ng/core';
|
|
3
|
+
export declare const LU_CALLOUT_TRANSLATIONS: InjectionToken<LuTranslation<LuCalloutLabel>>;
|
|
4
4
|
export interface LuCalloutLabel {
|
|
5
5
|
close: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const luCalloutTranslations:
|
|
7
|
+
export declare const luCalloutTranslations: LuTranslation<LuCalloutLabel>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const Translations: {
|
|
2
|
+
en: {
|
|
3
|
+
close: string;
|
|
4
|
+
};
|
|
5
|
+
de: {
|
|
6
|
+
close: string;
|
|
7
|
+
};
|
|
8
|
+
fr: {
|
|
9
|
+
close: string;
|
|
10
|
+
};
|
|
11
|
+
it: {
|
|
12
|
+
close: string;
|
|
13
|
+
};
|
|
14
|
+
nl: {
|
|
15
|
+
close: string;
|
|
16
|
+
};
|
|
17
|
+
'nl-BE': {
|
|
18
|
+
close: string;
|
|
19
|
+
};
|
|
20
|
+
es: {
|
|
21
|
+
close: string;
|
|
22
|
+
};
|
|
23
|
+
pt: {
|
|
24
|
+
close: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
4
|
-
[P in keyof T]: string;
|
|
5
|
-
};
|
|
6
|
-
export declare function getIntl<T>(translationsToken: InjectionToken<ILuTranslation<T>>): T;
|
|
2
|
+
import { LuTranslation } from './translation.model';
|
|
3
|
+
export declare function getIntl<T>(translationsToken: InjectionToken<LuTranslation<T>>): T;
|
|
@@ -20,6 +20,7 @@ export declare class LuCoreSelectApiV3Directive<T extends ILuApiItem> extends AL
|
|
|
20
20
|
}>;
|
|
21
21
|
protected getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]>;
|
|
22
22
|
protected optionComparer: (a: T, b: T) => boolean;
|
|
23
|
+
protected optionKey: (option: T) => number;
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuCoreSelectApiV3Directive<any>, never>;
|
|
24
25
|
static ɵdir: i0.ɵɵDirectiveDeclaration<LuCoreSelectApiV3Directive<any>, "lu-simple-select[apiV3],lu-multi-select[apiV3]", never, { "apiV3": { "alias": "apiV3"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "orderBy": { "alias": "orderBy"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
26
|
}
|
|
@@ -14,6 +14,7 @@ export declare class LuCoreSelectApiV4Directive<T extends ILuApiItem> extends AL
|
|
|
14
14
|
protected params$: Observable<Record<string, string | number | boolean>>;
|
|
15
15
|
protected getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]>;
|
|
16
16
|
protected optionComparer: (a: T, b: T) => boolean;
|
|
17
|
+
protected optionKey: (option: T) => number;
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuCoreSelectApiV4Directive<any>, never>;
|
|
18
19
|
static ɵdir: i0.ɵɵDirectiveDeclaration<LuCoreSelectApiV4Directive<any>, "lu-simple-select[apiV4],lu-multi-select[apiV4]", never, { "apiV4": { "alias": "apiV4"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
20
|
}
|
|
@@ -19,12 +19,20 @@ export declare abstract class ALuCoreSelectApiDirective<TOption, TParams = Recor
|
|
|
19
19
|
* Compare two options to know if they are the same. For example, compare by id or by JSON
|
|
20
20
|
*/
|
|
21
21
|
protected abstract optionComparer: (a: TOption, b: TOption) => boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Return a key to identify the option in for-of loops
|
|
24
|
+
*/
|
|
25
|
+
protected optionKey?: (option: TOption) => unknown;
|
|
22
26
|
/**
|
|
23
27
|
* Return the options for the given params and page
|
|
24
28
|
*/
|
|
25
29
|
protected abstract getOptions(params: TParams, page: number): Observable<TOption[]>;
|
|
26
30
|
ngOnInit(): void;
|
|
27
31
|
protected buildOptions(): Observable<TOption[]>;
|
|
32
|
+
protected getOptionsPage(params: TParams, page: number): Observable<{
|
|
33
|
+
items: TOption[];
|
|
34
|
+
isLastPage: boolean;
|
|
35
|
+
}>;
|
|
28
36
|
ngOnDestroy(): void;
|
|
29
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<ALuCoreSelectApiDirective<any, any>, never>;
|
|
30
38
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ALuCoreSelectApiDirective<any, any>, never, never, {}, {}, never, never, false, never>;
|
|
@@ -20,6 +20,7 @@ export declare class LuCoreSelectEstablishmentsDirective<T extends LuCoreSelectE
|
|
|
20
20
|
protected getOptions(params: Record<string, string | number | boolean> | null, page: number): Observable<T[]>;
|
|
21
21
|
protected params$: Observable<Record<string, string | number | boolean>>;
|
|
22
22
|
protected optionComparer: (a: T, b: T) => boolean;
|
|
23
|
+
protected optionKey: (option: T) => number;
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuCoreSelectEstablishmentsDirective<any>, never>;
|
|
24
25
|
static ɵdir: i0.ɵɵDirectiveDeclaration<LuCoreSelectEstablishmentsDirective<any>, "lu-simple-select[establishments],lu-multi-select[establishments]", ["luEstablishments"], { "url": { "alias": "url"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "operationIds": { "alias": "operationIds"; "required": false; }; "appInstanceId": { "alias": "appInstanceId"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
26
|
}
|
|
@@ -33,6 +33,7 @@ export declare abstract class ALuSelectInputComponent<TOption, TValue> implement
|
|
|
33
33
|
set loading(value: boolean);
|
|
34
34
|
set options(options: TOption[]);
|
|
35
35
|
optionComparer: (option1: TOption, option2: TOption) => boolean;
|
|
36
|
+
optionKey: (option: TOption) => unknown;
|
|
36
37
|
optionTpl?: TemplateRef<LuOptionContext<TOption>> | Type<unknown>;
|
|
37
38
|
valueTpl?: TemplateRef<LuOptionContext<TOption>> | Type<unknown>;
|
|
38
39
|
grouping?: LuOptionGrouping<TOption, unknown>;
|
|
@@ -75,6 +76,6 @@ export declare abstract class ALuSelectInputComponent<TOption, TValue> implement
|
|
|
75
76
|
writeValue(value: TValue): void;
|
|
76
77
|
updateValue(value: TValue, skipPanelOpen?: boolean): void;
|
|
77
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<ALuSelectInputComponent<any, any>, never>;
|
|
78
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ALuSelectInputComponent<any, any>, never, never, { "placeholder": { "alias": "placeholder"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "addOptionLabel": { "alias": "addOptionLabel"; "required": false; }; "addOptionStrategy": { "alias": "addOptionStrategy"; "required": false; }; "overlayConfig": { "alias": "overlayConfig"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionComparer": { "alias": "optionComparer"; "required": false; }; "optionTpl": { "alias": "optionTpl"; "required": false; }; "valueTpl": { "alias": "valueTpl"; "required": false; }; }, { "clueChange": "clueChange"; "nextPage": "nextPage"; "previousPage": "previousPage"; "addOption": "addOption"; }, never, never, false, never>;
|
|
79
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ALuSelectInputComponent<any, any>, never, never, { "placeholder": { "alias": "placeholder"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "addOptionLabel": { "alias": "addOptionLabel"; "required": false; }; "addOptionStrategy": { "alias": "addOptionStrategy"; "required": false; }; "overlayConfig": { "alias": "overlayConfig"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionComparer": { "alias": "optionComparer"; "required": false; }; "optionKey": { "alias": "optionKey"; "required": false; }; "optionTpl": { "alias": "optionTpl"; "required": false; }; "valueTpl": { "alias": "valueTpl"; "required": false; }; }, { "clueChange": "clueChange"; "nextPage": "nextPage"; "previousPage": "previousPage"; "addOption": "addOption"; }, never, never, false, never>;
|
|
79
80
|
static ngAcceptInputType_clearable: unknown;
|
|
80
81
|
}
|
|
@@ -14,6 +14,7 @@ export declare class LuCoreSelectJobQualificationsDirective<T extends LuCoreSele
|
|
|
14
14
|
protected getOptions(params: Record<string, string | number | boolean> | null, page: number): Observable<T[]>;
|
|
15
15
|
protected params$: Observable<Record<string, string | number | boolean>>;
|
|
16
16
|
protected optionComparer: (a: T, b: T) => boolean;
|
|
17
|
+
protected optionKey: (option: T) => number;
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuCoreSelectJobQualificationsDirective<any>, never>;
|
|
18
19
|
static ɵdir: i0.ɵɵDirectiveDeclaration<LuCoreSelectJobQualificationsDirective<any>, "lu-simple-select[jobQualifications],lu-multi-select[jobQualifications]", ["jobQualifications"], { "url": { "alias": "url"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
20
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter, QueryList } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ɵLuOptionComponent } from '../option';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
interface CoreSelectKeyManagerOptions<T> {
|
|
6
|
+
queryList: QueryList<ɵLuOptionComponent<T>>;
|
|
7
|
+
options$: Observable<T[]>;
|
|
8
|
+
optionComparer: (a: T, b: T) => boolean;
|
|
9
|
+
activeOptionIdChanged$: EventEmitter<string>;
|
|
10
|
+
clueChange$: Observable<string>;
|
|
11
|
+
}
|
|
12
|
+
export declare class CoreSelectKeyManager<T> {
|
|
13
|
+
#private;
|
|
14
|
+
init(options: CoreSelectKeyManagerOptions<T>): void;
|
|
15
|
+
onKeydown(event: KeyboardEvent): void;
|
|
16
|
+
get activeItem(): ɵLuOptionComponent<T> | undefined;
|
|
17
|
+
get activeItemIndex(): number;
|
|
18
|
+
setActiveItem(index: number): void;
|
|
19
|
+
highlightOption(option: T): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CoreSelectKeyManager<any>, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CoreSelectKeyManager<any>>;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
export declare const LU_CORE_SELECT_TRANSLATIONS: InjectionToken<
|
|
2
|
+
import { LuTranslation } from '@lucca-front/ng/core';
|
|
3
|
+
export declare const LU_CORE_SELECT_TRANSLATIONS: InjectionToken<LuTranslation<LuCoreSelectLabel>>;
|
|
4
4
|
export interface LuCoreSelectLabel {
|
|
5
5
|
addOption: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const luCoreSelectTranslations:
|
|
7
|
+
export declare const luCoreSelectTranslations: LuTranslation<LuCoreSelectLabel>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const Translations: {
|
|
2
|
+
en: {
|
|
3
|
+
addOption: string;
|
|
4
|
+
};
|
|
5
|
+
de: {
|
|
6
|
+
addOption: string;
|
|
7
|
+
};
|
|
8
|
+
fr: {
|
|
9
|
+
addOption: string;
|
|
10
|
+
};
|
|
11
|
+
it: {
|
|
12
|
+
addOption: string;
|
|
13
|
+
};
|
|
14
|
+
nl: {
|
|
15
|
+
addOption: string;
|
|
16
|
+
};
|
|
17
|
+
'nl-BE': {
|
|
18
|
+
addOption: string;
|
|
19
|
+
};
|
|
20
|
+
es: {
|
|
21
|
+
addOption: string;
|
|
22
|
+
};
|
|
23
|
+
pt: {
|
|
24
|
+
addOption: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const Translations: {
|
|
2
|
+
en: {
|
|
3
|
+
me: string;
|
|
4
|
+
};
|
|
5
|
+
de: {
|
|
6
|
+
me: string;
|
|
7
|
+
};
|
|
8
|
+
fr: {
|
|
9
|
+
me: string;
|
|
10
|
+
};
|
|
11
|
+
it: {
|
|
12
|
+
me: string;
|
|
13
|
+
};
|
|
14
|
+
nl: {
|
|
15
|
+
me: string;
|
|
16
|
+
};
|
|
17
|
+
'nl-BE': {
|
|
18
|
+
me: string;
|
|
19
|
+
};
|
|
20
|
+
es: {
|
|
21
|
+
me: string;
|
|
22
|
+
};
|
|
23
|
+
pt: {
|
|
24
|
+
me: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -6,9 +6,9 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class LuCoreSelectUserHomonymsService {
|
|
7
7
|
protected http: HttpClient;
|
|
8
8
|
protected cache: Record<number, string>;
|
|
9
|
-
protected extractHomonyms<T extends LuCoreSelectUser>(users: T[], format: LuDisplayFormat): Set<T>;
|
|
9
|
+
protected extractHomonyms<T extends LuCoreSelectUser>(users: T[], format: LuDisplayFormat): Set<T['id']>;
|
|
10
10
|
handleHomonyms<T extends LuCoreSelectUser>(users: T[], format: LuDisplayFormat): Observable<T[]>;
|
|
11
|
-
protected getAdditionalInformationByUserId<T extends LuCoreSelectUser>(homonyms: T[]): Observable<Record<number, string>>;
|
|
11
|
+
protected getAdditionalInformationByUserId<T extends LuCoreSelectUser>(homonyms: T['id'][]): Observable<Record<number, string>>;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuCoreSelectUserHomonymsService, never>;
|
|
13
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<LuCoreSelectUserHomonymsService>;
|
|
14
14
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
export declare const LU_CORE_SELECT_USER_TRANSLATIONS: InjectionToken<
|
|
2
|
+
import { LuTranslation } from '@lucca-front/ng/core';
|
|
3
|
+
export declare const LU_CORE_SELECT_USER_TRANSLATIONS: InjectionToken<LuTranslation<LuCoreSelectUserTranslations>>;
|
|
4
4
|
export interface LuCoreSelectUserTranslations {
|
|
5
5
|
me: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const luCoreSelectUserTranslations:
|
|
7
|
+
export declare const luCoreSelectUserTranslations: LuTranslation<LuCoreSelectUserTranslations>;
|
|
@@ -30,10 +30,21 @@ export declare class LuCoreSelectUsersDirective<T extends LuCoreSelectUser = LuC
|
|
|
30
30
|
protected _displayMeOption: import("@angular/core").WritableSignal<boolean>;
|
|
31
31
|
protected displayMeOption$: Observable<boolean>;
|
|
32
32
|
protected params$: Observable<Record<string, string | number | boolean>>;
|
|
33
|
-
protected
|
|
33
|
+
protected meParams$: Observable<{
|
|
34
|
+
id: number;
|
|
35
|
+
appInstanceId?: number;
|
|
36
|
+
operations?: string;
|
|
37
|
+
fields: string;
|
|
38
|
+
}>;
|
|
39
|
+
protected me$: Observable<T>;
|
|
34
40
|
protected getMe(): Observable<T | null>;
|
|
35
|
-
protected
|
|
41
|
+
protected getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]>;
|
|
42
|
+
protected getOptionsPage(params: Record<string, string | number | boolean>, page: number): Observable<{
|
|
43
|
+
items: LuCoreSelectWithAdditionnalInformation<T>[];
|
|
44
|
+
isLastPage: boolean;
|
|
45
|
+
}>;
|
|
36
46
|
protected optionComparer: (a: T, b: T) => boolean;
|
|
47
|
+
protected optionKey: (option: T) => number;
|
|
37
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuCoreSelectUsersDirective<any>, never>;
|
|
38
49
|
static ɵdir: i0.ɵɵDirectiveDeclaration<LuCoreSelectUsersDirective<any>, "lu-simple-select[users],lu-multi-select[users]", ["luUsers"], { "url": { "alias": "url"; "required": false; }; "operationIds": { "alias": "operationIds"; "required": false; }; "appInstanceId": { "alias": "appInstanceId"; "required": false; }; "enableFormerEmployees": { "alias": "enableFormerEmployees"; "required": false; }; "displayMeOption": { "alias": "displayMeOption"; "required": false; }; "displayFormat": { "alias": "displayFormat"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, {}, never, never, true, never>;
|
|
39
50
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
export declare const LU_DATE_INPUT_TRANSLATIONS: InjectionToken<
|
|
2
|
+
import { LuTranslation } from '@lucca-front/ng/core';
|
|
3
|
+
export declare const LU_DATE_INPUT_TRANSLATIONS: InjectionToken<LuTranslation<ILuDateInputLabel>>;
|
|
4
4
|
export interface ILuDateInputLabel {
|
|
5
5
|
placeholderDay: string;
|
|
6
6
|
placeholderMonth: string;
|
|
7
7
|
placeholderYear: string;
|
|
8
|
-
formatDay: string;
|
|
9
8
|
formatMonth: string;
|
|
10
9
|
formatYear: string;
|
|
11
10
|
}
|
|
12
|
-
export declare const luDateInputTranslations:
|
|
11
|
+
export declare const luDateInputTranslations: LuTranslation<ILuDateInputLabel>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export declare const Translations: {
|
|
2
|
+
en: {
|
|
3
|
+
placeholderDay: string;
|
|
4
|
+
placeholderMonth: string;
|
|
5
|
+
placeholderYear: string;
|
|
6
|
+
formatMonth: string;
|
|
7
|
+
formatYear: string;
|
|
8
|
+
};
|
|
9
|
+
de: {
|
|
10
|
+
placeholderDay: string;
|
|
11
|
+
placeholderMonth: string;
|
|
12
|
+
placeholderYear: string;
|
|
13
|
+
formatMonth: string;
|
|
14
|
+
formatYear: string;
|
|
15
|
+
};
|
|
16
|
+
fr: {
|
|
17
|
+
placeholderDay: string;
|
|
18
|
+
placeholderMonth: string;
|
|
19
|
+
placeholderYear: string;
|
|
20
|
+
formatMonth: string;
|
|
21
|
+
formatYear: string;
|
|
22
|
+
};
|
|
23
|
+
it: {
|
|
24
|
+
placeholderDay: string;
|
|
25
|
+
placeholderMonth: string;
|
|
26
|
+
placeholderYear: string;
|
|
27
|
+
formatMonth: string;
|
|
28
|
+
formatYear: string;
|
|
29
|
+
};
|
|
30
|
+
nl: {
|
|
31
|
+
placeholderDay: string;
|
|
32
|
+
placeholderMonth: string;
|
|
33
|
+
placeholderYear: string;
|
|
34
|
+
formatMonth: string;
|
|
35
|
+
formatYear: string;
|
|
36
|
+
};
|
|
37
|
+
'nl-BE': {
|
|
38
|
+
placeholderDay: string;
|
|
39
|
+
placeholderMonth: string;
|
|
40
|
+
placeholderYear: string;
|
|
41
|
+
formatMonth: string;
|
|
42
|
+
formatYear: string;
|
|
43
|
+
};
|
|
44
|
+
es: {
|
|
45
|
+
placeholderDay: string;
|
|
46
|
+
placeholderMonth: string;
|
|
47
|
+
placeholderYear: string;
|
|
48
|
+
formatMonth: string;
|
|
49
|
+
formatYear: string;
|
|
50
|
+
};
|
|
51
|
+
pt: {
|
|
52
|
+
placeholderDay: string;
|
|
53
|
+
placeholderMonth: string;
|
|
54
|
+
placeholderYear: string;
|
|
55
|
+
formatMonth: string;
|
|
56
|
+
formatYear: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
export declare const LU_DATE_SELECT_INPUT_TRANSLATIONS: InjectionToken<
|
|
2
|
+
import { LuTranslation } from '@lucca-front/ng/core';
|
|
3
|
+
export declare const LU_DATE_SELECT_INPUT_TRANSLATIONS: InjectionToken<LuTranslation<ILuDateSelectInputLabel>>;
|
|
4
4
|
export interface ILuDateSelectInputLabel {
|
|
5
5
|
placeholderDay: string;
|
|
6
6
|
placeholderMonth: string;
|
|
7
7
|
placeholderYear: string;
|
|
8
|
-
formatDay: string;
|
|
9
8
|
formatMonth: string;
|
|
10
9
|
formatYear: string;
|
|
11
10
|
}
|
|
12
|
-
export declare const luDateSelectInputTranslations:
|
|
11
|
+
export declare const luDateSelectInputTranslations: LuTranslation<ILuDateSelectInputLabel>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export declare const Translations: {
|
|
2
|
+
en: {
|
|
3
|
+
placeholderDay: string;
|
|
4
|
+
placeholderMonth: string;
|
|
5
|
+
placeholderYear: string;
|
|
6
|
+
formatMonth: string;
|
|
7
|
+
formatYear: string;
|
|
8
|
+
};
|
|
9
|
+
de: {
|
|
10
|
+
placeholderDay: string;
|
|
11
|
+
placeholderMonth: string;
|
|
12
|
+
placeholderYear: string;
|
|
13
|
+
formatMonth: string;
|
|
14
|
+
formatYear: string;
|
|
15
|
+
};
|
|
16
|
+
fr: {
|
|
17
|
+
placeholderDay: string;
|
|
18
|
+
placeholderMonth: string;
|
|
19
|
+
placeholderYear: string;
|
|
20
|
+
formatMonth: string;
|
|
21
|
+
formatYear: string;
|
|
22
|
+
};
|
|
23
|
+
it: {
|
|
24
|
+
placeholderDay: string;
|
|
25
|
+
placeholderMonth: string;
|
|
26
|
+
placeholderYear: string;
|
|
27
|
+
formatMonth: string;
|
|
28
|
+
formatYear: string;
|
|
29
|
+
};
|
|
30
|
+
nl: {
|
|
31
|
+
placeholderDay: string;
|
|
32
|
+
placeholderMonth: string;
|
|
33
|
+
placeholderYear: string;
|
|
34
|
+
formatMonth: string;
|
|
35
|
+
formatYear: string;
|
|
36
|
+
};
|
|
37
|
+
'nl-BE': {
|
|
38
|
+
placeholderDay: string;
|
|
39
|
+
placeholderMonth: string;
|
|
40
|
+
placeholderYear: string;
|
|
41
|
+
formatMonth: string;
|
|
42
|
+
formatYear: string;
|
|
43
|
+
};
|
|
44
|
+
es: {
|
|
45
|
+
placeholderDay: string;
|
|
46
|
+
placeholderMonth: string;
|
|
47
|
+
placeholderYear: string;
|
|
48
|
+
formatMonth: string;
|
|
49
|
+
formatYear: string;
|
|
50
|
+
};
|
|
51
|
+
pt: {
|
|
52
|
+
placeholderDay: string;
|
|
53
|
+
placeholderMonth: string;
|
|
54
|
+
placeholderYear: string;
|
|
55
|
+
formatMonth: string;
|
|
56
|
+
formatYear: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
export declare const LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS: InjectionToken<
|
|
2
|
+
import { LuTranslation } from '@lucca-front/ng/core';
|
|
3
|
+
export declare const LU_DEPARTMENT_SELECT_INPUT_TRANSLATIONS: InjectionToken<LuTranslation<ILuDepartmentSelectInputLabel>>;
|
|
4
4
|
export interface ILuDepartmentSelectInputLabel {
|
|
5
5
|
departments: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const luDepartmentSelectInputTranslations:
|
|
7
|
+
export declare const luDepartmentSelectInputTranslations: LuTranslation<ILuDepartmentSelectInputLabel>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const Translations: {
|
|
2
|
+
en: {
|
|
3
|
+
departments: string;
|
|
4
|
+
};
|
|
5
|
+
de: {
|
|
6
|
+
departments: string;
|
|
7
|
+
};
|
|
8
|
+
fr: {
|
|
9
|
+
departments: string;
|
|
10
|
+
};
|
|
11
|
+
it: {
|
|
12
|
+
departments: string;
|
|
13
|
+
};
|
|
14
|
+
nl: {
|
|
15
|
+
departments: string;
|
|
16
|
+
};
|
|
17
|
+
'nl-BE': {
|
|
18
|
+
departments: string;
|
|
19
|
+
};
|
|
20
|
+
es: {
|
|
21
|
+
departments: string;
|
|
22
|
+
};
|
|
23
|
+
pt: {
|
|
24
|
+
departments: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
export declare const LU_DIALOG_HEADER_TRANSLATIONS: InjectionToken<
|
|
2
|
+
import { LuTranslation } from '@lucca-front/ng/core';
|
|
3
|
+
export declare const LU_DIALOG_HEADER_TRANSLATIONS: InjectionToken<LuTranslation<LuDialogHeaderTranslations>>;
|
|
4
4
|
export interface LuDialogHeaderTranslations {
|
|
5
5
|
close: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const luDialogHeaderTranslations:
|
|
7
|
+
export declare const luDialogHeaderTranslations: LuTranslation<LuDialogHeaderTranslations>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const Translations: {
|
|
2
|
+
en: {
|
|
3
|
+
close: string;
|
|
4
|
+
};
|
|
5
|
+
de: {
|
|
6
|
+
close: string;
|
|
7
|
+
};
|
|
8
|
+
fr: {
|
|
9
|
+
close: string;
|
|
10
|
+
};
|
|
11
|
+
it: {
|
|
12
|
+
close: string;
|
|
13
|
+
};
|
|
14
|
+
nl: {
|
|
15
|
+
close: string;
|
|
16
|
+
};
|
|
17
|
+
'nl-BE': {
|
|
18
|
+
close: string;
|
|
19
|
+
};
|
|
20
|
+
es: {
|
|
21
|
+
close: string;
|
|
22
|
+
};
|
|
23
|
+
pt: {
|
|
24
|
+
close: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -62,6 +62,10 @@ interface BaseLuDialogConfig<C> {
|
|
|
62
62
|
* @param comp the instance of the component that's inside the dialog box.
|
|
63
63
|
*/
|
|
64
64
|
canClose?: (comp: C) => boolean | Observable<boolean>;
|
|
65
|
+
/**
|
|
66
|
+
* Determine if the current dialog can be close by a click on backdrop or escape key
|
|
67
|
+
*/
|
|
68
|
+
canCloseWithBackdrop?: boolean;
|
|
65
69
|
/**
|
|
66
70
|
* The size of the panel used for the dialog
|
|
67
71
|
*/
|
package/dialog/public-api.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './dialog-content/dialog-content.component';
|
|
2
|
+
export * from './dialog-footer/dialog-footer.component';
|
|
3
|
+
export * from './dialog-header/dialog-header.component';
|
|
4
|
+
export * from './dialog-header/dialog-header.translate';
|
|
2
5
|
export * from './dialog.providers';
|
|
3
6
|
export * from './dialog.service';
|
|
4
7
|
export * from './dialog/dialog.component';
|
|
5
|
-
export * from './dialog-header/dialog-header.component';
|
|
6
|
-
export * from './dialog-footer/dialog-footer.component';
|
|
7
|
-
export * from './dialog-content/dialog-content.component';
|
|
8
|
-
export * from './directives/dialog-open.directive';
|
|
9
8
|
export * from './directives/dialog-close.directive';
|
|
10
9
|
export * from './directives/dialog-dismiss.directive';
|
|
10
|
+
export * from './directives/dialog-open.directive';
|
|
11
|
+
export * from './model';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export * from './skip-links/skip-links.component';
|
|
2
|
-
|
|
2
|
+
export * from './skip-links/skip-links.translate';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL25nL2ExMXkvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGNBQWMsbUNBQW1DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NraXAtbGlua3Mvc2tpcC1saW5rcy5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9za2lwLWxpbmtzL3NraXAtbGlua3MudHJhbnNsYXRlJztcbiJdfQ==
|