@lucca-front/ng 22.0.0-rc.3 → 22.0.0-rc.5

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 (331) hide show
  1. package/fesm2022/lucca-front-ng-a11y.mjs +125 -8
  2. package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
  3. package/fesm2022/lucca-front-ng-activity-feed.mjs +74 -27
  4. package/fesm2022/lucca-front-ng-activity-feed.mjs.map +1 -1
  5. package/fesm2022/lucca-front-ng-api.mjs +158 -197
  6. package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
  7. package/fesm2022/lucca-front-ng-app-layout.mjs +4 -4
  8. package/fesm2022/lucca-front-ng-app-layout.mjs.map +1 -1
  9. package/fesm2022/lucca-front-ng-box.mjs +44 -6
  10. package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
  11. package/fesm2022/lucca-front-ng-breadcrumbs.mjs +15 -9
  12. package/fesm2022/lucca-front-ng-breadcrumbs.mjs.map +1 -1
  13. package/fesm2022/lucca-front-ng-bubble-icon.mjs +28 -13
  14. package/fesm2022/lucca-front-ng-bubble-icon.mjs.map +1 -1
  15. package/fesm2022/lucca-front-ng-bubble-illustration.mjs +20 -10
  16. package/fesm2022/lucca-front-ng-bubble-illustration.mjs.map +1 -1
  17. package/fesm2022/lucca-front-ng-callout.mjs +105 -63
  18. package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
  19. package/fesm2022/lucca-front-ng-chip.mjs +33 -13
  20. package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
  21. package/fesm2022/lucca-front-ng-clear.mjs +22 -14
  22. package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
  23. package/fesm2022/lucca-front-ng-code.mjs +4 -4
  24. package/fesm2022/lucca-front-ng-code.mjs.map +1 -1
  25. package/fesm2022/lucca-front-ng-color.mjs +16 -8
  26. package/fesm2022/lucca-front-ng-color.mjs.map +1 -1
  27. package/fesm2022/lucca-front-ng-comment.mjs +48 -27
  28. package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
  29. package/fesm2022/lucca-front-ng-container.mjs +13 -6
  30. package/fesm2022/lucca-front-ng-container.mjs.map +1 -1
  31. package/fesm2022/lucca-front-ng-core-select-api.mjs +82 -52
  32. package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
  33. package/fesm2022/lucca-front-ng-core-select-department.mjs +31 -18
  34. package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
  35. package/fesm2022/lucca-front-ng-core-select-establishment.mjs +21 -15
  36. package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
  37. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +12 -9
  38. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
  39. package/fesm2022/lucca-front-ng-core-select-legal-units.mjs +168 -0
  40. package/fesm2022/lucca-front-ng-core-select-legal-units.mjs.map +1 -0
  41. package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +9 -6
  42. package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs.map +1 -1
  43. package/fesm2022/lucca-front-ng-core-select-user.mjs +67 -43
  44. package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
  45. package/fesm2022/lucca-front-ng-core-select.mjs +497 -420
  46. package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
  47. package/fesm2022/lucca-front-ng-core.mjs +97 -29
  48. package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
  49. package/fesm2022/lucca-front-ng-data-table.mjs +143 -81
  50. package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
  51. package/fesm2022/lucca-front-ng-date.mjs +166 -162
  52. package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
  53. package/fesm2022/lucca-front-ng-date2.mjs +395 -193
  54. package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
  55. package/fesm2022/lucca-front-ng-department.mjs +33 -27
  56. package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
  57. package/fesm2022/lucca-front-ng-dialog.mjs +69 -50
  58. package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
  59. package/fesm2022/lucca-front-ng-divider.mjs +18 -12
  60. package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
  61. package/fesm2022/lucca-front-ng-dropdown.mjs +71 -73
  62. package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
  63. package/fesm2022/lucca-front-ng-empty-state.mjs +56 -30
  64. package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
  65. package/fesm2022/lucca-front-ng-error-page.mjs +15 -7
  66. package/fesm2022/lucca-front-ng-error-page.mjs.map +1 -1
  67. package/fesm2022/lucca-front-ng-establishment.mjs +94 -116
  68. package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
  69. package/fesm2022/lucca-front-ng-fancy-box.mjs +23 -11
  70. package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
  71. package/fesm2022/lucca-front-ng-file-upload.mjs +135 -69
  72. package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
  73. package/fesm2022/lucca-front-ng-filter-pills.mjs +90 -69
  74. package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
  75. package/fesm2022/lucca-front-ng-footer.mjs +17 -8
  76. package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
  77. package/fesm2022/lucca-front-ng-form-field.mjs +129 -79
  78. package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
  79. package/fesm2022/lucca-front-ng-form-header.mjs +12 -6
  80. package/fesm2022/lucca-front-ng-form-header.mjs.map +1 -1
  81. package/fesm2022/lucca-front-ng-form-label.mjs +65 -42
  82. package/fesm2022/lucca-front-ng-form-label.mjs.map +1 -1
  83. package/fesm2022/lucca-front-ng-form.mjs +9 -6
  84. package/fesm2022/lucca-front-ng-form.mjs.map +1 -1
  85. package/fesm2022/lucca-front-ng-formly.mjs +59 -58
  86. package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
  87. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +58 -40
  88. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
  89. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs +3 -3
  90. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs.map +1 -1
  91. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +8 -9
  92. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs.map +1 -1
  93. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +3 -3
  94. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs.map +1 -1
  95. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +260 -103
  96. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
  97. package/fesm2022/lucca-front-ng-forms.mjs +324 -150
  98. package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
  99. package/fesm2022/lucca-front-ng-gauge.mjs +23 -13
  100. package/fesm2022/lucca-front-ng-gauge.mjs.map +1 -1
  101. package/fesm2022/lucca-front-ng-grid.mjs +39 -18
  102. package/fesm2022/lucca-front-ng-grid.mjs.map +1 -1
  103. package/fesm2022/lucca-front-ng-highlight-data.mjs +50 -15
  104. package/fesm2022/lucca-front-ng-highlight-data.mjs.map +1 -1
  105. package/fesm2022/lucca-front-ng-highlight-text.mjs +28 -0
  106. package/fesm2022/lucca-front-ng-highlight-text.mjs.map +1 -0
  107. package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +174 -17
  108. package/fesm2022/lucca-front-ng-horizontal-navigation.mjs.map +1 -1
  109. package/fesm2022/lucca-front-ng-impersonation.mjs +124 -0
  110. package/fesm2022/lucca-front-ng-impersonation.mjs.map +1 -0
  111. package/fesm2022/lucca-front-ng-index-table.mjs +82 -54
  112. package/fesm2022/lucca-front-ng-index-table.mjs.map +1 -1
  113. package/fesm2022/lucca-front-ng-inline-message.mjs +17 -7
  114. package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
  115. package/fesm2022/lucca-front-ng-input.mjs +28 -24
  116. package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
  117. package/fesm2022/lucca-front-ng-link.mjs +54 -23
  118. package/fesm2022/lucca-front-ng-link.mjs.map +1 -1
  119. package/fesm2022/lucca-front-ng-listbox.mjs +65 -28
  120. package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
  121. package/fesm2022/lucca-front-ng-listing.mjs +16 -12
  122. package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
  123. package/fesm2022/lucca-front-ng-loading.mjs +13 -6
  124. package/fesm2022/lucca-front-ng-loading.mjs.map +1 -1
  125. package/fesm2022/lucca-front-ng-main-layout.mjs +6 -6
  126. package/fesm2022/lucca-front-ng-main-layout.mjs.map +1 -1
  127. package/fesm2022/lucca-front-ng-mobile-push.mjs +15 -5
  128. package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
  129. package/fesm2022/lucca-front-ng-modal.mjs +37 -35
  130. package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
  131. package/fesm2022/lucca-front-ng-multi-select.mjs +332 -221
  132. package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
  133. package/fesm2022/lucca-front-ng-new-badge.mjs +5 -4
  134. package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
  135. package/fesm2022/lucca-front-ng-number-format.mjs +21 -21
  136. package/fesm2022/lucca-front-ng-number-format.mjs.map +1 -1
  137. package/fesm2022/lucca-front-ng-number.mjs +7 -7
  138. package/fesm2022/lucca-front-ng-number.mjs.map +1 -1
  139. package/fesm2022/lucca-front-ng-numeric-badge.mjs +24 -12
  140. package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
  141. package/fesm2022/lucca-front-ng-option.mjs +180 -168
  142. package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
  143. package/fesm2022/lucca-front-ng-page-header.mjs +12 -8
  144. package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
  145. package/fesm2022/lucca-front-ng-pagination.mjs +26 -10
  146. package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
  147. package/fesm2022/lucca-front-ng-plg-push.mjs +14 -8
  148. package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
  149. package/fesm2022/lucca-front-ng-popover.mjs +141 -253
  150. package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
  151. package/fesm2022/lucca-front-ng-popover2.mjs +133 -89
  152. package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
  153. package/fesm2022/lucca-front-ng-popup.mjs +10 -10
  154. package/fesm2022/lucca-front-ng-popup.mjs.map +1 -1
  155. package/fesm2022/lucca-front-ng-progress-bar.mjs +13 -6
  156. package/fesm2022/lucca-front-ng-progress-bar.mjs.map +1 -1
  157. package/fesm2022/lucca-front-ng-progress-stepper.mjs +22 -12
  158. package/fesm2022/lucca-front-ng-progress-stepper.mjs.map +1 -1
  159. package/fesm2022/lucca-front-ng-read-more.mjs +38 -17
  160. package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
  161. package/fesm2022/lucca-front-ng-resource-card.mjs +26 -17
  162. package/fesm2022/lucca-front-ng-resource-card.mjs.map +1 -1
  163. package/fesm2022/lucca-front-ng-safe-content.mjs +10 -10
  164. package/fesm2022/lucca-front-ng-safe-content.mjs.map +1 -1
  165. package/fesm2022/lucca-front-ng-scroll-box.mjs +8 -6
  166. package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
  167. package/fesm2022/lucca-front-ng-scroll.mjs +14 -10
  168. package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
  169. package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +26 -14
  170. package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs.map +1 -1
  171. package/fesm2022/lucca-front-ng-segmented-control.mjs +12 -10
  172. package/fesm2022/lucca-front-ng-segmented-control.mjs.map +1 -1
  173. package/fesm2022/lucca-front-ng-select.mjs +96 -136
  174. package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
  175. package/fesm2022/lucca-front-ng-sidepanel.mjs +7 -7
  176. package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
  177. package/fesm2022/lucca-front-ng-simple-select.mjs +87 -61
  178. package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
  179. package/fesm2022/lucca-front-ng-skeleton.mjs +131 -62
  180. package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
  181. package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +16 -11
  182. package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs.map +1 -1
  183. package/fesm2022/lucca-front-ng-software-icon.mjs +34 -25
  184. package/fesm2022/lucca-front-ng-software-icon.mjs.map +1 -1
  185. package/fesm2022/lucca-front-ng-sortable-list.mjs +14 -11
  186. package/fesm2022/lucca-front-ng-sortable-list.mjs.map +1 -1
  187. package/fesm2022/lucca-front-ng-status-badge.mjs +15 -7
  188. package/fesm2022/lucca-front-ng-status-badge.mjs.map +1 -1
  189. package/fesm2022/lucca-front-ng-table-of-content.mjs +8 -7
  190. package/fesm2022/lucca-front-ng-table-of-content.mjs.map +1 -1
  191. package/fesm2022/lucca-front-ng-tag.mjs +22 -11
  192. package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
  193. package/fesm2022/lucca-front-ng-text-flow.mjs +4 -4
  194. package/fesm2022/lucca-front-ng-text-flow.mjs.map +1 -1
  195. package/fesm2022/lucca-front-ng-time.mjs +418 -84
  196. package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
  197. package/fesm2022/lucca-front-ng-title.mjs +34 -15
  198. package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
  199. package/fesm2022/lucca-front-ng-toast.mjs +20 -14
  200. package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
  201. package/fesm2022/lucca-front-ng-tooltip.mjs +60 -30
  202. package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
  203. package/fesm2022/lucca-front-ng-tree-select.mjs +25 -16
  204. package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
  205. package/fesm2022/lucca-front-ng-user-popover.mjs +34 -33
  206. package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
  207. package/fesm2022/lucca-front-ng-user.mjs +211 -186
  208. package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
  209. package/fesm2022/lucca-front-ng-vertical-navigation.mjs +34 -24
  210. package/fesm2022/lucca-front-ng-vertical-navigation.mjs.map +1 -1
  211. package/package.json +20 -8
  212. package/schematics/action-icon/index.js +34 -1
  213. package/schematics/action-icon/migration.spec.js +36 -3
  214. package/schematics/alignment-utilities/migration.spec.js +36 -3
  215. package/schematics/cdn-urls/migration.spec.js +36 -3
  216. package/schematics/class-prefix/migration.spec.js +36 -3
  217. package/schematics/collection.json +10 -0
  218. package/schematics/color-text/migration.spec.js +36 -3
  219. package/schematics/component-path/migration.spec.js +36 -3
  220. package/schematics/deprecated-resolver/index.js +73 -0
  221. package/schematics/deprecated-resolver/migration.spec.js +58 -0
  222. package/schematics/deprecated-resolver/schema.json +23 -0
  223. package/schematics/empty-state-title/migration.spec.js +35 -2
  224. package/schematics/lib/css-mapper.js +44 -6
  225. package/schematics/lib/deprecated-mapper.js +109 -0
  226. package/schematics/lib/index.js +1 -0
  227. package/schematics/lib/lf-schematic-context.js +34 -1
  228. package/schematics/lib/local-deps/package-lock.json +17 -79
  229. package/schematics/lib/local-deps/package.json +1 -1
  230. package/schematics/lib/local-deps/postcss.js +34 -1
  231. package/schematics/lib/migration-test.js +5 -2
  232. package/schematics/lib/scss-ast.js +53 -0
  233. package/schematics/lu-button/migration.spec.js +34 -1
  234. package/schematics/lu-container/migration.spec.js +34 -1
  235. package/schematics/lu-grid/index.js +23 -0
  236. package/schematics/lu-grid/migration.js +237 -0
  237. package/schematics/lu-grid/migration.spec.js +56 -0
  238. package/schematics/lu-grid/migration.utils.js +60 -0
  239. package/schematics/lu-grid/schema.json +23 -0
  240. package/schematics/lu-icon/migration.spec.js +34 -1
  241. package/schematics/lu-loading/migration.spec.js +34 -1
  242. package/schematics/lu-select/migration.spec.js +34 -1
  243. package/schematics/lu-text-input/migration.spec.js +34 -1
  244. package/schematics/new-icons/index.js +35 -2
  245. package/schematics/new-icons/migration.spec.js +36 -3
  246. package/schematics/package.json +3 -0
  247. package/schematics/palettes/index.js +17 -2
  248. package/schematics/palettes/migration.spec.js +36 -3
  249. package/schematics/tokens-radius/migration.spec.js +36 -3
  250. package/schematics/tokens-spacing/migration.spec.js +36 -3
  251. package/schematics/tokens-typo/migration.spec.js +36 -3
  252. package/src/components/_picker.scss +4 -33
  253. package/src/components/_popover.scss +1 -2
  254. package/src/definitions/option/_option-item.scss +7 -26
  255. package/types/lucca-front-ng-a11y.d.ts +30 -2
  256. package/types/lucca-front-ng-activity-feed.d.ts +18 -3
  257. package/types/lucca-front-ng-api.d.ts +73 -67
  258. package/types/lucca-front-ng-box.d.ts +6 -1
  259. package/types/lucca-front-ng-bubble-icon.d.ts +12 -3
  260. package/types/lucca-front-ng-bubble-illustration.d.ts +11 -5
  261. package/types/lucca-front-ng-callout.d.ts +24 -16
  262. package/types/lucca-front-ng-chip.d.ts +10 -1
  263. package/types/lucca-front-ng-clear.d.ts +12 -5
  264. package/types/lucca-front-ng-color.d.ts +8 -1
  265. package/types/lucca-front-ng-comment.d.ts +8 -1
  266. package/types/lucca-front-ng-container.d.ts +8 -1
  267. package/types/lucca-front-ng-core-select-api.d.ts +34 -22
  268. package/types/lucca-front-ng-core-select-department.d.ts +3 -2
  269. package/types/lucca-front-ng-core-select-legal-units.d.ts +56 -0
  270. package/types/lucca-front-ng-core-select-user.d.ts +2 -1
  271. package/types/lucca-front-ng-core-select.d.ts +196 -147
  272. package/types/lucca-front-ng-core.d.ts +37 -9
  273. package/types/lucca-front-ng-data-table.d.ts +18 -3
  274. package/types/lucca-front-ng-date.d.ts +28 -26
  275. package/types/lucca-front-ng-date2.d.ts +28 -9
  276. package/types/lucca-front-ng-dialog.d.ts +13 -2
  277. package/types/lucca-front-ng-divider.d.ts +9 -2
  278. package/types/lucca-front-ng-dropdown.d.ts +5 -4
  279. package/types/lucca-front-ng-empty-state.d.ts +16 -8
  280. package/types/lucca-front-ng-error-page.d.ts +9 -4
  281. package/types/lucca-front-ng-establishment.d.ts +18 -19
  282. package/types/lucca-front-ng-fancy-box.d.ts +8 -1
  283. package/types/lucca-front-ng-file-upload.d.ts +23 -11
  284. package/types/lucca-front-ng-filter-pills.d.ts +0 -1
  285. package/types/lucca-front-ng-footer.d.ts +11 -2
  286. package/types/lucca-front-ng-form-field.d.ts +36 -20
  287. package/types/lucca-front-ng-form-header.d.ts +9 -2
  288. package/types/lucca-front-ng-form-label.d.ts +13 -5
  289. package/types/lucca-front-ng-form.d.ts +2 -0
  290. package/types/lucca-front-ng-forms-phone-number-input.d.ts +22 -15
  291. package/types/lucca-front-ng-forms-rich-text-input.d.ts +17 -2
  292. package/types/lucca-front-ng-forms.d.ts +58 -10
  293. package/types/lucca-front-ng-gauge.d.ts +1 -1
  294. package/types/lucca-front-ng-grid.d.ts +23 -8
  295. package/types/lucca-front-ng-highlight-data.d.ts +16 -1
  296. package/types/lucca-front-ng-highlight-text.d.ts +12 -0
  297. package/types/lucca-front-ng-horizontal-navigation.d.ts +40 -3
  298. package/types/lucca-front-ng-impersonation.d.ts +33 -0
  299. package/types/lucca-front-ng-index-table.d.ts +19 -4
  300. package/types/lucca-front-ng-inline-message.d.ts +11 -4
  301. package/types/lucca-front-ng-input.d.ts +2 -1
  302. package/types/lucca-front-ng-link.d.ts +13 -3
  303. package/types/lucca-front-ng-listbox.d.ts +28 -4
  304. package/types/lucca-front-ng-listing.d.ts +1 -1
  305. package/types/lucca-front-ng-loading.d.ts +8 -1
  306. package/types/lucca-front-ng-modal.d.ts +1 -1
  307. package/types/lucca-front-ng-multi-select.d.ts +39 -37
  308. package/types/lucca-front-ng-numeric-badge.d.ts +9 -2
  309. package/types/lucca-front-ng-option.d.ts +10 -10
  310. package/types/lucca-front-ng-pagination.d.ts +8 -1
  311. package/types/lucca-front-ng-popover.d.ts +52 -46
  312. package/types/lucca-front-ng-popover2.d.ts +35 -12
  313. package/types/lucca-front-ng-progress-bar.d.ts +8 -1
  314. package/types/lucca-front-ng-progress-stepper.d.ts +8 -1
  315. package/types/lucca-front-ng-read-more.d.ts +8 -1
  316. package/types/lucca-front-ng-resource-card.d.ts +10 -1
  317. package/types/lucca-front-ng-segmented-control-tabs.d.ts +2 -0
  318. package/types/lucca-front-ng-select.d.ts +30 -28
  319. package/types/lucca-front-ng-simple-select.d.ts +20 -19
  320. package/types/lucca-front-ng-skeleton.d.ts +51 -19
  321. package/types/lucca-front-ng-software-icon.d.ts +11 -6
  322. package/types/lucca-front-ng-sortable-list.d.ts +2 -1
  323. package/types/lucca-front-ng-status-badge.d.ts +9 -2
  324. package/types/lucca-front-ng-tag.d.ts +9 -2
  325. package/types/lucca-front-ng-time.d.ts +90 -9
  326. package/types/lucca-front-ng-title.d.ts +6 -1
  327. package/types/lucca-front-ng-tooltip.d.ts +7 -2
  328. package/types/lucca-front-ng-tree-select.d.ts +2 -3
  329. package/types/lucca-front-ng-user-popover.d.ts +4 -3
  330. package/types/lucca-front-ng-user.d.ts +39 -25
  331. package/types/lucca-front-ng-vertical-navigation.d.ts +1 -1
