@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.
Files changed (553) hide show
  1. package/fesm2022/lucca-front-ng-a11y.mjs +9 -9
  2. package/fesm2022/lucca-front-ng-activity-feed.mjs +12 -12
  3. package/fesm2022/lucca-front-ng-api.mjs +40 -40
  4. package/fesm2022/lucca-front-ng-app-layout.mjs +3 -3
  5. package/fesm2022/lucca-front-ng-approbation-inbox.mjs +33 -33
  6. package/fesm2022/lucca-front-ng-approbation-inbox.mjs.map +1 -1
  7. package/fesm2022/lucca-front-ng-box.mjs +3 -3
  8. package/fesm2022/lucca-front-ng-breadcrumbs.mjs +6 -6
  9. package/fesm2022/lucca-front-ng-bubble-icon.mjs +3 -3
  10. package/fesm2022/lucca-front-ng-bubble-illustration.mjs +7 -7
  11. package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
  12. package/fesm2022/lucca-front-ng-callout.mjs +25 -25
  13. package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
  14. package/fesm2022/lucca-front-ng-chip.mjs +3 -3
  15. package/fesm2022/lucca-front-ng-clear.mjs +3 -3
  16. package/fesm2022/lucca-front-ng-code.mjs +3 -3
  17. package/fesm2022/lucca-front-ng-color.mjs +3 -3
  18. package/fesm2022/lucca-front-ng-comment.mjs +9 -9
  19. package/fesm2022/lucca-front-ng-container.mjs +3 -3
  20. package/fesm2022/lucca-front-ng-core-select-api.mjs +9 -9
  21. package/fesm2022/lucca-front-ng-core-select-department.mjs +6 -6
  22. package/fesm2022/lucca-front-ng-core-select-establishment.mjs +14 -10
  23. package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
  24. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +11 -7
  25. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
  26. package/fesm2022/lucca-front-ng-core-select-legal-units.mjs +6 -6
  27. package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +3 -3
  28. package/fesm2022/lucca-front-ng-core-select-user.mjs +18 -18
  29. package/fesm2022/lucca-front-ng-core-select.mjs +62 -54
  30. package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
  31. package/fesm2022/lucca-front-ng-core.mjs +24 -19
  32. package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
  33. package/fesm2022/lucca-front-ng-data-table.mjs +24 -24
  34. package/fesm2022/lucca-front-ng-date.mjs +44 -40
  35. package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
  36. package/fesm2022/lucca-front-ng-date2.mjs +34 -37
  37. package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
  38. package/fesm2022/lucca-front-ng-department.mjs +28 -26
  39. package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
  40. package/fesm2022/lucca-front-ng-dialog.mjs +40 -38
  41. package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
  42. package/fesm2022/lucca-front-ng-divider.mjs +3 -3
  43. package/fesm2022/lucca-front-ng-dropdown.mjs +42 -41
  44. package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
  45. package/fesm2022/lucca-front-ng-empty-state.mjs +14 -14
  46. package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
  47. package/fesm2022/lucca-front-ng-error-page.mjs +5 -4
  48. package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
  49. package/fesm2022/lucca-front-ng-establishment.mjs +36 -34
  50. package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
  51. package/fesm2022/lucca-front-ng-fancy-box.mjs +5 -4
  52. package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
  53. package/fesm2022/lucca-front-ng-file-upload.mjs +20 -20
  54. package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
  55. package/fesm2022/lucca-front-ng-filter-pills-core.mjs +6 -6
  56. package/fesm2022/lucca-front-ng-filter-pills.mjs +15 -15
  57. package/fesm2022/lucca-front-ng-footer.mjs +3 -3
  58. package/fesm2022/lucca-front-ng-form-field.mjs +18 -18
  59. package/fesm2022/lucca-front-ng-form-header.mjs +3 -3
  60. package/fesm2022/lucca-front-ng-form-label.mjs +3 -3
  61. package/fesm2022/lucca-front-ng-form.mjs +3 -3
  62. package/fesm2022/lucca-front-ng-formly.mjs +58 -58
  63. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +10 -9
  64. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
  65. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs +3 -3
  66. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +6 -6
  67. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +3 -3
  68. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +35 -35
  69. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
  70. package/fesm2022/lucca-front-ng-forms.mjs +50 -40
  71. package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
  72. package/fesm2022/lucca-front-ng-gauge.mjs +3 -3
  73. package/fesm2022/lucca-front-ng-grid.mjs +6 -6
  74. package/fesm2022/lucca-front-ng-highlight-data.mjs +6 -6
  75. package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
  76. package/fesm2022/lucca-front-ng-highlight-section.mjs +6 -6
  77. package/fesm2022/lucca-front-ng-highlight-section.mjs.map +1 -1
  78. package/fesm2022/lucca-front-ng-highlight-text.mjs +3 -3
  79. package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +9 -9
  80. package/fesm2022/lucca-front-ng-impersonation.mjs +3 -3
  81. package/fesm2022/lucca-front-ng-index-table.mjs +30 -30
  82. package/fesm2022/lucca-front-ng-inline-message.mjs +3 -3
  83. package/fesm2022/lucca-front-ng-input.mjs +25 -23
  84. package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
  85. package/fesm2022/lucca-front-ng-kbd.mjs +3 -3
  86. package/fesm2022/lucca-front-ng-link.mjs +6 -6
  87. package/fesm2022/lucca-front-ng-listbox.mjs +9 -9
  88. package/fesm2022/lucca-front-ng-listing.mjs +6 -6
  89. package/fesm2022/lucca-front-ng-loading.mjs +3 -3
  90. package/fesm2022/lucca-front-ng-main-layout.mjs +8 -8
  91. package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
  92. package/fesm2022/lucca-front-ng-markdown.mjs +3 -3
  93. package/fesm2022/lucca-front-ng-mobile-push.mjs +6 -5
  94. package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
  95. package/fesm2022/lucca-front-ng-modal.mjs +22 -22
  96. package/fesm2022/lucca-front-ng-multi-select.mjs +39 -38
  97. package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
  98. package/fesm2022/lucca-front-ng-new-badge.mjs +3 -3
  99. package/fesm2022/lucca-front-ng-number-format.mjs +22 -13
  100. package/fesm2022/lucca-front-ng-number-format.mjs.map +1 -1
  101. package/fesm2022/lucca-front-ng-number.mjs +7 -7
  102. package/fesm2022/lucca-front-ng-option.mjs +164 -143
  103. package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
  104. package/fesm2022/lucca-front-ng-page-header.mjs +3 -3
  105. package/fesm2022/lucca-front-ng-pagination.mjs +3 -3
  106. package/fesm2022/lucca-front-ng-plg-push.mjs +6 -5
  107. package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
  108. package/fesm2022/lucca-front-ng-popover.mjs +29 -17
  109. package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
  110. package/fesm2022/lucca-front-ng-popover2.mjs +6 -6
  111. package/fesm2022/lucca-front-ng-popup.mjs +10 -10
  112. package/fesm2022/lucca-front-ng-priority-level.mjs +3 -3
  113. package/fesm2022/lucca-front-ng-progress-bar.mjs +3 -3
  114. package/fesm2022/lucca-front-ng-progress-stepper.mjs +6 -6
  115. package/fesm2022/lucca-front-ng-read-more.mjs +3 -3
  116. package/fesm2022/lucca-front-ng-resource-card.mjs +12 -12
  117. package/fesm2022/lucca-front-ng-safe-content.mjs +10 -10
  118. package/fesm2022/lucca-front-ng-scroll-box.mjs +3 -3
  119. package/fesm2022/lucca-front-ng-scroll.mjs +7 -7
  120. package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +8 -8
  121. package/fesm2022/lucca-front-ng-segmented-control.mjs +8 -8
  122. package/fesm2022/lucca-front-ng-select.mjs +16 -15
  123. package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
  124. package/fesm2022/lucca-front-ng-sidepanel.mjs +9 -8
  125. package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
  126. package/fesm2022/lucca-front-ng-simple-select.mjs +16 -14
  127. package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
  128. package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +6 -6
  129. package/fesm2022/lucca-front-ng-software-icon.mjs +7 -5
  130. package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
  131. package/fesm2022/lucca-front-ng-sortable-list.mjs +6 -6
  132. package/fesm2022/lucca-front-ng-status-badge.mjs +3 -3
  133. package/fesm2022/lucca-front-ng-table-of-content.mjs +6 -6
  134. package/fesm2022/lucca-front-ng-text-flow.mjs +3 -3
  135. package/fesm2022/lucca-front-ng-time.mjs +36 -25
  136. package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
  137. package/fesm2022/lucca-front-ng-title.mjs +10 -10
  138. package/fesm2022/lucca-front-ng-toast.mjs +10 -10
  139. package/fesm2022/lucca-front-ng-tree-select.mjs +6 -6
  140. package/fesm2022/lucca-front-ng-user-popover.mjs +19 -19
  141. package/fesm2022/lucca-front-ng-user.mjs +63 -61
  142. package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
  143. package/fesm2022/lucca-front-ng-vertical-navigation.mjs +12 -12
  144. package/llms/SKILL.md +233 -0
  145. package/llms/references/components/activity-feed/activity-feed.component.md +339 -0
  146. package/llms/references/components/activity-feed/activity-feed.design.md +145 -0
  147. package/llms/references/components/activity-feed/activity-feed.md +129 -0
  148. package/llms/references/components/animations/animations.component.md +11 -0
  149. package/llms/references/components/animations/animations.md +7 -0
  150. package/llms/references/components/api-select/api-select.md +40 -0
  151. package/llms/references/components/app-layout/app-layout.component.md +65 -0
  152. package/llms/references/components/app-layout/app-layout.design.md +61 -0
  153. package/llms/references/components/app-layout/app-layout.md +80 -0
  154. package/llms/references/components/approbation-inbox/approbation-inbox.component.md +1062 -0
  155. package/llms/references/components/approbation-inbox/approbation-inbox.design.md +162 -0
  156. package/llms/references/components/approbation-inbox/approbation-inbox.md +177 -0
  157. package/llms/references/components/avatar/avatar.component.md +571 -0
  158. package/llms/references/components/avatar/avatar.md +97 -0
  159. package/llms/references/components/box/box.component.md +155 -0
  160. package/llms/references/components/box/box.md +98 -0
  161. package/llms/references/components/breadcrumbs/breadcrumbs.component.md +60 -0
  162. package/llms/references/components/breadcrumbs/breadcrumbs.design.md +11 -0
  163. package/llms/references/components/breadcrumbs/breadcrumbs.md +96 -0
  164. package/llms/references/components/bubble-icon/bubble-icon.component.md +56 -0
  165. package/llms/references/components/bubble-icon/bubble-icon.design.md +47 -0
  166. package/llms/references/components/bubble-icon/bubble-icon.md +83 -0
  167. package/llms/references/components/bubble-illustration/bubble-illustration.component.md +54 -0
  168. package/llms/references/components/bubble-illustration/bubble-illustration.design.md +69 -0
  169. package/llms/references/components/bubble-illustration/bubble-illustration.md +76 -0
  170. package/llms/references/components/button/button.component.md +275 -0
  171. package/llms/references/components/button/button.design.md +322 -0
  172. package/llms/references/components/button/button.md +134 -0
  173. package/llms/references/components/calendar/calendar.component.md +750 -0
  174. package/llms/references/components/calendar/calendar.design.md +43 -0
  175. package/llms/references/components/calendar/calendar.md +127 -0
  176. package/llms/references/components/calendar2/calendar2.md +74 -0
  177. package/llms/references/components/callout/callout.component.md +254 -0
  178. package/llms/references/components/callout/callout.design.md +197 -0
  179. package/llms/references/components/callout/callout.md +259 -0
  180. package/llms/references/components/callout-disclosure/callout-disclosure.component.md +240 -0
  181. package/llms/references/components/callout-disclosure/callout-disclosure.design.md +197 -0
  182. package/llms/references/components/callout-disclosure/callout-disclosure.md +207 -0
  183. package/llms/references/components/callout-popover/callout-popover.component.md +182 -0
  184. package/llms/references/components/callout-popover/callout-popover.design.md +197 -0
  185. package/llms/references/components/callout-popover/callout-popover.md +212 -0
  186. package/llms/references/components/card/card.component.md +62 -0
  187. package/llms/references/components/card/card.design.md +36 -0
  188. package/llms/references/components/card/card.md +7 -0
  189. package/llms/references/components/checkbox/checkbox.component.md +50 -0
  190. package/llms/references/components/checkbox/checkbox.design.md +196 -0
  191. package/llms/references/components/checkbox/checkbox.md +73 -0
  192. package/llms/references/components/chip/chip.component.md +145 -0
  193. package/llms/references/components/chip/chip.md +118 -0
  194. package/llms/references/components/clear/clear.component.md +38 -0
  195. package/llms/references/components/clear/clear.design.md +36 -0
  196. package/llms/references/components/clear/clear.md +88 -0
  197. package/llms/references/components/code/code.component.md +33 -0
  198. package/llms/references/components/code/code.md +47 -0
  199. package/llms/references/components/color/color.md +32 -0
  200. package/llms/references/components/color-input/color-input.md +43 -0
  201. package/llms/references/components/color-picker/color-picker.component.md +29 -0
  202. package/llms/references/components/color-picker/color-picker.design.md +42 -0
  203. package/llms/references/components/color-picker/color-picker.md +24 -0
  204. package/llms/references/components/comment/comment.component.md +451 -0
  205. package/llms/references/components/comment/comment.design.md +67 -0
  206. package/llms/references/components/comment/comment.md +137 -0
  207. package/llms/references/components/container/container.component.md +41 -0
  208. package/llms/references/components/container/container.md +74 -0
  209. package/llms/references/components/core-select-department/core-select-department.md +42 -0
  210. package/llms/references/components/core-select-establishment/core-select-establishment.md +45 -0
  211. package/llms/references/components/core-select-job-qualification/core-select-job-qualification.md +25 -0
  212. package/llms/references/components/core-select-occupation-category/core-select-occupation-category.md +25 -0
  213. package/llms/references/components/core-select-user/core-select-user.md +81 -0
  214. package/llms/references/components/data-presentation/data-presentation.component.md +47 -0
  215. package/llms/references/components/data-presentation/data-presentation.md +48 -0
  216. package/llms/references/components/data-table/data-table.component.md +1649 -0
  217. package/llms/references/components/data-table/data-table.design.md +159 -0
  218. package/llms/references/components/data-table/data-table.md +338 -0
  219. package/llms/references/components/date/date.component.md +31 -0
  220. package/llms/references/components/date/date.md +164 -0
  221. package/llms/references/components/dateinput/dateinput.component.md +127 -0
  222. package/llms/references/components/dateinput/dateinput.design.md +80 -0
  223. package/llms/references/components/dateinput/dateinput.md +224 -0
  224. package/llms/references/components/daterangeinput/daterangeinput.component.md +64 -0
  225. package/llms/references/components/daterangeinput/daterangeinput.design.md +76 -0
  226. package/llms/references/components/daterangeinput/daterangeinput.md +210 -0
  227. package/llms/references/components/departmentselect/departmentselect.component.md +44 -0
  228. package/llms/references/components/departmentselect/departmentselect.md +43 -0
  229. package/llms/references/components/dialog/dialog.component.md +475 -0
  230. package/llms/references/components/dialog/dialog.design.md +139 -0
  231. package/llms/references/components/dialog/dialog.md +357 -0
  232. package/llms/references/components/divider/divider.component.md +35 -0
  233. package/llms/references/components/divider/divider.md +87 -0
  234. package/llms/references/components/dropdown/dropdown.component.md +315 -0
  235. package/llms/references/components/dropdown/dropdown.md +189 -0
  236. package/llms/references/components/duration-picker/duration-picker.design.md +124 -0
  237. package/llms/references/components/duration-picker/duration-picker.md +165 -0
  238. package/llms/references/components/empty-state/empty-state.component.md +238 -0
  239. package/llms/references/components/empty-state/empty-state.design.md +124 -0
  240. package/llms/references/components/empty-state/empty-state.md +61 -0
  241. package/llms/references/components/errorpage/errorpage.component.md +57 -0
  242. package/llms/references/components/errorpage/errorpage.md +75 -0
  243. package/llms/references/components/establishmentselect/establishmentselect.component.md +31 -0
  244. package/llms/references/components/establishmentselect/establishmentselect.md +42 -0
  245. package/llms/references/components/fancy-dialog/fancy-dialog.component.md +9 -0
  246. package/llms/references/components/fancy-dialog/fancy-dialog.design.md +93 -0
  247. package/llms/references/components/fancy-dialog/fancy-dialog.md +128 -0
  248. package/llms/references/components/fancybox/fancybox.component.md +218 -0
  249. package/llms/references/components/fancybox/fancybox.design.md +72 -0
  250. package/llms/references/components/fancybox/fancybox.md +90 -0
  251. package/llms/references/components/fieldset/fieldset.component.md +86 -0
  252. package/llms/references/components/fieldset/fieldset.md +129 -0
  253. package/llms/references/components/filedropzone/filedropzone.component.md +16 -0
  254. package/llms/references/components/filedropzone/filedropzone.md +71 -0
  255. package/llms/references/components/fileentry/fileentry.component.md +56 -0
  256. package/llms/references/components/fileentry/fileentry.design.md +152 -0
  257. package/llms/references/components/fileentry/fileentry.md +272 -0
  258. package/llms/references/components/fileupload/fileupload.component.md +91 -0
  259. package/llms/references/components/fileupload/fileupload.design.md +152 -0
  260. package/llms/references/components/fileupload/fileupload.md +275 -0
  261. package/llms/references/components/filterbar/filterbar.component.md +299 -0
  262. package/llms/references/components/filterbar/filterbar.design.md +92 -0
  263. package/llms/references/components/filterbar/filterbar.md +168 -0
  264. package/llms/references/components/filterpills/filterpills.component.md +65 -0
  265. package/llms/references/components/filterpills/filterpills.design.md +60 -0
  266. package/llms/references/components/filterpills/filterpills.md +214 -0
  267. package/llms/references/components/footer/footer.component.md +66 -0
  268. package/llms/references/components/footer/footer.design.md +176 -0
  269. package/llms/references/components/footer/footer.md +125 -0
  270. package/llms/references/components/form/form.md +42 -0
  271. package/llms/references/components/form-field/form-field.component.md +46 -0
  272. package/llms/references/components/form-field/form-field.md +252 -0
  273. package/llms/references/components/form-header/form-header.md +29 -0
  274. package/llms/references/components/form-label/form-label.component.md +116 -0
  275. package/llms/references/components/form-label/form-label.md +121 -0
  276. package/llms/references/components/gauge/gauge.component.md +55 -0
  277. package/llms/references/components/gauge/gauge.md +72 -0
  278. package/llms/references/components/grid/grid.component.md +15 -0
  279. package/llms/references/components/grid/grid.md +124 -0
  280. package/llms/references/components/highlight-data/highlight-data.component.md +294 -0
  281. package/llms/references/components/highlight-data/highlight-data.design.md +97 -0
  282. package/llms/references/components/highlight-data/highlight-data.md +126 -0
  283. package/llms/references/components/highlight-section/highlight-section.component.md +195 -0
  284. package/llms/references/components/highlight-section/highlight-section.md +53 -0
  285. package/llms/references/components/highlight-text/highlight-text.component.md +53 -0
  286. package/llms/references/components/highlight-text/highlight-text.md +29 -0
  287. package/llms/references/components/horizontalnavigation/horizontalnavigation.component.md +247 -0
  288. package/llms/references/components/horizontalnavigation/horizontalnavigation.md +94 -0
  289. package/llms/references/components/icons/icons.component.md +59 -0
  290. package/llms/references/components/icons/icons.design.md +141 -0
  291. package/llms/references/components/icons/icons.md +195 -0
  292. package/llms/references/components/impersonation/impersonation.component.md +83 -0
  293. package/llms/references/components/impersonation/impersonation.design.md +58 -0
  294. package/llms/references/components/impersonation/impersonation.md +97 -0
  295. package/llms/references/components/index-table/index-table.component.md +2573 -0
  296. package/llms/references/components/index-table/index-table.design.md +250 -0
  297. package/llms/references/components/index-table/index-table.md +278 -0
  298. package/llms/references/components/inlinemessage/inlinemessage.component.md +58 -0
  299. package/llms/references/components/inlinemessage/inlinemessage.md +56 -0
  300. package/llms/references/components/input-framed/input-framed.component.md +731 -0
  301. package/llms/references/components/input-framed/input-framed.design.md +94 -0
  302. package/llms/references/components/input-framed/input-framed.md +49 -0
  303. package/llms/references/components/kbd/kbd.component.md +48 -0
  304. package/llms/references/components/kbd/kbd.md +40 -0
  305. package/llms/references/components/link/link.component.md +162 -0
  306. package/llms/references/components/link/link.design.md +48 -0
  307. package/llms/references/components/link/link.md +148 -0
  308. package/llms/references/components/listbox/listbox.component.md +11 -0
  309. package/llms/references/components/listbox/listbox.md +114 -0
  310. package/llms/references/components/listing/listing.component.md +416 -0
  311. package/llms/references/components/listing/listing.design.md +31 -0
  312. package/llms/references/components/listing/listing.md +124 -0
  313. package/llms/references/components/loading/loading.component.md +37 -0
  314. package/llms/references/components/loading/loading.design.md +32 -0
  315. package/llms/references/components/loading/loading.md +116 -0
  316. package/llms/references/components/main-layout/main-layout.component.md +157 -0
  317. package/llms/references/components/main-layout/main-layout.md +78 -0
  318. package/llms/references/components/markdown/markdown.component.md +15 -0
  319. package/llms/references/components/markdown/markdown.md +40 -0
  320. package/llms/references/components/mobile-push/mobile-push.component.md +67 -0
  321. package/llms/references/components/mobile-push/mobile-push.md +79 -0
  322. package/llms/references/components/mobileheader/mobileheader.component.md +31 -0
  323. package/llms/references/components/mobileheader/mobileheader.design.md +15 -0
  324. package/llms/references/components/mobileheader/mobileheader.md +7 -0
  325. package/llms/references/components/mobilenavigation/mobilenavigation.component.md +43 -0
  326. package/llms/references/components/mobilenavigation/mobilenavigation.design.md +9 -0
  327. package/llms/references/components/mobilenavigation/mobilenavigation.md +7 -0
  328. package/llms/references/components/modal/modal.component.md +37 -0
  329. package/llms/references/components/modal/modal.design.md +163 -0
  330. package/llms/references/components/modal/modal.md +60 -0
  331. package/llms/references/components/multi-select/multi-select.component.md +43 -0
  332. package/llms/references/components/multi-select/multi-select.design.md +346 -0
  333. package/llms/references/components/multi-select/multi-select.md +444 -0
  334. package/llms/references/components/multilanguagefield/multilanguagefield.component.md +83 -0
  335. package/llms/references/components/multilanguagefield/multilanguagefield.design.md +78 -0
  336. package/llms/references/components/multilanguagefield/multilanguagefield.md +383 -0
  337. package/llms/references/components/newbadge/newbadge.component.md +23 -0
  338. package/llms/references/components/newbadge/newbadge.design.md +25 -0
  339. package/llms/references/components/newbadge/newbadge.md +37 -0
  340. package/llms/references/components/number-format-input/number-format-input.md +63 -0
  341. package/llms/references/components/number-input/number-input.md +54 -0
  342. package/llms/references/components/numbers/numbers.component.md +46 -0
  343. package/llms/references/components/numbers/numbers.md +7 -0
  344. package/llms/references/components/numericbadge/numericbadge.component.md +66 -0
  345. package/llms/references/components/numericbadge/numericbadge.md +83 -0
  346. package/llms/references/components/onboarding-empty-state/onboarding-empty-state.design.md +124 -0
  347. package/llms/references/components/onboarding-empty-state/onboarding-empty-state.md +47 -0
  348. package/llms/references/components/pageheader/pageheader.component.md +401 -0
  349. package/llms/references/components/pageheader/pageheader.design.md +13 -0
  350. package/llms/references/components/pageheader/pageheader.md +154 -0
  351. package/llms/references/components/pagination/pagination.component.md +112 -0
  352. package/llms/references/components/pagination/pagination.md +128 -0
  353. package/llms/references/components/phonenumberfield/phonenumberfield.component.md +33 -0
  354. package/llms/references/components/phonenumberfield/phonenumberfield.design.md +59 -0
  355. package/llms/references/components/phonenumberfield/phonenumberfield.md +141 -0
  356. package/llms/references/components/plg-push/plg-push.component.md +91 -0
  357. package/llms/references/components/plg-push/plg-push.design.md +87 -0
  358. package/llms/references/components/plg-push/plg-push.md +91 -0
  359. package/llms/references/components/popover/popover.component.md +149 -0
  360. package/llms/references/components/popover/popover.md +253 -0
  361. package/llms/references/components/popover2/popover2.component.md +110 -0
  362. package/llms/references/components/popover2/popover2.md +95 -0
  363. package/llms/references/components/priority-level/priority-level.component.md +63 -0
  364. package/llms/references/components/priority-level/priority-level.design.md +79 -0
  365. package/llms/references/components/priority-level/priority-level.md +36 -0
  366. package/llms/references/components/progress-bar/progress-bar.component.md +33 -0
  367. package/llms/references/components/progress-bar/progress-bar.design.md +15 -0
  368. package/llms/references/components/progress-bar/progress-bar.md +50 -0
  369. package/llms/references/components/progress-stepper/progress-stepper.component.md +375 -0
  370. package/llms/references/components/progress-stepper/progress-stepper.design.md +54 -0
  371. package/llms/references/components/progress-stepper/progress-stepper.md +69 -0
  372. package/llms/references/components/radiofield/radiofield.component.md +307 -0
  373. package/llms/references/components/radiofield/radiofield.design.md +148 -0
  374. package/llms/references/components/radiofield/radiofield.md +132 -0
  375. package/llms/references/components/readmore/readmore.component.md +60 -0
  376. package/llms/references/components/readmore/readmore.md +97 -0
  377. package/llms/references/components/resource-card/resource-card.component.md +225 -0
  378. package/llms/references/components/resource-card/resource-card.md +118 -0
  379. package/llms/references/components/richtextinput/richtextinput.component.md +308 -0
  380. package/llms/references/components/richtextinput/richtextinput.design.md +83 -0
  381. package/llms/references/components/richtextinput/richtextinput.md +300 -0
  382. package/llms/references/components/scroll/scroll.md +45 -0
  383. package/llms/references/components/scrollbox/scrollbox.component.md +63 -0
  384. package/llms/references/components/scrollbox/scrollbox.design.md +11 -0
  385. package/llms/references/components/scrollbox/scrollbox.md +48 -0
  386. package/llms/references/components/section-empty-state/section-empty-state.component.md +9 -0
  387. package/llms/references/components/section-empty-state/section-empty-state.design.md +67 -0
  388. package/llms/references/components/section-empty-state/section-empty-state.md +41 -0
  389. package/llms/references/components/segmented-control-tabs/segmented-control-tabs.md +68 -0
  390. package/llms/references/components/segmentedcontrol/segmentedcontrol.component.md +208 -0
  391. package/llms/references/components/segmentedcontrol/segmentedcontrol.md +125 -0
  392. package/llms/references/components/select/select.component.md +247 -0
  393. package/llms/references/components/select/select.md +57 -0
  394. package/llms/references/components/select-templating/select-templating.md +141 -0
  395. package/llms/references/components/sidepanel/sidepanel.component.md +56 -0
  396. package/llms/references/components/sidepanel/sidepanel.md +7 -0
  397. package/llms/references/components/simple-select/simple-select.component.md +45 -0
  398. package/llms/references/components/simple-select/simple-select.design.md +353 -0
  399. package/llms/references/components/simple-select/simple-select.md +302 -0
  400. package/llms/references/components/skeleton/skeleton.component.md +145 -0
  401. package/llms/references/components/skeleton/skeleton.design.md +82 -0
  402. package/llms/references/components/skeleton/skeleton.md +230 -0
  403. package/llms/references/components/skiplinks/skiplinks.component.md +91 -0
  404. package/llms/references/components/skiplinks/skiplinks.md +73 -0
  405. package/llms/references/components/software-icon/software-icon.component.md +61 -0
  406. package/llms/references/components/software-icon/software-icon.design.md +23 -0
  407. package/llms/references/components/software-icon/software-icon.md +118 -0
  408. package/llms/references/components/sortable-list/sortable-list.component.md +150 -0
  409. package/llms/references/components/sortable-list/sortable-list.md +83 -0
  410. package/llms/references/components/statusbadge/statusbadge.component.md +56 -0
  411. package/llms/references/components/statusbadge/statusbadge.design.md +58 -0
  412. package/llms/references/components/statusbadge/statusbadge.md +62 -0
  413. package/llms/references/components/switchfield/switchfield.component.md +124 -0
  414. package/llms/references/components/switchfield/switchfield.md +55 -0
  415. package/llms/references/components/tableofcontent/tableofcontent.component.md +55 -0
  416. package/llms/references/components/tableofcontent/tableofcontent.md +41 -0
  417. package/llms/references/components/tags/tags.component.md +153 -0
  418. package/llms/references/components/tags/tags.design.md +84 -0
  419. package/llms/references/components/tags/tags.md +132 -0
  420. package/llms/references/components/text-flow/text-flow.component.md +71 -0
  421. package/llms/references/components/text-flow/text-flow.design.md +42 -0
  422. package/llms/references/components/text-flow/text-flow.md +62 -0
  423. package/llms/references/components/textareafield/textareafield.component.md +57 -0
  424. package/llms/references/components/textareafield/textareafield.design.md +94 -0
  425. package/llms/references/components/textareafield/textareafield.md +122 -0
  426. package/llms/references/components/textfield/textfield.component.md +610 -0
  427. package/llms/references/components/textfield/textfield.design.md +148 -0
  428. package/llms/references/components/textfield/textfield.md +178 -0
  429. package/llms/references/components/tile/tile.component.md +91 -0
  430. package/llms/references/components/tile/tile.md +91 -0
  431. package/llms/references/components/time/time.component.md +275 -0
  432. package/llms/references/components/time/time.md +140 -0
  433. package/llms/references/components/time-picker/time-picker.design.md +124 -0
  434. package/llms/references/components/time-picker/time-picker.md +169 -0
  435. package/llms/references/components/time-range-picker/time-range-picker.component.md +5 -0
  436. package/llms/references/components/time-range-picker/time-range-picker.design.md +57 -0
  437. package/llms/references/components/time-range-picker/time-range-picker.md +46 -0
  438. package/llms/references/components/timelines/timelines.component.md +168 -0
  439. package/llms/references/components/timelines/timelines.design.md +21 -0
  440. package/llms/references/components/timelines/timelines.md +7 -0
  441. package/llms/references/components/title-and-text/title-and-text.component.md +14 -0
  442. package/llms/references/components/title-and-text/title-and-text.design.md +57 -0
  443. package/llms/references/components/title-and-text/title-and-text.md +60 -0
  444. package/llms/references/components/toasts/toasts.component.md +54 -0
  445. package/llms/references/components/toasts/toasts.design.md +76 -0
  446. package/llms/references/components/toasts/toasts.md +124 -0
  447. package/llms/references/components/tooltip/tooltip.component.md +83 -0
  448. package/llms/references/components/tooltip/tooltip.design.md +68 -0
  449. package/llms/references/components/tooltip/tooltip.md +246 -0
  450. package/llms/references/components/treeselect/treeselect.component.md +62 -0
  451. package/llms/references/components/treeselect/treeselect.md +58 -0
  452. package/llms/references/components/user-select/user-select.md +52 -0
  453. package/llms/references/components/userpopover/userpopover.component.md +51 -0
  454. package/llms/references/components/userpopover/userpopover.design.md +74 -0
  455. package/llms/references/components/userpopover/userpopover.md +155 -0
  456. package/llms/references/components/verticalnavigation/verticalnavigation.component.md +247 -0
  457. package/llms/references/components/verticalnavigation/verticalnavigation.md +128 -0
  458. package/llms/references/documentation/content/accessibilite-contenu.md +147 -0
  459. package/llms/references/documentation/content/blocage-contenu.md +49 -0
  460. package/llms/references/documentation/content/criteres-essentiels.md +54 -0
  461. package/llms/references/documentation/content/dates.md +76 -0
  462. package/llms/references/documentation/content/grammaire-orthographe.md +118 -0
  463. package/llms/references/documentation/content/infinitif-imperatif.md +21 -0
  464. package/llms/references/documentation/content/jargon.md +30 -0
  465. package/llms/references/documentation/content/messages-erreur.md +279 -0
  466. package/llms/references/documentation/content/nombres.md +127 -0
  467. package/llms/references/documentation/content/ponctuation-typographie.md +343 -0
  468. package/llms/references/documentation/content/possessifs-pronoms.md +48 -0
  469. package/llms/references/documentation/content/ressources-definitions.md +58 -0
  470. package/llms/references/documentation/content/singulier-pluriel.md +72 -0
  471. package/llms/references/documentation/content/tester-clarte.md +141 -0
  472. package/llms/references/documentation/content/verbes-action.md +99 -0
  473. package/llms/references/documentation/content/voix-humaine.md +79 -0
  474. package/llms/references/documentation/deprecated/deprecated.md +151 -0
  475. package/llms/references/documentation/guidelines/guidelines-dev-ui.md +375 -0
  476. package/llms/references/documentation/patterns/actions-suppression.md +42 -0
  477. package/llms/references/documentation/patterns/aide-contextuelle.md +29 -0
  478. package/llms/references/documentation/patterns/card-et-box.md +56 -0
  479. package/llms/references/documentation/patterns/champs-conditionnels.md +38 -0
  480. package/llms/references/documentation/patterns/champs-effacables.md +34 -0
  481. package/llms/references/documentation/patterns/conception-formulaire.md +144 -0
  482. package/llms/references/documentation/patterns/cycle-vie-ressource.md +36 -0
  483. package/llms/references/documentation/patterns/dialogs-confirmation.md +160 -0
  484. package/llms/references/documentation/patterns/donnee-logiciel.md +66 -0
  485. package/llms/references/documentation/patterns/emails.md +99 -0
  486. package/llms/references/documentation/patterns/etats-chargement.md +90 -0
  487. package/llms/references/documentation/patterns/feedback.md +111 -0
  488. package/llms/references/documentation/patterns/gestion-erreurs-formulaire.md +48 -0
  489. package/llms/references/documentation/patterns/identification-pages.md +224 -0
  490. package/llms/references/documentation/patterns/metadonnees.md +79 -0
  491. package/llms/references/documentation/patterns/modes-affichage.md +51 -0
  492. package/llms/references/documentation/patterns/navigation-mobile.md +222 -0
  493. package/llms/references/documentation/patterns/niveaux-navigation.md +207 -0
  494. package/llms/references/documentation/patterns/parcours-creation-ressource-sans-diffusion.md +184 -0
  495. package/llms/references/documentation/patterns/parcours-creation-ressource.md +184 -0
  496. package/llms/references/documentation/patterns/pattern-ia.md +128 -0
  497. package/llms/references/documentation/patterns/placeholders.md +68 -0
  498. package/llms/references/documentation/patterns/push-notification-mobile.md +46 -0
  499. package/llms/references/documentation/patterns/quitter-formulaire.md +27 -0
  500. package/llms/references/documentation/patterns/regles-or.md +93 -0
  501. package/llms/references/documentation/patterns/responsive-design.md +119 -0
  502. package/llms/references/documentation/patterns/selection-population.md +135 -0
  503. package/llms/references/documentation/patterns/structure-accordeon.md +42 -0
  504. package/llms/references/documentation/patterns/traduction-formulaire.md +136 -0
  505. package/llms/references/documentation/patterns/vues-filtres-navigation.md +86 -0
  506. package/llms/references/documentation/patterns/widgets.md +64 -0
  507. package/llms/references/documentation/tokens/arrondis.md +65 -0
  508. package/llms/references/documentation/tokens/couleurs.md +560 -0
  509. package/llms/references/documentation/tokens/design-tokens.md +47 -0
  510. package/llms/references/documentation/tokens/elevations.md +78 -0
  511. package/llms/references/documentation/tokens/espacements.md +22 -0
  512. package/llms/references/documentation/tokens/noms-de-logiciels.md +81 -0
  513. package/llms/references/documentation/tokens/typographie.md +261 -0
  514. package/llms/references/migrations.md +31 -0
  515. package/llms/references/tools/angular-api.md +407 -0
  516. package/llms/references/tools/animations.md +177 -0
  517. package/llms/references/tools/mixins.md +119 -0
  518. package/llms/references/tools/numbers.md +81 -0
  519. package/llms/references/tools/scrollbox.md +11 -0
  520. package/llms/references/tools/utilitaires.md +998 -0
  521. package/llms/references/types/BubbleIllustration.md +5 -0
  522. package/llms/references/types/DecorativePalette.md +5 -0
  523. package/llms/references/types/Gap.md +5 -0
  524. package/llms/references/types/HighlightDataIllustration.md +5 -0
  525. package/llms/references/types/HighlightSectionIllustration.md +5 -0
  526. package/llms/references/types/LuccaIcon.md +5 -0
  527. package/llms/references/types/MainLayoutIllustrationEndStart.md +5 -0
  528. package/llms/references/types/MainLayoutIllustrationStartEnd.md +5 -0
  529. package/llms.txt +230 -0
  530. package/package.json +4 -4
  531. package/schematics/color-text/index.js +0 -1
  532. package/types/lucca-front-ng-bubble-illustration.d.ts +6 -2
  533. package/types/lucca-front-ng-core-select.d.ts +5 -0
  534. package/types/lucca-front-ng-core.d.ts +6 -1
  535. package/types/lucca-front-ng-date.d.ts +4 -0
  536. package/types/lucca-front-ng-date2.d.ts +0 -1
  537. package/types/lucca-front-ng-department.d.ts +4 -2
  538. package/types/lucca-front-ng-dropdown.d.ts +2 -1
  539. package/types/lucca-front-ng-establishment.d.ts +3 -1
  540. package/types/lucca-front-ng-forms-phone-number-input.d.ts +1 -0
  541. package/types/lucca-front-ng-forms.d.ts +11 -1
  542. package/types/lucca-front-ng-highlight-section.d.ts +1 -1
  543. package/types/lucca-front-ng-input.d.ts +4 -2
  544. package/types/lucca-front-ng-mobile-push.d.ts +1 -0
  545. package/types/lucca-front-ng-option.d.ts +38 -17
  546. package/types/lucca-front-ng-plg-push.d.ts +1 -0
  547. package/types/lucca-front-ng-popover.d.ts +12 -0
  548. package/types/lucca-front-ng-select.d.ts +2 -1
  549. package/types/lucca-front-ng-sidepanel.d.ts +2 -1
  550. package/types/lucca-front-ng-simple-select.d.ts +1 -0
  551. package/types/lucca-front-ng-software-icon.d.ts +2 -2
  552. package/types/lucca-front-ng-time.d.ts +3 -2
  553. package/types/lucca-front-ng-user.d.ts +5 -3
