@lucca-front/ng 22.0.5 → 22.0.6

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 (405) hide show
  1. package/README.md +6 -0
  2. package/fesm2022/lucca-front-ng-a11y.mjs +9 -9
  3. package/fesm2022/lucca-front-ng-activity-feed.mjs +12 -12
  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 +37 -36
  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 +3 -3
  12. package/fesm2022/lucca-front-ng-callout.mjs +24 -24
  13. package/fesm2022/lucca-front-ng-chip.mjs +4 -4
  14. package/fesm2022/lucca-front-ng-chip.mjs.map +1 -1
  15. package/fesm2022/lucca-front-ng-clear.mjs +4 -4
  16. package/fesm2022/lucca-front-ng-clear.mjs.map +1 -1
  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 +12 -12
  20. package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
  21. package/fesm2022/lucca-front-ng-container.mjs +3 -3
  22. package/fesm2022/lucca-front-ng-core-select-api.mjs +9 -9
  23. package/fesm2022/lucca-front-ng-core-select-department.mjs +6 -6
  24. package/fesm2022/lucca-front-ng-core-select-establishment.mjs +9 -9
  25. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +6 -6
  26. package/fesm2022/lucca-front-ng-core-select-legal-units.mjs +8 -8
  27. package/fesm2022/lucca-front-ng-core-select-legal-units.mjs.map +1 -1
  28. package/fesm2022/lucca-front-ng-core-select-occupation-category.mjs +3 -3
  29. package/fesm2022/lucca-front-ng-core-select-user.mjs +20 -20
  30. package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
  31. package/fesm2022/lucca-front-ng-core-select.mjs +56 -56
  32. package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
  33. package/fesm2022/lucca-front-ng-core.mjs +18 -18
  34. package/fesm2022/lucca-front-ng-data-table.mjs +27 -24
  35. package/fesm2022/lucca-front-ng-data-table.mjs.map +1 -1
  36. package/fesm2022/lucca-front-ng-date.mjs +40 -40
  37. package/fesm2022/lucca-front-ng-date2.mjs +24 -24
  38. package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
  39. package/fesm2022/lucca-front-ng-department.mjs +24 -24
  40. package/fesm2022/lucca-front-ng-dialog.mjs +55 -48
  41. package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
  42. package/fesm2022/lucca-front-ng-divider.mjs +3 -3
  43. package/fesm2022/lucca-front-ng-dropdown.mjs +40 -40
  44. package/fesm2022/lucca-front-ng-empty-state.mjs +9 -9
  45. package/fesm2022/lucca-front-ng-error-page.mjs +3 -3
  46. package/fesm2022/lucca-front-ng-establishment.mjs +33 -33
  47. package/fesm2022/lucca-front-ng-fancy-box.mjs +3 -3
  48. package/fesm2022/lucca-front-ng-file-upload.mjs +33 -26
  49. package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
  50. package/fesm2022/lucca-front-ng-filter-pills.mjs +25 -25
  51. package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
  52. package/fesm2022/lucca-front-ng-footer.mjs +3 -3
  53. package/fesm2022/lucca-front-ng-form-field.mjs +18 -18
  54. package/fesm2022/lucca-front-ng-form-header.mjs +3 -3
  55. package/fesm2022/lucca-front-ng-form-label.mjs +3 -3
  56. package/fesm2022/lucca-front-ng-form.mjs +3 -3
  57. package/fesm2022/lucca-front-ng-formly.mjs +58 -58
  58. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +6 -6
  59. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs +3 -3
  60. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +6 -6
  61. package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +3 -3
  62. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +35 -35
  63. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
  64. package/fesm2022/lucca-front-ng-forms.mjs +50 -42
  65. package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
  66. package/fesm2022/lucca-front-ng-gauge.mjs +3 -3
  67. package/fesm2022/lucca-front-ng-grid.mjs +6 -6
  68. package/fesm2022/lucca-front-ng-highlight-data.mjs +3 -3
  69. package/fesm2022/lucca-front-ng-highlight-section.mjs +3 -3
  70. package/fesm2022/lucca-front-ng-highlight-text.mjs +3 -3
  71. package/fesm2022/lucca-front-ng-horizontal-navigation.mjs +9 -9
  72. package/fesm2022/lucca-front-ng-impersonation.mjs +3 -3
  73. package/fesm2022/lucca-front-ng-index-table.mjs +30 -30
  74. package/fesm2022/lucca-front-ng-inline-message.mjs +3 -3
  75. package/fesm2022/lucca-front-ng-input.mjs +21 -21
  76. package/fesm2022/lucca-front-ng-link.mjs +6 -6
  77. package/fesm2022/lucca-front-ng-listbox.mjs +9 -9
  78. package/fesm2022/lucca-front-ng-listing.mjs +6 -6
  79. package/fesm2022/lucca-front-ng-loading.mjs +3 -3
  80. package/fesm2022/lucca-front-ng-main-layout.mjs +6 -6
  81. package/fesm2022/lucca-front-ng-mobile-push.mjs +3 -3
  82. package/fesm2022/lucca-front-ng-modal.mjs +22 -22
  83. package/fesm2022/lucca-front-ng-multi-select.mjs +36 -36
  84. package/fesm2022/lucca-front-ng-new-badge.mjs +3 -3
  85. package/fesm2022/lucca-front-ng-number-format.mjs +6 -6
  86. package/fesm2022/lucca-front-ng-number.mjs +7 -7
  87. package/fesm2022/lucca-front-ng-option.mjs +130 -130
  88. package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
  89. package/fesm2022/lucca-front-ng-page-header.mjs +3 -3
  90. package/fesm2022/lucca-front-ng-pagination.mjs +3 -3
  91. package/fesm2022/lucca-front-ng-plg-push.mjs +3 -3
  92. package/fesm2022/lucca-front-ng-popover.mjs +17 -17
  93. package/fesm2022/lucca-front-ng-popover2.mjs +11 -8
  94. package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
  95. package/fesm2022/lucca-front-ng-popup.mjs +10 -10
  96. package/fesm2022/lucca-front-ng-progress-bar.mjs +3 -3
  97. package/fesm2022/lucca-front-ng-progress-stepper.mjs +6 -6
  98. package/fesm2022/lucca-front-ng-read-more.mjs +5 -5
  99. package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
  100. package/fesm2022/lucca-front-ng-resource-card.mjs +12 -12
  101. package/fesm2022/lucca-front-ng-safe-content.mjs +10 -10
  102. package/fesm2022/lucca-front-ng-scroll-box.mjs +4 -4
  103. package/fesm2022/lucca-front-ng-scroll-box.mjs.map +1 -1
  104. package/fesm2022/lucca-front-ng-scroll.mjs +9 -10
  105. package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
  106. package/fesm2022/lucca-front-ng-segmented-control-tabs.mjs +6 -6
  107. package/fesm2022/lucca-front-ng-segmented-control.mjs +6 -6
  108. package/fesm2022/lucca-front-ng-select.mjs +14 -14
  109. package/fesm2022/lucca-front-ng-sidepanel.mjs +7 -7
  110. package/fesm2022/lucca-front-ng-simple-select.mjs +12 -12
  111. package/fesm2022/lucca-front-ng-software-icon-wrapper.mjs +6 -6
  112. package/fesm2022/lucca-front-ng-software-icon.mjs +3 -3
  113. package/fesm2022/lucca-front-ng-sortable-list.mjs +6 -6
  114. package/fesm2022/lucca-front-ng-status-badge.mjs +3 -3
  115. package/fesm2022/lucca-front-ng-table-of-content.mjs +6 -6
  116. package/fesm2022/lucca-front-ng-text-flow.mjs +3 -3
  117. package/fesm2022/lucca-front-ng-time.mjs +18 -18
  118. package/fesm2022/lucca-front-ng-title.mjs +10 -10
  119. package/fesm2022/lucca-front-ng-toast.mjs +10 -10
  120. package/fesm2022/lucca-front-ng-tree-select.mjs +6 -6
  121. package/fesm2022/lucca-front-ng-user-popover.mjs +18 -18
  122. package/fesm2022/lucca-front-ng-user.mjs +59 -59
  123. package/fesm2022/lucca-front-ng-vertical-navigation.mjs +12 -12
  124. package/llms/SKILL.md +248 -0
  125. package/llms/references/components/activity-feed/activity-feed.component.md +292 -0
  126. package/llms/references/components/activity-feed/activity-feed.md +90 -0
  127. package/llms/references/components/animations/animations.component.md +11 -0
  128. package/llms/references/components/animations/animations.md +7 -0
  129. package/llms/references/components/api-select/api-select.md +40 -0
  130. package/llms/references/components/app-layout/app-layout.component.md +65 -0
  131. package/llms/references/components/app-layout/app-layout.md +81 -0
  132. package/llms/references/components/approbation-inbox/approbation-inbox.component.md +960 -0
  133. package/llms/references/components/approbation-inbox/approbation-inbox.md +135 -0
  134. package/llms/references/components/avatar/avatar.component.md +563 -0
  135. package/llms/references/components/avatar/avatar.md +93 -0
  136. package/llms/references/components/box/box.component.md +119 -0
  137. package/llms/references/components/box/box.md +88 -0
  138. package/llms/references/components/breadcrumbs/breadcrumbs.component.md +59 -0
  139. package/llms/references/components/breadcrumbs/breadcrumbs.md +87 -0
  140. package/llms/references/components/bubble-icon/bubble-icon.component.md +56 -0
  141. package/llms/references/components/bubble-icon/bubble-icon.md +72 -0
  142. package/llms/references/components/bubble-illustration/bubble-illustration.component.md +54 -0
  143. package/llms/references/components/bubble-illustration/bubble-illustration.md +77 -0
  144. package/llms/references/components/button/button.component.md +252 -0
  145. package/llms/references/components/button/button.md +124 -0
  146. package/llms/references/components/calendar/calendar.component.md +708 -0
  147. package/llms/references/components/calendar/calendar.md +104 -0
  148. package/llms/references/components/calendar2/calendar2.md +64 -0
  149. package/llms/references/components/callout/callout.component.md +237 -0
  150. package/llms/references/components/callout/callout.md +243 -0
  151. package/llms/references/components/callout-disclosure/callout-disclosure.component.md +230 -0
  152. package/llms/references/components/callout-disclosure/callout-disclosure.md +196 -0
  153. package/llms/references/components/callout-popover/callout-popover.component.md +170 -0
  154. package/llms/references/components/callout-popover/callout-popover.md +201 -0
  155. package/llms/references/components/card/card.component.md +62 -0
  156. package/llms/references/components/card/card.md +8 -0
  157. package/llms/references/components/checkbox/checkbox.component.md +50 -0
  158. package/llms/references/components/checkbox/checkbox.md +74 -0
  159. package/llms/references/components/chip/chip.component.md +131 -0
  160. package/llms/references/components/chip/chip.md +95 -0
  161. package/llms/references/components/clear/clear.component.md +38 -0
  162. package/llms/references/components/clear/clear.md +79 -0
  163. package/llms/references/components/code/code.component.md +33 -0
  164. package/llms/references/components/code/code.md +47 -0
  165. package/llms/references/components/color/color.md +32 -0
  166. package/llms/references/components/color-input/color-input.md +33 -0
  167. package/llms/references/components/color-picker/color-picker.component.md +29 -0
  168. package/llms/references/components/color-picker/color-picker.md +25 -0
  169. package/llms/references/components/comment/comment.component.md +436 -0
  170. package/llms/references/components/comment/comment.md +125 -0
  171. package/llms/references/components/container/container.component.md +41 -0
  172. package/llms/references/components/container/container.md +74 -0
  173. package/llms/references/components/core-select-department/core-select-department.md +37 -0
  174. package/llms/references/components/core-select-establishment/core-select-establishment.md +40 -0
  175. package/llms/references/components/core-select-job-qualification/core-select-job-qualification.md +25 -0
  176. package/llms/references/components/core-select-occupation-category/core-select-occupation-category.md +25 -0
  177. package/llms/references/components/core-select-user/core-select-user.md +75 -0
  178. package/llms/references/components/data-presentation/data-presentation.component.md +47 -0
  179. package/llms/references/components/data-presentation/data-presentation.md +49 -0
  180. package/llms/references/components/data-table/data-table.component.md +1603 -0
  181. package/llms/references/components/data-table/data-table.md +290 -0
  182. package/llms/references/components/date/date.component.md +31 -0
  183. package/llms/references/components/date/date.md +140 -0
  184. package/llms/references/components/dateinput/dateinput.component.md +99 -0
  185. package/llms/references/components/dateinput/dateinput.md +198 -0
  186. package/llms/references/components/daterangeinput/daterangeinput.component.md +49 -0
  187. package/llms/references/components/daterangeinput/daterangeinput.md +186 -0
  188. package/llms/references/components/departmentselect/departmentselect.component.md +43 -0
  189. package/llms/references/components/departmentselect/departmentselect.md +43 -0
  190. package/llms/references/components/dialog/dialog.component.md +462 -0
  191. package/llms/references/components/dialog/dialog.md +335 -0
  192. package/llms/references/components/divider/divider.component.md +35 -0
  193. package/llms/references/components/divider/divider.md +88 -0
  194. package/llms/references/components/dropdown/dropdown.component.md +272 -0
  195. package/llms/references/components/dropdown/dropdown.md +172 -0
  196. package/llms/references/components/duration-picker/duration-picker.md +155 -0
  197. package/llms/references/components/empty-state/empty-state.component.md +226 -0
  198. package/llms/references/components/empty-state/empty-state.md +62 -0
  199. package/llms/references/components/errorpage/errorpage.component.md +57 -0
  200. package/llms/references/components/errorpage/errorpage.md +75 -0
  201. package/llms/references/components/establishmentselect/establishmentselect.component.md +30 -0
  202. package/llms/references/components/establishmentselect/establishmentselect.md +42 -0
  203. package/llms/references/components/fancy-dialog/fancy-dialog.component.md +9 -0
  204. package/llms/references/components/fancy-dialog/fancy-dialog.md +107 -0
  205. package/llms/references/components/fancybox/fancybox.component.md +48 -0
  206. package/llms/references/components/fancybox/fancybox.md +75 -0
  207. package/llms/references/components/fieldset/fieldset.component.md +86 -0
  208. package/llms/references/components/fieldset/fieldset.md +119 -0
  209. package/llms/references/components/filedropzone/filedropzone.component.md +16 -0
  210. package/llms/references/components/filedropzone/filedropzone.md +61 -0
  211. package/llms/references/components/fileentry/fileentry.component.md +58 -0
  212. package/llms/references/components/fileentry/fileentry.md +246 -0
  213. package/llms/references/components/fileupload/fileupload.component.md +91 -0
  214. package/llms/references/components/fileupload/fileupload.md +246 -0
  215. package/llms/references/components/filterbar/filterbar.component.md +302 -0
  216. package/llms/references/components/filterbar/filterbar.md +134 -0
  217. package/llms/references/components/filterpills/filterpills.component.md +60 -0
  218. package/llms/references/components/filterpills/filterpills.md +180 -0
  219. package/llms/references/components/footer/footer.component.md +66 -0
  220. package/llms/references/components/footer/footer.md +115 -0
  221. package/llms/references/components/form/form.md +37 -0
  222. package/llms/references/components/form-field/form-field.component.md +46 -0
  223. package/llms/references/components/form-field/form-field.md +231 -0
  224. package/llms/references/components/form-header/form-header.md +29 -0
  225. package/llms/references/components/form-label/form-label.component.md +106 -0
  226. package/llms/references/components/form-label/form-label.md +98 -0
  227. package/llms/references/components/gauge/gauge.component.md +55 -0
  228. package/llms/references/components/gauge/gauge.md +73 -0
  229. package/llms/references/components/grid/grid.component.md +15 -0
  230. package/llms/references/components/grid/grid.md +112 -0
  231. package/llms/references/components/highlight-data/highlight-data.component.md +279 -0
  232. package/llms/references/components/highlight-data/highlight-data.md +115 -0
  233. package/llms/references/components/highlight-section/highlight-section.component.md +185 -0
  234. package/llms/references/components/highlight-section/highlight-section.md +48 -0
  235. package/llms/references/components/highlight-text/highlight-text.component.md +49 -0
  236. package/llms/references/components/highlight-text/highlight-text.md +29 -0
  237. package/llms/references/components/horizontalnavigation/horizontalnavigation.component.md +232 -0
  238. package/llms/references/components/horizontalnavigation/horizontalnavigation.md +95 -0
  239. package/llms/references/components/icons/icons.component.md +59 -0
  240. package/llms/references/components/icons/icons.md +185 -0
  241. package/llms/references/components/impersonation/impersonation.component.md +52 -0
  242. package/llms/references/components/impersonation/impersonation.md +52 -0
  243. package/llms/references/components/index-table/index-table.component.md +2528 -0
  244. package/llms/references/components/index-table/index-table.md +243 -0
  245. package/llms/references/components/inlinemessage/inlinemessage.component.md +58 -0
  246. package/llms/references/components/inlinemessage/inlinemessage.md +57 -0
  247. package/llms/references/components/input-framed/input-framed.component.md +714 -0
  248. package/llms/references/components/input-framed/input-framed.md +50 -0
  249. package/llms/references/components/link/link.component.md +153 -0
  250. package/llms/references/components/link/link.md +124 -0
  251. package/llms/references/components/listbox/listbox.component.md +11 -0
  252. package/llms/references/components/listbox/listbox.md +101 -0
  253. package/llms/references/components/listing/listing.component.md +366 -0
  254. package/llms/references/components/listing/listing.md +105 -0
  255. package/llms/references/components/loading/loading.component.md +37 -0
  256. package/llms/references/components/loading/loading.md +91 -0
  257. package/llms/references/components/main-layout/main-layout.component.md +146 -0
  258. package/llms/references/components/main-layout/main-layout.md +78 -0
  259. package/llms/references/components/mobile-push/mobile-push.component.md +62 -0
  260. package/llms/references/components/mobile-push/mobile-push.md +70 -0
  261. package/llms/references/components/mobileheader/mobileheader.component.md +31 -0
  262. package/llms/references/components/mobileheader/mobileheader.md +8 -0
  263. package/llms/references/components/mobilenavigation/mobilenavigation.component.md +43 -0
  264. package/llms/references/components/mobilenavigation/mobilenavigation.md +8 -0
  265. package/llms/references/components/modal/modal.component.md +37 -0
  266. package/llms/references/components/modal/modal.md +61 -0
  267. package/llms/references/components/multi-select/multi-select.component.md +39 -0
  268. package/llms/references/components/multi-select/multi-select.md +426 -0
  269. package/llms/references/components/multilanguagefield/multilanguagefield.component.md +84 -0
  270. package/llms/references/components/multilanguagefield/multilanguagefield.md +362 -0
  271. package/llms/references/components/newbadge/newbadge.component.md +23 -0
  272. package/llms/references/components/newbadge/newbadge.md +38 -0
  273. package/llms/references/components/number-format-input/number-format-input.md +46 -0
  274. package/llms/references/components/number-input/number-input.md +49 -0
  275. package/llms/references/components/numbers/numbers.component.md +46 -0
  276. package/llms/references/components/numbers/numbers.md +7 -0
  277. package/llms/references/components/numericbadge/numericbadge.component.md +66 -0
  278. package/llms/references/components/numericbadge/numericbadge.md +84 -0
  279. package/llms/references/components/onboarding-empty-state/onboarding-empty-state.md +47 -0
  280. package/llms/references/components/pageheader/pageheader.component.md +389 -0
  281. package/llms/references/components/pageheader/pageheader.md +144 -0
  282. package/llms/references/components/pagination/pagination.component.md +96 -0
  283. package/llms/references/components/pagination/pagination.md +107 -0
  284. package/llms/references/components/phonenumberfield/phonenumberfield.component.md +35 -0
  285. package/llms/references/components/phonenumberfield/phonenumberfield.md +131 -0
  286. package/llms/references/components/plg-push/plg-push.component.md +91 -0
  287. package/llms/references/components/plg-push/plg-push.md +82 -0
  288. package/llms/references/components/popover/popover.component.md +130 -0
  289. package/llms/references/components/popover/popover.md +235 -0
  290. package/llms/references/components/popover2/popover2.component.md +103 -0
  291. package/llms/references/components/popover2/popover2.md +89 -0
  292. package/llms/references/components/progress-bar/progress-bar.component.md +33 -0
  293. package/llms/references/components/progress-bar/progress-bar.md +51 -0
  294. package/llms/references/components/progress-stepper/progress-stepper.component.md +281 -0
  295. package/llms/references/components/progress-stepper/progress-stepper.md +70 -0
  296. package/llms/references/components/radiofield/radiofield.component.md +295 -0
  297. package/llms/references/components/radiofield/radiofield.md +122 -0
  298. package/llms/references/components/readmore/readmore.component.md +60 -0
  299. package/llms/references/components/readmore/readmore.md +88 -0
  300. package/llms/references/components/resource-card/resource-card.component.md +216 -0
  301. package/llms/references/components/resource-card/resource-card.md +106 -0
  302. package/llms/references/components/richtextinput/richtextinput.component.md +298 -0
  303. package/llms/references/components/richtextinput/richtextinput.md +275 -0
  304. package/llms/references/components/scroll/scroll.md +45 -0
  305. package/llms/references/components/scrollbox/scrollbox.component.md +63 -0
  306. package/llms/references/components/scrollbox/scrollbox.md +49 -0
  307. package/llms/references/components/section-empty-state/section-empty-state.component.md +9 -0
  308. package/llms/references/components/section-empty-state/section-empty-state.md +41 -0
  309. package/llms/references/components/segmented-control-tabs/segmented-control-tabs.md +50 -0
  310. package/llms/references/components/segmentedcontrol/segmentedcontrol.component.md +198 -0
  311. package/llms/references/components/segmentedcontrol/segmentedcontrol.md +108 -0
  312. package/llms/references/components/select/select.component.md +237 -0
  313. package/llms/references/components/select/select.md +57 -0
  314. package/llms/references/components/select-templating/select-templating.md +117 -0
  315. package/llms/references/components/sidepanel/sidepanel.component.md +56 -0
  316. package/llms/references/components/sidepanel/sidepanel.md +7 -0
  317. package/llms/references/components/simple-select/simple-select.component.md +39 -0
  318. package/llms/references/components/simple-select/simple-select.md +291 -0
  319. package/llms/references/components/skeleton/skeleton.component.md +133 -0
  320. package/llms/references/components/skeleton/skeleton.md +212 -0
  321. package/llms/references/components/skiplinks/skiplinks.component.md +91 -0
  322. package/llms/references/components/skiplinks/skiplinks.md +73 -0
  323. package/llms/references/components/software-icon/software-icon.component.md +61 -0
  324. package/llms/references/components/software-icon/software-icon.md +107 -0
  325. package/llms/references/components/sortable-list/sortable-list.component.md +141 -0
  326. package/llms/references/components/sortable-list/sortable-list.md +84 -0
  327. package/llms/references/components/statusbadge/statusbadge.component.md +56 -0
  328. package/llms/references/components/statusbadge/statusbadge.md +63 -0
  329. package/llms/references/components/switchfield/switchfield.component.md +114 -0
  330. package/llms/references/components/switchfield/switchfield.md +56 -0
  331. package/llms/references/components/tableofcontent/tableofcontent.component.md +55 -0
  332. package/llms/references/components/tableofcontent/tableofcontent.md +41 -0
  333. package/llms/references/components/tags/tags.component.md +112 -0
  334. package/llms/references/components/tags/tags.md +115 -0
  335. package/llms/references/components/text-flow/text-flow.component.md +71 -0
  336. package/llms/references/components/text-flow/text-flow.md +63 -0
  337. package/llms/references/components/textareafield/textareafield.component.md +69 -0
  338. package/llms/references/components/textareafield/textareafield.md +113 -0
  339. package/llms/references/components/textfield/textfield.component.md +617 -0
  340. package/llms/references/components/textfield/textfield.md +161 -0
  341. package/llms/references/components/tile/tile.component.md +91 -0
  342. package/llms/references/components/tile/tile.md +92 -0
  343. package/llms/references/components/time/time.component.md +270 -0
  344. package/llms/references/components/time/time.md +127 -0
  345. package/llms/references/components/time-picker/time-picker.md +63 -0
  346. package/llms/references/components/timelines/timelines.component.md +159 -0
  347. package/llms/references/components/timelines/timelines.md +8 -0
  348. package/llms/references/components/title-and-text/title-and-text.component.md +14 -0
  349. package/llms/references/components/title-and-text/title-and-text.md +60 -0
  350. package/llms/references/components/toasts/toasts.component.md +54 -0
  351. package/llms/references/components/toasts/toasts.md +112 -0
  352. package/llms/references/components/tooltip/tooltip.component.md +86 -0
  353. package/llms/references/components/tooltip/tooltip.md +217 -0
  354. package/llms/references/components/treeselect/treeselect.component.md +62 -0
  355. package/llms/references/components/treeselect/treeselect.md +58 -0
  356. package/llms/references/components/user-select/user-select.md +52 -0
  357. package/llms/references/components/userpopover/userpopover.component.md +50 -0
  358. package/llms/references/components/userpopover/userpopover.md +136 -0
  359. package/llms/references/components/verticalnavigation/verticalnavigation.component.md +236 -0
  360. package/llms/references/components/verticalnavigation/verticalnavigation.md +115 -0
  361. package/llms/references/migrations.md +32 -0
  362. package/llms/references/tools/angular-api.md +337 -0
  363. package/llms/references/tools/animations.md +173 -0
  364. package/llms/references/tools/mixins.md +106 -0
  365. package/llms/references/tools/numbers.md +81 -0
  366. package/llms/references/tools/scrollbox.md +59 -0
  367. package/llms/references/tools/utilitaires.md +951 -0
  368. package/llms/references/types/BubbleIllustration.md +5 -0
  369. package/llms/references/types/DecorativePalette.md +5 -0
  370. package/llms/references/types/Gap.md +5 -0
  371. package/llms/references/types/HighlightDataIllustration.md +5 -0
  372. package/llms/references/types/HighlightSectionIllustration.md +5 -0
  373. package/llms/references/types/LuccaIcon.md +5 -0
  374. package/llms/references/types/MainLayoutIllustrationEndStart.md +5 -0
  375. package/llms/references/types/MainLayoutIllustrationStartEnd.md +5 -0
  376. package/llms.txt +221 -0
  377. package/package.json +12 -6
  378. package/schematics/lib/local-deps/package-lock.json +4 -4
  379. package/schematics/lib/local-deps/package.json +1 -1
  380. package/src/definitions/option/_option-item.scss +7 -4
  381. package/types/lucca-front-ng-a11y.d.ts +1 -1
  382. package/types/lucca-front-ng-api.d.ts +3 -3
  383. package/types/lucca-front-ng-approbation-inbox.d.ts +3 -3
  384. package/types/lucca-front-ng-chip.d.ts +1 -1
  385. package/types/lucca-front-ng-clear.d.ts +1 -1
  386. package/types/lucca-front-ng-comment.d.ts +3 -3
  387. package/types/lucca-front-ng-core-select-establishment.d.ts +1 -1
  388. package/types/lucca-front-ng-core-select.d.ts +2 -2
  389. package/types/lucca-front-ng-core.d.ts +2 -2
  390. package/types/lucca-front-ng-data-table.d.ts +3 -0
  391. package/types/lucca-front-ng-date.d.ts +2 -2
  392. package/types/lucca-front-ng-department.d.ts +2 -2
  393. package/types/lucca-front-ng-dialog.d.ts +1 -1
  394. package/types/lucca-front-ng-establishment.d.ts +2 -2
  395. package/types/lucca-front-ng-file-upload.d.ts +8 -2
  396. package/types/lucca-front-ng-forms.d.ts +1 -1
  397. package/types/lucca-front-ng-modal.d.ts +2 -2
  398. package/types/lucca-front-ng-multi-select.d.ts +1 -1
  399. package/types/lucca-front-ng-popup.d.ts +2 -2
  400. package/types/lucca-front-ng-read-more.d.ts +2 -2
  401. package/types/lucca-front-ng-sidepanel.d.ts +1 -1
  402. package/types/lucca-front-ng-simple-select.d.ts +1 -1
  403. package/types/lucca-front-ng-title.d.ts +2 -2
  404. package/types/lucca-front-ng-toast.d.ts +1 -1
  405. package/types/lucca-front-ng-user.d.ts +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-popover2.mjs","sources":["../../../packages/ng/popover2/popover-focus-trap.ts","../../../packages/ng/popover2/popover-tokens.ts","../../../packages/ng/popover2/translations.ts","../../../packages/ng/popover2/popover.translate.ts","../../../packages/ng/popover2/content/popover-content/popover-content.component.ts","../../../packages/ng/popover2/content/popover-content/popover-content.component.html","../../../packages/ng/popover2/popover2.translate.ts","../../../packages/ng/popover2/popover.directive.ts","../../../packages/ng/popover2/popover.providers.ts","../../../packages/ng/popover2/lucca-front-ng-popover2.ts"],"sourcesContent":["import { FocusTrap, InteractivityChecker } from '@angular/cdk/a11y';\nimport { DOCUMENT } from '@angular/common';\nimport { inject, Injector, NgZone } from '@angular/core';\n\nexport class PopoverFocusTrap extends FocusTrap {\n\toverride startAnchorListener = () => {\n\t\tthis.triggerElement.focus();\n\t\treturn true;\n\t};\n\n\toverride endAnchorListener = () => {\n\t\tthis.triggerElement.focus();\n\t\treturn true;\n\t};\n\n\tconstructor(\n\t\telement: HTMLElement,\n\t\tprivate triggerElement: HTMLElement,\n\t\tprivate injector: Injector,\n\t) {\n\t\tsuper(element, inject(InteractivityChecker), inject(NgZone), inject(DOCUMENT), true, injector);\n\t}\n}\n","import { InjectionToken, TemplateRef, Type } from '@angular/core';\nimport { OverlayRef } from '@angular/cdk/overlay';\n\nexport interface PopoverConfig {\n\ttriggerElement: HTMLElement;\n\tcontent: TemplateRef<unknown> | Type<unknown>;\n\tref: OverlayRef;\n\tcontentId: string;\n\tmaxBlockSize: string | null;\n\tmaxInlineSize: string | null;\n\tdisableCloseButtonFocus: boolean;\n\tdisableInitialTriggerFocus: boolean;\n\tnoCloseButton: boolean;\n}\n\nexport const POPOVER_CONFIG = new InjectionToken<PopoverConfig>('Popover:Config');\n","export const Translations = {\n\t'nl-BE': {\n\t\tclose: 'Sluiten',\n\t},\n\tnl: {\n\t\tclose: 'Sluiten',\n\t},\n\tit: {\n\t\tclose: 'Chiudere',\n\t},\n\tfr: {\n\t\tclose: 'Fermer',\n\t},\n\tpt: {\n\t\tclose: 'Fechar',\n\t},\n\tes: {\n\t\tclose: 'Cerrar',\n\t},\n\tde: {\n\t\tclose: 'Schließen',\n\t},\n\ten: {\n\t\tclose: 'Close',\n\t},\n\tpl: {\n\t\tclose: 'Zamknij',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_POPOVER2_TRANSLATIONS = new InjectionToken('LuPopover2Translations', {\n\tfactory: () => luPopoverTranslations,\n});\n\nexport interface ILuPopover2Label {\n\tclose: string;\n}\n\nexport const luPopoverTranslations: LuTranslation<ILuPopover2Label> = Translations;\n","import { CdkObserveContent } from '@angular/cdk/observers';\nimport { AfterViewInit, ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Injector, input, OnDestroy, ViewEncapsulation } from '@angular/core';\nimport { ButtonComponent } from '@lucca-front/ng/button';\nimport { intlInputOptions, PortalDirective } from '@lucca-front/ng/core';\nimport { IconComponent } from '@lucca-front/ng/icon';\nimport { Subject } from 'rxjs';\nimport { PopoverFocusTrap } from '../../popover-focus-trap';\nimport { POPOVER_CONFIG } from '../../popover-tokens';\nimport { LU_POPOVER2_TRANSLATIONS } from '../../popover.translate';\n\n@Component({\n\tselector: 'lu-popover-content',\n\timports: [ButtonComponent, IconComponent, CdkObserveContent, PortalDirective],\n\ttemplateUrl: './popover-content.component.html',\n\tstyleUrl: './popover-content.component.scss',\n\thost: {\n\t\t'[attr.id]': 'contentId',\n\t\t'(mouseenter)': 'mouseEnter()',\n\t\t'(mouseleave)': 'mouseLeave()',\n\t\t'(window:keydown.escape)': 'close()',\n\t},\n\tencapsulation: ViewEncapsulation.None,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PopoverContentComponent implements AfterViewInit, OnDestroy {\n\treadonly intl = input(...intlInputOptions(LU_POPOVER2_TRANSLATIONS));\n\n\t#elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n\treadonly config = inject(POPOVER_CONFIG);\n\n\treadonly destroyRef = inject(DestroyRef);\n\n\tcontentId = this.config.contentId;\n\n\tcontent = this.config.content;\n\n\t#focusManager = new PopoverFocusTrap(this.#elementRef.nativeElement, this.config.triggerElement, inject(Injector));\n\n\treadonly closed$ = new Subject<void>();\n\n\tcontentChangedDebounceTime = 100;\n\n\treadonly mouseEnter$ = new Subject<void>();\n\n\tmouseEnter(): void {\n\t\tthis.mouseEnter$.next();\n\t}\n\n\treadonly mouseLeave$ = new Subject<void>();\n\n\tmouseLeave(): void {\n\t\tthis.mouseLeave$.next();\n\t}\n\n\tcontentChanged() {\n\t\tthis.config.ref.updatePosition();\n\t}\n\n\tngOnDestroy(): void {\n\t\tthis.#destroyEvents();\n\t\tthis.#focusManager.destroy();\n\t}\n\n\tngAfterViewInit(): void {\n\t\tthis.#focusManager.attachAnchors();\n\t\tif (!this.config.disableCloseButtonFocus) {\n\t\t\tvoid this.#focusManager.focusInitialElementWhenReady();\n\t\t}\n\t}\n\n\tgrabFocus(): void {\n\t\tthis.#focusManager.focusInitialElement();\n\t}\n\n\tclose(): void {\n\t\tif (!this.config.disableInitialTriggerFocus) {\n\t\t\t// Focus initial trigger element\n\t\t\tthis.config.triggerElement.focus();\n\t\t}\n\t\t// Tell the directive we're closed now\n\t\tthis.#destroyEvents();\n\t\t// Detach overlay\n\t\tthis.config.ref.dispose();\n\t}\n\n\t#destroyEvents(): void {\n\t\tthis.closed$.next();\n\t\tthis.closed$.complete();\n\t\tthis.mouseEnter$.complete();\n\t\tthis.mouseLeave$.complete();\n\t}\n}\n","<div\n\tclass=\"popover\"\n\t(cdkObserveContent)=\"contentChanged()\"\n\t[debounce]=\"contentChangedDebounceTime\"\n\t[style.--components-popover-content-maxBlockSize]=\"config.maxBlockSize\"\n\t[style.--components-popover-content-maxInlineSize]=\"config.maxInlineSize\"\n>\n\t@if (!config.noCloseButton) {\n\t\t<div>\n\t\t\t<button type=\"button\" luButton class=\"popover-close button\" (click)=\"close()\">\n\t\t\t\t<lu-icon icon=\"signClose\" />\n\t\t\t\t<span class=\"pr-u-mask\">{{ intl().close }}</span>\n\t\t\t</button>\n\t\t</div>\n\t}\n\t<div class=\"popover-content\">\n\t\t<ng-container *luPortal=\"content\" />\n\t</div>\n</div>\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\n\nexport const LU_POPOVER2_TRANSLATIONS = new InjectionToken('LuPopover2Translations', {\n\tfactory: () => luPopover2Translations,\n});\n\nexport interface LuCalloutLabel {\n\tscreenReaderDescription: string;\n}\n\nexport const luPopover2Translations: LuTranslation<LuCalloutLabel> = {\n\ten: {\n\t\tscreenReaderDescription: '(Tab key to enter panel.)',\n\t},\n\tfr: {\n\t\tscreenReaderDescription: '(Touche de tabulation pour entrer dans le panneau.)',\n\t},\n\tes: {\n\t\tscreenReaderDescription: '(Tabulador para entrar en el panel.)',\n\t},\n\tde: {\n\t\tscreenReaderDescription: '(Tabulatortaste, um in das Panel zu gelangen.)',\n\t},\n};\n","import { ConnectedPosition, ConnectionPositionPair, FlexibleConnectedPositionStrategyOrigin, Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n\tDestroyRef,\n\tDirective,\n\tElementRef,\n\tinject,\n\tInjector,\n\tinput,\n\tInputSignalWithTransform,\n\tlinkedSignal,\n\tmodel,\n\tOnDestroy,\n\toutput,\n\tProvider,\n\tRenderer2,\n\tsignal,\n\tTemplateRef,\n\tType,\n} from '@angular/core';\nimport { takeUntilDestroyed, toObservable } from '@angular/core/rxjs-interop';\nimport { getPushPanelViewportMargin, intlInputOptions, isNotNil, luBooleanAttribute, luNumberAttribute } from '@lucca-front/ng/core';\nimport { combineLatest, debounce, filter, map, merge, Subject, switchMap, take, timer } from 'rxjs';\nimport { PopoverContentComponent } from './content/popover-content/popover-content.component';\nimport { POPOVER_CONFIG, PopoverConfig } from './popover-tokens';\nimport { LU_POPOVER2_TRANSLATIONS } from './popover2.translate';\n\nexport type PopoverPosition = 'above' | 'below' | 'before' | 'after';\n\nexport interface PopoverOpenOptions {\n\t/** Prevents focusing the close button (or first focusable element) when the popover opens. */\n\tdisableCloseButtonFocus?: boolean;\n\t/** Prevents giving the focus back to the trigger element when the popover closes. */\n\tdisableInitialTriggerFocus?: boolean;\n}\n\nlet nextId = 0;\n\nconst defaultPositionPairs: Record<PopoverPosition, ConnectionPositionPair> = {\n\tabove: new ConnectionPositionPair(\n\t\t{ originX: 'center', originY: 'top' },\n\t\t{\n\t\t\toverlayX: 'center',\n\t\t\toverlayY: 'bottom',\n\t\t},\n\t),\n\tbelow: new ConnectionPositionPair(\n\t\t{ originX: 'center', originY: 'bottom' },\n\t\t{\n\t\t\toverlayX: 'center',\n\t\t\toverlayY: 'top',\n\t\t},\n\t),\n\tbefore: new ConnectionPositionPair(\n\t\t{ originX: 'start', originY: 'center' },\n\t\t{\n\t\t\toverlayX: 'end',\n\t\t\toverlayY: 'center',\n\t\t},\n\t),\n\tafter: new ConnectionPositionPair(\n\t\t{ originX: 'end', originY: 'center' },\n\t\t{\n\t\t\toverlayX: 'start',\n\t\t\toverlayY: 'center',\n\t\t},\n\t),\n};\n\n@Directive({\n\tselector: '[luPopover2]',\n\thost: {\n\t\t'[attr.aria-expanded]': 'opened()',\n\t\t'[attr.aria-controls]': 'opened() ? ariaControls : null',\n\t\t'(click)': 'onMouseClick()',\n\t\t'(mouseleave)': 'onMouseLeave()',\n\t\t'(focus)': 'onFocus()',\n\t\t'(mouseenter)': 'onMouseEnter()',\n\t\t'(keydown.Tab)': 'focusBackToContent($event)',\n\t\t'(keydown.Shift.Tab)': 'focusOutBefore()',\n\t},\n\texportAs: 'luPopover2',\n})\nexport class PopoverDirective implements OnDestroy {\n\treadonly overlay = inject(Overlay);\n\n\treadonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n\t#injector = inject(Injector);\n\n\t#destroyRef = inject(DestroyRef);\n\n\t#renderer = inject(Renderer2);\n\n\treadonly intl = input(...intlInputOptions(LU_POPOVER2_TRANSLATIONS));\n\n\treadonly luPopover2 = input<TemplateRef<unknown> | Type<unknown>>();\n\n\treadonly luPopoverPosition = input<PopoverPosition | null>(null);\n\n\treadonly luPopoverMaxBlockSize = input<string | null>(null);\n\n\treadonly luPopoverMaxInlineSize = input<string | null>(null);\n\n\treadonly overlayScrollStrategy = input<'reposition' | 'block' | 'close'>('reposition');\n\n\treadonly luPopoverDisabledInput = input(false, { transform: luBooleanAttribute, alias: 'luPopoverDisabled' });\n\n\treadonly luPopoverTrigger = model<'click' | 'click+hover' | 'hover+focus'>('click');\n\n\treadonly customPositionsInput = input<ConnectionPositionPair[] | null>(null, { alias: 'customPositions' });\n\n\t/**\n\t * Removes close button entirely, this is bad for a11y but sometimes we want it.\n\t */\n\treadonly luPopoverNoCloseButtonInput = input(false, { transform: luBooleanAttribute, alias: 'luPopoverNoCloseButton' });\n\n\t/**\n\t * Allows to anchor the popover to another element instead of the trigger one\n\t * for placement purpose\n\t */\n\treadonly luPopoverAnchor = input<FlexibleConnectedPositionStrategyOrigin>(this.elementRef);\n\n\t/**\n\t * Extra element(s) to treat as \"inside\" the popover for outside-pointer detection. Pointer events\n\t * originating from them won't close the popover. Useful when an external control opens the popover\n\t * (e.g. an input opening it on focus) and clicking it again should not trigger a close-then-reopen.\n\t */\n\treadonly luPopoverIgnoredOutsidePointerTargets = input<HTMLElement | HTMLElement[] | null>(null);\n\n\t// We have to type these two for Compodoc to find the right type and tell Storybook these aren't strings\n\treadonly luPopoverOpenDelay: InputSignalWithTransform<number, number | `${number}`> = input(300, { transform: luNumberAttribute });\n\n\treadonly luPopoverCloseDelay: InputSignalWithTransform<number, number | `${number}`> = input(100, { transform: luNumberAttribute });\n\n\treadonly luPopoverPositionRef = linkedSignal(() => this.luPopoverPosition() || 'above');\n\n\treadonly open$ = new Subject<'focus' | 'click' | 'hover'>();\n\n\treadonly close$ = new Subject<void>();\n\n\treadonly luPopoverClosed = output<void>();\n\n\treadonly luPopoverOpened = output<void>();\n\n\treadonly content = linkedSignal(() => this.luPopover2());\n\treadonly luPopoverDisabled = linkedSignal(() => this.luPopoverDisabledInput());\n\treadonly customPositions = linkedSignal(() => this.customPositionsInput());\n\treadonly luPopoverNoCloseButton = linkedSignal(() => this.luPopoverNoCloseButtonInput());\n\n\t#listenToMouseLeave = false;\n\t#listenToMouseEnter = true;\n\t#skipNextFocus = false;\n\n\t#overlayRef: OverlayRef;\n\n\t#componentRef?: PopoverContentComponent;\n\n\tpositionPairs: Record<PopoverPosition, ConnectionPositionPair> = defaultPositionPairs;\n\n\treadonly opened = signal(false);\n\n\treadonly ariaControls = `popover-content-${nextId++}`;\n\n\t#screenReaderDescription?: HTMLSpanElement;\n\n\t// For when we need to extend this popover and add some extra providers to the panel\n\tprotected additionalProviders: Provider[] = [];\n\n\tconstructor() {\n\t\tcombineLatest([toObservable(this.luPopoverOpenDelay), toObservable(this.luPopoverCloseDelay), toObservable(this.luPopoverTrigger)])\n\t\t\t.pipe(\n\t\t\t\tfilter(([, , trigger]) => {\n\t\t\t\t\treturn trigger.includes('hover') || trigger.includes('focus');\n\t\t\t\t}),\n\t\t\t\tswitchMap(([openDelay, closeDelay]) => {\n\t\t\t\t\treturn merge(this.open$.pipe(map((type) => ['open', type])), this.close$.pipe(map(() => ['close']))).pipe(\n\t\t\t\t\t\tdebounce(([event]) => {\n\t\t\t\t\t\t\treturn timer(event === 'open' ? openDelay : closeDelay);\n\t\t\t\t\t\t}),\n\t\t\t\t\t);\n\t\t\t\t}),\n\t\t\t\ttakeUntilDestroyed(this.#destroyRef),\n\t\t\t)\n\t\t\t.subscribe(([event, type]: ['open' | 'close', 'focus' | 'click' | 'hover']) => {\n\t\t\t\tif (event === 'open') {\n\t\t\t\t\tthis.openPopover({ disableCloseButtonFocus: true, disableInitialTriggerFocus: type === 'hover' });\n\t\t\t\t\tthis.#listenToMouseLeave = type !== 'click';\n\t\t\t\t\tif (type === 'focus' && !this.#screenReaderDescription) {\n\t\t\t\t\t\tthis.#screenReaderDescription = this.#renderer.createElement('span') as HTMLSpanElement;\n\t\t\t\t\t\tthis.#screenReaderDescription.innerText = this.intl().screenReaderDescription;\n\t\t\t\t\t\tthis.#renderer.addClass(this.#screenReaderDescription, 'pr-u-mask');\n\t\t\t\t\t\tthis.#renderer.appendChild(this.elementRef.nativeElement, this.#screenReaderDescription);\n\t\t\t\t\t}\n\t\t\t\t} else if (this.opened()) {\n\t\t\t\t\tthis.#componentRef?.close();\n\t\t\t\t\tthis.#listenToMouseEnter = true;\n\t\t\t\t}\n\t\t\t});\n\t}\n\n\tngOnDestroy(): void {\n\t\tthis.#componentRef?.close();\n\t}\n\n\tonMouseEnter() {\n\t\tif (this.#listenToMouseEnter && this.luPopoverTrigger().includes('hover')) {\n\t\t\tthis.open$.next('hover');\n\t\t\tthis.#listenToMouseLeave = true;\n\t\t}\n\t}\n\n\tonFocus() {\n\t\tif (this.luPopoverTrigger().includes('focus')) {\n\t\t\tif (this.#skipNextFocus) {\n\t\t\t\tthis.#skipNextFocus = false;\n\t\t\t} else {\n\t\t\t\tthis.open$.next('focus');\n\t\t\t\tthis.#listenToMouseLeave = true;\n\t\t\t\tthis.#skipNextFocus = true;\n\t\t\t}\n\t\t}\n\t}\n\n\tonMouseLeave() {\n\t\tif (this.#listenToMouseLeave && this.luPopoverTrigger().includes('hover')) {\n\t\t\tthis.close$.next();\n\t\t\tthis.#listenToMouseEnter = true;\n\t\t}\n\t}\n\n\tonMouseClick(): void {\n\t\tif (this.opened()) {\n\t\t\tthis.#componentRef?.close();\n\t\t\tthis.#listenToMouseLeave = true;\n\t\t} else {\n\t\t\tthis.openPopover();\n\t\t\tthis.#listenToMouseLeave = false;\n\t\t\tthis.#listenToMouseEnter = false;\n\t\t}\n\t}\n\n\tclose(): void {\n\t\tif (this.opened()) {\n\t\t\tthis.#componentRef?.close();\n\t\t\tthis.#listenToMouseLeave = true;\n\t\t}\n\t}\n\n\topenPopover(options?: PopoverOpenOptions): void;\n\t/**\n\t * @deprecated The boolean signature is kept only for backward compatibility. `withBackdrop` is now ignored\n\t * (the popover no longer creates a blocking backdrop). Prefer `openPopover({ disableCloseButtonFocus, disableInitialTriggerFocus })`.\n\t */\n\topenPopover(withBackdrop?: boolean, disableCloseButtonFocus?: boolean, disableInitialTriggerFocus?: boolean): void;\n\topenPopover(optionsOrWithBackdrop?: PopoverOpenOptions | boolean, disableCloseButtonFocusArg?: boolean, disableInitialTriggerFocusArg?: boolean): void {\n\t\t// New options-object form vs deprecated boolean form. With the boolean form the first\n\t\t// positional argument is the now-ignored `withBackdrop`, so the focus flags shift by one.\n\t\tconst options: PopoverOpenOptions =\n\t\t\ttypeof optionsOrWithBackdrop === 'object' && optionsOrWithBackdrop !== null\n\t\t\t\t? optionsOrWithBackdrop\n\t\t\t\t: { disableCloseButtonFocus: disableCloseButtonFocusArg, disableInitialTriggerFocus: disableInitialTriggerFocusArg };\n\t\tconst disableCloseButtonFocus = options.disableCloseButtonFocus ?? false;\n\t\tconst disableInitialTriggerFocus = options.disableInitialTriggerFocus ?? false;\n\t\tconst content = this.content();\n\n\t\tif (!this.opened() && !this.luPopoverDisabled() && isNotNil(content)) {\n\t\t\tthis.opened.set(true);\n\t\t\tthis.luPopoverOpened.emit();\n\t\t\tthis.#overlayRef = this.overlay.create({\n\t\t\t\tpositionStrategy: this.overlay\n\t\t\t\t\t.position()\n\t\t\t\t\t.flexibleConnectedTo(this.luPopoverAnchor())\n\t\t\t\t\t.withViewportMargin(getPushPanelViewportMargin(this.elementRef.nativeElement))\n\t\t\t\t\t.withPositions(this.customPositions() || this.#buildPositions())\n\t\t\t\t\t.withGrowAfterOpen(true),\n\t\t\t\tscrollStrategy: this.overlay.scrollStrategies[this.overlayScrollStrategy() ?? 'reposition'](),\n\t\t\t\t// No blocking backdrop: outside interactions are handled via outsidePointerEvents() below.\n\t\t\t\thasBackdrop: false,\n\t\t\t\tbackdropClass: '',\n\t\t\t\tdisposeOnNavigation: true,\n\t\t\t});\n\t\t\t// Close on outside interaction WITHOUT a blocking backdrop that would\n\t\t\t// intercept pointer events on the rest of the page.\n\t\t\tthis.#overlayRef\n\t\t\t\t.outsidePointerEvents()\n\t\t\t\t.pipe(takeUntilDestroyed(this.#destroyRef))\n\t\t\t\t.subscribe((event) => {\n\t\t\t\t\t// Re-opening from the trigger (or from the anchor element, which may be a wrapper\n\t\t\t\t\t// containing other interactive parts), as well as from explicitly ignored external\n\t\t\t\t\t// controls, is handled by their own open handlers (e.g. the click() HostListener or\n\t\t\t\t\t// an input opening on focus). Ignore those here, otherwise we'd close on pointerdown\n\t\t\t\t\t// then immediately reopen on click.\n\t\t\t\t\tconst target = event.target;\n\t\t\t\t\tif (target instanceof Node && (this.elementRef.nativeElement.contains(target) || this.#anchorElement?.contains(target) || this.#isIgnoredOutsidePointerTarget(target))) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tthis.#componentRef?.close();\n\t\t\t\t\tthis.#listenToMouseLeave = true;\n\t\t\t\t});\n\t\t\tconst config: PopoverConfig = {\n\t\t\t\tcontent: content,\n\t\t\t\tref: this.#overlayRef,\n\t\t\t\tcontentId: this.ariaControls,\n\t\t\t\ttriggerElement: this.elementRef.nativeElement,\n\t\t\t\tmaxBlockSize: this.luPopoverMaxBlockSize(),\n\t\t\t\tmaxInlineSize: this.luPopoverMaxInlineSize(),\n\t\t\t\tdisableCloseButtonFocus: disableCloseButtonFocus,\n\t\t\t\tdisableInitialTriggerFocus: disableInitialTriggerFocus,\n\t\t\t\tnoCloseButton: this.luPopoverNoCloseButton(),\n\t\t\t};\n\t\t\tthis.#componentRef = this.#overlayRef.attach(\n\t\t\t\tnew ComponentPortal(\n\t\t\t\t\tPopoverContentComponent,\n\t\t\t\t\t// No ViewContainerRef: the host must be created in the HTML namespace, even when the trigger is an SVG element\n\t\t\t\t\tnull,\n\t\t\t\t\tInjector.create({\n\t\t\t\t\t\tparent: this.#injector,\n\t\t\t\t\t\tproviders: [{ provide: POPOVER_CONFIG, useValue: config }, { provide: PopoverContentComponent, useValue: this.#componentRef }, ...this.additionalProviders],\n\t\t\t\t\t}),\n\t\t\t\t),\n\t\t\t).instance;\n\t\t\t// On tooltip leave => trigger close\n\t\t\tthis.#componentRef.mouseLeave$.pipe(takeUntilDestroyed(this.#componentRef.destroyRef), takeUntilDestroyed(this.#destroyRef)).subscribe(() => this.close$.next());\n\t\t\t// On tooltip enter => trigger open to keep it opened\n\t\t\tthis.#componentRef.mouseEnter$.pipe(takeUntilDestroyed(this.#componentRef.destroyRef), takeUntilDestroyed(this.#destroyRef)).subscribe(() => this.open$.next('hover'));\n\t\t\tthis.#componentRef.closed$.pipe(take(1), takeUntilDestroyed(this.#componentRef.destroyRef), takeUntilDestroyed(this.#destroyRef)).subscribe(() => {\n\t\t\t\tthis.opened.set(false);\n\t\t\t\tthis.#skipNextFocus = false;\n\t\t\t\tthis.luPopoverClosed.emit();\n\t\t\t\tthis.#listenToMouseLeave = false;\n\t\t\t\tif (this.#screenReaderDescription) {\n\t\t\t\t\tthis.#screenReaderDescription.remove();\n\t\t\t\t\tthis.#screenReaderDescription = undefined;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tfocusBackToContent(event: Event): void {\n\t\tif (this.opened()) {\n\t\t\tevent.preventDefault();\n\t\t\tthis.#componentRef?.grabFocus();\n\t\t}\n\t}\n\n\tfocusOutBefore(): void {\n\t\tif (this.opened() && this.luPopoverTrigger().includes('focus')) {\n\t\t\tthis.#componentRef?.close();\n\t\t}\n\t}\n\n\tupdatePosition() {\n\t\tthis.#overlayRef?.updatePosition();\n\t}\n\n\t#isIgnoredOutsidePointerTarget(target: Node): boolean {\n\t\tconst ignored = this.luPopoverIgnoredOutsidePointerTargets();\n\t\tif (!ignored) {\n\t\t\treturn false;\n\t\t}\n\t\treturn (Array.isArray(ignored) ? ignored : [ignored]).some((element) => element.contains(target));\n\t}\n\n\t/**\n\t * Resolves the anchor to its native element, when it is one. The anchor can be an ElementRef,\n\t * an Element or a plain coordinate (Point); only element-based anchors can contain a pointer target.\n\t */\n\tget #anchorElement(): Element | null {\n\t\tconst anchor = this.luPopoverAnchor();\n\t\tif (anchor instanceof ElementRef) {\n\t\t\treturn anchor.nativeElement as Element;\n\t\t}\n\t\tif (anchor instanceof Element) {\n\t\t\treturn anchor;\n\t\t}\n\t\treturn null;\n\t}\n\n\t#buildPositions(): ConnectedPosition[] {\n\t\tconst opposite: Record<PopoverPosition, PopoverPosition> = {\n\t\t\tbefore: 'after',\n\t\t\tafter: 'before',\n\t\t\tabove: 'below',\n\t\t\tbelow: 'above',\n\t\t};\n\t\t// Once we have opposite, what's remaining?\n\t\tconst remaining: Record<PopoverPosition, PopoverPosition[]> = {\n\t\t\tbefore: ['above', 'below'],\n\t\t\tafter: ['above', 'below'],\n\t\t\tabove: ['before', 'after'],\n\t\t\tbelow: ['before', 'after'],\n\t\t};\n\t\treturn [this.positionPairs[this.luPopoverPositionRef()], this.positionPairs[opposite[this.luPopoverPositionRef()]], ...remaining[this.luPopoverPositionRef()].map((r) => this.positionPairs[r])];\n\t}\n}\n","import { EnvironmentProviders, importProvidersFrom, makeEnvironmentProviders } from '@angular/core';\nimport { OverlayModule } from '@angular/cdk/overlay';\n\nexport function configureLuPopover(): EnvironmentProviders {\n\treturn makeEnvironmentProviders([importProvidersFrom(OverlayModule)]);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["LU_POPOVER2_TRANSLATIONS"],"mappings":";;;;;;;;;;;;;AAIM,MAAO,gBAAiB,SAAQ,SAAS,CAAA;AAW9C,IAAA,WAAA,CACC,OAAoB,EACZ,cAA2B,EAC3B,QAAkB,EAAA;QAE1B,KAAK,CAAC,OAAO,EAAE,MAAM,CAAC,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC;QAHtF,IAAA,CAAA,cAAc,GAAd,cAAc;QACd,IAAA,CAAA,QAAQ,GAAR,QAAQ;QAbR,IAAA,CAAA,mBAAmB,GAAG,MAAK;AACnC,YAAA,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE;AAC3B,YAAA,OAAO,IAAI;AACZ,QAAA,CAAC;QAEQ,IAAA,CAAA,iBAAiB,GAAG,MAAK;AACjC,YAAA,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE;AAC3B,YAAA,OAAO,IAAI;AACZ,QAAA,CAAC;IAQD;AACA;;MCPY,cAAc,GAAG,IAAI,cAAc,CAAgB,gBAAgB;;ACfzE,MAAM,YAAY,GAAG;AAC3B,IAAA,OAAO,EAAE;AACR,QAAA,KAAK,EAAE,SAAS;AAChB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,SAAS;AAChB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,UAAU;AACjB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,QAAQ;AACf,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,QAAQ;AACf,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,QAAQ;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Ac,EAAE,gBAAgB;AAChC,wBAAA,eAAe,EAAE,4BAA4B;AAC7C,wBAAA,qBAAqB,EAAE,kBAAkB;AACzC,qBAAA;AACD,oBAAA,QAAQ,EAAE,YAAY;AACtB,iBAAA;;;SC/Ee,kBAAkB,GAAA;IACjC,OAAO,wBAAwB,CAAC,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC,CAAC;AACtE;;ACLA;;AAEG;;"}
1
+ {"version":3,"file":"lucca-front-ng-popover2.mjs","sources":["../../../packages/ng/popover2/popover-focus-trap.ts","../../../packages/ng/popover2/popover-tokens.ts","../../../packages/ng/popover2/translations.ts","../../../packages/ng/popover2/popover.translate.ts","../../../packages/ng/popover2/content/popover-content/popover-content.component.ts","../../../packages/ng/popover2/content/popover-content/popover-content.component.html","../../../packages/ng/popover2/popover2.translate.ts","../../../packages/ng/popover2/popover.directive.ts","../../../packages/ng/popover2/popover.providers.ts","../../../packages/ng/popover2/lucca-front-ng-popover2.ts"],"sourcesContent":["import { FocusTrap, InteractivityChecker } from '@angular/cdk/a11y';\nimport { DOCUMENT } from '@angular/common';\nimport { inject, Injector, NgZone } from '@angular/core';\n\nexport class PopoverFocusTrap extends FocusTrap {\n\toverride startAnchorListener = () => {\n\t\tthis.triggerElement.focus();\n\t\treturn true;\n\t};\n\n\toverride endAnchorListener = () => {\n\t\tthis.triggerElement.focus();\n\t\treturn true;\n\t};\n\n\tconstructor(\n\t\telement: HTMLElement,\n\t\tprivate triggerElement: HTMLElement,\n\t\tprivate injector: Injector,\n\t) {\n\t\tsuper(element, inject(InteractivityChecker), inject(NgZone), inject(DOCUMENT), true, injector);\n\t}\n}\n","import { InjectionToken, TemplateRef, Type } from '@angular/core';\nimport { OverlayRef } from '@angular/cdk/overlay';\n\nexport interface PopoverConfig {\n\ttriggerElement: HTMLElement;\n\tcontent: TemplateRef<unknown> | Type<unknown>;\n\tref: OverlayRef;\n\tcontentId: string;\n\tmaxBlockSize: string | null;\n\tmaxInlineSize: string | null;\n\tdisableCloseButtonFocus: boolean;\n\tdisableInitialTriggerFocus: boolean;\n\tnoCloseButton: boolean;\n}\n\nexport const POPOVER_CONFIG = new InjectionToken<PopoverConfig>('Popover:Config');\n","export const Translations = {\n\t'nl-BE': {\n\t\tclose: 'Sluiten',\n\t},\n\tnl: {\n\t\tclose: 'Sluiten',\n\t},\n\tit: {\n\t\tclose: 'Chiudere',\n\t},\n\tfr: {\n\t\tclose: 'Fermer',\n\t},\n\tpt: {\n\t\tclose: 'Fechar',\n\t},\n\tes: {\n\t\tclose: 'Cerrar',\n\t},\n\tde: {\n\t\tclose: 'Schließen',\n\t},\n\ten: {\n\t\tclose: 'Close',\n\t},\n\tpl: {\n\t\tclose: 'Zamknij',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_POPOVER2_TRANSLATIONS = new InjectionToken('LuPopover2Translations', {\n\tfactory: () => luPopoverTranslations,\n});\n\nexport interface ILuPopover2Label {\n\tclose: string;\n}\n\nexport const luPopoverTranslations: LuTranslation<ILuPopover2Label> = Translations;\n","import { CdkObserveContent } from '@angular/cdk/observers';\nimport { AfterViewInit, ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Injector, input, OnDestroy, ViewEncapsulation } from '@angular/core';\nimport { ButtonComponent } from '@lucca-front/ng/button';\nimport { intlInputOptions, PortalDirective } from '@lucca-front/ng/core';\nimport { IconComponent } from '@lucca-front/ng/icon';\nimport { Subject } from 'rxjs';\nimport { PopoverFocusTrap } from '../../popover-focus-trap';\nimport { POPOVER_CONFIG } from '../../popover-tokens';\nimport { LU_POPOVER2_TRANSLATIONS } from '../../popover.translate';\n\n@Component({\n\tselector: 'lu-popover-content',\n\timports: [ButtonComponent, IconComponent, CdkObserveContent, PortalDirective],\n\ttemplateUrl: './popover-content.component.html',\n\tstyleUrl: './popover-content.component.scss',\n\thost: {\n\t\t'[attr.id]': 'contentId',\n\t\t'(mouseenter)': 'mouseEnter()',\n\t\t'(mouseleave)': 'mouseLeave()',\n\t\t'(window:keydown.escape)': 'close()',\n\t},\n\tencapsulation: ViewEncapsulation.None,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PopoverContentComponent implements AfterViewInit, OnDestroy {\n\treadonly intl = input(...intlInputOptions(LU_POPOVER2_TRANSLATIONS));\n\n\t#elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n\treadonly config = inject(POPOVER_CONFIG);\n\n\treadonly destroyRef = inject(DestroyRef);\n\n\tcontentId = this.config.contentId;\n\n\tcontent = this.config.content;\n\n\t#focusManager = new PopoverFocusTrap(this.#elementRef.nativeElement, this.config.triggerElement, inject(Injector));\n\n\treadonly closed$ = new Subject<void>();\n\n\tcontentChangedDebounceTime = 100;\n\n\treadonly mouseEnter$ = new Subject<void>();\n\n\tmouseEnter(): void {\n\t\tthis.mouseEnter$.next();\n\t}\n\n\treadonly mouseLeave$ = new Subject<void>();\n\n\tmouseLeave(): void {\n\t\tthis.mouseLeave$.next();\n\t}\n\n\tcontentChanged() {\n\t\tthis.config.ref.updatePosition();\n\t}\n\n\tngOnDestroy(): void {\n\t\tthis.#destroyEvents();\n\t\tthis.#focusManager.destroy();\n\t}\n\n\tngAfterViewInit(): void {\n\t\tthis.#focusManager.attachAnchors();\n\t\tif (!this.config.disableCloseButtonFocus) {\n\t\t\tvoid this.#focusManager.focusInitialElementWhenReady();\n\t\t}\n\t}\n\n\tgrabFocus(): void {\n\t\tthis.#focusManager.focusInitialElement();\n\t}\n\n\tclose(): void {\n\t\tif (!this.config.disableInitialTriggerFocus) {\n\t\t\t// Focus initial trigger element\n\t\t\tthis.config.triggerElement.focus();\n\t\t}\n\t\t// Tell the directive we're closed now\n\t\tthis.#destroyEvents();\n\t\t// Detach overlay\n\t\tthis.config.ref.dispose();\n\t}\n\n\t#destroyEvents(): void {\n\t\tthis.closed$.next();\n\t\tthis.closed$.complete();\n\t\tthis.mouseEnter$.complete();\n\t\tthis.mouseLeave$.complete();\n\t}\n}\n","<div\n\tclass=\"popover\"\n\t(cdkObserveContent)=\"contentChanged()\"\n\t[debounce]=\"contentChangedDebounceTime\"\n\t[style.--components-popover-content-maxBlockSize]=\"config.maxBlockSize\"\n\t[style.--components-popover-content-maxInlineSize]=\"config.maxInlineSize\"\n>\n\t@if (!config.noCloseButton) {\n\t\t<div>\n\t\t\t<button type=\"button\" luButton class=\"popover-close button\" (click)=\"close()\">\n\t\t\t\t<lu-icon icon=\"signClose\" />\n\t\t\t\t<span class=\"pr-u-mask\">{{ intl().close }}</span>\n\t\t\t</button>\n\t\t</div>\n\t}\n\t<div class=\"popover-content\">\n\t\t<ng-container *luPortal=\"content\" />\n\t</div>\n</div>\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\n\nexport const LU_POPOVER2_TRANSLATIONS = new InjectionToken('LuPopover2Translations', {\n\tfactory: () => luPopover2Translations,\n});\n\nexport interface LuCalloutLabel {\n\tscreenReaderDescription: string;\n}\n\nexport const luPopover2Translations: LuTranslation<LuCalloutLabel> = {\n\ten: {\n\t\tscreenReaderDescription: '(Tab key to enter panel.)',\n\t},\n\tfr: {\n\t\tscreenReaderDescription: '(Touche de tabulation pour entrer dans le panneau.)',\n\t},\n\tes: {\n\t\tscreenReaderDescription: '(Tabulador para entrar en el panel.)',\n\t},\n\tde: {\n\t\tscreenReaderDescription: '(Tabulatortaste, um in das Panel zu gelangen.)',\n\t},\n};\n","import { ConnectedPosition, ConnectionPositionPair, FlexibleConnectedPositionStrategyOrigin, Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n\tDestroyRef,\n\tDirective,\n\tElementRef,\n\tinject,\n\tInjector,\n\tinput,\n\tInputSignalWithTransform,\n\tlinkedSignal,\n\tmodel,\n\tOnDestroy,\n\toutput,\n\tProvider,\n\tRenderer2,\n\tsignal,\n\tTemplateRef,\n\tType,\n} from '@angular/core';\nimport { takeUntilDestroyed, toObservable } from '@angular/core/rxjs-interop';\nimport { getPushPanelViewportMargin, intlInputOptions, isNotNil, luBooleanAttribute, luNumberAttribute } from '@lucca-front/ng/core';\nimport { combineLatest, debounce, filter, map, merge, Subject, switchMap, take, timer } from 'rxjs';\nimport { PopoverContentComponent } from './content/popover-content/popover-content.component';\nimport { POPOVER_CONFIG, PopoverConfig } from './popover-tokens';\nimport { LU_POPOVER2_TRANSLATIONS } from './popover2.translate';\n\nexport type PopoverPosition = 'above' | 'below' | 'before' | 'after';\n\nexport interface PopoverOpenOptions {\n\t/** Prevents focusing the close button (or first focusable element) when the popover opens. */\n\tdisableCloseButtonFocus?: boolean;\n\t/** Prevents giving the focus back to the trigger element when the popover closes. */\n\tdisableInitialTriggerFocus?: boolean;\n}\n\nlet nextId = 0;\n\nconst defaultPositionPairs: Record<PopoverPosition, ConnectionPositionPair> = {\n\tabove: new ConnectionPositionPair(\n\t\t{ originX: 'center', originY: 'top' },\n\t\t{\n\t\t\toverlayX: 'center',\n\t\t\toverlayY: 'bottom',\n\t\t},\n\t),\n\tbelow: new ConnectionPositionPair(\n\t\t{ originX: 'center', originY: 'bottom' },\n\t\t{\n\t\t\toverlayX: 'center',\n\t\t\toverlayY: 'top',\n\t\t},\n\t),\n\tbefore: new ConnectionPositionPair(\n\t\t{ originX: 'start', originY: 'center' },\n\t\t{\n\t\t\toverlayX: 'end',\n\t\t\toverlayY: 'center',\n\t\t},\n\t),\n\tafter: new ConnectionPositionPair(\n\t\t{ originX: 'end', originY: 'center' },\n\t\t{\n\t\t\toverlayX: 'start',\n\t\t\toverlayY: 'center',\n\t\t},\n\t),\n};\n\n@Directive({\n\tselector: '[luPopover2]',\n\thost: {\n\t\t'[attr.aria-expanded]': 'opened()',\n\t\t'[attr.aria-controls]': 'opened() ? ariaControls : null',\n\t\t'(click)': 'onMouseClick()',\n\t\t'(mouseleave)': 'onMouseLeave()',\n\t\t'(focus)': 'onFocus()',\n\t\t'(mouseenter)': 'onMouseEnter()',\n\t\t'(keydown.Tab)': 'focusBackToContent($event)',\n\t\t'(keydown.Shift.Tab)': 'focusOutBefore()',\n\t},\n\texportAs: 'luPopover2',\n})\nexport class PopoverDirective implements OnDestroy {\n\treadonly overlay = inject(Overlay);\n\n\treadonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n\t#injector = inject(Injector);\n\n\t#destroyRef = inject(DestroyRef);\n\n\t#renderer = inject(Renderer2);\n\n\treadonly intl = input(...intlInputOptions(LU_POPOVER2_TRANSLATIONS));\n\n\treadonly luPopover2 = input<TemplateRef<unknown> | Type<unknown>>();\n\n\treadonly luPopoverPosition = input<PopoverPosition | null>(null);\n\n\treadonly luPopoverMaxBlockSize = input<string | null>(null);\n\n\treadonly luPopoverMaxInlineSize = input<string | null>(null);\n\n\treadonly overlayScrollStrategy = input<'reposition' | 'block' | 'close'>('reposition');\n\n\treadonly luPopoverDisabledInput = input(false, { transform: luBooleanAttribute, alias: 'luPopoverDisabled' });\n\n\treadonly luPopoverTrigger = model<'click' | 'click+hover' | 'hover+focus'>('click');\n\n\treadonly customPositionsInput = input<ConnectionPositionPair[] | null>(null, { alias: 'customPositions' });\n\n\t/**\n\t * Removes close button entirely, this is bad for a11y but sometimes we want it.\n\t */\n\treadonly luPopoverNoCloseButtonInput = input(false, { transform: luBooleanAttribute, alias: 'luPopoverNoCloseButton' });\n\n\t/**\n\t * Allows to anchor the popover to another element instead of the trigger one\n\t * for placement purpose\n\t */\n\treadonly luPopoverAnchor = input<FlexibleConnectedPositionStrategyOrigin>(this.elementRef);\n\n\t/**\n\t * Extra element(s) to treat as \"inside\" the popover for outside-pointer detection. Pointer events\n\t * originating from them won't close the popover. Useful when an external control opens the popover\n\t * (e.g. an input opening it on focus) and clicking it again should not trigger a close-then-reopen.\n\t */\n\treadonly luPopoverIgnoredOutsidePointerTargets = input<HTMLElement | HTMLElement[] | null>(null);\n\n\t// We have to type these two for Compodoc to find the right type and tell Storybook these aren't strings\n\treadonly luPopoverOpenDelay: InputSignalWithTransform<number, number | `${number}`> = input(300, { transform: luNumberAttribute });\n\n\treadonly luPopoverCloseDelay: InputSignalWithTransform<number, number | `${number}`> = input(100, { transform: luNumberAttribute });\n\n\treadonly luPopoverPositionRef = linkedSignal(() => this.luPopoverPosition() || 'above');\n\n\treadonly open$ = new Subject<'focus' | 'click' | 'hover'>();\n\n\treadonly close$ = new Subject<void>();\n\n\treadonly luPopoverClosed = output<void>();\n\n\treadonly luPopoverOpened = output<void>();\n\n\treadonly content = linkedSignal(() => this.luPopover2());\n\treadonly luPopoverDisabled = linkedSignal(() => this.luPopoverDisabledInput());\n\treadonly customPositions = linkedSignal(() => this.customPositionsInput());\n\treadonly luPopoverNoCloseButton = linkedSignal(() => this.luPopoverNoCloseButtonInput());\n\n\t#listenToMouseLeave = false;\n\t#listenToMouseEnter = true;\n\t#skipNextFocus = false;\n\n\t#overlayRef: OverlayRef;\n\n\t#componentRef?: PopoverContentComponent;\n\n\tpositionPairs: Record<PopoverPosition, ConnectionPositionPair> = defaultPositionPairs;\n\n\treadonly opened = signal(false);\n\n\treadonly ariaControls = `popover-content-${nextId++}`;\n\n\t#screenReaderDescription?: HTMLSpanElement;\n\n\t// For when we need to extend this popover and add some extra providers to the panel\n\tprotected additionalProviders: Provider[] = [];\n\n\tconstructor() {\n\t\tcombineLatest([toObservable(this.luPopoverOpenDelay), toObservable(this.luPopoverCloseDelay), toObservable(this.luPopoverTrigger)])\n\t\t\t.pipe(\n\t\t\t\tfilter(([, , trigger]) => {\n\t\t\t\t\treturn trigger.includes('hover') || trigger.includes('focus');\n\t\t\t\t}),\n\t\t\t\tswitchMap(([openDelay, closeDelay]) => {\n\t\t\t\t\treturn merge(this.open$.pipe(map((type) => ['open', type])), this.close$.pipe(map(() => ['close']))).pipe(\n\t\t\t\t\t\tdebounce(([event]) => {\n\t\t\t\t\t\t\treturn timer(event === 'open' ? openDelay : closeDelay);\n\t\t\t\t\t\t}),\n\t\t\t\t\t);\n\t\t\t\t}),\n\t\t\t\ttakeUntilDestroyed(this.#destroyRef),\n\t\t\t)\n\t\t\t.subscribe(([event, type]: ['open' | 'close', 'focus' | 'click' | 'hover']) => {\n\t\t\t\tif (event === 'open') {\n\t\t\t\t\tthis.openPopover({ disableCloseButtonFocus: true, disableInitialTriggerFocus: type === 'hover' });\n\t\t\t\t\tthis.#listenToMouseLeave = type !== 'click';\n\t\t\t\t\tif (type === 'focus' && !this.#screenReaderDescription) {\n\t\t\t\t\t\tthis.#screenReaderDescription = this.#renderer.createElement('span') as HTMLSpanElement;\n\t\t\t\t\t\tthis.#screenReaderDescription.innerText = this.intl().screenReaderDescription;\n\t\t\t\t\t\tthis.#renderer.addClass(this.#screenReaderDescription, 'pr-u-mask');\n\t\t\t\t\t\tthis.#renderer.appendChild(this.elementRef.nativeElement, this.#screenReaderDescription);\n\t\t\t\t\t}\n\t\t\t\t} else if (this.opened()) {\n\t\t\t\t\tthis.#componentRef?.close();\n\t\t\t\t\tthis.#listenToMouseEnter = true;\n\t\t\t\t}\n\t\t\t});\n\t}\n\n\tngOnDestroy(): void {\n\t\tthis.#componentRef?.close();\n\t}\n\n\tonMouseEnter() {\n\t\tif (this.#listenToMouseEnter && this.luPopoverTrigger().includes('hover')) {\n\t\t\tthis.open$.next('hover');\n\t\t\tthis.#listenToMouseLeave = true;\n\t\t}\n\t}\n\n\tonFocus() {\n\t\tif (this.luPopoverTrigger().includes('focus')) {\n\t\t\tif (this.#skipNextFocus) {\n\t\t\t\tthis.#skipNextFocus = false;\n\t\t\t} else {\n\t\t\t\tthis.open$.next('focus');\n\t\t\t\tthis.#listenToMouseLeave = true;\n\t\t\t\tthis.#skipNextFocus = true;\n\t\t\t}\n\t\t}\n\t}\n\n\tonMouseLeave() {\n\t\tif (this.#listenToMouseLeave && this.luPopoverTrigger().includes('hover')) {\n\t\t\tthis.close$.next();\n\t\t\tthis.#listenToMouseEnter = true;\n\t\t}\n\t}\n\n\tonMouseClick(): void {\n\t\tif (this.opened()) {\n\t\t\tthis.#componentRef?.close();\n\t\t\tthis.#listenToMouseLeave = true;\n\t\t} else {\n\t\t\tthis.openPopover();\n\t\t\tthis.#listenToMouseLeave = false;\n\t\t\tthis.#listenToMouseEnter = false;\n\t\t}\n\t}\n\n\tclose(): void {\n\t\tif (this.opened()) {\n\t\t\tthis.#componentRef?.close();\n\t\t\tthis.#listenToMouseLeave = true;\n\t\t}\n\t}\n\n\topenPopover(options?: PopoverOpenOptions): void;\n\t/**\n\t * @deprecated The boolean signature is kept only for backward compatibility. `withBackdrop` is now ignored\n\t * (the popover no longer creates a blocking backdrop). Prefer `openPopover({ disableCloseButtonFocus, disableInitialTriggerFocus })`.\n\t */\n\topenPopover(withBackdrop?: boolean, disableCloseButtonFocus?: boolean, disableInitialTriggerFocus?: boolean): void;\n\topenPopover(optionsOrWithBackdrop?: PopoverOpenOptions | boolean, disableCloseButtonFocusArg?: boolean, disableInitialTriggerFocusArg?: boolean): void {\n\t\t// New options-object form vs deprecated boolean form. With the boolean form the first\n\t\t// positional argument is the now-ignored `withBackdrop`, so the focus flags shift by one.\n\t\tconst options: PopoverOpenOptions =\n\t\t\ttypeof optionsOrWithBackdrop === 'object' && optionsOrWithBackdrop !== null\n\t\t\t\t? optionsOrWithBackdrop\n\t\t\t\t: { disableCloseButtonFocus: disableCloseButtonFocusArg, disableInitialTriggerFocus: disableInitialTriggerFocusArg };\n\t\tconst disableCloseButtonFocus = options.disableCloseButtonFocus ?? false;\n\t\tconst disableInitialTriggerFocus = options.disableInitialTriggerFocus ?? false;\n\t\tconst content = this.content();\n\n\t\tif (!this.opened() && !this.luPopoverDisabled() && isNotNil(content)) {\n\t\t\tthis.opened.set(true);\n\t\t\tthis.luPopoverOpened.emit();\n\t\t\tthis.#overlayRef = this.overlay.create({\n\t\t\t\tpositionStrategy: this.overlay\n\t\t\t\t\t.position()\n\t\t\t\t\t.flexibleConnectedTo(this.luPopoverAnchor())\n\t\t\t\t\t.withViewportMargin(getPushPanelViewportMargin(this.elementRef.nativeElement))\n\t\t\t\t\t.withPositions(this.customPositions() || this.#buildPositions())\n\t\t\t\t\t.withGrowAfterOpen(true),\n\t\t\t\tscrollStrategy: this.overlay.scrollStrategies[this.overlayScrollStrategy() ?? 'reposition'](),\n\t\t\t\t// No blocking backdrop: outside interactions are handled via outsidePointerEvents() below.\n\t\t\t\thasBackdrop: false,\n\t\t\t\tbackdropClass: '',\n\t\t\t\tdisposeOnNavigation: true,\n\t\t\t});\n\t\t\t// Close on outside interaction WITHOUT a blocking backdrop that would\n\t\t\t// intercept pointer events on the rest of the page.\n\t\t\tthis.#overlayRef\n\t\t\t\t.outsidePointerEvents()\n\t\t\t\t.pipe(takeUntilDestroyed(this.#destroyRef))\n\t\t\t\t.subscribe((event) => {\n\t\t\t\t\t// Re-opening from the trigger (or from the anchor element, which may be a wrapper\n\t\t\t\t\t// containing other interactive parts), as well as from explicitly ignored external\n\t\t\t\t\t// controls, is handled by their own open handlers (e.g. the click() HostListener or\n\t\t\t\t\t// an input opening on focus). Ignore those here, otherwise we'd close on pointerdown\n\t\t\t\t\t// then immediately reopen on click.\n\t\t\t\t\t// `event.target` is retargeted to the shadow host when the trigger lives in a shadow root.\n\t\t\t\t\tconst target = event.composedPath()[0] ?? event.target;\n\t\t\t\t\tif (target instanceof Node && (this.elementRef.nativeElement.contains(target) || this.#anchorElement?.contains(target) || this.#isIgnoredOutsidePointerTarget(target))) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tthis.#componentRef?.close();\n\t\t\t\t\tthis.#listenToMouseLeave = true;\n\t\t\t\t});\n\t\t\tconst config: PopoverConfig = {\n\t\t\t\tcontent: content,\n\t\t\t\tref: this.#overlayRef,\n\t\t\t\tcontentId: this.ariaControls,\n\t\t\t\ttriggerElement: this.elementRef.nativeElement,\n\t\t\t\tmaxBlockSize: this.luPopoverMaxBlockSize(),\n\t\t\t\tmaxInlineSize: this.luPopoverMaxInlineSize(),\n\t\t\t\tdisableCloseButtonFocus: disableCloseButtonFocus,\n\t\t\t\tdisableInitialTriggerFocus: disableInitialTriggerFocus,\n\t\t\t\tnoCloseButton: this.luPopoverNoCloseButton(),\n\t\t\t};\n\t\t\tthis.#componentRef = this.#overlayRef.attach(\n\t\t\t\tnew ComponentPortal(\n\t\t\t\t\tPopoverContentComponent,\n\t\t\t\t\t// No ViewContainerRef: the host must be created in the HTML namespace, even when the trigger is an SVG element\n\t\t\t\t\tnull,\n\t\t\t\t\tInjector.create({\n\t\t\t\t\t\tparent: this.#injector,\n\t\t\t\t\t\tproviders: [{ provide: POPOVER_CONFIG, useValue: config }, { provide: PopoverContentComponent, useValue: this.#componentRef }, ...this.additionalProviders],\n\t\t\t\t\t}),\n\t\t\t\t),\n\t\t\t).instance;\n\t\t\t// On tooltip leave => trigger close\n\t\t\tthis.#componentRef.mouseLeave$.pipe(takeUntilDestroyed(this.#componentRef.destroyRef), takeUntilDestroyed(this.#destroyRef)).subscribe(() => this.close$.next());\n\t\t\t// On tooltip enter => trigger open to keep it opened\n\t\t\tthis.#componentRef.mouseEnter$.pipe(takeUntilDestroyed(this.#componentRef.destroyRef), takeUntilDestroyed(this.#destroyRef)).subscribe(() => this.open$.next('hover'));\n\t\t\tthis.#componentRef.closed$.pipe(take(1), takeUntilDestroyed(this.#componentRef.destroyRef), takeUntilDestroyed(this.#destroyRef)).subscribe(() => {\n\t\t\t\tthis.opened.set(false);\n\t\t\t\t// Replaces any open still pending in the debounce, e.g. from the mouseenter a tap fires on the panel\n\t\t\t\tthis.close$.next();\n\t\t\t\tthis.#skipNextFocus = false;\n\t\t\t\tthis.luPopoverClosed.emit();\n\t\t\t\tthis.#listenToMouseLeave = false;\n\t\t\t\tif (this.#screenReaderDescription) {\n\t\t\t\t\tthis.#screenReaderDescription.remove();\n\t\t\t\t\tthis.#screenReaderDescription = undefined;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tfocusBackToContent(event: Event): void {\n\t\tif (this.opened()) {\n\t\t\tevent.preventDefault();\n\t\t\tthis.#componentRef?.grabFocus();\n\t\t}\n\t}\n\n\tfocusOutBefore(): void {\n\t\tif (this.opened() && this.luPopoverTrigger().includes('focus')) {\n\t\t\tthis.#componentRef?.close();\n\t\t}\n\t}\n\n\tupdatePosition() {\n\t\tthis.#overlayRef?.updatePosition();\n\t}\n\n\t#isIgnoredOutsidePointerTarget(target: Node): boolean {\n\t\tconst ignored = this.luPopoverIgnoredOutsidePointerTargets();\n\t\tif (!ignored) {\n\t\t\treturn false;\n\t\t}\n\t\treturn (Array.isArray(ignored) ? ignored : [ignored]).some((element) => element.contains(target));\n\t}\n\n\t/**\n\t * Resolves the anchor to its native element, when it is one. The anchor can be an ElementRef,\n\t * an Element or a plain coordinate (Point); only element-based anchors can contain a pointer target.\n\t */\n\tget #anchorElement(): Element | null {\n\t\tconst anchor = this.luPopoverAnchor();\n\t\tif (anchor instanceof ElementRef) {\n\t\t\treturn anchor.nativeElement as Element;\n\t\t}\n\t\tif (anchor instanceof Element) {\n\t\t\treturn anchor;\n\t\t}\n\t\treturn null;\n\t}\n\n\t#buildPositions(): ConnectedPosition[] {\n\t\tconst opposite: Record<PopoverPosition, PopoverPosition> = {\n\t\t\tbefore: 'after',\n\t\t\tafter: 'before',\n\t\t\tabove: 'below',\n\t\t\tbelow: 'above',\n\t\t};\n\t\t// Once we have opposite, what's remaining?\n\t\tconst remaining: Record<PopoverPosition, PopoverPosition[]> = {\n\t\t\tbefore: ['above', 'below'],\n\t\t\tafter: ['above', 'below'],\n\t\t\tabove: ['before', 'after'],\n\t\t\tbelow: ['before', 'after'],\n\t\t};\n\t\treturn [this.positionPairs[this.luPopoverPositionRef()], this.positionPairs[opposite[this.luPopoverPositionRef()]], ...remaining[this.luPopoverPositionRef()].map((r) => this.positionPairs[r])];\n\t}\n}\n","import { EnvironmentProviders, importProvidersFrom, makeEnvironmentProviders } from '@angular/core';\nimport { OverlayModule } from '@angular/cdk/overlay';\n\nexport function configureLuPopover(): EnvironmentProviders {\n\treturn makeEnvironmentProviders([importProvidersFrom(OverlayModule)]);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["LU_POPOVER2_TRANSLATIONS"],"mappings":";;;;;;;;;;;;;AAIM,MAAO,gBAAiB,SAAQ,SAAS,CAAA;AAW9C,IAAA,WAAA,CACC,OAAoB,EACZ,cAA2B,EAC3B,QAAkB,EAAA;QAE1B,KAAK,CAAC,OAAO,EAAE,MAAM,CAAC,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC;QAHtF,IAAA,CAAA,cAAc,GAAd,cAAc;QACd,IAAA,CAAA,QAAQ,GAAR,QAAQ;QAbR,IAAA,CAAA,mBAAmB,GAAG,MAAK;AACnC,YAAA,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE;AAC3B,YAAA,OAAO,IAAI;AACZ,QAAA,CAAC;QAEQ,IAAA,CAAA,iBAAiB,GAAG,MAAK;AACjC,YAAA,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE;AAC3B,YAAA,OAAO,IAAI;AACZ,QAAA,CAAC;IAQD;AACA;;MCPY,cAAc,GAAG,IAAI,cAAc,CAAgB,gBAAgB;;ACfzE,MAAM,YAAY,GAAG;AAC3B,IAAA,OAAO,EAAE;AACR,QAAA,KAAK,EAAE,SAAS;AAChB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,SAAS;AAChB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,UAAU;AACjB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,QAAQ;AACf,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,QAAQ;AACf,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,QAAQ;AACf,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,E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;AAChC,wBAAA,SAAS,EAAE,WAAW;AACtB,wBAAA,cAAc,EAAE,gBAAgB;AAChC,wBAAA,eAAe,EAAE,4BAA4B;AAC7C,wBAAA,qBAAqB,EAAE,kBAAkB;AACzC,qBAAA;AACD,oBAAA,QAAQ,EAAE,YAAY;AACtB,iBAAA;;;SC/Ee,kBAAkB,GAAA;IACjC,OAAO,wBAAwB,CAAC,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC,CAAC;AACtE;;ACLA;;AAEG;;"}
@@ -172,10 +172,10 @@ class LuPopupRefFactory {
172
172
  forge(component, config) {
173
173
  return new LuPopupRef(this._overlay, this._injector, component, config);
174
174
  }
175
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: LuPopupRefFactory, deps: [{ token: i1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
176
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: LuPopupRefFactory }); }
175
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuPopupRefFactory, deps: [{ token: i1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
176
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuPopupRefFactory }); }
177
177
  }
178
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: LuPopupRefFactory, decorators: [{
178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuPopupRefFactory, decorators: [{
179
179
  type: Injectable
180
180
  }], ctorParameters: () => [{ type: i1.Overlay }, { type: i0.Injector }] });
181
181
 
@@ -190,10 +190,10 @@ class LuPopup {
190
190
  ref.open(data);
191
191
  return ref;
192
192
  }
193
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: LuPopup, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
194
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: LuPopup }); }
193
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuPopup, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
194
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuPopup }); }
195
195
  }
