@lucca-front/ng 22.1.0 → 22.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (628) hide show
  1. package/fesm2022/lucca-front-ng-a11y.mjs +9 -9
  2. package/fesm2022/lucca-front-ng-activity-feed.mjs +19 -15
  3. package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
  4. package/fesm2022/lucca-front-ng-api.mjs +40 -40
  5. package/fesm2022/lucca-front-ng-app-layout.mjs +3 -3
  6. package/fesm2022/lucca-front-ng-approbation-inbox.mjs +74 -53
  7. package/fesm2022/lucca-front-ng-approbation-inbox.mjs.map +1 -1
  8. package/fesm2022/lucca-front-ng-box.mjs +3 -3
  9. package/fesm2022/lucca-front-ng-breadcrumbs.mjs +6 -6
  10. package/fesm2022/lucca-front-ng-bubble-icon.mjs +3 -3
  11. package/fesm2022/lucca-front-ng-bubble-illustration.mjs +7 -7
  12. package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
  13. package/fesm2022/lucca-front-ng-callout.mjs +25 -25
  14. package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
  15. package/fesm2022/lucca-front-ng-chip.mjs +3 -3
  16. package/fesm2022/lucca-front-ng-clear.mjs +3 -3
  17. package/fesm2022/lucca-front-ng-code.mjs +3 -3
  18. package/fesm2022/lucca-front-ng-color.mjs +3 -3
  19. package/fesm2022/lucca-front-ng-comment.mjs +9 -9
  20. package/fesm2022/lucca-front-ng-container.mjs +3 -3
  21. package/fesm2022/lucca-front-ng-core-select-api.mjs +9 -9
  22. package/fesm2022/lucca-front-ng-core-select-department.mjs +8 -6
  23. package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
  24. package/fesm2022/lucca-front-ng-core-select-establishment.mjs +16 -10
  25. package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
  26. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +11 -7
  27. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
  28. package/fesm2022/lucca-front-ng-core-select-legal-units.mjs +6 -6
  29. package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +3 -3
  30. package/fesm2022/lucca-front-ng-core-select-user.mjs +20 -18
  31. package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
  32. package/fesm2022/lucca-front-ng-core-select.mjs +68 -60
  33. package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
  34. package/fesm2022/lucca-front-ng-core.mjs +24 -19
  35. package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
  36. package/fesm2022/lucca-front-ng-data-table.mjs +24 -24
  37. package/fesm2022/lucca-front-ng-date.mjs +44 -40
  38. package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
  39. package/fesm2022/lucca-front-ng-date2.mjs +96 -49
  40. package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
  41. package/fesm2022/lucca-front-ng-department.mjs +28 -26
  42. package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
  43. package/fesm2022/lucca-front-ng-dialog.mjs +42 -39
  44. package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
  45. package/fesm2022/lucca-front-ng-divider.mjs +3 -3
  46. package/fesm2022/lucca-front-ng-dropdown.mjs +42 -41
  47. package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
  48. package/fesm2022/lucca-front-ng-empty-state.mjs +14 -14
  49. package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
  50. package/fesm2022/lucca-front-ng-error-page.mjs +5 -4
  51. package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
  52. package/fesm2022/lucca-front-ng-establishment.mjs +36 -34
  53. package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
  54. package/fesm2022/lucca-front-ng-fancy-box.mjs +5 -4
  55. package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
  56. package/fesm2022/lucca-front-ng-file-upload.mjs +20 -20
  57. package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
  58. package/fesm2022/lucca-front-ng-filter-pills-core.mjs +6 -6
  59. package/fesm2022/lucca-front-ng-filter-pills.mjs +19 -19
  60. package/fesm2022/lucca-front-ng-footer.mjs +3 -3
  61. package/fesm2022/lucca-front-ng-form-field.mjs +24 -20
  62. package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
  63. package/fesm2022/lucca-front-ng-form-header.mjs +3 -3
  64. package/fesm2022/lucca-front-ng-form-label.mjs +3 -3
  65. package/fesm2022/lucca-front-ng-form.mjs +3 -3
  66. package/fesm2022/lucca-front-ng-formly.mjs +58 -58
  67. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +10 -9
  68. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
  69. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs +3 -3
  70. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +6 -6
  71. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +3 -3
  72. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +38 -37
  73. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
  74. package/fesm2022/lucca-front-ng-forms.mjs +50 -40
  75. package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
  76. package/fesm2022/lucca-front-ng-gauge.mjs +3 -3
  77. package/fesm2022/lucca-front-ng-grid.mjs +6 -6
  78. package/fesm2022/lucca-front-ng-highlight-data.mjs +6 -6
  79. package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
  80. package/fesm2022/lucca-front-ng-highlight-section.mjs +8 -5
  81. package/fesm2022/lucca-front-ng-highlight-section.mjs.map +1 -1
  82. package/fesm2022/lucca-front-ng-highlight-text.mjs +3 -3
  83. package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +9 -9
  84. package/fesm2022/lucca-front-ng-impersonation.mjs +5 -3
  85. package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -1
  86. package/fesm2022/lucca-front-ng-index-table.mjs +30 -30
  87. package/fesm2022/lucca-front-ng-inline-message.mjs +3 -3
  88. package/fesm2022/lucca-front-ng-input.mjs +25 -23
  89. package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
  90. package/fesm2022/lucca-front-ng-kbd.mjs +3 -3
  91. package/fesm2022/lucca-front-ng-link.mjs +38 -14
  92. package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
  93. package/fesm2022/lucca-front-ng-listbox.mjs +9 -9
  94. package/fesm2022/lucca-front-ng-listing.mjs +21 -11
  95. package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
  96. package/fesm2022/lucca-front-ng-loading.mjs +3 -3
  97. package/fesm2022/lucca-front-ng-main-layout.mjs +8 -8
  98. package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
  99. package/fesm2022/lucca-front-ng-markdown.mjs +3 -3
  100. package/fesm2022/lucca-front-ng-mobile-push.mjs +6 -5
  101. package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
  102. package/fesm2022/lucca-front-ng-modal.mjs +22 -22
  103. package/fesm2022/lucca-front-ng-multi-select.mjs +45 -44
  104. package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
  105. package/fesm2022/lucca-front-ng-new-badge.mjs +3 -3
  106. package/fesm2022/lucca-front-ng-number-format.mjs +22 -13
  107. package/fesm2022/lucca-front-ng-number-format.mjs.map +1 -1
  108. package/fesm2022/lucca-front-ng-number.mjs +7 -7
  109. package/fesm2022/lucca-front-ng-option.mjs +164 -143
  110. package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
  111. package/fesm2022/lucca-front-ng-page-header.mjs +3 -3
  112. package/fesm2022/lucca-front-ng-pagination.mjs +3 -3
  113. package/fesm2022/lucca-front-ng-plg-push.mjs +6 -5
  114. package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
  115. package/fesm2022/lucca-front-ng-popover.mjs +29 -17
  116. package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
  117. package/fesm2022/lucca-front-ng-popover2.mjs +7 -7
  118. package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
  119. package/fesm2022/lucca-front-ng-popup.mjs +10 -10
  120. package/fesm2022/lucca-front-ng-priority-level.mjs +128 -0
  121. package/fesm2022/lucca-front-ng-priority-level.mjs.map +1 -0
  122. package/fesm2022/lucca-front-ng-progress-bar.mjs +3 -3
  123. package/fesm2022/lucca-front-ng-progress-stepper.mjs +6 -6
  124. package/fesm2022/lucca-front-ng-read-more.mjs +3 -3
  125. package/fesm2022/lucca-front-ng-resource-card.mjs +12 -12
  126. package/fesm2022/lucca-front-ng-safe-content.mjs +10 -10
  127. package/fesm2022/lucca-front-ng-scroll-box.mjs +3 -3
  128. package/fesm2022/lucca-front-ng-scroll.mjs +7 -7
  129. package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +8 -8
  130. package/fesm2022/lucca-front-ng-segmented-control.mjs +8 -8
  131. package/fesm2022/lucca-front-ng-select.mjs +16 -15
  132. package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
  133. package/fesm2022/lucca-front-ng-sidepanel.mjs +9 -8
  134. package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
  135. package/fesm2022/lucca-front-ng-simple-select.mjs +20 -18
  136. package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
  137. package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +6 -6
  138. package/fesm2022/lucca-front-ng-software-icon.mjs +7 -5
  139. package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
  140. package/fesm2022/lucca-front-ng-sortable-list.mjs +6 -6
  141. package/fesm2022/lucca-front-ng-status-badge.mjs +3 -3
  142. package/fesm2022/lucca-front-ng-table-of-content.mjs +6 -6
  143. package/fesm2022/lucca-front-ng-text-flow.mjs +3 -3
  144. package/fesm2022/lucca-front-ng-time.mjs +36 -25
  145. package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
  146. package/fesm2022/lucca-front-ng-title.mjs +10 -10
  147. package/fesm2022/lucca-front-ng-toast.mjs +10 -10
  148. package/fesm2022/lucca-front-ng-tree-select.mjs +7 -7
  149. package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
  150. package/fesm2022/lucca-front-ng-user-popover.mjs +19 -19
  151. package/fesm2022/lucca-front-ng-user.mjs +71 -62
  152. package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
  153. package/fesm2022/lucca-front-ng-vertical-navigation.mjs +12 -12
  154. package/llms/SKILL.md +233 -0
  155. package/llms/references/components/activity-feed/activity-feed.component.md +339 -0
  156. package/llms/references/components/activity-feed/activity-feed.design.md +145 -0
  157. package/llms/references/components/activity-feed/activity-feed.md +129 -0
  158. package/llms/references/components/animations/animations.component.md +11 -0
  159. package/llms/references/components/animations/animations.md +7 -0
  160. package/llms/references/components/api-select/api-select.md +40 -0
  161. package/llms/references/components/app-layout/app-layout.component.md +65 -0
  162. package/llms/references/components/app-layout/app-layout.design.md +61 -0
  163. package/llms/references/components/app-layout/app-layout.md +80 -0
  164. package/llms/references/components/approbation-inbox/approbation-inbox.component.md +1062 -0
  165. package/llms/references/components/approbation-inbox/approbation-inbox.design.md +162 -0
  166. package/llms/references/components/approbation-inbox/approbation-inbox.md +177 -0
  167. package/llms/references/components/avatar/avatar.component.md +571 -0
  168. package/llms/references/components/avatar/avatar.md +97 -0
  169. package/llms/references/components/box/box.component.md +155 -0
  170. package/llms/references/components/box/box.md +98 -0
  171. package/llms/references/components/breadcrumbs/breadcrumbs.component.md +60 -0
  172. package/llms/references/components/breadcrumbs/breadcrumbs.design.md +11 -0
  173. package/llms/references/components/breadcrumbs/breadcrumbs.md +96 -0
  174. package/llms/references/components/bubble-icon/bubble-icon.component.md +56 -0
  175. package/llms/references/components/bubble-icon/bubble-icon.design.md +47 -0
  176. package/llms/references/components/bubble-icon/bubble-icon.md +83 -0
  177. package/llms/references/components/bubble-illustration/bubble-illustration.component.md +54 -0
  178. package/llms/references/components/bubble-illustration/bubble-illustration.design.md +69 -0
  179. package/llms/references/components/bubble-illustration/bubble-illustration.md +76 -0
  180. package/llms/references/components/button/button.component.md +275 -0
  181. package/llms/references/components/button/button.design.md +322 -0
  182. package/llms/references/components/button/button.md +134 -0
  183. package/llms/references/components/calendar/calendar.component.md +750 -0
  184. package/llms/references/components/calendar/calendar.design.md +43 -0
  185. package/llms/references/components/calendar/calendar.md +127 -0
  186. package/llms/references/components/calendar2/calendar2.md +74 -0
  187. package/llms/references/components/callout/callout.component.md +254 -0
  188. package/llms/references/components/callout/callout.design.md +197 -0
  189. package/llms/references/components/callout/callout.md +259 -0
  190. package/llms/references/components/callout-disclosure/callout-disclosure.component.md +240 -0
  191. package/llms/references/components/callout-disclosure/callout-disclosure.design.md +197 -0
  192. package/llms/references/components/callout-disclosure/callout-disclosure.md +207 -0
  193. package/llms/references/components/callout-popover/callout-popover.component.md +182 -0
  194. package/llms/references/components/callout-popover/callout-popover.design.md +197 -0
  195. package/llms/references/components/callout-popover/callout-popover.md +212 -0
  196. package/llms/references/components/card/card.component.md +62 -0
  197. package/llms/references/components/card/card.design.md +36 -0
  198. package/llms/references/components/card/card.md +7 -0
  199. package/llms/references/components/checkbox/checkbox.component.md +50 -0
  200. package/llms/references/components/checkbox/checkbox.design.md +196 -0
  201. package/llms/references/components/checkbox/checkbox.md +73 -0
  202. package/llms/references/components/chip/chip.component.md +145 -0
  203. package/llms/references/components/chip/chip.md +118 -0
  204. package/llms/references/components/clear/clear.component.md +38 -0
  205. package/llms/references/components/clear/clear.design.md +36 -0
  206. package/llms/references/components/clear/clear.md +88 -0
  207. package/llms/references/components/code/code.component.md +33 -0
  208. package/llms/references/components/code/code.md +47 -0
  209. package/llms/references/components/color/color.md +32 -0
  210. package/llms/references/components/color-input/color-input.md +43 -0
  211. package/llms/references/components/color-picker/color-picker.component.md +29 -0
  212. package/llms/references/components/color-picker/color-picker.design.md +42 -0
  213. package/llms/references/components/color-picker/color-picker.md +24 -0
  214. package/llms/references/components/comment/comment.component.md +451 -0
  215. package/llms/references/components/comment/comment.design.md +67 -0
  216. package/llms/references/components/comment/comment.md +137 -0
  217. package/llms/references/components/container/container.component.md +41 -0
  218. package/llms/references/components/container/container.md +74 -0
  219. package/llms/references/components/core-select-department/core-select-department.md +42 -0
  220. package/llms/references/components/core-select-establishment/core-select-establishment.md +45 -0
  221. package/llms/references/components/core-select-job-qualification/core-select-job-qualification.md +25 -0
  222. package/llms/references/components/core-select-occupation-category/core-select-occupation-category.md +25 -0
  223. package/llms/references/components/core-select-user/core-select-user.md +81 -0
  224. package/llms/references/components/data-presentation/data-presentation.component.md +47 -0
  225. package/llms/references/components/data-presentation/data-presentation.md +48 -0
  226. package/llms/references/components/data-table/data-table.component.md +1649 -0
  227. package/llms/references/components/data-table/data-table.design.md +159 -0
  228. package/llms/references/components/data-table/data-table.md +338 -0
  229. package/llms/references/components/date/date.component.md +31 -0
  230. package/llms/references/components/date/date.md +164 -0
  231. package/llms/references/components/dateinput/dateinput.component.md +127 -0
  232. package/llms/references/components/dateinput/dateinput.design.md +80 -0
  233. package/llms/references/components/dateinput/dateinput.md +224 -0
  234. package/llms/references/components/daterangeinput/daterangeinput.component.md +64 -0
  235. package/llms/references/components/daterangeinput/daterangeinput.design.md +76 -0
  236. package/llms/references/components/daterangeinput/daterangeinput.md +210 -0
  237. package/llms/references/components/departmentselect/departmentselect.component.md +44 -0
  238. package/llms/references/components/departmentselect/departmentselect.md +43 -0
  239. package/llms/references/components/dialog/dialog.component.md +475 -0
  240. package/llms/references/components/dialog/dialog.design.md +139 -0
  241. package/llms/references/components/dialog/dialog.md +357 -0
  242. package/llms/references/components/divider/divider.component.md +35 -0
  243. package/llms/references/components/divider/divider.md +87 -0
  244. package/llms/references/components/dropdown/dropdown.component.md +315 -0
  245. package/llms/references/components/dropdown/dropdown.md +189 -0
  246. package/llms/references/components/duration-picker/duration-picker.design.md +124 -0
  247. package/llms/references/components/duration-picker/duration-picker.md +165 -0
  248. package/llms/references/components/empty-state/empty-state.component.md +238 -0
  249. package/llms/references/components/empty-state/empty-state.design.md +124 -0
  250. package/llms/references/components/empty-state/empty-state.md +61 -0
  251. package/llms/references/components/errorpage/errorpage.component.md +57 -0
  252. package/llms/references/components/errorpage/errorpage.md +75 -0
  253. package/llms/references/components/establishmentselect/establishmentselect.component.md +31 -0
  254. package/llms/references/components/establishmentselect/establishmentselect.md +42 -0
  255. package/llms/references/components/fancy-dialog/fancy-dialog.component.md +9 -0
  256. package/llms/references/components/fancy-dialog/fancy-dialog.design.md +93 -0
  257. package/llms/references/components/fancy-dialog/fancy-dialog.md +128 -0
  258. package/llms/references/components/fancybox/fancybox.component.md +218 -0
  259. package/llms/references/components/fancybox/fancybox.design.md +72 -0
  260. package/llms/references/components/fancybox/fancybox.md +90 -0
  261. package/llms/references/components/fieldset/fieldset.component.md +86 -0
  262. package/llms/references/components/fieldset/fieldset.md +129 -0
  263. package/llms/references/components/filedropzone/filedropzone.component.md +16 -0
  264. package/llms/references/components/filedropzone/filedropzone.md +71 -0
  265. package/llms/references/components/fileentry/fileentry.component.md +56 -0
  266. package/llms/references/components/fileentry/fileentry.design.md +152 -0
  267. package/llms/references/components/fileentry/fileentry.md +272 -0
  268. package/llms/references/components/fileupload/fileupload.component.md +91 -0
  269. package/llms/references/components/fileupload/fileupload.design.md +152 -0
  270. package/llms/references/components/fileupload/fileupload.md +275 -0
  271. package/llms/references/components/filterbar/filterbar.component.md +299 -0
  272. package/llms/references/components/filterbar/filterbar.design.md +92 -0
  273. package/llms/references/components/filterbar/filterbar.md +168 -0
  274. package/llms/references/components/filterpills/filterpills.component.md +65 -0
  275. package/llms/references/components/filterpills/filterpills.design.md +60 -0
  276. package/llms/references/components/filterpills/filterpills.md +214 -0
  277. package/llms/references/components/footer/footer.component.md +66 -0
  278. package/llms/references/components/footer/footer.design.md +176 -0
  279. package/llms/references/components/footer/footer.md +125 -0
  280. package/llms/references/components/form/form.md +42 -0
  281. package/llms/references/components/form-field/form-field.component.md +46 -0
  282. package/llms/references/components/form-field/form-field.md +252 -0
  283. package/llms/references/components/form-header/form-header.md +29 -0
  284. package/llms/references/components/form-label/form-label.component.md +116 -0
  285. package/llms/references/components/form-label/form-label.md +121 -0
  286. package/llms/references/components/gauge/gauge.component.md +55 -0
  287. package/llms/references/components/gauge/gauge.md +72 -0
  288. package/llms/references/components/grid/grid.component.md +15 -0
  289. package/llms/references/components/grid/grid.md +124 -0
  290. package/llms/references/components/highlight-data/highlight-data.component.md +294 -0
  291. package/llms/references/components/highlight-data/highlight-data.design.md +97 -0
  292. package/llms/references/components/highlight-data/highlight-data.md +126 -0
  293. package/llms/references/components/highlight-section/highlight-section.component.md +195 -0
  294. package/llms/references/components/highlight-section/highlight-section.md +53 -0
  295. package/llms/references/components/highlight-text/highlight-text.component.md +53 -0
  296. package/llms/references/components/highlight-text/highlight-text.md +29 -0
  297. package/llms/references/components/horizontalnavigation/horizontalnavigation.component.md +247 -0
  298. package/llms/references/components/horizontalnavigation/horizontalnavigation.md +94 -0
  299. package/llms/references/components/icons/icons.component.md +59 -0
  300. package/llms/references/components/icons/icons.design.md +141 -0
  301. package/llms/references/components/icons/icons.md +195 -0
  302. package/llms/references/components/impersonation/impersonation.component.md +83 -0
  303. package/llms/references/components/impersonation/impersonation.design.md +58 -0
  304. package/llms/references/components/impersonation/impersonation.md +97 -0
  305. package/llms/references/components/index-table/index-table.component.md +2573 -0
  306. package/llms/references/components/index-table/index-table.design.md +250 -0
  307. package/llms/references/components/index-table/index-table.md +278 -0
  308. package/llms/references/components/inlinemessage/inlinemessage.component.md +58 -0
  309. package/llms/references/components/inlinemessage/inlinemessage.md +56 -0
  310. package/llms/references/components/input-framed/input-framed.component.md +731 -0
  311. package/llms/references/components/input-framed/input-framed.design.md +94 -0
  312. package/llms/references/components/input-framed/input-framed.md +49 -0
  313. package/llms/references/components/kbd/kbd.component.md +48 -0
  314. package/llms/references/components/kbd/kbd.md +40 -0
  315. package/llms/references/components/link/link.component.md +162 -0
  316. package/llms/references/components/link/link.design.md +48 -0
  317. package/llms/references/components/link/link.md +148 -0
  318. package/llms/references/components/listbox/listbox.component.md +11 -0
  319. package/llms/references/components/listbox/listbox.md +114 -0
  320. package/llms/references/components/listing/listing.component.md +416 -0
  321. package/llms/references/components/listing/listing.design.md +31 -0
  322. package/llms/references/components/listing/listing.md +124 -0
  323. package/llms/references/components/loading/loading.component.md +37 -0
  324. package/llms/references/components/loading/loading.design.md +32 -0
  325. package/llms/references/components/loading/loading.md +116 -0
  326. package/llms/references/components/main-layout/main-layout.component.md +157 -0
  327. package/llms/references/components/main-layout/main-layout.md +78 -0
  328. package/llms/references/components/markdown/markdown.component.md +15 -0
  329. package/llms/references/components/markdown/markdown.md +40 -0
  330. package/llms/references/components/mobile-push/mobile-push.component.md +67 -0
  331. package/llms/references/components/mobile-push/mobile-push.md +79 -0
  332. package/llms/references/components/mobileheader/mobileheader.component.md +31 -0
  333. package/llms/references/components/mobileheader/mobileheader.design.md +15 -0
  334. package/llms/references/components/mobileheader/mobileheader.md +7 -0
  335. package/llms/references/components/mobilenavigation/mobilenavigation.component.md +43 -0
  336. package/llms/references/components/mobilenavigation/mobilenavigation.design.md +9 -0
  337. package/llms/references/components/mobilenavigation/mobilenavigation.md +7 -0
  338. package/llms/references/components/modal/modal.component.md +37 -0
  339. package/llms/references/components/modal/modal.design.md +163 -0
  340. package/llms/references/components/modal/modal.md +60 -0
  341. package/llms/references/components/multi-select/multi-select.component.md +43 -0
  342. package/llms/references/components/multi-select/multi-select.design.md +346 -0
  343. package/llms/references/components/multi-select/multi-select.md +444 -0
  344. package/llms/references/components/multilanguagefield/multilanguagefield.component.md +83 -0
  345. package/llms/references/components/multilanguagefield/multilanguagefield.design.md +78 -0
  346. package/llms/references/components/multilanguagefield/multilanguagefield.md +383 -0
  347. package/llms/references/components/newbadge/newbadge.component.md +23 -0
  348. package/llms/references/components/newbadge/newbadge.design.md +25 -0
  349. package/llms/references/components/newbadge/newbadge.md +37 -0
  350. package/llms/references/components/number-format-input/number-format-input.md +63 -0
  351. package/llms/references/components/number-input/number-input.md +54 -0
  352. package/llms/references/components/numbers/numbers.component.md +46 -0
  353. package/llms/references/components/numbers/numbers.md +7 -0
  354. package/llms/references/components/numericbadge/numericbadge.component.md +66 -0
  355. package/llms/references/components/numericbadge/numericbadge.md +83 -0
  356. package/llms/references/components/onboarding-empty-state/onboarding-empty-state.design.md +124 -0
  357. package/llms/references/components/onboarding-empty-state/onboarding-empty-state.md +47 -0
  358. package/llms/references/components/pageheader/pageheader.component.md +401 -0
  359. package/llms/references/components/pageheader/pageheader.design.md +13 -0
  360. package/llms/references/components/pageheader/pageheader.md +154 -0
  361. package/llms/references/components/pagination/pagination.component.md +112 -0
  362. package/llms/references/components/pagination/pagination.md +128 -0
  363. package/llms/references/components/phonenumberfield/phonenumberfield.component.md +33 -0
  364. package/llms/references/components/phonenumberfield/phonenumberfield.design.md +59 -0
  365. package/llms/references/components/phonenumberfield/phonenumberfield.md +141 -0
  366. package/llms/references/components/plg-push/plg-push.component.md +91 -0
  367. package/llms/references/components/plg-push/plg-push.design.md +87 -0
  368. package/llms/references/components/plg-push/plg-push.md +91 -0
  369. package/llms/references/components/popover/popover.component.md +149 -0
  370. package/llms/references/components/popover/popover.md +253 -0
  371. package/llms/references/components/popover2/popover2.component.md +110 -0
  372. package/llms/references/components/popover2/popover2.md +95 -0
  373. package/llms/references/components/priority-level/priority-level.component.md +63 -0
  374. package/llms/references/components/priority-level/priority-level.design.md +79 -0
  375. package/llms/references/components/priority-level/priority-level.md +36 -0
  376. package/llms/references/components/progress-bar/progress-bar.component.md +33 -0
  377. package/llms/references/components/progress-bar/progress-bar.design.md +15 -0
  378. package/llms/references/components/progress-bar/progress-bar.md +50 -0
  379. package/llms/references/components/progress-stepper/progress-stepper.component.md +375 -0
  380. package/llms/references/components/progress-stepper/progress-stepper.design.md +54 -0
  381. package/llms/references/components/progress-stepper/progress-stepper.md +69 -0
  382. package/llms/references/components/radiofield/radiofield.component.md +307 -0
  383. package/llms/references/components/radiofield/radiofield.design.md +148 -0
  384. package/llms/references/components/radiofield/radiofield.md +132 -0
  385. package/llms/references/components/readmore/readmore.component.md +60 -0
  386. package/llms/references/components/readmore/readmore.md +97 -0
  387. package/llms/references/components/resource-card/resource-card.component.md +225 -0
  388. package/llms/references/components/resource-card/resource-card.md +118 -0
  389. package/llms/references/components/richtextinput/richtextinput.component.md +308 -0
  390. package/llms/references/components/richtextinput/richtextinput.design.md +83 -0
  391. package/llms/references/components/richtextinput/richtextinput.md +300 -0
  392. package/llms/references/components/scroll/scroll.md +45 -0
  393. package/llms/references/components/scrollbox/scrollbox.component.md +63 -0
  394. package/llms/references/components/scrollbox/scrollbox.design.md +11 -0
  395. package/llms/references/components/scrollbox/scrollbox.md +48 -0
  396. package/llms/references/components/section-empty-state/section-empty-state.component.md +9 -0
  397. package/llms/references/components/section-empty-state/section-empty-state.design.md +67 -0
  398. package/llms/references/components/section-empty-state/section-empty-state.md +41 -0
  399. package/llms/references/components/segmented-control-tabs/segmented-control-tabs.md +68 -0
  400. package/llms/references/components/segmentedcontrol/segmentedcontrol.component.md +208 -0
  401. package/llms/references/components/segmentedcontrol/segmentedcontrol.md +125 -0
  402. package/llms/references/components/select/select.component.md +247 -0
  403. package/llms/references/components/select/select.md +57 -0
  404. package/llms/references/components/select-templating/select-templating.md +141 -0
  405. package/llms/references/components/sidepanel/sidepanel.component.md +56 -0
  406. package/llms/references/components/sidepanel/sidepanel.md +7 -0
  407. package/llms/references/components/simple-select/simple-select.component.md +45 -0
  408. package/llms/references/components/simple-select/simple-select.design.md +353 -0
  409. package/llms/references/components/simple-select/simple-select.md +302 -0
  410. package/llms/references/components/skeleton/skeleton.component.md +145 -0
  411. package/llms/references/components/skeleton/skeleton.design.md +82 -0
  412. package/llms/references/components/skeleton/skeleton.md +230 -0
  413. package/llms/references/components/skiplinks/skiplinks.component.md +91 -0
  414. package/llms/references/components/skiplinks/skiplinks.md +73 -0
  415. package/llms/references/components/software-icon/software-icon.component.md +61 -0
  416. package/llms/references/components/software-icon/software-icon.design.md +23 -0
  417. package/llms/references/components/software-icon/software-icon.md +118 -0
  418. package/llms/references/components/sortable-list/sortable-list.component.md +150 -0
  419. package/llms/references/components/sortable-list/sortable-list.md +83 -0
  420. package/llms/references/components/statusbadge/statusbadge.component.md +56 -0
  421. package/llms/references/components/statusbadge/statusbadge.design.md +58 -0
  422. package/llms/references/components/statusbadge/statusbadge.md +62 -0
  423. package/llms/references/components/switchfield/switchfield.component.md +124 -0
  424. package/llms/references/components/switchfield/switchfield.md +55 -0
  425. package/llms/references/components/tableofcontent/tableofcontent.component.md +55 -0
  426. package/llms/references/components/tableofcontent/tableofcontent.md +41 -0
  427. package/llms/references/components/tags/tags.component.md +153 -0
  428. package/llms/references/components/tags/tags.design.md +84 -0
  429. package/llms/references/components/tags/tags.md +132 -0
  430. package/llms/references/components/text-flow/text-flow.component.md +71 -0
  431. package/llms/references/components/text-flow/text-flow.design.md +42 -0
  432. package/llms/references/components/text-flow/text-flow.md +62 -0
  433. package/llms/references/components/textareafield/textareafield.component.md +57 -0
  434. package/llms/references/components/textareafield/textareafield.design.md +94 -0
  435. package/llms/references/components/textareafield/textareafield.md +122 -0
  436. package/llms/references/components/textfield/textfield.component.md +610 -0
  437. package/llms/references/components/textfield/textfield.design.md +148 -0
  438. package/llms/references/components/textfield/textfield.md +178 -0
  439. package/llms/references/components/tile/tile.component.md +91 -0
  440. package/llms/references/components/tile/tile.md +91 -0
  441. package/llms/references/components/time/time.component.md +275 -0
  442. package/llms/references/components/time/time.md +140 -0
  443. package/llms/references/components/time-picker/time-picker.design.md +124 -0
  444. package/llms/references/components/time-picker/time-picker.md +169 -0
  445. package/llms/references/components/time-range-picker/time-range-picker.component.md +5 -0
  446. package/llms/references/components/time-range-picker/time-range-picker.design.md +57 -0
  447. package/llms/references/components/time-range-picker/time-range-picker.md +46 -0
  448. package/llms/references/components/timelines/timelines.component.md +168 -0
  449. package/llms/references/components/timelines/timelines.design.md +21 -0
  450. package/llms/references/components/timelines/timelines.md +7 -0
  451. package/llms/references/components/title-and-text/title-and-text.component.md +14 -0
  452. package/llms/references/components/title-and-text/title-and-text.design.md +57 -0
  453. package/llms/references/components/title-and-text/title-and-text.md +60 -0
  454. package/llms/references/components/toasts/toasts.component.md +54 -0
  455. package/llms/references/components/toasts/toasts.design.md +76 -0
  456. package/llms/references/components/toasts/toasts.md +124 -0
  457. package/llms/references/components/tooltip/tooltip.component.md +83 -0
  458. package/llms/references/components/tooltip/tooltip.design.md +68 -0
  459. package/llms/references/components/tooltip/tooltip.md +246 -0
  460. package/llms/references/components/treeselect/treeselect.component.md +62 -0
  461. package/llms/references/components/treeselect/treeselect.md +58 -0
  462. package/llms/references/components/user-select/user-select.md +52 -0
  463. package/llms/references/components/userpopover/userpopover.component.md +51 -0
  464. package/llms/references/components/userpopover/userpopover.design.md +74 -0
  465. package/llms/references/components/userpopover/userpopover.md +155 -0
  466. package/llms/references/components/verticalnavigation/verticalnavigation.component.md +247 -0
  467. package/llms/references/components/verticalnavigation/verticalnavigation.md +128 -0
  468. package/llms/references/documentation/content/accessibilite-contenu.md +147 -0
  469. package/llms/references/documentation/content/blocage-contenu.md +49 -0
  470. package/llms/references/documentation/content/criteres-essentiels.md +54 -0
  471. package/llms/references/documentation/content/dates.md +76 -0
  472. package/llms/references/documentation/content/grammaire-orthographe.md +118 -0
  473. package/llms/references/documentation/content/infinitif-imperatif.md +21 -0
  474. package/llms/references/documentation/content/jargon.md +30 -0
  475. package/llms/references/documentation/content/messages-erreur.md +279 -0
  476. package/llms/references/documentation/content/nombres.md +127 -0
  477. package/llms/references/documentation/content/ponctuation-typographie.md +343 -0
  478. package/llms/references/documentation/content/possessifs-pronoms.md +48 -0
  479. package/llms/references/documentation/content/ressources-definitions.md +58 -0
  480. package/llms/references/documentation/content/singulier-pluriel.md +72 -0
  481. package/llms/references/documentation/content/tester-clarte.md +141 -0
  482. package/llms/references/documentation/content/verbes-action.md +99 -0
  483. package/llms/references/documentation/content/voix-humaine.md +79 -0
  484. package/llms/references/documentation/deprecated/deprecated.md +151 -0
  485. package/llms/references/documentation/guidelines/guidelines-dev-ui.md +375 -0
  486. package/llms/references/documentation/patterns/actions-suppression.md +42 -0
  487. package/llms/references/documentation/patterns/aide-contextuelle.md +29 -0
  488. package/llms/references/documentation/patterns/card-et-box.md +56 -0
  489. package/llms/references/documentation/patterns/champs-conditionnels.md +38 -0
  490. package/llms/references/documentation/patterns/champs-effacables.md +34 -0
  491. package/llms/references/documentation/patterns/conception-formulaire.md +144 -0
  492. package/llms/references/documentation/patterns/cycle-vie-ressource.md +36 -0
  493. package/llms/references/documentation/patterns/dialogs-confirmation.md +160 -0
  494. package/llms/references/documentation/patterns/donnee-logiciel.md +66 -0
  495. package/llms/references/documentation/patterns/emails.md +99 -0
  496. package/llms/references/documentation/patterns/etats-chargement.md +90 -0
  497. package/llms/references/documentation/patterns/feedback.md +111 -0
  498. package/llms/references/documentation/patterns/gestion-erreurs-formulaire.md +48 -0
  499. package/llms/references/documentation/patterns/identification-pages.md +224 -0
  500. package/llms/references/documentation/patterns/metadonnees.md +79 -0
  501. package/llms/references/documentation/patterns/modes-affichage.md +51 -0
  502. package/llms/references/documentation/patterns/navigation-mobile.md +222 -0
  503. package/llms/references/documentation/patterns/niveaux-navigation.md +207 -0
  504. package/llms/references/documentation/patterns/parcours-creation-ressource-sans-diffusion.md +184 -0
  505. package/llms/references/documentation/patterns/parcours-creation-ressource.md +184 -0
  506. package/llms/references/documentation/patterns/pattern-ia.md +128 -0
  507. package/llms/references/documentation/patterns/placeholders.md +68 -0
  508. package/llms/references/documentation/patterns/push-notification-mobile.md +46 -0
  509. package/llms/references/documentation/patterns/quitter-formulaire.md +27 -0
  510. package/llms/references/documentation/patterns/regles-or.md +93 -0
  511. package/llms/references/documentation/patterns/responsive-design.md +119 -0
  512. package/llms/references/documentation/patterns/selection-population.md +135 -0
  513. package/llms/references/documentation/patterns/structure-accordeon.md +42 -0
  514. package/llms/references/documentation/patterns/traduction-formulaire.md +136 -0
  515. package/llms/references/documentation/patterns/vues-filtres-navigation.md +86 -0
  516. package/llms/references/documentation/patterns/widgets.md +64 -0
  517. package/llms/references/documentation/tokens/arrondis.md +65 -0
  518. package/llms/references/documentation/tokens/couleurs.md +560 -0
  519. package/llms/references/documentation/tokens/design-tokens.md +47 -0
  520. package/llms/references/documentation/tokens/elevations.md +78 -0
  521. package/llms/references/documentation/tokens/espacements.md +22 -0
  522. package/llms/references/documentation/tokens/noms-de-logiciels.md +81 -0
  523. package/llms/references/documentation/tokens/typographie.md +261 -0
  524. package/llms/references/migrations.md +31 -0
  525. package/llms/references/tools/angular-api.md +407 -0
  526. package/llms/references/tools/animations.md +177 -0
  527. package/llms/references/tools/mixins.md +119 -0
  528. package/llms/references/tools/numbers.md +81 -0
  529. package/llms/references/tools/scrollbox.md +11 -0
  530. package/llms/references/tools/utilitaires.md +998 -0
  531. package/llms/references/types/BubbleIllustration.md +5 -0
  532. package/llms/references/types/DecorativePalette.md +5 -0
  533. package/llms/references/types/Gap.md +5 -0
  534. package/llms/references/types/HighlightDataIllustration.md +5 -0
  535. package/llms/references/types/HighlightSectionIllustration.md +5 -0
  536. package/llms/references/types/LuccaIcon.md +5 -0
  537. package/llms/references/types/MainLayoutIllustrationEndStart.md +5 -0
  538. package/llms/references/types/MainLayoutIllustrationStartEnd.md +5 -0
  539. package/llms.txt +230 -0
  540. package/package.json +11 -8
  541. package/schematics/color-text/index.js +0 -1
  542. package/schematics/lu-button/migration.js +59 -33
  543. package/src/components/_sidepanel.scss +2 -2
  544. package/src/components/cdk/_global.scss +4 -0
  545. package/src/components/cdk/_overlay.scss +1 -1
  546. package/types/lucca-front-ng-activity-feed.d.ts +13 -9
  547. package/types/lucca-front-ng-api.d.ts +28 -28
  548. package/types/lucca-front-ng-approbation-inbox.d.ts +19 -11
  549. package/types/lucca-front-ng-bubble-icon.d.ts +1 -1
  550. package/types/lucca-front-ng-bubble-illustration.d.ts +6 -2
  551. package/types/lucca-front-ng-callout.d.ts +17 -17
  552. package/types/lucca-front-ng-chip.d.ts +6 -6
  553. package/types/lucca-front-ng-clear.d.ts +1 -1
  554. package/types/lucca-front-ng-color.d.ts +3 -3
  555. package/types/lucca-front-ng-comment.d.ts +11 -11
  556. package/types/lucca-front-ng-container.d.ts +1 -1
  557. package/types/lucca-front-ng-core-select-api.d.ts +7 -7
  558. package/types/lucca-front-ng-core-select-department.d.ts +7 -5
  559. package/types/lucca-front-ng-core-select-establishment.d.ts +7 -5
  560. package/types/lucca-front-ng-core-select-job-qualification.d.ts +2 -2
  561. package/types/lucca-front-ng-core-select-legal-units.d.ts +3 -3
  562. package/types/lucca-front-ng-core-select-occupation-category.d.ts +2 -2
  563. package/types/lucca-front-ng-core-select-user.d.ts +14 -12
  564. package/types/lucca-front-ng-core-select.d.ts +44 -39
  565. package/types/lucca-front-ng-core.d.ts +8 -3
  566. package/types/lucca-front-ng-data-table.d.ts +33 -33
  567. package/types/lucca-front-ng-date.d.ts +15 -11
  568. package/types/lucca-front-ng-date2.d.ts +52 -37
  569. package/types/lucca-front-ng-department.d.ts +4 -2
  570. package/types/lucca-front-ng-dialog.d.ts +8 -8
  571. package/types/lucca-front-ng-divider.d.ts +2 -2
  572. package/types/lucca-front-ng-dropdown.d.ts +4 -3
  573. package/types/lucca-front-ng-empty-state.d.ts +20 -20
  574. package/types/lucca-front-ng-establishment.d.ts +16 -14
  575. package/types/lucca-front-ng-fancy-box.d.ts +12 -12
  576. package/types/lucca-front-ng-file-upload.d.ts +13 -13
  577. package/types/lucca-front-ng-filter-pills.d.ts +17 -17
  578. package/types/lucca-front-ng-footer.d.ts +1 -1
  579. package/types/lucca-front-ng-form-field.d.ts +19 -19
  580. package/types/lucca-front-ng-form-label.d.ts +4 -4
  581. package/types/lucca-front-ng-form.d.ts +1 -1
  582. package/types/lucca-front-ng-forms-phone-number-input.d.ts +12 -11
  583. package/types/lucca-front-ng-forms-rich-text-input.d.ts +11 -11
  584. package/types/lucca-front-ng-forms.d.ts +61 -51
  585. package/types/lucca-front-ng-grid.d.ts +23 -23
  586. package/types/lucca-front-ng-highlight-data.d.ts +5 -5
  587. package/types/lucca-front-ng-highlight-section.d.ts +6 -3
  588. package/types/lucca-front-ng-horizontal-navigation.d.ts +4 -4
  589. package/types/lucca-front-ng-impersonation.d.ts +8 -6
  590. package/types/lucca-front-ng-index-table.d.ts +18 -18
  591. package/types/lucca-front-ng-inline-message.d.ts +2 -2
  592. package/types/lucca-front-ng-input.d.ts +4 -2
  593. package/types/lucca-front-ng-link.d.ts +17 -4
  594. package/types/lucca-front-ng-listbox.d.ts +9 -9
  595. package/types/lucca-front-ng-listing.d.ts +14 -3
  596. package/types/lucca-front-ng-loading.d.ts +4 -4
  597. package/types/lucca-front-ng-main-layout.d.ts +9 -9
  598. package/types/lucca-front-ng-mobile-push.d.ts +1 -0
  599. package/types/lucca-front-ng-modal.d.ts +2 -2
  600. package/types/lucca-front-ng-multi-select.d.ts +20 -20
  601. package/types/lucca-front-ng-option.d.ts +41 -20
  602. package/types/lucca-front-ng-page-header.d.ts +2 -2
  603. package/types/lucca-front-ng-pagination.d.ts +3 -3
  604. package/types/lucca-front-ng-plg-push.d.ts +1 -0
  605. package/types/lucca-front-ng-popover.d.ts +30 -18
  606. package/types/lucca-front-ng-popover2.d.ts +8 -8
  607. package/types/lucca-front-ng-popup.d.ts +2 -2
  608. package/types/{lucca-front-ng-priority-levels.d.ts → lucca-front-ng-priority-level.d.ts} +11 -11
  609. package/types/lucca-front-ng-progress-bar.d.ts +1 -1
  610. package/types/lucca-front-ng-progress-stepper.d.ts +2 -2
  611. package/types/lucca-front-ng-read-more.d.ts +4 -4
  612. package/types/lucca-front-ng-resource-card.d.ts +3 -3
  613. package/types/lucca-front-ng-segmented-control-tabs.d.ts +5 -5
  614. package/types/lucca-front-ng-segmented-control.d.ts +3 -3
  615. package/types/lucca-front-ng-select.d.ts +11 -10
  616. package/types/lucca-front-ng-sidepanel.d.ts +2 -1
  617. package/types/lucca-front-ng-simple-select.d.ts +9 -8
  618. package/types/lucca-front-ng-software-icon.d.ts +3 -3
  619. package/types/lucca-front-ng-sortable-list.d.ts +1 -1
  620. package/types/lucca-front-ng-status-badge.d.ts +1 -1
  621. package/types/lucca-front-ng-time.d.ts +21 -20
  622. package/types/lucca-front-ng-toast.d.ts +1 -1
  623. package/types/lucca-front-ng-tree-select.d.ts +2 -2
  624. package/types/lucca-front-ng-user-popover.d.ts +1 -1
  625. package/types/lucca-front-ng-user.d.ts +29 -21
  626. package/types/lucca-front-ng-vertical-navigation.d.ts +5 -5
  627. package/fesm2022/lucca-front-ng-priority-levels.mjs +0 -128
  628. package/fesm2022/lucca-front-ng-priority-levels.mjs.map +0 -1