@@ -0,0 +1,272 @@
1
+ # fileentry
2
+
3
+ **Sommaire**
4
+
5
+ - Import
6
+ - Basic Usage
7
+ - API Reference
8
+ - FileDropzoneComponent (component)
9
+ - FileEntryComponent (component)
10
+ - FileEntryWrapperComponent (component)
11
+ - MultiFileUploadComponent (component)
12
+ - SingleFileUploadComponent (component)
13
+ - Injection tokens
14
+ - Related files
15
+ - Changelog
16
+ - 22.0.5
17
+ - 22.0.0
18
+ - Notes de release (ZeroHeight)
19
+
20
+ ## Import
21
+
22
+ ```typescript
23
+ import { FileDropzoneComponent, FileEntryComponent, FileEntryWrapperComponent, MultiFileUploadComponent, SingleFileUploadComponent } from '@lucca-front/ng/file-upload';
24
+ ```
25
+
26
+ ## Basic Usage
27
+
28
+ ```html
29
+ <lu-file-entry (deleteFile)="deleteFile()" [entry]="{ name: 'dummyimage.png', size: 28420, type: 'image/png', }" previewUrl="https://dummyimage.com/500" inlineMessageError="Virus détecté dans le fichier." />
30
+ ```
31
+
32
+ ## API Reference
33
+
34
+ ### FileDropzoneComponent (component)
35
+
36
+ **Selector:** `lu-file-dropzone`
37
+
38
+ #### Inputs
39
+
40
+ | Property | Binding name | Type | Default | Required | Transform | Description |
41
+ |----------|-------------|------|---------|----------|-----------|-------------|
42
+ | `intl` | `intl` | `unknown` | — | — | — | — |
43
+ | `accept` | `accept` | `Array<{
44
+ format: string;
45
+ name?: string;
46
+ }>` | `[]` | — | — | — |
47
+ | `structure` | `structure` | `boolean` | `false` | — | `luBooleanAttribute` | — |
48
+ | `fileMaxSize` | `fileMaxSize` | `unknown` | `80 * MEGA_BYTE` | — | `luNumberAttribute` | — |
49
+ | `size` | `size` | `FileUploadSize \| null` | `null` | — | — | Modifie la taille du composant. |
50
+ | `password` | `password` | `boolean` | `false` | — | `luBooleanAttribute` | — |
51
+ | `illustration` | `illustration` | `/** @deprecated use 'invoice' instead */
52
+ 'paper' \| 'picture' \| 'invoice'` | `'invoice'` | — | — | — |
53
+ | `required` | `required` | `boolean` | `false` | — | `luBooleanAttribute` | — |
54
+ | `buttonFilled` | `buttonFilled` | `boolean` | `false` | — | `luBooleanAttribute` | — |
55
+
56
+ #### Outputs
57
+
58
+ | Property | Binding name | Type | Notes |
59
+ |----------|-------------|------|-------|
60
+ | `filePicked` | `filePicked` | `File` | — |
61
+
62
+ ### FileEntryComponent (component)
63
+
64
+ **Selector:** `lu-file-entry`
65
+
66
+ #### Inputs
67
+
68
+ | Property | Binding name | Type | Default | Required | Transform | Description |
69
+ |----------|-------------|------|---------|----------|-----------|-------------|
70
+ | `intl` | `intl` | `unknown` | — | — | — | — |
71
+ | `state` | `state` | `'success' \| 'loading' \| 'error' \| 'default'` | `'default'` | — | — | Modifie l’état du composant. |
72
+ | `displayFileName` | `displayFileName` | `boolean` | `false` | — | `luBooleanAttribute` | Affiche le nom du fichier sous l’image en vue media. |
73
+ | `structure` | `structure` | `boolean` | `false` | — | `luBooleanAttribute` | — |
74
+ | `inlineMessageError` | `inlineMessageError` | `string \| null` | `null` | — | — | — |
75
+ | `entry` | `entry` | `FileEntry` | — | ✅ | — | — |
76
+ | `size` | `size` | `FileEntrySize \| null` | `null` | — | — | Modifie la taille du composant. |
77
+ | `iconOverride` | `iconOverride` | `string` | `''` | — | — | Remplace l’icône de format de fichier. |
78
+ | `downloadURL` | `downloadURL` | `string` | `''` | — | — | URL de téléchargement du fichier. |
79
+ | `openInNewTab` | `openInNewTab` | `boolean` | `false` | — | `luBooleanAttribute` | Ouvre le fichier dans un nouvel onglet au lieu de le télécharger. Peut varier selon les navigateurs ou les réglages util… |
80
+ | `password` | `password` | `string` | `''` | — | — | — |
81
+ | `media` | `media` | `boolean` | `false` | — | `luBooleanAttribute` | Affiche le fichier avec une mise en forme adaptée aux visuels. |
82
+ | `previewUrl` | `previewUrl` | `string` | `''` | — | — | URL de prévisualisation de l’image uploadée. |
83
+
84
+ #### Outputs
85
+
86
+ | Property | Binding name | Type | Notes |
87
+ |----------|-------------|------|-------|
88
+ | `passwordChange` | `passwordChange` | `void` | — |
89
+ | `deleteFile` | `deleteFile` | `void` | — |
90
+
91
+ ### FileEntryWrapperComponent (component)
92
+
93
+ **Selector:** `lu-file-entry-wrapper`
94
+
95
+ ### MultiFileUploadComponent (component)
96
+
97
+ **Selector:** `lu-multi-file-upload`
98
+
99
+ #### Inputs
100
+
101
+ | Property | Binding name | Type | Default | Required | Transform | Description |
102
+ |----------|-------------|------|---------|----------|-----------|-------------|
103
+ | `intl` | `intl` | `unknown` | — | — | — | — |
104
+ | `accept` | `accept` | `Array<{
105
+ format: string;
106
+ name?: string;
107
+ }>` | `[]` | — | — | — |
108
+ | `structure` | `structure` | `boolean` | `false` | — | `luBooleanAttribute` | — |
109
+ | `fileMaxSize` | `fileMaxSize` | `unknown` | `80 * MEGA_BYTE` | — | `luNumberAttribute` | — |
110
+ | `size` | `size` | `FileUploadSize \| null` | `null` | — | — | Modifie la taille du composant. |
111
+ | `password` | `password` | `boolean` | `false` | — | `luBooleanAttribute` | — |
112
+ | `illustration` | `illustration` | `/** @deprecated use 'invoice' instead */
113
+ 'paper' \| 'picture' \| 'invoice'` | `'invoice'` | — | — | — |
114
+ | `required` | `required` | `boolean` | `false` | — | `luBooleanAttribute` | — |
115
+ | `buttonFilled` | `buttonFilled` | `boolean` | `false` | — | `luBooleanAttribute` | — |
116
+
117
+ #### Outputs
118
+
119
+ | Property | Binding name | Type | Notes |
120
+ |----------|-------------|------|-------|
121
+ | `filePicked` | `filePicked` | `File` | — |
122
+
123
+ ### SingleFileUploadComponent (component)
124
+
125
+ **Selector:** `lu-single-file-upload`
126
+
127
+ #### Inputs
128
+
129
+ | Property | Binding name | Type | Default | Required | Transform | Description |
130
+ |----------|-------------|------|---------|----------|-----------|-------------|
131
+ | `intl` | `intl` | `unknown` | — | — | — | — |
132
+ | `accept` | `accept` | `Array<{
133
+ format: string;
134
+ name?: string;
135
+ }>` | `[]` | — | — | — |
136
+ | `structure` | `structure` | `boolean` | `false` | — | `luBooleanAttribute` | — |
137
+ | `fileMaxSize` | `fileMaxSize` | `unknown` | `80 * MEGA_BYTE` | — | `luNumberAttribute` | — |
138
+ | `size` | `size` | `FileUploadSize \| null` | `null` | — | — | Modifie la taille du composant. |
139
+ | `password` | `password` | `boolean` | `false` | — | `luBooleanAttribute` | — |
140
+ | `illustration` | `illustration` | `/** @deprecated use 'invoice' instead */
141
+ 'paper' \| 'picture' \| 'invoice'` | `'invoice'` | — | — | — |
142
+ | `required` | `required` | `boolean` | `false` | — | `luBooleanAttribute` | — |
143
+ | `buttonFilled` | `buttonFilled` | `boolean` | `false` | — | `luBooleanAttribute` | — |
144
+ | `entry` | `entry` | `FileEntry \| null` | `null` | — | — | — |
145
+ | `state` | `state` | `'loading' \| 'success' \| 'error' \| 'default'` | `'default'` | — | — | Modifie l’état du composant. |
146
+ | `inlineMessageError` | `inlineMessageError` | `string \| null` | `null` | — | — | — |
147
+ | `previewUrl` | `previewUrl` | `string \| null` | `null` | — | — | URL de prévisualisation de l’image uploadée. |
148
+ | `displayFileName` | `displayFileName` | `boolean` | `false` | — | `luBooleanAttribute` | Affiche le nom du fichier sous l’image en vue media. |
149
+
150
+ #### Outputs
151
+
152
+ | Property | Binding name | Type | Notes |
153
+ |----------|-------------|------|-------|
154
+ | `filePicked` | `filePicked` | `File` | — |
155
+ | `deleteFile` | `deleteFile` | `void` | — |
156
+
157
+ ### Injection tokens
158
+
159
+ | Token | Type | Description |
160
+ |-------|------|-------------|
161
+ | `LU_FILE_UPLOAD_TRANSLATIONS` | `unknown` | — |
162
+
163
+ ## Related files
164
+
165
+ - 📝 [Code & implementation](./fileentry.component.md)
166
+ - 🎨 [Design guidelines](./fileentry.design.md)
167
+ - 📖 [Storybook documentation](https://lucca-front.lucca.io/v{version}/storybook/?path=/docs/documentation-file-fileentry-angular-basic--docs)
168
+
169
+ ## Changelog
170
+
171
+ > 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.
172
+
173
+ ### 22.0.5
174
+
175
+ + token `LU_FILE_UPLOAD_TRANSLATIONS` : unknown
176
+
177
+ ### 22.0.0
178
+
179
+ + component `FileEntryWrapperComponent` (lu-file-entry-wrapper)
180
+ `FileDropzoneComponent` :
181
+ ~ `structure` : transform booleanAttribute → luBooleanAttribute
182
+ ~ `fileMaxSize` : number → unknown, transform ∅ → luNumberAttribute
183
+ ~ `password` : transform booleanAttribute → luBooleanAttribute
184
+ ~ `required` : transform booleanAttribute → luBooleanAttribute
185
+ ~ `buttonFilled` : transform booleanAttribute → luBooleanAttribute
186
+ `FileEntryComponent` :
187
+ + `structure` : boolean
188
+ ~ `displayFileName` : transform booleanAttribute → luBooleanAttribute
189
+ ~ `openInNewTab` : transform booleanAttribute → luBooleanAttribute
190
+ ~ `media` : transform booleanAttribute → luBooleanAttribute
191
+ `MultiFileUploadComponent` :
192
+ ~ `structure` : transform booleanAttribute → luBooleanAttribute
193
+ ~ `fileMaxSize` : number → unknown, transform ∅ → luNumberAttribute
194
+ ~ `password` : transform booleanAttribute → luBooleanAttribute
195
+ ~ `required` : transform booleanAttribute → luBooleanAttribute
196
+ ~ `buttonFilled` : transform booleanAttribute → luBooleanAttribute
197
+ `SingleFileUploadComponent` :
198
+ ~ `structure` : transform booleanAttribute → luBooleanAttribute
199
+ ~ `fileMaxSize` : number → unknown, transform ∅ → luNumberAttribute
200
+ ~ `password` : transform booleanAttribute → luBooleanAttribute
201
+ ~ `required` : transform booleanAttribute → luBooleanAttribute
202
+ ~ `buttonFilled` : transform booleanAttribute → luBooleanAttribute
203
+ ~ `displayFileName` : transform booleanAttribute → luBooleanAttribute
204
+
205
+ ### Notes de release (ZeroHeight)
206
+
207
+ #### 21.3.1
208
+
209
+ ##### Added
210
+
211
+ - `openInNewTab` input on `lu-file-entry` to open the `downloadURL` in a new tab.
212
+
213
+ ##### Fixed
214
+
215
+ - Icon preview of `lu-file-entry`.
216
+
217
+ #### 21.3.0
218
+
219
+ ##### Added
220
+
221
+ - `FILE_ENTRY_STATE`, `FILE_ENTRY_SIZE`, `FILE_UPLOAD_STATE` and `FILE_UPLOAD_SIZE` constants, together with their matching types, are now publicly exported and used to type the `state` and `size` inputs.
222
+
223
+ #### 21.2.2
224
+
225
+ ##### Fixed
226
+
227
+ - File size is displayed even when it equals `0`.
228
+
229
+ #### 21.2.0
230
+
231
+ ##### Added
232
+
233
+ - Content slot to display a tag next to the file.
234
+ - `media` and `size` of a `lu-file-entry` can now be left undefined.
235
+
236
+ #### 21.1.4
237
+
238
+ ##### Fixed
239
+
240
+ - Divider rendering between file entries.
241
+
242
+ #### 21.1.2
243
+
244
+ ##### Added
245
+
246
+ - `buttonFilled` input to render the upload button with the filled style instead of the outlined one.
247
+
248
+ #### 21.1.0
249
+
250
+ ##### Added
251
+
252
+ - `formatFileSize` function is now publicly exported.
253
+
254
+ ##### Changed
255
+
256
+ - `intl` input now accepts partial overrides that are merged with the default translations.
257
+
258
+ ##### Fixed
259
+
260
+ - The displayed file type now matches the actual file.
261
+
262
+ #### 20.3.1
263
+
264
+ ##### Fixed
265
+
266
+ - Typing of the `state` input.
267
+
268
+ #### 19.3.0
269
+
270
+ ##### Added
271
+
272
+ - `lu-single-file-upload`, `lu-multi-file-upload`, `lu-file-dropzone` and `lu-file-entry` components, with the `accept`, `fileMaxSize`, `required`, `state`, `size`, `illustration`, `iconOverride`, `displayFileName`, `downloadURL`, `previewUrl`, `password`, `inlineMessageError` and `intl` inputs, plus the `filePicked`, `deleteFile` and `passwordChange` outputs.
@@ -0,0 +1,91 @@
1
+ # fileupload — Code & Implementation
2
+
3
+ 📖 [Storybook documentation](https://lucca-front.lucca.io/v{version}/storybook/?path=/docs/documentation-file-fileupload-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-single-file-upload`
40
+
41
+ Component selector : `lu-multi-file-upload`
42
+
43
+ ```js
44
+ import { SingleFileUploadComponent } from '@lucca-front/ng/file-upload';
45
+ import { MultiFileUploadComponent } from '@lucca-front/ng/file-upload';
46
+ ```
47
+
48
+ ```html
49
+ <lu-form-field label="Label">
50
+ <lu-multi-file-upload
51
+ fileMaxSize="5000000"
52
+ [accept]="accept"
53
+ (filePicked)="filePicked($event); fileUploadFeature.uploadFiles([$event])"
54
+ />
55
+ </lu-form-field>
56
+ <lu-file-entry-wrapper>
57
+ @for (fileUpload of fileUploadFeature.fileUploads(); track $index) {
58
+ <lu-file-entry
59
+ [entry]="fileUpload | fileUploadToLFEntry"
60
+ [state]="fileUpload.state"
61
+ [previewUrl]="getPreviewUrl(fileUpload)"
62
+ [inlineMessageError]="fileUpload.error?.detail"
63
+ (deleteFile)="deleteFile(fileUpload)"
64
+ />
65
+ }
66
+ </lu-file-entry-wrapper>
67
+ ```
68
+
69
+ ```html
70
+ @let fileUpload = fileUploadFeature.fileUploads()[0];
71
+ <lu-form-field label="Label">
72
+ @if (fileUpload) {
73
+ <lu-file-entry-wrapper>
74
+ <lu-file-entry
75
+ size="L"
76
+ [entry]="fileUpload | fileUploadToLFEntry"
77
+ [state]="fileUpload.state"
78
+ [previewUrl]="getPreviewUrl(fileUpload)"
79
+ [inlineMessageError]="fileUpload.error?.detail"
80
+ (deleteFile)="deleteFile(fileUpload)"
81
+ />
82
+ </lu-file-entry-wrapper>
83
+ } @else {
84
+ <lu-single-file-upload
85
+ fileMaxSize="5000000"
86
+ [accept]="accept"
87
+ (filePicked)="filePicked($event); fileUploadFeature.uploadFiles([$event])"
88
+ />
89
+ }
90
+ </lu-form-field>
91
+ ```
@@ -0,0 +1,152 @@
1
+ # fileupload — 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.