196
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: LuPopup, decorators: [{
196
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuPopup, decorators: [{
197
197
  type: Injectable
198
198
  }] });
199
199
 
@@ -201,11 +201,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
201
201
  * @deprecated use `OverlayModule` imports && `LuPopup, { provide: LU_POPUP_CONFIG, useValue: luDefaultPopupConfig }, { provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory }` providers instead
202
202
  */
203
203
  class LuPopupModule {
204
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: LuPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
205
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.4", ngImport: i0, type: LuPopupModule, imports: [OverlayModule] }); }
206
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: LuPopupModule, providers: [LuPopup, { provide: LU_POPUP_CONFIG, useValue: luDefaultPopupConfig }, { provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory }], imports: [OverlayModule] }); }
204
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
205
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: LuPopupModule, imports: [OverlayModule] }); }
206
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuPopupModule, providers: [LuPopup, { provide: LU_POPUP_CONFIG, useValue: luDefaultPopupConfig }, { provide: LU_POPUP_REF_FACTORY, useClass: LuPopupRefFactory }], imports: [OverlayModule] }); }
207
207
  }
208
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: LuPopupModule, decorators: [{
208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: LuPopupModule, decorators: [{
209
209
  type: NgModule,
210
210
  args: [{
211
211
  imports: [OverlayModule],
@@ -27,10 +27,10 @@ class ProgressBarComponent {
27
27
  }), /* @ts-ignore */
28
28
  ...(ngDevMode ? [{ debugName: "stateClass" }] : /* istanbul ignore next */ []));
29
29
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
31
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: ProgressBarComponent, isStandalone: true, selector: "lu-progress-bar", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"progress\" [class]=\"stateClass()\" [class.mod-indeterminate]=\"indeterminate()\">\n\t<div class=\"progress-bar\" [style.inline-size.%]=\"value()\"></div>\n</div>\n", styles: ["@layer components{.progress{--components-progress-margin-vertical: var(--pr-t-spacings-200);--components-progress-margin-horizontal: 0;--components-progress-height: .25rem;--components-progress-background: var(--palettes-neutral-100);--components-progress-bar-background: var(--palettes-product-700);--components-progress-bar-gradient: linear-gradient( to right, color.transparentize(var(--palettes-neutral-0), .8) 0%, color.transparentize(var(--palettes-neutral-0), .5) 100% );--components-progress-duration: 1.5s;background-color:var(--components-progress-background);border-radius:var(--pr-t-border-radius-full);block-size:var(--components-progress-height);margin-block:var(--components-progress-margin-vertical);margin-inline:var(--components-progress-margin-horizontal);position:relative;overflow:hidden}@keyframes progress{0%{transform:scaleX(0);opacity:1}to{transform:scale(1);opacity:.3}}.progress-bar{background-color:var(--palettes-700, var(--components-progress-bar-background));transition-duration:var(--commons-animations-durations-fast);transition-property:background-color,inline-size;inset-block:0;inset-inline-start:0;position:absolute}.progress-bar:after{animation:progress var(--components-progress-duration) infinite;background-image:var(--components-progress-bar-gradient);transform-origin:left;position:absolute;inset:0;content:\"\"}}@layer mods{@keyframes indeterminate{0%{inset-inline-start:-33.3333333333%;inset-inline-end:100%}to{inset-inline-start:100%;inset-inline-end:-33.3333333333%}}.progress.mod-indeterminate .progress-bar{animation:indeterminate var(--components-progress-duration) infinite;inline-size:33.3333333333%!important;animation-timing-function:linear}.progress:is(.is-success,.success,.palette-success) .progress-bar{inline-size:100%!important}.progress:is(.is-success,.success,.palette-success) .progress-bar:after{display:none}.progress:is(.is-success,.success,.palette-success){--palettes-700: var(--palettes-success-700)}.progress:is(.is-error,.error,.palette-error) .progress-bar{inline-size:100%!important}.progress:is(.is-error,.error,.palette-error) .progress-bar:after{display:none}.progress:is(.is-error,.error,.palette-error){--palettes-700: var(--palettes-error-700)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
31
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.1", type: ProgressBarComponent, isStandalone: true, selector: "lu-progress-bar", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"progress\" [class]=\"stateClass()\" [class.mod-indeterminate]=\"indeterminate()\">\n\t<div class=\"progress-bar\" [style.inline-size.%]=\"value()\"></div>\n</div>\n", styles: ["@layer components{.progress{--components-progress-margin-vertical: var(--pr-t-spacings-200);--components-progress-margin-horizontal: 0;--components-progress-height: .25rem;--components-progress-background: var(--palettes-neutral-100);--components-progress-bar-background: var(--palettes-product-700);--components-progress-bar-gradient: linear-gradient( to right, color.transparentize(var(--palettes-neutral-0), .8) 0%, color.transparentize(var(--palettes-neutral-0), .5) 100% );--components-progress-duration: 1.5s;background-color:var(--components-progress-background);border-radius:var(--pr-t-border-radius-full);block-size:var(--components-progress-height);margin-block:var(--components-progress-margin-vertical);margin-inline:var(--components-progress-margin-horizontal);position:relative;overflow:hidden}@keyframes progress{0%{transform:scaleX(0);opacity:1}to{transform:scale(1);opacity:.3}}.progress-bar{background-color:var(--palettes-700, var(--components-progress-bar-background));transition-duration:var(--commons-animations-durations-fast);transition-property:background-color,inline-size;inset-block:0;inset-inline-start:0;position:absolute}.progress-bar:after{animation:progress var(--components-progress-duration) infinite;background-image:var(--components-progress-bar-gradient);transform-origin:left;position:absolute;inset:0;content:\"\"}}@layer mods{@keyframes indeterminate{0%{inset-inline-start:-33.3333333333%;inset-inline-end:100%}to{inset-inline-start:100%;inset-inline-end:-33.3333333333%}}.progress.mod-indeterminate .progress-bar{animation:indeterminate var(--components-progress-duration) infinite;inline-size:33.3333333333%!important;animation-timing-function:linear}.progress:is(.is-success,.success,.palette-success) .progress-bar{inline-size:100%!important}.progress:is(.is-success,.success,.palette-success) .progress-bar:after{display:none}.progress:is(.is-success,.success,.palette-success){--palettes-700: var(--palettes-success-700)}.progress:is(.is-error,.error,.palette-error) .progress-bar{inline-size:100%!important}.progress:is(.is-error,.error,.palette-error) .progress-bar:after{display:none}.progress:is(.is-error,.error,.palette-error){--palettes-700: var(--palettes-error-700)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
32
32
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ProgressBarComponent, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ProgressBarComponent, decorators: [{
34
34
  type: Component,
35
35
  args: [{ selector: 'lu-progress-bar', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"progress\" [class]=\"stateClass()\" [class.mod-indeterminate]=\"indeterminate()\">\n\t<div class=\"progress-bar\" [style.inline-size.%]=\"value()\"></div>\n</div>\n", styles: ["@layer components{.progress{--components-progress-margin-vertical: var(--pr-t-spacings-200);--components-progress-margin-horizontal: 0;--components-progress-height: .25rem;--components-progress-background: var(--palettes-neutral-100);--components-progress-bar-background: var(--palettes-product-700);--components-progress-bar-gradient: linear-gradient( to right, color.transparentize(var(--palettes-neutral-0), .8) 0%, color.transparentize(var(--palettes-neutral-0), .5) 100% );--components-progress-duration: 1.5s;background-color:var(--components-progress-background);border-radius:var(--pr-t-border-radius-full);block-size:var(--components-progress-height);margin-block:var(--components-progress-margin-vertical);margin-inline:var(--components-progress-margin-horizontal);position:relative;overflow:hidden}@keyframes progress{0%{transform:scaleX(0);opacity:1}to{transform:scale(1);opacity:.3}}.progress-bar{background-color:var(--palettes-700, var(--components-progress-bar-background));transition-duration:var(--commons-animations-durations-fast);transition-property:background-color,inline-size;inset-block:0;inset-inline-start:0;position:absolute}.progress-bar:after{animation:progress var(--components-progress-duration) infinite;background-image:var(--components-progress-bar-gradient);transform-origin:left;position:absolute;inset:0;content:\"\"}}@layer mods{@keyframes indeterminate{0%{inset-inline-start:-33.3333333333%;inset-inline-end:100%}to{inset-inline-start:100%;inset-inline-end:-33.3333333333%}}.progress.mod-indeterminate .progress-bar{animation:indeterminate var(--components-progress-duration) infinite;inline-size:33.3333333333%!important;animation-timing-function:linear}.progress:is(.is-success,.success,.palette-success) .progress-bar{inline-size:100%!important}.progress:is(.is-success,.success,.palette-success) .progress-bar:after{display:none}.progress:is(.is-success,.success,.palette-success){--palettes-700: var(--palettes-success-700)}.progress:is(.is-error,.error,.palette-error) .progress-bar{inline-size:100%!important}.progress:is(.is-error,.error,.palette-error) .progress-bar:after{display:none}.progress:is(.is-error,.error,.palette-error){--palettes-700: var(--palettes-error-700)}}\n"] }]
36
36
  }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], state: [{ type: i0.Input, args: [{ isSignal: true, alias: "state", required: false }] }], indeterminate: [{ type: i0.Input, args: [{ isSignal: true, alias: "indeterminate", required: false }] }] } });
@@ -26,10 +26,10 @@ class ProgressStepperStepComponent {
26
26
  ...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
27
27
  this.isRouterLinkParam = isRouterLinkParam;
28
28
  }
29
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ProgressStepperStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
30
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: ProgressStepperStepComponent, isStandalone: true, selector: "lu-progress-stepper-step", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, routerLinkParam: { classPropertyName: "routerLinkParam", publicName: "routerLinkParam", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "listitem" }, properties: { "attr.aria-current": "this.position() === this.progressStepperRef.current() ? \"step\" : null", "class.is-success": "state() === \"success\"", "class.is-critical": "state() === \"critical\"" }, classAttribute: "progressStepper-list-step" }, ngImport: i0, template: "<ng-template #content let-linkRef=\"linkRef\">\n\t<span class=\"progressStepper-list-step-number\" aria-hidden=\"true\"></span>\n\t<span class=\"progressStepper-list-step-title\">\n\t\t<span luTooltip luTooltipWhenEllipsis class=\"progressStepper-list-step-title-content\" [luTooltipTriggerAnchor]=\"linkRef\">{{\n\t\t\tlabel()\n\t\t}}</span>\n\t</span>\n</ng-template>\n\n@let typedRouterLinkParam = routerLinkParam();\n\n@if (typedRouterLinkParam) {\n\t@if (typedRouterLinkParam | luTypeGuard: isRouterLinkParam) {\n\t\t<a\n\t\t\t[routerLink]=\"typedRouterLinkParam.commands\"\n\t\t\t[queryParams]=\"typedRouterLinkParam?.queryParams\"\n\t\t\t[fragment]=\"typedRouterLinkParam?.fragment\"\n\t\t\t[target]=\"typedRouterLinkParam?.target\"\n\t\t\t[relativeTo]=\"typedRouterLinkParam?.relativeTo\"\n\t\t\t[preserveFragment]=\"typedRouterLinkParam?.preserveFragment\"\n\t\t\t[skipLocationChange]=\"typedRouterLinkParam?.skipLocationChange\"\n\t\t\t[replaceUrl]=\"typedRouterLinkParam?.replaceUrl\"\n\t\t\tclass=\"progressStepper-list-step-linkOptional\"\n\t\t\t#link\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"content; context: { linkRef: link }\" />\n\t\t</a>\n\t} @else {\n\t\t<a [routerLink]=\"typedRouterLinkParam\" class=\"progressStepper-list-step-linkOptional\" #link>\n\t\t\t<ng-container *ngTemplateOutlet=\"content; context: { linkRef: link }\" />\n\t\t</a>\n\t}\n} @else {\n\t<ng-container *ngTemplateOutlet=\"content\" />\n}\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: LuTooltipTriggerDirective, selector: "[luTooltip],[prTooltip]", inputs: ["luTooltip", "prTooltip", "luTooltipEnterDelay", "prTooltipEnterDelay", "luTooltipLeaveDelay", "prTooltipLeaveDelay", "luTooltipDisabled", "prTooltipDisabled", "luTooltipOnlyForDisplay", "prTooltipOnlyForDisplay", "luTooltipPosition", "prTooltipPosition", "luTooltipWhenEllipsis", "prTooltipWhenEllipsis", "luTooltipAnchor", "prTooltipAnchor", "luTooltipTriggerAnchor", "prTooltipTriggerAnchor", "id"], exportAs: ["luTooltip"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "pipe", type: LuTypeGuardPipe, name: "luTypeGuard" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ProgressStepperStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
30
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: ProgressStepperStepComponent, isStandalone: true, selector: "lu-progress-stepper-step", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null }, routerLinkParam: { classPropertyName: "routerLinkParam", publicName: "routerLinkParam", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "listitem" }, properties: { "attr.aria-current": "this.position() === this.progressStepperRef.current() ? \"step\" : null", "class.is-success": "state() === \"success\"", "class.is-critical": "state() === \"critical\"" }, classAttribute: "progressStepper-list-step" }, ngImport: i0, template: "<ng-template #content let-linkRef=\"linkRef\">\n\t<span class=\"progressStepper-list-step-number\" aria-hidden=\"true\"></span>\n\t<span class=\"progressStepper-list-step-title\">\n\t\t<span luTooltip luTooltipWhenEllipsis class=\"progressStepper-list-step-title-content\" [luTooltipTriggerAnchor]=\"linkRef\">{{\n\t\t\tlabel()\n\t\t}}</span>\n\t</span>\n</ng-template>\n\n@let typedRouterLinkParam = routerLinkParam();\n\n@if (typedRouterLinkParam) {\n\t@if (typedRouterLinkParam | luTypeGuard: isRouterLinkParam) {\n\t\t<a\n\t\t\t[routerLink]=\"typedRouterLinkParam.commands\"\n\t\t\t[queryParams]=\"typedRouterLinkParam?.queryParams\"\n\t\t\t[fragment]=\"typedRouterLinkParam?.fragment\"\n\t\t\t[target]=\"typedRouterLinkParam?.target\"\n\t\t\t[relativeTo]=\"typedRouterLinkParam?.relativeTo\"\n\t\t\t[preserveFragment]=\"typedRouterLinkParam?.preserveFragment\"\n\t\t\t[skipLocationChange]=\"typedRouterLinkParam?.skipLocationChange\"\n\t\t\t[replaceUrl]=\"typedRouterLinkParam?.replaceUrl\"\n\t\t\tclass=\"progressStepper-list-step-linkOptional\"\n\t\t\t#link\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"content; context: { linkRef: link }\" />\n\t\t</a>\n\t} @else {\n\t\t<a [routerLink]=\"typedRouterLinkParam\" class=\"progressStepper-list-step-linkOptional\" #link>\n\t\t\t<ng-container *ngTemplateOutlet=\"content; context: { linkRef: link }\" />\n\t\t</a>\n\t}\n} @else {\n\t<ng-container *ngTemplateOutlet=\"content\" />\n}\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: LuTooltipTriggerDirective, selector: "[luTooltip],[prTooltip]", inputs: ["luTooltip", "prTooltip", "luTooltipEnterDelay", "prTooltipEnterDelay", "luTooltipLeaveDelay", "prTooltipLeaveDelay", "luTooltipDisabled", "prTooltipDisabled", "luTooltipOnlyForDisplay", "prTooltipOnlyForDisplay", "luTooltipPosition", "prTooltipPosition", "luTooltipWhenEllipsis", "prTooltipWhenEllipsis", "luTooltipAnchor", "prTooltipAnchor", "luTooltipTriggerAnchor", "prTooltipTriggerAnchor", "id"], exportAs: ["luTooltip"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "pipe", type: LuTypeGuardPipe, name: "luTypeGuard" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
31
31
  }
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ProgressStepperStepComponent, decorators: [{
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ProgressStepperStepComponent, decorators: [{
33
33
  type: Component,
34
34
  args: [{ selector: 'lu-progress-stepper-step', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet, LuTooltipTriggerDirective, RouterModule, RouterLink, LuTypeGuardPipe], host: {
35
35
  class: 'progressStepper-list-step',
@@ -46,15 +46,15 @@ class ProgressStepperComponent {
46
46
  ...(ngDevMode ? [{ debugName: "steps" }] : /* istanbul ignore next */ []));
47
47
  this.current = input(1, { ...(ngDevMode ? { debugName: "current" } : /* istanbul ignore next */ {}), transform: luNumberAttribute });
48
48
  }
49
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ProgressStepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
50
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.4", type: ProgressStepperComponent, isStandalone: true, selector: "lu-progress-stepper", inputs: { current: { classPropertyName: "current", publicName: "current", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "progressStepper" }, providers: [
49
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ProgressStepperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
50
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.1", type: ProgressStepperComponent, isStandalone: true, selector: "lu-progress-stepper", inputs: { current: { classPropertyName: "current", publicName: "current", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "progressStepper" }, providers: [
51
51
  {
52
52
  provide: LU_PROGRESS_STEPPER_INSTANCE,
53
53
  useExisting: forwardRef(() => ProgressStepperComponent),
54
54
  },
55
55
  ], queries: [{ propertyName: "steps", predicate: ProgressStepperStepComponent, isSignal: true }], ngImport: i0, template: "<ol class=\"progressStepper-list\">\n\t<ng-content />\n</ol>\n", styles: ["@charset \"UTF-8\";@layer components{.progressStepper{--components-progressStepper-list-step-before-content: \"\";--components-progressStepper-list-step-after-content: \"\";--components-progressStepper-list-step-title-textDecoration: none;--components-progressStepper-list-step-number-before-boxShadowColor: var(--palettes-neutral-200);--components-progressStepper-list-step-number-after-color: var(--palettes-700, var(--palettes-product-700));--components-progressStepper-list-step-title-position: absolute;--components-progressStepper-list-step-after-position: static;--components-progressStepper-list-flexDirection: row;--components-progressStepper-list-gap: 0;--components-progressStepper-list-step-before-blockSize: var(--commons-divider-width);--components-progressStepper-list-step-after-blockSize: var(--commons-divider-width);--components-progressStepper-list-step-before-backgroundColor: var(--palettes-neutral-200);--components-progressStepper-list-step-after-backgroundColor: var(--palettes-neutral-200);--components-progressStepper-list-step-title-color: inherit;--components-progressStepper-list-step-number-before-color: inherit;--components-progressStepper-list-step-number-before-backgroundColor: var(--palettes-neutral-50);--components-progressStepper-list-step-number-before-content: counter(progressStepper);--components-progressStepper-list-step-number-after-content: none;--components-progressStepper-list-step-number-before-boxShadowWidth: 0px;--components-progressStepper-list-paddingBlockEnd: var(--pr-t-spacings-250);--components-progressStepper-list-step-after-inlineSize: var(--commons-divider-width);--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full) 0 0 var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-inset: auto;container-type:inline-size;container-name:progressStepper;display:block}.progressStepper-list{margin:0;padding:0;list-style-type:\"\";display:flex;counter-reset:progressStepper;color:var(--pr-t-color-text-subtle);padding-block-end:var(--components-progressStepper-list-paddingBlockEnd);flex-direction:var(--components-progressStepper-list-flexDirection);gap:var(--components-progressStepper-list-gap)}.progressStepper-list-step{flex-basis:0;flex-grow:1;counter-increment:progressStepper;position:relative;display:flex;align-items:center;gap:var(--pr-t-spacings-100)}.progressStepper-list-step:before{content:var(--components-progressStepper-list-step-before-content);block-size:var(--components-progressStepper-list-step-before-blockSize);border-radius:0 var(--pr-t-border-radius-full) var(--pr-t-border-radius-full) 0;background-color:var(--components-progressStepper-list-step-before-backgroundColor)}.progressStepper-list-step:after{content:var(--components-progressStepper-list-step-after-content);block-size:var(--components-progressStepper-list-step-after-blockSize);border-radius:var(--components-progressStepper-list-step-after-borderRadius);background-color:var(--components-progressStepper-list-step-after-backgroundColor);inline-size:var(--components-progressStepper-list-step-after-inlineSize);position:var(--components-progressStepper-list-step-after-position);inset:var(--components-progressStepper-list-step-after-inset)}.progressStepper-list-step:before,.progressStepper-list-step:after{flex-grow:1}.progressStepper-list-step-number{font:var(--pr-t-font-body-XS);font-weight:var(--pr-t-font-fontWeight-semibold);display:grid;align-items:center;justify-items:center;text-align:center}.progressStepper-list-step-number:before,.progressStepper-list-step-number:after{grid-area:1/1}.progressStepper-list-step-number:before{content:var(--components-progressStepper-list-step-number-before-content);color:var(--components-progressStepper-list-step-number-before-color);background-color:var(--components-progressStepper-list-step-number-before-backgroundColor);inline-size:var(--pr-t-spacings-250);block-size:var(--pr-t-spacings-250);line-height:var(--pr-t-spacings-250);border-radius:var(--pr-t-border-radius-default);box-shadow:0 0 0 var(--components-progressStepper-list-step-number-before-boxShadowWidth) var(--components-progressStepper-list-step-number-before-boxShadowColor)}.progressStepper-list-step-number:after{font-size:var(--pr-t-font-fontSize-250);color:var(--components-progressStepper-list-step-number-after-color)}.progressStepper-list-step-title{font:var(--pr-t-font-body-S);text-align:center;position:var(--components-progressStepper-list-step-title-position);inset-block-start:100%;inset-inline-start:var(--pr-t-spacings-100);inset-inline-end:var(--pr-t-spacings-100);text-decoration:var(--components-progressStepper-list-step-title-textDecoration);color:var(--components-progressStepper-list-step-title-color);pointer-events:none;min-inline-size:0;display:flex;justify-content:center}.progressStepper-list-step-title-content{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;min-inline-size:0;border-radius:var(--pr-t-border-radius-small)}.progressStepper-list-step-title-content:focus-visible{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:2px}.progressStepper-list-step-linkOptional{text-decoration:none;color:inherit;display:flex;gap:var(--pr-t-spacings-100);min-inline-size:0}}@layer mods{@container progressStepper not (min-width: 16rem){.progressStepper:has(.progressStepper-list-step:nth-child(2):last-child) .progressStepper-list{--components-progressStepper-list-paddingBlockEnd: 0px;--components-progressStepper-list-step-before-content: none;--components-progressStepper-list-flexDirection: column;--components-progressStepper-list-gap: var(--pr-t-spacings-300);--components-progressStepper-list-step-title-position: static;--components-progressStepper-list-step-after-inset: var(--pr-t-spacings-300) auto calc(var(--pr-t-spacings-250) * -1) calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25));--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-position: absolute}.progressStepper:has(.progressStepper-list-step:nth-child(2):last-child) .progressStepper-list-step{--components-progressStepper-list-step-after-blockSize: auto}}@container progressStepper not (min-width: 24rem){.progressStepper:has(.progressStepper-list-step:nth-child(3):last-child) .progressStepper-list{--components-progressStepper-list-paddingBlockEnd: 0px;--components-progressStepper-list-step-before-content: none;--components-progressStepper-list-flexDirection: column;--components-progressStepper-list-gap: var(--pr-t-spacings-300);--components-progressStepper-list-step-title-position: static;--components-progressStepper-list-step-after-inset: var(--pr-t-spacings-300) auto calc(var(--pr-t-spacings-250) * -1) calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25));--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-position: absolute}.progressStepper:has(.progressStepper-list-step:nth-child(3):last-child) .progressStepper-list-step{--components-progressStepper-list-step-after-blockSize: auto}}@container progressStepper not (min-width: 32rem){.progressStepper:has(.progressStepper-list-step:nth-child(4):last-child) .progressStepper-list{--components-progressStepper-list-paddingBlockEnd: 0px;--components-progressStepper-list-step-before-content: none;--components-progressStepper-list-flexDirection: column;--components-progressStepper-list-gap: var(--pr-t-spacings-300);--components-progressStepper-list-step-title-position: static;--components-progressStepper-list-step-after-inset: var(--pr-t-spacings-300) auto calc(var(--pr-t-spacings-250) * -1) calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25));--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-position: absolute}.progressStepper:has(.progressStepper-list-step:nth-child(4):last-child) .progressStepper-list-step{--components-progressStepper-list-step-after-blockSize: auto}}@container progressStepper not (min-width: 40rem){.progressStepper:has(.progressStepper-list-step:nth-child(5):last-child) .progressStepper-list{--components-progressStepper-list-paddingBlockEnd: 0px;--components-progressStepper-list-step-before-content: none;--components-progressStepper-list-flexDirection: column;--components-progressStepper-list-gap: var(--pr-t-spacings-300);--components-progressStepper-list-step-title-position: static;--components-progressStepper-list-step-after-inset: var(--pr-t-spacings-300) auto calc(var(--pr-t-spacings-250) * -1) calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25));--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-position: absolute}.progressStepper:has(.progressStepper-list-step:nth-child(5):last-child) .progressStepper-list-step{--components-progressStepper-list-step-after-blockSize: auto}}@container progressStepper not (min-width: 48rem){.progressStepper:has(.progressStepper-list-step:nth-child(6):last-child) .progressStepper-list{--components-progressStepper-list-paddingBlockEnd: 0px;--components-progressStepper-list-step-before-content: none;--components-progressStepper-list-flexDirection: column;--components-progressStepper-list-gap: var(--pr-t-spacings-300);--components-progressStepper-list-step-title-position: static;--components-progressStepper-list-step-after-inset: var(--pr-t-spacings-300) auto calc(var(--pr-t-spacings-250) * -1) calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25));--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-position: absolute}.progressStepper:has(.progressStepper-list-step:nth-child(6):last-child) .progressStepper-list-step{--components-progressStepper-list-step-after-blockSize: auto}}@container progressStepper not (min-width: 56rem){.progressStepper:has(.progressStepper-list-step:nth-child(7):last-child) .progressStepper-list{--components-progressStepper-list-paddingBlockEnd: 0px;--components-progressStepper-list-step-before-content: none;--components-progressStepper-list-flexDirection: column;--components-progressStepper-list-gap: var(--pr-t-spacings-300);--components-progressStepper-list-step-title-position: static;--components-progressStepper-list-step-after-inset: var(--pr-t-spacings-300) auto calc(var(--pr-t-spacings-250) * -1) calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25));--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-position: absolute}.progressStepper:has(.progressStepper-list-step:nth-child(7):last-child) .progressStepper-list-step{--components-progressStepper-list-step-after-blockSize: auto}}@container progressStepper not (min-width: 64rem){.progressStepper:has(.progressStepper-list-step:nth-child(8):last-child) .progressStepper-list{--components-progressStepper-list-paddingBlockEnd: 0px;--components-progressStepper-list-step-before-content: none;--components-progressStepper-list-flexDirection: column;--components-progressStepper-list-gap: var(--pr-t-spacings-300);--components-progressStepper-list-step-title-position: static;--components-progressStepper-list-step-after-inset: var(--pr-t-spacings-300) auto calc(var(--pr-t-spacings-250) * -1) calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25));--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-position: absolute}.progressStepper:has(.progressStepper-list-step:nth-child(8):last-child) .progressStepper-list-step{--components-progressStepper-list-step-after-blockSize: auto}}@container progressStepper not (min-width: 72rem){.progressStepper:has(.progressStepper-list-step:nth-child(9):last-child) .progressStepper-list{--components-progressStepper-list-paddingBlockEnd: 0px;--components-progressStepper-list-step-before-content: none;--components-progressStepper-list-flexDirection: column;--components-progressStepper-list-gap: var(--pr-t-spacings-300);--components-progressStepper-list-step-title-position: static;--components-progressStepper-list-step-after-inset: var(--pr-t-spacings-300) auto calc(var(--pr-t-spacings-250) * -1) calc(var(--pr-t-spacings-100) + var(--pr-t-spacings-25));--components-progressStepper-list-step-after-borderRadius: var(--pr-t-border-radius-full);--components-progressStepper-list-step-after-position: absolute}.progressStepper:has(.progressStepper-list-step:nth-child(9):last-child) .progressStepper-list-step{--components-progressStepper-list-step-after-blockSize: auto}}}@layer mods{.progressStepper-list-step:first-child{--components-progressStepper-list-step-before-backgroundColor: transparent !important}.progressStepper-list-step:last-child{--components-progressStepper-list-step-after-backgroundColor: transparent !important}.progressStepper-list-step:has(~[aria-current=step]){--components-progressStepper-list-step-before-backgroundColor: var(--palettes-500, var(--palettes-product-500));--components-progressStepper-list-step-before-blockSize: calc(var(--commons-divider-width) * 2);--components-progressStepper-list-step-after-inlineSize: calc(var(--commons-divider-width) * 2);--components-progressStepper-list-step-after-blockSize: calc(var(--commons-divider-width) * 2);--components-progressStepper-list-step-after-backgroundColor: var(--palettes-500, var(--palettes-product-500))}.progressStepper-list-step[aria-current=step]{--components-progressStepper-list-step-before-blockSize: calc(var(--commons-divider-width) * 2);--components-progressStepper-list-step-before-backgroundColor: var(--palettes-500, var(--palettes-product-500));--components-progressStepper-list-step-title-color: var(--palettes-700, var(--palettes-product-700));--components-progressStepper-list-step-number-before-boxShadowColor: var(--palettes-700, var(--palettes-product-700));--components-progressStepper-list-step-number-before-color: var(--palettes-neutral-0);--components-progressStepper-list-step-number-before-backgroundColor: var(--palettes-700, var(--palettes-product-700))}.progressStepper-list-step.is-success{--components-progressStepper-list-step-number-before-content: \"\"}.progressStepper-list-step.is-success .progressStepper-list-step-number:after{--icon-content: \"\\e97d\";font-weight:var(--pr-t-font-fontWeight-regular);display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:var(--icon-fontFamily);content:var(--icon-content)/\"\";-webkit-font-smoothing:antialiased;text-transform:none}.progressStepper-list-step.is-success{--components-progressStepper-list-step-number-before-boxShadowColor: var(--palettes-200, var(--palettes-product-200));--components-progressStepper-list-step-number-before-backgroundColor: var(--palettes-50, var(--palettes-product-50))}.progressStepper-list-step.is-critical{--components-progressStepper-list-step-number-before-content: \"\"}.progressStepper-list-step.is-critical .progressStepper-list-step-number:after{--icon-content: \"\\e9bf\";font-weight:var(--pr-t-font-fontWeight-regular);display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:var(--icon-fontFamily);content:var(--icon-content)/\"\";-webkit-font-smoothing:antialiased;text-transform:none}.progressStepper-list-step.is-critical{--components-progressStepper-list-step-number-before-boxShadowColor: var(--palettes-critical-200);--components-progressStepper-list-step-number-after-color: var(--palettes-critical-700);--components-progressStepper-list-step-number-before-backgroundColor: var(--palettes-50, var(--palettes-critical-50))}}@layer mods{.progressStepper-list-step-linkOptional:hover{--components-progressStepper-list-step-title-textDecoration: underline;--components-progressStepper-list-step-number-before-boxShadowWidth: var(--commons-divider-width)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
56
56
  }
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ProgressStepperComponent, decorators: [{
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ProgressStepperComponent, decorators: [{
58
58
  type: Component,
59
59
  args: [{ selector: 'lu-progress-stepper', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
60
60
  class: 'progressStepper',
@@ -64,11 +64,11 @@ class ReadMoreComponent {
64
64
  */
65
65
  this.plainText = input(false, { ...(ngDevMode ? { debugName: "plainText" } : /* istanbul ignore next */ {}), transform: luBooleanAttribute });
66
66
  /**
67
- * Change the background color under the "Read more / less" button
67
+ * Apply the spacing of the Text Flow component
68
68
  */
69
69
  this.textFlow = input(false, { ...(ngDevMode ? { debugName: "textFlow" } : /* istanbul ignore next */ {}), transform: luBooleanAttribute });
70
70
  /**
71
- * Apply the spacing of the Text Flow component
71
+ * Change the background color under the "Read more / less" button
72
72
  */
73
73
  this.surface = input(null, /* @ts-ignore */
74
74
  ...(ngDevMode ? [{ debugName: "surface" }] : /* istanbul ignore next */ []));
@@ -123,10 +123,10 @@ class ReadMoreComponent {
123
123
  toggleExpanded() {
124
124
  this.expanded.set(!this.expanded());
125
125
  }
126
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ReadMoreComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
127
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: ReadMoreComponent, isStandalone: true, selector: "lu-read-more", inputs: { intl: { classPropertyName: "intl", publicName: "intl", isSignal: true, isRequired: false, transformFunction: null }, lineClamp: { classPropertyName: "lineClamp", publicName: "lineClamp", isSignal: true, isRequired: false, transformFunction: null }, openOnly: { classPropertyName: "openOnly", publicName: "openOnly", isSignal: true, isRequired: false, transformFunction: null }, plainText: { classPropertyName: "plainText", publicName: "plainText", isSignal: true, isRequired: false, transformFunction: null }, textFlow: { classPropertyName: "textFlow", publicName: "textFlow", isSignal: true, isRequired: false, transformFunction: null }, surface: { classPropertyName: "surface", publicName: "surface", isSignal: true, isRequired: false, transformFunction: null }, innerContent: { classPropertyName: "innerContent", publicName: "innerContent", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--components-readMore-lineClamp": "lineClamp()", "style.--components-readMore-content-lastChild-content": "`\"${labelReadLess()}\"`", "class.is-disabled": "!expanded() && !isClamped()", "class.mod-openOnly": "openOnly()", "class.mod-plainText": "plainText()", "class.mod-sunken": "surface() === `sunken`", "class.mod-default": "surface() === `default`", "style.--components-readMore-link-backgroudColor": "backgroundColor()" }, classAttribute: "readMore" }, viewQueries: [{ propertyName: "contentRef", first: true, predicate: ["content"], descendants: true, isSignal: true }], ngImport: i0, template: "<button\n\ttype=\"button\"\n\t[attr.tabindex]=\"isClamped() ? null : '-1'\"\n\t[attr.aria-expanded]=\"expanded()\"\n\tclass=\"readMore-link link\"\n\t(click)=\"toggleExpanded()\"\n>\n\t{{ label() }}\n</button>\n@if (isInnerContentNil()) {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" #content>\n\t\t<ng-content />\n\t</div>\n} @else {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" [innerHTML]=\"innerContent()\" #content></div>\n}\n", styles: ["@layer components{.readMore{--components-readMore-lineClamp: 5;--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-raised);--components-readMore-link-paddingInlineStart: var(--pr-t-spacings-500);--components-readMore-link-insetBlockEnd: var(--pr-t-spacings-50);--components-readMore-content-whiteSpace: normal;position:relative;display:block}.readMore-link.link{position:absolute;display:flex;inset:auto 0 var(--components-readMore-link-insetBlockEnd) auto;flex-direction:column;z-index:1;line-height:var(--pr-t-font-body-M-lineHeight);background-image:linear-gradient(to right,transparent,var(--components-readMore-link-backgroudColor) calc(var(--components-readMore-link-paddingInlineStart) - var(--pr-t-spacings-100)));padding-inline-start:var(--components-readMore-link-paddingInlineStart);font-weight:var(--pr-t-font-fontWeight-semibold);text-decoration:none}.readMore-link.link:before{content:\"\";position:absolute;inset:0;inset-inline-start:var(--components-readMore-link-paddingInlineStart);border-radius:var(--pr-t-border-radius-default)}.readMore-link.link:focus-visible{outline:none}.readMore-link.link:focus-visible:before{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:2px}.readMore-content:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)>*:last-child:is(ol,ul)>*:last-child:after,.readMore-content:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)>*:last-child:not(ol,ul):after,.readMore-content:not(:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)):after{content:var(--components-readMore-content-lastChild-content)/\"\";visibility:hidden;white-space:nowrap;font:var(--pr-t-font-body-M);font-weight:var(--pr-t-font-fontWeight-semibold);padding-inline-start:var(--components-readMore-link-paddingInlineStart)}.readMore-content{display:-webkit-box;-webkit-line-clamp:var(--components-readMore-lineClamp);-webkit-box-orient:vertical;overflow:hidden;padding:var(--pr-t-spacings-50);margin:calc(var(--pr-t-spacings-50) * -1)}.readMore-content:not(:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)){white-space:var(--components-readMore-content-whiteSpace)}}@layer mods{.readMore:has(.readMore-link[aria-expanded=true],.readMore-content:focus-within){--components-readMore-lineClamp: 9999 !important;--components-readMore-link-paddingInlineStart: var(--pr-t-spacings-100)}.readMore.is-disabled{--components-readMore-content-lastChild-content: none !important}.readMore.is-disabled .readMore-link.link{border:0;clip-path:rect(1px 1px 1px 1px);margin:-1px;overflow:hidden;padding:0;position:absolute;block-size:1px;inline-size:1px;white-space:nowrap;contain:paint}.readMore.mod-openOnly:has(.readMore-link[aria-expanded=true]){--components-readMore-content-lastChild-content: none !important}.readMore.mod-openOnly:has(.readMore-link[aria-expanded=true]) .readMore-link.link{border:0;clip-path:rect(1px 1px 1px 1px);margin:-1px;overflow:hidden;padding:0;position:absolute;block-size:1px;inline-size:1px;white-space:nowrap;contain:paint}.readMore.mod-default{--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-default)}.readMore.mod-sunken{--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-sunken)}.readMore.mod-plainText{--components-readMore-content-whiteSpace: pre-line}}@layer components{.textFlow{overflow-wrap:anywhere}.textFlow h1{margin-block:var(--pr-t-spacings-300)}.textFlow h2{margin-block:var(--pr-t-spacings-300) var(--pr-t-spacings-150)}.textFlow h3{margin-block:var(--pr-t-spacings-200) var(--pr-t-spacings-150)}.textFlow h4{margin-block:var(--pr-t-spacings-150)}.textFlow p,.textFlow ul,.textFlow ol{margin-block:var(--pr-t-spacings-100)}.textFlow li{margin-block:var(--pr-t-spacings-50)}.textFlow>:first-child{margin-block-start:0}.textFlow>:last-child{margin-block-end:0}.textFlow>:last-child:is(ul,ol)>:last-child{margin-block-end:0}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
126
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ReadMoreComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
127
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: ReadMoreComponent, isStandalone: true, selector: "lu-read-more", inputs: { intl: { classPropertyName: "intl", publicName: "intl", isSignal: true, isRequired: false, transformFunction: null }, lineClamp: { classPropertyName: "lineClamp", publicName: "lineClamp", isSignal: true, isRequired: false, transformFunction: null }, openOnly: { classPropertyName: "openOnly", publicName: "openOnly", isSignal: true, isRequired: false, transformFunction: null }, plainText: { classPropertyName: "plainText", publicName: "plainText", isSignal: true, isRequired: false, transformFunction: null }, textFlow: { classPropertyName: "textFlow", publicName: "textFlow", isSignal: true, isRequired: false, transformFunction: null }, surface: { classPropertyName: "surface", publicName: "surface", isSignal: true, isRequired: false, transformFunction: null }, innerContent: { classPropertyName: "innerContent", publicName: "innerContent", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--components-readMore-lineClamp": "lineClamp()", "style.--components-readMore-content-lastChild-content": "`\"${labelReadLess()}\"`", "class.is-disabled": "!expanded() && !isClamped()", "class.mod-openOnly": "openOnly()", "class.mod-plainText": "plainText()", "class.mod-sunken": "surface() === `sunken`", "class.mod-default": "surface() === `default`", "style.--components-readMore-link-backgroudColor": "backgroundColor()" }, classAttribute: "readMore" }, viewQueries: [{ propertyName: "contentRef", first: true, predicate: ["content"], descendants: true, isSignal: true }], ngImport: i0, template: "<button\n\ttype=\"button\"\n\t[attr.tabindex]=\"isClamped() ? null : '-1'\"\n\t[attr.aria-expanded]=\"expanded()\"\n\tclass=\"readMore-link link\"\n\t(click)=\"toggleExpanded()\"\n>\n\t{{ label() }}\n</button>\n@if (isInnerContentNil()) {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" #content>\n\t\t<ng-content />\n\t</div>\n} @else {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" [innerHTML]=\"innerContent()\" #content></div>\n}\n", styles: ["@layer components{.readMore{--components-readMore-lineClamp: 5;--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-raised);--components-readMore-link-paddingInlineStart: var(--pr-t-spacings-500);--components-readMore-link-insetBlockEnd: var(--pr-t-spacings-50);--components-readMore-content-whiteSpace: normal;position:relative;display:block}.readMore-link.link{position:absolute;display:flex;inset:auto 0 var(--components-readMore-link-insetBlockEnd) auto;flex-direction:column;z-index:1;line-height:var(--pr-t-font-body-M-lineHeight);background-image:linear-gradient(to right,transparent,var(--components-readMore-link-backgroudColor) calc(var(--components-readMore-link-paddingInlineStart) - var(--pr-t-spacings-100)));padding-inline-start:var(--components-readMore-link-paddingInlineStart);font-weight:var(--pr-t-font-fontWeight-semibold);text-decoration:none}.readMore-link.link:before{content:\"\";position:absolute;inset:0;inset-inline-start:var(--components-readMore-link-paddingInlineStart);border-radius:var(--pr-t-border-radius-default)}.readMore-link.link:focus-visible{outline:none}.readMore-link.link:focus-visible:before{outline:2px solid var(--palettes-700, var(--palettes-product-700));outline-offset:2px}.readMore-content:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)>*:last-child:is(ol,ul)>*:last-child:after,.readMore-content:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)>*:last-child:not(ol,ul):after,.readMore-content:not(:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)):after{content:var(--components-readMore-content-lastChild-content)/\"\";visibility:hidden;white-space:nowrap;font:var(--pr-t-font-body-M);font-weight:var(--pr-t-font-fontWeight-semibold);padding-inline-start:var(--components-readMore-link-paddingInlineStart)}.readMore-content{display:-webkit-box;-webkit-line-clamp:var(--components-readMore-lineClamp);-webkit-box-orient:vertical;overflow:hidden;padding:var(--pr-t-spacings-50);margin:calc(var(--pr-t-spacings-50) * -1)}.readMore-content:not(:has(>p,>ul,>ol,>h1,>h2,>h3,>h4,>h5,>h6)){white-space:var(--components-readMore-content-whiteSpace)}}@layer mods{.readMore:has(.readMore-link[aria-expanded=true],.readMore-content:focus-within){--components-readMore-lineClamp: 9999 !important;--components-readMore-link-paddingInlineStart: var(--pr-t-spacings-100)}.readMore.is-disabled{--components-readMore-content-lastChild-content: none !important}.readMore.is-disabled .readMore-link.link{border:0;clip-path:rect(1px 1px 1px 1px);margin:-1px;overflow:hidden;padding:0;position:absolute;block-size:1px;inline-size:1px;white-space:nowrap;contain:paint}.readMore.mod-openOnly:has(.readMore-link[aria-expanded=true]){--components-readMore-content-lastChild-content: none !important}.readMore.mod-openOnly:has(.readMore-link[aria-expanded=true]) .readMore-link.link{border:0;clip-path:rect(1px 1px 1px 1px);margin:-1px;overflow:hidden;padding:0;position:absolute;block-size:1px;inline-size:1px;white-space:nowrap;contain:paint}.readMore.mod-default{--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-default)}.readMore.mod-sunken{--components-readMore-link-backgroudColor: var(--pr-t-elevation-surface-sunken)}.readMore.mod-plainText{--components-readMore-content-whiteSpace: pre-line}}@layer components{.textFlow{overflow-wrap:anywhere}.textFlow h1{margin-block:var(--pr-t-spacings-300)}.textFlow h2{margin-block:var(--pr-t-spacings-300) var(--pr-t-spacings-150)}.textFlow h3{margin-block:var(--pr-t-spacings-200) var(--pr-t-spacings-150)}.textFlow h4{margin-block:var(--pr-t-spacings-150)}.textFlow p,.textFlow ul,.textFlow ol{margin-block:var(--pr-t-spacings-100)}.textFlow li{margin-block:var(--pr-t-spacings-50)}.textFlow>:first-child{margin-block-start:0}.textFlow>:last-child{margin-block-end:0}.textFlow>:last-child:is(ul,ol)>:last-child{margin-block-end:0}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
128
128
  }
129
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: ReadMoreComponent, decorators: [{
129
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ReadMoreComponent, decorators: [{
130
130
  type: Component,
131
131
  args: [{ selector: 'lu-read-more', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
132
132
  class: 'readMore',
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-read-more.mjs","sources":["../../../packages/ng/read-more/translations.ts","../../../packages/ng/read-more/read-more.translate.ts","../../../packages/ng/read-more/read-more.component.ts","../../../packages/ng/read-more/read-more.component.html","../../../packages/ng/read-more/read-more.type.ts","../../../packages/ng/read-more/lucca-front-ng-read-more.ts"],"sourcesContent":["export const Translations = {\n\tfr: {\n\t\treadMore: 'Lire plus',\n\t\treadLess: 'Lire moins',\n\t},\n\tpt: {\n\t\treadMore: 'Ler mais',\n\t\treadLess: 'Ler menos',\n\t},\n\tes: {\n\t\treadMore: 'Leer más',\n\t\treadLess: 'Leer menos',\n\t},\n\t'nl-BE': {\n\t\treadMore: 'Meer lezen',\n\t\treadLess: 'Minder lezen',\n\t},\n\tnl: {\n\t\treadMore: 'Meer lezen',\n\t\treadLess: 'Minder lezen',\n\t},\n\tit: {\n\t\treadMore: 'Mostra di più',\n\t\treadLess: 'Mostra di meno',\n\t},\n\tde: {\n\t\treadMore: 'Mehr lesen',\n\t\treadLess: 'Weniger lesen',\n\t},\n\ten: {\n\t\treadMore: 'Read more',\n\t\treadLess: 'Read less',\n\t},\n\tpl: {\n\t\treadMore: 'Czytaj więcej',\n\t\treadLess: 'Czytaj mniej',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_READMORE_TRANSLATIONS = new InjectionToken('luReadMoreTranslations', {\n\tfactory: () => luReadMoreTranslations,\n});\n\nexport interface ReadMoreTranslate {\n\treadMore: string;\n\treadLess: string;\n}\n\nexport const luReadMoreTranslations: LuTranslation<ReadMoreTranslate> = Translations;\n","import { afterNextRender, ChangeDetectionStrategy, Component, computed, DestroyRef, ElementRef, inject, input, signal, viewChild, ViewEncapsulation } from '@angular/core';\nimport { intlInputOptions, isNil, luBooleanAttribute, luNumberAttribute } from '@lucca-front/ng/core';\nimport { LU_READMORE_TRANSLATIONS } from './read-more.translate';\nimport { ReadMoreSurface } from './read-more.type';\n\n@Component({\n\tselector: 'lu-read-more',\n\ttemplateUrl: './read-more.component.html',\n\tstyleUrl: './read-more.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: {\n\t\tclass: 'readMore',\n\t\t'[style.--components-readMore-lineClamp]': 'lineClamp()',\n\t\t'[style.--components-readMore-content-lastChild-content]': '`\"${labelReadLess()}\"`',\n\t\t'[class.is-disabled]': '!expanded() && !isClamped()',\n\t\t'[class.mod-openOnly]': 'openOnly()',\n\t\t'[class.mod-plainText]': 'plainText()',\n\t\t'[class.mod-sunken]': 'surface() === `sunken`',\n\t\t'[class.mod-default]': 'surface() === `default`',\n\t\t'[style.--components-readMore-link-backgroudColor]': 'backgroundColor()',\n\t},\n})\nexport class ReadMoreComponent {\n\treadonly intl = input(...intlInputOptions(LU_READMORE_TRANSLATIONS));\n\n\t/**\n\t * Change the number of lines displayed when collapsed\n\t */\n\treadonly lineClamp = input(5, { transform: luNumberAttribute });\n\n\t/**\n\t * Prevent the component from closing by hiding the \"Read less\" button\n\t */\n\treadonly openOnly = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * Display the `\\n` of the content as line breaks instead of collapsing them into spaces (`white-space: pre-line`).\n\t * Meant for plain-text content such as a textarea value.\n\t */\n\treadonly plainText = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * Change the background color under the \"Read more / less\" button\n\t */\n\treadonly textFlow = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * Apply the spacing of the Text Flow component\n\t */\n\treadonly surface = input<ReadMoreSurface | string | null>(null);\n\n\t/**\n\t * Allow content to be passed via innerHTML\n\t */\n\treadonly innerContent = input<null | string>(null);\n\n\treadonly labelReadMore = computed(() => this.intl().readMore);\n\treadonly labelReadLess = computed(() => this.intl().readLess);\n\n\treadonly label = computed(() => (this.expanded() ? this.labelReadLess() : this.labelReadMore()));\n\n\treadonly contentRef = viewChild<ElementRef<HTMLDivElement>>('content');\n\n\treadonly expanded = signal(false);\n\treadonly isClamped = signal(false);\n\n\treadonly backgroundColor = computed(() => {\n\t\tif (this.surface() === 'sunken' || this.surface() === 'default' || this.surface() === null) {\n\t\t\treturn null;\n\t\t}\n\t\treturn `${this.surface()}`;\n\t});\n\n\treadonly isInnerContentNil = computed(() => isNil(this.innerContent()));\n\n\tconstructor() {\n\t\tconst destroyRef = inject(DestroyRef);\n\n\t\tafterNextRender(() => {\n\t\t\tconst content = this.contentRef();\n\n\t\t\tif (!content) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst observer = new ResizeObserver(() => {\n\t\t\t\tconst contentElement = this.contentRef()?.nativeElement;\n\n\t\t\t\tif (!contentElement) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst lineHeight = parseFloat(window.getComputedStyle(contentElement).lineHeight);\n\t\t\t\tconst totalLines = Math.round(contentElement.scrollHeight / lineHeight);\n\n\t\t\t\tthis.isClamped.set(contentElement.scrollHeight > contentElement.clientHeight);\n\n\t\t\t\tif (!this.isClamped() && totalLines <= this.lineClamp()) {\n\t\t\t\t\tthis.expanded.set(false);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tobserver.observe(content.nativeElement);\n\t\t\tdestroyRef.onDestroy(() => observer.disconnect());\n\t\t});\n\t}\n\n\ttoggleExpanded() {\n\t\tthis.expanded.set(!this.expanded());\n\t}\n}\n","<button\n\ttype=\"button\"\n\t[attr.tabindex]=\"isClamped() ? null : '-1'\"\n\t[attr.aria-expanded]=\"expanded()\"\n\tclass=\"readMore-link link\"\n\t(click)=\"toggleExpanded()\"\n>\n\t{{ label() }}\n</button>\n@if (isInnerContentNil()) {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" #content>\n\t\t<ng-content />\n\t</div>\n} @else {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" [innerHTML]=\"innerContent()\" #content></div>\n}\n","/**\n * Available ReadMoreComponent Types\n */\n\nexport const READ_MORE_SURFACE = ['sunken', 'default'] as const;\nexport type ReadMoreSurface = (typeof READ_MORE_SURFACE)[number];\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,WAAW;AACrB,QAAA,QAAQ,EAAE,YAAY;AACtB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,UAAU;AACpB,QAAA,QAAQ,EAAE,WAAW;AACrB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,UAAU;AACpB,QAAA,QAAQ,EAAE,YAAY;AACtB,KAAA;AACD,IAAA,OAAO,EAAE;AAC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A,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FDOa,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAlB7B,SAAS;+BACC,cAAc,EAAA,aAAA,EAGT,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC;AACL,wBAAA,KAAK,EAAE,UAAU;AACjB,wBAAA,yCAAyC,EAAE,aAAa;AACxD,wBAAA,yDAAyD,EAAE,wBAAwB;AACnF,wBAAA,qBAAqB,EAAE,6BAA6B;AACpD,wBAAA,sBAAsB,EAAE,YAAY;AACpC,wBAAA,uBAAuB,EAAE,aAAa;AACtC,wBAAA,oBAAoB,EAAE,wBAAwB;AAC9C,wBAAA,qBAAqB,EAAE,yBAAyB;AAChD,wBAAA,mDAAmD,EAAE,mBAAmB;AACxE,qBAAA,EAAA,QAAA,EAAA,6dAAA,EAAA,MAAA,EAAA,CAAA,ovHAAA,CAAA,EAAA;owBAyC2D,SAAS,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE9DtE;;AAEG;MAEU,iBAAiB,GAAG,CAAC,QAAQ,EAAE,SAAS;;ACJrD;;AAEG;;"}
1
+ {"version":3,"file":"lucca-front-ng-read-more.mjs","sources":["../../../packages/ng/read-more/translations.ts","../../../packages/ng/read-more/read-more.translate.ts","../../../packages/ng/read-more/read-more.component.ts","../../../packages/ng/read-more/read-more.component.html","../../../packages/ng/read-more/read-more.type.ts","../../../packages/ng/read-more/lucca-front-ng-read-more.ts"],"sourcesContent":["export const Translations = {\n\tfr: {\n\t\treadMore: 'Lire plus',\n\t\treadLess: 'Lire moins',\n\t},\n\tpt: {\n\t\treadMore: 'Ler mais',\n\t\treadLess: 'Ler menos',\n\t},\n\tes: {\n\t\treadMore: 'Leer más',\n\t\treadLess: 'Leer menos',\n\t},\n\t'nl-BE': {\n\t\treadMore: 'Meer lezen',\n\t\treadLess: 'Minder lezen',\n\t},\n\tnl: {\n\t\treadMore: 'Meer lezen',\n\t\treadLess: 'Minder lezen',\n\t},\n\tit: {\n\t\treadMore: 'Mostra di più',\n\t\treadLess: 'Mostra di meno',\n\t},\n\tde: {\n\t\treadMore: 'Mehr lesen',\n\t\treadLess: 'Weniger lesen',\n\t},\n\ten: {\n\t\treadMore: 'Read more',\n\t\treadLess: 'Read less',\n\t},\n\tpl: {\n\t\treadMore: 'Czytaj więcej',\n\t\treadLess: 'Czytaj mniej',\n\t},\n};\n","import { InjectionToken } from '@angular/core';\nimport { LuTranslation } from '@lucca-front/ng/core';\nimport { Translations } from './translations';\n\nexport const LU_READMORE_TRANSLATIONS = new InjectionToken('luReadMoreTranslations', {\n\tfactory: () => luReadMoreTranslations,\n});\n\nexport interface ReadMoreTranslate {\n\treadMore: string;\n\treadLess: string;\n}\n\nexport const luReadMoreTranslations: LuTranslation<ReadMoreTranslate> = Translations;\n","import { afterNextRender, ChangeDetectionStrategy, Component, computed, DestroyRef, ElementRef, inject, input, signal, viewChild, ViewEncapsulation } from '@angular/core';\nimport { intlInputOptions, isNil, luBooleanAttribute, luNumberAttribute } from '@lucca-front/ng/core';\nimport { LU_READMORE_TRANSLATIONS } from './read-more.translate';\nimport { ReadMoreSurface } from './read-more.type';\n\n@Component({\n\tselector: 'lu-read-more',\n\ttemplateUrl: './read-more.component.html',\n\tstyleUrl: './read-more.component.scss',\n\tencapsulation: ViewEncapsulation.None,\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: {\n\t\tclass: 'readMore',\n\t\t'[style.--components-readMore-lineClamp]': 'lineClamp()',\n\t\t'[style.--components-readMore-content-lastChild-content]': '`\"${labelReadLess()}\"`',\n\t\t'[class.is-disabled]': '!expanded() && !isClamped()',\n\t\t'[class.mod-openOnly]': 'openOnly()',\n\t\t'[class.mod-plainText]': 'plainText()',\n\t\t'[class.mod-sunken]': 'surface() === `sunken`',\n\t\t'[class.mod-default]': 'surface() === `default`',\n\t\t'[style.--components-readMore-link-backgroudColor]': 'backgroundColor()',\n\t},\n})\nexport class ReadMoreComponent {\n\treadonly intl = input(...intlInputOptions(LU_READMORE_TRANSLATIONS));\n\n\t/**\n\t * Change the number of lines displayed when collapsed\n\t */\n\treadonly lineClamp = input(5, { transform: luNumberAttribute });\n\n\t/**\n\t * Prevent the component from closing by hiding the \"Read less\" button\n\t */\n\treadonly openOnly = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * Display the `\\n` of the content as line breaks instead of collapsing them into spaces (`white-space: pre-line`).\n\t * Meant for plain-text content such as a textarea value.\n\t */\n\treadonly plainText = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * Apply the spacing of the Text Flow component\n\t */\n\treadonly textFlow = input(false, { transform: luBooleanAttribute });\n\n\t/**\n\t * Change the background color under the \"Read more / less\" button\n\t */\n\treadonly surface = input<ReadMoreSurface | string | null>(null);\n\n\t/**\n\t * Allow content to be passed via innerHTML\n\t */\n\treadonly innerContent = input<null | string>(null);\n\n\treadonly labelReadMore = computed(() => this.intl().readMore);\n\treadonly labelReadLess = computed(() => this.intl().readLess);\n\n\treadonly label = computed(() => (this.expanded() ? this.labelReadLess() : this.labelReadMore()));\n\n\treadonly contentRef = viewChild<ElementRef<HTMLDivElement>>('content');\n\n\treadonly expanded = signal(false);\n\treadonly isClamped = signal(false);\n\n\treadonly backgroundColor = computed(() => {\n\t\tif (this.surface() === 'sunken' || this.surface() === 'default' || this.surface() === null) {\n\t\t\treturn null;\n\t\t}\n\t\treturn `${this.surface()}`;\n\t});\n\n\treadonly isInnerContentNil = computed(() => isNil(this.innerContent()));\n\n\tconstructor() {\n\t\tconst destroyRef = inject(DestroyRef);\n\n\t\tafterNextRender(() => {\n\t\t\tconst content = this.contentRef();\n\n\t\t\tif (!content) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst observer = new ResizeObserver(() => {\n\t\t\t\tconst contentElement = this.contentRef()?.nativeElement;\n\n\t\t\t\tif (!contentElement) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst lineHeight = parseFloat(window.getComputedStyle(contentElement).lineHeight);\n\t\t\t\tconst totalLines = Math.round(contentElement.scrollHeight / lineHeight);\n\n\t\t\t\tthis.isClamped.set(contentElement.scrollHeight > contentElement.clientHeight);\n\n\t\t\t\tif (!this.isClamped() && totalLines <= this.lineClamp()) {\n\t\t\t\t\tthis.expanded.set(false);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tobserver.observe(content.nativeElement);\n\t\t\tdestroyRef.onDestroy(() => observer.disconnect());\n\t\t});\n\t}\n\n\ttoggleExpanded() {\n\t\tthis.expanded.set(!this.expanded());\n\t}\n}\n","<button\n\ttype=\"button\"\n\t[attr.tabindex]=\"isClamped() ? null : '-1'\"\n\t[attr.aria-expanded]=\"expanded()\"\n\tclass=\"readMore-link link\"\n\t(click)=\"toggleExpanded()\"\n>\n\t{{ label() }}\n</button>\n@if (isInnerContentNil()) {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" #content>\n\t\t<ng-content />\n\t</div>\n} @else {\n\t<div class=\"readMore-content\" [class.textFlow]=\"textFlow()\" [innerHTML]=\"innerContent()\" #content></div>\n}\n","/**\n * Available ReadMoreComponent Types\n */\n\nexport const READ_MORE_SURFACE = ['sunken', 'default'] as const;\nexport type ReadMoreSurface = (typeof READ_MORE_SURFACE)[number];\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,WAAW;AACrB,QAAA,QAAQ,EAAE,YAAY;AACtB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,UAAU;AACpB,QAAA,QAAQ,EAAE,WAAW;AACrB,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,QAAQ,EAAE,U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