@@ -40,7 +40,8 @@ const LU_CLEARER_TRANSLATIONS = new InjectionToken('LuClearerTranslations', {
40
40
  const luClearerTranslations = Translations;
41
41
 
42
42
  /**
43
- * @deprecated use `ClearComponent` instead
43
+ * @deprecated since 21.0.0; use ClearComponent.
44
+ * @see https://prisme.lucca.io/94310e217/p/717b6d-select-deprecated
44
45
  */
45
46
  class LuInputClearerComponent extends ALuClearer {
46
47
  constructor() {
@@ -55,15 +56,15 @@ class LuInputClearerComponent extends ALuClearer {
55
56
  $event.preventDefault();
56
57
  $event.stopPropagation();
57
58
  }
58
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuInputClearerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
59
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.1", type: LuInputClearerComponent, isStandalone: true, selector: "lu-input-clearer", inputs: { intl: { classPropertyName: "intl", publicName: "intl", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClear: "onClear" }, providers: [
59
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LuInputClearerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
60
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.3", type: LuInputClearerComponent, isStandalone: true, selector: "lu-input-clearer", inputs: { intl: { classPropertyName: "intl", publicName: "intl", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClear: "onClear" }, providers: [
60
61
  {
61
62
  provide: ALuClearer,
62
63
  useExisting: forwardRef(() => LuInputClearerComponent),
63
64
  },
64
65
  ], exportAs: ["luClearer"], usesInheritance: true, ngImport: i0, template: "<a href=\"#\" role=\"button\" class=\"clear\" (click)=\"onClick($event)\">\n\t<span class=\"pr-u-mask\">{{ intl().clear }}</span>\n</a>\n", styles: ["@layer base{:root{--components-options-item-padding-vertical: var(--pr-t-spacings-50);--components-options-item-padding-horizontal: var(--pr-t-spacings-100);--components-options-item-multiple-padding: 2.25rem;--components-options-item-icon-color: var(--palettes-neutral-800);--components-options-checkbox-size: 1.25rem;--components-options-checkbox-color: var(--palettes-700, var(--palettes-product-700));--components-options-checkbox-border-radius: var(--pr-t-border-radius-small);--components-options-checkbox-border-color: var(--palettes-neutral-700);--components-options-establishment-multiple-padding: 2rem}}@layer reset,base,components,mods,product,utils;@layer components{:host{display:none}}@layer mods{:host-context(.textfield-input.is-filled){display:block}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]){display:none}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
65
66
  }
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuInputClearerComponent, decorators: [{
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LuInputClearerComponent, decorators: [{
67
68
  type: Component,
68
69
  args: [{ selector: 'lu-input-clearer', changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'luClearer', providers: [
69
70
  {
@@ -79,11 +80,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
79
80
  * @deprecated use `LuInputClearerComponent` instead
80
81
  */
81
82
  class LuInputClearerModule {
82
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuInputClearerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
83
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: LuInputClearerModule, imports: [LuInputClearerComponent], exports: [LuInputClearerComponent] }); }
84
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuInputClearerModule }); }
83
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LuInputClearerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
84
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.3", ngImport: i0, type: LuInputClearerModule, imports: [LuInputClearerComponent], exports: [LuInputClearerComponent] }); }
85
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LuInputClearerModule }); }
85
86
  }
86
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuInputClearerModule, decorators: [{
87
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LuInputClearerModule, decorators: [{
87
88
  type: NgModule,
88
89
  args: [{
89
90
  imports: [LuInputClearerComponent],
@@ -99,7 +100,8 @@ class ALuInputDisplayer {
99
100
 
100
101
  /* eslint-disable @angular-eslint/prefer-signals */
101
102
  /**
102
- * @deprecated
103
+ * @deprecated since 20.2.0; use LuSimpleSelectInputComponent or LuMultiSelectInputComponent.
104
+ * @see https://prisme.lucca.io/94310e217/p/717b6d-select-deprecated
103
105
  */
104
106
  class LuInputDisplayerDirective extends ALuInputDisplayer {
105
107
  set argMultiple(m) {
@@ -122,8 +124,8 @@ class LuInputDisplayerDirective extends ALuInputDisplayer {
122
124
  getViewRef(value) {
123
125
  return this.template.createEmbeddedView({ $implicit: value });
124
126
  }
125
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuInputDisplayerDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
126
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.1", type: LuInputDisplayerDirective, isStandalone: true, selector: "[luDisplayer]", inputs: { argMultiple: ["luDisplayerMultiple", "argMultiple"], inputMultiple: ["multiple", "inputMultiple"] }, providers: [
127
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LuInputDisplayerDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
128
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.3", type: LuInputDisplayerDirective, isStandalone: true, selector: "[luDisplayer]", inputs: { argMultiple: ["luDisplayerMultiple", "argMultiple"], inputMultiple: ["multiple", "inputMultiple"] }, providers: [
127
129
  {
128
130
  provide: ALuInputDisplayer,
129
131
  useExisting: forwardRef(() => LuInputDisplayerDirective),
@@ -131,7 +133,7 @@ class LuInputDisplayerDirective extends ALuInputDisplayer {
131
133
  },
132
134
  ], usesInheritance: true, ngImport: i0 }); }
133
135
  }
134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuInputDisplayerDirective, decorators: [{
136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LuInputDisplayerDirective, decorators: [{
135
137
  type: Directive,
136
138
  args: [{
137
139
  selector: '[luDisplayer]',
@@ -160,11 +162,11 @@ class LuInputDisplayerContext {
160
162
  * @deprecated use `LuInputDisplayerDirective` instead
161
163
  */
162
164
  class LuInputDisplayerModule {
163
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuInputDisplayerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
164
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: LuInputDisplayerModule, imports: [LuInputDisplayerDirective], exports: [LuInputDisplayerDirective] }); }
165
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuInputDisplayerModule }); }
165
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LuInputDisplayerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
166
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.3", ngImport: i0, type: LuInputDisplayerModule, imports: [LuInputDisplayerDirective], exports: [LuInputDisplayerDirective] }); }
167
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LuInputDisplayerModule }); }
166
168
  }
167
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuInputDisplayerModule, decorators: [{
169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LuInputDisplayerModule, decorators: [{
168
170
  type: NgModule,
169
171
  args: [{
170
172
  imports: [LuInputDisplayerDirective],
@@ -201,10 +203,10 @@ class LuInputDirective {
201
203
  const val = this._ngControl.value;
202
204
  this.applyClasses(val);
203
205
  }
204
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuInputDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.NgControl }], target: i0.ɵɵFactoryTarget.Directive }); }
205
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.1", type: LuInputDirective, isStandalone: true, selector: "[luInput]", ngImport: i0 }); }
206
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LuInputDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.NgControl }], target: i0.ɵɵFactoryTarget.Directive }); }
207
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.3", type: LuInputDirective, isStandalone: true, selector: "[luInput]", ngImport: i0 }); }
206
208
  }
207
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuInputDirective, decorators: [{
209
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LuInputDirective, decorators: [{
208
210
  type: Directive,
209
211
  args: [{
210
212
  selector: '[luInput]',
@@ -270,11 +272,11 @@ class ALuInput {
270
272
  * @deprecated use `LuInputDirective, LuInputDisplayerDirective, LuInputClearerComponent` instead
271
273
  */
272
274
  class LuInputModule {
273
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
274
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: LuInputModule, imports: [LuInputDirective, LuInputDisplayerDirective, LuInputClearerComponent], exports: [LuInputDirective, LuInputDisplayerDirective, LuInputClearerComponent] }); }
275
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuInputModule }); }
275
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LuInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
276
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.3", ngImport: i0, type: LuInputModule, imports: [LuInputDirective, LuInputDisplayerDirective, LuInputClearerComponent], exports: [LuInputDirective, LuInputDisplayerDirective, LuInputClearerComponent] }); }
277
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LuInputModule }); }
276
278
  }
