@lucca-front/ng 21.2.2 → 21.3.0-rc.1
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/fesm2022/lucca-front-ng-a11y.mjs +4 -4
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-activity-feed.mjs +26 -21
- package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +46 -41
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-app-layout.mjs +4 -4
- package/fesm2022/lucca-front-ng-app-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-box.mjs +7 -7
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +10 -10
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-icon.mjs +18 -12
- package/fesm2022/lucca-front-ng-bubble-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs +16 -11
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +76 -70
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +22 -16
- package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-clear.mjs +15 -10
- package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-code.mjs +5 -5
- package/fesm2022/lucca-front-ng-code.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-color.mjs +13 -8
- package/fesm2022/lucca-front-ng-color.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs +37 -32
- package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-container.mjs +13 -8
- package/fesm2022/lucca-front-ng-container.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-api.mjs +13 -13
- package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-department.mjs +21 -15
- package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs +15 -15
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +9 -9
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +6 -6
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +50 -45
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +90 -90
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +18 -18
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +95 -80
- package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +42 -42
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +133 -126
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +25 -25
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +61 -43
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +14 -9
- package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +43 -43
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +41 -35
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-error-page.mjs +12 -7
- package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +34 -34
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +16 -11
- package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +84 -64
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +61 -88
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs +17 -11
- package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +94 -76
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-header.mjs +10 -5
- package/fesm2022/lucca-front-ng-form-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-label.mjs +18 -13
- package/fesm2022/lucca-front-ng-form-label.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form.mjs +11 -8
- package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +58 -58
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +46 -41
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs +3 -3
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +8 -9
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +3 -3
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +94 -92
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +212 -153
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-gauge.mjs +19 -19
- package/fesm2022/lucca-front-ng-gauge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-grid.mjs +38 -26
- package/fesm2022/lucca-front-ng-grid.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-data.mjs +39 -17
- package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-text.mjs +26 -0
- package/fesm2022/lucca-front-ng-highlight-text.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +165 -20
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-impersonation.mjs +119 -0
- package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-index-table.mjs +69 -63
- package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +15 -8
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs +22 -22
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-link.mjs +12 -12
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +32 -27
- package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listing.mjs +21 -21
- package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-loading.mjs +14 -9
- package/fesm2022/lucca-front-ng-loading.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-main-layout.mjs +9 -9
- package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +5 -5
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +23 -23
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +113 -95
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +4 -4
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-number-format.mjs +10 -10
- package/fesm2022/lucca-front-ng-number-format.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-number.mjs +7 -7
- package/fesm2022/lucca-front-ng-number.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +18 -13
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +130 -130
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +9 -9
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs +17 -12
- package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +9 -9
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +17 -17
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +16 -16
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popup.mjs +10 -10
- package/fesm2022/lucca-front-ng-popup.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-bar.mjs +13 -8
- package/fesm2022/lucca-front-ng-progress-bar.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-progress-stepper.mjs +18 -13
- package/fesm2022/lucca-front-ng-progress-stepper.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +24 -19
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-resource-card.mjs +28 -22
- package/fesm2022/lucca-front-ng-resource-card.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-safe-content.mjs +10 -10
- package/fesm2022/lucca-front-ng-safe-content.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll-box.mjs +6 -6
- package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +8 -8
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +22 -16
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmented-control.mjs +11 -11
- package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +14 -14
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sidepanel.mjs +7 -7
- package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +37 -36
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +82 -56
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +84 -0
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-software-icon.mjs +34 -23
- package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sortable-list.mjs +14 -14
- package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-status-badge.mjs +13 -8
- package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-table-of-content.mjs +7 -7
- package/fesm2022/lucca-front-ng-table-of-content.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tag.mjs +19 -14
- package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-text-flow.mjs +4 -4
- package/fesm2022/lucca-front-ng-text-flow.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-time.mjs +362 -115
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-title.mjs +10 -10
- package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-toast.mjs +14 -14
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +35 -35
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tree-select.mjs +16 -16
- package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +22 -21
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +122 -100
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +27 -27
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
- package/package.json +18 -5
- package/schematics/lib/local-deps/package-lock.json +17 -79
- package/schematics/lib/local-deps/package.json +1 -1
- package/schematics/palettes/index.js +1 -0
- package/src/components/_picker.scss +2 -1
- package/types/lucca-front-ng-activity-feed.d.ts +8 -1
- package/types/lucca-front-ng-api.d.ts +22 -16
- package/types/lucca-front-ng-bubble-icon.d.ts +10 -1
- package/types/lucca-front-ng-bubble-illustration.d.ts +10 -4
- package/types/lucca-front-ng-callout.d.ts +21 -13
- package/types/lucca-front-ng-chip.d.ts +10 -1
- package/types/lucca-front-ng-clear.d.ts +8 -2
- package/types/lucca-front-ng-color.d.ts +8 -1
- package/types/lucca-front-ng-comment.d.ts +8 -1
- package/types/lucca-front-ng-container.d.ts +8 -1
- package/types/lucca-front-ng-core-select-department.d.ts +4 -0
- package/types/lucca-front-ng-core-select-user.d.ts +3 -2
- package/types/lucca-front-ng-core-select.d.ts +6 -6
- package/types/lucca-front-ng-core.d.ts +1 -1
- package/types/lucca-front-ng-data-table.d.ts +12 -1
- package/types/lucca-front-ng-date2.d.ts +17 -9
- package/types/lucca-front-ng-dialog.d.ts +14 -3
- package/types/lucca-front-ng-divider.d.ts +8 -1
- package/types/lucca-front-ng-empty-state.d.ts +15 -7
- package/types/lucca-front-ng-error-page.d.ts +9 -4
- package/types/lucca-front-ng-fancy-box.d.ts +8 -1
- package/types/lucca-front-ng-file-upload.d.ts +20 -4
- package/types/lucca-front-ng-filter-pills.d.ts +4 -9
- package/types/lucca-front-ng-footer.d.ts +11 -2
- package/types/lucca-front-ng-form-field.d.ts +35 -18
- package/types/lucca-front-ng-form-header.d.ts +8 -1
- package/types/lucca-front-ng-form-label.d.ts +8 -1
- package/types/lucca-front-ng-form.d.ts +2 -0
- package/types/lucca-front-ng-forms-phone-number-input.d.ts +19 -12
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +1 -0
- package/types/lucca-front-ng-forms.d.ts +82 -30
- package/types/lucca-front-ng-grid.d.ts +23 -8
- package/types/lucca-front-ng-highlight-data.d.ts +16 -1
- package/types/lucca-front-ng-highlight-text.d.ts +12 -0
- package/types/lucca-front-ng-horizontal-navigation.d.ts +40 -3
- package/types/lucca-front-ng-impersonation.d.ts +33 -0
- package/types/lucca-front-ng-index-table.d.ts +10 -1
- package/types/lucca-front-ng-inline-message.d.ts +11 -4
- package/types/lucca-front-ng-listbox.d.ts +8 -1
- package/types/lucca-front-ng-loading.d.ts +8 -1
- package/types/lucca-front-ng-multi-select.d.ts +3 -1
- package/types/lucca-front-ng-numeric-badge.d.ts +8 -1
- package/types/lucca-front-ng-pagination.d.ts +8 -1
- package/types/lucca-front-ng-progress-bar.d.ts +9 -2
- package/types/lucca-front-ng-progress-stepper.d.ts +8 -1
- package/types/lucca-front-ng-read-more.d.ts +8 -1
- package/types/lucca-front-ng-resource-card.d.ts +10 -1
- package/types/lucca-front-ng-segmented-control-tabs.d.ts +2 -0
- package/types/lucca-front-ng-segmented-control.d.ts +4 -2
- package/types/lucca-front-ng-simple-select.d.ts +3 -2
- package/types/lucca-front-ng-skeleton.d.ts +30 -10
- package/types/lucca-front-ng-software-icon-wrapper.d.ts +31 -0
- package/types/lucca-front-ng-software-icon.d.ts +17 -6
- package/types/lucca-front-ng-status-badge.d.ts +8 -1
- package/types/lucca-front-ng-tag.d.ts +8 -1
- package/types/lucca-front-ng-time.d.ts +87 -8
- package/types/lucca-front-ng-user.d.ts +19 -5
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { LuccaIcon } from '@lucca-front/icons';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Available TagComponent Types
|
|
6
|
+
*/
|
|
7
|
+
declare const TAG_SIZE: readonly ["S", "M", "L"];
|
|
8
|
+
type TagSize = (typeof TAG_SIZE)[number];
|
|
9
|
+
|
|
4
10
|
declare class TagComponent {
|
|
5
11
|
/**
|
|
6
12
|
* Which text should the tag be? Defaults to medium
|
|
@@ -43,4 +49,5 @@ declare class TagComponent {
|
|
|
43
49
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "lu-tag", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "palette": { "alias": "palette"; "required": false; "isSignal": true; }; "outlined": { "alias": "outlined"; "required": false; "isSignal": true; }; "link": { "alias": "link"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "withEllipsis": { "alias": "withEllipsis"; "required": false; "isSignal": true; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
44
50
|
}
|
|
45
51
|
|
|
46
|
-
export { TagComponent };
|
|
52
|
+
export { TAG_SIZE, TagComponent };
|
|
53
|
+
export type { TagSize };
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { ModelSignal, ElementRef, InjectionToken } from '@angular/core';
|
|
2
|
+
import { ModelSignal, ElementRef, InjectionToken, OnInit } from '@angular/core';
|
|
3
3
|
import * as _lucca_front_ng_time from '@lucca-front/ng/time';
|
|
4
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
5
|
+
import * as _lucca_front_ng_core from '@lucca-front/ng/core';
|
|
5
6
|
import { LuTranslation } from '@lucca-front/ng/core';
|
|
6
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Available BasePickerComponent sizes
|
|
10
|
+
*/
|
|
11
|
+
declare const BASE_PICKER_SIZE: readonly ["S", "M"];
|
|
12
|
+
type BasePickerSize = (typeof BASE_PICKER_SIZE)[number];
|
|
13
|
+
|
|
7
14
|
type ISO8601Duration = `${string}P${string}`;
|
|
8
15
|
type ISO8601Time = `${string}:${string}:${string}`;
|
|
9
16
|
|
|
@@ -28,11 +35,13 @@ declare class TimePickerPartComponent {
|
|
|
28
35
|
isValueSet: ModelSignal<boolean>;
|
|
29
36
|
prevRequest: _angular_core.OutputEmitterRef<void>;
|
|
30
37
|
nextRequest: _angular_core.OutputEmitterRef<void>;
|
|
38
|
+
nonDigitKeyPressed: _angular_core.OutputEmitterRef<void>;
|
|
31
39
|
inputControlClick: _angular_core.OutputEmitterRef<PickerControlDirection>;
|
|
32
40
|
touched: _angular_core.OutputEmitterRef<void>;
|
|
33
41
|
timePickerInput?: ElementRef<HTMLInputElement>;
|
|
34
42
|
valueLabel: _angular_core.Signal<string | number>;
|
|
35
|
-
|
|
43
|
+
readonly currentValue: _angular_core.Signal<number | "––">;
|
|
44
|
+
readonly inputId: string;
|
|
36
45
|
constructor(locale: string);
|
|
37
46
|
arrowKeyPressed(event: KeyboardEvent, isUpArrow: boolean): void;
|
|
38
47
|
keysInputHandler(event: Event): void;
|
|
@@ -44,7 +53,7 @@ declare class TimePickerPartComponent {
|
|
|
44
53
|
moveRequest(event: Event, direction: 'prev' | 'next'): void;
|
|
45
54
|
focus(): void;
|
|
46
55
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimePickerPartComponent, never>;
|
|
47
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerPartComponent, "lu-time-picker-part", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "decimalConf": { "alias": "decimalConf"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "display": { "alias": "display"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "autoWidth": { "alias": "autoWidth"; "required": false; "isSignal": true; }; "displayArrows": { "alias": "displayArrows"; "required": false; "isSignal": true; }; "isReadonly": { "alias": "isReadonly"; "required": false; "isSignal": true; }; "hideValue": { "alias": "hideValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focused": { "alias": "focused"; "required": false; "isSignal": true; }; "maxDigits": { "alias": "maxDigits"; "required": false; "isSignal": true; }; "showZero": { "alias": "showZero"; "required": false; "isSignal": true; }; "digitNumber": { "alias": "digitNumber"; "required": false; "isSignal": true; }; "isValueSet": { "alias": "isValueSet"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "digitNumber": "digitNumberChange"; "isValueSet": "isValueSetChange"; "prevRequest": "prevRequest"; "nextRequest": "nextRequest"; "inputControlClick": "inputControlClick"; "touched": "touched"; }, never, never, true, never>;
|
|
56
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerPartComponent, "lu-time-picker-part", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "decimalConf": { "alias": "decimalConf"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "display": { "alias": "display"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "autoWidth": { "alias": "autoWidth"; "required": false; "isSignal": true; }; "displayArrows": { "alias": "displayArrows"; "required": false; "isSignal": true; }; "isReadonly": { "alias": "isReadonly"; "required": false; "isSignal": true; }; "hideValue": { "alias": "hideValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focused": { "alias": "focused"; "required": false; "isSignal": true; }; "maxDigits": { "alias": "maxDigits"; "required": false; "isSignal": true; }; "showZero": { "alias": "showZero"; "required": false; "isSignal": true; }; "digitNumber": { "alias": "digitNumber"; "required": false; "isSignal": true; }; "isValueSet": { "alias": "isValueSet"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "digitNumber": "digitNumberChange"; "isValueSet": "isValueSetChange"; "prevRequest": "prevRequest"; "nextRequest": "nextRequest"; "nonDigitKeyPressed": "nonDigitKeyPressed"; "inputControlClick": "inputControlClick"; "touched": "touched"; }, never, never, true, never>;
|
|
48
57
|
}
|
|
49
58
|
|
|
50
59
|
declare abstract class BasePickerComponent implements ControlValueAccessor {
|
|
@@ -86,6 +95,7 @@ declare class DurationPickerComponent extends BasePickerComponent {
|
|
|
86
95
|
readonly label: _angular_core.InputSignal<string>;
|
|
87
96
|
readonly hideZeroValue: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
88
97
|
readonly durationChange: _angular_core.OutputEmitterRef<DurationChangeEvent>;
|
|
98
|
+
keyPressed: _angular_core.WritableSignal<boolean>;
|
|
89
99
|
protected readonly hours: _angular_core.Signal<number>;
|
|
90
100
|
protected readonly minutes: _angular_core.Signal<number>;
|
|
91
101
|
protected readonly shouldHideValue: _angular_core.Signal<boolean>;
|
|
@@ -95,6 +105,7 @@ declare class DurationPickerComponent extends BasePickerComponent {
|
|
|
95
105
|
timePicker: boolean;
|
|
96
106
|
'mod-stepper': boolean;
|
|
97
107
|
'mod-stepperHover': boolean;
|
|
108
|
+
'pr-u-animatedShake': boolean;
|
|
98
109
|
}>;
|
|
99
110
|
protected readonly fieldsetSuffixClasses: _angular_core.Signal<{
|
|
100
111
|
'timePicker-fieldset-groupSeparator': boolean;
|
|
@@ -137,6 +148,7 @@ type TimeChangeEvent = {
|
|
|
137
148
|
});
|
|
138
149
|
|
|
139
150
|
declare class TimePickerComponent extends BasePickerComponent {
|
|
151
|
+
#private;
|
|
140
152
|
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_time.TimePickerTranslations, Partial<_lucca_front_ng_time.TimePickerTranslations>>;
|
|
141
153
|
protected localeId: string;
|
|
142
154
|
readonly idSuffix: number;
|
|
@@ -146,9 +158,14 @@ declare class TimePickerComponent extends BasePickerComponent {
|
|
|
146
158
|
readonly max: _angular_core.InputSignal<`${string}:${string}:${string}`>;
|
|
147
159
|
readonly displayArrows: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
148
160
|
readonly forceMeridiemDisplay: _angular_core.InputSignal<boolean>;
|
|
161
|
+
keyPressed: _angular_core.WritableSignal<boolean>;
|
|
149
162
|
readonly enableMeridiemDisplay: _angular_core.Signal<boolean>;
|
|
150
163
|
readonly label: _angular_core.InputSignal<string>;
|
|
151
164
|
readonly timeChange: _angular_core.OutputEmitterRef<TimeChangeEvent>;
|
|
165
|
+
readonly prevPicker: _angular_core.OutputEmitterRef<void>;
|
|
166
|
+
readonly nextPicker: _angular_core.OutputEmitterRef<void>;
|
|
167
|
+
readonly nonDigitKeyPressed: _angular_core.OutputEmitterRef<void>;
|
|
168
|
+
readonly touched: _angular_core.OutputEmitterRef<void>;
|
|
152
169
|
protected readonly hoursDisplay: _angular_core.Signal<number | "––">;
|
|
153
170
|
protected readonly minutesDisplay: _angular_core.Signal<number | "––">;
|
|
154
171
|
protected readonly hours: _angular_core.Signal<number>;
|
|
@@ -158,12 +175,15 @@ declare class TimePickerComponent extends BasePickerComponent {
|
|
|
158
175
|
timePicker: boolean;
|
|
159
176
|
'mod-stepper': boolean;
|
|
160
177
|
'mod-stepperHover': boolean;
|
|
178
|
+
'pr-u-animatedShake': boolean;
|
|
161
179
|
}>;
|
|
162
180
|
protected separator: _angular_core.Signal<string>;
|
|
163
181
|
protected hoursDecimalConf: string;
|
|
164
182
|
protected readonly maxHours: _angular_core.Signal<number>;
|
|
165
183
|
protected readonly ampmDisplay: _angular_core.Signal<"AM" | "PM">;
|
|
166
|
-
|
|
184
|
+
constructor();
|
|
185
|
+
get firstTimePickerInputId(): string | undefined;
|
|
186
|
+
focusPart(type: 'hours' | 'minutes' | 'meridiem'): void;
|
|
167
187
|
writeValue(value: ISO8601Time): void;
|
|
168
188
|
setDisabledState?(isDisabled: boolean): void;
|
|
169
189
|
protected hoursInputHandler(value: number | '––'): void;
|
|
@@ -176,8 +196,9 @@ declare class TimePickerComponent extends BasePickerComponent {
|
|
|
176
196
|
protected inputControlClickHandler(part: 'hours' | 'minutes', direction: PickerControlDirection): void;
|
|
177
197
|
focus(): void;
|
|
178
198
|
switchMeridiem(newValue: 'AM' | 'PM'): void;
|
|
199
|
+
nonDigitKeyPressedHandler(): void;
|
|
179
200
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimePickerComponent, never>;
|
|
180
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerComponent, "lu-time-picker", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "displayArrows": { "alias": "displayArrows"; "required": false; "isSignal": true; }; "forceMeridiemDisplay": { "alias": "forceMeridiemDisplay"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "timeChange": "timeChange"; }, never, never, true, never>;
|
|
201
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerComponent, "lu-time-picker", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "displayArrows": { "alias": "displayArrows"; "required": false; "isSignal": true; }; "forceMeridiemDisplay": { "alias": "forceMeridiemDisplay"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "timeChange": "timeChange"; "prevPicker": "prevPicker"; "nextPicker": "nextPicker"; "nonDigitKeyPressed": "nonDigitKeyPressed"; "touched": "touched"; }, never, never, true, never>;
|
|
181
202
|
}
|
|
182
203
|
|
|
183
204
|
declare const LU_TIME_PICKER_TRANSLATIONS: InjectionToken<LuTranslation<TimePickerTranslations>>;
|
|
@@ -188,5 +209,63 @@ type TimePickerTranslations = {
|
|
|
188
209
|
};
|
|
189
210
|
declare const luTimePickerTranslations: LuTranslation<TimePickerTranslations>;
|
|
190
211
|
|
|
191
|
-
|
|
192
|
-
|
|
212
|
+
interface TimeRangePickerRange {
|
|
213
|
+
start?: ISO8601Time;
|
|
214
|
+
end?: ISO8601Time;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
declare class TimeRangePickerComponent implements ControlValueAccessor, OnInit, Validator {
|
|
218
|
+
#private;
|
|
219
|
+
readonly value: _angular_core.WritableSignal<TimeRangePickerRange>;
|
|
220
|
+
readonly intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_time.TimeRangePickerTranslations, Partial<_lucca_front_ng_time.TimeRangePickerTranslations>>;
|
|
221
|
+
readonly displayArrows: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
222
|
+
readonly forceMeridiemDisplay: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
223
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
224
|
+
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
225
|
+
readonly size: _angular_core.InputSignal<"S" | "M">;
|
|
226
|
+
readonly max: _angular_core.InputSignal<`${string}:${string}:${string}`>;
|
|
227
|
+
readonly step: _angular_core.InputSignal<`${string}P${string}`>;
|
|
228
|
+
keyPressed: _angular_core.WritableSignal<boolean>;
|
|
229
|
+
readonly startValue: _angular_core.Signal<`${string}:${string}:${string}`>;
|
|
230
|
+
readonly endValue: _angular_core.Signal<`${string}:${string}:${string}`>;
|
|
231
|
+
readonly formFieldLabel: _angular_core.Signal<_lucca_front_ng_core.PortalContent>;
|
|
232
|
+
readonly isLocaleFr: _angular_core.Signal<boolean>;
|
|
233
|
+
DEFAULT_TIME_VALUE: string;
|
|
234
|
+
constructor();
|
|
235
|
+
ngOnInit(): void;
|
|
236
|
+
validate(control: AbstractControl<TimeRangePickerRange | null>): ValidationErrors | null;
|
|
237
|
+
writeValue(value: TimeRangePickerRange | null): void;
|
|
238
|
+
registerOnChange(fn: (value: TimeRangePickerRange | null) => void): void;
|
|
239
|
+
registerOnTouched(fn: () => void): void;
|
|
240
|
+
setDisabledState(isDisabled: boolean): void;
|
|
241
|
+
onStartChange(start: ISO8601Time): void;
|
|
242
|
+
onEndChange(end: ISO8601Time): void;
|
|
243
|
+
onTouched(): void;
|
|
244
|
+
partToFocus(): 'meridiem' | 'minutes';
|
|
245
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimeRangePickerComponent, never>;
|
|
246
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimeRangePickerComponent, "lu-time-range-picker", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "displayArrows": { "alias": "displayArrows"; "required": false; "isSignal": true; }; "forceMeridiemDisplay": { "alias": "forceMeridiemDisplay"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
declare const LU_TIME_RANGE_PICKER_TRANSLATIONS: InjectionToken<LuTranslation<TimeRangePickerTranslations>>;
|
|
250
|
+
type TimeRangePickerTranslations = {
|
|
251
|
+
timeRangePickerStart: string;
|
|
252
|
+
timeRangePickerEnd: string;
|
|
253
|
+
timeRangePickerFrom: string;
|
|
254
|
+
timeRangePickerAt: string;
|
|
255
|
+
};
|
|
256
|
+
declare const luTimeRangePickerTranslations: LuTranslation<TimeRangePickerTranslations>;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Available TimeRangePicker Types
|
|
260
|
+
*/
|
|
261
|
+
declare const TIME_RANGE_PICKER_SIZE: readonly ["S", "M"];
|
|
262
|
+
type TimeRangePickerSize = (typeof TIME_RANGE_PICKER_SIZE)[number];
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Validator that checks if the end time is before the start time
|
|
266
|
+
* Returns an error object `endTimeBeforeStartTime: true` if the end time is before the start time
|
|
267
|
+
*/
|
|
268
|
+
declare function endTimeBeforeStartTimeValidator(): ValidatorFn;
|
|
269
|
+
|
|
270
|
+
export { BASE_PICKER_SIZE, DurationPickerComponent, LU_DURATION_PICKER_TRANSLATIONS, LU_TIME_PICKER_TRANSLATIONS, LU_TIME_RANGE_PICKER_TRANSLATIONS, TIME_RANGE_PICKER_SIZE, TimePickerComponent, TimeRangePickerComponent, endTimeBeforeStartTimeValidator, luDurationPickerTranslations, luTimePickerTranslations, luTimeRangePickerTranslations };
|
|
271
|
+
export type { BasePickerSize, DurationPickerTranslations, ISO8601Duration, ISO8601Time, TimePickerTranslations, TimeRangePickerRange, TimeRangePickerSize, TimeRangePickerTranslations };
|
|
@@ -78,6 +78,12 @@ declare class LuUserDisplayModule {
|
|
|
78
78
|
static ɵinj: i0.ɵɵInjectorDeclaration<LuUserDisplayModule>;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
+
/**
|
|
82
|
+
* Available LuUserTileComponent Sizes
|
|
83
|
+
*/
|
|
84
|
+
declare const USER_TILE_SIZE: readonly ["L", "M", "S", "XS"];
|
|
85
|
+
type UserTileSize = (typeof USER_TILE_SIZE)[number];
|
|
86
|
+
|
|
81
87
|
interface LuUserTileUserInput {
|
|
82
88
|
picture?: {
|
|
83
89
|
href: string;
|
|
@@ -108,7 +114,7 @@ declare class LuUserTileComponent {
|
|
|
108
114
|
/**
|
|
109
115
|
* Which size should the user tile be? Defaults to medium
|
|
110
116
|
*/
|
|
111
|
-
readonly size: i0.InputSignal<"L" | "
|
|
117
|
+
readonly size: i0.InputSignal<"L" | "M" | "S" | "XS">;
|
|
112
118
|
readonly displayPictureFormat: i0.Signal<_lucca_front_ng_user.LuDisplayInitials>;
|
|
113
119
|
constructor();
|
|
114
120
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuUserTileComponent, never>;
|
|
@@ -124,6 +130,12 @@ declare class LuUserTileModule {
|
|
|
124
130
|
static ɵinj: i0.ɵɵInjectorDeclaration<LuUserTileModule>;
|
|
125
131
|
}
|
|
126
132
|
|
|
133
|
+
/**
|
|
134
|
+
* Available LuUserPictureComponent Sizes
|
|
135
|
+
*/
|
|
136
|
+
declare const USER_PICTURE_SIZE: readonly ["XS", "S", "M", "L", "XL", "XXL", "XXXL"];
|
|
137
|
+
type UserPictureSize = (typeof USER_PICTURE_SIZE)[number];
|
|
138
|
+
|
|
127
139
|
interface LuUserPictureUserInput {
|
|
128
140
|
picture?: {
|
|
129
141
|
href: string;
|
|
@@ -144,7 +156,9 @@ declare class LuUserPictureComponent {
|
|
|
144
156
|
readonly displayFormat: i0.InputSignal<LuDisplayInitials>;
|
|
145
157
|
readonly user: i0.InputSignal<LuUserPictureUserInput>;
|
|
146
158
|
readonly AI: i0.InputSignalWithTransform<boolean, unknown>;
|
|
147
|
-
readonly
|
|
159
|
+
readonly placeholder: i0.InputSignalWithTransform<boolean, unknown>;
|
|
160
|
+
readonly softRounded: i0.InputSignalWithTransform<boolean, unknown>;
|
|
161
|
+
readonly size: i0.InputSignal<"L" | "M" | "S" | "XS" | "XL" | "XXL" | "XXXL">;
|
|
148
162
|
/**
|
|
149
163
|
* Image loading attribute
|
|
150
164
|
* It is set to 'lazy' by default
|
|
@@ -163,7 +177,7 @@ declare class LuUserPictureComponent {
|
|
|
163
177
|
}>;
|
|
164
178
|
pictureError(): void;
|
|
165
179
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuUserPictureComponent, never>;
|
|
166
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserPictureComponent, "lu-user-picture", never, { "displayFormat": { "alias": "displayFormat"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": false; "isSignal": true; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "imageLoadingAttribute": { "alias": "imageLoadingAttribute"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
180
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserPictureComponent, "lu-user-picture", never, { "displayFormat": { "alias": "displayFormat"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": false; "isSignal": true; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "softRounded": { "alias": "softRounded"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "imageLoadingAttribute": { "alias": "imageLoadingAttribute"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
167
181
|
}
|
|
168
182
|
|
|
169
183
|
/**
|
|
@@ -380,5 +394,5 @@ declare class LuUserModule {
|
|
|
380
394
|
static ɵinj: i0.ɵɵInjectorDeclaration<LuUserModule>;
|
|
381
395
|
}
|
|
382
396
|
|
|
383
|
-
export { ALuUserHomonymsService, ALuUserService, LU_DEFAULT_DISPLAY_POLICY, LU_USER_SEARCHER_TRANSLATIONS, LU_USER_SELECT_INPUT_TRANSLATIONS, LuDisplayFullname, LuDisplayHybrid, LuDisplayInitials, LuUserDisplayModule, LuUserDisplayPipe, LuUserHomonymsComponent, LuUserHomonymsService, LuUserMeOptionDirective, LuUserMeOptionModule, LuUserModule, LuUserPagedSearcherComponent, LuUserPictureComponent, LuUserPictureModule, LuUserSearcherModule, LuUserSelectInputComponent, LuUserSelectInputModule, LuUserSelectModule, LuUserTileComponent, LuUserTileModule, LuUserV3Service, luUserDisplay, luUserSearcherTranslations, luUserSelectInputTranslations, luUsersDisplay };
|
|
384
|
-
export type { ILuUser, ILuUserHomonymsService, ILuUserSearcherLabel, ILuUserSelectInputLabel, ILuUserService, LuDisplayFormat, LuUserDisplayInput, LuUserDisplayMultipleOptions, LuUserDisplaySingleOptions, LuUserPictureUserInput, LuUserTileUserInput };
|
|
397
|
+
export { ALuUserHomonymsService, ALuUserService, LU_DEFAULT_DISPLAY_POLICY, LU_USER_SEARCHER_TRANSLATIONS, LU_USER_SELECT_INPUT_TRANSLATIONS, LuDisplayFullname, LuDisplayHybrid, LuDisplayInitials, LuUserDisplayModule, LuUserDisplayPipe, LuUserHomonymsComponent, LuUserHomonymsService, LuUserMeOptionDirective, LuUserMeOptionModule, LuUserModule, LuUserPagedSearcherComponent, LuUserPictureComponent, LuUserPictureModule, LuUserSearcherModule, LuUserSelectInputComponent, LuUserSelectInputModule, LuUserSelectModule, LuUserTileComponent, LuUserTileModule, LuUserV3Service, USER_PICTURE_SIZE, USER_TILE_SIZE, luUserDisplay, luUserSearcherTranslations, luUserSelectInputTranslations, luUsersDisplay };
|
|
398
|
+
export type { ILuUser, ILuUserHomonymsService, ILuUserSearcherLabel, ILuUserSelectInputLabel, ILuUserService, LuDisplayFormat, LuUserDisplayInput, LuUserDisplayMultipleOptions, LuUserDisplaySingleOptions, LuUserPictureUserInput, LuUserTileUserInput, UserPictureSize, UserTileSize };
|