@lucca-front/ng 22.1.0 → 22.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/fesm2022/lucca-front-ng-a11y.mjs +9 -9
- package/fesm2022/lucca-front-ng-activity-feed.mjs +19 -15
- package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +40 -40
- package/fesm2022/lucca-front-ng-app-layout.mjs +3 -3
- package/fesm2022/lucca-front-ng-approbation-inbox.mjs +74 -53
- package/fesm2022/lucca-front-ng-approbation-inbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-box.mjs +3 -3
- package/fesm2022/lucca-front-ng-breadcrumbs.mjs +6 -6
- package/fesm2022/lucca-front-ng-bubble-icon.mjs +3 -3
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs +7 -7
- package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +25 -25
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-chip.mjs +3 -3
- package/fesm2022/lucca-front-ng-clear.mjs +3 -3
- package/fesm2022/lucca-front-ng-code.mjs +3 -3
- package/fesm2022/lucca-front-ng-color.mjs +3 -3
- package/fesm2022/lucca-front-ng-comment.mjs +9 -9
- package/fesm2022/lucca-front-ng-container.mjs +3 -3
- package/fesm2022/lucca-front-ng-core-select-api.mjs +9 -9
- package/fesm2022/lucca-front-ng-core-select-department.mjs +8 -6
- package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs +16 -10
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +11 -7
- package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-legal-units.mjs +6 -6
- package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +3 -3
- package/fesm2022/lucca-front-ng-core-select-user.mjs +20 -18
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +68 -60
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +24 -19
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-data-table.mjs +24 -24
- package/fesm2022/lucca-front-ng-date.mjs +44 -40
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +96 -49
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +28 -26
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +42 -39
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-divider.mjs +3 -3
- package/fesm2022/lucca-front-ng-dropdown.mjs +42 -41
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +14 -14
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-error-page.mjs +5 -4
- package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +36 -34
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-fancy-box.mjs +5 -4
- package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +20 -20
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills-core.mjs +6 -6
- package/fesm2022/lucca-front-ng-filter-pills.mjs +19 -19
- package/fesm2022/lucca-front-ng-footer.mjs +3 -3
- package/fesm2022/lucca-front-ng-form-field.mjs +24 -20
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-header.mjs +3 -3
- package/fesm2022/lucca-front-ng-form-label.mjs +3 -3
- package/fesm2022/lucca-front-ng-form.mjs +3 -3
- package/fesm2022/lucca-front-ng-formly.mjs +58 -58
- package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +10 -9
- 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-markdown.mjs +6 -6
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +3 -3
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +38 -37
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +50 -40
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-gauge.mjs +3 -3
- package/fesm2022/lucca-front-ng-grid.mjs +6 -6
- package/fesm2022/lucca-front-ng-highlight-data.mjs +6 -6
- package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-section.mjs +8 -5
- package/fesm2022/lucca-front-ng-highlight-section.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-highlight-text.mjs +3 -3
- package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +9 -9
- package/fesm2022/lucca-front-ng-impersonation.mjs +5 -3
- package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-index-table.mjs +30 -30
- package/fesm2022/lucca-front-ng-inline-message.mjs +3 -3
- package/fesm2022/lucca-front-ng-input.mjs +25 -23
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-kbd.mjs +3 -3
- package/fesm2022/lucca-front-ng-link.mjs +38 -14
- package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +9 -9
- package/fesm2022/lucca-front-ng-listing.mjs +21 -11
- package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-loading.mjs +3 -3
- package/fesm2022/lucca-front-ng-main-layout.mjs +8 -8
- package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-markdown.mjs +3 -3
- package/fesm2022/lucca-front-ng-mobile-push.mjs +6 -5
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +22 -22
- package/fesm2022/lucca-front-ng-multi-select.mjs +45 -44
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-number-format.mjs +22 -13
- 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-option.mjs +164 -143
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +3 -3
- package/fesm2022/lucca-front-ng-pagination.mjs +3 -3
- package/fesm2022/lucca-front-ng-plg-push.mjs +6 -5
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +29 -17
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +7 -7
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popup.mjs +10 -10
- package/fesm2022/lucca-front-ng-priority-level.mjs +128 -0
- package/fesm2022/lucca-front-ng-priority-level.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-progress-bar.mjs +3 -3
- package/fesm2022/lucca-front-ng-progress-stepper.mjs +6 -6
- package/fesm2022/lucca-front-ng-read-more.mjs +3 -3
- package/fesm2022/lucca-front-ng-resource-card.mjs +12 -12
- package/fesm2022/lucca-front-ng-safe-content.mjs +10 -10
- package/fesm2022/lucca-front-ng-scroll-box.mjs +3 -3
- package/fesm2022/lucca-front-ng-scroll.mjs +7 -7
- package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +8 -8
- package/fesm2022/lucca-front-ng-segmented-control.mjs +8 -8
- package/fesm2022/lucca-front-ng-select.mjs +16 -15
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sidepanel.mjs +9 -8
- package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +20 -18
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +6 -6
- package/fesm2022/lucca-front-ng-software-icon.mjs +7 -5
- package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sortable-list.mjs +6 -6
- package/fesm2022/lucca-front-ng-status-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-table-of-content.mjs +6 -6
- package/fesm2022/lucca-front-ng-text-flow.mjs +3 -3
- package/fesm2022/lucca-front-ng-time.mjs +36 -25
- package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-title.mjs +10 -10
- package/fesm2022/lucca-front-ng-toast.mjs +10 -10
- package/fesm2022/lucca-front-ng-tree-select.mjs +7 -7
- package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +19 -19
- package/fesm2022/lucca-front-ng-user.mjs +71 -62
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-vertical-navigation.mjs +12 -12
- package/llms/SKILL.md +233 -0
- package/llms/references/components/activity-feed/activity-feed.component.md +339 -0
- package/llms/references/components/activity-feed/activity-feed.design.md +145 -0
- package/llms/references/components/activity-feed/activity-feed.md +129 -0
- package/llms/references/components/animations/animations.component.md +11 -0
- package/llms/references/components/animations/animations.md +7 -0
- package/llms/references/components/api-select/api-select.md +40 -0
- package/llms/references/components/app-layout/app-layout.component.md +65 -0
- package/llms/references/components/app-layout/app-layout.design.md +61 -0
- package/llms/references/components/app-layout/app-layout.md +80 -0
- package/llms/references/components/approbation-inbox/approbation-inbox.component.md +1062 -0
- package/llms/references/components/approbation-inbox/approbation-inbox.design.md +162 -0
- package/llms/references/components/approbation-inbox/approbation-inbox.md +177 -0
- package/llms/references/components/avatar/avatar.component.md +571 -0
- package/llms/references/components/avatar/avatar.md +97 -0
- package/llms/references/components/box/box.component.md +155 -0
- package/llms/references/components/box/box.md +98 -0
- package/llms/references/components/breadcrumbs/breadcrumbs.component.md +60 -0
- package/llms/references/components/breadcrumbs/breadcrumbs.design.md +11 -0
- package/llms/references/components/breadcrumbs/breadcrumbs.md +96 -0
- package/llms/references/components/bubble-icon/bubble-icon.component.md +56 -0
- package/llms/references/components/bubble-icon/bubble-icon.design.md +47 -0
- package/llms/references/components/bubble-icon/bubble-icon.md +83 -0
- package/llms/references/components/bubble-illustration/bubble-illustration.component.md +54 -0
- package/llms/references/components/bubble-illustration/bubble-illustration.design.md +69 -0
- package/llms/references/components/bubble-illustration/bubble-illustration.md +76 -0
- package/llms/references/components/button/button.component.md +275 -0
- package/llms/references/components/button/button.design.md +322 -0
- package/llms/references/components/button/button.md +134 -0
- package/llms/references/components/calendar/calendar.component.md +750 -0
- package/llms/references/components/calendar/calendar.design.md +43 -0
- package/llms/references/components/calendar/calendar.md +127 -0
- package/llms/references/components/calendar2/calendar2.md +74 -0
- package/llms/references/components/callout/callout.component.md +254 -0
- package/llms/references/components/callout/callout.design.md +197 -0
- package/llms/references/components/callout/callout.md +259 -0
- package/llms/references/components/callout-disclosure/callout-disclosure.component.md +240 -0
- package/llms/references/components/callout-disclosure/callout-disclosure.design.md +197 -0
- package/llms/references/components/callout-disclosure/callout-disclosure.md +207 -0
- package/llms/references/components/callout-popover/callout-popover.component.md +182 -0
- package/llms/references/components/callout-popover/callout-popover.design.md +197 -0
- package/llms/references/components/callout-popover/callout-popover.md +212 -0
- package/llms/references/components/card/card.component.md +62 -0
- package/llms/references/components/card/card.design.md +36 -0
- package/llms/references/components/card/card.md +7 -0
- package/llms/references/components/checkbox/checkbox.component.md +50 -0
- package/llms/references/components/checkbox/checkbox.design.md +196 -0
- package/llms/references/components/checkbox/checkbox.md +73 -0
- package/llms/references/components/chip/chip.component.md +145 -0
- package/llms/references/components/chip/chip.md +118 -0
- package/llms/references/components/clear/clear.component.md +38 -0
- package/llms/references/components/clear/clear.design.md +36 -0
- package/llms/references/components/clear/clear.md +88 -0
- package/llms/references/components/code/code.component.md +33 -0
- package/llms/references/components/code/code.md +47 -0
- package/llms/references/components/color/color.md +32 -0
- package/llms/references/components/color-input/color-input.md +43 -0
- package/llms/references/components/color-picker/color-picker.component.md +29 -0
- package/llms/references/components/color-picker/color-picker.design.md +42 -0
- package/llms/references/components/color-picker/color-picker.md +24 -0
- package/llms/references/components/comment/comment.component.md +451 -0
- package/llms/references/components/comment/comment.design.md +67 -0
- package/llms/references/components/comment/comment.md +137 -0
- package/llms/references/components/container/container.component.md +41 -0
- package/llms/references/components/container/container.md +74 -0
- package/llms/references/components/core-select-department/core-select-department.md +42 -0
- package/llms/references/components/core-select-establishment/core-select-establishment.md +45 -0
- package/llms/references/components/core-select-job-qualification/core-select-job-qualification.md +25 -0
- package/llms/references/components/core-select-occupation-category/core-select-occupation-category.md +25 -0
- package/llms/references/components/core-select-user/core-select-user.md +81 -0
- package/llms/references/components/data-presentation/data-presentation.component.md +47 -0
- package/llms/references/components/data-presentation/data-presentation.md +48 -0
- package/llms/references/components/data-table/data-table.component.md +1649 -0
- package/llms/references/components/data-table/data-table.design.md +159 -0
- package/llms/references/components/data-table/data-table.md +338 -0
- package/llms/references/components/date/date.component.md +31 -0
- package/llms/references/components/date/date.md +164 -0
- package/llms/references/components/dateinput/dateinput.component.md +127 -0
- package/llms/references/components/dateinput/dateinput.design.md +80 -0
- package/llms/references/components/dateinput/dateinput.md +224 -0
- package/llms/references/components/daterangeinput/daterangeinput.component.md +64 -0
- package/llms/references/components/daterangeinput/daterangeinput.design.md +76 -0
- package/llms/references/components/daterangeinput/daterangeinput.md +210 -0
- package/llms/references/components/departmentselect/departmentselect.component.md +44 -0
- package/llms/references/components/departmentselect/departmentselect.md +43 -0
- package/llms/references/components/dialog/dialog.component.md +475 -0
- package/llms/references/components/dialog/dialog.design.md +139 -0
- package/llms/references/components/dialog/dialog.md +357 -0
- package/llms/references/components/divider/divider.component.md +35 -0
- package/llms/references/components/divider/divider.md +87 -0
- package/llms/references/components/dropdown/dropdown.component.md +315 -0
- package/llms/references/components/dropdown/dropdown.md +189 -0
- package/llms/references/components/duration-picker/duration-picker.design.md +124 -0
- package/llms/references/components/duration-picker/duration-picker.md +165 -0
- package/llms/references/components/empty-state/empty-state.component.md +238 -0
- package/llms/references/components/empty-state/empty-state.design.md +124 -0
- package/llms/references/components/empty-state/empty-state.md +61 -0
- package/llms/references/components/errorpage/errorpage.component.md +57 -0
- package/llms/references/components/errorpage/errorpage.md +75 -0
- package/llms/references/components/establishmentselect/establishmentselect.component.md +31 -0
- package/llms/references/components/establishmentselect/establishmentselect.md +42 -0
- package/llms/references/components/fancy-dialog/fancy-dialog.component.md +9 -0
- package/llms/references/components/fancy-dialog/fancy-dialog.design.md +93 -0
- package/llms/references/components/fancy-dialog/fancy-dialog.md +128 -0
- package/llms/references/components/fancybox/fancybox.component.md +218 -0
- package/llms/references/components/fancybox/fancybox.design.md +72 -0
- package/llms/references/components/fancybox/fancybox.md +90 -0
- package/llms/references/components/fieldset/fieldset.component.md +86 -0
- package/llms/references/components/fieldset/fieldset.md +129 -0
- package/llms/references/components/filedropzone/filedropzone.component.md +16 -0
- package/llms/references/components/filedropzone/filedropzone.md +71 -0
- package/llms/references/components/fileentry/fileentry.component.md +56 -0
- package/llms/references/components/fileentry/fileentry.design.md +152 -0
- package/llms/references/components/fileentry/fileentry.md +272 -0
- package/llms/references/components/fileupload/fileupload.component.md +91 -0
- package/llms/references/components/fileupload/fileupload.design.md +152 -0
- package/llms/references/components/fileupload/fileupload.md +275 -0
- package/llms/references/components/filterbar/filterbar.component.md +299 -0
- package/llms/references/components/filterbar/filterbar.design.md +92 -0
- package/llms/references/components/filterbar/filterbar.md +168 -0
- package/llms/references/components/filterpills/filterpills.component.md +65 -0
- package/llms/references/components/filterpills/filterpills.design.md +60 -0
- package/llms/references/components/filterpills/filterpills.md +214 -0
- package/llms/references/components/footer/footer.component.md +66 -0
- package/llms/references/components/footer/footer.design.md +176 -0
- package/llms/references/components/footer/footer.md +125 -0
- package/llms/references/components/form/form.md +42 -0
- package/llms/references/components/form-field/form-field.component.md +46 -0
- package/llms/references/components/form-field/form-field.md +252 -0
- package/llms/references/components/form-header/form-header.md +29 -0
- package/llms/references/components/form-label/form-label.component.md +116 -0
- package/llms/references/components/form-label/form-label.md +121 -0
- package/llms/references/components/gauge/gauge.component.md +55 -0
- package/llms/references/components/gauge/gauge.md +72 -0
- package/llms/references/components/grid/grid.component.md +15 -0
- package/llms/references/components/grid/grid.md +124 -0
- package/llms/references/components/highlight-data/highlight-data.component.md +294 -0
- package/llms/references/components/highlight-data/highlight-data.design.md +97 -0
- package/llms/references/components/highlight-data/highlight-data.md +126 -0
- package/llms/references/components/highlight-section/highlight-section.component.md +195 -0
- package/llms/references/components/highlight-section/highlight-section.md +53 -0
- package/llms/references/components/highlight-text/highlight-text.component.md +53 -0
- package/llms/references/components/highlight-text/highlight-text.md +29 -0
- package/llms/references/components/horizontalnavigation/horizontalnavigation.component.md +247 -0
- package/llms/references/components/horizontalnavigation/horizontalnavigation.md +94 -0
- package/llms/references/components/icons/icons.component.md +59 -0
- package/llms/references/components/icons/icons.design.md +141 -0
- package/llms/references/components/icons/icons.md +195 -0
- package/llms/references/components/impersonation/impersonation.component.md +83 -0
- package/llms/references/components/impersonation/impersonation.design.md +58 -0
- package/llms/references/components/impersonation/impersonation.md +97 -0
- package/llms/references/components/index-table/index-table.component.md +2573 -0
- package/llms/references/components/index-table/index-table.design.md +250 -0
- package/llms/references/components/index-table/index-table.md +278 -0
- package/llms/references/components/inlinemessage/inlinemessage.component.md +58 -0
- package/llms/references/components/inlinemessage/inlinemessage.md +56 -0
- package/llms/references/components/input-framed/input-framed.component.md +731 -0
- package/llms/references/components/input-framed/input-framed.design.md +94 -0
- package/llms/references/components/input-framed/input-framed.md +49 -0
- package/llms/references/components/kbd/kbd.component.md +48 -0
- package/llms/references/components/kbd/kbd.md +40 -0
- package/llms/references/components/link/link.component.md +162 -0
- package/llms/references/components/link/link.design.md +48 -0
- package/llms/references/components/link/link.md +148 -0
- package/llms/references/components/listbox/listbox.component.md +11 -0
- package/llms/references/components/listbox/listbox.md +114 -0
- package/llms/references/components/listing/listing.component.md +416 -0
- package/llms/references/components/listing/listing.design.md +31 -0
- package/llms/references/components/listing/listing.md +124 -0
- package/llms/references/components/loading/loading.component.md +37 -0
- package/llms/references/components/loading/loading.design.md +32 -0
- package/llms/references/components/loading/loading.md +116 -0
- package/llms/references/components/main-layout/main-layout.component.md +157 -0
- package/llms/references/components/main-layout/main-layout.md +78 -0
- package/llms/references/components/markdown/markdown.component.md +15 -0
- package/llms/references/components/markdown/markdown.md +40 -0
- package/llms/references/components/mobile-push/mobile-push.component.md +67 -0
- package/llms/references/components/mobile-push/mobile-push.md +79 -0
- package/llms/references/components/mobileheader/mobileheader.component.md +31 -0
- package/llms/references/components/mobileheader/mobileheader.design.md +15 -0
- package/llms/references/components/mobileheader/mobileheader.md +7 -0
- package/llms/references/components/mobilenavigation/mobilenavigation.component.md +43 -0
- package/llms/references/components/mobilenavigation/mobilenavigation.design.md +9 -0
- package/llms/references/components/mobilenavigation/mobilenavigation.md +7 -0
- package/llms/references/components/modal/modal.component.md +37 -0
- package/llms/references/components/modal/modal.design.md +163 -0
- package/llms/references/components/modal/modal.md +60 -0
- package/llms/references/components/multi-select/multi-select.component.md +43 -0
- package/llms/references/components/multi-select/multi-select.design.md +346 -0
- package/llms/references/components/multi-select/multi-select.md +444 -0
- package/llms/references/components/multilanguagefield/multilanguagefield.component.md +83 -0
- package/llms/references/components/multilanguagefield/multilanguagefield.design.md +78 -0
- package/llms/references/components/multilanguagefield/multilanguagefield.md +383 -0
- package/llms/references/components/newbadge/newbadge.component.md +23 -0
- package/llms/references/components/newbadge/newbadge.design.md +25 -0
- package/llms/references/components/newbadge/newbadge.md +37 -0
- package/llms/references/components/number-format-input/number-format-input.md +63 -0
- package/llms/references/components/number-input/number-input.md +54 -0
- package/llms/references/components/numbers/numbers.component.md +46 -0
- package/llms/references/components/numbers/numbers.md +7 -0
- package/llms/references/components/numericbadge/numericbadge.component.md +66 -0
- package/llms/references/components/numericbadge/numericbadge.md +83 -0
- package/llms/references/components/onboarding-empty-state/onboarding-empty-state.design.md +124 -0
- package/llms/references/components/onboarding-empty-state/onboarding-empty-state.md +47 -0
- package/llms/references/components/pageheader/pageheader.component.md +401 -0
- package/llms/references/components/pageheader/pageheader.design.md +13 -0
- package/llms/references/components/pageheader/pageheader.md +154 -0
- package/llms/references/components/pagination/pagination.component.md +112 -0
- package/llms/references/components/pagination/pagination.md +128 -0
- package/llms/references/components/phonenumberfield/phonenumberfield.component.md +33 -0
- package/llms/references/components/phonenumberfield/phonenumberfield.design.md +59 -0
- package/llms/references/components/phonenumberfield/phonenumberfield.md +141 -0
- package/llms/references/components/plg-push/plg-push.component.md +91 -0
- package/llms/references/components/plg-push/plg-push.design.md +87 -0
- package/llms/references/components/plg-push/plg-push.md +91 -0
- package/llms/references/components/popover/popover.component.md +149 -0
- package/llms/references/components/popover/popover.md +253 -0
- package/llms/references/components/popover2/popover2.component.md +110 -0
- package/llms/references/components/popover2/popover2.md +95 -0
- package/llms/references/components/priority-level/priority-level.component.md +63 -0
- package/llms/references/components/priority-level/priority-level.design.md +79 -0
- package/llms/references/components/priority-level/priority-level.md +36 -0
- package/llms/references/components/progress-bar/progress-bar.component.md +33 -0
- package/llms/references/components/progress-bar/progress-bar.design.md +15 -0
- package/llms/references/components/progress-bar/progress-bar.md +50 -0
- package/llms/references/components/progress-stepper/progress-stepper.component.md +375 -0
- package/llms/references/components/progress-stepper/progress-stepper.design.md +54 -0
- package/llms/references/components/progress-stepper/progress-stepper.md +69 -0
- package/llms/references/components/radiofield/radiofield.component.md +307 -0
- package/llms/references/components/radiofield/radiofield.design.md +148 -0
- package/llms/references/components/radiofield/radiofield.md +132 -0
- package/llms/references/components/readmore/readmore.component.md +60 -0
- package/llms/references/components/readmore/readmore.md +97 -0
- package/llms/references/components/resource-card/resource-card.component.md +225 -0
- package/llms/references/components/resource-card/resource-card.md +118 -0
- package/llms/references/components/richtextinput/richtextinput.component.md +308 -0
- package/llms/references/components/richtextinput/richtextinput.design.md +83 -0
- package/llms/references/components/richtextinput/richtextinput.md +300 -0
- package/llms/references/components/scroll/scroll.md +45 -0
- package/llms/references/components/scrollbox/scrollbox.component.md +63 -0
- package/llms/references/components/scrollbox/scrollbox.design.md +11 -0
- package/llms/references/components/scrollbox/scrollbox.md +48 -0
- package/llms/references/components/section-empty-state/section-empty-state.component.md +9 -0
- package/llms/references/components/section-empty-state/section-empty-state.design.md +67 -0
- package/llms/references/components/section-empty-state/section-empty-state.md +41 -0
- package/llms/references/components/segmented-control-tabs/segmented-control-tabs.md +68 -0
- package/llms/references/components/segmentedcontrol/segmentedcontrol.component.md +208 -0
- package/llms/references/components/segmentedcontrol/segmentedcontrol.md +125 -0
- package/llms/references/components/select/select.component.md +247 -0
- package/llms/references/components/select/select.md +57 -0
- package/llms/references/components/select-templating/select-templating.md +141 -0
- package/llms/references/components/sidepanel/sidepanel.component.md +56 -0
- package/llms/references/components/sidepanel/sidepanel.md +7 -0
- package/llms/references/components/simple-select/simple-select.component.md +45 -0
- package/llms/references/components/simple-select/simple-select.design.md +353 -0
- package/llms/references/components/simple-select/simple-select.md +302 -0
- package/llms/references/components/skeleton/skeleton.component.md +145 -0
- package/llms/references/components/skeleton/skeleton.design.md +82 -0
- package/llms/references/components/skeleton/skeleton.md +230 -0
- package/llms/references/components/skiplinks/skiplinks.component.md +91 -0
- package/llms/references/components/skiplinks/skiplinks.md +73 -0
- package/llms/references/components/software-icon/software-icon.component.md +61 -0
- package/llms/references/components/software-icon/software-icon.design.md +23 -0
- package/llms/references/components/software-icon/software-icon.md +118 -0
- package/llms/references/components/sortable-list/sortable-list.component.md +150 -0
- package/llms/references/components/sortable-list/sortable-list.md +83 -0
- package/llms/references/components/statusbadge/statusbadge.component.md +56 -0
- package/llms/references/components/statusbadge/statusbadge.design.md +58 -0
- package/llms/references/components/statusbadge/statusbadge.md +62 -0
- package/llms/references/components/switchfield/switchfield.component.md +124 -0
- package/llms/references/components/switchfield/switchfield.md +55 -0
- package/llms/references/components/tableofcontent/tableofcontent.component.md +55 -0
- package/llms/references/components/tableofcontent/tableofcontent.md +41 -0
- package/llms/references/components/tags/tags.component.md +153 -0
- package/llms/references/components/tags/tags.design.md +84 -0
- package/llms/references/components/tags/tags.md +132 -0
- package/llms/references/components/text-flow/text-flow.component.md +71 -0
- package/llms/references/components/text-flow/text-flow.design.md +42 -0
- package/llms/references/components/text-flow/text-flow.md +62 -0
- package/llms/references/components/textareafield/textareafield.component.md +57 -0
- package/llms/references/components/textareafield/textareafield.design.md +94 -0
- package/llms/references/components/textareafield/textareafield.md +122 -0
- package/llms/references/components/textfield/textfield.component.md +610 -0
- package/llms/references/components/textfield/textfield.design.md +148 -0
- package/llms/references/components/textfield/textfield.md +178 -0
- package/llms/references/components/tile/tile.component.md +91 -0
- package/llms/references/components/tile/tile.md +91 -0
- package/llms/references/components/time/time.component.md +275 -0
- package/llms/references/components/time/time.md +140 -0
- package/llms/references/components/time-picker/time-picker.design.md +124 -0
- package/llms/references/components/time-picker/time-picker.md +169 -0
- package/llms/references/components/time-range-picker/time-range-picker.component.md +5 -0
- package/llms/references/components/time-range-picker/time-range-picker.design.md +57 -0
- package/llms/references/components/time-range-picker/time-range-picker.md +46 -0
- package/llms/references/components/timelines/timelines.component.md +168 -0
- package/llms/references/components/timelines/timelines.design.md +21 -0
- package/llms/references/components/timelines/timelines.md +7 -0
- package/llms/references/components/title-and-text/title-and-text.component.md +14 -0
- package/llms/references/components/title-and-text/title-and-text.design.md +57 -0
- package/llms/references/components/title-and-text/title-and-text.md +60 -0
- package/llms/references/components/toasts/toasts.component.md +54 -0
- package/llms/references/components/toasts/toasts.design.md +76 -0
- package/llms/references/components/toasts/toasts.md +124 -0
- package/llms/references/components/tooltip/tooltip.component.md +83 -0
- package/llms/references/components/tooltip/tooltip.design.md +68 -0
- package/llms/references/components/tooltip/tooltip.md +246 -0
- package/llms/references/components/treeselect/treeselect.component.md +62 -0
- package/llms/references/components/treeselect/treeselect.md +58 -0
- package/llms/references/components/user-select/user-select.md +52 -0
- package/llms/references/components/userpopover/userpopover.component.md +51 -0
- package/llms/references/components/userpopover/userpopover.design.md +74 -0
- package/llms/references/components/userpopover/userpopover.md +155 -0
- package/llms/references/components/verticalnavigation/verticalnavigation.component.md +247 -0
- package/llms/references/components/verticalnavigation/verticalnavigation.md +128 -0
- package/llms/references/documentation/content/accessibilite-contenu.md +147 -0
- package/llms/references/documentation/content/blocage-contenu.md +49 -0
- package/llms/references/documentation/content/criteres-essentiels.md +54 -0
- package/llms/references/documentation/content/dates.md +76 -0
- package/llms/references/documentation/content/grammaire-orthographe.md +118 -0
- package/llms/references/documentation/content/infinitif-imperatif.md +21 -0
- package/llms/references/documentation/content/jargon.md +30 -0
- package/llms/references/documentation/content/messages-erreur.md +279 -0
- package/llms/references/documentation/content/nombres.md +127 -0
- package/llms/references/documentation/content/ponctuation-typographie.md +343 -0
- package/llms/references/documentation/content/possessifs-pronoms.md +48 -0
- package/llms/references/documentation/content/ressources-definitions.md +58 -0
- package/llms/references/documentation/content/singulier-pluriel.md +72 -0
- package/llms/references/documentation/content/tester-clarte.md +141 -0
- package/llms/references/documentation/content/verbes-action.md +99 -0
- package/llms/references/documentation/content/voix-humaine.md +79 -0
- package/llms/references/documentation/deprecated/deprecated.md +151 -0
- package/llms/references/documentation/guidelines/guidelines-dev-ui.md +375 -0
- package/llms/references/documentation/patterns/actions-suppression.md +42 -0
- package/llms/references/documentation/patterns/aide-contextuelle.md +29 -0
- package/llms/references/documentation/patterns/card-et-box.md +56 -0
- package/llms/references/documentation/patterns/champs-conditionnels.md +38 -0
- package/llms/references/documentation/patterns/champs-effacables.md +34 -0
- package/llms/references/documentation/patterns/conception-formulaire.md +144 -0
- package/llms/references/documentation/patterns/cycle-vie-ressource.md +36 -0
- package/llms/references/documentation/patterns/dialogs-confirmation.md +160 -0
- package/llms/references/documentation/patterns/donnee-logiciel.md +66 -0
- package/llms/references/documentation/patterns/emails.md +99 -0
- package/llms/references/documentation/patterns/etats-chargement.md +90 -0
- package/llms/references/documentation/patterns/feedback.md +111 -0
- package/llms/references/documentation/patterns/gestion-erreurs-formulaire.md +48 -0
- package/llms/references/documentation/patterns/identification-pages.md +224 -0
- package/llms/references/documentation/patterns/metadonnees.md +79 -0
- package/llms/references/documentation/patterns/modes-affichage.md +51 -0
- package/llms/references/documentation/patterns/navigation-mobile.md +222 -0
- package/llms/references/documentation/patterns/niveaux-navigation.md +207 -0
- package/llms/references/documentation/patterns/parcours-creation-ressource-sans-diffusion.md +184 -0
- package/llms/references/documentation/patterns/parcours-creation-ressource.md +184 -0
- package/llms/references/documentation/patterns/pattern-ia.md +128 -0
- package/llms/references/documentation/patterns/placeholders.md +68 -0
- package/llms/references/documentation/patterns/push-notification-mobile.md +46 -0
- package/llms/references/documentation/patterns/quitter-formulaire.md +27 -0
- package/llms/references/documentation/patterns/regles-or.md +93 -0
- package/llms/references/documentation/patterns/responsive-design.md +119 -0
- package/llms/references/documentation/patterns/selection-population.md +135 -0
- package/llms/references/documentation/patterns/structure-accordeon.md +42 -0
- package/llms/references/documentation/patterns/traduction-formulaire.md +136 -0
- package/llms/references/documentation/patterns/vues-filtres-navigation.md +86 -0
- package/llms/references/documentation/patterns/widgets.md +64 -0
- package/llms/references/documentation/tokens/arrondis.md +65 -0
- package/llms/references/documentation/tokens/couleurs.md +560 -0
- package/llms/references/documentation/tokens/design-tokens.md +47 -0
- package/llms/references/documentation/tokens/elevations.md +78 -0
- package/llms/references/documentation/tokens/espacements.md +22 -0
- package/llms/references/documentation/tokens/noms-de-logiciels.md +81 -0
- package/llms/references/documentation/tokens/typographie.md +261 -0
- package/llms/references/migrations.md +31 -0
- package/llms/references/tools/angular-api.md +407 -0
- package/llms/references/tools/animations.md +177 -0
- package/llms/references/tools/mixins.md +119 -0
- package/llms/references/tools/numbers.md +81 -0
- package/llms/references/tools/scrollbox.md +11 -0
- package/llms/references/tools/utilitaires.md +998 -0
- package/llms/references/types/BubbleIllustration.md +5 -0
- package/llms/references/types/DecorativePalette.md +5 -0
- package/llms/references/types/Gap.md +5 -0
- package/llms/references/types/HighlightDataIllustration.md +5 -0
- package/llms/references/types/HighlightSectionIllustration.md +5 -0
- package/llms/references/types/LuccaIcon.md +5 -0
- package/llms/references/types/MainLayoutIllustrationEndStart.md +5 -0
- package/llms/references/types/MainLayoutIllustrationStartEnd.md +5 -0
- package/llms.txt +230 -0
- package/package.json +11 -8
- package/schematics/color-text/index.js +0 -1
- package/schematics/lu-button/migration.js +59 -33
- package/src/components/_sidepanel.scss +2 -2
- package/src/components/cdk/_global.scss +4 -0
- package/src/components/cdk/_overlay.scss +1 -1
- package/types/lucca-front-ng-activity-feed.d.ts +13 -9
- package/types/lucca-front-ng-api.d.ts +28 -28
- package/types/lucca-front-ng-approbation-inbox.d.ts +19 -11
- package/types/lucca-front-ng-bubble-icon.d.ts +1 -1
- package/types/lucca-front-ng-bubble-illustration.d.ts +6 -2
- package/types/lucca-front-ng-callout.d.ts +17 -17
- package/types/lucca-front-ng-chip.d.ts +6 -6
- package/types/lucca-front-ng-clear.d.ts +1 -1
- package/types/lucca-front-ng-color.d.ts +3 -3
- package/types/lucca-front-ng-comment.d.ts +11 -11
- package/types/lucca-front-ng-container.d.ts +1 -1
- package/types/lucca-front-ng-core-select-api.d.ts +7 -7
- package/types/lucca-front-ng-core-select-department.d.ts +7 -5
- package/types/lucca-front-ng-core-select-establishment.d.ts +7 -5
- package/types/lucca-front-ng-core-select-job-qualification.d.ts +2 -2
- package/types/lucca-front-ng-core-select-legal-units.d.ts +3 -3
- package/types/lucca-front-ng-core-select-occupation-category.d.ts +2 -2
- package/types/lucca-front-ng-core-select-user.d.ts +14 -12
- package/types/lucca-front-ng-core-select.d.ts +44 -39
- package/types/lucca-front-ng-core.d.ts +8 -3
- package/types/lucca-front-ng-data-table.d.ts +33 -33
- package/types/lucca-front-ng-date.d.ts +15 -11
- package/types/lucca-front-ng-date2.d.ts +52 -37
- package/types/lucca-front-ng-department.d.ts +4 -2
- package/types/lucca-front-ng-dialog.d.ts +8 -8
- package/types/lucca-front-ng-divider.d.ts +2 -2
- package/types/lucca-front-ng-dropdown.d.ts +4 -3
- package/types/lucca-front-ng-empty-state.d.ts +20 -20
- package/types/lucca-front-ng-establishment.d.ts +16 -14
- package/types/lucca-front-ng-fancy-box.d.ts +12 -12
- package/types/lucca-front-ng-file-upload.d.ts +13 -13
- package/types/lucca-front-ng-filter-pills.d.ts +17 -17
- package/types/lucca-front-ng-footer.d.ts +1 -1
- package/types/lucca-front-ng-form-field.d.ts +19 -19
- package/types/lucca-front-ng-form-label.d.ts +4 -4
- package/types/lucca-front-ng-form.d.ts +1 -1
- package/types/lucca-front-ng-forms-phone-number-input.d.ts +12 -11
- package/types/lucca-front-ng-forms-rich-text-input.d.ts +11 -11
- package/types/lucca-front-ng-forms.d.ts +61 -51
- package/types/lucca-front-ng-grid.d.ts +23 -23
- package/types/lucca-front-ng-highlight-data.d.ts +5 -5
- package/types/lucca-front-ng-highlight-section.d.ts +6 -3
- package/types/lucca-front-ng-horizontal-navigation.d.ts +4 -4
- package/types/lucca-front-ng-impersonation.d.ts +8 -6
- package/types/lucca-front-ng-index-table.d.ts +18 -18
- package/types/lucca-front-ng-inline-message.d.ts +2 -2
- package/types/lucca-front-ng-input.d.ts +4 -2
- package/types/lucca-front-ng-link.d.ts +17 -4
- package/types/lucca-front-ng-listbox.d.ts +9 -9
- package/types/lucca-front-ng-listing.d.ts +14 -3
- package/types/lucca-front-ng-loading.d.ts +4 -4
- package/types/lucca-front-ng-main-layout.d.ts +9 -9
- package/types/lucca-front-ng-mobile-push.d.ts +1 -0
- package/types/lucca-front-ng-modal.d.ts +2 -2
- package/types/lucca-front-ng-multi-select.d.ts +20 -20
- package/types/lucca-front-ng-option.d.ts +41 -20
- package/types/lucca-front-ng-page-header.d.ts +2 -2
- package/types/lucca-front-ng-pagination.d.ts +3 -3
- package/types/lucca-front-ng-plg-push.d.ts +1 -0
- package/types/lucca-front-ng-popover.d.ts +30 -18
- package/types/lucca-front-ng-popover2.d.ts +8 -8
- package/types/lucca-front-ng-popup.d.ts +2 -2
- package/types/{lucca-front-ng-priority-levels.d.ts → lucca-front-ng-priority-level.d.ts} +11 -11
- package/types/lucca-front-ng-progress-bar.d.ts +1 -1
- package/types/lucca-front-ng-progress-stepper.d.ts +2 -2
- package/types/lucca-front-ng-read-more.d.ts +4 -4
- package/types/lucca-front-ng-resource-card.d.ts +3 -3
- package/types/lucca-front-ng-segmented-control-tabs.d.ts +5 -5
- package/types/lucca-front-ng-segmented-control.d.ts +3 -3
- package/types/lucca-front-ng-select.d.ts +11 -10
- package/types/lucca-front-ng-sidepanel.d.ts +2 -1
- package/types/lucca-front-ng-simple-select.d.ts +9 -8
- package/types/lucca-front-ng-software-icon.d.ts +3 -3
- package/types/lucca-front-ng-sortable-list.d.ts +1 -1
- package/types/lucca-front-ng-status-badge.d.ts +1 -1
- package/types/lucca-front-ng-time.d.ts +21 -20
- package/types/lucca-front-ng-toast.d.ts +1 -1
- package/types/lucca-front-ng-tree-select.d.ts +2 -2
- package/types/lucca-front-ng-user-popover.d.ts +1 -1
- package/types/lucca-front-ng-user.d.ts +29 -21
- package/types/lucca-front-ng-vertical-navigation.d.ts +5 -5
- package/fesm2022/lucca-front-ng-priority-levels.mjs +0 -128
- package/fesm2022/lucca-front-ng-priority-levels.mjs.map +0 -1
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
# data-table — Design Guidelines
|
|
2
|
+
|
|
3
|
+
**Sommaire**
|
|
4
|
+
|
|
5
|
+
- Design
|
|
6
|
+
- Anatomie
|
|
7
|
+
- Options
|
|
8
|
+
- Lignes sélectionnables
|
|
9
|
+
- Lignes éditables
|
|
10
|
+
- Colonnes obligatoires
|
|
11
|
+
- Arborescence
|
|
12
|
+
- Regroupement
|
|
13
|
+
- Liens de redirection
|
|
14
|
+
- Bordures sur les cellules
|
|
15
|
+
- Actions rapides
|
|
16
|
+
- Comportement
|
|
17
|
+
- Pagination
|
|
18
|
+
- Empty state
|
|
19
|
+
- Affichage en plein écran
|
|
20
|
+
- Règles d’utilisation
|
|
21
|
+
- Alignements des en-têtes
|
|
22
|
+
- Double ligne dans une cellule
|
|
23
|
+
- Contenu et rédaction
|
|
24
|
+
- Intitulé des en-têtes
|
|
25
|
+
- Noms et prénoms
|
|
26
|
+
- Emphase
|
|
27
|
+
- Valeurs manquantes
|
|
28
|
+
- Content
|
|
29
|
+
- Contenu & rédaction
|
|
30
|
+
|
|
31
|
+
> Sourced from [Prisme / ZeroHeight](https://prisme.lucca.io/94310e217/p/4263a5)
|
|
32
|
+
|
|
33
|
+
# Design
|
|
34
|
+
|
|
35
|
+
**Mots-clés :**tableau, données
|
|
36
|
+
|
|
37
|
+
**Des questions, commentaires ou retours ?**Laisser un commentaire sur Figma ou contactez-nous sur Slack :*#design-system-public*
|
|
38
|
+
|
|
39
|
+
## Anatomie
|
|
40
|
+
|
|
41
|
+
## Options
|
|
42
|
+
|
|
43
|
+
### Lignes sélectionnables
|
|
44
|
+
|
|
45
|
+
Si le parcours utilisateur permet des actions groupées, une case cocher s’affiche en début de ligne pour permettre à l’utilisateur de sélectionner les lignes souhaitées.
|
|
46
|
+
|
|
47
|
+
Dans un tableau avec pagination, la sélection est conservée lorsque l’utilisateur navigue entre les pages.
|
|
48
|
+
|
|
49
|
+
### Lignes éditables
|
|
50
|
+
|
|
51
|
+
Des champs de formulaire (Textfield, Select, DatePicker, etc.) peuvent se trouver dans le tableau. L’utilisateur peut alors directement saisir quelque chose pour compléter le tableau.
|
|
52
|
+
|
|
53
|
+
### Colonnes obligatoires
|
|
54
|
+
|
|
55
|
+
L'indication de champ obligatoire se matérialise par un astérisque (*) placé dans la cellule d’en-tête de la colonne, à droite du libellé.
|
|
56
|
+
|
|
57
|
+
### Arborescence
|
|
58
|
+
|
|
59
|
+
Il est possible de regrouper des données au sein d’un tableau. Pour cela, une ligne parent permet d’afficher ou masquer toutes les données qu’il contient. Cette ligne parent peut contenir d’autres informations comme des totaux.
|
|
60
|
+
|
|
61
|
+
### Regroupement
|
|
62
|
+
|
|
63
|
+
Pour faciliter la lecture d’un tableau, il est possible de regrouper certaines lignes. Si c’est le cas, alors une ligne ne peut pas vivre seule, en dehors d’un groupe.
|
|
64
|
+
|
|
65
|
+
### Liens de redirection
|
|
66
|
+
|
|
67
|
+
Certaines données peuvent être des liens de redirection, notamment lorsque une des propriétés mentionne une ressource présente sur une autre interface.
|
|
68
|
+
|
|
69
|
+
### Bordures sur les cellules
|
|
70
|
+
|
|
71
|
+
Cette option renforce la séparation entre chaque cellule, offrant une lecture précise des données. Elle est recommandée pour les tableaux avec des informations denses comme les rapports.
|
|
72
|
+
|
|
73
|
+
Il est possible d’appliquer des bordures uniquement sur certaines zones du tableau pour mettre en évidence des regroupements de colonnes. Cette approche est utile pour souligner des relations ou des catégories dans les données.
|
|
74
|
+
|
|
75
|
+
### Actions rapides
|
|
76
|
+
|
|
77
|
+
Des actions rapides en bout de ligne permettent aux utilisateurs d’effectuer des tâches directement liées aux données affichées, sans quitter le contexte du tableau.
|
|
78
|
+
|
|
79
|
+
## Comportement
|
|
80
|
+
|
|
81
|
+
### Pagination
|
|
82
|
+
|
|
83
|
+
La pagination divise les données du tableau en pages distinctes. Elle indique le nombre total de résultats ainsi que le nombre de pages tout en permettant de naviguer entre la précédente et la suivante. Le composant de pagination est toujours placé en bas de la table de données.
|
|
84
|
+
|
|
85
|
+
Lorsqu’il n’y a qu’une seule page, il ne faut pas afficher la pagination.
|
|
86
|
+
|
|
87
|
+
Si des filtres sont appliqués sur le contenu du tableau, ils restent appliqués même lorsque l’utilisateur navigue de page en page.
|
|
88
|
+
|
|
89
|
+
Dans un tableau avec des lignes sélectionnables, si des lignes sont sélectionnées, la sélection est conservée lorsque l’utilisateur navigue entre les pages.
|
|
90
|
+
|
|
91
|
+
### Empty state
|
|
92
|
+
|
|
93
|
+
Si un tableau est vide, il faut utiliser le composant EmptyStateSection. Il indique à l’utilisateur qu’aucune donnée n’existe.
|
|
94
|
+
|
|
95
|
+
Dans le cas où l’utilisateur filtre le tableau, le composant EmptyStateSection doit être utilisé à l’intérieur du tableau. Cela permet de garder le contexte, avec notamment l’affichage des entêtes de colonne.
|
|
96
|
+
|
|
97
|
+
### Affichage en plein écran
|
|
98
|
+
|
|
99
|
+
Il est possible d’afficher le tableau en plein écran pour immerger l’utilisateur et lui permettre de travailler avec une meilleure visibilité sur l’ensemble du tableau.
|
|
100
|
+
|
|
101
|
+
## **Règles d’utilisation**
|
|
102
|
+
|
|
103
|
+
### Alignements des en-têtes
|
|
104
|
+
|
|
105
|
+
- **Do** : Alignons le texte multi-lignes des cellules d’en-tête par le bas pour faciliter la lecture. Centrons le contenu d’un en-tête regroupant plusieurs colonnes, quel que soit le nombre de colonnes concernées.
|
|
106
|
+
- **Don't** : N’alignons pas les textes multi-lignes par le haut.
|
|
107
|
+
|
|
108
|
+
### Double ligne dans une cellule
|
|
109
|
+
|
|
110
|
+
Limitons l'utilisation des doubles lignes, envisageons-les comme une solution d'appoint.
|
|
111
|
+
|
|
112
|
+
#### Pourquoi limiter l’utilisation de double ligne ?
|
|
113
|
+
|
|
114
|
+
* Les doubles lignes augmentent la hauteur des lignes. Elles compliquent la lecture du tableau.
|
|
115
|
+
* Elles peuvent donner des informations limitant le recours au tri et au filtrage.
|
|
116
|
+
* Le tableau perd en clarté et en concision.
|
|
117
|
+
|
|
118
|
+
#### La double ligne est permise pour ces seuls cas :
|
|
119
|
+
|
|
120
|
+
* Faible volume de données,
|
|
121
|
+
* Contraintes extrêmes d'espace horizontal,
|
|
122
|
+
* Devise,
|
|
123
|
+
* Double ligne intégrée à un composant comme le contact badge.
|
|
124
|
+
|
|
125
|
+
**Pour les autres cas suivants**, veiller à ce que la donnée soit affichée dans des colonnes distinctes. Maintenons lisibilité et interactivité :
|
|
126
|
+
|
|
127
|
+
* indication d'action,
|
|
128
|
+
* étape de workflow, statut,
|
|
129
|
+
* donnée dynamique (qui change fréquemment ou en temps réel).
|
|
130
|
+
|
|
131
|
+
## Contenu et rédaction
|
|
132
|
+
|
|
133
|
+
### **Intitulé des en-têtes**
|
|
134
|
+
|
|
135
|
+
L’intitulé des en-tête doit toujours être au singulier.
|
|
136
|
+
|
|
137
|
+
### **Noms et prénoms**
|
|
138
|
+
|
|
139
|
+
Pour faciliter la lecture d’un tableau, il est conseillé de toujours appliquer le format “Nom Prénom” pour citer des utilisateurs dans un tableau.
|
|
140
|
+
|
|
141
|
+
### Emphase
|
|
142
|
+
|
|
143
|
+
Le contenu de certaines colonnes peut être mis en avant en utilisant une graisse typographique plus importante. L’emphase ne doit être appliquée que sur une colonne pour ne pas perturber la lisibilité.
|
|
144
|
+
|
|
145
|
+
L’utilisation de la couleur peut-être une bonne solution pour appuyer une information, comme une somme négative ou positive.
|
|
146
|
+
|
|
147
|
+
### **Valeurs manquantes**
|
|
148
|
+
|
|
149
|
+
L’absence de donnée doit être matérialisée par un tiret demi-cadratin (–). Afin que les lecteurs d'écrans restituent correctement l'absence de données, il est conseillé d'appliquer le tiret via le code HTML suivant : `<span aria-hidden="true" data-content-before="–"></span>.`
|
|
150
|
+
|
|
151
|
+
# Content
|
|
152
|
+
|
|
153
|
+
## Contenu & rédaction
|
|
154
|
+
|
|
155
|
+
* L’intitulé des en-tête doit toujours être au **singulier**.
|
|
156
|
+
* Utilisons le format “**Nom Prénom**” pour citer des utilisateurs dans un tableau.
|
|
157
|
+
* Le contenu de certaines colonnes peut être mis en avant en utilisant une graisse typographique plus importante.
|
|
158
|
+
* L’utilisation de la couleur peut-être une bonne solution pour appuyer une information, comme une somme négative ou positive.
|
|
159
|
+
* L’absence de donnée doit être matérialisée par un **tiret demi-cadratin (–)**. Afin que les lecteurs d'écrans restituent correctement l'absence de données, il est conseillé d'appliquer le tiret via le code HTML suivant : `<span aria-hidden="true" data-content-before="–"></span>`.
|
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
# data-table
|
|
2
|
+
|
|
3
|
+
**Sommaire**
|
|
4
|
+
|
|
5
|
+
- Import
|
|
6
|
+
- Basic Usage
|
|
7
|
+
- API Reference
|
|
8
|
+
- DataTableBodyComponent (component)
|
|
9
|
+
- DataTableRowCellHeaderComponent (component)
|
|
10
|
+
- DataTableRowCellComponent (component)
|
|
11
|
+
- DataTableFootComponent (component)
|
|
12
|
+
- DataTableHeadComponent (component)
|
|
13
|
+
- DataTableRowComponent (component)
|
|
14
|
+
- DataTableComponent (component)
|
|
15
|
+
- Injection tokens
|
|
16
|
+
- Related files
|
|
17
|
+
- Changelog
|
|
18
|
+
- 22.1.0
|
|
19
|
+
- 22.0.6
|
|
20
|
+
- 22.0.5
|
|
21
|
+
- 22.0.1
|
|
22
|
+
- 22.0.0
|
|
23
|
+
- Notes de release (ZeroHeight)
|
|
24
|
+
|
|
25
|
+
## Import
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
import { DataTableBodyComponent, DataTableRowCellHeaderComponent, DataTableRowCellComponent, DataTableFootComponent, DataTableHeadComponent, DataTableRowComponent, DataTableComponent } from '@lucca-front/ng/data-table';
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Basic Usage
|
|
32
|
+
|
|
33
|
+
```html
|
|
34
|
+
<lu-data-table> <thead luDataTableHead> <tr luDataTableRow> <th luDataTableCell>header</th> <th luDataTableCell>header</th> </tr> </thead> <tbody luDataTableBody> <tr luDataTableRow> <th luDataTableCell>header</th> <td luDataTableCell>cell</td> </tr> <tr luDataTableRow> <th luDataTableCell>header</th> <td luDataTableCell>cell</td> </tr> </tbody>
|
|
35
|
+
</lu-data-table>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## API Reference
|
|
39
|
+
|
|
40
|
+
### DataTableBodyComponent (component)
|
|
41
|
+
|
|
42
|
+
**Selector:** `tbody[luDataTableBody]`
|
|
43
|
+
|
|
44
|
+
#### Inputs
|
|
45
|
+
|
|
46
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
47
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
48
|
+
| `group` | `group` | `PortalContent \| null` | `null` | — | — | Présente un groupe de lignes dans la story. |
|
|
49
|
+
| `groupButtonAlt` | `groupButtonAlt` | `string \| null` | `null` | — | — | — |
|
|
50
|
+
|
|
51
|
+
#### Models (two-way binding)
|
|
52
|
+
|
|
53
|
+
| Property | Type | Required | Notes |
|
|
54
|
+
|----------|------|----------|-------|
|
|
55
|
+
| `expanded` | `unknown` | — | — |
|
|
56
|
+
|
|
57
|
+
### DataTableRowCellHeaderComponent (component)
|
|
58
|
+
|
|
59
|
+
**Selector:** `th[luDataTableCell]`
|
|
60
|
+
|
|
61
|
+
#### Inputs
|
|
62
|
+
|
|
63
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
64
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
65
|
+
| `editable` | `editable` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
66
|
+
| `align` | `align` | `DataTableAlign \| null` | `null` | — | — | Aligne le contenu des cellules horizontalement. Posé sur une cellule d’en-tête, il s’applique à toute la colonne. |
|
|
67
|
+
| `sort` | `sort` | `DataTableSort \| null` | `null` | — | — | Définit l’état de tri d’une cellule d’en-tête. |
|
|
68
|
+
| `fixedWidth` | `fixedWidth` | `string \| null` | `null` | — | — | — |
|
|
69
|
+
| `inlineSize` | `inlineSize` | `string \| null` | `null` | — | — | Modifie la largeur d’une colonne lorsque layoutFixed est activé. La valeur est définie par inlineSizeValue dans la story… |
|
|
70
|
+
| `sortWithEllipsis` | `sortWithEllipsis` | `boolean` | `false` | — | `luBooleanAttribute` | Tronque le libellé du header avec une ellipsis si la colonne n’offre pas assez de largeur. |
|
|
71
|
+
|
|
72
|
+
#### Outputs
|
|
73
|
+
|
|
74
|
+
| Property | Binding name | Type | Notes |
|
|
75
|
+
|----------|-------------|------|-------|
|
|
76
|
+
| `sortChange` | `sortChange` | `DataTableSort` | — |
|
|
77
|
+
|
|
78
|
+
### DataTableRowCellComponent (component)
|
|
79
|
+
|
|
80
|
+
**Selector:** `td[luDataTableCell]`
|
|
81
|
+
|
|
82
|
+
#### Inputs
|
|
83
|
+
|
|
84
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
85
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
86
|
+
| `editable` | `editable` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
87
|
+
| `align` | `align` | `DataTableAlign \| null` | `null` | — | — | Aligne le contenu des cellules horizontalement. Posé sur une cellule d’en-tête, il s’applique à toute la colonne. |
|
|
88
|
+
| `actions` | `actions` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
89
|
+
|
|
90
|
+
### DataTableFootComponent (component)
|
|
91
|
+
|
|
92
|
+
**Selector:** `tfoot[luDataTableFoot]`
|
|
93
|
+
|
|
94
|
+
### DataTableHeadComponent (component)
|
|
95
|
+
|
|
96
|
+
**Selector:** `thead[luDataTableHead]`
|
|
97
|
+
|
|
98
|
+
#### Inputs
|
|
99
|
+
|
|
100
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
101
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
102
|
+
| `sticky` | `sticky` | `boolean` | `false` | — | `luBooleanAttribute` | Fige le header lors du défilement vertical. |
|
|
103
|
+
|
|
104
|
+
### DataTableRowComponent (component)
|
|
105
|
+
|
|
106
|
+
**Selector:** `tr[luDataTableRow]`
|
|
107
|
+
|
|
108
|
+
#### Inputs
|
|
109
|
+
|
|
110
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
111
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
112
|
+
| `intl` | `intl` | `unknown` | — | — | — | — |
|
|
113
|
+
| `selectedLabel` | `selectedLabel` | `string \| null` | `null` | — | — | Texte alternatif restitué à la sélection d’une ligne. La checkbox n’est affichée que s’il est renseigné. |
|
|
114
|
+
| `mixed` | `mixed` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
115
|
+
| `disabled` | `disabled` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
116
|
+
|
|
117
|
+
#### Models (two-way binding)
|
|
118
|
+
|
|
119
|
+
| Property | Type | Required | Notes |
|
|
120
|
+
|----------|------|----------|-------|
|
|
121
|
+
| `selected` | `boolean` | — | — |
|
|
122
|
+
|
|
123
|
+
### DataTableComponent (component)
|
|
124
|
+
|
|
125
|
+
**Selector:** `lu-data-table`
|
|
126
|
+
|
|
127
|
+
#### Inputs
|
|
128
|
+
|
|
129
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
130
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
131
|
+
| `hover` | `hover` | `boolean` | `false` | — | `luBooleanAttribute` | ⚠️ **Déprécié** : No replacement: rows without an action should not have a hover effect. |
|
|
132
|
+
| `selectable` | `selectable` | `boolean` | `false` | — | `luBooleanAttribute` | Rend les lignes du tableau sélectionnables via des checkbox. |
|
|
133
|
+
| `layoutFixed` | `layoutFixed` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
134
|
+
| `cellBorder` | `cellBorder` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
135
|
+
| `nested` | `nested` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
136
|
+
| `drag` | `drag` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
137
|
+
| `noOverflow` | `noOverflow` | `boolean` | `false` | — | `luBooleanAttribute` | Désactive le défilement horizontal du tableau. Celui-ci prendra alors la place nécessaire pour afficher tout son contenu… |
|
|
138
|
+
| `empty` | `empty` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
139
|
+
| `responsive` | `responsive` | `ResponsiveConfig<'layoutFixed', true>` | — | — | — | — |
|
|
140
|
+
| `verticalAlign` | `verticalAlign` | `DataTableVerticalAlign \| null` | `null` | — | — | Aligne le contenu des cellules verticalement. |
|
|
141
|
+
| `stickyColsStart` | `stickyColsStart` | `number` | `0` | — | `luNumberAttribute` | Nombre de colonnes figées depuis la gauche. Limité à 1 avec l’usage de colspan. |
|
|
142
|
+
| `stickyColsEnd` | `stickyColsEnd` | `number` | `0` | — | `luNumberAttribute` | Nombre de colonnes figées depuis la droite. Non compatible avec l’usage de colspan. |
|
|
143
|
+
|
|
144
|
+
### Injection tokens
|
|
145
|
+
|
|
146
|
+
| Token | Type | Description |
|
|
147
|
+
|-------|------|-------------|
|
|
148
|
+
| `LU_DATA_TABLE_INSTANCE` | `DataTableComponent` | — |
|
|
149
|
+
| `LU_DATA_TABLE_TRANSLATIONS` | `unknown` | — |
|
|
150
|
+
|
|
151
|
+
## Related files
|
|
152
|
+
|
|
153
|
+
- 📝 [Code & implementation](./data-table.component.md)
|
|
154
|
+
- 🎨 [Design guidelines](./data-table.design.md)
|
|
155
|
+
- 📖 [Storybook documentation](https://lucca-front.lucca.io/v{version}/storybook/?path=/docs/documentation-listings-data-table-angular-basic--docs)
|
|
156
|
+
|
|
157
|
+
## Changelog
|
|
158
|
+
|
|
159
|
+
> Diff structurel de l'API (selectors, inputs, outputs, models) entre versions stables, depuis `v21.4.4` jusqu'à `v22.1.1`. Les versions sans changement d'API sont omises.
|
|
160
|
+
|
|
161
|
+
### 22.1.0
|
|
162
|
+
|
|
163
|
+
`DataTableRowCellHeaderComponent` :
|
|
164
|
+
+ `sort` : DataTableSort | null
|
|
165
|
+
+ (output) `sortChange` : DataTableSort
|
|
166
|
+
- (model) `sort`
|
|
167
|
+
|
|
168
|
+
### 22.0.6
|
|
169
|
+
|
|
170
|
+
`DataTableComponent` :
|
|
171
|
+
~ `hover` : devient déprécié (No replacement: rows without an action should not have a hover effect.)
|
|
172
|
+
|
|
173
|
+
### 22.0.5
|
|
174
|
+
|
|
175
|
+
`DataTableRowCellHeaderComponent` :
|
|
176
|
+
+ `sortWithEllipsis` : boolean
|
|
177
|
+
+ token `LU_DATA_TABLE_TRANSLATIONS` : unknown
|
|
178
|
+
|
|
179
|
+
### 22.0.1
|
|
180
|
+
|
|
181
|
+
`DataTableComponent` :
|
|
182
|
+
+ `empty` : boolean
|
|
183
|
+
|
|
184
|
+
### 22.0.0
|
|
185
|
+
|
|
186
|
+
`DataTableRowCellHeaderComponent` :
|
|
187
|
+
~ `editable` : transform booleanAttribute → luBooleanAttribute
|
|
188
|
+
`DataTableRowCellComponent` :
|
|
189
|
+
~ `editable` : transform booleanAttribute → luBooleanAttribute
|
|
190
|
+
~ `actions` : transform booleanAttribute → luBooleanAttribute
|
|
191
|
+
`DataTableHeadComponent` :
|
|
192
|
+
~ `sticky` : transform booleanAttribute → luBooleanAttribute
|
|
193
|
+
`DataTableRowComponent` :
|
|
194
|
+
+ `mixed` : boolean
|
|
195
|
+
~ `disabled` : transform booleanAttribute → luBooleanAttribute
|
|
196
|
+
`DataTableComponent` :
|
|
197
|
+
~ `hover` : transform booleanAttribute → luBooleanAttribute
|
|
198
|
+
~ `selectable` : transform booleanAttribute → luBooleanAttribute
|
|
199
|
+
~ `layoutFixed` : transform booleanAttribute → luBooleanAttribute
|
|
200
|
+
~ `cellBorder` : transform booleanAttribute → luBooleanAttribute
|
|
201
|
+
~ `nested` : transform booleanAttribute → luBooleanAttribute
|
|
202
|
+
~ `drag` : transform booleanAttribute → luBooleanAttribute
|
|
203
|
+
~ `noOverflow` : transform booleanAttribute → luBooleanAttribute
|
|
204
|
+
~ `stickyColsStart` : transform numberAttribute → luNumberAttribute
|
|
205
|
+
~ `stickyColsEnd` : transform numberAttribute → luNumberAttribute
|
|
206
|
+
|
|
207
|
+
### Notes de release (ZeroHeight)
|
|
208
|
+
|
|
209
|
+
#### 21.3.1
|
|
210
|
+
|
|
211
|
+
##### Fixed
|
|
212
|
+
|
|
213
|
+
- `mod-cellBorder` now applies the correct inline padding to `mod-editable` cells.
|
|
214
|
+
- ResizeObserver instances are now disconnected on destroy to prevent memory leaks.
|
|
215
|
+
|
|
216
|
+
#### 21.3.0
|
|
217
|
+
|
|
218
|
+
##### Fixed
|
|
219
|
+
|
|
220
|
+
- `sort` header now toggles reliably on click (`none` → `ascending` → `descending`) instead of relying on the `ngModel` binding.
|
|
221
|
+
- Sticky columns no longer add offsets to the first and last columns, fixing their positioning.
|
|
222
|
+
|
|
223
|
+
#### 21.2.0
|
|
224
|
+
|
|
225
|
+
##### Added
|
|
226
|
+
|
|
227
|
+
- `mod-critical` modifier for action buttons.
|
|
228
|
+
|
|
229
|
+
##### Deprecated
|
|
230
|
+
|
|
231
|
+
- `mod-delete` modifier for action buttons, use `mod-critical` instead.
|
|
232
|
+
|
|
233
|
+
#### 21.1.0
|
|
234
|
+
|
|
235
|
+
##### Added
|
|
236
|
+
|
|
237
|
+
- `intl` input on `tr[luDataTableRow]` to override the component's translations.
|
|
238
|
+
|
|
239
|
+
#### 21.0.4
|
|
240
|
+
|
|
241
|
+
##### Fixed
|
|
242
|
+
|
|
243
|
+
- `mod-verticalAlignMiddle` now works (fixed a broken `@include` that prevented the modifier from being applied).
|
|
244
|
+
|
|
245
|
+
#### 21.0.0
|
|
246
|
+
|
|
247
|
+
##### Added
|
|
248
|
+
|
|
249
|
+
- Sticky columns support: `stickyColsStart` and `stickyColsEnd` inputs on `lu-data-table`, plus an `inlineSize` input on `th[luDataTableCell]`.
|
|
250
|
+
- `noOverflow` input on `lu-data-table` (rendered as `mod-noOverflow`) to let the table size to its content instead of scrolling.
|
|
251
|
+
- `drag` input on `lu-data-table` to enable drag & drop of rows, adding a drag handle (with a translated `move` label) and the `mod-draggable` row modifier.
|
|
252
|
+
|
|
253
|
+
##### Changed
|
|
254
|
+
|
|
255
|
+
- The pagination slot now stays sticky at the bottom of the scrollable table.
|
|
256
|
+
|
|
257
|
+
##### Fixed
|
|
258
|
+
|
|
259
|
+
- Scroll shadows are now recomputed when the table is resized.
|
|
260
|
+
- Prevent runtime errors when data-table sub-components are rendered without their expected parent (table, row and cell references are now injected optionally).
|
|
261
|
+
|
|
262
|
+
#### 20.3.4
|
|
263
|
+
|
|
264
|
+
##### Changed
|
|
265
|
+
|
|
266
|
+
- `sort` model now uses `'none'` (with a default of `null`) instead of `undefined` for the unsorted state.
|
|
267
|
+
|
|
268
|
+
##### Fixed
|
|
269
|
+
|
|
270
|
+
- Selected-row background is no longer applied to header rows.
|
|
271
|
+
|
|
272
|
+
#### 20.3.2
|
|
273
|
+
|
|
274
|
+
##### Changed
|
|
275
|
+
|
|
276
|
+
- `sort` on `th[luDataTableCell]` is now a two-way bindable `model()` instead of an input.
|
|
277
|
+
- Group headers (`group` input on `tbody[luDataTableBody]`) now render `PortalContent` (templates or components) instead of plain text only.
|
|
278
|
+
|
|
279
|
+
##### Fixed
|
|
280
|
+
|
|
281
|
+
- Checkbox vertical alignment in the first cell of a selectable row.
|
|
282
|
+
- `mod-actions` cells now use symmetric inline padding.
|
|
283
|
+
|
|
284
|
+
#### 20.3.1
|
|
285
|
+
|
|
286
|
+
##### Added
|
|
287
|
+
|
|
288
|
+
- Pagination content slot via the `[dataTablePagination]` selector.
|
|
289
|
+
|
|
290
|
+
#### 20.3.0
|
|
291
|
+
|
|
292
|
+
##### Added
|
|
293
|
+
|
|
294
|
+
- Initial Angular wrapper for the data table:
|
|
295
|
+
- `lu-data-table` (`DataTableComponent`) with inputs `hover`, `selectable`, `layoutFixed`, `cellBorder`, `nested`, `verticalAlign` and `responsive`.
|
|
296
|
+
- `thead[luDataTableHead]` with a `sticky` input.
|
|
297
|
+
- `tbody[luDataTableBody]` with `group`, `groupButtonAlt` and `expanded` inputs.
|
|
298
|
+
- `tfoot[luDataTableFoot]`.
|
|
299
|
+
- `tr[luDataTableRow]` with `selected`, `selectedLabel` and `disabled` inputs.
|
|
300
|
+
- `td[luDataTableCell]` with `align`, `editable` and `actions` inputs.
|
|
301
|
+
- `th[luDataTableCell]` (header cell) with `sort`, `fixedWidth`, `editable` and `align` inputs.
|
|
302
|
+
|
|
303
|
+
#### 20.2.3
|
|
304
|
+
|
|
305
|
+
##### Fixed
|
|
306
|
+
|
|
307
|
+
- z-index and tag positioning inside sticky tables.
|
|
308
|
+
|
|
309
|
+
#### 20.2.2
|
|
310
|
+
|
|
311
|
+
##### Fixed
|
|
312
|
+
|
|
313
|
+
- Background color of grouped rows.
|
|
314
|
+
|
|
315
|
+
#### 19.2.6
|
|
316
|
+
|
|
317
|
+
##### Fixed
|
|
318
|
+
|
|
319
|
+
- Alignment of tags, statuses and avatars inside cells.
|
|
320
|
+
|
|
321
|
+
#### 19.2.1
|
|
322
|
+
|
|
323
|
+
##### Fixed
|
|
324
|
+
|
|
325
|
+
- Sticky header combined with sortable columns.
|
|
326
|
+
- Horizontal overflow on WebKit browsers.
|
|
327
|
+
|
|
328
|
+
#### 19.1.1
|
|
329
|
+
|
|
330
|
+
##### Fixed
|
|
331
|
+
|
|
332
|
+
- White shadow rendering on Chrome.
|
|
333
|
+
|
|
334
|
+
#### 19.1.0
|
|
335
|
+
|
|
336
|
+
##### Added
|
|
337
|
+
|
|
338
|
+
- Initial `dataTable` HTML/SCSS component, including its modifiers (`mod-cellBorder`, `mod-alignTop`, `mod-layoutFixed`, `mod-selectable`, `mod-draggable`, ...) and the companion `dataTableSticked` sticky styles.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# date — Code & Implementation
|
|
2
|
+
|
|
3
|
+
📖 [Storybook documentation](https://lucca-front.lucca.io/v{version}/storybook/?path=/docs/documentation-forms-filterspills-date-angular--docs)
|
|
4
|
+
|
|
5
|
+
## Angular
|
|
6
|
+
|
|
7
|
+
### Filter pill
|
|
8
|
+
|
|
9
|
+
```js
|
|
10
|
+
import { LOCALE_ID } from '@angular/core';
|
|
11
|
+
import { FormsModule } from '@angular/forms';
|
|
12
|
+
import { DateInputComponent, DateRangeInputComponent } from '@lucca-front/ng/date2';
|
|
13
|
+
import { FilterPillComponent, luFilterPillsTranslations } from '@lucca-front/ng/filter-pills';
|
|
14
|
+
import { CheckboxInputComponent } from '@lucca-front/ng/forms';
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
```html
|
|
18
|
+
<lu-filter-pill label="Date de début" name="startDate">
|
|
19
|
+
<lu-date-input [(ngModel)]="example" clearable />
|
|
20
|
+
</lu-filter-pill>
|
|
21
|
+
|
|
22
|
+
<pr-story-model-display>{{ example }}</pr-story-model-display>
|
|
23
|
+
|
|
24
|
+
<hr class="divider pr-u-marginBlock400" />
|
|
25
|
+
|
|
26
|
+
<lu-filter-pill label="Période" name="periode">
|
|
27
|
+
<lu-date-range-input [(ngModel)]="examplePeriod" clearable />
|
|
28
|
+
</lu-filter-pill>
|
|
29
|
+
|
|
30
|
+
<pr-story-model-display>{{ examplePeriod | json }}</pr-story-model-display>
|
|
31
|
+
```
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
# date
|
|
2
|
+
|
|
3
|
+
**Sommaire**
|
|
4
|
+
|
|
5
|
+
- Import
|
|
6
|
+
- API Reference
|
|
7
|
+
- LuCalendarInputComponent (component)
|
|
8
|
+
- LuDateInputDirective (directive)
|
|
9
|
+
- LuDatePickerComponent (component)
|
|
10
|
+
- LuDateSelectInputComponent (component)
|
|
11
|
+
- Injection tokens
|
|
12
|
+
- Pipes
|
|
13
|
+
- Services
|
|
14
|
+
- Modules dépréciés
|
|
15
|
+
- Related files
|
|
16
|
+
- Changelog
|
|
17
|
+
- 22.0.5
|
|
18
|
+
- 22.0.0
|
|
19
|
+
|
|
20
|
+
## Import
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { LuCalendarInputComponent, LuDateInputDirective, LuDatePickerComponent, LuDateSelectInputComponent } from '@lucca-front/ng/date';
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## API Reference
|
|
27
|
+
|
|
28
|
+
### LuCalendarInputComponent (component)
|
|
29
|
+
|
|
30
|
+
**Selector:** `lu-calendar`
|
|
31
|
+
|
|
32
|
+
#### Inputs
|
|
33
|
+
|
|
34
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
35
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
36
|
+
| `intl` | `intl` | `unknown` | — | — | — | — |
|
|
37
|
+
| `min` | `min` | `D` | — | — | — | — |
|
|
38
|
+
| `max` | `max` | `D` | — | — | — | — |
|
|
39
|
+
| `granularity` | `granularity` | `LuDateGranularity` | `ELuDateGranularity.day` | — | — | — |
|
|
40
|
+
| `startOn` | `startOn` | `D` | — | — | — | — |
|
|
41
|
+
|
|
42
|
+
### LuDateInputDirective (directive)
|
|
43
|
+
|
|
44
|
+
**Selector:** `input[luDateInput]`
|
|
45
|
+
|
|
46
|
+
#### Inputs
|
|
47
|
+
|
|
48
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
49
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
50
|
+
| `min` | `min` | `D` | — | — | — | — |
|
|
51
|
+
| `max` | `max` | `D` | — | — | — | — |
|
|
52
|
+
| `granularity` | `granularity` | `LuDateGranularity` | `ELuDateGranularity.day` | — | — | — |
|
|
53
|
+
| `placeHolderInput` | `placeholder` | `string` | `''` | — | — | — |
|
|
54
|
+
| `intl` | `intl` | `unknown` | — | — | — | — |
|
|
55
|
+
|
|
56
|
+
### LuDatePickerComponent (component)
|
|
57
|
+
|
|
58
|
+
**Selector:** `lu-date-picker`
|
|
59
|
+
|
|
60
|
+
> ⚠️ **Déprécié** : since 18.3.0; use DateInputComponent.
|
|
61
|
+
|
|
62
|
+
**exportAs:** `LuDatePicker`
|
|
63
|
+
|
|
64
|
+
#### Inputs
|
|
65
|
+
|
|
66
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
67
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
68
|
+
| `min` | `min` | `D` | — | — | — | — |
|
|
69
|
+
| `max` | `max` | `D` | — | — | — | — |
|
|
70
|
+
| `granularity` | `granularity` | `LuDateGranularity` | `ELuDateGranularity.day` | — | — | — |
|
|
71
|
+
| `startOn` | `startOn` | `D` | — | — | — | — |
|
|
72
|
+
|
|
73
|
+
#### Outputs
|
|
74
|
+
|
|
75
|
+
| Property | Binding name | Type | Notes |
|
|
76
|
+
|----------|-------------|------|-------|
|
|
77
|
+
| `closeOutput` | `closeOutput` | `void` | — |
|
|
78
|
+
| `openOutput` | `openOutput` | `void` | — |
|
|
79
|
+
| `hoveredOutput` | `hoveredOutput` | `void` | — |
|
|
80
|
+
| `onSelectValueOutput` | `onSelectValueOutput` | `void` | — |
|
|
81
|
+
|
|
82
|
+
### LuDateSelectInputComponent (component)
|
|
83
|
+
|
|
84
|
+
**Selector:** `lu-date-select`
|
|
85
|
+
|
|
86
|
+
#### Inputs
|
|
87
|
+
|
|
88
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
89
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
90
|
+
| `min` | `min` | `D` | — | — | — | — |
|
|
91
|
+
| `max` | `max` | `D` | — | — | — | — |
|
|
92
|
+
| `granularity` | `granularity` | `LuDateGranularity` | `ELuDateGranularity.day` | — | — | — |
|
|
93
|
+
| `hideClearer` | `hideClearer` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
94
|
+
| `startOn` | `startOn` | `D` | — | — | — | — |
|
|
95
|
+
|
|
96
|
+
### Injection tokens
|
|
97
|
+
|
|
98
|
+
| Token | Type | Description |
|
|
99
|
+
|-------|------|-------------|
|
|
100
|
+
| `LU_CALENDARINPUT_TRANSLATIONS` | `unknown` | — |
|
|
101
|
+
| `LU_DATE_INPUT_TRANSLATIONS` | `unknown` | — |
|
|
102
|
+
| `LU_DATE_SELECT_INPUT_TRANSLATIONS` | `unknown` | — |
|
|
103
|
+
|
|
104
|
+
### Pipes
|
|
105
|
+
|
|
106
|
+
| Pipe | Classe | transform | Description |
|
|
107
|
+
|------|--------|-----------|-------------|
|
|
108
|
+
| `luDate` | `LuDateAdapterPipe` | `(d: D, format = 'mediumDate'): string` | — |
|
|
109
|
+
| `luHumanizeDate` | `LuHumanizeDatePipe` | `(value: Date \| string \| number, allowedUnits?: readonly LuRelativeTimeFormatUnit[]): Observable<string>` | — |
|
|
110
|
+
|
|
111
|
+
### Services
|
|
112
|
+
|
|
113
|
+
#### LuHumanizeDateFormatter
|
|
114
|
+
|
|
115
|
+
- `format(relativeTime: LuRelativeTime): string`
|
|
116
|
+
|
|
117
|
+
### Modules dépréciés
|
|
118
|
+
|
|
119
|
+
- ⚠️ `LuDateAdapterModule` — use `LuDateAdapterPipe` instead
|
|
120
|
+
- ⚠️ `LuDateModule` — use `LuCalendarInputComponent, LuDatePickerComponent, LuDateInputDirective, LuDateAdapterPipe, LuDateSelectInputComponent` instead
|
|
121
|
+
- ⚠️ `LuDatePickerModule` — use `LuDatePickerComponent` instead
|
|
122
|
+
- ⚠️ `LuDateSelectInputModule` — use `LuDateSelectInputComponent` instead
|
|
123
|
+
|
|
124
|
+
## Related files
|
|
125
|
+
|
|
126
|
+
- 📝 [Code & implementation](./date.component.md)
|
|
127
|
+
|
|
128
|
+
- 📖 [Storybook documentation](https://lucca-front.lucca.io/v{version}/storybook/?path=/docs/documentation-forms-filterspills-date-angular--docs)
|
|
129
|
+
|
|
130
|
+
## Changelog
|
|
131
|
+
|
|
132
|
+
> Diff structurel de l'API (selectors, inputs, outputs, models) entre versions stables, depuis `v21.4.4` jusqu'à `v22.1.1`. Les versions sans changement d'API sont omises.
|
|
133
|
+
|
|
134
|
+
### 22.0.5
|
|
135
|
+
|
|
136
|
+
+ token `LU_CALENDARINPUT_TRANSLATIONS` : unknown
|
|
137
|
+
|
|
138
|
+
### 22.0.0
|
|
139
|
+
|
|
140
|
+
`LuCalendarInputComponent` :
|
|
141
|
+
~ `min` : unknown → D
|
|
142
|
+
~ `max` : unknown → D
|
|
143
|
+
~ `startOn` : défaut this._adapter.forgeToday() → ∅
|
|
144
|
+
`LuDateInputDirective` :
|
|
145
|
+
~ `min` : unknown → D
|
|
146
|
+
~ `max` : unknown → D
|
|
147
|
+
~ `placeholder` : défaut ∅ → ''
|
|
148
|
+
`LuDatePickerComponent` :
|
|
149
|
+
~ `min` : unknown → D
|
|
150
|
+
~ `max` : unknown → D
|
|
151
|
+
~ `startOn` : défaut this._adapter.forgeToday() → ∅
|
|
152
|
+
+ (output) `closeOutput` : void
|
|
153
|
+
+ (output) `openOutput` : void
|
|
154
|
+
+ (output) `hoveredOutput` : void
|
|
155
|
+
+ (output) `onSelectValueOutput` : void
|
|
156
|
+
- (output) `close`
|
|
157
|
+
- (output) `open`
|
|
158
|
+
- (output) `hovered`
|
|
159
|
+
- (output) `onSelectValue`
|
|
160
|
+
`LuDateSelectInputComponent` :
|
|
161
|
+
- `placeholder`
|
|
162
|
+
~ `min` : unknown → D
|
|
163
|
+
~ `max` : unknown → D
|
|
164
|
+
~ `hideClearer` : transform ∅ → luBooleanAttribute
|