@lucca-front/ng 22.1.1 → 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 +12 -12
- 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 +33 -33
- 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 +6 -6
- package/fesm2022/lucca-front-ng-core-select-establishment.mjs +14 -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 +18 -18
- package/fesm2022/lucca-front-ng-core-select.mjs +62 -54
- 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 +34 -37
- 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 +40 -38
- 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 +15 -15
- package/fesm2022/lucca-front-ng-footer.mjs +3 -3
- package/fesm2022/lucca-front-ng-form-field.mjs +18 -18
- 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 +35 -35
- 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 +6 -6
- 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 +3 -3
- 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 +6 -6
- package/fesm2022/lucca-front-ng-listbox.mjs +9 -9
- package/fesm2022/lucca-front-ng-listing.mjs +6 -6
- 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 +39 -38
- 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 +6 -6
- package/fesm2022/lucca-front-ng-popup.mjs +10 -10
- package/fesm2022/lucca-front-ng-priority-level.mjs +3 -3
- 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 +16 -14
- 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 +6 -6
- package/fesm2022/lucca-front-ng-user-popover.mjs +19 -19
- package/fesm2022/lucca-front-ng-user.mjs +63 -61
- 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 +4 -4
- package/schematics/color-text/index.js +0 -1
- package/types/lucca-front-ng-bubble-illustration.d.ts +6 -2
- package/types/lucca-front-ng-core-select.d.ts +5 -0
- package/types/lucca-front-ng-core.d.ts +6 -1
- package/types/lucca-front-ng-date.d.ts +4 -0
- package/types/lucca-front-ng-date2.d.ts +0 -1
- package/types/lucca-front-ng-department.d.ts +4 -2
- package/types/lucca-front-ng-dropdown.d.ts +2 -1
- package/types/lucca-front-ng-establishment.d.ts +3 -1
- package/types/lucca-front-ng-forms-phone-number-input.d.ts +1 -0
- package/types/lucca-front-ng-forms.d.ts +11 -1
- package/types/lucca-front-ng-highlight-section.d.ts +1 -1
- package/types/lucca-front-ng-input.d.ts +4 -2
- package/types/lucca-front-ng-mobile-push.d.ts +1 -0
- package/types/lucca-front-ng-option.d.ts +38 -17
- package/types/lucca-front-ng-plg-push.d.ts +1 -0
- package/types/lucca-front-ng-popover.d.ts +12 -0
- package/types/lucca-front-ng-select.d.ts +2 -1
- package/types/lucca-front-ng-sidepanel.d.ts +2 -1
- package/types/lucca-front-ng-simple-select.d.ts +1 -0
- package/types/lucca-front-ng-software-icon.d.ts +2 -2
- package/types/lucca-front-ng-time.d.ts +3 -2
- package/types/lucca-front-ng-user.d.ts +5 -3
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# fancybox
|
|
2
|
+
|
|
3
|
+
## Import
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import { FancyBoxComponent } from '@lucca-front/ng/fancy-box';
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Basic Usage
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<lu-fancy-box backgroundEndStart="plant" backgroundStartEnd="candies" foregroundStartEnd="pizza" foregroundEndStart="clips"> Content<br />Content<br />Content<br />Content<br />Content<br />Content </lu-fancy-box>
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## API Reference
|
|
16
|
+
|
|
17
|
+
### FancyBoxComponent (component)
|
|
18
|
+
|
|
19
|
+
**Selector:** `lu-fancy-box`
|
|
20
|
+
|
|
21
|
+
#### Inputs
|
|
22
|
+
|
|
23
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
24
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
25
|
+
| `foreground` | `foreground` | `string \| null` | `null` | — | — | ⚠️ **Déprécié** : use `foregroundStartEnd` instead URL de l’image au premier plan (200x160). |
|
|
26
|
+
| `backgroundLeft` | `backgroundLeft` | `FancyBoxBackgroundEndStart \| string \| null` | `null` | — | — | ⚠️ **Déprécié** : use `backgroundEndStart` instead URL de l’image en arrière plan à gauche (200x160). |
|
|
27
|
+
| `backgroundRight` | `backgroundRight` | `FancyBoxBackgroundStartEnd \| string \| null` | `null` | — | — | ⚠️ **Déprécié** : use `backgroundStartEnd` instead URL de l’image en arrière plan à droite (200x160). |
|
|
28
|
+
| `foregroundStartEnd` | `foregroundStartEnd` | `FancyBoxForegroundStartEnd \| string \| null` | `null` | — | — | Image au premier plan, en haut du côté "fin" (droite en LTR, gauche en RTL). Accepte aussi une URL pour une illustration… |
|
|
29
|
+
| `foregroundEndStart` | `foregroundEndStart` | `FancyBoxForegroundEndStart \| string \| null` | `null` | — | — | Image au premier plan, en bas du côté "début" (gauche en LTR, droite en RTL). Accepte aussi une URL pour une illustratio… |
|
|
30
|
+
| `backgroundEndStart` | `backgroundEndStart` | `FancyBoxBackgroundEndStart \| string \| null` | `null` | — | — | Image en arrière plan, en bas du côté "début" (gauche en LTR, droite en RTL). Accepte aussi une URL pour une illustratio… |
|
|
31
|
+
| `backgroundStartEnd` | `backgroundStartEnd` | `FancyBoxBackgroundStartEnd \| string \| null` | `null` | — | — | Image en arrière plan, en haut du côté "fin" (droite en LTR, gauche en RTL). Accepte aussi une URL pour une illustration… |
|
|
32
|
+
| `size` | `size` | `FancyBoxSize \| null` | `null` | — | — | Modifie la taille du composant. |
|
|
33
|
+
| `palette` | `palette` | `string` | `'product'` | — | — | Applique une palette de couleurs aux bulles de fond. |
|
|
34
|
+
|
|
35
|
+
## Related files
|
|
36
|
+
|
|
37
|
+
- 📝 [Code & implementation](./fancybox.component.md)
|
|
38
|
+
- 🎨 [Design guidelines](./fancybox.design.md)
|
|
39
|
+
- 📖 [Storybook documentation](https://lucca-front.lucca.io/v{version}/storybook/?path=/docs/documentation-structure-fancybox-angular-basic--docs)
|
|
40
|
+
|
|
41
|
+
## Changelog
|
|
42
|
+
|
|
43
|
+
> 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.
|
|
44
|
+
|
|
45
|
+
### 22.1.0
|
|
46
|
+
|
|
47
|
+
+ `foregroundStartEnd` : FancyBoxForegroundStartEnd | string | null
|
|
48
|
+
+ `foregroundEndStart` : FancyBoxForegroundEndStart | string | null
|
|
49
|
+
+ `backgroundEndStart` : FancyBoxBackgroundEndStart | string | null
|
|
50
|
+
+ `backgroundStartEnd` : FancyBoxBackgroundStartEnd | string | null
|
|
51
|
+
+ `palette` : string
|
|
52
|
+
~ `foreground` : devient déprécié (use `foregroundStartEnd` instead)
|
|
53
|
+
~ `backgroundLeft` : string → FancyBoxBackgroundEndStart | string | null, devient optionnel, défaut ∅ → null, devient déprécié (use `backgroundEndStart` instead)
|
|
54
|
+
~ `backgroundRight` : string → FancyBoxBackgroundStartEnd | string | null, devient optionnel, défaut ∅ → null, devient déprécié (use `backgroundStartEnd` instead)
|
|
55
|
+
|
|
56
|
+
### 22.0.0
|
|
57
|
+
|
|
58
|
+
~ `foreground` : string → string | null, défaut ∅ → null
|
|
59
|
+
|
|
60
|
+
### Notes de release (ZeroHeight)
|
|
61
|
+
|
|
62
|
+
#### 21.3.0
|
|
63
|
+
|
|
64
|
+
##### Added
|
|
65
|
+
|
|
66
|
+
- `FANCY_BOX_SIZE` constant and `FancyBoxSize` type are now publicly exported and used to type the `size` input.
|
|
67
|
+
|
|
68
|
+
#### 21.1.2
|
|
69
|
+
|
|
70
|
+
##### Fixed
|
|
71
|
+
|
|
72
|
+
- `mod-S` styles are now declared inside the `mods` layer, so they are no longer overridden by the component styles.
|
|
73
|
+
|
|
74
|
+
#### 21.0.0
|
|
75
|
+
|
|
76
|
+
##### Added
|
|
77
|
+
|
|
78
|
+
- `size` input with the `S` value (`mod-S`).
|
|
79
|
+
|
|
80
|
+
#### 19.2.6
|
|
81
|
+
|
|
82
|
+
##### Fixed
|
|
83
|
+
|
|
84
|
+
- Positioning of the fancy box decorations.
|
|
85
|
+
|
|
86
|
+
#### 19.1.0
|
|
87
|
+
|
|
88
|
+
##### Added
|
|
89
|
+
|
|
90
|
+
- `lu-fancy-box` component (`fancyBox`) with the `backgroundLeft`, `backgroundRight` and `foreground` inputs.
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# fieldset — Code & Implementation
|
|
2
|
+
|
|
3
|
+
📖 [Storybook documentation](https://lucca-front.lucca.io/v{version}/storybook/?path=/docs/documentation-forms-fieldset-angular-basic--docs)
|
|
4
|
+
|
|
5
|
+
## Angular
|
|
6
|
+
|
|
7
|
+
Mots-clés : groupe, champs, section, formulaire
|
|
8
|
+
|
|
9
|
+
Component selector : `lu-fieldset`
|
|
10
|
+
|
|
11
|
+
### Basic
|
|
12
|
+
|
|
13
|
+
```js
|
|
14
|
+
import { FormsModule } from '@angular/forms';
|
|
15
|
+
import { ButtonComponent } from '@lucca-front/ng/button';
|
|
16
|
+
import { FormComponent } from '@lucca-front/ng/form';
|
|
17
|
+
import { FormFieldComponent } from '@lucca-front/ng/form-field';
|
|
18
|
+
import { FIELDSET_SIZE, FieldsetComponent, TextInputComponent } from '@lucca-front/ng/forms';
|
|
19
|
+
import { GridColumnComponent, GridComponent } from '@lucca-front/ng/grid';
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
```html
|
|
23
|
+
<form luForm>
|
|
24
|
+
<lu-fieldset heading="Title">
|
|
25
|
+
<lu-grid mode="form">
|
|
26
|
+
<lu-grid-column colspan="2">
|
|
27
|
+
<lu-form-field label="Label">
|
|
28
|
+
<lu-text-input type="text" ngModel [ngModelOptions]="{ standalone: true }" />
|
|
29
|
+
</lu-form-field>
|
|
30
|
+
</lu-grid-column>
|
|
31
|
+
<lu-grid-column colspan="2">
|
|
32
|
+
<lu-form-field label="Label">
|
|
33
|
+
<lu-text-input type="text" ngModel [ngModelOptions]="{ standalone: true }" />
|
|
34
|
+
</lu-form-field>
|
|
35
|
+
</lu-grid-column>
|
|
36
|
+
</lu-grid>
|
|
37
|
+
</lu-fieldset>
|
|
38
|
+
</form>
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## HTML/CSS
|
|
42
|
+
|
|
43
|
+
Classe CSS : `.fieldset`
|
|
44
|
+
|
|
45
|
+
### Basic
|
|
46
|
+
|
|
47
|
+
```css
|
|
48
|
+
@forward '@lucca-front/scss/src/components/fieldset';
|
|
49
|
+
@forward '@lucca-front/scss/src/components/formLabel';
|
|
50
|
+
@forward '@lucca-front/scss/src/components/grid';
|
|
51
|
+
@forward '@lucca-front/scss/src/components/textField';
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
```html
|
|
55
|
+
<fieldset class="fieldset" aria-labelledby="fieldsetTitleContent1">
|
|
56
|
+
<legend class="fieldset-title">
|
|
57
|
+
<span class="fieldset-title-content" id="fieldsetTitleContent1">
|
|
58
|
+
<span class="fieldset-title-content-text">Title</span>
|
|
59
|
+
</span>
|
|
60
|
+
</legend>
|
|
61
|
+
<div class="fieldset-content">
|
|
62
|
+
<div class="grid mod-form" style="--grid-colspan: 4">
|
|
63
|
+
<div class="grid-column" style="--grid-colspanAtMediaMinXXS: 2">
|
|
64
|
+
<div class="form-field">
|
|
65
|
+
<label class="formLabel" id="IDlabel1" for="ID1">Label</label>
|
|
66
|
+
<div class="textField">
|
|
67
|
+
<div class="textField-input">
|
|
68
|
+
<input type="text" id="ID1" class="textField-input-value" aria-labelledby="IDlabel1" />
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="grid-column" style="--grid-colspanAtMediaMinXXS: 2">
|
|
74
|
+
<div class="form-field">
|
|
75
|
+
<label class="formLabel" id="IDlabel2" for="ID2">Label</label>
|
|
76
|
+
<div class="textField">
|
|
77
|
+
<div class="textField-input">
|
|
78
|
+
<input type="text" id="ID2" class="textField-input-value" aria-labelledby="IDlabel2" />
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
</fieldset>
|
|
86
|
+
```
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# fieldset
|
|
2
|
+
|
|
3
|
+
**Sommaire**
|
|
4
|
+
|
|
5
|
+
- Import
|
|
6
|
+
- Basic Usage
|
|
7
|
+
- API Reference
|
|
8
|
+
- FieldsetComponent (component)
|
|
9
|
+
- Related files
|
|
10
|
+
- Changelog
|
|
11
|
+
- 22.0.0
|
|
12
|
+
- Notes de release (ZeroHeight)
|
|
13
|
+
|
|
14
|
+
## Import
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { FieldsetComponent } from '@lucca-front/ng/forms';
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Basic Usage
|
|
21
|
+
|
|
22
|
+
```html
|
|
23
|
+
<form luForm> <lu-fieldset heading="Title"> <lu-grid mode="form"> <lu-grid-column colspan="2"> <lu-form-field label="Label"> <lu-text-input type="text" ngModel [ngModelOptions]="{ standalone: true }" /> </lu-form-field> </lu-grid-column> <lu-grid-column colspan="2"> <lu-form-field label="Label"> <lu-text-input type="text" ngModel [ngModelOptions]="{ standalone: true }" /> </lu-form-field> </lu-grid-column> </lu-grid> </lu-fieldset>
|
|
24
|
+
</form>
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## API Reference
|
|
28
|
+
|
|
29
|
+
### FieldsetComponent (component)
|
|
30
|
+
|
|
31
|
+
**Selector:** `lu-fieldset`
|
|
32
|
+
|
|
33
|
+
#### Inputs
|
|
34
|
+
|
|
35
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
36
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
37
|
+
| `heading` | `heading` | `PortalContent \| null` | `null` | — | — | Titre du fieldset. [PortalContent] |
|
|
38
|
+
| `helper` | `helper` | `PortalContent \| null` | `null` | — | — | Ajoute un sous-titre au fieldset. |
|
|
39
|
+
| `action` | `action` | `PortalContent \| null` | `null` | — | — | — |
|
|
40
|
+
| `size` | `size` | `FieldsetSize \| null` | `null` | — | — | Modifie la taille du fieldset. |
|
|
41
|
+
| `horizontal` | `horizontal` | `boolean` | `false` | — | `luBooleanAttribute` | Place le titre du fieldset à gauche des champs. |
|
|
42
|
+
| `expandable` | `expandable` | `boolean` | `false` | — | `luBooleanAttribute` | Permet au fieldset de se replier. |
|
|
43
|
+
| `hiddenLegend` | `hiddenLegend` | `boolean` | `false` | — | `luBooleanAttribute` | Masque la légende en la conservant dans le DOM pour les lecteurs d’écrans. |
|
|
44
|
+
|
|
45
|
+
#### Models (two-way binding)
|
|
46
|
+
|
|
47
|
+
| Property | Type | Required | Notes |
|
|
48
|
+
|----------|------|----------|-------|
|
|
49
|
+
| `expanded` | `unknown` | — | — |
|
|
50
|
+
|
|
51
|
+
## Related files
|
|
52
|
+
|
|
53
|
+
- 📝 [Code & implementation](./fieldset.component.md)
|
|
54
|
+
|
|
55
|
+
- 📖 [Storybook documentation](https://lucca-front.lucca.io/v{version}/storybook/?path=/docs/documentation-forms-fieldset-angular-basic--docs)
|
|
56
|
+
|
|
57
|
+
## Changelog
|
|
58
|
+
|
|
59
|
+
> 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.
|
|
60
|
+
|
|
61
|
+
### 22.0.0
|
|
62
|
+
|
|
63
|
+
~ `horizontal` : transform booleanAttribute → luBooleanAttribute
|
|
64
|
+
~ `expandable` : transform booleanAttribute → luBooleanAttribute
|
|
65
|
+
~ `hiddenLegend` : transform booleanAttribute → luBooleanAttribute
|
|
66
|
+
|
|
67
|
+
### Notes de release (ZeroHeight)
|
|
68
|
+
|
|
69
|
+
#### 21.3.0
|
|
70
|
+
|
|
71
|
+
##### Added
|
|
72
|
+
|
|
73
|
+
- `hiddenLegend` input to visually hide the fieldset legend while keeping it accessible.
|
|
74
|
+
|
|
75
|
+
##### Changed
|
|
76
|
+
|
|
77
|
+
- Default content max inline size is now `50rem` and inherits from the surrounding form (`--components-form-maxWidth`) instead of being fixed at `40rem`, with adjusted icon positioning.
|
|
78
|
+
|
|
79
|
+
##### Fixed
|
|
80
|
+
|
|
81
|
+
- Removed a spacing conflict in the fieldset modifiers.
|
|
82
|
+
|
|
83
|
+
#### 21.2.3
|
|
84
|
+
|
|
85
|
+
##### Fixed
|
|
86
|
+
|
|
87
|
+
- Expandable header toggle now renders as a ghost button for a consistent UI.
|
|
88
|
+
|
|
89
|
+
#### 21.2.2
|
|
90
|
+
|
|
91
|
+
##### Fixed
|
|
92
|
+
|
|
93
|
+
- Corrected the expandable chevron icon positioning.
|
|
94
|
+
|
|
95
|
+
#### 21.1.0
|
|
96
|
+
|
|
97
|
+
##### Fixed
|
|
98
|
+
|
|
99
|
+
- Improved accessibility of the header action and its responsive layout.
|
|
100
|
+
|
|
101
|
+
#### 21.0.3
|
|
102
|
+
|
|
103
|
+
##### Fixed
|
|
104
|
+
|
|
105
|
+
- Legend is now hidden when the heading is empty.
|
|
106
|
+
|
|
107
|
+
#### 21.0.0
|
|
108
|
+
|
|
109
|
+
##### Added
|
|
110
|
+
|
|
111
|
+
- `action` input to display a portal-based action in the fieldset header.
|
|
112
|
+
|
|
113
|
+
#### 20.1.0
|
|
114
|
+
|
|
115
|
+
##### Added
|
|
116
|
+
|
|
117
|
+
- `lu-fieldset` component (Angular wrapper) exposing the `heading`, `helper`, `size`, `horizontal` and `expandable` inputs and the `expanded` model.
|
|
118
|
+
|
|
119
|
+
#### 19.1.0
|
|
120
|
+
|
|
121
|
+
##### Changed
|
|
122
|
+
|
|
123
|
+
- Updated the icon used by the expandable variant.
|
|
124
|
+
|
|
125
|
+
#### 18.2.4
|
|
126
|
+
|
|
127
|
+
##### Added
|
|
128
|
+
|
|
129
|
+
- `mod-S` modifier providing a small-size variant for the fieldset.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# filedropzone — Code & Implementation
|
|
2
|
+
|
|
3
|
+
📖 [Storybook documentation](https://lucca-front.lucca.io/v{version}/storybook/?path=/docs/documentation-file-filedropzone-angular-basic--docs)
|
|
4
|
+
|
|
5
|
+
## Angular
|
|
6
|
+
|
|
7
|
+
### Basic
|
|
8
|
+
|
|
9
|
+
```js
|
|
10
|
+
import { provideHttpClient } from '@angular/common/http';
|
|
11
|
+
import { FileDropzoneComponent } from '@lucca-front/ng/file-upload';
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
```html
|
|
15
|
+
<lu-file-dropzone />
|
|
16
|
+
```
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# filedropzone
|
|
2
|
+
|
|
3
|
+
## Import
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import { FileDropzoneComponent } from '@lucca-front/ng/file-upload';
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Basic Usage
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<lu-file-dropzone />
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## API Reference
|
|
16
|
+
|
|
17
|
+
### FileDropzoneComponent (component)
|
|
18
|
+
|
|
19
|
+
**Selector:** `lu-file-dropzone`
|
|
20
|
+
|
|
21
|
+
#### Inputs
|
|
22
|
+
|
|
23
|
+
| Property | Binding name | Type | Default | Required | Transform | Description |
|
|
24
|
+
|----------|-------------|------|---------|----------|-----------|-------------|
|
|
25
|
+
| `intl` | `intl` | `unknown` | — | — | — | — |
|
|
26
|
+
| `accept` | `accept` | `Array<{
|
|
27
|
+
format: string;
|
|
28
|
+
name?: string;
|
|
29
|
+
}>` | `[]` | — | — | Liste des formats de fichiers acceptés. |
|
|
30
|
+
| `structure` | `structure` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
31
|
+
| `fileMaxSize` | `fileMaxSize` | `unknown` | `80 * MEGA_BYTE` | — | `luNumberAttribute` | Limite le poids des fichiers importables (en octets). |
|
|
32
|
+
| `size` | `size` | `FileUploadSize \| null` | `null` | — | — | — |
|
|
33
|
+
| `password` | `password` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
34
|
+
| `illustration` | `illustration` | `/** @deprecated use 'invoice' instead */
|
|
35
|
+
'paper' \| 'picture' \| 'invoice'` | `'invoice'` | — | — | Modifie l’illustration de l’icône dans la zone de drop. La valeur paper est dépréciée au profit de invoice. |
|
|
36
|
+
| `required` | `required` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
37
|
+
| `buttonFilled` | `buttonFilled` | `boolean` | `false` | — | `luBooleanAttribute` | — |
|
|
38
|
+
|
|
39
|
+
#### Outputs
|
|
40
|
+
|
|
41
|
+
| Property | Binding name | Type | Notes |
|
|
42
|
+
|----------|-------------|------|-------|
|
|
43
|
+
| `filePicked` | `filePicked` | `File` | — |
|
|
44
|
+
|
|
45
|
+
### Injection tokens
|
|
46
|
+
|
|
47
|
+
| Token | Type | Description |
|
|
48
|
+
|-------|------|-------------|
|
|
49
|
+
| `LU_FILE_UPLOAD_TRANSLATIONS` | `unknown` | — |
|
|
50
|
+
|
|
51
|
+
## Related files
|
|
52
|
+
|
|
53
|
+
- 📝 [Code & implementation](./filedropzone.component.md)
|
|
54
|
+
|
|
55
|
+
- 📖 [Storybook documentation](https://lucca-front.lucca.io/v{version}/storybook/?path=/docs/documentation-file-filedropzone-angular-basic--docs)
|
|
56
|
+
|
|
57
|
+
## Changelog
|
|
58
|
+
|
|
59
|
+
> 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.
|
|
60
|
+
|
|
61
|
+
### 22.0.5
|
|
62
|
+
|
|
63
|
+
+ token `LU_FILE_UPLOAD_TRANSLATIONS` : unknown
|
|
64
|
+
|
|
65
|
+
### 22.0.0
|
|
66
|
+
|
|
67
|
+
~ `structure` : transform booleanAttribute → luBooleanAttribute
|
|
68
|
+
~ `fileMaxSize` : number → unknown, transform ∅ → luNumberAttribute
|
|
69
|
+
~ `password` : transform booleanAttribute → luBooleanAttribute
|
|
70
|
+
~ `required` : transform booleanAttribute → luBooleanAttribute
|
|
71
|
+
~ `buttonFilled` : transform booleanAttribute → luBooleanAttribute
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# fileentry — Code & Implementation
|
|
2
|
+
|
|
3
|
+
📖 [Storybook documentation](https://lucca-front.lucca.io/v{version}/storybook/?path=/docs/documentation-file-fileentry-angular-basic--docs)
|
|
4
|
+
|
|
5
|
+
## Angular
|
|
6
|
+
|
|
7
|
+
Les stories "Single file" et "Multiple files" simulent un usage avec Lucca Files. Consultez la section Mise en place en bas de page pour vous aider lors de l'implémentation.
|
|
8
|
+
|
|
9
|
+
## Mise en place
|
|
10
|
+
|
|
11
|
+
FileUpload is a component designed to manage file uploads. It aims to standardize both the technical and visual
|
|
12
|
+
approaches to file uploads.
|
|
13
|
+
|
|
14
|
+
### Utilisation
|
|
15
|
+
|
|
16
|
+
For the purely visual and interactive part, you'll need `lu-single-file-upload` if you only want to manage
|
|
17
|
+
one file at a time, or `lu-multiple-file-upload` if you want to manage multiple files at once.
|
|
18
|
+
|
|
19
|
+
Both of these components come from `@lucca-front/ng/file-upload`.
|
|
20
|
+
|
|
21
|
+
In both components, simply connect to the `filePicked` event to retrieve the files sent by the user, these are of
|
|
22
|
+
the native Javascript File type, and each file will emit an event. In the case of multiple selections, an event
|
|
23
|
+
will be emitted per file.
|
|
24
|
+
|
|
25
|
+
Then, you'll just need to manage the upload of these files via LuccaFiles for most cases.
|
|
26
|
+
|
|
27
|
+
Once the files are sent, the display management changes depending on the approach, single or multi.
|
|
28
|
+
|
|
29
|
+
### Details
|
|
30
|
+
|
|
31
|
+
In both cases, `fileUploadFeature` is simply the SignalStore provided by `@lucca/cdk` for interactions with LuccaFiles,
|
|
32
|
+
`luFileEntry` is a pipe that transforms a `FileUpload` into a `LuccaFileEntry`.
|
|
33
|
+
|
|
34
|
+
It's also possible to specify a list of accepted files, solely for UX purposes, as the file type is not enforced by the
|
|
35
|
+
browser in any way, this list is an `Array<{ format: string; name?: string; }>`, `name` being used for display only.
|
|
36
|
+
|
|
37
|
+
### Basic
|
|
38
|
+
|
|
39
|
+
Component selector : `lu-file-entry`
|
|
40
|
+
|
|
41
|
+
```js
|
|
42
|
+
import { FileEntry, FileEntryComponent } from '@lucca-front/ng/file-upload';
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
```html
|
|
46
|
+
<lu-file-entry
|
|
47
|
+
(deleteFile)="deleteFile()"
|
|
48
|
+
[entry]="{
|
|
49
|
+
name: 'dummyimage.png',
|
|
50
|
+
size: 28420,
|
|
51
|
+
type: 'image/png',
|
|
52
|
+
}"
|
|
53
|
+
previewUrl="https://dummyimage.com/500"
|
|
54
|
+
inlineMessageError="Virus détecté dans le fichier."
|
|
55
|
+
/>
|
|
56
|
+
```
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
# fileentry — Design Guidelines
|
|
2
|
+
|
|
3
|
+
**Sommaire**
|
|
4
|
+
|
|
5
|
+
- Design
|
|
6
|
+
- Anatomie
|
|
7
|
+
- Cas d’usage
|
|
8
|
+
- Formulaire
|
|
9
|
+
- Parcours d’analyse de document
|
|
10
|
+
- Illustrations
|
|
11
|
+
- Comportement
|
|
12
|
+
- Principe de l’import temporaire
|
|
13
|
+
- Détection des erreurs
|
|
14
|
+
- Aperçu des fichiers
|
|
15
|
+
- Content
|
|
16
|
+
- Contenu et rédaction
|
|
17
|
+
- Messages initiaux et contraintes
|
|
18
|
+
- Choix du terme « Sélectionner »
|
|
19
|
+
- « Fichier » ou « Document » ?
|
|
20
|
+
|
|
21
|
+
> Sourced from [Prisme / ZeroHeight](https://prisme.lucca.io/94310e217/p/8282a5)
|
|
22
|
+
|
|
23
|
+
# Design
|
|
24
|
+
|
|
25
|
+
**Mots-clés :**upload, téléchargement, fichier, pièce jointe, file entry, entry
|
|
26
|
+
|
|
27
|
+
**Des questions, commentaires ou retours ?**Laisser un commentaire sur Figma ou contactez-nous sur Slack :*#design-system-public*
|
|
28
|
+
|
|
29
|
+
/
|
|
30
|
+
|
|
31
|
+
## Anatomie
|
|
32
|
+
|
|
33
|
+
Le composant est disponible en deux tailles :
|
|
34
|
+
|
|
35
|
+
* La **taille** **`S`**, la plus courante, doit être utilisée dans la majorité des formulaires. Elle permet de sélectionner un fichier ou plusieurs en les présentant directement sous le champ. Cette taille ne doit pas être utilisée pour afficher un aperçu du document sélectionné.
|
|
36
|
+
* La **taille** **`M`**, moins utilisée, principalement en début de parcours lorsque l'import d'un document lance un processus d'analyse. Cette taille peut aussi être utilisée dans les formulaire, s'il est intéressant de visualiser un aperçu du fichier sélectionné (une image ou un pdf).
|
|
37
|
+
|
|
38
|
+
## Cas d’usage
|
|
39
|
+
|
|
40
|
+
### Formulaire
|
|
41
|
+
|
|
42
|
+
Utilisé dans un formulaire, le composant File upload nécessite un bouton de validation en bas du formulaire. La **taille** **`S`** est a privilégier pour gagner en densité.
|
|
43
|
+
|
|
44
|
+
Lorsque l’import de fichier est l’élément central d’une interface ou d’un formulaire, il est possible d’utiliser la **taille** **`M`** pour lui donner plus d’importance. Il peut aussi être positionné sur la gauche du formulaire.
|
|
45
|
+
|
|
46
|
+
#### Import de fichier unique
|
|
47
|
+
|
|
48
|
+
Lorsqu’un fichier est importé, il est représenté par le composant FileEntry en lieu et place de la zone de sélection de fichier. Une miniature permet d'afficher une icône indiquant le format du fichier chargé (pdf, csv, xls, image, etc.).
|
|
49
|
+
|
|
50
|
+
Si l’utilisateur souhaite changer de fichier, il doit supprimer le fichier chargé pour en sélectionner un nouveau.
|
|
51
|
+
|
|
52
|
+
Lorsque le contexte requiert l'affichage et l'aperçu du fichier importé, l'activation de la propriété `media` permet au FileEntry d'afficher le contenu de l'image.
|
|
53
|
+
|
|
54
|
+
À noter que si l’affichage du fichier requiert une navigation entre plusieurs pages ou encore une gestion du zoom, il s’agit alors d’un composant autre que FileEntry.
|
|
55
|
+
|
|
56
|
+
Si le format et/ou le poids du fichier sélectionné ne correspond pas aux critères requis, le fichier n’est pas importé et le champ s’affiche en erreur. Un message d’erreur permet d’expliquer à l’utilisateur les raisons de cette erreur.
|
|
57
|
+
|
|
58
|
+
#### Import de plusieurs fichiers
|
|
59
|
+
|
|
60
|
+
Lorsqu’il est possible d’importer plusieurs fichiers, le comportement est différent. Les fichiers s'affichent en-dessous de la zone d’import dans l'ordre de sélection. L’utilisateur peut à tout moment cliquer sur la zone d’import pour ajouter un ou plusieurs autres fichiers.
|
|
61
|
+
|
|
62
|
+
Un affichage spécifique en grille est possible quand on attend de l’utilisateur qu’il importe des images. La propriété `media` permet de donner un aperçu plus explicite des images sélectionnées et potentiellement de les réordonner.
|
|
63
|
+
|
|
64
|
+
Il est possible d’afficher les images dans un ordre chronologique si l’ordre à une importance dans un contexte donné.
|
|
65
|
+
|
|
66
|
+
En cas d'erreur sur le chargement d'un fichier (poids, format, erreur de connexion, etc.), le message d’erreur est porté par le fichier lui-même et non la zone d’import. L'utilisateur peut le supprimer manuellement et en importer un nouveau. S'il ne le supprime pas, une Dialog apparaitra à la soumission du formulaire pour indiquer que le ou les fichiers en erreurs ne seront pas importés.
|
|
67
|
+
|
|
68
|
+
#### Champ obligatoire
|
|
69
|
+
|
|
70
|
+
Si le champ est obligatoire et que l'utilisateur n’a importé aucun fichier, le champ s’affiche en erreur à la soumission du formulaire.
|
|
71
|
+
|
|
72
|
+
#### Fichier protégé
|
|
73
|
+
|
|
74
|
+
En cas de fichier protégé, l’utilisateur doit saisir et valider le mot de passe avant de pouvoir soumettre le formulaire.
|
|
75
|
+
|
|
76
|
+
Une fois le mot de passe validé, le fieldset contextuel disparait. Si le mot de passe saisi est erroné, un message d’erreur s’affiche sous le champ.
|
|
77
|
+
|
|
78
|
+
### Parcours d’analyse de document
|
|
79
|
+
|
|
80
|
+
L’import de fichier peut être le point de départ d’un parcours utilisateur, notamment dans le cas d’un import et d’une analyse de fichier. Dans ce contexte, la **taille** **`M`** est privilégiée, le composant pouvant prendre la largeur de l’interface.
|
|
81
|
+
|
|
82
|
+
L’analyse du document se lance automatiquement une fois le fichier sélectionné ou déposé dans la zone.
|
|
83
|
+
|
|
84
|
+
Des informations supplémentaires peuvent être demandées, ce cas d’usage se rapproche d’une utilisation dans un formulaire. Un bouton de soumission permet de lancer l’analyse du document importé.
|
|
85
|
+
|
|
86
|
+
## Illustrations
|
|
87
|
+
|
|
88
|
+
Le File upload utilise les Bubble Illustrations, permettant de guider l’utilisateur en illustrant clairement la zone d’upload et dynamiser l’interface pour rendre l’action plus engageante.
|
|
89
|
+
|
|
90
|
+
Cette illustration peut être modifiée en fonction de la nature des fichiers à importer (photographie, justificatif de dépense, archive, bulletins de paie, etc.).
|
|
91
|
+
|
|
92
|
+
## Comportement
|
|
93
|
+
|
|
94
|
+
### Principe de l’import temporaire
|
|
95
|
+
|
|
96
|
+
Lucca.Files permet de stocker temporairement un fichier pendant **180 minutes**. Durant cette période, l'utilisateur peut manipuler le fichier sans qu’il ne persiste sur Lucca.Files.
|
|
97
|
+
|
|
98
|
+
Si cette approche est privilégiée, un bouton de confirmation doit permettre de persister le fichier sur Lucca.Files (souvent le bouton de soumission du formulaire).
|
|
99
|
+
|
|
100
|
+
### Détection des erreurs
|
|
101
|
+
|
|
102
|
+
Les contraintes liées à l’import de fichier sont définies par le Produit :
|
|
103
|
+
|
|
104
|
+
* Poids du fichier
|
|
105
|
+
* Contrôle du type de fichier
|
|
106
|
+
|
|
107
|
+
Le Front est capable de remonter des erreurs avant que le fichier soit envoyé sur Lucca.Files. En revanche, l’analyse antivirus est faite au moment de l’import, des erreurs peuvent donc survenir à ce moment là sans pouvoir être anticipées par le Front.
|
|
108
|
+
|
|
109
|
+
### Aperçu des fichiers
|
|
110
|
+
|
|
111
|
+
L’aperçu des fichiers est possible directement en Front, mais certaines contraintes existent :
|
|
112
|
+
|
|
113
|
+
* Pour les PDF volumineux, seule la première page est affichée en image.
|
|
114
|
+
* Si le fichier est lourd, l’affichage peut prendre du temps.
|
|
115
|
+
|
|
116
|
+
# Content
|
|
117
|
+
|
|
118
|
+
## Contenu et rédaction
|
|
119
|
+
|
|
120
|
+
### Messages initiaux et contraintes
|
|
121
|
+
|
|
122
|
+
Message principal recommandé :
|
|
123
|
+
|
|
124
|
+
* Pour un upload simple : « **Déposez le fichier ici ou cliquez pour le sélectionner** »
(“Drag and drop a file here or select it to upload”).
|
|
125
|
+
* Pour un upload multiple : « **Déposez les fichiers ici ou cliquez pour les sélectionner** » (“Drag and drop files here or select files to upload”).
|
|
126
|
+
* Afficher clairement les contraintes de format : « **Formats acceptés : PDF, PNG, JPG, JPEG, DOC, XLS**. »
|
|
127
|
+
* Indiquer le poids maximum : « **Poids maximum : 5 Mo**. »
|
|
128
|
+
* Utiliser les majuscules pour les formats de fichiers + éviter les points devant les formats de fichiers pour une meilleure lisibilité.
|
|
129
|
+
* Conserver l'astérisque (*) de champ obligatoire dans le texte à l'intérieur du composant, **seulement si le label est masqué** pour des raisons d'espace ou de design.
|
|
130
|
+
|
|
131
|
+
### Choix du terme « Sélectionner »
|
|
132
|
+
|
|
133
|
+
Préférer « **Sélectionner** » à « Choisir » ou « Parcourir » :
|
|
134
|
+
|
|
135
|
+
* plus direct et actif,
|
|
136
|
+
* met l'accent sur l'action de l'utilisateur,
|
|
137
|
+
* plus précis que « Choisir » qui suppose une présélection,
|
|
138
|
+
* plus clair que « Parcourir » qui évoque la navigation.
|
|
139
|
+
|
|
140
|
+
### « Fichier » ou « Document » ?
|
|
141
|
+
|
|
142
|
+
« Fichier » :
|
|
143
|
+
|
|
144
|
+
* désigne tout type de contenu ;
|
|
145
|
+
* demeure le mot qu'on retrouve sur la plupart des interfaces de téléchargement.
|
|
146
|
+
|
|
147
|
+
« Document » :
|
|
148
|
+
|
|
149
|
+
* décrit davantage un objet textuel, officiel, de bureau ;
|
|
150
|
+
* est à réserver à des cas particuliers, quand on désigne un type d'objet textuel, officiel, précis.
|
|
151
|
+
|
|
152
|
+
Il est possible de contextualiser ce terme lorsque nécessaire.
Exemple : « Justificatif » sur Frais professionnels.
|