277
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuInputModule, decorators: [{
279
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LuInputModule, decorators: [{
278
280
  type: NgModule,
279
281
  args: [{
280
282
  imports: [LuInputDirective, LuInputDisplayerDirective, LuInputClearerComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-input.mjs","sources":["../../../packages/ng/input/clearer/clearer.model.ts","../../../packages/ng/input/clearer/translations.ts","../../../packages/ng/input/clearer/clearer.translate.ts","../../../packages/ng/input/clearer/clearer.component.ts","../../../packages/ng/input/clearer/clearer.component.html","../../../packages/ng/input/clearer/clearer.module.ts","../../../packages/ng/input/displayer/input-displayer.model.ts","../../../packages/ng/input/displayer/input-displayer.directive.ts","../../../packages/ng/input/displayer/input-displayer.module.ts","../../../packages/ng/input/input.directive.ts","../../../packages/ng/input/input.model.ts","../../../packages/ng/input/input.module.ts","../../../packages/ng/input/lucca-front-ng-input.ts"],"sourcesContent":["import { Observable } from 'rxjs';\n\nexport interface ILuClearer<T> {\n\tonClear: Observable<T>;\n}\nexport abstract class ALuClearer<T> implements ILuClearer<T> {\n\tonClear: Observable<T>;\n}\n","export const Translations = {\n\ten: {\n\t\tclear: 'Clear this field',\n\t},\n\tde: {\n\t\tclear: 'Den Inhalt aus diesem Feld entfernen',\n\t},\n\tfr: {\n\t\tclear: 'Vider ce champ',\n\t},\n\tit: {\n\t\tclear: 'Svuotare questo campo',\n\t},\n\tnl: {\n\t\tclear: 'Dit veld leegmaken',\n\t},\n\t'nl-BE': {\n\t\tclear: 'Dit veld leegmaken',\n\t},\n\tes: {\n\t\tclear: 'Vaciar este campo',\n\t},\n\tpt: {\n\t\tclear: 'Esvaziar este campo',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_CLEARER_TRANSLATIONS = new InjectionToken('LuClearerTranslations', {\n\tfactory: () => luClearerTranslations,\n});\n\nexport interface LuClearerLabel {\n\tclear: string;\n}\n\nexport const luClearerTranslations: LuTranslation<LuClearerLabel> = Translations;\n","import { ChangeDetectionStrategy, Component, EventEmitter, forwardRef, input, Output } from '@angular/core';\nimport { intlInputOptions } from '@lucca-front/ng/core';\nimport { ALuClearer, ILuClearer } from './clearer.model';\nimport { LU_CLEARER_TRANSLATIONS } from './clearer.translate';\n\n/**\n * @deprecated use `ClearComponent` instead\n */\n@Component({\n\tselector: 'lu-input-clearer',\n\ttemplateUrl: './clearer.component.html',\n\tstyleUrl: './clearer.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\texportAs: 'luClearer',\n\tproviders: [\n\t\t{\n\t\t\tprovide: ALuClearer,\n\t\t\tuseExisting: forwardRef(() => LuInputClearerComponent),\n\t\t},\n\t],\n})\nexport class LuInputClearerComponent<T> extends ALuClearer<T> implements ILuClearer<T> {\n\treadonly intl = input(...intlInputOptions(LU_CLEARER_TRANSLATIONS));\n\n\t// eslint-disable-next-line @angular-eslint/no-output-on-prefix\n\t@Output() override onClear = new EventEmitter<T>();\n\tonClick($event: Event) {\n\t\tthis.onClear.emit();\n\t\t$event.preventDefault();\n\t\t$event.stopPropagation();\n\t}\n}\n","<a href=\"#\" role=\"button\" class=\"clear\" (click)=\"onClick($event)\">\n\t<span class=\"pr-u-mask\">{{ intl().clear }}</span>\n</a>\n","import { NgModule } from '@angular/core';\nimport { LuInputClearerComponent } from './clearer.component';\n\n/**\n * @deprecated use `LuInputClearerComponent` instead\n */\n@NgModule({\n\timports: [LuInputClearerComponent],\n\texports: [LuInputClearerComponent],\n})\nexport class LuInputClearerModule {}\n","import { ViewRef } from '@angular/core';\n\nexport interface ILuInputDisplayer<T> {\n\tmultiple: boolean;\n\tgetViewRef(value: T | T[]): ViewRef;\n}\nexport abstract class ALuInputDisplayer<T> implements ILuInputDisplayer<T> {\n\tmultiple = false;\n\tabstract getViewRef(value: T | T[]): ViewRef;\n}\n","import { Directive, forwardRef, Input, TemplateRef, ViewRef } from '@angular/core';\nimport { ALuInputDisplayer, ILuInputDisplayer } from './input-displayer.model';\n\n/* eslint-disable @angular-eslint/prefer-signals */\n/**\n * @deprecated\n */\n@Directive({\n\tselector: '[luDisplayer]',\n\tproviders: [\n\t\t{\n\t\t\tprovide: ALuInputDisplayer,\n\t\t\tuseExisting: forwardRef(() => LuInputDisplayerDirective),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuInputDisplayerDirective<T> extends ALuInputDisplayer<T> implements ILuInputDisplayer<T> {\n\t@Input('luDisplayerMultiple') set argMultiple(m: boolean) {\n\t\tthis.multiple = !!m;\n\t}\n\t@Input('multiple') set inputMultiple(m: boolean | string) {\n\t\tif (m === '') {\n\t\t\t// allows to have multiple = true when writing\n\t\t\t// <ng-template luDisplayer multiple>\n\t\t\tthis.multiple = true;\n\t\t} else {\n\t\t\tthis.multiple = !!m;\n\t\t}\n\t}\n\tconstructor(protected template: TemplateRef<LuInputDisplayerContext<T>>) {\n\t\tsuper();\n\t}\n\tgetViewRef(value: T | T[]): ViewRef {\n\t\treturn this.template.createEmbeddedView({ $implicit: value });\n\t}\n}\n\nexport class LuInputDisplayerContext<T> {\n\tconstructor(public $implicit: T | T[]) {}\n}\n","import { NgModule } from '@angular/core';\nimport { LuInputDisplayerDirective } from './input-displayer.directive';\n\n/**\n * @deprecated use `LuInputDisplayerDirective` instead\n */\n@NgModule({\n\timports: [LuInputDisplayerDirective],\n\texports: [LuInputDisplayerDirective],\n})\nexport class LuInputDisplayerModule {}\n","import { DestroyRef, Directive, ElementRef, inject, OnInit, Renderer2 } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { NgControl } from '@angular/forms';\nimport { isNil } from '@lucca-front/ng/core';\n\n/**\n * adds class is-filled when model is empty\n */\n@Directive({\n\tselector: '[luInput]',\n})\nexport class LuInputDirective implements OnInit {\n\tprotected _destroyRef = inject(DestroyRef);\n\n\tconstructor(\n\t\tprotected _elementRef: ElementRef,\n\t\tprotected _renderer: Renderer2,\n\t\tprotected _ngControl: NgControl,\n\t) {}\n\tprotected isEmpty(value) {\n\t\tif (typeof value === 'string') {\n\t\t\treturn value === '';\n\t\t}\n\t\treturn isNil(value);\n\t}\n\tprotected applyClasses(value) {\n\t\tif (this.isEmpty(value)) {\n\t\t\tthis._renderer.removeClass(this._elementRef.nativeElement, 'is-filled');\n\t\t} else {\n\t\t\tthis._renderer.addClass(this._elementRef.nativeElement, 'is-filled');\n\t\t}\n\t}\n\tngOnInit() {\n\t\tthis._ngControl.valueChanges?.pipe(takeUntilDestroyed(this._destroyRef)).subscribe((v) => this.applyClasses(v));\n\t\tconst val: unknown = this._ngControl.value;\n\t\tthis.applyClasses(val);\n\t}\n}\n","import { ChangeDetectorRef, ElementRef, Renderer2 } from '@angular/core';\nimport { ControlValueAccessor } from '@angular/forms';\nimport { isNil } from '@lucca-front/ng/core';\n\nexport type ILuInput = ControlValueAccessor;\n\nexport abstract class ALuInput<T, U extends HTMLElement = HTMLElement> implements ILuInput {\n\tprotected _placeholder: string;\n\tget placeholder() {\n\t\treturn this._placeholder;\n\t}\n\tprotected _value: T | null = null;\n\tconstructor(\n\t\tprotected _changeDetectorRef: ChangeDetectorRef,\n\t\tprotected _elementRef: ElementRef<U>,\n\t\tprotected _renderer: Renderer2,\n\t) {}\n\tsetValue(value: T | null) {\n\t\tthis.value = value;\n\t\tthis._cvaOnChange(value);\n\t\tthis._onTouched();\n\t}\n\tget value(): T | null {\n\t\treturn this._value;\n\t}\n\tset value(value: T | null) {\n\t\tthis._value = value;\n\t\tthis.render();\n\t\tthis.applyClasses();\n\t\tthis._changeDetectorRef.markForCheck();\n\t}\n\t// From ControlValueAccessor interface\n\twriteValue(value?: T) {\n\t\tthis.value = value ?? null;\n\t}\n\t// From ControlValueAccessor interface\n\tprotected _cvaOnChange: (value: T | null) => void = () => {\n\t\treturn;\n\t};\n\tregisterOnChange(fn: (value: T | null) => void) {\n\t\tthis._cvaOnChange = fn;\n\t}\n\t// From ControlValueAccessor interface\n\tprotected _onTouched: () => void = () => {\n\t\treturn;\n\t};\n\tregisterOnTouched(fn: () => void) {\n\t\tthis._onTouched = fn;\n\t}\n\tprotected isEmpty() {\n\t\treturn isNil(this.value);\n\t}\n\tprotected applyClasses() {\n\t\tif (this.isEmpty()) {\n\t\t\tthis._renderer.removeClass(this._elementRef.nativeElement, 'is-filled');\n\t\t} else {\n\t\t\tthis._renderer.addClass(this._elementRef.nativeElement, 'is-filled');\n\t\t}\n\t}\n\n\tprotected abstract render(): void;\n}\n","import { NgModule } from '@angular/core';\nimport { LuInputClearerComponent } from './clearer';\nimport { LuInputDisplayerDirective } from './displayer/index';\nimport { LuInputDirective } from './input.directive';\n\n/**\n * @deprecated use `LuInputDirective, LuInputDisplayerDirective, LuInputClearerComponent` instead\n */\n@NgModule({\n\timports: [LuInputDirective, LuInputDisplayerDirective, LuInputClearerComponent],\n\texports: [LuInputDirective, LuInputDisplayerDirective, LuInputClearerComponent],\n})\nexport class LuInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAKsB,UAAU,CAAA;AAE/B;;ACPM,MAAM,YAAY,GAAG;AAC3B,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,kBAAkB;AACzB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAA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C,gBAAgB,EAAE,yBAAyB,EAAE,uBAAuB,CAAC;AAC/E,iBAAA;;;ACXD;;AAEG;;"}
1
+ {"version":3,"file":"lucca-front-ng-input.mjs","sources":["../../../packages/ng/input/clearer/clearer.model.ts","../../../packages/ng/input/clearer/translations.ts","../../../packages/ng/input/clearer/clearer.translate.ts","../../../packages/ng/input/clearer/clearer.component.ts","../../../packages/ng/input/clearer/clearer.component.html","../../../packages/ng/input/clearer/clearer.module.ts","../../../packages/ng/input/displayer/input-displayer.model.ts","../../../packages/ng/input/displayer/input-displayer.directive.ts","../../../packages/ng/input/displayer/input-displayer.module.ts","../../../packages/ng/input/input.directive.ts","../../../packages/ng/input/input.model.ts","../../../packages/ng/input/input.module.ts","../../../packages/ng/input/lucca-front-ng-input.ts"],"sourcesContent":["import { Observable } from 'rxjs';\n\nexport interface ILuClearer<T> {\n\tonClear: Observable<T>;\n}\nexport abstract class ALuClearer<T> implements ILuClearer<T> {\n\tonClear: Observable<T>;\n}\n","export const Translations = {\n\ten: {\n\t\tclear: 'Clear this field',\n\t},\n\tde: {\n\t\tclear: 'Den Inhalt aus diesem Feld entfernen',\n\t},\n\tfr: {\n\t\tclear: 'Vider ce champ',\n\t},\n\tit: {\n\t\tclear: 'Svuotare questo campo',\n\t},\n\tnl: {\n\t\tclear: 'Dit veld leegmaken',\n\t},\n\t'nl-BE': {\n\t\tclear: 'Dit veld leegmaken',\n\t},\n\tes: {\n\t\tclear: 'Vaciar este campo',\n\t},\n\tpt: {\n\t\tclear: 'Esvaziar este campo',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_CLEARER_TRANSLATIONS = new InjectionToken('LuClearerTranslations', {\n\tfactory: () => luClearerTranslations,\n});\n\nexport interface LuClearerLabel {\n\tclear: string;\n}\n\nexport const luClearerTranslations: LuTranslation<LuClearerLabel> = Translations;\n","import { ChangeDetectionStrategy, Component, EventEmitter, forwardRef, input, Output } from '@angular/core';\nimport { intlInputOptions } from '@lucca-front/ng/core';\nimport { ALuClearer, ILuClearer } from './clearer.model';\nimport { LU_CLEARER_TRANSLATIONS } from './clearer.translate';\n\n/**\n * @deprecated since 21.0.0; use ClearComponent.\n * @see https://prisme.lucca.io/94310e217/p/717b6d-select-deprecated\n */\n@Component({\n\tselector: 'lu-input-clearer',\n\ttemplateUrl: './clearer.component.html',\n\tstyleUrl: './clearer.component.scss',\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\texportAs: 'luClearer',\n\tproviders: [\n\t\t{\n\t\t\tprovide: ALuClearer,\n\t\t\tuseExisting: forwardRef(() => LuInputClearerComponent),\n\t\t},\n\t],\n})\nexport class LuInputClearerComponent<T> extends ALuClearer<T> implements ILuClearer<T> {\n\treadonly intl = input(...intlInputOptions(LU_CLEARER_TRANSLATIONS));\n\n\t// eslint-disable-next-line @angular-eslint/no-output-on-prefix\n\t@Output() override onClear = new EventEmitter<T>();\n\tonClick($event: Event) {\n\t\tthis.onClear.emit();\n\t\t$event.preventDefault();\n\t\t$event.stopPropagation();\n\t}\n}\n","<a href=\"#\" role=\"button\" class=\"clear\" (click)=\"onClick($event)\">\n\t<span class=\"pr-u-mask\">{{ intl().clear }}</span>\n</a>\n","import { NgModule } from '@angular/core';\nimport { LuInputClearerComponent } from './clearer.component';\n\n/**\n * @deprecated use `LuInputClearerComponent` instead\n */\n@NgModule({\n\timports: [LuInputClearerComponent],\n\texports: [LuInputClearerComponent],\n})\nexport class LuInputClearerModule {}\n","import { ViewRef } from '@angular/core';\n\nexport interface ILuInputDisplayer<T> {\n\tmultiple: boolean;\n\tgetViewRef(value: T | T[]): ViewRef;\n}\nexport abstract class ALuInputDisplayer<T> implements ILuInputDisplayer<T> {\n\tmultiple = false;\n\tabstract getViewRef(value: T | T[]): ViewRef;\n}\n","import { Directive, forwardRef, Input, TemplateRef, ViewRef } from '@angular/core';\nimport { ALuInputDisplayer, ILuInputDisplayer } from './input-displayer.model';\n\n/* eslint-disable @angular-eslint/prefer-signals */\n/**\n * @deprecated since 20.2.0; use LuSimpleSelectInputComponent or LuMultiSelectInputComponent.\n * @see https://prisme.lucca.io/94310e217/p/717b6d-select-deprecated\n */\n@Directive({\n\tselector: '[luDisplayer]',\n\tproviders: [\n\t\t{\n\t\t\tprovide: ALuInputDisplayer,\n\t\t\tuseExisting: forwardRef(() => LuInputDisplayerDirective),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuInputDisplayerDirective<T> extends ALuInputDisplayer<T> implements ILuInputDisplayer<T> {\n\t@Input('luDisplayerMultiple') set argMultiple(m: boolean) {\n\t\tthis.multiple = !!m;\n\t}\n\t@Input('multiple') set inputMultiple(m: boolean | string) {\n\t\tif (m === '') {\n\t\t\t// allows to have multiple = true when writing\n\t\t\t// <ng-template luDisplayer multiple>\n\t\t\tthis.multiple = true;\n\t\t} else {\n\t\t\tthis.multiple = !!m;\n\t\t}\n\t}\n\tconstructor(protected template: TemplateRef<LuInputDisplayerContext<T>>) {\n\t\tsuper();\n\t}\n\tgetViewRef(value: T | T[]): ViewRef {\n\t\treturn this.template.createEmbeddedView({ $implicit: value });\n\t}\n}\n\nexport class LuInputDisplayerContext<T> {\n\tconstructor(public $implicit: T | T[]) {}\n}\n","import { NgModule } from '@angular/core';\nimport { LuInputDisplayerDirective } from './input-displayer.directive';\n\n/**\n * @deprecated use `LuInputDisplayerDirective` instead\n */\n@NgModule({\n\timports: [LuInputDisplayerDirective],\n\texports: [LuInputDisplayerDirective],\n})\nexport class LuInputDisplayerModule {}\n","import { DestroyRef, Directive, ElementRef, inject, OnInit, Renderer2 } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { NgControl } from '@angular/forms';\nimport { isNil } from '@lucca-front/ng/core';\n\n/**\n * adds class is-filled when model is empty\n */\n@Directive({\n\tselector: '[luInput]',\n})\nexport class LuInputDirective implements OnInit {\n\tprotected _destroyRef = inject(DestroyRef);\n\n\tconstructor(\n\t\tprotected _elementRef: ElementRef,\n\t\tprotected _renderer: Renderer2,\n\t\tprotected _ngControl: NgControl,\n\t) {}\n\tprotected isEmpty(value) {\n\t\tif (typeof value === 'string') {\n\t\t\treturn value === '';\n\t\t}\n\t\treturn isNil(value);\n\t}\n\tprotected applyClasses(value) {\n\t\tif (this.isEmpty(value)) {\n\t\t\tthis._renderer.removeClass(this._elementRef.nativeElement, 'is-filled');\n\t\t} else {\n\t\t\tthis._renderer.addClass(this._elementRef.nativeElement, 'is-filled');\n\t\t}\n\t}\n\tngOnInit() {\n\t\tthis._ngControl.valueChanges?.pipe(takeUntilDestroyed(this._destroyRef)).subscribe((v) => this.applyClasses(v));\n\t\tconst val: unknown = this._ngControl.value;\n\t\tthis.applyClasses(val);\n\t}\n}\n","import { ChangeDetectorRef, ElementRef, Renderer2 } from '@angular/core';\nimport { ControlValueAccessor } from '@angular/forms';\nimport { isNil } from '@lucca-front/ng/core';\n\nexport type ILuInput = ControlValueAccessor;\n\nexport abstract class ALuInput<T, U extends HTMLElement = HTMLElement> implements ILuInput {\n\tprotected _placeholder: string;\n\tget placeholder() {\n\t\treturn this._placeholder;\n\t}\n\tprotected _value: T | null = null;\n\tconstructor(\n\t\tprotected _changeDetectorRef: ChangeDetectorRef,\n\t\tprotected _elementRef: ElementRef<U>,\n\t\tprotected _renderer: Renderer2,\n\t) {}\n\tsetValue(value: T | null) {\n\t\tthis.value = value;\n\t\tthis._cvaOnChange(value);\n\t\tthis._onTouched();\n\t}\n\tget value(): T | null {\n\t\treturn this._value;\n\t}\n\tset value(value: T | null) {\n\t\tthis._value = value;\n\t\tthis.render();\n\t\tthis.applyClasses();\n\t\tthis._changeDetectorRef.markForCheck();\n\t}\n\t// From ControlValueAccessor interface\n\twriteValue(value?: T) {\n\t\tthis.value = value ?? null;\n\t}\n\t// From ControlValueAccessor interface\n\tprotected _cvaOnChange: (value: T | null) => void = () => {\n\t\treturn;\n\t};\n\tregisterOnChange(fn: (value: T | null) => void) {\n\t\tthis._cvaOnChange = fn;\n\t}\n\t// From ControlValueAccessor interface\n\tprotected _onTouched: () => void = () => {\n\t\treturn;\n\t};\n\tregisterOnTouched(fn: () => void) {\n\t\tthis._onTouched = fn;\n\t}\n\tprotected isEmpty() {\n\t\treturn isNil(this.value);\n\t}\n\tprotected applyClasses() {\n\t\tif (this.isEmpty()) {\n\t\t\tthis._renderer.removeClass(this._elementRef.nativeElement, 'is-filled');\n\t\t} else {\n\t\t\tthis._renderer.addClass(this._elementRef.nativeElement, 'is-filled');\n\t\t}\n\t}\n\n\tprotected abstract render(): void;\n}\n","import { NgModule } from '@angular/core';\nimport { LuInputClearerComponent } from './clearer';\nimport { LuInputDisplayerDirective } from './displayer/index';\nimport { LuInputDirective } from './input.directive';\n\n/**\n * @deprecated use `LuInputDirective, LuInputDisplayerDirective, LuInputClearerComponent` instead\n */\n@NgModule({\n\timports: [LuInputDirective, LuInputDisplayerDirective, LuInputClearerComponent],\n\texports: [LuInputDirective, LuInputDisplayerDirective, LuInputClearerComponent],\n})\nexport class LuInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAKsB,UAAU,CAAA;AAE/B;;ACPM,MAAM,YAAY,GAAG;AAC3B,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,kBAAkB;AACzB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,sCAAsC;AAC7C,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,gBAAgB;AACvB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,uBAAuB;AAC9B,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,oBAAoB;AAC3B,KAAA;AACD,IAAA,OAAO,EAAE;AACR,QAAA,KAAK,EAAE,oBAAoB;AAC3B,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,mBAAmB;AA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IACU,OAAO,GAAA;AAChB,QAAA,OAAO,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC;IACzB;IACU,YAAY,GAAA;AACrB,QAAA,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE;AACnB,YAAA,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,WAAW,CAAC;QACxE;aAAO;AACN,YAAA,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,WAAW,CAAC;QACrE;IACD;AAGA;;ACxDD;;AAEG;MAKU,aAAa,CAAA;8GAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAb,aAAa,EAAA,OAAA,EAAA,CAHf,gBAAgB,EAAE,yBAAyB,EAAE,uBAAuB,CAAA,EAAA,OAAA,EAAA,CACpE,gBAAgB,EAAE,yBAAyB,EAAE,uBAAuB,CAAA,EAAA,CAAA,CAAA;+GAElE,aAAa,EAAA,CAAA,CAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,yBAAyB,EAAE,uBAAuB,CAAC;AAC/E,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,yBAAyB,EAAE,uBAAuB,CAAC;AAC/E,iBAAA;;;ACXD;;AAEG;;"}
@@ -290,10 +290,10 @@ class KbdComponent {
290
290
  }
291
291
  return { type: 'text', label: key.length === 1 ? key.toUpperCase() : key };
292
292
  }
293
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: KbdComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
294
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: KbdComponent, isStandalone: true, selector: "lu-kbd", inputs: { keys: { classPropertyName: "keys", publicName: "keys", isSignal: true, isRequired: true, transformFunction: null }, intl: { classPropertyName: "intl", publicName: "intl", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (displayedKeys().length === 1) {\n\t<span class=\"kbdWrapper\">\n\t\t<kbd class=\"kbd\">\n\t\t\t<ng-container *ngTemplateOutlet=\"content; context: { $implicit: displayedKeys()[0] }\" />\n\t\t</kbd>\n\t</span>\n} @else {\n\t<kbd class=\"kbdWrapper\">\n\t\t@for (key of displayedKeys(); track $index) {\n\t\t\t@if (!$first) {\n\t\t\t\t+\n\t\t\t}\n\t\t\t<kbd class=\"kbd\">\n\t\t\t\t<ng-container *ngTemplateOutlet=\"content; context: { $implicit: key }\" />\n\t\t\t</kbd>\n\t\t}\n\t</kbd>\n}\n\n<ng-template #content let-key>\n\t@switch (key.type) {\n\t\t@case (\"icon\") {\n\t\t\t<lu-icon [icon]=\"key.icon\" size=\"XXS\" [alt]=\"key.label\" />\n\t\t}\n\t\t@default {\n\t\t\t{{ key.label }}\n\t\t}\n\t}\n</ng-template>\n", styles: ["@layer components{.kbd{--components-kbd-paddingInline: var(--pr-t-spacings-50);--components-kbd-animationDelay: 0s;--components-kbd-animationDuration: calc(var(--components-kbd-animationPause) / .9);--components-kbd-animationName: var(--components-kbd-modifier-animationName);--components-kbd-animationOffset: 0s;--components-kbd-animationPause: calc(var(--commons-animations-durations-slow) * 3.5);--components-kbd-last-animationName: none;--components-kbd-modifier-animationName: none;align-items:center;background-color:var(--palettes-neutral-0);border:1px solid var(--palettes-neutral-200);border-radius:var(--pr-t-border-radius-small);box-shadow:inset 0 -1px 0 var(--palettes-neutral-200);color:var(--pr-t-color-text-subtle);display:inline-flex;font:var(--pr-t-font-body-XS);inset-block-start:0;justify-content:center;min-block-size:var(--pr-t-spacings-250);min-inline-size:var(--pr-t-spacings-250);padding-inline:var(--components-kbd-paddingInline);position:relative;white-space:nowrap;animation-delay:calc(var(--components-kbd-animationDelay) + var(--components-kbd-animationOffset));animation-duration:var(--components-kbd-animationDuration);animation-iteration-count:infinite;animation-name:var(--components-kbd-animationName);animation-timing-function:step-end}.kbd:has(.lucca-icon){--components-kbd-paddingInline: 0}.kbd:nth-of-type(2){--components-kbd-animationOffset: calc(var(--commons-animations-durations-fast) / 2 * 1)}.kbd:nth-of-type(3){--components-kbd-animationOffset: calc(var(--commons-animations-durations-fast) / 2 * 2)}.kbd:nth-of-type(4){--components-kbd-animationOffset: calc(var(--commons-animations-durations-fast) / 2 * 3)}.kbd:nth-of-type(5){--components-kbd-animationOffset: calc(var(--commons-animations-durations-fast) / 2 * 4)}.kbd:last-of-type{--components-kbd-animationName: var(--components-kbd-last-animationName)}@keyframes kbdHold{10%,35%{box-shadow:inset 0 0 0 var(--palettes-neutral-200);inset-block-start:1px}40%{box-shadow:inset 0 -1px 0 var(--palettes-neutral-200);inset-block-start:0}}@keyframes kbdTap{15%,25%{box-shadow:inset 0 -1px 0 var(--palettes-neutral-200);inset-block-start:0}20%{box-shadow:inset 0 0 0 var(--palettes-neutral-200);inset-block-start:1px}}}@layer mods{@media(prefers-reduced-motion:reduce){.kbd{--components-kbd-last-animationName: none;--components-kbd-modifier-animationName: none}}}@layer components{.kbdWrapper{align-items:center;color:var(--pr-t-color-text-subtle);display:inline-flex;font:var(--pr-t-font-body-S);gap:var(--pr-t-spacings-25);vertical-align:middle;white-space:nowrap}.kbdWrapper:has(.kbd:nth-of-type(2)) .kbd{--components-kbd-animationDuration: calc((var(--components-kbd-animationPause) + calc(var(--commons-animations-durations-fast) / 2 * 0)) / .6)}.kbdWrapper:has(.kbd:nth-of-type(3)) .kbd{--components-kbd-animationDuration: calc((var(--components-kbd-animationPause) + calc(var(--commons-animations-durations-fast) / 2 * 1)) / .6)}.kbdWrapper:has(.kbd:nth-of-type(4)) .kbd{--components-kbd-animationDuration: calc((var(--components-kbd-animationPause) + calc(var(--commons-animations-durations-fast) / 2 * 2)) / .6)}.kbdWrapper:has(.kbd:nth-of-type(5)) .kbd{--components-kbd-animationDuration: calc((var(--components-kbd-animationPause) + calc(var(--commons-animations-durations-fast) / 2 * 3)) / .6)}}lu-kbd{display:contents}\n"], dependencies: [{ kind: "component", type: IconComponent, selector: "lu-icon, pr-icon", inputs: ["icon", "alt", "size", "color", "AI"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
293
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: KbdComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
294
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.3", type: KbdComponent, isStandalone: true, selector: "lu-kbd", inputs: { keys: { classPropertyName: "keys", publicName: "keys", isSignal: true, isRequired: true, transformFunction: null }, intl: { classPropertyName: "intl", publicName: "intl", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (displayedKeys().length === 1) {\n\t<span class=\"kbdWrapper\">\n\t\t<kbd class=\"kbd\">\n\t\t\t<ng-container *ngTemplateOutlet=\"content; context: { $implicit: displayedKeys()[0] }\" />\n\t\t</kbd>\n\t</span>\n} @else {\n\t<kbd class=\"kbdWrapper\">\n\t\t@for (key of displayedKeys(); track $index) {\n\t\t\t@if (!$first) {\n\t\t\t\t+\n\t\t\t}\n\t\t\t<kbd class=\"kbd\">\n\t\t\t\t<ng-container *ngTemplateOutlet=\"content; context: { $implicit: key }\" />\n\t\t\t</kbd>\n\t\t}\n\t</kbd>\n}\n\n<ng-template #content let-key>\n\t@switch (key.type) {\n\t\t@case (\"icon\") {\n\t\t\t<lu-icon [icon]=\"key.icon\" size=\"XXS\" [alt]=\"key.label\" />\n\t\t}\n\t\t@default {\n\t\t\t{{ key.label }}\n\t\t}\n\t}\n</ng-template>\n", styles: ["@layer components{.kbd{--components-kbd-paddingInline: var(--pr-t-spacings-50);--components-kbd-animationDelay: 0s;--components-kbd-animationDuration: calc(var(--components-kbd-animationPause) / .9);--components-kbd-animationName: var(--components-kbd-modifier-animationName);--components-kbd-animationOffset: 0s;--components-kbd-animationPause: calc(var(--commons-animations-durations-slow) * 3.5);--components-kbd-last-animationName: none;--components-kbd-modifier-animationName: none;align-items:center;background-color:var(--palettes-neutral-0);border:1px solid var(--palettes-neutral-200);border-radius:var(--pr-t-border-radius-small);box-shadow:inset 0 -1px 0 var(--palettes-neutral-200);color:var(--pr-t-color-text-subtle);display:inline-flex;font:var(--pr-t-font-body-XS);inset-block-start:0;justify-content:center;min-block-size:var(--pr-t-spacings-250);min-inline-size:var(--pr-t-spacings-250);padding-inline:var(--components-kbd-paddingInline);position:relative;white-space:nowrap;animation-delay:calc(var(--components-kbd-animationDelay) + var(--components-kbd-animationOffset));animation-duration:var(--components-kbd-animationDuration);animation-iteration-count:infinite;animation-name:var(--components-kbd-animationName);animation-timing-function:step-end}.kbd:has(.lucca-icon){--components-kbd-paddingInline: 0}.kbd:nth-of-type(2){--components-kbd-animationOffset: calc(var(--commons-animations-durations-fast) / 2 * 1)}.kbd:nth-of-type(3){--components-kbd-animationOffset: calc(var(--commons-animations-durations-fast) / 2 * 2)}.kbd:nth-of-type(4){--components-kbd-animationOffset: calc(var(--commons-animations-durations-fast) / 2 * 3)}.kbd:nth-of-type(5){--components-kbd-animationOffset: calc(var(--commons-animations-durations-fast) / 2 * 4)}.kbd:last-of-type{--components-kbd-animationName: var(--components-kbd-last-animationName)}@keyframes kbdHold{10%,35%{box-shadow:inset 0 0 0 var(--palettes-neutral-200);inset-block-start:1px}40%{box-shadow:inset 0 -1px 0 var(--palettes-neutral-200);inset-block-start:0}}@keyframes kbdTap{15%,25%{box-shadow:inset 0 -1px 0 var(--palettes-neutral-200);inset-block-start:0}20%{box-shadow:inset 0 0 0 var(--palettes-neutral-200);inset-block-start:1px}}}@layer mods{@media(prefers-reduced-motion:reduce){.kbd{--components-kbd-last-animationName: none;--components-kbd-modifier-animationName: none}}}@layer components{.kbdWrapper{align-items:center;color:var(--pr-t-color-text-subtle);display:inline-flex;font:var(--pr-t-font-body-S);gap:var(--pr-t-spacings-25);vertical-align:middle;white-space:nowrap}.kbdWrapper:has(.kbd:nth-of-type(2)) .kbd{--components-kbd-animationDuration: calc((var(--components-kbd-animationPause) + calc(var(--commons-animations-durations-fast) / 2 * 0)) / .6)}.kbdWrapper:has(.kbd:nth-of-type(3)) .kbd{--components-kbd-animationDuration: calc((var(--components-kbd-animationPause) + calc(var(--commons-animations-durations-fast) / 2 * 1)) / .6)}.kbdWrapper:has(.kbd:nth-of-type(4)) .kbd{--components-kbd-animationDuration: calc((var(--components-kbd-animationPause) + calc(var(--commons-animations-durations-fast) / 2 * 2)) / .6)}.kbdWrapper:has(.kbd:nth-of-type(5)) .kbd{--components-kbd-animationDuration: calc((var(--components-kbd-animationPause) + calc(var(--commons-animations-durations-fast) / 2 * 3)) / .6)}}lu-kbd{display:contents}\n"], dependencies: [{ kind: "component", type: IconComponent, selector: "lu-icon, pr-icon", inputs: ["icon", "alt", "size", "color", "AI"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
295
295
  }
296
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: KbdComponent, decorators: [{
296
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: KbdComponent, decorators: [{
297
297
  type: Component,
298
298
  args: [{ selector: 'lu-kbd', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [IconComponent, NgTemplateOutlet], template: "@if (displayedKeys().length === 1) {\n\t<span class=\"kbdWrapper\">\n\t\t<kbd class=\"kbd\">\n\t\t\t<ng-container *ngTemplateOutlet=\"content; context: { $implicit: displayedKeys()[0] }\" />\n\t\t</kbd>\n\t</span>\n} @else {\n\t<kbd class=\"kbdWrapper\">\n\t\t@for (key of displayedKeys(); track $index) {\n\t\t\t@if (!$first) {\n\t\t\t\t+\n\t\t\t}\n\t\t\t<kbd class=\"kbd\">\n\t\t\t\t<ng-container *ngTemplateOutlet=\"content; context: { $implicit: key }\" />\n\t\t\t</kbd>\n\t\t}\n\t</kbd>\n}\n\n<ng-template #content let-key>\n\t@switch (key.type) {\n\t\t@case (\"icon\") {\n\t\t\t<lu-icon [icon]=\"key.icon\" size=\"XXS\" [alt]=\"key.label\" />\n\t\t}\n\t\t@default {\n\t\t\t{{ key.label }}\n\t\t}\n\t}\n</ng-template>\n", styles: ["@layer components{.kbd{--components-kbd-paddingInline: var(--pr-t-spacings-50);--components-kbd-animationDelay: 0s;--components-kbd-animationDuration: calc(var(--components-kbd-animationPause) / .9);--components-kbd-animationName: var(--components-kbd-modifier-animationName);--components-kbd-animationOffset: 0s;--components-kbd-animationPause: calc(var(--commons-animations-durations-slow) * 3.5);--components-kbd-last-animationName: none;--components-kbd-modifier-animationName: none;align-items:center;background-color:var(--palettes-neutral-0);border:1px solid var(--palettes-neutral-200);border-radius:var(--pr-t-border-radius-small);box-shadow:inset 0 -1px 0 var(--palettes-neutral-200);color:var(--pr-t-color-text-subtle);display:inline-flex;font:var(--pr-t-font-body-XS);inset-block-start:0;justify-content:center;min-block-size:var(--pr-t-spacings-250);min-inline-size:var(--pr-t-spacings-250);padding-inline:var(--components-kbd-paddingInline);position:relative;white-space:nowrap;animation-delay:calc(var(--components-kbd-animationDelay) + var(--components-kbd-animationOffset));animation-duration:var(--components-kbd-animationDuration);animation-iteration-count:infinite;animation-name:var(--components-kbd-animationName);animation-timing-function:step-end}.kbd:has(.lucca-icon){--components-kbd-paddingInline: 0}.kbd:nth-of-type(2){--components-kbd-animationOffset: calc(var(--commons-animations-durations-fast) / 2 * 1)}.kbd:nth-of-type(3){--components-kbd-animationOffset: calc(var(--commons-animations-durations-fast) / 2 * 2)}.kbd:nth-of-type(4){--components-kbd-animationOffset: calc(var(--commons-animations-durations-fast) / 2 * 3)}.kbd:nth-of-type(5){--components-kbd-animationOffset: calc(var(--commons-animations-durations-fast) / 2 * 4)}.kbd:last-of-type{--components-kbd-animationName: var(--components-kbd-last-animationName)}@keyframes kbdHold{10%,35%{box-shadow:inset 0 0 0 var(--palettes-neutral-200);inset-block-start:1px}40%{box-shadow:inset 0 -1px 0 var(--palettes-neutral-200);inset-block-start:0}}@keyframes kbdTap{15%,25%{box-shadow:inset 0 -1px 0 var(--palettes-neutral-200);inset-block-start:0}20%{box-shadow:inset 0 0 0 var(--palettes-neutral-200);inset-block-start:1px}}}@layer mods{@media(prefers-reduced-motion:reduce){.kbd{--components-kbd-last-animationName: none;--components-kbd-modifier-animationName: none}}}@layer components{.kbdWrapper{align-items:center;color:var(--pr-t-color-text-subtle);display:inline-flex;font:var(--pr-t-font-body-S);gap:var(--pr-t-spacings-25);vertical-align:middle;white-space:nowrap}.kbdWrapper:has(.kbd:nth-of-type(2)) .kbd{--components-kbd-animationDuration: calc((var(--components-kbd-animationPause) + calc(var(--commons-animations-durations-fast) / 2 * 0)) / .6)}.kbdWrapper:has(.kbd:nth-of-type(3)) .kbd{--components-kbd-animationDuration: calc((var(--components-kbd-animationPause) + calc(var(--commons-animations-durations-fast) / 2 * 1)) / .6)}.kbdWrapper:has(.kbd:nth-of-type(4)) .kbd{--components-kbd-animationDuration: calc((var(--components-kbd-animationPause) + calc(var(--commons-animations-durations-fast) / 2 * 2)) / .6)}.kbdWrapper:has(.kbd:nth-of-type(5)) .kbd{--components-kbd-animationDuration: calc((var(--components-kbd-animationPause) + calc(var(--commons-animations-durations-fast) / 2 * 3)) / .6)}}lu-kbd{display:contents}\n"] }]
299
299
  }], propDecorators: { keys: [{ type: i0.Input, args: [{ isSignal: true, alias: "keys", required: true }] }], intl: [{ type: i0.Input, args: [{ isSignal: true, alias: "intl", required: false }] }] } });
@@ -1,7 +1,7 @@
1
1
  import * as i2 from '@angular/common';
2
2
  import { Location } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { InjectionToken, Attribute, Directive, input, inject, Injector, ElementRef, effect, afterNextRender, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
4
+ import { InjectionToken, signal, linkedSignal, Attribute, Directive, input, inject, Injector, ElementRef, effect, afterNextRender, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
5
5
  import * as i1 from '@angular/router';
6
6
  import { RouterLink, Router, ActivatedRoute, UrlTree } from '@angular/router';
7
7
  import { intlInputOptions, luBooleanAttribute } from '@lucca-front/ng/core';
@@ -38,19 +38,40 @@ const LU_LINK_TRANSLATIONS = new InjectionToken('luLinkTranslations', {
38
38
  const luLinkTranslations = Translations;
39
39
 
40
40
  class LuRouterLink extends RouterLink {
41
+ // Field initializers run after `super()`, so this still references the router-computed `linkedSignal` of `RouterLink`.
42
+ #routerHref;
41
43
  // Workaround for a storybook bug = implement the constructor https://github.com/storybookjs/storybook/issues/23534#issuecomment-2042888436
42
44
  constructor(router, route, tabIndexAttribute, renderer, el, locationStrategy) {
43
45
  super(router, route, tabIndexAttribute, renderer, el, locationStrategy);
46
+ /**
47
+ * Href forced by `luLink` (raw `href`, external or disabled link). `undefined` lets the router compute it.
48
+ */
49
+ this.hrefOverride = signal(undefined, /* @ts-ignore */
50
+ ...(ngDevMode ? [{ debugName: "hrefOverride" }] : /* istanbul ignore next */ []));
51
+ // Field initializers run after `super()`, so this still references the router-computed `linkedSignal` of `RouterLink`.
52
+ this.#routerHref = this.reactiveHref;
53
+ // Since Angular 22, `reactiveHref` is a `linkedSignal` recomputed on every navigation, which wipes any value written with `set()`.
54
+ // Deriving it from `hrefOverride` keeps the forced href across navigations.
55
+ this.reactiveHref = linkedSignal(() => {
56
+ const hrefOverride = this.hrefOverride();
57
+ return hrefOverride === undefined ? this.#routerHref() : hrefOverride;
58
+ }, /* @ts-ignore */
59
+ ...(ngDevMode ? [{ debugName: "reactiveHref" }] : /* istanbul ignore next */ []));
60
+ /**
61
+ * Href bound to the host element: `hrefOverride` when set, the router-computed href otherwise.
62
+ */
63
+ this.resolvedHref = this.reactiveHref.asReadonly();
44
64
  }
45
- // With angular 20, RouterLink changed to use an internal, protected, readonly signal that is directly bound to `attr.href`, breaking any possibility to override it
46
- // So we had to do this to expose it to our `luLink` component.
65
+ /**
66
+ * @deprecated a value written with `set()` is wiped on every navigation, use `hrefOverride` to force the href and `resolvedHref` to read it instead
67
+ */
47
68
  get publicReactiveHref() {
48
69
  return this.reactiveHref;
49
70
  }
50
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuRouterLink, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: 'tabindex', attribute: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i2.LocationStrategy }], target: i0.ɵɵFactoryTarget.Directive }); }
51
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.1", type: LuRouterLink, isStandalone: true, selector: "[luRouterLink]", usesInheritance: true, ngImport: i0 }); }
71
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LuRouterLink, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: 'tabindex', attribute: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i2.LocationStrategy }], target: i0.ɵɵFactoryTarget.Directive }); }
72
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.3", type: LuRouterLink, isStandalone: true, selector: "[luRouterLink]", usesInheritance: true, ngImport: i0 }); }
52
73
  }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuRouterLink, decorators: [{
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LuRouterLink, decorators: [{
54
75
  type: Directive,
55
76
  args: [{
56
77
  selector: '[luRouterLink]',
@@ -107,16 +128,17 @@ class LinkComponent {
107
128
  effect(() => {
108
129
  if (href()) {
109
130
  this.hrefBackup = href();
110
- this.routerLink.publicReactiveHref.set(this.hrefBackup);
131
+ this.routerLink.hrefOverride.set(this.hrefBackup);
111
132
  }
112
133
  if (this.disabled()) {
113
134
  if (this.routerLinkCommands()) {
114
135
  this.routerLink.routerLink = null;
115
136
  }
116
- this.routerLink.publicReactiveHref.set(null);
137
+ this.routerLink.hrefOverride.set(null);
117
138
  }
118
139
  else if (this.routerLinkCommands() && !this.external()) {
119
140
  this.routerLink.routerLink = this.routerLinkCommands();
141
+ this.routerLink.hrefOverride.set(undefined);
120
142
  // We need to do this in order to have `routerLink` update the value for `href`:
121
143
  // See https://github.com/angular/angular/blob/main/packages/router/src/directives/router_link.ts#L281
122
144
  this.routerLink.ngOnChanges({});
@@ -125,10 +147,12 @@ class LinkComponent {
125
147
  // External router links must not wire up the `RouterLink` directive (it would navigate in-place),
126
148
  // but they still need an `href` so the anchor is keyboard-focusable and its destination is previewable.
127
149
  // Actual navigation is handled natively by `target="_blank"` (anchors) or by `redirect()` (buttons).
128
- this.routerLink.publicReactiveHref.set(this.#serializeExternalUrl());
150
+ // Commands set while the link was internal are cleared, otherwise `RouterLink` keeps intercepting the click.
151
+ this.routerLink.routerLink = null;
152
+ this.routerLink.hrefOverride.set(this.#serializeExternalUrl());
129
153
  }
130
154
  else if (!href() && this.hrefBackup) {
131
- this.routerLink.publicReactiveHref.set(this.hrefBackup);
155
+ this.routerLink.hrefOverride.set(this.hrefBackup);
132
156
  }
133
157
  });
134
158
  }
@@ -165,14 +189,14 @@ class LinkComponent {
165
189
  // they all describe an internal route, so the serialized URL must carry the baseHref.
166
190
  return this.location.prepareExternalUrl(serializedUrl);
167
191
  }
168
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
169
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: LinkComponent, isStandalone: true, selector: "a[luLink], button[luLink]", inputs: { intl: { classPropertyName: "intl", publicName: "intl", isSignal: true, isRequired: false, transformFunction: null }, luHref: { classPropertyName: "luHref", publicName: "href", isSignal: true, isRequired: false, transformFunction: null }, routerLinkCommands: { classPropertyName: "routerLinkCommands", publicName: "luLink", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, decorationHover: { classPropertyName: "decorationHover", publicName: "decorationHover", isSignal: true, isRequired: false, transformFunction: null }, external: { classPropertyName: "external", publicName: "external", isSignal: true, isRequired: false, transformFunction: null }, hiddenIcon: { classPropertyName: "hiddenIcon", publicName: "hiddenIcon", isSignal: true, isRequired: false, transformFunction: null }, neutral: { classPropertyName: "neutral", publicName: "neutral", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "redirect()" }, properties: { "attr.href": "routerLink.publicReactiveHref()", "class.mod-decorationHover": "decorationHover()", "class.mod-icon": "external()", "class.mod-neutral": "neutral()", "class.mod-hiddenIcon": "hiddenIcon() || (this.insideIndexTable && external()) || (this.insideDataTable && external())", "class.is-disabled": "this.disabled()", "attr.rel": "external() && !disabled() ? \"noopener noreferrer\" : null", "attr.target": "external() && !disabled() ? \"_blank\" : null", "attr.role": "disabled() ? \"presentation\" : null" }, classAttribute: "link" }, hostDirectives: [{ directive: LuRouterLink, inputs: ["preserveFragment", "preserveFragment", "skipLocationChange", "skipLocationChange", "replaceUrl", "replaceUrl", "queryParams", "queryParams", "fragment", "fragment", "queryParamsHandling", "queryParamsHandling", "state", "state", "info", "info", "relativeTo", "relativeTo"] }], ngImport: i0, template: "<span class=\"link-text\"><ng-content /></span>\n@if (external()) {\n\t<span class=\"link-icon\">\n\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-arrowExternal\"></span>\n\t</span>\n\t<span class=\"pr-u-mask\">{{ intl().external }}</span>\n}\n", styles: ["@charset \"UTF-8\";@layer components{.link{--components-link-textDecoration: underline;--components-link-text-textDecoration: underline;--components-link-color: var(--commons-text-link-color);--components-link-color-hover: var(--commons-text-link-hover);--components-link-cursor: pointer;--components-link-icon-marginInlineStart: 0;--components-link-icon-opacity: 1;background-color:transparent;color:var(--components-link-color);cursor:var(--components-link-cursor);font-family:inherit;border:0;margin:0;padding:0;text-decoration:var(--components-link-textDecoration)}.link:not(:disabled,.is-disabled):hover{color:var(--components-link-color-hover)}.link:not(:disabled,.is-disabled):focus-visible{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:2px;border-radius:var(--pr-t-border-radius-small)}.link .lucca-icon{text-decoration:none;font-size:1em;vertical-align:baseline;position:relative;inset-block-start:.075rem;margin-inline-start:var(--components-link-icon-marginInlineStart)}.link .link-text{text-decoration:var(--components-link-text-textDecoration)}.link-icon{white-space:nowrap;opacity:var(--components-link-icon-opacity);transition-property:opacity;transition-duration:var(--commons-animations-durations-fast)}.link-icon:before{content:\"\\a0\"/\"\"}}@layer mods{.link.mod-decorationHover{--components-link-textDecoration: none;--components-link-text-textDecoration: none}.link.mod-decorationHover:hover{--components-link-text-textDecoration: underline}.link.mod-decorationHover:hover:not(:has(.link-text)){--components-link-textDecoration: underline}.link.mod-neutral{--components-link-color: var(--pr-t-color-text);--components-link-color-hover: var(--palettes-neutral-900)}@media not (any-pointer:coarse){.link.mod-hiddenIcon:not(:hover,:focus-visible){--components-link-icon-opacity: 0}}.link:is(:disabled,.is-disabled){--components-link-color: var(--pr-t-color-text-disabled);--components-link-cursor: not-allowed}.link:has(.link-text){--components-link-textDecoration: none}.link:not(:has(.link-icon)){--components-link-icon-marginInlineStart: .2em}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
192
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
193
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.3", type: LinkComponent, isStandalone: true, selector: "a[luLink], button[luLink]", inputs: { intl: { classPropertyName: "intl", publicName: "intl", isSignal: true, isRequired: false, transformFunction: null }, luHref: { classPropertyName: "luHref", publicName: "href", isSignal: true, isRequired: false, transformFunction: null }, routerLinkCommands: { classPropertyName: "routerLinkCommands", publicName: "luLink", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, decorationHover: { classPropertyName: "decorationHover", publicName: "decorationHover", isSignal: true, isRequired: false, transformFunction: null }, external: { classPropertyName: "external", publicName: "external", isSignal: true, isRequired: false, transformFunction: null }, hiddenIcon: { classPropertyName: "hiddenIcon", publicName: "hiddenIcon", isSignal: true, isRequired: false, transformFunction: null }, neutral: { classPropertyName: "neutral", publicName: "neutral", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "redirect()" }, properties: { "attr.href": "routerLink.resolvedHref()", "class.mod-decorationHover": "decorationHover()", "class.mod-icon": "external()", "class.mod-neutral": "neutral()", "class.mod-hiddenIcon": "hiddenIcon() || (this.insideIndexTable && external()) || (this.insideDataTable && external())", "class.is-disabled": "this.disabled()", "attr.rel": "external() && !disabled() ? \"noopener noreferrer\" : null", "attr.target": "external() && !disabled() ? \"_blank\" : null", "attr.role": "disabled() ? \"presentation\" : null" }, classAttribute: "link" }, hostDirectives: [{ directive: LuRouterLink, inputs: ["preserveFragment", "preserveFragment", "skipLocationChange", "skipLocationChange", "replaceUrl", "replaceUrl", "queryParams", "queryParams", "fragment", "fragment", "queryParamsHandling", "queryParamsHandling", "state", "state", "info", "info", "relativeTo", "relativeTo"] }], ngImport: i0, template: "<span class=\"link-text\"><ng-content /></span>\n@if (external()) {\n\t<span class=\"link-icon\">\n\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-arrowExternal\"></span>\n\t</span>\n\t<span class=\"pr-u-mask\">{{ intl().external }}</span>\n}\n", styles: ["@charset \"UTF-8\";@layer components{.link{--components-link-textDecoration: underline;--components-link-text-textDecoration: underline;--components-link-color: var(--commons-text-link-color);--components-link-color-hover: var(--commons-text-link-hover);--components-link-cursor: pointer;--components-link-icon-marginInlineStart: 0;--components-link-icon-opacity: 1;background-color:transparent;color:var(--components-link-color);cursor:var(--components-link-cursor);font-family:inherit;border:0;margin:0;padding:0;text-decoration:var(--components-link-textDecoration)}.link:not(:disabled,.is-disabled):hover{color:var(--components-link-color-hover)}.link:not(:disabled,.is-disabled):focus-visible{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:2px;border-radius:var(--pr-t-border-radius-small)}.link .lucca-icon{text-decoration:none;font-size:1em;vertical-align:baseline;position:relative;inset-block-start:.075rem;margin-inline-start:var(--components-link-icon-marginInlineStart)}.link .link-text{text-decoration:var(--components-link-text-textDecoration)}.link-icon{white-space:nowrap;opacity:var(--components-link-icon-opacity);transition-property:opacity;transition-duration:var(--commons-animations-durations-fast)}.link-icon:before{content:\"\\a0\"/\"\"}}@layer mods{.link.mod-decorationHover{--components-link-textDecoration: none;--components-link-text-textDecoration: none}.link.mod-decorationHover:hover{--components-link-text-textDecoration: underline}.link.mod-decorationHover:hover:not(:has(.link-text)){--components-link-textDecoration: underline}.link.mod-neutral{--components-link-color: var(--pr-t-color-text);--components-link-color-hover: var(--palettes-neutral-900)}@media not (any-pointer:coarse){.link.mod-hiddenIcon:not(:hover,:focus-visible){--components-link-icon-opacity: 0}}.link:is(:disabled,.is-disabled){--components-link-color: var(--pr-t-color-text-disabled);--components-link-cursor: not-allowed}.link:has(.link-text){--components-link-textDecoration: none}.link:not(:has(.link-icon)){--components-link-icon-marginInlineStart: .2em}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
170
194
  }
171
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LinkComponent, decorators: [{
195
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: LinkComponent, decorators: [{
172
196
  type: Component,
173
197
  args: [{ selector: 'a[luLink], button[luLink]', standalone: true, encapsulation: ViewEncapsulation.None, host: {
174
198
  class: 'link',
175
- '[attr.href]': 'routerLink.publicReactiveHref()',
199
+ '[attr.href]': 'routerLink.resolvedHref()',
176
200
  '[class.mod-decorationHover]': 'decorationHover()',
177
201
  '[class.mod-icon]': 'external()',
178
202
  '[class.mod-neutral]': 'neutral()',
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-link.mjs","sources":["../../../packages/ng/link/translations.ts","../../../packages/ng/link/link.translate.ts","../../../packages/ng/link/lu-router-link.ts","../../../packages/ng/link/link.component.ts","../../../packages/ng/link/link.component.html","../../../packages/ng/link/link.token.ts","../../../packages/ng/link/lucca-front-ng-link.ts"],"sourcesContent":["export const Translations = {\n\ten: {\n\t\texternal: '(Open in a new window.)',\n\t},\n\tde: {\n\t\texternal: '(In einem neuen Fenster öffnen.)',\n\t},\n\tfr: {\n\t\texternal: '(Ouvrir dans une nouvelle fenêtre.)',\n\t},\n\tit: {\n\t\texternal: '(Aprire in una nuova finestra.)',\n\t},\n\tnl: {\n\t\texternal: '(Open in een nieuw venster.)',\n\t},\n\tes: {\n\t\texternal: '(Abrir en una nueva ventana.)',\n\t},\n\tpt: {\n\t\texternal: '(Abrir numa nova janela.)',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_LINK_TRANSLATIONS = new InjectionToken('luLinkTranslations', {\n\tfactory: () => luLinkTranslations,\n});\n\nexport interface LinkTranslate {\n\texternal: string;\n}\n\nexport const luLinkTranslations: LuTranslation<LinkTranslate> = Translations;\n","import { LocationStrategy } from '@angular/common';\nimport { Attribute, Directive, ElementRef, Renderer2, WritableSignal } from '@angular/core';\nimport { ActivatedRoute, Router, RouterLink } from '@angular/router';\n\n@Directive({\n\tselector: '[luRouterLink]',\n})\nexport class LuRouterLink extends RouterLink {\n\t// Workaround for a storybook bug = implement the constructor https://github.com/storybookjs/storybook/issues/23534#issuecomment-2042888436\n\tconstructor(router: Router, route: ActivatedRoute, @Attribute('tabindex') tabIndexAttribute: string | null | undefined, renderer: Renderer2, el: ElementRef, locationStrategy?: LocationStrategy) {\n\t\tsuper(router, route, tabIndexAttribute, renderer, el, locationStrategy);\n\t}\n\n\t// With angular 20, RouterLink changed to use an internal, protected, readonly signal that is directly bound to `attr.href`, breaking any possibility to override it\n\t// So we had to do this to expose it to our `luLink` component.\n\tget publicReactiveHref(): WritableSignal<string | null> {\n\t\treturn this.reactiveHref;\n\t}\n}\n","import { Location } from '@angular/common';\nimport { afterNextRender, ChangeDetectionStrategy, Component, effect, ElementRef, inject, Injector, input, ViewEncapsulation } from '@angular/core';\nimport { ActivatedRoute, Router, UrlTree } from '@angular/router';\nimport { intlInputOptions, luBooleanAttribute } from '@lucca-front/ng/core';\nimport { LU_INDEX_TABLE_INSTANCE } from '@lucca-front/ng/index-table';\n\nimport { LU_DATA_TABLE_INSTANCE } from '@lucca-front/ng/data-table';\nimport { LU_LINK_TRANSLATIONS } from './link.translate';\nimport { LuRouterLink } from './lu-router-link';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'a[luLink], button[luLink]',\n\tstandalone: true,\n\ttemplateUrl: './link.component.html',\n\tstyleUrl: './link.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'link',\n\t\t'[attr.href]': 'routerLink.publicReactiveHref()',\n\t\t'[class.mod-decorationHover]': 'decorationHover()',\n\t\t'[class.mod-icon]': 'external()',\n\t\t'[class.mod-neutral]': 'neutral()',\n\t\t'[class.mod-hiddenIcon]': 'hiddenIcon() || (this.insideIndexTable && external()) || (this.insideDataTable && external())',\n\t\t'[class.is-disabled]': 'this.disabled()',\n\t\t'[attr.rel]': 'external() && !disabled() ? \"noopener noreferrer\" : null',\n\t\t'[attr.target]': 'external() && !disabled() ? \"_blank\" : null',\n\t\t'[attr.role]': 'disabled() ? \"presentation\" : null',\n\t\t'(click)': 'redirect()',\n\t},\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: LuRouterLink,\n\t\t\tinputs: ['preserveFragment', 'skipLocationChange', 'replaceUrl', 'queryParams', 'fragment', 'queryParamsHandling', 'state', 'info', 'relativeTo'],\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class LinkComponent {\n\treadonly intl = input(...intlInputOptions(LU_LINK_TRANSLATIONS));\n\treadonly routerLink = inject(LuRouterLink);\n\t#injector = inject(Injector);\n\t#elementRef = inject(ElementRef);\n\treadonly router = inject(Router);\n\treadonly location = inject(Location);\n\treadonly #activatedRoute = inject(ActivatedRoute, { optional: true });\n\treadonly insideIndexTable = inject(LU_INDEX_TABLE_INSTANCE, { optional: true });\n\treadonly insideDataTable = inject(LU_DATA_TABLE_INSTANCE, { optional: true });\n\n\t/**\n\t * Target page address. Use only for external links or pages not recognized by the router.\n\t */\n\treadonly luHref = input('', { alias: 'href' });\n\n\t/**\n\t * Target page address\n\t */\n\treadonly routerLinkCommands = input<LuRouterLink['routerLink'] | null>(null, { alias: 'luLink' });\n\n\t/**\n\t * Disables the link\n\t */\n\treadonly disabled = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * Underlines the link only on hover\n\t */\n\treadonly decorationHover = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * Indicates that the link will open in a new tab\n\t */\n\treadonly external = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * External icon only visible on hover/focus\n\t */\n\treadonly hiddenIcon = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * Renders the link with the default text color instead of the link color\n\t */\n\treadonly neutral = input(false, { transform: luBooleanAttribute });\n\n\threfBackup: string;\n\n\tconstructor() {\n\t\tconst href = this.luHref;\n\n\t\teffect(() => {\n\t\t\tif (href()) {\n\t\t\t\tthis.hrefBackup = href();\n\t\t\t\tthis.routerLink.publicReactiveHref.set(this.hrefBackup);\n\t\t\t}\n\t\t\tif (this.disabled()) {\n\t\t\t\tif (this.routerLinkCommands()) {\n\t\t\t\t\tthis.routerLink.routerLink = null;\n\t\t\t\t}\n\t\t\t\tthis.routerLink.publicReactiveHref.set(null);\n\t\t\t} else if (this.routerLinkCommands() && !this.external()) {\n\t\t\t\tthis.routerLink.routerLink = this.routerLinkCommands();\n\t\t\t\t// We need to do this in order to have `routerLink` update the value for `href`:\n\t\t\t\t// See https://github.com/angular/angular/blob/main/packages/router/src/directives/router_link.ts#L281\n\t\t\t\tthis.routerLink.ngOnChanges({});\n\t\t\t} else if (this.routerLinkCommands() && this.external()) {\n\t\t\t\t// External router links must not wire up the `RouterLink` directive (it would navigate in-place),\n\t\t\t\t// but they still need an `href` so the anchor is keyboard-focusable and its destination is previewable.\n\t\t\t\t// Actual navigation is handled natively by `target=\"_blank\"` (anchors) or by `redirect()` (buttons).\n\t\t\t\tthis.routerLink.publicReactiveHref.set(this.#serializeExternalUrl());\n\t\t\t} else if (!href() && this.hrefBackup) {\n\t\t\t\tthis.routerLink.publicReactiveHref.set(this.hrefBackup);\n\t\t\t}\n\t\t});\n\t}\n\n\tredirect(): void {\n\t\t// Anchors carry an `href` with `target=\"_blank\"`, so the browser opens the new tab natively.\n\t\t// Only non-anchor hosts (e.g. `button[luLink]`) need us to open the window programmatically.\n\t\tif (!this.disabled() && this.routerLinkCommands() && this.external() && !this.#isAnchor()) {\n\t\t\tconst externalUrl = this.#serializeExternalUrl();\n\t\t\tafterNextRender(() => window.open(externalUrl ?? undefined, '_blank'), { injector: this.#injector });\n\t\t}\n\t}\n\n\t#isAnchor(): boolean {\n\t\treturn (this.#elementRef.nativeElement as HTMLElement).tagName === 'A';\n\t}\n\n\t#serializeExternalUrl(): string | null {\n\t\tconst routerLinkCommands = this.routerLinkCommands();\n\t\tif (!routerLinkCommands) {\n\t\t\treturn null;\n\t\t}\n\t\tconst urlTree =\n\t\t\trouterLinkCommands instanceof UrlTree\n\t\t\t\t? routerLinkCommands\n\t\t\t\t: this.router.createUrlTree(Array.isArray(routerLinkCommands) ? routerLinkCommands : [routerLinkCommands], {\n\t\t\t\t\t\t// Resolve relative commands against the current route, like Angular's `RouterLink` does.\n\t\t\t\t\t\t// An explicit `relativeTo` wins, including `null` which means \"resolve from the root\";\n\t\t\t\t\t\t// only `undefined` falls back to the injected `ActivatedRoute`.\n\t\t\t\t\t\trelativeTo: this.routerLink.relativeTo === undefined ? this.#activatedRoute : this.routerLink.relativeTo,\n\t\t\t\t\t\tqueryParams: this.routerLink.queryParams,\n\t\t\t\t\t\tfragment: this.routerLink.fragment,\n\t\t\t\t\t\tqueryParamsHandling: this.routerLink.queryParamsHandling,\n\t\t\t\t\t\tpreserveFragment: this.routerLink.preserveFragment,\n\t\t\t\t\t});\n\t\tconst serializedUrl = this.router.serializeUrl(urlTree);\n\t\t// Apply the app's baseHref regardless of the commands' shape (string, array or `UrlTree`):\n\t\t// they all describe an internal route, so the serialized URL must carry the baseHref.\n\t\treturn this.location.prepareExternalUrl(serializedUrl);\n\t}\n}\n","<span class=\"link-text\"><ng-content /></span>\n@if (external()) {\n\t<span class=\"link-icon\">\n\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-arrowExternal\"></span>\n\t</span>\n\t<span class=\"pr-u-mask\">{{ intl().external }}</span>\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const LU_LINK_INSTANCE = new InjectionToken<boolean>('LU_LINK_INSTANCE');\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings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C/B;AACL,wBAAA,KAAK,EAAE,MAAM;AACb,wBAAA,aAAa,EAAE,iCAAiC;AAChD,wBAAA,6BAA6B,EAAE,mBAAmB;AAClD,wBAAA,kBAAkB,EAAE,YAAY;AAChC,wBAAA,qBAAqB,EAAE,WAAW;AAClC,wBAAA,wBAAwB,EAAE,+FAA+F;AACzH,wBAAA,qBAAqB,EAAE,iBAAiB;AACxC,wBAAA,YAAY,EAAE,0DAA0D;AACxE,wBAAA,eAAe,EAAE,6CAA6C;AAC9D,wBAAA,aAAa,EAAE,oCAAoC;AACnD,wBAAA,SAAS,EAAE,YAAY;qBACvB,EAAA,cAAA,EACe;AACf,wBAAA;AACC,4BAAA,SAAS,EAAE,YAAY;AACvB,4BAAA,MAAM,EAAE,CAAC,kBAAkB,EAAE,oBAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,CAAC;AACjJ,yBAAA;qBACD,EAAA,eAAA,EACgB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6PAAA,EAAA,MAAA,EAAA,CAAA,0jEAAA,CAAA,EAAA;;;MElCnC,gBAAgB,GAAG,IAAI,cAAc,CAAU,kBAAkB;;ACF9E;;AAEG;;"}
1
+ {"version":3,"file":"lucca-front-ng-link.mjs","sources":["../../../packages/ng/link/translations.ts","../../../packages/ng/link/link.translate.ts","../../../packages/ng/link/lu-router-link.ts","../../../packages/ng/link/link.component.ts","../../../packages/ng/link/link.component.html","../../../packages/ng/link/link.token.ts","../../../packages/ng/link/lucca-front-ng-link.ts"],"sourcesContent":["export const Translations = {\n\ten: {\n\t\texternal: '(Open in a new window.)',\n\t},\n\tde: {\n\t\texternal: '(In einem neuen Fenster öffnen.)',\n\t},\n\tfr: {\n\t\texternal: '(Ouvrir dans une nouvelle fenêtre.)',\n\t},\n\tit: {\n\t\texternal: '(Aprire in una nuova finestra.)',\n\t},\n\tnl: {\n\t\texternal: '(Open in een nieuw venster.)',\n\t},\n\tes: {\n\t\texternal: '(Abrir en una nueva ventana.)',\n\t},\n\tpt: {\n\t\texternal: '(Abrir numa nova janela.)',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_LINK_TRANSLATIONS = new InjectionToken('luLinkTranslations', {\n\tfactory: () => luLinkTranslations,\n});\n\nexport interface LinkTranslate {\n\texternal: string;\n}\n\nexport const luLinkTranslations: LuTranslation<LinkTranslate> = Translations;\n","import { LocationStrategy } from '@angular/common';\nimport { Attribute, Directive, ElementRef, linkedSignal, Renderer2, signal, WritableSignal } from '@angular/core';\nimport { ActivatedRoute, Router, RouterLink } from '@angular/router';\n\n@Directive({\n\tselector: '[luRouterLink]',\n})\nexport class LuRouterLink extends RouterLink {\n\t/**\n\t * Href forced by `luLink` (raw `href`, external or disabled link). `undefined` lets the router compute it.\n\t */\n\treadonly hrefOverride = signal<string | null | undefined>(undefined);\n\n\t// Field initializers run after `super()`, so this still references the router-computed `linkedSignal` of `RouterLink`.\n\treadonly #routerHref: WritableSignal<string | null> = this.reactiveHref;\n\n\t// Since Angular 22, `reactiveHref` is a `linkedSignal` recomputed on every navigation, which wipes any value written with `set()`.\n\t// Deriving it from `hrefOverride` keeps the forced href across navigations.\n\tprotected override readonly reactiveHref = linkedSignal<string | null>(() => {\n\t\tconst hrefOverride = this.hrefOverride();\n\t\treturn hrefOverride === undefined ? this.#routerHref() : hrefOverride;\n\t});\n\n\t/**\n\t * Href bound to the host element: `hrefOverride` when set, the router-computed href otherwise.\n\t */\n\treadonly resolvedHref = this.reactiveHref.asReadonly();\n\n\t// Workaround for a storybook bug = implement the constructor https://github.com/storybookjs/storybook/issues/23534#issuecomment-2042888436\n\tconstructor(router: Router, route: ActivatedRoute, @Attribute('tabindex') tabIndexAttribute: string | null | undefined, renderer: Renderer2, el: ElementRef, locationStrategy?: LocationStrategy) {\n\t\tsuper(router, route, tabIndexAttribute, renderer, el, locationStrategy);\n\t}\n\n\t/**\n\t * @deprecated a value written with `set()` is wiped on every navigation, use `hrefOverride` to force the href and `resolvedHref` to read it instead\n\t */\n\tget publicReactiveHref(): WritableSignal<string | null> {\n\t\treturn this.reactiveHref;\n\t}\n}\n","import { Location } from '@angular/common';\nimport { afterNextRender, ChangeDetectionStrategy, Component, effect, ElementRef, inject, Injector, input, ViewEncapsulation } from '@angular/core';\nimport { ActivatedRoute, Router, UrlTree } from '@angular/router';\nimport { intlInputOptions, luBooleanAttribute } from '@lucca-front/ng/core';\nimport { LU_INDEX_TABLE_INSTANCE } from '@lucca-front/ng/index-table';\n\nimport { LU_DATA_TABLE_INSTANCE } from '@lucca-front/ng/data-table';\nimport { LU_LINK_TRANSLATIONS } from './link.translate';\nimport { LuRouterLink } from './lu-router-link';\n\n@Component({\n\t// eslint-disable-next-line @angular-eslint/component-selector\n\tselector: 'a[luLink], button[luLink]',\n\tstandalone: true,\n\ttemplateUrl: './link.component.html',\n\tstyleUrl: './link.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\thost: {\n\t\tclass: 'link',\n\t\t'[attr.href]': 'routerLink.resolvedHref()',\n\t\t'[class.mod-decorationHover]': 'decorationHover()',\n\t\t'[class.mod-icon]': 'external()',\n\t\t'[class.mod-neutral]': 'neutral()',\n\t\t'[class.mod-hiddenIcon]': 'hiddenIcon() || (this.insideIndexTable && external()) || (this.insideDataTable && external())',\n\t\t'[class.is-disabled]': 'this.disabled()',\n\t\t'[attr.rel]': 'external() && !disabled() ? \"noopener noreferrer\" : null',\n\t\t'[attr.target]': 'external() && !disabled() ? \"_blank\" : null',\n\t\t'[attr.role]': 'disabled() ? \"presentation\" : null',\n\t\t'(click)': 'redirect()',\n\t},\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: LuRouterLink,\n\t\t\tinputs: ['preserveFragment', 'skipLocationChange', 'replaceUrl', 'queryParams', 'fragment', 'queryParamsHandling', 'state', 'info', 'relativeTo'],\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class LinkComponent {\n\treadonly intl = input(...intlInputOptions(LU_LINK_TRANSLATIONS));\n\treadonly routerLink = inject(LuRouterLink);\n\t#injector = inject(Injector);\n\t#elementRef = inject(ElementRef);\n\treadonly router = inject(Router);\n\treadonly location = inject(Location);\n\treadonly #activatedRoute = inject(ActivatedRoute, { optional: true });\n\treadonly insideIndexTable = inject(LU_INDEX_TABLE_INSTANCE, { optional: true });\n\treadonly insideDataTable = inject(LU_DATA_TABLE_INSTANCE, { optional: true });\n\n\t/**\n\t * Target page address. Use only for external links or pages not recognized by the router.\n\t */\n\treadonly luHref = input('', { alias: 'href' });\n\n\t/**\n\t * Target page address\n\t */\n\treadonly routerLinkCommands = input<LuRouterLink['routerLink'] | null>(null, { alias: 'luLink' });\n\n\t/**\n\t * Disables the link\n\t */\n\treadonly disabled = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * Underlines the link only on hover\n\t */\n\treadonly decorationHover = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * Indicates that the link will open in a new tab\n\t */\n\treadonly external = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * External icon only visible on hover/focus\n\t */\n\treadonly hiddenIcon = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * Renders the link with the default text color instead of the link color\n\t */\n\treadonly neutral = input(false, { transform: luBooleanAttribute });\n\n\threfBackup: string;\n\n\tconstructor() {\n\t\tconst href = this.luHref;\n\n\t\teffect(() => {\n\t\t\tif (href()) {\n\t\t\t\tthis.hrefBackup = href();\n\t\t\t\tthis.routerLink.hrefOverride.set(this.hrefBackup);\n\t\t\t}\n\t\t\tif (this.disabled()) {\n\t\t\t\tif (this.routerLinkCommands()) {\n\t\t\t\t\tthis.routerLink.routerLink = null;\n\t\t\t\t}\n\t\t\t\tthis.routerLink.hrefOverride.set(null);\n\t\t\t} else if (this.routerLinkCommands() && !this.external()) {\n\t\t\t\tthis.routerLink.routerLink = this.routerLinkCommands();\n\t\t\t\tthis.routerLink.hrefOverride.set(undefined);\n\t\t\t\t// We need to do this in order to have `routerLink` update the value for `href`:\n\t\t\t\t// See https://github.com/angular/angular/blob/main/packages/router/src/directives/router_link.ts#L281\n\t\t\t\tthis.routerLink.ngOnChanges({});\n\t\t\t} else if (this.routerLinkCommands() && this.external()) {\n\t\t\t\t// External router links must not wire up the `RouterLink` directive (it would navigate in-place),\n\t\t\t\t// but they still need an `href` so the anchor is keyboard-focusable and its destination is previewable.\n\t\t\t\t// Actual navigation is handled natively by `target=\"_blank\"` (anchors) or by `redirect()` (buttons).\n\t\t\t\t// Commands set while the link was internal are cleared, otherwise `RouterLink` keeps intercepting the click.\n\t\t\t\tthis.routerLink.routerLink = null;\n\t\t\t\tthis.routerLink.hrefOverride.set(this.#serializeExternalUrl());\n\t\t\t} else if (!href() && this.hrefBackup) {\n\t\t\t\tthis.routerLink.hrefOverride.set(this.hrefBackup);\n\t\t\t}\n\t\t});\n\t}\n\n\tredirect(): void {\n\t\t// Anchors carry an `href` with `target=\"_blank\"`, so the browser opens the new tab natively.\n\t\t// Only non-anchor hosts (e.g. `button[luLink]`) need us to open the window programmatically.\n\t\tif (!this.disabled() && this.routerLinkCommands() && this.external() && !this.#isAnchor()) {\n\t\t\tconst externalUrl = this.#serializeExternalUrl();\n\t\t\tafterNextRender(() => window.open(externalUrl ?? undefined, '_blank'), { injector: this.#injector });\n\t\t}\n\t}\n\n\t#isAnchor(): boolean {\n\t\treturn (this.#elementRef.nativeElement as HTMLElement).tagName === 'A';\n\t}\n\n\t#serializeExternalUrl(): string | null {\n\t\tconst routerLinkCommands = this.routerLinkCommands();\n\t\tif (!routerLinkCommands) {\n\t\t\treturn null;\n\t\t}\n\t\tconst urlTree =\n\t\t\trouterLinkCommands instanceof UrlTree\n\t\t\t\t? routerLinkCommands\n\t\t\t\t: this.router.createUrlTree(Array.isArray(routerLinkCommands) ? routerLinkCommands : [routerLinkCommands], {\n\t\t\t\t\t\t// Resolve relative commands against the current route, like Angular's `RouterLink` does.\n\t\t\t\t\t\t// An explicit `relativeTo` wins, including `null` which means \"resolve from the root\";\n\t\t\t\t\t\t// only `undefined` falls back to the injected `ActivatedRoute`.\n\t\t\t\t\t\trelativeTo: this.routerLink.relativeTo === undefined ? this.#activatedRoute : this.routerLink.relativeTo,\n\t\t\t\t\t\tqueryParams: this.routerLink.queryParams,\n\t\t\t\t\t\tfragment: this.routerLink.fragment,\n\t\t\t\t\t\tqueryParamsHandling: this.routerLink.queryParamsHandling,\n\t\t\t\t\t\tpreserveFragment: this.routerLink.preserveFragment,\n\t\t\t\t\t});\n\t\tconst serializedUrl = this.router.serializeUrl(urlTree);\n\t\t// Apply the app's baseHref regardless of the commands' shape (string, array or `UrlTree`):\n\t\t// they all describe an internal route, so the serialized URL must carry the baseHref.\n\t\treturn this.location.prepareExternalUrl(serializedUrl);\n\t}\n}\n","<span class=\"link-text\"><ng-content /></span>\n@if (external()) {\n\t<span class=\"link-icon\">\n\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-arrowExternal\"></span>\n\t</span>\n\t<span class=\"pr-u-mask\">{{ intl().external }}</span>\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const LU_LINK_INSTANCE = new InjectionToken<boolean>('LU_LINK_INSTANCE');\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;AAAO,MAAM,YAAY,GAAG;AAC3B,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,yBAAyB;AACnC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,kCAAkC;AAC5C,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,qCAAqC;AAC/C,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,iCAAiC;AAC3C,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,8BAA8B;AACxC,KAAA;AAC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CAAA,CAAA;;2FD+Ba,aAAa,EAAA,UAAA,EAAA,CAAA;kBA5BzB,SAAS;AAEC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,2BAA2B,cACzB,IAAI,EAAA,aAAA,EAGD,iBAAiB,CAAC,IAAI,EAAA,IAAA,EAC/B;AACL,wBAAA,KAAK,EAAE,MAAM;AACb,wBAAA,aAAa,EAAE,2BAA2B;AAC1C,wBAAA,6BAA6B,EAAE,mBAAmB;AAClD,wBAAA,kBAAkB,EAAE,YAAY;AAChC,wBAAA,qBAAqB,EAAE,WAAW;AAClC,wBAAA,wBAAwB,EAAE,+FAA+F;AACzH,wBAAA,qBAAqB,EAAE,iBAAiB;AACxC,wBAAA,YAAY,EAAE,0DAA0D;AACxE,wBAAA,eAAe,EAAE,6CAA6C;AAC9D,wBAAA,aAAa,EAAE,oCAAoC;AACnD,wBAAA,SAAS,EAAE,YAAY;qBACvB,EAAA,cAAA,EACe;AACf,wBAAA;AACC,4BAAA,SAAS,EAAE,YAAY;AACvB,4BAAA,MAAM,EAAE,CAAC,kBAAkB,EAAE,oBAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,CAAC;AACjJ,yBAAA;qBACD,EAAA,eAAA,EACgB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6PAAA,EAAA,MAAA,EAAA,CAAA,0jEAAA,CAAA,EAAA;;;MElCnC,gBAAgB,GAAG,IAAI,cAAc,CAAU,kBAAkB;;ACF9E;;AAEG;;"}
@@ -14,10 +14,10 @@ const OPTION_INSTANCE = new InjectionToken('LuOptionInstance');
14
14
 
15
15
  let nextId$1 = 0;
16
16
  class Treeitem {
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Treeitem, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
18
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.1", type: Treeitem, isStandalone: true, selector: "[treeitem]", ngImport: i0 }); }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: Treeitem, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
18
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.2.3", type: Treeitem, isStandalone: true, selector: "[treeitem]", ngImport: i0 }); }
19
19
  }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Treeitem, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: Treeitem, decorators: [{
21
21
  type: Directive,
22
22
  args: [{
23
23
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -79,10 +79,10 @@ class OptionComponent {
79
79
  #listboxRef;
80
80
  #parentOptionRef;
81
81
  #defaultGroupId;
82
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: OptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
83
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: OptionComponent, isStandalone: true, selector: "lu-listbox-option", inputs: { elementId: { classPropertyName: "elementId", publicName: "elementId", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, mixed: { classPropertyName: "mixed", publicName: "mixed", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, hovered: { classPropertyName: "hovered", publicName: "hovered", isSignal: true, isRequired: false, transformFunction: null }, add: { classPropertyName: "add", publicName: "add", isSignal: true, isRequired: false, transformFunction: null }, group: { classPropertyName: "group", publicName: "group", isSignal: true, isRequired: false, transformFunction: null }, groupId: { classPropertyName: "groupId", publicName: "groupId", isSignal: true, isRequired: false, transformFunction: null }, select: { classPropertyName: "select", publicName: "select", isSignal: true, isRequired: false, transformFunction: null }, selectAll: { classPropertyName: "selectAll", publicName: "selectAll", isSignal: true, isRequired: false, transformFunction: null }, treeitemLevel: { classPropertyName: "treeitemLevel", publicName: "treeitemLevel", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.role": "group() ? \"group\" : tree() ? \"treeitem\" : \"option\"", "attr.aria-labelledby": "group() ? groupLabelId() : null", "attr.aria-selected": "add() || group() || mixed() ? null : checked()", "attr.aria-checked": "!group() && mixed() ? \"mixed\" : null", "attr.aria-disabled": "disabled()", "attr.aria-hidden": "empty()", "attr.id": "empty() ? id() : elementId()", "class.is-selected": "checked()", "class.is-disabled": "disabled()", "class.mod-add": "add()", "class.mod-select": "select()" }, classAttribute: "listboxOption" }, providers: [{ provide: OPTION_INSTANCE, useExisting: forwardRef(() => OptionComponent) }], queries: [{ propertyName: "treeitemContent", first: true, predicate: Treeitem, descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"listboxOption-content\" [class.is-hovered]=\"hovered()\" [attr.id]=\"group() ? groupLabelId() : null\">\n\t@if (multiple() && !add() && !selectAll() && !select()) {\n\t\t<span class=\"listboxOption-content-checkboxField checkboxField\" aria-hidden=\"true\">\n\t\t\t<span class=\"listboxOption-content-checkboxField-input checkboxField-input\"></span>\n\t\t\t<span class=\"checkboxField-icon\"><span class=\"checkboxField-icon-check\"></span></span>\n\t\t</span>\n\t}\n\t@if (add()) {\n\t\t<lu-icon icon=\"mathsPlus\" />\n\t}\n\t<ng-content />\n\t<ng-content select=\"[group-action]\" />\n\t@if (selectAll()) {\n\t\t<lu-listbox-option [elementId]=\"elementId() + '-selectAll'\" select>{{ selectAll() }}</lu-listbox-option>\n\t}\n</div>\n<ng-content select=\"[optgroup]\" />\n\n@if (hasTreeitems()) {\n\t<div class=\"listboxOptionWrapper\" role=\"group\" [attr.style]=\"'--components-listboxOptionWrapper-level: ' + wrapperLevel()\">\n\t\t<ng-content select=\"[treeitem]\" />\n\t</div>\n}\n", dependencies: [{ kind: "component", type: OptionComponent, selector: "lu-listbox-option", inputs: ["elementId", "checked", "mixed", "disabled", "hovered", "add", "group", "groupId", "select", "selectAll", "treeitemLevel"] }, { kind: "component", type: IconComponent, selector: "lu-icon, pr-icon", inputs: ["icon", "alt", "size", "color", "AI"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
82
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: OptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
83
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.3", type: OptionComponent, isStandalone: true, selector: "lu-listbox-option", inputs: { elementId: { classPropertyName: "elementId", publicName: "elementId", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, mixed: { classPropertyName: "mixed", publicName: "mixed", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, hovered: { classPropertyName: "hovered", publicName: "hovered", isSignal: true, isRequired: false, transformFunction: null }, add: { classPropertyName: "add", publicName: "add", isSignal: true, isRequired: false, transformFunction: null }, group: { classPropertyName: "group", publicName: "group", isSignal: true, isRequired: false, transformFunction: null }, groupId: { classPropertyName: "groupId", publicName: "groupId", isSignal: true, isRequired: false, transformFunction: null }, select: { classPropertyName: "select", publicName: "select", isSignal: true, isRequired: false, transformFunction: null }, selectAll: { classPropertyName: "selectAll", publicName: "selectAll", isSignal: true, isRequired: false, transformFunction: null }, treeitemLevel: { classPropertyName: "treeitemLevel", publicName: "treeitemLevel", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.role": "group() ? \"group\" : tree() ? \"treeitem\" : \"option\"", "attr.aria-labelledby": "group() ? groupLabelId() : null", "attr.aria-selected": "add() || group() || mixed() ? null : checked()", "attr.aria-checked": "!group() && mixed() ? \"mixed\" : null", "attr.aria-disabled": "disabled()", "attr.aria-hidden": "empty()", "attr.id": "empty() ? id() : elementId()", "class.is-selected": "checked()", "class.is-disabled": "disabled()", "class.mod-add": "add()", "class.mod-select": "select()" }, classAttribute: "listboxOption" }, providers: [{ provide: OPTION_INSTANCE, useExisting: forwardRef(() => OptionComponent) }], queries: [{ propertyName: "treeitemContent", first: true, predicate: Treeitem, descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"listboxOption-content\" [class.is-hovered]=\"hovered()\" [attr.id]=\"group() ? groupLabelId() : null\">\n\t@if (multiple() && !add() && !selectAll() && !select()) {\n\t\t<span class=\"listboxOption-content-checkboxField checkboxField\" aria-hidden=\"true\">\n\t\t\t<span class=\"listboxOption-content-checkboxField-input checkboxField-input\"></span>\n\t\t\t<span class=\"checkboxField-icon\"><span class=\"checkboxField-icon-check\"></span></span>\n\t\t</span>\n\t}\n\t@if (add()) {\n\t\t<lu-icon icon=\"mathsPlus\" />\n\t}\n\t<ng-content />\n\t<ng-content select=\"[group-action]\" />\n\t@if (selectAll()) {\n\t\t<lu-listbox-option [elementId]=\"elementId() + '-selectAll'\" select>{{ selectAll() }}</lu-listbox-option>\n\t}\n</div>\n<ng-content select=\"[optgroup]\" />\n\n@if (hasTreeitems()) {\n\t<div class=\"listboxOptionWrapper\" role=\"group\" [attr.style]=\"'--components-listboxOptionWrapper-level: ' + wrapperLevel()\">\n\t\t<ng-content select=\"[treeitem]\" />\n\t</div>\n}\n", dependencies: [{ kind: "component", type: OptionComponent, selector: "lu-listbox-option", inputs: ["elementId", "checked", "mixed", "disabled", "hovered", "add", "group", "groupId", "select", "selectAll", "treeitemLevel"] }, { kind: "component", type: IconComponent, selector: "lu-icon, pr-icon", inputs: ["icon", "alt", "size", "color", "AI"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
84
84
  }
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: OptionComponent, decorators: [{
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: OptionComponent, decorators: [{
86
86
  type: Component,
87
87
  args: [{ selector: 'lu-listbox-option', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
88
88
  class: 'listboxOption',
@@ -129,10 +129,10 @@ class ListboxComponent {
129
129
  ...(ngDevMode ? [{ debugName: "skeletonWidth" }] : /* istanbul ignore next */ []));
130
130
  }
131
131
  #randomPercent;
132
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ListboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
133
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: ListboxComponent, isStandalone: true, selector: "lu-listbox", inputs: { multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, tree: { classPropertyName: "tree", publicName: "tree", isSignal: true, isRequired: false, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, statusMsg: { classPropertyName: "statusMsg", publicName: "statusMsg", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.role": "tree() ? \"tree\" : \"listbox\"", "attr.aria-multiselectable": "multiple() ? true : null", "class.mod-multiple": "multiple()", "attr.aria-busy": "state() === \"loading\"", "attr.aria-describedby": "state() === \"empty\" ? listboxId : null" }, classAttribute: "listboxOptionWrapper" }, providers: [{ provide: LISTBOX_INSTANCE, useExisting: forwardRef(() => ListboxComponent) }], ngImport: i0, template: "<ng-content select=\"[listbox-header]\" />\n@if (state() !== \"empty\") {\n\t<ng-content />\n}\n@if (state() === \"empty\") {\n\t<lu-listbox-option empty>{{ statusMsg() }}</lu-listbox-option>\n} @else if (state() === \"loading\") {\n\t<lu-listbox-option class=\"skeleton is-loading\" inert=\"inert\">\n\t\t<span class=\"skeleton-item\" [style.--components-skeleton-text-width]=\"skeletonWidth()\"></span>\n\t</lu-listbox-option>\n\t<span class=\"pr-u-mask\">{{ statusMsg() }}</span>\n}\n", dependencies: [{ kind: "component", type: OptionComponent, selector: "lu-listbox-option", inputs: ["elementId", "checked", "mixed", "disabled", "hovered", "add", "group", "groupId", "select", "selectAll", "treeitemLevel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
132
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: ListboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
133
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.3", type: ListboxComponent, isStandalone: true, selector: "lu-listbox", inputs: { multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, tree: { classPropertyName: "tree", publicName: "tree", isSignal: true, isRequired: false, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, statusMsg: { classPropertyName: "statusMsg", publicName: "statusMsg", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.role": "tree() ? \"tree\" : \"listbox\"", "attr.aria-multiselectable": "multiple() ? true : null", "class.mod-multiple": "multiple()", "attr.aria-busy": "state() === \"loading\"", "attr.aria-describedby": "state() === \"empty\" ? listboxId : null" }, classAttribute: "listboxOptionWrapper" }, providers: [{ provide: LISTBOX_INSTANCE, useExisting: forwardRef(() => ListboxComponent) }], ngImport: i0, template: "<ng-content select=\"[listbox-header]\" />\n@if (state() !== \"empty\") {\n\t<ng-content />\n}\n@if (state() === \"empty\") {\n\t<lu-listbox-option empty>{{ statusMsg() }}</lu-listbox-option>\n} @else if (state() === \"loading\") {\n\t<lu-listbox-option class=\"skeleton is-loading\" inert=\"inert\">\n\t\t<span class=\"skeleton-item\" [style.--components-skeleton-text-width]=\"skeletonWidth()\"></span>\n\t</lu-listbox-option>\n\t<span class=\"pr-u-mask\">{{ statusMsg() }}</span>\n}\n", dependencies: [{ kind: "component", type: OptionComponent, selector: "lu-listbox-option", inputs: ["elementId", "checked", "mixed", "disabled", "hovered", "add", "group", "groupId", "select", "selectAll", "treeitemLevel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
134
134
  }
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ListboxComponent, decorators: [{
135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.3", ngImport: i0, type: ListboxComponent, decorators: [{
136
136
  type: Component,
137
137
  args: [{ selector: 'lu-listbox', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
138
138
  class: 'listboxOptionWrapper',