@@ -1,43 +1,39 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { InjectionToken, Provider, OnInit, TemplateRef, PipeTransform, OnChanges, OnDestroy, Type, SimpleChanges, ElementRef, AfterViewInit, Signal, EventEmitter, WritableSignal, ChangeDetectorRef } from '@angular/core';
2
+ import { InjectionToken, OnDestroy, ElementRef, Signal, EventEmitter, TemplateRef, WritableSignal, OnInit, ChangeDetectorRef, Type, Provider, PipeTransform } from '@angular/core';
3
+ import * as rxjs from 'rxjs';
4
+ import { Observable, Subject, BehaviorSubject, ReplaySubject } from 'rxjs';
3
5
  import * as _lucca_front_ng_filter_pills from '@lucca-front/ng/filter-pills';
4
6
  import { FilterPillInputComponent } from '@lucca-front/ng/filter-pills';
5
7
  import { OverlayConfig, OverlayRef } from '@angular/cdk/overlay';
6
8
  import { ControlValueAccessor } from '@angular/forms';
7
9
  import { PortalContent, LuTranslation } from '@lucca-front/ng/core';
8
- import * as rxjs from 'rxjs';
9
- import { BehaviorSubject, Observable, Subject, ReplaySubject } from 'rxjs';
10
+ import * as _lucca_front_ng_core_select from '@lucca-front/ng/core-select';
11
+ import { Treeitem } from '@lucca-front/ng/listbox';
10
12
  import { Highlightable } from '@angular/cdk/a11y';
11
13
 
12
- interface ILuOptionContext<T> {
13
- isDisabled$: BehaviorSubject<boolean>;
14
- option$: BehaviorSubject<T | undefined>;
15
- destroy(): void;
14
+ interface SelectDataSourceParams {
15
+ clue: string;
16
+ page: number;
16
17
  }
17
- declare const LU_OPTION_CONTEXT: InjectionToken<ILuOptionContext<unknown>>;
18
- declare function provideOptionContext(): Provider;
19
-
20
- declare class LuSimpleSelectDefaultOptionComponent {
21
- context: ILuOptionContext<{
22
- name?: string;
23
- }>;
24
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuSimpleSelectDefaultOptionComponent, never>;
25
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuSimpleSelectDefaultOptionComponent, "lu-simple-select-default-option", never, {}, {}, never, never, true, never>;
18
+ interface SelectDataSource<TOption, TGroup = never> {
19
+ paramsChange?: Observable<unknown>;
20
+ /** Optional debounce in ms for clue-based re-queries (useful for API data sources) */
21
+ clueDebounceMs?: number;
22
+ getOptions(params: SelectDataSourceParams): Observable<readonly TOption[]>;
23
+ getTotalCount?(params: SelectDataSourceParams): Observable<number>;
24
+ getGroupOptions?: [TGroup] extends [never] ? never : (group: TGroup) => Observable<TOption[]>;
25
+ reset?(): void;
26
26
  }
27
-
28
- declare class LuDisabledOptionDirective {
29
- private context;
30
- set isDisabled(disabled: boolean | null);
31
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuDisabledOptionDirective, never>;
32
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuDisabledOptionDirective, "[luDisabledOption]", never, { "isDisabled": { "alias": "luDisabledOption"; "required": false; }; }, {}, never, never, true, never>;
33
- }
34
-
35
27
  interface LuOptionContext<T> {
36
28
  $implicit: T;
37
29
  }
38
30
  interface LuOptionGroupByContext<T, TGroup> {
39
31
  $implicit: LuOptionGroup<T, TGroup>;
40
32
  }
33
+ interface LuOptionGrouping<TOption, TGroup> {
34
+ selector: (option: TOption) => TGroup;
35
+ content: PortalContent<LuOptionGroupByContext<TOption, TGroup>>;
36
+ }
41
37
  interface LuOptionGroup<T, TGroup> {
42
38
  key: TGroup;
43
39
  options: T[];
@@ -58,122 +54,33 @@ declare abstract class ɵIsSelectedStrategy<TOption> {
58
54
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<ɵIsSelectedStrategy<any>>;
59
55
  }
60
56
 
61
- interface LuOptionGrouping<TOption, TGroup> {
62
- selector: (option: TOption) => TGroup;
63
- content: PortalContent<LuOptionGroupByContext<TOption, TGroup>>;
64
- }
65
- declare class LuOptionGroupDirective<TOption, TValue, TGroup> implements LuOptionGrouping<TOption, TGroup>, OnInit {
66
- select: ALuSelectInputComponent<TOption, TValue>;
67
- selector: (option: TOption) => TGroup;
68
- readonly content: TemplateRef<LuOptionGroupByContext<TOption, TGroup>>;
69
- static ngTemplateContextGuard<TOption, TValue, TGroup>(_dir: LuOptionGroupDirective<TOption, TValue, TGroup>, _ctx: unknown): _ctx is LuOptionGroupByContext<TOption, TGroup>;
70
- ngOnInit(): void;
71
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionGroupDirective<any, any, any>, never>;
72
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuOptionGroupDirective<any, any, any>, "[luOptionGroup]", never, { "select": { "alias": "luOptionGroupSelect"; "required": false; }; "selector": { "alias": "luOptionGroupBy"; "required": false; }; }, {}, never, never, true, never>;
73
- }
74
-
75
- /**
76
- * Generate groups with a O(n) complexity. Note that the options must be sorted by group.
77
- */
78
- declare function generateGroups<T, TGroup>(options: T[], selector: (option: T) => TGroup): LuOptionGroup<T, TGroup>[];
79
- declare class LuOptionGroupPipe<T, TGroup> implements PipeTransform {
80
- transform(options: T[], selector: (option: T) => TGroup): LuOptionGroup<T, TGroup>[];
81
- transform(options: T, selector: (option: T) => TGroup): LuOptionGroup<T, TGroup>;
82
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionGroupPipe<any, any>, never>;
83
- static ɵpipe: _angular_core.ɵɵPipeDeclaration<LuOptionGroupPipe<any, any>, "luOptionGroup", true>;
84
- }
85
-
86
- declare class LuOptionOutletDirective<T> implements OnChanges, OnDestroy {
87
- luOptionOutlet?: Type<unknown> | TemplateRef<LuOptionContext<T>>;
88
- luOptionOutletValue: T | undefined;
89
- luOptionShowNull: boolean;
90
- private viewContainerRef;
91
- private injector;
92
- private embeddedViewRef?;
93
- private componentRef?;
94
- private optionContext;
95
- ngOnChanges(changes: SimpleChanges): void;
96
- ngOnDestroy(): void;
97
- private clearContainer;
98
- private createComponent;
99
- private updateRefValue;
100
- static ngTemplateContextGuard<T>(_dir: LuOptionOutletDirective<T>, _ctx: unknown): _ctx is void;
101
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionOutletDirective<any>, never>;
102
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuOptionOutletDirective<any>, "[luOptionOutlet]", never, { "luOptionOutlet": { "alias": "luOptionOutlet"; "required": false; }; "luOptionOutletValue": { "alias": "luOptionOutletValue"; "required": false; }; "luOptionShowNull": { "alias": "luOptionShowNull"; "required": false; }; }, {}, never, never, true, never>;
103
- }
104
-
105
- interface OptionTranslate {
106
- onlyParent: string;
107
- onlyChildren: string;
108
- }
109
-
110
- type GroupTemplateLocation = 'group-header' | 'option' | 'none';
111
- /**
112
- * In order to avoid a blinking when we go from empty clue to a clue
113
- * We need to delay the change of group displayer location by waiting for the options to be updated.
114
- */
115
- declare function getGroupTemplateLocation(hasGrouping$: Observable<boolean>, clueChange$: Observable<string>, options$: Observable<readonly unknown[]>, searchable?: boolean): Observable<GroupTemplateLocation>;
116
-
117
57
  declare class CoreSelectPanelElement<T> implements Highlightable, OnDestroy {
118
58
  #private;
119
59
  readonly elementRef: ElementRef<HTMLElement>;
60
+ readonly role: _angular_core.Signal<"treeitem" | "option">;
120
61
  readonly id: _angular_core.WritableSignal<string>;
121
62
  readonly elementId: _angular_core.InputSignal<string>;
122
63
  readonly idAttribute: _angular_core.Signal<string>;
123
64
  readonly isSelected: _angular_core.ModelSignal<boolean>;
124
65
  readonly option: _angular_core.InputSignal<T>;
66
+ readonly disabledInput: _angular_core.InputSignal<boolean>;
67
+ readonly disabledRef: _angular_core.WritableSignal<boolean>;
125
68
  readonly isHighlighted: _angular_core.WritableSignal<boolean>;
126
69
  selected: _angular_core.OutputEmitterRef<void>;
127
- disabled: boolean;
70
+ get disabled(): boolean;
71
+ set disabled(disabled: boolean);
128
72
  constructor();
129
73
  ngOnDestroy(): void;
130
74
  setActiveStyles(): void;
131
75
  setInactiveStyles(): void;
76
+ onMouseOver(event: MouseEvent): void;
132
77
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSelectPanelElement<any>, never>;
133
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSelectPanelElement<any>, "[luCoreSelectPanelElement]", ["luCoreSelectPanelElement"], { "elementId": { "alias": "elementId"; "required": false; "isSignal": true; }; "isSelected": { "alias": "isSelected"; "required": false; "isSignal": true; }; "option": { "alias": "option"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "isSelected": "isSelectedChange"; "selected": "selected"; }, never, never, true, never>;
134
- }
135
-
136
- declare class LuOptionComponent<T> implements AfterViewInit, OnDestroy, OnInit {
137
- protected selectableItem: CoreSelectPanelElement<any>;
138
- readonly intl: _angular_core.InputSignalWithTransform<OptionTranslate, Partial<OptionTranslate>>;
139
- hasOptionItemClass: boolean;
140
- optionTpl: TemplateRef<LuOptionContext<T>> | Type<unknown> | undefined;
141
- option?: T;
142
- grouping?: LuOptionGrouping<T, unknown>;
143
- readonly hasChildren: _angular_core.InputSignalWithTransform<boolean, unknown>;
144
- onlyParent: _angular_core.OutputEmitterRef<void>;
145
- onlyChildren: _angular_core.OutputEmitterRef<void>;
146
- readonly groupIndex: _angular_core.InputSignal<number>;
147
- readonly optionIndex: _angular_core.InputSignalWithTransform<string, string | number>;
148
- scrollIntoViewOptions: ScrollIntoViewOptions;
149
- readonly groupTemplateLocation: _angular_core.InputSignal<GroupTemplateLocation>;
150
- private readonly optionContext?;
151
- private cdr;
152
- private subscription?;
153
- get id(): string;
154
- protected elementRef: ElementRef<HTMLElement>;
155
- protected selectId: number;
156
- constructor();
157
- ngOnInit(): void;
158
- ngOnDestroy(): void;
159
- ngAfterViewInit(): void;
160
- selectOption($event: Event): void;
161
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionComponent<any>, never>;
162
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuOptionComponent<any>, "lu-select-option", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "optionTpl": { "alias": "optionTpl"; "required": false; }; "option": { "alias": "option"; "required": false; }; "grouping": { "alias": "grouping"; "required": false; }; "hasChildren": { "alias": "hasChildren"; "required": false; "isSignal": true; }; "groupIndex": { "alias": "groupIndex"; "required": false; "isSignal": true; }; "optionIndex": { "alias": "optionIndex"; "required": true; "isSignal": true; }; "scrollIntoViewOptions": { "alias": "scrollIntoViewOptions"; "required": false; }; "groupTemplateLocation": { "alias": "groupTemplateLocation"; "required": false; "isSignal": true; }; }, { "onlyParent": "onlyParent"; "onlyChildren": "onlyChildren"; }, never, never, true, never>;
163
- }
164
-
165
- declare class LuOptionDirective<TOption, TValue> {
166
- private templateRef;
167
- set select(select: ALuSelectInputComponent<TOption, TValue>);
168
- constructor(templateRef: TemplateRef<LuOptionContext<TOption>>);
169
- static ngTemplateContextGuard<TOption, TValue>(_dir: LuOptionDirective<TOption, TValue>, _ctx: unknown): _ctx is LuOptionContext<TOption>;
170
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionDirective<any, any>, never>;
171
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuOptionDirective<any, any>, "[luOption]", never, { "select": { "alias": "luOptionSelect"; "required": false; }; }, {}, never, never, true, never>;
78
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CoreSelectPanelElement<any>, "[luCoreSelectPanelElement]", ["luCoreSelectPanelElement"], { "elementId": { "alias": "elementId"; "required": false; "isSignal": true; }; "isSelected": { "alias": "isSelected"; "required": false; "isSignal": true; }; "option": { "alias": "option"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "isSelected": "isSelectedChange"; "selected": "selected"; }, never, never, true, never>;
172
79
  }
173
80
 
174
81
  interface CoreSelectKeyManagerOptions<T> {
175
82
  queryList: Signal<readonly CoreSelectPanelElement<T>[]>;
176
- options$: Observable<readonly T[]>;
83
+ options: Signal<readonly T[]>;
177
84
  optionComparer: LuOptionComparer<T>;
178
85
  activeOptionIdChanged$: EventEmitter<string>;
179
86
  clueChange$: Observable<string>;
@@ -185,11 +92,33 @@ declare class CoreSelectKeyManager<T> {
185
92
  get activeItem(): CoreSelectPanelElement<T> | undefined;
186
93
  get activeItemIndex(): number;
187
94
  setActiveItem(index: number): void;
95
+ setActiveItemByElement(item: CoreSelectPanelElement<T>): void;
188
96
  highlightOption(option: T): void;
189
97
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CoreSelectKeyManager<any>, never>;
190
98
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<CoreSelectKeyManager<any>>;
191
99
  }
192
100
 
101
+ /**
102
+ * Shared floating surface for the simple/multi select panels.
103
+ *
104
+ * Carries the popover surface (elevation, scroll viewport, positioning) that used to live on the
105
+ * deprecated `.lu-picker-panel` / `.lu-picker-content` styles, so panels no longer depend on them.
106
+ * The projected content (a `lu-listbox`, an "add option" row, a footer…) is laid out inside the
107
+ * scrollable content area.
108
+ */
109
+ declare class LuSelectPanelLayoutComponent {
110
+ /** Applies the `is-loading` state on the scroll content while options are being fetched. */
111
+ readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
112
+ /** Enables a focus trap on the scroll content (used by the single select panel). */
113
+ readonly trapFocus: _angular_core.InputSignalWithTransform<boolean, unknown>;
114
+ /** `tabindex` to set on the scroll content, or `null` to leave it non-focusable. */
115
+ readonly contentTabIndex: _angular_core.InputSignal<number>;
116
+ /** Emitted when the scroll content is scrolled (used to trigger pagination). */
117
+ readonly scrolled: _angular_core.OutputEmitterRef<Event>;
118
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuSelectPanelLayoutComponent, never>;
119
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuSelectPanelLayoutComponent, "lu-select-panel-layout", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "trapFocus": { "alias": "trapFocus"; "required": false; "isSignal": true; }; "contentTabIndex": { "alias": "contentTabIndex"; "required": false; "isSignal": true; }; }, { "scrolled": "scrolled"; }, never, ["*"], true, never>;
120
+ }
121
+
193
122
  declare class LuCoreSelectPanelHeaderDirective {
194
123
  readonly templateRef: TemplateRef<void>;
195
124
  readonly select: _angular_core.InputSignal<ALuSelectInputComponent<unknown, unknown> | ALuSelectInputComponent<unknown, unknown[]>>;
@@ -201,7 +130,6 @@ declare class LuCoreSelectPanelHeaderDirective {
201
130
 
202
131
  declare abstract class LuSelectPanelRef<TOption, TValue> {
203
132
  closed: EventEmitter<void>;
204
- previousPage: EventEmitter<void>;
205
133
  nextPage: EventEmitter<void>;
206
134
  valueChanged: EventEmitter<TValue>;
207
135
  clueChanged: EventEmitter<string>;
@@ -214,8 +142,16 @@ declare abstract class LuSelectPanelRef<TOption, TValue> {
214
142
  close(): void;
215
143
  }
216
144
 
145
+ type GroupTemplateLocation = 'group-header' | 'option' | 'none';
146
+ /**
147
+ * In order to avoid a blinking when we go from empty clue to a clue
148
+ * We need to delay the change of group displayer location by waiting for the options to be updated.
149
+ */
150
+ declare function getGroupTemplateLocation(hasGrouping: Signal<boolean>, clue: Signal<string>, searchable?: boolean): Signal<GroupTemplateLocation>;
151
+
217
152
  interface CoreSelectPanelInstance<T = unknown> {
218
153
  options: WritableSignal<CoreSelectPanelElement<T>[]>;
154
+ pointerNavigation: Signal<boolean>;
219
155
  }
220
156
  declare const SELECT_PANEL_INSTANCE: InjectionToken<CoreSelectPanelInstance<unknown>>;
221
157
 
@@ -248,7 +184,7 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
248
184
  protected filterPillHost: _lucca_front_ng_filter_pills.FilterPillComponent;
249
185
  protected afterCloseFn?: () => void;
250
186
  protected updatePositionFn?: () => void;
251
- protected filterPillMode: boolean;
187
+ filterPillMode: boolean;
252
188
  readonly ignorePresentation: _angular_core.InputSignalWithTransform<boolean, unknown>;
253
189
  selectParent$?: Subject<void>;
254
190
  selectChildren$?: Subject<void>;
@@ -256,35 +192,41 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
256
192
  readonly panelOpened: _angular_core.OutputEmitterRef<void>;
257
193
  readonly highlightedOption: _angular_core.OutputEmitterRef<TOption>;
258
194
  private readonly inputElementRef;
259
- readonly placeholder$: BehaviorSubject<string>;
260
195
  readonly disabled$: BehaviorSubject<boolean>;
261
196
  readonly filterPillDisabled: Signal<boolean>;
262
197
  readonly prefix: _angular_core.InputSignal<PortalContent>;
263
- set placeholder(value: string);
264
- set clearable(value: boolean);
265
- get clearable(): boolean;
198
+ readonly placeholder: _angular_core.InputSignal<string>;
199
+ readonly clearableInput: _angular_core.InputSignalWithTransform<boolean, boolean>;
200
+ readonly isClearable: Signal<boolean>;
266
201
  get searchable(): boolean;
267
202
  protected readonly computedAddOptionLabel: Signal<PortalContent>;
268
- set addOptionLabel(label: PortalContent);
203
+ readonly addOptionLabelInput: _angular_core.InputSignal<PortalContent>;
269
204
  get addOptionLabel(): PortalContent;
270
- set addOptionStrategy(strategy: CoreSelectAddOptionStrategy);
205
+ readonly addOptionStrategy: _angular_core.InputSignal<CoreSelectAddOptionStrategy>;
271
206
  protected get isSelectedClass(): boolean;
272
207
  protected get isSearchFilledClass(): boolean;
273
208
  protected abstract hasValue(): boolean;
274
209
  get isPanelOpen(): boolean;
275
210
  readonly isPanelOpen$: BehaviorSubject<boolean>;
211
+ readonly panelOpenSignal: Signal<boolean>;
276
212
  readonly activeDescendant$: BehaviorSubject<string>;
213
+ protected manualOptions$: ReplaySubject<readonly TOption[]>;
277
214
  get ariaControls(): string;
278
- overlayConfig?: OverlayConfig;
279
- set loading(value: boolean);
280
- set options(options: readonly TOption[]);
281
- optionComparer: LuOptionComparer<TOption>;
282
- optionKey: (option: TOption) => unknown;
215
+ readonly overlayConfig: _angular_core.InputSignal<OverlayConfig>;
216
+ readonly loadingInput: _angular_core.InputSignal<boolean>;
217
+ readonly optionsInput: _angular_core.InputSignal<readonly TOption[]>;
218
+ readonly optionComparerInput: _angular_core.InputSignal<LuOptionComparer<TOption>>;
219
+ readonly optionKeyInput: _angular_core.InputSignal<(option: TOption) => unknown>;
283
220
  readonly noClueIcon: _angular_core.InputSignalWithTransform<boolean, unknown>;
284
221
  readonly inputTabindex: _angular_core.InputSignal<number>;
285
222
  readonly compact: _angular_core.InputSignalWithTransform<boolean, unknown>;
286
223
  readonly colorPicker: _angular_core.InputSignalWithTransform<boolean, unknown>;
287
224
  protected get isNoClueIconClass(): boolean;
225
+ readonly options: _angular_core.WritableSignal<readonly TOption[]>;
226
+ readonly loading: _angular_core.WritableSignal<boolean>;
227
+ readonly clearable: _angular_core.WritableSignal<boolean>;
228
+ readonly optionComparer: _angular_core.WritableSignal<LuOptionComparer<TOption>>;
229
+ readonly optionKey: _angular_core.WritableSignal<(option: TOption) => unknown>;
288
230
  readonly optionTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<TOption>>>;
289
231
  readonly valueTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<LuOptionContext<TOption>>>;
290
232
  readonly panelHeaderTpl: _angular_core.ModelSignal<Type<unknown> | TemplateRef<void>>;
@@ -304,28 +246,28 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
304
246
  clueChange: _angular_core.OutputRef<string>;
305
247
  readonly nextPage$: Subject<void>;
306
248
  nextPage: _angular_core.OutputRef<void>;
307
- readonly previousPage: _angular_core.OutputEmitterRef<void>;
308
249
  readonly addOption: _angular_core.OutputEmitterRef<string>;
309
250
  readonly valueSignal: _angular_core.WritableSignal<TValue>;
310
251
  readonly isFilterPillEmpty: Signal<boolean>;
311
252
  readonly isFilterPillClearable: Signal<boolean>;
312
253
  get value(): TValue | null;
313
254
  protected set value(value: TValue | null);
314
- get inputPlaceholder(): string | null;
255
+ get inputPlaceholder(): string | null | undefined;
315
256
  clueChanged(clue: string, skipPanelOpen?: boolean): void;
316
257
  protected _value: TValue | null;
317
- readonly options$: ReplaySubject<readonly TOption[]>;
318
- readonly loading$: BehaviorSubject<boolean>;
258
+ private getDefaultDataSource;
259
+ readonly dataSource: _angular_core.ModelSignal<SelectDataSource<TOption, unknown>>;
260
+ readonly dataSourceOptions: Signal<readonly TOption[]>;
319
261
  clue: string | null;
320
262
  lastEmittedClue: string;
321
- readonly clue$: Observable<string>;
322
- readonly addOptionStrategy$: BehaviorSubject<CoreSelectAddOptionStrategy>;
323
- shouldDisplayAddOption$: Observable<boolean>;
263
+ readonly clue$: rxjs.Observable<string>;
264
+ readonly shouldDisplayAddOption: Signal<boolean>;
324
265
  protected onChange?: (value: TValue | null) => void;
325
266
  protected onTouched?: () => void;
326
267
  get panelRef(): LuSelectPanelRef<TOption, TValue> | undefined;
327
268
  protected _panelRef?: LuSelectPanelRef<TOption, TValue>;
328
269
  protected readonly destroyed$: Subject<void>;
270
+ private readonly injector;
329
271
  constructor();
330
272
  onClickOpenPanel($event: Event): void;
331
273
  onKeyDownNavigation(event: Event): void;
@@ -351,8 +293,7 @@ declare abstract class ALuSelectInputComponent<TOption, TValue> implements OnDes
351
293
  onFilterPillOpened(): void;
352
294
  onFilterPillClosed(): void;
353
295
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ALuSelectInputComponent<any, any>, never>;
354
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ALuSelectInputComponent<any, any>, never, never, { "ignorePresentation": { "alias": "ignorePresentation"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "addOptionLabel": { "alias": "addOptionLabel"; "required": false; }; "addOptionStrategy": { "alias": "addOptionStrategy"; "required": false; }; "overlayConfig": { "alias": "overlayConfig"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionComparer": { "alias": "optionComparer"; "required": false; }; "optionKey": { "alias": "optionKey"; "required": false; }; "noClueIcon": { "alias": "noClueIcon"; "required": false; "isSignal": true; }; "inputTabindex": { "alias": "inputTabindex"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "colorPicker": { "alias": "colorPicker"; "required": false; "isSignal": true; }; "optionTpl": { "alias": "optionTpl"; "required": false; "isSignal": true; }; "valueTpl": { "alias": "valueTpl"; "required": false; "isSignal": true; }; "panelHeaderTpl": { "alias": "panelHeaderTpl"; "required": false; "isSignal": true; }; "panelFooterTpl": { "alias": "panelFooterTpl"; "required": false; "isSignal": true; }; }, { "panelClosed": "panelClosed"; "panelOpened": "panelOpened"; "highlightedOption": "highlightedOption"; "optionTpl": "optionTplChange"; "valueTpl": "valueTplChange"; "panelHeaderTpl": "panelHeaderTplChange"; "panelFooterTpl": "panelFooterTplChange"; "clueChange": "clueChange"; "nextPage": "nextPage"; "previousPage": "previousPage"; "addOption": "addOption"; }, never, never, true, never>;
355
- static ngAcceptInputType_clearable: unknown;
296
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ALuSelectInputComponent<any, any>, never, never, { "ignorePresentation": { "alias": "ignorePresentation"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "clearableInput": { "alias": "clearable"; "required": false; "isSignal": true; }; "addOptionLabelInput": { "alias": "addOptionLabel"; "required": false; "isSignal": true; }; "addOptionStrategy": { "alias": "addOptionStrategy"; "required": false; "isSignal": true; }; "overlayConfig": { "alias": "overlayConfig"; "required": false; "isSignal": true; }; "loadingInput": { "alias": "loading"; "required": false; "isSignal": true; }; "optionsInput": { "alias": "options"; "required": false; "isSignal": true; }; "optionComparerInput": { "alias": "optionComparer"; "required": false; "isSignal": true; }; "optionKeyInput": { "alias": "optionKey"; "required": false; "isSignal": true; }; "noClueIcon": { "alias": "noClueIcon"; "required": false; "isSignal": true; }; "inputTabindex": { "alias": "inputTabindex"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "colorPicker": { "alias": "colorPicker"; "required": false; "isSignal": true; }; "optionTpl": { "alias": "optionTpl"; "required": false; "isSignal": true; }; "valueTpl": { "alias": "valueTpl"; "required": false; "isSignal": true; }; "panelHeaderTpl": { "alias": "panelHeaderTpl"; "required": false; "isSignal": true; }; "panelFooterTpl": { "alias": "panelFooterTpl"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; }, { "panelClosed": "panelClosed"; "panelOpened": "panelOpened"; "highlightedOption": "highlightedOption"; "optionTpl": "optionTplChange"; "valueTpl": "valueTplChange"; "panelHeaderTpl": "panelHeaderTplChange"; "panelFooterTpl": "panelFooterTplChange"; "clueChange": "clueChange"; "nextPage": "nextPage"; "addOption": "addOption"; "dataSource": "dataSourceChange"; }, never, never, true, never>;
356
297
  }
357
298
 
358
299
  declare function provideLuSelectLabelsAndIds(): Provider[];
@@ -373,11 +314,11 @@ declare class TreeDisplayPipe<T> implements PipeTransform {
373
314
 
374
315
  declare class LuDisplayerDirective<TOption, TValue> {
375
316
  private templateRef;
376
- set select(select: ALuSelectInputComponent<TOption, TValue>);
317
+ readonly select: _angular_core.InputSignal<ALuSelectInputComponent<TOption, TValue>>;
377
318
  constructor(templateRef: TemplateRef<LuOptionContext<TOption>>);
378
319
  static ngTemplateContextGuard<TOption, TValue>(_dir: LuDisplayerDirective<TOption, TValue>, _ctx: unknown): _ctx is LuOptionContext<TOption>;
379
320
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuDisplayerDirective<any, any>, never>;
380
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuDisplayerDirective<any, any>, "[luDisplayer]", never, { "select": { "alias": "luDisplayerSelect"; "required": false; }; }, {}, never, never, true, never>;
321
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuDisplayerDirective<any, any>, "[luDisplayer]", never, { "select": { "alias": "luDisplayerSelect"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
381
322
  }
382
323
 
383
324
  declare class LuCoreSelectNoClueDirective {
@@ -386,6 +327,114 @@ declare class LuCoreSelectNoClueDirective {
386
327
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuCoreSelectNoClueDirective, "lu-simple-select[noClue],lu-multi-select[noClue]", never, {}, {}, never, never, true, never>;
387
328
  }
388
329
 
330
+ interface ILuOptionContext<T> {
331
+ isDisabled$: BehaviorSubject<boolean>;
332
+ option$: BehaviorSubject<T | undefined>;
333
+ destroy(): void;
334
+ }
335
+ declare const LU_OPTION_CONTEXT: InjectionToken<ILuOptionContext<unknown>>;
336
+ declare function provideOptionContext(): Provider;
337
+
338
+ declare class LuSimpleSelectDefaultOptionComponent {
339
+ context: ILuOptionContext<{
340
+ name?: string;
341
+ }>;
342
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuSimpleSelectDefaultOptionComponent, never>;
343
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuSimpleSelectDefaultOptionComponent, "lu-core-select-default-option", never, {}, {}, never, never, true, never>;
344
+ }
345
+
346
+ declare class LuDisabledOptionDirective {
347
+ readonly isDisabled: _angular_core.InputSignal<boolean>;
348
+ private context;
349
+ constructor();
350
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuDisabledOptionDirective, never>;
351
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuDisabledOptionDirective, "[luDisabledOption]", never, { "isDisabled": { "alias": "luDisabledOption"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
352
+ }
353
+
354
+ declare class LuOptionGroupDirective<TOption, TValue, TGroup> {
355
+ readonly select: _angular_core.InputSignal<ALuSelectInputComponent<TOption, TValue>>;
356
+ readonly selector: _angular_core.InputSignal<(option: TOption) => TGroup>;
357
+ readonly content: TemplateRef<LuOptionGroupByContext<TOption, TGroup>>;
358
+ static ngTemplateContextGuard<TOption, TValue, TGroup>(_dir: LuOptionGroupDirective<TOption, TValue, TGroup>, _ctx: unknown): _ctx is LuOptionGroupByContext<TOption, TGroup>;
359
+ constructor();
360
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionGroupDirective<any, any, any>, never>;
361
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuOptionGroupDirective<any, any, any>, "[luOptionGroup]", never, { "select": { "alias": "luOptionGroupSelect"; "required": true; "isSignal": true; }; "selector": { "alias": "luOptionGroupBy"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
362
+ }
363
+
364
+ /**
365
+ * Generate groups with a O(n) complexity. Note that the options must be sorted by group.
366
+ */
367
+ declare function generateGroups<T, TGroup>(options: T[], selector: (option: T) => TGroup): LuOptionGroup<T, TGroup>[];
368
+ declare class LuOptionGroupPipe<T, TGroup> implements PipeTransform {
369
+ transform(options: T[], selector: (option: T) => TGroup): LuOptionGroup<T, TGroup>[];
370
+ transform(options: T, selector: (option: T) => TGroup): LuOptionGroup<T, TGroup>;
371
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionGroupPipe<any, any>, never>;
372
+ static ɵpipe: _angular_core.ɵɵPipeDeclaration<LuOptionGroupPipe<any, any>, "luOptionGroup", true>;
373
+ }
374
+
375
+ declare class LuOptionOutletDirective<T> implements OnDestroy {
376
+ readonly luOptionOutlet: _angular_core.InputSignal<Type<unknown> | TemplateRef<LuOptionContext<T>>>;
377
+ readonly luOptionOutletValue: _angular_core.InputSignal<T>;
378
+ readonly luOptionShowNull: _angular_core.InputSignal<boolean>;
379
+ private viewContainerRef;
380
+ private injector;
381
+ private embeddedViewRef?;
382
+ private componentRef?;
383
+ private optionContext;
384
+ constructor();
385
+ ngOnDestroy(): void;
386
+ private clearContainer;
387
+ static ngTemplateContextGuard<T>(_dir: LuOptionOutletDirective<T>, _ctx: unknown): _ctx is void;
388
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionOutletDirective<any>, never>;
389
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuOptionOutletDirective<any>, "[luOptionOutlet]", never, { "luOptionOutlet": { "alias": "luOptionOutlet"; "required": false; "isSignal": true; }; "luOptionOutletValue": { "alias": "luOptionOutletValue"; "required": false; "isSignal": true; }; "luOptionShowNull": { "alias": "luOptionShowNull"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
390
+ }
391
+
392
+ interface OptionTranslate {
393
+ onlyParent: string;
394
+ onlyChildren: string;
395
+ }
396
+
397
+ declare class LuOptionComponent<T> implements OnInit {
398
+ #private;
399
+ protected selectableItem: CoreSelectPanelElement<any>;
400
+ readonly intl: _angular_core.InputSignalWithTransform<OptionTranslate, Partial<OptionTranslate>>;
401
+ readonly optionTpl: _angular_core.InputSignal<Type<unknown> | TemplateRef<LuOptionContext<T>>>;
402
+ readonly option: _angular_core.InputSignal<T>;
403
+ readonly grouping: _angular_core.InputSignal<LuOptionGrouping<T, unknown>>;
404
+ readonly hasChildren: _angular_core.InputSignalWithTransform<boolean, unknown>;
405
+ readonly onlyParent: _angular_core.OutputEmitterRef<void>;
406
+ readonly onlyChildren: _angular_core.OutputEmitterRef<void>;
407
+ readonly groupIndex: _angular_core.InputSignal<number>;
408
+ readonly optionIndex: _angular_core.InputSignalWithTransform<string, string | number>;
409
+ readonly scrollIntoViewOptions: _angular_core.InputSignal<ScrollIntoViewOptions>;
410
+ readonly groupTemplateLocation: _angular_core.InputSignal<GroupTemplateLocation>;
411
+ /**
412
+ * Present only when the consumer projects nested `[treeitem]` content (tree selects).
413
+ * Detected here — and not on the inner `lu-listbox-option` — because Angular content
414
+ * queries do not traverse the `ng-content` re-projection boundary.
415
+ */
416
+ readonly treeitemContent: _angular_core.Signal<Treeitem>;
417
+ readonly optionContext: _angular_core.Signal<_lucca_front_ng_core_select.ILuOptionContext<unknown>>;
418
+ private cdr;
419
+ get id(): string;
420
+ protected elementRef: ElementRef<HTMLElement>;
421
+ protected selectId: number;
422
+ constructor();
423
+ ngOnInit(): void;
424
+ selectOption($event: Event): void;
425
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionComponent<any>, never>;
426
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuOptionComponent<any>, "lu-select-option", never, { "intl": { "alias": "intl"; "required": false; "isSignal": true; }; "optionTpl": { "alias": "optionTpl"; "required": false; "isSignal": true; }; "option": { "alias": "option"; "required": false; "isSignal": true; }; "grouping": { "alias": "grouping"; "required": false; "isSignal": true; }; "hasChildren": { "alias": "hasChildren"; "required": false; "isSignal": true; }; "groupIndex": { "alias": "groupIndex"; "required": false; "isSignal": true; }; "optionIndex": { "alias": "optionIndex"; "required": true; "isSignal": true; }; "scrollIntoViewOptions": { "alias": "scrollIntoViewOptions"; "required": false; "isSignal": true; }; "groupTemplateLocation": { "alias": "groupTemplateLocation"; "required": false; "isSignal": true; }; }, { "onlyParent": "onlyParent"; "onlyChildren": "onlyChildren"; }, ["treeitemContent"], ["[treeitem]"], true, never>;
427
+ }
428
+
429
+ declare class LuOptionDirective<TOption, TValue> {
430
+ private templateRef;
431
+ readonly select: _angular_core.InputSignal<ALuSelectInputComponent<TOption, TValue>>;
432
+ constructor(templateRef: TemplateRef<LuOptionContext<TOption>>);
433
+ static ngTemplateContextGuard<TOption, TValue>(_dir: LuOptionDirective<TOption, TValue>, _ctx: unknown): _ctx is LuOptionContext<TOption>;
434
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuOptionDirective<any, any>, never>;
435
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LuOptionDirective<any, any>, "[luOption]", never, { "select": { "alias": "luOptionSelect"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
436
+ }
437
+
389
438
  declare const applySearchDelimiter: (clue: string, delimiter: string) => string;
390
439
 
391
440
  declare class LuIsOptionSelectedPipe<T> implements PipeTransform {
@@ -395,5 +444,5 @@ declare class LuIsOptionSelectedPipe<T> implements PipeTransform {
395
444
  static ɵpipe: _angular_core.ɵɵPipeDeclaration<LuIsOptionSelectedPipe<any>, "luIsOptionSelected", true>;
396
445
  }
397
446
 
398
- export { ALuSelectInputComponent, CORE_SELECT_API_TOTAL_COUNT_PROVIDER, CoreSelectKeyManager, LU_CORE_SELECT_TRANSLATIONS, LU_OPTION_CONTEXT, LuCoreSelectNoClueDirective, LuCoreSelectPanelHeaderDirective, LuCoreSelectTotalCountDirective, LuDisabledOptionDirective, LuDisplayerDirective, LuIsOptionSelectedPipe, LuOptionDirective, LuOptionGroupDirective, LuSelectPanelRef, LuSimpleSelectDefaultOptionComponent, SELECT_ID, SELECT_LABEL, SELECT_LABEL_ID, SELECT_PANEL_INSTANCE, TreeDisplayPipe, addAttributesOnCdkContainer, applySearchDelimiter, coreSelectDefaultOptionComparer, coreSelectDefaultOptionKey, luCoreSelectTranslations, provideLuSelectLabelsAndIds, provideOptionContext, CoreSelectPanelElement as ɵCoreSelectPanelElement, ɵIsSelectedStrategy, LuOptionComponent as ɵLuOptionComponent, LuOptionGroupPipe as ɵLuOptionGroupPipe, LuOptionOutletDirective as ɵLuOptionOutletDirective, generateGroups as ɵgenerateGroups, getGroupTemplateLocation as ɵgetGroupTemplateLocation };
399
- export type { CoreSelectAddOptionStrategy, CoreSelectApiTotalCountProvider, CoreSelectPanelInstance, ILuOptionContext, LuCoreSelectLabel, LuOptionComparer, LuOptionContext, LuOptionGroup, LuOptionGroupByContext, LuOptionGrouping, TreeGenerator, TreeGroupingFn, TreeNode };
447
+ export { ALuSelectInputComponent, CORE_SELECT_API_TOTAL_COUNT_PROVIDER, CoreSelectKeyManager, LU_CORE_SELECT_TRANSLATIONS, LU_OPTION_CONTEXT, LuCoreSelectNoClueDirective, LuCoreSelectPanelHeaderDirective, LuCoreSelectTotalCountDirective, LuDisabledOptionDirective, LuDisplayerDirective, LuIsOptionSelectedPipe, LuOptionDirective, LuOptionGroupDirective, LuSelectPanelLayoutComponent, LuSelectPanelRef, LuSimpleSelectDefaultOptionComponent, SELECT_ID, SELECT_LABEL, SELECT_LABEL_ID, SELECT_PANEL_INSTANCE, TreeDisplayPipe, addAttributesOnCdkContainer, applySearchDelimiter, coreSelectDefaultOptionComparer, coreSelectDefaultOptionKey, luCoreSelectTranslations, provideLuSelectLabelsAndIds, provideOptionContext, CoreSelectPanelElement as ɵCoreSelectPanelElement, ɵIsSelectedStrategy, LuOptionComponent as ɵLuOptionComponent, LuOptionGroupPipe as ɵLuOptionGroupPipe, LuOptionOutletDirective as ɵLuOptionOutletDirective, generateGroups as ɵgenerateGroups, getGroupTemplateLocation as ɵgetGroupTemplateLocation };
448
+ export type { CoreSelectAddOptionStrategy, CoreSelectApiTotalCountProvider, CoreSelectPanelInstance, ILuOptionContext, LuCoreSelectLabel, LuOptionComparer, LuOptionContext, LuOptionGroup, LuOptionGroupByContext, LuOptionGrouping, SelectDataSource, SelectDataSourceParams, TreeGenerator, TreeGroupingFn, TreeNode };
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { PipeTransform, InjectionToken, TemplateRef, Type, OnDestroy, Signal, EffectCleanupRegisterFn, CreateEffectOptions, EffectRef, InputOptionsWithTransform } from '@angular/core';
2
+ import { PipeTransform, InjectionToken, TemplateRef, Type, OnDestroy, Signal, input, EffectCleanupRegisterFn, CreateEffectOptions, EffectRef, InputOptionsWithTransform } from '@angular/core';
3
3
  import { UrlTree, ActivatedRoute, Params } from '@angular/router';
4
4
  export { DecorativePalette, PrClass as LuClass, Palette } from '@lucca/prisme/core';
5
5
 
@@ -178,6 +178,25 @@ declare function assertNotNil<T>(input: T, errorMessage?: string): asserts input
178
178
  declare const isNilOrEmptyString: (str: string | Nil) => str is Nil | "";
179
179
  declare const isNotNilOrEmptyString: (str: string | Nil) => str is string;
180
180
 
181
+ /**
182
+ * Reads the `--commons-pushPanel-inlineSize` design token — the inline-end space reserved for a
183
+ * docked panel that shrinks the page content — from the document root, in pixels.
184
+ * Returns 0 when the token is unset or cannot be parsed as a pixel length.
185
+ */
186
+ declare function getPushPanelInlineSize(element: Element): number;
187
+ /**
188
+ * Builds a per-side viewport margin for a CDK `FlexibleConnectedPositionStrategy` so connected
189
+ * overlays (popovers, tooltips, selects…) are pushed out of the reserved pushPanel zone on the
190
+ * inline-end instead of overflowing into it. `base` is added to every side so an existing uniform
191
+ * margin is preserved.
192
+ */
193
+ declare function getPushPanelViewportMargin(element: Element, base?: number): {
194
+ start: number;
195
+ end: number;
196
+ top: number;
197
+ bottom: number;
198
+ };
199
+
181
200
  type PortalContent<T = unknown> = string | TemplateRef<T> | Type<unknown>;
182
201
  declare const PORTAL_CONTEXT: InjectionToken<unknown>;
183
202
 
@@ -236,6 +255,18 @@ type EffectWithDepsInput = ReadonlyArray<Signal<unknown>> | Record<string, Signa
236
255
  * La plupart du temps, seule la lecture des signaux est intéressante à tracker, pas les actions qui en découlent.
237
256
  */
238
257
  declare function ɵeffectWithDeps<const T extends EffectWithDepsInput>(dependencies: T, action: (...values: [...SignalsValue<T>, EffectCleanupRegisterFn]) => unknown, options?: CreateEffectOptions): EffectRef;
258
+ /**
259
+ * Utilitaire pour synchroniser un input signal avec une props via un setter.
260
+ * Évite la répétition des ɵeffectWithDeps + isNotNil.
261
+ */
262
+ declare function syncInputSignal<T>(signal: ReturnType<typeof input<T>>, setter: (value: T) => void): void;
263
+
264
+ declare class IntlParamsPipe implements PipeTransform {
265
+ #private;
266
+ transform(value: string, args: Record<string, string | number>): string;
267
+ static ɵfac: i0.ɵɵFactoryDeclaration<IntlParamsPipe, never>;
268
+ static ɵpipe: i0.ɵɵPipeDeclaration<IntlParamsPipe, "intlParams", true>;
269
+ }
239
270
 
240
271
  /**
241
272
  * @deprecated use `LuTranslation` instead.
@@ -250,6 +281,8 @@ interface ILuTranslation<T> {
250
281
  pt?: T;
251
282
  }
252
283
  type LuTranslation<T> = Record<string, T>;
284
+ type LuPluralForms = Partial<Record<Intl.LDMLPluralRule, string>>;
285
+ declare function getIntlPluralLabel(pluralForms: Intl.PluralRules, label: LuPluralForms, count: number): string;
253
286
 
254
287
  declare function getIntl<T>(translationsToken: InjectionToken<LuTranslation<T>> | InjectionToken<ILuTranslation<T>>): T;
255
288
  /**
@@ -274,12 +307,7 @@ declare function getIntl<T>(translationsToken: InjectionToken<LuTranslation<T>>
274
307
  declare function intlInputOptions<T1>(token1: InjectionToken<LuTranslation<T1>>): [T1, InputOptionsWithTransform<T1, Partial<T1>>];
275
308
  declare function intlInputOptions<T1, T2>(token1: InjectionToken<LuTranslation<T1>>, token2: InjectionToken<LuTranslation<T2>>): [T1 & T2, InputOptionsWithTransform<T1 & T2, Partial<T1 & T2>>];
276
309
 
277
- declare class IntlParamsPipe implements PipeTransform {
278
- #private;
279
- transform(value: string, args: Record<string, string | number>): string;
280
- static ɵfac: i0.ɵɵFactoryDeclaration<IntlParamsPipe, never>;
281
- static ɵpipe: i0.ɵɵPipeDeclaration<IntlParamsPipe, "intlParams", true>;
282
- }
310
+ declare const LOCALE_PLURAL_RULES: InjectionToken<Intl.PluralRules>;
283
311
 
284
312
  interface ILuTree<T> {
285
313
  value: T;
@@ -287,5 +315,5 @@ interface ILuTree<T> {
287
315
  disabled?: boolean;
288
316
  }
289
317
 
290
- export { ALuDateAdapter, ALuOnCloseSubscriber, ALuOnOpenSubscriber, ALuOnScrollBottomSubscriber, ELuDateGranularity, IntlParamsPipe, LU_NATIVE_DATE_ADAPTER_OPTIONS, LuNativeDateAdapter, LuStringDateAdapter, LuTypeGuardPipe, PORTAL_CONTEXT, PortalDirective, assertNotNil, defaultBreakpoints, generateId, getIntl, intlInputOptions, isNil, isNilOrEmptyString, isNotNil, isNotNilOrEmptyString, isRouterLinkParam, luDefaultNativeDateAdapterOptions, ɵeffectWithDeps };
291
- export type { At, Breakpoint, EffectWithDepsInput, EnumValue, ILuDateAdapter, ILuGroup, ILuNativeDateAdapterOptions, ILuOnCloseSubscriber, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber, ILuTranslation, ILuTree, LuDateGranularity, LuTranslation, PortalContent, ResponsiveConfig, ResponsiveProperty, RouterLinkParam };
318
+ export { ALuDateAdapter, ALuOnCloseSubscriber, ALuOnOpenSubscriber, ALuOnScrollBottomSubscriber, ELuDateGranularity, IntlParamsPipe, LOCALE_PLURAL_RULES, LU_NATIVE_DATE_ADAPTER_OPTIONS, LuNativeDateAdapter, LuStringDateAdapter, LuTypeGuardPipe, PORTAL_CONTEXT, PortalDirective, assertNotNil, defaultBreakpoints, generateId, getIntl, getIntlPluralLabel, getPushPanelInlineSize, getPushPanelViewportMargin, intlInputOptions, isNil, isNilOrEmptyString, isNotNil, isNotNilOrEmptyString, isRouterLinkParam, luDefaultNativeDateAdapterOptions, syncInputSignal, ɵeffectWithDeps };
319
+ export type { At, Breakpoint, EffectWithDepsInput, EnumValue, ILuDateAdapter, ILuGroup, ILuNativeDateAdapterOptions, ILuOnCloseSubscriber, ILuOnOpenSubscriber, ILuOnScrollBottomSubscriber, ILuTranslation, ILuTree, LuDateGranularity, LuPluralForms, LuTranslation, PortalContent, ResponsiveConfig, ResponsiveProperty, RouterLinkParam };